var runtime=function(t){"use strict";var r,e=Object.prototype,n=e.hasOwnProperty,o=(m="function"==typeof Symbol?Symbol:{}).iterator||"@@iterator",i=m.asyncIterator||"@@asyncIterator",a=m.toStringTag||"@@toStringTag";function c(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{c({},"")}catch(e){c=function(t,r,e){return t[r]=e}}function u(t,e,n,o){var i,a,c,u;e=e&&e.prototype instanceof g?e:g,e=Object.create(e.prototype),o=new j(o||[]);return e._invoke=(i=t,a=n,c=o,u=l,function(t,e){if(u===s)throw new Error("Generator is already running");if(u===p){if("throw"===t)throw e;return k()}for(c.method=t,c.arg=e;;){var n=c.delegate;if(n&&(n=function t(e,n){var o=e.iterator[n.method];if(o===r){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=r,t(e,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}return"throw"===(o=h(o,e.iterator,n.arg)).type?(n.method="throw",n.arg=o.arg,n.delegate=null,y):(o=o.arg)?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=r),n.delegate=null,y):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}(n,c),n)){if(n===y)continue;return n}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(u===l)throw u=p,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);if(u=s,"normal"===(n=h(i,a,c)).type){if(u=c.done?p:f,n.arg!==y)return{value:n.arg,done:c.done}}else"throw"===n.type&&(u=p,c.method="throw",c.arg=n.arg)}}),e}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var l="suspendedStart",f="suspendedYield",s="executing",p="completed",y={};function g(){}function d(){}function v(){}var m,w,L=((w=(w=(c(m={},o,(function(){return this})),Object.getPrototypeOf))&&w(w(O([]))))&&w!==e&&n.call(w,o)&&(m=w),v.prototype=g.prototype=Object.create(m));function x(t){["next","throw","return"].forEach((function(r){c(t,r,(function(t){return this._invoke(r,t)}))}))}function b(t,r){var e;this._invoke=function(o,i){function a(){return new r((function(e,a){!function e(o,i,a,c){var u;if("throw"!==(o=h(t[o],t,i)).type)return(i=(u=o.arg).value)&&"object"==typeof i&&n.call(i,"__await")?r.resolve(i.__await).then((function(t){e("next",t,a,c)}),(function(t){e("throw",t,a,c)})):r.resolve(i).then((function(t){u.value=t,a(u)}),(function(t){return e("throw",t,a,c)}));c(o.arg)}(o,i,e,a)}))}return e=e?e.then(a,a):a()}}function E(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function _(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var e,i=t[o];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(i=function o(){for(;++e<t.length;)if(n.call(t,e))return o.value=t[e],o.done=!1,o;return o.value=r,o.done=!0,o}).next=i}return{next:k}}function k(){return{value:r,done:!0}}return c(L,"constructor",d.prototype=v),c(v,"constructor",d),d.displayName=c(v,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){return!!(t="function"==typeof t&&t.constructor)&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,c(t,a,"GeneratorFunction")),t.prototype=Object.create(L),t},t.awrap=function(t){return{__await:t}},x(b.prototype),c(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var a=new b(u(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(L),c(L,a,"Generator"),c(L,o,(function(){return this})),c(L,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r,e=[];for(r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;0<=i;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),h=n.call(a,"finallyLoc");if(u&&h){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!h)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}var a=(i=i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc?null:i)?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),y},finish:function(t){for(var r=this.tryEntries.length-1;0<=r;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),_(e),y}},catch:function(t){for(var r=this.tryEntries.length-1;0<=r;--r){var e,n,o=this.tryEntries[r];if(o.tryLoc===t)return"throw"===(e=o.completion).type&&(n=e.arg,_(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}},t}("object"==typeof module?module.exports:{});try{regeneratorRuntime=runtime}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=runtime:Function("r","regeneratorRuntime=r")(runtime)};
!function(t){"use strict";var n,r,e;r={},(e=function(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return n[t].call(o.exports,o,o.exports,e),o.l=!0,o.exports}).m=n=[function(t,n,r){r(1),r(67),r(68),r(72),t.exports=r(79)},function(n,r,e){var o=e(2),i=e(36),u=e(57),c=e(56);e=e(62);o({target:"Array",proto:!0},{at:function(n){var r=i(this),e=u(r);return(n=0<=(n=c(n))?n:e+n)<0||e<=n?t:r[n]}}),e("at")},function(n,r,e){var o=e(3),i=e(4).f,u=e(40),c=e(43),f=e(34),a=e(50),p=e(61);n.exports=function(n,r){var e,s,l,y=n.target,v=n.global,d=n.stat,b=v?o:d?o[y]||f(y,{}):(o[y]||{}).prototype;if(b)for(e in r){if(s=r[e],l=n.noTargetGet?(l=i(b,e))&&l.value:b[e],!p(v?e:y+(d?".":"#")+e,n.forced)&&l!==t){if(typeof s==typeof l)continue;a(s,l)}(n.sham||l&&l.sham)&&u(s,"sham",!0),c(b,e,s,n)}}},function(t,n){function r(t){return t&&t.Math==Math&&t}t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof global&&global)||function(){return this}()||Function("return this")()},function(t,n,r){var e=r(5),o=r(7),i=r(8),u=r(9),c=r(10),f=r(15),a=r(35),p=r(38),s=Object.getOwnPropertyDescriptor;n.f=e?s:function(t,n){if(t=c(t),n=f(n),p)try{return s(t,n)}catch(t){}if(a(t,n))return u(!o(i.f,t,n),t[n])}},function(t,n,r){r=r(6),t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,n,r){var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){return!!(t=o(this,t))&&t.enumerable}:e},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(11),o=r(14);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(3),o=r(12),i=r(6),u=r(13),c=e.Object,f=o("".split);t.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?f(t,""):c(t)}:c},function(t,n){var r=Function.prototype,e=r.bind,o=r.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n,r){var e=(r=r(12))({}.toString),o=r("".slice);t.exports=function(t){return o(e(t),8,-1)}},function(n,r,e){var o=e(3).TypeError;n.exports=function(n){if(n==t)throw o("Can't call method on "+n);return n}},function(t,n,r){var e=r(16),o=r(19);t.exports=function(t){return t=e(t,"string"),o(t)?t:t+""}},function(n,r,e){var o=e(3),i=e(7),u=e(17),c=e(19),f=e(26),a=e(29),p=(e=e(30),o.TypeError),s=e("toPrimitive");n.exports=function(n,r){if(!u(n)||c(n))return n;var e=f(n,s);if(e){if(e=i(e,n,r=r===t?"default":r),!u(e)||c(e))return e;throw p("Can't convert object to primitive value")}return a(n,r=r===t?"number":r)}},function(t,n,r){var e=r(18);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n,r){var e=r(3),o=r(20),i=r(18),u=r(21),c=(r=r(22),e.Object);t.exports=r?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return i(n)&&u(n.prototype,c(t))}},function(n,r,e){var o=e(3),i=e(18);n.exports=function(n,r){return arguments.length<2?(e=o[n],i(e)?e:t):o[n]&&o[n][r];var e}},function(t,n,r){r=r(12),t.exports=r({}.isPrototypeOf)},function(t,n,r){r=r(23),t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,r){var e=r(24);r=r(6);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},function(t,n,r){var e,o,i=r(3),u=r(25);r=i.process,i=i.Deno;!(o=(i=(i=r&&r.versions||i&&i.version)&&i.v8)?0<(e=i.split("."))[0]&&e[0]<4?1:+(e[0]+e[1]):o)&&u&&(!(e=u.match(/Edge\/(\d+)/))||74<=e[1])&&(e=u.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},function(t,n,r){r=r(20),t.exports=r("navigator","userAgent")||""},function(n,r,e){var o=e(27);n.exports=function(n,r){return null==(r=n[r])?t:o(r)}},function(t,n,r){var e=r(3),o=r(18),i=r(28),u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},function(t,n,r){var e=r(3).String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},function(t,n,r){var e=r(3),o=r(7),i=r(18),u=r(17),c=e.TypeError;t.exports=function(t,n){var r,e;if("string"===n&&i(r=t.toString)&&!u(e=o(r,t)))return e;if(i(r=t.valueOf)&&!u(e=o(r,t)))return e;if("string"!==n&&i(r=t.toString)&&!u(e=o(r,t)))return e;throw c("Can't convert object to primitive value")}},function(t,n,r){var e=r(3),o=r(31),i=r(35),u=r(37),c=r(23),f=r(22),a=o("wks"),p=e.Symbol,s=p&&p.for,l=f?p:p&&p.withoutSetter||u;t.exports=function(t){var n;return i(a,t)&&(c||"string"==typeof a[t])||(n="Symbol."+t,c&&i(p,t)?a[t]=p[t]:a[t]=(f&&s?s:l)(n)),a[t]}},function(n,r,e){var o=e(32),i=e(33);(n.exports=function(n,r){return i[n]||(i[n]=r!==t?r:{})})("versions",[]).push({version:"3.19.1",mode:o?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,n){t.exports=!1},function(t,n,r){var e=r(3),o=r(34);r=e[r="__core-js_shared__"]||o(r,{});t.exports=r},function(t,n,r){var e=r(3),o=Object.defineProperty;t.exports=function(t,n){try{o(e,t,{value:n,configurable:!0,writable:!0})}catch(r){e[t]=n}return n}},function(t,n,r){var e=r(12),o=r(36),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,r){var e=r(3),o=r(14),i=e.Object;t.exports=function(t){return i(o(t))}},function(n,r,e){e=e(12);var o=0,i=Math.random(),u=e(1..toString);n.exports=function(n){return"Symbol("+(n===t?"":n)+")_"+u(++o+i,36)}},function(t,n,r){var e=r(5),o=r(6),i=r(39);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(3),o=(r=r(17),e.document),i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(5),o=r(41),i=r(9);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(3),o=r(5),i=r(38),u=r(42),c=r(15),f=e.TypeError,a=Object.defineProperty;n.f=o?a:function(t,n,r){if(u(t),n=c(n),u(r),i)try{return a(t,n,r)}catch(t){}if("get"in r||"set"in r)throw f("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(3),o=r(17),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(n,r,e){var o=e(3),i=e(18),u=e(35),c=e(40),f=e(34),a=e(44),p=e(45),s=e(49).CONFIGURABLE,l=p.get,y=p.enforce,v=String(String).split("String");(n.exports=function(n,r,e,a){var p=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet,b=a&&a.name!==t?a.name:r;i(e)&&("Symbol("===String(b).slice(0,7)&&(b="["+String(b).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!u(e,"name")||s&&e.name!==b)&&c(e,"name",b),(a=y(e)).source||(a.source=v.join("string"==typeof b?b:""))),n!==o?(p?!d&&n[r]&&(l=!0):delete n[r],l?n[r]=e:c(n,r,e)):l?n[r]=e:f(r,e)})(Function.prototype,"toString",(function(){return i(this)&&l(this).source||a(this)}))},function(t,n,r){var e=r(12),o=r(18),i=(r=r(33),e(Function.toString));o(r.inspectSource)||(r.inspectSource=function(t){return i(t)}),t.exports=r.inspectSource},function(t,n,r){var e,o,i,u,c,f,a,p,s=r(46),l=r(3),y=r(12),v=r(17),d=r(40),b=r(35),g=r(33),m=r(47),h=(r=r(48),"Object already initialized"),x=l.TypeError;l=l.WeakMap;a=s||g.state?(e=g.state||(g.state=new l),o=y(e.get),i=y(e.has),u=y(e.set),c=function(t,n){if(i(e,t))throw new x(h);return n.facade=t,u(e,t,n),n},f=function(t){return o(e,t)||{}},function(t){return i(e,t)}):(r[p=m("state")]=!0,c=function(t,n){if(b(t,p))throw new x(h);return n.facade=t,d(t,p,n),n},f=function(t){return b(t,p)?t[p]:{}},function(t){return b(t,p)}),t.exports={set:c,get:f,has:a,enforce:function(t){return a(t)?f(t):c(t,{})},getterFor:function(t){return function(n){var r;if(!v(n)||(r=f(n)).type!==t)throw x("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(3),o=r(18);r=r(44),e=e.WeakMap;t.exports=o(e)&&/native code/.test(r(e))},function(t,n,r){var e=r(31),o=r(37),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports={}},function(t,n,r){var e=r(5),o=r(35),i=Function.prototype,u=e&&Object.getOwnPropertyDescriptor;o=(r=o(i,"name"))&&"something"===function(){}.name,i=r&&(!e||e&&u(i,"name").configurable);t.exports={EXISTS:r,PROPER:o,CONFIGURABLE:i}},function(t,n,r){var e=r(35),o=r(51),i=r(4),u=r(41);t.exports=function(t,n){for(var r=o(n),c=u.f,f=i.f,a=0;a<r.length;a++){var p=r[a];e(t,p)||c(t,p,f(n,p))}}},function(t,n,r){var e=r(20),o=r(12),i=r(52),u=r(60),c=r(42),f=o([].concat);t.exports=e("Reflect","ownKeys")||function(t){var n=i.f(c(t)),r=u.f;return r?f(n,r(t)):n}},function(t,n,r){var e=r(53),o=r(59).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(12),o=r(35),i=r(10),u=r(54).indexOf,c=r(48),f=e([].push);t.exports=function(t,n){var r,e=i(t),a=0,p=[];for(r in e)!o(c,r)&&o(e,r)&&f(p,r);for(;n.length>a;)o(e,r=n[a++])&&(~u(p,r)||f(p,r));return p}},function(t,n,r){var e=r(10),o=r(55),i=r(57);r=function(t){return function(n,r,u){var c,f=e(n),a=i(f),p=o(u,a);if(t&&r!=r){for(;p<a;)if((c=f[p++])!=c)return!0}else for(;p<a;p++)if((t||p in f)&&f[p]===r)return t||p||0;return!t&&-1}};t.exports={includes:r(!0),indexOf:r(!1)}},function(t,n,r){var e=r(56),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return(t=+t)!=t||0==t?0:(0<t?e:r)(t)}},function(t,n,r){var e=r(58);t.exports=function(t){return e(t.length)}},function(t,n,r){var e=r(56),o=Math.min;t.exports=function(t){return 0<t?o(e(t),9007199254740991):0}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(6),o=r(18),i=/#|\.prototype\./,u=(r=function(t,n){return(t=c[u(t)])==a||t!=f&&(o(n)?e(n):!!n)},r.normalize=function(t){return String(t).replace(i,".").toLowerCase()}),c=r.data={},f=r.NATIVE="N",a=r.POLYFILL="P";t.exports=r},function(n,r,e){var o=e(30),i=e(63),u=(e=e(41),o("unscopables")),c=Array.prototype;c[u]==t&&e.f(c,u,{configurable:!0,value:i(null)}),n.exports=function(t){c[u][t]=!0}},function(n,r,e){function o(){}function i(t){return"<script>"+t+"</"+v+">"}var u,c=e(42),f=e(64),a=e(59),p=e(48),s=e(66),l=e(39),y=(e=e(47),"prototype"),v="script",d=e("IE_PROTO"),b=function(){try{u=new ActiveXObject("htmlfile")}catch(t){}var t;b="undefined"==typeof document||document.domain&&u?function(t){t.write(i("")),t.close();var n=t.parentWindow.Object;return t=null,n}(u):((t=l("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(t=t.contentWindow.document).open(),t.write(i("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete b[y][a[n]];return b()};p[d]=!0,n.exports=Object.create||function(n,r){var e;return null!==n?(o[y]=c(n),e=new o,o[y]=null,e[d]=n):e=b(),r===t?e:f(e,r)}},function(t,n,r){var e=r(5),o=r(41),i=r(42),u=r(10),c=r(65);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=u(n),f=c(n),a=f.length,p=0;p<a;)o.f(t,r=f[p++],e[r]);return t}},function(t,n,r){var e=r(53),o=r(59);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){r=r(20),t.exports=r("document","documentElement")},function(t,n,r){r(2)({target:"Object",stat:!0},{hasOwn:r(35)})},function(n,r,e){var o=e(2),i=e(12),u=e(14),c=e(56),f=e(69),a=(e=e(6),i("".charAt));o({target:"String",proto:!0,forced:e((function(){return"\ud842"!=="𠮷".at(0)}))},{at:function(n){var r=f(u(this)),e=r.length;return(n=0<=(n=c(n))?n:e+n)<0||e<=n?t:a(r,n)}})},function(t,n,r){var e=r(3),o=r(70),i=e.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(n,r,e){var o=e(3),i=e(71),u=e(18),c=e(13),f=e(30)("toStringTag"),a=o.Object,p="Arguments"==c(function(){return arguments}());n.exports=i?c:function(n){var r;return n===t?"Undefined":null===n?"Null":"string"==typeof(n=function(t,n){try{return t[n]}catch(t){}}(r=a(n),f))?n:p?c(r):"Object"==(n=c(r))&&u(r.callee)?"Arguments":n}},function(t,n,r){var e={};e[r(30)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(n,r,e){var o=e(73),i=e(57),u=e(56),c=o.aTypedArray;(0,o.exportTypedArrayMethod)("at",(function(n){var r=c(this),e=i(r);return(n=0<=(n=u(n))?n:e+n)<0||e<=n?t:r[n]}))},function(n,r,e){function o(t){return!!l(t)&&(t=v(t),y(M,t)||y(C,t))}var i,u,c,f=e(74),a=e(5),p=e(3),s=e(18),l=e(17),y=e(35),v=e(70),d=e(28),b=e(40),g=e(43),m=e(41).f,h=e(21),x=e(75),O=e(77),S=e(30),j=e(37),w=(P=p.Int8Array)&&P.prototype,A=(e=(e=p.Uint8ClampedArray)&&e.prototype,P&&x(P)),T=w&&x(w),P=Object.prototype,_=p.TypeError,E=(S=S("toStringTag"),j("TYPED_ARRAY_TAG")),I=j("TYPED_ARRAY_CONSTRUCTOR"),R=f&&!!O&&"Opera"!==v(p.opera),M=(f=!1,{Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8}),C={BigInt64Array:8,BigUint64Array:8};for(i in M)(c=(u=p[i])&&u.prototype)?b(c,I,u):R=!1;for(i in C)(c=(u=p[i])&&u.prototype)&&b(c,I,u);if((!R||!s(A)||A===Function.prototype)&&(A=function(){throw _("Incorrect invocation")},R))for(i in M)p[i]&&O(p[i],A);if((!R||!T||T===P)&&(T=A.prototype,R))for(i in M)p[i]&&O(p[i].prototype,T);if(R&&x(e)!==T&&O(e,T),a&&!y(T,S))for(i in f=!0,m(T,S,{get:function(){return l(this)?this[E]:t}}),M)p[i]&&b(p[i],E,i);n.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_CONSTRUCTOR:I,TYPED_ARRAY_TAG:f&&E,aTypedArray:function(t){if(o(t))return t;throw _("Target is not a typed array")},aTypedArrayConstructor:function(t){if(s(t)&&(!O||h(A,t)))return t;throw _(d(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,n,r){if(a){if(r)for(var e in M)if((e=p[e])&&y(e.prototype,t))try{delete e.prototype[t]}catch(t){}T[t]&&!r||g(T,t,!r&&R&&w[t]||n)}},exportTypedArrayStaticMethod:function(t,n,r){var e,o;if(a){if(O){if(r)for(e in M)if((o=p[e])&&y(o,t))try{delete o[t]}catch(t){}if(A[t]&&!r)return;try{return g(A,t,!r&&R&&A[t]||n)}catch(t){}}for(e in M)!(o=p[e])||o[t]&&!r||g(o,t,n)}},isView:function(t){return!!l(t)&&("DataView"===(t=v(t))||y(M,t)||y(C,t))},isTypedArray:o,TypedArray:A,TypedArrayPrototype:T}},function(t,n){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(t,n,r){var e=r(3),o=r(35),i=r(18),u=r(36),c=r(47),f=(r=r(76),c("IE_PROTO")),a=e.Object,p=a.prototype;t.exports=r?a.getPrototypeOf:function(t){var n=u(t);return o(n,f)?n[f]:(t=n.constructor,i(t)&&n instanceof t?t.prototype:n instanceof a?p:null)}},function(t,n,r){r=r(6),t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(n,r,e){var o=e(12),i=e(42),u=e(78);n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=o(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),n=r instanceof Array}catch(r){}return function(r,e){return i(r),u(e),n?t(r,e):r.__proto__=e,r}}():t)},function(t,n,r){var e=r(3),o=r(18),i=e.String,u=e.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw u("Can't set "+i(t)+" as a prototype")}},function(t,n,r){var e=r(2),o=r(3);r=r(80);e({global:!0,bind:!0,enumerable:!0,forced:!o.setImmediate||!o.clearImmediate},{setImmediate:r.set,clearImmediate:r.clear})},function(n,r,e){var o,i,u=e(3),c=e(81),f=e(82),a=e(18),p=e(35),s=e(6),l=e(66),y=e(83),v=e(39),d=e(84),b=e(85),g=u.setImmediate,m=u.clearImmediate,h=u.process,x=u.Dispatch,O=u.Function,S=u.MessageChannel,j=u.String,w=0,A={},T="onreadystatechange";try{o=u.location}catch(n){}function P(t){var n;p(A,t)&&(n=A[t],delete A[t],n())}function _(t){return function(){P(t)}}function E(t){P(t.data)}e=function(t){u.postMessage(j(t),o.protocol+"//"+o.host)},g&&m||(g=function(n){var r=y(arguments,1);return A[++w]=function(){c(a(n)?n:O(n),t,r)},i(w),w},m=function(t){delete A[t]},b?i=function(t){h.nextTick(_(t))}:x&&x.now?i=function(t){x.now(_(t))}:S&&!d?(S=(d=new S).port2,d.port1.onmessage=E,i=f(S.postMessage,S)):u.addEventListener&&a(u.postMessage)&&!u.importScripts&&o&&"file:"!==o.protocol&&!s(e)?(i=e,u.addEventListener("message",E,!1)):i=T in v("script")?function(t){l.appendChild(v("script"))[T]=function(){l.removeChild(this),P(t)}}:function(t){setTimeout(_(t),0)}),n.exports={set:g,clear:m}},function(t,n){var r=Function.prototype,e=r.apply,o=r.bind,i=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(e):function(){return i.apply(e,arguments)})},function(n,r,e){var o=e(12),i=e(27),u=o(o.bind);n.exports=function(n,r){return i(n),r===t?n:u?u(n,r):function(){return n.apply(r,arguments)}}},function(t,n,r){r=r(12),t.exports=r([].slice)},function(t,n,r){r=r(25),t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(t,n,r){var e=r(13);r=r(3);t.exports="process"==e(r.process)}],e.c=r,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=0)}();
!function(){"use strict";const e=e=>Math.abs(parseInt(e,10)),t=(e,t)=>{const r=new Map([["init","init"],["validation_failed","invalid"],["acceptance_missing","unaccepted"],["spam","spam"],["aborted","aborted"],["mail_sent","sent"],["mail_failed","failed"],["submitting","submitting"],["resetting","resetting"],["payment_required","payment-required"]]);r.has(t)&&(t=r.get(t)),Array.from(r.values()).includes(t)||(t=`custom-${t=(t=t.replace(/[^0-9a-z]+/i," ").trim()).replace(/\s+/,"-")}`);const n=e.getAttribute("data-status");return e.wpcf7.status=t,e.setAttribute("data-status",t),e.classList.add(t),n&&n!==t&&e.classList.remove(n),t},r=(e,t,r)=>{const n=new CustomEvent(`wpcf7${t}`,{bubbles:!0,detail:r});"string"==typeof e&&(e=document.querySelector(e)),e.dispatchEvent(n)},n=e=>{const{root:t,namespace:r="contact-form-7/v1"}=wpcf7.api;return a.reduceRight(((e,t)=>r=>t(r,e)),(e=>{let n,a,{url:c,path:s,endpoint:o,headers:i,body:l,data:p,...d}=e;"string"==typeof o&&(n=r.replace(/^\/|\/$/g,""),a=o.replace(/^\//,""),s=a?n+"/"+a:n),"string"==typeof s&&(-1!==t.indexOf("?")&&(s=s.replace("?","&")),s=s.replace(/^\//,""),c=t+s),i={Accept:"application/json, */*;q=0.1",...i},delete i["X-WP-Nonce"],p&&(l=JSON.stringify(p),i["Content-Type"]="application/json");const u={code:"fetch_error",message:"You are probably offline."},f={code:"invalid_json",message:"The response is not a valid JSON response."};return window.fetch(c||s||window.location.href,{...d,headers:i,body:l}).then((e=>Promise.resolve(e).then((e=>{if(e.status>=200&&e.status<300)return e;throw e})).then((e=>{if(204===e.status)return null;if(e&&e.json)return e.json().catch((()=>{throw f}));throw f}))),(()=>{throw u}))}))(e)},a=[];function c(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(wpcf7.blocked)return s(e),void t(e,"submitting");const c=new FormData(e);a.submitter&&a.submitter.name&&c.append(a.submitter.name,a.submitter.value);const o={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(c,(e=>{const t=e[0],r=e[1];return!t.match(/^_/)&&{name:t,value:r}})).filter((e=>!1!==e)),formData:c},i=t=>{const r=document.createElement("li");r.setAttribute("id",t.error_id),t.idref?r.insertAdjacentHTML("beforeend",`<a href="#${t.idref}">${t.message}</a>`):r.insertAdjacentText("beforeend",t.message),e.wpcf7.parent.querySelector(".screen-reader-response ul").appendChild(r)},l=t=>{const r=e.querySelector(t.into),n=r.querySelector(".wpcf7-form-control");n.classList.add("wpcf7-not-valid"),n.setAttribute("aria-describedby",t.error_id);const a=document.createElement("span");a.setAttribute("class","wpcf7-not-valid-tip"),a.setAttribute("aria-hidden","true"),a.insertAdjacentText("beforeend",t.message),r.appendChild(a),r.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","true")})),n.closest(".use-floating-validation-tip")&&(n.addEventListener("focus",(e=>{a.setAttribute("style","display: none")})),a.addEventListener("mouseover",(e=>{a.setAttribute("style","display: none")})))};n({endpoint:`contact-forms/${e.wpcf7.id}/feedback`,method:"POST",body:c,wpcf7:{endpoint:"feedback",form:e,detail:o}}).then((n=>{const a=t(e,n.status);return o.status=n.status,o.apiResponse=n,["invalid","unaccepted","spam","aborted"].includes(a)?r(e,a,o):["sent","failed"].includes(a)&&r(e,`mail${a}`,o),r(e,"submit",o),n})).then((t=>{t.posted_data_hash&&(e.querySelector('input[name="_wpcf7_posted_data_hash"]').value=t.posted_data_hash),"mail_sent"===t.status&&(e.reset(),e.wpcf7.resetOnMailSent=!0),t.invalid_fields&&(t.invalid_fields.forEach(i),t.invalid_fields.forEach(l)),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').insertAdjacentText("beforeend",t.message),e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=t.message}))})).catch((e=>console.error(e)))}n.use=e=>{a.unshift(e)},n.use(((e,n)=>{if(e.wpcf7&&"feedback"===e.wpcf7.endpoint){const{form:n,detail:a}=e.wpcf7;s(n),r(n,"beforesubmit",a),t(n,"submitting")}return n(e)}));const s=e=>{e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText="",e.wpcf7.parent.querySelector(".screen-reader-response ul").innerText="",e.querySelectorAll(".wpcf7-not-valid-tip").forEach((e=>{e.remove()})),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","false")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.removeAttribute("aria-describedby"),e.classList.remove("wpcf7-not-valid")})),e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=""}))};function o(e){const a=new FormData(e),c={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(a,(e=>{const t=e[0],r=e[1];return!t.match(/^_/)&&{name:t,value:r}})).filter((e=>!1!==e)),formData:a};n({endpoint:`contact-forms/${e.wpcf7.id}/refill`,method:"GET",wpcf7:{endpoint:"refill",form:e,detail:c}}).then((n=>{e.wpcf7.resetOnMailSent?(delete e.wpcf7.resetOnMailSent,t(e,"mail_sent")):t(e,"init"),c.apiResponse=n,r(e,"reset",c)})).catch((e=>console.error(e)))}n.use(((e,r)=>{if(e.wpcf7&&"refill"===e.wpcf7.endpoint){const{form:r,detail:n}=e.wpcf7;s(r),t(r,"resetting")}return r(e)}));const i=(e,t)=>{for(const r in t){const n=t[r];e.querySelectorAll(`input[name="${r}"]`).forEach((e=>{e.value=""})),e.querySelectorAll(`img.wpcf7-captcha-${r}`).forEach((e=>{e.setAttribute("src",n)}));const a=/([0-9]+)\.(png|gif|jpeg)$/.exec(n);a&&e.querySelectorAll(`input[name="_wpcf7_captcha_challenge_${r}"]`).forEach((e=>{e.value=a[1]}))}},l=(e,t)=>{for(const r in t){const n=t[r][0],a=t[r][1];e.querySelectorAll(`.wpcf7-form-control-wrap.${r}`).forEach((e=>{e.querySelector(`input[name="${r}"]`).value="",e.querySelector(".wpcf7-quiz-label").textContent=n,e.querySelector(`input[name="_wpcf7_quiz_answer_${r}"]`).value=a}))}};function p(t){const r=new FormData(t);t.wpcf7={id:e(r.get("_wpcf7")),status:t.getAttribute("data-status"),pluginVersion:r.get("_wpcf7_version"),locale:r.get("_wpcf7_locale"),unitTag:r.get("_wpcf7_unit_tag"),containerPost:e(r.get("_wpcf7_container_post")),parent:t.closest(".wpcf7")},t.querySelectorAll(".has-spinner").forEach((e=>{e.insertAdjacentHTML("afterend",'<span class="wpcf7-spinner"></span>')})),(e=>{e.querySelectorAll(".wpcf7-exclusive-checkbox").forEach((t=>{t.addEventListener("change",(t=>{const r=t.target.getAttribute("name");e.querySelectorAll(`input[type="checkbox"][name="${r}"]`).forEach((e=>{e!==t.target&&(e.checked=!1)}))}))}))})(t),(e=>{e.querySelectorAll(".has-free-text").forEach((t=>{const r=t.querySelector("input.wpcf7-free-text"),n=t.querySelector('input[type="checkbox"], input[type="radio"]');r.disabled=!n.checked,e.addEventListener("change",(e=>{r.disabled=!n.checked,e.target===n&&n.checked&&r.focus()}))}))})(t),(e=>{e.querySelectorAll(".wpcf7-validates-as-url").forEach((e=>{e.addEventListener("change",(t=>{let r=e.value.trim();r&&!r.match(/^[a-z][a-z0-9.+-]*:/i)&&-1!==r.indexOf(".")&&(r=r.replace(/^\/+/,""),r="http://"+r),e.value=r}))}))})(t),(e=>{if(!e.querySelector(".wpcf7-acceptance")||e.classList.contains("wpcf7-acceptance-as-validation"))return;const t=()=>{let t=!0;e.querySelectorAll(".wpcf7-acceptance").forEach((e=>{if(!t||e.classList.contains("optional"))return;const r=e.querySelector('input[type="checkbox"]');(e.classList.contains("invert")&&r.checked||!e.classList.contains("invert")&&!r.checked)&&(t=!1)})),e.querySelectorAll(".wpcf7-submit").forEach((e=>{e.disabled=!t}))};t(),e.addEventListener("change",(e=>{t()})),e.addEventListener("wpcf7reset",(e=>{t()}))})(t),(t=>{const r=(t,r)=>{const n=e(t.getAttribute("data-starting-value")),a=e(t.getAttribute("data-maximum-value")),c=e(t.getAttribute("data-minimum-value")),s=t.classList.contains("down")?n-r.value.length:r.value.length;t.setAttribute("data-current-value",s),t.innerText=s,a&&a<r.value.length?t.classList.add("too-long"):t.classList.remove("too-long"),c&&r.value.length<c?t.classList.add("too-short"):t.classList.remove("too-short")},n=e=>{e={init:!1,...e},t.querySelectorAll(".wpcf7-character-count").forEach((n=>{const a=n.getAttribute("data-target-name"),c=t.querySelector(`[name="${a}"]`);c&&(c.value=c.defaultValue,r(n,c),e.init&&c.addEventListener("keyup",(e=>{r(n,c)})))}))};n({init:!0}),t.addEventListener("wpcf7reset",(e=>{n()}))})(t),window.addEventListener("load",(e=>{wpcf7.cached&&t.reset()})),t.addEventListener("reset",(e=>{wpcf7.reset(t)})),t.addEventListener("submit",(e=>{const r=e.submitter;wpcf7.submit(t,{submitter:r}),e.preventDefault()})),t.addEventListener("wpcf7submit",(e=>{e.detail.apiResponse.captcha&&i(t,e.detail.apiResponse.captcha),e.detail.apiResponse.quiz&&l(t,e.detail.apiResponse.quiz)})),t.addEventListener("wpcf7reset",(e=>{e.detail.apiResponse.captcha&&i(t,e.detail.apiResponse.captcha),e.detail.apiResponse.quiz&&l(t,e.detail.apiResponse.quiz)}))}document.addEventListener("DOMContentLoaded",(e=>{var t;if("undefined"==typeof wpcf7)return void console.error("wpcf7 is not defined.");if(void 0===wpcf7.api)return void console.error("wpcf7.api is not defined.");if("function"!=typeof window.fetch)return void console.error("Your browser doesn't support window.fetch().");if("function"!=typeof window.FormData)return void console.error("Your browser doesn't support window.FormData().");const r=document.querySelectorAll(".wpcf7 > form");"function"==typeof r.forEach?(wpcf7={init:p,submit:c,reset:o,...null!==(t=wpcf7)&&void 0!==t?t:{}},r.forEach((e=>wpcf7.init(e)))):console.error("Your browser doesn't support NodeList.forEach().")}))}();
var wpcf7_redirect;
(function ($){
function Wpcf7_redirect(){
this.init=function (){
this.wpcf7_redirect_mailsent_handler();
};
this.wpcf7_redirect_mailsent_handler=function (){
document.addEventListener('wpcf7mailsent', function (event){
$(document.body).trigger('wpcf7r-mailsent', [event]);
if(typeof event.detail.apiResponse!='undefined'&&event.detail.apiResponse){
var apiResponse=event.detail.apiResponse;
var actionDelay=0;
if(typeof apiResponse.api_url_request!='undefined'&&apiResponse.api_url_request){
wpcf7_redirect.handle_api_action(apiResponse.api_url_request);
}
if(typeof apiResponse.api_json_xml_request!='undefined'&&apiResponse.api_json_xml_request){
wpcf7_redirect.handle_api_action(apiResponse.api_json_xml_request);
}
if(typeof apiResponse.FireScript!='undefined'&&apiResponse.FireScript){
actionDelay=typeof apiResponse.FireScript.delay_redirect!='undefined' ? apiResponse.FireScript.delay_redirect:actionDelay;
window.setTimeout(function (){
wpcf7_redirect.handle_javascript_action(apiResponse.FireScript);
}, actionDelay);
}
if(typeof apiResponse.popup!='undefined'&&apiResponse.popup){
wpcf7_redirect.handle_popups(apiResponse.popup);
}
if(typeof apiResponse.redirect_to_paypal!='undefined'&&apiResponse.redirect_to_paypal){
actionDelay=typeof apiResponse.redirect_to_paypal.delay_redirect!='undefined' ? apiResponse.redirect_to_paypal.delay_redirect:actionDelay;
window.setTimeout(function (){
wpcf7_redirect.handle_redirect_action(apiResponse.redirect_to_paypal);
}, actionDelay);
}
if(typeof apiResponse.redirect!='undefined'&&apiResponse.redirect){
actionDelay=typeof apiResponse.redirect.delay_redirect!='undefined' ? apiResponse.redirect.delay_redirect:actionDelay;
window.setTimeout(function (){
wpcf7_redirect.handle_redirect_action(apiResponse.redirect);
}, actionDelay);
}}
}, false);
document.addEventListener('wpcf7invalid', function (event){
$(document.body).trigger('wpcf7r-invalid', [event]);
if(typeof event.detail.apiResponse!='undefined'&&event.detail.apiResponse){
response=event.detail.apiResponse;
if(response.invalidFields){
wpcf7_redirect.ninja_multistep_mov_to_invalid_tab(event, response);
}}
});
};
this.handle_popups=function (popups){
$(document.body).trigger('wpcf7r-before-open-popup', [event]);
$.each(popups, function (k, popup){
var $new_elem=$(popup['popup-template']);
$(document.body).append($new_elem);
$(document.body).addClass(popup['template-name']);
window.setTimeout(function (){
$(document.body).addClass('modal-popup-open');
$new_elem.addClass('is-open');
}, 1000);
$new_elem.find('.close-button').on('click', function (){
$new_elem.removeClass('is-open').addClass('fade');
$(document.body).removeClass('modal-popup-open');
window.setTimeout(function (){
$('.wpcf7r-modal').remove();
$(document.body).trigger('wpcf7r-popup-removed', [$new_elem]);
}, 4000);
});
$(document.body).trigger('wpcf7r-popup-appended', [$new_elem]);
});
}
this.handle_api_action=function (send_to_api_result, request){
$.each(send_to_api_result, function (k, v){
if(!v.result_javascript){
return;
}
response=typeof v.api_response!='undefined' ? v.api_response:'';
request=typeof v.request!='undefined' ? v.request:'';
eval(v.result_javascript);
});
};
this.ninja_multistep_mov_to_invalid_tab=function (event, response){
if($('.fieldset-cf7mls-wrapper').length){
var form=$(event.target);
var first_invalid_field=response.invalidFields[0];
var parent_step=$(first_invalid_field.into).parents('fieldset');
form.find('.fieldset-cf7mls').removeClass('cf7mls_current_fs');
parent_step.addClass('cf7mls_current_fs').removeClass('cf7mls_back_fs');
if(form.find('.cf7mls_progress_bar').length){
form.find('.cf7mls_progress_bar li').eq(form.find("fieldset.fieldset-cf7mls").index(previous_fs)).addClass("current");
form.find('.cf7mls_progress_bar li').eq(form.find("fieldset.fieldset-cf7mls").index(current_fs)).removeClass("active current");
}}
}
this.handle_redirect_action=function (redirect){
$(document.body).trigger('wpcf7r-handle_redirect_action', [redirect]);
$.each(redirect, function (k, v){
var delay=typeof v.delay!='undefined'&&v.delay ? v.delay:'';
delay=delay * 1000;
window.setTimeout(function (v){
var redirect_url=typeof v.redirect_url!='undefined'&&v.redirect_url ? v.redirect_url:'';
var type=typeof v.type!='undefined'&&v.type ? v.type:'';
if(typeof v.form!='undefined'&&v.form){
$('body').append(v.form);
$('#cf7r-result-form').submit();
}else{
if(redirect_url&&type=='redirect'){
window.location=redirect_url;
}else if(redirect_url&&type=='new_tab'){
window.open(redirect_url);
}}
}, delay, v);
});
};
this.handle_javascript_action=function (scripts){
$(document.body).trigger('wpcf7r-handle_javascript_action', [scripts]);
$.each(scripts, function (k, script){
eval(script);
});
};
this.htmlspecialchars_decode=function (string){
var map={
'&amp;': '&',
'&#038;': "&",
'&lt;': '<',
'&gt;': '>',
'&quot;': '"',
'&#039;': "'",
'&#8217;': "’",
'&#8216;': "‘",
'&#8211;': "–",
'&#8212;': "—",
'&#8230;': "…",
'&#8221;': '”'
};
return string.replace(/\&[\w\d\#]{2,5}\;/g, function (m){ return map[m]; });
};
this.init();
}
wpcf7_redirect=new Wpcf7_redirect();
})(jQuery);
(()=>{var e={575:e=>{e.exports=function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},913:e=>{function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e},e.exports.default=e.exports,e.exports.__esModule=!0},318:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0}},t={};function __webpack_require__(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,__webpack_require__),o.exports}(()=>{"use strict";var e=__webpack_require__(318),t=e(__webpack_require__(575)),n=e(__webpack_require__(913)),r=function(){function elementorHelloThemeHandler(){(0,t.default)(this,elementorHelloThemeHandler),this.initSettings(),this.initElements(),this.bindEvents()}return(0,n.default)(elementorHelloThemeHandler,[{key:"initSettings",value:function initSettings(){this.settings={selectors:{header:"header.site-header",footer:"footer.site-footer",menuToggle:".site-header .site-navigation-toggle",menuToggleHolder:".site-header .site-navigation-toggle-holder",dropdownMenu:".site-header .site-navigation-dropdown"}}}},{key:"initElements",value:function initElements(){this.elements={$window:jQuery(window),$document:jQuery(document),$header:jQuery(this.settings.selectors.header),$footer:jQuery(this.settings.selectors.footer),$menuToggle:jQuery(this.settings.selectors.menuToggle),$menuToggleHolder:jQuery(this.settings.selectors.menuToggleHolder),$dropdownMenu:jQuery(this.settings.selectors.dropdownMenu)}}},{key:"bindEvents",value:function bindEvents(){var e=this;this.elements.$menuToggle.on("click",(function(){return e.handleMenuToggle()})),this.elements.$dropdownMenu.on("click",".menu-item-has-children > a",this.handleMenuChildren)}},{key:"closeMenuItems",value:function closeMenuItems(){var e=this;this.elements.$menuToggleHolder.removeClass("elementor-active"),this.elements.$window.off("resize",(function(){return e.closeMenuItems()}))}},{key:"handleMenuToggle",value:function handleMenuToggle(){var e=this,t=!this.elements.$menuToggleHolder.hasClass("elementor-active");this.elements.$menuToggle.attr("aria-expanded",t),this.elements.$dropdownMenu.attr("aria-hidden",!t),this.elements.$menuToggleHolder.toggleClass("elementor-active",t),this.elements.$dropdownMenu.find(".elementor-active").removeClass("elementor-active"),t?this.elements.$window.on("resize",(function(){return e.closeMenuItems()})):this.elements.$window.off("resize",(function(){return e.closeMenuItems()}))}},{key:"handleMenuChildren",value:function handleMenuChildren(e){var t=jQuery(e.currentTarget).parent("li");t.hasClass("elementor-active")?t.removeClass("elementor-active"):t.addClass("elementor-active")}}]),elementorHelloThemeHandler}();jQuery((function(){new r}))})()})();
!function(e){"use strict";const s="morphext",i={animation:"bounce",speed:2e3,autoInit:!0,phrases:[],animateCssVersion:"4.1.1",autoAttachAnimateCss:!0};function n(t){this.element=e(t),this._settings=e.extend({},i,JSON.parse(this.element.attr("data-morphext-options"))),this._defaults=i,this._init()}n.prototype={_init:function(){var t;this.element.addClass("morphext"),this._settings.autoAttachAnimateCss&&(t=`https://cdnjs.cloudflare.com/ajax/libs/animate.css/${this._settings.animateCssVersion}/animate.min.css`,e(`link[href='${t}']`).length||e(`<link href="${t}" rel="stylesheet">`).appendTo("head")),this._index=0,this.animate(),this.start()},animate:function(){this._index=this._index%this._settings.phrases.length;const t=document.createElement("span");t.classList.add("morphext__animated","animate__animated",`animate__${this._settings.animation}`),e(t).text(this._settings.phrases[this._index]),this.element.html(e(t).prop("outerHTML")),this._index+=1},start:function(){var t=this;this._interval=setInterval(function(){t.animate()},this._settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},e.fn[s]=function(t){return this.each(function(){e.data(this,"plugin_"+s)||e.data(this,"plugin_"+s,new n(this))})}}(jQuery);
jQuery(document).ready(function($){
var x='';
var adminBarHeight=0;
if($("#wpadminbar").length!=0){
adminBarHeight=$('#wpadminbar').height();
}
jQuery('.welcomebar-hidden-sliding-text').each(function(){
var sliding_text_width=jQuery(this).outerWidth();
var sliding_text_height=jQuery(this).outerHeight();
if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){
jQuery(this).parent().css('min-width', sliding_text_width + 'px');
}
jQuery(this).parent().css('min-height', sliding_text_height + 'px');
});
jQuery('.mysticky-welcomebar-fixed').each(function(){
var welcomebar_widget=jQuery(this).data('welcomebar-widget');
if(jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('position')=='top'){
jQuery('.mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('top', '-' + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).outerHeight() + 'px');
}else{
jQuery('.mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('bottom', '-' + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).outerHeight() + 'px');
}
var welcombar_aftersubmission=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('aftersubmission');
if(welcombar_aftersubmission=='dont_show_welcomebar'){
var welcomebar_storage=localStorage.getItem("welcomebar_close_" + welcomebar_widget);
}else if(welcombar_aftersubmission=='show_welcomebar_next_visit'){
var welcomebar_storage=sessionStorage.getItem("welcomebar_close_" + welcomebar_widget);
}else{
sessionStorage.removeItem('welcomebar_close_' + welcomebar_widget);
localStorage.removeItem('welcomebar_close_' + welcomebar_widget);
var welcomebar_storage=null;
}
var is_close_trigger=localStorage.getItem("is_close_trigger_" + welcomebar_widget);
var is_button_trigger=localStorage.getItem("is_button_trigger_" + welcomebar_widget);
if(jQuery(this).data("isenablecoupon")==1&&welcomebar_storage!==null&&jQuery(this).data("btn-click-action")=='show_coupon'&&is_close_trigger==null&&is_button_trigger=='yes'){
welcomebar_storage=null;
jQuery(this).find(".mysticky-welcomebar-content").hide();
jQuery(this).find(".mysticky-welcomebar-btn").hide();
jQuery(this).find(".mysticky-couponbar-content").show();
jQuery(".mysticky-welcomebar-widget-"+welcomebar_widget + " .count-down-timer-box").hide();
if(jQuery(".mysticky-welcomebar-fixed.mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-lead-content").length > 0){
jQuery(".mysticky-welcomebar-fixed.mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-lead-content").hide();
}}
if(welcomebar_storage===null){
var after_trigger=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('after-triger');
if(after_trigger=='after_a_few_seconds'){
if($('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-display-desktop')){
if($(window).width() > 1024){
var trigger_sec=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('triger-sec') * 1000;
var welcombar_position=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('position');
var welcombar_height=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).outerHeight();
var divi_topbar_height=$('.et_fixed_nav #top-header').outerHeight();
var divi_total_height=welcombar_height + divi_topbar_height;
setTimeout(function(){
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('mysticky-welcomebar-animation');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('entry-effect');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).removeClass('mysticky-welcomebar-notpresent');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget + ' .mysticky-welcomebar-animation-text').morphext();
$('html,body').addClass('mysticky-welcomebar-apper');
var new_welcombar_height_top=new_welcombar_height_bottom=new_welcombar_margin_top=new_welcombar_padding_bottom=0;
$('.mysticky-welcomebar-fixed').not(".mysticky-welcomebar-notpresent").each(function(index){
var welcomebar_widget_index=$(this).data('welcomebar-widget');
var welcomebar_widget_ready=$(this).data('welcomebar-widget');
var welcombar_position_ready=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).data('position');
var welcombar_height_ready=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
if(! $(this).hasClass('mysticky-welcomebar-notpresent')&&! $(this).hasClass('mysticky-welcomebar-notapper')){
if(welcombar_position_ready=='top'){
var new_welcombar_position=adminBarHeight + welcomebar_widget_index + new_welcombar_height_top;
if(index!=0){
var new_welcombar_position=0 + new_welcombar_height_top;
}else{
var new_welcombar_position=adminBarHeight + 0 + new_welcombar_height_top;
}
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).css('top', new_welcombar_position);
$('.et_fixed_nav #top-header').css('top', new_welcombar_position + 'px');
new_welcombar_height_top=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
var new_welcomebar_height=adminBarHeight + welcombar_height_ready + new_welcombar_margin_top;
$('html.mysticky-welcomebar-apper').attr('style', 'margin-top: ' + new_welcomebar_height + 'px !important');
$('#mysticky-nav').css('top', new_welcomebar_height + 'px');
new_welcombar_margin_top=new_welcombar_margin_top + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
}else{
var new_welcombar_position=0 + new_welcombar_height_bottom;
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).css('bottom', new_welcombar_position);
new_welcombar_height_bottom=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
var new_welcomebar_height=welcombar_height_ready + new_welcombar_padding_bottom;
$('head').append('<style class="mysticky_bottom_style" type="text/css">html.mysticky-welcomebar-apper {padding-bottom: ' + new_welcomebar_height + 'px}</style>');
new_welcombar_padding_bottom=new_welcombar_padding_bottom + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
}}
});
if(welcombar_position=='top'){
$('#mysticky_divi_style').remove();
$('head').append('<style id="mysticky_divi_style" type="text/css">.et_fixed_nav #main-header {top: ' + welcombar_height + 'px !important}.et_fixed_nav #top-header + #main-header{top: ' + divi_total_height + 'px !important}</style>');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('opacity', '1');
}else{
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('opacity', '1');
$('#mysticky_divi_style').remove();
$('.et_fixed_nav #top-header').css('top', '');
}}, trigger_sec);
}}
}
if($(window).width() <=1024){
if(after_trigger=='after_a_few_seconds'){
if($('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-display-mobile')){
var trigger_sec=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('triger-sec') * 1000;
var welcombar_position=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('position');
var welcombar_height=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).outerHeight();
setTimeout(function(){
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('mysticky-welcomebar-animation');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('entry-effect');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).removeClass('mysticky-welcomebar-notpresent');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget + ' .mysticky-welcomebar-animation-text').morphext();
$('html,body').addClass('mysticky-welcomebar-apper');
$('#mysticky_divi_style').remove();
$('.et_fixed_nav #top-header').css('top', '');
var new_welcombar_height_top=new_welcombar_height_bottom=new_welcombar_margin_top=new_welcombar_padding_bottom=0;
$('.mysticky-welcomebar-fixed').not(".mysticky-welcomebar-notpresent").each(function(index){
var welcomebar_widget_ready=$(this).data('welcomebar-widget');
var welcombar_position_ready=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).data('position');
var welcombar_height_ready=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
if(! $(this).hasClass('mysticky-welcomebar-notpresent')&&! $(this).hasClass('mysticky-welcomebar-notapper')){
if(welcombar_position_ready=='top'){
if(index==0){
var new_welcombar_position=0 + adminBarHeight + new_welcombar_height_top;
var new_welcomebar_height=welcombar_height_ready + adminBarHeight + new_welcombar_margin_top;
}else{
var new_welcombar_position=0 + new_welcombar_height_top;
var new_welcomebar_height=welcombar_height_ready + new_welcombar_margin_top + adminBarHeight;
}
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).css('top', new_welcombar_position);
$('.et_fixed_nav #top-header').css('top', new_welcombar_position + 'px');
new_welcombar_height_top=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
$('html.mysticky-welcomebar-apper').attr('style', 'margin-top: ' +(new_welcomebar_height) + 'px !important');
$('#mysticky-nav').css('top', new_welcomebar_height + 'px');
new_welcombar_margin_top=new_welcombar_margin_top + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
}else{
var new_welcombar_position=0 + new_welcombar_height_bottom;
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).css('bottom', new_welcombar_position);
new_welcombar_height_bottom=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
var new_welcomebar_height=welcombar_height_ready + new_welcombar_padding_bottom;
$('head').append('<style class="mysticky_bottom_style" type="text/css">html.mysticky-welcomebar-apper {padding-bottom: ' + new_welcomebar_height + 'px}</style>');
new_welcombar_padding_bottom=new_welcombar_padding_bottom + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
}}
});
if(welcombar_position=='top'){
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('mysticky-welcomebar-animation');
$('head').append('<style id="mysticky_divi_style" type="text/css">.et_fixed_nav #main-header {top: ' + welcombar_height + 'px !important}.et_fixed_nav #top-header + #main-header{top: ' + divi_total_height + 'px !important}</style>');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('opacity', '1');
}else{
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('opacity', '1');
$('.et_fixed_nav #top-header').css('top', '');
}}, trigger_sec);
}}
}
mystickyelements_present(welcomebar_widget);
}
jQuery('.count-down-timer-box').each(function(){
var timerBgColor=$(this).data('timerbgcolor');
var timerTxtColor=$(this).data('timertxtcolor');
var welcomebarTextColor=$(this).data('welcombar-textcolor');
var divId="#"+$(this).attr('id');
var expiredDate='';
var expiredTime='';
var timer_from=$(this).data('timerfrom');
var timezone='';
var data_endTime='';
if(timer_from=='timer_apperance'){
expiredDate=$(this).data('enddate');
expiredTime=$(this).data('endtime');
expiredDate=new Date(expiredDate + ' ' + expiredTime);
data_endTime=$(this).data('endtime');
timezone=$(this).data('timezone');
}else{
expiredDate=new Date();
var expirHour=$(this).data('hour');
var expirMinute=$(this).data('minute');
var expirSecond=$(this).data('second');
var expire_time=readMyStickyMenuCookie('welcombar-countdowntime-'+ welcomebar_widget);
if(expire_time!=null){
expiredDate=new Date(expire_time);
}else{
createMyStickyMenuCookie('welcombar-countdowntime-'+ welcomebar_widget, expiredDate, 1);
}
expirHour=parseInt(expirHour) + parseInt(expiredDate.getHours());
expirMinute=parseInt(expirMinute) + parseInt(expiredDate.getMinutes());
expirSecond=parseInt(expirSecond) + parseInt(expiredDate.getSeconds() + 2);
var trigger_sec=($(".mysticky-welcomebar-widget-"+welcomebar_widget).data("triger-sec")!=''&&$(".mysticky-welcomebar-widget-"+welcomebar_widget).data("after-triger")=='after_a_few_seconds') ? $(".mysticky-welcomebar-widget-"+welcomebar_widget).data("triger-sec"):'3';
expirSecond=expirSecond + parseInt(trigger_sec);
expiredDate.setHours(parseInt(expirHour));
expiredDate.setMinutes(parseInt(expirMinute));
expiredDate.setSeconds(parseInt(expirSecond));
}
var num=/^[-+]?[0-9]+\.[0-9]+$/;
var plus_number=/^[-+]?[0-9]+$/;
timezone=timezone.toString().replace("-", "");
if(expiredDate=='Invalid Date'){
jQuery(window).trigger('resize');
jQuery(divId).html("");
return;
}
var checkTimerSet=setInterval(function(){
if(jQuery(divId + " .counter-main-block").length > 0){
jQuery(window).trigger('resize');
clearInterval(checkTimerSet);
}},1000);
var timer=setInterval(function(){
var position=0;
if($('.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-position-top')){
position=parseInt($('.mysticky-welcomebar-widget-' + welcomebar_widget).css('top'));
}
if($('.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-position-bottom')){
position=parseInt($('.mysticky-welcomebar-widget-' + welcomebar_widget).css('bottom'));
}
if(position >=0){
var nowDate=new Date();
if(timer_from=='timer_apperance'){
if(num.test(timezone)==true||plus_number.test(timezone)==true){
nowDate=getCurrentDateTimeGMT(timezone)
}else{
nowDate=new Date(nowDate.toLocaleString('en-US', {timeZone: timezone}));
}}
var hourss=Math.abs(expiredDate.getTime() - nowDate.getTime()) / 3600000;
var diffrenceDate=expiredDate - nowDate;
var diffrenceDate=expiredDate - nowDate;
if(diffrenceDate < 0){
jQuery(window).trigger('resize');
jQuery(divId).html("");
clearInterval(timer);
return;
}
var days=Math.floor(diffrenceDate / (1000*60*60*24));
var hours=Math.floor((diffrenceDate % (1000*60*60*24))/ (1000*60*60));
var minute=Math.floor((diffrenceDate %(1000*60*60)) / (1000*60));
var seconds=Math.floor((diffrenceDate %(1000*60)) / 1000);
if(Math.floor(hourss)==24){
hours=Math.floor(hourss);
days=0;
}
days=(days > 9) ? days:'0' + days;
hours=(hours > 9) ? hours:'0' + hours;
minute=(minute > 9) ? minute:'0' + minute;
seconds=(seconds > 9) ? seconds:'0' + seconds;
if(timer_from=='timer_apperance'){
if(days==0&&hours==0&&minute==0&&seconds==0){
jQuery(rightDivId).html("");
}else{
jQuery(divId).html("<div class='counter-main-block'><div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" + parseInt(days/10) + "</span></div> <div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" + parseInt(days%10) + "</span></div><label>"+welcomebar_frontjs.days+"</label></div>:<div class='counter-main-block'><div class='counter-timer' style='color:"+timerTxtColor+";'> <span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" + parseInt(hours/10) + "</span></div> <div class='counter-timer' style='color:"+timerTxtColor+";'> <span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" + parseInt(hours%10) + "</span></div><label>"+welcomebar_frontjs.hours+"</label></div>:<div class='counter-main-block'><div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" + parseInt(minute/10) + "</span></div> <div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" +  parseInt(minute%10) + "</span></div> <label>"+welcomebar_frontjs.minutes+"</label></div>:<div class='counter-main-block'><div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" +  parseInt(seconds/10) + "</span></div> <div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" +  parseInt(seconds%10) + "</span></div><label>"+welcomebar_frontjs.seconds+"</label></div>");
}}else{
if(hours > 0){
jQuery(divId).html("<div class='counter-main-block'><div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" + parseInt(hours/10) + "</span></div> <div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" +  parseInt(hours%10) + "</span></div> <label>"+welcomebar_frontjs.hours+"</label></div>:<div class='counter-main-block'><div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" + parseInt(minute/10) + "</span></div> <div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" +  parseInt(minute%10) + "</span></div> <label>"+welcomebar_frontjs.minutes+"</label></div>:<div class='counter-main-block'><div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" +  parseInt(seconds/10) + "</span></div> <div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" +  parseInt(seconds%10) + "</span></div><label>"+welcomebar_frontjs.seconds+"</label></div>");
}else{
jQuery(divId).html("<div class='counter-main-block'><div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" + parseInt(minute/10) + "</span></div> <div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" +  parseInt(minute%10) + "</span></div> <label>"+welcomebar_frontjs.minutes+"</label></div>:<div class='counter-main-block'><div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" +  parseInt(seconds/10) + "</span></div> <div class='counter-timer' style='color:"+timerTxtColor+";'><span style='background-color:"+timerBgColor+";color:"+timerTxtColor+"'>" +  parseInt(seconds%10) + "</span></div><label>"+welcomebar_frontjs.seconds+"</label></div>");
}}
jQuery(divId + " span").css('color',timerTxtColor);
jQuery(divId).css('color',welcomebarTextColor);
}},1000);
});
});
function createMyStickyMenuCookie(name, value, days){
if(days){
var expiry=new Date();
expiry.setTime(expiry.getTime()+(days*24*60*60*1000));
var expires="; expires=" + expiry.toGMTString();
}else{
var expires="";
}
document.cookie=escape(name) + "=" + escape(value) + expires + "; path=/";
}
function readMyStickyMenuCookie(name){
var nameEQ=escape(name) + "=";
var ca=document.cookie.split(';');
for (var i=0; i < ca.length; i++){
var c=ca[i];
while (c.charAt(0)==' ')
c=c.substring(1, c.length);
if(c.indexOf(nameEQ)==0)
return unescape(c.substring(nameEQ.length, c.length));
}
return null;
}
function getCurrentDateTimeGMT(timezone){
var localDate=new Date();
var localTime=localDate.getTime();
var localOffset=localDate.getTimezoneOffset() * 60000;
var utc=localTime + localOffset;
var offset=timezone;
var utc_offset=utc + (3600000 * offset);
localDate=new Date(utc_offset);
return localDate;
}
$(window).resize(function(){
jQuery('.welcomebar-hidden-sliding-text').each(function(){
var sliding_text_width=jQuery(this).outerWidth();
var sliding_text_height=jQuery(this).outerHeight();
if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){
jQuery(this).parent().css('min-width', sliding_text_width + 'px');
}
jQuery(this).parent().css('min-height', sliding_text_height + 'px');
});
var adminBarHeight=new_welcombar_height_top=new_welcombar_height_bottom=new_welcombar_margin_top=new_welcombar_padding_bottom=0;
if($("#wpadminbar").length!=0){
adminBarHeight=$('#wpadminbar').height();
}
$('.mysticky-welcomebar-fixed').each(function(){
var welcomebar_widget=$(this).data('welcomebar-widget');
var welcombar_aftersubmission=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('aftersubmission');
if(welcombar_aftersubmission=='dont_show_welcomebar'){
var welcomebar_storage=localStorage.getItem("welcomebar_close_" + welcomebar_widget);
}else if(welcombar_aftersubmission=='show_welcomebar_next_visit'){
var welcomebar_storage=sessionStorage.getItem("welcomebar_close_" + welcomebar_widget);
}else{
sessionStorage.removeItem('welcomebar_close_' + welcomebar_widget);
localStorage.removeItem('welcomebar_close_' + welcomebar_widget);
var welcomebar_storage=null;
}
if(welcomebar_storage===null){
var after_trigger=jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('after-triger');
if(after_trigger=='after_a_few_seconds'){
var trigger_sec=jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('triger-sec') * 1000;
var welcombar_position=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('position');
var welcombar_height=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).outerHeight();
var divi_topbar_height=$('.et_fixed_nav #top-header').outerHeight();
var divi_total_height=welcombar_height + divi_topbar_height;
if($(window).width() <=1024){
if($('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-display-mobile')){
setTimeout(function(){
jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('mysticky-welcomebar-animation');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('entry-effect');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).removeClass('mysticky-welcomebar-notpresent');
jQuery('#mysticky_divi_style').remove();
jQuery('.et_fixed_nav #top-header').css('top', '');
if(! $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-notapper')){
jQuery('html,body').addClass('mysticky-welcomebar-apper');
}else{
jQuery('html,body').removeClass('mysticky-welcomebar-apper');
}
var new_welcombar_height_top=new_welcombar_height_bottom=new_welcombar_margin_top=new_welcombar_padding_bottom=0;
$('.mysticky-welcomebar-fixed').not(".mysticky-welcomebar-notpresent").each(function(index){
var welcomebar_widget_ready=$(this).data('welcomebar-widget');
var welcombar_position_ready=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).data('position');
var welcombar_height_ready=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
if(! $(this).hasClass('mysticky-welcomebar-notpresent')&&! $(this).hasClass('mysticky-welcomebar-notapper')){
if(welcombar_position_ready=='top'){
if(index==0){
if($(window).width() <=600){
if($(window).scrollTop() > 0){
var new_welcombar_position=0 + new_welcombar_height_top;
}else{
var new_welcombar_position=adminBarHeight + 0 + new_welcombar_height_top;
}}else{
var new_welcombar_position=adminBarHeight + 0 + new_welcombar_height_top;
}
var new_welcomebar_height=welcombar_height_ready + adminBarHeight + new_welcombar_margin_top;
new_welcombar_margin_top=new_welcombar_margin_top + adminBarHeight + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
}else{
var new_welcombar_position=0 + new_welcombar_height_top;
var new_welcomebar_height=welcombar_height_ready  + new_welcombar_margin_top;
new_welcombar_margin_top=new_welcombar_margin_top +  $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
}
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).css('top', new_welcombar_position);
jQuery('.et_fixed_nav #top-header').css('top', new_welcombar_position + 'px');
new_welcombar_height_top=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
$('html.mysticky-welcomebar-apper').attr('style', 'margin-top: ' + new_welcomebar_height + 'px !important');
$('#mysticky-nav').css('top', new_welcomebar_height + 'px');
}else{
var new_welcombar_position=0 + new_welcombar_height_bottom;
jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).css('bottom', new_welcombar_position);
new_welcombar_height_bottom=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
var new_welcomebar_height=welcombar_height_ready + new_welcombar_padding_bottom;
jQuery('head').append('<style class="mysticky_bottom_style" type="text/css">html.mysticky-welcomebar-apper {padding-bottom: ' + new_welcomebar_height + 'px}</style>');
new_welcombar_padding_bottom=new_welcombar_padding_bottom + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
}}
});
if(welcombar_position=='top'){
jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('mysticky-welcomebar-animation');
jQuery('head').append('<style id="mysticky_divi_style" type="text/css">.et_fixed_nav #main-header {top: ' + welcombar_height + 'px !important}.et_fixed_nav #top-header + #main-header{top: ' + divi_total_height + 'px !important}</style>');
jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('opacity', '1');
}else{
jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('opacity', '1');
jQuery('.et_fixed_nav #top-header').css('top', '');
}}, 0);
}}else{
if($('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-display-desktop')){
setTimeout(function(){
jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('mysticky-welcomebar-animation');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('entry-effect');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).removeClass('mysticky-welcomebar-notpresent');
if(! $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-notapper')){
jQuery('html,body').addClass('mysticky-welcomebar-apper');
}else{
jQuery('html,body').removeClass('mysticky-welcomebar-apper');
}
var new_welcombar_height_top=new_welcombar_height_bottom=new_welcombar_margin_top=new_welcombar_padding_bottom=0;
$('.mysticky-welcomebar-fixed').not(".mysticky-welcomebar-notpresent").each(function(index){
var welcomebar_widget_ready=$(this).data('welcomebar-widget');
var welcombar_position_ready=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).data('position');
var welcombar_height_ready=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
if(! $(this).hasClass('mysticky-welcomebar-notpresent')&&! $(this).hasClass('mysticky-welcomebar-notapper')){
if(welcombar_position_ready=='top'){
if(index==0){
var new_welcombar_position=adminBarHeight + 0 + new_welcombar_height_top;
var new_welcomebar_height=welcombar_height_ready + adminBarHeight + new_welcombar_margin_top;
}else{
var new_welcombar_position=0 + new_welcombar_height_top;
var new_welcomebar_height=welcombar_height_ready  + new_welcombar_margin_top;
}
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).css('top', new_welcombar_position);
jQuery('.et_fixed_nav #top-header').css('top', new_welcombar_position + 'px');
new_welcombar_height_top=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
jQuery('.mysticky-welcomebar-apper.et_fixed_nav #top-header').css('top', new_welcomebar_height + 'px');
jQuery('head').append('<style id="mysticky_divi_style" type="text/css">.mysticky-welcomebar-apper.et_fixed_nav #main-header {top: ' + new_welcomebar_height + 'px !important}.mysticky-welcomebar-apper.et_fixed_nav #top-header + #main-header{top: ' + divi_total_height + 'px !important}</style>');
var new_welcomebar_height=adminBarHeight + welcombar_height_ready + new_welcombar_margin_top;
$('html.mysticky-welcomebar-apper').attr('style', 'margin-top: ' + new_welcomebar_height + 'px !important');
$('#mysticky-nav').css('top', new_welcomebar_height + 'px');
new_welcombar_margin_top=new_welcombar_margin_top + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
}else{
var new_welcombar_position=0 + new_welcombar_height_bottom;
jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).css('bottom', new_welcombar_position);
new_welcombar_height_bottom=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
var new_welcomebar_height=welcombar_height_ready + new_welcombar_padding_bottom;
jQuery('head').append('<style class="mysticky_bottom_style" type="text/css">html.mysticky-welcomebar-apper {padding-bottom: ' + new_welcomebar_height + 'px}</style>');
new_welcombar_padding_bottom=new_welcombar_padding_bottom + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget_ready).outerHeight();
}}
});
if(welcombar_position=='top'){
jQuery('#mysticky_divi_style').remove();
jQuery('head').append('<style id="mysticky_divi_style" type="text/css">.et_fixed_nav #main-header {top: ' + welcombar_height + 'px !important}.et_fixed_nav #top-header + #main-header{top: ' + divi_total_height + 'px !important}</style>');
jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('opacity', '1');
}else{
jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('opacity', '1');
jQuery('#mysticky_divi_style').remove();
jQuery('.et_fixed_nav #top-header').css('top', '');
}}, 0);
}}
}else{
if($(window).width() <=600){
var new_welcombar_height_top=0;
$('.mysticky-welcomebar-fixed').not(".mysticky-welcomebar-notpresent").each(function(index){
var new_welcomebar_widget=$(this).data('welcomebar-widget');
var test_welcombar_position=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).data('position');
if(! $(this).hasClass('mysticky-welcomebar-notpresent')&&! $(this).hasClass('mysticky-welcomebar-notapper')){
if(test_welcombar_position=='top'){
if($(window).scrollTop() > 0){
var new_welcombar_position=0 + new_welcombar_height_top;
}else{
if(index==0){
var new_welcombar_position=0 + adminBarHeight + new_welcombar_height_top;
}else{
var new_welcombar_position=0  + new_welcombar_height_top;
}}
$('.mysticky-welcomebar-apper .mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).css('top', new_welcombar_position);
}}
});
}}
mystickyelements_present(welcomebar_widget);
}});
});
$(window).on('scroll', function(){
if($("#wpadminbar").length!=0){
adminBarHeight=$('#wpadminbar').height();
}
$('.mysticky-welcomebar-fixed').each(function(){
var welcomebar_widget=$(this).data('welcomebar-widget');
var welcombar_aftersubmission=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('aftersubmission');
var after_trigger=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('after-triger');
if(welcombar_aftersubmission=='dont_show_welcomebar'){
var welcomebar_storage=localStorage.getItem("welcomebar_close_" + welcomebar_widget);
}else if(welcombar_aftersubmission=='show_welcomebar_next_visit'){
var welcomebar_storage=sessionStorage.getItem("welcomebar_close_" + welcomebar_widget);
}else{
sessionStorage.removeItem('welcomebar_close_' + welcomebar_widget);
localStorage.removeItem('welcomebar_close_' + welcomebar_widget);
var welcomebar_storage=null;
}
if(welcomebar_storage===null){
var welcombar_height=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).outerHeight();
var welcombar_position=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('position');
var divi_topbar_height=$('.et_fixed_nav #top-header').outerHeight();
var divi_total_height=welcombar_height + divi_topbar_height;
if(after_trigger==='after_scroll'){
var scroll=100 * $(window).scrollTop() / ($(document).height() - $(window).height());
var after_scroll_val=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('triger-sec');
if(scroll > after_scroll_val){
if(! $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-notapper')){
$('html,body').addClass('mysticky-welcomebar-apper');
}else{
$('html,body').removeClass('mysticky-welcomebar-apper');
}
if($('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-display-desktop')){
if($(window).width() > 1024){
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('mysticky-welcomebar-animation');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('entry-effect');
if($('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-notpresent')){
var new_welcombar_height_top=new_welcombar_height_bottom=new_welcombar_margin_top=new_welcombar_padding_bottom=0;
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).removeClass('mysticky-welcomebar-notpresent');
$('.mysticky-welcomebar-fixed').not(".mysticky-welcomebar-notpresent").each(function(index){
var new_welcomebar_widget=$(this).data('welcomebar-widget');
var test_welcombar_position=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).data('position');
var welcombar_height_scroll=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).outerHeight();
if(! $(this).hasClass('mysticky-welcomebar-notpresent')&&! $(this).hasClass('mysticky-welcomebar-notapper')){
if(test_welcombar_position=='top'){
new_welcombar_margin_top=new_welcombar_margin_top + adminBarHeight + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).outerHeight();
if($(window).scrollTop()==0){
var new_welcombar_position=0 + new_welcombar_height_top;
}else{
if(index!=0){
var new_welcombar_position=0 + new_welcombar_height_top;
}else{
var new_welcombar_position=adminBarHeight + 0 + new_welcombar_height_top;
}}
$('.mysticky-welcomebar-apper .mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).css('top', new_welcombar_position);
new_welcombar_height_top=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).outerHeight();
var new_welcomebar_height=new_welcombar_margin_top;
jQuery('.mysticky-welcomebar-apper.et_fixed_nav #top-header').css('top', new_welcomebar_height + 'px');
jQuery('head').append('<style id="mysticky_divi_style" type="text/css">.mysticky-welcomebar-apper.et_fixed_nav #main-header {top: ' + new_welcomebar_height + 'px !important}.mysticky-welcomebar-apper.et_fixed_nav #top-header + #main-header{top: ' + divi_total_height + 'px !important}</style>');
$('html.mysticky-welcomebar-apper').attr('style', 'margin-top: ' + new_welcomebar_height + 'px !important');
$('.mysticky-welcomebar-apper #mysticky-nav').css('top', new_welcomebar_height + 'px');
new_welcombar_margin_top=new_welcombar_margin_top + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).outerHeight();
}else{
var new_welcombar_position=0 + new_welcombar_height_bottom;
$('.mysticky-welcomebar-apper .mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).css('bottom', new_welcombar_position);
new_welcombar_height_bottom=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).outerHeight();
var new_welcomebar_height=welcombar_height_scroll + new_welcombar_padding_bottom;
$('head').append('<style class="mysticky_bottom_style" type="text/css">html.mysticky-welcomebar-apper {padding-bottom: ' + new_welcomebar_height + 'px}</style>');
new_welcombar_padding_bottom=new_welcombar_padding_bottom + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).outerHeight();
}}
});
}
if(welcombar_position=='top'){
$('.mysticky-welcomebar-apper .mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('opacity', '1');
jQuery('#mysticky_divi_style').remove();
}else{
jQuery('.mysticky-welcomebar-apper .mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('opacity', '1');
jQuery('#mysticky_divi_style').remove();
jQuery('.et_fixed_nav #top-header').css('top', '');
}}
}
if($('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-display-mobile')){
if($(window).width() <=1024){
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('mysticky-welcomebar-animation');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('entry-effect');
$('#mysticky_divi_style').remove();
$('.et_fixed_nav #top-header').css('top', '');
if($('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-notpresent')){
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).removeClass('mysticky-welcomebar-notpresent');
var new_welcombar_height_top=new_welcombar_height_bottom=new_welcombar_margin_top=new_welcombar_padding_bottom=0;
$('.mysticky-welcomebar-fixed').not(".mysticky-welcomebar-notpresent").each(function(){
var new_welcomebar_widget=$(this).data('welcomebar-widget');
var test_welcombar_position=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).data('position');
var welcombar_height_scroll=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).outerHeight();
if(! $(this).hasClass('mysticky-welcomebar-notpresent')&&! $(this).hasClass('mysticky-welcomebar-notapper')){
if(test_welcombar_position=='top'){
if(new_welcomebar_widget==0){
if($(window).width() <=600){
var new_welcombar_position=0 + new_welcombar_height_top;
}else{
var new_welcombar_position=0 + new_welcombar_height_top + adminBarHeight;
}
new_welcombar_height_top=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).outerHeight();
var new_welcomebar_height=welcombar_height_scroll + new_welcombar_margin_top + adminBarHeight;
}else{
var new_welcombar_position=0  + new_welcombar_height_top;
new_welcombar_height_top=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).outerHeight();
var new_welcomebar_height=welcombar_height_scroll + new_welcombar_margin_top;
}
$('.mysticky-welcomebar-apper .mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).css('top', new_welcombar_position);
jQuery('.mysticky-welcomebar-apper.et_fixed_nav #top-header').css('top', new_welcomebar_height + 'px');
jQuery('head').append('<style id="mysticky_divi_style" type="text/css">.mysticky-welcomebar-apper.et_fixed_nav #main-header {top: ' + new_welcomebar_height + 'px !important}.mysticky-welcomebar-apper.et_fixed_nav #top-header + #main-header{top: ' + divi_total_height + 'px !important}</style>');
$('html.mysticky-welcomebar-apper').attr('style', 'margin-top: ' + new_welcomebar_height + 'px !important');
$('.mysticky-welcomebar-apper #mysticky-nav').css('top', new_welcomebar_height + 'px');
new_welcombar_margin_top=new_welcombar_margin_top + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).outerHeight();
}else{
var new_welcombar_position=0 + new_welcombar_height_bottom;
$('.mysticky-welcomebar-apper .mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).css('bottom', new_welcombar_position);
new_welcombar_height_bottom=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).outerHeight();
var new_welcomebar_height=welcombar_height_scroll + new_welcombar_padding_bottom;
jQuery('head').append('<style class="mysticky_bottom_style" type="text/css">html.mysticky-welcomebar-apper {padding-bottom: ' + new_welcomebar_height + 'px}</style>');
new_welcombar_padding_bottom=new_welcombar_padding_bottom + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).outerHeight();
}}
});
}
if(welcombar_position=='top'){
jQuery('.mysticky-welcomebar-apper .mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('opacity', '1');
}else{
jQuery('.mysticky-welcomebar-apper .mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('opacity', '1');
}}
}}else if($(window).scrollTop()==0){
if($(window).width() <=600){
if($('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-display-mobile')){
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('mysticky-welcomebar-notpresent');
var new_welcombar_height_top=0;
$('.mysticky-welcomebar-fixed').each(function(index){
var new_welcomebar_widget=$(this).data('welcomebar-widget');
var test_welcombar_position=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).data('position');
if(test_welcombar_position=='top'){
if(index==0){
var new_welcombar_position=0 + adminBarHeight + new_welcombar_height_top;
}else{
var new_welcombar_position=0  + new_welcombar_height_top;
}
$('.mysticky-welcomebar-apper .mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).css('top', new_welcombar_position);
new_welcombar_height_top=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).outerHeight();
}});
}}
}}else{
if($('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-display-mobile')){
if($(window).width() <=600){
var new_welcombar_height_top=0;
$('.mysticky-welcomebar-fixed').not(".mysticky-welcomebar-notpresent").each(function(index){
var new_welcomebar_widget=$(this).data('welcomebar-widget');
var test_welcombar_position=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).data('position');
if(! $(this).hasClass('mysticky-welcomebar-notpresent')&&! $(this).hasClass('mysticky-welcomebar-notapper')){
if(test_welcombar_position=='top'){
if($(window).scrollTop() > 0){
var new_welcombar_position=0 + new_welcombar_height_top;
}else{
if(index==0){
var new_welcombar_position=0 + adminBarHeight + new_welcombar_height_top;
}else{
var new_welcombar_position=0  + new_welcombar_height_top;
}}
$('.mysticky-welcomebar-apper .mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).css('top', new_welcombar_position);
new_welcombar_height_top=new_welcombar_position + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + new_welcomebar_widget).outerHeight();
}}
});
}}
}
mystickyelements_present(welcomebar_widget);
}});
});
$('.mysticky-welcomebar-close, .mysticky-welcomebar-btn a').on('click', function(e){
if($(this).attr('href')==''){
e.preventDefault();
}
var new_welcombar_margin_top_close=new_welcombar_height_top_close=0;
var new_welcombar_padding_bottom_close=new_welcombar_height_bottom_close=0;
var welcomebar_widget=$(this).data('welcomebar-widget');
var welcombar_rediect=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('rediect');
var welcombar_height=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).outerHeight();
var welcombar_aftersubmission=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('aftersubmission');
var welcombar_position=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('position');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('mysticky-welcomebar-notapper');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('mysticky-welcomebar-notpresent');
if($('.mysticky-welcomebar-notapper').length==$('.mysticky-welcomebar-fixed').length){
$('html,body').removeClass('mysticky-welcomebar-apper');
}
if(jQuery(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-lead-content").length > 0&&!$(this).hasClass("mysticky-welcomebar-close")){
var flag=true;
if(jQuery('#contact-lead-name-'+welcomebar_widget).val()!=''&&(jQuery('#contact-lead-phone-'+welcomebar_widget).val()!=''||jQuery('#contact-lead-email-'+welcomebar_widget).val()!='')){
if(jQuery('#contact-lead-email-'+welcomebar_widget).css("display")!='none'&&IsEmail(jQuery('#contact-lead-email-'+welcomebar_widget).val())!=true){
if($(".mysticky-welcomebar-widget-"+welcomebar_widget+" .input-error").length){
$(".mysticky-welcomebar-widget-"+welcomebar_widget+" .input-error").remove();
}
$('<div class="input-error"><span>Please, enter valid email</span></div>').insertAfter(jQuery('#contact-lead-email-'+welcomebar_widget));
flag=false;
}
if(jQuery('#contact-lead-phone-'+welcomebar_widget).css("display")!='none'&&validatePhone(jQuery('#contact-lead-phone-'+welcomebar_widget).val())!=true){
if($(".mysticky-welcomebar-widget-"+welcomebar_widget+" .input-error").length){
$(".mysticky-welcomebar-widget-"+welcomebar_widget+" .input-error").remove();
}
$('<div class="input-error"><span>Please, enter valid phone</span></div>').insertAfter(jQuery('#contact-lead-phone-'+welcomebar_widget));
flag=false;
}
if(flag==true){
var data=[];
data["contact_name"]=jQuery('#contact-lead-name-'+welcomebar_widget).val();
data["contact_email"]=jQuery('#contact-lead-email-'+welcomebar_widget).val();
data["contact_phone"]=jQuery('#contact-lead-phone-'+welcomebar_widget).val();
data["contact_page_link"]=jQuery('#contact-lead-pagelink-'+welcomebar_widget).val();
if(welcombar_rediect=='thankyou_screen'){
$(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-lead-content").hide();
$(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-content p").hide();
$(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-content .mysticky-welcomebar-thankyou-content p").show();
}
jQuery.ajax({
url: welcomebar_frontjs.ajaxurl,
type:'post',
data: 'contact_name='+data["contact_name"]+'&contact_email='+data["contact_email"]+'&contact_phone='+data["contact_phone"]+'&action=stickymenu_contact_lead_form&widget_id=' + welcomebar_widget  + '&page_link='+ data["contact_page_link"] +'&save_form_lead=1&wpnonce=' + welcomebar_frontjs.ajax_nonce,
success: function(data){
$(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-fixed-wrap").css("margin-bottom","0");
},
});
}else{
$(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-fixed-wrap").css("margin-bottom","10px");
return false;
}}else{
localStorage.removeItem('welcomebar_close_' + welcomebar_widget);
sessionStorage.removeItem('welcomebar_close_' + welcomebar_widget);
if($(".mysticky-welcomebar-widget-"+welcomebar_widget+" .input-error").length){
$(".mysticky-welcomebar-widget-"+welcomebar_widget+" .input-error").remove();
}
if(jQuery('#contact-lead-name-'+welcomebar_widget).css("display")!='none'&&jQuery('#contact-lead-name-'+welcomebar_widget).val()==''&&jQuery('#contact-lead-email-'+welcomebar_widget).css("display")!='none'&&jQuery('#contact-lead-email-'+welcomebar_widget).val()==''){
$('<div class="input-error"><span>Please enter your name and email</span></div>').insertAfter(jQuery('#contact-lead-name-'+welcomebar_widget));
flag=false;
}else if(jQuery('#contact-lead-name-'+welcomebar_widget).css("display")!='none'&&jQuery('#contact-lead-name-'+welcomebar_widget).val()==''&&jQuery('#contact-lead-phone-'+welcomebar_widget).css("display")!='none'&&jQuery('#contact-lead-phone-'+welcomebar_widget).val()==''){
$('<div class="input-error"><span>Please enter your name and phone</span></div>').insertAfter(jQuery('#contact-lead-name-'+welcomebar_widget));
flag=false;
}else if(jQuery('#contact-lead-name-'+welcomebar_widget).css("display")!='none'&&jQuery('#contact-lead-name-'+welcomebar_widget).val()==''){
$('<div class="input-error"><span>Please enter your name</span></div>').insertAfter(jQuery('#contact-lead-name-'+welcomebar_widget));
flag=false;
}else if(jQuery('#contact-lead-email-'+welcomebar_widget).css("display")!='none'&&jQuery('#contact-lead-email-'+welcomebar_widget).val()==''){
$('<div class="input-error"><span>Please, enter your email</span></div>').insertAfter(jQuery('#contact-lead-email-'+welcomebar_widget));
flag=false;
}else if(jQuery('#contact-lead-phone-'+welcomebar_widget).css("display")!='none'&&jQuery('#contact-lead-phone-'+welcomebar_widget).val()==''){
$('<div class="input-error"><span>Please, enter your phone</span></div>').insertAfter(jQuery('#contact-lead-phone-'+welcomebar_widget));
flag=false;
}
if(flag==false){
$(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-fixed-wrap").css("margin-bottom","10px");
}else{
$(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-fixed-wrap").css("margin-bottom","0");
}
return false;
}}else{
if($(this).hasClass("mysticky-welcomebar-close")){
localStorage.setItem('is_close_trigger_' + welcomebar_widget, 'yes');
}}
if(welcombar_rediect!='thankyou_screen'||$(this).attr('class')=='mysticky-welcomebar-close'){
if(welcombar_aftersubmission!='show_welcomebar_every_page'){
if(welcombar_aftersubmission=='dont_show_welcomebar'){
sessionStorage.removeItem('welcomebar_close_' + welcomebar_widget);
localStorage.setItem('welcomebar_close_' + welcomebar_widget, 'close');
}else if(welcombar_aftersubmission=='show_welcomebar_next_visit'){
localStorage.removeItem('welcomebar_close_' + welcomebar_widget);
sessionStorage.setItem('welcomebar_close_' + welcomebar_widget, 'close');
}}
if(jQuery(this).data("isenable-coupon")==1){
jQuery(".mysticky-welcomebar-widget-"+welcomebar_widget).find(".mysticky-welcomebar-btn").hide();
jQuery(".mysticky-welcomebar-widget-"+welcomebar_widget).find(".mysticky-welcomebar-content").hide();
jQuery(".mysticky-welcomebar-widget-"+welcomebar_widget).find(".mysticky-couponbar-content").show();
$(".mysticky-welcomebar-widget-"+welcomebar_widget + " .count-down-timer-box").hide();
if(jQuery(".mysticky-welcomebar-fixed.mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-lead-content").length > 0){
jQuery(".mysticky-welcomebar-fixed.mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-lead-content").hide();
}
localStorage.setItem('is_button_trigger_' + welcomebar_widget, 'yes');
return;
}
var is_autometically_close_after_click=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data("automatically-enabled");
var after_click_close_sec=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data("automatically-triggersec");
console.log(is_autometically_close_after_click + "=="+ after_click_close_sec);
if(is_autometically_close_after_click==''){
after_click_close_sec=0;
}
setTimeout(function(){
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).slideUp('slow');
if(welcombar_position=='top'){
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('top', '-' + welcombar_height + 'px');
}else{
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('bottom', '-' + welcombar_height + 'px');
$('.mysticky_bottom_style').remove();
}
var welcomebar__height=parseFloat($('.mysticky-welcomebar-fixed.mysticky-welcomebar-position-top.mysticky-welcomebar-widget-' + welcomebar_widget).outerHeight());
var html_margin_top=jQuery("html").css("margin-top");
html_margin_top=html_margin_top.replace("px",'');
jQuery("html").css("margin-top", (parseInt(html_margin_top) - welcomebar__height) + "px");
if($('#mysticky-nav').length > 0){
$('#mysticky-nav').css('top', (parseInt(html_margin_top) - welcomebar__height) + "px");
}
jQuery('#mysticky_divi_style').remove();
jQuery('.et_fixed_nav #top-header').css('top', '');
jQuery('html').css('padding-bottom', '');
var mystickyelements_show=$('.mystickyelements-fixed').length;
if(mystickyelements_show&&$(window).width() <=1024&&$('.mystickyelements-fixed').hasClass('mystickyelements-position-mobile-top')&&welcombar_position=='top'){
var mystickyelements_height=adminBarHeight + $('.mystickyelements-fixed').height();
$('.mystickyelements-fixed').css('top', '');
$('html').attr('style', 'margin-top: ' + mystickyelements_height + 'px !important');
}
jQuery(window).trigger('resize');
},(parseInt(after_click_close_sec) * 1000));
}else{
var welcomebarHeight=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-'+ welcomebar_widget).css("height");
if($(".mysticky-welcomebar-fixed.mysticky-welcomebar-widget-"+ welcomebar_widget+" .count-down-timer-box").length > 0&&$(".count-down-timer-box").css("display")!='none'){
jQuery(".count-down-timer-box").hide();
}
$(".mysticky-welcomebar-fixed.mysticky-welcomebar-widget-"+ welcomebar_widget + " .mysticky-welcomebar-content p").first().hide();
if(jQuery(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-lead-content").length <=0&&!$(this).hasClass('mysticky-welcomebar-close')){
var thankyou_content_height=jQuery('.mysticky-welcomebar-thankyou-content').height();
if(thankyou_content_height > 60){
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css({ 'min-height': thankyou_content_height + 'px', 'height':'auto' });
}
$('.mysticky-welcomebar-widget-'+ welcomebar_widget +' .mysticky-welcomebar-thankyou-content').show();
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget- .mysticky-welcomebar-content > p').hide();
$('.mysticky-welcomebar-widget-'+ welcomebar_widget +' .mysticky-welcomebar-btn').hide();
}else if(jQuery(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-lead-content").length&&$(this).parent().hasClass("mysticky-welcomebar-btn")){
var thankyou_content_height=jQuery('.mysticky-welcomebar-thankyou-content').height();
if(thankyou_content_height > 60){
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css({ 'min-height': thankyou_content_height + 'px', 'height':'auto' });
}
$('.mysticky-welcomebar-widget-'+ welcomebar_widget +' .mysticky-welcomebar-thankyou-content').show();
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget- .mysticky-welcomebar-content > p').hide();
$('.mysticky-welcomebar-widget-'+ welcomebar_widget +' .mysticky-welcomebar-btn').hide();
}else{
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).slideUp('slow');
if(welcombar_position=='top'){
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('top', '-' + welcombar_height + 'px');
}else{
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('bottom', '-' + welcombar_height + 'px');
$('.mysticky_bottom_style').remove();
}
/*
var welcomebar__height=parseInt($('.mysticky-welcomebar-fixed.mysticky-welcomebar-position-top.mysticky-welcomebar-widget-' + welcomebar_widget).outerHeight());
var html_margin_top=jQuery("html").css("margin-top");
html_margin_top=html_margin_top.replace("px",'');
jQuery("html").css("margin-top",""+(parseInt(html_margin_top) - welcomebar__height)+"px")
*/
}
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-'+ welcomebar_widget).css("height",welcomebarHeight);
if(welcombar_position==='top'){
setTimeout(hideBarAnimation, 1000,welcomebar_widget,welcombar_position,welcombar_height);
}
localStorage.setItem('welcomebar_close_' + welcomebar_widget, 'close');
jQuery(window).trigger('resize');
}});
function hideBarAnimation(welcomebar_widget,welcombar_position,welcombar_height){
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).slideUp('slow');
if(welcombar_position=='top'){
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('top', '-' + welcombar_height + 'px');
}else{
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('bottom', '-' + welcombar_height + 'px');
}
var html_margin_top=jQuery("html").css("margin-top");
html_margin_top=html_margin_top.replace("px",'');
jQuery("html").css("margin-top", (parseInt(html_margin_top) - parseInt(welcombar_height)) + "px")
if($('#mysticky-nav').length > 0){
$('#mysticky-nav').css('top', (parseInt(html_margin_top) - parseInt(welcombar_height)) + "px")
}
jQuery(window).trigger('resize');
}
$('.coupon-cpy-tooltip').on("click",function(){
var idd=$(this).attr('id');
$('#'+idd + ' .tooltiptext').css({"visibility":"visible","opacity":"1"});
setTimeout(function(){$('#'+idd +' .tooltiptext').css({"visibility":"hidden","opacity":"0"});}, 3000);
var copyText=$("#"+idd+" a");
copyText.select();
navigator.clipboard.writeText(copyText.text().trim());
});
function mystickyelements_present(welcomebar_widget){
var after_trigger=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('after-triger');
var mystickyelements_show=$('.mystickyelements-fixed').length;
var welcombar_position=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('position');
if(mystickyelements_show){
var welcombar_position=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('position');
var welcombar_height=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).outerHeight();
var mystickyelements_height=$('.mystickyelements-fixed').height();
var mystickyelements_total_height=adminBarHeight + welcombar_height + mystickyelements_height;
if($(window).width() <=1024&&$('.mystickyelements-fixed').hasClass('mystickyelements-position-mobile-top')){
if(after_trigger=='after_a_few_seconds'){
if($('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-display-mobile')){
var trigger_sec=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('triger-sec') * 1000;
setTimeout(function(){
if(welcombar_position=='top'){
if(jQuery(window).width() <=600&&jQuery(window).scrollTop()!=0&&welcombar_position=='top'){
welcombar_height=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).outerHeight() - adminBarHeight;
mystickyelements_total_height=(welcombar_height + mystickyelements_height) - adminBarHeight;
$('.mystickyelements-fixed').css('top', welcombar_height);
$('html').attr('style', 'margin-top: ' + mystickyelements_total_height + 'px !important');
}else{
$('.mystickyelements-fixed').css('top', welcombar_height);
$('html').attr('style', 'margin-top: ' + mystickyelements_total_height + 'px !important');
}}else{
$('.mystickyelements-fixed').css('top', '');
if(! jQuery('style').hasClass('mysticky_bottom_style')){
jQuery('head').append('<style class="mysticky_bottom_style" type="text/css">html.mysticky-welcomebar-apper {padding-bottom: ' + welcombar_height + 'px}</style>');
}}
}, trigger_sec);
}}else if(after_trigger==='after_scroll'){
var scroll=100 * $(window).scrollTop() / ($(document).height() - $(window).height());
var after_scroll_val=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('triger-sec');
if(scroll > after_scroll_val){
if($('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).hasClass('mysticky-welcomebar-display-mobile')){
if(welcombar_position=='top'){
$('.mystickyelements-fixed').css('top', welcombar_height);
$('html').attr('style', 'margin-top: ' + mystickyelements_total_height + 'px !important');
}else{
$('.mystickyelements-fixed').css('top', '');
if(! $('style').hasClass('mysticky_bottom_style')){
$('head').append('<style class="mysticky_bottom_style" type="text/css">html.mysticky-welcomebar-apper {padding-bottom: ' + welcombar_height + 'px}</style>');
}}
}}
}}
}}
function mysticky_welcombar_automatically_close(welcomebar_widget){
var welcombar_automatically_enabled=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('automatically-enabled');
var automatically_triggersec=jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('automatically-triggersec') * 1000;
var welcombar_aftersubmission=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('aftersubmission');
var welcombar_height=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).outerHeight();
if(welcombar_automatically_enabled==1){
setTimeout(function(){
jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('mysticky-welcomebar-notapper');
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).addClass('mysticky-welcomebar-notpresent');
if(jQuery('.mysticky-welcomebar-notapper').length==jQuery('.mysticky-welcomebar-fixed').length){
jQuery('html,body').removeClass('mysticky-welcomebar-apper');
}
if(welcombar_aftersubmission!='show_welcomebar_every_page'){
if(welcombar_aftersubmission=='dont_show_welcomebar'){
sessionStorage.removeItem('welcomebar_close_' + welcomebar_widget);
localStorage.setItem('welcomebar_close_' + welcomebar_widget, 'close');
}else if(welcombar_aftersubmission=='show_welcomebar_next_visit'){
localStorage.removeItem('welcomebar_close_' + welcomebar_widget);
sessionStorage.setItem('welcomebar_close_' + welcomebar_widget, 'close');
}}
var welcombar_position=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).data('position');
jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).slideUp('slow');
if(welcombar_position=='top'){
jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('top', '-' + welcombar_height + 'px');
}else{
jQuery('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + welcomebar_widget).css('bottom', '-' + welcombar_height + 'px');
}
var new_welcombar_margin_top_close=new_welcombar_height_top_close=0;
var new_welcombar_padding_bottom_close=new_welcombar_height_bottom_close=0;
$('.mysticky-welcomebar-fixed').each(function(){
var common_welcombar_position=$(this).data('position');
var common_welcomebar_widget=$(this).data('welcomebar-widget');
if(common_welcombar_position=='top'){
if(! $(this).hasClass('mysticky-welcomebar-notapper')&&! $(this).hasClass('mysticky-welcomebar-notpresent')){
var common_welcombar_height=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + common_welcomebar_widget).outerHeight();
var new_welcomebar_height=common_welcombar_height + new_welcombar_margin_top_close;
var new_welcombar_position=0 + new_welcombar_height_top_close;
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + common_welcomebar_widget).css('top', new_welcombar_position);
new_welcombar_height_top_close=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + common_welcomebar_widget).outerHeight() - new_welcombar_position;
$('html.mysticky-welcomebar-apper').attr('style', 'margin-top: ' + new_welcomebar_height + 'px !important');
$('#mysticky-nav').css('top', new_welcomebar_height + 'px');
new_welcombar_margin_top_close=new_welcombar_margin_top_close + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + common_welcomebar_widget).outerHeight();
}else{
var welcomebar_fixed_length=$('.mysticky-welcomebar-fixed').length;
var welcomebar_notapper_length=$('.mysticky-welcomebar-notapper').length;
var welcomebar_notapper_top_length=$('.mysticky-welcomebar-position-top.mysticky-welcomebar-notapper').length;
var welcomebar_notpresent_top_length=$('.mysticky-welcomebar-position-top.mysticky-welcomebar-notpresent').length;
var welcomebar_top_length=$('.mysticky-welcomebar-position-top').length;
if(welcomebar_notapper_length==welcomebar_fixed_length||welcomebar_top_length==welcomebar_notapper_top_length||welcomebar_top_length==welcomebar_notpresent_top_length){
$('html').css('margin-top', '');
$('#mysticky-nav').css('top', '0px');
}}
}else{
if(! $(this).hasClass('mysticky-welcomebar-notapper')&&! $(this).hasClass('mysticky-welcomebar-notpresent')){
var common_welcombar_height=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + common_welcomebar_widget).outerHeight();
var new_welcomebar_height=common_welcombar_height + new_welcombar_padding_bottom_close;
var new_welcombar_position=0 + new_welcombar_height_bottom_close;
$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + common_welcomebar_widget).css('bottom', new_welcombar_position);
new_welcombar_height_bottom_close=$('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + common_welcomebar_widget).outerHeight() - new_welcombar_position;
$('head').append('<style class="mysticky_bottom_style" type="text/css">html.mysticky-welcomebar-apper {padding-bottom: ' + new_welcomebar_height + 'px}</style>');
new_welcombar_padding_bottom_close=new_welcombar_padding_bottom_close + $('.mysticky-welcomebar-fixed.mysticky-welcomebar-widget-' + common_welcomebar_widget).outerHeight();
}else{
var welcomebar_fixed_length=$('.mysticky-welcomebar-fixed').length;
var welcomebar_notapper_length=$('.mysticky-welcomebar-notapper').length;
var welcomebar_notapper_bottom_length=$('.mysticky-welcomebar-position-bottom.mysticky-welcomebar-notapper').length;
var welcomebar_notpresent_bottom_length=$('.mysticky-welcomebar-position-bottom.mysticky-welcomebar-notpresent').length;
var welcomebar_bottom_length=$('.mysticky-welcomebar-position-bottom').length;
if(welcomebar_notapper_length==welcomebar_fixed_length||welcomebar_bottom_length==welcomebar_notapper_bottom_length||welcomebar_bottom_length==welcomebar_notpresent_bottom_length){
$('head').append('<style class="mysticky_bottom_style" type="text/css">html.mysticky-welcomebar-apper {padding-bottom: 0px}</style>');
}}
}});
jQuery('#mysticky_divi_style').remove();
jQuery('.et_fixed_nav #top-header').css('top', '');
var mystickyelements_show=$('.mystickyelements-fixed').length;
if(mystickyelements_show&&$(window).width() <=1024&&$('.mystickyelements-fixed').hasClass('mystickyelements-position-mobile-top')&&welcombar_position=='top'){
var mystickyelements_height=$('.mystickyelements-fixed').height();
$('.mystickyelements-fixed').css('top', '');
$('html').attr('style', 'margin-top: ' + mystickyelements_height + 'px !important');
}}, automatically_triggersec);
}}
});
jQuery(".mysticky-welcomebar-fixed").on("animationend MSAnimationEnd webkitAnimationEnd oAnimationEnd",
function(){
jQuery(this).removeClass("animation-start");
}
);
jQuery(document).ready(function(){
var container=jQuery(".mysticky-welcomebar-fixed");
var refreshId=setInterval(function(){
container.addClass("animation-start");
}, 3500);
});
function IsEmail(email){
var regex =
/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if(!regex.test(email)){
return false;
}else{
return true;
}}
function validatePhone(txtPhone){
var a=txtPhone;
var filter=/^((\+[1-9]{1,4}[ \-]*)|(\([0-9]{2,3}\)[ \-]*)|([0-9]{2,4})[ \-]*)*?[0-9]{3,4}?[ \-]*[0-9]{3,4}?$/;
if(filter.test(a)){
return true;
}else{
return false;
}};
(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)})(function($){function initMouseDetection(t){var e=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).unbind(e),mouseDetectionEnabled=!1);else{var i=!0,s=null;$(document).bind(getEventsNS([["mousemove",function(t){var e={x:t.pageX,y:t.pageY,timeStamp:(new Date).getTime()};if(s){var o=Math.abs(s.x-e.x),a=Math.abs(s.y-e.y);if((o>0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}],[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut",function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)}]],e)),mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};return $.each(t,function(t,s){i[s[0].split(" ").join(e+" ")+e]=s[1]}),i}var menuTrees=[],IE=!!window.createPopup,mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)};return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).bind(getEventsNS([["mouseover focusin",$.proxy(this.rootOver,this)],["mouseout focusout",$.proxy(this.rootOut,this)],["keydown",$.proxy(this.rootKeyDown,this)]],i)).delegate("a",getEventsNS([["mouseenter",$.proxy(this.itemEnter,this)],["mouseleave",$.proxy(this.itemLeave,this)],["mousedown",$.proxy(this.itemDown,this)],["focus",$.proxy(this.itemFocus,this)],["blur",$.proxy(this.itemBlur,this)],["click",$.proxy(this.itemClick,this)]],i)),i+=this.rootId,this.opts.hideOnClick&&$(document).bind(getEventsNS([["touchstart",$.proxy(this.docTouchStart,this)],["touchmove",$.proxy(this.docTouchMove,this)],["touchend",$.proxy(this.docTouchEnd,this)],["click",$.proxy(this.docClick,this)]],i)),$(window).bind(getEventsNS([["resize orientationchange",$.proxy(this.winResize,this)]],i)),this.opts.subIndicators&&(this.$subArrow=$("<span/>").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").unbind(e).undelegate(e),e+=this.rootId,$(document).unbind(e),$(window).unbind(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("ie-shim").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('<div class="sm-jquery-disable-overlay"/>').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?(this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).is("a"))&&this.menuHideAll(),void 0)},docTouchEnd:function(){if(this.lastTouch){if(!(!this.visibleSubMenus.length||void 0!==this.lastTouch.x2&&this.lastTouch.x1!=this.lastTouch.x2||void 0!==this.lastTouch.y2&&this.lastTouch.y1!=this.lastTouch.y2||this.lastTouch.target&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for(var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"block"==this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if((!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is("span.sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1;if(s&&!s.is(":visible")){if(this.opts.showOnClick&&o&&(this.clickActivated=!0),this.itemActivate(e),s.is(":visible"))return this.focusActivated=!0,!1}else if(this.isCollapsible()&&i)return this.itemActivate(e),this.menuHide(s),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("ie-shim")&&t.dataSM("ie-shim").remove().css({"-webkit-transform":"",transform:""}),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).unbind(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);this.opts.isPopup&&(this.$root.stop(!0,!0),this.$root.is(":visible")&&(this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration),this.$root.dataSM("ie-shim")&&this.$root.dataSM("ie-shim").remove())),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuIframeShim:function(t){IE&&this.opts.overlapControlsInIE&&!t.dataSM("ie-shim")&&t.dataSM("ie-shim",$("<iframe/>").attr({src:"javascript:0",tabindex:-9}).css({position:"absolute",top:"auto",left:"0",opacity:0,border:"0"}))},menuInit:function(t){if(!t.dataSM("in-mega")){t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var e=2,i=t[0];(i=i.parentNode.parentNode)!=this.$root[0];)e++;var s=t.prevAll("a").eq(-1);s.length||(s=t.prevAll().find("a").eq(-1)),s.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",s).dataSM("level",e).parent().dataSM("sub",t);var o=s.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;s.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&s[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var e,i,s=t.dataSM("parent-a"),o=s.closest("li"),a=o.parent(),n=t.dataSM("level"),r=this.getWidth(t),h=this.getHeight(t),u=s.offset(),l=u.left,c=u.top,d=this.getWidth(s),m=this.getHeight(s),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),S=this.getViewportWidth(),b=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]")||2==n&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==n?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==n?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(e=M?d-r-w:w,i=this.opts.bottomToTopSubMenus?-h-T:m+T):(e=M?w-r:d-w,i=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+e,I=c+i;if(M&&f>y?e=g?f-y+e:d-w:!M&&y+r>f+S&&(e=g?f+S-r-y+e:w-r),g||(b>h&&I+h>v+b?i+=v+b-h-I:(h>=b||v>I)&&(i+=v-I)),g&&(I+h>v+b+.49||v>I)||!g&&h>b+.49){var x=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('<span class="scroll-up"><span class="scroll-up-arrow"></span></span>')[0],$('<span class="scroll-down"><span class="scroll-down-arrow"></span></span>')[0]]).bind({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),x.menuScroll(t)},mouseleave:function(e){x.menuScrollStop(t),x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(t){t.preventDefault()}}).insertAfter(t));var C=".smartmenus_scroll";t.dataSM("scroll",{y:this.cssTransforms3d?0:i-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).bind(getEventsNS([["mouseover",function(e){x.menuScrollOver(t,e)}],["mouseout",function(e){x.menuScrollOut(t,e)}],["mousewheel DOMMouseScroll",function(e){x.menuScrollMousewheel(t,e)}]],C)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:e+(parseInt(t.css("border-left-width"))||0),width:r-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()&&t.css({"touch-action":"none","-ms-touch-action":"none"}).bind(getEventsNS([[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp",function(e){x.menuScrollTouch(t,e)}]],C))}}t.css({top:"auto",left:"0",marginLeft:e,marginTop:i-m}),this.menuIframeShim(t),t.dataSM("ie-shim")&&t.dataSM("ie-shim").css({zIndex:t.css("z-index"),width:r,height:h,marginLeft:e,marginTop:i-m})},menuScroll:function(t,e,i){var s,o=t.dataSM("scroll"),a=t.dataSM("scroll-arrows"),n=o.up?o.upEnd:o.downEnd;if(!e&&o.momentum){if(o.momentum*=.92,s=o.momentum,.5>s)return this.menuScrollStop(t),void 0}else s=i||(e||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var r=t.dataSM("level");if(this.activatedItems[r-1]&&this.activatedItems[r-1].dataSM("sub")&&this.activatedItems[r-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(r-1),o.y=o.up&&o.y>=n||!o.up&&n>=o.y?o.y:Math.abs(n-o.y)>s?o.y+(o.up?s:-s):n,t.add(t.dataSM("ie-shim")).css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y<o.upEnd)&&a.eq(o.up?1:0).show(),o.y==n)mouse&&a.eq(o.up?0:1).hide(),this.menuScrollStop(t);else if(!e){this.opts.scrollAccelerate&&o.step<this.opts.scrollStep&&(o.step+=.2);var h=this;this.scrollTimeout=requestAnimationFrame(function(){h.menuScroll(t)})}},menuScrollMousewheel:function(t,e){if(this.getClosestMenu(e.target)==t[0]){e=e.originalEvent;var i=(e.wheelDelta||-e.detail)>0;t.dataSM("scroll-arrows").eq(i?0:1).is(":visible")&&(t.dataSM("scroll").up=i,this.menuScroll(t,!0))}e.preventDefault()},menuScrollOut:function(t,e){mouse&&(/^scroll-(up|down)/.test((e.relatedTarget||"").className)||(t[0]==e.relatedTarget||$.contains(t[0],e.relatedTarget))&&this.getClosestMenu(e.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(t,e){if(mouse&&!/^scroll-(up|down)/.test(e.target.className)&&this.getClosestMenu(e.target)==t[0]){this.menuScrollRefreshData(t);var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",s).end().eq(1).css("margin-top",s+this.getViewportHeight()-i.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var e=t.dataSM("scroll"),i=$(window).scrollTop()-t.dataSM("parent-a").offset().top-e.itemH;this.cssTransforms3d&&(i=-(parseFloat(t.css("margin-top"))-i)),$.extend(e,{upEnd:i,downEnd:i+this.getViewportHeight()-e.subH})},menuScrollStop:function(t){return this.scrollTimeout?(cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(t,e){if(e=e.originalEvent,isTouchEvent(e)){var i=this.getTouchPoint(e);if(this.getClosestMenu(i.target)==t[0]){var s=t.dataSM("scroll");if(/(start|down)$/i.test(e.type))this.menuScrollStop(t)?(e.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp});else if(/move$/i.test(e.type)){var o=void 0!==s.touchY?s.touchY:s.touchStartY;if(void 0!==o&&o!=i.pageY){this.$touchScrollingSub=t;var a=i.pageY>o;void 0!==s.up&&s.up!=a&&$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp}),$.extend(s,{up:a,touchY:i.pageY}),this.menuScroll(t,!0,Math.abs(i.pageY-o))}e.preventDefault()}else void 0!==s.touchY&&((s.momentum=15*Math.pow(Math.abs(i.pageY-s.touchStartY)/(e.timeStamp-s.touchStartTime),2))&&(this.menuScrollStop(t),this.menuScroll(t),e.preventDefault()),delete s.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",t[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",t[0])!==!1&&(t.dataSM("shown-before",!0).stop(!0,!0),!t.is(":visible"))){var e=t.dataSM("parent-a");if((this.opts.keepHighlighted||this.isCollapsible())&&e.addClass("highlighted"),this.isCollapsible())t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var i=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),i>this.getWidth(t)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t),t.dataSM("ie-shim")&&t.dataSM("ie-shim").insertBefore(t)}var s=function(){t.css("overflow","")};this.isCollapsible()?this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,s):t.show(this.opts.collapsibleShowDuration,s):this.opts.showFunction?this.opts.showFunction.call(this,t,s):t.show(this.opts.showDuration,s),e.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,e){if(!this.opts.isPopup)return alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.'),void 0;if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0).stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:e}),this.menuIframeShim(this.$root),this.$root.dataSM("ie-shim")&&this.$root.dataSM("ie-shim").css({zIndex:this.$root.css("z-index"),width:this.getWidth(this.$root),height:this.getHeight(this.$root),left:t,top:e}).insertBefore(this.$root);var i=this,s=function(){i.$root.css("overflow","")};this.opts.showFunction?this.opts.showFunction.call(this,this.$root,s):this.$root.show(this.opts.showDuration,s),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var e=this.activatedItems[0];if(e){this.menuHideAll(),e[0].focus();var i=e.dataSM("sub");i&&this.menuHide(i)}break;case 32:var s=$(t.target);if(s.is("a")&&this.handleItemEvents(s)){var i=s.dataSM("sub");i&&!i.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(t){this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==t.type){var e=this.isCollapsible();this.wasCollapsible&&e||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=e}}else if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),$.fn.dataSM=function(t,e){return e?this.data(t+"_smartmenus",e):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})}var dataOpts=this.data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}return this.each(function(){new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"prepend",subIndicatorsText:"+",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,e){t.fadeOut(200,e)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,e){t.slideDown(200,e)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,e){t.slideUp(200,e)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,overlapControlsInIE:!0},$});
(()=>{"use strict";var e,r,_,a={},n={};function __webpack_require__(e){var r=n[e];if(void 0!==r)return r.exports;var _=n[e]={exports:{}};return a[e](_,_.exports,__webpack_require__),_.exports}__webpack_require__.m=a,e=[],__webpack_require__.O=(r,_,a,n)=>{if(!_){var c=1/0;for(o=0;o<e.length;o++){for(var[_,a,n]=e[o],i=!0,t=0;t<_.length;t++)(!1&n||c>=n)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](_[t])))?_.splice(t--,1):(i=!1,n<c&&(c=n));if(i){e.splice(o--,1);var b=a();void 0!==b&&(r=b)}}return r}n=n||0;for(var o=e.length;o>0&&e[o-1][2]>n;o--)e[o]=e[o-1];e[o]=[_,a,n]},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((r,_)=>(__webpack_require__.f[_](e,r),r)),[])),__webpack_require__.u=e=>714===e?"code-highlight.dc74fd78a051eda07b3a.bundle.min.js":721===e?"video-playlist.780d8267a738bfbd96a6.bundle.min.js":256===e?"paypal-button.21471ef12592606560a0.bundle.min.js":241===e?"progress-tracker.ad310e07a2a9063dd3ed.bundle.min.js":26===e?"animated-headline.37960d9fb9ab8b6e43cd.bundle.min.js":534===e?"media-carousel.15b78f70034df8ffebad.bundle.min.js":369===e?"carousel.6a71b6c6e34400c456a5.bundle.min.js":804===e?"countdown.71f117e09cc4a2aa3dba.bundle.min.js":888===e?"hotspot.ba3b762edc3da9c7a076.bundle.min.js":680===e?"form.0fc25ba6639255b98660.bundle.min.js":121===e?"gallery.6af8f19f91f1b16c3ab6.bundle.min.js":288===e?"lottie.b83968ecec2e4fd1b62c.bundle.min.js":42===e?"nav-menu.fd64b77e7258ee4c6205.bundle.min.js":50===e?"popup.7b71aedb401104b93788.bundle.min.js":985===e?"load-more.921f61dba5d476ec2720.bundle.min.js":287===e?"posts.2a35b76ad8ea8f612cd7.bundle.min.js":824===e?"portfolio.c214590e93207960ce64.bundle.min.js":58===e?"share-buttons.42abb737a0de191a4ee9.bundle.min.js":114===e?"slides.39da68ee3c8123589b2e.bundle.min.js":443===e?"social.787445e9f143597c5be5.bundle.min.js":838===e?"table-of-contents.f5cd05278297a9d229e1.bundle.min.js":685===e?"archive-posts.77eccfe3d546a58d3f1f.bundle.min.js":858===e?"search-form.e36b4b7c26157bb965fe.bundle.min.js":102===e?"woocommerce-menu-cart.4c85f15cfbc02b4718c9.bundle.min.js":124===e?"woocommerce-checkout-page.ca82a3335f2823da4209.bundle.min.js":859===e?"woocommerce-cart.e2a9101be21a228a4575.bundle.min.js":979===e?"woocommerce-my-account.29644c6bcc614d12067e.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},_="elementor-pro:",__webpack_require__.l=(e,a,n,c)=>{if(r[e])r[e].push(a);else{var i,t;if(void 0!==n)for(var b=document.getElementsByTagName("script"),o=0;o<b.length;o++){var u=b[o];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==_+n){i=u;break}}i||(t=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,__webpack_require__.nc&&i.setAttribute("nonce",__webpack_require__.nc),i.setAttribute("data-webpack",_+n),i.src=e),r[e]=[a];var onScriptComplete=(_,a)=>{i.onerror=i.onload=null,clearTimeout(d);var n=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach((e=>e(a))),_)return _(a)},d=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=onScriptComplete.bind(null,i.onerror),i.onload=onScriptComplete.bind(null,i.onload),t&&document.head.appendChild(i)}},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var _=r.getElementsByTagName("script");_.length&&(e=_[_.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={396:0};__webpack_require__.f.j=(r,_)=>{var a=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==a)if(a)_.push(a[2]);else if(396!=r){var n=new Promise(((_,n)=>a=e[r]=[_,n]));_.push(a[2]=n);var c=__webpack_require__.p+__webpack_require__.u(r),i=new Error;__webpack_require__.l(c,(_=>{if(__webpack_require__.o(e,r)&&(0!==(a=e[r])&&(e[r]=void 0),a)){var n=_&&("load"===_.type?"missing":_.type),c=_&&_.target&&_.target.src;i.message="Loading chunk "+r+" failed.\n("+n+": "+c+")",i.name="ChunkLoadError",i.type=n,i.request=c,a[1](i)}}),"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,_)=>{var a,n,[c,i,t]=_,b=0;for(a in i)__webpack_require__.o(i,a)&&(__webpack_require__.m[a]=i[a]);if(t)var o=t(__webpack_require__);for(r&&r(_);b<c.length;b++)n=c[b],__webpack_require__.o(e,n)&&e[n]&&e[n][0](),e[c[b]]=0;return __webpack_require__.O(o)},r=self.webpackChunkelementor_pro=self.webpackChunkelementor_pro||[];r.forEach(webpackJsonpCallback.bind(null,0)),r.push=webpackJsonpCallback.bind(null,r.push.bind(r))})()})();
(()=>{"use strict";var e,r,_,t,i,a={},n={};function __webpack_require__(e){var r=n[e];if(void 0!==r)return r.exports;var _=n[e]={exports:{}};return a[e](_,_.exports,__webpack_require__),_.exports}__webpack_require__.m=a,e=[],__webpack_require__.O=(r,_,t,i)=>{if(!_){var a=1/0;for(u=0;u<e.length;u++){for(var[_,t,i]=e[u],n=!0,c=0;c<_.length;c++)(!1&i||a>=i)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](_[c])))?_.splice(c--,1):(n=!1,i<a&&(a=i));if(n){e.splice(u--,1);var o=t();void 0!==o&&(r=o)}}return r}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[_,t,i]},_=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var i=Object.create(null);__webpack_require__.r(i);var a={};r=r||[null,_({}),_([]),_(_)];for(var n=2&t&&e;"object"==typeof n&&!~r.indexOf(n);n=_(n))Object.getOwnPropertyNames(n).forEach((r=>a[r]=()=>e[r]));return a.default=()=>e,__webpack_require__.d(i,a),i},__webpack_require__.d=(e,r)=>{for(var _ in r)__webpack_require__.o(r,_)&&!__webpack_require__.o(e,_)&&Object.defineProperty(e,_,{enumerable:!0,get:r[_]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((r,_)=>(__webpack_require__.f[_](e,r),r)),[])),__webpack_require__.u=e=>723===e?"lightbox.2b2c155d6ec60974d8c4.bundle.min.js":48===e?"text-path.9f18ebdea5ac00d653e5.bundle.min.js":209===e?"accordion.1840403ce81de408c749.bundle.min.js":745===e?"alert.cbc2a0fee74ee3ed0419.bundle.min.js":120===e?"counter.02cef29c589e742d4c8c.bundle.min.js":192===e?"progress.ca55d33bb06cee4e6f02.bundle.min.js":520===e?"tabs.37d5b4877cdb51ea91e9.bundle.min.js":181===e?"toggle.56f8ace4b1e830c02fc5.bundle.min.js":791===e?"video.d86bfd0676264945e968.bundle.min.js":268===e?"image-carousel.db284b09c0f8a8f1c44d.bundle.min.js":357===e?"text-editor.289ae80d76f0c5abea44.bundle.min.js":52===e?"wp-audio.75f0ced143febb8cd31a.bundle.min.js":413===e?"container.e026b16a99db8a3987c9.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},i="elementor:",__webpack_require__.l=(e,r,_,a)=>{if(t[e])t[e].push(r);else{var n,c;if(void 0!==_)for(var o=document.getElementsByTagName("script"),u=0;u<o.length;u++){var b=o[u];if(b.getAttribute("src")==e||b.getAttribute("data-webpack")==i+_){n=b;break}}n||(c=!0,(n=document.createElement("script")).charset="utf-8",n.timeout=120,__webpack_require__.nc&&n.setAttribute("nonce",__webpack_require__.nc),n.setAttribute("data-webpack",i+_),n.src=e),t[e]=[r];var onScriptComplete=(r,_)=>{n.onerror=n.onload=null,clearTimeout(p);var i=t[e];if(delete t[e],n.parentNode&&n.parentNode.removeChild(n),i&&i.forEach((e=>e(_))),r)return r(_)},p=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=onScriptComplete.bind(null,n.onerror),n.onload=onScriptComplete.bind(null,n.onload),c&&document.head.appendChild(n)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var _=r.getElementsByTagName("script");_.length&&(e=_[_.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={162:0};__webpack_require__.f.j=(r,_)=>{var t=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==t)if(t)_.push(t[2]);else if(162!=r){var i=new Promise(((_,i)=>t=e[r]=[_,i]));_.push(t[2]=i);var a=__webpack_require__.p+__webpack_require__.u(r),n=new Error;__webpack_require__.l(a,(_=>{if(__webpack_require__.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var i=_&&("load"===_.type?"missing":_.type),a=_&&_.target&&_.target.src;n.message="Loading chunk "+r+" failed.\n("+i+": "+a+")",n.name="ChunkLoadError",n.type=i,n.request=a,t[1](n)}}),"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,_)=>{var t,i,[a,n,c]=_,o=0;if(a.some((r=>0!==e[r]))){for(t in n)__webpack_require__.o(n,t)&&(__webpack_require__.m[t]=n[t]);if(c)var u=c(__webpack_require__)}for(r&&r(_);o<a.length;o++)i=a[o],__webpack_require__.o(e,i)&&e[i]&&e[i][0](),e[a[o]]=0;return __webpack_require__.O(u)},r=self.webpackChunkelementor=self.webpackChunkelementor||[];r.forEach(webpackJsonpCallback.bind(null,0)),r.push=webpackJsonpCallback.bind(null,r.push.bind(r))})()})();
(self.webpackChunkelementor=self.webpackChunkelementor||[]).push([[354],{7914:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},381:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=(e,t)=>{t=Array.isArray(t)?t:[t];for(const n of t)if(e.constructor.name===n.prototype[Symbol.toStringTag])return!0;return!1}},8135:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{elements:".elementor-element",nestedDocumentElements:".elementor .elementor-element"},classes:{editMode:"elementor-edit-mode"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$elements:this.$element.find(e.elements).not(this.$element.find(e.nestedDocumentElements))}}getDocumentSettings(e){let t;if(this.isEdit){t={};const e=elementor.settings.page.model;jQuery.each(e.getActiveControls(),(n=>{t[n]=e.attributes[n]}))}else t=this.$element.data("elementor-settings")||{};return this.getItems(t,e)}runElementsHandlers(){this.elements.$elements.each(((e,t)=>elementorFrontend.elementsHandler.runReadyTrigger(t)))}onInit(){this.$element=this.getSettings("$element"),super.onInit(),this.isEdit=this.$element.hasClass(this.getSettings("classes.editMode")),this.isEdit?elementor.on("document:loaded",(()=>{elementor.settings.page.model.on("change",this.onSettingsChange.bind(this))})):this.runElementsHandlers()}onSettingsChange(){}}t.default=_default},2821:(e,t,n)=>{"use strict";var s=n(7914);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(3090));class SwiperHandlerBase extends i.default{getInitialSlide(){const e=this.getEditSettings();return e.activeItemIndex?e.activeItemIndex-1:0}getSlidesCount(){return this.elements.$slides.length}togglePauseOnHover(e){e?this.elements.$swiperContainer.on({mouseenter:()=>{this.swiper.autoplay.stop()},mouseleave:()=>{this.swiper.autoplay.start()}}):this.elements.$swiperContainer.off("mouseenter mouseleave")}handleKenBurns(){const e=this.getSettings();this.$activeImageBg&&this.$activeImageBg.removeClass(e.classes.kenBurnsActive),this.activeItemIndex=this.swiper?this.swiper.activeIndex:this.getInitialSlide(),this.swiper?this.$activeImageBg=jQuery(this.swiper.slides[this.activeItemIndex]).children("."+e.classes.slideBackground):this.$activeImageBg=jQuery(this.elements.$slides[0]).children("."+e.classes.slideBackground),this.$activeImageBg.addClass(e.classes.kenBurnsActive)}}t.default=SwiperHandlerBase},3090:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({$element:null,editorListeners:null,onElementChange:null,onEditSettingsChange:null,onPageSettingsChange:null,isEdit:null,__construct:function(e){this.isActive(e)&&(this.$element=e.$element,this.isEdit=this.$element.hasClass("elementor-element-edit-mode"),this.isEdit&&this.addEditorListeners())},isActive:function(){return!0},findElement:function(e){var t=this.$element;return t.find(e).filter((function(){return jQuery(this).closest(".elementor-element").is(t)}))},getUniqueHandlerID:function(e,t){return e||(e=this.getModelCID()),t||(t=this.$element),e+t.attr("data-element_type")+this.getConstructorID()},initEditorListeners:function(){var e=this;if(e.editorListeners=[{event:"element:destroy",to:elementor.channels.data,callback:function(t){t.cid===e.getModelCID()&&e.onDestroy()}}],e.onElementChange){const t=e.getWidgetType()||e.getElementType();let n="change";"global"!==t&&(n+=":"+t),e.editorListeners.push({event:n,to:elementor.channels.editor,callback:function(t,n){e.getUniqueHandlerID(n.model.cid,n.$el)===e.getUniqueHandlerID()&&e.onElementChange(t.model.get("name"),t,n)}})}e.onEditSettingsChange&&e.editorListeners.push({event:"change:editSettings",to:elementor.channels.editor,callback:function(t,n){n.model.cid===e.getModelCID()&&e.onEditSettingsChange(Object.keys(t.changed)[0])}}),["page"].forEach((function(t){var n="on"+t[0].toUpperCase()+t.slice(1)+"SettingsChange";e[n]&&e.editorListeners.push({event:"change",to:elementor.settings[t].model,callback:function(t){e[n](t.changed)}})}))},getEditorListeners:function(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners:function(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach((function(t){elementorFrontend.addListenerOnce(e,t.event,t.callback,t.to)}))},removeEditorListeners:function(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach((function(t){elementorFrontend.removeListeners(e,t.event,null,t.to)}))},getElementType:function(){return this.$element.data("element_type")},getWidgetType:function(){const e=this.$element.data("widget_type");if(e)return e.split(".")[0]},getID:function(){return this.$element.data("id")},getModelCID:function(){return this.$element.data("model-cid")},getElementSettings:function(e){let t={};const n=this.getModelCID();if(this.isEdit&&n){const e=elementorFrontend.config.elements.data[n],s=e.attributes;let i=s.widgetType||s.elType;s.isInner&&(i="inner-"+i);let r=elementorFrontend.config.elements.keys[i];r||(r=elementorFrontend.config.elements.keys[i]=[],jQuery.each(e.controls,((e,t)=>{t.frontend_available&&r.push(e)}))),jQuery.each(e.getActiveControls(),(function(e){if(-1!==r.indexOf(e)){let n=s[e];n.toJSON&&(n=n.toJSON()),t[e]=n}}))}else t=this.$element.data("settings")||{};return this.getItems(t,e)},getEditSettings:function(e){var t={};return this.isEdit&&(t=elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes),this.getItems(t,e)},getCurrentDeviceSetting:function(e){return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(),e)},onInit:function(){this.isActive(this.getSettings())&&elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},onDestroy:function(){this.isEdit&&this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}})},6412:(e,t,n)=>{"use strict";var s=n(7914),i=s(n(5955)),r=s(n(8135)),o=s(n(5658)),l=s(n(3090)),c=s(n(2821));i.default.frontend={Document:r.default,tools:{StretchElement:o.default},handlers:{Base:l.default,SwiperBase:c.default}}},5658:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({getDefaultSettings:function(){return{element:null,direction:elementorFrontend.config.is_rtl?"right":"left",selectors:{container:window}}},getDefaultElements:function(){return{$element:jQuery(this.getSettings("element"))}},stretch:function(){var e,t=this.getSettings("selectors.container");try{e=jQuery(t)}catch(e){}e&&e.length||(e=jQuery(this.getDefaultSettings().selectors.container)),this.reset();var n=this.elements.$element,s=e.innerWidth(),i=n.offset().left,r="fixed"===n.css("position"),o=r?0:i;if(window!==e[0]){var l=e.offset().left;r&&(o=l),i>l&&(o=i-l)}r||(elementorFrontend.config.is_rtl&&(o=s-(n.outerWidth()+o)),o=-o);var c={};c.width=s+"px",c[this.getSettings("direction")]=o+"px",n.css(c)},reset:function(){var e={width:""};e[this.getSettings("direction")]="",this.elements.$element.css(e)}})},2618:(e,t,n)=>{"use strict";var s=n(7914);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(7597)),r=s(n(381));class ArgsObject extends i.default{static getInstanceType(){return"ArgsObject"}constructor(e){super(),this.args=e}requireArgument(e,t=this.args){if(!t.hasOwnProperty(e))throw Error(`${e} is required.`)}requireArgumentType(e,t,n=this.args){if(this.requireArgument(e,n),typeof n[e]!==t)throw Error(`${e} invalid type: ${t}.`)}requireArgumentInstance(e,t,n=this.args){if(this.requireArgument(e,n),!(n[e]instanceof t||(0,r.default)(n[e],t)))throw Error(`${e} invalid instance.`)}requireArgumentConstructor(e,t,n=this.args){if(this.requireArgument(e,n),n[e].constructor.toString()!==t.prototype.constructor.toString())throw Error(`${e} invalid constructor type.`)}}t.default=ArgsObject},869:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ForceMethodImplementation=void 0;class ForceMethodImplementation extends Error{constructor(e={}){super(`${e.isStatic?"static ":""}${e.fullName}() should be implemented, please provide '${e.functionName||e.fullName}' functionality.`),Error.captureStackTrace(this,ForceMethodImplementation)}}t.ForceMethodImplementation=ForceMethodImplementation;t.default=()=>{const e=Error().stack.split("\n")[2].trim(),t=e.startsWith("at new")?"constructor":e.split(" ")[1],n={};if(n.functionName=t,n.fullName=t,n.functionName.includes(".")){const e=n.functionName.split(".");n.className=e[0],n.functionName=e[1]}else n.isStatic=!0;throw new ForceMethodImplementation(n)}},7597:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class InstanceType{static[Symbol.hasInstance](e){let t=super[Symbol.hasInstance](e);if(e&&!e.constructor.getInstanceType)return t;if(e&&(e.instanceTypes||(e.instanceTypes=[]),t||this.getInstanceType()===e.constructor.getInstanceType()&&(t=!0),t)){const t=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===e.instanceTypes.indexOf(t)&&e.instanceTypes.push(t)}return!t&&e&&(t=e.instanceTypes&&Array.isArray(e.instanceTypes)&&-1!==e.instanceTypes.indexOf(this.getInstanceType())),t}constructor(){let e=new.target;const t=[];for(;e.__proto__&&e.__proto__.name;)t.push(e.__proto__),e=e.__proto__;t.reverse().forEach((e=>this instanceof e))}static getInstanceType(){elementorModules.ForceMethodImplementation()}}t.default=InstanceType},1192:e=>{"use strict";const Module=function(){const e=jQuery,t=arguments,n=this,s={};let i;const ensureClosureMethods=function(){e.each(n,(function(e){const t=n[e];"function"==typeof t&&(n[e]=function(){return t.apply(n,arguments)})}))},initSettings=function(){i=n.getDefaultSettings();const s=t[0];s&&e.extend(!0,i,s)},init=function(){n.__construct.apply(n,t),ensureClosureMethods(),initSettings(),n.trigger("init")};this.getItems=function(e,t){if(t){const n=t.split("."),s=n.splice(0,1);if(!n.length)return e[s];if(!e[s])return;return this.getItems(e[s],n.join("."))}return e},this.getSettings=function(e){return this.getItems(i,e)},this.setSettings=function(t,s,r){if(r||(r=i),"object"==typeof t)return e.extend(r,t),n;const o=t.split("."),l=o.splice(0,1);return o.length?(r[l]||(r[l]={}),n.setSettings(o.join("."),s,r[l])):(r[l]=s,n)},this.getErrorMessage=function(e,t){let n;if("forceMethodImplementation"===e)n=`The method '${t}' must to be implemented in the inheritor child.`;else n="An error occurs";return n},this.forceMethodImplementation=function(e){throw new Error(this.getErrorMessage("forceMethodImplementation",e))},this.on=function(t,i){if("object"==typeof t)return e.each(t,(function(e){n.on(e,this)})),n;return t.split(" ").forEach((function(e){s[e]||(s[e]=[]),s[e].push(i)})),n},this.off=function(e,t){if(!s[e])return n;if(!t)return delete s[e],n;const i=s[e].indexOf(t);return-1!==i&&(delete s[e][i],s[e]=s[e].filter((e=>e))),n},this.trigger=function(t){const i="on"+t[0].toUpperCase()+t.slice(1),r=Array.prototype.slice.call(arguments,1);n[i]&&n[i].apply(n,r);const o=s[t];return o?(e.each(o,(function(e,t){t.apply(n,r)})),n):n},init()};Module.prototype.__construct=function(){},Module.prototype.getDefaultSettings=function(){return{}},Module.prototype.getConstructorID=function(){return this.constructor.name},Module.extend=function(e){const t=jQuery,n=this,child=function(){return n.apply(this,arguments)};return t.extend(child,n),(child.prototype=Object.create(t.extend({},n.prototype,e))).constructor=child,child.__super__=n.prototype,child},e.exports=Module},6516:(e,t,n)=>{"use strict";var s=n(7914)(n(2640));e.exports=s.default.extend({getDefaultSettings:function(){return{container:null,items:null,columnsCount:3,verticalSpaceBetween:30}},getDefaultElements:function(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run:function(){var e=[],t=this.elements.$container.position().top,n=this.getSettings(),s=n.columnsCount;t+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each((function(i){var r=Math.floor(i/s),o=jQuery(this),l=o[0].getBoundingClientRect().height+n.verticalSpaceBetween;if(r){var c=o.position(),a=i%s,u=c.top-t-e[a];u-=parseInt(o.css("margin-top"),10),u*=-1,o.css("margin-top",u+"px"),e[a]+=l}else e.push(l)}))}})},400:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class Scroll{static scrollObserver(e){let t=0;const n={root:e.root||null,rootMargin:e.offset||"0px",threshold:((e=0)=>{const t=[];if(e>0&&e<=100){const n=100/e;for(let e=0;e<=100;e+=n)t.push(e/100)}else t.push(0);return t})(e.sensitivity)};return new IntersectionObserver((function handleIntersect(n){const s=n[0].boundingClientRect.y,i=n[0].isIntersecting,r=s<t?"down":"up",o=Math.abs(parseFloat((100*n[0].intersectionRatio).toFixed(2)));e.callback({sensitivity:e.sensitivity,isInViewport:i,scrollPercentage:o,intersectionScrollDirection:r}),t=s}),n)}static getElementViewportPercentage(e,t={}){const n=e[0].getBoundingClientRect(),s=t.start||0,i=t.end||0,r=window.innerHeight*s/100,o=window.innerHeight*i/100,l=n.top-window.innerHeight,c=0-l+r,a=n.top+r+e.height()-l+o,u=Math.max(0,Math.min(c/a,1));return parseFloat((100*u).toFixed(2))}static getPageScrollPercentage(e={},t){const n=e.start||0,s=e.end||0,i=t||document.documentElement.scrollHeight-document.documentElement.clientHeight,r=i*n/100,o=i+r+i*s/100;return(document.documentElement.scrollTop+document.body.scrollTop+r)/o*100}}},2640:(e,t,n)=>{"use strict";var s=n(7914)(n(1192));e.exports=s.default.extend({elements:null,getDefaultElements:function(){return{}},bindEvents:function(){},onInit:function(){this.initElements(),this.bindEvents()},initElements:function(){this.elements=this.getDefaultElements()}})},5955:(e,t,n)=>{"use strict";var s=n(7914);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(1192)),r=s(n(2640)),o=s(n(2618)),l=s(n(6516)),c=s(n(400)),a=s(n(869)),u=window.elementorModules={Module:i.default,ViewModule:r.default,ArgsObject:o.default,ForceMethodImplementation:a.default,utils:{Masonry:l.default,Scroll:c.default}};t.default=u}},e=>{var t;t=6412,e(e.s=t)}]);
(self.webpackChunkelementor_pro=self.webpackChunkelementor_pro||[]).push([[819],{5526:e=>{e.exports=function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},7914:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},3713:(e,t,n)=>{"use strict";var s=n(7914);n(3258);var i=s(n(8442)),o=s(n(9253)),r=s(n(4552)),a=s(n(1498)),l=s(n(1336)),c=s(n(1177));class ElementorProFrontend extends elementorModules.ViewModule{onInit(){super.onInit(),this.config=ElementorProFrontendConfig,this.modules={}}bindEvents(){jQuery(window).on("elementor/frontend/init",this.onElementorFrontendInit.bind(this))}initModules(){let e={motionFX:i.default,sticky:o.default,codeHighlight:r.default,videoPlaylist:a.default,payments:l.default,progressTracker:c.default};elementorProFrontend.trigger("elementor-pro/modules/init:before"),e=elementorFrontend.hooks.applyFilters("elementor-pro/frontend/handlers",e),jQuery.each(e,((e,t)=>{this.modules[e]=new t})),this.modules.linkActions={addAction:(...e)=>{elementorFrontend.utils.urlActions.addAction(...e)}}}onElementorFrontendInit(){this.initModules()}}window.elementorProFrontend=new ElementorProFrontend},3258:(e,t,n)=>{"use strict";n.p=ElementorProFrontendConfig.urls.assets+"js/"},4552:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("code-highlight",(()=>n.e(714).then(n.bind(n,3929))))}}t.default=_default},8442:(e,t,n)=>{"use strict";var s=n(7914);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(5542));class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("global",i.default,null)}}t.default=_default},5542:(e,t,n)=>{"use strict";var s=n(7914);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(6829));class _default extends elementorModules.frontend.handlers.Base{__construct(...e){super.__construct(...e),this.toggle=elementorFrontend.debounce(this.toggle,200)}getDefaultSettings(){return{selectors:{container:".elementor-widget-container"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$container:this.$element.find(e.container)}}bindEvents(){elementorFrontend.elements.$window.on("resize",this.toggle)}unbindEvents(){elementorFrontend.elements.$window.off("resize",this.toggle)}addCSSTransformEvents(){this.getElementSettings("motion_fx_motion_fx_scrolling")&&!this.isTransitionEventAdded&&(this.isTransitionEventAdded=!0,this.elements.$container.on("mouseenter",(()=>{this.elements.$container.css("--e-transform-transition-duration","")})))}initEffects(){this.effects={translateY:{interaction:"scroll",actions:["translateY"]},translateX:{interaction:"scroll",actions:["translateX"]},rotateZ:{interaction:"scroll",actions:["rotateZ"]},scale:{interaction:"scroll",actions:["scale"]},opacity:{interaction:"scroll",actions:["opacity"]},blur:{interaction:"scroll",actions:["blur"]},mouseTrack:{interaction:"mouseMove",actions:["translateXY"]},tilt:{interaction:"mouseMove",actions:["tilt"]}}}prepareOptions(e){const t=this.getElementSettings(),n="motion_fx"===e?"element":"background",s={};jQuery.each(t,((n,i)=>{const o=new RegExp("^"+e+"_(.+?)_effect"),r=n.match(o);if(!r||!i)return;const a={},l=r[1];jQuery.each(t,((t,n)=>{const s=new RegExp(e+"_"+l+"_(.+)"),i=t.match(s);if(!i)return;"effect"!==i[1]&&("object"==typeof n&&(n=Object.keys(n.sizes).length?n.sizes:n.size),a[i[1]]=n)}));const c=this.effects[l],d=c.interaction;s[d]||(s[d]={}),c.actions.forEach((e=>s[d][e]=a))}));let i,o=this.$element;const r=this.getElementType();if("element"===n&&"section"!==r){let e;i=o,e="column"===r?elementorFrontend.config.legacyMode.elementWrappers?".elementor-column-wrap":".elementor-widget-wrap":".elementor-widget-container",o=o.find("> "+e)}const a={type:n,interactions:s,elementSettings:t,$element:o,$dimensionsElement:i,refreshDimensions:this.isEdit,range:t[e+"_range"],classes:{element:"elementor-motion-effects-element",parent:"elementor-motion-effects-parent",backgroundType:"elementor-motion-effects-element-type-background",container:"elementor-motion-effects-container",layer:"elementor-motion-effects-layer",perspective:"elementor-motion-effects-perspective"}};return a.range||"fixed"!==this.getCurrentDeviceSetting("_position")||(a.range="page"),"fixed"===this.getCurrentDeviceSetting("_position")&&(a.isFixedPosition=!0),"background"===n&&"column"===this.getElementType()&&(a.addBackgroundLayerTo=" > .elementor-element-populated"),a}activate(e){const t=this.prepareOptions(e);jQuery.isEmptyObject(t.interactions)||(this[e]=new i.default(t))}deactivate(e){this[e]&&(this[e].destroy(),delete this[e])}toggle(){const e=elementorFrontend.getCurrentDeviceMode(),t=this.getElementSettings();["motion_fx","background_motion_fx"].forEach((n=>{const s=t[n+"_devices"];(!s||-1!==s.indexOf(e))&&(t[n+"_motion_fx_scrolling"]||t[n+"_motion_fx_mouse"])?this[n]?this.refreshInstance(n):this.activate(n):this.deactivate(n)}))}refreshInstance(e){const t=this[e];if(!t)return;const n=this.prepareOptions(e);t.setSettings(n),t.refresh()}onInit(){super.onInit(),this.initEffects(),this.addCSSTransformEvents(),this.toggle()}onElementChange(e){if(/motion_fx_((scrolling)|(mouse)|(devices))$/.test(e))return"motion_fx_motion_fx_scrolling"===e&&this.addCSSTransformEvents(),void this.toggle();const t=e.match(".*?(motion_fx|_transform)");if(t){const e=t[0].match("(_transform)")?"motion_fx":t[0];this.refreshInstance(e),this[e]||this.activate(e)}/^_position/.test(e)&&["motion_fx","background_motion_fx"].forEach((e=>{this.refreshInstance(e)}))}onDestroy(){super.onDestroy(),["motion_fx","background_motion_fx"].forEach((e=>{this.deactivate(e)}))}}t.default=_default},8026:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{getMovePointFromPassedPercents(e,t){return+(t/e*100).toFixed(2)}getEffectValueFromMovePoint(e,t){return e*t/100}getStep(e,t){return"element"===this.getSettings("type")?this.getElementStep(e,t):this.getBackgroundStep(e,t)}getElementStep(e,t){return-(e-50)*t.speed}getBackgroundStep(e,t){const n=this.getSettings("dimensions.movable"+t.axis.toUpperCase());return-this.getEffectValueFromMovePoint(n,e)}getDirectionMovePoint(e,t,n){let s;return e<n.start?"out-in"===t?s=0:"in-out"===t?s=100:(s=this.getMovePointFromPassedPercents(n.start,e),"in-out-in"===t&&(s=100-s)):e<n.end?"in-out-in"===t?s=0:"out-in-out"===t?s=100:(s=this.getMovePointFromPassedPercents(n.end-n.start,e-n.start),"in-out"===t&&(s=100-s)):"in-out"===t?s=0:"out-in"===t?s=100:(s=this.getMovePointFromPassedPercents(100-n.end,100-e),"in-out-in"===t&&(s=100-s)),s}translateX(e,t){e.axis="x",e.unit="px",this.transform("translateX",t,e)}translateY(e,t){e.axis="y",e.unit="px",this.transform("translateY",t,e)}translateXY(e,t,n){this.translateX(e,t),this.translateY(e,n)}tilt(e,t,n){const s={speed:e.speed/10,direction:e.direction};this.rotateX(s,n),this.rotateY(s,100-t)}rotateX(e,t){e.axis="x",e.unit="deg",this.transform("rotateX",t,e)}rotateY(e,t){e.axis="y",e.unit="deg",this.transform("rotateY",t,e)}rotateZ(e,t){e.unit="deg",this.transform("rotateZ",t,e)}scale(e,t){const n=this.getDirectionMovePoint(t,e.direction,e.range);this.updateRulePart("transform","scale",1+e.speed*n/1e3)}transform(e,t,n){n.direction&&(t=100-t),this.updateRulePart("transform",e,this.getStep(t,n)+n.unit)}setCSSTransformVariables(e){this.CSSTransformVariables=[],jQuery.each(e,((e,t)=>{const n=e.match(/_transform_(.+?)_effect/m);if(n&&t){if("perspective"===n[1])return void this.CSSTransformVariables.unshift(n[1]);if(this.CSSTransformVariables.includes(n[1]))return;this.CSSTransformVariables.push(n[1])}}))}opacity(e,t){const n=this.getDirectionMovePoint(t,e.direction,e.range),s=e.level/10,i=1-s+this.getEffectValueFromMovePoint(s,n);this.$element.css({opacity:i,"will-change":"opacity"})}blur(e,t){const n=this.getDirectionMovePoint(t,e.direction,e.range),s=e.level-this.getEffectValueFromMovePoint(e.level,n);this.updateRulePart("filter","blur",s+"px")}updateRulePart(e,t,n){this.rulesVariables[e]||(this.rulesVariables[e]={}),this.rulesVariables[e][t]||(this.rulesVariables[e][t]=!0,this.updateRule(e));const s=`--${t}`;this.$element[0].style.setProperty(s,n)}updateRule(e){let t="";t+=this.concatTransformCSSProperties(e),t+=this.concatTransformMotionEffectCSSProperties(e),this.$element.css(e,t)}concatTransformCSSProperties(e){let t="";return"transform"===e&&jQuery.each(this.CSSTransformVariables,((e,n)=>{const s=n;n.startsWith("flip")&&(n=n.replace("flip","scale"));const i=n.startsWith("rotate")||n.startsWith("skew")?"deg":"px",o=n.startsWith("scale")?1:0+i;t+=`${n}(var(--e-transform-${s}, ${o}))`})),t}concatTransformMotionEffectCSSProperties(e){let t="";return jQuery.each(this.rulesVariables[e],(e=>{t+=`${e}(var(--${e}))`})),t}runAction(e,t,n,...s){t.affectedRange&&(t.affectedRange.start>n&&(n=t.affectedRange.start),t.affectedRange.end<n&&(n=t.affectedRange.end)),this[e](t,n,...s)}refresh(){this.rulesVariables={},this.CSSTransformVariables=[],this.$element.css({transform:"",filter:"",opacity:"","will-change":""})}onInit(){this.$element=this.getSettings("$targetElement"),this.refresh()}}t.default=_default},2720:(e,t,n)=>{"use strict";var s=n(7914);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(5526));class _default extends elementorModules.ViewModule{constructor(...e){super(...e),(0,i.default)(this,"onInsideViewport",(()=>{this.run(),this.animationFrameRequest=requestAnimationFrame(this.onInsideViewport)}))}__construct(e){this.motionFX=e.motionFX,this.intersectionObservers||this.setElementInViewportObserver()}setElementInViewportObserver(){this.intersectionObserver=elementorModules.utils.Scroll.scrollObserver({callback:e=>{e.isInViewport?this.onInsideViewport():this.removeAnimationFrameRequest()}}),this.intersectionObserver.observe(this.motionFX.elements.$parent[0])}runCallback(...e){this.getSettings("callback")(...e)}removeIntersectionObserver(){this.intersectionObserver&&this.intersectionObserver.unobserve(this.motionFX.elements.$parent[0])}removeAnimationFrameRequest(){this.animationFrameRequest&&cancelAnimationFrame(this.animationFrameRequest)}destroy(){this.removeAnimationFrameRequest(),this.removeIntersectionObserver()}onInit(){super.onInit()}}t.default=_default},1545:(e,t,n)=>{"use strict";var s=n(7914);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(2720));class MouseMoveInteraction extends i.default{bindEvents(){MouseMoveInteraction.mouseTracked||(elementorFrontend.elements.$window.on("mousemove",MouseMoveInteraction.updateMousePosition),MouseMoveInteraction.mouseTracked=!0)}run(){const e=MouseMoveInteraction.mousePosition,t=this.oldMousePosition;if(t.x===e.x&&t.y===e.y)return;this.oldMousePosition={x:e.x,y:e.y};const n=100/innerWidth*e.x,s=100/innerHeight*e.y;this.runCallback(n,s)}onInit(){this.oldMousePosition={},super.onInit()}}t.default=MouseMoveInteraction,MouseMoveInteraction.mousePosition={},MouseMoveInteraction.updateMousePosition=e=>{MouseMoveInteraction.mousePosition={x:e.clientX,y:e.clientY}}},1791:(e,t,n)=>{"use strict";var s=n(7914);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(2720));class _default extends i.default{run(){if(pageYOffset===this.windowScrollTop)return!1;this.onScrollMovement(),this.windowScrollTop=pageYOffset}onScrollMovement(){this.updateMotionFxDimensions(),this.updateAnimation(),this.resetTransitionVariable()}resetTransitionVariable(){this.motionFX.$element.css("--e-transform-transition-duration","100ms")}updateMotionFxDimensions(){this.motionFX.getSettings().refreshDimensions&&this.motionFX.defineDimensions()}updateAnimation(){let e;e="page"===this.motionFX.getSettings("range")?elementorModules.utils.Scroll.getPageScrollPercentage():this.motionFX.getSettings("isFixedPosition")?elementorModules.utils.Scroll.getPageScrollPercentage({},window.innerHeight):elementorModules.utils.Scroll.getElementViewportPercentage(this.motionFX.elements.$parent),this.runCallback(e)}}t.default=_default},6829:(e,t,n)=>{"use strict";var s=n(7914);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(1791)),o=s(n(1545)),r=s(n(8026));class _default extends elementorModules.ViewModule{getDefaultSettings(){return{type:"element",$element:null,$dimensionsElement:null,addBackgroundLayerTo:null,interactions:{},refreshDimensions:!1,range:"viewport",classes:{element:"motion-fx-element",parent:"motion-fx-parent",backgroundType:"motion-fx-element-type-background",container:"motion-fx-container",layer:"motion-fx-layer",perspective:"motion-fx-perspective"}}}bindEvents(){this.onWindowResize=this.onWindowResize.bind(this),elementorFrontend.elements.$window.on("resize",this.onWindowResize)}unbindEvents(){elementorFrontend.elements.$window.off("resize",this.onWindowResize)}addBackgroundLayer(){const e=this.getSettings();this.elements.$motionFXContainer=jQuery("<div>",{class:e.classes.container}),this.elements.$motionFXLayer=jQuery("<div>",{class:e.classes.layer}),this.updateBackgroundLayerSize(),this.elements.$motionFXContainer.prepend(this.elements.$motionFXLayer);(e.addBackgroundLayerTo?this.$element.find(e.addBackgroundLayerTo):this.$element).prepend(this.elements.$motionFXContainer)}removeBackgroundLayer(){this.elements.$motionFXContainer.remove()}updateBackgroundLayerSize(){const e=this.getSettings(),t={x:0,y:0},n=e.interactions.mouseMove,s=e.interactions.scroll;n&&n.translateXY&&(t.x=10*n.translateXY.speed,t.y=10*n.translateXY.speed),s&&(s.translateX&&(t.x=10*s.translateX.speed),s.translateY&&(t.y=10*s.translateY.speed)),this.elements.$motionFXLayer.css({width:100+t.x+"%",height:100+t.y+"%"})}defineDimensions(){const e=this.getSettings("$dimensionsElement")||this.$element,t=e.offset(),n={elementHeight:e.outerHeight(),elementWidth:e.outerWidth(),elementTop:t.top,elementLeft:t.left};n.elementRange=n.elementHeight+innerHeight,this.setSettings("dimensions",n),"background"===this.getSettings("type")&&this.defineBackgroundLayerDimensions()}defineBackgroundLayerDimensions(){const e=this.getSettings("dimensions");e.layerHeight=this.elements.$motionFXLayer.height(),e.layerWidth=this.elements.$motionFXLayer.width(),e.movableX=e.layerWidth-e.elementWidth,e.movableY=e.layerHeight-e.elementHeight,this.setSettings("dimensions",e)}initInteractionsTypes(){this.interactionsTypes={scroll:i.default,mouseMove:o.default}}prepareSpecialActions(){const e=this.getSettings(),t=!(!e.interactions.mouseMove||!e.interactions.mouseMove.tilt);this.elements.$parent.toggleClass(e.classes.perspective,t)}cleanSpecialActions(){const e=this.getSettings();this.elements.$parent.removeClass(e.classes.perspective)}runInteractions(){const e=this.getSettings();this.actions.setCSSTransformVariables(e.elementSettings),this.prepareSpecialActions(),jQuery.each(e.interactions,((e,t)=>{this.interactions[e]=new this.interactionsTypes[e]({motionFX:this,callback:(...e)=>{jQuery.each(t,((t,n)=>this.actions.runAction(t,n,...e)))}}),this.interactions[e].run()}))}destroyInteractions(){this.cleanSpecialActions(),jQuery.each(this.interactions,((e,t)=>t.destroy())),this.interactions={}}refresh(){this.actions.setSettings(this.getSettings()),"background"===this.getSettings("type")&&(this.updateBackgroundLayerSize(),this.defineBackgroundLayerDimensions()),this.actions.refresh(),this.destroyInteractions(),this.runInteractions()}destroy(){this.destroyInteractions(),this.actions.refresh();const e=this.getSettings();this.$element.removeClass(e.classes.element),this.elements.$parent.removeClass(e.classes.parent),"background"===e.type&&(this.$element.removeClass(e.classes.backgroundType),this.removeBackgroundLayer())}onInit(){super.onInit();const e=this.getSettings();this.$element=e.$element,this.elements.$parent=this.$element.parent(),this.$element.addClass(e.classes.element),this.elements.$parent=this.$element.parent(),this.elements.$parent.addClass(e.classes.parent),"background"===e.type&&(this.$element.addClass(e.classes.backgroundType),this.addBackgroundLayer()),this.defineDimensions(),e.$targetElement="element"===e.type?this.$element:this.elements.$motionFXLayer,this.interactions={},this.actions=new r.default(e),this.initInteractionsTypes(),this.runInteractions()}onWindowResize(){this.defineDimensions()}}t.default=_default},1336:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("paypal-button",(()=>n.e(256).then(n.bind(n,9593))))}}t.default=_default},1177:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("progress-tracker",(()=>n.e(241).then(n.bind(n,6440))))}}t.default=_default},9253:(e,t,n)=>{"use strict";var s=n(7914);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(8080));class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("section",i.default,null),elementorFrontend.elementsHandler.attachHandler("widget",i.default,null)}}t.default=_default},8080:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=elementorModules.frontend.handlers.Base.extend({bindEvents(){elementorFrontend.addListenerOnce(this.getUniqueHandlerID()+"sticky","resize",this.run)},unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID()+"sticky","resize",this.run)},isStickyInstanceActive(){return void 0!==this.$element.data("sticky")},getResponsiveSetting(e){const t=this.getElementSettings();return elementorFrontend.getCurrentDeviceSetting(t,e)},getResponsiveSettingList:e=>["",...Object.keys(elementorFrontend.config.responsive.activeBreakpoints)].map((t=>t?`${e}_${t}`:e)),activate(){var e=this.getElementSettings(),t={to:e.sticky,offset:this.getResponsiveSetting("sticky_offset"),effectsOffset:this.getResponsiveSetting("sticky_effects_offset"),classes:{sticky:"elementor-sticky",stickyActive:"elementor-sticky--active elementor-section--handles-inside",stickyEffects:"elementor-sticky--effects",spacer:"elementor-sticky__spacer"}},n=elementorFrontend.elements.$wpAdminBar;e.sticky_parent&&(t.parent=".elementor-widget-wrap"),n.length&&"top"===e.sticky&&"fixed"===n.css("position")&&(t.offset+=n.height()),this.$element.sticky(t)},deactivate(){this.isStickyInstanceActive()&&this.$element.sticky("destroy")},run(e){if(this.getElementSettings("sticky")){var t=elementorFrontend.getCurrentDeviceMode();-1!==this.getElementSettings("sticky_on").indexOf(t)?!0===e?this.reactivate():this.isStickyInstanceActive()||this.activate():this.deactivate()}else this.deactivate()},reactivate(){this.deactivate(),this.activate()},onElementChange(e){-1!==["sticky","sticky_on"].indexOf(e)&&this.run(!0);-1!==[...this.getResponsiveSettingList("sticky_offset"),...this.getResponsiveSettingList("sticky_effects_offset"),"sticky_parent"].indexOf(e)&&this.reactivate()},onDeviceModeChange(){setTimeout((()=>{this.run(!0)}))},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),elementorFrontend.isEditMode()&&elementor.listenTo(elementor.channels.deviceMode,"change",(()=>this.onDeviceModeChange())),this.run()},onDestroy(){elementorModules.frontend.handlers.Base.prototype.onDestroy.apply(this,arguments),this.deactivate()}});t.default=n},1498:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.Module{constructor(){super(),elementorFrontend.hooks.addAction("frontend/element_ready/video-playlist.default",(e=>{n.e(721).then(n.bind(n,1427)).then((({default:t})=>{elementorFrontend.elementsHandler.addHandler(t,{$element:e,toggleSelf:!1})}))}))}}t.default=_default}},e=>{"use strict";var t;t=3713,e(e.s=t)}]);
!function(){"use strict";function Waypoint(options){if(!options)throw new Error("No options passed to Waypoint constructor");if(!options.element)throw new Error("No element option passed to Waypoint constructor");if(!options.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+keyCounter,this.options=Waypoint.Adapter.extend({},Waypoint.defaults,options),this.element=this.options.element,this.adapter=new Waypoint.Adapter(this.element),this.callback=options.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=Waypoint.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=Waypoint.Context.findOrCreateByElement(this.options.context),Waypoint.offsetAliases[this.options.offset]&&(this.options.offset=Waypoint.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),allWaypoints[this.key]=this,keyCounter+=1}var keyCounter=0,allWaypoints={};Waypoint.prototype.queueTrigger=function(direction){this.group.queueTrigger(this,direction)},Waypoint.prototype.trigger=function(args){this.enabled&&this.callback&&this.callback.apply(this,args)},Waypoint.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete allWaypoints[this.key]},Waypoint.prototype.disable=function(){return this.enabled=!1,this},Waypoint.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},Waypoint.prototype.next=function(){return this.group.next(this)},Waypoint.prototype.previous=function(){return this.group.previous(this)},Waypoint.invokeAll=function(method){var allWaypointsArray=[];for(var waypointKey in allWaypoints)allWaypointsArray.push(allWaypoints[waypointKey]);for(var i=0,end=allWaypointsArray.length;i<end;i++)allWaypointsArray[i][method]()},Waypoint.destroyAll=function(){Waypoint.invokeAll("destroy")},Waypoint.disableAll=function(){Waypoint.invokeAll("disable")},Waypoint.enableAll=function(){Waypoint.Context.refreshAll();for(var waypointKey in allWaypoints)allWaypoints[waypointKey].enabled=!0;return this},Waypoint.refreshAll=function(){Waypoint.Context.refreshAll()},Waypoint.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},Waypoint.viewportWidth=function(){return document.documentElement.clientWidth},Waypoint.adapters=[],Waypoint.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},Waypoint.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=Waypoint}(),function(){"use strict";function requestAnimationFrameShim(callback){window.setTimeout(callback,1e3/60)}function Context(element){this.element=element,this.Adapter=Waypoint.Adapter,this.adapter=new this.Adapter(element),this.key="waypoint-context-"+keyCounter,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},element.waypointContextKey=this.key,contexts[element.waypointContextKey]=this,keyCounter+=1,Waypoint.windowContext||(Waypoint.windowContext=!0,Waypoint.windowContext=new Context(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var keyCounter=0,contexts={},Waypoint=window.Waypoint,oldWindowLoad=window.onload;Context.prototype.add=function(waypoint){var axis=waypoint.options.horizontal?"horizontal":"vertical";this.waypoints[axis][waypoint.key]=waypoint,this.refresh()},Context.prototype.checkEmpty=function(){var horizontalEmpty=this.Adapter.isEmptyObject(this.waypoints.horizontal),verticalEmpty=this.Adapter.isEmptyObject(this.waypoints.vertical),isWindow=this.element==this.element.window;horizontalEmpty&&verticalEmpty&&!isWindow&&(this.adapter.off(".waypoints"),delete contexts[this.key])},Context.prototype.createThrottledResizeHandler=function(){function resizeHandler(){self.handleResize(),self.didResize=!1}var self=this;this.adapter.on("resize.waypoints",function(){self.didResize||(self.didResize=!0,Waypoint.requestAnimationFrame(resizeHandler))})},Context.prototype.createThrottledScrollHandler=function(){function scrollHandler(){self.handleScroll(),self.didScroll=!1}var self=this;this.adapter.on("scroll.waypoints",function(){self.didScroll&&!Waypoint.isTouch||(self.didScroll=!0,Waypoint.requestAnimationFrame(scrollHandler))})},Context.prototype.handleResize=function(){Waypoint.Context.refreshAll()},Context.prototype.handleScroll=function(){var triggeredGroups={},axes={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var axisKey in axes){var axis=axes[axisKey],isForward=axis.newScroll>axis.oldScroll,direction=isForward?axis.forward:axis.backward;for(var waypointKey in this.waypoints[axisKey]){var waypoint=this.waypoints[axisKey][waypointKey];if(null!==waypoint.triggerPoint){var wasBeforeTriggerPoint=axis.oldScroll<waypoint.triggerPoint,nowAfterTriggerPoint=axis.newScroll>=waypoint.triggerPoint,crossedForward=wasBeforeTriggerPoint&&nowAfterTriggerPoint,crossedBackward=!wasBeforeTriggerPoint&&!nowAfterTriggerPoint;(crossedForward||crossedBackward)&&(waypoint.queueTrigger(direction),triggeredGroups[waypoint.group.id]=waypoint.group)}}}for(var groupKey in triggeredGroups)triggeredGroups[groupKey].flushTriggers();this.oldScroll={x:axes.horizontal.newScroll,y:axes.vertical.newScroll}},Context.prototype.innerHeight=function(){return this.element==this.element.window?Waypoint.viewportHeight():this.adapter.innerHeight()},Context.prototype.remove=function(waypoint){delete this.waypoints[waypoint.axis][waypoint.key],this.checkEmpty()},Context.prototype.innerWidth=function(){return this.element==this.element.window?Waypoint.viewportWidth():this.adapter.innerWidth()},Context.prototype.destroy=function(){var allWaypoints=[];for(var axis in this.waypoints)for(var waypointKey in this.waypoints[axis])allWaypoints.push(this.waypoints[axis][waypointKey]);for(var i=0,end=allWaypoints.length;i<end;i++)allWaypoints[i].destroy()},Context.prototype.refresh=function(){var axes,isWindow=this.element==this.element.window,contextOffset=isWindow?void 0:this.adapter.offset(),triggeredGroups={};this.handleScroll(),axes={horizontal:{contextOffset:isWindow?0:contextOffset.left,contextScroll:isWindow?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:isWindow?0:contextOffset.top,contextScroll:isWindow?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var axisKey in axes){var axis=axes[axisKey];for(var waypointKey in this.waypoints[axisKey]){var contextModifier,wasBeforeScroll,nowAfterScroll,triggeredBackward,triggeredForward,waypoint=this.waypoints[axisKey][waypointKey],adjustment=waypoint.options.offset,oldTriggerPoint=waypoint.triggerPoint,elementOffset=0,freshWaypoint=null==oldTriggerPoint;waypoint.element!==waypoint.element.window&&(elementOffset=waypoint.adapter.offset()[axis.offsetProp]),"function"==typeof adjustment?adjustment=adjustment.apply(waypoint):"string"==typeof adjustment&&(adjustment=parseFloat(adjustment),waypoint.options.offset.indexOf("%")>-1&&(adjustment=Math.ceil(axis.contextDimension*adjustment/100))),contextModifier=axis.contextScroll-axis.contextOffset,waypoint.triggerPoint=Math.floor(elementOffset+contextModifier-adjustment),wasBeforeScroll=oldTriggerPoint<axis.oldScroll,nowAfterScroll=waypoint.triggerPoint>=axis.oldScroll,triggeredBackward=wasBeforeScroll&&nowAfterScroll,triggeredForward=!wasBeforeScroll&&!nowAfterScroll,!freshWaypoint&&triggeredBackward?(waypoint.queueTrigger(axis.backward),triggeredGroups[waypoint.group.id]=waypoint.group):!freshWaypoint&&triggeredForward?(waypoint.queueTrigger(axis.forward),triggeredGroups[waypoint.group.id]=waypoint.group):freshWaypoint&&axis.oldScroll>=waypoint.triggerPoint&&(waypoint.queueTrigger(axis.forward),triggeredGroups[waypoint.group.id]=waypoint.group)}}return Waypoint.requestAnimationFrame(function(){for(var groupKey in triggeredGroups)triggeredGroups[groupKey].flushTriggers()}),this},Context.findOrCreateByElement=function(element){return Context.findByElement(element)||new Context(element)},Context.refreshAll=function(){for(var contextId in contexts)contexts[contextId].refresh()},Context.findByElement=function(element){return contexts[element.waypointContextKey]},window.onload=function(){oldWindowLoad&&oldWindowLoad(),Context.refreshAll()},Waypoint.requestAnimationFrame=function(callback){var requestFn=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||requestAnimationFrameShim;requestFn.call(window,callback)},Waypoint.Context=Context}(),function(){"use strict";function byTriggerPoint(a,b){return a.triggerPoint-b.triggerPoint}function byReverseTriggerPoint(a,b){return b.triggerPoint-a.triggerPoint}function Group(options){this.name=options.name,this.axis=options.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),groups[this.axis][this.name]=this}var groups={vertical:{},horizontal:{}},Waypoint=window.Waypoint;Group.prototype.add=function(waypoint){this.waypoints.push(waypoint)},Group.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},Group.prototype.flushTriggers=function(){for(var direction in this.triggerQueues){var waypoints=this.triggerQueues[direction],reverse="up"===direction||"left"===direction;waypoints.sort(reverse?byReverseTriggerPoint:byTriggerPoint);for(var i=0,end=waypoints.length;i<end;i+=1){var waypoint=waypoints[i];(waypoint.options.continuous||i===waypoints.length-1)&&waypoint.trigger([direction])}}this.clearTriggerQueues()},Group.prototype.next=function(waypoint){this.waypoints.sort(byTriggerPoint);var index=Waypoint.Adapter.inArray(waypoint,this.waypoints),isLast=index===this.waypoints.length-1;return isLast?null:this.waypoints[index+1]},Group.prototype.previous=function(waypoint){this.waypoints.sort(byTriggerPoint);var index=Waypoint.Adapter.inArray(waypoint,this.waypoints);return index?this.waypoints[index-1]:null},Group.prototype.queueTrigger=function(waypoint,direction){this.triggerQueues[direction].push(waypoint)},Group.prototype.remove=function(waypoint){var index=Waypoint.Adapter.inArray(waypoint,this.waypoints);index>-1&&this.waypoints.splice(index,1)},Group.prototype.first=function(){return this.waypoints[0]},Group.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},Group.findOrCreate=function(options){return groups[options.axis][options.name]||new Group(options)},Waypoint.Group=Group}(),function(){"use strict";function JQueryAdapter(element){this.$element=$(element)}var $=window.jQuery,Waypoint=window.Waypoint;$.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(i,method){JQueryAdapter.prototype[method]=function(){var args=Array.prototype.slice.call(arguments);return this.$element[method].apply(this.$element,args)}}),$.each(["extend","inArray","isEmptyObject"],function(i,method){JQueryAdapter[method]=$[method]}),Waypoint.adapters.push({name:"jquery",Adapter:JQueryAdapter}),Waypoint.Adapter=JQueryAdapter}(),function(){"use strict";function createExtension(framework){return function(){var waypoints=[],overrides=arguments[0];return framework.isFunction(arguments[0])&&(overrides=framework.extend({},arguments[1]),overrides.handler=arguments[0]),this.each(function(){var options=framework.extend({},overrides,{element:this});"string"==typeof options.context&&(options.context=framework(this).closest(options.context)[0]),waypoints.push(new Waypoint(options))}),waypoints}}var Waypoint=window.Waypoint;window.jQuery&&(window.jQuery.fn.elementorWaypoint=createExtension(window.jQuery)),window.Zepto&&(window.Zepto.fn.elementorWaypoint=createExtension(window.Zepto))}();
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.2",
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&(0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;e.collisionWidth>n?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;e.collisionHeight>o?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});