Popup Builder – Responsive WordPress Pop up - Version 2.5.3

Version Description

Current Version of Popup Builder is 2.5.3

Download this release

Release Info

Developer Sygnoos
Plugin Icon 128x128 Popup Builder – Responsive WordPress Pop up
Version 2.5.3
Comparing to
See all releases

Code changes from version 2.5.2 to 2.5.3

classes/SGFblikePopup.php CHANGED
@@ -74,21 +74,23 @@ class SGFblikePopup extends SGPopup
74
 
75
  protected function getExtraRenderOptions()
76
  {
 
77
  $options = json_decode($this->getFblikeOptions(), true);
78
  $url = $options['fblike-like-url'];
79
  $layout = $options['fblike-layout'];
80
  $popupId = (int)$this->getId();
81
  $content = $this->getContent();
82
-
83
- $content .= "<div id=\"sg-facebook-like\"><script type=\"text/javascript\">
84
- (function(d, s, id) {
85
- var js, fjs = d.getElementsByTagName(s)[0];
86
- if (d.getElementById(id)) return;
87
- js = d.createElement(s); js.id = id;
88
- js.src = \"//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.5\";
89
- fjs.parentNode.insertBefore(js, fjs);
90
- }(document, 'script', 'facebook-jssdk'));
91
- </script>";
 
92
  $content .= '<div class = "sg-fb-buttons-wrapper"><div class="fb-like" data-href="'.$url.'" data-layout="'.$layout.'" data-action="like" data-show-faces="true" data-share="true"></div></div></div>';
93
  $content .= '<style>
94
  .sg-fb-buttons-wrapper{
74
 
75
  protected function getExtraRenderOptions()
76
  {
77
+ $locale = $this->getSiteLocale();
78
  $options = json_decode($this->getFblikeOptions(), true);
79
  $url = $options['fblike-like-url'];
80
  $layout = $options['fblike-layout'];
81
  $popupId = (int)$this->getId();
82
  $content = $this->getContent();
83
+
84
+ $content .= "<div id=\"sg-facebook-like\">
85
+ <script type=\"text/javascript\">
86
+ (function(d, s, id) {
87
+ var js, fjs = d.getElementsByTagName(s)[0];
88
+ if (d.getElementById(id)) return;
89
+ js = d.createElement(s); js.id = id;
90
+ js.src = \"//connect.facebook.net/".$locale."/sdk.js#xfbml=1&version=v2.5\";
91
+ fjs.parentNode.insertBefore(js, fjs);
92
+ }(document, 'script', 'facebook-jssdk'));
93
+ </script>";
94
  $content .= '<div class = "sg-fb-buttons-wrapper"><div class="fb-like" data-href="'.$url.'" data-layout="'.$layout.'" data-action="like" data-show-faces="true" data-share="true"></div></div></div>';
95
  $content .= '<style>
96
  .sg-fb-buttons-wrapper{
classes/SGPBExtensionsConnector.php ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Popup builder extensions connection
5
+ *
6
+ * @since 2.5.3
7
+ *
8
+ */
9
+ class SGPBExtensionsConnector {
10
+
11
+ public $activeExtensions;
12
+ public $deactive;
13
+ //redirect url for activation hook
14
+ public $redirectUrl = '';
15
+ //bool $networkWide Whether to enable the plugin for all sites in the network.
16
+ public $networkWide = false;
17
+ //bool $silent Prevent calling activation hooks.
18
+ public $silent = false;
19
+ public $prepareData;
20
+
21
+ public static $POPUPEXTENSIONS = array(
22
+ 'popup-builder-mailchimp/popup-builder-mailchimp.php',
23
+ 'popup-builder-aweber/popup-builder-aweber.php',
24
+ 'popup-builder-exit-intent/popup-builder-exit-intent.php',
25
+ 'popup-builder-analytics/popup-builder-analytics.php',
26
+ 'popup-builder-ad-block/popup-builder-add-block.php'
27
+ );
28
+
29
+ public function __construct() {
30
+
31
+ include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
32
+ if(is_multisite()) {
33
+ $this->networkWide = true;
34
+ }
35
+ }
36
+
37
+ /**
38
+ * Check extensions connection
39
+ *
40
+ * @since 2.5.3
41
+ *
42
+ * @param bool $activeStatus if true check is active extension
43
+ *
44
+ * @return void
45
+ *
46
+ */
47
+
48
+ private function extensionCheck($activeStatus) {
49
+
50
+ $extensions = array();
51
+ $allExtensions = SGPBExtensionsConnector::$POPUPEXTENSIONS;
52
+
53
+ if(empty($allExtensions)) {
54
+ return;
55
+ }
56
+
57
+ foreach($allExtensions as $extensionKey) {
58
+ $isActive = is_plugin_active($extensionKey);
59
+
60
+ if($isActive && $activeStatus) {
61
+ $extensions[] = $extensionKey;
62
+ }
63
+ else if(!$isActive && !$activeStatus) {
64
+ $extensions[] = $extensionKey;
65
+ }
66
+ }
67
+
68
+ if($activeStatus) {
69
+ $this->activeExtensions = $extensions;
70
+ }
71
+ else {
72
+ $this->deactive = $extensions;
73
+ }
74
+
75
+ }
76
+
77
+ private function packageChecker() {
78
+
79
+ $originalExtension = SG_APP_POPUP_FILES.'/extensions/popup-builder-exit-intent';
80
+ $passedExtension = WP_PLUGIN_DIR.'/popup-builder-exit-intent';
81
+
82
+ if(file_exists($originalExtension) && file_exists($passedExtension)) {
83
+ $exitIntentPackage = array('popup-builder-exit-intent/popup-builder-exit-intent.php');
84
+ $this->deletePlugin($exitIntentPackage);
85
+ }
86
+ }
87
+
88
+ /**
89
+ * Current All active extensions
90
+ *
91
+ * @since 2.5.3
92
+ *
93
+ * @return array $activeExtension
94
+ *
95
+ */
96
+
97
+ private function getActiveExtensions() {
98
+
99
+ $this->extensionCheck(true);
100
+ $activeExtension = $this->activeExtensions;
101
+
102
+ return $activeExtension;
103
+ }
104
+
105
+ /**
106
+ * Current all deactive extensions
107
+ *
108
+ * @since 2.5.3
109
+ *
110
+ * @return array $deactivateExtensions
111
+ *
112
+ */
113
+
114
+ private function getDeactivatePlugins() {
115
+
116
+ $this->extensionCheck(false);
117
+ $deactivateExtensions = $this->deactive;
118
+
119
+ return $deactivateExtensions;
120
+ }
121
+
122
+ private function prepareToActivate() {
123
+
124
+ $this->getActiveExtensions();
125
+ $this->getDeactivatePlugins();
126
+ // Deactivate all active extensions
127
+ $this->deactivate();
128
+ $this->packageChecker();
129
+ }
130
+
131
+ /**
132
+ * Activate all extensions
133
+ *
134
+ * @since 2.5.3
135
+ *
136
+ * @param bool status if true activate all else active only active extensions
137
+ *
138
+ * @return void
139
+ *
140
+ */
141
+
142
+ public function activate($status = false) {
143
+
144
+ include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
145
+ $doActivate = $this->activeExtensions;
146
+
147
+ $this->prepareToActivate();
148
+
149
+ if($status) {
150
+ $doActivate = SGPBExtensionsConnector::$POPUPEXTENSIONS;
151
+ }
152
+ if(POPUP_BUILDER_PKG > POPUP_BUILDER_PKG_SILVER) {
153
+ $this->sgRunActivatePlugin('popup-builder-exit-intent/popup-builder-exit-intent.php');
154
+ }
155
+ $this->doActivate($doActivate);
156
+ }
157
+
158
+ /**
159
+ * Activate plugins
160
+ *
161
+ * @since 2.5.3
162
+ *
163
+ * @param string|array $plugins Single plugin or list of plugins.
164
+ *
165
+ * @return void
166
+ */
167
+
168
+ public function doActivate($plugins) {
169
+
170
+ $redirectUrl = $this->redirectUrl;
171
+ $networkWide = $this->networkWide;
172
+ $silent = $this->silent;
173
+
174
+ activate_plugins($plugins, $redirectUrl, $networkWide, $silent);
175
+ }
176
+
177
+ /**
178
+ * Deactivate all extensions
179
+ *
180
+ * @since 2.5.3
181
+ *
182
+ * @return void
183
+ *
184
+ */
185
+
186
+ public function deactivate() {
187
+
188
+ $doDeActivate = $this->activeExtensions;
189
+
190
+ $this->doDeactivate($doDeActivate);
191
+ }
192
+
193
+ /**
194
+ * Deactivate plugins
195
+ *
196
+ * @since 2.5.3
197
+ *
198
+ * @param string|array $plugins Single plugin or list of plugins.
199
+ *
200
+ * @return void
201
+ *
202
+ */
203
+
204
+ public function doDeactivate($plugins) {
205
+
206
+ $networkWide = $this->networkWide;
207
+ $silent = $this->silent;
208
+
209
+ deactivate_plugins($plugins,$silent,$networkWide);
210
+ }
211
+
212
+ /**
213
+ * Delete plugin from plugins section
214
+ *
215
+ * @since 2.5.3
216
+ *
217
+ * @param array $plugins List of plugins to delete.
218
+ *
219
+ * @return void
220
+ *
221
+ */
222
+
223
+ private function deletePlugin($plugins) {
224
+
225
+ delete_plugins($plugins);
226
+ }
227
+
228
+ public function sgRunActivatePlugin($plugin) {
229
+ $current = get_option( 'active_plugins' );
230
+ $plugin = plugin_basename( trim( $plugin ) );
231
+
232
+ if ( !in_array( $plugin, $current ) ) {
233
+ $current[] = $plugin;
234
+ sort( $current );
235
+ do_action( 'activate_plugin', trim( $plugin ) );
236
+ update_option( 'active_plugins', $current );
237
+ do_action( 'activate_' . trim( $plugin ) );
238
+ do_action( 'activated_plugin', trim( $plugin) );
239
+ }
240
+
241
+ return null;
242
+ }
243
+ }
classes/SGPopup.php CHANGED
@@ -450,6 +450,14 @@ abstract class SGPopup {
450
  }, 1);
451
  }
452
 
 
 
 
 
 
 
 
 
453
  }
454
 
455
  function sgSafeStr ($param) {
450
  }, 1);
451
  }
452
 
453
+ public function getSiteLocale() {
454
+
455
+ $locale = get_bloginfo('language');
456
+ $locale = str_replace('-', '_', $locale);
457
+
458
+ return $locale;
459
+ }
460
+
461
  }
462
 
