WordPress Page Builder – Beaver Builder - Version 1.6.1.1

Version Description

Download this release

Release Info

Developer justinbusa
Plugin Icon 128x128 WordPress Page Builder – Beaver Builder
Version 1.6.1.1
Comparing to
See all releases

Code changes from version 1.6.0.1 to 1.6.1.1

changelog.txt CHANGED
@@ -1,3 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <h4>1.6.0.1 - 06/28/2015</h4>
2
  <p><strong>Enhancements</strong></p>
3
  <ul>
1
+ <h4>1.6.1.1 - 08/11/2015</h4>
2
+ <p><strong>Enhancements</strong></p>
3
+ <ul>
4
+ <li>Tested WordPress 4.3 compatibility.</li>
5
+ <li>Updated translation files.</li>
6
+ <li>The CSS class fl-scroll-link can now be added to links to have them scroll to an element on the page.</li>
7
+ </ul>
8
+ <p><strong>Bug Fixes</strong></p>
9
+ <ul>
10
+ <li>Fixed a bug with toggling settings tabs in the Posts module.</li>
11
+ <li>Fixed a bug with images in the Posts module gallery layout getting stretched on mobile.</li>
12
+ </ul>
13
+
14
+ <h4>1.6.1 - 08/03/2015</h4>
15
+ <p><strong>Enhancements</strong></p>
16
+ <ul>
17
+ <li>Added the Posts Carousel module.</li>
18
+ <li>Added the Posts Slider module.</li>
19
+ <li>Added style options to the Posts module gallery layout.</li>
20
+ <li>The builder is now compatible with scheduled posts.</li>
21
+ <li>The fullscreen slideshow button now shows at smaller sizes.</li>
22
+ </ul>
23
+ <p><strong>Bug Fixes</strong></p>
24
+ <ul>
25
+ <li>Fixed a bug with row margins not working when a slideshow or video background is present.</li>
26
+ </ul>
27
+
28
+ <h4>1.6.0.3 - 07/21/2015</h4>
29
+ <p><strong>Bug Fixes</strong></p>
30
+ <ul>
31
+ <li>Fixed a bug with the fl_builder_global_posts filter not returning all posts.</li>
32
+ <li>Fixed a bug with all checkboxes being checked in some widgets when saving.</li>
33
+ <li>Fixed a bug with floating content breaking out of tabs.</li>
34
+ <li>Fixed a bug with autosuggest fields breaking when posts have special characters in the title.</li>
35
+ </ul>
36
+
37
+ <h4>1.6.0.2 - 07/08/2015</h4>
38
+ <p><strong>Enhancements</strong></p>
39
+ <ul>
40
+ <li>Added support for comma separated selectors in CSS preview fields.</li>
41
+ <li>Added support for an array of rules in CSS preview fields.</li>
42
+ </ul>
43
+ <p><strong>Bug Fixes</strong></p>
44
+ <ul>
45
+ <li>Added exclude_from_search for the templates post type so templates don't so in searches.</li>
46
+ <li>Fixed a bug with nested modules such as buttons causing errors when they are disabled using fl_builder_register_module.</li>
47
+ <li>Fixed a bug with slideshow and gallery templates.</li>
48
+ <li>Fixed a bug with the Posts module that made it so two on the same page couldn't have different post widths.</li>
49
+ <li>Fixed a bug that prevented two accordions on the same page from having open sections at the same time.</li>
50
+ <li>Fixed a bug causing the Facebook comments popup in the Social Buttons module from showing.</li>
51
+ </ul>
52
+
53
  <h4>1.6.0.1 - 06/28/2015</h4>
54
  <p><strong>Enhancements</strong></p>
55
  <ul>
classes/class-fl-builder-auto-suggest.php CHANGED
@@ -91,7 +91,7 @@ final class FLBuilderAutoSuggest {
91
  {
92
  global $wpdb;
93
 
94
- $like = urldecode( $_REQUEST['fl_as_query'] );
95
 
96
  if ( method_exists( $wpdb, 'esc_like' ) ) {
97
  $like = esc_sql( $wpdb->esc_like( $like ) );
@@ -149,7 +149,7 @@ final class FLBuilderAutoSuggest {
149
  $posts = $wpdb->get_results("SELECT ID, post_title FROM {$wpdb->posts} WHERE ID IN ({$ids})");
150
 
151
  foreach($posts as $post) {
152
- $data[] = array('name' => $post->post_title, 'value' => $post->ID);
153
  }
154
  }
155
 
@@ -198,7 +198,7 @@ final class FLBuilderAutoSuggest {
198
  ));
199
 
200
  foreach($cats as $cat) {
201
- $data[] = array('name' => $cat->name, 'value' => $cat->term_id);
202
  }
203
  }
204
 
91
  {
92
  global $wpdb;
93
 
94
+ $like = stripslashes( urldecode( $_REQUEST['fl_as_query'] ) );
95
 
96
  if ( method_exists( $wpdb, 'esc_like' ) ) {
97
  $like = esc_sql( $wpdb->esc_like( $like ) );
149
  $posts = $wpdb->get_results("SELECT ID, post_title FROM {$wpdb->posts} WHERE ID IN ({$ids})");
150
 
151
  foreach($posts as $post) {
152
+ $data[] = array('name' => esc_attr( $post->post_title ), 'value' => $post->ID);
153
  }
154
  }
155
 
198
  ));
199
 
200
  foreach($cats as $cat) {
201
+ $data[] = array('name' => esc_attr( $cat->name ), 'value' => $cat->term_id);
202
  }
203
  }
204
 
classes/class-fl-builder-loop.php CHANGED
@@ -23,6 +23,7 @@ final class FLBuilderLoop {
23
  $order = empty($settings->order) ? 'DESC' : $settings->order;
24
  $users = empty($settings->users) ? '' : $settings->users;
25
  $paged = is_front_page() ? get_query_var('page') : get_query_var('paged');
 
26
 
27
  // Get the offset.
28
  if ( ! isset( $settings->offset ) || ! is_int( ( int )$settings->offset ) ) {
@@ -52,7 +53,8 @@ final class FLBuilderLoop {
52
  'ignore_sticky_posts' => true,
53
  'offset' => $paged_offset,
54
  'fl_original_offset' => $offset,
55
- 'fl_builder_loop' => true
 
56
  );
57
 
58
  // Build the taxonomy query.
23
  $order = empty($settings->order) ? 'DESC' : $settings->order;
24
  $users = empty($settings->users) ? '' : $settings->users;
25
  $paged = is_front_page() ? get_query_var('page') : get_query_var('paged');
26
+ $fields = empty($settings->fields) ? '' : $settings->fields;
27
 
28
  // Get the offset.
29
  if ( ! isset( $settings->offset ) || ! is_int( ( int )$settings->offset ) ) {
53
  'ignore_sticky_posts' => true,
54
  'offset' => $paged_offset,
55
  'fl_original_offset' => $offset,
56
+ 'fl_builder_loop' => true,
57
+ 'fields' => $fields
58
  );
59
 
60
  // Build the taxonomy query.
classes/class-fl-builder-model.php CHANGED
@@ -1617,19 +1617,15 @@ final class FLBuilderModel {
1617
  return;
1618
  }
1619
 
1620
- // See if the module is enabled or not.
1621
- $enabled = apply_filters( 'fl_builder_register_module', $instance->enabled, $instance );
1622
-
1623
- // Only register modules that are enabled.
1624
- if( $enabled ) {
1625
-
1626
- // Save the instance in the modules array.
1627
- self::$modules[$instance->slug] = $instance;
1628
 
1629
- // Add the form to the instance.
1630
- self::$modules[$instance->slug]->form = $form;
1631
- self::$modules[$instance->slug]->form['advanced'] = self::$settings_forms['module_advanced'];
1632
- }
1633
  }
1634
  }
1635
 
