Instagram Feed - Version 6.0.7

Version Description

  • Fix: Removed legacy "disable mobile" setting support as it was causing confusion for users updating from 2.x where changes to feed columns would not have an effect.
  • Fix: Removed the reference in the feed CSS file to an image file that didn't exist.in the feed CSS file.
  • Fix: All sources would be removed when the grace period to address app permission issues ended. Now only the single source will be removed.
  • Fix: The number of posts would be inaccurate in the feed preview when using the customizer for mobile devices.
Download this release

Release Info

Developer Craig at Smash Balloon
Plugin Icon 128x128 Instagram Feed
Version 6.0.7
Comparing to
See all releases

Code changes from version 6.0.6 to 6.0.7

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: smashballoon, craig-at-smash-balloon
3
  Tags: Instagram, Instagram feed, Instagram photos, Instagram widget, Instagram gallery
4
  Requires at least: 4.1
5
  Tested up to: 6.0
6
- Stable tag: 6.0.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -331,6 +331,12 @@ We understand that sometimes you need help, have issues or just have questions.
331
  * Plus more customization options added all the time!
332
 
333
  == Changelog ==
 
 
 
 
 
 
334
  = 6.0.6 =
335
  * Tweak: Added a warning notice to allow a grace period before Instagram data is permanently deleted from your site after deauthorizing the Smash Balloon Instagram app. Due to Instagram requirements, any Instagram data on your site must be deleted within a reasonable time after the app has been deauthorized. The new warning notice provides a 7 day grace period to allow you time to reauthorize the app if you don't want the data to be deleted.
336
  * Tweak: Reconnecting an account now results in deleting the original connection in the database and adding a new one. This will prevent issues with some caching systems like Redis.
3
  Tags: Instagram, Instagram feed, Instagram photos, Instagram widget, Instagram gallery
4
  Requires at least: 4.1
5
  Tested up to: 6.0
6
+ Stable tag: 6.0.7
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
331
  * Plus more customization options added all the time!
332
 
333
  == Changelog ==
334
+ = 6.0.7 =
335
+ * Fix: Removed legacy "disable mobile" setting support as it was causing confusion for users updating from 2.x where changes to feed columns would not have an effect.
336
+ * Fix: Removed the reference in the feed CSS file to an image file that didn't exist.in the feed CSS file.
337
+ * Fix: All sources would be removed when the grace period to address app permission issues ended. Now only the single source will be removed.
338
+ * Fix: The number of posts would be inaccurate in the feed preview when using the customizer for mobile devices.
339
+
340
  = 6.0.6 =
341
  * Tweak: Added a warning notice to allow a grace period before Instagram data is permanently deleted from your site after deauthorizing the Smash Balloon Instagram app. Due to Instagram requirements, any Instagram data on your site must be deleted within a reasonable time after the app has been deauthorized. The new warning notice provides a 7 day grace period to allow you time to reauthorize the app if you don't want the data to be deleted.
342
  * Tweak: Reconnecting an account now results in deleting the original connection in the database and adding a new one. This will prevent issues with some caching systems like Redis.
admin/SBI_Admin_Notices.php CHANGED
@@ -158,6 +158,7 @@ class SBI_Admin_Notices
158
  // Check the API
159
  $sbi_api_params = array(
160
  'edd_action'=> 'check_license',
 
161
  'license' => $sbi_license,
162
  'item_name' => urlencode( SBI_PLUGIN_NAME ) // the name of our product in EDD
163
  );
158
  // Check the API
159
  $sbi_api_params = array(
160
  'edd_action'=> 'check_license',
161
+ 'nocache' => '1',
162
  'license' => $sbi_license,
163
  'item_name' => urlencode( SBI_PLUGIN_NAME ) // the name of our product in EDD
164
  );
admin/SBI_Upgrader.php CHANGED
@@ -63,6 +63,7 @@ class SBI_Upgrader {
63
  'author' => 'SmashBalloon',
64
  'url' => home_url(),
65
  'beta' => false,
 
66
  );
67
 
68
  $api_url = trailingslashit( self::STORE_URL );
@@ -110,14 +111,14 @@ class SBI_Upgrader {
110
  'plugin_slug' => 'pro',
111
  'plugin_path' => plugin_basename( __FILE__ ),
112
  'plugin_url' => trailingslashit( WP_PLUGIN_URL ) . 'pro',
113
- 'home_url' => $home_url,
114
  'version' => '1.0',
115
  'key' => $license,
116
  );
117
- $url = add_query_arg( $args, self::CHECK_URL );
118
 
119
  $remote_request_args = array(
120
- 'timeout' => '20',
121
  );
122
 
123
  $response = wp_remote_get( $url, $remote_request_args );
@@ -160,24 +161,24 @@ class SBI_Upgrader {
160
  // Redirect.
161
  $oth = hash( 'sha512', wp_rand() );
162
  update_option( 'sbi_one_click_upgrade', $oth );
163
- $version = '1.0';
164
- $version_info = SBI_Upgrader::get_version_info( $license_data );
165
- $file = '';
166
  if ( isset( $version_info->package ) ) {
167
  $file = $version_info->package;
168
  }
169
  $siteurl = admin_url();
170
  $endpoint = admin_url( 'admin-ajax.php' );
171
  $redirect = admin_url( 'admin.php?page=' . self::REDIRECT );
172
- $url = add_query_arg( array(
173
- 'key' => $license,
174
- 'oth' => $oth,
175
- 'endpoint' => $endpoint,
176
- 'version' => $version,
177
- 'siteurl' => $siteurl,
178
- 'homeurl' => $home_url,
179
- 'redirect' => rawurldecode( base64_encode( $redirect ) ),
180
- 'file' => rawurldecode( base64_encode( $file ) ),
181
  'plugin_name' => self::NAME,
182
  ), self::UPGRADE_URL );
183
  wp_send_json_success( array(
@@ -270,7 +271,7 @@ class SBI_Upgrader {
270
  $file = $version_info->package;
271
  }
272
  } else {
273
- wp_send_json_error( new WP_Error( '403', esc_html__( 'You are not licensed.', 'instagram-feed' ) ) );
274
  }
275
 
276
  if ( ! empty( $file ) ) {
@@ -325,7 +326,7 @@ class SBI_Upgrader {
325
  if ( ! filter_var( $host, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE ) ) {
326
  $is_local_url = true;
327
  }
328
- } else if ( 'localhost' === $host ) {
329
  $is_local_url = true;
330
  }
331
 
@@ -373,9 +374,6 @@ class SBI_Upgrader {
373
  $message = __( 'We encountered a problem unlocking the PRO features. Please install the PRO version manually.', 'instagram-feed' );
374
  }
375
 
376
- } elseif ( isset( $response['license_data'] ) ) {
377
- $error = SBI_Global_Settings::get_license_error_message( $response['license_data'] );
378
- $message = $error['errorMsg'];
379
  }
380
 
381
  return $message;
63
  'author' => 'SmashBalloon',
64
  'url' => home_url(),
65
  'beta' => false,
66
+ 'nocache' => '1',
67
  );
68
 
69
  $api_url = trailingslashit( self::STORE_URL );
111
  'plugin_slug' => 'pro',
112
  'plugin_path' => plugin_basename( __FILE__ ),
113
  'plugin_url' => trailingslashit( WP_PLUGIN_URL ) . 'pro',
114
+ 'home_url' => $home_url,
115
  'version' => '1.0',
116
  'key' => $license,
117
  );
118
+ $url = add_query_arg( $args, self::CHECK_URL );
119
 
120
  $remote_request_args = array(
121
+ 'timeout' => '20',
122
  );
123
 
124
  $response = wp_remote_get( $url, $remote_request_args );
161
  // Redirect.
162
  $oth = hash( 'sha512', wp_rand() );
163
  update_option( 'sbi_one_click_upgrade', $oth );
164
+ $version = '1.0';
165
+ $version_info = SBI_Upgrader::get_version_info( $license_data );
166
+ $file = '';
167
  if ( isset( $version_info->package ) ) {
168
  $file = $version_info->package;
169
  }
170
  $siteurl = admin_url();
171
  $endpoint = admin_url( 'admin-ajax.php' );
172
  $redirect = admin_url( 'admin.php?page=' . self::REDIRECT );
173
+ $url = add_query_arg( array(
174
+ 'key' => $license,
175
+ 'oth' => $oth,
176
+ 'endpoint' => $endpoint,
177
+ 'version' => $version,
178
+ 'siteurl' => $siteurl,
179
+ 'homeurl' => $home_url,
180
+ 'redirect' => rawurldecode( base64_encode( $redirect ) ),
181
+ 'file' => rawurldecode( base64_encode( $file ) ),
182
  'plugin_name' => self::NAME,
183
  ), self::UPGRADE_URL );
184
  wp_send_json_success( array(
271
  $file = $version_info->package;
272
  }
273
  } else {
274
+ wp_send_json_error( new \WP_Error( '403', esc_html__( 'You are not licensed.', 'instagram-feed' ) ) );
275
  }
276
 
277
  if ( ! empty( $file ) ) {
326
  if ( ! filter_var( $host, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE ) ) {
327
  $is_local_url = true;
328
  }
329
+ } elseif ( 'localhost' === $host ) {
330
  $is_local_url = true;
331
  }
332
 
374
  $message = __( 'We encountered a problem unlocking the PRO features. Please install the PRO version manually.', 'instagram-feed' );
375
  }
376
 
 
 
 
377
  }
378
 
379
  return $message;
