FV Flowplayer Video Player - Version 7.1.14.727

Version Description

  • First stable release of FV Player 7
Download this release

Release Info

Developer FolioVision
Plugin Icon 128x128 FV Flowplayer Video Player
Version 7.1.14.727
Comparing to
See all releases

Code changes from version 6.6.6 to 7.1.14.727

beta-changelog.txt DELETED
@@ -1,61 +0,0 @@
1
- == Changelog ==
2
-
3
- = 7.1.12.726.beta =
4
-
5
- * Audio player - making sure "Force fullscreen on mobile" doesn't work for it as it makes no sense
6
- * Getting rid of the old video tag code
7
-
8
- = 7.1.11.726.beta =
9
-
10
- * Fixing subtitle size setting
11
-
12
- = 7.1.10.726.beta =
13
-
14
- * Fixing fp-header and notices click action
15
- * Fixing fullscreen when Fancybox is enabled for images, but not used for video
16
-
17
- = 7.1.7.726 =
18
-
19
- * Fixes for lightbox - proper title for images in h5, hiding WP admin bar and Social Warfare bar, support for WP Rocket image lazyload
20
-
21
- = 7.1.6.726 =
22
-
23
- * New lightbox library - using fancyBox 3
24
- * Playlist - setting maximum player width to 100% to prevent display issues
25
- * Preventing right mouse click on player
26
- * XML Video Sitemap and Schema.org - fixing exclusion for CloudFront domains
27
-
28
- = 7.1.5.726 =
29
-
30
- * Lightbox - fixing height bug if video is bigger than screen size and taller
31
-
32
- = 7.1.4.726 =
33
-
34
- * Fix for MPEG-DASH (Vimeo) stream seeking issues which appeared when seeking too often
35
-
36
- = 7.1.3.726 =
37
-
38
- * Fix for MPEG-DASH (Vimeo) silent autoplay, important for Chrome
39
-
40
- = 7.1.2.726 =
41
-
42
- * iOS < 10 fix
43
- * Quality selection menu is now sorted
44
- * Quality selection for HLS stream is not remembered
45
- * Quality button now shows proper quality label
46
- * Samsung Browser shows warning to use other browser if there is a video error
47
- * Speed menu now get a vertical scrollbar if needed
48
-
49
- = 7.1.1.726 =
50
-
51
- * Dash current quality bold in qs menu
52
- * Dash JS quality remembering
53
- * Showing the fallback no-svg play icon during player load time and for lightbox starters
54
-
55
- = 7.1.726 =
56
-
57
- * Fixing FV Player 7 license key - it was mangled when saving the settings
58
-
59
- = 7.0.726 =
60
-
61
- * Initial FV Player 7 release for FV Player Pro Beta users
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
beta-update.txt DELETED
@@ -1,4 +0,0 @@
1
- /*
2
- This files is used to signal there is a new version out of the beta users
3
- */
4
- O:8:"stdClass":5:{s:7:"version";s:10:"7.1.12.726";s:11:"new_version";s:10:"7.1.12.726";s:4:"date";s:10:"2018-08-14";s:7:"package";s:66:"https://downloads.wordpress.org/plugin/fv-wordpress-flowplayer.zip";s:4:"slug";s:23:"fv-wordpress-flowplayer";}
 
 
 
 
controller/backend.php CHANGED
@@ -716,77 +716,82 @@ function fv_player_admin_notice_expired_license() {
716
  }
717
 
718
 
719
- add_action( 'admin_footer', 'fv_player_block_update', 999 );
720
-
721
- function fv_player_block_update( $arg ) {
722
- global $pagenow;
723
- if( isset($pagenow) && $pagenow == 'plugins.php' ) {
724
- $plugin_path = str_replace( trailingslashit(plugins_url()), '', plugins_url('',dirname(__FILE__)) ).'/flowplayer.php';
725
- $aUpdates = get_site_transient('update_plugins');
726
- if( !$aUpdates || empty($aUpdates->response) || empty($aUpdates->response[$plugin_path]) ) return;
727
-
728
- $sMessage = 'You are about to upgrade to FV Player 7 which uses the new core video player with some visual changes.\n\n';
729
- $aCheckProLicense = get_transient( 'fv_flowplayer_license' );
730
- $aCheckPlayerLicense = get_transient( 'fv-player-pro_license' );
731
- if( !empty($aCheckProLicense->expired) || !empty($aCheckProLicense->error) ) {
732
- $sMessage .= 'Since your license is expired, so you will loose your custom logo and Pro features might not work.\n\n';
733
- } if( !empty($aCheckPlayerLicense->expired) || !empty($aCheckPlayerLicense->error) ) {
734
- $sMessage .= 'Since your license is expired, so you will loose your custom logo.\n\nAre you sure you want to upgrade?\n\n';
735
- }
736
-
737
- $sMessage .= 'Are you sure you want to upgrade?';
738
-
739
- if( stripos($aUpdates->response[$plugin_path]->new_version,'7.') === 0 ) {
740
- ?>
741
- <script>
742
- ( function($) {
743
- $('[data-plugin=<?php echo str_replace( array('/','.'), array('\\\/','\\\.'), $plugin_path ); ?>]').find('.update-link').click( function(e) {
744
- e.preventDefault();
745
- e.stopPropagation();
746
- return confirm("<?php echo $sMessage; ?>");
747
- });
748
- })(jQuery);
749
- </script>
750
- <?php
751
- }
752
- }
753
- }
754
 
755
-
756
- /*
757
- Beta plugin needs to show different version on the plugins screen
758
- */
759
- add_filter( 'all_plugins', 'fv_player_beta_adjust_plugin_version' );
760
-
761
- function fv_player_beta_adjust_plugin_version( $aPlugins ) {
762
- if( flowplayer::is_beta() ) {
763
- $current_plugin = basename(dirname(dirname(__FILE__))).'/flowplayer.php';
764
- if( !empty($aPlugins[$current_plugin]) && !empty($aPlugins[$current_plugin]['Version']) ) {
765
- global $fv_wp_flowplayer_ver_beta;
766
- $aPlugins[$current_plugin]['Version'] = $fv_wp_flowplayer_ver_beta;
767
  }
768
- }
769
- return $aPlugins;
770
- }
771
 
 
772
 
773
- /*
774
- Beta version to not show release updates
775
- */
776
- add_filter( 'site_transient_update_plugins', 'fv_player_beta_stop_release_updates' );
777
 
778
- function fv_player_beta_stop_release_updates( $objUpdates ) {
779
- if( !flowplayer::is_beta() || !$objUpdates || !isset($objUpdates->response) || count($objUpdates->response) == 0 ) return $objUpdates;
780
-
781
- global $fv_wp_flowplayer_ver_beta;
782
- foreach( $objUpdates->response AS $key => $objUpdate ) {
783
- if( stripos($key,'fv-wordpress-flowplayer') === 0 ) {
784
- if( version_compare($objUpdate->new_version,$fv_wp_flowplayer_ver_beta) == -1 ) {
785
- unset($objUpdates->response[$key]);
786
  }
787
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
788
  }
789
-
790
- return $objUpdates;
791
  }
792
 
 
 
 
 
 
 
 
 
 
 
716
  }
717
 
718
 
719
+ add_action( 'admin_notices', 'fv_player_rollback' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
720
 
721
+ function fv_player_rollback() {
722
+ if( current_user_can('install_plugins') && isset($_GET['action']) && $_GET['action'] == 'fv-player-rollback' && !empty($_REQUEST['_wpnonce']) && wp_verify_nonce( $_REQUEST['_wpnonce'], 'fv-player-rollback' ) ) {
723
+
724
+ ob_start(); // first check if we can perform the update automatically!
725
+ $creds = request_filesystem_credentials( admin_url(), '', false, false, array() );
726
+ if( !WP_Filesystem($creds) ) { // if not, then don't try to do it at all
727
+ ob_get_clean();
728
+ echo "<div class='error'><p>Unfortunately rollback is not supported as your site can't install plugins without FTP. Please login to your Foliovision.com account and download the previous plugin version there using the \"Show Previous Version\" button.</p></div>";
729
+ return;
 
 
 
730
  }
 
 
 
731
 
732
+ echo ob_get_clean();
733
 
734
+ global $fv_fp, $fv_wp_flowplayer_ver;
735
+ $fv_fp->pointer_boxes = array(); // no pointer boxes here!
 
 
736
 
737
+ $plugin_slug = false;
738
+ $active_plugins = get_option( 'active_plugins' );
739
+ foreach( $active_plugins AS $plugin ) {
740
+ if( stripos($plugin,'fv-wordpress-flowplayer') === 0 && stripos($plugin,'/flowplayer.php') !== false ) {
741
+ $plugin_slug = $plugin;
 
 
 
742
  }
743
+ }
744
+
745
+ $plugin_transient = get_site_transient( 'update_plugins' );
746
+ $plugin_folder = plugin_basename( dirname( $plugin_slug ) );
747
+ $plugin_file = basename( $plugin_slug );
748
+ $version = $fv_wp_flowplayer_ver;
749
+ $url = 'https://downloads.wordpress.org/plugin/fv-wordpress-flowplayer.6.6.6.zip';
750
+ $temp_array = array(
751
+ 'slug' => $plugin_folder,
752
+ 'new_version' => $version,
753
+ 'url' => 'https://foliovision.com',
754
+ 'package' => $url,
755
+ );
756
+
757
+ $temp_object = (object) $temp_array;
758
+ $plugin_transient->response[ $plugin_folder . '/' . $plugin_file ] = $temp_object;
759
+ set_site_transient( 'update_plugins', $plugin_transient );
760
+
761
+ add_filter( 'upgrader_pre_download', 'fv_player_rollback_message' );
762
+
763
+ require_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
764
+ $title = 'FV Player Rollback';
765
+ $nonce = 'upgrade-plugin_' . $plugin_slug;
766
+ $url = 'update.php?action=upgrade-plugin&plugin=' . urlencode( $plugin_slug );
767
+ $upgrader_skin = new Plugin_Upgrader_Skin( compact( 'title', 'nonce', 'url', 'plugin' ) );
768
+ $upgrader = new Plugin_Upgrader( $upgrader_skin );
769
+ $upgrader->upgrade( $plugin_slug );
770
+
771
+ include( ABSPATH . 'wp-admin/admin-footer.php' );
772
+
773
+ delete_option('fv-player-pro-release');
774
+
775
+
776
+ $active_plugins = get_option( 'active_plugins' );
777
+ foreach( $active_plugins AS $plugin ) {
778
+ if( stripos( $plugin, 'fv-player-pro' ) === 0 ) {
779
+ delete_plugins( array($plugin) ); // deleting the FV Player Pro plugin here means that he FV Player activation process in the iframe will already re-install it in the iframe, so in the iframe you will get the FV Player settings screen!
780
+ }
781
+ }
782
+
783
+ wp_die( '', 'FV Player Rollback', array( 'response' => 200 ) );
784
+
785
  }
 
 
786
  }
787
 
788
+ function fv_player_rollback_message( $val ) {
789
+ echo "<div class='updated'>";
790
+ echo "<p>Please wait until the plugin download and reactivation is completed.</p>";
791
+ if( flowplayer::is_licensed() ) {
792
+ echo "<p>We also rollback the FV Player Pro plugin in the process.</p>";
793
+ if( class_exists('FV_Player_Pro') ) echo "<style>#wpbody-content iframe[title=\"Update progress\"] { display: none; }</style>";
794
+ }
795
+ echo "</div>";
796
+ return $val;
797
+ }
controller/frontend.php CHANGED
@@ -308,17 +308,14 @@ function flowplayer_prepare_scripts() {
308
 
309
  if( !$fv_fp->bCSSLoaded ) $fv_fp->css_enqueue(true);
310
 
311
- $sPath = $fv_fp->is_beta() ? 'flowplayer-beta' : 'flowplayer';
312
-
313
- wp_enqueue_script( 'flowplayer', flowplayer::get_plugin_url().'/'.$sPath.'/fv-flowplayer.min.js', $aDependencies, $fv_wp_flowplayer_ver, true );
314
 
315
  $sPluginUrl = preg_replace( '~^.*://~', '//', FV_FP_RELATIVE_PATH );
316
 
317
  $sCommercialKey = $fv_fp->_get_option('key') ? $fv_fp->_get_option('key') : '';
318
- $sCommercialKey = $fv_fp->is_beta() && $fv_fp->_get_option('key7') ? $fv_fp->_get_option('key7') : $sCommercialKey;
319
  $sLogo = $sCommercialKey && $fv_fp->_get_option('logo') ? $fv_fp->_get_option('logo') : '';
320
 
321
- $aConf = array( 'fullscreen' => true, 'swf' => $sPluginUrl.'/'.$sPath.'/flowplayer.swf?ver='.$fv_wp_flowplayer_ver, 'swfHls' => $sPluginUrl.'/'.$sPath.'/flowplayerhls.swf?ver='.$fv_wp_flowplayer_ver );
322
 
323
  if( $fv_fp->_get_option('rtmp-live-buffer') ) {
324
  $aConf['bufferTime'] = apply_filters( 'fv_player_rtmp_bufferTime', 3 );
@@ -327,7 +324,7 @@ function flowplayer_prepare_scripts() {
327
  if( $fv_fp->_get_option( array( 'integrations', 'embed_iframe') ) ) {
328
  $aConf['embed'] = false;
329
  } else {
330
- $aConf['embed'] = array( 'library' => $sPluginUrl.'/'.$sPath.'/fv-flowplayer.min.js', 'script' => $sPluginUrl.'/'.$sPath.'/embed.min.js', 'skin' => $sPluginUrl.'/css/'.$sPath.'.css', 'swf' => $sPluginUrl.'/'.$sPath.'/flowplayer.swf?ver='.$fv_wp_flowplayer_ver, 'swfHls' => $sPluginUrl.'/'.$sPath.'/flowplayerhls.swf?ver='.$fv_wp_flowplayer_ver );
331
  }
332
 
333
  if( $fv_fp->_get_option('ui_speed_increment') == 0.25){
@@ -377,11 +374,7 @@ function flowplayer_prepare_scripts() {
377
  }
378
 
379
  if( ( $fv_fp->_get_option('js-everywhere') || $fv_fp->load_hlsjs ) && $fv_fp->_get_option('hlsjs') ) {
380
- if( $fv_fp->is_beta() ) {
381
- wp_enqueue_script( 'flowplayer-hlsjs', flowplayer::get_plugin_url().'/'.$sPath.'/hls.light.min.js', array('flowplayer'), $fv_wp_flowplayer_ver, true );
382
- } else {
383
- wp_enqueue_script( 'flowplayer-hlsjs', flowplayer::get_plugin_url().'/'.$sPath.'/flowplayer.hlsjs.min.js', array('flowplayer'), $fv_wp_flowplayer_ver, true );
384
- }
385
  }
386
 
387
  wp_localize_script( 'flowplayer', 'fv_flowplayer_conf', $aConf );
@@ -395,12 +388,7 @@ function flowplayer_prepare_scripts() {
395
 
396
  wp_localize_script( 'flowplayer', 'fv_flowplayer_translations', fv_flowplayer_get_js_translations());
397
  wp_localize_script( 'flowplayer', 'fv_fp_ajaxurl', site_url().'/wp-admin/admin-ajax.php' );
398
-
399
- if( $fv_fp->_get_option('old_code') && !$fv_fp->is_beta() ) {
400
- wp_localize_script( 'flowplayer', 'fv_flowplayer_playlists', $fv_fp->aPlaylists );
401
- } else {
402
- wp_localize_script( 'flowplayer', 'fv_flowplayer_playlists', array() ); // has to be defined for FV Player Pro 0.6.20 and such
403
- }
404
 
405
  if( count($fv_fp->aAds) > 0 ) { // todo: move into player
406
  wp_localize_script( 'flowplayer', 'fv_flowplayer_ad', $fv_fp->aAds );
@@ -416,7 +404,7 @@ function flowplayer_prepare_scripts() {
416
  }
417
 
418
  if( $fv_fp->load_dash ) {
419
- wp_enqueue_script( 'flowplayer-dash', flowplayer::get_plugin_url().'/'.$sPath.'/flowplayer.dashjs.min.js', array('flowplayer'), $fv_wp_flowplayer_ver, true );
420
  }
421
 
422
  }
@@ -428,11 +416,7 @@ function flowplayer_prepare_scripts() {
428
 
429
  if( !$FV_Player_lightbox->bCSSLoaded ) $FV_Player_lightbox->css_enqueue(true);
430
 
431
- if( !$FV_Player_lightbox->is_fancybox() ) {
432
- wp_enqueue_script( 'fv_player_lightbox', flowplayer::get_plugin_url().'/js/lightbox.js', 'jquery', $fv_wp_flowplayer_ver, true );
433
- } else {
434
- wp_enqueue_script( 'fv_player_lightbox', flowplayer::get_plugin_url().'/js/fancybox.js', 'jquery', $fv_wp_flowplayer_ver, true );
435
- }
436
  wp_localize_script( 'fv_player_lightbox', 'fv_player_lightbox', $aConf );
437
 
438
  }
@@ -444,7 +428,7 @@ function flowplayer_prepare_scripts() {
444
  */
445
  function flowplayer_display_scripts() {
446
  global $fv_fp;
447
- if( $fv_fp->is_beta() && ( $fv_fp->_get_option('ui_repeat_button') || $fv_fp->_get_option('ui_no_picture_button') ) && file_exists(dirname( __FILE__ ) . '/../css/fvp-icon-sprite.svg') ) { // todo: only include if it's going to be used!
448
  include_once(dirname( __FILE__ ) . '/../css/fvp-icon-sprite.svg');
449
  }
450
 
308
 
309
  if( !$fv_fp->bCSSLoaded ) $fv_fp->css_enqueue(true);
310
 
311
+ wp_enqueue_script( 'flowplayer', flowplayer::get_plugin_url().'/flowplayer/fv-flowplayer.min.js', $aDependencies, $fv_wp_flowplayer_ver, true );
 
 
312
 
313
  $sPluginUrl = preg_replace( '~^.*://~', '//', FV_FP_RELATIVE_PATH );
314
 
315
  $sCommercialKey = $fv_fp->_get_option('key') ? $fv_fp->_get_option('key') : '';
 
316
  $sLogo = $sCommercialKey && $fv_fp->_get_option('logo') ? $fv_fp->_get_option('logo') : '';
317
 
318
+ $aConf = array( 'fullscreen' => true, 'swf' => $sPluginUrl.'/flowplayer/flowplayer.swf?ver='.$fv_wp_flowplayer_ver, 'swfHls' => $sPluginUrl.'/flowplayer/flowplayerhls.swf?ver='.$fv_wp_flowplayer_ver );
319
 
320
  if( $fv_fp->_get_option('rtmp-live-buffer') ) {
321
  $aConf['bufferTime'] = apply_filters( 'fv_player_rtmp_bufferTime', 3 );
324
  if( $fv_fp->_get_option( array( 'integrations', 'embed_iframe') ) ) {
325
  $aConf['embed'] = false;
326
  } else {
327
+ $aConf['embed'] = array( 'library' => $sPluginUrl.'/flowplayer/fv-flowplayer.min.js', 'script' => $sPluginUrl.'/flowplayer/embed.min.js', 'skin' => $sPluginUrl.'/css/flowplayer.css', 'swf' => $sPluginUrl.'/flowplayer/flowplayer.swf?ver='.$fv_wp_flowplayer_ver, 'swfHls' => $sPluginUrl.'/flowplayer/flowplayerhls.swf?ver='.$fv_wp_flowplayer_ver );
328
  }
329
 
330
  if( $fv_fp->_get_option('ui_speed_increment') == 0.25){
374
  }
375
 
376
  if( ( $fv_fp->_get_option('js-everywhere') || $fv_fp->load_hlsjs ) && $fv_fp->_get_option('hlsjs') ) {
377
+ wp_enqueue_script( 'flowplayer-hlsjs', flowplayer::get_plugin_url().'/flowplayer/hls.light.min.js', array('flowplayer'), $fv_wp_flowplayer_ver, true );
 
 
 
 
378
  }
379
 
380
  wp_localize_script( 'flowplayer', 'fv_flowplayer_conf', $aConf );
388
 
389
  wp_localize_script( 'flowplayer', 'fv_flowplayer_translations', fv_flowplayer_get_js_translations());
390
  wp_localize_script( 'flowplayer', 'fv_fp_ajaxurl', site_url().'/wp-admin/admin-ajax.php' );
391
+ wp_localize_script( 'flowplayer', 'fv_flowplayer_playlists', array() ); // has to be defined for FV Player Pro 0.6.20 and such
 
 
 
 
 
392
 
393
  if( count($fv_fp->aAds) > 0 ) { // todo: move into player
394
  wp_localize_script( 'flowplayer', 'fv_flowplayer_ad', $fv_fp->aAds );
404
  }
405
 
406
  if( $fv_fp->load_dash ) {
407
+ wp_enqueue_script( 'flowplayer-dash', flowplayer::get_plugin_url().'/flowplayer/flowplayer.dashjs.min.js', array('flowplayer'), $fv_wp_flowplayer_ver, true );
408
  }
409
 
410
  }
416
 
417
  if( !$FV_Player_lightbox->bCSSLoaded ) $FV_Player_lightbox->css_enqueue(true);
418
 
419
+ wp_enqueue_script( 'fv_player_lightbox', flowplayer::get_plugin_url().'/js/fancybox.js', 'jquery', $fv_wp_flowplayer_ver, true );
 
 
 
 
420
  wp_localize_script( 'fv_player_lightbox', 'fv_player_lightbox', $aConf );
421
 
422
  }
428
  */
429
  function flowplayer_display_scripts() {
430
  global $fv_fp;
431
+ if( ( $fv_fp->_get_option('ui_repeat_button') || $fv_fp->_get_option('ui_no_picture_button') ) && file_exists(dirname( __FILE__ ) . '/../css/fvp-icon-sprite.svg') ) { // todo: only include if it's going to be used!
432
  include_once(dirname( __FILE__ ) . '/../css/fvp-icon-sprite.svg');
433
  }
434
 
controller/settings.php CHANGED
@@ -15,12 +15,7 @@ function fv_player_admin_menu () {
15
 
16
 
17
  function fv_player_admin_page() {
18
- global $fv_fp;
19
- if( $fv_fp->is_beta() ) {
20
- include dirname( __FILE__ ) . '/../view/admin-beta.php';
21
- } else {
22
- include dirname( __FILE__ ) . '/../view/admin.php';
23
- }
24
  }
25
 
26
 
@@ -146,7 +141,7 @@ function fv_player_admin_pointer_boxes() {
146
  );
147
  }
148
 
149
- if( $fv_fp->is_beta() && !$fv_fp->_get_option('notice_new_lightbox') ) {
150
  $fv_fp->pointer_boxes['fv_flowplayer_new_lightbox'] = array(
151
  'id' => '#wp-admin-bar-new-content',
152
  'pointerClass' => 'fv_flowplayer_new_lightbox',
@@ -158,19 +153,19 @@ function fv_player_admin_pointer_boxes() {
158
  );
159
  }
160
 
161
- if( $fv_fp->is_beta() && $fv_fp->_get_option('nag_fv_player_7') ) {
162
  $fv_fp->pointer_boxes['fv_flowplayer_fv_player_7'] = array(
163
  'id' => '#wp-admin-bar-new-content',
164
  'pointerClass' => 'fv_flowplayer_fv_player_7',
165
- 'heading' => __('FV Player 7 Bera', 'fv-wordpress-flowplayer'),
166
- 'content' => '<p>Welcome to the brand new FV Player 7 Beta! Improvements include:</p>'.
167
  '<ul style="list-style: circle; padding-left: 3em;"><li>New player design and skin options</li>
168
  <li>New Flowplayer core video engine</li>
 
169
  <li>Support for autoplay on mobile</li>
170
  <li>New lightbox look</li>
171
  <li>Improved video buffering</li></ul>'.
172
- '<p>More information in our <a href="https://foliovision.com/2018/05/fv-player-7-beta" target="_blank">blog announcement</a>.</p>'.
173
- '<p>In case of any issues you can still switch back to the release verson on the <a href="' . admin_url('options-general.php?page=fvplayer') . '">settings screen</a>. Please also file in a <a href="https://foliovision.com/support/fv-wordpress-flowplayer/bug-reports#new-post" target="_blank">bug report</a>.</p>',
174
  'position' => array( 'edge' => 'top', 'align' => 'center' ),
175
  'button1' => __('Acknowledge', 'fv-wordpress-flowplayer'),
176
  'button2' => '<style>.fv_flowplayer_fv_player_7 .button-secondary { display: none }</style>'
@@ -355,87 +350,3 @@ function flowplayer_admin_footer_wp_js_restore() {
355
  </script>
356
  <?php
357
  }
358
-
359
-
360
- /*
361
- Beta switcher interface
362
- */
363
- add_action( 'plugins_loaded', 'fv_player_version_switcher_init' );
364
-
365
- function fv_player_version_switcher_init() {
366
- global $FV_Player_Pro;
367
- if( !empty($FV_Player_Pro) ) return;
368
-
369
- add_action( 'admin_notices', 'fv_player_version_switcher_start', 999999 );
370
- add_action( 'fv_player_settings_pre', 'fv_player_version_switcher' );
371
- add_action( 'fv_flowplayer_admin_buttons_after', 'fv_player_version_switcher_script' );
372
- add_action( 'admin_footer', 'fv_player_version_switcher_save' );
373
- }
374
-
375
- function fv_player_version_switcher_start() {
376
- if( isset($_GET['page']) && $_GET['page'] == 'fvplayer' ) ob_start();
377
- }
378
-
379
- function fv_player_version_switcher() {
380
- $html = ob_get_clean();
381
-
382
- $select = "<select id='fv-player-pro-release' name='fv-player-pro-release'>";
383
- $select .= "<option".( fv_player_version_switcher_get_release() == 'beta' ? " selected" : "" )." value='beta'>Beta</option>";
384
- $select .= "<option".( fv_player_version_switcher_get_release() == 'release' ? " selected" : "" )." value='release'>Release</option>";
385
- $select .= "</select>";
386
-
387
- $html = str_replace('<h2>FV Player</h2>','<form action="" method="post"><h2>FV Player '.$select.'</h2><input type="hidden" name="fv_player_pro_switch" value="' . wp_create_nonce( 'fv_player_pro_switch' ) . '" /></form>',$html);
388
-
389
- echo $html;
390
- }
391
-
392
- function fv_player_version_switcher_get_release() {
393
- $release = isset($_POST['fv-player-pro-release']) && isset($_REQUEST['fv_player_pro_switch']) ? $_POST['fv-player-pro-release'] : get_option('fv-player-pro-release');
394
- if( !$release ) {
395
- $release = 'release';
396
- }
397
- return $release;
398
- }
399
-
400
- function fv_player_version_switcher_script() {
401
- ?>
402
- <script>
403
- jQuery('#fv-player-pro-release').change( function() {
404
- var question = '';
405
- var version = jQuery(this).val().toLowerCase();
406
-
407
- switch( version )
408
- {
409
- case "beta":
410
- question = '<?php _e('Are you sure you want to switch your FV Player release to beta?', 'fv-wordpress-flowplayer'); ?>';
411
- break;
412
- case "release":
413
- question = '<?php _e('Are you sure you want to switch your FV Player beta to release?', 'fv-wordpress-flowplayer'); ?>';
414
- break;
415
- case "stable":
416
-
417
- break;
418
- default:
419
- console.log('version_switcher_script -> unexpected version');
420
- }
421
-
422
- if( !confirm(question) )
423
- {
424
- jQuery(this).val( '<?php echo fv_player_version_switcher_get_release(); ?>' );
425
- return false;
426
- }
427
-
428
- jQuery('#fv-player-pro-release').parents('form').submit();
429
- });
430
- </script>
431
- <?php
432
- }
433
-
434
- function fv_player_version_switcher_save() {
435
- if( isset($_POST['fv-player-pro-release']) && isset($_REQUEST['fv_player_pro_switch']) && wp_verify_nonce( $_REQUEST['fv_player_pro_switch'], 'fv_player_pro_switch') ) {
436
- update_option('fv-player-pro-release',$_POST['fv-player-pro-release']);
437
-
438
- global $fv_fp;
439
- $fv_fp->css_writeout();
440
- }
441
- }
15
 
16
 
17
  function fv_player_admin_page() {
18
+ include dirname( __FILE__ ) . '/../view/admin.php';
 
 
 
 
 
19
  }
20
 
21
 
141
  );
142
  }
143
 
144
+ if( !$fv_fp->_get_option('notice_new_lightbox') ) {
145
  $fv_fp->pointer_boxes['fv_flowplayer_new_lightbox'] = array(
146
  'id' => '#wp-admin-bar-new-content',
147
  'pointerClass' => 'fv_flowplayer_new_lightbox',
153
  );
154
  }
155
 
156
+ if( $fv_fp->_get_option('nag_fv_player_7') ) {
157
  $fv_fp->pointer_boxes['fv_flowplayer_fv_player_7'] = array(
158
  'id' => '#wp-admin-bar-new-content',
159
  'pointerClass' => 'fv_flowplayer_fv_player_7',
160
+ 'heading' => __('FV Player 7', 'fv-wordpress-flowplayer'),
161
+ 'content' => '<p>Welcome to the brand new FV Player 7! Improvements include:</p>'.
162
  '<ul style="list-style: circle; padding-left: 3em;"><li>New player design and skin options</li>
163
  <li>New Flowplayer core video engine</li>
164
+ <li>Support for autoplay on latest Chrome and Safari versions</li>
165
  <li>Support for autoplay on mobile</li>
166
  <li>New lightbox look</li>
167
  <li>Improved video buffering</li></ul>'.
168
+ '<p>More information in our <a href="https://foliovision.com/2018/09/fv-player-7" target="_blank">blog announcement</a>.</p>',
 
169
  'position' => array( 'edge' => 'top', 'align' => 'center' ),
170
  'button1' => __('Acknowledge', 'fv-wordpress-flowplayer'),
171
  'button2' => '<style>.fv_flowplayer_fv_player_7 .button-secondary { display: none }</style>'
350
  </script>
351
  <?php
352
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/admin-beta.css DELETED
@@ -1,134 +0,0 @@
1
- #content .fv-wp-flowplayer-notice-small, .fv-wp-flowplayer-notice-small { position: absolute; top: 0; left: 0; z-index: 20; }
2
- #content .flowplayer .fv-wp-flowplayer-notice-small small, .flowplayer .fv-wp-flowplayer-notice-small small { position:relative;left:15px;top:10px;-webkit-transition:all .15s 0s;-moz-transition:all .15s 0s;transition:all .15s 0s }
3
- #content .flowplayer.is-mouseover.is-ready .fv-wp-flowplayer-notice-small small, .flowplayer.is-mouseover.is-ready .fv-wp-flowplayer-notice-small small, #content .flowplayer.is-ready.is-paused .fv-wp-flowplayer-notice-small small, .flowplayer.is-ready.is-paused .fv-wp-flowplayer-notice-small small { top: 3em }
4
- /*#content .flowplayer.is-ready.is-paused.has-video-checker .fv-wp-flowplayer-notice-small small, .flowplayer.is-ready.is-paused.has-video-checker .fv-wp-flowplayer-notice-small small { top: 0; }*/
5
- #content .flowplayer.is-mouseover.is-ready .fv-wp-flowplayer-notice-small.fv-wp-flowplayer-notice small, .flowplayer.is-mouseover.is-ready .fv-wp-flowplayer-notice-small.fv-wp-flowplayer-notice small, #content .flowplayer .fv-wp-flowplayer-notice-small.fv-wp-flowplayer-notice small, .flowplayer .fv-wp-flowplayer-notice-small.fv-wp-flowplayer-notice small { top:0;left:0;-webkit-transition:none;-moz-transition:none;transition:none; }
6
- #content .fv-wp-flowplayer-notice, .fv-wp-flowplayer-notice { color: black !important; background-color: #FFFFE0; margin: 0; padding: 0 12px; border-radius: 0; border: none; line-height: 15px; z-index: 100; width: 100%; font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif }
7
- #content .fv-wp-flowplayer-notice strong, .fv-wp-flowplayer-notice strong { font-weight: bold; }
8
- #content .fv-wp-flowplayer-notice p, .fv-wp-flowplayer-notice p { font-family: sans-serif; margin: 0.5em 0; padding: 2px; color: #5b5b5b; }
9
- .fv-wp-flowplayer-notice p tt, .fv-wp-flowplayer-notice blockquote { color: #000; font-size: 12px; }
10
- .fv-wp-flowplayer-notice p tt.bluelink { color: #4189A7; }
11
-
12
- #content .fv-wp-flowplayer-notice a { color: #800 !important; }
13
-
14
- #content .fv-wp-flowplayer-notice blockquote, #content .fv-wp-flowplayer-notice pre, .fv-wp-flowplayer-notice blockquote, .fv-wp-flowplayer-notice pre { padding: 5px; margin: 0; }
15
- .fv-wp-flowplayer-notice textarea.wpfp_message_field { border: 1px solid #dedede; color: #8f8f8f; font-size: 12px; padding: 1%; }
16
- .fv-wp-flowplayer-notice input[type="button"] { border: 1px solid #960c0c; color: #fff; border-radius: 4px; padding: 5px 8px; box-shadow: inset 0 0 1px #de3232; background: #ad1010; font-size: 12px; line-height: 18px; float: right; margin-bottom: 8px; }
17
- #content .fv-wp-flowplayer-notice a.techinfo, .fv-wp-flowplayer-notice a.techinfo { background-image:url(img/techinfo.png); color: gray !important; background-repeat: no-repeat; background-position: left center; display: inline-block; min-height: 18px; padding-left: 24px; margin-top: 5px; }
18
- #content .fv-wp-flowplayer-notice.fv-wp-flowplayer-error, .fv-wp-flowplayer-notice.fv-wp-flowplayer-error { background-color: #FFEBE8; border-color: #CC0000; }
19
- #content .fv-wp-flowplayer-notice.fv-wp-flowplayer-notice, .fv-wp-flowplayer-notice.fv-wp-flowplayer-notice { background-color: #EDEDED; border-color: #c0c0c0; box-shadow: 0 0 4px #ccc; }
20
- .fv-wp-flowplayer-notice-small .fv_wp_flowplayer_notice_head { display: none; }
21
- .fv-wp-flowplayer-notice.fv-wp-flowplayer-notice .fv_wp_flowplayer_notice_head { display: block; text-align: center; font-size: 14px; padding: 10px; line-height: 1; margin: 0 -12px 1em; background-color: #ccc; text-transform: uppercase; }
22
- .fv-wp-flowplayer-notice.fv-wp-flowplayer-notice .fv_wp_flowplayer_notice_head:after { position: absolute; top: 5px; right: 5px; content: '\f335'; font-family: 'dashicons'; line-height: 1; vertical-align: top; font-size: 24px; color: #666; cursor: pointerc }
23
-
24
- .fv-wp-flowplayer-notice-small .vid-ok { color: green; }
25
- .fv-wp-flowplayer-notice-small .vid-warning { color: orange; }
26
- .fv-wp-flowplayer-notice-small .vid-issues { color: red; }
27
-
28
-
29
- .fv-wp-flowplayer-notice-small.fv-wp-flowplayer-notice .vid-ok { color: #114b00; }
30
- .fv-wp-flowplayer-notice-small.fv-wp-flowplayer-notice .vid-warning { color: #ac641e; }
31
- .fv-wp-flowplayer-notice-small.fv-wp-flowplayer-notice .vid-issues { color: #670004; }
32
-
33
- .fv-wp-fp-hidden { display: none; }
34
- .fv-wp-flowplayer-notice-parsed .row { text-align: left; border-bottom: 1px solid lightgray; border-right: 1px solid lightgray; border-left: 1px solid lightgray; padding-left: 5px; font-size: 12px; clear: both; }
35
- .fv-wp-flowplayer-notice-parsed .close { height: 0px; }
36
- .fv-wp-flowplayer-notice-parsed .value { border-left: 1px solid lightgray; display: inline-block; float: right; padding-left: 5px; width: 270px; /*height: 21px; overflow: hidden;*/ }
37
- .fv-wp-flowplayer-notice-parsed.indent { margin-left: 10px; }
38
- .fv-wp-flowplayer-notice-parsed.level-1 { background: #f8f8f8; }
39
- .fv-wp-flowplayer-notice-parsed.level-2 { background: #f0f0f0; }
40
- .fv-wp-flowplayer-notice-parsed.level-3 { background: #e8e8e8; }
41
- .fv-wp-flowplayer-notice-parsed.level-4 { background: #e0e0e0; }
42
- .fv-wp-flowplayer-notice-parsed.level-5 { background: #d8d8d8; }
43
- .fv-wp-flowplayer-notice-parsed.level-6 { background: #d0d0d0; }
44
- .fv-wp-flowplayer-notice-parsed.level-7 { background: #c8c8c8; }
45
- .mail-content-details { height: 200px; overflow: auto; width: 100%; }
46
- .fv-player-interface-form-group td { width:50%; }
47
-
48
- .flowplayer-wrapper { width: 70%; display: inline-block; float: right;}
49
- @media only screen and (max-width: 940px) {.flowplayer-wrapper { width: 100%; float: none;} .form-table2.flowplayer-settings {width: 100% !important;}}
50
-
51
-
52
- #fv-player-popups-settings tr.data:nth-child(even) { background-color: #f6f6f6; }
53
- .fv-player-popup-remove { visibility: hidden; }
54
- td:hover > .fv-player-popup-remove { visibility: visible; }
55
- .fv-player-list-remove { visibility: hidden; }
56
- td:hover > .fv-player-list-remove { visibility: visible; }
57
- #fv_flowplayer_popups table { -webkit-border-collapse:collapse;-moz-border-collapse:collapse;border-collapse:collapse }
58
- table.fv-player-popup-formats td:first-child { width: 72px }
59
- #fv_flowplayer_popups .inside label {
60
- display: initial;
61
- text-align: inherit;
62
- }
63
- #fv-player-popups-settings > tbody > tr > td:nth-child( 1 ) {
64
- text-align: center;
65
- max-width: 7px;
66
- }
67
- #fv-player-email_lists-settings tr td {
68
- vertical-align: top;
69
- }
70
- #fv-player-email_lists-settings >tbody > tr > td {
71
- padding: 2px;
72
- }
73
- #fv-player-email_lists-settings > tbody > tr:nth-child(even) {
74
- background-color: #f6f6f6;
75
- }
76
- #fv-player-email_lists-settings,
77
- #fv-player-email_lists-settings table {
78
- -webkit-border-collapse: collapse;
79
- -moz-border-collapse: collapse;
80
- border-collapse: collapse;
81
- }
82
- #fv-player-email_lists-settings table tr td label {
83
- line-height: 1.8;
84
- }
85
- #fv-player-email_lists-settings .id {
86
- padding: 5px;
87
- }
88
- #fv-player-email_lists-settings table tr td,
89
- .fv-metabox-holder {
90
- padding-top:0!important;
91
- }
92
- #fv-player-email_lists-settings select {
93
- width: 95%;
94
- }
95
-
96
- .fv-nav-tab-wrapper {
97
- border-bottom: 0px!important;
98
- margin-left: 1px!important;
99
- }
100
-
101
- .fv-metabox-holder .postbox.hide-if-js {
102
- display:block;
103
- }
104
-
105
- .fv-metabox-holder .postbox:first-child > .hndle, .fv-metabox-holder .postbox:first-child > .handlediv {
106
- display:none;
107
- }
108
-
109
- #fv_flowplayer_admin_tabs .nav-tab-active {
110
- background-color: #ffffff;
111
- border-bottom: #ffffff;
112
- }
113
-
114
- .wp-admin .user-videos .fv-player-custom-video {
115
- margin-bottom: 10px;
116
- }
117
- .wp-admin .user-videos .flowplayer, .postbox-container .fv-player-custom-video .flowplayer, .usersultra-dahsboard-center .fv-player-custom-video .flowplayer {
118
- max-width: 432px !important;
119
- margin: 2px;
120
- }
121
- .wp-admin .user-videos .fv-player-custom-video > iframe, .postbox-container .fv-player-custom-video > iframe, .usersultra-dahsboard-center .fv-player-custom-video > iframe {
122
- display: block;
123
- overflow: hidden;
124
- width: 432px;
125
- height: 243px;
126
- }
127
-
128
- #fv_flowplayer_interface_options p.description {line-height:1.5;margin-bottom:0;margin-top:0}
129
-
130
- #fp-preview-wrapper{height:360px;width:420px;position:absolute;top:0px;right:50px}
131
- #fp-preview-wrapper>.flowplayer{position:relative; height:160px}
132
- #fp-preview-wrapper .fp-subtitle{height:50px}
133
-
134
- #dashboard-widgets .flowplayer-wrapper h3, #dashboard-widgets .flowplayer-wrapper h4 {color:inherit;margin:0 auto;padding:0;font-weight:700;font-size:inherit}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/admin.css CHANGED
@@ -1,11 +1,12 @@
1
- #content .fv-wp-flowplayer-notice-small, .fv-wp-flowplayer-notice-small { position: absolute; top: 1%; left: 1%; z-index: 20; }
2
- #content .flowplayer.is-mouseout .fv-wp-flowplayer-notice-small, .flowplayer.is-mouseout .fv-wp-flowplayer-notice-small { top: 1%; -webkit-transition:top .15s .3s;-moz-transition:top .15s .3s;transition:top .15s .3s }
3
- #content .flowplayer.is-mouseover.is-ready .fv-wp-flowplayer-notice-small, .flowplayer.is-mouseover.is-ready .fv-wp-flowplayer-notice-small { top: 32px }
4
- #content .fv-wp-flowplayer-notice, .fv-wp-flowplayer-notice { color: black !important; background-color: #FFFFE0; border-color: #E6DB55; margin: -1%; padding: 0 0.6em; border-radius: 3px 3px 3px 3px; border-style: solid; border-width: 1px; line-height: 15px; z-index: 100; width: 97%; font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif }
 
 
5
  #content .fv-wp-flowplayer-notice strong, .fv-wp-flowplayer-notice strong { font-weight: bold; }
6
- #content .fv-wp-flowplayer-notice blockquote, .fv-wp-flowplayer-notice blockquote { font-size: 12px; }
7
- #content .fv-wp-flowplayer-notice p, .fv-wp-flowplayer-notice p { font-family: sans-serif; font-size: 12px; margin: 0.5em 0; padding: 2px; color: #5b5b5b; }
8
- .fv-wp-flowplayer-notice p tt { color: #000; }
9
  .fv-wp-flowplayer-notice p tt.bluelink { color: #4189A7; }
10
 
11
  #content .fv-wp-flowplayer-notice a { color: #800 !important; }
@@ -17,7 +18,8 @@
17
  #content .fv-wp-flowplayer-notice.fv-wp-flowplayer-error, .fv-wp-flowplayer-notice.fv-wp-flowplayer-error { background-color: #FFEBE8; border-color: #CC0000; }
18
  #content .fv-wp-flowplayer-notice.fv-wp-flowplayer-notice, .fv-wp-flowplayer-notice.fv-wp-flowplayer-notice { background-color: #EDEDED; border-color: #c0c0c0; box-shadow: 0 0 4px #ccc; }
19
  .fv-wp-flowplayer-notice-small .fv_wp_flowplayer_notice_head { display: none; }
20
- .fv-wp-flowplayer-notice.fv-wp-flowplayer-notice .fv_wp_flowplayer_notice_head { display: block; text-align: center; font-size: 14px; border-bottom: 1px solid #7a7a7a; padding: 10px; line-height: 1; margin: 0 -0.6em 1em -0.6em; background-color: #e3e3e3; background-repeat: repeat-x; background-image: -moz-linear-gradient(top, #e3e3e3, #aeaeae); background-image: -ms-linear-gradient(top, #e3e3e3, #aeaeae); background-image: -webkit-linear-gradient(top, #e3e3e3, #aeaeae); background-image: -o-linear-gradient(top, #e3e3e3, #aeaeae); background-image: linear-gradient(top, #e3e3e3, #aeaeae); border-radius: 3px 3px 0 0; }
 
21
 
22
  .fv-wp-flowplayer-notice-small .vid-ok { color: green; }
23
  .fv-wp-flowplayer-notice-small .vid-warning { color: orange; }
@@ -130,8 +132,3 @@ table.fv-player-popup-formats td:first-child { width: 72px }
130
  #fp-preview-wrapper .fp-subtitle{height:50px}
131
 
132
  #dashboard-widgets .flowplayer-wrapper h3, #dashboard-widgets .flowplayer-wrapper h4 {color:inherit;margin:0 auto;padding:0;font-weight:700;font-size:inherit}
133
-
134
- .fv-player-editor-wrapper { float: left }
135
-
136
- /* otherwise "Drag boxes here" appears when you hide a meta box initially and then you show it with JS */
137
- .metabox-holder #postbox-container-tab_video_intelligence .empty-container::after { content: none }
1
+ #content .fv-wp-flowplayer-notice-small, .fv-wp-flowplayer-notice-small { position: absolute; top: 0; left: 0; z-index: 20; }
2
+ #content .flowplayer .fv-wp-flowplayer-notice-small small, .flowplayer .fv-wp-flowplayer-notice-small small { position:relative;left:15px;top:10px;-webkit-transition:all .15s 0s;-moz-transition:all .15s 0s;transition:all .15s 0s }
3
+ #content .flowplayer.is-mouseover.is-ready .fv-wp-flowplayer-notice-small small, .flowplayer.is-mouseover.is-ready .fv-wp-flowplayer-notice-small small, #content .flowplayer.is-ready.is-paused .fv-wp-flowplayer-notice-small small, .flowplayer.is-ready.is-paused .fv-wp-flowplayer-notice-small small { top: 3em }
4
+ /*#content .flowplayer.is-ready.is-paused.has-video-checker .fv-wp-flowplayer-notice-small small, .flowplayer.is-ready.is-paused.has-video-checker .fv-wp-flowplayer-notice-small small { top: 0; }*/
5
+ #content .flowplayer.is-mouseover.is-ready .fv-wp-flowplayer-notice-small.fv-wp-flowplayer-notice small, .flowplayer.is-mouseover.is-ready .fv-wp-flowplayer-notice-small.fv-wp-flowplayer-notice small, #content .flowplayer .fv-wp-flowplayer-notice-small.fv-wp-flowplayer-notice small, .flowplayer .fv-wp-flowplayer-notice-small.fv-wp-flowplayer-notice small { top:0;left:0;-webkit-transition:none;-moz-transition:none;transition:none; }
6
+ #content .fv-wp-flowplayer-notice, .fv-wp-flowplayer-notice { color: black !important; background-color: #FFFFE0; margin: 0; padding: 0 12px; border-radius: 0; border: none; line-height: 15px; z-index: 100; width: 100%; font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif }
7
  #content .fv-wp-flowplayer-notice strong, .fv-wp-flowplayer-notice strong { font-weight: bold; }
8
+ #content .fv-wp-flowplayer-notice p, .fv-wp-flowplayer-notice p { font-family: sans-serif; margin: 0.5em 0; padding: 2px; color: #5b5b5b; }
9
+ .fv-wp-flowplayer-notice p tt, .fv-wp-flowplayer-notice blockquote { color: #000; font-size: 12px; }
 
10
  .fv-wp-flowplayer-notice p tt.bluelink { color: #4189A7; }
11
 
12
  #content .fv-wp-flowplayer-notice a { color: #800 !important; }
18
  #content .fv-wp-flowplayer-notice.fv-wp-flowplayer-error, .fv-wp-flowplayer-notice.fv-wp-flowplayer-error { background-color: #FFEBE8; border-color: #CC0000; }
19
  #content .fv-wp-flowplayer-notice.fv-wp-flowplayer-notice, .fv-wp-flowplayer-notice.fv-wp-flowplayer-notice { background-color: #EDEDED; border-color: #c0c0c0; box-shadow: 0 0 4px #ccc; }
20
  .fv-wp-flowplayer-notice-small .fv_wp_flowplayer_notice_head { display: none; }
21
+ .fv-wp-flowplayer-notice.fv-wp-flowplayer-notice .fv_wp_flowplayer_notice_head { display: block; text-align: center; font-size: 14px; padding: 10px; line-height: 1; margin: 0 -12px 1em; background-color: #ccc; text-transform: uppercase; }
22
+ .fv-wp-flowplayer-notice.fv-wp-flowplayer-notice .fv_wp_flowplayer_notice_head:after { position: absolute; top: 5px; right: 5px; content: '\f335'; font-family: 'dashicons'; line-height: 1; vertical-align: top; font-size: 24px; color: #666; cursor: pointerc }
23
 
24
  .fv-wp-flowplayer-notice-small .vid-ok { color: green; }
25
  .fv-wp-flowplayer-notice-small .vid-warning { color: orange; }
132
  #fp-preview-wrapper .fp-subtitle{height:50px}
133
 
134
  #dashboard-widgets .flowplayer-wrapper h3, #dashboard-widgets .flowplayer-wrapper h4 {color:inherit;margin:0 auto;padding:0;font-weight:700;font-size:inherit}
 
 
 
 
 
css/flowplayer-beta.css DELETED
@@ -1,1978 +0,0 @@
1
- @charset "UTF-8";
2
- @font-face {
3
- font-family: flowplayer;
4
- src: url("icons/flowplayer.eot?#iefix") format("embedded-opentype"), url("icons/flowplayer.woff2") format("woff2"), url("icons/flowplayer.woff") format("woff"); }
5
-
6
- .fp-icon {
7
- display: inline-block; }
8
- .fp-icon:before {
9
- font-family: flowplayer;
10
- font-size: 1.7em; }
11
-
12
- .fp-airplay:before {
13
- content: "\e001"; }
14
-
15
- .fp-fullscreen:before {
16
- content: "\e002"; }
17
-
18
- .fp-checked:before {
19
- content: "\e003"; }
20
-
21
- .fp-embed:before {
22
- content: "\e004";
23
- color: #fff; }
24
-
25
- .fp-chromecast:before {
26
- content: "\e005"; }
27
-
28
- .fp-email:before {
29
- content: "\e006"; }
30
-
31
- .fp-playbtn:before {
32
- content: "\e007"; }
33
-
34
- .fp-share:before {
35
- content: "\e009"; }
36
-
37
- .fp-share2:before {
38
- content: "\e00a"; }
39
-
40
- .fp-twitter:before {
41
- content: "\e00c";
42
- color: #1da1f2; }
43
-
44
- .fp-facebook:before {
45
- content: "\e00a";
46
- color: #3b5998; }
47
-
48
- .fp-volumebtn:before {
49
- content: "\e00b"; }
50
-
51
- .fp-volume-off:before {
52
- content: "\e00d"; }
53
-
54
- .fp-unload:before {
55
- content: "\e00f"; }
56
-
57
- .fp-prevbtn:before {
58
- content: "\e011"; }
59
-
60
- .fp-nextbtn:before {
61
- content: "\e012"; }
62
-
63
- .flowplayer.is-mouseover .fp-captions, .flowplayer.is-paused .fp-captions {
64
- bottom: 3em; }
65
-
66
- .flowplayer.is-poster .fp-engine {
67
- filter: alpha(opacity=0);
68
- opacity: 0; }
69
-
70
- .flowplayer.is-loading .fp-engine {
71
- top: -9999em; }
72
-
73
- .flowplayer.is-loading .fp-ui .fp-header, .flowplayer.is-loading .fp-ui .fp-controls {
74
- filter: alpha(opacity=0);
75
- opacity: 0; }
76
-
77
- .flowplayer.is-splash .fp-ui > *, .flowplayer.is-poster .fp-ui > * {
78
- display: none; }
79
-
80
- .flowplayer.is-splash .fp-ui > .fp-play, .flowplayer.is-poster .fp-ui > .fp-play {
81
- display: block; }
82
-
83
- .flowplayer.is-splash.is-loading .fp-ui > .fp-play, .flowplayer.is-poster.is-loading .fp-ui > .fp-play {
84
- display: none; }
85
-
86
- .flowplayer.is-splash.is-loading .fp-ui > .fp-waiting, .flowplayer.is-poster.is-loading .fp-ui > .fp-waiting {
87
- display: block; }
88
-
89
- .flowplayer.is-poster .fp-engine {
90
- left: -9999em;
91
- top: -9999em; }
92
-
93
- .flowplayer.is-poster .fp-captions {
94
- display: none !important; }
95
-
96
- .flowplayer.is-disabled .fp-color {
97
- background-color: #999; }
98
-
99
- .flowplayer.has-title .fp-header {
100
- top: 0;
101
- text-align: right; }
102
-
103
- .flowplayer.is-fullscreen {
104
- top: 0 !important;
105
- left: 0 !important;
106
- border: 0 !important;
107
- margin: 0 !important;
108
- width: 100% !important;
109
- height: 100% !important;
110
- max-width: 100% !important;
111
- z-index: 99999 !important;
112
- -webkit-box-shadow: 0 !important;
113
- box-shadow: 0 !important;
114
- background-image: none !important;
115
- background-color: #333; }
116
- .flowplayer.is-fullscreen .fp-player {
117
- background-color: #333; }
118
- .flowplayer.is-fullscreen .fp-fullscreen:before {
119
- content: "\e016"; }
120
-
121
- .flowplayer.is-fullscreen.fp-outlined .fp-fullscreen:before, .flowplayer.is-fullscreen.fp-minimal .fp-fullscreen:before {
122
- content: "\e216"; }
123
-
124
- .flowplayer.is-fullscreen.fp-edgy .fp-fullscreen:before {
125
- content: "\e116"; }
126
-
127
- .flowplayer.is-fullscreen.fp-edgy.fp-outlined .fp-fullscreen:before, .flowplayer.is-fullscreen.fp-edgy.fp-minimal .fp-fullscreen:before {
128
- content: "\e316"; }
129
-
130
- .flowplayer.is-fullscreen.is-mouseout.is-playing .fp-ui {
131
- cursor: none; }
132
-
133
- .flowplayer.is-loading .fp-waiting, .flowplayer.is-seeking .fp-waiting {
134
- display: block !important; }
135
- .flowplayer.is-loading .fp-waiting svg, .flowplayer.is-loading .fp-waiting p, .flowplayer.is-seeking .fp-waiting svg, .flowplayer.is-seeking .fp-waiting p {
136
- filter: alpha(opacity=100);
137
- opacity: 1; }
138
-
139
- .flowplayer.is-loading .fp-play, .flowplayer.is-seeking .fp-play {
140
- display: none !important; }
141
-
142
- .flowplayer.is-playing {
143
- background-image: none !important; }
144
- .flowplayer.is-playing .fp-playbtn:before {
145
- content: "\e008"; }
146
-
147
- .flowplayer.is-playing.fp-outlined .fp-playbtn:before, .flowplayer.is-playing.fp-minimal .fp-playbtn:before {
148
- content: "\e208"; }
149
-
150
- .flowplayer.is-playing.fp-edgy .fp-playbtn:before {
151
- content: "\e108"; }
152
-
153
- .flowplayer.is-playing.fp-edgy.fp-outlined .fp-playbtn:before, .flowplayer.is-playing.fp-edgy.fp-minimal .fp-playbtn:before {
154
- content: "\e308"; }
155
-
156
- .flowplayer.is-muted .fp-volumebtn:before {
157
- content: "\e00d"; }
158
-
159
- .flowplayer.is-muted.fp-outlined .fp-volumebtn:before, .flowplayer.is-muted.fp-minimal .fp-volumebtn:before {
160
- content: "\e20d"; }
161
-
162
- .flowplayer.is-muted.fp-edgy .fp-volumebtn:before {
163
- content: "\e10d"; }
164
-
165
- .flowplayer.is-muted.fp-edgy.fp-outlined .fp-volumebtn:before, .flowplayer.is-muted.fp-edgy.fp-minimal .fp-volumebtn:before {
166
- content: "\e30d"; }
167
-
168
- .flowplayer.is-inverted .fp-duration {
169
- display: none; }
170
-
171
- .flowplayer.is-inverted .fp-remaining {
172
- display: block; }
173
-
174
- .flowplayer.is-closeable .fp-header .fp-unload {
175
- display: block; }
176
-
177
- .flowplayer.is-error {
178
- background-color: #aaa; }
179
- .flowplayer.is-error .fp-ui {
180
- filter: alpha(opacity=100);
181
- opacity: 1; }
182
-
183
- .flowplayer.is-live .fp-timeline {
184
- visibility: hidden; }
185
-
186
- .flowplayer.is-live .fp-bar > *.fp-buffer, .flowplayer.is-live .fp-bar-slider > *.fp-buffer {
187
- max-width: 100%; }
188
-
189
- .flowplayer.is-live.is-dvr .fp-timeline {
190
- visibility: visible; }
191
-
192
- .flowplayer.is-live.is-dvr.is-live-position .fp-duration {
193
- color: #00abcd; }
194
-
195
- .flowplayer.is-flash-disabled .fp-waiting {
196
- display: none !important; }
197
-
198
- .flowplayer.is-flash-disabled .fp-ui {
199
- height: auto;
200
- background: none;
201
- filter: alpha(opacity=100);
202
- opacity: 1; }
203
- .flowplayer.is-flash-disabled .fp-ui .fp-header, .flowplayer.is-flash-disabled .fp-ui .fp-controls {
204
- display: none; }
205
-
206
- .flowplayer.is-flash-disabled .fp-engine {
207
- top: 0; }
208
-
209
- .flowplayer.is-tiny {
210
- font-size: .7em; }
211
-
212
- .flowplayer.is-small {
213
- font-size: .8em; }
214
-
215
- .flowplayer.no-buffer .fp-ui .fp-controls .fp-timeline .fp-buffer {
216
- display: none; }
217
-
218
- .flowplayer.no-volume .fp-volumebar {
219
- display: none; }
220
-
221
- .flowplayer.fp-mute .fp-volumebtn {
222
- display: inline-block; }
223
-
224
- @-webkit-keyframes pulse {
225
- 0% {
226
- filter: alpha(opacity=0);
227
- opacity: 0; }
228
- 100% {
229
- filter: alpha(opacity=100);
230
- opacity: 1; } }
231
-
232
- @keyframes pulse {
233
- 0% {
234
- filter: alpha(opacity=0);
235
- opacity: 0; }
236
- 100% {
237
- filter: alpha(opacity=100);
238
- opacity: 1; } }
239
-
240
- .flowplayer .fp-chromecast-engine {
241
- position: absolute;
242
- display: none;
243
- top: 0;
244
- bottom: 0;
245
- right: 0;
246
- left: 0;
247
- color: #fff; }
248
- .flowplayer .fp-chromecast-engine .fp-chromecast-engine-status {
249
- font-size: 150%;
250
- text-align: center; }
251
- .flowplayer .fp-chromecast-engine .fp-chromecast-engine-icon {
252
- -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiIG9wYWNpdHk9Ii4xIi8+CiAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+CiAgICA8cGF0aCBkPSJNMSAxOHYzaDNjMC0xLjY2LTEuMzQtMy0zLTN6bTAtNHYyYzIuNzYgMCA1IDIuMjQgNSA1aDJjMC0zLjg3LTMuMTMtNy03LTd6bTE4LTdINXYxLjYzYzMuOTYgMS4yOCA3LjA5IDQuNDEgOC4zNyA4LjM3SDE5Vjd6TTEgMTB2MmM0Ljk3IDAgOSA0LjAzIDkgOWgyYzAtNi4wOC00LjkzLTExLTExLTExem0yMC03SDNjLTEuMSAwLTIgLjktMiAydjNoMlY1aDE4djE0aC03djJoN2MxLjEgMCAyLS45IDItMlY1YzAtMS4xLS45LTItMi0yeiIvPgo8L3N2Zz4=");
253
- mask-image: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiIG9wYWNpdHk9Ii4xIi8+CiAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+CiAgICA8cGF0aCBkPSJNMSAxOHYzaDNjMC0xLjY2LTEuMzQtMy0zLTN6bTAtNHYyYzIuNzYgMCA1IDIuMjQgNSA1aDJjMC0zLjg3LTMuMTMtNy03LTd6bTE4LTdINXYxLjYzYzMuOTYgMS4yOCA3LjA5IDQuNDEgOC4zNyA4LjM3SDE5Vjd6TTEgMTB2MmM0Ljk3IDAgOSA0LjAzIDkgOWgyYzAtNi4wOC00LjkzLTExLTExLTExem0yMC03SDNjLTEuMSAwLTIgLjktMiAydjNoMlY1aDE4djE0aC03djJoN2MxLjEgMCAyLS45IDItMlY1YzAtMS4xLS45LTItMi0yeiIvPgo8L3N2Zz4=");
254
- -webkit-mask-size: 100% 100%;
255
- background-color: #fff;
256
- margin: 10% auto 2em;
257
- height: 5em;
258
- width: 5em; }
259
-
260
- .flowplayer.is-chromecast {
261
- background-color: #333; }
262
- .flowplayer.is-chromecast .fp-chromecast-engine {
263
- display: block; }
264
- .flowplayer.is-chromecast .fp-flash-disabled {
265
- display: none !important; }
266
- .flowplayer.is-chromecast .fp-engine {
267
- left: -9999em;
268
- top: -9999em;
269
- bottom: auto;
270
- right: auto; }
271
-
272
- .flowplayer.fp-default-playlist .fp-prev, .flowplayer.fp-default-playlist .fp-next {
273
- position: absolute;
274
- top: 45%;
275
- filter: alpha(opacity=30);
276
- opacity: 0.3;
277
- -webkit-transition: opacity 0.2s;
278
- transition: opacity 0.2s; }
279
- .flowplayer.fp-default-playlist .fp-prev:before, .flowplayer.fp-default-playlist .fp-next:before {
280
- font-family: flowplayer;
281
- font-size: 2.8em; }
282
-
283
- .flowplayer.fp-default-playlist .fp-prev {
284
- left: 0.4em; }
285
- .flowplayer.fp-default-playlist .fp-prev:before {
286
- content: "\e011"; }
287
-
288
- .flowplayer.fp-default-playlist .fp-next {
289
- right: 0.4em; }
290
- .flowplayer.fp-default-playlist .fp-next:before {
291
- content: "\e012"; }
292
-
293
- .flowplayer.fp-default-playlist .fp-playlist {
294
- position: absolute;
295
- right: 0.4em;
296
- bottom: 3em;
297
- width: 100%;
298
- text-align: center; }
299
- .flowplayer.fp-default-playlist .fp-playlist a {
300
- background-color: #fff;
301
- height: 0.8em;
302
- border-radius: 50%;
303
- width: 0.8em;
304
- filter: alpha(opacity=70);
305
- opacity: 0.7;
306
- display: inline-block;
307
- -webkit-transition: -webkit-transform 0.2s;
308
- transition: -webkit-transform 0.2s;
309
- transition: transform 0.2s;
310
- transition: transform 0.2s, -webkit-transform 0.2s; }
311
- .flowplayer.fp-default-playlist .fp-playlist a:hover {
312
- -webkit-transform: scale(1.2, 1.2);
313
- -ms-transform: scale(1.2, 1.2);
314
- transform: scale(1.2, 1.2); }
315
- .flowplayer.fp-default-playlist .fp-playlist a.is-active {
316
- filter: alpha(opacity=100);
317
- opacity: 1; }
318
-
319
- .flowplayer.fp-default-playlist.fp-edgy .fp-prev:before {
320
- content: "\e111"; }
321
-
322
- .flowplayer.fp-default-playlist.fp-edgy .fp-next:before {
323
- content: "\e112"; }
324
-
325
- .flowplayer.fp-default-playlist.fp-outlined .fp-prev:before, .flowplayer.fp-default-playlist.fp-minimal .fp-prev:before {
326
- content: "\e211"; }
327
-
328
- .flowplayer.fp-default-playlist.fp-outlined .fp-next:before, .flowplayer.fp-default-playlist.fp-minimal .fp-next:before {
329
- content: "\e212"; }
330
-
331
- .flowplayer.fp-default-playlist.fp-edgy.fp-outlined .fp-prev:before, .flowplayer.fp-default-playlist.fp-edgy.fp-minimal .fp-prev:before {
332
- content: "\e311"; }
333
-
334
- .flowplayer.fp-default-playlist.fp-edgy.fp-outlined .fp-next:before, .flowplayer.fp-default-playlist.fp-edgy.fp-minimal .fp-next:before {
335
- content: "\e312"; }
336
-
337
- .flowplayer.fp-custom-playlist {
338
- overflow: visible; }
339
- .flowplayer.fp-custom-playlist .fp-playlist, .flowplayer.fp-custom-playlist.is-splash .fp-playlist, .flowplayer.fp-custom-playlist.is-poster .fp-playlist, .flowplayer.fp-custom-playlist.is-loading .fp-playlist {
340
- display: block;
341
- filter: alpha(opacity=100);
342
- opacity: 1; }
343
-
344
- .flowplayer.fp-edgy .fp-play svg.fp-play-rounded-fill, .flowplayer.fp-edgy .fp-play svg.fp-pause-rounded-fill, .flowplayer.fp-edgy .fp-play svg.fp-play-rounded-outline, .flowplayer.fp-edgy .fp-play svg.fp-pause-rounded-outline, .flowplayer.fp-edgy .fp-play svg.fp-loading-rounded-outline, .flowplayer.fp-edgy .fp-play svg.fp-loading-rounded-fill, .flowplayer.fp-edgy .fp-pause svg.fp-play-rounded-fill, .flowplayer.fp-edgy .fp-pause svg.fp-pause-rounded-fill, .flowplayer.fp-edgy .fp-pause svg.fp-play-rounded-outline, .flowplayer.fp-edgy .fp-pause svg.fp-pause-rounded-outline, .flowplayer.fp-edgy .fp-pause svg.fp-loading-rounded-outline, .flowplayer.fp-edgy .fp-pause svg.fp-loading-rounded-fill, .flowplayer.fp-edgy .fp-waiting svg.fp-play-rounded-fill, .flowplayer.fp-edgy .fp-waiting svg.fp-pause-rounded-fill, .flowplayer.fp-edgy .fp-waiting svg.fp-play-rounded-outline, .flowplayer.fp-edgy .fp-waiting svg.fp-pause-rounded-outline, .flowplayer.fp-edgy .fp-waiting svg.fp-loading-rounded-outline, .flowplayer.fp-edgy .fp-waiting svg.fp-loading-rounded-fill {
345
- display: none !important; }
346
-
347
- .flowplayer.fp-edgy .fp-play svg.fp-play-sharp-fill, .flowplayer.fp-edgy .fp-play svg.fp-pause-sharp-fill, .flowplayer.fp-edgy .fp-play svg.fp-loading-sharp-fill, .flowplayer.fp-edgy .fp-pause svg.fp-play-sharp-fill, .flowplayer.fp-edgy .fp-pause svg.fp-pause-sharp-fill, .flowplayer.fp-edgy .fp-pause svg.fp-loading-sharp-fill, .flowplayer.fp-edgy .fp-waiting svg.fp-play-sharp-fill, .flowplayer.fp-edgy .fp-waiting svg.fp-pause-sharp-fill, .flowplayer.fp-edgy .fp-waiting svg.fp-loading-sharp-fill {
348
- display: block; }
349
-
350
- .flowplayer.fp-edgy.fp-outlined .fp-play svg.fp-play-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-play svg.fp-play-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-play svg.fp-pause-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-play svg.fp-pause-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-play svg.fp-loading-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-play svg.fp-loading-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-pause svg.fp-play-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-pause svg.fp-play-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-pause svg.fp-pause-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-pause svg.fp-pause-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-pause svg.fp-loading-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-pause svg.fp-loading-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-waiting svg.fp-play-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-waiting svg.fp-play-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-waiting svg.fp-pause-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-waiting svg.fp-pause-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-waiting svg.fp-loading-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-waiting svg.fp-loading-sharp-fill {
351
- display: none; }
352
-
353
- .flowplayer.fp-edgy.fp-outlined .fp-play svg.fp-play-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-play svg.fp-play-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-play svg.fp-pause-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-play svg.fp-pause-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-play svg.fp-loading-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-play svg.fp-loading-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-pause svg.fp-play-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-pause svg.fp-play-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-pause svg.fp-pause-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-pause svg.fp-pause-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-pause svg.fp-loading-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-pause svg.fp-loading-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-waiting svg.fp-play-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-waiting svg.fp-play-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-waiting svg.fp-pause-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-waiting svg.fp-pause-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-waiting svg.fp-loading-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-waiting svg.fp-loading-sharp-outline {
354
- display: block; }
355
-
356
- .flowplayer.fp-edgy, .flowplayer.fp-edgy .fp-menu, .flowplayer.fp-edgy .fp-captions p, .flowplayer.fp-edgy .fp-textarea, .flowplayer.fp-edgy .fp-bar, .flowplayer.fp-edgy .fp-bar-slider, .flowplayer.fp-edgy .fp-bar > *, .flowplayer.fp-edgy .fp-bar-slider > *, .flowplayer.fp-edgy .fp-timestamp {
357
- border-radius: 0; }
358
-
359
- .flowplayer.fp-edgy .fp-airplay:before {
360
- content: "\e101"; }
361
-
362
- .flowplayer.fp-edgy .fp-fullscreen:before {
363
- content: "\e102"; }
364
-
365
- .flowplayer.fp-edgy .fp-checked:before {
366
- content: "\e103"; }
367
-
368
- .flowplayer.fp-edgy .fp-embed:before {
369
- content: "\e104"; }
370
-
371
- .flowplayer.fp-edgy .fp-chromecast:before {
372
- content: "\e105"; }
373
-
374
- .flowplayer.fp-edgy .fp-email:before {
375
- content: "\e106"; }
376
-
377
- .flowplayer.fp-edgy .fp-playbtn:before {
378
- content: "\e107"; }
379
-
380
- .flowplayer.fp-edgy .fp-share:before {
381
- content: "\e109"; }
382
-
383
- .flowplayer.fp-edgy .fp-share2:before {
384
- content: "\e10a"; }
385
-
386
- .flowplayer.fp-edgy .fp-twitter:before {
387
- content: "\e10c"; }
388
-
389
- .flowplayer.fp-edgy .fp-facebook:before {
390
- content: "\e10a"; }
391
-
392
- .flowplayer.fp-edgy .fp-volumebtn:before {
393
- content: "\e10b"; }
394
-
395
- .flowplayer.fp-edgy .fp-volume-off:before {
396
- content: "\e10d"; }
397
-
398
- .flowplayer.fp-edgy .fp-unload:before {
399
- content: "\e10f"; }
400
-
401
- .flowplayer.fp-edgy .fp-prevbtn:before {
402
- content: "\e111"; }
403
-
404
- .flowplayer.fp-edgy .fp-nextbtn:before {
405
- content: "\e112"; }
406
-
407
- .flowplayer.fp-edgy.fp-outlined .fp-airplay:before, .flowplayer.fp-edgy.fp-minimal .fp-airplay:before {
408
- content: "\e301"; }
409
-
410
- .flowplayer.fp-edgy.fp-outlined .fp-fullscreen:before, .flowplayer.fp-edgy.fp-minimal .fp-fullscreen:before {
411
- content: "\e302"; }
412
-
413
- .flowplayer.fp-edgy.fp-outlined .fp-checked:before, .flowplayer.fp-edgy.fp-minimal .fp-checked:before {
414
- content: "\e303"; }
415
-
416
- .flowplayer.fp-edgy.fp-outlined .fp-embed:before, .flowplayer.fp-edgy.fp-minimal .fp-embed:before {
417
- content: "\e304"; }
418
-
419
- .flowplayer.fp-edgy.fp-outlined .fp-chromecast:before, .flowplayer.fp-edgy.fp-minimal .fp-chromecast:before {
420
- content: "\e305"; }
421
-
422
- .flowplayer.fp-edgy.fp-outlined .fp-email:before, .flowplayer.fp-edgy.fp-minimal .fp-email:before {
423
- content: "\e306"; }
424
-
425
- .flowplayer.fp-edgy.fp-outlined .fp-playbtn:before, .flowplayer.fp-edgy.fp-minimal .fp-playbtn:before {
426
- content: "\e307"; }
427
-
428
- .flowplayer.fp-edgy.fp-outlined .fp-share:before, .flowplayer.fp-edgy.fp-minimal .fp-share:before {
429
- content: "\e309"; }
430
-
431
- .flowplayer.fp-edgy.fp-outlined .fp-share2:before, .flowplayer.fp-edgy.fp-minimal .fp-share2:before {
432
- content: "\e30a"; }
433
-
434
- .flowplayer.fp-edgy.fp-outlined .fp-twitter:before, .flowplayer.fp-edgy.fp-minimal .fp-twitter:before {
435
- content: "\e30c"; }
436
-
437
- .flowplayer.fp-edgy.fp-outlined .fp-facebook:before, .flowplayer.fp-edgy.fp-minimal .fp-facebook:before {
438
- content: "\e30a"; }
439
-
440
- .flowplayer.fp-edgy.fp-outlined .fp-volumebtn:before, .flowplayer.fp-edgy.fp-minimal .fp-volumebtn:before {
441
- content: "\e30b"; }
442
-
443
- .flowplayer.fp-edgy.fp-outlined .fp-volume-off:before, .flowplayer.fp-edgy.fp-minimal .fp-volume-off:before {
444
- content: "\e30d"; }
445
-
446
- .flowplayer.fp-edgy.fp-outlined .fp-unload:before, .flowplayer.fp-edgy.fp-minimal .fp-unload:before {
447
- content: "\e30f"; }
448
-
449
- .flowplayer.fp-edgy.fp-outlined .fp-prevbtn:before, .flowplayer.fp-edgy.fp-minimal .fp-prevbtn:before {
450
- content: "\e311"; }
451
-
452
- .flowplayer.fp-edgy.fp-outlined .fp-nextbtn:before, .flowplayer.fp-edgy.fp-minimal .fp-nextbtn:before {
453
- content: "\e312"; }
454
-
455
- .flowplayer.no-svg .fp-ui .fp-header, .flowplayer.no-svg .fp-ui .fp-controls {
456
- /*background-color: #333;*/ }
457
-
458
- .flowplayer.no-svg .fp-ui .fp-play.fp-visible {
459
- /*background-color: #ccc;*/
460
- position: absolute;
461
- font-size: 2.5em;
462
- top: 0;
463
- left: 0;
464
- right: 0;
465
- bottom: 0;
466
- margin: auto;
467
- width: 6em;
468
- height: 6em;
469
- max-height: 38%;}
470
- .flowplayer.no-svg .fp-ui .fp-play.fp-visible svg {
471
- display: none; }
472
- .flowplayer.no-svg .fp-ui .fp-play.fp-visible .fp-playbtn {
473
- display: block;
474
- -webkit-filter: drop-shadow( 0 0 4px #aaa );
475
- filter: drop-shadow( 0 0 4px #aaa ) }
476
- .flowplayer.no-svg .fp-play.fp-visible .fp-icon:before {
477
- font-size: inherit;
478
- }
479
- .flowplayer .fp-player, .flowplayer .fp-ui, .flowplayer .fp-header, .flowplayer .fp-captions, .flowplayer .fp-controls {
480
- position: absolute;
481
- width: 100%; }
482
-
483
- .flowplayer {
484
- font-family: avenir, sans-serif;
485
- font-size: 16px;
486
- position: relative;
487
- max-height: 100%;
488
- overflow: hidden;
489
- border-radius: .24em;
490
- background-position: center;
491
- background-repeat: no-repeat;
492
- background-size: contain;
493
- zoom: 1 !important;
494
- width: 100%;
495
- display: inline-block; }
496
- .flowplayer .fp-hidden {
497
- display: none; }
498
- .flowplayer .fp-shown {
499
- display: block !important; }
500
- .flowplayer * {
501
- -webkit-box-sizing: border-box;
502
- -moz-box-sizing: border-box;
503
- box-sizing: border-box; }
504
- .flowplayer.is-ready:not(.is-poster) {
505
- background-color: #333; }
506
- .flowplayer .fp-engine {
507
- display: block;
508
- width: 100%;
509
- position: absolute;
510
- top: 0;
511
- bottom: 0;
512
- left: 0;
513
- right: 0;
514
- height: 100%;
515
- width: 100%; }
516
- .flowplayer video.fp-engine:not(.native-subtitles)::-webkit-media-controls {
517
- display: none !important; }
518
- .flowplayer .fp-player {
519
- position: absolute;
520
- bottom: 0;
521
- top: 0; }
522
- .flowplayer .fp-waiting {
523
- display: none; }
524
- .flowplayer .fp-waiting p {
525
- filter: alpha(opacity=0);
526
- opacity: 0;
527
- color: #ccc;
528
- font-weight: bold; }
529
- .flowplayer .fp-ui {
530
- height: 100%;
531
- top: 0;
532
- background-image: none;
533
- -webkit-transition: background-image .1s;
534
- transition: background-image .1s;
535
- text-align: center;
536
- cursor: pointer;
537
- color: #fff; }
538
- .flowplayer .fp-ui a, .flowplayer .fp-ui strong {
539
- color: inherit !important;
540
- font-style: normal !important;
541
- text-decoration: none !important; }
542
- .flowplayer .fp-ui > * {
543
- -webkit-transition: opacity .1s;
544
- transition: opacity .1s;
545
- filter: alpha(opacity=0);
546
- opacity: 0; }
547
- .flowplayer.fp-ui-shown .fp-ui, .flowplayer.is-mouseover .fp-ui, .flowplayer.is-loading .fp-ui, .is-splash.flowplayer .fp-player .fp-ui, .is-paused.flowplayer .fp-player .fp-ui,#content .is-paused.flowplayer .fp-player .fp-ui,#content .is-splash.flowplayer .fp-player .fp-ui {
548
- /*background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.25)), color-stop(15%, transparent));
549
- background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.25), transparent 15%);
550
- background-image: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent 15%);*/
551
- background-image: none;}
552
- .flowplayer.fp-ui-shown .fp-ui > *, .flowplayer.is-paused .fp-ui > *, .flowplayer.is-mouseover .fp-ui > *, .flowplayer.is-loading .fp-ui > *, .flowplayer.is-seeking .fp-ui > * {
553
- filter: alpha(opacity=100);
554
- opacity: 1; }
555
- .flowplayer .fp-header {
556
- top: 0;
557
- background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.25)), to(transparent));
558
- background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.25), transparent);
559
- background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), transparent);
560
- text-align: left;
561
- height: 3em;
562
- -webkit-transition: opacity 0.3s;
563
- transition: opacity 0.3s;
564
- padding-left: .65em; }
565
- .flowplayer .fp-header .fp-icon {
566
- margin: .9em .9em 0 0; }
567
- .flowplayer .fp-header .fp-icon.fp-active {
568
- color: #ec6c4c; }
569
- .flowplayer .fp-header .fp-fullscreen, .flowplayer .fp-header .fp-unload {
570
- float: right; }
571
- .flowplayer .fp-airplay {
572
- position: absolute;
573
- right: 40px;
574
- top: 0;
575
- }
576
- .fp-chromecast {
577
- position: absolute;
578
- right: 80px;
579
- top: 0;
580
- }
581
- .flowplayer .fp-header .fp-unload {
582
- display: none; }
583
- .flowplayer .fp-help {
584
- display: none; }
585
- .flowplayer .fp-message {
586
- background-color: rgba(0, 0, 0, 0.5);
587
- text-align: left;
588
- font-size: 1.2em;
589
- overflow: hidden;
590
- filter: alpha(opacity=0);
591
- opacity: 0;
592
- padding: .6em .9em;
593
- -webkit-transition: opacity 0.3s;
594
- transition: opacity 0.3s; }
595
- .flowplayer .fp-message.fp-shown {
596
- filter: alpha(opacity=100);
597
- opacity: 1; }
598
- .flowplayer .fp-message.fp-shown + .fp-header {
599
- filter: alpha(opacity=0);
600
- opacity: 0; }
601
- .flowplayer .fp-textarea {
602
- background-color: rgba(0, 0, 0, 0.5);
603
- width: 80%;
604
- position: absolute;
605
- left: 10%;
606
- top: 15%;
607
- color: #fff;
608
- outline: 0;
609
- border-radius: .2em;
610
- border: 0;
611
- min-height: 60%; }
612
- .flowplayer .fp-logo {
613
- position: absolute;
614
- bottom: 3em;
615
- left: 0.9em; }
616
- .flowplayer .fp-logo img {
617
- width: 100%; }
618
- .flowplayer .fp-captions {
619
- bottom: 1.2em;
620
- display: none;
621
- text-align: center;
622
- color: #fff; }
623
- .flowplayer .fp-captions p {
624
- background-color: rgba(0, 0, 0, 0.65);
625
- border-radius: .2em;
626
- font-size: 110%;
627
- display: inline-block;
628
- padding: .1em .3em;
629
- margin: .1em; }
630
- .flowplayer .fp-speed-flash {
631
- position: absolute;
632
- left: 0;
633
- right: 0;
634
- bottom: 0;
635
- top: 0;
636
- margin: auto;
637
- font-size: 4em;
638
- color: #fff;
639
- font-weight: bold;
640
- text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
641
- filter: alpha(opacity=0) !important;
642
- opacity: 0 !important;
643
- -webkit-transform: scale(0.8);
644
- -ms-transform: scale(0.8);
645
- transform: scale(0.8);
646
- -webkit-transition: all .2s;
647
- transition: all .2s;
648
- width: 4em;
649
- height: 2em;
650
- display: none; }
651
- .flowplayer .fp-speed-flash.fp-hilite {
652
- filter: alpha(opacity=100) !important;
653
- opacity: 1 !important;
654
- -webkit-transform: scale(1);
655
- -ms-transform: scale(1);
656
- transform: scale(1); }
657
- .flowplayer .fp-play .fp-playbtn, .flowplayer .fp-pause .fp-playbtn, .flowplayer .fp-waiting .fp-playbtn {
658
- display: none; }
659
- .flowplayer .fp-play svg, .flowplayer .fp-pause svg, .flowplayer .fp-waiting svg {
660
- position: absolute;
661
- pointer-events: none;
662
- left: 0;
663
- right: 0;
664
- bottom: 0;
665
- top: 0;
666
- width: 6em;
667
- height: 6em;
668
- filter: alpha(opacity=0);
669
- opacity: 0;
670
- margin: auto;
671
- max-height: 30%;
672
- -webkit-transform: scale(0.8);
673
- -ms-transform: scale(0.8);
674
- transform: scale(0.8);
675
- -webkit-transition: all .2s;
676
- transition: all .2s;
677
- display: none; }
678
- .flowplayer .fp-play svg.fp-play-rounded-fill, .flowplayer .fp-play svg.fp-pause-rounded-fill, .flowplayer .fp-play svg.fp-loading-rounded-fill, .flowplayer .fp-pause svg.fp-play-rounded-fill, .flowplayer .fp-pause svg.fp-pause-rounded-fill, .flowplayer .fp-pause svg.fp-loading-rounded-fill, .flowplayer .fp-waiting svg.fp-play-rounded-fill, .flowplayer .fp-waiting svg.fp-pause-rounded-fill, .flowplayer .fp-waiting svg.fp-loading-rounded-fill {
679
- display: block; }
680
- .flowplayer .fp-play.fp-visible svg, .flowplayer .fp-pause.fp-visible svg, .flowplayer .fp-waiting.fp-visible svg {
681
- -webkit-transform: scale(1.5);
682
- -ms-transform: scale(1.5);
683
- transform: scale(1.5);
684
- filter: alpha(opacity=100);
685
- opacity: 1; }
686
- .flowplayer .fp-remaining {
687
- display: none; }
688
- .flowplayer .fp-controls {
689
- display: -ms-flexbox;
690
- display: -webkit-flex;
691
- display: -webkit-box;
692
- display: -moz-box;
693
- display: flex;
694
- -ms-flex-pack: justify;
695
- -webkit-justify-content: space-around;
696
- justify-content: space-around;
697
- -ms-flex-align: center;
698
- -webkit-align-items: center;
699
- -webkit-box-align: center;
700
- -moz-box-align: center;
701
- align-items: center;
702
- height: 2.4em;
703
- bottom: 0;
704
- z-index: 2;
705
- padding-left: 0.3em;
706
- padding-right: 0.3em; }
707
- .flowplayer .fp-controls > * {
708
- margin: 0 .6em; }
709
- .flowplayer .fp-controls strong {
710
- margin: 0;
711
- padding: 0 .6em;
712
- }
713
- .flowplayer .fp-controls > strong {
714
- letter-spacing: 1px; font-weight: 400; }
715
- .flowplayer .fp-controls img {
716
- width: 1.2em; }
717
- .flowplayer .fp-bar, .flowplayer .fp-bar-slider {
718
- background-color: #ccc;
719
- background-color: rgba(255, 255, 255, 0.5);
720
- position: relative;
721
- cursor: col-resize;
722
- height: .9em;
723
- border-radius: 0.24em;
724
- -ms-flex: 1;
725
- -webkit-box-flex: 1;
726
- -webkit-flex: 1;
727
- -moz-box-flex: 1;
728
- flex: 1; }
729
- .flowplayer .fp-bar > *, .flowplayer .fp-bar-slider > * {
730
- background-color: rgba(255, 255, 255, 0.6);
731
- position: absolute;
732
- height: 100%;
733
- border-radius: 0.24em; }
734
- .flowplayer .fp-bar > *.fp-progress.animated, .flowplayer .fp-bar-slider > *.fp-progress.animated {
735
- -webkit-transition-timing-function: linear;
736
- transition-timing-function: linear;
737
- -webkit-transition-property: width, height;
738
- transition-property: width, height; }
739
- .flowplayer .fp-bar > *.fp-buffer, .flowplayer .fp-bar-slider > *.fp-buffer {
740
- -webkit-transition: width .25s linear;
741
- transition: width .25s linear; }
742
- .flowplayer .fp-bar.no-animation > *, .flowplayer .no-animation.fp-bar-slider > * {
743
- -webkit-transition: none;
744
- transition: none; }
745
- .flowplayer .fp-timeline {
746
- -webkit-transition: height .2s;
747
- transition: height .2s; }
748
- .flowplayer .fp-cuepoint {
749
- background-color: #000;
750
- position: absolute;
751
- height: 100%;
752
- width: 2px; }
753
- .flowplayer .fp-timestamp {
754
- background-color: rgba(0, 0, 0, 0.65);
755
- display: none;
756
- border-radius: .2em;
757
- padding: .1em .3em;
758
- font-size: 90%;
759
- bottom: 1.4em;
760
- height: auto; }
761
- .flowplayer .fp-timeline:hover .fp-timestamp {
762
- display: inline; }
763
- .flowplayer .fp-volume {
764
- display: -ms-flexbox;
765
- display: -webkit-box;
766
- display: -webkit-flex;
767
- display: -moz-box;
768
- display: flex;
769
- height: 100%;
770
- -ms-flex-align: center;
771
- -webkit-box-align: center;
772
- -webkit-align-items: center;
773
- -moz-box-align: center;
774
- align-items: center; }
775
- .flowplayer .fp-volumebtn {
776
- display: none; }
777
- .flowplayer .fp-bar-slider {
778
- background-color: transparent;
779
- -webkit-user-select: none;
780
- -moz-user-select: none;
781
- -ms-user-select: none;
782
- user-select: none;
783
- -webkit-transition: height .2s;
784
- transition: height .2s;
785
- white-space: nowrap;
786
- -ms-flex: 1 0 auto; }
787
- .flowplayer .fp-bar-slider em {
788
- border-radius: 2px;
789
- display: inline-block;
790
- width: 5px;
791
- height: 100%;
792
- position: relative;
793
- vertical-align: top;
794
- margin-left: 3px;
795
- -webkit-transition: -webkit-transform 0.4s;
796
- transition: -webkit-transform 0.4s;
797
- transition: transform 0.4s;
798
- transition: transform 0.4s, -webkit-transform 0.4s;
799
- -webkit-transform-origin: bottom;
800
- -ms-transform-origin: bottom;
801
- transform-origin: bottom;
802
- -webkit-user-select: none;
803
- -moz-user-select: none;
804
- -ms-user-select: none;
805
- user-select: none;
806
- -webkit-transform: scale(1.1);
807
- -ms-transform: scale(1.1);
808
- transform: scale(1.1); }
809
- .flowplayer .fp-bar-slider em:hover {
810
- -webkit-transform: scaleY(1.35);
811
- -ms-transform: scaleY(1.35);
812
- transform: scaleY(1.35);
813
- -webkit-transition: -webkit-transform 0.2s;
814
- transition: -webkit-transform 0.2s;
815
- transition: transform 0.2s;
816
- transition: transform 0.2s, -webkit-transform 0.2s; }
817
- .flowplayer .fp-bar-slider em.fp-grey {
818
- background-color: rgba(255, 255, 255, 0.75); }
819
- .flowplayer.no-flex .fp-controls {
820
- white-space: nowrap; }
821
- .flowplayer.no-flex .fp-controls > * {
822
- display: inline-block;
823
- vertical-align: center;
824
- margin: 0 .3em; }
825
- .flowplayer.no-flex .fp-timeline {
826
- width: 40%; }
827
- .flowplayer.no-flex.fp-full .fp-timeline {
828
- margin-bottom: .6em;
829
- height: .9em; }
830
- .flowplayer.no-flex.fp-fat .fp-bar, .flowplayer.no-flex.fp-playful .fp-bar, .flowplayer.no-flex.fp-fat .fp-bar-slider, .flowplayer.no-flex.fp-playful .fp-bar-slider {
831
- height: .9em !important; }
832
- .flowplayer.fp-fat .fp-bar, .flowplayer.fp-playful .fp-bar, .flowplayer.fp-fat .fp-bar-slider, .flowplayer.fp-playful .fp-bar-slider {
833
- height: 100%;
834
- border-radius: 0; }
835
- .flowplayer.fp-fat .fp-bar > *, .flowplayer.fp-playful .fp-bar > *, .flowplayer.fp-fat .fp-bar-slider > *, .flowplayer.fp-playful .fp-bar-slider > * {
836
- border-radius: 0; }
837
- .flowplayer.fp-fat .fp-timestamp, .flowplayer.fp-playful .fp-timestamp {
838
- bottom: 3.2em; }
839
- .flowplayer.fp-fat .fp-bar-slider em, .flowplayer.fp-playful .fp-bar-slider em {
840
- -webkit-transform: scaleY(0.6);
841
- -ms-transform: scaleY(0.6);
842
- transform: scaleY(0.6);
843
- -webkit-transform-origin: center;
844
- -ms-transform-origin: center;
845
- transform-origin: center; }
846
- .flowplayer.fp-fat .fp-bar-slider em:hover, .flowplayer.fp-playful .fp-bar-slider em:hover {
847
- -webkit-transform: scaleY(0.75);
848
- -ms-transform: scaleY(0.75);
849
- transform: scaleY(0.75); }
850
- .flowplayer.fp-slim .fp-timeline {
851
- height: .2em; }
852
- .flowplayer.fp-slim .fp-controls:hover .fp-timeline {
853
- height: .9em; }
854
- .flowplayer.fp-slim .fp-cue {
855
- width: 4px; }
856
- .flowplayer.fp-slim .fp-bar-slider {
857
- height: .2em; }
858
- .flowplayer.fp-slim .fp-controls:hover .fp-bar-slider {
859
- height: 0.9em; }
860
- .flowplayer.fp-full .fp-timeline {
861
- position: absolute;
862
- height: .3em;
863
- bottom: 2.8em;
864
- margin: 0;
865
- width: 100%;
866
- border-radius: 0;
867
- overflow: inherit;
868
- left: 0; }
869
- .flowplayer.fp-full .fp-timeline:before {
870
- content: "";
871
- width: 100%;
872
- height: 1.2em;
873
- position: absolute;
874
- top: -1.2em;
875
- left: 0; }
876
- .flowplayer.fp-full .fp-controls {
877
- height: 2.8em; }
878
- .flowplayer.fp-full .fp-controls:hover .fp-timeline {
879
- height: 1em; }
880
- .flowplayer.fp-full .fp-volume {
881
- margin-right: auto; }
882
- .flowplayer.fp-full .fp-duration, .flowplayer.fp-full .fp-remaining {
883
- margin-left: 0; }
884
- .flowplayer.fp-full .fp-duration:before, .flowplayer.fp-full .fp-remaining:before {
885
- position: relative;
886
- content: "/";
887
- left: -.3em; }
888
- .flowplayer.fp-minimal .fp-controls {
889
- background-color: transparent !important; }
890
- .flowplayer.fp-minimal .fp-controls > * {
891
- display: none; }
892
- .flowplayer.fp-minimal .fp-header > * {
893
- display: none; }
894
- .flowplayer.fp-minimal .fp-header .fp-fullscreen {
895
- display: inherit; }
896
- .flowplayer.fp-minimal .fp-timeline {
897
- height: .3em;
898
- max-width: 12em;
899
- width: 100%;
900
- display: block;
901
- margin: 0 auto;
902
- -webkit-box-flex: 0;
903
- -webkit-flex: none;
904
- -moz-box-flex: 0;
905
- -ms-flex: none;
906
- flex: none; }
907
- .flowplayer.fp-playful .fp-color, .flowplayer.fp-playful .fp-color-play {
908
- background-color: #ec6c4c;
909
- fill: #ec6c4c; }
910
- .flowplayer.fp-playful .fp-controls {
911
- background-color: #006680; }
912
- .flowplayer .fp-selected:before {
913
- content: "✓ "; }
914
- .flowplayer .fp-menu {
915
- background-color: rgba(0, 0, 0, 0.5);
916
- border-radius: .24em;
917
- position: absolute;
918
- width: 8em;
919
- right: .5em;
920
- z-index: 2;
921
- font-size: 90%;
922
- -webkit-transition: opacity .2s, height .2s, -webkit-transform .2s;
923
- transition: opacity .2s, height .2s, -webkit-transform .2s;
924
- transition: opacity .2s, transform .2s, height .2s;
925
- transition: opacity .2s, transform .2s, height .2s, -webkit-transform .2s;
926
- -webkit-transform: scale(0.95);
927
- -ms-transform: scale(0.95);
928
- transform: scale(0.95);
929
- bottom: -100%;
930
- height: 0;
931
- filter: alpha(opacity=0) !important;
932
- opacity: 0 !important; }
933
- .flowplayer .fp-menu.fp-active {
934
- -webkit-transform: scale(1);
935
- -ms-transform: scale(1);
936
- transform: scale(1);
937
- height: auto;
938
- bottom: 3.2em;
939
- filter: alpha(opacity=100) !important;
940
- opacity: 1 !important; }
941
- .flowplayer.fixed-controls .fp-menu.fp-active {
942
- bottom: .2em;
943
- }
944
- .flowplayer .fp-speed-menu.fp-active.wont-fit {
945
- overflow-y: scroll;
946
- height: 86%;
947
- }
948
- .flowplayer .fp-speed-menu::-webkit-scrollbar {
949
- width: 8px;
950
- background: #333;
951
- }
952
- .flowplayer .fp-speed-menu::-webkit-scrollbar-track {
953
- -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
954
- }
955
- .flowplayer .fp-speed-menu::-webkit-scrollbar-thumb {
956
- background-color: #999;
957
- -webkit-border-radius: 4px;
958
- -moz-border-radius: 4px;
959
- border-radius: 4px;
960
- outline: none;
961
- }
962
- .flowplayer .fp-menu > * {
963
- display: block;
964
- padding: .4em 1.2em;
965
- text-align: right; }
966
- .flowplayer .fp-menu strong {
967
- display: block;
968
- padding: .7em 1.2em;
969
- border-bottom: 1px solid rgba(255, 255, 255, 0.2);
970
- background-color: rgba(0, 0, 0, 0.3);
971
- text-transform: uppercase;
972
- letter-spacing: 1px;
973
- cursor: default;
974
- font-size: 90%; }
975
- .flowplayer .fp-menu a {
976
- color: rgba(255, 255, 255, 0.8); }
977
- .flowplayer .fp-menu a:hover:not(.fp-selected) {
978
- background-color: #000;
979
- color: #fff; }
980
- .flowplayer .fp-menu .fp-icon {
981
- cursor: pointer; }
982
- .flowplayer .fp-menu .fp-icon:before {
983
- margin-right: .1em;
984
- font-size: 1.5em;
985
- vertical-align: -0.1em; }
986
- .flowplayer .fp-qsel-menu {
987
- width: auto; }
988
- .flowplayer .fp-context-menu {
989
- width: auto;
990
- right: auto;
991
- bottom: auto !important;
992
- display: none; }
993
- .flowplayer .fp-context-menu.fp-active {
994
- display: block; }
995
- .flowplayer .fp-context-menu a, .flowplayer .fp-context-menu strong {
996
- text-align: left;
997
- color: #fff;
998
- white-space: nowrap; }
999
- .flowplayer .fp-subtitle-menu {
1000
- width: 9em; }
1001
- .flowplayer .fp-share-menu {
1002
- width: 9em;
1003
- padding-bottom: 0.2em; }
1004
- .flowplayer .fp-share-menu.fp-active {
1005
- bottom: auto; }
1006
- .flowplayer .fp-share-menu a, .flowplayer .fp-share-menu strong {
1007
- text-align: left; }
1008
- .flowplayer.fp-outlined .fp-play svg.fp-play-rounded-fill, .flowplayer.fp-minimal .fp-play svg.fp-play-rounded-fill, .flowplayer.fp-outlined .fp-play svg.fp-pause-rounded-fill, .flowplayer.fp-minimal .fp-play svg.fp-pause-rounded-fill, .flowplayer.fp-outlined .fp-play svg.fp-loading-rounded-fill, .flowplayer.fp-minimal .fp-play svg.fp-loading-rounded-fill, .flowplayer.fp-outlined .fp-pause svg.fp-play-rounded-fill, .flowplayer.fp-minimal .fp-pause svg.fp-play-rounded-fill, .flowplayer.fp-outlined .fp-pause svg.fp-pause-rounded-fill, .flowplayer.fp-minimal .fp-pause svg.fp-pause-rounded-fill, .flowplayer.fp-outlined .fp-pause svg.fp-loading-rounded-fill, .flowplayer.fp-minimal .fp-pause svg.fp-loading-rounded-fill, .flowplayer.fp-outlined .fp-waiting svg.fp-play-rounded-fill, .flowplayer.fp-minimal .fp-waiting svg.fp-play-rounded-fill, .flowplayer.fp-outlined .fp-waiting svg.fp-pause-rounded-fill, .flowplayer.fp-minimal .fp-waiting svg.fp-pause-rounded-fill, .flowplayer.fp-outlined .fp-waiting svg.fp-loading-rounded-fill, .flowplayer.fp-minimal .fp-waiting svg.fp-loading-rounded-fill {
1009
- display: none; }
1010
- .flowplayer.fp-outlined .fp-play svg.fp-play-rounded-outline, .flowplayer.fp-minimal .fp-play svg.fp-play-rounded-outline, .flowplayer.fp-outlined .fp-play svg.fp-pause-rounded-outline, .flowplayer.fp-minimal .fp-play svg.fp-pause-rounded-outline, .flowplayer.fp-outlined .fp-play svg.fp-loading-rounded-outline, .flowplayer.fp-minimal .fp-play svg.fp-loading-rounded-outline, .flowplayer.fp-outlined .fp-pause svg.fp-play-rounded-outline, .flowplayer.fp-minimal .fp-pause svg.fp-play-rounded-outline, .flowplayer.fp-outlined .fp-pause svg.fp-pause-rounded-outline, .flowplayer.fp-minimal .fp-pause svg.fp-pause-rounded-outline, .flowplayer.fp-outlined .fp-pause svg.fp-loading-rounded-outline, .flowplayer.fp-minimal .fp-pause svg.fp-loading-rounded-outline, .flowplayer.fp-outlined .fp-waiting svg.fp-play-rounded-outline, .flowplayer.fp-minimal .fp-waiting svg.fp-play-rounded-outline, .flowplayer.fp-outlined .fp-waiting svg.fp-pause-rounded-outline, .flowplayer.fp-minimal .fp-waiting svg.fp-pause-rounded-outline, .flowplayer.fp-outlined .fp-waiting svg.fp-loading-rounded-outline, .flowplayer.fp-minimal .fp-waiting svg.fp-loading-rounded-outline {
1011
- display: block; }
1012
- .flowplayer.fp-outlined .fp-airplay:before, .flowplayer.fp-minimal .fp-airplay:before {
1013
- content: "\e201"; }
1014
- .flowplayer.fp-outlined .fp-fullscreen:before, .flowplayer.fp-minimal .fp-fullscreen:before {
1015
- content: "\e202"; }
1016
- .flowplayer.fp-outlined .fp-checked:before, .flowplayer.fp-minimal .fp-checked:before {
1017
- content: "\e203"; }
1018
- .flowplayer.fp-outlined .fp-embed:before, .flowplayer.fp-minimal .fp-embed:before {
1019
- content: "\e204"; }
1020
- .flowplayer.fp-outlined .fp-chromecast:before, .flowplayer.fp-minimal .fp-chromecast:before {
1021
- content: "\e205"; }
1022
- .flowplayer.fp-outlined .fp-email:before, .flowplayer.fp-minimal .fp-email:before {
1023
- content: "\e206"; }
1024
- .flowplayer.fp-outlined .fp-playbtn:before, .flowplayer.fp-minimal .fp-playbtn:before {
1025
- content: "\e207"; }
1026
- .flowplayer.fp-outlined .fp-share:before, .flowplayer.fp-minimal .fp-share:before {
1027
- content: "\e209"; }
1028
- .flowplayer.fp-outlined .fp-share2:before, .flowplayer.fp-minimal .fp-share2:before {
1029
- content: "\e20a"; }
1030
- .flowplayer.fp-outlined .fp-twitter:before, .flowplayer.fp-minimal .fp-twitter:before {
1031
- content: "\e20c"; }
1032
- .flowplayer.fp-outlined .fp-facebook:before, .flowplayer.fp-minimal .fp-facebook:before {
1033
- content: "\e20a"; }
1034
- .flowplayer.fp-outlined .fp-volumebtn:before, .flowplayer.fp-minimal .fp-volumebtn:before {
1035
- content: "\e20b"; }
1036
- .flowplayer.fp-outlined .fp-volume-off:before, .flowplayer.fp-minimal .fp-volume-off:before {
1037
- content: "\e20d"; }
1038
- .flowplayer.fp-outlined .fp-unload:before, .flowplayer.fp-minimal .fp-unload:before {
1039
- content: "\e20f"; }
1040
- .flowplayer.fp-outlined .fp-prevbtn:before, .flowplayer.fp-minimal .fp-prevbtn:before {
1041
- content: "\e211"; }
1042
- .flowplayer.fp-outlined .fp-nextbtn:before, .flowplayer.fp-minimal .fp-nextbtn:before {
1043
- content: "\e212"; }
1044
- .flowplayer .fp-color {
1045
- background-color: #00abcd;
1046
- fill: rgba(0, 0, 0, 0.2); }
1047
- .flowplayer .fp-color-play {
1048
- fill: transparent; }
1049
- .flowplayer.is-rtl {
1050
- direction: rtl; }
1051
- .flowplayer.is-rtl .fp-icon {
1052
- -webkit-transform: rotate(180deg);
1053
- -ms-transform: rotate(180deg);
1054
- transform: rotate(180deg); }
1055
- .flowplayer.is-rtl .fp-menu .fp-icon {
1056
- -webkit-transform: none;
1057
- -ms-transform: none;
1058
- transform: none; }
1059
- .flowplayer.-grayscale video.fp-engine {
1060
- -webkit-filter: grayscale(100%);
1061
- filter: grayscale(100%); }
1062
- .flowplayer.-sepia video.fp-engine {
1063
- -webkit-filter: sepia(100%);
1064
- filter: sepia(100%); }
1065
- .flowplayer.-blur video.fp-engine {
1066
- -webkit-filter: blur(5px);
1067
- filter: blur(5px); }
1068
-
1069
- .fp-filters {
1070
- width: 0 !important;
1071
- height: 0 !important;
1072
- overflow: hidden !important;
1073
- position: absolute; }
1074
-
1075
-
1076
- /*
1077
- * FV Player Additions
1078
- */
1079
-
1080
- .flowplayer.skin-slim.is-mouseover.is-ready .fp-ui, .flowplayer.skin-slim.is-paused.is-ready .fp-ui, #content .flowplayer.skin-slim.is-paused.is-ready .fp-ui {
1081
- background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.25)), color-stop(15%, transparent));
1082
- background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.25), transparent 15%);
1083
- background-image: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent 15%);
1084
- }
1085
- .flowplayer.fixed-controls.skin-slim.is-mouseover.is-ready .fp-ui, .flowplayer.fixed-controls.skin-slim.is-paused.is-ready .fp-ui {
1086
- background-image: none;
1087
- }
1088
- .flowplayer.fixed-controls.skin-slim .fp-controls, .flowplayer.skin-slim .fv-ab-loop, .flowplayer.fixed-controls.skin-slim .fv-ab-loop {
1089
- background-color: rgba(0, 0, 0, 0.75) !important;
1090
- }
1091
-
1092
- .flowplayer { margin: 0 auto 2.8em auto; display: block; max-width: 100%; }
1093
- .flowplayer.has-caption { margin: 0 auto; }
1094
- .flowplayer.fixed-controls.has-caption, flowplayer.fixed-controls.has-caption * { margin-bottom: 2.8em; }
1095
- .flowplayer.fixed-controls { margin-bottom: 5.2em }
1096
- .flowplayer.fixed-controls.skin-custom {border: none}
1097
- .flowplayer.has-abloop { margin-bottom: 2.8em; }
1098
- .flowplayer.fixed-controls.has-abloop { margin-bottom: 5.2em; }
1099
-
1100
- /* stop the timeline becoming bold on hover and provide a workaround to make it easier to click */
1101
- .flowplayer.fp-slim .fp-controls:hover .fp-timeline {
1102
- height: .2em; }
1103
- .flowplayer.fp-slim .fp-controls:hover .fp-timeline:before {
1104
- content: ''; position: absolute; top:-8px; bottom:-8px; left: 0; right: 0 }
1105
- .flowplayer.fp-slim .fp-controls:hover .fp-bar-slider {
1106
- height: .2em; }
1107
- .flowplayer.fp-slim .fp-controls:hover .fp-bar-slider:before {
1108
- content: ''; position: absolute; top:-8px; bottom:-8px; left: 0; right: 0 }
1109
-
1110
- .flowplayer.fixed-controls.is-splash .fp-ui .fp-controls, .flowplayer.fixed-controls.is-poster .fp-ui .fp-controls { display: flex; }
1111
- .flowplayer.fixed-controls.is-splash .fp-timestamp, .flowplayer.fixed-controls.is-poster .fp-timestamp { display: none; }
1112
- .flowplayer.fixed-controls.is-splash .fp-elapsed, .flowplayer.fixed-controls.is-poster .fp-elapsed { display: none; }
1113
- .flowplayer.fixed-controls.is-splash .fp-duration, .flowplayer.fixed-controls.is-poster .fp-duration { display: none; }
1114
- .flowplayer.fixed-controls.is-splash .fp-controls strong, .flowplayer.fixed-controls.is-poster .fp-controls strong { display: none; }
1115
- .flowplayer.fixed-controls.is-splash .fp-bar, .flowplayer.fixed-controls.is-poster .fp-bar { cursor: pointer; pointer-events: none }
1116
- .flowplayer.fixed-controls.is-splash .fp-bar-slider, .flowplayer.fixed-controls.is-poster .fp-bar-slider { cursor: pointer; pointer-events: none }
1117
-
1118
- .flowplayer.fixed-controls .fp-controls, .flowplayer.fixed-controls.is-loading .fp-ui .fp-controls { opacity: 1; filter: alpha(opacity=100); }
1119
- .flowplayer.fixed-controls {overflow: visible; margin-bottom: 4em}
1120
- .flowplayer.fixed-controls .fp-controls {bottom: -2.4em}
1121
- .flowplayer.fixed-controls.fp-full .fp-controls {bottom: -2.8em}
1122
- .flowplayer.fixed-controls.is-fullscreen .fp-controls {bottom: 0}
1123
-
1124
- .flowplayer.has-video-checker {overflow: visible}
1125
-
1126
- .fv-fp-splash-text { position: absolute;bottom:20%;z-index:20;text-align:center;width:100%;color:#fff;text-shadow: 0 0 2px #333;background-color: rgba(0,0,0,0.5); font-size: 18px; padding: 5px 36px; pointer-events: none }
1127
- .flowplayer.is-error .fv-fp-splash-text {display: none}
1128
-
1129
- .flowplayer video{width:100%;/*needed?*/-ms-transform: translateY(0) translateX(0);-webkit-transform: translateY(0) translateX(0);transform: translateY(0) translateX(0);}
1130
- /*this might be needed some day: .flowplayer .fp-controls{display: block; z-index: auto;}*/
1131
- @media (max-width: 600px){
1132
- .flowplayer .fp-help p{font-size:9px}
1133
- }
1134
- /*this might be needed some day: .flowplayer .fp-dropdown li{ line-height: 16px;text-align:center; } */
1135
- /*this might be needed some day: .flowplayer .fp-tooltip{z-index:22;padding:4px 6px 6px;line-height:1} */
1136
-
1137
- .flowplayer.is-mouseout .fp-captions{-webkit-transition:bottom 0.15s ease 0.3s;-moz-transition:bottom 0.15s ease 0.3s;transition:bottom 0.15s ease 0.3s}
1138
- .flowplayer .fp-captions p{display:inline-block;background-color:#000;color:#eee;padding:0 .4em;font-size:16px;border-radius: 5px; margin: 0}
1139
- .flowplayer.is-fullscreen .fp-captions p{font-size:125%;line-height:1.2}
1140
- .flowplayer .fp-captions.is-wide br{display:none}
1141
- .flowplayer .fp-captions p:after{content:'';clear:both}
1142
- .flowplayer .fp-captions p:first-of-type{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}
1143
- .flowplayer .fp-captions p:last-of-type{padding-left:0;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}
1144
- .flowplayer .fp-captions:not(.is-wide) p{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}
1145
- .flowplayer .fp-captions:not(.is-wide) p{padding-left:0.4em}
1146
- .flowplayer .fp-captions p b{font-weight:bold}
1147
- .flowplayer .fp-captions p i{font-style:italic}
1148
- .flowplayer .fp-captions p u{text-decoration:underline}
1149
- @media (max-width: 56.25em){
1150
- .flowplayer .fp-captions br{display:block}
1151
- .flowplayer .fp-captions p:first-of-type,.flowplayer .fp-captions p:last-of-type{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}
1152
- .flowplayer .fp-captions p:last-of-type{padding-left:0.4em}
1153
- }
1154
- @media (max-width: 40em){
1155
- .flowplayer .fp-captions{line-height:14px !important}
1156
- .flowplayer .fp-captions p{font-size:14px !important;line-height:20px !important}
1157
- }
1158
- @media (max-width: 30em) {
1159
- .flowplayer .fp-captions{bottom:4px;line-height:12px !important}
1160
- .flowplayer .fp-captions p{font-size:11px !important;line-height:18px !important;-webkit-text-shadow:0 0 2px #666;-moz-text-shadow:0 0 2px #666;text-shadow:0 0 2px #666}
1161
- }
1162
- /* Fullscreen captions on large screens */
1163
- @media (min-width: 64.063em) {
1164
- .flowplayer.is-fullscreen .fp-captions p{font-size:135%}
1165
- }
1166
- @media (min-width: 90.063em) {
1167
- .flowplayer.is-fullscreen .fp-captions p{font-size:175%}
1168
- }
1169
- @media (min-width: 120.063em) {
1170
- .flowplayer.is-fullscreen .fp-captions p{font-size:225%}
1171
- }
1172
- @media (min-width: 128em) {
1173
- .flowplayer.is-fullscreen .fp-captions p{font-size:300%}
1174
- }
1175
- @media (min-width: 160em) {
1176
- .flowplayer.is-fullscreen .fp-captions p{font-size:350%}
1177
- }
1178
-
1179
-
1180
- /* reducing the spacing in .fp-header */
1181
- .flowplayer .fp-header { /*background-color: rgba(0, 0, 0, 0.5); height: 2em;*/ padding-left: 0 }
1182
- .flowplayer .fp-header .fp-icon { margin: 0.5em 0.5em 0 0;line-height: 1 }
1183
-
1184
- .flowplayer .fvp-share-bar .fvp-sharing a {background: url("img/flp-share-icons-x2.png") no-repeat;background-size:100%}
1185
-
1186
- /*this might be needed some day: .flowplayer .fp-menu{z-index:21;}*/
1187
- /*this might be needed some day: .flowplayer .fp-volume{align-items:normal;display:block}*/
1188
- .flowplayer.is-fullscreen{ max-height:100% !important; }
1189
- /*this might be needed some day: .flowplayer.is-error h2{color: #000;}*/
1190
- /*this might be needed some day: .flowplayer.is-mouseout .fp-volume{top:12px}*/
1191
-
1192
-
1193
-
1194
-
1195
- /* Mailchimp integration, todo: check! */
1196
- .flowplayer .fv_player_popup p{margin:0 12px 6px;line-height:1.35}
1197
- .flowplayer .wpfp_custom_popup{width:100%;top:0;bottom:0;margin-bottom:2.4em;-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s}
1198
- .flowplayer .fv_player_popup {background-color:#222;position:relative;top:0;width:100%;height:100%;padding:2em 0 1%}
1199
- .flowplayer .fv_player_popup h1,.flowplayer .fv_player_popup h2,.flowplayer .fv_player_popup h3,.flowplayer .fv_player_popup h4,.flowplayer .fv_player_popup h5,.flowplayer .fv_player_popup h6{margin:0 0 6px !important}
1200
- .mailchimp-form input{width:31.33333333%;max-width:31.33333333%;margin:0 1%}
1201
- .mailchimp-form-1 input{width:48%;max-width:48%;margin:0 1%}
1202
- .mailchimp-form-2 input{width:31.33333333%;max-width:31.33333333%;margin:0 1%}
1203
- .mailchimp-form-3 input{width:23%;max-width:23%;margin:0 1%}
1204
-
1205
- .mailchimp-form input[type="text"],.mailchimp-form input[type="email"]{padding:8px;line-height:1;border:0;float:left}
1206
- .mailchimp-form input[type="submit"]{background-color:#bf0000;float:right;padding:8px}
1207
- .mailchimp-form input[type="submit"]:hover{background-color:#af0000}
1208
- .flowplayer .mailchimp-form{background-color:#333;padding:30px 1.5%;position:absolute;bottom:0;margin:0 auto;width:100%}
1209
- .flowplayer .mailchimp-response{margin-top:6px;padding-top:6px;border-top:2px solid #00A7C8;display:inline-block}
1210
- .flowplayer .mailchimp-response.is-fv-error{border-color:#bf0000}
1211
- .flowplayer.is-fv-narrow .fv_player_popup{padding-top:1em;font-size:0.9em}
1212
- .flowplayer.is-fv-narrow .mailchimp-form{padding-top:20px}
1213
- .flowplayer.is-fv-narrow .fv_player_popup h1,.flowplayer.is-fv-narrow .fv_player_popup h2,.flowplayer.is-fv-narrow .fv_player_popup h3,.flowplayer.is-fv-narrow .fv_player_popup h4,.flowplayer.is-fv-narrow .fv_player_popup h5,.flowplayer.is-fv-narrow .fv_player_popup h6{font-size:1.2em}
1214
- .flowplayer.is-fullscreen .fv_player_popup{padding-top:10%}
1215
- .flowplayer.is-fullscreen .fv_player_popup p{margin:0 auto 6px}
1216
- .flowplayer.is-fullscreen .mailchimp-form{padding:30px 25%}
1217
-
1218
- @media (max-width: 40em){
1219
- .flowplayer .fp-help p{font-size:9px;}
1220
- }
1221
- @media (max-width: 30em) {
1222
- .flowplayer .fv_player_popup {width:99%;font-size:14px;top:0;}
1223
- .flowplayer.is-fv-narrow .fv_player_popup{font-size:0.8em}
1224
- }
1225
- @media (max-width: 22.5em) {
1226
- .flowplayer.is-fv-narrow .mailchimp-form{padding:10px 1.5%}
1227
- .flowplayer.is-fv-narrow .fv_player_popup{font-size:0.7em}
1228
- }
1229
-
1230
-
1231
- .flowplayer .wpfp_custom_popup form .edd-add-to-cart {float:none;}
1232
- .flowplayer .wpfp_custom_popup .fv_player_popup p {max-width:100%}
1233
-
1234
- /*this might be needed some day: .flowplayer .fp-waiting em { opacity: 1 !important; } */
1235
- .flowplayer.is-fullscreen .fp-player{background-color:#000}
1236
-
1237
-
1238
-
1239
- /* error icon, todo: check! */
1240
- .is-error.flowplayer .fp-player:before {
1241
- background: url("img/no-play-white.svg") no-repeat center center;
1242
- background-size: 14%;
1243
- z-index: 2;
1244
- content: '';
1245
- display: block;
1246
- height: 100%;
1247
- position: relative;
1248
- -webkit-filter: drop-shadow( 0 0 4px #aaa );
1249
- filter: drop-shadow( 0 0 4px #aaa );
1250
- }
1251
-
1252
- .flowplayer video.fp-engine { visibility:visible; }
1253
- .flowplayer .fp-engine { max-width:100%; }
1254
- .flowplayer.is-fullscreen .fp-logo{z-index:2147483647;}
1255
- .flowplayer .fp-logo {max-width:33%;-webkit-tap-highlight-color: rgba(0,0,0,0);}
1256
- .flowplayer .fp-logo img {box-shadow:none}
1257
- .flowplayer.fixed-controls .fp-logo {bottom: 15px}
1258
-
1259
- /* Share bar, todo: check! */
1260
- .flowplayer .fp-embed-code{display:none;}
1261
- .flowplayer .fvp-share-bar{font-size:12px}
1262
- .is-rtl.flowplayer .fvp-share-bar{left:auto;}
1263
- .flowplayer .fvp-share-bar textarea{width:400px;min-height:130px;font-family: "Lucida Console", Monaco, monospace; color:#777; white-space:nowrap; resize:none;overflow:hidden;border:0;outline:0;background-color:transparent;color:#ccc; border: 1px solid #888;}
1264
- .flowplayer.is-embedding .fp-embed,.flowplayer.is-embedding .fvp-share-bar{display:block;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)}
1265
-
1266
- /* style reset first */
1267
- .flowplayer .fvp-sharing ul {
1268
- list-style: none !important;
1269
- }
1270
- .fvp-share-bar ul,
1271
- .fvp-share-bar .fvp-sharing,
1272
- #content .fvp-share-bar .fvp-sharing {
1273
- margin: 0.4em 0 0 0;
1274
- padding: 0 !important;
1275
- float: left;
1276
- font-family: "Lucida Console", Monaco, monospace;
1277
- }
1278
- .fvp-share-bar label {
1279
- text-align: center !important;
1280
- }
1281
- .fvp-share-bar .fvp-sharing li a:before,
1282
- .fvp-share-bar .fvp-sharing li a:after,
1283
- .fvp-share-bar .fvp-sharing li:before,
1284
- .fvp-share-bar .fvp-sharing li:after {
1285
- content: "" !important;
1286
- display: none !important;
1287
- }
1288
- .fvp-share-bar .fvp-sharing li {
1289
- float: left;
1290
- display: inline-block;
1291
- margin: 0 5px !important;
1292
- padding: 0 !important;
1293
- border: none !important;
1294
- background: none !important;
1295
- }
1296
- /*#content .flowplayer a,
1297
- .flowplayer a,
1298
- .flowplayer a:hover, viktor, please check */
1299
- .fvp-share-bar .fvp-sharing a {
1300
- color: #fff !important;
1301
- text-shadow: none !important;
1302
- -webkit-transition: none !important;
1303
- -moz-transition: none !important;
1304
- transition: none !important;
1305
- }
1306
-
1307
- .flowplayer em {
1308
- font-style: normal !important;
1309
- }
1310
-
1311
- .fvp-share-bar .fvp-sharing a {
1312
- width: 24px;
1313
- height: 24px;
1314
- display: block;
1315
- overflow: hidden;
1316
- background: url("img/flp-share-icons.png") no-repeat;
1317
- text-indent: -9999em;
1318
- -wekbit-box-shadow: none !important;
1319
- -moz-box-shadow: none !important;
1320
- box-shadow: none !important;
1321
- border-bottom: 0 !important;
1322
- text-decoration: none !important;
1323
- }
1324
-
1325
- .fvp-share-bar .fvp-sharing a.sharing-twitter {
1326
- background-position: 0 -28px;
1327
- }
1328
-
1329
- .fvp-share-bar .fvp-sharing a.sharing-google {
1330
- background-position: 0 -56px;
1331
- }
1332
-
1333
- .fvp-share-bar .fvp-sharing a.sharing-email {
1334
- background-position: 0 -84px;
1335
- }
1336
- .fvp-share-bar .sharing-link{
1337
- float: left;
1338
- color: #fff;
1339
- line-height: 22px;
1340
- padding: .5em;
1341
- font-weight:bold;
1342
- }
1343
- .flowplayer .fvp-share-bar label{float:left;color:#fff;line-height: 22px;padding: .5em;}
1344
- .flowplayer .fp-embed{display:none}
1345
- /*.flowplayer.is-mouseover.is-ready .fp-embed-code{display:block}*/
1346
- /*.flowplayer.is-mouseout .fvp-share-bar{opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .15s .3s;-moz-transition:opacity .15s .3s;transition:opacity .15s .3s}
1347
- .flowplayer.is-mouseout .fvp-share-bar.visible{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)}
1348
- .flowplayer.is-mouseover.is-ready .fvp-share-bar{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} */
1349
- .flowplayer .fp-fullscreen {z-index:1}
1350
- .flowplayer .fvp-share-bar {display:none;}
1351
- .flowplayer .embed-code {padding: 0 10px 10px; display: none; clear: both; background-color: rgba(0, 0, 0, 0); }
1352
- .flowplayer .embed-code label {clear: both; padding-left: 0px; padding-top: 0; line-height: 16px;}
1353
- #content .flowplayer .fvp-share-bar textarea, .flowplayer .fvp-share-bar textarea { padding: 3px; line-height: 1.4; white-space: pre-wrap; color: black !important; height: auto; min-height: 130px; width: 99%; font-size: 10px; background-color:rgba(255, 255, 255, 1); box-shadow: none; border-radius: 0; cursor: text; }
1354
- #content .flowplayer.is-ready .fvp-share-bar.visible .embed-code, .flowplayer.is-ready .fvp-share-bar.visible .embed-code { display: block; }
1355
- /*#content .flowplayer.is-ready .fp-embed-code.visible textarea, .flowplayer.is-ready .fp-embed-code.visible textarea { height: 140px; }*/
1356
- .fvp-share-bar a.embed-code-toggle { font-weight: bold; color: white; }
1357
-
1358
-
1359
-
1360
-
1361
- /* Prev/next playlist, todo: check! */
1362
- .flowplayer .fp-prev, .flowplayer .fp-next {
1363
- position: absolute;
1364
- top: 44%;
1365
- font-size: 240%;
1366
- color: #fff;
1367
- padding: 4px;
1368
- font-weight: bold;
1369
- text-shadow: 0 0 1px #000;
1370
- cursor: pointer;
1371
- z-index: 12; /* make clickable */
1372
- opacity: 1;
1373
- filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
1374
- }
1375
- .flowplayer .fp-prev {
1376
- left: 5px;
1377
- }
1378
- .flowplayer .fp-next {
1379
- right: 5px;
1380
- }
1381
- .is-mouseout.flowplayer .fp-prev, .is-mouseout.flowplayer .fp-next {
1382
- opacity: 0;
1383
- filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
1384
- /* same transition as other ui elements like fullscreen */
1385
- -webkit-transition: opacity .15s .3s;
1386
- -moz-transition: opacity .15s .3s;
1387
- transition: opacity .15s .3s;
1388
- }
1389
-
1390
-
1391
-
1392
- @-moz-keyframes blending{
1393
- to { opacity: 1; }
1394
- }@-webkit-keyframes blending{
1395
- to { opacity: 1 }
1396
- }@-o-keyframes blending{
1397
- to { opacity: 1 }
1398
- }@-ms-keyframes blending{
1399
- to { opacity: 1 }
1400
- }@keyframes blending{
1401
- to { opacity: 1 }
1402
- }
1403
-
1404
- /*this might be needed some day:
1405
-
1406
- @-moz-keyframes fade-in {
1407
- from { transform: opacity 0.5s ease; opacity: 0; filter: alpha(opacity=0); }
1408
- to { opacity: 1; filter: alpha(opacity=100); }
1409
- }
1410
- @-webkit-keyframes fade-in {
1411
- from { transform: opacity 0.5s ease; opacity: 0; filter: alpha(opacity=0); }
1412
- to { opacity: 1; filter: alpha(opacity=100); }
1413
- }
1414
- @keyframes fade-in {
1415
- from { transform: opacity 0.5s ease; opacity: 0; filter: alpha(opacity=0); }
1416
- to { opacity: 1; filter: alpha(opacity=100); }
1417
- }
1418
- */
1419
-
1420
-
1421
-
1422
- /* Other playlist styles */
1423
-
1424
- .fp-playlist-external a,.entry-content .fp-playlist-external a {position:relative;text-decoration:none;border-bottom:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
1425
- .fp-playlist-external a:focus,.entry-content .fp-playlist-external a:focus {outline:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
1426
- .fp-playlist-external a:hover,.entry-content .fp-playlist-external a:hover {-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;text-decoration:none;border-bottom:0}
1427
- .fp-playlist-external a,.fp-playlist-external a h4,.fp-playlist-vertical-wrapper .fp-playlist-external {-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
1428
- .fp-playlist-external a div:empty,.fp-playlist-horizontal a.fvp-video-thumb-no-splash h4 {background-color:#aaa}
1429
- .fp-playlist-external a div {-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
1430
- .fp-playlist-external a.is-active div:after {opacity:0;position:absolute;content:"";top:0;bottom:0;left:0;right:0;opacity:0;border:0;transition: all ease-in-out 1s;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;z-index:98}
1431
- .fp-playlist-external a h4 {font-family:Helvetica Neue,Helvetica,Arial,sans-serif;letter-spacing:0;font-weight:400;line-height:1.25}
1432
- .fp-playlist-external a .now-playing {opacity:0;width:100%;height:100%;transition: all 1s ease-in-out 0s;position:absolute;top:0;bottom:0;left:0;right:0;box-shadow: inset 0 0 250px #000;color:#fff;font-size:16px;font-family:"myriad pro",Helvetica,Arial,sans-serif;font-weight:700;text-transform:uppercase;text-shadow:0 0 5px #333;z-index:99;-webkit-animation:blending 3s ease-in-out 1s alternate infinite;-moz-animation:blending 3s ease-in-out 1s alternate infinite;animation:blending 3s ease-in-out 1s alternate infinite}
1433
- .fp-playlist-external a .now-playing span {background-color:transparent;display:block;margin:0 auto;position:relative;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);transform:translateY(-50%)}
1434
- .fp-playlist-external.fv-playlist-design-2017 a.is-active h4,.fp-playlist-external a.is-active:hover .now-playing {display:none;}
1435
- .fp-playlist-external.fv-playlist-design-2017 a.is-active:hover h4 {display:block}
1436
-
1437
- .fp-playlist-horizontal {text-align:center;display:block;margin-left:auto;margin-right:auto;margin-bottom: 24px;clear:both;font-size:0}
1438
- .fp-playlist-horizontal:before,.fp-playlist-horizontal:after {content:"";display:table}
1439
- .fp-playlist-horizontal:after {clear:both}
1440
- .fp-playlist-horizontal a,.entry-content .fp-playlist-horizontal a,.flowplayer.is-fv-narrow + .fp-playlist-horizontal a {width: 33.333333333%;display:inline-block;vertical-align:top;margin:0;padding:0;background-color:#fff;border:1px solid #fff;text-align:center;font-size:13px;line-height:1.2;position:relative}
1441
- .fp-playlist-horizontal a:hover,.entry-content .fp-playlist-horizontal a:hover {border:1px solid #fff}
1442
- .fp-playlist-horizontal a:nth-child(3n+1) {clear:both}
1443
- .fp-playlist-external a div {display:block;position:relative;width:100%;height:auto;margin:0;-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .3s;padding-top:56%;border:0;background-size:cover;background-position:center center;background-repeat:no-repeat}
1444
- .fp-playlist-horizontal a:nth-child(3n+1) div:before {display:none}
1445
- .fp-playlist-external a h4 {opacity:0;position:absolute;top:0%;bottom:0;left:0;right:0;width:100%;margin:0 auto;padding:5px 10px;text-align:center;transition:all 0.3s ease-in-out 0.1s;font-size:13px;color:#fff;background-color:rgba(0, 0, 0, 0.75)}
1446
- .fp-playlist-external a h4 span {position:absolute;top:50%;left:0;right:0;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);transform:translateY(-50%);border:0;padding:5px 10px}
1447
- .fp-playlist-external a:hover h4,.fp-playlist-external a.fvp-video-thumb-no-splash h4,#dashboard-widgets .flowplayer-wrapper a:hover h4,.fp-playlist-external a.is-active:hover h4, .fp-playlist-external a:hover .dur {opacity:1;color:#fff}
1448
- .fp-playlist-horizontal a.is-active {-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .3s}
1449
- .is-touch + .fp-playlist-horizontal a h4 {opacity:1;background-color:transparent;text-shadow:0 0 12px #000;top:20%;bottom:20%;font-family:"myriad pro",Helvetica,Arial,sans-serif !important}
1450
- .is-touch + .fp-playlist-horizontal a h4 span {background-color:rgba(0,0,0,0.3)}
1451
- .fp-playlist-horizontal.is-wide a,.entry-content .fp-playlist-horizontal.is-wide a {width: 20%}
1452
- .fp-playlist-horizontal.is-wide a:nth-child(3n+1) div:before {display: block}
1453
- .fp-playlist-horizontal.is-wide a:nth-child(5n+1) div:before {display: none}
1454
- .fp-playlist-horizontal.is-wide a:nth-child(3n+1) {clear:none}
1455
- .fp-playlist-horizontal.is-wide a:nth-child(5n+1) {clear:both}
1456
-
1457
- .fv-playlist-slider-wrapper { overflow-x: scroll; margin-bottom: 24px;-webkit-overflow-scrolling: touch;display:block}
1458
- .fv-playlist-slider-wrapper .fp-playlist-horizontal { margin-bottom: 8px; width: 2500px }
1459
- .fv-playlist-slider-wrapper .fp-playlist-horizontal a { width: 200px }
1460
-
1461
- .fp-playlist-vertical {text-align:left;overflow-x:hidden;max-width:100%;background-color:#fff}
1462
- .fp-playlist-vertical-player {float:left!important;max-width:calc( 100% - 156px)!important}
1463
- .fp-playlist-vertical-wrapper {margin-bottom:24px;overflow:hidden;display:block}
1464
- .fp-playlist-vertical-wrapper:before,.fp-playlist-vertical-wrapper:after,.fp-playlist-text-wrapper:before,.fp-playlist-text-wrapper:after {content:"";display:table}
1465
- .fp-playlist-vertical-wrapper:after,.fp-playlist-text-wrapper:after {clear:both}
1466
- .fp-playlist-vertical.fp-playlist-only-captions a h4 span {line-height:1}
1467
- .fp-playlist-vertical a div {display:block;position:relative;width:100%;height:auto;margin:0 0 1px;padding-top:55%;border:0;background-color:#fff;background-size:cover;background-position:center center;background-repeat:no-repeat}
1468
- .fp-playlist-vertical a h4 {margin:0;font-size:13px;color:#000}
1469
- .fp-playlist-vertical-wrapper .flowplayer {width:75%;float:left;margin-bottom:0}
1470
- .fp-playlist-vertical-wrapper .fp-playlist-vertical {width:25%;margin-bottom:0;padding:0 2px}
1471
- .fp-playlist-vertical-wrapper .fp-playlist-vertical a {display:block;margin-bottom:2px}
1472
- .css-videos .fp-playlist-vertical-wrapper video, .fp-playlist-vertical-wrapper video {min-height:0 !important;height:100% !important}
1473
- .fp-playlist-external.fp-playlist-vertical a:hover .now-playing {opacity:0}
1474
- .fp-playlist-only-captions.fp-playlist-vertical a h4 {position:relative;top:auto;background-color:transparent;opacity:1;text-shadow:none}
1475
- .fp-playlist-only-captions.fp-playlist-vertical a,.fp-playlist-only-captions.fp-playlist-vertical a:hover h4 {color:#000}
1476
-
1477
-
1478
- /* Playlist 2014 - classic */
1479
- .fv-playlist-design-2014.fp-playlist-external a h4 {opacity:1;position:relative;margin-bottom:7px;padding:0 10px 4px;color:#000;background-color:transparent}
1480
- .fv-playlist-design-2014.fp-playlist-external a h4 span {position:relative;transform:none;top:auto;padding:0}
1481
- .fv-playlist-design-2014.fp-playlist-external a:hover h4,.fv-playlist-design-2014.fp-playlist-external a.fvp-video-thumb-no-splash h4,#dashboard-widgets .flowplayer-wrapper .fv-playlist-design-2014 a:hover h4 {color:inherit}
1482
-
1483
- /* Playlist 2017 - text only */
1484
- .fp-playlist-text.fp-playlist-external a h4,.visible-captions.fp-playlist-external a h4 {background-color:transparent;opacity:1}
1485
- .visible-captions.fp-playlist-external a h4 span {color: #fff;background-color:rgb(0, 0, 0);background-color:rgba(0, 0, 0, 0.5)}
1486
- .fp-playlist-text.fp-playlist-external a:hover div {background-color:#666}
1487
- .fp-playlist-text.fp-playlist-vertical a {margin-bottom:12px;}
1488
- .fp-playlist-text.fp-playlist-external a.is-active div:after {background-color:transparent}
1489
- .fp-playlist-text-wrapper .flowplayer {width:65%;float:left}
1490
- .fp-playlist-text-wrapper .fp-playlist-vertical {width:35%}
1491
- .fp-playlist-text-wrapper .fp-playlist-only-captions a .now-playing {display:none}
1492
- .fp-playlist-only-captions.fp-playlist-vertical a {display:block;}
1493
- .fp-playlist-text-wrapper.is-fv-narrow .flowplayer,.fp-playlist-text-wrapper.is-fv-narrow .fp-playlist-text,.fp-playlist-text-wrapper.is-fv-narrow .fp-playlist-only-captions,.fp-playlist-vertical-wrapper.is-fv-narrow .flowplayer,.fp-playlist-vertical-wrapper.is-fv-narrow .fp-playlist-vertical {width:100%;float:none;margin-bottom:0}
1494
- .fp-playlist-vertical-wrapper.is-fv-narrow .fp-playlist-vertical a {width:49%;float:left;margin:0.75% 0.5%}
1495
- .fp-playlist-text-wrapper.is-fv-narrow .fp-playlist-only-captions a {width:100%;float:none;display:block}
1496
- .fp-playlist-external.fp-playlist-vertical.fp-playlist-only-captions a h4, .entry-content .fp-playlist-external.fp-playlist-vertical.fp-playlist-only-captions a h4 { text-align: left; padding:2px 8px }
1497
- .fp-playlist-external.fp-playlist-vertical.fp-playlist-only-captions a h4 span { position:relative;top:auto;left:auto;right:auto;-webkit-transform:none;transform:none;padding:0 }
1498
- .fp-playlist-only-captions.fp-playlist-external .dur { opacity:1;color:#999;position:relative;right:auto;top:auto;text-shadow:none;margin-left:6px; }
1499
- .fp-playlist-only-captions.fp-playlist-external a:hover .dur { color:#999; }
1500
-
1501
- /* Some mobiles stuff, todo: check! */
1502
- @media only screen and (max-width: 48em) {
1503
- .fp-playlist-horizontal {margin-left:-1px;margin-right:-1px}
1504
- .fp-playlist-horizontal a,.entry-content .fp-playlist-horizontal a, .flowplayer.is-fv-narrow + .fp-playlist-horizontal a {width: 50%}
1505
- .fp-playlist-horizontal a:nth-child(3n+1) {clear:none}
1506
- .fp-playlist-horizontal a:nth-child(2n+1) {clear:both}
1507
- .fv-playlist-slider-wrapper .fp-playlist-horizontal a,.entry-content .fv-playlist-slider-wrapper .fp-playlist-horizontal a, .flowplayer.is-fv-narrow + .fv-playlist-slider-wrapper .fp-playlist-horizontal a {width: 200px}
1508
- .is-error.flowplayer .fp-player:before {background-size:17%}
1509
- }
1510
- @media (max-width: 40em){
1511
- .fv_fp_close a {width:24px;height:24px;background-size:24px 24px}
1512
- .fp-playlist-horizontal a h4, .fp-playlist-external a h4 {font-size:12px}
1513
- .fp-playlist-vertical-wrapper .flowplayer,.fp-playlist-vertical-wrapper .fp-playlist-vertical {width:100%;float:none;margin-bottom:0}
1514
- .fp-playlist-vertical a {width:49%;float:left;margin:0.75% 0.5%}
1515
- .fp-playlist-only-captions.fp-playlist-vertical a {width:100%;float:none;margin:8px 0}
1516
- .fp-playlist-vertical a:nth-child(2n+1) {clear:both}
1517
- }
1518
- @media only screen and (max-width: 30em) {
1519
- .flowplayer.is-audio .fp-time em {font-size:12px}
1520
- .fp-playlist-external a h4 {font-size:10px}
1521
- }
1522
- @media only screen and (max-width: 22.44em) {
1523
- .fp-playlist-vertical-wrapper.is-fv-narrow .fp-playlist-vertical a {width:100%;float:none;margin:0.75% 0.5%}
1524
- .is-error.flowplayer .fp-player:before {background-size:20%}
1525
- }
1526
-
1527
-
1528
-
1529
- /*this might be needed some day: .flowplayer.video1, .flowplayer.video2, .flowplayer.video3, .flowplayer.video4, .flowplayer.video5, .flowplayer.video6, .flowplayer.video7, .flowplayer.video8, .flowplayer.video9, .flowplayer.video10, .flowplayer.video11, .flowplayer.video12, .flowplayer.video13, .flowplayer.video14, .flowplayer.video15, .flowplayer.video16 { background-image: none !important; } */
1530
-
1531
- /*this might be needed some day: .flowplayer .fp-volume { text-align: left; } */
1532
-
1533
- #content .flowplayer a, .flowplayer a, .flowplayer a:hover { text-decoration: none; border-bottom: none; -wekbit-box-shadow: none !important; -moz-box-shadow: none !important; box-shadow: none !important; border-bottom: 0 !important; text-decoration: none !important; }
1534
-
1535
-
1536
-
1537
- /* Popups, todo: check! */
1538
- .flowplayer .wpfp_custom_ad { display: none; overflow: hidden; }
1539
- .flowplayer .wpfp_custom_ad img { height: auto; }
1540
- .flowplayer.is-playing .wpfp_custom_ad, .flowplayer.is-ready .wpfp_custom_ad { display: block; }
1541
- .flowplayer.is-poster .wpfp_custom_ad { display: none; }
1542
-
1543
- .fv_fp_close { position: absolute; right: 2px; top: 2px; z-index: 20; }
1544
- .fv_fp_close a { display: block; width: 16px; height: 16px; background: url(img/exit_btn.png) no-repeat; background-size: 16px 16px; }
1545
-
1546
- .wpfp_custom_ad_content h1, .wpfp_custom_ad_content h2, .wpfp_custom_ad_content h3, .wpfp_custom_ad_content h4, .wpfp_custom_ad_content h5, .wpfp_custom_ad_content p { padding: 0 5px 2px 5px; margin: 0 5px 2px 5px; }
1547
-
1548
-
1549
-
1550
- .flowplayer.alignleft { margin-right: 10px; margin-bottom: 10px; }
1551
- .flowplayer.alignright { margin-left: 10px; margin-bottom: 10px; }
1552
-
1553
- .flowplayer.no-controlbar .fp-controls {display:none}
1554
-
1555
- /* Caption, todo: check!*/
1556
- p.fp-caption { text-align: center;max-width: 100%; }
1557
-
1558
-
1559
-
1560
-
1561
- /* Buttons, todo: check! or better not use! */
1562
- .is-splash.flowplayer .fv-player-buttons, .is-loading.flowplayer .fv-player-buttons {
1563
- display: none;
1564
- }
1565
- .flowplayer .fv-player-buttons-center {
1566
- position: absolute;
1567
- left: 50%;
1568
- margin-left: -34px;
1569
- bottom: 30px;
1570
- }
1571
- .flowplayer .fv-player-buttons > ul {
1572
- position: relative;
1573
- z-index: 20; /* make clickable */
1574
- display: block;
1575
- opacity: 1;
1576
- filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
1577
- margin: 0 auto;
1578
- }
1579
- .flowplayer .fv-player-buttons > ul:last {
1580
- margin-left: 0px;
1581
- }
1582
- .flowplayer .fv-player-buttons-right {
1583
- position: absolute;
1584
- right: 0;
1585
- bottom: 30px;
1586
- }
1587
- .flowplayer .fv-player-buttons-right > ul {
1588
- /*position: relative;
1589
- left: -95%;*/
1590
- }
1591
- .flowplayer .fv-player-buttons-left {
1592
- position: absolute;
1593
- left: 0;
1594
- bottom: 30px;
1595
- }
1596
- .flowplayer.fixed-controls .fv-player-buttons-left, .flowplayer.fixed-controls .fv-player-buttons-right, .flowplayer.fixed-controls .fv-player-buttons-center {
1597
- bottom: 0px;
1598
- }
1599
- .flowplayer.fixed-controls.is-fullscreen .fv-player-buttons-left, .flowplayer.fixed-controls.is-fullscreen .fv-player-buttons-right, .flowplayer.fixed-controls.is-fullscreen .fv-player-buttons-center {
1600
- bottom: 30px;
1601
- }
1602
- .flowplayer .fv-player-buttons-left > ul {
1603
- left: 0;
1604
- }
1605
- .flowplayer.is-mouseout .fv-player-buttons > ul {
1606
- opacity: 0;
1607
- filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
1608
- -webkit-transition: opacity .15s ease .3s;
1609
- -moz-transition: opacity .15s ease .3s;
1610
- transition: opacity .15s ease .3s;
1611
- }
1612
- .flowplayer .fv-player-buttons li {
1613
- display: inline-block;
1614
- float: left;
1615
- margin: 0 0.3em;
1616
- padding: 0;
1617
- }
1618
- .flowplayer .fv-player-buttons a {
1619
- display: inline-block;
1620
- float: left;
1621
- padding: 0.4ex 0.6ex;
1622
- margin: 0.5ex 0;
1623
- width: 100%;
1624
- text-align: center;
1625
- font-weight: 400;
1626
- background-color: #ccc;
1627
- background-color: rgba(255,255,255,0.5);
1628
- color: #fff;
1629
- cursor: pointer;
1630
- line-height: 1.3em;
1631
- -webkit-border-radius: 5px;
1632
- -moz-border-radius: 5px;
1633
- border-radius: 5px;
1634
- -webkit-transition: background-color 0.2s ease-out;
1635
- -moz-transition: background-color 0.2s ease-out;
1636
- -o-transition: background-color 0.2s ease-out;
1637
- transition: background-color 0.2s ease-out;
1638
- font-size: 14px;
1639
- box-sizing: border-box;
1640
- }
1641
- .flowplayer .fv-player-buttons a:active {
1642
- background-color: rgba(255,255,255,0.85);
1643
- }
1644
- .flowplayer .fv-player-buttons a.current {
1645
- color: #00a7c8;
1646
- background-color: #555;
1647
- cursor: default;
1648
- }
1649
- .flowplayer .fv-player-buttons a.fv_sp_slower {
1650
- -webkit-border-radius: 1ex 0 0 1ex;
1651
- -moz-border-radius: 1ex 0 0 1ex;
1652
- border-radius: 1ex 0 0 1ex;
1653
- margin-right: 2px;
1654
- width: 2.05em;
1655
- }
1656
- .flowplayer .fv-player-buttons a.fv_sp_faster {
1657
- -webkit-border-radius: 0 1ex 1ex 0;
1658
- -moz-border-radius: 0 1ex 1ex 0;
1659
- border-radius: 0 1ex 1ex 0;
1660
- width: 2em;
1661
- }
1662
- .fv-player-speed li {
1663
- margin: 0;
1664
- }
1665
-
1666
-
1667
- /* Video checker, todo: check! */
1668
- .fvfp_admin_error { position: absolute; top: 10%; z-index: 2; text-align: center; width: 100%; /*color: #fff;*/ }
1669
- .fvfp_admin_error { -webkit-animation-name: fade-in; -moz-animation-name: fade-in; -o-animation-name: fade-in; animation-name: fade-in; -webkit-animation-duration: 1s; -moz-animation-duration: 1s; -o-animation-duration: 1s; animation-duration: 1s; -webkit-animation-delay: 5s; -moz-animation-delay: 5s;-o-animation-delay: 5s; animation-delay: 5s; -webkit-animation-fill-mode:both; -moz-animation-fill-mode:both; -o-animation-fill-mode:both; animation-fill-mode:both; }
1670
-
1671
- article .entry-content .fvfp_admin_error p { line-height: 18px }
1672
- .fvfp_admin_error a { /*color: #fff;*/ text-decoration: underline }
1673
- #content .fvfp_admin_error a { /*color: #fff;*/ text-decoration: underline }
1674
- .fvfp_admin_error_content { /*background: #dd0000;*/ padding: 1% 5%; width: 65%; margin: 0 auto; -webkit-box-shadow: 3px 3px 30px 0px rgba(50, 50, 50, 0.96); -moz-box-shadow: 3px 3px 30px 0px rgba(50, 50, 50, 0.96); box-shadow: 3px 3px 30px 0px rgba(50, 50, 50, 0.96); opacity:0.75;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=75); }
1675
- .flowplayer:hover .fvfp_admin_error { display: block }
1676
-
1677
-
1678
- /* Duration, todo: check!*/
1679
- .fvfp_duration { position: absolute; bottom: 0px; right: 1%; z-index: 2; text-align: center; color: #fff; display:none }
1680
- .is-ready .fvfp_duration, .is-loading .fvfp_duration { display: none }
1681
- .fp-playlist-external .dur { font-style:normal;position:absolute;top:6px;right:6px;color:#fff;line-height:1;text-shadow:0 0 3px #333;opacity:0;-webkit-transition:all 0.3s ease-in-out 0.1s;-moz-transition:all 0.3s ease-in-out 0.1s;transition:all 0.3s ease-in-out 0.1s }
1682
-
1683
-
1684
- /* No animation, todo: check! */
1685
- .no-animation.flowplayer * { -webkit-transition:none !important;-moz-transition:none !important;transition:none !important }
1686
-
1687
-
1688
-
1689
-
1690
- /*
1691
- * FV Flowplayer Tabs, todo: check!
1692
- */
1693
- .fv_flowplayer_tabs { margin: 0 auto; }
1694
- .fv_flowplayer_tabs ul.ui-tabs,.fv_flowplayer_tabs ul.ui-tabs-nav{margin:0 !important;font-size:13px;font-family:Arial, Helvetica, sans-serif;font-weight:bold;line-height:24px !important}
1695
- .fv_flowplayer_tabs .ui-tabs { padding: 0; zoom: 1; }
1696
- .fv_flowplayer_tabs .ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: 1px 0; }
1697
- .fv_flowplayer_tabs .ui-tabs .ui-tabs-nav li { position: relative; float: left; border-width: 0 !important; margin: 0 4px 2px 0 !important; padding: 0 !important; list-style:none !important;line-height:24px !important;}
1698
- .fv_flowplayer_tabs .ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: 4px 10px !important; color:#5E5E5E !important;line-height:24px !important;background-color:#EFEFEF;}
1699
- .fv_flowplayer_tabs .ui-tabs .ui-tabs-nav li.ui-state-active a, .fv_flowplayer_tabs .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .fv_flowplayer_tabs .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; color:#FFF !important; background-color:#5E5E5E;}
1700
- .fv_flowplayer_tabs .ui-tabs .ui-tabs-nav li a, .fv_flowplayer_tabs .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-state-active a { cursor: pointer; outline: none; border: none; }
1701
- .fv_flowplayer_tabs .ui-tabs .ui-tabs-panel { padding: 4px 0; display: block; border-width: 0; background: none; }
1702
- .fv_flowplayer_tabs .ui-tabs .ui-tabs-hide { position: absolute; left: -10000px; }
1703
-
1704
- .fv_flowplayer_tabs .ui-tabs .ui-tabs-nav li.ui-corner-top, .fv_flowplayer_tabs .ui-tabs-horizontal-top .wpts_ext{padding-bottom:4px!important;height:32px; }
1705
-
1706
- .fv_flowplayer_tabs .fv_flowplayer_tabs_cl{display:block;visibility:hidden;clear:left;height:0;content:".";}
1707
- .fv_flowplayer_tabs .fv_flowplayer_tabs_cr{display:block;visibility:hidden;clear:right;height:0;content:".";}
1708
-
1709
- .fv_flowplayer_tabs .ui-tabs .ui-tabs-nav li i.dur {display: none; }
1710
-
1711
-
1712
-
1713
-
1714
- /* Warnings, todo: check! */
1715
- .fv-player-warning-wrapper{
1716
- margin: 5px 0 15px;
1717
- border-left: 4px solid #fff;
1718
- border-left-color: #46b450;
1719
- }
1720
- .fv-player-warning-wrapper p{
1721
- margin: .5em;
1722
- padding: 2px;
1723
- }
1724
-
1725
-
1726
-
1727
- /* Notices */
1728
- .fvfp-notices { position: absolute;top:12%;z-index:20;text-align:center;width:100%;color:#fff;text-shadow: 0 0 10px #000; opacity: 1; pointer-events: none}
1729
- .fvfp-notices a { pointer-events: auto; color:#fff; }
1730
- .flowplayer .fvfp-notice-content a:hover { color:#eee; }
1731
- .flowplayer.is-splash .fvfp-notices { display: block }
1732
- .fv-player-reload { font-size: 5em; display: block }
1733
-
1734
-
1735
- /* Disable selection, todo: check! */
1736
- .flowplayer {
1737
- -webkit-touch-callout: none;
1738
- -webkit-user-select: none;
1739
- -khtml-user-select: none;
1740
- -moz-user-select: none;
1741
- -ms-user-select: none;
1742
- user-select: none;
1743
- }
1744
- .fv_wp_fp_notice_content {
1745
- -webkit-touch-callout: auto;
1746
- -webkit-user-select: auto;
1747
- -khtml-user-select: auto;
1748
- -moz-user-select: auto;
1749
- -ms-user-select: auto;
1750
- user-select: auto;
1751
- }
1752
-
1753
-
1754
-
1755
-
1756
- /* Some loading indicator, todo: check */
1757
- .flowplayer .fv-form-loading{ background:transparent url(loading.gif) 50% 50% no-repeat; }
1758
-
1759
-
1760
-
1761
- /* Chrome download button fix, todo: check! */
1762
- .flowplayer.chrome55fix video::-internal-media-controls-download-button, .flowplayer.chrome55fix-subtitles video::-internal-media-controls-download-button { display:none; }
1763
- .flowplayer.chrome55fix video::-webkit-media-controls-enclosure, .flowplayer.chrome55fix-subtitles video::-webkit-media-controls-enclosure { overflow:hidden; }
1764
- .flowplayer.chrome55fix video::-webkit-media-controls-panel { width: calc(100% + 48px); }
1765
- .flowplayer.chrome55fix-subtitles video::-webkit-media-controls-panel { width: calc(100% + 96px); }
1766
-
1767
-
1768
-
1769
- /* Audio player, todo: check! */
1770
- .is-audio .fp-player {
1771
- background-size: contain;
1772
- background-position: top center;
1773
- background-repeat: no-repeat;
1774
- }
1775
-
1776
-
1777
- /* Audio player playlist, todo: check! */
1778
- .flowplayer.is-audio,.site-content .flowplayer.is-audio,.flowplayer.fixed-controls.is-audio {margin-top:40px}
1779
- .flowplayer.is-audio .fv-player-buttons li {margin:0}
1780
- .site-content .flowplayer.is-audio .fp-controls,.site-content .flowplayer.is-audio .fv-ab-loop,.site-content .fv-player-buttons a:active,.site-content .fv-player-buttons a { background-color:#888 !important }
1781
- .is-audio .fp-playlist-external { background-color:#eee }
1782
- .flowplayer.is-audio .fp-controls { height:40px;top:0;bottom:0 }
1783
- .flowplayer.is-audio .fp-play { height:40px !important; width:40px;line-height:40px !important }
1784
- .flowplayer.fixed-controls.is-audio .fp-time em { bottom:13px }
1785
- .flowplayer.is-audio .fp-waiting em { margin:0.8em 0.3em 0 }
1786
- .flowplayer.is-audio.fp-full .fp-timeline,.flowplayer.is-audio.fp-fat .fp-timeline { position: static;margin:0 .6em;height:inherit;bottom:0; }
1787
- .flowplayer.is-audio .fp-time { font-size:14px;text-shadow:none }
1788
- .flowplayer.is-audio .fp-mute { width:40px;height:40px }
1789
- .flowplayer.is-audio .fp-volumebtn { display: block }
1790
- .flowplayer.is-audio .fp-play.fp-visible svg, .flowplayer.is-audio + .fp-playlist-external a .now-playing { display:none; }
1791
- .is-audio + .fp-playlist-external { counter-reset: 'fv-playlist-counter';background-color:#f0f0f0;border-radius:0 0 10px 10px;border-top:1px solid #fff }
1792
- .flowplayer.is-audio .fp-waiting { margin:0 auto; }
1793
- .flowplayer.is-audio .fp-speed.fp-hilite { opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0); }
1794
- .flowplayer.is-audio + .visible-captions.fp-playlist-external a h4 span { color:inherit;background-color:transparent; }
1795
- .flowplayer.is-audio + .fp-playlist-external .dur { color:#666;opacity:1;text-shadow:none;position:static;float:right;}
1796
- .is-audio + .fp-playlist-horizontal {margin-left:0;margin-right:0}
1797
- .is-audio + .fp-playlist-horizontal a div,.entry-content .is-audio + .fp-playlist-horizontal a div,.flowplayer.is-audio .fp-player + a { display:none;bottom:0;background-image:none !important }
1798
- .is-audio + .fp-playlist-external.fp-playlist-horizontal a,.entry-content .is-audio + .fp-playlist-external.fp-playlist-horizontal a,.flowplayer.is-fv-narrow.is-audio + .fp-playlist-external.fp-playlist-horizontal a { counter-increment:fv-playlist-counter;display:block;width:100%;display:block;text-align:left;line-height:1.15;margin:0;padding:6px 12px;border:0;color:#666;clear:both;min-height:26px }
1799
- .is-audio + .fp-playlist-external a:nth-child(odd),.entry-content .is-audio + .fp-playlist-external a:nth-child(odd) {background-color: #f8f8f8;}
1800
- .is-audio + .fp-playlist-external a h4,.entry-content .is-audio + .fp-playlist-external a h4 { display: block;opacity:1;position:relative;text-align:left;font-size:13px;padding:0;clear:none;left:auto;width:auto;background-color:transparent;color:inherit }
1801
- .is-audio + .fp-playlist-external a h4 span,.entry-content .is-audio + .fp-playlist-external a h4 span { position:relative;top:auto;padding:0;transform:none }
1802
- .is-audio + .fp-playlist-external a h4:before,.entry-content .is-audio + .fp-playlist-external a h4:before { content: counter(fv-playlist-counter, decimal-leading-zero) ". ";float:left;min-width:26px;color:#adadad;font-weight:400 }
1803
- .flowplayer.is-loading.is-audio .fp-controls, .flowplayer.is-loading.is-audio .fp-time { display:block }
1804
- .flowplayer.is-loading.is-audio .fp-waiting { position:relative;top:-3px;z-index:99 }
1805
- .flowplayer.fixed-controls.is-audio { margin-bottom:0;height:40px }
1806
- .flowplayer.is-audio .fv-ab-loop,.flowplayer.fixed-controls.is-audio .fv-ab-loop {bottom:-28px;padding-left:82px}
1807
-
1808
- .flowplayer.is-audio .fp-fullscreen,.flowplayer.is-audio .fp-ratio,.flowplayer.is-audio.is-splash .fp-timeline-tooltip {display:none}
1809
- .flowplayer.is-audio.is-error {border:0;margin-bottom:50px}
1810
- .flowplayer.is-audio.is-error h2,.entry-content .flowplayer.is-audio.is-error h2 {margin:0}
1811
- .flowplayer.is-audio .fp-message {padding-top:40px}
1812
- .flowplayer.is-audio .fp-time em {width:44px}
1813
- .flowplayer.is-audio .fp-message p {font-size:75%}
1814
-
1815
- .flowplayer.is-audio .fp-duration, .flowplayer.is-audio .fp-elapsed, .flowplayer.is-audio a.fp-play, .flowplayer.is-audio a.fp-mute {color:#eee !important}
1816
- .flowplayer.is-audio .fp-volumelevel, .flowplayer.is-audio .fp-progress {background-color:#bb0000 !important}
1817
- .flowplayer.is-audio .fp-volumeslider, .flowplayer.is-audio .fp-buffer {background-color:#eeeeee !important}
1818
-
1819
- .fp-playlist-external.is-audio a.is-active,.fp-playlist-external.is-audio a.is-active h4,.fp-playlist-external.is-audio a.is-active h4:before {color:#bb0000}
1820
-
1821
- .is-audio .fp-player {background-size:contain;background-position:top center;background-repeat:no-repeat}
1822
-
1823
-
1824
- @media only screen and (max-width: 48em) {
1825
- .fp-playlist-horizontal {margin-left:-1px;margin-right:-1px}
1826
- .fp-playlist-horizontal a,.entry-content .fp-playlist-horizontal a, .flowplayer.is-fv-narrow + .fp-playlist-horizontal a {width: 50%}
1827
- .fp-playlist-horizontal a:nth-child(3n+1) {clear:none}
1828
- .fp-playlist-horizontal a:nth-child(2n+1) {clear:both}
1829
- }
1830
- @media (max-width: 40em){
1831
- .fv_fp_close a {width:24px;height:24px;background-size:24px 24px}
1832
- .fp-playlist-external a h4 {font-size:12px}
1833
- .fp-playlist-vertical-wrapper .flowplayer,.fp-playlist-vertical-wrapper .fp-playlist-vertical {width:100%;float:none;margin-bottom:0}
1834
- .fp-playlist-vertical a {width:49%;float:left;margin:0.75% 0.5%}
1835
- .fp-playlist-only-captions.fp-playlist-vertical a {width:100%;float:none;margin:8px 0}
1836
- .fp-playlist-vertical a:nth-child(2n+1) {clear:both}
1837
- }
1838
- @media only screen and (max-width: 30em) {
1839
- .flowplayer.is-audio .fp-time em {font-size:12px}
1840
- .fp-playlist-external a h4 {font-size:10px}
1841
- }
1842
- @media only screen and (max-width: 22.44em) {
1843
- .fp-playlist-vertical-wrapper.is-fv-narrow .fp-playlist-vertical a {width:100%;float:none;margin:0.75% 0.5%}
1844
- }
1845
-
1846
- @media screen and (min-width: 1020px) {
1847
- .fp-player a.fp-sticky {
1848
- display: none;
1849
- }
1850
- .flowplayer.is-stickable a.fp-sticky {
1851
- display: block;
1852
- float: right;
1853
- }
1854
-
1855
- .flowplayer a.fp-sticky:before {
1856
- content: "\e10f";
1857
- }
1858
-
1859
- div.fp-player.is-sticky-left-top, div.fp-player.is-sticky-right-top , div.fp-player.is-sticky-left-bottom , div.fp-player.is-sticky-right-bottom {
1860
- transform: translateX(-20px);
1861
- -ms-transform: translateX(-20px);
1862
- -webkit-transform: translateX(-20px);
1863
- transition: width 0.5s ease-in-out, height 0.5s ease-in-out, transform 0.5s ease-in-out;
1864
- transition: transform 0.5s;
1865
-
1866
- }
1867
- div.fp-player.is-sticky-left-top, div.fp-player.is-sticky-right-top , div.fp-player.is-sticky-left-bottom , div.fp-player.is-sticky-right-bottom {
1868
- position: fixed;
1869
- top: 50px;
1870
- right: 30px;
1871
- left: auto;
1872
- max-width: 50%;
1873
- z-index: 999;
1874
- }
1875
- div.fp-player.is-sticky-left-top {
1876
- transform: translateX(20px);
1877
- -ms-transform: translateX(20px);
1878
- -webkit-transform: translateX(20px);
1879
- top: 50px;
1880
- left: 50px;
1881
- right: auto;
1882
- bottom: auto;
1883
- }
1884
- div.fp-player.is-sticky-right-top {
1885
- top: 50px;
1886
- right: 30px;
1887
- left: auto;
1888
- bottom: auto;
1889
- }
1890
- div.fp-player.is-sticky-left-bottom {
1891
- transform: translateX(20px);
1892
- -ms-transform: translateX(20px);
1893
- -webkit-transform: translateX(20px);
1894
- bottom: 50px;
1895
- left: 30px;
1896
- right: auto;
1897
- top: auto;
1898
- }
1899
- div.fp-player.is-sticky-right-bottom {
1900
- bottom: 50px;
1901
- right: 30px;
1902
- left: auto;
1903
- top: auto;
1904
- }
1905
- }
1906
-
1907
- /* Profile viedeo fix for EDD */
1908
- .edd_form .fv-player-custom-video-list {
1909
- clear: both;
1910
- position: relative;
1911
- }
1912
- a.fv-player-custom-video-add, a.fv-player-custom-video-remove {
1913
- margin: 0 6px 0 0;
1914
- padding: 2px 8px;
1915
- background: #999;
1916
- color: #fff;
1917
- text-transform: uppercase;
1918
- font-size: 15px;
1919
- font-size: 1.5rem;
1920
- font-weight: 600;
1921
- border-radius: 3px;
1922
- }
1923
-
1924
- /* hide tabs during loading */
1925
- body.fv_flowplayer_tabs_hide .fv_flowplayer_tabs_content > div, body.fv_flowplayer_tabs_hide .fv_flowplayer_tabs_content > ul { display: none }
1926
- body.fv_flowplayer_tabs_hide .fv_flowplayer_tabs_content > div.fv_flowplayer_tabs_first { display: block }
1927
-
1928
-
1929
-
1930
- /*
1931
- * Flowplayer 7 new stuff
1932
- */
1933
- .fp-playlist { display: none }
1934
-
1935
- .flowplayer .fv-fp-playlist-menu .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute !important; width: 1px; }
1936
- .flowplayer .fp-controls #no-picture-icon, .flowplayer .fp-controls .fvp-icon.fvp-playlist { vertical-align: top; }
1937
- .flowplayer .fvp-icon { vertical-align: middle; }
1938
- .flowplayer svg.fvp-icon, .flowplayer .fvp-icon .svg-color { fill: #ffffff; }
1939
- .flowplayer .fp-menu.fv-fp-playlist-menu { width: 4em; }
1940
- .flowplayer .fp-menu.fv-fp-playlist-menu .fp-selected::before { content: '' }
1941
-
1942
- .flowplayer.is-ready.is-paused {
1943
- background-image: none !important;
1944
- }
1945
- .flowplayer .fv-fp-track-repeat svg,
1946
- .flowplayer .fv-fp-no-picture svg {
1947
- margin: -3px 0 0;
1948
- }
1949
- .flowplayer.is-small .fv-fp-track-repeat svg,
1950
- .flowplayer.is-small .fv-fp-no-picture svg {
1951
- width: 16px;
1952
- height: 16px;
1953
- }
1954
- #fvp-playlist-play {
1955
- display: block;
1956
- text-align: center;
1957
- }
1958
- .fv-fp-playlist .fvp-icon,
1959
- .fv-fp-playlist #fvp-playlist-play,
1960
- .flowplayer .fp-menu.fv-fp-playlist-menu .fp-selected::before {
1961
- display: none;
1962
- }
1963
- .fv-fp-playlist.mode-repeat-playlist .fvp-icon.fvp-replay-list,
1964
- .fv-fp-playlist.mode-shuffle-playlist .fvp-icon.fvp-shuffle,
1965
- .fv-fp-playlist.mode-repeat-track .fvp-icon.fvp-replay-track,
1966
- .fv-fp-playlist.mode-normal #fvp-playlist-play {
1967
- display: block;
1968
- }
1969
- .fv-fp-playlist.mode-normal .fvp-icon.fvp-playlist-play {
1970
- margin-top: 4px;
1971
- }
1972
- .flowplayer .fv-fp-no-picture.fp-color {
1973
- background-color: transparent !important;
1974
- }
1975
-
1976
- .fp-menu a.is-current {
1977
- font-weight: 800;
1978
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/flowplayer.css CHANGED
@@ -1,304 +1,1209 @@
 
1
  @font-face {
2
- font-family: 'fpicons';
3
- src:url('fonts/fpicons.eot?ver=yg5dv7');
4
- src:url('fonts/fpicons.eot?ver=yg5dv7#iefix') format('embedded-opentype'),
5
- url('fonts/fpicons.woff?ver=yg5dv7') format('woff'),
6
- url('fonts/fpicons.ttf?ver=yg5dv7') format('truetype'),
7
- url('fonts/fpicons.svg?ver=yg5dv7#fpicons') format('svg');
8
- font-weight: normal;
9
- font-style: normal;
10
- }
11
-
12
- [class^="fp-i-"], [class*=" fp-i-"] {
13
- font-family: 'fpicons';
14
- speak: none;
15
- font-style: normal;
16
- font-weight: normal;
17
- font-variant: normal;
18
- text-transform: none;
19
- line-height: 1;
20
-
21
- /* Better Font Rendering =========== */
22
- -webkit-font-smoothing: antialiased;
23
- -moz-osx-font-smoothing: grayscale;
24
- }
25
- .flowplayer{position:relative;width:100%;counter-increment:flowplayer;background-size:contain;background-repeat:no-repeat;background-position:center center;display:inline-block;}
26
- .flowplayer *{font-weight:inherit;font-family:inherit;font-style:inherit;text-decoration:inherit;font-size:100%;padding:0;border:0;margin:0;list-style-type:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
27
- .flowplayer a:focus{outline:0}
28
- .flowplayer video{width:100%;-ms-transform: translateY(0) translateX(0);-webkit-transform: translateY(0) translateX(0);transform: translateY(0) translateX(0);}
29
- .flowplayer.is-ipad video{-webkit-transform:translateX(-2048px);}
30
- .is-ready.flowplayer.is-ipad video{-webkit-transform:translateX(0)}
31
- .flowplayer .fp-player{position:absolute;top:0;left:0;width:100%;height:100%}
32
- .flowplayer .fp-engine,.flowplayer .fp-ui,.flowplayer .fp-message{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;z-index:1}
33
- .flowplayer .fp-ui{z-index:11}
34
- .flowplayer .fp-message{display:none;text-align:center;padding-top:5%;cursor:default;}
35
- .flowplayer .fp-message h2{font-size:120%;margin-bottom:1em}
36
- .flowplayer .fp-message p{color:#666;font-size:95%}
37
- .flowplayer .fp-title{line-height:30px;font-weight:normal;font-family:'myriad pro',Helvetica,Arial,sans-serif;font-size:11px;cursor:default;color:#fff;width:auto;max-width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;float:left;padding:0 20px;}
38
- .is-rtl.flowplayer .fp-title{float:right}
39
- .aside-time.flowplayer .fp-title{display:none !important}
40
- .flowplayer .fp-controls{position:absolute;bottom:0;width:100%; display: block; z-index: auto;}
41
- .no-background.flowplayer .fp-controls{background-color:transparent !important;background-image:-webkit-gradient(linear,left top,left bottom,from(transparent),to(transparent)) !important;background-image:-webkit-linear-gradient(top,transparent,transparent) !important;background-image:-moz-linear-gradient(top,transparent,transparent) !important;background-image:-o-linear-gradient(top,transparent,transparent) !important;background-image:linear-gradient(to bottom,transparent,transparent) !important}
42
- .is-fullscreen.flowplayer .fp-controls{bottom:3px}
43
- .is-mouseover.flowplayer .fp-controls{bottom:0}
44
- .flowplayer .fp-controls,.flowplayer .fp-title,.flowplayer .fp-fullscreen,.flowplayer .fp-unload,.flowplayer .fp-close,.flowplayer .fp-embed,.flowplayer.aside-time .fp-time{background-color:#000;background-color:rgba(0,0,0,0.65);}
45
- .no-background.flowplayer .fp-controls,.no-background.flowplayer .fp-title,.no-background.flowplayer .fp-fullscreen,.no-background.flowplayer .fp-unload,.no-background.flowplayer .fp-close,.no-background.flowplayer .fp-embed,.no-background.flowplayer.aside-time .fp-time{background-color:transparent !important;background-image:-webkit-gradient(linear,left top,left bottom,from(transparent),to(transparent)) !important;background-image:-webkit-linear-gradient(top,transparent,transparent) !important;background-image:-moz-linear-gradient(top,transparent,transparent) !important;background-image:-o-linear-gradient(top,transparent,transparent) !important;background-image:linear-gradient(to bottom,transparent,transparent) !important;text-shadow:0 0 1px #000}
46
- .no-background.flowplayer .fp-play,.no-background.flowplayer .fp-brand{background-color:transparent !important;background-image:-webkit-gradient(linear,left top,left bottom,from(transparent),to(transparent)) !important;background-image:-webkit-linear-gradient(top,transparent,transparent) !important;background-image:-moz-linear-gradient(top,transparent,transparent) !important;background-image:-o-linear-gradient(top,transparent,transparent) !important;background-image:linear-gradient(to bottom,transparent,transparent) !important;text-shadow:0 0 1px #000}
47
- .flowplayer.fixed-controls .fp-controls{background-color:#000}
48
- .flowplayer .fp-timeline{background-color:#a5a5a5}
49
- .flowplayer .fp-buffer{background-color:#eee}
50
- .flowplayer .fp-progress{background-color:#00a7c8}
51
- .flowplayer .fp-volumeslider{background-color:#a5a5a5}
52
- .flowplayer .fp-volumelevel{background-color:#00a7c8}
53
- .flowplayer .fp-waiting{display:none;margin:19% auto;text-align:center;}
54
- .flowplayer .fp-waiting *{-webkit-box-shadow:0 0 5px #333;-moz-box-shadow:0 0 5px #333;box-shadow:0 0 5px #333}
55
- .flowplayer .fp-waiting em{width:1em;height:1em;-webkit-border-radius:1em;-moz-border-radius:1em;border-radius:1em;background-color:rgba(255,255,255,0.8);display:inline-block;-webkit-animation:pulse .6s infinite;-moz-animation:pulse .6s infinite;animation:pulse .6s infinite;margin:.3em;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);}
56
- .flowplayer .fp-waiting em:nth-child(1){-webkit-animation-delay:.3s;-moz-animation-delay:.3s;animation-delay:.3s}
57
- .flowplayer .fp-waiting em:nth-child(2){-webkit-animation-delay:.45s;-moz-animation-delay:.45s;animation-delay:.45s}
58
- .flowplayer .fp-waiting em:nth-child(3){-webkit-animation-delay:.6s;-moz-animation-delay:.6s;animation-delay:.6s}
59
- .flowplayer .fp-waiting p{color:#ccc;font-weight:bold}
60
- .flowplayer .fp-speed{font-size:30px;background-color:#333;background-color:rgba(51,51,51,0.8);color:#eee;margin:0 auto;text-align:center;width:120px;padding:.1em 0 0;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .5s;-moz-transition:opacity .5s;transition:opacity .5s;}
61
- .flowplayer .fp-speed.fp-hilite{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)}
62
- .flowplayer .fp-help{position:absolute;top:0;left:-9999em;z-index:100;background-color:#333;background-color:rgba(51,51,51,0.9);width:100%;height:100%;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .2s;-moz-transition:opacity .2s;transition:opacity .2s;text-align:center;}
63
- .is-help.flowplayer .fp-help{left:0;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)}
64
- .flowplayer .fp-help .fp-help-section{margin:3%;direction:ltr}
65
- .flowplayer .fp-help .fp-help-basics{margin-top:6%}
66
- .flowplayer .fp-help p{color:#eee;margin:.5em 0;font-size:14px;line-height:1.5;display:inline-block;margin:1% 2%}
67
- .flowplayer .fp-help em{background:#eee;-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em;margin-right:.4em;padding:.3em .6em;color:#333}
68
- .flowplayer .fp-help small{font-size:90%;color:#aaa}
69
- .flowplayer .fp-help .fp-close{display:block}
70
- .flowplayer .fp-dropdown{position:absolute;top:5px;width:100px;background-color:#000 !important;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;box-sizing:border-box;-moz-box-sizing:border-box;margin:0 !important;list-style-type:none !important;}
71
- .flowplayer .fp-dropdown:before{content:'';display:block;position:absolute;top:-5px;left:calc(50% - 5px);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid rgba(51,51,51,0.9)}
72
- .flowplayer .fp-dropdown li{padding:10px !important;margin:0 !important;color:#fff !important;font-size:11px !important;line-height: 16px;text-align:center;list-style-type:none !important;}
73
- .flowplayer .fp-dropdown li.active{background-color:#00a7c8 !important;cursor:default !important}
74
- .flowplayer .fp-dropdown.fp-dropup{bottom:20px;top:auto;}
75
- .flowplayer .fp-dropdown.fp-dropup:before{top:auto;bottom:-5px;border-bottom:none;border-top:5px solid rgba(51,51,51,0.9)}
76
- .flowplayer .fp-tooltip{background-color:#000;color:#fff;display:none;position:absolute;z-index:22;padding:4px 6px 6px;line-height:1}
77
- .flowplayer .fp-tooltip:before{content:'';display:block;position:absolute;bottom:-5px;width:0;height:0;left:calc(50% - 5px);border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000}
78
- .flowplayer .fp-timeline-tooltip{bottom:35px}
79
- .flowplayer .fp-timeline:hover+.fp-timeline-tooltip{display:block}
80
- .is-touch.flowplayer .fp-timeline:hover+.fp-timeline-tooltip{display:none}
81
- .flowplayer .fp-subtitle{position:absolute;bottom:5px;left:-99999em;z-index:10;text-align:center;width:100%;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .3s;-moz-transition:opacity .3s;transition:opacity .3s;}
82
- .flowplayer.is-mouseover .fp-subtitle{bottom:34px;}
83
- .flowplayer.is-mouseout .fp-subtitle{-webkit-transition:bottom 0.15s ease 0.3s;-moz-transition:bottom 0.15s ease 0.3s;transition:bottom 0.15s ease 0.3s}
84
- .flowplayer .fp-subtitle .fp-subtitle-line{display:inline-block;background-color:#000;color:#eee;padding:0 .4em;font-size:16px;border-radius: 5px;}
85
- .flowplayer.is-fullscreen .fp-subtitle .fp-subtitle-line{font-size:125%;line-height:1.2}
86
- .flowplayer .fp-subtitle.is-wide br{display:none}
87
- .flowplayer .fp-subtitle .fp-subtitle-line:after{content:'';clear:both}
88
- .flowplayer .fp-subtitle .fp-subtitle-line:first-of-type{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}
89
- .flowplayer .fp-subtitle .fp-subtitle-line:last-of-type{padding-left:0;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}
90
- .flowplayer .fp-subtitle:not(.is-wide) .fp-subtitle-line{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}
91
- .flowplayer .fp-subtitle:not(.is-wide) .fp-subtitle-line{padding-left:0.4em}
92
- .flowplayer .fp-subtitle .fp-subtitle-line b{font-weight:bold}
93
- .flowplayer .fp-subtitle .fp-subtitle-line i{font-style:italic}
94
- .flowplayer .fp-subtitle .fp-subtitle-line u{text-decoration:underline}
95
- .flowplayer .fp-subtitle.fp-active{left:0;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)}
96
- .flowplayer .fp-fullscreen,.flowplayer .fp-unload,.flowplayer .fp-mute,.flowplayer .fp-embed,.flowplayer .fp-close,.flowplayer .fp-play,.flowplayer .fp-menu:before{font-family:'fpicons' !important;color:#fff !important;font-size:15px !important;text-align:center !important;line-height:30px !important;text-decoration:none !important;}
97
- .is-rtl.flowplayer .fp-fullscreen,.is-rtl.flowplayer .fp-unload,.is-rtl.flowplayer .fp-mute,.is-rtl.flowplayer .fp-embed,.is-rtl.flowplayer .fp-close,.is-rtl.flowplayer .fp-play,.is-rtl.flowplayer .fp-menu{-webkit-transform:scale(-1,1);-moz-transform:scale(-1,1);transform:scale(-1,1)}
98
- .is-rtl.flowplayer .fp-menu{-webkit-transform:none;-moz-transform:none;transform:none}
99
- .flowplayer .fp-fullscreen:before{content:"\e602"}
100
- .flowplayer .fp-unload:before,.flowplayer .fp-close:before{content:"\e600"}
101
- .flowplayer .fp-mute:before{content:"\e606"}
102
- .flowplayer .fp-embed:before{content:"\e603"}
103
- .flowplayer .fp-play:before{content:"\e608"}
104
- .flowplayer .fp-menu:before{content:"\e604"}
105
- .flowplayer .fp-flash-disabled{background:#333;width:390px;margin:0 auto;position:absolute;bottom:0;color:#fff}
106
- .is-splash.flowplayer .fp-ui,.is-paused.flowplayer .fp-ui{background:url(img/play_white.png) center no-repeat;background-size:11%;}
107
- .is-rtl.is-splash.flowplayer .fp-ui,.is-rtl.is-paused.flowplayer .fp-ui{background:url(img/play_white_rtl.png) center no-repeat;background-size:11%}
108
- .is-fullscreen.flowplayer .fp-ui{background-size:auto}
109
- @media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 2dppx){.is-splash.flowplayer .fp-ui,.is-paused.flowplayer .fp-ui{background:url(img/play_white-x2.png) center no-repeat;background-size:11%}
110
- .is-rtl.is-splash.flowplayer .fp-ui,.is-rtl.is-paused.flowplayer .fp-ui{background:url(img/play_white_rtl-x2.png) center no-repeat;background-size:11%}
111
- .flowplayer .fvp-share-bar .fvp-sharing a {background: url("img/flp-share-icons-x2.png") no-repeat;background-size:100%}
112
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  .fv-fp-splash-text { position: absolute;bottom:20%;z-index:20;text-align:center;width:100%;color:#fff;text-shadow: 0 0 2px #333;background-color: rgba(0,0,0,0.5); font-size: 18px; padding: 5px 36px; pointer-events: none }
114
- .flowplayer.is-error .fv-fp-splash-text {display: none;}
115
- .is-seeking.flowplayer .fp-ui,.is-loading.flowplayer .fp-ui{background-image:none}
116
- .flowplayer .fp-brand{color:#fff !important;position:absolute;right:115px;font-weight:normal !important;font-family:'myriad pro',Helvetica,Arial,sans-serif !important;text-decoration:none !important;line-height:15px !important;font-size:11px !important;height:15px;width:55px;bottom:9px;box-sizing:border-box;text-align:center;padding:1px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}
117
- .has-menu.flowplayer .fp-brand{right:152px}
118
- .is-rtl.flowplayer .fp-brand{right:auto;left:125px}
119
- .has-menu.is-rtl.flowplayer .fp-brand{left:152px}
120
- .no-brand.flowplayer .fp-brand{display:none}
121
- .no-volume.no-mute.flowplayer .fp-brand{right:10px;}
122
- .has-menu.no-volume.no-mute.flowplayer .fp-brand{right:47px}
123
- .no-volume.flowplayer .fp-brand{right:50px}
124
- .no-mute.flowplayer .fp-brand{right:95px}
125
- .flowplayer .fp-logo{position:absolute;top:auto;left:15px;bottom:40px;cursor:pointer;display:none;z-index:100;}
126
- .flowplayer .fp-logo img{width:100%}
127
- .is-embedded.flowplayer .fp-logo{display:block}
128
- .fixed-controls.flowplayer .fp-logo{bottom:15px}
129
- .flowplayer .fp-fullscreen,.flowplayer .fp-unload,.flowplayer .fp-close{position:absolute;top:10px;left:auto;right:10px;display:block;width:30px;height:23px;text-align:center;cursor:pointer;height:30px;width:30px;}
130
- .is-rtl.flowplayer .fp-fullscreen,.is-rtl.flowplayer .fp-unload,.is-rtl.flowplayer .fp-close{right:auto;left:10px}
131
- .flowplayer .fp-unload,.flowplayer .fp-close{display:none}
132
- .flowplayer .fp-play{display:none;height:30px !important;position:absolute;bottom:0;left:0;text-align:center;}
133
- .is-rtl.flowplayer .fp-play{left:auto;right:0}
134
- .is-playing.flowplayer .fp-play:before{content:"\e607"}
135
- .flowplayer .fp-menu{display:none;position:absolute;bottom:0;z-index:21;right:10px;}
136
- .is-rtl.flowplayer .fp-menu{right:auto;left:10px}
137
- .has-menu.flowplayer .fp-menu{display:block}
138
- .flowplayer .fp-menu .fp-dropdown{z-index:12;display:none;left:-42.5px;line-height:auto;width:149px;-webkit-transform:none;-moz-transform:none;transform:none;}
139
- .is-rtl.flowplayer .fp-menu .fp-dropdown{left:-10px}
140
- .flowplayer .fp-menu.dropdown-open .fp-dropdown{display:block}
141
- .flowplayer.is-ready.is-closeable .fp-unload{display:block}
142
- .flowplayer.is-ready.is-closeable .fp-embed{right:90px}
143
- .flowplayer.is-ready.is-closeable .fp-fullscreen{right:50px}
144
- .flowplayer.is-ready.is-closeable.is-rtl .fp-embed{right:auto;left:90px}
145
- .flowplayer.is-ready.is-closeable.is-rtl .fp-fullscreen{right:auto;left:50px}
146
- .flowplayer.is-fullscreen .fp-fullscreen{display:block !important;}
147
- .flowplayer.is-fullscreen .fp-fullscreen:before{content:"\e601"}
148
- .flowplayer .fp-timeline{height:3px;position:relative;overflow:hidden;top:10px;height:10px;margin:0 225px 0 55px;}
149
- .no-brand.flowplayer .fp-timeline{margin-right:160px;}
150
- .has-menu.no-brand.flowplayer .fp-timeline{margin-right:187px}
151
- .no-volume.no-brand.flowplayer .fp-timeline{margin-right:95px}
152
- .no-mute.no-brand.flowplayer .fp-timeline{margin-right:130px}
153
- .no-mute.no-volume.no-brand.flowplayer .fp-timeline{margin-right:55px}
154
- .has-menu.flowplayer .fp-timeline{margin-right:252px}
155
- .no-volume.flowplayer .fp-timeline{margin-right:160px}
156
- .no-mute.flowplayer .fp-timeline{margin-right:195px}
157
- .no-mute.no-volume.flowplayer .fp-timeline{margin-right:120px;}
158
- .has-menu.no-mute.no-volume.flowplayer .fp-timeline{margin-right:82px}
159
- .is-rtl.flowplayer .fp-timeline{margin:0 55px 0 225px;}
160
- .no-brand.is-rtl.flowplayer .fp-timeline{margin-left:160px;}
161
- .has-menu.no-brand.is-rtl.flowplayer .fp-timeline{margin-left:197px}
162
- .has-menu.is-rtl.flowplayer .fp-timeline{margin-left:262px}
163
- .no-volume.is-rtl.flowplayer .fp-timeline{margin-left:95px}
164
- .no-mute.is-rtl.flowplayer .fp-timeline{margin-left:130px}
165
- .no-mute.no-volume.is-rtl.flowplayer .fp-timeline{margin-left:55px}
166
- .is-long.flowplayer .fp-timeline{margin:0 255px 0 85px;}
167
- .no-volume.is-long.flowplayer .fp-timeline{margin-right:180px}
168
- .no-mute.is-long.flowplayer .fp-timeline{margin-right:140px}
169
- .has-menu.is-long.flowplayer .fp-timeline{margin-right:292px}
170
- .no-brand.is-long.flowplayer .fp-timeline{margin-right:190px;}
171
- .no-volume.no-brand.is-long.flowplayer .fp-timeline{margin-right:125px}
172
- .no-mute.no-brand.is-long.flowplayer .fp-timeline{margin-right:85px}
173
- .has-menu.no-brand.is-long.flowplayer .fp-timeline{margin-right:227px}
174
- .is-rtl.is-long.flowplayer .fp-timeline{margin:85px 0 190px 0;}
175
- .no-volume.is-rtl.is-long.flowplayer .fp-timeline{margin-left:125px}
176
- .no-mute.is-rtl.is-long.flowplayer .fp-timeline{margin-left:85px}
177
- .aside-time.flowplayer .fp-timeline,.no-time.flowplayer .fp-timeline{margin:0 190px 0 10px;}
178
- .has-menu.aside-time.flowplayer .fp-timeline,.has-menu.no-time.flowplayer .fp-timeline{margin-right:227px}
179
- .aside-time.no-brand.flowplayer .fp-timeline{margin-right:115px}
180
- .aside-time.no-volume.flowplayer .fp-timeline,.no-time.no-volume.flowplayer .fp-timeline{margin-right:115px}
181
- .aside-time.no-mute.flowplayer .fp-timeline,.no-time.no-mute.flowplayer .fp-timeline{margin-right:75px}
182
- .is-rtl.aside-time.flowplayer .fp-timeline,.is-rtl.no-time.flowplayer .fp-timeline{margin:0 10px 0 115px}
183
- .is-rtl.aside-time.no-volume.flowplayer .fp-timeline,.is-rtl.no-time.no-volume.flowplayer .fp-timeline{margin-left:50px}
184
- .is-rtl.aside-time.no-mute.flowplayer .fp-timeline,.is-rtl.no-time.no-mute.flowplayer .fp-timeline{margin-left:10px}
185
- .flowplayer .fp-buffer,.flowplayer .fp-progress{position:absolute;top:0;left:auto;height:100%;cursor:col-resize}
186
- .flowplayer .fp-buffer{-webkit-transition:width .25s linear;-moz-transition:width .25s linear;transition:width .25s linear}
187
- .flowplayer .fp-timeline.no-animation .fp-buffer{-webkit-transition:none;-moz-transition:none;transition:none}
188
- .flowplayer .fp-progress.animated{transition-timing-function:linear;transition-property:width,height}
189
- .flowplayer.is-touch .fp-timeline{overflow:visible}
190
- .flowplayer.is-touch .fp-progress{-webkit-transition:width .2s linear;-moz-transition:width .2s linear;transition:width .2s linear;box-sizing:border-box}
191
- .flowplayer.is-touch .fp-timeline.is-dragging .fp-progress{-webkit-transition:right .1s linear,border .1s linear,top .1s linear,left .1s linear;-moz-transition:right .1s linear,border .1s linear,top .1s linear,left .1s linear;transition:right .1s linear,border .1s linear,top .1s linear,left .1s linear}
192
- .flowplayer.is-touch.is-mouseover .fp-progress:after,.flowplayer.is-touch.is-mouseover .fp-progress:before{content:'';box-sizing:border-box;display:block;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;position:absolute;right:-5px}
193
- .flowplayer.is-touch.is-rtl.is-mouseover .fp-progress:after,.flowplayer.is-touch.is-rtl.is-mouseover .fp-progress:before{right:auto;left:-5px}
194
- .flowplayer.is-touch.is-rtl.is-mouseover .fp-progress:after{left:-10px;-webkit-box-shadow:-1px 0 4px rgba(0,0,0,0.5);-moz-box-shadow:-1px 0 4px rgba(0,0,0,0.5);box-shadow:-1px 0 4px rgba(0,0,0,0.5)}
195
- .flowplayer.is-touch.is-mouseover .fp-progress:before{width:10px;height:10px}
196
- .flowplayer.is-touch.is-mouseover .fp-progress:after{height:18px;width:18px;top:-4px;right:-10px;border:5px solid rgba(255,255,255,0.65);-webkit-box-shadow:1px 0 4px rgba(0,0,0,0.5);-moz-box-shadow:1px 0 4px rgba(0,0,0,0.5);box-shadow:1px 0 4px rgba(0,0,0,0.5)}
197
- .flowplayer.is-touch.is-mouseover .fp-timeline.is-dragging .fp-progress:after{border:10px solid #fff;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;-webkit-transition:inherit;-moz-transition:inherit;transition:inherit;top:-5px;right:-10px}
198
- .flowplayer.is-touch.is-rtl.is-mouseover .fp-timeline.is-dragging .fp-progress:after{left:-15px;right:auto;border:10px solid #fff}
199
- .flowplayer .fp-volume{position:absolute;height:6px;bottom:12px;right:10px;align-items:normal;display:block}
200
- .has-menu.flowplayer .fp-volume{right:37px}
201
- .is-rtl.flowplayer .fp-volume{right:auto;left:10px}
202
- .is-rtl.has-menu.flowplayer .fp-volume{left:37px}
203
- .flowplayer .fp-mute{position:relative;width:30px;height:30px;float:left;top:-12px;cursor:pointer;}
204
- .is-rtl.flowplayer .fp-mute{float:right}
205
- .no-mute.flowplayer .fp-mute{display:none}
206
- .flowplayer .fp-volumeslider{width:75px;height:6px;cursor:col-resize;float:left;}
207
- .is-rtl.flowplayer .fp-volumeslider{float:right}
208
- .no-volume.flowplayer .fp-volumeslider{display:none}
209
- .flowplayer .fp-volumelevel{height:100%}
210
- .flowplayer .fp-time{text-shadow:0 0 1px #000;font-size:11px;font-weight:normal;font-family:'myriad pro',Helvetica,Arial,sans-serif !important;color:#fff;width:100%;}
211
- .flowplayer .fp-time.is-inverted .fp-duration{display:none}
212
- .flowplayer .fp-time.is-inverted .fp-remaining{display:inline}
213
- .flowplayer .fp-time em{width:35px;height:10px;line-height:10px;text-align:center;position:absolute;bottom:9px}
214
- .no-time.flowplayer .fp-time{display:none}
215
- .is-long.flowplayer .fp-time em{width:65px}
216
- .flowplayer .fp-elapsed{left:10px;}
217
- .is-rtl.flowplayer .fp-elapsed{left:auto;right:10px}
218
- .flowplayer .fp-remaining,.flowplayer .fp-duration{right:180px;color:#eee;}
219
- .no-brand.flowplayer .fp-remaining,.no-brand.flowplayer .fp-duration{right:125px;}
220
- .has-menu.no-brand.flowplayer .fp-remaining,.has-menu.no-brand.flowplayer .fp-duration{right:152px}
221
- .no-volume.no-brand.flowplayer .fp-remaining,.no-volume.no-brand.flowplayer .fp-duration{right:50px}
222
- .no-mute.no-brand.flowplayer .fp-remaining,.no-mute.no-brand.flowplayer .fp-duration{right:95px}
223
- .no-mute.no-volume.no-brand.flowplayer .fp-remaining,.no-mute.no-volume.no-brand.flowplayer .fp-duration{right:10px}
224
- .has-menu.flowplayer .fp-remaining,.has-menu.flowplayer .fp-duration{right:217px}
225
- .no-volume.flowplayer .fp-remaining,.no-volume.flowplayer .fp-duration{right:115px}
226
- .no-mute.flowplayer .fp-remaining,.no-mute.flowplayer .fp-duration{right:160px}
227
- .no-mute.no-volume.flowplayer .fp-remaining,.no-mute.no-volume.flowplayer .fp-duration{right:75px;}
228
- .has-menu.no-mute.no-volume.flowplayer .fp-remaining,.has-menu.no-mute.no-volume.flowplayer .fp-duration{right:35px}
229
- .is-rtl.flowplayer .fp-remaining,.is-rtl.flowplayer .fp-duration{right:auto;left:180px;}
230
- .no-brand.is-rtl.flowplayer .fp-remaining,.no-brand.is-rtl.flowplayer .fp-duration{left:115px;}
231
- .has-menu.no-brand.is-rtl.flowplayer .fp-remaining,.has-menu.no-brand.is-rtl.flowplayer .fp-duration{left:142px}
232
- .has-menu.is-rtl.flowplayer .fp-remaining,.has-menu.is-rtl.flowplayer .fp-duration{left:227px}
233
- .no-volume.is-rtl.flowplayer .fp-remaining,.no-volume.is-rtl.flowplayer .fp-duration{left:50px}
234
- .no-mute.is-rtl.flowplayer .fp-remaining,.no-mute.is-rtl.flowplayer .fp-duration{left:95px}
235
- .no-mute.no-volume.is-rtl.flowplayer .fp-remaining,.no-mute.no-volume.is-rtl.flowplayer .fp-duration{left:10px}
236
- .flowplayer .fp-remaining{display:none}
237
- .flowplayer.aside-time .fp-time{position:absolute;top:10px;left:10px;bottom:auto !important;width:auto;background-color:#000;background-color:rgba(0,0,0,0.65);height:30px;padding:0 5px;-webkit-border-radius:control_border_radius;-moz-border-radius:control_border_radius;border-radius:control_border_radius;line-height:30px;text-align:center;font-size:15px;}
238
- .no-background.flowplayer.aside-time .fp-time{background-color:transparent !important}
239
- .flowplayer.aside-time .fp-time strong,.flowplayer.aside-time .fp-time em{position:static}
240
- .flowplayer.aside-time .fp-time .fp-elapsed::after{content:' / '}
241
- .flowplayer.is-splash,.flowplayer.is-poster{cursor:pointer;}
242
- .flowplayer.is-splash .fp-controls,.flowplayer.is-poster .fp-controls,.flowplayer.is-splash .fp-fullscreen,.flowplayer.is-poster .fp-fullscreen,.flowplayer.is-splash .fp-unload,.flowplayer.is-poster .fp-unload,.flowplayer.is-splash .fp-time,.flowplayer.is-poster .fp-time,.flowplayer.is-splash .fp-embed,.flowplayer.is-poster .fp-embed,.flowplayer.is-splash .fp-title,.flowplayer.is-poster .fp-title,.flowplayer.is-splash .fp-brand,.flowplayer.is-poster .fp-brand{display:none !important}
243
- .flowplayer .fp-controls > * { margin:inherit }
244
- .flowplayer.is-poster .fp-engine{top:-9999em}
245
- .flowplayer.is-loading .fp-waiting{display:block}
246
- .flowplayer.is-loading .fp-controls,.flowplayer.is-loading .fp-time{display:none}
247
- .flowplayer.is-loading .fp-ui{background-position:-9999em}
248
- .flowplayer.is-loading video.fp-engine{position:absolute;top:-9999em}
249
- .flowplayer.is-seeking .fp-waiting{display:block}
250
- .flowplayer.is-playing,.flowplayer.is-ready.is-paused{background-image:none !important;background-color:#333;}
251
- .flowplayer.is-playing.hls-fix.is-finished .fp-engine{position:absolute;top:-9999em}
252
- .flowplayer.is-fullscreen{top:0 !important;left:0 !important;border:0 !important;margin:0 !important;width:100% !important;height:100% !important;max-height:100% !important; max-width:100% !important;z-index:99999 !important;-webkit-box-shadow:0 !important;-moz-box-shadow:0 !important;box-shadow:0 !important;background-image:none !important;background-color:#333;}
253
- .is-rtl.flowplayer.is-fullscreen{left:auto !important;right:0 !important}
254
- .flowplayer.is-fullscreen .fp-player{background-color:#333}
255
- .flowplayer.is-error{border:1px solid #909090;background:#fdfdfd !important;}
256
- .flowplayer.is-error h2{font-weight:bold;font-size:large;margin-top:10%;color: #000;}
257
- .flowplayer.is-error .fp-message{display:block}
258
- .flowplayer.is-error object,.flowplayer.is-error video,.flowplayer.is-error .fp-controls,.flowplayer.is-error .fp-time,.flowplayer.is-error .fp-subtitle{display:none}
259
- .flowplayer.is-ready.is-muted .fp-mute{opacity:.7;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70)}
260
- .flowplayer.is-ready.is-muted .fp-mute:before{content:"\e605"}
261
- .flowplayer.is-mouseout .fp-controls{height:0;-webkit-transition:height .15s .3s;-moz-transition:height .15s .3s;transition:height .15s .3s}
262
- .is-fullscreen.flowplayer.is-mouseout .fp-controls{height:3px;bottom:0}
263
- .flowplayer.is-mouseout .fp-title{overflow:hidden}
264
- .flowplayer.is-mouseout .fp-timeline{margin:0 !important}
265
- .flowplayer.is-mouseout .fp-timeline{-webkit-transition:height .15s .3s,top .15s .3s,margin .15s .3s;-moz-transition:height .15s .3s,top .15s .3s,margin .15s .3s;transition:height .15s .3s,top .15s .3s,margin .15s .3s;height:4px;top:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}
266
- .flowplayer.is-mouseout .fp-volume{top:12px}
267
- .flowplayer.is-mouseout .fp-fullscreen,.flowplayer.is-mouseout .fp-unload,.flowplayer.is-mouseout .fp-elapsed,.flowplayer.is-mouseout .fp-remaining,.flowplayer.is-mouseout .fp-duration,.flowplayer.is-mouseout .fp-embed,.flowplayer.is-mouseout .fp-title,.flowplayer.is-mouseout .fp-volume,.flowplayer.is-mouseout .fp-play,.flowplayer.is-mouseout .fp-menu,.flowplayer.is-mouseout .fp-brand,.flowplayer.is-mouseout .fp-timeline-tooltip,.flowplayer.is-mouseout.aside-time .fp-time{opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .15s .3s;-moz-transition:opacity .15s .3s;transition:opacity .15s .3s}
268
- .flowplayer.is-mouseover .fp-controls,.flowplayer.fixed-controls .fp-controls{height:30px}
269
- .flowplayer.is-mouseover .fp-title,.flowplayer.fixed-controls .fp-title{height:30px}
270
- .flowplayer.is-mouseover .fp-fullscreen,.flowplayer.fixed-controls .fp-fullscreen,.flowplayer.is-mouseover .fp-unload,.flowplayer.fixed-controls .fp-unload,.flowplayer.is-mouseover .fp-elapsed,.flowplayer.fixed-controls .fp-elapsed,.flowplayer.is-mouseover .fp-remaining,.flowplayer.fixed-controls .fp-remaining,.flowplayer.is-mouseover .fp-duration,.flowplayer.fixed-controls .fp-duration,.flowplayer.is-mouseover .fp-embed,.flowplayer.fixed-controls .fp-embed,.flowplayer.is-mouseover .fp-logo,.flowplayer.fixed-controls .fp-logo,.flowplayer.is-mouseover .fp-volume,.flowplayer.fixed-controls .fp-volume,.flowplayer.is-mouseover .fp-play,.flowplayer.fixed-controls .fp-play,.flowplayer.is-mouseover .fp-menu,.flowplayer.fixed-controls .fp-menu{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)}
271
- .flowplayer.fixed-controls .fp-volume{display:block}
272
- .flowplayer.fixed-controls .fp-controls{bottom:-30px;}
273
- .is-fullscreen.flowplayer.fixed-controls .fp-controls{bottom:0}
274
- .flowplayer.fixed-controls .fp-time em{bottom:-20px;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);}
275
- .is-fullscreen.flowplayer.fixed-controls .fp-time em{bottom:10px}
276
- .flowplayer.is-disabled .fp-progress{background-color:#999}
277
- .flowplayer.is-flash-disabled{background-color:#333;}
278
- .flowplayer.is-flash-disabled object.fp-engine{z-index:100}
279
- .flowplayer.is-flash-disabled .fp-flash-disabled{display:block;z-index:101}
280
- .flowplayer .fp-embed{position:absolute;top:10px;left:auto;right:50px;display:block;width:30px;height:30px;text-align:center;}
281
- .is-rtl.flowplayer .fp-embed{right:auto;left:50px}
282
- .flowplayer .fp-embed-code{position:absolute;display:none;top:10px;right:67px;background-color:#333;padding:3px 5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 3px #ccc;-moz-box-shadow:0 0 3px #ccc;box-shadow:0 0 3px #ccc;font-size:12px;}
283
- .is-closeable.flowplayer .fp-embed-code{right:99px}
284
- .flowplayer .fp-embed-code:before{content:'';width:0;height:0;position:absolute;top:2px;right:-10px;border:5px solid transparent;border-left-color:#333}
285
- .is-rtl.flowplayer .fp-embed-code{right:auto;left:67px;}
286
- .is-rtl.flowplayer .fp-embed-code:before{right:auto;left:-10px;border-left-color:transparent;border-right-color:#333}
287
- .flowplayer .fp-embed-code textarea{width:400px;height:16px;font-family:monaco,"courier new",verdana;color:#777;white-space:nowrap;resize:none;overflow:hidden;border:0;outline:0;background-color:transparent;color:#ccc}
288
- .flowplayer .fp-embed-code label{display:block;color:#999}
289
- .flowplayer.is-embedding .fp-embed,.flowplayer.is-embedding .fp-embed-code{display:block;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)}
290
- .flowplayer.no-time .fp-embed{left:10px !important;}
291
- .is-rtl.flowplayer.no-time .fp-embed{left:auto;right:10px !important}
292
- .flowplayer.is-live .fp-timeline,.flowplayer.is-live .fp-duration,.flowplayer.is-live .fp-remaining{display:none}
293
- .flowplayer .fp-context-menu{position:absolute;display:none;z-index:1001;background-color:#fff;padding:10px;border:1px solid #aaa;-webkit-box-shadow:0 0 4px #888;-moz-box-shadow:0 0 4px #888;box-shadow:0 0 4px #888;width:170px;}
294
- .flowplayer .fp-context-menu li{text-align:center !important;padding:10px;color:#444 !important;font-size:11px !important;margin:0 -10px 0 -10px;}
295
- .flowplayer .fp-context-menu li a{color:#00a7c8 !important;font-size:12.100000000000001px !important}
296
- .flowplayer .fp-context-menu li:hover:not(.copyright){background-color:#eee}
297
- .flowplayer .fp-context-menu li.copyright{margin:0;padding-left:110px;background-image:url("img/flowplayer.png");background-repeat:no-repeat;background-size:100px 20px;background-position:5px 5px;border-bottom:1px solid #bbb;}
298
- /* Mailchimp integration */
299
  .flowplayer .fv_player_popup p{margin:0 12px 6px;line-height:1.35}
300
- .flowplayer .wpfp_custom_popup{width:100%;top:0;bottom:-4px;margin-bottom:34px;-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s}
301
- .flowplayer.is-finished.is-mouseover .wpfp_custom_popup{bottom:30px;margin-bottom:0}
302
  .flowplayer .fv_player_popup {background-color:#222;position:relative;top:0;width:100%;height:100%;padding:2em 0 1%}
303
  .flowplayer .fv_player_popup h1,.flowplayer .fv_player_popup h2,.flowplayer .fv_player_popup h3,.flowplayer .fv_player_popup h4,.flowplayer .fv_player_popup h5,.flowplayer .fv_player_popup h6{margin:0 0 6px !important}
304
  .mailchimp-form input{width:31.33333333%;max-width:31.33333333%;margin:0 1%}
@@ -318,19 +1223,11 @@
318
  .flowplayer.is-fullscreen .fv_player_popup{padding-top:10%}
319
  .flowplayer.is-fullscreen .fv_player_popup p{margin:0 auto 6px}
320
  .flowplayer.is-fullscreen .mailchimp-form{padding:30px 25%}
321
- @media (max-width: 56.25em){
322
- .flowplayer .fp-subtitle br{display:block}
323
- .flowplayer .fp-subtitle .fp-subtitle-line:first-of-type,.flowplayer .fp-subtitle .fp-subtitle-line:last-of-type{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}
324
- .flowplayer .fp-subtitle .fp-subtitle-line:last-of-type{padding-left:0.4em}
325
- }
326
  @media (max-width: 40em){
327
  .flowplayer .fp-help p{font-size:9px;}
328
- .flowplayer .fp-subtitle{line-height:14px !important}
329
- .flowplayer .fp-subtitle .fp-subtitle-line{font-size:14px !important;line-height:20px !important}
330
  }
331
  @media (max-width: 30em) {
332
- .flowplayer .fp-subtitle{bottom:4px;line-height:12px !important}
333
- .flowplayer .fp-subtitle .fp-subtitle-line{font-size:11px !important;line-height:18px !important;-webkit-text-shadow:0 0 2px #666;-moz-text-shadow:0 0 2px #666;text-shadow:0 0 2px #666}
334
  .flowplayer .fv_player_popup {width:99%;font-size:14px;top:0;}
335
  .flowplayer.is-fv-narrow .fv_player_popup{font-size:0.8em}
336
  }
@@ -338,79 +1235,43 @@
338
  .flowplayer.is-fv-narrow .mailchimp-form{padding:10px 1.5%}
339
  .flowplayer.is-fv-narrow .fv_player_popup{font-size:0.7em}
340
  }
341
- /* Fullscreen captions on large screens */
342
- @media (min-width: 64.063em) {
343
- .flowplayer.is-fullscreen .fp-captions p{font-size:135%}
344
- }
345
- @media (min-width: 90.063em) {
346
- .flowplayer.is-fullscreen .fp-captions p{font-size:175%}
347
- }
348
- @media (min-width: 120.063em) {
349
- .flowplayer.is-fullscreen .fp-captions p{font-size:225%}
350
- }
351
- @media (min-width: 128em) {
352
- .flowplayer.is-fullscreen .fp-captions p{font-size:300%}
353
- }
354
- @media (min-width: 160em) {
355
- .flowplayer.is-fullscreen .fp-captions p{font-size:350%}
356
- }
357
 
358
- @media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 2dppx){.flowplayer .fp-context-menu li.copyright{background-image:url("img/flowplayer-2x.png")}
359
- }@-moz-keyframes pulse{0%{opacity:0}
360
- 100%{opacity:1}
361
- }@-webkit-keyframes pulse{0%{opacity:0}
362
- 100%{opacity:1}
363
- }@-o-keyframes pulse{0%{opacity:0}
364
- 100%{opacity:1}
365
- }@-ms-keyframes pulse{0%{opacity:0}
366
- 100%{opacity:1}
367
- }@keyframes pulse{0%{opacity:0}
368
- 100%{opacity:1}
369
- }.flowplayer.is-touch.is-mouseover .fp-progress:before{background-color:#00a7c8}
370
- .flowplayer .fp-menu .fp-dropdown{right:-10px;left:auto;bottom:30px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
371
- .flowplayer .fp-menu .fp-dropdown:before{display:none}
372
- .is-rtl.flowplayer .fp-menu .fp-dropdown{right:auto;left:-10px}
373
- .flowplayer .fp-play{width:30px}
374
- .flowplayer.aside-time .fp-time{top:0;left:0}
375
- .no-brand.flowplayer .fp-remaining,.no-brand.flowplayer .fp-duration{right:115px}
376
- .flowplayer .fp-fullscreen,.flowplayer .fp-unload,.flowplayer .fp-close,.flowplayer .fp-embed{right:0;top:0;}
377
- .is-rtl.flowplayer .fp-fullscreen,.is-rtl.flowplayer .fp-unload,.is-rtl.flowplayer .fp-close,.is-rtl.flowplayer .fp-embed{right:auto;left:0}
378
- .flowplayer .fp-embed{right:32px;}
379
- .is-rtl.flowplayer .fp-embed{right:auto;left:32px}
380
- .flowplayer.is-closeable.is-ready .fp-fullscreen{right:32px}
381
- .flowplayer.is-closeable.is-ready .fp-embed{right:64px}
382
- .is-rtl.flowplayer.is-closeable.is-ready .fp-fullscreen{right:auto;left:32px}
383
- .is-rtl.flowplayer.is-closeable.is-ready .fp-embed{right:auto;left:64px}
384
- .flowplayer.fvp-play-button .fp-play{display:block}
385
- .flowplayer.fvp-play-button .fp-elapsed{left:27px;}
386
- .is-rtl.flowplayer.fvp-play-button .fp-elapsed{right:27px}
387
- .flowplayer.fvp-play-button .fp-timeline{margin-left:72px;}
388
- .is-rtl.flowplayer.fvp-play-button .fp-timeline{margin-right:72px}
389
- .is-long.flowplayer.fvp-play-button .fp-timeline{margin-left:102px;}
390
- .is-rtl.is-long.flowplayer.fvp-play-button .fp-timeline{margin-right:102px}
391
- .no-time.flowplayer.fvp-play-button .fp-timeline,.aside-time.flowplayer.fvp-play-button .fp-timeline{margin-left:27px;}
392
- .is-rtl.no-time.flowplayer.fvp-play-button .fp-timeline,.is-rtl.aside-time.flowplayer.fvp-play-button .fp-timeline{margin-right:27px}
393
-
394
- .flowplayer .fp-waiting em { opacity: 1 !important; }
395
-
396
- .is-error.flowplayer .fp-ui{background:url(img/no_play_white.png) center no-repeat;background-size:12%;}
397
- .is-error.flowplayer .fp-ui {background:url(img/no_play_white-x2.png) center no-repeat;background-size:12%}
398
  .flowplayer.is-fullscreen .fp-player{background-color:#000}
399
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
400
  .flowplayer .fp-embed-code{display:none;}
401
- .flowplayer .fvp-share-bar{opacity:0;display:none;position:absolute;top:0px;left:0px;background-color:rgba(0, 0, 0, 0.3);font-size:12px;width:100%}
402
  .is-rtl.flowplayer .fvp-share-bar{left:auto;}
403
  .flowplayer .fvp-share-bar textarea{width:400px;min-height:130px;font-family: "Lucida Console", Monaco, monospace; color:#777; white-space:nowrap; resize:none;overflow:hidden;border:0;outline:0;background-color:transparent;color:#ccc; border: 1px solid #888;}
404
  .flowplayer.is-embedding .fp-embed,.flowplayer.is-embedding .fvp-share-bar{display:block;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)}
405
 
406
- .flowplayer .fp-logo { max-width:33%; -webkit-tap-highlight-color: rgba(0,0,0,0); }
407
- .flowplayer .fp-logo img {box-shadow:none}
408
- .flowplayer.is-fullscreen .fp-logo{z-index:2147483647;}
409
-
410
- .flowplayer video.fp-engine {
411
- visibility:visible;
412
- }
413
-
414
  /* style reset first */
415
  .flowplayer .fvp-sharing ul {
416
  list-style: none !important;
@@ -418,17 +1279,11 @@
418
  .fvp-share-bar ul,
419
  .fvp-share-bar .fvp-sharing,
420
  #content .fvp-share-bar .fvp-sharing {
421
- /*clear: both;
422
- width: 102px;*/
423
- min-height: 24px;
424
- margin: 3px auto !important;
425
  padding: 0 !important;
426
  float: left;
427
  font-family: "Lucida Console", Monaco, monospace;
428
  }
429
- .fvp-share-bar {
430
- line-height: 18px !important;
431
- }
432
  .fvp-share-bar label {
433
  text-align: center !important;
434
  }
@@ -490,17 +1345,18 @@
490
  .fvp-share-bar .sharing-link{
491
  float: left;
492
  color: #fff;
493
- padding: 6px 10px;
 
494
  font-weight:bold;
495
  }
496
- .flowplayer .fvp-share-bar label{float:left;color:#fff;padding: 6px 10px;}
497
  .flowplayer .fp-embed{display:none}
498
  /*.flowplayer.is-mouseover.is-ready .fp-embed-code{display:block}*/
499
- .flowplayer.is-mouseout .fvp-share-bar{opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .15s .3s;-moz-transition:opacity .15s .3s;transition:opacity .15s .3s}
500
  .flowplayer.is-mouseout .fvp-share-bar.visible{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)}
501
- .flowplayer.is-mouseover.is-ready .fvp-share-bar{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)}
502
  .flowplayer .fp-fullscreen {z-index:1}
503
- /*.flowplayer .fvp-share-bar {display:none;}*/
504
  .flowplayer .embed-code {padding: 0 10px 10px; display: none; clear: both; background-color: rgba(0, 0, 0, 0); }
505
  .flowplayer .embed-code label {clear: both; padding-left: 0px; padding-top: 0; line-height: 16px;}
506
  #content .flowplayer .fvp-share-bar textarea, .flowplayer .fvp-share-bar textarea { padding: 3px; line-height: 1.4; white-space: pre-wrap; color: black !important; height: auto; min-height: 130px; width: 99%; font-size: 10px; background-color:rgba(255, 255, 255, 1); box-shadow: none; border-radius: 0; cursor: text; }
@@ -508,9 +1364,10 @@
508
  /*#content .flowplayer.is-ready .fp-embed-code.visible textarea, .flowplayer.is-ready .fp-embed-code.visible textarea { height: 140px; }*/
509
  .fvp-share-bar a.embed-code-toggle { font-weight: bold; color: white; }
510
 
511
- .is-splash.flowplayer .fp-prev, .is-splash.flowplayer .fp-next {
512
- display: none;
513
- }
 
514
  .flowplayer .fp-prev, .flowplayer .fp-next {
515
  position: absolute;
516
  top: 44%;
@@ -539,6 +1396,40 @@
539
  transition: opacity .15s .3s;
540
  }
541
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
542
  .fp-playlist-external a,.entry-content .fp-playlist-external a {position:relative;text-decoration:none;border-bottom:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
543
  .fp-playlist-external a:focus,.entry-content .fp-playlist-external a:focus {outline:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
544
  .fp-playlist-external a:hover,.entry-content .fp-playlist-external a:hover {-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;text-decoration:none;border-bottom:0}
@@ -572,6 +1463,10 @@
572
  .fp-playlist-horizontal.is-wide a:nth-child(3n+1) {clear:none}
573
  .fp-playlist-horizontal.is-wide a:nth-child(5n+1) {clear:both}
574
 
 
 
 
 
575
  .fp-playlist-vertical {text-align:left;overflow-x:hidden;max-width:100%;background-color:#fff}
576
  .fp-playlist-vertical-player {float:left!important;max-width:calc( 100% - 156px)!important}
577
  .fp-playlist-vertical-wrapper {margin-bottom:24px;overflow:hidden;display:block}
@@ -587,26 +1482,7 @@
587
  .fp-playlist-external.fp-playlist-vertical a:hover .now-playing {opacity:0}
588
  .fp-playlist-only-captions.fp-playlist-vertical a h4 {position:relative;top:auto;background-color:transparent;opacity:1;text-shadow:none}
589
  .fp-playlist-only-captions.fp-playlist-vertical a,.fp-playlist-only-captions.fp-playlist-vertical a:hover h4 {color:#000}
590
- .fp-playlist-external.fp-playlist-vertical.fp-playlist-only-captions a h4, .entry-content .fp-playlist-external.fp-playlist-vertical.fp-playlist-only-captions a h4 { text-align:left;padding:2px 8px }
591
- .fp-playlist-external.fp-playlist-vertical.fp-playlist-only-captions a h4 span { position:relative;top:auto;left:auto;right:auto;-webkit-transform:none;transform:none;padding:0 }
592
- .fp-playlist-only-captions.fp-playlist-external .dur { opacity:1;color:#999;position:relative;right:auto;top:auto;text-shadow:none;margin-left:6px; }
593
- .fp-playlist-only-captions.fp-playlist-external a:hover .dur { color:#999; }
594
 
595
- .fv-playlist-slider-wrapper { overflow-x: scroll; margin-bottom: 24px;-webkit-overflow-scrolling:touch;display:block}
596
- .fv-playlist-slider-wrapper .fp-playlist-horizontal { margin-bottom: 8px; width: 2500px }
597
- .fv-playlist-slider-wrapper .fp-playlist-horizontal a { width: 200px }
598
-
599
- @-moz-keyframes blending{
600
- to { opacity: 1; }
601
- }@-webkit-keyframes blending{
602
- to { opacity: 1 }
603
- }@-o-keyframes blending{
604
- to { opacity: 1 }
605
- }@-ms-keyframes blending{
606
- to { opacity: 1 }
607
- }@keyframes blending{
608
- to { opacity: 1 }
609
- }
610
 
611
  /* Playlist 2014 - classic */
612
  .fv-playlist-design-2014.fp-playlist-external a h4 {opacity:1;position:relative;margin-bottom:7px;padding:0 10px 4px;color:#000;background-color:transparent}
@@ -623,55 +1499,51 @@
623
  .fp-playlist-text-wrapper .fp-playlist-vertical {width:35%}
624
  .fp-playlist-text-wrapper .fp-playlist-only-captions a .now-playing {display:none}
625
  .fp-playlist-only-captions.fp-playlist-vertical a {display:block;}
626
- .fp-playlist-text.fp-playlist-vertical a h4 {text-align:left}
627
  .fp-playlist-text-wrapper.is-fv-narrow .flowplayer,.fp-playlist-text-wrapper.is-fv-narrow .fp-playlist-text,.fp-playlist-text-wrapper.is-fv-narrow .fp-playlist-only-captions,.fp-playlist-vertical-wrapper.is-fv-narrow .flowplayer,.fp-playlist-vertical-wrapper.is-fv-narrow .fp-playlist-vertical {width:100%;float:none;margin-bottom:0}
628
  .fp-playlist-vertical-wrapper.is-fv-narrow .fp-playlist-vertical a {width:49%;float:left;margin:0.75% 0.5%}
629
- .fp-playlist-text-wrapper.is-fv-narrow .fp-playlist-only-captions a {width:100%;float:none;display:block}
630
-
631
- .add_media span.wp-media-buttons-icon {
632
- background: url("img/media-button.png") no-repeat scroll left top;
633
- display: inline-block;
634
- height: 16px;
635
- margin: 0 2px;
636
- vertical-align: text-top;
637
- width: 16px;
638
- }
639
- #cboxWrapper a {
640
- text-decoration: none;
641
- }
642
- a #add-format, a #add-rtmp {
643
- background: #333;
644
- border-radius: 2px;
645
- color: #fff;
646
- display: inline-block;
647
- font-size: 16px;
648
- font-weight: normal;
649
- height: 18px;
650
- line-height: 1rem;
651
- margin: 0 5px 0 0;
652
- text-align: center;
653
- width: 18px;
654
- padding: 0;
655
- text-decoration: none;
656
  }
657
- #fv-wordpress-flowplayer-popup table {
658
- width: 100%;
 
 
 
 
 
659
  }
660
- #fv-wordpress-flowplayer-popup table th {
661
- text-align: right;
662
- width: 18%;
663
- padding: 4px 2px;
664
  }
665
- #fv-wordpress-flowplayer-popup table td {
666
- padding: 4px 2px;
 
667
  }
668
 
 
 
 
669
 
670
- .flowplayer.video1, .flowplayer.video2, .flowplayer.video3, .flowplayer.video4, .flowplayer.video5, .flowplayer.video6, .flowplayer.video7, .flowplayer.video8, .flowplayer.video9, .flowplayer.video10, .flowplayer.video11, .flowplayer.video12, .flowplayer.video13, .flowplayer.video14, .flowplayer.video15, .flowplayer.video16 { background-image: none !important; }
671
 
672
- .flowplayer .fp-volume { text-align: left; }
673
  #content .flowplayer a, .flowplayer a, .flowplayer a:hover { text-decoration: none; border-bottom: none; -wekbit-box-shadow: none !important; -moz-box-shadow: none !important; box-shadow: none !important; border-bottom: 0 !important; text-decoration: none !important; }
674
 
 
 
 
675
  .flowplayer .wpfp_custom_ad { display: none; overflow: hidden; }
676
  .flowplayer .wpfp_custom_ad img { height: auto; }
677
  .flowplayer.is-playing .wpfp_custom_ad, .flowplayer.is-ready .wpfp_custom_ad { display: block; }
@@ -682,20 +1554,25 @@ a #add-format, a #add-rtmp {
682
 
683
  .wpfp_custom_ad_content h1, .wpfp_custom_ad_content h2, .wpfp_custom_ad_content h3, .wpfp_custom_ad_content h4, .wpfp_custom_ad_content h5, .wpfp_custom_ad_content p { padding: 0 5px 2px 5px; margin: 0 5px 2px 5px; }
684
 
 
 
685
  .flowplayer.alignleft { margin-right: 10px; margin-bottom: 10px; }
686
  .flowplayer.alignright { margin-left: 10px; margin-bottom: 10px; }
687
 
688
- .flowplayer.no-controlbar .fp-controls a,.flowplayer.no-controlbar .fp-controls .fp-volume,.flowplayer.no-controlbar .fp-time {display:none;}
689
- .flowplayer.is-mouseover.no-controlbar .fp-controls, .flowplayer.fixed-controls.no-controlbar .fp-controls {height:auto;}
690
- .flowplayer.is-mouseover.no-controlbar .fp-timeline {height:4px;top:0;}
691
- .has-menu.no-brand.flowplayer.no-controlbar .fp-timeline,.flowplayer.fvp-play-button.no-controlbar .fp-timeline {margin:0;}
692
- .flowplayer.is-mouseover.no-controlbar .fp-controls, .flowplayer.is-mouseover.no-controlbar .fp-mute, .flowplayer.is-mouseover.no-controlbar .fp-title {height:0;}
693
- .flowplayer.no-controlbar .fp-buffer, .flowplayer.no-controlbar .fp-progress, .flowplayer.no-controlbar .fp-timeline { cursor: auto; }
694
- .flowplayer.no-controlbar .fp-timeline:hover+.fp-timeline-tooltip { display: none; }
 
 
695
 
696
- p.fp-caption { text-align: center; }
697
 
698
- /* initially hide speed buttons while they cannot be used */
 
 
699
  .is-splash.flowplayer .fv-player-buttons, .is-loading.flowplayer .fv-player-buttons {
700
  display: none;
701
  }
@@ -801,36 +1678,31 @@ p.fp-caption { text-align: center; }
801
  }
802
 
803
 
 
804
  .fvfp_admin_error { position: absolute; top: 10%; z-index: 2; text-align: center; width: 100%; /*color: #fff;*/ }
805
-
806
- @-moz-keyframes fade-in {
807
- from { transform: opacity 0.5s ease; opacity: 0; filter: alpha(opacity=0); }
808
- to { opacity: 1; filter: alpha(opacity=100); }
809
- }
810
- @-webkit-keyframes fade-in {
811
- from { transform: opacity 0.5s ease; opacity: 0; filter: alpha(opacity=0); }
812
- to { opacity: 1; filter: alpha(opacity=100); }
813
- }
814
- @keyframes fade-in {
815
- from { transform: opacity 0.5s ease; opacity: 0; filter: alpha(opacity=0); }
816
- to { opacity: 1; filter: alpha(opacity=100); }
817
- }
818
  .fvfp_admin_error { -webkit-animation-name: fade-in; -moz-animation-name: fade-in; -o-animation-name: fade-in; animation-name: fade-in; -webkit-animation-duration: 1s; -moz-animation-duration: 1s; -o-animation-duration: 1s; animation-duration: 1s; -webkit-animation-delay: 5s; -moz-animation-delay: 5s;-o-animation-delay: 5s; animation-delay: 5s; -webkit-animation-fill-mode:both; -moz-animation-fill-mode:both; -o-animation-fill-mode:both; animation-fill-mode:both; }
819
 
820
  article .entry-content .fvfp_admin_error p { line-height: 18px }
821
  .fvfp_admin_error a { /*color: #fff;*/ text-decoration: underline }
822
  #content .fvfp_admin_error a { /*color: #fff;*/ text-decoration: underline }
823
- .fvfp_admin_error_content { /*background: #dd0000;*/ padding: 1% 5%; width: 65%; margin: 0 auto; -webkit-box-shadow: 3px 3px 30px 0px rgba(50, 50, 50, 0.96); -moz-box-shadow: 3px 3px 30px 0px rgba(50, 50, 50, 0.96); box-shadow: 3px 3px 30px 0px rgba(50, 50, 50, 0.96);}
824
  .flowplayer:hover .fvfp_admin_error { display: block }
825
 
826
- .fvfp_duration { position: absolute; bottom: 0px; right: 1%; z-index: 2; text-align: center; color: #fff; display: none }
 
 
827
  .is-ready .fvfp_duration, .is-loading .fvfp_duration { display: none }
828
- .fp-playlist-external .dur { opacity: 0; font-style: normal; position: absolute; top: 6px; right: 6px; color: #fff; text-shadow: 0 0 3px #333; opacity: 0; -webkit-transition:all 0.3s ease-in-out 0.1s; -moz-transition:all 0.3s ease-in-out 0.1s; transition:all 0.3s ease-in-out 0.1s }
829
-
 
 
830
  .no-animation.flowplayer * { -webkit-transition:none !important;-moz-transition:none !important;transition:none !important }
831
 
 
 
 
832
  /*
833
- * FV Flowplayer Tabs
834
  */
835
  .fv_flowplayer_tabs { margin: 0 auto; }
836
  .fv_flowplayer_tabs ul.ui-tabs,.fv_flowplayer_tabs ul.ui-tabs-nav{margin:0 !important;font-size:13px;font-family:Arial, Helvetica, sans-serif;font-weight:bold;line-height:24px !important}
@@ -850,11 +1722,31 @@ article .entry-content .fvfp_admin_error p { line-height: 18px }
850
 
851
  .fv_flowplayer_tabs .ui-tabs .ui-tabs-nav li i.dur {display: none; }
852
 
853
- /* hide tabs during loading */
854
- body.fv_flowplayer_tabs_hide .fv_flowplayer_tabs_content > div, body.fv_flowplayer_tabs_hide .fv_flowplayer_tabs_content > ul { display: none }
855
- body.fv_flowplayer_tabs_hide .fv_flowplayer_tabs_content > div.fv_flowplayer_tabs_first { display: block }
856
 
857
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
858
  .flowplayer {
859
  -webkit-touch-callout: none;
860
  -webkit-user-select: none;
@@ -872,82 +1764,49 @@ body.fv_flowplayer_tabs_hide .fv_flowplayer_tabs_content > div.fv_flowplayer_tab
872
  user-select: auto;
873
  }
874
 
875
- .fv-player-warning-wrapper{
876
- margin: 5px 0 15px;
877
- border-left: 4px solid #fff;
878
- border-left-color: #46b450;
879
- }
880
- .fv-player-warning-wrapper p{
881
- margin: .5em;
882
- padding: 2px;
883
- }
884
 
885
 
886
- .flowplayer.chrome55fix video::-internal-media-controls-download-button, .flowplayer.chrome55fix-subtitles video::-internal-media-controls-download-button {
887
- display:none;
888
- }
889
 
890
- .flowplayer.chrome55fix video::-webkit-media-controls-enclosure, .flowplayer.chrome55fix-subtitles video::-webkit-media-controls-enclosure {
891
- overflow:hidden;
892
- }
893
 
894
- .flowplayer.chrome55fix video::-webkit-media-controls-panel {
895
- width: calc(100% + 48px);
896
- }
897
 
898
- .flowplayer.chrome55fix-subtitles video::-webkit-media-controls-panel {
899
- width: calc(100% + 96px);
900
- }
901
 
902
- .flowplayer .fv-form-loading{
903
- background:transparent url(loading.gif) 50% 50% no-repeat;
904
- }
 
 
905
 
 
 
 
906
  .is-audio .fp-player {
907
  background-size: contain;
908
  background-position: top center;
909
  background-repeat: no-repeat;
910
  }
911
 
912
- .fvfp-notices { position: absolute;top:10%;z-index:20;text-align:center;width:100%;color:#fff;text-shadow: 0 0 1px #000}
913
-
914
- @media only screen and (max-width: 48em) {
915
- .fp-playlist-horizontal {margin-left:-1px;margin-right:-1px}
916
- .fp-playlist-horizontal a,.entry-content .fp-playlist-horizontal a, .flowplayer.is-fv-narrow + .fp-playlist-horizontal a {width: 50%}
917
- .fp-playlist-horizontal a:nth-child(3n+1) {clear:none}
918
- .fp-playlist-horizontal a:nth-child(2n+1) {clear:both}
919
- .fv-playlist-slider-wrapper .fp-playlist-horizontal a,.entry-content .fv-playlist-slider-wrapper .fp-playlist-horizontal a, .flowplayer.is-fv-narrow + .fv-playlist-slider-wrapper .fp-playlist-horizontal a {width: 200px}
920
- }
921
- @media only screen and (max-width: 40em) {
922
- .fv_fp_close a {width:24px;height:24px;background-size:24px 24px}
923
- .fp-playlist-horizontal a h4 {font-size:12px}
924
- .fp-playlist-vertical-wrapper .flowplayer,.fp-playlist-vertical-wrapper .fp-playlist-vertical {width:100%;float:none;margin-bottom:0}
925
- .fp-playlist-vertical a {width:49%;float:left;margin:0.75% 0.5%}
926
- .fp-playlist-vertical a:nth-child(2n+1) {clear:both}
927
- }
928
-
929
-
930
-
931
 
932
- /* Audio player playlist */
933
  .flowplayer.is-audio,.site-content .flowplayer.is-audio,.flowplayer.fixed-controls.is-audio {margin-top:40px}
934
  .flowplayer.is-audio .fv-player-buttons li {margin:0}
935
  .site-content .flowplayer.is-audio .fp-controls,.site-content .flowplayer.is-audio .fv-ab-loop,.site-content .fv-player-buttons a:active,.site-content .fv-player-buttons a { background-color:#888 !important }
936
  .is-audio .fp-playlist-external { background-color:#eee }
937
  .flowplayer.is-audio .fp-controls { height:40px;top:0;bottom:0 }
938
  .flowplayer.is-audio .fp-play { height:40px !important; width:40px;line-height:40px !important }
939
- .flowplayer.fvp-play-button.is-audio .fp-timeline { margin-left:82px }
940
- .flowplayer.fvp-play-button.is-audio .fp-elapsed { left:35px }
941
  .flowplayer.fixed-controls.is-audio .fp-time em { bottom:13px }
942
- .flowplayer.is-audio .fp-waiting em {margin:0.8em 0.3em 0}
943
- .flowplayer.is-audio .fp-timeline { top:15px }
944
  .flowplayer.is-audio .fp-time { font-size:14px;text-shadow:none }
945
- .flowplayer.is-audio .fp-volume { bottom:17px }
946
  .flowplayer.is-audio .fp-mute { width:40px;height:40px }
947
- .flowplayer.is-splash.is-audio .fp-controls,.flowplayer.is-poster.is-audio .fp-controls { display:block !important }
 
948
  .is-audio + .fp-playlist-external { counter-reset: 'fv-playlist-counter';background-color:#f0f0f0;border-radius:0 0 10px 10px;border-top:1px solid #fff }
949
  .flowplayer.is-audio .fp-waiting { margin:0 auto; }
950
  .flowplayer.is-audio .fp-speed.fp-hilite { opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0); }
 
 
951
  .is-audio + .fp-playlist-horizontal {margin-left:0;margin-right:0}
952
  .is-audio + .fp-playlist-horizontal a div,.entry-content .is-audio + .fp-playlist-horizontal a div,.flowplayer.is-audio .fp-player + a { display:none;bottom:0;background-image:none !important }
953
  .is-audio + .fp-playlist-external.fp-playlist-horizontal a,.entry-content .is-audio + .fp-playlist-external.fp-playlist-horizontal a,.flowplayer.is-fv-narrow.is-audio + .fp-playlist-external.fp-playlist-horizontal a { counter-increment:fv-playlist-counter;display:block;width:100%;display:block;text-align:left;line-height:1.15;margin:0;padding:6px 12px;border:0;color:#666;clear:both;min-height:26px }
@@ -961,7 +1820,6 @@ body.fv_flowplayer_tabs_hide .fv_flowplayer_tabs_content > div.fv_flowplayer_tab
961
  .flowplayer.is-audio .fv-ab-loop,.flowplayer.fixed-controls.is-audio .fv-ab-loop {bottom:-28px;padding-left:82px}
962
 
963
  .flowplayer.is-audio .fp-fullscreen,.flowplayer.is-audio .fp-ratio,.flowplayer.is-audio.is-splash .fp-timeline-tooltip {display:none}
964
- .flowplayer.is-audio .fp-controls {display:block !important}
965
  .flowplayer.is-audio.is-error {border:0;margin-bottom:50px}
966
  .flowplayer.is-audio.is-error h2,.entry-content .flowplayer.is-audio.is-error h2 {margin:0}
967
  .flowplayer.is-audio .fp-message {padding-top:40px}
@@ -969,8 +1827,8 @@ body.fv_flowplayer_tabs_hide .fv_flowplayer_tabs_content > div.fv_flowplayer_tab
969
  .flowplayer.is-audio .fp-message p {font-size:75%}
970
 
971
  .flowplayer.is-audio .fp-duration, .flowplayer.is-audio .fp-elapsed, .flowplayer.is-audio a.fp-play, .flowplayer.is-audio a.fp-mute {color:#eee !important}
972
- .flowplayer.is-audio .fp-volumelevel, .flowplayer.is-audio .fp-progress {background-color:#bb0000 !important}
973
- .flowplayer.is-audio .fp-volumeslider, .flowplayer.is-audio .fp-buffer {background-color:#eeeeee !important}
974
 
975
  .fp-playlist-external.is-audio a.is-active,.fp-playlist-external.is-audio a.is-active h4,.fp-playlist-external.is-audio a.is-active h4:before {color:#bb0000}
976
 
@@ -1005,32 +1863,11 @@ body.fv_flowplayer_tabs_hide .fv_flowplayer_tabs_content > div.fv_flowplayer_tab
1005
  }
1006
  .flowplayer.is-stickable a.fp-sticky {
1007
  display: block;
1008
- z-index: 999999;
1009
- position: absolute;
1010
- top: 0px;
1011
- left: auto;
1012
- right: 0px;
1013
- display: block;
1014
- width: 30px;
1015
- height: 23px;
1016
- text-align: center;
1017
- cursor: pointer;
1018
- height: 30px;
1019
- width: 30px;
1020
- font-family: 'fpicons' !important;
1021
- color: #fff !important;
1022
- font-size: 15px !important;
1023
- text-align: center !important;
1024
- line-height: 30px !important;
1025
- pointer-events: auto !important;
1026
- background-color: rgba(0, 0, 0, 0.7);
1027
- }
1028
- .flowplayer.is-stickable .fp-fullscreen {
1029
- right: 30px;
1030
  }
1031
 
1032
  .flowplayer a.fp-sticky:before {
1033
- content: "\e600";
1034
  }
1035
 
1036
  div.fp-player.is-sticky-left-top, div.fp-player.is-sticky-right-top , div.fp-player.is-sticky-left-bottom , div.fp-player.is-sticky-right-bottom {
@@ -1097,3 +1934,59 @@ a.fv-player-custom-video-add, a.fv-player-custom-video-remove {
1097
  font-weight: 600;
1098
  border-radius: 3px;
1099
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
  @font-face {
3
+ font-family: flowplayer;
4
+ src: url("icons/flowplayer.eot?#iefix") format("embedded-opentype"), url("icons/flowplayer.woff2") format("woff2"), url("icons/flowplayer.woff") format("woff"); }
5
+
6
+ .fp-icon {
7
+ display: inline-block; }
8
+ .fp-icon:before {
9
+ font-family: flowplayer;
10
+ font-size: 1.7em; }
11
+
12
+ .fp-airplay:before {
13
+ content: "\e001"; }
14
+
15
+ .fp-fullscreen:before {
16
+ content: "\e002"; }
17
+
18
+ .fp-checked:before {
19
+ content: "\e003"; }
20
+
21
+ .fp-embed:before {
22
+ content: "\e004";
23
+ color: #fff; }
24
+
25
+ .fp-chromecast:before {
26
+ content: "\e005"; }
27
+
28
+ .fp-email:before {
29
+ content: "\e006"; }
30
+
31
+ .fp-playbtn:before {
32
+ content: "\e007"; }
33
+
34
+ .fp-share:before {
35
+ content: "\e009"; }
36
+
37
+ .fp-share2:before {
38
+ content: "\e00a"; }
39
+
40
+ .fp-twitter:before {
41
+ content: "\e00c";
42
+ color: #1da1f2; }
43
+
44
+ .fp-facebook:before {
45
+ content: "\e00a";
46
+ color: #3b5998; }
47
+
48
+ .fp-volumebtn:before {
49
+ content: "\e00b"; }
50
+
51
+ .fp-volume-off:before {
52
+ content: "\e00d"; }
53
+
54
+ .fp-unload:before {
55
+ content: "\e00f"; }
56
+
57
+ .fp-prevbtn:before {
58
+ content: "\e011"; }
59
+
60
+ .fp-nextbtn:before {
61
+ content: "\e012"; }
62
+
63
+ .flowplayer.is-mouseover .fp-captions, .flowplayer.is-paused .fp-captions {
64
+ bottom: 3em; }
65
+
66
+ .flowplayer.is-poster .fp-engine {
67
+ filter: alpha(opacity=0);
68
+ opacity: 0; }
69
+
70
+ .flowplayer.is-loading .fp-engine {
71
+ top: -9999em; }
72
+
73
+ .flowplayer.is-loading .fp-ui .fp-header, .flowplayer.is-loading .fp-ui .fp-controls {
74
+ filter: alpha(opacity=0);
75
+ opacity: 0; }
76
+
77
+ .flowplayer.is-splash .fp-ui > *, .flowplayer.is-poster .fp-ui > * {
78
+ display: none; }
79
+
80
+ .flowplayer.is-splash .fp-ui > .fp-play, .flowplayer.is-poster .fp-ui > .fp-play {
81
+ display: block; }
82
+
83
+ .flowplayer.is-splash.is-loading .fp-ui > .fp-play, .flowplayer.is-poster.is-loading .fp-ui > .fp-play {
84
+ display: none; }
85
+
86
+ .flowplayer.is-splash.is-loading .fp-ui > .fp-waiting, .flowplayer.is-poster.is-loading .fp-ui > .fp-waiting {
87
+ display: block; }
88
+
89
+ .flowplayer.is-poster .fp-engine {
90
+ left: -9999em;
91
+ top: -9999em; }
92
+
93
+ .flowplayer.is-poster .fp-captions {
94
+ display: none !important; }
95
+
96
+ .flowplayer.is-disabled .fp-color {
97
+ background-color: #999; }
98
+
99
+ .flowplayer.has-title .fp-header {
100
+ top: 0;
101
+ text-align: right; }
102
+
103
+ .flowplayer.is-fullscreen {
104
+ top: 0 !important;
105
+ left: 0 !important;
106
+ border: 0 !important;
107
+ margin: 0 !important;
108
+ width: 100% !important;
109
+ height: 100% !important;
110
+ max-width: 100% !important;
111
+ z-index: 99999 !important;
112
+ -webkit-box-shadow: 0 !important;
113
+ box-shadow: 0 !important;
114
+ background-image: none !important;
115
+ background-color: #333; }
116
+ .flowplayer.is-fullscreen .fp-player {
117
+ background-color: #333; }
118
+ .flowplayer.is-fullscreen .fp-fullscreen:before {
119
+ content: "\e016"; }
120
+
121
+ .flowplayer.is-fullscreen.fp-outlined .fp-fullscreen:before, .flowplayer.is-fullscreen.fp-minimal .fp-fullscreen:before {
122
+ content: "\e216"; }
123
+
124
+ .flowplayer.is-fullscreen.fp-edgy .fp-fullscreen:before {
125
+ content: "\e116"; }
126
+
127
+ .flowplayer.is-fullscreen.fp-edgy.fp-outlined .fp-fullscreen:before, .flowplayer.is-fullscreen.fp-edgy.fp-minimal .fp-fullscreen:before {
128
+ content: "\e316"; }
129
+
130
+ .flowplayer.is-fullscreen.is-mouseout.is-playing .fp-ui {
131
+ cursor: none; }
132
+
133
+ .flowplayer.is-loading .fp-waiting, .flowplayer.is-seeking .fp-waiting {
134
+ display: block !important;
135
+ filter: alpha(opacity=100) !important;
136
+ opacity: 1 !important; }
137
+ .flowplayer.is-loading .fp-waiting svg, .flowplayer.is-loading .fp-waiting p, .flowplayer.is-seeking .fp-waiting svg, .flowplayer.is-seeking .fp-waiting p {
138
+ filter: alpha(opacity=100);
139
+ opacity: 1; }
140
+
141
+ .flowplayer.is-loading .fp-play, .flowplayer.is-seeking .fp-play {
142
+ display: none !important; }
143
+
144
+ .flowplayer.is-playing {
145
+ background-image: none !important; }
146
+ .flowplayer.is-playing .fp-playbtn:before {
147
+ content: "\e008"; }
148
+
149
+ .flowplayer.is-playing.fp-outlined .fp-playbtn:before, .flowplayer.is-playing.fp-minimal .fp-playbtn:before {
150
+ content: "\e208"; }
151
+
152
+ .flowplayer.is-playing.fp-edgy .fp-playbtn:before {
153
+ content: "\e108"; }
154
+
155
+ .flowplayer.is-playing.fp-edgy.fp-outlined .fp-playbtn:before, .flowplayer.is-playing.fp-edgy.fp-minimal .fp-playbtn:before {
156
+ content: "\e308"; }
157
+
158
+ .flowplayer.is-muted .fp-volumebtn:before {
159
+ content: "\e00d"; }
160
+
161
+ .flowplayer.is-muted.fp-outlined .fp-volumebtn:before, .flowplayer.is-muted.fp-minimal .fp-volumebtn:before {
162
+ content: "\e20d"; }
163
+
164
+ .flowplayer.is-muted.fp-edgy .fp-volumebtn:before {
165
+ content: "\e10d"; }
166
+
167
+ .flowplayer.is-muted.fp-edgy.fp-outlined .fp-volumebtn:before, .flowplayer.is-muted.fp-edgy.fp-minimal .fp-volumebtn:before {
168
+ content: "\e30d"; }
169
+
170
+ .flowplayer.is-inverted .fp-duration {
171
+ display: none; }
172
+
173
+ .flowplayer.is-inverted .fp-remaining {
174
+ display: block; }
175
+
176
+ .flowplayer.is-closeable .fp-header .fp-unload {
177
+ display: block; }
178
+
179
+ .flowplayer.is-error {
180
+ background-color: #aaa; }
181
+ .flowplayer.is-error .fp-ui {
182
+ filter: alpha(opacity=100);
183
+ opacity: 1; }
184
+
185
+ .flowplayer.is-live .fp-timeline {
186
+ visibility: hidden; }
187
+
188
+ .flowplayer.is-live .fp-bar > *.fp-buffer, .flowplayer.is-live .fp-bar-slider > *.fp-buffer {
189
+ max-width: 100%; }
190
+
191
+ .flowplayer.is-live.is-dvr .fp-timeline {
192
+ visibility: visible; }
193
+
194
+ .flowplayer.is-live.is-dvr.is-live-position .fp-duration {
195
+ color: #00abcd; }
196
+
197
+ .flowplayer.is-flash-disabled .fp-waiting {
198
+ display: none !important; }
199
+
200
+ .flowplayer.is-flash-disabled .fp-ui {
201
+ height: auto;
202
+ background: none;
203
+ filter: alpha(opacity=100);
204
+ opacity: 1; }
205
+ .flowplayer.is-flash-disabled .fp-ui .fp-header, .flowplayer.is-flash-disabled .fp-ui .fp-controls {
206
+ display: none; }
207
+
208
+ .flowplayer.is-flash-disabled .fp-engine {
209
+ top: 0; }
210
+
211
+ .flowplayer.is-tiny {
212
+ font-size: .7em; }
213
+
214
+ .flowplayer.is-small {
215
+ font-size: .8em; }
216
+
217
+ .flowplayer.no-buffer .fp-ui .fp-controls .fp-timeline .fp-buffer {
218
+ display: none; }
219
+
220
+ .flowplayer.no-volume .fp-volumebar {
221
+ display: none; }
222
+
223
+ .flowplayer.fp-mute .fp-volumebtn {
224
+ display: inline-block; }
225
+
226
+ @-webkit-keyframes pulse {
227
+ 0% {
228
+ filter: alpha(opacity=0);
229
+ opacity: 0; }
230
+ 100% {
231
+ filter: alpha(opacity=100);
232
+ opacity: 1; } }
233
+
234
+ @keyframes pulse {
235
+ 0% {
236
+ filter: alpha(opacity=0);
237
+ opacity: 0; }
238
+ 100% {
239
+ filter: alpha(opacity=100);
240
+ opacity: 1; } }
241
+
242
+ .flowplayer .fp-chromecast-engine {
243
+ position: absolute;
244
+ display: none;
245
+ top: 0;
246
+ bottom: 0;
247
+ right: 0;
248
+ left: 0;
249
+ color: #fff; }
250
+ .flowplayer .fp-chromecast-engine .fp-chromecast-engine-status {
251
+ font-size: 150%;
252
+ text-align: center; }
253
+ .flowplayer .fp-chromecast-engine .fp-chromecast-engine-icon {
254
+ -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiIG9wYWNpdHk9Ii4xIi8+CiAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+CiAgICA8cGF0aCBkPSJNMSAxOHYzaDNjMC0xLjY2LTEuMzQtMy0zLTN6bTAtNHYyYzIuNzYgMCA1IDIuMjQgNSA1aDJjMC0zLjg3LTMuMTMtNy03LTd6bTE4LTdINXYxLjYzYzMuOTYgMS4yOCA3LjA5IDQuNDEgOC4zNyA4LjM3SDE5Vjd6TTEgMTB2MmM0Ljk3IDAgOSA0LjAzIDkgOWgyYzAtNi4wOC00LjkzLTExLTExLTExem0yMC03SDNjLTEuMSAwLTIgLjktMiAydjNoMlY1aDE4djE0aC03djJoN2MxLjEgMCAyLS45IDItMlY1YzAtMS4xLS45LTItMi0yeiIvPgo8L3N2Zz4=");
255
+ mask-image: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiIG9wYWNpdHk9Ii4xIi8+CiAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+CiAgICA8cGF0aCBkPSJNMSAxOHYzaDNjMC0xLjY2LTEuMzQtMy0zLTN6bTAtNHYyYzIuNzYgMCA1IDIuMjQgNSA1aDJjMC0zLjg3LTMuMTMtNy03LTd6bTE4LTdINXYxLjYzYzMuOTYgMS4yOCA3LjA5IDQuNDEgOC4zNyA4LjM3SDE5Vjd6TTEgMTB2MmM0Ljk3IDAgOSA0LjAzIDkgOWgyYzAtNi4wOC00LjkzLTExLTExLTExem0yMC03SDNjLTEuMSAwLTIgLjktMiAydjNoMlY1aDE4djE0aC03djJoN2MxLjEgMCAyLS45IDItMlY1YzAtMS4xLS45LTItMi0yeiIvPgo8L3N2Zz4=");
256
+ -webkit-mask-size: 100% 100%;
257
+ background-color: #fff;
258
+ margin: 10% auto 2em;
259
+ height: 5em;
260
+ width: 5em; }
261
+
262
+ .flowplayer.is-chromecast {
263
+ background-color: #333; }
264
+ .flowplayer.is-chromecast .fp-chromecast-engine {
265
+ display: block; }
266
+ .flowplayer.is-chromecast .fp-flash-disabled {
267
+ display: none !important; }
268
+ .flowplayer.is-chromecast .fp-engine {
269
+ left: -9999em;
270
+ top: -9999em;
271
+ bottom: auto;
272
+ right: auto; }
273
+
274
+ .flowplayer.fp-default-playlist .fp-prev, .flowplayer.fp-default-playlist .fp-next {
275
+ position: absolute;
276
+ top: 45%;
277
+ filter: alpha(opacity=30);
278
+ opacity: 0.3;
279
+ -webkit-transition: opacity 0.2s;
280
+ transition: opacity 0.2s; }
281
+ .flowplayer.fp-default-playlist .fp-prev:before, .flowplayer.fp-default-playlist .fp-next:before {
282
+ font-family: flowplayer;
283
+ font-size: 2.8em; }
284
+
285
+ .flowplayer.fp-default-playlist .fp-prev {
286
+ left: 0.4em; }
287
+ .flowplayer.fp-default-playlist .fp-prev:before {
288
+ content: "\e011"; }
289
+
290
+ .flowplayer.fp-default-playlist .fp-next {
291
+ right: 0.4em; }
292
+ .flowplayer.fp-default-playlist .fp-next:before {
293
+ content: "\e012"; }
294
+
295
+ .flowplayer.fp-default-playlist .fp-playlist {
296
+ position: absolute;
297
+ right: 0.4em;
298
+ bottom: 3em;
299
+ width: 100%;
300
+ text-align: center; }
301
+ .flowplayer.fp-default-playlist .fp-playlist a {
302
+ background-color: #fff;
303
+ height: 0.8em;
304
+ border-radius: 50%;
305
+ width: 0.8em;
306
+ filter: alpha(opacity=70);
307
+ opacity: 0.7;
308
+ display: inline-block;
309
+ -webkit-transition: -webkit-transform 0.2s;
310
+ transition: -webkit-transform 0.2s;
311
+ transition: transform 0.2s;
312
+ transition: transform 0.2s, -webkit-transform 0.2s; }
313
+ .flowplayer.fp-default-playlist .fp-playlist a:hover {
314
+ -webkit-transform: scale(1.2, 1.2);
315
+ -ms-transform: scale(1.2, 1.2);
316
+ transform: scale(1.2, 1.2); }
317
+ .flowplayer.fp-default-playlist .fp-playlist a.is-active {
318
+ filter: alpha(opacity=100);
319
+ opacity: 1; }
320
+
321
+ .flowplayer.fp-default-playlist.fp-edgy .fp-prev:before {
322
+ content: "\e111"; }
323
+
324
+ .flowplayer.fp-default-playlist.fp-edgy .fp-next:before {
325
+ content: "\e112"; }
326
+
327
+ .flowplayer.fp-default-playlist.fp-outlined .fp-prev:before, .flowplayer.fp-default-playlist.fp-minimal .fp-prev:before {
328
+ content: "\e211"; }
329
+
330
+ .flowplayer.fp-default-playlist.fp-outlined .fp-next:before, .flowplayer.fp-default-playlist.fp-minimal .fp-next:before {
331
+ content: "\e212"; }
332
+
333
+ .flowplayer.fp-default-playlist.fp-edgy.fp-outlined .fp-prev:before, .flowplayer.fp-default-playlist.fp-edgy.fp-minimal .fp-prev:before {
334
+ content: "\e311"; }
335
+
336
+ .flowplayer.fp-default-playlist.fp-edgy.fp-outlined .fp-next:before, .flowplayer.fp-default-playlist.fp-edgy.fp-minimal .fp-next:before {
337
+ content: "\e312"; }
338
+
339
+ .flowplayer.fp-custom-playlist {
340
+ overflow: visible; }
341
+ .flowplayer.fp-custom-playlist .fp-playlist, .flowplayer.fp-custom-playlist.is-splash .fp-playlist, .flowplayer.fp-custom-playlist.is-poster .fp-playlist, .flowplayer.fp-custom-playlist.is-loading .fp-playlist {
342
+ display: block;
343
+ filter: alpha(opacity=100);
344
+ opacity: 1; }
345
+
346
+ .flowplayer.fp-edgy .fp-play svg.fp-play-rounded-fill, .flowplayer.fp-edgy .fp-play svg.fp-pause-rounded-fill, .flowplayer.fp-edgy .fp-play svg.fp-play-rounded-outline, .flowplayer.fp-edgy .fp-play svg.fp-pause-rounded-outline, .flowplayer.fp-edgy .fp-play svg.fp-loading-rounded-outline, .flowplayer.fp-edgy .fp-play svg.fp-loading-rounded-fill, .flowplayer.fp-edgy .fp-pause svg.fp-play-rounded-fill, .flowplayer.fp-edgy .fp-pause svg.fp-pause-rounded-fill, .flowplayer.fp-edgy .fp-pause svg.fp-play-rounded-outline, .flowplayer.fp-edgy .fp-pause svg.fp-pause-rounded-outline, .flowplayer.fp-edgy .fp-pause svg.fp-loading-rounded-outline, .flowplayer.fp-edgy .fp-pause svg.fp-loading-rounded-fill, .flowplayer.fp-edgy .fp-waiting svg.fp-play-rounded-fill, .flowplayer.fp-edgy .fp-waiting svg.fp-pause-rounded-fill, .flowplayer.fp-edgy .fp-waiting svg.fp-play-rounded-outline, .flowplayer.fp-edgy .fp-waiting svg.fp-pause-rounded-outline, .flowplayer.fp-edgy .fp-waiting svg.fp-loading-rounded-outline, .flowplayer.fp-edgy .fp-waiting svg.fp-loading-rounded-fill {
347
+ display: none !important; }
348
+
349
+ .flowplayer.fp-edgy .fp-play svg.fp-play-sharp-fill, .flowplayer.fp-edgy .fp-play svg.fp-pause-sharp-fill, .flowplayer.fp-edgy .fp-play svg.fp-loading-sharp-fill, .flowplayer.fp-edgy .fp-pause svg.fp-play-sharp-fill, .flowplayer.fp-edgy .fp-pause svg.fp-pause-sharp-fill, .flowplayer.fp-edgy .fp-pause svg.fp-loading-sharp-fill, .flowplayer.fp-edgy .fp-waiting svg.fp-play-sharp-fill, .flowplayer.fp-edgy .fp-waiting svg.fp-pause-sharp-fill, .flowplayer.fp-edgy .fp-waiting svg.fp-loading-sharp-fill {
350
+ display: block; }
351
+
352
+ .flowplayer.fp-edgy.fp-outlined .fp-play svg.fp-play-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-play svg.fp-play-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-play svg.fp-pause-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-play svg.fp-pause-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-play svg.fp-loading-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-play svg.fp-loading-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-pause svg.fp-play-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-pause svg.fp-play-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-pause svg.fp-pause-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-pause svg.fp-pause-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-pause svg.fp-loading-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-pause svg.fp-loading-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-waiting svg.fp-play-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-waiting svg.fp-play-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-waiting svg.fp-pause-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-waiting svg.fp-pause-sharp-fill, .flowplayer.fp-edgy.fp-outlined .fp-waiting svg.fp-loading-sharp-fill, .flowplayer.fp-edgy.fp-minimal .fp-waiting svg.fp-loading-sharp-fill {
353
+ display: none; }
354
+
355
+ .flowplayer.fp-edgy.fp-outlined .fp-play svg.fp-play-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-play svg.fp-play-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-play svg.fp-pause-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-play svg.fp-pause-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-play svg.fp-loading-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-play svg.fp-loading-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-pause svg.fp-play-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-pause svg.fp-play-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-pause svg.fp-pause-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-pause svg.fp-pause-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-pause svg.fp-loading-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-pause svg.fp-loading-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-waiting svg.fp-play-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-waiting svg.fp-play-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-waiting svg.fp-pause-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-waiting svg.fp-pause-sharp-outline, .flowplayer.fp-edgy.fp-outlined .fp-waiting svg.fp-loading-sharp-outline, .flowplayer.fp-edgy.fp-minimal .fp-waiting svg.fp-loading-sharp-outline {
356
+ display: block; }
357
+
358
+ .flowplayer.fp-edgy, .flowplayer.fp-edgy .fp-menu, .flowplayer.fp-edgy .fp-captions p, .flowplayer.fp-edgy .fp-textarea, .flowplayer.fp-edgy .fp-bar, .flowplayer.fp-edgy .fp-bar-slider, .flowplayer.fp-edgy .fp-bar > *, .flowplayer.fp-edgy .fp-bar-slider > *, .flowplayer.fp-edgy .fp-timestamp {
359
+ border-radius: 0; }
360
+
361
+ .flowplayer.fp-edgy .fp-airplay:before {
362
+ content: "\e101"; }
363
+
364
+ .flowplayer.fp-edgy .fp-fullscreen:before {
365
+ content: "\e102"; }
366
+
367
+ .flowplayer.fp-edgy .fp-checked:before {
368
+ content: "\e103"; }
369
+
370
+ .flowplayer.fp-edgy .fp-embed:before {
371
+ content: "\e104"; }
372
+
373
+ .flowplayer.fp-edgy .fp-chromecast:before {
374
+ content: "\e105"; }
375
+
376
+ .flowplayer.fp-edgy .fp-email:before {
377
+ content: "\e106"; }
378
+
379
+ .flowplayer.fp-edgy .fp-playbtn:before {
380
+ content: "\e107"; }
381
+
382
+ .flowplayer.fp-edgy .fp-share:before {
383
+ content: "\e109"; }
384
+
385
+ .flowplayer.fp-edgy .fp-share2:before {
386
+ content: "\e10a"; }
387
+
388
+ .flowplayer.fp-edgy .fp-twitter:before {
389
+ content: "\e10c"; }
390
+
391
+ .flowplayer.fp-edgy .fp-facebook:before {
392
+ content: "\e10a"; }
393
+
394
+ .flowplayer.fp-edgy .fp-volumebtn:before {
395
+ content: "\e10b"; }
396
+
397
+ .flowplayer.fp-edgy .fp-volume-off:before {
398
+ content: "\e10d"; }
399
+
400
+ .flowplayer.fp-edgy .fp-unload:before {
401
+ content: "\e10f"; }
402
+
403
+ .flowplayer.fp-edgy .fp-prevbtn:before {
404
+ content: "\e111"; }
405
+
406
+ .flowplayer.fp-edgy .fp-nextbtn:before {
407
+ content: "\e112"; }
408
+
409
+ .flowplayer.fp-edgy.fp-outlined .fp-airplay:before, .flowplayer.fp-edgy.fp-minimal .fp-airplay:before {
410
+ content: "\e301"; }
411
+
412
+ .flowplayer.fp-edgy.fp-outlined .fp-fullscreen:before, .flowplayer.fp-edgy.fp-minimal .fp-fullscreen:before {
413
+ content: "\e302"; }
414
+
415
+ .flowplayer.fp-edgy.fp-outlined .fp-checked:before, .flowplayer.fp-edgy.fp-minimal .fp-checked:before {
416
+ content: "\e303"; }
417
+
418
+ .flowplayer.fp-edgy.fp-outlined .fp-embed:before, .flowplayer.fp-edgy.fp-minimal .fp-embed:before {
419
+ content: "\e304"; }
420
+
421
+ .flowplayer.fp-edgy.fp-outlined .fp-chromecast:before, .flowplayer.fp-edgy.fp-minimal .fp-chromecast:before {
422
+ content: "\e305"; }
423
+
424
+ .flowplayer.fp-edgy.fp-outlined .fp-email:before, .flowplayer.fp-edgy.fp-minimal .fp-email:before {
425
+ content: "\e306"; }
426
+
427
+ .flowplayer.fp-edgy.fp-outlined .fp-playbtn:before, .flowplayer.fp-edgy.fp-minimal .fp-playbtn:before {
428
+ content: "\e307"; }
429
+
430
+ .flowplayer.fp-edgy.fp-outlined .fp-share:before, .flowplayer.fp-edgy.fp-minimal .fp-share:before {
431
+ content: "\e309"; }
432
+
433
+ .flowplayer.fp-edgy.fp-outlined .fp-share2:before, .flowplayer.fp-edgy.fp-minimal .fp-share2:before {
434
+ content: "\e30a"; }
435
+
436
+ .flowplayer.fp-edgy.fp-outlined .fp-twitter:before, .flowplayer.fp-edgy.fp-minimal .fp-twitter:before {
437
+ content: "\e30c"; }
438
+
439
+ .flowplayer.fp-edgy.fp-outlined .fp-facebook:before, .flowplayer.fp-edgy.fp-minimal .fp-facebook:before {
440
+ content: "\e30a"; }
441
+
442
+ .flowplayer.fp-edgy.fp-outlined .fp-volumebtn:before, .flowplayer.fp-edgy.fp-minimal .fp-volumebtn:before {
443
+ content: "\e30b"; }
444
+
445
+ .flowplayer.fp-edgy.fp-outlined .fp-volume-off:before, .flowplayer.fp-edgy.fp-minimal .fp-volume-off:before {
446
+ content: "\e30d"; }
447
+
448
+ .flowplayer.fp-edgy.fp-outlined .fp-unload:before, .flowplayer.fp-edgy.fp-minimal .fp-unload:before {
449
+ content: "\e30f"; }
450
+
451
+ .flowplayer.fp-edgy.fp-outlined .fp-prevbtn:before, .flowplayer.fp-edgy.fp-minimal .fp-prevbtn:before {
452
+ content: "\e311"; }
453
+
454
+ .flowplayer.fp-edgy.fp-outlined .fp-nextbtn:before, .flowplayer.fp-edgy.fp-minimal .fp-nextbtn:before {
455
+ content: "\e312"; }
456
+
457
+ .flowplayer.no-svg .fp-ui .fp-header, .flowplayer.no-svg .fp-ui .fp-controls {
458
+ /*background-color: #333;*/ }
459
+
460
+ .flowplayer.no-svg .fp-ui .fp-play.fp-visible {
461
+ /*background-color: #ccc;*/
462
+ position: absolute;
463
+ font-size: 2.5em;
464
+ top: 0;
465
+ left: 0;
466
+ right: 0;
467
+ bottom: 0;
468
+ margin: auto;
469
+ width: 6em;
470
+ height: 6em;
471
+ max-height: 38%;}
472
+ .flowplayer.no-svg .fp-ui .fp-play.fp-visible svg {
473
+ display: none; }
474
+ .flowplayer.no-svg .fp-ui .fp-play.fp-visible .fp-playbtn {
475
+ display: block;
476
+ -webkit-filter: drop-shadow( 0 0 4px #aaa );
477
+ filter: drop-shadow( 0 0 4px #aaa ) }
478
+ .flowplayer.no-svg .fp-play.fp-visible .fp-icon:before {
479
+ font-size: inherit;
480
+ }
481
+ .flowplayer .fp-player, .flowplayer .fp-ui, .flowplayer .fp-header, .flowplayer .fp-captions, .flowplayer .fp-controls {
482
+ position: absolute;
483
+ width: 100%; }
484
+
485
+ .flowplayer {
486
+ font-family: avenir, sans-serif;
487
+ font-size: 16px;
488
+ position: relative;
489
+ max-height: 100%;
490
+ overflow: hidden;
491
+ border-radius: .24em;
492
+ background-position: center;
493
+ background-repeat: no-repeat;
494
+ background-size: contain;
495
+ zoom: 1 !important;
496
+ width: 100%;
497
+ display: inline-block; }
498
+ .flowplayer .fp-hidden {
499
+ display: none; }
500
+ .flowplayer .fp-shown {
501
+ display: block !important; }
502
+ .flowplayer * {
503
+ -webkit-box-sizing: border-box;
504
+ -moz-box-sizing: border-box;
505
+ box-sizing: border-box; }
506
+ .flowplayer.is-ready:not(.is-poster) {
507
+ background-color: #333; }
508
+ .flowplayer .fp-engine {
509
+ display: block;
510
+ width: 100%;
511
+ position: absolute;
512
+ top: 0;
513
+ bottom: 0;
514
+ left: 0;
515
+ right: 0;
516
+ height: 100%;
517
+ width: 100%; }
518
+ .flowplayer video.fp-engine:not(.native-subtitles)::-webkit-media-controls {
519
+ display: none !important; }
520
+ .flowplayer .fp-player {
521
+ position: absolute;
522
+ bottom: 0;
523
+ top: 0; }
524
+ .flowplayer .fp-waiting {
525
+ display: none; }
526
+ .flowplayer .fp-waiting p {
527
+ filter: alpha(opacity=0);
528
+ opacity: 0;
529
+ color: #ccc;
530
+ font-weight: bold; }
531
+ .flowplayer .fp-ui {
532
+ height: 100%;
533
+ top: 0;
534
+ background-image: none;
535
+ -webkit-transition: background-image .1s;
536
+ transition: background-image .1s;
537
+ text-align: center;
538
+ cursor: pointer;
539
+ color: #fff; }
540
+ .flowplayer .fp-ui a, .flowplayer .fp-ui strong {
541
+ color: inherit !important;
542
+ font-style: normal !important;
543
+ text-decoration: none !important; }
544
+ .flowplayer .fp-ui > * {
545
+ -webkit-transition: opacity .1s;
546
+ transition: opacity .1s;
547
+ filter: alpha(opacity=0);
548
+ opacity: 0; }
549
+ .flowplayer.fp-ui-shown .fp-ui, .flowplayer.is-mouseover .fp-ui, .flowplayer.is-loading .fp-ui, .is-splash.flowplayer .fp-player .fp-ui, .is-paused.flowplayer .fp-player .fp-ui,#content .is-paused.flowplayer .fp-player .fp-ui,#content .is-splash.flowplayer .fp-player .fp-ui {
550
+ /*background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.25)), color-stop(15%, transparent));
551
+ background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.25), transparent 15%);
552
+ background-image: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent 15%);*/
553
+ background-image: none;}
554
+ .flowplayer.fp-ui-shown .fp-ui > *, .flowplayer.is-paused .fp-ui > *, .flowplayer.is-mouseover .fp-ui > *, .flowplayer.is-loading .fp-ui > *, .flowplayer.is-seeking .fp-ui > * {
555
+ filter: alpha(opacity=100);
556
+ opacity: 1; }
557
+ .flowplayer .fp-header {
558
+ top: 0;
559
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.25)), to(transparent));
560
+ background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.25), transparent);
561
+ background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), transparent);
562
+ text-align: left;
563
+ height: 3em;
564
+ -webkit-transition: opacity 0.3s;
565
+ transition: opacity 0.3s;
566
+ padding-left: .65em; }
567
+ .flowplayer .fp-header .fp-icon {
568
+ margin: .9em .9em 0 0; }
569
+ .flowplayer .fp-header .fp-icon.fp-active {
570
+ color: #ec6c4c; }
571
+ .flowplayer .fp-header .fp-fullscreen, .flowplayer .fp-header .fp-unload {
572
+ float: right; }
573
+ .flowplayer .fp-airplay {
574
+ position: absolute;
575
+ right: 40px;
576
+ top: 0;
577
+ }
578
+ .fp-chromecast {
579
+ position: absolute;
580
+ right: 80px;
581
+ top: 0;
582
+ }
583
+ .flowplayer .fp-header .fp-unload {
584
+ display: none; }
585
+ .flowplayer .fp-help {
586
+ display: none; }
587
+ .flowplayer .fp-message {
588
+ background-color: rgba(0, 0, 0, 0.5);
589
+ text-align: left;
590
+ font-size: 1.2em;
591
+ overflow: hidden;
592
+ filter: alpha(opacity=0);
593
+ opacity: 0;
594
+ padding: .6em .9em;
595
+ -webkit-transition: opacity 0.3s;
596
+ transition: opacity 0.3s; }
597
+ .flowplayer .fp-message.fp-shown {
598
+ filter: alpha(opacity=100);
599
+ opacity: 1; }
600
+ .flowplayer .fp-message.fp-shown + .fp-header {
601
+ filter: alpha(opacity=0);
602
+ opacity: 0; }
603
+ .flowplayer .fp-textarea {
604
+ background-color: rgba(0, 0, 0, 0.5);
605
+ width: 80%;
606
+ position: absolute;
607
+ left: 10%;
608
+ top: 15%;
609
+ color: #fff;
610
+ outline: 0;
611
+ border-radius: .2em;
612
+ border: 0;
613
+ min-height: 60%; }
614
+ .flowplayer .fp-logo {
615
+ position: absolute;
616
+ bottom: 3em;
617
+ left: 0.9em; }
618
+ .flowplayer .fp-logo img {
619
+ width: 100%; }
620
+ .flowplayer .fp-captions {
621
+ bottom: 1.2em;
622
+ display: none;
623
+ text-align: center;
624
+ color: #fff; }
625
+ .flowplayer .fp-captions p {
626
+ background-color: rgba(0, 0, 0, 0.65);
627
+ border-radius: .2em;
628
+ font-size: 110%;
629
+ display: inline-block;
630
+ padding: .1em .3em;
631
+ margin: .1em; }
632
+ .flowplayer .fp-speed-flash {
633
+ position: absolute;
634
+ left: 0;
635
+ right: 0;
636
+ bottom: 0;
637
+ top: 0;
638
+ margin: auto;
639
+ font-size: 4em;
640
+ color: #fff;
641
+ font-weight: bold;
642
+ text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
643
+ filter: alpha(opacity=0) !important;
644
+ opacity: 0 !important;
645
+ -webkit-transform: scale(0.8);
646
+ -ms-transform: scale(0.8);
647
+ transform: scale(0.8);
648
+ -webkit-transition: all .2s;
649
+ transition: all .2s;
650
+ width: 4em;
651
+ height: 2em;
652
+ display: none; }
653
+ .flowplayer .fp-speed-flash.fp-hilite {
654
+ filter: alpha(opacity=100) !important;
655
+ opacity: 1 !important;
656
+ -webkit-transform: scale(1);
657
+ -ms-transform: scale(1);
658
+ transform: scale(1); }
659
+ .flowplayer .fp-play .fp-playbtn, .flowplayer .fp-pause .fp-playbtn, .flowplayer .fp-waiting .fp-playbtn {
660
+ display: none; }
661
+ .flowplayer .fp-play svg, .flowplayer .fp-pause svg, .flowplayer .fp-waiting svg {
662
+ position: absolute;
663
+ pointer-events: none;
664
+ left: 0;
665
+ right: 0;
666
+ bottom: 0;
667
+ top: 0;
668
+ width: 6em;
669
+ height: 6em;
670
+ filter: alpha(opacity=0);
671
+ opacity: 0;
672
+ margin: auto;
673
+ max-height: 30%;
674
+ -webkit-transform: scale(0.8);
675
+ -ms-transform: scale(0.8);
676
+ transform: scale(0.8);
677
+ -webkit-transition: all .2s;
678
+ transition: all .2s;
679
+ display: none; }
680
+ .flowplayer .fp-play svg.fp-play-rounded-fill, .flowplayer .fp-play svg.fp-pause-rounded-fill, .flowplayer .fp-play svg.fp-loading-rounded-fill, .flowplayer .fp-pause svg.fp-play-rounded-fill, .flowplayer .fp-pause svg.fp-pause-rounded-fill, .flowplayer .fp-pause svg.fp-loading-rounded-fill, .flowplayer .fp-waiting svg.fp-play-rounded-fill, .flowplayer .fp-waiting svg.fp-pause-rounded-fill, .flowplayer .fp-waiting svg.fp-loading-rounded-fill {
681
+ display: block; }
682
+ .flowplayer .fp-play.fp-visible svg, .flowplayer .fp-pause.fp-visible svg, .flowplayer .fp-waiting.fp-visible svg {
683
+ -webkit-transform: scale(1.5);
684
+ -ms-transform: scale(1.5);
685
+ transform: scale(1.5);
686
+ filter: alpha(opacity=100);
687
+ opacity: 1; }
688
+ .flowplayer .fp-remaining {
689
+ display: none; }
690
+ .flowplayer .fp-controls {
691
+ display: -ms-flexbox;
692
+ display: -webkit-flex;
693
+ display: -webkit-box;
694
+ display: -moz-box;
695
+ display: flex;
696
+ -ms-flex-pack: justify;
697
+ -webkit-justify-content: space-around;
698
+ justify-content: space-around;
699
+ -ms-flex-align: center;
700
+ -webkit-align-items: center;
701
+ -webkit-box-align: center;
702
+ -moz-box-align: center;
703
+ align-items: center;
704
+ height: 2.4em;
705
+ bottom: 0;
706
+ z-index: 2;
707
+ padding-left: 0.3em;
708
+ padding-right: 0.3em; }
709
+ .flowplayer .fp-controls > * {
710
+ margin: 0 .6em; }
711
+ .flowplayer .fp-controls strong {
712
+ margin: 0;
713
+ padding: 0 .6em;
714
+ }
715
+ .flowplayer .fp-controls > strong {
716
+ letter-spacing: 1px; font-weight: 400; }
717
+ .flowplayer .fp-controls img {
718
+ width: 1.2em; }
719
+ .flowplayer .fp-bar, .flowplayer .fp-bar-slider {
720
+ background-color: #ccc;
721
+ background-color: rgba(255, 255, 255, 0.5);
722
+ position: relative;
723
+ cursor: col-resize;
724
+ height: .9em;
725
+ border-radius: 0.24em;
726
+ -ms-flex: 1;
727
+ -webkit-box-flex: 1;
728
+ -webkit-flex: 1;
729
+ -moz-box-flex: 1;
730
+ flex: 1; }
731
+ .flowplayer .fp-bar > *, .flowplayer .fp-bar-slider > * {
732
+ background-color: rgba(255, 255, 255, 0.6);
733
+ position: absolute;
734
+ height: 100%;
735
+ border-radius: 0.24em; }
736
+ .flowplayer .fp-bar > *.fp-progress.animated, .flowplayer .fp-bar-slider > *.fp-progress.animated {
737
+ -webkit-transition-timing-function: linear;
738
+ transition-timing-function: linear;
739
+ -webkit-transition-property: width, height;
740
+ transition-property: width, height; }
741
+ .flowplayer .fp-bar > *.fp-buffer, .flowplayer .fp-bar-slider > *.fp-buffer {
742
+ -webkit-transition: width .25s linear;
743
+ transition: width .25s linear; }
744
+ .flowplayer .fp-bar.no-animation > *, .flowplayer .no-animation.fp-bar-slider > * {
745
+ -webkit-transition: none;
746
+ transition: none; }
747
+ .flowplayer .fp-timeline {
748
+ -webkit-transition: height .2s;
749
+ transition: height .2s; }
750
+ .flowplayer .fp-cuepoint {
751
+ background-color: #000;
752
+ position: absolute;
753
+ height: 100%;
754
+ width: 2px; }
755
+ .flowplayer .fp-timestamp {
756
+ background-color: rgba(0, 0, 0, 0.65);
757
+ display: none;
758
+ border-radius: .2em;
759
+ padding: .1em .3em;
760
+ font-size: 90%;
761
+ bottom: 1.4em;
762
+ height: auto; }
763
+ .flowplayer .fp-timeline:hover .fp-timestamp {
764
+ display: inline; }
765
+ .flowplayer .fp-volume {
766
+ display: -ms-flexbox;
767
+ display: -webkit-box;
768
+ display: -webkit-flex;
769
+ display: -moz-box;
770
+ display: flex;
771
+ height: 100%;
772
+ -ms-flex-align: center;
773
+ -webkit-box-align: center;
774
+ -webkit-align-items: center;
775
+ -moz-box-align: center;
776
+ align-items: center; }
777
+ .flowplayer .fp-volumebtn {
778
+ display: none; }
779
+ .flowplayer .fp-bar-slider {
780
+ background-color: transparent;
781
+ -webkit-user-select: none;
782
+ -moz-user-select: none;
783
+ -ms-user-select: none;
784
+ user-select: none;
785
+ -webkit-transition: height .2s;
786
+ transition: height .2s;
787
+ white-space: nowrap;
788
+ -ms-flex: 1 0 auto; }
789
+ .flowplayer .fp-bar-slider em {
790
+ border-radius: 2px;
791
+ display: inline-block;
792
+ width: 5px;
793
+ height: 100%;
794
+ position: relative;
795
+ vertical-align: top;
796
+ margin-left: 3px;
797
+ -webkit-transition: -webkit-transform 0.4s;
798
+ transition: -webkit-transform 0.4s;
799
+ transition: transform 0.4s;
800
+ transition: transform 0.4s, -webkit-transform 0.4s;
801
+ -webkit-transform-origin: bottom;
802
+ -ms-transform-origin: bottom;
803
+ transform-origin: bottom;
804
+ -webkit-user-select: none;
805
+ -moz-user-select: none;
806
+ -ms-user-select: none;
807
+ user-select: none;
808
+ -webkit-transform: scale(1.1);
809
+ -ms-transform: scale(1.1);
810
+ transform: scale(1.1); }
811
+ .flowplayer .fp-bar-slider em:hover {
812
+ -webkit-transform: scaleY(1.35);
813
+ -ms-transform: scaleY(1.35);
814
+ transform: scaleY(1.35);
815
+ -webkit-transition: -webkit-transform 0.2s;
816
+ transition: -webkit-transform 0.2s;
817
+ transition: transform 0.2s;
818
+ transition: transform 0.2s, -webkit-transform 0.2s; }
819
+ .flowplayer .fp-bar-slider em.fp-grey {
820
+ background-color: rgba(255, 255, 255, 0.75); }
821
+ .flowplayer.no-flex .fp-controls {
822
+ white-space: nowrap; }
823
+ .flowplayer.no-flex .fp-controls > * {
824
+ display: inline-block;
825
+ vertical-align: center;
826
+ margin: 0 .3em; }
827
+ .flowplayer.no-flex .fp-timeline {
828
+ width: 40%; }
829
+ .flowplayer.no-flex.fp-full .fp-timeline {
830
+ margin-bottom: .6em;
831
+ height: .9em; }
832
+ .flowplayer.no-flex.fp-fat .fp-bar, .flowplayer.no-flex.fp-playful .fp-bar, .flowplayer.no-flex.fp-fat .fp-bar-slider, .flowplayer.no-flex.fp-playful .fp-bar-slider {
833
+ height: .9em !important; }
834
+ .flowplayer.fp-fat .fp-bar, .flowplayer.fp-playful .fp-bar, .flowplayer.fp-fat .fp-bar-slider, .flowplayer.fp-playful .fp-bar-slider {
835
+ height: 100%;
836
+ border-radius: 0; }
837
+ .flowplayer.fp-fat .fp-bar > *, .flowplayer.fp-playful .fp-bar > *, .flowplayer.fp-fat .fp-bar-slider > *, .flowplayer.fp-playful .fp-bar-slider > * {
838
+ border-radius: 0; }
839
+ .flowplayer.fp-fat .fp-timestamp, .flowplayer.fp-playful .fp-timestamp {
840
+ bottom: 3.2em; }
841
+ .flowplayer.fp-fat .fp-bar-slider em, .flowplayer.fp-playful .fp-bar-slider em {
842
+ -webkit-transform: scaleY(0.6);
843
+ -ms-transform: scaleY(0.6);
844
+ transform: scaleY(0.6);
845
+ -webkit-transform-origin: center;
846
+ -ms-transform-origin: center;
847
+ transform-origin: center; }
848
+ .flowplayer.fp-fat .fp-bar-slider em:hover, .flowplayer.fp-playful .fp-bar-slider em:hover {
849
+ -webkit-transform: scaleY(0.75);
850
+ -ms-transform: scaleY(0.75);
851
+ transform: scaleY(0.75); }
852
+ .flowplayer.fp-slim .fp-timeline {
853
+ height: .2em; }
854
+ .flowplayer.fp-slim .fp-controls:hover .fp-timeline {
855
+ height: .9em; }
856
+ .flowplayer.fp-slim .fp-cue {
857
+ width: 4px; }
858
+ .flowplayer.fp-slim .fp-bar-slider {
859
+ height: .2em; }
860
+ .flowplayer.fp-slim .fp-controls:hover .fp-bar-slider {
861
+ height: 0.9em; }
862
+ .flowplayer.fp-full .fp-timeline {
863
+ position: absolute;
864
+ height: .3em;
865
+ bottom: 2.8em;
866
+ margin: 0;
867
+ width: 100%;
868
+ border-radius: 0;
869
+ overflow: inherit;
870
+ left: 0; }
871
+ .flowplayer.fp-full .fp-timeline:before {
872
+ content: "";
873
+ width: 100%;
874
+ height: 1.2em;
875
+ position: absolute;
876
+ top: -1.2em;
877
+ left: 0; }
878
+ .flowplayer.fp-full .fp-controls {
879
+ height: 2.8em; }
880
+ .flowplayer.fp-full .fp-controls:hover .fp-timeline {
881
+ height: 1em; }
882
+ .flowplayer.fp-full .fp-volume {
883
+ margin-right: auto; }
884
+ .flowplayer.fp-full .fp-duration, .flowplayer.fp-full .fp-remaining {
885
+ margin-left: 0; }
886
+ .flowplayer.fp-full .fp-duration:before, .flowplayer.fp-full .fp-remaining:before {
887
+ position: relative;
888
+ content: "/";
889
+ left: -.3em; }
890
+ .flowplayer.fp-minimal .fp-controls {
891
+ background-color: transparent !important; }
892
+ .flowplayer.fp-minimal .fp-controls > * {
893
+ display: none; }
894
+ .flowplayer.fp-minimal .fp-header > * {
895
+ display: none; }
896
+ .flowplayer.fp-minimal .fp-header .fp-fullscreen {
897
+ display: inherit; }
898
+ .flowplayer.fp-minimal .fp-timeline {
899
+ height: .3em;
900
+ max-width: 12em;
901
+ width: 100%;
902
+ display: block;
903
+ margin: 0 auto;
904
+ -webkit-box-flex: 0;
905
+ -webkit-flex: none;
906
+ -moz-box-flex: 0;
907
+ -ms-flex: none;
908
+ flex: none; }
909
+ .flowplayer.fp-playful .fp-color, .flowplayer.fp-playful .fp-color-play {
910
+ background-color: #ec6c4c;
911
+ fill: #ec6c4c; }
912
+ .flowplayer.fp-playful .fp-controls {
913
+ background-color: #006680; }
914
+ .flowplayer .fp-selected:before {
915
+ content: "✓ "; }
916
+ .flowplayer .fp-menu {
917
+ background-color: rgba(0, 0, 0, 0.5);
918
+ border-radius: .24em;
919
+ position: absolute;
920
+ width: 8em;
921
+ right: .5em;
922
+ z-index: 2;
923
+ font-size: 90%;
924
+ -webkit-transition: opacity .2s, height .2s, -webkit-transform .2s;
925
+ transition: opacity .2s, height .2s, -webkit-transform .2s;
926
+ transition: opacity .2s, transform .2s, height .2s;
927
+ transition: opacity .2s, transform .2s, height .2s, -webkit-transform .2s;
928
+ -webkit-transform: scale(0.95);
929
+ -ms-transform: scale(0.95);
930
+ transform: scale(0.95);
931
+ bottom: -100%;
932
+ height: 0;
933
+ filter: alpha(opacity=0) !important;
934
+ opacity: 0 !important; }
935
+ .flowplayer .fp-menu.fp-active {
936
+ -webkit-transform: scale(1);
937
+ -ms-transform: scale(1);
938
+ transform: scale(1);
939
+ height: auto;
940
+ bottom: 3.2em;
941
+ filter: alpha(opacity=100) !important;
942
+ opacity: 1 !important; }
943
+ .flowplayer.fixed-controls .fp-menu.fp-active {
944
+ bottom: .2em;
945
+ }
946
+ .flowplayer .fp-speed-menu.fp-active.wont-fit {
947
+ overflow-y: scroll;
948
+ height: 86%;
949
+ }
950
+ .flowplayer .fp-speed-menu::-webkit-scrollbar {
951
+ width: 8px;
952
+ background: #333;
953
+ }
954
+ .flowplayer .fp-speed-menu::-webkit-scrollbar-track {
955
+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
956
+ }
957
+ .flowplayer .fp-speed-menu::-webkit-scrollbar-thumb {
958
+ background-color: #999;
959
+ -webkit-border-radius: 4px;
960
+ -moz-border-radius: 4px;
961
+ border-radius: 4px;
962
+ outline: none;
963
+ }
964
+ .flowplayer .fp-menu > * {
965
+ display: block;
966
+ padding: .4em 1.2em;
967
+ text-align: right; }
968
+ .flowplayer .fp-menu strong {
969
+ display: block;
970
+ padding: .7em 1.2em;
971
+ border-bottom: 1px solid rgba(255, 255, 255, 0.2);
972
+ background-color: rgba(0, 0, 0, 0.3);
973
+ text-transform: uppercase;
974
+ letter-spacing: 1px;
975
+ cursor: default;
976
+ font-size: 90%; }
977
+ .flowplayer .fp-menu a {
978
+ color: rgba(255, 255, 255, 0.8); }
979
+ .flowplayer .fp-menu a:hover:not(.fp-selected) {
980
+ background-color: #000;
981
+ color: #fff; }
982
+ .flowplayer .fp-menu .fp-icon {
983
+ cursor: pointer; }
984
+ .flowplayer .fp-menu .fp-icon:before {
985
+ margin-right: .1em;
986
+ font-size: 1.5em;
987
+ vertical-align: -0.1em; }
988
+ .flowplayer .fp-qsel-menu {
989
+ width: auto; }
990
+ .flowplayer .fp-context-menu {
991
+ width: auto;
992
+ right: auto;
993
+ bottom: auto !important;
994
+ display: none; }
995
+ .flowplayer .fp-context-menu.fp-active {
996
+ display: block; }
997
+ .flowplayer .fp-context-menu a, .flowplayer .fp-context-menu strong {
998
+ text-align: left;
999
+ color: #fff;
1000
+ white-space: nowrap; }
1001
+ .flowplayer .fp-subtitle-menu {
1002
+ width: 9em; }
1003
+ .flowplayer .fp-share-menu {
1004
+ width: 9em;
1005
+ padding-bottom: 0.2em; }
1006
+ .flowplayer .fp-share-menu.fp-active {
1007
+ bottom: auto; }
1008
+ .flowplayer .fp-share-menu a, .flowplayer .fp-share-menu strong {
1009
+ text-align: left; }
1010
+ .flowplayer.fp-outlined .fp-play svg.fp-play-rounded-fill, .flowplayer.fp-minimal .fp-play svg.fp-play-rounded-fill, .flowplayer.fp-outlined .fp-play svg.fp-pause-rounded-fill, .flowplayer.fp-minimal .fp-play svg.fp-pause-rounded-fill, .flowplayer.fp-outlined .fp-play svg.fp-loading-rounded-fill, .flowplayer.fp-minimal .fp-play svg.fp-loading-rounded-fill, .flowplayer.fp-outlined .fp-pause svg.fp-play-rounded-fill, .flowplayer.fp-minimal .fp-pause svg.fp-play-rounded-fill, .flowplayer.fp-outlined .fp-pause svg.fp-pause-rounded-fill, .flowplayer.fp-minimal .fp-pause svg.fp-pause-rounded-fill, .flowplayer.fp-outlined .fp-pause svg.fp-loading-rounded-fill, .flowplayer.fp-minimal .fp-pause svg.fp-loading-rounded-fill, .flowplayer.fp-outlined .fp-waiting svg.fp-play-rounded-fill, .flowplayer.fp-minimal .fp-waiting svg.fp-play-rounded-fill, .flowplayer.fp-outlined .fp-waiting svg.fp-pause-rounded-fill, .flowplayer.fp-minimal .fp-waiting svg.fp-pause-rounded-fill, .flowplayer.fp-outlined .fp-waiting svg.fp-loading-rounded-fill, .flowplayer.fp-minimal .fp-waiting svg.fp-loading-rounded-fill {
1011
+ display: none; }
1012
+ .flowplayer.fp-outlined .fp-play svg.fp-play-rounded-outline, .flowplayer.fp-minimal .fp-play svg.fp-play-rounded-outline, .flowplayer.fp-outlined .fp-play svg.fp-pause-rounded-outline, .flowplayer.fp-minimal .fp-play svg.fp-pause-rounded-outline, .flowplayer.fp-outlined .fp-play svg.fp-loading-rounded-outline, .flowplayer.fp-minimal .fp-play svg.fp-loading-rounded-outline, .flowplayer.fp-outlined .fp-pause svg.fp-play-rounded-outline, .flowplayer.fp-minimal .fp-pause svg.fp-play-rounded-outline, .flowplayer.fp-outlined .fp-pause svg.fp-pause-rounded-outline, .flowplayer.fp-minimal .fp-pause svg.fp-pause-rounded-outline, .flowplayer.fp-outlined .fp-pause svg.fp-loading-rounded-outline, .flowplayer.fp-minimal .fp-pause svg.fp-loading-rounded-outline, .flowplayer.fp-outlined .fp-waiting svg.fp-play-rounded-outline, .flowplayer.fp-minimal .fp-waiting svg.fp-play-rounded-outline, .flowplayer.fp-outlined .fp-waiting svg.fp-pause-rounded-outline, .flowplayer.fp-minimal .fp-waiting svg.fp-pause-rounded-outline, .flowplayer.fp-outlined .fp-waiting svg.fp-loading-rounded-outline, .flowplayer.fp-minimal .fp-waiting svg.fp-loading-rounded-outline {
1013
+ display: block; }
1014
+ .flowplayer.fp-outlined .fp-airplay:before, .flowplayer.fp-minimal .fp-airplay:before {
1015
+ content: "\e201"; }
1016
+ .flowplayer.fp-outlined .fp-fullscreen:before, .flowplayer.fp-minimal .fp-fullscreen:before {
1017
+ content: "\e202"; }
1018
+ .flowplayer.fp-outlined .fp-checked:before, .flowplayer.fp-minimal .fp-checked:before {
1019
+ content: "\e203"; }
1020
+ .flowplayer.fp-outlined .fp-embed:before, .flowplayer.fp-minimal .fp-embed:before {
1021
+ content: "\e204"; }
1022
+ .flowplayer.fp-outlined .fp-chromecast:before, .flowplayer.fp-minimal .fp-chromecast:before {
1023
+ content: "\e205"; }
1024
+ .flowplayer.fp-outlined .fp-email:before, .flowplayer.fp-minimal .fp-email:before {
1025
+ content: "\e206"; }
1026
+ .flowplayer.fp-outlined .fp-playbtn:before, .flowplayer.fp-minimal .fp-playbtn:before {
1027
+ content: "\e207"; }
1028
+ .flowplayer.fp-outlined .fp-share:before, .flowplayer.fp-minimal .fp-share:before {
1029
+ content: "\e209"; }
1030
+ .flowplayer.fp-outlined .fp-share2:before, .flowplayer.fp-minimal .fp-share2:before {
1031
+ content: "\e20a"; }
1032
+ .flowplayer.fp-outlined .fp-twitter:before, .flowplayer.fp-minimal .fp-twitter:before {
1033
+ content: "\e20c"; }
1034
+ .flowplayer.fp-outlined .fp-facebook:before, .flowplayer.fp-minimal .fp-facebook:before {
1035
+ content: "\e20a"; }
1036
+ .flowplayer.fp-outlined .fp-volumebtn:before, .flowplayer.fp-minimal .fp-volumebtn:before {
1037
+ content: "\e20b"; }
1038
+ .flowplayer.fp-outlined .fp-volume-off:before, .flowplayer.fp-minimal .fp-volume-off:before {
1039
+ content: "\e20d"; }
1040
+ .flowplayer.fp-outlined .fp-unload:before, .flowplayer.fp-minimal .fp-unload:before {
1041
+ content: "\e20f"; }
1042
+ .flowplayer.fp-outlined .fp-prevbtn:before, .flowplayer.fp-minimal .fp-prevbtn:before {
1043
+ content: "\e211"; }
1044
+ .flowplayer.fp-outlined .fp-nextbtn:before, .flowplayer.fp-minimal .fp-nextbtn:before {
1045
+ content: "\e212"; }
1046
+ .flowplayer .fp-color {
1047
+ background-color: #00abcd;
1048
+ fill: rgba(0, 0, 0, 0.2); }
1049
+ .flowplayer .fp-color-play {
1050
+ fill: transparent; }
1051
+ .flowplayer.is-rtl {
1052
+ direction: rtl; }
1053
+ .flowplayer.is-rtl .fp-icon {
1054
+ -webkit-transform: rotate(180deg);
1055
+ -ms-transform: rotate(180deg);
1056
+ transform: rotate(180deg); }
1057
+ .flowplayer.is-rtl .fp-menu .fp-icon {
1058
+ -webkit-transform: none;
1059
+ -ms-transform: none;
1060
+ transform: none; }
1061
+ .flowplayer.-grayscale video.fp-engine {
1062
+ -webkit-filter: grayscale(100%);
1063
+ filter: grayscale(100%); }
1064
+ .flowplayer.-sepia video.fp-engine {
1065
+ -webkit-filter: sepia(100%);
1066
+ filter: sepia(100%); }
1067
+ .flowplayer.-blur video.fp-engine {
1068
+ -webkit-filter: blur(5px);
1069
+ filter: blur(5px); }
1070
+
1071
+ .fp-filters {
1072
+ width: 0 !important;
1073
+ height: 0 !important;
1074
+ overflow: hidden !important;
1075
+ position: absolute; }
1076
+
1077
+
1078
+ /*
1079
+ * FV Player Additions
1080
+ */
1081
+
1082
+ .flowplayer.skin-slim.is-mouseover.is-ready .fp-ui, .flowplayer.skin-slim.is-paused.is-ready .fp-ui, #content .flowplayer.skin-slim.is-paused.is-ready .fp-ui {
1083
+ background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.25)), color-stop(15%, transparent));
1084
+ background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.25), transparent 15%);
1085
+ background-image: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent 15%);
1086
+ }
1087
+ .flowplayer.fixed-controls.skin-slim.is-mouseover.is-ready .fp-ui, .flowplayer.fixed-controls.skin-slim.is-paused.is-ready .fp-ui {
1088
+ background-image: none;
1089
+ }
1090
+ .flowplayer.fixed-controls.skin-slim .fp-controls, .flowplayer.skin-slim .fv-ab-loop, .flowplayer.fixed-controls.skin-slim .fv-ab-loop {
1091
+ background-color: rgba(0, 0, 0, 0.75) !important;
1092
+ }
1093
+
1094
+ .flowplayer { margin: 0 auto 2.8em auto; display: block; max-width: 100%; }
1095
+ .flowplayer.has-caption { margin: 0 auto; }
1096
+ .flowplayer.fixed-controls.has-caption, flowplayer.fixed-controls.has-caption * { margin-bottom: 2.8em; }
1097
+ .flowplayer.fixed-controls { margin-bottom: 5.2em }
1098
+ .flowplayer.fixed-controls.skin-custom {border: none}
1099
+ .flowplayer.has-abloop { margin-bottom: 2.8em; }
1100
+ .flowplayer.fixed-controls.has-abloop { margin-bottom: 5.2em; }
1101
+
1102
+ /* using fp-full and fp-slim at once should only make the timeline full width and nothings else should change */
1103
+ .flowplayer.fp-slim.fp-full .fp-controls {
1104
+ height: 2.4em; }
1105
+ .flowplayer.fp-slim.fp-full .fp-timeline {
1106
+ bottom: 2.4em;
1107
+ height: .2em; }
1108
+
1109
+ /* stop the timeline becoming bold on hover and provide a workaround to make it easier to click */
1110
+ .flowplayer.fp-slim .fp-controls:hover .fp-timeline {
1111
+ height: .2em; }
1112
+ .flowplayer.fp-slim .fp-controls:hover .fp-timeline:before {
1113
+ content: ''; position: absolute; top:-8px; bottom:-8px; left: 0; right: 0 }
1114
+ .flowplayer.fp-slim .fp-controls:hover .fp-bar-slider {
1115
+ height: .2em; }
1116
+ .flowplayer.fp-slim .fp-controls:hover .fp-bar-slider:before {
1117
+ content: ''; position: absolute; top:-8px; bottom:-8px; left: 0; right: 0 }
1118
+
1119
+ .flowplayer.fixed-controls.is-splash .fp-ui .fp-controls, .flowplayer.fixed-controls.is-poster .fp-ui .fp-controls { display: flex; }
1120
+ .flowplayer.fixed-controls.is-splash .fp-timestamp, .flowplayer.fixed-controls.is-poster .fp-timestamp { display: none; }
1121
+ .flowplayer.fixed-controls.is-splash .fp-elapsed, .flowplayer.fixed-controls.is-poster .fp-elapsed { display: none; }
1122
+ .flowplayer.fixed-controls.is-splash .fp-duration, .flowplayer.fixed-controls.is-poster .fp-duration { display: none; }
1123
+ .flowplayer.fixed-controls.is-splash .fp-controls strong, .flowplayer.fixed-controls.is-poster .fp-controls strong { display: none; }
1124
+ .flowplayer.fixed-controls.is-splash .fp-bar, .flowplayer.fixed-controls.is-poster .fp-bar { cursor: pointer; pointer-events: none }
1125
+ .flowplayer.fixed-controls.is-splash .fp-bar-slider, .flowplayer.fixed-controls.is-poster .fp-bar-slider { cursor: pointer; pointer-events: none }
1126
+
1127
+ .flowplayer.fixed-controls .fp-controls, .flowplayer.fixed-controls.is-loading .fp-ui .fp-controls { opacity: 1; filter: alpha(opacity=100); }
1128
+ .flowplayer.fixed-controls {overflow: visible; margin-bottom: 4em}
1129
+ .flowplayer.fixed-controls .fp-controls {bottom: -2.4em}
1130
+ .flowplayer.fixed-controls.fp-full .fp-controls {bottom: -2.8em}
1131
+ .flowplayer.fixed-controls.is-fullscreen .fp-controls {bottom: 0}
1132
+
1133
+ .flowplayer.has-video-checker {overflow: visible}
1134
+
1135
  .fv-fp-splash-text { position: absolute;bottom:20%;z-index:20;text-align:center;width:100%;color:#fff;text-shadow: 0 0 2px #333;background-color: rgba(0,0,0,0.5); font-size: 18px; padding: 5px 36px; pointer-events: none }
1136
+ .flowplayer.is-error .fv-fp-splash-text {display: none}
1137
+
1138
+ .flowplayer video{width:100%;/*needed?*/-ms-transform: translateY(0) translateX(0);-webkit-transform: translateY(0) translateX(0);transform: translateY(0) translateX(0);}
1139
+ /*this might be needed some day: .flowplayer .fp-controls{display: block; z-index: auto;}*/
1140
+ @media (max-width: 600px){
1141
+ .flowplayer .fp-help p{font-size:9px}
1142
+ }
1143
+ /*this might be needed some day: .flowplayer .fp-dropdown li{ line-height: 16px;text-align:center; } */
1144
+ /*this might be needed some day: .flowplayer .fp-tooltip{z-index:22;padding:4px 6px 6px;line-height:1} */
1145
+
1146
+ .flowplayer.is-mouseout .fp-captions{-webkit-transition:bottom 0.15s ease 0.3s;-moz-transition:bottom 0.15s ease 0.3s;transition:bottom 0.15s ease 0.3s}
1147
+ .flowplayer .fp-captions p{display:inline-block;background-color:#000;color:#eee;padding:0 .4em;font-size:16px;border-radius: 5px; margin: 0}
1148
+ .flowplayer.is-fullscreen .fp-captions p{font-size:125%;line-height:1.2}
1149
+ .flowplayer .fp-captions.is-wide br{display:none}
1150
+ .flowplayer .fp-captions p:after{content:'';clear:both}
1151
+ .flowplayer .fp-captions p:first-of-type{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}
1152
+ .flowplayer .fp-captions p:last-of-type{padding-left:0;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}
1153
+ .flowplayer .fp-captions:not(.is-wide) p{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}
1154
+ .flowplayer .fp-captions:not(.is-wide) p{padding-left:0.4em}
1155
+ .flowplayer .fp-captions p b{font-weight:bold}
1156
+ .flowplayer .fp-captions p i{font-style:italic}
1157
+ .flowplayer .fp-captions p u{text-decoration:underline}
1158
+ @media (max-width: 56.25em){
1159
+ .flowplayer .fp-captions br{display:block}
1160
+ .flowplayer .fp-captions p:first-of-type,.flowplayer .fp-captions p:last-of-type{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}
1161
+ .flowplayer .fp-captions p:last-of-type{padding-left:0.4em}
1162
+ }
1163
+ @media (max-width: 40em){
1164
+ .flowplayer .fp-captions{line-height:14px !important}
1165
+ .flowplayer .fp-captions p{font-size:14px !important;line-height:20px !important}
1166
+ }
1167
+ @media (max-width: 30em) {
1168
+ .flowplayer .fp-captions{bottom:4px;line-height:12px !important}
1169
+ .flowplayer .fp-captions p{font-size:11px !important;line-height:18px !important;-webkit-text-shadow:0 0 2px #666;-moz-text-shadow:0 0 2px #666;text-shadow:0 0 2px #666}
1170
+ }
1171
+ /* Fullscreen captions on large screens */
1172
+ @media (min-width: 64.063em) {
1173
+ .flowplayer.is-fullscreen .fp-captions p{font-size:175%;max-width:75%}
1174
+ }
1175
+ @media (min-width: 90.063em) {
1176
+ .flowplayer.is-fullscreen .fp-captions p{font-size:200%}
1177
+ }
1178
+ @media (min-width: 120.063em) {
1179
+ .flowplayer.is-fullscreen .fp-captions p{font-size:225%;max-width:65%}
1180
+ }
1181
+ @media (min-width: 128em) {
1182
+ .flowplayer.is-fullscreen .fp-captions p{font-size:300%}
1183
+ }
1184
+ @media (min-width: 160em) {
1185
+ .flowplayer.is-fullscreen .fp-captions p{font-size:350%}
1186
+ }
1187
+
1188
+
1189
+ /* reducing the spacing in .fp-header */
1190
+ .flowplayer .fp-header { /*background-color: rgba(0, 0, 0, 0.5); height: 2em;*/ padding-left: 0 }
1191
+ .flowplayer .fp-header .fp-icon { margin: 0.5em 0.5em 0 0;line-height: 1 }
1192
+
1193
+ .flowplayer .fvp-share-bar .fvp-sharing a {background: url("img/flp-share-icons-x2.png") no-repeat;background-size:100%}
1194
+
1195
+ /*this might be needed some day: .flowplayer .fp-menu{z-index:21;}*/
1196
+ /*this might be needed some day: .flowplayer .fp-volume{align-items:normal;display:block}*/
1197
+ .flowplayer.is-fullscreen{ max-height:100% !important; }
1198
+ /*this might be needed some day: .flowplayer.is-error h2{color: #000;}*/
1199
+ /*this might be needed some day: .flowplayer.is-mouseout .fp-volume{top:12px}*/
1200
+
1201
+
1202
+
1203
+
1204
+ /* Mailchimp integration, todo: check! */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1205
  .flowplayer .fv_player_popup p{margin:0 12px 6px;line-height:1.35}
1206
+ .flowplayer .wpfp_custom_popup{width:100%;top:0;bottom:0;margin-bottom:2.4em;-webkit-transition:all 0.2s;-moz-transition:all 0.2s;transition:all 0.2s}
 
1207
  .flowplayer .fv_player_popup {background-color:#222;position:relative;top:0;width:100%;height:100%;padding:2em 0 1%}
1208
  .flowplayer .fv_player_popup h1,.flowplayer .fv_player_popup h2,.flowplayer .fv_player_popup h3,.flowplayer .fv_player_popup h4,.flowplayer .fv_player_popup h5,.flowplayer .fv_player_popup h6{margin:0 0 6px !important}
1209
  .mailchimp-form input{width:31.33333333%;max-width:31.33333333%;margin:0 1%}
1223
  .flowplayer.is-fullscreen .fv_player_popup{padding-top:10%}
1224
  .flowplayer.is-fullscreen .fv_player_popup p{margin:0 auto 6px}
1225
  .flowplayer.is-fullscreen .mailchimp-form{padding:30px 25%}
1226
+
 
 
 
 
1227
  @media (max-width: 40em){
1228
  .flowplayer .fp-help p{font-size:9px;}
 
 
1229
  }
1230
  @media (max-width: 30em) {
 
 
1231
  .flowplayer .fv_player_popup {width:99%;font-size:14px;top:0;}
1232
  .flowplayer.is-fv-narrow .fv_player_popup{font-size:0.8em}
1233
  }
1235
  .flowplayer.is-fv-narrow .mailchimp-form{padding:10px 1.5%}
1236
  .flowplayer.is-fv-narrow .fv_player_popup{font-size:0.7em}
1237
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1238
 
1239
+
1240
+ .flowplayer .wpfp_custom_popup form .edd-add-to-cart {float:none;}
1241
+ .flowplayer .wpfp_custom_popup .fv_player_popup p {max-width:100%}
1242
+
1243
+ /*this might be needed some day: .flowplayer .fp-waiting em { opacity: 1 !important; } */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1244
  .flowplayer.is-fullscreen .fp-player{background-color:#000}
1245
 
1246
+
1247
+
1248
+ /* error icon, todo: check! */
1249
+ .is-error.flowplayer .fp-player:before {
1250
+ background: url("img/no-play-white.svg") no-repeat center center;
1251
+ background-size: 14%;
1252
+ z-index: 2;
1253
+ content: '';
1254
+ display: block;
1255
+ height: 100%;
1256
+ position: relative;
1257
+ -webkit-filter: drop-shadow( 0 0 4px #aaa );
1258
+ filter: drop-shadow( 0 0 4px #aaa );
1259
+ }
1260
+
1261
+ .flowplayer video.fp-engine { visibility:visible; }
1262
+ .flowplayer .fp-engine { max-width:100%; }
1263
+ .flowplayer.is-fullscreen .fp-logo{z-index:2147483647;}
1264
+ .flowplayer .fp-logo {max-width:33%;-webkit-tap-highlight-color: rgba(0,0,0,0);}
1265
+ .flowplayer .fp-logo img {box-shadow:none}
1266
+ .flowplayer.fixed-controls .fp-logo {bottom: 15px}
1267
+
1268
+ /* Share bar, todo: check! */
1269
  .flowplayer .fp-embed-code{display:none;}
1270
+ .flowplayer .fvp-share-bar{font-size:12px}
1271
  .is-rtl.flowplayer .fvp-share-bar{left:auto;}
1272
  .flowplayer .fvp-share-bar textarea{width:400px;min-height:130px;font-family: "Lucida Console", Monaco, monospace; color:#777; white-space:nowrap; resize:none;overflow:hidden;border:0;outline:0;background-color:transparent;color:#ccc; border: 1px solid #888;}
1273
  .flowplayer.is-embedding .fp-embed,.flowplayer.is-embedding .fvp-share-bar{display:block;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)}
1274
 
 
 
 
 
 
 
 
 
1275
  /* style reset first */
1276
  .flowplayer .fvp-sharing ul {
1277
  list-style: none !important;
1279
  .fvp-share-bar ul,
1280
  .fvp-share-bar .fvp-sharing,
1281
  #content .fvp-share-bar .fvp-sharing {
1282
+ margin: 0.4em 0 0 0;
 
 
 
1283
  padding: 0 !important;
1284
  float: left;
1285
  font-family: "Lucida Console", Monaco, monospace;
1286
  }
 
 
 
1287
  .fvp-share-bar label {
1288
  text-align: center !important;
1289
  }
1345
  .fvp-share-bar .sharing-link{
1346
  float: left;
1347
  color: #fff;
1348
+ line-height: 22px;
1349
+ padding: .5em;
1350
  font-weight:bold;
1351
  }
1352
+ .flowplayer .fvp-share-bar label{float:left;color:#fff;line-height: 22px;padding: .5em;}
1353
  .flowplayer .fp-embed{display:none}
1354
  /*.flowplayer.is-mouseover.is-ready .fp-embed-code{display:block}*/
1355
+ /*.flowplayer.is-mouseout .fvp-share-bar{opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .15s .3s;-moz-transition:opacity .15s .3s;transition:opacity .15s .3s}
1356
  .flowplayer.is-mouseout .fvp-share-bar.visible{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)}
1357
+ .flowplayer.is-mouseover.is-ready .fvp-share-bar{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} */
1358
  .flowplayer .fp-fullscreen {z-index:1}
1359
+ .flowplayer .fvp-share-bar {display:none;}
1360
  .flowplayer .embed-code {padding: 0 10px 10px; display: none; clear: both; background-color: rgba(0, 0, 0, 0); }
1361
  .flowplayer .embed-code label {clear: both; padding-left: 0px; padding-top: 0; line-height: 16px;}
1362
  #content .flowplayer .fvp-share-bar textarea, .flowplayer .fvp-share-bar textarea { padding: 3px; line-height: 1.4; white-space: pre-wrap; color: black !important; height: auto; min-height: 130px; width: 99%; font-size: 10px; background-color:rgba(255, 255, 255, 1); box-shadow: none; border-radius: 0; cursor: text; }
1364
  /*#content .flowplayer.is-ready .fp-embed-code.visible textarea, .flowplayer.is-ready .fp-embed-code.visible textarea { height: 140px; }*/
1365
  .fvp-share-bar a.embed-code-toggle { font-weight: bold; color: white; }
1366
 
1367
+
1368
+
1369
+
1370
+ /* Prev/next playlist, todo: check! */
1371
  .flowplayer .fp-prev, .flowplayer .fp-next {
1372
  position: absolute;
1373
  top: 44%;
1396
  transition: opacity .15s .3s;
1397
  }
1398
 
1399
+
1400
+
1401
+ @-moz-keyframes blending{
1402
+ to { opacity: 1; }
1403
+ }@-webkit-keyframes blending{
1404
+ to { opacity: 1 }
1405
+ }@-o-keyframes blending{
1406
+ to { opacity: 1 }
1407
+ }@-ms-keyframes blending{
1408
+ to { opacity: 1 }
1409
+ }@keyframes blending{
1410
+ to { opacity: 1 }
1411
+ }
1412
+
1413
+ /*this might be needed some day:
1414
+
1415
+ @-moz-keyframes fade-in {
1416
+ from { transform: opacity 0.5s ease; opacity: 0; filter: alpha(opacity=0); }
1417
+ to { opacity: 1; filter: alpha(opacity=100); }
1418
+ }
1419
+ @-webkit-keyframes fade-in {
1420
+ from { transform: opacity 0.5s ease; opacity: 0; filter: alpha(opacity=0); }
1421
+ to { opacity: 1; filter: alpha(opacity=100); }
1422
+ }
1423
+ @keyframes fade-in {
1424
+ from { transform: opacity 0.5s ease; opacity: 0; filter: alpha(opacity=0); }
1425
+ to { opacity: 1; filter: alpha(opacity=100); }
1426
+ }
1427
+ */
1428
+
1429
+
1430
+
1431
+ /* Other playlist styles */
1432
+
1433
  .fp-playlist-external a,.entry-content .fp-playlist-external a {position:relative;text-decoration:none;border-bottom:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
1434
  .fp-playlist-external a:focus,.entry-content .fp-playlist-external a:focus {outline:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
1435
  .fp-playlist-external a:hover,.entry-content .fp-playlist-external a:hover {-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;text-decoration:none;border-bottom:0}
1463
  .fp-playlist-horizontal.is-wide a:nth-child(3n+1) {clear:none}
1464
  .fp-playlist-horizontal.is-wide a:nth-child(5n+1) {clear:both}
1465
 
1466
+ .fv-playlist-slider-wrapper { overflow-x: scroll; margin-bottom: 24px;-webkit-overflow-scrolling: touch;display:block}
1467
+ .fv-playlist-slider-wrapper .fp-playlist-horizontal { margin-bottom: 8px; width: 2500px;text-align:left }
1468
+ .fv-playlist-slider-wrapper .fp-playlist-horizontal a { width: 200px }
1469
+
1470
  .fp-playlist-vertical {text-align:left;overflow-x:hidden;max-width:100%;background-color:#fff}
1471
  .fp-playlist-vertical-player {float:left!important;max-width:calc( 100% - 156px)!important}
1472
  .fp-playlist-vertical-wrapper {margin-bottom:24px;overflow:hidden;display:block}
1482
  .fp-playlist-external.fp-playlist-vertical a:hover .now-playing {opacity:0}
1483
  .fp-playlist-only-captions.fp-playlist-vertical a h4 {position:relative;top:auto;background-color:transparent;opacity:1;text-shadow:none}
1484
  .fp-playlist-only-captions.fp-playlist-vertical a,.fp-playlist-only-captions.fp-playlist-vertical a:hover h4 {color:#000}
 
 
 
 
1485
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1486
 
1487
  /* Playlist 2014 - classic */
1488
  .fv-playlist-design-2014.fp-playlist-external a h4 {opacity:1;position:relative;margin-bottom:7px;padding:0 10px 4px;color:#000;background-color:transparent}
1499
  .fp-playlist-text-wrapper .fp-playlist-vertical {width:35%}
1500
  .fp-playlist-text-wrapper .fp-playlist-only-captions a .now-playing {display:none}
1501
  .fp-playlist-only-captions.fp-playlist-vertical a {display:block;}
 
1502
  .fp-playlist-text-wrapper.is-fv-narrow .flowplayer,.fp-playlist-text-wrapper.is-fv-narrow .fp-playlist-text,.fp-playlist-text-wrapper.is-fv-narrow .fp-playlist-only-captions,.fp-playlist-vertical-wrapper.is-fv-narrow .flowplayer,.fp-playlist-vertical-wrapper.is-fv-narrow .fp-playlist-vertical {width:100%;float:none;margin-bottom:0}
1503
  .fp-playlist-vertical-wrapper.is-fv-narrow .fp-playlist-vertical a {width:49%;float:left;margin:0.75% 0.5%}
1504
+ .fp-playlist-text-wrapper.is-fv-narrow .fp-playlist-only-captions a {width:100%;float:none;display:block}
1505
+ .fp-playlist-external.fp-playlist-vertical.fp-playlist-only-captions a h4, .entry-content .fp-playlist-external.fp-playlist-vertical.fp-playlist-only-captions a h4 { text-align: left; padding:2px 8px }
1506
+ .fp-playlist-external.fp-playlist-vertical.fp-playlist-only-captions a h4 span { position:relative;top:auto;left:auto;right:auto;-webkit-transform:none;transform:none;padding:0 }
1507
+ .fp-playlist-only-captions.fp-playlist-external .dur { opacity:1;color:#999;position:relative;right:auto;top:auto;text-shadow:none;margin-left:6px; }
1508
+ .fp-playlist-only-captions.fp-playlist-external a:hover .dur { color:#999; }
1509
+
1510
+ /* Some mobiles stuff, todo: check! */
1511
+ @media only screen and (max-width: 48em) {
1512
+ .fp-playlist-horizontal {margin-left:-1px;margin-right:-1px}
1513
+ .fp-playlist-horizontal a,.entry-content .fp-playlist-horizontal a, .flowplayer.is-fv-narrow + .fp-playlist-horizontal a {width: 50%}
1514
+ .fp-playlist-horizontal a:nth-child(3n+1) {clear:none}
1515
+ .fp-playlist-horizontal a:nth-child(2n+1) {clear:both}
1516
+ .fv-playlist-slider-wrapper .fp-playlist-horizontal a,.entry-content .fv-playlist-slider-wrapper .fp-playlist-horizontal a, .flowplayer.is-fv-narrow + .fv-playlist-slider-wrapper .fp-playlist-horizontal a {width: 200px}
1517
+ .is-error.flowplayer .fp-player:before {background-size:17%}
 
 
 
 
 
 
 
 
 
 
 
 
 
1518
  }
1519
+ @media (max-width: 40em){
1520
+ .fv_fp_close a {width:24px;height:24px;background-size:24px 24px}
1521
+ .fp-playlist-horizontal a h4, .fp-playlist-external a h4 {font-size:12px}
1522
+ .fp-playlist-vertical-wrapper .flowplayer,.fp-playlist-vertical-wrapper .fp-playlist-vertical {width:100%;float:none;margin-bottom:0}
1523
+ .fp-playlist-vertical a {width:49%;float:left;margin:0.75% 0.5%}
1524
+ .fp-playlist-only-captions.fp-playlist-vertical a {width:100%;float:none;margin:8px 0}
1525
+ .fp-playlist-vertical a:nth-child(2n+1) {clear:both}
1526
  }
1527
+ @media only screen and (max-width: 30em) {
1528
+ .flowplayer.is-audio .fp-time em {font-size:12px}
1529
+ .fp-playlist-external a h4 {font-size:10px}
 
1530
  }
1531
+ @media only screen and (max-width: 22.44em) {
1532
+ .fp-playlist-vertical-wrapper.is-fv-narrow .fp-playlist-vertical a {width:100%;float:none;margin:0.75% 0.5%}
1533
+ .is-error.flowplayer .fp-player:before {background-size:20%}
1534
  }
1535
 
1536
+
1537
+
1538
+ /*this might be needed some day: .flowplayer.video1, .flowplayer.video2, .flowplayer.video3, .flowplayer.video4, .flowplayer.video5, .flowplayer.video6, .flowplayer.video7, .flowplayer.video8, .flowplayer.video9, .flowplayer.video10, .flowplayer.video11, .flowplayer.video12, .flowplayer.video13, .flowplayer.video14, .flowplayer.video15, .flowplayer.video16 { background-image: none !important; } */
1539
 
1540
+ /*this might be needed some day: .flowplayer .fp-volume { text-align: left; } */
1541
 
 
1542
  #content .flowplayer a, .flowplayer a, .flowplayer a:hover { text-decoration: none; border-bottom: none; -wekbit-box-shadow: none !important; -moz-box-shadow: none !important; box-shadow: none !important; border-bottom: 0 !important; text-decoration: none !important; }
1543
 
1544
+
1545
+
1546
+ /* Popups, todo: check! */
1547
  .flowplayer .wpfp_custom_ad { display: none; overflow: hidden; }
1548
  .flowplayer .wpfp_custom_ad img { height: auto; }
1549
  .flowplayer.is-playing .wpfp_custom_ad, .flowplayer.is-ready .wpfp_custom_ad { display: block; }
1554
 
1555
  .wpfp_custom_ad_content h1, .wpfp_custom_ad_content h2, .wpfp_custom_ad_content h3, .wpfp_custom_ad_content h4, .wpfp_custom_ad_content h5, .wpfp_custom_ad_content p { padding: 0 5px 2px 5px; margin: 0 5px 2px 5px; }
1556
 
1557
+
1558
+
1559
  .flowplayer.alignleft { margin-right: 10px; margin-bottom: 10px; }
1560
  .flowplayer.alignright { margin-left: 10px; margin-bottom: 10px; }
1561
 
1562
+ .flowplayer.is-muted .fp-volumebtn {display: block}
1563
+ .flowplayer.is-muted .fp-volumebar {display: none}
1564
+
1565
+ .flowplayer.no-controlbar .fp-controls {visibility:hidden}
1566
+ .flowplayer.no-controlbar.is-muted .fp-controls .fp-volumebtn {visibility:visible;display:block}
1567
+ .flowplayer.no-controlbar.is-muted .fp-controls .fp-volumebar {display:none}
1568
+
1569
+ /* Caption, todo: check!*/
1570
+ p.fp-caption { text-align: center;max-width: 100%; }
1571
 
 
1572
 
1573
+
1574
+
1575
+ /* Buttons, todo: check! or better not use! */
1576
  .is-splash.flowplayer .fv-player-buttons, .is-loading.flowplayer .fv-player-buttons {
1577
  display: none;
1578
  }
1678
  }
1679
 
1680
 
1681
+ /* Video checker, todo: check! */
1682
  .fvfp_admin_error { position: absolute; top: 10%; z-index: 2; text-align: center; width: 100%; /*color: #fff;*/ }
 
 
 
 
 
 
 
 
 
 
 
 
 
1683
  .fvfp_admin_error { -webkit-animation-name: fade-in; -moz-animation-name: fade-in; -o-animation-name: fade-in; animation-name: fade-in; -webkit-animation-duration: 1s; -moz-animation-duration: 1s; -o-animation-duration: 1s; animation-duration: 1s; -webkit-animation-delay: 5s; -moz-animation-delay: 5s;-o-animation-delay: 5s; animation-delay: 5s; -webkit-animation-fill-mode:both; -moz-animation-fill-mode:both; -o-animation-fill-mode:both; animation-fill-mode:both; }
1684
 
1685
  article .entry-content .fvfp_admin_error p { line-height: 18px }
1686
  .fvfp_admin_error a { /*color: #fff;*/ text-decoration: underline }
1687
  #content .fvfp_admin_error a { /*color: #fff;*/ text-decoration: underline }
1688
+ .fvfp_admin_error_content { /*background: #dd0000;*/ padding: 1% 5%; width: 65%; margin: 0 auto; -webkit-box-shadow: 3px 3px 30px 0px rgba(50, 50, 50, 0.96); -moz-box-shadow: 3px 3px 30px 0px rgba(50, 50, 50, 0.96); box-shadow: 3px 3px 30px 0px rgba(50, 50, 50, 0.96); opacity:0.75;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=75); }
1689
  .flowplayer:hover .fvfp_admin_error { display: block }
1690
 
1691
+
1692
+ /* Duration, todo: check!*/
1693
+ .fvfp_duration { position: absolute; bottom: 0px; right: 1%; z-index: 2; text-align: center; color: #fff; display:none }
1694
  .is-ready .fvfp_duration, .is-loading .fvfp_duration { display: none }
1695
+ .fp-playlist-external .dur { font-style:normal;position:absolute;top:6px;right:6px;color:#fff;line-height:1;text-shadow:0 0 3px #333;opacity:0;-webkit-transition:all 0.3s ease-in-out 0.1s;-moz-transition:all 0.3s ease-in-out 0.1s;transition:all 0.3s ease-in-out 0.1s }
1696
+
1697
+
1698
+ /* No animation, todo: check! */
1699
  .no-animation.flowplayer * { -webkit-transition:none !important;-moz-transition:none !important;transition:none !important }
1700
 
1701
+
1702
+
1703
+
1704
  /*
1705
+ * FV Flowplayer Tabs, todo: check!
1706
  */
1707
  .fv_flowplayer_tabs { margin: 0 auto; }
1708
  .fv_flowplayer_tabs ul.ui-tabs,.fv_flowplayer_tabs ul.ui-tabs-nav{margin:0 !important;font-size:13px;font-family:Arial, Helvetica, sans-serif;font-weight:bold;line-height:24px !important}
1722
 
1723
  .fv_flowplayer_tabs .ui-tabs .ui-tabs-nav li i.dur {display: none; }
1724
 
 
 
 
1725
 
1726
 
1727
+
1728
+ /* Warnings, todo: check! */
1729
+ .fv-player-warning-wrapper{
1730
+ margin: 5px 0 15px;
1731
+ border-left: 4px solid #fff;
1732
+ border-left-color: #46b450;
1733
+ }
1734
+ .fv-player-warning-wrapper p{
1735
+ margin: .5em;
1736
+ padding: 2px;
1737
+ }
1738
+
1739
+
1740
+
1741
+ /* Notices */
1742
+ .fvfp-notices { position: absolute;top:12%;z-index:20;text-align:center;width:100%;color:#fff;text-shadow: 0 0 10px #000; opacity: 1; pointer-events: none}
1743
+ .fvfp-notices a { pointer-events: auto; color:#fff; }
1744
+ .flowplayer .fvfp-notice-content a:hover { color:#eee; }
1745
+ .flowplayer.is-splash .fvfp-notices { display: block }
1746
+ .fv-player-reload { font-size: 5em; display: block }
1747
+
1748
+
1749
+ /* Disable selection, todo: check! */
1750
  .flowplayer {
1751
  -webkit-touch-callout: none;
1752
  -webkit-user-select: none;
1764
  user-select: auto;
1765
  }
1766
 
 
 
 
 
 
 
 
 
 
1767
 
1768
 
 
 
 
1769
 
1770
+ /* Some loading indicator, todo: check */
1771
+ .flowplayer .fv-form-loading{ background:transparent url(loading.gif) 50% 50% no-repeat; }
 
1772
 
 
 
 
1773
 
 
 
 
1774
 
1775
+ /* Chrome download button fix, todo: check! */
1776
+ .flowplayer.chrome55fix video::-internal-media-controls-download-button, .flowplayer.chrome55fix-subtitles video::-internal-media-controls-download-button { display:none; }
1777
+ .flowplayer.chrome55fix video::-webkit-media-controls-enclosure, .flowplayer.chrome55fix-subtitles video::-webkit-media-controls-enclosure { overflow:hidden; }
1778
+ .flowplayer.chrome55fix video::-webkit-media-controls-panel { width: calc(100% + 48px); }
1779
+ .flowplayer.chrome55fix-subtitles video::-webkit-media-controls-panel { width: calc(100% + 96px); }
1780
 
1781
+
1782
+
1783
+ /* Audio player, todo: check! */
1784
  .is-audio .fp-player {
1785
  background-size: contain;
1786
  background-position: top center;
1787
  background-repeat: no-repeat;
1788
  }
1789
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1790
 
1791
+ /* Audio player playlist, todo: check! */
1792
  .flowplayer.is-audio,.site-content .flowplayer.is-audio,.flowplayer.fixed-controls.is-audio {margin-top:40px}
1793
  .flowplayer.is-audio .fv-player-buttons li {margin:0}
1794
  .site-content .flowplayer.is-audio .fp-controls,.site-content .flowplayer.is-audio .fv-ab-loop,.site-content .fv-player-buttons a:active,.site-content .fv-player-buttons a { background-color:#888 !important }
1795
  .is-audio .fp-playlist-external { background-color:#eee }
1796
  .flowplayer.is-audio .fp-controls { height:40px;top:0;bottom:0 }
1797
  .flowplayer.is-audio .fp-play { height:40px !important; width:40px;line-height:40px !important }
 
 
1798
  .flowplayer.fixed-controls.is-audio .fp-time em { bottom:13px }
1799
+ .flowplayer.is-audio .fp-waiting em { margin:0.8em 0.3em 0 }
1800
+ .flowplayer.is-audio.fp-full .fp-timeline { bottom:2.5em }
1801
  .flowplayer.is-audio .fp-time { font-size:14px;text-shadow:none }
 
1802
  .flowplayer.is-audio .fp-mute { width:40px;height:40px }
1803
+ .flowplayer.is-audio .fp-volumebtn { display: block }
1804
+ .flowplayer.is-audio .fp-play.fp-visible svg, .flowplayer.is-audio + .fp-playlist-external a .now-playing { display:none; }
1805
  .is-audio + .fp-playlist-external { counter-reset: 'fv-playlist-counter';background-color:#f0f0f0;border-radius:0 0 10px 10px;border-top:1px solid #fff }
1806
  .flowplayer.is-audio .fp-waiting { margin:0 auto; }
1807
  .flowplayer.is-audio .fp-speed.fp-hilite { opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0); }
1808
+ .flowplayer.is-audio + .visible-captions.fp-playlist-external a h4 span { color:inherit;background-color:transparent; }
1809
+ .flowplayer.is-audio + .fp-playlist-external .dur { color:#666;opacity:1;text-shadow:none;position:static;float:right;}
1810
  .is-audio + .fp-playlist-horizontal {margin-left:0;margin-right:0}
1811
  .is-audio + .fp-playlist-horizontal a div,.entry-content .is-audio + .fp-playlist-horizontal a div,.flowplayer.is-audio .fp-player + a { display:none;bottom:0;background-image:none !important }
1812
  .is-audio + .fp-playlist-external.fp-playlist-horizontal a,.entry-content .is-audio + .fp-playlist-external.fp-playlist-horizontal a,.flowplayer.is-fv-narrow.is-audio + .fp-playlist-external.fp-playlist-horizontal a { counter-increment:fv-playlist-counter;display:block;width:100%;display:block;text-align:left;line-height:1.15;margin:0;padding:6px 12px;border:0;color:#666;clear:both;min-height:26px }
1820
  .flowplayer.is-audio .fv-ab-loop,.flowplayer.fixed-controls.is-audio .fv-ab-loop {bottom:-28px;padding-left:82px}
1821
 
1822
  .flowplayer.is-audio .fp-fullscreen,.flowplayer.is-audio .fp-ratio,.flowplayer.is-audio.is-splash .fp-timeline-tooltip {display:none}
 
1823
  .flowplayer.is-audio.is-error {border:0;margin-bottom:50px}
1824
  .flowplayer.is-audio.is-error h2,.entry-content .flowplayer.is-audio.is-error h2 {margin:0}
1825
  .flowplayer.is-audio .fp-message {padding-top:40px}
1827
  .flowplayer.is-audio .fp-message p {font-size:75%}
1828
 
1829
  .flowplayer.is-audio .fp-duration, .flowplayer.is-audio .fp-elapsed, .flowplayer.is-audio a.fp-play, .flowplayer.is-audio a.fp-mute {color:#eee !important}
1830
+ .flowplayer.is-audio .fp-volumelevel, .flowplayer.is-audio .fp-progress {background-color:#bb0000 !important;border-radius:0}
1831
+ .flowplayer.is-audio .fp-volumeslider, .flowplayer.is-audio .fp-buffer {background-color:#eeeeee !important;border-radius:0}
1832
 
1833
  .fp-playlist-external.is-audio a.is-active,.fp-playlist-external.is-audio a.is-active h4,.fp-playlist-external.is-audio a.is-active h4:before {color:#bb0000}
1834
 
1863
  }
1864
  .flowplayer.is-stickable a.fp-sticky {
1865
  display: block;
1866
+ float: right;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1867
  }
1868
 
1869
  .flowplayer a.fp-sticky:before {
1870
+ content: "\e10f";
1871
  }
1872
 
1873
  div.fp-player.is-sticky-left-top, div.fp-player.is-sticky-right-top , div.fp-player.is-sticky-left-bottom , div.fp-player.is-sticky-right-bottom {
1934
  font-weight: 600;
1935
  border-radius: 3px;
1936
  }
1937
+
1938
+ /* hide tabs during loading */
1939
+ body.fv_flowplayer_tabs_hide .fv_flowplayer_tabs_content > div, body.fv_flowplayer_tabs_hide .fv_flowplayer_tabs_content > ul { display: none }
1940
+ body.fv_flowplayer_tabs_hide .fv_flowplayer_tabs_content > div.fv_flowplayer_tabs_first { display: block }
1941
+
1942
+
1943
+
1944
+ /*
1945
+ * Flowplayer 7 new stuff
1946
+ */
1947
+ .fp-playlist { display: none }
1948
+
1949
+ .flowplayer .fv-fp-playlist-menu .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute !important; width: 1px; }
1950
+ .flowplayer .fp-controls #no-picture-icon, .flowplayer .fp-controls .fvp-icon.fvp-playlist { vertical-align: top; }
1951
+ .flowplayer .fvp-icon { vertical-align: middle; }
1952
+ .flowplayer svg.fvp-icon, .flowplayer .fvp-icon .svg-color { fill: #ffffff; }
1953
+ .flowplayer .fp-menu.fv-fp-playlist-menu { width: 4em; }
1954
+ .flowplayer .fp-menu.fv-fp-playlist-menu .fp-selected::before { content: '' }
1955
+
1956
+ .flowplayer.is-ready.is-paused {
1957
+ background-image: none !important;
1958
+ }
1959
+ .flowplayer .fv-fp-track-repeat svg,
1960
+ .flowplayer .fv-fp-no-picture svg {
1961
+ margin: -3px 0 0;
1962
+ }
1963
+ .flowplayer.is-small .fv-fp-track-repeat svg,
1964
+ .flowplayer.is-small .fv-fp-no-picture svg {
1965
+ width: 16px;
1966
+ height: 16px;
1967
+ }
1968
+ #fvp-playlist-play {
1969
+ display: block;
1970
+ text-align: center;
1971
+ }
1972
+ .fv-fp-playlist .fvp-icon,
1973
+ .fv-fp-playlist #fvp-playlist-play,
1974
+ .flowplayer .fp-menu.fv-fp-playlist-menu .fp-selected::before {
1975
+ display: none;
1976
+ }
1977
+ .fv-fp-playlist.mode-repeat-playlist .fvp-icon.fvp-replay-list,
1978
+ .fv-fp-playlist.mode-shuffle-playlist .fvp-icon.fvp-shuffle,
1979
+ .fv-fp-playlist.mode-repeat-track .fvp-icon.fvp-replay-track,
1980
+ .fv-fp-playlist.mode-normal #fvp-playlist-play {
1981
+ display: block;
1982
+ }
1983
+ .fv-fp-playlist.mode-normal .fvp-icon.fvp-playlist-play {
1984
+ margin-top: 4px;
1985
+ }
1986
+ .flowplayer .fv-fp-no-picture.fp-color {
1987
+ background-color: transparent !important;
1988
+ }
1989
+
1990
+ .fp-menu a.is-current {
1991
+ font-weight: 800;
1992
+ }
flowplayer-beta/embed.min.js DELETED
@@ -1 +0,0 @@
1
- !function n(e,t,r){function o(u,c){if(!t[u]){if(!e[u]){var f="function"==typeof require&&require;if(!c&&f)return f(u,!0);if(i)return i(u,!0);var s=new Error("Cannot find module '"+u+"'");throw s.code="MODULE_NOT_FOUND",s}var a=t[u]={exports:{}};e[u][0].call(a.exports,function(n){var t=e[u][1][n];return o(t?t:n)},a,a.exports,n,e,t,r)}return t[u].exports}for(var i="function"==typeof require&&require,u=0;u<r.length;u++)o(r[u]);return o}({1:[function(n,e,t){function r(n,e){"use strict";var t=n.common.createElement("div");t.setAttribute("data-origin",e.e.href),e.e.parentNode.replaceChild(t,e.e),e.c.e=1,e.c.swf=e.c.swf||p,e.c.swfHls=e.c.swfHls||m,n(t,e.c)}function o(n){"use strict";return"function"==typeof window.requirejs?n():void a("https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.16/require.min.js",n)}function i(n,e){"use strict";o(function(){requirejs([n],e)})}function u(n){"use strict";var e=n.common.createElement("div",{className:"flowplayer"});return e.style.display="none",document.body.appendChild(e),e}function c(n){"use strict";var e=u(n),t=0===window.getComputedStyle(e).getPropertyValue("counter-increment").indexOf("flowplayer");return n.common.removeNode(e),t}function f(n,e){"use strict";return c(n)?e(n):(document.head.appendChild(n.common.createElement("link",{rel:"stylesheet",href:h})),void e(n))}var s=window._fpes,a=n("scriptjs"),l="//releases.flowplayer.org/7.2.6/commercial",d=l+"/flowplayer.min.js",p=l+"/flowplayer.swf",m=l+"/flowplayerhls.swf",h=l+"/skin/functional.css";s.forEach(function(n){"use strict";i(n.l||d,function(e){f(e,function(e){r(e,n)})})})},{scriptjs:2}],2:[function(n,e,t){!function(n,t){"undefined"!=typeof e&&e.exports?e.exports=t():"function"==typeof define&&define.amd?define(t):this[n]=t()}("$script",function(){function n(n,e){for(var t=0,r=n.length;r>t;++t)if(!e(n[t]))return f;return 1}function e(e,t){n(e,function(n){return!t(n)})}function t(i,u,c){function f(n){return n.call?n():d[n]}function a(){if(!--w){d[y]=1,v&&v();for(var t in m)n(t.split("|"),f)&&!e(m[t],f)&&(m[t]=[])}}i=i[s]?i:[i];var l=u&&u.call,v=l?u:c,y=l?i.join(""):u,w=i.length;return setTimeout(function(){e(i,function n(e,t){return null===e?a():(t||/^https?:\/\//.test(e)||!o||(e=-1===e.indexOf(".js")?o+e+".js":o+e),h[e]?(y&&(p[y]=1),2==h[e]?a():setTimeout(function(){n(e,!0)},0)):(h[e]=1,y&&(p[y]=1),void r(e,a)))})},0),t}function r(n,e){var t,r=u.createElement("script");r.onload=r.onerror=r[l]=function(){r[a]&&!/^c|loade/.test(r[a])||t||(r.onload=r[l]=null,t=1,h[n]=2,e())},r.async=1,r.src=i?n+(-1===n.indexOf("?")?"?":"&")+i:n,c.insertBefore(r,c.lastChild)}var o,i,u=document,c=u.getElementsByTagName("head")[0],f=!1,s="push",a="readyState",l="onreadystatechange",d={},p={},m={},h={};return t.get=r,t.order=function(n,e,r){!function o(i){i=n.shift(),n.length?t(i,o):t(i,e,r)}()},t.path=function(n){o=n},t.urlArgs=function(n){i=n},t.ready=function(r,o,i){r=r[s]?r:[r];var u=[];return!e(r,function(n){d[n]||u[s](n)})&&n(r,function(n){return d[n]})?o():!function(n){m[n]=m[n]||[],m[n][s](o),i&&i(u)}(r.join("|")),t},t.done=function(n){t([null],n)},t})},{}]},{},[1]);
 
flowplayer-beta/flowplayer.dashjs.min.js DELETED
@@ -1,659 +0,0 @@
1
- /*! v2.7.0-89f738a1, 2018-05-30T13:16:45Z */
2
- !function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c||a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(b,c,d){"use strict";var e={};e.encode=function(a){for(var b=[],c=0;c<a.length;++c){var d=a.charCodeAt(c);d<128?b.push(d):d<2048?(b.push(192|d>>6),b.push(128|63&d)):d<65536?(b.push(224|d>>12),b.push(128|63&d>>6),b.push(128|63&d)):(b.push(240|d>>18),b.push(128|63&d>>12),b.push(128|63&d>>6),b.push(128|63&d))}return b},e.decode=function(a){for(var b=[],c=0;c<a.length;){var d=a[c++];d<128||(d<224?(d=(31&d)<<6,d|=63&a[c++]):d<240?(d=(15&d)<<12,d|=(63&a[c++])<<6,d|=63&a[c++]):(d=(7&d)<<18,d|=(63&a[c++])<<12,d|=(63&a[c++])<<6,d|=63&a[c++])),b.push(String.fromCharCode(d))}return b.join("")};var f={};!function(b){var c=function(a){for(var c=0,d=[],e=0|a.length/3;0<e--;){var f=(a[c]<<16)+(a[c+1]<<8)+a[c+2];c+=3,d.push(b.charAt(63&f>>18)),d.push(b.charAt(63&f>>12)),d.push(b.charAt(63&f>>6)),d.push(b.charAt(63&f))}if(2==a.length-c){var f=(a[c]<<16)+(a[c+1]<<8);d.push(b.charAt(63&f>>18)),d.push(b.charAt(63&f>>12)),d.push(b.charAt(63&f>>6)),d.push("=")}else if(1==a.length-c){var f=a[c]<<16;d.push(b.charAt(63&f>>18)),d.push(b.charAt(63&f>>12)),d.push("==")}return d.join("")},d=function(){for(var a=[],c=0;c<b.length;++c)a[b.charCodeAt(c)]=c;return a["=".charCodeAt(0)]=0,a}(),g=function(a){for(var b=0,c=[],e=0|a.length/4;0<e--;){var f=(d[a.charCodeAt(b)]<<18)+(d[a.charCodeAt(b+1)]<<12)+(d[a.charCodeAt(b+2)]<<6)+d[a.charCodeAt(b+3)];c.push(255&f>>16),c.push(255&f>>8),c.push(255&f),b+=4}return c&&("="==a.charAt(b-2)?(c.pop(),c.pop()):"="==a.charAt(b-1)&&c.pop()),c},h={};h.encode=function(a){for(var b=[],c=0;c<a.length;++c)b.push(a.charCodeAt(c));return b},h.decode=function(b){for(var c=0;c<s.length;++c)a[c]=String.fromCharCode(a[c]);return a.join("")},f.decodeArray=function(a){var b=g(a);return new Uint8Array(b)},f.encodeASCII=function(a){var b=h.encode(a);return c(b)},f.decodeASCII=function(a){var b=g(a);return h.decode(b)},f.encode=function(a){var b=e.encode(a);return c(b)},f.decode=function(a){var b=g(a);return e.decode(b)}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),void 0!==d&&(d.decode=f.decode,d.decodeArray=f.decodeArray,d.encode=f.encode,d.encodeASCII=f.encodeASCII)},{}],2:[function(a,b,c){"use strict";!function(a){var b={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},c=function(a){var c=a;return b.hasOwnProperty(a)&&(c=b[a]),String.fromCharCode(c)},d=15,e=32,f={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},g={17:2,18:4,21:6,22:8,23:10,19:13,20:15},h={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},i={25:2,26:4,29:6,30:8,31:10,27:13,28:15},j=["white","green","blue","cyan","red","yellow","magenta","black","transparent"],k={verboseFilter:{DATA:3,DEBUG:3,INFO:2,WARNING:2,TEXT:1,ERROR:0},time:null,verboseLevel:0,setTime:function(a){this.time=a},log:function(a,b){var c=this.verboseFilter[a];this.verboseLevel>=c&&console.log(this.time+" ["+a+"] "+b)}},l=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a[c].toString(16));return b},m=function(a,b,c,d,e){this.foreground=a||"white",this.underline=b||!1,this.italics=c||!1,this.background=d||"black",this.flash=e||!1};m.prototype={reset:function(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1},setStyles:function(a){for(var b=["foreground","underline","italics","background","flash"],c=0;c<b.length;c++){var d=b[c];a.hasOwnProperty(d)&&(this[d]=a[d])}},isDefault:function(){return"white"===this.foreground&&!this.underline&&!this.italics&&"black"===this.background&&!this.flash},equals:function(a){return this.foreground===a.foreground&&this.underline===a.underline&&this.italics===a.italics&&this.background===a.background&&this.flash===a.flash},copy:function(a){this.foreground=a.foreground,this.underline=a.underline,this.italics=a.italics,this.background=a.background,this.flash=a.flash},toString:function(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash}};var n=function(a,b,c,d,e,f){this.uchar=a||" ",this.penState=new m(b,c,d,e,f)};n.prototype={reset:function(){this.uchar=" ",this.penState.reset()},setChar:function(a,b){this.uchar=a,this.penState.copy(b)},setPenState:function(a){this.penState.copy(a)},equals:function(a){return this.uchar===a.uchar&&this.penState.equals(a.penState)},copy:function(a){this.uchar=a.uchar,this.penState.copy(a.penState)},isEmpty:function(){return" "===this.uchar&&this.penState.isDefault()}};var o=function(){this.chars=[];for(var a=0;a<e;a++)this.chars.push(new n);this.pos=0,this.currPenState=new m};o.prototype={equals:function(a){for(var b=!0,c=0;c<e;c++)if(!this.chars[c].equals(a.chars[c])){b=!1;break}return b},copy:function(a){for(var b=0;b<e;b++)this.chars[b].copy(a.chars[b])},isEmpty:function(){for(var a=!0,b=0;b<e;b++)if(!this.chars[b].isEmpty()){a=!1;break}return a},setCursor:function(a){this.pos!==a&&(this.pos=a),this.pos<0?(k.log("ERROR","Negative cursor position "+this.pos),this.pos=0):this.pos>e&&(k.log("ERROR","Too large cursor position "+this.pos),this.pos=e)},moveCursor:function(a){var b=this.pos+a;if(a>1)for(var c=this.pos+1;c<b+1;c++)this.chars[c].setPenState(this.currPenState);this.setCursor(b)},backSpace:function(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)},insertChar:function(a){a>=144&&this.backSpace();var b=c(a);if(this.pos>=e)return void k.log("ERROR","Cannot insert "+a.toString(16)+" ("+b+") at position "+this.pos+". Skipping it!");this.chars[this.pos].setChar(b,this.currPenState),this.moveCursor(1)},clearFromPos:function(a){var b;for(b=a;b<e;b++)this.chars[b].reset()},clear:function(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()},clearToEndOfRow:function(){this.clearFromPos(this.pos)},getTextString:function(){for(var a=[],b=!0,c=0;c<e;c++){var d=this.chars[c].uchar;" "!==d&&(b=!1),a.push(d)}return b?"":a.join("")},setPenStyles:function(a){this.currPenState.setStyles(a),this.chars[this.pos].setPenState(this.currPenState)}};var p=function(){this.rows=[];for(var a=0;a<d;a++)this.rows.push(new o);this.currRow=d-1,this.nrRollUpRows=null,this.reset()};p.prototype={reset:function(){for(var a=0;a<d;a++)this.rows[a].clear();this.currRow=d-1},equals:function(a){for(var b=!0,c=0;c<d;c++)if(!this.rows[c].equals(a.rows[c])){b=!1;break}return b},copy:function(a){for(var b=0;b<d;b++)this.rows[b].copy(a.rows[b])},isEmpty:function(){for(var a=!0,b=0;b<d;b++)if(!this.rows[b].isEmpty()){a=!1;break}return a},backSpace:function(){this.rows[this.currRow].backSpace()},clearToEndOfRow:function(){this.rows[this.currRow].clearToEndOfRow()},insertChar:function(a){this.rows[this.currRow].insertChar(a)},setPen:function(a){this.rows[this.currRow].setPenStyles(a)},moveCursor:function(a){this.rows[this.currRow].moveCursor(a)},setCursor:function(a){k.log("INFO","setCursor: "+a),this.rows[this.currRow].setCursor(a)},setPAC:function(a){k.log("INFO","pacData = "+JSON.stringify(a));var b=a.row-1;this.nrRollUpRows&&b<this.nrRollUpRows-1&&(b=this.nrRollUpRows-1),this.currRow=b;var c=this.rows[this.currRow];if(null!==a.indent){var d=a.indent,e=Math.max(d-1,0);c.setCursor(a.indent),a.color=c.chars[e].penState.foreground}var f={foreground:a.color,underline:a.underline,italics:a.italics,background:"black",flash:!1};this.setPen(f)},setBkgData:function(a){k.log("INFO","bkgData = "+JSON.stringify(a)),this.backSpace(),this.setPen(a),this.insertChar(32)},setRollUpRows:function(a){this.nrRollUpRows=a},rollUp:function(){if(null===this.nrRollUpRows)return void k.log("DEBUG","roll_up but nrRollUpRows not set yet");k.log("TEXT",this.getDisplayText());var a=this.currRow+1-this.nrRollUpRows,b=this.rows.splice(a,1)[0];b.clear(),this.rows.splice(this.currRow,0,b),k.log("INFO","Rolling up")},getDisplayText:function(a){a=a||!1;for(var b=[],c="",e=-1,f=0;f<d;f++){var g=this.rows[f].getTextString();g&&(e=f+1,a?b.push("Row "+e+': "'+g+'"'):b.push(g.trim()))}return b.length>0&&(c=a?"["+b.join(" | ")+"]":b.join("\n")),c},getTextAndFormat:function(){return this.rows}};var q=function(a,b){this.chNr=a,this.outputFilter=b,this.mode=null,this.verbose=0,this.displayedMemory=new p,this.nonDisplayedMemory=new p,this.lastOutputScreen=new p,this.currRollUpRow=this.displayedMemory.rows[d-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null};q.prototype={modes:["MODE_ROLL-UP","MODE_POP-ON","MODE_PAINT-ON","MODE_TEXT"],reset:function(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.currRollUpRow=this.displayedMemory.rows[d-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.lastCueEndTime=null},getHandler:function(){return this.outputFilter},setHandler:function(a){this.outputFilter=a},setPAC:function(a){this.writeScreen.setPAC(a)},setBkgData:function(a){this.writeScreen.setBkgData(a)},setMode:function(a){a!==this.mode&&(this.mode=a,k.log("INFO","MODE="+a),"MODE_POP-ON"==this.mode?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),"MODE_ROLL-UP"!==this.mode&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=a)},insertChars:function(a){for(var b=0;b<a.length;b++)this.writeScreen.insertChar(a[b]);var c=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";k.log("INFO",c+": "+this.writeScreen.getDisplayText(!0)),"MODE_PAINT-ON"!==this.mode&&"MODE_ROLL-UP"!==this.mode||(k.log("TEXT","DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())},cc_RCL:function(){k.log("INFO","RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")},cc_BS:function(){k.log("INFO","BS - BackSpace"),"MODE_TEXT"!==this.mode&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())},cc_AOF:function(){},cc_AON:function(){},cc_DER:function(){k.log("INFO","DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()},cc_RU:function(a){k.log("INFO","RU("+a+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(a)},cc_FON:function(){k.log("INFO","FON - Flash On"),this.writeScreen.setPen({flash:!0})},cc_RDC:function(){k.log("INFO","RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")},cc_TR:function(){k.log("INFO","TR"),this.setMode("MODE_TEXT")},cc_RTD:function(){k.log("INFO","RTD"),this.setMode("MODE_TEXT")},cc_EDM:function(){k.log("INFO","EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate()},cc_CR:function(){k.log("CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate()},cc_ENM:function(){k.log("INFO","ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()},cc_EOC:function(){if(k.log("INFO","EOC - End Of Caption"),"MODE_POP-ON"===this.mode){var a=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=a,this.writeScreen=this.nonDisplayedMemory,k.log("TEXT","DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate()},cc_TO:function(a){k.log("INFO","TO("+a+") - Tab Offset"),this.writeScreen.moveCursor(a)},cc_MIDROW:function(a){var b={flash:!1};if(b.underline=a%2==1,b.italics=a>=46,b.italics)b.foreground="white";else{var c=Math.floor(a/2)-16,d=["white","green","blue","cyan","red","yellow","magenta"];b.foreground=d[c]}k.log("INFO","MIDROW: "+JSON.stringify(b)),this.writeScreen.setPen(b)},outputDataUpdate:function(){var a=k.time;null!==a&&this.outputFilter&&(this.outputFilter.updateData&&this.outputFilter.updateData(a,this.displayedMemory),null!==this.cueStartTime||this.displayedMemory.isEmpty()?this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,a,this.lastOutputScreen),this.cueStartTime=this.displayedMemory.isEmpty()?null:a):this.cueStartTime=a,this.lastOutputScreen.copy(this.displayedMemory))},cueSplitAtTime:function(a){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,a,this.displayedMemory),this.cueStartTime=a))}};var r=function(a,b,c){this.field=a||1,this.outputs=[b,c],this.channels=[new q(1,b),new q(2,c)],this.currChNr=-1,this.lastCmdA=null,this.lastCmdB=null,this.bufferedData=[],this.startTime=null,this.lastTime=null,this.dataCounters={padding:0,char:0,cmd:0,other:0}};r.prototype={getHandler:function(a){return this.channels[a].getHandler()},setHandler:function(a,b){this.channels[a].setHandler(b)},addData:function(a,b){var c,d,e,f=!1;this.lastTime=a,k.setTime(a);for(var g=0;g<b.length;g+=2)if(d=127&b[g],e=127&b[g+1],d>=16&&d<=31&&d===this.lastCmdA&&e===this.lastCmdB)this.lastCmdA=null,this.lastCmdB=null,k.log("DEBUG","Repeated command ("+l([d,e])+") is dropped");else if(0!==d||0!==e){if(k.log("DATA","["+l([b[g],b[g+1]])+"] -> ("+l([d,e])+")"),c=this.parseCmd(d,e),c||(c=this.parseMidrow(d,e)),c||(c=this.parsePAC(d,e)),c||(c=this.parseBackgroundAttributes(d,e)),!c&&(f=this.parseChars(d,e)))if(this.currChNr&&this.currChNr>=0){var h=this.channels[this.currChNr-1];h.insertChars(f)}else k.log("WARNING","No channel found yet. TEXT-MODE?");c?this.dataCounters.cmd+=2:f?this.dataCounters.char+=2:(this.dataCounters.other+=2,k.log("WARNING","Couldn't parse cleaned data "+l([d,e])+" orig: "+l([b[g],b[g+1]])))}else this.dataCounters.padding+=2},parseCmd:function(a,b){var c=null,d=(20===a||21===a||28===a||29===a)&&32<=b&&b<=47,e=(23===a||31===a)&&33<=b&&b<=35;if(!d&&!e)return!1;c=20===a||21===a||23===a?1:2;var f=this.channels[c-1];return 20===a||21===a||28===a||29===a?32===b?f.cc_RCL():33===b?f.cc_BS():34===b?f.cc_AOF():35===b?f.cc_AON():36===b?f.cc_DER():37===b?f.cc_RU(2):38===b?f.cc_RU(3):39===b?f.cc_RU(4):40===b?f.cc_FON():41===b?f.cc_RDC():42===b?f.cc_TR():43===b?f.cc_RTD():44===b?f.cc_EDM():45===b?f.cc_CR():46===b?f.cc_ENM():47===b&&f.cc_EOC():f.cc_TO(b-32),this.lastCmdA=a,this.lastCmdB=b,this.currChNr=c,!0},parseMidrow:function(a,b){var c=null;if((17===a||25===a)&&32<=b&&b<=47){if((c=17===a?1:2)!==this.currChNr)return k.log("ERROR","Mismatch channel in midrow parsing"),!1;var d=this.channels[c-1];return d.insertChars([32]),d.cc_MIDROW(b),k.log("DEBUG","MIDROW ("+l([a,b])+")"),this.lastCmdA=a,this.lastCmdB=b,!0}return!1},parsePAC:function(a,b){var c=null,d=null,e=(17<=a&&a<=23||25<=a&&a<=31)&&64<=b&&b<=127,j=(16===a||24===a)&&64<=b&&b<=95;if(!e&&!j)return!1;c=a<=23?1:2,d=64<=b&&b<=95?1===c?f[a]:h[a]:1===c?g[a]:i[a];var k=this.interpretPAC(d,b);return this.channels[c-1].setPAC(k),this.lastCmdA=a,this.lastCmdB=b,this.currChNr=c,!0},interpretPAC:function(a,b){var c=b,d={color:null,italics:!1,indent:null,underline:!1,row:a};return c=b>95?b-96:b-64,d.underline=1==(1&c),c<=13?d.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(c/2)]:c<=15?(d.italics=!0,d.color="white"):d.indent=4*Math.floor((c-16)/2),d},parseChars:function(a,b){var d=null,e=null,f=null;if(a>=25?(d=2,f=a-8):(d=1,f=a),17<=f&&f<=19){var g=b;g=17===f?b+80:18===f?b+112:b+144,k.log("INFO","Special char '"+c(g)+"' in channel "+d),e=[g],this.lastCmdA=a,this.lastCmdB=b}else 32<=a&&a<=127&&(e=0===b?[a]:[a,b],this.lastCmdA=null,this.lastCmdB=null);if(e){var h=l(e);k.log("DEBUG","Char codes = "+h.join(","))}return e},parseBackgroundAttributes:function(a,b){var c,d,e,f,g=(16===a||24===a)&&32<=b&&b<=47,h=(23===a||31===a)&&45<=b&&b<=47;return!(!g&&!h)&&(c={},16===a||24===a?(d=Math.floor((b-32)/2),c.background=j[d],b%2==1&&(c.background=c.background+"_semi")):45===b?c.background="transparent":(c.foreground="black",47===b&&(c.underline=!0)),e=a<24?1:2,f=this.channels[e-1],f.setBkgData(c),this.lastCmdA=a,this.lastCmdB=b,!0)},reset:function(){for(var a=0;a<this.channels.length;a++)this.channels[a]&&this.channels[a].reset();this.lastCmdA=null,this.lastCmdB=null},cueSplitAtTime:function(a){for(var b=0;b<this.channels.length;b++)this.channels[b]&&this.channels[b].cueSplitAtTime(a)}};var s=function(a,b,c){for(var d=0,e=b,f=[],g=function(a,b,c,d){if(4!==a||b<8)return null;var e=c.getUint8(d),f=c.getUint16(d+1),g=c.getUint32(d+3),h=c.getUint8(d+7);return 181==e&&49==f&&1195456820==g&&3==h};e<b+c;){if(d=a.getUint32(e),6===(31&a.getUint8(e+4)))for(var h=e+5,i=-1;h<e+4+d-1;){i=0;for(var j=255;255===j;)j=a.getUint8(h),i+=j,h++;var k=0;for(j=255;255===j;)j=a.getUint8(h),k+=j,h++;g(i,k,a,h)&&f.push([h,k]),h+=k}e+=d+4}return f},t=function(a,b){var c=b[0],d=[[],[]];c+=8;var e=31&a.getUint8(c);c+=2;for(var f=0;f<e;f++){var g=a.getUint8(c),h=4&g,i=3&g;c++;var j=a.getUint8(c);c++;var k=a.getUint8(c);c++,h&&(127&j)+(127&k)!=0&&(0===i?(d[0].push(j),d[0].push(k)):1===i&&(d[1].push(j),d[1].push(k)))}return d};a.logger=k,a.PenState=m,a.CaptionScreen=p,a.Cea608Parser=r,a.findCea608Nalus=s,a.extractCea608DataFromRange=t}(void 0===c?(void 0).cea608parser={}:c)},{}],3:[function(a,b,c){"use strict";function d(a){function b(){void 0===a.escapeMode&&(a.escapeMode=!0),void 0===a.attributePrefix&&(a.attributePrefix="_"),a.arrayAccessForm=a.arrayAccessForm||"none",a.emptyNodeForm=a.emptyNodeForm||"text",void 0===a.enableToStringFunc&&(a.enableToStringFunc=!0),a.arrayAccessFormPaths=a.arrayAccessFormPaths||[],void 0===a.skipEmptyTextNodesForObj&&(a.skipEmptyTextNodesForObj=!0),void 0===a.stripWhitespaces&&(a.stripWhitespaces=!0),a.datetimeAccessFormPaths=a.datetimeAccessFormPaths||[],void 0===a.useDoubleQuotes&&(a.useDoubleQuotes=!1),a.xmlElementsFilter=a.xmlElementsFilter||[],a.jsonPropertiesFilter=a.jsonPropertiesFilter||[],void 0===a.keepCData&&(a.keepCData=!1),void 0===a.ignoreRoot&&(a.ignoreRoot=!1)}function c(){}function d(a){var b=a.localName;return null==b&&(b=a.baseName),null!=b&&""!=b||(b=a.nodeName),b}function e(a){return a.prefix}function f(a){return"string"==typeof a?a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;"):a}function g(a,b,c,d){for(var e=0;e<a.length;e++){var f=a[e];if("string"==typeof f){if(f==d)break}else if(f instanceof RegExp){if(f.test(d))break}else if("function"==typeof f&&f(b,c,d))break}return e!=a.length}function h(b,c,d){switch(a.arrayAccessForm){case"property":b[c]instanceof Array?b[c+"_asArray"]=b[c]:b[c+"_asArray"]=[b[c]]}!(b[c]instanceof Array)&&a.arrayAccessFormPaths.length>0&&g(a.arrayAccessFormPaths,b,c,d)&&(b[c]=[b[c]])}function i(a){var b=a.split(/[-T:+Z]/g),c=new Date(b[0],b[1]-1,b[2]),d=b[5].split(".");if(c.setHours(b[3],b[4],d[0]),d.length>1&&c.setMilliseconds(d[1]),b[6]&&b[7]){var e=60*b[6]+Number(b[7]);e=0+("-"==(/\d\d-\d\d:\d\d$/.test(a)?"-":"+")?-1*e:e),c.setMinutes(c.getMinutes()-e-c.getTimezoneOffset())}else-1!==a.indexOf("Z",a.length-1)&&(c=new Date(Date.UTC(c.getFullYear(),c.getMonth(),c.getDate(),c.getHours(),c.getMinutes(),c.getSeconds(),c.getMilliseconds())));return c}function j(b,c,d){if(a.datetimeAccessFormPaths.length>0){var e=d.split(".#")[0];return g(a.datetimeAccessFormPaths,b,c,e)?i(b):b}return b}function k(b,c,d,e){return!(c==z.ELEMENT_NODE&&a.xmlElementsFilter.length>0)||g(a.xmlElementsFilter,b,d,e)}function l(b,c){if(b.nodeType==z.DOCUMENT_NODE){for(var f=new Object,g=b.childNodes,i=0;i<g.length;i++){var m=g[i];if(m.nodeType==z.ELEMENT_NODE)if(a.ignoreRoot)f=l(m);else{f={};var n=d(m);f[n]=l(m)}}return f}if(b.nodeType==z.ELEMENT_NODE){var f=new Object;f.__cnt=0;for(var o=[],g=b.childNodes,i=0;i<g.length;i++){var m=g[i],n=d(m);if(m.nodeType!=z.COMMENT_NODE){var p=c+"."+n;if(k(f,m.nodeType,n,p))if(f.__cnt++,null==f[n]){var q=l(m,p);if("#text"!=n||/[^\s]/.test(q)){var r={};r[n]=q,o.push(r)}f[n]=q,h(f,n,p)}else{null!=f[n]&&(f[n]instanceof Array||(f[n]=[f[n]],h(f,n,p)));var q=l(m,p);if("#text"!=n||/[^\s]/.test(q)){var r={};r[n]=q,o.push(r)}f[n][f[n].length]=q}}}f.__children=o;for(var s=d(b),t=0;t<b.attributes.length;t++){var u=b.attributes[t];f.__cnt++;for(var v=u.value,w=0,x=a.matchers.length;w<x;w++){var y=a.matchers[w];y.test(u,s)&&(v=y.converter(u.value))}f[a.attributePrefix+u.name]=v}var A=e(b);return null!=A&&""!=A&&(f.__cnt++,f.__prefix=A),null!=f["#text"]&&(f.__text=f["#text"],f.__text instanceof Array&&(f.__text=f.__text.join("\n")),a.stripWhitespaces&&(f.__text=f.__text.trim()),delete f["#text"],"property"==a.arrayAccessForm&&delete f["#text_asArray"],f.__text=j(f.__text,n,c+"."+n)),null!=f["#cdata-section"]&&(f.__cdata=f["#cdata-section"],delete f["#cdata-section"],"property"==a.arrayAccessForm&&delete f["#cdata-section_asArray"]),0==f.__cnt&&"text"==a.emptyNodeForm?f="":1==f.__cnt&&null!=f.__text?f=f.__text:1!=f.__cnt||null==f.__cdata||a.keepCData?f.__cnt>1&&null!=f.__text&&a.skipEmptyTextNodesForObj&&(a.stripWhitespaces&&""==f.__text||""==f.__text.trim())&&delete f.__text:f=f.__cdata,delete f.__cnt,!a.enableToStringFunc||null==f.__text&&null==f.__cdata||(f.toString=function(){return(null!=this.__text?this.__text:"")+(null!=this.__cdata?this.__cdata:"")}),f}if(b.nodeType==z.TEXT_NODE||b.nodeType==z.CDATA_SECTION_NODE)return b.nodeValue}function m(b,c,d,e){var g="<"+(null!=b&&null!=b.__prefix?b.__prefix+":":"")+c;if(null!=d)for(var h=0;h<d.length;h++){var i=d[h],j=b[i];a.escapeMode&&(j=f(j)),g+=" "+i.substr(a.attributePrefix.length)+"=",a.useDoubleQuotes?g+='"'+j+'"':g+="'"+j+"'"}return g+=e?"/>":">"}function n(a,b){return"</"+(null!=a.__prefix?a.__prefix+":":"")+b+">"}function o(a,b){return-1!==a.indexOf(b,a.length-b.length)}function p(b,c){return!!("property"==a.arrayAccessForm&&o(c.toString(),"_asArray")||0==c.toString().indexOf(a.attributePrefix)||0==c.toString().indexOf("__")||b[c]instanceof Function)}function q(a){var b=0;if(a instanceof Object)for(var c in a)p(a,c)||b++;return b}function r(b,c,d){return 0==a.jsonPropertiesFilter.length||""==d||g(a.jsonPropertiesFilter,b,c,d)}function s(b){var c=[];if(b instanceof Object)for(var d in b)-1==d.toString().indexOf("__")&&0==d.toString().indexOf(a.attributePrefix)&&c.push(d);return c}function t(b){var c="";return null!=b.__cdata&&(c+="<![CDATA["+b.__cdata+"]]>"),null!=b.__text&&(a.escapeMode?c+=f(b.__text):c+=b.__text),c}function u(b){var c="";return b instanceof Object?c+=t(b):null!=b&&(a.escapeMode?c+=f(b):c+=b),c}function v(a,b){return""===a?b:a+"."+b}function w(a,b,c,d){var e="";if(0==a.length)e+=m(a,b,c,!0);else for(var f=0;f<a.length;f++)e+=m(a[f],b,s(a[f]),!1),e+=x(a[f],v(d,b)),e+=n(a[f],b);return e}function x(a,b){var c="";if(q(a)>0)for(var d in a)if(!p(a,d)&&(""==b||r(a,d,v(b,d)))){var e=a[d],f=s(e);if(null==e||void 0==e)c+=m(e,d,f,!0);else if(e instanceof Object)if(e instanceof Array)c+=w(e,d,f,b);else if(e instanceof Date)c+=m(e,d,f,!1),c+=e.toISOString(),c+=n(e,d);else{var g=q(e);g>0||null!=e.__text||null!=e.__cdata?(c+=m(e,d,f,!1),c+=x(e,v(b,d)),c+=n(e,d)):c+=m(e,d,f,!0)}else c+=m(e,d,f,!1),c+=u(e),c+=n(e,d)}return c+=u(a)}var y="1.2.0";a=a||{},b(),c();var z={ELEMENT_NODE:1,TEXT_NODE:3,CDATA_SECTION_NODE:4,COMMENT_NODE:8,DOCUMENT_NODE:9};this.parseXmlString=function(a){window.ActiveXObject||window;if(void 0===a)return null;var b;if(window.DOMParser){var c=new window.DOMParser;try{b=c.parseFromString(a,"text/xml"),b.getElementsByTagNameNS("*","parsererror").length>0&&(b=null)}catch(d){b=null}}else 0==a.indexOf("<?")&&(a=a.substr(a.indexOf("?>")+2)),b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a);return b},this.asArray=function(a){return void 0===a||null==a?[]:a instanceof Array?a:[a]},this.toXmlDateTime=function(a){return a instanceof Date?a.toISOString():"number"==typeof a?new Date(a).toISOString():null},this.asDateTime=function(a){return"string"==typeof a?i(a):a},this.xml2json=function(a){return l(a)},this.xml_str2json=function(a){var b=this.parseXmlString(a);return null!=b?this.xml2json(b):null},this.json2xml_str=function(a){return x(a,"")},this.json2xml=function(a){var b=this.json2xml_str(a);return this.parseXmlString(b)},this.getVersion=function(){return y}}Object.defineProperty(c,"__esModule",{value:!0}),c.default=d,b.exports=c.default},{}],4:[function(a,b,c){(function(b){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(c,"__esModule",{value:!0});var e=a(90),f=d(e),g=a(46),h=d(g),i=a(47),j="undefined"!=typeof window&&window||b,k=j.dashjs;k||(k=j.dashjs={}),k.MediaPlayer=f.default,k.FactoryMaker=h.default,k.Version=(0,i.getVersionString)(),c.default=k,c.MediaPlayer=f.default,c.FactoryMaker=h.default}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{46:46,47:47,90:90}],5:[function(a,b,c){!function(a){"use strict";function b(a){var b=a.charCodeAt(0);return b===f||b===k?62:b===g||b===l?63:b<h?-1:b<h+10?b-h+26+26:b<j+26?b-j:b<i+26?b-i+26:void 0}function c(a){function c(a){j[l++]=a}var d,f,g,h,i,j;if(a.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var k=a.length;i="="===a.charAt(k-2)?2:"="===a.charAt(k-1)?1:0,j=new e(3*a.length/4-i),g=i>0?a.length-4:a.length;var l=0;for(d=0,f=0;d<g;d+=4,f+=3)h=b(a.charAt(d))<<18|b(a.charAt(d+1))<<12|b(a.charAt(d+2))<<6|b(a.charAt(d+3)),c((16711680&h)>>16),c((65280&h)>>8),c(255&h);return 2===i?(h=b(a.charAt(d))<<2|b(a.charAt(d+1))>>4,c(255&h)):1===i&&(h=b(a.charAt(d))<<10|b(a.charAt(d+1))<<4|b(a.charAt(d+2))>>2,c(h>>8&255),c(255&h)),j}function d(a){function b(a){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a)}function c(a){return b(a>>18&63)+b(a>>12&63)+b(a>>6&63)+b(63&a)}var d,e,f,g=a.length%3,h="";for(d=0,f=a.length-g;d<f;d+=3)e=(a[d]<<16)+(a[d+1]<<8)+a[d+2],h+=c(e);switch(g){case 1:e=a[a.length-1],h+=b(e>>2),h+=b(e<<4&63),h+="==";break;case 2:e=(a[a.length-2]<<8)+a[a.length-1],h+=b(e>>10),h+=b(e>>4&63),h+=b(e<<2&63),h+="="}return h}var e="undefined"!=typeof Uint8Array?Uint8Array:Array,f="+".charCodeAt(0),g="/".charCodeAt(0),h="0".charCodeAt(0),i="a".charCodeAt(0),j="A".charCodeAt(0),k="-".charCodeAt(0),l="_".charCodeAt(0);a.toByteArray=c,a.fromByteArray=d}(void 0===c?this.base64js={}:c)},{}],6:[function(a,b,c){},{}],7:[function(a,b,c){function d(a){if(a&&!i(a))throw new Error("Unknown encoding: "+a)}function e(a){return a.toString(this.encoding)}function f(a){this.charReceived=a.length%2,this.charLength=this.charReceived?2:0}function g(a){this.charReceived=a.length%3,this.charLength=this.charReceived?3:0}var h=a(8).Buffer,i=h.isEncoding||function(a){switch(a&&a.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},j=c.StringDecoder=function(a){switch(this.encoding=(a||"utf8").toLowerCase().replace(/[-_]/,""),d(a),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=f;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=g;break;default:return void(this.write=e)}this.charBuffer=new h(6),this.charReceived=0,this.charLength=0};j.prototype.write=function(a){for(var b="";this.charLength;){var c=a.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:a.length;if(a.copy(this.charBuffer,this.charReceived,0,c),this.charReceived+=c,this.charReceived<this.charLength)return"";a=a.slice(c,a.length),b=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var d=b.charCodeAt(b.length-1);if(!(d>=55296&&d<=56319)){if(this.charReceived=this.charLength=0,0===a.length)return b;break}this.charLength+=this.surrogateSize,b=""}this.detectIncompleteChar(a);var e=a.length;this.charLength&&(a.copy(this.charBuffer,0,a.length-this.charReceived,e),e-=this.charReceived),b+=a.toString(this.encoding,0,e);var e=b.length-1,d=b.charCodeAt(e);if(d>=55296&&d<=56319){var f=this.surrogateSize;return this.charLength+=f,this.charReceived+=f,this.charBuffer.copy(this.charBuffer,f,0,f),a.copy(this.charBuffer,0,0,f),b.substring(0,e)}return b},j.prototype.detectIncompleteChar=function(a){for(var b=a.length>=3?3:a.length;b>0;b--){var c=a[a.length-b];if(1==b&&c>>5==6){this.charLength=2;break}if(b<=2&&c>>4==14){this.charLength=3;break}if(b<=3&&c>>3==30){this.charLength=4;break}}this.charReceived=b},j.prototype.end=function(a){var b="";if(a&&a.length&&(b=this.write(a)),this.charReceived){var c=this.charReceived,d=this.charBuffer,e=this.encoding;b+=d.slice(0,c).toString(e)}return b}},{8:8}],8:[function(a,b,c){(function(b){/*!
3
- * The buffer module from node.js, for the browser.
4
- *
5
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
6
- * @license MIT
7
- */
8
- "use strict";function d(){function a(){}try{var b=new Uint8Array(1);return b.foo=function(){return 42},b.constructor=a,42===b.foo()&&b.constructor===a&&"function"==typeof b.subarray&&0===b.subarray(1,1).byteLength}catch(c){return!1}}function e(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function f(a){return this instanceof f?(f.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof a?g(this,a):"string"==typeof a?h(this,a,arguments.length>1?arguments[1]:"utf8"):i(this,a)):arguments.length>1?new f(a,arguments[1]):new f(a)}function g(a,b){if(a=p(a,b<0?0:0|q(b)),!f.TYPED_ARRAY_SUPPORT)for(var c=0;c<b;c++)a[c]=0;return a}function h(a,b,c){return"string"==typeof c&&""!==c||(c="utf8"),a=p(a,0|s(b,c)),a.write(b,c),a}function i(a,b){if(f.isBuffer(b))return j(a,b);if(Y(b))return k(a,b);if(null==b)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(b.buffer instanceof ArrayBuffer)return l(a,b);if(b instanceof ArrayBuffer)return m(a,b)}return b.length?n(a,b):o(a,b)}function j(a,b){var c=0|q(b.length);return a=p(a,c),b.copy(a,0,0,c),a}function k(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;d<c;d+=1)a[d]=255&b[d];return a}function l(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;d<c;d+=1)a[d]=255&b[d];return a}function m(a,b){return f.TYPED_ARRAY_SUPPORT?(b.byteLength,a=f._augment(new Uint8Array(b))):a=l(a,new Uint8Array(b)),a}function n(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;d<c;d+=1)a[d]=255&b[d];return a}function o(a,b){var c,d=0;"Buffer"===b.type&&Y(b.data)&&(c=b.data,d=0|q(c.length)),a=p(a,d);for(var e=0;e<d;e+=1)a[e]=255&c[e];return a}function p(a,b){return f.TYPED_ARRAY_SUPPORT?(a=f._augment(new Uint8Array(b)),a.__proto__=f.prototype):(a.length=b,a._isBuffer=!0),0!==b&&b<=f.poolSize>>>1&&(a.parent=Z),a}function q(a){if(a>=e())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+e().toString(16)+" bytes");return 0|a}function r(a,b){if(!(this instanceof r))return new r(a,b);var c=new f(a,b);return delete c.parent,c}function s(a,b){"string"!=typeof a&&(a=""+a);var c=a.length;if(0===c)return 0;for(var d=!1;;)switch(b){case"ascii":case"binary":case"raw":case"raws":return c;case"utf8":case"utf-8":return R(a).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*c;case"hex":return c>>>1;case"base64":return U(a).length;default:if(d)return R(a).length;b=(""+b).toLowerCase(),d=!0}}function t(a,b,c){var d=!1;if(b|=0,c=void 0===c||c===1/0?this.length:0|c,a||(a="utf8"),b<0&&(b=0),c>this.length&&(c=this.length),c<=b)return"";for(;;)switch(a){case"hex":return F(this,b,c);case"utf8":case"utf-8":return B(this,b,c);case"ascii":return D(this,b,c);case"binary":return E(this,b,c);case"base64":return A(this,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,b,c);default:if(d)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase(),d=!0}}function u(a,b,c,d){c=Number(c)||0;var e=a.length-c;d?(d=Number(d))>e&&(d=e):d=e;var f=b.length;if(f%2!=0)throw new Error("Invalid hex string");d>f/2&&(d=f/2);for(var g=0;g<d;g++){var h=parseInt(b.substr(2*g,2),16);if(isNaN(h))throw new Error("Invalid hex string");a[c+g]=h}return g}function v(a,b,c,d){return V(R(b,a.length-c),a,c,d)}function w(a,b,c,d){return V(S(b),a,c,d)}function x(a,b,c,d){return w(a,b,c,d)}function y(a,b,c,d){return V(U(b),a,c,d)}function z(a,b,c,d){return V(T(b,a.length-c),a,c,d)}function A(a,b,c){return 0===b&&c===a.length?W.fromByteArray(a):W.fromByteArray(a.slice(b,c))}function B(a,b,c){c=Math.min(a.length,c);for(var d=[],e=b;e<c;){var f=a[e],g=null,h=f>239?4:f>223?3:f>191?2:1;if(e+h<=c){var i,j,k,l;switch(h){case 1:f<128&&(g=f);break;case 2:i=a[e+1],128==(192&i)&&(l=(31&f)<<6|63&i)>127&&(g=l);break;case 3:i=a[e+1],j=a[e+2],128==(192&i)&&128==(192&j)&&(l=(15&f)<<12|(63&i)<<6|63&j)>2047&&(l<55296||l>57343)&&(g=l);break;case 4:i=a[e+1],j=a[e+2],k=a[e+3],128==(192&i)&&128==(192&j)&&128==(192&k)&&(l=(15&f)<<18|(63&i)<<12|(63&j)<<6|63&k)>65535&&l<1114112&&(g=l)}}null===g?(g=65533,h=1):g>65535&&(g-=65536,d.push(g>>>10&1023|55296),g=56320|1023&g),d.push(g),e+=h}return C(d)}function C(a){var b=a.length;if(b<=$)return String.fromCharCode.apply(String,a);for(var c="",d=0;d<b;)c+=String.fromCharCode.apply(String,a.slice(d,d+=$));return c}function D(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;e<c;e++)d+=String.fromCharCode(127&a[e]);return d}function E(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;e<c;e++)d+=String.fromCharCode(a[e]);return d}function F(a,b,c){var d=a.length;(!b||b<0)&&(b=0),(!c||c<0||c>d)&&(c=d);for(var e="",f=b;f<c;f++)e+=Q(a[f]);return e}function G(a,b,c){for(var d=a.slice(b,c),e="",f=0;f<d.length;f+=2)e+=String.fromCharCode(d[f]+256*d[f+1]);return e}function H(a,b,c){if(a%1!=0||a<0)throw new RangeError("offset is not uint");if(a+b>c)throw new RangeError("Trying to access beyond buffer length")}function I(a,b,c,d,e,g){if(!f.isBuffer(a))throw new TypeError("buffer must be a Buffer instance");if(b>e||b<g)throw new RangeError("value is out of bounds");if(c+d>a.length)throw new RangeError("index out of range")}function J(a,b,c,d){b<0&&(b=65535+b+1);for(var e=0,f=Math.min(a.length-c,2);e<f;e++)a[c+e]=(b&255<<8*(d?e:1-e))>>>8*(d?e:1-e)}function K(a,b,c,d){b<0&&(b=4294967295+b+1);for(var e=0,f=Math.min(a.length-c,4);e<f;e++)a[c+e]=b>>>8*(d?e:3-e)&255}function L(a,b,c,d,e,f){if(b>e||b<f)throw new RangeError("value is out of bounds");if(c+d>a.length)throw new RangeError("index out of range");if(c<0)throw new RangeError("index out of range")}function M(a,b,c,d,e){return e||L(a,b,c,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(a,b,c,d,23,4),c+4}function N(a,b,c,d,e){return e||L(a,b,c,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(a,b,c,d,52,8),c+8}function O(a){if(a=P(a).replace(aa,""),a.length<2)return"";for(;a.length%4!=0;)a+="=";return a}function P(a){return a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function Q(a){return a<16?"0"+a.toString(16):a.toString(16)}function R(a,b){b=b||1/0;for(var c,d=a.length,e=null,f=[],g=0;g<d;g++){if((c=a.charCodeAt(g))>55295&&c<57344){if(!e){if(c>56319){(b-=3)>-1&&f.push(239,191,189);continue}if(g+1===d){(b-=3)>-1&&f.push(239,191,189);continue}e=c;continue}if(c<56320){(b-=3)>-1&&f.push(239,191,189),e=c;continue}c=65536+(e-55296<<10|c-56320)}else e&&(b-=3)>-1&&f.push(239,191,189);if(e=null,c<128){if((b-=1)<0)break;f.push(c)}else if(c<2048){if((b-=2)<0)break;f.push(c>>6|192,63&c|128)}else if(c<65536){if((b-=3)<0)break;f.push(c>>12|224,c>>6&63|128,63&c|128)}else{if(!(c<1114112))throw new Error("Invalid code point");if((b-=4)<0)break;f.push(c>>18|240,c>>12&63|128,c>>6&63|128,63&c|128)}}return f}function S(a){for(var b=[],c=0;c<a.length;c++)b.push(255&a.charCodeAt(c));return b}function T(a,b){for(var c,d,e,f=[],g=0;g<a.length&&!((b-=2)<0);g++)c=a.charCodeAt(g),d=c>>8,e=c%256,f.push(e),f.push(d);return f}function U(a){return W.toByteArray(O(a))}function V(a,b,c,d){for(var e=0;e<d&&!(e+c>=b.length||e>=a.length);e++)b[e+c]=a[e];return e}var W=a(5),X=a(13),Y=a(23);c.Buffer=f,c.SlowBuffer=r,c.INSPECT_MAX_BYTES=50,f.poolSize=8192;var Z={};f.TYPED_ARRAY_SUPPORT=void 0!==b.TYPED_ARRAY_SUPPORT?b.TYPED_ARRAY_SUPPORT:d(),f.TYPED_ARRAY_SUPPORT?(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array):(f.prototype.length=void 0,f.prototype.parent=void 0),f.isBuffer=function(a){return!(null==a||!a._isBuffer)},f.compare=function(a,b){if(!f.isBuffer(a)||!f.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var c=a.length,d=b.length,e=0,g=Math.min(c,d);e<g&&a[e]===b[e];)++e;return e!==g&&(c=a[e],d=b[e]),c<d?-1:d<c?1:0},f.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(a,b){if(!Y(a))throw new TypeError("list argument must be an Array of Buffers.");if(0===a.length)return new f(0);var c;if(void 0===b)for(b=0,c=0;c<a.length;c++)b+=a[c].length;var d=new f(b),e=0;for(c=0;c<a.length;c++){var g=a[c];g.copy(d,e),e+=g.length}return d},f.byteLength=s,f.prototype.toString=function(){var a=0|this.length;return 0===a?"":0===arguments.length?B(this,0,a):t.apply(this,arguments)},f.prototype.equals=function(a){if(!f.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a||0===f.compare(this,a)},f.prototype.inspect=function(){var a="",b=c.INSPECT_MAX_BYTES;return this.length>0&&(a=this.toString("hex",0,b).match(/.{2}/g).join(" "),this.length>b&&(a+=" ... ")),"<Buffer "+a+">"},f.prototype.compare=function(a){if(!f.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?0:f.compare(this,a)},f.prototype.indexOf=function(a,b){function c(a,b,c){for(var d=-1,e=0;c+e<a.length;e++)if(a[c+e]===b[-1===d?0:e-d]){if(-1===d&&(d=e),e-d+1===b.length)return c+d}else d=-1;return-1}if(b>2147483647?b=2147483647:b<-2147483648&&(b=-2147483648),b>>=0,0===this.length)return-1;if(b>=this.length)return-1;if(b<0&&(b=Math.max(this.length+b,0)),"string"==typeof a)return 0===a.length?-1:String.prototype.indexOf.call(this,a,b);if(f.isBuffer(a))return c(this,a,b);if("number"==typeof a)return f.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,a,b):c(this,[a],b);throw new TypeError("val must be string, number or Buffer")},f.prototype.get=function(a){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(a)},f.prototype.set=function(a,b){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(a,b)},f.prototype.write=function(a,b,c,d){if(void 0===b)d="utf8",c=this.length,b=0;else if(void 0===c&&"string"==typeof b)d=b,c=this.length,b=0;else if(isFinite(b))b|=0,isFinite(c)?(c|=0,void 0===d&&(d="utf8")):(d=c,c=void 0);else{var e=d;d=b,b=0|c,c=e}var f=this.length-b;if((void 0===c||c>f)&&(c=f),a.length>0&&(c<0||b<0)||b>this.length)throw new RangeError("attempt to write outside buffer bounds");d||(d="utf8");for(var g=!1;;)switch(d){case"hex":return u(this,a,b,c);case"utf8":case"utf-8":return v(this,a,b,c);case"ascii":return w(this,a,b,c);case"binary":return x(this,a,b,c);case"base64":return y(this,a,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,a,b,c);default:if(g)throw new TypeError("Unknown encoding: "+d);d=(""+d).toLowerCase(),g=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;f.prototype.slice=function(a,b){var c=this.length;a=~~a,b=void 0===b?c:~~b,a<0?(a+=c)<0&&(a=0):a>c&&(a=c),b<0?(b+=c)<0&&(b=0):b>c&&(b=c),b<a&&(b=a);var d;if(f.TYPED_ARRAY_SUPPORT)d=f._augment(this.subarray(a,b));else{var e=b-a;d=new f(e,void 0);for(var g=0;g<e;g++)d[g]=this[g+a]}return d.length&&(d.parent=this.parent||this),d},f.prototype.readUIntLE=function(a,b,c){a|=0,b|=0,c||H(a,b,this.length);for(var d=this[a],e=1,f=0;++f<b&&(e*=256);)d+=this[a+f]*e;return d},f.prototype.readUIntBE=function(a,b,c){a|=0,b|=0,c||H(a,b,this.length);for(var d=this[a+--b],e=1;b>0&&(e*=256);)d+=this[a+--b]*e;return d},f.prototype.readUInt8=function(a,b){return b||H(a,1,this.length),this[a]},f.prototype.readUInt16LE=function(a,b){return b||H(a,2,this.length),this[a]|this[a+1]<<8},f.prototype.readUInt16BE=function(a,b){return b||H(a,2,this.length),this[a]<<8|this[a+1]},f.prototype.readUInt32LE=function(a,b){return b||H(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]},f.prototype.readUInt32BE=function(a,b){return b||H(a,4,this.length),16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])},f.prototype.readIntLE=function(a,b,c){a|=0,b|=0,c||H(a,b,this.length);for(var d=this[a],e=1,f=0;++f<b&&(e*=256);)d+=this[a+f]*e;return e*=128,d>=e&&(d-=Math.pow(2,8*b)),d},f.prototype.readIntBE=function(a,b,c){a|=0,b|=0,c||H(a,b,this.length);for(var d=b,e=1,f=this[a+--d];d>0&&(e*=256);)f+=this[a+--d]*e;return e*=128,f>=e&&(f-=Math.pow(2,8*b)),f},f.prototype.readInt8=function(a,b){return b||H(a,1,this.length),128&this[a]?-1*(255-this[a]+1):this[a]},f.prototype.readInt16LE=function(a,b){b||H(a,2,this.length);var c=this[a]|this[a+1]<<8;return 32768&c?4294901760|c:c},f.prototype.readInt16BE=function(a,b){b||H(a,2,this.length);var c=this[a+1]|this[a]<<8;return 32768&c?4294901760|c:c},f.prototype.readInt32LE=function(a,b){return b||H(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},f.prototype.readInt32BE=function(a,b){return b||H(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},f.prototype.readFloatLE=function(a,b){return b||H(a,4,this.length),X.read(this,a,!0,23,4)},f.prototype.readFloatBE=function(a,b){return b||H(a,4,this.length),X.read(this,a,!1,23,4)},f.prototype.readDoubleLE=function(a,b){return b||H(a,8,this.length),X.read(this,a,!0,52,8)},f.prototype.readDoubleBE=function(a,b){return b||H(a,8,this.length),X.read(this,a,!1,52,8)},f.prototype.writeUIntLE=function(a,b,c,d){a=+a,b|=0,c|=0,d||I(this,a,b,c,Math.pow(2,8*c),0);var e=1,f=0;for(this[b]=255&a;++f<c&&(e*=256);)this[b+f]=a/e&255;return b+c},f.prototype.writeUIntBE=function(a,b,c,d){a=+a,b|=0,c|=0,d||I(this,a,b,c,Math.pow(2,8*c),0);var e=c-1,f=1;for(this[b+e]=255&a;--e>=0&&(f*=256);)this[b+e]=a/f&255;return b+c},f.prototype.writeUInt8=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,1,255,0),f.TYPED_ARRAY_SUPPORT||(a=Math.floor(a)),this[b]=255&a,b+1},f.prototype.writeUInt16LE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8):J(this,a,b,!0),b+2},f.prototype.writeUInt16BE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=255&a):J(this,a,b,!1),b+2},f.prototype.writeUInt32LE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[b+3]=a>>>24,this[b+2]=a>>>16,this[b+1]=a>>>8,this[b]=255&a):K(this,a,b,!0),b+4},f.prototype.writeUInt32BE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=255&a):K(this,a,b,!1),b+4},f.prototype.writeIntLE=function(a,b,c,d){if(a=+a,b|=0,!d){var e=Math.pow(2,8*c-1);I(this,a,b,c,e-1,-e)}var f=0,g=1,h=a<0?1:0;for(this[b]=255&a;++f<c&&(g*=256);)this[b+f]=(a/g>>0)-h&255;return b+c},f.prototype.writeIntBE=function(a,b,c,d){if(a=+a,b|=0,!d){var e=Math.pow(2,8*c-1);I(this,a,b,c,e-1,-e)}var f=c-1,g=1,h=a<0?1:0;for(this[b+f]=255&a;--f>=0&&(g*=256);)this[b+f]=(a/g>>0)-h&255;return b+c},f.prototype.writeInt8=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,1,127,-128),f.TYPED_ARRAY_SUPPORT||(a=Math.floor(a)),a<0&&(a=255+a+1),this[b]=255&a,b+1},f.prototype.writeInt16LE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8):J(this,a,b,!0),b+2},f.prototype.writeInt16BE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=255&a):J(this,a,b,!1),b+2},f.prototype.writeInt32LE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8,this[b+2]=a>>>16,this[b+3]=a>>>24):K(this,a,b,!0),b+4},f.prototype.writeInt32BE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,4,2147483647,-2147483648),a<0&&(a=4294967295+a+1),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=255&a):K(this,a,b,!1),b+4},f.prototype.writeFloatLE=function(a,b,c){return M(this,a,b,!0,c)},f.prototype.writeFloatBE=function(a,b,c){return M(this,a,b,!1,c)},f.prototype.writeDoubleLE=function(a,b,c){return N(this,a,b,!0,c)},f.prototype.writeDoubleBE=function(a,b,c){return N(this,a,b,!1,c)},f.prototype.copy=function(a,b,c,d){if(c||(c=0),d||0===d||(d=this.length),b>=a.length&&(b=a.length),b||(b=0),d>0&&d<c&&(d=c),d===c)return 0;if(0===a.length||0===this.length)return 0;if(b<0)throw new RangeError("targetStart out of bounds");if(c<0||c>=this.length)throw new RangeError("sourceStart out of bounds");if(d<0)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length),a.length-b<d-c&&(d=a.length-b+c);var e,g=d-c;if(this===a&&c<b&&b<d)for(e=g-1;e>=0;e--)a[e+b]=this[e+c];else if(g<1e3||!f.TYPED_ARRAY_SUPPORT)for(e=0;e<g;e++)a[e+b]=this[e+c];else a._set(this.subarray(c,c+g),b);return g},f.prototype.fill=function(a,b,c){if(a||(a=0),b||(b=0),c||(c=this.length),c<b)throw new RangeError("end < start");if(c!==b&&0!==this.length){if(b<0||b>=this.length)throw new RangeError("start out of bounds");if(c<0||c>this.length)throw new RangeError("end out of bounds");var d;if("number"==typeof a)for(d=b;d<c;d++)this[d]=a;else{var e=R(a.toString()),f=e.length;for(d=b;d<c;d++)this[d]=e[d%f]}return this}},f.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(f.TYPED_ARRAY_SUPPORT)return new f(this).buffer;for(var a=new Uint8Array(this.length),b=0,c=a.length;b<c;b+=1)a[b]=this[b];return a.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var _=f.prototype;f._augment=function(a){return a.constructor=f,a._isBuffer=!0,a._set=a.set,a.get=_.get,a.set=_.set,a.write=_.write,a.toString=_.toString,a.toLocaleString=_.toString,a.toJSON=_.toJSON,a.equals=_.equals,a.compare=_.compare,a.indexOf=_.indexOf,a.copy=_.copy,a.slice=_.slice,a.readUIntLE=_.readUIntLE,a.readUIntBE=_.readUIntBE,a.readUInt8=_.readUInt8,a.readUInt16LE=_.readUInt16LE,a.readUInt16BE=_.readUInt16BE,a.readUInt32LE=_.readUInt32LE,a.readUInt32BE=_.readUInt32BE,a.readIntLE=_.readIntLE,a.readIntBE=_.readIntBE,a.readInt8=_.readInt8,a.readInt16LE=_.readInt16LE,a.readInt16BE=_.readInt16BE,a.readInt32LE=_.readInt32LE,a.readInt32BE=_.readInt32BE,a.readFloatLE=_.readFloatLE,a.readFloatBE=_.readFloatBE,a.readDoubleLE=_.readDoubleLE,a.readDoubleBE=_.readDoubleBE,a.writeUInt8=_.writeUInt8,a.writeUIntLE=_.writeUIntLE,a.writeUIntBE=_.writeUIntBE,a.writeUInt16LE=_.writeUInt16LE,a.writeUInt16BE=_.writeUInt16BE,a.writeUInt32LE=_.writeUInt32LE,a.writeUInt32BE=_.writeUInt32BE,a.writeIntLE=_.writeIntLE,a.writeIntBE=_.writeIntBE,a.writeInt8=_.writeInt8,a.writeInt16LE=_.writeInt16LE,a.writeInt16BE=_.writeInt16BE,a.writeInt32LE=_.writeInt32LE,a.writeInt32BE=_.writeInt32BE,a.writeFloatLE=_.writeFloatLE,a.writeFloatBE=_.writeFloatBE,a.writeDoubleLE=_.writeDoubleLE,a.writeDoubleBE=_.writeDoubleBE,a.fill=_.fill,a.inspect=_.inspect,a.toArrayBuffer=_.toArrayBuffer,a};var aa=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{13:13,23:23,5:5}],9:[function(a,b,c){/*! codem-isoboxer v0.3.5 https://github.com/madebyhiro/codem-isoboxer/blob/master/LICENSE.txt */
9
- var d={};d.parseBuffer=function(a){return new e(a).parse()},d.addBoxProcessor=function(a,b){"string"==typeof a&&"function"==typeof b&&(f.prototype._boxProcessors[a]=b)},d.createFile=function(){return new e},d.createBox=function(a,b,c){var d=f.create(a);return b&&b.append(d,c),d},d.createFullBox=function(a,b,c){var e=d.createBox(a,b,c);return e.version=0,e.flags=0,e},d.Utils={},d.Utils.dataViewToString=function(a,b){var c=b||"utf-8";if("undefined"!=typeof TextDecoder)return new TextDecoder(c).decode(a);var d=[],e=0;if("utf-8"===c)for(;e<a.byteLength;){var f=a.getUint8(e++);f<128||(f<224?(f=(31&f)<<6,f|=63&a.getUint8(e++)):f<240?(f=(15&f)<<12,f|=(63&a.getUint8(e++))<<6,f|=63&a.getUint8(e++)):(f=(7&f)<<18,f|=(63&a.getUint8(e++))<<12,f|=(63&a.getUint8(e++))<<6,f|=63&a.getUint8(e++))),d.push(String.fromCharCode(f))}else for(;e<a.byteLength;)d.push(String.fromCharCode(a.getUint8(e++)));return d.join("")},d.Utils.utf8ToByteArray=function(a){var b,c;if("undefined"!=typeof TextEncoder)b=(new TextEncoder).encode(a);else for(b=[],c=0;c<a.length;++c){var d=a.charCodeAt(c);d<128?b.push(d):d<2048?(b.push(192|d>>6),b.push(128|63&d)):d<65536?(b.push(224|d>>12),b.push(128|63&d>>6),b.push(128|63&d)):(b.push(240|d>>18),b.push(128|63&d>>12),b.push(128|63&d>>6),b.push(128|63&d))}return b},d.Utils.appendBox=function(a,b,c){if(b._offset=a._cursor.offset,b._root=a._root?a._root:a,b._raw=a._raw,b._parent=a,-1!==c){if(void 0===c||null===c)return void a.boxes.push(b);var d,e=-1;if("number"==typeof c)e=c;else{if("string"==typeof c)d=c;else{if("object"!=typeof c||!c.type)return void a.boxes.push(b);d=c.type}for(var f=0;f<a.boxes.length;f++)if(d===a.boxes[f].type){e=f+1;break}}a.boxes.splice(e,0,b)}},void 0!==c&&(c.parseBuffer=d.parseBuffer,c.addBoxProcessor=d.addBoxProcessor,c.createFile=d.createFile,c.createBox=d.createBox,c.createFullBox=d.createFullBox,c.Utils=d.Utils),d.Cursor=function(a){this.offset=void 0===a?0:a};var e=function(a){this._cursor=new d.Cursor,this.boxes=[],a&&(this._raw=new DataView(a))};e.prototype.fetch=function(a){var b=this.fetchAll(a,!0);return b.length?b[0]:null},e.prototype.fetchAll=function(a,b){var c=[];return e._sweep.call(this,a,c,b),c},e.prototype.parse=function(){for(this._cursor.offset=0,this.boxes=[];this._cursor.offset<this._raw.byteLength;){var a=f.parse(this);if(void 0===a.type)break;this.boxes.push(a)}return this},e._sweep=function(a,b,c){this.type&&this.type==a&&b.push(this);for(var d in this.boxes){if(b.length&&c)return;e._sweep.call(this.boxes[d],a,b,c)}},e.prototype.write=function(){var a,b=0;for(a=0;a<this.boxes.length;a++)b+=this.boxes[a].getLength(!1);var c=new Uint8Array(b);for(this._rawo=new DataView(c.buffer),this.bytes=c,this._cursor.offset=0,a=0;a<this.boxes.length;a++)this.boxes[a].write();return c.buffer},e.prototype.append=function(a,b){d.Utils.appendBox(this,a,b)};var f=function(){this._cursor=new d.Cursor};f.parse=function(a){var b=new f;return b._offset=a._cursor.offset,b._root=a._root?a._root:a,b._raw=a._raw,b._parent=a,b._parseBox(),a._cursor.offset=b._raw.byteOffset+b._raw.byteLength,b},f.create=function(a){var b=new f;return b.type=a,b.boxes=[],b},f.prototype._boxContainers=["dinf","edts","mdia","meco","mfra","minf","moof","moov","mvex","stbl","strk","traf","trak","tref","udta","vttc","sinf","schi","encv","enca"],f.prototype._boxProcessors={},f.prototype._procField=function(a,b,c){this._parsing?this[a]=this._readField(b,c):this._writeField(b,c,this[a])},f.prototype._procFieldArray=function(a,b,c,d){var e;if(this._parsing)for(this[a]=[],e=0;e<b;e++)this[a][e]=this._readField(c,d);else for(e=0;e<this[a].length;e++)this._writeField(c,d,this[a][e])},f.prototype._procFullBox=function(){this._procField("version","uint",8),this._procField("flags","uint",24)},f.prototype._procEntries=function(a,b,c){var d;if(this._parsing)for(this[a]=[],d=0;d<b;d++)this[a].push({}),c.call(this,this[a][d]);else for(d=0;d<b;d++)c.call(this,this[a][d])},f.prototype._procSubEntries=function(a,b,c,d){var e;if(this._parsing)for(a[b]=[],e=0;e<c;e++)a[b].push({}),d.call(this,a[b][e]);else for(e=0;e<c;e++)d.call(this,a[b][e])},f.prototype._procEntryField=function(a,b,c,d){this._parsing?a[b]=this._readField(c,d):this._writeField(c,d,a[b])},f.prototype._procSubBoxes=function(a,b){var c;if(this._parsing)for(this[a]=[],c=0;c<b;c++)this[a].push(f.parse(this));else for(c=0;c<b;c++)this._rawo?this[a][c].write():this.size+=this[a][c].getLength()},f.prototype._readField=function(a,b){switch(a){case"uint":return this._readUint(b);case"int":return this._readInt(b);case"template":return this._readTemplate(b);case"string":return-1===b?this._readTerminatedString():this._readString(b);case"data":return this._readData(b);case"utf8":return this._readUTF8String();default:return-1}},f.prototype._readInt=function(a){var b=null,c=this._cursor.offset-this._raw.byteOffset;switch(a){case 8:b=this._raw.getInt8(c);break;case 16:b=this._raw.getInt16(c);break;case 32:b=this._raw.getInt32(c);break;case 64:var d=this._raw.getInt32(c),e=this._raw.getInt32(c+4);b=d*Math.pow(2,32)+e}return this._cursor.offset+=a>>3,b},f.prototype._readUint=function(a){var b,c,d=null,e=this._cursor.offset-this._raw.byteOffset;switch(a){case 8:d=this._raw.getUint8(e);break;case 16:d=this._raw.getUint16(e);break;case 24:b=this._raw.getUint16(e),c=this._raw.getUint8(e+2),d=(b<<8)+c;break;case 32:d=this._raw.getUint32(e);break;case 64:b=this._raw.getUint32(e),c=this._raw.getUint32(e+4),d=b*Math.pow(2,32)+c}return this._cursor.offset+=a>>3,d},f.prototype._readString=function(a){for(var b="",c=0;c<a;c++){var d=this._readUint(8);b+=String.fromCharCode(d)}return b},f.prototype._readTemplate=function(a){return this._readUint(a/2)+this._readUint(a/2)/Math.pow(2,a/2)},f.prototype._readTerminatedString=function(){for(var a="";this._cursor.offset-this._offset<this._raw.byteLength;){var b=this._readUint(8);if(0===b)break;a+=String.fromCharCode(b)}return a},f.prototype._readData=function(a){var b=a>0?a:this._raw.byteLength-(this._cursor.offset-this._offset);if(b>0){var c=new Uint8Array(this._raw.buffer,this._cursor.offset,b);return this._cursor.offset+=b,c}return null},f.prototype._readUTF8String=function(){var a=this._raw.byteLength-(this._cursor.offset-this._offset),b=null;return a>0&&(b=new DataView(this._raw.buffer,this._cursor.offset,a),this._cursor.offset+=a),b?d.Utils.dataViewToString(b):b},f.prototype._parseBox=function(){if(this._parsing=!0,this._cursor.offset=this._offset,this._offset+8>this._raw.buffer.byteLength)return void(this._root._incomplete=!0);switch(this._procField("size","uint",32),this._procField("type","string",4),1===this.size&&this._procField("largesize","uint",64),"uuid"===this.type&&this._procFieldArray("usertype",16,"uint",8),this.size){case 0:this._raw=new DataView(this._raw.buffer,this._offset,this._raw.byteLength-this._cursor.offset+8);break;case 1:this._offset+this.size>this._raw.buffer.byteLength?(this._incomplete=!0,this._root._incomplete=!0):this._raw=new DataView(this._raw.buffer,this._offset,this.largesize);break;default:this._offset+this.size>this._raw.buffer.byteLength?(this._incomplete=!0,this._root._incomplete=!0):this._raw=new DataView(this._raw.buffer,this._offset,this.size)}this._incomplete||(this._boxProcessors[this.type]&&this._boxProcessors[this.type].call(this),-1!==this._boxContainers.indexOf(this.type)?this._parseContainerBox():this._data=this._readData())},f.prototype._parseFullBox=function(){this.version=this._readUint(8),this.flags=this._readUint(24)},f.prototype._parseContainerBox=function(){for(this.boxes=[];this._cursor.offset-this._raw.byteOffset<this._raw.byteLength;)this.boxes.push(f.parse(this))},f.prototype.append=function(a,b){d.Utils.appendBox(this,a,b)},f.prototype.getLength=function(){if(this._parsing=!1,this._rawo=null,this.size=0,this._procField("size","uint",32),this._procField("type","string",4),1===this.size&&this._procField("largesize","uint",64),"uuid"===this.type&&this._procFieldArray("usertype",16,"uint",8),this._boxProcessors[this.type]&&this._boxProcessors[this.type].call(this),-1!==this._boxContainers.indexOf(this.type))for(var a=0;a<this.boxes.length;a++)this.size+=this.boxes[a].getLength();return this._data&&this._writeData(this._data),this.size},f.prototype.write=function(){switch(this._parsing=!1,this._cursor.offset=this._parent._cursor.offset,this.size){case 0:this._rawo=new DataView(this._parent._rawo.buffer,this._cursor.offset,this.parent._rawo.byteLength-this._cursor.offset);break;case 1:this._rawo=new DataView(this._parent._rawo.buffer,this._cursor.offset,this.largesize);break;default:this._rawo=new DataView(this._parent._rawo.buffer,this._cursor.offset,this.size)}if(this._procField("size","uint",32),this._procField("type","string",4),1===this.size&&this._procField("largesize","uint",64),"uuid"===this.type&&this._procFieldArray("usertype",16,"uint",8),this._boxProcessors[this.type]&&this._boxProcessors[this.type].call(this),-1!==this._boxContainers.indexOf(this.type))for(var a=0;a<this.boxes.length;a++)this.boxes[a].write();return this._data&&this._writeData(this._data),this._parent._cursor.offset+=this.size,this.size},f.prototype._writeInt=function(a,b){if(this._rawo){var c=this._cursor.offset-this._rawo.byteOffset;switch(a){case 8:this._rawo.setInt8(c,b);break;case 16:this._rawo.setInt16(c,b);break;case 32:this._rawo.setInt32(c,b);break;case 64:var d=Math.floor(b/Math.pow(2,32)),e=b-d*Math.pow(2,32);this._rawo.setUint32(c,d),this._rawo.setUint32(c+4,e)}this._cursor.offset+=a>>3}else this.size+=a>>3},f.prototype._writeUint=function(a,b){if(this._rawo){var c,d,e=this._cursor.offset-this._rawo.byteOffset;switch(a){case 8:this._rawo.setUint8(e,b);break;case 16:this._rawo.setUint16(e,b);break;case 24:c=(16776960&b)>>8,d=255&b,this._rawo.setUint16(e,c),this._rawo.setUint8(e+2,d);break;case 32:this._rawo.setUint32(e,b);break;case 64:c=Math.floor(b/Math.pow(2,32)),d=b-c*Math.pow(2,32),this._rawo.setUint32(e,c),this._rawo.setUint32(e+4,d)}this._cursor.offset+=a>>3}else this.size+=a>>3},f.prototype._writeString=function(a,b){for(var c=0;c<a;c++)this._writeUint(8,b.charCodeAt(c))},f.prototype._writeTerminatedString=function(a){if(0!==a.length){for(var b=0;b<a.length;b++)this._writeUint(8,a.charCodeAt(b));this._writeUint(8,0)}},f.prototype._writeTemplate=function(a,b){var c=Math.floor(b),d=(b-c)*Math.pow(2,a/2);this._writeUint(a/2,c),this._writeUint(a/2,d)},f.prototype._writeData=function(a){var b;if(a)if(this._rawo){if(a instanceof Array){for(var c=this._cursor.offset-this._rawo.byteOffset,b=0;b<a.length;b++)this._rawo.setInt8(c+b,a[b]);this._cursor.offset+=a.length}a instanceof Uint8Array&&(this._root.bytes.set(a,this._cursor.offset),this._cursor.offset+=a.length)}else this.size+=a.length},f.prototype._writeUTF8String=function(a){var b=d.Utils.utf8ToByteArray(a);if(this._rawo)for(var c=new DataView(this._rawo.buffer,this._cursor.offset,b.length),e=0;e<b.length;e++)c.setUint8(e,b[e]);else this.size+=b.length},f.prototype._writeField=function(a,b,c){switch(a){case"uint":this._writeUint(b,c);break;case"int":this._writeInt(b,c);break;case"template":this._writeTemplate(b,c);break;case"string":-1==b?this._writeTerminatedString(c):this._writeString(b,c);break;case"data":this._writeData(c);break;case"utf8":this._writeUTF8String(c)}},f.prototype._boxProcessors.avc1=f.prototype._boxProcessors.encv=function(){this._procFieldArray("reserved1",6,"uint",8),this._procField("data_reference_index","uint",16),this._procField("pre_defined1","uint",16),this._procField("reserved2","uint",16),this._procFieldArray("pre_defined2",3,"uint",32),this._procField("width","uint",16),this._procField("height","uint",16),this._procField("horizresolution","template",32),this._procField("vertresolution","template",32),this._procField("reserved3","uint",32),this._procField("frame_count","uint",16),this._procFieldArray("compressorname",32,"uint",8),this._procField("depth","uint",16),this._procField("pre_defined3","int",16),this._procField("config","data",-1)},f.prototype._boxProcessors.dref=function(){this._procFullBox(),this._procField("entry_count","uint",32),this._procSubBoxes("entries",this.entry_count)},f.prototype._boxProcessors.elst=function(){this._procFullBox(),this._procField("entry_count","uint",32),this._procEntries("entries",this.entry_count,function(a){this._procEntryField(a,"segment_duration","uint",1===this.version?64:32),this._procEntryField(a,"media_time","int",1===this.version?64:32),this._procEntryField(a,"media_rate_integer","int",16),this._procEntryField(a,"media_rate_fraction","int",16)})},f.prototype._boxProcessors.emsg=function(){this._procFullBox(),this._procField("scheme_id_uri","string",-1),this._procField("value","string",-1),this._procField("timescale","uint",32),this._procField("presentation_time_delta","uint",32),this._procField("event_duration","uint",32),this._procField("id","uint",32),this._procField("message_data","data",-1)},f.prototype._boxProcessors.free=f.prototype._boxProcessors.skip=function(){this._procField("data","data",-1)},f.prototype._boxProcessors.frma=function(){this._procField("data_format","uint",32)},f.prototype._boxProcessors.ftyp=f.prototype._boxProcessors.styp=function(){this._procField("major_brand","string",4),this._procField("minor_version","uint",32);var a=-1;this._parsing&&(a=(this._raw.byteLength-(this._cursor.offset-this._raw.byteOffset))/4),this._procFieldArray("compatible_brands",a,"string",4)},f.prototype._boxProcessors.hdlr=function(){this._procFullBox(),this._procField("pre_defined","uint",32),this._procField("handler_type","string",4),this._procFieldArray("reserved",3,"uint",32),this._procField("name","string",-1)},f.prototype._boxProcessors.mdat=function(){this._procField("data","data",-1)},f.prototype._boxProcessors.mdhd=function(){this._procFullBox(),this._procField("creation_time","uint",1==this.version?64:32),this._procField("modification_time","uint",1==this.version?64:32),this._procField("timescale","uint",32),this._procField("duration","uint",1==this.version?64:32),this._parsing||"string"!=typeof this.language||(this.language=this.language.charCodeAt(0)-96<<10|this.language.charCodeAt(1)-96<<5|this.language.charCodeAt(2)-96),this._procField("language","uint",16),this._parsing&&(this.language=String.fromCharCode(96+(this.language>>10&31),96+(this.language>>5&31),96+(31&this.language))),this._procField("pre_defined","uint",16)},f.prototype._boxProcessors.mehd=function(){this._procFullBox(),this._procField("fragment_duration","uint",1==this.version?64:32)},f.prototype._boxProcessors.mfhd=function(){this._procFullBox(),this._procField("sequence_number","uint",32)},f.prototype._boxProcessors.mfro=function(){this._procFullBox(),this._procField("mfra_size","uint",32)},f.prototype._boxProcessors.mp4a=f.prototype._boxProcessors.enca=function(){this._procFieldArray("reserved1",6,"uint",8),this._procField("data_reference_index","uint",16),this._procFieldArray("reserved2",2,"uint",32),this._procField("channelcount","uint",16),this._procField("samplesize","uint",16),this._procField("pre_defined","uint",16),this._procField("reserved3","uint",16),this._procField("samplerate","template",32),this._procField("esds","data",-1)},f.prototype._boxProcessors.mvhd=function(){this._procFullBox(),this._procField("creation_time","uint",1==this.version?64:32),this._procField("modification_time","uint",1==this.version?64:32),this._procField("timescale","uint",32),this._procField("duration","uint",1==this.version?64:32),this._procField("rate","template",32),this._procField("volume","template",16),this._procField("reserved1","uint",16),this._procFieldArray("reserved2",2,"uint",32),this._procFieldArray("matrix",9,"template",32),this._procFieldArray("pre_defined",6,"uint",32),this._procField("next_track_ID","uint",32)},f.prototype._boxProcessors.payl=function(){this._procField("cue_text","utf8")},f.prototype._boxProcessors.pssh=function(){this._procFullBox(),this._procFieldArray("SystemID",16,"uint",8),this._procField("DataSize","uint",32),this._procFieldArray("Data",this.DataSize,"uint",8)},f.prototype._boxProcessors.schm=function(){this._procFullBox(),this._procField("scheme_type","uint",32),this._procField("scheme_version","uint",32),1&this.flags&&this._procField("scheme_uri","string",-1)},f.prototype._boxProcessors.sdtp=function(){this._procFullBox();var a=-1;this._parsing&&(a=this._raw.byteLength-(this._cursor.offset-this._raw.byteOffset)),this._procFieldArray("sample_dependency_table",a,"uint",8)},f.prototype._boxProcessors.sidx=function(){this._procFullBox(),this._procField("reference_ID","uint",32),this._procField("timescale","uint",32),this._procField("earliest_presentation_time","uint",1==this.version?64:32),this._procField("first_offset","uint",1==this.version?64:32),this._procField("reserved","uint",16),this._procField("reference_count","uint",16),this._procEntries("references",this.reference_count,function(a){this._parsing||(a.reference=(1&a.reference_type)<<31,a.reference|=2147483647&a.referenced_size,a.sap=(1&a.starts_with_SAP)<<31,a.sap|=(3&a.SAP_type)<<28,a.sap|=268435455&a.SAP_delta_time),this._procEntryField(a,"reference","uint",32),this._procEntryField(a,"subsegment_duration","uint",32),this._procEntryField(a,"sap","uint",32),this._parsing&&(a.reference_type=a.reference>>31&1,a.referenced_size=2147483647&a.reference,a.starts_with_SAP=a.sap>>31&1,a.SAP_type=a.sap>>28&7,a.SAP_delta_time=268435455&a.sap)})},f.prototype._boxProcessors.smhd=function(){this._procFullBox(),this._procField("balance","uint",16),this._procField("reserved","uint",16)},f.prototype._boxProcessors.ssix=function(){this._procFullBox(),this._procField("subsegment_count","uint",32),this._procEntries("subsegments",this.subsegment_count,function(a){this._procEntryField(a,"ranges_count","uint",32),this._procSubEntries(a,"ranges",a.ranges_count,function(a){this._procEntryField(a,"level","uint",8),this._procEntryField(a,"range_size","uint",24)})})},f.prototype._boxProcessors.stsd=function(){this._procFullBox(),this._procField("entry_count","uint",32),this._procSubBoxes("entries",this.entry_count)},f.prototype._boxProcessors.subs=function(){this._procFullBox(),this._procField("entry_count","uint",32),this._procEntries("entries",this.entry_count,function(a){this._procEntryField(a,"sample_delta","uint",32),this._procEntryField(a,"subsample_count","uint",16),this._procSubEntries(a,"subsamples",a.subsample_count,function(a){this._procEntryField(a,"subsample_size","uint",1===this.version?32:16),this._procEntryField(a,"subsample_priority","uint",8),this._procEntryField(a,"discardable","uint",8),this._procEntryField(a,"codec_specific_parameters","uint",32)})})},f.prototype._boxProcessors.tenc=function(){this._procFullBox(),this._procField("default_IsEncrypted","uint",24),this._procField("default_IV_size","uint",8),this._procFieldArray("default_KID",16,"uint",8)},f.prototype._boxProcessors.tfdt=function(){this._procFullBox(),this._procField("baseMediaDecodeTime","uint",1==this.version?64:32)},f.prototype._boxProcessors.tfhd=function(){this._procFullBox(),this._procField("track_ID","uint",32),1&this.flags&&this._procField("base_data_offset","uint",64),2&this.flags&&this._procField("sample_description_offset","uint",32),8&this.flags&&this._procField("default_sample_duration","uint",32),16&this.flags&&this._procField("default_sample_size","uint",32),32&this.flags&&this._procField("default_sample_flags","uint",32)},f.prototype._boxProcessors.tfra=function(){this._procFullBox(),this._procField("track_ID","uint",32),this._parsing||(this.reserved=0,this.reserved|=(48&this.length_size_of_traf_num)<<4,this.reserved|=(12&this.length_size_of_trun_num)<<2,this.reserved|=3&this.length_size_of_sample_num),this._procField("reserved","uint",32),this._parsing&&(this.length_size_of_traf_num=(48&this.reserved)>>4,this.length_size_of_trun_num=(12&this.reserved)>>2,this.length_size_of_sample_num=3&this.reserved),this._procField("number_of_entry","uint",32),this._procEntries("entries",this.number_of_entry,function(a){this._procEntryField(a,"time","uint",1===this.version?64:32),this._procEntryField(a,"moof_offset","uint",1===this.version?64:32),this._procEntryField(a,"traf_number","uint",8*(this.length_size_of_traf_num+1)),this._procEntryField(a,"trun_number","uint",8*(this.length_size_of_trun_num+1)),this._procEntryField(a,"sample_number","uint",8*(this.length_size_of_sample_num+1))})},f.prototype._boxProcessors.tkhd=function(){this._procFullBox(),this._procField("creation_time","uint",1==this.version?64:32),this._procField("modification_time","uint",1==this.version?64:32),this._procField("track_ID","uint",32),this._procField("reserved1","uint",32),this._procField("duration","uint",1==this.version?64:32),this._procFieldArray("reserved2",2,"uint",32),this._procField("layer","uint",16),this._procField("alternate_group","uint",16),this._procField("volume","template",16),this._procField("reserved3","uint",16),this._procFieldArray("matrix",9,"template",32),this._procField("width","template",32),this._procField("height","template",32)},f.prototype._boxProcessors.trex=function(){this._procFullBox(),this._procField("track_ID","uint",32),this._procField("default_sample_description_index","uint",32),this._procField("default_sample_duration","uint",32),this._procField("default_sample_size","uint",32),this._procField("default_sample_flags","uint",32)},f.prototype._boxProcessors.trun=function(){this._procFullBox(),this._procField("sample_count","uint",32),1&this.flags&&this._procField("data_offset","int",32),4&this.flags&&this._procField("first_sample_flags","uint",32),this._procEntries("samples",this.sample_count,function(a){256&this.flags&&this._procEntryField(a,"sample_duration","uint",32),512&this.flags&&this._procEntryField(a,"sample_size","uint",32),1024&this.flags&&this._procEntryField(a,"sample_flags","uint",32),2048&this.flags&&this._procEntryField(a,"sample_composition_time_offset",1===this.version?"int":"uint",32)})},f.prototype._boxProcessors["url "]=f.prototype._boxProcessors["urn "]=function(){this._procFullBox(),"urn "===this.type&&this._procField("name","string",-1),this._procField("location","string",-1)},f.prototype._boxProcessors.vlab=function(){this._procField("source_label","utf8")},f.prototype._boxProcessors.vmhd=function(){this._procFullBox(),this._procField("graphicsmode","uint",16),this._procFieldArray("opcolor",3,"uint",16)},f.prototype._boxProcessors.vttC=function(){this._procField("config","utf8")},f.prototype._boxProcessors.vtte=function(){}},{}],10:[function(a,b,c){(function(a){function b(a){return Array.isArray?Array.isArray(a):"[object Array]"===q(a)}function d(a){return"boolean"==typeof a}function e(a){return null===a}function f(a){return null==a}function g(a){return"number"==typeof a}function h(a){return"string"==typeof a}function i(a){return"symbol"==typeof a}function j(a){return void 0===a}function k(a){return"[object RegExp]"===q(a)}function l(a){return"object"==typeof a&&null!==a}function m(a){return"[object Date]"===q(a)}function n(a){return"[object Error]"===q(a)||a instanceof Error}function o(a){return"function"==typeof a}function p(a){return null===a||"boolean"==typeof a||"number"==typeof a||"string"==typeof a||"symbol"==typeof a||void 0===a}function q(a){return Object.prototype.toString.call(a)}c.isArray=b,c.isBoolean=d,c.isNull=e,c.isNullOrUndefined=f,c.isNumber=g,c.isString=h,c.isSymbol=i,c.isUndefined=j,c.isRegExp=k,c.isObject=l,c.isDate=m,c.isError=n,c.isFunction=o,c.isPrimitive=p,c.isBuffer=a.isBuffer}).call(this,{isBuffer:a(22)})},{22:22}],11:[function(a,b,c){function d(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function e(a){return"function"==typeof a}function f(a){return"number"==typeof a}function g(a){return"object"==typeof a&&null!==a}function h(a){return void 0===a}b.exports=d,d.EventEmitter=d,d.prototype._events=void 0,d.prototype._maxListeners=void 0,d.defaultMaxListeners=10,d.prototype.setMaxListeners=function(a){if(!f(a)||a<0||isNaN(a))throw TypeError("n must be a positive number");return this._maxListeners=a,this},d.prototype.emit=function(a){var b,c,d,f,i,j;if(this._events||(this._events={}),"error"===a&&(!this._events.error||g(this._events.error)&&!this._events.error.length)){if((b=arguments[1])instanceof Error)throw b;throw TypeError('Uncaught, unspecified "error" event.')}if(c=this._events[a],h(c))return!1;if(e(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:for(d=arguments.length,f=new Array(d-1),i=1;i<d;i++)f[i-1]=arguments[i];c.apply(this,f)}else if(g(c)){for(d=arguments.length,f=new Array(d-1),i=1;i<d;i++)f[i-1]=arguments[i];for(j=c.slice(),d=j.length,i=0;i<d;i++)j[i].apply(this,f)}return!0},d.prototype.addListener=function(a,b){var c;if(!e(b))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",a,e(b.listener)?b.listener:b),this._events[a]?g(this._events[a])?this._events[a].push(b):this._events[a]=[this._events[a],b]:this._events[a]=b,g(this._events[a])&&!this._events[a].warned){var c;c=h(this._maxListeners)?d.defaultMaxListeners:this._maxListeners,c&&c>0&&this._events[a].length>c&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),"function"==typeof console.trace&&console.trace())}return this},d.prototype.on=d.prototype.addListener,d.prototype.once=function(a,b){function c(){this.removeListener(a,c),d||(d=!0,b.apply(this,arguments))}if(!e(b))throw TypeError("listener must be a function");var d=!1;return c.listener=b,this.on(a,c),this},d.prototype.removeListener=function(a,b){var c,d,f,h;if(!e(b))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;if(c=this._events[a],f=c.length,d=-1,c===b||e(c.listener)&&c.listener===b)delete this._events[a],this._events.removeListener&&this.emit("removeListener",a,b);else if(g(c)){for(h=f;h-- >0;)if(c[h]===b||c[h].listener&&c[h].listener===b){d=h;break}if(d<0)return this;1===c.length?(c.length=0,delete this._events[a]):c.splice(d,1),this._events.removeListener&&this.emit("removeListener",a,b)}return this},d.prototype.removeAllListeners=function(a){var b,c;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[a]&&delete this._events[a],this;if(0===arguments.length){for(b in this._events)"removeListener"!==b&&this.removeAllListeners(b);return this.removeAllListeners("removeListener"),this._events={},this}if(c=this._events[a],e(c))this.removeListener(a,c);else for(;c.length;)this.removeListener(a,c[c.length-1]);return delete this._events[a],this},d.prototype.listeners=function(a){return this._events&&this._events[a]?e(this._events[a])?[this._events[a]]:this._events[a].slice():[]},d.listenerCount=function(a,b){return a._events&&a._events[b]?e(a._events[b])?1:a._events[b].length:0}},{}],12:[function(a,b,c){"use strict";var d=Array.isArray,e=Object.keys,f=Object.prototype.hasOwnProperty;b.exports=function a(b,c){if(b===c)return!0;var g,h,i,j=d(b),k=d(c);if(j&&k){if((h=b.length)!=c.length)return!1;for(g=0;g<h;g++)if(!a(b[g],c[g]))return!1;return!0}if(j!=k)return!1;var l=b instanceof Date,m=c instanceof Date;if(l!=m)return!1;if(l&&m)return b.getTime()==c.getTime();var n=b instanceof RegExp,o=c instanceof RegExp;if(n!=o)return!1;if(n&&o)return b.toString()==c.toString();if(b instanceof Object&&c instanceof Object){var p=e(b);if((h=p.length)!==e(c).length)return!1;for(g=0;g<h;g++)if(!f.call(c,p[g]))return!1;for(g=0;g<h;g++)if(i=p[g],!a(b[i],c[i]))return!1;return!0}return!1}},{}],13:[function(a,b,c){c.read=function(a,b,c,d,e){var f,g,h=8*e-d-1,i=(1<<h)-1,j=i>>1,k=-7,l=c?e-1:0,m=c?-1:1,n=a[b+l];for(l+=m,f=n&(1<<-k)-1,n>>=-k,k+=h;k>0;f=256*f+a[b+l],l+=m,k-=8);for(g=f&(1<<-k)-1,f>>=-k,k+=d;k>0;g=256*g+a[b+l],l+=m,k-=8);if(0===f)f=1-j;else{if(f===i)return g?NaN:1/0*(n?-1:1);g+=Math.pow(2,d),f-=j}return(n?-1:1)*g*Math.pow(2,f-d)},c.write=function(a,b,c,d,e,f){var g,h,i,j=8*f-e-1,k=(1<<j)-1,l=k>>1,m=23===e?Math.pow(2,-24)-Math.pow(2,-77):0,n=d?0:f-1,o=d?1:-1,p=b<0||0===b&&1/b<0?1:0;for(b=Math.abs(b),isNaN(b)||b===1/0?(h=isNaN(b)?1:0,g=k):(g=Math.floor(Math.log(b)/Math.LN2),b*(i=Math.pow(2,-g))<1&&(g--,i*=2),b+=g+l>=1?m/i:m*Math.pow(2,1-l),b*i>=2&&(g++,i/=2),g+l>=k?(h=0,g=k):g+l>=1?(h=(b*i-1)*Math.pow(2,e),g+=l):(h=b*Math.pow(2,l-1)*Math.pow(2,e),g=0));e>=8;a[c+n]=255&h,n+=o,h/=256,e-=8);for(g=g<<e|h,j+=e;j>0;a[c+n]=255&g,n+=o,g/=256,j-=8);a[c+n-o]|=128*p}},{}],14:[function(a,b,c){!function(a,b,c,d,e){function f(a){this.node=a}function g(){this.events=[],this.head=null,this.body=null}function h(){this.styling=null,this.layout=null}function i(){this.styles={}}function j(){this.id=null,this.styleAttrs=null,this.styleRefs=null}function k(){this.regions={}}function l(a){this.kind=a,this.begin=null,this.end=null,this.styleAttrs=null,this.regionID=null,this.sets=null,this.timeContainer=null}function m(){l.call(this,"body")}function n(){l.call(this,"div")}function o(){l.call(this,"p")}function p(){l.call(this,"span"),this.space=null}function q(){l.call(this,"span"),this.space=null,this.text=null}function r(){l.call(this,"br")}function s(){this.id=null,this.begin=null,this.end=null,this.styleAttrs=null,this.sets=null}function t(){this.begin=null,this.end=null,this.qname=null,this.value=null}function u(a){return a&&"xml:id"in a.attributes?a.attributes["xml:id"].value||null:null}function v(a){return a&&"region"in a.attributes?a.attributes.region.value:""}function w(a,b){var c=a&&"timeContainer"in a.attributes?a.attributes.timeContainer.value:null;return c&&"par"!==c?"seq"===c?"seq":(K(b,"Illegal value of timeContainer (assuming 'par')"),"par"):"par"}function x(a){return a&&"style"in a.attributes?a.attributes.style.value.split(" "):[]}function y(a,b){var c={};if(null!==a)for(var e in a.attributes){var f=a.attributes[e].uri+" "+a.attributes[e].local,g=d.byQName[f];if(void 0!==g){var h=g.parse(a.attributes[e].value);null!==h?(c[f]=h,g===d.byName.zIndex&&J(b,"zIndex attribute present but not used by IMSC1 since regions do not overlap")):K(b,"Cannot parse styling attribute "+f+" --\x3e "+a.attributes[e].value)}}return c}function z(a,b,c){for(var d in a.attributes)if(a.attributes[d].uri===b&&a.attributes[d].local===c)return a.attributes[d].value;return null}function A(a,b){var d=z(a,c.ns_ittp,"aspectRatio"),e=null;if(null!==d){var f=/(\d+) (\d+)/,g=f.exec(d);if(null!==g){var h=parseInt(g[1]),i=parseInt(g[2]);0!==h&&0!==i?e=h/i:K(b,"Illegal aspectRatio values (ignoring)")}else K(b,"Malformed aspectRatio attribute (ignoring)")}return e}function B(a,b){var d=z(a,c.ns_ttp,"cellResolution"),e=15,f=32;if(null!==d){var g=/(\d+) (\d+)/,h=g.exec(d);null!==h?(f=parseInt(h[1]),e=parseInt(h[2])):J(b,"Malformed cellResolution value (using initial value instead)")}return{w:f,h:e}}function C(a,b){var d,e=z(a,c.ns_ttp,"frameRate"),f=30;if(null!==e){d=/(\d+)/.exec(e),null!==d?f=parseInt(d[1]):J(b,"Malformed frame rate attribute (using initial value instead)")}var g=z(a,c.ns_ttp,"frameRateMultiplier"),h=1;if(null!==g){d=/(\d+) (\d+)/.exec(g),null!==d?h=parseInt(d[1])/parseInt(d[2]):J(b,"Malformed frame rate multiplier attribute (using initial value instead)")}var i=h*f,j=1,k=z(a,c.ns_ttp,"tickRate");if(null===k)null!==e&&(j=i);else{d=/(\d+)/.exec(k),null!==d?j=parseInt(d[1]):J(b,"Malformed tick rate attribute (using initial value instead)")}return{effectiveFrameRate:i,tickRate:j}}function D(a,b){var d=z(a,c.ns_tts,"extent");if(null===d)return null;var f=d.split(" ");if(2!==f.length)return J(b,"Malformed extent (ignoring)"),null;var g=e.parseLength(f[0]),h=e.parseLength(f[1]);return h&&g?{h:h,w:g}:(J(b,"Malformed extent values (ignoring)"),null)}function E(a,b,c){
10
- var d,e=/^(\d{2,}):(\d\d):(\d\d(?:\.\d+)?)$/,f=/^(\d{2,}):(\d\d):(\d\d)\:(\d{2,})$/,g=/^(\d+(?:\.\d+)?)f$/,h=/^(\d+(?:\.\d+)?)t$/,i=/^(\d+(?:\.\d+)?)ms$/,j=/^(\d+(?:\.\d+)?)s$/,k=/^(\d+(?:\.\d+)?)h$/,l=/^(\d+(?:\.\d+)?)m$/,m=null;return null!==(d=g.exec(c))?null!==b&&(m=parseFloat(d[1])/b):null!==(d=h.exec(c))?null!==a&&(m=parseFloat(d[1])/a):null!==(d=i.exec(c))?m=parseFloat(d[1])/1e3:null!==(d=j.exec(c))?m=parseFloat(d[1]):null!==(d=k.exec(c))?m=3600*parseFloat(d[1]):null!==(d=l.exec(c))?m=60*parseFloat(d[1]):null!==(d=e.exec(c))?m=3600*parseInt(d[1])+60*parseInt(d[2])+parseFloat(d[3]):null!==(d=f.exec(c))&&null!==b&&(m=3600*parseInt(d[1])+60*parseInt(d[2])+parseInt(d[3])+(null===d[4]?0:parseInt(d[4])/b)),m}function F(a,b,c,d){var e=b&&"seq"===b.timeContainer,f=0;c&&"begin"in c.attributes&&null===(f=E(a.tickRate,a.effectiveFrameRate,c.attributes.begin.value))&&(J(d,"Malformed begin value "+c.attributes.begin.value+" (using 0)"),f=0);var g=e?0:null;c&&"dur"in c.attributes&&null===(g=E(a.tickRate,a.effectiveFrameRate,c.attributes.dur.value))&&J(d,"Malformed dur value "+c.attributes.dur.value+" (ignoring)");var h=null;c&&"end"in c.attributes&&null===(h=E(a.tickRate,a.effectiveFrameRate,c.attributes.end.value))&&J(d,"Malformed end value (ignoring)");var i=0;if(b&&(i=e&&"contents"in b&&b.contents.length>0?b.contents[b.contents.length-1].end:b.begin||0),f+=i,null!==g)h=f+g;else{var j=b&&"end"in b?b.end:Number.POSITIVE_INFINITY;h=null!==h?h+i:j}return{begin:f,end:h}}function G(a,b,c){for(;b.styleRefs.length>0;){var d=b.styleRefs.pop();d in a.styles?(G(a,a.styles[d],c),I(a.styles[d].styleAttrs,b.styleAttrs)):K(c,"Non-existant style id referenced")}}function H(a,b,c,d){for(var e=b.length-1;e>=0;e--){var f=b[e];f in a.styles?I(a.styles[f].styleAttrs,c):K(d,"Non-existant style id referenced")}}function I(a,b){for(var c in a)c in b||(b[c]=a[c])}function J(a,b){if(a&&a.warn&&a.warn(b))throw b}function K(a,b){if(a&&a.error&&a.error(b))throw b}function L(a,b){throw a&&a.fatal&&a.fatal(b),b}function M(a,b){for(var c,d=0,e=a.length-1;d<=e;){c=Math.floor((d+e)/2);var f=a[c];if(f<b)d=c+1;else{if(!(f>b))return{found:!0,index:c};e=c-1}}return{found:!1,index:d}}a.fromXML=function(a,d,e){var l=b.parser(!0,{xmlns:!0}),u=[],v=[],w=[],x=0,y=null;l.onclosetag=function(a){if(u[0]instanceof i)for(var b in u[0].styles)G(u[0],u[0].styles[b],d);else if(u[0]instanceof o||u[0]instanceof p){if(u[0].contents.length>1){var g,h=[u[0].contents[0]];for(g=1;g<u[0].contents.length;g++)u[0].contents[g]instanceof q&&h[h.length-1]instanceof q?h[h.length-1].text+=u[0].contents[g].text:h.push(u[0].contents[g]);u[0].contents=h}u[0]instanceof p&&1===u[0].contents.length&&u[0].contents[0]instanceof q&&null===u[0].text&&(u[0].text=u[0].contents[0].text,delete u[0].contents)}else u[0]instanceof f&&(u[0].node.uri===c.ns_tt&&"metadata"===u[0].node.local?x--:x>0&&e&&"onCloseTag"in e&&e.onCloseTag());w.shift(),v.shift(),u.shift()},l.ontext=function(a){if(void 0===u[0]);else if(u[0]instanceof p||u[0]instanceof o){var b=new q;b.initFromText(y,u[0],a,w[0],d),u[0].contents.push(b)}else u[0]instanceof f&&x>0&&e&&"onText"in e&&e.onText(a)},l.onopentag=function(a){var b=a.attributes["xml:space"];b?w.unshift(b.value):0===w.length?w.unshift("default"):w.unshift(w[0]);var l=a.attributes["xml:lang"];if(l?v.unshift(l.value):0===v.length?v.unshift(""):v.unshift(v[0]),a.uri===c.ns_tt)if("tt"===a.local)null!==y&&L("Two <tt> elements at ("+this.line+","+this.column+")"),y=new g,y.initFromNode(a,d),u.unshift(y);else if("head"===a.local)u[0]instanceof g||L("Parent of <head> element is not <tt> at ("+this.line+","+this.column+")"),null!==y.head&&L("Second <head> element at ("+this.line+","+this.column+")"),y.head=new h,u.unshift(y.head);else if("styling"===a.local)u[0]instanceof h||L("Parent of <styling> element is not <head> at ("+this.line+","+this.column+")"),null!==y.head.styling&&L("Second <styling> element at ("+this.line+","+this.column+")"),y.head.styling=new i,u.unshift(y.head.styling);else if("style"===a.local){var q;u[0]instanceof i?(q=new j,q.initFromNode(a,d),q.id?y.head.styling.styles[q.id]=q:K("<style> element missing @id attribute"),u.unshift(q)):u[0]instanceof s?(q=new j,q.initFromNode(a,d),I(q.styleAttrs,u[0].styleAttrs),u.unshift(q)):L(d,"Parent of <style> element is not <styling> or <region> at ("+this.line+","+this.column+")")}else if("layout"===a.local)u[0]instanceof h||L(d,"Parent of <layout> element is not <head> at "+this.line+","+this.column+")"),null!==y.head.layout&&L(d,"Second <layout> element at "+this.line+","+this.column+")"),y.head.layout=new k,u.unshift(y.head.layout);else if("region"===a.local){u[0]instanceof k||L(d,"Parent of <region> element is not <layout> at "+this.line+","+this.column+")");var z=new s;z.initFromNode(y,a,d),!z.id||z.id in y.head.layout.regions?K(d,"Ignoring <region> with duplicate or missing @id at "+this.line+","+this.column+")"):(y.head.layout.regions[z.id]=z,y._registerEvent(z)),u.unshift(z)}else if("body"===a.local){u[0]instanceof g||L(d,"Parent of <body> element is not <tt> at "+this.line+","+this.column+")"),null!==y.body&&L(d,"Second <body> element at "+this.line+","+this.column+")");var A=new m;A.initFromNode(y,a,d),y._registerEvent(A),y.body=A,u.unshift(A)}else if("div"===a.local){u[0]instanceof n||u[0]instanceof m||L(d,"Parent of <div> element is not <body> or <div> at "+this.line+","+this.column+")");var B=new n;B.initFromNode(y,u[0],a,d),y._registerEvent(B),u[0].contents.push(B),u.unshift(B)}else if("p"===a.local){u[0]instanceof n||L(d,"Parent of <p> element is not <div> at "+this.line+","+this.column+")");var C=new o;C.initFromNode(y,u[0],a,d),y._registerEvent(C),u[0].contents.push(C),u.unshift(C)}else if("span"===a.local){u[0]instanceof p||u[0]instanceof o||L(d,"Parent of <span> element is not <span> or <p> at "+this.line+","+this.column+")");var D=new p;D.initFromNode(y,u[0],a,w[0],d),y._registerEvent(D),u[0].contents.push(D),u.unshift(D)}else if("br"===a.local){u[0]instanceof p||u[0]instanceof o||L(d,"Parent of <br> element is not <span> or <p> at "+this.line+","+this.column+")");var E=new r;E.initFromNode(y,u[0],a,d),y._registerEvent(E),u[0].contents.push(E),u.unshift(E)}else if("set"===a.local){u[0]instanceof p||u[0]instanceof o||u[0]instanceof n||u[0]instanceof m||u[0]instanceof s||u[0]instanceof r||L(d,"Parent of <set> element is not a content element or a region at "+this.line+","+this.column+")");var F=new t;F.initFromNode(y,u[0],a,d),y._registerEvent(F),u[0].sets.push(F),u.unshift(F)}else u.unshift(new f(a));else u.unshift(new f(a));if(u[0]instanceof f)if(a.uri===c.ns_tt&&"metadata"===a.local)x++;else if(x>0&&e&&"onOpenTag"in e){var G=[];for(var H in a.attributes)G[a.attributes[H].uri+" "+a.attributes[H].local]={uri:a.attributes[H].uri,local:a.attributes[H].local,value:a.attributes[H].value};e.onOpenTag(a.uri,a.local,G)}},l.write(a).close(),null!==y.head?delete y.head.styling:y.head=new h,null===y.head.layout&&(y.head.layout=new k);var z=!1;for(var A in y.head.layout.regions){z=!0;break}if(!z){var B=s.createDefaultRegion();y.head.layout.regions[B.id]=B}return y},g.prototype.initFromNode=function(a,b){this.cellResolution=B(a,b);var d=C(a,b);this.effectiveFrameRate=d.effectiveFrameRate,this.tickRate=d.tickRate,this.aspectRatio=A(a,b);var e=z(a,c.ns_ttp,"timeBase");null!==e&&"media"!==e&&L(b,"Unsupported time base");var f=D(a,b);null===f?this.pxDimensions={h:480,w:640}:("px"===f.h.unit&&"px"===f.w.unit||L(b,"Extent on TT must be in px or absent"),this.pxDimensions={h:f.h.value,w:f.w.value})},g.prototype._registerEvent=function(a){if(!(a.end<=a.begin)){var b=M(this.events,a.begin);if(b.found||this.events.splice(b.index,0,a.begin),a.end!==Number.POSITIVE_INFINITY){var c=M(this.events,a.end);c.found||this.events.splice(c.index,0,a.end)}}},g.prototype.getMediaTimeRange=function(){return[this.events[0],this.events[this.events.length-1]]},g.prototype.getMediaTimeEvents=function(){return this.events},j.prototype.initFromNode=function(a,b){this.id=u(a),this.styleAttrs=y(a,b),this.styleRefs=x(a)},l.prototype.initFromNode=function(a,b,c,d){var e=F(a,b,c,d);this.begin=e.begin,this.end=e.end,this.styleAttrs=y(c,d),null!==a.head&&null!==a.head.styling&&H(a.head.styling,x(c),this.styleAttrs,d),this.regionID=v(c),this.sets=[],this.timeContainer=w(c,d)},m.prototype.initFromNode=function(a,b,c){l.prototype.initFromNode.call(this,a,null,b,c),this.contents=[]},n.prototype.initFromNode=function(a,b,c,d){l.prototype.initFromNode.call(this,a,b,c,d),this.contents=[]},o.prototype.initFromNode=function(a,b,c,d){l.prototype.initFromNode.call(this,a,b,c,d),this.contents=[]},p.prototype.initFromNode=function(a,b,c,d,e){l.prototype.initFromNode.call(this,a,b,c,e),this.space=d,this.contents=[]},q.prototype.initFromText=function(a,b,c,d,e){l.prototype.initFromNode.call(this,a,b,null,e),this.text=c,this.space=d},r.prototype.initFromNode=function(a,b,c,d){l.prototype.initFromNode.call(this,a,b,c,d)},s.createDefaultRegion=function(){var a=new s;return a.id="",a.begin=0,a.end=Number.POSITIVE_INFINITY,a.styleAttrs={},a.sets=[],a},s.prototype.initFromNode=function(a,b,c){this.id=u(b);var d=F(a,null,b,c);this.begin=d.begin,this.end=d.end,this.styleAttrs=y(b,c),this.sets=[],null!==a.head&&null!==a.head.styling&&H(a.head.styling,x(b),this.styleAttrs,c)},t.prototype.initFromNode=function(a,b,c,d){var e=F(a,b,c,d);this.begin=e.begin,this.end=e.end;var f=y(c,d);for(var g in f){if(this.qname){K(d,"More than one style specified on set");break}this.qname=g,this.value=f[g]}}}(void 0===c?this.imscDoc={}:c,"undefined"==typeof sax?a(40):sax,"undefined"==typeof imscNames?a(18):imscNames,"undefined"==typeof imscStyles?a(19):imscStyles,"undefined"==typeof imscUtils?a(20):imscUtils)},{18:18,19:19,20:20,40:40}],15:[function(a,b,c){!function(a,b,c){function d(a,b,h){var j;if("region"===h.kind?(j=document.createElement("div"),j.style.position="absolute"):"body"===h.kind?j=document.createElement("div"):"div"===h.kind?j=document.createElement("div"):"p"===h.kind?j=document.createElement("p"):"span"===h.kind?j=document.createElement("span"):"br"===h.kind&&(j=document.createElement("br")),!j)return void n(a.errorHandler,"Error processing ISD element kind: "+h.kind);j.style.margin="0";for(var k in o){var l=o[k],m=h.styleAttrs[l.qname];void 0!==m&&null!==l.map&&l.map(a,j,h,m)}var p=j,q=h.styleAttrs[c.byName.multiRowAlign.qname];if(q&&"auto"!==q){var r=document.createElement("span");r.style.display="inline-block",r.style.textAlign=q,j.appendChild(r),p=r,a.mra=q}var s=h.styleAttrs[c.byName.linePadding.qname];if(s&&s>0&&(a.lp=s),"span"===h.kind&&h.text)if(a.lp||a.mra)for(var t=0;t<h.text.length;t++){var u=document.createElement("span");u.textContent=h.text.charAt(t),j.appendChild(u)}else j.textContent=h.text;b.appendChild(j);for(var v in h.contents)d(a,p,h.contents[v]);if((a.lp||a.mra)&&"p"===h.kind){var w=[];f(p,w,"red"),i(w,a.lp*a.h),a.lp&&delete a.lp,a.mra&&delete a.mra}if("region"===h.kind){var x=[];g(p,x);var y=h.styleAttrs[c.byName.writingMode.qname];if(("lrtb"===y||"lr"===y||"rltb"===y||"rl"===y)&&a.enableRollUp&&h.contents.length>0&&"after"===h.styleAttrs[c.byName.displayAlign.qname]){var z=""===h.id?"_":h.id,A=new e(z,x);if(a.currentISDState[A.id]=A,a.previousISDState&&A.id in a.previousISDState&&a.previousISDState[A.id].plist.length>0&&A.plist.length>1&&A.plist[A.plist.length-2].text===a.previousISDState[A.id].plist[a.previousISDState[A.id].plist.length-1].text){var B=j.firstElementChild;B.style.bottom="-"+A.plist[A.plist.length-1].height+"px",B.style.transition="transform 0.4s",B.style.position="relative",B.style.transform="translateY(-"+A.plist[A.plist.length-1].height+"px)"}}}}function e(a,b){this.id=a,this.plist=b}function f(a,b,c){if(0===a.childElementCount)b.push({element:a,bgcolor:c});else for(var d=a.style.backgroundColor||c,e=a.firstChild;e;)e.nodeType===Node.ELEMENT_NODE&&f(e,b,d),e=e.nextSibling}function g(a,b){if(0===a.childElementCount&&"span"===a.localName){var c=a.getBoundingClientRect();0!==b.length&&h(c.top,c.height,b[b.length-1].top,b[b.length-1].height)?(c.top<b[b.length-1].top&&(b[b.length-1].top=c.top),c.height>b[b.length-1].height&&(b[b.length-1].height=c.height),b[b.length-1].text+=a.textContent):b.push({top:c.top,height:c.height,text:a.textContent})}else for(var d=a.firstChild;d;)d.nodeType===Node.ELEMENT_NODE&&g(d,b),d=d.nextSibling}function h(a,b,c,d){return a+b<c+d&&a>c||c+d<=a+b&&c>=a}function i(a,b){for(var c=null,d=!0,e=!1,f=0;f<=a.length;f++)if(f===a.length||"br"!==a[f].element.localName){if(null===c||f===a.length||!h(a[f].element.getBoundingClientRect().top,a[f].element.getBoundingClientRect().height,a[c].element.getBoundingClientRect().top,a[c].element.getBoundingClientRect().height)){if(b&&!d){for(;--f>=0;)if(0!==a[f].element.getBoundingClientRect().width){if(k(a[f].element,a[f].color,b),0!==a[f].element.getBoundingClientRect().width&&h(a[f].element.getBoundingClientRect().top,a[f].element.getBoundingClientRect().height,a[c].element.getBoundingClientRect().top,a[c].element.getBoundingClientRect().height))break;l(a[f].element)}d=!0;continue}if(f!==a.length&&null!==c&&!e){var g=document.createElement("br");a[f].element.parentElement.insertBefore(g,a[f].element),a.splice(f,0,{element:g}),e=!0;continue}if(f!==a.length&&b)for(;f<a.length;f++)if(0!==a[f].element.getBoundingClientRect().width){j(a[f].element,a[f].color,b);break}d=!1,e=!1,c=f}}else e=!0}function j(a,b,c){a.style.paddingLeft=c+"px",a.style.backgroundColor=b}function k(a,b,c){a.style.paddingRight=c+"px",a.style.backgroundColor=b}function l(a){a.style.paddingRight=null}function m(a,b){this.qname=a,this.map=b}function n(a,b){if(a&&a.error&&a.error(b))throw b}a.render=function(a,b,c,e,f,g,h,i,j){var k=e||b.clientHeight,l=f||b.clientWidth;if(null!==a.aspectRatio){var m=k*a.aspectRatio;m>l?k=Math.round(l/a.aspectRatio):l=m}var n=document.createElement("div");n.style.position="relative",n.style.width=l+"px",n.style.height=k+"px",n.style.margin="auto",n.style.top=0,n.style.bottom=0,n.style.left=0,n.style.right=0,n.style.zIndex=0;var o={h:k,w:l,regionH:null,regionW:null,imgResolver:c,displayForcedOnlyMode:g||!1,isd:a,errorHandler:h,previousISDState:i,enableRollUp:j||!1,currentISDState:{}};b.appendChild(n);for(var p in a.contents)d(o,n,a.contents[p]);return o.currentISDState};var o=[new m("http://www.w3.org/ns/ttml#styling backgroundColor",function(a,b,c,d){b.style.backgroundColor="rgba("+d[0].toString()+","+d[1].toString()+","+d[2].toString()+","+(d[3]/255).toString()+")"}),new m("http://www.w3.org/ns/ttml#styling color",function(a,b,c,d){b.style.color="rgba("+d[0].toString()+","+d[1].toString()+","+d[2].toString()+","+(d[3]/255).toString()+")"}),new m("http://www.w3.org/ns/ttml#styling direction",function(a,b,c,d){b.style.direction=d}),new m("http://www.w3.org/ns/ttml#styling display",function(a,b,c,d){}),new m("http://www.w3.org/ns/ttml#styling displayAlign",function(a,b,c,d){b.style.display="flex",b.style.flexDirection="column","before"===d?b.style.justifyContent="flex-start":"center"===d?b.style.justifyContent="center":"after"===d&&(b.style.justifyContent="flex-end")}),new m("http://www.w3.org/ns/ttml#styling extent",function(a,b,c,d){a.regionH=d.h*a.h,a.regionW=d.w*a.w;var e=0,f=0,g=c.styleAttrs["http://www.w3.org/ns/ttml#styling padding"];g&&(e=(g[0]+g[2])*a.h,f=(g[1]+g[3])*a.w),b.style.height=a.regionH-e+"px",b.style.width=a.regionW-f+"px"}),new m("http://www.w3.org/ns/ttml#styling fontFamily",function(a,b,c,d){var e=[];for(var f in d)"monospaceSerif"===d[f]?(e.push("Courier New"),e.push('"Liberation Mono"'),e.push("Courier"),e.push("monospace")):"proportionalSansSerif"===d[f]?(e.push("Arial"),e.push("Helvetica"),e.push('"Liberation Sans"'),e.push("sans-serif")):"monospace"===d[f]?e.push("monospace"):"sansSerif"===d[f]?e.push("sans-serif"):"serif"===d[f]?e.push("serif"):"monospaceSansSerif"===d[f]?(e.push("Consolas"),e.push("monospace")):"proportionalSerif"===d[f]?e.push("serif"):e.push(d[f]);b.style.fontFamily=e.join(",")}),new m("http://www.w3.org/ns/ttml#styling fontSize",function(a,b,c,d){b.style.fontSize=d*a.h+"px"}),new m("http://www.w3.org/ns/ttml#styling fontStyle",function(a,b,c,d){b.style.fontStyle=d}),new m("http://www.w3.org/ns/ttml#styling fontWeight",function(a,b,c,d){b.style.fontWeight=d}),new m("http://www.w3.org/ns/ttml#styling lineHeight",function(a,b,c,d){b.style.lineHeight="normal"===d?"normal":d*a.h+"px"}),new m("http://www.w3.org/ns/ttml#styling opacity",function(a,b,c,d){b.style.opacity=d}),new m("http://www.w3.org/ns/ttml#styling origin",function(a,b,c,d){b.style.top=d.h*a.h+"px",b.style.left=d.w*a.w+"px"}),new m("http://www.w3.org/ns/ttml#styling overflow",function(a,b,c,d){b.style.overflow=d}),new m("http://www.w3.org/ns/ttml#styling padding",function(a,b,c,d){var e=[];e[0]=d[0]*a.h+"px",e[1]=d[3]*a.w+"px",e[2]=d[2]*a.h+"px",e[3]=d[1]*a.w+"px",b.style.padding=e.join(" ")}),new m("http://www.w3.org/ns/ttml#styling showBackground",null),new m("http://www.w3.org/ns/ttml#styling textAlign",function(a,b,d,e){var f,g=d.styleAttrs[c.byName.direction.qname];f="start"===e?"rtl"===g?"right":"left":"end"===e?"rtl"===g?"left":"right":e,b.style.textAlign=f}),new m("http://www.w3.org/ns/ttml#styling textDecoration",function(a,b,c,d){b.style.textDecoration=d.join(" ").replace("lineThrough","line-through")}),new m("http://www.w3.org/ns/ttml#styling textOutline",function(a,b,c,d){b.style.textShadow="none"===d?"":"rgba("+d.color[0].toString()+","+d.color[1].toString()+","+d.color[2].toString()+","+(d.color[3]/255).toString()+") 0px 0px "+d.thickness*a.h+"px"}),new m("http://www.w3.org/ns/ttml#styling unicodeBidi",function(a,b,c,d){var e;e="bidiOverride"===d?"bidi-override":d,b.style.unicodeBidi=e}),new m("http://www.w3.org/ns/ttml#styling visibility",function(a,b,c,d){b.style.visibility=d}),new m("http://www.w3.org/ns/ttml#styling wrapOption",function(a,b,c,d){"wrap"===d?"preserve"===c.space?b.style.whiteSpace="pre-wrap":b.style.whiteSpace="normal":"preserve"===c.space?b.style.whiteSpace="pre":b.style.whiteSpace="noWrap"}),new m("http://www.w3.org/ns/ttml#styling writingMode",function(a,b,c,d){"lrtb"===d||"lr"===d?b.style.writingMode="horizontal-tb":"rltb"===d||"rl"===d?b.style.writingMode="horizontal-tb":"tblr"===d?b.style.writingMode="vertical-lr":"tbrl"!==d&&"tb"!==d||(b.style.writingMode="vertical-rl")}),new m("http://www.w3.org/ns/ttml#styling zIndex",function(a,b,c,d){b.style.zIndex=d}),new m("http://www.smpte-ra.org/schemas/2052-1/2010/smpte-tt backgroundImage",function(a,b,c,d){if(null!==a.imgResolver&&null!==d){var e=document.createElement("img"),f=a.imgResolver(d,e);f&&(e.src=f),e.height=a.regionH,e.width=a.regionW,b.appendChild(e)}}),new m("http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay",function(a,b,c,d){a.displayForcedOnlyMode&&!1===d&&(b.style.visibility="hidden")})],p={};for(var q in o)p[o[q].qname]=o[q]}(void 0===c?this.imscHTML={}:c,"undefined"==typeof imscNames?a(18):imscNames,"undefined"==typeof imscStyles?a(19):imscStyles)},{18:18,19:19}],16:[function(a,b,c){!function(a,b,c){function d(a,b,g,j,k,l,m,n){if(b<m.begin||b>=m.end)return null;var o="regionID"in m&&""!==m.regionID?m.regionID:l;if(null!==k&&o!==g.id&&(!("contents"in m)||"contents"in m&&0===m.contents.length||""!==o))return null;var p=new h(m);for(var q in m.sets)b<m.sets[q].begin||b>=m.sets[q].end||(p.styleAttrs[m.sets[q].qname]=m.sets[q].value);var r={};for(var s in p.styleAttrs)if(r[s]=!0,s===c.byName.writingMode.qname&&!(c.byName.direction.qname in p.styleAttrs)){var t=p.styleAttrs[s];"lrtb"===t||"lr"===t?p.styleAttrs[c.byName.direction.qname]="ltr":"rltb"!==t&&"rl"!==t||(p.styleAttrs[c.byName.direction.qname]="rtl")}if(null!==k)for(var u in c.all){var v=c.all[u];if(v.qname===c.byName.textDecoration.qname){var w=k.styleAttrs[v.qname],x=p.styleAttrs[v.qname],y=[];void 0===x?y=w:-1===x.indexOf("none")?((-1===x.indexOf("noUnderline")&&-1!==w.indexOf("underline")||-1!==x.indexOf("underline"))&&y.push("underline"),(-1===x.indexOf("noLineThrough")&&-1!==w.indexOf("lineThrough")||-1!==x.indexOf("lineThrough"))&&y.push("lineThrough"),(-1===x.indexOf("noOverline")&&-1!==w.indexOf("overline")||-1!==x.indexOf("overline"))&&y.push("overline")):y.push("none"),p.styleAttrs[v.qname]=y}else v.inherit&&v.qname in k.styleAttrs&&!(v.qname in p.styleAttrs)&&(p.styleAttrs[v.qname]=k.styleAttrs[v.qname])}for(var z in c.all){var A=c.all[z];A.qname in p.styleAttrs||("region"===p.kind||!1===A.inherit&&null!==A.initial)&&(p.styleAttrs[A.qname]=A.parse(A.initial),r[A.qname]=!0)}for(var B in c.all){var C=c.all[B];if(C.qname in r&&null!==C.compute){var D=C.compute(a,k,p,p.styleAttrs[C.qname]);null!==D?p.styleAttrs[C.qname]=D:i(n,"Style '"+C.qname+"' on element '"+p.kind+"' cannot be computed")}}if("none"===p.styleAttrs[c.byName.display.qname])return null;var E;null===k?E=null===j?[]:[j]:"contents"in m&&(E=m.contents);for(var F in E){var G=d(a,b,g,j,p,o,E[F]);null!==G&&p.contents.push(G.element)}for(var H in p.styleAttrs){-1===c.byQName[H].applies.indexOf(p.kind)&&delete p.styleAttrs[H]}if("span"===p.kind&&p.text&&"default"===p.space){var I=p.text.replace(/\s+/g," ");p.text=I}if("p"===p.kind){var J=[];e(p,J);for(var K=0,L="after_br",M=0;;)if("after_br"===L)K>=J.length||"br"===J[K].kind?(L="before_br",M=K,K--):("preserve"!==J[K].space&&(J[K].text=J[K].text.replace(/^\s+/g,"")),J[K].text.length>0?(L="looking_br",K++):J.splice(K,1));else if("before_br"===L)if(K<0||"br"===J[K].kind){if(L="after_br",(K=M+1)>=J.length)break}else if("preserve"!==J[K].space&&(J[K].text=J[K].text.replace(/\s+$/g,"")),J[K].text.length>0){if(L="after_br",(K=M+1)>=J.length)break}else J.splice(K,1),K--;else K>=J.length||"br"===J[K].kind?(L="before_br",M=K,K--):K++;f(p)}return"div"===p.kind&&c.byName.backgroundImage.qname in p.styleAttrs||"br"===p.kind||"contents"in p&&p.contents.length>0||"span"===p.kind&&null!==p.text||"region"===p.kind&&"always"===p.styleAttrs[c.byName.showBackground.qname]?{region_id:o,element:p}:null}function e(a,b){if("contents"in a)for(var c in a.contents)e(a.contents[c],b);else b.push(a)}function f(a){if("br"===a.kind)return!1;if("text"in a)return 0===a.text.length;if("contents"in a){for(var b=a.contents.length;b--;)f(a.contents[b])&&a.contents.splice(b,1);return 0===a.contents.length}}function g(a){this.contents=[],this.aspectRatio=a.aspectRatio}function h(a){this.kind=a.kind||"region",a.id&&(this.id=a.id),this.styleAttrs={};for(var b in a.styleAttrs)this.styleAttrs[b]=a.styleAttrs[b];"text"in a?this.text=a.text:"br"!==a.kind&&(this.contents=[]),"space"in a&&(this.space=a.space)}function i(a,b){if(a&&a.error&&a.error(b))throw b}a.generateISD=function(a,b,c){var e=new g(a);for(var f in a.head.layout.regions){var h=d(a,b,a.head.layout.regions[f],a.body,null,"",a.head.layout.regions[f],c);null!==h&&e.contents.push(h.element)}return e}}(void 0===c?this.imscISD={}:c,"undefined"==typeof imscNames?a(18):imscNames,"undefined"==typeof imscStyles?a(19):imscStyles)},{18:18,19:19}],17:[function(a,b,c){c.generateISD=a(16).generateISD,c.fromXML=a(14).fromXML,c.renderHTML=a(15).render},{14:14,15:15,16:16}],18:[function(a,b,c){!function(a){a.ns_tt="http://www.w3.org/ns/ttml",a.ns_tts="http://www.w3.org/ns/ttml#styling",a.ns_ttp="http://www.w3.org/ns/ttml#parameter",a.ns_xml="http://www.w3.org/XML/1998/namespace",a.ns_itts="http://www.w3.org/ns/ttml/profile/imsc1#styling",a.ns_ittp="http://www.w3.org/ns/ttml/profile/imsc1#parameter",a.ns_smpte="http://www.smpte-ra.org/schemas/2052-1/2010/smpte-tt",a.ns_ebutts="urn:ebu:tt:style"}(void 0===c?this.imscNames={}:c)},{}],19:[function(a,b,c){!function(a,b,c){function d(a,b,c,d,e,f,g,h){this.name=b,this.ns=a,this.qname=a+" "+b,this.inherit=e,this.animatable=f,this.initial=c,this.applies=d,this.parse=g,this.compute=h}a.all=[new d(b.ns_tts,"backgroundColor","transparent",["body","div","p","region","span"],!1,!0,c.parseColor,null),new d(b.ns_tts,"color","white",["span"],!0,!0,c.parseColor,null),new d(b.ns_tts,"direction","ltr",["p","span"],!0,!0,function(a){return a},null),new d(b.ns_tts,"display","auto",["body","div","p","region","span"],!1,!0,function(a){return a},null),new d(b.ns_tts,"displayAlign","before",["region"],!1,!0,function(a){return a},null),new d(b.ns_tts,"extent","auto",["tt","region"],!1,!0,function(a){if("auto"===a)return a;var b=a.split(" ");if(2!==b.length)return null;var d=c.parseLength(b[0]),e=c.parseLength(b[1]);return e&&d?{h:e,w:d}:null},function(a,b,c,d){var e,f;if("auto"===d)e=1;else if("%"===d.h.unit)e=d.h.value/100;else{if("px"!==d.h.unit)return null;e=d.h.value/a.pxDimensions.h}if("auto"===d)f=1;else if("%"===d.w.unit)f=d.w.value/100;else{if("px"!==d.w.unit)return null;f=d.w.value/a.pxDimensions.w}return{h:e,w:f}}),new d(b.ns_tts,"fontFamily","default",["span"],!0,!0,function(a){var b=a.split(","),c=[];for(var d in b)"'"!==b[d].charAt(0)&&'"'!==b[d].charAt(0)&&"default"===b[d]?c.push("monospaceSerif"):c.push(b[d]);return c},null),new d(b.ns_tts,"fontSize","1c",["span"],!0,!0,c.parseLength,function(b,c,d,e){var f;if("%"===e.unit)f=null!==c?c.styleAttrs[a.byName.fontSize.qname]*e.value/100:e.value/100/b.cellResolution.h;else if("em"===e.unit)f=null!==c?c.styleAttrs[a.byName.fontSize.qname]*e.value:e.value/b.cellResolution.h;else if("c"===e.unit)f=e.value/b.cellResolution.h;else{if("px"!==e.unit)return null;f=e.value/b.pxDimensions.h}return f}),new d(b.ns_tts,"fontStyle","normal",["span"],!0,!0,function(a){return a},null),new d(b.ns_tts,"fontWeight","normal",["span"],!0,!0,function(a){return a},null),new d(b.ns_tts,"lineHeight","normal",["p"],!0,!0,function(a){return"normal"===a?a:c.parseLength(a)},function(b,c,d,e){var f;if("normal"===e)f=e;else if("%"===e.unit)f=d.styleAttrs[a.byName.fontSize.qname]*e.value/100;else if("em"===e.unit)f=d.styleAttrs[a.byName.fontSize.qname]*e.value;else if("c"===e.unit)f=e.value/b.cellResolution.h;else{if("px"!==e.unit)return null;f=e.value/b.pxDimensions.h}return f}),new d(b.ns_tts,"opacity",1,["region"],!1,!0,parseFloat,null),new d(b.ns_tts,"origin","auto",["region"],!1,!0,function(a){if("auto"===a)return a;var b=a.split(" ");if(2!==b.length)return null;var d=c.parseLength(b[0]),e=c.parseLength(b[1]);return e&&d?{h:e,w:d}:null},function(a,b,c,d){var e,f;if("auto"===d)e=0;else if("%"===d.h.unit)e=d.h.value/100;else{if("px"!==d.h.unit)return null;e=d.h.value/a.pxDimensions.h}if("auto"===d)f=0;else if("%"===d.w.unit)f=d.w.value/100;else{if("px"!==d.w.unit)return null;f=d.w.value/a.pxDimensions.w}return{h:e,w:f}}),new d(b.ns_tts,"overflow","hidden",["region"],!1,!0,function(a){return a},null),new d(b.ns_tts,"padding","0px",["region"],!1,!0,function(a){var b=a.split(" ");if(b.length>4)return null;var d=[];for(var e in b){var f=c.parseLength(b[e]);if(!f)return null;d.push(f)}return d},function(b,c,d,e){var f;if(1===e.length)f=[e[0],e[0],e[0],e[0]];else if(2===e.length)f=[e[0],e[1],e[0],e[1]];else if(3===e.length)f=[e[0],e[1],e[2],e[1]];else{if(4!==e.length)return null;f=[e[0],e[1],e[2],e[3]]}var g=d.styleAttrs[a.byName.writingMode.qname];if("lrtb"===g||"lr"===g)f=[f[0],f[3],f[2],f[1]];else if("rltb"===g||"rl"===g)f=[f[0],f[1],f[2],f[3]];else if("tblr"===g)f=[f[3],f[0],f[1],f[2]];else{if("tbrl"!==g&&"tb"!==g)return null;f=[f[3],f[2],f[1],f[0]]}var h=[];for(var i in f)if(0===f[i].value)h[i]=0;else if("%"===f[i].unit)h[i]="0"===i||"2"===i?d.styleAttrs[a.byName.extent.qname].h*f[i].value/100:d.styleAttrs[a.byName.extent.qname].w*f[i].value/100;else if("em"===f[i].unit)h[i]=d.styleAttrs[a.byName.fontSize.qname]*f[i].value;else if("c"===f[i].unit)h[i]=f[i].value/b.cellResolution.h;else{if("px"!==f[i].unit)return null;h[i]=f[i].value/b.pxDimensions.h}return h}),new d(b.ns_tts,"showBackground","always",["region"],!1,!0,function(a){return a},null),new d(b.ns_tts,"textAlign","start",["p"],!0,!0,function(a){return a},function(a,b,c,d){return"left"===d?"start":"right"===d?"end":d}),new d(b.ns_tts,"textDecoration","none",["span"],!0,!0,function(a){return a.split(" ")},null),new d(b.ns_tts,"textOutline","none",["span"],!0,!0,function(a){if("none"===a)return a;var b={},d=a.split(" ");if(0===d.length||d.length>2)return null;var e=c.parseColor(d[0]);if(b.color=e,null!==e&&d.shift(),1!==d.length)return null;var f=c.parseLength(d[0]);return f?(b.thickness=f,b):null},function(b,c,d,e){if("none"===e)return e;var f={};if(null===e.color?f.color=d.styleAttrs[a.byName.color.qname]:f.color=e.color,"%"===e.thickness.unit)f.thickness=d.styleAttrs[a.byName.fontSize.qname]*e.thickness.value/100;else if("em"===e.thickness.unit)f.thickness=d.styleAttrs[a.byName.fontSize.qname]*e.thickness.value;else if("c"===e.thickness.unit)f.thickness=e.thickness.value/b.cellResolution.h;else{if("px"!==e.thickness.unit)return null;f.thickness=e.thickness.value/b.pxDimensions.h}return f}),new d(b.ns_tts,"unicodeBidi","normal",["span","p"],!1,!0,function(a){return a},null),new d(b.ns_tts,"visibility","visible",["body","div","p","region","span"],!0,!0,function(a){return a},null),new d(b.ns_tts,"wrapOption","wrap",["span"],!0,!0,function(a){return a},null),new d(b.ns_tts,"writingMode","lrtb",["region"],!1,!0,function(a){return a},null),new d(b.ns_tts,"zIndex","auto",["region"],!1,!0,function(a){var b;return"auto"===a?b=a:(b=parseInt(a),isNaN(b)&&(b=null)),b},null),new d(b.ns_ebutts,"linePadding","0c",["p"],!0,!1,c.parseLength,function(a,b,c,d){return"c"===d.unit?d.value/a.cellResolution.h:null}),new d(b.ns_ebutts,"multiRowAlign","auto",["p"],!0,!1,function(a){return a},null),new d(b.ns_smpte,"backgroundImage",null,["div"],!1,!1,function(a){return a},null),new d(b.ns_itts,"forcedDisplay","false",["body","div","p","region","span"],!0,!0,function(a){return"true"===a},null)],a.byQName={};for(var e in a.all)a.byQName[a.all[e].qname]=a.all[e];a.byName={};for(var f in a.all)a.byName[a.all[f].name]=a.all[f]}(void 0===c?this.imscStyles={}:c,"undefined"==typeof imscNames?a(18):imscNames,"undefined"==typeof imscUtils?a(20):imscUtils)},{18:18,20:20}],20:[function(a,b,c){!function(a){var b=/#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})?/,c=/rgb\((\d+),(\d+),(\d+)\)/,d=/rgba\((\d+),(\d+),(\d+),(\d+)\)/,e={transparent:[0,0,0,0],black:[0,0,0,255],silver:[192,192,192,255],gray:[128,128,128,255],white:[255,255,255,255],maroon:[128,0,0,255],red:[255,0,0,255],purple:[128,0,128,255],fuchsia:[255,0,255,255],magenta:[255,0,255,255],green:[0,128,0,255],lime:[0,255,0,255],olive:[128,128,0,255],yellow:[255,255,0,255],navy:[0,0,128,255],blue:[0,0,255,255],teal:[0,128,128,255],aqua:[0,255,255,255],cyan:[0,255,255,255]};a.parseColor=function(a){var f,g=null;return a in e?g=e[a]:null!==(f=b.exec(a))?g=[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16),void 0!==f[4]?parseInt(f[4],16):255]:null!==(f=c.exec(a))?g=[parseInt(f[1]),parseInt(f[2]),parseInt(f[3]),255]:null!==(f=d.exec(a))&&(g=[parseInt(f[1]),parseInt(f[2]),parseInt(f[3]),parseInt(f[4])]),g};var f=/^((?:\+|\-)?\d*(?:\.\d+)?)(px|em|c|%)$/;a.parseLength=function(a){var b,c=null;return null!==(b=f.exec(a))&&(c={value:parseFloat(b[1]),unit:b[2]}),c}}(void 0===c?this.imscUtils={}:c)},{}],21:[function(a,b,c){"function"==typeof Object.create?b.exports=function(a,b){a.super_=b,a.prototype=Object.create(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:b.exports=function(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}},{}],22:[function(a,b,c){function d(a){return!!a.constructor&&"function"==typeof a.constructor.isBuffer&&a.constructor.isBuffer(a)}function e(a){return"function"==typeof a.readFloatLE&&"function"==typeof a.slice&&d(a.slice(0,0))}/*!
11
- * Determine if an object is a Buffer
12
- *
13
- * @author Feross Aboukhadijeh <https://feross.org>
14
- * @license MIT
15
- */
16
- b.exports=function(a){return null!=a&&(d(a)||e(a)||!!a._isBuffer)}},{}],23:[function(a,b,c){var d={}.toString;b.exports=Array.isArray||function(a){return"[object Array]"==d.call(a)}},{}],24:[function(a,b,c){(function(a){"use strict";function c(b,c,d,e){if("function"!=typeof b)throw new TypeError('"callback" argument must be a function');var f,g,h=arguments.length;switch(h){case 0:case 1:return a.nextTick(b);case 2:return a.nextTick(function(){b.call(null,c)});case 3:return a.nextTick(function(){b.call(null,c,d)});case 4:return a.nextTick(function(){b.call(null,c,d,e)});default:for(f=new Array(h-1),g=0;g<f.length;)f[g++]=arguments[g];return a.nextTick(function(){b.apply(null,f)})}}!a.version||0===a.version.indexOf("v0.")||0===a.version.indexOf("v1.")&&0!==a.version.indexOf("v1.8.")?b.exports={nextTick:c}:b.exports=a}).call(this,a(25))},{25:25}],25:[function(a,b,c){function d(){throw new Error("setTimeout has not been defined")}function e(){throw new Error("clearTimeout has not been defined")}function f(a){if(l===setTimeout)return setTimeout(a,0);if((l===d||!l)&&setTimeout)return l=setTimeout,setTimeout(a,0);try{return l(a,0)}catch(b){try{return l.call(null,a,0)}catch(b){return l.call(this,a,0)}}}function g(a){if(m===clearTimeout)return clearTimeout(a);if((m===e||!m)&&clearTimeout)return m=clearTimeout,clearTimeout(a);try{return m(a)}catch(b){try{return m.call(null,a)}catch(b){return m.call(this,a)}}}function h(){q&&o&&(q=!1,o.length?p=o.concat(p):r=-1,p.length&&i())}function i(){if(!q){var a=f(h);q=!0;for(var b=p.length;b;){for(o=p,p=[];++r<b;)o&&o[r].run();r=-1,b=p.length}o=null,q=!1,g(a)}}function j(a,b){this.fun=a,this.array=b}function k(){}var l,m,n=b.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:d}catch(a){l=d}try{m="function"==typeof clearTimeout?clearTimeout:e}catch(a){m=e}}();var o,p=[],q=!1,r=-1;n.nextTick=function(a){var b=new Array(arguments.length-1);if(arguments.length>1)for(var c=1;c<arguments.length;c++)b[c-1]=arguments[c];p.push(new j(a,b)),1!==p.length||q||f(i)},j.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=k,n.addListener=k,n.once=k,n.off=k,n.removeListener=k,n.removeAllListeners=k,n.emit=k,n.prependListener=k,n.prependOnceListener=k,n.listeners=function(a){return[]},n.binding=function(a){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(a){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},{}],26:[function(a,b,c){b.exports=a(27)},{27:27}],27:[function(a,b,c){"use strict";function d(a){if(!(this instanceof d))return new d(a);j.call(this,a),k.call(this,a),a&&!1===a.readable&&(this.readable=!1),a&&!1===a.writable&&(this.writable=!1),this.allowHalfOpen=!0,a&&!1===a.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",e)}function e(){this.allowHalfOpen||this._writableState.ended||g.nextTick(f,this)}function f(a){a.end()}var g=a(24),h=Object.keys||function(a){var b=[];for(var c in a)b.push(c);return b};b.exports=d;var i=a(10);i.inherits=a(21);var j=a(29),k=a(31);i.inherits(d,j);for(var l=h(k.prototype),m=0;m<l.length;m++){var n=l[m];d.prototype[n]||(d.prototype[n]=k.prototype[n])}Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(a){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=a,this._writableState.destroyed=a)}}),d.prototype._destroy=function(a,b){this.push(null),this.end(),g.nextTick(b,a)}},{10:10,21:21,24:24,29:29,31:31}],28:[function(a,b,c){"use strict";function d(a){if(!(this instanceof d))return new d(a);e.call(this,a)}b.exports=d;var e=a(30),f=a(10);f.inherits=a(21),f.inherits(d,e),d.prototype._transform=function(a,b,c){c(null,a)}},{10:10,21:21,30:30}],29:[function(a,b,c){(function(c,d){"use strict";function e(a){return L.from(a)}function f(a){return L.isBuffer(a)||a instanceof M}function g(a,b,c){if("function"==typeof a.prependListener)return a.prependListener(b,c);a._events&&a._events[b]?I(a._events[b])?a._events[b].unshift(c):a._events[b]=[c,a._events[b]]:a.on(b,c)}function h(b,c){H=H||a(27),b=b||{};var d=c instanceof H;this.objectMode=!!b.objectMode,d&&(this.objectMode=this.objectMode||!!b.readableObjectMode);var e=b.highWaterMark,f=b.readableHighWaterMark,g=this.objectMode?16:16384;this.highWaterMark=e||0===e?e:d&&(f||0===f)?f:g,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new R,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=b.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,b.encoding&&(Q||(Q=a(42).StringDecoder),this.decoder=new Q(b.encoding),this.encoding=b.encoding)}function i(b){if(H=H||a(27),!(this instanceof i))return new i(b);this._readableState=new h(b,this),this.readable=!0,b&&("function"==typeof b.read&&(this._read=b.read),"function"==typeof b.destroy&&(this._destroy=b.destroy)),K.call(this)}function j(a,b,c,d,f){var g=a._readableState;if(null===b)g.reading=!1,p(a,g);else{var h;f||(h=l(g,b)),h?a.emit("error",h):g.objectMode||b&&b.length>0?("string"==typeof b||g.objectMode||Object.getPrototypeOf(b)===L.prototype||(b=e(b)),d?g.endEmitted?a.emit("error",new Error("stream.unshift() after end event")):k(a,g,b,!0):g.ended?a.emit("error",new Error("stream.push() after EOF")):(g.reading=!1,g.decoder&&!c?(b=g.decoder.write(b),g.objectMode||0!==b.length?k(a,g,b,!1):s(a,g)):k(a,g,b,!1))):d||(g.reading=!1)}return m(g)}function k(a,b,c,d){b.flowing&&0===b.length&&!b.sync?(a.emit("data",c),a.read(0)):(b.length+=b.objectMode?1:c.length,d?b.buffer.unshift(c):b.buffer.push(c),b.needReadable&&q(a)),s(a,b)}function l(a,b){var c;return f(b)||"string"==typeof b||void 0===b||a.objectMode||(c=new TypeError("Invalid non-string/buffer chunk")),c}function m(a){return!a.ended&&(a.needReadable||a.length<a.highWaterMark||0===a.length)}function n(a){return a>=U?a=U:(a--,a|=a>>>1,a|=a>>>2,a|=a>>>4,a|=a>>>8,a|=a>>>16,a++),a}function o(a,b){return a<=0||0===b.length&&b.ended?0:b.objectMode?1:a!==a?b.flowing&&b.length?b.buffer.head.data.length:b.length:(a>b.highWaterMark&&(b.highWaterMark=n(a)),a<=b.length?a:b.ended?b.length:(b.needReadable=!0,0))}function p(a,b){if(!b.ended){if(b.decoder){var c=b.decoder.end();c&&c.length&&(b.buffer.push(c),b.length+=b.objectMode?1:c.length)}b.ended=!0,q(a)}}function q(a){var b=a._readableState;b.needReadable=!1,b.emittedReadable||(P("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?G.nextTick(r,a):r(a))}function r(a){P("emit readable"),a.emit("readable"),y(a)}function s(a,b){b.readingMore||(b.readingMore=!0,G.nextTick(t,a,b))}function t(a,b){for(var c=b.length;!b.reading&&!b.flowing&&!b.ended&&b.length<b.highWaterMark&&(P("maybeReadMore read 0"),a.read(0),c!==b.length);)c=b.length;b.readingMore=!1}function u(a){return function(){var b=a._readableState;P("pipeOnDrain",b.awaitDrain),b.awaitDrain&&b.awaitDrain--,0===b.awaitDrain&&J(a,"data")&&(b.flowing=!0,y(a))}}function v(a){P("readable nexttick read 0"),a.read(0)}function w(a,b){b.resumeScheduled||(b.resumeScheduled=!0,G.nextTick(x,a,b))}function x(a,b){b.reading||(P("resume read 0"),a.read(0)),b.resumeScheduled=!1,b.awaitDrain=0,a.emit("resume"),y(a),b.flowing&&!b.reading&&a.read(0)}function y(a){var b=a._readableState;for(P("flow",b.flowing);b.flowing&&null!==a.read(););}function z(a,b){if(0===b.length)return null;var c;return b.objectMode?c=b.buffer.shift():!a||a>=b.length?(c=b.decoder?b.buffer.join(""):1===b.buffer.length?b.buffer.head.data:b.buffer.concat(b.length),b.buffer.clear()):c=A(a,b.buffer,b.decoder),c}function A(a,b,c){var d;return a<b.head.data.length?(d=b.head.data.slice(0,a),b.head.data=b.head.data.slice(a)):d=a===b.head.data.length?b.shift():c?B(a,b):C(a,b),d}function B(a,b){var c=b.head,d=1,e=c.data;for(a-=e.length;c=c.next;){var f=c.data,g=a>f.length?f.length:a;if(g===f.length?e+=f:e+=f.slice(0,a),0===(a-=g)){g===f.length?(++d,c.next?b.head=c.next:b.head=b.tail=null):(b.head=c,c.data=f.slice(g));break}++d}return b.length-=d,e}function C(a,b){var c=L.allocUnsafe(a),d=b.head,e=1;for(d.data.copy(c),a-=d.data.length;d=d.next;){var f=d.data,g=a>f.length?f.length:a;if(f.copy(c,c.length-a,0,g),0===(a-=g)){g===f.length?(++e,d.next?b.head=d.next:b.head=b.tail=null):(b.head=d,d.data=f.slice(g));break}++e}return b.length-=e,c}function D(a){var b=a._readableState;if(b.length>0)throw new Error('"endReadable()" called on non-empty stream');b.endEmitted||(b.ended=!0,G.nextTick(E,b,a))}function E(a,b){a.endEmitted||0!==a.length||(a.endEmitted=!0,b.readable=!1,b.emit("end"))}function F(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1}var G=a(24);b.exports=i;var H,I=a(23);i.ReadableState=h;var J=(a(11).EventEmitter,function(a,b){return a.listeners(b).length}),K=a(34),L=a(39).Buffer,M=d.Uint8Array||function(){},N=a(10);N.inherits=a(21);var O=a(6),P=void 0;P=O&&O.debuglog?O.debuglog("stream"):function(){};var Q,R=a(32),S=a(33);N.inherits(i,K);var T=["error","close","destroy","pause","resume"];Object.defineProperty(i.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(a){this._readableState&&(this._readableState.destroyed=a)}}),i.prototype.destroy=S.destroy,i.prototype._undestroy=S.undestroy,i.prototype._destroy=function(a,b){this.push(null),b(a)},i.prototype.push=function(a,b){var c,d=this._readableState;return d.objectMode?c=!0:"string"==typeof a&&(b=b||d.defaultEncoding,b!==d.encoding&&(a=L.from(a,b),b=""),c=!0),j(this,a,b,!1,c)},i.prototype.unshift=function(a){return j(this,a,null,!0,!1)},i.prototype.isPaused=function(){return!1===this._readableState.flowing},i.prototype.setEncoding=function(b){return Q||(Q=a(42).StringDecoder),this._readableState.decoder=new Q(b),this._readableState.encoding=b,this};var U=8388608;i.prototype.read=function(a){P("read",a),a=parseInt(a,10);var b=this._readableState,c=a;if(0!==a&&(b.emittedReadable=!1),0===a&&b.needReadable&&(b.length>=b.highWaterMark||b.ended))return P("read: emitReadable",b.length,b.ended),0===b.length&&b.ended?D(this):q(this),null;if(0===(a=o(a,b))&&b.ended)return 0===b.length&&D(this),null;var d=b.needReadable;P("need readable",d),(0===b.length||b.length-a<b.highWaterMark)&&(d=!0,P("length less than watermark",d)),b.ended||b.reading?(d=!1,P("reading or ended",d)):d&&(P("do read"),b.reading=!0,b.sync=!0,0===b.length&&(b.needReadable=!0),this._read(b.highWaterMark),b.sync=!1,b.reading||(a=o(c,b)));var e;return e=a>0?z(a,b):null,null===e?(b.needReadable=!0,a=0):b.length-=a,0===b.length&&(b.ended||(b.needReadable=!0),c!==a&&b.ended&&D(this)),null!==e&&this.emit("data",e),e},i.prototype._read=function(a){this.emit("error",new Error("_read() is not implemented"))},i.prototype.pipe=function(a,b){function d(a,b){P("onunpipe"),a===m&&b&&!1===b.hasUnpiped&&(b.hasUnpiped=!0,f())}function e(){P("onend"),a.end()}function f(){P("cleanup"),a.removeListener("close",j),a.removeListener("finish",k),a.removeListener("drain",q),a.removeListener("error",i),a.removeListener("unpipe",d),m.removeListener("end",e),m.removeListener("end",l),m.removeListener("data",h),r=!0,!n.awaitDrain||a._writableState&&!a._writableState.needDrain||q()}function h(b){P("ondata"),s=!1,!1!==a.write(b)||s||((1===n.pipesCount&&n.pipes===a||n.pipesCount>1&&-1!==F(n.pipes,a))&&!r&&(P("false write response, pause",m._readableState.awaitDrain),m._readableState.awaitDrain++,s=!0),m.pause())}function i(b){P("onerror",b),l(),a.removeListener("error",i),0===J(a,"error")&&a.emit("error",b)}function j(){a.removeListener("finish",k),l()}function k(){P("onfinish"),a.removeListener("close",j),l()}function l(){P("unpipe"),m.unpipe(a)}var m=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=a;break;case 1:n.pipes=[n.pipes,a];break;default:n.pipes.push(a)}n.pipesCount+=1,P("pipe count=%d opts=%j",n.pipesCount,b);var o=(!b||!1!==b.end)&&a!==c.stdout&&a!==c.stderr,p=o?e:l;n.endEmitted?G.nextTick(p):m.once("end",p),a.on("unpipe",d);var q=u(m);a.on("drain",q);var r=!1,s=!1;return m.on("data",h),g(a,"error",i),a.once("close",j),a.once("finish",k),a.emit("pipe",m),n.flowing||(P("pipe resume"),m.resume()),a},i.prototype.unpipe=function(a){var b=this._readableState,c={hasUnpiped:!1};if(0===b.pipesCount)return this;if(1===b.pipesCount)return a&&a!==b.pipes?this:(a||(a=b.pipes),b.pipes=null,b.pipesCount=0,b.flowing=!1,a&&a.emit("unpipe",this,c),this);if(!a){var d=b.pipes,e=b.pipesCount;b.pipes=null,b.pipesCount=0,b.flowing=!1;for(var f=0;f<e;f++)d[f].emit("unpipe",this,c);return this}var g=F(b.pipes,a);return-1===g?this:(b.pipes.splice(g,1),b.pipesCount-=1,1===b.pipesCount&&(b.pipes=b.pipes[0]),a.emit("unpipe",this,c),this)},i.prototype.on=function(a,b){var c=K.prototype.on.call(this,a,b);if("data"===a)!1!==this._readableState.flowing&&this.resume();else if("readable"===a){var d=this._readableState;d.endEmitted||d.readableListening||(d.readableListening=d.needReadable=!0,d.emittedReadable=!1,d.reading?d.length&&q(this):G.nextTick(v,this))}return c},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){var a=this._readableState;return a.flowing||(P("resume"),a.flowing=!0,w(this,a)),this},i.prototype.pause=function(){return P("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(P("pause"),this._readableState.flowing=!1,this.emit("pause")),this},i.prototype.wrap=function(a){var b=this,c=this._readableState,d=!1;a.on("end",function(){if(P("wrapped end"),c.decoder&&!c.ended){var a=c.decoder.end();a&&a.length&&b.push(a)}b.push(null)}),a.on("data",function(e){if(P("wrapped data"),c.decoder&&(e=c.decoder.write(e)),(!c.objectMode||null!==e&&void 0!==e)&&(c.objectMode||e&&e.length)){b.push(e)||(d=!0,a.pause())}});for(var e in a)void 0===this[e]&&"function"==typeof a[e]&&(this[e]=function(b){return function(){return a[b].apply(a,arguments)}}(e));for(var f=0;f<T.length;f++)a.on(T[f],this.emit.bind(this,T[f]));return this._read=function(b){P("wrapped _read",b),d&&(d=!1,a.resume())},this},i._fromList=z}).call(this,a(25),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{10:10,11:11,21:21,23:23,24:24,25:25,27:27,32:32,33:33,34:34,39:39,42:42,6:6}],30:[function(a,b,c){"use strict";function d(a,b){var c=this._transformState;c.transforming=!1;var d=c.writecb;if(!d)return this.emit("error",new Error("write callback called multiple times"));c.writechunk=null,c.writecb=null,null!=b&&this.push(b),d(a);var e=this._readableState;e.reading=!1,(e.needReadable||e.length<e.highWaterMark)&&this._read(e.highWaterMark)}function e(a){if(!(this instanceof e))return new e(a);h.call(this,a),this._transformState={afterTransform:d.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,a&&("function"==typeof a.transform&&(this._transform=a.transform),"function"==typeof a.flush&&(this._flush=a.flush)),this.on("prefinish",f)}function f(){var a=this;"function"==typeof this._flush?this._flush(function(b,c){g(a,b,c)}):g(this,null,null)}function g(a,b,c){if(b)return a.emit("error",b);if(null!=c&&a.push(c),a._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(a._transformState.transforming)throw new Error("Calling transform done when still transforming");return a.push(null)}b.exports=e;var h=a(27),i=a(10);i.inherits=a(21),i.inherits(e,h),e.prototype.push=function(a,b){return this._transformState.needTransform=!1,h.prototype.push.call(this,a,b)},e.prototype._transform=function(a,b,c){throw new Error("_transform() is not implemented")},e.prototype._write=function(a,b,c){var d=this._transformState;if(d.writecb=c,d.writechunk=a,d.writeencoding=b,!d.transforming){var e=this._readableState;(d.needTransform||e.needReadable||e.length<e.highWaterMark)&&this._read(e.highWaterMark)}},e.prototype._read=function(a){var b=this._transformState;null!==b.writechunk&&b.writecb&&!b.transforming?(b.transforming=!0,this._transform(b.writechunk,b.writeencoding,b.afterTransform)):b.needTransform=!0},e.prototype._destroy=function(a,b){var c=this;h.prototype._destroy.call(this,a,function(a){b(a),c.emit("close")})}},{10:10,21:21,27:27}],31:[function(a,b,c){(function(c,d){"use strict";function e(a){var b=this;this.next=null,this.entry=null,this.finish=function(){A(b,a)}}function f(a){return H.from(a)}function g(a){return H.isBuffer(a)||a instanceof I}function h(){}function i(b,c){C=C||a(27),b=b||{};var d=c instanceof C;this.objectMode=!!b.objectMode,d&&(this.objectMode=this.objectMode||!!b.writableObjectMode);var f=b.highWaterMark,g=b.writableHighWaterMark,h=this.objectMode?16:16384;this.highWaterMark=f||0===f?f:d&&(g||0===g)?g:h,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===b.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=b.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){r(c,a)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function j(b){if(C=C||a(27),!(K.call(j,this)||this instanceof C))return new j(b);this._writableState=new i(b,this),this.writable=!0,b&&("function"==typeof b.write&&(this._write=b.write),"function"==typeof b.writev&&(this._writev=b.writev),"function"==typeof b.destroy&&(this._destroy=b.destroy),"function"==typeof b.final&&(this._final=b.final)),G.call(this)}function k(a,b){var c=new Error("write after end");a.emit("error",c),B.nextTick(b,c)}function l(a,b,c,d){var e=!0,f=!1;return null===c?f=new TypeError("May not write null values to stream"):"string"==typeof c||void 0===c||b.objectMode||(f=new TypeError("Invalid non-string/buffer chunk")),f&&(a.emit("error",f),B.nextTick(d,f),e=!1),e}function m(a,b,c){return a.objectMode||!1===a.decodeStrings||"string"!=typeof b||(b=H.from(b,c)),b}function n(a,b,c,d,e,f){if(!c){var g=m(b,d,e);d!==g&&(c=!0,e="buffer",d=g)}var h=b.objectMode?1:d.length;b.length+=h;var i=b.length<b.highWaterMark;if(i||(b.needDrain=!0),b.writing||b.corked){var j=b.lastBufferedRequest;b.lastBufferedRequest={chunk:d,encoding:e,isBuf:c,callback:f,next:null},j?j.next=b.lastBufferedRequest:b.bufferedRequest=b.lastBufferedRequest,b.bufferedRequestCount+=1}else o(a,b,!1,h,d,e,f);return i}function o(a,b,c,d,e,f,g){b.writelen=d,b.writecb=g,b.writing=!0,b.sync=!0,c?a._writev(e,b.onwrite):a._write(e,f,b.onwrite),b.sync=!1}function p(a,b,c,d,e){--b.pendingcb,c?(B.nextTick(e,d),B.nextTick(y,a,b),a._writableState.errorEmitted=!0,a.emit("error",d)):(e(d),a._writableState.errorEmitted=!0,a.emit("error",d),y(a,b))}function q(a){a.writing=!1,a.writecb=null,a.length-=a.writelen,a.writelen=0}function r(a,b){var c=a._writableState,d=c.sync,e=c.writecb;if(q(c),b)p(a,c,d,b,e);else{var f=v(c);f||c.corked||c.bufferProcessing||!c.bufferedRequest||u(a,c),d?D(s,a,c,f,e):s(a,c,f,e)}}function s(a,b,c,d){c||t(a,b),b.pendingcb--,d(),y(a,b)}function t(a,b){0===b.length&&b.needDrain&&(b.needDrain=!1,a.emit("drain"))}function u(a,b){b.bufferProcessing=!0;var c=b.bufferedRequest;if(a._writev&&c&&c.next){var d=b.bufferedRequestCount,f=new Array(d),g=b.corkedRequestsFree;g.entry=c;for(var h=0,i=!0;c;)f[h]=c,c.isBuf||(i=!1),c=c.next,h+=1;f.allBuffers=i,o(a,b,!0,b.length,f,"",g.finish),b.pendingcb++,b.lastBufferedRequest=null,g.next?(b.corkedRequestsFree=g.next,g.next=null):b.corkedRequestsFree=new e(b),b.bufferedRequestCount=0}else{for(;c;){var j=c.chunk,k=c.encoding,l=c.callback;if(o(a,b,!1,b.objectMode?1:j.length,j,k,l),c=c.next,b.bufferedRequestCount--,b.writing)break}null===c&&(b.lastBufferedRequest=null)}b.bufferedRequest=c,b.bufferProcessing=!1}function v(a){return a.ending&&0===a.length&&null===a.bufferedRequest&&!a.finished&&!a.writing}function w(a,b){a._final(function(c){b.pendingcb--,c&&a.emit("error",c),b.prefinished=!0,a.emit("prefinish"),y(a,b)})}function x(a,b){b.prefinished||b.finalCalled||("function"==typeof a._final?(b.pendingcb++,b.finalCalled=!0,B.nextTick(w,a,b)):(b.prefinished=!0,a.emit("prefinish")))}function y(a,b){var c=v(b);return c&&(x(a,b),0===b.pendingcb&&(b.finished=!0,a.emit("finish"))),c}function z(a,b,c){b.ending=!0,y(a,b),c&&(b.finished?B.nextTick(c):a.once("finish",c)),b.ended=!0,a.writable=!1}function A(a,b,c){var d=a.entry;for(a.entry=null;d;){var e=d.callback;b.pendingcb--,e(c),d=d.next}b.corkedRequestsFree?b.corkedRequestsFree.next=a:b.corkedRequestsFree=a}var B=a(24);b.exports=j;var C,D=!c.browser&&["v0.10","v0.9."].indexOf(c.version.slice(0,5))>-1?setImmediate:B.nextTick;j.WritableState=i;var E=a(10);E.inherits=a(21);var F={deprecate:a(43)},G=a(34),H=a(39).Buffer,I=d.Uint8Array||function(){},J=a(33);E.inherits(j,G),i.prototype.getBuffer=function(){for(var a=this.bufferedRequest,b=[];a;)b.push(a),a=a.next;return b},function(){try{Object.defineProperty(i.prototype,"buffer",{get:F.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(a){}}();var K;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(K=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(a){return!!K.call(this,a)||this===j&&(a&&a._writableState instanceof i)}})):K=function(a){return a instanceof this},j.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},j.prototype.write=function(a,b,c){var d=this._writableState,e=!1,i=!d.objectMode&&g(a);return i&&!H.isBuffer(a)&&(a=f(a)),"function"==typeof b&&(c=b,b=null),i?b="buffer":b||(b=d.defaultEncoding),"function"!=typeof c&&(c=h),d.ended?k(this,c):(i||l(this,d,a,c))&&(d.pendingcb++,e=n(this,d,i,a,b,c)),e},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){var a=this._writableState;a.corked&&(a.corked--,a.writing||a.corked||a.finished||a.bufferProcessing||!a.bufferedRequest||u(this,a))},j.prototype.setDefaultEncoding=function(a){if("string"==typeof a&&(a=a.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((a+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+a);return this._writableState.defaultEncoding=a,this},j.prototype._write=function(a,b,c){c(new Error("_write() is not implemented"))},j.prototype._writev=null,j.prototype.end=function(a,b,c){var d=this._writableState;"function"==typeof a?(c=a,a=null,b=null):"function"==typeof b&&(c=b,b=null),null!==a&&void 0!==a&&this.write(a,b),d.corked&&(d.corked=1,this.uncork()),d.ending||d.finished||z(this,d,c)},Object.defineProperty(j.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(a){this._writableState&&(this._writableState.destroyed=a)}}),j.prototype.destroy=J.destroy,j.prototype._undestroy=J.undestroy,j.prototype._destroy=function(a,b){this.end(),b(a)}}).call(this,a(25),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{10:10,21:21,24:24,25:25,27:27,33:33,34:34,39:39,43:43}],32:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(a,b,c){a.copy(b,c)}var f=a(39).Buffer,g=a(6);b.exports=function(){function a(){d(this,a),this.head=null,this.tail=null,this.length=0}return a.prototype.push=function(a){var b={data:a,next:null};this.length>0?this.tail.next=b:this.head=b,this.tail=b,++this.length},a.prototype.unshift=function(a){var b={data:a,next:this.head};0===this.length&&(this.tail=b),this.head=b,++this.length},a.prototype.shift=function(){if(0!==this.length){var a=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,a}},a.prototype.clear=function(){this.head=this.tail=null,this.length=0},a.prototype.join=function(a){if(0===this.length)return"";for(var b=this.head,c=""+b.data;b=b.next;)c+=a+b.data;return c},a.prototype.concat=function(a){if(0===this.length)return f.alloc(0);if(1===this.length)return this.head.data;for(var b=f.allocUnsafe(a>>>0),c=this.head,d=0;c;)e(c.data,b,d),d+=c.data.length,c=c.next;return b},a}(),g&&g.inspect&&g.inspect.custom&&(b.exports.prototype[g.inspect.custom]=function(){var a=g.inspect({length:this.length});return this.constructor.name+" "+a})},{39:39,6:6}],33:[function(a,b,c){"use strict";function d(a,b){var c=this,d=this._readableState&&this._readableState.destroyed,e=this._writableState&&this._writableState.destroyed;return d||e?(b?b(a):!a||this._writableState&&this._writableState.errorEmitted||g.nextTick(f,this,a),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(a||null,function(a){!b&&a?(g.nextTick(f,c,a),c._writableState&&(c._writableState.errorEmitted=!0)):b&&b(a)}),this)}function e(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function f(a,b){a.emit("error",b)}var g=a(24);b.exports={destroy:d,undestroy:e}},{24:24}],34:[function(a,b,c){b.exports=a(11).EventEmitter},{11:11}],35:[function(a,b,c){b.exports=a(36).PassThrough},{36:36}],36:[function(a,b,c){c=b.exports=a(29),c.Stream=c,c.Readable=c,c.Writable=a(31),c.Duplex=a(27),c.Transform=a(30),c.PassThrough=a(28)},{27:27,28:28,29:29,30:30,31:31}],37:[function(a,b,c){b.exports=a(36).Transform},{36:36}],38:[function(a,b,c){b.exports=a(31)},{31:31}],39:[function(a,b,c){function d(a,b){for(var c in a)b[c]=a[c]}function e(a,b,c){return g(a,b,c)}var f=a(8),g=f.Buffer;g.from&&g.alloc&&g.allocUnsafe&&g.allocUnsafeSlow?b.exports=f:(d(f,c),c.Buffer=e),d(g,e),e.from=function(a,b,c){if("number"==typeof a)throw new TypeError("Argument must not be a number");return g(a,b,c)},e.alloc=function(a,b,c){if("number"!=typeof a)throw new TypeError("Argument must be a number");var d=g(a);return void 0!==b?"string"==typeof c?d.fill(b,c):d.fill(b):d.fill(0),d},e.allocUnsafe=function(a){if("number"!=typeof a)throw new TypeError("Argument must be a number");return g(a)},e.allocUnsafeSlow=function(a){if("number"!=typeof a)throw new TypeError("Argument must be a number");return f.SlowBuffer(a)}},{8:8}],40:[function(a,b,c){(function(b){!function(c){function d(a,b){if(!(this instanceof d))return new d(a,b);var e=this;f(e),e.q=e.c="",e.bufferCheckPosition=c.MAX_BUFFER_LENGTH,e.opt=b||{},e.opt.lowercase=e.opt.lowercase||e.opt.lowercasetags,e.looseCase=e.opt.lowercase?"toLowerCase":"toUpperCase",e.tags=[],e.closed=e.closedRoot=e.sawRoot=!1,e.tag=e.error=null,e.strict=!!a,e.noscript=!(!a&&!e.opt.noscript),e.state=U.BEGIN,e.strictEntities=e.opt.strictEntities,e.ENTITIES=e.strictEntities?Object.create(c.XML_ENTITIES):Object.create(c.ENTITIES),e.attribList=[],e.opt.xmlns&&(e.ns=Object.create(P)),e.trackPosition=!1!==e.opt.position,e.trackPosition&&(e.position=e.line=e.column=0),n(e,"onready")}function e(a){for(var b=Math.max(c.MAX_BUFFER_LENGTH,10),d=0,e=0,f=D.length;e<f;e++){var g=a[D[e]].length;if(g>b)switch(D[e]){case"textNode":p(a);break;case"cdata":o(a,"oncdata",a.cdata),a.cdata="";break;case"script":o(a,"onscript",a.script),a.script="";break;default:r(a,"Max buffer length exceeded: "+D[e])}d=Math.max(d,g)}var h=c.MAX_BUFFER_LENGTH-d;a.bufferCheckPosition=h+a.position}function f(a){for(var b=0,c=D.length;b<c;b++)a[D[b]]=""}function g(a){p(a),""!==a.cdata&&(o(a,"oncdata",a.cdata),a.cdata=""),""!==a.script&&(o(a,"onscript",a.script),a.script="")}function h(a,b){return new i(a,b)}function i(a,b){if(!(this instanceof i))return new i(a,b);E.apply(this),this._parser=new d(a,b),this.writable=!0,this.readable=!0;var c=this;this._parser.onend=function(){c.emit("end")},this._parser.onerror=function(a){c.emit("error",a),c._parser.error=null},this._decoder=null,F.forEach(function(a){Object.defineProperty(c,"on"+a,{get:function(){return c._parser["on"+a]},set:function(b){if(!b)return c.removeAllListeners(a),c._parser["on"+a]=b,b;c.on(a,b)},enumerable:!0,configurable:!1})})}function j(a){return a.split("").reduce(function(a,b){return a[b]=!0,a},{})}function k(a){return"[object RegExp]"===Object.prototype.toString.call(a)}function l(a,b){return k(a)?!!b.match(a):a[b]}function m(a,b){return!l(a,b)}function n(a,b,c){a[b]&&a[b](c)}function o(a,b,c){a.textNode&&p(a),n(a,b,c)}function p(a){a.textNode=q(a.opt,a.textNode),a.textNode&&n(a,"ontext",a.textNode),a.textNode=""}function q(a,b){return a.trim&&(b=b.trim()),a.normalize&&(b=b.replace(/\s+/g," ")),b}function r(a,b){return p(a),a.trackPosition&&(b+="\nLine: "+a.line+"\nColumn: "+a.column+"\nChar: "+a.c),b=new Error(b),a.error=b,n(a,"onerror",b),a}function s(a){return a.sawRoot&&!a.closedRoot&&t(a,"Unclosed root tag"),a.state!==U.BEGIN&&a.state!==U.BEGIN_WHITESPACE&&a.state!==U.TEXT&&r(a,"Unexpected end"),p(a),a.c="",a.closed=!0,n(a,"onend"),d.call(a,a.strict,a.opt),a}function t(a,b){if("object"!=typeof a||!(a instanceof d))throw new Error("bad call to strictFail");a.strict&&r(a,b)}function u(a){a.strict||(a.tagName=a.tagName[a.looseCase]());var b=a.tags[a.tags.length-1]||a,c=a.tag={name:a.tagName,attributes:{}};a.opt.xmlns&&(c.ns=b.ns),a.attribList.length=0,o(a,"onopentagstart",c)}function v(a,b){var c=a.indexOf(":"),d=c<0?["",a]:a.split(":"),e=d[0],f=d[1];return b&&"xmlns"===a&&(e="xmlns",f=""),{prefix:e,local:f}}function w(a){if(a.strict||(a.attribName=a.attribName[a.looseCase]()),-1!==a.attribList.indexOf(a.attribName)||a.tag.attributes.hasOwnProperty(a.attribName))return void(a.attribName=a.attribValue="");if(a.opt.xmlns){var b=v(a.attribName,!0),c=b.prefix,d=b.local;if("xmlns"===c)if("xml"===d&&a.attribValue!==N)t(a,"xml: prefix must be bound to "+N+"\nActual: "+a.attribValue);else if("xmlns"===d&&a.attribValue!==O)t(a,"xmlns: prefix must be bound to "+O+"\nActual: "+a.attribValue);else{var e=a.tag,f=a.tags[a.tags.length-1]||a;e.ns===f.ns&&(e.ns=Object.create(f.ns)),e.ns[d]=a.attribValue}a.attribList.push([a.attribName,a.attribValue])}else a.tag.attributes[a.attribName]=a.attribValue,o(a,"onattribute",{name:a.attribName,value:a.attribValue});a.attribName=a.attribValue=""}function x(a,b){if(a.opt.xmlns){var c=a.tag,d=v(a.tagName);c.prefix=d.prefix,c.local=d.local,c.uri=c.ns[d.prefix]||"",c.prefix&&!c.uri&&(t(a,"Unbound namespace prefix: "+JSON.stringify(a.tagName)),c.uri=d.prefix);var e=a.tags[a.tags.length-1]||a;c.ns&&e.ns!==c.ns&&Object.keys(c.ns).forEach(function(b){o(a,"onopennamespace",{prefix:b,uri:c.ns[b]})});for(var f=0,g=a.attribList.length;f<g;f++){var h=a.attribList[f],i=h[0],j=h[1],k=v(i,!0),l=k.prefix,m=k.local,n=""===l?"":c.ns[l]||"",p={name:i,value:j,prefix:l,local:m,uri:n};l&&"xmlns"!==l&&!n&&(t(a,"Unbound namespace prefix: "+JSON.stringify(l)),p.uri=l),a.tag.attributes[i]=p,o(a,"onattribute",p)}a.attribList.length=0}a.tag.isSelfClosing=!!b,a.sawRoot=!0,a.tags.push(a.tag),o(a,"onopentag",a.tag),b||(a.noscript||"script"!==a.tagName.toLowerCase()?a.state=U.TEXT:a.state=U.SCRIPT,a.tag=null,a.tagName=""),a.attribName=a.attribValue="",a.attribList.length=0}function y(a){if(!a.tagName)return t(a,"Weird empty close tag."),a.textNode+="</>",void(a.state=U.TEXT);if(a.script){if("script"!==a.tagName)return a.script+="</"+a.tagName+">",a.tagName="",void(a.state=U.SCRIPT)
17
- ;o(a,"onscript",a.script),a.script=""}var b=a.tags.length,c=a.tagName;a.strict||(c=c[a.looseCase]());for(var d=c;b--;){if(a.tags[b].name===d)break;t(a,"Unexpected close tag")}if(b<0)return t(a,"Unmatched closing tag: "+a.tagName),a.textNode+="</"+a.tagName+">",void(a.state=U.TEXT);a.tagName=c;for(var e=a.tags.length;e-- >b;){var f=a.tag=a.tags.pop();a.tagName=a.tag.name,o(a,"onclosetag",a.tagName);var g={};for(var h in f.ns)g[h]=f.ns[h];var i=a.tags[a.tags.length-1]||a;a.opt.xmlns&&f.ns!==i.ns&&Object.keys(f.ns).forEach(function(b){var c=f.ns[b];o(a,"onclosenamespace",{prefix:b,uri:c})})}0===b&&(a.closedRoot=!0),a.tagName=a.attribValue=a.attribName="",a.attribList.length=0,a.state=U.TEXT}function z(a){var b,c=a.entity,d=c.toLowerCase(),e="";return a.ENTITIES[c]?a.ENTITIES[c]:a.ENTITIES[d]?a.ENTITIES[d]:(c=d,"#"===c.charAt(0)&&("x"===c.charAt(1)?(c=c.slice(2),b=parseInt(c,16),e=b.toString(16)):(c=c.slice(1),b=parseInt(c,10),e=b.toString(10))),c=c.replace(/^0+/,""),e.toLowerCase()!==c?(t(a,"Invalid character entity"),"&"+a.entity+";"):String.fromCodePoint(b))}function A(a,b){"<"===b?(a.state=U.OPEN_WAKA,a.startTagPosition=a.position):m(G,b)&&(t(a,"Non-whitespace before first tag."),a.textNode=b,a.state=U.TEXT)}function B(a,b){var c="";return b<a.length&&(c=a.charAt(b)),c}function C(a){var b=this;if(this.error)throw this.error;if(b.closed)return r(b,"Cannot write after close. Assign an onready handler.");if(null===a)return s(b);"object"==typeof a&&(a=a.toString());for(var c=0,d="";;){if(d=B(a,c++),b.c=d,!d)break;switch(b.trackPosition&&(b.position++,"\n"===d?(b.line++,b.column=0):b.column++),b.state){case U.BEGIN:if(b.state=U.BEGIN_WHITESPACE,"\ufeff"===d)continue;A(b,d);continue;case U.BEGIN_WHITESPACE:A(b,d);continue;case U.TEXT:if(b.sawRoot&&!b.closedRoot){for(var f=c-1;d&&"<"!==d&&"&"!==d;)(d=B(a,c++))&&b.trackPosition&&(b.position++,"\n"===d?(b.line++,b.column=0):b.column++);b.textNode+=a.substring(f,c-1)}"<"!==d||b.sawRoot&&b.closedRoot&&!b.strict?(!m(G,d)||b.sawRoot&&!b.closedRoot||t(b,"Text data outside of root node."),"&"===d?b.state=U.TEXT_ENTITY:b.textNode+=d):(b.state=U.OPEN_WAKA,b.startTagPosition=b.position);continue;case U.SCRIPT:"<"===d?b.state=U.SCRIPT_ENDING:b.script+=d;continue;case U.SCRIPT_ENDING:"/"===d?b.state=U.CLOSE_TAG:(b.script+="<"+d,b.state=U.SCRIPT);continue;case U.OPEN_WAKA:if("!"===d)b.state=U.SGML_DECL,b.sgmlDecl="";else if(l(G,d));else if(l(Q,d))b.state=U.OPEN_TAG,b.tagName=d;else if("/"===d)b.state=U.CLOSE_TAG,b.tagName="";else if("?"===d)b.state=U.PROC_INST,b.procInstName=b.procInstBody="";else{if(t(b,"Unencoded <"),b.startTagPosition+1<b.position){var g=b.position-b.startTagPosition;d=new Array(g).join(" ")+d}b.textNode+="<"+d,b.state=U.TEXT}continue;case U.SGML_DECL:(b.sgmlDecl+d).toUpperCase()===L?(o(b,"onopencdata"),b.state=U.CDATA,b.sgmlDecl="",b.cdata=""):b.sgmlDecl+d==="--"?(b.state=U.COMMENT,b.comment="",b.sgmlDecl=""):(b.sgmlDecl+d).toUpperCase()===M?(b.state=U.DOCTYPE,(b.doctype||b.sawRoot)&&t(b,"Inappropriately located doctype declaration"),b.doctype="",b.sgmlDecl=""):">"===d?(o(b,"onsgmldeclaration",b.sgmlDecl),b.sgmlDecl="",b.state=U.TEXT):l(J,d)?(b.state=U.SGML_DECL_QUOTED,b.sgmlDecl+=d):b.sgmlDecl+=d;continue;case U.SGML_DECL_QUOTED:d===b.q&&(b.state=U.SGML_DECL,b.q=""),b.sgmlDecl+=d;continue;case U.DOCTYPE:">"===d?(b.state=U.TEXT,o(b,"ondoctype",b.doctype),b.doctype=!0):(b.doctype+=d,"["===d?b.state=U.DOCTYPE_DTD:l(J,d)&&(b.state=U.DOCTYPE_QUOTED,b.q=d));continue;case U.DOCTYPE_QUOTED:b.doctype+=d,d===b.q&&(b.q="",b.state=U.DOCTYPE);continue;case U.DOCTYPE_DTD:b.doctype+=d,"]"===d?b.state=U.DOCTYPE:l(J,d)&&(b.state=U.DOCTYPE_DTD_QUOTED,b.q=d);continue;case U.DOCTYPE_DTD_QUOTED:b.doctype+=d,d===b.q&&(b.state=U.DOCTYPE_DTD,b.q="");continue;case U.COMMENT:"-"===d?b.state=U.COMMENT_ENDING:b.comment+=d;continue;case U.COMMENT_ENDING:"-"===d?(b.state=U.COMMENT_ENDED,b.comment=q(b.opt,b.comment),b.comment&&o(b,"oncomment",b.comment),b.comment=""):(b.comment+="-"+d,b.state=U.COMMENT);continue;case U.COMMENT_ENDED:">"!==d?(t(b,"Malformed comment"),b.comment+="--"+d,b.state=U.COMMENT):b.state=U.TEXT;continue;case U.CDATA:"]"===d?b.state=U.CDATA_ENDING:b.cdata+=d;continue;case U.CDATA_ENDING:"]"===d?b.state=U.CDATA_ENDING_2:(b.cdata+="]"+d,b.state=U.CDATA);continue;case U.CDATA_ENDING_2:">"===d?(b.cdata&&o(b,"oncdata",b.cdata),o(b,"onclosecdata"),b.cdata="",b.state=U.TEXT):"]"===d?b.cdata+="]":(b.cdata+="]]"+d,b.state=U.CDATA);continue;case U.PROC_INST:"?"===d?b.state=U.PROC_INST_ENDING:l(G,d)?b.state=U.PROC_INST_BODY:b.procInstName+=d;continue;case U.PROC_INST_BODY:if(!b.procInstBody&&l(G,d))continue;"?"===d?b.state=U.PROC_INST_ENDING:b.procInstBody+=d;continue;case U.PROC_INST_ENDING:">"===d?(o(b,"onprocessinginstruction",{name:b.procInstName,body:b.procInstBody}),b.procInstName=b.procInstBody="",b.state=U.TEXT):(b.procInstBody+="?"+d,b.state=U.PROC_INST_BODY);continue;case U.OPEN_TAG:l(R,d)?b.tagName+=d:(u(b),">"===d?x(b):"/"===d?b.state=U.OPEN_TAG_SLASH:(m(G,d)&&t(b,"Invalid character in tag name"),b.state=U.ATTRIB));continue;case U.OPEN_TAG_SLASH:">"===d?(x(b,!0),y(b)):(t(b,"Forward-slash in opening tag not followed by >"),b.state=U.ATTRIB);continue;case U.ATTRIB:if(l(G,d))continue;">"===d?x(b):"/"===d?b.state=U.OPEN_TAG_SLASH:l(Q,d)?(b.attribName=d,b.attribValue="",b.state=U.ATTRIB_NAME):t(b,"Invalid attribute name");continue;case U.ATTRIB_NAME:"="===d?b.state=U.ATTRIB_VALUE:">"===d?(t(b,"Attribute without value"),b.attribValue=b.attribName,w(b),x(b)):l(G,d)?b.state=U.ATTRIB_NAME_SAW_WHITE:l(R,d)?b.attribName+=d:t(b,"Invalid attribute name");continue;case U.ATTRIB_NAME_SAW_WHITE:if("="===d)b.state=U.ATTRIB_VALUE;else{if(l(G,d))continue;t(b,"Attribute without value"),b.tag.attributes[b.attribName]="",b.attribValue="",o(b,"onattribute",{name:b.attribName,value:""}),b.attribName="",">"===d?x(b):l(Q,d)?(b.attribName=d,b.state=U.ATTRIB_NAME):(t(b,"Invalid attribute name"),b.state=U.ATTRIB)}continue;case U.ATTRIB_VALUE:if(l(G,d))continue;l(J,d)?(b.q=d,b.state=U.ATTRIB_VALUE_QUOTED):(t(b,"Unquoted attribute value"),b.state=U.ATTRIB_VALUE_UNQUOTED,b.attribValue=d);continue;case U.ATTRIB_VALUE_QUOTED:if(d!==b.q){"&"===d?b.state=U.ATTRIB_VALUE_ENTITY_Q:b.attribValue+=d;continue}w(b),b.q="",b.state=U.ATTRIB_VALUE_CLOSED;continue;case U.ATTRIB_VALUE_CLOSED:l(G,d)?b.state=U.ATTRIB:">"===d?x(b):"/"===d?b.state=U.OPEN_TAG_SLASH:l(Q,d)?(t(b,"No whitespace between attributes"),b.attribName=d,b.attribValue="",b.state=U.ATTRIB_NAME):t(b,"Invalid attribute name");continue;case U.ATTRIB_VALUE_UNQUOTED:if(m(K,d)){"&"===d?b.state=U.ATTRIB_VALUE_ENTITY_U:b.attribValue+=d;continue}w(b),">"===d?x(b):b.state=U.ATTRIB;continue;case U.CLOSE_TAG:if(b.tagName)">"===d?y(b):l(R,d)?b.tagName+=d:b.script?(b.script+="</"+b.tagName,b.tagName="",b.state=U.SCRIPT):(m(G,d)&&t(b,"Invalid tagname in closing tag"),b.state=U.CLOSE_TAG_SAW_WHITE);else{if(l(G,d))continue;m(Q,d)?b.script?(b.script+="</"+d,b.state=U.SCRIPT):t(b,"Invalid tagname in closing tag."):b.tagName=d}continue;case U.CLOSE_TAG_SAW_WHITE:if(l(G,d))continue;">"===d?y(b):t(b,"Invalid characters in closing tag");continue;case U.TEXT_ENTITY:case U.ATTRIB_VALUE_ENTITY_Q:case U.ATTRIB_VALUE_ENTITY_U:var h,i;switch(b.state){case U.TEXT_ENTITY:h=U.TEXT,i="textNode";break;case U.ATTRIB_VALUE_ENTITY_Q:h=U.ATTRIB_VALUE_QUOTED,i="attribValue";break;case U.ATTRIB_VALUE_ENTITY_U:h=U.ATTRIB_VALUE_UNQUOTED,i="attribValue"}";"===d?(b[i]+=z(b),b.entity="",b.state=h):l(b.entity.length?T:S,d)?b.entity+=d:(t(b,"Invalid character in entity name"),b[i]+="&"+b.entity+d,b.entity="",b.state=h);continue;default:throw new Error(b,"Unknown state: "+b.state)}}return b.position>=b.bufferCheckPosition&&e(b),b}c.parser=function(a,b){return new d(a,b)},c.SAXParser=d,c.SAXStream=i,c.createStream=h,c.MAX_BUFFER_LENGTH=65536;var D=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];c.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(a){function b(){}return b.prototype=a,new b}),Object.keys||(Object.keys=function(a){var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c);return b}),d.prototype={end:function(){s(this)},write:C,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){g(this)}};var E;try{E=a(41).Stream}catch(W){E=function(){}}var F=c.EVENTS.filter(function(a){return"error"!==a&&"end"!==a});i.prototype=Object.create(E.prototype,{constructor:{value:i}}),i.prototype.write=function(c){if("function"==typeof b&&"function"==typeof b.isBuffer&&b.isBuffer(c)){if(!this._decoder){var d=a(7).StringDecoder;this._decoder=new d("utf8")}c=this._decoder.write(c)}return this._parser.write(c.toString()),this.emit("data",c),!0},i.prototype.end=function(a){return a&&a.length&&this.write(a),this._parser.end(),!0},i.prototype.on=function(a,b){var c=this;return c._parser["on"+a]||-1===F.indexOf(a)||(c._parser["on"+a]=function(){var b=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);b.splice(0,0,a),c.emit.apply(c,b)}),E.prototype.on.call(c,a,b)};var G="\r\n\t ",H="0124356789",I="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",J="'\"",K=G+">",L="[CDATA[",M="DOCTYPE",N="http://www.w3.org/XML/1998/namespace",O="http://www.w3.org/2000/xmlns/",P={xml:N,xmlns:O};G=j(G),H=j(H),I=j(I);var Q=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,R=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/,S=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,T=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/;J=j(J),K=j(K);var U=0;c.STATE={BEGIN:U++,BEGIN_WHITESPACE:U++,TEXT:U++,TEXT_ENTITY:U++,OPEN_WAKA:U++,SGML_DECL:U++,SGML_DECL_QUOTED:U++,DOCTYPE:U++,DOCTYPE_QUOTED:U++,DOCTYPE_DTD:U++,DOCTYPE_DTD_QUOTED:U++,COMMENT_STARTING:U++,COMMENT:U++,COMMENT_ENDING:U++,COMMENT_ENDED:U++,CDATA:U++,CDATA_ENDING:U++,CDATA_ENDING_2:U++,PROC_INST:U++,PROC_INST_BODY:U++,PROC_INST_ENDING:U++,OPEN_TAG:U++,OPEN_TAG_SLASH:U++,ATTRIB:U++,ATTRIB_NAME:U++,ATTRIB_NAME_SAW_WHITE:U++,ATTRIB_VALUE:U++,ATTRIB_VALUE_QUOTED:U++,ATTRIB_VALUE_CLOSED:U++,ATTRIB_VALUE_UNQUOTED:U++,ATTRIB_VALUE_ENTITY_Q:U++,ATTRIB_VALUE_ENTITY_U:U++,CLOSE_TAG:U++,CLOSE_TAG_SAW_WHITE:U++,SCRIPT:U++,SCRIPT_ENDING:U++},c.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},c.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(c.ENTITIES).forEach(function(a){var b=c.ENTITIES[a],d="number"==typeof b?String.fromCharCode(b):b;c.ENTITIES[a]=d});for(var V in c.STATE)c.STATE[c.STATE[V]]=V;U=c.STATE,/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
18
- String.fromCodePoint||function(){var a=String.fromCharCode,b=Math.floor,c=function(){var c,d,e=16384,f=[],g=-1,h=arguments.length;if(!h)return"";for(var i="";++g<h;){var j=Number(arguments[g]);if(!isFinite(j)||j<0||j>1114111||b(j)!==j)throw RangeError("Invalid code point: "+j);j<=65535?f.push(j):(j-=65536,c=55296+(j>>10),d=j%1024+56320,f.push(c,d)),(g+1===h||f.length>e)&&(i+=a.apply(null,f),f.length=0)}return i};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:c,configurable:!0,writable:!0}):String.fromCodePoint=c}()}(void 0===c?this.sax={}:c)}).call(this,a(8).Buffer)},{41:41,7:7,8:8}],41:[function(a,b,c){function d(){e.call(this)}b.exports=d;var e=a(11).EventEmitter;a(21)(d,e),d.Readable=a(36),d.Writable=a(38),d.Duplex=a(26),d.Transform=a(37),d.PassThrough=a(35),d.Stream=d,d.prototype.pipe=function(a,b){function c(b){a.writable&&!1===a.write(b)&&j.pause&&j.pause()}function d(){j.readable&&j.resume&&j.resume()}function f(){k||(k=!0,a.end())}function g(){k||(k=!0,"function"==typeof a.destroy&&a.destroy())}function h(a){if(i(),0===e.listenerCount(this,"error"))throw a}function i(){j.removeListener("data",c),a.removeListener("drain",d),j.removeListener("end",f),j.removeListener("close",g),j.removeListener("error",h),a.removeListener("error",h),j.removeListener("end",i),j.removeListener("close",i),a.removeListener("close",i)}var j=this;j.on("data",c),a.on("drain",d),a._isStdio||b&&!1===b.end||(j.on("end",f),j.on("close",g));var k=!1;return j.on("error",h),a.on("error",h),j.on("end",i),j.on("close",i),a.on("close",i),a.emit("pipe",j),a}},{11:11,21:21,26:26,35:35,36:36,37:37,38:38}],42:[function(a,b,c){"use strict";function d(a){if(!a)return"utf8";for(var b;;)switch(a){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return a;default:if(b)return;a=(""+a).toLowerCase(),b=!0}}function e(a){var b=d(a);if("string"!=typeof b&&(s.isEncoding===t||!t(a)))throw new Error("Unknown encoding: "+a);return b||a}function f(a){this.encoding=e(a);var b;switch(this.encoding){case"utf16le":this.text=m,this.end=n,b=4;break;case"utf8":this.fillLast=j,b=4;break;case"base64":this.text=o,this.end=p,b=3;break;default:return this.write=q,void(this.end=r)}this.lastNeed=0,this.lastTotal=0,this.lastChar=s.allocUnsafe(b)}function g(a){return a<=127?0:a>>5==6?2:a>>4==14?3:a>>3==30?4:-1}function h(a,b,c){var d=b.length-1;if(d<c)return 0;var e=g(b[d]);return e>=0?(e>0&&(a.lastNeed=e-1),e):--d<c?0:(e=g(b[d]))>=0?(e>0&&(a.lastNeed=e-2),e):--d<c?0:(e=g(b[d]),e>=0?(e>0&&(2===e?e=0:a.lastNeed=e-3),e):0)}function i(a,b,c){if(128!=(192&b[0]))return a.lastNeed=0,"�".repeat(c);if(a.lastNeed>1&&b.length>1){if(128!=(192&b[1]))return a.lastNeed=1,"�".repeat(c+1);if(a.lastNeed>2&&b.length>2&&128!=(192&b[2]))return a.lastNeed=2,"�".repeat(c+2)}}function j(a){var b=this.lastTotal-this.lastNeed,c=i(this,a,b);return void 0!==c?c:this.lastNeed<=a.length?(a.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(a.copy(this.lastChar,b,0,a.length),void(this.lastNeed-=a.length))}function k(a,b){var c=h(this,a,b);if(!this.lastNeed)return a.toString("utf8",b);this.lastTotal=c;var d=a.length-(c-this.lastNeed);return a.copy(this.lastChar,0,d),a.toString("utf8",b,d)}function l(a){var b=a&&a.length?this.write(a):"";return this.lastNeed?b+"�".repeat(this.lastTotal-this.lastNeed):b}function m(a,b){if((a.length-b)%2==0){var c=a.toString("utf16le",b);if(c){var d=c.charCodeAt(c.length-1);if(d>=55296&&d<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1],c.slice(0,-1)}return c}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=a[a.length-1],a.toString("utf16le",b,a.length-1)}function n(a){var b=a&&a.length?this.write(a):"";if(this.lastNeed){var c=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,c)}return b}function o(a,b){var c=(a.length-b)%3;return 0===c?a.toString("base64",b):(this.lastNeed=3-c,this.lastTotal=3,1===c?this.lastChar[0]=a[a.length-1]:(this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1]),a.toString("base64",b,a.length-c))}function p(a){var b=a&&a.length?this.write(a):"";return this.lastNeed?b+this.lastChar.toString("base64",0,3-this.lastNeed):b}function q(a){return a.toString(this.encoding)}function r(a){return a&&a.length?this.write(a):""}var s=a(39).Buffer,t=s.isEncoding||function(a){switch((a=""+a)&&a.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};c.StringDecoder=f,f.prototype.write=function(a){if(0===a.length)return"";var b,c;if(this.lastNeed){if(void 0===(b=this.fillLast(a)))return"";c=this.lastNeed,this.lastNeed=0}else c=0;return c<a.length?b?b+this.text(a,c):this.text(a,c):b||""},f.prototype.end=l,f.prototype.text=k,f.prototype.fillLast=function(a){if(this.lastNeed<=a.length)return a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,a.length),this.lastNeed-=a.length}},{39:39}],43:[function(a,b,c){(function(a){function c(a,b){function c(){if(!e){if(d("throwDeprecation"))throw new Error(b);d("traceDeprecation")?console.trace(b):console.warn(b),e=!0}return a.apply(this,arguments)}if(d("noDeprecation"))return a;var e=!1;return c}function d(b){try{if(!a.localStorage)return!1}catch(d){return!1}var c=a.localStorage[b];return null!=c&&"true"===String(c).toLowerCase()}b.exports=c}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],44:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){l=!0,m=!0,n=!1,o=(new Date).getTime()}function b(a){m=a}function c(a){n=a}function d(a){l=a}function e(){return l}function f(){var a="",b=null;m&&(b=(new Date).getTime(),a+="["+(b-o)+"]"),n&&this&&this.getClassName&&(a+="["+this.getClassName()+"]",this.getType&&(a+="["+this.getType()+"]")),a.length>0&&(a+=" "),Array.apply(null,arguments).forEach(function(b){a+=b+" "}),l&&console.log(a),j.trigger(i.default.LOG,{message:a})}var h=this.context,j=(0,g.default)(h).getInstance(),k=void 0,l=void 0,m=void 0,n=void 0,o=void 0;return k={log:f,setLogTimestampVisible:b,setCalleeNameVisible:c,setLogToBrowserConsole:d,getLogToBrowserConsole:e},a(),k}Object.defineProperty(c,"__esModule",{value:!0});var f=a(45),g=d(f),h=a(49),i=d(h),j=a(46),k=d(j);e.__dashjs_factory_name="Debug",c.default=k.default.getSingletonFactory(e),b.exports=c.default},{45:45,46:46,49:49}],45:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a,b,c){var e=arguments.length<=3||void 0===arguments[3]?h:arguments[3];if(!a)throw new Error("event type cannot be null or undefined");if(!b||"function"!=typeof b)throw new Error("listener must be a function: "+b);if(!(d(a,b,c)>=0)){f[a]=f[a]||[];var g={callback:b,scope:c,priority:e};f[a].some(function(b,c){if(b&&e>b.priority)return f[a].splice(c,0,g),!0})||f[a].push(g)}}function b(a,b,c){if(a&&b&&f[a]){var e=d(a,b,c);e<0||(f[a][e]=null)}}function c(a,b){if(a&&f[a]){if(b=b||{},b.hasOwnProperty("type"))throw new Error("'type' is a reserved word for event dispatching");b.type=a,f[a]=f[a].filter(function(a){return a}),f[a].forEach(function(a){return a&&a.callback.call(a.scope,b)})}}function d(a,b,c){var d=-1;return f[a]?(f[a].some(function(a,e){if(a&&a.callback===b&&(!c||c===a.scope))return d=e,!0}),d):d}function e(){f={}}var f={};return{on:a,off:b,trigger:c,reset:e}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=0,i=5e3;e.__dashjs_factory_name="EventBus";var j=g.default.getSingletonFactory(e);j.EVENT_PRIORITY_LOW=h,j.EVENT_PRIORITY_HIGH=i,g.default.updateSingletonFactory(e.__dashjs_factory_name,j),c.default=j,b.exports=c.default},{46:46}],46:[function(a,b,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=function(){function a(a,b,c,d){!d[a]&&b&&(d[a]={instance:b,override:c})}function b(a,b){for(var c in n){var d=n[c];if(d.context===a&&d.name===b)return d.instance}return null}function c(a,b,c){for(var d in n){var e=n[d];if(e.context===a&&e.name===b)return void(n[d].instance=c)}n.push({name:b,context:a,instance:c})}function d(a,b){return b[a]}function e(a,b,c){a in c&&(c[a]=b)}function f(a,b){e(a,b,p)}function g(a){return d(a,p)}function h(a){var b=d(a.__dashjs_factory_name,p);return b||(b=function(b){return void 0===b&&(b={}),{create:function(){return l(a,b,arguments)}}},p[a.__dashjs_factory_name]=b),b}function i(a,b){e(a,b,o)}function j(a){return d(a,o)}function k(a){var c=d(a.__dashjs_factory_name,o);return c||(c=function(c){var d=void 0;return void 0===c&&(c={}),{getInstance:function(){return d||(d=b(c,a.__dashjs_factory_name)),d||(d=l(a,c,arguments),n.push({name:a.__dashjs_factory_name,context:c,instance:d})),d}}},o[a.__dashjs_factory_name]=c),c}function l(a,b,c){var d=void 0,e=a.__dashjs_factory_name,f=b[e];if(f){var g=f.instance;if(!f.override)return g.apply({context:b,factory:m},c);d=a.apply({context:b},c),g=g.apply({context:b,factory:m,parent:d},c);for(var h in g)d.hasOwnProperty(h)&&(d[h]=g[h])}else d=a.apply({context:b},c);return d.getClassName=function(){return e},d}var m=void 0,n=[],o={},p={};return m={extend:a,getSingletonInstance:b,setSingletonInstance:c,getSingletonFactory:k,getSingletonFactoryByName:j,updateSingletonFactory:i,getClassFactory:h,getClassFactoryByName:g,updateClassFactory:f}}();c.default=d,b.exports=c.default},{}],47:[function(a,b,c){"use strict";function d(){return e}Object.defineProperty(c,"__esModule",{value:!0}),c.getVersionString=d;var e="2.7.0"},{}],48:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(50),i=d(h),j=function(a){function b(){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this),this.BUFFERING_COMPLETED="bufferingCompleted",this.BUFFER_CLEARED="bufferCleared",this.BUFFER_LEVEL_UPDATED="bufferLevelUpdated",this.BYTES_APPENDED="bytesAppended",this.BYTES_APPENDED_END_FRAGMENT="bytesAppendedEndFragment",this.CHECK_FOR_EXISTENCE_COMPLETED="checkForExistenceCompleted",this.CURRENT_TRACK_CHANGED="currentTrackChanged",this.DATA_UPDATE_COMPLETED="dataUpdateCompleted",this.DATA_UPDATE_STARTED="dataUpdateStarted",this.INITIALIZATION_LOADED="initializationLoaded",this.INIT_FRAGMENT_LOADED="initFragmentLoaded",this.INIT_REQUESTED="initRequested",this.INTERNAL_MANIFEST_LOADED="internalManifestLoaded",this.LIVE_EDGE_SEARCH_COMPLETED="liveEdgeSearchCompleted",this.LOADING_COMPLETED="loadingCompleted",this.LOADING_PROGRESS="loadingProgress",this.LOADING_DATA_PROGRESS="loadingDataProgress",this.LOADING_ABANDONED="loadingAborted",this.MANIFEST_UPDATED="manifestUpdated",this.MEDIA_FRAGMENT_LOADED="mediaFragmentLoaded",this.QUOTA_EXCEEDED="quotaExceeded",this.REPRESENTATION_UPDATED="representationUpdated",this.SEGMENTS_LOADED="segmentsLoaded",this.SERVICE_LOCATION_BLACKLIST_ADD="serviceLocationBlacklistAdd",this.SERVICE_LOCATION_BLACKLIST_CHANGED="serviceLocationBlacklistChanged",this.SOURCEBUFFER_REMOVE_COMPLETED="sourceBufferRemoveCompleted",this.STREAMS_COMPOSED="streamsComposed",this.STREAM_BUFFERING_COMPLETED="streamBufferingCompleted",this.STREAM_COMPLETED="streamCompleted",this.TEXT_TRACKS_QUEUE_INITIALIZED="textTracksQueueInitialized",this.TIMED_TEXT_REQUESTED="timedTextRequested",this.TIME_SYNCHRONIZATION_COMPLETED="timeSynchronizationComplete",this.URL_RESOLUTION_FAILED="urlResolutionFailed",this.VIDEO_CHUNK_RECEIVED="videoChunkReceived",this.WALLCLOCK_TIME_UPDATED="wallclockTimeUpdated",this.XLINK_ELEMENT_LOADED="xlinkElementLoaded",this.XLINK_READY="xlinkReady"}return f(b,a),b}(i.default);c.default=j,b.exports=c.default},{50:50}],49:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(48),i=d(h),j=function(a){function b(){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).apply(this,arguments)}return f(b,a),b}(i.default),k=new j;c.default=k,b.exports=c.default},{48:48}],50:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(){d(this,a)}return e(a,[{key:"extend",value:function(a,b){if(a){var c=!!b&&b.override,d=!!b&&b.publicOnly;for(var e in a)!a.hasOwnProperty(e)||this[e]&&!c||d&&-1===a[e].indexOf("public_")||(this[e]=a[e])}}}]),a}();c.default=f,b.exports=c.default},{}],51:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){L()}function b(a){a&&a.dashManifestModel&&(N=a.dashManifestModel)}function c(a,b){return b&&a?b.getRepresentationForQuality(a.quality):null}function d(a){return a&&a.streamInfo&&void 0!==a.streamInfo.id&&P[a.streamInfo.id]?P[a.streamInfo.id][a.index]:null}function e(a,b){for(var c=b.length,d=0;d<c;d++){var e=b[d];if(a.id===e.id)return e}return null}function f(a){var b=new i.default,c=a.adaptation.period.mpd.manifest.Period_asArray[a.adaptation.period.index].AdaptationSet_asArray[a.adaptation.index],d=N.getRepresentationFor(a.index,c);return b.id=a.id,b.quality=a.index,b.bandwidth=N.getBandwidth(d),b.DVRWindow=a.segmentAvailabilityRange,b.fragmentDuration=a.segmentDuration||(a.segments&&a.segments.length>0?a.segments[0].duration:NaN),b.MSETimeOffset=a.MSETimeOffset,b.useCalculatedLiveEdgeTime=a.useCalculatedLiveEdgeTime,b.mediaInfo=h(a.adaptation),b}function h(a){var b=new k.default,c=a.period.mpd.manifest.Period_asArray[a.period.index].AdaptationSet_asArray[a.index],d=void 0;return b.id=a.id,b.index=a.index,b.type=a.type,b.streamInfo=n(a.period),b.representationCount=N.getRepresentationCount(c),b.lang=N.getLanguageForAdaptation(c),d=N.getViewpointForAdaptation(c),b.viewpoint=d?d.value:void 0,b.accessibility=N.getAccessibilityForAdaptation(c).map(function(a){var c=a.value,d=c;return a.schemeIdUri&&a.schemeIdUri.search("cea-608")>=0&&void 0!==u.default&&(d=c?"cea-608:"+c:"cea-608",b.embeddedCaptions=!0),d}),b.audioChannelConfiguration=N.getAudioChannelConfigurationForAdaptation(c).map(function(a){return a.value}),b.roles=N.getRolesForAdaptation(c).map(function(a){return a.value}),b.codec=N.getCodec(c),b.mimeType=N.getMimeType(c),b.contentProtection=N.getContentProtectionData(c),b.bitrateList=N.getBitrateListForAdaptation(c),b.contentProtection&&b.contentProtection.forEach(function(a){a.KID=N.getKID(a)}),b.isText=N.getIsTextTrack(b.mimeType),b}function j(a,b,c){a.id=b,a.index=100+parseInt(b.substring(2,3)),a.type=g.default.EMBEDDED_TEXT,a.codec="cea-608-in-SEI",a.isText=!0,a.isEmbedded=!0,a.lang=c,a.roles=["caption"]}function l(a){a.type=g.default.IMAGE}function n(a){var b=new m.default;return b.id=a.id,b.index=a.index,b.start=a.start,b.duration=a.duration,b.manifestInfo=p(a.mpd),b.isLast=1===a.mpd.manifest.Period_asArray.length||Math.abs(b.start+b.duration-b.manifestInfo.duration)<1,b}function p(a){var b=new o.default;return b.DVRWindowSize=a.timeShiftBufferDepth,b.loadedTime=a.manifest.loadedTime,b.availableFrom=a.availabilityStartTime,b.minBufferTime=a.manifest.minBufferTime,b.maxFragmentDuration=a.maxSegmentDuration,b.duration=N.getDuration(a.manifest),b.isDynamic=N.getIsDynamic(a.manifest),b}function r(a,b){if(0===O.length)return null;var c=O[0].mpd.manifest,d=N.getAdaptationForType(c,a.index,b,a);if(!d)return null;var f=e(a,O),g=f.id,i=N.getIndexForAdaptation(d,c,a.index);return P[g]=P[g]||N.getAdaptationsForPeriod(f),h(P[g][i])}function s(a,b,c){var d=O,f=c,i=[],k=void 0,m=void 0,n=void 0,o=void 0,p=void 0,q=void 0;if(f){t();var r=N.getMpd(f);d=N.getRegularPeriods(r)}else{if(!(O.length>0))return i;f=O[0].mpd.manifest}var s=e(a,d),u=s.id,v=N.getAdaptationsForType(f,a.index,b!==g.default.EMBEDDED_TEXT?b:g.default.VIDEO);if(!v)return i;for(P[u]=P[u]||N.getAdaptationsForPeriod(s),o=0,q=v.length;o<q;o++)if(k=v[o],n=N.getIndexForAdaptation(k,f,a.index),m=h(P[u][n]),b===g.default.EMBEDDED_TEXT){var w=m.accessibility.length;for(p=0;p<w;p++)if(m){var x=m.accessibility[p];if(0===x.indexOf("cea-608:")){var y=x.substring(8),z=y.split(";");if("CC"===z[0].substring(0,2))for(p=0;p<z.length;p++)m||(m=h.call(this,P[u][n])),j(m,z[p].substring(0,3),z[p].substring(4)),i.push(m),m=null;else for(p=0;p<z.length;p++)m||(m=h.call(this,P[u][n])),j(m,"CC"+(p+1),z[p]),i.push(m),m=null}else 0===x.indexOf("cea-608")&&(j(m,g.default.CC1,"eng"),i.push(m),m=null)}}else b===g.default.IMAGE?(l(m),i.push(m),m=null):m&&i.push(m);return i}function t(){if(!N||!N.hasOwnProperty("getMpd")||!N.hasOwnProperty("getRegularPeriods"))throw new Error("setConfig function has to be called previously")}function v(a){if(!a)return null;t();var b=N.getMpd(a);O=N.getRegularPeriods(b),P={}}function w(a,b){var c=[],d=O;if(a){t();var e=N.getMpd(a);d=N.getRegularPeriods(e)}b||(b=d.length);for(var f=0;f<b;f++)c.push(n(d[f]));return c}function x(a){if(!(a&&a.hasOwnProperty("getRepresentationController")&&a.hasOwnProperty("getIndexHandler")&&a.hasOwnProperty("getMediaInfo")&&a.hasOwnProperty("getType")&&a.hasOwnProperty("getStreamInfo")))throw new Error("streamProcessor parameter is missing or malformed!")}function y(a){if(!a||!a.hasOwnProperty("getRepresentationForQuality")||!a.hasOwnProperty("getCurrentRepresentation"))throw new Error("representationController parameter is missing or malformed!")}function z(a){if(null===a||isNaN(a)||a%1!=0)throw new Error("quality argument is not an integer")}function A(a,b){var c=void 0,d=void 0,e=void 0;return x(a),z(b),c=a.getRepresentationController(),e=a.getIndexHandler(),d=c?c.getRepresentationForQuality(b):null,e?e.getInitRequest(d):null}function B(a,b){var d=void 0,e=void 0,f=void 0;return x(a),d=a.getRepresentationController(),e=c(b,d),f=a.getIndexHandler(),f?f.getNextSegmentRequest(e):null}function C(a,b,d,e){var f=void 0,g=void 0,h=void 0;return x(a),f=a.getRepresentationController(),g=c(b,f),h=a.getIndexHandler(),h?h.getSegmentRequestForTime(g,d,e):null}function D(a,b,d){var e=void 0,f=void 0,g=void 0;return x(a),e=a.getRepresentationController(),f=c(b,e),g=a.getIndexHandler(),g?g.generateSegmentRequestForTime(f,d):null}function E(a){x(a);var b=a.getIndexHandler();return b?b.getCurrentTime():NaN}function F(a,b){x(a);var c=a.getIndexHandler();c&&c.setCurrentTime(b)}function G(a){x(a);var b=e(a.getStreamInfo(),O),c=a.getMediaInfo(),f=d(c),g=a.getType(),h=void 0,i=void 0;h=c?c.id:null,O.length>0&&(i=h?N.getAdaptationForId(h,O[0].mpd.manifest,b.index):N.getAdaptationForIndex(c.index,O[0].mpd.manifest,b.index),a.getRepresentationController().updateData(i,f,g))}function H(a,b){y(a),z(b);var c=a.getRepresentationForQuality(b);return c?f(c):null}function I(a){y(a);var b=a.getCurrentRepresentation();return b?f(b):null}function J(a,b,c){if(!a||!b)return null;var d=new q.default,e=a.scheme_id_uri,f=a.value,g=a.timescale,h=a.presentation_time_delta,i=a.event_duration,j=a.id,k=a.message_data,l=c*g+h;return b[e]?(d.eventStream=b[e],d.eventStream.value=f,d.eventStream.timescale=g,d.duration=i,d.id=j,d.presentationTime=l,d.messageData=k,d.presentationTimeDelta=h,d):null}function K(a,b){var f=[];if(0===O.length)return f;var g=O[0].mpd.manifest;return a instanceof m.default?f=N.getEventsForPeriod(e(a,O)):a instanceof k.default?f=N.getEventStreamForAdaptationSet(g,d(a)):a instanceof i.default&&(f=N.getEventStreamForRepresentation(g,c(a,b.getRepresentationController()))),f}function L(){O=[],P={}}var M=void 0,N=void 0,O=void 0,P=void 0;return M={convertDataToRepresentationInfo:f,getDataForMedia:d,getStreamsInfo:w,getMediaInfoForType:r,getAllMediaInfoForType:s,getCurrentRepresentationInfo:I,getRepresentationInfoForQuality:H,updateData:G,getInitRequest:A,getNextFragmentRequest:B,getFragmentRequestForTime:C,generateFragmentRequestForTime:D,getIndexHandlerTime:E,setIndexHandlerTime:F,getEventsFor:K,getEvent:J,setConfig:b,updatePeriods:v,reset:L},a(),M}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(171),i=d(h),j=a(169),k=d(j),l=a(172),m=d(l),n=a(168),o=d(n),p=a(80),q=d(p),r=a(46),s=d(r),t=a(2),u=d(t);e.__dashjs_factory_name="DashAdapter",c.default=s.default.getSingletonFactory(e),b.exports=c.default},{168:168,169:169,171:171,172:172,2:2,46:46,80:80,97:97}],52:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){Z=(0,v.default)(O).getInstance().log.bind(Y),l(),R=c(a.mimeType)?(0,G.default)(O).getInstance():(0,E.default)(O).getInstance(),R.setConfig({baseURLController:X,metricsModel:U,mediaPlayerModel:V,errHandler:W}),P.on(p.default.INITIALIZATION_LOADED,M,Y),P.on(p.default.SEGMENTS_LOADED,N,Y)}function c(a){return"webm"===a.split("/")[1].toLowerCase()}function d(b){ca=b;var c=ca?ca.getStreamInfo().manifestInfo.isDynamic:null;R.initialize(),da=(0,C.default)(O).create(a,c)}function e(){return ca}function f(a){aa=a}function h(){return aa}function j(){return ba}function l(){$=-1,aa=0,ba=NaN,_=null,ca=null,da=null}function o(){l(),P.off(p.default.INITIALIZATION_LOADED,M,Y),P.off(p.default.SEGMENTS_LOADED,N,Y)}function q(a,b,c){var d=X.resolve(c.path),e=void 0,f=void 0;return d&&b!==d.url&&Q.isRelative(b)?(e=d.url,f=d.serviceLocation,b&&(e=Q.resolve(b,e))):e=b,!Q.isRelative(e)&&(a.url=e,a.serviceLocation=f,!0)}function s(a,b){var c=new k.default,d=a.adaptation.period,e=d.start,f=ca?ca.getStreamInfo().manifestInfo.isDynamic:null;if(c.mediaType=b,c.type=n.HTTPRequest.INIT_SEGMENT_TYPE,c.range=a.range,c.availabilityStartTime=S.calcAvailabilityStartTimeFromPresentationTime(e,d.mpd,f),c.availabilityEndTime=S.calcAvailabilityEndTimeFromPresentationTime(e+d.duration,d.mpd,f),c.quality=a.index,c.mediaInfo=ca?ca.getMediaInfo():null,c.representationId=a.id,q(c,a.initialization,a))return c}function t(a){var b=ca?ca.getType():null;return a?s(a,b):null}function u(a){var b=!1,c=ca?ca.getStreamInfo().manifestInfo.isDynamic:null;if(c||$!==a.availableSegmentsNumber){var d=(0,A.getSegmentByIndex)($,a);if(d){var e=parseFloat((d.presentationStartTime-a.adaptation.period.start).toFixed(5)),f=a.adaptation.period.duration;Z(a.segmentInfoType+": "+e+" / "+f),b=(a.segmentInfoType!==i.default.SEGMENT_TIMELINE||!c)&&e>=f}else Z("isMediaFinished - no segment found")}else b=!0;return b}function w(a){da.getSegments(a,_,$,y)}function y(a,b){var c=ca?ca.getStreamInfo().manifestInfo.isDynamic:null;if(a.segments=b,b&&b.length>0&&(ba=isNaN(ba)?b[0].presentationStartTime:Math.min(b[0].presentationStartTime,ba),c&&isNaN(S.getExpectedLiveEdge()))){var d=b[b.length-1],e=d.presentationStartTime,f=U.getMetricsFor(g.default.STREAM);S.setExpectedLiveEdge(e),U.updateManifestUpdateInfo(T.getCurrentManifestUpdate(f),{presentationStartTime:e})}}function B(a){if(!a)throw new Error("no representation");a.segments=null,w(a)}function D(a,b){var c=z.default.hasInitialization(a),d=z.default.hasSegments(a),e=ca?ca.getType():null,f=ca?ca.getStreamInfo().manifestInfo.isDynamic:null,g=void 0;if(a.segmentDuration||a.segments||B(a),a.segmentAvailabilityRange=S.calcSegmentAvailabilityRange(a,f),a.segmentAvailabilityRange.end<a.segmentAvailabilityRange.start&&!a.useCalculatedLiveEdgeTime)return g=new m.default(H,"no segments are available yet",{availabilityDelay:a.segmentAvailabilityRange.start-a.segmentAvailabilityRange.end}),void P.trigger(p.default.REPRESENTATION_UPDATED,{sender:this,representation:a,error:g});b||($=-1),a.segmentDuration&&B(a),c||R.loadInitialization(a),d||R.loadSegments(a,e,a.indexRange),c&&d&&P.trigger(p.default.REPRESENTATION_UPDATED,{sender:this,representation:a})}function F(a,b,c){var d=b.segments,e=d?d.length:null,f=-1,g=void 0,h=void 0,i=void 0,j=void 0,k=void 0;if(d&&e>0)for(c=void 0===c||null===c?V.getSegmentOverlapToleranceTime():c,k=0;k<e;k++)if(h=d[k],i=h.presentationStartTime,j=h.duration,g=void 0===c||null===c?j/2:c,a+g>=i&&a-g<i+j){f=h.availabilityIdx;break}return f}function I(a){if(null===a||void 0===a)return null;var b=new k.default,c=a.representation,d=c.adaptation.period.mpd.manifest.Period_asArray[c.adaptation.period.index].AdaptationSet_asArray[c.adaptation.index].Representation_asArray[c.index].bandwidth,e=a.media,f=ca?ca.getType():null;return e=(0,A.replaceTokenForTemplate)(e,"Number",a.replacementNumber),e=(0,A.replaceTokenForTemplate)(e,"Time",a.replacementTime),e=(0,A.replaceTokenForTemplate)(e,"Bandwidth",d),e=(0,A.replaceIDForTemplate)(e,c.id),e=(0,A.unescapeDollarsInTemplate)(e),b.mediaType=f,b.type=n.HTTPRequest.MEDIA_SEGMENT_TYPE,b.range=a.mediaRange,b.startTime=a.presentationStartTime,b.duration=a.duration,b.timescale=c.timescale,b.availabilityStartTime=a.availabilityStartTime,b.availabilityEndTime=a.availabilityEndTime,b.wallStartTime=a.wallStartTime,b.quality=c.index,b.index=a.availabilityIdx,b.mediaInfo=ca.getMediaInfo(),b.adaptationIndex=c.adaptation.index,b.representationId=c.id,q(b,e,c)?b:void 0}function J(a,b,c){var d=void 0,e=void 0,f=void 0,g=ca?ca.getType():null,h=ca?ca.getStreamInfo().manifestInfo.isDynamic:null,j=$,l=!!c&&c.keepIdx,m=c?c.timeThreshold:null,n=!(!c||!c.ignoreIsFinished);return a?(_!==b&&(_=b,Z("Getting the request for "+g+" time : "+b)),w(a),$=F(b,a,m),$<0&&(w(a),$=F(b,a,m)),$>0&&Z("Index for "+g+" time "+b+" is "+$),f=!n&&u(a),f?(d=new k.default,d.action=k.default.ACTION_COMPLETE,d.index=$,d.mediaType=g,d.mediaInfo=ca.getMediaInfo(),Z("Signal complete in getSegmentRequestForTime -",g)):(e=(0,A.getSegmentByIndex)($,a),d=I(e)),l&&j>=0&&($=a.segmentInfoType===i.default.SEGMENT_TIMELINE&&h?$:j),d):null}function K(a,b){var c=(a.segmentAvailabilityRange.end-a.segmentAvailabilityRange.start)/2;return a.segments=null,a.segmentAvailabilityRange={start:b-c,end:b+c},J(a,b,{keepIdx:!1,ignoreIsFinished:!0})}function L(a){var b=void 0,c=void 0,d=void 0,e=ca?ca.getType():null,f=ca?ca.getStreamInfo().manifestInfo.isDynamic:null;return a&&-1!==$?(_=null,$++,Z("Getting the next request at index: "+$+", type: "+e),!(0,A.getSegmentByIndex)($,a)&&f?(Z("No segment found at index: "+$+". Wait for next loop"),w(a),$--,null):(d=u(a),d?(b=new k.default,b.action=k.default.ACTION_COMPLETE,b.index=$,b.mediaType=e,b.mediaInfo=ca.getMediaInfo(),Z("Signal complete -",e)):(w(a),c=(0,A.getSegmentByIndex)($,a),b=I(c),!c&&f&&$--),b)):null}function M(a){var b=a.representation;b.segments&&P.trigger(p.default.REPRESENTATION_UPDATED,{sender:this,representation:b})}function N(a){var b=ca?ca.getType():null,c=ca?ca.getStreamInfo().manifestInfo.isDynamic:null;if(!a.error&&b===a.mediaType){var d=a.segments,e=a.representation,f=[],g=0,h=void 0,i=void 0,j=void 0,k=void 0;for(h=0,i=d.length;h<i;h++)j=d[h],k=(0,A.getTimeBasedSegment)(S,c,e,j.startTime,j.duration,j.timescale,j.media,j.mediaRange,g),f.push(k),k=null,g++;e.segmentAvailabilityRange={start:f[0].presentationStartTime,end:f[i-1].presentationStartTime},e.availableSegmentsNumber=i,y(e,f),z.default.hasInitialization(e)&&P.trigger(p.default.REPRESENTATION_UPDATED,{sender:this,representation:e})}}a=a||{};var O=this.context,P=(0,r.default)(O).getInstance(),Q=(0,x.default)(O).getInstance(),R=void 0,S=a.timelineConverter,T=a.dashMetrics,U=a.metricsModel,V=a.mediaPlayerModel,W=a.errHandler,X=a.baseURLController,Y=void 0,Z=void 0,$=void 0,_=void 0,aa=void 0,ba=void 0,ca=void 0,da=void 0;return Y={initialize:d,getStreamProcessor:e,getInitRequest:t,getSegmentRequestForTime:J,getNextSegmentRequest:L,generateSegmentRequestForTime:K,updateRepresentation:D,updateSegmentList:B,setCurrentTime:f,getCurrentTime:h,getEarliestTime:j,reset:o},b(),Y}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(56),i=d(h),j=a(164),k=d(j),l=a(162),m=d(l),n=a(182),o=a(49),p=d(o),q=a(45),r=d(q),s=a(46),t=d(s),u=a(44),v=d(u),w=a(157),x=d(w),y=a(84),z=d(y),A=a(74),B=a(73),C=d(B),D=a(54),E=d(D),F=a(55),G=d(F),H=1;e.__dashjs_factory_name="DashHandler";var I=t.default.getClassFactory(e);I.SEGMENTS_UNAVAILABLE_ERROR_CODE=H,t.default.updateClassFactory(e.__dashjs_factory_name,I),c.default=I,b.exports=c.default},{157:157,162:162,164:164,182:182,44:44,45:45,46:46,49:49,54:54,55:55,56:56,73:73,74:74,84:84,97:97}],53:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a,b){var c=void 0;return c=w(A.getValue().Period_asArray[b],a),null===c?null:c.bandwidth}function c(a,b){return v(A.getValue().Period_asArray[b],a)}function d(a,b){var c=A.getValue();return c?y(c.Period_asArray[b],a):-1}function e(a){return n(a,j.default.TRACK_SWITCH)}function g(a){return n(a,j.default.BUFFER_LEVEL)}function h(a){var b=g(a);return b?l.default.round10(b.level/1e3,-3):0}function i(a){return a?a.RequestsQueue:null}function k(a){if(!a)return null;var b=a.HttpList,c=null,d=void 0,e=void 0;if(!b||b.length<=0)return null;for(d=b.length,e=d-1;e>=0;){if(b[e].responsecode){c=b[e];break}e--}return c}function m(a){return a&&a.HttpList?a.HttpList:[]}function n(a,b){if(!a)return null;var c=a[b];if(!c)return null;var d=c.length;return d<=0?null:c[d-1]}function o(a){return n(a,j.default.DROPPED_FRAMES)}function p(a){return n(a,j.default.SCHEDULING_INFO)}function q(a){return n(a,j.default.MANIFEST_UPDATE)}function r(a){return n(a,j.default.DVR_INFO)}function s(a,b){var c={},d=void 0,e=void 0,g=void 0;for(d=m(a),g=d.length-1;g>=0;g--)if(e=d[g],e.type===f.HTTPRequest.MPD_TYPE){c=u(e._responseHeaders);break}return void 0===c[b]?null:c[b]}function t(a,b){var c={},d=k(a);return d&&(c=u(d._responseHeaders)),void 0===c[b]?null:c[b]}function u(a){var b={};if(!a)return b;for(var c=a.trim().split("\r\n"),d=0,e=c.length;d<e;d++){var f=c[d],g=f.indexOf(": ");g>0&&(b[f.substring(0,g)]=f.substring(g+2))}return b}function v(a,b){var c=w(a,b,!0);return null!==c?c:-1}function w(a,b,c){var d=void 0,e=void 0,f=void 0,g=void 0,h=void 0,i=void 0;if(a)for(e=a.AdaptationSet_asArray,h=0;h<e.length;h+=1)for(d=e[h],g=d.Representation_asArray,i=0;i<g.length;i+=1)if(f=g[i],b===f.id)return c?i:f;return null}function x(a,b){return z.getIsTypeOf(a,b)}function y(a,b){var c=void 0,d=void 0,e=void 0,f=void 0;if(!a||!b)return-1;for(d=a.AdaptationSet_asArray,f=0;f<d.length;f+=1)if(c=d[f],e=c.Representation_asArray,x(c,b))return e.length;return-1}a=a||{}
19
- ;var z=a.dashManifestModel,A=a.manifestModel;return{getBandwidthForRepresentation:b,getIndexForRepresentation:c,getMaxIndexForBufferType:d,getCurrentRepresentationSwitch:e,getLatestBufferLevelVO:g,getCurrentBufferLevel:h,getCurrentHttpRequest:k,getHttpRequests:m,getCurrentDroppedFrames:o,getCurrentSchedulingInfo:p,getCurrentDVRInfo:r,getCurrentManifestUpdate:q,getLatestFragmentRequestHeaderValueByID:t,getLatestMPDRequestHeaderValueByID:s,getRequestsQueue:i}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(182),g=a(46),h=d(g),i=a(98),j=d(i),k=a(72),l=d(k);e.__dashjs_factory_name="DashMetrics",c.default=h.default.getSingletonFactory(e),b.exports=c.default},{182:182,46:46,72:72,98:98}],54:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){w=(0,q.default)(p).getInstance(),y=(0,g.default)(p).getInstance(),C=(0,z.default)(p).create({errHandler:t,metricsModel:A,mediaPlayerModel:B,requestModifier:y})}function b(a){a.baseURLController&&(D=a.baseURLController),a.metricsModel&&(A=a.metricsModel),a.mediaPlayerModel&&(B=a.mediaPlayerModel),a.errHandler&&(t=a.errHandler)}function c(){if(!D||!D.hasOwnProperty("resolve"))throw new Error("setConfig function has to be called previously")}function d(a,b){c();var e=null,f=null,g=D.resolve(a.path),h=b||{init:!0,url:g?g.url:void 0,range:{start:0,end:1500},searching:!1,bytesLoaded:0,bytesToLoad:1500};r("Start searching for initialization.");var i=l(h),k=function(b){h.bytesLoaded=h.range.end,f=w.parse(b),e=j(f),e?(a.range=e,s.trigger(m.default.INITIALIZATION_LOADED,{representation:a})):(h.range.end=h.bytesLoaded+h.bytesToLoad,d(a,h))},n=function(){s.trigger(m.default.INITIALIZATION_LOADED,{representation:a})};C.load({request:i,success:k,error:n}),r("Perform init search: "+h.url)}function e(a,b,d,f,g){if(c(),d&&(void 0===d.start||void 0===d.end)){var i=d?d.toString().split("-"):null;d=i?{start:parseFloat(i[0]),end:parseFloat(i[1])}:null}g=g||n;var j=null,k=null,m=!!d,o=D.resolve(a.path),p={init:!1,url:o?o.url:void 0,range:m?d:{start:0,end:1500},searching:!m,bytesLoaded:f?f.bytesLoaded:0,bytesToLoad:1500},q=l(p),s=function(c){var d=p.bytesToLoad,f=c.byteLength;if(p.bytesLoaded=p.range.end-p.range.start,j=w.parse(c),(k=j.getBox("sidx"))&&k.isComplete){var i=k.references,l=void 0,m=void 0;null!==i&&void 0!==i&&i.length>0&&(l=1===i[0].reference_type),l?function(){r("Initiate multiple SIDX load."),p.range.end=p.range.start+k.size;var c=void 0,d=void 0,f=void 0,h=void 0,j=void 0,l=[],m=0,n=(k.offset||p.range.start)+k.size,o=function(c){c?(l=l.concat(c),++m>=d&&g(l,a,b)):g(null,a,b)};for(c=0,d=i.length;c<d;c++)f=n,h=n+i[c].referenced_size-1,n+=i[c].referenced_size,j={start:f,end:h},e(a,null,j,p,o)}():(r("Parsing segments from SIDX."),m=h(k,p),g(m,a,b))}else{if(k)p.range.start=k.offset||p.range.start,p.range.end=p.range.start+(k.size||d);else{if(f<p.bytesLoaded)return void g(null,a,b);var n=j.getLastBox();n&&n.size?(p.range.start=n.offset+n.size,p.range.end=p.range.start+d):p.range.end+=d}e(a,b,p.range,p,g)}},t=function(){g(null,a,b)};C.load({request:q,success:s,error:t}),r("Perform SIDX load: "+p.url)}function f(){C.abort(),C=null,t=null,w=null,y=null}function h(a,b){for(var c=a.references,d=c.length,e=a.timescale,f=a.earliest_presentation_time,g=b.range.start+a.offset+a.first_offset+a.size,h=[],j=void 0,k=void 0,l=void 0,m=void 0,n=0;n<d;n++)l=c[n].subsegment_duration,m=c[n].referenced_size,j=new i.default,j.duration=l,j.startTime=f,j.timescale=e,k=g+m-1,j.mediaRange=g+"-"+k,h.push(j),f+=l,g+=m;return h}function j(a){var b=a.getBox("ftyp"),c=a.getBox("moov"),d=null,e=void 0,f=void 0;return r("Searching for initialization."),c&&c.isComplete&&(e=b?b.offset:c.offset,f=c.offset+c.size-1,d=e+"-"+f,r("Found the initialization. Range: "+d)),d}function l(a){if(a.url){var b=new x.default;return b.type=a.init?v.HTTPRequest.INIT_SEGMENT_TYPE:v.HTTPRequest.MEDIA_SEGMENT_TYPE,b.url=a.url,b.range=a.range.start+"-"+a.range.end,b}}function n(a,b,c){a?s.trigger(m.default.SEGMENTS_LOADED,{segments:a,representation:b,mediaType:c}):s.trigger(m.default.SEGMENTS_LOADED,{segments:null,representation:b,mediaType:c,error:new k.default(null,"error loading segments",null)})}var p=this.context,r=(0,u.default)(p).getInstance().log,s=(0,o.default)(p).getInstance(),t=void 0,w=void 0,y=void 0,A=void 0,B=void 0,C=void 0,D=void 0;return{setConfig:b,initialize:a,loadInitialization:d,loadSegments:e,reset:f}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(155),g=d(f),h=a(85),i=d(h),j=a(162),k=d(j),l=a(49),m=d(l),n=a(45),o=d(n),p=a(145),q=d(p),r=a(46),s=d(r),t=a(44),u=d(t),v=a(182),w=a(164),x=d(w),y=a(120),z=d(y);e.__dashjs_factory_name="SegmentBaseLoader",c.default=s.default.getSingletonFactory(e),b.exports=c.default},{120:120,145:145,155:155,162:162,164:164,182:182,44:44,45:45,46:46,49:49,85:85}],55:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){z={EBML:{tag:440786851,required:!0},Segment:{tag:408125543,required:!0,SeekHead:{tag:290298740,required:!0},Info:{tag:357149030,required:!0,TimecodeScale:{tag:2807729,required:!0,parse:"getMatroskaUint"},Duration:{tag:17545,required:!0,parse:"getMatroskaFloat"}},Tracks:{tag:374648427,required:!0},Cues:{tag:475249515,required:!0,CuePoint:{tag:187,required:!0,CueTime:{tag:179,required:!0,parse:"getMatroskaUint"},CueTrackPositions:{tag:183,required:!0,CueTrack:{tag:247,required:!0,parse:"getMatroskaUint"},CueClusterPosition:{tag:241,required:!0,parse:"getMatroskaUint"}}}}},Void:{tag:236,required:!0}}}function b(){B=(0,q.default)(r).getInstance(),E=(0,x.default)(r).create({errHandler:A,metricsModel:C,mediaPlayerModel:D,requestModifier:B})}function c(a){if(!(a.baseURLController&&a.metricsModel&&a.mediaPlayerModel&&a.errHandler))throw new Error("Missing config parameter(s)");F=a.baseURLController,C=a.metricsModel,D=a.mediaPlayerModel,A=a.errHandler}function d(a){var b=[],c=void 0,d=void 0,e=(0,k.default)(r).create({data:a});for(e.consumeTagAndSize(z.Segment.Cues);e.moreData()&&e.consumeTagAndSize(z.Segment.Cues.CuePoint,!0);){for(c={},c.CueTime=e.parseTag(z.Segment.Cues.CuePoint.CueTime),c.CueTracks=[];e.moreData()&&e.consumeTag(z.Segment.Cues.CuePoint.CueTrackPositions,!0);){var f=e.getMatroskaCodedNum(),g=e.getPos();if(d={},d.Track=e.parseTag(z.Segment.Cues.CuePoint.CueTrackPositions.CueTrack),0===d.Track)throw new Error("Cue track cannot be 0");d.ClusterPosition=e.parseTag(z.Segment.Cues.CuePoint.CueTrackPositions.CueClusterPosition),c.CueTracks.push(d),e.setPos(g+f)}if(0===c.CueTracks.length)throw new Error("Mandatory cuetrack not found");b.push(c)}if(0===b.length)throw new Error("mandatory cuepoint not found");return b}function e(a,b,c,e){var f=void 0,g=void 0,h=void 0,i=void 0,j=void 0,k=void 0,l=void 0,m=void 0;for(g=d(a),h=[],j=0,k=g.length;j<k;j+=1)i=new s.default,f=0,f=j<g.length-1?g[j+1].CueTime-g[j].CueTime:e-g[j].CueTime,i.duration=f,i.startTime=g[j].CueTime,i.timescale=1e3,l=g[j].CueTracks[0].ClusterPosition+b,m=j<g.length-1?g[j+1].CueTracks[0].ClusterPosition+b-1:c-1,i.mediaRange=l+"-"+m,h.push(i);return u("Parsed cues: "+h.length+" cues."),h}function f(a,b,c,d){var f=(0,k.default)(r).create({data:a}),g=void 0,h=void 0,i=c.split("-"),j=null,l={url:b,range:{start:parseFloat(i[0]),end:parseFloat(i[1])},request:j},m=void 0,o=void 0;for(u("Parse EBML header: "+l.url),f.skipOverElement(z.EBML),f.consumeTag(z.Segment),m=f.getMatroskaCodedNum(),m+=f.getPos(),o=f.getPos();f.moreData()&&!f.consumeTagAndSize(z.Segment.Info,!0);)if(!(f.skipOverElement(z.Segment.SeekHead,!0)||f.skipOverElement(z.Segment.Tracks,!0)||f.skipOverElement(z.Segment.Cues,!0)||f.skipOverElement(z.Void,!0)))throw new Error("no valid top level element found");for(;void 0===g;){var p=f.getMatroskaCodedNum(!0),q=f.getMatroskaCodedNum();switch(p){case z.Segment.Info.Duration.tag:g=f[z.Segment.Info.Duration.parse](q);break;default:f.setPos(f.getPos()+q)}}j=n(l);var s=function(a){h=e(a,o,m,g),d(h)},t=function(){u("Download Error: Cues "+l.url),d(null)};E.load({request:j,success:s,error:t}),u("Perform cues load: "+l.url+" bytes="+l.range.start+"-"+l.range.end)}function h(){if(!F||!F.hasOwnProperty("resolve"))throw new Error("setConfig function has to be called previously")}function j(a,b){h();var c=null,d=F.resolve(a.path),e=d?d.url:void 0,f=a.range.split("-"),i=b||{range:{start:parseFloat(f[0]),end:parseFloat(f[1])},request:c,url:e,init:!0};u("Start loading initialization."),c=n(i);var j=function(){w.trigger(g.default.INITIALIZATION_LOADED,{representation:a})},k=function(){w.trigger(g.default.INITIALIZATION_LOADED,{representation:a})};E.load({request:c,success:j,error:k}),u("Perform init load: "+i.url)}function l(a,b,c,d){h();var e=null,g=F.resolve(a.path),i=g?g.url:void 0,j=8192,k={bytesLoaded:0,bytesToLoad:j,range:{start:0,end:j},request:e,url:i,init:!1};d=d||m,e=n(k),u("Parsing ebml header");var l=function(e){f(e,i,c,function(c){d(c,a,b)})},o=function(){d(null,a,b)};E.load({request:e,success:l,error:o})}function m(a,b,c){a?w.trigger(g.default.SEGMENTS_LOADED,{segments:a,representation:b,mediaType:c}):w.trigger(g.default.SEGMENTS_LOADED,{segments:null,representation:b,mediaType:c,error:new Error(null,"error loading segments",null)})}function n(a){var b=new v.default;return b.type=a.init?t.HTTPRequest.INIT_SEGMENT_TYPE:t.HTTPRequest.MEDIA_SEGMENT_TYPE,b.url=a.url,b.range=a.range.start+"-"+a.range.end,b}function p(){A=null,B=null,u=null}var r=this.context,u=(0,o.default)(r).getInstance().log,w=(0,i.default)(r).getInstance(),y=void 0,z=void 0,A=void 0,B=void 0,C=void 0,D=void 0,E=void 0,F=void 0;return y={setConfig:c,initialize:b,loadInitialization:j,loadSegments:l,reset:p},a(),y}Object.defineProperty(c,"__esModule",{value:!0});var f=a(49),g=d(f),h=a(45),i=d(h),j=a(149),k=d(j),l=a(46),m=d(l),n=a(44),o=d(n),p=a(155),q=d(p),r=a(85),s=d(r),t=a(182),u=a(164),v=d(u),w=a(120),x=d(w);e.__dashjs_factory_name="WebmSegmentBaseLoader",c.default=m.default.getSingletonFactory(e),b.exports=c.default},{120:120,149:149,155:155,164:164,182:182,44:44,45:45,46:46,49:49,85:85}],56:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(){d(this,a),this.init()}return e(a,[{key:"init",value:function(){this.BASE_URL="BaseURL",this.SEGMENT_BASE="SegmentBase",this.SEGMENT_TEMPLATE="SegmentTemplate",this.SEGMENT_LIST="SegmentList",this.SEGMENT_URL="SegmentURL",this.SEGMENT_TIMELINE="SegmentTimeline",this.SEGMENT_PROFILES="segmentProfiles",this.ADAPTATION_SET="AdaptationSet",this.REPRESENTATION="Representation",this.REPRESENTATION_INDEX="RepresentationIndex",this.SUB_REPRESENTATION="SubRepresentation",this.INITIALIZATION="Initialization",this.INITIALIZATION_MINUS="initialization",this.MPD="MPD",this.PERIOD="Period",this.ASSET_IDENTIFIER="AssetIdentifier",this.EVENT_STREAM="EventStream",this.ID="id",this.PROFILES="profiles",this.SERVICE_LOCATION="serviceLocation",this.RANGE="range",this.INDEX="index",this.MEDIA="media",this.BYTE_RANGE="byteRange",this.INDEX_RANGE="indexRange",this.MEDIA_RANGE="mediaRange",this.VALUE="value",this.CONTENT_TYPE="contentType",this.MIME_TYPE="mimeType",this.BITSTREAM_SWITCHING="BitstreamSwitching",this.BITSTREAM_SWITCHING_MINUS="bitstreamSwitching",this.CODECS="codecs",this.DEPENDENCY_ID="dependencyId",this.MEDIA_STREAM_STRUCTURE_ID="mediaStreamStructureId",this.METRICS="Metrics",this.METRICS_MINUS="metrics",this.REPORTING="Reporting",this.WIDTH="width",this.HEIGHT="height",this.SAR="sar",this.FRAMERATE="frameRate",this.AUDIO_SAMPLING_RATE="audioSamplingRate",this.MAXIMUM_SAP_PERIOD="maximumSAPPeriod",this.START_WITH_SAP="startWithSAP",this.MAX_PLAYOUT_RATE="maxPlayoutRate",this.CODING_DEPENDENCY="codingDependency",this.SCAN_TYPE="scanType",this.FRAME_PACKING="FramePacking",this.AUDIO_CHANNEL_CONFIGURATION="AudioChannelConfiguration",this.CONTENT_PROTECTION="ContentProtection",this.ESSENTIAL_PROPERTY="EssentialProperty",this.SUPPLEMENTAL_PROPERTY="SupplementalProperty",this.INBAND_EVENT_STREAM="InbandEventStream",this.ACCESSIBILITY="Accessibility",this.ROLE="Role",this.RATING="Rating",this.CONTENT_COMPONENT="ContentComponent",this.SUBSET="Subset",this.LANG="lang",this.VIEWPOINT="Viewpoint",this.ROLE_ASARRAY="Role_asArray",this.ACCESSIBILITY_ASARRAY="Accessibility_asArray",this.AUDIOCHANNELCONFIGURATION_ASARRAY="AudioChannelConfiguration_asArray",this.CONTENTPROTECTION_ASARRAY="ContentProtection_asArray",this.MAIN="main",this.DYNAMIC="dynamic",this.MEDIA_PRESENTATION_DURATION="mediaPresentationDuration",this.MINIMUM_UPDATE_PERIOD="minimumUpdatePeriod",this.CODEC_PRIVATE_DATA="codecPrivateData",this.BANDWITH="bandwidth",this.SOURCE_URL="sourceURL",this.TIMESCALE="timescale",this.DURATION="duration",this.START_NUMBER="startNumber",this.PRESENTATION_TIME_OFFSET="presentationTimeOffset",this.AVAILABILITY_START_TIME="availabilityStartTime",this.AVAILABILITY_END_TIME="availabilityEndTime",this.TIMESHIFT_BUFFER_DEPTH="timeShiftBufferDepth",this.MAX_SEGMENT_DURATION="maxSegmentDuration",this.PRESENTATION_TIME="presentationTime",this.MIN_BUFFER_TIME="minBufferTime",this.MAX_SUBSEGMENT_DURATION="maxSubsegmentDuration",this.START="start",this.AVAILABILITY_TIME_OFFSET="availabilityTimeOffset",this.AVAILABILITY_TIME_COMPLETE="availabilityTimeComplete",this.CENC_DEFAULT_KID="cenc:default_KID",this.DVB_PRIORITY="dvb:priority",this.DVB_WEIGHT="dvb:weight"}}]),a}(),g=new f;c.default=g,b.exports=c.default},{}],57:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){l(),H.on(o.default.QUALITY_CHANGE_REQUESTED,D,I),H.on(o.default.REPRESENTATION_UPDATED,A,I),H.on(o.default.WALLCLOCK_TIME_UPDATED,B,I),H.on(o.default.BUFFER_LEVEL_UPDATED,C,I),H.on(o.default.MANIFEST_VALIDITY_CHANGED,E,I)}function b(a){a.abrController&&(O=a.abrController),a.domStorage&&(S=a.domStorage),a.metricsModel&&(R=a.metricsModel),a.dashMetrics&&(V=a.dashMetrics),a.dashManifestModel&&(U=a.dashManifestModel),a.playbackController&&(Q=a.playbackController),a.timelineConverter&&(T=a.timelineConverter),a.manifestModel&&(X=a.manifestModel),a.streamProcessor&&(W=a.streamProcessor)}function c(){P=W.getIndexHandler()}function d(){return W}function e(){return J}function f(){return K}function h(){return L}function j(){return N}function l(){J=null,K=-1,L=!0,M=[],O=null,Q=null,R=null,S=null,T=null,U=null,V=null}function n(){H.off(o.default.QUALITY_CHANGE_REQUESTED,D,I),H.off(o.default.REPRESENTATION_UPDATED,A,I),H.off(o.default.WALLCLOCK_TIME_UPDATED,B,I),H.off(o.default.BUFFER_LEVEL_UPDATED,C,I),H.off(o.default.MANIFEST_VALIDITY_CHANGED,E,I),l()}function p(a,b,c){var d=W.getStreamInfo(),e=O.getTopQualityIndexFor(c,d.id),f=O.getMinAllowedIndexFor(c),h=void 0,i=void 0,j=null;if(L=!0,H.trigger(o.default.DATA_UPDATE_STARTED,{sender:this}),M=w(b),null!==J&&J.id==a.id||c===g.default.FRAGMENTED_TEXT?h=O.getQualityFor(c,d):(i=O.getThroughputHistory().getAverageThroughput(c),j=i||O.getInitialBitrateFor(c,d),h=O.getQualityForBitrate(W.getMediaInfo(),j)),void 0!==f&&h<f&&(h=f),h>e&&(h=e),N=t(h),J=a,c!==g.default.VIDEO&&c!==g.default.AUDIO&&c!==g.default.FRAGMENTED_TEXT)return L=!1,void H.trigger(o.default.DATA_UPDATE_COMPLETED,{sender:this,data:J,currentRepresentation:N});for(var k=0;k<M.length;k++)P.updateRepresentation(M[k],!0)}function q(){var a=new Date,b=j(),c=1e3*Q.getTime();R.addRepresentationSwitch(b.adaptation.type,a,c,b.id)}function r(){var a=W.getStreamInfo(),b=a?a.manifestInfo:null,c=b?b.isDynamic:null,d=T.calcSegmentAvailabilityRange(N,c);R.addDVRInfo(W.getType(),Q.getTime(),b,d)}function t(a){return M[a]}function u(a){return M.indexOf(a)}function v(){for(var a=0,b=M.length;a<b;a++){var c=M[a].segmentInfoType;if(null===M[a].segmentAvailabilityRange||!s.default.hasInitialization(M[a])||(c===i.default.SEGMENT_BASE||c===i.default.BASE_URL)&&!M[a].segments)return!1}return!0}function w(a){return K=U.getIndexForAdaptation(J,a.period.mpd.manifest,a.period.index),U.getRepresentationsForAdaptation(a)}function x(a){for(var b=void 0,c=0,d=M.length;c<d;c++)b=M[c],b.segmentAvailabilityRange=T.calcSegmentAvailabilityRange(b,a)}function y(){M.forEach(function(a){a.segmentAvailabilityRange=null})}function z(a){var b=a,c=function(){if(!h()){L=!0,H.trigger(o.default.DATA_UPDATE_STARTED,{sender:I}),y();for(var a=0;a<M.length;a++)P.updateRepresentation(M[a],!0)}};L=!1,H.trigger(o.default.AST_IN_FUTURE,{delay:b}),setTimeout(c,b)}function A(a){if(a.sender.getStreamProcessor()===W&&h()){var b=a.representation,c=R.getMetricsFor(g.default.STREAM),d=R.getMetricsFor(j().adaptation.type),e=V.getCurrentManifestUpdate(c),f=!1,l=0,m=void 0,n=void 0,p=void 0;if(b.adaptation.period.mpd.manifest.type===i.default.DYNAMIC&&!b.adaptation.period.mpd.manifest.ignorePostponeTimePeriod){var s=b.segmentAvailabilityRange.end-b.segmentAvailabilityRange.start;l=1e3*(Q.computeLiveDelay(N.segmentDuration,W.getStreamInfo().manifestInfo.DVRWindowSize)-s)}if(l>0)return r(),z(l),n=new k.default(F,"Segments update failed",null),void H.trigger(o.default.DATA_UPDATE_COMPLETED,{sender:this,data:J,currentRepresentation:N,error:n});if(e){for(var t=0;t<e.representationInfo.length;t++)if(m=e.representationInfo[t],m.index===b.index&&m.mediaType===W.getType()){f=!0;break}f||R.addManifestUpdateRepresentationInfo(e,b.id,b.index,b.adaptation.period.index,W.getType(),b.presentationTimeOffset,b.startNumber,b.segmentInfoType)}v()&&(L=!1,O.setPlaybackQuality(W.getType(),W.getStreamInfo(),u(N)),R.updateManifestUpdateInfo(e,{latency:N.segmentAvailabilityRange.end-Q.getTime()}),p=V.getCurrentRepresentationSwitch(d),p||q(),H.trigger(o.default.DATA_UPDATE_COMPLETED,{sender:this,data:J,currentRepresentation:N}))}}function B(a){a.isDynamic&&x(a.isDynamic)}function C(a){if(a.sender.getStreamProcessor()===W){X.getValue().doNotUpdateDVRWindowOnBufferUpdated||r()}}function D(a){if(a.mediaType===W.getType()&&W.getStreamInfo().id===a.streamInfo.id&&a.oldQuality!==a.newQuality){N=t(a.newQuality);var b=O.getThroughputHistory().getAverageThroughput(a.mediaType);isNaN(b)||S.setSavedBitrateSettings(a.mediaType,b),q()}}function E(a){if(a.newDuration){var b=j();if(b&&b.adaptation.period){b.adaptation.period.duration=a.newDuration}}}var F=1,G=this.context,H=(0,m.default)(G).getInstance(),I=void 0,J=void 0,K=void 0,L=void 0,M=void 0,N=void 0,O=void 0,P=void 0,Q=void 0,R=void 0,S=void 0,T=void 0,U=void 0,V=void 0,W=void 0,X=void 0;return I={initialize:c,setConfig:b,getData:e,getDataIndex:f,isUpdating:h,updateData:p,getStreamProcessor:d,getCurrentRepresentation:j,getRepresentationForQuality:t,reset:n},a(),I}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(56),i=d(h),j=a(162),k=d(j),l=a(45),m=d(l),n=a(49),o=d(n),p=a(46),q=d(p),r=a(84),s=d(r);e.__dashjs_factory_name="RepresentationController",c.default=q.default.getClassFactory(e),b.exports=c.default},{162:162,45:45,46:46,49:49,56:56,84:84,97:97}],58:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a,b){var c=void 0,d=void 0,e=void 0,f=void 0,h=void 0,j=void 0,k=!1,l=!1;if(!a)throw new Error("adaptation is not defined");if(!b)throw new Error("type is not defined");if(a.hasOwnProperty("ContentComponent_asArray")&&(f=a.ContentComponent_asArray),h=b!==g.default.TEXT?new RegExp(b):new RegExp("(vtt|ttml)"),a.Representation_asArray&&a.Representation_asArray.length&&a.Representation_asArray.length>0&&a.Representation_asArray[0].hasOwnProperty(i.default.CODECS)&&(j=a.Representation_asArray[0].codecs,0===j.search(g.default.STPP)||0===j.search(g.default.WVTT)))return b===g.default.FRAGMENTED_TEXT;if(f){if(f.length>1)return b===g.default.MUXED;f[0]&&f[0].contentType===b&&(k=!0,l=!0)}if(a.hasOwnProperty(i.default.MIME_TYPE)&&(k=h.test(a.mimeType),l=!0),!l)for(c=0,d=a.Representation_asArray&&a.Representation_asArray.length?a.Representation_asArray.length:0;!l&&c<d;)e=a.Representation_asArray[c],e.hasOwnProperty(i.default.MIME_TYPE)&&(k=h.test(e.mimeType),l=!0),c++;return k}function c(a){return b(a,g.default.AUDIO)}function d(a){return b(a,g.default.VIDEO)}function e(a){return b(a,g.default.FRAGMENTED_TEXT)}function f(a){return b(a,g.default.TEXT)}function h(a){return b(a,g.default.MUXED)}function j(a){return b(a,g.default.IMAGE)}function l(a){return"text/vtt"===a||"application/ttml+xml"===a}function n(a){var b="";return a&&a.hasOwnProperty(i.default.LANG)&&(b=a.lang.replace(/[^A-Za-z0-9-]/g,"")),b}function p(a){return a&&a.hasOwnProperty(i.default.VIEWPOINT)?a.Viewpoint:null}function r(a){return a&&a.hasOwnProperty(i.default.ROLE_ASARRAY)?a.Role_asArray:[]}function t(a){return a&&a.hasOwnProperty(i.default.ACCESSIBILITY_ASARRAY)?a.Accessibility_asArray:[]}function v(a){return a&&a.hasOwnProperty(i.default.AUDIOCHANNELCONFIGURATION_ASARRAY)?a.AudioChannelConfiguration_asArray:[]}function x(a){return r(a).filter(function(a){return a.value===i.default.MAIN})[0]}function z(){return function(a,b){return a.bandwidth-b.bandwidth}}function B(a){return a&&void 0!==a.Representation_asArray&&null!==a.Representation_asArray&&a.Representation_asArray.sort(z()),a}function D(a,b,c){var d=b&&b.Period_asArray&&qa(c)&&b.Period_asArray[c]?b.Period_asArray[c].AdaptationSet_asArray:[],e=void 0,f=void 0;for(e=0,f=d.length;e<f;e++)if(d[e].hasOwnProperty(i.default.ID)&&d[e].id===a)return d[e];return null}function E(a,b,c){var d=b&&b.Period_asArray&&qa(c)&&b.Period_asArray[c]?b.Period_asArray[c].AdaptationSet_asArray:null;return d&&qa(a)?d[a]:null}function F(a,b,c){var d=b&&b.Period_asArray&&qa(c)&&b.Period_asArray[c]?b.Period_asArray[c].AdaptationSet_asArray:[],e=d.length;if(a)for(var f=0;f<e;f++){var g=(0,A.default)(ka).getInstance();if(g.areEqual(d[f],a))return f}return-1}function G(a,c,d){var e=a&&a.Period_asArray&&qa(c)&&a.Period_asArray[c]?a.Period_asArray[c].AdaptationSet_asArray:[],f=void 0,g=void 0,h=[];for(f=0,g=e.length;f<g;f++)b(e[f],d)&&h.push(B(e[f]));return h}function H(a,b,c,d){var e=G(a,b,c);if(!e||0===e.length)return null;if(e.length>1&&d){var f=ma.getCurrentTrackFor(c,d),g=oa.getAllMediaInfoForType(d,c);if(f)for(var h=0,i=e.length;h<i;h++)if(ma.isTracksEqual(f,g[h]))return e[h];for(var h=0,i=e.length;h<i;h++)if(x(e[h]))return e[h]}return e[0]}function I(a,b,c){if(a&&a.Representation_asArray&&a.Representation_asArray.length>0){var d=qa(b)&&b>=0&&b<a.Representation_asArray.length?a.Representation_asArray[b]:a.Representation_asArray[0],e=d.mimeType+';codecs="'+d.codecs+'"';return c&&void 0!==d.width&&(e+=';width="'+d.width+'";height="'+d.height+'"'),e}return null}function J(a){return a&&a.Representation_asArray&&a.Representation_asArray.length>0?a.Representation_asArray[0].mimeType:null}function K(a){return a&&a.hasOwnProperty(i.default.CENC_DEFAULT_KID)?a[i.default.CENC_DEFAULT_KID]:null}function L(a){return a&&a.hasOwnProperty(i.default.CONTENTPROTECTION_ASARRAY)&&0!==a.ContentProtection_asArray.length?a.ContentProtection_asArray:null}function M(a){var b=!1;return a&&a.hasOwnProperty("type")&&(b=a.type===i.default.DYNAMIC),b}function N(a,b){var c=!1;return a&&a.profiles&&a.profiles.length>0&&(c=-1!==a.profiles.indexOf(b)),c}function O(a){return N(a,pa)}function P(a){return a&&a.hasOwnProperty(i.default.MEDIA_PRESENTATION_DURATION)?a.mediaPresentationDuration:Number.MAX_SAFE_INTEGER||Number.MAX_VALUE}function Q(a){return a&&a.bandwidth?a.bandwidth:NaN}function R(a){var b=arguments.length<=1||void 0===arguments[1]?0:arguments[1],c=NaN;return a&&a.hasOwnProperty(i.default.MINIMUM_UPDATE_PERIOD)&&(c=a.minimumUpdatePeriod),isNaN(c)?c:Math.max(c-b,1)}function S(a){return a&&a.Representation_asArray&&a.Representation_asArray.length?a.Representation_asArray.length:0}function T(a){return a&&a.Representation_asArray&&a.Representation_asArray.length?B(a).Representation_asArray.map(function(a){return{bandwidth:a.bandwidth,width:a.width||0,height:a.height||0,scanType:a.scanType||null}}):null}function U(a){return a&&a.EssentialProperty_asArray&&a.EssentialProperty_asArray.length?a.EssentialProperty_asArray.map(function(a){return{schemeIdUri:a.schemeIdUri,value:a.value}}):null}function V(a,b){return b&&b.Representation_asArray&&b.Representation_asArray.length>0&&qa(a)?b.Representation_asArray[a]:null}function W(a){if(a&&a.period&&qa(a.period.index)){var b=a.period.mpd.manifest.Period_asArray[a.period.index];if(b&&b.AdaptationSet_asArray&&qa(a.index))return B(b.AdaptationSet_asArray[a.index])}}function X(a){var b=a.S_asArray[a.S_asArray.length-1];return!b.hasOwnProperty("r")||b.r>=0}function Y(a){var b=W(a).Representation_asArray[0],c=void 0;return b.hasOwnProperty(i.default.SEGMENT_LIST)?(c=b.SegmentList,!c.hasOwnProperty(i.default.SEGMENT_TIMELINE)||X(c.SegmentTimeline)):!(!b.hasOwnProperty(i.default.SEGMENT_TEMPLATE)||(c=b.SegmentTemplate,!c.hasOwnProperty(i.default.SEGMENT_TIMELINE)))&&X(c.SegmentTimeline)}function Z(a){var b=[],c=W(a),d=void 0,e=void 0;if(a&&a.period&&qa(a.period.index)){var f=ia(a.period.mpd.manifest);f&&(e=f[0])}if(c&&c.Representation_asArray)for(var g=0,h=c.Representation_asArray.length;g<h;++g){var j=c.Representation_asArray[g],m=new k.default;if(m.index=g,m.adaptation=a,j.hasOwnProperty(i.default.ID)&&(m.id=j.id),j.hasOwnProperty(i.default.CODECS)&&(m.codecs=j.codecs),j.hasOwnProperty(i.default.CODEC_PRIVATE_DATA)&&(m.codecPrivateData=j.codecPrivateData),j.hasOwnProperty(i.default.BANDWITH)&&(m.bandwidth=j.bandwidth),j.hasOwnProperty(i.default.WIDTH)&&(m.width=j.width),j.hasOwnProperty(i.default.HEIGHT)&&(m.height=j.height),j.hasOwnProperty(i.default.SCAN_TYPE)&&(m.scanType=j.scanType),j.hasOwnProperty(i.default.MAX_PLAYOUT_RATE)&&(m.maxPlayoutRate=j.maxPlayoutRate),j.hasOwnProperty(i.default.SEGMENT_BASE)?(d=j.SegmentBase,m.segmentInfoType=i.default.SEGMENT_BASE):j.hasOwnProperty(i.default.SEGMENT_LIST)?(d=j.SegmentList,d.hasOwnProperty(i.default.SEGMENT_TIMELINE)?(m.segmentInfoType=i.default.SEGMENT_TIMELINE,m.useCalculatedLiveEdgeTime=X(d.SegmentTimeline)):(m.segmentInfoType=i.default.SEGMENT_LIST,m.useCalculatedLiveEdgeTime=!0)):j.hasOwnProperty(i.default.SEGMENT_TEMPLATE)?(d=j.SegmentTemplate,d.hasOwnProperty(i.default.SEGMENT_TIMELINE)?(m.segmentInfoType=i.default.SEGMENT_TIMELINE,m.useCalculatedLiveEdgeTime=X(d.SegmentTimeline)):m.segmentInfoType=i.default.SEGMENT_TEMPLATE,d.hasOwnProperty(i.default.INITIALIZATION_MINUS)&&(m.initialization=d.initialization.split("$Bandwidth$").join(j.bandwidth).split("$RepresentationID$").join(j.id))):m.segmentInfoType=i.default.BASE_URL,m.essentialProperties=U(j),d){if(d.hasOwnProperty(i.default.INITIALIZATION)){var n=d.Initialization;n.hasOwnProperty(i.default.SOURCE_URL)?m.initialization=n.sourceURL:n.hasOwnProperty(i.default.RANGE)&&(m.range=n.range)}else j.hasOwnProperty(i.default.MIME_TYPE)&&l(j.mimeType)&&(m.range=0);d.hasOwnProperty(i.default.TIMESCALE)&&(m.timescale=d.timescale),d.hasOwnProperty(i.default.DURATION)&&(m.segmentDuration=d.duration/m.timescale),d.hasOwnProperty(i.default.MEDIA)&&(m.media=d.media),d.hasOwnProperty(i.default.START_NUMBER)&&(m.startNumber=d.startNumber),d.hasOwnProperty(i.default.INDEX_RANGE)&&(m.indexRange=d.indexRange),d.hasOwnProperty(i.default.PRESENTATION_TIME_OFFSET)&&(m.presentationTimeOffset=d.presentationTimeOffset/m.timescale),d.hasOwnProperty(i.default.AVAILABILITY_TIME_OFFSET)?m.availabilityTimeOffset=d.availabilityTimeOffset:e&&void 0!==e.availabilityTimeOffset&&(m.availabilityTimeOffset=e.availabilityTimeOffset),d.hasOwnProperty(i.default.AVAILABILITY_TIME_COMPLETE)?m.availabilityTimeComplete="false"!==d.availabilityTimeComplete:e&&void 0!==e.availabilityTimeComplete&&(m.availabilityTimeComplete=e.availabilityTimeComplete)}m.MSETimeOffset=na.calcMSETimeOffset(m),m.path=[a.period.index,a.index,g],b.push(m)}return b}function $(a){var b=a&&qa(a.index)?a.mpd.manifest.Period_asArray[a.index]:null,f=[],k=void 0,l=void 0,n=void 0;if(b&&b.AdaptationSet_asArray)for(n=0;n<b.AdaptationSet_asArray.length;n++)l=b.AdaptationSet_asArray[n],k=new m.default,l.hasOwnProperty(i.default.ID)&&(k.id=l.id),k.index=n,k.period=a,h(l)?k.type=g.default.MUXED:c(l)?k.type=g.default.AUDIO:d(l)?k.type=g.default.VIDEO:e(l)?k.type=g.default.FRAGMENTED_TEXT:j(l)?k.type=g.default.IMAGE:k.type=g.default.TEXT,f.push(k);return f}function _(a){var b=!!a&&M(a.manifest),c=[],d=null,e=null,f=null,g=null,h=void 0,j=void 0;for(j=0,h=a&&a.manifest&&a.manifest.Period_asArray?a.manifest.Period_asArray.length:0;j<h;j++)e=a.manifest.Period_asArray[j],e.hasOwnProperty(i.default.START)?(g=new o.default,g.start=e.start):null!==d&&e.hasOwnProperty(i.default.DURATION)&&null!==f?(g=new o.default,g.start=parseFloat((f.start+f.duration).toFixed(5)),g.duration=e.duration):0!==j||b||(g=new o.default,g.start=0),null!==f&&isNaN(f.duration)&&(f.duration=parseFloat((g.start-f.start).toFixed(5))),null!==g&&(g.id=aa(e,j)),null!==g&&e.hasOwnProperty(i.default.DURATION)&&(g.duration=e.duration),null!==g&&(g.index=j,g.mpd=a,c.push(g),d=e,f=g),e=null,g=null;return 0===c.length?c:(null!==f&&isNaN(f.duration)&&(f.duration=parseFloat((ca(f)-f.start).toFixed(5))),c)}function aa(a,b){if(!a)throw new Error("Period cannot be null or undefined");var c=o.default.DEFAULT_ID+"_"+b;return a.hasOwnProperty(i.default.ID)&&a.id.length>0&&"__proto__"!==a.id&&(c=a.id),c}function ba(a){var b=new q.default;return a&&(b.manifest=a,a.hasOwnProperty(i.default.AVAILABILITY_START_TIME)?b.availabilityStartTime=new Date(a.availabilityStartTime.getTime()):b.availabilityStartTime=new Date(a.loadedTime.getTime()),a.hasOwnProperty(i.default.AVAILABILITY_END_TIME)&&(b.availabilityEndTime=new Date(a.availabilityEndTime.getTime())),a.hasOwnProperty(i.default.MINIMUM_UPDATE_PERIOD)&&(b.minimumUpdatePeriod=a.minimumUpdatePeriod),a.hasOwnProperty(i.default.MEDIA_PRESENTATION_DURATION)&&(b.mediaPresentationDuration=a.mediaPresentationDuration),a.hasOwnProperty(g.default.SUGGESTED_PRESENTATION_DELAY)&&(b.suggestedPresentationDelay=a.suggestedPresentationDelay),a.hasOwnProperty(i.default.TIMESHIFT_BUFFER_DEPTH)&&(b.timeShiftBufferDepth=a.timeShiftBufferDepth),a.hasOwnProperty(i.default.MAX_SEGMENT_DURATION)&&(b.maxSegmentDuration=a.maxSegmentDuration)),b}function ca(a){var b=M(a.mpd.manifest),c=void 0;if(a.mpd.manifest.mediaPresentationDuration)c=a.mpd.manifest.mediaPresentationDuration;else if(a.duration)c=a.duration;else{if(!b)throw new Error("Must have @mediaPresentationDuration on MPD or an explicit @duration on the last period.");c=Number.POSITIVE_INFINITY}return c}function da(a){var b=a&&a.mpd&&a.mpd.manifest?a.mpd.manifest:null,c=b?b.Period_asArray:null,d=c&&a&&qa(a.index)?c[a.index].EventStream_asArray:null,e=[],f=void 0,h=void 0;if(d)for(f=0;f<d.length;f++){var j=new y.default;if(j.period=a,j.timescale=1,!d[f].hasOwnProperty(g.default.SCHEME_ID_URI))throw new Error("Invalid EventStream. SchemeIdUri has to be set");for(j.schemeIdUri=d[f].schemeIdUri,d[f].hasOwnProperty(i.default.TIMESCALE)&&(j.timescale=d[f].timescale),d[f].hasOwnProperty(i.default.VALUE)&&(j.value=d[f].value),h=0;h<d[f].Event_asArray.length;h++){var k=new u.default;k.presentationTime=0,k.eventStream=j,d[f].Event_asArray[h].hasOwnProperty(i.default.PRESENTATION_TIME)&&(k.presentationTime=d[f].Event_asArray[h].presentationTime),d[f].Event_asArray[h].hasOwnProperty(i.default.DURATION)&&(k.duration=d[f].Event_asArray[h].duration),d[f].Event_asArray[h].hasOwnProperty(i.default.ID)&&(k.id=d[f].Event_asArray[h].id),e.push(k)}}return e}function ea(a,b){var c=[],d=void 0;if(!a)return c;for(d=0;d<a.length;d++){var e=new y.default;if(e.timescale=1,e.representation=b,!a[d].hasOwnProperty(g.default.SCHEME_ID_URI))throw new Error("Invalid EventStream. SchemeIdUri has to be set");e.schemeIdUri=a[d].schemeIdUri,a[d].hasOwnProperty(i.default.TIMESCALE)&&(e.timescale=a[d].timescale),
20
- a[d].hasOwnProperty(i.default.VALUE)&&(e.value=a[d].value),c.push(e)}return c}function fa(a,b){var c=void 0,d=void 0,e=void 0;return a&&a.Period_asArray&&b&&b.period&&qa(b.period.index)&&(d=a.Period_asArray[b.period.index])&&d.AdaptationSet_asArray&&qa(b.index)&&(e=d.AdaptationSet_asArray[b.index])&&(c=e.InbandEventStream_asArray),ea(c,null)}function ga(a,b){var c=void 0,d=void 0,e=void 0,f=void 0;return a&&a.Period_asArray&&b&&b.adaptation&&b.adaptation.period&&qa(b.adaptation.period.index)&&(d=a.Period_asArray[b.adaptation.period.index])&&d.AdaptationSet_asArray&&qa(b.adaptation.index)&&(e=d.AdaptationSet_asArray[b.adaptation.index])&&e.Representation_asArray&&qa(b.index)&&(f=e.Representation_asArray[b.index])&&(c=f.InbandEventStream_asArray),ea(c,b)}function ha(a){var b=M(a),c=!!a&&a.hasOwnProperty(i.default.AVAILABILITY_START_TIME),d=a?a.UTCTiming_asArray:null,e=[];return(b||c)&&d&&d.forEach(function(a){var b=new s.default;a.hasOwnProperty(g.default.SCHEME_ID_URI)&&(b.schemeIdUri=a.schemeIdUri,a.hasOwnProperty(i.default.VALUE)&&(b.value=a.value.toString(),e.push(b)))}),e}function ia(a){var b=[],c=a.BaseURL_asArray||[a.baseUri],d=!1;return c.some(function(c){if(c){var e=new w.default,f=c.__text||c;return la.isRelative(f)&&(d=!0,a.baseUri&&(f=la.resolve(f,a.baseUri))),e.url=f,c.hasOwnProperty(i.default.SERVICE_LOCATION)&&c.serviceLocation.length?e.serviceLocation=c.serviceLocation:e.serviceLocation=f,c.hasOwnProperty(i.default.DVB_PRIORITY)&&(e.dvb_priority=c[i.default.DVB_PRIORITY]),c.hasOwnProperty(i.default.DVB_WEIGHT)&&(e.dvb_weight=c[i.default.DVB_WEIGHT]),c.hasOwnProperty(i.default.AVAILABILITY_TIME_OFFSET)&&(e.availabilityTimeOffset=c[i.default.AVAILABILITY_TIME_OFFSET]),c.hasOwnProperty(i.default.AVAILABILITY_TIME_COMPLETE)&&(e.availabilityTimeComplete="false"!==c[i.default.AVAILABILITY_TIME_COMPLETE]),b.push(e),d}}),b}function ja(a){if(a&&a.hasOwnProperty(g.default.LOCATION))return a.Location=a.Location_asArray[0],a.Location}a=a||{};var ka=this.context,la=(0,C.default)(ka).getInstance(),ma=a.mediaController,na=a.timelineConverter,oa=a.adapter,pa="urn:dvb:dash:profile:dvb-dash:2014",qa=Number.isInteger||function(a){return"number"==typeof a&&isFinite(a)&&Math.floor(a)===a};return{getIsTypeOf:b,getIsAudio:c,getIsVideo:d,getIsText:f,getIsMuxed:h,getIsTextTrack:l,getIsFragmentedText:e,getIsImage:j,getIsMain:x,getLanguageForAdaptation:n,getViewpointForAdaptation:p,getRolesForAdaptation:r,getAccessibilityForAdaptation:t,getAudioChannelConfigurationForAdaptation:v,getAdaptationForIndex:E,getIndexForAdaptation:F,getAdaptationForId:D,getAdaptationsForType:G,getAdaptationForType:H,getCodec:I,getMimeType:J,getKID:K,getContentProtectionData:L,getIsDynamic:M,getIsDVB:O,getDuration:P,getBandwidth:Q,getManifestUpdatePeriod:R,getRepresentationCount:S,getBitrateListForAdaptation:T,getRepresentationFor:V,getRepresentationsForAdaptation:Z,getAdaptationsForPeriod:$,getRegularPeriods:_,getMpd:ba,getEventsForPeriod:da,getEventStreamForAdaptationSet:fa,getEventStreamForRepresentation:ga,getUTCTimingSources:ha,getBaseURLsFromElement:ia,getRepresentationSortFunction:z,getLocation:ja,getUseCalculatedLiveEdgeTimeForAdaptation:Y}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(56),i=d(h),j=a(84),k=d(j),l=a(78),m=d(l),n=a(83),o=d(n),p=a(82),q=d(p),r=a(86),s=d(r),t=a(80),u=d(t),v=a(79),w=d(v),x=a(81),y=d(x),z=a(154),A=d(z),B=a(157),C=d(B),D=a(46),E=d(D);e.__dashjs_factory_name="DashManifestModel",c.default=E.default.getSingletonFactory(e),b.exports=c.default},{154:154,157:157,46:46,56:56,78:78,79:79,80:80,81:81,82:82,83:83,84:84,86:86,97:97}],59:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){h=[new q.default,new s.default,new u.default,new o.default],j=new m.default({escapeMode:!1,attributePrefix:"",arrayAccessForm:"property",emptyNodeForm:"object",stripWhitespaces:!1,enableToStringFunc:!1,ignoreRoot:!0,matchers:h}),l=(0,k.default)(e).create({adaptationset:new w.default,period:new y.default})}function b(){return h}function c(){return l}function d(a){var b=void 0,c=window.performance.now();if(!(b=j.xml_str2json(a)))throw new Error("parsing the manifest failed");var d=window.performance.now();l.run(b);var e=window.performance.now();return f("Parsing complete: ( xml2json: "+(d-c).toPrecision(3)+"ms, objectiron: "+(e-d).toPrecision(3)+"ms, total: "+((e-c)/1e3).toPrecision(3)+"s)"),b}var e=this.context,f=(0,i.default)(e).getInstance().log,g=void 0,h=void 0,j=void 0,l=void 0;return g={parse:d,getMatchers:b,getIron:c},a(),g}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(44),i=d(h),j=a(69),k=d(j),l=a(3),m=d(l),n=a(68),o=d(n),p=a(66),q=d(p),r=a(65),s=d(r),t=a(67),u=d(t),v=a(62),w=d(v),x=a(63),y=d(x);e.__dashjs_factory_name="DashParser",c.default=g.default.getClassFactory(e),b.exports=c.default},{3:3,44:44,46:46,62:62,63:63,65:65,66:66,67:67,68:68,69:69}],60:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(b){d(this,a);var c=function(a){return a&&a.length&&a.charAt(0)===a.charAt(0).toUpperCase()};this._name=b,this._merge=c(b)}return e(a,[{key:"name",get:function(){return this._name}},{key:"merge",get:function(){return this._merge}}]),a}();c.default=f,b.exports=c.default},{}],61:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),g=a(60),h=d(g),i=function(){function a(b,c,d){var f=this;e(this,a),this._name=b||"",this._properties=[],this._children=d||[],Array.isArray(c)&&c.forEach(function(a){f._properties.push(new h.default(a))})}return f(a,[{key:"name",get:function(){return this._name}},{key:"children",get:function(){return this._children}},{key:"properties",get:function(){return this._properties}}]),a}();c.default=i,b.exports=c.default},{60:60}],62:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(61),i=d(h),j=a(56),k=d(j),l=function(a){function b(){e(this,b);var a=[k.default.PROFILES,k.default.WIDTH,k.default.HEIGHT,k.default.SAR,k.default.FRAMERATE,k.default.AUDIO_SAMPLING_RATE,k.default.MIME_TYPE,k.default.SEGMENT_PROFILES,k.default.CODECS,k.default.MAXIMUM_SAP_PERIOD,k.default.START_WITH_SAP,k.default.MAX_PLAYOUT_RATE,k.default.CODING_DEPENDENCY,k.default.SCAN_TYPE,k.default.FRAME_PACKING,k.default.AUDIO_CHANNEL_CONFIGURATION,k.default.CONTENT_PROTECTION,k.default.ESSENTIAL_PROPERTY,k.default.SUPPLEMENTAL_PROPERTY,k.default.INBAND_EVENT_STREAM];g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,k.default.ADAPTATION_SET,a,[new i.default(k.default.REPRESENTATION,a,[new i.default(k.default.SUB_REPRESENTATION,a)])])}return f(b,a),b}(i.default);c.default=l,b.exports=c.default},{56:56,61:61}],63:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(61),i=d(h),j=a(56),k=d(j),l=function(a){function b(){e(this,b);var a=[k.default.SEGMENT_BASE,k.default.SEGMENT_TEMPLATE,k.default.SEGMENT_LIST];g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,k.default.PERIOD,a,[new i.default(k.default.ADAPTATION_SET,a,[new i.default(k.default.REPRESENTATION,a)])])}return f(b,a),b}(i.default);c.default=l,b.exports=c.default},{56:56,61:61}],64:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(b,c){d(this,a),this._test=b,this._converter=c}return e(a,[{key:"test",get:function(){return this._test}},{key:"converter",get:function(){return this._converter}}]),a}();c.default=f,b.exports=c.default},{}],65:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(64),i=d(h),j=60,k=60,l=1e3,m=/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2})(?::([0-9]*)(\.[0-9]*)?)?(?:([+-])([0-9]{2})(?::?)([0-9]{2}))?/,n=function(a){function b(){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,function(a){return m.test(a.value)},function(a){var b=m.exec(a),c=void 0;if(c=Date.UTC(parseInt(b[1],10),parseInt(b[2],10)-1,parseInt(b[3],10),parseInt(b[4],10),parseInt(b[5],10),b[6]&&parseInt(b[6],10)||0,b[7]&&parseFloat(b[7])*l||0),b[9]&&b[10]){var d=parseInt(b[9],10)*k+parseInt(b[10],10);c+=("+"===b[8]?-1:1)*d*j*l}return new Date(c)})}return f(b,a),b}(i.default);c.default=n,b.exports=c.default},{64:64}],66:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(64),i=d(h),j=a(97),k=d(j),l=a(56),m=d(l),n=/^([-])?P(([\d.]*)Y)?(([\d.]*)M)?(([\d.]*)D)?T?(([\d.]*)H)?(([\d.]*)M)?(([\d.]*)S)?/,o=31536e3,p=2592e3,q=86400,r=3600,s=60,t=function(a){function b(){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,function(a){for(var b=[m.default.MIN_BUFFER_TIME,m.default.MEDIA_PRESENTATION_DURATION,m.default.MINIMUM_UPDATE_PERIOD,m.default.TIMESHIFT_BUFFER_DEPTH,m.default.MAX_SEGMENT_DURATION,m.default.MAX_SUBSEGMENT_DURATION,k.default.SUGGESTED_PRESENTATION_DELAY,m.default.START,k.default.START_TIME,m.default.DURATION],c=b.length,d=0;d<c;d++)if(a.nodeName===b[d])return n.test(a.value);return!1},function(a){var b=n.exec(a),c=parseFloat(b[2]||0)*o+parseFloat(b[4]||0)*p+parseFloat(b[6]||0)*q+parseFloat(b[8]||0)*r+parseFloat(b[10]||0)*s+parseFloat(b[12]||0);return void 0!==b[1]&&(c=-c),c})}return f(b,a),b}(i.default);c.default=t,b.exports=c.default},{56:56,64:64,97:97}],67:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(64),i=d(h),j=/^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$/,k=function(a){function b(){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,function(a){return j.test(a.value)},function(a){return parseFloat(a)})}return f(b,a),b}(i.default);c.default=k,b.exports=c.default},{64:64}],68:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function f(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function g(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var h=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},i=a(64),j=d(i),k=a(56),l=d(k),m=function(a){function b(){f(this,b),h(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,function(a,b){var c,d=(c={},e(c,l.default.MPD,[l.default.ID,l.default.PROFILES]),e(c,l.default.PERIOD,[l.default.ID]),e(c,l.default.BASE_URL,[l.default.SERVICE_LOCATION,l.default.BYTE_RANGE]),e(c,l.default.SEGMENT_BASE,[l.default.INDEX_RANGE]),e(c,l.default.INITIALIZATION,[l.default.RANGE]),e(c,l.default.REPRESENTATION_INDEX,[l.default.RANGE]),e(c,l.default.SEGMENT_LIST,[l.default.INDEX_RANGE]),e(c,l.default.BITSTREAM_SWITCHING,[l.default.RANGE]),e(c,l.default.SEGMENT_URL,[l.default.MEDIA_RANGE,l.default.INDEX_RANGE]),e(c,l.default.SEGMENT_TEMPLATE,[l.default.INDEX_RANGE,l.default.MEDIA,l.default.INDEX,l.default.INITIALIZATION_MINUS,l.default.BITSTREAM_SWITCHING_MINUS]),e(c,l.default.ASSET_IDENTIFIER,[l.default.VALUE,l.default.ID]),e(c,l.default.EVENT_STREAM,[l.default.VALUE]),e(c,l.default.ADAPTATION_SET,[l.default.PROFILES,l.default.MIME_TYPE,l.default.SEGMENT_PROFILES,l.default.CODECS,l.default.CONTENT_TYPE]),e(c,l.default.FRAME_PACKING,[l.default.VALUE,l.default.ID]),e(c,l.default.AUDIO_CHANNEL_CONFIGURATION,[l.default.VALUE,l.default.ID]),e(c,l.default.CONTENT_PROTECTION,[l.default.VALUE,l.default.ID]),e(c,l.default.ESSENTIAL_PROPERTY,[l.default.VALUE,l.default.ID]),e(c,l.default.SUPPLEMENTAL_PROPERTY,[l.default.VALUE,l.default.ID]),e(c,l.default.INBAND_EVENT_STREAM,[l.default.VALUE,l.default.ID]),e(c,l.default.ACCESSIBILITY,[l.default.VALUE,l.default.ID]),e(c,l.default.ROLE,[l.default.VALUE,l.default.ID]),e(c,l.default.RATING,[l.default.VALUE,l.default.ID]),e(c,l.default.VIEWPOINT,[l.default.VALUE,l.default.ID]),e(c,l.default.CONTENT_COMPONENT,[l.default.CONTENT_TYPE]),e(c,l.default.REPRESENTATION,[l.default.ID,l.default.DEPENDENCY_ID,l.default.MEDIA_STREAM_STRUCTURE_ID]),e(c,l.default.SUBSET,[l.default.ID]),e(c,l.default.METRICS,[l.default.METRICS_MINUS]),e(c,l.default.REPORTING,[l.default.VALUE,l.default.ID]),c);if(d.hasOwnProperty(b)){var f=d[b];return void 0!==f&&f.indexOf(a.name)>=0}return!1},function(a){return String(a)})}return g(b,a),b}(j.default);c.default=m,b.exports=c.default},{56:56,64:64}],69:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a,b){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}function c(a,c,d){for(var e=0,f=a.length;e<f;++e){var g=a[e];if(c[g.name])if(d[g.name]){if(g.merge){var h=c[g.name],i=d[g.name];"object"==typeof h&&"object"==typeof i?b(h,i):d[g.name]=h+i}}else d[g.name]=c[g.name]}}function d(a,b){for(var e=0,f=a.children.length;e<f;++e){var g=a.children[e],h=b[g.name+"_asArray"];if(h)for(var i=0,j=h.length;i<j;++i){var k=h[i];c(a.properties,b,k),d(g,k)}}}function e(b){if(null===b||"object"!=typeof b)return b;if("period"in a)for(var c=a.period,e=b.Period_asArray,f=0,g=e.length;f<g;++f){var h=e[f];if(d(c,h),"adaptationset"in a){var i=h.AdaptationSet_asArray;if(i)for(var j=a.adaptationset,k=0,l=i.length;k<l;++k)d(j,i[k])}}return b}return{run:e}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="ObjectIron";var h=g.default.getClassFactory(e);c.default=h,b.exports=c.default},{46:46}],70:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){a&&a.boxParser&&(d=a.boxParser)}function b(a){if(!d)throw new Error("boxParser is undefined");if(!a||0===a.byteLength)return{sampleList:[],lastSequenceNumber:NaN,totalDuration:NaN,numSequences:NaN};var b=d.parse(a),c=b.getBoxes("moof"),e=b.getBoxes("mfhd"),f=void 0,g=void 0,h=void 0,i=void 0,j=void 0,k=void 0,l=void 0,m=void 0,n=void 0,o=void 0,p=void 0,q=void 0,r=void 0,s=void 0,t=void 0,u=void 0,v=void 0;u=b.getBoxes("moof").length,t=e[e.length-1].sequence_number,h=0,k=[];var w=-1,x=-1;for(p=0;p<c.length;p++){var y=c[p],z=y.getChildBoxes("traf");for(n=0;n<z.length;n++){var A=z[n],B=A.getChildBox("tfhd"),C=A.getChildBox("tfdt");j=C.baseMediaDecodeTime;var D=A.getChildBoxes("trun"),E=A.getChildBoxes("subs");for(o=0;o<D.length;o++){var F=D[o];for(h=F.sample_count,s=(B.base_data_offset||0)+(F.data_offset||0),m=0;m<h;m++){l=F.samples[m],f=void 0!==l.sample_duration?l.sample_duration:B.default_sample_duration,i=void 0!==l.sample_size?l.sample_size:B.default_sample_size,g=void 0!==l.sample_composition_time_offset?l.sample_composition_time_offset:0;var G={dts:j,cts:j+g,duration:f,offset:y.offset+s,size:i,subSizes:[i]};if(E)for(q=0;q<E.length;q++){var H=E[q];if(w<H.entry_count&&m>x&&(w++,x+=H.entries[w].sample_delta),m==x){G.subSizes=[];var I=H.entries[w];for(r=0;r<I.subsample_count;r++)G.subSizes.push(I.subsamples[r].subsample_size)}}k.push(G),s+=i,j+=f}}v=j-C.baseMediaDecodeTime}}return{sampleList:k,lastSequenceNumber:t,totalDuration:v,numSequences:u}}function c(a){if(!d)throw new Error("boxParser is undefined");var b=d.parse(a),c=b?b.getBox("mdhd"):void 0;return c?c.timescale:NaN}var d=void 0;return{getSamplesInfo:b,getMediaTimescaleFromMoov:c,setConfig:a}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="FragmentedTextBoxParser",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{46:46}],71:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){function c(a,c,e,f){var g=a.adaptation.period.mpd.manifest.Period_asArray[a.adaptation.period.index].AdaptationSet_asArray[a.adaptation.index].Representation_asArray[a.index].SegmentList,i=g.SegmentURL_asArray.length,j=[],k=void 0,l=void 0,m=void 0,n=void 0,o=void 0,p=void 0,q=void 0;for(q=a.startNumber,n=(0,h.decideSegmentListRangeForTemplate)(d,b,a,c,e,f),o=Math.max(n.start,0),p=Math.min(n.end,g.SegmentURL_asArray.length-1),k=o;k<=p;k++)m=g.SegmentURL_asArray[k],l=(0,h.getIndexBasedSegment)(d,b,a,k),l.replacementTime=(q+k-1)*a.segmentDuration,l.media=m.media?m.media:"",l.mediaRange=m.mediaRange,l.index=m.index,l.indexRange=m.indexRange,j.push(l),l=null;return a.availableSegmentsNumber=i,j}a=a||{};var d=a.timelineConverter;return{getSegments:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(74);e.__dashjs_factory_name="ListSegmentsGetter";var i=g.default.getClassFactory(e);c.default=i,b.exports=c.default},{46:46,74:74}],72:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(a,b,c){return void 0===c||0==+c?Math[a](b):(b=+b,c=+c,null===b||isNaN(b)||"number"!=typeof c||c%1!=0?NaN:(b=b.toString().split("e"),b=Math[a](+(b[0]+"e"+(b[1]?+b[1]-c:-c))),b=b.toString().split("e"),+(b[0]+"e"+(b[1]?+b[1]+c:c))))}Object.defineProperty(c,"__esModule",{value:!0});var f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),g=function(){function a(){d(this,a)}return f(a,null,[{key:"round10",value:function(a,b){return e("round",a,b)}}]),a}();c.default=g,b.exports=c.default},{}],73:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){function c(){i=(0,k.default)(f).create(a,b),j=(0,m.default)(f).create(a,b),l=(0,o.default)(f).create(a,b)}function d(a,b,c,d,f){var h=void 0,k=a.segmentInfoType;k!==g.default.SEGMENT_BASE&&k!==g.default.BASE_URL&&e(a,c)?(k===g.default.SEGMENT_TIMELINE?h=i.getSegments(a,b,c,f):k===g.default.SEGMENT_TEMPLATE?h=j.getSegments(a,b,c,f):k===g.default.SEGMENT_LIST&&(h=l.getSegments(a,b,c,f)),d&&d(a,h)):h=a.segments}function e(a,b){var c=a.segments,d=!1,e=void 0,f=void 0;return c&&0!==c.length?(f=c[0].availabilityIdx,e=c[c.length-1].availabilityIdx,d=b<f||b>e):d=!0,d}var f=this.context,h=void 0,i=void 0,j=void 0,l=void 0;return h={getSegments:d},c(),h}Object.defineProperty(c,"__esModule",{value:!0});var f=a(56),g=d(f),h=a(46),i=d(h),j=a(77),k=d(j),l=a(75),m=d(l),n=a(71),o=d(n);e.__dashjs_factory_name="SegmentsGetter";var p=i.default.getClassFactory(e);c.default=p,b.exports=c.default},{46:46,56:56,71:71,75:75,77:77}],74:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){for(;a.length<b;)a="0"+a;return a}function f(a,b){return a.representation.startNumber+b}function g(a){return a?a.split("$$").join("$"):a}function h(a,b){if(!b||!a||-1===a.indexOf("$RepresentationID$"))return a;var c=b.toString();return a.split("$RepresentationID$").join(c)}function i(a,b,c){var d="%0",f=void 0,g=void 0,h=void 0,i=void 0,j=void 0,k=void 0,l=b.length,m=d.length;if(!a)return a;for(;;){if((f=a.indexOf("$"+b))<0)return a;if((g=a.indexOf("$",f+l))<0)return a;if((h=a.indexOf(d,f+l))>f&&h<g)switch(i=a.charAt(g-1),j=parseInt(a.substring(h+m,g-1),10),i){case"d":case"i":case"u":k=e(c.toString(),j);break;case"x":k=e(c.toString(16),j);break;case"X":k=e(c.toString(16),j).toUpperCase();break;case"o":k=e(c.toString(8),j);break;default:return a}else k=c;a=a.substring(0,f)+k+a.substring(g+1)}}function j(a,b,c,d){var e=void 0,g=void 0,h=void 0,i=void 0;return g=c.segmentDuration,isNaN(g)&&(g=c.adaptation.period.duration),h=parseFloat((c.adaptation.period.start+d*g).toFixed(5)),i=parseFloat((h+g).toFixed(5)),e=new o.default,e.representation=c,e.duration=g,e.presentationStartTime=h,e.mediaStartTime=a.calcMediaTimeFromPresentationTime(e.presentationStartTime,c),e.availabilityStartTime=a.calcAvailabilityStartTimeFromPresentationTime(e.presentationStartTime,c.adaptation.period.mpd,b),e.availabilityEndTime=a.calcAvailabilityEndTimeFromPresentationTime(i,c.adaptation.period.mpd,b),e.wallStartTime=a.calcWallTimeForSegment(e,b),e.replacementNumber=f(e,d),e.availabilityIdx=d,e}function k(a,b,c,d,e,g,h,j,k,l){var m=d/g,n=Math.min(e/g,c.adaptation.period.mpd.maxSegmentDuration),p=void 0,q=void 0,r=void 0;return p=a.calcPresentationTimeFromMediaTime(m,c),q=p+n,r=new o.default,r.representation=c,r.duration=n,r.mediaStartTime=m,r.presentationStartTime=p,r.availabilityStartTime=c.adaptation.period.mpd.manifest.loadedTime,r.availabilityEndTime=a.calcAvailabilityEndTimeFromPresentationTime(q,c.adaptation.period.mpd,b),r.wallStartTime=a.calcWallTimeForSegment(r,b),r.replacementTime=l||d,r.replacementNumber=f(r,k),h=i(h,"Number",r.replacementNumber),h=i(h,"Time",r.replacementTime),r.media=h,r.mediaRange=j,r.availabilityIdx=k,r}function l(a,b){if(!b||!b.segments)return null;var c=b.segments.length,d=void 0,e=void 0;if(a<c&&(d=b.segments[a])&&d.availabilityIdx===a)return d;for(e=0;e<c;e++)if((d=b.segments[e])&&d.availabilityIdx===a)return d;return null}function m(a,b,c,d,e,f){var g=c.segmentDuration,h=c.adaptation.period.mpd.manifest.minBufferTime,i=c.segmentAvailabilityRange,j={start:a.calcPeriodRelativeTimeFromMpdRelativeTime(c,i.start),end:a.calcPeriodRelativeTimeFromMpdRelativeTime(c,i.end)},k=c.segments,m=2*g,n=f||Math.max(2*h,10*g),o=NaN,p=null,q=void 0,r=void 0;return j.start=Math.max(j.start,0),b&&!a.isTimeSyncCompleted()?(q=Math.floor(j.start/g),r=Math.floor(j.end/g),{start:q,end:r}):(k&&k.length>0?(p=l(e,c),o=p?a.calcPeriodRelativeTimeFromMpdRelativeTime(c,p.presentationStartTime):e>0?e*g:a.calcPeriodRelativeTimeFromMpdRelativeTime(c,d)):o=e>0?e*g:b?j.end:j.start,q=Math.floor(Math.max(o-m,j.start)/g),r=Math.floor(Math.min(q+n/g,j.end/g)),{start:q,end:r})}Object.defineProperty(c,"__esModule",{value:!0}),c.unescapeDollarsInTemplate=g,c.replaceIDForTemplate=h,c.replaceTokenForTemplate=i,c.getIndexBasedSegment=j,c.getTimeBasedSegment=k,c.getSegmentByIndex=l,c.decideSegmentListRangeForTemplate=m;var n=a(85),o=d(n)},{85:85}],75:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){function c(a,c,e,f){var g=a.adaptation.period.mpd.manifest.Period_asArray[a.adaptation.period.index].AdaptationSet_asArray[a.adaptation.index].Representation_asArray[a.index].SegmentTemplate,i=a.segmentDuration,j=a.segmentAvailabilityRange,k=[],l=null,m=null,n=void 0,o=void 0,p=void 0,q=void 0,r=void 0;for(r=a.startNumber,n=isNaN(i)&&!b?{start:r,end:r}:(0,h.decideSegmentListRangeForTemplate)(d,b,a,c,e,f),p=n.start,q=n.end,o=p;o<=q;o++)m=(0,h.getIndexBasedSegment)(d,b,a,o),m.replacementTime=(r+o-1)*a.segmentDuration,l=g.media,l=(0,h.replaceTokenForTemplate)(l,"Number",m.replacementNumber),l=(0,h.replaceTokenForTemplate)(l,"Time",m.replacementTime),m.media=l,k.push(m),m=null;return isNaN(i)?a.availableSegmentsNumber=1:a.availableSegmentsNumber=Math.ceil((j.end-j.start)/i),k}var d=a.timelineConverter;return{getSegments:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(74);e.__dashjs_factory_name="TemplateSegmentsGetter";var i=g.default.getClassFactory(e);c.default=i,b.exports=c.default},{46:46,74:74}],76:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){u(),x.on(i.default.TIME_SYNCHRONIZATION_COMPLETED,s,this)}function b(){return z}function c(a){z=a}function d(){return y}function e(a){y=a}function f(){return A}function h(a){A=a}function j(a,b,c,d){return d?c&&b.timeShiftBufferDepth!=Number.POSITIVE_INFINITY?new Date(b.availabilityStartTime.getTime()+1e3*(a+b.timeShiftBufferDepth)):b.availabilityEndTime:c?new Date(b.availabilityStartTime.getTime()+1e3*(a-y)):b.availabilityStartTime}function k(a,b,c){return j.call(this,a,b,c)}function l(a,b,c){return j.call(this,a,b,c,!0)}function m(a,b){return(a.getTime()-b.mpd.availabilityStartTime.getTime()+1e3*y)/1e3}function n(a,b){return a+(b.adaptation.period.start-b.presentationTimeOffset)}function o(a,b){return a-b.adaptation.period.start+b.presentationTimeOffset}function p(a,b){var c=void 0,d=void 0,e=void 0;return b&&(c=a.representation.adaptation.period.mpd.suggestedPresentationDelay,d=a.presentationStartTime+c,e=new Date(a.availabilityStartTime.getTime()+1e3*d)),e}function q(a,b){var c=a.adaptation.period,d={start:c.start,end:c.start+c.duration};if(!b)return d;if(!z&&a.segmentAvailabilityRange)return a.segmentAvailabilityRange;var e=a.segmentDuration||(a.segments&&a.segments.length?a.segments[a.segments.length-1].duration:0),f=m(new Date,c),g=c.start+c.duration;d.start=Math.max(f-c.mpd.timeShiftBufferDepth,c.start);var h=void 0!==a.availabilityTimeOffset&&a.availabilityTimeOffset<e?e-a.availabilityTimeOffset:e;return d.end=f>=g&&f-h<g?g:f-h,d}function r(a,b){return b-a.adaptation.period.start}function s(a){z||void 0!==a.offset&&(e(a.offset/1e3),z=!0)}function t(a){var b=a.presentationTimeOffset;return a.adaptation.period.start-b}function u(){y=0,z=!1,A=NaN}function v(){x.off(i.default.TIME_SYNCHRONIZATION_COMPLETED,s,this),u()}var w=this.context,x=(0,g.default)(w).getInstance(),y=void 0,z=void 0,A=void 0;return{initialize:a,isTimeSyncCompleted:b,setTimeSyncCompleted:c,getClientTimeOffset:d,setClientTimeOffset:e,getExpectedLiveEdge:f,setExpectedLiveEdge:h,calcAvailabilityStartTimeFromPresentationTime:k,calcAvailabilityEndTimeFromPresentationTime:l,calcPresentationTimeFromWallTime:m,calcPresentationTimeFromMediaTime:n,calcPeriodRelativeTimeFromMpdRelativeTime:r,calcMediaTimeFromPresentationTime:o,calcSegmentAvailabilityRange:q,calcWallTimeForSegment:p,calcMSETimeOffset:t,reset:v}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(45),g=d(f),h=a(49),i=d(h),j=a(46),k=d(j);e.__dashjs_factory_name="TimelineConverter",c.default=k.default.getSingletonFactory(e),b.exports=c.default},{45:45,46:46,49:49}],77:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){function c(){if(!(e&&e.hasOwnProperty("calcMediaTimeFromPresentationTime")&&e.hasOwnProperty("calcSegmentAvailabilityRange")&&e.hasOwnProperty("calcMediaTimeFromPresentationTime")))throw new Error("Missing config parameter(s)")}function d(a,d,f,g){if(c(),!a)throw new Error("no representation");void 0===d&&(d=null);var i=a.adaptation.period.mpd.manifest.Period_asArray[a.adaptation.period.index].AdaptationSet_asArray[a.adaptation.index].Representation_asArray[a.index].SegmentTemplate||a.adaptation.period.mpd.manifest.Period_asArray[a.adaptation.period.index].AdaptationSet_asArray[a.adaptation.index].Representation_asArray[a.index].SegmentList,j=i.SegmentTimeline,k=i.SegmentURL_asArray,l=a.availableSegmentsNumber>0,m=void 0;m=g||(f>-1||null!==d?10:1/0);var n=0,o=0,p=-1,q=[],r=null,s=void 0,t=void 0,u=void 0,v=void 0,w=void 0,x=void 0,y=void 0,z=void 0,A=void 0,B=void 0,C=void 0,D=function(c,d){var f=i.media,g=c.mediaRange;return k&&(f=k[d].media||"",
21
- g=k[d].mediaRange),(0,h.getTimeBasedSegment)(e,b,a,n,c.d,C,f,g,p,c.tManifest)};for(C=a.timescale,s=j.S_asArray,B=f,null!==d&&(r=e.calcMediaTimeFromPresentationTime(d,a)),u=0,v=s.length;u<v;u++){if(t=s[u],x=0,t.hasOwnProperty("r")&&(x=t.r),t.hasOwnProperty("t")&&(n=t.t,o=n/C),x<0){if((z=s[u+1])&&z.hasOwnProperty("t"))y=z.t/C;else{var E=a.segmentAvailabilityRange?a.segmentAvailabilityRange.end:e.calcSegmentAvailabilityRange(a,b).end;y=e.calcMediaTimeFromPresentationTime(E,a),a.segmentDuration=t.d/C}x=Math.ceil((y-o)/(t.d/C))-1}if(A){if(l)break;p+=x+1}else for(w=0;w<=x;w++)if(p++,q.length>m){if(A=!0,l)break}else null!==r?o>=r-t.d/C*1.5&&q.push(D(t,p)):p>=B&&q.push(D(t,p)),n+=t.d,o=n/C}return l||(a.availableSegmentsNumber=p+1),q}a=a||{};var e=a.timelineConverter;return{getSegments:d}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(74);e.__dashjs_factory_name="TimelineSegmentsGetter";var i=g.default.getClassFactory(e);c.default=i,b.exports=c.default},{46:46,74:74}],78:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.period=null,this.index=-1,this.type=null};c.default=e,b.exports=c.default},{}],79:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=1,f=1,g=function a(b,c,g,h){d(this,a),this.url=b||"",this.serviceLocation=c||b||"",this.dvb_priority=g||e,this.dvb_weight=h||f,this.availabilityTimeOffset=0,this.availabilityTimeComplete=!0};g.DEFAULT_DVB_PRIORITY=e,g.DEFAULT_DVB_WEIGHT=f,c.default=g,b.exports=c.default},{}],80:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.duration=NaN,this.presentationTime=NaN,this.id=NaN,this.messageData="",this.eventStream=null,this.presentationTimeDelta=NaN};c.default=e,b.exports=c.default},{}],81:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.adaptionSet=null,this.representation=null,this.period=null,this.timescale=1,this.value="",this.schemeIdUri=""};c.default=e,b.exports=c.default},{}],82:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.manifest=null,this.suggestedPresentationDelay=0,this.availabilityStartTime=null,this.availabilityEndTime=Number.POSITIVE_INFINITY,this.timeShiftBufferDepth=Number.POSITIVE_INFINITY,this.maxSegmentDuration=Number.POSITIVE_INFINITY,this.minimumUpdatePeriod=NaN,this.mediaPresentationDuration=NaN};c.default=e,b.exports=c.default},{}],83:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.id=null,this.index=-1,this.duration=NaN,this.start=NaN,this.mpd=null};e.DEFAULT_ID="defaultId",c.default=e,b.exports=c.default},{}],84:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),g=a(56),h=d(g),i=function(){function a(){e(this,a),this.id=null,this.index=-1,this.adaptation=null,this.segmentInfoType=null,this.initialization=null,this.codecs=null,this.codecPrivateData=null,this.segmentDuration=NaN,this.timescale=1,this.startNumber=1,this.indexRange=null,this.range=null,this.presentationTimeOffset=0,this.MSETimeOffset=NaN,this.segmentAvailabilityRange=null,this.availableSegmentsNumber=0,this.bandwidth=NaN,this.width=NaN,this.height=NaN,this.scanType=null,this.maxPlayoutRate=NaN,this.availabilityTimeOffset=0,this.availabilityTimeComplete=!0}return f(a,null,[{key:"hasInitialization",value:function(a){return null!==a.initialization||null!==a.range}},{key:"hasSegments",value:function(a){return a.segmentInfoType!==h.default.BASE_URL&&a.segmentInfoType!==h.default.SEGMENT_BASE&&!a.indexRange}}]),a}();c.default=i,b.exports=c.default},{56:56}],85:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.indexRange=null,this.index=null,this.mediaRange=null,this.media=null,this.duration=NaN,this.replacementTime=null,this.replacementNumber=NaN,this.mediaStartTime=NaN,this.presentationStartTime=NaN,this.availabilityStartTime=NaN,this.availabilityEndTime=NaN,this.availabilityIdx=NaN,this.wallStartTime=NaN,this.representation=null};c.default=e,b.exports=c.default},{}],86:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.schemeIdUri="",this.value=""};c.default=e,b.exports=c.default},{}],87:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){n=(0,g.default)(h).create({errHandler:a.errHandler,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,requestModifier:a.requestModifier,useFetch:a.mediaPlayerModel.getLowLatencyEnabled()})}function c(a){var b=function(b){j.trigger(o.default.CHECK_FOR_EXISTENCE_COMPLETED,{request:a,exists:b})};if(a){var c=new i.default(a.url);n.load({request:c,success:function(){b(!0)},error:function(){b(!1)}})}else b(!1)}function d(a){var b=function(b,c){j.trigger(o.default.LOADING_COMPLETED,{request:a,response:b||null,error:c||null,sender:l})};a?n.load({request:a,progress:function(b){j.trigger(o.default.LOADING_PROGRESS,{request:a}),b&&j.trigger(o.default.LOADING_DATA_PROGRESS,{request:a,response:b||null,error:null,sender:l})},success:function(a){b(a)},error:function(a,c,d){b(void 0,new k.default(r,d,c))},abort:function(a){a&&j.trigger(o.default.LOADING_ABANDONED,{request:a,mediaType:a.mediaType,sender:l})}}):b(void 0,new k.default(s,t))}function e(){n&&n.abort()}function f(){n&&(n.abort(),n=null)}a=a||{};var h=this.context,j=(0,m.default)(h).getInstance(),l=void 0,n=void 0;return l={checkForExistence:c,load:d,abort:e,reset:f},b(),l}Object.defineProperty(c,"__esModule",{value:!0});var f=a(120),g=d(f),h=a(165),i=d(h),j=a(162),k=d(j),l=a(45),m=d(l),n=a(49),o=d(n),p=a(46),q=d(p),r=1,s=2,t="request is null";e.__dashjs_factory_name="FragmentLoader";var u=q.default.getClassFactory(e);u.FRAGMENT_LOADER_ERROR_LOADING_FAILURE=r,u.FRAGMENT_LOADER_ERROR_NULL_REQUEST=s,q.default.updateClassFactory(e.__dashjs_factory_name,u),c.default=u,b.exports=c.default},{120:120,162:162,165:165,45:45,46:46,49:49}],88:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){j.on(v.default.XLINK_READY,c,s),u=(0,k.default)(h).create({errHandler:A,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,requestModifier:a.requestModifier}),w=(0,i.default)(h).create({errHandler:A,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,requestModifier:a.requestModifier}),x=null}function c(a){j.trigger(v.default.INTERNAL_MANIFEST_LOADED,{manifest:a.manifest})}function d(a){var b=null;return a.indexOf("SmoothStreamingMedia")>-1?(y&&(b=y.createMssParser(),y.registerEvents()),b):a.indexOf("MPD")>-1?(0,z.default)(h).create():b}function e(a){var b=new o.default(a,r.HTTPRequest.MPD_TYPE);u.load({request:b,success:function(b,c,e){if(w){var f=void 0,h=void 0,i=void 0;if(e&&e!==a?(h=l.parseBaseUrl(e),f=e):(l.isRelative(a)&&(a=l.resolve(a,window.location.href)),h=l.parseBaseUrl(a)),null===x&&(x=d(b)),null===x)return void j.trigger(v.default.INTERNAL_MANIFEST_LOADED,{manifest:null,error:new q.default(C,"Failed detecting manifest type or manifest type unsupported : "+a)});w.setMatchers(x.getMatchers()),w.setIron(x.getIron());try{i=x.parse(b)}catch(k){return void j.trigger(v.default.INTERNAL_MANIFEST_LOADED,{manifest:null,error:new q.default(C,"Failed parsing manifest : "+a)})}i?(i.url=f||a,i.originalUrl||(i.originalUrl=i.url),i.hasOwnProperty(g.default.LOCATION)&&(h=l.parseBaseUrl(i.Location_asArray[0]),p("BaseURI set by Location to: "+h)),i.baseUri=h,i.loadedTime=new Date,w.resolveManifestOnLoad(i)):j.trigger(v.default.INTERNAL_MANIFEST_LOADED,{manifest:null,error:new q.default(C,E)})}},error:function(b,c,d){j.trigger(v.default.INTERNAL_MANIFEST_LOADED,{manifest:null,error:new q.default(D,"Failed loading manifest: "+a+", "+d)})}})}function f(){j.off(v.default.XLINK_READY,c,s),w&&(w.reset(),w=null),u&&(u.abort(),u=null),y&&y.reset()}a=a||{};var h=this.context,j=(0,t.default)(h).getInstance(),l=(0,m.default)(h).getInstance(),n=(0,B.default)(h).getInstance(),p=n.log,s=void 0,u=void 0,w=void 0,x=void 0,y=a.mssHandler,A=a.errHandler;return s={load:e,reset:f},b(),s}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(111),i=d(h),j=a(120),k=d(j),l=a(157),m=d(l),n=a(173),o=d(n),p=a(162),q=d(p),r=a(182),s=a(45),t=d(s),u=a(49),v=d(u),w=a(46),x=d(w),y=a(59),z=d(y),A=a(44),B=d(A),C=1,D=2,E="parsing failed";e.__dashjs_factory_name="ManifestLoader";var F=x.default.getClassFactory(e);F.MANIFEST_LOADER_ERROR_PARSING_FAILURE=C,F.MANIFEST_LOADER_ERROR_LOADING_FAILURE=D,x.default.updateClassFactory(e.__dashjs_factory_name,F),c.default=F,b.exports=c.default},{111:111,120:120,157:157,162:162,173:173,182:182,44:44,45:45,46:46,49:49,59:59,97:97}],89:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){a&&(a.manifestModel&&(z=a.manifestModel),a.dashManifestModel&&(A=a.dashManifestModel),a.mediaPlayerModel&&(B=a.mediaPlayerModel),a.manifestLoader&&(y=a.manifestLoader),a.errHandler&&(C=a.errHandler))}function b(){d(),t.on(i.default.STREAMS_COMPOSED,q,this),t.on(i.default.PLAYBACK_STARTED,o,this),t.on(i.default.PLAYBACK_PAUSED,p,this),t.on(i.default.INTERNAL_MANIFEST_LOADED,n,this)}function c(a){k(a)}function d(){u=NaN,x=!1,w=!0,f()}function e(){t.off(i.default.PLAYBACK_STARTED,o,this),t.off(i.default.PLAYBACK_PAUSED,p,this),t.off(i.default.STREAMS_COMPOSED,q,this),t.off(i.default.INTERNAL_MANIFEST_LOADED,n,this),d()}function f(){null!==v&&(clearInterval(v),v=null)}function h(a){f(),isNaN(a)&&!isNaN(u)&&(a=1e3*u),isNaN(a)||(s("Refresh manifest in "+a+" milliseconds."),v=setTimeout(l,a))}function j(){x=!0;var a=z.getValue(),b=a.url,c=A.getLocation(a);c&&(b=c),y.load(b)}function k(a){z.setValue(a);var b=new Date,c=(b.getTime()-a.loadedTime.getTime())/1e3;u=A.getManifestUpdatePeriod(a,c),1e3*u>2147483647&&(u=2147483.647),t.trigger(i.default.MANIFEST_UPDATED,{manifest:a}),s("Manifest has been refreshed at "+b+"["+b.getTime()/1e3+"] "),w||h()}function l(){if(!w||B.getScheduleWhilePaused())return x?void h(B.getManifestUpdateRetryInterval()):void j()}function n(a){a.error?C.manifestError(a.error.message,a.error.code):k(a.manifest)}function o(){w=!1,h()}function p(){w=!0,f()}function q(){x=!1}var r=this.context,s=(0,m.default)(r).getInstance().log,t=(0,g.default)(r).getInstance(),u=void 0,v=void 0,w=void 0,x=void 0,y=void 0,z=void 0,A=void 0,B=void 0,C=void 0;return{initialize:b,setManifest:c,refreshManifest:j,setConfig:a,reset:e}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(45),g=d(f),h=a(49),i=d(h),j=a(46),k=d(j),l=a(44),m=d(l);e.__dashjs_factory_name="ManifestUpdater",c.default=k.default.getClassFactory(e),b.exports=c.default},{44:44,45:45,46:46,49:49}],90:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){Oc=!1,Qc=!1,Pc=!1,Rc=!0,Vc=null,Nc=null,Yc=null,W.default.extend(Y.default),$c=(0,I.default)(Hc).getInstance(),gd=(0,O.default)(Hc).getInstance()}function b(a){a&&(a.capabilities&&(ad=a.capabilities),a.streamController&&(bd=a.streamController),a.playbackController&&(cd=a.playbackController),a.mediaPlayerModel&&($c=a.mediaPlayerModel),a.abrController&&(Sc=a.abrController),a.mediaController&&(Uc=a.mediaController))}function c(a,b,c){if(ad||(ad=(0,w.default)(Hc).getInstance()),_c=(0,u.default)(Hc).getInstance(),!ad.supportsMediaSource())return void _c.capabilityError("mediasource");Oc||(Oc=!0,Tc=(0,ha.default)(Hc).getInstance(),Sc||(Sc=(0,M.default)(Hc).getInstance()),cd||(cd=(0,m.default)(Hc).getInstance()),Uc||(Uc=(0,q.default)(Hc).getInstance()),Yc=(0,ba.default)(Hc).getInstance(),ed=(0,da.default)(Hc).getInstance({mediaController:Uc,timelineConverter:Tc,adapter:Yc}),fd=(0,G.default)(Hc).getInstance(),dd=(0,fa.default)(Hc).getInstance({manifestModel:fd,dashManifestModel:ed}),Zc=(0,K.default)(Hc).getInstance(),hd=(0,C.default)(Hc).getInstance(),id=(0,Q.default)(Hc).getInstance({mediaPlayerModel:$c}),Yc.setConfig({dashManifestModel:ed}),Zc.setConfig({adapter:Yc}),bb(),Da(void 0===c||c),a&&Ub(a),b&&nc(b),Kc("[dash.js "+j()+"] MediaPlayer has been initialized"))}function d(){nc(null),Ub(null),Nc=null,Vc&&(Vc.reset(),Vc=null),Wc&&(Wc.reset(),Wc=null)}function e(){return!!Mc&&!!gd.getElement()}function f(a,b,c){Ic.on(a,b,c)}function h(a,b,c){Ic.off(a,b,c)}function j(){return(0,_.getVersionString)()}function l(){return Jc}function n(){if(gd.getElement()||Pc)return!1;if(!Mc)throw Ec;Ac()}function p(){if(!Qc)throw Cc;(!Rc||t()&&Qc)&&cd.play()}function r(){if(!Qc)throw Cc;cd.pause()}function t(){if(!Qc)throw Cc;return cd.isPaused()}function v(a){if(!Qc)throw Cc;if("number"!=typeof a||isNaN(a))throw Gc;var b=cd.getIsDynamic()?R(a):a;cd.seek(b)}function x(){if(!Qc)throw Cc;return cd.isSeeking()}function z(){if(!Qc)throw Cc;return cd.getIsDynamic()}function B(a){if(!gd.getElement())throw Dc;Rb().playbackRate=a}function D(){if(!gd.getElement())throw Dc;return Rb().playbackRate}function F(a){if(!gd.getElement())throw Dc;Rb().muted=a}function H(){if(!gd.getElement())throw Dc;return Rb().muted}function J(a){if(!gd.getElement())throw Dc;Rb().volume=a}function L(){if(!gd.getElement())throw Dc;return Rb().volume}function N(a){var b=[g.default.VIDEO,g.default.AUDIO,g.default.FRAGMENTED_TEXT];if(a){if(-1!==b.indexOf(a)){var c=Fb().getCurrentBufferLevel(Gb(a));return c||NaN}return Kc("Warning - getBufferLength requested for invalid type"),NaN}var c=b.map(function(a){return Zb(a).length>0?Fb().getCurrentBufferLevel(Gb(a)):Number.MAX_VALUE}).reduce(function(a,b){return Math.min(a,b)});return c===Number.MAX_VALUE?NaN:c}function P(){var a=xc();return a?a.manifestInfo.DVRWindowSize:0}function R(a){var b=xc(),c=cd.getLiveDelay();if(!b)return 0;var d=b.range.start+a;return d>b.range.end-c&&(d=b.range.end-c),d}function T(a){if(!Qc)throw Cc;var b=Rb().currentTime;if(void 0!==a)b=bd.getTimeRelativeToStreamId(b,a);else if(cd.getIsDynamic()){var c=xc();b=null===c?0:V()-(c.range.end-c.time)}return b}function V(){if(!Qc)throw Cc;var a=Rb().duration;if(cd.getIsDynamic()){var b=xc(),c=void 0;if(!b)return 0;c=b.range.end-b.range.start,a=c<b.manifestInfo.DVRWindowSize?c:b.manifestInfo.DVRWindowSize}return a}function X(){if(!Qc)throw Cc;return T()<0?NaN:yc(T())}function Z(){if(!Qc)throw Cc;return yc(V())}function aa(a,b){Sc.setMaxAllowedBitrateFor(a,b)}function ca(a,b){Sc.setMinAllowedBitrateFor(a,b)}function ea(a){return Sc.getMaxAllowedBitrateFor(a)}function ga(a){if(!Pc)throw Bc;return Sc.getTopBitrateInfoFor(a)}function ja(a){return Sc.getMinAllowedBitrateFor(a)}function la(a,b){Sc.setMaxAllowedRepresentationRatioFor(a,b)}function na(a){return Sc.getMaxAllowedRepresentationRatioFor(a)}function oa(a){if(!Pc)throw Bc;if(a===g.default.IMAGE){var b=zc();if(!b)return-1;var c=b.getThumbnailController();return c?c.getCurrentTrackIndex():-1}return Sc.getQualityFor(a,bd.getActiveStreamInfo())}function pa(a,b){if(!Pc)throw Bc;if(a===g.default.IMAGE){var c=zc();if(!c)return;var d=c.getThumbnailController();d&&d.setTrackByIndex(b)}Sc.setPlaybackQuality(a,bd.getActiveStreamInfo(),b)}function qa(){Sc.setElementSize(),Sc.setWindowResizeEventCalled(!0)}function ra(){return Sc.getLimitBitrateByPortal()}function sa(a){Sc.setLimitBitrateByPortal(a)}function ta(){return Sc.getUsePixelRatioInLimitBitrateByPortal()}function ua(a){Sc.setUsePixelRatioInLimitBitrateByPortal(a)}function va(a,b){Sc.setInitialBitrateFor(a,b)}function wa(a){if(!Pc)throw Bc;return Sc.getInitialBitrateFor(a)}function xa(a,b){Sc.setInitialRepresentationRatioFor(a,b)}function ya(a){return Sc.getInitialRepresentationRatioFor(a)}function za(a){return Sc.getAutoSwitchBitrateFor(a)}function Aa(a,b){Sc.setAutoSwitchBitrateFor(a,b)}function Ba(){return Sc.getUseDeadTimeLatency()}function Ca(a){Sc.setUseDeadTimeLatency(a)}function Da(a){Rc=a}function Ea(){return Rc}function Fa(a){$c.setLiveDelayFragmentCount(a)}function Ga(a){$c.setLiveDelay(a)}function Ha(){return $c.getLiveDelay()}function Ia(){if(!Oc)throw Fc;return Qc?cd.getCurrentLiveLatency():NaN}function Ja(a){$c.setUseSuggestedPresentationDelay(a)}function Ka(a,b){$c.setLastBitrateCachingInfo(a,b)}function La(a,b){$c.setLastMediaSettingsCachingInfo(a,b)}function Ma(a){$c.setScheduleWhilePaused(a)}function Na(){return $c.getScheduleWhilePaused()}function Oa(a){$c.setFastSwitchEnabled(a)}function Pa(){return $c.getFastSwitchEnabled()}function Qa(a){a===g.default.ABR_STRATEGY_DYNAMIC||a===g.default.ABR_STRATEGY_BOLA||a===g.default.ABR_STRATEGY_THROUGHPUT?$c.setABRStrategy(a):Kc("Warning: Ignoring setABRStrategy("+a+") - unknown value.")}function Ra(){return $c.getABRStrategy()}function Sa(a){$c.setUseDefaultABRRules(a)}function Ta(a,b,c){$c.addABRCustomRule(a,b,c)}function Ua(a){$c.removeABRCustomRule(a)}function Va(){$c.removeAllABRCustomRule()}function Wa(a){a===g.default.MOVING_AVERAGE_SLIDING_WINDOW||a===g.default.MOVING_AVERAGE_EWMA?$c.setMovingAverageMethod(a):Kc("Warning: Ignoring setMovingAverageMethod("+a+") - unknown value.")}function Xa(){return $c.getMovingAverageMethod()}function Ya(){return $c.getLowLatencyEnabled()}function Za(a){return $c.setLowLatencyEnabled(a)}function $a(a,b){_a(a,b);var c=new k.default;c.schemeIdUri=a,c.value=b,$c.getUTCTimingSources().push(c)}function _a(a,b){var c=$c.getUTCTimingSources();c.forEach(function(d,e){d.schemeIdUri===a&&d.value===b&&c.splice(e,1)})}function ab(){$c.setUTCTimingSources([])}function bb(){$a(I.default.DEFAULT_UTC_TIMING_SOURCE.scheme,I.default.DEFAULT_UTC_TIMING_SOURCE.value)}function cb(a){$c.setUseManifestDateHeaderTimeSource(a)}function db(a){$c.setBufferToKeep(a)}function eb(a){$c.setBufferAheadToKeep(a)}function fb(a){$c.setBufferPruningInterval(a)}function gb(a){$c.setStableBufferTime(a)}function hb(){return $c.getStableBufferTime()}function ib(a){$c.setBufferTimeAtTopQuality(a)}function jb(){return $c.getBufferTimeAtTopQuality()}function kb(a){$c.setBufferTimeAtTopQualityLongForm(a)}function lb(){return $c.getBufferTimeAtTopQualityLongForm()}function mb(a){$c.setLongFormContentDurationThreshold(a)}function nb(a){$c.setSegmentOverlapToleranceTime(a)}function ob(a,b){$c.setCacheLoadThresholdForType(a,b)}function pb(a){$c.setBandwidthSafetyFactor(a)}function qb(){return $c.getBandwidthSafetyFactor()}function rb(a){var b=Sc.getThroughputHistory();return b?b.getAverageThroughput(a):0}function sb(a){$c.setAbandonLoadTimeout(a)}function tb(a){$c.setFragmentRetryAttempts(a)}function ub(a){$c.setFragmentRetryInterval(a)}function vb(a){$c.setManifestRetryAttempts(a)}function wb(a){$c.setManifestRetryInterval(a)}function xb(a,b){$c.setXHRWithCredentialsForType(a,b)}function yb(a){return $c.getXHRWithCredentialsForType(a)}function zb(a){$c.setJumpGaps(a)}function Ab(){return $c.getJumpGaps()}function Bb(a){$c.setSmallGapLimit(a)}function Cb(){return $c.getSmallGapLimit()}function Db(a){$c.setManifestUpdateRetryInterval(a)}function Eb(){return $c.getManifestUpdateRetryInterval()}function Fb(){return dd}function Gb(a){return Zc.getReadOnlyMetricsFor(a)}function Hb(a){void 0===hd&&(hd=(0,C.default)(Hc).getInstance()),hd.setTextDefaultLanguage(a)}function Ib(){return void 0===hd&&(hd=(0,C.default)(Hc).getInstance()),hd.getTextDefaultLanguage()}function Jb(a){void 0===hd&&(hd=(0,C.default)(Hc).getInstance()),hd.setTextDefaultEnabled(a)}function Kb(){return void 0===hd&&(hd=(0,C.default)(Hc).getInstance()),hd.getTextDefaultEnabled()}function Lb(a){void 0===hd&&(hd=(0,C.default)(Hc).getInstance()),hd.enableText(a)}function Mb(a){void 0===hd&&(hd=(0,C.default)(Hc).getInstance()),hd.enableForcedTextStreaming(a)}function Nb(){return void 0===hd&&(hd=(0,C.default)(Hc).getInstance()),hd.isTextEnabled()}function Ob(a){if(!Qc)throw Cc;void 0===hd&&(hd=(0,C.default)(Hc).getInstance()),hd.setTextTrack(a)}function Pb(){var a=NaN;return hd&&(a=hd.getCurrentTrackIdx()),a}function Qb(a){var b=(0,y.default)(Hc).getInstance();b.setConfig({videoModel:gd}),b.initialize(),b.displayCConTop(a)}function Rb(){if(!gd.getElement())throw Dc;return gd.getElement()}function Sb(){return gd?gd.getVideoContainer():null}function Tb(a){if(!gd.getElement())throw Dc;gd.setVideoContainer(a)}function Ub(a){if(!Oc)throw Fc;gd.setElement(a),a&&(uc(),vc(),wc(),bd&&bd.switchToVideoElement()),Qc&&rc(),Ac()}function Vb(){return gd?gd.getTTMLRenderingDiv():null}function Wb(a){if(!gd.getElement())throw Dc;gd.setTTMLRenderingDiv(a)}function Xb(a){if(!Pc)throw Bc;var b=zc();return b?b.getBitrateListFor(a):[]}function Yb(a){if(!Pc)throw Bc;return Yc.getStreamsInfo(a)}function Zb(a){if(!Pc)throw Bc;var b=bd.getActiveStreamInfo();return b?Uc.getTracksFor(a,b):[]}function $b(a,b,c){if(!Pc)throw Bc;return c=c||Yc.getStreamsInfo(b,1)[0],c?Yc.getAllMediaInfoForType(c,a,b):[]}function _b(a){if(!Pc)throw Bc;var b=bd.getActiveStreamInfo();return b?Uc.getCurrentTrackFor(a,b):null}function ac(a,b){if(!Oc)throw Fc;Uc.setInitialSettings(a,b)}function bc(a){if(!Oc)throw Fc;return Uc.getInitialSettings(a)}function cc(a){if(!Pc)throw Bc;Uc.setTrack(a)}function dc(a){if(!Oc)throw Fc;return Uc.getSwitchMode(a)}function ec(a,b){if(!Oc)throw Fc;Uc.setSwitchMode(a,b)}function fc(a){if(!Oc)throw Fc;Uc.setSelectionModeForInitialTrack(a)}function gc(){if(!Oc)throw Fc;return Uc.getSelectionModeForInitialTrack()}function hc(){return uc()}function ic(a){Vc=a}function jc(a){Nc=a,bd&&bd.setProtectionData(Nc)}function kc(a){if(a<0)return null;var b=cd.getIsDynamic()?R(a):a,c=bd.getStreamForTime(b);if(null===c)return null;var d=c.getThumbnailController(),e=c.getStreamInfo();if(!d||!e)return null;var f=bd.getTimeRelativeToStreamId(b,c.getId());return d.get(f)}function lc(a,b){var c=tc(),d=this,e=function a(e){e.error?b(null,e.error):b(e.manifest),Ic.off(W.default.INTERNAL_MANIFEST_LOADED,a,d),c.reset()};Ic.on(W.default.INTERNAL_MANIFEST_LOADED,e,d),(0,E.default)(Hc).getInstance().initialize(a),c.load(a)}function mc(){if(!Mc)throw Ec;return Mc}function nc(a){if(!Oc)throw Fc;"string"==typeof a&&(0,E.default)(Hc).getInstance().initialize(a),Mc=a,(Pc||Qc)&&rc(),e()&&Ac()}function oc(a,b,c){var d=!(arguments.length<=3||void 0===arguments[3])&&arguments[3],e=new Date(1e3*a),f=e.toLocaleDateString(b),g=e.toLocaleTimeString(b,{hour12:c});return d?g+" "+f:g}function pc(a){a=Math.max(a,0);var b=Math.floor(a/3600),c=Math.floor(a%3600/60),d=Math.floor(a%3600%60);return(0===b?"":b<10?"0"+b.toString()+":":b.toString()+":")+(c<10?"0"+c.toString():c.toString())+":"+(d<10?"0"+d.toString():d.toString())}function qc(a,b,c){$.default.extend(a,b,c,Hc)}function rc(){Qc=!1,Pc=!1,Yc.reset(),bd.reset(),cd.reset(),Sc.reset(),Uc.reset(),hd.reset(),Vc&&(Vc.reset(),Vc=null,uc())}function sc(){var a=tc();bd||(bd=(0,o.default)(Hc).getInstance()),Uc.setConfig({errHandler:_c,domStorage:id}),bd.setConfig({capabilities:ad,manifestLoader:a,manifestModel:fd,dashManifestModel:ed,mediaPlayerModel:$c,protectionController:Vc,adapter:Yc,metricsModel:Zc,dashMetrics:dd,errHandler:_c,timelineConverter:Tc,videoModel:gd,playbackController:cd,domStorage:id,abrController:Sc,mediaController:Uc,textController:hd}),cd.setConfig({streamController:bd,metricsModel:Zc,dashMetrics:dd,manifestModel:fd,mediaPlayerModel:$c,dashManifestModel:ed,adapter:Yc,videoModel:gd}),Sc.setConfig({streamController:bd,domStorage:id,mediaPlayerModel:$c,metricsModel:Zc,dashMetrics:dd,dashManifestModel:ed,manifestModel:fd,videoModel:gd,adapter:Yc}),Sc.createAbrRulesCollection(),hd.setConfig({errHandler:_c,manifestModel:fd,dashManifestModel:ed,mediaController:Uc,streamController:bd,videoModel:gd}),bd.initialize(Rc,Nc)}function tc(){return(0,s.default)(Hc).create({errHandler:_c,metricsModel:Zc,mediaPlayerModel:$c,requestModifier:(0,A.default)(Hc).getInstance(),mssHandler:Xc})}function uc(){if(Vc)return Vc;var a=dashjs.Protection;if("function"==typeof a){var b=a(Hc).create();return W.default.extend(a.events),Y.default.extend(a.events,{publicOnly:!0}),ad||(ad=(0,w.default)(Hc).getInstance()),Vc=b.createProtectionSystem({log:Kc,errHandler:_c,videoModel:gd,capabilities:ad,eventBus:Ic,events:W.default,BASE64:ka.default,constants:g.default})}return null}function vc(){if(!Wc){var a=dashjs.MetricsReporting;if("function"==typeof a){var b=a(Hc).create();Wc=b.createMetricsReporting({log:Kc,eventBus:Ic,mediaElement:Rb(),dashManifestModel:ed,metricsModel:Zc,events:W.default,constants:g.default,metricsConstants:i.default})}}}function wc(){if(!Xc){var a=dashjs.MssHandler;"function"==typeof a&&(Xc=a(Hc).create({eventBus:Ic,mediaPlayerModel:$c,metricsModel:Zc,playbackController:cd,protectionController:Vc,errHandler:_c,events:W.default,constants:g.default,log:Kc,initSegmentType:ia.HTTPRequest.INIT_SEGMENT_TYPE,BASE64:ka.default,ISOBoxer:ma.default}))}}function xc(){var a=Zc.getReadOnlyMetricsFor(g.default.VIDEO)||Zc.getReadOnlyMetricsFor(g.default.AUDIO);return dd.getCurrentDVRInfo(a)}function yc(a){var b=xc(),c=void 0;return b?(c=b.manifestInfo.availableFrom.getTime()/1e3,a+(c+b.range.start)):0}function zc(){if(!Pc)throw Bc;var a=bd.getActiveStreamInfo();return a?bd.getStreamById(a.id):null}function Ac(){!Pc&&Mc&&(Pc=!0,Kc("Streaming Initialized"),sc(),"string"==typeof Mc?bd.load(Mc):bd.loadWithManifest(Mc)),!Qc&&e()&&(Qc=!0,Kc("Playback Initialized"))}var Bc="You must first call initialize() and set a source before calling this method",Cc="You must first call initialize() and set a valid source and view before calling this method",Dc="You must first call attachView() to set the video element before calling this method",Ec="You must first call attachSource() with a valid source before calling this method",Fc="MediaPlayer not initialized!",Gc="MediaPlayer Invalid Arguments!",Hc=this.context,Ic=(0,U.default)(Hc).getInstance(),Jc=(0,S.default)(Hc).getInstance(),Kc=Jc.log,Lc=void 0,Mc=void 0,Nc=void 0,Oc=void 0,Pc=void 0,Qc=void 0,Rc=void 0,Sc=void 0,Tc=void 0,Uc=void 0,Vc=void 0,Wc=void 0,Xc=void 0,Yc=void 0,Zc=void 0,$c=void 0,_c=void 0,ad=void 0,bd=void 0,cd=void 0,dd=void 0,ed=void 0,fd=void 0,gd=void 0,hd=void 0,id=void 0;return Lc={initialize:c,setConfig:b,on:f,off:h,extend:qc,attachView:Ub,attachSource:nc,isReady:e,preload:n,play:p,isPaused:t,pause:r,isSeeking:x,isDynamic:z,seek:v,setPlaybackRate:B,getPlaybackRate:D,setMute:F,isMuted:H,setVolume:J,getVolume:L,time:T,duration:V,timeAsUTC:X,durationAsUTC:Z,getActiveStream:zc,getDVRWindowSize:P,getDVRSeekOffset:R,convertToTimeCode:pc,formatUTC:oc,getVersion:j,getDebug:l,getBufferLength:N,getVideoContainer:Sb,getTTMLRenderingDiv:Vb,getVideoElement:Rb,getSource:mc,setLiveDelayFragmentCount:Fa,setLiveDelay:Ga,getLiveDelay:Ha,getCurrentLiveLatency:Ia,useSuggestedPresentationDelay:Ja,enableLastBitrateCaching:Ka,enableLastMediaSettingsCaching:La,setMaxAllowedBitrateFor:aa,getMaxAllowedBitrateFor:ea,getTopBitrateInfoFor:ga,setMinAllowedBitrateFor:ca,getMinAllowedBitrateFor:ja,setMaxAllowedRepresentationRatioFor:la,getMaxAllowedRepresentationRatioFor:na,setAutoPlay:Da,getAutoPlay:Ea,setScheduleWhilePaused:Ma,getScheduleWhilePaused:Na,getDashMetrics:Fb,getMetricsFor:Gb,getQualityFor:oa,setQualityFor:pa,updatePortalSize:qa,getLimitBitrateByPortal:ra,setLimitBitrateByPortal:sa,getUsePixelRatioInLimitBitrateByPortal:ta,setUsePixelRatioInLimitBitrateByPortal:ua,setTextDefaultLanguage:Hb,getTextDefaultLanguage:Ib,setTextDefaultEnabled:Jb,getTextDefaultEnabled:Kb,enableText:Lb,enableForcedTextStreaming:Mb,isTextEnabled:Nb,setTextTrack:Ob,getBitrateInfoListFor:Xb,setInitialBitrateFor:va,getInitialBitrateFor:wa,setInitialRepresentationRatioFor:xa,getInitialRepresentationRatioFor:ya,getStreamsFromManifest:Yb,getTracksFor:Zb,getTracksForTypeFromManifest:$b,getCurrentTrackFor:_b,setInitialMediaSettingsFor:ac,getInitialMediaSettingsFor:bc,setCurrentTrack:cc,getTrackSwitchModeFor:dc,setTrackSwitchModeFor:ec,setSelectionModeForInitialTrack:fc,getSelectionModeForInitialTrack:gc,setFastSwitchEnabled:Oa,getFastSwitchEnabled:Pa,setMovingAverageMethod:Wa,getMovingAverageMethod:Xa,getAutoSwitchQualityFor:za,setAutoSwitchQualityFor:Aa,setABRStrategy:Qa,getABRStrategy:Ra,useDefaultABRRules:Sa,addABRCustomRule:Ta,removeABRCustomRule:Ua,removeAllABRCustomRule:Va,setBandwidthSafetyFactor:pb,getBandwidthSafetyFactor:qb,getAverageThroughput:rb,setAbandonLoadTimeout:sb,retrieveManifest:lc,addUTCTimingSource:$a,removeUTCTimingSource:_a,clearDefaultUTCTimingSources:ab,restoreDefaultUTCTimingSources:bb,setBufferToKeep:db,setBufferAheadToKeep:eb,setBufferPruningInterval:fb,setStableBufferTime:gb,getStableBufferTime:hb,setBufferTimeAtTopQuality:ib,getBufferTimeAtTopQuality:jb,setBufferTimeAtTopQualityLongForm:kb,getBufferTimeAtTopQualityLongForm:lb,setFragmentLoaderRetryAttempts:tb,setFragmentLoaderRetryInterval:ub,setManifestLoaderRetryAttempts:vb,setManifestLoaderRetryInterval:wb,setXHRWithCredentialsForType:xb,getXHRWithCredentialsForType:yb,setJumpGaps:zb,getJumpGaps:Ab,setSmallGapLimit:Bb,getSmallGapLimit:Cb,getLowLatencyEnabled:Ya,setLowLatencyEnabled:Za,setManifestUpdateRetryInterval:Db,getManifestUpdateRetryInterval:Eb,setLongFormContentDurationThreshold:mb,setSegmentOverlapToleranceTime:nb,setCacheLoadThresholdForType:ob,getProtectionController:hc,attachProtectionController:ic,setProtectionData:jc,enableManifestDateHeaderTimeSource:cb,displayCaptionsOnTop:Qb,attachVideoContainer:Tb,attachTTMLRenderingDiv:Wb,getCurrentTextTrackIndex:Pb,getUseDeadTimeLatencyForAbr:Ba,setUseDeadTimeLatencyForAbr:Ca,getThumbnail:kc,reset:d},a(),Lc}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(98),i=d(h),j=a(86),k=d(j),l=a(107),m=d(l),n=a(109),o=d(n),p=a(105),q=d(p),r=a(88),s=d(r),t=a(150),u=d(t),v=a(146),w=d(v),x=a(141),y=d(x),z=a(155),A=d(z),B=a(139),C=d(B),D=a(117),E=d(D),F=a(114),G=d(F),H=a(115),I=d(H),J=a(116),K=d(J),L=a(99),M=d(L),N=a(118),O=d(N),P=a(148),Q=d(P),R=a(44),S=d(R),T=a(45),U=d(T),V=a(49),W=d(V),X=a(91),Y=d(X),Z=a(46),$=d(Z),_=a(47),aa=a(51),ba=d(aa),ca=a(58),da=d(ca),ea=a(53),fa=d(ea),ga=a(76),ha=d(ga),ia=a(182),ja=a(1),ka=d(ja),la=a(9),ma=d(la);e.__dashjs_factory_name="MediaPlayer";var na=$.default.getClassFactory(e);na.events=Y.default,$.default.updateClassFactory(e.__dashjs_factory_name,na),c.default=na,b.exports=c.default},{1:1,105:105,107:107,109:109,114:114,115:115,116:116,117:117,118:118,139:139,141:141,146:146,148:148,150:150,155:155,182:182,44:44,45:45,46:46,47:47,49:49,51:51,53:53,58:58,76:76,86:86,88:88,9:9,91:91,97:97,98:98,99:99}],91:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),
22
- b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(50),i=d(h),j=function(a){function b(){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this),this.AST_IN_FUTURE="astInFuture",this.BUFFER_EMPTY="bufferStalled",this.BUFFER_LOADED="bufferLoaded",this.BUFFER_LEVEL_STATE_CHANGED="bufferStateChanged",this.ERROR="error",this.FRAGMENT_LOADING_COMPLETED="fragmentLoadingCompleted",this.FRAGMENT_LOADING_PROGRESS="fragmentLoadingProgress",this.FRAGMENT_LOADING_STARTED="fragmentLoadingStarted",this.FRAGMENT_LOADING_ABANDONED="fragmentLoadingAbandoned",this.LOG="log",this.MANIFEST_LOADED="manifestLoaded",this.METRICS_CHANGED="metricsChanged",this.METRIC_CHANGED="metricChanged",this.METRIC_ADDED="metricAdded",this.METRIC_UPDATED="metricUpdated",this.PERIOD_SWITCH_COMPLETED="periodSwitchCompleted",this.PERIOD_SWITCH_STARTED="periodSwitchStarted",this.QUALITY_CHANGE_REQUESTED="qualityChangeRequested",this.QUALITY_CHANGE_RENDERED="qualityChangeRendered",this.TRACK_CHANGE_RENDERED="trackChangeRendered",this.SOURCE_INITIALIZED="sourceInitialized",this.STREAM_INITIALIZED="streamInitialized",this.STREAM_TEARDOWN_COMPLETE="streamTeardownComplete",this.TEXT_TRACKS_ADDED="allTextTracksAdded",this.TEXT_TRACK_ADDED="textTrackAdded",this.TTML_PARSED="ttmlParsed",this.TTML_TO_PARSE="ttmlToParse",this.CAN_PLAY="canPlay",this.PLAYBACK_ENDED="playbackEnded",this.PLAYBACK_ERROR="playbackError",this.PLAYBACK_NOT_ALLOWED="playbackNotAllowed",this.PLAYBACK_METADATA_LOADED="playbackMetaDataLoaded",this.PLAYBACK_PAUSED="playbackPaused",this.PLAYBACK_PLAYING="playbackPlaying",this.PLAYBACK_PROGRESS="playbackProgress",this.PLAYBACK_RATE_CHANGED="playbackRateChanged",this.PLAYBACK_SEEKED="playbackSeeked",this.PLAYBACK_SEEKING="playbackSeeking",this.PLAYBACK_SEEK_ASKED="playbackSeekAsked",this.PLAYBACK_STARTED="playbackStarted",this.PLAYBACK_TIME_UPDATED="playbackTimeUpdated",this.PLAYBACK_WAITING="playbackWaiting",this.MANIFEST_VALIDITY_CHANGED="manifestValidityChanged"}return f(b,a),b}(i.default),k=new j;c.default=k,b.exports=c.default},{50:50}],92:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){l=[],m=null,n=null}function c(a){"InitializationSegment"!==a.segmentType?(l.push(a),l.sort(function(a,b){return a.start-b.start}),m=null):m=a,k("PreBufferSink appended chunk s: "+a.start+"; e: "+a.end),n&&n({chunk:a})}function d(a,b){l=l.filter(function(c){return!((isNaN(b)||c.start<b)&&(isNaN(a)||c.end>a))})}function e(){}function f(){for(var a=[],b=0;b<l.length;b++){var c=l[b];0===a.length||c.start>a[a.length-1].end?a.push({start:c.start,end:c.end}):a[a.length-1].end=c.end}var d={start:function(b){return a[b].start},end:function(b){return a[b].end}};return Object.defineProperty(d,"length",{get:function(){return a.length}}),d}function h(a,b){var c=i(a,b);return m&&(c.push(m),m=null),d(a,b),c}function i(a,b){return l.filter(function(c){return(isNaN(b)||c.start<b)&&(isNaN(a)||c.end>a)})}var j=this.context,k=(0,g.default)(j).getInstance().log,l=[],m=void 0,n=a;return{getAllBufferRanges:f,append:c,remove:d,abort:e,discharge:h,reset:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(44),g=d(f),h=a(46),i=d(h);e.__dashjs_factory_name="PreBufferSink";var j=i.default.getClassFactory(e);c.default=j,b.exports=c.default},{44:44,46:46}],93:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b,c){function d(){x=!1;var c=b.codec;try{if(c.match(/application\/mp4;\s*codecs="(stpp|wvtt).*"/i))throw new Error("not really supported");w=a.addSourceBuffer(c)}catch(e){if(!b.isText&&-1===c.indexOf('codecs="stpp')&&-1===c.indexOf('codecs="wvtt'))throw e;var d=(0,q.default)(t).getInstance();w=d.getTextSourceBuffer()}}function e(){if(w){try{a.removeSourceBuffer(w)}catch(b){u("Failed to remove source buffer from media source.")}x=!1,w=null}y=[],z=null}function f(){return w}function h(){return w?w.buffered:[]}function j(a){y.push(a),x||s(w,n.bind(this))}function l(b,c,d){var e=this;s(w,function(){try{b>=0&&c>b&&(d||"ended"!==a.readyState)&&w.remove(b,c),s(w,function(){v.trigger(m.default.SOURCEBUFFER_REMOVE_COMPLETED,{buffer:e,from:b,to:c,unintended:!1})})}catch(f){v.trigger(m.default.SOURCEBUFFER_REMOVE_COMPLETED,{buffer:e,from:b,to:c,unintended:!1,error:new i.default(f.code,f.message,null)})}})}function n(){var a=this,b=this;y.length>0&&function(){x=!0;var c=y[0];y.splice(0,1);var d=[],e=function(){var a=h();o(b,d,a,c),y.length>0?n.call(this):(x=!1,z&&z({chunk:c}))};try{0===c.bytes.length?e.call(a):(d=h(),w.appendBuffer?w.appendBuffer(c.bytes):w.append(c.bytes,c),s(w,e.bind(a)))}catch(f){u('SourceBuffer append failed "'+f+'"'),y.length>0?n():x=!1,z&&z({chunk:c,error:new i.default(f.code,f.message,null)})}}()}function o(a,b,c,d){b&&b.length>0&&b.length<c.length&&p(b,d)&&v.trigger(m.default.SOURCEBUFFER_REMOVE_COMPLETED,{buffer:a,from:c.end(c.length-2),to:c.start(c.length-1),unintended:!0})}function p(a,b){for(var c=0;c<a.length;c++){var d=Math.round(a.start(c)),e=Math.round(a.end(c));if(e===b.start||d===b.end||b.start>=d&&b.end<=e)return!0}return!1}function r(){try{"open"===a.readyState?w.abort():w.setTextTrack&&"ended"===a.readyState&&w.abort()}catch(b){u('SourceBuffer append abort failed: "'+b+'"')}y=[]}function s(a,b){var c=void 0,d=50,e=function(){a.updating||(clearInterval(c),b())},f=function c(){a.updating||(a.removeEventListener("updateend",c,!1),b())};if(!a.updating)return void b();if("function"==typeof a.addEventListener)try{a.addEventListener("updateend",f,!1)}catch(g){c=setInterval(e,d)}else c=setInterval(e,d)}var t=this.context,u=(0,g.default)(t).getInstance().log,v=(0,k.default)(t).getInstance(),w=void 0,x=void 0,y=[],z=c,A={getAllBufferRanges:h,getBuffer:f,append:j,remove:l,abort:r,reset:e};return d(),A}Object.defineProperty(c,"__esModule",{value:!0});var f=a(44),g=d(f),h=a(162),i=d(h),j=a(45),k=d(j),l=a(49),m=d(l),n=a(46),o=d(n),p=a(139),q=d(p);e.__dashjs_factory_name="SourceBufferSink";var r=o.default.getClassFactory(e);c.default=r,b.exports=c.default},{139:139,162:162,44:44,45:45,46:46,49:49}],94:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){h(),pa=(0,m.default)(S).create({mediaPlayerModel:X,metricsModel:ba,errHandler:_}),U.on(s.default.BUFFERING_COMPLETED,M,ha),U.on(s.default.DATA_UPDATE_COMPLETED,N,ha)}function c(a,b){la=a,(oa=b)&&(U.on(s.default.KEY_ERROR,B,ha),U.on(s.default.SERVER_CERTIFICATE_UPDATED,B,ha),U.on(s.default.LICENSE_REQUEST_COMPLETE,B,ha),U.on(s.default.KEY_SYSTEM_SELECTED,B,ha),U.on(s.default.KEY_SESSION_CREATED,B,ha),U.on(s.default.KEY_STATUSES_CHANGED,B,ha))}function d(a){ja||(U.on(s.default.CURRENT_TRACK_CHANGED,E,ha),H(a),ja=!0)}function e(){for(var a=ia?ia.length:0,b=0;b<a;b++){ia[b].getFragmentModel().removeExecutedRequestsBeforeTime(n()+l()),ia[b].reset()}ia=[],ja=!1,ka=!1,U.off(s.default.CURRENT_TRACK_CHANGED,E,ha)}function f(a){for(var b=0;b<ia.length;)D(ia[b].getMediaInfo())?(ia[b].setMediaSource(a),b++):(ia[b].reset(),ia.splice(b,1));for(var b=0;b<ia.length;b++)ia[b].dischargePreBuffer();if(0===ia.length){var c="No streams to play.";_.manifestError(c,"nostreams",V.getValue()),T(c)}}function h(){e(),la=null,ma={},na=!1}function j(){da&&da.pause(),pa&&(pa.reset(),pa=null),h(),T=null,U.off(s.default.DATA_UPDATE_COMPLETED,N,ha),U.off(s.default.BUFFERING_COMPLETED,M,ha),U.off(s.default.KEY_ERROR,B,ha),U.off(s.default.SERVER_CERTIFICATE_UPDATED,B,ha),U.off(s.default.LICENSE_REQUEST_COMPLETE,B,ha),U.off(s.default.KEY_SYSTEM_SELECTED,B,ha),U.off(s.default.KEY_SESSION_CREATED,B,ha),U.off(s.default.KEY_STATUSES_CHANGED,B,ha)}function l(){return la?la.duration:NaN}function n(){return la?la.start:NaN}function p(){return la?la.id:NaN}function r(){return la}function t(){return ra}function v(){return pa}function w(){return qa}function x(){if(!(ca&&ca.hasOwnProperty("getBitrateList")&&Z&&Z.hasOwnProperty("getAllMediaInfoForType")&&Z.hasOwnProperty("getEventsFor")))throw new Error("Missing config parameter(s)")}function y(a){if(x(),a===g.default.IMAGE)return qa?qa.getBitrateList():[];var b=K(a);return ca.getBitrateList(b)}function z(){ra&&ra.start()}function A(){ra&&ra.stop()}function B(a){a.error&&(_.mediaKeySessionError(a.error),T(a.error),j())}function C(a){return a.type===g.default.TEXT?a.mimeType:a.type}function D(a){var b=a.type,c=void 0,d=void 0;if(b===g.default.MUXED&&a)return d="Multiplexed representations are intentionally not supported, as they are not compliant with the DASH-AVC/264 guidelines",T(d),_.manifestError(d,"multiplexedrep",V.getValue()),!1;if(b===g.default.TEXT||b===g.default.FRAGMENTED_TEXT||b===g.default.EMBEDDED_TEXT||b===g.default.IMAGE)return!0;if(c=a.codec,T(b+" codec: "+c),a.contentProtection&&!$.supportsEncryptedMedia())_.capabilityError("encryptedmedia");else if(!$.supportsCodec(c))return d=b+"Codec ("+c+") is not supported.",T(d),!1;return!0}function E(a){if(a.newMediaInfo.streamInfo.id===la.id){var b=O(a.oldMediaInfo);if(b){var c=da.getTime();T("Stream - Process track changed at current time "+c);var d=a.newMediaInfo,e=V.getValue();T("Stream - Update stream controller"),e.refreshManifestOnSwitchTrack?(T("Stream - Refreshing manifest for switch track"),sa=a,Y.refreshManifest()):(b.updateMediaInfo(d),d.type!==g.default.FRAGMENTED_TEXT&&(ca.updateTopQualityIndex(d),b.switchTrackAsked(),b.getFragmentModel().abortRequests()))}}}function F(b,c,d,e){var f=(0,i.default)(S).create({type:C(b),mimeType:b.mimeType,timelineConverter:aa,adapter:Z,manifestModel:V,dashManifestModel:W,mediaPlayerModel:X,metricsModel:ba,dashMetrics:a.dashMetrics,baseURLController:a.baseURLController,stream:ha,abrController:ca,domStorage:a.domStorage,playbackController:da,mediaController:ea,streamController:a.streamController,textController:fa,errHandler:_});if(f.initialize(d),ca.updateTopQualityIndex(b),e?(f.setBuffer(e.buffer),f.getIndexHandler().setCurrentTime(e.currentTime),ia[e.replaceIdx]=f):ia.push(f),!e||!e.ignoreMediaInfo)if(b.type===g.default.TEXT||b.type===g.default.FRAGMENTED_TEXT){for(var h=void 0,j=0;j<c.length;j++)c[j].index===b.index&&(h=j),f.updateMediaInfo(c[j]);b.type===g.default.FRAGMENTED_TEXT&&f.updateMediaInfo(c[h])}else f.updateMediaInfo(b)}function G(b,c){var d=Z.getAllMediaInfoForType(la,b),e=null,f=void 0;if(!d||0===d.length)return void T("No "+b+" data.");for(var h=0,i=d.length;h<i;h++)if(e=d[h],b===g.default.EMBEDDED_TEXT)fa.addEmbeddedTrack(e);else{if(!D(e))continue;ea.addTrack(e)}if(b!==g.default.EMBEDDED_TEXT&&0!==ea.getTracksFor(b,la).length){if(b===g.default.IMAGE)return void(qa=(0,o.default)(S).create({dashManifestModel:W,adapter:Z,baseURLController:a.baseURLController,stream:ha}));ea.checkInitialMediaSettingsForType(b,la),f=ea.getCurrentTrackFor(b,la),F(f,d,c)}}function H(a){x();var b=void 0,c=ga.getElement();if(ra||(ra=(0,k.default)(S).create(),ra.setConfig({manifestModel:V,manifestUpdater:Y,playbackController:da}),b=Z.getEventsFor(la),ra.addInlineEvents(b)),na=!0,I(g.default.VIDEO),I(g.default.AUDIO),(null===c||c&&"VIDEO"===c.nodeName)&&G(g.default.VIDEO,a),G(g.default.AUDIO,a),G(g.default.TEXT,a),G(g.default.FRAGMENTED_TEXT,a),G(g.default.EMBEDDED_TEXT,a),G(g.default.MUXED,a),G(g.default.IMAGE,a),L(),ka=!0,na=!1,0===ia.length){var d="No streams to play.";_.manifestError(d,"nostreams",V.getValue()),T(d)}else J()}function I(a){var b=W.getAdaptationForType(V.getValue(),la.index,a,la);if(!b||!Array.isArray(b.Representation_asArray))return null;b.Representation_asArray=b.Representation_asArray.filter(function(a,c){if(0===c)return!0;var d=W.getCodec(b,c,!0);return!!$.supportsCodec(d)||(T("[Stream] codec not supported: "+d),!1)})}function J(){for(var a=ia.length,b=!!ma.audio||!!ma.video,c=b?new Error(R,"Data update failed",null):null,d=0;d<a;d++)if(ia[d].isUpdating()||na)return;if(ka){if(oa)for(var d=0;d<a&&ia[d];d++)ia[d].getType()!==g.default.AUDIO&&ia[d].getType()!==g.default.VIDEO&&ia[d].getType()!==g.default.FRAGMENTED_TEXT||oa.initializeForMedia(ia[d].getMediaInfo());U.trigger(s.default.STREAM_INITIALIZED,{streamInfo:la,error:c})}}function K(a){for(var b=ia.length,c=null,d=0;d<b;d++)if(c=ia[d],c.getType()===a)return c.getMediaInfo();return null}function L(){for(var a=0,b=ia.length;a<b;a++)ia[a].createBuffer()}function M(a){if(a.streamInfo===la){var b=P(),c=b.length;if(0===c)return void T("[Stream] onBufferingCompleted - can't trigger STREAM_BUFFERING_COMPLETED because no streamProcessor is defined");for(var d=0;d<c;d++)if(!b[d].isBufferingCompleted()&&(b[d].getType()===g.default.AUDIO||b[d].getType()===g.default.VIDEO))return void T("[Stream] onBufferingCompleted - can't trigger STREAM_BUFFERING_COMPLETED because streamProcessor "+b[d].getType()+" is not buffering completed");T("[Stream] onBufferingCompleted - trigger STREAM_BUFFERING_COMPLETED"),U.trigger(s.default.STREAM_BUFFERING_COMPLETED,{streamInfo:la})}}function N(a){var b=a.sender.getStreamProcessor();b.getStreamInfo()===la&&(ma[b.getType()]=a.error,J())}function O(a){return!!a&&P().filter(function(b){return b.getType()===a.type})[0]}function P(){for(var a=ia.length,b=[],c=void 0,d=void 0,e=0;e<a;e++)d=ia[e],(c=d.getType())!==g.default.AUDIO&&c!==g.default.VIDEO&&c!==g.default.FRAGMENTED_TEXT||b.push(d);return b}function Q(a){if(T("Manifest updated... updating data system wide."),ja=!1,na=!0,la=a,ra){var b=Z.getEventsFor(la);ra.addInlineEvents(b)}I(g.default.VIDEO),I(g.default.AUDIO);for(var c=0,d=ia.length;c<d;c++){var e=ia[c],f=Z.getMediaInfoForType(la,e.getType());ca.updateTopQualityIndex(f),e.updateMediaInfo(f)}if(sa){var f=sa.newMediaInfo;if("fragmentedText"!==f.type){var h=O(sa.oldMediaInfo);if(!h)return;h.switchTrackAsked(),sa=void 0}}na=!1,J()}var R=1;a=a||{};var S=this.context,T=(0,u.default)(S).getInstance().log,U=(0,q.default)(S).getInstance(),V=a.manifestModel,W=a.dashManifestModel,X=a.mediaPlayerModel,Y=a.manifestUpdater,Z=a.adapter,$=a.capabilities,_=a.errHandler,aa=a.timelineConverter,ba=a.metricsModel,ca=a.abrController,da=a.playbackController,ea=a.mediaController,fa=a.textController,ga=a.videoModel,ha=void 0,ia=void 0,ja=void 0,ka=void 0,la=void 0,ma=void 0,na=void 0,oa=void 0,pa=void 0,qa=void 0,ra=void 0,sa=void 0;return ha={initialize:c,activate:d,deactivate:e,getDuration:l,getStartTime:n,getId:p,getStreamInfo:r,getFragmentController:v,getThumbnailController:w,getEventController:t,getBitrateListFor:y,startEventController:z,stopEventController:A,updateData:Q,reset:j,getProcessors:P,setMediaSource:f},b(),ha}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(95),i=d(h),j=a(103),k=d(j),l=a(104),m=d(l),n=a(142),o=d(n),p=a(45),q=d(p),r=a(49),s=d(r),t=a(44),u=d(t),v=a(46),w=d(v);e.__dashjs_factory_name="Stream",c.default=w.default.getClassFactory(e),b.exports=c.default},{103:103,104:104,142:142,44:44,45:45,46:46,49:49,95:95,97:97}],95:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){aa&&aa.getIsDynamic()&&(na=(0,i.default)(R).create({timelineConverter:W,streamProcessor:ia})),j()}function c(b){S=(0,u.default)(R).create({mimeType:V,timelineConverter:W,dashMetrics:ga,metricsModel:fa,mediaPlayerModel:Z,baseURLController:a.baseURLController,errHandler:U}),S.initialize(ia),_.registerStreamType(T,ia),pa=$.getFragmentController().getModel(T),pa.setStreamProcessor(ia),la=Q(T),ma=(0,o.default)(R).create({type:T,metricsModel:fa,adapter:X,dashMetrics:ga,dashManifestModel:ha,timelineConverter:W,mediaPlayerModel:Z,abrController:_,playbackController:aa,streamController:ba,textController:da,streamProcessor:ia,mediaController:ca}),oa=(0,q.default)(R).create(),oa.setConfig({abrController:_,domStorage:ea,metricsModel:fa,dashMetrics:ga,dashManifestModel:ha,manifestModel:Y,playbackController:aa,timelineConverter:W,streamProcessor:ia}),la.initialize(b),ma.initialize(),oa.initialize()}function d(a){qa.push(a)}function e(a){var b=qa.indexOf(a);-1!==b&&qa.splice(b,1)}function f(){return qa}function h(){qa=[]}function j(){ka=[],ja=null,h()}function l(a){S.reset(),la&&(la.reset(a),la=null),ma&&(ma.reset(),ma=null),oa&&(oa.reset(),oa=null),_&&_.unRegisterStreamType(T),qa.forEach(function(a){a.reset()}),j(),T=null,$=null,na&&(na.reset(),na=null)}function n(){return!!oa&&oa.isUpdating()}function p(){return T}function r(){return oa}function s(){return S}function t(){return $?$.getFragmentController():null}function v(){return la.getBuffer()}function w(a){la.setBuffer(a)}function x(){return la}function y(){return pa}function z(){return na}function A(){return $?$.getStreamInfo():null}function B(){return $?$.getEventController():null}function C(a){a===ja||a&&ja&&a.type!==ja.type||(ja=a),-1===ka.indexOf(a)&&ka.push(a),X.updateData(this)}function D(){return ka}function E(){return ja}function F(){return la.getMediaSource()}function G(a){la.setMediaSource(a,E())}function H(){la.dischargePreBuffer()}function I(){return ma}function J(){return X.getCurrentRepresentationInfo(oa)}function K(a){return X.getRepresentationInfoForQuality(oa,a)}function L(){return!!la&&la.getIsBufferingCompleted()}function M(){return la.getBufferLevel()}function N(a,b){la&&la.switchInitData(A().id,a,b)}function O(){return la.getBuffer()||la.createBuffer(ja)}function P(){ma.switchTrackAsked()}function Q(a){return a===g.default.VIDEO||a===g.default.AUDIO?(0,k.default)(R).create({type:a,metricsModel:fa,mediaPlayerModel:Z,manifestModel:Y,errHandler:U,streamController:ba,mediaController:ca,adapter:X,textController:da,abrController:_,playbackController:aa,streamProcessor:ia}):(0,m.default)(R).create({type:a,metricsModel:fa,mediaPlayerModel:Z,manifestModel:Y,errHandler:U,streamController:ba,mediaController:ca,adapter:X,textController:da,abrController:_,playbackController:aa,streamProcessor:ia})}a=a||{};var R=this.context,S=void 0,T=a.type,U=a.errHandler,V=a.mimeType,W=a.timelineConverter,X=a.adapter,Y=a.manifestModel,Z=a.mediaPlayerModel,$=a.stream,_=a.abrController,aa=a.playbackController,ba=a.streamController,ca=a.mediaController,da=a.textController,ea=a.domStorage,fa=a.metricsModel,ga=a.dashMetrics,ha=a.dashManifestModel,ia=void 0,ja=void 0,ka=void 0,la=void 0,ma=void 0,na=void 0,oa=void 0,pa=void 0,qa=void 0;return ia={initialize:c,isUpdating:n,getType:p,getBufferController:x,getFragmentModel:y,getScheduleController:I,getLiveEdgeFinder:z,getEventController:B,getFragmentController:t,getRepresentationController:r,getIndexHandler:s,getCurrentRepresentationInfo:J,getRepresentationInfoForQuality:K,getBufferLevel:M,switchInitData:N,isBufferingCompleted:L,createBuffer:O,getStreamInfo:A,updateMediaInfo:C,switchTrackAsked:P,getMediaInfoArr:D,getMediaInfo:E,getMediaSource:F,setMediaSource:G,dischargePreBuffer:H,getBuffer:v,setBuffer:w,registerExternalController:d,unregisterExternalController:e,getExternalControllers:f,unregisterAllExternalController:h,reset:l},b(),ia}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(153),i=d(h),j=a(102),k=d(j),l=a(138),m=d(l),n=a(108),o=d(n),p=a(57),q=d(p),r=a(46),s=d(r),t=a(52),u=d(t);e.__dashjs_factory_name="StreamProcessor",c.default=s.default.getClassFactory(e),b.exports=c.default},{102:102,108:108,138:138,153:153,46:46,52:52,57:57,97:97}],96:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a,b,c){var e=function(d,e){b.resolved=!0,b.resolvedContent=d||null,f.trigger(p.default.XLINK_ELEMENT_LOADED,{element:b,resolveObject:c,error:d||e?null:new g.default(s,"Failed loading Xlink element: "+a)})};if(a===d)e(null,!0);else{var i=new l.default(a,j.HTTPRequest.XLINK_TYPE);h.load({request:i,success:function(a){e(a)},error:function(){e(null)}})}}function c(){h&&(h.abort(),h=null)}a=a||{};var d="urn:mpeg:dash:resolve-to-zero:2013",e=this.context,f=(0,n.default)(e).getInstance(),h=(0,i.default)(e).create({errHandler:a.errHandler,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,requestModifier:a.requestModifier});return{load:b,reset:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(162),g=d(f),h=a(120),i=d(h),j=a(182),k=a(173),l=d(k),m=a(45),n=d(m),o=a(49),p=d(o),q=a(46),r=d(q),s=1;e.__dashjs_factory_name="XlinkLoader";var t=r.default.getClassFactory(e);t.XLINK_LOADER_ERROR_LOADING_FAILURE=s,r.default.updateClassFactory(e.__dashjs_factory_name,t),c.default=t,b.exports=c.default},{120:120,162:162,173:173,182:182,45:45,46:46,49:49}],97:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(){d(this,a),this.init()}return e(a,[{key:"init",value:function(){this.STREAM="stream",this.VIDEO="video",this.AUDIO="audio",this.TEXT="text",this.FRAGMENTED_TEXT="fragmentedText",this.EMBEDDED_TEXT="embeddedText",this.MUXED="muxed",this.IMAGE="image",this.LOCATION="Location",this.INITIALIZE="initialize",this.TEXT_SHOWING="showing",this.TEXT_HIDDEN="hidden",this.CC1="CC1",this.CC3="CC3",this.STPP="stpp",this.TTML="ttml",this.VTT="vtt",this.WVTT="wvtt",this.UTF8="utf-8",this.SUGGESTED_PRESENTATION_DELAY="suggestedPresentationDelay",this.SCHEME_ID_URI="schemeIdUri",this.START_TIME="starttime",this.ABR_STRATEGY_DYNAMIC="abrDynamic",this.ABR_STRATEGY_BOLA="abrBola",this.ABR_STRATEGY_THROUGHPUT="abrThroughput",this.MOVING_AVERAGE_SLIDING_WINDOW="slidingWindow",this.MOVING_AVERAGE_EWMA="ewma"}}]),a}(),g=new f;c.default=g,b.exports=c.default},{}],98:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(){d(this,a),this.init()}return e(a,[{key:"init",value:function(){this.TCP_CONNECTION="TcpList",this.HTTP_REQUEST="HttpList",this.TRACK_SWITCH="RepSwitchList",this.BUFFER_LEVEL="BufferLevel",this.BUFFER_STATE="BufferState",this.DVR_INFO="DVRInfo",this.DROPPED_FRAMES="DroppedFrames",this.SCHEDULING_INFO="SchedulingInfo",this.REQUESTS_QUEUE="RequestsQueue",this.MANIFEST_UPDATE="ManifestUpdate",this.MANIFEST_UPDATE_STREAM_INFO="ManifestUpdatePeriodInfo",this.MANIFEST_UPDATE_TRACK_INFO="ManifestUpdateRepresentationInfo",this.PLAY_LIST="PlayList",this.DVB_ERRORS="DVBErrors"}}]),a}(),g=new f;c.default=g,b.exports=c.default},{}],99:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){va=sa.log.bind(ua),e()}function b(a,b){Sa[a]=(0,A.default)(ra).create(),Da[a]=b,Ea[a]=Ea[a]||{},Ea[a].state=J,Va[a]=!1,ta.on(s.default.LOADING_PROGRESS,qa,this),a==i.default.VIDEO&&(ta.on(s.default.QUALITY_CHANGE_RENDERED,j,this),Ta=(0,C.default)(ra).create(),oa()),ta.on(s.default.METRIC_ADDED,l,this),Ua=(0,E.default)(ra).create({mediaPlayerModel:Pa})}function c(a){delete Da[a]}function d(){wa=(0,g.default)(ra).create({metricsModel:Wa,dashMetrics:Xa,mediaPlayerModel:Pa,adapter:Na}),wa.initialize()}function e(){ya={video:!0,audio:!0},za={},Aa={},Ba={},Ca={},Ea={},Da={},Sa={},Va={},Ga=!1,Ya=!0,Ha=!1,void 0===Ia&&(Ia=!1),Ra=void 0,Ta=void 0,Ua=void 0,clearTimeout(Fa),Fa=null}function f(){e(),ta.off(s.default.LOADING_PROGRESS,qa,this),ta.off(s.default.QUALITY_CHANGE_RENDERED,j,this),ta.off(s.default.METRIC_ADDED,l,this),wa&&wa.reset()}function h(a){a&&(a.streamController&&(xa=a.streamController),a.domStorage&&(Qa=a.domStorage),a.mediaPlayerModel&&(Pa=a.mediaPlayerModel),a.metricsModel&&(Wa=a.metricsModel),a.dashMetrics&&(Xa=a.dashMetrics),a.dashManifestModel&&(Ma=a.dashManifestModel),a.adapter&&(Na=a.adapter),a.manifestModel&&(La=a.manifestModel),a.videoModel&&(Oa=a.videoModel))}function j(a){a.mediaType===i.default.VIDEO&&(Ra=a.oldQuality,Ta.push(Ra,Oa.getPlaybackQuality()))}function l(a){a.metric!==k.default.HTTP_REQUEST||!a.value||a.value.type!==F.HTTPRequest.MEDIA_SEGMENT_TYPE||a.mediaType!==i.default.AUDIO&&a.mediaType!==i.default.VIDEO||Ua.push(a.mediaType,a.value,Ya),a.metric!==k.default.BUFFER_LEVEL||a.mediaType!==i.default.AUDIO&&a.mediaType!==i.default.VIDEO||da(a.mediaType,.001*a.value.level)}function n(a,b){var c=void 0;return za[b]=za[b]||{},za[b].hasOwnProperty(a)||(za[b][a]=0),c=la(za[b][a],a),c=ma(c,a,za[b][a]),c=pa(c,a)}function p(a){if(a&&Da&&Da[a]){var b=Da[a].getStreamInfo();if(b.id){var c=n(a,b.id),d=ca(Da[a].getMediaInfo());return d[c]?d[c]:null}}return null}function r(a){var b=Qa.getSavedBitrateSettings(a);if(!Ba.hasOwnProperty(a))if(Ca.hasOwnProperty(a)){var c=La.getValue(),d=Ma.getAdaptationForType(c,0,a).Representation;if(Array.isArray(d)){var e=Math.max(Math.round(d.length*Ca[a])-1,0);Ba[a]=d[e].bandwidth}else Ba[a]=0}else isNaN(b)?Ba[a]=a===i.default.VIDEO?K:L:Ba[a]=b;return Ba[a]}function t(a,b){Ba[a]=b}function u(a){return Ca.hasOwnProperty(a)?Ca[a]:null}function v(a,b){Ca[a]=b}function x(a){return Ba.hasOwnProperty("max")&&Ba.max.hasOwnProperty(a)?Ba.max[a]:NaN}function z(a){return Ba.hasOwnProperty("min")&&Ba.min.hasOwnProperty(a)?Ba.min[a]:NaN}function B(a,b){Ba.max=Ba.max||{},Ba.max[a]=b}function D(a,b){Ba.min=Ba.min||{},Ba.min[a]=b}function G(a){var b=x(a);return b?ba(Da[a].getMediaInfo(),b):void 0}function N(a){var b=z(a);if(b){var c=ca(Da[a].getMediaInfo()),d=ba(Da[a].getMediaInfo(),b);return c[d]&&d<c.length-1&&c[d].bitrate<1e3*b&&d++,d}}function O(a){return Ca.hasOwnProperty("max")&&Ca.max.hasOwnProperty(a)?Ca.max[a]:1}function P(a,b){Ca.max=Ca.max||{},Ca.max[a]=b}function Q(a){return ya[a]}function R(a,b){ya[a]=b}function S(){return Ga}function T(a){Ga=a}function U(){return Ha}function V(a){Ha=a}function W(){return Ya}function X(a){Ya=a}function Y(a){if(a&&Da&&Da[a]){var b=Da[a].getStreamInfo(),c=b?b.id:null,d=ia(a),e=(0,w.default)(ra).create({abrController:ua,streamProcessor:Da[a],currentValue:d,switchHistory:Sa[a],droppedFramesHistory:Ta,useBufferOccupancyABR:ea(a)});if(Ta){var f=Oa.getPlaybackQuality();f&&Ta.push(Ra,f)}if(Q(a)){var g=N(a),h=n(a,c),i=wa.getMaxQuality(e),j=i.quality;if(void 0!==g&&j<g&&(j=g),j>h&&(j=h),Sa[a].push({oldValue:d,newValue:j}),j>y.default.NO_CHANGE&&j!=d)(Ea[a].state===J||j>d)&&$(a,d,j,h,i.reason);else if(sa.getLogToBrowserConsole()){var k=Xa.getCurrentBufferLevel(Wa.getReadOnlyMetricsFor(a));va("AbrController ("+a+") stay on "+d+"/"+h+" (buffer: "+k+")")}}}}function Z(a,b,c,d){var e=b.id,f=ia(a);if(null===c||isNaN(c)||c%1!=0)throw new Error("argument is not an integer");var g=n(a,e);c!==f&&c>=0&&c<=g&&$(a,f,c,g,d)}function $(a,b,c,d,e){if(a&&Da[a]){var f=Da[a].getStreamInfo(),g=f?f.id:null;if(sa.getLogToBrowserConsole()){var h=Xa.getCurrentBufferLevel(Wa.getReadOnlyMetricsFor(a));va("AbrController ("+a+") switch from "+b+" to "+c+"/"+d+" (buffer: "+h+") "+(e?JSON.stringify(e):"."))}ja(a,g,c),ta.trigger(s.default.QUALITY_CHANGE_REQUESTED,{mediaType:a,streamInfo:f,oldQuality:b,newQuality:c,reason:e})}}function _(a,b){Ea[a].state=b}function aa(a){return Ea[a]?Ea[a].state:null}function ba(a,b,c){if(Ya&&c&&Da[a.type].getCurrentRepresentationInfo()&&Da[a.type].getCurrentRepresentationInfo().fragmentDuration){c/=1e3;var d=Da[a.type].getCurrentRepresentationInfo().fragmentDuration;if(c>d)return 0;b*=1-c/d}var e=ca(a);if(!e||0===e.length)return M;for(var f=e.length-1;f>=0;f--){if(1e3*b>=e[f].bitrate)return f}return 0}function ca(a){if(!a||!a.bitrateList)return null;for(var b=a.bitrateList,c=a.type,d=[],e=void 0,f=0,g=b.length;f<g;f++)e=new m.default,e.mediaType=c,e.qualityIndex=f,e.bitrate=b[f].bandwidth,e.width=b[f].width,e.height=b[f].height,e.scanType=b[f].scanType,d.push(e);return d}function da(a,b){var c=Pa.getABRStrategy();if(c===i.default.ABR_STRATEGY_BOLA)return void(Va[a]=!0);if(c===i.default.ABR_STRATEGY_THROUGHPUT)return void(Va[a]=!1);var d=Pa.getStableBufferTime(),e=d,f=.5*d,g=Va[a],h=b>(g?f:e);Va[a]=h,h!==g&&va(h?"AbrController ("+a+") switching from throughput to buffer occupancy ABR rule (buffer: "+b.toFixed(3)+").":"AbrController ("+a+") switching from buffer occupancy to throughput ABR rule (buffer: "+b.toFixed(3)+").")}function ea(a){return Va[a]}function fa(){return Ua}function ga(a){var b=a.type,c=a.streamInfo.id,d=a.representationCount-1;return ka(b,c,d),d}function ha(a){var b=a.id,c=ia(i.default.AUDIO),d=ia(i.default.VIDEO);return c===n(i.default.AUDIO,b)&&d===n(i.default.VIDEO,b)}function ia(a){if(a&&Da[a]){var b=Da[a].getStreamInfo(),c=b?b.id:null;if(c)return Aa[c]=Aa[c]||{},Aa[c].hasOwnProperty(a)||(Aa[c][a]=M),Aa[c][a]}return M}function ja(a,b,c){Aa[b]=Aa[b]||{},Aa[b][a]=c}function ka(a,b,c){za[b]=za[b]||{},za[b][a]=c}function la(a,b){var c=a;if(!Da[b])return c;var d=N(b);void 0!==d&&(c=Math.max(a,d));var e=G(b);return void 0!==e&&(c=Math.min(c,e)),c}function ma(a,b,c){var d=O(b);return isNaN(d)||d>=1||d<0?a:Math.min(a,Math.round(c*d))}function na(a){Ia=a}function oa(){if(Oa){var a=Ha&&window.hasOwnProperty("devicePixelRatio"),b=a?window.devicePixelRatio:1;Ja=Oa.getClientWidth()*b,Ka=Oa.getClientHeight()*b}}function pa(a,b){if(b!==i.default.VIDEO||!Ga||!Da[b])return a;Ia||oa();var c=La.getValue(),d=Ma.getAdaptationForType(c,0,b).Representation,e=a;if(Ja>0&&Ka>0){for(;e>0&&d[e]&&Ja<d[e].width&&Ja-d[e-1].width<d[e].width-Ja;)e-=1;d.length-2>=e&&d[e].width===d[e+1].width&&(e=Math.min(a,e+1))}return e}function qa(a){var b=a.request.mediaType;if(Q(b)){var c=Da[b];if(!c)return;var d=(0,w.default)(ra).create({abrController:ua,streamProcessor:c,currentRequest:a.request,useBufferOccupancyABR:ea(b)}),e=wa.shouldAbandonFragment(d);if(e.quality>y.default.NO_CHANGE){var f=c.getFragmentModel();f.getRequests({state:o.default.FRAGMENT_MODEL_LOADING,index:a.request.index})[0]&&(f.abortRequests(),_(b,I),Sa[b].reset(),Sa[b].push({oldValue:ia(b,xa.getActiveStreamInfo()),newValue:e.quality,confidence:1,reason:e.reason}),Z(b,xa.getActiveStreamInfo(),e.quality,e.reason),clearTimeout(Fa),Fa=setTimeout(function(){_(b,J),Fa=null},Pa.getAbandonLoadTimeout()))}}}var ra=this.context,sa=(0,H.default)(ra).getInstance(),ta=(0,q.default)(ra).getInstance(),ua=void 0,va=void 0,wa=void 0,xa=void 0,ya=void 0,za=void 0,Aa=void 0,Ba=void 0,Ca=void 0,Da=void 0,Ea=void 0,Fa=void 0,Ga=void 0,Ha=void 0,Ia=void 0,Ja=void 0,Ka=void 0,La=void 0,Ma=void 0,Na=void 0,Oa=void 0,Pa=void 0,Qa=void 0,Ra=void 0,Sa=void 0,Ta=void 0,Ua=void 0,Va=void 0,Wa=void 0,Xa=void 0,Ya=void 0;return ua={isPlayingAtTopQuality:ha,updateTopQualityIndex:ga,getThroughputHistory:fa,getBitrateList:ca,getQualityForBitrate:ba,getMaxAllowedBitrateFor:x,getTopBitrateInfoFor:p,getMinAllowedBitrateFor:z,setMaxAllowedBitrateFor:B,setMinAllowedBitrateFor:D,getMaxAllowedIndexFor:G,getMinAllowedIndexFor:N,getMaxAllowedRepresentationRatioFor:O,setMaxAllowedRepresentationRatioFor:P,getInitialBitrateFor:r,setInitialBitrateFor:t,getInitialRepresentationRatioFor:u,setInitialRepresentationRatioFor:v,setAutoSwitchBitrateFor:R,getAutoSwitchBitrateFor:Q,getUseDeadTimeLatency:W,setUseDeadTimeLatency:X,setLimitBitrateByPortal:T,getLimitBitrateByPortal:S,getUsePixelRatioInLimitBitrateByPortal:U,setUsePixelRatioInLimitBitrateByPortal:V,getQualityFor:ia,getAbandonmentStateFor:aa,setPlaybackQuality:Z,checkPlaybackQuality:Y,getTopQualityIndexFor:n,setElementSize:oa,setWindowResizeEventCalled:na,createAbrRulesCollection:d,registerStreamType:b,unRegisterStreamType:c,setConfig:h,reset:f},a(),ua}Object.defineProperty(c,"__esModule",{value:!0})
23
- ;var f=a(127),g=d(f),h=a(97),i=d(h),j=a(98),k=d(j),l=a(161),m=d(l),n=a(113),o=d(n),p=a(45),q=d(p),r=a(49),s=d(r),t=a(46),u=d(t),v=a(123),w=d(v),x=a(124),y=d(x),z=a(125),A=d(z),B=a(122),C=d(B),D=a(126),E=d(D),F=a(182),G=a(44),H=d(G),I="abandonload",J="allowload",K=1e3,L=100,M=0;e.__dashjs_factory_name="AbrController";var N=u.default.getSingletonFactory(e);N.ABANDON_LOAD=I,N.QUALITY_DEFAULT=M,u.default.updateSingletonFactory(e.__dashjs_factory_name,N),c.default=N,b.exports=c.default},{113:113,122:122,123:123,124:124,125:125,126:126,127:127,161:161,182:182,44:44,45:45,46:46,49:49,97:97,98:98}],100:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){r.invalidateSelectedIndexes(a.entry)}function b(){r=(0,g.default)(n).create(),t=(0,i.default)(n).create(),o.on(s.default.SERVICE_LOCATION_BLACKLIST_CHANGED,a,j)}function c(a){a.baseURLTreeModel&&(r=a.baseURLTreeModel),a.baseURLSelector&&(t=a.baseURLSelector),a.dashManifestModel&&(l=a.dashManifestModel)}function d(a){r.update(a),t.chooseSelectorFromManifest(a)}function e(a){var b=r.getForPath(a),c=b.reduce(function(a,b){var c=t.select(b);return c?(p.isRelative(c.url)?a.url=p.resolve(c.url,a.url):(a.url=c.url,a.serviceLocation=c.serviceLocation),a.availabilityTimeOffset=c.availabilityTimeOffset,a.availabilityTimeComplete=c.availabilityTimeComplete,a):new m.default},new m.default);if(!p.isRelative(c.url))return c}function f(){r.reset(),t.reset()}function h(a){r.setConfig({dashManifestModel:l}),t.setConfig({dashManifestModel:l}),d(a)}var j=void 0,l=void 0,n=this.context,o=(0,q.default)(n).getInstance(),p=(0,k.default)(n).getInstance(),r=void 0,t=void 0;return j={reset:f,initialize:h,resolve:e,setConfig:c},b(),j}Object.defineProperty(c,"__esModule",{value:!0});var f=a(112),g=d(f),h=a(144),i=d(h),j=a(157),k=d(j),l=a(79),m=d(l),n=a(46),o=d(n),p=a(45),q=d(p),r=a(49),s=d(r);e.__dashjs_factory_name="BaseURLController",c.default=o.default.getSingletonFactory(e),b.exports=c.default},{112:112,144:144,157:157,45:45,46:46,49:49,79:79}],101:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a){return!!(g.length&&a&&a.length)&&-1!==g.indexOf(a)}function c(a){-1===g.indexOf(a)&&(g.push(a),h.trigger(j,{entry:a}))}function d(a){c(a.entry)}function e(){k&&h.on(k,d,this)}function f(){g=[]}a=a||{};var g=[],h=(0,i.default)(this.context).getInstance(),j=a.updateEventName,k=a.addBlacklistEventName;return e(),{add:c,contains:b,reset:f}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(45),i=d(h);e.__dashjs_factory_name="BlackListController",c.default=g.default.getClassFactory(e),b.exports=c.default},{45:45,46:46}],102:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){Da=(0,A.default)(pa).getInstance().log.bind(Ca),Sa=(0,C.default)(pa).getInstance(),Wa=[],na()}function c(){return K}function d(a){ha(a),Ea=ya.getQualityFor(Aa,Ba.getStreamInfo()),qa.on(u.default.DATA_UPDATE_COMPLETED,Z,this),qa.on(u.default.INIT_FRAGMENT_LOADED,j,this),qa.on(u.default.MEDIA_FRAGMENT_LOADED,n,this),qa.on(u.default.QUALITY_CHANGE_REQUESTED,t,this),qa.on(u.default.STREAM_COMPLETED,$,this),qa.on(u.default.PLAYBACK_PROGRESS,B,this),qa.on(u.default.PLAYBACK_TIME_UPDATED,B,this),qa.on(u.default.PLAYBACK_RATE_CHANGED,ba,this),qa.on(u.default.PLAYBACK_SEEKING,v,this),qa.on(u.default.WALLCLOCK_TIME_UPDATED,aa,this),qa.on(u.default.CURRENT_TRACK_CHANGED,_,this,s.default.EVENT_PRIORITY_HIGH),qa.on(u.default.SOURCEBUFFER_REMOVE_COMPLETED,X,this)}function e(a){if(!Sa||!a||!Ba)return null;if(Ia)try{La=(0,k.default)(pa).create(Ia,a,r.bind(this)),"function"==typeof La.getBuffer().initialize&&La.getBuffer().initialize(Aa,Ba)}catch(b){Da("Caught error on create SourceBuffer: "+b),ta.mediaSourceError("Error creating "+Aa+" source buffer.")}else La=(0,m.default)(pa).create(r.bind(this));Y(Ba.getRepresentationInfoForQuality(Ea).MSETimeOffset)}function f(){if(La&&Ma&&"function"==typeof Ma.discharge){var a=Ma.getAllBufferRanges();if(a.length>0){for(var b="Beginning "+Aa+"PreBuffer discharge, adding buffer for:",c=0;c<a.length;c++)b+=" start: "+a.start(c)+", end: "+a.end(c)+";";Da(b)}else Da("PreBuffer discharge requested, but there were no media segments in the PreBuffer.");for(var d=Ma.discharge(),e=null,f=0;f<d.length;f++){var g=d[f],h=Sa.extract(g.streamId,g.representationId);h&&(e!==h&&(La.append(h),e=h),La.append(g))}Ma.reset(),Ma=null}}function h(){return!(!Ba||!ua)&&Ba.getStreamInfo().id===ua.getActiveStreamInfo().id}function j(a){a.fragmentModel===Ba.getFragmentModel()&&(Da("Init fragment finished loading saving to",Aa+"'s init cache"),Sa.save(a.chunk),Da("Append Init fragment",Aa," with representationId:",a.chunk.representationId," and quality:",a.chunk.quality),p(a.chunk))}function l(a,b,c){var d=Sa.extract(a,b);Xa=!0===c&&c,d?(Da("Append Init fragment",Aa," with representationId:",d.representationId," and quality:",d.quality),p(d)):qa.trigger(u.default.INIT_REQUESTED,{sender:Ca})}function n(a){if(a.fragmentModel===Ba.getFragmentModel()){var b=a.chunk,c=b.bytes,d=b.quality,e=Ba.getRepresentationInfoForQuality(d),f=wa.getEventsFor(e.mediaInfo,Ba),g=wa.getEventsFor(e,Ba);if(f&&f.length>0||g&&g.length>0){var h=Ba.getFragmentModel().getRequests({state:i.default.FRAGMENT_MODEL_EXECUTED,quality:d,index:b.index})[0],j=S(c,h,f,g);Ba.getEventController().addInbandEvents(j)}if(Xa){Ya=b;var k=La&&La.getAllBufferRanges();k&&k.length>0&&za.getTimeToStreamEnd()>G&&(Da("Clearing buffer because track changed - "+(k.end(k.length-1)+H)),V([{start:0,end:k.end(k.length-1)+H,force:!0}]))}else p(b)}}function p(a,b){!Qa||b?(Qa=!0,Oa=a,La.append(a),a.mediaInfo.type===g.default.VIDEO&&qa.trigger(u.default.VIDEO_CHUNK_RECEIVED,{chunk:a})):Wa.push(a)}function r(a){if(a.error){if(a.error.code===J&&(Ha=.8*la(),Da("Quota exceeded for type: "+Aa+", Critical Buffer: "+Ha),Ha>0)){var b=Math.max(.2*Ha,1),c=Ha-b;sa.setBufferToKeep(parseFloat(b).toFixed(5)),sa.setBufferAheadToKeep(parseFloat(c).toFixed(5))}return void(a.error.code!==J&&ma()||(Da("Clearing playback buffer to overcome quota exceed situation for type: "+Aa),qa.trigger(u.default.QUOTA_EXCEEDED,{sender:Ca,criticalBufferLevel:Ha}),x()))}(Oa=a.chunk)&&!isNaN(Oa.index)&&(Ja=Math.max(Oa.index,Ja),P());var d=La.getAllBufferRanges();if(Oa.segmentType===D.HTTPRequest.MEDIA_SEGMENT_TYPE)B();else if(Xa){var e=za.getTime();Da("[BufferController][",Aa,"] appendToBuffer seek target should be "+e),Ba.getScheduleController().setSeekTarget(e),wa.setIndexHandlerTime(Ba,e)}var f={sender:Ca,quality:Oa.quality,startTime:Oa.start,index:Oa.index,bufferedRanges:d};if(Oa&&!Oa.endFragment?qa.trigger(u.default.BYTES_APPENDED,f):Oa&&qa.trigger(u.default.BYTES_APPENDED_END_FRAGMENT,f),0===Wa.length)Qa=!1;else{p(Wa.shift(),!0)}}function t(a){Ea!==a.newQuality&&Aa===a.mediaType&&Ba.getStreamInfo().id===a.streamInfo.id&&(Y(Ba.getRepresentationInfoForQuality(a.newQuality).MSETimeOffset),Ea=a.newQuality)}function v(){Fa&&(Ua=!0,Fa=!1,Ka=Number.POSITIVE_INFINITY),Wa=[],Qa=!1,Aa!==g.default.FRAGMENTED_TEXT?x():B(),Ta=void 0}function x(){var a=y();a&&0!==a.length||B(),V(a)}function y(){var a=[],b=La.getAllBufferRanges();if(!b||0===b.length)return a;var c=za.getTime(),d=b.end(b.length-1)+H,e=Ba.getFragmentModel().getRequests({state:i.default.FRAGMENT_MODEL_EXECUTED,time:c,threshold:I})[0];if(e){var f={start:0,end:e.startTime-G},g=Ba.getFragmentModel().getRequests({state:i.default.FRAGMENT_MODEL_EXECUTED,time:e.startTime-e.duration/2,threshold:I})[0];g&&g.startTime!=e.startTime&&(f.end=g.startTime),f.start<f.end&&f.end>b.start(0)&&a.push(f);var h={start:e.startTime+e.duration+G,end:d},j=Ba.getFragmentModel().getRequests({state:i.default.FRAGMENT_MODEL_EXECUTED,time:e.startTime+e.duration+G,threshold:I})[0];j&&j.startTime!==e.startTime&&(h.start=j.startTime+j.duration+G),h.start<h.end&&h.start<d&&a.push(h)}else Da("getAllRangesWithSafetyFactor for",Aa,"- No request found in current time position, removing full buffer 0 -",d),a.push({start:0,end:d});return a}function z(){var a=za.getTime();if(Ta){var b=La.getAllBufferRanges();b&&b.length&&(a=Math.max(b.start(0),Ta))}return a}function B(){Xa||(N(),O())}function L(a,b){var c=La.getAllBufferRanges(),d=0,e=0,f=null,g=null,h=0,i=void 0,j=void 0,k=b||.15;if(null!==c&&void 0!==c){for(j=0,i=c.length;j<i;j++)if(d=c.start(j),e=c.end(j),null===f)h=Math.abs(d-a),a>=d&&a<e?(f=d,g=e):h<=k&&(f=d,g=e);else{if(!((h=d-g)<=k))break;g=e}if(null!==f)return{start:f,end:g}}return null}function M(a,b){var c=void 0;return c=L(a,b),null===c?0:c.end-a}function N(){za&&(Ga=M(z()||0),qa.trigger(u.default.BUFFER_LEVEL_UPDATED,{sender:Ca,bufferLevel:Ga}),Q())}function O(){h()&&(ra.addBufferState(Aa,Na,Ba.getScheduleController().getBufferTarget()),ra.addBufferLevel(Aa,new Date,1e3*Ga))}function P(){Ja>=Ka-1&&!Fa&&void 0===La.discharge&&(Fa=!0,Da("[BufferController]["+Aa+"] checkIfBufferingCompleted trigger BUFFERING_COMPLETED"),qa.trigger(u.default.BUFFERING_COMPLETED,{sender:Ca,streamInfo:Ba.getStreamInfo()}))}function Q(){"audio"!==Aa&&"video"!==Aa||(Ua&&!Fa&&za&&za.getTimeToStreamEnd()-Ga<G&&(Ua=!1,Fa=!0,Da("[BufferController]["+Aa+"] checkIfSufficientBuffer trigger BUFFERING_COMPLETED"),qa.trigger(u.default.BUFFERING_COMPLETED,{sender:Ca,streamInfo:Ba.getStreamInfo()})),Ga<G&&!Fa?R(F):(Fa||Ga>=sa.getStableBufferTime())&&R(E))}function R(a){Na===a||Aa===g.default.FRAGMENTED_TEXT&&!xa.isTextEnabled()||(Na=a,O(),qa.trigger(u.default.BUFFER_LEVEL_STATE_CHANGED,{sender:Ca,state:a,mediaType:Aa,streamInfo:Ba.getStreamInfo()}),qa.trigger(a===E?u.default.BUFFER_LOADED:u.default.BUFFER_EMPTY,{mediaType:Aa}),Da(a===E?"Got enough buffer to start for "+Aa:"Waiting for more buffer before starting playback for "+Aa))}function S(a,b,c,d){for(var e=Math.max(!b||isNaN(b.startTime)?0:b.startTime,0),f=[],g=[],h=c.concat(d),i=0,j=h.length;i<j;i++)f[h[i].schemeIdUri]=h[i];for(var k=(0,w.default)(pa).getInstance().parse(a),l=k.getBoxes("emsg"),i=0,j=l.length;i<j;i++){var m=wa.getEvent(l[i],f,e);m&&g.push(m)}return g}function T(){La&&Aa!==g.default.FRAGMENTED_TEXT&&(Fa||V(U()))}function U(){var a=[],b=La.getAllBufferRanges();if(!b||0===b.length)return a;var c=za.getTime(),d={start:Math.max(0,c-sa.getBufferToKeep()),end:c+sa.getBufferAheadToKeep()},e=Ba.getFragmentModel().getRequests({state:i.default.FRAGMENT_MODEL_EXECUTED,time:c,threshold:I})[0];if(e)d.start=Math.min(e.startTime,d.start),d.end=Math.max(e.startTime+e.duration,d.end);else if(0===c&&za.getIsDynamic())return[];if(b.start(0)<=d.start){for(var f={start:0,end:d.start},g=0;g<b.length&&b.end(g)<=d.start;g++)f.end=b.end(g);f.start<f.end&&a.push(f)}if(b.end(b.length-1)>=d.end){var h={start:d.end,end:b.end(b.length-1)+I};h.start<h.end&&a.push(h)}return a}function V(a){a&&La&&0!==a.length&&(Va.push.apply(Va,a),Ra||W())}function W(){if(0===Va.length||!La)return Da("Nothing to prune, halt pruning"),Va=[],void(Ra=!1);var a=La.getBuffer();if(!a||!a.buffered||0===a.buffered.length)return Da("SourceBuffer is empty (or does not exist), halt pruning"),Va=[],void(Ra=!1);var b=Va.shift();Da("Removing",Aa,"buffer from:",b.start,"to",b.end),Ra=!0;var c=za.getTime();c<b.end&&(Fa=!1,Ja=0,Xa||(Ba.getScheduleController().setSeekTarget(c),wa.setIndexHandlerTime(Ba,c))),La.remove(b.start,b.end,b.force)}function X(a){La===a.buffer&&(Da("[BufferController][",Aa,"] onRemoved buffer from:",a.from,"to",a.to),0===Va.length&&(Ra=!1),a.unintended&&(Da("[BufferController][",Aa,"] detected unintended removal from:",a.from,"to",a.to,"setting index handler time to",a.from),wa.setIndexHandlerTime(Ba,a.from)),Ra?W():(Xa?(Xa=!1,Ya&&p(Ya)):(Da("onRemoved : call updateBufferLevel"),N()),qa.trigger(u.default.BUFFER_CLEARED,{sender:Ca,from:a.from,to:a.to,unintended:a.unintended,hasEnoughSpaceToAppend:ma()})))}function Y(a){var b=La&&La.getBuffer?La.getBuffer():null;b&&b.timestampOffset!==a&&!isNaN(a)&&(b.timestampOffset=a)}function Z(a){a.sender.getStreamProcessor()!==Ba||a.error||Y(a.currentRepresentation.MSETimeOffset)}function $(a){a.fragmentModel===Ba.getFragmentModel()&&(Ka=a.request.index,P())}function _(a){var b=La&&La.getAllBufferRanges();b&&a.newMediaInfo.type===Aa&&a.newMediaInfo.streamInfo.id===Ba.getStreamInfo().id&&(Da("[BufferController]["+Aa+"] track change asked"),va.getSwitchMode(Aa)===q.default.TRACK_SWITCH_MODE_ALWAYS_REPLACE&&b&&b.length>0&&za.getTimeToStreamEnd()>G&&(Fa=!1,Ka=Number.POSITIVE_INFINITY))}function aa(){++Pa*(sa.getWallclockTimeUpdateInterval()/1e3)>=sa.getBufferPruningInterval()&&(Pa=0,T())}function ba(){Q()}function ca(){return Aa}function da(){return Ba}function ea(a){Ta=a}function fa(){return La}function ga(){return Ga}function ha(a,b){Ia=a,La&&b&&"function"==typeof La.discharge&&(Ma=La,e(b))}function ia(){return Ia}function ja(){return Fa}function ka(){return Ra}function la(){var a=La.getAllBufferRanges(),b=0,c=void 0,d=void 0;if(!a)return b;for(d=0,c=a.length;d<c;d++)b+=a.end(d)-a.start(d);return b}function ma(){return la()<Ha}function na(a){Ha=Number.POSITIVE_INFINITY,Na=F,Ea=o.default.QUALITY_DEFAULT,Ka=Number.POSITIVE_INFINITY,Ja=0,Oa=null,Fa=!1,Qa=!1,Ra=!1,Ua=!1,Ga=0,Pa=0,Va=[],La&&(a||La.abort(),La.reset(),La=null),Xa=!1}function oa(a){qa.off(u.default.DATA_UPDATE_COMPLETED,Z,this),qa.off(u.default.QUALITY_CHANGE_REQUESTED,t,this),qa.off(u.default.INIT_FRAGMENT_LOADED,j,this),qa.off(u.default.MEDIA_FRAGMENT_LOADED,n,this),qa.off(u.default.STREAM_COMPLETED,$,this),qa.off(u.default.CURRENT_TRACK_CHANGED,_,this),qa.off(u.default.PLAYBACK_PROGRESS,B,this),qa.off(u.default.PLAYBACK_TIME_UPDATED,B,this),qa.off(u.default.PLAYBACK_RATE_CHANGED,ba,this),qa.off(u.default.PLAYBACK_SEEKING,v,this),qa.off(u.default.WALLCLOCK_TIME_UPDATED,aa,this),qa.off(u.default.SOURCEBUFFER_REMOVE_COMPLETED,X,this),na(a)}a=a||{};var pa=this.context,qa=(0,s.default)(pa).getInstance(),ra=a.metricsModel,sa=a.mediaPlayerModel,ta=a.errHandler,ua=a.streamController,va=a.mediaController,wa=a.adapter,xa=a.textController,ya=a.abrController,za=a.playbackController,Aa=a.type,Ba=a.streamProcessor,Ca=void 0,Da=void 0,Ea=void 0,Fa=void 0,Ga=void 0,Ha=void 0,Ia=void 0,Ja=void 0,Ka=void 0,La=void 0,Ma=void 0,Na=void 0,Oa=void 0,Pa=void 0,Qa=void 0,Ra=void 0,Sa=void 0,Ta=void 0,Ua=void 0,Va=void 0,Wa=void 0,Xa=void 0,Ya=void 0;return Ca={getBufferControllerType:c,initialize:d,createBuffer:e,dischargePreBuffer:f,getType:ca,getStreamProcessor:da,setSeekStartTime:ea,getBuffer:fa,getBufferLevel:ga,getRangeAt:L,setMediaSource:ha,getMediaSource:ia,getIsBufferingCompleted:ja,switchInitData:l,getIsPruningInProgress:ka,reset:oa},b(),Ca}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(113),i=d(h),j=a(93),k=d(j),l=a(92),m=d(l),n=a(99),o=d(n),p=a(105),q=d(p),r=a(45),s=d(r),t=a(49),u=d(t),v=a(145),w=d(v),x=a(46),y=d(x),z=a(44),A=d(z),B=a(151),C=d(B),D=a(182),E="bufferLoaded",F="bufferStalled",G=.5,H=.5,I=.01,J=22,K="BufferController";e.__dashjs_factory_name=K;var L=y.default.getClassFactory(e);L.BUFFER_LOADED=E,L.BUFFER_EMPTY=F,y.default.updateClassFactory(e.__dashjs_factory_name,L),c.default=L,b.exports=c.default},{105:105,113:113,145:145,151:151,182:182,44:44,45:45,46:46,49:49,92:92,93:93,97:97,99:99}],103:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){b()}function b(){G=!1,x={},y={},z={},A=null,B=100,C=B/1e3}function c(){if(!D||!E||!F)throw new Error("setConfig function has to be called previously")}function d(){null!==A&&G&&(clearInterval(A),A=null,G=!1)}function e(){c(),u("Start Event Controller"),G||isNaN(B)||(G=!0,A=setInterval(l,B))}function f(a){if(c(),x={},a)for(var b=0;b<a.length;b++){var d=a[b];x[d.id]=d,u("Add inline event with id "+d.id)}u("Added "+a.length+" inline events")}function g(a){c();for(var b=0;b<a.length;b++){var d=a[b];d.id in y?u("Repeated event with id "+d.id):(d.eventStream.schemeIdUri===r&&void 0===y[d.id]&&h(d),y[d.id]=d,u("Add inband event with id "+d.id))}}function h(a){if(a.eventStream.value==s){var b=a.eventStream.timescale||1,c=a.presentationTime/b,d=void 0;d=4294967295==a.presentationTime?NaN:(a.presentationTime+a.duration)/b,u("Manifest validity changed: Valid until: "+c+"; remaining duration: "+d),v.trigger(m.default.MANIFEST_VALIDITY_CHANGED,{id:a.id,validUntil:c,newDuration:d,newManifestValidAfter:NaN})}}function j(){if(z)for(var a=F.getTime(),b=Object.keys(z),c=0;c<b.length;c++){var d=b[c],e=z[d];null!==e&&(e.duration+e.presentationTime)/e.eventStream.timescale<a&&(u("Remove Event "+d+" at time "+a),e=null,delete z[d])}}function l(){o(y),o(x),j()}function n(){c(),E.refreshManifest()}function o(a){var b,c=F.getTime();if(a)for(var d=Object.keys(a),e=0;e<d.length;e++){var f=d[e],g=a[f];void 0!==g&&(0===(b=g.presentationTime/g.eventStream.timescale)||b<=c&&b+C>c)&&(u("Start Event "+f+" at "+c),g.duration>0&&(z[f]=g),g.eventStream.schemeIdUri==r&&g.eventStream.value==s?0===g.duration&&0===g.presentationTimeDelta||n():v.trigger(g.eventStream.schemeIdUri,{event:g}),delete a[f])}}function p(a){a&&(a.manifestModel&&(D=a.manifestModel),a.manifestUpdater&&(E=a.manifestUpdater),a.playbackController&&(F=a.playbackController))}function q(){d(),b()}var r="urn:mpeg:dash:event:2012",s=1,t=this.context,u=(0,i.default)(t).getInstance().log,v=(0,k.default)(t).getInstance(),w=void 0,x=void 0,y=void 0,z=void 0,A=void 0,B=void 0,C=void 0,D=void 0,E=void 0,F=void 0,G=void 0;return w={addInlineEvents:f,addInbandEvents:g,stop:d,start:e,setConfig:p,reset:q},a(),w}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(44),i=d(h),j=a(45),k=d(j),l=a(49),m=d(l);e.__dashjs_factory_name="EventController",c.default=g.default.getClassFactory(e),b.exports=c.default},{44:44,45:45,46:46,49:49}],104:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){e(),q.on(t.default.FRAGMENT_LOADING_COMPLETED,k,w),q.on(t.default.FRAGMENT_LOADING_PROGRESS,k,w)}function c(a){var b=y[a];return b||(b=(0,l.default)(m).create({metricsModel:v,fragmentLoader:(0,n.default)(m).create({metricsModel:v,mediaPlayerModel:u,errHandler:s,requestModifier:(0,p.default)(m).getInstance()})}),y[a]=b),b}function d(a){return a&&a.type&&a.type===h.HTTPRequest.INIT_SEGMENT_TYPE}function e(){for(var a in y)y[a].reset();y={}}function f(){q.off(t.default.FRAGMENT_LOADING_COMPLETED,k,this),q.off(t.default.FRAGMENT_LOADING_PROGRESS,k,this),e()}function i(a,b,c,d){var e=new j.default;return e.streamId=c,e.mediaInfo=b.mediaInfo,e.segmentType=b.type,e.start=b.startTime,e.duration=b.duration,e.end=e.start+e.duration,e.bytes=a,e.index=b.index,e.quality=b.quality,e.representationId=b.representationId,e.endFragment=d,e}function k(a){if(y[a.request.mediaType]===a.sender){var b=a.request,c=a.response,e=d(b),f=b.mediaInfo.streamInfo;if(a.error&&(a.request.mediaType!==g.default.AUDIO&&a.request.mediaType!==g.default.VIDEO&&a.request.mediaType!==g.default.FRAGMENTED_TEXT||q.trigger(t.default.SERVICE_LOCATION_BLACKLIST_ADD,{entry:a.request.serviceLocation})),!c||!f)return void o("No "+b.mediaType+" bytes to push or stream is inactive.");var h=i(c,b,f.id,a.type!==t.default.FRAGMENT_LOADING_PROGRESS);q.trigger(e?t.default.INIT_FRAGMENT_LOADED:t.default.MEDIA_FRAGMENT_LOADED,{chunk:h,fragmentModel:a.sender})}}a=a||{};var m=this.context,o=(0,x.default)(m).getInstance().log,q=(0,r.default)(m).getInstance(),s=a.errHandler,u=a.mediaPlayerModel,v=a.metricsModel,w=void 0,y=void 0;return w={getModel:c,isInitializationRequest:d,reset:f},b(),w}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(182),i=a(163),j=d(i),k=a(113),l=d(k),m=a(87),n=d(m),o=a(155),p=d(o),q=a(45),r=d(q),s=a(49),t=d(s),u=a(46),v=d(u),w=a(44),x=d(w);e.__dashjs_factory_name="FragmentController",c.default=v.default.getClassFactory(e),b.exports=c.default},{113:113,155:155,163:163,182:182,44:44,45:45,46:46,49:49,87:87,97:97}],105:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){z()}function b(a,b){var c=l(a),e=d(a,b),f=[];if(a===g.default.FRAGMENTED_TEXT)return void h(e[0]);c||(c=P.getSavedMediaSettings(a),j(a,c)),e&&0!==e.length&&(c&&e.forEach(function(a){B(c,a)&&f.push(a)}),h(0===f.length?E(e):f.length>1?E(f):f[0]))}function c(a){if(a){var b=a.type;if(w(b)){var c=a.streamInfo.id;K[c]||(K[c]=F());for(var d=K[c][b].list,f=0,g=d.length;f<g;++f)if(x(d[f],a))return;d.push(a);var i=l(b);i&&B(i,a)&&!e(b,a.streamInfo)&&h(a)}}}function d(a,b){if(!a||!b)return[];var c=b.id;return K[c]&&K[c][a]?K[c][a].list:[]}function e(a,b){return!a||!b||b&&!K[b.id]?null:K[b.id][a].current}function f(a){var b=a.type,c=a.streamInfo.id;return K[c]&&K[c][b]&&x(K[c][b].current,a)}function h(a){if(a){var b=a.type,c=a.streamInfo,d=c.id,f=e(b,c);if(K[d]&&K[d][b]&&(!f||!x(a,f))){K[d][b].current=a,f&&I.trigger(i.default.CURRENT_TRACK_CHANGED,{oldMediaInfo:f,newMediaInfo:a,switchMode:N[b]});var g=A(a);g&&K[d][b].storeLastSettings&&(g.roles&&(g.role=g.roles[0],delete g.roles),g.accessibility&&(g.accessibility=g.accessibility[0]),g.audioChannelConfiguration&&(g.audioChannelConfiguration=g.audioChannelConfiguration[0]),P.setSavedMediaSettings(b,g))}}}function j(a,b){a&&b&&(L[a]=b)}function l(a){return a?L[a]:null}function m(a,b){if(-1===Q.indexOf(b))return void H("track switch mode is not supported: "+b);N[a]=b}function n(a){return N[a]}function u(a){if(-1===R.indexOf(a))return void H("track selection mode is not supported: "+a);M=a}function v(){return M||t}function w(a){return a===g.default.AUDIO||a===g.default.VIDEO||a===g.default.TEXT||a===g.default.FRAGMENTED_TEXT||a===g.default.IMAGE}function x(a,b){var c=a.id===b.id,d=a.viewpoint===b.viewpoint,e=a.lang===b.lang,f=a.roles.toString()===b.roles.toString(),g=a.accessibility.toString()===b.accessibility.toString(),h=a.audioChannelConfiguration.toString()===b.audioChannelConfiguration.toString();return c&&d&&e&&f&&g&&h}function y(a){a&&(a.errHandler&&(O=a.errHandler),a.domStorage&&(P=a.domStorage))}function z(){K={},D(),C()}function A(a){var b={lang:a.lang,viewpoint:a.viewpoint,roles:a.roles,accessibility:a.accessibility,audioChannelConfiguration:a.audioChannelConfiguration};return b.lang||b.viewpoint||b.role&&b.role.length>0||b.accessibility&&b.accessibility.length>0||b.audioChannelConfiguration&&b.audioChannelConfiguration.length>0?b:null}function B(a,b){var c=!a.lang||a.lang===b.lang,d=!a.viewpoint||a.viewpoint===b.viewpoint,e=!a.role||!!b.roles.filter(function(b){return b===a.role})[0],f=!a.accessibility||!!b.accessibility.filter(function(b){return b===a.accessibility})[0],g=!a.audioChannelConfiguration||!!b.audioChannelConfiguration.filter(function(b){return b===a.audioChannelConfiguration})[0];return c&&d&&e&&f&&g}function C(){N={audio:q,video:p}}function D(){L={audio:null,video:null}}function E(a){var b=v(),c=[],d=function(a){var b=0,c=[],d=void 0;return a.forEach(function(a){d=Math.max.apply(Math,a.bitrateList.map(function(a){return a.bandwidth})),d>b?(b=d,c=[a]):d===b&&c.push(a)}),c},e=function(a){var b=0,c=[],d=void 0;return a.forEach(function(a){d=a.representationCount,d>b?(b=d,c=[a]):d===b&&c.push(a)}),c};switch(b){case r:c=d(a),c.length>1&&(c=e(c));break;case s:c=e(a),c.length>1&&(c=d(a));break;default:H("track selection mode is not supported: "+b)}return c[0]}function F(){return{audio:{list:[],storeLastSettings:!0,current:null},video:{list:[],storeLastSettings:!0,current:null},text:{list:[],storeLastSettings:!0,current:null},fragmentedText:{list:[],storeLastSettings:!0,current:null},image:{list:[],storeLastSettings:!0,current:null}}}var G=this.context,H=(0,o.default)(G).getInstance().log,I=(0,k.default)(G).getInstance(),J=void 0,K=void 0,L=void 0,M=void 0,N=void 0,O=void 0,P=void 0,Q=[q,p],R=[r,s];return J={checkInitialMediaSettingsForType:b,addTrack:c,getTracksFor:d,getCurrentTrackFor:e,isCurrentTrack:f,setTrack:h,setInitialSettings:j,getInitialSettings:l,setSwitchMode:m,getSwitchMode:n,setSelectionModeForInitialTrack:u,getSelectionModeForInitialTrack:v,isMultiTrackSupportedByType:w,isTracksEqual:x,setConfig:y,reset:z},a(),J}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(49),i=d(h),j=a(45),k=d(j),l=a(46),m=d(l),n=a(44),o=d(n),p="neverReplace",q="alwaysReplace",r="highestBitrate",s="widestRange",t=r;e.__dashjs_factory_name="MediaController";var u=m.default.getSingletonFactory(e);u.TRACK_SWITCH_MODE_NEVER_REPLACE=p,u.TRACK_SWITCH_MODE_ALWAYS_REPLACE=q,u.TRACK_SELECTION_MODE_HIGHEST_BITRATE=r,u.TRACK_SELECTION_MODE_WIDEST_RANGE=s,u.DEFAULT_INIT_TRACK_SELECTION_MODE=t,m.default.updateSingletonFactory(e.__dashjs_factory_name,u),c.default=u,b.exports=c.default},{44:44,45:45,46:46,49:49,97:97}],106:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){var a="WebKitMediaSource"in window;return"MediaSource"in window?new MediaSource:a?new WebKitMediaSource:null}function b(a,b){var c=window.URL.createObjectURL(a);return b.setSource(c),c}function c(a){a.setSource(null)}function d(a,b){return a.duration!=b&&(a.duration=b),a.duration}function e(a,b,c){a&&"function"==typeof a.setLiveSeekableRange&&"function"==typeof a.clearLiveSeekableRange&&"open"===a.readyState&&b>=0&&b<c&&(a.clearLiveSeekableRange(),a.setLiveSeekableRange(b,c))}function f(a){var b=a.sourceBuffers,c=b.length;if("open"===a.readyState){for(var d=0;d<c;d++){if(b[d].updating)return;if(0===b[d].buffered.length)return}a.endOfStream()}}return{createMediaSource:a,attachMediaSource:b,detachMediaSource:c,setDuration:d,setSeekable:e,signalEndOfStream:f}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="MediaSourceController",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{46:46}],107:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){B()}function b(a){ta=a,aa(),ua=ta.manifestInfo.isDynamic,oa=ta.start,ea.on(o.default.DATA_UPDATE_COMPLETED,J,this),ea.on(o.default.BYTES_APPENDED_END_FRAGMENT,$,this),ea.on(o.default.BUFFER_LEVEL_STATE_CHANGED,_,this),ea.on(o.default.PERIOD_SWITCH_STARTED,c,this),wa&&(wa=!1,e())}function c(a){!ua&&a.fromStreamInfo&&void 0!==qa[a.fromStreamInfo.id]&&(delete sa[a.fromStreamInfo.id],delete qa[a.fromStreamInfo.id])}function d(){var a=E(!0),b=ua?a-ta.start:0;return parseFloat((a+(ta.duration-b)-n()).toFixed(5))}function e(){ta&&ma&&ma.getElement()?ma.play():wa=!0}function f(){return ta&&ma?ma.isPaused():null}function h(){ta&&ma&&ma.pause()}function j(){return ta&&ma?ma.isSeeking():null}function l(a){ta&&ma&&(ea.trigger(o.default.PLAYBACK_SEEK_ASKED),da("Requesting seek to time: "+a),ma.setCurrentTime(a))}function n(){return ta&&ma?ma.getTime():null}function p(){return ta&&ma?ma.getPlaybackRate():null}function q(){return ta&&ma?ma.getPlayedRanges():null}function r(){return ta&&ma?ma.getEnded():null}function u(){return ua}function v(){return ga}function w(a){oa=a}function x(){return oa}function y(a,b){var c=ka.getMpd(ja.getValue()),d=void 0,e=void 0;if(d=va.getUseSuggestedPresentationDelay()&&c.hasOwnProperty(g.default.SUGGESTED_PRESENTATION_DELAY)?c.suggestedPresentationDelay:va.getLowLatencyEnabled()?0:va.getLiveDelay()?va.getLiveDelay():isNaN(a)?2*ta.manifestInfo.minBufferTime:a*va.getLiveDelayFragmentCount(),c.availabilityStartTime&&(ya=c.availabilityStartTime.getTime()),b>0){var f=Math.max(b-10,b/2);e=Math.min(d,f)}else e=d;return ra=e,e}function z(){return ra}function A(){if(!ua||isNaN(ya))return NaN;var a=n();return isNaN(a)||0===a?0:(Math.round((new Date).getTime()-(1e3*a+ya))/1e3).toFixed(3)}function B(){na=0,oa=NaN,pa=null,wa=!1,qa={},ra=0,ya=0,sa={},ma&&(ea.off(o.default.DATA_UPDATE_COMPLETED,J,this),ea.off(o.default.BUFFER_LEVEL_STATE_CHANGED,_,this),ea.off(o.default.BYTES_APPENDED_END_FRAGMENT,$,this),ea.off(o.default.PERIOD_SWITCH_STARTED,c,this),H(),ba()),ma=null,ta=null,ua=null}function C(a){a&&(a.streamController&&(ga=a.streamController),a.metricsModel&&(ha=a.metricsModel),a.dashMetrics&&(ia=a.dashMetrics),a.manifestModel&&(ja=a.manifestModel),a.dashManifestModel&&(ka=a.dashManifestModel),a.mediaPlayerModel&&(va=a.mediaPlayerModel),a.adapter&&(la=a.adapter),a.videoModel&&(ma=a.videoModel))}function D(){var a=(0,k.default)(ca).getInstance().getURIFragmentData(),b=void 0;if(a){b={};var c=parseInt(a.r,10);c>=0&&ta&&c<ta.manifestInfo.DVRWindowSize&&null===a.t&&(a.t=Math.floor(Date.now()/1e3)-ta.manifestInfo.DVRWindowSize+c),b.fragS=parseInt(a.s,10),b.fragT=parseInt(a.t,10)}return b}function E(a,b){var c=void 0,d=NaN,e=D();if(d=e?a?ta.start:isNaN(e.fragS)?e.fragT:e.fragS:0,ua)isNaN(d)||((c=d-ta.manifestInfo.availableFrom.getTime()/1e3)>oa||c<(isNaN(b)?NaN:b-ta.manifestInfo.DVRWindowSize))&&(c=null),c=c||oa;else if(!isNaN(d)&&d<Math.max(ta.manifestInfo.duration,ta.duration)&&d>=0)c=d;else{var f=qa[ta.id];c=void 0!==f?Math.max(void 0!==f.audio?f.audio:0,void 0!==f.video?f.video:0,ta.start):ta.start}return c}function F(a){var b=ha.getReadOnlyMetricsFor(g.default.VIDEO)||ha.getReadOnlyMetricsFor(g.default.AUDIO),c=ia.getCurrentDVRInfo(b),d=c?c.range:null,e=void 0;if(!d)return NaN;if(a>d.end)e=Math.max(d.end-2*ta.manifestInfo.minBufferTime,d.start);else{if(!(a+.25<d.start))return a;e=d.start}return e}function G(){if(null===pa){var a=function(){Y()};pa=setInterval(a,va.getWallclockTimeUpdateInterval())}}function H(){clearInterval(pa),pa=null}function I(){if(!f()&&ua&&0!==ma.getReadyState()){var a=n(),b=F(a);!isNaN(b)&&b!==a&&l(b)}}function J(a){if(!a.error){var b=la.convertDataToRepresentationInfo(a.currentRepresentation),c=b.mediaInfo.streamInfo;ta.id===c.id&&(ta=c,I())}}function K(){ea.trigger(o.default.CAN_PLAY)}function L(){da("Native video element event: play"),I(),G(),ea.trigger(o.default.PLAYBACK_STARTED,{startTime:n()})}function M(){da("Native video element event: waiting"),ea.trigger(o.default.PLAYBACK_WAITING,{playingTime:n()})}function N(){da("Native video element event: playing"),ea.trigger(o.default.PLAYBACK_PLAYING,{playingTime:n()})}function O(){da("Native video element event: pause"),ea.trigger(o.default.PLAYBACK_PAUSED,{ended:r()})}function P(){var a=n();da("Seeking to: "+a),G(),ea.trigger(o.default.PLAYBACK_SEEKING,{seekTime:a})}function Q(){da("Native video element event: seeked"),ea.trigger(o.default.PLAYBACK_SEEKED)}function R(){var a=n();na=a,ea.trigger(o.default.PLAYBACK_TIME_UPDATED,{timeToEnd:d(),time:a})}function S(){var a=Date.now();(!xa||a>xa+t)&&(xa=a,R())}function T(){ea.trigger(o.default.PLAYBACK_PROGRESS)}function U(){var a=p();da("Native video element event: ratechange: ",a),ea.trigger(o.default.PLAYBACK_RATE_CHANGED,{playbackRate:a})}function V(){da("Native video element event: loadedmetadata"),ea.trigger(o.default.PLAYBACK_METADATA_LOADED),G()}function W(){da("Native video element event: ended"),h(),H(),ea.trigger(o.default.PLAYBACK_ENDED)}function X(a){var b=a.target||a.srcElement;ea.trigger(o.default.PLAYBACK_ERROR,{error:b.error})}function Y(){ea.trigger(o.default.WALLCLOCK_TIME_UPDATED,{isDynamic:ua,time:new Date}),u()&&f()&&S()}function Z(a,b){if(b&&b.length>0)for(var c=0,d=b.length;c<d;c++)if(a>=b.start(c)&&a<b.end(c))return!0;return!1}function $(a){var b=void 0,c=void 0,d=a.bufferedRanges;if(d&&d.length&&(!qa[ta.id]||!0!==qa[ta.id].started)){var e=a.sender.getType();void 0===sa[ta.id]&&(sa[ta.id]=[]),sa[ta.id][e]=d,void 0===qa[ta.id]&&(qa[ta.id]=[],qa[ta.id].started=!1),void 0===qa[ta.id][e]&&(qa[ta.id][e]=Math.max(d.start(0),ta.start));var f=ga.isVideoTrackPresent(),g=ga.isAudioTrackPresent();c=E(!1),g&&f?isNaN(qa[ta.id].audio)||isNaN(qa[ta.id].video)||(qa[ta.id].audio<qa[ta.id].video?(b=qa[ta.id].video>c?qa[ta.id].video:c,d=sa[ta.id].audio):(b=qa[ta.id].audio>c?qa[ta.id].audio:c,d=sa[ta.id].video),Z(b,d)&&(j()||l(b),qa[ta.id].started=!0)):qa[ta.id][e]&&(b=qa[ta.id][e]>c?qa[ta.id][e]:c,j()||l(b),qa[ta.id].started=!0)}}function _(a){a.streamInfo.id===ta.id&&ma.setStallState(a.mediaType,a.state===i.default.BUFFER_EMPTY)}function aa(){ma.addEventListener("canplay",K),ma.addEventListener("play",L),ma.addEventListener("waiting",M),
24
- ma.addEventListener("playing",N),ma.addEventListener("pause",O),ma.addEventListener("error",X),ma.addEventListener("seeking",P),ma.addEventListener("seeked",Q),ma.addEventListener("timeupdate",R),ma.addEventListener("progress",T),ma.addEventListener("ratechange",U),ma.addEventListener("loadedmetadata",V),ma.addEventListener("ended",W)}function ba(){ma.removeEventListener("canplay",K),ma.removeEventListener("play",L),ma.removeEventListener("waiting",M),ma.removeEventListener("playing",N),ma.removeEventListener("pause",O),ma.removeEventListener("error",X),ma.removeEventListener("seeking",P),ma.removeEventListener("seeked",Q),ma.removeEventListener("timeupdate",R),ma.removeEventListener("progress",T),ma.removeEventListener("ratechange",U),ma.removeEventListener("loadedmetadata",V),ma.removeEventListener("ended",W)}var ca=this.context,da=(0,s.default)(ca).getInstance().log,ea=(0,m.default)(ca).getInstance(),fa=void 0,ga=void 0,ha=void 0,ia=void 0,ja=void 0,ka=void 0,la=void 0,ma=void 0,na=void 0,oa=void 0,pa=void 0,qa=void 0,ra=void 0,sa=void 0,ta=void 0,ua=void 0,va=void 0,wa=void 0,xa=void 0,ya=void 0;return fa={initialize:b,setConfig:C,getStartTimeFromUriParameters:D,getStreamStartTime:E,getTimeToStreamEnd:d,getTime:n,getPlaybackRate:p,getPlayedRanges:q,getEnded:r,getIsDynamic:u,getStreamController:v,setLiveStartTime:w,getLiveStartTime:x,computeLiveDelay:y,getLiveDelay:z,getCurrentLiveLatency:A,play:e,isPaused:f,pause:h,isSeeking:j,seek:l,reset:B},a(),fa}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(102),i=d(h),j=a(117),k=d(j),l=a(45),m=d(l),n=a(49),o=d(n),p=a(46),q=d(p),r=a(44),s=d(r),t=500;e.__dashjs_factory_name="PlaybackController",c.default=q.default.getSingletonFactory(e),b.exports=c.default},{102:102,117:117,44:44,45:45,46:46,49:49,97:97}],108:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){ta=(0,z.default)(da).getInstance().log.bind(sa),ba()}function c(){ua=qa.getFragmentModel(),Ha=ka.getScheduleWhilePaused(),Fa=(0,n.default)(da).create({abrController:la,dashMetrics:ha,metricsModel:fa,mediaPlayerModel:ka,textController:oa}),Ga=(0,p.default)(da).create({adapter:ga,textController:oa}),ia.getIsTextTrack(pa)&&ea.on(v.default.TIMED_TEXT_REQUESTED,P,this),ea.on(v.default.QUALITY_CHANGE_REQUESTED,y,this),ea.on(v.default.DATA_UPDATE_STARTED,K,this),ea.on(v.default.DATA_UPDATE_COMPLETED,C,this),ea.on(v.default.FRAGMENT_LOADING_COMPLETED,G,this),ea.on(v.default.STREAM_COMPLETED,F,this),ea.on(v.default.STREAM_INITIALIZED,D,this),ea.on(v.default.BUFFER_LEVEL_STATE_CHANGED,M,this),ea.on(v.default.BUFFER_CLEARED,L,this),ea.on(v.default.BYTES_APPENDED_END_FRAGMENT,I,this),ea.on(v.default.INIT_REQUESTED,q,this),ea.on(v.default.QUOTA_EXCEEDED,N,this),ea.on(v.default.PLAYBACK_SEEKING,R,this),ea.on(v.default.PLAYBACK_STARTED,Q,this),ea.on(v.default.PLAYBACK_RATE_CHANGED,S,this),ea.on(v.default.PLAYBACK_TIME_UPDATED,H,this),ea.on(v.default.URL_RESOLUTION_FAILED,O,this),ea.on(v.default.FRAGMENT_LOADING_ABANDONED,J,this)}function d(){return!1===xa}function e(){if(!va||qa.isBufferingCompleted())return void ta("[ScheduleController][",pa,"] start denied");ta("[ScheduleController][",pa,"] start"),aa(),xa=!1,wa&&(wa=!1),o(0)}function f(){xa||(ta("[ScheduleController][",pa,"] stop"),xa=!0,clearTimeout(Da))}function i(a,b){Ja[b]=Ja[b]||{};var c=la.getTopQualityIndexFor(a,b);return Ja[b][a]!=c&&(ta("Top quality "+a+" index has changed from "+Ja[b][a]+" to "+c),Ja[b][a]=c,!0)}function k(){if(xa||Ba||!qa.getBufferController()||ma.isPaused()&&!Ha)return void ta("[ScheduleController][",pa,"] - schedule stop!");m();var a=La.length>0,b=qa.getStreamInfo();if(Na||isNaN(Ka)||Ma||a||i(va.mediaInfo.type,b.id)||Fa.execute(qa,pa,na.isVideoTrackPresent())){var c=function(){var a=qa.getFragmentController();if(va.quality!==Ka)ta("ScheduleController - "+pa+" - quality has changed, get init request for representationid = "+va.id),Ka=va.quality,qa.switchInitData(va.id);else if(Ma)ta("ScheduleController - "+pa+" - switch track has been asked, get init request for "+pa+" with representationid = "+va.id),Na=ra.getSwitchMode(pa)===B.default.TRACK_SWITCH_MODE_ALWAYS_REPLACE,qa.switchInitData(va.id,Na),Ka=va.quality,Ma=!1;else{var c=La.shift();if(a.isInitializationRequest(c))qa.switchInitData(c.representationId);else{var d=void 0;qa.getBufferController().getIsPruningInProgress()||!(d=Ga.execute(qa,c))&&b.manifestInfo&&b.manifestInfo.isDynamic&&ta("getNextFragment - "+pa+" - Playing at the bleeding live edge and frag is not available yet"),d?(ta("ScheduleController - "+pa+" - getNextFragment - request is "+d.url),ua.executeRequest(d)):(s(!1),o(500))}}};s(!0),a||Ma||la.checkPlaybackQuality(pa),c()}else o(500)}function m(){var a=1.5*va.fragmentDuration,b=ua.getRequests({state:r.default.FRAGMENT_MODEL_EXECUTED,time:ma.getTime()+a,threshold:0})[0];if(b&&-1===La.indexOf(b)&&!ia.getIsTextTrack(pa)){var c=ka.getFastSwitchEnabled(),d=qa.getBufferLevel(),e=la.getAbandonmentStateFor(pa),f=!ra.isCurrentTrack(b.mediaInfo)&&ra.getSwitchMode(b.mediaInfo.type)===B.default.TRACK_SWITCH_MODE_NEVER_REPLACE,g=b.quality<va.quality;c&&(f||g)&&d>=a&&e!==j.default.ABANDON_LOAD?(x(b),ta("Reloading outdated fragment at index: ",b.index)):b.quality>va.quality&&U(ma.getTime()+qa.getBufferLevel())}}function o(a){clearTimeout(Da),Da=setTimeout(k,a)}function q(a){a.sender&&a.sender.getStreamProcessor()===qa&&u(va.quality)}function s(a){Ba!==a?Ba=a:ta("[ScheduleController][",pa,"] isFragmentProcessingInProgress is already equal to",a)}function u(a){var b=ga.getInitRequest(qa,a);b&&(s(!0),ua.executeRequest(b))}function w(){Ma=!0}function x(a){La.push(a)}function y(a){if(pa===a.mediaType&&qa.getStreamInfo().id===a.streamInfo.id){if(null===(va=qa.getRepresentationInfoForQuality(a.newQuality))||void 0===va)throw new Error("Unexpected error! - currentRepresentationInfo is null or undefined");_(new Date,h.PlayListTrace.REPRESENTATION_SWITCH_STOP_REASON),aa()}}function A(a){if(ma&&ua){var b=ua.getRequests({state:r.default.FRAGMENT_MODEL_EXECUTED,time:ma.getTime(),threshold:0})[0];b&&ma.getTime()>=b.startTime&&((!Ia.mediaInfo||b.mediaInfo.type===Ia.mediaInfo.type&&b.mediaInfo.id!==Ia.mediaInfo.id)&&a&&ea.trigger(v.default.TRACK_CHANGE_RENDERED,{mediaType:pa,oldMediaInfo:Ia.mediaInfo,newMediaInfo:b.mediaInfo}),b.quality===Ia.quality&&b.adaptationIndex===Ia.adaptationIndex||!a||ea.trigger(v.default.QUALITY_CHANGE_RENDERED,{mediaType:pa,oldQuality:Ia.quality,newQuality:b.quality}),Ia={mediaInfo:b.mediaInfo,quality:b.quality,adaptationIndex:b.adaptationIndex})}}function C(a){a.error||a.sender.getStreamProcessor()!==qa||(va=ga.convertDataToRepresentationInfo(a.currentRepresentation))}function D(a){a.error||qa.getStreamInfo().id!==a.streamInfo.id||(va=qa.getCurrentRepresentationInfo(),wa&&(ma.getIsDynamic()?(ja.setTimeSyncCompleted(!0),E()):(Ea=ma.getStreamStartTime(!1),qa.getBufferController().setSeekStartTime(Ea))),xa&&e())}function E(){var a=qa.getLiveEdgeFinder();if(a){var b=a.getLiveEdge(),c=va.mediaInfo.streamInfo.manifestInfo.DVRWindowSize/2,d=b-ma.computeLiveDelay(va.fragmentDuration,c),e=ga.getFragmentRequestForTime(qa,va,d,{ignoreIsFinished:!0});if(ka.getLowLatencyEnabled()){var f=e.duration<ka.getLiveDelay()?e.startTime:e.startTime+e.duration-ka.getLiveDelay();ma.setLiveStartTime(f)}else ma.setLiveStartTime(e.startTime);Ea=ma.getStreamStartTime(!1,b),Ea>va.mediaInfo.streamInfo.start+va.mediaInfo.streamInfo.duration&&ma.seek(Ea);var h=ha.getCurrentManifestUpdate(fa.getMetricsFor(g.default.STREAM));fa.updateManifestUpdateInfo(h,{currentTime:Ea,presentationStartTime:b,latency:b-Ea,clientTimeOffset:ja.getClientTimeOffset()})}}function F(a){a.fragmentModel===ua&&(f(),s(!1),ta("[ScheduleController] Stream is complete"))}function G(a){a.sender===ua&&(ta("[ScheduleController][",pa,"] - onFragmentLoadingCompleted"),ia.getIsTextTrack(pa)&&s(!1),a.error&&a.request.serviceLocation&&!xa&&(x(a.request),s(!1),o(0)),Na&&(Oa=a.request))}function H(){A(!0)}function I(a){a.sender.getStreamProcessor()===qa&&(Na&&!isNaN(a.startTime)&&(Na=!1,ua.addExecutedRequest(Oa)),s(!1),o(0))}function J(a){a.streamProcessor===qa&&(ta("[ScheduleController][onFragmentLoadingAbandoned] for "+pa+", request: "+a.request.url+" has been aborted"),ma.isSeeking()||Ma||(ta("[ScheduleController][onFragmentLoadingAbandoned] for "+pa+", request: "+a.request.url+" has to be downloaded again, origin is not seeking process or switch track call"),x(a.request)),s(!1),o(0))}function K(a){a.sender.getStreamProcessor()===qa&&f()}function L(a){a.sender.getStreamProcessor()===qa&&(a.unintended?qa.getFragmentModel().removeExecutedRequestsAfterTime(a.from,qa.getStreamInfo().duration):qa.getFragmentModel().syncExecutedRequestsWithBufferedRange(qa.getBufferController().getBuffer().getAllBufferRanges(),qa.getStreamInfo().duration),a.hasEnoughSpaceToAppend&&xa&&e())}function M(a){a.sender.getStreamProcessor()!==qa||a.state!==l.default.BUFFER_EMPTY||ma.isSeeking()||(ta("[ScheduleController][",pa,"] - Buffer is empty! Stalling!"),_(new Date,h.PlayListTrace.REBUFFERING_REASON))}function N(a){a.sender.getStreamProcessor()===qa&&(f(),s(!1))}function O(){ua.abortRequests(),f()}function P(a){a.sender.getStreamProcessor()===qa&&u(a.index)}function Q(){!xa&&Ha||e()}function R(a){Ea=a.seekTime,V(0),xa&&e();var b=ha.getCurrentManifestUpdate(fa.getMetricsFor(g.default.STREAM)),c=va.DVRWindow&&ma?va.DVRWindow.end-ma.getTime():NaN;fa.updateManifestUpdateInfo(b,{latency:c}),Ba?(ta("[ScheduleController][onPlaybackSeeking] for "+pa+", call fragmentModel.abortRequests in order to seek quicker"),ua.abortRequests()):o(0)}function S(a){za&&(za.playbackspeed=a.playbackRate.toString())}function T(){return Ea}function U(a){Ea=a}function V(a){Ca=a}function W(){return Ca}function X(){return Fa.getBufferTarget(qa,pa,na.isVideoTrackPresent())}function Y(){return pa}function Z(a){ya=a}function $(a,b){_(a,b),ya=null}function _(a,b){if(ya&&!1===Aa){var c=za.start,d=a.getTime()-c.getTime();za.duration=d,za.stopreason=b,ya.trace.push(za),Aa=!0}}function aa(){ya&&!0===Aa&&va&&(Aa=!1,za=new h.PlayListTrace,za.representationid=va.id,za.start=new Date,za.mstart=1e3*ma.getTime(),za.playbackspeed=ma.getPlaybackRate().toString())}function ba(){Ba=!1,Ca=0,Ea=NaN,ya=null,za=null,Aa=!0,wa=!0,Ka=NaN,Ia={mediaInfo:void 0,quality:NaN,adaptationIndex:NaN},Ja={},La=[],xa=!0,Ma=!1,Na=!1,Oa=null}function ca(){ea.off(v.default.DATA_UPDATE_STARTED,K,this),ea.off(v.default.DATA_UPDATE_COMPLETED,C,this),ea.off(v.default.BUFFER_LEVEL_STATE_CHANGED,M,this),ea.off(v.default.QUALITY_CHANGE_REQUESTED,y,this),ea.off(v.default.FRAGMENT_LOADING_COMPLETED,G,this),ea.off(v.default.STREAM_COMPLETED,F,this),ea.off(v.default.STREAM_INITIALIZED,D,this),ea.off(v.default.QUOTA_EXCEEDED,N,this),ea.off(v.default.BYTES_APPENDED_END_FRAGMENT,I,this),ea.off(v.default.BUFFER_CLEARED,L,this),ea.off(v.default.INIT_REQUESTED,q,this),ea.off(v.default.PLAYBACK_RATE_CHANGED,S,this),ea.off(v.default.PLAYBACK_SEEKING,R,this),ea.off(v.default.PLAYBACK_STARTED,Q,this),ea.off(v.default.PLAYBACK_TIME_UPDATED,H,this),ea.off(v.default.URL_RESOLUTION_FAILED,O,this),ea.off(v.default.FRAGMENT_LOADING_ABANDONED,J,this),ia.getIsTextTrack(pa)&&ea.off(v.default.TIMED_TEXT_REQUESTED,P,this),f(),A(!1),ba()}a=a||{};var da=this.context,ea=(0,t.default)(da).getInstance(),fa=a.metricsModel,ga=a.adapter,ha=a.dashMetrics,ia=a.dashManifestModel,ja=a.timelineConverter,ka=a.mediaPlayerModel,la=a.abrController,ma=a.playbackController,na=a.streamController,oa=a.textController,pa=a.type,qa=a.streamProcessor,ra=a.mediaController,sa=void 0,ta=void 0,ua=void 0,va=void 0,wa=void 0,xa=void 0,ya=void 0,za=void 0,Aa=void 0,Ba=void 0,Ca=void 0,Da=void 0,Ea=void 0,Fa=void 0,Ga=void 0,Ha=void 0,Ia=void 0,Ja=void 0,Ka=void 0,La=void 0,Ma=void 0,Na=void 0,Oa=void 0;return sa={initialize:c,getType:Y,getSeekTarget:T,setSeekTarget:U,setTimeToLoadDelay:V,getTimeToLoadDelay:W,replaceRequest:x,switchTrackAsked:w,isStarted:d,start:e,stop:f,reset:ca,setPlayList:Z,getBufferTarget:X,finalisePlayList:$},b(),sa}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(184),i=a(99),j=d(i),k=a(102),l=d(k),m=a(134),n=d(m),o=a(135),p=d(o),q=a(113),r=d(q),s=a(45),t=d(s),u=a(49),v=d(u),w=a(46),x=d(w),y=a(44),z=d(y),A=a(105),B=d(A);e.__dashjs_factory_name="ScheduleController",c.default=x.default.getClassFactory(e),b.exports=c.default},{102:102,105:105,113:113,134:134,135:135,184:184,44:44,45:45,46:46,49:49,97:97,99:99}],109:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){ta=(0,F.default)(ga).getInstance(),ua=(0,H.default)(ga).getInstance(),sa=(0,J.default)(ga).getInstance(),za=(0,z.default)(ga).getInstance(),Aa=(0,B.default)(ga).getInstance(),ca()}function b(a,b){X(),Ha=a,Ga=b,Ca.initialize(),la=(0,m.default)(ga).create(),la.setConfig({manifestModel:na,dashManifestModel:oa,mediaPlayerModel:Oa,manifestLoader:ma,errHandler:Ba}),la.initialize(),ua.setConfig({dashManifestModel:oa}),ia.on(q.default.TIME_SYNCHRONIZATION_COMPLETED,N,this),ia.on(q.default.PLAYBACK_SEEKING,f,this),ia.on(q.default.PLAYBACK_TIME_UPDATED,c,this),ia.on(q.default.PLAYBACK_ENDED,w,this),ia.on(q.default.PLAYBACK_ERROR,U,this),ia.on(q.default.PLAYBACK_STARTED,h,this),ia.on(q.default.PLAYBACK_PAUSED,j,this),ia.on(q.default.MANIFEST_UPDATED,O,this),ia.on(q.default.STREAM_BUFFERING_COMPLETED,p,this),ia.on(q.default.MANIFEST_VALIDITY_CHANGED,_,this),ia.on(q.default.WALLCLOCK_TIME_UPDATED,d,this),ia.on(D.default.METRIC_ADDED,ea,this)}function c(){if(Q()){var a=Ma.getPlaybackQuality();a&&qa.addDroppedFrames(g.default.VIDEO,a)}}function d(){if(!(!Oa.getJumpGaps()||!Ea||0===Ea.getProcessors().length||Na.isSeeking()||Pa||Ia||Ja||Ka)&&++Wa>=fa){var a=Na.getTime();Xa===a?e(a):Xa=a,Wa=0}}function e(a){for(var b=Ea.getProcessors(),c=Oa.getSmallGapLimit(),d=void 0,e=0;e<b.length;e++){var f=b[e].getBuffer(),g=f.getAllBufferRanges(),h=void 0;if(g&&!(g.length<=1)){for(var i=0;i<g.length;i++)if(a<g.start(i)){h=g.start(i);break}if(h>0){var j=h-a;j>0&&j<=c&&(void 0===d||h>d)&&(d=h)}}}var k=Na.getTimeToStreamEnd();void 0===d&&!isNaN(k)&&k<c&&(d=a+k),d>0&&(!isNaN(k)&&d>=a+k?(ha("Jumping media gap (discontinuity) at time ",a,". Jumping to end of the stream"),ia.trigger(q.default.PLAYBACK_ENDED)):(ha("Jumping media gap (discontinuity) at time ",a,". Jumping to time position",d),Na.seek(d)))}function f(a){var b=r(a.seekTime);Va&&(l(),Ua=!1),b&&b!==Ea?(S(v.PlayListTrace.END_OF_PERIOD_STOP_REASON),A(Ea,b,a.seekTime)):S(v.PlayListTrace.USER_REQUEST_STOP_REASON),T(v.PlayList.SEEK_START_REASON)}function h(){ha("[StreamController][onPlaybackStarted]"),Qa?(Qa=!1,T(v.PlayList.INITIAL_PLAYOUT_START_REASON)):Pa&&(Pa=!1,T(v.PlayList.RESUME_FROM_PAUSE_START_REASON),n())}function j(a){ha("[StreamController][onPlaybackPaused]"),a.ended||(Pa=!0,S(v.PlayListTrace.USER_REQUEST_STOP_REASON),n())}function l(){ha("[StreamController][toggleEndPeriodTimer] stop end period timer."),clearTimeout(Va),Va=void 0}function n(){if(Ua)if(Va)l();else{var a=Na.getTimeToStreamEnd(),b=a>0?1e3*a:0;ha("[StreamController][toggleEndPeriodTimer] start-up of timer to notify PLAYBACK_ENDED event. It will be triggered in "+b+" milliseconds"),Va=setTimeout(function(){ia.trigger(q.default.PLAYBACK_ENDED)},b)}}function p(){var a=V().isLast;La&&a?(ha("[StreamController][onStreamBufferingCompleted] calls signalEndOfStream of mediaSourceController."),sa.signalEndOfStream(La)):La&&void 0===Va&&(ha("[StreamController][onStreamBufferingCompleted] end of period detected"),Ua=!0,!1===Pa&&n())}function r(a){var b=0,c=null,d=Da.length;d>0&&(b+=Da[0].getStartTime());for(var e=0;e<d;e++)if(c=Da[e],b=parseFloat((b+c.getDuration()).toFixed(5)),a<b)return c;return null}function t(a,b){for(var c=null,d=0,e=0,f=null,g=Da.length,h=0;h<g;h++){if(c=Da[h],e=c.getStartTime(),f=c.getDuration(),Number.isFinite(e)&&(d=e),c.getId()===b)return a-d;Number.isFinite(f)&&(d+=f)}return null}function u(){return Ea?Ea.getProcessors():[]}function w(){var a=y();a?(Ta=void 0,Sa=void 0,A(Ea,a,NaN)):ha("StreamController no next stream found"),S(a?v.PlayListTrace.END_OF_PERIOD_STOP_REASON:v.PlayListTrace.END_OF_CONTENT_STOP_REASON),Va=void 0,Ua=!1}function y(){if(Ea){var a=function(){var a=Ea.getStreamInfo().start,b=Ea.getStreamInfo().duration;return{v:Da.filter(function(c){return c.getStreamInfo().start===parseFloat((a+b).toFixed(5))})[0]}}();if("object"==typeof a)return a.v}}function A(a,b,c){!Ia&&b&&a!==b&&(Ia=!0,ia.trigger(q.default.PERIOD_SWITCH_STARTED,{fromStreamInfo:a?a.getStreamInfo():null,toStreamInfo:b.getStreamInfo()}),a&&(a.stopEventController(),a.deactivate()),Ea=b,Na.initialize(Ea.getStreamInfo()),Ma.getElement()?G(c,a,!1):C(c))}function C(a){I(a)}function E(a){Na.initialize(Ea.getStreamInfo()),G(a,null,!0)}function G(a,b,c){function d(){La&&(ha("MediaSource is open!"),window.URL.revokeObjectURL(e),La.removeEventListener("sourceopen",d),La.removeEventListener("webkitsourceopen",d),K(),b||ia.trigger(q.default.SOURCE_INITIALIZED),c?Ea.setMediaSource(La):I(a))}var e=void 0;La?sa.detachMediaSource(Ma):La=sa.createMediaSource(),La.addEventListener("sourceopen",d,!1),La.addEventListener("webkitsourceopen",d,!1),e=sa.attachMediaSource(La,Ma),ha("MediaSource attached to element. Waiting on open...")}function I(a){Ea.activate(La),Ta=R(g.default.AUDIO),Sa=R(g.default.VIDEO),Qa||(isNaN(a)?function(){var a=Na.getStreamStartTime(!0);Ea.getProcessors().forEach(function(b){pa.setIndexHandlerTime(b,a)})}():Na.seek(a)),Ea.startEventController(),!Ha&&Qa||Na.play(),Ia=!1,ia.trigger(q.default.PERIOD_SWITCH_COMPLETED,{toStreamInfo:Ea.getStreamInfo()})}function K(){var a=Ea.getStreamInfo().manifestInfo.duration,b=sa.setDuration(La,a);ha("Duration successfully set to: "+b)}function L(a){for(var b=0,c=Da.length;b<c;b++)if(Da[b].getId()===a.id)return Da[b];return null}function M(){try{var a=pa.getStreamsInfo();if(0===a.length)throw new Error("There are no streams");var b=ra.getCurrentManifestUpdate(qa.getMetricsFor(g.default.STREAM));qa.updateManifestUpdateInfo(b,{currentTime:Na.getTime(),buffered:Ma.getBufferRange(),presentationStartTime:a[0].start,clientTimeOffset:Ca.getClientTimeOffset()});for(var c=0,d=a.length;c<d;c++){var e=a[c],f=L(e);f?f.updateData(e):(f=(0,k.default)(ga).create({manifestModel:na,dashManifestModel:oa,mediaPlayerModel:Oa,metricsModel:qa,dashMetrics:ra,manifestUpdater:la,adapter:pa,timelineConverter:Ca,capabilities:ka,errHandler:Ba,baseURLController:ua,domStorage:va,abrController:wa,playbackController:Na,mediaController:xa,textController:ya,videoModel:Ma,streamController:ja}),Da.push(f),f.initialize(e,Fa)),qa.addManifestUpdateStreamInfo(b,e.id,e.index,e.start,e.duration)}if(!Ea){var h=Na.getStartTimeFromUriParameters(),i=null;if(h){i=r(isNaN(h.fragS)?h.fragT:h.fragS)}A(null,null!==i?i:Da[0],NaN)}ia.trigger(q.default.STREAMS_COMPOSED)}catch(j){Ba.manifestError(j.message,"nostreamscomposed",na.getValue()),Ka=!0,da()}}function N(){var a=na.getValue();Fa&&(ia.trigger(q.default.PROTECTION_CREATED,{controller:Fa,manifest:a}),Fa.setMediaElement(Ma.getElement()),Ga&&Fa.setProtectionData(Ga)),M()}function O(a){a.error?(Ka=!0,da()):function(){var b=a.manifest;pa.updatePeriods(b);var c=pa.getStreamsInfo(void 0,1)[0],d=pa.getMediaInfoForType(c,g.default.VIDEO)||pa.getMediaInfoForType(c,g.default.AUDIO),e=void 0;d&&(e=oa.getUseCalculatedLiveEdgeTimeForAdaptation(pa.getDataForMedia(d)))&&(ha("SegmentTimeline detected using calculated Live Edge Time"),Oa.setUseManifestDateHeaderTimeSource(!1));var f=oa.getUTCTimingSources(a.manifest),h=!oa.getIsDynamic(b)||e?f:f.concat(Oa.getUTCTimingSources()),i=Aa.isHTTPS(a.manifest.url);h.forEach(function(a){a.value.replace(/.*?:\/\//g,"")===s.default.DEFAULT_UTC_TIMING_SOURCE.value.replace(/.*?:\/\//g,"")&&(a.value=a.value.replace(i?new RegExp(/^(http:)?\/\//i):new RegExp(/^(https:)?\/\//i),i?"https://":"http://"),ha("Matching default timing source protocol to manifest protocol: ",a.value))}),ua.initialize(b),ta.setConfig({metricsModel:qa,dashMetrics:ra,baseURLController:ua}),ta.initialize(h,Oa.getUseManifestDateHeaderTimeSource())}()}function P(){return Ta}function Q(){return Sa}function R(a){var b=!1;return Ea&&Ea.getProcessors().forEach(function(c){c.getMediaInfo().type===a&&(b=!0)}),b}function S(a,b){b=b||new Date,Ra&&(Ea&&Ea.getProcessors().forEach(function(c){var d=c.getScheduleController();d&&d.finalisePlayList(b,a)}),qa.addPlayList(Ra),Ra=null)}function T(a){Ra=new v.PlayList,Ra.start=new Date,Ra.mstart=1e3*Na.getTime(),Ra.starttype=a,Ea&&Ea.getProcessors().forEach(function(a){var b=a.getScheduleController();b&&b.setPlayList(Ra)})}function U(a){if(a.error){var b="";switch(a.error.code){case 1:b="MEDIA_ERR_ABORTED";break;case 2:b="MEDIA_ERR_NETWORK";break;case 3:b="MEDIA_ERR_DECODE";break;case 4:b="MEDIA_ERR_SRC_NOT_SUPPORTED";break;case 5:b="MEDIA_ERR_ENCRYPTED";break;default:b="UNKNOWN"}Ja=!0,a.error.message&&(b+=" ("+a.error.message+")"),a.error.msExtendedCode&&(b+=" (0x"+(a.error.msExtendedCode>>>0).toString(16).toUpperCase()+")"),ha("Video Element Error: "+b),a.error&&ha(a.error),Ba.mediaSourceError(b),da()}}function V(){return Ea?Ea.getStreamInfo():null}function W(a){return Da.filter(function(b){return b.getId()===a})[0]}function X(){if(!(ma&&ma.hasOwnProperty("load")&&Ca&&Ca.hasOwnProperty("initialize")&&Ca.hasOwnProperty("reset")&&Ca.hasOwnProperty("getClientTimeOffset")))throw new Error("setConfig function has to be called previously")}function Y(){if(!la||!la.hasOwnProperty("setManifest"))throw new Error("initialize function has to be called previously")}function Z(a){X(),ma.load(a)}function $(a){Y(),la.setManifest(a)}function _(a){isNaN(a.newDuration)||K(a.newDuration)}function aa(a){a&&(a.capabilities&&(ka=a.capabilities),a.manifestLoader&&(ma=a.manifestLoader),a.manifestModel&&(na=a.manifestModel),a.dashManifestModel&&(oa=a.dashManifestModel),a.mediaPlayerModel&&(Oa=a.mediaPlayerModel),a.protectionController&&(Fa=a.protectionController),a.adapter&&(pa=a.adapter),a.metricsModel&&(qa=a.metricsModel),a.dashMetrics&&(ra=a.dashMetrics),a.errHandler&&(Ba=a.errHandler),a.timelineConverter&&(Ca=a.timelineConverter),a.videoModel&&(Ma=a.videoModel),a.playbackController&&(Na=a.playbackController),a.domStorage&&(va=a.domStorage),a.abrController&&(wa=a.abrController),a.mediaController&&(xa=a.mediaController),a.textController&&(ya=a.textController))}function ba(a){Ga=a}function ca(){Da=[],Fa=null,Ia=!1,Ea=null,Ja=!1,Ka=!1,Sa=void 0,Ta=void 0,Qa=!0,Pa=!1,Ha=!0,Ra=null,Va=void 0,Ua=!1,Wa=0}function da(){X(),ta.reset(),S(Ja||Ka?v.PlayListTrace.FAILURE_STOP_REASON:v.PlayListTrace.USER_REQUEST_STOP_REASON);for(var a=0,b=Da?Da.length:0;a<b;a++){Da[a].reset(Ja)}ia.off(q.default.PLAYBACK_TIME_UPDATED,c,this),ia.off(q.default.PLAYBACK_SEEKING,f,this),ia.off(q.default.PLAYBACK_ERROR,U,this),ia.off(q.default.PLAYBACK_STARTED,h,this),ia.off(q.default.PLAYBACK_PAUSED,j,this),ia.off(q.default.PLAYBACK_ENDED,w,this),ia.off(q.default.MANIFEST_UPDATED,O,this),ia.off(q.default.STREAM_BUFFERING_COMPLETED,p,this),ia.off(D.default.METRIC_ADDED,ea,this),ia.off(q.default.MANIFEST_VALIDITY_CHANGED,_,this),ua.reset(),la.reset(),qa.clearAllCurrentMetrics(),na.setValue(null),ma.reset(),Ca.reset(),za.reset(),La&&(sa.detachMediaSource(Ma),La=null),Ma=null,Fa&&(Fa.setMediaElement(null),Fa=null,Ga=null,na.getValue()&&ia.trigger(q.default.PROTECTION_DESTROYED,{data:na.getValue().url})),ia.trigger(q.default.STREAM_TEARDOWN_COMPLETE),ca()}function ea(a){a.metric===i.default.DVR_INFO&&a.mediaType===g.default.AUDIO&&sa.setSeekable(La,a.value.range.start,a.value.range.end)}var fa=40,ga=this.context,ha=(0,x.default)(ga).getInstance().log,ia=(0,o.default)(ga).getInstance(),ja=void 0,ka=void 0,la=void 0,ma=void 0,na=void 0,oa=void 0,pa=void 0,qa=void 0,ra=void 0,sa=void 0,ta=void 0,ua=void 0,va=void 0,wa=void 0,xa=void 0,ya=void 0,za=void 0,Aa=void 0,Ba=void 0,Ca=void 0,Da=void 0,Ea=void 0,Fa=void 0,Ga=void 0,Ha=void 0,Ia=void 0,Ja=void 0,Ka=void 0,La=void 0,Ma=void 0,Na=void 0,Oa=void 0,Pa=void 0,Qa=void 0,Ra=void 0,Sa=void 0,Ta=void 0,Ua=void 0,Va=void 0,Wa=void 0,Xa=void 0;return ja={initialize:b,getActiveStreamInfo:V,isVideoTrackPresent:Q,isAudioTrackPresent:P,switchToVideoElement:E,getStreamById:W,getStreamForTime:r,getTimeRelativeToStreamId:t,load:Z,loadWithManifest:$,getActiveStreamProcessors:u,setConfig:aa,setProtectionData:ba,reset:da},a(),ja}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(98),i=d(h),j=a(94),k=d(j),l=a(89),m=d(l),n=a(45),o=d(n),p=a(49),q=d(p),r=a(115),s=d(r),t=a(46),u=d(t),v=a(184),w=a(44),x=d(w),y=a(151),z=d(y),A=a(157),B=d(A),C=a(91),D=d(C),E=a(110),F=d(E),G=a(100),H=d(G),I=a(106),J=d(I);e.__dashjs_factory_name="StreamController",c.default=u.default.getSingletonFactory(e),b.exports=c.default},{100:100,106:106,110:110,115:115,151:151,157:157,184:184,44:44,45:45,46:46,49:49,89:89,91:91,94:94,97:97,98:98}],110:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a,b){K=b,H=0,I=!1,J=!1,L={"urn:mpeg:dash:utc:http-head:2014":y,"urn:mpeg:dash:utc:http-xsdate:2014":x.bind(null,o),"urn:mpeg:dash:utc:http-iso:2014":x.bind(null,p),"urn:mpeg:dash:utc:direct:2014":w,"urn:mpeg:dash:utc:http-head:2012":y,"urn:mpeg:dash:utc:http-xsdate:2012":x.bind(null,o),"urn:mpeg:dash:utc:http-iso:2012":x.bind(null,p),"urn:mpeg:dash:utc:direct:2012":w,"urn:mpeg:dash:utc:http-ntp:2014":s,"urn:mpeg:dash:utc:ntp:2014":s,"urn:mpeg:dash:utc:sntp:2014":s},e()||(B(a),f(!0))}function b(a){a&&(a.metricsModel&&(M=a.metricsModel),a.dashMetrics&&(N=a.dashMetrics),a.baseURLController&&(O=a.baseURLController))}function c(){return k()}function d(a){I=a}function e(){return I}function f(a){J=a}function h(a){H=a}function k(){return H}function m(a){var b=1e3,c=/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2})(?::([0-9]*)(\.[0-9]*)?)?(?:([+\-])([0-9]{2})([0-9]{2}))?/,d=void 0,e=void 0,f=c.exec(a);return d=Date.UTC(parseInt(f[1],10),parseInt(f[2],10)-1,parseInt(f[3],10),parseInt(f[4],10),parseInt(f[5],10),f[6]&&(parseInt(f[6],10)||0),f[7]&&parseFloat(f[7])*b||0),f[9]&&f[10]&&(e=60*parseInt(f[9],10)+parseInt(f[10],10),d+=("+"===f[8]?-1:1)*e*60*b),new Date(d).getTime()}function o(a){var b=Date.parse(a);return isNaN(b)&&(b=m(a)),b}function p(a){return Date.parse(a)}function q(a){return Date.parse(a)}function s(a,b,c){c()}function w(a,b,c){var d=o(a);if(!isNaN(d))return void b(d);c()}function x(a,b,c,d,e){var f=void 0,g=void 0,h=!1,i=new XMLHttpRequest,k=e?j.HTTPRequest.HEAD:j.HTTPRequest.GET,l=b.match(/\S+/g);if(b=l.shift(),f=function(){h||(h=!0,l.length?x(a,l.join(" "),c,d,e):d())},g=function(){var b=void 0,d=void 0;200===i.status&&(b=e?i.getResponseHeader("Date"):i.response,d=a(b),isNaN(d)||(c(d),h=!0))},G.isRelative(b)){var m=O.resolve();m&&(b=G.resolve(b,m.url))}i.open(k,b),i.timeout=v||0,i.onload=g,i.onloadend=f,i.send()}function y(a,b,c){x(q,a,b,c,!0)}function z(){var a=M.getReadOnlyMetricsFor(g.default.STREAM),b=N.getLatestMPDRequestHeaderValueByID(a,"Date"),c=null!==b?new Date(b).getTime():Number.NaN;isNaN(c)?A(!0):(h(c-(new Date).getTime()),A(!1,c/1e3,H))}function A(a,b,c){d(!1),F.trigger(n.default.TIME_SYNCHRONIZATION_COMPLETED,{time:b,offset:c,error:a?new i.default(u):null})}function B(a,b){var c=b||0,e=a[c],f=function(a,b){var c=!a||!b;c&&K?z():A(c,a,b)};d(!0),e?L.hasOwnProperty(e.schemeIdUri)?L[e.schemeIdUri](e.value,function(a){var b=(new Date).getTime(),c=a-b;h(c),E("Local time: "+new Date(b)),E("Server time: "+new Date(a)),E("Difference (ms): "+c),f(a,c)},function(){B(a,c+1)}):B(a,c+1):(h(0),f())}function C(){f(!1),d(!1)}var D=this.context,E=(0,r.default)(D).getInstance().log,F=(0,l.default)(D).getInstance(),G=(0,t.default)(D).getInstance(),H=void 0,I=void 0,J=void 0,K=void 0,L=void 0,M=void 0,N=void 0,O=void 0;return{initialize:a,getOffsetToDeviceTimeMs:c,setConfig:b,reset:C}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(162),i=d(h),j=a(182),k=a(45),l=d(k),m=a(49),n=d(m),o=a(46),p=d(o),q=a(44),r=d(q),s=a(157),t=d(s),u=1,v=5e3;e.__dashjs_factory_name="TimeSyncController";var w=p.default.getSingletonFactory(e);w.TIME_SYNC_FAILED_ERROR_CODE=u,w.HTTP_TIMEOUT_MS=v,p.default.updateSingletonFactory(e.__dashjs_factory_name,w),c.default=w,b.exports=c.default},{157:157,162:162,182:182,44:44,45:45,46:46,49:49,97:97}],111:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){A.on(k.default.XLINK_ELEMENT_LOADED,j,C),H=(0,g.default)(z).create({errHandler:a.errHandler,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,requestModifier:a.requestModifier})}function c(a){a&&(D=a)}function d(a){a&&(E=a)}function e(a){var b=void 0;G=new o.default({escapeMode:!1,attributePrefix:"",arrayAccessForm:"property",emptyNodeForm:"object",stripWhitespaces:!1,enableToStringFunc:!1,ignoreRoot:!0,matchers:D}),F=a,b=m(F.Period_asArray,F,t,r),h(b,t,r)}function f(){A.off(k.default.XLINK_ELEMENT_LOADED,j,C),H&&(H.reset(),H=null)}function h(a,b,c){var d={},e=void 0,f=void 0;d.elements=a,d.type=b,d.resolveType=c,0===d.elements.length&&l(d);for(var g=0;g<d.elements.length;g++)e=d.elements[g],f=B.isHTTPURL(e.url)?e.url:e.originalContent.BaseURL+e.url,H.load(f,e,d)}function j(a){var b=void 0,c=void 0,d="";if(b=a.element,c=a.resolveObject,b.resolvedContent){var e=0;0===b.resolvedContent.indexOf("<?xml")&&(e=b.resolvedContent.indexOf("?>")+2),d=b.resolvedContent.substr(0,e)+"<response>"+b.resolvedContent.substr(e)+"</response>",b.resolvedContent=G.xml_str2json(d)}x(c)&&l(c)}function l(a){var b=[],c=void 0,d=void 0;if(n(a),a.resolveType===s&&A.trigger(k.default.XLINK_READY,{manifest:F}),a.resolveType===r)switch(a.type){case t:for(c=0;c<F[t+"_asArray"].length;c++)d=F[t+"_asArray"][c],d.hasOwnProperty(u+"_asArray")&&(b=b.concat(m(d[u+"_asArray"],d,u,r))),d.hasOwnProperty(v+"_asArray")&&(b=b.concat(m(d[v+"_asArray"],d,v,r)));h(b,u,r);break;case u:A.trigger(k.default.XLINK_READY,{manifest:F})}}function m(a,b,c,d){var e=[],f=void 0,g=void 0,h=void 0;for(g=a.length-1;g>=0;g--)f=a[g],f.hasOwnProperty("xlink:href")&&f["xlink:href"]===w&&a.splice(g,1);for(g=0;g<a.length;g++)f=a[g],f.hasOwnProperty("xlink:href")&&f.hasOwnProperty("xlink:actuate")&&f["xlink:actuate"]===d&&(h=p(f["xlink:href"],b,c,g,d,f),e.push(h));return e}function n(a){var b=[],c=void 0,d=void 0,e=void 0,f=void 0,g=void 0,h=void 0;for(f=a.elements.length-1;f>=0;f--){if(c=a.elements[f],d=c.type+"_asArray",!c.resolvedContent||y())delete c.originalContent["xlink:actuate"],delete c.originalContent["xlink:href"],b.push(c.originalContent);else if(c.resolvedContent)for(g=0;g<c.resolvedContent[d].length;g++)e=c.resolvedContent[d][g],b.push(e);for(c.parentElement[d].splice(c.index,1),h=0;h<b.length;h++)c.parentElement[d].splice(c.index+h,0,b[h]);b=[]}a.elements.length>0&&E.run(F)}function p(a,b,c,d,e,f){return{url:a,parentElement:b,type:c,index:d,resolveType:e,originalContent:f,resolvedContent:null,resolved:!1}}function x(a){var b=void 0,c=void 0;for(b=0;b<a.elements.length;b++)if(c=a.elements[b],!1===c.resolved)return!1;return!0}function y(){return!1}a=a||{};var z=this.context,A=(0,i.default)(z).getInstance(),B=(0,q.default)(z).getInstance(),C=void 0,D=void 0,E=void 0,F=void 0,G=void 0,H=void 0;return C={resolveManifestOnLoad:e,setMatchers:c,setIron:d,reset:f},b(),C}Object.defineProperty(c,"__esModule",{value:!0});var f=a(96),g=d(f),h=a(45),i=d(h),j=a(49),k=d(j),l=a(46),m=d(l),n=a(3),o=d(n),p=a(157),q=d(p),r="onLoad",s="onActuate",t="Period",u="AdaptationSet",v="EventStream",w="urn:mpeg:dash:resolve-to-zero:2013";e.__dashjs_factory_name="XlinkController",c.default=m.default.getClassFactory(e),b.exports=c.default},{157:157,3:3,45:45,46:46,49:49,96:96}],112:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(){function a(){i()}function b(a){a.dashManifestModel&&(o=a.dashManifestModel)}function c(a,b,c){var d=o.getBaseURLsFromElement(c)
25
- ;a[b]?q.areEqual(d,a[b].data.baseUrls)||(a[b].data.baseUrls=d,a[b].data.selectedIdx=k):a[b]=new l(d)}function d(a){var b=o.getBaseURLsFromElement(a);q.areEqual(b,n.data.baseUrls)||(n.data.baseUrls=b,n.data.selectedIdx=k),a.Period_asArray&&a.Period_asArray.forEach(function(a,b){c(n.children,b,a),a.AdaptationSet_asArray&&a.AdaptationSet_asArray.forEach(function(a,d){c(n.children[b].children,d,a),a.Representation_asArray&&a.Representation_asArray.sort(o.getRepresentationSortFunction()).forEach(function(a,e){c(n.children[b].children[d].children,e,a)})})})}function e(a,b){var c=b||n;a(c.data),c.children&&c.children.forEach(function(b){return e(a,b)})}function f(a){e(function(b){isNaN(b.selectedIdx)||a===b.baseUrls[b.selectedIdx].serviceLocation&&(b.selectedIdx=k)})}function g(a){d(a)}function i(){n=new l}function j(a){var b=n,c=[b.data];return a&&a.forEach(function(a){(b=b.children[a])&&c.push(b.data)}),c.filter(function(a){return a.baseUrls.length})}var m=void 0,n=void 0,o=void 0,p=this.context,q=(0,h.default)(p).getInstance();return m={reset:i,update:g,getForPath:j,invalidateSelectedIndexes:f,setConfig:b},a(),m}Object.defineProperty(c,"__esModule",{value:!0});var g=a(154),h=d(g),i=a(46),j=d(i),k=NaN,l=function a(b,c){e(this,a),this.data={baseUrls:b||null,selectedIdx:c||k},this.children=[]};f.__dashjs_factory_name="BaseURLTreeModel",c.default=j.default.getClassFactory(f),b.exports=c.default},{154:154,46:46}],113:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){D(),I.on(i.default.LOADING_COMPLETED,A,L),I.on(i.default.LOADING_DATA_PROGRESS,B,L),I.on(i.default.LOADING_ABANDONED,C,L)}function c(a){M=a}function d(){return M}function e(a){var b=function(a,b){return a.action===m.default.ACTION_COMPLETE&&a.action===b.action},c=function(a,b){return!isNaN(a.index)&&a.startTime===b.startTime&&a.adaptationIndex===b.adaptationIndex&&a.type===b.type},d=function(a,b){return isNaN(a.index)&&isNaN(b.index)&&a.quality===b.quality},e=function(e){var f=!1;return e.some(function(e){if(c(a,e)||d(a,e)||b(a,e))return f=!0}),f};return!!a&&e(N)}function f(a){var b=!1,c=0,d=void 0;if(!(b=e(a)))for(c=0;c<O.length;c++)d=O[c],a.url===d.url&&a.startTime===d.startTime&&(b=!0);return b}function h(a){var b=a?a.state instanceof Array?a.state:[a.state]:[],c=[];return b.forEach(function(b){var d=y(b);c=c.concat(x(d,a))}),c}function j(a){return isNaN(a.duration)?.25:a.duration/8}function k(a){N=N.filter(function(b){var c=j(b);return isNaN(b.startTime)||void 0!==a&&b.startTime>=a-c})}function l(a){N=N.filter(function(b){return isNaN(b.startTime)||void 0!==a&&b.startTime<=a})}function n(a,b){b<=a+.5||(N=N.filter(function(c){var d=j(c);return isNaN(c.startTime)||c.startTime>=b-d||isNaN(c.duration)||c.startTime+c.duration<=a+d}))}function r(a,b){if(!a||0===a.length)return void k();for(var c=0,d=0,e=a.length;d<e;d++)n(c,a.start(d)),c=a.end(d);b>0&&n(c,b)}function t(){K.abort(),O=[]}function u(a){switch(a.action){case m.default.ACTION_COMPLETE:N.push(a),z(a,q),H("[FragmentModel] executeRequest trigger STREAM_COMPLETED"),I.trigger(i.default.STREAM_COMPLETED,{request:a,fragmentModel:this});break;case m.default.ACTION_DOWNLOAD:z(a,p),O.push(a),v(a);break;default:H("Unknown request action.")}}function v(a){I.trigger(i.default.FRAGMENT_LOADING_STARTED,{sender:L,request:a}),K.load(a)}function w(a,b,c){for(var d=a.length-1,e=d;e>=0;e--){var f=a[e],g=f.startTime,h=g+f.duration;if(c=isNaN(c)?j(f):c,!isNaN(g)&&!isNaN(h)&&b+c>=g&&b-c<h||isNaN(g)&&isNaN(b))return f}return null}function x(a,b){return b.hasOwnProperty("time")?[w(a,b.time,b.threshold)]:a.filter(function(a){for(var c in b)if("state"!==c&&b.hasOwnProperty(c)&&a[c]!=b[c])return!1;return!0})}function y(a){var b=void 0;switch(a){case p:b=O;break;case q:b=N;break;default:b=[]}return b}function z(a,b){J.addSchedulingInfo(a.mediaType,new Date,a.type,a.startTime,a.availabilityStartTime,a.duration,a.quality,a.range,b),J.addRequestsQueue(a.mediaType,O,N)}function A(a){a.sender===K&&(O.splice(O.indexOf(a.request),1),a.response&&!a.error&&N.push(a.request),z(a.request,a.error?s:q),I.trigger(i.default.FRAGMENT_LOADING_COMPLETED,{request:a.request,response:a.response,error:a.error,sender:this}))}function B(a){a.sender===K&&I.trigger(i.default.FRAGMENT_LOADING_PROGRESS,{request:a.request,response:a.response,error:a.error,sender:this})}function C(a){a.sender===K&&I.trigger(i.default.FRAGMENT_LOADING_ABANDONED,{streamProcessor:this.getStreamProcessor(),request:a.request,mediaType:a.mediaType})}function D(){N=[],O=[]}function E(){I.off(i.default.LOADING_COMPLETED,A,this),I.off(i.default.LOADING_DATA_PROGRESS,B,this),I.off(i.default.LOADING_ABANDONED,C,this),K&&K.reset(),D()}function F(a){N.push(a)}a=a||{};var G=this.context,H=(0,o.default)(G).getInstance().log,I=(0,g.default)(G).getInstance(),J=a.metricsModel,K=a.fragmentLoader,L=void 0,M=void 0,N=void 0,O=void 0;return L={setStreamProcessor:c,getStreamProcessor:d,getRequests:h,isFragmentLoaded:e,isFragmentLoadedOrPending:f,removeExecutedRequestsBeforeTime:k,removeExecutedRequestsAfterTime:l,syncExecutedRequestsWithBufferedRange:r,abortRequests:t,executeRequest:u,reset:E,addExecutedRequest:F},b(),L}Object.defineProperty(c,"__esModule",{value:!0});var f=a(45),g=d(f),h=a(49),i=d(h),j=a(46),k=d(j),l=a(164),m=d(l),n=a(44),o=d(n),p="loading",q="executed",r="canceled",s="failed";e.__dashjs_factory_name="FragmentModel";var t=k.default.getClassFactory(e);t.FRAGMENT_MODEL_LOADING=p,t.FRAGMENT_MODEL_EXECUTED=q,t.FRAGMENT_MODEL_CANCELED=r,t.FRAGMENT_MODEL_FAILED=s,k.default.updateClassFactory(e.__dashjs_factory_name,t),c.default=t,b.exports=c.default},{164:164,44:44,45:45,46:46,49:49}],114:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){return e}function b(a){e=a,a&&d.trigger(i.default.MANIFEST_LOADED,{data:a})}var c=this.context,d=(0,g.default)(c).getInstance(),e=void 0;return{getValue:a,setValue:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(45),g=d(f),h=a(49),i=d(h),j=a(46),k=d(j);e.__dashjs_factory_name="ManifestModel",c.default=k.default.getSingletonFactory(e),b.exports=c.default},{45:45,46:46,49:49}],115:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function f(){function a(){var a,b;cb=[],bb=!1,ab=!0,fb=!0,vb=k.default.ABR_STRATEGY_DYNAMIC,wb=!0,yb=!1,jb={enabled:!0,ttl:n},kb={enabled:!0,ttl:o},db=m,eb=void 0,gb=r,hb=s,ib=t,lb=NaN,mb=w,nb=x,ob=y,pb=z,qb=p,rb=q,ub=L,Cb=!1,Db=A,Fb=B,xb={default:M},zb=[],Ab=k.default.MOVING_AVERAGE_SLIDING_WINDOW,Eb=!1,a={},e(a,i.HTTPRequest.MPD_TYPE,G),e(a,i.HTTPRequest.XLINK_EXPANSION_TYPE,I),e(a,i.HTTPRequest.MEDIA_SEGMENT_TYPE,E),e(a,i.HTTPRequest.INIT_SEGMENT_TYPE,E),e(a,i.HTTPRequest.BITSTREAM_SWITCHING_SEGMENT_TYPE,E),e(a,i.HTTPRequest.INDEX_SEGMENT_TYPE,E),e(a,i.HTTPRequest.OTHER_TYPE,E),sb=a,b={},e(b,i.HTTPRequest.MPD_TYPE,H),e(b,i.HTTPRequest.XLINK_EXPANSION_TYPE,J),e(b,i.HTTPRequest.MEDIA_SEGMENT_TYPE,F),e(b,i.HTTPRequest.INIT_SEGMENT_TYPE,F),e(b,i.HTTPRequest.BITSTREAM_SWITCHING_SEGMENT_TYPE,F),e(b,i.HTTPRequest.INDEX_SEGMENT_TYPE,F),e(b,i.HTTPRequest.OTHER_TYPE,F),tb=b,Bb={},Bb[k.default.VIDEO]=C,Bb[k.default.AUDIO]=D}function b(a){vb=a}function c(){return vb}function d(a){wb=a}function f(){return wb}function g(a){var b=void 0;for(b=0;b<zb.length;b++)if(zb[b].rulename===a)return b;return-1}function h(){return zb}function j(a,b,c){var d=g(b);-1===d?zb.push({type:a,rulename:b,rule:c}):(zb[d].type=a,zb[d].rule=c)}function l(a){var b=g(a);-1!==b&&zb.splice(b,1)}function N(){zb=[]}function O(a){qb=a}function P(){return qb}function Q(a){rb=a}function R(){return rb}function S(a){lb=a}function T(){return isNaN(lb)?yb?v:u:lb}function U(a){mb=a}function V(){return mb}function W(a){nb=a}function X(){return nb}function Y(a){ob=a}function Z(){return ob}function $(a){pb=a}function _(){return pb}function aa(a,b){Bb[a]=b}function ba(a){return Bb[a]}function ca(a){gb=a}function da(){return gb}function ea(a){hb=a}function fa(){return hb}function ga(a,b){jb.enabled=a,void 0===b||isNaN(b)||"number"!=typeof b||(jb.ttl=b)}function ha(){return jb}function ia(a,b){kb.enabled=a,void 0===b||isNaN(b)||"number"!=typeof b||(kb.ttl=b)}function ja(){return kb}function ka(a){ib=a}function la(){return ib}function ma(a){sb[i.HTTPRequest.MEDIA_SEGMENT_TYPE]=a}function na(a){sb[i.HTTPRequest.MPD_TYPE]=a}function oa(a,b){sb[a]=b}function pa(){return sb[i.HTTPRequest.MEDIA_SEGMENT_TYPE]}function qa(){return sb[i.HTTPRequest.MPD_TYPE]}function ra(a){return sb[a]}function sa(a){tb[i.HTTPRequest.MEDIA_SEGMENT_TYPE]=a}function ta(a){tb[i.HTTPRequest.MPD_TYPE]=a}function ua(a,b){tb[a]=b}function va(){return tb[i.HTTPRequest.MEDIA_SEGMENT_TYPE]}function wa(){return tb[i.HTTPRequest.MPD_TYPE]}function xa(a){return tb[a]}function ya(a){ub=a}function za(){return ub}function Aa(a){fb=a}function Ba(){return fb}function Ca(a){db=a}function Da(a){eb=a}function Ea(){return db}function Fa(){return Eb?eb||K:eb}function Ga(a){ab=a}function Ha(){return ab}function Ia(a){bb=a}function Ja(){return bb}function Ka(a){cb=a}function La(){return cb}function Ma(a,b){a?xb[a]=!!b:Object.keys(xb).forEach(function(a){Ma(a,b)})}function Na(a){var b=xb[a];return void 0===b?xb.default:b}function Oa(){return yb}function Pa(a){yb=a}function Qa(a){Ab=a}function Ra(){return Ab}function Sa(a){Cb=a}function Ta(){return Cb}function Ua(a){Db=a}function Va(){return Db}function Wa(){return Eb}function Xa(a){Eb=a}function Ya(a){Fb=a}function Za(){return Fb}function $a(){}var _a=void 0,ab=void 0,bb=void 0,cb=void 0,db=void 0,eb=void 0,fb=void 0,gb=void 0,hb=void 0,ib=void 0,jb=void 0,kb=void 0,lb=void 0,mb=void 0,nb=void 0,ob=void 0,pb=void 0,qb=void 0,rb=void 0,sb=void 0,tb=void 0,ub=void 0,vb=void 0,wb=void 0,xb=void 0,yb=void 0,zb=void 0,Ab=void 0,Bb=void 0,Cb=void 0,Db=void 0,Eb=void 0,Fb=void 0;return _a={setABRStrategy:b,getABRStrategy:c,setUseDefaultABRRules:d,getUseDefaultABRRules:f,getABRCustomRules:h,addABRCustomRule:j,removeABRCustomRule:l,removeAllABRCustomRule:N,setBandwidthSafetyFactor:O,getBandwidthSafetyFactor:P,setAbandonLoadTimeout:Q,getAbandonLoadTimeout:R,setLastBitrateCachingInfo:ga,getLastBitrateCachingInfo:ha,setLastMediaSettingsCachingInfo:ia,getLastMediaSettingsCachingInfo:ja,setStableBufferTime:S,getStableBufferTime:T,setBufferTimeAtTopQuality:U,getBufferTimeAtTopQuality:V,setBufferTimeAtTopQualityLongForm:W,getBufferTimeAtTopQualityLongForm:X,setLongFormContentDurationThreshold:Y,getLongFormContentDurationThreshold:Z,setSegmentOverlapToleranceTime:$,getSegmentOverlapToleranceTime:_,getCacheLoadThresholdForType:ba,setCacheLoadThresholdForType:aa,setBufferToKeep:ca,getBufferToKeep:da,setBufferAheadToKeep:ea,getBufferAheadToKeep:fa,setBufferPruningInterval:ka,getBufferPruningInterval:la,setFragmentRetryAttempts:ma,getFragmentRetryAttempts:pa,setManifestRetryAttempts:na,getManifestRetryAttempts:qa,setRetryAttemptsForType:oa,getRetryAttemptsForType:ra,setFragmentRetryInterval:sa,getFragmentRetryInterval:va,setManifestRetryInterval:ta,getManifestRetryInterval:wa,setRetryIntervalForType:ua,getRetryIntervalForType:xa,setWallclockTimeUpdateInterval:ya,getWallclockTimeUpdateInterval:za,setScheduleWhilePaused:Aa,getScheduleWhilePaused:Ba,getUseSuggestedPresentationDelay:Ja,setUseSuggestedPresentationDelay:Ia,setLiveDelayFragmentCount:Ca,getLiveDelayFragmentCount:Ea,getLiveDelay:Fa,setLiveDelay:Da,setUseManifestDateHeaderTimeSource:Ga,getUseManifestDateHeaderTimeSource:Ha,setUTCTimingSources:Ka,getUTCTimingSources:La,setXHRWithCredentialsForType:Ma,getXHRWithCredentialsForType:Na,setFastSwitchEnabled:Pa,getFastSwitchEnabled:Oa,setMovingAverageMethod:Qa,getMovingAverageMethod:Ra,setJumpGaps:Sa,getJumpGaps:Ta,setSmallGapLimit:Ua,getSmallGapLimit:Va,getLowLatencyEnabled:Wa,setLowLatencyEnabled:Xa,setManifestUpdateRetryInterval:Ya,getManifestUpdateRetryInterval:Za,reset:$a},a(),_a}Object.defineProperty(c,"__esModule",{value:!0});var g=a(46),h=d(g),i=a(182),j=a(97),k=d(j),l={scheme:"urn:mpeg:dash:utc:http-xsdate:2014",value:"http://time.akamai.com/?iso"},m=4,n=36e4,o=36e4,p=.9,q=1e4,r=20,s=80,t=10,u=12,v=20,w=30,x=60,y=600,z=.2,A=.8,B=100,C=50,D=5,E=3,F=1e3,G=3,H=500,I=1,J=500,K=3,L=50,M=!1;f.__dashjs_factory_name="MediaPlayerModel";var N=h.default.getSingletonFactory(f);N.DEFAULT_UTC_TIMING_SOURCE=l,h.default.updateSingletonFactory(f.__dashjs_factory_name,N),c.default=N,b.exports=c.default},{182:182,46:46,97:97}],116:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){W={}}function b(a){a&&a.adapter&&(V=a.adapter)}function c(){T.trigger(G.default.METRICS_CHANGED)}function d(a){T.trigger(G.default.METRIC_CHANGED,{mediaType:a}),c()}function e(a,b,c){T.trigger(G.default.METRIC_UPDATED,{mediaType:a,metric:b,value:c}),d(a)}function f(a,b,c){T.trigger(G.default.METRIC_ADDED,{mediaType:a,metric:b,value:c}),d(a)}function h(a){delete W[a],d(a)}function j(){W={},c()}function l(a){return W.hasOwnProperty(a)?W[a]:null}function o(a){var b=void 0;return W.hasOwnProperty(a)?b=W[a]:(b=new k.default,W[a]=b),b}function q(a,b,c){var d=o(a);d[b].push(c),d[b].length>R&&d[b].shift()}function s(a,b,c,d,e,f){var g=new m.default;return g.tcpid=b,g.dest=c,g.topen=d,g.tclose=e,g.tconnect=f,B(a,i.default.TCP_CONNECTION,g),g}function u(a,b,c,d){var e=new n.HTTPRequestTrace;return e.s=b,e.d=c,e.b=d,a.trace.push(e),a.interval||(a.interval=0),a.interval+=c,e}function w(a,b,c,d,e,f,g,h,j,k,l,m,o,p){var q=new n.HTTPRequest;return e&&e!==d&&(w(a,null,c,d,null,null,g,h,null,null,null,m,null,null),q.actualurl=e),q.tcpid=b,q.type=c,q.url=d,q.range=g,q.trequest=h,q.tresponse=j,q.responsecode=l,q._tfinish=k,q._stream=a,q._mediaduration=m,q._responseHeaders=o,q._serviceLocation=f,p?p.forEach(function(a){u(q,a.s,a.d,a.b)}):(delete q.interval,delete q.trace),B(a,i.default.HTTP_REQUEST,q),q}function z(a,b,c,d,e){var f=new p.default;return f.t=b,f.mt=c,f.to=d,e?f.lto=e:delete f.lto,B(a,i.default.TRACK_SWITCH,f),f}function B(a,b,c){q(a,b,c),f(a,b,c)}function D(a,b,c){var d=new r.default;return d.t=b,d.level=c,B(a,i.default.BUFFER_LEVEL,d),d}function F(a,b,c){var d=new t.default;return d.target=c,d.state=b,B(a,i.default.BUFFER_STATE,d),d}function H(a,b,c,d){var e=new v.default;return e.time=b,e.range=d,e.manifestInfo=c,B(a,i.default.DVR_INFO,e),e}function I(a,b){var c=new x.default,d=o(a).DroppedFrames;return c.time=b.creationTime,c.droppedFrames=b.droppedVideoFrames,d.length>0&&d[d.length-1]==c?d[d.length-1]:(B(a,i.default.DROPPED_FRAMES,c),c)}function J(a,b,c,d,e,f,g,h,j){var k=new A.default;return k.mediaType=a,k.t=b,k.type=c,k.startTime=d,k.availabilityStartTime=e,k.duration=f,k.quality=g,k.range=h,k.state=j,B(a,i.default.SCHEDULING_INFO,k),k}function K(a,b,c){var d=new E.default;d.loadingRequests=b,d.executedRequests=c,o(a).RequestsQueue=d,f(a,i.default.REQUESTS_QUEUE,d)}function L(a,b,c,d,e,h,j,k,l,m){var n=new y.ManifestUpdate;return n.mediaType=a,n.type=b,n.requestTime=c,n.fetchTime=d,n.availabilityStartTime=e,n.presentationStartTime=h,n.clientTimeOffset=j,n.currentTime=k,n.buffered=l,n.latency=m,q(g.default.STREAM,i.default.MANIFEST_UPDATE,n),f(a,i.default.MANIFEST_UPDATE,n),n}function M(a,b){if(a){for(var c in b)a[c]=b[c];e(a.mediaType,i.default.MANIFEST_UPDATE,a)}}function N(a,b,c,d,f){if(a){var g=new y.ManifestUpdateStreamInfo;return g.id=b,g.index=c,g.start=d,g.duration=f,a.streamInfo.push(g),e(a.mediaType,i.default.MANIFEST_UPDATE_STREAM_INFO,a),g}return null}function O(a,b,c,d,f,g,h,j){if(a){var k=new y.ManifestUpdateRepresentationInfo;return k.id=b,k.index=c,k.streamIndex=d,k.mediaType=f,k.startNumber=h,k.fragmentInfoType=j,k.presentationTimeOffset=g,a.representationInfo.push(k),e(a.mediaType,i.default.MANIFEST_UPDATE_TRACK_INFO,a),k}return null}function P(a){var b=g.default.STREAM;return a.trace&&Array.isArray(a.trace)?a.trace.forEach(function(a){a.hasOwnProperty("subreplevel")&&!a.subreplevel&&delete a.subreplevel}):delete a.trace,B(b,i.default.PLAY_LIST,a),a}function Q(a){return B(g.default.STREAM,i.default.DVB_ERRORS,a),a}var R=1e3,S=this.context,T=(0,C.default)(S).getInstance(),U=void 0,V=void 0,W=void 0;return U={clearCurrentMetricsForType:h,clearAllCurrentMetrics:j,getReadOnlyMetricsFor:l,getMetricsFor:o,addTcpConnection:s,addHttpRequest:w,addRepresentationSwitch:z,addBufferLevel:D,addBufferState:F,addDVRInfo:H,addDroppedFrames:I,addSchedulingInfo:J,addRequestsQueue:K,addManifestUpdate:L,updateManifestUpdateInfo:M,addManifestUpdateStreamInfo:N,addManifestUpdateRepresentationInfo:O,addPlayList:P,addDVBErrors:Q,setConfig:b},a(),U}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(98),i=d(h),j=a(170),k=d(j),l=a(188),m=d(l),n=a(182),o=a(185),p=d(o),q=a(178),r=d(q),s=a(179),t=d(s),u=a(180),v=d(u),w=a(181),x=d(w),y=a(183),z=a(187),A=d(z),B=a(45),C=d(B),D=a(186),E=d(D),F=a(49),G=d(F),H=a(46),I=d(H);e.__dashjs_factory_name="MetricsModel",c.default=I.default.getSingletonFactory(e),b.exports=c.default},{170:170,178:178,179:179,180:180,181:181,182:182,183:183,185:185,186:186,187:187,188:188,45:45,46:46,49:49,97:97,98:98}],117:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){if(c=new g.default,!a)return null;var b=a.indexOf("#");if(-1!==b)for(var d=a.substr(b+1).split("&"),e=0,f=d.length;e<f;++e){var h=d[e],i=h.indexOf("=");if(-1!==i){var j=h.substring(0,i);c.hasOwnProperty(j)&&(c[j]=h.substr(i+1))}}}function b(){return c}var c=void 0;return{initialize:a,getURIFragmentData:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(177),g=d(f),h=a(46),i=d(h);e.__dashjs_factory_name="URIFragmentModel",c.default=i.default.getSingletonFactory(e),b.exports=c.default},{177:177,46:46}],118:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){_.on(k.default.PLAYBACK_PLAYING,v,this)}function b(){_.off(k.default.PLAYBACK_PLAYING,v,this)}function c(){U&&(U.playbackRate=X||1,U.removeEventListener("canplay",c))}function d(a){U&&(U.readyState<=2&&a>0?U.addEventListener("canplay",c):U.playbackRate=a)}function e(a){if(U){if(U.currentTime==a)return;try{U.currentTime=a}catch(b){0===U.readyState&&b.code===b.INVALID_STATE_ERR&&setTimeout(function(){U.currentTime=a},400)}}}function f(){return U}function g(a){if(null!==a&&void 0!==a&&(!a||!a.nodeName||"VIDEO"!==a.nodeName&&"AUDIO"!==a.nodeName))throw Y;(U=a)&&(U.preload="auto")}function h(a){U&&(a?U.src=a:(U.removeAttribute("src"),U.load()))}function j(){return U?U.src:null}function l(){return W}function n(a){W=a}function o(){return V}function p(a){V=a,V.style.position="absolute",V.style.display="flex",V.style.overflow="hidden",V.style.pointerEvents="none",V.style.top=0,V.style.left=0}function q(a,b){u(a,b)}function r(){return aa.length>0}function s(a){var b=void 0;null===a||U.seeking||-1!==aa.indexOf(a)||(aa.push(a),U&&1===aa.length&&(b=document.createEvent("Event"),b.initEvent("waiting",!0,!1),X=U.playbackRate,d(0),U.dispatchEvent(b)))}function t(a){var b=aa.indexOf(a),c=void 0;null!==a&&(-1!==b&&aa.splice(b,1),U&&!1===r()&&0===U.playbackRate&&(d(X||1),U.paused||(c=document.createEvent("Event"),c.initEvent("playing",!0,!1),U.dispatchEvent(c))))}function u(a,b){b?s(a):t(a)}function v(){if(U&&r()&&0===U.playbackRate){var a=document.createEvent("Event");a.initEvent("waiting",!0,!1),U.dispatchEvent(a)}}function w(){if(!U)return null;var a="webkitDroppedFrameCount"in U&&"webkitDecodedFrameCount"in U,b="getVideoPlaybackQuality"in U,c=null;return b?c=U.getVideoPlaybackQuality():a&&(c={droppedVideoFrames:U.webkitDroppedFrameCount,totalVideoFrames:U.webkitDroppedFrameCount+U.webkitDecodedFrameCount,creationTime:new Date}),c}function x(){if(U){U.autoplay=!0;var a=U.play();a&&"undefined"!=typeof Promise&&a instanceof Promise&&a.catch(function(a){"NotAllowedError"===a.name&&_.trigger(k.default.PLAYBACK_NOT_ALLOWED),$("Caught pending play exception - continuing ("+a+")")})}}function y(){return U?U.paused:null}function z(){U&&(U.pause(),U.autoplay=!1)}function A(){return U?U.seeking:null}function B(){return U?U.currentTime:null}function C(){return U?U.playbackRate:null}function D(){return U?U.played:null}function E(){return U?U.ended:null}function F(a,b){U&&U.addEventListener(a,b)}function G(a,b){U&&U.removeEventListener(a,b)}function H(){return U?U.readyState:NaN}function I(){return U?U.buffered:null}function J(){return U?U.clientWidth:NaN}function K(){return U?U.clientHeight:NaN}function L(){return U?U.videoWidth:NaN}function M(){return U?U.videoHeight:NaN}function N(){return U&&U.parentNode?U.getBoundingClientRect().top-U.parentNode.getBoundingClientRect().top:NaN}function O(){return U&&U.parentNode?U.getBoundingClientRect().left-U.parentNode.getBoundingClientRect().left:NaN}function P(){return U?U.textTracks:[]}function Q(a,b,c,d,e){if(U)for(var f=0;f<U.textTracks.length;f++)if(U.textTracks[f].kind===a&&(!b||U.textTracks[f].label==b)&&U.textTracks[f].language===c&&U.textTracks[f].isTTML===d&&U.textTracks[f].isEmbedded===e)return U.textTracks[f];return null}function R(a,b,c){return U?U.addTextTrack(a,b,c):null}function S(a){U&&(U.appendChild(a),void 0!==a.isTTML&&(U.textTracks[U.textTracks.length-1].isTTML=a.isTTML,U.textTracks[U.textTracks.length-1].isEmbedded=a.isEmbedded))}function T(a){U&&U.removeChild(a)}var U=void 0,V=void 0,W=void 0,X=void 0,Y="element is not video or audio DOM type!",Z=this.context,$=(0,m.default)(Z).getInstance().log,_=(0,i.default)(Z).getInstance(),aa=[];return{initialize:a,setCurrentTime:e,play:x,isPaused:y,pause:z,isSeeking:A,getTime:B,getPlaybackRate:C,getPlayedRanges:D,getEnded:E,setStallState:q,getElement:f,setElement:g,setSource:h,getSource:j,getVideoContainer:l,setVideoContainer:n,getTTMLRenderingDiv:o,setTTMLRenderingDiv:p,getPlaybackQuality:w,addEventListener:F,removeEventListener:G,getReadyState:H,getBufferRange:I,getClientWidth:J,getClientHeight:K,getTextTracks:P,getTextTrack:Q,addTextTrack:R,appendChild:S,removeChild:T,getVideoWidth:L,getVideoHeight:M,getVideoRelativeOffsetTop:N,getVideoRelativeOffsetLeft:O,reset:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(45),i=d(h),j=a(49),k=d(j),l=a(44),m=d(l);e.__dashjs_factory_name="VideoModel",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{44:44,45:45,46:46,49:49}],119:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a){var b=new Date,e=a.request,g=new Headers;e.range&&g.append("Range","bytes="+e.range),e.requestStartDate||(e.requestStartDate=b),f&&f.modifyRequestHeader({setRequestHeader:function(a,b){g.append(a,b)}});var h=void 0;"function"==typeof window.AbortController&&(h=new AbortController,a.abortController=h);var j={method:a.method,headers:g,credentials:a.withCredentials?"include":void 0,signal:h?h.signal:void 0};fetch(a.url,j).then(function(b){a.response||(a.response={}),a.response.status=b.status,a.response.statusText=b.statusText,a.response.responseURL=b.url,b.ok||a.onerror();var e="",f=!0,g=!1,h=void 0;try{for(var j,k=b.headers.keys()[Symbol.iterator]();!(f=(j=k.next()).done);f=!0){var l=j.value;e+=l+": "+b.headers.get(l)+"\n"}}catch(r){g=!0,h=r}finally{try{!f&&k.return&&k.return()}finally{if(g)throw h}}if(a.response.responseHeaders=e,!b.body)return b.arrayBuffer().then(function(b){a.response.response=b;var c={loaded:b.byteLength,total:b.byteLength};a.progress(c),a.onload(),a.onend()});var m=parseInt(b.headers.get("Content-Length"),10),n=0,o=!1,p=new Uint8Array,q=0;a.reader=b.body.getReader(),c(a,function b(e){var f=e.value;if(e.done)return p&&(a.progress({loaded:n,total:isNaN(m)?n:m,lengthComputable:!0}),a.response.response=p.buffer),a.onload(),void a.onend();if(f&&f.length>0){p=d(p,f),n+=f.length;var g=(0,i.default)().getInstance().findLastTopIsoBoxCompleted(["moov","mdat"],p,q);if(g.found){var h=g.lastCompletedOffset+g.size,j=void 0;h===p.length?(j=p,p=new Uint8Array):(j=new Uint8Array(p.subarray(0,h)),p=p.subarray(h)),a.progress({data:j.buffer,lengthComputable:!1,noTrace:!0}),q=0}else q=g.lastCompletedOffset,o||(a.progress({lengthComputable:!1,noTrace:!0}),o=!0)}c(a,b)})}).catch(function(b){a.onerror&&a.onerror(b)})}function c(a,b){a.reader.read().then(b).catch(function(){})}function d(a,b){if(0===a.length)return b;var c=new Uint8Array(a.length+b.length);return c.set(a),c.set(b,a.length),c}function e(a){if(a.abortController)a.abortController.abort();else if(a.reader)try{a.reader.cancel()}catch(b){}}a=a||{};var f=a.requestModifier;return{load:b,abort:e}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(145),i=d(h);e.__dashjs_factory_name="FetchLoader";var j=g.default.getClassFactory(e);c.default=j,b.exports=c.default},{145:145,46:46}],120:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function f(a){function b(){var a;r=[],s=[],t=[],a={},e(a,k.HTTPRequest.MPD_TYPE,o.default.DOWNLOAD_ERROR_ID_MANIFEST),e(a,k.HTTPRequest.XLINK_EXPANSION_TYPE,o.default.DOWNLOAD_ERROR_ID_XLINK),e(a,k.HTTPRequest.INIT_SEGMENT_TYPE,o.default.DOWNLOAD_ERROR_ID_INITIALIZATION),e(a,k.HTTPRequest.MEDIA_SEGMENT_TYPE,o.default.DOWNLOAD_ERROR_ID_CONTENT),e(a,k.HTTPRequest.INDEX_SEGMENT_TYPE,o.default.DOWNLOAD_ERROR_ID_CONTENT),e(a,k.HTTPRequest.BITSTREAM_SWITCHING_SEGMENT_TYPE,o.default.DOWNLOAD_ERROR_ID_CONTENT),e(a,k.HTTPRequest.OTHER_TYPE,o.default.DOWNLOAD_ERROR_ID_CONTENT),u=a}function c(a,b){var d=a.request,e=[],f=!0,o=!0,q=new Date,v=q,w=0,x=void 0;if(!n||!l||!i)throw new Error("config object is not correct or missing");var y=function(a){o=!1,d.requestStartDate=q,d.requestEndDate=new Date,d.firstByteDate=d.firstByteDate||q,d.checkExistenceOnly||l.addHttpRequest(d.mediaType,null,d.type,d.url,x.response?x.response.responseURL:null,d.serviceLocation||null,d.range||null,d.requestStartDate,d.firstByteDate,d.requestEndDate,x.response?x.response.status:null,d.duration,x.response&&x.response.getAllResponseHeaders?x.response.getAllResponseHeaders():x.response.responseHeaders,a?e:null)},z=function(){-1!==r.indexOf(x)&&(r.splice(r.indexOf(x),1),o&&(y(!1),b>0?(b--,t.push(setTimeout(function(){c(a,b)},m.getRetryIntervalForType(d.type)))):(i.downloadError(u[d.type],d.url,d),a.error&&a.error(d,"error",x.response.statusText),a.complete&&a.complete(d,x.response.statusText))))},A=function(b){var c=new Date;f&&(f=!1,(!b.lengthComputable||b.lengthComputable&&b.total!==b.loaded)&&(d.firstByteDate=c)),b.lengthComputable&&(d.bytesLoaded=b.loaded,d.bytesTotal=b.total),b.noTrace||(e.push({s:v,d:c.getTime()-v.getTime(),b:[b.loaded?b.loaded-w:0]}),v=c,w=b.loaded),a.progress&&b.data&&a.progress(b.data)},B=function(){x.response.status>=200&&x.response.status<=299&&(y(!0),a.success&&a.success(x.response.response,x.response.statusText,x.response.responseURL),a.complete&&a.complete(d,x.response.statusText))},C=function(){a.abort&&a.abort(d)},D=void 0;D=p&&window.fetch&&"arraybuffer"===d.responseType?(0,j.default)(g).create({requestModifier:n}):(0,h.default)(g).create({requestModifier:n});var E=n.modifyRequestURL(d.url),F=d.checkExistenceOnly?k.HTTPRequest.HEAD:k.HTTPRequest.GET,G=m.getXHRWithCredentialsForType(d.type);x={url:E,method:F,withCredentials:G,request:d,onload:B,onend:z,onerror:z,progress:A,onabort:C,loader:D};var H=(new Date).getTime();isNaN(d.delayLoadingTime)||H>=d.delayLoadingTime?(r.push(x),D.load(x)):function(){var a={httpRequest:x};s.push(a),a.delayTimeout=setTimeout(function(){if(-1!==s.indexOf(a)){s.splice(s.indexOf(a),1);try{q=new Date,v=q,r.push(a.httpRequest),D.load(a.httpRequest)}catch(b){a.httpRequest.onerror()}}},d.delayLoadingTime-H)}()}function d(a){a.request&&c(a,m.getRetryAttemptsForType(a.request.type))}function f(){t.forEach(function(a){return clearTimeout(a)}),t=[],s.forEach(function(a){return clearTimeout(a.delayTimeout)}),s=[],r.forEach(function(a){a.onloadend=a.onerror=a.onprogress=void 0,a.loader.abort(a),a.onabort()}),r=[]}a=a||{};var g=this.context,i=a.errHandler,l=a.metricsModel,m=a.mediaPlayerModel,n=a.requestModifier,p=a.useFetch||!1,q=void 0,r=void 0,s=void 0,t=void 0,u=void 0;return q={load:d,abort:f},b(),q}Object.defineProperty(c,"__esModule",{value:!0});var g=a(121),h=d(g),i=a(119),j=d(i),k=a(182),l=a(46),m=d(l),n=a(150),o=d(n);f.__dashjs_factory_name="HTTPLoader";var p=m.default.getClassFactory(f);c.default=p,b.exports=c.default},{119:119,121:121,150:150,182:182,46:46}],121:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a){var b=new Date,c=a.request,e=new XMLHttpRequest;e.open(a.method,a.url,!0),c.responseType&&(e.responseType=c.responseType),c.range&&e.setRequestHeader("Range","bytes="+c.range),c.requestStartDate||(c.requestStartDate=b),d&&(e=d.modifyRequestHeader(e)),e.withCredentials=a.withCredentials,e.onload=a.onload,e.onloadend=a.onend,e.onerror=a.onerror,e.onprogress=a.progress,e.onabort=a.onabort,e.send(),a.response=e}function c(a){a.response.abort()}a=a||{};var d=a.requestModifier;return{load:b,abort:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="XHRLoader";var h=g.default.getClassFactory(e);c.default=h,b.exports=c.default},{46:46}],122:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a,b){var c=b&&b.droppedVideoFrames?b.droppedVideoFrames:0,g=b&&b.totalVideoFrames?b.totalVideoFrames:0,h=c-e;e=c;var i=g-f;f=g,isNaN(a)||(d[a]?(d[a].droppedVideoFrames+=h,d[a].totalVideoFrames+=i):d[a]={droppedVideoFrames:h,totalVideoFrames:i})}function b(){return d}function c(a){d=[],e=a.droppedVideoFrames,f=a.totalVideoFrames}var d=[],e=0,f=0;return{push:a,getFrameHistory:b,reset:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="DroppedFramesHistory";var h=g.default.getClassFactory(e);c.default=h,b.exports=c.default},{46:46}],123:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){return n.mediaInfo.type}function c(){return n.mediaInfo.streamInfo}function d(){return n.mediaInfo}function e(){return n}function f(){return m}function g(){return l}function h(){return o}function i(){return p}function j(){return q}function k(){return r}a=a||{};var l=a.abrController,m=a.streamProcessor,n=a.streamProcessor.getCurrentRepresentationInfo(),o=a.switchHistory,p=a.droppedFramesHistory,q=a.currentRequest,r=a.useBufferOccupancyABR;return{getMediaType:b,getMediaInfo:d,getDroppedFramesHistory:i,getCurrentRequest:j,getSwitchHistory:h,getStreamInfo:c,getStreamProcessor:f,getAbrController:g,getRepresentationInfo:e,useBufferOccupancyABR:k}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="RulesContext",c.default=g.default.getClassFactory(e),b.exports=c.default},{46:46}],124:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b,c){function d(a){var b=i.DEFAULT;return a!==i.DEFAULT&&a!==i.STRONG&&a!==i.WEAK||(b=a),b}var e=void 0,f=void 0,g=void 0;return e=void 0===a?h:a,f=d(c),g=void 0===b?null:b,{quality:e,reason:g,priority:f}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=-1,i={DEFAULT:.5,STRONG:1,WEAK:0};e.__dashjs_factory_name="SwitchRequest";var j=g.default.getClassFactory(e);j.NO_CHANGE=h,j.PRIORITY=i,g.default.updateClassFactory(e.__dashjs_factory_name,j),c.default=j,b.exports=c.default},{46:46}],125:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){a.newValue===i.default.NO_CHANGE&&(a.newValue=a.oldValue),d[a.oldValue]||(d[a.oldValue]={noDrops:0,drops:0,dropSize:0});var b=a.newValue-a.oldValue,c=b<0?1:0,f=c?-b:0,g=c?0:1;if(d[a.oldValue].drops+=c,d[a.oldValue].dropSize+=f,d[a.oldValue].noDrops+=g,e.push({idx:a.oldValue,noDrop:g,drop:c,dropSize:f}),e.length>j){
26
- var h=e.shift();d[h.idx].drops-=h.drop,d[h.idx].dropSize-=h.dropSize,d[h.idx].noDrops-=h.noDrop}}function b(){return d}function c(){d=[],e=[]}var d=[],e=[];return{push:a,getSwitchRequests:b,reset:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(124),i=d(h),j=8;e.__dashjs_factory_name="SwitchRequestHistory";var k=g.default.getClassFactory(e);c.default=k,b.exports=c.default},{124:124,46:46}],126:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){F={throughputHalfLife:{fast:x,slow:w},latencyHalfLife:{fast:z,slow:y}},p()}function c(a,b,c){return a===g.default.VIDEO?c<A.getCacheLoadThresholdForType(g.default.VIDEO):a===g.default.AUDIO?c<A.getCacheLoadThresholdForType(g.default.AUDIO):void 0}function d(a,b,d){if(b.trace&&b.trace.length){var f=b.tresponse.getTime()-b.trequest.getTime()||1,g=b._tfinish.getTime()-b.tresponse.getTime()||1,h=b.trace.reduce(function(a,b){return a+b.b[0]},0),i=d?g:f+g,j=Math.round(8*h/i);if(n(a),c(a,f,g)){if(B[a].length>0&&!B[a].hasCachedEntries)return;B[a].hasCachedEntries=!0}else B[a]&&B[a].hasCachedEntries&&o(a);B[a].push(j),B[a].length>q&&B[a].shift(),C[a].push(f),C[a].length>q&&C[a].shift(),e(D[a],j,.001*g,F.throughputHalfLife),e(E[a],f,1,F.latencyHalfLife)}}function e(a,b,c,d){var e=Math.pow(.5,c/d.fast);a.fastEstimate=(1-e)*b+e*a.fastEstimate;var f=Math.pow(.5,c/d.slow);a.slowEstimate=(1-f)*b+f*a.slowEstimate,a.totalWeight+=c}function f(a,b,c){var d=void 0,e=void 0;if(a?(d=B[b],e=c?r:s):(d=C[b],e=t),d){if(e>=d.length)e=d.length;else if(a)for(var f=1;f<e;++f){var g=d[f]/d[f-1];if((g>=v||g<=1/u)&&(e+=1)===d.length)break}}else e=0;return e}function h(a,b,c){return A.getMovingAverageMethod()!==g.default.MOVING_AVERAGE_SLIDING_WINDOW?j(a,b):i(a,b,c)}function i(a,b,c){var d=f(a,b,c),e=a?B:C,g=e[b];return 0!==d&&g&&0!==g.length?(g=g.slice(-d),g.reduce(function(a,b){return a+b})/g.length):NaN}function j(a,b){var c=a?F.throughputHalfLife:F.latencyHalfLife,d=a?D[b]:E[b];if(!d||d.totalWeight<=0)return NaN;var e=d.fastEstimate/(1-Math.pow(.5,d.totalWeight/c.fast)),f=d.slowEstimate/(1-Math.pow(.5,d.totalWeight/c.slow));return a?Math.min(e,f):Math.max(e,f)}function k(a,b){return h(!0,a,b)}function l(a,b){var c=k(a,b);return isNaN(c)||(c*=A.getBandwidthSafetyFactor()),c}function m(a){return h(!1,a)}function n(a){B[a]=B[a]||[],C[a]=C[a]||[],D[a]=D[a]||{fastEstimate:0,slowEstimate:0,totalWeight:0},E[a]=E[a]||{fastEstimate:0,slowEstimate:0,totalWeight:0}}function o(a){delete B[a],delete C[a],delete D[a],delete E[a],n(a)}function p(){B={},C={},D={},E={}}a=a||{};var q=20,r=3,s=4,t=4,u=1.3,v=1.3,w=8,x=3,y=2,z=1,A=a.mediaPlayerModel,B=void 0,C=void 0,D=void 0,E=void 0,F=void 0,G={push:d,getAverageThroughput:k,getSafeAverageThroughput:l,getAverageLatency:m,reset:p};return b(),G}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(46),i=d(h);e.__dashjs_factory_name="ThroughputHistory",c.default=i.default.getClassFactory(e),b.exports=c.default},{46:46,97:97}],127:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){r=[],s=[],l.getUseDefaultABRRules()&&(r.push((0,q.default)(j).create({metricsModel:n,dashMetrics:p,mediaPlayerModel:l})),r.push((0,g.default)(j).create({metricsModel:n,dashMetrics:p})),r.push((0,i.default)(j).create({metricsModel:n,dashMetrics:p})),r.push((0,o.default)(j).create()),r.push((0,m.default)(j).create()),s.push((0,k.default)(j).create({metricsModel:n,dashMetrics:p,mediaPlayerModel:l}))),l.getABRCustomRules().forEach(function(a){a.type===v&&r.push(a.rule(j).create()),a.type===w&&s.push(a.rule(j).create())})}function c(a){return a.filter(function(a){return a.quality>u.default.NO_CHANGE})}function d(a){var b={},c=void 0,d=void 0,e=void 0,f=void 0,g=void 0;if(0!==a.length){for(b[u.default.PRIORITY.STRONG]=u.default.NO_CHANGE,b[u.default.PRIORITY.WEAK]=u.default.NO_CHANGE,b[u.default.PRIORITY.DEFAULT]=u.default.NO_CHANGE,c=0,d=a.length;c<d;c+=1)e=a[c],e.quality!==u.default.NO_CHANGE&&(b[e.priority]=b[e.priority]>u.default.NO_CHANGE?Math.min(b[e.priority],e.quality):e.quality);return b[u.default.PRIORITY.WEAK]!==u.default.NO_CHANGE&&(f=b[u.default.PRIORITY.WEAK]),b[u.default.PRIORITY.DEFAULT]!==u.default.NO_CHANGE&&(f=b[u.default.PRIORITY.DEFAULT]),b[u.default.PRIORITY.STRONG]!==u.default.NO_CHANGE&&(f=b[u.default.PRIORITY.STRONG]),f!==u.default.NO_CHANGE&&(g=f),(0,u.default)(j).create(g)}}function e(a){return d(c(r.map(function(b){return b.getMaxIndex(a)})))||(0,u.default)(j).create()}function f(a){return d(c(s.map(function(b){return b.shouldAbandon(a)})))||(0,u.default)(j).create()}function h(){[r,s].forEach(function(a){a&&a.length&&a.forEach(function(a){return a.reset&&a.reset()})}),r=[],s=[]}a=a||{};var j=this.context,l=a.mediaPlayerModel,n=a.metricsModel,p=a.dashMetrics,r=void 0,s=void 0;return{initialize:b,reset:h,getMaxQuality:e,shouldAbandonFragment:f}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(133),g=d(f),h=a(131),i=d(h),j=a(128),k=d(j),l=a(130),m=d(l),n=a(132),o=d(n),p=a(129),q=d(p),r=a(46),s=d(r),t=a(124),u=d(t),v="qualitySwitchRules",w="abandonFragmentRules";e.__dashjs_factory_name="ABRRulesCollection";var x=s.default.getClassFactory(e);x.QUALITY_SWITCH_RULES=v,x.ABANDON_FRAGMENT_RULES=w,s.default.updateSingletonFactory(e.__dashjs_factory_name,x),c.default=x,b.exports=c.default},{124:124,128:128,129:129,130:130,131:131,132:132,133:133,46:46}],128:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){h()}function c(a,b){r[a]=r[a]||{},r[a][b]=r[a][b]||{}}function d(a,b){t[a]=t[a]||[],t[a].push(b)}function f(a){var b=(0,g.default)(m).create(g.default.NO_CHANGE,{name:e.__dashjs_factory_name});if(!(a&&a.hasOwnProperty("getMediaInfo")&&a.hasOwnProperty("getMediaType")&&a.hasOwnProperty("getCurrentRequest")&&a.hasOwnProperty("getRepresentationInfo")&&a.hasOwnProperty("getAbrController")))return b;var f=a.getMediaInfo(),h=a.getMediaType(),k=a.getCurrentRequest();if(!isNaN(k.index)){c(h,k.index);var u=o.getStableBufferTime();if(q.getCurrentBufferLevel(p.getReadOnlyMetricsFor(h))>u)return b;var v=r[h][k.index];if(null===v||null===k.firstByteDate||s.hasOwnProperty(v.id))return b;if(void 0===v.firstByteTime&&(t[h]=[],v.firstByteTime=k.firstByteDate.getTime(),v.segmentDuration=k.duration,v.bytesTotal=k.bytesTotal,v.id=k.index),v.bytesLoaded=k.bytesLoaded,v.elapsedTime=(new Date).getTime()-v.firstByteTime,v.bytesLoaded>0&&v.elapsedTime>0&&d(h,Math.round(8*v.bytesLoaded/v.elapsedTime)),t[h].length>=l&&v.elapsedTime>j&&v.bytesLoaded<v.bytesTotal){var w=t[h].reduce(function(a,b){return a+b},0);if(v.measuredBandwidthInKbps=Math.round(w/t[h].length),v.estimatedTimeOfDownload=+(8*v.bytesTotal/v.measuredBandwidthInKbps/1e3).toFixed(2),v.estimatedTimeOfDownload<v.segmentDuration*i||0===a.getRepresentationInfo().quality)return b;if(!s.hasOwnProperty(v.id)){var x=a.getAbrController(),y=v.bytesTotal-v.bytesLoaded,z=x.getBitrateList(f),A=x.getQualityForBitrate(f,v.measuredBandwidthInKbps*o.getBandwidthSafetyFactor());y>v.bytesTotal*z[A].bitrate/z[x.getQualityFor(h,f.streamInfo)].bitrate&&(b.quality=A,b.reason.throughput=v.measuredBandwidthInKbps,b.reason.fragmentID=v.id,s[v.id]=v,n("AbandonRequestsRule ( ",h,"frag id",v.id,") is asking to abandon and switch to quality to ",A," measured bandwidth was",v.measuredBandwidthInKbps),delete r[h][v.id])}}else v.bytesLoaded===v.bytesTotal&&delete r[h][v.id]}return b}function h(){r={},s={},t=[]}a=a||{};var i=1.8,j=500,l=5,m=this.context,n=(0,k.default)(m).getInstance().log,o=a.mediaPlayerModel,p=a.metricsModel,q=a.dashMetrics,r=void 0,s=void 0,t=void 0,u={shouldAbandon:f,reset:h};return b(),u}Object.defineProperty(c,"__esModule",{value:!0});var f=a(124),g=d(f),h=a(46),i=d(h),j=a(44),k=d(j);e.__dashjs_factory_name="AbandonRequestsRule",c.default=i.default.getClassFactory(e),b.exports=c.default},{124:124,44:44,46:46}],129:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){H(),O.on(p.default.BUFFER_EMPTY,y,P),O.on(p.default.PLAYBACK_SEEKING,z,P),O.on(p.default.PERIOD_SWITCH_STARTED,A,P),O.on(p.default.MEDIA_FRAGMENT_LOADED,B,P),O.on(p.default.METRIC_ADDED,C,P),O.on(p.default.QUALITY_CHANGE_REQUESTED,E,P),O.on(p.default.FRAGMENT_LOADING_ABANDONED,F,P)}function c(a){return a.map(function(a){return Math.log(a)})}function d(a,b,c){var d=c.reduce(function(a,b,d){return b>c[a]?d:a},0);if(0===d)return null;var e=Math.max(a,v+w*b.length),f=(c[d]-1)/(e/v-1);return{gp:f,Vp:v/f}}function e(a){var b={},e=a.getMediaInfo(),g=e.bitrateList.map(function(a){return a.bandwidth}),h=c(g);h=h.map(function(a){return a-h[0]+1});var i=N.getStableBufferTime(),j=d(i,g,h);return j?(b.state=t,b.bitrates=g,b.utilities=h,b.stableBufferTime=i,b.Vp=j.Vp,b.gp=j.gp,b.lastQuality=0,f(b)):b.state=s,b}function f(a){a.placeholderBuffer=0,a.mostAdvancedSegmentStart=NaN,a.lastSegmentWasReplacement=!1,a.lastSegmentStart=NaN,a.lastSegmentDurationS=NaN,a.lastSegmentRequestTimeMs=NaN,a.lastSegmentFinishTimeMs=NaN}function h(a,b){var c=N.getStableBufferTime();if(a.stableBufferTime!==c){var e=d(c,a.bitrates,a.utilities);if(e.Vp!==a.Vp||e.gp!==a.gp){var f=L.getCurrentBufferLevel(M.getReadOnlyMetricsFor(b)),g=f+a.placeholderBuffer;g-=v,g*=e.Vp/a.Vp,g+=v,a.stableBufferTime=c,a.Vp=e.Vp,a.gp=e.gp,a.placeholderBuffer=Math.max(0,g-f)}}}function j(a){var b=a.getMediaType(),c=Q[b];return c?c.state!==s&&h(c,b):(c=e(a),Q[b]=c),c}function k(a,b){for(var c=a.bitrates.length,d=NaN,e=NaN,f=0;f<c;++f){var g=(a.Vp*(a.utilities[f]+a.gp)-b)/a.bitrates[f];(isNaN(e)||g>=e)&&(e=g,d=f)}return d}function m(a,b){return a.Vp*(a.utilities[b]+a.gp)}function o(a,b){for(var c=a.bitrates[b],d=a.utilities[b],e=0,f=b-1;f>=0;--f)if(a.utilities[f]<a.utilities[b]){var g=a.bitrates[f],h=a.utilities[f],i=a.Vp*(a.gp+(c*h-g*d)/(c-g));e=Math.max(e,i)}return e}function q(a,b){var c=Date.now();if(isNaN(a.lastSegmentFinishTimeMs)){if(!isNaN(a.lastCallTimeMs)){var d=.001*(c-a.lastCallTimeMs);a.placeholderBuffer+=Math.max(0,d)}}else{var d=.001*(c-a.lastSegmentFinishTimeMs);a.placeholderBuffer+=Math.max(0,d)}a.lastCallTimeMs=c,a.lastSegmentStart=NaN,a.lastSegmentRequestTimeMs=NaN,a.lastSegmentFinishTimeMs=NaN,h(a,b)}function y(){for(var a in Q)Q.hasOwnProperty(a)&&Q[a].state===u&&(Q[a].placeholderBuffer=0)}function z(){for(var a in Q)if(Q.hasOwnProperty(a)){var b=Q[a];b.state!==s&&(b.state=t,f(b))}}function A(){}function B(a){if(a&&a.chunk&&a.chunk.mediaInfo){var b=Q[a.chunk.mediaInfo.type];if(b&&b.state!==s){var c=a.chunk.start;isNaN(b.mostAdvancedSegmentStart)||c>b.mostAdvancedSegmentStart?(b.mostAdvancedSegmentStart=c,b.lastSegmentWasReplacement=!1):b.lastSegmentWasReplacement=!0,b.lastSegmentStart=c,b.lastSegmentDurationS=a.chunk.duration,b.lastQuality=a.chunk.quality,D(b,a.chunk.mediaInfo.type)}}}function C(a){if(a&&a.metric===g.default.HTTP_REQUEST&&a.value&&a.value.type===l.HTTPRequest.MEDIA_SEGMENT_TYPE&&a.value.trace&&a.value.trace.length){var b=Q[a.mediaType];b&&b.state!==s&&(b.lastSegmentRequestTimeMs=a.value.trequest.getTime(),b.lastSegmentFinishTimeMs=a.value._tfinish.getTime(),D(b,a.mediaType))}}function D(a,b){if(!isNaN(a.lastSegmentStart)&&!isNaN(a.lastSegmentRequestTimeMs)&&!isNaN(a.placeholderBuffer)){if(a.placeholderBuffer*=x,!isNaN(a.lastSegmentFinishTimeMs)){var c=L.getCurrentBufferLevel(M.getReadOnlyMetricsFor(b)),d=c+.001*(a.lastSegmentFinishTimeMs-a.lastSegmentRequestTimeMs),e=m(a,a.lastQuality),f=Math.max(0,e-d);a.placeholderBuffer=Math.min(f,a.placeholderBuffer)}a.lastSegmentWasReplacement&&!isNaN(a.lastSegmentDurationS)&&(a.placeholderBuffer+=a.lastSegmentDurationS),a.lastSegmentStart=NaN,a.lastSegmentRequestTimeMs=NaN}}function E(a){if(a){var b=Q[a.mediaType];b&&b.state!==s&&(b.abrQuality=a.newQuality)}}function F(a){if(a){var b=Q[a.mediaType];if(b&&b.state!==s){var c=L.getCurrentBufferLevel(M.getReadOnlyMetricsFor(a.mediaType)),d=void 0;d=b.abrQuality>0?o(b,b.abrQuality):v;var e=Math.max(0,d-c);b.placeholderBuffer=Math.min(b.placeholderBuffer,e)}}}function G(a){var b=a.getMediaInfo(),c=a.getMediaType(),d=M.getReadOnlyMetricsFor(c),e=a.getStreamProcessor(),g=a.getStreamInfo(),h=a.getAbrController(),l=h.getThroughputHistory(),n=g?g.id:null,p=g&&g.manifestInfo&&g.manifestInfo.isDynamic,r=a.useBufferOccupancyABR(),v=(0,i.default)(J).create();if(v.reason=v.reason||{},!r)return v;e.getScheduleController().setTimeToLoadDelay(0);var w=j(a);if(w.state===s)return v;var x=L.getCurrentBufferLevel(d),y=l.getAverageThroughput(c,p),z=l.getSafeAverageThroughput(c,p),A=l.getAverageLatency(c),B=void 0;if(v.reason.state=w.state,v.reason.throughput=y,v.reason.latency=A,isNaN(y))return v;switch(w.state){case t:B=h.getQualityForBitrate(b,z,A),v.quality=B,v.reason.throughput=z,w.placeholderBuffer=Math.max(0,o(w,B)-x),w.lastQuality=B,!isNaN(w.lastSegmentDurationS)&&x>=w.lastSegmentDurationS&&(w.state=u);break;case u:q(w,c),B=k(w,x+w.placeholderBuffer);var C=h.getQualityForBitrate(b,z,A);B>w.lastQuality&&B>C&&(B=Math.max(C,w.lastQuality));var D=Math.max(0,x+w.placeholderBuffer-m(w,B));D<=w.placeholderBuffer?(w.placeholderBuffer-=D,D=0):(D-=w.placeholderBuffer,w.placeholderBuffer=0,B<h.getTopQualityIndexFor(c,n)?e.getScheduleController().setTimeToLoadDelay(1e3*D):D=0),v.quality=B,v.reason.throughput=y,v.reason.latency=A,v.reason.bufferLevel=x,v.reason.placeholderBuffer=w.placeholderBuffer,v.reason.delay=D,w.lastQuality=B;break;default:K("BOLA ABR rule invoked in bad state."),v.quality=h.getQualityForBitrate(b,z,A),v.reason.state=w.state,v.reason.throughput=z,v.reason.latency=A,w.state=t,f(w)}return v}function H(){Q={}}function I(){H(),O.off(p.default.BUFFER_EMPTY,y,P),O.off(p.default.PLAYBACK_SEEKING,z,P),O.off(p.default.PERIOD_SWITCH_STARTED,A,P),O.off(p.default.MEDIA_FRAGMENT_LOADED,B,P),O.off(p.default.METRIC_ADDED,C,P),O.off(p.default.QUALITY_CHANGE_REQUESTED,E,P),O.off(p.default.FRAGMENT_LOADING_ABANDONED,F,P)}a=a||{};var J=this.context,K=(0,r.default)(J).getInstance().log,L=a.dashMetrics,M=a.metricsModel,N=a.mediaPlayerModel,O=(0,n.default)(J).getInstance(),P=void 0,Q=void 0;return P={getMaxIndex:G,reset:I},b(),P}Object.defineProperty(c,"__esModule",{value:!0});var f=a(98),g=d(f),h=a(124),i=d(h),j=a(46),k=d(j),l=a(182),m=a(45),n=d(m),o=a(49),p=d(o),q=a(44),r=d(q),s=0,t=1,u=2,v=10,w=2,x=.99;e.__dashjs_factory_name="BolaRule",c.default=k.default.getClassFactory(e),b.exports=c.default},{124:124,182:182,44:44,45:45,46:46,49:49,98:98}],130:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){var f=a.getDroppedFramesHistory();if(f){for(var g=f.getFrameHistory(),h=0,j=0,k=i.default.NO_CHANGE,l=1;l<g.length;l++)if(g[l]&&(h=g[l].droppedVideoFrames,(j=g[l].totalVideoFrames)>e&&h/j>d)){k=l-1,c("DroppedFramesRule, index: "+k+" Dropped Frames: "+h+" Total Frames: "+j);break}return(0,i.default)(b).create(k,{droppedFrames:h})}return(0,i.default)(b).create()}var b=this.context,c=(0,k.default)(b).getInstance().log,d=.15,e=375;return{getMaxIndex:a}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(124),i=d(h),j=a(44),k=d(j);e.__dashjs_factory_name="DroppedFramesRule",c.default=g.default.getClassFactory(e),b.exports=c.default},{124:124,44:44,46:46}],131:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){f(),p.on(k.default.PLAYBACK_SEEKING,h,t)}function c(){if(!(r&&r.hasOwnProperty("getReadOnlyMetricsFor")&&s&&s.hasOwnProperty("getCurrentBufferLevel")))throw new Error("Missing config parameter(s)")}function d(a){var b=(0,q.default)(m).create();if(!a||!a.hasOwnProperty("getMediaType"))return b;c();var d=a.getMediaType(),f=r.getReadOnlyMetricsFor(d),h=f.BufferState.length>0?f.BufferState[f.BufferState.length-1]:null,i=a.getRepresentationInfo(),j=i.fragmentDuration;if(!h||!e(d,h)||!j)return b;if(h.state===g.default.BUFFER_EMPTY)n("Switch to index 0; buffer is empty."),b.quality=0,b.reason="InsufficientBufferRule: Buffer is empty";else{var k=a.getMediaInfo(),o=a.getAbrController(),p=o.getThroughputHistory(),t=s.getCurrentBufferLevel(f),u=p.getAverageThroughput(d),v=p.getAverageLatency(d),w=u*(t/j)*l;b.quality=o.getQualityForBitrate(k,w,v),b.reason="InsufficientBufferRule: being conservative to avoid immediate rebuffering"}return b}function e(a,b){u[a]=u[a]||{};var c=!1;return u[a].firstBufferLoadedEvent?c=!0:b&&b.state===g.default.BUFFER_LOADED&&(u[a].firstBufferLoadedEvent=!0,c=!0),c}function f(){u={}}function h(){f()}function j(){f(),p.off(k.default.PLAYBACK_SEEKING,h,t)}a=a||{};var l=.5,m=this.context,n=(0,o.default)(m).getInstance().log,p=(0,i.default)(m).getInstance(),r=a.metricsModel,s=a.dashMetrics,t=void 0,u=void 0;return t={getMaxIndex:d,reset:j},b(),t}Object.defineProperty(c,"__esModule",{value:!0});var f=a(102),g=d(f),h=a(45),i=d(h),j=a(49),k=d(j),l=a(46),m=d(l),n=a(44),o=d(n),p=a(124),q=d(p);e.__dashjs_factory_name="InsufficientBufferRule",c.default=m.default.getClassFactory(e),b.exports=c.default},{102:102,124:124,44:44,45:45,46:46,49:49}],132:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){for(var f=a?a.getSwitchHistory():null,g=f?f.getSwitchRequests():[],h=0,i=0,j=0,l=(0,k.default)(b).create(),m=0;m<g.length;m++)if(void 0!==g[m]&&(h+=g[m].drops,i+=g[m].noDrops,j+=g[m].dropSize,h+i>=e&&h/i>d)){l.quality=m>0&&g[m].drops>0?m-1:m,l.reason={index:l.quality,drops:h,noDrops:i,dropSize:j},c("Switch history rule index: "+l.quality+" samples: "+(h+i)+" drops: "+h);break}return l}var b=this.context,c=(0,i.default)(b).getInstance().log,d=.075,e=6;return{getMaxIndex:a}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(44),i=d(h),j=a(124),k=d(j);e.__dashjs_factory_name="SwitchHistoryRule",c.default=g.default.getClassFactory(e),b.exports=c.default},{124:124,44:44,46:46}],133:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){if(!h||!h.hasOwnProperty("getReadOnlyMetricsFor"))throw new Error("Missing config parameter(s)")}function c(a){var c=(0,o.default)(e).create();if(!(a&&a.hasOwnProperty("getMediaInfo")&&a.hasOwnProperty("getMediaType")&&a.hasOwnProperty("useBufferOccupancyABR")&&a.hasOwnProperty("getAbrController")&&a.hasOwnProperty("getStreamProcessor")))return c;b();var d=a.getMediaInfo(),j=a.getMediaType(),k=h.getReadOnlyMetricsFor(j),l=a.getStreamProcessor(),m=a.getAbrController(),n=a.getStreamInfo(),p=n&&n.manifestInfo?n.manifestInfo.isDynamic:null,q=m.getThroughputHistory(),r=q.getSafeAverageThroughput(j,p),s=q.getAverageLatency(j),t=k.BufferState.length>0?k.BufferState[k.BufferState.length-1]:null,u=a.useBufferOccupancyABR();return!k||isNaN(r)||!t||u?c:(m.getAbandonmentStateFor(j)!==i.default.ABANDON_LOAD&&(t.state===g.default.BUFFER_LOADED||p)&&(c.quality=m.getQualityForBitrate(d,r,s),l.getScheduleController().setTimeToLoadDelay(0),f("ThroughputRule requesting switch to index: ",c.quality,"type: ",j,"Average throughput",Math.round(r),"kbps"),c.reason={throughput:r,latency:s}),c)}function d(){}a=a||{};var e=this.context,f=(0,m.default)(e).getInstance().log,h=a.metricsModel;return{getMaxIndex:c,reset:d}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(102),g=d(f),h=a(99),i=d(h),j=a(46),k=d(j),l=a(44),m=d(l),n=a(124),o=d(n);e.__dashjs_factory_name="ThroughputRule",c.default=k.default.getClassFactory(e),b.exports=c.default},{102:102,124:124,44:44,46:46,99:99}],134:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){}function c(a,b,c){return e.getCurrentBufferLevel(f.getReadOnlyMetricsFor(b))<d(a,b,c)}function d(a,b,c){var d=NaN,k=a.getCurrentRepresentationInfo();if(b===g.default.FRAGMENTED_TEXT)d=i.isTextEnabled()?k.fragmentDuration:0;else if(b===g.default.AUDIO&&c){var l=e.getCurrentBufferLevel(f.getReadOnlyMetricsFor(g.default.VIDEO));d=isNaN(k.fragmentDuration)?l:Math.max(l,k.fragmentDuration)}else{var m=k.mediaInfo.streamInfo;if(j.isPlayingAtTopQuality(m)){var n=m.manifestInfo.duration>=h.getLongFormContentDurationThreshold();d=n?h.getBufferTimeAtTopQualityLongForm():h.getBufferTimeAtTopQuality()}else d=h.getStableBufferTime()}return d}a=a||{};var e=a.dashMetrics,f=a.metricsModel,h=a.mediaPlayerModel,i=a.textController,j=a.abrController,k={execute:c,getBufferTarget:d};return b(),k}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(46),i=d(h);e.__dashjs_factory_name="BufferLevelRule",c.default=i.default.getClassFactory(e),b.exports=c.default},{46:46,97:97}],135:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a,b){var c=a.getCurrentRepresentationInfo(),h=c.mediaInfo,i=h.type,j=a.getScheduleController(),k=j.getSeekTarget(),l=!isNaN(k),n=a.getBufferController(),o=l?k:e.getIndexHandlerTime(a);if(isNaN(o)||i===g.default.FRAGMENTED_TEXT&&!f.isTextEnabled())return null;if(l&&j.setSeekTarget(NaN),n){var p=n.getRangeAt(o);null===p||l||(d("Prior to making a request for time, NextFragmentRequestRule is aligning index handler's currentTime with bufferedRange.end for",i,".",o,"was changed to",p.end),o=p.end)}var q=void 0;if(b)o=b.startTime+b.duration/2,q=e.getFragmentRequestForTime(a,c,o,{timeThreshold:0,ignoreIsFinished:!0});else{for(q=e.getFragmentRequestForTime(a,c,o,{keepIdx:!l});q&&q.action!==m.default.ACTION_COMPLETE&&a.getFragmentModel().isFragmentLoaded(q);)q=e.getNextFragmentRequest(a,c);q&&(isNaN(q.startTime+q.duration)||e.setIndexHandlerTime(a,q.startTime+q.duration),q.delayLoadingTime=(new Date).getTime()+j.getTimeToLoadDelay(),j.setTimeToLoadDelay(0))}return q}a=a||{};var c=this.context,d=(0,i.default)(c).getInstance().log,e=a.adapter,f=a.textController;return{execute:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(44),i=d(h),j=a(46),k=d(j),l=a(164),m=d(l);e.__dashjs_factory_name="NextFragmentRequestRule",c.default=k.default.getClassFactory(e),b.exports=c.default},{164:164,44:44,46:46,97:97}],136:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){for(var b="",c=0;c<a.length;++c){b+=a[c].uchar}return b.length-b.replace(/^\s+/,"").length}function b(a){return"left: "+3.125*a.x+"%; top: "+6.66*a.y1+"%; width: "+(100-3.125*a.x)+"%; height: "+6.66*Math.max(a.y2-1-a.y1,1)+"%; align-items: flex-start; overflow: visible; -webkit-writing-mode: horizontal-tb;"}function c(a){return"red"===a?"rgb(255, 0, 0)":"green"===a?"rgb(0, 255, 0)":"blue"===a?"rgb(0, 0, 255)":"cyan"===a?"rgb(0, 255, 255)":"magenta"===a?"rgb(255, 0, 255)":"yellow"===a?"rgb(255, 255, 0)":"white"===a?"rgb(255, 255, 255)":"black"===a?"rgb(0, 0, 0)":a}function d(a,b){var d=a.videoHeight/15;return b?"font-size: "+d+"px; font-family: Menlo, Consolas, 'Cutive Mono', monospace; color: "+(b.foreground?c(b.foreground):"rgb(255, 255, 255)")+"; font-style: "+(b.italics?"italic":"normal")+"; text-decoration: "+(b.underline?"underline":"none")+"; white-space: pre; background-color: "+(b.background?c(b.background):"transparent")+";":"font-size: "+d+"px; font-family: Menlo, Consolas, 'Cutive Mono', monospace; justify-content: flex-start; text-align: left; color: rgb(255, 255, 255); font-style: normal; white-space: pre; line-height: normal; font-weight: normal; text-decoration: none; width: 100%; display: flex;"}function e(a){return a.replace(/^\s+/g,"")}function f(a){return a.replace(/\s+$/g,"")}function g(c,g,i,j){var k=null,l=null,m=!1,n=-1,o={start:g,end:i,spans:[]},p="style_cea608_white_black",q={},r={},s=[],t=void 0,u=void 0;for(t=0;t<15;++t){var v=j.rows[t],w="",x=null;if(!1===v.isEmpty()){var y=a(v.chars);null===k&&(k={x:y,y1:t,y2:t+1,p:[]}),y!==n&&m&&(k.p.push(o),o={start:g,end:i,spans:[]},k.y2=t,k.name="region_"+k.x+"_"+k.y1+"_"+k.y2,!1===q.hasOwnProperty(k.name)?(s.push(k),q[k.name]=k):(l=q[k.name],l.p.contat(k.p)),k={x:y,y1:t,y2:t+1,p:[]});for(var z=0;z<v.chars.length;++z){var A=v.chars[z],B=A.penState;if(null===x||!B.equals(x)){w.trim().length>0&&(o.spans.push({name:p,line:w,row:t}),w="");var C="style_cea608_"+B.foreground+"_"+B.background;B.underline&&(C+="_underline"),B.italics&&(C+="_italics"),r.hasOwnProperty(C)||(r[C]=JSON.parse(JSON.stringify(B))),x=B,p=C}w+=A.uchar}w.trim().length>0&&o.spans.push({name:p,line:w,row:t}),m=!0,n=y}else m=!1,n=-1,k&&(k.p.push(o),o={start:g,end:i,spans:[]},k.y2=t,k.name="region_"+k.x+"_"+k.y1+"_"+k.y2,!1===q.hasOwnProperty(k.name)?(s.push(k),q[k.name]=k):(l=q[k.name],l.p.contat(k.p)),k=null)}k&&(k.p.push(o),k.y2=t+1,k.name="region_"+k.x+"_"+k.y1+"_"+k.y2,!1===q.hasOwnProperty(k.name)?(s.push(k),q[k.name]=k):(l=q[k.name],l.p.contat(k.p)),k=null);var D=[];for(t=0;t<s.length;++t){var E=s[t],F="sub_cea608_"+h++,G=document.createElement("div");G.id=F;var H=b(E);G.style.cssText="position: absolute; margin: 0; display: flex; box-sizing: border-box; pointer-events: none;"+H;var I=document.createElement("div");I.className="paragraph bodyStyle",I.style.cssText=d(c);var J=document.createElement("div");J.className="cueUniWrapper",J.style.cssText="unicode-bidi: normal; direction: ltr;";for(var K=0;K<E.p.length;++K){var L=E.p[K],M=0;for(u=0;u<L.spans.length;++u){var N=L.spans[u];if(N.line.length>0){if(0!==u&&M!=N.row){var O=document.createElement("br");O.className="lineBreak",J.appendChild(O)}var P=!1;M===N.row&&(P=!0),M=N.row;var Q=r[N.name],R=document.createElement("span");R.className="spanPadding "+N.name+" customSpanColor",R.style.cssText=d(c,Q),0!==u&&P?u===L.spans.length-1?R.textContent=f(N.line):R.textContent=N.line:L.spans.length>1&&u<L.spans.length-1&&N.row===L.spans[u+1].row?R.textContent=e(N.line):R.textContent=N.line.trim(),J.appendChild(R)}}}I.appendChild(J),G.appendChild(I);var S={bodyStyle:["%",90]};for(u in r)r.hasOwnProperty(u)&&(S[u]=["%",90]);D.push({type:"html",start:g,end:i,cueHTMLElement:G,cueID:F,cellResolution:[32,15],isFromCEA608:!0,regions:s,regionID:E.name,videoHeight:c.videoHeight,videoWidth:c.videoWidth,fontSize:S,lineHeight:{},linePadding:{}})}return D}var h=0;return{createHTMLCaptionsFromScreen:g}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="EmbeddedTextHtmlRender",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{46:46}],137:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){J=!1,K=null,M=null,I=!1,C.on(k.default.DATA_UPDATE_COMPLETED,x,H),C.on(k.default.INIT_FRAGMENT_LOADED,y,H)}function c(){return t}function d(a){j(a),M=G.getRepresentationController(),N=(0,o.default)(B).getInstance()}function e(a){try{if(L=(0,q.default)(B).create(K,a),!J){var b=L.getBuffer();b.hasOwnProperty(g.default.INITIALIZE)&&b.initialize(F,G),J=!0}}catch(c){if(a.isText||-1!==a.codec.indexOf('codecs="stpp')||-1!==a.codec.indexOf('codecs="wvtt'))try{L=D.getTextSourceBuffer()}catch(c){E.mediaSourceError("Error creating "+F+" source buffer.")}else E.mediaSourceError("Error creating "+F+" source buffer.")}}function f(){return F}function h(){return L}function j(a){K=a}function l(){return K}function m(){return G}function n(){return!1}function p(){}function r(){}function u(){return 0}function v(){return I}function w(a){C.off(k.default.DATA_UPDATE_COMPLETED,x,H),C.off(k.default.INIT_FRAGMENT_LOADED,y,H),!a&&L&&(L.abort(),L.reset(),L=null)}function x(a){a.sender.getStreamProcessor()===G&&C.trigger(k.default.TIMED_TEXT_REQUESTED,{index:0,sender:a.sender})}function y(a){a.fragmentModel===G.getFragmentModel()&&a.chunk.bytes&&(N.save(a.chunk),L.append(a.chunk))}function z(a,b){var c=N.extract(a,b);c?L.append(c):C.trigger(k.default.INIT_REQUESTED,{sender:H})}function A(){return null}a=a||{};var B=this.context,C=(0,i.default)(B).getInstance(),D=(0,s.default)(B).getInstance(),E=a.errHandler,F=a.type,G=a.streamProcessor,H=void 0,I=void 0,J=void 0,K=void 0,L=void 0,M=void 0,N=void 0;return H={getBufferControllerType:c,initialize:d,createBuffer:e,getType:f,getStreamProcessor:m,setSeekStartTime:r,getBuffer:h,getBufferLevel:u,setMediaSource:j,getMediaSource:l,getIsBufferingCompleted:v,getIsPruningInProgress:n,dischargePreBuffer:p,switchInitData:z,getRangeAt:A,reset:w},b(),H}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(45),i=d(h),j=a(49),k=d(j),l=a(46),m=d(l),n=a(151),o=d(n),p=a(93),q=d(p),r=a(139),s=d(r),t="NotFragmentedTextBufferController";e.__dashjs_factory_name=t,c.default=m.default.getClassFactory(e),b.exports=c.default},{139:139,151:151,45:45,46:46,49:49,93:93,97:97}],138:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){x=a.type===g.default.FRAGMENTED_TEXT?(0,k.default)(w).create({type:a.type,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,manifestModel:a.manifestModel,errHandler:a.errHandler,streamController:a.streamController,mediaController:a.mediaController,adapter:a.adapter,textController:a.textController,abrController:a.abrController,playbackController:a.playbackController,streamProcessor:a.streamProcessor}):(0,m.default)(w).create({type:a.type,errHandler:a.errHandler,streamProcessor:a.streamProcessor})}function c(){return x.getBufferControllerType()}function d(a,b){return x.initialize(a,b)}function e(a){return x.createBuffer(a)}function f(){return x.getType()}function h(){return x.getBuffer()}function i(a){x.setBuffer(a)}function j(){return x.getMediaSource()}function l(a){x.setMediaSource(a)}function n(){x.getStreamProcessor()}function o(a){x.setSeekStartTime(a)}function p(){return x.getBufferLevel()}function q(a){x.reset(a)}function r(){return x.getIsBufferingCompleted()}function s(a,b){x.switchInitData(a,b)}function t(){return x.getIsPruningInProgress()}function u(){return x.dischargePreBuffer()}function v(a){return x.getRangeAt(a)}a=a||{};var w=this.context,x=void 0,y=void 0;return y={getBufferControllerType:c,initialize:d,createBuffer:e,getType:f,getStreamProcessor:n,setSeekStartTime:o,getBuffer:h,setBuffer:i,getBufferLevel:p,setMediaSource:l,getMediaSource:j,getIsBufferingCompleted:r,getIsPruningInProgress:t,dischargePreBuffer:u,switchInitData:s,getRangeAt:v,reset:q},b(),y}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(46),i=d(h),j=a(102),k=d(j),l=a(137),m=d(l);e.__dashjs_factory_name="TextBufferController",c.default=i.default.getClassFactory(e),b.exports=c.default},{102:102,137:137,46:46,97:97}],139:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){L="",M=-1,N=!0,P=!1,H=(0,m.default)(y).getInstance(),I=(0,o.default)(y).getInstance(),J=(0,q.default)(y).getInstance(),A=(0,k.default)(y).getInstance(),K=(0,s.default)(y).getInstance(),H.initialize(),K.on(u.default.TEXT_TRACKS_QUEUE_INITIALIZED,i,z),w()}function b(a){a&&(a.errHandler&&(B=a.errHandler),a.dashManifestModel&&(C=a.dashManifestModel),a.manifestModel&&(D=a.manifestModel),a.mediaController&&(E=a.mediaController),a.videoModel&&(F=a.videoModel),a.streamController&&(G=a.streamController),a.textTracks&&(H=a.textTracks),a.vttParser&&(I=a.vttParser),a.ttmlParser&&(J=a.ttmlParser),A.setConfig({errHandler:B,dashManifestModel:C,manifestModel:D,mediaController:E,videoModel:F,streamController:G,textTracks:H,vttParser:I,ttmlParser:J}))}function c(){return A}function d(){return O}function e(a){A.addEmbeddedTrack(a)}function f(a){"string"==typeof a&&(L=a)}function h(){return L}function i(a){var b=this,c=a.tracks,d=a.index;c.some(function(a,c){if(a.lang===L)return b.setTextTrack(c),d=c,!0}),N||this.setTextTrack(-1),M=d,K.trigger(u.default.TEXT_TRACKS_ADDED,{enabled:p(),index:d,tracks:c})}function j(a){"boolean"==typeof a&&(N=a)}function l(){return N}function n(a){"boolean"==typeof a&&p()!==a&&(a&&this.setTextTrack(M),a||(M=this.getCurrentTrackIdx(),this.setTextTrack(-1)))}function p(){var a=!0;return O&&!P&&(a=!1),a}function r(a){"boolean"==typeof a&&(P=a)}function t(a){var b=A.getConfig(),c=b.fragmentModel,d=b.fragmentedTracks,e=H.getCurrentTrackIdx();if(e!==a){H.setModeForTrackIdx(e,g.default.TEXT_HIDDEN),H.setCurrentTrackIdx(a),
27
- H.setModeForTrackIdx(a,g.default.TEXT_SHOWING);var f=H.getCurrentTrackInfo();if(f&&f.isFragmented&&!f.isEmbedded)for(var h=0;h<d.length;h++){var i=d[h];if(f.lang===i.lang&&f.index===i.index&&(!f.label||f.label===i.id)){var j=E.getCurrentTrackFor(g.default.FRAGMENTED_TEXT,G.getActiveStreamInfo());i!==j&&(c.abortRequests(),c.removeExecutedRequestsBeforeTime(),A.remove(),H.deleteCuesFromTrackIdx(e),E.setTrack(i),A.setCurrentFragmentedTrackIdx(h))}}}O=-1===a}function v(){return H.getCurrentTrackIdx()}function w(){O=!1}function x(){w(),A.resetEmbedded()}var y=this.context,z=void 0,A=void 0,B=void 0,C=void 0,D=void 0,E=void 0,F=void 0,G=void 0,H=void 0,I=void 0,J=void 0,K=void 0,L=void 0,M=void 0,N=void 0,O=void 0,P=void 0;return z={setConfig:b,getTextSourceBuffer:c,getAllTracksAreDisabled:d,addEmbeddedTrack:e,getTextDefaultLanguage:h,setTextDefaultLanguage:f,setTextDefaultEnabled:j,getTextDefaultEnabled:l,enableText:n,isTextEnabled:p,setTextTrack:t,getCurrentTrackIdx:v,enableForcedTextStreaming:r,reset:x},a(),z}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(46),i=d(h),j=a(140),k=d(j),l=a(141),m=d(l),n=a(158),o=d(n),p=a(156),q=d(p),r=a(45),s=d(r),t=a(49),u=d(t);e.__dashjs_factory_name="TextController",c.default=i.default.getSingletonFactory(e),b.exports=c.default},{140:140,141:141,156:156,158:158,45:45,46:46,49:49,97:97}],140:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a,b){if(K=null,R=null,S=!1,T=NaN,U=[],X=null,C||d(),O=b.getMediaInfoArr(),P.setConfig({videoModel:V}),P.initialize(),Q=!H.getIsTextTrack(a),E=(0,n.default)(w).getInstance(),N=(0,l.default)(w).getInstance(),N.setConfig({boxParser:E}),Q){R=b.getFragmentModel(),this.buffered=(0,p.default)(w).create(),U=J.getTracksFor(g.default.FRAGMENTED_TEXT,W.getActiveStreamInfo());for(var c=J.getCurrentTrackFor(g.default.FRAGMENTED_TEXT,W.getActiveStreamInfo()),e=0;e<U.length;e++)if(U[e]===c){Y=e;break}}}function b(){P.deleteAllTextTracks(),K=null,N=null,O=null,P=null,Q=!1,R=null,S=!1,T=NaN,U=[],V=null,W=null,C=!1,Z=null}function c(a){var b=a.chunk;b.mediaInfo.embeddedCaptions&&o(b.bytes,b)}function d(){Z=[],O=[],P=(0,v.default)(w).getInstance(),P.setConfig({videoModel:V}),P.initialize(),E=(0,n.default)(w).getInstance(),N=(0,l.default)(w).getInstance(),N.setConfig({boxParser:E}),Q=!1,Y=null,$=!1,_=0,ca=[],ba=[],aa=null,C=!0,da=(0,x.default)(w).getInstance();var a=W.getActiveStreamProcessors();for(var b in a)if("video"===a[b].getType()){ea=a[b].getCurrentRepresentationInfo().MSETimeOffset;break}A.on(F.default.VIDEO_CHUNK_RECEIVED,c,this)}function e(){A.off(F.default.VIDEO_CHUNK_RECEIVED,c,this),P&&P.deleteAllTextTracks(),C=!1,Z=[],ca=[null,null],ba=[],aa=null}function f(a){if(C||d(),a.id===g.default.CC1||a.id===g.default.CC3){for(var b=0;b<Z.length;b++)if(Z[b].id===a.id)return;Z.push(a)}else y("Warning: Embedded track "+a.id+" not supported!")}function i(a){a&&(a.errHandler&&(G=a.errHandler),a.dashManifestModel&&(H=a.dashManifestModel),a.manifestModel&&(I=a.manifestModel),a.mediaController&&(J=a.mediaController),a.videoModel&&(V=a.videoModel),a.streamController&&(W=a.streamController),a.textTracks&&(P=a.textTracks),a.vttParser&&(L=a.vttParser),a.ttmlParser&&(M=a.ttmlParser))}function k(){return{errHandler:G,dashManifestModel:H,mediaController:J,videoModel:V,fragmentModel:R,streamController:W,textTracks:P,isFragmented:Q,embeddedTracks:Z,fragmentedTracks:U}}function m(a){Y=a}function o(a,b){function c(a,b){var c=new j.default,d={subtitle:"subtitles",caption:"captions"},e=function(){var a=b.roles.length>0?d[b.roles[0]]:d.caption;return a=a===d.caption||a===d.subtitle?a:d.caption},f=function(){var a=!1;return b.codec&&b.codec.search(g.default.STPP)>=0&&(a=!0),b.mimeType&&b.mimeType.search(g.default.TTML)>=0&&(a=!0),a};c.captionData=a,c.lang=b.lang,c.label=b.id,c.index=b.index,c.isTTML=f(),c.defaultTrack=r(b),c.isFragmented=Q,c.isEmbedded=!!b.isEmbedded,c.kind=e(),c.roles=b.roles;var h=(O?O.length:0)+Z.length;P.addTextTrack(c,h)}var d=void 0,e=void 0,f=void 0,i=void 0,k=void 0,l=void 0,m=void 0,n=b.mediaInfo,o=n.type,p=n.mimeType,t=n.codec||p;if(!t)return void y("No text type defined");if(o===g.default.FRAGMENTED_TEXT)if(S)if(l=N.getSamplesInfo(a),e=l.sampleList,!X&&e.length>0&&(X=e[0].cts-b.start*T),t.search(g.default.STPP)>=0)for(K=null!==K?K:s(t),f=0;f<e.length;f++){var u=e[f],v=u.cts,w=v-X;this.buffered.add(w/T,(w+u.duration)/T);var x=new DataView(a,u.offset,u.subSizes[0]);m=z.default.Utils.dataViewToString(x,g.default.UTF8);var A=[],C=u.offset+u.subSizes[0];for(i=1;i<u.subSizes.length;i++){var D=new Uint8Array(a,C,u.subSizes[i]),E=String.fromCharCode.apply(null,D);A.push(E),C+=u.subSizes[i]}try{var F=I.getValue(),H=F.ttmlTimeIsRelative?v/T:0;d=K.parse(m,H,v/T,(v+u.duration)/T,A),P.addCaptions(Y,X/T,d)}catch(oa){R.removeExecutedRequestsBeforeTime(),this.remove(),y("TTML parser error: "+oa.message)}}else{var J=[];for(f=0;f<e.length;f++){var u=e[f];u.cts-=X,this.buffered.add(u.cts/T,(u.cts+u.duration)/T);var L=a.slice(u.offset,u.offset+u.size),M=z.default.parseBuffer(L);for(i=0;i<M.boxes.length;i++){var U=M.boxes[i];if(y("VTT box1: "+U.type),"vtte"!==U.type&&"vttc"===U.type)for(y("VTT vttc boxes.length = "+U.boxes.length),k=0;k<U.boxes.length;k++){var W=U.boxes[k];if(y("VTT box2: "+W.type),"payl"===W.type){var $=W.cue_text;y("VTT cue_text = "+$);var ea=u.cts/T,fa=(u.cts+u.duration)/T;J.push({start:ea,end:fa,data:$,styles:{}}),y("VTT "+ea+"-"+fa+" : "+$)}}}}J.length>0&&P.addCaptions(Y,0,J)}else{for(S=!0,f=0;f<O.length;f++)c(null,O[f]);T=N.getMediaTimescaleFromMoov(a)}else if(o===g.default.TEXT){var x=new DataView(a,0,a.byteLength);m=z.default.Utils.dataViewToString(x,g.default.UTF8);try{d=s(t).parse(m,0),c(d,n)}catch(oa){G.timedTextError(oa,"parse",m)}}else if(o===g.default.VIDEO)if(b.segmentType===h.HTTPRequest.INIT_SEGMENT_TYPE){if(0===_)for(_=N.getMediaTimescaleFromMoov(a),f=0;f<Z.length;f++)c(null,Z[f])}else{if(0===_)return void y("CEA-608: No timescale for embeddedTextTrack yet");var ga=function(a,b){function c(a,c,d){var e=null;if(V.getTTMLRenderingDiv())e=da.createHTMLCaptionsFromScreen(V.getElement(),a,c,d);else{e=[{start:a,end:c,data:d.getDisplayText(),styles:{}}]}e&&P.addCaptions(b,0,e)}return c};l=N.getSamplesInfo(a);var ha=l.lastSequenceNumber;if(!ca[0]&&!ca[1]){var ia=void 0,ja=void 0;for(f=0;f<Z.length;f++){if(Z[f].id===g.default.CC1?(0,ja=P.getTrackIdxForId(g.default.CC1)):Z[f].id===g.default.CC3&&(1,ja=P.getTrackIdxForId(g.default.CC3)),-1===ja)return void y("CEA-608: data before track is ready.");ia=ga(this,ja),ca[f]=new B.default.Cea608Parser(f,{newCue:ia},null)}}if(_&&-1==ba.indexOf(ha)){if(null!==aa&&ha!==aa+l.numSequences)for(f=0;f<ca.length;f++)ca[f]&&ca[f].reset();for(var ka=q(a,l.sampleList),la=0;la<ca.length;la++){var ma=ka.fields[la],na=ca[la];if(na)for(f=0;f<ma.length;f++)na.addData(ma[f][0]/_,ma[f][1])}aa=ha,ba.push(ha)}}}function q(a,b){if(0===b.length)return null;for(var c={splits:[],fields:[[],[]]},d=new DataView(a),e=0;e<b.length;e++)for(var f=b[e],g=B.default.findCea608Nalus(d,f.offset,f.size),h=null,i=0,j=0;j<g.length;j++)for(var k=B.default.extractCea608DataFromRange(d,g[j]),l=0;l<2;l++)k[l].length>0&&(f.cts!==h?i=0:i+=1,c.fields[l].push([f.cts+ea*_,k[l],i]),h=f.cts);return c.fields.forEach(function(a){a.sort(function(a,b){return a[0]===b[0]?a[2]-b[2]:a[0]-b[0]})}),c}function r(a){var b=!1;return Z.length>1&&a.isEmbedded?b=a.id&&a.id===g.default.CC1:1===Z.length?a.id&&"CC"===a.id.substring(0,2)&&(b=!0):0===Z.length&&(b=a.index===O[0].index),b}function s(a){var b=void 0;return a.search(g.default.VTT)>=0?b=L:(a.search(g.default.TTML)>=0||a.search(g.default.STPP)>=0)&&(b=M),b}function u(a,b){void 0===a&&a===b&&(a=this.buffered.start(0),b=this.buffered.end(this.buffered.length-1)),this.buffered.remove(a,b)}var w=this.context,y=(0,t.default)(w).getInstance().log,A=(0,D.default)(w).getInstance(),C=!1,E=void 0,G=void 0,H=void 0,I=void 0,J=void 0,K=void 0,L=void 0,M=void 0,N=void 0,O=void 0,P=void 0,Q=void 0,R=void 0,S=void 0,T=void 0,U=void 0,V=void 0,W=void 0,X=void 0,Y=void 0,Z=void 0,$=void 0,_=void 0,aa=void 0,ba=void 0,ca=void 0,da=void 0,ea=void 0;return{initialize:a,append:o,abort:b,addEmbeddedTrack:f,resetEmbedded:e,setConfig:i,getConfig:k,setCurrentFragmentedTrackIdx:m,remove:u}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(182),i=a(174),j=d(i),k=a(70),l=d(k),m=a(145),n=d(m),o=a(147),p=d(o),q=a(46),r=d(q),s=a(44),t=d(s),u=a(141),v=d(u),w=a(136),x=d(w),y=a(9),z=d(y),A=a(2),B=d(A),C=a(45),D=d(C),E=a(49),F=d(E);e.__dashjs_factory_name="TextSourceBuffer",c.default=r.default.getSingletonFactory(e),b.exports=c.default},{136:136,141:141,145:145,147:147,174:174,182:182,2:2,44:44,45:45,46:46,49:49,70:70,9:9,97:97}],141:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){"undefined"!=typeof window&&"undefined"!=typeof navigator&&(G=window.VTTCue||window.TextTrackCue,I=[],J=[],K=-1,L=0,M=0,N=0,O=0,P=null,Q=null,T=!1,V=2147483647,U=null,R=!!navigator.userAgent.match(/Chrome/)&&!navigator.userAgent.match(/Edge/),void 0!==document.fullscreenElement?S="fullscreenElement":void 0!==document.webkitIsFullScreen?S="webkitIsFullScreen":document.msFullscreenElement?S="msFullscreenElement":document.mozFullScreen&&(S="mozFullScreen"))}function b(a){var b=I[a].kind,c=void 0!==I[a].label?I[a].label:I[a].lang,d=I[a].lang,e=I[a].isTTML,f=I[a].isEmbedded,g=H.addTextTrack(b,c,d);return g.isEmbedded=f,g.isTTML=e,g}function c(a){T=a,P&&!document[S]&&(P.style.zIndex=a?V:null)}function d(a,c){if(I.length===c)return void F("Trying to add too many tracks.");if(I.push(a),I.length===c){I.sort(function(a,b){return a.index-b.index}),P=H.getTTMLRenderingDiv();for(var d=-1,e=0;e<I.length;e++){var f=b.call(this,e);J.push(f),I[e].defaultTrack&&(f.default=!0,d=e);var h=m(e);h&&(h.mode=g.default.TEXT_SHOWING,P&&(I[e].isTTML||I[e].isEmbedded)?h.renderingType="html":h.renderingType="default"),this.addCaptions(e,0,I[e].captionData),E.trigger(k.default.TEXT_TRACK_ADDED)}if(r.call(this,d),d>=0)for(var i=0;i<I.length;i++){var j=m(i);j&&(j.mode=i===d?g.default.TEXT_SHOWING:g.default.TEXT_HIDDEN)}E.trigger(k.default.TEXT_TRACKS_QUEUE_INITIALIZED,{index:K,tracks:I})}}function e(a,b,c,d,e,f){var g=a/b,h=c/d,i=0,j=0;g>h?(j=b,i=j/d*c):(i=a,j=i/c*d);var k=0,l=0,m=0,n=0;return i/j>e?(n=j,m=j*e):(m=i,n=i/e),k=(a-m)/2,l=(b-n)/2,f?{x:k+.1*m,y:l+.1*n,w:.8*m,h:.8*n}:{x:k,y:l,w:m,h:n}}function f(a,b){var c=H.getClientWidth(),d=H.getClientHeight(),f=H.getVideoWidth(),g=H.getVideoHeight(),h=H.getVideoRelativeOffsetTop(),i=H.getVideoRelativeOffsetLeft(),j=f/g,k=!1;a.isFromCEA608&&(j=3.5/3,k=!0);var l=e.call(this,c,d,f,g,j,k),m=l.w,n=l.h,o=l.x,p=l.y;if(m!=N||n!=O||o!=L||p!=M||b){L=o+i,M=p+h,N=m,O=n,P.style.left=L+"px",P.style.top=M+"px",P.style.width=N+"px",P.style.height=O+"px";for(var q=0;a.activeCues&&q<a.activeCues.length;++q){var r=a.activeCues[q];r.scaleCue(r)}S&&document[S]||T?P.style.zIndex=V:P.style.zIndex=null}}function h(a){var b=N,c=O,d=void 0,e=void 0,f=void 0,g=void 0,h=void 0;if(a.cellResolution){var i=[b/a.cellResolution[0],c/a.cellResolution[1]];if(a.linePadding)for(d in a.linePadding)if(a.linePadding.hasOwnProperty(d)){var k=a.linePadding[d];e=(k*i[0]).toString();for(var l=document.getElementsByClassName("spanPadding"),m=0;m<l.length;m++)l[m].style.cssText=l[m].style.cssText.replace(/(padding-left\s*:\s*)[\d.,]+(?=\s*px)/gi,"$1"+e),l[m].style.cssText=l[m].style.cssText.replace(/(padding-right\s*:\s*)[\d.,]+(?=\s*px)/gi,"$1"+e)}if(a.fontSize){for(d in a.fontSize)if(a.fontSize.hasOwnProperty(d)){"%"===a.fontSize[d][0]?f=a.fontSize[d][1]/100:"c"===a.fontSize[d][0]&&(f=a.fontSize[d][1]),e=(f*i[1]).toString(),h="defaultFontSize"!==d?document.getElementsByClassName(d):document.getElementsByClassName("paragraph");for(var n=0;n<h.length;n++)h[n].style.cssText=h[n].style.cssText.replace(/(font-size\s*:\s*)[\d.,]+(?=\s*px)/gi,"$1"+e)}if(a.lineHeight)for(d in a.lineHeight)if(a.lineHeight.hasOwnProperty(d)){"%"===a.lineHeight[d][0]?g=a.lineHeight[d][1]/100:"c"===a.fontSize[d][0]&&(g=a.lineHeight[d][1]),e=(g*i[1]).toString(),h=document.getElementsByClassName(d);for(var o=0;o<h.length;o++)h[o].style.cssText=h[o].style.cssText.replace(/(line-height\s*:\s*)[\d.,]+(?=\s*px)/gi,"$1"+e)}}}if(a.isd){var p=document.getElementById(a.cueID);p&&P.removeChild(p),j(a)}}function j(a){var b=document.createElement("div");P.appendChild(b),U=(0,p.renderHTML)(a.isd,b,function(b){var c=/^(urn:)(mpeg:[a-z0-9][a-z0-9-]{0,31}:)(subs:)([0-9]+)$/,d=/^#(.*)$/;if(c.test(b)){var e=c.exec(b),f=parseInt(e[4],10)-1,g=btoa(a.images[f]),h="data:image/png;base64,"+g;return h}if(d.test(b)){var e=d.exec(b),f=e[1],h="data:image/png;base64,"+a.embeddedImages[f];return h}return null},P.clientHeight,P.clientWidth,!1,function(a){F("[TextTracks][renderCaption]",a)},U,!0),b.id=a.cueID}function l(a,b,c){var d=m(a),e=this;if(d&&c&&0!==c.length)for(var f=0;f<c.length;f++){var i=void 0,k=c[f];d.cellResolution=k.cellResolution,d.isFromCEA608=k.isFromCEA608,"html"===k.type?(i=new G(k.start-b,k.end-b,""),i.cueHTMLElement=k.cueHTMLElement,i.isd=k.isd,i.images=k.images,i.embeddedImages=k.embeddedImages,i.cueID=k.cueID,i.scaleCue=h.bind(e),i.cellResolution=k.cellResolution,i.lineHeight=k.lineHeight,i.linePadding=k.linePadding,i.fontSize=k.fontSize,P.style.left=L+"px",P.style.top=M+"px",P.style.width=N+"px",P.style.height=O+"px",i.onenter=function(){d.mode===g.default.TEXT_SHOWING&&(this.isd?(j(this),F("Cue enter id:"+this.cueID)):(P.appendChild(this.cueHTMLElement),h.call(e,this)))},i.onexit=function(){for(var a=P.childNodes,b=0;b<a.length;++b)a[b].id===this.cueID&&(F("Cue exit id:"+a[b].id),P.removeChild(a[b]))}):(i=new G(k.start-b,k.end-b,k.data),k.styles&&(void 0!==k.styles.align&&"align"in i&&(i.align=k.styles.align),void 0!==k.styles.line&&"line"in i&&(i.line=k.styles.line),void 0!==k.styles.position&&"position"in i&&(i.position=k.styles.position),void 0!==k.styles.size&&"size"in i&&(i.size=k.styles.size)));try{d.addCue(i)}catch(l){throw t(d),d.addCue(i),l}}}function m(a){return a>=0&&I[a]?H.getTextTrack(I[a].kind,I[a].label,I[a].lang,I[a].isTTML,I[a].isEmbedded):null}function n(){return K}function q(a){for(var b=-1,c=0;c<I.length;c++)if(I[c].label===a){b=c;break}return b}function r(a){if(a!==K){K=a;var b=m(K);s.call(this,b),Q&&(clearInterval(Q),Q=null),b&&"html"===b.renderingType&&(f.call(this,b,!0),Q=setInterval(f.bind(this,b),500))}}function s(a){z.call(this),a&&"html"===a.renderingType?x.call(this):y.call(this)}function t(a){if(a.cues)for(var b=a.cues,c=b.length-1,d=c;d>=0;d--)a.removeCue(b[d])}function u(a){var b=m(a);b&&t(b)}function v(){for(var a=J?J.length:0,b=0;b<a;b++){var c=m(b);c&&(t.call(this,c),c.mode="disabled")}J=[],I=[],Q&&(clearInterval(Q),Q=null),K=-1,z.call(this)}function w(a){H.removeChild(J[a]),J.splice(a,1)}function x(){if(R){var a=document.getElementById("native-cue-style");if(!a){a=document.createElement("style"),a.id="native-cue-style",document.head.appendChild(a);var b=a.sheet,c=H.getElement();c&&(c.id?b.insertRule("#"+c.id+"::cue {background: transparent}",0):0!==c.classList.length?b.insertRule("."+c.className+"::cue {background: transparent}",0):b.insertRule("video::cue {background: transparent}",0))}}}function y(){if(R){var a=document.getElementById("native-cue-style");a&&document.head.removeChild(a)}}function z(){if(P)for(;P.firstChild;)P.removeChild(P.firstChild)}function A(a){a&&a.videoModel&&(H=a.videoModel)}function B(a,b){var c=m(a);c&&c.mode!==b&&(c.mode=b)}function C(){return I[K]}var D=this.context,E=(0,i.default)(D).getInstance(),F=(0,o.default)(D).getInstance().log,G=void 0,H=void 0,I=void 0,J=void 0,K=void 0,L=void 0,M=void 0,N=void 0,O=void 0,P=void 0,Q=void 0,R=void 0,S=void 0,T=void 0,U=void 0,V=void 0;return{initialize:a,displayCConTop:c,addTextTrack:d,addCaptions:l,getCurrentTrackIdx:n,setCurrentTrackIdx:r,getTrackIdxForId:q,getCurrentTrackInfo:C,setModeForTrackIdx:B,deleteCuesFromTrackIdx:u,deleteAllTextTracks:v,deleteTextTrack:w,setConfig:A}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(45),i=d(h),j=a(49),k=d(j),l=a(46),m=d(l),n=a(44),o=d(n),p=a(17);e.__dashjs_factory_name="TextTracks",c.default=m.default.getSingletonFactory(e),b.exports=c.default},{17:17,44:44,45:45,46:46,49:49,97:97}],142:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){h(),n=(0,m.default)(j).create({dashManifestModel:a.dashManifestModel,adapter:a.adapter,baseURLController:a.baseURLController,stream:a.stream})}function c(a){var b=n.getCurrentTrack();if(!b||b.segmentDuration<=0)return null;var c=Math.floor(a/b.segmentDuration),e=a%b.segmentDuration,f=Math.floor(e*b.tilesHor*b.tilesVert/b.segmentDuration),g=new k.default;return g.url=d(b,c),g.width=Math.floor(b.widthPerTile),g.height=Math.floor(b.heightPerTile),g.x=Math.floor(f%b.tilesHor)*b.widthPerTile,g.y=Math.floor(f/b.tilesHor)*b.heightPerTile,g}function d(a,b){var c=b+a.startNumber,d=(0,p.replaceTokenForTemplate)(a.templateUrl,"Number",c);return d=(0,p.replaceTokenForTemplate)(d,"Time",(c-1)*a.segmentDuration),d=(0,p.replaceTokenForTemplate)(d,"Bandwidth",a.bandwidth),(0,p.unescapeDollarsInTemplate)(d)}function e(a){n.setTrackByIndex(a)}function f(){return n.getCurrentTrackIndex()}function g(){var a=n.getTracks();if(!a||0===a.length)return[];var b=0;return a.map(function(a){var c=new o.default;return c.mediaType=i.default.IMAGE,c.qualityIndex=b++,c.bitrate=a.bitrate,c.width=a.width,c.height=a.height,c})}function h(){n&&n.reset()}var j=this.context,l=void 0,n=void 0;return l={get:c,setTrackByIndex:e,getCurrentTrackIndex:f,getBitrateList:g,reset:h},b(),l}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(97),i=d(h),j=a(175),k=d(j),l=a(143),m=d(l),n=a(161),o=d(n),p=a(74);e.__dashjs_factory_name="ThumbnailController",c.default=g.default.getClassFactory(e),b.exports=c.default},{143:143,161:161,175:175,46:46,74:74,97:97}],143:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){l(),c()}function c(){if(u&&r&&s){var a=u?u.getStreamInfo():null;if(a){var b=s.getMediaInfoForType(a,g.default.IMAGE);if(b){var c=s.getDataForMedia(b);if(c){var e=r.getRepresentationsForAdaptation(c);e&&e.length>0&&e.forEach(function(a){a.segmentInfoType===i.default.SEGMENT_TEMPLATE&&a.segmentDuration>0&&a.media&&d(a)}),x.length>0&&(x.sort(function(a,b){return a.bitrate-b.bitrate}),y=x.length-1)}}}}}function d(a){var b=new m.default;b.id=a.id,b.bitrate=a.bandwidth,b.width=a.width,b.height=a.height,b.tilesHor=1,b.tilesVert=1,b.startNumber=a.startNumber,b.segmentDuration=a.segmentDuration,b.timescale=a.timescale,b.templateUrl=e(a),a.essentialProperties&&a.essentialProperties.forEach(function(a){if(a.schemeIdUri===q&&a.value){var c=a.value.split("x");2!==c.length||isNaN(c[0])||isNaN(c[1])||(b.tilesHor=parseInt(c[0],10),b.tilesVert=parseInt(c[1],10))}}),b.tilesHor>0&&b.tilesVert>0&&(b.widthPerTile=b.width/b.tilesHor,b.heightPerTile=b.height/b.tilesVert,x.push(b))}function e(a){var b=v.isRelative(a.media)?v.resolve(a.media,t.resolve(a.path).url):a.media;return b?(0,p.replaceIDForTemplate)(b,a.id):""}function f(){return x}function h(){return y}function j(){return y<0?null:x[y]}function k(a){x&&0!==x.length&&(a>=x.length&&(a=x.length-1),y=a)}function l(){x=[],y=-1}var n=this.context,r=a.dashManifestModel,s=a.adapter,t=a.baseURLController,u=a.stream,v=(0,o.default)(n).getInstance(),w=void 0,x=void 0,y=void 0;return w={initialize:b,getTracks:f,reset:l,setTrackByIndex:k,getCurrentTrack:j,getCurrentTrackIndex:h},b(),w}Object.defineProperty(c,"__esModule",{value:!0});var f=a(97),g=d(f),h=a(56),i=d(h),j=a(46),k=d(j),l=a(176),m=d(l),n=a(157),o=d(n),p=a(74),q="http://dashif.org/thumbnail_tile";e.__dashjs_factory_name="ThumbnailTracks",c.default=k.default.getClassFactory(e),b.exports=c.default},{157:157,176:176,46:46,56:56,74:74,97:97}],144:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){p=(0,k.default)(h).create({updateEventName:i.default.SERVICE_LOCATION_BLACKLIST_CHANGED,addBlacklistEventName:i.default.SERVICE_LOCATION_BLACKLIST_ADD}),q=(0,o.default)(h).create({blacklistController:p}),t=(0,m.default)(h).create({blacklistController:p}),u=q}function b(a){a.selector&&(u=a.selector),a.dashManifestModel&&(l=a.dashManifestModel)}function c(){if(!l||!l.hasOwnProperty("getIsDVB"))throw new Error("Missing config parameter(s)")}function d(a){c(),u=l.getIsDVB(a)?t:q}function e(a){var b=a.baseUrls,c=a.selectedIdx;if(!isNaN(c))return b[c];var d=u.select(b);return d?(a.selectedIdx=b.indexOf(d),d):(j.trigger(i.default.URL_RESOLUTION_FAILED,{error:new Error(r,s)}),void(u===q&&f()))}function f(){p.reset()}var h=this.context,j=(0,g.default)(h).getInstance(),l=void 0,n=void 0,p=void 0,q=void 0,t=void 0,u=void 0;return n={chooseSelectorFromManifest:d,select:e,reset:f,setConfig:b},a(),n}Object.defineProperty(c,"__esModule",{value:!0});var f=a(45),g=d(f),h=a(49),i=d(h),j=a(101),k=d(j),l=a(160),m=d(l),n=a(159),o=d(n),p=a(46),q=d(p),r=1,s="Failed to resolve a valid URL";e.__dashjs_factory_name="BaseURLSelector";var t=q.default.getClassFactory(e);t.URL_RESOLUTION_FAILED_GENERIC_ERROR_CODE=r,t.URL_RESOLUTION_FAILED_GENERIC_ERROR_MESSAGE=s,q.default.updateClassFactory(e.__dashjs_factory_name,t),c.default=t,b.exports=c.default},{101:101,159:159,160:160,45:45,46:46,49:49}],145:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){if(!a)return null;void 0===a.fileStart&&(a.fileStart=0);var b=k.default.parseBuffer(a),c=(0,g.default)(e).create();return c.setData(b),c}function b(a,b,e){if(void 0===e&&(e=0),!b||e+8>=b.byteLength)return new m.default(0,!1);for(var f=b instanceof ArrayBuffer?new Uint8Array(b):b,g=void 0,h=0;e<f.byteLength;){var i=c(f,e),j=d(f,e+4);if(0===i)break;e+i<=f.byteLength&&(a.indexOf(j)>=0?g=new m.default(e,!0,i):h=e+i),e+=i}return g||new m.default(h,!1)}function c(a,b){return a[b+3]>>>0|a[b+2]<<8>>>0|a[b+1]<<16>>>0|a[b]<<24>>>0}function d(a,b){return String.fromCharCode(a[b++])+String.fromCharCode(a[b++])+String.fromCharCode(a[b++])+String.fromCharCode(a[b])}var e=this.context;return{parse:a,findLastTopIsoBoxCompleted:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(152),g=d(f),h=a(46),i=d(h),j=a(9),k=d(j),l=a(167),m=d(l);e.__dashjs_factory_name="BoxParser",c.default=i.default.getSingletonFactory(e),b.exports=c.default},{152:152,167:167,46:46,9:9}],146:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){g=!1}function b(){var a="WebKitMediaSource"in window,b="MediaSource"in window;return a||b}function c(){return g}function d(a){g=a}function e(a){return!!("MediaSource"in window&&MediaSource.isTypeSupported(a))||!!("WebKitMediaSource"in window&&WebKitMediaSource.isTypeSupported(a))}var f=void 0,g=void 0;return f={supportsMediaSource:b,supportsEncryptedMedia:c,supportsCodec:e,setEncryptedMediaSupported:d},a(),f}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="Capabilities",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{46:46}],147:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a,b){var c=0;for(c=0;c<this.customTimeRangeArray.length&&a>this.customTimeRangeArray[c].start;c++);for(this.customTimeRangeArray.splice(c,0,{start:a,end:b}),c=0;c<this.customTimeRangeArray.length-1;c++)this.mergeRanges(c,c+1)&&c--;this.length=this.customTimeRangeArray.length}function b(){this.customTimeRangeArray=[],this.length=0}function c(a,b){for(var c=0;c<this.customTimeRangeArray.length;c++)if(a<=this.customTimeRangeArray[c].start&&b>=this.customTimeRangeArray[c].end)this.customTimeRangeArray.splice(c,1),c--;else{if(a>this.customTimeRangeArray[c].start&&b<this.customTimeRangeArray[c].end){this.customTimeRangeArray.splice(c+1,0,{start:b,end:this.customTimeRangeArray[c].end}),this.customTimeRangeArray[c].end=a;break}a>this.customTimeRangeArray[c].start&&a<this.customTimeRangeArray[c].end?this.customTimeRangeArray[c].end=a:b>this.customTimeRangeArray[c].start&&b<this.customTimeRangeArray[c].end&&(this.customTimeRangeArray[c].start=b)}this.length=this.customTimeRangeArray.length}function d(a,b){var c=this.customTimeRangeArray[a],d=this.customTimeRangeArray[b];return c.start<=d.start&&d.start<=c.end&&c.end<=d.end?(c.end=d.end,this.customTimeRangeArray.splice(b,1),!0):d.start<=c.start&&c.start<=d.end&&d.end<=c.end?(c.start=d.start,this.customTimeRangeArray.splice(b,1),!0):d.start<=c.start&&c.start<=d.end&&c.end<=d.end?(this.customTimeRangeArray.splice(a,1),!0):c.start<=d.start&&d.start<=c.end&&d.end<=c.end&&(this.customTimeRangeArray.splice(b,1),!0)}function e(a){if(null===a||isNaN(a)||a%1!=0)throw new Error("index argument is not an integer")}function f(a){return e(a),a>=this.customTimeRangeArray.length||a<0?NaN:this.customTimeRangeArray[a].start}function g(a){return e(a),a>=this.customTimeRangeArray.length||a<0?NaN:this.customTimeRangeArray[a].end}return{customTimeRangeArray:[],length:0,add:a,clear:b,remove:c,mergeRanges:d,start:f,end:g}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="CustomTimeRanges",c.default=g.default.getClassFactory(e),b.exports=c.default},{46:46}],148:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a){if(void 0!==x)return x;x=!1;var b="1",c="1",d=void 0;try{"undefined"!=typeof window&&(d=window[a])}catch(e){return u("Warning: DOMStorage access denied: "+e.message),x}if(!d||a!==m&&a!==n)return x;try{d.setItem(b,c),d.removeItem(b),x=!0}catch(e){u("Warning: DOMStorage is supported, but cannot be used: "+e.message)}return x}function c(){b(m)&&j.forEach(function(a){var b=localStorage.getItem(a.oldKey);if(b){localStorage.removeItem(a.oldKey);try{localStorage.setItem(a.newKey,b)}catch(c){u(c.message)}}})}function d(){c()}function e(){var a=6e5;return Math.round((new Date).getTime()/a)*a}function f(a,c){return b(a)&&v["get"+c+"CachingInfo"]().enabled}function g(){if(!v||!v.hasOwnProperty("getLastMediaSettingsCachingInfo"))throw new Error("Missing config parameter(s)")}function h(a){if(g(),!f(m,p))return null;var b=null,c=l.replace(/\?/,a);try{var d=JSON.parse(localStorage.getItem(c))||{},e=(new Date).getTime()-parseInt(d.timestamp,10)>=v.getLastMediaSettingsCachingInfo().ttl||!1;b=d.settings,e&&(localStorage.removeItem(c),b=null)}catch(h){return null}return b}function q(a){var b=NaN;if(g(),f(m,o)){var c=k.replace(/\?/,a);try{var d=JSON.parse(localStorage.getItem(c))||{},e=(new Date).getTime()-parseInt(d.timestamp,10)>=v.getLastMediaSettingsCachingInfo().ttl||!1,h=parseFloat(d.bitrate);isNaN(h)||e?e&&localStorage.removeItem(c):(b=h,u("Last saved bitrate for "+a+" was "+h))}catch(i){return null}}return b}function r(a,b){if(f(m,p)){var c=l.replace(/\?/,a);try{localStorage.setItem(c,JSON.stringify({settings:b,timestamp:e()}))}catch(d){u(d.message)}}}function s(a,b){if(f(m,o)&&b){var c=k.replace(/\?/,a);try{localStorage.setItem(c,JSON.stringify({bitrate:b.toFixed(3),timestamp:e()}))}catch(d){u(d.message)}}}a=a||{};var t=this.context,u=(0,i.default)(t).getInstance().log,v=a.mediaPlayerModel,w=void 0,x=void 0;return w={getSavedBitrateSettings:q,setSavedBitrateSettings:s,getSavedMediaSettings:h,setSavedMediaSettings:r},d(),w}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(44),i=d(h),j=[{oldKey:"dashjs_vbitrate",newKey:"dashjs_video_bitrate"},{oldKey:"dashjs_abitrate",newKey:"dashjs_audio_bitrate"},{oldKey:"dashjs_vsettings",newKey:"dashjs_video_settings"},{oldKey:"dashjs_asettings",newKey:"dashjs_audio_settings"}],k="dashjs_?_bitrate",l="dashjs_?_settings",m="localStorage",n="sessionStorage",o="LastBitrate",p="LastMediaSettings";e.__dashjs_factory_name="DOMStorage";var q=g.default.getSingletonFactory(e);c.default=q,b.exports=c.default},{44:44,46:46}],149:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){return n}function c(a){n=a}function d(a,b){var c=!0,d=0,e=void 0,f=void 0;if(void 0===b&&(b=!1),a.tag>16777215?(m.getUint32(n)!==a.tag&&(c=!1),d=4):a.tag>65535?(e=m.getUint16(n),f=m.getUint8(n+2),256*e+f!==a.tag&&(c=!1),d=3):a.tag>255?(m.getUint16(n)!==a.tag&&(c=!1),d=2):(m.getUint8(n)!==a.tag&&(c=!1),d=1),!c&&a.required&&!b)throw new Error("required tag not found");return c&&(n+=d),c}function e(a,b){var c=d(a,b);return c&&h(),c}function f(a){var b=void 0;return d(a),b=h(),l[a.parse](b)}function g(a,b){var c=d(a,b),e=void 0;return c&&(e=h(),n+=e),c}function h(a){var b=1,c=128,d=8,e=-1,f=0,g=m.getUint8(n),h=0;for(h=0;h<d;h+=1){if((g&c)===c){f=void 0===a?g&~c:g,e=h;break}c>>=1}for(h=0;h<e;h+=1,b+=1)f=f<<8|255&m.getUint8(n+b);return n+=b,f}function i(a){var b=void 0;switch(a){case 4:b=m.getFloat32(n),n+=4;break;case 8:b=m.getFloat64(n),n+=8}return b}function j(a){for(var b=0,c=0;c<a;c+=1)b<<=8,b|=255&m.getUint8(n+c);return n+=a,b}function k(){return n<m.byteLength}a=a||{};var l=void 0,m=new DataView(a.data),n=0;return l={getPos:b,setPos:c,consumeTag:d,consumeTagAndSize:e,parseTag:f,skipOverElement:g,getMatroskaCodedNum:h,getMatroskaFloat:i,getMatroskaUint:j,moreData:k}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="EBMLParser",c.default=g.default.getClassFactory(e),b.exports=c.default},{46:46}],150:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){l.trigger(i.default.ERROR,{error:"capability",event:a})}function b(a,b,c){l.trigger(i.default.ERROR,{error:"download",event:{id:a,url:b,request:c}})}function c(a,b,c,d){l.trigger(i.default.ERROR,{error:"manifestError",event:{message:a,id:b,manifest:c,event:d}})}function d(a,b,c){l.trigger(i.default.ERROR,{error:"cc",event:{message:a,id:b,cc:c}})}function e(a){l.trigger(i.default.ERROR,{error:"mediasource",event:a})}function f(a){l.trigger(i.default.ERROR,{error:"key_session",event:a})}function h(a){l.trigger(i.default.ERROR,{error:"key_message",event:a})}function j(a){l.trigger(i.default.ERROR,{error:"mssError",event:a})}var k=this.context,l=(0,g.default)(k).getInstance();return{capabilityError:a,downloadError:b,manifestError:c,timedTextError:d,mediaSourceError:e,mediaKeySessionError:f,mediaKeyMessageError:h,mssError:j}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(45),g=d(f),h=a(49),i=d(h),j=a(46),k=d(j),l="mediasource",m="mediakeys",n="manifest",o="SIDX",p="content",q="initialization",r="xlink",s="codec",t="parse",u="nostreams",v="parse";e.__dashjs_factory_name="ErrorHandler";var w=k.default.getSingletonFactory(e);w.CAPABILITY_ERROR_MEDIASOURCE=l,w.CAPABILITY_ERROR_MEDIAKEYS=m,w.DOWNLOAD_ERROR_ID_MANIFEST=n,w.DOWNLOAD_ERROR_ID_SIDX=o,w.DOWNLOAD_ERROR_ID_CONTENT=p,w.DOWNLOAD_ERROR_ID_INITIALIZATION=q,w.DOWNLOAD_ERROR_ID_XLINK=r,w.MANIFEST_ERROR_ID_CODEC=s,w.MANIFEST_ERROR_ID_PARSE=t,w.MANIFEST_ERROR_ID_NOSTREAMS=u,w.TIMED_TEXT_ERROR_ID_PARSE=v,k.default.updateSingletonFactory(e.__dashjs_factory_name,w),c.default=w,b.exports=c.default},{45:45,46:46,49:49}],151:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){var b=a.streamId,c=a.representationId;d[b]=d[b]||{},d[b][c]=a}function b(a,b){return d&&d[a]&&d[a][b]?d[a][b]:null}function c(){d={}}var d={};return{save:a,extract:b,reset:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="InitCache",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{46:46}],152:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){return a&&f&&f.boxes&&0!==f.boxes.length&&"function"==typeof f.fetch?e(f.fetch(a)):null}function b(a){var b=[];if(!a||!f||"function"!=typeof f.fetchAll)return b;for(var c=f.fetchAll(a),d=void 0,g=0,h=c.length;g<h;g++)(d=e(c[g]))&&b.push(d);return b}
28
- function c(a){f=a}function d(){if(!f||!f.boxes||!f.boxes.length)return null;var a=f.boxes[f.boxes.length-1].type,c=b(a);return c.length>0?c[c.length-1]:null}function e(a){if(!a)return null;var b=new g.default(a);return a.hasOwnProperty("_incomplete")&&(b.isComplete=!a._incomplete),b}var f=void 0;return{getBox:a,getBoxes:b,setData:c,getLastBox:d}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(166),g=d(f),h=a(46),i=d(h);e.__dashjs_factory_name="IsoFile",c.default=i.default.getClassFactory(e),b.exports=c.default},{166:166,46:46}],153:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){if(!(e&&e.hasOwnProperty("getExpectedLiveEdge")&&f&&f.hasOwnProperty("getCurrentRepresentationInfo")))throw new Error("Missing config parameter(s)")}function c(){b();var a=f.getCurrentRepresentationInfo(),c=a.DVRWindow.end;return a.useCalculatedLiveEdgeTime&&(c=e.getExpectedLiveEdge(),e.setClientTimeOffset(c-a.DVRWindow.end)),c}function d(){e=null,f=null}a=a||{};var e=a.timelineConverter,f=a.streamProcessor;return{getLiveEdge:c,reset:d}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="LiveEdgeFinder",c.default=g.default.getClassFactory(e),b.exports=c.default},{46:46}],154:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a,b){return(0,i.default)(a,b)}return{areEqual:a}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(12),i=d(h);e.__dashjs_factory_name="ObjectUtils",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{12:12,46:46}],155:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){return a}function b(a){return a}return{modifyRequestURL:a,modifyRequestHeader:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="RequestModifier",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{46:46}],156:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){var a="cue_TTML_"+h;return h++,a}function b(b,c,d,g,h){var i=void 0,j="",k=[],l=void 0,o=void 0,p={},q={},r="",s="",t={onOpenTag:function(a,b,c){if("image"===b&&"http://www.smpte-ra.org/schemas/2052-1/2010/smpte-tt"===a){if(!c[" imagetype"]||"PNG"!==c[" imagetype"].value)return void e("Warning: smpte-tt imagetype != PNG. Discarded");r=c["http://www.w3.org/XML/1998/namespace id"].value}},onCloseTag:function(){r&&(q[r]=s.trim()),s="",r=""},onText:function(a){r&&(s+=a)}};if(!b)throw j="no ttml data to parse",new Error(j);p.data=b,f.trigger(m.default.TTML_TO_PARSE,p);var u=(0,n.fromXML)(p.data,function(a){j=a},t);f.trigger(m.default.TTML_PARSED,{ttmlString:p.data,ttmlDoc:u});var v=u.getMediaTimeEvents();for(i=0;i<v.length;i++){var w=(0,n.generateISD)(u,v[i],function(a){j=a});w.contents.some(function(a){return a.contents.length})&&(l=v[i]+c<d?d:v[i]+c,o=v[i+1]+c>g?g:v[i+1]+c,l<o&&k.push({start:l,end:o,type:"html",cueID:a(),isd:w,images:h,embeddedImages:q}))}if(""!==j)throw e(j),new Error(j);return k}function c(){}var d=this.context,e=(0,i.default)(d).getInstance().log,f=(0,k.default)(d).getInstance(),g=void 0,h=0;return g={parse:b},c(),g}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(44),i=d(h),j=a(45),k=d(j),l=a(49),m=d(l),n=a(17);e.__dashjs_factory_name="TTMLParser",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{17:17,44:44,45:45,46:46,49:49}],157:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){try{new window.URL("x","http://y");k=p}catch(a){}finally{k=k||q}}function b(a){var b=a.indexOf("/"),c=a.lastIndexOf("/");return-1!==b?c===b+1?a:(-1!==a.indexOf("?")&&(a=a.substring(0,a.indexOf("?"))),a.substring(0,c+1)):""}function c(a){var b=a.match(o);return b?b[1]:""}function d(a){var b=a.match(l);return b?b[0]:""}function e(a){return!l.test(a)}function f(a){return e(a)&&"/"===a.charAt(0)}function g(a){return 0===a.indexOf("//")}function h(a){return m.test(a)}function i(a){return n.test(a)}function j(a,b){return k(a,b)}var k=void 0,l=/^[a-z][a-z0-9+\-.]*:/i,m=/^https?:\/\//i,n=/^https:\/\//i,o=/^([a-z][a-z0-9+\-.]*:\/\/[^\/]+)\/?/i,p=function(a,b){try{return new window.URL(a,b).toString()}catch(c){return a}},q=function(a,h){var i=b;if(!h)return a;if(!e(a))return a;f(a)&&(i=c),g(a)&&(i=d);var j=i(h);return[j,a].join("/"!==j.charAt(j.length-1)&&"/"!==a.charAt(0)?"/":"")};return a(),{parseBaseUrl:b,parseOrigin:c,parseScheme:d,isRelative:e,isPathAbsolute:f,isSchemeRelative:g,isHTTPURL:h,isHTTPS:i,resolve:j}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="URLUtils",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{46:46}],158:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){l=/(?:\r\n|\r|\n)/gm,m=/-->/,n=/(^[\s]+|[\s]+$)/g,o=/\s\b/g}function b(a){var b=[],e=void 0,g=void 0;if(!a)return b;a=a.split(l),e=a.length,g=-1;for(var i=0;i<e;i++){var k=a[i];if(k.length>0&&k!==j&&k.match(m)){var o=d(k),p=o.cuePoints,q=o.styles,r=f(a,i+1),s=c(p[0].replace(n,"")),t=c(p[1].replace(n,""));!isNaN(s)&&!isNaN(t)&&s>=g&&t>s?""!==r?(g=s,b.push({start:s,end:t,data:r,styles:q})):h("Skipping cue due to empty/malformed cue text"):h("Skipping cue due to incorrect cue timing")}}return b}function c(a){var b=a.split(":"),c=b.length-1;return a=60*parseInt(b[c-1],10)+parseFloat(b[c]),2===c&&(a+=3600*parseInt(b[0],10)),a}function d(a){var b=a.split(m),c=b[1].split(o);return c.shift(),b[1]=c[0],c.shift(),{cuePoints:b,styles:e(c)}}function e(a){var b={};return a.forEach(function(a){if(a.split(/:/).length>1){var c=a.split(/:/)[1];c&&-1!=c.search(/%/)&&(c=parseInt(c.replace(/%/,""),10)),(a.match(/align/)||a.match(/A/))&&(b.align=c),(a.match(/line/)||a.match(/L/))&&(b.line=c),(a.match(/position/)||a.match(/P/))&&(b.position=c),(a.match(/size/)||a.match(/S/))&&(b.size=c)}}),b}function f(a,b){for(var c=b,d="",e="",f=void 0;""!==a[c]&&c<a.length;)c++;if((f=c-b)>1)for(var g=0;g<f;g++){if(e=a[b+g],e.match(m)){d="";break}d+=e,g!==f-1&&(d+="\n")}else e=a[b],e.match(m)||(d=e);return d}var g=this.context,h=(0,i.default)(g).getInstance().log,k=void 0,l=void 0,m=void 0,n=void 0,o=void 0;return k={parse:b},a(),k}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(44),i=d(h),j="WEBVTT";e.__dashjs_factory_name="VTTParser",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{44:44,46:46}],159:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a){var b=0,d=void 0;return a&&a.some(function(a,d){return b=d,!c.contains(a.serviceLocation)})&&(d=a[b]),d}a=a||{};var c=a.blacklistController;return{select:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="BasicSelector",c.default=g.default.getClassFactory(e),b.exports=c.default},{46:46}],160:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a){var b=[],c=function(a){return!b.length||!a.dvb_priority||-1===b.indexOf(a.dvb_priority)},d=function(a){return!e.contains(a.serviceLocation)||(a.dvb_priority&&b.push(a.dvb_priority),!1)};return a.filter(d).filter(c)}function c(a){var b=function(a,b){var c=a.dvb_priority-b.dvb_priority;return isNaN(c)?0:c},c=function(a,b,c){return!b||c[0].dvb_priority&&a.dvb_priority&&c[0].dvb_priority===a.dvb_priority},d=0,e=[],f=0,g=void 0,h=void 0;if(h=a.sort(b).filter(c),h.length)return h.length>1&&(h.forEach(function(a){d+=a.dvb_weight,e.push(d)}),g=Math.floor(Math.random()*(d-1)),e.every(function(a,b){return f=b,!(g<a)})),h[f]}function d(a){return a&&c(b(a))}a=a||{};var e=a.blacklistController;return{select:d}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f);e.__dashjs_factory_name="DVBSelector",c.default=g.default.getClassFactory(e),b.exports=c.default},{46:46}],161:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.mediaType=null,this.bitrate=null,this.width=null,this.height=null,this.scanType=null,this.qualityIndex=NaN};c.default=e,b.exports=c.default},{}],162:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(b,c,e){d(this,a),this.code=b||null,this.message=c||null,this.data=e||null};c.default=e,b.exports=c.default},{}],163:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.streamId=null,this.mediaInfo=null,this.segmentType=null,this.quality=NaN,this.index=NaN,this.bytes=null,this.start=NaN,this.end=NaN,this.duration=NaN,this.representationId=null,this.endFragment=null};c.default=e,b.exports=c.default},{}],164:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.action=a.ACTION_DOWNLOAD,this.startTime=NaN,this.mediaType=null,this.mediaInfo=null,this.type=null,this.duration=NaN,this.timescale=NaN,this.range=null,this.url=null,this.serviceLocation=null,this.requestStartDate=null,this.firstByteDate=null,this.requestEndDate=null,this.quality=NaN,this.index=NaN,this.availabilityStartTime=null,this.availabilityEndTime=null,this.wallStartTime=null,this.bytesLoaded=NaN,this.bytesTotal=NaN,this.delayLoadingTime=NaN,this.responseType="arraybuffer",this.representationId=null};e.ACTION_DOWNLOAD="download",e.ACTION_COMPLETE="complete",c.default=e,b.exports=c.default},{}],165:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(164),i=d(h),j=function(a){function b(a){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this),this.url=a||null,this.checkForExistenceOnly=!0}return f(b,a),b}(i.default);c.default=j,b.exports=c.default},{164:164}],166:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(b){if(d(this,a),this.offset=b._offset,this.type=b.type,this.size=b.size,this.boxes=[],b.boxes)for(var c=0;c<b.boxes.length;c++)this.boxes.push(new a(b.boxes[c]));switch(this.isComplete=!0,b.type){case"sidx":if(this.timescale=b.timescale,this.earliest_presentation_time=b.earliest_presentation_time,this.first_offset=b.first_offset,this.references=b.references,b.references){this.references=[];for(var c=0;c<b.references.length;c++){var e={reference_type:b.references[c].reference_type,referenced_size:b.references[c].referenced_size,subsegment_duration:b.references[c].subsegment_duration};this.references.push(e)}}break;case"emsg":this.id=b.id,this.value=b.value,this.timescale=b.timescale,this.scheme_id_uri=b.scheme_id_uri,this.presentation_time_delta=b.presentation_time_delta,this.event_duration=b.event_duration,this.message_data=b.message_data;break;case"mdhd":this.timescale=b.timescale;break;case"mfhd":this.sequence_number=b.sequence_number;break;case"subs":this.entry_count=b.entry_count,this.entries=b.entries;break;case"tfhd":this.base_data_offset=b.base_data_offset,this.sample_description_index=b.sample_description_index,this.default_sample_duration=b.default_sample_duration,this.default_sample_size=b.default_sample_size,this.default_sample_flags=b.default_sample_flags,this.flags=b.flags;break;case"tfdt":this.version=b.version,this.baseMediaDecodeTime=b.baseMediaDecodeTime,this.flags=b.flags;break;case"trun":if(this.sample_count=b.sample_count,this.first_sample_flags=b.first_sample_flags,this.data_offset=b.data_offset,this.flags=b.flags,this.samples=b.samples,b.samples){this.samples=[];for(var c=0,f=b.samples.length;c<f;c++){var g={sample_size:b.samples[c].sample_size,sample_duration:b.samples[c].sample_duration,sample_composition_time_offset:b.samples[c].sample_composition_time_offset};this.samples.push(g)}}}}return e(a,[{key:"getChildBox",value:function(a){for(var b=0;b<this.boxes.length;b++)if(this.boxes[b].type===a)return this.boxes[b]}},{key:"getChildBoxes",value:function(a){for(var b=[],c=0;c<this.boxes.length;c++)this.boxes[c].type===a&&b.push(this.boxes[c]);return b}}]),a}();c.default=f,b.exports=c.default},{}],167:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(b,c,e){d(this,a),this.lastCompletedOffset=b,this.found=c,this.size=e};c.default=e,b.exports=c.default},{}],168:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.DVRWindowSize=NaN,this.loadedTime=null,this.availableFrom=null,this.minBufferTime=NaN,this.duration=NaN,this.isDynamic=!1,this.maxFragmentDuration=null};c.default=e,b.exports=c.default},{}],169:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.id=null,this.index=null,this.type=null,this.streamInfo=null,this.representationCount=0,this.lang=null,this.viewpoint=null,this.accessibility=null,this.audioChannelConfiguration=null,this.roles=null,this.codec=null,this.mimeType=null,this.contentProtection=null,this.isText=!1,this.KID=null,this.bitrateList=null};c.default=e,b.exports=c.default},{}],170:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.TcpList=[],this.HttpList=[],this.RepSwitchList=[],this.BufferLevel=[],this.BufferState=[],this.PlayList=[],this.DroppedFrames=[],this.SchedulingInfo=[],this.DVRInfo=[],this.ManifestUpdate=[],this.RequestsQueue=null,this.DVBErrors=[]};c.default=e,b.exports=c.default},{}],171:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.id=null,this.quality=null,this.DVRWindow=null,this.fragmentDuration=null,this.mediaInfo=null,this.MSETimeOffset=null};c.default=e,b.exports=c.default},{}],172:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.id=null,this.index=null,this.start=NaN,this.duration=NaN,this.manifestInfo=null,this.isLast=!0};c.default=e,b.exports=c.default},{}],173:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(97),i=d(h),j=a(164),k=d(j),l=function(a){function b(a,c){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this),this.url=a||null,this.type=c||null,this.mediaType=i.default.STREAM,this.responseType=""}return f(b,a),b}(k.default);c.default=l,b.exports=c.default},{164:164,97:97}],174:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.captionData=null,this.label=null,this.lang=null,this.defaultTrack=!1,this.kind=null,this.isFragmented=!1,this.isEmbedded=!1};c.default=e,b.exports=c.default},{}],175:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.url=null,this.width=null,this.height=null,this.x=null,this.y=null};c.default=e,b.exports=c.default},{}],176:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.bitrate=0,this.width=0,this.height=0,this.tilesHor=0,this.tilesVert=0,this.widthPerTile=0,this.heightPerTile=0,this.startNumber=0,this.segmentDuration=0,this.timescale=0,this.templateUrl="",this.id=""};c.default=e,b.exports=c.default},{}],177:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.t=null,this.xywh=null,this.track=null,this.id=null,this.s=null,this.r=null};c.default=e,b.exports=c.default},{}],178:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.t=null,this.level=null};c.default=e,b.exports=c.default},{}],179:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var f=a(102),g=d(f),h=function a(){e(this,a),this.target=null,this.state=g.default.BUFFER_EMPTY};c.default=h,b.exports=c.default},{102:102}],180:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.time=null,this.range=null,this.manifestInfo=null};c.default=e,b.exports=c.default},{}],181:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.time=null,this.droppedFrames=null};c.default=e,b.exports=c.default},{}],182:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.tcpid=null,this.type=null,this.url=null,this.actualurl=null,this.range=null,this.trequest=null,this.tresponse=null,this.responsecode=null,this.interval=null,this.trace=[],this._stream=null,this._tfinish=null,this._mediaduration=null,this._responseHeaders=null,this._serviceLocation=null},f=function a(){d(this,a),this.s=null,this.d=null,this.b=[]};e.GET="GET",e.HEAD="HEAD",e.MPD_TYPE="MPD",e.XLINK_EXPANSION_TYPE="XLinkExpansion",e.INIT_SEGMENT_TYPE="InitializationSegment",e.INDEX_SEGMENT_TYPE="IndexSegment",e.MEDIA_SEGMENT_TYPE="MediaSegment",e.BITSTREAM_SWITCHING_SEGMENT_TYPE="BitstreamSwitchingSegment",e.OTHER_TYPE="other",c.HTTPRequest=e,c.HTTPRequestTrace=f},{}],183:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.mediaType=null,this.type=null,this.requestTime=null,this.fetchTime=null,this.availabilityStartTime=null,this.presentationStartTime=0,this.clientTimeOffset=0,this.currentTime=null,this.buffered=null,this.latency=0,this.streamInfo=[],this.representationInfo=[]},f=function a(){d(this,a),this.id=null,this.index=null,this.start=null,this.duration=null},g=function a(){d(this,a),this.id=null,this.index=null,this.mediaType=null,this.streamIndex=null,this.presentationTimeOffset=null,this.startNumber=null,this.fragmentInfoType=null};c.ManifestUpdate=e,c.ManifestUpdateStreamInfo=f,c.ManifestUpdateRepresentationInfo=g},{}],184:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.start=null,this.mstart=null,this.starttype=null,this.trace=[]};e.INITIAL_PLAYOUT_START_REASON="initial_playout",e.SEEK_START_REASON="seek",e.RESUME_FROM_PAUSE_START_REASON="resume",e.METRICS_COLLECTION_START_REASON="metrics_collection_start";var f=function a(){d(this,a),this.representationid=null,this.subreplevel=null,this.start=null,this.mstart=null,this.duration=null,this.playbackspeed=null,this.stopreason=null};f.REPRESENTATION_SWITCH_STOP_REASON="representation_switch",f.REBUFFERING_REASON="rebuffering",f.USER_REQUEST_STOP_REASON="user_request",f.END_OF_PERIOD_STOP_REASON="end_of_period",f.END_OF_CONTENT_STOP_REASON="end_of_content",f.METRICS_COLLECTION_STOP_REASON="metrics_collection_end",f.FAILURE_STOP_REASON="failure",c.PlayList=e,c.PlayListTrace=f},{}],185:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.t=null,this.mt=null,this.to=null,this.lto=null};c.default=e,b.exports=c.default},{}],186:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.loadingRequests=[],this.executedRequests=[]};c.default=e,b.exports=c.default},{}],187:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.mediaType=null,this.t=null,this.type=null,this.startTime=null,this.availabilityStartTime=null,this.duration=null,this.quality=null,this.range=null,this.state=null};c.default=e,b.exports=c.default},{}],188:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.tcpid=null,this.dest=null,this.topen=null,this.tclose=null,this.tconnect=null};c.default=e,b.exports=c.default},{}]},{},[4]);
29
-
30
-
31
- /*jslint browser: true, for: true */
32
- /*global dashjs, flowplayer, MediaPlayer, window */
33
-
34
- /*!
35
-
36
- DASH engine plugin for Flowplayer HTML5
37
-
38
- Copyright (c) 2015-2017, Flowplayer Drive Oy
39
-
40
- Released under the MIT License:
41
- http://www.opensource.org/licenses/mit-license.php
42
-
43
- Includes dash.js
44
- Copyright (c) 2015, Dash Industry Forum. All rights reserved.
45
- https://github.com/Dash-Industry-Forum/dash.js/blob/master/LICENSE.md
46
-
47
- Requires Flowplayer HTML5 version 6.x
48
- $GIT_DESC$
49
-
50
- */
51
- (function () {
52
- "use strict";
53
- var extension = function (dashjs, flowplayer) {
54
- var engineName = "dash",
55
- mse = window.MediaSource || window.WebKitMediaSource,
56
- UA = navigator.userAgent,
57
- common = flowplayer.common,
58
- extend = flowplayer.extend,
59
- version = flowplayer.version,
60
- coreV6 = version.indexOf("6.") === 0,
61
- dashconf,
62
- trigger_finish,
63
-
64
- dashCanPlay = function (sourceType, dashType, dashCodecs) {
65
- return sourceType.toLowerCase() === "application/dash+xml" &&
66
- mse.isTypeSupported(dashType + ';codecs="' + dashCodecs + '"') &&
67
- // Android MSE advertises he-aac, but fails
68
- (dashCodecs.indexOf("mp4a.40.5") < 0 || UA.indexOf("Android") < 0);
69
- },
70
-
71
- engineImpl = function dashjsEngine(player, root) {
72
- var bean = flowplayer.bean,
73
- support = flowplayer.support,
74
- brwsr = support.browser,
75
- desktopSafari = brwsr.safari && support.dataload, // exclude IEMobile
76
- mediaPlayer,
77
- videoTag,
78
- handleError = function (errorCode, src, url) {
79
- var errobj = {code: errorCode};
80
-
81
- if (errorCode > 2) {
82
- errobj.video = extend(player.video, {
83
- src: src,
84
- url: url || src
85
- });
86
- }
87
- return errobj;
88
- },
89
-
90
- lastSelectedQuality = -1,
91
- initQualitySelection = function (dashQualitiesConf, initialVideoQuality, data) {
92
- // multiperiod not supported
93
- var vsets = [],
94
- qualities,
95
- audioBandwidth = 0,
96
- getLevel = function (q) {
97
- return isNaN(Number(q))
98
- ? q.level
99
- : q;
100
- },
101
- setInitialVideoQuality = function (initialVideoQuality, vsets, qsel) {
102
- initialVideoQuality = Math.min(initialVideoQuality, vsets.length - 1);
103
- mediaPlayer.setAutoSwitchQualityFor("video", false);
104
- mediaPlayer.setInitialBitrateFor("video", vsets[initialVideoQuality].bandwidth / 1000);
105
- if (qsel) {
106
- player.video.quality = -1;
107
- }
108
- player.one("progress." + engineName, function () {
109
- mediaPlayer.setAutoSwitchQualityFor("video", true);
110
- });
111
- },
112
- qselConf = dashQualitiesConf && support.inlineVideo &&
113
- data.Period_asArray.length === 1 &&
114
- (!desktopSafari || (desktopSafari && dashconf.qualitiesForSafari));
115
-
116
- if (!qselConf && initialVideoQuality < 0) {
117
- return;
118
- }
119
-
120
- data.Period_asArray[0].AdaptationSet_asArray.forEach(function (aset) {
121
- var representations = aset.Representation_asArray,
122
- mimeType = aset.mimeType || representations[0].mimeType;
123
-
124
- if (mimeType.indexOf("video/") === 0) {
125
- vsets = vsets.concat(representations.filter(function (repr) {
126
- var codecs = (repr.mimeType || mimeType) + ";codecs=" + repr.codecs;
127
-
128
- return mse.isTypeSupported(codecs);
129
- }));
130
- } else if (mimeType.indexOf("audio/") === 0 && !audioBandwidth) {
131
- // too simple: audio tracks may have different bitrates
132
- audioBandwidth = representations[0].bandwidth;
133
- }
134
- });
135
- if (vsets.length < 2) {
136
- return;
137
- }
138
-
139
- vsets.sort(function (a, b) {
140
- return a.bandwidth - b.bandwidth;
141
- });
142
-
143
- if( localStorage.FVPlayerDashQuality ) {
144
- Object.keys(vsets).forEach(function (key) { // loop through the qualities and pick what's best match
145
- if( player.conf.dash && player.conf.dash.initialVideoQuality == 'restore' && localStorage.FVPlayerDashQuality <= vsets[key].height ) {
146
- initialVideoQuality = player.conf.dash.initialVideoQuality = key;
147
- console.log('restoring quality '+localStorage.FVPlayerDashQuality+' => '+key);
148
- }
149
- });
150
- if( player.conf.dash.initialVideoQuality == 'restore' ) initialVideoQuality = player.conf.dash.initialVideoQuality = vsets.length - 1; // if nothing has been found, pick the biggest
151
- }
152
-
153
- if (!qselConf) {
154
- setInitialVideoQuality(initialVideoQuality, vsets);
155
- return;
156
- }
157
-
158
- switch (typeof dashQualitiesConf) {
159
- case "object":
160
- qualities = dashQualitiesConf.map(getLevel);
161
- break;
162
- case "string":
163
- qualities = dashQualitiesConf.split(/\s*,\s*/).map(Number);
164
- break;
165
- default:
166
- qualities = vsets.map(function (_repr, i) {
167
- return i;
168
- });
169
- qualities.unshift(-1);
170
- }
171
- qualities = qualities.filter(function (q) {
172
- return q < vsets.length && q > -2;
173
- });
174
-
175
- if (qualities.length < 2) {
176
- return;
177
- }
178
-
179
- player.video.qualities = qualities.map(function (idx) {
180
- var level = vsets[idx],
181
- q = typeof dashQualitiesConf === "object"
182
- ? dashQualitiesConf.filter(function (q) {
183
- return getLevel(q) === idx;
184
- })[0]
185
- : idx,
186
- label = q.label || (idx < 0
187
- ? "Auto"
188
- : Math.min(level.width, level.height) + "p " +
189
- "(" + Math.round((level.bandwidth + audioBandwidth) / 1000) + "k)");
190
-
191
- return {value: idx, label: label};
192
- });
193
-
194
- if (lastSelectedQuality < 0 && initialVideoQuality > -1) {
195
- setInitialVideoQuality(initialVideoQuality, vsets, true);
196
- } else if (qualities.indexOf(lastSelectedQuality) > -1) {
197
- mediaPlayer.setAutoSwitchQualityFor("video", lastSelectedQuality < 0);
198
- if (lastSelectedQuality > -1) {
199
- mediaPlayer.setInitialBitrateFor("video", vsets[lastSelectedQuality].bandwidth / 1000);
200
- }
201
- player.video.quality = lastSelectedQuality;
202
- } else {
203
- player.video.quality = -1;
204
- }
205
- },
206
- keySystem,
207
-
208
- bc,
209
- has_bg,
210
-
211
- engine = {
212
- engineName: engineName,
213
-
214
- pick: function (sources) {
215
- var source = sources.filter(function (s) {
216
- var dashType = s.dashType || dashconf.type,
217
- dashCodecs = s.dashCodecs || dashconf.codecs;
218
-
219
- return dashCanPlay(s.type, dashType, dashCodecs);
220
- })[0];
221
-
222
- if (typeof source.src === 'string') {
223
- source.src = common.createAbsoluteUrl(source.src);
224
- }
225
- return source;
226
- },
227
-
228
- load: function (video) {
229
- var conf = player.conf,
230
- dashUpdatedConf = extend(dashconf, conf.dash, video.dash),
231
- dashQualitiesConf = video.dashQualities || conf.dashQualities,
232
- EVENTS = {
233
- ended: "finish",
234
- loadeddata: "ready",
235
- pause: "pause",
236
- play: "resume",
237
- progress: "buffer",
238
- ratechange: "speed",
239
- seeked: "seek",
240
- timeupdate: "progress",
241
- volumechange: "volume",
242
- error: "error",
243
- waiting: "waiting"
244
- },
245
- DASHEVENTS = dashjs.MediaPlayer.events,
246
- protection = video.dash && video.dash.protection,
247
- autoplay = !!video.autoplay || !!conf.autoplay || !!conf.splash,
248
- posterClass = "is-poster",
249
- livestartpos = 0;
250
-
251
- if (video.dashQualities === false || coreV6) {
252
- dashQualitiesConf = false;
253
- } else if (dashQualitiesConf === undefined) {
254
- dashQualitiesConf = true;
255
- }
256
-
257
- if (!mediaPlayer) {
258
- videoTag = common.findDirect("video", root)[0]
259
- || common.find(".fp-player > video", root)[0];
260
-
261
- if (videoTag) {
262
- // destroy video tag
263
- // otherwise <video autoplay> continues to play
264
- common.find("source", videoTag).forEach(function (source) {
265
- source.removeAttribute("src");
266
- });
267
- videoTag.removeAttribute("src");
268
- videoTag.load();
269
- common.removeNode(videoTag);
270
- }
271
-
272
- // dash.js enforces preload="auto" and
273
- // autoplay depending on initialization
274
- // so setting the attributes here will have no effect
275
- videoTag = common.createElement("video", {
276
- "class": "fp-engine " + engineName + "-engine"
277
- });
278
- if (support.mutedAutoplay && !conf.splash && autoplay) {
279
- videoTag.muted = true;
280
- }
281
-
282
- Object.keys(EVENTS).forEach(function (key) {
283
- var flow = EVENTS[key],
284
- type = key + "." + engineName,
285
- arg;
286
-
287
- bean.on(videoTag, type, function (e) {
288
- if (conf.debug && flow.indexOf("progress") < 0) {
289
- console.log(type, "->", flow, e.originalEvent);
290
- }
291
-
292
- var vct = videoTag.currentTime,
293
- ct = (mediaPlayer.time && mediaPlayer.time()) || vct,
294
- dur = mediaPlayer.duration(),
295
- buffered = videoTag.buffered,
296
- buffends = [],
297
- i,
298
- updatedVideo = player.video,
299
- src = updatedVideo.src,
300
- errorCode;
301
-
302
- switch (flow) {
303
- case "ready":
304
- arg = extend(updatedVideo, {
305
- duration: dur,
306
- seekable: dur,
307
- width: videoTag.videoWidth,
308
- height: videoTag.videoHeight,
309
- url: src
310
- });
311
- break;
312
- case "resume":
313
- if (coreV6 && player.poster) {
314
- common.removeClass(root, posterClass);
315
- player.poster = false;
316
- }
317
- break;
318
- case "seek":
319
- arg = ct;
320
- break;
321
- case "progress":
322
- if (player.live && !player.dvr) {
323
- if (!livestartpos && vct) {
324
- livestartpos = vct;
325
- }
326
- arg = vct - livestartpos;
327
- } else {
328
- arg = ct;
329
- }
330
- break;
331
- case "speed":
332
- // dash.js often triggers playback rate changes
333
- // when adapting bit rate
334
- // except when in debug mode, only
335
- // trigger explicit events via speed method
336
- if (!dashUpdatedConf.debug) {
337
- e.preventDefault();
338
- return;
339
- }
340
- arg = videoTag.playbackRate;
341
- break;
342
- case "volume":
343
- arg = videoTag.volume;
344
- break;
345
- case "buffer":
346
- for (i = 0; i < buffered.length; i += 1) {
347
- buffends.push(buffered.end(i));
348
- }
349
- arg = buffends.filter(function (b) {
350
- return b >= ct;
351
- }).sort()[0];
352
- updatedVideo.buffer = arg;
353
- break;
354
- case "error":
355
- errorCode = videoTag.error && videoTag.error.code;
356
- arg = handleError(errorCode, src);
357
- break;
358
- case "waiting":
359
- if( videoTag.currentTime > videoTag.duration - 0.5 ) { // if you get this event at the end of video, it means Dash JS has stalled, probably because of shorter last segment duration. The video should end.
360
- console.log('FV Player DASH: Triggering video end!');
361
- player.trigger('finish', [player]);
362
- }
363
- break;
364
- }
365
-
366
- player.trigger(flow, [player, arg]);
367
- });
368
- });
369
-
370
- player.on("error." + engineName, function () {
371
- if (mediaPlayer) {
372
- player.engine.unload();
373
- }
374
- });
375
-
376
- if (!coreV6) {
377
- player.on("quality." + engineName, function (_e, _api, q) {
378
- mediaPlayer.setAutoSwitchQualityFor("video", q < 0);
379
- if (q > -1) {
380
- mediaPlayer.setLimitBitrateByPortal(false);
381
- mediaPlayer.setUsePixelRatioInLimitBitrateByPortal(false);
382
- mediaPlayer.setQualityFor("video", q);
383
- } else {
384
- mediaPlayer.setLimitBitrateByPortal(true);
385
- mediaPlayer.setUsePixelRatioInLimitBitrateByPortal(true);
386
- }
387
- lastSelectedQuality = q;
388
- });
389
-
390
- } else if (conf.poster) {
391
- var posterHack = function (e) {
392
- if (e.type === "stop" || !autoplay) {
393
- setTimeout(function () {
394
- if (!player.poster) {
395
- common.addClass(root, posterClass);
396
- player.poster = true;
397
- }
398
- });
399
- }
400
- };
401
-
402
- player.one("ready." + engineName, posterHack).on("stop." + engineName, posterHack);
403
- }
404
-
405
- common.prepend(common.find(".fp-player", root)[0], videoTag);
406
-
407
- } else {
408
- mediaPlayer.reset();
409
- }
410
-
411
- mediaPlayer = dashjs.MediaPlayer().create();
412
- player.engine[engineName] = mediaPlayer;
413
-
414
- if (protection) {
415
- mediaPlayer.setProtectionData(protection);
416
- mediaPlayer.on(dashjs.Protection.events.KEY_SYSTEM_SELECTED, function (e) {
417
- keySystem = e.data.keySystem.systemString;
418
- });
419
- }
420
- // caching can cause failures in playlists
421
- // for the moment disable entirely
422
- mediaPlayer.enableLastBitrateCaching(false);
423
- // for seeking in paused state
424
- mediaPlayer.setScheduleWhilePaused(true);
425
- mediaPlayer.setFastSwitchEnabled(UA.indexOf("Trident/7") < 0);
426
- mediaPlayer.getDebug().setLogToBrowserConsole(dashUpdatedConf.debug);
427
- // live
428
- if (typeof dashUpdatedConf.liveDelay === "number") {
429
- mediaPlayer.setLiveDelay(dashUpdatedConf.liveDelay);
430
- }
431
- if (typeof dashUpdatedConf.liveDelayFragmentCount === "number") {
432
- mediaPlayer.setLiveDelayFragmentCount(dashUpdatedConf.liveDelayFragmentCount);
433
- }
434
- mediaPlayer.useSuggestedPresentationDelay(dashUpdatedConf.useSuggestedPresentationDelay);
435
-
436
- if (dashUpdatedConf.xhrWithCredentials && dashUpdatedConf.xhrWithCredentials.length) {
437
- dashUpdatedConf.xhrWithCredentials.forEach(function (requestType) {
438
- mediaPlayer.setXHRWithCredentialsForType(requestType, true);
439
- });
440
- }
441
-
442
- Object.keys(DASHEVENTS).forEach(function (key) {
443
- var etype = DASHEVENTS[key],
444
- fpEventType = engineName + etype.charAt(0).toUpperCase() + etype.slice(1),
445
- listeners = dashUpdatedConf.listeners,
446
- expose = listeners && listeners.indexOf(fpEventType) > -1;
447
-
448
- mediaPlayer.on(etype, function (e) {
449
- var src = player.video.src,
450
- videoDashConf = player.video.dash,
451
- loadingClass = "is-loading",
452
- errors = player.conf.errors,
453
- protectionError = "None of the protection key systems supported. Try a different browser.",
454
- fperr,
455
- errobj;
456
-
457
- switch (key) {
458
- case "MANIFEST_LOADED":
459
- if (brwsr.chrome && videoDashConf && videoDashConf.protectionLevel) {
460
- mediaPlayer.getProtectionController().setRobustnessLevel(videoDashConf.protectionLevel);
461
- }
462
- initQualitySelection(dashQualitiesConf,
463
- dashUpdatedConf.initialVideoQuality, e.data);
464
- break;
465
- case "CAN_PLAY":
466
- if (desktopSafari && autoplay) {
467
- // hack to avoid "heaving" in Safari
468
- // at least in splash setups and playlist transitions
469
- common.addClass(root, loadingClass);
470
- bean.one(videoTag, "timeupdate." + engineName, function () {
471
- setTimeout(function () {
472
- common.removeClass(root, loadingClass);
473
- });
474
- });
475
- }
476
- break;
477
- case "BUFFER_LEVEL_STATE_CHANGED":
478
- common.toggleClass(root, "is-seeking", e.state === "bufferStalled");
479
- break;
480
- case "PLAYBACK_NOT_ALLOWED":
481
- if (!conf.mutedAutoplay) throw new Error('Unable to autoplay');
482
- player.debug('Play errored, trying muted', e);
483
- player.mute(true, true);
484
- player.play();
485
- break;
486
- case "ERROR":
487
- switch (e.error) {
488
- case "capability":
489
- if (e.event === "encryptedmedia" && protection && !keySystem) {
490
- errors.push(protectionError);
491
- fperr = errors.length - 1;
492
- } else {
493
- fperr = 5;
494
- }
495
- break;
496
- case "download":
497
- fperr = 4;
498
- break;
499
- case "manifestError":
500
- fperr = 5;
501
- break;
502
- case "mediasource":
503
- switch (e.event) {
504
- case "MEDIA_ERR_DECODE":
505
- fperr = 3;
506
- break;
507
- case "MEDIA_ERR_SRC_NOT_SUPPORTED":
508
- fperr = 5;
509
- break;
510
- case "MEDIA_ERR_NETWORK":
511
- fperr = 2;
512
- break;
513
- case "MEDIA_ERR_ABORTED":
514
- fperr = 1;
515
- break;
516
- }
517
- break;
518
- default:
519
- fperr = 5;
520
- }
521
- errobj = handleError(fperr, src, e.event.url);
522
- player.trigger('error', [player, errobj]);
523
- break;
524
- }
525
-
526
- if (expose) {
527
- player.trigger(fpEventType, [player, e]);
528
- }
529
- });
530
- });
531
-
532
- keySystem = null;
533
-
534
- // update video object before ready
535
- player.video = video;
536
- if( parseFloat(dashjs.Version) >= 2.6 && video.manifest ) {
537
- mediaPlayer.initialize(videoTag,false,autoplay);
538
-
539
- var XlinkController = dashjs.FactoryMaker.getClassFactory({ '__dashjs_factory_name': 'XlinkController' });
540
- var xlink = XlinkController({}).create({ errHandler: function(e,f,g,h) {console.log('FV Player XlinkController error',e,f,g,h)} });
541
-
542
- var DashParserFactory = dashjs.FactoryMaker.getClassFactory({ '__dashjs_factory_name': 'DashParser' });
543
- var mpdParser = DashParserFactory({}).create( {errorHandler: { manifestError: function(e,f,g,h) {console.log('FV Player DashParser error',e,h)} } } );
544
- var manifest = mpdParser.parse(video.manifest,xlink);
545
- manifest.loadedTime = new Date;
546
- mediaPlayer.attachSource(manifest);
547
-
548
- } else {
549
- mediaPlayer.initialize(videoTag, video.src, autoplay);
550
- }
551
-
552
- if( !player.conf.dash || !player.conf.dash.initialVideoQuality || player.conf.dash.initialVideoQuality == -1 ) { // only limit ABR if the quality has not been picked by user previously
553
- mediaPlayer.setLimitBitrateByPortal(true);
554
- mediaPlayer.setUsePixelRatioInLimitBitrateByPortal(true);
555
- }
556
-
557
- if (!support.firstframe && support.dataload && !brwsr.mozilla &&
558
- autoplay && videoTag.paused) {
559
- videoTag.load();
560
- }
561
- },
562
-
563
- resume: function () {
564
- mediaPlayer.play();
565
- },
566
-
567
- pause: function () {
568
- mediaPlayer.pause();
569
- },
570
-
571
- seek: function (time) {
572
- mediaPlayer.seek(time);
573
- },
574
-
575
- volume: function (level) {
576
- if (videoTag) {
577
- videoTag.volume = level;
578
- if (level) player.mute(false);
579
- }
580
- },
581
-
582
- mute: function (flag) {
583
- if (videoTag) {
584
- videoTag.muted = !!flag;
585
- if( !!flag ) videoTag.volume = 0;
586
- }
587
- },
588
-
589
- speed: function (val) {
590
- videoTag.playbackRate = val;
591
- // see ratechange/speed event
592
- player.trigger('speed', [player, val]);
593
- },
594
-
595
- unload: function () {
596
- if (mediaPlayer) {
597
- var listeners = "." + engineName;
598
-
599
- mediaPlayer.reset();
600
- mediaPlayer = 0;
601
- player.off(listeners);
602
- bean.off(root, listeners);
603
- bean.off(videoTag, listeners);
604
- common.removeNode(videoTag);
605
- videoTag = 0;
606
- }
607
- }
608
- };
609
-
610
- // pre 6.0.4: no boolean api.conf.poster and no poster with autoplay
611
- if (/^6\.0\.[0-3]$/.test(version) &&
612
- !player.conf.splash && !player.conf.poster && !player.conf.autoplay) {
613
- bc = common.css(root, 'backgroundColor');
614
- // spaces in rgba arg mandatory for recognition
615
- has_bg = common.css(root, 'backgroundImage') !== "none" ||
616
- (bc && bc !== "rgba(0, 0, 0, 0)" && bc !== "transparent");
617
- if (has_bg) {
618
- player.conf.poster = true;
619
- }
620
- }
621
-
622
- return engine;
623
- };
624
-
625
- if (mse && typeof mse.isTypeSupported === "function" && version.indexOf("5.") !== 0) {
626
- // only load engine if it can be used
627
- engineImpl.engineName = engineName; // must be exposed
628
- engineImpl.canPlay = function (type, conf) {
629
- /*
630
- WARNING: MediaSource.isTypeSupported very inconsistent!
631
- e.g. Safari ignores codecs entirely, even bogus, like codecs="XYZ"
632
- example avc3 main level 3.1 + aac_he: avc3.4d401f; mp4a.40.5
633
- example avc1 high level 4.1 + aac_lc: avc1.640029; mp4a.40.2
634
- default: avc1 baseline level 3.0 + aac_lc
635
- */
636
- // inject dash conf at earliest opportunity
637
- dashconf = extend({
638
- type: "video/mp4",
639
- codecs: "avc1.42c01e,mp4a.40.2",
640
- initialVideoQuality: -1,
641
- qualitiesForSafari: true
642
- }, conf[engineName], conf.clip[engineName]);
643
-
644
- return dashCanPlay(type, dashconf.type, dashconf.codecs);
645
- };
646
-
647
- // put on top of engine stack
648
- // so mpegedash is tested before html5
649
- flowplayer.engines.unshift(engineImpl);
650
-
651
- }
652
-
653
- };
654
- if (typeof module === 'object' && module.exports) {
655
- module.exports = extension.bind(undefined, require('dashjs'));
656
- } else if (window.dashjs && window.flowplayer) {
657
- extension(window.dashjs, window.flowplayer);
658
- }
659
- }());
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
flowplayer-beta/flowplayer.swf DELETED
Binary file
flowplayer-beta/flowplayerhls.swf DELETED
Binary file
flowplayer-beta/fv-flowplayer.min.js DELETED
@@ -1,2678 +0,0 @@
1
- /*!
2
-
3
- Flowplayer Unlimited v7.2.6 (2018-04-17) | flowplayer.com/license
4
-
5
- */
6
- !function(e){function t(e,t,n,r){for(var o,a=n.slice(),s=i(t,e),l=0,u=a.length;u>l&&(handler=a[l],"object"==typeof handler&&"function"==typeof handler.handleEvent?handler.handleEvent(s):handler.call(e,s),!s.stoppedImmediatePropagation);l++);return o=!s.stoppedPropagation,r&&o&&e.parentNode?e.parentNode.dispatchEvent(s):!s.defaultPrevented}function n(e,t){return{configurable:!0,get:e,set:t}}function r(e,t,r){var i=y(t||e,r);m(e,"textContent",n(function(){return i.get.call(this)},function(e){i.set.call(this,e)}))}function i(e,t){return e.currentTarget=t,e.eventPhase=e.target===e.currentTarget?2:3,e}function o(e,t){for(var n=e.length;n--&&e[n]!==t;);return n}function a(){if("BR"===this.tagName)return"\n";for(var e=this.firstChild,t=[];e;)8!==e.nodeType&&7!==e.nodeType&&t.push(e.textContent),e=e.nextSibling;return t.join("")}function s(e){!f&&C.test(document.readyState)&&(f=!f,document.detachEvent(d,s),e=document.createEvent("Event"),e.initEvent(p,!0,!0),document.dispatchEvent(e))}function l(e){for(var t;t=this.lastChild;)this.removeChild(t);null!=e&&this.appendChild(document.createTextNode(e))}function u(t,n){return n||(n=e.event),n.target||(n.target=n.srcElement||n.fromElement||document),n.timeStamp||(n.timeStamp=(new Date).getTime()),n}if(!document.createEvent){var c=!0,f=!1,d="onreadystatechange",p="DOMContentLoaded",h="__IE8__"+Math.random(),g=e.Object,m=g.defineProperty||function(e,t,n){e[t]=n.value},v=g.defineProperties||function(t,n){for(var r in n)if(w.call(n,r))try{m(t,r,n[r])}catch(i){e.console&&console.log(r+" failed on object:",t,i.message)}},y=g.getOwnPropertyDescriptor,w=g.prototype.hasOwnProperty,b=e.Element.prototype,I=e.Text.prototype,M=/^[a-z]+$/,C=/loaded|complete/,A={},S=document.createElement("div");r(e.HTMLCommentElement.prototype,b,"nodeValue"),r(e.HTMLScriptElement.prototype,null,"text"),r(I,null,"nodeValue"),r(e.HTMLTitleElement.prototype,null,"text"),m(e.HTMLStyleElement.prototype,"textContent",function(e){return n(function(){return e.get.call(this.styleSheet)},function(t){e.set.call(this.styleSheet,t)})}(y(e.CSSStyleSheet.prototype,"cssText"))),v(b,{textContent:{get:a,set:l},firstElementChild:{get:function(){for(var e=this.childNodes||[],t=0,n=e.length;n>t;t++)if(1==e[t].nodeType)return e[t]}},lastElementChild:{get:function(){for(var e=this.childNodes||[],t=e.length;t--;)if(1==e[t].nodeType)return e[t]}},previousElementSibling:{get:function(){for(var e=this.previousSibling;e&&1!=e.nodeType;)e=e.previousSibling;return e}},nextElementSibling:{get:function(){for(var e=this.nextSibling;e&&1!=e.nodeType;)e=e.nextSibling;return e}},childElementCount:{get:function(){for(var e=0,t=this.childNodes||[],n=t.length;n--;e+=1==t[n].nodeType);return e}},addEventListener:{value:function(e,n,r){var i,a=this,s="on"+e,l=a[h]||m(a,h,{value:{}})[h],c=l[s]||(l[s]={}),f=c.h||(c.h=[]);if(!w.call(c,"w")){if(c.w=function(e){return e[h]||t(a,u(a,e),f,!1)},!w.call(A,s))if(M.test(e))try{i=document.createEventObject(),i[h]=!0,9!=a.nodeType&&null==a.parentNode&&S.appendChild(a),a.fireEvent(s,i),A[s]=!0}catch(i){for(A[s]=!1;S.hasChildNodes();)S.removeChild(S.firstChild)}else A[s]=!1;(c.n=A[s])&&a.attachEvent(s,c.w)}o(f,n)<0&&f[r?"unshift":"push"](n)}},dispatchEvent:{value:function(e){var n,r=this,i="on"+e.type,o=r[h],a=o&&o[i],s=!!a;return e.target||(e.target=r),s?a.n?r.fireEvent(i,e):t(r,e,a.h,!0):(n=r.parentNode)?n.dispatchEvent(e):!0,!e.defaultPrevented}},removeEventListener:{value:function(e,t,n){var r=this,i="on"+e,a=r[h],s=a&&a[i],l=s&&s.h,u=l?o(l,t):-1;u>-1&&l.splice(u,1)}}}),v(I,{addEventListener:{value:b.addEventListener},dispatchEvent:{value:b.dispatchEvent},removeEventListener:{value:b.removeEventListener}}),v(e.XMLHttpRequest.prototype,{addEventListener:{value:function(e,t,n){var r=this,i="on"+e,a=r[h]||m(r,h,{value:{}})[h],s=a[i]||(a[i]={}),l=s.h||(s.h=[]);o(l,t)<0&&(r[i]||(r[i]=function(){var t=document.createEvent("Event");t.initEvent(e,!0,!0),r.dispatchEvent(t)}),l[n?"unshift":"push"](t))}},dispatchEvent:{value:function(e){var n=this,r="on"+e.type,i=n[h],o=i&&i[r],a=!!o;return a&&(o.n?n.fireEvent(r,e):t(n,e,o.h,!0))}},removeEventListener:{value:b.removeEventListener}}),v(e.Event.prototype,{bubbles:{value:!0,writable:!0},cancelable:{value:!0,writable:!0},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0,this.returnValue=!1)}},stopPropagation:{value:function(){this.stoppedPropagation=!0,this.cancelBubble=!0}},stopImmediatePropagation:{value:function(){this.stoppedImmediatePropagation=!0,this.stopPropagation()}},initEvent:{value:function(e,t,n){this.type=e,this.bubbles=!!t,this.cancelable=!!n,this.bubbles||this.stopPropagation()}}}),v(e.HTMLDocument.prototype,{textContent:{get:function(){return 11===this.nodeType?a.call(this):null},set:function(e){11===this.nodeType&&l.call(this,e)}},addEventListener:{value:function(t,n,r){var i=this;b.addEventListener.call(i,t,n,r),c&&t===p&&!C.test(i.readyState)&&(c=!1,i.attachEvent(d,s),e==top&&function o(e){try{i.documentElement.doScroll("left"),s()}catch(t){setTimeout(o,50)}}())}},dispatchEvent:{value:b.dispatchEvent},removeEventListener:{value:b.removeEventListener},createEvent:{value:function(e){var t;if("Event"!==e)throw new Error("unsupported "+e);return t=document.createEventObject(),t.timeStamp=(new Date).getTime(),t}}}),v(e.Window.prototype,{getComputedStyle:{value:function(){function e(e){this._=e}function t(){}var n=/^(?:[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/,r=/^(top|right|bottom|left)$/,i=/\-([a-z])/g,o=function(e,t){return t.toUpperCase()};return e.prototype.getPropertyValue=function(e){var t,a,s,l=this._,u=l.style,c=l.currentStyle,f=l.runtimeStyle;return e=("float"===e?"style-float":e).replace(i,o),t=c?c[e]:u[e],n.test(t)&&!r.test(e)&&(a=u.left,s=f&&f.left,s&&(f.left=c.left),u.left="fontSize"===e?"1em":t,t=u.pixelLeft+"px",u.left=a,s&&(f.left=s)),null==t?t:t+""||"auto"},t.prototype.getPropertyValue=function(){return null},function(n,r){return r?new t(n):new e(n)}}()},addEventListener:{value:function(n,r,i){var a,s=e,l="on"+n;s[l]||(s[l]=function(e){return t(s,u(s,e),a,!1)}),a=s[l][h]||(s[l][h]=[]),o(a,r)<0&&a[i?"unshift":"push"](r)}},dispatchEvent:{value:function(t){var n=e["on"+t.type];return n?n.call(e,t)!==!1&&!t.defaultPrevented:!0}},removeEventListener:{value:function(t,n,r){var i="on"+t,a=(e[i]||g)[h],s=a?o(a,n):-1;s>-1&&a.splice(s,1)}}})}}(this),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.flowplayer=e()}}(function(){var e;return function(){function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n||e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}return e}()({1:[function(e,t,n){"use strict";var r=t.exports={},i=e("class-list"),o=window.jQuery,a=e("punycode"),s=e("computed-style");r.noop=function(){},r.identity=function(e){return e},r.removeNode=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},r.find=function(e,t){return o?o(e,t).toArray():(t=t||document,Array.prototype.map.call(t.querySelectorAll(e),function(e){return e}))},r.text=function(e,t){e["innerText"in e?"innerText":"textContent"]=t},r.findDirect=function(e,t){return r.find(e,t).filter(function(e){return e.parentNode===t})},r.hasClass=function(e,t){return"string"!=typeof e.className?!1:i(e).contains(t)},r.isSameDomain=function(e){var t=window.location,n=r.createElement("a",{href:e});return t.hostname===n.hostname&&t.protocol===n.protocol&&t.port===n.port},r.css=function(e,t,n){return"object"==typeof t?Object.keys(t).forEach(function(n){r.css(e,n,t[n])}):"undefined"!=typeof n?""===n?e?e.style.removeProperty(t):void 0:e?e.style.setProperty(t,n):void 0:e?s(e,t):void 0},r.createElement=function(e,t,n){try{var i=document.createElement(e);for(var a in t)t.hasOwnProperty(a)&&("css"===a?r.css(i,t[a]):r.attr(i,a,t[a]));return n&&(i.innerHTML=n),i}catch(s){if(!o)throw s;return o("<"+e+">"+n+"</"+e+">").attr(t)[0]}},r.toggleClass=function(e,t,n){if(e){var r=i(e);"undefined"==typeof n?r.toggle(t):n?r.add(t):n||r.remove(t)}},r.addClass=function(e,t){return r.toggleClass(e,t,!0)},r.removeClass=function(e,t){return r.toggleClass(e,t,!1)},r.append=function(e,t){return e.appendChild(t),e},r.appendTo=function(e,t){return r.append(t,e),e},r.prepend=function(e,t){e.insertBefore(t,e.firstChild)},r.insertAfter=function(e,t,n){t==r.lastChild(e)&&e.appendChild(n);var i=Array.prototype.indexOf.call(e.children,t);e.insertBefore(n,e.children[i+1])},r.html=function(e,t){e=e.length?e:[e],e.forEach(function(e){e.innerHTML=t})},r.attr=function(e,t,n){if("class"===t&&(t="className"),r.hasOwnOrPrototypeProperty(e,t))try{e[t]=n}catch(i){if(!o)throw i;o(e).attr(t,n)}else n===!1?e.removeAttribute(t):e.setAttribute(t,n);return e},r.prop=function(e,t,n){return"undefined"==typeof n?e&&e[t]:void(e[t]=n)},r.offset=function(e){var t=e.getBoundingClientRect();return e.offsetWidth/e.offsetHeight>e.clientWidth/e.clientHeight&&(t={left:100*t.left,right:100*t.right,top:100*t.top,bottom:100*t.bottom,width:100*t.width,height:100*t.height}),t},r.width=function(e,t){if(t)return e.style.width=(""+t).replace(/px$/,"")+"px";var n=r.offset(e).width;return"undefined"==typeof n?e.offsetWidth:n},r.height=function(e,t){if(t)return e.style.height=(""+t).replace(/px$/,"")+"px";var n=r.offset(e).height;return"undefined"==typeof n?e.offsetHeight:n},r.lastChild=function(e){return e.children[e.children.length-1]},r.hasParent=function(e,t){for(var n=e.parentElement;n;){if("string"!=typeof t){if(n===t)return!0}else if(r.matches(n,t))return!0;n=n.parentElement}return!1},r.createAbsoluteUrl=function(e){return r.createElement("a",{href:e}).href},r.xhrGet=function(e,t,n){var r=new XMLHttpRequest;r.onreadystatechange=function(){return 4===this.readyState?this.status>=400?n():void t(this.responseText):void 0},r.open("get",e,!0),r.send()},r.pick=function(e,t){var n={};return t.forEach(function(t){e.hasOwnProperty(t)&&(n[t]=e[t])}),n},r.hostname=function(e){return a.toUnicode(e||window.location.hostname)},r.browser={webkit:"WebkitAppearance"in document.documentElement.style},r.getPrototype=function(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__},r.hasOwnOrPrototypeProperty=function(e,t){for(var n=e;n;){if(Object.prototype.hasOwnProperty.call(n,t))return!0;n=r.getPrototype(n)}return!1},r.matches=function(e,t){var n=Element.prototype,r=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=this,n=(t.document||t.ownerDocument).querySelectorAll(e),r=0;n[r]&&n[r]!==t;)r++;return n[r]?!0:!1};return r.call(e,t)},function(e){function t(e){return e.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()})}"undefined"!=typeof e.setAttribute&&(e.setProperty=function(e,n){return this.setAttribute(t(e),String(n))},e.getPropertyValue=function(e){return this.getAttribute(t(e))||null},e.removeProperty=function(e){var n=this.getPropertyValue(e);return this.removeAttribute(t(e)),n})}(window.CSSStyleDeclaration.prototype)},{"class-list":36,"computed-style":37,punycode:44}],2:[function(e,t,n){"use strict";var r=e("../common");t.exports=function(e,t,n,i){n=n||"opaque";var o="obj"+(""+Math.random()).slice(2,15),a='<object class="fp-engine" id="'+o+'" name="'+o+'" ',s=navigator.userAgent.indexOf("MSIE")>-1;a+=s?'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">':' data="'+e+'" type="application/x-shockwave-flash">';var l={width:"100%",height:"100%",allowscriptaccess:"always",wmode:n,quality:"high",flashvars:"",movie:e+(s?"?"+o:""),name:o};"transparent"!==n&&(l.bgcolor=i||"#333333"),Object.keys(t).forEach(function(e){l.flashvars+=e+"="+t[e]+"&"}),Object.keys(l).forEach(function(e){a+='<param name="'+e+'" value="'+l[e]+'"/>'}),a+="</object>";var u=r.createElement("div",{},a);return r.find("object",u)},window.attachEvent&&window.attachEvent("onbeforeunload",function(){window.__flash_savedUnloadHandler=window.__flash_unloadHandler=function(){}})},{"../common":1}],3:[function(e,t,n){"use strict";function r(e){return/^https?:/.test(e)}var i,o=e("../flowplayer"),a=e("../common"),s=e("./embed"),l=e("extend-object"),u=e("bean");i=function(e,t){function n(e){function t(e){return("0"+parseInt(e).toString(16)).slice(-2)}return(e=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))?"#"+t(e[1])+t(e[2])+t(e[3]):void 0}function c(e){if(7===e.length)return e;var t=e.split("").slice(1);return"#"+t.map(function(e){return e+e}).join("")}function f(e){return/application\/x-mpegurl/i.test(e.type)}var d,p,h,g,m=e.conf,v=[],y={engineName:i.engineName,pick:function(t){var n=l({},function(){if(o.support.flashVideo){for(var n,r,i=0;i<t.length;i++)if(r=t[i],/mp4|flv|flash/i.test(r.type)&&(n=r),e.conf.swfHls&&/mpegurl/i.test(r.type)&&(n=r),n&&!/mp4/i.test(n.type))return n;return n}}());if(n)return!n.src||r(n.src)||e.conf.rtmp||n.rtmp||(n.src=a.createAbsoluteUrl(n.src)),n},suspendEngine:function(){g=!0},resumeEngine:function(){g=!1},load:function(i){function w(e){return e.replace(/&amp;/g,"%26").replace(/&/g,"%26").replace(/=/g,"%3D")}d=i,v.forEach(function(e){clearTimeout(e)});var b=a.findDirect("video",t)[0]||a.find(".fp-player > video",t)[0],I=i.src,M=r(I),C=function(){a.removeNode(b)},A=function(e){return e.some(function(e){return!!b.canPlayType(e.type)})};o.support.video&&a.prop(b,"autoplay")&&A(i.sources)?u.one(b,"timeupdate",C):C();var S=i.rtmp||m.rtmp;if(M||S||(I=a.createAbsoluteUrl(I)),h&&f(i)&&h.data!==a.createAbsoluteUrl(m.swfHls)&&y.unload(),h){["live","preload","loop"].forEach(function(e){i.hasOwnProperty(e)&&h.__set(e,i[e])}),Object.keys(i.flashls||{}).forEach(function(e){h.__set("hls_"+e,i.flashls[e])});var E=!1;if(!M&&S)h.__set("rtmp",S.url||S);else{var j=h.__get("rtmp");E=!!j,h.__set("rtmp",null)}h.__play(I,E||i.rtmp&&i.rtmp!==m.rtmp)}else{p="fpCallback"+(""+Math.random()).slice(3,15),I=w(I);var D={hostname:m.embedded?a.hostname(m.hostname):a.hostname(location.hostname),url:I,callback:p};t.getAttribute("data-origin")&&(D.origin=t.getAttribute("data-origin")),["proxy","key","autoplay","preload","subscribe","live","loop","debug","splash","poster","rtmpt"].forEach(function(e){m.hasOwnProperty(e)&&(D[e]=m[e]),i.hasOwnProperty(e)&&(D[e]=i[e]),(m.rtmp||{}).hasOwnProperty(e)&&(D[e]=(m.rtmp||{})[e]),(i.rtmp||{}).hasOwnProperty(e)&&(D[e]=(i.rtmp||{})[e])}),m.splash&&(D.autoplay=!0),m.rtmp&&(D.rtmp=m.rtmp.url||m.rtmp),i.rtmp&&(D.rtmp=i.rtmp.url||i.rtmp),Object.keys(i.flashls||{}).forEach(function(e){var t=i.flashls[e];D["hls_"+e]=t});var N="undefined"!=typeof i.hlsQualities?i.hlsQualities:m.hlsQualities;"undefined"!=typeof N&&(D.hlsQualities=N?encodeURIComponent(JSON.stringify(N)):N),void 0!==m.bufferTime&&(D.bufferTime=m.bufferTime),void 0!==m.bufferTimeMax&&(D.bufferTimeMax=m.bufferTimeMax),M&&delete D.rtmp,D.rtmp&&(D.rtmp=w(D.rtmp));var x,L=m.bgcolor||a.css(t,"background-color")||"";0===L.indexOf("rgb")?x=n(L):0===L.indexOf("#")&&(x=c(L)),D.initialVolume=e.volumeLevel;var T=f(i)?m.swfHls:m.swf;h=s(T,D,m.wmode,x)[0];var Z=a.find(".fp-player",t)[0];a.prepend(Z,h),e.off("quality.flashengine").on("quality.flashengine",function(t,n,r){var i="undefined"!=typeof e.video.hlsQualities?e.video.hlsQualities:e.conf.hlsQualities;if(i)try{h.__quality(r)}catch(o){e.debug("Error changing quality in flash engine",o)}}),setTimeout(function(){try{if(!h.PercentLoaded())return e.trigger("error",[e,{code:7,url:m.swf}])}catch(t){}},5e3),v.push(setTimeout(function(){"undefined"==typeof h.PercentLoaded&&e.trigger("flashdisabled",[e])},15e3)),v.push(setTimeout(function(){"undefined"==typeof h.PercentLoaded&&e.trigger("flashdisabled",[e,!1])},500)),e.off("resume.flashhack").on("resume.flashhack",function(){var t=setTimeout(function(){var t=h.__status().time,n=setTimeout(function(){e.playing&&!e.loading&&h.__status().time===t&&e.trigger("flashdisabled",[e])},400);v.push(n),e.one("seek.flashhack pause.flashhack load.flashack",function(){clearTimeout(n)})},800);v.push(t),e.one("progress",function(){clearTimeout(t)})}),h.pollInterval=setInterval(function(){if(h&&!g){var t=h.__status?h.__status():null;t&&((e.conf.live||e.live||i.live)&&(i.seekOffset=t.seekOffset,i.duration=t.duration+t.seekOffset),e.playing&&t.time&&t.time!==e.video.time&&e.trigger("progress",[e,t.time]),i.buffer=t.buffer/i.bytes*i.duration,e.trigger("buffer",[e,i.buffer]),!i.buffered&&t.time>0&&(i.buffered=!0,e.trigger("buffered",[e])))}},250),window[p]=function(n,r){var i=d;m.debug&&(0===n.indexOf("debug")&&r&&r.length?console.log.apply(console,["-- "+n].concat(r)):console.log("--",n,r));var o={type:n};switch(n){case"ready":r=l(i,r);break;case"click":o.flash=!0;break;case"keydown":o.which=r;break;case"seek":i.time=r;break;case"status":e.trigger("progress",[e,r.time]),r.buffer<i.bytes&&!i.buffered?(i.buffer=r.buffer/i.bytes*i.duration,e.trigger("buffer",i.buffer)):i.buffered||(i.buffered=!0,e.trigger("buffered"));break;case"metadata":var a=atob(r);r={key:a.substr(10,4),data:a.substr(21)}}"click"===n||"keydown"===n?(o.target=t,u.fire(t,n,[o])):"buffered"!=n&&"unload"!==n?setTimeout(function(){e.trigger(o,[e,r])},1):"unload"===n&&e.trigger(o,[e,r])}}},speed:a.noop,unload:function(){h&&h.__unload&&h.__unload();try{p&&window[p]&&delete window[p]}catch(n){}a.find("object",t).forEach(a.removeNode),h=0,e.off(".flashengine"),e.off(".flashhack"),clearInterval(h.pollInterval),v.forEach(function(e){clearTimeout(e)})}};return["pause","resume","seek","volume"].forEach(function(t){y[t]=function(n){try{e.ready&&(void 0===n?h["__"+t]():h["__"+t](n))}catch(r){if("undefined"==typeof h["__"+t])return e.trigger("flashdisabled",[e]);throw r}}}),y},i.engineName="flash",i.canPlay=function(e,t){return o.support.flashVideo&&/video\/(mp4|flash|flv)/i.test(e)||o.support.flashVideo&&t.swfHls&&/mpegurl/i.test(e)},o.engines.push(i)},{"../common":1,"../flowplayer":31,"./embed":2,bean:34,"extend-object":39}],4:[function(e,t,n){"use strict";function r(e){return"undefined"==typeof window.Hls?!1:/mpegurl/.test(e)&&window.Hls.isSupported()}var i,o=e("../flowplayer"),a=o.support,s=o.common,l=o.bean,u=e("./html5-factory");i=function(e,t){function n(n,r,u){var p=o.extend({recoverMediaError:!0},e.conf.hlsjs,n.hlsjs);a=i.hls=new d(p),i.extensions.forEach(function(n){n({hls:a,player:e,root:t,videoTag:r})}),a.loadSource(n.src),u.resume=function(){e.live&&!e.dvr&&(r.currentTime=a.liveSyncPosition||0),r.play()},u.seek=function(t){try{e.live&&!e.dvr?r.currentTime=Math.min(t,a.liveSyncPosition):r.currentTime=t}catch(n){e.debug("Failed to seek to ",t,n)}},e.on("quality",function(e,t,n){a.nextLevel=c=n});var h,g,m=function(n){if(e.debug("hlsjs - recovery"),s.removeClass(t,"is-paused"),s.addClass(t,"is-seeking"),l.one(r,"seeked",function(){r.paused&&(s.removeClass(t,"is-poster"),e.poster=!1,r.play()),s.removeClass(t,"is-seeking")}),n)return a.startLoad();var i=performance.now();!h||i-h>3e3?(h=performance.now(),a.recoverMediaError()):(!g||i-g>3e3)&&(g=performance.now(),a.swapAudioCodec(),a.recoverMediaError())};return a.on(d.Events.MANIFEST_PARSED,function(t,i){var o,l=n.hlsQualities||e.conf.hlsQualities,u={},d=i.levels;if(l===!1)return a.attachMedia(r);if("drive"===l)switch(d.length){case 4:o=[1,2,3];break;case 5:o=[1,2,3,4];break;case 6:o=[1,3,4,5];break;case 7:o=[1,3,5,6];break;case 8:o=[1,3,6,7];break;default:o=d.length<3||d[0].height&&d[2].height&&d[0].height===d[2].height?[]:[1,2]}n.qualities=[{value:-1,label:"Auto"}],Array.isArray(l)&&(n.qualities=[],o=l.map(function(e){return"undefined"!=typeof e.level&&(u[e.level]=e.label),"undefined"!=typeof e.level?e.level:e}));var p=-2;n.qualities=n.qualities.concat(d.map(function(e,t){if(o&&-1===o.indexOf(t))return!1;var n=u[t]||Math.min(e.width,e.height)+"p";return u[t]||"drive"===l||(n+=" ("+Math.round(e.bitrate/1e3)+"k)"),t===c&&(p=t),{value:t,label:n}})).filter(s.identity);var h=n.quality=-2===p?n.qualities[0].value||-1:p;h!==a.currentLevel&&(a.currentLevel=h),a.attachMedia(r),f&&n.src!==f&&r.play(),f=n.src}),a.on(d.Events.ERROR,function(t,n){if(n.fatal)if(p.recoverNetworkError&&n.type===d.ErrorTypes.NETWORK_ERROR)m(!0);else if(p.recoverMediaError&&n.type===d.ErrorTypes.MEDIA_ERROR)m(!1);else{var r=5;n.type===d.ErrorTypes.NETWORK_ERROR&&(r=2),n.type===d.ErrorTypes.MEDIA_ERROR&&(r=3),a.destroy(),e.trigger("error",[e,{code:r}])}}),{handlers:{error:function(e,t){var n=t.error&&t.error.code;return p.recoverMediaError&&3===n||!n?(e.preventDefault(),m(!1),!0):p.recoverNetworkError&&2===n?(e.preventDefault(),m(!0),!0):void 0}}}}var a,c,f,d=window.Hls;return u("hlsjs-lite",e,t,r,n)},i.canPlay=function(e,t){return a.browser.safari&&!(t.clip&&t.clip.hlsjs||t.hlsjs||{}).safari?!1:o.support.video&&r(e)},i.engineName="hlsjs-lite",i.plugin=function(e){i.extensions.push(e)},i.extensions=[],o.engines.push(i)},{"../flowplayer":31,"./html5-factory":5}],5:[function(e,t,n){function r(e,t,n,r,a){function f(e,o,a,f){var p=n.getAttribute("data-flowplayer-instance-id");if(e.listeners&&e.listeners.hasOwnProperty(p))return void(e.listeners[p]=a);(e.listeners||(e.listeners={}))[p]=a,u.on(o,"error",function(n){try{r(n.target.getAttribute("type"))&&t.trigger("error",[t,{code:4,video:c(a,{src:e.src,url:e.src})}])}catch(i){}}),t.on("shutdown",function(){u.off(o),u.off(e,".dvrhack"),t.off(".loophack")});var h={},g=function(e){"metadata"===e.kind&&(e.mode="hidden",e.addEventListener("cuechange",function(){e.activeCues.length&&t.trigger("metadata",[t,e.activeCues[0].value])},!1))};return e&&e.textTracks&&e.textTracks.length&&Array.prototype.forEach.call(e.textTracks,g),e&&e.textTracks&&"function"==typeof e.textTracks.addEventListener&&e.textTracks.addEventListener("addtrack",function(e){g(e.track)},!1),(t.conf.dvr||t.dvr||a.dvr)&&u.on(e,"progress.dvrhack",function(){e.seekable.length&&(t.video.duration=e.seekable.end(null),t.video.seekOffset=e.seekable.start(null),t.trigger("dvrwindow",[t,{start:e.seekable.start(null),end:e.seekable.end(null)}]),e.currentTime>=e.seekable.start(null)||(e.currentTime=e.seekable.start(null)))}),Object.keys(d).forEach(function(r){var o=d[r];if("webkitendfullscreen"===r&&t.conf.disableInline&&(o="unload"),o){var u=function(u){if(a=e.listeners[p],u.target&&s.hasClass(u.target,"fp-engine")){/progress/.test(o)||t.debug(r,"->",o,u);var d=function(e){t.trigger(e||o,[t,h])};if(!t.ready&&!/ready|error/.test(o)||!o||!s.find("video",n).length)return void("resume"===o&&t.one("ready",function(){setTimeout(function(){d()})}));var h;if("unload"===o)return void t.unload();switch(o){case"ready":if(t.ready)return t.debug("Player already ready, not sending duplicate ready event");if(!(e.duration&&e.duration!==1/0||t.live))return t.debug("No duration and VOD setup, not sending ready event");if(h=c(a,{duration:e.duration<Number.MAX_VALUE?e.duration:0,width:e.videoWidth,height:e.videoHeight,url:e.currentSrc}),h.seekable=h.duration,t.debug("Ready: ",h),!t.live&&!h.duration&&!l.hlsDuration&&"loadeddata"===r){var g=function(){h.duration=e.duration;try{h.seekable=e.seekable&&e.seekable.end(null)}catch(t){}d(),e.removeEventListener("durationchange",g),s.toggleClass(n,"is-live",!1)};e.addEventListener("durationchange",g);var m=function(){t.ready||e.duration||(h.duration=0,s.addClass(n,"is-live"),d()),e.removeEventListener("timeupdate",m)};return void e.addEventListener("timeupdate",m)}break;case"progress":case"seek":if(e.currentTime>0||t.live)h=Math.max(e.currentTime,0);else if("seek"===o&&0===e.currentTime)h=0;else if("progress"==o)return;break;case"buffer":h=[];for(var v=0;v<e.buffered.length;v++)h.push({start:e.buffered.start(v),end:e.buffered.end(v)});e.buffered.length&&e.buffered.end(null)===e.duration&&d("buffered");break;case"speed":h=i(e.playbackRate);break;case"volume":h=i(e.muted?0:e.volume);break;case"error":try{if(f&&f.handlers&&f.handlers.error){var y=f.handlers.error(u,e);if(y)return}h=(u.srcElement||u.originalTarget).error,h.video=c(a,{src:e.src,url:e.src})}catch(w){return}}d()}};n.addEventListener(r,u,!0),h[r]||(h[r]=[]),h[r].push(u)}}),h}var p,h,g,m=s.findDirect("video",n)[0]||s.find(".fp-player > video",n)[0],v=t.conf;return g={engineName:e,pick:function(e){var t=l.video&&e.filter(function(e){return r(e.type)})[0];if(t)return"string"==typeof t.src&&(t.src=s.createAbsoluteUrl(t.src)),t},load:function(e){var r=s.find(".fp-player",n)[0],i=!1;if(m||(m=document.createElement("video"),s.prepend(r,m),m.autoplay=!!v.splash,i=!0),s.addClass(m,"fp-engine"),s.find("track",m).forEach(s.removeNode),m.preload="none",v.nativesubtitles||s.attr(m,"crossorigin",!1),v.disableInline||(m.setAttribute("webkit-playsinline","true"),m.setAttribute("playsinline","true")),l.inlineVideo||s.css(m,{position:"absolute",top:"-9999em"}),l.subtitles&&v.nativesubtitles&&e.subtitles&&e.subtitles.length){s.addClass(m,"native-subtitles");var c=e.subtitles,d=function(e){var t=m.textTracks;t.length&&(t[0].mode=e)};c.some(function(e){return!s.isSameDomain(e.src)})&&s.attr(m,"crossorigin","anonymous"),"function"==typeof m.textTracks.addEventListener&&m.textTracks.addEventListener("addtrack",function(){d("disabled"),d("showing")}),c.forEach(function(e){m.appendChild(s.createElement("track",{kind:"subtitles",srclang:e.srclang||"en",label:e.label||"en",src:e.src,"default":e["default"]}))})}u.off(m,"timeupdate",s.noop),u.on(m,"timeupdate",s.noop),s.prop(m,"loop",!1),t.off(".loophack"),(e.loop||v.loop)&&t.on("finish.loophack",function(){t.resume()}),"undefined"!=typeof h&&(m.volume=h);var p=a(e,m,g);if(v.autoplay||v.splash||e.autoplay){t.debug("Autoplay / Splash setup, try to start video"),m.load();var y=function(){try{var e=m.play();if(e&&e["catch"]){var n=function(e){if("AbortError"===e.name&&20===e.code)return i?void 0:m.play()["catch"](n);if(!v.mutedAutoplay)throw new Error("Unable to autoplay");return t.debug("Play errored, trying muted",e),t.mute(!0,!0),m.play()};e["catch"](n)["catch"](function(){v.autoplay=!1,t.mute(!1,!0),t.trigger("stop",[t])})}}catch(r){t.debug("play() error thrown",r)}};m.readyState>0?y():u.one(m,"canplay",y)}if(g._listeners=f(m,s.find("source",m).concat(m),e,p)||g._listeners,!(v.autoplay||v.splash||e.autoplay)){var w=function(){o(n)&&(t.debug("player is in viewport, preload"),l.preloadMetadata?m.preload="metadata":m.load(),u.off(document,"scroll.preloadviewport"))};u.off(document,"scroll.preloadviewport"),u.on(document,"scroll.preloadviewport",function(){window.requestAnimationFrame(w)}),w()}},mute:function(e){m.muted=!!e,t.trigger("mute",[t,e]),t.trigger("volume",[t,e?0:m.volume])},pause:function(){m.pause()},resume:function(){m.play()},speed:function(e){m.playbackRate=e},seek:function(e){var n=m.paused||t.finished;try{m.currentTime=e,n&&u.one(m,"seeked",function(){m.pause()})}catch(r){}},volume:function(e){h=e,m&&(m.volume=e,e&&g.mute(!1))},unload:function(){u.off(document,"scroll.preloadviewport"),s.find("video.fp-engine",n).forEach(function(e){"MediaSource"in window?e.src=URL.createObjectURL(new MediaSource):e.src="",s.removeNode(e)}),p=clearInterval(p);var e=n.getAttribute("data-flowplayer-instance-id");delete m.listeners[e],m=0,g._listeners&&Object.keys(g._listeners).forEach(function(e){g._listeners[e].forEach(function(t){n.removeEventListener(e,t,!0)})})}}}function i(e,t){return t=t||100,Math.round(e*t)/t}function o(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)+t.height&&t.right<=(window.innerWidth||document.documentElement.clientWidth)+t.width}var a=e("../flowplayer"),s=a.common,l=a.support,u=a.bean,c=a.extend,f=l.browser.safari&&!l.iOS,d={ended:"finish",pause:"pause",play:"resume",timeupdate:"progress",volumechange:"volume",ratechange:"speed",seeked:"seek",loadedmetadata:f?0:"ready",canplaythrough:f?"ready":0,durationchange:"ready",error:"error",dataunavailable:"error",webkitendfullscreen:!a.support.inlineVideo&&"unload",progress:"buffer"};t.exports=r},{"../flowplayer":31}],6:[function(e,t,n){"use strict";function r(e){return/mpegurl/i.test(e)?"application/x-mpegurl":e}function i(e){return/^(video|application)/i.test(e)||(e=r(e)),!!u.canPlayType(e).replace("no","")}var o,a=e("../flowplayer"),s=a.common,l=e("./html5-factory"),u=document.createElement("video");o=function(e,t){return l("html5",e,t,i,function(e,t){t.currentSrc!==e.src?(s.find("source",t).forEach(s.removeNode),t.src=e.src,t.type=e.type):e.autoplay&&t.load()})},o.canPlay=function(e){return a.support.video&&i(e)},o.engineName="html5",a.engines.push(o)},{"../flowplayer":31,"./html5-factory":5}],7:[function(e,t,n){"use strict";var r=e("../flowplayer"),i=e("../common"),o=e("bean");r(function(e,t){e.on("ready",function(){var e=i.find("video.fp-engine",t)[0];e&&(e.setAttribute("x-webkit-airplay","allow"),window.WebKitPlaybackTargetAvailabilityEvent&&(e.addEventListener("webkitplaybacktargetavailabilitychanged",function(e){if("available"===e.availability){var n=i.find(".fp-header",t)[0];i.find(".fp-airplay",n).forEach(i.removeNode);var r=i.createElement("a",{"class":"fp-airplay fp-icon",title:"Play on AirPlay device"});n.insertBefore(r,i.find(".fp-fullscreen",n)[0])}}),e.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",function(){var n=i.find(".fp-airplay",t)[0];n&&i.toggleClass(n,"fp-active",e.webkitCurrentPlaybackTargetIsWireless)})))}),o.on(t,"click",".fp-airplay",function(e){e.preventDefault();var n=i.find("video.fp-engine",t)[0];n.webkitShowPlaybackTargetPicker()})})},{"../common":1,"../flowplayer":31,bean:34}],8:[function(e,t,n){"use strict";var r=e("../flowplayer"),i=e("./resolve").TYPE_RE,o=e("scriptjs"),a=e("bean");r(function(e,t){var n,r=e.conf.analytics,s=0,l=0;if(r){"undefined"==typeof _gat&&o("//google-analytics.com/ga.js");var u=function(){var e=_gat._getTracker(r);return e._setAllowLinker(!0),e},c=function(r,o,a){if(a=a||e.video,s&&"undefined"!=typeof _gat){var l=u();l._trackEvent("Video / Seconds played",e.engine.engineName+"/"+a.type,a.title||t.getAttribute("title")||a.src.split("/").slice(-1)[0].replace(i,""),Math.round(s/1e3)),s=0,n&&(clearTimeout(n),n=null)}};e.bind("load unload",c).bind("progress",function(){e.seeking||(s+=l?+new Date-l:0,l=+new Date),n||(n=setTimeout(function(){n=null;var e=u();e._trackEvent("Flowplayer heartbeat","Heartbeat","",0,!0)},6e5))}).bind("pause",function(){l=0}),e.bind("shutdown",function(){a.off(window,"unload",c)}),a.on(window,"unload",c)}})},{"../flowplayer":31,"./resolve":21,bean:34,scriptjs:45}],9:[function(e,t,n){"use strict";var r=e("../flowplayer"),i=e("../common"),o=e("bean"),a=e("scriptjs");r(function(e,t){function n(){var e,t,n;e=g.applicationId||chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,t=new chrome.cast.SessionRequest(e),n=new chrome.cast.ApiConfig(t,r,s),chrome.cast.initialize(n,l,u)}function r(){console.log("sessionListener")}function s(e){e===chrome.cast.ReceiverAvailability.AVAILABLE&&c()}function l(){}function u(){console.log("onError")}function c(){var e=i.find(".fp-header",t)[0];if(e){i.find(".fp-chromecast",e).forEach(i.removeNode),i.find(".fp-chromecast-engine",t).forEach(i.removeNode),h=i.createElement("a",{"class":"fp-chromecast fp-icon",title:"Play on Cast device"}),e.insertBefore(h,i.find(".fp-fullscreen",e)[0]);var n=i.createElement("div",{"class":"fp-chromecast-engine"}),r=i.createElement("p",{"class":"fp-chromecast-engine-status"}),o=i.createElement("p",{"class":"fp-chromecast-engine-icon"});n.appendChild(o),n.appendChild(r);var a=i.find(".fp-engine",t)[0];a?a.parentNode.insertBefore(n,a):i.prepend(i.find(".fp-player",t)[0]||t,n)}}function f(){clearInterval(p),p=null,e.release(),i.toggleClass(t,"is-chromecast",!1),i.toggleClass(h,"fp-active",!1)}if(e.conf.chromecast!==!1){a("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"),window.__onGCastApiAvailable=function(e){
7
- e&&n()};var d,p,h,g=e.conf.chromecast||{};o.on(t,"click",".fp-chromecast",function(n){return n.preventDefault(),d?(e.trigger("pause",[e]),d.stop(),d=null,void f()):(e.playing&&e.pause(),void chrome.cast.requestSession(function(n){function r(n){n.addUpdateListener(function(r){if(d){p=p||setInterval(function(){e.trigger("progress",[e,n.getEstimatedTime()])},500),r?(i.toggleClass(t,"is-chromecast",!0),i.toggleClass(h,"fp-active",!0),e.hijack({pause:function(){n.pause()},resume:function(){n.play()},seek:function(e){var t=new chrome.cast.media.SeekRequest;t.currentTime=e,n.seek(t)}})):(f(),e.trigger("finish",[e]));var o=n.playerState;e.paused&&o===chrome.cast.media.PlayerState.PLAYING&&e.trigger("resume",[e]),e.playing&&o===chrome.cast.media.PlayerState.PAUSED&&e.trigger("pause",[e]),i.toggleClass(t,"is-loading",o===chrome.cast.media.PlayerState.BUFFERING)}})}d=n;var o=d.receiver.friendlyName;i.html(i.find(".fp-chromecast-engine-status")[0],"Playing on device "+o);var a=new chrome.cast.media.MediaInfo(e.video.src),s=new chrome.cast.media.LoadRequest(a);d.loadMedia(s,r,function(){})},function(e){console.error("requestSession error",e)}))})}})},{"../common":1,"../flowplayer":31,bean:34,scriptjs:45}],10:[function(e,t,n){"use strict";var r=e("../flowplayer"),i=e("../common"),o=e("bean");r(function(e,t){function n(e){t.className=t.className.replace(a," "),e>=0&&i.addClass(t,"cue"+e)}function r(t){var n=t&&!isNaN(t.time)?t.time:t;return 0>n&&(n=e.video.duration+n),.125*Math.round(n/.125)}var a=/ ?cue\d+ ?/,s=!1,l={},u=-.125,c=function(t){n(t.index),e.trigger("cuepoint",[e,t])};e.on("progress",function(e,t,n){if(!s)for(var i=r(n);i>u;)u+=.125,l[u]&&l[u].forEach(c)}).on("unload",n).on("beforeseek",function(e){setTimeout(function(){e.defaultPrevented||(s=!0)})}).on("seek",function(e,t,i){n(),u=r(i||0)-.125,s=!1,!i&&l[0]&&l[0].forEach(c)}).on("ready",function(t,n,r){u=-.125;var i=r.cuepoints||e.conf.cuepoints||[];e.setCuepoints(i)}).on("finish",function(){for(var t=r(e.video.duration);t>u;)u+=.125,l[u]&&l[u].forEach(c);u=-.125}),e.conf.generate_cuepoints&&e.bind("load",function(){i.find(".fp-cuepoint",t).forEach(i.removeNode)}),e.setCuepoints=function(t){return e.cuepoints=[],l={},t.forEach(e.addCuepoint),e},e.addCuepoint=function(n){e.cuepoints||(e.cuepoints=[]),"number"==typeof n&&(n={time:n}),n.index=0;var a=r(n);if(l[a]||(l[a]=[]),l[a].push(n),e.cuepoints.length&&(n.index=Math.max.apply(null,e.cuepoints.map(function(e){return e.index}))+1),e.cuepoints.push(n),e.conf.generate_cuepoints&&n.visible!==!1){var s=e.video.duration,u=i.find(".fp-timeline",t)[0];i.css(u,"overflow","visible");var c=n.time||n;0>c&&(c=s+c);var f=i.createElement("a",{className:"fp-cuepoint fp-cuepoint"+n.index});i.css(f,"left",c/s*100+"%"),u.appendChild(f),o.on(f,"mousedown",function(t){t.preventDefault(),t.stopPropagation(),e.seek(c)})}return e},e.removeCuepoint=function(n){"number"==typeof n&&(n=e.cuepoints.filter(function(e){return e.index===n})[0]);var o=e.cuepoints.indexOf(n),a=r(n);if(-1!==o){e.cuepoints=e.cuepoints.slice(0,o).concat(e.cuepoints.slice(o+1));var s=i.find(".fp-timeline",t)[0];i.find(".fp-cuepoint"+n.index,s).forEach(i.removeNode);var u=l[a].indexOf(n);if(-1!==u)return l[a]=l[a].slice(0,u).concat(l[a].slice(u+1)),e}}})},{"../common":1,"../flowplayer":31,bean:34}],11:[function(e,t,n){"use strict";var r=e("../flowplayer"),i=e("bean"),o=e("../common"),a=e("./util/clipboard");r(function(e,t){if(e.conf.embed!==!1&&e.conf.share!==!1){var n=o.find(".fp-share-menu",t)[0],r=o.createElement("a",{"class":"fp-icon fp-embed",title:"Copy to your site"},"Embed");o.append(n,r),e.embedCode=function(){var n=e.conf.embed||{},r=e.video,i=n.width||r.width||o.width(t),a=n.height||r.height||o.height(t),s=e.conf.ratio,l='<iframe src="'+e.shareUrl(!0)+'" allowfullscreen style="border:none;';return n.width||n.height?(isNaN(i)||(i+="px"),isNaN(a)||(a+="px"),l+"width:"+i+";height:"+a+';"></iframe>'):((!s||e.conf.adaptiveRatio)&&(s=a/i),'<div style="position:relative;width:100%;display:inline-block;">'+l+'position:absolute;top:0;left:0;width:100%;height:100%;"></iframe><div style="padding-top:'+100*s+'%;"></div></div>')},i.on(t,"click",".fp-embed",function(){a(e.embedCode(),function(){e.message("The embed code is now on your clipboard",2e3)},function(){e.textarea(e.embedCode(),"Copy the code below to embed your video")})})}})},{"../common":1,"../flowplayer":31,"./util/clipboard":30,bean:34}],12:[function(e,t,n){"use strict";t.exports=function(e,t){t||(t=document.createElement("div"));var n={},r={},i=function(e,i,o){var a=e.split(".")[0],s=function(l){o&&(t.removeEventListener(a,s),n[e].splice(n[e].indexOf(s),1));var u=[l].concat(r[l.timeStamp+l.type]||[]);i&&i.apply(void 0,u)};t.addEventListener(a,s),n[e]||(n[e]=[]),n[e].push(s)};e.on=e.bind=function(t,n){var r=t.split(" ");return r.forEach(function(e){i(e,n)}),e},e.one=function(t,n){var r=t.split(" ");return r.forEach(function(e){i(e,n,!0)}),e};var o=function(e,t){return 0===t.filter(function(t){return-1===e.indexOf(t)}).length};e.off=e.unbind=function(r){var i=r.split(" ");return i.forEach(function(e){var r=e.split(".").slice(1),i=e.split(".")[0];Object.keys(n).filter(function(e){var t=e.split(".").slice(1);return(!i||0===e.indexOf(i))&&o(t,r)}).forEach(function(e){var r=n[e],i=e.split(".")[0];n[e]=r.filter(function(e){return t.removeEventListener(i,e),!1})})}),e},e.trigger=function(n,i,o){if(n){i=(i||[]).length?i||[]:[i];var a,s=document.createEvent("Event");return a=n.type||n,s.initEvent(a,!1,!0),Object.defineProperty&&(s.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}),r[s.timeStamp+s.type]=i,t.dispatchEvent(s),o?s:e}}},t.exports.EVENTS=["beforeseek","disable","error","finish","fullscreen","fullscreen-exit","load","mute","pause","progress","ready","resume","seek","speed","stop","unload","volume","boot","shutdown"]},{}],13:[function(e,t,n){"use strict";var r=e("../flowplayer"),i=e("../common"),o=e("bean");r(function(e,t){var n=e.conf;if(n.share!==!1&&n.facebook){e.facebook=function(){var e,t,r=550,i=420,o=screen.height,a=screen.width,s="scrollbars=yes,resizable=yes,toolbar=no,location=yes",l="string"==typeof n.facebook?n.facebook:window.location.toString();e=Math.round(a/2-r/2),t=0,o>i&&(t=Math.round(o/2-i/2)),window.open("https://www.facebook.com/sharer.php?s=100&p[url]="+encodeURIComponent(l),"sharer",s+",width="+r+",height="+i+",left="+e+",top="+t)};var r=i.find(".fp-share-menu",t)[0],a=i.createElement("a",{"class":"fp-icon fp-facebook"},"Facebook");i.append(r,a),o.on(t,"click",".fp-facebook",function(){e.facebook()})}})},{"../common":1,"../flowplayer":31,bean:34}],14:[function(e,t,n){"use strict";var r,i=e("../flowplayer"),o=e("bean"),a=e("../common"),s="fullscreen",l="fullscreen-exit",u=i.support.fullscreen;o.on(document,"fullscreenchange.ffscr webkitfullscreenchange.ffscr mozfullscreenchange.ffscr MSFullscreenChange.ffscr",function(e){var t=document.webkitCurrentFullScreenElement||document.mozFullScreenElement||document.fullscreenElement||document.msFullscreenElement||e.target;if(r||t.parentNode&&t.parentNode.getAttribute("data-flowplayer-instance-id")){var n=r||i(t.parentNode);t&&!r?r=n.trigger(s,[n]):(r.trigger(l,[r]),r=null)}}),i(function(e,t){var n=a.createElement("div",{className:"fp-player"});if(Array.prototype.map.call(t.children,a.identity).forEach(function(e){a.matches(e,".fp-ratio,script")||n.appendChild(e)}),t.appendChild(n),e.conf.fullscreen){var i,o,c=window;e.isFullscreen=!1,e.fullscreen=function(t){return e.disabled?void 0:(void 0===t&&(t=!e.isFullscreen),t&&(i=c.scrollY,o=c.scrollX),u?t?["requestFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].forEach(function(e){"function"==typeof n[e]&&(n[e](Element.ALLOW_KEYBOARD_INPUT),"webkitRequestFullScreen"!==e||document.webkitFullscreenElement||n[e]())}):["exitFullscreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].forEach(function(e){"function"==typeof document[e]&&document[e]()}):e.trigger(t?s:l,[e]),e)};var f;e.on("mousedown.fs",function(){+new Date-f<150&&e.ready&&e.fullscreen(),f=+new Date}),e.on(s,function(){a.addClass(t,"is-fullscreen"),a.toggleClass(t,"fp-minimal-fullscreen",a.hasClass(t,"fp-minimal")),a.removeClass(t,"fp-minimal"),u||a.css(t,"position","fixed"),e.isFullscreen=!0}).on(l,function(){var n;a.toggleClass(t,"fp-minimal",a.hasClass(t,"fp-minimal-fullscreen")),a.removeClass(t,"fp-minimal-fullscreen"),u||"html5"!==e.engine||(n=t.css("opacity")||"",a.css(t,"opacity",0)),u||a.css(t,"position",""),a.removeClass(t,"is-fullscreen"),u||"html5"!==e.engine||setTimeout(function(){t.css("opacity",n)}),e.isFullscreen=!1,c.scrollTo(o,i)}).on("unload",function(){e.isFullscreen&&e.fullscreen()}),e.on("shutdown",function(){r=null,a.removeNode(n)})}})},{"../common":1,"../flowplayer":31,bean:34}],15:[function(e,t,n){"use strict";var r,i,o=e("../flowplayer"),a=e("bean"),s=e("../common");a.on(document,"keydown.fp",function(e){var t=r,n=e.ctrlKey||e.metaKey||e.altKey,i=e.which,o=t&&t.conf;if(t&&o.keyboard&&!t.disabled&&!n&&t.ready){if(e.shiftKey)return 39==i?t.speed(!0):37==i&&t.speed(!1),e.preventDefault();if(58>i&&i>47)return e.preventDefault(),t.seekTo(i-48);var a=function(){switch(i){case 38:case 75:return t.volume(t.volumeLevel+.15),!0;case 40:case 74:return t.volume(t.volumeLevel-.15),!0;case 39:case 76:return t.seeking=!0,t.seek(!0),!0;case 37:case 72:return t.seeking=!0,t.seek(!1),!0;case 190:return t.seekTo(),!0;case 32:return t.toggle(),!0;case 70:return o.fullscreen&&t.fullscreen(),!0;case 77:return t.mute(),!0;case 81:return t.unload(),!0}}();a&&e.preventDefault()}}),o(function(e,t){e.conf.keyboard&&(a.on(document,"click",function(n){if(s.hasParent(n.target,t))r=e.disabled?0:e;else{if(r!==e)return;r=0}r&&(i=t)}),e.bind("shutdown",function(){i==t&&(i=null)}))})},{"../common":1,"../flowplayer":31,bean:34}],16:[function(e,t,n){var r=e("../flowplayer"),i=e("../common"),o=e("bean");r(function(e,t){e.showMenu=function(n,r){var a=i.find(".fp-ui",t)[0];i.toggleClass(n,"fp-active",!0),setTimeout(function(){o.one(document,"click",function(){e.hideMenu(n)})});var s=r;if(r&&r.tagName&&(s={left:i.offset(r).left,rightFallbackOffset:i.width(r),top:i.offset(r).top+i.height(r)}),!s)return i.css(n,"top","auto");s.rightFallbackOffset=s.rightFallbackOffset||0;var l=s.top-i.offset(a).top,u=s.left-i.offset(a).left;i.width(n)+u>i.width(a)&&(u=u-i.width(n)+s.rightFallbackOffset),i.height(n)+l>i.height(a)&&(l-=i.height(n)),i.css(n,{top:l+"px",left:u+"px",right:"auto"})},e.hideMenu=function(e){i.toggleClass(e,"fp-active",!1),i.css(e,{top:"-9999em"})}})},{"../common":1,"../flowplayer":31,bean:34}],17:[function(e,t,n){var r=e("../flowplayer"),i=e("../common"),o=e("bean");r(function(e,t){function n(e){var t=i.createElement("div",{className:"fp-message"},e);return s.insertBefore(t,a),setTimeout(function(){i.toggleClass(t,"fp-shown")}),t}function r(e){i.removeNode(e)}var a=i.find(".fp-header",t)[0],s=i.find(".fp-ui",t)[0];e.message=function(e,t){var o=n(e),a=function(){i.toggleClass(o,"fp-shown"),setTimeout(function(){r(o)},500)};return t&&setTimeout(a,t),a},e.textarea=function(e){var t=document.createElement("textarea");t.value=e,t.className="fp-textarea",s.appendChild(t),o.on(document,"click.fptextarea",function(e){return e.target===t?t.select():(e.stopPropagation(),e.preventDefault(),i.removeNode(t),void o.off(document,"click.fptextarea"))})}})},{"../common":1,"../flowplayer":31,bean:34}],18:[function(e,t,n){"use strict";var r=e("../flowplayer"),i=/IEMobile/.test(window.navigator.userAgent),o=e("../common"),a=e("bean"),s=e("./ui").format,l=r.support,u=window.navigator.userAgent;(l.touch||i)&&r(function(e,t){var n=l.android,r=n&&!n.firefox,c=/Silk/.test(u),f=n.version||0;if(r&&!i){if(!/Chrome/.test(u)&&4>f||n.samsung&&5>f){var d=e.load;e.load=function(){var n=d.apply(e,arguments);return o.find("video.fp-engine",t)[0].load(),e.trigger("ready",[e,e.video]),n}}var p,h=0,g=function(e){p=setInterval(function(){e.video.time=++h,e.trigger("progress",[e,h])},1e3)};e.on("ready pause unload",function(){p&&(clearInterval(p),p=null)}),e.on("ready",function(){h=0}),e.on("resume",function(t,n){return n.live?h?g(n):void e.one("progress",function(e,t,n){0===n&&g(t)}):void 0})}l.volume||(o.removeClass(t,"fp-mute"),o.addClass(t,"no-volume")),l.iOS&&o.addClass(t,"fp-mute"),o.addClass(t,"is-touch"),e.sliders&&e.sliders.timeline&&e.sliders.timeline.disableAnimation();var m=!1;a.on(t,"touchmove",function(){m=!0});var v=!0;if(a.on(t,"touchend click",function(n){if(m)return void(m=!1);var r=o.find("video.fp-engine",t)[0];return v&&e.conf.clickToUnMute&&r&&r.muted&&e.conf.autoplay&&(r.muted=!1),v=!1,e.playing&&!o.hasClass(t,"is-mouseover")?(o.addClass(t,"is-mouseover"),o.removeClass(t,"is-mouseout"),n.preventDefault(),void n.stopPropagation()):void(e.playing||e.splash||!o.hasClass(t,"is-mouseout")||o.hasClass(t,"is-mouseover")||setTimeout(function(){e.disabled||e.playing||e.splash||o.find("video.fp-engine",t)[0].play()},400))}),!l.fullscreen&&e.conf.native_fullscreen&&"function"==typeof o.createElement("video").webkitEnterFullScreen){var y=e.fullscreen;e.fullscreen=function(){var n=o.find("video.fp-engine",t)[0];return n?(e.trigger("fullscreen",[e]),a.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement===n&&(a.off(document,".nativefullscreen"),a.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement||(a.off(document,".nativefullscreen"),e.trigger("fullscreen-exit",[e]))}))}),n.webkitEnterFullScreen(),void a.one(n,"webkitendfullscreen",function(){a.off(document,"fullscreenchange.nativefullscreen"),e.trigger("fullscreen-exit",[e]),o.prop(n,"controls",!0),o.prop(n,"controls",!1)})):y.apply(e)}}(r||c)&&e.bind("ready",function(){var n=o.find("video.fp-engine",t)[0];e.conf.splash&&n.paused&&(a.one(n,"canplay",function(){n.play()}),n.load()),e.bind("progress.dur",function(){if(!e.live&&!e.conf.live){var r=n.duration;1!==r&&(e.video.duration=r,o.find(".fp-duration",t)[0].innerHTML=s(r),e.unbind("progress.dur"))}})})})},{"../common":1,"../flowplayer":31,"./ui":27,bean:34}],19:[function(e,t,n){"use strict";var r=e("../flowplayer"),i=e("extend-object"),o=e("bean"),a=e("../common"),s=e("./resolve"),l=new s,u=window.jQuery,c=/^#/;r(function(e,t){function n(){return a.find(h.query,r())}function r(){return c.test(h.query)?void 0:t}function f(){return a.find(h.query+"."+g,r())}function d(){var n=a.find(".fp-playlist",t)[0];if(!n){n=a.createElement("div",{className:"fp-playlist"});var r=a.find(".fp-next,.fp-prev",t);r.length?r[0].parentElement.insertBefore(n,r[0]):a.insertAfter(t,a.find("video",t)[0],n)}n.innerHTML="",e.conf.playlist[0].length&&(e.conf.playlist=e.conf.playlist.map(function(e){if("string"==typeof e){var t=e.split(s.TYPE_RE)[1];return{sources:[{type:"m3u8"===t.toLowerCase()?"application/x-mpegurl":"video/"+t,src:e}]}}return{sources:e.map(function(e){var t={};return Object.keys(e).forEach(function(n){t.type=/mpegurl/i.test(n)?"application/x-mpegurl":"video/"+n,t.src=e[n]}),t})}})),e.conf.playlist.forEach(function(t,r){var i=t.sources[0].src;n.appendChild(a.createElement("a",{href:i,className:e.video.index===r?g:void 0,"data-index":r}))})}function p(t){return"undefined"!=typeof t.index?t.index:"undefined"!=typeof e.video.index?e.video.index:e.conf.startIndex||0}var h=i({active:"is-active",advance:!0,query:".fp-playlist a"},e.conf),g=h.active,m=a.find(".fp-ui",t)[0],v=a.hasClass(t,"fp-custom-playlist")||!!h.customPlaylist;a.toggleClass(t,"fp-custom-playlist",v),a.toggleClass(t,"fp-default-playlist",!v),e.play=function(t){if(void 0===t)return e.resume();if("number"==typeof t&&!e.conf.playlist[t])return e;if("number"!=typeof t)return e.load.apply(null,arguments);var n=i({index:t},e.conf.playlist[t]);return e.off("beforeresume.fromfirst"),"number"==typeof t&&t===e.video.index?e.seek(0,function(){e.resume()}):(e.load(n,function(){e.video.index=t}),e)},e.next=function(t){t&&t.preventDefault();var n=e.video.index;return-1!=n&&(n=n===e.conf.playlist.length-1?0:n+1,e.play(n)),e},e.prev=function(t){t&&t.preventDefault();var n=e.video.index;return-1!=n&&(n=0===n?e.conf.playlist.length-1:n-1,e.play(n)),e},e.setPlaylist=function(t,n){return e.conf.playlist=t,n||delete e.video.index,d(),e},e.addPlaylistItem=function(t){return delete e.video.is_last,e.setPlaylist(e.conf.playlist.concat([t]),!0)},e.removePlaylistItem=function(t){var n=e.conf.playlist;return e.setPlaylist(n.slice(0,t).concat(n.slice(t+1)))},o.on(t,"click",".fp-next",e.next),o.on(t,"click",".fp-prev",e.prev),e.off("finish.pl").on("finish.pl",function(e,n){var r="undefined"==typeof n.conf.advance?!0:n.conf.advance;if(r){if(n.video.loop)return n.seek(0,function(){n.resume()});var i=n.video.index>=0?n.video.index+1:void 0;i<n.conf.playlist.length||h.loop?(i=i===n.conf.playlist.length?0:i,a.removeClass(t,"is-finished"),setTimeout(function(){n.play(i)})):n.conf.playlist.length>1&&(n.one("beforeresume.fromfirst",function(e){e.preventDefault(),n.play(0)}),n.one("seek",function(){n.off("beforeresume.fromfirst")}))}});var y=!1;e.conf.playlist.length&&(y=!0,d(),e.conf.clip&&e.conf.clip.sources.length||(e.conf.clip=e.conf.playlist[e.conf.startIndex||0])),n().length&&!y&&(e.conf.playlist=[],delete e.conf.startIndex,n().forEach(function(t){var n=t.href;t.setAttribute("data-index",e.conf.playlist.length);var r=l.resolve(n,e.conf.clip.sources);u&&i(r,u(t).data()),e.conf.playlist.push(r)})),a.find(".fp-prev,.fp-next,.fp-playlist",t).forEach(function(e){m.appendChild(e)}),o.on(c.test(h.query)?document:t,"click",h.query,function(t){t.preventDefault();var n=t.currentTarget,r=Number(n.getAttribute("data-index"));-1!=r&&e.play(r)}),e.on("load",function(n,i,o){if(e.conf.playlist.length){var s=f()[0],l=s&&s.getAttribute("data-index"),u=o.index=p(o),c=a.find(h.query+'[data-index="'+u+'"]',r())[0],d=u==e.conf.playlist.length-1;s&&a.removeClass(s,g),c&&a.addClass(c,g),a.removeClass(t,"video"+l),a.addClass(t,"video"+u),a.toggleClass(t,"last-video",d),o.index=i.video.index=u,o.is_last=i.video.is_last=d}}).on("unload.pl",function(){e.conf.playlist.length&&(f().forEach(function(e){a.toggleClass(e,g)}),e.conf.playlist.forEach(function(e,n){a.removeClass(t,"video"+n)}))}),e.conf.playlist.length&&(e.conf.loop=!1)})},{"../common":1,"../flowplayer":31,"./resolve":21,bean:34,"extend-object":39}],20:[function(e,t,n){var r=e("../flowplayer"),i=e("../common"),o=e("bean");r(function(e,t){function n(){i.find(".fp-qsel-menu",t).forEach(i.removeNode),i.find(".fp-qsel",t).forEach(i.removeNode)}function r(e){l.appendChild(i.createElement("strong",{className:"fp-qsel"},"HD"));var t=i.createElement("div",{className:"fp-menu fp-qsel-menu"},"<strong>Quality</strong>");e.forEach(function(e){var n=document.createElement("a"),r="undefined"!=typeof e.value?e.value:e;n.setAttribute("data-quality",r),n.innerHTML=e.label||e,t.appendChild(n)}),s.appendChild(t)}function a(e){i.find(".fp-qsel-menu a",t).forEach(function(t){i.toggleClass(t,"fp-selected",t.getAttribute("data-quality")==e),i.toggleClass(t,"fp-color",t.getAttribute("data-quality")==e)})}var s=i.find(".fp-ui",t)[0],l=i.find(".fp-controls",s)[0];o.on(t,"click",".fp-qsel",function(){var n=i.find(".fp-qsel-menu",t)[0];i.hasClass(n,"fp-active")?e.hideMenu():e.showMenu(n)}),o.on(t,"click",".fp-qsel-menu a",function(t){var n=t.target.getAttribute("data-quality");e.quality(n)}),e.quality=function(t){t=isNaN(Number(t))?t:Number(t),e.trigger("quality",[e,t])},e.on("quality",function(e,t,n){a(n,t.video.qualities)}),e.on("ready",function(e,t,i){n(),!i.qualities||i.qualities.filter(function(e){return"undefined"!=typeof e.value?e.value>-1:!0}).length<2||(r(i.qualities,i.quality),a(i.quality,i.qualities))})})},{"../common":1,"../flowplayer":31,bean:34}],21:[function(e,t,n){"use strict";function r(e){var t=e.attr("src"),n=e.attr("type")||"",r=t.split(o)[1];return n=n.toLowerCase(),a(e.data(),{src:t,suffix:r||n,type:n||r})}function i(e){return/mpegurl/i.test(e)?"application/x-mpegurl":"video/"+e}var o=/\.(\w{3,4})(\?.*)?$/i,a=e("extend-object");t.exports=function(){var e=this;e.sourcesFromVideoTag=function(e,t){var n=[];return t("source",e).each(function(){n.push(r(t(this)))}),!n.length&&e.length&&n.push(r(e)),n},e.resolve=function(e,t){return e?("string"==typeof e&&(e={src:e,sources:[]},e.sources=(t||[]).map(function(t){var n=t.src.split(o)[1];return{type:t.type,src:e.src.replace(o,"."+n+"$2")}})),e instanceof Array&&(e={sources:e.map(function(e){return e.type&&e.src?e:Object.keys(e).reduce(function(t,n){return a(t,{type:i(n),src:e[n]})},{})})}),e):{sources:t}}},t.exports.TYPE_RE=o},{"extend-object":39}],22:[function(e,t,n){"use strict";var r=e("../flowplayer"),i=e("../common"),o=e("extend-object"),a=e("bean");r(function(e,t){var n=e.conf;if(n.share===!1)return void i.find(".fp-share",t).forEach(i.removeNode);e.shareUrl=function(t){if(t&&n.embed&&n.embed.iframe)return n.embed.iframe;if("string"==typeof e.conf.share)return e.conf.share;var r=encodeURIComponent(e.video.title||(i.find("title")[0]||{}).innerHTML||"Flowplayer Unlimited video"),a=encodeURIComponent(btoa(JSON.stringify(o({},e.conf,e.extensions)).replace(/[\u007F-\uFFFF]/g,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).substr(-4)}))),s=encodeURIComponent(window.location.toString()),l=t?"https://flowplayer.com/e/":"https://flowplayer.com/s/";return l+"?t="+r+"&c="+a+"&r="+s};var r=i.createElement("div",{className:"fp-menu fp-share-menu"},"<strong>Share</strong>"),s=i.find(".fp-ui",t)[0];s.appendChild(r);var l=i.find(".fp-share",t)[0];a.on(t,"click",".fp-share",function(t){t.preventDefault(),i.hasClass(r,"fp-active")?e.hideMenu():e.showMenu(r,l)})})},{"../common":1,"../flowplayer":31,bean:34,"extend-object":39}],23:[function(e,t,n){"use strict";var r=e("../flowplayer"),i=e("../common"),o=e("bean"),a=e("./subtitles/parser");r.defaults.subtitleParser=a,r(function(e,t){var n,a,s,l,u;(!r.support.inlineVideo||!r.support.fullscreen&&e.conf.native_fullscreen)&&(e.conf.nativesubtitles=!0),e.ui||(e.ui={}),e.ui.createSubtitleControl=function(e,n){return u=n,s=s||i.createElement("strong",{className:"fp-cc"},"CC"),l=l||i.createElement("div",{className:"fp-menu fp-subtitle-menu"},"<strong>Closed Captions</strong>"),i.find("a",l).forEach(i.removeNode),l.appendChild(i.createElement("a",{"data-subtitle-index":-1},"No subtitles")),(e||[]).forEach(function(e,t){var n=e.srclang||"en",r=e.label||"Default ("+n+")",o=i.createElement("a",{"data-subtitle-index":t},r);l.appendChild(o)}),i.find(".fp-ui",t)[0].appendChild(l),i.find(".fp-controls",t)[0].appendChild(s),i.toggleClass(s,"fp-hidden",!e||!e.length),s},e.ui.setActiveSubtitleItem=function(e){f(e)},o.on(t,"click",".fp-cc",function(){i.hasClass(l,"fp-active")?e.hideMenu():e.showMenu(l)}),o.on(t,"click",".fp-subtitle-menu [data-subtitle-index]",function(t){t.preventDefault();var n=t.target.getAttribute("data-subtitle-index");return u?u(n):"-1"===n?e.disableSubtitles():void e.loadSubtitles(n)});var c=function(){a=i.find(".fp-captions",t)[0],a=a||i.appendTo(i.createElement("div",{"class":"fp-captions"}),i.find(".fp-player",t)[0]),Array.prototype.forEach.call(a.children,i.removeNode),e.ui.createSubtitleControl(e.video.subtitles)};e.on("ready",function(n,r,o){if(r.subtitles=[],c(),i.removeClass(t,"has-menu"),e.disableSubtitles(),o.subtitles&&o.subtitles.length){var a=o.subtitles.filter(function(e){return e["default"]})[0];a&&r.loadSubtitles(o.subtitles.indexOf(a))}}),e.showSubtitle=function(e){i.html(a,e),i.addClass(a,"fp-shown")},e.hideSubtitle=function(){i.removeClass(a,"fp-shown")},e.bind("cuepoint",function(t,r,i){i.subtitle?(n=i.index,e.showSubtitle(i.subtitle.text)):i.subtitleEnd&&(e.hideSubtitle(),n=i.index)}),e.bind("seek",function(t,r,o){n&&e.cuepoints[n]&&e.cuepoints[n].time>o&&(i.removeClass(a,"fp-shown"),n=null),(e.cuepoints||[]).forEach(function(t,r){var i=t.subtitle;i&&n!=r?o>=t.time&&(!i.endTime||o<=i.endTime)&&e.trigger("cuepoint",[e,t]):t.subtitleEnd&&o>=t.time&&r==n+1&&e.trigger("cuepoint",[e,t])})}),e.on("unload",function(){i.find(".fp-captions",t).forEach(i.removeNode)});var f=function(e){i.toggleClass(i.find("a.fp-selected",l)[0],"fp-selected"),i.toggleClass(i.find('a[data-subtitle-index="'+e+'"]',l)[0],"fp-selected")},d=function(e,n){var r=i.find("video.fp-engine",t)[0].textTracks;r.length&&(null===e?[].forEach.call(r,function(e){e.mode=n}):r[e].mode=n)};e.disableSubtitles=function(){return e.subtitles=[],(e.cuepoints||[]).forEach(function(t){(t.subtitle||t.subtitleEnd)&&e.removeCuepoint(t)}),a&&Array.prototype.forEach.call(a.children,i.removeNode),f(-1),r.support.subtitles&&e.conf.nativesubtitles&&"html5"==e.engine.engineName&&d(null,"disabled"),e},e.loadSubtitles=function(t){e.disableSubtitles();var n=e.video.subtitles[t],o=n.src;return o?(f(t),r.support.subtitles&&e.conf.nativesubtitles&&"html5"==e.engine.engineName?void d(t,"showing"):(i.xhrGet(o,function(t){var n=e.conf.subtitleParser(t);n.forEach(function(t){var n={time:t.startTime,subtitle:t,visible:!1};e.subtitles.push(t),e.addCuepoint(n),e.addCuepoint({time:t.endTime,subtitleEnd:t.title,visible:!1}),0!==t.startTime||e.video.time||e.splash||e.trigger("cuepoint",[e,r.extend({},n,{index:0})]),e.splash&&e.one("ready",function(){e.trigger("cuepoint",[e,n])})})},function(){return e.trigger("error",{code:8,url:o}),!1}),e)):void 0}})},{"../common":1,"../flowplayer":31,"./subtitles/parser":24,bean:34}],24:[function(e,t,n){t.exports=function(e){function t(e){var t=e.split(":");return 2==t.length&&t.unshift(0),60*t[0]*60+60*t[1]+parseFloat(t[2].replace(",","."))}for(var n,r,i,o=/^(([0-9]+:){1,2}[0-9]{2}[,.][0-9]{3}) --\> (([0-9]+:){1,2}[0-9]{2}[,.][0-9]{3})(.*)/,a=[],s=0,l=e.split("\n"),u=l.length,c={};u>s;s++)if(r=o.exec(l[s])){for(n=l[s-1],i="<p>"+l[++s]+"</p><br/>";"string"==typeof l[++s]&&l[s].trim()&&s<l.length;)i+="<p>"+l[s]+"</p><br/>";c={title:n,startTime:t(r[1]),endTime:t(r[3]),text:i},a.push(c)}return a}},{}],25:[function(e,t,n){"use strict";var r=e("../flowplayer"),i=e("extend-object");!function(){var e=function(e){var t=/iP(ad|hone)(; CPU)? OS (\d+_\d)/.exec(e);return t&&t.length>1?parseFloat(t[t.length-1].replace("_","."),10):0},t=function(){var e=document.createElement("video");return e.loop=!0,e.autoplay=!0,e.preload=!0,e},n={},o=document.documentElement.style,a=navigator.userAgent.toLowerCase(),s=/(chrome)[ \/]([\w.]+)/.exec(a)||/(safari)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];s[1]&&(n[s[1]]=!0,n.version=s[2]||"0"),n.safari&&(n.version=(/version\/([\w.]+)/.exec(a)||[])[1]);var l=t(),u=navigator.userAgent,c=n.msie||/Trident\/7/.test(u),f=/iPad|MeeGo/.test(u)&&!/CriOS/.test(u),d=/iPad/.test(u)&&/CriOS/.test(u),p=/iP(hone|od)/i.test(u)&&!/iPad/.test(u)&&!/IEMobile/i.test(u),h=/Android/.test(u),g=h&&/Firefox/.test(u),m=h&&/SAMSUNG/.test(u),v=/Silk/.test(u),y=/IEMobile/.test(u),w=y?parseFloat(/Windows\ Phone\ (\d+\.\d+)/.exec(u)[1],10):0,b=y?parseFloat(/IEMobile\/(\d+\.\d+)/.exec(u)[1],10):0,I=f||p?e(u):0,M=h?parseFloat(/Android\ (\d\.\d)/.exec(u)[1],10):0,C=(p||f||d)&&{iPhone:p,iPad:f||d,version:I,chrome:d},A=i(r.support,{browser:n,iOS:C,android:h?{firefox:g,opera:/Opera/.test(u),samsung:m,version:M}:!1,subtitles:!!l.addTextTrack,fullscreen:"boolean"==typeof document.webkitFullscreenEnabled?document.webkitFullscreenEnabled:"function"==typeof document.webkitCancelFullScreen&&!/Mac OS X 10_5.+Version\/5\.0\.\d Safari/.test(u)||document.mozFullScreenEnabled||"function"==typeof document.exitFullscreen||"function"==typeof document.msExitFullscreen,inlineBlock:!(c&&n.version<8),touch:"ontouchstart"in window,dataload:!f&&!p&&!y,flex:"flexWrap"in o||"WebkitFlexWrap"in o||"msFlexWrap"in o,svg:!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,zeropreload:!c&&!h,volume:!(f||p||v||d),cachedVideoTag:!(f||p||d||y),firstframe:!(v||y||g||m||I&&10>I||h&&4.4>M),inlineVideo:(!p||I>=10)&&(!y||w>=8.1&&b>=11)&&(!h||M>=3),hlsDuration:!h&&(!n.safari||f||p||d),seekable:!f&&!d,preloadMetadata:!C&&!n.safari});A.autoplay=A.firstframe,y&&(A.browser.safari=!1);try{var S=navigator.plugins["Shockwave Flash"],E=c?new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version"):S.description;c||S[0].enabledPlugin?(E=E.split(/\D+/),E.length&&!E[0]&&(E=E.slice(1)),A.flashVideo=E[0]>9||9==E[0]&&E[3]>=115):A.flashVideo=!1}catch(j){}try{A.video=!!l.canPlayType,A.video&&l.canPlayType("video/mp4")}catch(D){A.video=!1}A.animation=function(){for(var e=["","Webkit","Moz","O","ms","Khtml"],t=document.createElement("p"),n=0;n<e.length;n++)if("undefined"!=typeof t.style[e[n]+"AnimationName"])return!0}()}()},{"../flowplayer":31,"extend-object":39}],26:[function(e,t,n){"use strict";var r=e("../flowplayer"),i=e("../common"),o=e("bean");r(function(e,t){var n=e.conf;if(n.share!==!1&&n.twitter!==!1){e.tweet=function(){var t,r,i=550,o=420,a=screen.height,s=screen.width,l="scrollbars=yes,resizable=yes,toolbar=no,location=yes",u="string"==typeof n.twitter?n.twitter:e.shareUrl();t=Math.round(s/2-i/2),r=0,a>o&&(r=Math.round(a/2-o/2)),window.open("https://twitter.com/intent/tweet?url="+encodeURIComponent(u),"intent",l+",width="+i+",height="+o+",left="+t+",top="+r)};var r=i.find(".fp-share-menu",t)[0],a=i.createElement("a",{"class":"fp-icon fp-twitter"},"Twitter");i.append(r,a),o.on(t,"click",".fp-twitter",function(){e.tweet()})}})},{"../common":1,"../flowplayer":31,bean:34}],27:[function(e,t,n){(function(n){"use strict";function r(e){return e=parseInt(e,10),e>=10?e:"0"+e}function i(e,t){e=Math.max(e||0,0),e=t?Math.ceil(e):Math.floor(e);var n=Math.floor(e/3600),i=Math.floor(e/60);return e-=60*i,n>=1?(i-=60*n,n+":"+r(i)+":"+r(e)):r(i)+":"+r(e)}var o=e("../flowplayer"),a=e("../common"),s=e("bean"),l=e("./ui/slider"),u=e("./ui/bar-slider"),c=n("PHN2ZyBjbGFzcz0iZnAtcGxheS1yb3VuZGVkLW91dGxpbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDk5Ljg0NCA5OS44NDM0Ij48ZGVmcz48c3R5bGU+LmZwLWNvbG9yLXBsYXl7b3BhY2l0eTowLjY1O30uY29udHJvbGJ1dHRvbntmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz4KPHRpdGxlPnBsYXktcm91bmRlZC1vdXRsaW5lPC90aXRsZT48cGF0aCBjbGFzcz0iZnAtY29sb3ItcGxheSIgZD0iTTQ5LjkyMTctLjA3OGE1MCw1MCwwLDEsMCw1MCw1MEE1MC4wNTY0LDUwLjA1NjQsMCwwLDAsNDkuOTIxNy0uMDc4WiIvPjxwYXRoIGNsYXNzPSJjb250cm9sYnV0dG9uIiBkPSJNNDEuMDM1OSw3MS4xOWE1LjA0OTIsNS4wNDkyLDAsMCwxLTIuNTU3NS0uNjY3M2MtMS44MDMxLTEuMDQxLTIuNzk1OC0zLjEyNDgtMi43OTU4LTUuODY2NFYzNS4xODg3YzAtMi43NDI5Ljk5MzMtNC44MjcyLDIuNzk3LTUuODY3NiwxLjgwMjUtMS4wNDIyLDQuMTAzNC0uODYsNi40OC41MTQzTDcwLjQ3ODIsNDQuNTY3MmMyLjM3NTEsMS4zNzExLDMuNjgyNiwzLjI3MjUsMy42ODMyLDUuMzU0NXMtMS4zMDc2LDMuOTg0NS0zLjY4MzIsNS4zNTYyTDQ0Ljk1OTIsNzAuMDExNEE3LjkzODQsNy45Mzg0LDAsMCwxLDQxLjAzNTksNzEuMTlabS4wMDY1LTQwLjEyM2EyLjY3OTQsMi42Nzk0LDAsMCwwLTEuMzU4Mi4zNDEzYy0xLjAyNjMuNTkyNi0xLjU5MTIsMS45MzQ5LTEuNTkxMiwzLjc4VjY0LjY1NjNjMCwxLjg0NDkuNTY0OSwzLjE4NjYsMS41OTA2LDMuNzc5MSwxLjAyODEuNTkzMiwyLjQ3MzMuNDEwOCw0LjA3LS41MTJMNjkuMjczLDUzLjE5MDZjMS41OTgzLS45MjI3LDIuNDc4LTIuMDgzOCwyLjQ3OC0zLjI2ODlzLS44OC0yLjM0NDUtMi40NzgtMy4yNjY2TDQzLjc1NCwzMS45MjI3QTUuNTY4NSw1LjU2ODUsMCwwLDAsNDEuMDQyMywzMS4wNjcxWiIgZmlsdGVyPSJ1cmwoI2YxKSIvPjwvc3ZnPgo=","base64"),f=n("PHN2ZyBjbGFzcz0iZnAtcGxheS1yb3VuZGVkLWZpbGwiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEwMCAxMDAiPgogIDxkZWZzPjxzdHlsZT4uYXtmaWxsOiMwMDA7b3BhY2l0eTowLjY1O30uYntmaWxsOiNmZmY7b3BhY2l0eToxLjA7fTwvc3R5bGU+CiAgPC9kZWZzPjx0aXRsZT5wbGF5LXJvdW5kZWQtZmlsbDwvdGl0bGU+CiAgPHBhdGggY2xhc3M9ImZwLWNvbG9yLXBsYXkiIGQ9Ik00OS45MjE3LS4wNzhhNTAsNTAsMCwxLDAsNTAsNTBBNTAuMDU2NCw1MC4wNTY0LDAsMCwwLDQ5LjkyMTctLjA3OFoiLz4KICA8cGF0aCBjbGFzcz0iYiIgZD0iTTM1Ljk0MiwzNS4yMzIzYzAtNC43Mjg5LDMuMzUwNi02LjY2MzcsNy40NDYtNC4yOTcxTDY4LjgzLDQ1LjYyMzVjNC4wOTU2LDIuMzY0LDQuMDk1Niw2LjIzMTksMCw4LjU5NzdMNDMuMzg4LDY4LjkxYy00LjA5NTQsMi4zNjQtNy40NDYuNDMtNy40NDYtNC4yOTc5WiIgZmlsdGVyPSJ1cmwoI2YxKSIvPgogIDwvc3ZnPgogIAo=","base64"),d=n("PHN2ZyBjbGFzcz0iZnAtcGxheS1zaGFycC1maWxsIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4uZnAtY29sb3ItcGxheXtvcGFjaXR5OjAuNjU7fS5jb250cm9sYnV0dG9ue2ZpbGw6I2ZmZjt9PC9zdHlsZT4KICA8L2RlZnM+CiAgPHRpdGxlPnBsYXktc2hhcnAtZmlsbDwvdGl0bGU+CiAgPHBhdGggY2xhc3M9ImZwLWNvbG9yLXBsYXkiIGQ9Ik00OS45MjE3LS4wNzhhNTAsNTAsMCwxLDAsNTAsNTBBNTAuMDU2NCw1MC4wNTY0LDAsMCwwLDQ5LjkyMTctLjA3OFoiLz4KICA8cG9seWdvbiBjbGFzcz0iY29udHJvbGJ1dHRvbiIgcG9pbnRzPSI3My42MDEgNTAgMzcuOTY4IDcwLjU3MyAzNy45NjggMjkuNDI3IDczLjYwMSA1MCIgZmlsdGVyPSJ1cmwoI2YxKSIvPgo8L3N2Zz4K","base64"),p=n("PHN2ZyBjbGFzcz0iZnAtcGxheS1zaGFycC1vdXRsaW5lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5OS44NDQgOTkuODQzNCI+PGRlZnM+PHN0eWxlPi5jb250cm9sYnV0dG9uYmd7b3BhY2l0eTowLjY1O30uY29udHJvbGJ1dHRvbntmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz48dGl0bGU+cGxheS1zaGFycC1vdXRsaW5lPC90aXRsZT48cGF0aCBjbGFzcz0iZnAtY29sb3ItcGxheSIgZD0iTTQ5LjkyMTctLjA3OGE1MCw1MCwwLDEsMCw1MCw1MEE1MC4wNTY0LDUwLjA1NjQsMCwwLDAsNDkuOTIxNy0uMDc4WiIvPjxwYXRoIGNsYXNzPSJjb250cm9sYnV0dG9uIiBkPSJNMzYuOTQ0Myw3Mi4yNDczVjI3LjI5MTZMNzUuODc3Niw0OS43N1ptMi4yLTQxLjE0NTVWNjguNDM3MUw3MS40Nzc2LDQ5Ljc3WiIgZmlsdGVyPSJ1cmwoI2YxKSIvPjwvc3ZnPgo=","base64"),h=n("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utcm91bmRlZC1vdXRsaW5lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5OS44NDM0IDk5Ljg0MzQiPjxkZWZzPjxzdHlsZT4uZnAtY29sb3ItcGxheXtvcGFjaXR5OjAuNjU7fS5yZWN0e2ZpbGw6I2ZmZjt9PC9zdHlsZT4KPC9kZWZzPjx0aXRsZT5wYXVzZS1yb3VuZGVkLW91dGxpbmU8L3RpdGxlPjxwYXRoIGNsYXNzPSJmcC1jb2xvci1wbGF5IiBkPSJNNDkuOTIxMi0uMDc4M2E1MCw1MCwwLDEsMCw1MC4wMDA2LDUwQTUwLjA1NjIsNTAuMDU2MiwwLDAsMCw0OS45MjEyLS4wNzgzWiIvPjxnIGNsYXNzPSJjb250cm9sYnV0dG9uIj48cGF0aCBjbGFzcz0icmVjdCIgZD0iTTM5LjAwMzYsNzEuOTcyNmE3LjU2NSw3LjU2NSwwLDAsMS03LjU1Ny03LjU1NnYtMjguOTlhNy41NTY1LDcuNTU2NSwwLDAsMSwxNS4xMTMsMHYyOC45OUE3LjU2NDgsNy41NjQ4LDAsMCwxLDM5LjAwMzYsNzEuOTcyNlptMC00MS45MDRhNS4zNjQ3LDUuMzY0NywwLDAsMC01LjM1OTMsNS4zNTgydjI4Ljk5YTUuMzU4Nyw1LjM1ODcsMCwwLDAsMTAuNzE3NCwwdi0yOC45OUE1LjM2NDUsNS4zNjQ1LDAsMCwwLDM5LjAwMzYsMzAuMDY4NloiIGZpbHRlcj0idXJsKCNmMSkiLz48cGF0aCBjbGFzcz0icmVjdCIgZD0iTTYwLjg0LDcxLjk3MjZhNy41NjQ4LDcuNTY0OCwwLDAsMS03LjU1Ni03LjU1NnYtMjguOTlhNy41NTY1LDcuNTU2NSwwLDAsMSwxNS4xMTMsMHYyOC45OUE3LjU2NSw3LjU2NSwwLDAsMSw2MC44NCw3MS45NzI2Wm0wLTQxLjkwNGE1LjM2NDUsNS4zNjQ1LDAsMCwwLTUuMzU4Miw1LjM1ODJ2MjguOTlhNS4zNTg3LDUuMzU4NywwLDAsMCwxMC43MTc0LDB2LTI4Ljk5QTUuMzY0Nyw1LjM2NDcsMCwwLDAsNjAuODQsMzAuMDY4NloiIGZpbHRlcj0idXJsKCNmMSkiLz48L2c+PC9zdmc+Cg==","base64"),g=n("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utcm91bmRlZC1maWxsIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZGVmcz48c3R5bGU+LmZwLWNvbG9yLXBsYXl7b3BhY2l0eTowLjY1O30ucmVjdHtmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz48dGl0bGU+cGF1c2Utcm91bmRlZC1maWxsPC90aXRsZT48cGF0aCBjbGFzcz0iZnAtY29sb3ItcGxheSIgZD0iTTQ5LjkyMTctLjA3OGE1MCw1MCwwLDEsMCw1MCw1MEE1MC4wNTY0LDUwLjA1NjQsMCwwLDAsNDkuOTIxNy0uMDc4WiIvPjxnIGNsYXNzPSJjb250cm9sYnV0dG9uIiBmaWx0ZXI9InVybCgjZjEpIj48cmVjdCBjbGFzcz0icmVjdCIgeD0iMzEuODQ0IiB5PSIyOC4xMjMxIiB3aWR0aD0iMTMuNDM2MiIgaGVpZ2h0PSI0My41OTczIiByeD0iNi43MTgxIiByeT0iNi43MTgxIi8+PHJlY3QgY2xhc3M9InJlY3QiIHg9IjU0LjU2MzgiIHk9IjI4LjEyMzEiIHdpZHRoPSIxMy40MzYyIiBoZWlnaHQ9IjQzLjU5NzMiIHJ4PSI2LjcxODEiIHJ5PSI2LjcxODEiLz48L2c+PC9zdmc+Cg==","base64"),m=n("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utc2hhcnAtZmlsbCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PGRlZnM+PHN0eWxlPi5mcC1jb2xvci1wbGF5e29wYWNpdHk6MC42NTt9LnJlY3R7ZmlsbDojZmZmO308L3N0eWxlPgo8L2RlZnM+PHRpdGxlPnBhdXNlLXNoYXJwLWZpbGw8L3RpdGxlPjxwYXRoIGNsYXNzPSJmcC1jb2xvci1wbGF5IiBkPSJNNDkuOTIxNy0uMDc4YTUwLDUwLDAsMSwwLDUwLDUwQTUwLjA1NjQsNTAuMDU2NCwwLDAsMCw0OS45MjE3LS4wNzhaIi8+PGcgY2xhc3M9ImNvbnRyb2xidXR0b24iIGZpbHRlcj0idXJsKCNmMSkiPjxyZWN0IGNsYXNzPSJyZWN0IiB4PSIzMy41IiB5PSIzMC4xMDQyIiB3aWR0aD0iMTIuMjYzNCIgaGVpZ2h0PSIzOS43OTE3Ii8+PHJlY3QgY2xhc3M9InJlY3QiIHg9IjU0LjIzNjYiIHk9IjMwLjEwNDIiIHdpZHRoPSIxMi4yNjM0IiBoZWlnaHQ9IjM5Ljc5MTciLz48L2c+PC9zdmc+Cg==","base64"),v=n("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utc2hhcnAtb3V0bGluZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgOTkuODQzNCA5OS44NDM0Ij48ZGVmcz48c3R5bGU+LmZwLWNvbG9yLXBsYXl7b3BhY2l0eTowLjY1O30ucmVjdHtmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz48dGl0bGU+cGF1c2Utc2hhcnAtb3V0bGluZTwvdGl0bGU+PHBhdGggY2xhc3M9ImZwLWNvbG9yLXBsYXkiIGQ9Ik00OS45MjEyLS4wNzgzYTUwLDUwLDAsMSwwLDUwLjAwMDYsNTBBNTAuMDU2Miw1MC4wNTYyLDAsMCwwLDQ5LjkyMTItLjA3ODNaIi8+PGcgY2xhc3M9ImNvbnRyb2xidXR0b24iIGZpbHRlcj0idXJsKCNmMSkiPjxwYXRoIGNsYXNzPSJyZWN0IiBkPSJNNDYuODcwOSw2OS45NTMxSDMzLjEzODVWMjkuODlINDYuODcwOVpNMzUuMTQxNiw2Ny45NWg5LjcyNjJWMzEuODkzNUgzNS4xNDE2WiIvPjxwYXRoIGNsYXNzPSJyZWN0IiBkPSJNNjYuNzA0Nyw2OS45NTMxSDUyLjk3MjJWMjkuODlINjYuNzA0N1pNNTQuOTc1NCw2Ny45NWg5LjcyNjJWMzEuODkzNUg1NC45NzU0WiIvPjwvZz48L3N2Zz4K","base64"),y=n("PHN2ZyBjbGFzcz0iZnAtbG9hZGluZy1yb3VuZGVkLW91dGxpbmUiIHdpZHRoPScxMTJweCcgaGVpZ2h0PScxMTJweCcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPgogICAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9Ijc2IiBoZWlnaHQ9Ijc2IiBmaWxsPSJyZ2JhKDAsMCwwLDApIiBjbGFzcz0iYmsiPjwvcmVjdD4KICAgIDxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSIxMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjUgMjUpIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMCwwLDAsLjUpIiBzdHJva2Utd2lkdGg9IjMlIiBjbGFzcz0ic3EiPgogICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjAuMHMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMC4wcyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICAgIDwvY2lyY2xlPgogICAgPGNpcmNsZSBjeD0iMCIgY3k9IjAiIHI9IjEwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1MCAyNSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgwLDAsMCwuNSkiIHN0cm9rZS13aWR0aD0iMyUiIGNsYXNzPSJzcSI+CiAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InN0cm9rZSIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMC40cyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjRzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogICAgPC9jaXJjbGU+CiAgICA8Y2lyY2xlIGN4PSIwIiBjeT0iMCIgcj0iMTAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUwIDUwKSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDAsMCwwLC41KSIgc3Ryb2tlLXdpZHRoPSIzJSIgY2xhc3M9InNxIj4KICAgICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ic3Ryb2tlIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIwLjhzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBhZGRpdGl2ZT0ic3VtIiBmcm9tPSIwLjgiIHRvPSIxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuOHMiIGR1cj0iMS42cyIgdmFsdWVzPSIxOzAuODswLjg7MTsxIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGVUcmFuc2Zvcm0+CiAgICA8L2NpcmNsZT4KICAgIDxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSIxMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjUgNTApIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMCwwLDAsLjUpIiBzdHJva2Utd2lkdGg9IjMlIiBjbGFzcz0ic3EiPgogICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjEuMnMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMS4ycyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICAgIDwvY2lyY2xlPgo8L3N2Zz4K","base64"),w=n("PHN2ZyBjbGFzcz0iZnAtbG9hZGluZy1yb3VuZGVkLWZpbGwiIHdpZHRoPScxMTJweCcgaGVpZ2h0PScxMTJweCcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPgogICAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9Ijc2IiBoZWlnaHQ9Ijc2IiBmaWxsPSJyZ2JhKDAsMCwwLDApIiBjbGFzcz0iYmsiPjwvcmVjdD4KICAgIDxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSIxMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjUgMjUpIiBmaWxsPSJyZ2JhKDAsMCwwLC41KSIgY2xhc3M9InNxIj4KICAgICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iZmlsbCIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMC4wcyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjBzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogICAgPC9jaXJjbGU+CiAgICA8Y2lyY2xlIGN4PSIwIiBjeT0iMCIgcj0iMTAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUwIDI1KSIgZmlsbD0icmdiYSgwLDAsMCwuNSkiIGNsYXNzPSJzcSI+CiAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImZpbGwiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjAuNHMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMC40cyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICAgIDwvY2lyY2xlPgogICAgPGNpcmNsZSBjeD0iMCIgY3k9IjAiIHI9IjEwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1MCA1MCkiIGZpbGw9InJnYmEoMCwwLDAsLjUpIiBjbGFzcz0ic3EiPgogICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIwLjhzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBhZGRpdGl2ZT0ic3VtIiBmcm9tPSIwLjgiIHRvPSIxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuOHMiIGR1cj0iMS42cyIgdmFsdWVzPSIxOzAuODswLjg7MTsxIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGVUcmFuc2Zvcm0+CiAgICA8L2NpcmNsZT4KICAgIDxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSIxMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjUgNTApIiBmaWxsPSJyZ2JhKDAsMCwwLC41KSIgY2xhc3M9InNxIj4KICAgICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iZmlsbCIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMS4ycyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIxLjJzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogICAgPC9jaXJjbGU+Cjwvc3ZnPgo=","base64"),b=n("PHN2ZyBjbGFzcz0iZnAtbG9hZGluZy1zaGFycC1maWxsIiB3aWR0aD0nMTEycHgnIGhlaWdodD0nMTEycHgnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iNzYiIGhlaWdodD0iNzYiIGZpbGw9InJnYmEoMCwwLDAsMCkiIGNsYXNzPSJiayI+PC9yZWN0PgogIDxyZWN0IHg9Ii0xMCIgeT0iLTEwIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI1IDI1KSIgZmlsbD0icmdiYSgwLDAsMCwuNSkiIGNsYXNzPSJzcSI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIwLjBzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjBzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogIDwvcmVjdD4KICA8cmVjdCB4PSItMTAiIHk9Ii0xMCIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1MCAyNSkiIGZpbGw9InJnYmEoMCwwLDAsLjUpIiBjbGFzcz0ic3EiPgogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iZmlsbCIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMC40cyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMC40cyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICA8L3JlY3Q+CiAgPHJlY3QgeD0iLTEwIiB5PSItMTAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTAgNTApIiBmaWxsPSJyZ2JhKDAsMCwwLC41KSIgY2xhc3M9InNxIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImZpbGwiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjAuOHMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBhZGRpdGl2ZT0ic3VtIiBmcm9tPSIwLjgiIHRvPSIxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuOHMiIGR1cj0iMS42cyIgdmFsdWVzPSIxOzAuODswLjg7MTsxIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGVUcmFuc2Zvcm0+CiAgPC9yZWN0PgogIDxyZWN0IHg9Ii0xMCIgeT0iLTEwIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI1IDUwKSIgZmlsbD0icmdiYSgwLDAsMCwuNSkiIGNsYXNzPSJzcSI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIxLjJzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIxLjJzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogIDwvcmVjdD4KPC9zdmc+Cg==","base64"),I=n("PHN2ZyBjbGFzcz0iZnAtbG9hZGluZy1zaGFycC1vdXRsaW5lIiB3aWR0aD0nMTEycHgnIGhlaWdodD0nMTEycHgnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iNzYiIGhlaWdodD0iNzYiIGZpbGw9InJnYmEoMCwwLDAsMCkiIGNsYXNzPSJiayI+PC9yZWN0PgogIDxyZWN0IHg9Ii05IiB5PSItOSIgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNSAyNSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgwLDAsMCwuNSkiIHN0cm9rZS13aWR0aD0iMyUiIGNsYXNzPSJzcSI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjAuMHMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMC4wcyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICA8L3JlY3Q+CiAgPHJlY3QgeD0iLTkiIHk9Ii05IiB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUwIDI1KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDAsMCwwLC41KSIgc3Ryb2tlLXdpZHRoPSIzJSIgY2xhc3M9InNxIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InN0cm9rZSIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMC40cyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjRzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogIDwvcmVjdD4KICA8cmVjdCB4PSItOSIgeT0iLTkiIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTAgNTApIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMCwwLDAsLjUpIiBzdHJva2Utd2lkdGg9IjMlIiBjbGFzcz0ic3EiPgogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ic3Ryb2tlIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIwLjhzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBhZGRpdGl2ZT0ic3VtIiBmcm9tPSIwLjgiIHRvPSIxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuOHMiIGR1cj0iMS42cyIgdmFsdWVzPSIxOzAuODswLjg7MTsxIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGVUcmFuc2Zvcm0+CiAgPC9yZWN0PgogIDxyZWN0IHg9Ii05IiB5PSItOSIgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNSA1MCkiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgwLDAsMCwuNSkiIHN0cm9rZS13aWR0aD0iMyUiIGNsYXNzPSJzcSI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjEuMnMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMS4ycyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICA8L3JlY3Q+Cjwvc3ZnPgo=","base64");
8
- o(function(e,t){function r(e){return a.find(".fp-"+e,t)[0]}function M(e){a.css(T,"padding-top",100*e+"%"),D.inlineBlock||a.height(a.find("object",t)[0],a.height(t))}function C(e){e?(a.addClass(t,"is-mouseover"),a.removeClass(t,"is-mouseout")):(a.addClass(t,"is-mouseout"),a.removeClass(t,"is-mouseover"))}a.find(".fp-filters").forEach(a.removeNode);try{var A;document.body.appendChild(A=a.createElement("div",{},n("PHN2ZyBjbGFzcz0iZnAtZmlsdGVycyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMCAwIj4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9ImYxIiB4PSItMjAlIiB5PSItMjAlIiB3aWR0aD0iMjAwJSIgaGVpZ2h0PSIyMDAlIj4KICAgICAgPGZlT2Zmc2V0IHJlc3VsdD0ib2ZmT3V0IiBpbj0iU291cmNlQWxwaGEiIGR4PSIwIiBkeT0iMCIgLz4KICAgICAgPGZlQ29sb3JNYXRyaXggcmVzdWx0PSJtYXRyaXhPdXQiIGluPSJvZmZPdXQiIHR5cGU9Im1hdHJpeCIKICAgICAgdmFsdWVzPSIwLjMgMCAwIDAgMCAwIDAuMyAwIDAgMCAwIDAgMC4zIDAgMCAwIDAgMCAwLjQgMCIgLz4KICAgICAgPGZlR2F1c3NpYW5CbHVyIHJlc3VsdD0iYmx1ck91dCIgaW49Im1hdHJpeE91dCIgc3RkRGV2aWF0aW9uPSI0IiAvPgogICAgICA8ZmVCbGVuZCBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJibHVyT3V0IiBtb2RlPSJub3JtYWwiIC8+CiAgICA8L2ZpbHRlcj4KICA8L2RlZnM+Cjwvc3ZnPgo=","base64"))),a.css(A,{width:0,height:0,overflow:"hidden",position:"absolute",margin:0,padding:0})}catch(S){}var E,j=e.conf,D=o.support;a.find(".fp-ratio,.fp-ui",t).forEach(a.removeNode),a.addClass(t,"flowplayer"),t.appendChild(a.createElement("div",{className:"fp-ratio"}));var N=a.createElement("div",{className:"fp-ui"},' <div class="fp-waiting"> {{ LOADING_SHARP_OUTLINE }} {{ LOADING_SHARP_FILL }} {{ LOADING_ROUNDED_FILL }} {{ LOADING_ROUNDED_OUTLINE }} </div> <div class="fp-header"> <a class="fp-share fp-icon"></a> <a class="fp-fullscreen fp-icon"></a> <a class="fp-unload fp-icon"></a> </div> <p class="fp-speed-flash"></p> <div class="fp-play fp-visible"> <a class="fp-icon fp-playbtn"></a> {{ PLAY_ROUNDED_FILL }} {{ PLAY_ROUNDED_OUTLINE }} {{ PLAY_SHARP_FILL }} {{ PLAY_SHARP_OUTLINE }} </div> <div class="fp-pause"> <a class="fp-icon fp-playbtn"></a> {{ PAUSE_SHARP_OUTLINE }} {{ PAUSE_SHARP_FILL }} {{ PAUSE_ROUNDED_OUTLINE }} {{ PAUSE_ROUNDED_FILL }} </div> <div class="fp-controls"> <a class="fp-icon fp-playbtn"></a> <span class="fp-elapsed">00:00</span> <div class="fp-timeline fp-bar"> <span class="fp-timestamp"></span> <div class="fp-progress fp-color"></div> </div> <span class="fp-duration"></span> <span class="fp-remaining"></span> <div class="fp-volume"> <a class="fp-icon fp-volumebtn"></a> <div class="fp-volumebar fp-bar-slider"> <em></em><em></em><em></em><em></em><em></em><em></em><em></em> </div> </div> <strong class="fp-speed fp-hidden"></strong> </div>'.replace("{{ PAUSE_ROUNDED_FILL }}",g).replace("{{ PAUSE_ROUNDED_OUTLINE }}",h).replace("{{ PAUSE_SHARP_FILL }}",m).replace("{{ PAUSE_SHARP_OUTLINE }}",v).replace("{{ PLAY_SHARP_OUTLINE }}",p).replace("{{ PLAY_SHARP_FILL }}",d).replace("{{ PLAY_ROUNDED_OUTLINE }}",c).replace("{{ PLAY_ROUNDED_FILL }}",f).replace("{{ LOADING_ROUNDED_OUTLINE }}",y).replace("{{ LOADING_ROUNDED_FILL }}",w).replace("{{ LOADING_SHARP_FILL }}",b).replace("{{ LOADING_SHARP_OUTLINE }}",I).replace(/url\(#/g,"url("+window.location.href.replace(window.location.hash,"").replace(/\#$/g,"")+"#"));t.appendChild(N);var x=r("waiting"),L=r("elapsed"),T=r("ratio"),Z=r("speed-flash"),P=r("duration"),k=r("remaining"),Y=r("timestamp"),z=a.css(T,"padding-top"),O=r("play"),G=r("pause"),R=r("timeline"),W=l(R,e.rtl),U=r("fullscreen"),J=r("volumebar"),B=u(J,{rtl:e.rtl}),F=a.hasClass(t,"no-toggle");W.disableAnimation(a.hasClass(t,"is-touch")),e.sliders=e.sliders||{},e.sliders.timeline=W,e.sliders.volume=B;var H=[];D.svg||a.html(x,"<p>loading &hellip;</p>"),j.ratio&&M(j.ratio);try{j.fullscreen||a.removeNode(U)}catch(S){a.removeNode(U)}e.on("dvrwindow",function(){W.disable(!1)}),e.on("ready",function(e,n,r){var o=n.video.duration;W.disable(n.disabled||!o),j.adaptiveRatio&&!isNaN(r.height/r.width)&&M(r.height/r.width,!0),a.html([P,k],n.live?"Live":i(o)),a.toggleClass(t,"is-long",o>=3600),B.slide(n.volumeLevel),"flash"===n.engine.engineName?W.disableAnimation(!0,!0):W.disableAnimation(!1),a.find(".fp-title",N).forEach(a.removeNode),r.title&&a.prepend(N,a.createElement("div",{className:"fp-message fp-title"},r.title)),a.toggleClass(t,"has-title",!!r.title)}).on("unload",function(){z||j.splash||a.css(T,"paddingTop",""),W.slide(0),a.addClass(O,"fp-visible")}).on("buffer",function(e,t,n){var r=t.video,i=r.buffer/r.duration;!r.seekable&&D.seekable&&W.max(t.conf.live?1/0:i),n&&"number"!=typeof n||(n=[{start:0,end:r.buffer}]);var o=a.find(".fp-buffer",R);o.length!==n.length&&(o.forEach(a.removeNode),o=[]),n.forEach(function(e,t){var n=o[t]||a.createElement("div",{className:"fp-buffer"});a.css(n,{left:100*e.start/r.duration+"%",width:100*(e.end-e.start)/r.duration+"%"}),a.prepend(R,n)})}).on("speed",function(e,t,n){t.video.time&&(a.text(Z,n+"x"),a.addClass(Z,"fp-shown"),H=H.filter(function(e){return clearTimeout(e),!1}),H.push(setTimeout(function(){a.addClass(Z,"fp-hilite"),H.push(setTimeout(function(){a.removeClass(Z,"fp-hilite"),H.push(setTimeout(function(){a.removeClass(Z,"fp-shown")},300))},1e3))})))}).on("buffered",function(){W.max(1)}).on("progress seek",function(n,r,o){var s=e.video.duration,l=e.video.seekOffset||0;o=o||e.video.time;var u=(o-l)/(s-l);W.dragging||W.slide(u,e.seeking?0:250),a.toggleClass(t,"is-live-position",s-o<j.livePositionOffset),a.html(L,i(o)),a.html(k,i(s-o,!0))}).on("finish resume seek",function(e){a.toggleClass(t,"is-finished","finish"==e.type)}).on("resume",function(){a.addClass(O,"fp-visible"),setTimeout(function(){a.removeClass(O,"fp-visible")},300)}).on("pause",function(){a.addClass(G,"fp-visible"),setTimeout(function(){a.removeClass(G,"fp-visible")},300)}).on("stop",function(){a.html(L,i(0)),W.slide(0,100)}).on("finish",function(){a.html(L,i(e.video.duration)),W.slide(1,100),a.removeClass(t,"is-seeking")}).on("beforeseek",function(){}).on("volume",function(){B.slide(e.volumeLevel)}).on("disable",function(){var n=e.disabled;W.disable(n),B.disable(n),a.toggleClass(t,"is-disabled",e.disabled)}).on("mute",function(e,n,r){a.toggleClass(t,"is-muted",r)}).on("error",function(e,n,r){if(a.removeClass(t,"is-loading"),a.removeClass(t,"is-seeking"),a.addClass(t,"is-error"),r){n.error=!0;var i=r.code;(r.message||"").match(/DECODER_ERROR_NOT_SUPPORTED/)&&(i=3);var o=n.message((n.engine&&n.engine.engineName||"html5")+": "+j.errors[i]);a.removeClass(t,"is-mouseover"),n.one("load progress",function(){o()})}}).one("resume ready",function(){var e=a.find("video.fp-engine",t)[0];if(e&&(!a.width(e)||!a.height(e))){var n=t.style.overflow;t.style.overflow="visible",setTimeout(function(){n?t.style.overflow=n:t.style.removeProperty("overflow")})}}),s.on(t,"mouseenter mouseleave",function(n){if(!F){var r,i="mouseover"==n.type;if(C(i),i){var o=function(){C(!0),r=new Date};e.on("pause.x volume.x",o),s.on(t,"mousemove.x",o),E=setInterval(function(){new Date-r>j.mouseoutTimeout&&(C(!1),r=new Date)},100)}else s.off(t,"mousemove.x"),e.off("pause.x volume.x"),clearInterval(E)}}),s.on(t,"mouseleave",function(){(W.dragging||B.dragging)&&(a.addClass(t,"is-mouseover"),a.removeClass(t,"is-mouseout"))}),s.on(t,"click.player",function(t){return e.disabled?void 0:a.hasClass(t.target,"fp-ui")||a.hasClass(t.target,"fp-engine")||t.flash||a.hasParent(t.target,".fp-play,.fp-pause")?(t.preventDefault&&t.preventDefault(),e.toggle()):void 0}),s.on(t,"mousemove",".fp-timeline",function(t){var n=t.pageX||t.clientX,r=n-a.offset(R).left,o=r/a.width(R),s=e.video,l=s.duration-(void 0===s.seekOffset?0:s.seekOffset),u=(e.rtl?1-o:o)*l;if(!(0>o)){a.html(Y,i(u));var c=r-a.width(Y)/2;0>c&&(c=0),c>a.width(R)-a.width(Y)&&(c=!1),c!==!1?a.css(Y,{left:c+"px",right:"auto"}):a.css(Y,{left:"auto",right:"0px"})}}),s.on(t,"contextmenu",function(n){var r=window;if(!a.hasClass(t,"is-flash-disabled")){var i=a.find(".fp-context-menu",t)[0];i&&(n.preventDefault(),e.showMenu(i,{left:n.clientX-r.scrollX,top:n.clientY-r.scrollY}),s.on(t,"click",".fp-context-menu",function(e){e.stopPropagation()}))}}),e.on("flashdisabled",function(n,r,i){a.addClass(t,"is-flash-disabled");var o;i!==!1&&(o=e.message("Seems something is blocking Adobe Flash from running")),e.one("ready progress",function(){a.removeClass(t,"is-flash-disabled"),o&&o()})}),j.poster&&a.css(t,"background-image","url("+j.poster+")");var V=a.css(t,"background-color"),X="none"!=a.css(t,"background-image")||V&&"rgba(0, 0, 0, 0)"!=V&&"transparent"!=V;if(X&&!j.splash){j.poster||(j.poster=!0);var _=function(){a.addClass(t,"is-poster"),a.addClass(O,"fp-visible"),e.poster=!0,e.on("resume.poster progress.poster beforeseek.poster",function(n){("beforeseek"===n.type||e.playing)&&(a.removeClass(t,"is-poster"),a.removeClass(O,"fp-visible"),e.poster=!1,e.off(".poster"))})};e.on("stop",function(){_()}),e.on("ready",function(e,t,n){n.index||n.autoplay||_()})}"string"==typeof j.splash&&a.css(t,"background-image","url('"+j.splash+"')"),!X&&e.forcedSplash&&a.css(t,"background-color","#555"),s.on(t,"click",".fp-toggle, .fp-play, .fp-playbtn",function(){e.disabled||e.toggle()}),s.on(t,"click",".fp-volumebtn",function(){e.mute()}),s.on(t,"click",".fp-fullscreen",function(){e.fullscreen()}),s.on(t,"click",".fp-unload",function(){e.unload()}),s.on(R,"slide",function(t){e.seeking=!0,e.seekTo(10*t)}),s.on(J,"slide",function(t){e.volume(t)}),s.on(t,"click",".fp-duration,.fp-remaining",function(){return e.dvr?e.seekTo(10):void a.toggleClass(t,"is-inverted")}),C(F);var K;if(e.on("shutdown",function(){s.off(R),s.off(J),K&&window.cancelAnimationFrame(K),a.removeNode(N),a.find(".fp-ratio",t).forEach(a.removeNode)}),"function"==typeof window.requestAnimationFrame){var Q=function(){var e=a.find(".fp-player",t)[0]||t;a.toggleClass(t,"is-tiny",e.clientWidth<400),a.toggleClass(t,"is-small",e.clientWidth<600&&e.clientWidth>=400),K=window.requestAnimationFrame(Q)};K=window.requestAnimationFrame(Q)}}),t.exports.format=i}).call(this,e("buffer").Buffer)},{"../common":1,"../flowplayer":31,"./ui/bar-slider":28,"./ui/slider":29,bean:34,buffer:35}],28:[function(e,t,n){function r(e,t){function n(t){var n=t.pageX||t.clientX,r=o.offset(e),i=o.width(e);!n&&t.originalEvent&&t.originalEvent.touches&&t.originalEvent.touches.length&&(n=t.originalEvent.touches[0].pageX);var a=n-r.left;a=Math.max(0,Math.min(i,a));var s=a/i;return l&&(s=1-s),s}t=t||{};var r=t.activeClass||"fp-color",a=t.inactiveClass||"fp-grey",s=t.childSelector||"em",l=!!t.rtl,u=!1,c=o.find(s,e).length,f={unload:function(){i.off(e,".barslider")},slide:function(t,n){o.find(s,e).forEach(function(e,n){var i=t>n/c;o.toggleClass(e,r,i),o.toggleClass(e,a,!i)}),n&&i.fire(e,"slide",[t])},disable:function(e){u=e}};return i.on(e,"mousedown.sld touchstart.sld",function(t){t.preventDefault(),u||(f.slide(n(t),!0),i.on(e,"mousemove.sld touchmove.sld",function(e){e.preventDefault(),f.slide(n(e),!0)}),i.one(document,"mouseup.sld touchup.sld",function(){i.off(e,"mousemove.sld touchmove.sld")}))}),f}var i=e("bean"),o=e("../../common");t.exports=r},{"../../common":1,bean:34}],29:[function(e,t,n){"use strict";var r=e("bean"),i=e("../../common"),o=function(e,t){var n;return function(){n||(e.apply(this,arguments),n=1,setTimeout(function(){n=0},t))}},a=function(e,t){var n,a,s,l,u,c,f,d,p=i.lastChild(e),h=!1,g=function(){a=i.offset(e),s=i.width(e),l=i.height(e),c=u?l:s,d=w(f)},m=function(t){n||t==b.value||f&&!(f>t)||(r.fire(e,"slide",[t]),b.value=t)},v=function(e){var n=e.pageX||e.clientX;!n&&e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches.length&&(n=e.originalEvent.touches[0].pageX);var r=u?e.pageY-a.top:n-a.left;r=Math.max(0,Math.min(d||c,r));var i=r/c;return u&&(i=1-i),t&&(i=1-i),y(i,0,!0)},y=function(e,t){void 0===t&&(t=0),e>1&&(e=1);var n=Math.round(1e3*e)/10+"%";return(!f||f>=e)&&(h?i.removeClass(p,"animated"):(i.addClass(p,"animated"),i.css(p,"transition-duration",(t||0)+"ms")),i.css(p,"width",n)),e},w=function(e){return Math.max(0,Math.min(c,u?(1-e)*l:e*s))},b={max:function(e){f=e},disable:function(e){n=e},slide:function(e,t,n){g(),n&&m(e),y(e,t)},disableAnimation:function(t,n){h=t!==!1,i.toggleClass(e,"no-animation",!!n)}};return g(),r.on(e,"mousedown.sld touchstart",function(t){if(t.preventDefault(),!n){var a=o(m,100);g(),b.dragging=!0,i.addClass(e,"is-dragging"),m(v(t)),r.on(document,"mousemove.sld touchmove.sld",function(e){e.preventDefault(),a(v(e))}),r.one(document,"mouseup touchend",function(){b.dragging=!1,i.removeClass(e,"is-dragging"),r.off(document,"mousemove.sld touchmove.sld")})}}),b};t.exports=a},{"../../common":1,bean:34}],30:[function(e,t,n){function r(e){var t=document.createElement("textarea");t.value=e,t.style.opacity=0,t.style.position="absolute",document.body.appendChild(t),t.select();var n=document.execCommand("copy");if(document.body.removeChild(t),!n)throw new Error("Unsuccessfull")}t.exports=function(e,t,n){try{r(e),t()}catch(i){n(i)}}},{}],31:[function(e,t,n){"use strict";function r(e,t,n){t&&t.embed&&(t.embed=i({},v.defaults.embed,t.embed));var r=!1;try{"undefined"==typeof v.conf.storage&&"object"==typeof window.localStorage&&(window.localStorage.flowplayerTestStorage="test",r=!0)}catch(s){}var l,p,h=e,g=i({},v.defaults,v.conf,t),m={},b=h.className,I=new w;u.addClass(h,"is-loading"),u.toggleClass(h,"no-flex",!v.support.flex),u.toggleClass(h,"no-svg",!v.support.svg);try{m=v.conf.storage||(r?window.localStorage:m)}catch(M){}if(g.volume="true"===m.muted?0:g.volume!==v.defaults.volume?g.volume:isNaN(m.volume)?g.volume:m.volume,g.debug=!!m.flowplayerDebug||g.debug,g.aspectRatio&&"string"==typeof g.aspectRatio){var C=g.aspectRatio.split(/[:\/]/);g.ratio=C[1]/C[0]}var A=h.currentStyle&&"rtl"===h.currentStyle.direction||window.getComputedStyle&&null!==window.getComputedStyle(h,null)&&"rtl"===window.getComputedStyle(h,null).getPropertyValue("direction");A&&u.addClass(h,"is-rtl");var S={conf:g,currentSpeed:1,volumeLevel:g.muted?0:"undefined"==typeof g.volume?1*m.volume:g.volume,video:{},disabled:!1,finished:!1,loading:!1,muted:"true"==m.muted||g.muted,paused:!1,playing:!1,ready:!1,splash:!1,rtl:A,hijack:function(e){try{S.engine.suspendEngine()}catch(t){}S.hijacked=e},release:function(){try{S.engine.resumeEngine()}catch(e){}S.hijacked=!1},debug:function(){g.debug&&console.log.apply(console,["DEBUG"].concat([].slice.call(arguments)))},load:function(e,t){if(!S.error&&!S.loading){S.video={},S.finished=!1,e=e||g.clip,e=i({},I.resolve(e,g.clip.sources)),(S.playing||S.engine)&&(e.autoplay=!0);var n=E(e);if(!n)return setTimeout(function(){S.trigger("error",[S,{code:v.support.flashVideo?5:10}])})&&S;if(!n.engineName)throw new Error("engineName property of factory should be exposed");if(S.engine&&n.engineName===S.engine.engineName||(S.ready=!1,S.engine&&(S.engine.unload(),S.conf.autoplay=!0),p=S.engine=n(S,h),S.one("ready",function(){setTimeout(function(){S.muted?S.mute(!0,!0):p.volume(S.volumeLevel)})})),i(e,p.pick(e.sources.filter(function(e){return e.engine?e.engine===p.engineName:!0}))),e.src){var r=S.trigger("load",[S,e,p],!0);r.defaultPrevented?S.loading=!1:(S.ready=!1,p.load(e),o(e)&&(t=e),t&&S.one("ready",t))}return S}},pause:function(e){return S.hijacked?S.hijacked.pause(e)|S:(!S.ready||S.seeking||S.loading||(p.pause(),S.one("pause",e)),S)},resume:function(){var e=S.trigger("beforeresume",[S],!0);if(!e.defaultPrevented)return S.hijacked?S.hijacked.resume()|S:(S.ready&&S.paused&&(p.resume(),S.finished&&(S.trigger("resume",[S]),S.finished=!1)),S)},toggle:function(){return S.ready?S.paused?S.resume():S.pause():S.load()},seek:function(e,t){if("boolean"==typeof e){var n=S.conf.seekStep||.1*S.video.duration;e=S.video.time+(e?n:-n),e=Math.min(Math.max(e,0),S.video.duration-.1)}if("undefined"==typeof e)return S;if(S.hijacked)return S.hijacked.seek(e,t)|S;if(S.ready){l=e;var r=S.trigger("beforeseek",[S,e],!0);r.defaultPrevented?(S.seeking=!1,u.toggleClass(h,"is-seeking",S.seeking)):(p.seek(e),o(t)&&S.one("seek",t))}return S},seekTo:function(e,t){return void 0===e?S.seek(l,t):void 0!==S.video.seekOffset?S.seek(S.video.seekOffset+.1*(S.video.duration-S.video.seekOffset)*e,t):S.seek(.1*S.video.duration*e,t)},mute:function(e,t){return void 0===e&&(e=!S.muted),S.muted=e,t||(m.muted=e,m.volume=isNaN(m.volume)?g.volume:m.volume),"undefined"!=typeof p.mute?p.mute(e):(S.volume(e?0:m.volume,!0),S.trigger("mute",[S,e])),S},volume:function(e,t){return S.ready&&(e=Math.min(Math.max(e,0),1),t||(m.volume=e),p.volume(e)),S},speed:function(e,t){return S.ready&&("boolean"==typeof e&&(e=g.speeds[g.speeds.indexOf(S.currentSpeed)+(e?1:-1)]||S.currentSpeed),p.speed(e),t&&h.one("speed",t)),S},stop:function(){return S.ready&&(S.pause(),!S.live||S.dvr?S.seek(0,function(){S.trigger("stop",[S])}):S.trigger("stop",[S])),S},unload:function(){return g.splash?(S.trigger("unload",[S]),p&&(p.unload(),S.engine=p=0)):S.stop(),S},shutdown:function(){S.unload(),S.trigger("shutdown",[S]),a.off(h),delete f[h.getAttribute("data-flowplayer-instance-id")],h.removeAttribute("data-flowplayer-instance-id")},disable:function(e){return void 0===e&&(e=!S.disabled),e!=S.disabled&&(S.disabled=e,S.trigger("disable",e)),S},registerExtension:function(e,t){e=e||[],t=t||[],"string"==typeof e&&(e=[e]),"string"==typeof t&&(t=[t]),e.forEach(function(e){S.extensions.js.push(e)}),t.forEach(function(e){S.extensions.css.push(e)})}};S.conf=i(S.conf,g),S.extensions={js:[],css:[]},v.extensions.forEach(function(e){S.registerExtension(e[0],e[1])}),c(S);var E=function(e){var t,n=v.engines;if(g.engine){var r=n.filter(function(e){return e.engineName===g.engine})[0];if(r&&e.sources.some(function(e){return e.engine&&e.engine!==r.engineName?!1:r.canPlay(e.type,S.conf)}))return r}return g.enginePreference&&(n=v.engines.filter(function(e){return g.enginePreference.indexOf(e.engineName)>-1}).sort(function(e,t){return g.enginePreference.indexOf(e.engineName)-g.enginePreference.indexOf(t.engineName)})),e.sources.some(function(e){var r=n.filter(function(t){return e.engine&&e.engine!==t.engineName?!1:t.canPlay(e.type,S.conf)}).shift();return r&&(t=r),!!r}),t};return h.getAttribute("data-flowplayer-instance-id")||(h.setAttribute("data-flowplayer-instance-id",y++),S.on("boot",function(){var e=v.support;(g.splash||u.hasClass(h,"is-splash")||!e.firstframe)&&(S.forcedSplash=!g.splash&&!u.hasClass(h,"is-splash"),S.splash=!0,g.splash||(g.splash=!0),u.addClass(h,"is-splash")),g.splash&&u.find("video",h).forEach(u.removeNode),(g.dvr||g.live||u.hasClass(h,"is-live"))&&(S.live=g.live=!0,S.dvr=g.dvr=!!g.dvr||u.hasClass(h,"is-dvr"),u.addClass(h,"is-live"),u.toggleClass(h,"is-dvr",S.dvr)),d.forEach(function(e){e(S,h)}),f.push(S),g.splash?S.unload():S.load(),g.disabled&&S.disable(),S.one("ready",n),S.one("shutdown",function(){h.className=b})}).on("load",function(e,t,n){g.splash&&u.find(".flowplayer.is-ready,.flowplayer.is-loading").forEach(function(e){var t=e.getAttribute("data-flowplayer-instance-id");if(t!==h.getAttribute("data-flowplayer-instance-id")){var n=f[Number(t)];n&&n.conf.splash&&n.unload()}}),u.addClass(h,"is-loading"),t.loading=!0,("undefined"!=typeof n.live||"undefined"!=typeof n.dvr)&&(u.toggleClass(h,"is-live",n.dvr||n.live),u.toggleClass(h,"is-dvr",!!n.dvr),t.live=n.dvr||n.live,t.dvr=!!n.dvr)}).on("ready",function(e,t,n){n.time=0,t.video=n,u.removeClass(h,"is-loading"),t.loading=!1,t.muted?t.mute(!0,!0):t.volume(t.volumeLevel);var r=t.conf.hlsFix&&/mpegurl/i.exec(n.type);u.toggleClass(h,"hls-fix",!!r)}).on("unload",function(){u.removeClass(h,"is-loading"),S.loading=!1}).on("ready unload",function(e){var t="ready"==e.type;u.toggleClass(h,"is-splash",!t),u.toggleClass(h,"is-ready",t),S.ready=t,S.splash=!t}).on("progress",function(e,t,n){t.video.time=n}).on("buffer",function(e,t,n){t.video.buffer="number"==typeof n?n:n.length?n[n.length-1].end:0}).on("speed",function(e,t,n){t.currentSpeed=n}).on("volume",function(e,t,n){t.volumeLevel=Math.round(100*n)/100,t.muted&&n&&t.mute(!1)}).on("beforeseek seek",function(e){S.seeking="beforeseek"==e.type,u.toggleClass(h,"is-seeking",S.seeking)}).on("ready pause resume unload finish stop",function(e){S.paused=/pause|finish|unload|stop/.test(e.type),S.paused=S.paused||"ready"===e.type&&!g.autoplay&&!S.playing,S.playing=!S.paused,u.toggleClass(h,"is-paused",S.paused),u.toggleClass(h,"is-playing",S.playing),S.load.ed||S.pause()}).on("finish",function(){S.finished=!0}).on("error",function(){})),S.trigger("boot",[S,h]),S}var i=e("extend-object"),o=e("is-function"),a=e("bean"),s=e("./ext/ui/slider"),l=e("./ext/ui/bar-slider"),u=e("./common"),c=e("./ext/events"),f=[],d=[],p=window.onbeforeunload;window.onbeforeunload=function(e){return f.forEach(function(e){e.conf.splash?e.unload():e.bind("error",function(){u.find(".flowplayer.is-error .fp-message").forEach(u.removeNode)})}),p?p(e):void 0};var h=/Safari/.exec(navigator.userAgent)&&!/Chrome/.exec(navigator.userAgent),g=/(\d+\.\d+) Safari/.exec(navigator.userAgent),m=g?Number(g[1]):100,v=t.exports=function(e,t,n){if(o(e))return d.push(e);if("number"==typeof e||"undefined"==typeof e)return f[e||0];if(e.nodeType){if(null!==e.getAttribute("data-flowplayer-instance-id"))return f[e.getAttribute("data-flowplayer-instance-id")];if(!t)return;return r(e,t,n)}if(e.jquery)return v(e[0],t,n);if("string"==typeof e){var i=u.find(e)[0];return i&&v(i,t,n)}};i(v,{version:"7.2.6",engines:[],engine:function(e){return v.engines.filter(function(t){return t.engineName===e})[0]},extensions:[],conf:{},set:function(e,t){"string"==typeof e?v.conf[e]=t:i(v.conf,e)},registerExtension:function(e,t){v.extensions.push([e,t])},support:{},defaults:{debug:!1,disabled:!1,fullscreen:window==window.top,keyboard:!0,ratio:9/16,adaptiveRatio:!1,rtmp:0,proxy:"best",hlsQualities:!0,seekStep:!1,splash:!1,live:!1,livePositionOffset:120,swf:"//releases.flowplayer.org/7.2.6/commercial/flowplayer.swf",swfHls:"//releases.flowplayer.org/7.2.6/commercial/flowplayerhls.swf",speeds:[.25,.5,1,1.5,2],tooltip:!0,mouseoutTimeout:5e3,mutedAutoplay:!0,clickToUnMute:!0,volume:1,errors:["","Video loading aborted","Network error","Video not properly encoded","Video file not found","Unsupported video","Skin not found","SWF file not found","Subtitles not found","Invalid RTMP URL","Unsupported video format. Try installing Adobe Flash."],errorUrls:["","","","","","","","","","","http://get.adobe.com/flashplayer/"],playlist:[],hlsFix:h&&8>m,disableInline:!1},bean:a,common:u,slider:s,barSlider:l,extend:i});var y=0,w=e("./ext/resolve");if("undefined"!=typeof window.jQuery){var b=window.jQuery;b(function(){"function"==typeof b.fn.flowplayer&&b('.flowplayer:has(video:not(.fp-engine),script[type="application/json"])').flowplayer()});var I=function(e){if(!e.length)return{};var t=e.data()||{},n={};return b.each(["autoplay","loop","preload","poster"],function(r,i){var o=e.attr(i);void 0!==o&&-1!==["autoplay","poster"].indexOf(i)?n[i]=o?o:!0:void 0!==o&&(t[i]=o?o:!0)}),e[0].autoplay=e[0].preload=!1,t.subtitles=e.find("track").map(function(){var e=b(this);return{src:e.attr("src"),kind:e.attr("kind"),label:e.attr("label"),srclang:e.attr("srclang"),"default":e.prop("default")}}).get(),t.sources=(new w).sourcesFromVideoTag(e,b),i(n,{clip:t})};b.fn.flowplayer=function(e,t){return this.each(function(){"string"==typeof e&&(e={swf:e}),o(e)&&(t=e,e={});var n=b(this),i=n.find('script[type="application/json"]'),a=i.length?JSON.parse(i.text()):I(n.find("video")),s=b.extend({},e||{},a,n.data()),l=r(this,s,t);c.EVENTS.forEach(function(e){l.on(e+".jquery",function(e){n.trigger.call(n,e.type,e.detail&&e.detail.args)})}),n.data("flowplayer",l)})}}},{"./common":1,"./ext/events":12,"./ext/resolve":21,"./ext/ui/bar-slider":28,"./ext/ui/slider":29,bean:34,"extend-object":39,"is-function":42}],32:[function(e,t,n){e("es5-shim");var r=t.exports=e("./flowplayer");e("./ext/support"),e("./engine/embed"),e("./engine/hlsjs"),e("./engine/html5"),e("./engine/flash"),e("./ext/ui"),e("./ext/message"),e("./ext/keyboard"),e("./ext/playlist"),e("./ext/cuepoint"),e("./ext/subtitle"),e("./ext/analytics"),e("./ext/share"),e("./ext/facebook"),e("./ext/twitter"),e("./ext/embed"),e("./ext/airplay"),e("./ext/chromecast"),e("./ext/qsel"),e("./ext/menu"),e("./ext/fullscreen"),e("./ext/mobile"),r(function(e,t){function n(e){var t=document.createElement("a");return t.href=e,u.hostname(t.hostname)}function i(e){var t="ab.ca,ac.ac,ac.ae,ac.at,ac.be,ac.cn,ac.il,ac.in,ac.jp,ac.kr,ac.sg,ac.th,ac.uk,ad.jp,adm.br,adv.br,ah.cn,am.br,arq.br,art.br,arts.ro,asn.au,asso.fr,asso.mc,bc.ca,bel.tr,bio.br,biz.pl,biz.tr,bj.cn,br.com,cn.com,cng.br,cnt.br,co.ac,co.at,co.de,co.gl,co.hk,co.id,co.il,co.in,co.jp,co.kr,co.mg,co.ms,co.nz,co.th,co.uk,co.ve,co.vi,co.za,com.ag,com.ai,com.ar,com.au,com.br,com.cn,com.co,com.cy,com.de,com.do,com.ec,com.es,com.fj,com.fr,com.gl,com.gt,com.hk,com.hr,com.hu,com.kg,com.ki,com.lc,com.mg,com.mm,com.ms,com.mt,com.mu,com.mx,com.my,com.na,com.nf,com.ng,com.ni,com.pa,com.ph,com.pl,com.pt,com.qa,com.ro,com.ru,com.sb,com.sc,com.sg,com.sv,com.tr,com.tw,com.ua,com.uy,com.ve,com.vn,cp.tz,cq.cn,de.com,de.org,ecn.br,ed.jp,edu.au,edu.cn,edu.hk,edu.mm,edu.my,edu.pl,edu.pt,edu.qa,edu.sg,edu.tr,edu.tw,eng.br,ernet.in,esp.br,etc.br,eti.br,eu.com,eu.int,eu.lv,firm.in,firm.ro,fm.br,fot.br,fst.br,g12.br,gb.com,gb.net,gd.cn,gen.in,go.jp,go.kr,go.th,gov.au,gov.az,gov.br,gov.cn,gov.il,gov.in,gov.mm,gov.my,gov.qa,gov.sg,gov.tr,gov.tw,gov.uk,govt.nz,gr.jp,gs.cn,gv.ac,gv.at,gx.cn,gz.cn,he.cn,hi.cn,hk.cn,hl.cn,hu.com,id.au,idv.tw,in.th,in.ua,ind.br,ind.in,inf.br,info.pl,info.ro,info.tr,info.ve,iwi.nz,jl.cn,jor.br,js.cn,jus.br,k12.il,k12.tr,kr.com,lel.br,lg.jp,ln.cn,ltd.uk,maori.nz,mb.ca,me.uk,med.br,mi.th,mil.br,mil.uk,mo.cn,mod.uk,muni.il,nb.ca,ne.jp,ne.kr,net.ag,net.ai,net.au,net.br,net.cn,net.do,net.gl,net.hk,net.il,net.in,net.kg,net.ki,net.lc,net.mg,net.mm,net.mu,net.ni,net.nz,net.pl,net.ru,net.sb,net.sc,net.sg,net.th,net.tr,net.tw,net.uk,net.ve,nf.ca,nhs.uk,nm.cn,nm.kr,no.com,nom.br,nom.ni,nom.ro,ns.ca,nt.ca,nt.ro,ntr.br,nx.cn,odo.br,off.ai,on.ca,or.ac,or.at,or.jp,or.kr,or.th,org.ag,org.ai,org.au,org.br,org.cn,org.do,org.es,org.gl,org.hk,org.in,org.kg,org.ki,org.lc,org.mg,org.mm,org.ms,org.nf,org.ng,org.ni,org.nz,org.pl,org.ro,org.ru,org.sb,org.sc,org.sg,org.tr,org.tw,org.uk,org.ve,pe.ca,plc.uk,police.uk,ppg.br,presse.fr,pro.br,psc.br,psi.br,qc.ca,qc.com,qh.cn,rec.br,rec.ro,res.in,sa.com,sc.cn,sch.uk,se.com,se.net,sh.cn,sk.ca,slg.br,sn.cn,store.ro,tj.cn,tm.fr,tm.mc,tm.ro,tmp.br,tur.br,tv.br,tv.tr,tw.cn,uk.com,uk.net,us.com,uy.com,vet.br,waw.pl,web.ve,www.ro,xj.cn,xz.cn,yk.ca,yn.cn,zj.cn,zlg.br".split(",");e=e.toLowerCase();var n=e.split("."),r=n.length;if(2>r||/^\d+$/.test(n[r-1]))return e;var i=n.slice(-2).join(".");return r>=3&&t.indexOf(i)>=0?n.slice(-3).join("."):i}function o(e,t){t=i(t);for(var n=0,r=t.length-1;r>=0;r--)n+=0x5d5c9932b66d680*t.charCodeAt(r);for(n=(""+n).substring(0,7),r=0;r<e.length;r++)if(n===e[r].substring(1,8))return 1}var a=function(e,t){var n=e.className.split(" ");-1===n.indexOf(t)&&(e.className+=" "+t)},s=function(e){return"none"!==window.getComputedStyle(e).display},l=e.conf,u=r.common,c=u.createElement,f=l.swf.indexOf("flowplayer.org")&&l.e&&t.getAttribute("data-origin"),d=f?n(f):u.hostname(),p=(document,l.key);if("file:"==location.protocol&&(d="localhost"),e.load.ed=1,l.hostname=d,l.origin=f||location.href,f&&a(t,"is-embedded"),"string"==typeof p&&(p=p.split(/,\s*/)),p&&"function"==typeof o&&o(p,d)){if(l.logo){var h=u.find(".fp-player",t)[0],g=l.logo.href||"",m=l.logo.src||l.logo,v=c("a",{className:"fp-logo",href:g});f&&(v.href=v.href||f),l.embed&&l.embed.popup&&(v.target="_blank");var y=c("img",{src:m});v.appendChild(y),(h||t).appendChild(v)}}else{var v=c("a",{onclick:""}),h=u.find(".fp-player",t)[0];(h||t).appendChild(v);var w=c("div",{className:"fp-context-menu fp-menu"},'<strong>&copy; 2018 Flowplayer AB</strong><a href="https://flowplayer.com/hello/?from=player">About Flowplayer</a><a href="https://flowplayer.com/license">GPL based license</a>'),b=window.location.href.indexOf("localhost");7!==b&&(h||t).appendChild(w),e.on("pause resume finish unload ready",function(e,n){var r=-1;if(n.video.src)for(var i=[["org","flowplayer","drive"],["org","flowplayer","my"],["org","flowplayer","cdn"],["com","flowplayer","cdn"]],o=0;o<i.length&&(r=n.video.src.indexOf("://"+i[o].reverse().join(".")),-1===r);o++);if(/pause|resume/.test(e.type)&&"flash"!=n.engine.engineName&&4!=r&&5!=r){var a={display:"block",position:"absolute",left:"16px",bottom:"56px",zIndex:99999,width:"120px",height:"27px",backgroundImage:"url("+[".png","fplogo","/",".com","foliovision","//","https:"].reverse().join("")+")"};for(var l in a)a.hasOwnProperty(l)&&(v.style[l]=a[l]);n.load.ed=s(v)&&(7===b||w.parentNode==t||w.parentNode==h),n.load.ed||n.pause()}else v.style.display="none"})}})},{"./engine/embed":2,"./engine/flash":3,"./engine/hlsjs":4,"./engine/html5":6,"./ext/airplay":7,"./ext/analytics":8,"./ext/chromecast":9,"./ext/cuepoint":10,"./ext/embed":11,"./ext/facebook":13,"./ext/fullscreen":14,"./ext/keyboard":15,"./ext/menu":16,"./ext/message":17,"./ext/mobile":18,"./ext/playlist":19,"./ext/qsel":20,"./ext/share":22,"./ext/subtitle":23,"./ext/support":25,"./ext/twitter":26,"./ext/ui":27,"./flowplayer":31,"es5-shim":38}],33:[function(e,t,n){"use strict";function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function i(e){var t=r(e),n=t[0],i=t[1];return 3*(n+i)/4-i}function o(e,t,n){return 3*(t+n)/4-n}function a(e){for(var t,n=r(e),i=n[0],a=n[1],s=new d(o(e,i,a)),l=0,u=a>0?i-4:i,c=0;u>c;c+=4)t=f[e.charCodeAt(c)]<<18|f[e.charCodeAt(c+1)]<<12|f[e.charCodeAt(c+2)]<<6|f[e.charCodeAt(c+3)],s[l++]=t>>16&255,s[l++]=t>>8&255,s[l++]=255&t;return 2===a&&(t=f[e.charCodeAt(c)]<<2|f[e.charCodeAt(c+1)]>>4,s[l++]=255&t),1===a&&(t=f[e.charCodeAt(c)]<<10|f[e.charCodeAt(c+1)]<<4|f[e.charCodeAt(c+2)]>>2,s[l++]=t>>8&255,s[l++]=255&t),s}function s(e){return c[e>>18&63]+c[e>>12&63]+c[e>>6&63]+c[63&e]}function l(e,t,n){for(var r,i=[],o=t;n>o;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(s(r));return i.join("")}function u(e){for(var t,n=e.length,r=n%3,i=[],o=16383,a=0,s=n-r;s>a;a+=o)i.push(l(e,a,a+o>s?s:a+o));return 1===r?(t=e[n-1],i.push(c[t>>2]+c[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],i.push(c[t>>10]+c[t>>4&63]+c[t<<2&63]+"=")),i.join("")}n.byteLength=i,n.toByteArray=a,n.fromByteArray=u;for(var c=[],f=[],d="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,g=p.length;g>h;++h)c[h]=p[h],f[p.charCodeAt(h)]=h;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63},{}],34:[function(t,n,r){!function(t,r,i){"undefined"!=typeof n&&n.exports?n.exports=i():"function"==typeof e&&e.amd?e(i):r[t]=i()}("bean",this,function(e,t){e=e||"bean",t=t||this;var n,r=window,i=t[e],o=/[^\.]*(?=\..*)\.|.*/,a=/\..*/,s="addEventListener",l="removeEventListener",u=document||{},c=u.documentElement||{},f=c[s],d=f?s:"attachEvent",p={},h=Array.prototype.slice,g=function(e,t){return e.split(t||" ")},m=function(e){return"string"==typeof e},v=function(e){return"function"==typeof e},y="click dblclick mouseup mousedown contextmenu mousewheel mousemultiwheel DOMMouseScroll mouseover mouseout mousemove selectstart selectend keydown keypress keyup orientationchange focus blur change reset select submit load unload beforeunload resize move DOMContentLoaded readystatechange message error abort scroll ",w="show input invalid touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend textinput readystatechange pageshow pagehide popstate hashchange offline online afterprint beforeprint dragstart dragenter dragover dragleave drag drop dragend loadstart progress suspend emptied stalled loadmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate play pause ratechange volumechange cuechange checking noupdate downloading cached updateready obsolete ",b=function(e,t,n){
9
- for(n=0;n<t.length;n++)t[n]&&(e[t[n]]=1);return e}({},g(y+(f?w:""))),I=function(){var e="compareDocumentPosition"in c?function(e,t){return t.compareDocumentPosition&&16===(16&t.compareDocumentPosition(e))}:"contains"in c?function(e,t){return t=9===t.nodeType||t===window?c:t,t!==e&&t.contains(e)}:function(e,t){for(;e=e.parentNode;)if(e===t)return 1;return 0},t=function(t){var n=t.relatedTarget;return n?n!==this&&"xul"!==n.prefix&&!/document/.test(this.toString())&&!e(n,this):null==n};return{mouseenter:{base:"mouseover",condition:t},mouseleave:{base:"mouseout",condition:t},mousewheel:{base:/Firefox/.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel"}}}(),M=function(){var e=g("altKey attrChange attrName bubbles cancelable ctrlKey currentTarget detail eventPhase getModifierState isTrusted metaKey relatedNode relatedTarget shiftKey srcElement target timeStamp type view which propertyName"),t=e.concat(g("button buttons clientX clientY dataTransfer fromElement offsetX offsetY pageX pageY screenX screenY toElement")),n=t.concat(g("wheelDelta wheelDeltaX wheelDeltaY wheelDeltaZ axis")),i=e.concat(g("char charCode key keyCode keyIdentifier keyLocation location")),o=e.concat(g("data")),a=e.concat(g("touches targetTouches changedTouches scale rotation")),s=e.concat(g("data origin source")),l=e.concat(g("state")),f=/over|out/,d=[{reg:/key/i,fix:function(e,t){return t.keyCode=e.keyCode||e.which,i}},{reg:/click|mouse(?!(.*wheel|scroll))|menu|drag|drop/i,fix:function(e,n,r){return n.rightClick=3===e.which||2===e.button,n.pos={x:0,y:0},e.pageX||e.pageY?(n.clientX=e.pageX,n.clientY=e.pageY):(e.clientX||e.clientY)&&(n.clientX=e.clientX+u.body.scrollLeft+c.scrollLeft,n.clientY=e.clientY+u.body.scrollTop+c.scrollTop),f.test(r)&&(n.relatedTarget=e.relatedTarget||e[("mouseover"==r?"from":"to")+"Element"]),t}},{reg:/mouse.*(wheel|scroll)/i,fix:function(){return n}},{reg:/^text/i,fix:function(){return o}},{reg:/^touch|^gesture/i,fix:function(){return a}},{reg:/^message$/i,fix:function(){return s}},{reg:/^popstate$/i,fix:function(){return l}},{reg:/.*/,fix:function(){return e}}],p={},h=function(e,t,n){if(arguments.length&&(e=e||((t.ownerDocument||t.document||t).parentWindow||r).event,this.originalEvent=e,this.isNative=n,this.isBean=!0,e)){var i,o,a,s,l,u=e.type,c=e.target||e.srcElement;if(this.target=c&&3===c.nodeType?c.parentNode:c,n){if(l=p[u],!l)for(i=0,o=d.length;o>i;i++)if(d[i].reg.test(u)){p[u]=l=d[i].fix;break}for(s=l(e,this,u),i=s.length;i--;)!((a=s[i])in this)&&a in e&&(this[a]=e[a])}}};return h.prototype.preventDefault=function(){this.originalEvent.preventDefault?this.originalEvent.preventDefault():this.originalEvent.returnValue=!1},h.prototype.stopPropagation=function(){this.originalEvent.stopPropagation?this.originalEvent.stopPropagation():this.originalEvent.cancelBubble=!0},h.prototype.stop=function(){this.preventDefault(),this.stopPropagation(),this.stopped=!0},h.prototype.stopImmediatePropagation=function(){this.originalEvent.stopImmediatePropagation&&this.originalEvent.stopImmediatePropagation(),this.isImmediatePropagationStopped=function(){return!0}},h.prototype.isImmediatePropagationStopped=function(){return this.originalEvent.isImmediatePropagationStopped&&this.originalEvent.isImmediatePropagationStopped()},h.prototype.clone=function(e){var t=new h(this,this.element,this.isNative);return t.currentTarget=e,t},h}(),C=function(e,t){return f||t||e!==u&&e!==r?e:c},A=function(){var e=function(e,t,n,r){var i=function(n,i){return t.apply(e,r?h.call(i,n?0:1).concat(r):i)},o=function(n,r){return t.__beanDel?t.__beanDel.ft(n.target,e):r},a=n?function(e){var t=o(e,this);return n.apply(t,arguments)?(e&&(e.currentTarget=t),i(e,arguments)):void 0}:function(e){return t.__beanDel&&(e=e.clone(o(e))),i(e,arguments)};return a.__beanDel=t.__beanDel,a},t=function(t,n,r,i,o,a,s){var l,u=I[n];"unload"==n&&(r=N(x,t,n,r,i)),u&&(u.condition&&(r=e(t,r,u.condition,a)),n=u.base||n),this.isNative=l=b[n]&&!!t[d],this.customType=!f&&!l&&n,this.element=t,this.type=n,this.original=i,this.namespaces=o,this.eventType=f||l?n:"propertychange",this.target=C(t,l),this[d]=!!this.target[d],this.root=s,this.handler=e(t,r,null,a)};return t.prototype.inNamespaces=function(e){var t,n,r=0;if(!e)return!0;if(!this.namespaces)return!1;for(t=e.length;t--;)for(n=this.namespaces.length;n--;)e[t]==this.namespaces[n]&&r++;return e.length===r},t.prototype.matches=function(e,t,n){return!(this.element!==e||t&&this.original!==t||n&&this.handler!==n)},t}(),S=function(){var e={},t=function(n,r,i,o,a,s){var l=a?"r":"$";if(r&&"*"!=r){var u,c=0,f=e[l+r],d="*"==n;if(!f)return;for(u=f.length;u>c;c++)if((d||f[c].matches(n,i,o))&&!s(f[c],f,c,r))return}else for(var p in e)p.charAt(0)==l&&t(n,p.substr(1),i,o,a,s)},n=function(t,n,r,i){var o,a=e[(i?"r":"$")+n];if(a)for(o=a.length;o--;)if(!a[o].root&&a[o].matches(t,r,null))return!0;return!1},r=function(e,n,r,i){var o=[];return t(e,n,r,null,i,function(e){return o.push(e)}),o},i=function(t){var n=!t.root&&!this.has(t.element,t.type,null,!1),r=(t.root?"r":"$")+t.type;return(e[r]||(e[r]=[])).push(t),n},o=function(n){t(n.element,n.type,null,n.handler,n.root,function(t,n,r){return n.splice(r,1),t.removed=!0,0===n.length&&delete e[(t.root?"r":"$")+t.type],!1})},a=function(){var t,n=[];for(t in e)"$"==t.charAt(0)&&(n=n.concat(e[t]));return n};return{has:n,get:r,put:i,del:o,entries:a}}(),E=function(e){n=arguments.length?e:u.querySelectorAll?function(e,t){return t.querySelectorAll(e)}:function(){throw new Error("Bean: No selector engine installed")}},j=function(e,t){if(f||!t||!e||e.propertyName=="_on"+t){var n=S.get(this,t||e.type,null,!1),r=n.length,i=0;for(e=new M(e,this,!0),t&&(e.type=t);r>i&&!e.isImmediatePropagationStopped();i++)n[i].removed||n[i].handler.call(this,e)}},D=f?function(e,t,n){e[n?s:l](t,j,!1)}:function(e,t,n,r){var i;n?(S.put(i=new A(e,r||t,function(t){j.call(e,t,r)},j,null,null,!0)),r&&null==e["_on"+r]&&(e["_on"+r]=0),i.target.attachEvent("on"+i.eventType,i.handler)):(i=S.get(e,r||t,j,!0)[0],i&&(i.target.detachEvent("on"+i.eventType,i.handler),S.del(i)))},N=function(e,t,n,r,i){return function(){r.apply(this,arguments),e(t,n,i)}},x=function(e,t,n,r){var i,o,s=t&&t.replace(a,""),l=S.get(e,s,null,!1),u={};for(i=0,o=l.length;o>i;i++)n&&l[i].original!==n||!l[i].inNamespaces(r)||(S.del(l[i]),!u[l[i].eventType]&&l[i][d]&&(u[l[i].eventType]={t:l[i].eventType,c:l[i].type}));for(i in u)S.has(e,u[i].t,null,!1)||D(e,u[i].t,!1,u[i].c)},L=function(e,t){var r=function(t,r){for(var i,o=m(e)?n(e,r):e;t&&t!==r;t=t.parentNode)for(i=o.length;i--;)if(o[i]===t)return t},i=function(e){var n=r(e.target,this);n&&t.apply(n,arguments)};return i.__beanDel={ft:r,selector:e},i},T=f?function(e,t,n){var i=u.createEvent(e?"HTMLEvents":"UIEvents");i[e?"initEvent":"initUIEvent"](t,!0,!0,r,1),n.dispatchEvent(i)}:function(e,t,n){n=C(n,e),e?n.fireEvent("on"+t,u.createEventObject()):n["_on"+t]++},Z=function(e,t,n){var r,i,s,l,u=m(t);if(u&&t.indexOf(" ")>0){for(t=g(t),l=t.length;l--;)Z(e,t[l],n);return e}if(i=u&&t.replace(a,""),i&&I[i]&&(i=I[i].base),!t||u)(s=u&&t.replace(o,""))&&(s=g(s,".")),x(e,i,n,s);else if(v(t))x(e,null,t);else for(r in t)t.hasOwnProperty(r)&&Z(e,r,t[r]);return e},P=function(e,t,r,i){var s,l,u,c,f,m,y;{if(void 0!==r||"object"!=typeof t){for(v(r)?(f=h.call(arguments,3),i=s=r):(s=i,f=h.call(arguments,4),i=L(r,s,n)),u=g(t),this===p&&(i=N(Z,e,t,i,s)),c=u.length;c--;)y=S.put(m=new A(e,u[c].replace(a,""),i,s,g(u[c].replace(o,""),"."),f,!1)),m[d]&&y&&D(e,m.eventType,!0,m.customType);return e}for(l in t)t.hasOwnProperty(l)&&P.call(this,e,l,t[l])}},k=function(e,t,n,r){return P.apply(null,m(n)?[e,n,t,r].concat(arguments.length>3?h.call(arguments,5):[]):h.call(arguments))},Y=function(){return P.apply(p,arguments)},z=function(e,t,n){var r,i,s,l,u,c=g(t);for(r=c.length;r--;)if(t=c[r].replace(a,""),(l=c[r].replace(o,""))&&(l=g(l,".")),l||n||!e[d])for(u=S.get(e,t,null,!1),n=[!1].concat(n),i=0,s=u.length;s>i;i++)u[i].inNamespaces(l)&&u[i].handler.apply(e,n);else T(b[t],t,e);return e},O=function(e,t,n){for(var r,i,o=S.get(t,n,null,!1),a=o.length,s=0;a>s;s++)o[s].original&&(r=[e,o[s].type],(i=o[s].handler.__beanDel)&&r.push(i.selector),r.push(o[s].original),P.apply(null,r));return e},G={on:P,add:k,one:Y,off:Z,remove:Z,clone:O,fire:z,Event:M,setSelectorEngine:E,noConflict:function(){return t[e]=i,this}};if(r.attachEvent){var R=function(){var e,t=S.entries();for(e in t)t[e].type&&"unload"!==t[e].type&&Z(t[e].element,t[e].type);r.detachEvent("onunload",R),r.CollectGarbage&&r.CollectGarbage()};r.attachEvent("onunload",R)}return E(),G})},{}],35:[function(e,t,n){(function(t){"use strict";function r(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function i(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(i()<t)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=a.prototype):(null===e&&(e=new a(t)),e.length=t),e}function a(e,t,n){if(!(a.TYPED_ARRAY_SUPPORT||this instanceof a))return new a(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return c(this,e)}return s(this,e,t,n)}function s(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?p(e,t,n,r):"string"==typeof t?f(e,t,n):h(e,t)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(0>e)throw new RangeError('"size" argument must not be negative')}function u(e,t,n,r){return l(t),0>=t?o(e,t):void 0!==n?"string"==typeof r?o(e,t).fill(n,r):o(e,t).fill(n):o(e,t)}function c(e,t){if(l(t),e=o(e,0>t?0:0|g(t)),!a.TYPED_ARRAY_SUPPORT)for(var n=0;t>n;++n)e[n]=0;return e}function f(e,t,n){if(("string"!=typeof n||""===n)&&(n="utf8"),!a.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|v(t,n);e=o(e,r);var i=e.write(t,n);return i!==r&&(e=e.slice(0,i)),e}function d(e,t){var n=t.length<0?0:0|g(t.length);e=o(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function p(e,t,n,r){if(t.byteLength,0>n||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),a.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=a.prototype):e=d(e,t),e}function h(e,t){if(a.isBuffer(t)){var n=0|g(t.length);return e=o(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||K(t.length)?o(e,0):d(e,t);if("Buffer"===t.type&&$(t.data))return d(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function g(e){if(e>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function m(e){return+e!=e&&(e=0),a.alloc(+e)}function v(e,t){if(a.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return X(e).length;default:if(r)return F(e).length;t=(""+t).toLowerCase(),r=!0}}function y(e,t,n){var r=!1;if((void 0===t||0>t)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),0>=n)return"";if(n>>>=0,t>>>=0,t>=n)return"";for(e||(e="utf8");;)switch(e){case"hex":return Z(this,t,n);case"utf8":case"utf-8":return N(this,t,n);case"ascii":return L(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return D(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function w(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function b(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:-2147483648>n&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),0>n&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(0>n){if(!i)return-1;n=0}if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:I(e,t,n,r,i);if("number"==typeof t)return t=255&t,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):I(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function I(e,t,n,r,i){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,l=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}var u;if(i){var c=-1;for(u=n;s>u;u++)if(o(e,u)===o(t,-1===c?0:u-c)){if(-1===c&&(c=u),u-c+1===l)return c*a}else-1!==c&&(u-=u-c),c=-1}else for(n+l>s&&(n=s-l),u=n;u>=0;u--){for(var f=!0,d=0;l>d;d++)if(o(e,u+d)!==o(t,d)){f=!1;break}if(f)return u}return-1}function M(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;r>a;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function C(e,t,n,r){return _(F(t,e.length-n),e,n,r)}function A(e,t,n,r){return _(H(t),e,n,r)}function S(e,t,n,r){return A(e,t,n,r)}function E(e,t,n,r){return _(X(t),e,n,r)}function j(e,t,n,r){return _(V(t,e.length-n),e,n,r)}function D(e,t,n){return 0===t&&n===e.length?Q.fromByteArray(e):Q.fromByteArray(e.slice(t,n))}function N(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;n>i;){var o=e[i],a=null,s=o>239?4:o>223?3:o>191?2:1;if(n>=i+s){var l,u,c,f;switch(s){case 1:128>o&&(a=o);break;case 2:l=e[i+1],128===(192&l)&&(f=(31&o)<<6|63&l,f>127&&(a=f));break;case 3:l=e[i+1],u=e[i+2],128===(192&l)&&128===(192&u)&&(f=(15&o)<<12|(63&l)<<6|63&u,f>2047&&(55296>f||f>57343)&&(a=f));break;case 4:l=e[i+1],u=e[i+2],c=e[i+3],128===(192&l)&&128===(192&u)&&128===(192&c)&&(f=(15&o)<<18|(63&l)<<12|(63&u)<<6|63&c,f>65535&&1114112>f&&(a=f))}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return x(r)}function x(e){var t=e.length;if(ee>=t)return String.fromCharCode.apply(String,e);for(var n="",r=0;t>r;)n+=String.fromCharCode.apply(String,e.slice(r,r+=ee));return n}function L(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;++i)r+=String.fromCharCode(127&e[i]);return r}function T(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;++i)r+=String.fromCharCode(e[i]);return r}function Z(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var i="",o=t;n>o;++o)i+=B(e[o]);return i}function P(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function k(e,t,n){if(e%1!==0||0>e)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function Y(e,t,n,r,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||o>t)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function z(e,t,n,r){0>t&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);o>i;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function O(e,t,n,r){0>t&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);o>i;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function G(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(0>n)throw new RangeError("Index out of range")}function R(e,t,n,r,i){return i||G(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),q.write(e,t,n,r,23,4),n+4}function W(e,t,n,r,i){return i||G(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),q.write(e,t,n,r,52,8),n+8}function U(e){if(e=J(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function J(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function B(e){return 16>e?"0"+e.toString(16):e.toString(16)}function F(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;r>a;++a){if(n=e.charCodeAt(a),n>55295&&57344>n){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(56320>n){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,128>n){if((t-=1)<0)break;o.push(n)}else if(2048>n){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(65536>n){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function V(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}function X(e){return Q.toByteArray(U(e))}function _(e,t,n,r){for(var i=0;r>i&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function K(e){return e!==e}var Q=e("base64-js"),q=e("ieee754"),$=e("isarray");n.Buffer=a,n.SlowBuffer=m,n.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:r(),n.kMaxLength=i(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,n){return s(null,e,t,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(e,t,n){return u(null,e,t,n)},a.allocUnsafe=function(e){return c(null,e)},a.allocUnsafeSlow=function(e){return c(null,e)},a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);o>i;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return r>n?-1:n>r?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!$(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=a.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},a.byteLength=v,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;e>t;t+=2)w(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;e>t;t+=4)w(this,t,t+3),w(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;e>t;t+=8)w(this,t,t+7),w(this,t+1,t+6),w(this,t+2,t+5),w(this,t+3,t+4);return this},a.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?N(this,0,e):y.apply(this,arguments)},a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:0===a.compare(this,e)},a.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},a.prototype.compare=function(e,t,n,r,i){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),0>t||n>e.length||0>r||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,s=n-t,l=Math.min(o,s),u=this.slice(r,i),c=e.slice(t,n),f=0;l>f;++f)if(u[f]!==c[f]){o=u[f],s=c[f];break}return s>o?-1:o>s?1:0},a.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},a.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},a.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)},a.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t=0|t,isFinite(n)?(n=0|n,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(0>n||0>t)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return M(this,e,t,n);case"utf8":case"utf-8":return C(this,e,t,n);case"ascii":return A(this,e,t,n);case"latin1":case"binary":return S(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;a.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,0>e?(e+=n,0>e&&(e=0)):e>n&&(e=n),0>t?(t+=n,0>t&&(t=0)):t>n&&(t=n),e>t&&(t=e);var r;if(a.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=a.prototype;else{var i=t-e;r=new a(i,void 0);for(var o=0;i>o;++o)r[o]=this[o+e]}return r},a.prototype.readUIntLE=function(e,t,n){e=0|e,t=0|t,n||k(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},a.prototype.readUIntBE=function(e,t,n){e=0|e,t=0|t,n||k(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},a.prototype.readUInt8=function(e,t){return t||k(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||k(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||k(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e=0|e,t=0|t,n||k(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e=0|e,t=0|t,n||k(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return t||k(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){t||k(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){t||k(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||k(e,4,this.length),q.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||k(e,4,this.length),q.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||k(e,8,this.length),q.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||k(e,8,this.length),q.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t=0|t,n=0|n,!r){var i=Math.pow(2,8*n)-1;Y(this,e,t,n,i,0)}var o=1,a=0;for(this[t]=255&e;++a<n&&(o*=256);)this[t+a]=e/o&255;return t+n},a.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t=0|t,n=0|n,!r){var i=Math.pow(2,8*n)-1;Y(this,e,t,n,i,0)}var o=n-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):O(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):O(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t=0|t,!r){var i=Math.pow(2,8*n-1);Y(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)0>e&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t=0|t,!r){var i=Math.pow(2,8*n-1);Y(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)0>e&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),0>e&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):O(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,4,2147483647,-2147483648),0>e&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):O(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return W(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return W(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&n>r&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(0>t)throw new RangeError("targetStart out of bounds");if(0>n||n>=this.length)throw new RangeError("sourceStart out of bounds");if(0>r)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&t>n&&r>t)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(1e3>o||!a.TYPED_ARRAY_SUPPORT)for(i=0;o>i;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},a.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);256>i&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e=255&e);if(0>t||this.length<t||this.length<n)throw new RangeError("Out of range index");if(t>=n)return this;t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;n>o;++o)this[o]=e;else{var s=a.isBuffer(e)?e:F(new a(e,r).toString()),l=s.length;for(o=0;n-t>o;++o)this[o+t]=s[o%l]}return this};var te=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":33,ieee754:40,isarray:43}],36:[function(e,t,n){function r(e){function t(e){var t=c();a(t,e)>-1||(t.push(e),f(t))}function n(e){var t=c(),n=a(t,e);-1!==n&&(t.splice(n,1),f(t))}function r(e){return a(c(),e)>-1}function s(e){return r(e)?(n(e),!1):(t(e),!0)}function l(){return e.className}function u(e){var t=c();return t[e]||null}function c(){var t=e.className;return i(t.split(" "),o)}function f(t){var n=t.length;e.className=t.join(" "),p.length=n;for(var r=0;r<t.length;r++)p[r]=t[r];delete t[n]}var d=e.classList;if(d)return d;var p={add:t,remove:n,contains:r,toggle:s,toString:l,length:0,item:u};return p}function i(e,t){for(var n=[],r=0;r<e.length;r++)t(e[r])&&n.push(e[r]);return n}function o(e){return!!e}var a=e("indexof");t.exports=r},{indexof:41}],37:[function(e,t,n){function r(e,t,n,r){return n=window.getComputedStyle,r=n?n(e):e.currentStyle,r?r[t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()})]:void 0}t.exports=r},{}],38:[function(t,n,r){!function(t,i){"use strict";"function"==typeof e&&e.amd?e(i):"object"==typeof r?n.exports=i():t.returnExports=i()}(this,function(){var e,t,n=Array,r=n.prototype,i=Object,o=i.prototype,a=Function,s=a.prototype,l=String,u=l.prototype,c=Number,f=c.prototype,d=r.slice,p=r.splice,h=r.push,g=r.unshift,m=r.concat,v=r.join,y=s.call,w=s.apply,b=Math.max,I=Math.min,M=o.toString,C="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,A=Function.prototype.toString,S=/^\s*class /,E=function(e){try{var t=A.call(e),n=t.replace(/\/\/.*\n/g,""),r=n.replace(/\/\*[.\s\S]*\*\//g,""),i=r.replace(/\n/gm," ").replace(/ {2}/g," ");return S.test(i)}catch(o){return!1}},j=function(e){try{return E(e)?!1:(A.call(e),!0)}catch(t){return!1}},D="[object Function]",N="[object GeneratorFunction]",e=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(C)return j(e);if(E(e))return!1;var t=M.call(e);return t===D||t===N},x=RegExp.prototype.exec,L=function(e){try{return x.call(e),!0}catch(t){return!1}},T="[object RegExp]";t=function(e){return"object"!=typeof e?!1:C?L(e):M.call(e)===T};var Z,P=String.prototype.valueOf,k=function(e){try{return P.call(e),!0}catch(t){return!1}},Y="[object String]";Z=function(e){return"string"==typeof e?!0:"object"!=typeof e?!1:C?k(e):M.call(e)===Y};var z=i.defineProperty&&function(){try{var e={};i.defineProperty(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch(n){return!1}}(),O=function(e){var t;return t=z?function(e,t,n,r){!r&&t in e||i.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(e,t,n,r){!r&&t in e||(e[t]=n)},function(n,r,i){for(var o in r)e.call(r,o)&&t(n,o,r[o],i)}}(o.hasOwnProperty),G=function(e){var t=typeof e;return null===e||"object"!==t&&"function"!==t},R=c.isNaN||function(e){return e!==e},W={ToInteger:function(e){var t=+e;return R(t)?t=0:0!==t&&t!==1/0&&t!==-(1/0)&&(t=(t>0||-1)*Math.floor(Math.abs(t))),t},ToPrimitive:function(t){var n,r,i;if(G(t))return t;if(r=t.valueOf,e(r)&&(n=r.call(t),G(n)))return n;if(i=t.toString,e(i)&&(n=i.call(t),G(n)))return n;throw new TypeError},ToObject:function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return i(e)},ToUint32:function(e){return e>>>0}},U=function(){};O(s,{bind:function(t){var n=this;if(!e(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var r,o=d.call(arguments,1),s=function(){
10
- if(this instanceof r){var e=w.call(n,this,m.call(o,d.call(arguments)));return i(e)===e?e:this}return w.call(n,t,m.call(o,d.call(arguments)))},l=b(0,n.length-o.length),u=[],c=0;l>c;c++)h.call(u,"$"+c);return r=a("binder","return function ("+v.call(u,",")+"){ return binder.apply(this, arguments); }")(s),n.prototype&&(U.prototype=n.prototype,r.prototype=new U,U.prototype=null),r}});var J=y.bind(o.hasOwnProperty),B=y.bind(o.toString),F=y.bind(d),H=w.bind(d);if("object"==typeof document&&document&&document.documentElement)try{F(document.documentElement.childNodes)}catch(V){var X=F,_=H;F=function(e){for(var t=[],n=e.length;n-->0;)t[n]=e[n];return _(t,X(arguments,1))},H=function(e,t){return _(F(e),t)}}var K=y.bind(u.slice),Q=y.bind(u.split),q=y.bind(u.indexOf),$=y.bind(h),ee=y.bind(o.propertyIsEnumerable),te=y.bind(r.sort),ne=n.isArray||function(e){return"[object Array]"===B(e)},re=1!==[].unshift(0);O(r,{unshift:function(){return g.apply(this,arguments),this.length}},re),O(n,{isArray:ne});var ie=i("a"),oe="a"!==ie[0]||!(0 in ie),ae=function(e){var t=!0,n=!0,r=!1;if(e)try{e.call("foo",function(e,n,r){"object"!=typeof r&&(t=!1)}),e.call([1],function(){"use strict";n="string"==typeof this},"x")}catch(i){r=!0}return!!e&&!r&&t&&n};O(r,{forEach:function(t){var n,r=W.ToObject(this),i=oe&&Z(this)?Q(this,""):r,o=-1,a=W.ToUint32(i.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++o<a;)o in i&&("undefined"==typeof n?t(i[o],o,r):t.call(n,i[o],o,r))}},!ae(r.forEach)),O(r,{map:function(t){var r,i=W.ToObject(this),o=oe&&Z(this)?Q(this,""):i,a=W.ToUint32(o.length),s=n(a);if(arguments.length>1&&(r=arguments[1]),!e(t))throw new TypeError("Array.prototype.map callback must be a function");for(var l=0;a>l;l++)l in o&&("undefined"==typeof r?s[l]=t(o[l],l,i):s[l]=t.call(r,o[l],l,i));return s}},!ae(r.map)),O(r,{filter:function(t){var n,r,i=W.ToObject(this),o=oe&&Z(this)?Q(this,""):i,a=W.ToUint32(o.length),s=[];if(arguments.length>1&&(r=arguments[1]),!e(t))throw new TypeError("Array.prototype.filter callback must be a function");for(var l=0;a>l;l++)l in o&&(n=o[l],("undefined"==typeof r?t(n,l,i):t.call(r,n,l,i))&&$(s,n));return s}},!ae(r.filter)),O(r,{every:function(t){var n,r=W.ToObject(this),i=oe&&Z(this)?Q(this,""):r,o=W.ToUint32(i.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.every callback must be a function");for(var a=0;o>a;a++)if(a in i&&!("undefined"==typeof n?t(i[a],a,r):t.call(n,i[a],a,r)))return!1;return!0}},!ae(r.every)),O(r,{some:function(t){var n,r=W.ToObject(this),i=oe&&Z(this)?Q(this,""):r,o=W.ToUint32(i.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.some callback must be a function");for(var a=0;o>a;a++)if(a in i&&("undefined"==typeof n?t(i[a],a,r):t.call(n,i[a],a,r)))return!0;return!1}},!ae(r.some));var se=!1;r.reduce&&(se="object"==typeof r.reduce.call("es5",function(e,t,n,r){return r})),O(r,{reduce:function(t){var n=W.ToObject(this),r=oe&&Z(this)?Q(this,""):n,i=W.ToUint32(r.length);if(!e(t))throw new TypeError("Array.prototype.reduce callback must be a function");if(0===i&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var o,a=0;if(arguments.length>=2)o=arguments[1];else for(;;){if(a in r){o=r[a++];break}if(++a>=i)throw new TypeError("reduce of empty array with no initial value")}for(;i>a;a++)a in r&&(o=t(o,r[a],a,n));return o}},!se);var le=!1;r.reduceRight&&(le="object"==typeof r.reduceRight.call("es5",function(e,t,n,r){return r})),O(r,{reduceRight:function(t){var n=W.ToObject(this),r=oe&&Z(this)?Q(this,""):n,i=W.ToUint32(r.length);if(!e(t))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(0===i&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var o,a=i-1;if(arguments.length>=2)o=arguments[1];else for(;;){if(a in r){o=r[a--];break}if(--a<0)throw new TypeError("reduceRight of empty array with no initial value")}if(0>a)return o;do a in r&&(o=t(o,r[a],a,n));while(a--);return o}},!le);var ue=r.indexOf&&-1!==[0,1].indexOf(1,2);O(r,{indexOf:function(e){var t=oe&&Z(this)?Q(this,""):W.ToObject(this),n=W.ToUint32(t.length);if(0===n)return-1;var r=0;for(arguments.length>1&&(r=W.ToInteger(arguments[1])),r=r>=0?r:b(0,n+r);n>r;r++)if(r in t&&t[r]===e)return r;return-1}},ue);var ce=r.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3);O(r,{lastIndexOf:function(e){var t=oe&&Z(this)?Q(this,""):W.ToObject(this),n=W.ToUint32(t.length);if(0===n)return-1;var r=n-1;for(arguments.length>1&&(r=I(r,W.ToInteger(arguments[1]))),r=r>=0?r:n-Math.abs(r);r>=0;r--)if(r in t&&e===t[r])return r;return-1}},ce);var fe=function(){var e=[1,2],t=e.splice();return 2===e.length&&ne(t)&&0===t.length}();O(r,{splice:function(e,t){return 0===arguments.length?[]:p.apply(this,arguments)}},!fe);var de=function(){var e={};return r.splice.call(e,0,0,1),1===e.length}();O(r,{splice:function(e,t){if(0===arguments.length)return[];var n=arguments;return this.length=b(W.ToInteger(this.length),0),arguments.length>0&&"number"!=typeof t&&(n=F(arguments),n.length<2?$(n,this.length-e):n[1]=W.ToInteger(t)),p.apply(this,n)}},!de);var pe=function(){var e=new n(1e5);return e[8]="x",e.splice(1,1),7===e.indexOf("x")}(),he=function(){var e=256,t=[];return t[e]="a",t.splice(e+1,0,"b"),"a"===t[e]}();O(r,{splice:function(e,t){for(var n,r=W.ToObject(this),i=[],o=W.ToUint32(r.length),a=W.ToInteger(e),s=0>a?b(o+a,0):I(a,o),u=I(b(W.ToInteger(t),0),o-s),c=0;u>c;)n=l(s+c),J(r,n)&&(i[c]=r[n]),c+=1;var f,d=F(arguments,2),p=d.length;if(u>p){c=s;for(var h=o-u;h>c;)n=l(c+u),f=l(c+p),J(r,n)?r[f]=r[n]:delete r[f],c+=1;c=o;for(var g=o-u+p;c>g;)delete r[c-1],c-=1}else if(p>u)for(c=o-u;c>s;)n=l(c+u-1),f=l(c+p-1),J(r,n)?r[f]=r[n]:delete r[f],c-=1;c=s;for(var m=0;m<d.length;++m)r[c]=d[m],c+=1;return r.length=o-u+p,i}},!pe||!he);var ge,me=r.join;try{ge="1,2,3"!==Array.prototype.join.call("123",",")}catch(V){ge=!0}ge&&O(r,{join:function(e){var t="undefined"==typeof e?",":e;return me.call(Z(this)?Q(this,""):this,t)}},ge);var ve="1,2"!==[1,2].join(void 0);ve&&O(r,{join:function(e){var t="undefined"==typeof e?",":e;return me.call(this,t)}},ve);var ye=function(e){for(var t=W.ToObject(this),n=W.ToUint32(t.length),r=0;r<arguments.length;)t[n+r]=arguments[r],r+=1;return t.length=n+r,n+r},we=function(){var e={},t=Array.prototype.push.call(e,void 0);return 1!==t||1!==e.length||"undefined"!=typeof e[0]||!J(e,0)}();O(r,{push:function(e){return ne(this)?h.apply(this,arguments):ye.apply(this,arguments)}},we);var be=function(){var e=[],t=e.push(void 0);return 1!==t||1!==e.length||"undefined"!=typeof e[0]||!J(e,0)}();O(r,{push:ye},be),O(r,{slice:function(e,t){var n=Z(this)?Q(this,""):this;return H(n,arguments)}},oe);var Ie=function(){try{[1,2].sort(null)}catch(e){try{[1,2].sort({})}catch(t){return!1}}return!0}(),Me=function(){try{return[1,2].sort(/a/),!1}catch(e){}return!0}(),Ce=function(){try{return[1,2].sort(void 0),!0}catch(e){}return!1}();O(r,{sort:function(t){if("undefined"==typeof t)return te(this);if(!e(t))throw new TypeError("Array.prototype.sort callback must be a function");return te(this,t)}},Ie||!Ce||!Me);var Ae=!ee({toString:null},"toString"),Se=ee(function(){},"prototype"),Ee=!J("x","0"),je=function(e){var t=e.constructor;return t&&t.prototype===e},De={$window:!0,$console:!0,$parent:!0,$self:!0,$frame:!0,$frames:!0,$frameElement:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$external:!0,$width:!0,$height:!0,$top:!0,$localStorage:!0},Ne=function(){if("undefined"==typeof window)return!1;for(var e in window)try{!De["$"+e]&&J(window,e)&&null!==window[e]&&"object"==typeof window[e]&&je(window[e])}catch(t){return!0}return!1}(),xe=function(e){if("undefined"==typeof window||!Ne)return je(e);try{return je(e)}catch(t){return!1}},Le=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Te=Le.length,Ze=function(e){return"[object Arguments]"===B(e)},Pe=function(t){return null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&!ne(t)&&e(t.callee)},ke=Ze(arguments)?Ze:Pe;O(i,{keys:function(t){var n=e(t),r=ke(t),i=null!==t&&"object"==typeof t,o=i&&Z(t);if(!i&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var a=[],s=Se&&n;if(o&&Ee||r)for(var u=0;u<t.length;++u)$(a,l(u));if(!r)for(var c in t)s&&"prototype"===c||!J(t,c)||$(a,l(c));if(Ae)for(var f=xe(t),d=0;Te>d;d++){var p=Le[d];f&&"constructor"===p||!J(t,p)||$(a,p)}return a}});var Ye=i.keys&&function(){return 2===i.keys(arguments).length}(1,2),ze=i.keys&&function(){var e=i.keys(arguments);return 1!==arguments.length||1!==e.length||1!==e[0]}(1),Oe=i.keys;O(i,{keys:function(e){return Oe(ke(e)?F(e):e)}},!Ye||ze);var Ge,Re,We=0!==new Date(-0xc782b5b342b24).getUTCMonth(),Ue=new Date(-0x55d318d56a724),Je=new Date(14496624e5),Be="Mon, 01 Jan -45875 11:59:59 GMT"!==Ue.toUTCString(),Fe=Ue.getTimezoneOffset();-720>Fe?(Ge="Tue Jan 02 -45875"!==Ue.toDateString(),Re=!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(Je))):(Ge="Mon Jan 01 -45875"!==Ue.toDateString(),Re=!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(Je)));var He=y.bind(Date.prototype.getFullYear),Ve=y.bind(Date.prototype.getMonth),Xe=y.bind(Date.prototype.getDate),_e=y.bind(Date.prototype.getUTCFullYear),Ke=y.bind(Date.prototype.getUTCMonth),Qe=y.bind(Date.prototype.getUTCDate),qe=y.bind(Date.prototype.getUTCDay),$e=y.bind(Date.prototype.getUTCHours),et=y.bind(Date.prototype.getUTCMinutes),tt=y.bind(Date.prototype.getUTCSeconds),nt=y.bind(Date.prototype.getUTCMilliseconds),rt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],it=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ot=function(e,t){return Xe(new Date(t,e,0))};O(Date.prototype,{getFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=He(this);return 0>e&&Ve(this)>11?e+1:e},getMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=He(this),t=Ve(this);return 0>e&&t>11?0:t},getDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=He(this),t=Ve(this),n=Xe(this);if(0>e&&t>11){if(12===t)return n;var r=ot(0,e+1);return r-n+1}return n},getUTCFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=_e(this);return 0>e&&Ke(this)>11?e+1:e},getUTCMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=_e(this),t=Ke(this);return 0>e&&t>11?0:t},getUTCDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=_e(this),t=Ke(this),n=Qe(this);if(0>e&&t>11){if(12===t)return n;var r=ot(0,e+1);return r-n+1}return n}},We),O(Date.prototype,{toUTCString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=qe(this),t=Qe(this),n=Ke(this),r=_e(this),i=$e(this),o=et(this),a=tt(this);return rt[e]+", "+(10>t?"0"+t:t)+" "+it[n]+" "+r+" "+(10>i?"0"+i:i)+":"+(10>o?"0"+o:o)+":"+(10>a?"0"+a:a)+" GMT"}},We||Be),O(Date.prototype,{toDateString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),n=this.getMonth(),r=this.getFullYear();return rt[e]+" "+it[n]+" "+(10>t?"0"+t:t)+" "+r}},We||Ge),(We||Re)&&(Date.prototype.toString=function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),n=this.getMonth(),r=this.getFullYear(),i=this.getHours(),o=this.getMinutes(),a=this.getSeconds(),s=this.getTimezoneOffset(),l=Math.floor(Math.abs(s)/60),u=Math.floor(Math.abs(s)%60);return rt[e]+" "+it[n]+" "+(10>t?"0"+t:t)+" "+r+" "+(10>i?"0"+i:i)+":"+(10>o?"0"+o:o)+":"+(10>a?"0"+a:a)+" GMT"+(s>0?"-":"+")+(10>l?"0"+l:l)+(10>u?"0"+u:u)},z&&i.defineProperty(Date.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0}));var at=-621987552e5,st="-000001",lt=Date.prototype.toISOString&&-1===new Date(at).toISOString().indexOf(st),ut=Date.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new Date(-1).toISOString(),ct=y.bind(Date.prototype.getTime);O(Date.prototype,{toISOString:function(){if(!isFinite(this)||!isFinite(ct(this)))throw new RangeError("Date.prototype.toISOString called on non-finite value.");var e=_e(this),t=Ke(this);e+=Math.floor(t/12),t=(t%12+12)%12;var n=[t+1,Qe(this),$e(this),et(this),tt(this)];e=(0>e?"-":e>9999?"+":"")+K("00000"+Math.abs(e),e>=0&&9999>=e?-4:-6);for(var r=0;r<n.length;++r)n[r]=K("00"+n[r],-2);return e+"-"+F(n,0,2).join("-")+"T"+F(n,2).join(":")+"."+K("000"+nt(this),-3)+"Z"}},lt||ut);var ft=function(){try{return Date.prototype.toJSON&&null===new Date(NaN).toJSON()&&-1!==new Date(at).toJSON().indexOf(st)&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(e){return!1}}();ft||(Date.prototype.toJSON=function(t){var n=i(this),r=W.ToPrimitive(n);if("number"==typeof r&&!isFinite(r))return null;var o=n.toISOString;if(!e(o))throw new TypeError("toISOString property is not callable");return o.call(n)});var dt=1e15===Date.parse("+033658-09-27T01:46:40.000Z"),pt=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z"))||!isNaN(Date.parse("2012-12-31T23:59:60.000Z")),ht=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));if(ht||pt||!dt){var gt=Math.pow(2,31)-1,mt=R(new Date(1970,0,1,0,0,0,gt+1).getTime());Date=function(e){var t=function(n,r,i,o,a,s,u){var c,f=arguments.length;if(this instanceof e){var d=s,p=u;if(mt&&f>=7&&u>gt){var h=Math.floor(u/gt)*gt,g=Math.floor(h/1e3);d+=g,p-=1e3*g}c=1===f&&l(n)===n?new e(t.parse(n)):f>=7?new e(n,r,i,o,a,d,p):f>=6?new e(n,r,i,o,a,d):f>=5?new e(n,r,i,o,a):f>=4?new e(n,r,i,o):f>=3?new e(n,r,i):f>=2?new e(n,r):f>=1?new e(n instanceof e?+n:n):new e}else c=e.apply(this,arguments);return G(c)||O(c,{constructor:t},!0),c},n=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),r=[0,31,59,90,120,151,181,212,243,273,304,334,365],i=function(e,t){var n=t>1?1:0;return r[t]+Math.floor((e-1969+n)/4)-Math.floor((e-1901+n)/100)+Math.floor((e-1601+n)/400)+365*(e-1970)},o=function(t){var n=0,r=t;if(mt&&r>gt){var i=Math.floor(r/gt)*gt,o=Math.floor(i/1e3);n+=o,r-=1e3*o}return c(new e(1970,0,1,0,0,n,r))};for(var a in e)J(e,a)&&(t[a]=e[a]);O(t,{now:e.now,UTC:e.UTC},!0),t.prototype=e.prototype,O(t.prototype,{constructor:t},!0);var s=function(t){var r=n.exec(t);if(r){var a,s=c(r[1]),l=c(r[2]||1)-1,u=c(r[3]||1)-1,f=c(r[4]||0),d=c(r[5]||0),p=c(r[6]||0),h=Math.floor(1e3*c(r[7]||0)),g=Boolean(r[4]&&!r[8]),m="-"===r[9]?1:-1,v=c(r[10]||0),y=c(r[11]||0),w=d>0||p>0||h>0;return(w?24:25)>f&&60>d&&60>p&&1e3>h&&l>-1&&12>l&&24>v&&60>y&&u>-1&&u<i(s,l+1)-i(s,l)&&(a=60*(24*(i(s,l)+u)+f+v*m),a=1e3*(60*(a+d+y*m)+p)+h,g&&(a=o(a)),a>=-864e13&&864e13>=a)?a:NaN}return e.parse.apply(this,arguments)};return O(t,{parse:s}),t}(Date)}Date.now||(Date.now=function(){return(new Date).getTime()});var vt=f.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0)),yt={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function(e,t){for(var n=-1,r=t;++n<yt.size;)r+=e*yt.data[n],yt.data[n]=r%yt.base,r=Math.floor(r/yt.base)},divide:function(e){for(var t=yt.size,n=0;--t>=0;)n+=yt.data[t],yt.data[t]=Math.floor(n/e),n=n%e*yt.base},numToString:function(){for(var e=yt.size,t="";--e>=0;)if(""!==t||0===e||0!==yt.data[e]){var n=l(yt.data[e]);""===t?t=n:t+=K("0000000",0,7-n.length)+n}return t},pow:function Ot(e,t,n){return 0===t?n:t%2===1?Ot(e,t-1,n*e):Ot(e*e,t/2,n)},log:function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}},wt=function(e){var t,n,r,i,o,a,s,u;if(t=c(e),t=R(t)?0:Math.floor(t),0>t||t>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(n=c(this),R(n))return"NaN";if(-1e21>=n||n>=1e21)return l(n);if(r="",0>n&&(r="-",n=-n),i="0",n>1e-21)if(o=yt.log(n*yt.pow(2,69,1))-69,a=0>o?n*yt.pow(2,-o,1):n/yt.pow(2,o,1),a*=4503599627370496,o=52-o,o>0){for(yt.multiply(0,a),s=t;s>=7;)yt.multiply(1e7,0),s-=7;for(yt.multiply(yt.pow(10,s,1),0),s=o-1;s>=23;)yt.divide(1<<23),s-=23;yt.divide(1<<s),yt.multiply(1,1),yt.divide(2),i=yt.numToString()}else yt.multiply(0,a),yt.multiply(1<<-o,0),i=yt.numToString()+K("0.00000000000000000000",2,2+t);return t>0?(u=i.length,i=t>=u?r+K("0.0000000000000000000",0,t-u+2)+i:r+K(i,0,u-t)+"."+K(i,u-t)):i=r+i,i};O(f,{toFixed:wt},vt);var bt=function(){try{return"1"===1..toPrecision(void 0)}catch(e){return!0}}(),It=f.toPrecision;O(f,{toPrecision:function(e){return"undefined"==typeof e?It.call(this):It.call(this,e)}},bt),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?!function(){var e="undefined"==typeof/()??/.exec("")[1],n=Math.pow(2,32)-1;u.split=function(r,i){var o=String(this);if("undefined"==typeof r&&0===i)return[];if(!t(r))return Q(this,r,i);var a,s,l,u,c=[],f=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(r.sticky?"y":""),d=0,p=new RegExp(r.source,f+"g");e||(a=new RegExp("^"+p.source+"$(?!\\s)",f));var g="undefined"==typeof i?n:W.ToUint32(i);for(s=p.exec(o);s&&(l=s.index+s[0].length,!(l>d&&($(c,K(o,d,s.index)),!e&&s.length>1&&s[0].replace(a,function(){for(var e=1;e<arguments.length-2;e++)"undefined"==typeof arguments[e]&&(s[e]=void 0)}),s.length>1&&s.index<o.length&&h.apply(c,F(s,1)),u=s[0].length,d=l,c.length>=g)));)p.lastIndex===s.index&&p.lastIndex++,s=p.exec(o);return d===o.length?(u||!p.test(""))&&$(c,""):$(c,K(o,d)),c.length>g?F(c,0,g):c}}():"0".split(void 0,0).length&&(u.split=function(e,t){return"undefined"==typeof e&&0===t?[]:Q(this,e,t)});var Mt=u.replace,Ct=function(){var e=[];return"x".replace(/x(.)?/g,function(t,n){$(e,n)}),1===e.length&&"undefined"==typeof e[0]}();Ct||(u.replace=function(n,r){var i=e(r),o=t(n)&&/\)[*?]/.test(n.source);if(i&&o){var a=function(e){var t=arguments.length,i=n.lastIndex;n.lastIndex=0;var o=n.exec(e)||[];return n.lastIndex=i,$(o,arguments[t-2],arguments[t-1]),r.apply(this,o)};return Mt.call(this,n,a)}return Mt.call(this,n,r)});var At=u.substr,St="".substr&&"b"!=="0b".substr(-1);O(u,{substr:function(e,t){var n=e;return 0>e&&(n=b(this.length+e,0)),At.call(this,n,t)}},St);var Et=" \n\f\r   ᠎              \u2028\u2029\ufeff",jt="​",Dt="["+Et+"]",Nt=new RegExp("^"+Dt+Dt+"*"),xt=new RegExp(Dt+Dt+"*$"),Lt=u.trim&&(Et.trim()||!jt.trim());O(u,{trim:function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");return l(this).replace(Nt,"").replace(xt,"")}},Lt);var Tt=y.bind(String.prototype.trim),Zt=u.lastIndexOf&&-1!=="abcあい".lastIndexOf("あい",2);O(u,{lastIndexOf:function(e){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");for(var t=l(this),n=l(e),r=arguments.length>1?c(arguments[1]):NaN,i=R(r)?1/0:W.ToInteger(r),o=I(b(i,0),t.length),a=n.length,s=o+a;s>0;){s=b(0,s-a);var u=q(K(t,s,o+a),n);if(-1!==u)return s+u}return-1}},Zt);var Pt=u.lastIndexOf;if(O(u,{lastIndexOf:function(e){return Pt.apply(this,arguments)}},1!==u.lastIndexOf.length),(8!==parseInt(Et+"08")||22!==parseInt(Et+"0x16"))&&(parseInt=function(e){var t=/^[-+]?0[xX]/;return function(n,r){var i=Tt(String(n)),o=c(r)||(t.test(i)?16:10);return e(i,o)}}(parseInt)),1/parseFloat("-0")!==-(1/0)&&(parseFloat=function(e){return function(t){var n=Tt(String(t)),r=e(n);return 0===r&&"-"===K(n,0,1)?-0:r}}(parseFloat)),"RangeError: test"!==String(new RangeError("test"))){var kt=function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");var e=this.name;"undefined"==typeof e?e="Error":"string"!=typeof e&&(e=l(e));var t=this.message;return"undefined"==typeof t?t="":"string"!=typeof t&&(t=l(t)),e?t?e+": "+t:e:t};Error.prototype.toString=kt}if(z){var Yt=function(e,t){if(ee(e,t)){var n=Object.getOwnPropertyDescriptor(e,t);n.configurable&&(n.enumerable=!1,Object.defineProperty(e,t,n))}};Yt(Error.prototype,"message"),""!==Error.prototype.message&&(Error.prototype.message=""),Yt(Error.prototype,"name")}if("/a/gim"!==String(/a/gim)){var zt=function(){var e="/"+this.source+"/";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),e};RegExp.prototype.toString=zt}})},{}],39:[function(e,t,n){var r=[],i=r.forEach,o=r.slice;t.exports=function(e){return i.call(o.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e}},{}],40:[function(e,t,n){n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,f=n?i-1:0,d=n?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:(p?-1:1)*(1/0);a+=Math.pow(2,r),o-=u}return(p?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,g=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+f>=1?d/l:d*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+p]=255&a,p+=h,a/=256,u-=8);e[n+p-h]|=128*g}},{}],41:[function(e,t,n){var r=[].indexOf;t.exports=function(e,t){if(r)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}},{}],42:[function(e,t,n){function r(e){var t=i.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}t.exports=r;var i=Object.prototype.toString},{}],43:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],44:[function(t,n,r){(function(t){!function(i){function o(e){throw new RangeError(P[e])}function a(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function s(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(Z,".");var i=e.split("."),o=a(i,t).join(".");return r+o}function l(e){for(var t,n,r=[],i=0,o=e.length;o>i;)t=e.charCodeAt(i++),t>=55296&&56319>=t&&o>i?(n=e.charCodeAt(i++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--)):r.push(t);return r}function u(e){return a(e,function(e){var t="";return e>65535&&(e-=65536,t+=z(e>>>10&1023|55296),e=56320|1023&e),t+=z(e)}).join("")}function c(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:C}function f(e,t){return e+22+75*(26>e)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?Y(e/j):e>>1,e+=Y(e/t);e>k*S>>1;r+=C)e=Y(e/k);return Y(r+(k+1)*e/(e+E))}function p(e){var t,n,r,i,a,s,l,f,p,h,g=[],m=e.length,v=0,y=N,w=D;for(n=e.lastIndexOf(x),0>n&&(n=0),r=0;n>r;++r)e.charCodeAt(r)>=128&&o("not-basic"),g.push(e.charCodeAt(r));for(i=n>0?n+1:0;m>i;){for(a=v,s=1,l=C;i>=m&&o("invalid-input"),f=c(e.charCodeAt(i++)),(f>=C||f>Y((M-v)/s))&&o("overflow"),v+=f*s,p=w>=l?A:l>=w+S?S:l-w,!(p>f);l+=C)h=C-p,s>Y(M/h)&&o("overflow"),s*=h;t=g.length+1,w=d(v-a,t,0==a),Y(v/t)>M-y&&o("overflow"),y+=Y(v/t),v%=t,g.splice(v++,0,y)}return u(g)}function h(e){var t,n,r,i,a,s,u,c,p,h,g,m,v,y,w,b=[];for(e=l(e),m=e.length,t=N,n=0,a=D,s=0;m>s;++s)g=e[s],128>g&&b.push(z(g));for(r=i=b.length,i&&b.push(x);m>r;){for(u=M,s=0;m>s;++s)g=e[s],g>=t&&u>g&&(u=g);for(v=r+1,u-t>Y((M-n)/v)&&o("overflow"),n+=(u-t)*v,t=u,s=0;m>s;++s)if(g=e[s],t>g&&++n>M&&o("overflow"),g==t){for(c=n,p=C;h=a>=p?A:p>=a+S?S:p-a,!(h>c);p+=C)w=c-h,y=C-h,b.push(z(f(h+w%y,0))),c=Y(w/y);b.push(z(f(c,0))),a=d(n,v,r==i),n=0,++r}++n,++t}return b.join("")}function g(e){return s(e,function(e){return L.test(e)?p(e.slice(4).toLowerCase()):e})}function m(e){return s(e,function(e){return T.test(e)?"xn--"+h(e):e})}var v="object"==typeof r&&r&&!r.nodeType&&r,y="object"==typeof n&&n&&!n.nodeType&&n,w="object"==typeof t&&t;(w.global===w||w.window===w||w.self===w)&&(i=w);var b,I,M=2147483647,C=36,A=1,S=26,E=38,j=700,D=72,N=128,x="-",L=/^xn--/,T=/[^\x20-\x7E]/,Z=/[\x2E\u3002\uFF0E\uFF61]/g,P={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},k=C-A,Y=Math.floor,z=String.fromCharCode;if(b={version:"1.4.1",ucs2:{decode:l,encode:u},decode:p,encode:h,toASCII:m,toUnicode:g},"function"==typeof e&&"object"==typeof e.amd&&e.amd)e("punycode",function(){return b});else if(v&&y)if(n.exports==v)y.exports=b;else for(I in b)b.hasOwnProperty(I)&&(v[I]=b[I]);else i.punycode=b}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],45:[function(t,n,r){!function(t,r){"undefined"!=typeof n&&n.exports?n.exports=r():"function"==typeof e&&e.amd?e(r):this[t]=r()}("$script",function(){function e(e,t){for(var n=0,r=e.length;r>n;++n)if(!t(e[n]))return l;return 1}function t(t,n){e(t,function(e){return!n(e)})}function n(o,a,s){function l(e){return e.call?e():d[e]}function c(){if(!--y){d[v]=1,m&&m();for(var n in h)e(n.split("|"),l)&&!t(h[n],l)&&(h[n]=[])}}o=o[u]?o:[o];var f=a&&a.call,m=f?a:s,v=f?o.join(""):a,y=o.length;return setTimeout(function(){t(o,function e(t,n){return null===t?c():(n||/^https?:\/\//.test(t)||!i||(t=-1===t.indexOf(".js")?i+t+".js":i+t),g[t]?(v&&(p[v]=1),2==g[t]?c():setTimeout(function(){e(t,!0)},0)):(g[t]=1,v&&(p[v]=1),void r(t,c)))})},0),n}function r(e,t){var n,r=a.createElement("script");r.onload=r.onerror=r[f]=function(){r[c]&&!/^c|loade/.test(r[c])||n||(r.onload=r[f]=null,n=1,g[e]=2,t())},r.async=1,r.src=o?e+(-1===e.indexOf("?")?"?":"&")+o:e,s.insertBefore(r,s.lastChild)}var i,o,a=document,s=a.getElementsByTagName("head")[0],l=!1,u="push",c="readyState",f="onreadystatechange",d={},p={},h={},g={};return n.get=r,n.order=function(e,t,r){!function i(o){o=e.shift(),e.length?n(o,i):n(o,t,r)}()},n.path=function(e){i=e},n.urlArgs=function(e){o=e},n.ready=function(r,i,o){r=r[u]?r:[r];var a=[];return!t(r,function(e){d[e]||a[u](e)})&&e(r,function(e){return d[e]})?i():!function(e){h[e]=h[e]||[],h[e][u](i),o&&o(a)}(r.join("|")),n},n.done=function(e){n([null],e)},n})},{}]},{},[32])(32)});
11
-
12
-
13
- /*! js-cookie v2.2.0 | MIT */
14
- !function(e){var n=!1;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var o=window.Cookies,t=window.Cookies=e();t.noConflict=function(){return window.Cookies=o,t}}}(function(){function e(){for(var e=0,n={};e<arguments.length;e++){var o=arguments[e];for(var t in o)n[t]=o[t]}return n}function n(o){function t(n,r,i){var c;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(i=e({path:"/"},t.defaults,i)).expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*i.expires),i.expires=a}i.expires=i.expires?i.expires.toUTCString():"";try{c=JSON.stringify(r),/^[\{\[]/.test(c)&&(r=c)}catch(e){}r=o.write?o.write(r,n):encodeURIComponent(r+"").replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=(n=(n=encodeURIComponent(n+"")).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var s="";for(var f in i)i[f]&&(s+="; "+f,!0!==i[f]&&(s+="="+i[f]));return document.cookie=n+"="+r+s}n||(c={});for(var p=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,u=0;u<p.length;u++){var l=p[u].split("="),C=l.slice(1).join("=");this.json||'"'!==C.charAt(0)||(C=C.slice(1,-1));try{var m=l[0].replace(d,decodeURIComponent);if(C=o.read?o.read(C,m):o(C,m)||C.replace(d,decodeURIComponent),this.json)try{C=JSON.parse(C)}catch(e){}if(n===m){c=C;break}n||(c[m]=C)}catch(e){}}return c}}return t.set=t,t.get=function(e){return t.call(t,e)},t.getJSON=function(){return t.apply({json:!0},[].slice.call(arguments))},t.defaults={},t.remove=function(n,o){t(n,"",e(o,{expires:-1}))},t.withConverter=n,t}return n(function(){})});
15
-
16
-
17
- /*
18
- FV Flowplayer additions!
19
- */
20
- if( typeof(fv_flowplayer_conf) != "undefined" ) {
21
- try {
22
- if(typeof(window.localStorage) == 'object' && typeof(window.localStorage.volume) != 'undefined'){
23
- delete fv_flowplayer_conf.volume;
24
- }
25
- } catch(e) {}
26
-
27
- flowplayer.conf = fv_flowplayer_conf;
28
- flowplayer.conf.share = false;
29
-
30
- flowplayer.conf.hlsjs = {
31
- startLevel: -1,
32
- fragLoadingMaxRetry: 3,
33
- levelLoadingMaxRetry: 3
34
- //capLevelToPlayerSize: true, // great, but it has bugs
35
- };
36
-
37
- flowplayer.support.fvmobile = !!( !flowplayer.support.firstframe || flowplayer.support.iOS || flowplayer.support.android );
38
-
39
- var fls = flowplayer.support;
40
- if( flowplayer.conf.mobile_native_fullscreen && ( 'ontouchstart' in window ) && fls.fvmobile ) {
41
- flowplayer.conf.native_fullscreen = true;
42
- }
43
-
44
- if( 'ontouchstart' in window ) {
45
- if( fls.android && fls.android.version < 4.4 && ! ( fls.browser.chrome && fls.browser.version > 54 ) ) {
46
- flowplayer.conf.native_fullscreen = true;
47
- }
48
-
49
- function inIframe() {
50
- try {
51
- return window.self !== window.top;
52
- } catch (e) {
53
- return true;
54
- }
55
- }
56
-
57
- if( fls.iOS && ( inIframe() || fls.iOS.version < 7 ) ) {
58
- flowplayer.conf.native_fullscreen = true;
59
- }
60
- }
61
- }
62
- if( typeof(fv_flowplayer_translations) != "undefined" ) {
63
- flowplayer.defaults.errors = fv_flowplayer_translations;
64
- }
65
-
66
- if( typeof(fv_flowplayer_admin_input) != "undefined" && fv_flowplayer_admin_input ) {
67
- jQuery(document).keyup(function(e) {
68
- if (e.keyCode == 27) { fv_wp_flowplayer_admin_show_notice(); } // esc
69
- });
70
-
71
- jQuery(document).click( function(event) {
72
- if( jQuery(event.target).parents('.fv-wp-flowplayer-notice').length == 0 &&
73
- jQuery(event.target).parents('.fv-wp-flowplayer-notice-small').length == 0 ) {
74
- if( jQuery('.fv-wp-flowplayer-notice:visible').length ) fv_wp_flowplayer_admin_show_notice();
75
- }
76
- } );
77
- }
78
-
79
- function fv_wp_flowplayer_admin_show_notice( id, link ) {
80
- if( id == null && link == null ) {
81
- var api = flowplayer(), currentPos;
82
- if( typeof api != "undefined" ) {
83
- api.disable(false);
84
- }
85
- jQuery('.fv-wp-flowplayer-notice .fv_wp_fp_notice_content').toggle();
86
- jQuery('.fv-wp-flowplayer-notice').toggleClass("fv-wp-flowplayer-notice");
87
- } else {
88
- jQuery('#fv_wp_fp_notice_'+id).toggle();
89
-
90
- var api = flowplayer(), currentPos;
91
- if( typeof(api) != "undefined" && jQuery('#fv_wp_fp_notice_'+id).parent().hasClass("fv-wp-flowplayer-notice") ) {
92
- api.disable(false);
93
- } else if( typeof(api) != "undefined" ) {
94
- api.disable(true);
95
- }
96
-
97
- jQuery('#fv_wp_fp_notice_'+id).parent().toggleClass("fv-wp-flowplayer-notice");
98
- }
99
-
100
- jQuery('.fv-wp-flowplayer-notice').each( function() {
101
- if( jQuery(this).is(':visible') ) {
102
- jQuery(this).parents('.flowplayer').addClass('has-video-checker');
103
- } else {
104
- jQuery(this).parents('.flowplayer').removeClass('has-video-checker');
105
- }
106
- });
107
- }
108
-
109
- function fv_wp_flowplayer_admin_support_mail( hash, button ) {
110
- jQuery('.fv_flowplayer_submit_error').remove();
111
-
112
- var comment_text = jQuery('#wpfp_support_'+hash).val();
113
- var comment_words = comment_text.split(/\s/);
114
- if( comment_words.length == 0 || comment_text.match(/Enter your comment/) ) {
115
- jQuery('#wpfp_support_'+hash).before('<p class="fv_flowplayer_submit_error" style="display:none; "><strong>'+fv_flowplayer_translations.what_is_wrong+'</strong></p>');
116
- jQuery('.fv_flowplayer_submit_error').fadeIn();
117
- return false;
118
- }
119
-
120
- if( comment_words.length < 7 ) {
121
- jQuery('#wpfp_support_'+hash).before('<p class="fv_flowplayer_submit_error" style="display:none; "><strong>'+fv_flowplayer_translations.full_sentence+'</strong>:</p>');
122
- jQuery('.fv_flowplayer_submit_error').fadeIn();
123
- return false;
124
- }
125
-
126
- jQuery('#wpfp_spin_'+hash).show();
127
- jQuery(button).attr("disabled", "disabled");
128
-
129
- jQuery.post(
130
- fv_fp_ajaxurl,
131
- {
132
- action: 'fv_wp_flowplayer_support_mail',
133
- comment: comment_text,
134
- notice: jQuery('#wpfp_notice_'+hash+' .mail-content-notice').html(),
135
- details: jQuery('#wpfp_notice_'+hash+' .mail-content-details').html()
136
- },
137
- function( response ) {
138
- jQuery('#wpfp_spin_'+hash).hide();
139
- jQuery(button).removeAttr("disabled");
140
- jQuery(button).after(' Message sent');
141
- setTimeout( function() { fv_wp_flowplayer_admin_show_notice(hash) }, 1500 );
142
- }
143
- );
144
- }
145
-
146
- function fv_flowplayer_admin_message_parse_group(aInfo) {
147
- var sOutput = '';
148
- if( typeof(aInfo) != "undefined" && Object.keys(aInfo).length > 0 ) {
149
- for( var j in aInfo ) {
150
- if( j == parseInt(j) ){
151
- sOutput += aInfo[j]+'<br />';
152
- } else if( typeof(aInfo[j]) == "function" ) {
153
- continue;
154
- } else {
155
- sOutput += j+': <tt>'+aInfo[j]+'</tt><br />';
156
- }
157
- }
158
- }
159
- if( sOutput.length > 0 ){
160
- sOutput = '<p>'+sOutput+'</p>';
161
- }
162
- return sOutput;
163
- }
164
-
165
-
166
-
167
- if( typeof(fv_flowplayer_admin_test_media_array) != "undefined" ) {
168
- var fv_flowplayer_scroll_video_checker = false;
169
- var fv_flowplayer_scroll_video_checker_status = [];
170
- jQuery(document).ready( function() { fv_flowplayer_scroll_video_checker = true; } );
171
- jQuery(document).scroll( function() { fv_flowplayer_scroll_video_checker = true; } );
172
-
173
- setInterval( function() {
174
- if( !fv_flowplayer_scroll_video_checker ) return;
175
-
176
- var iMin = jQuery(window).scrollTop();
177
- var iMax = iMin + jQuery(window).height();
178
- jQuery('.flowplayer').each( function() {
179
- var iPlayer = jQuery(this).offset().top;
180
- if( iPlayer > iMin && iPlayer < iMax ) {
181
- if( typeof(fv_flowplayer_scroll_video_checker_status[jQuery(this).attr('id')]) == "undefined" ) { // todo: store this somewhere else!
182
- fv_flowplayer_scroll_video_checker_status[jQuery(this).attr('id')] = true;
183
- var sID = jQuery(this).attr('id').replace(/wpfp_/,'');
184
- if( typeof(fv_flowplayer_admin_test_media_array[sID]) != "undefined" ) {
185
- fv_flowplayer_admin_test_media( sID, fv_flowplayer_admin_test_media_array[sID] );
186
- }
187
- }
188
- }
189
- } );
190
- fv_flowplayer_scroll_video_checker = false;
191
- }, 500 );
192
- }
193
-
194
-
195
- function fv_flowplayer_admin_test_media( hash, media ) {
196
- var hVideoChecker = jQuery('#wpfp_notice_'+hash);
197
- jQuery('#wpfp_notice_'+hash).parent().append(jQuery('#wpfp_notice_'+hash));
198
- jQuery('#wpfp_notice_'+hash).show();
199
-
200
- jQuery.post( 'https://video-checker.foliovision.com/', { action: 'vid_check', media: media, hash: hash, site: flowplayer.conf.video_checker_site }, function( response ) {
201
- var obj;
202
- try {
203
- response = response.replace( /[\s\S]*<FVFLOWPLAYER>/, '' );
204
- response = response.replace( /<\/FVFLOWPLAYER>[\s\S]*/, '' );
205
- obj = jQuery.parseJSON( response );
206
-
207
- var sCheckerInfo = '';
208
- var sCheckerDetails = '';
209
- var sResponseClass = 'vid-ok';
210
- var sResponseMsg = 'Video OK';
211
-
212
- for( var i in obj ) {
213
- if( !obj.hasOwnProperty(i) ) continue;
214
- if( i != "global" ) {
215
- sCheckerInfo += '<p>Analysis of <a href="'+i+'">'+i+'</a></p>';
216
- }
217
- sCheckerInfo += fv_flowplayer_admin_message_parse_group(obj[i].info);
218
-
219
- var sWarnings = (typeof(obj[i].warnings) != "undefined" ) ? fv_flowplayer_admin_message_parse_group(obj[i].warnings) : false;
220
- if( typeof(obj[i].warnings) != "undefined" && sWarnings ) {
221
- if( sResponseClass != 'vid-issues' ) {
222
- sResponseMsg = 'Video Warnings';
223
- sResponseClass = 'vid-warning';
224
- }
225
- sCheckerInfo += sWarnings;
226
- }
227
-
228
- var sErrors = ( typeof(obj[i].errors) != "undefined" ) ? fv_flowplayer_admin_message_parse_group(obj[i].errors) : false;
229
- if( typeof(obj[i].errors) != "undefined" && sErrors ) {
230
- sResponseMsg = fv_flowplayer_translations.video_issues;
231
- sResponseClass = 'vid-issues';
232
- sCheckerInfo += sErrors;
233
- }
234
-
235
- jQuery('#wpfp_notice_'+hash).find('.video-checker-result').addClass(sResponseClass).html(sResponseMsg);
236
-
237
- sCheckerDetails += fv_flowplayer_admin_message_parse_group(obj[i].details);
238
-
239
- }
240
- jQuery('#wpfp_notice_'+hash).find('.video-checker-result').wrap('<a class="fv_wp_flowplayer_dialog_link"></a>');
241
- jQuery('#wpfp_notice_'+hash).find('.fv_wp_flowplayer_dialog_link').click( function() { fv_wp_flowplayer_admin_show_notice( hash, this) } );
242
- jQuery('#wpfp_notice_'+hash).find('.mail-content-notice').html('<p>'+sCheckerInfo+'</p>');
243
- jQuery('#wpfp_notice_'+hash).find('.mail-content-details .fv-wp-flowplayer-notice-parsed').html(sCheckerDetails)
244
-
245
- } catch(e) {
246
- console.log(e);
247
- jQuery('#wpfp_notice_'+hash).html('<p>'+fv_flowplayer_translations.error_JSON+'</p>');
248
- return;
249
- }
250
-
251
- } ).error(function() {
252
- if( /MSIE 9/i.test(navigator.userAgent) ){
253
- jQuery('#wpfp_notice_'+hash).html('<p>'+fv_flowplayer_translations.no_support_IE9+'</p>');
254
- } else {
255
- jQuery('#wpfp_notice_'+hash).html('<p>'+fv_flowplayer_translations.check_failed+'</p>');
256
- }
257
- });
258
- }
259
-
260
-
261
- function fv_flowplayer_amazon_s3( hash, time ) { // v6
262
- jQuery('#wpfp_'+hash).bind('error', function (e,api, error) {
263
- var fv_fp_date = new Date();
264
- if( error.code == 4 && fv_fp_date.getTime() > (fv_fp_utime + parseInt(time)) ) {
265
- jQuery(e.target).find('.fp-message').delay(500).queue( function(n) {
266
- jQuery(this).html(fv_flowplayer_translations.video_expired); n();
267
- } );
268
- }
269
- } );
270
- }
271
-
272
- function fv_flowplayer_browser_chrome_fail( hash, sAttributes, sVideo, bAutobuffer ) {
273
- jQuery('#wpfp_'+hash).bind('error', function (e,api, error) {
274
- if( /chrom(e|ium)/.test(navigator.userAgent.toLowerCase()) && error != null && ( error.code == 3 || error.code == 4 || error.code == 5 ) ) {
275
- api.unload();
276
-
277
- jQuery('#wpfp_'+hash).attr('id','bad_wpfp_'+hash);
278
- jQuery('#bad_wpfp_'+hash).after( '<div id="wpfp_'+hash+'" '+sAttributes+' data-engine="flash"></div>' );
279
- jQuery('#wpfp_'+hash).flowplayer({ playlist: [ [ {mp4: sVideo} ] ] });
280
- // what about scripts?
281
- if( bAutobuffer ) {
282
- jQuery('#wpfp_'+hash).bind('ready', function(e, api) { api.play(); } );
283
- } else {
284
- jQuery('#wpfp_'+hash).flowplayer().play(0);
285
- }
286
- jQuery('#bad_wpfp_'+hash).remove();
287
- }
288
- });
289
- }
290
-
291
- function fv_flowplayer_browser_chrome_mp4( hash ) {
292
- var match = window.navigator.appVersion.match(/Chrome\/(\d+)\./);
293
- if( match != null ) {
294
- var chrome_ver = parseInt(match[1], 10);
295
- if(
296
- ( /chrom(e|ium)/.test(navigator.userAgent.toLowerCase()) && chrome_ver < 28 && navigator.appVersion.indexOf("Win")!=-1 ) ||
297
- ( /chrom(e|ium)/.test(navigator.userAgent.toLowerCase()) && chrome_ver < 27 && navigator.appVersion.indexOf("Linux")!=-1 && navigator.userAgent.toLowerCase().indexOf("android")==-1 )
298
- ) {
299
- jQuery('#wpfp_'+hash).attr('data-engine','flash');
300
- }
301
- }
302
- }
303
-
304
- function fv_flowplayer_browser_ff_m4v( hash ) {
305
- if( jQuery.browser && jQuery.browser.mozilla && navigator.appVersion.indexOf("Win")!=-1 ) {
306
- jQuery('#wpfp_'+hash).attr('data-engine','flash');
307
- }
308
- }
309
-
310
- function fv_flowplayer_browser_ie( hash ) {
311
- if( ( jQuery.browser && jQuery.browser.msie && parseInt(jQuery.browser.version, 10) >= 9) /*|| !!navigator.userAgent.match(/Trident.*rv[ :]*11\./)*/ ) {
312
- jQuery('#wpfp_'+hash).attr('data-engine','flash');
313
- }
314
- }
315
-
316
- if( (navigator.platform.indexOf("iPhone") != -1) || (navigator.platform.indexOf("iPod") != -1) || (navigator.platform.indexOf("iPad") != -1) || (navigator.userAgent.toLowerCase().indexOf("android") != -1) ) {
317
- flowplayer(function (api, root) {
318
- api.bind("error", function (e,api, error) {
319
- if( error.code == 10 ) {
320
- jQuery(e.target).find('.fp-message').html(fv_flowplayer_translations.unsupported_format);
321
- }
322
- });
323
- });
324
- }
325
-
326
- jQuery(document).ready( function() {
327
- if( (navigator.platform.indexOf("iPhone") != -1) || (navigator.platform.indexOf("iPod") != -1) || (navigator.platform.indexOf("iPad") != -1) ) {
328
- jQuery(window).trigger('load');
329
- }
330
- jQuery('.flowplayer').mouseleave( function() {
331
- jQuery(this).find('.fvp-share-bar').removeClass('visible');
332
- jQuery(this).find('.embed-code').hide();
333
- } );
334
- } );
335
-
336
- jQuery(document).on('click', '.flowplayer .embed-code-toggle', function() {
337
- var button = jQuery(this);
338
- var player = button.parents('.flowplayer');
339
- var api = player.data('flowplayer');
340
- if( typeof(api.embedCode) == 'function' && player.find('.embed-code textarea').val() == '' ) {
341
- player.find('.embed-code textarea').val(api.embedCode());
342
- }
343
-
344
- fv_player_clipboard( player.find('.embed-code textarea').val(), function() {
345
- fv_player_notice(player,fv_flowplayer_translations.embed_copied,2000);
346
- }, function() {
347
- button.parents('.fvp-share-bar').find('.embed-code').toggle();
348
- button.parents('.fvp-share-bar').toggleClass('visible');
349
- });
350
-
351
- return false;
352
- } );
353
-
354
-
355
- function fv_flowplayer_mobile_switch(id) {
356
- var regex = new RegExp("[\\?&]fv_flowplayer_mobile=([^&#]*)");
357
- var results = regex.exec(location.search);
358
- if(
359
- (
360
- (results != null && results[1] == 'yes') ||
361
- (jQuery(window).width() <= 480 || jQuery(window).height() <= 480) // todo: improve for Android with 1.5 pixel ratio
362
- )
363
- &&
364
- (results == null || results[1] != 'no')
365
- ) {
366
- var fv_fp_mobile = false;
367
- jQuery('#wpfp_'+id+' video source').each( function() {
368
- if( jQuery(this).attr('id') != 'wpfp_'+id+'_mobile' ) {
369
- fv_fp_mobile = true
370
- jQuery(this).remove();
371
- }
372
- } );
373
- if( fv_fp_mobile ) {
374
- jQuery('#wpfp_'+id).after('<p class="fv-flowplayer-mobile-switch">'+fv_flowplayer_translations.mobile_browser_detected_1+' <a href="'+document.URL+'?fv_flowplayer_mobile=no">'+fv_flowplayer_translations.mobile_browser_detected_2+'</a> '+fv_flowplayer_translations.mobile_browser_detected_3+'</p>');
375
- }
376
- }
377
- }
378
-
379
-
380
- var fv_flowplayer_safety_resize_arr = Array();
381
-
382
- function fv_flowplayer_safety_resize() {
383
- var fv_flowplayer_safety_resize_init = false;
384
-
385
- jQuery('.flowplayer').each( function() {
386
- if( !jQuery(this).is(":visible") || jQuery(this).hasClass('lightboxed') || jQuery(this).hasClass('lightbox-starter') || jQuery(this).hasClass('is-audio') ) return;
387
-
388
- if( jQuery(this).width() < 30 || jQuery(this).height() < 20 ) {
389
- fv_flowplayer_safety_resize_init = true
390
- var el = jQuery(this);
391
- while( jQuery(el).width() < 30 || jQuery(el).width() == jQuery(this).width() ) {
392
- if( jQuery(el).parent().length == 0 ) break;
393
- el = jQuery(el).parent();
394
- }
395
-
396
- jQuery(this).width( jQuery(el).width() );
397
- jQuery(this).height( parseInt(jQuery(this).width() * jQuery(this).attr('data-ratio')) );
398
- fv_flowplayer_safety_resize_arr[jQuery(this).attr('id')] = el;
399
- }
400
- } );
401
-
402
- if( fv_flowplayer_safety_resize_init ) {
403
- jQuery(window).resize(function() {
404
- jQuery('.flowplayer').each( function() {
405
- if( jQuery(this).hasClass('lightboxed') || jQuery(this).hasClass('lightbox-starter') ) return;
406
-
407
- if( fv_flowplayer_safety_resize_arr[jQuery(this).attr('id')] ) {
408
- jQuery(this).width( fv_flowplayer_safety_resize_arr[jQuery(this).attr('id')].width() );
409
- jQuery(this).height( parseInt(jQuery(this).width() * jQuery(this).attr('data-ratio')) );
410
- }
411
- } );
412
- } );
413
- }
414
- }
415
-
416
- if( typeof(flowplayer.conf.safety_resize) != "undefined" && flowplayer.conf.safety_resize ) {
417
- jQuery(document).ready(function() { setTimeout( function() { fv_flowplayer_safety_resize(); }, 10 ); } );
418
- }
419
-
420
-
421
-
422
-
423
- // did autoplay?
424
- var fv_player_did_autoplay = false;
425
-
426
-
427
-
428
-
429
- function fv_player_videos_parse(args, root) {
430
- var videos = JSON.parse(args);
431
-
432
- var regex = new RegExp("[\\?&]fv_flowplayer_mobile=([^&#]*)");
433
- var results = regex.exec(location.search);
434
- if(
435
- (
436
- (results != null && results[1] == 'yes') ||
437
- (jQuery(window).width() <= 480 || jQuery(window).height() <= 480) // todo: improve for Android with 1.5 pixel ratio
438
- )
439
- &&
440
- (results == null || results[1] != 'no')
441
- ) {
442
- var fv_fp_mobile = false;
443
- jQuery(videos.sources).each( function(k,v) {
444
- if(v.mobile) {
445
- videos.sources[k] = videos.sources[0];
446
- videos.sources[0] = v;
447
- fv_fp_mobile = true;
448
- }
449
- if( fv_fp_mobile ) {
450
- jQuery(root).after('<p class="fv-flowplayer-mobile-switch">'+fv_flowplayer_translations.mobile_browser_detected_1+' <a href="'+document.URL+'?fv_flowplayer_mobile=no">'+fv_flowplayer_translations.mobile_browser_detected_2+'</a> '+fv_flowplayer_translations.mobile_browser_detected_3+'</p>');
451
- }
452
- });
453
- }
454
- return videos;
455
- }
456
-
457
-
458
-
459
-
460
- jQuery(document).ready( function() {
461
- var loading_count = 0;
462
- var loading = setInterval( function() {
463
- loading_count++;
464
- if( loading_count < 1000 && (
465
- window.fv_video_intelligence_conf && !window.FV_Player_IMA ||
466
- window.fv_vast_conf && !window.FV_Player_IMA ||
467
- window.fv_player_pro && !window.FV_Flowplayer_Pro
468
- ) ) {
469
- return;
470
- }
471
- clearInterval(loading);
472
- fv_player_preload();
473
- }, 10 );
474
- });
475
-
476
- function fv_player_preload() {
477
-
478
- if( flowplayer.support.touch ) {
479
- jQuery('.fp-playlist-external.fv-playlist-design-2017').addClass('visible-captions');
480
- }
481
-
482
- flowplayer( function(api,root) {
483
- root = jQuery(root);
484
-
485
- root.find('.fp-waiting .sq animate').each( function() {
486
- jQuery(this).attr('values',jQuery(this).attr('values').replace(/0,0,0,.5/g,'255,255,255,0.8'));
487
- jQuery(this).attr('to',jQuery(this).attr('to').replace(/0,0,0,.5/g,'255,255,255,0.8'))
488
- jQuery(this).attr('values',jQuery(this).attr('values').replace(/0,0,0,0/g,'0,0,0,0.8'))
489
- jQuery(this).attr('to',jQuery(this).attr('to').replace(/0,0,0,0/g,'0,0,0,0.8'))
490
- });
491
-
492
- if( root.hasClass('fixed-controls') ) {
493
- root.find('.fp-controls').click( function(e) {
494
- if( !api.loading && !api.ready ) {
495
- e.preventDefault();
496
- e.stopPropagation();
497
- api.load();
498
- }
499
- });
500
- }
501
-
502
- if( !flowplayer.support.volume && !flowplayer.support.autoplay ) { // iPhone iOS 11 doesn't support setting of volume, but the button it important to allow unmuting of autoplay videos
503
- root.find('.fp-volume').hide();
504
- }
505
-
506
- // failsafe is Flowplayer is loaded outside of fv_player_load()
507
- var playlist = jQuery('.fp-playlist-external[rel='+root.attr('id')+']');
508
- if( ( !api.conf.playlist || api.conf.playlist.length == 0 ) && playlist.length && playlist.find('a[data-item]').length > 0 ) { // api.conf.playlist.length necessary for iOS 9 in some setups
509
- var items = [];
510
- playlist.find('a[data-item]').each( function() {
511
- items.push( fv_player_videos_parse(jQuery(this).attr('data-item'), root) );
512
- });
513
- api.conf.playlist = items;
514
- api.conf.clip = items[0];
515
- } else if( !api.conf.clip ){
516
- api.conf.clip = fv_player_videos_parse(jQuery(root).attr('data-item'), root);
517
- }
518
-
519
- if( playlist.parents('.fv-playlist-slider-wrapper').length > 0 ) playlist.css( 'width', playlist.width() );
520
-
521
- // playlist item click action
522
- jQuery('a',playlist).click( function(e) {
523
- e.preventDefault();
524
-
525
- var
526
- $this = jQuery(this),
527
- $prev = $this.prev('a');
528
-
529
- if ($prev.length && $this.is(':visible') && !$prev.is(':visible')) {
530
- $prev.click();
531
- return false;
532
- }
533
-
534
- if( jQuery( '#' + $this.parent().attr('rel') ).hasClass('dynamic-playlist') ) return;
535
-
536
- var playlist = jQuery('.fp-playlist-external[rel='+root.attr('id')+']');
537
-
538
- fv_player_playlist_active(playlist,this);
539
-
540
- if( api ){
541
- api.play( jQuery('a',playlist).index(this) );
542
- }
543
-
544
- var rect = root[0].getBoundingClientRect();
545
- if((rect.bottom - 100) < 0){
546
- jQuery('html, body').animate({
547
- scrollTop: jQuery(root).offset().top - 100
548
- }, 300);
549
- }
550
- } );
551
-
552
- api.bind('ready', function(e,api,video) {
553
- //console.log('playlist mark',video.index);
554
- setTimeout( function() {
555
- if( video.index > -1 ) {
556
- var playlist_external = jQuery('[rel='+root.attr('id')+']');
557
- if( playlist_external.length > 0 ) {
558
- fv_player_playlist_active(playlist_external,jQuery('a',playlist_external).eq(video.index));
559
- }
560
- }
561
- }, 250 );
562
-
563
- root.find('.fv-fp-splash-text').hide();
564
- } );
565
-
566
- api.bind( 'unload', function() {
567
- jQuery('.fp-playlist-external .now-playing').remove();
568
- jQuery('.fp-playlist-external a').removeClass('is-active');
569
-
570
- root.find('.fv-fp-splash-text').show();
571
- });
572
-
573
-
574
- //is this needed?
575
- var playlist = jQuery(root).parent().find('div.fp-playlist-vertical[rel='+jQuery(root).attr('id')+']');
576
- if( playlist.length ){
577
- function check_size_and_all(args) {
578
- var property = playlist.hasClass('fp-playlist-only-captions') ? 'height' : 'max-height';
579
- if( playlist.parents('.fp-playlist-text-wrapper').hasClass('is-fv-narrow') ){
580
- property = 'max-height';
581
- }
582
- playlist.css(property,vertical_playlist_height());
583
- if( property == 'max-height' ) playlist.css('height','auto');
584
- }
585
- check_size_and_all();
586
- jQuery(window).on('resize tabsactivate', function() { check_size_and_all() } );
587
- }
588
-
589
- function vertical_playlist_height(args) {
590
- var height = root.height();
591
- if( height == 0 ) height = root.css('max-height');
592
- return height;
593
- }
594
- });
595
-
596
- //sets height for embedded players
597
- if( window.self != window.top && !location.href.match(/fv_player_preview/) ){
598
- jQuery('.flowplayer.fp-is-embed').height(jQuery(window).height());
599
- jQuery(window.self).resize(function(){
600
- jQuery('.flowplayer.fp-is-embed').height(jQuery(window.self).height())
601
- })
602
- }
603
-
604
- // Playlist - old style
605
- if( typeof(fv_flowplayer_playlists) != "undefined" ) {
606
- for( var i in fv_flowplayer_playlists ) {
607
- if( !fv_flowplayer_playlists.hasOwnProperty(i) ) continue;
608
- jQuery('#'+i).flowplayer( { playlist: fv_flowplayer_playlists[i] });
609
- }
610
- }
611
-
612
- fv_player_load();
613
- fv_autoplay_exec();
614
-
615
- }
616
-
617
-
618
- function fv_player_load() {
619
-
620
- // Single videos - new style
621
- jQuery('.flowplayer[data-item]' ).each( function(i,el) {
622
- var root = jQuery(el);
623
- var api = root.data('flowplayer');
624
- if( api ) return;
625
-
626
- root.flowplayer( { clip: fv_player_videos_parse(root.attr('data-item'), root) }); // todo: IE6-8
627
- } );
628
-
629
- // Playlist - new style
630
- jQuery('.fp-playlist-external' ).each( function(i,el) {
631
- var playlist = jQuery(el);
632
- var player = jQuery( '#' + playlist.attr('rel'));
633
- if( player.length ) {
634
- var api = player.data('flowplayer');
635
- if( api ) return;
636
- var items = [];
637
-
638
- if ( playlist.find('a[data-item]').length == 0 ) return; // respect old playlist script setup
639
-
640
- playlist.find('a[data-item]').each( function() {
641
- items.push( fv_player_videos_parse(jQuery(this).attr('data-item'), player) );
642
- });
643
- player.flowplayer( { playlist: items } );
644
- }
645
- } );
646
-
647
- if( typeof(jQuery().tabs) != "undefined" ) {
648
- jQuery('body').removeClass('fv_flowplayer_tabs_hide');
649
- jQuery('.fv_flowplayer_tabs_content').tabs();
650
- }
651
-
652
- }
653
-
654
-
655
- jQuery(document).ajaxComplete( function() {
656
- fv_player_load();
657
- });
658
-
659
-
660
- function fv_player_playlist_active(playlist,item) {
661
- if(playlist) {
662
- jQuery('a',playlist).removeClass('is-active');
663
- jQuery('.now-playing').remove();
664
- }
665
-
666
- $playlist = jQuery(playlist);
667
- $item = jQuery(item);
668
-
669
- var scroll_parent = false;
670
-
671
- $item.addClass('is-active');
672
- var is_design_2014 = $playlist.hasClass('fv-playlist-design-2014');
673
- if( ( is_design_2014 && $item.find('h4').length == 0 || !is_design_2014 ) && $item.find('.now-playing').length == 0 ) $item.prepend('<strong class="now-playing"><span>'+fv_flowplayer_translations.playlist_current+'</span></strong>');
674
-
675
- // adjust playlist to the encompassing DIV, if the actual playlist element itself is wrapped inside
676
- // another element to enable CSS scrolling
677
- if (!$playlist.parent().find('.flowplayer').length) {
678
- scroll_parent = true;
679
- }
680
-
681
- // scroll to the currently playing video if playlist type is vertical or horizontal
682
- if ($playlist.hasClass('fp-playlist-vertical') && !fullyVisibleY($item.get(0))) {
683
- var $el = (scroll_parent ? $playlist.parent() : $playlist);
684
- $el.animate({
685
- scrollTop: $el.scrollTop() + ($item.position().top - $el.position().top)
686
- }, 750);
687
-
688
- //$playlist.scrollTop($playlist.scrollTop() + ($item.position().top - $playlist.position().top));
689
- } else if ($playlist.hasClass('fp-playlist-horizontal') && !fullyVisibleX($item.get(0))) {
690
- var $el = (scroll_parent ? $playlist.parent() : $playlist);
691
- $el.animate({
692
- scrollLeft: $el.scrollLeft() + ($item.position().left - $el.position().left)
693
- }, 750);
694
- }
695
-
696
- function fullyVisibleY(el) {
697
- var rect = el.getBoundingClientRect(), top = rect.top, height = rect.height,
698
- bottom = (top + height), el = el.parentNode;
699
- do {
700
- rect = el.getBoundingClientRect();
701
- if (bottom <= rect.bottom === false) return false;
702
- if (top <= rect.top) return false;
703
- el = el.parentNode;
704
- } while (el != document.body);
705
- // Check its within the document viewport
706
- return bottom <= document.documentElement.clientHeight;
707
- }
708
-
709
- function fullyVisibleX(el) {
710
- var rect = el.getBoundingClientRect(), left = rect.left, width = rect.width,
711
- right = (left + width), el = el.parentNode;
712
- do {
713
- rect = el.getBoundingClientRect();
714
- if (right <= rect.right === false) return false;
715
- if (left <= rect.left) return false;
716
- el = el.parentNode;
717
- } while (el != document.body);
718
- // Check its within the document viewport
719
- return right <= document.documentElement.clientWidth;
720
- }
721
- }
722
-
723
-
724
- jQuery( function() {
725
- jQuery('.flowplayer').each( function() {
726
- flowplayer.bean.off(jQuery(this)[0],'contextmenu');
727
- });
728
- } );
729
-
730
- var fv_fp_date = new Date();
731
- var fv_fp_utime = fv_fp_date.getTime();
732
-
733
-
734
- if( typeof(fv_flowplayer_browser_ff_m4v_array) != "undefined" ) {
735
- for( var i in fv_flowplayer_browser_ff_m4v_array ) {
736
- fv_flowplayer_browser_ff_m4v( i );
737
- }
738
- }
739
- if( typeof(fv_flowplayer_browser_chrome_fail_array) != "undefined" ) {
740
- for( var i in fv_flowplayer_browser_chrome_fail_array ) {
741
- fv_flowplayer_browser_chrome_fail( i, fv_flowplayer_browser_chrome_fail_array[i]['attrs'], fv_flowplayer_browser_chrome_fail_array[i]['mp4'], fv_flowplayer_browser_chrome_fail_array[i]['auto_buffer'] );
742
- }
743
- }
744
-
745
- if( typeof(fv_flowplayer_browser_ie_array) != "undefined" ) {
746
- for( var i in fv_flowplayer_browser_ie_array ) {
747
- fv_flowplayer_browser_ie( i );
748
- }
749
- }
750
- if( typeof(fv_flowplayer_mobile_switch_array) != "undefined" ) {
751
- for( var i in fv_flowplayer_mobile_switch_array ) {
752
- fv_flowplayer_mobile_switch( i );
753
- }
754
- }
755
-
756
-
757
-
758
-
759
- /*
760
- * Sharing bar, redirect feature, loop, disabling rightclick and obscuring the video URL in errors
761
- */
762
- flowplayer( function(api,root) {
763
- root = jQuery(root);
764
-
765
- root.find('.fp-logo').removeAttr('href');
766
-
767
- if( root.hasClass('no-controlbar') ) {
768
- var timelineApi = api.sliders.timeline;
769
- timelineApi.disable(true);
770
- api.bind('ready',function() {
771
- timelineApi.disable(true);
772
- });
773
- }
774
-
775
- if( root.data('fv_loop') ) {
776
- api.conf.loop = true;
777
- }
778
-
779
- jQuery('.fvfp_admin_error', root).remove(); // v6: admin error removal?
780
-
781
- root.find('.fp-logo, .fp-header').click( function(e) {
782
- if (e.target !== this) return;
783
- root.find('.fp-ui').click();
784
- });
785
-
786
- jQuery('.fp-header',root).prepend( jQuery('.fvp-share-bar',root) );
787
-
788
- api.bind("pause resume finish unload ready", function(e,api) {
789
- root.addClass('no-brand');
790
- });
791
-
792
- api.bind("ready", function (e, api, video) {
793
- setTimeout( function () {
794
- jQuery('.fvp-share-bar',root).show();
795
-
796
- jQuery('.fv-player-buttons-wrap',root).appendTo(jQuery('.fv-player-buttons-wrap',root).parent().find('.fp-ui'));
797
- }, 100 );
798
- });
799
-
800
- api.bind('finish', function() {
801
- if( root.data('fv_redirect') ) {
802
- var url = root.data('fv_redirect');
803
- var windowFVFlowplayerRedirect = window.open(url, '_blank');
804
- if( ( typeof(windowFVFlowplayerRedirect) == "undefined" || windowFVFlowplayerRedirect == null ) && ( typeof(api.video.is_last) == "undefined" || api.video.is_last ) ) {
805
- location.href = url;
806
- }
807
- }
808
-
809
- });
810
-
811
- if( flowplayer.support.iOS && flowplayer.support.iOS.version == 11 ) {
812
- api.bind('error',function(e,api,error){
813
- if( error.code == 4 ) root.find('.fp-engine').hide();
814
- });
815
- }
816
-
817
- jQuery(document).on('contextmenu', '.flowplayer', function(e) {
818
- e.preventDefault();
819
- });
820
-
821
- });
822
-
823
-
824
-
825
-
826
- /*
827
- * IE < 9 - disabling responsiveness
828
- */
829
- if( jQuery.browser && jQuery.browser.msie && parseInt(jQuery.browser.version, 10) < 9 ) {
830
- jQuery('.flowplayer').each( function() {
831
- jQuery(this).css('width', jQuery(this).css('max-width'));
832
- jQuery(this).css('height', jQuery(this).css('max-height'));
833
- } );
834
- }
835
-
836
-
837
-
838
-
839
- /*
840
- * IE11 - hiding animations
841
- */
842
- var isIE11 = !!navigator.userAgent.match(/Trident.*rv[ :]*11\./);
843
- if( isIE11 ) {
844
- jQuery(document).ready( function() {
845
- jQuery('.fp-waiting').hide();
846
- } );
847
-
848
- flowplayer( function(api,root) {
849
- api.bind("load", function (e) {
850
- jQuery(e.currentTarget).find('.fp-waiting').show();
851
- } ).bind("beforeseek", function (e) {
852
- jQuery(e.currentTarget).find('.fp-waiting').show();
853
- } ).bind("progress", function (e) {
854
- jQuery(e.currentTarget).find('.fp-waiting').hide();
855
- } ).bind("seek", function (e) {
856
- jQuery(e.currentTarget).find('.fp-waiting').hide();
857
- } ).bind("fullscreen", function (e) {
858
- jQuery('#wpadminbar').hide();
859
- } ).bind("fullscreen-exit", function (e) {
860
- jQuery('#wpadminbar').show();
861
- } );
862
- } );
863
- }
864
-
865
-
866
-
867
-
868
- /*
869
- * Ads
870
- */
871
- flowplayer(function (api,root) {
872
- root = jQuery(root);
873
-
874
- if( root.data('end_popup_preview') ){
875
- jQuery(document).ready( function() {
876
- api.trigger('finish', [ api] );
877
- });
878
- }
879
-
880
- var player_id = root.attr('id');
881
- api.bind("ready", function (e, api) {
882
- //console.log('ad ready to show',root.attr('class'));
883
- if( !root.hasClass('is-cva') && root.find('#'+player_id+'_ad').length == 0 && typeof(fv_flowplayer_ad) != "undefined" && typeof(fv_flowplayer_ad[player_id]) != "undefined" && root.width() >= parseInt(fv_flowplayer_ad[player_id].width) ) {
884
- var html = fv_flowplayer_ad[player_id].html;
885
- html = html.replace( '%random%', Math.random() );
886
- root.find('.fp-player').append( '<div id="'+player_id+'_ad" class="wpfp_custom_ad">'+html+'</div>' );
887
- }
888
- }).bind("finish", function (e, api) {
889
- if( typeof(api.video.index) == "undefined" || api.video.index+1 == api.conf.playlist.length ) {
890
- if( root.find('.wpfp_custom_popup').length > 0) {
891
- root.find('.wpfp_custom_popup').show();
892
- } else if( typeof(fv_flowplayer_popup) != "undefined" && typeof(fv_flowplayer_popup[player_id]) != "undefined" ) {
893
- root.find('.fp-player').append( '<div id="'+player_id+'_custom_popup" class="wpfp_custom_popup">'+fv_flowplayer_popup[player_id].html+'</div>' );
894
- }
895
- }
896
-
897
- }).bind("pause", function (e, api) {
898
- // NOTE: this feature is for showing a Pay Per View purchase popup, when the PPV plugin is enabled,
899
- // it does nothing with ads or other popups!
900
- if( typeof(api.video.index) == "undefined" || api.video.index+1 == api.conf.playlist.length ) {
901
- if( root.find('.wpfp_custom_popup').length > 0 && root.find('.wpfp_custom_popup > .fv-player-ppv-purchase-btn-wrapper')) {
902
- root.find('.wpfp_custom_popup').show();
903
- } else if( typeof(fv_flowplayer_popup) != "undefined" && typeof(fv_flowplayer_popup[player_id]) != "undefined" && fv_flowplayer_popup[player_id].html.indexOf('fv-player-ppv-purchase-btn-wrapper') > -1 ) {
904
- root.find('.fp-player').append( '<div id="'+player_id+'_custom_popup" class="wpfp_custom_popup">'+fv_flowplayer_popup[player_id].html+'</div>' );
905
- }
906
- }
907
-
908
- }).bind("resume unload", function (e, api) {
909
- if( typeof(fv_flowplayer_popup) != "undefined" && typeof(fv_flowplayer_popup[player_id]) != "undefined" ) {
910
- root.find('.wpfp_custom_popup').hide();
911
- }
912
- }).bind("load", function(e,api) {
913
- if( navigator.userAgent.indexOf("Safari") > -1) { // even crazier workaround to make sure the video is visible in Safari Version 7.1 (9537.85.10.17.1)
914
- /*root.find('video').css('position','inherit');
915
- root.find('video').delay(20).queue( function(next) {
916
- jQuery(this).css('position','absolute');
917
- next();
918
- } );*/
919
- }
920
- });
921
- });
922
-
923
- /*
924
- * Popups form
925
- */
926
- jQuery(document).on('focus','.fv_player_popup input[type=text], .fv_player_popup input[type=email], .fv_player_popup textarea', function() {
927
- var api = jQuery(this).parents('.flowplayer').data('flowplayer');
928
- if( api ) api.disable(true);
929
- });
930
- jQuery(document).on('blur','.fv_player_popup input[type=text], .fv_player_popup input[type=email], .fv_player_popup textarea', function() {
931
- var api = jQuery(this).parents('.flowplayer').data('flowplayer');
932
- if( api ) api.disable(false);
933
- });
934
-
935
-
936
-
937
-
938
- /*
939
- * Live stream errors
940
- */
941
- flowplayer(function (api, root) {
942
- api.bind("load", function (e,api,data) {
943
- var player = jQuery(e.currentTarget);
944
- if( player.data('live') ){
945
- var live_check = setTimeout( function() {
946
- player.find('.fp-ui').append('<div class="fp-message">'+fv_flowplayer_translations.live_stream_failed+'</div>');
947
- player.addClass('is-error');
948
- }, 10000 );
949
- jQuery(e.currentTarget).data('live_check', live_check);
950
- }
951
- }).bind("ready", function (e,api,data) {
952
- clearInterval( jQuery(e.currentTarget).data('live_check') );
953
- }).bind("error", function (e,api,data) {
954
- var player = jQuery(e.currentTarget);
955
- if( player.data('live') ){
956
- player.find('.fp-message').html(fv_flowplayer_translations.live_stream_failed_2);
957
- }
958
- });
959
- });
960
-
961
- /*if( /ipad/.test(navigator.userAgent.toLowerCase()) && /os 8/.test(navigator.userAgent.toLowerCase()) ){
962
- flowplayer(function (api, root) {
963
- api.bind("resume", function (e,api,data) {
964
- setTimeout( function() {
965
- if( api.loading ) jQuery(e.currentTarget).children('video')[0].play();
966
- }, 1000 );
967
- });
968
- });
969
- }*/ // v6
970
-
971
-
972
-
973
-
974
- /*
975
- * BlackBerry 10 hotfix
976
- */
977
- jQuery('.flowplayer').on('ready', function(e,api) { // v6
978
- if( /BB10/.test(navigator.userAgent) ){
979
- api.fullscreen();
980
- }
981
- });
982
-
983
-
984
-
985
-
986
- /*
987
- * Google Analytics improvements
988
- */
989
- var fv_ga_load = false;
990
- jQuery('.flowplayer').each( function() {
991
- if( jQuery(this).data('analytics') ){
992
- fv_ga_load = true;
993
- }
994
- });
995
- if ( fv_ga_load && typeof _gat == 'undefined') jQuery.getScript("//google-analytics.com/ga.js");
996
-
997
-
998
- flowplayer( function(api,root) {
999
- var root = jQuery(root);
1000
- api.bind('progress', function(e,api,current) {
1001
- fv_track(e,api,current);
1002
- if (!jQuery(root).hasClass("is-cva")){
1003
- if (current > (jQuery(root).data('ad_show_after') )){
1004
- jQuery(root).find(".wpfp_custom_ad_content").fadeIn();
1005
- }
1006
- }
1007
- }).bind('finish ready ', function(e,api) {
1008
- //if( typeof(aFVPlayersSwitching[root.attr('id')]) != "undefined" ) { // todo: problem that it won't work on video replay or playlist
1009
- //return;
1010
- //}
1011
- for( var j in fv_ga_events ) {
1012
- root.removeData('fv_track_'+fv_ga_events[j]);
1013
- }
1014
- }).bind('error', function(e,api,error) {
1015
- setTimeout( function() {
1016
- if( !api.error ) return;
1017
-
1018
- var video = typeof(api.video) != "undefined" && typeof(api.video.src) != "undefined" ? api.video : false;
1019
- if( !video && typeof(api.conf.clip) != "undefined" && typeof(api.conf.clip.sources) != "undefined" && typeof(api.conf.clip.sources[0]) != "undefined" && typeof(api.conf.clip.sources[0].src) != "undefined" ) video = api.conf.clip.sources[0];
1020
-
1021
- var name = fv_player_track_name(root,video);
1022
- if( name && !name.match(/\/\/vimeo.com\/\d/) ) {
1023
- fv_player_track(api.conf.analytics, "Video " + (root.hasClass('is-cva')?'Ad ':'') + "error", error.message, name );
1024
- }
1025
- }, 100 );
1026
- });
1027
-
1028
- var fv_ga_events = [ 'start', 'first quartile', 'second quartile', 'third quartile', 'complete' ];
1029
-
1030
- function fv_track(e,api,data) {
1031
- var video = api.video,
1032
- dur = video.duration,
1033
- i = 0;
1034
-
1035
- var name = fv_player_track_name(root,video);
1036
-
1037
- if( dur ) {
1038
- if( data > 19 * dur/20 ) i = 4;
1039
- else if( data > 3 * dur/4 ) i = 3;
1040
- else if( data > dur/2 ) i = 2;
1041
- else if( data > dur/4 ) i = 1;
1042
- }
1043
-
1044
- if( root.data('fv_track_'+fv_ga_events[i]) ) return;
1045
-
1046
- for( var j in fv_ga_events ) { // make sure user triggered the previous quartiles before tracking
1047
- if(j == i) break;
1048
- if( !root.data('fv_track_'+fv_ga_events[j]) ) return;
1049
- }
1050
-
1051
- root.trigger('fv_track_'+fv_ga_events[i]);
1052
- root.data('fv_track_'+fv_ga_events[i], true);
1053
-
1054
- fv_player_track( api.conf.analytics, "Video " + (root.hasClass('is-cva')?'Ad ':'') + fv_ga_events[i] , api.engine.engineName + "/" + video.type, name );
1055
- }
1056
-
1057
- });
1058
-
1059
- //Sends event statistics to Google analytics
1060
- function fv_player_track( ga_id, event, engineType, name){
1061
-
1062
- if( !ga_id || typeof( _gat) == 'undefined' ) return;
1063
-
1064
- var tracker = _gat._getTracker(ga_id);
1065
- if( typeof(tracker._setAllowLinker) == "undefined" ) {
1066
- return;
1067
- }
1068
-
1069
- if( typeof(engineType) == "undefined" ) engineType = 'Unknown engine';
1070
-
1071
- if( /fv_ga_debug/.test(window.location.href) ) console.log('FV GA: ' + event + ' - ' + engineType + " '" + name + "'")
1072
- tracker._setAllowLinker(true);
1073
- tracker._trackEvent( event, engineType, name, 1 );
1074
- //tracker._trackEvent( "Video "+fv_ga_events[i], api.engine + "/" + video.type, name, 1 );
1075
-
1076
- }
1077
-
1078
- function fv_player_track_name(root,video) {
1079
- var name = root.attr("title");
1080
- if( !name && typeof(video.fv_title) != "undefined" ) name = video.fv_title;
1081
- if( !name && typeof(video.src) != "undefined" ) {
1082
- name = video.src.split("/").slice(-1)[0].replace(/\.(\w{3,4})(\?.*)?$/i, '');
1083
- if( video.type.match(/mpegurl/) ) name = video.src.split("/").slice(-2)[0].replace(/\.(\w{3,4})(\?.*)?$/i, '') + '/' + name;
1084
- }
1085
- return name;
1086
- }
1087
-
1088
-
1089
-
1090
-
1091
- /*
1092
- * Speed control
1093
- */
1094
- /*!
1095
-
1096
- Speed menu plugin for Flowplayer HTML5
1097
-
1098
- Copyright (c) 2017, Flowplayer Drive Oy
1099
-
1100
- Released under the MIT License:
1101
- http://www.opensource.org/licenses/mit-license.php
1102
-
1103
- Requires Flowplayer HTML5 version 7.x or greater
1104
- $GIT_DESC$
1105
-
1106
- */
1107
- (function() {
1108
- var extension = function(flowplayer) {
1109
- flowplayer(function(api, root) {
1110
- if( !jQuery(root).data('speedb') ) return;
1111
-
1112
- var support = flowplayer.support;
1113
- if (!support.video || !support.inlineVideo) return;
1114
- var common = flowplayer.common
1115
- , bean = flowplayer.bean
1116
- , ui = common.find('.fp-ui', root)[0]
1117
- , controlbar = common.find('.fp-controls', ui)[0]
1118
- , speeds = api.conf.speeds;
1119
-
1120
- bean.on(root, 'click', '.fp-speed', function() {
1121
- var menu = common.find('.fp-speed-menu', root)[0];
1122
- if (common.hasClass(menu, 'fp-active')) api.hideMenu();
1123
- else api.showMenu(menu);
1124
- });
1125
-
1126
- bean.on(root, 'click', '.fp-speed-menu a', function(ev) {
1127
- var s = ev.target.getAttribute('data-speed');
1128
- api.speed(s);
1129
- });
1130
-
1131
- api.on('speed', function(ev, _a, rate) {
1132
- if (speeds.length > 1) {
1133
- selectSpeed(rate);
1134
- }
1135
- })
1136
- .on('ready', function(ev, api) {
1137
- removeMenu();
1138
-
1139
- if( flowplayer.support.android && ( api.video.type = 'application/x-mpegurl' || api.video.src.match(/m3u8/) ) ) return;
1140
-
1141
- speeds = api.conf.speeds;
1142
- if (speeds.length > 1) {
1143
- createMenu();
1144
- }
1145
- });
1146
-
1147
- function removeMenu() {
1148
- common.find('.fp-speed-menu', root).forEach(common.removeNode);
1149
- common.find('.fp-speed', root).forEach(common.removeNode);
1150
- }
1151
-
1152
- function round(val) {
1153
- return Math.round(val * 100) / 100;
1154
- }
1155
-
1156
- function createMenu() {
1157
- controlbar.appendChild(common.createElement('strong', { className: 'fp-speed' }, api.currentSpeed + 'x'));
1158
- var menu = common.createElement('div', { className: 'fp-menu fp-speed-menu', css: { width: 'auto' } }, '<strong>Speed</strong>');
1159
- speeds.forEach(function(s) {
1160
- var a = common.createElement('a', { 'data-speed': round(s) }, round(s) + 'x');
1161
- menu.appendChild(a);
1162
- });
1163
- ui.appendChild(menu);
1164
- selectSpeed(api.currentSpeed);
1165
- }
1166
-
1167
- function selectSpeed(rate) {
1168
- common.find('.fp-speed', root)[0].innerHTML = rate + 'x';
1169
- common.find('.fp-speed-menu a', root).forEach(function(el) {
1170
- common.toggleClass(el, 'fp-selected', el.getAttribute('data-speed') == rate);
1171
- common.toggleClass(el, 'fp-color', el.getAttribute('data-speed') == rate);
1172
- });
1173
- }
1174
- });
1175
- };
1176
-
1177
- if (typeof module === 'object' && module.exports) module.exports = extension;
1178
- else if (typeof window.flowplayer === 'function') extension(window.flowplayer);
1179
- })();
1180
-
1181
-
1182
-
1183
-
1184
- /*
1185
- * Tabbed playlist
1186
- */
1187
- jQuery(document).on("tabsactivate", '.fv_flowplayer_tabs_content', function(event, ui){
1188
- var oldPlayer = jQuery('.flowplayer.is-playing').data('flowplayer');
1189
- if( typeof(oldPlayer) != "undefined" ) {
1190
- oldPlayer.pause();
1191
- }
1192
-
1193
- var objPlayer = jQuery('.flowplayer',ui.newPanel);
1194
- var api = objPlayer.data('flowplayer');
1195
- api.load();
1196
- });
1197
-
1198
-
1199
-
1200
-
1201
- /*
1202
- * Iframe embedding embed code
1203
- */
1204
- flowplayer(function(player, root) {
1205
- root = jQuery(root);
1206
- if( !root.data('fv-embed') ) return;
1207
-
1208
- player.embedCode = function() {
1209
- var video = player.video;
1210
- var width = root.width();
1211
- var height = root.height();
1212
- if( video.width ) {
1213
- width = video.width;
1214
- height = width * root.height()/root.width();
1215
- }
1216
- height += 2;
1217
- return '<iframe src="' + root.data('fv-embed') + '" allowfullscreen width="' + width + '" height="' + height + '" frameborder="0" style="max-width:100%"></iframe>';
1218
- };
1219
-
1220
- });
1221
-
1222
-
1223
-
1224
-
1225
- /*
1226
- * Visual Composer tabs support
1227
- */
1228
- jQuery(document).on('click','.vc_tta-tab a', function() {
1229
- var api = jQuery('.flowplayer.is-playing').data('flowplayer');
1230
- if( api ) api.pause();
1231
- });
1232
-
1233
-
1234
- /* *
1235
- * Anchor Sharing + Playlist Autoplay
1236
- */
1237
-
1238
- //Makes sharable slug
1239
- function fv_parse_sharelink(src){
1240
- src = src.replace('https?://[^./].','')
1241
- var prefix = 'fvp_';
1242
- if(src.match(/(youtube.com)/)){
1243
- return prefix + src.match(/(?:v=)([A-Za-z0-9_-]*)/)[1];
1244
- }else if(src.match(/(vimeo.com)|(youtu.be)/)){
1245
- return prefix + src.match(/(?:\/)([^/]*$)/)[1];
1246
- }else{
1247
- var match = src.match(/(?:\/)([^/]*$)/);
1248
- if(match){
1249
- return prefix + match[1].match(/^[^.]*/)[0];
1250
- }
1251
- }
1252
- return prefix + src;
1253
- }
1254
-
1255
- function fv_player_time_hms(seconds) {
1256
-
1257
- if(isNaN(seconds)){
1258
- return NaN;
1259
- }
1260
-
1261
- var date = new Date(null);
1262
- date.setSeconds(seconds); // specify value for SECONDS here
1263
- var timeSrting = date.toISOString().substr(11, 8);
1264
- timeSrting = timeSrting.replace(/([0-9]{2}):([0-9]{2}):([0-9]{2}\.?[0-9]*)/,'$1h$2m$3s').replace(/^00h(00m)?/,'').replace(/^0/,'');
1265
- return timeSrting;
1266
- }
1267
-
1268
- function fv_player_time_seconds(time, duration) {
1269
-
1270
- if(!time)
1271
- return false;
1272
-
1273
- var seconds = 0;
1274
- var aTime = time.replace(/[hm]/g,':').replace(/s/,'').split(':').reverse();
1275
-
1276
- if( typeof(aTime[0]) != "undefined" ) seconds += parseFloat(aTime[0]);
1277
- if( typeof(aTime[1]) != "undefined" ) seconds += parseInt(60*aTime[1]);
1278
- if( typeof(aTime[2]) != "undefined" ) seconds += parseInt(60*60*aTime[2]);
1279
-
1280
- return duration ? Math.min(seconds, duration) : seconds;
1281
- }
1282
-
1283
- //Autoplays the video, queues the right video on mobile
1284
- function fv_autoplay_init(root, scrollOffset , index ,time){
1285
- if( fv_autoplay_exec_in_progress ) return;
1286
-
1287
- fv_autoplay_exec_in_progress = true;
1288
-
1289
- var api = root.data('flowplayer');
1290
- if(!api)return;
1291
-
1292
- var fTime = fv_player_time_seconds(time);
1293
-
1294
- if(root.parent().hasClass('ui-tabs-panel')){
1295
- var tabId = root.parent().attr('id');
1296
- jQuery('[aria-controls=' + tabId + '] a').click();
1297
- }
1298
-
1299
- if(scrollOffset){
1300
- window.scrollTo(0,scrollOffset);
1301
- api.one('ready',function(){
1302
- window.scrollTo(0,scrollOffset);
1303
- });
1304
- }
1305
- if(root.hasClass('lightboxed')){
1306
- setTimeout(function(){
1307
- jQuery('[href=#' + root.attr('id')+ ']').click();
1308
- },0);
1309
- }
1310
-
1311
- if(index){
1312
- if( flowplayer.support.firstframe ) {
1313
- api.play(parseInt(item));
1314
- api.one('ready', function() {
1315
- fv_autoplay_exec_in_progress = false;
1316
- if( fTime ) api.seek(fTime)
1317
- } );
1318
- } else if( flowplayer.support.inlineVideo ) {
1319
- api.one( api.playing ? 'progress' : 'ready', function (e,api) {
1320
- api.play(parseInt(item));
1321
- api.one('ready', function() {
1322
- fv_autoplay_exec_in_progress = false;
1323
- if( fTime ) api.seek(fTime)
1324
- } );
1325
- });
1326
-
1327
- fv_player_playlist_active( false, jQuery('[rel='+root.attr('id')+'] a').eq(index) );
1328
-
1329
- root.css('background-image', jQuery('[rel='+root.attr('id')+'] a').eq(index).find('span').css('background-image') );
1330
-
1331
- fv_player_notice( root, fv_flowplayer_translations[11], 'progress' );
1332
- }
1333
- }else{
1334
- if( flowplayer.support.firstframe ) {
1335
- api.load();
1336
- } else {
1337
- fv_player_notice( root, fv_flowplayer_translations[11], 'progress' );
1338
- }
1339
- api.one('ready', function() {
1340
- fv_autoplay_exec_in_progress = false;
1341
- if( fTime ) {
1342
- var do_seek = setInterval( function() {
1343
- if( api.loading ) return;
1344
- api.seek(fTime)
1345
- clearInterval(do_seek);
1346
- }, 10 );
1347
- }
1348
- } );
1349
- }
1350
-
1351
- }
1352
-
1353
- /*
1354
- * ANCHORS
1355
- * keywords: hashmark hashtag anchor links
1356
- * */
1357
- if (typeof (flowplayer) !== "undefined" && typeof(fv_flowplayer_conf) != "undefined" && fv_flowplayer_conf.video_hash_links ) {
1358
- flowplayer(function (api, root) {
1359
- if( jQuery(root).find('.sharing-link').length > 0 ) {
1360
- api.on('progress',function(e,api){
1361
- if( !api.video.sources || !api.video.sources[0] ) {
1362
- return;
1363
- }
1364
-
1365
- var hash = fv_parse_sharelink( typeof(api.video.sources_original) != "undefined" && typeof(api.video.sources_original[0]) != "undefined" ? api.video.sources_original[0].src : api.video.sources[0].src);
1366
- var sTime = ',' + fv_player_time_hms(api.video.time);
1367
- //console.log(sTime);
1368
- jQuery('.fvp-sharing>li>a',root).each(function(){
1369
- jQuery(this).attr('href',jQuery(this).attr('href').replace(/%23.*/,'') + '%23' + hash /*+ sTime*/);
1370
- });
1371
-
1372
- jQuery('.sharing-link',root).attr('href',jQuery('.sharing-link',root).attr('href').replace(/#.*/,'') + '#' + hash + sTime);
1373
- });
1374
-
1375
- jQuery('.sharing-link',root).click( function(e) {
1376
-
1377
- fv_player_clipboard( jQuery(this).attr('href'), function() {
1378
- e.preventDefault();
1379
- fv_player_notice(root,fv_flowplayer_translations.link_copied,2000);
1380
- });
1381
- })
1382
- }
1383
- })
1384
-
1385
- jQuery(document).on('click','a[href*="fvp_"]', function() {
1386
- var link = jQuery(this)
1387
- setTimeout( function() {
1388
- if( link.parents('.fvp-share-bar').length == 0 ) fv_autoplay_exec();
1389
- } );
1390
- });
1391
- jQuery(window).on('hashchange',fv_autoplay_exec);
1392
-
1393
- }
1394
-
1395
- var fv_autoplay_exec_in_progress = false;
1396
-
1397
- function fv_autoplay_exec(){
1398
- var autoplay = true;
1399
- //anchor sharing
1400
- if( typeof (flowplayer) !== "undefined" && typeof(fv_flowplayer_conf) != "undefined" && fv_flowplayer_conf.video_hash_links && window.location.hash.substring(1).length ) {
1401
- var aHash = window.location.hash.match(/\?t=/) ? window.location.hash.substring(1).split('?t=') : window.location.hash.substring(1).split(',');
1402
- var hash = aHash[0];
1403
- var time = aHash[1] === undefined ? false : aHash[1];
1404
-
1405
- jQuery('.flowplayer').each(function(){
1406
- var root = jQuery(this);
1407
- if(root.hasClass('lightbox-starter')){
1408
- root = jQuery(root.attr('href'));
1409
- }
1410
- var api = root.data('flowplayer');
1411
- if(!api) return;
1412
-
1413
- var site_offset = (jQuery(window).height() - jQuery(root).height()) / 2 ;
1414
- var offset = jQuery(root).offset().top - site_offset;
1415
- if(typeof(api.conf.playlist) !== 'undefined' && api.conf.playlist.length > 1){
1416
- //playlist
1417
- for(item in api.conf.playlist){
1418
- var src = fv_parse_sharelink(api.conf.playlist[item].sources[0].src);
1419
- if(hash === src && autoplay ){
1420
- fv_autoplay_init(root, offset, parseInt(item),time);
1421
- autoplay = false;
1422
- return false;
1423
- }
1424
- }
1425
- }else{
1426
- //single player
1427
- var src = fv_parse_sharelink(api.conf.clip.sources[0].src);
1428
- if(hash === src && autoplay){
1429
- fv_autoplay_init(root, offset, false,time);
1430
- autoplay = false;
1431
- return false;
1432
- };
1433
- }
1434
- });
1435
- }
1436
-
1437
- // If no video is matched by URL hash string, process autoplay
1438
- if( autoplay && flowplayer.support.firstframe ) {
1439
- jQuery('.flowplayer[data-fvautoplay]').each( function() {
1440
- var root = jQuery(this);
1441
- var api = root.data('flowplayer');
1442
- if( !fv_player_did_autoplay && root.data('fvautoplay') ) {
1443
- if( !( ( flowplayer.support.android || flowplayer.support.iOS ) && api && api.conf.clip.sources[0].type == 'video/youtube' ) ) { // don't let these mobile devices autoplay YouTube
1444
- fv_player_did_autoplay = true;
1445
- api.load();
1446
- }
1447
- }
1448
- });
1449
- }
1450
- }
1451
-
1452
-
1453
-
1454
-
1455
- /*
1456
- * Basic Iframe YouTube and Vimeo responsiveness
1457
- */
1458
- (function($) {
1459
- $(window).on('resize',function(){
1460
- var iframe = $('iframe[id][src][height][width]');
1461
- iframe.each(function(){
1462
- if( $(this).attr('id').match(/(fv_vimeo_)|(fv_ytplayer_)/) && $(this).width() <= $(this).attr('width') )
1463
- $(this).height( $(this).width() * $(this).attr('height') / $(this).attr('width') );
1464
- })
1465
-
1466
- var wistia = jQuery('.wistia_embed');
1467
- wistia.each(function(){
1468
- $(this).height( $(this).width() * $(this).data('ratio') );
1469
- })
1470
- }).trigger('resize');
1471
- })(jQuery);
1472
-
1473
-
1474
-
1475
-
1476
- /*
1477
- * HLS.js fallback to Flowplayer Flash HLS
1478
- */
1479
- flowplayer(function(api, root) {
1480
- var store_engine_pos = -1;
1481
- var store_engine = false;
1482
-
1483
- api.on("error", function (e, api, err) {
1484
- if( err.code != 4 || api.engine.engineName != 'hlsjs' ) return;
1485
-
1486
- console.log('FV Player: HLSJS failed to play the video, switching to Flash HLS');
1487
- api.error = api.loading = false;
1488
-
1489
- jQuery(root).removeClass('is-error');
1490
- jQuery(flowplayer.engines).each( function(k,v) {
1491
- if( flowplayer.engines[k].engineName == 'hlsjs' ){
1492
- store_engine_pos = k;
1493
- store_engine = flowplayer.engines[k];
1494
- delete(flowplayer.engines[k]);
1495
- }
1496
- });
1497
-
1498
- var index = typeof(api.video.index) != "undefined" ? api.video.index : 0;
1499
- var video = index > 0 ? api.conf.playlist[index].sources : api.conf.clip.sources;
1500
- video.index = index;
1501
-
1502
- api.load({ sources: video });
1503
-
1504
- // without this any further HLS playback won't use HLS.js
1505
- api.bind('unload error', function() {
1506
- flowplayer.engines[store_engine_pos] = store_engine;
1507
- });
1508
- });
1509
- });
1510
-
1511
-
1512
-
1513
-
1514
- /*
1515
- * Gravity Forms Partial Entries fix - the whole player is cloned if it's placed in the form, causing it to play again in the background
1516
- */
1517
- flowplayer(function(api, root) {
1518
-
1519
- api.bind('ready',function() {
1520
- setTimeout( function() {
1521
- var video = jQuery('video',root);
1522
- if( video.length > 0 ) {
1523
- video.removeAttr('autoplay'); // removing autoplay attribute fixes the issue
1524
- }
1525
- }, 100 ); // by default the heartbeat JS event triggering this happens every 30 seconds, we just add a bit of delay to be sure
1526
- });
1527
-
1528
- });
1529
-
1530
-
1531
-
1532
-
1533
-
1534
- flowplayer(function(api, root) {
1535
- /*
1536
- * Chrome 55>= video download button fix
1537
- */
1538
- api.bind('ready', function() {
1539
- if( /Chrome/.test(navigator.userAgent) && parseFloat(/Chrome\/(\d\d)/.exec(navigator.userAgent)[1], 10) > 54 ) {
1540
- if( api.video.subtitles ) {
1541
- jQuery(root).addClass('chrome55fix-subtitles');
1542
- } else {
1543
- jQuery(root).addClass('chrome55fix');
1544
- }
1545
- }
1546
- });
1547
-
1548
- /*
1549
- * Splash dimension bugfix
1550
- */
1551
- root = jQuery(root);
1552
- var image_src = root.css('background-image')
1553
- if( image_src ) {
1554
- image_src = image_src.replace(/url\((['"])?(.*?)\1\)/gi, '$2').split(',');
1555
- if( !image_src || !image_src[0].match(/^(https?:)?\/\//) ) return;
1556
- var image = new Image();
1557
- image.src = image_src[0];
1558
-
1559
- var image_ratio = image.height/image.width;
1560
- var player_ratio = root.height()/root.width();
1561
-
1562
- var ratio_diff = Math.abs(player_ratio - image_ratio);
1563
- if( ratio_diff < 0.05 ) {
1564
- root.css('background-size','cover');
1565
- }
1566
-
1567
- }
1568
- });
1569
-
1570
- /*
1571
- * MAILCHIMP FORM
1572
- */
1573
- (function($){
1574
- flowplayer(function(api, root) {
1575
- if( jQuery(root).hasClass('is-cva') ) return;
1576
-
1577
- $(document).on('submit','#' + jQuery(root).attr('id') + ' .mailchimp-form' ,function(e){
1578
- e.preventDefault();
1579
-
1580
- $('.mailchimp-response',root).remove();
1581
- $('input[type=submit]',root).attr('disabled','disabled').addClass('fv-form-loading');
1582
-
1583
- var data = {action:"fv_wp_flowplayer_email_signup"};
1584
- $('[name]',this).each(function(){
1585
- data[this.name] = $(this).val();
1586
- });
1587
- $.post(fv_fp_ajaxurl,data,function( response ) {
1588
- response = JSON.parse(response);
1589
- $('<div class="mailchimp-response"></div>').insertAfter('.mailchimp-form',root);
1590
-
1591
- if( response.text.match(/already subscribed/) ) {
1592
- response.status = 'ERROR';
1593
- }
1594
-
1595
- if(response.status === 'OK'){
1596
- $('.mailchimp-form input[type=text],.mailchimp-form input[type=email]',root).val('');
1597
- $('.mailchimp-response',root).removeClass('is-fv-error').html(response.text);
1598
-
1599
- setTimeout( function() {
1600
- $('.wpfp_custom_popup',root).fadeOut();
1601
- }, 2000 );
1602
-
1603
- }else{
1604
- $('.mailchimp-response',root).addClass('is-fv-error').html(response.text);
1605
- }
1606
- $('input[type=submit]',root).removeAttr('disabled').removeClass('fv-form-loading');
1607
- });
1608
- });
1609
- });
1610
- }(jQuery));
1611
-
1612
- /* *
1613
- * WARNINGS
1614
- */
1615
- if( typeof(flowplayer) != "undefined" ) { // stop lightbox from playing if it's closed
1616
- flowplayer(function (api,root) {
1617
- root = jQuery(root);
1618
-
1619
- // Subtitles which iPhone can't show
1620
- if( navigator.userAgent.match(/iPhone.* OS [0-6]_/i)){
1621
- api.one('progress', function(e) {
1622
- if( typeof(api.video.subtitles) !== 'undefined' && api.video.subtitles.length ){
1623
- fv_player_warning(root,fv_flowplayer_translations.warning_iphone_subs);
1624
- }
1625
- });
1626
- }
1627
-
1628
- // unstable Android
1629
- if( !navigator.userAgent.match(/Firefox/i) && navigator.userAgent.match(/Android ([123].[\d](.[\d])?|4.[321](.[\d])?).*((GT|SGH|SCH|SHV)-[a-z]\d{3}|samsung)/i)){
1630
- fv_player_warning(root,fv_flowplayer_translations.warning_unstable_android,'firefox');
1631
- }
1632
-
1633
- // Vimeo misbehaving on Android 4.4
1634
- if( /Android 4/.test(navigator.userAgent) && !/Firefox/.test(navigator.userAgent) ) {
1635
- api.on('ready', function(e,api,video) { // works for my Samsung Android 4.4.4, both built-in browser and Chrome
1636
- setTimeout( function() {
1637
- if( video.src && video.src.match(/fpdl.vimeocdn.com/) && ( video.time == 0 || video.time == 1 ) ) {
1638
- fv_player_warning(root,fv_flowplayer_translations.warning_unstable_android,'firefox');
1639
-
1640
- api.on('progress', function(e,api) {
1641
- root.prev().find('.fv-player-warning-firefox').remove();
1642
- });
1643
- }
1644
- }, 1500 );
1645
- });
1646
-
1647
- api.on('error', function(e,api,error) { // works for Huawei Android 4.3
1648
- if( error.MEDIA_ERR_NETWORK == 2 && error.video.src.match(/fpdl.vimeocdn.com/) ) {
1649
- fv_player_warning(root,fv_flowplayer_translations.warning_unstable_android,'firefox');
1650
- }
1651
- });
1652
- }
1653
-
1654
- // Vimeo misbehaving on old Safari
1655
- if( /Safari/.test(navigator.userAgent) && /Version\/5/.test(navigator.userAgent) ) {
1656
- api.on('error', function(e,api,error) {
1657
- if( error.video.src.match(/fpdl.vimeocdn.com/) ) {
1658
- fv_player_warning(root,fv_flowplayer_translations.warning_old_safari);
1659
- }
1660
- });
1661
- }
1662
-
1663
- if( flowplayer.support.android && flowplayer.support.android.samsung && parseInt(flowplayer.support.browser.version) < 66 ) { // Samsung Browser is just old version of Google Chrome!
1664
- api.on('error', function(e,api,error) {
1665
- fv_player_warning(root,fv_flowplayer_translations.warning_samsungbrowser);
1666
- });
1667
- }
1668
-
1669
-
1670
- });
1671
-
1672
-
1673
- function fv_player_warning(root,warning,classname) {
1674
- var wrapper = jQuery(root).prev('.fv-player-warning-wrapper');
1675
- if( wrapper.length == 0 ) {
1676
- jQuery(root).before('<div class="fv-player-warning-wrapper">');
1677
- wrapper = jQuery(root).prev('.fv-player-warning-wrapper');
1678
- }
1679
-
1680
- if( wrapper.find('.fv-player-warning-'+classname).length == 0 ) {
1681
- var latest = jQuery("<p style='display: none' "+(classname?" class='fv-player-warning-"+classname+"'" : "")+">"+warning+"</p>");
1682
- wrapper.append(latest);
1683
- latest.slideDown();
1684
- }
1685
- }
1686
- }
1687
-
1688
-
1689
- /*
1690
- * Player size dependent classes - .is-wide, .is-fv-narrow
1691
- */
1692
- flowplayer(function(api, root) {
1693
- root = jQuery(root);
1694
- var active = false,
1695
- player = root.find('.fp-player'),
1696
- had_no_volume = root.hasClass('no-volume'),
1697
- had_fp_mute = root.hasClass('fp-mute');
1698
-
1699
- function check_size() {
1700
- if(player.width() > 900) {
1701
- jQuery('.fp-subtitle',root).addClass('is-wide');
1702
- } else {
1703
- jQuery('.fp-subtitle',root).removeClass('is-wide');
1704
- }
1705
-
1706
- var el = player;
1707
- if( root.parent().hasClass('fp-playlist-vertical-wrapper') || root.parent().hasClass('fp-playlist-text-wrapper') ) el = root.parent(); // in some cases we apply the wrapper
1708
-
1709
- if(el.width() <= 560) {
1710
- el.addClass('is-fv-narrow');
1711
- } else {
1712
- el.removeClass('is-fv-narrow');
1713
- }
1714
-
1715
- if(player.width() <= 320) { // remove volue bar on narrow players
1716
- root.addClass('no-volume fp-mute');
1717
- } else {
1718
- if( !had_no_volume ) root.removeClass('no-volume');
1719
- if( !had_fp_mute ) root.removeClass('fp-mute');
1720
- }
1721
-
1722
- var speed = root.find('.fp-speed-menu'); // speed menu should get scrollbar when needed
1723
- speed.toggleClass('wont-fit', ++speed.children().length * 25 > player.height() );
1724
- }
1725
-
1726
- check_size();
1727
-
1728
- setInterval(function(){ // we only run the check when something has happened
1729
- if( !active ) return;
1730
- active = false;
1731
-
1732
- check_size();
1733
- }, 50);
1734
-
1735
- jQuery(window).on('resize',function(){
1736
- active = true;
1737
- });
1738
-
1739
- api.on('ready fullscreen fullscreen-exit',function(){
1740
- active = true;
1741
- })
1742
-
1743
- api.on('unload pause finish error',function(){
1744
- if(typeof(checker) !== 'undefined')
1745
- clearInterval(checker);
1746
- })
1747
- })
1748
-
1749
-
1750
- jQuery(window).on('resize tabsactivate',function(){
1751
- jQuery('.fp-playlist-external').each(function(){
1752
- var playlist = jQuery(this);
1753
- if( playlist.parent().width() >= 900 ) playlist.addClass('is-wide');
1754
- else playlist.removeClass('is-wide');
1755
- })
1756
- }).trigger('resize');
1757
-
1758
-
1759
-
1760
- /*
1761
- * Audio support
1762
- */
1763
- flowplayer(function(api, root) {
1764
- root = jQuery(root);
1765
- var bean = flowplayer.bean;
1766
-
1767
- if( root.hasClass('is-audio') ) {
1768
- bean.off(root[0], "mouseenter");
1769
- bean.off(root[0], "mouseleave");
1770
- root.removeClass('is-mouseout');
1771
- root.addClass('fixed-controls').addClass('is-mouseover');
1772
-
1773
- api.on('error', function (e,api, error) {
1774
- jQuery('.fp-message',root).html( jQuery('.fp-message',root).html().replace(/video/,'audio') );
1775
- });
1776
-
1777
- root.click( function(e) {
1778
- if( !api.ready) {
1779
- e.preventDefault();
1780
- e.stopPropagation();
1781
- api.load();
1782
- }
1783
- })
1784
- }
1785
-
1786
- })
1787
-
1788
-
1789
-
1790
-
1791
- /*
1792
- * Player notices
1793
- */
1794
- function fv_player_notice(root, message, timeout) {
1795
- var notices = jQuery('.fvfp-notices',root);
1796
- if( !notices.length ) {
1797
- notices = jQuery('<div class="fvfp-notices">');
1798
- jQuery('.fp-player',root).append(notices);
1799
- }
1800
-
1801
- var notice = jQuery('<div class="fvfp-notice-content">'+message+'</div></div>');
1802
- notices.append(notice);
1803
- if ( typeof(timeout) == 'string' ) {
1804
- var player = jQuery(root).data('flowplayer');
1805
- player.on(timeout, function() {
1806
- notice.fadeOut(100,function() { jQuery(this).remove(); });
1807
- } );
1808
- }
1809
- if ( timeout > 0 ) {
1810
- setTimeout( function() {
1811
- notice.fadeOut(2000,function() { jQuery(this).remove(); });
1812
- }, timeout );
1813
- }
1814
- }
1815
-
1816
-
1817
-
1818
-
1819
- var fv_player_clipboard = function(text, successCallback, errorCallback) {
1820
- try {
1821
- fv_player_doCopy(text);
1822
- successCallback();
1823
- } catch (e) {
1824
- if( typeof(errorCallback) != "undefined" ) errorCallback(e);
1825
- }
1826
- };
1827
-
1828
- function fv_player_doCopy(text) {
1829
- var textArea = document.createElement('textarea');
1830
- textArea.value = text;
1831
- textArea.style.opacity = 0;
1832
- textArea.style.position = 'absolute';
1833
- document.body.appendChild(textArea);
1834
- textArea.select();
1835
- var success = document.execCommand('copy');
1836
- document.body.removeChild(textArea);
1837
- if (!success) throw new Error('Unsuccessfull');
1838
- }
1839
-
1840
-
1841
-
1842
-
1843
- /*
1844
- * Custom keyboard controls, todo: fp7 check!
1845
- */
1846
- flowplayer.bean.off(document,'keydown.fp');
1847
-
1848
- flowplayer(function(api, root) {
1849
- var bean = flowplayer.bean;
1850
-
1851
- // no keyboard configured
1852
- if (!api.conf.keyboard) return;
1853
-
1854
- // todo: is help really gone?
1855
- /*var help = jQuery(root).find('.fp-help').html();
1856
- var playlist_help = api.conf.playlist.length > 0 ? '<p><em>shift</em> + <em>n</em><em>p</em>next / prev video</p>' : '';
1857
- help = help.replace(/<p><em>1.*?60% <\/p>/,playlist_help);
1858
- jQuery(root).find('.fp-help').html(help);*/
1859
-
1860
- // hover
1861
- bean.on(root, "mouseenter mouseleave", function(e) {
1862
- fv_player_focused = !api.disabled && e.type == 'mouseover' ? api : 0;
1863
- if (fv_player_focused) fv_player_focusedRoot = root;
1864
- });
1865
-
1866
- api.bind('ready', function(e,api,video) {
1867
- if( video.subtitles && video.subtitles.length > 0 ) {
1868
- var help = jQuery(root).find('.fp-help').html();
1869
- help += '<div class="fp-help-section fp-help-subtitles"><p><em>c</em>cycle through subtitles</p></div>';
1870
- jQuery(root).find('.fp-help').html(help);
1871
- } else {
1872
- jQuery(root).find('.fp-help-subtitles').remove();
1873
- }
1874
- });
1875
- });
1876
-
1877
- flowplayer.bean.on(document, "keydown.fp", function(e) {
1878
- if( typeof(fv_player_focused) == "undefined" ) return
1879
-
1880
- var api = fv_player_focused,
1881
- focusedRoot = api ? fv_player_focusedRoot : false,
1882
- common = flowplayer.common;
1883
-
1884
- var el = api && !api.disabled ? api : 0,
1885
- metaKeyPressed = e.ctrlKey || e.metaKey || e.altKey,
1886
- key = e.which,
1887
- conf = el && el.conf;
1888
-
1889
-
1890
-
1891
- if (!el || !conf.keyboard || el.disabled) return;
1892
-
1893
- // help dialog (shift key not truly required)
1894
- if ([63, 187, 191].indexOf(key) != -1) {
1895
- common.toggleClass(focusedRoot, "is-help");
1896
- return false;
1897
- }
1898
-
1899
- // close help / unload
1900
- if (key == 27 && common.hasClass(focusedRoot, "is-help")) {
1901
- common.toggleClass(focusedRoot, "is-help");
1902
- return false;
1903
- }
1904
-
1905
- if (!metaKeyPressed && el.ready) {
1906
-
1907
- e.preventDefault();
1908
-
1909
- // slow motion / fast forward
1910
- if (e.shiftKey) {
1911
- if (key == 39) el.speed(true);
1912
- else if (key == 37) el.speed(false);
1913
- else if (key == 78) el.next(); // N
1914
- else if (key == 80) el.prev(); // P
1915
- return;
1916
- }
1917
-
1918
- // 1, 2, 3, 4 ..
1919
- if (key < 58 && key > 47) return el.seekTo(key - 48);
1920
-
1921
-
1922
-
1923
- switch (key) {
1924
- case 38: case 75: el.volume(el.volumeLevel + 0.15); break;
1925
- case 40: case 74: el.volume(el.volumeLevel - 0.15); break;
1926
- case 39: case 76: el.seeking = true; el.seek(api.video.time+5); break;
1927
- case 37: case 72: el.seeking = true; el.seek(api.video.time-5); break;
1928
- case 190: el.seekTo(); break;
1929
- case 32: el.toggle(); break;
1930
- case 70: if(conf.fullscreen) el.fullscreen(); break;
1931
- case 77: el.mute(); break;
1932
- case 81: el.unload(); break;
1933
- case 67: // circle through subtitles
1934
- if( !api.video.subtitles || api.video.subtitles.length == 0 ) break;
1935
-
1936
- var current_subtitles = jQuery(focusedRoot).find('.fp-dropdown li.active[data-subtitle-index]').data('subtitle-index');
1937
- if( typeof(current_subtitles) == "undefined" ) current_subtitles = -1;
1938
-
1939
- current_subtitles++;
1940
- if( current_subtitles > (api.video.subtitles.length - 1) ) {
1941
- current_subtitles = -1;
1942
- }
1943
-
1944
- api.trigger('fv-subtitles-switched');
1945
-
1946
- if( current_subtitles > -1 ) {
1947
- el.loadSubtitles(current_subtitles);
1948
- fv_player_notice(focusedRoot,fv_flowplayer_translations.subtitles_switched+' '+api.video.subtitles[current_subtitles].label,'fv-subtitles-switched');
1949
- } else {
1950
- el.disableSubtitles();
1951
- fv_player_notice(focusedRoot,fv_flowplayer_translations.subtitles_disabled,'fv-subtitles-switched');
1952
- }
1953
-
1954
- break;
1955
- }
1956
-
1957
- }
1958
-
1959
- });
1960
-
1961
-
1962
-
1963
-
1964
- if( flowplayer.conf.mobile_force_fullscreen && ( 'ontouchstart' in window ) && flowplayer.support.fvmobile ) {
1965
- flowplayer(function(api, root) {
1966
- if( jQuery(root).hasClass('is-audio') ) return;
1967
-
1968
- if( flowplayer.support.iOS.iPad || flowplayer.support.iOS.iPhone && flowplayer.support.iOS.version >= 10 ) {
1969
- api.bind('ready', function() {
1970
- api.fullscreen();
1971
- });
1972
- } else if( flowplayer.support.android ) {
1973
- jQuery(root).on('click', function() {
1974
- if( !api.ready ) api.fullscreen();
1975
- });
1976
- }
1977
- });
1978
- }
1979
-
1980
-
1981
-
1982
-
1983
- /*
1984
- * MPEG-DASH and HLS.js ABR changes
1985
- */
1986
- if( localStorage.FVPlayerHLSQuality ) {
1987
- flowplayer.conf.hlsjs.startLevel = localStorage.FVPlayerHLSQuality;
1988
- }
1989
-
1990
- flowplayer( function(api,root) {
1991
- var hlsjs;
1992
- flowplayer.engine('hlsjs-lite').plugin(function(params) {
1993
- hlsjs = params.hls;
1994
- });
1995
-
1996
- root = jQuery(root);
1997
- var search = document.location.search;
1998
-
1999
- if( localStorage.FVPlayerDashQuality ) {
2000
- if( !api.conf.dash ) api.conf.dash = {};
2001
- api.conf.dash.initialVideoQuality = 'restore'; // special flag for Dash.js
2002
- } else if( localStorage.FVPlayerHLSQuality ) {
2003
- flowplayer.conf.hlsjs.startLevel = localStorage.FVPlayerHLSQuality;
2004
- }
2005
-
2006
- api.bind('quality', function(e,api,quality) {
2007
- if(api.engine.engineName == 'dash' ) {
2008
- if( quality == -1 ) {
2009
- localStorage.removeItem('FVPlayerDashQuality');
2010
- } else if( bitrates[quality] ) {
2011
- localStorage.FVPlayerDashQuality = bitrates[quality].height;
2012
- }
2013
- } else if(api.engine.engineName == 'hlsjs-lite' ) {
2014
- if( quality == -1 ) {
2015
- localStorage.removeItem('FVPlayerHLSQuality');
2016
- } else {
2017
- localStorage.FVPlayerHLSQuality = quality;
2018
- }
2019
- }
2020
- });
2021
-
2022
- var bitrates = [];
2023
- var last_quality = -1;
2024
- api.bind('ready', function(e,api) {
2025
- if(api.engine.engineName == 'dash' ) {
2026
- bitrates = api.engine.dash.getBitrateInfoListFor('video');
2027
- if( localStorage.FVPlayerDashQuality && api.conf.dash.initialVideoQuality ) { // Dash.js gives us initialVideoQuality
2028
- api.quality(api.conf.dash.initialVideoQuality);
2029
- root.one('progress', function() { // we need to make sure Flowplayer Dash.js setInitialVideoQuality won't enable the ABR again
2030
- setTimeout( function() {
2031
- api.quality(api.conf.dash.initialVideoQuality);
2032
- });
2033
- });
2034
- }
2035
- quality_sort();
2036
- } else if(api.engine.engineName == 'hlsjs-lite' ) {
2037
- if( localStorage.FVPlayerHLSQuality && api.video.qualities > 2 ) {
2038
- api.quality(localStorage.FVPlayerHLSQuality);
2039
- root.one('progress', function() {
2040
- setTimeout( function() {
2041
- api.quality(localStorage.FVPlayerHLSQuality);
2042
- });
2043
- });
2044
- }
2045
- quality_sort();
2046
- } else if( api.video.sources_fvqs && api.video.sources_fvqs.length > 0 && api.video.src.match(/vimeo.*?\.mp4/) ) {
2047
- setTimeout( quality_sort, 0 );
2048
- }
2049
- root.find('a[data-quality]').removeClass('is-current');
2050
- });
2051
-
2052
- if( search.match(/dash_debug/) || search.match(/hls_debug/) ) var debug_log = jQuery('<div class="fv-debug" style="background: gray; color: white; top: 10%; position: absolute; z-index: 1000">').appendTo(root.find('.fp-player'));
2053
-
2054
- api.bind('ready progress', quality_process);
2055
-
2056
- api.bind('quality', function() {
2057
- setTimeout( quality_process, 0 );
2058
- });
2059
-
2060
- function quality_process() {
2061
- if( api.engine.engineName == 'dash' ) {
2062
- var stream_info = bitrates[api.engine.dash.getQualityFor('video')];
2063
- if( stream_info.qualityIndex != last_quality ) {
2064
- last_quality = stream_info.qualityIndex;
2065
- quality_label(stream_info.qualityIndex,stream_info.height);
2066
- }
2067
- if( search.match(/dash_debug/) ) quality_debug(stream_info.width,stream_info.height,stream_info.bitrate);
2068
-
2069
- } else if( api.engine.engineName == 'hlsjs-lite' ) {
2070
- if( hlsjs.currentLevel != last_quality ) {
2071
- last_quality = hlsjs.currentLevel;
2072
- quality_label( hlsjs.currentLevel, hlsjs.levels[hlsjs.currentLevel].height );
2073
- }
2074
-
2075
- if( search.match(/hls_debug/) ) {
2076
- var level = hlsjs.levels[hlsjs.currentLevel];
2077
- quality_debug(level.width,level.height,level.bitrate);
2078
- }
2079
-
2080
- }
2081
- }
2082
-
2083
- function quality_label(index,height) {
2084
- root.find('a[data-quality]').removeClass('is-current');
2085
- root.find('a[data-quality='+index+']').addClass('is-current');
2086
- var label = 'M';
2087
- if( height >= 400 ) label = 'SD';
2088
- if( height >= 720 ) label = 'HD';
2089
- if( height >= 1400 ) label = '4K';
2090
- root.find('.fp-qsel').html(label);
2091
- }
2092
-
2093
- function quality_debug(w,h,br) {
2094
- debug_log.html( "Using "+w+"x"+h+" at "+Math.round(br/1024)+" kbps" );
2095
- }
2096
-
2097
- function quality_sort() {
2098
- var menu = root.find('.fp-qsel-menu');
2099
- menu.children().each(function(i,li){menu.prepend(li)})
2100
- menu.children().each(function(i,li){ jQuery(li).html(jQuery(li).html().replace(/\(.*?\)/,'')) })
2101
- menu.prepend(menu.find('a[data-quality=-1]'));
2102
- menu.prepend(menu.find('strong'));
2103
- }
2104
-
2105
- });
2106
-
2107
-
2108
- flowplayer( function(api,root) {
2109
- root = jQuery(root);
2110
-
2111
- api.bind('ready', function() {
2112
- if( root.data('button-no-picture') && root.find('.fv-fp-no-picture').length == 0 ) {
2113
- var button_no_picture = jQuery('<span class="fv-fp-no-picture"><svg viewBox="0 0 90 80" width="20px" height="20px" class="fvp-icon fvp-nopicture"><use xlink:href="#fvp-nopicture"></use></svg></strspanong>');
2114
-
2115
- button_no_picture.insertAfter( root.find('.fp-controls .fp-volume') ).click( function(e) {
2116
- e.preventDefault();
2117
- e.stopPropagation();
2118
-
2119
- jQuery('.fp-engine',root).slideToggle(20);
2120
- jQuery(this).toggleClass('is-active fp-color-fill');
2121
- });
2122
- }
2123
-
2124
- if( root.data('button-repeat') ) {
2125
- if( api.conf.playlist.length > 0 && root.find('.fv-fp-playlist').length == 0 ) {
2126
- var playlist_button = jQuery('<strong class="fv-fp-playlist mode-normal"><svg viewBox="0 0 80.333 80" width="20px" height="20px" class="fvp-icon fvp-replay-list"><title>Replay Playlist</title><use xlink:href="#fvp-replay-list"></use></svg><svg viewBox="0 0 80.333 71" width="20px" height="20px" class="fvp-icon fvp-shuffle"><use xlink:href="#fvp-shuffle"></use></svg><svg viewBox="0 0 80.333 71" width="20px" height="20px" class="fvp-icon fvp-replay-track"><title>Replay Track</title><use xlink:href="#fvp-replay-track"></use></svg><span id="fvp-playlist-play" title="Play All">All</span></strong>'),
2127
- playlist_menu = jQuery('<div class="fp-menu fv-fp-playlist-menu"><a data-action="repeat_playlist"><svg viewBox="0 0 80.333 80" width="20px" height="20px" class="fvp-icon fvp-replay-list"><title>Replay Playlist</title><use xlink:href="#fvp-replay-list"></use></svg> <span class="screen-reader-text">Repeat Playlist</span></a><a data-action="shuffle_playlist"><svg viewBox="0 0 80.333 71" width="20px" height="20px" class="fvp-icon fvp-shuffle"><title>Shuffle Playlist</title><use xlink:href="#fvp-shuffle"></use></svg> <span class="screen-reader-text">Shuffle Playlist</span></a><a data-action="repeat_track"><svg viewBox="0 0 80.333 71" width="20px" height="20px" class="fvp-icon fvp-replay-track"><title>Repeat Track</title><use xlink:href="#fvp-replay-track"></use></svg> <span class="screen-reader-text">Repeat Track</span></a><a class="fp-selected" data-action="normal"><span id="fvp-playlist-play" title="Play All">All</span></a></div>').insertAfter( root.find('.fp-controls') );
2128
-
2129
- api.conf.playlist_shuffle = api.conf.track_repeat = false;
2130
-
2131
- var random_seed = randomize();
2132
-
2133
- var should_advance = api.conf.advance;
2134
-
2135
- playlist_button.insertAfter( root.find('.fp-controls .fp-volume') ).click( function(e) {
2136
- e.preventDefault();
2137
- e.stopPropagation();
2138
-
2139
- // reposition the repeat menu to be aligned with the repeat button
2140
- if (playlist_menu.css('right') !== 'auto') {
2141
- playlist_menu.css({
2142
- "right": "auto",
2143
- "left": playlist_button.position().left + 'px'
2144
- });
2145
- }
2146
-
2147
- if( playlist_menu.hasClass('fp-active') ) {
2148
- api.hideMenu(playlist_menu[0]);
2149
- }
2150
- else {
2151
- // workaround for flowplayer 7 not picking up our menu as one of its own,
2152
- // thus not closing it
2153
- root.click();
2154
- api.showMenu(playlist_menu[0]);
2155
- }
2156
- });
2157
-
2158
- jQuery('a',playlist_menu).click( function() {
2159
- jQuery(this).siblings('a').removeClass('fp-selected');
2160
- jQuery(this).addClass('fp-selected');
2161
- playlist_button.removeClass('mode-normal mode-repeat-track mode-repeat-playlist mode-shuffle-playlist');
2162
-
2163
- var action = jQuery(this).data('action');
2164
- if( action == 'repeat_playlist' ) {
2165
- playlist_button.addClass('mode-repeat-playlist');
2166
- api.conf.loop = true;
2167
- api.conf.advance = true;
2168
- api.video.loop = api.conf.track_repeat = false;
2169
- api.conf.playlist_shuffle = false;
2170
-
2171
- } else if( action == 'shuffle_playlist' ) {
2172
- playlist_button.addClass('mode-shuffle-playlist');
2173
- api.conf.loop = true;
2174
- api.conf.advance = true;
2175
- api.conf.playlist_shuffle = true;
2176
-
2177
- } else if( action == 'repeat_track' ) {
2178
- playlist_button.addClass('mode-repeat-track');
2179
- api.conf.track_repeat = api.video.loop = true;
2180
- api.conf.loop = api.conf.playlist_shuffle = false;
2181
- //api.conf.advance = !track_repeat && should_advance;
2182
-
2183
- } else if( action == 'normal' ) {
2184
- playlist_button.addClass('mode-normal');
2185
- api.conf.track_repeat = api.video.loop = false;
2186
- api.conf.loop = api.conf.playlist_shuffle = false;
2187
-
2188
- }
2189
-
2190
- });
2191
-
2192
- if( api.conf.loop ) {
2193
- jQuery('a[data-action=repeat_playlist]', playlist_menu ).click();
2194
- }
2195
-
2196
- api.on('progress', function() {
2197
- api.video.loop = api.conf.track_repeat;
2198
- });
2199
-
2200
- api.on("finish.pl", function(e,api) {console.log('playlist_repeat',api.conf.loop,'advance',api.conf.advance,'video.loop',api.video.loop);
2201
- if( api.conf.playlist_shuffle ) {
2202
- api.play( random_seed.pop() );
2203
- if( random_seed.length == 0 ) random_seed = randomize();
2204
- }
2205
- });
2206
-
2207
- } else if( root.find('.fv-fp-track-repeat').length == 0 && api.conf.playlist.length == 0 ) {
2208
- var button_track_repeat = jQuery('<strong class="fv-fp-track-repeat"><svg viewBox="0 0 80.333 71" width="20px" height="20px" class="fvp-icon fvp-replay-track"><use xlink:href="#fvp-replay-track"></use></svg></strong>');
2209
- button_track_repeat.insertAfter( root.find('.fp-controls .fp-volume') ).click( function(e) {
2210
- e.preventDefault();
2211
- e.stopPropagation();
2212
-
2213
- if( api.video.loop ) {
2214
- api.video.loop = false;
2215
- jQuery(this).removeClass('is-active fp-color-fill');
2216
- } else {
2217
- api.video.loop = true;
2218
- jQuery(this).addClass('is-active fp-color-fill');
2219
- }
2220
- });
2221
-
2222
- if( api.conf.loop ) {
2223
- button_track_repeat.click();
2224
- }
2225
-
2226
- }
2227
- }
2228
- }).bind('unload', function() {
2229
- root.find('.fv-fp-no-picture').remove();
2230
- root.find('.fv-fp-playlist').remove();
2231
- root.find('.fv-fp-track-repeat').remove();
2232
- });
2233
-
2234
- function array_shuffle(a) {
2235
- var j, x, i;
2236
- for (i = a.length; i; i--) {
2237
- j = Math.floor(Math.random() * i);
2238
- x = a[i - 1];
2239
- a[i - 1] = a[j];
2240
- a[j] = x;
2241
- }
2242
- return a;
2243
- }
2244
-
2245
- function randomize(random_seed) {
2246
- random_seed = [];
2247
- jQuery(api.conf.playlist).each( function(k,v) {
2248
- random_seed.push(k);
2249
- });
2250
-
2251
- random_seed = array_shuffle(random_seed);
2252
- console.log('FV Player Randomizer random seed:',random_seed);
2253
- return random_seed;
2254
- }
2255
- });
2256
-
2257
-
2258
- // sticky video
2259
- flowplayer(function(api, root) {
2260
- var $root = jQuery(root);
2261
- var $playerDiv = $root.find('.fp-player');
2262
- var sticky = $root.data("fvsticky");
2263
- var globalSticky = false;
2264
- var videoRatio = $root.data("ratio");
2265
- if (typeof(videoRatio) == "undefined") {
2266
- videoRatio = 0.5625;
2267
- }
2268
- if (flowplayer.conf.sticky_video == 1 && typeof(sticky) == "undefined") {
2269
- globalSticky = true;
2270
- }
2271
- if (globalSticky || sticky) {
2272
- if (flowplayer.support.firstframe) {
2273
- var stickyPlace = flowplayer.conf.sticky_place;
2274
- var stickyWidth = flowplayer.conf.sticky_width;
2275
- if (stickyWidth == "") {
2276
- stickyWidth = 380;
2277
- }
2278
- var stickyHeight = stickyWidth * videoRatio;
2279
- fv_player_sticky_video();
2280
- } else {
2281
- return;
2282
- }
2283
- }
2284
-
2285
- function fv_player_sticky_video() {
2286
- var change = false;
2287
- var $window = jQuery(window),
2288
- $flowplayerDiv = $root,
2289
- top = $flowplayerDiv.offset().top,
2290
- offset = Math.floor(top + ($flowplayerDiv.outerHeight() / 2));
2291
- api.on('ready', function() {
2292
- change = true;
2293
- });
2294
- api.on('progress', function() {
2295
- change = true;
2296
- });
2297
- api.on('unload', function() {
2298
- change = false;
2299
- fv_player_sticky_class_remove();
2300
- $root.removeClass("is-unSticky");
2301
- });
2302
-
2303
- $window
2304
- .on("resize", function() {
2305
- top = $flowplayerDiv.offset().top;
2306
- offset = Math.floor(top + ($flowplayerDiv.outerHeight() / 2));
2307
- })
2308
- .on("scroll", function() {
2309
- top = $flowplayerDiv.offset().top;
2310
- offset = Math.floor(top + ($flowplayerDiv.outerHeight() / 2));
2311
- if ($window.scrollTop() > offset && change) {
2312
- if (jQuery("div.flowplayer.is-unSticky").length > 0) {
2313
- console.log('unSticky', jQuery("div.flowplayer.is-unSticky").length);
2314
- return false;
2315
- } else {
2316
- fv_player_sticky_class_add();
2317
- }
2318
- } else {
2319
- fv_player_sticky_class_remove();
2320
- change = false;
2321
- }
2322
- });
2323
- }
2324
-
2325
- function fv_player_sticky_class_add() {
2326
- if ($playerDiv.hasClass("is-sticky-" + stickyPlace)) {
2327
- return;
2328
- } else {
2329
- $playerDiv.addClass("is-sticky-" + stickyPlace);
2330
- if ($root.find("a.fp-sticky").length == 0){
2331
- $root.find('div.fp-header').prepend('<a class="fp-sticky fp-icon"></a>');
2332
- }
2333
- $playerDiv.css("width", stickyWidth);
2334
- $playerDiv.css("height", stickyHeight);
2335
- $playerDiv.css("max-height", stickyHeight);
2336
- }
2337
- $playerDiv.parent(".flowplayer").addClass("is-stickable");
2338
- }
2339
-
2340
- function fv_player_sticky_class_remove() {
2341
- $playerDiv.removeClass("is-sticky-" + stickyPlace);
2342
- $playerDiv.css("width", "");
2343
- $playerDiv.css("height", "");
2344
- $playerDiv.css("max-height", "");
2345
- $playerDiv.parent(".flowplayer").removeClass("is-stickable");
2346
- }
2347
- });
2348
-
2349
- jQuery(function($) {
2350
- $(document).on('click', "a.fp-sticky", function() {
2351
- $("div.flowplayer.is-stickable").addClass("is-unSticky");
2352
- var $playerDiv = $("div.flowplayer.is-stickable").find('.fp-player');
2353
- $playerDiv.removeClass("is-sticky-right-bottom");
2354
- $playerDiv.removeClass("is-sticky-left-bottom");
2355
- $playerDiv.removeClass("is-sticky-right-top");
2356
- $playerDiv.removeClass("is-sticky-left-top");
2357
- $playerDiv.css("width", "");
2358
- $playerDiv.css("height", "");
2359
- $playerDiv.css("max-height", "");
2360
- });
2361
- $(document).on('click', "div.flowplayer.is-unSticky", function() {
2362
- $("div.flowplayer").removeClass("is-unSticky");
2363
- });
2364
- });
2365
-
2366
-
2367
- // Magnific Popup suppport
2368
- jQuery(document).on('mfpClose', function() {
2369
- if( typeof(jQuery('.flowplayer').data('flowplayer')) != "undefined" ) jQuery('.flowplayer').data('flowplayer').unload();
2370
- } );
2371
-
2372
-
2373
- /*
2374
- * Video Position Store functionality
2375
- */
2376
- flowplayer( function(api,root) {
2377
- var
2378
- $root = jQuery(root),
2379
- enabled = flowplayer.conf.video_position_save_enable || $root.data('save-position'),
2380
- progressEventsCount = 0,
2381
- // number of events to pass before we auto-send current video positions
2382
- sendPositionsEvery = 60,
2383
- // the actual AJAX object we use to send progress data, so we can cancel it in case it's still running
2384
- ajaxCall = null,
2385
- // maximum cookie size with saved video positions we should store
2386
- maxCookieSize = 2500,
2387
- localStorageEnabled = null,
2388
- cookieKeyName = 'video_positions',
2389
-
2390
- // retrieves the original source of a video
2391
- getOriginalSource = function(video) {
2392
- // logged-in users will have position stored within that video
2393
- return (
2394
- (typeof(video.sources_original) != "undefined" && typeof(video.sources_original[0]) != "undefined") ?
2395
- video.sources_original[0] :
2396
- video.sources[0]
2397
- );
2398
- },
2399
-
2400
- // calculates a cookie byte size
2401
- getTextByteSize = function(txt) {
2402
- return encodeURIComponent(txt).length;
2403
- },
2404
-
2405
- getCookieKey = function(key) {
2406
- return (localStorageEnabled ? localStorage.getItem(key) : Cookies.get(key));
2407
- },
2408
-
2409
- setCookieKey = function(key, value) {
2410
- return (localStorageEnabled ? localStorage.setItem(key, value) : Cookies.set(key, value));
2411
- },
2412
-
2413
- // stores currently played/paused/stopped video position
2414
- storeVideoPosition = function (e, api) {
2415
- if (api.video.sources) {
2416
- if (typeof(flowplayer['playPositions']) == 'undefined') {
2417
- flowplayer['playPositions'] = [];
2418
- }
2419
-
2420
- var
2421
- originalVideoApiPath = getOriginalSource(api.video),
2422
- position = Math.round(api.video.time);
2423
-
2424
- flowplayer['playPositions'][originalVideoApiPath.src] = position;
2425
-
2426
- // store the new position in the instance itself as well
2427
- if (originalVideoApiPath.position) {
2428
- originalVideoApiPath.position = position;
2429
- }
2430
-
2431
- // make a call home every +-30 seconds to make sure a browser crash doesn't affect the position save too much
2432
- if (progressEventsCount++ >= sendPositionsEvery) {
2433
- if (ajaxCall) {
2434
- ajaxCall.abort();
2435
- }
2436
-
2437
- ajaxCall = sendVideoPositions(true, function () {
2438
- ajaxCall = null;
2439
- });
2440
-
2441
- progressEventsCount = 0;
2442
- }
2443
- }
2444
- },
2445
-
2446
- // used when video unloads and another video starts playing
2447
- forceSavePosition = function (e, api) {
2448
- var inPlaylist = false;
2449
-
2450
- for (var i in api.conf.playlist) {
2451
- inPlaylist = true;
2452
- break;
2453
- }
2454
-
2455
- if (inPlaylist && !flowplayer.conf.closingPage) {
2456
- progressEventsCount = sendPositionsEvery + 1;
2457
- storeVideoPosition(e, api);
2458
- sendVideoPositions();
2459
- }
2460
- },
2461
-
2462
- // called when the video finishes playing - removes that video position from cache, as it's no longer needed
2463
- removeVideoPosition = function (e, api) {
2464
- if (api.video.sources) {
2465
- if (typeof(flowplayer['playPositions']) == 'undefined') {
2466
- flowplayer['playPositions'] = [];
2467
- }
2468
-
2469
- var originalVideoApiPath = getOriginalSource(api.video);
2470
- flowplayer['playPositions'][originalVideoApiPath.src] = 0;
2471
- }
2472
- },
2473
-
2474
- // used to seek into the desired last stored position when he video has started
2475
- seekIntoPosition = function (e, api) {
2476
- var
2477
- originalVideoApiPath = getOriginalSource(api.video),
2478
- position = originalVideoApiPath.position;
2479
-
2480
- api.bind('progress', storeVideoPosition);
2481
-
2482
- if (position) {
2483
- seek(position);
2484
- } else {
2485
- // try to lookup position of a guest visitor
2486
- if (flowplayer.conf.is_logged_in != '1') {
2487
- var data = getCookieKey(cookieKeyName);
2488
- if (data && typeof(data) !== 'undefined') {
2489
- try {
2490
- data = JSON.parse(data);
2491
- if (data[originalVideoApiPath.src]) {
2492
- seek(data[originalVideoApiPath.src]);
2493
- }
2494
- } catch (e) {
2495
- // something went wrong...
2496
- // TODO: shall we try to reset guest data here?
2497
- return;
2498
- }
2499
- }
2500
- }
2501
- }
2502
- },
2503
-
2504
- sendVideoPositions = function(async, callback) {
2505
- if (async !== true) {
2506
- async = false;
2507
- }
2508
-
2509
- if (!callback || typeof(callback) == 'undefined') {
2510
- callback = function() {};
2511
- }
2512
-
2513
- postData = [];
2514
-
2515
- for (var video_name in flowplayer['playPositions']) {
2516
- postData.push({
2517
- name: video_name,
2518
- position: flowplayer['playPositions'][video_name]
2519
- });
2520
- }
2521
-
2522
- if (!postData.length) {
2523
- return;
2524
- }
2525
-
2526
- if ( flowplayer.conf.is_logged_in == '1') {
2527
- // logged-in user, store position in their metadata on server
2528
- return jQuery.ajax({
2529
- type: 'POST',
2530
- async: async,
2531
- url: fv_fp_ajaxurl,
2532
- complete: callback,
2533
- data: {
2534
- action: 'fv_wp_flowplayer_video_position_save',
2535
- videoTimes: postData
2536
- }
2537
- });
2538
- } else {
2539
- // guest visitor, store position in a cookie / localStorage
2540
- try {
2541
- var data = getCookieKey(cookieKeyName);
2542
- if (data && typeof(data) !== 'undefined') {
2543
- data = JSON.parse(data);
2544
- } else {
2545
- data = {};
2546
- }
2547
-
2548
- // add / edit our video positions
2549
- for (var i in postData) {
2550
- data[postData[i].name] = postData[i].position;
2551
- }
2552
-
2553
- var
2554
- serialized = JSON.stringify(data),
2555
- dataSize = getTextByteSize(serialized);
2556
-
2557
- // check if we're not going over maximum cache size
2558
- if (dataSize > maxCookieSize) {
2559
- // we're over max cache size, let's delete some older videos
2560
- while (dataSize > maxCookieSize) {
2561
- // remove the first entry only
2562
- for (var i in data) {
2563
- delete data[i];
2564
-
2565
- // re-serialize with the value removed
2566
- serialized = JSON.stringify(data);
2567
- // calculate new data size, so we can exit the while loop
2568
- dataSize = getTextByteSize(serialized);
2569
-
2570
- break;
2571
- }
2572
- }
2573
- }
2574
-
2575
- setCookieKey(cookieKeyName, serialized);
2576
- } catch (e) {
2577
- // JSON JS support missing
2578
- return;
2579
- }
2580
- }
2581
-
2582
- return false;
2583
- },
2584
-
2585
- seek = function(position) {
2586
- var seek_count = 0;
2587
- var do_seek = setInterval( function() {
2588
- if( ++seek_count > 20 ) clearInterval(do_seek);
2589
- if( api.loading ) return;
2590
- api.seek(parseInt(position)); // int for Dash.js!
2591
- clearInterval(do_seek);
2592
- }, 10 );
2593
- };
2594
-
2595
- if( !enabled ) return;
2596
-
2597
- // stop events
2598
- api.bind('finish', removeVideoPosition);
2599
-
2600
- // seek into the last saved position, it also hooks the progress event
2601
- if( flowplayer.support.fvmobile ) {
2602
- api.one( 'progress', seekIntoPosition);
2603
- } else {
2604
- api.bind( 'ready', seekIntoPosition);
2605
- }
2606
-
2607
- // TODO: find out what event can be used to force saving of playlist video positions on video change
2608
- //api.bind('finish', forceSavePosition);
2609
- jQuery(window).on('beforeunload', function () {
2610
- flowplayer.conf.closingPage = true;
2611
- sendVideoPositions();
2612
- });
2613
-
2614
- // check whether local storage is enabled
2615
- if (localStorageEnabled !== null) {
2616
- return localStorageEnabled;
2617
- }
2618
-
2619
- localStorageEnabled = true;
2620
- try {
2621
- localStorage.setItem('t', 't');
2622
- if (localStorage.getItem('t') !== 't') {
2623
- localStorageEnabled = false;
2624
- }
2625
- localStorage.removeItem('t');
2626
- } catch (e) {
2627
- localStorageEnabled = false;
2628
- }
2629
-
2630
- });
2631
-
2632
-
2633
- // HSL engine on iOS and on Safari doesn't report error for HTTP 403. If there is no progress event for 5 second and it's not loading or anything, we can assume that the HLS segment has failed to load
2634
- flowplayer( function(api,root) {
2635
- if( !flowplayer.support.browser.safari && !flowplayer.support.iOS && !flowplayer.support.android ) return;
2636
-
2637
- root = jQuery(root);
2638
-
2639
- var no_progress = false,
2640
- time_start = 0,
2641
- time_delay = 0;
2642
-
2643
- api.on('load', function(e,api,video) {
2644
- time_start = new Date().getTime();
2645
- });
2646
-
2647
- api.on('ready', function() {
2648
- if( api.video.is_fv_recoverable && api.engine.engineName == 'html5' && ( api.video.type == 'application/x-mpegurl' || api.video.type == 'video/fv-mp4' ) ) {
2649
-
2650
- time_delay = new Date().getTime() - time_start;
2651
-
2652
- console.log('HLS stream took '+time_delay+' ms to s