463
  function sgSafeStr ($param) {
config.php CHANGED
@@ -24,8 +24,8 @@ if(!class_exists('SgPopupBuilderConfig')) {
24
  define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
25
  define('SG_APP_POPUP_HELPERS', SG_APP_POPUP_PATH . '/helpers/');
26
  define('SG_APP_POPUP_TABLE_LIMIT', 15);
27
- define('SG_POPUP_VERSION', 2.52);
28
- define('SG_POPUP_PRO_VERSION', 3.22);
29
  define('SG_POPUP_PRO_URL', 'http://popup-builder.com/');
30
  define('SG_POPUP_EXTENSION_URL', 'http://popup-builder.com/extensions');
31
  define('SG_MAILCHIMP_EXTENSION_URL', 'http://popup-builder.com/downloads/mailchimp/');
24
  define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
25
  define('SG_APP_POPUP_HELPERS', SG_APP_POPUP_PATH . '/helpers/');
26
  define('SG_APP_POPUP_TABLE_LIMIT', 15);
27
+ define('SG_POPUP_VERSION', 2.53);
28
+ define('SG_POPUP_PRO_VERSION', 3.23);
29
  define('SG_POPUP_PRO_URL', 'http://popup-builder.com/');
30
  define('SG_POPUP_EXTENSION_URL', 'http://popup-builder.com/extensions');
31
  define('SG_MAILCHIMP_EXTENSION_URL', 'http://popup-builder.com/downloads/mailchimp/');
files/sg_functions.php CHANGED
@@ -11,41 +11,6 @@ class SGFunctions
11
  echo $sgInfo;
12
  }
13
 
14
- public static function balckFriday()
15
- {
16
- $output = '<a href="'.SG_POPUP_PRO_URL.'" target="_blank"><div class="sg-black-friday-wrapper">
17
- <div class="sg-balck-info-wrapper">
18
- <div class="sg-black-info sg-balck-info-left">
19
- <span class="sg-black-friday-day">
20
- November 25
21
- </span>
22
- <span class="sg-black-friday-name">
23
- BLACK FRIDAY
24
- </span>
25
- </div>
26
- <div class="balck-friday-line-image balck-friday-line-left"></div>
27
- <div class="sg-black-info sg-balck-info-center">
28
- <span class="sg-black-percent">
29
- -25%
30
- </span>
31
- <span class="sg-black-all-plans">
32
- * All Plans
33
- </span>
34
- </div>
35
- <div class="balck-friday-line-image balck-friday-line-right"></div>
36
- <div class="sg-black-info sg-balck-info-right">
37
- <span class="sg-black-friday-day">
38
- Use this promo code to get 25% off:
39
- </span>
40
- <span class="sg-black-friday-name">
41
- POPUP 25 OFF
42
- </span>
43
- </div>
44
- </div>
45
- </div></a>';
46
- echo $output;
47
- }
48
-
49
  public static function sgPopupDataSanitize($sgPopupData)
50
  {
51
 
@@ -278,11 +243,11 @@ class SGFunctions
278
 
279
  $currentUserRole = SgPopupGetData::getCurrentUserRole();
280
 
281
- /*When user is admintrator or this user is in selected rules*/
282
- if(@in_array($currentUserRole, $usersSelectedRoles) || $currentUserRole == 'sgpb_administrator') {
283
- return true;
284
  }
285
- return false;
 
286
  }
287
 
288
  public static function getCurrentPopupIdFromOptions($id) {
11
  echo $sgInfo;
12
  }
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  public static function sgPopupDataSanitize($sgPopupData)
15
  {
16
 
243
 
244
  $currentUserRole = SgPopupGetData::getCurrentUserRole();
245
 
246
+ if((!empty($usersSelectedRoles) && !in_array($currentUserRole, $usersSelectedRoles)) && !is_super_admin()) {
247
+ return false;
 
248
  }
249
+
250
+ return true;
251
  }
252
 
253
  public static function getCurrentPopupIdFromOptions($id) {
javascript/jquery.sgcolorbox-min.js CHANGED
@@ -1,1027 +1,97 @@
1
- (function ($, document, window) {
2
- var
3
- defaults = {
4
- html: false,
5
- photo: false,
6
- iframe: false,
7
- inline: false,
8
- transition: "elastic",
9
- speed: 300,
10
- fadeOut: 300,
11
- width: false,
12
- initialWidth: "600",
13
- innerWidth: false,
14
- maxWidth: false,
15
- height: false,
16
- initialHeight: "450",
17
- innerHeight: false,
18
- maxHeight: false,
19
- scalePhotos: true,
20
- scrolling: true,
21
- opacity: 0.9,
22
- preloading: true,
23
- className: false,
24
- overlayClose: true,
25
- escKey: true,
26
- arrowKey: true,
27
- top: false,
28
- bottom: false,
29
- left: false,
30
- right: false,
31
- fixed: false,
32
- data: undefined,
33
- closeButton: true,
34
- fastIframe: true,
35
- open: false,
36
- reposition: true,
37
- loop: true,
38
- slideshow: false,
39
- slideshowAuto: true,
40
- slideshowSpeed: 2500,
41
- slideshowStart: "start slideshow",
42
- slideshowStop: "stop slideshow",
43
- photoRegex: /\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,
44
- customClass: 'colorbox1', /* For default themes load*/
45
- retinaImage: false,
46
- retinaUrl: false,
47
- retinaSuffix: '@2x.$1',
48
- current: "image {current} of {total}",
49
- previous: "previous",
50
- next: "next",
51
- close: "close",
52
- xhrError: "This content failed to load.",
53
- imgError: "This image failed to load.",
54
- contentCustomClassName: "sg-popup-content",
55
- overlayCutsomClassName: "sg-popup-overlay",
56
- returnFocus: true,
57
- trapFocus: true,
58
- onOpen: false,
59
- onLoad: false,
60
- onComplete: false,
61
- onCleanup: false,
62
- onClosed: false,
63
-
64
- rel: function () {
65
- return this.rel;
66
- },
67
- href: function () {
68
-
69
- return $(this).attr('href');
70
- },
71
- title: function () {
72
- return this.title;
73
- },
74
- createImg: function () {
75
- var img = new Image();
76
- var attrs = $(this).data('cbox-img-attrs');
77
-
78
- if (typeof attrs === 'object') {
79
- $.each(attrs, function (key, val) {
80
- img[key] = val;
81
- });
82
- }
83
-
84
- return img;
85
- },
86
- createIframe: function () {
87
- var iframe = document.createElement('iframe');
88
- var attrs = $(this).data('cbox-iframe-attrs');
89
-
90
- if (typeof attrs === 'object') {
91
- $.each(attrs, function (key, val) {
92
- iframe[key] = val;
93
- });
94
- }
95
-
96
- if ('frameBorder' in iframe) {
97
- iframe.frameBorder = 0;
98
- }
99
- if ('allowTransparency' in iframe) {
100
- iframe.allowTransparency = "true";
101
- }
102
- iframe.name = (new Date()).getTime();
103
- iframe.allowFullscreen = true;
104
-
105
- return iframe;
106
- }
107
- },
108
- colorbox = 'sgcolorbox',
109
- prefix = 'sgcbox',
110
- boxElement = prefix + 'Element',
111
- event_open = prefix + '_open',
112
- event_load = prefix + '_load',
113
- event_complete = prefix + '_complete',
114
- event_cleanup = prefix + '_cleanup',
115
- event_closed = prefix + '_closed',
116
- event_purge = prefix + '_purge',
117
- $overlay,
118
- $box,
119
- $wrap,
120
- $content,
121
- $topBorder,
122
- $leftBorder,
123
- $rightBorder,
124
- $bottomBorder,
125
- $related,
126
- $window,
127
- $loaded,
128
- $loadingBay,
129
- $loadingOverlay,
130
- $title,
131
- $current,
132
- $slideshow,
133
- $next,
134
- $prev,
135
- $close,
136
- $groupControls,
137
- $events = $('<a/>'),
138
- settings,
139
- interfaceHeight,
140
- interfaceWidth,
141
- loadedHeight,
142
- loadedWidth,
143
- index,
144
- photo,
145
- open,
146
- active,
147
- closing,
148
- loadingTimer,
149
- publicMethod,
150
- div = "div",
151
- requests = 0,
152
- previousCSS = {},
153
- init;
154
- function $tag(tag, id, css) {
155
- var element = document.createElement(tag);
156
-
157
- if (id) {
158
- element.id = prefix + id;
159
- }
160
-
161
- if (css) {
162
- element.style.cssText = css;
163
- }
164
-
165
- return $(element);
166
- }
167
- function winheight() {
168
- return window.innerHeight ? window.innerHeight : $(window).height();
169
- }
170
-
171
- function Settings(element, options) {
172
- if (options !== Object(options)) {
173
- options = {};
174
- }
175
-
176
- this.cache = {};
177
- this.el = element;
178
-
179
- this.value = function (key) {
180
- var dataAttr;
181
-
182
- if (this.cache[key] === undefined) {
183
- dataAttr = $(this.el).attr('data-cbox-' + key);
184
-
185
- if (dataAttr !== undefined) {
186
- this.cache[key] = dataAttr;
187
- } else if (options[key] !== undefined) {
188
- this.cache[key] = options[key];
189
- } else if (defaults[key] !== undefined) {
190
- this.cache[key] = defaults[key];
191
- }
192
- }
193
-
194
- return this.cache[key];
195
- };
196
-
197
- this.get = function (key) {
198
- var value = this.value(key);
199
- return $.isFunction(value) ? value.call(this.el, this) : value;
200
- };
201
- }
202
- function getIndex(increment) {
203
- var
204
- max = $related.length,
205
- newIndex = (index + increment) % max;
206
-
207
- return (newIndex < 0) ? max + newIndex : newIndex;
208
- }
209
- function setSize(size, dimension) {
210
- return Math.round((/%/.test(size) ? ((dimension === 'x' ? $window.width() : winheight()) / 100) : 1) * parseInt(size, 10));
211
- }
212
- function isImage(settings, url) {
213
- return settings.get('photo') || settings.get('photoRegex').test(url);
214
- }
215
-
216
- function retinaUrl(settings, url) {
217
- return settings.get('retinaUrl') && window.devicePixelRatio > 1 ? url.replace(settings.get('photoRegex'), settings.get('retinaSuffix')) : url;
218
- }
219
-
220
- function trapFocus(e) {
221
- if ('contains' in $box[0] && !$box[0].contains(e.target) && e.target !== $overlay[0]) {
222
- e.stopPropagation();
223
- $box.focus();
224
- }
225
- }
226
-
227
- function setClass(str) {
228
- if (setClass.str !== str) {
229
- $box.add($overlay).removeClass(setClass.str).addClass(str);
230
- setClass.str = str;
231
- }
232
- }
233
-
234
- function getRelated(rel) {
235
- index = 0;
236
-
237
- if (rel && rel !== false && rel !== 'nofollow') {
238
- $related = $('.' + boxElement).filter(function () {
239
- var options = $.data(this, colorbox);
240
- var settings = new Settings(this, options);
241
- return (settings.get('rel') === rel);
242
- });
243
- index = $related.index(settings.el);
244
- if (index === -1) {
245
- $related = $related.add(settings.el);
246
- index = $related.length - 1;
247
- }
248
- } else {
249
- $related = $(settings.el);
250
- }
251
- }
252
-
253
- function trigger(event) {
254
-
255
- $(document).trigger(event);
256
-
257
- $events.triggerHandler(event);
258
- }
259
-
260
- var slideshow = (function () {
261
- var active,
262
- className = prefix + "Slideshow_",
263
- click = "click." + prefix,
264
- timeOut;
265
-
266
- function clear() {
267
- clearTimeout(timeOut);
268
- }
269
-
270
- function set() {
271
- if (settings.get('loop') || $related[index + 1]) {
272
- clear();
273
- timeOut = setTimeout(publicMethod.next, settings.get('slideshowSpeed'));
274
- }
275
- }
276
-
277
- function start() {
278
- $slideshow
279
- .html(settings.get('slideshowStop'))
280
- .unbind(click)
281
- .one(click, stop);
282
-
283
- $events
284
- .bind(event_complete, set)
285
- .bind(event_load, clear);
286
-
287
- $box.removeClass(className + "off").addClass(className + "on");
288
- }
289
-
290
- function stop() {
291
- clear();
292
-
293
- $events
294
- .unbind(event_complete, set)
295
- .unbind(event_load, clear);
296
-
297
- $slideshow
298
- .html(settings.get('slideshowStart'))
299
- .unbind(click)
300
- .one(click, function () {
301
- publicMethod.next();
302
- start();
303
- });
304
-
305
- $box.removeClass(className + "on").addClass(className + "off");
306
- }
307
-
308
- function reset() {
309
- active = false;
310
- $slideshow.hide();
311
- clear();
312
- $events
313
- .unbind(event_complete, set)
314
- .unbind(event_load, clear);
315
- $box.removeClass(className + "off " + className + "on");
316
- }
317
-
318
- return function () {
319
- if (active) {
320
- if (!settings.get('slideshow')) {
321
- $events.unbind(event_cleanup, reset);
322
- reset();
323
- }
324
- } else {
325
- if (settings.get('slideshow') && $related[1]) {
326
- active = true;
327
- $events.one(event_cleanup, reset);
328
- if (settings.get('slideshowAuto')) {
329
- start();
330
- } else {
331
- stop();
332
- }
333
- $slideshow.show();
334
- }
335
- }
336
- };
337
-
338
- }());
339
- function launch(element) {
340
- var options;
341
-
342
- if (!closing) {
343
-
344
- options = $(element).data(colorbox);
345
-
346
- settings = new Settings(element, options);
347
-
348
- getRelated(settings.get('rel'));
349
-
350
- if (!open) {
351
- open = active = true;
352
-
353
- setClass(settings.get('className'));
354
- $box.css({visibility: 'hidden', display: 'block', opacity: ''});
355
-
356
- $loaded = $tag(div, 'LoadedContent', 'width:0; height:0; overflow:hidden; visibility:hidden');
357
- $content.css({width: '', height: ''}).append($loaded);
358
- interfaceHeight = $topBorder.height() + $bottomBorder.height() + $content.outerHeight(true) - $content.height();
359
- interfaceWidth = $leftBorder.width() + $rightBorder.width() + $content.outerWidth(true) - $content.width();
360
- loadedHeight = $loaded.outerHeight(true);
361
- loadedWidth = $loaded.outerWidth(true);
362
- var initialWidth = setSize(settings.get('initialWidth'), 'x');
363
- var initialHeight = setSize(settings.get('initialHeight'), 'y');
364
- var maxWidth = settings.get('maxWidth');
365
- var maxHeight = settings.get('maxHeight');
366
-
367
- settings.w = Math.max((maxWidth !== false ? Math.min(initialWidth, setSize(maxWidth, 'x')) : initialWidth) - loadedWidth - interfaceWidth, 0);
368
- settings.h = Math.max((maxHeight !== false ? Math.min(initialHeight, setSize(maxHeight, 'y')) : initialHeight) - loadedHeight - interfaceHeight, 0);
369
-
370
- $loaded.css({width: '', height: settings.h});
371
- publicMethod.position();
372
-
373
- trigger(event_open);
374
- settings.get('onOpen');
375
-
376
- $groupControls.add($title).hide();
377
-
378
- // $box.focus(); issue for fierfox long content click
379
-
380
- if (settings.get('trapFocus')) {
381
- if (document.addEventListener) {
382
-
383
- document.addEventListener('focus', trapFocus, true);
384
-
385
- $events.one(event_closed, function () {
386
- document.removeEventListener('focus', trapFocus, true);
387
- });
388
- }
389
- }
390
- if (settings.get('returnFocus')) {
391
- $events.one(event_closed, function () {
392
- $(settings.el).focus();
393
- });
394
- }
395
- }
396
-
397
- var opacity = parseFloat(settings.get('opacity'));
398
- $overlay.css({
399
- opacity: opacity === opacity ? opacity : '',
400
- cursor: settings.get('overlayClose') ? 'pointer' : '',
401
- visibility: 'visible'
402
- }).show();
403
-
404
- if (settings.get('closeButton')) {
405
- $close.html(settings.get('close')).appendTo($content);
406
- } else {
407
- $close.appendTo('<div/>');
408
- }
409
-
410
- load();
411
- }
412
- }
413
- function appendHTML(options) { /* options Received from publicMethod */
414
- if (!$box) {
415
- init = false;
416
- $window = $(window);
417
- $box = $tag(div).attr({
418
- id: colorbox,
419
- 'class': $.support.opacity === false ? prefix + 'IE' : '',
420
- role: 'dialog',
421
- tabindex: '-1'
422
- }).hide();
423
- $overlay = $tag(div, "Overlay").hide();
424
- $loadingOverlay = $([$tag(div, "LoadingOverlay")[0], $tag(div, "LoadingGraphic")[0]]);
425
- $wrap = $tag(div, "Wrapper");
426
- $content = $tag(div, "Content").append(
427
- $title = $tag(div, "Title"),
428
- $current = $tag(div, "Current"),
429
- $prev = $('<button type="button"/>').attr({id: prefix + 'Previous'}),
430
- $next = $('<button type="button"/>').attr({id: prefix + 'Next'}),
431
- $slideshow = $tag('button', "Slideshow"),
432
- $loadingOverlay
433
- );
434
-
435
- $close = $('<button type="button"/>').attr({id: prefix + 'Close'});
436
-
437
- $wrap.append(
438
- $tag(div).append(
439
- $tag(div, "TopLeft"),
440
- $topBorder = $tag(div, "TopCenter"),
441
- $tag(div, "TopRight")
442
- ),
443
- $tag(div, false, 'clear:left').append(
444
- $leftBorder = $tag(div, "MiddleLeft"),
445
- $content,
446
- $rightBorder = $tag(div, "MiddleRight")
447
- ),
448
- $tag(div, false, 'clear:left').append(
449
- $tag(div, "BottomLeft"),
450
- $bottomBorder = $tag(div, "BottomCenter"),
451
- $tag(div, "BottomRight")
452
- )
453
- ).find('div div').css({'float': 'left'});
454
-
455
- $loadingBay = $tag(div, false, 'position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;');
456
-
457
- $groupControls = $next.add($prev).add($current).add($slideshow);
458
- }
459
- if (document.body && !$box.parent().length) {
460
- $(document.body).append($overlay, $box.append($wrap, $loadingBay));
461
- }
462
- /* Start to set custom class and add to html */
463
- if(typeof options === 'object') {
464
- var popupId = options['popupId'];
465
-
466
- /*when popup id does not exist*/
467
- if(typeof popupId == 'undefined') {
468
- popupId = 0;
469
- }
470
-
471
- var customClass = defaults['customClass'];
472
- if(typeof options['className'] !== 'undefined' && options['className']){
473
- customClass = options['className'];
474
- }
475
- if(typeof options['overlayCutsomClassName'] !== 'undefined' && options['overlayCutsomClassName']) {
476
- overlayCutsomClassName = options['overlayCutsomClassName'];
477
- }
478
- else {
479
- overlayCutsomClassName = defaults['overlayCutsomClassName'];
480
- }
481
- if(typeof options['contentCustomClassName'] !== 'undefined' && options['contentCustomClassName']) {
482
- contentCustomClassName = options['contentCustomClassName'];
483
- }
484
- else {
485
- contentCustomClassName = defaults['contentCustomClassName'];
486
- }
487
-
488
- $box.addClass(customClass).addClass(contentCustomClassName+' sg-popup-content-'+popupId);
489
- $overlay.addClass(customClass).addClass(overlayCutsomClassName+' sg-popup-overlay-'+popupId);
490
- }
491
- /* End action */
492
- }
493
- function addBindings() {
494
- function clickHandler(e) {
495
- if (!(e.which > 1 || e.shiftKey || e.altKey || e.metaKey || e.ctrlKey)) {
496
- e.preventDefault();
497
- launch(this);
498
- }
499
- }
500
-
501
- if ($box) {
502
- if (!init) {
503
- init = true;
504
- $next.click(function () {
505
- publicMethod.next();
506
- });
507
- $prev.click(function () {
508
- publicMethod.prev();
509
- });
510
- $close.click(function () {
511
- publicMethod.close();
512
- });
513
- $overlay.click(function () {
514
- if (settings.get('overlayClose')) {
515
- publicMethod.close();
516
- }
517
- });
518
- $(document).bind('keydown.' + prefix, function (e) {
519
- var key = e.keyCode;
520
- if (open && settings.get('escKey') && key === 27) {
521
- e.preventDefault();
522
- publicMethod.close();
523
- }
524
- if (open && settings.get('arrowKey') && $related[1] && !e.altKey) {
525
- if (key === 37) {
526
- e.preventDefault();
527
- $prev.click();
528
- } else if (key === 39) {
529
- e.preventDefault();
530
- $next.click();
531
- }
532
- }
533
- });
534
-
535
- if ($.isFunction($.fn.on)) {
536
-
537
- $(document).on('click.' + prefix, '.' + boxElement, clickHandler);
538
- } else {
539
- $('.' + boxElement).live('click.' + prefix, clickHandler);
540
- }
541
- }
542
- return true;
543
- }
544
- return false;
545
- }
546
- if ($[colorbox]) {
547
- return;
548
- }
549
- $(appendHTML);
550
- publicMethod = $.fn[colorbox] = $[colorbox] = function (options, callback) {
551
- var settings;
552
- var $obj = this;
553
-
554
- options = options || {};
555
-
556
- if ($.isFunction($obj)) {
557
- $obj = $('<a/>');
558
- options.open = true;
559
- }
560
-
561
- if (!$obj[0]) {
562
- return $obj;
563
- }
564
-
565
- appendHTML(options); /* Send options for received custom class name*/
566
-
567
- if (addBindings()) {
568
-
569
- if (callback) {
570
- options.onComplete = callback;
571
- }
572
-
573
- $obj.each(function () {
574
- var old = $.data(this, colorbox) || {};
575
- $.data(this, colorbox, $.extend(old, options));
576
- }).addClass(boxElement);
577
-
578
- settings = new Settings($obj[0], options);
579
-
580
- if (settings.get('open')) {
581
- launch($obj[0]);
582
- }
583
- }
584
-
585
- return $obj;
586
- };
587
-
588
- publicMethod.position = function (speed, loadedCallback) {
589
- var
590
- css,
591
- top = 0,
592
- left = 0,
593
- offset = $box.offset(),
594
- scrollTop,
595
- scrollLeft;
596
-
597
- $window.unbind('resize.' + prefix);
598
- $box.css({top: -9e4, left: -9e4});
599
-
600
- scrollTop = $window.scrollTop();
601
- scrollLeft = $window.scrollLeft();
602
-
603
- if (settings.get('fixed')) {
604
- offset.top -= scrollTop;
605
- offset.left -= scrollLeft;
606
- $box.css({position: 'fixed'});
607
- } else {
608
- top = scrollTop;
609
- left = scrollLeft;
610
- $box.css({position: 'absolute'});
611
- }
612
- if (settings.get('right') !== false) {
613
- left += Math.max($window.width() - settings.w - loadedWidth - interfaceWidth - setSize(settings.get('right'), 'x'), 0);
614
- } else if (settings.get('left') !== false) {
615
- left += setSize(settings.get('left'), 'x');
616
- } else {
617
- left += Math.round(Math.max($window.width() - settings.w - loadedWidth - interfaceWidth, 0) / 2);
618
- }
619
-
620
- if (settings.get('bottom') !== false) {
621
- top += Math.max(winheight() - settings.h - loadedHeight - interfaceHeight - setSize(settings.get('bottom'), 'y'), 0);
622
- } else if (settings.get('top') !== false) {
623
- top += setSize(settings.get('top'), 'y');
624
- } else {
625
- top += Math.round(Math.max(winheight() - settings.h - loadedHeight - interfaceHeight, 0) / 2);
626
- }
627
-
628
- $box.css({top: offset.top, left: offset.left, visibility: 'visible'});
629
- $wrap[0].style.width = $wrap[0].style.height = "9999px";
630
-
631
- function modalDimensions() {
632
- $topBorder[0].style.width = $bottomBorder[0].style.width = $content[0].style.width = (parseInt($box[0].style.width, 10) - interfaceWidth) + 'px';
633
- $content[0].style.height = $leftBorder[0].style.height = $rightBorder[0].style.height = (parseInt($box[0].style.height, 10) - interfaceHeight) + 'px';
634
- }
635
-
636
- css = {
637
- width: settings.w + loadedWidth + interfaceWidth,
638
- height: settings.h + loadedHeight + interfaceHeight,
639
- top: top,
640
- left: left
641
- };
642
- if (speed) {
643
- var tempSpeed = 0;
644
- $.each(css, function (i) {
645
- if (css[i] !== previousCSS[i]) {
646
- tempSpeed = speed;
647
- return;
648
- }
649
- });
650
- speed = tempSpeed;
651
- }
652
-
653
- previousCSS = css;
654
-
655
- if (!speed) {
656
- $box.css(css);
657
- }
658
-
659
- $box.dequeue().animate(css, {
660
- duration: speed || 0,
661
- complete: function () {
662
- modalDimensions();
663
-
664
- active = false;
665
- $wrap[0].style.width = (settings.w + loadedWidth + interfaceWidth) + "px";
666
- $wrap[0].style.height = (settings.h + loadedHeight + interfaceHeight) + "px";
667
-
668
- if (settings.get('reposition')) {
669
- setTimeout(function () {
670
- $window.bind('resize.' + prefix, publicMethod.position);
671
- }, 1);
672
- }
673
-
674
- if ($.isFunction(loadedCallback)) {
675
- loadedCallback();
676
- }
677
- },
678
- step: modalDimensions
679
- });
680
- };
681
-
682
- publicMethod.resize = function (options) {
683
- var scrolltop;
684
-
685
- if (open) {
686
- options = options || {};
687
-
688
- if (options.width) {
689
- settings.w = setSize(options.width, 'x') - loadedWidth - interfaceWidth;
690
- }
691
-
692
- if (options.innerWidth) {
693
- settings.w = setSize(options.innerWidth, 'x');
694
- }
695
-
696
- $loaded.css({width: settings.w});
697
-
698
- if (options.height) {
699
- settings.h = setSize(options.height, 'y') - loadedHeight - interfaceHeight;
700
- }
701
-
702
- if (options.innerHeight) {
703
- settings.h = setSize(options.innerHeight, 'y');
704
- }
705
-
706
- if (!options.innerHeight && !options.height) {
707
- scrolltop = $loaded.scrollTop();
708
- $loaded.css({height: "auto"});
709
- settings.h = $loaded.height();
710
- }
711
-
712
- $loaded.css({height: settings.h});
713
-
714
- if (scrolltop) {
715
- $loaded.scrollTop(scrolltop);
716
- }
717
-
718
- publicMethod.position(settings.get('transition') === "none" ? 0 : settings.get('speed'));
719
- }
720
- };
721
-
722
- publicMethod.prep = function (object) {
723
- if (!open) {
724
- return;
725
- }
726
-
727
- var callback, speed = settings.get('transition') === "none" ? 0 : settings.get('speed');
728
-
729
- $loaded.remove();
730
-
731
- $loaded = $tag(div, 'LoadedContent').append(object);
732
-
733
- function getWidth() {
734
- settings.w = settings.w || $loaded.width();
735
- settings.w = settings.mw && settings.mw < settings.w ? settings.mw : settings.w;
736
- return settings.w;
737
- }
738
-
739
- function getHeight() {
740
- settings.h = settings.h || $loaded.height();
741
- settings.h = settings.mh && settings.mh < settings.h ? settings.mh : settings.h;
742
- return settings.h;
743
- }
744
-
745
- $loaded.hide()
746
- .appendTo($loadingBay.show())
747
- .css({width: getWidth(), overflow: settings.get('scrolling') ? 'auto' : 'hidden'})
748
- .css({height: getHeight()})
749
- .prependTo($content);
750
-
751
- $loadingBay.hide();
752
-
753
- $(photo).css({'float': 'none'});
754
-
755
- setClass(settings.get('className'));
756
-
757
- callback = function () {
758
- var total = $related.length,
759
- iframe,
760
- complete;
761
-
762
- if (!open) {
763
- return;
764
- }
765
-
766
- function removeFilter() {
767
- if ($.support.opacity === false) {
768
- $box[0].style.removeAttribute('filter');
769
- }
770
- }
771
-
772
- complete = function () {
773
- clearTimeout(loadingTimer);
774
- $loadingOverlay.hide();
775
- trigger(event_complete);
776
- settings.get('onComplete');
777
- };
778
- $title.html(settings.get('title')).show();
779
- $loaded.show();
780
-
781
- if (total > 1) {
782
- if (typeof settings.get('current') === "string") {
783
- $current.html(settings.get('current').replace('{current}', index + 1).replace('{total}', total)).show();
784
- }
785
-
786
- $next[(settings.get('loop') || index < total - 1) ? "show" : "hide"]().html(settings.get('next'));
787
- $prev[(settings.get('loop') || index) ? "show" : "hide"]().html(settings.get('previous'));
788
-
789
- slideshow();
790
- if (settings.get('preloading')) {
791
- $.each([getIndex(-1), getIndex(1)], function () {
792
- var img,
793
- i = $related[this],
794
- settings = new Settings(i, $.data(i, colorbox)),
795
- src = settings.get('href');
796
-
797
- if (src && isImage(settings, src)) {
798
- src = retinaUrl(settings, src);
799
- img = document.createElement('img');
800
- img.src = src;
801
- }
802
- });
803
- }
804
- } else {
805
- $groupControls.hide();
806
- }
807
-
808
- if (settings.get('iframe')) {
809
-
810
- iframe = settings.get('createIframe');
811
-
812
- if (!settings.get('scrolling')) {
813
- iframe.scrolling = "no";
814
- }
815
-
816
- $(iframe)
817
- .attr({
818
- src: settings.get('href'),
819
- 'class': prefix + 'Iframe'
820
- })
821
- .one('load', complete)
822
- .appendTo($loaded);
823
-
824
- $events.one(event_purge, function () {
825
- iframe.src = "//about:blank";
826
- });
827
-
828
- if (settings.get('fastIframe')) {
829
- $(iframe).trigger('load');
830
- }
831
- } else {
832
- complete();
833
- }
834
-
835
- if (settings.get('transition') === 'fade') {
836
- $box.fadeTo(speed, 1, removeFilter);
837
- } else {
838
- removeFilter();
839
- }
840
- };
841
-
842
- if (settings.get('transition') === 'fade') {
843
- $box.fadeTo(speed, 0, function () {
844
- publicMethod.position(0, callback);
845
- });
846
- } else {
847
- publicMethod.position(speed, callback);
848
- }
849
- };
850
-
851
- function load() {
852
- var href, setResize, prep = publicMethod.prep, $inline, request = ++requests;
853
-
854
- active = true;
855
-
856
- photo = false;
857
-
858
- trigger(event_purge);
859
- trigger(event_load);
860
- settings.get('onLoad');
861
-
862
- settings.h = settings.get('height') ?
863
- setSize(settings.get('height'), 'y') - loadedHeight - interfaceHeight :
864
- settings.get('innerHeight') && setSize(settings.get('innerHeight'), 'y');
865
-
866
- settings.w = settings.get('width') ?
867
- setSize(settings.get('width'), 'x') - loadedWidth - interfaceWidth :
868
- settings.get('innerWidth') && setSize(settings.get('innerWidth'), 'x');
869
- settings.mw = settings.w;
870
- settings.mh = settings.h;
871
- if (settings.get('maxWidth')) {
872
- settings.mw = setSize(settings.get('maxWidth'), 'x') - loadedWidth - interfaceWidth;
873
- settings.mw = settings.w && settings.w < settings.mw ? settings.w : settings.mw;
874
- }
875
- if (settings.get('maxHeight')) {
876
- settings.mh = setSize(settings.get('maxHeight'), 'y') - loadedHeight - interfaceHeight;
877
- settings.mh = settings.h && settings.h < settings.mh ? settings.h : settings.mh;
878
- }
879
-
880
- href = settings.get('href');
881
-
882
- loadingTimer = setTimeout(function () {
883
- $loadingOverlay.show();
884
- }, 100);
885
-
886
- if (settings.get('inline')) {
887
- var $target = $(href);
888
- $inline = $('<div>').hide().insertBefore($target);
889
-
890
- $events.one(event_purge, function () {
891
- $inline.replaceWith($target);
892
- });
893
-
894
- prep($target);
895
- } else if (settings.get('iframe')) {
896
- prep(" ");
897
- } else if (settings.get('html')) {
898
- prep(settings.get('html'));
899
- } else if (isImage(settings, href)) {
900
-
901
- href = retinaUrl(settings, href);
902
-
903
- photo = settings.get('createImg');
904
-
905
- $(photo)
906
- .addClass(prefix + 'Photo')
907
- .bind('error.' + prefix, function () {
908
- prep($tag(div, 'Error').html(settings.get('imgError')));
909
- })
910
- .one('load', function () {
911
- if (request !== requests) {
912
- return;
913
- }
914
- setTimeout(function () {
915
- var percent;
916
-
917
- if (settings.get('retinaImage') && window.devicePixelRatio > 1) {
918
- photo.height = photo.height / window.devicePixelRatio;
919
- photo.width = photo.width / window.devicePixelRatio;
920
- }
921
-
922
- if (settings.get('scalePhotos')) {
923
- setResize = function () {
924
- photo.height -= photo.height * percent;
925
- photo.width -= photo.width * percent;
926
- };
927
- if (settings.mw && photo.width > settings.mw) {
928
- percent = (photo.width - settings.mw) / photo.width;
929
- setResize();
930
- }
931
- if (settings.mh && photo.height > settings.mh) {
932
- percent = (photo.height - settings.mh) / photo.height;
933
- setResize();
934
- }
935
- }
936
-
937
- if (settings.h) {
938
- photo.style.marginTop = Math.max(settings.mh - photo.height, 0) / 2 + 'px';
939
- }
940
-
941
- if ($related[1] && (settings.get('loop') || $related[index + 1])) {
942
- photo.style.cursor = 'pointer';
943
-
944
- $(photo).bind('click.' + prefix, function () {
945
- publicMethod.next();
946
- });
947
- }
948
-
949
- photo.style.width = photo.width + 'px';
950
- photo.style.height = photo.height + 'px';
951
- prep(photo);
952
- }, 1);
953
- });
954
-
955
- photo.src = href;
956
-
957
- } else if (href) {
958
- $loadingBay.load(href, settings.get('data'), function (data, status) {
959
- if (request === requests) {
960
- prep(status === 'error' ? $tag(div, 'Error').html(settings.get('xhrError')) : $(this).contents());
961
- }
962
- });
963
- }
964
- }
965
- publicMethod.next = function () {
966
- if (!active && $related[1] && (settings.get('loop') || $related[index + 1])) {
967
- index = getIndex(1);
968
- launch($related[index]);
969
- }
970
- };
971
-
972
- publicMethod.prev = function () {
973
- if (!active && $related[1] && (settings.get('loop') || index)) {
974
- index = getIndex(-1);
975
- launch($related[index]);
976
- }
977
- };
978
- publicMethod.close = function () {
979
- if (open && !closing) {
980
-
981
- closing = true;
982
- open = false;
983
- trigger(event_cleanup);
984
- settings.get('onCleanup');
985
- $window.unbind('.' + prefix);
986
- $overlay.fadeTo(settings.get('fadeOut') || 0, 0);
987
-
988
- $box.stop().fadeTo(settings.get('fadeOut') || 0, 0, function () {
989
- $box.hide();
990
- $overlay.hide();
991
- trigger(event_purge);
992
- $loaded.remove();
993
-
994
- setTimeout(function () {
995
- closing = false;
996
- trigger(event_closed);
997
- settings.get('onClosed');
998
- }, 1);
999
- });
1000
- }
1001
- };
1002
-
1003
- publicMethod.remove = function () {
1004
- if (!$box) {
1005
- return;
1006
- }
1007
-
1008
- $box.stop();
1009
- $[colorbox].close();
1010
- $box.stop(false, true).remove();
1011
- $overlay.remove();
1012
- closing = false;
1013
- $box = null;
1014
- $('.' + boxElement)
1015
- .removeData(colorbox)
1016
- .removeClass(boxElement);
1017
-
1018
- $(document).unbind('click.' + prefix).unbind('keydown.' + prefix);
1019
- };
1020
-
1021
- publicMethod.element = function () {
1022
- return $(settings.el);
1023
- };
1024
-
1025
- publicMethod.settings = defaults;
1026
-
1027
- }(jQuery, document, window));
1
+ (function($,document,window){var
2
+ defaults={html:false,photo:false,iframe:false,inline:false,transition:"elastic",speed:300,fadeOut:300,width:false,initialWidth:"600",innerWidth:false,maxWidth:false,height:false,initialHeight:"450",innerHeight:false,maxHeight:false,scalePhotos:true,scrolling:true,opacity:0.9,preloading:true,className:false,overlayClose:true,escKey:true,arrowKey:true,top:false,bottom:false,left:false,right:false,fixed:false,data:undefined,closeButton:true,fastIframe:true,open:false,reposition:true,loop:true,slideshow:false,slideshowAuto:true,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,customClass:'colorbox1',retinaImage:false,retinaUrl:false,retinaSuffix:'@2x.$1',current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",contentCustomClassName:"sg-popup-content",overlayCutsomClassName:"sg-popup-overlay",returnFocus:true,trapFocus:true,onOpen:false,onLoad:false,onComplete:false,onCleanup:false,onClosed:false,rel:function(){return this.rel;},href:function(){return $(this).attr('href');},title:function(){return this.title;},createImg:function(){var img=new Image();var attrs=$(this).data('cbox-img-attrs');if(typeof attrs==='object'){$.each(attrs,function(key,val){img[key]=val;});}
3
+ return img;},createIframe:function(){var iframe=document.createElement('iframe');var attrs=$(this).data('cbox-iframe-attrs');if(typeof attrs==='object'){$.each(attrs,function(key,val){iframe[key]=val;});}
4
+ if('frameBorder'in iframe){iframe.frameBorder=0;}
5
+ if('allowTransparency'in iframe){iframe.allowTransparency="true";}
6
+ iframe.name=(new Date()).getTime();iframe.allowFullscreen=true;return iframe;}},colorbox='sgcolorbox',prefix='sgcbox',boxElement=prefix+'Element',event_open=prefix+'_open',event_load=prefix+'_load',event_complete=prefix+'_complete',event_cleanup=prefix+'_cleanup',event_closed=prefix+'_closed',event_purge=prefix+'_purge',$overlay,$box,$wrap,$content,$topBorder,$leftBorder,$rightBorder,$bottomBorder,$related,$window,$loaded,$loadingBay,$loadingOverlay,$title,$current,$slideshow,$next,$prev,$close,$groupControls,$events=$('<a/>'),settings,interfaceHeight,interfaceWidth,loadedHeight,loadedWidth,index,photo,open,active,closing,loadingTimer,publicMethod,div="div",requests=0,previousCSS={},init;function $tag(tag,id,css){var element=document.createElement(tag);if(id){element.id=prefix+id;}
7
+ if(css){element.style.cssText=css;}
8
+ return $(element);}
9
+ function winheight(){return window.innerHeight?window.innerHeight:$(window).height();}
10
+ function Settings(element,options){if(options!==Object(options)){options={};}
11
+ this.cache={};this.el=element;this.value=function(key){var dataAttr;if(this.cache[key]===undefined){dataAttr=$(this.el).attr('data-cbox-'+key);if(dataAttr!==undefined){this.cache[key]=dataAttr;}else if(options[key]!==undefined){this.cache[key]=options[key];}else if(defaults[key]!==undefined){this.cache[key]=defaults[key];}}
12
+ return this.cache[key];};this.get=function(key){var value=this.value(key);return $.isFunction(value)?value.call(this.el,this):value;};}
13
+ function getIndex(increment){var
14
+ max=$related.length,newIndex=(index+increment)%max;return(newIndex<0)?max+newIndex:newIndex;}
15
+ function setSize(size,dimension){return Math.round((/%/.test(size)?((dimension==='x'?$window.width():winheight())/100):1)*parseInt(size,10));}
16
+ function isImage(settings,url){return settings.get('photo')||settings.get('photoRegex').test(url);}
17
+ function retinaUrl(settings,url){return settings.get('retinaUrl')&&window.devicePixelRatio>1?url.replace(settings.get('photoRegex'),settings.get('retinaSuffix')):url;}
18
+ function trapFocus(e){if('contains'in $box[0]&&!$box[0].contains(e.target)&&e.target!==$overlay[0]){e.stopPropagation();$box.focus();}}
19
+ function setClass(str){if(setClass.str!==str){$box.add($overlay).removeClass(setClass.str).addClass(str);setClass.str=str;}}
20
+ function getRelated(rel){index=0;if(rel&&rel!==false&&rel!=='nofollow'){$related=$('.'+boxElement).filter(function(){var options=$.data(this,colorbox);var settings=new Settings(this,options);return(settings.get('rel')===rel);});index=$related.index(settings.el);if(index===-1){$related=$related.add(settings.el);index=$related.length-1;}}else{$related=$(settings.el);}}
21
+ function trigger(event){$(document).trigger(event);$events.triggerHandler(event);}
22
+ var slideshow=(function(){var active,className=prefix+"Slideshow_",click="click."+prefix,timeOut;function clear(){clearTimeout(timeOut);}
23
+ function set(){if(settings.get('loop')||$related[index+1]){clear();timeOut=setTimeout(publicMethod.next,settings.get('slideshowSpeed'));}}
24
+ function start(){$slideshow.html(settings.get('slideshowStop')).unbind(click).one(click,stop);$events.bind(event_complete,set).bind(event_load,clear);$box.removeClass(className+"off").addClass(className+"on");}
25
+ function stop(){clear();$events.unbind(event_complete,set).unbind(event_load,clear);$slideshow.html(settings.get('slideshowStart')).unbind(click).one(click,function(){publicMethod.next();start();});$box.removeClass(className+"on").addClass(className+"off");}
26
+ function reset(){active=false;$slideshow.hide();clear();$events.unbind(event_complete,set).unbind(event_load,clear);$box.removeClass(className+"off "+className+"on");}
27
+ return function(){if(active){if(!settings.get('slideshow')){$events.unbind(event_cleanup,reset);reset();}}else{if(settings.get('slideshow')&&$related[1]){active=true;$events.one(event_cleanup,reset);if(settings.get('slideshowAuto')){start();}else{stop();}
28
+ $slideshow.show();}}};}());function launch(element){var options;if(!closing){options=$(element).data(colorbox);settings=new Settings(element,options);getRelated(settings.get('rel'));if(!open){open=active=true;setClass(settings.get('className'));$box.css({visibility:'hidden',display:'block',opacity:''});$loaded=$tag(div,'LoadedContent','width:0; height:0; overflow:hidden; visibility:hidden');$content.css({width:'',height:''}).append($loaded);interfaceHeight=$topBorder.height()+$bottomBorder.height()+$content.outerHeight(true)-$content.height();interfaceWidth=$leftBorder.width()+$rightBorder.width()+$content.outerWidth(true)-$content.width();loadedHeight=$loaded.outerHeight(true);loadedWidth=$loaded.outerWidth(true);var initialWidth=setSize(settings.get('initialWidth'),'x');var initialHeight=setSize(settings.get('initialHeight'),'y');var maxWidth=settings.get('maxWidth');var maxHeight=settings.get('maxHeight');settings.w=Math.max((maxWidth!==false?Math.min(initialWidth,setSize(maxWidth,'x')):initialWidth)-loadedWidth-interfaceWidth,0);settings.h=Math.max((maxHeight!==false?Math.min(initialHeight,setSize(maxHeight,'y')):initialHeight)-loadedHeight-interfaceHeight,0);$loaded.css({width:'',height:settings.h});publicMethod.position();trigger(event_open);settings.get('onOpen');$groupControls.add($title).hide();if(settings.get('trapFocus')){if(document.addEventListener){document.addEventListener('focus',trapFocus,true);$events.one(event_closed,function(){document.removeEventListener('focus',trapFocus,true);});}}
29
+ if(settings.get('returnFocus')){$events.one(event_closed,function(){$(settings.el).focus();});}}
30
+ var opacity=parseFloat(settings.get('opacity'));$overlay.css({opacity:opacity===opacity?opacity:'',cursor:settings.get('overlayClose')?'pointer':'',visibility:'visible'}).show();if(settings.get('closeButton')){$close.html(settings.get('close')).appendTo($content);}else{$close.appendTo('<div/>');}
31
+ load();}}
32
+ function appendHTML(options){if(!$box){init=false;$window=$(window);$box=$tag(div).attr({id:colorbox,'class':$.support.opacity===false?prefix+'IE':'',role:'dialog',tabindex:'-1'}).hide();$overlay=$tag(div,"Overlay").hide();$loadingOverlay=$([$tag(div,"LoadingOverlay")[0],$tag(div,"LoadingGraphic")[0]]);$wrap=$tag(div,"Wrapper");$content=$tag(div,"Content").append($title=$tag(div,"Title"),$current=$tag(div,"Current"),$prev=$('<button type="button"/>').attr({id:prefix+'Previous'}),$next=$('<button type="button"/>').attr({id:prefix+'Next'}),$slideshow=$tag('button',"Slideshow"),$loadingOverlay);$close=$('<button type="button"/>').attr({id:prefix+'Close'});$wrap.append($tag(div).append($tag(div,"TopLeft"),$topBorder=$tag(div,"TopCenter"),$tag(div,"TopRight")),$tag(div,false,'clear:left').append($leftBorder=$tag(div,"MiddleLeft"),$content,$rightBorder=$tag(div,"MiddleRight")),$tag(div,false,'clear:left').append($tag(div,"BottomLeft"),$bottomBorder=$tag(div,"BottomCenter"),$tag(div,"BottomRight"))).find('div div').css({'float':'left'});$loadingBay=$tag(div,false,'position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;');$groupControls=$next.add($prev).add($current).add($slideshow);}
33
+ if(document.body&&!$box.parent().length){$(document.body).append($overlay,$box.append($wrap,$loadingBay));}
34
+ if(typeof options==='object'){var popupId=options['popupId'];if(typeof popupId=='undefined'){popupId=0;}
35
+ var customClass=defaults['customClass'];if(typeof options['className']!=='undefined'&&options['className']){customClass=options['className'];}
36
+ if(typeof options['overlayCutsomClassName']!=='undefined'&&options['overlayCutsomClassName']){overlayCutsomClassName=options['overlayCutsomClassName'];}
37
+ else{overlayCutsomClassName=defaults['overlayCutsomClassName'];}
38
+ if(typeof options['contentCustomClassName']!=='undefined'&&options['contentCustomClassName']){contentCustomClassName=options['contentCustomClassName'];}
39
+ else{contentCustomClassName=defaults['contentCustomClassName'];}
40
+ $box.addClass(customClass).addClass(contentCustomClassName+' sg-popup-content-'+popupId);$overlay.addClass(customClass).addClass(overlayCutsomClassName+' sg-popup-overlay-'+popupId);}}
41
+ function addBindings(){function clickHandler(e){if(!(e.which>1||e.shiftKey||e.altKey||e.metaKey||e.ctrlKey)){e.preventDefault();launch(this);}}
42
+ if($box){if(!init){init=true;$next.click(function(){publicMethod.next();});$prev.click(function(){publicMethod.prev();});$close.click(function(){publicMethod.close();});$overlay.click(function(){if(settings.get('overlayClose')){publicMethod.close();}});$(document).bind('keydown.'+prefix,function(e){var key=e.keyCode;if(open&&settings.get('escKey')&&key===27){e.preventDefault();publicMethod.close();}
43
+ if(open&&settings.get('arrowKey')&&$related[1]&&!e.altKey){if(key===37){e.preventDefault();$prev.click();}else if(key===39){e.preventDefault();$next.click();}}});if($.isFunction($.fn.on)){$(document).on('click.'+prefix,'.'+boxElement,clickHandler);}else{$('.'+boxElement).live('click.'+prefix,clickHandler);}}
44
+ return true;}
45
+ return false;}
46
+ if($[colorbox]){return;}
47
+ $(appendHTML);publicMethod=$.fn[colorbox]=$[colorbox]=function(options,callback){var settings;var $obj=this;options=options||{};if($.isFunction($obj)){$obj=$('<a/>');options.open=true;}
48
+ if(!$obj[0]){return $obj;}
49
+ appendHTML(options);if(addBindings()){if(callback){options.onComplete=callback;}
50
+ $obj.each(function(){var old=$.data(this,colorbox)||{};$.data(this,colorbox,$.extend(old,options));}).addClass(boxElement);settings=new Settings($obj[0],options);if(settings.get('open')){launch($obj[0]);}}
51
+ return $obj;};publicMethod.position=function(speed,loadedCallback){var
52
+ css,top=0,left=0,offset=$box.offset(),scrollTop,scrollLeft;$window.unbind('resize.'+prefix);$box.css({top:-9e4,left:-9e4});scrollTop=$window.scrollTop();scrollLeft=$window.scrollLeft();if(settings.get('fixed')){offset.top-=scrollTop;offset.left-=scrollLeft;$box.css({position:'fixed'});}else{top=scrollTop;left=scrollLeft;$box.css({position:'absolute'});}
53
+ if(settings.get('right')!==false){left+=Math.max($window.width()-settings.w-loadedWidth-interfaceWidth-setSize(settings.get('right'),'x'),0);}else if(settings.get('left')!==false){left+=setSize(settings.get('left'),'x');}else{left+=Math.round(Math.max($window.width()-settings.w-loadedWidth-interfaceWidth,0)/2);}
54
+ if(settings.get('bottom')!==false){top+=Math.max(winheight()-settings.h-loadedHeight-interfaceHeight-setSize(settings.get('bottom'),'y'),0);}else if(settings.get('top')!==false){top+=setSize(settings.get('top'),'y');}else{top+=Math.round(Math.max(winheight()-settings.h-loadedHeight-interfaceHeight,0)/2);}
55
+ $box.css({top:offset.top,left:offset.left,visibility:'visible'});$wrap[0].style.width=$wrap[0].style.height="9999px";function modalDimensions(){$topBorder[0].style.width=$bottomBorder[0].style.width=$content[0].style.width=(parseInt($box[0].style.width,10)-interfaceWidth)+'px';$content[0].style.height=$leftBorder[0].style.height=$rightBorder[0].style.height=(parseInt($box[0].style.height,10)-interfaceHeight)+'px';}
56
+ css={width:settings.w+loadedWidth+interfaceWidth,height:settings.h+loadedHeight+interfaceHeight,top:top,left:left};if(speed){var tempSpeed=0;$.each(css,function(i){if(css[i]!==previousCSS[i]){tempSpeed=speed;return;}});speed=tempSpeed;}
57
+ previousCSS=css;if(!speed){$box.css(css);}
58
+ $box.dequeue().animate(css,{duration:speed||0,complete:function(){modalDimensions();active=false;$wrap[0].style.width=(settings.w+loadedWidth+interfaceWidth)+"px";$wrap[0].style.height=(settings.h+loadedHeight+interfaceHeight)+"px";if(settings.get('reposition')){setTimeout(function(){$window.bind('resize.'+prefix,publicMethod.position);},1);}
59
+ if($.isFunction(loadedCallback)){loadedCallback();}},step:modalDimensions});};publicMethod.sgpbResize=function(options){var scrolltop;if(open){options=options||{};if(options.width){settings.w=setSize(options.width,'x')-loadedWidth-interfaceWidth;}
60
+ if(options.innerWidth){settings.w=setSize(options.innerWidth,'x');}
61
+ $loaded.css({width:settings.w});if(options.height){settings.h=setSize(options.height,'y')-loadedHeight-interfaceHeight;}
62
+ if(options.innerHeight){settings.h=setSize(options.innerHeight,'y');}
63
+ if(!options.innerHeight&&!options.height){scrolltop=$loaded.scrollTop();$loaded.css({height:"auto"});settings.h=$loaded.height();}
64
+ $loaded.css({height:settings.h});if(scrolltop){$loaded.scrollTop(scrolltop);}
65
+ publicMethod.sgpbPosition(settings.get('transition')==="none"?0:settings.get('speed'));}};publicMethod.sgpbPosition=function(speed,loadedCallback){var
66
+ css,top=0,left=0,offset=$box.offset(),scrollTop,scrollLeft;$window.unbind('resize.'+prefix);$box.css({top:-9e4,left:-9e4});scrollTop=$window.scrollTop();scrollLeft=$window.scrollLeft();if(settings.get('fixed')){offset.top-=scrollTop;offset.left-=scrollLeft;$box.css({position:'fixed'});}else{top=scrollTop;left=scrollLeft;$box.css({position:'absolute'});}
67
+ if(settings.get('right')!==false){left+=Math.max($window.width()-settings.w-loadedWidth-interfaceWidth-setSize(settings.get('right'),'x'),0);}else if(settings.get('left')!==false){left+=setSize(settings.get('left'),'x');}else{left+=Math.round(Math.max($window.width()-settings.w-loadedWidth-interfaceWidth,0)/2);}
68
+ if(settings.get('bottom')!==false){top+=Math.max(winheight()-settings.h-loadedHeight-interfaceHeight-setSize(settings.get('bottom'),'y'),0);}else if(settings.get('top')!==false){top+=setSize(settings.get('top'),'y');}else{top+=Math.round(Math.max(winheight()-settings.h-loadedHeight-interfaceHeight,0)/2);}
69
+ $box.css({top:offset.top,left:offset.left,visibility:'visible'});$wrap[0].style.width=$wrap[0].style.height="9999px";function modalDimensions(){$topBorder[0].style.width=$bottomBorder[0].style.width=$content[0].style.width=(parseInt($box[0].style.width,10)-interfaceWidth)+'px';$content[0].style.height=$leftBorder[0].style.height=$rightBorder[0].style.height=(parseInt($box[0].style.height,10)-interfaceHeight)+'px';}
70
+ css={width:settings.w+loadedWidth+interfaceWidth,height:settings.h+loadedHeight+interfaceHeight,top:top,left:left};if(speed){var tempSpeed=0;$.each(css,function(i){if(css[i]!==previousCSS[i]){tempSpeed=speed;return;}});speed=tempSpeed;}
71
+ previousCSS=css;if(!speed){$box.css(css);}
72
+ $box.dequeue().animate(css,{duration:speed||0,complete:function(){modalDimensions();active=false;$wrap[0].style.width=(settings.w+loadedWidth+interfaceWidth)+"px";$wrap[0].style.height=(settings.h+loadedHeight+interfaceHeight)+"px";if($.isFunction(loadedCallback)){loadedCallback();}},step:modalDimensions});};publicMethod.resize=function(options){var scrolltop;if(open){options=options||{};if(options.width){settings.w=setSize(options.width,'x')-loadedWidth-interfaceWidth;}
73
+ if(options.innerWidth){settings.w=setSize(options.innerWidth,'x');}
74
+ $loaded.css({width:settings.w});if(options.height){settings.h=setSize(options.height,'y')-loadedHeight-interfaceHeight;}
75
+ if(options.innerHeight){settings.h=setSize(options.innerHeight,'y');}
76
+ if(!options.innerHeight&&!options.height){scrolltop=$loaded.scrollTop();$loaded.css({height:"auto"});settings.h=$loaded.height();}
77
+ $loaded.css({height:settings.h});if(scrolltop){$loaded.scrollTop(scrolltop);}
78
+ publicMethod.position(settings.get('transition')==="none"?0:settings.get('speed'));}};publicMethod.prep=function(object){if(!open){return;}
79
+ var callback,speed=settings.get('transition')==="none"?0:settings.get('speed');$loaded.remove();$loaded=$tag(div,'LoadedContent').append(object);function getWidth(){settings.w=settings.w||$loaded.width();settings.w=settings.mw&&settings.mw<settings.w?settings.mw:settings.w;return settings.w;}
80
+ function getHeight(){settings.h=settings.h||$loaded.height();settings.h=settings.mh&&settings.mh<settings.h?settings.mh:settings.h;return settings.h;}
81
+ $loaded.hide().appendTo($loadingBay.show()).css({width:getWidth(),overflow:settings.get('scrolling')?'auto':'hidden'}).css({height:getHeight()}).prependTo($content);$loadingBay.hide();$(photo).css({'float':'none'});setClass(settings.get('className'));callback=function(){var total=$related.length,iframe,complete;if(!open){return;}
82
+ function removeFilter(){if($.support.opacity===false){$box[0].style.removeAttribute('filter');}}
83
+ complete=function(){clearTimeout(loadingTimer);$loadingOverlay.hide();trigger(event_complete);settings.get('onComplete');};$title.html(settings.get('title')).show();$loaded.show();if(total>1){if(typeof settings.get('current')==="string"){$current.html(settings.get('current').replace('{current}',index+1).replace('{total}',total)).show();}
84
+ $next[(settings.get('loop')||index<total-1)?"show":"hide"]().html(settings.get('next'));$prev[(settings.get('loop')||index)?"show":"hide"]().html(settings.get('previous'));slideshow();if(settings.get('preloading')){$.each([getIndex(-1),getIndex(1)],function(){var img,i=$related[this],settings=new Settings(i,$.data(i,colorbox)),src=settings.get('href');if(src&&isImage(settings,src)){src=retinaUrl(settings,src);img=document.createElement('img');img.src=src;}});}}else{$groupControls.hide();}
85
+ if(settings.get('iframe')){iframe=settings.get('createIframe');if(!settings.get('scrolling')){iframe.scrolling="no";}
86
+ $(iframe).attr({src:settings.get('href'),'class':prefix+'Iframe'}).one('load',complete).appendTo($loaded);$events.one(event_purge,function(){iframe.src="//about:blank";});if(settings.get('fastIframe')){$(iframe).trigger('load');}}else{complete();}
87
+ if(settings.get('transition')==='fade'){$box.fadeTo(speed,1,removeFilter);}else{removeFilter();}};if(settings.get('transition')==='fade'){$box.fadeTo(speed,0,function(){publicMethod.position(0,callback);});}else{publicMethod.position(speed,callback);}};function load(){var href,setResize,prep=publicMethod.prep,$inline,request=++requests;active=true;photo=false;trigger(event_purge);trigger(event_load);settings.get('onLoad');settings.h=settings.get('height')?setSize(settings.get('height'),'y')-loadedHeight-interfaceHeight:settings.get('innerHeight')&&setSize(settings.get('innerHeight'),'y');settings.w=settings.get('width')?setSize(settings.get('width'),'x')-loadedWidth-interfaceWidth:settings.get('innerWidth')&&setSize(settings.get('innerWidth'),'x');settings.mw=settings.w;settings.mh=settings.h;if(settings.get('maxWidth')){settings.mw=setSize(settings.get('maxWidth'),'x')-loadedWidth-interfaceWidth;settings.mw=settings.w&&settings.w<settings.mw?settings.w:settings.mw;}
88
+ if(settings.get('maxHeight')){settings.mh=setSize(settings.get('maxHeight'),'y')-loadedHeight-interfaceHeight;settings.mh=settings.h&&settings.h<settings.mh?settings.h:settings.mh;}
89
+ href=settings.get('href');loadingTimer=setTimeout(function(){$loadingOverlay.show();},100);if(settings.get('inline')){var $target=$(href);$inline=$('<div>').hide().insertBefore($target);$events.one(event_purge,function(){$inline.replaceWith($target);});prep($target);}else if(settings.get('iframe')){prep(" ");}else if(settings.get('html')){prep(settings.get('html'));}else if(isImage(settings,href)){href=retinaUrl(settings,href);photo=settings.get('createImg');$(photo).addClass(prefix+'Photo').bind('error.'+prefix,function(){prep($tag(div,'Error').html(settings.get('imgError')));}).one('load',function(){if(request!==requests){return;}
90
+ setTimeout(function(){var percent;if(settings.get('retinaImage')&&window.devicePixelRatio>1){photo.height=photo.height/window.devicePixelRatio;photo.width=photo.width/window.devicePixelRatio;}
91
+ if(settings.get('scalePhotos')){setResize=function(){photo.height-=photo.height*percent;photo.width-=photo.width*percent;};if(settings.mw&&photo.width>settings.mw){percent=(photo.width-settings.mw)/photo.width;setResize();}
92
+ if(settings.mh&&photo.height>settings.mh){percent=(photo.height-settings.mh)/photo.height;setResize();}}
93
+ if(settings.h){photo.style.marginTop=Math.max(settings.mh-photo.height,0)/2+'px';}
94
+ if($related[1]&&(settings.get('loop')||$related[index+1])){photo.style.cursor='pointer';$(photo).bind('click.'+prefix,function(){publicMethod.next();});}
95
+ photo.style.width=photo.width+'px';photo.style.height=photo.height+'px';prep(photo);},1);});photo.src=href;}else if(href){$loadingBay.load(href,settings.get('data'),function(data,status){if(request===requests){prep(status==='error'?$tag(div,'Error').html(settings.get('xhrError')):$(this).contents());}});}}
96
+ publicMethod.next=function(){if(!active&&$related[1]&&(settings.get('loop')||$related[index+1])){index=getIndex(1);launch($related[index]);}};publicMethod.prev=function(){if(!active&&$related[1]&&(settings.get('loop')||index)){index=getIndex(-1);launch($related[index]);}};publicMethod.close=function(){if(open&&!closing){closing=true;open=false;trigger(event_cleanup);settings.get('onCleanup');$window.unbind('.'+prefix);$overlay.fadeTo(settings.get('fadeOut')||0,0);$box.stop().fadeTo(settings.get('fadeOut')||0,0,function(){$box.hide();$overlay.hide();trigger(event_purge);$loaded.remove();setTimeout(function(){closing=false;trigger(event_closed);settings.get('onClosed');},1);});}};publicMethod.remove=function(){if(!$box){return;}
97
+ $box.stop();$[colorbox].close();$box.stop(false,true).remove();$overlay.remove();closing=false;$box=null;$('.'+boxElement).removeData(colorbox).removeClass(boxElement);$(document).unbind('click.'+prefix).unbind('keydown.'+prefix);};publicMethod.element=function(){return $(settings.el);};publicMethod.settings=defaults;}(jQuery,document,window));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
javascript/sg_popup_frontend.js CHANGED
@@ -1,908 +1,77 @@
1
- function SGPopup() {
2
-
3
- this.positionLeft = '';
4
- this.positionTop = '';
5
- this.positionBottom = '';
6
- this.positionRight = '';
7
- this.initialPositionTop = '';
8
- this.initialPositionLeft = '';
9
- this.isOnLoad = '';
10
- this.openOnce = '';
11
- this.numberLimit = '';
12
- this.popupData = new Array();
13
- this.popupEscKey = true;
14
- this.popupOverlayClose = true;
15
- this.popupContentClick = false;
16
- this.popupCloseButton = true;
17
- this.sgTrapFocus = true;
18
- this.popupType = '';
19
- this.popupClassEvents = ['hover'];
20
- this.eventExecuteCountByClass = 0;
21
- this.sgEventExecuteCount = 0;
22
-
23
- this.sgColorboxContentTypeReset();
24
- }
25
-
26
- SGPopup.prototype.sgColorboxContentTypeReset = function () {
27
-
28
- /*colorbox settings mode*/
29
- this.sgColorboxHtml = false;
30
- this.sgColorboxPhoto = false;
31
- this.sgColorboxIframe = false;
32
- this.sgColorboxHref = false;
33
- this.sgColorboxInline = false;
34
- };
35
-
36
- /*Popup thems default paddings where key is theme number value padding*/
37
- SGPopup.sgColorBoxDeafults = {1 : 70, 2: 34, 3: 30, 4 : 70, 5 : 62, 6: 70};
38
-
39
- SGPopup.prototype.popupOpenById = function (popupId) {
40
-
41
- var sgOnScrolling = (SG_POPUP_DATA [popupId]['onScrolling']) ? SG_POPUP_DATA [popupId]['onScrolling'] : '';
42
- var sgInActivity = (SG_POPUP_DATA [popupId]['inActivityStatus']) ? SG_POPUP_DATA [popupId]['inActivityStatus'] : '';
43
- var autoClosePopup = (SG_POPUP_DATA [popupId]['autoClosePopup']) ? SG_POPUP_DATA [popupId]['autoClosePopup'] : '';
44
-
45
- if (sgOnScrolling) {
46
- this.onScrolling(popupId);
47
- }
48
- else if (sgInActivity) {
49
- this.showPopupAfterInactivity(popupId);
50
- }
51
- else {
52
- this.showPopup(popupId, true);
53
- }
54
- };
55
-
56
- SGPopup.getCookie = function (cName) {
57
-
58
- var name = cName + "=";
59
- var ca = document.cookie.split(';');
60
- for (var i = 0; i < ca.length; i++) {
61
- var c = ca[i];
62
- while (c.charAt(0) == ' ') {
63
- c = c.substring(1);
64
- }
65
- if (c.indexOf(name) == 0) {
66
- return c.substring(name.length, c.length);
67
- }
68
- }
69
- return "";
70
- };
71
-
72
- SGPopup.deleteCookie = function (name) {
73
-
74
- document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;';
75
- };
76
-
77
- SGPopup.setCookie = function (cName, cValue, exDays, cPageLevel) {
78
-
79
- var expirationDate = new Date();
80
- var cookiePageLevel = '';
81
- var cookieExpirationData = 1;
82
- if (!exDays || isNaN(exDays)) {
83
- exDays = 365 * 50;
84
- }
85
- if (typeof cPageLevel == 'undefined') {
86
- cPageLevel = false;
87
- }
88
- expirationDate.setDate(expirationDate.getDate() + exDays);
89
- cookieExpirationData = expirationDate.toUTCString();
90
- var expires = 'expires='+cookieExpirationData;
91
-
92
- if (exDays == -1) {
93
- expires = '';
94
- }
95
-
96
- if (cPageLevel) {
97
- cookiePageLevel = 'path=/;';
98
- }
99
-
100
- var value = cValue + ((exDays == null) ? ";" : "; " + expires + ";" + cookiePageLevel);
101
- document.cookie = cName + "=" + value;
102
- };
103
-
104
- SGPopup.prototype.init = function () {
105
-
106
- var that = this;
107
-
108
- this.onCompleate();
109
- this.popupOpenByCookie();
110
- this.attacheShortCodeEvent();
111
- this.attacheClickEvent();
112
- this.attacheIframeEvent();
113
- this.attacheConfirmEvent();
114
- this.popupClassEventsTrigger();
115
- };
116
-
117
- SGPopup.prototype.attacheShortCodeEvent = function () {
118
-
119
- var that = this;
120
-
121
- jQuery(".sg-show-popup").each(function () {
122
- var popupEvent = jQuery(this).attr("data-popup-event");
123
- if (typeof popupEvent == 'undefined') {
124
- popupEvent = 'click';
125
- }
126
- /* For counting execute and did it one time for popup open */
127
- that.sgEventExecuteCount = 0;
128
- jQuery(this).bind(popupEvent, function () {
129
- that.sgEventExecuteCount += 1;
130
- if (that.sgEventExecuteCount > 1) {
131
- return;
132
- }
133
- var sgPopupID = jQuery(this).attr("data-sgpopupid");
134
- that.showPopup(sgPopupID, false);
135
- });
136
- });
137
- };
138
-
139
- SGPopup.prototype.attacheConfirmEvent = function () {
140
-
141
- var that = this;
142
-
143
- jQuery("[class*='sg-confirm-popup-']").each(function () {
144
- jQuery(this).bind("click", function (e) {
145
- e.preventDefault();
146
- var currentLink = jQuery(this);
147
- var className = jQuery(this).attr("class");
148
-
149
- var sgPopupId = that.findPopupIdFromClassNames(className, "sg-confirm-popup-");
150
-
151
- jQuery('#sgcolorbox').bind("sgPopupClose", function () {
152
- var target = currentLink.attr("target");
153
-
154
- if (typeof target == 'undefined') {
155
- target = "self";
156
- }
157
- var href = currentLink.attr("href");
158
-
159
- if (target == "_blank") {
160
- window.open(href);
161
- }
162
- else {
163
- window.location.href = href;
164
- }
165
- });
166
- that.showPopup(sgPopupId, false);
167
- })
168
- });
169
- };
170
-
171
- SGPopup.prototype.attacheIframeEvent = function () {
172
-
173
- var that = this;
174
- /* When user set popup by class name */
175
- jQuery("[class*='sg-iframe-popup-']").each(function () {
176
- var currentLink = jQuery(this);
177
- jQuery(this).bind("click", function (e) {
178
- e.preventDefault();
179
- var className = jQuery(this).attr("class");
180
-
181
- var sgPopupId = that.findPopupIdFromClassNames(className, "sg-iframe-popup-");
182
-
183
- /*This update for dynamic open iframe url for same popup*/
184
- var linkUrl = currentLink.attr("href");
185
-
186
- if (typeof linkUrl == 'undefined') {
187
- var childLinkTag = currentLink.find('a');
188
- linkUrl = childLinkTag.attr("href");
189
- }
190
-
191
- SG_POPUP_DATA[sgPopupId]['iframe'] = linkUrl;
192
-
193
- that.showPopup(sgPopupId, false);
194
- });
195
- });
196
- };
197
-
198
- SGPopup.prototype.attacheClickEvent = function () {
199
-
200
- var that = this;
201
- /* When user set popup by class name */
202
- jQuery("[class*='sg-popup-id-']").each(function () {
203
- jQuery(this).bind("click", function () {
204
- var className = jQuery(this).attr("class");
205
- var sgPopupId = that.findPopupIdFromClassNames(className, "sg-popup-id-");
206
-
207
- that.showPopup(sgPopupId, false);
208
- })
209
- });
210
- };
211
-
212
- SGPopup.prototype.popupClassEventsTrigger = function () {
213
-
214
- var popupEvents = this.popupClassEvents;
215
- var that = this;
216
-
217
- if(popupEvents.length > 0) {
218
-
219
- for (var i in popupEvents) {
220
- var eventName = popupEvents[i];
221
-
222
- that.attacheCustomEvent(eventName);
223
- }
224
- }
225
- };
226
-
227
- SGPopup.prototype.attacheCustomEvent = function (eventName) {
228
-
229
- if(typeof eventName == 'undefined' || eventName == '' ) {
230
- return;
231
- }
232
- var that = this;
233
-
234
- jQuery("[class*='sg-popup-"+eventName+"-']").each(function () {
235
- var eventCount = that.eventExecuteCountByClass;
236
- jQuery(this).bind(eventName, function () {
237
- eventCount = ++that.eventExecuteCountByClass;
238
- if (eventCount > 1) {
239
- return;
240
- }
241
- var className = jQuery(this).attr("class");
242
- var sgPopupId = that.findPopupIdFromClassNames(className, 'sg-popup-'+eventName+'-');
243
-
244
- that.showPopup(sgPopupId, false);
245
- })
246
- });
247
- };
248
-
249
- SGPopup.prototype.popupOpenByCookie = function () {
250
-
251
- var popupId = SGPopup.getCookie("sgSubmitReloadingForm");
252
- popupId = parseInt(popupId);
253
-
254
- if (typeof popupId == 'number') {
255
- this.showPopup(popupId, false);
256
- }
257
- };
258
-
259
- SGPopup.prototype.findPopupIdFromClassNames = function (className, classKey) {
260
-
261
- var classSplitArray = className.split(classKey);
262
- var classIdString = classSplitArray['1'];
263
- /*Get first all number from string*/
264
- var popupId = classIdString.match(/^\d+/);
265
-
266
- return popupId;
267
- };
268
-
269
- SGPopup.prototype.hexToRgba = function (hex, opacity){
270
-
271
- var c;
272
- if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(hex)){
273
- c = hex.substring(1).split('');
274
-
275
- if(c.length == 3){
276
- c= [c[0], c[0], c[1], c[1], c[2], c[2]];
277
- }
278
- c = '0x'+c.join('');
279
- return 'rgba('+[(c>>16)&255, (c>>8)&255, c&255].join(',')+','+opacity+')';
280
- }
281
- throw new Error('Bad Hex');
282
- };
283
-
284
-
285
- SGPopup.prototype.sgCustomizeThemes = function (popupId) {
286
-
287
- var popupData = SG_POPUP_DATA[popupId];
288
- var borderRadiues = popupData['sg3ThemeBorderRadiues'];
289
- var popupContentOpacity = popupData['popup-background-opacity'];
290
- var popupContentColor = jQuery('#sgcboxContent').css('background-color');
291
- var contentBackgroundColor = popupData['sg-content-background-color'];
292
- var changedColor = popupContentColor.replace(')', ', '+popupContentOpacity+')').replace('rgb', 'rgba');
293
-
294
- if(contentBackgroundColor != '') {
295
- changedColor = this.hexToRgba(contentBackgroundColor, popupContentOpacity);
296
- }
297
-
298
-
299
- if (popupData['theme'] == "colorbox3.css") {
300
- var borderColor = popupData['sgTheme3BorderColor'];
301
- var borderRadiues = popupData['sgTheme3BorderRadius'];
302
- jQuery("#sgcboxLoadedContent").css({'border-color': borderColor});
303
- jQuery("#sgcboxLoadedContent").css({'border-radius': borderRadiues + "%"});
304
- jQuery("#sgcboxContent").css({'border-radius': borderRadiues + "%"})
305
- }
306
-
307
- jQuery('#sgcboxContent').css({'background-color': changedColor});
308
- jQuery('#sgcboxLoadedContent').css({'background-color': changedColor})
309
-
310
- };
311
-
312
- SGPopup.prototype.onCompleate = function () {
313
-
314
- jQuery("#sgcolorbox").bind("sgColorboxOnCompleate", function () {
315
-
316
- /* Scroll only inside popup */
317
- jQuery('#sgcboxLoadedContent').isolatedScroll();
318
- });
319
- this.isolatedScroll();
320
- };
321
-
322
- SGPopup.prototype.isolatedScroll = function () {
323
-
324
- jQuery.fn.isolatedScroll = function () {
325
- this.bind('mousewheel DOMMouseScroll', function (e) {
326
- var delta = e.wheelDelta || (e.originalEvent && e.originalEvent.wheelDelta) || -e.detail,
327
- bottomOverflow = this.scrollTop + jQuery(this).outerHeight() - this.scrollHeight >= 0,
328
- topOverflow = this.scrollTop <= 0;
329
-
330
- if ((delta < 0 && bottomOverflow) || (delta > 0 && topOverflow)) {
331
- e.preventDefault();
332
- }
333
- });
334
- return this;
335
- };
336
- };
337
-
338
- SGPopup.prototype.sgPopupScalingDimensions = function () {
339
-
340
- var popupWrapper = jQuery("#sgcboxWrapper").outerWidth();
341
- var screenWidth = jQuery(window).width();
342
- /*popupWrapper != 9999 for resizing case when colorbox is calculated popup dimensions*/
343
- if (popupWrapper > screenWidth && popupWrapper != 9999) {
344
- var scaleDegree = screenWidth / popupWrapper;
345
- jQuery("#sgcboxWrapper").css({
346
- "transform-origin": "0 0 !important",
347
- 'transform': "scale(" + scaleDegree + ", 1)"
348
- });
349
- popupWrapper = 0;
350
- }
351
- else {
352
- jQuery("#sgcboxWrapper").css({
353
- "transform-origin": "0 0 !important",
354
- 'transform': "scale(1, 1)"
355
- })
356
- }
357
- };
358
-
359
- SGPopup.prototype.sgPopupScaling = function () {
360
-
361
- var that = this;
362
- jQuery("#sgcolorbox").bind("sgColorboxOnCompleate", function () {
363
- that.sgPopupScalingDimensions();
364
- });
365
- jQuery(window).resize(function () {
366
- setTimeout(function () {
367
- that.sgPopupScalingDimensions();
368
- }, 1000);
369
- });
370
- };
371
-
372
- SGPopup.prototype.varToBool = function (optionName) {
373
-
374
- var returnValue = (optionName) ? true : false;
375
- return returnValue;
376
- };
377
-
378
- SGPopup.prototype.canOpenPopup = function (id, openOnce, isOnLoad) {
379
-
380
- if (!isOnLoad) {
381
- return true;
382
- }
383
-
384
- var currentCookies = SGPopup.getCookie('sgPopupCookieList');
385
- if (currentCookies) {
386
- currentCookies = JSON.parse(currentCookies);
387
-
388
- for (var cookieIndex in currentCookies) {
389
- var cookieName = currentCookies[cookieIndex];
390
- var cookieData = SGPopup.getCookie(cookieName + id);
391
-
392
- if (cookieData) {
393
- return false;
394
- }
395
- }
396
- }
397
-
398
- var popupCookie = SGPopup.getCookie('sgPopupDetails' + id);
399
- var popupType = this.popupType;
400
-
401
- /*for popup this often case */
402
- if (openOnce && popupCookie != '') {
403
- return this.canOpenOnce(id);
404
- }
405
-
406
- return true;
407
- };
408
-
409
- SGPopup.prototype.setFixedPosition = function (sgPositionLeft, sgPositionTop, sgPositionBottom, sgPositionRight, sgFixedPositionTop, sgFixedPositionLeft) {
410
-
411
- this.positionLeft = sgPositionLeft;
412
- this.positionTop = sgPositionTop;
413
- this.positionBottom = sgPositionBottom;
414
- this.positionRight = sgPositionRight;
415
- this.initialPositionTop = sgFixedPositionTop;
416
- this.initialPositionLeft = sgFixedPositionLeft;
417
- };
418
-
419
- SGPopup.prototype.percentToPx = function (percentDimention, screenDimension) {
420
-
421
- var dimension = parseInt(percentDimention) * screenDimension / 100;
422
- return dimension;
423
- };
424
-
425
- SGPopup.prototype.getPositionPercent = function (needPercent, screenDimension, dimension) {
426
-
427
- var sgPosition = (((this.percentToPx(needPercent, screenDimension) - dimension / 2) / screenDimension) * 100) + "%";
428
- return sgPosition;
429
- };
430
-
431
- SGPopup.prototype.showPopup = function (id, isOnLoad) {
432
-
433
- var that = this;
434
-
435
- /*When id does not exist*/
436
- if (!id) {
437
- return;
438
- }
439
-
440
- this.popupData = SG_POPUP_DATA[id];
441
- if (typeof this.popupData == "undefined") {
442
- return;
443
- }
444
- this.popupType = this.popupData['type'];
445
- this.isOnLoad = isOnLoad;
446
- this.openOnce = this.varToBool(this.popupData['repeatPopup']);
447
- this.numberLimit = this.popupData['popup-appear-number-limit'];
448
-
449
- if (typeof that.removeCookie !== 'undefined') {
450
- that.removeCookie(this.openOnce);
451
- }
452
-
453
- if (!this.canOpenPopup(this.popupData['id'], this.openOnce, isOnLoad)) {
454
- return;
455
- }
456
-
457
- popupColorboxUrl = SG_APP_POPUP_URL + '/style/sgcolorbox/sgthemes.css';
458
- head = document.getElementsByTagName('head')[0];
459
- link = document.createElement('link');
460
- link.type = "text/css";
461
- link.id = "sg_colorbox_theme-css";
462
- link.rel = "stylesheet";
463
- link.href = popupColorboxUrl;
464
- document.getElementsByTagName('head')[0].appendChild(link);
465
- var img = document.createElement('img');
466
- sgAddEvent(img, "error", function () {
467
- that.sgShowColorboxWithOptions();
468
- });
469
- setTimeout(function () {
470
- img.src = popupColorboxUrl;
471
- }, 0);
472
- };
473
-
474
- SGPopup.setToPopupsCookiesList = function (cookieName) {
475
-
476
- var currentCookies = SGPopup.getCookie('sgPopupCookieList');
477
-
478
- if (!currentCookies) {
479
- currentCookies = [];
480
- }
481
- else {
482
- currentCookies = JSON.parse(currentCookies);
483
- }
484
-
485
- if (jQuery.inArray(cookieName, currentCookies) == -1) {
486
- cookieName = currentCookies.push(cookieName);
487
- }
488
-
489
- SGPopup.deleteCookie('sgPopupCookieList');
490
- var currentCookies = JSON.stringify(currentCookies);
491
- SGPopup.setCookie('sgPopupCookieList', currentCookies, 365, true);
492
- };
493
-
494
- SGPopup.prototype.popupThemeDefaultMeasure = function () {
495
-
496
- var themeName = this.popupData['theme'];
497
- var defaults = SGPopup.sgColorBoxDeafults;
498
- /*return theme id*/
499
- var themeId = themeName.replace( /(^.+\D)(\d+)(\D.+$)/i,'$2');
500
-
501
- return defaults[themeId];
502
- };
503
-
504
- SGPopup.prototype.changePopupSettings = function () {
505
-
506
- var popupData = this.popupData;
507
- var popupDimensionMode = popupData['popup-dimension-mode'];
508
- var popupResponsiveDimensionMeasure = popupData['popup-responsive-dimension-measure'];
509
- if(popupDimensionMode == 'responsiveMode') {
510
-
511
- if(popupResponsiveDimensionMeasure == 'auto') {
512
- this.popupMaxWidth = '100%';
513
- }
514
- }
515
- };
516
-
517
- SGPopup.prototype.resizeDimension = function () {
518
-
519
- var resizeTimer;
520
- var themeDefault = this.popupThemeDefaultMeasure();
521
- var responsiveMeasure = this.popupData['popup-responsive-dimension-measure'];
522
-
523
- function resizeColorBox() {
524
- if (resizeTimer) clearTimeout(resizeTimer);
525
- resizeTimer = setTimeout(function() {
526
- if (jQuery('#sgcboxOverlay').is(':visible')) {
527
- var width = jQuery(window).width();
528
- var contentHeight = jQuery('#sgcboxLoadedContent')[0].scrollHeight+themeDefault;
529
-
530
- var contentWidth = jQuery.sgcolorbox.settings.width;
531
-
532
- /*For tablet case*/
533
- if( width >= 768 && width <= 959 ) {
534
- contentWidth = '82%';
535
- }
536
- else if( width >= 480 && width <= 767 ) {
537
- /*For >= iphone 5s*/
538
- contentWidth = '88%';
539
- }
540
- else if( width <= 479 ) {
541
- /*For small devices*/
542
- contentWidth = '94%';
543
- }
544
- else {
545
- contentWidth = responsiveMeasure+'%';
546
- }
547
- jQuery.sgcolorbox.settings.width = contentWidth;
548
-
549
- jQuery.sgcolorbox.resize({
550
- 'width': contentWidth,
551
- 'height': contentHeight
552
- });
553
- }
554
- }, 350)
555
- }
556
-
557
- jQuery(window).resize(resizeColorBox);
558
- window.addEventListener("orientationchange", resizeColorBox, false);
559
- };
560
-
561
- SGPopup.prototype.sgColorboxContentMode = function() {
562
-
563
- var that = this;
564
-
565
- this.sgColorboxContentTypeReset();
566
- var popupType = this.popupData['type'];
567
- var popupHtml = (this.popupData['html'] == '') ? '&nbsp;' : this.popupData['html'];
568
- var popupImage = this.popupData['image'];
569
- var popupIframeUrl = this.popupData['iframe'];
570
- var popupVideo = this.popupData['video'];
571
- var popupId = this.popupData['id'];
572
-
573
- popupImage = (popupImage) ? popupImage : false;
574
- popupVideo = (popupVideo) ? popupVideo : false;
575
- popupIframeUrl = (popupIframeUrl) ? popupIframeUrl : false;
576
-
577
- if(popupType == 'image') {
578
- this.sgColorboxPhoto = true;
579
- this.sgColorboxHref = popupImage;
580
- }
581
-
582
- if(popupIframeUrl) {
583
- this.sgColorboxIframe = true;
584
- this.sgColorboxHref = popupIframeUrl;
585
- }
586
-
587
- if(popupVideo) {
588
- this.sgColorboxIframe = true;
589
- this.sgColorboxHref = popupVideo;
590
- }
591
-
592
- /*this condition jQuery('#sg-popup-content-wrapper-'+popupId).length != 0 for backward compatibility*/
593
- if(popupHtml && jQuery('#sg-popup-content-wrapper-'+popupId).length != 0) {
594
- this.sgColorboxInline = true;
595
- this.sgColorboxHref = '#sg-popup-content-wrapper-'+popupId;
596
- }
597
- else {
598
- this.sgColorboxHtml = popupHtml;
599
- }
600
- };
601
-
602
- SGPopup.prototype.sgShowColorboxWithOptions = function () {
603
-
604
- var that = this;
605
- setTimeout(function () {
606
-
607
- var sgPopupFixed = that.varToBool(that.popupData['popupFixed']);
608
- var popupId = that.popupData['id'];
609
- that.popupOverlayClose = that.varToBool(that.popupData['overlayClose']);
610
- that.popupContentClick = that.varToBool(that.popupData['contentClick']);
611
- var popupReposition = that.varToBool(that.popupData['reposition']);
612
- var popupScrolling = that.varToBool(that.popupData['scrolling']);
613
- var popupScaling = that.varToBool(that.popupData['scaling']);
614
- that.popupEscKey = that.varToBool(that.popupData['escKey']);
615
- that.popupCloseButton = that.varToBool(that.popupData['closeButton']);
616
- var countryStatus = that.varToBool(that.popupData['countryStatus']);
617
- var popupForMobile = that.varToBool(that.popupData['forMobile']);
618
- var onlyMobile = that.varToBool(that.popupData['openMobile']);
619
- var popupCantClose = that.varToBool(that.popupData['disablePopup']);
620
- var disablePopupOverlay = that.varToBool(that.popupData['disablePopupOverlay']);
621
- var popupAutoClosePopup = that.varToBool(that.popupData['autoClosePopup']);
622
- var saveCookiePageLevel = that.varToBool(that.popupData['save-cookie-page-level']);
623
- var popupClosingTimer = that.popupData['popupClosingTimer'];
624
-
625
- if (popupScaling) {
626
- that.sgPopupScaling();
627
- }
628
- if (popupCantClose) {
629
- that.cantPopupClose();
630
- }
631
- that.popupMaxWidth = that.popupData['maxWidth'];
632
- var popupPosition = that.popupData['fixedPostion'];
633
- var popupVideo = that.popupData['video'];
634
- var popupOverlayColor = that.popupData['sgOverlayColor'];
635
- var contentBackgroundColor = that.popupData['sg-content-background-color'];
636
- var popupDimensionMode = that.popupData['popup-dimension-mode'];
637
- var popupResponsiveDimensionMeasure = that.popupData['popup-responsive-dimension-measure'];
638
- var popupWidth = that.popupData['width'];
639
- var popupHeight = that.popupData['height'];
640
- var popupOpacity = that.popupData['opacity'];
641
- var popupMaxHeight = that.popupData['maxHeight'];
642
- var popupInitialWidth = that.popupData['initialWidth'];
643
- var popupInitialHeight = that.popupData['initialHeight'];
644
- var popupEffectDuration = that.popupData['duration'];
645
- var popupEffect = that.popupData['effect'];
646
- var contentClickBehavior = that.popupData['content-click-behavior'];
647
- var clickRedirectToUrl = that.popupData['click-redirect-to-url'];
648
- var redirectToNewTab = that.popupData['redirect-to-new-tab'];
649
- var pushToBottom = that.popupData['pushToBottom'];
650
- var onceExpiresTime = parseInt(that.popupData['onceExpiresTime']);
651
- var sgType = that.popupData['type'];
652
- var overlayCustomClass = that.popupData['sgOverlayCustomClasss'];
653
- var contentCustomClass = that.popupData['sgContentCustomClasss'];
654
- var popupTheme = that.popupData['theme'];
655
- var themeStringLength = popupTheme.length;
656
- var customClassName = popupTheme.substring(0, themeStringLength - 4);
657
- var closeButtonText = that.popupData['theme-close-text'];
658
-
659
- that.sgColorboxContentMode();
660
-
661
- if(popupDimensionMode == 'responsiveMode') {
662
-
663
- popupWidth = '';
664
- if(popupResponsiveDimensionMeasure != 'auto') {
665
- popupWidth = parseInt(popupResponsiveDimensionMeasure)+'%';
666
- }
667
- popupHeight = '';
668
- }
669
-
670
- if (popupVideo) {
671
- if (popupWidth == '') {
672
- popupWidth = '50%';
673
- }
674
- if (popupHeight == '') {
675
- popupHeight = '50%';
676
- }
677
- }
678
- var sgScreenWidth = jQuery(window).width();
679
- var sgScreenHeight = jQuery(window).height();
680
-
681
- var sgIsWidthInPercent = popupWidth.indexOf("%");
682
- var sgIsHeightInPercent = popupHeight.indexOf("%");
683
- var sgPopupHeightPx = popupHeight;
684
- var sgPopupWidthPx = popupWidth;
685
- if (sgIsWidthInPercent != -1) {
686
- sgPopupWidthPx = that.percentToPx(popupWidth, sgScreenWidth);
687
- }
688
- if (sgIsHeightInPercent != -1) {
689
- sgPopupHeightPx = that.percentToPx(popupHeight, sgScreenHeight);
690
- }
691
- /*for when width or height in px*/
692
- sgPopupWidthPx = parseInt(sgPopupWidthPx);
693
- sgPopupHeightPx = parseInt(sgPopupHeightPx);
694
-
695
- var popupPositionTop = that.getPositionPercent("50%", sgScreenHeight, sgPopupHeightPx);
696
- var popupPositionLeft = that.getPositionPercent("50%", sgScreenWidth, sgPopupWidthPx);
697
-
698
- if (popupPosition == 1) { // Left Top
699
- that.setFixedPosition('0%', '3%', false, false, 0, 0);
700
- }
701
- else if (popupPosition == 2) { // Left Top
702
- that.setFixedPosition(popupPositionLeft, '3%', false, false, 0, 50);
703
- }
704
- else if (popupPosition == 3) { //Right Top
705
- that.setFixedPosition(false, '3%', false, '0%', 0, 90);
706
- }
707
- else if (popupPosition == 4) { // Left Center
708
- that.setFixedPosition('0%', popupPositionTop, false, false, popupPositionTop, 0);
709
- }
710
- else if (popupPosition == 5) { // center Center
711
- sgPopupFixed = true;
712
- that.setFixedPosition(false, false, false, false, 50, 50);
713
- }
714
- else if (popupPosition == 6) { // Right Center
715
- that.setFixedPosition('0%', popupPositionTop, false, '0%', 50, 90);
716
- }
717
- else if (popupPosition == 7) { // Left Bottom
718
- that.setFixedPosition('0%', false, '0%', false, 90, 0);
719
- }
720
- else if (popupPosition == 8) { // Center Bottom
721
- that.setFixedPosition(popupPositionLeft, false, '0%', false, 90, 50);
722
- }
723
- else if (popupPosition == 9) { // Right Bottom
724
- that.setFixedPosition(false, false, '0%', '0%', 90, 90);
725
- }
726
- if (!sgPopupFixed) {
727
- that.setFixedPosition(false, false, false, false, 50, 50);
728
- }
729
-
730
- var userDevice = false;
731
- if (popupForMobile) {
732
- userDevice = that.forMobile();
733
- }
734
-
735
- if (popupAutoClosePopup) {
736
- setTimeout(that.autoClosePopup, popupClosingTimer * 1000);
737
- }
738
-
739
- if (disablePopupOverlay) {
740
- that.sgTrapFocus = false;
741
- that.disablePopupOverlay();
742
- }
743
-
744
- if (onlyMobile) {
745
- var openOnlyMobile = false;
746
- openOnlyMobile = that.forMobile();
747
- if (openOnlyMobile == false) {
748
- return;
749
- }
750
- }
751
-
752
- if (userDevice) {
753
- return;
754
- }
755
- that.changePopupSettings();
756
- SG_POPUP_SETTINGS = {
757
- popupId: popupId,
758
- html: that.sgColorboxHtml,
759
- photo: that.sgColorboxPhoto,
760
- iframe: that.sgColorboxIframe,
761
- href: that.sgColorboxHref,
762
- inline: that.sgColorboxInline,
763
- width: popupWidth,
764
- height: popupHeight,
765
- className: customClassName,
766
- close: closeButtonText,
767
- overlayCutsomClassName: overlayCustomClass,
768
- contentCustomClassName: contentCustomClass,
769
- onOpen: function () {
770
- jQuery('#sgcolorbox').removeAttr('style');
771
- jQuery('#sgcolorbox').removeAttr('left');
772
- jQuery('#sgcolorbox').css('top', '' + that.initialPositionTop + '%');
773
- jQuery('#sgcolorbox').css('left', '' + that.initialPositionLeft + '%');
774
- jQuery('#sgcolorbox').css('animation-duration', popupEffectDuration + "s");
775
- jQuery('#sgcolorbox').css('-webkit-animation-duration', popupEffectDuration + "s");
776
- jQuery("#sgcolorbox").addClass('sg-animated ' + popupEffect + '');
777
- jQuery("#sgcboxOverlay").addClass("sgcboxOverlayBg");
778
- jQuery("#sgcboxOverlay").removeAttr('style');
779
-
780
- if (popupOverlayColor) {
781
- jQuery("#sgcboxOverlay").css({'background': 'none', 'background-color': popupOverlayColor});
782
- }
783
-
784
- jQuery('#sgcolorbox').trigger("sgColorboxOnOpen", []);
785
-
786
- },
787
- onLoad: function () {
788
- },
789
- onComplete: function () {
790
- if (contentBackgroundColor) {
791
- jQuery("#sgcboxLoadedContent").css({'background-color': contentBackgroundColor});
792
- }
793
- jQuery("#sgcboxLoadedContent").addClass("sg-current-popup-" + that.popupData['id']);
794
- jQuery('#sgcolorbox').trigger("sgColorboxOnCompleate", [pushToBottom]);
795
-
796
- var sgpopupInit = new SgPopupInit(that.popupData);
797
- sgpopupInit.overallInit();
798
- /* For specific popup Like Countdown AgeRestcion popups */
799
- sgpopupInit.initByPopupType();
800
- that.sgCustomizeThemes(that.popupData['id']);
801
- if(popupDimensionMode == 'responsiveMode') {
802
- that.resizeDimension();
803
- }
804
- },
805
- onCleanup: function () {
806
- jQuery('#sgcolorbox').trigger("sgPopupCleanup", []);
807
- },
808
- onClosed: function () {
809
- jQuery("#sgcboxLoadedContent").removeClass("sg-current-popup-" + that.popupData['id']);
810
- jQuery('#sgcolorbox').trigger("sgPopupClose", []);
811
- },
812
- trapFocus: that.sgTrapFocus,
813
- opacity: popupOpacity,
814
- escKey: that.popupEscKey,
815
- closeButton: that.popupCloseButton,
816
- fixed: sgPopupFixed,
817
- top: that.positionTop,
818
- bottom: that.positionBottom,
819
- left: that.positionLeft,
820
- right: that.positionRight,
821
- scrolling: popupScrolling,
822
- reposition: popupReposition,
823
- overlayClose: that.popupOverlayClose,
824
- maxWidth: that.popupMaxWidth,
825
- maxHeight: popupMaxHeight,
826
- initialWidth: popupInitialWidth,
827
- initialHeight: popupInitialHeight
828
- };
829
-
830
- if(popupDimensionMode == 'responsiveMode') {
831
- /*colorbox open speed*/
832
- SG_POPUP_SETTINGS.speed = 10;
833
- }
834
- jQuery.sgcolorbox(SG_POPUP_SETTINGS);
835
-
836
-
837
- if (countryStatus == true && typeof SgUserData != "undefined") {
838
- jQuery.cookie("SG_POPUP_USER_COUNTRY_NAME", SgUserData.countryIsoName, {expires: 365});
839
- }
840
- /* Cookie can't be set here as it's set in Age Restriction popup when the user clicks "yes" */
841
- if (that.popupData['id'] && that.isOnLoad == true && that.openOnce != '' && that.popupData['type'] != "ageRestriction") {
842
- var sgCookieData = '';
843
- if (!saveCookiePageLevel) {
844
- jQuery.cookie.defaults = {path: '/'};
845
- }
846
-
847
- var currentCookie = jQuery.cookie('sgPopupDetails' + that.popupData['id']);
848
-
849
- if (typeof currentCookie == 'undefined') {
850
- var openCounter = 1;
851
- }
852
- else {
853
- var currentCookie = JSON.parse(jQuery.cookie('sgPopupDetails' + that.popupData['id']));
854
- var openCounter = currentCookie.openCounter += 1;
855
- }
856
- sgCookieData = {
857
- 'popupId': that.popupData['id'],
858
- 'openCounter': openCounter,
859
- 'openLimit': that.numberLimit
860
- };
861
- jQuery.cookie("sgPopupDetails" + that.popupData['id'], JSON.stringify(sgCookieData), {expires: onceExpiresTime});
862
- }
863
-
864
- if (that.popupContentClick) {
865
- jQuery("#sgcolorbox").bind("sgColorboxOnCompleate", function () {
866
- /* If has url for redirect */
867
- if ((contentClickBehavior !== 'close' || clickRedirectToUrl !== '') && typeof contentClickBehavior !== 'undefined') {
868
- jQuery('#sgcolorbox').css({
869
- "cursor": 'pointer'
870
- });
871
- }
872
-
873
- jQuery(".sg-current-popup-" + that.popupData['id']).bind('click', function () {
874
- if (contentClickBehavior == 'close' || clickRedirectToUrl == '' || typeof contentClickBehavior == 'undefined') {
875
- jQuery.sgcolorbox.close();
876
- }
877
- else {
878
- if (!redirectToNewTab) {
879
- window.location = clickRedirectToUrl;
880
- }
881
- else {
882
- window.open(clickRedirectToUrl);
883
- }
884
- }
885
-
886
- });
887
- });
888
- }
889
-
890
- jQuery('#sgcolorbox').bind('sgPopupClose', function (e) {
891
- /* reset event execute count for popup open */
892
- that.sgEventExecuteCount = 0;
893
- that.eventExecuteCountByClass = 0;
894
- jQuery('#sgcolorbox').removeClass(customClassName);
895
- /* Remove custom class for another popup */
896
- jQuery('#sgcboxOverlay').removeClass(customClassName);
897
- jQuery('#sgcolorbox').removeClass(popupEffect);
898
- /* Remove animated effect for another popup */
899
- });
900
-
901
- }, this.popupData['delay'] * 1000);
902
- };
903
-
904
- jQuery(document).ready(function ($) {
905
-
906
- var popupObj = new SGPopup();
907
- popupObj.init();
908
- });
1
+ function SGPopup(){this.positionLeft='';this.positionTop='';this.positionBottom='';this.positionRight='';this.initialPositionTop='';this.initialPositionLeft='';this.isOnLoad='';this.openOnce='';this.numberLimit='';this.popupData=new Array();this.popupEscKey=true;this.popupOverlayClose=true;this.popupContentClick=false;this.popupCloseButton=true;this.sgTrapFocus=true;this.popupType='';this.popupClassEvents=['hover'];this.eventExecuteCountByClass=0;this.sgEventExecuteCount=0;this.sgColorboxContentTypeReset();}
2
+ SGPopup.prototype.sgColorboxContentTypeReset=function(){this.sgColorboxHtml=false;this.sgColorboxPhoto=false;this.sgColorboxIframe=false;this.sgColorboxHref=false;this.sgColorboxInline=false;};SGPopup.sgColorBoxDeafults={1:70,2:34,3:30,4:70,5:62,6:70};SGPopup.prototype.popupOpenById=function(popupId){var sgOnScrolling=(SG_POPUP_DATA[popupId]['onScrolling'])?SG_POPUP_DATA[popupId]['onScrolling']:'';var sgInActivity=(SG_POPUP_DATA[popupId]['inActivityStatus'])?SG_POPUP_DATA[popupId]['inActivityStatus']:'';var autoClosePopup=(SG_POPUP_DATA[popupId]['autoClosePopup'])?SG_POPUP_DATA[popupId]['autoClosePopup']:'';if(sgOnScrolling){this.onScrolling(popupId);}
3
+ else if(sgInActivity){this.showPopupAfterInactivity(popupId);}
4
+ else{this.showPopup(popupId,true);}};SGPopup.getCookie=function(cName){var name=cName+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1);}
5
+ if(c.indexOf(name)==0){return c.substring(name.length,c.length);}}
6
+ return"";};SGPopup.deleteCookie=function(name){document.cookie=name+'=; expires=Thu, 01 Jan 1970 00:00:01 GMT;';};SGPopup.setCookie=function(cName,cValue,exDays,cPageLevel){var expirationDate=new Date();var cookiePageLevel='';var cookieExpirationData=1;if(!exDays||isNaN(exDays)){exDays=365*50;}
7
+ if(typeof cPageLevel=='undefined'){cPageLevel=false;}
8
+ expirationDate.setDate(expirationDate.getDate()+exDays);cookieExpirationData=expirationDate.toUTCString();var expires='expires='+cookieExpirationData;if(exDays==-1){expires='';}
9
+ if(cPageLevel){cookiePageLevel='path=/;';}
10
+ var value=cValue+((exDays==null)?";":"; "+expires+";"+cookiePageLevel);document.cookie=cName+"="+value;};SGPopup.prototype.init=function(){var that=this;this.onCompleate();this.popupOpenByCookie();this.attacheShortCodeEvent();this.attacheClickEvent();this.attacheIframeEvent();this.attacheConfirmEvent();this.popupClassEventsTrigger();};SGPopup.prototype.attacheShortCodeEvent=function(){var that=this;jQuery(".sg-show-popup").each(function(){var popupEvent=jQuery(this).attr("data-popup-event");if(typeof popupEvent=='undefined'){popupEvent='click';}
11
+ that.sgEventExecuteCount=0;jQuery(this).bind(popupEvent,function(){that.sgEventExecuteCount+=1;if(that.sgEventExecuteCount>1){return;}
12
+ var sgPopupID=jQuery(this).attr("data-sgpopupid");that.showPopup(sgPopupID,false);});});};SGPopup.prototype.attacheConfirmEvent=function(){var that=this;jQuery("[class*='sg-confirm-popup-']").each(function(){jQuery(this).bind("click",function(e){e.preventDefault();var currentLink=jQuery(this);var className=jQuery(this).attr("class");var sgPopupId=that.findPopupIdFromClassNames(className,"sg-confirm-popup-");jQuery('#sgcolorbox').bind("sgPopupClose",function(){var target=currentLink.attr("target");if(typeof target=='undefined'){target="self";}
13
+ var href=currentLink.attr("href");if(target=="_blank"){window.open(href);}
14
+ else{window.location.href=href;}});that.showPopup(sgPopupId,false);})});};SGPopup.prototype.attacheIframeEvent=function(){var that=this;jQuery("[class*='sg-iframe-popup-']").each(function(){var currentLink=jQuery(this);jQuery(this).bind("click",function(e){e.preventDefault();var className=jQuery(this).attr("class");var sgPopupId=that.findPopupIdFromClassNames(className,"sg-iframe-popup-");var linkUrl=currentLink.attr("href");if(typeof linkUrl=='undefined'){var childLinkTag=currentLink.find('a');linkUrl=childLinkTag.attr("href");}
15
+ SG_POPUP_DATA[sgPopupId]['iframe']=linkUrl;that.showPopup(sgPopupId,false);});});};SGPopup.prototype.attacheClickEvent=function(){var that=this;jQuery("[class*='sg-popup-id-']").each(function(){jQuery(this).bind("click",function(e){e.preventDefault();var className=jQuery(this).attr("class");var sgPopupId=that.findPopupIdFromClassNames(className,"sg-popup-id-");that.showPopup(sgPopupId,false);})});};SGPopup.prototype.popupClassEventsTrigger=function(){var popupEvents=this.popupClassEvents;var that=this;if(popupEvents.length>0){for(var i in popupEvents){var eventName=popupEvents[i];that.attacheCustomEvent(eventName);}}};SGPopup.prototype.attacheCustomEvent=function(eventName){if(typeof eventName=='undefined'||eventName==''){return;}
16
+ var that=this;jQuery("[class*='sg-popup-"+eventName+"-']").each(function(){var eventCount=that.eventExecuteCountByClass;jQuery(this).bind(eventName,function(){eventCount=++that.eventExecuteCountByClass;if(eventCount>1){return;}
17
+ var className=jQuery(this).attr("class");var sgPopupId=that.findPopupIdFromClassNames(className,'sg-popup-'+eventName+'-');that.showPopup(sgPopupId,false);})});};SGPopup.prototype.popupOpenByCookie=function(){var popupId=SGPopup.getCookie("sgSubmitReloadingForm");popupId=parseInt(popupId);if(typeof popupId=='number'){this.showPopup(popupId,false);}};SGPopup.prototype.findPopupIdFromClassNames=function(className,classKey){var classSplitArray=className.split(classKey);var classIdString=classSplitArray['1'];var popupId=classIdString.match(/^\d+/);return popupId;};SGPopup.prototype.hexToRgba=function(hex,opacity){var c;if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(hex)){c=hex.substring(1).split('');if(c.length==3){c=[c[0],c[0],c[1],c[1],c[2],c[2]];}
18
+ c='0x'+c.join('');return'rgba('+[(c>>16)&255,(c>>8)&255,c&255].join(',')+','+opacity+')';}
19
+ throw new Error('Bad Hex');};SGPopup.prototype.sgCustomizeThemes=function(popupId){var popupData=SG_POPUP_DATA[popupId];var borderRadiues=popupData['sg3ThemeBorderRadiues'];var popupContentOpacity=popupData['popup-background-opacity'];var popupContentColor=jQuery('#sgcboxContent').css('background-color');var contentBackgroundColor=popupData['sg-content-background-color'];var changedColor=popupContentColor.replace(')',', '+popupContentOpacity+')').replace('rgb','rgba');if(contentBackgroundColor!=''){changedColor=this.hexToRgba(contentBackgroundColor,popupContentOpacity);}
20
+ if(popupData['theme']=="colorbox3.css"){var borderColor=popupData['sgTheme3BorderColor'];var borderRadiues=popupData['sgTheme3BorderRadius'];jQuery("#sgcboxLoadedContent").css({'border-color':borderColor});jQuery("#sgcboxLoadedContent").css({'border-radius':borderRadiues+"%"});jQuery("#sgcboxContent").css({'border-radius':borderRadiues+"%"})}
21
+ jQuery('#sgcboxContent').css({'background-color':changedColor});jQuery('#sgcboxLoadedContent').css({'background-color':changedColor})};SGPopup.prototype.onCompleate=function(){jQuery("#sgcolorbox").bind("sgColorboxOnCompleate",function(){jQuery('#sgcboxLoadedContent').isolatedScroll();});this.isolatedScroll();};SGPopup.prototype.isolatedScroll=function(){jQuery.fn.isolatedScroll=function(){this.bind('mousewheel DOMMouseScroll',function(e){var delta=e.wheelDelta||(e.originalEvent&&e.originalEvent.wheelDelta)||-e.detail,bottomOverflow=this.scrollTop+jQuery(this).outerHeight()-this.scrollHeight>=0,topOverflow=this.scrollTop<=0;if((delta<0&&bottomOverflow)||(delta>0&&topOverflow)){e.preventDefault();}});return this;};};SGPopup.prototype.sgPopupScalingDimensions=function(){var popupWrapper=jQuery("#sgcboxWrapper").outerWidth();var screenWidth=jQuery(window).width();if(popupWrapper>screenWidth&&popupWrapper!=9999){var scaleDegree=screenWidth/popupWrapper;jQuery("#sgcboxWrapper").css({"transform-origin":"0 0 !important",'transform':"scale("+scaleDegree+", 1)"});popupWrapper=0;}
22
+ else{jQuery("#sgcboxWrapper").css({"transform-origin":"0 0 !important",'transform':"scale(1, 1)"})}};SGPopup.prototype.sgPopupScaling=function(){var that=this;jQuery("#sgcolorbox").bind("sgColorboxOnCompleate",function(){that.sgPopupScalingDimensions();});jQuery(window).resize(function(){setTimeout(function(){that.sgPopupScalingDimensions();},1000);});};SGPopup.prototype.varToBool=function(optionName){var returnValue=(optionName)?true:false;return returnValue;};SGPopup.prototype.canOpenPopup=function(id,openOnce,isOnLoad){if(!isOnLoad){return true;}
23
+ var currentCookies=SGPopup.getCookie('sgPopupCookieList');if(currentCookies){currentCookies=JSON.parse(currentCookies);for(var cookieIndex in currentCookies){var cookieName=currentCookies[cookieIndex];var cookieData=SGPopup.getCookie(cookieName+id);if(cookieData){return false;}}}
24
+ var popupCookie=SGPopup.getCookie('sgPopupDetails'+id);var popupType=this.popupType;if(openOnce&&popupCookie!=''){return this.canOpenOnce(id);}
25
+ return true;};SGPopup.prototype.setFixedPosition=function(sgPositionLeft,sgPositionTop,sgPositionBottom,sgPositionRight,sgFixedPositionTop,sgFixedPositionLeft){this.positionLeft=sgPositionLeft;this.positionTop=sgPositionTop;this.positionBottom=sgPositionBottom;this.positionRight=sgPositionRight;this.initialPositionTop=sgFixedPositionTop;this.initialPositionLeft=sgFixedPositionLeft;};SGPopup.prototype.percentToPx=function(percentDimention,screenDimension){var dimension=parseInt(percentDimention)*screenDimension/100;return dimension;};SGPopup.prototype.getPositionPercent=function(needPercent,screenDimension,dimension){var sgPosition=(((this.percentToPx(needPercent,screenDimension)-dimension/2)/screenDimension)*100)+"%";return sgPosition;};SGPopup.prototype.showPopup=function(id,isOnLoad){var that=this;if(!id){return;}
26
+ this.popupData=SG_POPUP_DATA[id];if(typeof this.popupData=="undefined"){return;}
27
+ this.popupType=this.popupData['type'];this.isOnLoad=isOnLoad;this.openOnce=this.varToBool(this.popupData['repeatPopup']);this.numberLimit=this.popupData['popup-appear-number-limit'];if(typeof that.removeCookie!=='undefined'){that.removeCookie(this.openOnce);}
28
+ if(!this.canOpenPopup(this.popupData['id'],this.openOnce,isOnLoad)){return;}
29
+ popupColorboxUrl=SG_APP_POPUP_URL+'/style/sgcolorbox/sgthemes.css';head=document.getElementsByTagName('head')[0];link=document.createElement('link');link.type="text/css";link.id="sg_colorbox_theme-css";link.rel="stylesheet";link.href=popupColorboxUrl;document.getElementsByTagName('head')[0].appendChild(link);var img=document.createElement('img');sgAddEvent(img,"error",function(){that.sgShowColorboxWithOptions();});setTimeout(function(){img.src=popupColorboxUrl;},0);};SGPopup.setToPopupsCookiesList=function(cookieName){var currentCookies=SGPopup.getCookie('sgPopupCookieList');if(!currentCookies){currentCookies=[];}
30
+ else{currentCookies=JSON.parse(currentCookies);}
31
+ if(jQuery.inArray(cookieName,currentCookies)==-1){cookieName=currentCookies.push(cookieName);}
32
+ SGPopup.deleteCookie('sgPopupCookieList');var currentCookies=JSON.stringify(currentCookies);SGPopup.setCookie('sgPopupCookieList',currentCookies,365,true);};SGPopup.prototype.popupThemeDefaultMeasure=function(){var themeName=this.popupData['theme'];var defaults=SGPopup.sgColorBoxDeafults;var themeId=themeName.replace(/(^.+\D)(\d+)(\D.+$)/i,'$2');return defaults[themeId];};SGPopup.prototype.changePopupSettings=function(){var popupData=this.popupData;var popupDimensionMode=popupData['popup-dimension-mode'];var maxWidth=popupData['maxWidth'];var popupResponsiveDimensionMeasure=popupData['popup-responsive-dimension-measure'];if(popupDimensionMode=='responsiveMode'){if(popupResponsiveDimensionMeasure=='auto'){if(!maxWidth){this.popupMaxWidth='100%';}}}};SGPopup.prototype.resizeDimension=function(){var resizeTimer;var themeDefault=this.popupThemeDefaultMeasure();var responsiveMeasure=this.popupData['popup-responsive-dimension-measure'];var windowWidth=jQuery(window).width();var popupWidth=jQuery("#sgcolorbox").width();function resizeColorBox(){var sgColorBoxWidth=jQuery("#sgcolorbox").width();var isPopupLargerThanWindow=sgColorBoxWidth>windowWidth;jQuery(window).unbind('resize.sgcbox');if(resizeTimer)clearTimeout(resizeTimer);resizeTimer=setTimeout(function(){if(jQuery('#sgcboxOverlay').is(':visible')){var width=jQuery(window).width();var contentHeight=jQuery('#sgcboxLoadedContent')[0].scrollHeight+themeDefault;var contentWidth=jQuery.sgcolorbox.settings.width;if(width>=768&&width<=959&&isPopupLargerThanWindow){contentWidth='82%';}
33
+ else if(width>=480&&width<=767&&isPopupLargerThanWindow){contentWidth='88%';}
34
+ else if(width<=479&&isPopupLargerThanWindow){contentWidth='94%';}
35
+ else{contentWidth=responsiveMeasure+'%';}
36
+ if(responsiveMeasure=='auto'&&!isPopupLargerThanWindow){jQuery.sgcolorbox.resize();return;}
37
+ jQuery.sgcolorbox.settings.width=contentWidth;jQuery.sgcolorbox.sgpbResize({'width':contentWidth,'height':contentHeight});}},350)}
38
+ jQuery(window).resize(resizeColorBox);window.addEventListener("orientationchange",resizeColorBox,false);};SGPopup.prototype.sgColorboxContentMode=function(){var that=this;this.sgColorboxContentTypeReset();var popupType=this.popupData['type'];var popupHtml=(this.popupData['html']=='')?'&nbsp;':this.popupData['html'];var popupImage=this.popupData['image'];var popupIframeUrl=this.popupData['iframe'];var popupVideo=this.popupData['video'];var popupId=this.popupData['id'];popupImage=(popupImage)?popupImage:false;popupVideo=(popupVideo)?popupVideo:false;popupIframeUrl=(popupIframeUrl)?popupIframeUrl:false;if(popupType=='image'){this.sgColorboxPhoto=true;this.sgColorboxHref=popupImage;}
39
+ if(popupIframeUrl){this.sgColorboxIframe=true;this.sgColorboxHref=popupIframeUrl;}
40
+ if(popupVideo){this.sgColorboxIframe=true;this.sgColorboxHref=popupVideo;}
41
+ if(popupHtml&&jQuery('#sg-popup-content-wrapper-'+popupId).length!=0){this.sgColorboxInline=true;this.sgColorboxHref='#sg-popup-content-wrapper-'+popupId;}
42
+ else{this.sgColorboxHtml=popupHtml;}};SGPopup.prototype.sgShowColorboxWithOptions=function(){var that=this;setTimeout(function(){var sgPopupFixed=that.varToBool(that.popupData['popupFixed']);var popupId=that.popupData['id'];that.popupOverlayClose=that.varToBool(that.popupData['overlayClose']);that.popupContentClick=that.varToBool(that.popupData['contentClick']);var popupReposition=that.varToBool(that.popupData['reposition']);var popupScrolling=that.varToBool(that.popupData['scrolling']);var popupScaling=that.varToBool(that.popupData['scaling']);that.popupEscKey=that.varToBool(that.popupData['escKey']);that.popupCloseButton=that.varToBool(that.popupData['closeButton']);var countryStatus=that.varToBool(that.popupData['countryStatus']);var popupForMobile=that.varToBool(that.popupData['forMobile']);var onlyMobile=that.varToBool(that.popupData['openMobile']);var popupCantClose=that.varToBool(that.popupData['disablePopup']);var disablePopupOverlay=that.varToBool(that.popupData['disablePopupOverlay']);var popupAutoClosePopup=that.varToBool(that.popupData['autoClosePopup']);var saveCookiePageLevel=that.varToBool(that.popupData['save-cookie-page-level']);var popupClosingTimer=that.popupData['popupClosingTimer'];if(popupScaling){that.sgPopupScaling();}
43
+ if(popupCantClose){that.cantPopupClose();}
44
+ that.popupMaxWidth=that.popupData['maxWidth'];var popupPosition=that.popupData['fixedPostion'];var popupVideo=that.popupData['video'];var popupOverlayColor=that.popupData['sgOverlayColor'];var contentBackgroundColor=that.popupData['sg-content-background-color'];var popupDimensionMode=that.popupData['popup-dimension-mode'];var popupResponsiveDimensionMeasure=that.popupData['popup-responsive-dimension-measure'];var popupWidth=that.popupData['width'];var popupHeight=that.popupData['height'];var popupOpacity=that.popupData['opacity'];var popupMaxHeight=that.popupData['maxHeight'];var popupInitialWidth=that.popupData['initialWidth'];var popupInitialHeight=that.popupData['initialHeight'];var popupEffectDuration=that.popupData['duration'];var popupEffect=that.popupData['effect'];var contentClickBehavior=that.popupData['content-click-behavior'];var clickRedirectToUrl=that.popupData['click-redirect-to-url'];var redirectToNewTab=that.popupData['redirect-to-new-tab'];var pushToBottom=that.popupData['pushToBottom'];var onceExpiresTime=parseInt(that.popupData['onceExpiresTime']);var sgType=that.popupData['type'];var overlayCustomClass=that.popupData['sgOverlayCustomClasss'];var contentCustomClass=that.popupData['sgContentCustomClasss'];var popupTheme=that.popupData['theme'];var themeStringLength=popupTheme.length;var customClassName=popupTheme.substring(0,themeStringLength-4);var closeButtonText=that.popupData['theme-close-text'];that.sgColorboxContentMode();if(popupDimensionMode=='responsiveMode'){popupWidth='';if(popupResponsiveDimensionMeasure!='auto'){popupWidth=parseInt(popupResponsiveDimensionMeasure)+'%';}
45
+ popupHeight='';}
46
+ if(popupVideo){if(popupWidth==''){popupWidth='50%';}
47
+ if(popupHeight==''){popupHeight='50%';}}
48
+ var sgScreenWidth=jQuery(window).width();var sgScreenHeight=jQuery(window).height();var sgIsWidthInPercent=popupWidth.indexOf("%");var sgIsHeightInPercent=popupHeight.indexOf("%");var sgPopupHeightPx=popupHeight;var sgPopupWidthPx=popupWidth;if(sgIsWidthInPercent!=-1){sgPopupWidthPx=that.percentToPx(popupWidth,sgScreenWidth);}
49
+ if(sgIsHeightInPercent!=-1){sgPopupHeightPx=that.percentToPx(popupHeight,sgScreenHeight);}
50
+ sgPopupWidthPx=parseInt(sgPopupWidthPx);sgPopupHeightPx=parseInt(sgPopupHeightPx);var popupPositionTop=that.getPositionPercent("50%",sgScreenHeight,sgPopupHeightPx);var popupPositionLeft=that.getPositionPercent("50%",sgScreenWidth,sgPopupWidthPx);if(popupPosition==1){that.setFixedPosition('0%','3%',false,false,0,0);}
51
+ else if(popupPosition==2){that.setFixedPosition(popupPositionLeft,'3%',false,false,0,50);}
52
+ else if(popupPosition==3){that.setFixedPosition(false,'3%',false,'0%',0,90);}
53
+ else if(popupPosition==4){that.setFixedPosition('0%',popupPositionTop,false,false,popupPositionTop,0);}
54
+ else if(popupPosition==5){sgPopupFixed=true;that.setFixedPosition(false,false,false,false,50,50);}
55
+ else if(popupPosition==6){that.setFixedPosition('0%',popupPositionTop,false,'0%',50,90);}
56
+ else if(popupPosition==7){that.setFixedPosition('0%',false,'0%',false,90,0);}
57
+ else if(popupPosition==8){that.setFixedPosition(popupPositionLeft,false,'0%',false,90,50);}
58
+ else if(popupPosition==9){that.setFixedPosition(false,false,'0%','0%',90,90);}
59
+ if(!sgPopupFixed){that.setFixedPosition(false,false,false,false,50,50);}
60
+ var userDevice=false;if(popupForMobile){userDevice=that.forMobile();}
61
+ if(popupAutoClosePopup){setTimeout(that.autoClosePopup,popupClosingTimer*1000);}
62
+ if(disablePopupOverlay){that.sgTrapFocus=false;that.disablePopupOverlay();}
63
+ if(onlyMobile){var openOnlyMobile=false;openOnlyMobile=that.forMobile();if(openOnlyMobile==false){return;}}
64
+ if(userDevice){return;}
65
+ that.changePopupSettings();SG_POPUP_SETTINGS={popupId:popupId,html:that.sgColorboxHtml,photo:that.sgColorboxPhoto,iframe:that.sgColorboxIframe,href:that.sgColorboxHref,inline:that.sgColorboxInline,width:popupWidth,height:popupHeight,className:customClassName,close:closeButtonText,overlayCutsomClassName:overlayCustomClass,contentCustomClassName:contentCustomClass,onOpen:function(){jQuery('#sgcolorbox').removeAttr('style');jQuery('#sgcolorbox').removeAttr('left');jQuery('#sgcolorbox').css('top',''+that.initialPositionTop+'%');jQuery('#sgcolorbox').css('left',''+that.initialPositionLeft+'%');jQuery('#sgcolorbox').css('animation-duration',popupEffectDuration+"s");jQuery('#sgcolorbox').css('-webkit-animation-duration',popupEffectDuration+"s");jQuery("#sgcolorbox").addClass('sg-animated '+popupEffect+'');jQuery("#sgcboxOverlay").addClass("sgcboxOverlayBg");jQuery("#sgcboxOverlay").removeAttr('style');if(popupOverlayColor){jQuery("#sgcboxOverlay").css({'background':'none','background-color':popupOverlayColor});}
66
+ jQuery('#sgcolorbox').trigger("sgColorboxOnOpen",[]);},onLoad:function(){},onComplete:function(){if(contentBackgroundColor){jQuery("#sgcboxLoadedContent").css({'background-color':contentBackgroundColor});}
67
+ jQuery("#sgcboxLoadedContent").addClass("sg-current-popup-"+that.popupData['id']);jQuery('#sgcolorbox').trigger("sgColorboxOnCompleate",[pushToBottom]);var sgpopupInit=new SgPopupInit(that.popupData);sgpopupInit.overallInit();sgpopupInit.initByPopupType();that.sgCustomizeThemes(that.popupData['id']);if(popupDimensionMode=='responsiveMode'){that.resizeDimension();}},onCleanup:function(){jQuery('#sgcolorbox').trigger("sgPopupCleanup",[]);},onClosed:function(){jQuery("#sgcboxLoadedContent").removeClass("sg-current-popup-"+that.popupData['id']);jQuery('#sgcolorbox').trigger("sgPopupClose",[]);},trapFocus:that.sgTrapFocus,opacity:popupOpacity,escKey:that.popupEscKey,closeButton:that.popupCloseButton,fixed:sgPopupFixed,top:that.positionTop,bottom:that.positionBottom,left:that.positionLeft,right:that.positionRight,scrolling:popupScrolling,reposition:popupReposition,overlayClose:that.popupOverlayClose,maxWidth:that.popupMaxWidth,maxHeight:popupMaxHeight,initialWidth:popupInitialWidth,initialHeight:popupInitialHeight};if(popupDimensionMode=='responsiveMode'){SG_POPUP_SETTINGS.speed=10;}
68
+ jQuery.sgcolorbox(SG_POPUP_SETTINGS);if(countryStatus==true&&typeof SgUserData!="undefined"){jQuery.cookie("SG_POPUP_USER_COUNTRY_NAME",SgUserData.countryIsoName,{expires:365});}
69
+ if(that.popupData['id']&&that.isOnLoad==true&&that.openOnce!=''&&that.popupData['type']!="ageRestriction"){var sgCookieData='';if(!saveCookiePageLevel){jQuery.cookie.defaults={path:'/'};}
70
+ var currentCookie=jQuery.cookie('sgPopupDetails'+that.popupData['id']);if(typeof currentCookie=='undefined'){var openCounter=1;}
71
+ else{var currentCookie=JSON.parse(jQuery.cookie('sgPopupDetails'+that.popupData['id']));var openCounter=currentCookie.openCounter+=1;}
72
+ sgCookieData={'popupId':that.popupData['id'],'openCounter':openCounter,'openLimit':that.numberLimit};jQuery.cookie("sgPopupDetails"+that.popupData['id'],JSON.stringify(sgCookieData),{expires:onceExpiresTime});}
73
+ if(that.popupContentClick){jQuery("#sgcolorbox").bind("sgColorboxOnCompleate",function(){if((contentClickBehavior!=='close'||clickRedirectToUrl!=='')&&typeof contentClickBehavior!=='undefined'){jQuery('#sgcolorbox').css({"cursor":'pointer'});}
74
+ jQuery(".sg-current-popup-"+that.popupData['id']).bind('click',function(){if(contentClickBehavior=='close'||clickRedirectToUrl==''||typeof contentClickBehavior=='undefined'){jQuery.sgcolorbox.close();}
75
+ else{if(!redirectToNewTab){window.location=clickRedirectToUrl;}
76
+ else{window.open(clickRedirectToUrl);}}});});}
77
+ jQuery('#sgcolorbox').bind('sgPopupClose',function(e){that.sgEventExecuteCount=0;that.eventExecuteCountByClass=0;jQuery('#sgcolorbox').removeClass(customClassName);jQuery('#sgcboxOverlay').removeClass(customClassName);jQuery('#sgcolorbox').removeClass(popupEffect);});},this.popupData['delay']*1000);};jQuery(document).ready(function($){var popupObj=new SGPopup();popupObj.init();});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
javascript/sg_popup_init.js CHANGED
@@ -1,90 +1,5 @@
1
- function SgPopupInit(popupData) {
2
-
3
- this.popupData = popupData;
4
- this.shortcodeInPopupContent();
5
- this.reopenPopupAfterSubmission();
6
- }
7
-
8
- SgPopupInit.prototype.reopenPopupAfterSubmission = function() {
9
-
10
- var that = this;
11
-
12
- var reopenSubmission = this.popupData['reopenAfterSubmission'];
13
- var currentPopupId = this.popupData['id'];
14
- SGPopup.setCookie('sgSubmitReloadingForm', currentPopupId, -10);
15
-
16
- if(reopenSubmission) {
17
- jQuery("#sgcboxLoadedContent form").submit(function() {
18
- SGPopup.setCookie('sgSubmitReloadingForm', currentPopupId);
19
- });
20
- }
21
- };
22
-
23
- SgPopupInit.prototype.shortcodeInPopupContent = function() {
24
-
25
- jQuery(".sg-show-popup").bind('click',function() {
26
- var sgPopupID = jQuery(this).attr("data-sgpopupid");
27
- var sgInsidePopup = jQuery(this).attr("insidepopup");
28
-
29
- if(typeof sgInsidePopup == 'undefined' || sgInsidePopup != 'on') {
30
- return false;
31
- }
32
-
33
- jQuery.sgcolorbox.close();
34
-
35
- jQuery('#sgcolorbox').bind("sgPopupClose", function() {
36
- if(sgPopupID == '') {
37
- return;
38
- }
39
- var sgPoupFrontendObj = new SGPopup();
40
- sgPoupFrontendObj.showPopup(sgPopupID,false);
41
- sgPopupID = '';
42
- });
43
- });
44
- };
45
-
46
- SgPopupInit.prototype.overallInit = function() {
47
-
48
- jQuery('.sg-popup-close').bind('click', function() {
49
- jQuery.sgcolorbox.close();
50
- });
51
-
52
- //Facebook reInit
53
- if(jQuery('#sg-facebook-like').length && typeof FB !== 'undefined') {
54
- FB.XFBML.parse();
55
- }
56
- };
57
-
58
- SgPopupInit.prototype.initByPopupType = function() {
59
-
60
- var data = this.popupData;
61
- var popupObj = {};
62
- var popupType = data['type'];
63
- var popupId = data['id'];
64
-
65
- switch(popupType) {
66
- case 'countdown':
67
- var popupObj = new SGCountdown();
68
- popupObj.init();
69
- break;
70
- case 'contactForm':
71
- popupObj = new SgContactForm(popupId);
72
- popupObj.buildStyle();
73
- break;
74
- case 'social':
75
- popupObj = new SgSocialFront();
76
- popupObj.init();
77
- break;
78
- case 'subscription':
79
- popupObj = new SgSubscription();
80
- popupObj.init();
81
- break;
82
- case 'ageRestriction':
83
- popupObj = new SGAgeRestriction();
84
- popupObj.setPopupId(popupId);
85
- popupObj.init();
86
- break;
87
- }
88
-
89
- return popupObj;
90
- };
1
+ function SgPopupInit(popupData){this.popupData=popupData;this.shortcodeInPopupContent();this.reopenPopupAfterSubmission();}
2
+ SgPopupInit.prototype.reopenPopupAfterSubmission=function(){var that=this;var reopenSubmission=this.popupData['reopenAfterSubmission'];var currentPopupId=this.popupData['id'];SGPopup.setCookie('sgSubmitReloadingForm',currentPopupId,-10);if(reopenSubmission){jQuery("#sgcboxLoadedContent form").submit(function(){SGPopup.setCookie('sgSubmitReloadingForm',currentPopupId);});}};SgPopupInit.prototype.shortcodeInPopupContent=function(){jQuery(".sg-show-popup").bind('click',function(){var sgPopupID=jQuery(this).attr("data-sgpopupid");var sgInsidePopup=jQuery(this).attr("insidepopup");if(typeof sgInsidePopup=='undefined'||sgInsidePopup!='on'){return false;}
3
+ jQuery.sgcolorbox.close();jQuery('#sgcolorbox').bind("sgPopupClose",function(){if(sgPopupID==''){return;}
4
+ var sgPoupFrontendObj=new SGPopup();sgPoupFrontendObj.showPopup(sgPopupID,false);sgPopupID='';});});};SgPopupInit.prototype.overallInit=function(){jQuery('.sg-popup-close').bind('click',function(){jQuery.sgcolorbox.close();});if(jQuery('#sg-facebook-like').length&&typeof FB!=='undefined'){FB.XFBML.parse();}};SgPopupInit.prototype.initByPopupType=function(){var data=this.popupData;var popupObj={};var popupType=data['type'];var popupId=data['id'];switch(popupType){case'countdown':var popupObj=new SGCountdown();popupObj.init();break;case'contactForm':popupObj=new SgContactForm(popupId);popupObj.buildStyle();break;case'social':popupObj=new SgSocialFront();popupObj.init();break;case'subscription':popupObj=new SgSubscription();popupObj.init();break;case'ageRestriction':popupObj=new SGAgeRestriction();popupObj.setPopupId(popupId);popupObj.init();break;}
5
+ return popupObj;};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
javascript/sg_popup_rangeslider.js CHANGED
@@ -1,2 +1 @@
1
- (function(){function e(t,s,n){var i=e.resolve(t);if(null==i){n=n||t,s=s||"root";var o=Error('Failed to require "'+n+'" from "'+s+'"');throw o.path=n,o.parent=s,o.require=!0,o}var r=e.modules[i];if(!r._resolving&&!r.exports){var a={};a.exports={},a.client=a.component=!0,r._resolving=!0,r.call(this,a.exports,e.relative(i),a),delete r._resolving,r.exports=a.exports}return r.exports}e.modules={},e.aliases={},e.resolve=function(t){"/"===t.charAt(0)&&(t=t.slice(1));for(var s=[t,t+".js",t+".json",t+"/index.js",t+"/index.json"],n=0;s.length>n;n++){var t=s[n];if(e.modules.hasOwnProperty(t))return t;if(e.aliases.hasOwnProperty(t))return e.aliases[t]}},e.normalize=function(e,t){var s=[];if("."!=t.charAt(0))return t;e=e.split("/"),t=t.split("/");for(var n=0;t.length>n;++n)".."==t[n]?e.pop():"."!=t[n]&&""!=t[n]&&s.push(t[n]);return e.concat(s).join("/")},e.register=function(t,s){e.modules[t]=s},e.alias=function(t,s){if(!e.modules.hasOwnProperty(t))throw Error('Failed to alias "'+t+'", it does not exist');e.aliases[s]=t},e.relative=function(t){function s(e,t){for(var s=e.length;s--;)if(e[s]===t)return s;return-1}function n(s){var i=n.resolve(s);return e(i,t,s)}var i=e.normalize(t,"..");return n.resolve=function(n){var o=n.charAt(0);if("/"==o)return n.slice(1);if("."==o)return e.normalize(i,n);var r=t.split("/"),a=s(r,"deps")+1;return a||(a=0),n=r.slice(0,a+1).join("/")+"/deps/"+n},n.exists=function(t){return e.modules.hasOwnProperty(n.resolve(t))},n},e.register("component-event/index.js",function(e){var t=window.addEventListener?"addEventListener":"attachEvent",s=window.removeEventListener?"removeEventListener":"detachEvent",n="addEventListener"!==t?"on":"";e.bind=function(e,s,i,o){return e[t](n+s,i,o||!1),i},e.unbind=function(e,t,i,o){return e[s](n+t,i,o||!1),i}}),e.register("component-query/index.js",function(e,t,s){function n(e,t){return t.querySelector(e)}e=s.exports=function(e,t){return t=t||document,n(e,t)},e.all=function(e,t){return t=t||document,t.querySelectorAll(e)},e.engine=function(t){if(!t.one)throw Error(".one callback required");if(!t.all)throw Error(".all callback required");return n=t.one,e.all=t.all,e}}),e.register("component-matches-selector/index.js",function(e,t,s){function n(e,t){if(r)return r.call(e,t);for(var s=i.all(t,e.parentNode),n=0;s.length>n;++n)if(s[n]==e)return!0;return!1}var i=t("query"),o=Element.prototype,r=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector;s.exports=n}),e.register("discore-closest/index.js",function(e,t,s){var n=t("matches-selector");s.exports=function(e,t,s,i){for(e=s?{parentNode:e}:e,i=i||document;(e=e.parentNode)&&e!==document;){if(n(e,t))return e;if(e===i)return}}}),e.register("component-delegate/index.js",function(e,t){var s=t("closest"),n=t("event");e.bind=function(e,t,i,o,r){return n.bind(e,i,function(n){var i=n.target||n.srcElement;n.delegateTarget=s(i,t,!0,e),n.delegateTarget&&o.call(e,n)},r)},e.unbind=function(e,t,s,i){n.unbind(e,t,s,i)}}),e.register("component-events/index.js",function(e,t,s){function n(e,t){if(!(this instanceof n))return new n(e,t);if(!e)throw Error("element required");if(!t)throw Error("object required");this.el=e,this.obj=t,this._events={}}function i(e){var t=e.split(/ +/);return{name:t.shift(),selector:t.join(" ")}}var o=t("event"),r=t("delegate");s.exports=n,n.prototype.sub=function(e,t,s){this._events[e]=this._events[e]||{},this._events[e][t]=s},n.prototype.bind=function(e,t){function s(){var e=[].slice.call(arguments).concat(h);l[t].apply(l,e)}var n=i(e),a=this.el,l=this.obj,c=n.name,t=t||"on"+c,h=[].slice.call(arguments,2);return n.selector?s=r.bind(a,n.selector,c,s):o.bind(a,c,s),this.sub(c,t,s),s},n.prototype.unbind=function(e,t){if(0==arguments.length)return this.unbindAll();if(1==arguments.length)return this.unbindAllOf(e);var s=this._events[e];if(s){var n=s[t];n&&o.unbind(this.el,e,n)}},n.prototype.unbindAll=function(){for(var e in this._events)this.unbindAllOf(e)},n.prototype.unbindAllOf=function(e){var t=this._events[e];if(t)for(var s in t)this.unbind(e,s)}}),e.register("component-indexof/index.js",function(e,t,s){s.exports=function(e,t){if(e.indexOf)return e.indexOf(t);for(var s=0;e.length>s;++s)if(e[s]===t)return s;return-1}}),e.register("component-classes/index.js",function(e,t,s){function n(e){if(!e)throw Error("A DOM element reference is required");this.el=e,this.list=e.classList}var i=t("indexof"),o=/\s+/,r=Object.prototype.toString;s.exports=function(e){return new n(e)},n.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array(),s=i(t,e);return~s||t.push(e),this.el.className=t.join(" "),this},n.prototype.remove=function(e){if("[object RegExp]"==r.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),s=i(t,e);return~s&&t.splice(s,1),this.el.className=t.join(" "),this},n.prototype.removeMatching=function(e){for(var t=this.array(),s=0;t.length>s;s++)e.test(t[s])&&this.remove(t[s]);return this},n.prototype.toggle=function(e,t){return this.list?(t!==void 0?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this):(t!==void 0?t?this.add(e):this.remove(e):this.has(e)?this.remove(e):this.add(e),this)},n.prototype.array=function(){var e=this.el.className.replace(/^\s+|\s+$/g,""),t=e.split(o);return""===t[0]&&t.shift(),t},n.prototype.has=n.prototype.contains=function(e){return this.list?this.list.contains(e):!!~i(this.array(),e)}}),e.register("component-emitter/index.js",function(e,t,s){function n(e){return e?i(e):void 0}function i(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}s.exports=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks[e]=this._callbacks[e]||[]).push(t),this},n.prototype.once=function(e,t){function s(){n.off(e,s),t.apply(this,arguments)}var n=this;return this._callbacks=this._callbacks||{},s.fn=t,this.on(e,s),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var s=this._callbacks[e];if(!s)return this;if(1==arguments.length)return delete this._callbacks[e],this;for(var n,i=0;s.length>i;i++)if(n=s[i],n===t||n.fn===t){s.splice(i,1);break}return this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),s=this._callbacks[e];if(s){s=s.slice(0);for(var n=0,i=s.length;i>n;++n)s[n].apply(this,t)}return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}}),e.register("ui-component-mouse/index.js",function(e,t,s){function n(e,t){this.obj=t||{},this.el=e}var i=t("emitter"),o=t("event");s.exports=function(e,t){return new n(e,t)},i(n.prototype),n.prototype.bind=function(){function e(i){s.onmouseup&&s.onmouseup(i),o.unbind(document,"mousemove",t),o.unbind(document,"mouseup",e),n.emit("up",i)}function t(e){s.onmousemove&&s.onmousemove(e),n.emit("move",e)}var s=this.obj,n=this;return n.down=function(i){s.onmousedown&&s.onmousedown(i),o.bind(document,"mouseup",e),o.bind(document,"mousemove",t),n.emit("down",i)},o.bind(this.el,"mousedown",n.down),this},n.prototype.unbind=function(){o.unbind(this.el,"mousedown",this.down),this.down=null}}),e.register("abpetkov-percentage-calc/percentage-calc.js",function(e){e.isNumber=function(e){return"number"==typeof e?!0:!1},e.of=function(t,s){return e.isNumber(t)&&e.isNumber(s)?t/100*s:void 0},e.from=function(t,s){return e.isNumber(t)&&e.isNumber(s)?100*(t/s):void 0}}),e.register("abpetkov-closest-num/closest-num.js",function(e){e.find=function(e,t){var s=null,n=null,o=t[0];for(i=0;t.length>i;i++)s=Math.abs(e-o),n=Math.abs(e-t[i]),s>n&&(o=t[i]);return o}}),e.register("vesln-super/lib/super.js",function(e,t,s){function n(){var t=i.call(arguments);if(t.length)return"function"!=typeof t[0]?e.merge(t):(e.inherits.apply(null,t),void 0)}var i=Array.prototype.slice,e=s.exports=n;e.extend=function(t,s){var n=this,i=function(){return n.apply(this,arguments)};return e.merge([i,this]),e.inherits(i,this),t&&e.merge([i.prototype,t]),s&&e.merge([i,s]),i.extend=this.extend,i},e.inherits=function(e,t){e.super_=t,Object.create?e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}):(e.prototype=new t,e.prototype.constructor=e)},e.merge=function(e){for(var t=2===e.length?e.shift():{},s=null,n=0,i=e.length;i>n;n++){s=e[n];for(var o in s)s.hasOwnProperty(o)&&(t[o]=s[o])}return t}}),e.register("powerange/lib/powerange.js",function(e,t,s){var n=(t("./main"),t("./horizontal")),i=t("./vertical"),o={callback:function(){},decimal:!1,disable:!1,disableOpacity:.5,hideRange:!1,klass:"",min:0,max:100,start:null,step:null,vertical:!1};s.exports=function(e,t){t=t||{};for(var s in o)null==t[s]&&(t[s]=o[s]);return t.vertical?new i(e,t):new n(e,t)}}),e.register("powerange/lib/main.js",function(e,t,s){function n(e,t){return this instanceof n?(this.element=e,this.options=t||{},this.slider=this.create("span","range-bar"),null!==this.element&&"text"===this.element.type&&this.init(),void 0):new n(e,t)}var o=t("mouse"),r=t("events"),a=t("classes"),l=t("percentage-calc");s.exports=n,n.prototype.bindEvents=function(){this.handle=this.slider.querySelector(".range-handle"),this.touch=r(this.handle,this),this.touch.bind("touchstart","onmousedown"),this.touch.bind("touchmove","onmousemove"),this.touch.bind("touchend","onmouseup"),this.mouse=o(this.handle,this),this.mouse.bind()},n.prototype.hide=function(){this.element.style.display="none"},n.prototype.append=function(){var e=this.generate();this.insertAfter(this.element,e)},n.prototype.generate=function(){var e={handle:{type:"span",selector:"range-handle"},min:{type:"span",selector:"range-min"},max:{type:"span",selector:"range-max"},quantity:{type:"span",selector:"range-quantity"}};for(var t in e)if(e.hasOwnProperty(t)){var s=this.create(e[t].type,e[t].selector);this.slider.appendChild(s)}return this.slider},n.prototype.create=function(e,t){var s=document.createElement(e);return s.className=t,s},n.prototype.insertAfter=function(e,t){e.parentNode.insertBefore(t,e.nextSibling)},n.prototype.extraClass=function(e){this.options.klass&&a(this.slider).add(e)},n.prototype.setRange=function(e,t){"number"!=typeof e||"number"!=typeof t||this.options.hideRange||(this.slider.querySelector(".range-min").innerHTML=e,this.slider.querySelector(".range-max").innerHTML=t)},n.prototype.setValue=function(e,t){var s=l.from(parseFloat(e),t),n=l.of(s,this.options.max-this.options.min)+this.options.min,i=!1;n=this.options.decimal?Math.round(100*n)/100:Math.round(n),i=this.element.value!=n?!0:!1,this.element.value=n,this.options.callback(),i&&this.changeEvent()},n.prototype.step=function(e,t){var s=e-t,n=l.from(this.checkStep(this.options.step),this.options.max-this.options.min),o=l.of(n,s),r=[];for(i=0;s>=i;i+=o)r.push(i);return this.steps=r,this.steps},n.prototype.checkValues=function(e){this.options.min>e&&(this.options.start=this.options.min),e>this.options.max&&(this.options.start=this.options.max),this.options.min>=this.options.max&&(this.options.min=this.options.max)},n.prototype.checkStep=function(e){return 0>e&&(e=Math.abs(e)),this.options.step=e,this.options.step},n.prototype.disable=function(){(this.options.min==this.options.max||this.options.min>this.options.max||this.options.disable)&&(this.mouse.unbind(),this.touch.unbind(),this.slider.style.opacity=this.options.disableOpacity,a(this.handle).add("range-disabled"))},n.prototype.unselectable=function(e,t){a(this.slider).has("unselectable")||t!==!0?a(this.slider).remove("unselectable"):a(this.slider).add("unselectable")},n.prototype.changeEvent=function(){if("function"!=typeof Event&&document.fireEvent)this.element.fireEvent("onchange");else{var e=document.createEvent("HTMLEvents");e.initEvent("change",!1,!0),this.element.dispatchEvent(e)}},n.prototype.init=function(){this.hide(),this.append(),this.bindEvents(),this.extraClass(this.options.klass),this.checkValues(this.options.start),this.setRange(this.options.min,this.options.max),this.disable()}}),e.register("powerange/lib/horizontal.js",function(e,t,s){function n(){a.apply(this,arguments),this.options.step&&this.step(this.slider.offsetWidth,this.handle.offsetWidth),this.setStart(this.options.start)}var i=t("super"),o=t("closest-num"),r=t("percentage-calc"),a=t("./main");s.exports=n,i(n,a),n.prototype.setStart=function(e){var t=null===e?this.options.min:e,s=r.from(t-this.options.min,this.options.max-this.options.min)||0,n=r.of(s,this.slider.offsetWidth-this.handle.offsetWidth),i=this.options.step?o.find(n,this.steps):n;this.setPosition(i),this.setValue(this.handle.style.left,this.slider.offsetWidth-this.handle.offsetWidth)},n.prototype.setPosition=function(e){this.handle.style.left=e+"px",this.slider.querySelector(".range-quantity").style.width=e+"px"},n.prototype.onmousedown=function(e){e.touches&&(e=e.touches[0]),this.startX=e.clientX,this.handleOffsetX=this.handle.offsetLeft,this.restrictHandleX=this.slider.offsetWidth-this.handle.offsetWidth,this.unselectable(this.slider,!0)},n.prototype.onmousemove=function(e){e.preventDefault(),e.touches&&(e=e.touches[0]);var t=this.handleOffsetX+e.clientX-this.startX,s=this.steps?o.find(t,this.steps):t;0>=t?this.setPosition(0):t>=this.restrictHandleX?this.setPosition(this.restrictHandleX):this.setPosition(s),this.setValue(this.handle.style.left,this.slider.offsetWidth-this.handle.offsetWidth)},n.prototype.onmouseup=function(){this.unselectable(this.slider,!1)}}),e.register("powerange/lib/vertical.js",function(e,t,s){function n(){l.apply(this,arguments),o(this.slider).add("vertical"),this.options.step&&this.step(this.slider.offsetHeight,this.handle.offsetHeight),this.setStart(this.options.start)}var i=t("super"),o=t("classes"),r=t("closest-num"),a=t("percentage-calc"),l=t("./main");s.exports=n,i(n,l),n.prototype.setStart=function(e){var t=null===e?this.options.min:e,s=a.from(t-this.options.min,this.options.max-this.options.min)||0,n=a.of(s,this.slider.offsetHeight-this.handle.offsetHeight),i=this.options.step?r.find(n,this.steps):n;this.setPosition(i),this.setValue(this.handle.style.bottom,this.slider.offsetHeight-this.handle.offsetHeight)},n.prototype.setPosition=function(e){this.handle.style.bottom=e+"px",this.slider.querySelector(".range-quantity").style.height=e+"px"},n.prototype.onmousedown=function(e){e.touches&&(e=e.touches[0]),this.startY=e.clientY,this.handleOffsetY=this.slider.offsetHeight-this.handle.offsetHeight-this.handle.offsetTop,this.restrictHandleY=this.slider.offsetHeight-this.handle.offsetHeight,this.unselectable(this.slider,!0)},n.prototype.onmousemove=function(e){e.preventDefault(),e.touches&&(e=e.touches[0]);var t=this.handleOffsetY+this.startY-e.clientY,s=this.steps?r.find(t,this.steps):t;0>=t?this.setPosition(0):t>=this.restrictHandleY?this.setPosition(this.restrictHandleY):this.setPosition(s),this.setValue(this.handle.style.bottom,this.slider.offsetHeight-this.handle.offsetHeight)},n.prototype.onmouseup=function(){this.unselectable(this.slider,!1)}}),e.alias("component-events/index.js","powerange/deps/events/index.js"),e.alias("component-events/index.js","events/index.js"),e.alias("component-event/index.js","component-events/deps/event/index.js"),e.alias("component-delegate/index.js","component-events/deps/delegate/index.js"),e.alias("discore-closest/index.js","component-delegate/deps/closest/index.js"),e.alias("discore-closest/index.js","component-delegate/deps/closest/index.js"),e.alias("component-matches-selector/index.js","discore-closest/deps/matches-selector/index.js"),e.alias("component-query/index.js","component-matches-selector/deps/query/index.js"),e.alias("discore-closest/index.js","discore-closest/index.js"),e.alias("component-event/index.js","component-delegate/deps/event/index.js"),e.alias("component-classes/index.js","powerange/deps/classes/index.js"),e.alias("component-classes/index.js","classes/index.js"),e.alias("component-indexof/index.js","component-classes/deps/indexof/index.js"),e.alias("ui-component-mouse/index.js","powerange/deps/mouse/index.js"),e.alias("ui-component-mouse/index.js","mouse/index.js"),e.alias("component-emitter/index.js","ui-component-mouse/deps/emitter/index.js"),e.alias("component-event/index.js","ui-component-mouse/deps/event/index.js"),e.alias("abpetkov-percentage-calc/percentage-calc.js","powerange/deps/percentage-calc/percentage-calc.js"),e.alias("abpetkov-percentage-calc/percentage-calc.js","powerange/deps/percentage-calc/index.js"),e.alias("abpetkov-percentage-calc/percentage-calc.js","percentage-calc/index.js"),e.alias("abpetkov-percentage-calc/percentage-calc.js","abpetkov-percentage-calc/index.js"),e.alias("abpetkov-closest-num/closest-num.js","powerange/deps/closest-num/closest-num.js"),e.alias("abpetkov-closest-num/closest-num.js","powerange/deps/closest-num/index.js"),e.alias("abpetkov-closest-num/closest-num.js","closest-num/index.js"),e.alias("abpetkov-closest-num/closest-num.js","abpetkov-closest-num/index.js"),e.alias("vesln-super/lib/super.js","powerange/deps/super/lib/super.js"),e.alias("vesln-super/lib/super.js","powerange/deps/super/index.js"),e.alias("vesln-super/lib/super.js","super/index.js"),e.alias("vesln-super/lib/super.js","vesln-super/index.js"),e.alias("powerange/lib/powerange.js","powerange/index.js"),"object"==typeof exports?module.exports=e("powerange"):"function"==typeof define&&define.amd?define([],function(){return e("powerange")}):this.Powerange=e("powerange")})();
2
-
1
+ (function(){function e(t,s,n){var i=e.resolve(t);if(null==i){n=n||t,s=s||"root";var o=Error('Failed to require "'+n+'" from "'+s+'"');throw o.path=n,o.parent=s,o.require=!0,o}var r=e.modules[i];if(!r._resolving&&!r.exports){var a={};a.exports={},a.client=a.component=!0,r._resolving=!0,r.call(this,a.exports,e.relative(i),a),delete r._resolving,r.exports=a.exports}return r.exports}e.modules={},e.aliases={},e.resolve=function(t){"/"===t.charAt(0)&&(t=t.slice(1));for(var s=[t,t+".js",t+".json",t+"/index.js",t+"/index.json"],n=0;s.length>n;n++){var t=s[n];if(e.modules.hasOwnProperty(t))return t;if(e.aliases.hasOwnProperty(t))return e.aliases[t]}},e.normalize=function(e,t){var s=[];if("."!=t.charAt(0))return t;e=e.split("/"),t=t.split("/");for(var n=0;t.length>n;++n)".."==t[n]?e.pop():"."!=t[n]&&""!=t[n]&&s.push(t[n]);return e.concat(s).join("/")},e.register=function(t,s){e.modules[t]=s},e.alias=function(t,s){if(!e.modules.hasOwnProperty(t))throw Error('Failed to alias "'+t+'", it does not exist');e.aliases[s]=t},e.relative=function(t){function s(e,t){for(var s=e.length;s--;)if(e[s]===t)return s;return-1}function n(s){var i=n.resolve(s);return e(i,t,s)}var i=e.normalize(t,"..");return n.resolve=function(n){var o=n.charAt(0);if("/"==o)return n.slice(1);if("."==o)return e.normalize(i,n);var r=t.split("/"),a=s(r,"deps")+1;return a||(a=0),n=r.slice(0,a+1).join("/")+"/deps/"+n},n.exists=function(t){return e.modules.hasOwnProperty(n.resolve(t))},n},e.register("component-event/index.js",function(e){var t=window.addEventListener?"addEventListener":"attachEvent",s=window.removeEventListener?"removeEventListener":"detachEvent",n="addEventListener"!==t?"on":"";e.bind=function(e,s,i,o){return e[t](n+s,i,o||!1),i},e.unbind=function(e,t,i,o){return e[s](n+t,i,o||!1),i}}),e.register("component-query/index.js",function(e,t,s){function n(e,t){return t.querySelector(e)}e=s.exports=function(e,t){return t=t||document,n(e,t)},e.all=function(e,t){return t=t||document,t.querySelectorAll(e)},e.engine=function(t){if(!t.one)throw Error(".one callback required");if(!t.all)throw Error(".all callback required");return n=t.one,e.all=t.all,e}}),e.register("component-matches-selector/index.js",function(e,t,s){function n(e,t){if(r)return r.call(e,t);for(var s=i.all(t,e.parentNode),n=0;s.length>n;++n)if(s[n]==e)return!0;return!1}var i=t("query"),o=Element.prototype,r=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector;s.exports=n}),e.register("discore-closest/index.js",function(e,t,s){var n=t("matches-selector");s.exports=function(e,t,s,i){for(e=s?{parentNode:e}:e,i=i||document;(e=e.parentNode)&&e!==document;){if(n(e,t))return e;if(e===i)return}}}),e.register("component-delegate/index.js",function(e,t){var s=t("closest"),n=t("event");e.bind=function(e,t,i,o,r){return n.bind(e,i,function(n){var i=n.target||n.srcElement;n.delegateTarget=s(i,t,!0,e),n.delegateTarget&&o.call(e,n)},r)},e.unbind=function(e,t,s,i){n.unbind(e,t,s,i)}}),e.register("component-events/index.js",function(e,t,s){function n(e,t){if(!(this instanceof n))return new n(e,t);if(!e)throw Error("element required");if(!t)throw Error("object required");this.el=e,this.obj=t,this._events={}}function i(e){var t=e.split(/ +/);return{name:t.shift(),selector:t.join(" ")}}var o=t("event"),r=t("delegate");s.exports=n,n.prototype.sub=function(e,t,s){this._events[e]=this._events[e]||{},this._events[e][t]=s},n.prototype.bind=function(e,t){function s(){var e=[].slice.call(arguments).concat(h);l[t].apply(l,e)}var n=i(e),a=this.el,l=this.obj,c=n.name,t=t||"on"+c,h=[].slice.call(arguments,2);return n.selector?s=r.bind(a,n.selector,c,s):o.bind(a,c,s),this.sub(c,t,s),s},n.prototype.unbind=function(e,t){if(0==arguments.length)return this.unbindAll();if(1==arguments.length)return this.unbindAllOf(e);var s=this._events[e];if(s){var n=s[t];n&&o.unbind(this.el,e,n)}},n.prototype.unbindAll=function(){for(var e in this._events)this.unbindAllOf(e)},n.prototype.unbindAllOf=function(e){var t=this._events[e];if(t)for(var s in t)this.unbind(e,s)}}),e.register("component-indexof/index.js",function(e,t,s){s.exports=function(e,t){if(e.indexOf)return e.indexOf(t);for(var s=0;e.length>s;++s)if(e[s]===t)return s;return-1}}),e.register("component-classes/index.js",function(e,t,s){function n(e){if(!e)throw Error("A DOM element reference is required");this.el=e,this.list=e.classList}var i=t("indexof"),o=/\s+/,r=Object.prototype.toString;s.exports=function(e){return new n(e)},n.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array(),s=i(t,e);return~s||t.push(e),this.el.className=t.join(" "),this},n.prototype.remove=function(e){if("[object RegExp]"==r.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),s=i(t,e);return~s&&t.splice(s,1),this.el.className=t.join(" "),this},n.prototype.removeMatching=function(e){for(var t=this.array(),s=0;t.length>s;s++)e.test(t[s])&&this.remove(t[s]);return this},n.prototype.toggle=function(e,t){return this.list?(t!==void 0?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this):(t!==void 0?t?this.add(e):this.remove(e):this.has(e)?this.remove(e):this.add(e),this)},n.prototype.array=function(){var e=this.el.className.replace(/^\s+|\s+$/g,""),t=e.split(o);return""===t[0]&&t.shift(),t},n.prototype.has=n.prototype.contains=function(e){return this.list?this.list.contains(e):!!~i(this.array(),e)}}),e.register("component-emitter/index.js",function(e,t,s){function n(e){return e?i(e):void 0}function i(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}s.exports=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks[e]=this._callbacks[e]||[]).push(t),this},n.prototype.once=function(e,t){function s(){n.off(e,s),t.apply(this,arguments)}var n=this;return this._callbacks=this._callbacks||{},s.fn=t,this.on(e,s),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var s=this._callbacks[e];if(!s)return this;if(1==arguments.length)return delete this._callbacks[e],this;for(var n,i=0;s.length>i;i++)if(n=s[i],n===t||n.fn===t){s.splice(i,1);break}return this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),s=this._callbacks[e];if(s){s=s.slice(0);for(var n=0,i=s.length;i>n;++n)s[n].apply(this,t)}return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}}),e.register("ui-component-mouse/index.js",function(e,t,s){function n(e,t){this.obj=t||{},this.el=e}var i=t("emitter"),o=t("event");s.exports=function(e,t){return new n(e,t)},i(n.prototype),n.prototype.bind=function(){function e(i){s.onmouseup&&s.onmouseup(i),o.unbind(document,"mousemove",t),o.unbind(document,"mouseup",e),n.emit("up",i)}function t(e){s.onmousemove&&s.onmousemove(e),n.emit("move",e)}var s=this.obj,n=this;return n.down=function(i){s.onmousedown&&s.onmousedown(i),o.bind(document,"mouseup",e),o.bind(document,"mousemove",t),n.emit("down",i)},o.bind(this.el,"mousedown",n.down),this},n.prototype.unbind=function(){o.unbind(this.el,"mousedown",this.down),this.down=null}}),e.register("abpetkov-percentage-calc/percentage-calc.js",function(e){e.isNumber=function(e){return"number"==typeof e?!0:!1},e.of=function(t,s){return e.isNumber(t)&&e.isNumber(s)?t/100*s:void 0},e.from=function(t,s){return e.isNumber(t)&&e.isNumber(s)?100*(t/s):void 0}}),e.register("abpetkov-closest-num/closest-num.js",function(e){e.find=function(e,t){var s=null,n=null,o=t[0];for(i=0;t.length>i;i++)s=Math.abs(e-o),n=Math.abs(e-t[i]),s>n&&(o=t[i]);return o}}),e.register("vesln-super/lib/super.js",function(e,t,s){function n(){var t=i.call(arguments);if(t.length)return"function"!=typeof t[0]?e.merge(t):(e.inherits.apply(null,t),void 0)}var i=Array.prototype.slice,e=s.exports=n;e.extend=function(t,s){var n=this,i=function(){return n.apply(this,arguments)};return e.merge([i,this]),e.inherits(i,this),t&&e.merge([i.prototype,t]),s&&e.merge([i,s]),i.extend=this.extend,i},e.inherits=function(e,t){e.super_=t,Object.create?e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}):(e.prototype=new t,e.prototype.constructor=e)},e.merge=function(e){for(var t=2===e.length?e.shift():{},s=null,n=0,i=e.length;i>n;n++){s=e[n];for(var o in s)s.hasOwnProperty(o)&&(t[o]=s[o])}return t}}),e.register("powerange/lib/powerange.js",function(e,t,s){var n=(t("./main"),t("./horizontal")),i=t("./vertical"),o={callback:function(){},decimal:!1,disable:!1,disableOpacity:.5,hideRange:!1,klass:"",min:0,max:100,start:null,step:null,vertical:!1};s.exports=function(e,t){t=t||{};for(var s in o)null==t[s]&&(t[s]=o[s]);return t.vertical?new i(e,t):new n(e,t)}}),e.register("powerange/lib/main.js",function(e,t,s){function n(e,t){return this instanceof n?(this.element=e,this.options=t||{},this.slider=this.create("span","range-bar"),null!==this.element&&"text"===this.element.type&&this.init(),void 0):new n(e,t)}var o=t("mouse"),r=t("events"),a=t("classes"),l=t("percentage-calc");s.exports=n,n.prototype.bindEvents=function(){this.handle=this.slider.querySelector(".range-handle"),this.touch=r(this.handle,this),this.touch.bind("touchstart","onmousedown"),this.touch.bind("touchmove","onmousemove"),this.touch.bind("touchend","onmouseup"),this.mouse=o(this.handle,this),this.mouse.bind()},n.prototype.hide=function(){this.element.style.display="none"},n.prototype.append=function(){var e=this.generate();this.insertAfter(this.element,e)},n.prototype.generate=function(){var e={handle:{type:"span",selector:"range-handle"},min:{type:"span",selector:"range-min"},max:{type:"span",selector:"range-max"},quantity:{type:"span",selector:"range-quantity"}};for(var t in e)if(e.hasOwnProperty(t)){var s=this.create(e[t].type,e[t].selector);this.slider.appendChild(s)}return this.slider},n.prototype.create=function(e,t){var s=document.createElement(e);return s.className=t,s},n.prototype.insertAfter=function(e,t){e.parentNode.insertBefore(t,e.nextSibling)},n.prototype.extraClass=function(e){this.options.klass&&a(this.slider).add(e)},n.prototype.setRange=function(e,t){"number"!=typeof e||"number"!=typeof t||this.options.hideRange||(this.slider.querySelector(".range-min").innerHTML=e,this.slider.querySelector(".range-max").innerHTML=t)},n.prototype.setValue=function(e,t){var s=l.from(parseFloat(e),t),n=l.of(s,this.options.max-this.options.min)+this.options.min,i=!1;n=this.options.decimal?Math.round(100*n)/100:Math.round(n),i=this.element.value!=n?!0:!1,this.element.value=n,this.options.callback(),i&&this.changeEvent()},n.prototype.step=function(e,t){var s=e-t,n=l.from(this.checkStep(this.options.step),this.options.max-this.options.min),o=l.of(n,s),r=[];for(i=0;s>=i;i+=o)r.push(i);return this.steps=r,this.steps},n.prototype.checkValues=function(e){this.options.min>e&&(this.options.start=this.options.min),e>this.options.max&&(this.options.start=this.options.max),this.options.min>=this.options.max&&(this.options.min=this.options.max)},n.prototype.checkStep=function(e){return 0>e&&(e=Math.abs(e)),this.options.step=e,this.options.step},n.prototype.disable=function(){(this.options.min==this.options.max||this.options.min>this.options.max||this.options.disable)&&(this.mouse.unbind(),this.touch.unbind(),this.slider.style.opacity=this.options.disableOpacity,a(this.handle).add("range-disabled"))},n.prototype.unselectable=function(e,t){a(this.slider).has("unselectable")||t!==!0?a(this.slider).remove("unselectable"):a(this.slider).add("unselectable")},n.prototype.changeEvent=function(){if("function"!=typeof Event&&document.fireEvent)this.element.fireEvent("onchange");else{var e=document.createEvent("HTMLEvents");e.initEvent("change",!1,!0),this.element.dispatchEvent(e)}},n.prototype.init=function(){this.hide(),this.append(),this.bindEvents(),this.extraClass(this.options.klass),this.checkValues(this.options.start),this.setRange(this.options.min,this.options.max),this.disable()}}),e.register("powerange/lib/horizontal.js",function(e,t,s){function n(){a.apply(this,arguments),this.options.step&&this.step(this.slider.offsetWidth,this.handle.offsetWidth),this.setStart(this.options.start)}var i=t("super"),o=t("closest-num"),r=t("percentage-calc"),a=t("./main");s.exports=n,i(n,a),n.prototype.setStart=function(e){var t=null===e?this.options.min:e,s=r.from(t-this.options.min,this.options.max-this.options.min)||0,n=r.of(s,this.slider.offsetWidth-this.handle.offsetWidth),i=this.options.step?o.find(n,this.steps):n;this.setPosition(i),this.setValue(this.handle.style.left,this.slider.offsetWidth-this.handle.offsetWidth)},n.prototype.setPosition=function(e){this.handle.style.left=e+"px",this.slider.querySelector(".range-quantity").style.width=e+"px"},n.prototype.onmousedown=function(e){e.touches&&(e=e.touches[0]),this.startX=e.clientX,this.handleOffsetX=this.handle.offsetLeft,this.restrictHandleX=this.slider.offsetWidth-this.handle.offsetWidth,this.unselectable(this.slider,!0)},n.prototype.onmousemove=function(e){e.preventDefault(),e.touches&&(e=e.touches[0]);var t=this.handleOffsetX+e.clientX-this.startX,s=this.steps?o.find(t,this.steps):t;0>=t?this.setPosition(0):t>=this.restrictHandleX?this.setPosition(this.restrictHandleX):this.setPosition(s),this.setValue(this.handle.style.left,this.slider.offsetWidth-this.handle.offsetWidth)},n.prototype.onmouseup=function(){this.unselectable(this.slider,!1)}}),e.register("powerange/lib/vertical.js",function(e,t,s){function n(){l.apply(this,arguments),o(this.slider).add("vertical"),this.options.step&&this.step(this.slider.offsetHeight,this.handle.offsetHeight),this.setStart(this.options.start)}var i=t("super"),o=t("classes"),r=t("closest-num"),a=t("percentage-calc"),l=t("./main");s.exports=n,i(n,l),n.prototype.setStart=function(e){var t=null===e?this.options.min:e,s=a.from(t-this.options.min,this.options.max-this.options.min)||0,n=a.of(s,this.slider.offsetHeight-this.handle.offsetHeight),i=this.options.step?r.find(n,this.steps):n;this.setPosition(i),this.setValue(this.handle.style.bottom,this.slider.offsetHeight-this.handle.offsetHeight)},n.prototype.setPosition=function(e){this.handle.style.bottom=e+"px",this.slider.querySelector(".range-quantity").style.height=e+"px"},n.prototype.onmousedown=function(e){e.touches&&(e=e.touches[0]),this.startY=e.clientY,this.handleOffsetY=this.slider.offsetHeight-this.handle.offsetHeight-this.handle.offsetTop,this.restrictHandleY=this.slider.offsetHeight-this.handle.offsetHeight,this.unselectable(this.slider,!0)},n.prototype.onmousemove=function(e){e.preventDefault(),e.touches&&(e=e.touches[0]);var t=this.handleOffsetY+this.startY-e.clientY,s=this.steps?r.find(t,this.steps):t;0>=t?this.setPosition(0):t>=this.restrictHandleY?this.setPosition(this.restrictHandleY):this.setPosition(s),this.setValue(this.handle.style.bottom,this.slider.offsetHeight-this.handle.offsetHeight)},n.prototype.onmouseup=function(){this.unselectable(this.slider,!1)}}),e.alias("component-events/index.js","powerange/deps/events/index.js"),e.alias("component-events/index.js","events/index.js"),e.alias("component-event/index.js","component-events/deps/event/index.js"),e.alias("component-delegate/index.js","component-events/deps/delegate/index.js"),e.alias("discore-closest/index.js","component-delegate/deps/closest/index.js"),e.alias("discore-closest/index.js","component-delegate/deps/closest/index.js"),e.alias("component-matches-selector/index.js","discore-closest/deps/matches-selector/index.js"),e.alias("component-query/index.js","component-matches-selector/deps/query/index.js"),e.alias("discore-closest/index.js","discore-closest/index.js"),e.alias("component-event/index.js","component-delegate/deps/event/index.js"),e.alias("component-classes/index.js","powerange/deps/classes/index.js"),e.alias("component-classes/index.js","classes/index.js"),e.alias("component-indexof/index.js","component-classes/deps/indexof/index.js"),e.alias("ui-component-mouse/index.js","powerange/deps/mouse/index.js"),e.alias("ui-component-mouse/index.js","mouse/index.js"),e.alias("component-emitter/index.js","ui-component-mouse/deps/emitter/index.js"),e.alias("component-event/index.js","ui-component-mouse/deps/event/index.js"),e.alias("abpetkov-percentage-calc/percentage-calc.js","powerange/deps/percentage-calc/percentage-calc.js"),e.alias("abpetkov-percentage-calc/percentage-calc.js","powerange/deps/percentage-calc/index.js"),e.alias("abpetkov-percentage-calc/percentage-calc.js","percentage-calc/index.js"),e.alias("abpetkov-percentage-calc/percentage-calc.js","abpetkov-percentage-calc/index.js"),e.alias("abpetkov-closest-num/closest-num.js","powerange/deps/closest-num/closest-num.js"),e.alias("abpetkov-closest-num/closest-num.js","powerange/deps/closest-num/index.js"),e.alias("abpetkov-closest-num/closest-num.js","closest-num/index.js"),e.alias("abpetkov-closest-num/closest-num.js","abpetkov-closest-num/index.js"),e.alias("vesln-super/lib/super.js","powerange/deps/super/lib/super.js"),e.alias("vesln-super/lib/super.js","powerange/deps/super/index.js"),e.alias("vesln-super/lib/super.js","super/index.js"),e.alias("vesln-super/lib/super.js","vesln-super/index.js"),e.alias("powerange/lib/powerange.js","powerange/index.js"),"object"==typeof exports?module.exports=e("powerange"):"function"==typeof define&&define.amd?define([],function(){return e("powerange")}):this.Powerange=e("powerange")})();
 
