Deprecated: Creation of dynamic property Tribe__Events__Aggregator::$migrate is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Aggregator.php on line 420

Deprecated: Creation of dynamic property Tribe__Events__REST__V1__EA_Messages::$messages is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/src/Tribe/REST/V1/Messages.php on line 12

Deprecated: Creation of dynamic property Tribe__Events__Aggregator::$records is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Aggregator.php on line 424

Deprecated: Creation of dynamic property Tribe__Events__Aggregator::$cron is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Aggregator.php on line 425

Deprecated: Creation of dynamic property Tribe__Events__Aggregator::$errors is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Aggregator.php on line 428

Deprecated: Creation of dynamic property Tribe__Events__Main::$registered is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Main.php on line 667

Deprecated: Creation of dynamic property Automattic\Jetpack\Connection\Manager::$error_handler is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-manager.php on line 93

Deprecated: Creation of dynamic property Automattic\Jetpack\Search\REST_Controller::$plan is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-rest-controller.php on line 54

Deprecated: Creation of dynamic property WPCOM_REST_API_V2_Endpoint_Instagram_Gallery::$is_wpcom is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-instagram-gallery.php on line 23

Deprecated: Creation of dynamic property WPCOM_REST_API_V2_Endpoint_Mailchimp::$wpcom_is_wpcom_only_endpoint is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-mailchimp.php on line 26

Deprecated: Creation of dynamic property WPCOM_REST_API_V2_Endpoint_Publicize_Share_Post::$wpcom_is_wpcom_only_endpoint is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-publicize-share-post.php on line 27

Deprecated: Creation of dynamic property WPCOM_REST_API_V2_Endpoint_Publicize_Share_Post::$is_wpcom is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-publicize-share-post.php on line 30

Deprecated: Creation of dynamic property Automattic\Jetpack\Search\REST_Controller::$plan is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/class-rest-controller.php on line 54

Deprecated: Creation of dynamic property WPCOM_REST_API_V2_Endpoint_Tweetstorm_Gather::$wpcom_is_wpcom_only_endpoint is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-tweetstorm-gather.php on line 21

Deprecated: Creation of dynamic property WPCOM_REST_API_V2_Endpoint_Tweetstorm_Gather::$is_wpcom is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-tweetstorm-gather.php on line 22

Deprecated: Creation of dynamic property WPCOM_REST_API_V2_Endpoint_Gutenberg_Available_Extensions::$wpcom_is_site_specific_endpoint is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/gutenberg-available-extensions.php on line 29

Deprecated: Creation of dynamic property WPCOM_REST_API_V2_Endpoint_Memberships::$wpcom_is_wpcom_only_endpoint is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/memberships.php on line 23

Deprecated: Creation of dynamic property WPCOM_REST_API_V2_Endpoint_Memberships::$wpcom_is_site_specific_endpoint is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/memberships.php on line 24

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/extensions/blocks/podcast-player/podcast-player.php on line 167

Deprecated: Creation of dynamic property Yoast\WP\SEO\Main::$helpers is deprecated in /home3/grccoisb/public_html/wp-content/plugins/wordpress-seo/lib/abstract-main.php on line 65

Deprecated: Creation of dynamic property Automattic\Jetpack\Sync\Queue::$random_int is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-queue.php on line 40

Deprecated: Creation of dynamic property Automattic\Jetpack\Sync\Queue::$random_int is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/class-queue.php on line 40

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/widgets/migrate-to-core/image-widget.php on line 203

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/widgets/migrate-to-core/gallery-widget.php on line 64

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/calypsoify/class-jetpack-calypsoify.php on line 130

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/calypsoify/class-jetpack-calypsoify.php on line 131

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/calypsoify/class-jetpack-calypsoify.php on line 135

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/calypsoify/class-jetpack-calypsoify.php on line 136

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/calypsoify/class-jetpack-calypsoify.php on line 137

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/simple-payments/simple-payments.php on line 337

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/simple-payments/simple-payments.php on line 338

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/simple-payments/simple-payments.php on line 345

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/simple-payments/simple-payments.php on line 347

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/simple-payments/simple-payments.php on line 349

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/simple-payments/simple-payments.php on line 367

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/simple-payments/simple-payments.php on line 368

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/simple-payments/simple-payments.php on line 387

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/simple-payments/simple-payments.php on line 388

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/simple-payments/simple-payments.php on line 390

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/simple-payments/simple-payments.php on line 391

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/simple-payments/simple-payments.php on line 393

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/simple-payments/simple-payments.php on line 395

Deprecated: DateTime::setTime(): Passing null to parameter #1 ($hour) of type int is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe/Admin/Notice/Date_Based.php on line 284

Deprecated: DateTime::setTime(): Passing null to parameter #1 ($hour) of type int is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe/Admin/Notice/Date_Based.php on line 334

Deprecated: DateTime::setTime(): Passing null to parameter #1 ($hour) of type int is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe/Admin/Notice/Date_Based.php on line 334

Deprecated: DateTime::setTime(): Passing null to parameter #1 ($hour) of type int is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe/Admin/Notice/Date_Based.php on line 284

Deprecated: DateTime::setTime(): Passing null to parameter #1 ($hour) of type int is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe/Admin/Notice/Date_Based.php on line 308

Deprecated: DateTime::setTime(): Passing null to parameter #1 ($hour) of type int is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe/Admin/Notice/Date_Based.php on line 334

Deprecated: DateTime::setTime(): Passing null to parameter #1 ($hour) of type int is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe/Admin/Notice/Date_Based.php on line 334

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php on line 46

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php on line 50

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php on line 52

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php on line 56

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php on line 72

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php on line 114

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php on line 118

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php on line 119

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php on line 120

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php on line 121

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php on line 122

Deprecated: Creation of dynamic property W3TC\DbCache_WpdbNew::$actionscheduler_actions is deprecated in /home3/grccoisb/public_html/wp-includes/wp-db.php on line 760

Deprecated: Creation of dynamic property W3TC\DbCache_WpdbNew::$actionscheduler_claims is deprecated in /home3/grccoisb/public_html/wp-includes/wp-db.php on line 760

Deprecated: Creation of dynamic property W3TC\DbCache_WpdbNew::$actionscheduler_groups is deprecated in /home3/grccoisb/public_html/wp-includes/wp-db.php on line 760

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_LoggerSchema.php on line 40

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_LoggerSchema.php on line 44

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_LoggerSchema.php on line 77

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_LoggerSchema.php on line 81

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_LoggerSchema.php on line 82

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_LoggerSchema.php on line 83

Deprecated: Creation of dynamic property W3TC\DbCache_WpdbNew::$actionscheduler_logs is deprecated in /home3/grccoisb/public_html/wp-includes/wp-db.php on line 760

Deprecated: Creation of dynamic property WPCOM_Widget_Goodreads::$shelves is deprecated in /home3/grccoisb/public_html/wp-content/plugins/jetpack/modules/widgets/goodreads.php on line 39

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/common/src/functions/utils.php on line 1129

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home3/grccoisb/public_html/wp-content/plugins/the-events-calendar/common/src/functions/utils.php on line 1129

Deprecated: Creation of dynamic property WP_Block_Type::$skip_inner_blocks is deprecated in /home3/grccoisb/public_html/wp-includes/class-wp-block-type.php on line 391

Deprecated: Creation of dynamic property WP_Block_Type::$skip_inner_blocks is deprecated in /home3/grccoisb/public_html/wp-includes/class-wp-block-type.php on line 391

Deprecated: Creation of dynamic property W3TCL\Minify\Minify_Cache_File::$_flush_path is deprecated in /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify/Cache/File.php on line 21

Warning: Cannot modify header information - headers already sent by (output started at /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php:132) in /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify.php on line 385

Warning: Cannot modify header information - headers already sent by (output started at /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php:132) in /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify.php on line 385

Warning: Cannot modify header information - headers already sent by (output started at /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php:132) in /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify.php on line 385

Warning: Cannot modify header information - headers already sent by (output started at /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php:132) in /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify.php on line 385

Warning: Cannot modify header information - headers already sent by (output started at /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php:132) in /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify.php on line 385

Warning: Cannot modify header information - headers already sent by (output started at /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php:132) in /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify.php on line 385

