(function ($){
$.fn.jSnow=function (h){
var j=$.extend({}, $.fn.jSnow.defaults, h);
var k, WIN_HEIGHT;
var l=j.flakes;
var m=j.flakeCode;
var n=j.flakeColor;
var o=j.flakeMinSize;
var p=j.flakeMaxSize;
var q=j.fallingSpeedMin;
var r=j.fallingSpeedMax;
var s=j.interval;
var t=j.zIndex;
var vs=j.vSize;
var fa=j.fadeAway;
var fs=j.followScroll;
setWaH();
var useGif=false;
if($('body').is('.lt-ie8 *')){
useGif=true;
}
if($('body').is('.lt-ie8 *')&&t=="auto")t=0;
var u=$("<div \/>");
u.css({
width: k + "px",
height: 1,
display: "block",
overflow: "visible",
position: "absolute",
left: "1px",
zIndex: t
});
if(fs){
u.css('top', $("html").scrollTop() + 1 + "px");
}else{
u.css='1px';
}
$("body").prepend(u).css({height: "100%"});
$("html").css({"overflow-y": "scroll", "overflow-x": "hidden"});
var v=Array();
generateFlake(l, false);
setInterval(animateFlakes, s);
window.onresize=setWaH;
function setWaH(){
k=$('body').width();
var def_h=window.innerHeight||document.documentElement.clientHeight;
def_h -=50;
if(!vs||vs > def_h){
WIN_HEIGHT=window.innerHeight||document.documentElement.clientHeight
WIN_HEIGHT -=50;
} else WIN_HEIGHT=vs;
};
if(fs){
window.onscroll=function (){
u.css({top: $("html").scrollTop() + "px"})
};}
function generateFlake(a, b){
a=a||1;
b=b||false;
var i=0;
for (i=0; i < a; i++){
var c=$("<span \/>");
var d=o + Math.floor(Math.random() * p);
var e=m[Math.floor(Math.random() * m.length)];
if(e.indexOf(".gif")!=-1||e.indexOf(".png")!=-1){
var f=new Image();
if(useGif)e=e.replace("png", "gif");
f.src=e;
e="<img src='" + e + "' alt='jSnowFlake'>"
}
c.html(e).css({
color: n[Math.floor(Math.random() * n.length)],
fontSize: d + "px",
display: "block",
position: "absolute",
cursor: "default",
"pointer-events": "none",
"z-index": t
});
$(u).append(c);
f_left=Math.floor(Math.random() * (k - c.width() - 50)) + 25;
f_top=(b) ? -1 * c.height():Math.floor(Math.random() * (WIN_HEIGHT - 50));
var g=Math.floor(Math.random() * 90);
jQuery.data(c, "posData", {
top: f_top,
left: f_left,
rad: Math.random() * 50,
i: Math.ceil(q + Math.random() * (r - q)),
swingRange: g
});
c.css({top: f_top + "px", left: f_left + "px"});
v.push(c)
}};
function animateFlakes(){
var i=0;
for (i=v.length - 1; i >=0; i--){
var f=v[i];
var a=jQuery.data(f, "posData");
a.top +=a.i;
var b=Number();
b=Math.cos((a.rad / 180) * Math.PI);
a.rad +=2;
var X=a.left - b * a.swingRange;
if(fa){
op=(WIN_HEIGHT - a.top < 100) ? ((WIN_HEIGHT - a.top) / 100):1;
f.css('opacity', op);
}
f.css({top: a.top + "px", left: X + "px"});
if(a.top > WIN_HEIGHT){
jQuery.removeData(f);
f.remove();
v.splice(i, 1);
generateFlake(1, true)
}}
};
return this
};
$.fn.jSnow.defaults={
flakes: 30,
fallingSpeedMin: 1,
fallingSpeedMax: 3,
flakeMaxSize: 20,
flakeMinSize: 10,
flakeCode: ["&bull;"],
flakeColor: ["#fff"],
zIndex: "auto",
interval: 50,
fadeAway: true,
}})(jQuery);
(function ($){
"use strict";
$(window).on("load", function (){
if(!snoweffect.show) return;
jQuery().jSnow({
followScroll: true,
flakes: snoweffect.flakes_num,
fallingSpeedMin: parseInt(snoweffect.falling_speed_min),
fallingSpeedMax: parseInt(snoweffect.falling_speed_max),
flakeMaxSize: parseInt(snoweffect.flake_max_size),
flakeMinSize: parseInt(snoweffect.flake_min_size),
flakeColor: [snoweffect.flake_color],
vSize: snoweffect.vertical_size,
fadeAway: snoweffect.fade_away,
zIndex: snoweffect.flake_zindex,
flakeCode: ["&" + snoweffect.flake_type + ";"],
});
});
})(jQuery);
(()=>{"use strict";var t={903:(t,o,r)=>{var i=r(81),e=r.n(i),n=r(645);r.n(n)()(e()).push([t.id,'.flipdown.flipdown__theme-dark{font-family:sans-serif;font-weight:bold}.flipdown.flipdown__theme-dark .rotor-group-heading:before{color:#000}.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):before{background-color:#151515}.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):after{background-color:#151515}.flipdown.flipdown__theme-dark .rotor{color:#fff;background-color:#151515}.flipdown.flipdown__theme-dark .rotor:after{border-top:solid 1px #151515}.flipdown.flipdown__theme-dark .rotor-top{color:#fff;background-color:#151515}.flipdown.flipdown__theme-dark .rotor-leaf-front{color:#fff;background-color:#151515}.flipdown.flipdown__theme-dark .rotor-bottom{color:#efefef;background-color:#202020}.flipdown.flipdown__theme-dark .rotor-leaf-rear{color:#efefef;background-color:#202020}.flipdown.flipdown__theme-light{font-family:sans-serif;font-weight:bold}.flipdown.flipdown__theme-light .rotor-group-heading:before{color:#eee}.flipdown.flipdown__theme-light .rotor-group:nth-child(n+2):nth-child(-n+3):before{background-color:#ddd}.flipdown.flipdown__theme-light .rotor-group:nth-child(n+2):nth-child(-n+3):after{background-color:#ddd}.flipdown.flipdown__theme-light .rotor{color:#222;background-color:#ddd}.flipdown.flipdown__theme-light .rotor:after{border-top:solid 1px #222}.flipdown.flipdown__theme-light .rotor-top{color:#222;background-color:#ddd}.flipdown.flipdown__theme-light .rotor-leaf-front{color:#222;background-color:#ddd}.flipdown.flipdown__theme-light .rotor-bottom{color:#333;background-color:#eee}.flipdown.flipdown__theme-light .rotor-leaf-rear{color:#333;background-color:#eee}.flipdown{display:flex !important;justify-content:center;overflow:hidden;margin-top:15px;margin-bottom:15px;direction:ltr}.flipdown .rotor-group{display:flex;width:150px;justify-content:center;flex-direction:column;align-items:center;width:100px}.flipdown .rotor-group:before{display:none !important;display:none}.flipdown .rotor-group:after{display:none !important;display:none}.flipdown .rotor-group:last-child{padding-right:0;padding-right:0}.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before{content:"";position:absolute;bottom:20px;left:115px;width:10px;height:10px;border-radius:50%;left:69px;bottom:13px;height:8px;width:8px}.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after{content:"";position:absolute;bottom:50px;left:115px;width:10px;height:10px;border-radius:50%;left:69px;bottom:29px;height:8px;width:8px}.flipdown .rotor-group .rotors-wrapper{width:100%;display:flex;justify-content:center}.flipdown .rotor-group-heading{text-align:center;width:100%;display:flex;justify-content:center;font-size:1rem}.flipdown .rotor-group-heading:before{display:block;height:30px;line-height:30px;text-align:center;font-size:.8em;height:20px;line-height:20px}.flipdown .rotor{position:relative;float:left;width:50px;height:80px;margin:0 5px 0 0;border-radius:4px;font-size:2.5rem;text-align:center;perspective:200px;width:30px;height:50px}.flipdown .rotor:last-child{margin-right:0}.flipdown .rotor:after{content:"";z-index:2;position:absolute;bottom:0;left:0;width:50px;height:40px;border-radius:0 0 4px 4px;width:30px;height:25px;opacity:.8}.flipdown .rotor-top{overflow:hidden;position:absolute;width:50px;height:40px;line-height:80px;border-radius:4px 4px 0 0;width:30px;line-height:50px;height:25px}.flipdown .rotor-bottom{overflow:hidden;position:absolute;width:50px;height:40px;bottom:0;line-height:0;border-radius:0 0 4px 4px;width:30px;height:25px}.flipdown .rotor-leaf{z-index:1;position:absolute;width:50px;height:80px;transform-style:preserve-3d;transition:transform 0s;width:100%;height:50px}.flipdown .rotor-painter{width:100%}.flipdown .rotor-leaf.flipped{transform:rotateX(-180deg);transition:all .5s ease-in-out}.flipdown .rotor-leaf-front{overflow:hidden;position:absolute;width:50px;height:40px;margin:0;transform:rotateX(0);backface-visibility:hidden;-webkit-backface-visibility:hidden;line-height:80px;border-radius:4px 4px 0 0;width:30px;line-height:50px;height:25px}.flipdown .rotor-leaf-rear{overflow:hidden;position:absolute;width:50px;height:40px;margin:0;transform:rotateX(0);backface-visibility:hidden;-webkit-backface-visibility:hidden;line-height:0;border-radius:0 0 4px 4px;transform:rotateX(-180deg);width:30px;height:25px}.rotor-group .rotors-wrapper{width:100%;display:flex;justify-content:center}.rotor-group .rotors-wrapper .rotor{overflow:hidden;width:40%}.rotor-group .rotors-wrapper .rotor .rotor-leaf{width:100%}.rotor-group .rotors-wrapper .rotor .rotor-painter{width:100%}.rotor-group .rotors-wrapper .rotor:after{width:100%}.flipdown-size-sm .rotor{margin-right:3px;width:30px;height:50px}.flipdown-size-sm .rotor:after{width:30px;height:25px}.flipdown-size-sm .rotor-leaf{width:30px;height:50px}.flipdown-size-sm .rotor-leaf-front{width:30px;line-height:50px;height:25px}.flipdown-size-sm .rotor-leaf-rear{width:30px;height:25px}.flipdown-size-sm .rotor-top{width:30px;line-height:50px;height:25px}.flipdown-size-sm .rotor-bottom{width:30px;height:25px}.flipdown-size-sm .rotor-group{width:100px}.flipdown-size-sm .rotor-group:before{display:none}.flipdown-size-sm .rotor-group:after{display:none}.flipdown-size-sm .rotor-group:last-child{padding-right:0}.flipdown-size-sm .rotor-group:nth-child(n+2):nth-child(-n+3):before{left:69px;bottom:13px;height:8px;width:8px}.flipdown-size-sm .rotor-group:nth-child(n+2):nth-child(-n+3):after{left:69px;bottom:29px;height:8px;width:8px}.flipdown-size-sm .rotor-group-heading{font-size:.8em;height:20px;line-height:20px}.flipdown-size-xs .rotor{font-size:1.5rem;margin-right:3px;width:40%;height:40px}.flipdown-size-xs .rotor:after{width:30px;height:20px}.flipdown-size-xs .rotor-leaf{width:30px;height:40px}.flipdown-size-xs .rotor-leaf-front{width:30px;line-height:40px;height:20px}.flipdown-size-xs .rotor-leaf-rear{width:30px;height:20px;line-height:0}.flipdown-size-xs .rotor-top{width:30px;line-height:40px;height:20px}.flipdown-size-xs .rotor-bottom{width:30px;height:20px}.flipdown-size-xs .rotor-group{padding-right:0;padding-left:0}.flipdown-size-xs .rotor-group:nth-child(n+2):nth-child(-n+3):before{left:69px;bottom:13px;height:8px;width:8px}.flipdown-size-xs .rotor-group:nth-child(n+2):nth-child(-n+3):after{left:69px;bottom:29px;height:8px;width:8px}.flipdown-size-xs .rotor-group-heading{font-size:.75rem;height:20px;line-height:20px}.flipdown-size-xxs .rotor-group-heading{font-size:.65rem}.flipdown-size-xxs .rotor{font-size:1.1rem;margin-right:2px;height:34px}.flipdown-size-xxs .rotor:after{height:17px;opacity:.4}.flipdown-size-xxs .rotor-leaf{width:30px;height:34px}.flipdown-size-xxs .rotor-leaf-front{width:30px;line-height:34px;height:17px}.flipdown-size-xxs .rotor-leaf-rear{width:30px;height:17px;line-height:0}.flipdown-size-xxs .rotor-top{width:30px;line-height:34px;height:17px}.flipdown-size-xxs .rotor-bottom{width:30px;height:17px}\r\n',""])},645:t=>{t.exports=function(t){var o=[];return o.toString=function(){return this.map((function(o){var r="",i=void 0!==o[5];return o[4]&&(r+="@supports (".concat(o[4],"){")),o[2]&&(r+="@media ".concat(o[2]," {")),i&&(r+="@layer".concat(o[5].length>0?" ".concat(o[5]):""," {")),r+=t(o),i&&(r+="}"),o[2]&&(r+="}"),o[4]&&(r+="}"),r})).join("")},o.i=function(t,r,i,e,n){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(i)for(var h=0;h<this.length;h++){var a=this[h][0];null!=a&&(s[a]=!0)}for(var p=0;p<t.length;p++){var l=[].concat(t[p]);i&&s[l[0]]||(void 0!==n&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=n),r&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=r):l[2]=r),e&&(l[4]?(l[1]="@supports (".concat(l[4],"){").concat(l[1],"}"),l[4]=e):l[4]="".concat(e)),o.push(l))}},o}},81:t=>{t.exports=function(t){return t[1]}}},o={};function r(i){var e=o[i];if(void 0!==e)return e.exports;var n=o[i]={id:i,exports:{}};return t[i](n,n.exports,r),n.exports}r.n=t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return r.d(o,{a:o}),o},r.d=(t,o)=>{for(var i in o)r.o(o,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:o[i]})},r.o=(t,o)=>Object.prototype.hasOwnProperty.call(t,o),(()=>{function t(o){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(o)}function o(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function i(t,o){for(var r=0;r<o.length;r++){var i=o[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function e(t,o){var r=h();return(e=function(t,o){return r[t-=286]})(t,o)}!function(t,o){for(var r=e,i=t();;)try{if(757441==parseInt(r(349))/1*(parseInt(r(380))/2)+-parseInt(r(314))/3*(parseInt(r(309))/4)+parseInt(r(289))/5*(-parseInt(r(384))/6)+-parseInt(r(294))/7+parseInt(r(336))/8*(-parseInt(r(303))/9)+-parseInt(r(332))/10*(-parseInt(r(374))/11)+parseInt(r(334))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(h);var n=s;function s(t,o){var r=a();return(s=function(t,o){return r[t-=249]})(t,o)}function h(){var t=["createElement","bind","data-before","rotor-leaf","1221VGmLJS","clockValues","rotor-leaf-rear rotor-painter","display",".rotor-group-days","170040ReOEiX","epoch","33200544wbKWBk","find","455144EulhWK","rotorGroupMapping","css","_setOptions","_tick","ifEnded","rotorBottoms","span","4rFvABO","clockStrings","start"," instead.","rotor-top","453163OdVhNb","rotor-bottom rotor-painter","Days","classList","shift","className","FlipDown: Constructor expected unix timestamp, got ","933291iVwumz","_createRotor","rotor-group-","object",".rotor-group-hours","minutes","none","setAttribute","Minutes","split","120CGjxgw","forEach","push","rotorBottom","rotorLeafFront","slice","rotorTop","rotors-wrapper","561lTmTTD","floor","Seconds","120405UWKGKj",".rotor-group","headings","4fxqRyE","prototype","clockValuesAsString","7njGWct","527328tKTEct","3668752uhTRAu","130802CxWANw","hours","_hasCountdownEnded","getElementsByClassName","hideDivision","3004338gceJwA","65AuEhvP","countdownEnded","flex","parentElement","theme","10170265wymdhX","flipdown","_getTime","days","hasOwnProperty","_createRotorGroup","seconds","rotor-leaf-front rotor-painter","daysremaining","9eBsGTT","number","call","Hours","version","opts","4PxEepq","countdown","element","prevClockValuesAsString","rotor-bottom","3391407LThskn","textContent","div","rotors","flipped","0.3.2","appendChild","rotorLeafRear","now"];return(h=function(){return t})()}function a(){var t=e,o=[t(308),t(361),t(330),t(286),t(348),t(383),t(327),t(316),t(320),t(366),t(342),t(296),t(388),t(302),t(322),t(287),"assign",t(387),"54350hvBDUb","_parseOptions",t(317),t(305),"className",t(369),"add",t(326),"rotor-leaf-rear","figure",t(292),"headings","rotor-group ","rotor-top rotor-painter",t(341),"getTime",t(370),"dark",t(293),t(385),"length",t(372),t(373),"flipdown__theme-",t(337),t(378),"rotor-leaf-front",t(357),t(377),t(331),t(306),t(335),t(297),t(346),t(324),t(315),"floor",t(340),"toString","destroy",t(288),"_init","push",t(347),t(300),t(364),t(301),"prevClockValuesAsString",t(298),t(343),t(356),t(371),"rotorTops","clockValuesAsString",t(367),t(313),t(360),t(318),t(386),t(344),t(350),t(345),t(325),"clockValues",t(311),"initialised","daysRemaining","css",t(307),t(323),t(329),t(310),".rotor-group-minutes",t(295),"1526115vkkYrd",t(381),t(319),t(362),t(290),t(333),t(299),t(352),"rotor-group-heading",t(339),t(351),t(304),"hasEndedCallback",t(321),"_updateClockValues"];return(a=function(){return o})()}function p(t,o){var r=n;return(t=t[r(300)]())[r(282)]<o?p("0"+t,o):t}function l(t,o){var r=n;o[r(316)]((function(o){t[r(252)](o)}))}!function(t,o){for(var r=e,i=s,n=t();;)try{if(427816==-parseInt(i(321))/1*(parseInt(i(320))/2)+parseInt(i(336))/3+-parseInt(i(253))/4*(-parseInt(i(290))/5)+-parseInt(i(302))/6+-parseInt(i(249))/7*(-parseInt(i(281))/8)+parseInt(i(312))/9+parseInt(i(262))/10*(-parseInt(i(250))/11))break;n[r(368)](n[r(353)]())}catch(t){n[r(368)](n[r(353)]())}}(a);const d=function(r,s,h,a,d,f,c,u,g,w,x){function m(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n(335),s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o(this,m);var h=e,a=n;if(t(r)!==a(347))throw new Error(h(355)+t(r)+a(305));t(i)===h(359)&&(this[a(326)]=i[0],this[a(330)]=a(338),this.initialised=!1,this[a(258)]=this[a(255)](),this[a(341)]=r,this[h(290)]=!1,this[a(348)]=null,this[a(264)]=[],this[h(370)]=[],this[a(349)]=[],this[a(314)]=[],this[a(254)]=[],this[a(333)]=null,this[a(328)]=0,this.clockValues={},this[a(323)]={},this[a(315)]=[],this[h(312)]=[],this[a(351)]=this[a(263)](s),this[a(286)]={0:a(294),1:a(261),2:a(352),3:a(306)},this[a(345)]())}var v,b;return v=m,b=[{key:r,value:function(t){var o=n;return this[o(327)]||this[o(303)](),this[o(333)]=setInterval(this[o(299)].bind(this),1e3),t(),this}},{key:s,value:function(t){var o=n;return this[o(348)]=function(){var r=o;t(),this[r(348)]=null,this[r(301)]()},this}},{key:h,value:function(){var t=n;return(new Date)[t(277)]()/1e3}},{key:"_hasCountdownEnded",value:function(){var t=n;return this.epoch-this[t(258)]<0?(this[t(340)]=!0,null!=this[t(348)]&&(this.hasEndedCallback(),this[t(348)]=null),!0):(this[t(340)]=!1,!1)}},{key:a,value:function(t){var o=e,r=n,i={headings:[r(346),r(292),r(307),o(376)],theme:t[r(310)](r(280))?t[r(280)]:r(279),hideDivision:!1};return Object[r(260)]({},i,t)}},{key:d,value:function(){var t=n;this[t(326)][t(343)][t(268)](t(285)+this[t(351)][t(280)])}},{key:f,value:function(){var t=e,o=n;this[o(327)]=!0,this[t(388)]()?this[o(257)]=0:this.daysremaining=Math[o(298)]((this[o(341)]-this[o(258)])/86400)[o(300)]()[o(282)];for(var r=this[t(302)]<=2?2:this.daysremaining,i=0;i<r+6;i++)this[o(264)][t(368)](this[o(289)](0));var s=[];for(i=0;i<r;i++)s[o(304)](this.rotors[i]);this[o(326)][o(252)](this[t(299)](s,0));var h=r;for(i=0;i<3;i++){for(var a=[],p=0;p<2;p++)a[o(304)](this[o(264)][h]),h++;this[o(326)][t(320)](this[o(342)](a,i+1))}return jQuery(this[t(311)])[t(335)](o(287))[t(338)](o(353),t(291)),this[o(278)]=Array[o(337)][o(313)].call(this[o(326)][o(354)](o(288))),this[t(321)]=Array[o(337)].slice[o(265)](this[o(326)][o(354)](o(270))),this[o(283)]=Array[o(337)].slice[o(265)](this[t(311)][o(354)](o(355))),this[o(267)]=Array[o(337)][t(371)][o(265)](this[o(326)][o(354)](o(317))),this._tick(),this[o(350)](!0),this}},{key:c,value:function(t,o){var r=e,i=n,s=document[r(323)]("div");s[i(266)]=i(274)+(this[i(286)][o]?r(358)+this[i(286)][o]:"");var h=document[i(331)](i(251));h[i(266)]=i(344),h[r(363)](i(324),this[i(351)][i(273)][o]);var a=document[i(331)](i(311));a[i(297)]=this[i(351)][r(379)][o],h[i(252)](a),s.appendChild(h);var p=document[i(331)](i(251));return p[i(266)]=i(284),l(p,t),s[i(252)](p),s}},{key:u,value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,o=e,r=n,i=document[r(331)](r(251)),s=document[r(331)](r(251)),h=document[r(331)](r(271)),a=document[r(331)](r(271)),p=document[o(323)](r(251)),d=document[o(323)](r(251));return i[r(266)]="rotor",s[r(266)]=r(269),h[r(266)]=r(332),a[r(266)]=r(308),p[o(354)]=r(275),d[r(266)]=r(322),h[r(297)]=t,p[r(297)]=t,d[r(297)]=t,l(i,[s,p,d]),l(s,[h,a]),i}},{key:g,value:function(){var t=e,o=n;this[o(258)]=this[o(255)]();var r=this[o(341)]-this[o(258)]<=0?0:this[o(341)]-this[o(258)];this[t(328)].d=Math[t(375)](r/86400),r-=86400*this[o(325)].d,0===this.clockValues.d&&this[t(308)][o(259)]&&jQuery(this[o(326)])[o(293)](o(291))[o(329)](o(353),o(339)),this[o(325)].h=Math[o(298)](r/3600),r-=3600*this[o(325)].h,0===this[o(325)].h&&0===this[o(325)].d&&this[o(351)][o(259)]&&jQuery(this[o(326)])[o(293)](o(318))[o(329)](o(353),o(339)),this[o(325)].m=Math[o(298)](r/60),r-=60*this[o(325)].m,0===this[o(325)].m&&0===this[t(328)].h&&0===this[o(325)].d&&this[o(351)][o(259)]&&jQuery(this[o(326)])[o(293)](o(334)).css(t(330),o(339)),this[o(325)].s=Math[t(375)](r),this[o(350)](),this[o(256)]()}},{key:w,value:function(){clearInterval(this[n(333)])}},{key:x,value:function(){var t=this,o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=e,i=n;function s(){var t=this,o=i;this[o(283)][o(316)]((function(r,i){var n=e;r[o(297)]!=t[n(382)][i]&&(r[n(315)]=t.clockValuesAsString[i])}))}function h(){var t=this,o=r,e=i;this[e(349)][o(367)]((function(o,r){var i=e;if(o[i(297)]!=t[i(315)][r]){o[i(297)]=t[i(315)][r],o[i(272)].classList[i(268)](i(319));var n=setInterval(function(){var t=i;o[t(272)][t(343)].remove(t(319)),clearInterval(n)}[i(296)](t),500)}}))}this[i(323)].d=p(this[r(328)].d,2),this[i(323)].h=p(this[i(325)].h,2),this[i(323)].m=p(this[i(325)].m,2),this[i(323)].s=p(this[r(328)].s,2),this[r(382)]=(this[i(323)].d+this[i(323)].h+this[i(323)].m+this[r(345)].s)[r(365)](""),this[r(370)][r(367)]((function(o,r){var e=i;o[e(297)]=t[e(309)][r]})),this[i(267)][i(316)]((function(o,e){var n=r;o[i(297)]=t[n(312)][e]})),o?(s[r(305)](this),h[i(265)](this)):(setTimeout(s[i(296)](this),500),setTimeout(h.bind(this),500)),this[i(309)]=this[r(382)]}}],b&&i(v.prototype,b),Object.defineProperty(v,"prototype",{writable:!1}),m}(n(295),n(276),n(255),n(263),n(345),n(303),n(342),n(289),n(299),n(301),n(350));function f(t,o){(null==o||o>t.length)&&(o=t.length);for(var r=0,i=new Array(o);r<o;r++)i[r]=t[r];return i}function c(){var t=["-subscribe-email-field","width","find","min","forEach","243975ElvYmJ","invalidEmail","resize","ajax","flipdown-size-xxs","6332168aGtrSb","POST","flipdown-size-sm","submitFormAction","show","values","29504JfMqCB","-timer-post-form-submit-text","440jwvowW","input change","labels","filter","-flipdown","empty","css","classes_prefix","block","data","-timer-subscribe-form","-countdown-timer-container","flipdown-size-xs","removeClass","hidedivisions","3224616pMerUG","ajaxUrl","3391507etiqNo","get","display","datetime","slideUp","val","132rAgHtJ","ifEnded","-timer-subscribe-form-wrapper","55467WjfRaT","reportValidity","keys","-countdown-timer-wrapper","start","toString","length","395hjJzpE","each","preventDefault","target","addClass","nonce","-subscribe-submit-btn","closest","remove","-complete-text","43908HKtaVM"];return(c=function(){return t})()}function u(t,o){var r=c();return(u=function(t,o){return r[t-=453]})(t,o)}r(903),function(t,o){for(var r=u,i=t();;)try{if(455365==-parseInt(r(491))/1+parseInt(r(502))/2*(-parseInt(r(465))/3)+parseInt(r(457))/4+parseInt(r(475))/5*(parseInt(r(485))/6)+parseInt(r(459))/7+-parseInt(r(496))/8+-parseInt(r(468))/9*(-parseInt(r(504))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(c),function(t){var o=u,r=gpls_wpsctr_simple_countdown_timer_localized_data,i="."+r[o(511)],e=t(i+o(508)),n={200:o(495),400:o(454),650:o(498)};function s(t){var r=o,e=t[r(482)](i+r(453));t[r(479)](h(e[r(487)]()))}function h(t){var r,i=o,e=Object[i(470)](n)[i(507)]((function(o){return o>t}));if(e[i(474)]){var s=Math[i(489)].apply(Math,function(t){if(Array.isArray(t))return f(t)}(r=e[i(507)]((function(t){return parseInt(t)})))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(r)||function(t,o){if(t){if("string"==typeof t)return f(t,o);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(t,o):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());return n[s[i(473)]()]}return""}function a(t){var r=o,e=t[r(482)](i+r(453));t[r(482)](i+r(471))[r(509)](),t[r(513)]("completetext")&&e[r(488)](i+r(484))[r(510)](r(461),r(512))}t((function(n){var h;e[o(476)]((function(){!function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=o,n=i||t[e(513)](e(462)),h=t[e(513)](e(456)),p={headings:Object[e(501)](r.labels.flipDownHeading),hideDivision:h};t[e(509)](),new d(n,t,p)[e(472)]((function(){var o=e;s(t),t[o(500)](),t[o(479)]("started")}))[e(466)]((function(){t[e(463)](400,(function(){a(t)}))}))}(t(this))})),h=o,t(document).on("click",i+h(481),(function(o){var e=h;o[e(477)]();var n=t(o[e(478)])[e(482)](i+e(514)),s=n[e(488)](i+e(467)),a=n[e(488)](i+e(486)),p=a[e(460)](0),l=n[e(513)]("id"),d=a[e(464)]();if(!p.checkValidity()||0===d[e(474)])return p.setCustomValidity(r[e(506)][e(492)]),void p[e(469)]();t[e(494)]({method:e(497),url:r[e(458)],data:{action:r[e(499)],nonce:r[e(480)],email:d,post_id:l},success:function(t){},error:function(t){}}),s.slideUp(400,(function(){var t=e;s[t(483)](),n.find("."+r.classes_prefix+t(503)).show()}))})),t(document).on(h(505),i+h(486),(function(o){var r=h;t(this)[r(460)](0).setCustomValidity("")}))})),t(window).on(o(493),(function(){var r=o;t(i+"-flipdown")[r(476)]((function(o){var e=r,s=t(this),a=s[e(482)](i+e(453));Object[e(501)](n)[e(490)]((function(t){s[e(455)](t)})),s[e(479)](h(a[e(487)]()))}))}))}(jQuery)})()})();
(()=>{var e=document.querySelectorAll(".main-nav .sub-menu, .main-nav .children");if(e&&e.forEach(function(e){var t,n=e.closest("li"),s=n.querySelector('.dropdown-menu-toggle[role="button"]');e.id||(t=n.id||"menu-item-"+Math.floor(1e5*Math.random()),e.id=t+"-sub-menu"),(s=s||n.querySelector('a[role="button"]'))&&s.setAttribute("aria-controls",e.id)}),"querySelector"in document&&"addEventListener"in window){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(document.documentElement.contains(this))do{if(t.matches(e))return t}while(null!==(t=t.parentElement));return null});var o=function(t){return Array.prototype.filter.call(t.parentNode.children,function(e){return e!==t})},t=document.querySelectorAll(".menu-toggle"),n=document.querySelectorAll("nav .dropdown-menu-toggle"),s=document.querySelectorAll("nav .main-nav ul a"),l=document.querySelector(".mobile-menu-control-wrapper"),c=document.body,u=document.documentElement,d=function(e){if(e&&c.classList.contains("dropdown-hover")){var t=e.querySelectorAll("li.menu-item-has-children");for(h=0;h<t.length;h++)t[h].querySelector(".dropdown-menu-toggle").removeAttribute("tabindex"),t[h].querySelector(".dropdown-menu-toggle").setAttribute("role","presentation"),t[h].querySelector(".dropdown-menu-toggle").removeAttribute("aria-expanded"),t[h].querySelector(".dropdown-menu-toggle").removeAttribute("aria-controls"),t[h].querySelector(".dropdown-menu-toggle").removeAttribute("aria-label")}},r=function(e){"false"!==e.getAttribute("aria-expanded")&&e.getAttribute("aria-expanded")?(e.setAttribute("aria-expanded","false"),e.setAttribute("aria-label",generatepressMenu.openSubMenuLabel)):(e.setAttribute("aria-expanded","true"),e.setAttribute("aria-label",generatepressMenu.closeSubMenuLabel))},a=function(e,t){var n="";if(n=(t=t||this).getAttribute("data-nav")?document.getElementById(t.getAttribute("data-nav")):document.getElementById(t.closest("nav").getAttribute("id"))){var s=!1,o=(t.closest(".mobile-menu-control-wrapper")&&(s=!0),n.getElementsByTagName("ul")[0]);if(n.classList.contains("toggled"))n.classList.remove("toggled"),u.classList.remove("mobile-menu-open"),o&&o.setAttribute("aria-hidden","true"),t.setAttribute("aria-expanded","false"),(s||l&&n.classList.contains("main-navigation"))&&l.classList.remove("toggled"),d(o);else{n.classList.add("toggled"),u.classList.add("mobile-menu-open"),o&&o.setAttribute("aria-hidden","false"),t.setAttribute("aria-expanded","true"),s?(l.classList.add("toggled"),l.querySelector(".search-item")&&l.querySelector(".search-item").classList.contains("active")&&l.querySelector(".search-item").click()):l&&n.classList.contains("main-navigation")&&l.classList.add("toggled");t=o;if(t&&c.classList.contains("dropdown-hover")){var r=t.querySelectorAll("li.menu-item-has-children");for(h=0;h<r.length;h++){var a=r[h].querySelector(".dropdown-menu-toggle"),i=a.closest("li").querySelector(".sub-menu, .children");a.setAttribute("tabindex","0"),a.setAttribute("role","button"),a.setAttribute("aria-expanded","false"),a.setAttribute("aria-controls",i.id),a.setAttribute("aria-label",generatepressMenu.openSubMenuLabel)}}}}};for(h=0;h<t.length;h++)t[h].addEventListener("click",a,!1);var i=function(e,t){if(((t=t||this).closest("nav").classList.contains("toggled")||u.classList.contains("slide-opened"))&&!c.classList.contains("dropdown-click")){e.preventDefault();var n,t=t.closest("li");if(r(t.querySelector(".dropdown-menu-toggle")),n=t.querySelector(".sub-menu")?t.querySelector(".sub-menu"):t.querySelector(".children"),generatepressMenu.toggleOpenedSubMenus){var s=o(t);for(h=0;h<s.length;h++)s[h].classList.contains("sfHover")&&(s[h].classList.remove("sfHover"),s[h].querySelector(".toggled-on").classList.remove("toggled-on"),r(s[h].querySelector(".dropdown-menu-toggle")))}t.classList.toggle("sfHover"),n.classList.toggle("toggled-on")}e.stopPropagation()};for(h=0;h<n.length;h++)n[h].addEventListener("click",i,!1),n[h].addEventListener("keypress",function(e){"Enter"!==e.key&&" "!==e.key||i(e,this)},!1);e=function(){var e=document.querySelectorAll(".toggled, .has-active-search");for(h=0;h<e.length;h++){var t=e[h].querySelector(".menu-toggle");if((t=l&&!t.closest("nav").classList.contains("mobile-menu-control-wrapper")?l.querySelector(".menu-toggle"):t)&&null===t.offsetParent){if(e[h].classList.contains("toggled")){var n,s,o,r=!1;if((r=e[h].classList.contains("mobile-menu-control-wrapper")?!0:r)||(s=(n=e[h].getElementsByTagName("ul")[0])?n.getElementsByTagName("li"):[],o=n?n.getElementsByTagName("ul"):[]),document.activeElement.blur(),e[h].classList.remove("toggled"),u.classList.remove("mobile-menu-open"),t.setAttribute("aria-expanded","false"),!r){for(var a=0;a<s.length;a++)s[a].classList.remove("sfHover");for(var i=0;i<o.length;i++)o[i].classList.remove("toggled-on");n&&n.removeAttribute("aria-hidden")}d(e[h])}l.querySelector(".search-item")&&l.querySelector(".search-item").classList.contains("active")&&l.querySelector(".search-item").click()}}};if(window.addEventListener("resize",e,!1),window.addEventListener("orientationchange",e,!1),c.classList.contains("dropdown-hover"))for(h=0;h<s.length;h++)s[h].addEventListener("click",function(e){var t;this.hostname!==window.location.hostname&&document.activeElement.blur(),(this.closest("nav").classList.contains("toggled")||u.classList.contains("slide-opened"))&&("#"===(t=this.getAttribute("href"))||""===t)&&(e.preventDefault(),(t=this.closest("li")).classList.toggle("sfHover"),e=t.querySelector(".sub-menu"))&&e.classList.toggle("toggled-on")},!1);if(c.classList.contains("dropdown-hover")){for(var m=document.querySelectorAll(".menu-bar-items .menu-bar-item > a"),g=function(){if(!this.closest("nav").classList.contains("toggled")&&!this.closest("nav").classList.contains("slideout-navigation"))for(var e=this;-1===e.className.indexOf("main-nav");)"li"===e.tagName.toLowerCase()&&e.classList.toggle("sfHover"),e=e.parentElement},v=function(){if(!this.closest("nav").classList.contains("toggled")&&!this.closest("nav").classList.contains("slideout-navigation"))for(var e=this;-1===e.className.indexOf("menu-bar-items");)e.classList.contains("menu-bar-item")&&e.classList.toggle("sfHover"),e=e.parentElement},h=0;h<s.length;h++)s[h].addEventListener("focus",g),s[h].addEventListener("blur",g);for(h=0;h<m.length;h++)m[h].addEventListener("focus",v),m[h].addEventListener("blur",v)}if("ontouchend"in document.documentElement&&document.body.classList.contains("dropdown-hover")){var f=document.querySelectorAll(".sf-menu .menu-item-has-children");for(h=0;h<f.length;h++)f[h].addEventListener("touchend",function(e){if(!(this.closest("nav").classList.contains("toggled")||1!==e.touches.length&&0!==e.touches.length||(e.stopPropagation(),this.classList.contains("sfHover")))){e.target!==this&&e.target.parentNode!==this&&!e.target.parentNode.parentNode||e.preventDefault();var e=this.closest("li"),t=o(e);for(h=0;h<t.length;h++)t[h].classList.contains("sfHover")&&t[h].classList.remove("sfHover");this.classList.add("sfHover");var n,s=this;document.addEventListener("touchend",n=function(e){e.stopPropagation(),s.classList.remove("sfHover"),document.removeEventListener("touchend",n)})}})}}})();
window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode&&"a"!==E.activeElement.tagName.toLowerCase())return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,i=d.length;o<i;o++)(n=d[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&&h&&(g(b.parentIdFieldId).value="0",t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display="none",n=(d=(d=g(b.commentReplyTitleId))&&d.firstChild)&&d.nextSibling,d&&d.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,d=m(n,"belowelement"),o=m(n,"commentid"),i=m(n,"respondelement"),r=m(n,"postid"),n=m(n,"replyto")||t;d&&o&&i&&r&&!1===v.addComment.moveForm(d,o,i,r,n)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return r&&"loading"!==E.readyState?t():r&&v.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var i,r,l,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===o&&(o=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),d&&y&&(y.value=d),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=o),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],r=!1,"getComputedStyle"in v?l=v.getComputedStyle(i):E.documentElement.currentStyle&&(l=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===l.visibility)&&(r=!0),"hidden"!==i.type&&!i.disabled&&!r){i.focus();break}}catch(e){}return!1}}}}(window);
var advanced_ads_adblocker_test=navigator.brave===undefined ? true:undefined;
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=116)}({116:function(e,t,n){"use strict";n.r(t);var r=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var o=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var i=function(e,t){return function(n,i,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,l=e[t];if(o(n)&&r(i))if("function"==typeof a)if("number"==typeof s){var c={callback:a,priority:s,namespace:i};if(l[n]){var u,d=l[n].handlers;for(u=d.length;u>0&&!(s>=d[u-1].priority);u--);u===d.length?d[u]=c:d.splice(u,0,c),l.__current.forEach((function(e){e.name===n&&e.currentIndex>=u&&e.currentIndex++}))}else l[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,i,a,s)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(i,a){var s=e[t];if(o(i)&&(n||r(a))){if(!s[i])return 0;var l=0;if(n)l=s[i].handlers.length,s[i]={runs:s[i].runs,handlers:[]};else for(var c=s[i].handlers,u=function(e){c[e].namespace===a&&(c.splice(e,1),l++,s.__current.forEach((function(t){t.name===i&&t.currentIndex>=e&&t.currentIndex--})))},d=c.length-1;d>=0;d--)u(d);return"hookRemoved"!==i&&e.doAction("hookRemoved",i,a),l}}};var s=function(e,t){return function(n,r){var o=e[t];return void 0!==r?n in o&&o[n].handlers.some((function(e){return e.namespace===r})):n in o}};var l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){var o=e[t];o[r]||(o[r]={handlers:[],runs:0}),o[r].runs++;var i=o[r].handlers;for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];if(!i||!i.length)return n?s[0]:void 0;var c={name:r,currentIndex:0};for(o.__current.push(c);c.currentIndex<i.length;){var u=i[c.currentIndex],d=u.callback.apply(null,s);n&&(s[0]=d),c.currentIndex++}return o.__current.pop(),n?s[0]:void 0}};var c=function(e,t){return function(){var n,r,o=e[t];return null!==(n=null===(r=o.__current[o.__current.length-1])||void 0===r?void 0:r.name)&&void 0!==n?n:null}};var u=function(e,t){return function(n){var r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}};var d=function(e,t){return function(n){var r=e[t];if(o(n))return r[n]&&r[n].runs?r[n].runs:0}},f=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=i(this,"actions"),this.addFilter=i(this,"filters"),this.removeAction=a(this,"actions"),this.removeFilter=a(this,"filters"),this.hasAction=s(this,"actions"),this.hasFilter=s(this,"filters"),this.removeAllActions=a(this,"actions",!0),this.removeAllFilters=a(this,"filters",!0),this.doAction=l(this,"actions"),this.applyFilters=l(this,"filters",!0),this.currentAction=c(this,"actions"),this.currentFilter=c(this,"filters"),this.doingAction=u(this,"actions"),this.doingFilter=u(this,"filters"),this.didAction=d(this,"actions"),this.didFilter=d(this,"filters")};var h=function(){return new f},p=h();p.addAction,p.addFilter,p.removeAction,p.removeFilter,p.hasAction,p.hasFilter,p.removeAllActions,p.removeAllFilters,p.doAction,p.applyFilters,p.currentAction,p.currentFilter,p.doingAction,p.doingFilter,p.didAction,p.didFilter,p.actions,p.filters;function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=v(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==v(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}window.isEditMode=!1,window.eael=window.ea={hooks:h(),isEditMode:!1,elementStatusCheck:function(e){return!(!window.eaElementList||!(e in window.eaElementList))||(window.eaElementList=y(y({},window.eaElementList),{},g({},e,!0)),!1)},debounce:function(e,t){var n;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout((function(){e.apply(r,o)}),t)}}},eael.hooks.addAction("widgets.reinit","ea",(function(e){var t=jQuery(".eael-filter-gallery-container",e),n=jQuery(".eael-post-grid:not(.eael-post-carousel)",e),r=jQuery(".eael-twitter-feed-masonry",e),o=jQuery(".eael-instafeed",e),i=jQuery(".premium-gallery-container",e),a=jQuery(".eael-event-calendar-cls",e),s=jQuery(".eael-testimonial-slider",e),l=jQuery(".eael-tm-carousel",e),c=jQuery(".eael-post-carousel:not(.eael-post-grid)",e),u=jQuery(".eael-logo-carousel",e),d=jQuery(".eael-twitter-feed-carousel",e);t.length&&t.isotope("layout"),n.length&&n.isotope("layout"),r.length&&r.isotope("layout"),o.length&&o.isotope("layout"),i.length&&i.isotope("layout"),a.length&&eael.hooks.doAction("eventCalendar.reinit"),s.length&&eael.hooks.doAction("testimonialSlider.reinit"),l.length&&eael.hooks.doAction("teamMemberCarousel.reinit"),c.length&&eael.hooks.doAction("postCarousel.reinit"),u.length&&eael.hooks.doAction("logoCarousel.reinit"),d.length&&eael.hooks.doAction("twitterCarousel.reinit")}));var w,b=function(e){void 0===window.eaelPreventResizeOnClick&&window.dispatchEvent(new Event("resize")),(e="object"===v(e)?e:jQuery(e)).find(".swiper-wrapper").each((function(){var e=jQuery(this).css("transform");jQuery(this).css("transform",e)}))};eael.hooks.addAction("ea-advanced-tabs-triggered","ea",b),eael.hooks.addAction("ea-advanced-accordion-triggered","ea",b),jQuery(window).on("elementor/frontend/init",(function(){window.isEditMode=elementorFrontend.isEditMode(),window.eael.isEditMode=elementorFrontend.isEditMode(),eael.hooks.doAction("init"),eael.isEditMode&&eael.hooks.doAction("editMode.init")})),function(e){eael.getToken=function(){localize.nonce&&!eael.noncegenerated&&e.ajax({url:localize.ajaxurl,type:"post",data:{action:"eael_get_token"},success:function(e){e.success&&(localize.nonce=e.data.nonce,eael.noncegenerated=!0)}})},eael.sanitizeURL=function(e){if(e.startsWith("/")||e.startsWith("#"))return e;try{var t=new URL(e);if(!["http:","https:","ftp:","ftps:","mailto:","news:","irc:","irc6:","ircs:","gopher:","nntp:","feed:","telnet:","mms:","rtsp:","sms:","svn:","tel:","fax:","xmpp:","webcal:","urn:"].includes(t.protocol))throw new Error("Invalid protocol");return t.toString()}catch(e){return console.error("Error sanitizing URL:",e.message),"#"}};var t=!0;window.addEventListener("hashchange",(function(){if(t){var n=window.location.hash.substr(1);"undefined"!==(n="safari"===n?"eael-safari":n)&&n&&/^[A-Za-z][-A-Za-z0-9_:.]*$/.test(n)&&e("#"+n).trigger("click")}})),e("a").on("click",(function(n){var r,o=e(this).attr("href");(r=(o=void 0===o?"":o).startsWith("#"))||(r=(o=o.replace(localize.page_permalink,"")).startsWith("#")),r&&(t=!1,setTimeout((function(){t=!0}),100));try{if(o.startsWith("#!")){var i=o.replace("#!","#");e(i).trigger("click")}else if(r&&(e(o).hasClass("eael-tab-item-trigger")||e(o).hasClass("eael-accordion-header"))&&(e(o).trigger("click"),void 0!==o&&o)){var a=e(o).closest(".eael-advance-tabs");if(a.length>0){var s=a.data("custom-id-offset");s=s?parseFloat(s):0,e("html, body").animate({scrollTop:e(o).offset().top-s},300)}}}catch(e){}})),e(document).on("click",".e-n-tab-title",(function(){setTimeout((function(){window.dispatchEvent(new Event("resize"))}),100)}))}(jQuery),(w=jQuery)(document).on("click",".theme-savoy .eael-product-popup .nm-qty-minus, .theme-savoy .eael-product-popup .nm-qty-plus",(function(e){var t=w(this),n=t.closest(".quantity").find(".qty"),r=parseFloat(n.val()),o=parseFloat(n.attr("max")),i=parseFloat(n.attr("min")),a=n.attr("step");r&&""!==r&&"NaN"!==r||(r=0),""!==o&&"NaN"!==o||(o=""),""!==i&&"NaN"!==i||(i=0),"any"!==a&&""!==a&&void 0!==a&&"NaN"!==parseFloat(a)||(a=1),t.hasClass("nm-qty-plus")?o&&(o==r||r>o)?n.val(o):n.val(r+parseFloat(a)):i&&(i==r||r<i)?n.val(i):r>0&&n.val(r-parseFloat(a))})),function(e){e.fn.isInViewport=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;if(e(this).length<1)return!1;var n=e(this).offset().top,r=n+e(this).outerHeight()/t,o=e(window).scrollTop(),i=o+e(window).height()/t;return r>o&&n<i},e(document).ready((function(){var e=new URLSearchParams(location.search);if(e.has("popup-selector")&&(e.has("eael-lostpassword")||e.has("eael-resetpassword"))){var t=e.get("popup-selector");t.length&&/^[A-Za-z.#][A-Za-z0-9_:.#\s-]*$/.test(t)&&(t=t.replace(/_/g," "),setTimeout((function(){jQuery(t).trigger("click")}),300))}})),e(document).on("click",".eael-onpage-edit-template",(function(){var t=e(this),n=t.data("eael-template-id"),r=t.data("page-id"),o=t.data("mode");"edit"===o?(parent.window.$e.internal("panel/state-loading"),parent.window.$e.run("editor/documents/switch",{id:parseInt(n)}).then((function(){t.data("mode","save"),t.find("span").text("Save & Back"),t.find("i").addClass("eicon-arrow-left").removeClass("eicon-edit"),t.closest(".eael-onpage-edit-template-wrapper").addClass("eael-onpage-edit-activate").parent().addClass("eael-widget-otea-active"),parent.window.$e.internal("panel/state-ready")}))):"save"===o&&(parent.window.$e.internal("panel/state-loading"),parent.window.$e.run("editor/documents/switch",{id:parseInt(r),mode:"save",shouldScroll:!1}).then((function(){parent.window.$e.internal("panel/state-ready"),t.data("mode","edit")})))}))}(jQuery)}});