popup-builder.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Popup Builder
4
  * Plugin URI: http://sygnoos.com
5
  * Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
6
- * Version: 2.5.2
7
  * Author: Sygnoos
8
  * Author URI: http://www.sygnoos.com
9
  * License: GPLv2
@@ -14,6 +14,7 @@ require_once(SG_APP_POPUP_HELPERS .'/Helper_functions.php');
14
  HelperFunctions::checkRequirements();
15
 
16
  require_once(SG_APP_POPUP_PATH ."/classes/SGPBExtensionManager.php");
 
17
  require_once(SG_APP_POPUP_CLASSES .'/SGPopupBuilderMain.php');
18
 
19
  $mainPopupObj = new SGPopupBuilderMain();
@@ -56,6 +57,9 @@ function sgPopupActivate()
56
  PopupProInstaller::addExtensionToPluginSection();
57
  PopupProInstaller::install();
58
  }
 
 
 
59
  }
60
 
61
  function sgRegisterScripts()
3
  * Plugin Name: Popup Builder
4
  * Plugin URI: http://sygnoos.com
5
  * Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
6
+ * Version: 2.5.3
7
  * Author: Sygnoos
8
  * Author URI: http://www.sygnoos.com
9
  * License: GPLv2
14
  HelperFunctions::checkRequirements();