Warning: Cannot modify header information - headers already sent by (output started at /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php:132) in /home3/grccoisb/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify.php on line 385
!function(t){var i=t;i._N2=i._N2||{_r:[],_d:[],r:function(){this._r.push(arguments)},d:function(){this._d.push(arguments)}};var n,s,r=t.document,o=r.documentElement,h=t.setTimeout,a=t.clearTimeout,u=i._N2,c=(t.requestAnimationFrame,function(t,i=null,n=null,s=null){const o=r.createElement(t);return i&&("string"==typeof i?g(o,i):b(o,i)),n&&v(o,n),s&&m(o,s),o}),f=Object.assign,l=function(t,i,n){t.setAttribute(i,n)},v=function(t,i){for(var n in i)l(t,n,i[n])},d=function(t,i){return t.dataset[i]},p=function(t,i,n){t.dataset[i]=n},m=function(t,i){for(let n in i)p(t,n,i[n])},g=function(t,i){t.classList.add(i)},b=function(t,i){i.forEach((function(i){t.classList.add(i)}))},w=function(t,i){return t.dispatchEvent(i)},y=function(t,i,n){return n=f({bubbles:!0,cancelable:!0},n),w(t,new Event(i,n))},M=function(t,i,n,s){return s=s||{},t.addEventListener(i,n,s),t.removeEventListener.bind(t,i,n,s)},x=function(t){"complete"===r.readyState||"interactive"===r.readyState?t():Document&&Document.prototype&&Document.prototype.addEventListener&&Document.prototype.addEventListener!==r.addEventListener?Document.prototype.addEventListener.call(r,"DOMContentLoaded",t):r.addEventListener("DOMContentLoaded",t)},_=navigator.userAgent.indexOf("+http://www.google.com/bot.html")>-1?function(t){t()}:i.requestIdleCallback||function(t){return h(t,1)};i.cancelIdleCallback;x((function(){n=r.body})),function(){"use strict";var t={},n={};i.n2Slow=navigator.userAgent.indexOf("Chrome-Lighthouse")>-1&&navigator.userAgent.indexOf("Android")>-1;var r=[],o=!1;function a(){var t=performance.now(),n=r;r=[];for(var s=n.length-1;s>=0&&(n.pop().call(),!(performance.now()-t>7));s--);!i.n2Slow&&n.length&&(i.n2Slow=!0),n.unshift.apply(n,r),(r=n).length?_(a,{timeout:2e3}):o=!1}function f(t){r.unshift(t),o||(o=!0,_(a,{timeout:2e3}))}var l=new Date,v=function(){if(i.jQuery){var $=i.jQuery;u.d("$",(function(){return $}))}else{if(h(v,20),(new Date).getTime()-l.getTime()>1e3)c("script").src=u._jQueryFallback}};function d(i){return!(!i||t[i]!==s)&&(t[i]=new Promise((function(t){n[i]=t})),"$"===i&&v(),!0)}function p(i,s,r){var o=[];if(d(i)||n[i]){if("function"==typeof s?(r=s,s=[]):"string"==typeof s&&(s=[s]),(s=s||[]).length)for(var h=0;h0&&-1===o.indexOf("Chrome")&&(s=setInterval((function(){"interactive"!==r.readyState&&"complete"!==r.readyState||(u.d("windowLoad"),clearInterval(s))}),2e3)),t="load",n=function(){u.d("windowLoad"),clearInterval(s)},i.addEventListener(t,n,{once:!0})}var t,n})),i.ResizeObserver||(i.ResizeObserver=function(){"use strict";var t=function(){if("undefined"!=typeof Map)return Map;function t(t,i){var n=-1;return t.some((function(t,s){return t[0]===i&&(n=s,!0)})),n}return function(){function i(){this.__entries__=[]}return Object.defineProperty(i.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),i.prototype.get=function(i){var n=t(this.__entries__,i),s=this.__entries__[n];return s&&s[1]},i.prototype.set=function(i,n){var s=t(this.__entries__,i);~s?this.__entries__[s][1]=n:this.__entries__.push([i,n])},i.prototype.delete=function(i){var n=this.__entries__,s=t(n,i);~s&&n.splice(s,1)},i.prototype.has=function(i){return!!~t(this.__entries__,i)},i.prototype.clear=function(){this.__entries__.splice(0)},i.prototype.forEach=function(t,i){void 0===i&&(i=null);for(var n=0,s=this.__entries__;n0},t.prototype.connect_=function(){n&&!this.connected_&&(r.addEventListener("transitionend",this.onTransitionEnd_),i.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(r,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(r.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){n&&this.connected_&&(r.removeEventListener("transitionend",this.onTransitionEnd_),i.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&r.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var i=t.propertyName,n=void 0===i?"":i;f.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),d=function(t,i){for(var n=0,s=Object.keys(i);n0},i}(),C="undefined"!=typeof WeakMap?new WeakMap:new t,D=function(){function t(i){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=v.getInstance(),s=new A(i,n,this);C.set(this,s)}return t}();return["observe","unobserve","disconnect"].forEach((function(t){D.prototype[t]=function(){var i;return(i=C.get(this))[t].apply(i,arguments)}})),void 0!==s.ResizeObserver?s.ResizeObserver:D}()),u.StringHelper={capitalize:function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},function(){var t=function(t){return Symbol.iterator in Object(t)},i={add:function(t){requestAnimationFrame(t)},remove:function(){}};u.t=u.t||i;var n,r=new class{constructor(){this.i=!1,this.o=new Set,this.h=this.u.bind(this)}add(t){this.o.add(t),this.i||(this.i=!0,u.t.add(this.h))}u(){for(let t of this.o)t.render?t.render():t();this.o.clear(),this.i=!1,u.t.remove(this.h)}},o={};n=/Safari/i.test(navigator.userAgent)&&!/Chrom[ei]/i.test(navigator.userAgent)?function(t,i,n,s){var r="";return s&&(t||i||n)?"translate3d("+(t||0)+"px, "+(i||0)+"px, "+(n||0)+"px) ":((t||i)&&(r+="translate("+(t||0)+"px, "+(i||0)+"px) "),n&&(r+="translateZ("+n+"px) "),r)}:function(t,i,n,s){return t||i||n?"translate3d("+(t||0)+"px, "+(i||0)+"px, "+(n||0)+"px) ":""};class h{constructor(i,n){t(i)?this.l=Array.from(i):this.l=[i],this.v=f({},n),this.p=new Set}get scale(){return this.scaleX}set scale(t){this.scaleX=t,this.scaleY=t}render(){for(let i of this.p){var t=this.v[i];switch(i){case"transform":t=this.m();break;case"filter":t=this.g();break;case"n2AutoAlpha":0===this.opacity?this.M||(this.M=!0,this._("data-force-hidden","")):this.M&&(this.M=!1,this.P("data-force-hidden"));continue;case"opacity":this.v.n2AutoAlpha&&(0===t?this.M||(this.M=!0,this._("data-force-hidden","")):this.M&&(this.M=!1,this.P("data-force-hidden")));break;case"width":case"height":case"perspective":"number"==typeof t&&(t+="px")}for(let n of this.l)n.style.setProperty(i,t)}this.p.clear()}m(){let{xP:t,yP:i,x:r,y:o,z:h,xAbs:a,yAbs:u,xPAbs:c,yPAbs:f,parallaxX:l,parallaxY:v,parallaxRotationX:d,parallaxRotationY:p,layerRotation:m,rotationZ:g,rotationY:b,rotationX:w,scaleX:y,scaleY:M,scaleZ:x,skewX:_,skewY:P,transformPerspective:O,force3D:k}=this.v,S="";return O&&(S+="perspective("+O+"px) "),(t||i)&&(S+="translate("+(t||0)+"%, "+(i||0)+"%) "),(a||u)&&(S+="translate("+(a||0)+"px, "+(u||0)+"px) "),(c||f)&&(S+="translate("+(c||0)+"%, "+(f||0)+"%) "),S+=n(r,o,h,k),_&&(S+="skewX("+_+"deg) "),P&&(S+="skewY("+P+"deg) "),m&&(S+="rotate("+m+"deg) "),g&&(S+="rotate("+g+"deg) "),b&&(S+="rotateY("+b+"deg) "),w&&(S+="rotateX("+w+"deg) "),y===s&&(y=1),M===s&&(M=1),1===y&&1===M||(S+="scale("+y+", "+M+") "),x===s&&(x=1),1!==x&&(S+="scaleZ("+x+") "),S||"translate3d(0, 0, 0)"}g(){let{n2blur:t}=this.v,i="";return t>.1&&(i="blur("+t+"px) "),i||"none"}_(t,i){for(let n of this.l)(n.relatedLayer||n).setAttribute(t,i)}P(t){for(let i of this.l)(i.relatedLayer||i).removeAttribute(t)}setValues(t){for(var i in t)this[i]=t[i]}}class a{constructor(t,i){this.O=[];for(var n=0;n0?s:n.clientWidth,u=i.getComputedStyle(this.parentNode);o=this.L?a-this.parentNode.getBoundingClientRect().right-parseInt(u.getPropertyValue("padding-right"))-parseInt(u.getPropertyValue("border-right-width"))+t:-this.parentNode.getBoundingClientRect().left-parseInt(u.getPropertyValue("padding-left"))-parseInt(u.getPropertyValue("border-left-width"))+t,o+=h=o%1,a-=Math.floor(h),(this._width-a<=0||this._width-a>1||this._offset-o<-1||this._offset-o>=0)&&(this._offset!==o&&(this.X.x=o,this._offset=o,0!==o&&this.classList.add("n2-ss-no-bga-fixed")),this._width!==a&&(this.X.width=a,this._width=a)),this.setVisible&&this.setVisible()}setVisible(){this.X.opacity=1,delete this.setVisible}}),customElements.define("ss3-loader",class extends HTMLElement{connectedCallback(){this.B=[]}set display(t){this.V!==t&&(this.V=t,this.style.display=t)}show(){this.display="grid"}addPromise(t){this.B.push(t),this.syncStyle(),t.finally(this.removePromise.bind(this,t))}removePromise(t){var i=this.B.indexOf(t);i>-1&&(this.B.splice(i,1),this.syncStyle())}syncStyle(){this.B.length?this.Y||(this.Y=h(this.show.bind(this),100)):(this.Y&&(a(this.Y),delete this.Y),this.display="")}});var P,O="MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;i.n2const={devicePixelRatio:i.devicePixelRatio||1,isFirefox:/Firefox/i.test(navigator.userAgent),isIOS:/iPad|iPhone|iPod/.test(navigator.platform)||O,isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Silk/i.test(navigator.userAgent)||O,isPhone:/Android/i.test(navigator.userAgent)&&/mobile/i.test(navigator.userAgent)||/webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isSamsungBrowser:navigator.userAgent.match(/SamsungBrowser/i),isBot:/bot|googlebot|crawler|spider|robot|crawling|Google Search Console/i.test(navigator.userAgent),isLighthouse:navigator.userAgent.indexOf("Chrome-Lighthouse")>-1,lightboxMobileNewTab:1,isVideoAutoplayAllowed:function(){var t=!!(navigator.platform.match(/(Win|Mac)/)||!/Mobi/.test(navigator.userAgent)||"playsInline"in c("video")||"webkit-playsinline"in c("video")||navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)&&parseInt(navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)[2])>=53||navigator.userAgent.match(/Android.*(Firefox|Edge|Opera)/));return i.n2const.isVideoAutoplayAllowed=function(){return t},t},isWaybackMachine:function(){var t=void 0!==i.__wm;return i.n2const.isWaybackMachine=function(){return t},t},setLocation:function(t){"function"==typeof i.zajax_goto?i.zajax_goto(t):i.location=t},isParentSameOrigin:function(){try{return parent.document,!0}catch(t){}return!1},activeElementBlur:function(){r.activeElement&&r.activeElement.blur()},getScrollbarSize:function(){var t,i,s,r=c("div",t,i,s);r.style.visibility="hidden",r.style.overflow="scroll",n.appendChild(r);var o=r.offsetHeight-r.clientHeight;return n.removeChild(r),n2const.getScrollbarSize=function(){return o},o},fonts:new Promise((function(t){if("fonts"in r){r.fonts.ready.then(t);const i=navigator.userAgent;i.indexOf("Safari")>0&&-1===i.indexOf("Chrome")&&u.r("windowLoad",t)}else u.r("windowLoad",t)}))},i.n2const.isTablet=!i.n2const.isPhone&&(/Android|iPad|tablet|Silk/i.test(navigator.userAgent)||O),i.n2const.rtl=(i.n2const.isRTL=function(){return i.n2const.rtl.isRtl},"rtl"===o.getAttribute("dir")?{isRtl:!0,marginLeft:"marginRight",marginRight:"marginLeft","margin-left":"margin-right","margin-right":"margin-left",left:"right",right:"left",modifier:-1}:{isRtl:!1,marginLeft:"marginLeft",marginRight:"marginRight","margin-left":"margin-left","margin-right":"margin-right",left:"left",right:"right",modifier:1}),u._triggerResize=(P=null,function(){P&&a(P),P=h((function(){y(i,"resize"),P=null}),100)}),u._shouldPreventClick=!1,u._preventClick=function(){u._shouldPreventClick||(u._shouldPreventClick=!0,h((function(){u._shouldPreventClick=!1}),300))},u.d("ImagesLoaded",(function(){return function(t){var i,n=[];i="IMG"===t.tagName?[t]:t.querySelectorAll("img");for(var s=0;s1||e.scale&&1!==e.scale},function(e){return!e.isPrimary||e.buttons&&1!==e.buttons||!c.mouse&&"touch"!==e.pointerType&&"pen"!==e.pointerType},function(e){return e.buttons&&1!==e.buttons}],k=function(t,i){var n=t.tagName;return"INPUT"===n||"TEXTAREA"===n||"SELECT"===n||"BUTTON"===n||"VIDEO"===n||t.classList.contains("n2_container_scrollable")||t.closest(".n2_container_scrollable")};function S(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function E(t){b={x:(p?t.clientX:t.touches[0].clientX)-g.x,y:(p?t.clientY:t.touches[0].clientY)-g.y,time:Date.now()}}function A(e,t){if((e.isPrimary===s||e.isPrimary)&&!o&&(l=[],x=!0,!O[p=t](e)&&!k(e.target)))if(("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&e.target.closest(".n2-ss-text")){var i=M(e.target,"click",(function(t){i(),Math.abs(e.clientX-t.clientX)<10&&Math.abs(e.clientY-t.clientY)<10&&y(e.target,"n2click")}));h(i,2e3)}else o=!0,0!==p&&l.push(M(r,P[p][1],C,{passive:!1,capture:!0})),l.push(M(r,P[p][2],R,{passive:!1,capture:!0})),l.push(M(r,P[p][3],R,{passive:!1,capture:!0})),l.push(M(n,P[p][4],D,{passive:!1,capture:!0})),g={x:p?e.clientX:e.touches[0].clientX,y:p?e.clientY:e.touches[0].clientY,time:Date.now()},v=s,d=!1,b={x:0,y:0},c.start(e,g),C(e)}function C(t){(t.isPrimary===s||t.isPrimary)&&("x"===c.axis&&(!c.preventScroll&&v||O[p](t))||k(t.target)||(E(t),(Math.abs(b.x)>10||Math.abs(b.y)>10)&&(x=!1),v===s&&2!==p&&(v=Math.abs(b.x)=0;i--)l[i]();l=null,n2const.isFirefox&&(d=!1),c.end(t,g,b,d),d=!1,o=!1}}return w.push(M(r,"scroll",(function(){i.nextendScrollFocus!==s&&i.nextendScrollFocus||(d=!0)}))),1===_&&(a.style.touchAction="y"===c.axis?"pan-x":"pan-y"),w.push(M(a,P[_][0],(function(e){A(e,_)}),{passive:!1,capture:!0})),0===_&&w.push(M(a,P[0][1],(function(e){C(e)}),{passive:!1,capture:!0})),w.push(M(a,"dragstart",S)),c.mouse&&0===_&&w.push(M(a,P[2][0],(function(e){A(e,2)}))),w.push(M(a,"click",(function(t){x?c.click(t):S(t)}))),{supportsPointerEvents:m.pointerEvents,getClicksAllowed:function(){return x},kill:function(){for(var t=w.length-1;t>=0;t--)w[t]()}}}})),function(){var t,n=!1,s=-1,r=new Set,o=new Set,a=i.requestAnimationFrame||(t=0,function(i){var n=(new Date).getTime(),s=Math.max(0,16-(n-t));return t=n+s,h((function(){i(n+s)}),s)});function c(t){s=t,n&&(s=t,a(f))}function f(t){if(n&&0===r.size&&0===o.size)s=-1,n=!1;else if(-1!==s){var i=(t-s)/1e3;0!==i&&(r.forEach((function(t){t(i)})),o.forEach((function(t){t()})))}!function(t){n&&(s=t,a(f))}(t)}u.t={addP:function(t){r.add(t),n||(n=!0,a(c))},removeP:function(t){r.delete(t)},add:function(t){o.add(t),n||(n=!0,a(c))},remove:function(t){o.delete(t)}}}(),u.d("Animation",(function(){function t(t){this._tickCallback=null,this._progress=0,this._delayTimeout=!1,this._delay=0,this._duration=4,this._timeScale=1,this._isPlaying=!1,this._startTime=0,this._eventCallbacks={},this._immediateRender=!0,this._timeline=null,this._isCompleted=!1,this._isStarted=!1,this._isReversed=!1,this.toParams=t,this.initParameters()}return t.prototype.initParameters=function(){this.parseParameters(this.toParams),"object"!=typeof this.toParams&&this.paused(!1)},t.prototype.parseParameters=function(t){t&&(t.delay&&(this.delay(t.delay),delete t.delay),t.duration!==s&&(this.duration(t.duration),delete t.duration),t.onComplete&&(this.eventCallback("onComplete",t.onComplete),delete t.onComplete),t.onStart&&(this.eventCallback("onStart",t.onStart),delete t.onStart),t.onUpdate&&(this.eventCallback("onUpdate",t.onUpdate),delete t.onUpdate),t.immediateRender&&(this._immediateRender=t.immediateRender,delete t.immediateRender),t.paused&&(this.paused(!0),delete t.paused))},t.prototype.setTimeline=function(t){this._timeline=t},t.prototype._tick=function(t){var i=this._progress;this._isReversed?(this._progress-=t/this._duration*this._timeScale,1!=i&&this._isStarted?this._progress<=0?(this._progress=0,this._isPlaying=!1,u.t.removeP(this.getTickCallback()),this._onUpdate(),this._onReverseComplete()):this._onUpdate():this._onReverseStart()):(this._progress+=t/this._duration*this._timeScale,0!=i&&this._isStarted?this._progress>=1?(this._progress=1,this._isPlaying=!1,u.t.removeP(this.getTickCallback()),this._onUpdate(),this._onComplete()):this._onUpdate():this._onStart())},t.prototype._onStart=function(){this._isStarted=!0,this._isCompleted=!1,this._dispatch("onStart"),this._onUpdate()},t.prototype._onUpdate=function(){this._dispatch("onUpdate")},t.prototype._onComplete=function(){this._isCompleted=!0,this._onUpdate(),this._dispatch("onComplete")},t.prototype._onReverseComplete=function(){this._isCompleted=!0,this._isReversed=!1,this._onUpdate(),this._dispatch("onReverseComplete")},t.prototype._onReverseStart=function(){this._isStarted=!0,this._isCompleted=!1,this._dispatch("onReverseStart"),this._onUpdate()},t.prototype.getTickCallback=function(){if(!this._tickCallback){var t=this;this._tickCallback=function(){t._tick.apply(t,arguments)}}return this._tickCallback},t.prototype._clearDelayTimeout=function(){this._delayTimeout&&(a(this._delayTimeout),this._delayTimeout=!1)},t.prototype._timeToProgress=function(t){return t/this._duration*this._timeScale},t.prototype.delay=function(){if(arguments.length>0){var t=parseFloat(arguments[0]);return!isNaN(t)&&t!=1/0&&t||(t=0),this._delay=Math.max(0,t),this}return this._delay},t.prototype.duration=function(){if(arguments.length>0){var t=parseFloat(arguments[0]);return!isNaN(t)&&t!=1/0&&t||(t=0),this._duration=Math.max(0,t),this}return this._duration},t.prototype.eventCallback=function(t){return arguments.length>3?this._eventCallbacks[t]=[arguments[1],arguments[2],arguments[3]]:arguments.length>2?this._eventCallbacks[t]=[arguments[1],arguments[2],this]:arguments.length>1&&(this._eventCallbacks[t]=[arguments[1],[],this]),this._eventCallbacks[t]},t.prototype.pause=function(){return this._isPlaying=!1,u.t.removeP(this.getTickCallback()),arguments.length>0&&null!=arguments[0]&&this.progress(this._timeToProgress(arguments[0])),this},t.prototype.paused=function(){return arguments.length>0?(arguments[0]?this._isPlaying&&this.pause():this._isPlaying||this.play(),this):!this._isPlaying},t.prototype.play=function(){var t=!0;arguments.length>0&&null!=arguments[0]&&(t=!1,this._progress=this._timeToProgress(arguments[0])),this._play(t)},t.prototype._play=function(t){if(this._progress<1)if(0==this._progress&&t&&this._delay>0){if(!this._delayTimeout){var i=this;this._delayTimeout=h((function(){i.__play.apply(i,arguments)}),1e3*this._delay)}}else this.__play();else this._isCompleted||(this._isReversed?this._onReverseComplete():this._onComplete())},t.prototype.__play=function(){this._clearDelayTimeout(),this._isPlaying||(u.t.addP(this.getTickCallback()),this._isPlaying=!0)},t.prototype.progress=function(){if(arguments.length>0){var t=parseFloat(arguments[0]);return isNaN(t)&&(t=0),t=Math.min(1,Math.max(0,t)),this._progress=t,this._isPlaying||(this._isStarted||this._onStart(),this._onUpdate()),this}return this._progress},t.prototype.reverse=function(){this._isReversed=!0,0!=this.progress()&&this.play()},t.prototype.restart=function(){return arguments.length>0&&arguments[0]?(this.pause(0),this.play(),this):(this.play(0),this)},t.prototype.seek=function(t){null!=t&&(this._progress=this._timeToProgress(arguments[0]),this._isPlaying||this._onUpdate())},t.prototype.startTime=function(){if(arguments.length>0){var t=parseFloat(arguments[0]);return isNaN(t)&&(t=0),this._startTime=Math.max(0,t),this}return this._startTime},t.prototype.timeScale=function(){if(arguments.length>0){var t=parseFloat(arguments[0]);return isNaN(t)&&(t=1),t=Math.max(.01,t),this._timeScale!=t&&(this._timeScale=t),this}return this._timeScale},t.prototype._dispatch=function(t){"object"==typeof this._eventCallbacks[t]&&this._eventCallbacks[t][0].apply(this._eventCallbacks[t][2],this._eventCallbacks[t][1])},t.prototype.totalDuration=function(){if(arguments.length>0){var t=parseFloat(arguments[0]);return isNaN(t)&&(t=0),t=Math.max(0,t),this.timeScale(this._duration/t),this}return this._duration*this._timeScale},t.prototype.reset=function(){this._isCompleted=!1,this._isStarted=!1,this.progress(0)},t})),u.d("Tween",(function(){var t=2,i=3,n=function(t){return Symbol.iterator in Object(t)};function r(s,r){var o,h;switch(this.ease="linear",this._tweenContainer=null,this._setContainer=null,this._roundProps={},arguments.length){case 4:o=arguments[2],h=arguments[3],this._mode=t;break;default:this._mode=i,o={},h=arguments[2]}if(n(s)||(s=[s]),this._target=s,this.fromParams=o,u.Animation.call(this,h),this.parseParameters({duration:r}),this._mode===t&&this._immediateRender){for(var a in null===this._tweenContainer&&this._makeTweenContainer(this.fromParams,this.toParams),this._tweenContainer){var c=this._tweenContainer[a];this._target.forEach((function(t){t[a]=c.unit?c.startValue+c.unit:c.startValue}))}for(var a in this._setContainer){c=this._setContainer[a];this._target.forEach((function(t){t[a]=c.unit?c.endValue+c.unit:c.endValue}))}}}function o(t){var i=[t,""];t=String(t);var n=parseFloat(t);return isNaN(n)||(i[0]=n,i[1]=t.match(/[\d.\-\+]*\s*(.*)/)[1]||""),i}function h(t,i,n,r){n===s&&(n=t[0][i]),r===s&&(r=t[0][i]),n=o(n);var h=0;return""!==(r=o(r))[1]&&n[1]!==r[1]&&(n[0]=0,n[1]=r[1]),"number"==typeof n[0]&&"number"==typeof r[0]&&(h=r[0]-n[0]),{startValue:n[0],endValue:r[0],unit:r[1],range:h}}return r.prototype=Object.create(u.Animation.prototype),r.prototype.constructor=r,r.prototype.initParameters=function(){this.parseParameters(this.fromParams),u.Animation.prototype.initParameters.apply(this,arguments)},r.prototype.parseParameters=function(t){t&&(t.ease&&(this.ease=t.ease,delete t.ease),u.Animation.prototype.parseParameters.apply(this,arguments))},r.prototype._onStart=function(){for(var t in null===this._tweenContainer&&this._makeTweenContainer(this.fromParams,this.toParams),this._setContainer){var i=this._setContainer[t];this._target.forEach((function(n){n[t]=i.unit?i.endValue+i.unit:i.endValue}))}u.Animation.prototype._onStart.call(this)},r.prototype._onUpdate=function(){for(var t in this._tweenContainer){var i=this._tweenContainer[t],n=u.Easings[this.ease]?u.Easings[this.ease](this._progress):this._progress,s=i.startValue+i.range*n;this._roundProps[t]&&(s=Math.round((10*s|0)/10)),this._target.forEach((function(n){n[t]=i.unit?s+i.unit:s}))}u.Animation.prototype._onUpdate.call(this)},r.prototype.initRoundProps=function(t){for(var i=t.split(","),n=0;n=0&&0==i.tween.progress()&&i.tween._onStart(),i.tween._isStarted&&(1!=n||i.tween._isCompleted?n>=0&&n<1?i.tween.progress(n):n<0&&0!=i.tween.progress()&&i.tween.progress(0):(i.tween.progress(n),i.tween._onComplete()))}u.Animation.prototype._onUpdate.call(this)},t.prototype.addTween=function(t){t.pause(),t.setTimeline(this);var i=0;i=arguments.length>1?this._parsePosition(arguments[1]):this._parsePosition();var n=t.delay();n>0&&(i+=n,t.delay(0)),t.startTime(i),this._tweens.push(t);var s=t.totalDuration()+i;s>this._duration&&(this._duration=s),this.makeCache()},t.prototype.clear=function(){this.paused()||this.pause(),t.call(this,this.originalParams)},t.prototype.add=function(t,i){this.addTween(t,i)},t.prototype.set=function(t,i,n){this.addTween(u.W.to(t,.05,i),n)},t.prototype.to=function(t,i,n,s){n.paused=!0,this.addTween(u.W.to(t,i,n),s)},t.prototype.fromTo=function(t,i,n,s,r){s.paused=!0,this.addTween(u.W.fromTo(t,i,n,s),r)},t.prototype._play=function(){if(0==this._progress)for(var t=0;t0&&arguments[0]!==s&&!isNaN(arguments[0])&&(t=arguments[0]);var i=0;switch(typeof t){case"string":switch(t.substr(0,2)){case"+=":i=this.duration()+parseFloat(t.substr(2));break;case"-=":i=this.duration()-parseFloat(t.substr(2))}break;default:i=parseFloat(t)}return Math.max(0,i)},t.prototype.makeCache=function(){var t=this.totalDuration();this.tweensContainer=[];for(var i=0;i-1?function(t){t()}:i.requestIdleCallback||function(t){return r(t,1)};i.cancelIdleCallback;function q(t){var i=h.getElementById(t);if(i&&i.sheet){var s,n=i.sheet;for(s=n.cssRules.length-1;s>=0;s--)n.cssRules[s].selectorText&&n.cssRules[s].selectorText.includes("div#n2-ss-")&&n.deleteRule(s)}}B((function(){s=h.body})),u.d("SmartSliderBackgrounds",(function(){function t(t){this.device=null,this.slider=t,this.hasFixed=!1,this.lazyLoad=parseInt(t.parameters.lazyLoad),this.lazyLoadNeighbor=parseInt(t.parameters.lazyLoadNeighbor),this.promise=new Promise(function(t){this.resolve=t}.bind(this)),this.slider.stages.done("Resized",this.onResized.bind(this)),this.slider.stages.done("StarterSlide",this.onStarterSlide.bind(this))}return t.prototype.preLoad=function(t){Promise.all(t).then(this.resolve)},t.prototype.getBackgroundImages=function(){for(var t=[],i=0;i.7*i,h=!0;"partly-visible"===t.mode?(n&&(s.bottom<0||s.top>=s.height)||!n&&(s.bottom-s.height<0||s.top-i+s.height>=0))&&(h=!1):"not-visible"===t.mode&&(h=s.top-i<0&&s.top+s.height>0),!1===h?"hidden"!==t.state&&("function"==typeof t.onHide&&t.onHide(),t.state="hidden"):"visible"!==t.state&&("function"==typeof t.onVisible&&t.onVisible(),t.state="visible")},new t})),u.d("SmartSliderApi",(function(){function t(){this.sliders={},this.readys={},this.eventListeners={}}t.prototype.makeReady=function(t,i){if(this.sliders[t]=i,this.readys[t]!==n)for(var s=0;s=0;s--)this.eventListeners[t][s]===i&&this.eventListeners[t].splice(s,1)},t.prototype.dispatch=function(t,i){if(this.eventListeners[t]!==n&&this.eventListeners[t].length)for(var s=this.eventListeners[t].length-1;s>=0;s--)this.eventListeners[t][s]&&this.eventListeners[t][s].call(i,i)},t.prototype.trigger=function(t,i,e){e&&e.preventDefault();var s=i.split(","),n=t.closest(".n2-ss-slide,.n2-ss-static-slide"),h=n.ssLastEvent;t.ssResetEvents||(t.ssResetEvents=1,O(n,"layerAnimationPlayIn",function(t){t.ssLastEvent=""}.bind(this,n)));for(var o=s.length-1,r=0;r=0&&r.element(s[n])},element:function(t){"string"==typeof t&&(t=h.querySelector(t)),r.to(j(t)-r.focusOffsetTop)}};return t.prototype.scroll=function(e,t){if(this.isClickAllowed(e)){e.preventDefault();var s=this.findSliderByElement(e.target);s&&(r.focusOffsetTop=s.responsive.focusOffsetTop,e.currentTarget.blur()),r[t].apply(i,Array.prototype.slice.call(arguments,2))}},t.prototype.findSliderByElement=function(t){return(t=t.closest(".n2-ss-slider"))?t.ss:null},i.n2ss=new t,i.n2ss})),u.d("SmartSliderAbstract",(function(){function t(h,o){if(this.editor=null,this.elementID=h,i[h]&&i[h]instanceof t)if(i[h].__sliderElement&&!s.contains(i[h].__sliderElement));else{if(i[h].sliderElement===n)return void console.error("Slider [#"+h+"] inited multiple times");if(s.contains(i[h].sliderElement))return void console.error("Slider [#"+h+"] embedded multiple times")}this.stages=new u.Stages,u.d("#"+h,function(){return this}.bind(this)),this.isAdmin=!!o.admin,u.SmartSliderPlugins.addSlider(this),this.id=parseInt(h.replace("n2-ss-","")),i[h]=this,o.isDelayed!==n&&o.isDelayed?B(function(){this.waitForExists(h,o)}.bind(this)):this.waitForExists(h,o)}t.prototype.kill=function(){this.killed=!0;var t=this.sliderElement.closest(".n2-ss-margin");t?x(t):u.r("documentReady",function(){x(this.sliderElement.closest(".n2-ss-margin"))}.bind(this));var i=this.sliderElement.closest(".n2-ss-align");i?x(i):u.r("documentReady",function(){x(this.sliderElement.closest(".n2-ss-align"))}.bind(this)),n2ss.makeReady(this.id,this)},t.prototype.waitForExists=function(t,i){new Promise((function(i){var s=function(){var n=h.getElementById(t)||h.getElementById(t+"_t");n?i(n):r(s,500)};s()})).then(this.onSliderExists.bind(this,t,i))};var c=[];function l(t,s){if(i.IntersectionObserver)new IntersectionObserver(function(t,i){for(var n=0;nthis.realSlides.length-1?0:t+1]);this.widgets=new u.SmartSliderWidgets(this);var s;if(new u.UniversalEnter(this.sliderElement,function(e){e.target.closest(".n2-full-screen-widget")||(a(s),!0,A(this.sliderElement,"n2-hover"),this.widgets.setState("hover",!0),T(this.sliderElement,"universalleave",function(e){e.stopPropagation(),s=r(function(){!1,I(this.sliderElement,"n2-hover"),this.widgets.setState("hover",!1)}.bind(this),1e3)}.bind(this)))}.bind(this)),this.parameters.carousel||this.initNotCarousel(),this.initHideArrow(),this.controls={},this.parameters.blockrightclick&&O(this.sliderElement,"contextmenu",(function(e){e.preventDefault()})),this.initMainAnimation(),this.initResponsiveMode(),!this.killed){if(O(this.sliderElement,"touchstart",function(){I(this.sliderElement,"n2-has-hover")}.bind(this),{passive:!0,once:!0}),this.initControls(),this.stages.resolve("UIReady"),!this.isAdmin){var n="click";this.hasTouch()&&(n="n2click"),this.sliderElement.querySelectorAll('[data-n2click="url"]').forEach((function(t){O(t,n,(function(e){n2ss.openUrl(e)})),O(t,"mousedown",(function(e){2!==e.which&&4!==e.which||(e.preventDefault(),n2ss.openUrl(e,"_blank"))})),O(t,"keydown",(function(e){n2ss.openUrlKeyDown(e)}))}))}this.load.start(),O(this.sliderElement,"keydown",(function(t){"Space"!==t.code&&"Enter"!==t.code||t.target.matches('[role="button"],[tabindex]')&&t.target.matches(":not(a,input,select,textarea)")&&(t.preventDefault(),t.target.click(),R(t.target,"n2Activate"))})),O(this.sliderElement,"mouseleave",(function(e){e.currentTarget.blur()})),i.jQuery&&i.jQuery(this.sliderElement).find("[tabindex]").off("focus")}},t.prototype.initSlides=function(){var t,i=this.sliderElement.querySelectorAll(".n2-ss-slide");for(t=0;t0&&c>0||(u<0?l="top"===f?"top":"bottom"===f?"bottom":-u<=c?"top":"bottom":c<0&&(l="top"===f?"top":"bottom"===f||-c<=u?"bottom":"top"));var d=n;if("top"===l?d=n-h+a.top:"bottom"===l&&(d=n+o+a.bottom-r),(d=Math.round(d))!==n)return this._scrollTo(d,Math.abs(n-d))}return!0},t.prototype._scrollTo=function(t,s){var n=!1;return"smooth"===w(o,"scroll-behavior")&&(y(o,"scroll-behavior",""),n=!0),i.nextendScrollFocus=!0,new Promise((function(i){W(h.scrollingElement,t,s,i)})).then((function(){n&&y(o,"scroll-behavior","smooth"),i.nextendScrollFocus=!1}))},t.prototype.isChangeCarousel=function(t){return"next"===t?this.currentSlide.index+1>=this.slides.length:"previous"===t&&this.currentSlide.index-1<0},t.prototype.initNotCarousel=function(){this.realSlides[0].setPrevious(!1),this.realSlides[this.realSlides.length-1].setNext(!1)},t.prototype.initHideArrow=function(){var t=function(t){this.widgets.setState("nonCarouselFirst",!this.getUIPreviousSlide(t)),this.widgets.setState("nonCarouselLast",!this.getUINextSlide(t))}.bind(this);this.stages.done("StarterSlide",function(){t(this.currentSlide),O(this.sliderElement,"SliderResize",function(){t(this.currentSlide)}.bind(this))}.bind(this)),O(this.sliderElement,"SlideWillChange",(function(e){t(e.detail.targetSlide)}))},t.prototype.next=function(t,i){var s=this.currentSlide.getNext();return!(!s||!this.getUINextSlide(this.currentSlide))&&this.changeTo(s.index,!1,t,i)},t.prototype.previous=function(t,i){var s=this.getUIPreviousSlide(this.currentSlide);return!!s&&this.changeTo(s.index,!0,t,i)},t.prototype.isChangePossible=function(t){var i=!1;if("next"===t){var s=this.currentSlide.getNext();s&&(i=s.index)}else if("previous"===t){var n=this.currentSlide.getPrevious();n&&(i=n.index)}return!1!==i&&i!==this.currentSlide.index},t.prototype.nextCarousel=function(t,i){return!!this.next(t,i)||this.changeTo(this.getFirstSlide().index,!1,t,i)},t.prototype.getFirstSlide=function(){return this.slides[0].isVisible?this.slides[0]:this.slides[0].getNext()},t.prototype.getSlideCount=function(){for(var t=0,i=0;ithis.currentSlide.index?this.changeTo(t,!1):this.changeTo(t,!0)},t.prototype.changeTo=function(t,i,s,h){if((t=parseInt(t))!==this.currentSlide.index){if(!this.slides[t].isVisible)return console.error("this slide is not visible on this device"),!1;this.G("SlideWillChange",{targetSlide:this.slides[t]}),this.G("SlideLoading");var o=performance.now();return Promise.all([Promise.all(this.backgrounds.preLoadSlides(this.getVisibleSlides(this.slides[t]))),this.focus(s)]).then(function(){if(t!==this.currentSlide.index){if(this.mainAnimationLastChangeTime=0)},t.prototype.findSlideByElement=function(t){var i;for(i=0;i=0&&tt?this.changeTo(t,!0,s):this.changeTo(t,!1,s):this.changeTo(t,!i,s))},t.prototype.hide=function(){this.isVisible&&(A(this.responsive.alignElement,"n2-ss-slider-has-no-slide"),this.load.placeholder&&A(this.load.placeholder,"n2-ss-slider-has-no-slide"),this.isVisible=!1)},t.prototype.show=function(){this.isVisible||(A(this.responsive.alignElement,"n2-ss-slider-has-no-slide"),this.load.placeholder&&I(this.load.placeholder,"n2-ss-slider-has-no-slide"),F(i,"scroll"),this.isVisible=!0)},t.prototype.startAutoplay=function(){return this.controlAutoplay!==n&&(this.controlAutoplay.setState("pausedSecondary",0),!0)},t.prototype.pauseAutoplay=function(){return this.controlAutoplay!==n&&(this.controlAutoplay.setState("pausedSecondary",1),!0)},t.prototype.getAnimationAxis=function(){return"horizontal"},t.prototype.getDirectionPrevious=function(){return n2const.isRTL()&&"horizontal"===this.getAnimationAxis()?"next":"previous"},t.prototype.getDirectionNext=function(){return n2const.isRTL()&&"horizontal"===this.getAnimationAxis()?"previous":"next"},t.prototype.previousWithDirection=function(){return this[this.getDirectionPrevious()]()},t.prototype.nextWithDirection=function(){return this[this.getDirectionNext()]()},t.prototype.getUIPreviousSlide=function(t){return t.getPrevious()},t.prototype.getUINextSlide=function(t){return t.getNext()},t.prototype.getHorizontalTouchDimension=function(){return this.responsive.resizeContext.sliderWidth},t.prototype.getVerticalTouchDimension=function(){return this.responsive.resizeContext.sliderHeight},t})),u.d("Stages",(function(){function t(){this.stages={}}function i(t){this.n=t,this._isResolved=!1,this._promise=new Promise(function(t,i){this._resolve=t,this._reject=i}.bind(this)),this._promise.then(function(){this._isResolved=!0}.bind(this))}return t.prototype.get=function(t){return this.stages[t]===n&&(this.stages[t]=new i(t)),this.stages[t]},t.prototype.resolve=function(t){this.get(t).resolve()},t.prototype.done=function(t,i){var s;if("string"==typeof t)s=this.get(t).getPromise();else{for(var n=[],h=0;h=0;o--){var r=h[o].split("-");if(2===r.length){var a=parseInt(r[0]),u=parseInt(r[1]);if(a<=u)for(var c=a;c<=u;c++)h.push(c)}else h[o]=parseInt(h[o])}if(h.length>0){for(o=0;o0&&(t=1)),"ended"!==this.state&&(this.isReverseEnabled?0===t?(this.reverseTimeline.progress(0),this.timeline.progress(t,!1)):t>=0&&t<=1?(this.reverseTimeline.progress(0),this.timeline.progress(t)):t<0&&t>=-1&&(this.timeline.progress(0),this.reverseTimeline.progress(Math.abs(t))):t<=0?this.timeline.progress(Math.max(t,1e-6),!1):t>=0&&t<=1&&this.timeline.progress(t))},t.prototype.setTouchEnd=function(t,i,s){"ended"!==this.state&&(this.isReverseEnabled?this._setTouchEndWithReverse(t,i,s):this._setTouchEnd(t,i,s))},t.prototype._setTouchEnd=function(t,i,s){t&&i>0?(this.fixTouchDuration(this.timeline,i,s),this.timeline.play()):(this.revertCB(this.timeline),this.fixTouchDuration(this.timeline,1-i,s),this.timeline.reverse(),this.willRevertTo(this._revertCurrentSlideIndex,this._revertNextSlideIndex))},t.prototype._setTouchEndWithReverse=function(t,i,s){t?i<0&&this.reverseTimeline.totalDuration()>0?(this.fixTouchDuration(this.reverseTimeline,i,s),this.reverseTimeline.play(),this.willRevertTo(this.reverseSlideIndex,this._revertNextSlideIndex)):(this.willCleanSlideIndex(this.reverseSlideIndex),this.fixTouchDuration(this.timeline,i,s),this.timeline.play()):(i<0?(this.revertCB(this.reverseTimeline),this.fixTouchDuration(this.reverseTimeline,1-i,s),this.reverseTimeline.reverse()):(this.revertCB(this.timeline),this.fixTouchDuration(this.timeline,1-i,s),this.timeline.reverse()),this.willCleanSlideIndex(this.reverseSlideIndex),this.willRevertTo(this._revertCurrentSlideIndex,this._revertNextSlideIndex))},t.prototype.fixTouchDuration=function(t,i,s){var n=t.totalDuration(),h=Math.max(n/3,Math.min(n,s/Math.abs(i)/1e3));h!==n&&t.totalDuration(h)},t.prototype.getState=function(){return this.state},t.prototype.timeScale=function(){return arguments.length>0?(this.timeline.timeScale(arguments[0]),this):this.timeline.timeScale()},t.prototype.changeTo=function(t,i,s,n){this._initAnimation(t,i,s),this.state="initAnimation",this.timeline.paused(!0),this.timeline.eventCallback("onStart",this.onChangeToStart.bind(this),[t,i,n]),this.timeline.eventCallback("onComplete",this.onChangeToComplete.bind(this),[t,i,n]),this.timeline.eventCallback("onReverseComplete",null),this.revertCB=function(s){s.eventCallback("onReverseComplete",this.onReverseChangeToComplete.bind(this),[i,t,n])}.bind(this),this.isTouch||this.timeline.play()},t.prototype.willRevertTo=function(t,i){D(this.slider.sliderElement,"mainAnimationWillRevertTo",{slideIndex:t,originalNextSlideIndex:i}),T(this.sliderElement,"mainAnimationComplete",this.revertTo.bind(this,t,i))},t.prototype.revertTo=function(t,i){this.slider.revertTo(t,i),R(this.slider.slides[i].element,"mainAnimationStartInCancel")},t.prototype.willCleanSlideIndex=function(t){T(this.sliderElement,"mainAnimationComplete",this.cleanSlideIndex.bind(this,t))},t.prototype.cleanSlideIndex=function(){},t.prototype._initAnimation=function(t,i,s){this.slider.updateInsideSlides([t,i])},t.prototype.onChangeToStart=function(t,i,s){this.state="playing";var n={mainAnimation:this,previousSlideIndex:t.index,currentSlideIndex:i.index,isSystem:s};this.slider.G("mainAnimationStart",n),t.G("mainAnimationStartOut",n),i.G("mainAnimationStartIn",n)},t.prototype.onChangeToComplete=function(t,i,s){var n={mainAnimation:this,previousSlideIndex:t.index,currentSlideIndex:i.index,isSystem:s};this.clearTimelines(),this.disableReverseMode(),t.G("mainAnimationCompleteOut",n),i.G("mainAnimationCompleteIn",n),this.state="ended",this.slider.updateInsideSlides([i]),s||i.focus(),this.slider.G("mainAnimationComplete",n)},t.prototype.onReverseChangeToComplete=function(i,s,n){t.prototype.onChangeToComplete.apply(this,arguments)},t.prototype.clearTimelines=function(){this.revertCB=function(){},this.timeline.clear(),this.timeline.timeScale(1)},t.prototype.getEase=function(){return this.isTouch?"linear":this.parameters.ease},t})),u.d("SmartSliderControlAlias",(function(){"use strict";function t(t,s){this.tt=t,this.it=t.sliderElement,this.st=t.K,this.nt=m(this.st,"alias"),this.ht=f({id:0,smoothScroll:0,slideSwitch:0,scroll:1},s),this.nt&&(this.ht.smoothScroll&&y(o,"scroll-behavior","smooth"),this.ht.slideSwitch&&(this.switchOnLoad(),O(i,"hashchange",function(){var t=this.getAnchor();t>0&&(1===this.tt.responsive.parameters.focusUser?(this.tt.responsive.parameters.focusUser=0,this.switchToSlide(t-1),this.tt.responsive.parameters.focusUser=1):this.switchToSlide(t-1),this.replaceHash())}.bind(this))))}return t.prototype.getAnchor=function(){var t=i.location.hash.substr(1);if(t){if(t===this.nt)return!0;if(this.ht.slideSwitch&&0===t.indexOf(this.nt)){var s=+t.substr(this.nt.length+1);if(s>0)return s}}return!1},t.prototype.switchOnLoad=function(){var t=this.getAnchor();if(t>0){var s=t-1,n=i["n2-ss-"+this.tt.id];n&&n.stages.resolved("StarterSlide")?n.stages.done("BeforeShow",function(){this.switchToSlide(s)}.bind(this)):i["ss"+this.tt.id]=s,this.replaceHash()}},t.prototype.replaceHash=function(){var t="#"+this.nt;history.replaceState?history.replaceState(null,null,t):location.hash=t},t.prototype.switchToSlide=function(t){this.tt.slide(t)},t})),u.d("SmartSliderControlAutoplay",(function(){"use strict";function t(t,i){this.slider=t,this.state={enabled:1,paused:1,pausedSecondary:0,mainAnimationPlaying:0,wait:0},this._listeners=[],this.wait=new u.SmartSliderControlAutoplayWait(this),this._currentCount=1,this.autoplayToSlide=0,this.autoplayToSlideIndex=-1,this.parameters=f({enabled:0,start:1,duration:8e3,autoplayLoop:0,allowReStart:0,pause:{mouse:"enter",click:!0,mediaStarted:!0},resume:{click:0,mouse:0,mediaEnded:!0},interval:1,intervalModifier:"loop",intervalSlide:"current"},i),this.clickHandled=!1,t.controls.autoplay=this,this.parameters.enabled?(this.parameters.duration/=1e3,this.slider.visible(this.onReady.bind(this))):this.disable()}return t.prototype.preventClickHandle=function(){this.clickHandled=!0,r(function(){this.clickHandled=!1}.bind(this),300)},t.prototype.onReady=function(){this.et=!0;this.timeline=u.W.to({_progress:0},this.getSlideDuration(this.slider.currentSlide.index),{_progress:1,paused:!0,onComplete:this.next.bind(this)});var t=this.slider.sliderElement;this._listeners.push(L(t,"SlideLoading",function(){this.wait.add("load")}.bind(this))),this._listeners.push(L(t,"SlideLoaded",function(e){this.wait.resolve("load")}.bind(this))),this._listeners.push(L(t,"BeforeCurrentSlideChange",function(){this.wait.resolveWeak(),this.setState("mainAnimationPlaying",1)}.bind(this))),this._listeners.push(L(t,"mainAnimationStart",function(){this._currentCount++,this.setState("mainAnimationPlaying",1),this.wait.resolveWeak()}.bind(this))),this._listeners.push(L(t,"mainAnimationComplete",function(e){this.timeline.duration(this.getSlideDuration(e.detail.currentSlideIndex)),this.et=!0,this.timeline.pause(0,!1),this.setState("mainAnimationPlaying",0)}.bind(this))),this._listeners.push(L(t,"autoplayPause",function(e){this.setState("paused",1)}.bind(this))),this._listeners.push(L(t,"autoplayResume",function(e){(this.state.paused||0===parseInt(this.parameters.start)&&0===parseInt(this.state.paused))&&(this._currentCount=1),this.setState("pausedSecondary",0),this.setState("paused",0);var t=e.detail.progress;t!==n&&this.timeline.progress(t)}.bind(this))),this._listeners.push(L(t,"CurrentSlideChanged",function(e){this.timeline.duration(this.getSlideDuration(e.detail.currentSlide.index)),this.et=!0,this.timeline.pause(0,!1),this.setState("mainAnimationPlaying",0)}.bind(this))),this.initClick(this.parameters.pause.click,this.parameters.resume.click),this.initHover(this.parameters.pause.mouse,this.parameters.resume.mouse),this.initMedia(this.parameters.pause.mediaStarted,this.parameters.resume.mediaEnded),this.slider.stages.resolve("AutoplayReady"),this.slider.G("autoplay",{progress:0}),this.parameters.start||this.setState("pausedSecondary",1),this.setState("paused",0)},t.prototype.setState=function(t,i){this.state[t]!==i&&(this.state[t]=i,this.timeline!==n&&(!this.state.enabled||this.state.paused||this.state.pausedSecondary||this.state.wait||this.state.mainAnimationPlaying?(this.timeline.paused()||this.timeline.pause(),this.state.mainAnimationPlaying||this.isPaused!==n&&this.isPaused||(this.isPaused=!0,this.slider.G("autoplayPaused"))):(this.timeline.paused()&&this.timeline.play(),(this.isPaused===n||this.isPaused)&&(this.isPaused=!1,this.slider.G("autoplayStarted")))))},t.prototype.initClick=function(t,i){(t||i)&&(this.universalClick=new u.UniversalClick(this.slider.sliderElement,function(e){this.clickHandled||(this.state.pausedSecondary?i&&this.setState("pausedSecondary",0):t&&this.setState("pausedSecondary",1))}.bind(this)))},t.prototype.initHover=function(t,i){if(t||i){var s=!1;this._listeners.push(L(this.slider.sliderElement,"touchend",(function(){s=!0,r((function(){s=!1}),300)}))),this._listeners.push(L(this.slider.sliderElement,"mouseenter",function(e){this.state.pausedSecondary?"enter"===i&&this.setState("pausedSecondary",0):s||"enter"!==t||this.setState("pausedSecondary",1)}.bind(this))),this._listeners.push(L(this.slider.sliderElement,"mouseleave",function(e){this.state.pausedSecondary?"leave"===i&&this.setState("pausedSecondary",0):"leave"===t&&this.setState("pausedSecondary",1)}.bind(this)))}},t.prototype.initMedia=function(t,i){var s=this.slider.sliderElement;t?(this._listeners.push(L(s,"mediaStarted",function(e){this.wait.add(e.detail.id)}.bind(this))),this._listeners.push(L(s,"mediaEnded",function(e){this.wait.resolve(e.detail.id)}.bind(this)))):i&&this._listeners.push(L(s,"mediaEnded",function(){this.setState("pausedSecondary",0)}.bind(this)))},t.prototype.enableProgress=function(){this.timeline&&this.timeline.eventCallback("onUpdate",function(){this.slider.G("autoplay",{progress:this.timeline.progress()})}.bind(this))},t.prototype.next=function(){if(this.et){if(this.et=!1,this.timeline.pause(),!this.parameters.autoplayLoop){switch(this.parameters.intervalModifier){case"slide":this.slideSwitchingSlideCount();break;case"slideindex":this.slideSwitchingIndex();break;default:this.slideSwitchingLoop()}this.autoplayToSlide>0&&this._currentCount>=this.autoplayToSlide&&this.limitAutoplay(),this.autoplayToSlideIndex>=0&&this.slider.slides.length===this.slider.visibleSlides.length&&(this.autoplayToSlideIndex===this.slider.currentRealSlide.index+2||1===this.autoplayToSlideIndex&&this.slider.currentRealSlide.index+this.autoplayToSlideIndex===this.slider.slides.length)&&this.limitAutoplay()}this.slider.nextCarousel(!0)}},t.prototype.slideSwitchingLoop=function(){this.autoplayToSlide=this.parameters.interval*this.slider.visibleSlides.length-1,"next"===this.parameters.intervalSlide&&this.autoplayToSlide++},t.prototype.slideSwitchingSlideCount=function(){this.autoplayToSlide=this.parameters.interval},t.prototype.slideSwitchingIndex=function(){var t=Math.max(1,this.parameters.interval);t>this.slider.slides.length&&(t=1),this.autoplayToSlideIndex=t},t.prototype.limitAutoplay=function(){this.parameters.allowReStart?(this._currentCount=0,this.setState("paused",1)):this.disable()},t.prototype.disable=function(){this.setState("enabled",0),z(this._listeners),this.universalClick&&(this.universalClick.remove(),delete this.universalClick),this.slider.stages.resolve("AutoplayDestroyed")},t.prototype.getSlideDuration=function(t){var i=this.slider.realSlides[this.slider.getRealIndex(t)],s=i.minimumSlideDuration;return 0===parseFloat(i.minimumSlideDuration)&&(s=this.parameters.duration),s},t})),u.d("SmartSliderControlFullscreen",(function(){"use strict";function t(i,s,n){this.slider=i,this.responsive=this.slider.responsive,this._type=this.responsive.parameters.type,this._upscale=this.responsive.parameters.upscale,this.ot=!1,this.it=this.slider.sliderElement,this.rt=this.it.closest(".n2-section-smartslider"),O(h,t.event,this.fullScreenChange.bind(this))}return t.isSupported=!(!h.exitFullscreen&&!h.webkitExitFullscreen),t.isSupported&&(t.requestFullscreen=o.requestFullscreen||o.webkitRequestFullscreen,t.exitFullscreen=h.exitFullscreen||h.webkitExitFullscreen,t.event=o.requestFullscreen?"fullscreenchange":o.webkitRequestFullscreen?"webkitfullscreenchange":null),t.prototype.switchState=function(){this.ot=!this.ot,this.ot?this._fullScreen():this._normalScreen()},t.prototype.requestFullscreen=function(){return!this.ot&&(this.ot=!0,this._fullScreen(),!0)},t.prototype.exitFullscreen=function(){return!!this.ot&&(this.ot=!1,this._normalScreen(),!0)},t.prototype._fullScreen=function(){this.responsive.ot=!0,this.responsive.parameters.type="fullpage",this.it.dataset.responsive=this.responsive.parameters.type,this.responsive.parameters.upscale=!0,this._marginLeft=this.responsive.containerElement.style.marginLeft,this._marginRight=this.responsive.containerElement.style.marginRight,g(this.responsive.containerElement,{marginLeft:0,marginRight:0}),g(this.rt,{width:"100%",height:"100%","background-color":i.getComputedStyle(s).backgroundColor}),t.requestFullscreen.call(this.rt)},t.prototype._normalScreen=function(){t.exitFullscreen.call(h)},t.prototype.fullScreenChange=function(){this.isDocumentInFullScreenMode()?(this.slider.G("n2FullScreen"),A(o,"n2-in-fullscreen"),A(this.slider.sliderElement,"n2-ss-slider--fullscreen"),this.ot=!0,"auto"===this._type&&y(this.slider.responsive.alignElement,"max-width","none"),F(i,"resize")):(this.responsive.ot=!1,this.responsive.parameters.type=this._type,this.it.dataset.responsive=this._type,this.responsive.parameters.upscale=this._upscale,g(this.responsive.containerElement,{marginLeft:this._marginLeft,marginRight:this._marginRight}),g(this.rt,{width:"",height:"","background-color":""}),I(this.slider.sliderElement,"n2-ss-slider--fullscreen"),I(o,"n2-in-fullscreen"),"auto"===this._type&&k(this.slider.responsive.alignElement,"max-width"),F(i,"resize"),this.ot=!1,this.slider.G("n2ExitFullScreen"))},t.prototype.isDocumentInFullScreenMode=function(){return h.fullscreenElement||h.webkitIsFullScreen},t})),u.d("SmartSliderControlKeyboard",(function(){"use strict";var t;function n(){this.controls=[],h.addEventListener("keydown",this.onKeyDown.bind(this)),h.addEventListener("mousemove",this.onMouseMove.bind(this),{capture:!0})}function o(i,s,h){this.slider=i,this.parameters=f({},h),this.parseEvent="vertical"===s?o.prototype.parseEventVertical:o.prototype.parseEventHorizontal,t||(t=new n),t.addControl(this),O(this.slider.sliderElement,"SliderKeyDown",function(e){this.onKeyDown(e.detail.e)}.bind(this)),i.controls.keyboard=this}return n.prototype.onMouseMove=function(e){this.mouseEvent=e},n.prototype.addControl=function(t){this.controls.push(t)},n.prototype.onKeyDown=function(e){if(e.target.tagName.match(/BODY|DIV|IMG/)&&!e.target.isContentEditable){var t;if(this.mouseEvent&&(t=this.findSlider(h.elementFromPoint(this.mouseEvent.clientX,this.mouseEvent.clientY))))return void D(t,"SliderKeyDown",{e:e});if(h.activeElement!==s&&(t=this.findSlider(h.activeElement)))return void D(t,"SliderKeyDown",{e:e});for(var i=0;i=0&&t.top+s<=i.innerHeight},o.prototype.onKeyDown=function(e){!e.defaultPrevented&&this.isSliderOnScreen()&&this.parseEvent.call(this,e)&&e.preventDefault()},o.prototype.parseEventHorizontal=function(e){switch(e.code){case"ArrowRight":return n2const.activeElementBlur(),this.slider[n2const.isRTL()?"previous":"next"](),!0;case"ArrowLeft":return n2const.activeElementBlur(),this.slider[n2const.isRTL()?"next":"previous"](),!0;default:return!1}},o.prototype.parseEventVertical=function(e){switch(e.code){case"ArrowDown":return(!this.slider.isChangeCarousel("next")||!this.slider.parameters.controls.blockCarouselInteraction)&&(n2const.activeElementBlur(),this.slider.next(),!0);case"ArrowUp":return(!this.slider.isChangeCarousel("previous")||!this.slider.parameters.controls.blockCarouselInteraction)&&(n2const.activeElementBlur(),this.slider.previous(),!0);default:return!1}},o})),u.d("SmartSliderControlMouseWheel",(function(){"use strict";function t(t,i){this.preventScroll={local:!1,curve:!1,curveGlobal:!1,global:!1,localTimeout:!1,curveTimeout:!1,curveGlobalTimeout:!1,globalTimeout:!1},this.maxDelta=0,this.slider=t,this.at=2===i?"deltaX":"deltaY",h.addEventListener("wheel",this.onGlobalMouseWheel.bind(this),{passive:!1}),t.controls.mouseWheel=this}return t.prototype.hasScrollableParentVertical=function(t,s){for(;s&&s!==this.slider.sliderElement;){if(s.scrollHeight>s.clientHeight){var n=i.getComputedStyle(s).overflowY;if("scroll"===n||"auto"===n)if(t){if(s.scrollTop>0)return!0}else if(s.scrollTop+s.clientHeightt.offsetWidth)return!0;t=t.parentNode}return!1},t.prototype.onGlobalMouseWheel=function(e){e.target.closest(".n2-ss-slider")&&0!==e[this.at]&&(this.onCurveEvent(e),this.preventScroll.local||this.preventScroll.curve||Math.abs(e[this.at])0&&(this.slider.isChangeCarousel("next")&&this.slider.parameters.controls.blockCarouselInteraction||(this.slider.next(),e.preventDefault(),this.startCurveWatcher(e),this.local(),this.global()))},t.prototype.startCurveWatcher=function(e){!1!==this.preventScroll.curve&&a(this.preventScroll.curveTimeout),this.preventScroll.curveGlobal||(this.dynamicDelta=!1,this.lastDelta=e[this.at],this.preventScroll.curveGlobal=!0,this.preventScroll.curveGlobalTimeout=r(function(){this.preventScroll.curveGlobal=!1,this.maxDelta=0}.bind(this),500)),this.preventScroll.curve=!0,this.preventScroll.curveTimeout=r(this.releaseCurveLock.bind(this),1500)},t.prototype.onCurveEvent=function(e){if(this.preventScroll.curveGlobal){this.dynamicDelta||this.lastDelta===e[this.at]||(this.lastDelta=e[this.at],this.dynamicDelta=!0);var t=Math.abs(e[this.at]);this.preventScroll.curve&&this.maxDelta/2>t&&this.releaseCurveLock(),this.maxDelta=Math.max(this.maxDelta,t),this.preventScroll.curveGlobalTimeout&&a(this.preventScroll.curveGlobalTimeout),this.preventScroll.curveGlobalTimeout=r(function(){this.preventScroll.curveGlobal=!1,this.maxDelta=0}.bind(this),500)}},t.prototype.releaseCurveLock=function(){this.preventScroll.curve=!1,a(this.preventScroll.curveTimeout)},t.prototype.local=function(){!1!==this.preventScroll.local&&a(this.preventScroll.localTimeout),this.preventScroll.local=!0,this.preventScroll.localTimeout=r(function(){this.preventScroll.local=!1,this.dynamicDelta||this.releaseCurveLock()}.bind(this),1e3)},t.prototype.global=function(){!1!==this.preventScroll.global&&a(this.preventScroll.globalTimeout),this.preventScroll.global=!0,this.preventScroll.globalTimeout=r(function(){this.preventScroll.global=!1}.bind(this),1e3)},t})),u.d("SmartSliderControlTouch",(function(){"use strict";function t(t){this.slider=t,this.interactiveDrag=!0,this.preventMultipleTap=!1,this._animation=t.mainAnimation,this.swipeElement=this.slider.sliderElement.querySelector(".n2_ss__touch_element"),t.controls.touch=this,t.stages.done("StarterSlide",this.onStarterSlide.bind(this)),O(t.sliderElement,"visibleSlidesChanged",this.onVisibleSlidesChanged.bind(this))}return t.prototype.onStarterSlide=function(){this.initTouch(),O(this.slider.sliderElement,"sliderChangeCurrentSlide",this.updatePanDirections.bind(this))},t.prototype.onVisibleSlidesChanged=function(){var t;this.slider.visibleSlides.length>1?g(this.swipeElement,{cursor:"grab",userSelect:"none"}):(t=this.swipeElement,["cursor","userSelect"].forEach((function(i){k(t,i)})))},t.prototype.initTouch=function(){this._animation.isNoAnimation&&(this.interactiveDrag=!1),this.eventBurrito=u.EventBurrito(this.swipeElement,{mouse:!0,axis:"horizontal"===this.axis?"x":"y",start:this._start.bind(this),move:this._move.bind(this),end:this._end.bind(this)}),this.updatePanDirections(),this.cancelKineticScroll=function(){this.kineticScrollCancelled=!0}.bind(this)},t.prototype._start=function(t){this.currentInteraction={type:"pointerdown"===t.type?"pointer":"touchstart"===t.type?"touch":"mouse",state:f({},this.state),action:"unknown",distance:[],distanceY:[],percent:0,progress:0,scrollTop:_(),animationStartDirection:"unknown",hadDirection:!1,startDistance:0},this.logDistance(0,0)},t.prototype._move=function(t,i,s,n){if(!n||"unknown"!==this.currentInteraction.action){this.currentInteraction.direction=this.measure(s);var h=this.get(s);if((this.currentInteraction.hadDirection||Math.abs(h)>10||Math.abs(s.y)>10)&&(this.logDistance(h,s.y),this.currentInteraction.percent<1&&this.setTouchProgress(h,s.y),"touch"===this.currentInteraction.type&&t.cancelable&&("switch"!==this.currentInteraction.action&&"hold"!==this.currentInteraction.action||(this.currentInteraction.hadDirection=!0))),"switch"===this.currentInteraction.action)return!0}return!1},t.prototype._end=function(t,i,s,n){if("switch"===this.currentInteraction.action){var h=n?0:this.measureRealDirection();if(this.interactiveDrag)this._animation.timeline.progress()<1&&this._animation.setTouchEnd(h,this.currentInteraction.progress,s.time),this._animation.setTouch(!1);else h&&this.callAction(this.currentInteraction.animationStartDirection);I(this.swipeElement,"n2-grabbing")}this.onEnd(),delete this.currentInteraction,Math.abs(s.x)<10&&Math.abs(s.y)<10?this.onTap(t):u._preventClick()},t.prototype.onEnd=function(){if("scroll"===this.currentInteraction.action&&"pointer"===this.currentInteraction.type){var t=this.currentInteraction.distanceY[0],i=this.currentInteraction.distanceY[this.currentInteraction.distanceY.length-1],s=(t.d-i.d)/(i.t-t.t)*10,n=Date.now(),o=function(){requestAnimationFrame(function(){var t,i;if(!this.kineticScrollCancelled&&s&&(t=Date.now()-n,(i=s*Math.exp(-t/325))>1||i<-1))return V(_()+i),void o();this.onEndKineticScroll()}.bind(this))}.bind(this);this.kineticScrollCancelled=!1,o(),h.addEventListener("pointerdown",this.cancelKineticScroll)}},t.prototype.onEndKineticScroll=function(){delete this.kineticScrollCancelled,h.removeEventListener("pointerdown",this.cancelKineticScroll),y(o,"scroll-behavior","")},t.prototype.setTouchProgress=function(t,i){this.recognizeSwitchInteraction(),0===this.currentInteraction.startDistance&&(this.currentInteraction.startDistance=t<0?t+1:t-1);var s,n=this.getPercent(t-this.currentInteraction.startDistance);if(this.currentInteraction.percent=n,"switch"===this.currentInteraction.action){if(this.interactiveDrag){switch(this.currentInteraction.animationStartDirection){case"up":s=-1*n;break;case"down":s=n;break;case"left":s=-1*n;break;case"right":s=n}this.currentInteraction.progress=s,this._animation.setTouchProgress(s)}}else"unknown"!==this.currentInteraction.action&&"scroll"!==this.currentInteraction.action||this.startScrollInteraction(i)},t.prototype.startScrollInteraction=function(t){"vertical"===this.axis&&(this.slider.controlFullscreen&&this.slider.controlFullscreen.ot||(this.currentInteraction.action="scroll","pointer"===this.currentInteraction.type&&(y(o,"scroll-behavior","auto"),V(Math.max(0,this.currentInteraction.scrollTop-t)))))},t.prototype.recognizeSwitchInteraction=function(){if("unknown"===this.currentInteraction.action&&this.slider.visibleSlides.length>1)if("ended"===this._animation.state){var t=this.currentInteraction.direction;if("unknown"!==t&&this.currentInteraction.state[t]){if(this.currentInteraction.animationStartDirection=t,this.interactiveDrag){this._animation.setTouch(this.axis);this.callAction(t,!1)}this.currentInteraction.action="switch",A(this.swipeElement,"n2-grabbing")}}else"playing"===this._animation.state&&(this.currentInteraction.action="hold")},t.prototype.logDistance=function(t,i){this.currentInteraction.distance.length>3&&(this.currentInteraction.distance.shift(),this.currentInteraction.distanceY.shift()),this.currentInteraction.distance.push({d:t,t:Date.now()}),this.currentInteraction.distanceY.push({d:i,t:Date.now()})},t.prototype.measureRealDirection=function(){var t=this.currentInteraction.distance[0],i=this.currentInteraction.distance[this.currentInteraction.distance.length-1];return i.d>=0&&t.d>i.d||i.d<0&&t.d=0;this.slider.parameters.carousel&&(i=!0,s=!0),n2const.isRTL()&&"vertical"!==this.slider.getAnimationAxis()?this.setState({right:i,left:s},!0):this.setState({right:s,left:i},!0)},t.prototype.syncTouchAction=function(){var t=this.state.left||this.state.right?"pan-y":"";y(this.swipeElement,"touch-action",t),i.PointerEventsPolyfill&&d(this.swipeElement,"touch-action",t)},t})),u.d("SmartSliderControlTouchVertical","SmartSliderControlTouch",(function(){"use strict";function t(){this.state={up:!1,down:!1},this.action={up:"next",down:"previous"},this.axis="vertical",u.SmartSliderControlTouch.prototype.constructor.apply(this,arguments)}return t.prototype=Object.create(u.SmartSliderControlTouch.prototype),t.prototype.constructor=t,t.prototype.callAction=function(t,i){switch(t){case"up":return this.slider.next.call(this.slider,i);case"down":return this.slider.previous.call(this.slider,i)}return!1},t.prototype.measure=function(t){return!this.currentInteraction.hadDirection&&Math.abs(t.y)<1||0==t.y||Math.abs(t.y) .n2-ss-layer-mask");switch(i&&(this.wraps.mask=i),m(this.layer,"pm")){case"absolute":this.placement=new u.FrontendPlacementAbsolute(this);break;case"normal":this.placement=new u.FrontendPlacementNormal(this);break;case"content":this.placement=new u.FrontendPlacementContent(this);break;default:this.placement=new u.FrontendPlacementDefault(this)}u.FrontendComponent.prototype.init.call(this,t)},t.prototype.setState=function(t,i){this.state[t]=i;for(var s=0;s0)&&this.focusableElements.push(i),this.disableFocus(),this.background=!1,t.parameters.admin?this.minimumSlideDuration=0:(this.minimumSlideDuration=+m(i,"slideDuration"),this.minimumSlideDuration||(this.minimumSlideDuration=0)),this._isCurrentlyEdited=this.slider.parameters.admin&&i.classList.contains("n2-ss-currently-edited-slide"),this.isCurrentlyEdited()?(this.layer=i.querySelector('.n2-ss-layer[data-sstype="slide"]'),O(t.sliderElement,"SliderDeviceOrientation",function(){this.slider.visibleRealSlides.push(this),this.isVisible=!0,this.slider.responsive.visibleRealSlidesChanged=!0,this.G("Visible")}.bind(this))):(this.component=new u.FrontendComponentSectionSlide(this,t,i.querySelector('.n2-ss-layer[data-sstype="slide"]')),this.layer=this.component.layer)}t.prototype=Object.create(u.FrontendSliderSlideAbstract.prototype),t.prototype.constructor=t,t.prototype._setInside=function(t){this.isInside!==t&&(this.isInside=t)};var i=!1;try{c("div").focus(Object.defineProperty({},"preventScroll",{get:function(){i=!0}}))}catch(t){}return t.prototype.focus=function(){i&&this._slideFocus.focus({preventScroll:!0})},t.prototype.allowFocus=function(){for(var t=0;t0},t.prototype.hasBackgroundVideo=function(){return this.background.hasVideo()},t.prototype.hasLink=function(){return!!m(this.element,"haslink")},t})),u.d("FrontendSliderSlideAbstract",["FrontendSlideControls"],(function(){function t(t,i,s){u.FrontendSlideControls.prototype.constructor.call(this,t,i),this.slides=this.slides||[],this.group=this,this.originalIndex=s,this.index=s,this.localIndex=s,this.groupIndex=0,this.isVisible=!0,this.isInside=-1}for(var i in u.FrontendSlideControls.prototype)t.prototype[i]=u.FrontendSlideControls.prototype[i];return t.prototype.setIndex=function(t){for(var i=0;i .n2-ss-layer"))}return t.prototype=Object.create(u.FrontendComponentCommon.prototype),t.prototype.constructor=t,t.prototype.getContents=function(){return[this.content]},t})),u.d("FrontendComponentContent",["FrontendComponentCommon"],(function(){function t(t,i,s){this.content=s.querySelector(".n2-ss-section-main-content"),u.FrontendComponentCommon.prototype.constructor.call(this,t,i,s,this.content.querySelectorAll(":scope > .n2-ss-layer"))}return t.prototype=Object.create(u.FrontendComponentCommon.prototype),t.prototype.constructor=t,t.prototype.getContents=function(){return[this.content]},t})),u.d("FrontendComponentLayer",["FrontendComponentCommon"],(function(){function t(t,i,s){u.FrontendComponentCommon.prototype.constructor.call(this,t,i,s);var n=s;this.wraps.mask&&(n=this.wraps.mask),this.item=n.querySelectorAll(":scope > *")}return t.prototype=Object.create(u.FrontendComponentCommon.prototype),t.prototype.constructor=t,t.prototype.getContents=function(){return this.item},t})),u.d("FrontendComponentRow",["FrontendComponentCommon"],(function(){function t(t,i,s){this.row=s.querySelector(".n2-ss-layer-row"),this.rowInner=s.querySelector(".n2-ss-layer-row-inner"),u.FrontendComponentCommon.prototype.constructor.call(this,t,i,s,this.rowInner.querySelectorAll(":scope > .n2-ss-layer"))}return t.prototype=Object.create(u.FrontendComponentCommon.prototype),t.prototype.constructor=t,t.prototype.getContents=function(){return[this.row]},t})),u.d("FrontendComponentSectionSlide",["FrontendComponent"],(function(){function t(t,i,s){this.realSlide=t,this.slider=i,this.element=t.element,this.layer=s,this.isStatic=t.isStatic(),u.FrontendComponent.prototype.constructor.call(this,this,this,s,s.querySelectorAll(":scope > .n2-ss-layer")),O(i.sliderElement,"SliderDeviceOrientation",function(e){this.onDeviceChange(e.detail.device.toLowerCase())}.bind(this)),O(i.sliderElement,"SliderResize",function(e){this.onResize(e.detail.ratios,e.detail.responsive.resizeContext)}.bind(this)),this.start()}return t.prototype=Object.create(u.FrontendComponent.prototype),t.prototype.constructor=t,t.prototype.onDeviceChange=function(t){u.FrontendComponent.prototype.onDeviceChange.call(this,t);for(var i=0;i0&&t<100)return}this.wt=this.bt,this.yt=this.St;var t=this.identifyDeviceID();if(this.parameters.hideOn[l._DeviceMode[t]])return A(this.K,"n2-section-smartslider--hidden"),!1;if(I(this.K,"n2-section-smartslider--hidden"),!this.isVisible)return!1;var i=!1,s=this.device;if(this.deviceID!==t&&(this.setDeviceID(t),s&&I(this.sliderElement,"n2-ss-"+s),b(this.sliderElement,"deviceMode",this.device),A(this.sliderElement,"n2-ss-"+this.device),this.slider.G("SliderDevice",{lastDevice:s,device:this.device,group:l._DeviceGroup[this.device]}),i=!0,this.slider.stages.resolve("Device")),i&&(this.slider.visibleRealSlides=[],this.slider.publicDispatchEvent("SliderDeviceOrientation",{slider:this.slider,lastDevice:s,device:this.device,group:l._DeviceGroup[this.device]}),this.slider.stages.resolve("DeviceOrientation"),this.finalizeVisibleSlidesStage1()),!this.slider.visibleRealSlides.length)return this.parameters.hideOn[l._DeviceMode[t]]=!0,A(this.K,"n2-section-smartslider--hidden"),!1;if(this.slider.isVisible||this.visibleRealSlidesChanged){for(var n=0;n .n2-ss-layer[data-pm="absolute"][data-adaptivefont="0"]'),"font-size","calc("+16*this.ratios.slideW+"px * var(--ssfont-scale, 1))");for(var t=0;t0){var i=t||this.slider.currentRealSlide;i.isVisible||(i=i.getNext())||(i=this.slider.currentSlide.getPrevious()),this.resetActiveRealSlide(i)}},l.prototype.resetActiveRealSlide=function(t){var i,s;t&&t!==this.slider.currentRealSlide?(this.slider.G("BeforeCurrentSlideChange",t),(i=this.slider.currentSlide)&&this.slider.forceUnsetActiveSlide(i),this.slider.setCurrentRealSlide(t),s=this.slider.currentSlide,this.targetCurrentSlide=s,this.slider.forceSetActiveSlide(s),this.slider.G("SlideForceChange",{oldSlide:i,currentSlide:s})):s=this.slider.currentSlide,this.slider.updateInsideSlides([s])},l.prototype.finalizeVisibleSlidesStage2=function(){this.visibleRealSlidesChanged&&(this.visibleRealSlidesChanged=!1,this.isResetActiveSlideEarly||this.calibrateActiveSlide(),this.triggerVisibleSlidesChanged(),this.targetCurrentSlide!==n&&(this.slider.G("SlideWillChange",{targetSlide:this.targetCurrentSlide}),this.slider.G("CurrentSlideChanged",{currentSlide:this.targetCurrentSlide}),this.slider.stages.resolved("Visible")&&this.slider.playSlide(this.targetCurrentSlide),delete this.targetCurrentSlide))},l.prototype.triggerVisibleSlidesChanged=function(){this.slider.G("visibleSlidesChanged"),this.slider.stages.resolve("VisibleSlides"),this.slider.visibleRealSlides.length?this.slider.isVisible||this.slider.show():this.slider.isVisible&&this.slider.hide()},l.prototype.getNormalizedModeString=function(){return l._DeviceMode[this.deviceID]},l.prototype.triggerResize=function(){this.slider.publicDispatchEvent("SliderResize",{ratios:this.ratios,responsive:this}),this.slider.stages.resolve("Resized")},l.prototype.getVerticalOffsetHeight=function(){return this.ot?0:this.slider.widgets.getVerticalsHeight()},l.prototype.addHorizontalSpacingControl=function(t,i){this.horizontalSpacingControls[t].push(i),this.slider.stages.resolved("ResizeFirst")&&this.doNormalizedResize()},l.prototype.filterSliderWidthHorizontalSpacing=function(t){for(var i in this.horizontalSpacing={right:0,left:0},this.horizontalSpacingControls)for(var s=this.horizontalSpacingControls[i],n=s.length-1;n>=0;n--){var h=s[n];h.isVisible()&&(h.refreshSliderSize(t),this.horizontalSpacing[i]+=h.getSize())}return g(this.containerElementPadding,{paddingLeft:this.horizontalSpacing.left+"px",paddingRight:this.horizontalSpacing.right+"px"}),t-this.horizontalSpacing.left-this.horizontalSpacing.right},l.prototype.addFilter=function(t,i){this.filters[t].push(i)},l.prototype.removeFilter=function(t,i){this.filters[t].push(i)},l.prototype.applyFilter=function(t,i){for(var s=0;s-1)this.parameters.volume=0;else if(n2const.isIOS){this.parameters.autoplay=0;try{"playsInline"in c("video")&&(this.parameters.autoplay=1,this.parameters.volume=0)}catch(t){}}n2const.isLighthouse||u.r("windowLoad",this.whenLoaded.bind(this))}var i;return t.prototype.whenLoaded=function(){1===parseInt(this.parameters.autoplay)||!this.hasImage||n2const.isMobile?this.ready(this.initVimeoPlayer.bind(this)):this.ready(function(){var t=function(e){z(i),e.preventDefault(),e.stopPropagation(),this.initVimeoPlayer(),this.safePlay()}.bind(this),i=[L(this.playerElement,"click",t),L(this.playerElement,"n2click",t)]}.bind(this))},t.prototype.ready=function(t){i||(i=new Promise((function(t){var i=c("script");i.onload=t,i.src="https://player.vimeo.com/api/player.js",h.head.appendChild(i)}))),i.then(t)},t.prototype.initVimeoPlayer=function(){var t=c("iframe");t.className="intrinsic-ignore",t.allow="fullscreen; autoplay; encrypted-media",t.id=this.playerId+"-frame",t.src="https://player.vimeo.com/video/"+this.parameters.vimeocode+"?autoplay=0&_video&title="+this.parameters.title+"&byline="+this.parameters.byline+"&background="+this.parameters.background+"&portrait="+this.parameters.portrait+"&color="+this.parameters.color+"&loop="+this.parameters.loop+("-1"==this.parameters.quality?"":"&quality="+this.parameters.quality)+"&dnt="+this.parameters["privacy-enhanced"]+(""!==this.parameters.privateid?"&h="+this.parameters.privateid:""),t.webkitAllowFullScreen=!0,t.allowFullScreen=!0,g(t,{position:"absolute",top:0,left:0,width:"100%",height:"100%"}),this.playerElement.prepend(t),this.player=new Vimeo.Player(t,{autoplay:!1}),this.promise=this.player.ready(),this.slider.stages.done("BeforeShow",function(){this.promise.then(this.onReady.bind(this))}.bind(this))},t.prototype.onReady=function(){var t=parseFloat(this.parameters.volume);t>=0&&this.setVolume(t),this.slide=this.slider.findSlideByElement(this.playerElement),this.isStatic=this.slide.isStatic();var i=this.playerElement.closest(".n2-ss-layer");this.layer=i.layer,new ResizeObserver(function(t){var i=t[0].contentRect;if(i.width&&i.height)this.state.visible||this.setState("visible",!0,!0);else if(this.state.visible){var s=this.state.play;this.setState("visible",!1,!0),s&&this.setState("continuePlay",!0)}}.bind(this)).observe(this.layer.layer),this.slide.isVisible&&this.setState("slideVisible",!0,!0),O(this.slide.element,"Hidden",function(){var t=this.state.play;this.setState("slideVisible",!1,!0),t&&this.setState("continuePlay",!0)}.bind(this)),O(this.slide.element,"Visible",function(){this.setState("slideVisible",!0,!0)}.bind(this)),this.cover&&(n2const.isMobile&&T(this.cover,"click",this.safePlay.bind(this)),T(i,"n2play",function(){u.W.to(u.MW.k(this.cover),.3,{opacity:0,onComplete:function(){x(this.cover)}.bind(this)})}.bind(this))),this.player.on("play",function(){this.isStatic||D(this.slider.sliderElement,"mediaStarted",{id:this.playerId}),R(i,"n2play")}.bind(this)),this.player.on("pause",function(){R(i,"n2pause"),this.state.continuePlay?(this.setState("continuePlay",!1),this.setState("play",!0)):this.setState("play",!1)}.bind(this)),this.player.on("ended",function(){this.isStatic||D(this.slider.sliderElement,"mediaEnded",{id:this.playerId}),R(i,"n2stop"),this.setState("play",!1),"next"===this.parameters.ended&&0==this.parameters.loop&&((h.fullscreenElement||h.webkitFullscreenElement)&&(h.exitFullscreen||h.webkitExitFullscreen).call(h),this.slider.next(!0))}.bind(this)),this.isStatic||(O(this.slider.sliderElement,"CurrentSlideChanged",function(e){this.onCurrentSlideChange(e.detail.currentSlide)}.bind(this)),O(this.slider.sliderElement,"mainAnimationStart",function(e){this.onCurrentSlideChange(this.slider.slides[e.detail.currentSlideIndex])}.bind(this))),""!==this.parameters["scroll-pause"]?u.ScrollTracker.add(this.playerElement,this.parameters["scroll-pause"],function(){this.setState("scroll",!0,!0)}.bind(this),function(){this.setState("continuePlay",!0),this.setState("scroll",!1,!0)}.bind(this)):this.setState("scroll",!0,!0),this.slide.isActiveWhen()&&this.setState("slide",!0,!0),1===parseInt(this.parameters.autoplay)&&this.slider.visible(this.initAutoplay.bind(this)),this._resolve()},t.prototype.onCurrentSlideChange=function(t){this.slide.isActiveWhen(t)?(1==this.parameters.autoplay&&this.setState("play",!0),this.setState("slide",!0,!0)):(parseInt(this.parameters.reset)&&this.reset(),this.setState("slide",!0,!0))},t.prototype.initAutoplay=function(){this.setState("InComplete",!0,!0),this.isStatic?(this.setState("play",!0),this.setState("slide",!0,!0)):(O(this.slider.sliderElement,"mainAnimationComplete",function(e){this.slide.isActiveWhen(this.slider.slides[e.detail.currentSlideIndex])?(this.setState("play",!0),this.setState("slide",!0,!0)):this.setState("slide",!1,!0)}.bind(this)),this.slide.isActiveWhen()&&(this.setState("play",!0),this.setState("slide",!0,!0)))},t.prototype.setState=function(t,i,s){s=s||!1,this.state[t]=i,s&&(this.state.slideVisible&&this.state.visible&&this.state.play&&this.state.slide&&this.state.InComplete&&this.state.scroll&&this.layer.isVisible?this.play():this.pause(),this.state.slideVisible&&this.state.visible&&this.state.slide&&this.layer.isVisible?p(this.player.element,"tabindex"):d(this.player.element,"tabindex","-1"))},t.prototype.play=function(){D(this.slider.sliderElement,"mediaStarted",{id:this.playerId}),0!=this.start&&this.safeSetCurrentTime(this.start),this.safePlay(),this.player.getCurrentTime().then(function(t){t-1)this.parameters.volume=0;else if(n2const.isIOS){this.parameters.autoplay=0;try{"playsInline"in c("video")&&(this.parameters.autoplay=1,this.parameters.volume=0,s.playsinline=1)}catch(t){}}for(var n in n2const.isIOS&&this.parameters.controls&&(s.use_native_controls=1),1==this.parameters.center&&(s.controls=0),1!=this.parameters.controls&&(s.autohide=1,s.controls=0),+(navigator.platform.toUpperCase().indexOf("MAC")>=0&&navigator.userAgent.search("Firefox")>-1)&&(s.html5=1),this.parameters.query)this.parameters.query.hasOwnProperty(n)&&(s[n]=this.parameters.query[n]);var o={videoId:this.parameters.youtubecode,wmode:"opaque",playerVars:s,events:{onReady:this.onReady.bind(this),onStateChange:function(i){switch(i.data){case YT.PlayerState.PLAYING:case YT.PlayerState.BUFFERING:this.isStatic||this.slide.isActiveWhen(this.slider.currentSlide)&&D(this.slider.sliderElement,"mediaStarted",{id:this.playerId}),R(t,"n2play");break;case YT.PlayerState.PAUSED:R(t,"n2pause"),this.state.continuePlay?(this.setState("continuePlay",!1),this.setState("play",!0)):this.setState("play",!1);break;case YT.PlayerState.ENDED:1==this.parameters.loop?(this.player.seekTo(this.parameters.start),this.player.playVideo()):(this.isStatic||D(this.slider.sliderElement,"mediaEnded",{id:this.playerId}),R(t,"n2stop"),this.setState("play",!1),"next"===this.parameters.ended&&((h.fullscreenElement||h.webkitFullscreenElement)&&(h.exitFullscreen||h.webkitExitFullscreen).call(h),this.slider.next(!0)))}}.bind(this)}};(this.parameters["privacy-enhanced"]||i.jQuery&&i.jQuery.fn.revolution)&&(o.host="https://www.youtube-nocookie.com"),this.player=new YT.Player(this.playerId+"-frame",o),1==this.parameters.center&&(y(this.playerElement.parentNode,"overflow","hidden"),this.onResize(),O(this.slider.sliderElement,"SliderResize",this.onResize.bind(this)))},t.prototype.onReady=function(){this.slider.stages.done("BeforeShow",this.onBeforeShow.bind(this))},t.prototype.onBeforeShow=function(){var t=parseFloat(this.parameters.volume);t>0?this.setVolume(t):-1!==t&&this.player.mute(),new ResizeObserver(function(t){var i=t[0].contentRect;if(i.width&&i.height)this.state.visible||this.setState("visible",!0,!0);else if(this.state.visible){var s=this.state.play;this.setState("visible",!1,!0),s&&this.setState("continuePlay",!0)}}.bind(this)).observe(this.layer.layer),this.slide.isVisible&&this.setState("slideVisible",!0,!0),O(this.slide.element,"Hidden",function(){var t=this.state.play;this.setState("slideVisible",!1,!0),t&&this.setState("continuePlay",!0)}.bind(this)),O(this.slide.element,"Visible",function(){this.setState("slideVisible",!0,!0)}.bind(this)),this.slide.isActiveWhen()&&this.setState("slide",!0,!0),1==this.parameters.autoplay&&this.slider.visible(this.initAutoplay.bind(this)),this.isStatic||(O(this.slider.sliderElement,"CurrentSlideChanged",function(e){this.onCurrentSlideChange(e.detail.currentSlide)}.bind(this)),O(this.slider.sliderElement,"mainAnimationStart",function(e){this.onCurrentSlideChange(this.slider.slides[e.detail.currentSlideIndex])}.bind(this)),parseInt(this.parameters.reset)&&O(this.slider.sliderElement,"mainAnimationComplete",function(e){this.slide.isActiveWhen(this.slider.slides[e.detail.currentSlideIndex])||0!==this.player.getCurrentTime()&&this.player.seekTo(this.parameters.start)}.bind(this))),this._resolve(),""!==this.parameters["scroll-pause"]?u.ScrollTracker.add(this.playerElement,this.parameters["scroll-pause"],function(){this.setState("scroll",!0,!0)}.bind(this),function(){this.setState("continuePlay",!0),this.setState("scroll",!1,!0)}.bind(this)):this.setState("scroll",!0,!0)},t.prototype.onCurrentSlideChange=function(t){var i=this.slide.isActiveWhen(t);i&&1==this.parameters.autoplay&&this.setState("play",!0),this.setState("slide",i,!0)},t.prototype.onResize=function(){var t=this.playerElement.parentNode.getBoundingClientRect(),i=t.width,s=t.height+100,n=16/9,h={width:i+"px",height:s+"px","margin-top":0};h[n2const.rtl["margin-left"]]=0,i/s>n?(h.height=i*n+"px",h["margin-top"]=(s-i*n)/2+"px"):(h.width=s*n+"px",h[n2const.rtl["margin-left"]]=(i-s*n)/2+"px"),g(this.playerElement,h)},t.prototype.initAutoplay=function(){this.setState("InComplete",!0,!0),this.isStatic?(this.setState("play",!0),this.setState("slide",!0,!0)):(O(this.slider.sliderElement,"mainAnimationComplete",function(e){this.slide.isActiveWhen(this.slider.slides[e.detail.currentSlideIndex])?(this.setState("play",!0),this.setState("slide",!0,!0)):this.setState("slide",!1,!0)}.bind(this)),this.slide.isActiveWhen()&&(this.setState("play",!0),this.setState("slide",!0,!0)))},t.prototype.setState=function(t,i,s){s=s||!1,this.state[t]=i,s&&(this.state.slideVisible&&this.state.visible&&this.state.play&&this.state.slide&&this.state.InComplete&&this.state.scroll?this.play():this.pause())},t.prototype.play=function(){this.isStopped()&&(this.coverFadedOut===n&&r(this.fadeOutCover.bind(this),200),D(this.slider.sliderElement,"mediaStarted",{id:this.playerId}),this.player.playVideo())},t.prototype.pause=function(){this.isStopped()||this.player.pauseVideo()},t.prototype.stop=function(){this.player.stopVideo()},t.prototype.isStopped=function(){switch(this.player.getPlayerState()){case-1:case 2:case 5:return!0;default:return!1}},t.prototype.setVolume=function(t){this.player.setVolume(100*t)},t})),u.d("smartslider-frontend")}(window); ;!function(t){var i=t;i._N2=i._N2||{_r:[],_d:[],r:function(){this._r.push(arguments)},d:function(){this._d.push(arguments)}};var s,h=t.document,n=(h.documentElement,t.setTimeout),a=t.clearTimeout,r=i._N2,o=(t.requestAnimationFrame,Object.assign),c=function(t,i){return t.dispatchEvent(i)},u=function(t,i){return c(t,new Event(i,{bubbles:!1,cancelable:!1}))},l=function(t,i,s){t.addEventListener(i,s,{once:!0})};navigator.userAgent.indexOf("+http://www.google.com/bot.html")>-1||i.requestIdleCallback,i.cancelIdleCallback;s=function(){h.body},"complete"===h.readyState||"interactive"===h.readyState?s():Document&&Document.prototype&&Document.prototype.addEventListener&&Document.prototype.addEventListener!==h.addEventListener?Document.prototype.addEventListener.call(h,"DOMContentLoaded",s):h.addEventListener("DOMContentLoaded",s),r.d("SmartSliderMainAnimationSimple",["SmartSliderMainAnimationAbstract"],(function(){function t(t,i){switch(this.postBackgroundAnimation=!1,this._currentBackgroundAnimation=!1,this.reverseSlideIndex=null,(i=o({delay:0,type:"horizontal",shiftedBackgroundAnimation:"auto"},i)).delay/=1e3,i.duration<300&&(i.type="no"),r.SmartSliderMainAnimationAbstract.prototype.constructor.call(this,t,i),this.parameters.type){case"no":this.animation=this._mainAnimationNo,this.isNoAnimation=!0;break;case"fade":this.animation=this._mainAnimationFade;break;case"crossfade":this.animation=this._mainAnimationCrossFade;break;case"vertical":t.backgrounds.hasFixed?this.animation=this._mainAnimationFade:this.animation=this._mainAnimationVertical;break;case"vertical-reversed":t.backgrounds.hasFixed?this.animation=this._mainAnimationFade:this.animation=this._mainAnimationVerticalReversed;break;case"horizontal-reversed":this.animation=this._mainAnimationHorizontalReversed;break;default:this.animation=this._mainAnimationHorizontal}}return t.prototype=Object.create(r.SmartSliderMainAnimationAbstract.prototype),t.prototype.constructor=t,t.prototype.changeTo=function(t,i,s,h){this.postBackgroundAnimation&&this.postBackgroundAnimation.prepareToSwitchSlide(t,i),r.SmartSliderMainAnimationAbstract.prototype.changeTo.apply(this,arguments)},t.prototype.setActiveSlide=function(t){for(var i=0;i0&&this.timeline.shiftChildren(a),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup()}else n&&(s.extraDelay>0&&this.timeline.shiftChildren(s.extraDelay),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup())}var o=[t.SMWs[0]];!this._currentBackgroundAnimation&&t.SMWs[1]&&o.push(t.SMWs[1]),this.timeline.fromTo(o,s.outDuration,{opacity:1},{opacity:0,ease:this.getEase()},s.outDelay);var c=r.MW.k(i.element);this.timeline.fromTo(c,s.inDuration,{opacity:0},{opacity:1,ease:this.getEase()},s.inDelay),!this._currentBackgroundAnimation&&i.background&&(r.MW.k(i.background.element).opacity=1),l(this.sliderElement,"mainAnimationComplete",function(e){var t=this.slider.slides[e.detail.previousSlideIndex];r.MW.R(t.SMWs,{zIndex:"",opacity:1})}.bind(this)),this.slider.updateInsideSlides([t,i])},t.prototype._mainAnimationCrossFade=function(t,i){r.MW.R(t.SMWs,{zIndex:23}),this.showSlide(i),t.unsetActive(),i.setActive();var s=this.adjustMainAnimation();if(0!=this.parameters.shiftedBackgroundAnimation){var h=!1,n=!1;if("auto"==this.parameters.shiftedBackgroundAnimation?t.hasLayers()?h=!0:n=!0:h=!0,this._currentBackgroundAnimation&&h){var a=s.outDuration-s.extraDelay;a>0&&this.timeline.shiftChildren(a),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup()}else n&&(s.extraDelay>0&&this.timeline.shiftChildren(s.extraDelay),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup())}var o=[t.SMWs[0]];!this._currentBackgroundAnimation&&t.SMWs[1]&&o.push(t.SMWs[1]),this.timeline.fromTo(o,s.outDuration,{opacity:1},{opacity:0,ease:this.getEase()},s.outDelay);var c=[i.SMWs[0]];!this._currentBackgroundAnimation&&i.SMWs[1]&&c.push(i.SMWs[1]),this.timeline.fromTo(c,s.inDuration,{opacity:0},{opacity:1,ease:this.getEase()},s.inDelay),l(this.sliderElement,"mainAnimationComplete",function(e){var t=this.slider.slides[e.detail.previousSlideIndex],i=this.slider.slides[e.detail.currentSlideIndex];r.MW.R(t.SMWs,{zIndex:"",opacity:1}),r.MW.R(i.SMWs,{opacity:1})}.bind(this)),this.slider.updateInsideSlides([t,i])},t.prototype._mainAnimationHorizontal=function(t,i,s){this.__mainAnimationDirection(t,i,"horizontal",s)},t.prototype._mainAnimationVertical=function(t,i,s){this.showSlide(i),this.__mainAnimationDirection(t,i,"vertical",s)},t.prototype._mainAnimationHorizontalReversed=function(t,i,s){this.__mainAnimationDirection(t,i,"horizontal",!s)},t.prototype._mainAnimationVerticalReversed=function(t,i,s){this.showSlide(i),this.__mainAnimationDirection(t,i,"vertical",!s)},t.prototype.__mainAnimationDirection=function(t,i,s,h){var n=t.SMWs,a=i.SMWs,o=[t,i],c="",u=0;"horizontal"===s?(c="x",u=Math.floor(this.slider.responsive.resizeContext.slideOuterWidth),n2const.rtl.isRtl&&(h=!h)):"vertical"===s&&(c="y",u=Math.floor(this.slider.responsive.resizeContext.slideOuterHeight)),h&&(u*=-1);var f={},v={snap:"x,y",ease:this.getEase()},d={snap:"x,y",ease:this.getEase()};f[c]=u,d[c]=-u,r.MW.R(n,{zIndex:23});var m={zIndex:23};m[c]=u,r.MW.R(a,m),t.unsetActive(),i.setActive();var p,S=this.adjustMainAnimation();if(v[c]=0,this.timeline.fromTo(a,S.inDuration,f,v,S.inDelay),0!=this.parameters.shiftedBackgroundAnimation){var x=!1,y=!1;if("auto"===this.parameters.shiftedBackgroundAnimation?t.hasLayers()?x=!0:y=!0:x=!0,this._currentBackgroundAnimation&&x){var b=S.outDuration-S.extraDelay;b>0&&this.timeline.shiftChildren(b),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup()}else y&&(S.extraDelay>0&&this.timeline.shiftChildren(S.extraDelay),this._currentBackgroundAnimation.shiftedPreSetup&&this._currentBackgroundAnimation._preSetup())}if(this.timeline.to(n,S.outDuration,d,S.outDelay),this.isTouch&&this.isReverseAllowed)if(h?this.slider.blockCarousel&&this.slider.isChangeCarousel("next")||(p=t.getNext()):this.slider.blockCarousel&&this.slider.isChangeCarousel("previous")||(p=t.getPrevious()),p&&p!==i){this.reverseSlideIndex=p.index,this.enableReverseMode(),o.push(p),"vertical"===s&&this.showSlide(p);var D=p.SMWs,z={};z[c]=u,r.MW.R(D,z);var A={},I={snap:"x,y",ease:this.getEase()},w={},k={snap:"x,y",ease:this.getEase()};I[c]=0,A[c]=-u,k[c]=u,w[c]=0,p.G("mainAnimationStartIn",{mainAnimation:this,previousSlideIndex:t.index,currentSlideIndex:p.index,isSystem:!1}),this.reverseTimeline.paused(!0),this.reverseTimeline.eventCallback("onComplete",this.onBackwardChangeToComplete.bind(this),[t,p,!1]),this.reverseTimeline.fromTo(D,S.inDuration,A,I,S.inDelay),this.reverseTimeline.fromTo(n,S.inDuration,w,k,S.inDelay)}else this.reverseSlideIndex=null;l(this.sliderElement,"mainAnimationComplete",function(e){var t=this.slider.slides[e.detail.previousSlideIndex],i=this.slider.slides[e.detail.currentSlideIndex];r.MW.R(t.SMWs,{zIndex:""}),r.MW.R(i.SMWs,{zIndex:""})}.bind(this)),this.slider.updateInsideSlides(o)},t.prototype.getExtraDelay=function(){return 0},t.prototype.adjustMainAnimation=function(){var t=this.parameters.duration,i=this.parameters.delay,s=this.timeline.totalDuration(),h=this.getExtraDelay();if(s>0){var n=t+i;if(!(n>(s-=.05)))return{inDuration:t,outDuration:t,inDelay:s-t,outDelay:h,extraDelay:h};t=t*s/n,(i=i*s/n)-1||i.requestIdleCallback,i.cancelIdleCallback;o=function(){s.body},"complete"===s.readyState||"interactive"===s.readyState?o():Document&&Document.prototype&&Document.prototype.addEventListener&&Document.prototype.addEventListener!==s.addEventListener?Document.prototype.addEventListener.call(s,"DOMContentLoaded",o):s.addEventListener("DOMContentLoaded",o),a.d("SmartSliderFrontendBackgroundAnimation",["SmartSliderMainAnimationSimple"],(function(){function t(t,i,n){this._currentBackgroundAnimation=!1,a.SmartSliderMainAnimationSimple.prototype.constructor.call(this,t,i),this.isReverseAllowed=!1,this.bgAnimationElement=this.sliderElement.querySelector(".n2-ss-background-animation"),this.slider.parameters.perspective>0&&this.bgAnimationElement&&g(this.bgAnimationElement,"perspective",this.slider.parameters.perspective+"px"),this.backgroundAnimations=l({global:0,speed:"normal"},n),this.backgrounds=t.backgrounds.getBackgroundImages()}return t.prototype=Object.create(a.SmartSliderMainAnimationSimple.prototype),t.prototype.constructor=t,t.prototype.getBackgroundAnimation=function(t,i){if(this.slider.parameters.backgroundParallax)return!1;if(i.hasBackgroundVideo()||t.hasBackgroundVideo())return!1;var n=this.backgroundAnimations.global,o=this.backgroundAnimations.speed;if(this.xt=!1,i.backgroundAnimation){var s=i.backgroundAnimation;n=s.animation,o=s.speed,s.color&&(this.xt=s.color)}if(!n)return!1;const r=Math.floor(Math.random()*n.length);return!!this.canAnimateWithBackgroundMode(n[r].allowedBackgroundModes,i.background.mode,t.background.mode)&&[n[r],o]},t.prototype.canAnimateWithBackgroundMode=function(t,i,n){return!!(!t||t.includes(i)&&t.includes(n))},t.prototype._initAnimation=function(t,i,n){this._currentBackgroundAnimation=!1;var o=t.background,s=i.background;if(o&&s){const h=new a.SmartSliderBackgroundAnimationBackgroundInterfaceFrontend(o),u=new a.SmartSliderBackgroundAnimationBackgroundInterfaceFrontend(s),c=this.getBackgroundAnimation(t,i);if(!1!==c){var r=1;switch(c[1]){case"superSlow10":r=10;break;case"superSlow":r=3;break;case"slow":r=1.5;break;case"fast":r=.75;break;case"superFast":r=.5}return this._currentBackgroundAnimation=new a["SmartSliderBackgroundAnimation"+c[0].type](this,h,u,c[0],r,n),a.SmartSliderMainAnimationSimple.prototype._initAnimation.apply(this,arguments),this._currentBackgroundAnimation.postSetup(),void this.timeline.set({},{onComplete:function(){this._currentBackgroundAnimation&&(this._currentBackgroundAnimation.ended(),this._currentBackgroundAnimation=!1)}.bind(this)})}}a.SmartSliderMainAnimationSimple.prototype._initAnimation.apply(this,arguments)},t.prototype.onChangeToComplete=function(t,i){this._currentBackgroundAnimation&&(this._currentBackgroundAnimation.ended(),this._currentBackgroundAnimation=!1),a.SmartSliderMainAnimationSimple.prototype.onChangeToComplete.apply(this,arguments)},t.prototype.onReverseChangeToComplete=function(t,i,n){this._currentBackgroundAnimation&&(this._currentBackgroundAnimation.revertEnded(),this._currentBackgroundAnimation=!1),a.SmartSliderMainAnimationSimple.prototype.onReverseChangeToComplete.apply(this,arguments)},t.prototype.getExtraDelay=function(){return this._currentBackgroundAnimation?this._currentBackgroundAnimation.getExtraDelay():0},t.prototype.hasBackgroundAnimation=function(){return this._currentBackgroundAnimation},t})),a.d("SmartSliderBackgroundAnimationAbstract",(function(){function t(t,i,n,o,s,r){this.durationMultiplier=s,this.original={currentImage:i,currentImageElement:i.backgroundElement,currentImageSMW:a.MW.k(i.backgroundElement),nextImage:n,nextImageElement:n.backgroundElement,nextImageSMW:a.MW.k(n.backgroundElement)},this.animationProperties=o,this.reversed=r,this.sliderBackgroundAnimation=t,this.timeline=t.timeline,this.containerElement=t.bgAnimationElement,this.shiftedBackgroundAnimation=t.parameters.shiftedBackgroundAnimation,this.clonedImages={}}return t.prototype.postSetup=function(){},t.prototype.ended=function(){},t.prototype.revertEnded=function(){},t.prototype.placeNextImage=function(){this.clonedImages.nextImage=this.original.nextImageElement.cloneNode(!0),b(this.clonedImages.nextImage,{position:"absolute",top:0,left:0,transform:"translate3d(0,0,0)",opacity:1}),this.containerElement.appendChild(this.clonedImages.nextImage)},t.prototype.placeCurrentImage=function(){this.clonedImages.currentImage=this.original.currentImageElement.cloneNode(!0),b(this.clonedImages.currentImage,{position:"absolute",top:0,left:0,transform:"translate3d(0,0,0)",opacity:1}),this.containerElement.appendChild(this.clonedImages.currentImage)},t.prototype.hideOriginals=function(){g(this.original.currentImageElement,"opacity",0),g(this.original.nextImageElement,"opacity",0)},t.prototype.resetAll=function(){g(this.original.currentImageElement,"opacity",1),g(this.original.nextImageElement,"opacity",1),this.containerElement.innerHTML=""},t.prototype.getExtraDelay=function(){return 10/60},t})),a.d("SmartSliderBackgroundAnimationBackgroundInterface",(function(){return class{constructor(t){this.backgroundElement=t}getImage(){return this.backgroundElement.querySelector("img").currentSrc}getSize(){const t=this.backgroundElement.getBoundingClientRect();return[t.width,t.height]}hasImage(){return!0}isCover(){return!0}getOpacity(){return 1}getBlur(){return 0}isOverlay(){return!1}getOverlay(){return!1}getFocusX(){return.5}getFocusY(){return.5}getColor(){return"RGBA(0,0,0,0)"}}})),a.d("SmartSliderBackgroundAnimationBackgroundInterfaceFrontend","SmartSliderBackgroundAnimationBackgroundInterface",(function(){class t extends a.SmartSliderBackgroundAnimationBackgroundInterface{constructor(t){super(t.element),this.background=t}hasImage(){return this.background.hasImage()}getImage(){return super.getImage()}isCover(){return!this.hasImage()||"fill"===v(this.background.element,"mode")}getOpacity(){return+v(this.background.elements.image.imageElements[0],"opacity")/100}getBlur(){return+this.background.elements.image.blur}isOverlay(){return!!v(this.background.elements.color.el,"overlay")}getFocusX(){return+v(this.background.elements.image.imageElements[0],"x")/100}getFocusY(){return+v(this.background.elements.image.imageElements[0],"y")/100}getColor(t){const i=this.background.elements.color.el,n=v(i,"gradient"),o=t.canvas.width,s=t.canvas.height;let r=0;if(n){let h=0,a=0,u=0,c=0;switch(n){case"horizontal":u=o;break;case"vertical":c=s;break;case"diagonal1":r=45;break;case"diagonal2":r=135}if(0!==r){const t=(180-r)/180*Math.PI,i=Math.abs(o*Math.sin(t))+Math.abs(s*Math.cos(t)),n=Math.sin(t)*i/2,l=Math.cos(t)*i/2,f=o/2,d=s/2;h=f-n,a=d-l,u=f+n,c=d+l}let l=t.createLinearGradient(h,a,u,c);return l.addColorStop(0,v(i,"colorStart")),l.addColorStop(1,v(i,"colorEnd")),l}return v(i,"color")}}return t})),a.d("SmartSliderBackgroundAnimationCubic",["SmartSliderBackgroundAnimationTiled"],(function(){function t(){a.SmartSliderBackgroundAnimationTiled.prototype.constructor.apply(this,arguments)}return t.prototype=Object.create(a.SmartSliderBackgroundAnimationTiled.prototype),t.prototype.constructor=t,t.prototype.setup=function(){var t=f({columns:1,rows:1,fullCube:!0,tiles:{delay:.2,sequence:"Parallel"},depth:50,main:{side:"Left",duration:.5,ease:"easeInOutCubic",direction:"horizontal",real3D:!0},pre:[],post:[]},this.animationProperties);t.fullCube=!0,this.reversed&&(t.invert!==n&&f(t.main,t.invert),t.invertTiles!==n&&l(t.tiles,t.invertTiles)),a.SmartSliderBackgroundAnimationTiled.prototype.setup.call(this,t)},t.prototype.renderTile=function(t,i,n,o,s,r){var h=o.depth;switch(h){case"width":h=i;break;case"height":h=n}switch(o.main.side){case"Top":case"Bottom":h=n;break;case"Left":case"Right":h=i}o.main.real3D&&g(t,"transform-style","preserve-3d");var u=c(),l=a.MW.k(u);b(u,{position:"absolute",left:0,top:0,width:"100%",height:"100%","transform-style":"preserve-3d"}),l.z=-h/2,t.appendChild(u);var f=0;"horizontal"===o.main.direction&&(f=180);var d=this.getSide(u,i,n,0,0,-h/2,180,0,f),p={Back:d,BackInvert:d};(o.fullCube||"vertical"===o.main.direction)&&(p.Bottom=this.getSide(u,i,h,0,n-h/2,0,-90,0,0),p.Top=this.getSide(u,i,h,0,-h/2,0,90,0,0)),p.Front=this.getSide(u,i,n,0,0,h/2,0,0,0),(o.fullCube||"horizontal"===o.main.direction)&&(p.Left=this.getSide(u,h,n,-h/2,0,0,0,-90,0),p.Right=this.getSide(u,h,n,i-h/2,0,0,0,90,0));var v=this.clonedCurrent().cloneNode(!0);b(v,{position:"absolute",top:-r+"px",left:-s+"px"}),p.Front.appendChild(v);var m=this.clonedNext().cloneNode(!0);return b(m,{position:"absolute",top:-r+"px",left:-s+"px"}),p[o.main.side].appendChild(m),a.MW.k(u)},t.prototype.getSide=function(t,i,n,o,s,r,h,u,l){var f=c();return f.className="n2-bganim-side",b(f,{width:i+"px",height:n+"px","backface-visibility":"hidden"}),t.appendChild(f),a.MW.k(f).setValues({x:o,y:s,z:r,rotationZ:l,rotationY:u,rotationX:h}),f},t.prototype.transform=function(t,i,n){var o,s,r;for(o=0;o0&&(v+=o=l>=u?u:l,l-=o),(i=c()).className="tile n2-bganim-tile-overlay-colored",b(i,{position:"absolute",top:d+"px",left:0,width:"100%",height:v+"px","z-index":1e6}),this.sliderBackgroundAnimation.xt&&g(i,"background-color",this.sliderBackgroundAnimation.xt),this.container.appendChild(i),s.push(a.MW.k(i)),d+=v}t.tiles.stages[0].x=this.w,t.tiles.stages[1].x=0,t.tiles.stages[2].x=-this.w}else if("vertical"===t.direction){for(var m=Math.floor(this.w/t.slices),x=this.w-t.slices*m,w=Math.ceil(x/t.slices),S=0,y=0;y0&&(k+=o=x>=w?w:x,x-=o),(i=c()).className="tile n2-bganim-tile-overlay-colored",b(i,{position:"absolute",top:0,left:S+"px",width:k+"px",height:"100%","z-index":1e6}),this.sliderBackgroundAnimation.xt&&g(i,"background-color",this.sliderBackgroundAnimation.xt),this.container.appendChild(i),s.push(a.MW.k(i)),S+=k}t.tiles.stages[0].y=this.h,t.tiles.stages[1].y=0,t.tiles.stages[2].y=-this.h}(this.reversed&&!t.isReversed||!this.reversed&&t.isReversed)&&(t.tiles.stages=t.tiles.stages.reverse());var M=c(),A=this.clonedCurrent().cloneNode(!0);b(M,{position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden","z-index":99999}),b(A,{position:"absolute",top:0,left:0}),M.appendChild(A),this.container.appendChild(M);var B=c(),O=a.MW.k(B),I=this.clonedNext().cloneNode(!0);b(B,{position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden","z-index":99999}),O.opacity=0,b(I,{position:"absolute",top:0,left:0}),B.appendChild(I),this.container.appendChild(B);var z,C,j=this.timeline.totalDuration();switch(t.tiles.sequence){case"FromSide":for(z=Math.floor(t.slices/2),C=0;C0)m+=S=u>=l?l:u,u-=S;for(var g=f,w=0;w0)y+=S=g>=d?d:g,g-=S;var k=c();k.className="tile",b(k,{position:"absolute",top:x+"px",left:p+"px",width:m+"px",height:y+"px","z-index":-Math.abs(v-parseInt(s/2))+s-Math.abs(w-parseInt(r/2))}),i.appendChild(k);var M=this.renderTile(k,m,y,t,p,x);o.push(M),n[v][w]=M,x+=y}p+=m}this.containerElement.appendChild(i),this.preSetup(),this.animate(t,o,n)},t.prototype.animate=function(t,i,n){this["sequence"+t.tiles.sequence](this.transform.bind(this,t),i,n,t.tiles.delay*this.durationMultiplier)},t.prototype.sequenceParallel=function(t,i){t(i,null)},t.prototype.sequenceRandom=function(t,i,n,o){for(var s=this.timeline.totalDuration(),r=0;r-1||i.requestIdleCallback,i.cancelIdleCallback;n=function(){o.body},"complete"===o.readyState||"interactive"===o.readyState?n():Document&&Document.prototype&&Document.prototype.addEventListener&&Document.prototype.addEventListener!==o.addEventListener?Document.prototype.addEventListener.call(o,"DOMContentLoaded",n):o.addEventListener("DOMContentLoaded",n),u.d("SmartSliderWidgetArrowImage","SmartSliderWidget",(function(){function t(t,i,n){this.Dt=n,u.SmartSliderWidget.prototype.constructor.call(this,i,t,"#"+i.elementID+"-arrow-"+t)}return t.prototype=Object.create(u.SmartSliderWidget.prototype),t.prototype.constructor=t,t.prototype.onStart=function(){var t,i,n,o;t=this.widget,i="click",n=function(e){e.stopPropagation(),this.slider[this.Dt]()}.bind(this),o=o||{},t.addEventListener(i,n,o)},function(i){this.key="arrow",this.previous=new t("previous",i,"previousWithDirection"),this.next=new t("next",i,"nextWithDirection")}}))}(window);