admin/builder/assets/js/builder.js CHANGED
@@ -1620,6 +1620,7 @@ sbiBuilder = new Vue({
1620
  var self = this;
1621
  self.customizerScreens.previewScreen = previewScreen;
1622
  self.loadingBar = true;
 
1623
  setTimeout(function(){
1624
  self.setShortcodeGlobalSettings(true);
1625
  self.loadingBar = false;
1620
  var self = this;
1621
  self.customizerScreens.previewScreen = previewScreen;
1622
  self.loadingBar = true;
1623
+ window.sbi_preview_device = previewScreen;
1624
  setTimeout(function(){
1625
  self.setShortcodeGlobalSettings(true);
1626
  self.loadingBar = false;
css/sb-instagram-2-2.css CHANGED
@@ -502,7 +502,6 @@
502
  }
503
  #sb_instagram .sb_instagram_header .sbi_header_img_hover i {
504
  overflow: hidden;
505
- background: url('../img/small-logo.png') no-repeat 0 0;
506
  }
507
  #sb_instagram .sb_instagram_header .sbi_header_img_hover,
508
  .sb_instagram_header .sbi_header_img_hover{
502
  }
503
  #sb_instagram .sb_instagram_header .sbi_header_img_hover i {
504
  overflow: hidden;
 
505
  }
506
  #sb_instagram .sb_instagram_header .sbi_header_img_hover,
507
  .sb_instagram_header .sbi_header_img_hover{
css/sb-instagram-2-2.min.css CHANGED
@@ -1 +1 @@
1
- #sb_instagram{width:100%;margin:0 auto;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram:after{content:"";display:table;clear:both}#sb_instagram.sbi_fixed_height{overflow:hidden;overflow-y:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_images{width:100%;float:left;line-height:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram .sbi_header_link{-webkit-box-shadow:none;box-shadow:none}#sb_instagram .sbi_header_link:hover{border:none}#sb_instagram #sbi_images .sbi_item{display:inline-block;float:left;vertical-align:top;zoom:1;padding:inherit!important;margin:0!important;text-decoration:none;opacity:1;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease}#sb_instagram #sbi_images .sbi_item.sbi_transition{opacity:0}#sb_instagram.sbi_col_1 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item{width:10%}#sb_instagram.sbi_col_1.sbi_disable_mobile #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2.sbi_disable_mobile #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3.sbi_disable_mobile #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5.sbi_disable_mobile #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6.sbi_disable_mobile #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7.sbi_disable_mobile #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8.sbi_disable_mobile #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9.sbi_disable_mobile #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10.sbi_disable_mobile #sbi_images .sbi_item{width:10%}#sb_instagram .sbi_photo_wrap{position:relative}#sb_instagram .sbi_photo{display:block;text-decoration:none}#sb_instagram .sbi_photo img{width:100%;height:auto}#sb_instagram .sbi_no_js img{display:none}#sb_instagram a,#sb_instagram a:active,#sb_instagram a:focus,#sb_instagram a:hover{outline:0}#sb_instagram img{display:block;padding:0!important;margin:0!important;max-width:100%!important;opacity:1!important}#sb_instagram .sbi_link{display:none;position:absolute;bottom:0;right:0;width:100%;padding:10px 0;background:rgba(0,0,0,.5);text-align:center;color:#fff;font-size:12px;line-height:1.1}#sb_instagram .sbi_link a{padding:0 6px;text-decoration:none;color:#fff;font-size:12px;line-height:1.1;display:inline-block;vertical-align:top;zoom:1}#sb_instagram .sbi_link .sbi_lightbox_link{padding-bottom:5px}#sb_instagram .sbi_link a:focus,#sb_instagram .sbi_link a:hover{text-decoration:underline}#sb_instagram .sbi_photo_wrap:focus .sbi_link,#sb_instagram .sbi_photo_wrap:hover .sbi_link{display:block}#sb_instagram svg:not(:root).svg-inline--fa{height:1em;display:inline-block}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .sbi_playbtn,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel .fa-clone{display:block!important;position:absolute;z-index:1;color:#fff;color:rgba(255,255,255,.9);font-style:normal!important;text-shadow:0 0 8px rgba(0,0,0,.8)}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_video .sbi_playbtn{z-index:2;top:50%;left:50%;margin-top:-24px;margin-left:-19px;padding:0;font-size:48px}#sb_instagram .sbi_type_carousel .fa-clone{right:12px;top:12px;font-size:24px;text-shadow:0 0 8px rgba(0,0,0,.3)}#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel svg.fa-clone{-webkit-filter:drop-shadow(0px 0px 2px rgba(0,0,0,.4));filter:drop-shadow( 0px 0px 2px rgba(0,0,0,.4) )}#sb_instagram .sbi_loader{width:20px;height:20px;position:relative;top:50%;left:50%;margin:-10px 0 0 -10px;background-color:#000;background-color:rgba(0,0,0,.5);border-radius:100%;-webkit-animation:sbi-sk-scaleout 1s infinite ease-in-out;animation:sbi-sk-scaleout 1s infinite ease-in-out}#sb_instagram br{display:none}#sbi_load p{display:inline;padding:0;margin:0}#sb_instagram #sbi_load .sbi_loader{position:absolute;margin-top:-11px;background-color:#fff;opacity:1}@-webkit-keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0)}100%{-webkit-transform:scale(1);opacity:0}}@keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:0}}#sb_instagram .fa-spin,#sbi_lightbox .fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}#sb_instagram .fa-pulse,#sbi_lightbox .fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.sbi-screenreader{text-indent:-9999px!important;display:block!important;width:0!important;height:0!important;line-height:0!important;text-align:left!important;overflow:hidden!important}#sb_instagram .sb_instagram_header,.sb_instagram_header{float:left;clear:both;margin:0 0 15px 0;padding:0;line-height:1.2;width:100%}#sb_instagram .sb_instagram_header a,.sb_instagram_header a{float:left;display:block;text-decoration:none;transition:color .5s ease}.sb_instagram_header.sbi_header_outside{float:unset;margin-left:auto!important;margin-right:auto!important}.sbi_no_avatar .sbi_header_img{background:#333;color:#fff;width:50px;height:50px;position:relative}.sbi_no_avatar .sbi_header_hashtag_icon{display:block;color:#fff;opacity:.9;-webkit-transition:background .6s linear,color .6s linear;-moz-transition:background .6s linear,color .6s linear;-o-transition:background .6s linear,color .6s linear;transition:background .6s linear,color .6s linear}.sbi_no_avatar:hover .sbi_header_hashtag_icon{display:block;opacity:1;-webkit-transition:background .2s linear,color .2s linear;-moz-transition:background .2s linear,color .2s linear;-o-transition:background .2s linear,color .2s linear;transition:background .2s linear,color .2s linear}@media all and (min-width:480px){#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img,.sb_instagram_header.sbi_medium .sbi_header_img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img img,.sb_instagram_header.sbi_medium .sbi_header_img img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3,.sb_instagram_header.sbi_medium .sbi_header_text h3{font-size:20px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{font-size:14px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_medium .sbi_header_text h3{margin-left:95px!important;line-height:1.4}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3,.sb_instagram_header.sbi_medium .sbi_header_text h3{margin-right:-85px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{margin-top:4px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3,.sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3{padding-top:20px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img,.sb_instagram_header.sbi_large .sbi_header_img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img img,.sb_instagram_header.sbi_large .sbi_header_img img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3,.sb_instagram_header.sbi_large .sbi_header_text h3{font-size:28px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{font-size:16px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_large .sbi_header_text h3{margin-left:140px!important;line-height:1.5}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3,.sb_instagram_header.sbi_large .sbi_header_text h3{margin-right:-120px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{margin-top:12px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3,.sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3{padding-top:32px!important}}#sb_instagram .sb_instagram_header .sbi_header_img,.sb_instagram_header .sbi_header_img{float:left;position:relative;width:50px;margin:0 0 0 -100%!important;overflow:hidden;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img img,.sb_instagram_header .sbi_header_img img{float:left;margin:0!important;padding:0!important;border:none!important;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img_hover,.sb_instagram_header .sbi_header_img_hover{opacity:0;position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75)}#sb_instagram .sb_instagram_header .sbi_header_hashtag_icon .sbi_new_logo,#sb_instagram .sb_instagram_header .sbi_header_img_hover .sbi_new_logo,.sb_instagram_header .sbi_header_hashtag_icon .sbi_new_logo,.sb_instagram_header .sbi_header_img_hover .sbi_new_logo{position:absolute;top:50%;left:50%;margin-top:-12px;margin-left:-12px;width:24px;height:24px;font-size:24px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_hashtag_icon .sbi_new_logo,.sb_instagram_header.sbi_medium .sbi_header_hashtag_icon .sbi_new_logo{margin-top:-18px;margin-left:-18px;width:36px;height:36px;font-size:36px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_hashtag_icon .sbi_new_logo,.sb_instagram_header.sbi_large .sbi_header_hashtag_icon .sbi_new_logo{margin-top:-24px;margin-left:-24px;width:48px;height:48px;font-size:48px}#sb_instagram .sb_instagram_header .sbi_header_img_hover i{overflow:hidden;background:url('../img/small-logo.png') no-repeat 0 0}#sb_instagram .sb_instagram_header .sbi_header_img_hover,.sb_instagram_header .sbi_header_img_hover{z-index:2;transition:opacity .4s ease-in-out}#sb_instagram .sb_instagram_header .sbi_fade_in,.sb_instagram_header .sbi_fade_in{opacity:1;transition:opacity .2s ease-in-out}#sb_instagram .sb_instagram_header .sbi_header_img_hover,.sb_instagram_header .sbi_header_img_hover{position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75);-moz-opacity:0;opacity:0;border-radius:40px;transition:opacity .2s}#sb_instagram .sb_instagram_header a:focus .sbi_header_img_hover,#sb_instagram .sb_instagram_header a:hover .sbi_header_img_hover,.sb_instagram_header a:focus .sbi_header_img_hover,.sb_instagram_header a:hover .sbi_header_img_hover{opacity:1}#sb_instagram .sb_instagram_header .sbi_header_text,.sb_instagram_header .sbi_header_text{float:left;width:100%;padding-top:5px}#sb_instagram .sb_instagram_header a,.sb_instagram_header a{text-decoration:none}#sb_instagram .sb_instagram_header .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header .sbi_header_text h3,.sb_instagram_header .sbi_header_text .sbi_bio,.sb_instagram_header .sbi_header_text h3{float:left;clear:both;width:auto;margin:0 0 0 60px!important;padding:0!important}#sb_instagram .sb_instagram_header h3,.sb_instagram_header h3{font-size:16px;line-height:1.3}#sb_instagram .sb_instagram_header p,.sb_instagram_header p{font-size:13px;line-height:1.3;margin:0;padding:0}#sb_instagram p:empty{display:none}#sb_instagram .sb_instagram_header .sbi_header_text img.emoji,.sb_instagram_header .sbi_header_text img.emoji{margin-right:3px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3,.sb_instagram_header .sbi_header_text.sbi_no_bio h3{padding-top:9px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info,.sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info{clear:both}#sb_instagram #sbi_load{float:left;clear:both;width:100%;text-align:center}#sb_instagram #sbi_load .fa-spinner{display:none;position:absolute;top:50%;left:50%;margin:-8px 0 0 -7px;font-size:15px}#sb_instagram #sbi_load{opacity:1;transition:all .5s ease-in}#sb_instagram .sbi_load_btn .sbi_btn_text,#sb_instagram .sbi_load_btn .sbi_loader{opacity:1;transition:all .1s ease-in}#sb_instagram .sbi_hidden{opacity:0!important}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{display:inline-block;vertical-align:top;zoom:1;padding:7px 14px;margin:5px auto 0 auto;background:#333;border:none;color:#fff;text-decoration:none;font-size:13px;line-height:1.5;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_load .sbi_load_btn{position:relative}#sb_instagram .sbi_follow_btn{display:inline-block;vertical-align:top;zoom:1;text-align:center}#sb_instagram .sbi_follow_btn.sbi_top{display:block;margin-bottom:5px}#sb_instagram .sbi_follow_btn a{background:#408bd1;color:#fff}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{transition:all .1s ease-in}#sb_instagram #sbi_load .sbi_load_btn:hover{outline:0;box-shadow:inset 0 0 20px 20px rgba(255,255,255,.25)}#sb_instagram .sbi_follow_btn a:focus,#sb_instagram .sbi_follow_btn a:hover{outline:0;box-shadow:inset 0 0 10px 20px #359dff}#sb_instagram #sbi_load .sbi_load_btn:active,#sb_instagram .sbi_follow_btn a:active{box-shadow:inset 0 0 10px 20px rgba(0,0,0,.3)}#sb_instagram .sbi_follow_btn .fa,#sb_instagram .sbi_follow_btn svg{margin-bottom:-1px;margin-right:7px;font-size:15px}#sb_instagram .sbi_follow_btn svg{vertical-align:-.125em}#sb_instagram #sbi_load .sbi_follow_btn{margin-left:5px}#sb_instagram .sb_instagram_error{width:100%;text-align:center;line-height:1.4}#sbi_mod_error{display:none;border:1px solid #ddd;background:#eee;color:#333;margin:10px 0 0;padding:10px 15px;font-size:13px;text-align:center;clear:both;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}#sbi_mod_error br{display:initial!important}#sbi_mod_error p{padding:5px 0!important;margin:0!important;line-height:1.3!important}#sbi_mod_error ol,#sbi_mod_error ul{padding:5px 0 5px 20px!important;margin:0!important}#sbi_mod_error li{padding:1px 0!important;margin:0!important}#sbi_mod_error span{font-size:12px}#sb_instagram.sbi_medium .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_medium .sbi_playbtn{margin-top:-12px;margin-left:-9px;font-size:23px}#sb_instagram.sbi_medium .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:8px;top:8px;font-size:18px}#sb_instagram.sbi_small .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_small .sbi_playbtn{margin-top:-9px;margin-left:-7px;font-size:18px}#sb_instagram.sbi_small .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:5px;top:5px;font-size:12px}@media all and (max-width:640px){#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_width_resp{width:100%!important}}@media all and (max-width:480px){#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_mob_col_10 #sbi_images .sbi_item{width:10%}#sb_instagram.sbi_mob_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_mob_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_mob_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_mob_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_mob_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_mob_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_mob_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_mob_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_mob_col_1 #sbi_images .sbi_item{width:100%}}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap{box-sizing:border-box;position:relative;overflow:hidden}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap:before{content:"";display:block;padding-top:100%;z-index:-300}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo{position:absolute;top:0;left:0;bottom:0;right:0}#sb_instagram.sbi_no_js #sbi_images .sbi_item.sbi_transition{opacity:1}#sb_instagram.sbi_no_js .sbi_load_btn,#sb_instagram.sbi_no_js .sbi_photo img{display:none}#sb_instagram #sbi_images .sbi_js_load_disabled .sbi_imgLiquid_ready.sbi_photo{padding-bottom:0!important}#sb_instagram #sbi_mod_error .sb_frontend_btn{display:inline-block;padding:6px 10px;background:#ddd;background:rgba(0,0,0,.1);text-decoration:none;border-radius:5px;margin-top:10px;color:#444}#sb_instagram #sbi_mod_error .sb_frontend_btn:hover{background:#ccc;background:rgba(0,0,0,.15)}#sb_instagram #sbi_mod_error .sb_frontend_btn .fa{margin-right:2px}#sb_instagram.sbi_palette_dark,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lightbox_tooltip,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_share_close,.sbi_header_outside.sbi_header_palette_dark{background-color:rgba(0,0,0,.85);color:rgba(255,255,255,.75)}#sb_instagram.sbi_palette_dark .sbi_caption,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_dark_lightbox .sbi_lb-commentBox p,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details .sbi_lb-caption,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-number,.sbi_header_palette_dark{color:rgba(255,255,255,.75)}#sb_instagram.sbi_palette_dark .sbi_meta,.sbi_header_palette_dark .sbi_bio{color:rgba(255,255,255,.75)}#sb_instagram.sbi_palette_dark .sbi_expand a,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_dark_lightbox .sbi_lb-commentBox .sbi_lb-commenter,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a p,.sbi_header_palette_dark a{color:#fff}#sb_instagram.sbi_palette_light,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lightbox_tooltip,#sbi_lightbox.sbi_palette_light_lightbox .sbi_share_close,.sbi_header_outside.sbi_header_palette_light{color:rgba(0,0,0,.85);background-color:rgba(255,255,255,.75)}#sb_instagram.sbi_palette_light .sbi_caption,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_light_lightbox .sbi_lb-commentBox p,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details .sbi_lb-caption,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-number,.sbi_header_palette_light{color:rgba(0,0,0,.85)}#sb_instagram.sbi_palette_light .sbi_meta,.sbi_header_palette_light .sbi_bio{color:rgba(0,0,0,.85)}#sb_instagram.sbi_palette_light .sbi_expand a,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_light_lightbox .sbi_lb-commentBox .sbi_lb-commenter,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a p,.sbi_header_palette_light a{color:#000}@media all and (max-width:480px){#sb_instagram.sbi_col_10.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_3.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_4.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_5.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_6.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_7.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_8.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_9.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_mob_col_1 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_mob_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_mob_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_mob_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_mob_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_mob_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_mob_col_7 #sbi_images .sbi_item{width:14.28%}}@media all and (max-width:800px){#sb_instagram.sbi_tab_col_10 #sbi_images .sbi_item{width:10%}#sb_instagram.sbi_tab_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_tab_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_tab_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_tab_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_tab_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_tab_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_tab_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_tab_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_tab_col_1 #sbi_images .sbi_item{width:100%}}@media all and (max-width:480px){#sb_instagram.sbi_col_10.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_3.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_4.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_5.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_6.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_7.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_8.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_9.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_mob_col_1 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_mob_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_mob_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_mob_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_mob_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_mob_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_mob_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_mob_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_mob_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_mob_col_10 #sbi_images .sbi_item{width:10%}}#sb_instagram #sbi_images .sbi_item.sbi_num_diff_hide{display:none!important}
1
+ #sb_instagram,#sb_instagram.sbi_fixed_height{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}#sb_instagram{width:100%;margin:0 auto;padding:0;box-sizing:border-box}#sb_instagram:after{content:"";display:table;clear:both}#sb_instagram.sbi_fixed_height{overflow:hidden;overflow-y:auto;box-sizing:border-box}#sb_instagram #sbi_images,#sb_instagram #sbi_images .sbi_item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;float:left}#sb_instagram #sbi_images{width:100%;line-height:0;box-sizing:border-box}#sb_instagram .sbi_header_link{-webkit-box-shadow:none;box-shadow:none}#sb_instagram .sbi_header_link:hover{border:none}#sb_instagram #sbi_images .sbi_item{display:inline-block;vertical-align:top;zoom:1;padding:inherit!important;margin:0!important;text-decoration:none;opacity:1;overflow:hidden;box-sizing:border-box;-webkit-transition:.5s;-moz-transition:.5s;-o-transition:.5s;transition:.5s}#sb_instagram #sbi_images .sbi_item.sbi_transition{opacity:0}#sb_instagram.sbi_col_1 #sbi_images .sbi_item,#sb_instagram.sbi_col_1.sbi_disable_mobile #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2 #sbi_images .sbi_item,#sb_instagram.sbi_col_2.sbi_disable_mobile #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_3.sbi_disable_mobile #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_5.sbi_disable_mobile #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6 #sbi_images .sbi_item,#sb_instagram.sbi_col_6.sbi_disable_mobile #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_7.sbi_disable_mobile #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_8.sbi_disable_mobile #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9 #sbi_images .sbi_item,#sb_instagram.sbi_col_9.sbi_disable_mobile #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_10.sbi_disable_mobile #sbi_images .sbi_item{width:10%}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_photo_wrap{position:relative}#sb_instagram .sbi_photo{display:block;text-decoration:none}#sb_instagram .sbi_photo img{width:100%;height:auto}#sb_instagram .sbi_no_js img,#sb_instagram br,#sb_instagram p:empty,#sb_instagram.sbi_no_js .sbi_load_btn,#sb_instagram.sbi_no_js .sbi_photo img{display:none}#sb_instagram a,#sb_instagram a:active,#sb_instagram a:focus,#sb_instagram a:hover{outline:0}#sb_instagram img{display:block;padding:0!important;margin:0!important;max-width:100%!important;opacity:1!important}#sb_instagram .sbi_link{display:none;position:absolute;bottom:0;right:0;width:100%;padding:10px 0;background:rgba(0,0,0,.5);text-align:center;color:#fff;font-size:12px;line-height:1.1}#sb_instagram .sbi_link a{padding:0 6px;text-decoration:none;color:#fff;font-size:12px;line-height:1.1;display:inline-block;vertical-align:top;zoom:1}#sb_instagram .sbi_link .sbi_lightbox_link{padding-bottom:5px}#sb_instagram .sbi_link a:focus,#sb_instagram .sbi_link a:hover{text-decoration:underline}#sb_instagram .sbi_photo_wrap:focus .sbi_link,#sb_instagram .sbi_photo_wrap:hover .sbi_link{display:block}#sb_instagram svg:not(:root).svg-inline--fa{height:1em;display:inline-block}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .sbi_playbtn,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel .fa-clone{display:block!important;position:absolute;z-index:1;color:rgba(255,255,255,.9);font-style:normal!important;text-shadow:0 0 8px rgba(0,0,0,.8)}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_video .sbi_playbtn{z-index:2;top:50%;left:50%;margin-top:-24px;margin-left:-19px;padding:0;font-size:48px}#sb_instagram .sbi_type_carousel .fa-clone{right:12px;top:12px;font-size:24px;text-shadow:0 0 8px rgba(0,0,0,.3)}#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel svg.fa-clone{-webkit-filter:drop-shadow(0px 0px 2px rgba(0,0,0,.4));filter:drop-shadow( 0px 0px 2px rgba(0,0,0,.4))}#sb_instagram .sbi_loader{width:20px;height:20px;position:relative;top:50%;left:50%;margin:-10px 0 0 -10px;background-color:rgba(0,0,0,.5);border-radius:100%;-webkit-animation:1s ease-in-out infinite sbi-sk-scaleout;animation:1s ease-in-out infinite sbi-sk-scaleout}#sbi_load p{display:inline;padding:0;margin:0}#sb_instagram #sbi_load .sbi_loader{position:absolute;margin-top:-11px;background-color:#fff;opacity:1}@-webkit-keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0)}100%{-webkit-transform:scale(1);opacity:0}}@keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:0}}#sb_instagram .fa-spin,#sbi_lightbox .fa-spin{-webkit-animation:2s linear infinite fa-spin;animation:2s linear infinite fa-spin}#sb_instagram .fa-pulse,#sbi_lightbox .fa-pulse{-webkit-animation:1s steps(8) infinite fa-spin;animation:1s steps(8) infinite fa-spin}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.sbi-screenreader{text-indent:-9999px!important;display:block!important;width:0!important;height:0!important;line-height:0!important;text-align:left!important;overflow:hidden!important}#sb_instagram .sb_instagram_header,.sb_instagram_header{float:left;clear:both;margin:0 0 15px;padding:0;line-height:1.2;width:100%}#sb_instagram .sb_instagram_header a,.sb_instagram_header a{float:left;display:block;transition:color .5s;text-decoration:none}.sb_instagram_header.sbi_header_outside{float:unset;margin-left:auto!important;margin-right:auto!important}.sbi_no_avatar .sbi_header_img{background:#333;color:#fff;width:50px;height:50px;position:relative}.sbi_no_avatar .sbi_header_hashtag_icon{display:block;color:#fff;opacity:.9;-webkit-transition:background .6s linear,color .6s linear;-moz-transition:background .6s linear,color .6s linear;-o-transition:background .6s linear,color .6s linear;transition:background .6s linear,color .6s linear}.sbi_no_avatar:hover .sbi_header_hashtag_icon{display:block;opacity:1;-webkit-transition:background .2s linear,color .2s linear;-moz-transition:background .2s linear,color .2s linear;-o-transition:background .2s linear,color .2s linear;transition:background .2s linear,color .2s linear}@media all and (min-width:480px){#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img img,.sb_instagram_header.sbi_medium .sbi_header_img,.sb_instagram_header.sbi_medium .sbi_header_img img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3,.sb_instagram_header.sbi_medium .sbi_header_text h3{font-size:20px;margin-right:-85px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{font-size:14px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_medium .sbi_header_text h3{margin-left:95px!important;line-height:1.4}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{margin-top:4px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3,.sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3{padding-top:20px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img img,.sb_instagram_header.sbi_large .sbi_header_img,.sb_instagram_header.sbi_large .sbi_header_img img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3,.sb_instagram_header.sbi_large .sbi_header_text h3{font-size:28px;margin-right:-120px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{font-size:16px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_large .sbi_header_text h3{margin-left:140px!important;line-height:1.5}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{margin-top:12px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3,.sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3{padding-top:32px!important}}#sb_instagram .sb_instagram_header .sbi_header_img,.sb_instagram_header .sbi_header_img{float:left;position:relative;width:50px;margin:0 0 0 -100%!important;overflow:hidden;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img img,.sb_instagram_header .sbi_header_img img{float:left;margin:0!important;padding:0!important;border:none!important;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_hashtag_icon .sbi_new_logo,#sb_instagram .sb_instagram_header .sbi_header_img_hover .sbi_new_logo,.sb_instagram_header .sbi_header_hashtag_icon .sbi_new_logo,.sb_instagram_header .sbi_header_img_hover .sbi_new_logo{position:absolute;top:50%;left:50%;margin-top:-12px;margin-left:-12px;width:24px;height:24px;font-size:24px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_hashtag_icon .sbi_new_logo,.sb_instagram_header.sbi_medium .sbi_header_hashtag_icon .sbi_new_logo{margin-top:-18px;margin-left:-18px;width:36px;height:36px;font-size:36px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_hashtag_icon .sbi_new_logo,.sb_instagram_header.sbi_large .sbi_header_hashtag_icon .sbi_new_logo{margin-top:-24px;margin-left:-24px;width:48px;height:48px;font-size:48px}#sb_instagram .sb_instagram_header .sbi_header_img_hover i{overflow:hidden}#sb_instagram .sb_instagram_header .sbi_fade_in,.sb_instagram_header .sbi_fade_in{opacity:1;transition:opacity .2s ease-in-out}#sb_instagram .sb_instagram_header .sbi_header_img_hover,.sb_instagram_header .sbi_header_img_hover{z-index:2;position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75);-moz-opacity:0;opacity:0;border-radius:40px;transition:opacity .2s}#sb_instagram .sb_instagram_header a:focus .sbi_header_img_hover,#sb_instagram .sb_instagram_header a:hover .sbi_header_img_hover,#sb_instagram.sbi_no_js #sbi_images .sbi_item.sbi_transition,.sb_instagram_header a:focus .sbi_header_img_hover,.sb_instagram_header a:hover .sbi_header_img_hover{opacity:1}#sb_instagram .sb_instagram_header .sbi_header_text,.sb_instagram_header .sbi_header_text{float:left;width:100%;padding-top:5px}#sb_instagram .sb_instagram_header .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header .sbi_header_text h3,.sb_instagram_header .sbi_header_text .sbi_bio,.sb_instagram_header .sbi_header_text h3{float:left;clear:both;width:auto;margin:0 0 0 60px!important;padding:0!important}#sb_instagram .sb_instagram_header h3,.sb_instagram_header h3{font-size:16px;line-height:1.3}#sb_instagram .sb_instagram_header p,.sb_instagram_header p{font-size:13px;line-height:1.3;margin:0;padding:0}#sb_instagram .sb_instagram_header .sbi_header_text img.emoji,.sb_instagram_header .sbi_header_text img.emoji{margin-right:3px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3,.sb_instagram_header .sbi_header_text.sbi_no_bio h3{padding-top:9px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info,.sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info{clear:both}#sb_instagram #sbi_load{float:left;clear:both;width:100%;text-align:center;opacity:1;transition:.5s ease-in}#sb_instagram #sbi_load .fa-spinner{display:none;position:absolute;top:50%;left:50%;margin:-8px 0 0 -7px;font-size:15px}#sb_instagram .sbi_load_btn .sbi_btn_text,#sb_instagram .sbi_load_btn .sbi_loader{opacity:1;transition:.1s ease-in}#sb_instagram .sbi_hidden{opacity:0!important}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{display:inline-block;vertical-align:top;zoom:1;padding:7px 14px;margin:5px auto 0;background:#333;border:none;color:#fff;text-decoration:none;font-size:13px;line-height:1.5;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;transition:.1s ease-in}#sb_instagram .sbi_follow_btn{display:inline-block;vertical-align:top;zoom:1;text-align:center}#sb_instagram .sbi_follow_btn.sbi_top{display:block;margin-bottom:5px}#sb_instagram .sbi_follow_btn a{background:#408bd1;color:#fff}#sb_instagram #sbi_load .sbi_load_btn:hover{outline:0;box-shadow:inset 0 0 20px 20px rgba(255,255,255,.25)}#sb_instagram .sbi_follow_btn a:focus,#sb_instagram .sbi_follow_btn a:hover{outline:0;box-shadow:inset 0 0 10px 20px #359dff}#sb_instagram #sbi_load .sbi_load_btn:active,#sb_instagram .sbi_follow_btn a:active{box-shadow:inset 0 0 10px 20px rgba(0,0,0,.3)}#sb_instagram .sbi_follow_btn .fa,#sb_instagram .sbi_follow_btn svg{margin-bottom:-1px;margin-right:7px;font-size:15px}#sb_instagram .sbi_follow_btn svg{vertical-align:-.125em}#sb_instagram #sbi_load .sbi_follow_btn{margin-left:5px}#sb_instagram .sb_instagram_error{width:100%;text-align:center;line-height:1.4}#sbi_mod_error{display:none;border:1px solid #ddd;background:#eee;color:#333;margin:10px 0 0;padding:10px 15px;font-size:13px;text-align:center;clear:both;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}#sbi_mod_error br{display:initial!important}#sbi_mod_error p{padding:5px 0!important;margin:0!important;line-height:1.3!important}#sbi_mod_error ol,#sbi_mod_error ul{padding:5px 0 5px 20px!important;margin:0!important}#sbi_mod_error li{padding:1px 0!important;margin:0!important}#sbi_mod_error span{font-size:12px}#sb_instagram.sbi_medium .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_medium .sbi_playbtn{margin-top:-12px;margin-left:-9px;font-size:23px}#sb_instagram.sbi_medium .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:8px;top:8px;font-size:18px}#sb_instagram.sbi_small .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_small .sbi_playbtn{margin-top:-9px;margin-left:-7px;font-size:18px}#sb_instagram.sbi_small .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:5px;top:5px;font-size:12px}@media all and (max-width:640px){#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_width_resp{width:100%!important}}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap{box-sizing:border-box;position:relative;overflow:hidden}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap:before{content:"";display:block;padding-top:100%;z-index:-300}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo{position:absolute;top:0;left:0;bottom:0;right:0}#sb_instagram #sbi_images .sbi_js_load_disabled .sbi_imgLiquid_ready.sbi_photo{padding-bottom:0!important}#sb_instagram #sbi_mod_error .sb_frontend_btn{display:inline-block;padding:6px 10px;background:rgba(0,0,0,.1);text-decoration:none;border-radius:5px;margin-top:10px;color:#444}#sb_instagram #sbi_mod_error .sb_frontend_btn:hover{background:rgba(0,0,0,.15)}#sb_instagram #sbi_mod_error .sb_frontend_btn .fa{margin-right:2px}#sb_instagram.sbi_palette_dark,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lightbox_tooltip,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_share_close,.sbi_header_outside.sbi_header_palette_dark{background-color:rgba(0,0,0,.85);color:rgba(255,255,255,.75)}#sb_instagram.sbi_palette_dark .sbi_caption,#sb_instagram.sbi_palette_dark .sbi_meta,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_dark_lightbox .sbi_lb-commentBox p,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details .sbi_lb-caption,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-number,.sbi_header_palette_dark,.sbi_header_palette_dark .sbi_bio{color:rgba(255,255,255,.75)}#sb_instagram.sbi_palette_dark .sbi_expand a,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_dark_lightbox .sbi_lb-commentBox .sbi_lb-commenter,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a p,.sbi_header_palette_dark a{color:#fff}#sb_instagram.sbi_palette_light,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lightbox_tooltip,#sbi_lightbox.sbi_palette_light_lightbox .sbi_share_close,.sbi_header_outside.sbi_header_palette_light{color:rgba(0,0,0,.85);background-color:rgba(255,255,255,.75)}#sb_instagram.sbi_palette_light .sbi_caption,#sb_instagram.sbi_palette_light .sbi_meta,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_light_lightbox .sbi_lb-commentBox p,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details .sbi_lb-caption,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-number,.sbi_header_palette_light,.sbi_header_palette_light .sbi_bio{color:rgba(0,0,0,.85)}#sb_instagram.sbi_palette_light .sbi_expand a,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_light_lightbox .sbi_lb-commentBox .sbi_lb-commenter,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a p,.sbi_header_palette_light a{color:#000}@media all and (max-width:800px){#sb_instagram.sbi_tab_col_10 #sbi_images .sbi_item{width:10%}#sb_instagram.sbi_tab_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_tab_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_tab_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_tab_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_tab_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_tab_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_tab_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_tab_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_tab_col_1 #sbi_images .sbi_item{width:100%}}@media all and (max-width:480px){#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_10.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_3.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_4.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_5.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item,#sb_instagram.sbi_col_6.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_7.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_8.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item,#sb_instagram.sbi_col_9.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_mob_col_1 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_mob_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_mob_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_mob_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_mob_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_mob_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_mob_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_mob_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_mob_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_mob_col_10 #sbi_images .sbi_item{width:10%}}#sb_instagram #sbi_images .sbi_item.sbi_num_diff_hide{display:none!important}
css/sbi-styles.css CHANGED
@@ -502,7 +502,6 @@
502
  }
503
  #sb_instagram .sb_instagram_header .sbi_header_img_hover i {
504
  overflow: hidden;
505
- background: url('../img/small-logo.png') no-repeat 0 0;
506
  }
507
  #sb_instagram .sb_instagram_header .sbi_header_img_hover,
508
  .sb_instagram_header .sbi_header_img_hover{
502
  }
503
  #sb_instagram .sb_instagram_header .sbi_header_img_hover i {
504
  overflow: hidden;
 
505
  }
506
  #sb_instagram .sb_instagram_header .sbi_header_img_hover,
507
  .sb_instagram_header .sbi_header_img_hover{
css/sbi-styles.min.css CHANGED
@@ -1 +1 @@
1
- #sb_instagram{width:100%;margin:0 auto;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram:after{content:"";display:table;clear:both}#sb_instagram.sbi_fixed_height{overflow:hidden;overflow-y:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_images{width:100%;float:left;line-height:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram .sbi_header_link{-webkit-box-shadow:none;box-shadow:none}#sb_instagram .sbi_header_link:hover{border:none}#sb_instagram #sbi_images .sbi_item{display:inline-block;float:left;vertical-align:top;zoom:1;padding:inherit!important;margin:0!important;text-decoration:none;opacity:1;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease}#sb_instagram #sbi_images .sbi_item.sbi_transition{opacity:0}#sb_instagram.sbi_col_1 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item{width:10%}#sb_instagram.sbi_col_1.sbi_disable_mobile #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2.sbi_disable_mobile #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3.sbi_disable_mobile #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5.sbi_disable_mobile #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6.sbi_disable_mobile #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7.sbi_disable_mobile #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8.sbi_disable_mobile #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9.sbi_disable_mobile #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10.sbi_disable_mobile #sbi_images .sbi_item{width:10%}#sb_instagram .sbi_photo_wrap{position:relative}#sb_instagram .sbi_photo{display:block;text-decoration:none}#sb_instagram .sbi_photo img{width:100%;height:auto}#sb_instagram .sbi_no_js img{display:none}#sb_instagram a,#sb_instagram a:active,#sb_instagram a:focus,#sb_instagram a:hover{outline:0}#sb_instagram img{display:block;padding:0!important;margin:0!important;max-width:100%!important;opacity:1!important}#sb_instagram .sbi_link{display:none;position:absolute;bottom:0;right:0;width:100%;padding:10px 0;background:rgba(0,0,0,.5);text-align:center;color:#fff;font-size:12px;line-height:1.1}#sb_instagram .sbi_link a{padding:0 6px;text-decoration:none;color:#fff;font-size:12px;line-height:1.1;display:inline-block;vertical-align:top;zoom:1}#sb_instagram .sbi_link .sbi_lightbox_link{padding-bottom:5px}#sb_instagram .sbi_link a:focus,#sb_instagram .sbi_link a:hover{text-decoration:underline}#sb_instagram .sbi_photo_wrap:focus .sbi_link,#sb_instagram .sbi_photo_wrap:hover .sbi_link{display:block}#sb_instagram svg:not(:root).svg-inline--fa{height:1em;display:inline-block}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .sbi_playbtn,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel .fa-clone{display:block!important;position:absolute;z-index:1;color:#fff;color:rgba(255,255,255,.9);font-style:normal!important;text-shadow:0 0 8px rgba(0,0,0,.8)}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_video .sbi_playbtn{z-index:2;top:50%;left:50%;margin-top:-24px;margin-left:-19px;padding:0;font-size:48px}#sb_instagram .sbi_type_carousel .fa-clone{right:12px;top:12px;font-size:24px;text-shadow:0 0 8px rgba(0,0,0,.3)}#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel svg.fa-clone{-webkit-filter:drop-shadow(0px 0px 2px rgba(0,0,0,.4));filter:drop-shadow( 0px 0px 2px rgba(0,0,0,.4) )}#sb_instagram .sbi_loader{width:20px;height:20px;position:relative;top:50%;left:50%;margin:-10px 0 0 -10px;background-color:#000;background-color:rgba(0,0,0,.5);border-radius:100%;-webkit-animation:sbi-sk-scaleout 1s infinite ease-in-out;animation:sbi-sk-scaleout 1s infinite ease-in-out}#sb_instagram br{display:none}#sbi_load p{display:inline;padding:0;margin:0}#sb_instagram #sbi_load .sbi_loader{position:absolute;margin-top:-11px;background-color:#fff;opacity:1}@-webkit-keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0)}100%{-webkit-transform:scale(1);opacity:0}}@keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:0}}#sb_instagram .fa-spin,#sbi_lightbox .fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}#sb_instagram .fa-pulse,#sbi_lightbox .fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.sbi-screenreader{text-indent:-9999px!important;display:block!important;width:0!important;height:0!important;line-height:0!important;text-align:left!important;overflow:hidden!important}#sb_instagram .sb_instagram_header,.sb_instagram_header{float:left;clear:both;margin:0 0 15px 0;padding:0;line-height:1.2;width:100%}#sb_instagram .sb_instagram_header a,.sb_instagram_header a{float:left;display:block;text-decoration:none;transition:color .5s ease}.sb_instagram_header.sbi_header_outside{float:unset;margin-left:auto!important;margin-right:auto!important}.sbi_no_avatar .sbi_header_img{background:#333;color:#fff;width:50px;height:50px;position:relative}.sbi_no_avatar .sbi_header_hashtag_icon{display:block;color:#fff;opacity:.9;-webkit-transition:background .6s linear,color .6s linear;-moz-transition:background .6s linear,color .6s linear;-o-transition:background .6s linear,color .6s linear;transition:background .6s linear,color .6s linear}.sbi_no_avatar:hover .sbi_header_hashtag_icon{display:block;opacity:1;-webkit-transition:background .2s linear,color .2s linear;-moz-transition:background .2s linear,color .2s linear;-o-transition:background .2s linear,color .2s linear;transition:background .2s linear,color .2s linear}@media all and (min-width:480px){#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img,.sb_instagram_header.sbi_medium .sbi_header_img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img img,.sb_instagram_header.sbi_medium .sbi_header_img img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3,.sb_instagram_header.sbi_medium .sbi_header_text h3{font-size:20px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{font-size:14px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_medium .sbi_header_text h3{margin-left:95px!important;line-height:1.4}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3,.sb_instagram_header.sbi_medium .sbi_header_text h3{margin-right:-85px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{margin-top:4px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3,.sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3{padding-top:20px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img,.sb_instagram_header.sbi_large .sbi_header_img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img img,.sb_instagram_header.sbi_large .sbi_header_img img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3,.sb_instagram_header.sbi_large .sbi_header_text h3{font-size:28px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{font-size:16px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_large .sbi_header_text h3{margin-left:140px!important;line-height:1.5}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3,.sb_instagram_header.sbi_large .sbi_header_text h3{margin-right:-120px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{margin-top:12px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3,.sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3{padding-top:32px!important}}#sb_instagram .sb_instagram_header .sbi_header_img,.sb_instagram_header .sbi_header_img{float:left;position:relative;width:50px;margin:0 0 0 -100%!important;overflow:hidden;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img img,.sb_instagram_header .sbi_header_img img{float:left;margin:0!important;padding:0!important;border:none!important;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img_hover,.sb_instagram_header .sbi_header_img_hover{opacity:0;position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75)}#sb_instagram .sb_instagram_header .sbi_header_hashtag_icon .sbi_new_logo,#sb_instagram .sb_instagram_header .sbi_header_img_hover .sbi_new_logo,.sb_instagram_header .sbi_header_hashtag_icon .sbi_new_logo,.sb_instagram_header .sbi_header_img_hover .sbi_new_logo{position:absolute;top:50%;left:50%;margin-top:-12px;margin-left:-12px;width:24px;height:24px;font-size:24px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_hashtag_icon .sbi_new_logo,.sb_instagram_header.sbi_medium .sbi_header_hashtag_icon .sbi_new_logo{margin-top:-18px;margin-left:-18px;width:36px;height:36px;font-size:36px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_hashtag_icon .sbi_new_logo,.sb_instagram_header.sbi_large .sbi_header_hashtag_icon .sbi_new_logo{margin-top:-24px;margin-left:-24px;width:48px;height:48px;font-size:48px}#sb_instagram .sb_instagram_header .sbi_header_img_hover i{overflow:hidden;background:url('../img/small-logo.png') no-repeat 0 0}#sb_instagram .sb_instagram_header .sbi_header_img_hover,.sb_instagram_header .sbi_header_img_hover{z-index:2;transition:opacity .4s ease-in-out}#sb_instagram .sb_instagram_header .sbi_fade_in,.sb_instagram_header .sbi_fade_in{opacity:1;transition:opacity .2s ease-in-out}#sb_instagram .sb_instagram_header .sbi_header_img_hover,.sb_instagram_header .sbi_header_img_hover{position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75);-moz-opacity:0;opacity:0;border-radius:40px;transition:opacity .2s}#sb_instagram .sb_instagram_header a:focus .sbi_header_img_hover,#sb_instagram .sb_instagram_header a:hover .sbi_header_img_hover,.sb_instagram_header a:focus .sbi_header_img_hover,.sb_instagram_header a:hover .sbi_header_img_hover{opacity:1}#sb_instagram .sb_instagram_header .sbi_header_text,.sb_instagram_header .sbi_header_text{float:left;width:100%;padding-top:5px}#sb_instagram .sb_instagram_header a,.sb_instagram_header a{text-decoration:none}#sb_instagram .sb_instagram_header .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header .sbi_header_text h3,.sb_instagram_header .sbi_header_text .sbi_bio,.sb_instagram_header .sbi_header_text h3{float:left;clear:both;width:auto;margin:0 0 0 60px!important;padding:0!important}#sb_instagram .sb_instagram_header h3,.sb_instagram_header h3{font-size:16px;line-height:1.3}#sb_instagram .sb_instagram_header p,.sb_instagram_header p{font-size:13px;line-height:1.3;margin:0;padding:0}#sb_instagram p:empty{display:none}#sb_instagram .sb_instagram_header .sbi_header_text img.emoji,.sb_instagram_header .sbi_header_text img.emoji{margin-right:3px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3,.sb_instagram_header .sbi_header_text.sbi_no_bio h3{padding-top:9px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info,.sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info{clear:both}#sb_instagram #sbi_load{float:left;clear:both;width:100%;text-align:center}#sb_instagram #sbi_load .fa-spinner{display:none;position:absolute;top:50%;left:50%;margin:-8px 0 0 -7px;font-size:15px}#sb_instagram #sbi_load{opacity:1;transition:all .5s ease-in}#sb_instagram .sbi_load_btn .sbi_btn_text,#sb_instagram .sbi_load_btn .sbi_loader{opacity:1;transition:all .1s ease-in}#sb_instagram .sbi_hidden{opacity:0!important}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{display:inline-block;vertical-align:top;zoom:1;padding:7px 14px;margin:5px auto 0 auto;background:#333;border:none;color:#fff;text-decoration:none;font-size:13px;line-height:1.5;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_load .sbi_load_btn{position:relative}#sb_instagram .sbi_follow_btn{display:inline-block;vertical-align:top;zoom:1;text-align:center}#sb_instagram .sbi_follow_btn.sbi_top{display:block;margin-bottom:5px}#sb_instagram .sbi_follow_btn a{background:#408bd1;color:#fff}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{transition:all .1s ease-in}#sb_instagram #sbi_load .sbi_load_btn:hover{outline:0;box-shadow:inset 0 0 20px 20px rgba(255,255,255,.25)}#sb_instagram .sbi_follow_btn a:focus,#sb_instagram .sbi_follow_btn a:hover{outline:0;box-shadow:inset 0 0 10px 20px #359dff}#sb_instagram #sbi_load .sbi_load_btn:active,#sb_instagram .sbi_follow_btn a:active{box-shadow:inset 0 0 10px 20px rgba(0,0,0,.3)}#sb_instagram .sbi_follow_btn .fa,#sb_instagram .sbi_follow_btn svg{margin-bottom:-1px;margin-right:7px;font-size:15px}#sb_instagram .sbi_follow_btn svg{vertical-align:-.125em}#sb_instagram #sbi_load .sbi_follow_btn{margin-left:5px}#sb_instagram .sb_instagram_error{width:100%;text-align:center;line-height:1.4}#sbi_mod_error{display:none;border:1px solid #ddd;background:#eee;color:#333;margin:10px 0 0;padding:10px 15px;font-size:13px;text-align:center;clear:both;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}#sbi_mod_error br{display:initial!important}#sbi_mod_error p{padding:5px 0!important;margin:0!important;line-height:1.3!important}#sbi_mod_error ol,#sbi_mod_error ul{padding:5px 0 5px 20px!important;margin:0!important}#sbi_mod_error li{padding:1px 0!important;margin:0!important}#sbi_mod_error span{font-size:12px}#sb_instagram.sbi_medium .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_medium .sbi_playbtn{margin-top:-12px;margin-left:-9px;font-size:23px}#sb_instagram.sbi_medium .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:8px;top:8px;font-size:18px}#sb_instagram.sbi_small .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_small .sbi_playbtn{margin-top:-9px;margin-left:-7px;font-size:18px}#sb_instagram.sbi_small .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:5px;top:5px;font-size:12px}@media all and (max-width:640px){#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_width_resp{width:100%!important}}@media all and (max-width:480px){#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_mob_col_10 #sbi_images .sbi_item{width:10%}#sb_instagram.sbi_mob_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_mob_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_mob_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_mob_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_mob_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_mob_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_mob_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_mob_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_mob_col_1 #sbi_images .sbi_item{width:100%}}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap{box-sizing:border-box;position:relative;overflow:hidden}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap:before{content:"";display:block;padding-top:100%;z-index:-300}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo{position:absolute;top:0;left:0;bottom:0;right:0}#sb_instagram.sbi_no_js #sbi_images .sbi_item.sbi_transition{opacity:1}#sb_instagram.sbi_no_js .sbi_load_btn,#sb_instagram.sbi_no_js .sbi_photo img{display:none}#sb_instagram #sbi_images .sbi_js_load_disabled .sbi_imgLiquid_ready.sbi_photo{padding-bottom:0!important}#sb_instagram #sbi_mod_error .sb_frontend_btn{display:inline-block;padding:6px 10px;background:#ddd;background:rgba(0,0,0,.1);text-decoration:none;border-radius:5px;margin-top:10px;color:#444}#sb_instagram #sbi_mod_error .sb_frontend_btn:hover{background:#ccc;background:rgba(0,0,0,.15)}#sb_instagram #sbi_mod_error .sb_frontend_btn .fa{margin-right:2px}#sb_instagram.sbi_palette_dark,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lightbox_tooltip,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_share_close,.sbi_header_outside.sbi_header_palette_dark{background-color:rgba(0,0,0,.85);color:rgba(255,255,255,.75)}#sb_instagram.sbi_palette_dark .sbi_caption,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_dark_lightbox .sbi_lb-commentBox p,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details .sbi_lb-caption,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-number,.sbi_header_palette_dark{color:rgba(255,255,255,.75)}#sb_instagram.sbi_palette_dark .sbi_meta,.sbi_header_palette_dark .sbi_bio{color:rgba(255,255,255,.75)}#sb_instagram.sbi_palette_dark .sbi_expand a,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_dark_lightbox .sbi_lb-commentBox .sbi_lb-commenter,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a p,.sbi_header_palette_dark a{color:#fff}#sb_instagram.sbi_palette_light,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lightbox_tooltip,#sbi_lightbox.sbi_palette_light_lightbox .sbi_share_close,.sbi_header_outside.sbi_header_palette_light{color:rgba(0,0,0,.85);background-color:rgba(255,255,255,.75)}#sb_instagram.sbi_palette_light .sbi_caption,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_light_lightbox .sbi_lb-commentBox p,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details .sbi_lb-caption,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-number,.sbi_header_palette_light{color:rgba(0,0,0,.85)}#sb_instagram.sbi_palette_light .sbi_meta,.sbi_header_palette_light .sbi_bio{color:rgba(0,0,0,.85)}#sb_instagram.sbi_palette_light .sbi_expand a,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_light_lightbox .sbi_lb-commentBox .sbi_lb-commenter,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a p,.sbi_header_palette_light a{color:#000}@media all and (max-width:480px){#sb_instagram.sbi_col_10.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_3.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_4.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_5.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_6.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_7.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_8.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_9.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_mob_col_1 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_mob_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_mob_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_mob_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_mob_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_mob_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_mob_col_7 #sbi_images .sbi_item{width:14.28%}}@media all and (max-width:800px){#sb_instagram.sbi_tab_col_10 #sbi_images .sbi_item{width:10%}#sb_instagram.sbi_tab_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_tab_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_tab_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_tab_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_tab_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_tab_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_tab_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_tab_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_tab_col_1 #sbi_images .sbi_item{width:100%}}@media all and (max-width:480px){#sb_instagram.sbi_col_10.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_3.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_4.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_5.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_6.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_7.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_8.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_9.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_mob_col_1 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_mob_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_mob_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_mob_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_mob_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_mob_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_mob_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_mob_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_mob_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_mob_col_10 #sbi_images .sbi_item{width:10%}}#sb_instagram #sbi_images .sbi_item.sbi_num_diff_hide{display:none!important}
1
+ #sb_instagram,#sb_instagram.sbi_fixed_height{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}#sb_instagram{width:100%;margin:0 auto;padding:0;box-sizing:border-box}#sb_instagram:after{content:"";display:table;clear:both}#sb_instagram.sbi_fixed_height{overflow:hidden;overflow-y:auto;box-sizing:border-box}#sb_instagram #sbi_images,#sb_instagram #sbi_images .sbi_item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;float:left}#sb_instagram #sbi_images{width:100%;line-height:0;box-sizing:border-box}#sb_instagram .sbi_header_link{-webkit-box-shadow:none;box-shadow:none}#sb_instagram .sbi_header_link:hover{border:none}#sb_instagram #sbi_images .sbi_item{display:inline-block;vertical-align:top;zoom:1;padding:inherit!important;margin:0!important;text-decoration:none;opacity:1;overflow:hidden;box-sizing:border-box;-webkit-transition:.5s;-moz-transition:.5s;-o-transition:.5s;transition:.5s}#sb_instagram #sbi_images .sbi_item.sbi_transition{opacity:0}#sb_instagram.sbi_col_1 #sbi_images .sbi_item,#sb_instagram.sbi_col_1.sbi_disable_mobile #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2 #sbi_images .sbi_item,#sb_instagram.sbi_col_2.sbi_disable_mobile #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_3.sbi_disable_mobile #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_5.sbi_disable_mobile #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6 #sbi_images .sbi_item,#sb_instagram.sbi_col_6.sbi_disable_mobile #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_7.sbi_disable_mobile #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_8.sbi_disable_mobile #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9 #sbi_images .sbi_item,#sb_instagram.sbi_col_9.sbi_disable_mobile #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_10.sbi_disable_mobile #sbi_images .sbi_item{width:10%}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_photo_wrap{position:relative}#sb_instagram .sbi_photo{display:block;text-decoration:none}#sb_instagram .sbi_photo img{width:100%;height:auto}#sb_instagram .sbi_no_js img,#sb_instagram br,#sb_instagram p:empty,#sb_instagram.sbi_no_js .sbi_load_btn,#sb_instagram.sbi_no_js .sbi_photo img{display:none}#sb_instagram a,#sb_instagram a:active,#sb_instagram a:focus,#sb_instagram a:hover{outline:0}#sb_instagram img{display:block;padding:0!important;margin:0!important;max-width:100%!important;opacity:1!important}#sb_instagram .sbi_link{display:none;position:absolute;bottom:0;right:0;width:100%;padding:10px 0;background:rgba(0,0,0,.5);text-align:center;color:#fff;font-size:12px;line-height:1.1}#sb_instagram .sbi_link a{padding:0 6px;text-decoration:none;color:#fff;font-size:12px;line-height:1.1;display:inline-block;vertical-align:top;zoom:1}#sb_instagram .sbi_link .sbi_lightbox_link{padding-bottom:5px}#sb_instagram .sbi_link a:focus,#sb_instagram .sbi_link a:hover{text-decoration:underline}#sb_instagram .sbi_photo_wrap:focus .sbi_link,#sb_instagram .sbi_photo_wrap:hover .sbi_link{display:block}#sb_instagram svg:not(:root).svg-inline--fa{height:1em;display:inline-block}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .sbi_playbtn,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel .fa-clone{display:block!important;position:absolute;z-index:1;color:rgba(255,255,255,.9);font-style:normal!important;text-shadow:0 0 8px rgba(0,0,0,.8)}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_video .sbi_playbtn{z-index:2;top:50%;left:50%;margin-top:-24px;margin-left:-19px;padding:0;font-size:48px}#sb_instagram .sbi_type_carousel .fa-clone{right:12px;top:12px;font-size:24px;text-shadow:0 0 8px rgba(0,0,0,.3)}#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel svg.fa-clone{-webkit-filter:drop-shadow(0px 0px 2px rgba(0,0,0,.4));filter:drop-shadow( 0px 0px 2px rgba(0,0,0,.4))}#sb_instagram .sbi_loader{width:20px;height:20px;position:relative;top:50%;left:50%;margin:-10px 0 0 -10px;background-color:rgba(0,0,0,.5);border-radius:100%;-webkit-animation:1s ease-in-out infinite sbi-sk-scaleout;animation:1s ease-in-out infinite sbi-sk-scaleout}#sbi_load p{display:inline;padding:0;margin:0}#sb_instagram #sbi_load .sbi_loader{position:absolute;margin-top:-11px;background-color:#fff;opacity:1}@-webkit-keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0)}100%{-webkit-transform:scale(1);opacity:0}}@keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:0}}#sb_instagram .fa-spin,#sbi_lightbox .fa-spin{-webkit-animation:2s linear infinite fa-spin;animation:2s linear infinite fa-spin}#sb_instagram .fa-pulse,#sbi_lightbox .fa-pulse{-webkit-animation:1s steps(8) infinite fa-spin;animation:1s steps(8) infinite fa-spin}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.sbi-screenreader{text-indent:-9999px!important;display:block!important;width:0!important;height:0!important;line-height:0!important;text-align:left!important;overflow:hidden!important}#sb_instagram .sb_instagram_header,.sb_instagram_header{float:left;clear:both;margin:0 0 15px;padding:0;line-height:1.2;width:100%}#sb_instagram .sb_instagram_header a,.sb_instagram_header a{float:left;display:block;transition:color .5s;text-decoration:none}.sb_instagram_header.sbi_header_outside{float:unset;margin-left:auto!important;margin-right:auto!important}.sbi_no_avatar .sbi_header_img{background:#333;color:#fff;width:50px;height:50px;position:relative}.sbi_no_avatar .sbi_header_hashtag_icon{display:block;color:#fff;opacity:.9;-webkit-transition:background .6s linear,color .6s linear;-moz-transition:background .6s linear,color .6s linear;-o-transition:background .6s linear,color .6s linear;transition:background .6s linear,color .6s linear}.sbi_no_avatar:hover .sbi_header_hashtag_icon{display:block;opacity:1;-webkit-transition:background .2s linear,color .2s linear;-moz-transition:background .2s linear,color .2s linear;-o-transition:background .2s linear,color .2s linear;transition:background .2s linear,color .2s linear}@media all and (min-width:480px){#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img img,.sb_instagram_header.sbi_medium .sbi_header_img,.sb_instagram_header.sbi_medium .sbi_header_img img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3,.sb_instagram_header.sbi_medium .sbi_header_text h3{font-size:20px;margin-right:-85px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{font-size:14px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_medium .sbi_header_text h3{margin-left:95px!important;line-height:1.4}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{margin-top:4px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3,.sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3{padding-top:20px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img img,.sb_instagram_header.sbi_large .sbi_header_img,.sb_instagram_header.sbi_large .sbi_header_img img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3,.sb_instagram_header.sbi_large .sbi_header_text h3{font-size:28px;margin-right:-120px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{font-size:16px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_large .sbi_header_text h3{margin-left:140px!important;line-height:1.5}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,.sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{margin-top:12px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3,.sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3{padding-top:32px!important}}#sb_instagram .sb_instagram_header .sbi_header_img,.sb_instagram_header .sbi_header_img{float:left;position:relative;width:50px;margin:0 0 0 -100%!important;overflow:hidden;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img img,.sb_instagram_header .sbi_header_img img{float:left;margin:0!important;padding:0!important;border:none!important;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_hashtag_icon .sbi_new_logo,#sb_instagram .sb_instagram_header .sbi_header_img_hover .sbi_new_logo,.sb_instagram_header .sbi_header_hashtag_icon .sbi_new_logo,.sb_instagram_header .sbi_header_img_hover .sbi_new_logo{position:absolute;top:50%;left:50%;margin-top:-12px;margin-left:-12px;width:24px;height:24px;font-size:24px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_hashtag_icon .sbi_new_logo,.sb_instagram_header.sbi_medium .sbi_header_hashtag_icon .sbi_new_logo{margin-top:-18px;margin-left:-18px;width:36px;height:36px;font-size:36px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_hashtag_icon .sbi_new_logo,.sb_instagram_header.sbi_large .sbi_header_hashtag_icon .sbi_new_logo{margin-top:-24px;margin-left:-24px;width:48px;height:48px;font-size:48px}#sb_instagram .sb_instagram_header .sbi_header_img_hover i{overflow:hidden}#sb_instagram .sb_instagram_header .sbi_fade_in,.sb_instagram_header .sbi_fade_in{opacity:1;transition:opacity .2s ease-in-out}#sb_instagram .sb_instagram_header .sbi_header_img_hover,.sb_instagram_header .sbi_header_img_hover{z-index:2;position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75);-moz-opacity:0;opacity:0;border-radius:40px;transition:opacity .2s}#sb_instagram .sb_instagram_header a:focus .sbi_header_img_hover,#sb_instagram .sb_instagram_header a:hover .sbi_header_img_hover,#sb_instagram.sbi_no_js #sbi_images .sbi_item.sbi_transition,.sb_instagram_header a:focus .sbi_header_img_hover,.sb_instagram_header a:hover .sbi_header_img_hover{opacity:1}#sb_instagram .sb_instagram_header .sbi_header_text,.sb_instagram_header .sbi_header_text{float:left;width:100%;padding-top:5px}#sb_instagram .sb_instagram_header .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header .sbi_header_text h3,.sb_instagram_header .sbi_header_text .sbi_bio,.sb_instagram_header .sbi_header_text h3{float:left;clear:both;width:auto;margin:0 0 0 60px!important;padding:0!important}#sb_instagram .sb_instagram_header h3,.sb_instagram_header h3{font-size:16px;line-height:1.3}#sb_instagram .sb_instagram_header p,.sb_instagram_header p{font-size:13px;line-height:1.3;margin:0;padding:0}#sb_instagram .sb_instagram_header .sbi_header_text img.emoji,.sb_instagram_header .sbi_header_text img.emoji{margin-right:3px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3,.sb_instagram_header .sbi_header_text.sbi_no_bio h3{padding-top:9px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info,.sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info{clear:both}#sb_instagram #sbi_load{float:left;clear:both;width:100%;text-align:center;opacity:1;transition:.5s ease-in}#sb_instagram #sbi_load .fa-spinner{display:none;position:absolute;top:50%;left:50%;margin:-8px 0 0 -7px;font-size:15px}#sb_instagram .sbi_load_btn .sbi_btn_text,#sb_instagram .sbi_load_btn .sbi_loader{opacity:1;transition:.1s ease-in}#sb_instagram .sbi_hidden{opacity:0!important}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{display:inline-block;vertical-align:top;zoom:1;padding:7px 14px;margin:5px auto 0;background:#333;border:none;color:#fff;text-decoration:none;font-size:13px;line-height:1.5;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;transition:.1s ease-in}#sb_instagram .sbi_follow_btn{display:inline-block;vertical-align:top;zoom:1;text-align:center}#sb_instagram .sbi_follow_btn.sbi_top{display:block;margin-bottom:5px}#sb_instagram .sbi_follow_btn a{background:#408bd1;color:#fff}#sb_instagram #sbi_load .sbi_load_btn:hover{outline:0;box-shadow:inset 0 0 20px 20px rgba(255,255,255,.25)}#sb_instagram .sbi_follow_btn a:focus,#sb_instagram .sbi_follow_btn a:hover{outline:0;box-shadow:inset 0 0 10px 20px #359dff}#sb_instagram #sbi_load .sbi_load_btn:active,#sb_instagram .sbi_follow_btn a:active{box-shadow:inset 0 0 10px 20px rgba(0,0,0,.3)}#sb_instagram .sbi_follow_btn .fa,#sb_instagram .sbi_follow_btn svg{margin-bottom:-1px;margin-right:7px;font-size:15px}#sb_instagram .sbi_follow_btn svg{vertical-align:-.125em}#sb_instagram #sbi_load .sbi_follow_btn{margin-left:5px}#sb_instagram .sb_instagram_error{width:100%;text-align:center;line-height:1.4}#sbi_mod_error{display:none;border:1px solid #ddd;background:#eee;color:#333;margin:10px 0 0;padding:10px 15px;font-size:13px;text-align:center;clear:both;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}#sbi_mod_error br{display:initial!important}#sbi_mod_error p{padding:5px 0!important;margin:0!important;line-height:1.3!important}#sbi_mod_error ol,#sbi_mod_error ul{padding:5px 0 5px 20px!important;margin:0!important}#sbi_mod_error li{padding:1px 0!important;margin:0!important}#sbi_mod_error span{font-size:12px}#sb_instagram.sbi_medium .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_medium .sbi_playbtn{margin-top:-12px;margin-left:-9px;font-size:23px}#sb_instagram.sbi_medium .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:8px;top:8px;font-size:18px}#sb_instagram.sbi_small .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_small .sbi_playbtn{margin-top:-9px;margin-left:-7px;font-size:18px}#sb_instagram.sbi_small .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:5px;top:5px;font-size:12px}@media all and (max-width:640px){#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_width_resp{width:100%!important}}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap{box-sizing:border-box;position:relative;overflow:hidden}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap:before{content:"";display:block;padding-top:100%;z-index:-300}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo{position:absolute;top:0;left:0;bottom:0;right:0}#sb_instagram #sbi_images .sbi_js_load_disabled .sbi_imgLiquid_ready.sbi_photo{padding-bottom:0!important}#sb_instagram #sbi_mod_error .sb_frontend_btn{display:inline-block;padding:6px 10px;background:rgba(0,0,0,.1);text-decoration:none;border-radius:5px;margin-top:10px;color:#444}#sb_instagram #sbi_mod_error .sb_frontend_btn:hover{background:rgba(0,0,0,.15)}#sb_instagram #sbi_mod_error .sb_frontend_btn .fa{margin-right:2px}#sb_instagram.sbi_palette_dark,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lightbox_tooltip,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_share_close,.sbi_header_outside.sbi_header_palette_dark{background-color:rgba(0,0,0,.85);color:rgba(255,255,255,.75)}#sb_instagram.sbi_palette_dark .sbi_caption,#sb_instagram.sbi_palette_dark .sbi_meta,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_dark_lightbox .sbi_lb-commentBox p,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details .sbi_lb-caption,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-number,.sbi_header_palette_dark,.sbi_header_palette_dark .sbi_bio{color:rgba(255,255,255,.75)}#sb_instagram.sbi_palette_dark .sbi_expand a,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_dark_lightbox .sbi_lb-commentBox .sbi_lb-commenter,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a,#sbi_lightbox.sbi_palette_dark_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a p,.sbi_header_palette_dark a{color:#fff}#sb_instagram.sbi_palette_light,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lightbox_tooltip,#sbi_lightbox.sbi_palette_light_lightbox .sbi_share_close,.sbi_header_outside.sbi_header_palette_light{color:rgba(0,0,0,.85);background-color:rgba(255,255,255,.75)}#sb_instagram.sbi_palette_light .sbi_caption,#sb_instagram.sbi_palette_light .sbi_meta,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_light_lightbox .sbi_lb-commentBox p,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details .sbi_lb-caption,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-number,.sbi_header_palette_light,.sbi_header_palette_light .sbi_bio{color:rgba(0,0,0,.85)}#sb_instagram.sbi_palette_light .sbi_expand a,#sbi_lightbox.sbi_lb-comments-enabled.sbi_palette_light_lightbox .sbi_lb-commentBox .sbi_lb-commenter,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a,#sbi_lightbox.sbi_palette_light_lightbox .sbi_lb-outerContainer .sbi_lb-dataContainer .sbi_lb-details a p,.sbi_header_palette_light a{color:#000}@media all and (max-width:800px){#sb_instagram.sbi_tab_col_10 #sbi_images .sbi_item{width:10%}#sb_instagram.sbi_tab_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_tab_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_tab_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_tab_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_tab_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_tab_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_tab_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_tab_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_tab_col_1 #sbi_images .sbi_item{width:100%}}@media all and (max-width:480px){#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_10.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_3.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_4.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_5.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item,#sb_instagram.sbi_col_6.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_7.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_8.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item,#sb_instagram.sbi_col_9.sbi_mob_col_auto #sbi_images .sbi_item,#sb_instagram.sbi_mob_col_1 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_mob_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_mob_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_mob_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_mob_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_mob_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_mob_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_mob_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_mob_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_mob_col_10 #sbi_images .sbi_item{width:10%}}#sb_instagram #sbi_images .sbi_item.sbi_num_diff_hide{display:none!important}
inc/Platform_Data.php CHANGED
@@ -268,6 +268,13 @@ class Platform_Data {
268
  * @return void
269
  */
270
  public function handle_unused_feed_usage() {
 
 
 
 
 
 
 
271
  global $sb_instagram_posts_manager;
272
 
273
  $sb_instagram_posts_manager->remove_error('unused_feed');
@@ -309,9 +316,10 @@ class Platform_Data {
309
  $title = __( 'There has been a problem with your Instagram Feed.', 'instagram-feed' );
310
  $bold = __( 'Action Required Within 7 Days', 'instagram-feed' );
311
  $site_url = sprintf( '<a href="%s">%s<a/>', esc_url( home_url() ), __( 'your website', 'instagram-feed' ) );
312
- $details = '<p>' . sprintf( __( 'An account admin has deauthorized the Smash Balloon app used to power the Instagram Feed plugin on %s. If the Instagram account is not reconnected within 7 days then all Instagram data will be automatically deleted on your website due to Facebook data privacy rules.', 'instagram-feed' ), $site_url ) . '</p>';
313
  $settings_page = sprintf( '<a href="%s">%s</a>', esc_url( $link ), esc_html__( 'Settings Page', 'instagram-feed' ) );
314
- $details .= '<p>' . sprintf( __( 'To prevent the automated deletion of data for the account, please reconnect your account on the plugin %s within 7 days.', 'instagram-feed' ), $settings_page ). '</p>';
 
315
 
316
  Email_Notification::send( $title, $bold, $details );
317
  }
268
  * @return void
269
  */
270
  public function handle_unused_feed_usage() {
271
+ //Security Checks
272
+ check_ajax_referer( 'sbi_nonce', 'sbi_nonce' );
273
+
274
+ if ( ! sbi_current_user_can( 'manage_instagram_feed_options' ) ) {
275
+ wp_send_json_error();
276
+ }
277
+
278
  global $sb_instagram_posts_manager;
279
 
280
  $sb_instagram_posts_manager->remove_error('unused_feed');
316
  $title = __( 'There has been a problem with your Instagram Feed.', 'instagram-feed' );
317
  $bold = __( 'Action Required Within 7 Days', 'instagram-feed' );
318
  $site_url = sprintf( '<a href="%s">%s<a/>', esc_url( home_url() ), __( 'your website', 'instagram-feed' ) );
319
+ $details = '<p>' . sprintf( __( 'An account admin has deauthorized the Smash Balloon app used to power the Instagram Feed plugin on %s. If the Instagram source is not reconnected within 7 days then all Instagram data will be automatically deleted on your website due to Facebook data privacy rules.', 'instagram-feed' ), $site_url ) . '</p>';
320
  $settings_page = sprintf( '<a href="%s">%s</a>', esc_url( $link ), esc_html__( 'Settings Page', 'instagram-feed' ) );
321
+ $details .= '<p>' . sprintf( __( 'To prevent the automated deletion of data for the account, please reconnect your source for the plugin %s within 7 days.', 'instagram-feed' ), $settings_page ). '</p>';
322
+ $details .= '<p><a href="https://smashballoon.com/doc/action-required-within-7-days/?instagram&utm_campaign=instagram-free&utm_source=permissionerror&utm_medium=email&utm_content=More Information" target="_blank" rel="noopener">' . __( 'More Information', 'instagram-feed' ) . '</a></p>';
323
 
324
  Email_Notification::send( $title, $bold, $details );
325
  }
inc/class-sb-instagram-data-manager.php CHANGED
@@ -337,8 +337,6 @@ class SB_Instagram_Data_Manager {
337
  delete_option( 'sbi_single_cache' );
338
 
339
  \InstagramFeed\Builder\SBI_Db::clear_sbi_feed_caches();
340
- \InstagramFeed\Builder\SBI_Db::clear_sbi_sources();
341
-
342
  }
343
 
344
  /**
337
  delete_option( 'sbi_single_cache' );
338
 
339
  \InstagramFeed\Builder\SBI_Db::clear_sbi_feed_caches();
 
 
340
  }
341
 
342
  /**
inc/class-sb-instagram-posts-manager.php CHANGED
@@ -1009,8 +1009,9 @@ class SB_Instagram_Posts_Manager {
1009
  if ( $errors['connection']['error_id'] === 190 ) {
1010
  $error_message .= '<strong>' . __( 'Action Required Within 7 Days', 'instagram-feed' ) . '</strong><br>';
1011
  $error_message .= __( 'An account admin has deauthorized the Smash Balloon app used to power the Instagram Feed plugin.', 'instagram-feed' );
1012
- $error_message .= ' ' . sprintf( __( 'If the Instagram account is not reconnected within 7 days then all Instagram data will be automatically deleted on your website for this account (ID: %s) due to Facebook data privacy rules.', 'instagram-feed' ), $accounts_revoked );
1013
- $error_message .= __( '<br><br>To prevent the automated data deletion for the account, please reconnect your account within 7 days.', 'instagram-feed' );
 
1014
  } else {
1015
  $error_message_array = $errors['connection']['error_message'];
1016
  $error_message .= '<strong>' . $error_message_array['error_message'] . '</strong><br>';
1009
  if ( $errors['connection']['error_id'] === 190 ) {
1010
  $error_message .= '<strong>' . __( 'Action Required Within 7 Days', 'instagram-feed' ) . '</strong><br>';
1011
  $error_message .= __( 'An account admin has deauthorized the Smash Balloon app used to power the Instagram Feed plugin.', 'instagram-feed' );
1012
+ $error_message .= ' ' . sprintf( __( 'If the Instagram source is not reconnected within 7 days then all Instagram data will be automatically deleted on your website for this account (ID: %s) due to Facebook data privacy rules.', 'instagram-feed' ), $accounts_revoked );
1013
+ $error_message .= __( '<br><br>To prevent the automated data deletion for the source, please reconnect your source within 7 days.', 'instagram-feed' );
1014
+ $error_message .= '<br><br><a href="https://smashballoon.com/doc/action-required-within-7-days/?instagram&utm_campaign=instagram-free&utm_source=permissionerror&utm_medium=notice&utm_content=More Information" target="_blank" rel="noopener">' . __( 'More Information', 'instagram-feed' ) . '</a>';
1015
  } else {
1016
  $error_message_array = $errors['connection']['error_message'];
1017
  $error_message .= '<strong>' . $error_message_array['error_message'] . '</strong><br>';
inc/class-sb-instagram-settings.php CHANGED
@@ -1325,6 +1325,13 @@ class SB_Instagram_Settings {
1325
  $settings['sb_instagram_cache_time'] = isset( $db['sb_instagram_cache_time'] ) ? $db['sb_instagram_cache_time'] : 1;
1326
  $settings['sb_instagram_cache_time_unit'] = isset( $db['sb_instagram_cache_time_unit'] ) ? $db['sb_instagram_cache_time_unit'] : 'hours';
1327
 
 
 
 
 
 
 
 
1328
  return $settings;
1329
  }
1330
  }
1325
  $settings['sb_instagram_cache_time'] = isset( $db['sb_instagram_cache_time'] ) ? $db['sb_instagram_cache_time'] : 1;
1326
  $settings['sb_instagram_cache_time_unit'] = isset( $db['sb_instagram_cache_time_unit'] ) ? $db['sb_instagram_cache_time_unit'] : 'hours';
1327
 
1328
+ // use our new colsmobile and colstablet instead of disable mobile if from the DB setting
1329
+ if ( ! empty( $settings['disablemobile'] ) ) {
1330
+ $settings['colstablet'] = $settings['cols'];
1331
+ $settings['colsmobile'] = $settings['cols'];
1332
+ $settings['disablemobile'] = false;
1333
+ }
1334
+
1335
  return $settings;
1336
  }
1337
  }
instagram-feed.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Smash Balloon Instagram Feed
4
  Plugin URI: https://smashballoon.com/instagram-feed
5
  Description: Display beautifully clean, customizable, and responsive Instagram feeds.
6
- Version: 6.0.6
7
  Author: Smash Balloon
8
  Author URI: https://smashballoon.com/
9
  License: GPLv2 or later
@@ -32,7 +32,7 @@ if ( ! defined( 'SBI_PLUGIN_NAME' ) ) {
32
  define( 'SBI_PLUGIN_NAME', 'Instagram Feed Free' );
33
  }
34
  if ( ! defined( 'SBIVER' ) ) {
35
- define( 'SBIVER', '6.0.6' );
36
  }
37
  // Db version.
38
  if ( ! defined( 'SBI_DBVERSION' ) ) {
3
  Plugin Name: Smash Balloon Instagram Feed
4
  Plugin URI: https://smashballoon.com/instagram-feed
5
  Description: Display beautifully clean, customizable, and responsive Instagram feeds.
6
+ Version: 6.0.7
7
  Author: Smash Balloon
8
  Author URI: https://smashballoon.com/
9
  License: GPLv2 or later
32
  define( 'SBI_PLUGIN_NAME', 'Instagram Feed Free' );
33
  }
34
  if ( ! defined( 'SBIVER' ) ) {
35
+ define( 'SBIVER', '6.0.7' );
36
  }
37
  // Db version.
38
  if ( ! defined( 'SBI_DBVERSION' ) ) {
js/sb-instagram-2-2.js CHANGED
@@ -826,7 +826,7 @@ if(!sbi_js_exists) {
826
  num = typeof $self.attr('data-num') !== 'undefined' && $self.attr('data-num') !== '' ? parseInt($self.attr('data-num')) : 1,
827
  nummobile = typeof $self.attr('data-nummobile') !== 'undefined' && $self.attr('data-nummobile') !== '' ? parseInt($self.attr('data-nummobile')) : num;
828
 
829
- if ($(window).width() < 480) {
830
  if (nummobile < $self.find('.sbi_item').length) {
831
  $self.find('.sbi_item').slice(nummobile - $self.find('.sbi_item').length).addClass('sbi_num_diff_hide');
832
  }
826
  num = typeof $self.attr('data-num') !== 'undefined' && $self.attr('data-num') !== '' ? parseInt($self.attr('data-num')) : 1,
827
  nummobile = typeof $self.attr('data-nummobile') !== 'undefined' && $self.attr('data-nummobile') !== '' ? parseInt($self.attr('data-nummobile')) : num;
828
 
829
+ if ($(window).width() < 480 || window.sbi_preview_device === 'mobile') {
830
  if (nummobile < $self.find('.sbi_item').length) {
831
  $self.find('.sbi_item').slice(nummobile - $self.find('.sbi_item').length).addClass('sbi_num_diff_hide');
832
  }
js/sb-instagram-2-2.min.js CHANGED
@@ -1 +1 @@
1
- var sbi_js_exists=void 0!==sbi_js_exists;sbi_js_exists||(!function(i){function e(){var i,e,t,s=s||{VER:"0.9.944"};s.bgs_Available=!1,s.bgs_CheckRunned=!1,function(i){i.fn.extend({sbi_imgLiquid:function(e){this.defaults={fill:!0,verticalAlign:"center",horizontalAlign:"center",useBackgroundSize:!0,useDataHtmlAttr:!0,responsive:!0,delay:0,fadeInTime:0,removeBoxBackground:!0,hardPixels:!0,responsiveCheckTime:500,timecheckvisibility:500,onStart:null,onFinish:null,onItemStart:null,onItemFinish:null,onItemError:null},function(){if(!s.bgs_CheckRunned){s.bgs_CheckRunned=!0;var e=i('<span style="background-size:cover" />');i("body").append(e),function(){var i=e[0];if(i&&window.getComputedStyle){var t=window.getComputedStyle(i,null);t&&t.backgroundSize&&(s.bgs_Available="cover"===t.backgroundSize)}}(),e.remove()}}();var t=this;return this.options=e,this.settings=i.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each(function(e){function n(){(r.responsive||c.data("sbi_imgLiquid_oldProcessed"))&&c.data("sbi_imgLiquid_settings")&&(r=c.data("sbi_imgLiquid_settings"),l.actualSize=l.get(0).offsetWidth+l.get(0).offsetHeight/1e4,l.sizeOld&&l.actualSize!==l.sizeOld&&o(),l.sizeOld=l.actualSize,setTimeout(n,r.responsiveCheckTime))}function a(){c.data("sbi_imgLiquid_error",!0),l.addClass("sbi_imgLiquid_error"),r.onItemError&&r.onItemError(e,l,c),d()}function o(){var i,t,s,n,a,o,g,h,f=0,u=0,b=l.width(),_=l.height();void 0===c.data("owidth")&&c.data("owidth",c[0].width),void 0===c.data("oheight")&&c.data("oheight",c[0].height),r.fill===b/_>=c.data("owidth")/c.data("oheight")?(i="100%",t="auto",s=Math.floor(b),n=Math.floor(b*(c.data("oheight")/c.data("owidth")))):(i="auto",t="100%",s=Math.floor(_*(c.data("owidth")/c.data("oheight"))),n=Math.floor(_)),g=b-s,"left"===(a=r.horizontalAlign.toLowerCase())&&(u=0),"center"===a&&(u=.5*g),"right"===a&&(u=g),-1!==a.indexOf("%")&&((a=parseInt(a.replace("%",""),10))>0&&(u=g*a*.01)),h=_-n,"left"===(o=r.verticalAlign.toLowerCase())&&(f=0),"center"===o&&(f=.5*h),"bottom"===o&&(f=h),-1!==o.indexOf("%")&&((o=parseInt(o.replace("%",""),10))>0&&(f=h*o*.01)),r.hardPixels&&(i=s,t=n),c.css({width:i,height:t,"margin-left":Math.floor(u),"margin-top":Math.floor(f)}),c.data("sbi_imgLiquid_oldProcessed")||(c.fadeTo(r.fadeInTime,1),c.data("sbi_imgLiquid_oldProcessed",!0),r.removeBoxBackground&&l.css("background-image","none"),l.addClass("sbi_imgLiquid_nobgSize"),l.addClass("sbi_imgLiquid_ready")),r.onItemFinish&&r.onItemFinish(e,l,c),d()}function d(){e===t.length-1&&t.settings.onFinish&&t.settings.onFinish()}var r=t.settings,l=i(this),c=i("img:first",l);return c.length?(c.data("sbi_imgLiquid_settings")?(l.removeClass("sbi_imgLiquid_error").removeClass("sbi_imgLiquid_ready"),r=i.extend({},c.data("sbi_imgLiquid_settings"),t.options)):r=i.extend({},t.settings,function(){var i={};if(t.settings.useDataHtmlAttr){var e=l.attr("data-sbi_imgLiquid-fill"),n=l.attr("data-sbi_imgLiquid-horizontalAlign"),a=l.attr("data-sbi_imgLiquid-verticalAlign");("true"===e||"false"===e)&&(i.fill=Boolean("true"===e)),void 0===n||"left"!==n&&"center"!==n&&"right"!==n&&-1===n.indexOf("%")||(i.horizontalAlign=n),void 0===a||"top"!==a&&"bottom"!==a&&"center"!==a&&-1===a.indexOf("%")||(i.verticalAlign=a)}return s.isIE&&t.settings.ieFadeInDisabled&&(i.fadeInTime=0),i}()),c.data("sbi_imgLiquid_settings",r),r.onItemStart&&r.onItemStart(e,l,c),void(s.bgs_Available&&r.useBackgroundSize?(-1===l.css("background-image").indexOf(encodeURI(c.attr("src")))&&l.css({"background-image":'url("'+encodeURI(c.attr("src"))+'")'}),l.css({"background-size":r.fill?"cover":"contain","background-position":(r.horizontalAlign+" "+r.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),i("a:first",l).css({display:"block",width:"100%",height:"100%"}),i("img",l).css({display:"none"}),r.onItemFinish&&r.onItemFinish(e,l,c),l.addClass("sbi_imgLiquid_bgSize"),l.addClass("sbi_imgLiquid_ready"),d()):function t(){if(c.data("oldSrc")&&c.data("oldSrc")!==c.attr("src")){var s=c.clone().removeAttr("style");return s.data("sbi_imgLiquid_settings",c.data("sbi_imgLiquid_settings")),c.parent().prepend(s),c.remove(),(c=s)[0].width=0,void setTimeout(t,10)}return c.data("sbi_imgLiquid_oldProcessed")?void o():(c.data("sbi_imgLiquid_oldProcessed",!1),c.data("oldSrc",c.attr("src")),i("img:not(:first)",l).css("display","none"),l.css({overflow:"hidden"}),c.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"}),c.on("error",a),c[0].onerror=a,function i(){c.data("sbi_imgLiquid_error")||c.data("sbi_imgLiquid_loaded")||c.data("sbi_imgLiquid_oldProcessed")||(l.is(":visible")&&c[0].complete&&c[0].width>0&&c[0].height>0?(c.data("sbi_imgLiquid_loaded",!0),setTimeout(o,e*r.delay)):setTimeout(i,r.timecheckvisibility))}(),void n())}())):void a()})}})}(jQuery),i=s.injectCss,e=document.getElementsByTagName("head")[0],(t=document.createElement("style")).type="text/css",t.styleSheet?t.styleSheet.cssText=i:t.appendChild(document.createTextNode(i)),e.appendChild(t)}function t(){this.feeds={},this.options=sb_instagram_js_options}function s(i,e,t){this.el=i,this.index=e,this.settings=t,this.minImageWidth=0,this.imageResolution=150,this.resizedImages={},this.needsResizing=[],this.outOfPages=!1,this.page=1,this.isInitialized=!1}function n(e,t){i.ajax({url:sbiajaxurl,type:"post",data:e,success:t})}t.prototype={createPage:function(e,t){void 0!==sb_instagram_js_options.ajax_url&&void 0===window.sbiajaxurl&&(window.sbiajaxurl=sb_instagram_js_options.ajax_url),void 0!==window.sbiajaxurl&&-1!==window.sbiajaxurl.indexOf(window.location.hostname)||(window.sbiajaxurl=location.protocol+"//"+window.location.hostname+"/wp-admin/admin-ajax.php"),i("#sbi-builder-app").length&&void 0===window.sbiresizedImages&&i(".sbi_resized_image_data").length&&void 0!==i(".sbi_resized_image_data").attr("data-resized")&&0===i(".sbi_resized_image_data").attr("data-resized").indexOf('{"')&&(window.sbiresizedImages=JSON.parse(i(".sbi_resized_image_data").attr("data-resized")),i(".sbi_resized_image_data").remove()),i(".sbi_no_js_error_message").remove(),i(".sbi_no_js").removeClass("sbi_no_js"),e(t)},createFeeds:function(e){e.whenFeedsCreated(i(".sbi").each(function(e){i(this).attr("data-sbi-index",e+1);var t=i(this),a=void 0!==t.attr("data-sbi-flags")?t.attr("data-sbi-flags").split(","):[],o=void 0!==t.attr("data-options")?JSON.parse(t.attr("data-options")):{};if(a.indexOf("testAjax")>-1){window.sbi.triggeredTest=!0;n({action:"sbi_on_ajax_test_trigger"},function(i){console.log("did test")})}var d={cols:t.attr("data-cols"),colsmobile:void 0!==t.attr("data-colsmobile")&&"same"!==t.attr("data-colsmobile")?t.attr("data-colsmobile"):t.attr("data-cols"),colstablet:void 0!==t.attr("data-colstablet")&&"same"!==t.attr("data-colstablet")?t.attr("data-colstablet"):t.attr("data-cols"),num:t.attr("data-num"),imgRes:t.attr("data-res"),feedID:t.attr("data-feedid"),postID:"undefind"!=typeof t.attr("data-postid")?t.attr("data-postid"):"unknown",shortCodeAtts:t.attr("data-shortcode-atts"),resizingEnabled:-1===a.indexOf("resizeDisable"),imageLoadEnabled:-1===a.indexOf("imageLoadDisable"),debugEnabled:a.indexOf("debug")>-1,favorLocal:a.indexOf("favorLocal")>-1,ajaxPostLoad:a.indexOf("ajaxPostLoad")>-1,gdpr:a.indexOf("gdpr")>-1,overrideBlockCDN:a.indexOf("overrideBlockCDN")>-1,consentGiven:!1,locator:a.indexOf("locator")>-1,autoMinRes:1,general:o};window.sbi.feeds[e]=function(i,e,t){return new s(i,e,t)}(this,e,d),window.sbi.feeds[e].setResizedImages(),window.sbi.feeds[e].init();var r=jQuery.Event("sbiafterfeedcreate");r.feed=window.sbi.feeds[e],jQuery(window).trigger(r)}))},afterFeedsCreated:function(){i(".sb_instagram_header").each(function(){var e=i(this);e.find(".sbi_header_link").on("mouseenter mouseleave",function(i){switch(i.type){case"mouseenter":e.find(".sbi_header_img_hover").addClass("sbi_fade_in");break;case"mouseleave":e.find(".sbi_header_img_hover").removeClass("sbi_fade_in")}})})},encodeHTML:function(i){return void 0===i?"":i.replace(/(>)/g,"&gt;").replace(/(<)/g,"&lt;").replace(/(&lt;br\/&gt;)/g,"<br>").replace(/(&lt;br&gt;)/g,"<br>")},urlDetect:function(i){return i.match(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)}},s.prototype={init:function(){var e=this;e.settings.consentGiven=e.checkConsent(),i(this.el).find(".sbi_photo").parent("p").length&&i(this.el).addClass("sbi_no_autop"),i(this.el).find("#sbi_mod_error").length&&i(this.el).prepend(i(this.el).find("#sbi_mod_error")),this.settings.ajaxPostLoad?this.getNewPostSet():this.afterInitialImagesLoaded();var t,s=(t=0,function(i,e){clearTimeout(t),t=setTimeout(i,e)});jQuery(window).on("resize",function(){s(function(){e.afterResize()},500)}),i(this.el).find(".sbi_item").each(function(){e.lazyLoadCheck(i(this))})},initLayout:function(){},afterInitialImagesLoaded:function(){this.initLayout(),this.loadMoreButtonInit(),this.hideExtraImagesForWidth(),this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed()},afterResize:function(){this.setImageHeight(),this.setImageResolution(),this.maybeRaiseImageResolution(),this.setImageSizeClass()},afterLoadMoreClicked:function(i){i.find(".sbi_loader").removeClass("sbi_hidden"),i.find(".sbi_btn_text").addClass("sbi_hidden"),i.closest(".sbi").find(".sbi_num_diff_hide").addClass("sbi_transition").removeClass("sbi_num_diff_hide")},afterNewImagesLoaded:function(){var e=i(this.el),t=this;this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed(),setTimeout(function(){e.find(".sbi_loader").addClass("sbi_hidden"),e.find(".sbi_btn_text").removeClass("sbi_hidden"),t.maybeRaiseImageResolution()},500)},beforeNewImagesRevealed:function(){this.setImageHeight(),this.maybeRaiseImageResolution(!0),this.setImageSizeClass()},revealNewImages:function(){var e=i(this.el);e.find(".sbi-screenreader").each(function(){i(this).find("img").remove()}),"function"==typeof sbi_custom_js&&setTimeout(function(){sbi_custom_js()},100),this.applyImageLiquid(),e.find(".sbi_item").each(function(i){jQuery(this).find(".sbi_photo").on("mouseenter mouseleave",function(i){switch(i.type){case"mouseenter":jQuery(this).fadeTo(200,.85);break;case"mouseleave":jQuery(this).stop().fadeTo(500,1)}})}),setTimeout(function(){jQuery("#sbi_images .sbi_item.sbi_new").removeClass("sbi_new");var i=10;e.find(".sbi_transition").each(function(){var e=jQuery(this);setTimeout(function(){e.removeClass("sbi_transition")},i),i+=10})},500)},lazyLoadCheck:function(e){if(e.find(".sbi_photo").length&&!e.closest(".sbi").hasClass("sbi-no-ll-check")){var t=this.getImageUrls(e),s=void 0!==t[640]?t[640]:e.find(".sbi_photo").attr("data-full-res");if(!this.settings.consentGiven&&s.indexOf("scontent")>-1)return;e.find(".sbi_photo img").each(function(){s&&void 0!==i(this).attr("data-src")&&i(this).attr("data-src",s),s&&void 0!==i(this).attr("data-orig-src")&&i(this).attr("data-orig-src",s),i(this).on("load",function(){!i(this).hasClass("sbi-replaced")&&i(this).attr("src").indexOf("placeholder")>-1&&(i(this).addClass("sbi-replaced"),s&&(i(this).attr("src",s),i(this).closest(".sbi_imgLiquid_bgSize").length&&i(this).closest(".sbi_imgLiquid_bgSize").css("background-image","url("+s+")")))})})}},afterNewImagesRevealed:function(){this.listenForVisibilityChange(),this.sendNeedsResizingToServer(),this.settings.imageLoadEnabled||i(".sbi_no_resraise").removeClass("sbi_no_resraise");var e=i.Event("sbiafterimagesloaded");e.el=i(this.el),i(window).trigger(e)},setResizedImages:function(){i(this.el).find(".sbi_resized_image_data").length&&void 0!==i(this.el).find(".sbi_resized_image_data").attr("data-resized")&&0===i(this.el).find(".sbi_resized_image_data").attr("data-resized").indexOf('{"')?(this.resizedImages=JSON.parse(i(this.el).find(".sbi_resized_image_data").attr("data-resized")),i(this.el).find(".sbi_resized_image_data").remove()):void 0!==window.sbiresizedImages&&(this.resizedImages=window.sbiresizedImages)},sendNeedsResizingToServer:function(){var e=this,t=i(this.el);if(e.needsResizing.length>0&&e.settings.resizingEnabled){var s=i(this.el).find(".sbi_item").length,a=void 0!==e.settings.general.cache_all&&e.settings.general.cache_all,o="";if(void 0!==t.attr("data-locatornonce")&&(o=t.attr("data-locatornonce")),i("#sbi-builder-app").length){if(void 0!==window.sbiresizeTriggered&&window.sbiresizeTriggered)return;window.sbiresizeTriggered=!0}n({action:"sbi_resized_images_submit",needs_resizing:e.needsResizing,offset:s,feed_id:e.settings.feedID,atts:e.settings.shortCodeAtts,location:e.locationGuess(),post_id:e.settings.postID,cache_all:a,locator_nonce:o},function(t){var s=t;for(var n in"object"!=typeof t&&0===t.trim().indexOf("{")&&(s=JSON.parse(t.trim())),e.settings.debugEnabled&&console.log(s),s)s.hasOwnProperty(n)&&(e.resizedImages[n]=s[n]);e.maybeRaiseImageResolution(),setTimeout(function(){e.afterResize()},500),i("#sbi-builder-app").length&&(window.sbiresizeTriggered=!1)})}else if(e.settings.locator){o="";void 0!==t.attr("data-locatornonce")&&(o=t.attr("data-locatornonce")),n({action:"sbi_do_locator",feed_id:e.settings.feedID,atts:e.settings.shortCodeAtts,location:e.locationGuess(),post_id:e.settings.postID,locator_nonce:o},function(i){})}},loadMoreButtonInit:function(){var e=i(this.el),t=this;e.find("#sbi_load .sbi_load_btn").off().on("click",function(){t.afterLoadMoreClicked(jQuery(this)),t.getNewPostSet()})},getNewPostSet:function(){var e=i(this.el),t=this;t.page++;var s="";void 0!==e.attr("data-locatornonce")&&(s=e.attr("data-locatornonce"));n({action:"sbi_load_more_clicked",offset:e.find(".sbi_item").length,page:t.page,feed_id:t.settings.feedID,atts:t.settings.shortCodeAtts,location:t.locationGuess(),post_id:t.settings.postID,current_resolution:t.imageResolution,locator_nonce:s},function(s){var n=s;"object"!=typeof s&&0===s.trim().indexOf("{")&&(n=JSON.parse(s.trim())),t.settings.debugEnabled&&console.log(n),t.appendNewPosts(n.html),t.addResizedImages(n.resizedImages),t.settings.ajaxPostLoad?(t.settings.ajaxPostLoad=!1,t.afterInitialImagesLoaded()):t.afterNewImagesLoaded(),n.feedStatus.shouldPaginate?t.outOfPages=!1:(t.outOfPages=!0,e.find(".sbi_load_btn").hide()),i(".sbi_no_js").removeClass("sbi_no_js")})},appendNewPosts:function(e){var t=i(this.el);t.find("#sbi_images .sbi_item").length?t.find("#sbi_images .sbi_item").last().after(e):t.find("#sbi_images").append(e)},addResizedImages:function(i){for(var e in i)this.resizedImages[e]=i[e]},setImageHeight:function(){var e=i(this.el),t=e.find(".sbi_photo").eq(0).innerWidth(),s=this.getColumnCount(),n=e.find("#sbi_images").innerWidth()-e.find("#sbi_images").width(),a=n/2;sbi_photo_width_manual=e.find("#sbi_images").width()/s-n,e.find(".sbi_photo").css("height",t),e.find(".sbi-owl-nav").length&&setTimeout(function(){var i=2;e.find(".sbi_owl2row-item").length&&(i=1);var t=e.find(".sbi_photo").eq(0).innerWidth()/i;t+=parseInt(a)*(2-i+2),e.find(".sbi-owl-nav div").css("top",t)},100)},maybeRaiseSingleImageResolution:function(e,t,s){var n=this,a=n.getImageUrls(e),o=e.find(".sbi_photo img").attr("src"),d=150,r=e.find("img").get(0),l=o===window.sbi.options.placeholder?1:r.naturalWidth/r.naturalHeight;s=void 0!==s&&s;if(!(e.hasClass("sbi_no_resraise")||e.hasClass("sbi_had_error")||e.find(".sbi_link_area").length&&e.find(".sbi_link_area").hasClass("sbi_had_error")))if(a.length<1)e.find(".sbi_link_area").length&&e.find(".sbi_link_area").attr("href",window.sbi.options.placeholder.replace("placeholder.png","thumb-placeholder.png"));else{(e.find(".sbi_link_area").length&&e.find(".sbi_link_area").attr("href")===window.sbi.options.placeholder.replace("placeholder.png","thumb-placeholder.png")||!n.settings.consentGiven)&&e.find(".sbi_link_area").attr("href",a[a.length-1]),void 0!==a[640]&&e.find(".sbi_photo").attr("data-full-res",a[640]),i.each(a,function(i,e){e===o&&(d=parseInt(i),s=!1)});var c=640;switch(n.settings.imgRes){case"thumb":c=150;break;case"medium":c=320;break;case"full":c=640;break;default:var g=Math.max(n.settings.autoMinRes,e.find(".sbi_photo").innerWidth()),h=n.getBestResolutionForAuto(g,l,e);switch(h){case 320:c=320;break;case 150:c=150}}if(c>d||o===window.sbi.options.placeholder||s){if(n.settings.debugEnabled){var f=o===window.sbi.options.placeholder?"was placeholder":"too small";console.log("rais res for "+o,f)}var u=a[c].split("?ig_cache_key")[0];if(o!==u&&(e.find(".sbi_photo img").attr("src",u),e.find(".sbi_photo").css("background-image",'url("'+u+'")')),d=c,"auto"===n.settings.imgRes){var b=!1;e.find(".sbi_photo img").on("load",function(){var t=i(this),s=t.get(0).naturalWidth/t.get(0).naturalHeight;if(1e3!==t.get(0).naturalWidth&&s>l&&!b){switch(n.settings.debugEnabled&&console.log("rais res again for aspect ratio change "+o),b=!0,g=e.find(".sbi_photo").innerWidth(),h=n.getBestResolutionForAuto(g,s,e),c=640,h){case 320:c=320;break;case 150:c=150}c>d&&(u=a[c].split("?ig_cache_key")[0],t.attr("src",u),t.closest(".sbi_photo").css("background-image",'url("'+u+'")')),"masonry"!==n.layout&&"highlight"!==n.layout||(i(n.el).find("#sbi_images").smashotope(n.isotopeArgs),setTimeout(function(){i(n.el).find("#sbi_images").smashotope(n.isotopeArgs)},500))}else if(n.settings.debugEnabled){var r=b?"already checked":"no aspect ratio change";console.log("not raising res for replacement "+o,r)}})}}e.find("img").on("error",function(){if(i(this).hasClass("sbi_img_error"))console.log("unfixed error "+i(this).attr("src"));else{var e;if(i(this).addClass("sbi_img_error"),!(i(this).attr("src").indexOf("media/?size=")>-1||i(this).attr("src").indexOf("cdninstagram")>-1||i(this).attr("src").indexOf("fbcdn")>-1)&&n.settings.consentGiven){if("undefined"!==i(this).closest(".sbi_photo").attr("data-img-src-set"))void 0!==(e=JSON.parse(i(this).closest(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/"))).d&&(i(this).attr("src",e.d),i(this).closest(".sbi_photo").css("background-image","url("+e.d+")"),i(this).closest(".sbi_item").addClass("sbi_had_error").find(".sbi_link_area").attr("href",e[640]).addClass("sbi_had_error"))}else n.settings.favorLocal=!0,void 0!==(e=n.getImageUrls(i(this).closest(".sbi_item")))[640]&&(i(this).attr("src",e[640]),i(this).closest(".sbi_photo").css("background-image","url("+e[640]+")"),i(this).closest(".sbi_item").addClass("sbi_had_error").find(".sbi_link_area").attr("href",e[640]).addClass("sbi_had_error"));setTimeout(function(){n.afterResize()},1500)}})}},maybeRaiseImageResolution:function(e){var t=this,s=void 0!==e&&!0===e?".sbi_item.sbi_new":".sbi_item",n=!t.isInitialized;i(t.el).find(s).each(function(e){!i(this).hasClass("sbi_num_diff_hide")&&i(this).find(".sbi_photo").length&&void 0!==i(this).find(".sbi_photo").attr("data-img-src-set")&&t.maybeRaiseSingleImageResolution(i(this),e,n)}),t.isInitialized=!0},getBestResolutionForAuto:function(e,t,s){(isNaN(t)||t<1)&&(t=1);var n=e*t,a=10*Math.ceil(n/10),o=[150,320,640];if(s.hasClass("sbi_highlighted")&&(a*=2),-1===o.indexOf(parseInt(a))){var d=!1;i.each(o,function(i,e){e>parseInt(a)&&!d&&(a=e,d=!0)})}return a},hideExtraImagesForWidth:function(){if("carousel"!==this.layout){var e=i(this.el),t=void 0!==e.attr("data-num")&&""!==e.attr("data-num")?parseInt(e.attr("data-num")):1,s=void 0!==e.attr("data-nummobile")&&""!==e.attr("data-nummobile")?parseInt(e.attr("data-nummobile")):t;i(window).width()<480?s<e.find(".sbi_item").length&&e.find(".sbi_item").slice(s-e.find(".sbi_item").length).addClass("sbi_num_diff_hide"):t<e.find(".sbi_item").length&&e.find(".sbi_item").slice(t-e.find(".sbi_item").length).addClass("sbi_num_diff_hide")}},setImageSizeClass:function(){var e=i(this.el);e.removeClass("sbi_small sbi_medium");var t=e.innerWidth(),s=parseInt(e.find("#sbi_images").outerWidth()-e.find("#sbi_images").width())/2,n=this.getColumnCount(),a=(t-s*(n+2))/n;a>120&&a<240?e.addClass("sbi_medium"):a<=120&&e.addClass("sbi_small")},setMinImageWidth:function(){i(this.el).find(".sbi_item .sbi_photo").first().length?this.minImageWidth=i(this.el).find(".sbi_item .sbi_photo").first().innerWidth():this.minImageWidth=150},setImageResolution:function(){if("auto"===this.settings.imgRes)this.imageResolution="auto";else switch(this.settings.imgRes){case"thumb":this.imageResolution=150;break;case"medium":this.imageResolution=320;break;default:this.imageResolution=640}},getImageUrls:function(i){var e=JSON.parse(i.find(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/")),t=i.attr("id").replace("sbi_","");if(this.settings.consentGiven||this.settings.overrideBlockCDN||(e=[]),void 0!==this.resizedImages[t]&&"video"!==this.resizedImages[t]&&"pending"!==this.resizedImages[t]&&"error"!==this.resizedImages[t].id&&"video"!==this.resizedImages[t].id&&"pending"!==this.resizedImages[t].id){if(void 0!==this.resizedImages[t].sizes){var s=[];void 0!==this.resizedImages[t].sizes.full&&(e[640]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"full.jpg",s.push(640)),void 0!==this.resizedImages[t].sizes.low&&(e[320]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"low.jpg",s.push(320)),void 0!==this.resizedImages[t].sizes.thumb&&(s.push(150),e[150]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"thumb.jpg"),this.settings.favorLocal&&(-1===s.indexOf(640)&&s.indexOf(320)>-1&&(e[640]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"low.jpg"),-1===s.indexOf(320)&&(s.indexOf(640)>-1?e[320]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"full.jpg":s.indexOf(150)>-1&&(e[320]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"thumb.jpg")),-1===s.indexOf(150)&&(s.indexOf(320)>-1?e[150]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"low.jpg":s.indexOf(640)>-1&&(e[150]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"full.jpg")))}}else(void 0===this.resizedImages[t]||void 0!==this.resizedImages[t].id&&"pending"!==this.resizedImages[t].id&&"error"!==this.resizedImages[t].id)&&this.addToNeedsResizing(t);return e},getAvatarUrl:function(i,e){if(""===i)return"";var t=this.settings.general.avatars;return"local"===(e=void 0!==e?e:"local")?void 0!==t["LCL"+i]&&1===parseInt(t["LCL"+i])?sb_instagram_js_options.resized_url+i+".jpg":void 0!==t[i]?t[i]:"":void 0!==t[i]?t[i]:void 0!==t["LCL"+i]&&1===parseInt(t["LCL"+i])?sb_instagram_js_options.resized_url+i+".jpg":""},addToNeedsResizing:function(i){-1===this.needsResizing.indexOf(i)&&this.needsResizing.push(i)},applyImageLiquid:function(){var t=i(this.el);e(),"function"==typeof t.find(".sbi_photo").sbi_imgLiquid&&t.find(".sbi_photo").sbi_imgLiquid({fill:!0})},listenForVisibilityChange:function(){var e,t,s,n=this;e=jQuery,t={callback:function(){},runOnLoad:!0,frequency:100,sbiPreviousVisibility:null},s={sbiCheckVisibility:function(i,e){if(jQuery.contains(document,i[0])){var t=e.sbiPreviousVisibility,n=i.is(":visible");e.sbiPreviousVisibility=n,null==t?e.runOnLoad&&e.callback(i,n):t!==n&&e.callback(i,n),setTimeout(function(){s.sbiCheckVisibility(i,e)},e.frequency)}}},e.fn.sbiVisibilityChanged=function(i){var n=e.extend({},t,i);return this.each(function(){s.sbiCheckVisibility(e(this),n)})},"function"==typeof i(this.el).filter(":hidden").sbiVisibilityChanged&&i(this.el).filter(":hidden").sbiVisibilityChanged({callback:function(i,e){n.afterResize()},runOnLoad:!1})},getColumnCount:function(){var e=i(this.el),t=this.settings.cols,s=this.settings.colsmobile,n=this.settings.colstablet,a=t;return sbiWindowWidth=window.innerWidth,e.hasClass("sbi_mob_col_auto")?(sbiWindowWidth<640&&parseInt(t)>2&&parseInt(t)<7&&(a=2),sbiWindowWidth<640&&parseInt(t)>6&&parseInt(t)<11&&(a=4),sbiWindowWidth<=480&&parseInt(t)>2&&(a=1)):sbiWindowWidth>480&&sbiWindowWidth<=800?a=n:sbiWindowWidth<=480&&(a=s),parseInt(a)},checkConsent:function(){if(this.settings.consentGiven||!this.settings.gdpr)return!0;if("undefined"!=typeof CLI_Cookie)null!==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&&(null!==CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")),null!==CLI_Cookie.read("cookielawinfo-checkbox-necessary")&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-necessary")));else if(void 0!==window.cnArgs){var i=("; "+document.cookie).split("; cookie_notice_accepted=");if(2===i.length){var e=i.pop().split(";").shift();this.settings.consentGiven="true"===e}}else void 0!==window.cookieconsent?this.settings.consentGiven="allow"===function(i){for(var e=i+"=",t=window.document.cookie.split(";"),s=0;s<t.length;s++){var n=t[s].trim();if(0==n.indexOf(e))return n.substring(e.length,n.length)}return""}("complianz_consent_status"):void 0!==window.Cookiebot?this.settings.consentGiven=Cookiebot.consented:void 0!==window.BorlabsCookie&&(this.settings.consentGiven=window.BorlabsCookie.checkCookieConsent("instagram"));var t=jQuery.Event("sbicheckconsent");return t.feed=this,jQuery(window).trigger(t),this.settings.consentGiven},afterConsentToggled:function(){if(this.checkConsent()){var i=this;i.maybeRaiseImageResolution(),setTimeout(function(){i.afterResize()},500)}},locationGuess:function(){var e=i(this.el),t="content";return e.closest("footer").length?t="footer":e.closest(".header").length||e.closest("header").length?t="header":(e.closest(".sidebar").length||e.closest("aside").length)&&(t="sidebar"),t}},window.sbi_init=function(){window.sbi=new t,window.sbi.createPage(window.sbi.createFeeds,{whenFeedsCreated:window.sbi.afterFeedsCreated})}}(jQuery),jQuery(document).ready(function(i){void 0===window.sb_instagram_js_options&&(window.sb_instagram_js_options={font_method:"svg",resized_url:location.protocol+"//"+window.location.hostname+"/wp-content/uploads/sb-instagram-feed-images/",placeholder:location.protocol+"//"+window.location.hostname+"/wp-content/plugins/instagram-feed/img/placeholder.png"}),void 0!==window.sb_instagram_js_options.resized_url&&-1===window.sb_instagram_js_options.resized_url.indexOf(location.protocol)&&("http:"===location.protocol?window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("https:","http:"):window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("http:","https:")),sbi_init(),i("#cookie-notice a").on("click",function(){setTimeout(function(){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].afterConsentToggled()})},1e3)}),i("#cookie-law-info-bar a").on("click",function(){setTimeout(function(){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].afterConsentToggled()})},1e3)}),i(".cli-user-preference-checkbox").on("click",function(){setTimeout(function(){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!1,window.sbi.feeds[i].afterConsentToggled()})},1e3)}),i(window).on("CookiebotOnAccept",function(e){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!0,window.sbi.feeds[i].afterConsentToggled()})}),i(document).on("cmplzAcceptAll",function(e){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!0,window.sbi.feeds[i].afterConsentToggled()})}),i(document).on("cmplzRevoke",function(e){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!1,window.sbi.feeds[i].afterConsentToggled()})}),i(document).on("borlabs-cookie-consent-saved",function(e){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!1,window.sbi.feeds[i].afterConsentToggled()})})}));
1
+ var sbi_js_exists=void 0!==sbi_js_exists;sbi_js_exists||(!function($){function a(){this.feeds={},this.options=sb_instagram_js_options}function b(a,b,c){this.el=a,this.index=b,this.settings=c,this.minImageWidth=0,this.imageResolution=150,this.resizedImages={},this.needsResizing=[],this.outOfPages=!1,this.page=1,this.isInitialized=!1}function c(a,b){$.ajax({url:sbiajaxurl,type:"post",data:a,success:b})}a.prototype={createPage:function(a,b){void 0!==sb_instagram_js_options.ajax_url&& void 0===window.sbiajaxurl&&(window.sbiajaxurl=sb_instagram_js_options.ajax_url),(void 0===window.sbiajaxurl|| -1===window.sbiajaxurl.indexOf(window.location.hostname))&&(window.sbiajaxurl=location.protocol+"//"+window.location.hostname+"/wp-admin/admin-ajax.php"),$("#sbi-builder-app").length&& void 0===window.sbiresizedImages&&$(".sbi_resized_image_data").length&& void 0!==$(".sbi_resized_image_data").attr("data-resized")&&0===$(".sbi_resized_image_data").attr("data-resized").indexOf('{"')&&(window.sbiresizedImages=JSON.parse($(".sbi_resized_image_data").attr("data-resized")),$(".sbi_resized_image_data").remove()),$(".sbi_no_js_error_message").remove(),$(".sbi_no_js").removeClass("sbi_no_js"),a(b)},createFeeds:function(a){a.whenFeedsCreated($(".sbi").each(function(e){$(this).attr("data-sbi-index",e+1);var a=$(this),d=void 0!==a.attr("data-sbi-flags")?a.attr("data-sbi-flags").split(","):[],j=void 0!==a.attr("data-options")?JSON.parse(a.attr("data-options")):{};d.indexOf("testAjax")> -1&&(window.sbi.triggeredTest=!0,c({action:"sbi_on_ajax_test_trigger"},function(a){console.log("did test")}));var f,g,h,k={cols:a.attr("data-cols"),colsmobile:void 0!==a.attr("data-colsmobile")&&"same"!==a.attr("data-colsmobile")?a.attr("data-colsmobile"):a.attr("data-cols"),colstablet:void 0!==a.attr("data-colstablet")&&"same"!==a.attr("data-colstablet")?a.attr("data-colstablet"):a.attr("data-cols"),num:a.attr("data-num"),imgRes:a.attr("data-res"),feedID:a.attr("data-feedid"),postID:"undefind"!=typeof a.attr("data-postid")?a.attr("data-postid"):"unknown",shortCodeAtts:a.attr("data-shortcode-atts"),resizingEnabled:-1===d.indexOf("resizeDisable"),imageLoadEnabled:-1===d.indexOf("imageLoadDisable"),debugEnabled:d.indexOf("debug")> -1,favorLocal:d.indexOf("favorLocal")> -1,ajaxPostLoad:d.indexOf("ajaxPostLoad")> -1,gdpr:d.indexOf("gdpr")> -1,overrideBlockCDN:d.indexOf("overrideBlockCDN")> -1,consentGiven:!1,locator:d.indexOf("locator")> -1,autoMinRes:1,general:j};window.sbi.feeds[e]=(f=this,g=e,h=k,new b(f,g,h)),window.sbi.feeds[e].setResizedImages(),window.sbi.feeds[e].init();var i=jQuery.Event("sbiafterfeedcreate");i.feed=window.sbi.feeds[e],jQuery(window).trigger(i)}))},afterFeedsCreated:function(){$(".sb_instagram_header").each(function(){var a=$(this);a.find(".sbi_header_link").on("mouseenter mouseleave",function(b){switch(b.type){case"mouseenter":a.find(".sbi_header_img_hover").addClass("sbi_fade_in");break;case"mouseleave":a.find(".sbi_header_img_hover").removeClass("sbi_fade_in")}})})},encodeHTML:function(b){if(void 0===b)return"";var a=b.replace(/(>)/g,"&gt;"),a=a.replace(/(<)/g,"&lt;");return(a=a.replace(/(&lt;br\/&gt;)/g,"<br>")).replace(/(&lt;br&gt;)/g,"<br>")},urlDetect:function(a){return a.match(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)}},b.prototype={init:function(){var b,a=this;a.settings.consentGiven=a.checkConsent(),$(this.el).find(".sbi_photo").parent("p").length&&$(this.el).addClass("sbi_no_autop"),$(this.el).find("#sbi_mod_error").length&&$(this.el).prepend($(this.el).find("#sbi_mod_error")),this.settings.ajaxPostLoad?this.getNewPostSet():this.afterInitialImagesLoaded();var c=(b=0,function(a,c){clearTimeout(b),b=setTimeout(a,c)});jQuery(window).on("resize",function(){c(function(){a.afterResize()},500)}),$(this.el).find(".sbi_item").each(function(){a.lazyLoadCheck($(this))})},initLayout:function(){},afterInitialImagesLoaded:function(){this.initLayout(),this.loadMoreButtonInit(),this.hideExtraImagesForWidth(),this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed()},afterResize:function(){this.setImageHeight(),this.setImageResolution(),this.maybeRaiseImageResolution(),this.setImageSizeClass()},afterLoadMoreClicked:function(a){a.find(".sbi_loader").removeClass("sbi_hidden"),a.find(".sbi_btn_text").addClass("sbi_hidden"),a.closest(".sbi").find(".sbi_num_diff_hide").addClass("sbi_transition").removeClass("sbi_num_diff_hide")},afterNewImagesLoaded:function(){var a=$(this.el),b=this;this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed(),setTimeout(function(){a.find(".sbi_loader").addClass("sbi_hidden"),a.find(".sbi_btn_text").removeClass("sbi_hidden"),b.maybeRaiseImageResolution()},500)},beforeNewImagesRevealed:function(){this.setImageHeight(),this.maybeRaiseImageResolution(!0),this.setImageSizeClass()},revealNewImages:function(){var a=$(this.el);a.find(".sbi-screenreader").each(function(){$(this).find("img").remove()}),"function"==typeof sbi_custom_js&&setTimeout(function(){sbi_custom_js()},100),this.applyImageLiquid(),a.find(".sbi_item").each(function(a){jQuery(this).find(".sbi_photo").on("mouseenter mouseleave",function(a){switch(a.type){case"mouseenter":jQuery(this).fadeTo(200,.85);break;case"mouseleave":jQuery(this).stop().fadeTo(500,1)}})}),setTimeout(function(){jQuery("#sbi_images .sbi_item.sbi_new").removeClass("sbi_new");var b=10;a.find(".sbi_transition").each(function(){var a=jQuery(this);setTimeout(function(){a.removeClass("sbi_transition")},b),b+=10})},500)},lazyLoadCheck:function(a){if(a.find(".sbi_photo").length&&!a.closest(".sbi").hasClass("sbi-no-ll-check")){var b=this.getImageUrls(a),c=void 0!==b[640]?b[640]:a.find(".sbi_photo").attr("data-full-res");!(!this.settings.consentGiven&&c.indexOf("scontent")> -1)&&a.find(".sbi_photo img").each(function(){c&& void 0!==$(this).attr("data-src")&&$(this).attr("data-src",c),c&& void 0!==$(this).attr("data-orig-src")&&$(this).attr("data-orig-src",c),$(this).on("load",function(){!$(this).hasClass("sbi-replaced")&&$(this).attr("src").indexOf("placeholder")> -1&&($(this).addClass("sbi-replaced"),c&&($(this).attr("src",c),$(this).closest(".sbi_imgLiquid_bgSize").length&&$(this).closest(".sbi_imgLiquid_bgSize").css("background-image","url("+c+")")))})})}},afterNewImagesRevealed:function(){this.listenForVisibilityChange(),this.sendNeedsResizingToServer(),this.settings.imageLoadEnabled||$(".sbi_no_resraise").removeClass("sbi_no_resraise");var a=$.Event("sbiafterimagesloaded");a.el=$(this.el),$(window).trigger(a)},setResizedImages:function(){$(this.el).find(".sbi_resized_image_data").length&& void 0!==$(this.el).find(".sbi_resized_image_data").attr("data-resized")&&0===$(this.el).find(".sbi_resized_image_data").attr("data-resized").indexOf('{"')?(this.resizedImages=JSON.parse($(this.el).find(".sbi_resized_image_data").attr("data-resized")),$(this.el).find(".sbi_resized_image_data").remove()):void 0!==window.sbiresizedImages&&(this.resizedImages=window.sbiresizedImages)},sendNeedsResizingToServer:function(){var a=this,d=$(this.el);if(a.needsResizing.length>0&&a.settings.resizingEnabled){var g=$(this.el).find(".sbi_item").length,h=void 0!==a.settings.general.cache_all&&a.settings.general.cache_all,b="";if(void 0!==d.attr("data-locatornonce")&&(b=d.attr("data-locatornonce")),$("#sbi-builder-app").length){if(void 0!==window.sbiresizeTriggered&&window.sbiresizeTriggered)return;window.sbiresizeTriggered=!0}var e={action:"sbi_resized_images_submit",needs_resizing:a.needsResizing,offset:g,feed_id:a.settings.feedID,atts:a.settings.shortCodeAtts,location:a.locationGuess(),post_id:a.settings.postID,cache_all:h,locator_nonce:b},f=function(c){var b=c;for(var d in"object"!=typeof c&&0===c.trim().indexOf("{")&&(b=JSON.parse(c.trim())),a.settings.debugEnabled&&console.log(b),b)b.hasOwnProperty(d)&&(a.resizedImages[d]=b[d]);a.maybeRaiseImageResolution(),setTimeout(function(){a.afterResize()},500),$("#sbi-builder-app").length&&(window.sbiresizeTriggered=!1)};c(e,f)}else if(a.settings.locator){var b="";void 0!==d.attr("data-locatornonce")&&(b=d.attr("data-locatornonce"));var e={action:"sbi_do_locator",feed_id:a.settings.feedID,atts:a.settings.shortCodeAtts,location:a.locationGuess(),post_id:a.settings.postID,locator_nonce:b},f=function(a){};c(e,f)}},loadMoreButtonInit:function(){var a=$(this.el),b=this;a.find("#sbi_load .sbi_load_btn").off().on("click",function(){b.afterLoadMoreClicked(jQuery(this)),b.getNewPostSet()})},getNewPostSet:function(){var b=$(this.el),a=this;a.page++;var d="";void 0!==b.attr("data-locatornonce")&&(d=b.attr("data-locatornonce"));var e={action:"sbi_load_more_clicked",offset:b.find(".sbi_item").length,page:a.page,feed_id:a.settings.feedID,atts:a.settings.shortCodeAtts,location:a.locationGuess(),post_id:a.settings.postID,current_resolution:a.imageResolution,locator_nonce:d};c(e,function(d){var c=d;"object"!=typeof d&&0===d.trim().indexOf("{")&&(c=JSON.parse(d.trim())),a.settings.debugEnabled&&console.log(c),a.appendNewPosts(c.html),a.addResizedImages(c.resizedImages),a.settings.ajaxPostLoad?(a.settings.ajaxPostLoad=!1,a.afterInitialImagesLoaded()):a.afterNewImagesLoaded(),c.feedStatus.shouldPaginate?a.outOfPages=!1:(a.outOfPages=!0,b.find(".sbi_load_btn").hide()),$(".sbi_no_js").removeClass("sbi_no_js")})},appendNewPosts:function(b){var a=$(this.el);a.find("#sbi_images .sbi_item").length?a.find("#sbi_images .sbi_item").last().after(b):a.find("#sbi_images").append(b)},addResizedImages:function(a){for(var b in a)this.resizedImages[b]=a[b]},setImageHeight:function(){var a=$(this.el),c=a.find(".sbi_photo").eq(0).innerWidth(),d=this.getColumnCount(),b=a.find("#sbi_images").innerWidth()-a.find("#sbi_images").width(),e=b/2;sbi_photo_width_manual=a.find("#sbi_images").width()/d-b,a.find(".sbi_photo").css("height",c),a.find(".sbi-owl-nav").length&&setTimeout(function(){var b=2;a.find(".sbi_owl2row-item").length&&(b=1);var c=a.find(".sbi_photo").eq(0).innerWidth()/b;c+=parseInt(e)*(2+(2-b)),a.find(".sbi-owl-nav div").css("top",c)},100)},maybeRaiseSingleImageResolution:function(a,n,f){var c=this,d=c.getImageUrls(a),e=a.find(".sbi_photo img").attr("src"),h=150,i=a.find("img").get(0),j=e===window.sbi.options.placeholder?1:i.naturalWidth/i.naturalHeight,f=void 0!==f&&f;if(!(a.hasClass("sbi_no_resraise")||a.hasClass("sbi_had_error")||a.find(".sbi_link_area").length&&a.find(".sbi_link_area").hasClass("sbi_had_error"))){if(d.length<1){a.find(".sbi_link_area").length&&a.find(".sbi_link_area").attr("href",window.sbi.options.placeholder.replace("placeholder.png","thumb-placeholder.png"));return}(a.find(".sbi_link_area").length&&a.find(".sbi_link_area").attr("href")===window.sbi.options.placeholder.replace("placeholder.png","thumb-placeholder.png")||!c.settings.consentGiven)&&a.find(".sbi_link_area").attr("href",d[d.length-1]),void 0!==d[640]&&a.find(".sbi_photo").attr("data-full-res",d[640]),$.each(d,function(a,b){b===e&&(h=parseInt(a),f=!1)});var b=640;switch(c.settings.imgRes){case"thumb":b=150;break;case"medium":b=320;break;case"full":b=640;break;default:var k=Math.max(c.settings.autoMinRes,a.find(".sbi_photo").innerWidth()),l=c.getBestResolutionForAuto(k,j,a);switch(l){case 320:b=320;break;case 150:b=150}}if(b>h||e===window.sbi.options.placeholder||f){if(c.settings.debugEnabled){var m=e===window.sbi.options.placeholder?"was placeholder":"too small";console.log("rais res for "+e,m)}var g=d[b].split("?ig_cache_key")[0];if(e!==g&&(a.find(".sbi_photo img").attr("src",g),a.find(".sbi_photo").css("background-image",'url("'+g+'")')),h=b,"auto"===c.settings.imgRes){var o=!1;a.find(".sbi_photo img").on("load",function(){var f=$(this),i=f.get(0).naturalWidth/f.get(0).naturalHeight;if(1e3!==f.get(0).naturalWidth&&i>j&&!o){switch(c.settings.debugEnabled&&console.log("rais res again for aspect ratio change "+e),o=!0,k=a.find(".sbi_photo").innerWidth(),l=c.getBestResolutionForAuto(k,i,a),b=640,l){case 320:b=320;break;case 150:b=150}b>h&&(g=d[b].split("?ig_cache_key")[0],f.attr("src",g),f.closest(".sbi_photo").css("background-image",'url("'+g+'")')),("masonry"===c.layout||"highlight"===c.layout)&&($(c.el).find("#sbi_images").smashotope(c.isotopeArgs),setTimeout(function(){$(c.el).find("#sbi_images").smashotope(c.isotopeArgs)},500))}else if(c.settings.debugEnabled){var m=o?"already checked":"no aspect ratio change";console.log("not raising res for replacement "+e,m)}})}}a.find("img").on("error",function(){if($(this).hasClass("sbi_img_error"))console.log("unfixed error "+$(this).attr("src"));else{if($(this).addClass("sbi_img_error"),!($(this).attr("src").indexOf("media/?size=")> -1||$(this).attr("src").indexOf("cdninstagram")> -1||$(this).attr("src").indexOf("fbcdn")> -1)&&c.settings.consentGiven){if("undefined"!==$(this).closest(".sbi_photo").attr("data-img-src-set")){var a=JSON.parse($(this).closest(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/"));void 0!==a.d&&($(this).attr("src",a.d),$(this).closest(".sbi_photo").css("background-image","url("+a.d+")"),$(this).closest(".sbi_item").addClass("sbi_had_error").find(".sbi_link_area").attr("href",a[640]).addClass("sbi_had_error"))}}else{c.settings.favorLocal=!0;var a=c.getImageUrls($(this).closest(".sbi_item"));void 0!==a[640]&&($(this).attr("src",a[640]),$(this).closest(".sbi_photo").css("background-image","url("+a[640]+")"),$(this).closest(".sbi_item").addClass("sbi_had_error").find(".sbi_link_area").attr("href",a[640]).addClass("sbi_had_error"))}setTimeout(function(){c.afterResize()},1500)}})}},maybeRaiseImageResolution:function(b){var a=this,c=!a.isInitialized;$(a.el).find(void 0!==b&& !0===b?".sbi_item.sbi_new":".sbi_item").each(function(b){!$(this).hasClass("sbi_num_diff_hide")&&$(this).find(".sbi_photo").length&& void 0!==$(this).find(".sbi_photo").attr("data-img-src-set")&&a.maybeRaiseSingleImageResolution($(this),b,c)}),a.isInitialized=!0},getBestResolutionForAuto:function(d,a,e){(isNaN(a)||a<1)&&(a=1);var b=10*Math.ceil(d*a/10),c=[150,320,640];if(e.hasClass("sbi_highlighted")&&(b*=2),-1===c.indexOf(parseInt(b))){var f=!1;$.each(c,function(c,a){a>parseInt(b)&&!f&&(b=a,f=!0)})}return b},hideExtraImagesForWidth:function(){if("carousel"!==this.layout){var a=$(this.el),b=void 0!==a.attr("data-num")&&""!==a.attr("data-num")?parseInt(a.attr("data-num")):1,c=void 0!==a.attr("data-nummobile")&&""!==a.attr("data-nummobile")?parseInt(a.attr("data-nummobile")):b;480>$(window).width()||"mobile"===window.sbi_preview_device?c<a.find(".sbi_item").length&&a.find(".sbi_item").slice(c-a.find(".sbi_item").length).addClass("sbi_num_diff_hide"):b<a.find(".sbi_item").length&&a.find(".sbi_item").slice(b-a.find(".sbi_item").length).addClass("sbi_num_diff_hide")}},setImageSizeClass:function(){var a=$(this.el);a.removeClass("sbi_small sbi_medium");var d=a.innerWidth(),e=parseInt(a.find("#sbi_images").outerWidth()-a.find("#sbi_images").width())/2,c=this.getColumnCount(),b=(d-e*(c+2))/c;b>120&&b<240?a.addClass("sbi_medium"):b<=120&&a.addClass("sbi_small")},setMinImageWidth:function(){$(this.el).find(".sbi_item .sbi_photo").first().length?this.minImageWidth=$(this.el).find(".sbi_item .sbi_photo").first().innerWidth():this.minImageWidth=150},setImageResolution:function(){if("auto"===this.settings.imgRes)this.imageResolution="auto";else switch(this.settings.imgRes){case"thumb":this.imageResolution=150;break;case"medium":this.imageResolution=320;break;default:this.imageResolution=640}},getImageUrls:function(d){var c=JSON.parse(d.find(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/")),a=d.attr("id").replace("sbi_","");if(this.settings.consentGiven||this.settings.overrideBlockCDN||(c=[]),void 0!==this.resizedImages[a]&&"video"!==this.resizedImages[a]&&"pending"!==this.resizedImages[a]&&"error"!==this.resizedImages[a].id&&"video"!==this.resizedImages[a].id&&"pending"!==this.resizedImages[a].id){if(void 0!==this.resizedImages[a].sizes){var b=[];void 0!==this.resizedImages[a].sizes.full&&(c[640]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"full.jpg",b.push(640)),void 0!==this.resizedImages[a].sizes.low&&(c[320]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"low.jpg",b.push(320)),void 0!==this.resizedImages[a].sizes.thumb&&(b.push(150),c[150]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"thumb.jpg"),this.settings.favorLocal&&(-1===b.indexOf(640)&&b.indexOf(320)> -1&&(c[640]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"low.jpg"),-1===b.indexOf(320)&&(b.indexOf(640)> -1?c[320]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"full.jpg":b.indexOf(150)> -1&&(c[320]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"thumb.jpg")),-1===b.indexOf(150)&&(b.indexOf(320)> -1?c[150]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"low.jpg":b.indexOf(640)> -1&&(c[150]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"full.jpg")))}}else(void 0===this.resizedImages[a]|| void 0!==this.resizedImages[a].id&&"pending"!==this.resizedImages[a].id&&"error"!==this.resizedImages[a].id)&&this.addToNeedsResizing(a);return c},getAvatarUrl:function(a,c){if(""===a)return"";var b=this.settings.general.avatars,c=void 0!==c?c:"local";return"local"===c?void 0!==b["LCL"+a]&&1===parseInt(b["LCL"+a])?sb_instagram_js_options.resized_url+a+".jpg":void 0!==b[a]?b[a]:"":void 0!==b[a]?b[a]:void 0!==b["LCL"+a]&&1===parseInt(b["LCL"+a])?sb_instagram_js_options.resized_url+a+".jpg":""},addToNeedsResizing:function(a){-1===this.needsResizing.indexOf(a)&&this.needsResizing.push(a)},applyImageLiquid:function(){var b,c,d,a,e=$(this.el);(b=b||{VER:"0.9.944"}).bgs_Available=!1,b.bgs_CheckRunned=!1,function(a){a.fn.extend({sbi_imgLiquid:function(c){this.defaults={fill:!0,verticalAlign:"center",horizontalAlign:"center",useBackgroundSize:!0,useDataHtmlAttr:!0,responsive:!0,delay:0,fadeInTime:0,removeBoxBackground:!0,hardPixels:!0,responsiveCheckTime:500,timecheckvisibility:500,onStart:null,onFinish:null,onItemStart:null,onItemFinish:null,onItemError:null},function(){if(!b.bgs_CheckRunned){b.bgs_CheckRunned=!0;var c=a('<span style="background-size:cover" />');a("body").append(c),function(){var d=c[0];if(d&&window.getComputedStyle){var a=window.getComputedStyle(d,null);a&&a.backgroundSize&&(b.bgs_Available="cover"===a.backgroundSize)}}(),c.remove()}}();var d=this;return this.options=c,this.settings=a.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each(function(g){function h(){function d(){f.data("sbi_imgLiquid_error")||f.data("sbi_imgLiquid_loaded")||f.data("sbi_imgLiquid_oldProcessed")||(e.is(":visible")&&f[0].complete&&f[0].width>0&&f[0].height>0?(f.data("sbi_imgLiquid_loaded",!0),setTimeout(l,g*c.delay)):setTimeout(d,c.timecheckvisibility))}if(f.data("oldSrc")&&f.data("oldSrc")!==f.attr("src")){var b=f.clone().removeAttr("style");return b.data("sbi_imgLiquid_settings",f.data("sbi_imgLiquid_settings")),f.parent().prepend(b),f.remove(),(f=b)[0].width=0,void setTimeout(h,10)}return f.data("sbi_imgLiquid_oldProcessed")?void l():(f.data("sbi_imgLiquid_oldProcessed",!1),f.data("oldSrc",f.attr("src")),a("img:not(:first)",e).css("display","none"),e.css({overflow:"hidden"}),f.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"}),f.on("error",i),f[0].onerror=i,d(),void k())}function k(){(c.responsive||f.data("sbi_imgLiquid_oldProcessed"))&&f.data("sbi_imgLiquid_settings")&&(c=f.data("sbi_imgLiquid_settings"),e.actualSize=e.get(0).offsetWidth+e.get(0).offsetHeight/1e4,e.sizeOld&&e.actualSize!==e.sizeOld&&l(),e.sizeOld=e.actualSize,setTimeout(k,c.responsiveCheckTime))}function i(){f.data("sbi_imgLiquid_error",!0),e.addClass("sbi_imgLiquid_error"),c.onItemError&&c.onItemError(g,e,f),j()}function l(){var i,k,l,m,a,b,n,o,d=0,h=0,p=e.width(),q=e.height();void 0===f.data("owidth")&&f.data("owidth",f[0].width),void 0===f.data("oheight")&&f.data("oheight",f[0].height),c.fill===p/q>=f.data("owidth")/f.data("oheight")?(i="100%",k="auto",l=Math.floor(p),m=Math.floor(p*(f.data("oheight")/f.data("owidth")))):(i="auto",k="100%",l=Math.floor(q*(f.data("owidth")/f.data("oheight"))),m=Math.floor(q)),a=c.horizontalAlign.toLowerCase(),n=p-l,"left"===a&&(h=0),"center"===a&&(h=.5*n),"right"===a&&(h=n),-1!==a.indexOf("%")&&(a=parseInt(a.replace("%",""),10))>0&&(h=n*a*.01),b=c.verticalAlign.toLowerCase(),o=q-m,"left"===b&&(d=0),"center"===b&&(d=.5*o),"bottom"===b&&(d=o),-1!==b.indexOf("%")&&(b=parseInt(b.replace("%",""),10))>0&&(d=o*b*.01),c.hardPixels&&(i=l,k=m),f.css({width:i,height:k,"margin-left":Math.floor(h),"margin-top":Math.floor(d)}),f.data("sbi_imgLiquid_oldProcessed")||(f.fadeTo(c.fadeInTime,1),f.data("sbi_imgLiquid_oldProcessed",!0),c.removeBoxBackground&&e.css("background-image","none"),e.addClass("sbi_imgLiquid_nobgSize"),e.addClass("sbi_imgLiquid_ready")),c.onItemFinish&&c.onItemFinish(g,e,f),j()}function j(){g===d.length-1&&d.settings.onFinish&&d.settings.onFinish()}var c=d.settings,e=a(this),f=a("img:first",e);return f.length?(f.data("sbi_imgLiquid_settings")?(e.removeClass("sbi_imgLiquid_error").removeClass("sbi_imgLiquid_ready"),c=a.extend({},f.data("sbi_imgLiquid_settings"),d.options)):c=a.extend({},d.settings,function(){var f={};if(d.settings.useDataHtmlAttr){var g=e.attr("data-sbi_imgLiquid-fill"),a=e.attr("data-sbi_imgLiquid-horizontalAlign"),c=e.attr("data-sbi_imgLiquid-verticalAlign");("true"===g||"false"===g)&&(f.fill=Boolean("true"===g)),void 0===a||"left"!==a&&"center"!==a&&"right"!==a&& -1===a.indexOf("%")||(f.horizontalAlign=a),void 0===c||"top"!==c&&"bottom"!==c&&"center"!==c&& -1===c.indexOf("%")||(f.verticalAlign=c)}return b.isIE&&d.settings.ieFadeInDisabled&&(f.fadeInTime=0),f}()),f.data("sbi_imgLiquid_settings",c),c.onItemStart&&c.onItemStart(g,e,f),void(b.bgs_Available&&c.useBackgroundSize?(-1===e.css("background-image").indexOf(encodeURI(f.attr("src")))&&e.css({"background-image":'url("'+encodeURI(f.attr("src"))+'")'}),e.css({"background-size":c.fill?"cover":"contain","background-position":(c.horizontalAlign+" "+c.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),a("a:first",e).css({display:"block",width:"100%",height:"100%"}),a("img",e).css({display:"none"}),c.onItemFinish&&c.onItemFinish(g,e,f),e.addClass("sbi_imgLiquid_bgSize"),e.addClass("sbi_imgLiquid_ready"),j()):h())):void i()})}})}(jQuery),c=b.injectCss,d=document.getElementsByTagName("head")[0],a=document.createElement("style"),a.type="text/css",a.styleSheet?a.styleSheet.cssText=c:a.appendChild(document.createTextNode(c)),d.appendChild(a),"function"==typeof e.find(".sbi_photo").sbi_imgLiquid&&e.find(".sbi_photo").sbi_imgLiquid({fill:!0})},listenForVisibilityChange:function(){var a,b,c,d=this;a=jQuery,b={callback:function(){},runOnLoad:!0,frequency:100,sbiPreviousVisibility:null},(c={}).sbiCheckVisibility=function(b,a){if(jQuery.contains(document,b[0])){var e=a.sbiPreviousVisibility,d=b.is(":visible");a.sbiPreviousVisibility=d,null==e?a.runOnLoad&&a.callback(b,d):e!==d&&a.callback(b,d),setTimeout(function(){c.sbiCheckVisibility(b,a)},a.frequency)}},a.fn.sbiVisibilityChanged=function(d){var e=a.extend({},b,d);return this.each(function(){c.sbiCheckVisibility(a(this),e)})},"function"==typeof $(this.el).filter(":hidden").sbiVisibilityChanged&&$(this.el).filter(":hidden").sbiVisibilityChanged({callback:function(a,b){d.afterResize()},runOnLoad:!1})},getColumnCount:function(){var c=$(this.el),a=this.settings.cols,d=this.settings.colsmobile,e=this.settings.colstablet,b=a;return sbiWindowWidth=window.innerWidth,c.hasClass("sbi_mob_col_auto")?(sbiWindowWidth<640&&parseInt(a)>2&&7>parseInt(a)&&(b=2),sbiWindowWidth<640&&parseInt(a)>6&&11>parseInt(a)&&(b=4),sbiWindowWidth<=480&&parseInt(a)>2&&(b=1)):sbiWindowWidth>480&&sbiWindowWidth<=800?b=e:sbiWindowWidth<=480&&(b=d),parseInt(b)},checkConsent:function(){if(this.settings.consentGiven||!this.settings.gdpr)return!0;if("undefined"!=typeof CLI_Cookie)null!==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&&(null!==CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")),null!==CLI_Cookie.read("cookielawinfo-checkbox-necessary")&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-necessary")));else if(void 0!==window.cnArgs){var a=("; "+document.cookie).split("; cookie_notice_accepted=");if(2===a.length){var c=a.pop().split(";").shift();this.settings.consentGiven="true"===c}}else void 0!==window.cookieconsent?this.settings.consentGiven="allow"===function(e){for(var c=e+"=",d=window.document.cookie.split(";"),a=0;a<d.length;a++){var b=d[a].trim();if(0==b.indexOf(c))return b.substring(c.length,b.length)}return""}("complianz_consent_status"):void 0!==window.Cookiebot?this.settings.consentGiven=Cookiebot.consented:void 0!==window.BorlabsCookie&&(this.settings.consentGiven=window.BorlabsCookie.checkCookieConsent("instagram"));var b=jQuery.Event("sbicheckconsent");return b.feed=this,jQuery(window).trigger(b),this.settings.consentGiven},afterConsentToggled:function(){if(this.checkConsent()){var a=this;a.maybeRaiseImageResolution(),setTimeout(function(){a.afterResize()},500)}},locationGuess:function(){var a=$(this.el),b="content";return a.closest("footer").length?b="footer":a.closest(".header").length||a.closest("header").length?b="header":(a.closest(".sidebar").length||a.closest("aside").length)&&(b="sidebar"),b}},window.sbi_init=function(){window.sbi=new a,window.sbi.createPage(window.sbi.createFeeds,{whenFeedsCreated:window.sbi.afterFeedsCreated})}}(jQuery),jQuery(document).ready(function($){void 0===window.sb_instagram_js_options&&(window.sb_instagram_js_options={font_method:"svg",resized_url:location.protocol+"//"+window.location.hostname+"/wp-content/uploads/sb-instagram-feed-images/",placeholder:location.protocol+"//"+window.location.hostname+"/wp-content/plugins/instagram-feed/img/placeholder.png"}),void 0!==window.sb_instagram_js_options.resized_url&& -1===window.sb_instagram_js_options.resized_url.indexOf(location.protocol)&&("http:"===location.protocol?window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("https:","http:"):window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("http:","https:")),sbi_init(),$("#cookie-notice a").on("click",function(){setTimeout(function(){$.each(window.sbi.feeds,function(a){window.sbi.feeds[a].afterConsentToggled()})},1e3)}),$("#cookie-law-info-bar a").on("click",function(){setTimeout(function(){$.each(window.sbi.feeds,function(a){window.sbi.feeds[a].afterConsentToggled()})},1e3)}),$(".cli-user-preference-checkbox").on("click",function(){setTimeout(function(){$.each(window.sbi.feeds,function(a){window.sbi.feeds[a].settings.consentGiven=!1,window.sbi.feeds[a].afterConsentToggled()})},1e3)}),$(window).on("CookiebotOnAccept",function(a){$.each(window.sbi.feeds,function(a){window.sbi.feeds[a].settings.consentGiven=!0,window.sbi.feeds[a].afterConsentToggled()})}),$(document).on("cmplzAcceptAll",function(a){$.each(window.sbi.feeds,function(a){window.sbi.feeds[a].settings.consentGiven=!0,window.sbi.feeds[a].afterConsentToggled()})}),$(document).on("cmplzRevoke",function(a){$.each(window.sbi.feeds,function(a){window.sbi.feeds[a].settings.consentGiven=!1,window.sbi.feeds[a].afterConsentToggled()})}),$(document).on("borlabs-cookie-consent-saved",function(a){$.each(window.sbi.feeds,function(a){window.sbi.feeds[a].settings.consentGiven=!1,window.sbi.feeds[a].afterConsentToggled()})})}))
js/sbi-scripts.js CHANGED
@@ -826,7 +826,7 @@ if(!sbi_js_exists) {
826
  num = typeof $self.attr('data-num') !== 'undefined' && $self.attr('data-num') !== '' ? parseInt($self.attr('data-num')) : 1,
827
  nummobile = typeof $self.attr('data-nummobile') !== 'undefined' && $self.attr('data-nummobile') !== '' ? parseInt($self.attr('data-nummobile')) : num;
828
 
829
- if ($(window).width() < 480) {
830
  if (nummobile < $self.find('.sbi_item').length) {
831
  $self.find('.sbi_item').slice(nummobile - $self.find('.sbi_item').length).addClass('sbi_num_diff_hide');
832
  }
826
  num = typeof $self.attr('data-num') !== 'undefined' && $self.attr('data-num') !== '' ? parseInt($self.attr('data-num')) : 1,
827
  nummobile = typeof $self.attr('data-nummobile') !== 'undefined' && $self.attr('data-nummobile') !== '' ? parseInt($self.attr('data-nummobile')) : num;
828
 
829
+ if ($(window).width() < 480 || window.sbi_preview_device === 'mobile') {
830
  if (nummobile < $self.find('.sbi_item').length) {
831
  $self.find('.sbi_item').slice(nummobile - $self.find('.sbi_item').length).addClass('sbi_num_diff_hide');
832
  }
js/sbi-scripts.min.js CHANGED
@@ -1 +1 @@
1
- var sbi_js_exists=void 0!==sbi_js_exists;sbi_js_exists||(!function(i){function e(){var i,e,t,s=s||{VER:"0.9.944"};s.bgs_Available=!1,s.bgs_CheckRunned=!1,function(i){i.fn.extend({sbi_imgLiquid:function(e){this.defaults={fill:!0,verticalAlign:"center",horizontalAlign:"center",useBackgroundSize:!0,useDataHtmlAttr:!0,responsive:!0,delay:0,fadeInTime:0,removeBoxBackground:!0,hardPixels:!0,responsiveCheckTime:500,timecheckvisibility:500,onStart:null,onFinish:null,onItemStart:null,onItemFinish:null,onItemError:null},function(){if(!s.bgs_CheckRunned){s.bgs_CheckRunned=!0;var e=i('<span style="background-size:cover" />');i("body").append(e),function(){var i=e[0];if(i&&window.getComputedStyle){var t=window.getComputedStyle(i,null);t&&t.backgroundSize&&(s.bgs_Available="cover"===t.backgroundSize)}}(),e.remove()}}();var t=this;return this.options=e,this.settings=i.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each(function(e){function n(){(r.responsive||c.data("sbi_imgLiquid_oldProcessed"))&&c.data("sbi_imgLiquid_settings")&&(r=c.data("sbi_imgLiquid_settings"),l.actualSize=l.get(0).offsetWidth+l.get(0).offsetHeight/1e4,l.sizeOld&&l.actualSize!==l.sizeOld&&o(),l.sizeOld=l.actualSize,setTimeout(n,r.responsiveCheckTime))}function a(){c.data("sbi_imgLiquid_error",!0),l.addClass("sbi_imgLiquid_error"),r.onItemError&&r.onItemError(e,l,c),d()}function o(){var i,t,s,n,a,o,g,h,f=0,u=0,b=l.width(),_=l.height();void 0===c.data("owidth")&&c.data("owidth",c[0].width),void 0===c.data("oheight")&&c.data("oheight",c[0].height),r.fill===b/_>=c.data("owidth")/c.data("oheight")?(i="100%",t="auto",s=Math.floor(b),n=Math.floor(b*(c.data("oheight")/c.data("owidth")))):(i="auto",t="100%",s=Math.floor(_*(c.data("owidth")/c.data("oheight"))),n=Math.floor(_)),g=b-s,"left"===(a=r.horizontalAlign.toLowerCase())&&(u=0),"center"===a&&(u=.5*g),"right"===a&&(u=g),-1!==a.indexOf("%")&&((a=parseInt(a.replace("%",""),10))>0&&(u=g*a*.01)),h=_-n,"left"===(o=r.verticalAlign.toLowerCase())&&(f=0),"center"===o&&(f=.5*h),"bottom"===o&&(f=h),-1!==o.indexOf("%")&&((o=parseInt(o.replace("%",""),10))>0&&(f=h*o*.01)),r.hardPixels&&(i=s,t=n),c.css({width:i,height:t,"margin-left":Math.floor(u),"margin-top":Math.floor(f)}),c.data("sbi_imgLiquid_oldProcessed")||(c.fadeTo(r.fadeInTime,1),c.data("sbi_imgLiquid_oldProcessed",!0),r.removeBoxBackground&&l.css("background-image","none"),l.addClass("sbi_imgLiquid_nobgSize"),l.addClass("sbi_imgLiquid_ready")),r.onItemFinish&&r.onItemFinish(e,l,c),d()}function d(){e===t.length-1&&t.settings.onFinish&&t.settings.onFinish()}var r=t.settings,l=i(this),c=i("img:first",l);return c.length?(c.data("sbi_imgLiquid_settings")?(l.removeClass("sbi_imgLiquid_error").removeClass("sbi_imgLiquid_ready"),r=i.extend({},c.data("sbi_imgLiquid_settings"),t.options)):r=i.extend({},t.settings,function(){var i={};if(t.settings.useDataHtmlAttr){var e=l.attr("data-sbi_imgLiquid-fill"),n=l.attr("data-sbi_imgLiquid-horizontalAlign"),a=l.attr("data-sbi_imgLiquid-verticalAlign");("true"===e||"false"===e)&&(i.fill=Boolean("true"===e)),void 0===n||"left"!==n&&"center"!==n&&"right"!==n&&-1===n.indexOf("%")||(i.horizontalAlign=n),void 0===a||"top"!==a&&"bottom"!==a&&"center"!==a&&-1===a.indexOf("%")||(i.verticalAlign=a)}return s.isIE&&t.settings.ieFadeInDisabled&&(i.fadeInTime=0),i}()),c.data("sbi_imgLiquid_settings",r),r.onItemStart&&r.onItemStart(e,l,c),void(s.bgs_Available&&r.useBackgroundSize?(-1===l.css("background-image").indexOf(encodeURI(c.attr("src")))&&l.css({"background-image":'url("'+encodeURI(c.attr("src"))+'")'}),l.css({"background-size":r.fill?"cover":"contain","background-position":(r.horizontalAlign+" "+r.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),i("a:first",l).css({display:"block",width:"100%",height:"100%"}),i("img",l).css({display:"none"}),r.onItemFinish&&r.onItemFinish(e,l,c),l.addClass("sbi_imgLiquid_bgSize"),l.addClass("sbi_imgLiquid_ready"),d()):function t(){if(c.data("oldSrc")&&c.data("oldSrc")!==c.attr("src")){var s=c.clone().removeAttr("style");return s.data("sbi_imgLiquid_settings",c.data("sbi_imgLiquid_settings")),c.parent().prepend(s),c.remove(),(c=s)[0].width=0,void setTimeout(t,10)}return c.data("sbi_imgLiquid_oldProcessed")?void o():(c.data("sbi_imgLiquid_oldProcessed",!1),c.data("oldSrc",c.attr("src")),i("img:not(:first)",l).css("display","none"),l.css({overflow:"hidden"}),c.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"}),c.on("error",a),c[0].onerror=a,function i(){c.data("sbi_imgLiquid_error")||c.data("sbi_imgLiquid_loaded")||c.data("sbi_imgLiquid_oldProcessed")||(l.is(":visible")&&c[0].complete&&c[0].width>0&&c[0].height>0?(c.data("sbi_imgLiquid_loaded",!0),setTimeout(o,e*r.delay)):setTimeout(i,r.timecheckvisibility))}(),void n())}())):void a()})}})}(jQuery),i=s.injectCss,e=document.getElementsByTagName("head")[0],(t=document.createElement("style")).type="text/css",t.styleSheet?t.styleSheet.cssText=i:t.appendChild(document.createTextNode(i)),e.appendChild(t)}function t(){this.feeds={},this.options=sb_instagram_js_options}function s(i,e,t){this.el=i,this.index=e,this.settings=t,this.minImageWidth=0,this.imageResolution=150,this.resizedImages={},this.needsResizing=[],this.outOfPages=!1,this.page=1,this.isInitialized=!1}function n(e,t){i.ajax({url:sbiajaxurl,type:"post",data:e,success:t})}t.prototype={createPage:function(e,t){void 0!==sb_instagram_js_options.ajax_url&&void 0===window.sbiajaxurl&&(window.sbiajaxurl=sb_instagram_js_options.ajax_url),void 0!==window.sbiajaxurl&&-1!==window.sbiajaxurl.indexOf(window.location.hostname)||(window.sbiajaxurl=location.protocol+"//"+window.location.hostname+"/wp-admin/admin-ajax.php"),i("#sbi-builder-app").length&&void 0===window.sbiresizedImages&&i(".sbi_resized_image_data").length&&void 0!==i(".sbi_resized_image_data").attr("data-resized")&&0===i(".sbi_resized_image_data").attr("data-resized").indexOf('{"')&&(window.sbiresizedImages=JSON.parse(i(".sbi_resized_image_data").attr("data-resized")),i(".sbi_resized_image_data").remove()),i(".sbi_no_js_error_message").remove(),i(".sbi_no_js").removeClass("sbi_no_js"),e(t)},createFeeds:function(e){e.whenFeedsCreated(i(".sbi").each(function(e){i(this).attr("data-sbi-index",e+1);var t=i(this),a=void 0!==t.attr("data-sbi-flags")?t.attr("data-sbi-flags").split(","):[],o=void 0!==t.attr("data-options")?JSON.parse(t.attr("data-options")):{};if(a.indexOf("testAjax")>-1){window.sbi.triggeredTest=!0;n({action:"sbi_on_ajax_test_trigger"},function(i){console.log("did test")})}var d={cols:t.attr("data-cols"),colsmobile:void 0!==t.attr("data-colsmobile")&&"same"!==t.attr("data-colsmobile")?t.attr("data-colsmobile"):t.attr("data-cols"),colstablet:void 0!==t.attr("data-colstablet")&&"same"!==t.attr("data-colstablet")?t.attr("data-colstablet"):t.attr("data-cols"),num:t.attr("data-num"),imgRes:t.attr("data-res"),feedID:t.attr("data-feedid"),postID:"undefind"!=typeof t.attr("data-postid")?t.attr("data-postid"):"unknown",shortCodeAtts:t.attr("data-shortcode-atts"),resizingEnabled:-1===a.indexOf("resizeDisable"),imageLoadEnabled:-1===a.indexOf("imageLoadDisable"),debugEnabled:a.indexOf("debug")>-1,favorLocal:a.indexOf("favorLocal")>-1,ajaxPostLoad:a.indexOf("ajaxPostLoad")>-1,gdpr:a.indexOf("gdpr")>-1,overrideBlockCDN:a.indexOf("overrideBlockCDN")>-1,consentGiven:!1,locator:a.indexOf("locator")>-1,autoMinRes:1,general:o};window.sbi.feeds[e]=function(i,e,t){return new s(i,e,t)}(this,e,d),window.sbi.feeds[e].setResizedImages(),window.sbi.feeds[e].init();var r=jQuery.Event("sbiafterfeedcreate");r.feed=window.sbi.feeds[e],jQuery(window).trigger(r)}))},afterFeedsCreated:function(){i(".sb_instagram_header").each(function(){var e=i(this);e.find(".sbi_header_link").on("mouseenter mouseleave",function(i){switch(i.type){case"mouseenter":e.find(".sbi_header_img_hover").addClass("sbi_fade_in");break;case"mouseleave":e.find(".sbi_header_img_hover").removeClass("sbi_fade_in")}})})},encodeHTML:function(i){return void 0===i?"":i.replace(/(>)/g,"&gt;").replace(/(<)/g,"&lt;").replace(/(&lt;br\/&gt;)/g,"<br>").replace(/(&lt;br&gt;)/g,"<br>")},urlDetect:function(i){return i.match(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)}},s.prototype={init:function(){var e=this;e.settings.consentGiven=e.checkConsent(),i(this.el).find(".sbi_photo").parent("p").length&&i(this.el).addClass("sbi_no_autop"),i(this.el).find("#sbi_mod_error").length&&i(this.el).prepend(i(this.el).find("#sbi_mod_error")),this.settings.ajaxPostLoad?this.getNewPostSet():this.afterInitialImagesLoaded();var t,s=(t=0,function(i,e){clearTimeout(t),t=setTimeout(i,e)});jQuery(window).on("resize",function(){s(function(){e.afterResize()},500)}),i(this.el).find(".sbi_item").each(function(){e.lazyLoadCheck(i(this))})},initLayout:function(){},afterInitialImagesLoaded:function(){this.initLayout(),this.loadMoreButtonInit(),this.hideExtraImagesForWidth(),this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed()},afterResize:function(){this.setImageHeight(),this.setImageResolution(),this.maybeRaiseImageResolution(),this.setImageSizeClass()},afterLoadMoreClicked:function(i){i.find(".sbi_loader").removeClass("sbi_hidden"),i.find(".sbi_btn_text").addClass("sbi_hidden"),i.closest(".sbi").find(".sbi_num_diff_hide").addClass("sbi_transition").removeClass("sbi_num_diff_hide")},afterNewImagesLoaded:function(){var e=i(this.el),t=this;this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed(),setTimeout(function(){e.find(".sbi_loader").addClass("sbi_hidden"),e.find(".sbi_btn_text").removeClass("sbi_hidden"),t.maybeRaiseImageResolution()},500)},beforeNewImagesRevealed:function(){this.setImageHeight(),this.maybeRaiseImageResolution(!0),this.setImageSizeClass()},revealNewImages:function(){var e=i(this.el);e.find(".sbi-screenreader").each(function(){i(this).find("img").remove()}),"function"==typeof sbi_custom_js&&setTimeout(function(){sbi_custom_js()},100),this.applyImageLiquid(),e.find(".sbi_item").each(function(i){jQuery(this).find(".sbi_photo").on("mouseenter mouseleave",function(i){switch(i.type){case"mouseenter":jQuery(this).fadeTo(200,.85);break;case"mouseleave":jQuery(this).stop().fadeTo(500,1)}})}),setTimeout(function(){jQuery("#sbi_images .sbi_item.sbi_new").removeClass("sbi_new");var i=10;e.find(".sbi_transition").each(function(){var e=jQuery(this);setTimeout(function(){e.removeClass("sbi_transition")},i),i+=10})},500)},lazyLoadCheck:function(e){if(e.find(".sbi_photo").length&&!e.closest(".sbi").hasClass("sbi-no-ll-check")){var t=this.getImageUrls(e),s=void 0!==t[640]?t[640]:e.find(".sbi_photo").attr("data-full-res");if(!this.settings.consentGiven&&s.indexOf("scontent")>-1)return;e.find(".sbi_photo img").each(function(){s&&void 0!==i(this).attr("data-src")&&i(this).attr("data-src",s),s&&void 0!==i(this).attr("data-orig-src")&&i(this).attr("data-orig-src",s),i(this).on("load",function(){!i(this).hasClass("sbi-replaced")&&i(this).attr("src").indexOf("placeholder")>-1&&(i(this).addClass("sbi-replaced"),s&&(i(this).attr("src",s),i(this).closest(".sbi_imgLiquid_bgSize").length&&i(this).closest(".sbi_imgLiquid_bgSize").css("background-image","url("+s+")")))})})}},afterNewImagesRevealed:function(){this.listenForVisibilityChange(),this.sendNeedsResizingToServer(),this.settings.imageLoadEnabled||i(".sbi_no_resraise").removeClass("sbi_no_resraise");var e=i.Event("sbiafterimagesloaded");e.el=i(this.el),i(window).trigger(e)},setResizedImages:function(){i(this.el).find(".sbi_resized_image_data").length&&void 0!==i(this.el).find(".sbi_resized_image_data").attr("data-resized")&&0===i(this.el).find(".sbi_resized_image_data").attr("data-resized").indexOf('{"')?(this.resizedImages=JSON.parse(i(this.el).find(".sbi_resized_image_data").attr("data-resized")),i(this.el).find(".sbi_resized_image_data").remove()):void 0!==window.sbiresizedImages&&(this.resizedImages=window.sbiresizedImages)},sendNeedsResizingToServer:function(){var e=this,t=i(this.el);if(e.needsResizing.length>0&&e.settings.resizingEnabled){var s=i(this.el).find(".sbi_item").length,a=void 0!==e.settings.general.cache_all&&e.settings.general.cache_all,o="";if(void 0!==t.attr("data-locatornonce")&&(o=t.attr("data-locatornonce")),i("#sbi-builder-app").length){if(void 0!==window.sbiresizeTriggered&&window.sbiresizeTriggered)return;window.sbiresizeTriggered=!0}n({action:"sbi_resized_images_submit",needs_resizing:e.needsResizing,offset:s,feed_id:e.settings.feedID,atts:e.settings.shortCodeAtts,location:e.locationGuess(),post_id:e.settings.postID,cache_all:a,locator_nonce:o},function(t){var s=t;for(var n in"object"!=typeof t&&0===t.trim().indexOf("{")&&(s=JSON.parse(t.trim())),e.settings.debugEnabled&&console.log(s),s)s.hasOwnProperty(n)&&(e.resizedImages[n]=s[n]);e.maybeRaiseImageResolution(),setTimeout(function(){e.afterResize()},500),i("#sbi-builder-app").length&&(window.sbiresizeTriggered=!1)})}else if(e.settings.locator){o="";void 0!==t.attr("data-locatornonce")&&(o=t.attr("data-locatornonce")),n({action:"sbi_do_locator",feed_id:e.settings.feedID,atts:e.settings.shortCodeAtts,location:e.locationGuess(),post_id:e.settings.postID,locator_nonce:o},function(i){})}},loadMoreButtonInit:function(){var e=i(this.el),t=this;e.find("#sbi_load .sbi_load_btn").off().on("click",function(){t.afterLoadMoreClicked(jQuery(this)),t.getNewPostSet()})},getNewPostSet:function(){var e=i(this.el),t=this;t.page++;var s="";void 0!==e.attr("data-locatornonce")&&(s=e.attr("data-locatornonce"));n({action:"sbi_load_more_clicked",offset:e.find(".sbi_item").length,page:t.page,feed_id:t.settings.feedID,atts:t.settings.shortCodeAtts,location:t.locationGuess(),post_id:t.settings.postID,current_resolution:t.imageResolution,locator_nonce:s},function(s){var n=s;"object"!=typeof s&&0===s.trim().indexOf("{")&&(n=JSON.parse(s.trim())),t.settings.debugEnabled&&console.log(n),t.appendNewPosts(n.html),t.addResizedImages(n.resizedImages),t.settings.ajaxPostLoad?(t.settings.ajaxPostLoad=!1,t.afterInitialImagesLoaded()):t.afterNewImagesLoaded(),n.feedStatus.shouldPaginate?t.outOfPages=!1:(t.outOfPages=!0,e.find(".sbi_load_btn").hide()),i(".sbi_no_js").removeClass("sbi_no_js")})},appendNewPosts:function(e){var t=i(this.el);t.find("#sbi_images .sbi_item").length?t.find("#sbi_images .sbi_item").last().after(e):t.find("#sbi_images").append(e)},addResizedImages:function(i){for(var e in i)this.resizedImages[e]=i[e]},setImageHeight:function(){var e=i(this.el),t=e.find(".sbi_photo").eq(0).innerWidth(),s=this.getColumnCount(),n=e.find("#sbi_images").innerWidth()-e.find("#sbi_images").width(),a=n/2;sbi_photo_width_manual=e.find("#sbi_images").width()/s-n,e.find(".sbi_photo").css("height",t),e.find(".sbi-owl-nav").length&&setTimeout(function(){var i=2;e.find(".sbi_owl2row-item").length&&(i=1);var t=e.find(".sbi_photo").eq(0).innerWidth()/i;t+=parseInt(a)*(2-i+2),e.find(".sbi-owl-nav div").css("top",t)},100)},maybeRaiseSingleImageResolution:function(e,t,s){var n=this,a=n.getImageUrls(e),o=e.find(".sbi_photo img").attr("src"),d=150,r=e.find("img").get(0),l=o===window.sbi.options.placeholder?1:r.naturalWidth/r.naturalHeight;s=void 0!==s&&s;if(!(e.hasClass("sbi_no_resraise")||e.hasClass("sbi_had_error")||e.find(".sbi_link_area").length&&e.find(".sbi_link_area").hasClass("sbi_had_error")))if(a.length<1)e.find(".sbi_link_area").length&&e.find(".sbi_link_area").attr("href",window.sbi.options.placeholder.replace("placeholder.png","thumb-placeholder.png"));else{(e.find(".sbi_link_area").length&&e.find(".sbi_link_area").attr("href")===window.sbi.options.placeholder.replace("placeholder.png","thumb-placeholder.png")||!n.settings.consentGiven)&&e.find(".sbi_link_area").attr("href",a[a.length-1]),void 0!==a[640]&&e.find(".sbi_photo").attr("data-full-res",a[640]),i.each(a,function(i,e){e===o&&(d=parseInt(i),s=!1)});var c=640;switch(n.settings.imgRes){case"thumb":c=150;break;case"medium":c=320;break;case"full":c=640;break;default:var g=Math.max(n.settings.autoMinRes,e.find(".sbi_photo").innerWidth()),h=n.getBestResolutionForAuto(g,l,e);switch(h){case 320:c=320;break;case 150:c=150}}if(c>d||o===window.sbi.options.placeholder||s){if(n.settings.debugEnabled){var f=o===window.sbi.options.placeholder?"was placeholder":"too small";console.log("rais res for "+o,f)}var u=a[c].split("?ig_cache_key")[0];if(o!==u&&(e.find(".sbi_photo img").attr("src",u),e.find(".sbi_photo").css("background-image",'url("'+u+'")')),d=c,"auto"===n.settings.imgRes){var b=!1;e.find(".sbi_photo img").on("load",function(){var t=i(this),s=t.get(0).naturalWidth/t.get(0).naturalHeight;if(1e3!==t.get(0).naturalWidth&&s>l&&!b){switch(n.settings.debugEnabled&&console.log("rais res again for aspect ratio change "+o),b=!0,g=e.find(".sbi_photo").innerWidth(),h=n.getBestResolutionForAuto(g,s,e),c=640,h){case 320:c=320;break;case 150:c=150}c>d&&(u=a[c].split("?ig_cache_key")[0],t.attr("src",u),t.closest(".sbi_photo").css("background-image",'url("'+u+'")')),"masonry"!==n.layout&&"highlight"!==n.layout||(i(n.el).find("#sbi_images").smashotope(n.isotopeArgs),setTimeout(function(){i(n.el).find("#sbi_images").smashotope(n.isotopeArgs)},500))}else if(n.settings.debugEnabled){var r=b?"already checked":"no aspect ratio change";console.log("not raising res for replacement "+o,r)}})}}e.find("img").on("error",function(){if(i(this).hasClass("sbi_img_error"))console.log("unfixed error "+i(this).attr("src"));else{var e;if(i(this).addClass("sbi_img_error"),!(i(this).attr("src").indexOf("media/?size=")>-1||i(this).attr("src").indexOf("cdninstagram")>-1||i(this).attr("src").indexOf("fbcdn")>-1)&&n.settings.consentGiven){if("undefined"!==i(this).closest(".sbi_photo").attr("data-img-src-set"))void 0!==(e=JSON.parse(i(this).closest(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/"))).d&&(i(this).attr("src",e.d),i(this).closest(".sbi_photo").css("background-image","url("+e.d+")"),i(this).closest(".sbi_item").addClass("sbi_had_error").find(".sbi_link_area").attr("href",e[640]).addClass("sbi_had_error"))}else n.settings.favorLocal=!0,void 0!==(e=n.getImageUrls(i(this).closest(".sbi_item")))[640]&&(i(this).attr("src",e[640]),i(this).closest(".sbi_photo").css("background-image","url("+e[640]+")"),i(this).closest(".sbi_item").addClass("sbi_had_error").find(".sbi_link_area").attr("href",e[640]).addClass("sbi_had_error"));setTimeout(function(){n.afterResize()},1500)}})}},maybeRaiseImageResolution:function(e){var t=this,s=void 0!==e&&!0===e?".sbi_item.sbi_new":".sbi_item",n=!t.isInitialized;i(t.el).find(s).each(function(e){!i(this).hasClass("sbi_num_diff_hide")&&i(this).find(".sbi_photo").length&&void 0!==i(this).find(".sbi_photo").attr("data-img-src-set")&&t.maybeRaiseSingleImageResolution(i(this),e,n)}),t.isInitialized=!0},getBestResolutionForAuto:function(e,t,s){(isNaN(t)||t<1)&&(t=1);var n=e*t,a=10*Math.ceil(n/10),o=[150,320,640];if(s.hasClass("sbi_highlighted")&&(a*=2),-1===o.indexOf(parseInt(a))){var d=!1;i.each(o,function(i,e){e>parseInt(a)&&!d&&(a=e,d=!0)})}return a},hideExtraImagesForWidth:function(){if("carousel"!==this.layout){var e=i(this.el),t=void 0!==e.attr("data-num")&&""!==e.attr("data-num")?parseInt(e.attr("data-num")):1,s=void 0!==e.attr("data-nummobile")&&""!==e.attr("data-nummobile")?parseInt(e.attr("data-nummobile")):t;i(window).width()<480?s<e.find(".sbi_item").length&&e.find(".sbi_item").slice(s-e.find(".sbi_item").length).addClass("sbi_num_diff_hide"):t<e.find(".sbi_item").length&&e.find(".sbi_item").slice(t-e.find(".sbi_item").length).addClass("sbi_num_diff_hide")}},setImageSizeClass:function(){var e=i(this.el);e.removeClass("sbi_small sbi_medium");var t=e.innerWidth(),s=parseInt(e.find("#sbi_images").outerWidth()-e.find("#sbi_images").width())/2,n=this.getColumnCount(),a=(t-s*(n+2))/n;a>120&&a<240?e.addClass("sbi_medium"):a<=120&&e.addClass("sbi_small")},setMinImageWidth:function(){i(this.el).find(".sbi_item .sbi_photo").first().length?this.minImageWidth=i(this.el).find(".sbi_item .sbi_photo").first().innerWidth():this.minImageWidth=150},setImageResolution:function(){if("auto"===this.settings.imgRes)this.imageResolution="auto";else switch(this.settings.imgRes){case"thumb":this.imageResolution=150;break;case"medium":this.imageResolution=320;break;default:this.imageResolution=640}},getImageUrls:function(i){var e=JSON.parse(i.find(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/")),t=i.attr("id").replace("sbi_","");if(this.settings.consentGiven||this.settings.overrideBlockCDN||(e=[]),void 0!==this.resizedImages[t]&&"video"!==this.resizedImages[t]&&"pending"!==this.resizedImages[t]&&"error"!==this.resizedImages[t].id&&"video"!==this.resizedImages[t].id&&"pending"!==this.resizedImages[t].id){if(void 0!==this.resizedImages[t].sizes){var s=[];void 0!==this.resizedImages[t].sizes.full&&(e[640]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"full.jpg",s.push(640)),void 0!==this.resizedImages[t].sizes.low&&(e[320]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"low.jpg",s.push(320)),void 0!==this.resizedImages[t].sizes.thumb&&(s.push(150),e[150]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"thumb.jpg"),this.settings.favorLocal&&(-1===s.indexOf(640)&&s.indexOf(320)>-1&&(e[640]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"low.jpg"),-1===s.indexOf(320)&&(s.indexOf(640)>-1?e[320]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"full.jpg":s.indexOf(150)>-1&&(e[320]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"thumb.jpg")),-1===s.indexOf(150)&&(s.indexOf(320)>-1?e[150]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"low.jpg":s.indexOf(640)>-1&&(e[150]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"full.jpg")))}}else(void 0===this.resizedImages[t]||void 0!==this.resizedImages[t].id&&"pending"!==this.resizedImages[t].id&&"error"!==this.resizedImages[t].id)&&this.addToNeedsResizing(t);return e},getAvatarUrl:function(i,e){if(""===i)return"";var t=this.settings.general.avatars;return"local"===(e=void 0!==e?e:"local")?void 0!==t["LCL"+i]&&1===parseInt(t["LCL"+i])?sb_instagram_js_options.resized_url+i+".jpg":void 0!==t[i]?t[i]:"":void 0!==t[i]?t[i]:void 0!==t["LCL"+i]&&1===parseInt(t["LCL"+i])?sb_instagram_js_options.resized_url+i+".jpg":""},addToNeedsResizing:function(i){-1===this.needsResizing.indexOf(i)&&this.needsResizing.push(i)},applyImageLiquid:function(){var t=i(this.el);e(),"function"==typeof t.find(".sbi_photo").sbi_imgLiquid&&t.find(".sbi_photo").sbi_imgLiquid({fill:!0})},listenForVisibilityChange:function(){var e,t,s,n=this;e=jQuery,t={callback:function(){},runOnLoad:!0,frequency:100,sbiPreviousVisibility:null},s={sbiCheckVisibility:function(i,e){if(jQuery.contains(document,i[0])){var t=e.sbiPreviousVisibility,n=i.is(":visible");e.sbiPreviousVisibility=n,null==t?e.runOnLoad&&e.callback(i,n):t!==n&&e.callback(i,n),setTimeout(function(){s.sbiCheckVisibility(i,e)},e.frequency)}}},e.fn.sbiVisibilityChanged=function(i){var n=e.extend({},t,i);return this.each(function(){s.sbiCheckVisibility(e(this),n)})},"function"==typeof i(this.el).filter(":hidden").sbiVisibilityChanged&&i(this.el).filter(":hidden").sbiVisibilityChanged({callback:function(i,e){n.afterResize()},runOnLoad:!1})},getColumnCount:function(){var e=i(this.el),t=this.settings.cols,s=this.settings.colsmobile,n=this.settings.colstablet,a=t;return sbiWindowWidth=window.innerWidth,e.hasClass("sbi_mob_col_auto")?(sbiWindowWidth<640&&parseInt(t)>2&&parseInt(t)<7&&(a=2),sbiWindowWidth<640&&parseInt(t)>6&&parseInt(t)<11&&(a=4),sbiWindowWidth<=480&&parseInt(t)>2&&(a=1)):sbiWindowWidth>480&&sbiWindowWidth<=800?a=n:sbiWindowWidth<=480&&(a=s),parseInt(a)},checkConsent:function(){if(this.settings.consentGiven||!this.settings.gdpr)return!0;if("undefined"!=typeof CLI_Cookie)null!==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&&(null!==CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")),null!==CLI_Cookie.read("cookielawinfo-checkbox-necessary")&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-necessary")));else if(void 0!==window.cnArgs){var i=("; "+document.cookie).split("; cookie_notice_accepted=");if(2===i.length){var e=i.pop().split(";").shift();this.settings.consentGiven="true"===e}}else void 0!==window.cookieconsent?this.settings.consentGiven="allow"===function(i){for(var e=i+"=",t=window.document.cookie.split(";"),s=0;s<t.length;s++){var n=t[s].trim();if(0==n.indexOf(e))return n.substring(e.length,n.length)}return""}("complianz_consent_status"):void 0!==window.Cookiebot?this.settings.consentGiven=Cookiebot.consented:void 0!==window.BorlabsCookie&&(this.settings.consentGiven=window.BorlabsCookie.checkCookieConsent("instagram"));var t=jQuery.Event("sbicheckconsent");return t.feed=this,jQuery(window).trigger(t),this.settings.consentGiven},afterConsentToggled:function(){if(this.checkConsent()){var i=this;i.maybeRaiseImageResolution(),setTimeout(function(){i.afterResize()},500)}},locationGuess:function(){var e=i(this.el),t="content";return e.closest("footer").length?t="footer":e.closest(".header").length||e.closest("header").length?t="header":(e.closest(".sidebar").length||e.closest("aside").length)&&(t="sidebar"),t}},window.sbi_init=function(){window.sbi=new t,window.sbi.createPage(window.sbi.createFeeds,{whenFeedsCreated:window.sbi.afterFeedsCreated})}}(jQuery),jQuery(document).ready(function(i){void 0===window.sb_instagram_js_options&&(window.sb_instagram_js_options={font_method:"svg",resized_url:location.protocol+"//"+window.location.hostname+"/wp-content/uploads/sb-instagram-feed-images/",placeholder:location.protocol+"//"+window.location.hostname+"/wp-content/plugins/instagram-feed/img/placeholder.png"}),void 0!==window.sb_instagram_js_options.resized_url&&-1===window.sb_instagram_js_options.resized_url.indexOf(location.protocol)&&("http:"===location.protocol?window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("https:","http:"):window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("http:","https:")),sbi_init(),i("#cookie-notice a").on("click",function(){setTimeout(function(){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].afterConsentToggled()})},1e3)}),i("#cookie-law-info-bar a").on("click",function(){setTimeout(function(){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].afterConsentToggled()})},1e3)}),i(".cli-user-preference-checkbox").on("click",function(){setTimeout(function(){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!1,window.sbi.feeds[i].afterConsentToggled()})},1e3)}),i(window).on("CookiebotOnAccept",function(e){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!0,window.sbi.feeds[i].afterConsentToggled()})}),i(document).on("cmplzAcceptAll",function(e){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!0,window.sbi.feeds[i].afterConsentToggled()})}),i(document).on("cmplzRevoke",function(e){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!1,window.sbi.feeds[i].afterConsentToggled()})}),i(document).on("borlabs-cookie-consent-saved",function(e){i.each(window.sbi.feeds,function(i){window.sbi.feeds[i].settings.consentGiven=!1,window.sbi.feeds[i].afterConsentToggled()})})}));
1
+ var sbi_js_exists=void 0!==sbi_js_exists;sbi_js_exists||(!function($){function a(){this.feeds={},this.options=sb_instagram_js_options}function b(a,b,c){this.el=a,this.index=b,this.settings=c,this.minImageWidth=0,this.imageResolution=150,this.resizedImages={},this.needsResizing=[],this.outOfPages=!1,this.page=1,this.isInitialized=!1}function c(a,b){$.ajax({url:sbiajaxurl,type:"post",data:a,success:b})}a.prototype={createPage:function(a,b){void 0!==sb_instagram_js_options.ajax_url&& void 0===window.sbiajaxurl&&(window.sbiajaxurl=sb_instagram_js_options.ajax_url),(void 0===window.sbiajaxurl|| -1===window.sbiajaxurl.indexOf(window.location.hostname))&&(window.sbiajaxurl=location.protocol+"//"+window.location.hostname+"/wp-admin/admin-ajax.php"),$("#sbi-builder-app").length&& void 0===window.sbiresizedImages&&$(".sbi_resized_image_data").length&& void 0!==$(".sbi_resized_image_data").attr("data-resized")&&0===$(".sbi_resized_image_data").attr("data-resized").indexOf('{"')&&(window.sbiresizedImages=JSON.parse($(".sbi_resized_image_data").attr("data-resized")),$(".sbi_resized_image_data").remove()),$(".sbi_no_js_error_message").remove(),$(".sbi_no_js").removeClass("sbi_no_js"),a(b)},createFeeds:function(a){a.whenFeedsCreated($(".sbi").each(function(e){$(this).attr("data-sbi-index",e+1);var a=$(this),d=void 0!==a.attr("data-sbi-flags")?a.attr("data-sbi-flags").split(","):[],j=void 0!==a.attr("data-options")?JSON.parse(a.attr("data-options")):{};d.indexOf("testAjax")> -1&&(window.sbi.triggeredTest=!0,c({action:"sbi_on_ajax_test_trigger"},function(a){console.log("did test")}));var f,g,h,k={cols:a.attr("data-cols"),colsmobile:void 0!==a.attr("data-colsmobile")&&"same"!==a.attr("data-colsmobile")?a.attr("data-colsmobile"):a.attr("data-cols"),colstablet:void 0!==a.attr("data-colstablet")&&"same"!==a.attr("data-colstablet")?a.attr("data-colstablet"):a.attr("data-cols"),num:a.attr("data-num"),imgRes:a.attr("data-res"),feedID:a.attr("data-feedid"),postID:"undefind"!=typeof a.attr("data-postid")?a.attr("data-postid"):"unknown",shortCodeAtts:a.attr("data-shortcode-atts"),resizingEnabled:-1===d.indexOf("resizeDisable"),imageLoadEnabled:-1===d.indexOf("imageLoadDisable"),debugEnabled:d.indexOf("debug")> -1,favorLocal:d.indexOf("favorLocal")> -1,ajaxPostLoad:d.indexOf("ajaxPostLoad")> -1,gdpr:d.indexOf("gdpr")> -1,overrideBlockCDN:d.indexOf("overrideBlockCDN")> -1,consentGiven:!1,locator:d.indexOf("locator")> -1,autoMinRes:1,general:j};window.sbi.feeds[e]=(f=this,g=e,h=k,new b(f,g,h)),window.sbi.feeds[e].setResizedImages(),window.sbi.feeds[e].init();var i=jQuery.Event("sbiafterfeedcreate");i.feed=window.sbi.feeds[e],jQuery(window).trigger(i)}))},afterFeedsCreated:function(){$(".sb_instagram_header").each(function(){var a=$(this);a.find(".sbi_header_link").on("mouseenter mouseleave",function(b){switch(b.type){case"mouseenter":a.find(".sbi_header_img_hover").addClass("sbi_fade_in");break;case"mouseleave":a.find(".sbi_header_img_hover").removeClass("sbi_fade_in")}})})},encodeHTML:function(b){if(void 0===b)return"";var a=b.replace(/(>)/g,"&gt;"),a=a.replace(/(<)/g,"&lt;");return(a=a.replace(/(&lt;br\/&gt;)/g,"<br>")).replace(/(&lt;br&gt;)/g,"<br>")},urlDetect:function(a){return a.match(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)}},b.prototype={init:function(){var b,a=this;a.settings.consentGiven=a.checkConsent(),$(this.el).find(".sbi_photo").parent("p").length&&$(this.el).addClass("sbi_no_autop"),$(this.el).find("#sbi_mod_error").length&&$(this.el).prepend($(this.el).find("#sbi_mod_error")),this.settings.ajaxPostLoad?this.getNewPostSet():this.afterInitialImagesLoaded();var c=(b=0,function(a,c){clearTimeout(b),b=setTimeout(a,c)});jQuery(window).on("resize",function(){c(function(){a.afterResize()},500)}),$(this.el).find(".sbi_item").each(function(){a.lazyLoadCheck($(this))})},initLayout:function(){},afterInitialImagesLoaded:function(){this.initLayout(),this.loadMoreButtonInit(),this.hideExtraImagesForWidth(),this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed()},afterResize:function(){this.setImageHeight(),this.setImageResolution(),this.maybeRaiseImageResolution(),this.setImageSizeClass()},afterLoadMoreClicked:function(a){a.find(".sbi_loader").removeClass("sbi_hidden"),a.find(".sbi_btn_text").addClass("sbi_hidden"),a.closest(".sbi").find(".sbi_num_diff_hide").addClass("sbi_transition").removeClass("sbi_num_diff_hide")},afterNewImagesLoaded:function(){var a=$(this.el),b=this;this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed(),setTimeout(function(){a.find(".sbi_loader").addClass("sbi_hidden"),a.find(".sbi_btn_text").removeClass("sbi_hidden"),b.maybeRaiseImageResolution()},500)},beforeNewImagesRevealed:function(){this.setImageHeight(),this.maybeRaiseImageResolution(!0),this.setImageSizeClass()},revealNewImages:function(){var a=$(this.el);a.find(".sbi-screenreader").each(function(){$(this).find("img").remove()}),"function"==typeof sbi_custom_js&&setTimeout(function(){sbi_custom_js()},100),this.applyImageLiquid(),a.find(".sbi_item").each(function(a){jQuery(this).find(".sbi_photo").on("mouseenter mouseleave",function(a){switch(a.type){case"mouseenter":jQuery(this).fadeTo(200,.85);break;case"mouseleave":jQuery(this).stop().fadeTo(500,1)}})}),setTimeout(function(){jQuery("#sbi_images .sbi_item.sbi_new").removeClass("sbi_new");var b=10;a.find(".sbi_transition").each(function(){var a=jQuery(this);setTimeout(function(){a.removeClass("sbi_transition")},b),b+=10})},500)},lazyLoadCheck:function(a){if(a.find(".sbi_photo").length&&!a.closest(".sbi").hasClass("sbi-no-ll-check")){var b=this.getImageUrls(a),c=void 0!==b[640]?b[640]:a.find(".sbi_photo").attr("data-full-res");!(!this.settings.consentGiven&&c.indexOf("scontent")> -1)&&a.find(".sbi_photo img").each(function(){c&& void 0!==$(this).attr("data-src")&&$(this).attr("data-src",c),c&& void 0!==$(this).attr("data-orig-src")&&$(this).attr("data-orig-src",c),$(this).on("load",function(){!$(this).hasClass("sbi-replaced")&&$(this).attr("src").indexOf("placeholder")> -1&&($(this).addClass("sbi-replaced"),c&&($(this).attr("src",c),$(this).closest(".sbi_imgLiquid_bgSize").length&&$(this).closest(".sbi_imgLiquid_bgSize").css("background-image","url("+c+")")))})})}},afterNewImagesRevealed:function(){this.listenForVisibilityChange(),this.sendNeedsResizingToServer(),this.settings.imageLoadEnabled||$(".sbi_no_resraise").removeClass("sbi_no_resraise");var a=$.Event("sbiafterimagesloaded");a.el=$(this.el),$(window).trigger(a)},setResizedImages:function(){$(this.el).find(".sbi_resized_image_data").length&& void 0!==$(this.el).find(".sbi_resized_image_data").attr("data-resized")&&0===$(this.el).find(".sbi_resized_image_data").attr("data-resized").indexOf('{"')?(this.resizedImages=JSON.parse($(this.el).find(".sbi_resized_image_data").attr("data-resized")),$(this.el).find(".sbi_resized_image_data").remove()):void 0!==window.sbiresizedImages&&(this.resizedImages=window.sbiresizedImages)},sendNeedsResizingToServer:function(){var a=this,d=$(this.el);if(a.needsResizing.length>0&&a.settings.resizingEnabled){var g=$(this.el).find(".sbi_item").length,h=void 0!==a.settings.general.cache_all&&a.settings.general.cache_all,b="";if(void 0!==d.attr("data-locatornonce")&&(b=d.attr("data-locatornonce")),$("#sbi-builder-app").length){if(void 0!==window.sbiresizeTriggered&&window.sbiresizeTriggered)return;window.sbiresizeTriggered=!0}var e={action:"sbi_resized_images_submit",needs_resizing:a.needsResizing,offset:g,feed_id:a.settings.feedID,atts:a.settings.shortCodeAtts,location:a.locationGuess(),post_id:a.settings.postID,cache_all:h,locator_nonce:b},f=function(c){var b=c;for(var d in"object"!=typeof c&&0===c.trim().indexOf("{")&&(b=JSON.parse(c.trim())),a.settings.debugEnabled&&console.log(b),b)b.hasOwnProperty(d)&&(a.resizedImages[d]=b[d]);a.maybeRaiseImageResolution(),setTimeout(function(){a.afterResize()},500),$("#sbi-builder-app").length&&(window.sbiresizeTriggered=!1)};c(e,f)}else if(a.settings.locator){var b="";void 0!==d.attr("data-locatornonce")&&(b=d.attr("data-locatornonce"));var e={action:"sbi_do_locator",feed_id:a.settings.feedID,atts:a.settings.shortCodeAtts,location:a.locationGuess(),post_id:a.settings.postID,locator_nonce:b},f=function(a){};c(e,f)}},loadMoreButtonInit:function(){var a=$(this.el),b=this;a.find("#sbi_load .sbi_load_btn").off().on("click",function(){b.afterLoadMoreClicked(jQuery(this)),b.getNewPostSet()})},getNewPostSet:function(){var b=$(this.el),a=this;a.page++;var d="";void 0!==b.attr("data-locatornonce")&&(d=b.attr("data-locatornonce"));var e={action:"sbi_load_more_clicked",offset:b.find(".sbi_item").length,page:a.page,feed_id:a.settings.feedID,atts:a.settings.shortCodeAtts,location:a.locationGuess(),post_id:a.settings.postID,current_resolution:a.imageResolution,locator_nonce:d};c(e,function(d){var c=d;"object"!=typeof d&&0===d.trim().indexOf("{")&&(c=JSON.parse(d.trim())),a.settings.debugEnabled&&console.log(c),a.appendNewPosts(c.html),a.addResizedImages(c.resizedImages),a.settings.ajaxPostLoad?(a.settings.ajaxPostLoad=!1,a.afterInitialImagesLoaded()):a.afterNewImagesLoaded(),c.feedStatus.shouldPaginate?a.outOfPages=!1:(a.outOfPages=!0,b.find(".sbi_load_btn").hide()),$(".sbi_no_js").removeClass("sbi_no_js")})},appendNewPosts:function(b){var a=$(this.el);a.find("#sbi_images .sbi_item").length?a.find("#sbi_images .sbi_item").last().after(b):a.find("#sbi_images").append(b)},addResizedImages:function(a){for(var b in a)this.resizedImages[b]=a[b]},setImageHeight:function(){var a=$(this.el),c=a.find(".sbi_photo").eq(0).innerWidth(),d=this.getColumnCount(),b=a.find("#sbi_images").innerWidth()-a.find("#sbi_images").width(),e=b/2;sbi_photo_width_manual=a.find("#sbi_images").width()/d-b,a.find(".sbi_photo").css("height",c),a.find(".sbi-owl-nav").length&&setTimeout(function(){var b=2;a.find(".sbi_owl2row-item").length&&(b=1);var c=a.find(".sbi_photo").eq(0).innerWidth()/b;c+=parseInt(e)*(2+(2-b)),a.find(".sbi-owl-nav div").css("top",c)},100)},maybeRaiseSingleImageResolution:function(a,n,f){var c=this,d=c.getImageUrls(a),e=a.find(".sbi_photo img").attr("src"),h=150,i=a.find("img").get(0),j=e===window.sbi.options.placeholder?1:i.naturalWidth/i.naturalHeight,f=void 0!==f&&f;if(!(a.hasClass("sbi_no_resraise")||a.hasClass("sbi_had_error")||a.find(".sbi_link_area").length&&a.find(".sbi_link_area").hasClass("sbi_had_error"))){if(d.length<1){a.find(".sbi_link_area").length&&a.find(".sbi_link_area").attr("href",window.sbi.options.placeholder.replace("placeholder.png","thumb-placeholder.png"));return}(a.find(".sbi_link_area").length&&a.find(".sbi_link_area").attr("href")===window.sbi.options.placeholder.replace("placeholder.png","thumb-placeholder.png")||!c.settings.consentGiven)&&a.find(".sbi_link_area").attr("href",d[d.length-1]),void 0!==d[640]&&a.find(".sbi_photo").attr("data-full-res",d[640]),$.each(d,function(a,b){b===e&&(h=parseInt(a),f=!1)});var b=640;switch(c.settings.imgRes){case"thumb":b=150;break;case"medium":b=320;break;case"full":b=640;break;default:var k=Math.max(c.settings.autoMinRes,a.find(".sbi_photo").innerWidth()),l=c.getBestResolutionForAuto(k,j,a);switch(l){case 320:b=320;break;case 150:b=150}}if(b>h||e===window.sbi.options.placeholder||f){if(c.settings.debugEnabled){var m=e===window.sbi.options.placeholder?"was placeholder":"too small";console.log("rais res for "+e,m)}var g=d[b].split("?ig_cache_key")[0];if(e!==g&&(a.find(".sbi_photo img").attr("src",g),a.find(".sbi_photo").css("background-image",'url("'+g+'")')),h=b,"auto"===c.settings.imgRes){var o=!1;a.find(".sbi_photo img").on("load",function(){var f=$(this),i=f.get(0).naturalWidth/f.get(0).naturalHeight;if(1e3!==f.get(0).naturalWidth&&i>j&&!o){switch(c.settings.debugEnabled&&console.log("rais res again for aspect ratio change "+e),o=!0,k=a.find(".sbi_photo").innerWidth(),l=c.getBestResolutionForAuto(k,i,a),b=640,l){case 320:b=320;break;case 150:b=150}b>h&&(g=d[b].split("?ig_cache_key")[0],f.attr("src",g),f.closest(".sbi_photo").css("background-image",'url("'+g+'")')),("masonry"===c.layout||"highlight"===c.layout)&&($(c.el).find("#sbi_images").smashotope(c.isotopeArgs),setTimeout(function(){$(c.el).find("#sbi_images").smashotope(c.isotopeArgs)},500))}else if(c.settings.debugEnabled){var m=o?"already checked":"no aspect ratio change";console.log("not raising res for replacement "+e,m)}})}}a.find("img").on("error",function(){if($(this).hasClass("sbi_img_error"))console.log("unfixed error "+$(this).attr("src"));else{if($(this).addClass("sbi_img_error"),!($(this).attr("src").indexOf("media/?size=")> -1||$(this).attr("src").indexOf("cdninstagram")> -1||$(this).attr("src").indexOf("fbcdn")> -1)&&c.settings.consentGiven){if("undefined"!==$(this).closest(".sbi_photo").attr("data-img-src-set")){var a=JSON.parse($(this).closest(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/"));void 0!==a.d&&($(this).attr("src",a.d),$(this).closest(".sbi_photo").css("background-image","url("+a.d+")"),$(this).closest(".sbi_item").addClass("sbi_had_error").find(".sbi_link_area").attr("href",a[640]).addClass("sbi_had_error"))}}else{c.settings.favorLocal=!0;var a=c.getImageUrls($(this).closest(".sbi_item"));void 0!==a[640]&&($(this).attr("src",a[640]),$(this).closest(".sbi_photo").css("background-image","url("+a[640]+")"),$(this).closest(".sbi_item").addClass("sbi_had_error").find(".sbi_link_area").attr("href",a[640]).addClass("sbi_had_error"))}setTimeout(function(){c.afterResize()},1500)}})}},maybeRaiseImageResolution:function(b){var a=this,c=!a.isInitialized;$(a.el).find(void 0!==b&& !0===b?".sbi_item.sbi_new":".sbi_item").each(function(b){!$(this).hasClass("sbi_num_diff_hide")&&$(this).find(".sbi_photo").length&& void 0!==$(this).find(".sbi_photo").attr("data-img-src-set")&&a.maybeRaiseSingleImageResolution($(this),b,c)}),a.isInitialized=!0},getBestResolutionForAuto:function(d,a,e){(isNaN(a)||a<1)&&(a=1);var b=10*Math.ceil(d*a/10),c=[150,320,640];if(e.hasClass("sbi_highlighted")&&(b*=2),-1===c.indexOf(parseInt(b))){var f=!1;$.each(c,function(c,a){a>parseInt(b)&&!f&&(b=a,f=!0)})}return b},hideExtraImagesForWidth:function(){if("carousel"!==this.layout){var a=$(this.el),b=void 0!==a.attr("data-num")&&""!==a.attr("data-num")?parseInt(a.attr("data-num")):1,c=void 0!==a.attr("data-nummobile")&&""!==a.attr("data-nummobile")?parseInt(a.attr("data-nummobile")):b;480>$(window).width()||"mobile"===window.sbi_preview_device?c<a.find(".sbi_item").length&&a.find(".sbi_item").slice(c-a.find(".sbi_item").length).addClass("sbi_num_diff_hide"):b<a.find(".sbi_item").length&&a.find(".sbi_item").slice(b-a.find(".sbi_item").length).addClass("sbi_num_diff_hide")}},setImageSizeClass:function(){var a=$(this.el);a.removeClass("sbi_small sbi_medium");var d=a.innerWidth(),e=parseInt(a.find("#sbi_images").outerWidth()-a.find("#sbi_images").width())/2,c=this.getColumnCount(),b=(d-e*(c+2))/c;b>120&&b<240?a.addClass("sbi_medium"):b<=120&&a.addClass("sbi_small")},setMinImageWidth:function(){$(this.el).find(".sbi_item .sbi_photo").first().length?this.minImageWidth=$(this.el).find(".sbi_item .sbi_photo").first().innerWidth():this.minImageWidth=150},setImageResolution:function(){if("auto"===this.settings.imgRes)this.imageResolution="auto";else switch(this.settings.imgRes){case"thumb":this.imageResolution=150;break;case"medium":this.imageResolution=320;break;default:this.imageResolution=640}},getImageUrls:function(d){var c=JSON.parse(d.find(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/")),a=d.attr("id").replace("sbi_","");if(this.settings.consentGiven||this.settings.overrideBlockCDN||(c=[]),void 0!==this.resizedImages[a]&&"video"!==this.resizedImages[a]&&"pending"!==this.resizedImages[a]&&"error"!==this.resizedImages[a].id&&"video"!==this.resizedImages[a].id&&"pending"!==this.resizedImages[a].id){if(void 0!==this.resizedImages[a].sizes){var b=[];void 0!==this.resizedImages[a].sizes.full&&(c[640]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"full.jpg",b.push(640)),void 0!==this.resizedImages[a].sizes.low&&(c[320]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"low.jpg",b.push(320)),void 0!==this.resizedImages[a].sizes.thumb&&(b.push(150),c[150]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"thumb.jpg"),this.settings.favorLocal&&(-1===b.indexOf(640)&&b.indexOf(320)> -1&&(c[640]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"low.jpg"),-1===b.indexOf(320)&&(b.indexOf(640)> -1?c[320]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"full.jpg":b.indexOf(150)> -1&&(c[320]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"thumb.jpg")),-1===b.indexOf(150)&&(b.indexOf(320)> -1?c[150]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"low.jpg":b.indexOf(640)> -1&&(c[150]=sb_instagram_js_options.resized_url+this.resizedImages[a].id+"full.jpg")))}}else(void 0===this.resizedImages[a]|| void 0!==this.resizedImages[a].id&&"pending"!==this.resizedImages[a].id&&"error"!==this.resizedImages[a].id)&&this.addToNeedsResizing(a);return c},getAvatarUrl:function(a,c){if(""===a)return"";var b=this.settings.general.avatars,c=void 0!==c?c:"local";return"local"===c?void 0!==b["LCL"+a]&&1===parseInt(b["LCL"+a])?sb_instagram_js_options.resized_url+a+".jpg":void 0!==b[a]?b[a]:"":void 0!==b[a]?b[a]:void 0!==b["LCL"+a]&&1===parseInt(b["LCL"+a])?sb_instagram_js_options.resized_url+a+".jpg":""},addToNeedsResizing:function(a){-1===this.needsResizing.indexOf(a)&&this.needsResizing.push(a)},applyImageLiquid:function(){var b,c,d,a,e=$(this.el);(b=b||{VER:"0.9.944"}).bgs_Available=!1,b.bgs_CheckRunned=!1,function(a){a.fn.extend({sbi_imgLiquid:function(c){this.defaults={fill:!0,verticalAlign:"center",horizontalAlign:"center",useBackgroundSize:!0,useDataHtmlAttr:!0,responsive:!0,delay:0,fadeInTime:0,removeBoxBackground:!0,hardPixels:!0,responsiveCheckTime:500,timecheckvisibility:500,onStart:null,onFinish:null,onItemStart:null,onItemFinish:null,onItemError:null},function(){if(!b.bgs_CheckRunned){b.bgs_CheckRunned=!0;var c=a('<span style="background-size:cover" />');a("body").append(c),function(){var d=c[0];if(d&&window.getComputedStyle){var a=window.getComputedStyle(d,null);a&&a.backgroundSize&&(b.bgs_Available="cover"===a.backgroundSize)}}(),c.remove()}}();var d=this;return this.options=c,this.settings=a.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each(function(g){function h(){function d(){f.data("sbi_imgLiquid_error")||f.data("sbi_imgLiquid_loaded")||f.data("sbi_imgLiquid_oldProcessed")||(e.is(":visible")&&f[0].complete&&f[0].width>0&&f[0].height>0?(f.data("sbi_imgLiquid_loaded",!0),setTimeout(l,g*c.delay)):setTimeout(d,c.timecheckvisibility))}if(f.data("oldSrc")&&f.data("oldSrc")!==f.attr("src")){var b=f.clone().removeAttr("style");return b.data("sbi_imgLiquid_settings",f.data("sbi_imgLiquid_settings")),f.parent().prepend(b),f.remove(),(f=b)[0].width=0,void setTimeout(h,10)}return f.data("sbi_imgLiquid_oldProcessed")?void l():(f.data("sbi_imgLiquid_oldProcessed",!1),f.data("oldSrc",f.attr("src")),a("img:not(:first)",e).css("display","none"),e.css({overflow:"hidden"}),f.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"}),f.on("error",i),f[0].onerror=i,d(),void k())}function k(){(c.responsive||f.data("sbi_imgLiquid_oldProcessed"))&&f.data("sbi_imgLiquid_settings")&&(c=f.data("sbi_imgLiquid_settings"),e.actualSize=e.get(0).offsetWidth+e.get(0).offsetHeight/1e4,e.sizeOld&&e.actualSize!==e.sizeOld&&l(),e.sizeOld=e.actualSize,setTimeout(k,c.responsiveCheckTime))}function i(){f.data("sbi_imgLiquid_error",!0),e.addClass("sbi_imgLiquid_error"),c.onItemError&&c.onItemError(g,e,f),j()}function l(){var i,k,l,m,a,b,n,o,d=0,h=0,p=e.width(),q=e.height();void 0===f.data("owidth")&&f.data("owidth",f[0].width),void 0===f.data("oheight")&&f.data("oheight",f[0].height),c.fill===p/q>=f.data("owidth")/f.data("oheight")?(i="100%",k="auto",l=Math.floor(p),m=Math.floor(p*(f.data("oheight")/f.data("owidth")))):(i="auto",k="100%",l=Math.floor(q*(f.data("owidth")/f.data("oheight"))),m=Math.floor(q)),a=c.horizontalAlign.toLowerCase(),n=p-l,"left"===a&&(h=0),"center"===a&&(h=.5*n),"right"===a&&(h=n),-1!==a.indexOf("%")&&(a=parseInt(a.replace("%",""),10))>0&&(h=n*a*.01),b=c.verticalAlign.toLowerCase(),o=q-m,"left"===b&&(d=0),"center"===b&&(d=.5*o),"bottom"===b&&(d=o),-1!==b.indexOf("%")&&(b=parseInt(b.replace("%",""),10))>0&&(d=o*b*.01),c.hardPixels&&(i=l,k=m),f.css({width:i,height:k,"margin-left":Math.floor(h),"margin-top":Math.floor(d)}),f.data("sbi_imgLiquid_oldProcessed")||(f.fadeTo(c.fadeInTime,1),f.data("sbi_imgLiquid_oldProcessed",!0),c.removeBoxBackground&&e.css("background-image","none"),e.addClass("sbi_imgLiquid_nobgSize"),e.addClass("sbi_imgLiquid_ready")),c.onItemFinish&&c.onItemFinish(g,e,f),j()}function j(){g===d.length-1&&d.settings.onFinish&&d.settings.onFinish()}var c=d.settings,e=a(this),f=a("img:first",e);return f.length?(f.data("sbi_imgLiquid_settings")?(e.removeClass("sbi_imgLiquid_error").removeClass("sbi_imgLiquid_ready"),c=a.extend({},f.data("sbi_imgLiquid_settings"),d.options)):c=a.extend({},d.settings,function(){var f={};if(d.settings.useDataHtmlAttr){var g=e.attr("data-sbi_imgLiquid-fill"),a=e.attr("data-sbi_imgLiquid-horizontalAlign"),c=e.attr("data-sbi_imgLiquid-verticalAlign");("true"===g||"false"===g)&&(f.fill=Boolean("true"===g)),void 0===a||"left"!==a&&"center"!==a&&"right"!==a&& -1===a.indexOf("%")||(f.horizontalAlign=a),void 0===c||"top"!==c&&"bottom"!==c&&"center"!==c&& -1===c.indexOf("%")||(f.verticalAlign=c)}return b.isIE&&d.settings.ieFadeInDisabled&&(f.fadeInTime=0),f}()),f.data("sbi_imgLiquid_settings",c),c.onItemStart&&c.onItemStart(g,e,f),void(b.bgs_Available&&c.useBackgroundSize?(-1===e.css("background-image").indexOf(encodeURI(f.attr("src")))&&e.css({"background-image":'url("'+encodeURI(f.attr("src"))+'")'}),e.css({"background-size":c.fill?"cover":"contain","background-position":(c.horizontalAlign+" "+c.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),a("a:first",e).css({display:"block",width:"100%",height:"100%"}),a("img",e).css({display:"none"}),c.onItemFinish&&c.onItemFinish(g,e,f),e.addClass("sbi_imgLiquid_bgSize"),e.addClass("sbi_imgLiquid_ready"),j()):h())):void i()})}})}(jQuery),c=b.injectCss,d=document.getElementsByTagName("head")[0],a=document.createElement("style"),a.type="text/css",a.styleSheet?a.styleSheet.cssText=c:a.appendChild(document.createTextNode(c)),d.appendChild(a),"function"==typeof e.find(".sbi_photo").sbi_imgLiquid&&e.find(".sbi_photo").sbi_imgLiquid({fill:!0})},listenForVisibilityChange:function(){var a,b,c,d=this;a=jQuery,b={callback:function(){},runOnLoad:!0,frequency:100,sbiPreviousVisibility:null},(c={}).sbiCheckVisibility=function(b,a){if(jQuery.contains(document,b[0])){var e=a.sbiPreviousVisibility,d=b.is(":visible");a.sbiPreviousVisibility=d,null==e?a.runOnLoad&&a.callback(b,d):e!==d&&a.callback(b,d),setTimeout(function(){c.sbiCheckVisibility(b,a)},a.frequency)}},a.fn.sbiVisibilityChanged=function(d){var e=a.extend({},b,d);return this.each(function(){c.sbiCheckVisibility(a(this),e)})},"function"==typeof $(this.el).filter(":hidden").sbiVisibilityChanged&&$(this.el).filter(":hidden").sbiVisibilityChanged({callback:function(a,b){d.afterResize()},runOnLoad:!1})},getColumnCount:function(){var c=$(this.el),a=this.settings.cols,d=this.settings.colsmobile,e=this.settings.colstablet,b=a;return sbiWindowWidth=window.innerWidth,c.hasClass("sbi_mob_col_auto")?(sbiWindowWidth<640&&parseInt(a)>2&&7>parseInt(a)&&(b=2),sbiWindowWidth<640&&parseInt(a)>6&&11>parseInt(a)&&(b=4),sbiWindowWidth<=480&&parseInt(a)>2&&(b=1)):sbiWindowWidth>480&&sbiWindowWidth<=800?b=e:sbiWindowWidth<=480&&(b=d),parseInt(b)},checkConsent:function(){if(this.settings.consentGiven||!this.settings.gdpr)return!0;if("undefined"!=typeof CLI_Cookie)null!==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&&(null!==CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")),null!==CLI_Cookie.read("cookielawinfo-checkbox-necessary")&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-necessary")));else if(void 0!==window.cnArgs){var a=("; "+document.cookie).split("; cookie_notice_accepted=");if(2===a.length){var c=a.pop().split(";").shift();this.settings.consentGiven="true"===c}}else void 0!==window.cookieconsent?this.settings.consentGiven="allow"===function(e){for(var c=e+"=",d=window.document.cookie.split(";"),a=0;a<d.length;a++){var b=d[a].trim();if(0==b.indexOf(c))return b.substring(c.length,b.length)}return""}("complianz_consent_status"):void 0!==window.Cookiebot?this.settings.consentGiven=Cookiebot.consented:void 0!==window.BorlabsCookie&&(this.settings.consentGiven=window.BorlabsCookie.checkCookieConsent("instagram"));var b=jQuery.Event("sbicheckconsent");return b.feed=this,jQuery(window).trigger(b),this.settings.consentGiven},afterConsentToggled:function(){if(this.checkConsent()){var a=this;a.maybeRaiseImageResolution(),setTimeout(function(){a.afterResize()},500)}},locationGuess:function(){var a=$(this.el),b="content";return a.closest("footer").length?b="footer":a.closest(".header").length||a.closest("header").length?b="header":(a.closest(".sidebar").length||a.closest("aside").length)&&(b="sidebar"),b}},window.sbi_init=function(){window.sbi=new a,window.sbi.createPage(window.sbi.createFeeds,{whenFeedsCreated:window.sbi.afterFeedsCreated})}}(jQuery),jQuery(document).ready(function($){void 0===window.sb_instagram_js_options&&(window.sb_instagram_js_options={font_method:"svg",resized_url:location.protocol+"//"+window.location.hostname+"/wp-content/uploads/sb-instagram-feed-images/",placeholder:location.protocol+"//"+window.location.hostname+"/wp-content/plugins/instagram-feed/img/placeholder.png"}),void 0!==window.sb_instagram_js_options.resized_url&& -1===window.sb_instagram_js_options.resized_url.indexOf(location.protocol)&&("http:"===location.protocol?window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("https:","http:"):window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("http:","https:")),sbi_init(),$("#cookie-notice a").on("click",function(){setTimeout(function(){$.each(window.sbi.feeds,function(a){window.sbi.feeds[a].afterConsentToggled()})},1e3)}),$("#cookie-law-info-bar a").on("click",function(){setTimeout(function(){$.each(window.sbi.feeds,function(a){window.sbi.feeds[a].afterConsentToggled()})},1e3)}),$(".cli-user-preference-checkbox").on("click",function(){setTimeout(function(){$.each(window.sbi.feeds,function(a){window.sbi.feeds[a].settings.consentGiven=!1,window.sbi.feeds[a].afterConsentToggled()})},1e3)}),$(window).on("CookiebotOnAccept",function(a){$.each(window.sbi.feeds,function(a){window.sbi.feeds[a].settings.consentGiven=!0,window.sbi.feeds[a].afterConsentToggled()})}),$(document).on("cmplzAcceptAll",function(a){$.each(window.sbi.feeds,function(a){window.sbi.feeds[a].settings.consentGiven=!0,window.sbi.feeds[a].afterConsentToggled()})}),$(document).on("cmplzRevoke",function(a){$.each(window.sbi.feeds,function(a){window.sbi.feeds[a].settings.consentGiven=!1,window.sbi.feeds[a].afterConsentToggled()})}),$(document).on("borlabs-cookie-consent-saved",function(a){$.each(window.sbi.feeds,function(a){window.sbi.feeds[a].settings.consentGiven=!1,window.sbi.feeds[a].afterConsentToggled()})})}))
vendor/smashballoon/stubs/.gitignore DELETED
@@ -1,2 +0,0 @@
1
- vendor
2
- .idea
 
 
vendor/smashballoon/stubs/README.md DELETED
@@ -1,2 +0,0 @@
1
- # sb-stubs
2
- Shared stubs for Smash Balloon like service interfaces and abstracts
 
 
vendor/smashballoon/stubs/composer.lock DELETED
@@ -1,18 +0,0 @@
1
- {
2
- "_readme": [
3
- "This file locks the dependencies of your project to a known state",
4
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
- "This file is @generated automatically"
6
- ],
7
- "content-hash": "bf7766bf43df34d0f5f9d1b6948058d7",
8
- "packages": [],
9
- "packages-dev": [],
10
- "aliases": [],
11
- "minimum-stability": "stable",
12
- "stability-flags": [],
13
- "prefer-stable": false,
14
- "prefer-lowest": false,
15
- "platform": [],
16
- "platform-dev": [],
17
- "plugin-api-version": "2.2.0"
18
- }