15
 
16
  require_once(SG_APP_POPUP_PATH ."/classes/SGPBExtensionManager.php");
17
+ require_once(SG_APP_POPUP_PATH . "/classes/SGPBExtensionsConnector.php");
18
  require_once(SG_APP_POPUP_CLASSES .'/SGPopupBuilderMain.php');
19
 
20
  $mainPopupObj = new SGPopupBuilderMain();
57
  PopupProInstaller::addExtensionToPluginSection();
58
  PopupProInstaller::install();
59
  }
60
+
61
+ $extensionConnectionObj = new SGPBExtensionsConnector();
62
+ $extensionConnectionObj->activate(true);
63
  }
64
 
65
  function sgRegisterScripts()
readme.txt CHANGED
@@ -5,7 +5,7 @@ Author: Sygnoos
5
  Donate link: http://popup-builder.com
6
  Tags: popup, restriction popup, exit intent popup, subscription popup
7
  Requires at least: 3.8
8
- Tested up to: 4.7.2
9
  Stable tag: trunk
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -159,6 +159,14 @@ Go to the Popup Builder settings and set your desired options.
159
 
160
  == Changelog ==
161
 
 
 
 
 
 
 
 
 
162
  = Version 2.5.2 =
163
  * Added new option ‘auto’ inside the responsive mode.