@@ -1643,9 +1639,17 @@ final class FLBuilderModel {
1643
  {
1644
  $default = array_keys( self::$modules );
1645
  $default[] = 'all';
1646
- $value = self::get_admin_settings_option( '_fl_builder_enabled_modules', true );
 
 
 
 
 
 
 
 
1647
 
1648
- return ( ! $value || in_array( 'all', $value ) ) ? $default : $value;
1649
  }
1650
 
1651
  /**
@@ -1675,7 +1679,10 @@ final class FLBuilderModel {
1675
  // Build the categories array.
1676
  foreach(self::$modules as $module) {
1677
 
1678
- if(!in_array($module->slug, $enabled_modules) && !$show_disabled) {
 
 
 
1679
  continue;
1680
  }
1681
  else if($module->slug == 'widget') {
@@ -2583,9 +2590,10 @@ final class FLBuilderModel {
2583
  * Saves layout data when a user chooses to publish.
2584
  *
2585
  * @since 1.0
 
2586
  * @return void
2587
  */
2588
- static public function save_layout()
2589
  {
2590
  $editor_content = FLBuilder::render_editor_content();
2591
  $post_id = self::get_post_id();
@@ -2605,8 +2613,12 @@ final class FLBuilderModel {
2605
 
2606
  // Get the post status.
2607
  $post_status = get_post_status($post_id);
2608
- $post_status = strstr($post_status, 'draft') ? 'publish' : $post_status;
2609
-
 
 
 
 
2610
  // Update the post with stripped down content.
2611
  wp_update_post(array(
2612
  'ID' => self::get_post_id(),
@@ -2615,6 +2627,26 @@ final class FLBuilderModel {
2615
  ));
2616
  }
2617
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2618
  /**
2619
  * Duplicates a layout for WPML when the copy from original
2620
  * button has been clicked.
1617
  return;
1618
  }
1619
 
1620
+ // Filter the enabled flag.
1621
+ $instance->enabled = apply_filters( 'fl_builder_register_module', $instance->enabled, $instance );
1622
+
1623
+ // Save the instance in the modules array.
1624
+ self::$modules[$instance->slug] = $instance;
 
 
 
1625
 
1626
+ // Add the form to the instance.
1627
+ self::$modules[$instance->slug]->form = $form;
1628
+ self::$modules[$instance->slug]->form['advanced'] = self::$settings_forms['module_advanced'];
 
1629
  }
1630
  }
1631
 
1639
  {
1640
  $default = array_keys( self::$modules );
1641
  $default[] = 'all';
1642
+ $setting = self::get_admin_settings_option( '_fl_builder_enabled_modules', true );
1643
+ $setting = ( ! $setting || in_array( 'all', $setting ) ) ? $default : $setting;
1644
+
1645
+ foreach ( self::$modules as $module_slug => $module ) {
1646
+ if ( ! $module->enabled && in_array( $module_slug, $setting ) ) {
1647
+ $key = array_search( $module_slug, $setting );
1648
+ unset( $setting[ $key ] );
1649
+ }
1650
+ }
1651
 
1652
+ return $setting;
1653
  }
1654
 
1655
  /**
1679
  // Build the categories array.
1680
  foreach(self::$modules as $module) {
1681
 
1682
+ if ( ! $module->enabled ) {
1683
+ continue;
1684
+ }
1685
+ else if(!in_array($module->slug, $enabled_modules) && !$show_disabled) {
1686
  continue;
1687
  }
1688
  else if($module->slug == 'widget') {
2590
  * Saves layout data when a user chooses to publish.
2591
  *
2592
  * @since 1.0
2593
+ * @param bool $publish Whether to publish the parent post or not.
2594
  * @return void
2595
  */
2596
+ static public function save_layout( $publish = true )
2597
  {
2598
  $editor_content = FLBuilder::render_editor_content();
2599
  $post_id = self::get_post_id();
2613
 
2614
  // Get the post status.
2615
  $post_status = get_post_status($post_id);
2616
+
2617
+ // Publish the post?
2618
+ if ( $publish ) {
2619
+ $post_status = strstr($post_status, 'draft') ? 'publish' : $post_status;
2620
+ }
2621
+
2622
  // Update the post with stripped down content.
2623
  wp_update_post(array(
2624
  'ID' => self::get_post_id(),
2627
  ));
2628
  }
2629
 
2630
+ /**
2631
+ * Publishes the current builder layout only if the parent post
2632
+ * is still a draft. The layout will be published but the parent
2633
+ * post will remain a draft so the post can be scheduled and the
2634
+ * layout can be viewed while the builder is not active. If the
2635
+ * parent post is already published, nothing happens.
2636
+ *
2637
+ * @since 1.6.1
2638
+ * @return void
2639
+ */
2640
+ static public function save_draft()
2641
+ {
2642
+ $post_id = self::get_post_id();
2643
+ $post_status = get_post_status( $post_id );
2644
+
2645
+ if ( strstr( $post_status, 'draft' ) ) {
2646
+ self::save_layout( false );
2647
+ }
2648
+ }
2649
+
2650
  /**
2651
  * Duplicates a layout for WPML when the copy from original
2652
  * button has been clicked.
classes/class-fl-builder.php CHANGED
@@ -321,7 +321,11 @@ final class FLBuilder {
321
 
322
  if(count($post_ids) > 0) {
323
 
324
- $posts = get_posts(array('post__in' => $post_ids, 'post_type' => 'any'));
 
 
 
 
325
 
326
  foreach($posts as $post) {
327
  self::enqueue_layout_styles_scripts($post->ID);
@@ -935,7 +939,8 @@ final class FLBuilder {
935
  'taxonomies' => array(
936
  'fl-builder-template-category'
937
  ),
938
- 'publicly_queryable' => true
 
939
  ) );
940
 
941
  // Register the template taxonomy.
@@ -1578,13 +1583,6 @@ final class FLBuilder {
1578
 
1579
  // Instance row padding
1580
  $css .= self::render_row_padding($row);
1581
-
1582
- // Instance row bg positions
1583
- $css .= self::render_row_bg_positions($row);
1584
-
1585
- if ( ! isset( $global_settings->auto_spacing ) || $global_settings->auto_spacing ) {
1586
- $css .= self::render_responsive_row_bg_positions($row);
1587
- }
1588
  }
1589
 
1590
  // Column instances
@@ -1727,108 +1725,6 @@ final class FLBuilder {
1727
  return $css;
1728
  }
1729
 
1730
- /**
1731
- * Renders the CSS positions for a row's backgrounds.
1732
- *
1733
- * @since 1.0
1734
- * @param object $row A row node object.
1735
- * @return string The row CSS positions string.
1736
- */
1737
- static public function render_row_bg_positions($row)
1738
- {
1739
- $settings = $row->settings;
1740
- $positions = '';
1741
- $css = '';
1742
- $top = 0;
1743
- $bottom = 0;
1744
- $left = 0;
1745
- $right = 0;
1746
-
1747
- // Margins
1748
- if($settings->margin_top != '') {
1749
- $top += (int)$settings->margin_top;
1750
- }
1751
- if($settings->margin_bottom != '') {
1752
- $bottom += (int)$settings->margin_bottom;
1753
- }
1754
- if($settings->margin_left != '') {
1755
- $left += (int)$settings->margin_left;
1756
- }
1757
- if($settings->margin_right != '') {
1758
- $right += (int)$settings->margin_right;
1759
- }
1760
-
1761
- // Borders
1762
- if($settings->border_type != '') {
1763
-
1764
- if($settings->border_top != '') {
1765
- $top += (int)$settings->border_top;
1766
- }
1767
- if($settings->border_bottom != '') {
1768
- $bottom += (int)$settings->border_bottom;
1769
- }
1770
- if($settings->border_left != '') {
1771
- $left += (int)$settings->border_left;
1772
- }
1773
- if($settings->border_right != '') {
1774
- $right += (int)$settings->border_right;
1775
- }
1776
- }
1777
-
1778
- // CSS
1779
- if($top > 0) {
1780
- $positions .= 'top:' . $top . 'px;';
1781
- }
1782
- if($bottom > 0) {
1783
- $positions .= 'bottom:' . $bottom . 'px;';
1784
- }
1785
- if($left > 0) {
1786
- $positions .= 'left:' . $left . 'px;';
1787
- }
1788
- if($right > 0) {
1789
- $positions .= 'right:' . $right . 'px;';
1790
- }
1791
- if($positions != '') {
1792
- $css .= '.fl-node-' . $row->node . ' .fl-bg-video {' . $positions . '}';
1793
- $css .= '.fl-node-' . $row->node . ' .fl-bg-slideshow {' . $positions . '}';
1794
- }
1795
-
1796
- return $css;
1797
- }
1798
-
1799
- /**
1800
- * Renders the responsive CSS positions for a row's backgrounds.
1801
- *
1802
- * @since 1.0
1803
- * @param object $row A row node object.
1804
- * @return string The row CSS positions string.
1805
- */
1806
- static public function render_responsive_row_bg_positions($row)
1807
- {
1808
- $global_settings = FLBuilderModel::get_global_settings();
1809
- $settings = $row->settings;
1810
- $positions = '';
1811
- $css = '';
1812
-
1813
- if ($settings->border_type != '') {
1814
-
1815
- if($settings->border_top != '') {
1816
- $positions .= 'top:' . $settings->border_top . 'px;';
1817
- }
1818
- if($settings->border_bottom != '') {
1819
- $positions .= 'bottom:' . $settings->border_bottom . 'px;';
1820
- }
1821
- if($positions != '') {
1822
- $css .= '@media (max-width: '. $global_settings->responsive_breakpoint .'px) { ';
1823
- $css .= '.fl-node-' . $row->node . ' .fl-bg-video {' . $positions . '}';
1824
- $css .= '.fl-node-' . $row->node . ' .fl-bg-slideshow {' . $positions . '}';
1825
- $css .= ' }';
1826
- }
1827
- }
1828
-
1829
- return $css;
1830
- }
1831
-
1832
  /**
1833
  * Renders the CSS margins for a column.
1834
  *
321
 
322
  if(count($post_ids) > 0) {
323
 
324
+ $posts = get_posts(array(
325
+ 'post__in' => $post_ids,
326
+ 'post_type' => 'any',
327
+ 'posts_per_page' => -1
328
+ ));
329
 
330
  foreach($posts as $post) {
331
  self::enqueue_layout_styles_scripts($post->ID);
939
  'taxonomies' => array(
940
  'fl-builder-template-category'
941
  ),
942
+ 'publicly_queryable' => true,
943
+ 'exclude_from_search' => true
944
  ) );
945
 
946
  // Register the template taxonomy.
1583
 
1584
  // Instance row padding
1585
  $css .= self::render_row_padding($row);
 
 
 
 
 
 
 
1586
  }
1587
 
1588
  // Column instances
1725
  return $css;
1726
  }
1727
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1728
  /**
1729
  * Renders the CSS margins for a column.
1730
  *
css/fl-builder-layout.css CHANGED
@@ -75,6 +75,9 @@
75
  margin-left: auto;
76
  margin-right: auto;
77
  }
 
 
 
78
 
79
  /* Photo Bg */
80
  .fl-builder-touch .fl-row-bg-photo .fl-row-content-wrap {
@@ -136,9 +139,6 @@
136
  }
137
 
138
  /* Row Bg Overlay */
139
- .fl-row-bg-overlay .fl-row-content-wrap {
140
- position: relative;
141
- }
142
  .fl-row-bg-overlay .fl-row-content-wrap:after {
143
  content: '';
144
  display: block;
75
  margin-left: auto;
76
  margin-right: auto;
77
  }
78
+ .fl-row-content-wrap {
79
+ position: relative;
80
+ }
81
 
82
  /* Photo Bg */
83
  .fl-builder-touch .fl-row-bg-photo .fl-row-content-wrap {
139
  }
140
 
141
  /* Row Bg Overlay */
 
 
 
142
  .fl-row-bg-overlay .fl-row-content-wrap:after {
143
  content: '';
144
  display: block;
fl-builder.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Beaver Builder Plugin (Lite Version)
4
  * Plugin URI: https://www.wpbeaverbuilder.com/?utm_source=external&utm_medium=builder&utm_campaign=plugins-page
5
  * Description: A drag and drop frontend WordPress page builder plugin that works with almost any theme!
6
- * Version: 1.6.0.1
7
  * Author: The Beaver Builder Team
8
  * Author URI: https://www.wpbeaverbuilder.com/?utm_source=external&utm_medium=builder&utm_campaign=plugins-page
9
  * Copyright: (c) 2014 Beaver Builder
@@ -11,7 +11,7 @@
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  * Text Domain: fl-builder
13
  */
14
- define('FL_BUILDER_VERSION', '1.6.0.1');
15
  define('FL_BUILDER_DIR', plugin_dir_path(__FILE__));
16
  define('FL_BUILDER_URL', plugins_url('/', __FILE__));
17
  define('FL_BUILDER_LITE', true);
3
  * Plugin Name: Beaver Builder Plugin (Lite Version)
4
  * Plugin URI: https://www.wpbeaverbuilder.com/?utm_source=external&utm_medium=builder&utm_campaign=plugins-page
5
  * Description: A drag and drop frontend WordPress page builder plugin that works with almost any theme!
6
+ * Version: 1.6.1.1
7
  * Author: The Beaver Builder Team
8
  * Author URI: https://www.wpbeaverbuilder.com/?utm_source=external&utm_medium=builder&utm_campaign=plugins-page
9
  * Copyright: (c) 2014 Beaver Builder
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  * Text Domain: fl-builder
13
  */
14
+ define('FL_BUILDER_VERSION', '1.6.1.1');
15
  define('FL_BUILDER_DIR', plugin_dir_path(__FILE__));
16
  define('FL_BUILDER_URL', plugins_url('/', __FILE__));
17
  define('FL_BUILDER_LITE', true);
img/svg/arrow-left.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512">
2
+ <path d="M398.572,104.287L246.857,256.001l151.715,151.714c3.617,3.618,5.428,7.904,5.428,12.856c0,4.953-1.811,9.238-5.428,12.857 l-47.428,47.428c-3.619,3.619-7.904,5.428-12.857,5.428s-9.238-1.809-12.857-5.428l-212-212c-3.619-3.618-5.428-7.904-5.428-12.856 c0-4.953,1.81-9.238,5.428-12.857l212-212c3.619-3.618,7.904-5.428,12.857-5.428s9.238,1.81,12.857,5.428l47.428,47.429 C402.189,82.19,404,86.476,404,91.428c0,4.953-1.811,9.238-5.428,12.857V104.287z"/>
3
+ </svg>
img/svg/arrow-right.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512">
2
+ <path d="M113.428,407.713l151.715-151.714L113.428,104.285c-3.617-3.618-5.428-7.904-5.428-12.856c0-4.953,1.811-9.238,5.428-12.857 l47.428-47.428c3.619-3.619,7.904-5.428,12.857-5.428s9.238,1.809,12.857,5.428l212,212c3.619,3.618,5.429,7.904,5.429,12.856 c0,4.953-1.81,9.238-5.429,12.857l-212,212c-3.619,3.618-7.904,5.428-12.857,5.428s-9.238-1.81-12.857-5.428l-47.428-47.429 c-3.617-3.618-5.428-7.904-5.428-12.856c0-4.953,1.811-9.238,5.428-12.857V407.713z"/>
3
+ </svg>
img/svg/pause.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="512" height="512" viewBox="0 0 512 512" class="pause">
2
+ <path fill="#000000" d="M438.857 54.857v402.286q0 7.428-5.428 12.857t-12.857 5.428h-146.286q-7.428 0-12.857-5.428t-5.428-12.857v-402.286q0-7.428 5.428-12.857t12.857-5.428h146.286q7.428 0 12.857 5.428t5.428 12.857zM182.857 54.857v402.286q0 7.428-5.429 12.857t-12.857 5.428h-146.286q-7.428 0-12.857-5.428t-5.428-12.857v-402.286q0-7.428 5.428-12.857t12.857-5.428h146.286q7.429 0 12.857 5.428t5.428 12.857z"></path>
3
+ </svg>
img/svg/play.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="403" height="512" viewBox="0 0 403 512" class="play">
2
+ <path d="M395.428 264.857l-379.428 210.857q-6.572 3.714-11.286 0.857t-4.715-10.286v-420.572q0-7.428 4.715-10.285t11.286 0.857l379.428 210.857q6.572 3.714 6.572 8.857t-6.572 8.857z"></path>
3
+ </svg>
includes/updater-config.php CHANGED
@@ -3,7 +3,7 @@
3
  if(class_exists('FLUpdater')) {
4
  FLUpdater::add_product(array(
5
  'name' => 'Beaver Builder Plugin (Lite Version)',
6
- 'version' => '1.6.0.1',
7
  'slug' => 'bb-plugin',
8
  'type' => 'plugin'
9
  ));
3
  if(class_exists('FLUpdater')) {
4
  FLUpdater::add_product(array(
5
  'name' => 'Beaver Builder Plugin (Lite Version)',
6
+ 'version' => '1.6.1.1',
7
  'slug' => 'bb-plugin',
8
  'type' => 'plugin'
9
  ));
includes/updater/includes/form.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  <?php if(!$status) : ?>
4
  <p style="padding:10px 20px; background: #d54e21; color: #fff;">
5
- <?php _e('UPDATES UNAVAILABLE! Please subscribe or enter your licence key below to enable automatic updates.', 'fl-builder'); ?>
6
  &nbsp;<a style="color: #fff;" href="<?php echo FLBuilderModel::get_upgrade_url( array( 'utm_source' => 'external', 'utm_medium' => 'builder', 'utm_campaign' => 'settings-page' ) ); ?>" target="_blank"><?php _e('Subscribe Now', 'fl-builder'); ?> &raquo;</a>
7
  </p>
8
  <?php endif; ?>
@@ -24,7 +24,7 @@
24
  <?php endif; ?>
25
 
26
  <p>
27
- <?php echo sprintf( __( 'Enter your <a%s>licence key</a> to enable remote updates and support.', 'fl-builder' ), ' href="https://www.wpbeaverbuilder.com/my-account/?utm_source=external&utm_medium=builder&utm_campaign=settings-page" target="_blank"' ) ?>
28
  </p>
29
  <?php if(is_multisite()) : ?>
30
  <p>
2
 
3
  <?php if(!$status) : ?>
4
  <p style="padding:10px 20px; background: #d54e21; color: #fff;">
5
+ <?php _e('UPDATES UNAVAILABLE! Please subscribe or enter your license key below to enable automatic updates.', 'fl-builder'); ?>
6
  &nbsp;<a style="color: #fff;" href="<?php echo FLBuilderModel::get_upgrade_url( array( 'utm_source' => 'external', 'utm_medium' => 'builder', 'utm_campaign' => 'settings-page' ) ); ?>" target="_blank"><?php _e('Subscribe Now', 'fl-builder'); ?> &raquo;</a>
7
  </p>
8
  <?php endif; ?>
24
  <?php endif; ?>
25
 
26
  <p>
27
+ <?php echo sprintf( __( 'Enter your <a%s>license key</a> to enable remote updates and support.', 'fl-builder' ), ' href="https://www.wpbeaverbuilder.com/my-account/?utm_source=external&utm_medium=builder&utm_campaign=settings-page" target="_blank"' ) ?>
28
  </p>
29
  <?php if(is_multisite()) : ?>
30
  <p>
js/fl-builder-layout.js CHANGED
@@ -376,7 +376,7 @@
376
  element = $( '#' + id );
377
 
378
  if ( element.length > 0 ) {
379
- if ( element.hasClass( 'fl-row' ) || element.hasClass( 'fl-col' ) || element.hasClass( 'fl-module' ) ) {
380
  $( link ).on( 'click', FLBuilderLayout._scrollToElementOnLinkClick );
381
  }
382
  if ( element.hasClass( 'fl-accordion-item' ) ) {
376
  element = $( '#' + id );
377
 
378
  if ( element.length > 0 ) {
379
+ if ( link.hasClass( 'fl-scroll-link' ) || element.hasClass( 'fl-row' ) || element.hasClass( 'fl-col' ) || element.hasClass( 'fl-module' ) ) {
380
  $( link ).on( 'click', FLBuilderLayout._scrollToElementOnLinkClick );
381
  }
382
  if ( element.hasClass( 'fl-accordion-item' ) ) {
js/fl-builder-preview.js CHANGED
@@ -1650,28 +1650,49 @@
1650
  * Initializes CSS previews for a node.
1651
  *
1652
  * @since 1.3.3
 
1653
  * @access private
1654
  * @method _initFieldCSSPreview
1655
  * @param {Object} field A field object.
1656
  */
1657
- _initFieldCSSPreview: function(field)
1658
  {
1659
- var fieldType = field.data('type'),
1660
- preview = field.data('preview'),
1661
- callback = $.proxy(this._previewCSS, this, preview);
1662
-
1663
- switch(fieldType) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1664
 
1665
  case 'text':
1666
- field.find('input[type=text]').on('keyup', callback);
1667
  break;
1668
 
1669
  case 'select':
1670
- field.find('select').on('change', callback);
1671
  break;
1672
 
1673
  case 'color':
1674
- field.find('.fl-color-picker-value').on('change', $.proxy(this._previewColor, this, preview));
1675
  break;
1676
  }
1677
  },
@@ -1687,7 +1708,7 @@
1687
  */
1688
  _previewCSS: function(preview, e)
1689
  {
1690
- var selector = this.classes.node + ' ' + preview.selector,
1691
  property = preview.property,
1692
  unit = typeof preview.unit == 'undefined' ? '' : preview.unit,
1693
  value = $(e.target).val();
@@ -1713,7 +1734,7 @@
1713
  */
1714
  _previewColor: function(preview, e)
1715
  {
1716
- var selector = this.classes.node + ' ' + preview.selector,
1717
  val = $(e.target).val(),
1718
  color = val == '' ? 'inherit' : '#' + val;
1719
 
@@ -1736,6 +1757,33 @@
1736
  field.find('input[type=checkbox]').on('click', callback);
1737
  field.find('textarea').on('keyup', callback);
1738
  field.find('select').on('change', callback);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1739
  }
1740
  };
1741
 
1650
  * Initializes CSS previews for a node.
1651
  *
1652
  * @since 1.3.3
1653
+ * @since 1.6.1 Reworked to accept a preview.rules array.
1654
  * @access private
1655
  * @method _initFieldCSSPreview
1656
  * @param {Object} field A field object.
1657
  */
1658
+ _initFieldCSSPreview: function( field )
1659
  {
1660
+ var preview = field.data( 'preview' ),
1661
+ i = null;
1662
+
1663
+ if ( 'undefined' != typeof preview.rules ) {
1664
+ for ( i in preview.rules ) {
1665
+ this._initFieldCSSPreviewCallback( field, preview.rules[ i ] );
1666
+ }
1667
+ }
1668
+ else {
1669
+ this._initFieldCSSPreviewCallback( field, preview );
1670
+ }
1671
+ },
1672
+
1673
+ /**
1674
+ * Initializes CSS preview callbacks for a field.
1675
+ *
1676
+ * @since 1.6.1
1677
+ * @access private
1678
+ * @method _initFieldCSSPreviewCallback
1679
+ * @param {Object} field A field object.
1680
+ * @param {Object} preview The preview data object.
1681
+ */
1682
+ _initFieldCSSPreviewCallback: function( field, preview )
1683
+ {
1684
+ switch( field.data( 'type' ) ) {
1685
 
1686
  case 'text':
1687
+ field.find( 'input[type=text]' ).on( 'keyup', $.proxy( this._previewCSS, this, preview ) );
1688
  break;
1689
 
1690
  case 'select':
1691
+ field.find( 'select' ).on( 'change', $.proxy( this._previewCSS, this, preview ) );
1692
  break;
1693
 
1694
  case 'color':
1695
+ field.find( '.fl-color-picker-value' ).on( 'change', $.proxy( this._previewColor, this, preview ) );
1696
  break;
1697
  }
1698
  },
1708
  */
1709
  _previewCSS: function(preview, e)
1710
  {
1711
+ var selector = this._getPreviewSelector( this.classes.node, preview.selector ),
1712
  property = preview.property,
1713
  unit = typeof preview.unit == 'undefined' ? '' : preview.unit,
1714
  value = $(e.target).val();
1734
  */
1735
  _previewColor: function(preview, e)
1736
  {
1737
+ var selector = this._getPreviewSelector( this.classes.node, preview.selector ),
1738
  val = $(e.target).val(),
1739
  color = val == '' ? 'inherit' : '#' + val;
1740
 
1757
  field.find('input[type=checkbox]').on('click', callback);
1758
  field.find('textarea').on('keyup', callback);
1759
  field.find('select').on('change', callback);
1760
+ },
1761
+
1762
+ /**
1763
+ * Returns a formatted selector string for a preview.
1764
+ *
1765
+ * @since 1.6.1
1766
+ * @access private
1767
+ * @method _getPreviewSelector
1768
+ * @param {String} selector A CSS selector string.
1769
+ * @return {String}
1770
+ */
1771
+ _getPreviewSelector: function( prefix, selector )
1772
+ {
1773
+ var formatted = '',
1774
+ parts = selector.split( ',' ),
1775
+ i = 0;
1776
+
1777
+ for ( ; i < parts.length; i++ ) {
1778
+
1779
+ formatted += prefix + ' ' + parts[ i ];
1780
+
1781
+ if ( i != parts.length - 1 ) {
1782
+ formatted += ', ';
1783
+ }
1784
+ }
1785
+
1786
+ return formatted;
1787
  }
1788
  };
1789
 
js/fl-builder.js CHANGED
@@ -936,8 +936,14 @@
936
  _draftButtonClicked: function()
937
  {
938
  FLBuilder.showAjaxLoader();
 
 
 
 
 
 
 
939
  FLBuilder._actionsLightbox.close();
940
- FLBuilder._exit();
941
  },
942
 
943
  /**
@@ -3354,20 +3360,6 @@
3354
  key = '',
3355
  matches = [],
3356
  settings = {};
3357
-
3358
- // Add unchecked checkboxes to the form data.
3359
- for ( ; i < checkboxes.length; i++ ) {
3360
-
3361
- name = checkboxes.eq( i ).attr( 'name' );
3362
-
3363
- if ( 'undefined' != name ) {
3364
-
3365
- data.push( {
3366
- name : name,
3367
- value : ''
3368
- } );
3369
- }
3370
- }
3371
 
3372
  // Loop through the form data.
3373
  for ( i = 0; i < data.length; i++ ) {
@@ -3784,13 +3776,13 @@
3784
  for(i in toggle) {
3785
  FLBuilder._settingsSelectToggle(toggle[i].fields, 'hide', '#fl-field-');
3786
  FLBuilder._settingsSelectToggle(toggle[i].sections, 'hide', '#fl-builder-settings-section-');
3787
- FLBuilder._settingsSelectToggle(toggle[i].tabs, 'hide', 'a[href*=fl-builder-settings-tab-');
3788
  }
3789
 
3790
  if(typeof toggle[val] !== 'undefined') {
3791
  FLBuilder._settingsSelectToggle(toggle[val].fields, 'show', '#fl-field-');
3792
  FLBuilder._settingsSelectToggle(toggle[val].sections, 'show', '#fl-builder-settings-section-');
3793
- FLBuilder._settingsSelectToggle(toggle[val].tabs, 'show', 'a[href*=fl-builder-settings-tab-');
3794
  }
3795
  }
3796
 
@@ -3802,7 +3794,7 @@
3802
  if(typeof hide[val] !== 'undefined') {
3803
  FLBuilder._settingsSelectToggle(hide[val].fields, 'hide', '#fl-field-');
3804
  FLBuilder._settingsSelectToggle(hide[val].sections, 'hide', '#fl-builder-settings-section-');
3805
- FLBuilder._settingsSelectToggle(hide[val].tabs, 'hide', 'a[href*=fl-builder-settings-tab-');
3806
  }
3807
  }
3808
 
@@ -3828,14 +3820,16 @@
3828
  * @param {Array} inputArray
3829
  * @param {Function} func
3830
  * @param {String} prefix
 
3831
  */
3832
- _settingsSelectToggle: function(inputArray, func, prefix)
3833
  {
3834
- var i = 0;
 
3835
 
3836
  if(typeof inputArray !== 'undefined') {
3837
  for( ; i < inputArray.length; i++) {
3838
- $(prefix + inputArray[i])[func]();
3839
  }
3840
  }
3841
  },
936
  _draftButtonClicked: function()
937
  {
938
  FLBuilder.showAjaxLoader();
939
+
940
+ FLBuilder.ajax({
941
+ action: 'fl_builder_save',
942
+ method: 'save_draft',
943
+ render_assets: 0
944
+ }, FLBuilder._exit);
945
+
946
  FLBuilder._actionsLightbox.close();
 
947
  },
948
 
949
  /**
3360
  key = '',
3361
  matches = [],
3362
  settings = {};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3363
 
3364
  // Loop through the form data.
3365
  for ( i = 0; i < data.length; i++ ) {
3776
  for(i in toggle) {
3777
  FLBuilder._settingsSelectToggle(toggle[i].fields, 'hide', '#fl-field-');
3778
  FLBuilder._settingsSelectToggle(toggle[i].sections, 'hide', '#fl-builder-settings-section-');
3779
+ FLBuilder._settingsSelectToggle(toggle[i].tabs, 'hide', 'a[href*=fl-builder-settings-tab-', ']');
3780
  }
3781
 
3782
  if(typeof toggle[val] !== 'undefined') {
3783
  FLBuilder._settingsSelectToggle(toggle[val].fields, 'show', '#fl-field-');
3784
  FLBuilder._settingsSelectToggle(toggle[val].sections, 'show', '#fl-builder-settings-section-');
3785
+ FLBuilder._settingsSelectToggle(toggle[val].tabs, 'show', 'a[href*=fl-builder-settings-tab-', ']');
3786
  }
3787
  }
3788
 
3794
  if(typeof hide[val] !== 'undefined') {
3795
  FLBuilder._settingsSelectToggle(hide[val].fields, 'hide', '#fl-field-');
3796
  FLBuilder._settingsSelectToggle(hide[val].sections, 'hide', '#fl-builder-settings-section-');
3797
+ FLBuilder._settingsSelectToggle(hide[val].tabs, 'hide', 'a[href*=fl-builder-settings-tab-', ']');
3798
  }
3799
  }
3800
 
3820
  * @param {Array} inputArray
3821
  * @param {Function} func
3822
  * @param {String} prefix
3823
+ * @param {String} suffix
3824
  */
3825
+ _settingsSelectToggle: function(inputArray, func, prefix, suffix)
3826
  {
3827
+ var i = 0,
3828
+ suffix = 'undefined' == typeof suffix ? '' : suffix;
3829
 
3830
  if(typeof inputArray !== 'undefined') {
3831
  for( ; i < inputArray.length; i++) {
3832
+ $(prefix + inputArray[i] + suffix)[func]();
3833
  }
3834
  }
3835
  },
js/fl-gallery-grid.js CHANGED
@@ -73,7 +73,13 @@
73
  items = wrap.find(this.itemSelector),
74
  itemWidth = wrapWidth/numCols,
75
  itemHeight = itemWidth * this.itemHeight;
 
 
 
 
 
76
 
 
77
  items.css({
78
  'float' : 'left',
79
  'height' : itemHeight + 'px',
73
  items = wrap.find(this.itemSelector),
74
  itemWidth = wrapWidth/numCols,
75
  itemHeight = itemWidth * this.itemHeight;
76
+
77
+ // Browser bug fix. One column images are streched otherwise.
78
+ if ( 1 === numCols ) {
79
+ itemWidth -= .5;
80
+ }
81
 
82
+ // Set the item width and height.
83
  items.css({
84
  'float' : 'left',
85
  'height' : itemHeight + 'px',
js/fl-slideshow.js CHANGED
@@ -1,3 +1,4 @@
 
1
  /**
2
  * Slideshow JS Bundle
3
  *
@@ -14,10 +15,10 @@ this._updateCaption();}if(this._buttons.social){this._buttons.social.on("click",
14
  }C.insert(B);},_closeButtonClick:function(){var B=this.get("host").get("boundingBox");B.transition(this._hideProps,A.bind(this._hideComplete,this));},_setFocusOnMouseenter:function(){this._focus=true;},_setFocusOnMouseleave:function(){this._focus=false;},disable:function(){this._disabled=true;},enable:function(){this._disabled=false;},show:function(){var C=this.get("host").get("boundingBox"),B=this.get("hideStyle");if(this._disabled){return;}if(B=="display"){C.setStyle("display","block");}else{if(B=="left"){C.setStyle("left","auto");}}C.transition(this._showProps,A.bind(this._showComplete,this));this.fire("showStart");},_showComplete:function(){this._visible=true;this.hideWithTimer();this.fire("showComplete");},hide:function(){if(this._focus||this._disabled){return;}var B=this.get("host").get("boundingBox");B.transition(this._hideProps,A.bind(this._hideComplete,this));this.fire("hideStart");},hideWithTimer:function(){this._hideTimerCancel();this._hideTimer=A.later(this.get("hideDelay"),this,this.hide);},_hideTimerCancel:function(){if(this._hideTimer){this._hideTimer.cancel();this._hideTimer=null;}},_hideComplete:function(){var C=this.get("host").get("boundingBox"),B=this.get("hideStyle");if(B=="display"){C.setStyle("display","none");}else{if(B=="left"){C.setStyle("left","-99999px");}}this._visible=false;this.fire("hideComplete");}},{NS:"slideshowOverlay",ATTRS:{closeButton:{value:false,writeOnce:true},hideDelay:{value:3000,writeOnce:true},hideStyle:{value:"display",writeOnce:true},visible:{value:true,writeOnce:true}}});A.namespace("FL").SlideshowSocial=A.Base.create("fl-slideshow-social",A.Widget,[A.WidgetChild],{_buttons:null,renderUI:function(){this._buttons={};if(this.get("root").get("googlePlusButtonEnabled")){this._renderGooglePlusButton();}},bindUI:function(){var B=this.get("root");if(B.get("likeButtonEnabled")){B.on("imageLoadComplete",A.bind(this._updateLikeButton,this));}if(B.get("tweetButtonEnabled")){B.on("imageLoadComplete",A.bind(this._updateTweetButton,this));}if(B.get("googlePlusButtonEnabled")){B.on("imageLoadComplete",A.bind(this._updateGooglePlusButton,this));}if(B.get("pinterestButtonEnabled")){B.on("imageLoadComplete",A.bind(this._updatePinterestButton,this));}},_updateLikeButton:function(){var G=null,C=this.get("contentBox"),E=this.get("root"),F=E.albumIndex,D=E.get("source")[F],B=E.imageInfo;if(this._buttons.like){this._buttons.like.remove();this._buttons.like=null;}if(D.type=="smugmug"){G="http://www.facebook.com/plugins/like.php?";G+="href="+"http://www.smugmug.com/services/graph/gallery/";G+=D.id+"_"+D.key+"/"+B.id+"_"+B.key;}else{G="http://www.facebook.com/plugins/like.php?";G+="href="+encodeURIComponent(B.largeURL);}G+="&send=false";G+="&layout=button_count";G+="&width=90";G+="&show_faces=false";G+="&action=like";G+="&colorscheme=light";G+="&height=21";this._buttons.like=A.Node.create('<iframe src="'+G+'" scrolling="no" frameborder="0" allowTransparency="true"></iframe>');this._buttons.like.setStyles({overflow:"hidden",width:"90px",height:"21px"});C.appendChild(this._buttons.like);},_updateTweetButton:function(){var D=null,C=this.get("root").imageInfo,B=this.get("contentBox");if(this._buttons.tweet){this._buttons.tweet.remove();this._buttons.tweet=null;}D="https://platform.twitter.com/widgets/tweet_button.html?";D+="url="+encodeURIComponent(C.largeURL);D+="&count=none";this._buttons.tweet=A.Node.create('<iframe src="'+D+'" scrolling="no" frameborder="0" allowTransparency="true"></iframe>');this._buttons.tweet.setStyles({overflow:"hidden",width:"90px",height:"21px"});B.appendChild(this._buttons.tweet);},_renderGooglePlusButton:function(){var B,C;B=document.createElement("script");B.type="text/javascript";B.src="https://apis.google.com/js/plusone.js";C=document.getElementsByTagName("head")[0];C.parentNode.appendChild(B);},_updateGooglePlusButton:function(){var C=this.get("root").imageInfo,B=this.get("contentBox"),D=typeof D=="undefined"?null:D;if(this._buttons.plus){this._buttons.plus.remove();this._buttons.plus=null;}if(D!==null){this._buttons.plus=A.Node.create("<div></div>");B.appendChild(this._buttons.plus);D.plusone.render(this._buttons.plus._node,{href:encodeURIComponent(C.largeURL),annotation:"bubble",size:"medium"});}},_updatePinterestButton:function(){var D="http://pinterest.com/pin/create/button/",C=this.get("root").imageInfo,B=this.get("contentBox");if(this._buttons.pin){this._buttons.pin.remove();this._buttons.pin=null;}D+="?url="+encodeURIComponent(window.location.href);D+="&media="+encodeURIComponent(C.mediumURL);D+="&description="+encodeURIComponent(C.caption);this._buttons.pin=A.Node.create("<a></a>");this._buttons.pin.setAttribute("data-pin-config","none");this._buttons.pin.setAttribute("data-pin-do","buttonPin");this._buttons.pin.setAttribute("href",D);this._buttons.pin.setAttribute("target","_blank");this._buttons.pin.set("innerHTML",'<img src="http://assets.pinterest.com/images/pidgets/pin_it_button.png" border="0" />');B.appendChild(this._buttons.pin);}},{CSS_PREFIX:"fl-slideshow-social",ATTRS:{}});A.namespace("FL").SlideshowThumbs=A.Base.create("fl-slideshow-thumbs",A.Widget,[A.WidgetParent,A.WidgetChild],{_clipBox:null,_pagesBox:null,_activePageBox:null,_activePageIndex:0,_nextPageBox:null,_activeImages:null,_nextImages:null,_prevImages:null,_leftNav:null,_rightNav:null,_topNav:null,_bottomNav:null,_bbHeight:0,_bbWidth:0,_cbWidth:0,_clipBoxMarginLeft:0,_clipBoxTop:0,_colsPerPage:0,_rowsPerPage:0,_imagesPerPage:0,_numPages:0,_pageHeight:0,_pageWidth:0,_horizontalSpacing:0,_verticalSpacing:0,_leftNavWidth:0,_rightNavWidth:0,_transition:null,_transitioning:false,_transitionDirection:"next",_gestures:null,initializer:function(){this._activeImages=[];this._nextImages=[];this._prevImages=[];},renderUI:function(){this._renderBoxes();this._renderNavs();},bindUI:function(){var B=this.get("root"),D=this.get("id"),C=this.get("transition");B.on(D+"|albumLoadComplete",this._albumLoadComplete,this);if("ontouchstart" in window&&this.get("touchSupport")){this._gestures=new A.FL.SlideshowGestures({direction:C=="slideVertical"?"vertical":"horizontal",activeItem:this._activePageBox,nextItem:this._nextPageBox});
15
  this._gestures.on("moveStart",this._gesturesMoveStart,this);this._gestures.on("endComplete",this._gesturesEndComplete,this);}},syncUI:function(){this._syncBoxes();this._syncNavs();},destructor:function(){var B=this.get("root"),C=this.get("id");B.detach(C+"|*");A.FL.SlideshowImageLoader.removeGroup("thumbs");},unload:function(){var B=this.get("root"),D=this.get("id"),C=0;B.detach(D+"|imageLoadComplete");A.FL.SlideshowImageLoader.removeGroup("thumbs");for(;C<this._activeImages.length;C++){this._activeImages[C].unload();}},resize:function(){this._setSizeInfo();this._togglePageButtons();this._resizeBoxes();this._resizeNavs();if(this.get("root").albumInfo){A.FL.SlideshowImageLoader.removeGroup("thumbs");this._renderActivePage();this._preloadNextPage();this._preloadPrevPage();}if(this._gestures&&this._numPages<2){this._gestures.disable();}else{if(this._gestures){this._gestures.enable();}}},prevPage:function(){if(this._transitioning){return;}this._transitionStart("prev");},nextPage:function(){if(this._transitioning){return;}this._transitionStart("next");},_albumLoadComplete:function(){var B=this.get("root"),C=this.get("id");B.once(C+"|imageLoadComplete",this.resize,this);B.on(C+"|imageLoadComplete",this._imageLoadComplete,this);},_imageLoadComplete:function(){var B=this.get("root").albumInfo,E=A.one(".fl-slideshow-image-active"),F=E?E._imageInfo:null,D=null,C=this.get("root").imageInfo;this._setActiveImage(this._activeImages);D=A.one(".fl-slideshow-image-active");if(E&&!D){if(C.index===0&&F.index===B.images.length-1){this.nextPage();}else{if(F.index===0&&C.index===B.images.length-1){this.prevPage();}else{if(F.index<C.index){this.nextPage();}else{if(F.index>C.index){this.prevPage();}}}}}},_renderBoxes:function(){this._clipBox=A.Node.create("<div></div>");this._clipBox.addClass("fl-slideshow-thumbs-clip");this.get("contentBox").insert(this._clipBox);this._pagesBox=A.Node.create("<div></div>");this._pagesBox.addClass("fl-slideshow-thumbs-pages");this._clipBox.insert(this._pagesBox);this._activePageBox=A.Node.create("<div></div>");this._activePageBox.addClass("fl-slideshow-thumbs-page");this._pagesBox.insert(this._activePageBox);this._nextPageBox=A.Node.create("<div></div>");this._nextPageBox.addClass("fl-slideshow-thumbs-page");this._pagesBox.insert(this._nextPageBox);},_syncBoxes:function(){this._activePageBox.setStyle("left","0");this._nextPageBox.setStyle("left","-9999px");},_resizeBoxes:function(){this.set("width",this._bbWidth);this.set("height",this._bbHeight);this.get("contentBox").setStyle("width",this._cbWidth+"px");this._clipBox.setStyle("width",this._pageWidth+"px");this._clipBox.setStyle("height",this._pageHeight+"px");this._clipBox.setStyle("padding",this._verticalSpacing+"px 0 0 "+this._horizontalSpacing+"px ");this._clipBox.setStyle("margin","0 0 0 "+this._clipBoxMarginLeft+"px");this._clipBox.setStyle("top",this._clipBoxTop);this._pagesBox.setStyle("width",this._pageWidth+"px");this._pagesBox.setStyle("height",this._pageHeight+"px");this._activePageBox.setStyle("width",this._pageWidth+"px");this._activePageBox.setStyle("height",this._pageHeight+"px");this._nextPageBox.setStyle("width",this._pageWidth+"px");this._nextPageBox.setStyle("height",this._pageHeight+"px");},_renderActivePage:function(){var E=0,D=this.get("root"),C=this._imagesPerPage*this._activePageIndex,F=C+this._imagesPerPage,B=D.albumInfo.images;this._clearActiveImage();for(;E<this._activeImages.length;E++){this._activeImages[E].remove();this._activeImages[E].unload();this._activeImages[E].get("boundingBox")._imageInfo=null;this._activeImages[E].get("boundingBox").remove();}for(E=0;C<F;C++){if(!B[C]){break;}this._renderImage(this._activeImages,E,this._activePageBox,B[C]);E++;}this._setActiveImage(this._activeImages);},_renderNextPage:function(){var B=0,C=this._transitionDirection=="next"?this._nextImages:this._prevImages;this._nextPageBox.get("children").remove();for(;B<C.length;B++){if(C[B]._imageInfo){this._renderImage(C,B,this._nextPageBox,C[B]._imageInfo);}else{break;}}this._setActiveImage(C);},_preloadNextPage:function(){var B=this._activePageIndex+1>=this._numPages?0:this._activePageIndex+1;this._preloadPage(B,this._nextImages);},_preloadPrevPage:function(){var B=this._activePageIndex-1<0?this._numPages-1:this._activePageIndex-1;this._preloadPage(B,this._prevImages);},_preloadPage:function(E,D){var F=0,I=this.get("root"),H=I.albumInfo.images,C=E*this._imagesPerPage,G=C+this._imagesPerPage,J=this.get("imageConfig"),B=J.width,K=J.height;if(this._numPages>1){for(;F<D.length;F++){D[F].remove();D[F].unload();}for(F=0;C<G;C++){if(!H[C]){continue;}this._renderImage(D,F);D[F].preload(H[C],B,K);F++;}}},_renderImage:function(G,E,F,B){var C=null,D=this.get("imageConfig");if(typeof G[E]=="undefined"){D.loadGroup="thumbs";D.useThumbSizes=true;D.loadVideos=false;G[E]=new A.FL.SlideshowImage(D);C=G[E].get("boundingBox");C.on("click",this._imageClick,this);C.on("mouseover",this._imageMouseover,this);C.on("mouseout",this._imageMouseout,this);}C=G[E].get("boundingBox");C.setStyle("margin","0 "+this._horizontalSpacing+"px "+this._verticalSpacing+"px 0");if(F){this._childrenContainer=F;this.add(G[E]);G[E].resize(D.width,D.height);}if(B){G[E].load(B);C._imageInfo=B;}},_uiAddChild:function(C,B){C.render(B);B.appendChild(C.get("boundingBox"));},_imageClick:function(C){var B=this.get("root");if(this.get("pauseOnClick")){B.pause();}B.loadImage(C.currentTarget._imageInfo.index);this.fire("imageClick");},_setActiveImage:function(C){var B=0;this._clearActiveImage();for(;B<C.length;B++){if(C[B]._imageInfo){if(C[B]._imageInfo.index==this.get("root").imageInfo.index){C[B].get("boundingBox").addClass("fl-slideshow-image-active");break;}}}},_clearActiveImage:function(){var B=A.one(".fl-slideshow-image-active");if(B){B.removeClass("fl-slideshow-image-active");}},_getTransition:function(){var B=this.get("transition");if(B=="slideHorizontal"&&this._transitionDirection=="next"){return"slideLeft";}else{if(B=="slideHorizontal"&&this._transitionDirection=="prev"){return"slideRight";
16
  }else{if(B=="slideVertical"&&this._transitionDirection=="next"){return"slideUp";}else{if(B=="slideVertical"&&this._transitionDirection=="prev"){return"slideDown";}}}}return B;},_transitionStart:function(B){if(this._numPages>1){A.FL.SlideshowImageLoader.removeGroup("thumbs");this._transitionDirection=B;this._transitioning=true;this._nextPageBox.setStyle("left","0px");this._renderNextPage();this._transition=new A.FL.SlideshowTransition({itemIn:this._nextPageBox,itemOut:this._activePageBox,type:this._getTransition(),duration:this.get("transitionDuration"),easing:this.get("transitionEasing")});this._transition.once("complete",this._transitionComplete,this);this._transition.run();if(this._gestures){this._gestures.disable();}}},_transitionComplete:function(){this._swapPageRefs();this._transitioning=false;this._transitionDirection="";this._transition=null;if(this._gestures){this._gestures.enable();}this.fire("transitionComplete");},_gesturesMoveStart:function(B){A.FL.SlideshowImageLoader.removeGroup("thumbs");this._transitionDirection=B.direction;this._renderNextPage();},_gesturesEndComplete:function(){this._swapPageRefs();this._transitionDirection="";this.fire("transitionComplete");},_swapPageRefs:function(){var B=this._activePageBox,C=this._activeImages;this._activePageBox=this._nextPageBox;this._nextPageBox=B;this._nextPageBox.setStyle("left","-9999px");if(this._transitionDirection=="next"){this._activeImages=this._nextImages;this._nextImages=C;}else{this._activeImages=this._prevImages;this._prevImages=C;}if(this._transitionDirection=="next"&&this._activePageIndex+1<this._numPages){this._activePageIndex++;}else{if(this._transitionDirection=="next"){this._activePageIndex=0;}else{if(this._transitionDirection=="prev"&&this._activePageIndex-1>-1){this._activePageIndex--;}else{if(this._transitionDirection=="prev"){this._activePageIndex=this._numPages-1;}}}}if(this._gestures){this._gestures.set("activeItem",this._activePageBox);this._gestures.set("nextItem",this._nextPageBox);}this._preloadNextPage();this._preloadPrevPage();},_renderNavs:function(){var D=this.get("topNavButtons"),C=this.get("rightNavButtons"),B=this.get("bottomNavButtons"),E=this.get("leftNavButtons");if(this.get("topNavEnabled")&&D.length>0){this._topNav=new A.FL.SlideshowNav({buttons:D});this._topNav.get("boundingBox").addClass("fl-slideshow-thumbs-top-nav");this.add(this._topNav);this._topNav.render(this.get("contentBox"));this._clipBox.insert(this._topNav.get("boundingBox"),"before");this._bindNavEvents(this._topNav);}if(this.get("rightNavEnabled")&&C.length>0){this._rightNav=new A.FL.SlideshowNav({buttons:C});this._rightNav.get("boundingBox").addClass("fl-slideshow-thumbs-right-nav");this.add(this._rightNav);this._rightNav.render(this.get("contentBox"));this._bindNavEvents(this._rightNav);}if(this.get("bottomNavEnabled")&&B.length>0){this._bottomNav=new A.FL.SlideshowNav({buttons:B});this._bottomNav.get("boundingBox").addClass("fl-slideshow-thumbs-bottom-nav");this.add(this._bottomNav);this._bottomNav.render(this.get("contentBox"));this._bindNavEvents(this._bottomNav);}if(this.get("leftNavEnabled")&&E.length>0){this._leftNav=new A.FL.SlideshowNav({buttons:E});this._leftNav.get("boundingBox").addClass("fl-slideshow-thumbs-left-nav");this.add(this._leftNav);this._leftNav.render(this.get("contentBox"));this._bindNavEvents(this._leftNav);}},_syncNavs:function(){var D,B,C;if(this._rightNav){D=this._rightNav.get("boundingBox");D.setStyle("position","absolute");D.setStyle("top","0px");D.setStyle("right","0px");}if(this._bottomNav){B=this._bottomNav.get("boundingBox");B.setStyle("position","absolute");B.setStyle("bottom","0px");B.setStyle("width","100%");}if(this._leftNav){C=this._leftNav.get("boundingBox");C.setStyle("position","absolute");C.setStyle("top","0px");C.setStyle("left","0px");}},_resizeNavs:function(){var D,C,B;if(this._rightNav){D=this._rightNav.get("boundingBox");B=this._bbHeight/2-parseInt(D.getComputedStyle("height"),10)/2;D.setStyle("marginTop",B+"px");}if(this._leftNav){C=this._leftNav.get("boundingBox");B=this._bbHeight/2-parseInt(C.getComputedStyle("height"),10)/2;C.setStyle("marginTop",B+"px");}},_bindNavEvents:function(B){if(B._buttons.prevPage){B._buttons.prevPage.on("click",this.prevPage,this);}if(B._buttons.nextPage){B._buttons.nextPage.on("click",this.nextPage,this);}B.on("resize",this.resize,this);},_togglePageButtons:function(){var B=A.all(".fl-slideshow-nav-prevPage, .fl-slideshow-nav-nextPage"),C=B.getStyle("display")[0];if(this._numPages==1&&C=="inline-block"){B.setStyle("display","none");this._setSizeInfo();}else{if(this._numPages>1&&C=="none"){B.setStyle("display","inline-block");this._setSizeInfo();}}},_setSizeInfo:function(){var V=this.get("root"),k=this.get("boundingBox"),L=k.getStyle("position"),J=parseInt(k.getStyle("marginLeft"),10),B=parseInt(k.getStyle("marginRight"),10),X=parseInt(k.getStyle("marginTop"),10),I=parseInt(k.getStyle("marginBottom"),10),m=parseInt(k.getStyle("paddingLeft"),10),c=parseInt(k.getStyle("paddingRight"),10),i=parseInt(k.getStyle("paddingTop"),10),f=parseInt(k.getStyle("paddingBottom"),10),F=k.get("parentNode"),Q=parseInt(F.getComputedStyle("width"),10),d=parseInt(F.getComputedStyle("height"),10),Y=Q-m-c-J-B,T=d-i-f-X-I,Z=Y,R=Y,P=T,G=this.get("columns"),h=this.get("rows"),K=this.get("imageConfig"),C=this.get("horizontalSpacing"),O=this.get("verticalSpacing"),H=this.get("spaceEvenly"),W=this.get("centerSinglePage"),j=0,U=0,e=0,S=0,M=G,a=h,D=0,l=1,b=0,g=0,E=0,N=0;k.setStyle("position","relative");if(!isNaN(G)){Y=R=G*(K.width+C)+C;}if(!isNaN(h)){T=P=h*(K.height+O)+O;}if(this._leftNav){j=parseInt(this._leftNav.get("boundingBox").getComputedStyle("width"),10);if(isNaN(G)){R-=j;}else{Y+=j;}}if(this._rightNav){U=parseInt(this._rightNav.get("boundingBox").getComputedStyle("width"),10);if(isNaN(G)){R-=U;}else{Y+=U;}}if(this._topNav){e=parseInt(this._topNav.get("boundingBox").getComputedStyle("height"),10);if(isNaN(h)){P-=e;}else{T+=e;}}if(this._bottomNav){S=parseInt(this._bottomNav.get("boundingBox").getComputedStyle("height"),10);
17
- if(isNaN(h)){P-=S;}else{T+=S;}}if(isNaN(G)){M=Math.floor(R/(K.width+C));M=M<1?1:M;}if(isNaN(h)){a=Math.floor(P/(K.height+O));a=a<1?1:a;}D=M*a;if(V.albumInfo){l=Math.ceil(V.albumInfo.images.length/D);}if(isNaN(G)&&H){C=Math.floor((R-(K.width*M))/(M+1));}if(isNaN(h)&&H){O=Math.floor((P-(K.height*a))/(a+1));}if(V.albumInfo&&W&&l==1&&a==1){Z=V.albumInfo.images.length*K.width;Z+=C*(V.albumInfo.images.length+1);if(this._leftNav){Z+=j;}if(this._rightNav){Z+=U;}}else{Z=Y;}if(V.albumInfo&&W&&l==1&&a==1){R=V.albumInfo.images.length*K.width;R+=C*V.albumInfo.images.length;}else{R=M*(K.width+C);}P=a*(K.height+O);if(l<2){b=j;}else{E=Y;if(this._rightNav){E-=U;}if(this._leftNav){E-=j;b=j+(E-R-C)/2;}else{b=(E-R-C)/2;}}if(l>1&&!H){N=T;if(this._topNav){N-=e;}if(this._bottomNav){N-=S;}g=(N-(O+P))/2;}this._bbHeight=T;this._bbWidth=Y;this._cbWidth=Z;this._clipBoxMarginLeft=b;this._clipBoxTop=g;this._colsPerPage=M;this._rowsPerPage=a;this._imagesPerPage=D;this._numPages=l;this._pageHeight=P;this._pageWidth=R;this._leftNavWidth=j;this._rightNavWidth=U;this._horizontalSpacing=C;this._verticalSpacing=O;this._activePageIndex=Math.floor(V.imageIndex/this._imagesPerPage);k.setStyle("position",L);}},{CSS_PREFIX:"fl-slideshow-thumbs",ATTRS:{columns:{value:"auto"},rows:{value:"auto"},horizontalSpacing:{value:15},verticalSpacing:{value:15},spaceEvenly:{value:true},centerSinglePage:{value:true},pauseOnClick:{value:false},transition:{value:"slideHorizontal"},transitionDuration:{value:0.8},transitionEasing:{value:"ease-out"},imageConfig:{value:{crop:true,width:50,height:50}},topNavEnabled:{value:false},topNavButtons:{value:["prevPage","nextPage"]},rightNavEnabled:{value:true},rightNavButtons:{value:["nextPage"]},bottomNavEnabled:{value:false},bottomNavButtons:{value:["prevPage","nextPage"]},leftNavEnabled:{value:true},leftNavButtons:{value:["prevPage"]},touchSupport:{value:false}}});A.namespace("FL").SlideshowTransition=A.Base.create("fl-slideshow-transition",A.Base,[],{_transitionFunction:"_transitionFade",_type:"fade",initializer:function(){var D=this.get("type"),I=[],C=A.FL.SlideshowTransition.TYPES,E=A.FL.SlideshowTransition.SLIDESHOW_IMAGE_TYPES,H=A.Array.indexOf(E,D)>-1,B=this._isSlideshowImage(),G=this.get("itemIn"),F=this.get("itemOut");if(D.indexOf(",")>-1){I=D.split(",");I.sort(function(){return 0.5-Math.random();});D=I[0];}if(!B&&H){D="fade";}else{if(B){if((G&&G.one("img")===null)||(F&&F.one("img")===null)){D="none";}else{if(H){if((A.UA.gecko&&A.UA.gecko<5)||A.UA.opera>0||(A.UA.ie>0&&A.UA.ie<9)){D="fade";}}}}}if(A.FL.SlideshowTransition.TYPES[D]){this._transitionFunction=C[D];this._type=D;}this._setupItems();},run:function(){this.fire("start");this[this._transitionFunction].call(this);},_setupItems:function(){var C=this.get("itemIn"),B=this.get("itemOut");if(C){C.setStyle("zIndex",2);C.setStyle("opacity",1);if(A.FL.Utils.cssSupport("transform")){C.setStyle("transform","translate(0, 0)");}else{C.setStyle("top","0");C.setStyle("left","0");}}if(B){B.setStyle("zIndex",1);}},_isSlideshowImage:function(){var C=this.get("itemIn"),B=this.get("itemOut");if(C&&C.hasClass("fl-slideshow-image")){return true;}else{if(B&&B.hasClass("fl-slideshow-image")){return true;}}return false;},_transitionStart:function(I,B){var H=this.get("itemIn"),F=this.get("itemOut"),E=A.bind(this._transitionComplete,this),D=!H?E:null,C=this.get("duration"),G=this.get("easing");if(H){I.duration=I.duration||C;I.easing=I.easing||G;H.transition(I);}if(F){B.duration=B.duration||C;B.easing=B.easing||G;F.transition(B);}if(E){A.later(I.duration*1000+100,null,E);}else{if(D){A.later(B.duration*1000+100,null,D);}}},_transitionComplete:function(){this._set("itemIn",null);this._set("itemOut",null);this.fire("complete");},_transitionNone:function(){var C=this.get("itemIn"),B=this.get("itemOut");if(C){C.setStyle("opacity",1);}if(B){B.setStyle("opacity",0);}this._transitionComplete();},_transitionFade:function(){var B=this.get("itemIn");if(B){B.setStyle("opacity",0);}this._transitionStart({opacity:1},{opacity:0});},_transitionSlideLeft:function(){if(A.FL.Utils.cssSupport("transform")){this._cssTransitionSlide({inStart:"translate(100%, 0)",inEnd:"translate(0, 0)",outStart:"translate(0, 0)",outEnd:"translate(-100%, 0)"});}else{this._jsTransitionSlide("left");}},_transitionSlideRight:function(){if(A.FL.Utils.cssSupport("transform")){this._cssTransitionSlide({inStart:"translate(-100%, 0)",inEnd:"translate(0, 0)",outStart:"translate(0, 0)",outEnd:"translate(100%, 0)"});}else{this._jsTransitionSlide("right");}},_transitionSlideUp:function(){if(A.FL.Utils.cssSupport("transform")){this._cssTransitionSlide({inStart:"translate(0, 100%)",inEnd:"translate(0, 0)",outStart:"translate(0, 0)",outEnd:"translate(0, -100%)"});}else{this._jsTransitionSlide("up");}},_transitionSlideDown:function(){if(A.FL.Utils.cssSupport("transform")){this._cssTransitionSlide({inStart:"translate(0, -100%)",inEnd:"translate(0, 0)",outStart:"translate(0, 0)",outEnd:"translate(0, 100%)"});}else{this._jsTransitionSlide("down");}},_jsTransitionSlide:function(B){var E=this.get("itemIn"),C=this.get("itemOut"),D=0;if(C&&B=="left"){D=-parseInt(C.getStyle("width"),10);}if(C&&B=="right"){D=parseInt(C.getStyle("width"),10);}if(C&&B=="up"){D=-parseInt(C.getStyle("height"),10);}if(C&&B=="down"){D=parseInt(C.getStyle("height"),10);}if(E){E.setStyle("opacity",1);}if(E&&B=="left"){E.setStyle("left",E.getStyle("width"));}if(E&&B=="right"){E.setStyle("left","-"+E.getStyle("width"));}if(E&&B=="up"){E.setStyle("top",E.getStyle("height"));}if(E&&B=="down"){E.setStyle("top","-"+E.getStyle("height"));}if(B=="left"||B=="right"){this._transitionStart({left:0},{left:D});}else{this._transitionStart({top:0},{top:D});}},_cssTransitionSlide:function(B){var D=this.get("itemIn"),C=this.get("itemOut");if(D){D.setStyle("transition","");D.setStyle("opacity",1);D.setStyle("transform",B.inStart);}if(C){C.setStyle("transition","");C.setStyle("transform",B.outStart);}this._transitionStart({"transform":B.inEnd},{"transform":B.outEnd});},_transitionBars:function(){this.get("itemIn").one(".fl-slideshow-image-img").setStyle("opacity",0);
18
- var D=this.get("bars"),I=this._renderSlices(1,D),B=this.get("duration"),E=0,H=100,J=false,C=0,G=null,F={duration:B,opacity:1};if(this._type=="barsRandom"){I=this._randomizeSlices(I);}for(;C<I.length;C++){G=A.clone(F);if(this._type=="blinds"){G.width=parseFloat(I[C].getComputedStyle("width"),10)+"px";I[C].setStyle("width","0px");H=50;}J=C==I.length-1?true:false;A.later(E,this,this._transitionSlice,[I[C],G,J]);E+=H;}this._transitionSlicesFadeLast(E);},_transitionBoxes:function(){this.get("itemIn").one(".fl-slideshow-image-img").setStyle("opacity",0);var D=this.get("boxCols"),H=this.get("boxRows"),L=D*H,I=this._type!="boxesRandom",O=this._renderSlices(H,D,I),E=this.get("duration"),G=0,M=150,N=false,F=0,P=0,C=0,B=-1,K=null,J={duration:E,opacity:1};if(!I){O=this._randomizeSlices(O);M=30;for(;F<O.length;F++){K=A.clone(J);N=F==O.length-1?true:false;A.later(G,this,this._transitionSlice,[O[F],K,N]);G+=M;}}else{while(F<L){for(P=0;P<H;P++){if(P===0){B++;C=B;}if(C>-1&&C<D){F++;K=A.clone(J);if(this._type=="boxesGrow"){K.height=parseFloat(O[P][C].getComputedStyle("height"),10)+"px";K.width=parseFloat(O[P][C].getComputedStyle("width"),10)+"px";O[P][C].setStyle("height","0px");O[P][C].setStyle("width","0px");M=50;}N=F==L-1?true:false;A.later(G,this,this._transitionSlice,[O[P][C],K,N]);}C--;}G+=M;}}this._transitionSlicesFadeLast(G);},_renderSlices:function(F,H,P){var L=this.get("itemIn"),R=parseFloat(L.getComputedStyle("height"),10),G=parseFloat(L.getComputedStyle("width"),10),T=L.one("img"),B=T.get("src"),S=parseFloat(T.getComputedStyle("height"),10),O=parseFloat(T.getComputedStyle("width"),10),D=parseFloat(T.getComputedStyle("left"),10),N=parseFloat(T.getComputedStyle("top"),10),J=0,M=0,E=Math.round(R/F),K=Math.round(G/H),Q=null,I=null,C=[];for(;M<F;M++){if(typeof P!=="undefined"&&P){C[M]=[];}for(J=0;J<H;J++){Q=A.Node.create('<div class="fl-slideshow-transition-slice"></div>');I=A.Node.create('<img src="'+B+'" />');Q.setStyles({left:(K*J)+"px",top:(E*M)+"px",width:J==H-1?(G-(K*J))+"px":K+"px",height:M==F-1?(R-(E*M))+"px":E+"px",opacity:0});I.setStyles({height:S+"px",width:O+"px",top:N-((E+(M*E))-E)+"px",left:D-((K+(J*K))-K)+"px"});Q.append(I);L.append(Q);if(typeof P!=="undefined"&&P){C[M].push(Q);}else{C.push(Q);}}}return C;},_transitionSlicesFadeLast:function(B){var C=this.get("itemOut");if(C&&!C.hasClass("fl-slideshow-image-cropped")){C.transition({duration:B/1000+this.get("duration"),opacity:0});}},_transitionSlice:function(D,B,C){var E=C?A.bind(this._transitionSlicesComplete,this):null;D.transition(B,E);},_transitionSlicesComplete:function(){var B=this.get("itemIn");B.all(".fl-slideshow-transition-slice").remove();B.one(".fl-slideshow-image-img").setStyle("opacity",1);this._transitionComplete();},_randomizeSlices:function(E){var D=E.length,C,B;if(D===0){return;}while(--D){C=Math.floor(Math.random()*(D+1));B=E[D];E[D]=E[C];E[C]=B;}return E;},_transitionKenBurns:function(){var C=this.get("kenBurnsDuration"),D=this.get("duration"),E=this.get("itemIn"),B=this.get("kenBurnsZoom");this._transitionFade();(new A.FL.SlideshowKenBurns({duration:C+D+4,image:E,zoom:B})).run();}},{ATTRS:{itemIn:{value:null},itemOut:{value:null},duration:{value:0.5},easing:{value:"ease-out"},type:{value:"fade"},bars:{value:15},boxCols:{value:8},boxRows:{value:4},kenBurnsDuration:{value:4},kenBurnsZoom:{value:1.2}},TYPES:{fade:"_transitionFade",none:"_transitionNone",slideLeft:"_transitionSlideLeft",slideRight:"_transitionSlideRight",slideUp:"_transitionSlideUp",slideDown:"_transitionSlideDown",blinds:"_transitionBars",bars:"_transitionBars",barsRandom:"_transitionBars",boxes:"_transitionBoxes",boxesRandom:"_transitionBoxes",boxesGrow:"_transitionBoxes",kenBurns:"_transitionKenBurns"},SLIDESHOW_IMAGE_TYPES:["blinds","bars","barsRandom","boxes","boxesRandom","boxesGrow","kenBurns"]});A.namespace("FL").Slideshow=A.Base.create("fl-slideshow",A.FL.SlideshowBase,[],{frame:null,nav:null,imageNavLeft:null,imageNavRight:null,thumbs:null,verticalThumbs:null,caption:null,social:null,_nextImagePreloader:null,_initialNavSettings:null,initializer:function(){var B={loadGroup:"main-preload",crop:this.get("crop"),position:this.get("position"),protect:this.get("protect"),upsize:this.get("upsize")};this._nextImagePreloader=new A.FL.SlideshowImage(B);if("ontouchstart" in window){this._removeNavButton("prev");this._removeNavButton("prevPage");this._removeNavButton("next");this._removeNavButton("nextPage");this._removeNavButton("fullscreen");}if(this._hasNavButton("fullscreen")){if(A.FL.SlideshowFullscreen.OS_SUPPORT){this.plug(A.FL.SlideshowFullscreen);}else{this._removeNavButton("fullscreen");}}},renderUI:function(){A.FL.Slideshow.superclass.renderUI.apply(this,arguments);this._renderFrame();this._renderVerticalThumbs();this._renderNavAndThumbs();this._renderImageNav();this._renderMouseNav();this._renderCaption();this._renderSocial();},bindUI:function(){var F=this.get("boundingBox"),E=this.frame.get("boundingBox"),D=this.get("navOverlay"),C=this.get("navType"),G=this._getNav(),B=this.get("clickAction");A.FL.Slideshow.superclass.bindUI.apply(this,arguments);A.Do.after(this._resizeChildWidgets,this,"resize");this.on("albumLoadStart",this._albumLoadStart,this);this.on("albumLoadComplete",this._albumLoadComplete,this);this.on("imageLoadComplete",this._loadFrame,this);if(this.get("loadingImageAlwaysEnabled")){this.frame.on("transitionInit",A.bind(this._showLoadingImageWithDelay,this));this.frame.on("transitionStart",A.bind(this._hideLoadingImage,this));}if(this.get("overlayHideOnMousemove")){if(G&&D){this.frame.once("transitionComplete",G.slideshowOverlay.hideWithTimer,G.slideshowOverlay);F.on("mousemove",A.bind(this._toggleNav,this));}if(C=="buttons"||C=="thumbs"||C=="custom"){F.on("mouseenter",A.bind(this._checkOverlaysOnMouseenter,this));F.on("mouseleave",A.bind(this._hideAllOverlays,this));}}F.delegate("click",A.bind(this._overlayCloseClick,this),".fl-slideshow-overlay-close");if(B=="gallery"||B=="url"){E.delegate("click",A.bind(this._frameClick,this),".fl-slideshow-image-img");
19
- }},syncUI:function(){var B=this.get("boundingBox");A.FL.Slideshow.superclass.syncUI.apply(this,arguments);B._node.onselectstart=function(){return false;};B._node.unselectable="on";B._node.style.MozUserSelect="none";if(this.get("clickAction")!="none"){this.frame.get("boundingBox").addClass("fl-click-action-enabled");}},unload:function(){this.pause();this.frame.unload();if(this.thumbs!==null){this.thumbs.unload();}},_albumLoadStart:function(){this._showLoadingImage();},_albumLoadComplete:function(){this.frame.once("transitionStart",A.bind(this._hideLoadingImage,this));},_resizeChildWidgets:function(){var D=this.get("boundingBox"),B=this.get("contentBox"),C=this.get("imageNavEnabled");this._renderNavAndThumbs();if(this.get("verticalThumbsOverlay")){this._resizeFrame(B.get("offsetWidth"),D.get("offsetHeight"));this._resizeVerticalThumbs();}else{this._resizeVerticalThumbs();this._resizeFrame(B.get("offsetWidth"),D.get("offsetHeight"));}if(C){this._positionImageNav();}this._positionLoadingImage();},_renderVerticalThumbs:function(){var B=this.get("responsiveThreshold"),E=this.get("boundingBox"),C=E.get("offsetWidth"),D;if(this.get("verticalThumbsEnabled")&&C>B){this.verticalThumbs=new A.FL.SlideshowThumbs(this._getVerticalThumbsConfig());this.add(this.verticalThumbs);this.verticalThumbs.render(E);D=this.verticalThumbs.get("boundingBox");D.addClass("fl-slideshow-vertical-thumbs");D.setStyle(this.get("verticalThumbsPosition"),0);E.append(D);if(this.get("verticalThumbsOverlay")){this.verticalThumbs.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay"),hideStyle:"left"});this.frame.get("boundingBox").append(D);this.verticalThumbs.resize();}else{this.verticalThumbs.resize();this._adjustContentForVerticalThumbs();}this._bindVerticalThumbs();}},_getVerticalThumbsConfig:function(){var C=this.getAttrs(),B={columns:C.verticalThumbsColumns,rows:"auto",centerSinglePage:false,horizontalSpacing:C.verticalThumbsHorizontalSpacing,verticalSpacing:C.verticalThumbsVerticalSpacing,spaceEvenly:C.verticalThumbsSpaceEvenly,rightNavEnabled:false,leftNavEnabled:false,topNavEnabled:C.verticalThumbsTopNavEnabled,topNavButtons:C.verticalThumbsTopNavButtons,bottomNavEnabled:C.verticalThumbsBottomNavEnabled,bottomNavButtons:C.verticalThumbsBottomNavButtons,pauseOnClick:C.verticalThumbsPauseOnClick,transition:C.verticalThumbsTransition,transitionDirection:C.verticalThumbsTransitionDirection,transitionEasing:C.verticalThumbsTransitionEasing,touchSupport:true,imageConfig:{crop:C.verticalThumbsImageCrop,width:C.verticalThumbsImageWidth,height:C.verticalThumbsImageHeight}};return B;},_bindVerticalThumbs:function(){var B=this.get("boundingBox"),E=this.get("overlayHideOnMousemove"),D=this.get("verticalThumbsOverlay"),C=this.verticalThumbs;if(C&&E&&D){this.frame.once("transitionComplete",C.slideshowOverlay.hideWithTimer,C.slideshowOverlay);B.on("mousemove",A.bind(this._toggleVerticalThumbs,this));B.on("mouseenter",A.bind(this._toggleVerticalThumbs,this));}},_resizeVerticalThumbs:function(){var G=this.get("verticalThumbsEnabled"),H,I,F,C,D,E,B,J;if(G){H=this.get("verticalThumbsOverlay");I=this.get("responsiveThreshold");F=this.get("boundingBox");C=F.get("offsetWidth");D=this.get("navOverlay");E=this.get("navType");B=this._getNav();if(this.verticalThumbs&&C>I){this.verticalThumbs.get("boundingBox").setStyle("display","block");this.verticalThumbs.resize();if(!H){this._adjustContentForVerticalThumbs();}else{if(B&&D){J=B.get("boundingBox");if(E=="thumbs"){this._adjustOverlayForVerticalThumbs(J,true);this.thumbs.resize();}else{this._adjustOverlayForVerticalThumbs(J);}}}}else{if(!this.verticalThumbs&&C>I){this._renderVerticalThumbs();}else{if(this.verticalThumbs&&C<=I){this.verticalThumbs.get("boundingBox").setStyle("display","none");if(!H){this.get("contentBox").setStyles({left:"auto",position:"relative",right:"auto",width:"auto"});}}}}}},_toggleVerticalThumbs:function(){if(this.verticalThumbs){if(this.verticalThumbs.slideshowOverlay._visible){this.verticalThumbs.slideshowOverlay.hideWithTimer();}else{this.verticalThumbs.slideshowOverlay.show();}}},_adjustContentForVerticalThumbs:function(){var E=this.get("boundingBox"),C=this.verticalThumbs.get("boundingBox"),B=this.get("verticalThumbsPosition"),G=this.get("contentBox"),F=B=="left"?"right":"left",D=E.get("offsetWidth")-C.get("offsetWidth");G.setStyle("position","absolute");G.setStyle(F,0);G.setStyle("width",D);},_adjustOverlayForVerticalThumbs:function(F,C){var H=this.get("verticalThumbsEnabled"),I=this.get("verticalThumbsOverlay"),E=null,D=null,G=typeof C==="undefined"?"":"margin-",B=0;if(this.verticalThumbs&&H&&I){E=this.verticalThumbs.get("boundingBox");B=E.get("offsetWidth");D=this.get("verticalThumbsPosition");if(D=="left"){F.setStyle(G+"left",B+"px");}else{F.setStyle(G+"right",B+"px");}}},_renderFrame:function(){this.frame=new A.FL.SlideshowFrame({imageConfig:{loadGroup:"main",loadPriority:true,crop:this.get("crop"),cropHorizontalsOnly:this.get("cropHorizontalsOnly"),position:this.get("position"),protect:this.get("protect"),upsize:this.get("upsize"),showVideoButton:this.get("navOverlay")},touchSupport:true});this.add(this.frame);this.frame.render(this.get("contentBox"));this.frame.get("boundingBox").addClass("fl-slideshow-main-image");this._setPlayingTimerEvent(this.frame,"transitionComplete");this._loadingImageContainer=this.frame.get("contentBox");},_resizeFrame:function(D,B){var C=this.get("navOverlay"),E=this._getNav();if(E&&!C){B-=parseInt(E.get("boundingBox").getComputedStyle("height"),10);}this.frame.resize(D,B);},_loadFrame:function(G){var E=this.imageInfo.index,D=this.albumInfo.images,C=E+1>=D.length?0:E+1,F=this.frame.get("width"),B=this.frame.get("height");this.frame.load(G.imageInfo);A.FL.SlideshowImageLoader.removeGroup("main-preload");this._nextImagePreloader.preload(D[C],F,B);},_frameClick:function(){var B=this.get("clickAction"),C=this.get("clickActionUrl");if(B=="url"){window.location.href=C;}else{if(B=="gallery"){window.location.href=this.imageInfo.link;
20
- }}},_initMiniNav:function(){var B=[];if(!("ontouchstart" in window)){B.push("prev");}if(this._hasNavButton("thumbs")||this.get("navType")=="thumbs"){B.push("thumbs");}if(this._hasNavButton("caption")){B.push("caption");}if(this._hasNavButton("social")){B.push("social");}if(this._hasNavButton("buy")){B.push("buy");}if(this._hasNavButton("play")){B.push("play");}if(!("ontouchstart" in window)){B.push("next");}this._initialNavSettings={buttons:this.get("navButtons"),buttonsLeft:this.get("navButtonsLeft"),buttonsRight:this.get("navButtonsRight"),type:this.get("navType")};this._set("navButtons",B);this._set("navButtonsLeft",[]);this._set("navButtonsRight",[]);this._set("navType","buttons");},_renderNavAndThumbs:function(){var C=this.get("navType"),D=false,E,B;if(C=="buttons"||C=="thumbs"){E=this.get("boundingBox").get("offsetWidth");B=this.get("responsiveThreshold");if(E<=B&&this._initialNavSettings===null){this._initMiniNav();D=true;}else{if(E>B&&this._initialNavSettings!==null){this._set("navButtons",this._initialNavSettings.buttons);this._set("navButtonsLeft",this._initialNavSettings.buttonsLeft);this._set("navButtonsRight",this._initialNavSettings.buttonsRight);this._set("navType",this._initialNavSettings.type);this._initialNavSettings=null;D=true;}}if(D||this.nav===null){this._renderNav();}if(D||this.thumbs===null){this._renderThumbs();}else{if(this._thumbsEnabled()){this._resizeThumbs();}}if(D&&this.caption!==null){this._syncCaption();}if(D&&this.social!==null){this._syncSocial();}}},_renderNav:function(){var D=this.frame.get("boundingBox"),E=null,B=this.get("navOverlay"),C=this.get("navPosition");this._destroyNav();if(this.get("navType")=="buttons"){this.nav=new A.FL.SlideshowNav({buttons:this.get("navButtons"),buttonsLeft:this.get("navButtonsLeft"),buttonsRight:this.get("navButtonsRight")});this.add(this.nav);this.nav.render(this.get("contentBox"));E=this.nav.get("boundingBox");if(B){this.nav.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay")});E.setStyle("position","absolute");E.setStyle(C,"0px");}if(C=="top"){D.insert(E,"before");}else{D.insert(E,"after");}E.addClass("fl-slideshow-main-nav");}},_destroyNav:function(){if(this.nav!==null){if(this.nav.slideshowOverlay){this.nav.slideshowOverlay.destroy();}this.nav.get("boundingBox").remove();this.remove(this.nav);try{this.nav.destroy(true);}catch(B){}this.nav=null;}},_getNav:function(){var B=this.get("navType");if(B=="buttons"){return this.nav;}else{if(B=="thumbs"){return this.thumbs;}else{return null;}}},_toggleNav:function(){var B=this._getNav();if(B.slideshowOverlay){if(B.slideshowOverlay._visible){B.slideshowOverlay.hideWithTimer();}else{B.slideshowOverlay.show();}}},_renderImageNav:function(){var B;if(this.get("imageNavEnabled")){if("ontouchstart" in window){this._set("imageNavEnabled",false);}else{B=this.get("boundingBox");this.imageNavLeft=new A.FL.SlideshowNav({buttons:["prev"],useFontIcons:false});this.imageNavRight=new A.FL.SlideshowNav({buttons:["next"],useFontIcons:false});this.add(this.imageNavLeft);this.add(this.imageNavRight);this.imageNavLeft.render(this.frame.get("boundingBox"));this.imageNavRight.render(this.frame.get("boundingBox"));this.imageNavLeft.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay")});this.imageNavRight.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay")});if(this.get("overlayHideOnMousemove")){this.frame.once("transitionComplete",this.imageNavLeft.slideshowOverlay.hideWithTimer,this.imageNavLeft.slideshowOverlay);this.frame.once("transitionComplete",this.imageNavRight.slideshowOverlay.hideWithTimer,this.imageNavRight.slideshowOverlay);B.on("mousemove",A.bind(this._toggleImageNav,this));B.on("mouseenter",A.bind(this._toggleImageNav,this));}this.imageNavLeft.get("boundingBox").addClass("fl-slideshow-image-nav-left");this.imageNavRight.get("boundingBox").addClass("fl-slideshow-image-nav-right");}}},_positionImageNav:function(){var D=this.imageNavLeft.get("boundingBox"),E=this.imageNavRight.get("boundingBox"),B=D.get("offsetHeight"),C=this.frame.get("boundingBox").get("offsetHeight"),G=C/2-B/2,F={top:G+"px",display:"block"};D.setStyles(F);E.setStyles(F);this._adjustOverlayForVerticalThumbs(D);this._adjustOverlayForVerticalThumbs(E);},_toggleImageNav:function(){if(this.imageNavLeft.slideshowOverlay._visible){this.imageNavLeft.slideshowOverlay.hideWithTimer();}else{this.imageNavLeft.slideshowOverlay.show();}if(this.imageNavRight.slideshowOverlay._visible){this.imageNavRight.slideshowOverlay.hideWithTimer();}else{this.imageNavRight.slideshowOverlay.show();}},_renderMouseNav:function(){if(this.get("mouseNavEnabled")&&!("ontouchstart" in window)&&!window.navigator.msPointerEnabled){this.plug(A.FL.SlideshowMouseNav,{trigger:this.frame.get("boundingBox")});}},_thumbsEnabled:function(){var B=this.get("navType");if(B=="thumbs"){return true;}if((B=="buttons"||B=="custom")&&this._hasNavButton("thumbs")){return true;}else{return false;}},_renderThumbs:function(){var E,C,D,B;this._destroyThumbs();if(this._thumbsEnabled()){E=this.frame.get("boundingBox");C=this.get("navOverlay");D=this.get("navPosition");B=this.get("navType");this.thumbs=new A.FL.SlideshowThumbs(this._getThumbsConfig());try{this.add(this.thumbs);}catch(F){}if(B=="buttons"||B=="custom"){this.thumbs.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay"),hideStyle:"left",visible:false});}else{if(B=="thumbs"&&C){this.thumbs.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay"),hideStyle:"left"});}}this.thumbs.render(this.get("contentBox"));if(D=="top"){E.insert(this.thumbs.get("boundingBox"),"before");}else{E.insert(this.thumbs.get("boundingBox"),"after");}if(this.get("thumbsHideOnClick")&&B!="thumbs"){this.thumbs.on("imageClick",A.bind(this._hideThumbsOnImageClick,this));}this._syncThumbs();}},_destroyThumbs:function(){if(this.thumbs!==null){if(this.thumbs.slideshowOverlay){this.thumbs.slideshowOverlay.destroy();}this.thumbs.get("boundingBox").remove();this.remove(this.thumbs);try{this.thumbs.destroy(true);
21
- }catch(B){}this.thumbs=null;}},_syncThumbs:function(){var D=this.thumbs.get("boundingBox"),E=this.get("navOverlay"),F=this.get("navPosition"),C=this.get("navType"),B="padding"+F.charAt(0).toUpperCase()+F.slice(1),G=0;if(C=="buttons"){G=parseInt(this.nav.get("boundingBox").getComputedStyle("height"),10);D.setStyle("position","absolute");if(E){D.setStyle(B,G+"px");D.setStyle(F,"0px");}else{D.setStyle(F,G+"px");}}if(C=="custom"||(C=="thumbs"&&E)){D.setStyle("position","absolute");D.setStyle(F,"0px");}this.thumbs.resize();},_getThumbsConfig:function(){var E=this.getAttrs(),B=this.get("navType"),D={crop:E.thumbsImageCrop,width:E.thumbsImageWidth,height:E.thumbsImageHeight},C={columns:"auto",rows:1,horizontalSpacing:E.thumbsHorizontalSpacing,verticalSpacing:E.thumbsVerticalSpacing,spaceEvenly:E.thumbsSpaceEvenly,centerSinglePage:E.thumbsCenterSinglePage,pauseOnClick:E.thumbsPauseOnClick,transition:E.thumbsTransition,transitionDirection:E.thumbsTransitionDirection,transitionEasing:E.thumbsTransitionEasing,leftNavButtons:E.navButtonsLeft,rightNavButtons:E.navButtonsRight,imageConfig:D,touchSupport:true};if(B=="buttons"||B=="custom"){if("ontouchstart" in window){C.leftNavEnabled=false;C.rightNavEnabled=false;}else{C.centerSinglePage=false;C.leftNavButtons=["prevPage"];C.rightNavButtons=["nextPage"];}}return C;},_resizeThumbs:function(){if(this.thumbs){this.thumbs.resize();}},_toggleThumbs:function(){this._toggleOverlay(this.thumbs.slideshowOverlay);},_hideThumbsOnImageClick:function(){if(this.thumbs.slideshowOverlay){this.thumbs.slideshowOverlay._focus=false;this.thumbs.slideshowOverlay.enable();this.thumbs.slideshowOverlay.hide();if(this.nav&&this.nav.slideshowOverlay){this.nav.slideshowOverlay.enable();}}},_renderCaption:function(){if(this._hasNavButton("caption")){this.caption=new A.FL.SlideshowCaption({lessLinkText:this.get("captionLessLinkText"),moreLinkText:this.get("captionMoreLinkText"),textLength:this.get("captionTextLength"),stripTags:this.get("captionStripTags")});this.add(this.caption);this.caption.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay"),visible:false,closeButton:true});this._syncCaption();}},_syncCaption:function(){var G=this.caption.get("boundingBox"),C=this.get("navOverlay"),D=this.get("navPosition"),E=this._getNav(),B="padding"+D.charAt(0).toUpperCase()+D.slice(1),F=0;G.setStyle("position","absolute");if(E){F=parseInt(E.get("boundingBox").getComputedStyle("height"),10);}if(E&&C){G.setStyle(B,F+"px");G.setStyle(D,"0px");}else{G.setStyle(D,F+"px");}},_toggleCaption:function(){this._toggleOverlay(this.caption.slideshowOverlay);},_renderSocial:function(){if(this._hasNavButton("social")){this.social=new A.FL.SlideshowSocial();this.add(this.social);this.social.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay"),visible:false,closeButton:true});this._syncSocial();}},_syncSocial:function(){var D=this.social.get("boundingBox"),C=this.get("navOverlay"),E=this.get("navPosition"),F=this._getNav(),B="padding"+E.charAt(0).toUpperCase()+E.slice(1),G=0;D.setStyle("position","absolute");if(F){G=parseInt(F.get("boundingBox").getComputedStyle("height"),10);}if(F&&C){D.setStyle(B,G+"px");D.setStyle(E,"0px");}else{D.setStyle(E,G+"px");}},_toggleSocial:function(){this._toggleOverlay(this.social.slideshowOverlay);},_toggleOverlay:function(C){var B=this.get("navType"),D=this._getNav();if(C._visible){if(D&&D.slideshowOverlay){D.slideshowOverlay.enable();}C.enable();C.hide();}else{if(D&&D.slideshowOverlay){D.slideshowOverlay.disable();}C.show();C.disable();}if(this.thumbs&&B!="thumbs"&&this.thumbs.slideshowOverlay!==C){this.thumbs.slideshowOverlay.enable();this.thumbs.slideshowOverlay.hide();}if(this.caption&&this.caption.slideshowOverlay!==C){this.caption.slideshowOverlay.enable();this.caption.slideshowOverlay.hide();}if(this.social&&this.social.slideshowOverlay!==C){this.social.slideshowOverlay.enable();this.social.slideshowOverlay.hide();}},_overlayCloseClick:function(){if(this.nav&&this.nav.slideshowOverlay){this.nav.slideshowOverlay.enable();}if(this.thumbs&&this.thumbs.slideshowOverlay){this.thumbs.slideshowOverlay.enable();}if(this.caption){this.caption.slideshowOverlay.enable();}if(this.social){this.social.slideshowOverlay.enable();}if(this.imageNavLeft){this.imageNavLeft.slideshowOverlay.enable();this.imageNavRight.slideshowOverlay.enable();}},_hideAllOverlays:function(){if(this.nav&&this.nav.slideshowOverlay&&this.nav.slideshowOverlay._visible){this.nav.slideshowOverlay.enable();this.nav.slideshowOverlay.hideWithTimer();}if(this.thumbs&&this.thumbs.slideshowOverlay&&this.thumbs.slideshowOverlay._visible){this.thumbs.slideshowOverlay.enable();this.thumbs.slideshowOverlay.hideWithTimer();}if(this.caption&&this.caption.slideshowOverlay._visible){this.caption.slideshowOverlay.enable();this.caption.slideshowOverlay.hideWithTimer();}if(this.social&&this.social.slideshowOverlay._visible){this.social.slideshowOverlay.enable();this.social.slideshowOverlay.hideWithTimer();}if(this.imageNavLeft){this.imageNavLeft.slideshowOverlay.enable();this.imageNavLeft.slideshowOverlay.hideWithTimer();this.imageNavRight.slideshowOverlay.enable();this.imageNavRight.slideshowOverlay.hideWithTimer();}},_checkOverlaysOnMouseenter:function(){var B=this.get("navType"),D=this.get("navOverlay"),E=this._getNav(),C=false;if(this.thumbs&&B!="thumbs"&&this.thumbs.slideshowOverlay._visible){C=true;this.thumbs.slideshowOverlay.disable();}else{if(this.caption&&this.caption.slideshowOverlay._visible){C=true;this.caption.slideshowOverlay.disable();}else{if(this.social&&this.social.slideshowOverlay._visible){C=true;this.social.slideshowOverlay.disable();}}}if(E&&C&&D){E.slideshowOverlay.disable();}},_hasNavButton:function(C){var B=this.get("navType");if(B=="buttons"||B=="thumbs"||B=="custom"){if(A.Array.indexOf(this.get("navButtons"),C)>-1){return true;}else{if(A.Array.indexOf(this.get("navButtonsLeft"),C)>-1){return true;}else{if(A.Array.indexOf(this.get("navButtonsRight"),C)>-1){return true;}else{return false;
22
- }}}}else{return false;}},_removeNavButton:function(D){var G=this.get("navButtons"),B=this.get("navButtonsLeft"),F=this.get("navButtonsRight"),C=this.get("verticalThumbsTopNavButtons"),E=this.get("verticalThumbsBottomNavButtons");if(A.Array.indexOf(G,D)>-1){G.splice(A.Array.indexOf(G,D),1);}if(A.Array.indexOf(B,D)>-1){B.splice(A.Array.indexOf(B,D),1);}if(A.Array.indexOf(F,D)>-1){F.splice(A.Array.indexOf(F,D),1);}if(A.Array.indexOf(C,D)>-1){C.splice(A.Array.indexOf(C,D),1);}if(A.Array.indexOf(E,D)>-1){E.splice(A.Array.indexOf(E,D),1);}this._set("navButtons",G);this._set("navButtonsLeft",B);this._set("navButtonsRight",F);this._set("verticalThumbsTopNavButtons",C);this._set("verticalThumbsBottomNavButtons",E);}},{CSS_PREFIX:"fl-slideshow",ATTRS:{clickAction:{value:"none"},clickActionUrl:{value:""},crop:{value:false},cropHorizontalsOnly:{value:false},loadingImageAlwaysEnabled:{value:true},position:{value:"center center"},protect:{value:true},upsize:{value:true},transition:{value:"fade"},transitionDuration:{value:1},transitionEasing:{value:"ease-out"},kenBurnsZoom:{value:1.2},navType:{value:"none"},navPosition:{value:"bottom"},navOverlay:{value:false},navButtons:{value:[]},navButtonsLeft:{value:[]},navButtonsRight:{value:[]},overlayHideOnMousemove:{value:true},overlayHideDelay:{value:3000},imageNavEnabled:{value:false},mouseNavEnabled:{value:false},thumbsHideOnClick:{value:true},thumbsHorizontalSpacing:{value:15},thumbsVerticalSpacing:{value:15},thumbsSpaceEvenly:{value:true},thumbsCenterSinglePage:{value:true},thumbsPauseOnClick:{value:false},thumbsTransition:{value:"slideHorizontal"},thumbsTransitionDuration:{value:0.8},thumbsTransitionEasing:{value:"ease-out"},thumbsImageCrop:{value:true},thumbsImageWidth:{value:50},thumbsImageHeight:{value:50},captionLessLinkText:{value:"Read Less"},captionMoreLinkText:{value:"Read More"},captionTextLength:{value:200},captionStripTags:{value:false},verticalThumbsEnabled:{value:false},verticalThumbsPosition:{value:"left"},verticalThumbsOverlay:{value:false},verticalThumbsColumns:{value:1},verticalThumbsTopNavEnabled:{value:false},verticalThumbsTopNavButtons:{value:["prevPage","nextPage"]},verticalThumbsBottomNavEnabled:{value:true},verticalThumbsBottomNavButtons:{value:["prevPage","nextPage"]},verticalThumbsHorizontalSpacing:{value:15},verticalThumbsVerticalSpacing:{value:15},verticalThumbsSpaceEvenly:{value:false},verticalThumbsPauseOnClick:{value:false},verticalThumbsImageCrop:{value:true},verticalThumbsImageWidth:{value:75},verticalThumbsImageHeight:{value:75},verticalThumbsTransition:{value:"slideVertical"},verticalThumbsTransitionDuration:{value:0.8},verticalThumbsTransitionEasing:{value:"ease-out"},googlePlusButtonEnabled:{value:true},likeButtonEnabled:{value:true},pinterestButtonEnabled:{value:true},tweetButtonEnabled:{value:true}}});},"2.0.0",{requires:["anim","event-mouseenter","plugin","transition","fl-event-move","fl-slideshow-css","fl-slideshow-base","fl-utils","sm-fonticon"]});YUI.add("fl-slideshow-album-loader",function(A){A.namespace("FL").SlideshowAlbumLoader=A.Base.create("fl-slideshow-album-loader",A.Base,[],{_source:null,load:function(B){this._source=B;this.fire("start");this[A.FL.SlideshowAlbumLoader.TYPES[B.type]].call(this);},_loadComplete:function(B){B=this._randomize(B);this.fire("complete",B);},_randomize:function(C){var B;if(this.get("randomize")){C.albumInfo.images.sort(function(){return 0.5-Math.random();});for(B=0;B<C.albumInfo.images.length;B++){C.albumInfo.images[B].index=B;}}return C;},_loadSmugMug:function(){var B=new A.FL.SmugMugAPI();B.on("complete",this._loadSmugMugSuccess,this);B.addParam("method","smugmug.images.get");B.addParam("AlbumID",this._source.id);B.addParam("AlbumKey",this._source.key);B.addParam("Extras","Caption,Format,FileName");if(this._source.password){B.addParam("Password",this._source.password);}if(this._source.sp){B.addParam("SitePassword",this._source.sp);}B.request();},_loadSmugMugSuccess:function(H){var J=H.Album.Images,E={},I=typeof this._source.proxy!=="undefined"?this._source.proxy:"",C="",B="",D="",K="",G=0,L=null,F=null;E.index=this._source.index;E.id=H.Album.id;E.key=H.Album.Key;E.link=H.Album.URL;E.title=this._source.title?this._source.title:"";E.images=[];C=E.link.replace("http://","").split("/").shift();C="http://"+C+"/buy/"+H.Album.id+"_"+H.Album.Key+"/";for(G=0;G<J.length;G++){B=I+H.Album.URL+"/"+J[G].id+"_"+J[G].Key;K=J[G].Format.toLowerCase();D=K=="mp4"?".jpg":"."+K;E.images[G]={};E.images[G].index=G;E.images[G].sourceType="smugmug";E.images[G].albumId=H.Album.id;E.images[G].albumKey=H.Album.Key;E.images[G].id=J[G].id;E.images[G].key=J[G].Key;E.images[G].filename=J[G].FileName;E.images[G].format=K;E.images[G].caption=J[G].Caption||"";E.images[G].link=H.Album.URL+"#"+J[G].id+"_"+J[G].Key;E.images[G].tinyURL=B+"-Ti"+D;E.images[G].thumbURL=B+"-Th"+D;E.images[G].smallURL=B+"-S"+D;E.images[G].mediumURL=B+"-M"+D;E.images[G].largeURL=B+"-L"+D;E.images[G].xlargeURL=B+"-XL"+D;E.images[G].x2largeURL=B+"-X2"+D;E.images[G].x3largeURL=B+"-X3"+D;E.images[G].buyURL=C+J[G].id+"_"+J[G].Key;E.images[G].iframe="";if(E.images[G].caption.indexOf("iframe")){L=A.Node.create("<div>"+E.images[G].caption+"</div>");F=L.one("iframe");if(F){E.images[G].iframe=F.getAttribute("src");E.images[G].caption=E.images[G].caption.replace(/<iframe.*>.*<\/iframe>/gi,"");}}}this._loadComplete({"albumInfo":E});},_loadUrls:function(){var B={},C=0;B.index=this._source.index;B.title=this._source.title?this._source.title:"";B.images=[];for(;C<this._source.urls.length;C++){B.images[C]={};B.images[C].index=C;B.images[C].sourceType="urls";B.images[C].filename=this._source.urls[C].largeURL.split("/").pop();B.images[C].format="";B.images[C].caption=this._source.urls[C].caption||"";B.images[C].link=this._source.urls[C].largeURL;B.images[C].thumbURL=this._source.urls[C].thumbURL||this._source.urls[C].largeURL;B.images[C].smallURL=this._source.urls[C].smallURL||this._source.urls[C].largeURL;B.images[C].mediumURL=this._source.urls[C].mediumURL||this._source.urls[C].largeURL;B.images[C].largeURL=this._source.urls[C].largeURL;B.images[C].xlargeURL=this._source.urls[C].xlargeURL||this._source.urls[C].largeURL;B.images[C].x2largeURL=this._source.urls[C].x2largeURL||this._source.urls[C].largeURL;B.images[C].x3largeURL=this._source.urls[C].x3largeURL||this._source.urls[C].largeURL;B.images[C].buyURL=this._source.urls[C].buyURL||"";B.images[C].iframe=this._source.urls[C].iframe||"";}this._loadComplete({"albumInfo":B});}},{ATTRS:{randomize:{value:false}},TYPES:{"smugmug":"_loadSmugMug","flickr":"_loadFlickr","picasa":"_loadPicasa","urls":"_loadUrls","html":"_loadHtml"}});},"2.0.0",{requires:["base","fl-smugmug-api"]});YUI.add("fl-slideshow-base",function(A){A.namespace("FL").SlideshowBase=A.Base.create("fl-slideshow-base",A.Widget,[A.WidgetParent],{_albumLoader:null,albums:[],albumInfo:null,albumIndex:null,imageInfo:null,imageIndex:null,lastImageIndex:null,_resizeTimer:null,_playing:false,_playingTimer:null,_playingTimerEvent:null,_loadingImage:null,_loadingImageWrap:null,_loadingImageVisible:false,_loadingImageTimer:null,_loadingImageContainer:null,_initialHeight:null,_initialWidth:null,initializer:function(){this._albumLoader=new A.FL.SlideshowAlbumLoader({randomize:this.get("randomize")});},renderUI:function(){this._renderLoadingImage();},bindUI:function(){this._albumLoader.on("complete",this._loadAlbumComplete,this);A.one(window).on("fl-slideshow-base|resize",this._delayResize,this);A.one(window).on("fl-slideshow-base|orientationchange",this._delayResize,this);A.Node.one("body").on("keydown",A.bind(this._onKey,this));},syncUI:function(){this.get("boundingBox").addClass("fl-slideshow-"+this.get("color"));this.resize();if(this.get("loadOnRender")){this.loadAlbum(this.get("defaultAlbum"),this.get("defaultImage"));}},addAlbum:function(D){var C=this.get("source"),B=C.length;C[B]=D;C[B].index=B;this.set("source",C);},loadAlbum:function(C,B){var E=this.get("source"),D=typeof B=="undefined"?0:B;this.imageIndex=null;this.lastImageIndex=null;this.fire("albumLoadStart");this.once("albumLoadComplete",A.bind(this.loadImage,this,D));if(E[C]&&E[C].type=="album-data"){this.albums[C]=E[C].data;this._loadAlbumComplete({albumInfo:this.albums[C]});}else{if(E[C]&&this.albums[C]){this._loadAlbumComplete({albumInfo:this.albums[C]});}else{this._albumLoader.load(E[C]||E[0]);}}},_loadAlbumComplete:function(B){this.albums[B.albumInfo.index]=B.albumInfo;this.albumInfo=B.albumInfo;this.albumIndex=B.albumInfo.index;this.fire("albumLoadComplete");if(this.get("autoPlay")){this._playingTimerStart();this.fire("played");this._playing=true;}},loadImage:function(B){if(this._playing){this._playingTimerStart();}B=B<0?this.albumInfo.images.length-1:B;B=B>=this.albumInfo.images.length?0:B;this.lastImageIndex=this.imageIndex;this.imageIndex=B;this.imageInfo=this.albumInfo.images[B];this.fire("imageLoadComplete",{"imageInfo":this.imageInfo});},prevImage:function(){if(this.get("pauseOnNextOrPrev")){this.pause();}this.loadImage(this.imageIndex-1);this.fire("prevImage");},nextImage:function(){if(this.get("pauseOnNextOrPrev")){this.pause();}this.loadImage(this.imageIndex+1);this.fire("nextImage");},_onKey:function(B){switch(B.keyCode){case 37:this.prevImage();break;case 39:this.nextImage();break;}},resize:function(){var E=this.get("stretchy"),D=this.get("stretchyType"),C=parseInt(A.one("body").get("winWidth"),10),B=this.get("responsiveThreshold");if(C>B&&E&&D=="window"){this._stretchyWindowResize();}else{if((C<=B)||(E&&D=="ratio")){this._stretchyRatioResize();}else{this._standardResize();}}this.fire("resize");},_standardResize:function(){var I=this.get("stretchy"),G=this.get("stretchyType"),H=this.get("boundingBox"),F=H.get("parentNode"),C=parseInt(F.getComputedStyle("height"),10),E=parseInt(F.getComputedStyle("width"),10),B=this.get("height"),D=this.get("width");if(H.hasClass("fl-fullscreen-active")){this._stretchyWindowResize();return;}else{if(I&&G=="contain"){H.setStyle("height",C+"px");H.setStyle("width",E+"px");}else{if(!A.Lang.isNumber(B)){this._stretchyRatioResize();return;}else{H.setStyle("height",B+"px");if(D){H.setStyle("width",D+"px");}else{H.setStyle("width",E+"px");}}}}},_stretchyWindowResize:function(){var G=this.get("boundingBox"),E=this.get("stretchyVerticalSpace"),D=parseInt(G.getStyle("paddingTop"),10),F=parseInt(G.getStyle("paddingBottom"),10),B=parseInt(A.one("body").get("winHeight"),10),C="";if(G.hasClass("fl-fullscreen-active")){E=0;C=parseInt(A.one("body").get("winWidth"),10)+"px";}B=(B-D-F-E)+"px";G.setStyle("height",B);G.setStyle("width",C);},_stretchyRatioResize:function(){var G=this.get("boundingBox"),J=G.get("parentNode"),H=0,F=this.get("stretchyRatio"),L=parseInt(G.getStyle("paddingTop"),10),C=parseInt(G.getStyle("paddingBottom"),10),I=parseInt(J.getComputedStyle("width"),10),E=parseInt(A.one("body").get("winHeight"),10),D=parseInt(A.one("body").get("winWidth"),10),K=I*F,B="";if(G.hasClass("fl-fullscreen-active")){K=E;B=D;}K=(K-L-C-H)+"px";G.setStyle("height",K);G.setStyle("width",B);},_delayResize:function(){if(this._resizeTimer){this._resizeTimer.cancel();}this._resizeTimer=A.later(300,this,this.resize);},play:function(){this._playingTimer=A.later(this.get("speed"),this,this._playingTimerComplete);this.fire("played");this._playing=true;},pause:function(){this._playingTimerCancel();this.fire("paused");this._playing=false;},_setPlayingTimerEvent:function(C,B){this._playingTimerEvent={"obj":C,"e":B};},_playingTimerStart:function(B){this._playingTimerCancel();if(!B&&this._playingTimerEvent!==null){this._playingTimerEvent.obj.once("fl-slideshow-base|"+this._playingTimerEvent.e,A.bind(this._playingTimerStart,this));}else{this._playingTimer=A.later(this.get("speed"),this,this._playingTimerComplete);}},_playingTimerComplete:function(){this.loadImage(this.imageIndex+1);this.fire("playingTimerComplete");},_playingTimerCancel:function(){if(this._playingTimer){this._playingTimer.cancel();}if(this._playingTimerEvent){this._playingTimerEvent.obj.detach("fl-slideshow-base|"+this._playingTimerEvent.e);}},_renderLoadingImage:function(){var C={lines:11,length:6,width:2,radius:7,color:"",speed:1,trail:60,shadow:false},B=A.merge(C,this.get("loadingImageSettings"));if(this.get("loadingImageEnabled")){if(B.color===""){B.color=this._colorToHex(A.one("body").getStyle("color"));}this._loadingImage=new A.FL.Spinner(B);this._loadingImageWrap=A.Node.create('<div class="fl-loading-image"></div>');this._loadingImageWrap.setStyles({position:"absolute","z-index":"1000"});}},_showLoadingImage:function(){if(this._loadingImage&&!this._loadingImageVisible){this._loadingImageVisible=true;this._loadingImage.spin();this._loadingImageWrap.insert(this._loadingImage.el);
23
  if(this._loadingImageContainer!==null){this._loadingImageContainer.insert(this._loadingImageWrap);}else{this.get("contentBox").insert(this._loadingImageWrap);}this._positionLoadingImage();}},_showLoadingImageWithDelay:function(){if(this._loadingImage){this._loadingImageTimer=A.later(1000,this,this._showLoadingImage);}},_hideLoadingImage:function(){if(this._loadingImageTimer){this._loadingImageTimer.cancel();this._loadingImageTimer=null;}if(this._loadingImage&&this._loadingImageVisible){this._loadingImageVisible=false;this._loadingImage.stop();this._loadingImageWrap.remove();}},_positionLoadingImage:function(){if(this._loadingImage&&this._loadingImageVisible){var F=this._loadingImageWrap,B=parseInt(F.getComputedStyle("height"),10),G=parseInt(F.getComputedStyle("width"),10),E=F.get("parentNode"),C=parseInt(E.getComputedStyle("height"),10),D=parseInt(E.getComputedStyle("width"),10),I=(D-G)/2,H=(C-B)/2;F.setStyles({left:I+"px",top:H+"px"});A.one(this._loadingImage.el).setStyles({left:"50%",top:"50%"});}},_colorToHex:function(C){var F,G,E,B,D;if(C.substr(0,1)==="#"){return C;}F=/(.*?)rgb\((\d+), (\d+), (\d+)\)/.exec(C);G=parseInt(F[2],10);E=parseInt(F[3],10);B=parseInt(F[4],10);D=B|(E<<8)|(G<<16);D=D.toString(16);if(D==="0"){D="000";}return F[1]+"#"+D;}},{CSS_PREFIX:"fl-slideshow-base",ATTRS:{color:{value:"dark",writeOnce:true},source:{value:[],setter:function(C){if(C.constructor==Object){C=[C];}for(var B=0;B<C.length;B++){C[B].index=B;}return C;}},defaultAlbum:{value:0},defaultImage:{value:0},loadOnRender:{value:true},autoPlay:{value:true},pauseOnNextOrPrev:{value:true},randomize:{value:false},speed:{value:4000},responsiveThreshold:{value:600},stretchy:{value:false},stretchyType:{value:"ratio"},stretchyVerticalSpace:{value:0},stretchyRatio:{value:0.7},loadingImageEnabled:{value:true},loadingImageSettings:{value:{}}}});},"2.0.0",{requires:["node","base","widget","widget-parent","widget-child","fl-slideshow-album-loader","fl-spinner"]});YUI.add("fl-smugmug-api",function(A){A.namespace("FL").SmugMugAPI=A.Base.create("fl-smugmug-api",A.Base,[],{_sessionID:null,_requestURL:null,initializer:function(){this._resetRequestURL();},addParam:function(B,C){this._requestURL=this._requestURL+"&"+B+"="+C;},loginAnon:function(){this.addParam("method","smugmug.login.anonymously");this.once("complete",this._loginAnonComplete);this.request();},_loginAnonComplete:function(B){if(B.Login){this._sessionID=B.Login.Session.id;}},request:function(){this.addParam("Callback","{callback}");A.jsonp(this._requestURL,{on:{success:this._requestComplete,timeout:function(){}},context:this,timeout:60000,args:[]});},_requestComplete:function(B){this._resetRequestURL();this.fire("complete",B);},_resetRequestURL:function(){this._requestURL=this.get("apiURL")+"?APIKey="+this.get("apiKey");if(this._sessionID){this.addParam("SessionID",this._sessionID);}}},{ATTRS:{apiURL:{value:"https://api.smugmug.com/services/api/json/1.3.0/"},apiKey:{value:"7w6kuU5Ee6KSgRRExf2KLgppdkez9JD2"}}});},"2.0.0",{requires:["base","jsonp"]});YUI.add("fl-spinner",function(A){(function(e,E,L){var B="width",Q="length",g="radius",Z="lines",S="trail",V="color",q="opacity",i="speed",a="shadow",k="style",D="height",F="left",G="top",H="px",T="childNodes",p="firstChild",I="parentNode",d="position",J="relative",b="absolute",u="animation",W="transform",N="Origin",f="Timeout",P="coord",m="#000",X=k+"Sheets",M="webkit0Moz0ms0O".split(0),t={},o;function s(w,y){var v=~~((w[Q]-1)/2);for(var x=1;x<=v;x++){y(w[x*2-1],w[x*2]);}}function n(v){var w=E.createElement(v||"div");s(arguments,function(y,x){w[y]=x;});return w;}function c(v,x,w){if(w&&!w[I]){c(v,w);}v.insertBefore(x,w||null);return v;}c(E.getElementsByTagName("head")[0],n(k));var O=E[X][E[X][Q]-1];function C(AA,v){var x=[q,v,~~(AA*100)].join("-"),w="{"+q+":"+AA+"}",y;if(!t[x]){for(y=0;y<M[Q];y++){try{O.insertRule("@"+(M[y]&&"-"+M[y].toLowerCase()+"-"||"")+"keyframes "+x+"{0%{"+q+":1}"+v+"%"+w+"to"+w+"}",O.cssRules[Q]);}catch(z){}}t[x]=1;}return x;}function R(y,z){var x=y[k],v,w;if(x[z]!==L){return z;}z=z.charAt(0).toUpperCase()+z.slice(1);for(w=0;w<M[Q];w++){v=M[w]+z;if(x[v]!==L){return v;}}}function h(v){s(arguments,function(x,w){v[k][R(v,x)||x]=w;});return v;}function Y(v){s(arguments,function(x,w){if(v[x]===L){v[x]=w;}});return v;}var U=function U(v){this.opts=Y(v||{},Z,12,S,100,Q,7,B,5,g,10,V,m,q,1/4,i,1);},K=U.prototype={spin:function(AB){var AD=this,w=AD.el=AD[Z](AD.opts);if(AB){c(AB,h(w,F,~~(AB.offsetWidth/2)+H,G,~~(AB.offsetHeight/2)+H),AB[p]);}if(!o){var v=AD.opts,y=0,z=20/v[i],AA=(1-v[q])/(z*v[S]/100),AC=z/v[Z];(function x(){y++;for(var AE=v[Z];AE;AE--){var AF=Math.max(1-(y+AE*AC)%z*AA,v[q]);AD[q](w,v[Z]-AE,AF,v);}AD[f]=AD.el&&e["set"+f](x,50);})();}return AD;},stop:function(){var v=this,w=v.el;e["clear"+f](v[f]);if(w&&w[I]){w[I].removeChild(w);}v.el=L;return v;}};K[Z]=function(AA){var y=h(n(),d,J),x=C(AA[q],AA[S]),w=0,v;function z(AB,AC){return h(n(),d,b,B,(AA[Q]+AA[B])+H,D,AA[B]+H,"background",AB,"boxShadow",AC,W+N,F,W,"rotate("+~~(360/AA[Z]*w)+"deg) translate("+AA[g]+H+",0)","borderRadius","100em");}for(;w<AA[Z];w++){v=h(n(),d,b,G,1+~(AA[B]/2)+H,W,"translate3d(0,0,0)",u,x+" "+1/AA[i]+"s linear infinite "+(1/AA[Z]/AA[i]*w-1/AA[i])+"s");if(AA[a]){c(v,h(z(m,"0 0 4px "+m),G,2+H));}c(y,c(v,z(AA[V],"0 0 1px rgba(0,0,0,.1)")));}return y;};K[q]=function(w,v,x){w[T][v][k][q]=x;};var r="behavior",l="url(#default#VML)",j="group0roundrect0fill0stroke".split(0);(function(){var w=h(n(j[0]),r,l),v;if(!R(w,W)&&w.adj){for(v=0;v<j[Q];v++){O.addRule(j[v],r+":"+l);}K[Z]=function(){var AE=this.opts,AC=AE[Q]+AE[B],AA=2*AC;function x(){return h(n(j[0],P+"size",AA+" "+AA,P+N,-AC+" "+-AC),B,AA,D,AA);}var AB=x(),AD=~(AE[Q]+AE[g]+AE[B])+H,z;function y(AG,AF,AH){c(AB,c(h(x(),"rotation",360/AE[Z]*AG+"deg",F,~~AF),c(h(n(j[1],"arcsize",1),B,AC,D,AE[B],F,AE[g],G,-AE[B]/2,"filter",AH),n(j[2],V,AE[V],q,AE[q]),n(j[3],q,0))));}if(AE[a]){for(z=1;z<=AE[Z];z++){y(z,-2,"progid:DXImage"+W+".Microsoft.Blur(pixel"+g+"=2,make"+a+"=1,"+a+q+"=.3)");}}for(z=1;z<=AE[Z];z++){y(z);}return c(h(n(),"margin",AD+" 0 0 "+AD,d,J),AB);};K[q]=function(y,x,AA,z){z=z[a]&&z[Z]||0;y[p][T][x+z][p][p][q]=AA;};}else{o=R(w,u);}})();A.namespace("FL").Spinner=U;})(window,document);},"2.0.0");YUI.add("fl-utils",function(A){A.namespace("FL").Utils={cssSupport:function(F){var B=document.body||document.documentElement,E=B.style,C=["Moz","Webkit","Khtml","O","ms","Icab"],D=0;if(F=="transform"&&A.UA.gecko&&A.UA.gecko<4){return false;}if(F=="transform"&&A.UA.opera>0){return false;}if(F=="transform"&&A.UA.ie>0&&A.UA.ie<10){return false;}if(typeof E=="undefined"){return false;}if(typeof E[F]=="string"){return true;}F=F.charAt(0).toUpperCase()+F.substr(1);for(;D<C.length;D++){if(typeof E[C[D]+F]=="string"){return true;}}}};},"2.0.0");
1
+
2
  /**
3
  * Slideshow JS Bundle
4
  *
15
  }C.insert(B);},_closeButtonClick:function(){var B=this.get("host").get("boundingBox");B.transition(this._hideProps,A.bind(this._hideComplete,this));},_setFocusOnMouseenter:function(){this._focus=true;},_setFocusOnMouseleave:function(){this._focus=false;},disable:function(){this._disabled=true;},enable:function(){this._disabled=false;},show:function(){var C=this.get("host").get("boundingBox"),B=this.get("hideStyle");if(this._disabled){return;}if(B=="display"){C.setStyle("display","block");}else{if(B=="left"){C.setStyle("left","auto");}}C.transition(this._showProps,A.bind(this._showComplete,this));this.fire("showStart");},_showComplete:function(){this._visible=true;this.hideWithTimer();this.fire("showComplete");},hide:function(){if(this._focus||this._disabled){return;}var B=this.get("host").get("boundingBox");B.transition(this._hideProps,A.bind(this._hideComplete,this));this.fire("hideStart");},hideWithTimer:function(){this._hideTimerCancel();this._hideTimer=A.later(this.get("hideDelay"),this,this.hide);},_hideTimerCancel:function(){if(this._hideTimer){this._hideTimer.cancel();this._hideTimer=null;}},_hideComplete:function(){var C=this.get("host").get("boundingBox"),B=this.get("hideStyle");if(B=="display"){C.setStyle("display","none");}else{if(B=="left"){C.setStyle("left","-99999px");}}this._visible=false;this.fire("hideComplete");}},{NS:"slideshowOverlay",ATTRS:{closeButton:{value:false,writeOnce:true},hideDelay:{value:3000,writeOnce:true},hideStyle:{value:"display",writeOnce:true},visible:{value:true,writeOnce:true}}});A.namespace("FL").SlideshowSocial=A.Base.create("fl-slideshow-social",A.Widget,[A.WidgetChild],{_buttons:null,renderUI:function(){this._buttons={};if(this.get("root").get("googlePlusButtonEnabled")){this._renderGooglePlusButton();}},bindUI:function(){var B=this.get("root");if(B.get("likeButtonEnabled")){B.on("imageLoadComplete",A.bind(this._updateLikeButton,this));}if(B.get("tweetButtonEnabled")){B.on("imageLoadComplete",A.bind(this._updateTweetButton,this));}if(B.get("googlePlusButtonEnabled")){B.on("imageLoadComplete",A.bind(this._updateGooglePlusButton,this));}if(B.get("pinterestButtonEnabled")){B.on("imageLoadComplete",A.bind(this._updatePinterestButton,this));}},_updateLikeButton:function(){var G=null,C=this.get("contentBox"),E=this.get("root"),F=E.albumIndex,D=E.get("source")[F],B=E.imageInfo;if(this._buttons.like){this._buttons.like.remove();this._buttons.like=null;}if(D.type=="smugmug"){G="http://www.facebook.com/plugins/like.php?";G+="href="+"http://www.smugmug.com/services/graph/gallery/";G+=D.id+"_"+D.key+"/"+B.id+"_"+B.key;}else{G="http://www.facebook.com/plugins/like.php?";G+="href="+encodeURIComponent(B.largeURL);}G+="&send=false";G+="&layout=button_count";G+="&width=90";G+="&show_faces=false";G+="&action=like";G+="&colorscheme=light";G+="&height=21";this._buttons.like=A.Node.create('<iframe src="'+G+'" scrolling="no" frameborder="0" allowTransparency="true"></iframe>');this._buttons.like.setStyles({overflow:"hidden",width:"90px",height:"21px"});C.appendChild(this._buttons.like);},_updateTweetButton:function(){var D=null,C=this.get("root").imageInfo,B=this.get("contentBox");if(this._buttons.tweet){this._buttons.tweet.remove();this._buttons.tweet=null;}D="https://platform.twitter.com/widgets/tweet_button.html?";D+="url="+encodeURIComponent(C.largeURL);D+="&count=none";this._buttons.tweet=A.Node.create('<iframe src="'+D+'" scrolling="no" frameborder="0" allowTransparency="true"></iframe>');this._buttons.tweet.setStyles({overflow:"hidden",width:"90px",height:"21px"});B.appendChild(this._buttons.tweet);},_renderGooglePlusButton:function(){var B,C;B=document.createElement("script");B.type="text/javascript";B.src="https://apis.google.com/js/plusone.js";C=document.getElementsByTagName("head")[0];C.parentNode.appendChild(B);},_updateGooglePlusButton:function(){var C=this.get("root").imageInfo,B=this.get("contentBox"),D=typeof D=="undefined"?null:D;if(this._buttons.plus){this._buttons.plus.remove();this._buttons.plus=null;}if(D!==null){this._buttons.plus=A.Node.create("<div></div>");B.appendChild(this._buttons.plus);D.plusone.render(this._buttons.plus._node,{href:encodeURIComponent(C.largeURL),annotation:"bubble",size:"medium"});}},_updatePinterestButton:function(){var D="http://pinterest.com/pin/create/button/",C=this.get("root").imageInfo,B=this.get("contentBox");if(this._buttons.pin){this._buttons.pin.remove();this._buttons.pin=null;}D+="?url="+encodeURIComponent(window.location.href);D+="&media="+encodeURIComponent(C.mediumURL);D+="&description="+encodeURIComponent(C.caption);this._buttons.pin=A.Node.create("<a></a>");this._buttons.pin.setAttribute("data-pin-config","none");this._buttons.pin.setAttribute("data-pin-do","buttonPin");this._buttons.pin.setAttribute("href",D);this._buttons.pin.setAttribute("target","_blank");this._buttons.pin.set("innerHTML",'<img src="http://assets.pinterest.com/images/pidgets/pin_it_button.png" border="0" />');B.appendChild(this._buttons.pin);}},{CSS_PREFIX:"fl-slideshow-social",ATTRS:{}});A.namespace("FL").SlideshowThumbs=A.Base.create("fl-slideshow-thumbs",A.Widget,[A.WidgetParent,A.WidgetChild],{_clipBox:null,_pagesBox:null,_activePageBox:null,_activePageIndex:0,_nextPageBox:null,_activeImages:null,_nextImages:null,_prevImages:null,_leftNav:null,_rightNav:null,_topNav:null,_bottomNav:null,_bbHeight:0,_bbWidth:0,_cbWidth:0,_clipBoxMarginLeft:0,_clipBoxTop:0,_colsPerPage:0,_rowsPerPage:0,_imagesPerPage:0,_numPages:0,_pageHeight:0,_pageWidth:0,_horizontalSpacing:0,_verticalSpacing:0,_leftNavWidth:0,_rightNavWidth:0,_transition:null,_transitioning:false,_transitionDirection:"next",_gestures:null,initializer:function(){this._activeImages=[];this._nextImages=[];this._prevImages=[];},renderUI:function(){this._renderBoxes();this._renderNavs();},bindUI:function(){var B=this.get("root"),D=this.get("id"),C=this.get("transition");B.on(D+"|albumLoadComplete",this._albumLoadComplete,this);if("ontouchstart" in window&&this.get("touchSupport")){this._gestures=new A.FL.SlideshowGestures({direction:C=="slideVertical"?"vertical":"horizontal",activeItem:this._activePageBox,nextItem:this._nextPageBox});
16
  this._gestures.on("moveStart",this._gesturesMoveStart,this);this._gestures.on("endComplete",this._gesturesEndComplete,this);}},syncUI:function(){this._syncBoxes();this._syncNavs();},destructor:function(){var B=this.get("root"),C=this.get("id");B.detach(C+"|*");A.FL.SlideshowImageLoader.removeGroup("thumbs");},unload:function(){var B=this.get("root"),D=this.get("id"),C=0;B.detach(D+"|imageLoadComplete");A.FL.SlideshowImageLoader.removeGroup("thumbs");for(;C<this._activeImages.length;C++){this._activeImages[C].unload();}},resize:function(){this._setSizeInfo();this._togglePageButtons();this._resizeBoxes();this._resizeNavs();if(this.get("root").albumInfo){A.FL.SlideshowImageLoader.removeGroup("thumbs");this._renderActivePage();this._preloadNextPage();this._preloadPrevPage();}if(this._gestures&&this._numPages<2){this._gestures.disable();}else{if(this._gestures){this._gestures.enable();}}},prevPage:function(){if(this._transitioning){return;}this._transitionStart("prev");},nextPage:function(){if(this._transitioning){return;}this._transitionStart("next");},_albumLoadComplete:function(){var B=this.get("root"),C=this.get("id");B.once(C+"|imageLoadComplete",this.resize,this);B.on(C+"|imageLoadComplete",this._imageLoadComplete,this);},_imageLoadComplete:function(){var B=this.get("root").albumInfo,E=A.one(".fl-slideshow-image-active"),F=E?E._imageInfo:null,D=null,C=this.get("root").imageInfo;this._setActiveImage(this._activeImages);D=A.one(".fl-slideshow-image-active");if(E&&!D){if(C.index===0&&F.index===B.images.length-1){this.nextPage();}else{if(F.index===0&&C.index===B.images.length-1){this.prevPage();}else{if(F.index<C.index){this.nextPage();}else{if(F.index>C.index){this.prevPage();}}}}}},_renderBoxes:function(){this._clipBox=A.Node.create("<div></div>");this._clipBox.addClass("fl-slideshow-thumbs-clip");this.get("contentBox").insert(this._clipBox);this._pagesBox=A.Node.create("<div></div>");this._pagesBox.addClass("fl-slideshow-thumbs-pages");this._clipBox.insert(this._pagesBox);this._activePageBox=A.Node.create("<div></div>");this._activePageBox.addClass("fl-slideshow-thumbs-page");this._pagesBox.insert(this._activePageBox);this._nextPageBox=A.Node.create("<div></div>");this._nextPageBox.addClass("fl-slideshow-thumbs-page");this._pagesBox.insert(this._nextPageBox);},_syncBoxes:function(){this._activePageBox.setStyle("left","0");this._nextPageBox.setStyle("left","-9999px");},_resizeBoxes:function(){this.set("width",this._bbWidth);this.set("height",this._bbHeight);this.get("contentBox").setStyle("width",this._cbWidth+"px");this._clipBox.setStyle("width",this._pageWidth+"px");this._clipBox.setStyle("height",this._pageHeight+"px");this._clipBox.setStyle("padding",this._verticalSpacing+"px 0 0 "+this._horizontalSpacing+"px ");this._clipBox.setStyle("margin","0 0 0 "+this._clipBoxMarginLeft+"px");this._clipBox.setStyle("top",this._clipBoxTop);this._pagesBox.setStyle("width",this._pageWidth+"px");this._pagesBox.setStyle("height",this._pageHeight+"px");this._activePageBox.setStyle("width",this._pageWidth+"px");this._activePageBox.setStyle("height",this._pageHeight+"px");this._nextPageBox.setStyle("width",this._pageWidth+"px");this._nextPageBox.setStyle("height",this._pageHeight+"px");},_renderActivePage:function(){var E=0,D=this.get("root"),C=this._imagesPerPage*this._activePageIndex,F=C+this._imagesPerPage,B=D.albumInfo.images;this._clearActiveImage();for(;E<this._activeImages.length;E++){this._activeImages[E].remove();this._activeImages[E].unload();this._activeImages[E].get("boundingBox")._imageInfo=null;this._activeImages[E].get("boundingBox").remove();}for(E=0;C<F;C++){if(!B[C]){break;}this._renderImage(this._activeImages,E,this._activePageBox,B[C]);E++;}this._setActiveImage(this._activeImages);},_renderNextPage:function(){var B=0,C=this._transitionDirection=="next"?this._nextImages:this._prevImages;this._nextPageBox.get("children").remove();for(;B<C.length;B++){if(C[B]._imageInfo){this._renderImage(C,B,this._nextPageBox,C[B]._imageInfo);}else{break;}}this._setActiveImage(C);},_preloadNextPage:function(){var B=this._activePageIndex+1>=this._numPages?0:this._activePageIndex+1;this._preloadPage(B,this._nextImages);},_preloadPrevPage:function(){var B=this._activePageIndex-1<0?this._numPages-1:this._activePageIndex-1;this._preloadPage(B,this._prevImages);},_preloadPage:function(E,D){var F=0,I=this.get("root"),H=I.albumInfo.images,C=E*this._imagesPerPage,G=C+this._imagesPerPage,J=this.get("imageConfig"),B=J.width,K=J.height;if(this._numPages>1){for(;F<D.length;F++){D[F].remove();D[F].unload();}for(F=0;C<G;C++){if(!H[C]){continue;}this._renderImage(D,F);D[F].preload(H[C],B,K);F++;}}},_renderImage:function(G,E,F,B){var C=null,D=this.get("imageConfig");if(typeof G[E]=="undefined"){D.loadGroup="thumbs";D.useThumbSizes=true;D.loadVideos=false;G[E]=new A.FL.SlideshowImage(D);C=G[E].get("boundingBox");C.on("click",this._imageClick,this);C.on("mouseover",this._imageMouseover,this);C.on("mouseout",this._imageMouseout,this);}C=G[E].get("boundingBox");C.setStyle("margin","0 "+this._horizontalSpacing+"px "+this._verticalSpacing+"px 0");if(F){this._childrenContainer=F;this.add(G[E]);G[E].resize(D.width,D.height);}if(B){G[E].load(B);C._imageInfo=B;}},_uiAddChild:function(C,B){C.render(B);B.appendChild(C.get("boundingBox"));},_imageClick:function(C){var B=this.get("root");if(this.get("pauseOnClick")){B.pause();}B.loadImage(C.currentTarget._imageInfo.index);this.fire("imageClick");},_setActiveImage:function(C){var B=0;this._clearActiveImage();for(;B<C.length;B++){if(C[B]._imageInfo){if(C[B]._imageInfo.index==this.get("root").imageInfo.index){C[B].get("boundingBox").addClass("fl-slideshow-image-active");break;}}}},_clearActiveImage:function(){var B=A.one(".fl-slideshow-image-active");if(B){B.removeClass("fl-slideshow-image-active");}},_getTransition:function(){var B=this.get("transition");if(B=="slideHorizontal"&&this._transitionDirection=="next"){return"slideLeft";}else{if(B=="slideHorizontal"&&this._transitionDirection=="prev"){return"slideRight";
17
  }else{if(B=="slideVertical"&&this._transitionDirection=="next"){return"slideUp";}else{if(B=="slideVertical"&&this._transitionDirection=="prev"){return"slideDown";}}}}return B;},_transitionStart:function(B){if(this._numPages>1){A.FL.SlideshowImageLoader.removeGroup("thumbs");this._transitionDirection=B;this._transitioning=true;this._nextPageBox.setStyle("left","0px");this._renderNextPage();this._transition=new A.FL.SlideshowTransition({itemIn:this._nextPageBox,itemOut:this._activePageBox,type:this._getTransition(),duration:this.get("transitionDuration"),easing:this.get("transitionEasing")});this._transition.once("complete",this._transitionComplete,this);this._transition.run();if(this._gestures){this._gestures.disable();}}},_transitionComplete:function(){this._swapPageRefs();this._transitioning=false;this._transitionDirection="";this._transition=null;if(this._gestures){this._gestures.enable();}this.fire("transitionComplete");},_gesturesMoveStart:function(B){A.FL.SlideshowImageLoader.removeGroup("thumbs");this._transitionDirection=B.direction;this._renderNextPage();},_gesturesEndComplete:function(){this._swapPageRefs();this._transitionDirection="";this.fire("transitionComplete");},_swapPageRefs:function(){var B=this._activePageBox,C=this._activeImages;this._activePageBox=this._nextPageBox;this._nextPageBox=B;this._nextPageBox.setStyle("left","-9999px");if(this._transitionDirection=="next"){this._activeImages=this._nextImages;this._nextImages=C;}else{this._activeImages=this._prevImages;this._prevImages=C;}if(this._transitionDirection=="next"&&this._activePageIndex+1<this._numPages){this._activePageIndex++;}else{if(this._transitionDirection=="next"){this._activePageIndex=0;}else{if(this._transitionDirection=="prev"&&this._activePageIndex-1>-1){this._activePageIndex--;}else{if(this._transitionDirection=="prev"){this._activePageIndex=this._numPages-1;}}}}if(this._gestures){this._gestures.set("activeItem",this._activePageBox);this._gestures.set("nextItem",this._nextPageBox);}this._preloadNextPage();this._preloadPrevPage();},_renderNavs:function(){var D=this.get("topNavButtons"),C=this.get("rightNavButtons"),B=this.get("bottomNavButtons"),E=this.get("leftNavButtons");if(this.get("topNavEnabled")&&D.length>0){this._topNav=new A.FL.SlideshowNav({buttons:D});this._topNav.get("boundingBox").addClass("fl-slideshow-thumbs-top-nav");this.add(this._topNav);this._topNav.render(this.get("contentBox"));this._clipBox.insert(this._topNav.get("boundingBox"),"before");this._bindNavEvents(this._topNav);}if(this.get("rightNavEnabled")&&C.length>0){this._rightNav=new A.FL.SlideshowNav({buttons:C});this._rightNav.get("boundingBox").addClass("fl-slideshow-thumbs-right-nav");this.add(this._rightNav);this._rightNav.render(this.get("contentBox"));this._bindNavEvents(this._rightNav);}if(this.get("bottomNavEnabled")&&B.length>0){this._bottomNav=new A.FL.SlideshowNav({buttons:B});this._bottomNav.get("boundingBox").addClass("fl-slideshow-thumbs-bottom-nav");this.add(this._bottomNav);this._bottomNav.render(this.get("contentBox"));this._bindNavEvents(this._bottomNav);}if(this.get("leftNavEnabled")&&E.length>0){this._leftNav=new A.FL.SlideshowNav({buttons:E});this._leftNav.get("boundingBox").addClass("fl-slideshow-thumbs-left-nav");this.add(this._leftNav);this._leftNav.render(this.get("contentBox"));this._bindNavEvents(this._leftNav);}},_syncNavs:function(){var D,B,C;if(this._rightNav){D=this._rightNav.get("boundingBox");D.setStyle("position","absolute");D.setStyle("top","0px");D.setStyle("right","0px");}if(this._bottomNav){B=this._bottomNav.get("boundingBox");B.setStyle("position","absolute");B.setStyle("bottom","0px");B.setStyle("width","100%");}if(this._leftNav){C=this._leftNav.get("boundingBox");C.setStyle("position","absolute");C.setStyle("top","0px");C.setStyle("left","0px");}},_resizeNavs:function(){var D,C,B;if(this._rightNav){D=this._rightNav.get("boundingBox");B=this._bbHeight/2-parseInt(D.getComputedStyle("height"),10)/2;D.setStyle("marginTop",B+"px");}if(this._leftNav){C=this._leftNav.get("boundingBox");B=this._bbHeight/2-parseInt(C.getComputedStyle("height"),10)/2;C.setStyle("marginTop",B+"px");}},_bindNavEvents:function(B){if(B._buttons.prevPage){B._buttons.prevPage.on("click",this.prevPage,this);}if(B._buttons.nextPage){B._buttons.nextPage.on("click",this.nextPage,this);}B.on("resize",this.resize,this);},_togglePageButtons:function(){var B=A.all(".fl-slideshow-nav-prevPage, .fl-slideshow-nav-nextPage"),C=B.getStyle("display")[0];if(this._numPages==1&&C=="inline-block"){B.setStyle("display","none");this._setSizeInfo();}else{if(this._numPages>1&&C=="none"){B.setStyle("display","inline-block");this._setSizeInfo();}}},_setSizeInfo:function(){var V=this.get("root"),k=this.get("boundingBox"),L=k.getStyle("position"),J=parseInt(k.getStyle("marginLeft"),10),B=parseInt(k.getStyle("marginRight"),10),X=parseInt(k.getStyle("marginTop"),10),I=parseInt(k.getStyle("marginBottom"),10),m=parseInt(k.getStyle("paddingLeft"),10),c=parseInt(k.getStyle("paddingRight"),10),i=parseInt(k.getStyle("paddingTop"),10),f=parseInt(k.getStyle("paddingBottom"),10),F=k.get("parentNode"),Q=parseInt(F.getComputedStyle("width"),10),d=parseInt(F.getComputedStyle("height"),10),Y=Q-m-c-J-B,T=d-i-f-X-I,Z=Y,R=Y,P=T,G=this.get("columns"),h=this.get("rows"),K=this.get("imageConfig"),C=this.get("horizontalSpacing"),O=this.get("verticalSpacing"),H=this.get("spaceEvenly"),W=this.get("centerSinglePage"),j=0,U=0,e=0,S=0,M=G,a=h,D=0,l=1,b=0,g=0,E=0,N=0;k.setStyle("position","relative");if(!isNaN(G)){Y=R=G*(K.width+C)+C;}if(!isNaN(h)){T=P=h*(K.height+O)+O;}if(this._leftNav){j=parseInt(this._leftNav.get("boundingBox").getComputedStyle("width"),10);if(isNaN(G)){R-=j;}else{Y+=j;}}if(this._rightNav){U=parseInt(this._rightNav.get("boundingBox").getComputedStyle("width"),10);if(isNaN(G)){R-=U;}else{Y+=U;}}if(this._topNav){e=parseInt(this._topNav.get("boundingBox").getComputedStyle("height"),10);if(isNaN(h)){P-=e;}else{T+=e;}}if(this._bottomNav){S=parseInt(this._bottomNav.get("boundingBox").getComputedStyle("height"),10);
18
+ if(isNaN(h)){P-=S;}else{T+=S;}}if(isNaN(G)){M=Math.floor(R/(K.width+C));M=M<1?1:M;}if(isNaN(h)){a=Math.floor(P/(K.height+O));a=a<1?1:a;}D=M*a;if(V.albumInfo){l=Math.ceil(V.albumInfo.images.length/D);}if(isNaN(G)&&H){C=Math.floor((R-(K.width*M))/(M+1));}if(isNaN(h)&&H){O=Math.floor((P-(K.height*a))/(a+1));}if(V.albumInfo&&W&&l==1&&a==1){Z=V.albumInfo.images.length*K.width;Z+=C*(V.albumInfo.images.length+1);if(this._leftNav){Z+=j;}if(this._rightNav){Z+=U;}}else{Z=Y;}if(V.albumInfo&&W&&l==1&&a==1){R=V.albumInfo.images.length*K.width;R+=C*V.albumInfo.images.length;}else{R=M*(K.width+C);}P=a*(K.height+O);if(l<2){b=j;}else{E=Y;if(this._rightNav){E-=U;}if(this._leftNav){E-=j;b=j+(E-R-C)/2;}else{b=(E-R-C)/2;}}if(l>1&&!H){N=T;if(this._topNav){N-=e;}if(this._bottomNav){N-=S;}g=(N-(O+P))/2;}this._bbHeight=T;this._bbWidth=Y;this._cbWidth=Z;this._clipBoxMarginLeft=b;this._clipBoxTop=g;this._colsPerPage=M;this._rowsPerPage=a;this._imagesPerPage=D;this._numPages=l;this._pageHeight=P;this._pageWidth=R;this._leftNavWidth=j;this._rightNavWidth=U;this._horizontalSpacing=C;this._verticalSpacing=O;this._activePageIndex=Math.floor(V.imageIndex/this._imagesPerPage);k.setStyle("position",L);}},{CSS_PREFIX:"fl-slideshow-thumbs",ATTRS:{columns:{value:"auto"},rows:{value:"auto"},horizontalSpacing:{value:15},verticalSpacing:{value:15},spaceEvenly:{value:true},centerSinglePage:{value:true},pauseOnClick:{value:false},transition:{value:"slideHorizontal"},transitionDuration:{value:0.8},transitionEasing:{value:"ease-out"},imageConfig:{value:{crop:true,width:50,height:50}},topNavEnabled:{value:false},topNavButtons:{value:["prevPage","nextPage"]},rightNavEnabled:{value:true},rightNavButtons:{value:["nextPage"]},bottomNavEnabled:{value:false},bottomNavButtons:{value:["prevPage","nextPage"]},leftNavEnabled:{value:true},leftNavButtons:{value:["prevPage"]},touchSupport:{value:false}}});A.namespace("FL").SlideshowTransition=A.Base.create("fl-slideshow-transition",A.Base,[],{_transitionFunction:"_transitionFade",_type:"fade",initializer:function(){var D=this.get("type"),I=[],C=A.FL.SlideshowTransition.TYPES,E=A.FL.SlideshowTransition.SLIDESHOW_IMAGE_TYPES,H=A.Array.indexOf(E,D)>-1,B=this._isSlideshowImage(),G=this.get("itemIn"),F=this.get("itemOut");if(D.indexOf(",")>-1){I=D.split(",");I.sort(function(){return 0.5-Math.random();});D=I[0];}if(!B&&H){D="fade";}else{if(B){if((G&&G.one("img")===null)||(F&&F.one("img")===null)){D="none";}else{if(H){if((A.UA.gecko&&A.UA.gecko<5)||A.UA.opera>0||(A.UA.ie>0&&A.UA.ie<9)){D="fade";}}}}}if(A.FL.SlideshowTransition.TYPES[D]){this._transitionFunction=C[D];this._type=D;}this._setupItems();},run:function(){this.fire("start");this[this._transitionFunction].call(this);},_setupItems:function(){var C=this.get("itemIn"),B=this.get("itemOut");if(C){C.setStyle("zIndex",2);C.setStyle("opacity",1);if(A.FL.Utils.cssSupport("transform")){C.setStyle("transform","translate(0, 0)");}else{C.setStyle("top","0");C.setStyle("left","0");}}if(B){B.setStyle("zIndex",1);}},_isSlideshowImage:function(){var C=this.get("itemIn"),B=this.get("itemOut");if(C&&C.hasClass("fl-slideshow-image")){return true;}else{if(B&&B.hasClass("fl-slideshow-image")){return true;}}return false;},_transitionStart:function(I,B){var H=this.get("itemIn"),F=this.get("itemOut"),E=A.bind(this._transitionComplete,this),D=!H?E:null,C=this.get("duration"),G=this.get("easing");if(H){I.duration=I.duration||C;I.easing=I.easing||G;H.transition(I);}if(F){B.duration=B.duration||C;B.easing=B.easing||G;F.transition(B);}if(E){A.later(I.duration*1000+100,null,E);}else{if(D){A.later(B.duration*1000+100,null,D);}}},_transitionComplete:function(){this._set("itemIn",null);this._set("itemOut",null);this.fire("complete");},_transitionNone:function(){var C=this.get("itemIn"),B=this.get("itemOut");if(C){C.setStyle("opacity",1);}if(B){B.setStyle("opacity",0);}this._transitionComplete();},_transitionFade:function(){var B=this.get("itemIn");if(B){B.setStyle("opacity",0);}this._transitionStart({opacity:1},{opacity:0});},_transitionSlideLeft:function(){if(A.FL.Utils.cssSupport("transform")){this._cssTransitionSlide({inStart:"translate(100%, 0)",inEnd:"translate(0, 0)",outStart:"translate(0, 0)",outEnd:"translate(-100%, 0)"});}else{this._jsTransitionSlide("left");}},_transitionSlideRight:function(){if(A.FL.Utils.cssSupport("transform")){this._cssTransitionSlide({inStart:"translate(-100%, 0)",inEnd:"translate(0, 0)",outStart:"translate(0, 0)",outEnd:"translate(100%, 0)"});}else{this._jsTransitionSlide("right");}},_transitionSlideUp:function(){if(A.FL.Utils.cssSupport("transform")){this._cssTransitionSlide({inStart:"translate(0, 100%)",inEnd:"translate(0, 0)",outStart:"translate(0, 0)",outEnd:"translate(0, -100%)"});}else{this._jsTransitionSlide("up");}},_transitionSlideDown:function(){if(A.FL.Utils.cssSupport("transform")){this._cssTransitionSlide({inStart:"translate(0, -100%)",inEnd:"translate(0, 0)",outStart:"translate(0, 0)",outEnd:"translate(0, 100%)"});}else{this._jsTransitionSlide("down");}},_jsTransitionSlide:function(B){var E=this.get("itemIn"),C=this.get("itemOut"),D=0;if(C&&B=="left"){D=-parseInt(C.getStyle("width"),10);}if(C&&B=="right"){D=parseInt(C.getStyle("width"),10);}if(C&&B=="up"){D=-parseInt(C.getStyle("height"),10);}if(C&&B=="down"){D=parseInt(C.getStyle("height"),10);}if(E){E.setStyle("opacity",1);}if(E&&B=="left"){E.setStyle("left",E.getStyle("width"));}if(E&&B=="right"){E.setStyle("left","-"+E.getStyle("width"));}if(E&&B=="up"){E.setStyle("top",E.getStyle("height"));}if(E&&B=="down"){E.setStyle("top","-"+E.getStyle("height"));}if(B=="left"||B=="right"){this._transitionStart({left:0},{left:D});}else{this._transitionStart({top:0},{top:D});}},_cssTransitionSlide:function(E){var G=this.get("itemIn"),F=this.get("itemOut"),C=A.UA.chrome<36?"transform":"-webkit-transform",D={},B={};D[C]=E.inEnd;B[C]=E.outEnd;if(G){G.setStyle("transition","");G.setStyle("opacity",1);G.setStyle(C,E.inStart);}if(F){F.setStyle("transition","");F.setStyle(C,E.outStart);}this._transitionStart(D,B);
19
+ },_transitionBars:function(){this.get("itemIn").one(".fl-slideshow-image-img").setStyle("opacity",0);var D=this.get("bars"),I=this._renderSlices(1,D),B=this.get("duration"),E=0,H=100,J=false,C=0,G=null,F={duration:B,opacity:1};if(this._type=="barsRandom"){I=this._randomizeSlices(I);}for(;C<I.length;C++){G=A.clone(F);if(this._type=="blinds"){G.width=parseFloat(I[C].getComputedStyle("width"),10)+"px";I[C].setStyle("width","0px");H=50;}J=C==I.length-1?true:false;A.later(E,this,this._transitionSlice,[I[C],G,J]);E+=H;}this._transitionSlicesFadeLast(E);},_transitionBoxes:function(){this.get("itemIn").one(".fl-slideshow-image-img").setStyle("opacity",0);var D=this.get("boxCols"),H=this.get("boxRows"),L=D*H,I=this._type!="boxesRandom",O=this._renderSlices(H,D,I),E=this.get("duration"),G=0,M=150,N=false,F=0,P=0,C=0,B=-1,K=null,J={duration:E,opacity:1};if(!I){O=this._randomizeSlices(O);M=30;for(;F<O.length;F++){K=A.clone(J);N=F==O.length-1?true:false;A.later(G,this,this._transitionSlice,[O[F],K,N]);G+=M;}}else{while(F<L){for(P=0;P<H;P++){if(P===0){B++;C=B;}if(C>-1&&C<D){F++;K=A.clone(J);if(this._type=="boxesGrow"){K.height=parseFloat(O[P][C].getComputedStyle("height"),10)+"px";K.width=parseFloat(O[P][C].getComputedStyle("width"),10)+"px";O[P][C].setStyle("height","0px");O[P][C].setStyle("width","0px");M=50;}N=F==L-1?true:false;A.later(G,this,this._transitionSlice,[O[P][C],K,N]);}C--;}G+=M;}}this._transitionSlicesFadeLast(G);},_renderSlices:function(F,H,P){var L=this.get("itemIn"),R=parseFloat(L.getComputedStyle("height"),10),G=parseFloat(L.getComputedStyle("width"),10),T=L.one("img"),B=T.get("src"),S=parseFloat(T.getComputedStyle("height"),10),O=parseFloat(T.getComputedStyle("width"),10),D=parseFloat(T.getComputedStyle("left"),10),N=parseFloat(T.getComputedStyle("top"),10),J=0,M=0,E=Math.round(R/F),K=Math.round(G/H),Q=null,I=null,C=[];for(;M<F;M++){if(typeof P!=="undefined"&&P){C[M]=[];}for(J=0;J<H;J++){Q=A.Node.create('<div class="fl-slideshow-transition-slice"></div>');I=A.Node.create('<img src="'+B+'" />');Q.setStyles({left:(K*J)+"px",top:(E*M)+"px",width:J==H-1?(G-(K*J))+"px":K+"px",height:M==F-1?(R-(E*M))+"px":E+"px",opacity:0});I.setStyles({height:S+"px",width:O+"px",top:N-((E+(M*E))-E)+"px",left:D-((K+(J*K))-K)+"px"});Q.append(I);L.append(Q);if(typeof P!=="undefined"&&P){C[M].push(Q);}else{C.push(Q);}}}return C;},_transitionSlicesFadeLast:function(B){var C=this.get("itemOut");if(C&&!C.hasClass("fl-slideshow-image-cropped")){C.transition({duration:B/1000+this.get("duration"),opacity:0});}},_transitionSlice:function(D,B,C){var E=C?A.bind(this._transitionSlicesComplete,this):null;D.transition(B,E);},_transitionSlicesComplete:function(){var B=this.get("itemIn");B.all(".fl-slideshow-transition-slice").remove();B.one(".fl-slideshow-image-img").setStyle("opacity",1);this._transitionComplete();},_randomizeSlices:function(E){var D=E.length,C,B;if(D===0){return;}while(--D){C=Math.floor(Math.random()*(D+1));B=E[D];E[D]=E[C];E[C]=B;}return E;},_transitionKenBurns:function(){var C=this.get("kenBurnsDuration"),D=this.get("duration"),E=this.get("itemIn"),B=this.get("kenBurnsZoom");this._transitionFade();(new A.FL.SlideshowKenBurns({duration:C+D+4,image:E,zoom:B})).run();}},{ATTRS:{itemIn:{value:null},itemOut:{value:null},duration:{value:0.5},easing:{value:"ease-out"},type:{value:"fade"},bars:{value:15},boxCols:{value:8},boxRows:{value:4},kenBurnsDuration:{value:4},kenBurnsZoom:{value:1.2}},TYPES:{fade:"_transitionFade",none:"_transitionNone",slideLeft:"_transitionSlideLeft",slideRight:"_transitionSlideRight",slideUp:"_transitionSlideUp",slideDown:"_transitionSlideDown",blinds:"_transitionBars",bars:"_transitionBars",barsRandom:"_transitionBars",boxes:"_transitionBoxes",boxesRandom:"_transitionBoxes",boxesGrow:"_transitionBoxes",kenBurns:"_transitionKenBurns"},SLIDESHOW_IMAGE_TYPES:["blinds","bars","barsRandom","boxes","boxesRandom","boxesGrow","kenBurns"]});A.namespace("FL").Slideshow=A.Base.create("fl-slideshow",A.FL.SlideshowBase,[],{frame:null,nav:null,imageNavLeft:null,imageNavRight:null,thumbs:null,verticalThumbs:null,caption:null,social:null,_nextImagePreloader:null,_initialNavSettings:null,initializer:function(){var B={loadGroup:"main-preload",crop:this.get("crop"),position:this.get("position"),protect:this.get("protect"),upsize:this.get("upsize")};this._nextImagePreloader=new A.FL.SlideshowImage(B);if("ontouchstart" in window){this._removeNavButton("prev");this._removeNavButton("prevPage");this._removeNavButton("next");this._removeNavButton("nextPage");this._removeNavButton("fullscreen");}if(this._hasNavButton("fullscreen")){if(A.FL.SlideshowFullscreen.OS_SUPPORT){this.plug(A.FL.SlideshowFullscreen);}else{this._removeNavButton("fullscreen");}}},renderUI:function(){A.FL.Slideshow.superclass.renderUI.apply(this,arguments);this._renderFrame();this._renderVerticalThumbs();this._renderNavAndThumbs();this._renderImageNav();this._renderMouseNav();this._renderCaption();this._renderSocial();},bindUI:function(){var F=this.get("boundingBox"),E=this.frame.get("boundingBox"),D=this.get("navOverlay"),C=this.get("navType"),G=this._getNav(),B=this.get("clickAction");A.FL.Slideshow.superclass.bindUI.apply(this,arguments);A.Do.after(this._resizeChildWidgets,this,"resize");this.on("albumLoadStart",this._albumLoadStart,this);this.on("albumLoadComplete",this._albumLoadComplete,this);this.on("imageLoadComplete",this._loadFrame,this);if(this.get("loadingImageAlwaysEnabled")){this.frame.on("transitionInit",A.bind(this._showLoadingImageWithDelay,this));this.frame.on("transitionStart",A.bind(this._hideLoadingImage,this));}if(this.get("overlayHideOnMousemove")){if(G&&D){this.frame.once("transitionComplete",G.slideshowOverlay.hideWithTimer,G.slideshowOverlay);F.on("mousemove",A.bind(this._toggleNav,this));}if(C=="buttons"||C=="thumbs"||C=="custom"){F.on("mouseenter",A.bind(this._checkOverlaysOnMouseenter,this));F.on("mouseleave",A.bind(this._hideAllOverlays,this));}}F.delegate("click",A.bind(this._overlayCloseClick,this),".fl-slideshow-overlay-close");
20
+ if(B=="gallery"||B=="url"){E.delegate("click",A.bind(this._frameClick,this),".fl-slideshow-image-img");}},syncUI:function(){var B=this.get("boundingBox");A.FL.Slideshow.superclass.syncUI.apply(this,arguments);B._node.onselectstart=function(){return false;};B._node.unselectable="on";B._node.style.MozUserSelect="none";if(this.get("clickAction")!="none"){this.frame.get("boundingBox").addClass("fl-click-action-enabled");}},unload:function(){this.pause();this.frame.unload();if(this.thumbs!==null){this.thumbs.unload();}},_albumLoadStart:function(){this._showLoadingImage();},_albumLoadComplete:function(){this.frame.once("transitionStart",A.bind(this._hideLoadingImage,this));},_resizeChildWidgets:function(){var D=this.get("boundingBox"),B=this.get("contentBox"),C=this.get("imageNavEnabled");this._renderNavAndThumbs();if(this.get("verticalThumbsOverlay")){this._resizeFrame(B.get("offsetWidth"),D.get("offsetHeight"));this._resizeVerticalThumbs();}else{this._resizeVerticalThumbs();this._resizeFrame(B.get("offsetWidth"),D.get("offsetHeight"));}if(C){this._positionImageNav();}this._positionLoadingImage();},_renderVerticalThumbs:function(){var B=this.get("responsiveThreshold"),E=this.get("boundingBox"),C=E.get("offsetWidth"),D;if(this.get("verticalThumbsEnabled")&&C>B){this.verticalThumbs=new A.FL.SlideshowThumbs(this._getVerticalThumbsConfig());this.add(this.verticalThumbs);this.verticalThumbs.render(E);D=this.verticalThumbs.get("boundingBox");D.addClass("fl-slideshow-vertical-thumbs");D.setStyle(this.get("verticalThumbsPosition"),0);E.append(D);if(this.get("verticalThumbsOverlay")){this.verticalThumbs.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay"),hideStyle:"left"});this.frame.get("boundingBox").append(D);this.verticalThumbs.resize();}else{this.verticalThumbs.resize();this._adjustContentForVerticalThumbs();}this._bindVerticalThumbs();}},_getVerticalThumbsConfig:function(){var C=this.getAttrs(),B={columns:C.verticalThumbsColumns,rows:"auto",centerSinglePage:false,horizontalSpacing:C.verticalThumbsHorizontalSpacing,verticalSpacing:C.verticalThumbsVerticalSpacing,spaceEvenly:C.verticalThumbsSpaceEvenly,rightNavEnabled:false,leftNavEnabled:false,topNavEnabled:C.verticalThumbsTopNavEnabled,topNavButtons:C.verticalThumbsTopNavButtons,bottomNavEnabled:C.verticalThumbsBottomNavEnabled,bottomNavButtons:C.verticalThumbsBottomNavButtons,pauseOnClick:C.verticalThumbsPauseOnClick,transition:C.verticalThumbsTransition,transitionDirection:C.verticalThumbsTransitionDirection,transitionEasing:C.verticalThumbsTransitionEasing,touchSupport:true,imageConfig:{crop:C.verticalThumbsImageCrop,width:C.verticalThumbsImageWidth,height:C.verticalThumbsImageHeight}};return B;},_bindVerticalThumbs:function(){var B=this.get("boundingBox"),E=this.get("overlayHideOnMousemove"),D=this.get("verticalThumbsOverlay"),C=this.verticalThumbs;if(C&&E&&D){this.frame.once("transitionComplete",C.slideshowOverlay.hideWithTimer,C.slideshowOverlay);B.on("mousemove",A.bind(this._toggleVerticalThumbs,this));B.on("mouseenter",A.bind(this._toggleVerticalThumbs,this));}},_resizeVerticalThumbs:function(){var G=this.get("verticalThumbsEnabled"),H,I,F,C,D,E,B,J;if(G){H=this.get("verticalThumbsOverlay");I=this.get("responsiveThreshold");F=this.get("boundingBox");C=F.get("offsetWidth");D=this.get("navOverlay");E=this.get("navType");B=this._getNav();if(this.verticalThumbs&&C>I){this.verticalThumbs.get("boundingBox").setStyle("display","block");this.verticalThumbs.resize();if(!H){this._adjustContentForVerticalThumbs();}else{if(B&&D){J=B.get("boundingBox");if(E=="thumbs"){this._adjustOverlayForVerticalThumbs(J,true);this.thumbs.resize();}else{this._adjustOverlayForVerticalThumbs(J);}}}}else{if(!this.verticalThumbs&&C>I){this._renderVerticalThumbs();}else{if(this.verticalThumbs&&C<=I){this.verticalThumbs.get("boundingBox").setStyle("display","none");if(!H){this.get("contentBox").setStyles({left:"auto",position:"relative",right:"auto",width:"auto"});}}}}}},_toggleVerticalThumbs:function(){if(this.verticalThumbs){if(this.verticalThumbs.slideshowOverlay._visible){this.verticalThumbs.slideshowOverlay.hideWithTimer();}else{this.verticalThumbs.slideshowOverlay.show();}}},_adjustContentForVerticalThumbs:function(){var E=this.get("boundingBox"),C=this.verticalThumbs.get("boundingBox"),B=this.get("verticalThumbsPosition"),G=this.get("contentBox"),F=B=="left"?"right":"left",D=E.get("offsetWidth")-C.get("offsetWidth");G.setStyle("position","absolute");G.setStyle(F,0);G.setStyle("width",D);},_adjustOverlayForVerticalThumbs:function(F,C){var H=this.get("verticalThumbsEnabled"),I=this.get("verticalThumbsOverlay"),E=null,D=null,G=typeof C==="undefined"?"":"margin-",B=0;if(this.verticalThumbs&&H&&I){E=this.verticalThumbs.get("boundingBox");B=E.get("offsetWidth");D=this.get("verticalThumbsPosition");if(D=="left"){F.setStyle(G+"left",B+"px");}else{F.setStyle(G+"right",B+"px");}}},_renderFrame:function(){this.frame=new A.FL.SlideshowFrame({imageConfig:{loadGroup:"main",loadPriority:true,crop:this.get("crop"),cropHorizontalsOnly:this.get("cropHorizontalsOnly"),position:this.get("position"),protect:this.get("protect"),upsize:this.get("upsize"),showVideoButton:this.get("navOverlay")},touchSupport:true});this.add(this.frame);this.frame.render(this.get("contentBox"));this.frame.get("boundingBox").addClass("fl-slideshow-main-image");this._setPlayingTimerEvent(this.frame,"transitionComplete");this._loadingImageContainer=this.frame.get("contentBox");},_resizeFrame:function(D,B){var C=this.get("navOverlay"),E=this._getNav();if(E&&!C){B-=parseInt(E.get("boundingBox").getComputedStyle("height"),10);}this.frame.resize(D,B);},_loadFrame:function(G){var E=this.imageInfo.index,D=this.albumInfo.images,C=E+1>=D.length?0:E+1,F=this.frame.get("width"),B=this.frame.get("height");this.frame.load(G.imageInfo);A.FL.SlideshowImageLoader.removeGroup("main-preload");this._nextImagePreloader.preload(D[C],F,B);},_frameClick:function(){var B=this.get("clickAction"),C=this.get("clickActionUrl");
21
+ if(B=="url"){window.location.href=C;}else{if(B=="gallery"){window.location.href=this.imageInfo.link;}}},_initMiniNav:function(){var B=[];if(!("ontouchstart" in window)){B.push("prev");}if(this._hasNavButton("thumbs")||this.get("navType")=="thumbs"){B.push("thumbs");}if(this._hasNavButton("caption")){B.push("caption");}if(this._hasNavButton("social")){B.push("social");}if(this._hasNavButton("buy")){B.push("buy");}if(this._hasNavButton("play")){B.push("play");}if(this._hasNavButton("fullscreen")&&!("ontouchstart" in window)){B.push("fullscreen");}if(!("ontouchstart" in window)){B.push("next");}this._initialNavSettings={buttons:this.get("navButtons"),buttonsLeft:this.get("navButtonsLeft"),buttonsRight:this.get("navButtonsRight"),type:this.get("navType")};this._set("navButtons",B);this._set("navButtonsLeft",[]);this._set("navButtonsRight",[]);this._set("navType","buttons");},_renderNavAndThumbs:function(){var C=this.get("navType"),D=false,E,B;if(C=="buttons"||C=="thumbs"){E=this.get("boundingBox").get("offsetWidth");B=this.get("responsiveThreshold");if(E<=B&&this._initialNavSettings===null){this._initMiniNav();D=true;}else{if(E>B&&this._initialNavSettings!==null){this._set("navButtons",this._initialNavSettings.buttons);this._set("navButtonsLeft",this._initialNavSettings.buttonsLeft);this._set("navButtonsRight",this._initialNavSettings.buttonsRight);this._set("navType",this._initialNavSettings.type);this._initialNavSettings=null;D=true;}}if(D||this.nav===null){this._renderNav();}if(D||this.thumbs===null){this._renderThumbs();}else{if(this._thumbsEnabled()){this._resizeThumbs();}}if(D&&this.caption!==null){this._syncCaption();}if(D&&this.social!==null){this._syncSocial();}}},_renderNav:function(){var D=this.frame.get("boundingBox"),E=null,B=this.get("navOverlay"),C=this.get("navPosition");this._destroyNav();if(this.get("navType")=="buttons"){this.nav=new A.FL.SlideshowNav({buttons:this.get("navButtons"),buttonsLeft:this.get("navButtonsLeft"),buttonsRight:this.get("navButtonsRight")});this.add(this.nav);this.nav.render(this.get("contentBox"));E=this.nav.get("boundingBox");if(B){this.nav.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay")});E.setStyle("position","absolute");E.setStyle(C,"0px");}if(C=="top"){D.insert(E,"before");}else{D.insert(E,"after");}E.addClass("fl-slideshow-main-nav");}},_destroyNav:function(){if(this.nav!==null){if(this.nav.slideshowOverlay){this.nav.slideshowOverlay.destroy();}this.nav.get("boundingBox").remove();this.remove(this.nav);try{this.nav.destroy(true);}catch(B){}this.nav=null;}},_getNav:function(){var B=this.get("navType");if(B=="buttons"){return this.nav;}else{if(B=="thumbs"){return this.thumbs;}else{return null;}}},_toggleNav:function(){var B=this._getNav();if(B.slideshowOverlay){if(B.slideshowOverlay._visible){B.slideshowOverlay.hideWithTimer();}else{B.slideshowOverlay.show();}}},_renderImageNav:function(){var B;if(this.get("imageNavEnabled")){if("ontouchstart" in window){this._set("imageNavEnabled",false);}else{B=this.get("boundingBox");this.imageNavLeft=new A.FL.SlideshowNav({buttons:["prev"],useFontIcons:false});this.imageNavRight=new A.FL.SlideshowNav({buttons:["next"],useFontIcons:false});this.add(this.imageNavLeft);this.add(this.imageNavRight);this.imageNavLeft.render(this.frame.get("boundingBox"));this.imageNavRight.render(this.frame.get("boundingBox"));this.imageNavLeft.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay")});this.imageNavRight.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay")});if(this.get("overlayHideOnMousemove")){this.frame.once("transitionComplete",this.imageNavLeft.slideshowOverlay.hideWithTimer,this.imageNavLeft.slideshowOverlay);this.frame.once("transitionComplete",this.imageNavRight.slideshowOverlay.hideWithTimer,this.imageNavRight.slideshowOverlay);B.on("mousemove",A.bind(this._toggleImageNav,this));B.on("mouseenter",A.bind(this._toggleImageNav,this));}this.imageNavLeft.get("boundingBox").addClass("fl-slideshow-image-nav-left");this.imageNavRight.get("boundingBox").addClass("fl-slideshow-image-nav-right");}}},_positionImageNav:function(){var D=this.imageNavLeft.get("boundingBox"),E=this.imageNavRight.get("boundingBox"),B=D.get("offsetHeight"),C=this.frame.get("boundingBox").get("offsetHeight"),G=C/2-B/2,F={top:G+"px",display:"block"};D.setStyles(F);E.setStyles(F);this._adjustOverlayForVerticalThumbs(D);this._adjustOverlayForVerticalThumbs(E);},_toggleImageNav:function(){if(this.imageNavLeft.slideshowOverlay._visible){this.imageNavLeft.slideshowOverlay.hideWithTimer();}else{this.imageNavLeft.slideshowOverlay.show();}if(this.imageNavRight.slideshowOverlay._visible){this.imageNavRight.slideshowOverlay.hideWithTimer();}else{this.imageNavRight.slideshowOverlay.show();}},_renderMouseNav:function(){if(this.get("mouseNavEnabled")&&!("ontouchstart" in window)&&!window.navigator.msPointerEnabled){this.plug(A.FL.SlideshowMouseNav,{trigger:this.frame.get("boundingBox")});}},_thumbsEnabled:function(){var B=this.get("navType");if(B=="thumbs"){return true;}if((B=="buttons"||B=="custom")&&this._hasNavButton("thumbs")){return true;}else{return false;}},_renderThumbs:function(){var E,C,D,B;this._destroyThumbs();if(this._thumbsEnabled()){E=this.frame.get("boundingBox");C=this.get("navOverlay");D=this.get("navPosition");B=this.get("navType");this.thumbs=new A.FL.SlideshowThumbs(this._getThumbsConfig());try{this.add(this.thumbs);}catch(F){}if(B=="buttons"||B=="custom"){this.thumbs.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay"),hideStyle:"left",visible:false});}else{if(B=="thumbs"&&C){this.thumbs.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay"),hideStyle:"left"});}}this.thumbs.render(this.get("contentBox"));if(D=="top"){E.insert(this.thumbs.get("boundingBox"),"before");}else{E.insert(this.thumbs.get("boundingBox"),"after");}if(this.get("thumbsHideOnClick")&&B!="thumbs"){this.thumbs.on("imageClick",A.bind(this._hideThumbsOnImageClick,this));}this._syncThumbs();}},_destroyThumbs:function(){if(this.thumbs!==null){if(this.thumbs.slideshowOverlay){this.thumbs.slideshowOverlay.destroy();
22
+ }this.thumbs.get("boundingBox").remove();this.remove(this.thumbs);try{this.thumbs.destroy(true);}catch(B){}this.thumbs=null;}},_syncThumbs:function(){var D=this.thumbs.get("boundingBox"),E=this.get("navOverlay"),F=this.get("navPosition"),C=this.get("navType"),B="padding"+F.charAt(0).toUpperCase()+F.slice(1),G=0;if(C=="buttons"){G=parseInt(this.nav.get("boundingBox").getComputedStyle("height"),10);D.setStyle("position","absolute");if(E){D.setStyle(B,G+"px");D.setStyle(F,"0px");}else{D.setStyle(F,G+"px");}}if(C=="custom"||(C=="thumbs"&&E)){D.setStyle("position","absolute");D.setStyle(F,"0px");}this.thumbs.resize();},_getThumbsConfig:function(){var E=this.getAttrs(),B=this.get("navType"),D={crop:E.thumbsImageCrop,width:E.thumbsImageWidth,height:E.thumbsImageHeight},C={columns:"auto",rows:1,horizontalSpacing:E.thumbsHorizontalSpacing,verticalSpacing:E.thumbsVerticalSpacing,spaceEvenly:E.thumbsSpaceEvenly,centerSinglePage:E.thumbsCenterSinglePage,pauseOnClick:E.thumbsPauseOnClick,transition:E.thumbsTransition,transitionDirection:E.thumbsTransitionDirection,transitionEasing:E.thumbsTransitionEasing,leftNavButtons:E.navButtonsLeft,rightNavButtons:E.navButtonsRight,imageConfig:D,touchSupport:true};if(B=="buttons"||B=="custom"){if("ontouchstart" in window){C.leftNavEnabled=false;C.rightNavEnabled=false;}else{C.centerSinglePage=false;C.leftNavButtons=["prevPage"];C.rightNavButtons=["nextPage"];}}return C;},_resizeThumbs:function(){if(this.thumbs){this.thumbs.resize();}},_toggleThumbs:function(){this._toggleOverlay(this.thumbs.slideshowOverlay);},_hideThumbsOnImageClick:function(){if(this.thumbs.slideshowOverlay){this.thumbs.slideshowOverlay._focus=false;this.thumbs.slideshowOverlay.enable();this.thumbs.slideshowOverlay.hide();if(this.nav&&this.nav.slideshowOverlay){this.nav.slideshowOverlay.enable();}}},_renderCaption:function(){if(this._hasNavButton("caption")){this.caption=new A.FL.SlideshowCaption({lessLinkText:this.get("captionLessLinkText"),moreLinkText:this.get("captionMoreLinkText"),textLength:this.get("captionTextLength"),stripTags:this.get("captionStripTags")});this.add(this.caption);this.caption.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay"),visible:false,closeButton:true});this._syncCaption();}},_syncCaption:function(){var G=this.caption.get("boundingBox"),C=this.get("navOverlay"),D=this.get("navPosition"),E=this._getNav(),B="padding"+D.charAt(0).toUpperCase()+D.slice(1),F=0;G.setStyle("position","absolute");if(E){F=parseInt(E.get("boundingBox").getComputedStyle("height"),10);}if(E&&C){G.setStyle(B,F+"px");G.setStyle(D,"0px");}else{G.setStyle(D,F+"px");}},_toggleCaption:function(){this._toggleOverlay(this.caption.slideshowOverlay);},_renderSocial:function(){if(this._hasNavButton("social")){this.social=new A.FL.SlideshowSocial();this.add(this.social);this.social.plug(A.FL.SlideshowOverlay,{hideDelay:this.get("overlayHideDelay"),visible:false,closeButton:true});this._syncSocial();}},_syncSocial:function(){var D=this.social.get("boundingBox"),C=this.get("navOverlay"),E=this.get("navPosition"),F=this._getNav(),B="padding"+E.charAt(0).toUpperCase()+E.slice(1),G=0;D.setStyle("position","absolute");if(F){G=parseInt(F.get("boundingBox").getComputedStyle("height"),10);}if(F&&C){D.setStyle(B,G+"px");D.setStyle(E,"0px");}else{D.setStyle(E,G+"px");}},_toggleSocial:function(){this._toggleOverlay(this.social.slideshowOverlay);},_toggleOverlay:function(C){var B=this.get("navType"),D=this._getNav();if(C._visible){if(D&&D.slideshowOverlay){D.slideshowOverlay.enable();}C.enable();C.hide();}else{if(D&&D.slideshowOverlay){D.slideshowOverlay.disable();}C.show();C.disable();}if(this.thumbs&&B!="thumbs"&&this.thumbs.slideshowOverlay!==C){this.thumbs.slideshowOverlay.enable();this.thumbs.slideshowOverlay.hide();}if(this.caption&&this.caption.slideshowOverlay!==C){this.caption.slideshowOverlay.enable();this.caption.slideshowOverlay.hide();}if(this.social&&this.social.slideshowOverlay!==C){this.social.slideshowOverlay.enable();this.social.slideshowOverlay.hide();}},_overlayCloseClick:function(){if(this.nav&&this.nav.slideshowOverlay){this.nav.slideshowOverlay.enable();}if(this.thumbs&&this.thumbs.slideshowOverlay){this.thumbs.slideshowOverlay.enable();}if(this.caption){this.caption.slideshowOverlay.enable();}if(this.social){this.social.slideshowOverlay.enable();}if(this.imageNavLeft){this.imageNavLeft.slideshowOverlay.enable();this.imageNavRight.slideshowOverlay.enable();}},_hideAllOverlays:function(){if(this.nav&&this.nav.slideshowOverlay&&this.nav.slideshowOverlay._visible){this.nav.slideshowOverlay.enable();this.nav.slideshowOverlay.hideWithTimer();}if(this.thumbs&&this.thumbs.slideshowOverlay&&this.thumbs.slideshowOverlay._visible){this.thumbs.slideshowOverlay.enable();this.thumbs.slideshowOverlay.hideWithTimer();}if(this.caption&&this.caption.slideshowOverlay._visible){this.caption.slideshowOverlay.enable();this.caption.slideshowOverlay.hideWithTimer();}if(this.social&&this.social.slideshowOverlay._visible){this.social.slideshowOverlay.enable();this.social.slideshowOverlay.hideWithTimer();}if(this.imageNavLeft){this.imageNavLeft.slideshowOverlay.enable();this.imageNavLeft.slideshowOverlay.hideWithTimer();this.imageNavRight.slideshowOverlay.enable();this.imageNavRight.slideshowOverlay.hideWithTimer();}},_checkOverlaysOnMouseenter:function(){var B=this.get("navType"),D=this.get("navOverlay"),E=this._getNav(),C=false;if(this.thumbs&&B!="thumbs"&&this.thumbs.slideshowOverlay._visible){C=true;this.thumbs.slideshowOverlay.disable();}else{if(this.caption&&this.caption.slideshowOverlay._visible){C=true;this.caption.slideshowOverlay.disable();}else{if(this.social&&this.social.slideshowOverlay._visible){C=true;this.social.slideshowOverlay.disable();}}}if(E&&C&&D){E.slideshowOverlay.disable();}},_hasNavButton:function(C){var B=this.get("navType");if(B=="buttons"||B=="thumbs"||B=="custom"){if(A.Array.indexOf(this.get("navButtons"),C)>-1){return true;}else{if(A.Array.indexOf(this.get("navButtonsLeft"),C)>-1){return true;
23
+ }else{if(A.Array.indexOf(this.get("navButtonsRight"),C)>-1){return true;}else{return false;}}}}else{return false;}},_removeNavButton:function(D){var G=this.get("navButtons"),B=this.get("navButtonsLeft"),F=this.get("navButtonsRight"),C=this.get("verticalThumbsTopNavButtons"),E=this.get("verticalThumbsBottomNavButtons");if(A.Array.indexOf(G,D)>-1){G.splice(A.Array.indexOf(G,D),1);}if(A.Array.indexOf(B,D)>-1){B.splice(A.Array.indexOf(B,D),1);}if(A.Array.indexOf(F,D)>-1){F.splice(A.Array.indexOf(F,D),1);}if(A.Array.indexOf(C,D)>-1){C.splice(A.Array.indexOf(C,D),1);}if(A.Array.indexOf(E,D)>-1){E.splice(A.Array.indexOf(E,D),1);}this._set("navButtons",G);this._set("navButtonsLeft",B);this._set("navButtonsRight",F);this._set("verticalThumbsTopNavButtons",C);this._set("verticalThumbsBottomNavButtons",E);}},{CSS_PREFIX:"fl-slideshow",ATTRS:{clickAction:{value:"none"},clickActionUrl:{value:""},crop:{value:false},cropHorizontalsOnly:{value:false},loadingImageAlwaysEnabled:{value:true},position:{value:"center center"},protect:{value:true},upsize:{value:true},transition:{value:"fade"},transitionDuration:{value:1},transitionEasing:{value:"ease-out"},kenBurnsZoom:{value:1.2},navType:{value:"none"},navPosition:{value:"bottom"},navOverlay:{value:false},navButtons:{value:[]},navButtonsLeft:{value:[]},navButtonsRight:{value:[]},overlayHideOnMousemove:{value:true},overlayHideDelay:{value:3000},imageNavEnabled:{value:false},mouseNavEnabled:{value:false},thumbsHideOnClick:{value:true},thumbsHorizontalSpacing:{value:15},thumbsVerticalSpacing:{value:15},thumbsSpaceEvenly:{value:true},thumbsCenterSinglePage:{value:true},thumbsPauseOnClick:{value:false},thumbsTransition:{value:"slideHorizontal"},thumbsTransitionDuration:{value:0.8},thumbsTransitionEasing:{value:"ease-out"},thumbsImageCrop:{value:true},thumbsImageWidth:{value:50},thumbsImageHeight:{value:50},captionLessLinkText:{value:"Read Less"},captionMoreLinkText:{value:"Read More"},captionTextLength:{value:200},captionStripTags:{value:false},verticalThumbsEnabled:{value:false},verticalThumbsPosition:{value:"left"},verticalThumbsOverlay:{value:false},verticalThumbsColumns:{value:1},verticalThumbsTopNavEnabled:{value:false},verticalThumbsTopNavButtons:{value:["prevPage","nextPage"]},verticalThumbsBottomNavEnabled:{value:true},verticalThumbsBottomNavButtons:{value:["prevPage","nextPage"]},verticalThumbsHorizontalSpacing:{value:15},verticalThumbsVerticalSpacing:{value:15},verticalThumbsSpaceEvenly:{value:false},verticalThumbsPauseOnClick:{value:false},verticalThumbsImageCrop:{value:true},verticalThumbsImageWidth:{value:75},verticalThumbsImageHeight:{value:75},verticalThumbsTransition:{value:"slideVertical"},verticalThumbsTransitionDuration:{value:0.8},verticalThumbsTransitionEasing:{value:"ease-out"},googlePlusButtonEnabled:{value:true},likeButtonEnabled:{value:true},pinterestButtonEnabled:{value:true},tweetButtonEnabled:{value:true}}});},"2.0.0",{requires:["anim","event-mouseenter","plugin","transition","fl-event-move","fl-slideshow-css","fl-slideshow-base","fl-utils","sm-fonticon"]});YUI.add("fl-slideshow-album-loader",function(A){A.namespace("FL").SlideshowAlbumLoader=A.Base.create("fl-slideshow-album-loader",A.Base,[],{_source:null,load:function(B){this._source=B;this.fire("start");this[A.FL.SlideshowAlbumLoader.TYPES[B.type]].call(this);},_loadComplete:function(B){B=this._randomize(B);this.fire("complete",B);},_randomize:function(C){var B;if(this.get("randomize")){C.albumInfo.images.sort(function(){return 0.5-Math.random();});for(B=0;B<C.albumInfo.images.length;B++){C.albumInfo.images[B].index=B;}}return C;},_loadSmugMug:function(){var B=new A.FL.SmugMugAPI();B.on("complete",this._loadSmugMugSuccess,this);B.addParam("method","smugmug.images.get");B.addParam("AlbumID",this._source.id);B.addParam("AlbumKey",this._source.key);B.addParam("Extras","Caption,Format,FileName");if(this._source.password){B.addParam("Password",this._source.password);}if(this._source.sp){B.addParam("SitePassword",this._source.sp);}B.request();},_loadSmugMugSuccess:function(H){var J=H.Album.Images,E={},I=typeof this._source.proxy!=="undefined"?this._source.proxy:"",C="",B="",D="",K="",G=0,L=null,F=null;E.index=this._source.index;E.id=H.Album.id;E.key=H.Album.Key;E.link=H.Album.URL;E.title=this._source.title?this._source.title:"";E.images=[];C=E.link.replace("http://","").split("/").shift();C="http://"+C+"/buy/"+H.Album.id+"_"+H.Album.Key+"/";for(G=0;G<J.length;G++){B=I+H.Album.URL+"/"+J[G].id+"_"+J[G].Key;K=J[G].Format.toLowerCase();D=K=="mp4"?".jpg":"."+K;E.images[G]={};E.images[G].index=G;E.images[G].sourceType="smugmug";E.images[G].albumId=H.Album.id;E.images[G].albumKey=H.Album.Key;E.images[G].id=J[G].id;E.images[G].key=J[G].Key;E.images[G].filename=J[G].FileName;E.images[G].format=K;E.images[G].caption=J[G].Caption||"";E.images[G].link=H.Album.URL+"#"+J[G].id+"_"+J[G].Key;E.images[G].tinyURL=B+"-Ti"+D;E.images[G].thumbURL=B+"-Th"+D;E.images[G].smallURL=B+"-S"+D;E.images[G].mediumURL=B+"-M"+D;E.images[G].largeURL=B+"-L"+D;E.images[G].xlargeURL=B+"-XL"+D;E.images[G].x2largeURL=B+"-X2"+D;E.images[G].x3largeURL=B+"-X3"+D;E.images[G].buyURL=C+J[G].id+"_"+J[G].Key;E.images[G].iframe="";if(E.images[G].caption.indexOf("iframe")){L=A.Node.create("<div>"+E.images[G].caption+"</div>");F=L.one("iframe");if(F){E.images[G].iframe=F.getAttribute("src");E.images[G].caption=E.images[G].caption.replace(/<iframe.*>.*<\/iframe>/gi,"");}}}this._loadComplete({"albumInfo":E});},_loadUrls:function(){var B={},C=0;B.index=this._source.index;B.title=this._source.title?this._source.title:"";B.images=[];for(;C<this._source.urls.length;C++){B.images[C]={};B.images[C].index=C;B.images[C].sourceType="urls";B.images[C].filename=this._source.urls[C].largeURL.split("/").pop();B.images[C].format="";B.images[C].caption=this._source.urls[C].caption||"";B.images[C].link=this._source.urls[C].largeURL;B.images[C].thumbURL=this._source.urls[C].thumbURL||this._source.urls[C].largeURL;B.images[C].smallURL=this._source.urls[C].smallURL||this._source.urls[C].largeURL;B.images[C].mediumURL=this._source.urls[C].mediumURL||this._source.urls[C].largeURL;B.images[C].largeURL=this._source.urls[C].largeURL;B.images[C].xlargeURL=this._source.urls[C].xlargeURL||this._source.urls[C].largeURL;B.images[C].x2largeURL=this._source.urls[C].x2largeURL||this._source.urls[C].largeURL;B.images[C].x3largeURL=this._source.urls[C].x3largeURL||this._source.urls[C].largeURL;B.images[C].buyURL=this._source.urls[C].buyURL||"";B.images[C].iframe=this._source.urls[C].iframe||"";}this._loadComplete({"albumInfo":B});}},{ATTRS:{randomize:{value:false}},TYPES:{"smugmug":"_loadSmugMug","flickr":"_loadFlickr","picasa":"_loadPicasa","urls":"_loadUrls","html":"_loadHtml"}});},"2.0.0",{requires:["base","fl-smugmug-api"]});YUI.add("fl-slideshow-base",function(A){A.namespace("FL").SlideshowBase=A.Base.create("fl-slideshow-base",A.Widget,[A.WidgetParent],{_albumLoader:null,albums:[],albumInfo:null,albumIndex:null,imageInfo:null,imageIndex:null,lastImageIndex:null,_resizeTimer:null,_playing:false,_playingTimer:null,_playingTimerEvent:null,_loadingImage:null,_loadingImageWrap:null,_loadingImageVisible:false,_loadingImageTimer:null,_loadingImageContainer:null,_initialHeight:null,_initialWidth:null,initializer:function(){this._albumLoader=new A.FL.SlideshowAlbumLoader({randomize:this.get("randomize")});},renderUI:function(){this._renderLoadingImage();},bindUI:function(){this._albumLoader.on("complete",this._loadAlbumComplete,this);A.one(window).on("fl-slideshow-base|resize",this._delayResize,this);A.one(window).on("fl-slideshow-base|orientationchange",this._delayResize,this);A.Node.one("body").on("keydown",A.bind(this._onKey,this));},syncUI:function(){this.get("boundingBox").addClass("fl-slideshow-"+this.get("color"));this.resize();if(this.get("loadOnRender")){this.loadAlbum(this.get("defaultAlbum"),this.get("defaultImage"));}},addAlbum:function(D){var C=this.get("source"),B=C.length;C[B]=D;C[B].index=B;this.set("source",C);},loadAlbum:function(C,B){var E=this.get("source"),D=typeof B=="undefined"?0:B;this.imageIndex=null;this.lastImageIndex=null;this.fire("albumLoadStart");this.once("albumLoadComplete",A.bind(this.loadImage,this,D));if(E[C]&&E[C].type=="album-data"){this.albums[C]=E[C].data;this._loadAlbumComplete({albumInfo:this.albums[C]});}else{if(E[C]&&this.albums[C]){this._loadAlbumComplete({albumInfo:this.albums[C]});}else{this._albumLoader.load(E[C]||E[0]);}}},_loadAlbumComplete:function(B){this.albums[B.albumInfo.index]=B.albumInfo;this.albumInfo=B.albumInfo;this.albumIndex=B.albumInfo.index;this.fire("albumLoadComplete");if(this.get("autoPlay")){this._playingTimerStart();this.fire("played");this._playing=true;}},loadImage:function(B){if(this._playing){this._playingTimerStart();}B=B<0?this.albumInfo.images.length-1:B;B=B>=this.albumInfo.images.length?0:B;this.lastImageIndex=this.imageIndex;this.imageIndex=B;this.imageInfo=this.albumInfo.images[B];this.fire("imageLoadComplete",{"imageInfo":this.imageInfo});},prevImage:function(){if(this.get("pauseOnNextOrPrev")){this.pause();}this.loadImage(this.imageIndex-1);this.fire("prevImage");},nextImage:function(){if(this.get("pauseOnNextOrPrev")){this.pause();}this.loadImage(this.imageIndex+1);this.fire("nextImage");},_onKey:function(B){switch(B.keyCode){case 37:this.prevImage();break;case 39:this.nextImage();break;}},resize:function(){var E=this.get("stretchy"),D=this.get("stretchyType"),C=parseInt(A.one("body").get("winWidth"),10),B=this.get("responsiveThreshold");if(C>B&&E&&D=="window"){this._stretchyWindowResize();}else{if((C<=B)||(E&&D=="ratio")){this._stretchyRatioResize();}else{this._standardResize();}}this.fire("resize");},_standardResize:function(){var I=this.get("stretchy"),G=this.get("stretchyType"),H=this.get("boundingBox"),F=H.get("parentNode"),C=parseInt(F.getComputedStyle("height"),10),E=parseInt(F.getComputedStyle("width"),10),B=this.get("height"),D=this.get("width");if(H.hasClass("fl-fullscreen-active")){this._stretchyWindowResize();return;}else{if(I&&G=="contain"){console.log(C,E);H.setStyle("height",C+"px");H.setStyle("width",E+"px");}else{if(!A.Lang.isNumber(B)){this._stretchyRatioResize();return;}else{H.setStyle("height",B+"px");if(D){H.setStyle("width",D+"px");}else{H.setStyle("width",E+"px");}}}}},_stretchyWindowResize:function(){var G=this.get("boundingBox"),E=this.get("stretchyVerticalSpace"),D=parseInt(G.getStyle("paddingTop"),10),F=parseInt(G.getStyle("paddingBottom"),10),B=parseInt(A.one("body").get("winHeight"),10),C="";if(G.hasClass("fl-fullscreen-active")){E=0;C=parseInt(A.one("body").get("winWidth"),10)+"px";}B=(B-D-F-E)+"px";G.setStyle("height",B);G.setStyle("width",C);},_stretchyRatioResize:function(){var G=this.get("boundingBox"),J=G.get("parentNode"),H=0,F=this.get("stretchyRatio"),L=parseInt(G.getStyle("paddingTop"),10),C=parseInt(G.getStyle("paddingBottom"),10),I=parseInt(J.getComputedStyle("width"),10),E=parseInt(A.one("body").get("winHeight"),10),D=parseInt(A.one("body").get("winWidth"),10),K=I*F,B="";if(G.hasClass("fl-fullscreen-active")){K=E;B=D;}K=(K-L-C-H)+"px";G.setStyle("height",K);G.setStyle("width",B);},_delayResize:function(){if(this._resizeTimer){this._resizeTimer.cancel();}this._resizeTimer=A.later(300,this,this.resize);},play:function(){this._playingTimer=A.later(this.get("speed"),this,this._playingTimerComplete);this.fire("played");this._playing=true;},pause:function(){this._playingTimerCancel();this.fire("paused");this._playing=false;},_setPlayingTimerEvent:function(C,B){this._playingTimerEvent={"obj":C,"e":B};},_playingTimerStart:function(B){this._playingTimerCancel();if(!B&&this._playingTimerEvent!==null){this._playingTimerEvent.obj.once("fl-slideshow-base|"+this._playingTimerEvent.e,A.bind(this._playingTimerStart,this));}else{this._playingTimer=A.later(this.get("speed"),this,this._playingTimerComplete);}},_playingTimerComplete:function(){this.loadImage(this.imageIndex+1);this.fire("playingTimerComplete");},_playingTimerCancel:function(){if(this._playingTimer){this._playingTimer.cancel();}if(this._playingTimerEvent){this._playingTimerEvent.obj.detach("fl-slideshow-base|"+this._playingTimerEvent.e);}},_renderLoadingImage:function(){var C={lines:11,length:6,width:2,radius:7,color:"",speed:1,trail:60,shadow:false},B=A.merge(C,this.get("loadingImageSettings"));if(this.get("loadingImageEnabled")){if(B.color===""){B.color=this._colorToHex(A.one("body").getStyle("color"));}this._loadingImage=new A.FL.Spinner(B);this._loadingImageWrap=A.Node.create('<div class="fl-loading-image"></div>');this._loadingImageWrap.setStyles({position:"absolute","z-index":"1000"});}},_showLoadingImage:function(){if(this._loadingImage&&!this._loadingImageVisible){this._loadingImageVisible=true;this._loadingImage.spin();this._loadingImageWrap.insert(this._loadingImage.el);
24
  if(this._loadingImageContainer!==null){this._loadingImageContainer.insert(this._loadingImageWrap);}else{this.get("contentBox").insert(this._loadingImageWrap);}this._positionLoadingImage();}},_showLoadingImageWithDelay:function(){if(this._loadingImage){this._loadingImageTimer=A.later(1000,this,this._showLoadingImage);}},_hideLoadingImage:function(){if(this._loadingImageTimer){this._loadingImageTimer.cancel();this._loadingImageTimer=null;}if(this._loadingImage&&this._loadingImageVisible){this._loadingImageVisible=false;this._loadingImage.stop();this._loadingImageWrap.remove();}},_positionLoadingImage:function(){if(this._loadingImage&&this._loadingImageVisible){var F=this._loadingImageWrap,B=parseInt(F.getComputedStyle("height"),10),G=parseInt(F.getComputedStyle("width"),10),E=F.get("parentNode"),C=parseInt(E.getComputedStyle("height"),10),D=parseInt(E.getComputedStyle("width"),10),I=(D-G)/2,H=(C-B)/2;F.setStyles({left:I+"px",top:H+"px"});A.one(this._loadingImage.el).setStyles({left:"50%",top:"50%"});}},_colorToHex:function(C){var F,G,E,B,D;if(C.substr(0,1)==="#"){return C;}F=/(.*?)rgb\((\d+), (\d+), (\d+)\)/.exec(C);G=parseInt(F[2],10);E=parseInt(F[3],10);B=parseInt(F[4],10);D=B|(E<<8)|(G<<16);D=D.toString(16);if(D==="0"){D="000";}return F[1]+"#"+D;}},{CSS_PREFIX:"fl-slideshow-base",ATTRS:{color:{value:"dark",writeOnce:true},source:{value:[],setter:function(C){if(C.constructor==Object){C=[C];}for(var B=0;B<C.length;B++){C[B].index=B;}return C;}},defaultAlbum:{value:0},defaultImage:{value:0},loadOnRender:{value:true},autoPlay:{value:true},pauseOnNextOrPrev:{value:true},randomize:{value:false},speed:{value:4000},responsiveThreshold:{value:600},stretchy:{value:false},stretchyType:{value:"ratio"},stretchyVerticalSpace:{value:0},stretchyRatio:{value:0.7},loadingImageEnabled:{value:true},loadingImageSettings:{value:{}}}});},"2.0.0",{requires:["node","base","widget","widget-parent","widget-child","fl-slideshow-album-loader","fl-spinner"]});YUI.add("fl-smugmug-api",function(A){A.namespace("FL").SmugMugAPI=A.Base.create("fl-smugmug-api",A.Base,[],{_sessionID:null,_requestURL:null,initializer:function(){this._resetRequestURL();},addParam:function(B,C){this._requestURL=this._requestURL+"&"+B+"="+C;},loginAnon:function(){this.addParam("method","smugmug.login.anonymously");this.once("complete",this._loginAnonComplete);this.request();},_loginAnonComplete:function(B){if(B.Login){this._sessionID=B.Login.Session.id;}},request:function(){this.addParam("Callback","{callback}");A.jsonp(this._requestURL,{on:{success:this._requestComplete,timeout:function(){}},context:this,timeout:60000,args:[]});},_requestComplete:function(B){this._resetRequestURL();this.fire("complete",B);},_resetRequestURL:function(){this._requestURL=this.get("apiURL")+"?APIKey="+this.get("apiKey");if(this._sessionID){this.addParam("SessionID",this._sessionID);}}},{ATTRS:{apiURL:{value:"https://api.smugmug.com/services/api/json/1.3.0/"},apiKey:{value:"7w6kuU5Ee6KSgRRExf2KLgppdkez9JD2"}}});},"2.0.0",{requires:["base","jsonp"]});YUI.add("fl-spinner",function(A){(function(e,E,L){var B="width",Q="length",g="radius",Z="lines",S="trail",V="color",q="opacity",i="speed",a="shadow",k="style",D="height",F="left",G="top",H="px",T="childNodes",p="firstChild",I="parentNode",d="position",J="relative",b="absolute",u="animation",W="transform",N="Origin",f="Timeout",P="coord",m="#000",X=k+"Sheets",M="webkit0Moz0ms0O".split(0),t={},o;function s(w,y){var v=~~((w[Q]-1)/2);for(var x=1;x<=v;x++){y(w[x*2-1],w[x*2]);}}function n(v){var w=E.createElement(v||"div");s(arguments,function(y,x){w[y]=x;});return w;}function c(v,x,w){if(w&&!w[I]){c(v,w);}v.insertBefore(x,w||null);return v;}c(E.getElementsByTagName("head")[0],n(k));var O=E[X][E[X][Q]-1];function C(AA,v){var x=[q,v,~~(AA*100)].join("-"),w="{"+q+":"+AA+"}",y;if(!t[x]){for(y=0;y<M[Q];y++){try{O.insertRule("@"+(M[y]&&"-"+M[y].toLowerCase()+"-"||"")+"keyframes "+x+"{0%{"+q+":1}"+v+"%"+w+"to"+w+"}",O.cssRules[Q]);}catch(z){}}t[x]=1;}return x;}function R(y,z){var x=y[k],v,w;if(x[z]!==L){return z;}z=z.charAt(0).toUpperCase()+z.slice(1);for(w=0;w<M[Q];w++){v=M[w]+z;if(x[v]!==L){return v;}}}function h(v){s(arguments,function(x,w){v[k][R(v,x)||x]=w;});return v;}function Y(v){s(arguments,function(x,w){if(v[x]===L){v[x]=w;}});return v;}var U=function U(v){this.opts=Y(v||{},Z,12,S,100,Q,7,B,5,g,10,V,m,q,1/4,i,1);},K=U.prototype={spin:function(AB){var AD=this,w=AD.el=AD[Z](AD.opts);if(AB){c(AB,h(w,F,~~(AB.offsetWidth/2)+H,G,~~(AB.offsetHeight/2)+H),AB[p]);}if(!o){var v=AD.opts,y=0,z=20/v[i],AA=(1-v[q])/(z*v[S]/100),AC=z/v[Z];(function x(){y++;for(var AE=v[Z];AE;AE--){var AF=Math.max(1-(y+AE*AC)%z*AA,v[q]);AD[q](w,v[Z]-AE,AF,v);}AD[f]=AD.el&&e["set"+f](x,50);})();}return AD;},stop:function(){var v=this,w=v.el;e["clear"+f](v[f]);if(w&&w[I]){w[I].removeChild(w);}v.el=L;return v;}};K[Z]=function(AA){var y=h(n(),d,J),x=C(AA[q],AA[S]),w=0,v;function z(AB,AC){return h(n(),d,b,B,(AA[Q]+AA[B])+H,D,AA[B]+H,"background",AB,"boxShadow",AC,W+N,F,W,"rotate("+~~(360/AA[Z]*w)+"deg) translate("+AA[g]+H+",0)","borderRadius","100em");}for(;w<AA[Z];w++){v=h(n(),d,b,G,1+~(AA[B]/2)+H,W,"translate3d(0,0,0)",u,x+" "+1/AA[i]+"s linear infinite "+(1/AA[Z]/AA[i]*w-1/AA[i])+"s");if(AA[a]){c(v,h(z(m,"0 0 4px "+m),G,2+H));}c(y,c(v,z(AA[V],"0 0 1px rgba(0,0,0,.1)")));}return y;};K[q]=function(w,v,x){w[T][v][k][q]=x;};var r="behavior",l="url(#default#VML)",j="group0roundrect0fill0stroke".split(0);(function(){var w=h(n(j[0]),r,l),v;if(!R(w,W)&&w.adj){for(v=0;v<j[Q];v++){O.addRule(j[v],r+":"+l);}K[Z]=function(){var AE=this.opts,AC=AE[Q]+AE[B],AA=2*AC;function x(){return h(n(j[0],P+"size",AA+" "+AA,P+N,-AC+" "+-AC),B,AA,D,AA);}var AB=x(),AD=~(AE[Q]+AE[g]+AE[B])+H,z;function y(AG,AF,AH){c(AB,c(h(x(),"rotation",360/AE[Z]*AG+"deg",F,~~AF),c(h(n(j[1],"arcsize",1),B,AC,D,AE[B],F,AE[g],G,-AE[B]/2,"filter",AH),n(j[2],V,AE[V],q,AE[q]),n(j[3],q,0))));}if(AE[a]){for(z=1;z<=AE[Z];z++){y(z,-2,"progid:DXImage"+W+".Microsoft.Blur(pixel"+g+"=2,make"+a+"=1,"+a+q+"=.3)");}}for(z=1;z<=AE[Z];z++){y(z);}return c(h(n(),"margin",AD+" 0 0 "+AD,d,J),AB);};K[q]=function(y,x,AA,z){z=z[a]&&z[Z]||0;y[p][T][x+z][p][p][q]=AA;};}else{o=R(w,u);}})();A.namespace("FL").Spinner=U;})(window,document);},"2.0.0");YUI.add("fl-utils",function(A){A.namespace("FL").Utils={cssSupport:function(F){var B=document.body||document.documentElement,E=B.style,C=["Moz","Webkit","Khtml","O","ms","Icab"],D=0;if(F=="transform"&&A.UA.gecko&&A.UA.gecko<4){return false;}if(F=="transform"&&A.UA.opera>0){return false;}if(F=="transform"&&A.UA.ie>0&&A.UA.ie<10){return false;}if(typeof E=="undefined"){return false;}if(typeof E[F]=="string"){return true;}F=F.charAt(0).toUpperCase()+F.substr(1);for(;D<C.length;D++){if(typeof E[C[D]+F]=="string"){return true;}}}};},"2.0.0");
languages/de_DE.mo CHANGED
Binary file
languages/de_DE.po CHANGED
@@ -1,4053 +1,5113 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: {FL_BUILDER_NAME}\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-03-03 10:40:00+0000\n"
6
- "PO-Revision-Date: 2015-03-29 20:27-0800\n"
7
- "Last-Translator: \n"
8
- "Language-Team: \n"
9
- "Language: de_DE\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 1.7.4\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
17
- "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
18
- "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
19
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
- "X-Poedit-SearchPath-0: .\n"
21
-
22
- #: classes/class-fl-builder-admin-settings.php:93
23
- #: includes/global-settings.php:4
24
- #, php-format
25
- msgctxt "%s stands for custom branded \"Page Builder\" name."
26
- msgid "%s Settings"
27
- msgstr "%s Einstellungen"
28
-
29
- #: classes/class-fl-builder-admin-settings.php:107
30
- msgid "Settings updated!"
31
- msgstr "Einstellungen aktualisiert!"
32
-
33
- #: classes/class-fl-builder-admin-settings.php:118
34
- msgid "License"
35
- msgstr "Lizenz"
36
-
37
- #: classes/class-fl-builder-admin-settings.php:122
38
- #: includes/admin-settings-upgrade.php:3
39
- msgid "Upgrade"
40
- msgstr "Upgrade"
41
-
42
- #: classes/class-fl-builder-admin-settings.php:126
43
- #: includes/global-settings.php:90
44
- msgid "Modules"
45
- msgstr "Module"
46
-
47
- #: classes/class-fl-builder-admin-settings.php:130 includes/ui.php:47
48
- msgid "Templates"
49
- msgstr "Vorlagen"
50
-
51
- #: classes/class-fl-builder-admin-settings.php:134
52
- #: includes/admin-settings-post-types.php:3
53
- msgid "Post Types"
54
- msgstr "Posttypen"
55
-
56
- #: classes/class-fl-builder-admin-settings.php:138
57
- #: modules/icon-group/icon-group.php:27
58
- msgid "Icons"
59
- msgstr "Icons"
60
-
61
- #: classes/class-fl-builder-admin-settings.php:142
62
- msgid "Editing"
63
- msgstr "Bearbeitung"
64
-
65
- #: classes/class-fl-builder-admin-settings.php:146
66
- #: includes/admin-settings-branding.php:3
67
- msgid "Branding"
68
- msgstr "Branding"
69
-
70
- # @ fl-builder
71
- #: classes/class-fl-builder-admin-settings.php:150
72
- msgid "Help Button"
73
- msgstr "Hilfe Button"
74
-
75
- #: classes/class-fl-builder-admin-settings.php:154
76
- #: includes/admin-settings-uninstall.php:3
77
- #: includes/admin-settings-uninstall.php:15
78
- msgid "Uninstall"
79
- msgstr "Deinstallieren"
80
-
81
- # @ fl-builder
82
- #: classes/class-fl-builder-admin-settings.php:376
83
- msgid "Error! You must have at least one icon set enabled."
84
- msgstr "Fehler! Sie müssen mindestens einen Symbolsatz aktiviert haben."
85
-
86
- # @ fl-builder
87
- #: classes/class-fl-builder-admin-settings.php:418
88
- msgid "Error! Could not unzip file."
89
- msgstr "Fehler! Konnte Datei nicht entpacken."
90
-
91
- # @ fl-builder
92
- #: classes/class-fl-builder-admin-settings.php:452
93
- msgid "Error! Please upload an icon set from either Icomoon or Fontello."
94
- msgstr ""
95
- "Fehler! Bitte laden Sie entweder ein Iconset von Icomoon oder Fontello."
96
-
97
- # @ fl-builder
98
- #: classes/class-fl-builder-admin-settings.php:566
99
- msgid "Error! Please enter an iframe for the video embed code."
100
- msgstr "Fehler! Bitte geben Sie ein Iframe für video Embed-Code ein."
101
-
102
- # @ fl-builder
103
- #: classes/class-fl-builder-admin-settings.php:584
104
- msgid "Error! You must have at least one feature of the help button enabled."
105
- msgstr ""
106
- "Fehler! Sie müssen mindestens ein Feature des Hilfe Button aktiviert haben."
107
-
108
- #: classes/class-fl-builder-admin.php:40
109
- #, php-format
110
- msgid ""
111
- "This version of the <strong>Page Builder</strong> plugin is not compatible "
112
- "with WordPress Multisite. <a%s>Please upgrade</a> to the Multisite version "
113
- "of this plugin."
114
- msgstr ""
115
- "Diese Version des <strong>Page Builder</strong> Plugins ist nicht kompatibel "
116
- "mit einer Multisite. <a%s>Bitte upgraden Sie.</a> zur Multisiteversion des "
117
- "Plugins."
118
-
119
- #: classes/class-fl-builder-admin.php:50
120
- msgid ""
121
- "The <strong>Page Builder</strong> plugin requires WordPress version 3.5 or "
122
- "greater. Please update WordPress before activating the plugin."
123
- msgstr ""
124
- "Der <strong>Page Builder</strong> benötigt WP 3.5 oder höher. Bitte "
125
- "aktualisieren Sie WP bevor sie den PageBuilder aktivieren."
126
-
127
- #: classes/class-fl-builder-admin.php:96
128
- #, php-format
129
- msgid "Page Builder activated! <a%s>Click here</a> to enable remote updates."
130
- msgstr ""
131
- "Page Builder aktiviert! <a%s> Klicken Sie hier</a> um Fernupdates zu "
132
- "aktivieren."
133
-
134
- #: classes/class-fl-builder-admin.php:191
135
- msgctxt "Plugin action link label."
136
- msgid "Upgrade"
137
- msgstr "Upgrade"
138
-
139
- #: classes/class-fl-builder-admin.php:202
140
- #: classes/class-fl-builder-model.php:2594
141
- msgid "Page Builder"
142
- msgstr "Page Builder"
143
-
144
- # @ fl-builder
145
- #: classes/class-fl-builder-model.php:1385
146
- #, php-format
147
- msgctxt "%s stands for the module filename"
148
- msgid ""
149
- "A module with the filename %s.php already exists! Please namespace your "
150
- "module filenames to ensure compatibility with Beaver Builder."
151
- msgstr ""
152
- "Ein Modul mit dem Dateinamen %s.php existiert bereits! Bitte benennen Sie "
153
- "Ihre Modul-Dateinamen um die Kompatibilität mit dem Beaver-Builder sicher zu "
154
- "stellen."
155
-
156
- #: classes/class-fl-builder-model.php:1443
157
- #: classes/class-fl-builder-model.php:1497 modules/heading/heading.php:16
158
- #: modules/photo/photo.php:27 modules/rich-text/rich-text.php:16
159
- #: modules/separator/separator.php:16 modules/video/video.php:21
160
- msgid "Basic Modules"
161
- msgstr "Basismodule"
162
-
163
- #: classes/class-fl-builder-model.php:1444
164
- #: classes/class-fl-builder-model.php:1498 modules/accordion/accordion.php:16
165
- #: modules/button/button.php:16 modules/callout/callout.php:16
166
- #: modules/contact-form/contact-form.php:16
167
- #: modules/content-slider/content-slider.php:16 modules/cta/cta.php:16
168
- #: modules/gallery/gallery.php:16 modules/html/html.php:16
169
- #: modules/icon/icon.php:16 modules/icon-group/icon-group.php:16
170
- #: modules/map/map.php:16 modules/post-grid/post-grid.php:16
171
- #: modules/pricing-table/pricing-table.php:16 modules/sidebar/sidebar.php:16
172
- #: modules/slideshow/slideshow.php:16
173
- #: modules/social-buttons/social-buttons.php:16 modules/tabs/tabs.php:16
174
- #: modules/testimonials/testimonials.php:16
175
- #: modules/woocommerce/woocommerce.php:18
176
- msgid "Advanced Modules"
177
- msgstr "Erweiterte Module"
178
-
179
- # @ fl-builder
180
- #: classes/class-fl-builder-model.php:1445
181
- #: classes/class-fl-builder-model.php:1499
182
- msgid "Other Modules"
183
- msgstr "Andere Module"
184
-
185
- #: classes/class-fl-builder-model.php:1446
186
- #: classes/class-fl-builder-model.php:1500 includes/ui.php:88
187
- #: modules/widget/widget.php:16
188
- msgid "WordPress Widgets"
189
- msgstr "WP Widgets"
190
-
191
- #: classes/class-fl-builder-model.php:2009
192
- #, php-format
193
- msgctxt "%s stands for post/page title."
194
- msgid "Copy of %s"
195
- msgstr "Kopie von %s"
196
-
197
- #: classes/class-fl-builder-photo.php:75
198
- msgctxt "Image size."
199
- msgid "Full Size"
200
- msgstr "Vollgröße"
201
-
202
- #: classes/class-fl-builder-photo.php:76
203
- msgctxt "Image size."
204
- msgid "Large"
205
- msgstr "Groß"
206
-
207
- #: classes/class-fl-builder-photo.php:77
208
- msgctxt "Image size."
209
- msgid "Medium"
210
- msgstr "Mittel"
211
-
212
- #: classes/class-fl-builder-photo.php:78
213
- msgctxt "Image size."
214
- msgid "Thumbnail"
215
- msgstr "Thumbnail"
216
-
217
- #: classes/class-fl-builder.php:709
218
- #, php-format
219
- msgctxt "Field name to add."
220
- msgid "Add %s"
221
- msgstr "Hinzufügen %s"
222
-
223
- #: classes/class-fl-builder.php:772 classes/class-fl-builder.php:774
224
- msgctxt "Custom post type label."
225
- msgid "Layout Templates"
226
- msgstr "Layout-Vorlagen"
227
-
228
- #: classes/class-fl-builder.php:773 classes/class-fl-builder.php:775
229
- msgctxt "Custom post type label."
230
- msgid "Layout Template"
231
- msgstr "Layout-Vorlage"
232
-
233
- #: classes/class-fl-builder.php:776
234
- msgctxt "Custom post type label."
235
- msgid "Add New"
236
- msgstr "Neu hinzufügen"
237
-
238
- #: classes/class-fl-builder.php:777
239
- msgctxt "Custom post type label."
240
- msgid "Add New Layout Template"
241
- msgstr "Neue Layout-Vorlage hinzufügen"
242
-
243
- #: classes/class-fl-builder.php:778
244
- msgctxt "Custom post type label."
245
- msgid "New Layout Template"
246
- msgstr "Neue Layout-Vorlage"
247
-
248
- #: classes/class-fl-builder.php:779
249
- msgctxt "Custom post type label."
250
- msgid "Edit Layout Template"
251
- msgstr "Layout-Vorlage bearbeiten"
252
-
253
- #: classes/class-fl-builder.php:780
254
- msgctxt "Custom post type label."
255
- msgid "View Layout Template"
256
- msgstr "Layout-Vorlage betrachten"
257
-
258
- #: classes/class-fl-builder.php:781
259
- msgctxt "Custom post type label."
260
- msgid "All Layout Templates"
261
- msgstr "Alle Layout-Vorlagen"
262
-
263
- #: classes/class-fl-builder.php:782
264
- msgctxt "Custom post type label."
265
- msgid "Search Layout Templates"
266
- msgstr "Layout-Vorlagen durchsuchen"
267
-
268
- #: classes/class-fl-builder.php:783
269
- msgctxt "Custom post type label."
270
- msgid "Parent Layout Templates:"
271
- msgstr "Übergeordnete Layout-Vorlagen:"
272
-
273
- #: classes/class-fl-builder.php:784
274
- msgctxt "Custom post type label."
275
- msgid "No layout templates found."
276
- msgstr "Keine Layout-Vorlagen gefunden"
277
-
278
- #: classes/class-fl-builder.php:785
279
- msgctxt "Custom post type label."
280
- msgid "No layout templates found in Trash."
281
- msgstr "Keine Layout-Vorlagen im Papierkorb gefunden"
282
-
283
- #: classes/class-fl-builder.php:1150 includes/js-config.php:66
284
- #, php-format
285
- msgctxt "%s stands for module name."
286
- msgid "%s Settings"
287
- msgstr "%s Einstellungen"
288
-
289
- #: includes/admin-posts.php:3 modules/rich-text/rich-text.php:14
290
- msgid "Text Editor"
291
- msgstr "Texteditor"
292
-
293
- #: includes/admin-posts.php:7
294
- #, php-format
295
- msgctxt "%s stands for custom branded \"Page Builder\" name."
296
- msgid "%s is currently active for this page."
297
- msgstr "%s ist derzeit für die Seite aktiv."
298
-
299
- #: includes/admin-posts.php:8
300
- #, php-format
301
- msgctxt "%s stands for custom branded \"Page Builder\" name."
302
- msgid "Launch %s"
303
- msgstr "Starte %s"
304
-
305
- # @ fl-builder
306
- #: includes/admin-posts.php:15
307
- #, php-format
308
- msgctxt "%s stands for custom branded \"Page Builder\" name."
309
- msgid ""
310
- "Switching to Text Editor mode will disable your %s layout until it is "
311
- "enabled again. Any edits made while in Text Editor mode will not be made on "
312
- "your %s layout. Do you want to continue?"
313
- msgstr ""
314
- "Das Umschalten auf den Text-Editor-Modus wird Ihr Layout %s deaktiviert, bis "
315
- "es wieder aktiviert wird. Alle Bearbeitungen im Text-Editor-Modus werden "
316
- "nicht auf Ihrem %s Layout gemacht werden. Möchten Sie fortfahren?"
317
-
318
- #: includes/admin-settings-branding.php:7
319
- msgid "White label the page builder by entering a custom name below."
320
- msgstr ""
321
- "White-Labeln Sie den Page Builder indem Sie unten einen eigenen Namen "
322
- "eingeben."
323
-
324
- #: includes/admin-settings-branding.php:10
325
- msgid ""
326
- "Additionally, you may also add a custom icon by entering the URL of an image "
327
- "below. Leave the field blank if you do not wish to use an icon."
328
- msgstr ""
329
- "Zusätzlich können Sie ein eigenes Icon hinzufügen indem Sie unten die URL "
330
- "eines Bildes eingeben. Lassen Sie das Feld frei wenn Sie kein Icon verwenden "
331
- "wollen."
332
-
333
- #: includes/admin-settings-branding.php:14
334
- msgid "Save Branding"
335
- msgstr "Branding speichern"
336
-
337
- #: includes/admin-settings-editing.php:3
338
- msgid "Editing Settings"
339
- msgstr "Einstellungen bearbeiten"
340
-
341
- #: includes/admin-settings-editing.php:10 includes/admin-settings-icons.php:27
342
- #: includes/admin-settings-modules.php:10
343
- #: includes/admin-settings-post-types.php:10
344
- #: includes/admin-settings-templates.php:10
345
- msgid "Override network settings?"
346
- msgstr "Netzwerkeinstellungen überschreiben?"
347
-
348
- #: includes/admin-settings-editing.php:16
349
- #, php-format
350
- msgid ""
351
- "Set the <a%s>capability</a> required for users to access advanced builder "
352
- "editing such as adding, deleting or moving modules."
353
- msgstr ""
354
- "Setze die <a%s> Berechtigung</a> die Benutzer benötigen um fortgeschrittene "
355
- "Buildervorgänge, wie Module hinzufügen, löschen oder verschieben, "
356
- "durchzuführen."
357
-
358
- #: includes/admin-settings-editing.php:22
359
- msgid "Save Editing Settings"
360
- msgstr "Speichere Bearbeitungseinstellungen"
361
-
362
- # @ fl-builder
363
- #: includes/admin-settings-help-button.php:8
364
- msgid "Help Button Settings"
365
- msgstr "Hilfe-Button-Einstellungen"
366
-
367
- # @ fl-builder
368
- #: includes/admin-settings-help-button.php:17
369
- msgid "Enable Help Button"
370
- msgstr "Hilfe Button aktivieren"
371
-
372
- # @ fl-builder
373
- #: includes/admin-settings-help-button.php:23
374
- msgid "Help Tour"
375
- msgstr "Hilfe Tour"
376
-
377
- # @ fl-builder
378
- #: includes/admin-settings-help-button.php:27
379
- msgid "Enable Help Tour"
380
- msgstr "Hilfe Tour aktivieren"
381
-
382
- # @ fl-builder
383
- #: includes/admin-settings-help-button.php:31
384
- msgid "Help Video"
385
- msgstr "Hilfe-Video"
386
-
387
- # @ fl-builder
388
- #: includes/admin-settings-help-button.php:35
389
- msgid "Enable Help Video"
390
- msgstr "Hilfe Video aktivieren"
391
-
392
- # @ fl-builder
393
- #: includes/admin-settings-help-button.php:39
394
- msgid "Help Video Embed Code"
395
- msgstr "Hilfe Video Embed Code"
396
-
397
- # @ fl-builder
398
- #: includes/admin-settings-help-button.php:45
399
- msgid "Knowledge Base"
400
- msgstr "Wissensdatenbank"
401
-
402
- # @ fl-builder
403
- #: includes/admin-settings-help-button.php:49
404
- msgid "Enable Knowledge Base"
405
- msgstr "Wissensdatenbank aktivieren"
406
-
407
- # @ fl-builder
408
- #: includes/admin-settings-help-button.php:53
409
- msgid "Knowledge Base URL"
410
- msgstr "URL der Wissensdatenbank"
411
-
412
- # @ fl-builder
413
- #: includes/admin-settings-help-button.php:59
414
- msgid "Forums"
415
- msgstr "Foren"
416
-
417
- # @ fl-builder
418
- #: includes/admin-settings-help-button.php:63
419
- msgid "Enable Forums"
420
- msgstr "Foren aktivieren"
421
-
422
- # @ fl-builder
423
- #: includes/admin-settings-help-button.php:67
424
- msgid "Forums URL"
425
- msgstr "URL der Foren"
426
-
427
- # @ fl-builder
428
- #: includes/admin-settings-help-button.php:77
429
- msgid "Save Help Button Settings"
430
- msgstr "Hilfe-Button-Einstellungen speichern"
431
-
432
- # @ fl-builder
433
- #: includes/admin-settings-icons.php:3
434
- msgid "Icon Settings"
435
- msgstr "Symboleinstellungen"
436
-
437
- # @ fl-builder
438
- #: includes/admin-settings-icons.php:13
439
- msgid "Icons for the main site must be managed in the network admin."
440
- msgstr "Symbole für die Hauptseite müssen vom Netzwerkadmin verwaltet werden."
441
-
442
- # @ fl-builder
443
- #: includes/admin-settings-icons.php:33
444
- #, php-format
445
- msgid ""
446
- "Enable or disable icon sets using the options below or upload a custom icon "
447
- "set from either <a%s>Icomoon</a> or <a%s>Fontello</a>."
448
- msgstr ""
449
- "Aktivieren oder deaktivieren Sie die Icon-Sets durch die Optionen unten oder "
450
- "laden Sie ein benutzerdefiniertes Iconset von <a%s>Icomoon</a> oder <a"
451
- "%s>Fontello</a> hoch."
452
-
453
- # @ fl-builder
454
- #: includes/admin-settings-icons.php:48
455
- msgctxt "Plugin setup page: Delete icon set."
456
- msgid "Delete"
457
- msgstr "Löschen"
458
-
459
- # @ fl-builder
460
- #: includes/admin-settings-icons.php:59
461
- msgid "Upload Icon Set"
462
- msgstr "Icon Set hochladen"
463
-
464
- # @ fl-builder
465
- #: includes/admin-settings-icons.php:60
466
- msgid "Save Icon Settings"
467
- msgstr "Icon Einstellungen speichern"
468
-
469
- # @ fl-builder
470
- #: includes/admin-settings-js-config.php:4
471
- msgid "Select File"
472
- msgstr "Datei auswählen"
473
-
474
- #: includes/admin-settings-js-config.php:5
475
- msgid ""
476
- "Please type \"uninstall\" in the box below to confirm that you really want "
477
- "to uninstall the page builder and all of its data."
478
- msgstr ""
479
- "Bitte tippen Sie \"uninstal\" in das Feld unten um zu bestätigen, dass sie "
480
- "den Page Builder und all seine Daten löschen möchten."
481
-
482
- #: includes/admin-settings-modules.php:3
483
- msgid "Enabled Modules"
484
- msgstr "Aktivierte Module"
485
-
486
- #: includes/admin-settings-modules.php:16
487
- msgid "Check or uncheck modules below to enable or disable them."
488
- msgstr "Wählen Sie unten Module aus um sie zu aktivieren/deaktivieren."
489
-
490
- #: includes/admin-settings-modules.php:25
491
- msgctxt "Plugin setup page: Modules."
492
- msgid "All"
493
- msgstr "Alle"
494
-
495
- #: includes/admin-settings-modules.php:43
496
- msgid "Save Module Settings"
497
- msgstr "Moduleinstellungen speichern"
498
-
499
- #: includes/admin-settings-post-types.php:18
500
- msgid ""
501
- "Enter a comma separated list of the post types you would like the builder to "
502
- "work with."
503
- msgstr ""
504
- "Geben Sie eine kommagetrennte Liste von Posttypen ein, mit denen der Builder "
505
- "arbeiten soll."
506
-
507
- #: includes/admin-settings-post-types.php:19
508
- #: includes/admin-settings-post-types.php:39
509
- msgid "NOTE: Not all custom post types may be supported."
510
- msgstr ""
511
- "ANMERKUNG: Es werden eventuell nicht alle benutzerdefinierten Posttypen "
512
- "unterstützt."
513
-
514
- #: includes/admin-settings-post-types.php:34
515
- msgid "Example: page, post, product"
516
- msgstr "Beispiel: Seite, Post, Produkt"
517
-
518
- #: includes/admin-settings-post-types.php:38
519
- msgid "Select the post types you would like the builder to work with."
520
- msgstr "Wählen Sie die Posttypen aus mit denen der Builder arbeiten soll."
521
-
522
- #: includes/admin-settings-post-types.php:70
523
- msgid "Save Post Types"
524
- msgstr "Posttypen speichern"
525
-
526
- #: includes/admin-settings-templates.php:3
527
- msgid "Template Settings"
528
- msgstr "Vorlageneinstellungen"
529
-
530
- #: includes/admin-settings-templates.php:16
531
- msgid "Enable or disable templates using the options below."
532
- msgstr "Aktivieren oder deaktivieren Sie Vorlagen mit den Optionen unten."
533
-
534
- #: includes/admin-settings-templates.php:23
535
- msgid "Enable All Templates"
536
- msgstr "Alle Vorlagen aktivieren"
537
-
538
- #: includes/admin-settings-templates.php:24
539
- msgid "Enable Core Templates Only"
540
- msgstr "Nur Kernvorlagen aktivieren"
541
-
542
- #: includes/admin-settings-templates.php:25
543
- msgid "Enable User Templates Only"
544
- msgstr "Nur Benutzervorlagen aktivieren"
545
-
546
- #: includes/admin-settings-templates.php:26
547
- msgid "Disable All Templates"
548
- msgstr "Alle Vorlagen deaktivieren"
549
-
550
- #: includes/admin-settings-templates.php:30
551
- msgid "Save Template Settings"
552
- msgstr "Vorlageneinstellungen speichern"
553
-
554
- #: includes/admin-settings-uninstall.php:5
555
- msgid ""
556
- "Clicking the button below will uninstall the page builder plugin and delete "
557
- "all of the data associated with it. You can uninstall or deactivate the page "
558
- "builder from the plugins page instead if you do not wish to delete the data."
559
- msgstr ""
560
- "Der Button unten deinstalliert den Page Builder und löscht alle mit ihm "
561
- "verbundenen Daten. Sie können das Plugin stattdessen von der Pluginsite "
562
- "deinstallieren oder deaktivieren, wenn Sie die Daten nicht löschen wollen."
563
-
564
- #: includes/admin-settings-uninstall.php:7
565
- #: includes/admin-settings-uninstall.php:10
566
- #: includes/updater/includes/form.php:31
567
- msgid "NOTE:"
568
- msgstr "ANMERKUNG:"
569
-
570
- #: includes/admin-settings-uninstall.php:7
571
- msgid ""
572
- "The builder does not delete the post meta <code>_fl_builder_data</code>, "
573
- "<code>_fl_builder_draft</code> and <code>_fl_builder_enabled</code> in case "
574
- "you want to reinstall it later. If you do, the builder will rebuild all of "
575
- "its data using those meta values."
576
- msgstr ""
577
- "Der Builder löscht nicht das Post-Meta <code>_fl_builder_data</code>, "
578
- "<code>_fl_builder_draft</code> and <code>_fl_builder_enabled</code> falls "
579
- "sie es später neu installieren möchten. Wenn Sie das tun, wird der Builder "
580
- "all seine Daten mit diesen Metawerden wiederherstellen."
581
-
582
- #: includes/admin-settings-uninstall.php:10
583
- #: includes/updater/includes/form.php:31
584
- msgid "This applies to all sites on the network."
585
- msgstr "Dies bezieht sich auf alle Seiten des Netzwerks."
586
-
587
- #: includes/admin-settings-upgrade.php:5
588
- msgid ""
589
- "You are currently running the lite version of the Beaver Builder plugin. "
590
- "Upgrade today for access to premium features such as advanced modules, "
591
- "templates, support and more!"
592
- msgstr ""
593
- "Sie benutzen derzeit die Liteversion des BB. Upgraden Sie um Zugang zu "
594
- "Premium-Features zu erhalten!"
595
-
596
- #: includes/admin-settings-upgrade.php:7
597
- msgid "Upgrade Now"
598
- msgstr "Jetzt upgraden"
599
-
600
- #: includes/admin-settings-upgrade.php:9
601
- msgid "Learn More"
602
- msgstr "Mehr erfahren"
603
-
604
- #: includes/column-settings.php:4 includes/js-config.php:23
605
- msgid "Column Settings"
606
- msgstr "Spalteneinstellungen"
607
-
608
- #: includes/column-settings.php:7 includes/module-settings.php:87
609
- #: includes/row-settings.php:9 modules/accordion/accordion.php:45
610
- #: modules/button/button.php:108 modules/button/button.php:146
611
- #: modules/button/button.php:150 modules/callout/callout.php:241
612
- #: modules/callout/callout.php:543
613
- #: modules/content-slider/content-slider.php:425
614
- #: modules/content-slider/content-slider.php:657 modules/cta/cta.php:101
615
- #: modules/cta/cta.php:299 modules/heading/heading.php:69
616
- #: modules/icon/icon.php:75 modules/icon-group/icon-group.php:44
617
- #: modules/pricing-table/pricing-table.php:43
618
- #: modules/pricing-table/pricing-table.php:155
619
- #: modules/separator/separator.php:72 modules/tabs/tabs.php:45
620
- msgid "Style"
621
- msgstr "Stil"
622
-
623
- #: includes/column-settings.php:14
624
- msgid "Column Width"
625
- msgstr "Spaltenbreite"
626
-
627
- #: includes/column-settings.php:26 includes/row-settings.php:48
628
- #: modules/button/button.php:66 modules/callout/callout.php:225
629
- #: modules/callout/callout.php:478 modules/callout/callout.php:494
630
- #: modules/content-slider/content-slider.php:382
631
- #: modules/content-slider/content-slider.php:616 modules/cta/cta.php:84
632
- #: modules/cta/cta.php:221
633
- msgid "Text"
634
- msgstr "Text"
635
-
636
- #: includes/column-settings.php:30 includes/column-settings.php:43
637
- #: includes/column-settings.php:100 includes/row-settings.php:52
638
- #: includes/row-settings.php:109 includes/row-settings.php:403
639
- #: modules/callout/callout.php:391
640
- #: modules/content-slider/content-slider.php:337 modules/icon/icon.php:82
641
- #: modules/icon-group/icon-group.php:51 modules/separator/separator.php:34
642
- msgid "Color"
643
- msgstr "Farbe"
644
-
645
- #: includes/column-settings.php:39 includes/row-settings.php:105
646
- #: modules/button/button.php:115 modules/callout/callout.php:404
647
- #: modules/callout/callout.php:508
648
- #: modules/content-slider/content-slider.php:363
649
- #: modules/content-slider/content-slider.php:630 modules/cta/cta.php:197
650
- #: modules/cta/cta.php:264 modules/icon/icon.php:95
651
- #: modules/icon-group/icon-group.php:64
652
- msgid "Background Color"
653
- msgstr "Hintergrundfarbe"
654
-
655
- #: includes/column-settings.php:51 includes/column-settings.php:108
656
- #: includes/row-settings.php:117 includes/row-settings.php:411
657
- #: modules/separator/separator.php:44
658
- msgid "Opacity"
659
- msgstr "Durchsichtigkeit"
660
-
661
- #: includes/column-settings.php:63 includes/row-settings.php:366
662
- msgid "Border"
663
- msgstr "Rahmen"
664
-
665
- #: includes/column-settings.php:67 includes/row-settings.php:65
666
- #: includes/row-settings.php:370 modules/callout/callout.php:474
667
- #: modules/content-slider/content-slider.php:331
668
- #: modules/content-slider/content-slider.php:378
669
- #: modules/content-slider/content-slider.php:596
670
- #: modules/content-slider/content-slider.php:729
671
- #: modules/slideshow/slideshow.php:339
672
- msgid "Type"
673
- msgstr "Typ"
674
-
675
- #: includes/column-settings.php:69 includes/row-settings.php:372
676
- msgid ""
677
- "The type of border to use. Double borders must have a width of at least 3px "
678
- "to render properly."
679
- msgstr ""
680
- "Der zu verwendende Linientyp. Doppelrahmen müssen eine Breite von mindestens "
681
- "3px haben um korrekt gerendert zu werden."
682
-
683
- #: includes/column-settings.php:71 includes/row-settings.php:374
684
- msgctxt "Border type."
685
- msgid "None"
686
- msgstr "Keiner"
687
-
688
- #: includes/column-settings.php:72 includes/row-settings.php:375
689
- #: modules/separator/separator.php:75
690
- msgctxt "Border type."
691
- msgid "Solid"
692
- msgstr "Durchgehend"
693
-
694
- #: includes/column-settings.php:73 includes/row-settings.php:376
695
- #: modules/separator/separator.php:76
696
- msgctxt "Border type."
697
- msgid "Dashed"
698
- msgstr "Gestrichelt"
699
-
700
- #: includes/column-settings.php:74 includes/row-settings.php:377
701
- #: modules/separator/separator.php:77
702
- msgctxt "Border type."
703
- msgid "Dotted"
704
- msgstr "Gepunktet"
705
-
706
- #: includes/column-settings.php:75 includes/row-settings.php:378
707
- #: modules/separator/separator.php:78
708
- msgctxt "Border type."
709
- msgid "Double"
710
- msgstr "Doppelt"
711
-
712
- #: includes/column-settings.php:119 includes/row-settings.php:422
713
- msgid "Top Width"
714
- msgstr "Breite oben"
715
-
716
- #: includes/column-settings.php:131 includes/row-settings.php:434
717
- msgid "Bottom Width"
718
- msgstr "Breite unten"
719
-
720
- #: includes/column-settings.php:143 includes/row-settings.php:446
721
- msgid "Left Width"
722
- msgstr "Breite links"
723
-
724
- #: includes/column-settings.php:155 includes/row-settings.php:458
725
- msgid "Right Width"
726
- msgstr "Breite rechts"
727
-
728
- #: includes/column-settings.php:170 includes/module-settings.php:6
729
- #: includes/row-settings.php:473 modules/content-slider/content-slider.php:273
730
- msgid "Advanced"
731
- msgstr "Erweitert"
732
-
733
- #: includes/column-settings.php:173 includes/global-settings.php:41
734
- #: includes/global-settings.php:94 includes/module-settings.php:9
735
- #: includes/row-settings.php:476
736
- msgid "Margins"
737
- msgstr "Abstand aussen"
738
-
739
- #: includes/column-settings.php:177 includes/column-settings.php:230
740
- #: includes/module-settings.php:13 includes/row-settings.php:480
741
- #: includes/row-settings.php:533 modules/slideshow/slideshow.php:475
742
- msgid "Top"
743
- msgstr "Oben"
744
-
745
- #: includes/column-settings.php:189 includes/column-settings.php:242
746
- #: includes/module-settings.php:25 includes/row-settings.php:492
747
- #: includes/row-settings.php:545 modules/slideshow/slideshow.php:474
748
- msgid "Bottom"
749
- msgstr "Unten"
750
-
751
- #: includes/column-settings.php:201 includes/column-settings.php:254
752
- #: includes/module-settings.php:37 includes/row-settings.php:504
753
- #: includes/row-settings.php:557 modules/button/button.php:219
754
- #: modules/callout/callout.php:252
755
- #: modules/content-slider/content-slider.php:476 modules/cta/cta.php:125
756
- #: modules/heading/heading.php:89 modules/heading/heading.php:161
757
- #: modules/icon/icon.php:134 modules/icon-group/icon-group.php:111
758
- #: modules/photo/photo.php:417 modules/social-buttons/social-buttons.php:101
759
- msgid "Left"
760
- msgstr "Links"
761
-
762
- #: includes/column-settings.php:213 includes/column-settings.php:266
763
- #: includes/module-settings.php:49 includes/row-settings.php:516
764
- #: includes/row-settings.php:569 modules/button/button.php:220
765
- #: modules/callout/callout.php:253
766
- #: modules/content-slider/content-slider.php:478 modules/cta/cta.php:127
767
- #: modules/heading/heading.php:91 modules/heading/heading.php:163
768
- #: modules/icon/icon.php:135 modules/icon-group/icon-group.php:112
769
- #: modules/photo/photo.php:419 modules/social-buttons/social-buttons.php:102
770
- msgid "Right"
771
- msgstr "Rechts"
772
-
773
- #: includes/column-settings.php:226 includes/global-settings.php:49
774
- #: includes/row-settings.php:529 modules/button/button.php:233
775
- #: modules/callout/callout.php:598
776
- #: modules/content-slider/content-slider.php:703 modules/cta/cta.php:345
777
- msgid "Padding"
778
- msgstr "Abstand innen"
779
-
780
- #: includes/column-settings.php:279 includes/global-settings.php:103
781
- #: includes/module-settings.php:62 includes/row-settings.php:582
782
- msgid "Responsive Layout"
783
- msgstr "Responsives Layout"
784
-
785
- #: includes/column-settings.php:283 includes/module-settings.php:66
786
- #: includes/row-settings.php:586 modules/slideshow/slideshow.php:290
787
- msgid "Display"
788
- msgstr "Anzeigen"
789
-
790
- #: includes/column-settings.php:285 includes/module-settings.php:68
791
- #: includes/row-settings.php:588
792
- msgid "Always"
793
- msgstr "Immer"
794
-
795
- #: includes/column-settings.php:286 includes/module-settings.php:69
796
- #: includes/row-settings.php:589
797
- msgid "Large Devices Only"
798
- msgstr "Nur große Geräte"
799
-
800
- #: includes/column-settings.php:287 includes/module-settings.php:70
801
- #: includes/row-settings.php:590
802
- msgid "Large &amp; Medium Devices Only"
803
- msgstr "Nur große &amp; mittelgroße Geräte"
804
-
805
- #: includes/column-settings.php:288 includes/module-settings.php:71
806
- #: includes/row-settings.php:591
807
- msgid "Medium Devices Only"
808
- msgstr "Nur mittelgroße Geräte"
809
-
810
- #: includes/column-settings.php:289 includes/module-settings.php:72
811
- #: includes/row-settings.php:592
812
- msgid "Medium &amp; Small Devices Only"
813
- msgstr "Nur mittelgroße &amp; kleine Geräte"
814
-
815
- #: includes/column-settings.php:290 includes/module-settings.php:73
816
- #: includes/row-settings.php:593
817
- msgid "Small Devices Only"
818
- msgstr "Nur kleine Geräte"
819
-
820
- #: includes/column-settings.php:292
821
- msgid "Choose whether to show or hide this column at different device sizes."
822
- msgstr ""
823
- "Wählen Sie ob diese Spalte für verschiedene Gerätegrößen angezeigt oder "
824
- "versteckt werden soll."
825
-
826
- #: includes/column-settings.php:299
827
- msgid "Medium Device Width"
828
- msgstr "Breite für mittelgroße Geräte"
829
-
830
- #: includes/column-settings.php:300
831
- msgid "The width of this column on medium devices such as tablets."
832
- msgstr "Die Breite dieser Spalte auf mittelgroßen Geräten wie Tablets."
833
-
834
- #: includes/column-settings.php:302 includes/column-settings.php:330
835
- #: modules/callout/callout.php:283
836
- #: modules/content-slider/content-slider.php:448 modules/cta/cta.php:167
837
- #: modules/heading/heading.php:117 modules/heading/heading.php:144
838
- #: modules/heading/heading.php:174
839
- msgid "Default"
840
- msgstr "Default"
841
-
842
- #: includes/column-settings.php:303 includes/column-settings.php:331
843
- #: modules/button/button.php:193 modules/callout/callout.php:284
844
- #: modules/content-slider/content-slider.php:449 modules/cta/cta.php:168
845
- #: modules/heading/heading.php:118 modules/heading/heading.php:145
846
- #: modules/heading/heading.php:175
847
- #: modules/social-buttons/social-buttons.php:74
848
- msgid "Custom"
849
- msgstr "Benutzerdefiniert"
850
-
851
- #: includes/column-settings.php:316
852
- msgid "Custom Medium Device Width"
853
- msgstr "Benutzerdefinierte Breite für mittelgroße Geräte"
854
-
855
- #: includes/column-settings.php:327
856
- msgid "Small Device Width"
857
- msgstr "Breite für kleine Geräte"
858
-
859
- #: includes/column-settings.php:328
860
- msgid "The width of this column on small devices such as phones."
861
- msgstr "Breite dieser Spalte auf kleinen Geräten wie Handys."
862
-
863
- #: includes/column-settings.php:344
864
- msgid "Custom Small Device Width"
865
- msgstr "Benutzerdefinerte Breite für kleine Geräte"
866
-
867
- # @ fl-builder
868
- #: includes/column-settings.php:356 includes/module-settings.php:115
869
- #: includes/row-settings.php:603
870
- msgid "CSS Selectors"
871
- msgstr "CSS-Selektoren"
872
-
873
- #: includes/column-settings.php:360 includes/loop-settings.php:27
874
- #: includes/module-settings.php:119 includes/row-settings.php:607
875
- msgid "ID"
876
- msgstr "ID"
877
-
878
- # @ fl-builder
879
- #: includes/column-settings.php:361
880
- msgid ""
881
- "A unique ID that will be applied to this column's HTML. Must start with a "
882
- "letter and only contain dashes, underscores, letters or numbers. No spaces."
883
- msgstr ""
884
- "Eine eindeutige ID, die auf das HTML dieser Spalte angewendet wird. Sie muss "
885
- "mit einem Buchstaben beginnen und nur Bindestriche, Unterstriche, Buchstaben "
886
- "oder Zahlen enthalten. Keine Leerzeichen."
887
-
888
- #: includes/column-settings.php:368
889
- msgid "CSS Class"
890
- msgstr "CSS Klasse"
891
-
892
- # @ fl-builder
893
- #: includes/column-settings.php:369
894
- msgid ""
895
- "A class that will be applied to this column's HTML. Must start with a letter "
896
- "and only contain dashes, underscores, letters or numbers. Separate multiple "
897
- "classes with spaces."
898
- msgstr ""
899
- "Eine Klasse, die auf das HTML dieser Spalte angewendet wird. Sie muss mit "
900
- "einem Buchstaben beginnen und nur Bindestriche, Unterstriche, Buchstaben "
901
- "oder Zahlen enthalten. Keine Leerzeichen."
902
-
903
- #: includes/field-form.php:28
904
- #, php-format
905
- msgctxt "%s stands for form field label."
906
- msgid "Edit %s"
907
- msgstr "Bearbeiten %s"
908
-
909
- #: includes/field-icon.php:2 includes/icon-selector.php:2
910
- msgid "Select Icon"
911
- msgstr "Icon auswählen"
912
-
913
- #: includes/field-icon.php:5 includes/field-photo.php:13
914
- msgid "Replace"
915
- msgstr "Ersetzen"
916
-
917
- #: includes/field-icon.php:7 includes/js-config.php:58
918
- msgid "Remove"
919
- msgstr "Löschen"
920
-
921
- #: includes/field-link.php:3
922
- msgid "Select"
923
- msgstr "Auswählen"
924
-
925
- #: includes/field-link.php:5
926
- msgid "Enter a post title to search."
927
- msgstr "Geben Sie den Posttitel ein, der gesucht werden soll."
928
-
929
- #: includes/field-link.php:6 includes/field-suggest.php:7
930
- msgid "Start typing..."
931
- msgstr "Beginnen Sie zu tippen..."
932
-
933
- #: includes/field-link.php:7 includes/icon-selector.php:28
934
- #: includes/js-config.php:19 includes/settings.php:63
935
- #: includes/template-selector.php:102 includes/ui.php:11
936
- msgid "Cancel"
937
- msgstr "Abbrechen"
938
-
939
- #: includes/field-multiple-photos.php:8
940
- #, php-format
941
- msgid "1 Photo Selected"
942
- msgid_plural "%d Photos Selected"
943
- msgstr[0] "1 Foto ausgewählt"
944
- msgstr[1] "%d Fotos ausgewählt"
945
-
946
- #: includes/field-multiple-photos.php:13
947
- msgid "Create Gallery"
948
- msgstr "Galerie erstellen"
949
-
950
- #: includes/field-multiple-photos.php:14
951
- msgid "Edit Gallery"
952
- msgstr "Galerie bearbeiten"
953
-
954
- #: includes/field-multiple-photos.php:15
955
- msgid "Add Photos"
956
- msgstr "Fotos hinzufügen"
957
-
958
- #: includes/field-photo.php:3 includes/js-config.php:63
959
- msgid "Select Photo"
960
- msgstr "Foto auswählen"
961
-
962
- #: includes/field-photo.php:12 includes/template-selector.php:83
963
- msgid "Edit"
964
- msgstr "Bearbeiten"
965
-
966
- #: includes/field-video.php:3 includes/js-config.php:65
967
- msgid "Select Video"
968
- msgstr "Video auswählen"
969
-
970
- #: includes/field-video.php:17
971
- msgid "Replace Video"
972
- msgstr "Video ersetzen"
973
-
974
- #: includes/global-settings.php:7 includes/user-template-settings.php:7
975
- #: modules/accordion/accordion.php:110 modules/button/button.php:59
976
- #: modules/callout/callout.php:209 modules/contact-form/contact-form.php:57
977
- #: modules/content-slider/content-slider.php:190
978
- #: modules/content-slider/content-slider.php:314 modules/cta/cta.php:67
979
- #: modules/gallery/gallery.php:213 modules/heading/heading.php:26
980
- #: modules/html/html.php:26 modules/icon/icon.php:27
981
- #: modules/icon-group/icon-group.php:128 modules/map/map.php:26
982
- #: modules/photo/photo.php:368 modules/pricing-table/pricing-table.php:87
983
- #: modules/rich-text/rich-text.php:26 modules/separator/separator.php:27
984
- #: modules/sidebar/sidebar.php:27 modules/slideshow/slideshow.php:256
985
- #: modules/social-buttons/social-buttons.php:64 modules/tabs/tabs.php:77
986
- #: modules/testimonials/testimonials.php:30
987
- #: modules/testimonials/testimonials.php:200 modules/video/video.php:76
988
- #: modules/widget/widget.php:64 modules/woocommerce/woocommerce.php:50
989
- msgid "General"
990
- msgstr "Allgemein"
991
-
992
- #: includes/global-settings.php:8
993
- msgid "Note: These settings apply to all posts and pages."
994
- msgstr "Anmerkung: Diese Einstellungen gelten für alle Beiträge und Seiten."
995
-
996
- #: includes/global-settings.php:11
997
- msgid "Default Page Heading"
998
- msgstr "Default Page Überschrift"
999
-
1000
- #: includes/global-settings.php:15
1001
- msgctxt ""
1002
- "General settings form field label. Intended meaning: \"Show page heading?\""
1003
- msgid "Show"
1004
- msgstr "Anzeigen"
1005
-
1006
- #: includes/global-settings.php:18 includes/global-settings.php:110
1007
- #: includes/row-settings.php:307 modules/accordion/accordion.php:90
1008
- #: modules/callout/callout.php:420
1009
- #: modules/content-slider/content-slider.php:209
1010
- #: modules/content-slider/content-slider.php:223
1011
- #: modules/content-slider/content-slider.php:257
1012
- #: modules/content-slider/content-slider.php:266
1013
- #: modules/content-slider/content-slider.php:537 modules/icon/icon.php:111
1014
- #: modules/icon-group/icon-group.php:80 modules/slideshow/slideshow.php:315
1015
- #: modules/slideshow/slideshow.php:325 modules/slideshow/slideshow.php:376
1016
- #: modules/slideshow/slideshow.php:417 modules/slideshow/slideshow.php:439
1017
- #: modules/slideshow/slideshow.php:488 modules/slideshow/slideshow.php:497
1018
- #: modules/slideshow/slideshow.php:506 modules/slideshow/slideshow.php:515
1019
- #: modules/slideshow/slideshow.php:524 modules/slideshow/slideshow.php:533
1020
- #: modules/slideshow/slideshow.php:542 modules/slideshow/slideshow.php:556
1021
- #: modules/slideshow/slideshow.php:571 modules/slideshow/slideshow.php:606
1022
- #: modules/slideshow/slideshow.php:618 modules/slideshow/slideshow.php:630
1023
- #: modules/slideshow/slideshow.php:642
1024
- #: modules/social-buttons/social-buttons.php:111
1025
- #: modules/social-buttons/social-buttons.php:120
1026
- #: modules/social-buttons/social-buttons.php:129
1027
- #: modules/testimonials/testimonials.php:85
1028
- #: modules/testimonials/testimonials.php:124
1029
- #: modules/testimonials/testimonials.php:154 modules/video/video.php:111
1030
- #: modules/video/video.php:123
1031
- msgid "No"
1032
- msgstr "Nein"
1033
-
1034
- #: includes/global-settings.php:19 includes/global-settings.php:111
1035
- #: includes/row-settings.php:308 modules/accordion/accordion.php:89
1036
- #: modules/callout/callout.php:421
1037
- #: modules/content-slider/content-slider.php:210
1038
- #: modules/content-slider/content-slider.php:224
1039
- #: modules/content-slider/content-slider.php:258
1040
- #: modules/content-slider/content-slider.php:267
1041
- #: modules/content-slider/content-slider.php:538 modules/icon/icon.php:112
1042
- #: modules/icon-group/icon-group.php:81 modules/slideshow/slideshow.php:316
1043
- #: modules/slideshow/slideshow.php:326 modules/slideshow/slideshow.php:377
1044
- #: modules/slideshow/slideshow.php:418 modules/slideshow/slideshow.php:440
1045
- #: modules/slideshow/slideshow.php:489 modules/slideshow/slideshow.php:498
1046
- #: modules/slideshow/slideshow.php:507 modules/slideshow/slideshow.php:516
1047
- #: modules/slideshow/slideshow.php:525 modules/slideshow/slideshow.php:534
1048
- #: modules/slideshow/slideshow.php:543 modules/slideshow/slideshow.php:557
1049
- #: modules/slideshow/slideshow.php:572 modules/slideshow/slideshow.php:607
1050
- #: modules/slideshow/slideshow.php:619 modules/slideshow/slideshow.php:631
1051
- #: modules/slideshow/slideshow.php:643
1052
- #: modules/social-buttons/social-buttons.php:110
1053
- #: modules/social-buttons/social-buttons.php:119
1054
- #: modules/social-buttons/social-buttons.php:128
1055
- #: modules/testimonials/testimonials.php:86
1056
- #: modules/testimonials/testimonials.php:125
1057
- #: modules/testimonials/testimonials.php:155 modules/video/video.php:112
1058
- #: modules/video/video.php:124
1059
- msgid "Yes"
1060
- msgstr "Ja"
1061
-
1062
- #: includes/global-settings.php:26
1063
- msgid ""
1064
- "Choosing no will hide the default theme heading for the \"Page\" post type. "
1065
- "You will also be required to enter some basic CSS for this to work if you "
1066
- "choose no."
1067
- msgstr ""
1068
- "Wenn Sie Nein wählen, wird das Default Theme Überschrift für den \"Page\" "
1069
- "Posttyp nicht angezigt. Sie müssen grundlegendes CSS eingeben, damit die "
1070
- "Einstellung Nein funktioniert."
1071
-
1072
- #: includes/global-settings.php:30
1073
- msgid "CSS Selector"
1074
- msgstr "CSS-Selektor"
1075
-
1076
- #: includes/global-settings.php:32
1077
- msgid "Enter a CSS selector for the default page heading to hide it."
1078
- msgstr ""
1079
-