164
  * Tweak: popup loading optimization.
@@ -466,7 +474,7 @@ This will open a popup before a user goes to the page from the link.
466
 
467
  **How to redirect users after clicking on the popup image?**
468
 
469
- Go to the “Options” section of your popup and find "Dismiss on content click" option.
470
  Then Select "Redirect" option and in the URL field type the URL of the page you need your users to be redirected to.
471
 
472
  **Can I show a popup after a specific amount of time?**
@@ -605,7 +613,7 @@ Leave us a good review :)
605
 
606
  == Upgrade Notice ==
607
 
608
- Current Version of Popup Builder is 2.5.2
609
 
610
  == Other Notes ==
611
 
5
  Donate link: http://popup-builder.com
6
  Tags: popup, restriction popup, exit intent popup, subscription popup
7
  Requires at least: 3.8
8
+ Tested up to: 4.7.3
9
  Stable tag: trunk
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
159
 
160
  == Changelog ==
161
 
162
+ = Version 2.5.3 =
163
+ * Tweak: JS and CSS minified for better performance.
164
+ * Tweak: Responsive mode calculations are more accurate.
165
+ * Tweak: Facebook popup share and like buttons will be localized according to the site language.
166
+ * Bug fixed connected to user roles who can use popup builder plugin.
167
+ * Bug fixed connected to Max-Width option for ‘Auto’ mode.
168
+ * Code optimization and typo fixes.
169
+
170
  = Version 2.5.2 =
171
  * Added new option ‘auto’ inside the responsive mode.
172
  * Tweak: popup loading optimization.
474
 
475
  **How to redirect users after clicking on the popup image?**
476
 
477
+ Go to the Options section of your popup and find "Dismiss on content click" option.
478
  Then Select "Redirect" option and in the URL field type the URL of the page you need your users to be redirected to.
479
 
480
  **Can I show a popup after a specific amount of time?**
613
 
614
  == Upgrade Notice ==
615
 
616
+ Current Version of Popup Builder is 2.5.3
617
 
618
  == Other Notes ==
619
 
style/animate.css CHANGED
@@ -1,2762 +1,6 @@
1
- @charset "UTF-8";
2
-
3
- /*!
4
  Animate.css - http://daneden.me/animate
5
  Licensed under the MIT license - http://opensource.org/licenses/MIT
6
 
7
  Copyright (c) 2015 Daniel Eden
8
- */
9
-
10
- .sg-animated {
11
- -webkit-animation-duration: 1s;
12
- animation-duration: 1s;
13
- -webkit-animation-fill-mode: both;
14
- animation-fill-mode: both
15
- }
16
- .sg-animated.infinite {
17
- -webkit-animation-iteration-count: infinite;
18
- animation-iteration-count: infinite
19
- }
20
- .sg-animated.hinge {
21
- -webkit-animation-duration: 2s;
22
- animation-duration: 2s
23
- }
24
- .sg-animated.bounceIn,
25
- .sg-animated.bounceOut,
26
- .sg-animated.flipOutX,
27
- .sg-animated.flipOutY {
28
- -webkit-animation-duration: .75s;
29
- animation-duration: .75s
30
- }
31
- @-webkit-keyframes bounce {
32
- 20%, 53%, 80%, from, to {
33
- -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
34
- animation-timing-function: cubic-bezier(.215, .61, .355, 1);
35
- -webkit-transform: translate3d(0, 0, 0);
36
- transform: translate3d(0, 0, 0)
37
- }
38
- 40%,
39
- 43% {
40
- -webkit-animation-timing-function: cubic-bezier(.755, .050, .855, .060);
41
- animation-timing-function: cubic-bezier(.755, .050, .855, .060);
42
- -webkit-transform: translate3d(0, -30px, 0);
43
- transform: translate3d(0, -30px, 0)
44
- }
45
- 70% {
46
- -webkit-animation-timing-function: cubic-bezier(.755, .050, .855, .060);
47
- animation-timing-function: cubic-bezier(.755, .050, .855, .060);
48
- -webkit-transform: translate3d(0, -15px, 0);
49
- transform: translate3d(0, -15px, 0)
50
- }
51
- 90% {
52
- -webkit-transform: translate3d(0, -4px, 0);
53
- transform: translate3d(0, -4px, 0)
54
- }
55
- }
56
- @keyframes bounce {
57
- 20%, 53%, 80%, from, to {
58
- -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
59
- animation-timing-function: cubic-bezier(.215, .61, .355, 1);
60
- -webkit-transform: translate3d(0, 0, 0);
61
- transform: translate3d(0, 0, 0)
62
- }
63
- 40%,
64
- 43% {
65
- -webkit-animation-timing-function: cubic-bezier(.755, .050, .855, .060);
66
- animation-timing-function: cubic-bezier(.755, .050, .855, .060);
67
- -webkit-transform: translate3d(0, -30px, 0);
68
- transform: translate3d(0, -30px, 0)
69
- }
70
- 70% {
71
- -webkit-animation-timing-function: cubic-bezier(.755, .050, .855, .060);
72
- animation-timing-function: cubic-bezier(.755, .050, .855, .060);
73
- -webkit-transform: translate3d(0, -15px, 0);
74
- transform: translate3d(0, -15px, 0)
75
- }
76
- 90% {
77
- -webkit-transform: translate3d(0, -4px, 0);
78
- transform: translate3d(0, -4px, 0)
79
- }
80
- }
81
- .bounce {
82
- -webkit-animation-name: bounce;
83
- animation-name: bounce;
84
- -webkit-transform-origin: center bottom;
85
- transform-origin: center bottom
86
- }
87
- @-webkit-keyframes flash {
88
- 50%, from, to {
89
- opacity: 1
90
- }
91
- 25%,
92
- 75% {
93
- opacity: 0
94
- }
95
- }
96
- @keyframes flash {
97
- 50%, from, to {
98
- opacity: 1
99
- }
100
- 25%,
101
- 75% {
102
- opacity: 0
103
- }
104
- }
105
- .flash {
106
- -webkit-animation-name: flash;
107
- animation-name: flash
108
- }
109
- @-webkit-keyframes pulse {
110
- from, to {
111
- -webkit-transform: scale3d(1, 1, 1);
112
- transform: scale3d(1, 1, 1)
113
- }
114
- 50% {
115
- -webkit-transform: scale3d(1.05, 1.05, 1.05);
116
- transform: scale3d(1.05, 1.05, 1.05)
117
- }
118
- }
119
- @keyframes pulse {
120
- from, to {
121
- -webkit-transform: scale3d(1, 1, 1);
122
- transform: scale3d(1, 1, 1)
123
- }
124
- 50% {
125
- -webkit-transform: scale3d(1.05, 1.05, 1.05);
126
- transform: scale3d(1.05, 1.05, 1.05)
127
- }
128
- }
129
- .pulse {
130
- -webkit-animation-name: pulse;
131
- animation-name: pulse
132
- }
133
- @-webkit-keyframes rubberBand {
134
- from, to {
135
- -webkit-transform: scale3d(1, 1, 1);
136
- transform: scale3d(1, 1, 1)
137
- }
138
- 30% {
139
- -webkit-transform: scale3d(1.25, .75, 1);
140
- transform: scale3d(1.25, .75, 1)
141
- }
142
- 40% {
143
- -webkit-transform: scale3d(.75, 1.25, 1);
144
- transform: scale3d(.75, 1.25, 1)
145
- }
146
- 50% {
147
- -webkit-transform: scale3d(1.15, .85, 1);
148
- transform: scale3d(1.15, .85, 1)
149
- }
150
- 65% {
151
- -webkit-transform: scale3d(.95, 1.05, 1);
152
- transform: scale3d(.95, 1.05, 1)
153
- }
154
- 75% {
155
- -webkit-transform: scale3d(1.05, .95, 1);
156
- transform: scale3d(1.05, .95, 1)
157
- }
158
- }
159
- @keyframes rubberBand {
160
- from, to {
161
- -webkit-transform: scale3d(1, 1, 1);
162
- transform: scale3d(1, 1, 1)
163
- }
164
- 30% {
165
- -webkit-transform: scale3d(1.25, .75, 1);
166
- transform: scale3d(1.25, .75, 1)
167
- }
168
- 40% {
169
- -webkit-transform: scale3d(.75, 1.25, 1);
170
- transform: scale3d(.75, 1.25, 1)
171
- }
172
- 50% {
173
- -webkit-transform: scale3d(1.15, .85, 1);
174
- transform: scale3d(1.15, .85, 1)
175
- }
176
- 65% {
177
- -webkit-transform: scale3d(.95, 1.05, 1);
178
- transform: scale3d(.95, 1.05, 1)
179
- }
180
- 75% {
181
- -webkit-transform: scale3d(1.05, .95, 1);
182
- transform: scale3d(1.05, .95, 1)
183
- }
184
- }
185
- .rubberBand {
186
- -webkit-animation-name: rubberBand;
187
- animation-name: rubberBand
188
- }
189
- @-webkit-keyframes shake {
190
- from, to {
191
- -webkit-transform: translate3d(0, 0, 0);
192
- transform: translate3d(0, 0, 0)
193
- }
194
- 10%,
195
- 30%,
196
- 50%,
197
- 70%,
198
- 90% {
199
- -webkit-transform: translate3d(-10px, 0, 0);
200
- transform: translate3d(-10px, 0, 0)
201
- }
202
- 20%,
203
- 40%,
204
- 60%,
205
- 80% {
206
- -webkit-transform: translate3d(10px, 0, 0);
207
- transform: translate3d(10px, 0, 0)
208
- }
209
- }
210
- @keyframes shake {
211
- from, to {
212
- -webkit-transform: translate3d(0, 0, 0);
213
- transform: translate3d(0, 0, 0)
214
- }
215
- 10%,
216
- 30%,
217
- 50%,
218
- 70%,
219
- 90% {
220
- -webkit-transform: translate3d(-10px, 0, 0);
221
- transform: translate3d(-10px, 0, 0)
222
- }
223
- 20%,
224
- 40%,
225
- 60%,
226
- 80% {
227
- -webkit-transform: translate3d(10px, 0, 0);
228
- transform: translate3d(10px, 0, 0)
229
- }
230
- }
231
- .shake {
232
- -webkit-animation-name: shake;
233
- animation-name: shake
234
- }
235
- @-webkit-keyframes swing {
236
- 20% {
237
- -webkit-transform: rotate3d(0, 0, 1, 15deg);
238
- transform: rotate3d(0, 0, 1, 15deg)
239
- }
240
- 40% {
241
- -webkit-transform: rotate3d(0, 0, 1, -10deg);
242
- transform: rotate3d(0, 0, 1, -10deg)
243
- }
244
- 60% {
245
- -webkit-transform: rotate3d(0, 0, 1, 5deg);
246
- transform: rotate3d(0, 0, 1, 5deg)
247
- }
248
- 80% {
249
- -webkit-transform: rotate3d(0, 0, 1, -5deg);
250
- transform: rotate3d(0, 0, 1, -5deg)
251
- }
252
- to {
253
- -webkit-transform: rotate3d(0, 0, 1, 0deg);
254
- transform: rotate3d(0, 0, 1, 0deg)
255
- }
256
- }
257
- @keyframes swing {
258
- 20% {
259
- -webkit-transform: rotate3d(0, 0, 1, 15deg);
260
- transform: rotate3d(0, 0, 1, 15deg)
261
- }
262
- 40% {
263
- -webkit-transform: rotate3d(0, 0, 1, -10deg);
264
- transform: rotate3d(0, 0, 1, -10deg)
265
- }
266
- 60% {
267
- -webkit-transform: rotate3d(0, 0, 1, 5deg);
268
- transform: rotate3d(0, 0, 1, 5deg)
269
- }
270
- 80% {
271
- -webkit-transform: rotate3d(0, 0, 1, -5deg);
272
- transform: rotate3d(0, 0, 1, -5deg)
273
- }
274
- to {
275
- -webkit-transform: rotate3d(0, 0, 1, 0deg);
276
- transform: rotate3d(0, 0, 1, 0deg)
277
- }
278
- }
279
- .swing {
280
- -webkit-transform-origin: top center;
281
- transform-origin: top center;
282
- -webkit-animation-name: swing;
283
- animation-name: swing
284
- }
285
- @-webkit-keyframes tada {
286
- from, to {
287
- -webkit-transform: scale3d(1, 1, 1);
288
- transform: scale3d(1, 1, 1)
289
- }
290
- 10%,
291
- 20% {
292
- -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
293
- transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg)
294
- }
295
- 30%,
296
- 50%,
297
- 70%,
298
- 90% {
299
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
300
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)
301
- }
302
- 40%,
303
- 60%,
304
- 80% {
305
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
306
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)
307
- }
308
- }
309
- @keyframes tada {
310
- from, to {
311
- -webkit-transform: scale3d(1, 1, 1);
312
- transform: scale3d(1, 1, 1)
313
- }
314
- 10%,
315
- 20% {
316
- -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
317
- transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg)
318
- }
319
- 30%,
320
- 50%,
321
- 70%,
322
- 90% {
323
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
324
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)
325
- }
326
- 40%,
327
- 60%,
328
- 80% {
329
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
330
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)
331
- }
332
- }
333
- .tada {
334
- -webkit-animation-name: tada;
335
- animation-name: tada
336
- }
337
- @-webkit-keyframes wobble {
338
- from, to {
339
- -webkit-transform: none;
340
- transform: none
341
- }
342
- 15% {
343
- -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
344
- transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg)
345
- }
346
- 30% {
347
- -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
348
- transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg)
349
- }
350
- 45% {
351
- -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
352
- transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg)
353
- }
354
- 60% {
355
- -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
356
- transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg)
357
- }
358
- 75% {
359
- -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
360
- transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg)
361
- }
362
- }
363
- @keyframes wobble {
364
- from, to {
365
- -webkit-transform: none;
366
- transform: none
367
- }
368
- 15% {
369
- -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
370
- transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg)
371
- }
372
- 30% {
373
- -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
374
- transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg)
375
- }
376
- 45% {
377
- -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
378
- transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg)
379
- }
380
- 60% {
381
- -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
382
- transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg)
383
- }
384
- 75% {
385
- -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
386
- transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg)
387
- }
388
- }
389
- .wobble {
390
- -webkit-animation-name: wobble;
391
- animation-name: wobble
392
- }
393
- @-webkit-keyframes jello {
394
- 11.1%, from, to {
395
- -webkit-transform: none;
396
- transform: none
397
- }
398
- 22.2% {
399
- -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
400
- transform: skewX(-12.5deg) skewY(-12.5deg)
401
- }
402
- 33.3% {
403
- -webkit-transform: skewX(6.25deg) skewY(6.25deg);
404
- transform: skewX(6.25deg) skewY(6.25deg)
405
- }
406
- 44.4% {
407
- -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
408
- transform: skewX(-3.125deg) skewY(-3.125deg)
409
- }
410
- 55.5% {
411
- -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
412
- transform: skewX(1.5625deg) skewY(1.5625deg)
413
- }
414
- 66.6% {
415
- -webkit-transform: skewX(-.78125deg) skewY(-.78125deg);
416
- transform: skewX(-.78125deg) skewY(-.78125deg)
417
- }
418
- 77.7% {
419
- -webkit-transform: skewX(.390625deg) skewY(.390625deg);
420
- transform: skewX(.390625deg) skewY(.390625deg)
421
- }
422
- 88.8% {
423
- -webkit-transform: skewX(-.1953125deg) skewY(-.1953125deg);
424
- transform: skewX(-.1953125deg) skewY(-.1953125deg)
425
- }
426
- }
427
- @keyframes jello {
428
- 11.1%, from, to {
429
- -webkit-transform: none;
430
- transform: none
431
- }
432
- 22.2% {
433
- -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
434
- transform: skewX(-12.5deg) skewY(-12.5deg)
435
- }
436
- 33.3% {
437
- -webkit-transform: skewX(6.25deg) skewY(6.25deg);
438
- transform: skewX(6.25deg) skewY(6.25deg)
439
- }
440
- 44.4% {
441
- -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
442
- transform: skewX(-3.125deg) skewY(-3.125deg)
443
- }
444
- 55.5% {
445
- -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
446
- transform: skewX(1.5625deg) skewY(1.5625deg)
447
- }
448
- 66.6% {
449
- -webkit-transform: skewX(-.78125deg) skewY(-.78125deg);
450
- transform: skewX(-.78125deg) skewY(-.78125deg)
451
- }
452
- 77.7% {
453
- -webkit-transform: skewX(.390625deg) skewY(.390625deg);
454
- transform: skewX(.390625deg) skewY(.390625deg)
455
- }
456
- 88.8% {
457
- -webkit-transform: skewX(-.1953125deg) skewY(-.1953125deg);
458
- transform: skewX(-.1953125deg) skewY(-.1953125deg)
459
- }
460
- }
461
- .jello {
462
- -webkit-animation-name: jello;
463
- animation-name: jello;
464
- -webkit-transform-origin: center;
465
- transform-origin: center
466
- }
467
- @-webkit-keyframes bounceIn {
468
- 20%, 40%, 60%, 80%, from, to {
469
- -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
470
- animation-timing-function: cubic-bezier(.215, .61, .355, 1)
471
- }
472
- 0% {
473
- opacity: 0;
474
- -webkit-transform: scale3d(.3, .3, .3);
475
- transform: scale3d(.3, .3, .3)
476
- }
477
- 20% {
478
- -webkit-transform: scale3d(1.1, 1.1, 1.1);
479
- transform: scale3d(1.1, 1.1, 1.1)
480
- }
481
- 40% {
482
- -webkit-transform: scale3d(.9, .9, .9);
483
- transform: scale3d(.9, .9, .9)
484
- }
485
- 60% {
486
- opacity: 1;
487
- -webkit-transform: scale3d(1.03, 1.03, 1.03);
488
- transform: scale3d(1.03, 1.03, 1.03)
489
- }
490
- 80% {
491
- -webkit-transform: scale3d(.97, .97, .97);
492
- transform: scale3d(.97, .97, .97)
493
- }
494
- to {
495
- opacity: 1;
496
- -webkit-transform: scale3d(1, 1, 1);
497
- transform: scale3d(1, 1, 1)
498
- }
499
- }
500
- @keyframes bounceIn {
501
- 20%, 40%, 60%, 80%, from, to {
502
- -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
503
- animation-timing-function: cubic-bezier(.215, .61, .355, 1)
504
- }
505
- 0% {
506
- opacity: 0;
507
- -webkit-transform: scale3d(.3, .3, .3);
508
- transform: scale3d(.3, .3, .3)
509
- }
510
- 20% {
511
- -webkit-transform: scale3d(1.1, 1.1, 1.1);
512
- transform: scale3d(1.1, 1.1, 1.1)
513
- }
514
- 40% {
515
- -webkit-transform: scale3d(.9, .9, .9);
516
- transform: scale3d(.9, .9, .9)
517
- }
518
- 60% {
519
- opacity: 1;
520
- -webkit-transform: scale3d(1.03, 1.03, 1.03);
521
- transform: scale3d(1.03, 1.03, 1.03)
522
- }
523
- 80% {
524
- -webkit-transform: scale3d(.97, .97, .97);
525
- transform: scale3d(.97, .97, .97)
526
- }
527
- to {
528
- opacity: 1;
529
- -webkit-transform: scale3d(1, 1, 1);
530
- transform: scale3d(1, 1, 1)
531
- }
532
- }
533
- .bounceIn {
534
- -webkit-animation-name: bounceIn;
535
- animation-name: bounceIn
536
- }
537
- @-webkit-keyframes bounceInDown {
538
- 60%, 75%, 90%, from, to {
539
- -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
540
- animation-timing-function: cubic-bezier(.215, .61, .355, 1)
541
- }
542
- 0% {
543
- opacity: 0;
544
- -webkit-transform: translate3d(0, -3000px, 0);
545
- transform: translate3d(0, -3000px, 0)
546
- }
547
- 60% {
548
- opacity: 1;
549
- -webkit-transform: translate3d(0, 25px, 0);
550
- transform: translate3d(0, 25px, 0)
551
- }
552
- 75% {
553
- -webkit-transform: translate3d(0, -10px, 0);
554
- transform: translate3d(0, -10px, 0)
555
- }
556
- 90% {
557
- -webkit-transform: translate3d(0, 5px, 0);
558
- transform: translate3d(0, 5px, 0)
559
- }
560
- to {
561
- -webkit-transform: none;
562
- transform: none
563
- }
564
- }
565
- @keyframes bounceInDown {
566
- 60%, 75%, 90%, from, to {
567
- -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
568
- animation-timing-function: cubic-bezier(.215, .61, .355, 1)
569
- }
570
- 0% {
571
- opacity: 0;
572
- -webkit-transform: translate3d(0, -3000px, 0);
573
- transform: translate3d(0, -3000px, 0)
574
- }
575
- 60% {
576
- opacity: 1;
577
- -webkit-transform: translate3d(0, 25px, 0);
578
- transform: translate3d(0, 25px, 0)
579
- }
580
- 75% {
581
- -webkit-transform: translate3d(0, -10px, 0);
582
- transform: translate3d(0, -10px, 0)
583
- }
584
- 90% {
585
- -webkit-transform: translate3d(0, 5px, 0);
586
- transform: translate3d(0, 5px, 0)
587
- }
588
- to {
589
- -webkit-transform: none;
590
- transform: none
591
- }
592
- }
593
- .bounceInDown {
594
- -webkit-animation-name: bounceInDown;
595
- animation-name: bounceInDown
596
- }
597
- @-webkit-keyframes bounceInLeft {
598
- 60%, 75%, 90%, from, to {
599
- -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
600
- animation-timing-function: cubic-bezier(.215, .61, .355, 1)
601
- }
602
- 0% {
603
- opacity: 0;
604
- -webkit-transform: translate3d(-3000px, 0, 0);
605
- transform: translate3d(-3000px, 0, 0)
606
- }
607
- 60% {
608
- opacity: 1;
609
- -webkit-transform: translate3d(25px, 0, 0);
610
- transform: translate3d(25px, 0, 0)
611
- }
612
- 75% {
613
- -webkit-transform: translate3d(-10px, 0, 0);
614
- transform: translate3d(-10px, 0, 0)
615
- }
616
- 90% {
617
- -webkit-transform: translate3d(5px, 0, 0);
618
- transform: translate3d(5px, 0, 0)
619
- }
620
- to {
621
- -webkit-transform: none;
622
- transform: none
623
- }
624
- }
625
- @keyframes bounceInLeft {
626
- 60%, 75%, 90%, from, to {
627
- -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
628
- animation-timing-function: cubic-bezier(.215, .61, .355, 1)
629
- }
630
- 0% {
631
- opacity: 0;
632
- -webkit-transform: translate3d(-3000px, 0, 0);
633
- transform: translate3d(-3000px, 0, 0)
634
- }
635
- 60% {
636
- opacity: 1;
637
- -webkit-transform: translate3d(25px, 0, 0);
638
- transform: translate3d(25px, 0, 0)
639
- }
640
- 75% {
641
- -webkit-transform: translate3d(-10px, 0, 0);
642
- transform: translate3d(-10px, 0, 0)
643
- }
644
- 90% {
645
- -webkit-transform: translate3d(5px, 0, 0);
646
- transform: translate3d(5px, 0, 0)
647
- }
648
- to {
649
- -webkit-transform: none;
650
- transform: none
651
- }
652
- }
653
- .bounceInLeft {
654
- -webkit-animation-name: bounceInLeft;
655
- animation-name: bounceInLeft
656
- }
657
- @-webkit-keyframes bounceInRight {
658
- 60%, 75%, 90%, from, to {
659
- -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
660
- animation-timing-function: cubic-bezier(.215, .61, .355, 1)
661
- }
662
- from {
663
- opacity: 0;
664
- -webkit-transform: translate3d(3000px, 0, 0);
665
- transform: translate3d(3000px, 0, 0)
666
- }
667
- 60% {
668
- opacity: 1;
669
- -webkit-transform: translate3d(-25px, 0, 0);
670
- transform: translate3d(-25px, 0, 0)
671
- }
672
- 75% {
673
- -webkit-transform: translate3d(10px, 0, 0);
674
- transform: translate3d(10px, 0, 0)
675
- }
676
- 90% {
677
- -webkit-transform: translate3d(-5px, 0, 0);
678
- transform: translate3d(-5px, 0, 0)
679
- }
680
- to {
681
- -webkit-transform: none;
682
- transform: none
683
- }
684
- }
685
- @keyframes bounceInRight {
686
- 60%, 75%, 90%, from, to {
687
- -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
688
- animation-timing-function: cubic-bezier(.215, .61, .355, 1)
689
- }
690
- from {
691
- opacity: 0;
692
- -webkit-transform: translate3d(3000px, 0, 0);
693
- transform: translate3d(3000px, 0, 0)
694
- }
695
- 60% {
696
- opacity: 1;
697
- -webkit-transform: translate3d(-25px, 0, 0);
698
- transform: translate3d(-25px, 0, 0)
699
- }
700
- 75% {
701
- -webkit-transform: translate3d(10px, 0, 0);
702
- transform: translate3d(10px, 0, 0)
703
- }
704
- 90% {
705
- -webkit-transform: translate3d(-5px, 0, 0);
706
- transform: translate3d(-5px, 0, 0)
707
- }
708
- to {
709
- -webkit-transform: none;
710
- transform: none
711
- }
712
- }
713
- .bounceInRight {
714
- -webkit-animation-name: bounceInRight;
715
- animation-name: bounceInRight
716
- }
717
- @-webkit-keyframes bounceInUp {
718
- 60%, 75%, 90%, from, to {
719
- -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
720
- animation-timing-function: cubic-bezier(.215, .61, .355, 1)
721
- }
722
- from {
723
- opacity: 0;
724
- -webkit-transform: translate3d(0, 3000px, 0);
725
- transform: translate3d(0, 3000px, 0)
726
- }
727
- 60% {
728
- opacity: 1;
729
- -webkit-transform: translate3d(0, -20px, 0);
730
- transform: translate3d(0, -20px, 0)
731
- }
732
- 75% {
733
- -webkit-transform: translate3d(0, 10px, 0);
734
- transform: translate3d(0, 10px, 0)
735
- }
736
- 90% {
737
- -webkit-transform: translate3d(0, -5px, 0);
738
- transform: translate3d(0, -5px, 0)
739
- }
740
- to {
741
- -webkit-transform: translate3d(0, 0, 0);
742
- transform: translate3d(0, 0, 0)
743
- }
744
- }
745
- @keyframes bounceInUp {
746
- 60%, 75%, 90%, from, to {
747
- -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
748
- animation-timing-function: cubic-bezier(.215, .61, .355, 1)
749
- }
750
- from {
751
- opacity: 0;
752
- -webkit-transform: translate3d(0, 3000px, 0);
753
- transform: translate3d(0, 3000px, 0)
754
- }
755
- 60% {
756
- opacity: 1;
757
- -webkit-transform: translate3d(0, -20px, 0);
758
- transform: translate3d(0, -20px, 0)
759
- }
760
- 75% {
761
- -webkit-transform: translate3d(0, 10px, 0);
762
- transform: translate3d(0, 10px, 0)
763
- }
764
- 90% {
765
- -webkit-transform: translate3d(0, -5px, 0);
766
- transform: translate3d(0, -5px, 0)
767
- }
768
- to {
769
- -webkit-transform: translate3d(0, 0, 0);
770
- transform: translate3d(0, 0, 0)
771
- }
772
- }
773
- .bounceInUp {
774
- -webkit-animation-name: bounceInUp;
775
- animation-name: bounceInUp
776
- }
777
- @-webkit-keyframes bounceOut {
778
- 20% {
779
- -webkit-transform: scale3d(.9, .9, .9);
780
- transform: scale3d(.9, .9, .9)
781
- }
782
- 50%,
783
- 55% {
784
- opacity: 1;
785
- -webkit-transform: scale3d(1.1, 1.1, 1.1);
786
- transform: scale3d(1.1, 1.1, 1.1)
787
- }
788
- to {
789
- opacity: 0;
790
- -webkit-transform: scale3d(.3, .3, .3);
791
- transform: scale3d(.3, .3, .3)
792
- }
793
- }
794
- @keyframes bounceOut {
795
- 20% {
796
- -webkit-transform: scale3d(.9, .9, .9);
797
- transform: scale3d(.9, .9, .9)
798
- }
799
- 50%,
800
- 55% {
801
- opacity: 1;
802
- -webkit-transform: scale3d(1.1, 1.1, 1.1);
803
- transform: scale3d(1.1, 1.1, 1.1)
804
- }
805
- to {
806
- opacity: 0;
807
- -webkit-transform: scale3d(.3, .3, .3);
808
- transform: scale3d(.3, .3, .3)
809
- }
810
- }
811
- .bounceOut {
812
- -webkit-animation-name: bounceOut;
813
- animation-name: bounceOut
814
- }
815
- @-webkit-keyframes bounceOutDown {
816
- 20% {
817
- -webkit-transform: translate3d(0, 10px, 0);
818
- transform: translate3d(0, 10px, 0)
819
- }
820
- 40%,
821
- 45% {
822
- opacity: 1;
823
- -webkit-transform: translate3d(0, -20px, 0);
824
- transform: translate3d(0, -20px, 0)
825
- }
826
- to {
827
- opacity: 0;
828
- -webkit-transform: translate3d(0, 2000px, 0);
829
- transform: translate3d(0, 2000px, 0)
830
- }
831
- }
832
- @keyframes bounceOutDown {
833
- 20% {
834
- -webkit-transform: translate3d(0, 10px, 0);
835
- transform: translate3d(0, 10px, 0)
836
- }
837
- 40%,
838
- 45% {
839
- opacity: 1;
840
- -webkit-transform: translate3d(0, -20px, 0);
841
- transform: translate3d(0, -20px, 0)
842
- }
843
- to {
844
- opacity: 0;
845
- -webkit-transform: translate3d(0, 2000px, 0);
846
- transform: translate3d(0, 2000px, 0)
847
- }
848
- }
849
- .bounceOutDown {
850
- -webkit-animation-name: bounceOutDown;
851
- animation-name: bounceOutDown
852
- }
853
- @-webkit-keyframes bounceOutLeft {
854
- 20% {
855
- opacity: 1;
856
- -webkit-transform: translate3d(20px, 0, 0);
857
- transform: translate3d(20px, 0, 0)
858
- }
859
- to {
860
- opacity: 0;
861
- -webkit-transform: translate3d(-2000px, 0, 0);
862
- transform: translate3d(-2000px, 0, 0)
863
- }
864
- }
865
- @keyframes bounceOutLeft {
866
- 20% {
867
- opacity: 1;
868
- -webkit-transform: translate3d(20px, 0, 0);
869
- transform: translate3d(20px, 0, 0)
870
- }
871
- to {
872
- opacity: 0;
873
- -webkit-transform: translate3d(-2000px, 0, 0);
874
- transform: translate3d(-2000px, 0, 0)
875
- }
876
- }
877
- .bounceOutLeft {
878
- -webkit-animation-name: bounceOutLeft;
879
- animation-name: bounceOutLeft
880
- }
881
- @-webkit-keyframes bounceOutRight {
882
- 20% {
883
- opacity: 1;
884
- -webkit-transform: translate3d(-20px, 0, 0);
885
- transform: translate3d(-20px, 0, 0)
886
- }
887
- to {
888
- opacity: 0;
889
- -webkit-transform: translate3d(2000px, 0, 0);
890
- transform: translate3d(2000px, 0, 0)
891
- }
892
- }
893
- @keyframes bounceOutRight {
894
- 20% {
895
- opacity: 1;
896
- -webkit-transform: translate3d(-20px, 0, 0);
897
- transform: translate3d(-20px, 0, 0)
898
- }
899
- to {
900
- opacity: 0;
901
- -webkit-transform: translate3d(2000px, 0, 0);
902
- transform: translate3d(2000px, 0, 0)
903
- }
904
- }
905
- .bounceOutRight {
906
- -webkit-animation-name: bounceOutRight;
907
- animation-name: bounceOutRight
908
- }
909
- @-webkit-keyframes bounceOutUp {
910
- 20% {
911
- -webkit-transform: translate3d(0, -10px, 0);
912
- transform: translate3d(0, -10px, 0)
913
- }
914
- 40%,
915
- 45% {
916
- opacity: 1;
917
- -webkit-transform: translate3d(0, 20px, 0);
918
- transform: translate3d(0, 20px, 0)
919
- }
920
- to {
921
- opacity: 0;
922
- -webkit-transform: translate3d(0, -2000px, 0);
923
- transform: translate3d(0, -2000px, 0)
924
- }
925
- }
926
- @keyframes bounceOutUp {
927
- 20% {
928
- -webkit-transform: translate3d(0, -10px, 0);
929
- transform: translate3d(0, -10px, 0)
930
- }
931
- 40%,
932
- 45% {
933
- opacity: 1;
934
- -webkit-transform: translate3d(0, 20px, 0);
935
- transform: translate3d(0, 20px, 0)
936
- }
937
- to {
938
- opacity: 0;
939
- -webkit-transform: translate3d(0, -2000px, 0);
940
- transform: translate3d(0, -2000px, 0)
941
- }
942
- }
943
- .bounceOutUp {
944
- -webkit-animation-name: bounceOutUp;
945
- animation-name: bounceOutUp
946
- }
947
- @-webkit-keyframes fadeIn {
948
- from {
949
- opacity: 0
950
- }
951
- to {
952
- opacity: 1
953
- }
954
- }
955
- @keyframes fadeIn {
956
- from {
957
- opacity: 0
958
- }
959
- to {
960
- opacity: 1
961
- }
962
- }
963
- .fadeIn {
964
- -webkit-animation-name: fadeIn;
965
- animation-name: fadeIn
966
- }
967
- @-webkit-keyframes fadeInDown {
968
- from {
969
- opacity: 0;
970
- -webkit-transform: translate3d(0, -100%, 0);
971
- transform: translate3d(0, -100%, 0)
972
- }
973
- to {
974
- opacity: 1;
975
- -webkit-transform: none;
976
- transform: none
977
- }
978
- }
979
- @keyframes fadeInDown {
980
- from {
981
- opacity: 0;
982
- -webkit-transform: translate3d(0, -100%, 0);
983
- transform: translate3d(0, -100%, 0)
984
- }
985
- to {
986
- opacity: 1;
987
- -webkit-transform: none;
988
- transform: none
989
- }
990
- }
991
- .fadeInDown {
992
- -webkit-animation-name: fadeInDown;
993
- animation-name: fadeInDown
994
- }
995
- @-webkit-keyframes fadeInDownBig {
996
- from {
997
- opacity: 0;
998
- -webkit-transform: translate3d(0, -2000px, 0);
999
- transform: translate3d(0, -2000px, 0)
1000
- }
1001
- to {
1002
- opacity: 1;
1003
- -webkit-transform: none;
1004
- transform: none
1005
- }
1006
- }
1007
- @keyframes fadeInDownBig {
1008
- from {
1009
- opacity: 0;
1010
- -webkit-transform: translate3d(0, -2000px, 0);
1011
- transform: translate3d(0, -2000px, 0)
1012
- }
1013
- to {
1014
- opacity: 1;
1015
- -webkit-transform: none;
1016
- transform: none
1017
- }
1018
- }
1019
- .fadeInDownBig {
1020
- -webkit-animation-name: fadeInDownBig;
1021
- animation-name: fadeInDownBig
1022
- }
1023
- @-webkit-keyframes fadeInLeft {
1024
- from {
1025
- opacity: 0;
1026
- -webkit-transform: translate3d(-100%, 0, 0);
1027
- transform: translate3d(-100%, 0, 0)
1028
- }
1029
- to {
1030
- opacity: 1;
1031
- -webkit-transform: none;
1032
- transform: none
1033
- }
1034
- }
1035
- @keyframes fadeInLeft {
1036
- from {
1037
- opacity: 0;
1038
- -webkit-transform: translate3d(-100%, 0, 0);
1039
- transform: translate3d(-100%, 0, 0)
1040
- }
1041
- to {
1042
- opacity: 1;
1043
- -webkit-transform: none;
1044
- transform: none
1045
- }
1046
- }
1047
- .fadeInLeft {
1048
- -webkit-animation-name: fadeInLeft;
1049
- animation-name: fadeInLeft
1050
- }
1051
- @-webkit-keyframes fadeInLeftBig {
1052
- from {
1053
- opacity: 0;
1054
- -webkit-transform: translate3d(-2000px, 0, 0);
1055
- transform: translate3d(-2000px, 0, 0)
1056
- }
1057
- to {
1058
- opacity: 1;
1059
- -webkit-transform: none;
1060
- transform: none
1061
- }
1062
- }
1063
- @keyframes fadeInLeftBig {
1064
- from {
1065
- opacity: 0;
1066
- -webkit-transform: translate3d(-2000px, 0, 0);
1067
- transform: translate3d(-2000px, 0, 0)
1068
- }
1069
- to {
1070
- opacity: 1;
1071
- -webkit-transform: none;
1072
- transform: none
1073
- }
1074
- }
1075
- .fadeInLeftBig {
1076
- -webkit-animation-name: fadeInLeftBig;
1077
- animation-name: fadeInLeftBig
1078
- }
1079
- @-webkit-keyframes fadeInRight {
1080
- from {
1081
- opacity: 0;
1082
- -webkit-transform: translate3d(100%, 0, 0);
1083
- transform: translate3d(100%, 0, 0)
1084
- }
1085
- to {
1086
- opacity: 1;
1087
- -webkit-transform: none;
1088
- transform: none
1089
- }
1090
- }
1091
- @keyframes fadeInRight {
1092
- from {
1093
- opacity: 0;
1094
- -webkit-transform: translate3d(100%, 0, 0);
1095
- transform: translate3d(100%, 0, 0)
1096
- }
1097
- to {
1098
- opacity: 1;
1099
- -webkit-transform: none;
1100
- transform: none
1101
- }
1102
- }
1103
- .fadeInRight {
1104
- -webkit-animation-name: fadeInRight;
1105
- animation-name: fadeInRight
1106
- }
1107
- @-webkit-keyframes fadeInRightBig {
1108
- from {
1109
- opacity: 0;
1110
- -webkit-transform: translate3d(2000px, 0, 0);
1111
- transform: translate3d(2000px, 0, 0)
1112
- }
1113
- to {
1114
- opacity: 1;
1115
- -webkit-transform: none;
1116
- transform: none
1117
- }
1118
- }
1119
- @keyframes fadeInRightBig {
1120
- from {
1121
- opacity: 0;
1122
- -webkit-transform: translate3d(2000px, 0, 0);
1123
- transform: translate3d(2000px, 0, 0)
1124
- }
1125
- to {
1126
- opacity: 1;
1127
- -webkit-transform: none;
1128
- transform: none
1129
- }
1130
- }
1131
- .fadeInRightBig {
1132
- -webkit-animation-name: fadeInRightBig;
1133
- animation-name: fadeInRightBig
1134
- }
1135
- @-webkit-keyframes fadeInUp {
1136
- from {
1137
- opacity: 0;
1138
- -webkit-transform: translate3d(0, 100%, 0);
1139
- transform: translate3d(0, 100%, 0)
1140
- }
1141
- to {
1142
- opacity: 1;
1143
- -webkit-transform: none;
1144
- transform: none
1145
- }
1146
- }
1147
- @keyframes fadeInUp {
1148
- from {
1149
- opacity: 0;
1150
- -webkit-transform: translate3d(0, 100%, 0);
1151
- transform: translate3d(0, 100%, 0)
1152
- }
1153
- to {
1154
- opacity: 1;
1155
- -webkit-transform: none;
1156
- transform: none
1157
- }
1158
- }
1159
- .fadeInUp {
1160
- -webkit-animation-name: fadeInUp;
1161
- animation-name: fadeInUp
1162
- }
1163
- @-webkit-keyframes fadeInUpBig {
1164
- from {
1165
- opacity: 0;
1166
- -webkit-transform: translate3d(0, 2000px, 0);
1167
- transform: translate3d(0, 2000px, 0)
1168
- }
1169
- to {
1170
- opacity: 1;
1171
- -webkit-transform: none;
1172
- transform: none
1173
- }
1174
- }
1175
- @keyframes fadeInUpBig {
1176
- from {
1177
- opacity: 0;
1178
- -webkit-transform: translate3d(0, 2000px, 0);
1179
- transform: translate3d(0, 2000px, 0)
1180
- }
1181
- to {
1182
- opacity: 1;
1183
- -webkit-transform: none;
1184
- transform: none
1185
- }
1186
- }
1187
- .fadeInUpBig {
1188
- -webkit-animation-name: fadeInUpBig;
1189
- animation-name: fadeInUpBig
1190
- }
1191
- @-webkit-keyframes fadeOut {
1192
- from {
1193
- opacity: 1
1194
- }
1195
- to {
1196
- opacity: 0
1197
- }
1198
- }
1199
- @keyframes fadeOut {
1200
- from {
1201
- opacity: 1
1202
- }
1203
- to {
1204
- opacity: 0
1205
- }
1206
- }
1207
- .fadeOut {
1208
- -webkit-animation-name: fadeOut;
1209
- animation-name: fadeOut
1210
- }
1211
- @-webkit-keyframes fadeOutDown {
1212
- from {
1213
- opacity: 1
1214
- }
1215
- to {
1216
- opacity: 0;
1217
- -webkit-transform: translate3d(0, 100%, 0);
1218
- transform: translate3d(0, 100%, 0)
1219
- }
1220
- }
1221
- @keyframes fadeOutDown {
1222
- from {
1223
- opacity: 1
1224
- }
1225
- to {
1226
- opacity: 0;
1227
- -webkit-transform: translate3d(0, 100%, 0);
1228
- transform: translate3d(0, 100%, 0)
1229
- }
1230
- }
1231
- .fadeOutDown {
1232
- -webkit-animation-name: fadeOutDown;
1233
- animation-name: fadeOutDown
1234
- }
1235
- @-webkit-keyframes fadeOutDownBig {
1236
- from {
1237
- opacity: 1
1238
- }
1239
- to {
1240
- opacity: 0;
1241
- -webkit-transform: translate3d(0, 2000px, 0);
1242
- transform: translate3d(0, 2000px, 0)
1243
- }
1244
- }
1245
- @keyframes fadeOutDownBig {
1246
- from {
1247
- opacity: 1
1248
- }
1249
- to {
1250
- opacity: 0;
1251
- -webkit-transform: translate3d(0, 2000px, 0);
1252
- transform: translate3d(0, 2000px, 0)
1253
- }
1254
- }
1255
- .fadeOutDownBig {
1256
- -webkit-animation-name: fadeOutDownBig;
1257
- animation-name: fadeOutDownBig
1258
- }
1259
- @-webkit-keyframes fadeOutLeft {
1260
- from {
1261
- opacity: 1
1262
- }
1263
- to {
1264
- opacity: 0;
1265
- -webkit-transform: translate3d(-100%, 0, 0);
1266
- transform: translate3d(-100%, 0, 0)
1267
- }
1268
- }
1269
- @keyframes fadeOutLeft {
1270
- from {
1271
- opacity: 1
1272
- }
1273
- to {
1274
- opacity: 0;
1275
- -webkit-transform: translate3d(-100%, 0, 0);
1276
- transform: translate3d(-100%, 0, 0)
1277
- }
1278
- }
1279
- .fadeOutLeft {
1280
- -webkit-animation-name: fadeOutLeft;
1281
- animation-name: fadeOutLeft
1282
- }
1283
- @-webkit-keyframes fadeOutLeftBig {
1284
- from {
1285
- opacity: 1
1286
- }
1287
- to {
1288
- opacity: 0;
1289
- -webkit-transform: translate3d(-2000px, 0, 0);
1290
- transform: translate3d(-2000px, 0, 0)
1291
- }
1292
- }
1293
- @keyframes fadeOutLeftBig {
1294
- from {
1295
- opacity: 1
1296
- }
1297
- to {
1298
- opacity: 0;
1299
- -webkit-transform: translate3d(-2000px, 0, 0);
1300
- transform: translate3d(-2000px, 0, 0)
1301
- }
1302
- }
1303
- .fadeOutLeftBig {
1304
- -webkit-animation-name: fadeOutLeftBig;
1305
- animation-name: fadeOutLeftBig
1306
- }
1307
- @-webkit-keyframes fadeOutRight {
1308
- from {
1309
- opacity: 1
1310
- }
1311
- to {
1312
- opacity: 0;
1313
- -webkit-transform: translate3d(100%, 0, 0);
1314
- transform: translate3d(100%, 0, 0)
1315
- }
1316
- }
1317
- @keyframes fadeOutRight {
1318
- from {
1319
- opacity: 1
1320
- }
1321
- to {
1322
- opacity: 0;
1323
- -webkit-transform: translate3d(100%, 0, 0);
1324
- transform: translate3d(100%, 0, 0)
1325
- }
1326
- }
1327
- .fadeOutRight {
1328
- -webkit-animation-name: fadeOutRight;
1329
- animation-name: fadeOutRight
1330
- }
1331
- @-webkit-keyframes fadeOutRightBig {
1332
- from {
1333
- opacity: 1
1334
- }
1335
- to {
1336
- opacity: 0;
1337
- -webkit-transform: translate3d(2000px, 0, 0);
1338
- transform: translate3d(2000px, 0, 0)
1339
- }
1340
- }
1341
- @keyframes fadeOutRightBig {
1342
- from {
1343
- opacity: 1
1344
- }
1345
- to {
1346
- opacity: 0;
1347
- -webkit-transform: translate3d(2000px, 0, 0);
1348
- transform: translate3d(2000px, 0, 0)
1349
- }
1350
- }
1351
- .fadeOutRightBig {
1352
- -webkit-animation-name: fadeOutRightBig;
1353
- animation-name: fadeOutRightBig
1354
- }
1355
- @-webkit-keyframes fadeOutUp {
1356
- from {
1357
- opacity: 1
1358
- }
1359
- to {
1360
- opacity: 0;
1361
- -webkit-transform: translate3d(0, -100%, 0);
1362
- transform: translate3d(0, -100%, 0)
1363
- }
1364
- }
1365
- @keyframes fadeOutUp {
1366
- from {
1367
- opacity: 1
1368
- }
1369
- to {
1370
- opacity: 0;
1371
- -webkit-transform: translate3d(0, -100%, 0);
1372
- transform: translate3d(0, -100%, 0)
1373
- }
1374
- }
1375
- .fadeOutUp {
1376
- -webkit-animation-name: fadeOutUp;
1377
- animation-name: fadeOutUp
1378
- }
1379
- @-webkit-keyframes fadeOutUpBig {
1380
- from {
1381
- opacity: 1
1382
- }
1383
- to {
1384
- opacity: 0;
1385
- -webkit-transform: translate3d(0, -2000px, 0);
1386
- transform: translate3d(0, -2000px, 0)
1387
- }
1388
- }
1389
- @keyframes fadeOutUpBig {
1390
- from {
1391
- opacity: 1
1392
- }
1393
- to {
1394
- opacity: 0;
1395
- -webkit-transform: translate3d(0, -2000px, 0);
1396
- transform: translate3d(0, -2000px, 0)
1397
- }
1398
- }
1399
- .fadeOutUpBig {
1400
- -webkit-animation-name: fadeOutUpBig;
1401
- animation-name: fadeOutUpBig
1402
- }
1403
- @-webkit-keyframes flip {
1404
- from {
1405
- -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1406
- transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1407
- -webkit-animation-timing-function: ease-out;
1408
- animation-timing-function: ease-out
1409
- }
1410
- 40% {
1411
- -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1412
- transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1413
- -webkit-animation-timing-function: ease-out;
1414
- animation-timing-function: ease-out
1415
- }
1416
- 50% {
1417
- -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1418
- transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1419
- -webkit-animation-timing-function: ease-in;
1420
- animation-timing-function: ease-in
1421
- }
1422
- 80% {
1423
- -webkit-transform: perspective(400px) scale3d(.95, .95, .95);
1424
- transform: perspective(400px) scale3d(.95, .95, .95);
1425
- -webkit-animation-timing-function: ease-in;
1426
- animation-timing-function: ease-in
1427
- }
1428
- to {
1429
- -webkit-transform: perspective(400px);
1430
- transform: perspective(400px);
1431
- -webkit-animation-timing-function: ease-in;
1432
- animation-timing-function: ease-in
1433
- }
1434
- }
1435
- @keyframes flip {
1436
- from {
1437
- -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1438
- transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1439
- -webkit-animation-timing-function: ease-out;
1440
- animation-timing-function: ease-out
1441
- }
1442
- 40% {
1443
- -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1444
- transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1445
- -webkit-animation-timing-function: ease-out;
1446
- animation-timing-function: ease-out
1447
- }
1448
- 50% {
1449
- -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1450
- transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1451
- -webkit-animation-timing-function: ease-in;
1452
- animation-timing-function: ease-in
1453
- }
1454
- 80% {
1455
- -webkit-transform: perspective(400px) scale3d(.95, .95, .95);
1456
- transform: perspective(400px) scale3d(.95, .95, .95);
1457
- -webkit-animation-timing-function: ease-in;
1458
- animation-timing-function: ease-in
1459
- }
1460
- to {
1461
- -webkit-transform: perspective(400px);
1462
- transform: perspective(400px);
1463
- -webkit-animation-timing-function: ease-in;
1464
- animation-timing-function: ease-in
1465
- }
1466
- }
1467
- .sg-animated.flip {
1468
- -webkit-backface-visibility: visible;
1469
- backface-visibility: visible;
1470
- -webkit-animation-name: flip;
1471
- animation-name: flip
1472
- }
1473
- @-webkit-keyframes flipInX {
1474
- from {
1475
- -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1476
- transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1477
- -webkit-animation-timing-function: ease-in;
1478
- animation-timing-function: ease-in;
1479
- opacity: 0
1480
- }
1481
- 40% {
1482
- -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1483
- transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1484
- -webkit-animation-timing-function: ease-in;
1485
- animation-timing-function: ease-in
1486
- }
1487
- 60% {
1488
- -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1489
- transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1490
- opacity: 1
1491
- }
1492
- 80% {
1493
- -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1494
- transform: perspective(400px) rotate3d(1, 0, 0, -5deg)
1495
- }
1496
- to {
1497
- -webkit-transform: perspective(400px);
1498
- transform: perspective(400px)
1499
- }
1500
- }
1501
- @keyframes flipInX {
1502
- from {
1503
- -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1504
- transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1505
- -webkit-animation-timing-function: ease-in;
1506
- animation-timing-function: ease-in;
1507
- opacity: 0
1508
- }
1509
- 40% {
1510
- -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1511
- transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1512
- -webkit-animation-timing-function: ease-in;
1513
- animation-timing-function: ease-in
1514
- }
1515
- 60% {
1516
- -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1517
- transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1518
- opacity: 1
1519
- }
1520
- 80% {
1521
- -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1522
- transform: perspective(400px) rotate3d(1, 0, 0, -5deg)
1523
- }
1524
- to {
1525
- -webkit-transform: perspective(400px);
1526
- transform: perspective(400px)
1527
- }
1528
- }
1529
- .flipInX {
1530
- backface-visibility: visible!important;
1531
- -webkit-animation-name: flipInX;
1532
- animation-name: flipInX
1533
- }
1534
- .flipInX,
1535
- .flipInY {
1536
- -webkit-backface-visibility: visible!important
1537
- }
1538
- @-webkit-keyframes flipInY {
1539
- from {
1540
- -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1541
- transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1542
- -webkit-animation-timing-function: ease-in;
1543
- animation-timing-function: ease-in;
1544
- opacity: 0
1545
- }
1546
- 40% {
1547
- -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1548
- transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1549
- -webkit-animation-timing-function: ease-in;
1550
- animation-timing-function: ease-in
1551
- }
1552
- 60% {
1553
- -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1554
- transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1555
- opacity: 1
1556
- }
1557
- 80% {
1558
- -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1559
- transform: perspective(400px) rotate3d(0, 1, 0, -5deg)
1560
- }
1561
- to {
1562
- -webkit-transform: perspective(400px);
1563
- transform: perspective(400px)
1564
- }
1565
- }
1566
- @keyframes flipInY {
1567
- from {
1568
- -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1569
- transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1570
- -webkit-animation-timing-function: ease-in;
1571
- animation-timing-function: ease-in;
1572
- opacity: 0
1573
- }
1574
- 40% {
1575
- -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1576
- transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1577
- -webkit-animation-timing-function: ease-in;
1578
- animation-timing-function: ease-in
1579
- }
1580
- 60% {
1581
- -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1582
- transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1583
- opacity: 1
1584
- }
1585
- 80% {
1586
- -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1587
- transform: perspective(400px) rotate3d(0, 1, 0, -5deg)
1588
- }
1589
- to {
1590
- -webkit-transform: perspective(400px);
1591
- transform: perspective(400px)
1592
- }
1593
- }
1594
- .flipInY {
1595
- backface-visibility: visible!important;
1596
- -webkit-animation-name: flipInY;
1597
- animation-name: flipInY
1598
- }
1599
- @-webkit-keyframes flipOutX {
1600
- from {
1601
- -webkit-transform: perspective(400px);
1602
- transform: perspective(400px)
1603
- }
1604
- 30% {
1605
- -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1606
- transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1607
- opacity: 1
1608
- }
1609
- to {
1610
- -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1611
- transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1612
- opacity: 0
1613
- }
1614
- }
1615
- @keyframes flipOutX {
1616
- from {
1617
- -webkit-transform: perspective(400px);
1618
- transform: perspective(400px)
1619
- }
1620
- 30% {
1621
- -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1622
- transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1623
- opacity: 1
1624
- }
1625
- to {
1626
- -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1627
- transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1628
- opacity: 0
1629
- }
1630
- }
1631
- .flipOutX {
1632
- -webkit-animation-name: flipOutX;
1633
- animation-name: flipOutX;
1634
- backface-visibility: visible!important
1635
- }
1636
- .flipOutX,
1637
- .flipOutY {
1638
- -webkit-backface-visibility: visible!important
1639
- }
1640
- @-webkit-keyframes flipOutY {
1641
- from {
1642
- -webkit-transform: perspective(400px);
1643
- transform: perspective(400px)
1644
- }
1645
- 30% {
1646
- -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1647
- transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1648
- opacity: 1
1649
- }
1650
- to {
1651
- -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1652
- transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1653
- opacity: 0
1654
- }
1655
- }
1656
- @keyframes flipOutY {
1657
- from {
1658
- -webkit-transform: perspective(400px);
1659
- transform: perspective(400px)
1660
- }
1661
- 30% {
1662
- -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1663
- transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1664
- opacity: 1
1665
- }
1666
- to {
1667
- -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1668
- transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1669
- opacity: 0
1670
- }
1671
- }
1672
- .flipOutY {
1673
- backface-visibility: visible!important;
1674
- -webkit-animation-name: flipOutY;
1675
- animation-name: flipOutY
1676
- }
1677
- @-webkit-keyframes lightSpeedIn {
1678
- from {
1679
- -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
1680
- transform: translate3d(100%, 0, 0) skewX(-30deg);
1681
- opacity: 0
1682
- }
1683
- 60% {
1684
- -webkit-transform: skewX(20deg);
1685
- transform: skewX(20deg);
1686
- opacity: 1
1687
- }
1688
- 80% {
1689
- -webkit-transform: skewX(-5deg);
1690
- transform: skewX(-5deg);
1691
- opacity: 1
1692
- }
1693
- to {
1694
- -webkit-transform: none;
1695
- transform: none;
1696
- opacity: 1
1697
- }
1698
- }
1699
- @keyframes lightSpeedIn {
1700
- from {
1701
- -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
1702
- transform: translate3d(100%, 0, 0) skewX(-30deg);
1703
- opacity: 0
1704
- }
1705
- 60% {
1706
- -webkit-transform: skewX(20deg);
1707
- transform: skewX(20deg);
1708
- opacity: 1
1709
- }
1710
- 80% {
1711
- -webkit-transform: skewX(-5deg);
1712
- transform: skewX(-5deg);
1713
- opacity: 1
1714
- }
1715
- to {
1716
- -webkit-transform: none;
1717
- transform: none;
1718
- opacity: 1
1719
- }
1720
- }
1721
- .lightSpeedIn {
1722
- -webkit-animation-name: lightSpeedIn;
1723
- animation-name: lightSpeedIn;
1724
- -webkit-animation-timing-function: ease-out;
1725
- animation-timing-function: ease-out
1726
- }
1727
- @-webkit-keyframes lightSpeedOut {
1728
- from {
1729
- opacity: 1
1730
- }
1731
- to {
1732
- -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
1733
- transform: translate3d(100%, 0, 0) skewX(30deg);
1734
- opacity: 0
1735
- }
1736
- }
1737
- @keyframes lightSpeedOut {
1738
- from {
1739
- opacity: 1
1740
- }
1741
- to {
1742
- -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
1743
- transform: translate3d(100%, 0, 0) skewX(30deg);
1744
- opacity: 0
1745
- }
1746
- }
1747
- .lightSpeedOut {
1748
- -webkit-animation-name: lightSpeedOut;
1749
- animation-name: lightSpeedOut;
1750
- -webkit-animation-timing-function: ease-in;
1751
- animation-timing-function: ease-in
1752
- }
1753
- @-webkit-keyframes rotateIn {
1754
- from {
1755
- -webkit-transform-origin: center;
1756
- transform-origin: center;
1757
- -webkit-transform: rotate3d(0, 0, 1, -200deg);
1758
- transform: rotate3d(0, 0, 1, -200deg);
1759
- opacity: 0
1760
- }
1761
- to {
1762
- -webkit-transform-origin: center;
1763
- transform-origin: center;
1764
- -webkit-transform: none;
1765
- transform: none;
1766
- opacity: 1
1767
- }
1768
- }
1769
- @keyframes rotateIn {
1770
- from {
1771
- -webkit-transform-origin: center;
1772
- transform-origin: center;
1773
- -webkit-transform: rotate3d(0, 0, 1, -200deg);
1774
- transform: rotate3d(0, 0, 1, -200deg);
1775
- opacity: 0
1776
- }
1777
- to {
1778
- -webkit-transform-origin: center;
1779
- transform-origin: center;
1780
- -webkit-transform: none;
1781
- transform: none;
1782
- opacity: 1
1783
- }
1784
- }
1785
- .rotateIn {
1786
- -webkit-animation-name: rotateIn;
1787
- animation-name: rotateIn
1788
- }
1789
- @-webkit-keyframes rotateInDownLeft {
1790
- from {
1791
- -webkit-transform-origin: left bottom;
1792
- transform-origin: left bottom;
1793
- -webkit-transform: rotate3d(0, 0, 1, -45deg);
1794
- transform: rotate3d(0, 0, 1, -45deg);
1795
- opacity: 0
1796
- }
1797
- to {
1798
- -webkit-transform-origin: left bottom;
1799
- transform-origin: left bottom;
1800
- -webkit-transform: none;
1801
- transform: none;
1802
- opacity: 1
1803
- }
1804
- }
1805
- @keyframes rotateInDownLeft {
1806
- from {
1807
- -webkit-transform-origin: left bottom;
1808
- transform-origin: left bottom;
1809
- -webkit-transform: rotate3d(0, 0, 1, -45deg);
1810
- transform: rotate3d(0, 0, 1, -45deg);
1811
- opacity: 0
1812
- }
1813
- to {
1814
- -webkit-transform-origin: left bottom;
1815
- transform-origin: left bottom;
1816
- -webkit-transform: none;
1817
- transform: none;
1818
- opacity: 1
1819
- }
1820
- }
1821
- .rotateInDownLeft {
1822
- -webkit-animation-name: rotateInDownLeft;
1823
- animation-name: rotateInDownLeft
1824
- }
1825
- @-webkit-keyframes rotateInDownRight {
1826
- from {
1827
- -webkit-transform-origin: right bottom;
1828
- transform-origin: right bottom;
1829
- -webkit-transform: rotate3d(0, 0, 1, 45deg);
1830
- transform: rotate3d(0, 0, 1, 45deg);
1831
- opacity: 0
1832
- }
1833
- to {
1834
- -webkit-transform-origin: right bottom;
1835
- transform-origin: right bottom;
1836
- -webkit-transform: none;
1837
- transform: none;
1838
- opacity: 1
1839
- }
1840
- }
1841
- @keyframes rotateInDownRight {
1842
- from {
1843
- -webkit-transform-origin: right bottom;
1844
- transform-origin: right bottom;
1845
- -webkit-transform: rotate3d(0, 0, 1, 45deg);
1846
- transform: rotate3d(0, 0, 1, 45deg);
1847
- opacity: 0
1848
- }
1849
- to {
1850
- -webkit-transform-origin: right bottom;
1851
- transform-origin: right bottom;
1852
- -webkit-transform: none;
1853
- transform: none;
1854
- opacity: 1
1855
- }
1856
- }
1857
- .rotateInDownRight {
1858
- -webkit-animation-name: rotateInDownRight;
1859
- animation-name: rotateInDownRight
1860
- }
1861
- @-webkit-keyframes rotateInUpLeft {
1862
- from {
1863
- -webkit-transform-origin: left bottom;
1864
- transform-origin: left bottom;
1865
- -webkit-transform: rotate3d(0, 0, 1, 45deg);
1866
- transform: rotate3d(0, 0, 1, 45deg);
1867
- opacity: 0
1868
- }
1869
- to {
1870
- -webkit-transform-origin: left bottom;
1871
- transform-origin: left bottom;
1872
- -webkit-transform: none;
1873
- transform: none;
1874
- opacity: 1
1875
- }
1876
- }
1877
- @keyframes rotateInUpLeft {
1878
- from {
1879
- -webkit-transform-origin: left bottom;
1880
- transform-origin: left bottom;
1881
- -webkit-transform: rotate3d(0, 0, 1, 45deg);
1882
- transform: rotate3d(0, 0, 1, 45deg);
1883
- opacity: 0
1884
- }
1885
- to {
1886
- -webkit-transform-origin: left bottom;
1887
- transform-origin: left bottom;
1888
- -webkit-transform: none;
1889
- transform: none;
1890
- opacity: 1
1891
- }
1892
- }
1893
- .rotateInUpLeft {
1894
- -webkit-animation-name: rotateInUpLeft;
1895
- animation-name: rotateInUpLeft
1896
- }
1897
- @-webkit-keyframes rotateInUpRight {
1898
- from {
1899
- -webkit-transform-origin: right bottom;
1900
- transform-origin: right bottom;
1901
- -webkit-transform: rotate3d(0, 0, 1, -90deg);
1902
- transform: rotate3d(0, 0, 1, -90deg);
1903
- opacity: 0
1904
- }
1905
- to {
1906
- -webkit-transform-origin: right bottom;
1907
- transform-origin: right bottom;
1908
- -webkit-transform: none;
1909
- transform: none;
1910
- opacity: 1
1911
- }
1912
- }
1913
- @keyframes rotateInUpRight {
1914
- from {
1915
- -webkit-transform-origin: right bottom;
1916
- transform-origin: right bottom;
1917
- -webkit-transform: rotate3d(0, 0, 1, -90deg);
1918
- transform: rotate3d(0, 0, 1, -90deg);
1919
- opacity: 0
1920
- }
1921
- to {
1922
- -webkit-transform-origin: right bottom;
1923
- transform-origin: right bottom;
1924
- -webkit-transform: none;
1925
- transform: none;
1926
- opacity: 1
1927
- }
1928
- }
1929
- .rotateInUpRight {
1930
- -webkit-animation-name: rotateInUpRight;
1931
- animation-name: rotateInUpRight
1932
- }
1933
- @-webkit-keyframes rotateOut {
1934
- from {
1935
- -webkit-transform-origin: center;
1936
- transform-origin: center;
1937
- opacity: 1
1938
- }
1939
- to {
1940
- -webkit-transform-origin: center;
1941
- transform-origin: center;
1942
- -webkit-transform: rotate3d(0, 0, 1, 200deg);
1943
- transform: rotate3d(0, 0, 1, 200deg);
1944
- opacity: 0
1945
- }
1946
- }
1947
- @keyframes rotateOut {
1948
- from {
1949
- -webkit-transform-origin: center;
1950
- transform-origin: center;
1951
- opacity: 1
1952
- }
1953
- to {
1954
- -webkit-transform-origin: center;
1955
- transform-origin: center;
1956
- -webkit-transform: rotate3d(0, 0, 1, 200deg);
1957
- transform: rotate3d(0, 0, 1, 200deg);
1958
- opacity: 0
1959
- }
1960
- }
1961
- .rotateOut {
1962
- -webkit-animation-name: rotateOut;
1963
- animation-name: rotateOut
1964
- }
1965
- @-webkit-keyframes rotateOutDownLeft {
1966
- from {
1967
- -webkit-transform-origin: left bottom;
1968
- transform-origin: left bottom;
1969
- opacity: 1
1970
- }
1971
- to {
1972
- -webkit-transform-origin: left bottom;
1973
- transform-origin: left bottom;
1974
- -webkit-transform: rotate3d(0, 0, 1, 45deg);
1975
- transform: rotate3d(0, 0, 1, 45deg);
1976
- opacity: 0
1977
- }
1978
- }
1979
- @keyframes rotateOutDownLeft {
1980
- from {
1981
- -webkit-transform-origin: left bottom;
1982
- transform-origin: left bottom;
1983
- opacity: 1
1984
- }
1985
- to {
1986
- -webkit-transform-origin: left bottom;
1987
- transform-origin: left bottom;
1988
- -webkit-transform: rotate3d(0, 0, 1, 45deg);
1989
- transform: rotate3d(0, 0, 1, 45deg);
1990
- opacity: 0
1991
- }
1992
- }
1993
- .rotateOutDownLeft {
1994
- -webkit-animation-name: rotateOutDownLeft;
1995
- animation-name: rotateOutDownLeft
1996
- }
1997
- @-webkit-keyframes rotateOutDownRight {
1998
- from {
1999
- -webkit-transform-origin: right bottom;
2000
- transform-origin: right bottom;
2001
- opacity: 1
2002
- }
2003
- to {
2004
- -webkit-transform-origin: right bottom;
2005
- transform-origin: right bottom;
2006
- -webkit-transform: rotate3d(0, 0, 1, -45deg);
2007
- transform: rotate3d(0, 0, 1, -45deg);
2008
- opacity: 0
2009
- }
2010
- }
2011
- @keyframes rotateOutDownRight {
2012
- from {
2013
- -webkit-transform-origin: right bottom;
2014
- transform-origin: right bottom;
2015
- opacity: 1
2016
- }
2017
- to {
2018
- -webkit-transform-origin: right bottom;
2019
- transform-origin: right bottom;
2020
- -webkit-transform: rotate3d(0, 0, 1, -45deg);
2021
- transform: rotate3d(0, 0, 1, -45deg);
2022
- opacity: 0
2023
- }
2024
- }
2025
- .rotateOutDownRight {
2026
- -webkit-animation-name: rotateOutDownRight;
2027
- animation-name: rotateOutDownRight
2028
- }
2029
- @-webkit-keyframes rotateOutUpLeft {
2030
- from {
2031
- -webkit-transform-origin: left bottom;
2032
- transform-origin: left bottom;
2033
- opacity: 1
2034
- }
2035
- to {
2036
- -webkit-transform-origin: left bottom;
2037
- transform-origin: left bottom;
2038
- -webkit-transform: rotate3d(0, 0, 1, -45deg);
2039
- transform: rotate3d(0, 0, 1, -45deg);
2040
- opacity: 0
2041
- }
2042
- }
2043
- @keyframes rotateOutUpLeft {
2044
- from {
2045
- -webkit-transform-origin: left bottom;
2046
- transform-origin: left bottom;
2047
- opacity: 1
2048
- }
2049
- to {
2050
- -webkit-transform-origin: left bottom;
2051
- transform-origin: left bottom;
2052
- -webkit-transform: rotate3d(0, 0, 1, -45deg);
2053
- transform: rotate3d(0, 0, 1, -45deg);
2054
- opacity: 0
2055
- }
2056
- }
2057
- .rotateOutUpLeft {
2058
- -webkit-animation-name: rotateOutUpLeft;
2059
- animation-name: rotateOutUpLeft
2060
- }
2061
- @-webkit-keyframes rotateOutUpRight {
2062
- from {
2063
- -webkit-transform-origin: right bottom;
2064
- transform-origin: right bottom;
2065
- opacity: 1
2066
- }
2067
- to {
2068
- -webkit-transform-origin: right bottom;
2069
- transform-origin: right bottom;
2070
- -webkit-transform: rotate3d(0, 0, 1, 90deg);
2071
- transform: rotate3d(0, 0, 1, 90deg);
2072
- opacity: 0
2073
- }
2074
- }
2075
- @keyframes rotateOutUpRight {
2076
- from {
2077
- -webkit-transform-origin: right bottom;
2078
- transform-origin: right bottom;
2079
- opacity: 1
2080
- }
2081
- to {
2082
- -webkit-transform-origin: right bottom;
2083
- transform-origin: right bottom;
2084
- -webkit-transform: rotate3d(0, 0, 1, 90deg);
2085
- transform: rotate3d(0, 0, 1, 90deg);
2086
- opacity: 0
2087
- }
2088
- }
2089
- .rotateOutUpRight {
2090
- -webkit-animation-name: rotateOutUpRight;
2091
- animation-name: rotateOutUpRight
2092
- }
2093
- @-webkit-keyframes hinge {
2094
- 0% {
2095
- -webkit-transform-origin: top left;
2096
- transform-origin: top left;
2097
- -webkit-animation-timing-function: ease-in-out;
2098
- animation-timing-function: ease-in-out
2099
- }
2100
- 20%,
2101
- 60% {
2102
- -webkit-transform: rotate3d(0, 0, 1, 80deg);
2103
- transform: rotate3d(0, 0, 1, 80deg);
2104
- -webkit-transform-origin: top left;
2105
- transform-origin: top left;
2106
- -webkit-animation-timing-function: ease-in-out;
2107
- animation-timing-function: ease-in-out
2108
- }
2109
- 40%,
2110
- 80% {
2111
- -webkit-transform: rotate3d(0, 0, 1, 60deg);
2112
- transform: rotate3d(0, 0, 1, 60deg);
2113
- -webkit-transform-origin: top left;
2114
- transform-origin: top left;
2115
- -webkit-animation-timing-function: ease-in-out;
2116
- animation-timing-function: ease-in-out;
2117
- opacity: 1
2118
- }
2119
- to {
2120
- -webkit-transform: translate3d(0, 700px, 0);
2121
- transform: translate3d(0, 700px, 0);
2122
- opacity: 0
2123
- }
2124
- }
2125
- @keyframes hinge {
2126
- 0% {
2127
- -webkit-transform-origin: top left;
2128
- transform-origin: top left;
2129
- -webkit-animation-timing-function: ease-in-out;
2130
- animation-timing-function: ease-in-out
2131
- }
2132
- 20%,
2133
- 60% {
2134
- -webkit-transform: rotate3d(0, 0, 1, 80deg);
2135
- transform: rotate3d(0, 0, 1, 80deg);
2136
- -webkit-transform-origin: top left;
2137
- transform-origin: top left;
2138
- -webkit-animation-timing-function: ease-in-out;
2139
- animation-timing-function: ease-in-out
2140
- }
2141
- 40%,
2142
- 80% {
2143
- -webkit-transform: rotate3d(0, 0, 1, 60deg);
2144
- transform: rotate3d(0, 0, 1, 60deg);
2145
- -webkit-transform-origin: top left;
2146
- transform-origin: top left;
2147
- -webkit-animation-timing-function: ease-in-out;
2148
- animation-timing-function: ease-in-out;
2149
- opacity: 1
2150
- }
2151
- to {
2152
- -webkit-transform: translate3d(0, 700px, 0);
2153
- transform: translate3d(0, 700px, 0);
2154
- opacity: 0
2155
- }
2156
- }
2157
- .hinge {
2158
- -webkit-animation-name: hinge;
2159
- animation-name: hinge
2160
- }
2161
- @-webkit-keyframes rollIn {
2162
- from {
2163
- opacity: 0;
2164
- -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2165
- transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)
2166
- }
2167
- to {
2168
- opacity: 1;
2169
- -webkit-transform: none;
2170
- transform: none
2171
- }
2172
- }
2173
- @keyframes rollIn {
2174
- from {
2175
- opacity: 0;
2176
- -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2177
- transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)
2178
- }
2179
- to {
2180
- opacity: 1;
2181
- -webkit-transform: none;
2182
- transform: none
2183
- }
2184
- }
2185
- .rollIn {
2186
- -webkit-animation-name: rollIn;
2187
- animation-name: rollIn
2188
- }
2189
- @-webkit-keyframes rollOut {
2190
- from {
2191
- opacity: 1
2192
- }
2193
- to {
2194
- opacity: 0;
2195
- -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2196
- transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)
2197
- }
2198
- }
2199
- @keyframes rollOut {
2200
- from {
2201
- opacity: 1
2202
- }
2203
- to {
2204
- opacity: 0;
2205
- -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2206
- transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)
2207
- }
2208
- }
2209
- .rollOut {
2210
- -webkit-animation-name: rollOut;
2211
- animation-name: rollOut
2212
- }
2213
- @-webkit-keyframes zoomIn {
2214
- from {
2215
- opacity: 0;
2216
- -webkit-transform: scale3d(.3, .3, .3);
2217
- transform: scale3d(.3, .3, .3)
2218
- }
2219
- 50% {
2220
- opacity: 1
2221
- }
2222
- }
2223
- @keyframes zoomIn {
2224
- from {
2225
- opacity: 0;
2226
- -webkit-transform: scale3d(.3, .3, .3);
2227
- transform: scale3d(.3, .3, .3)
2228
- }
2229
- 50% {
2230
- opacity: 1
2231
- }
2232
- }
2233
- .zoomIn {
2234
- -webkit-animation-name: zoomIn;
2235
- animation-name: zoomIn
2236
- }
2237
- @-webkit-keyframes zoomInDown {
2238
- from {
2239
- opacity: 0;
2240
- -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2241
- transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2242
- -webkit-animation-timing-function: cubic-bezier(.55, .055, .675, .19);
2243
- animation-timing-function: cubic-bezier(.55, .055, .675, .19)
2244
- }
2245
- 60% {
2246
- opacity: 1;
2247
- -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2248
- transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2249
- -webkit-animation-timing-function: cubic-bezier(.175, .885, .32, 1);
2250
- animation-timing-function: cubic-bezier(.175, .885, .32, 1)
2251
- }
2252
- }
2253
- @keyframes zoomInDown {
2254
- from {
2255
- opacity: 0;
2256
- -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2257
- transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2258
- -webkit-animation-timing-function: cubic-bezier(.55, .055, .675, .19);
2259
- animation-timing-function: cubic-bezier(.55, .055, .675, .19)
2260
- }
2261
- 60% {
2262
- opacity: 1;
2263
- -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2264
- transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2265
- -webkit-animation-timing-function: cubic-bezier(.175, .885, .32, 1);
2266
- animation-timing-function: cubic-bezier(.175, .885, .32, 1)
2267
- }
2268
- }
2269
- .zoomInDown {
2270
- -webkit-animation-name: zoomInDown;
2271
- animation-name: zoomInDown
2272
- }
2273
- @-webkit-keyframes zoomInLeft {
2274
- from {
2275
- opacity: 0;
2276
- -webkit-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2277
- transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2278
- -webkit-animation-timing-function: cubic-bezier(.55, .055, .675, .19);
2279
- animation-timing-function: cubic-bezier(.55, .055, .675, .19)
2280
- }
2281
- 60% {
2282
- opacity: 1;
2283
- -webkit-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2284
- transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2285
- -webkit-animation-timing-function: cubic-bezier(.175, .885, .32, 1);
2286
- animation-timing-function: cubic-bezier(.175, .885, .32, 1)
2287
- }
2288
- }
2289
- @keyframes zoomInLeft {
2290
- from {
2291
- opacity: 0;
2292
- -webkit-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2293
- transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2294
- -webkit-animation-timing-function: cubic-bezier(.55, .055, .675, .19);
2295
- animation-timing-function: cubic-bezier(.55, .055, .675, .19)
2296
- }
2297
- 60% {
2298
- opacity: 1;
2299
- -webkit-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2300
- transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2301
- -webkit-animation-timing-function: cubic-bezier(.175, .885, .32, 1);
2302
- animation-timing-function: cubic-bezier(.175, .885, .32, 1)
2303
- }
2304
- }
2305
- .zoomInLeft {
2306
- -webkit-animation-name: zoomInLeft;
2307
- animation-name: zoomInLeft
2308
- }
2309
- @-webkit-keyframes zoomInRight {
2310
- from {
2311
- opacity: 0;
2312
- -webkit-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2313
- transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2314
- -webkit-animation-timing-function: cubic-bezier(.55, .055, .675, .19);
2315
- animation-timing-function: cubic-bezier(.55, .055, .675, .19)
2316
- }
2317
- 60% {
2318
- opacity: 1;
2319
- -webkit-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2320
- transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2321
- -webkit-animation-timing-function: cubic-bezier(.175, .885, .32, 1);
2322
- animation-timing-function: cubic-bezier(.175, .885, .32, 1)
2323
- }
2324
- }
2325
- @keyframes zoomInRight {
2326
- from {
2327
- opacity: 0;
2328
- -webkit-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2329
- transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2330
- -webkit-animation-timing-function: cubic-bezier(.55, .055, .675, .19);
2331
- animation-timing-function: cubic-bezier(.55, .055, .675, .19)
2332
- }
2333
- 60% {
2334
- opacity: 1;
2335
- -webkit-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2336
- transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2337
- -webkit-animation-timing-function: cubic-bezier(.175, .885, .32, 1);
2338
- animation-timing-function: cubic-bezier(.175, .885, .32, 1)
2339
- }
2340
- }
2341
- .zoomInRight {
2342
- -webkit-animation-name: zoomInRight;
2343
- animation-name: zoomInRight
2344
- }
2345
- @-webkit-keyframes zoomInUp {
2346
- from {
2347
- opacity: 0;
2348
- -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2349
- transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2350
- -webkit-animation-timing-function: cubic-bezier(.55, .055, .675, .19);
2351
- animation-timing-function: cubic-bezier(.55, .055, .675, .19)
2352
- }
2353
- 60% {
2354
- opacity: 1;
2355
- -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2356
- transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2357
- -webkit-animation-timing-function: cubic-bezier(.175, .885, .32, 1);
2358
- animation-timing-function: cubic-bezier(.175, .885, .32, 1)
2359
- }
2360
- }
2361
- @keyframes zoomInUp {
2362
- from {
2363
- opacity: 0;
2364
- -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2365
- transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2366
- -webkit-animation-timing-function: cubic-bezier(.55, .055, .675, .19);
2367
- animation-timing-function: cubic-bezier(.55, .055, .675, .19)
2368
- }
2369
- 60% {
2370
- opacity: 1;
2371
- -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2372
- transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2373
- -webkit-animation-timing-function: cubic-bezier(.175, .885, .32, 1);
2374
- animation-timing-function: cubic-bezier(.175, .885, .32, 1)
2375
- }
2376
- }
2377
- .zoomInUp {
2378
- -webkit-animation-name: zoomInUp;
2379
- animation-name: zoomInUp
2380
- }
2381
- @-webkit-keyframes zoomOut {
2382
- from {
2383
- opacity: 1
2384
- }
2385
- 50% {
2386
- opacity: 0;
2387
- -webkit-transform: scale3d(.3, .3, .3);
2388
- transform: scale3d(.3, .3, .3)
2389
- }
2390
- to {
2391
- opacity: 0
2392
- }
2393
- }
2394
- @keyframes zoomOut {
2395
- from {
2396
- opacity: 1
2397
- }
2398
- 50% {
2399
- opacity: 0;
2400
- -webkit-transform: scale3d(.3, .3, .3);
2401
- transform: scale3d(.3, .3, .3)
2402
- }
2403
- to {
2404
- opacity: 0
2405
- }
2406
- }
2407
- .zoomOut {
2408
- -webkit-animation-name: zoomOut;
2409
- animation-name: zoomOut
2410
- }
2411
- @-webkit-keyframes zoomOutDown {
2412
- 40% {
2413
- opacity: 1;
2414
- -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2415
- transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2416
- -webkit-animation-timing-function: cubic-bezier(.55, .055, .675, .19);
2417
- animation-timing-function: cubic-bezier(.55, .055, .675, .19)
2418
- }
2419
- to {
2420
- opacity: 0;
2421
- -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
2422
- transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
2423
- -webkit-transform-origin: center bottom;
2424
- transform-origin: center bottom;
2425
- -webkit-animation-timing-function: cubic-bezier(.175, .885, .32, 1);
2426
- animation-timing-function: cubic-bezier(.175, .885, .32, 1)
2427
- }
2428
- }
2429
- @keyframes zoomOutDown {
2430
- 40% {
2431
- opacity: 1;
2432
- -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2433
- transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2434
- -webkit-animation-timing-function: cubic-bezier(.55, .055, .675, .19);
2435
- animation-timing-function: cubic-bezier(.55, .055, .675, .19)
2436
- }
2437
- to {
2438
- opacity: 0;
2439
- -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
2440
- transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
2441
- -webkit-transform-origin: center bottom;
2442
- transform-origin: center bottom;
2443
- -webkit-animation-timing-function: cubic-bezier(.175, .885, .32, 1);
2444
- animation-timing-function: cubic-bezier(.175, .885, .32, 1)
2445
- }
2446
- }
2447
- .zoomOutDown {
2448
- -webkit-animation-name: zoomOutDown;
2449
- animation-name: zoomOutDown
2450
- }
2451
- @-webkit-keyframes zoomOutLeft {
2452
- 40% {
2453
- opacity: 1;
2454
- -webkit-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
2455
- transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0)
2456
- }
2457
- to {
2458
- opacity: 0;
2459
- -webkit-transform: scale(.1) translate3d(-2000px, 0, 0);
2460
- transform: scale(.1) translate3d(-2000px, 0, 0);
2461
- -webkit-transform-origin: left center;
2462
- transform-origin: left center
2463
- }
2464
- }
2465
- @keyframes zoomOutLeft {
2466
- 40% {
2467
- opacity: 1;
2468
- -webkit-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
2469
- transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0)
2470
- }
2471
- to {
2472
- opacity: 0;
2473
- -webkit-transform: scale(.1) translate3d(-2000px, 0, 0);
2474
- transform: scale(.1) translate3d(-2000px, 0, 0);
2475
- -webkit-transform-origin: left center;
2476
- transform-origin: left center
2477
- }
2478
- }
2479
- .zoomOutLeft {
2480
- -webkit-animation-name: zoomOutLeft;
2481
- animation-name: zoomOutLeft
2482
- }
2483
- @-webkit-keyframes zoomOutRight {
2484
- 40% {
2485
- opacity: 1;
2486
- -webkit-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
2487
- transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0)
2488
- }
2489
- to {
2490
- opacity: 0;
2491
- -webkit-transform: scale(.1) translate3d(2000px, 0, 0);
2492
- transform: scale(.1) translate3d(2000px, 0, 0);
2493
- -webkit-transform-origin: right center;
2494
- transform-origin: right center
2495
- }
2496
- }
2497
- @keyframes zoomOutRight {
2498
- 40% {
2499
- opacity: 1;
2500
- -webkit-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
2501
- transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0)
2502
- }
2503
- to {
2504
- opacity: 0;
2505
- -webkit-transform: scale(.1) translate3d(2000px, 0, 0);
2506
- transform: scale(.1) translate3d(2000px, 0, 0);
2507
- -webkit-transform-origin: right center;
2508
- transform-origin: right center
2509
- }
2510
- }
2511
- .zoomOutRight {
2512
- -webkit-animation-name: zoomOutRight;
2513
- animation-name: zoomOutRight
2514
- }
2515
- @-webkit-keyframes zoomOutUp {
2516
- 40% {
2517
- opacity: 1;
2518
- -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2519
- transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2520
- -webkit-animation-timing-function: cubic-bezier(.55, .055, .675, .19);
2521
- animation-timing-function: cubic-bezier(.55, .055, .675, .19)
2522
- }
2523
- to {
2524
- opacity: 0;
2525
- -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
2526
- transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
2527
- -webkit-transform-origin: center bottom;
2528
- transform-origin: center bottom;
2529
- -webkit-animation-timing-function: cubic-bezier(.175, .885, .32, 1);
2530
- animation-timing-function: cubic-bezier(.175, .885, .32, 1)
2531
- }
2532
- }
2533
- @keyframes zoomOutUp {
2534
- 40% {
2535
- opacity: 1;
2536
- -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2537
- transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2538
- -webkit-animation-timing-function: cubic-bezier(.55, .055, .675, .19);
2539
- animation-timing-function: cubic-bezier(.55, .055, .675, .19)
2540
- }
2541
- to {
2542
- opacity: 0;
2543
- -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
2544
- transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
2545
- -webkit-transform-origin: center bottom;
2546
- transform-origin: center bottom;
2547
- -webkit-animation-timing-function: cubic-bezier(.175, .885, .32, 1);
2548
- animation-timing-function: cubic-bezier(.175, .885, .32, 1)
2549
- }
2550
- }
2551
- .zoomOutUp {
2552
- -webkit-animation-name: zoomOutUp;
2553
- animation-name: zoomOutUp
2554
- }
2555
- @-webkit-keyframes slideInDown {
2556
- from {
2557
- -webkit-transform: translate3d(0, -100%, 0);
2558
- transform: translate3d(0, -100%, 0);
2559
- visibility: visible
2560
- }
2561
- to {
2562
- -webkit-transform: translate3d(0, 0, 0);
2563
- transform: translate3d(0, 0, 0)
2564
- }
2565
- }
2566
- @keyframes slideInDown {
2567
- from {
2568
- -webkit-transform: translate3d(0, -100%, 0);
2569
- transform: translate3d(0, -100%, 0);
2570
- visibility: visible
2571
- }
2572
- to {
2573
- -webkit-transform: translate3d(0, 0, 0);
2574
- transform: translate3d(0, 0, 0)
2575
- }
2576
- }
2577
- .slideInDown {
2578
- -webkit-animation-name: slideInDown;
2579
- animation-name: slideInDown
2580
- }
2581
- @-webkit-keyframes slideInLeft {
2582
- from {
2583
- -webkit-transform: translate3d(-100%, 0, 0);
2584
- transform: translate3d(-100%, 0, 0);
2585
- visibility: visible
2586
- }
2587
- to {
2588
- -webkit-transform: translate3d(0, 0, 0);
2589
- transform: translate3d(0, 0, 0)
2590
- }
2591
- }
2592
- @keyframes slideInLeft {
2593
- from {
2594
- -webkit-transform: translate3d(-100%, 0, 0);
2595
- transform: translate3d(-100%, 0, 0);
2596
- visibility: visible
2597
- }
2598
- to {
2599
- -webkit-transform: translate3d(0, 0, 0);
2600
- transform: translate3d(0, 0, 0)
2601
- }
2602
- }
2603
- .slideInLeft {
2604
- -webkit-animation-name: slideInLeft;
2605
- animation-name: slideInLeft
2606
- }
2607
- @-webkit-keyframes slideInRight {
2608
- from {
2609
- -webkit-transform: translate3d(100%, 0, 0);
2610
- transform: translate3d(100%, 0, 0);
2611
- visibility: visible
2612
- }
2613
- to {
2614
- -webkit-transform: translate3d(0, 0, 0);
2615
- transform: translate3d(0, 0, 0)
2616
- }
2617
- }
2618
- @keyframes slideInRight {
2619
- from {
2620
- -webkit-transform: translate3d(100%, 0, 0);
2621
- transform: translate3d(100%, 0, 0);
2622
- visibility: visible
2623
- }
2624
- to {
2625
- -webkit-transform: translate3d(0, 0, 0);
2626
- transform: translate3d(0, 0, 0)
2627
- }
2628
- }
2629
- .slideInRight {
2630
- -webkit-animation-name: slideInRight;
2631
- animation-name: slideInRight
2632
- }
2633
- @-webkit-keyframes slideInUp {
2634
- from {
2635
- -webkit-transform: translate3d(0, 100%, 0);
2636
- transform: translate3d(0, 100%, 0);
2637
- visibility: visible
2638
- }
2639
- to {
2640
- -webkit-transform: translate3d(0, 0, 0);
2641
- transform: translate3d(0, 0, 0)
2642
- }
2643
- }
2644
- @keyframes slideInUp {
2645
- from {
2646
- -webkit-transform: translate3d(0, 100%, 0);
2647
- transform: translate3d(0, 100%, 0);
2648
- visibility: visible
2649
- }
2650
- to {
2651
- -webkit-transform: translate3d(0, 0, 0);
2652
- transform: translate3d(0, 0, 0)
2653
- }
2654
- }
2655
- .slideInUp {
2656
- -webkit-animation-name: slideInUp;
2657
- animation-name: slideInUp
2658
- }
2659
- @-webkit-keyframes slideOutDown {
2660
- from {
2661
- -webkit-transform: translate3d(0, 0, 0);
2662
- transform: translate3d(0, 0, 0)
2663
- }
2664
- to {
2665
- visibility: hidden;
2666
- -webkit-transform: translate3d(0, 100%, 0);
2667
- transform: translate3d(0, 100%, 0)
2668
- }
2669
- }
2670
- @keyframes slideOutDown {
2671
- from {
2672
- -webkit-transform: translate3d(0, 0, 0);
2673
- transform: translate3d(0, 0, 0)
2674
- }
2675
- to {
2676
- visibility: hidden;
2677
- -webkit-transform: translate3d(0, 100%, 0);
2678
- transform: translate3d(0, 100%, 0)
2679
- }
2680
- }
2681
- .slideOutDown {
2682
- -webkit-animation-name: slideOutDown;
2683
- animation-name: slideOutDown
2684
- }
2685
- @-webkit-keyframes slideOutLeft {
2686
- from {
2687
- -webkit-transform: translate3d(0, 0, 0);
2688
- transform: translate3d(0, 0, 0)
2689
- }
2690
- to {
2691
- visibility: hidden;
2692
- -webkit-transform: translate3d(-100%, 0, 0);
2693
- transform: translate3d(-100%, 0, 0)
2694
- }
2695
- }
2696
- @keyframes slideOutLeft {
2697
- from {
2698
- -webkit-transform: translate3d(0, 0, 0);
2699
- transform: translate3d(0, 0, 0)
2700
- }
2701
- to {
2702
- visibility: hidden;
2703
- -webkit-transform: translate3d(-100%, 0, 0);
2704
- transform: translate3d(-100%, 0, 0)
2705
- }
2706
- }
2707
- .slideOutLeft {
2708
- -webkit-animation-name: slideOutLeft;
2709
- animation-name: slideOutLeft
2710
- }
2711
- @-webkit-keyframes slideOutRight {
2712
- from {
2713
- -webkit-transform: translate3d(0, 0, 0);
2714
- transform: translate3d(0, 0, 0)
2715
- }
2716
- to {
2717
- visibility: hidden;
2718
- -webkit-transform: translate3d(100%, 0, 0);
2719
- transform: translate3d(100%, 0, 0)
2720
- }
2721
- }
2722
- @keyframes slideOutRight {
2723
- from {
2724
- -webkit-transform: translate3d(0, 0, 0);
2725
- transform: translate3d(0, 0, 0)
2726
- }
2727
- to {
2728
- visibility: hidden;
2729
- -webkit-transform: translate3d(100%, 0, 0);
2730
- transform: translate3d(100%, 0, 0)
2731
- }
2732
- }
2733
- .slideOutRight {
2734
- -webkit-animation-name: slideOutRight;
2735
- animation-name: slideOutRight
2736
- }
2737
- @-webkit-keyframes slideOutUp {
2738
- from {
2739
- -webkit-transform: translate3d(0, 0, 0);
2740
- transform: translate3d(0, 0, 0)
2741
- }
2742
- to {
2743
- visibility: hidden;
2744
- -webkit-transform: translate3d(0, -100%, 0);
2745
- transform: translate3d(0, -100%, 0)
2746
- }
2747
- }
2748
- @keyframes slideOutUp {
2749
- from {
2750
- -webkit-transform: translate3d(0, 0, 0);
2751
- transform: translate3d(0, 0, 0)
2752
- }
2753
- to {
2754
- visibility: hidden;
2755
- -webkit-transform: translate3d(0, -100%, 0);
2756
- transform: translate3d(0, -100%, 0)
2757
- }
2758
- }
2759
- .slideOutUp {
2760
- -webkit-animation-name: slideOutUp;
2761
- animation-name: slideOutUp
2762
- }
1
+ @charset"UTF-8";/*!
 
 
2
  Animate.css - http://daneden.me/animate
3
  Licensed under the MIT license - http://opensource.org/licenses/MIT
4
 
5
  Copyright (c) 2015 Daniel Eden
6
+ */.sg-animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.sg-animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.sg-animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}.sg-animated.bounceIn,.sg-animated.bounceOut,.sg-animated.flipOutX,.sg-animated.flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes bounce{20%,53%,80%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.050,.855,.060);animation-timing-function:cubic-bezier(.755,.050,.855,.060);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.050,.855,.060);animation-timing-function:cubic-bezier(.755,.050,.855,.060);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}@keyframes bounce{20%,53%,80%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.050,.855,.060);animation-timing-function:cubic-bezier(.755,.050,.855,.060);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.050,.855,.060);animation-timing-function:cubic-bezier(.755,.050,.855,.060);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{50%,from,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{50%,from,to{opacity:1}25%,75%{opacity:0}}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{from,to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}}@keyframes pulse{from,to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rubberBand{from,to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}}@keyframes rubberBand{from,to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shake{from,to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shake{from,to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shake{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0);transform:rotate3d(0,0,1,0)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0);transform:rotate3d(0,0,1,0)}}.swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{from,to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}}@keyframes tada{from,to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{from,to{-webkit-transform:none;transform:none}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}}@keyframes wobble{from,to{-webkit-transform:none;transform:none}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{11.1%,from,to{-webkit-transform:none;transform:none}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skewX(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skewX(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skewX(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skewX(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skewX(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{11.1%,from,to{-webkit-transform:none;transform:none}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skewX(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skewX(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skewX(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skewX(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skewX(-.1953125deg) skewY(-.1953125deg)}}.jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes bounceIn{20%,40%,60%,80%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes bounceIn{20%,40%,60%,80%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.bounceIn{-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:none;transform:none}}@keyframes bounceInDown{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:none;transform:none}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:none;transform:none}}@keyframes bounceInLeft{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:none;transform:none}}.bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}from{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}@keyframes bounceInRight{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}from{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}.bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}from{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes bounceInUp{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}from{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.bounceOut{-webkit-animation-name:bounceOut;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{from{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDownBig{from{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{from{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeft{from{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{from{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftBig{from{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{from{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRight{from{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{from{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRightBig{from{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{from{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUp{from{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{from{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpBig{from{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeOut{from{opacity:1}to{opacity:0}}@keyframes fadeOut{from{opacity:1}to{opacity:0}}.fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes flip{from{-webkit-transform:perspective(400px) rotate3d(0,1,0,-360deg);transform:perspective(400px) rotate3d(0,1,0,-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95);transform:perspective(400px) scale3d(.95,.95,.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{from{-webkit-transform:perspective(400px) rotate3d(0,1,0,-360deg);transform:perspective(400px) rotate3d(0,1,0,-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95);transform:perspective(400px) scale3d(.95,.95,.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.sg-animated.flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{from{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{from{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInX{backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}.flipInX,.flipInY{-webkit-backface-visibility:visible!important}@-webkit-keyframes flipInY{from{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotate3d(0,1,0,-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{from{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotate3d(0,1,0,-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInY{backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{from{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}@keyframes flipOutX{from{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}.flipOutX{-webkit-animation-name:flipOutX;animation-name:flipOutX;backface-visibility:visible!important}.flipOutX,.flipOutY{-webkit-backface-visibility:visible!important}@-webkit-keyframes flipOutY{from{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}@keyframes flipOutY{from{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}.flipOutY{backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedIn{from{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg);opacity:1}to{-webkit-transform:none;transform:none;opacity:1}}@keyframes lightSpeedIn{from{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg);opacity:1}to{-webkit-transform:none;transform:none;opacity:1}}.lightSpeedIn{-webkit-animation-name:lightSpeedIn;animation-name:lightSpeedIn;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOut{from{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}@keyframes lightSpeedOut{from{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}.lightSpeedOut{-webkit-animation-name:lightSpeedOut;animation-name:lightSpeedOut;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{from{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateIn{from{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:none;transform:none;opacity:1}}.rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn}@-webkit-keyframes rotateInDownLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInDownLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft}@-webkit-keyframes rotateInDownRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInDownRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight}@-webkit-keyframes rotateInUpLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInUpLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft}@-webkit-keyframes rotateInUpRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInUpRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight}@-webkit-keyframes rotateOut{from{-webkit-transform-origin:center;transform-origin:center;opacity:1}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{from{-webkit-transform-origin:center;transform-origin:center;opacity:1}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut}@-webkit-keyframes rotateOutDownLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft}@-webkit-keyframes rotateOutDownRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight}@-webkit-keyframes rotateOutUpLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft}@-webkit-keyframes rotateOutUpRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight}@-webkit-keyframes hinge{0{-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0{-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-name:hinge;animation-name:hinge}@-webkit-keyframes rollIn{from{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes rollIn{from{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:none;transform:none}}.rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{from{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{from{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{from{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{from{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}.zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}.zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp}@-webkit-keyframes slideInDown{from{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes slideInDown{from{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes slideInLeft{from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes slideInRight{from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{from{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes slideInUp{from{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
style/sgcolorbox/sgthemes.css CHANGED
@@ -1 +1 @@
1
- /*
2
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
3
  when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
4
  See: http://jacklmoore.com/notes/ie-transparency-problems/
5
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
6
  when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
7
  See: http://jacklmoore.com/notes/ie-transparency-problems/
8
  Colorbox Core Style:
9
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
10
  when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
11
  See: http://jacklmoore.com/notes/ie-transparency-problems/
 
 
1
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
2
  when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
3
  See: http://jacklmoore.com/notes/ie-transparency-problems/
4
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
5
  when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
6
  See: http://jacklmoore.com/notes/ie-transparency-problems/
7
  Colorbox Core Style:
8
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
9
  when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
10
  See: http://jacklmoore.com/notes/ie-transparency-problems/
11
+ #sgcolorbox.colorbox1,#sgcboxOverlay.colorbox1,.colorbox1 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox1 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox1{position:fixed;width:100%;height:100%}.colorbox1 #sgcboxMiddleLeft,.colorbox1 #cboxBottomLeft{clear:left}.colorbox1 #sgcboxContent{position:relative}.colorbox1 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox1 #sgsgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox1,.colorbox1 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox1 #sgcboxPrevious,.colorbox1 #cboxNext,.colorbox1 #sgcboxClose,.colorbox1 #sgcboxSlideshow{cursor:pointer}.colorbox1 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox1 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox1,.colorbox1 #sgcboxContent,.colorbox1 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox1{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox1{background:url(../../img/colorbox1/overlay.png) repeat 0 0}#sgcolorbox.colorbox1{outline:0}.colorbox1 #sgcboxTopLeft{width:21px;height:21px;background:url(../../img/colorbox1/controls.png) no-repeat -101px 0}.colorbox1 #sgcboxTopRight{width:21px;height:21px;background:url(../../img/colorbox1/controls.png) no-repeat -130px 0}.colorbox1 #sgcboxBottomLeft{width:21px;height:21px;background:url(../../img/colorbox1/controls.png) no-repeat -101px -29px}.colorbox1 #sgcboxBottomRight{width:21px;height:21px;background:url(../../img/colorbox1/controls.png) no-repeat -130px -29px}.colorbox1 #sgcboxMiddleLeft{width:21px;background:url(../../img/colorbox1/controls.png) left top repeat-y}.colorbox1 #sgcboxMiddleRight{width:21px;background:url(../../img/colorbox1/controls.png) right top repeat-y}.colorbox1 #sgcboxTopCenter{height:21px;background:url(../../img/colorbox1/border.png) 0 0 repeat-x}.colorbox1 #sgcboxBottomCenter{height:21px;background:url(../../img/colorbox1/border.png) 0 -29px repeat-x}.colorbox1 #sgcboxContent{background:#fff;overflow:hidden}.colorbox1 .sgcboxIframe{background:#fff}.colorbox1 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox1 #sgcboxLoadedContent{margin-bottom:28px}.colorbox1 #sgcboxTitle{position:absolute;bottom:4px;left:0;text-align:center;width:100%;color:#949494}.colorbox1 #sgcboxCurrent{position:absolute;bottom:4px;left:58px;color:#949494}#sgcboxLoadingOverlay.colorbox1{background:url(../../img/colorbox1/loading_background.png) no-repeat center center}.colorbox1 #sgcboxLoadingGraphic{background:url(../../img/colorbox1/loading.gif) no-repeat center center}.colorbox1 #sgcboxPrevious,.colorbox1 #sgcboxNext,.colorbox1 #sgcboxSlideshow,.colorbox1 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:0 0}.colorbox1 #sgcboxPrevious:active,.colorbox1 #sgcboxNext:active,.colorbox1 #sgcboxSlideshow:active,.colorbox1 #sgcboxClose:active{outline:0}.colorbox1 #sgcboxSlideshow{position:absolute;bottom:4px;right:30px;color:#0092ef}.colorbox1 #sgcboxPrevious{position:absolute;bottom:0;left:0;background:url(../../img/colorbox1/controls.png) no-repeat -75px 0;width:25px;height:25px;text-indent:-9999px}.colorbox1 #sgcboxPrevious:hover{background-position:-75px -25px}.colorbox1 #sgcboxNext{position:absolute;bottom:0;left:27px;background:url(../../img/colorbox1/controls.png) no-repeat -50px 0;width:25px;height:25px;text-indent:-9999px}.colorbox1 #sgcboxNext:hover{background-position:-50px -25px}.colorbox1 #sgcboxClose{position:absolute;padding:0!important;bottom:0;right:0;background:url(../../img/colorbox1/controls.png) no-repeat -25px 0;width:25px;height:25px;text-indent:-9999px}.colorbox1 #sgcboxClose:hover{background-position:-25px -25px}.colorbox1 .sgcboxIE #sgcboxTopLeft,.colorbox1 .sgcboxIE #sgcboxTopCenter,.colorbox1 .sgcboxIE #sgcboxTopRight,.colorbox1 .sgcboxIE #sgcboxBottomLeft,.colorbox1 .sgcboxIE #sgcboxBottomCenter,.colorbox1 .sgcboxIE #sgcboxBottomRight,.colorbox1 .sgcboxIE #sgcboxMiddleLeft,.colorbox1 .sgcboxIE #sgcboxMiddleRight{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)}#sgcboxLoadedContent img{max-width:100%;height:auto}#sgcolorbox.colorbox2,#sgcboxOverlay.colorbox2,.colorbox2 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox2 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox2{position:fixed;width:100%;height:100%}.colorbox2 #sgcboxMiddleLeft,.colorbox2 #sgcboxBottomLeft{clear:left}.colorbox2 #sgcboxContent{position:relative}.colorbox2 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox2 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox2,#sgcboxLoadingGraphic.colorbox2{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox2 #sgcboxPrevious,.colorbox2 #sgcboxNext,.colorbox2 #sgcboxClose,.colorbox2 #sgcboxSlideshow{cursor:pointer}.colorbox2 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox2 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox2,.colorbox2 #sgcboxContent,.colorbox2 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox2{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox2{background:#fff}#sgcolorbox.colorbox2{outline:0}.colorbox2 #sgcboxContent{margin-top:32px;overflow:visible;background:#000}.colorbox2 .sgcboxIframe{background:#fff}.colorbox2 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox2 #sgcboxLoadedContent{background:#000;padding:1px}.colorbox2 #sgcboxLoadingGraphic{background:url(../../img/colorbox2/loading.gif) no-repeat center center}#sgcboxLoadingOverlay.colorbox2{background:#000}.colorbox2 #sgcboxTitle{position:absolute;top:-22px;left:0;color:#000}.colorbox2 #sgcboxCurrent{position:absolute;top:-22px;right:205px;text-indent:-9999px}.colorbox2 #sgcboxPrevious,.colorbox2 #sgcboxNext,.colorbox2 #sgcboxSlideshow,.colorbox2 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;text-indent:-9999px;width:20px;height:20px;position:absolute;top:-20px;background:url(../../img/colorbox2/controls.png) no-repeat 0 0}.colorbox2 #sgcboxPrevious:active,.colorbox2 #sgcboxNext:active,.colorbox2 #sgcboxSlideshow:active,.colorbox2 #sgcboxClose:active{outline:0}.colorbox2 #sgcboxPrevious{background-position:0 0;right:44px}.colorbox2 #sgcboxPrevious:hover{background-position:0 -25px}.colorbox2 #sgcboxNext{background-position:-25px 0;right:22px}.colorbox2 #sgcboxNext:hover{background-position:-25px -25px}.colorbox2 #sgcboxClose{background-position:-50px 0;right:0;padding:0!important}#sgcboxClose:hover{background-position:-50px -25px}.colorbox2 .sgcboxSlideshow_on #sgcboxPrevious,.colorbox2 .sgcboxSlideshow_off #sgcboxPrevious{right:66px}.colorbox2 .sgcboxSlideshow_on #sgcboxSlideshow{background-position:-75px -25px;right:44px}.colorbox2 .sgcboxSlideshow_on #sgcboxSlideshow:hover{background-position:-100px -25px}.colorbox2 .sgcboxSlideshow_off #sgcboxSlideshow{background-position:-100px 0;right:44px}.colorbox2 .sgcboxSlideshow_off #sgcboxSlideshow:hover{background-position:-75px -25px}#sgcboxLoadedContent img{max-width:100%;height:auto}#sgcolorbox.colorbox3,#sgcboxOverlay.colorbox3,.colorbox3 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox3 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox3{position:fixed;width:100%;height:100%}.colorbox3 #sgcboxMiddleLeft,.colorbox3 #sgcboxBottomLeft{clear:left}.colorbox3 #sgcboxContent{position:relative}.colorbox3 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox3 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox3,.colorbox3 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox3 #sgcboxPrevious,.colorbox3 #sgcboxNext,.colorbox3 #sgcboxClose,.colorbox3 #sgcboxSlideshow{cursor:pointer}.colorbox3 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox3 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}.colorbox3 #sgcolorbox,#sgcboxContent,#sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox3{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox3{background:#000}#sgcolorbox.colorbox3{outline:0}.colorbox3 #sgcboxContent{margin-top:20px;background:#000}.colorbox3.sgcboxIframe{background:#fff}.colorbox3 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox3 #sgcboxLoadedContent{border:5px solid #000;background:#fff}.colorbox3 #sgcboxTitle{position:absolute;top:-20px;left:0;color:#ccc}.colorbox3 #sgcboxCurrent{position:absolute;top:-20px;right:0;color:#ccc}.colorbox3 #sgcboxLoadingGraphic{background:url(../../img/colorbox3/loading.gif) no-repeat center center}.colorbox3 #sgcboxPrevious,.colorbox3 #sgcboxNext,.colorbox3 #sgcboxSlideshow,.colorbox3 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:0 0}.colorbox3 #sgcboxPrevious:active,.colorbox3 #sgcboxNext:active,.colorbox3 #sgcboxSlideshow:active,.colorbox3 #sgcboxClose:active{outline:0}.colorbox3 #sgcboxSlideshow{position:absolute;top:-20px;right:90px;color:#fff}.colorbox3 #sgcboxPrevious{position:absolute;top:50%;left:5px;margin-top:-32px;background:url(../../img/colorbox3/controls.png) no-repeat top left;width:28px;height:65px;text-indent:-9999px}.colorbox3 #sgcboxPrevious:hover{background-position:bottom left}.colorbox3 #sgcboxNext{position:absolute;top:50%;right:5px;margin-top:-32px;background:url(../../img/colorbox3/controls.png) no-repeat top right;width:28px;height:65px;text-indent:-9999px}.colorbox3 #sgcboxNext:hover{background-position:bottom right}.colorbox3 #sgcboxClose{position:absolute;top:5px;right:5px;padding:0!important;display:block;background:url(../../img/colorbox3/controls.png) no-repeat top center;width:38px;height:19px;text-indent:-9999px}.colorbox3 #sgcboxClose:hover{background-position:bottom center}#sgcboxLoadedContent img{max-width:100%;height:auto}#sgcolorbox.colorbox4,#sgcboxOverlay.colorbox4,.colorbox4 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox4 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox4{position:fixed;width:100%;height:100%}.colorbox4 #sgcboxMiddleLeft,.colorbox4 #sgcboxBottomLeft{clear:left}.colorbox4 #sgcboxContent{position:relative}.colorbox4 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox4 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox4,.colorbox4 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox4 #sgcboxPrevious,.colorbox4 #sgcboxNext,.colorbox4 #sgcboxClose,.colorbox4 #sgcboxSlideshow{cursor:pointer}.colorbox4 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox4 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox4,.colorbox4 #sgcboxContent,.colorbox4 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox4{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox4{background:#fff}#sgcolorbox.colorbox4{outline:0}.colorbox4 #sgcboxTopLeft{width:25px;height:25px;background:url(../../img/colorbox4/border1.png) no-repeat 0 0}.colorbox4 #sgcboxTopCenter{height:25px;background:url(../../img/colorbox4/border1.png) repeat-x 0 -50px}.colorbox4 #sgcboxTopRight{width:25px;height:25px;background:url(../../img/colorbox4/border1.png) no-repeat -25px 0}.colorbox4 #sgcboxBottomLeft{width:25px;height:25px;background:url(../../img/colorbox4/border1.png) no-repeat 0 -25px}.colorbox4 #sgcboxBottomCenter{height:25px;background:url(../../img/colorbox4/border1.png) repeat-x 0 -75px}.colorbox4 #sgcboxBottomRight{width:25px;height:25px;background:url(../../img/colorbox4/border1.png) no-repeat -25px -25px}.colorbox4 #sgcboxMiddleLeft{width:25px;background:url(../../img/colorbox4/border2.png) repeat-y 0 0}.colorbox4 #sgcboxMiddleRight{width:25px;background:url(../../img/colorbox4/border2.png) repeat-y -25px 0}.colorbox4 #sgcboxContent{background:#fff;overflow:hidden}.colorbox4 .sgcboxIframe{background:#fff}.colorbox4 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox4 #sgcboxLoadedContent{margin-bottom:20px}.colorbox4 #sgcboxTitle{position:absolute;bottom:0;left:0;text-align:center;width:100%;color:#999}.colorbox4 #sgcboxCurrent{position:absolute;bottom:0;left:100px;color:#999}#sgcboxLoadingOverlay.colorbox4{background:#fff url(../../img/colorbox4/loading.gif) no-repeat 5px 5px}.colorbox4 #sgcboxPrevious,.colorbox4 #sgcboxNext,.colorbox4 #sgcboxSlideshow,.colorbox4 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:0 0}.colorbox4 #sgcboxPrevious:active,.colorbox4 #sgcboxNext:active,.colorbox4 #sgcboxSlideshow:active,.colorbox4 #sgcboxClose:active{outline:0}.colorbox4 #sgcboxSlideshow{position:absolute;bottom:0;right:42px;color:#444}.colorbox4 #sgcboxPrevious{position:absolute;bottom:0;left:0;color:#444}.colorbox4 #sgcboxNext{position:absolute;bottom:0;left:63px;color:#444}.colorbox4 #sgcboxClose{position:absolute;bottom:0;right:0;display:block;padding:0!important;color:#444}.colorbox4 .sgcboxIE #sgcboxTopLeft,.colorbox4 .sgcboxIE #sgcboxTopCenter,.colorbox4 .sgcboxIE #sgcboxTopRight,.colorbox4 .sgcboxIE #sgcboxBottomLeft,.colorbox4 .sgcboxIE #sgcboxBottomCenter,.colorbox4 .sgcboxIE #sgcboxBottomRight,.colorbox4 .sgcboxIE #sgcboxMiddleLeft,.colorbox4 .sgcboxIE #sgcboxMiddleRight{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)}#sgcboxLoadedContent img{max-width:100%;height:auto}#sgcolorbox.colorbox5,#sgcboxOverlay.colorbox5,.colorbox5 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox5 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox5{position:fixed;width:100%;height:100%}.colorbox5 #sgcboxMiddleLeft,.colorbox5 #sgcboxBottomLeft{clear:left}.colorbox5 #sgcboxContent{position:relative}.colorbox5 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox5 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox5,.colorbox5 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox5 #sgcboxPrevious,.colorbox5 #sgcboxNext,.colorbox5 #sgcboxClose,.colorbox5 #sgcboxSlideshow{cursor:pointer}.colorbox5 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox5 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox5,.colorbox5 #sgcboxContent,.colorbox5 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox5{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox5{background:#000}#sgcolorbox.colorbox5{outline:0}.colorbox5 #sgcboxTopLeft{width:14px;height:14px;background:url(../../img/colorbox5/controls.png) no-repeat 0 0}.colorbox5 #sgcboxTopCenter{height:14px;background:url(../../img/colorbox5/border.png) repeat-x top left}.colorbox5 #sgcboxTopRight{width:14px;height:14px;background:url(../../img/colorbox5/controls.png) no-repeat -36px 0}.colorbox5 #sgcboxBottomLeft{width:14px;height:43px;background:url(../../img/colorbox5/controls.png) no-repeat 0 -32px}.colorbox5 #sgcboxBottomCenter{height:43px;background:url(../../img/colorbox5/border.png) repeat-x bottom left}.colorbox5 #sgcboxBottomRight{width:14px;height:43px;background:url(../../img/colorbox5/controls.png) no-repeat -36px -32px}.colorbox5 #sgcboxMiddleLeft{width:14px;background:url(../../img/colorbox5/controls.png) repeat-y -175px 0}.colorbox5 #sgcboxMiddleRight{width:14px;background:url(../../img/colorbox5/controls.png) repeat-y -211px 0}.colorbox5 #sgcboxContent{background:#fff;overflow:visible}.colorbox5 .sgcboxIframe{background:#fff}.colorbox5 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox5 #sgcboxLoadedContent{margin-bottom:5px}#sgcboxLoadingOverlay.colorbox5{background:url(../../img/colorbox5/loading_background.png) no-repeat center center}.colorbox5 #sgcboxLoadingGraphic{background:url(../../img/colorbox5/loading.gif) no-repeat center center}.colorbox5 #sgcboxTitle{position:absolute;bottom:-25px;left:0;text-align:center;width:100%;font-weight:bold;color:#7C7C7C}.colorbox5 #sgcboxCurrent{position:absolute;bottom:-25px;left:58px;font-weight:bold;color:#7C7C7C}.colorbox5 #sgcboxPrevious,.colorbox5 #sgcboxNext,.colorbox5 #sgcboxSlideshow,.colorbox5 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;position:absolute;bottom:-29px;background:url(../../img/colorbox5/controls.png) no-repeat 0 0;width:23px;height:23px;text-indent:-9999px}.colorbox5 #sgcboxPrevious:active,.colorbox5 #sgcboxNext:active,.colorbox5 #sgcboxSlideshow:active,.colorbox5 #sgcboxClose:active{outline:0}.colorbox5 #sgcboxPrevious{left:0;background-position:-51px -25px}.colorbox5 #sgcboxPrevious:hover{background-position:-51px 0}.colorbox5 #sgcboxNext{left:27px;background-position:-75px -25px}.colorbox5 #sgcboxNext:hover{background-position:-75px 0}.colorbox5 #sgcboxClose{right:0;background-position:-100px -25px;padding:0!important}.colorbox5 #sgcboxClose:hover{background-position:-100px 0}.colorbox5 .sgcboxSlideshow_on #sgcboxSlideshow{background-position:-125px 0;right:27px}.colorbox5 .sgcboxSlideshow_on #sgcboxSlideshow:hover{background-position:-150px 0}.colorbox5 .sgcboxSlideshow_off #sgcboxSlideshow{background-position:-150px -25px;right:27px}.colorbox5 .sgcboxSlideshow_off #sgcboxSlideshow:hover{background-position:-125px 0}#sgcboxLoadedContent img{max-width:100%;height:auto}#sgcolorbox.colorbox6,#sgcboxOverlay.colorbox6,.colorbox6 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:visible}.colorbox6 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox6{position:fixed;width:100%;height:100%}.colorbox6 #sgcboxMiddleLeft,.colorbox6 #sgcboxBottomLeft{clear:left}.colorbox6 #sgcboxContent{position:relative}.colorbox6 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox6 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox6,.colorbox6 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox6 #sgcboxPrevious,.colorbox6 #sgcboxNext,.colorbox6 #sgcboxClose,.colorbox6 #sgcboxSlideshow{cursor:pointer}.colorbox6 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox6 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox6,.colorbox6 #sgcboxContent,.colorbox6 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox6{opacity:1;filter:alpha(opacity=99)}#sgcboxOverlay.colorbox6{background:url(../../img/colorbox6/colorbox_overlay.png) repeat 0 0}#sgcolorbox.colorbox6{outline:0}.colorbox6 #sgcboxTopLeft{width:25px;height:25px;background:url(../../img/colorbox6/border1.png) no-repeat 0 0}.colorbox6 #sgcboxTopCenter{height:25px;background:url(../../img/colorbox6/border1.png) repeat-x 0 -50px}.colorbox6 #sgcboxTopRight{width:25px;height:25px;background:url(../../img/colorbox6/border1.png) no-repeat -25px 0}.colorbox6 #sgcboxBottomLeft{width:25px;height:25px;background:url(../../img/colorbox6/border1.png) no-repeat 0 -25px}.colorbox6 #sgcboxBottomCenter{height:25px;background:url(../../img/colorbox6/border1.png) repeat-x 0 -75px}.colorbox6 #sgcboxBottomRight{width:25px;height:25px;background:url(../../img/colorbox6/border1.png) no-repeat -25px -25px}.colorbox6 #sgcboxMiddleLeft{width:25px;background:url(../../img/colorbox6/border2.png) repeat-y 0 0}.colorbox6 #sgcboxMiddleRight{width:25px;background:url(../../img/colorbox6/border2.png) repeat-y -25px 0}.colorbox6 #sgcboxContent{background:#fff;overflow:visible}.colorbox6 .sgcboxIframe{background:#fff}.colorbox6 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox6 #sgcboxTitle{position:absolute;bottom:0;left:0;text-align:center;width:100%;color:#999}.colorbox6 #sgcboxCurrent{position:absolute;bottom:0;left:100px;color:#999}#sgcboxLoadingOverlay.colorbox6{background:#fff url(../../img/colorbox6/loading.gif) no-repeat 5px 5px}.colorbox6 #sgcboxPrevious,.colorbox6 #sgcboxNext,.colorbox6 #sgcboxSlideshow,.colorbox6 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:0 0}.colorbox6 #sgcboxPrevious:active,.colorbox6 #sgcboxNext:active,.colorbox6 #sgcboxSlideshow:active,.colorbox6 #sgcboxClose:active{outline:0}.colorbox6 #sgcboxSlideshow{position:absolute;bottom:0;right:42px;color:#444}.colorbox6 #sgcboxPrevious{position:absolute;bottom:0;left:0;color:#444}.colorbox6 #sgcboxNext{position:absolute;bottom:0;left:63px;color:#444}.colorbox6 #sgcboxClose{position:absolute;top:-28px;right:-26px;display:block;background:url(../../img/colorbox6/colorbox_sprite.png) no-repeat 2px 0;text-indent:-9999px;width:37px;height:37px;padding:0!important}.colorbox6 #sgcboxClose:hover{background-position:2px 0!important}.colorbox6 .sgcboxIE #sgcboxTopLeft,.colorbox6 .sgcboxIE #sgcboxTopCenter,.colorbox6 .sgcboxIE #sgcboxTopRight,.colorbox6 .sgcboxIE #sgcboxBottomLeft,.colorbox6 .sgcboxIE #sgcboxBottomCenter,.colorbox6 .sgcboxIE #sgcboxBottomRight,.colorbox6 .sgcboxIE #sgcboxMiddleLeft,.colorbox6 .sgcboxIE #sgcboxMiddleRight{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)}#sgcboxLoadedContent img{max-width:100%;height:auto}