File manager - Edit - /home/xfekoga/rooftopcleaners/wp-content/cache/min/1/db4e68f2eaa53bc5cdd62708bdd3cfe9.js
Back
!function(){var t={3241:function(){"document"in window.self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(t){"use strict";if("Element"in t){var e="classList",r="prototype",n=t.Element[r],o=Object,i=String[r].trim||function(){return this.replace(/^\s+|\s+$/g,"")},s=Array[r].indexOf||function(t){for(var e=0,r=this.length;e<r;e++)if(e in this&&this[e]===t)return e;return-1},a=function(t,e){this.name=t,this.code=DOMException[t],this.message=e},u=function(t,e){if(""===e)throw new a("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(e))throw new a("INVALID_CHARACTER_ERR","String contains an invalid character");return s.call(t,e)},c=function(t){for(var e=i.call(t.getAttribute("class")||""),r=e?e.split(/\s+/):[],n=0,o=r.length;n<o;n++)this.push(r[n]);this._updateClassName=function(){t.setAttribute("class",this.toString())}},f=c[r]=[],l=function(){return new c(this)};if(a[r]=Error[r],f.item=function(t){return this[t]||null},f.contains=function(t){return-1!==u(this,t+="")},f.add=function(){var t,e=arguments,r=0,n=e.length,o=!1;do{-1===u(this,t=e[r]+"")&&(this.push(t),o=!0)}while(++r<n);o&&this._updateClassName()},f.remove=function(){var t,e,r=arguments,n=0,o=r.length,i=!1;do{for(e=u(this,t=r[n]+"");-1!==e;)this.splice(e,1),i=!0,e=u(this,t)}while(++n<o);i&&this._updateClassName()},f.toggle=function(t,e){t+="";var r=this.contains(t),n=r?!0!==e&&"remove":!1!==e&&"add";return n&&this[n](t),!0===e||!1===e?e:!r},f.toString=function(){return this.join(" ")},o.defineProperty){var p={get:l,enumerable:!0,configurable:!0};try{o.defineProperty(n,e,p)}catch(t){void 0!==t.number&&-2146823252!==t.number||(p.enumerable=!1,o.defineProperty(n,e,p))}}else o[r].__defineGetter__&&n.__defineGetter__(e,l)}}(window.self),function(){"use strict";var t=document.createElement("_");if(t.classList.add("c1","c2"),!t.classList.contains("c2")){var e=function(t){var e=DOMTokenList.prototype[t];DOMTokenList.prototype[t]=function(t){var r,n=arguments.length;for(r=0;r<n;r++)t=arguments[r],e.call(this,t)}};e("add"),e("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:r.call(this,t)}}t=null}())},7810:function(){!function(){if("undefined"!=typeof window)try{var t=new window.CustomEvent("test",{cancelable:!0});if(t.preventDefault(),!0!==t.defaultPrevented)throw new Error("Could not prevent default")}catch(t){var e=function(t,e){var r,n;return(e=e||{}).bubbles=!!e.bubbles,e.cancelable=!!e.cancelable,(r=document.createEvent("CustomEvent")).initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n=r.preventDefault,r.preventDefault=function(){n.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(t){this.defaultPrevented=!0}},r};e.prototype=window.Event.prototype,window.CustomEvent=e}}()},4237:function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}var e=function(t){return"string"==typeof t},r=function(t){return t instanceof Blob};function n(t,n){var o=this.event&&this.event.type,i="unload"===o||"beforeunload"===o,s="XMLHttpRequest"in this?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");s.open("POST",t,!i),s.withCredentials=!0,s.setRequestHeader("Accept","*/*"),e(n)?(s.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),s.responseType="text"):r(n)&&n.type&&s.setRequestHeader("Content-Type",n.type);try{s.send(n)}catch(t){return!1}return!0}(function(){"navigator"in this||(this.navigator={});"function"!=typeof this.navigator.sendBeacon&&(this.navigator.sendBeacon=n.bind(this))}).call("object"===("undefined"==typeof window?"undefined":t(window))?window:{})},7147:function(t,e,r){"use strict";r.r(e),r.d(e,{DOMException:function(){return x},Headers:function(){return f},Request:function(){return g},Response:function(){return m},fetch:function(){return S}});var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},o={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function a(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function u(t){return"string"!=typeof t&&(t=String(t)),t}function c(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function f(t){this.map={},t instanceof f?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){if(2!=t.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(!t._noBody)return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function p(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function h(t){var e=new FileReader,r=p(e);return e.readAsArrayBuffer(t),r}function d(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||s(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=l(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(o.blob)return this.blob().then(h);throw new Error("could not read as ArrayBuffer")},this.text=function(){var t,e,r,n,o,i=l(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=p(e),n=/charset=([A-Za-z0-9_-]+)/.exec(t.type),o=n?n[1]:"utf-8",e.readAsText(t,o),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(t,e){t=a(t),e=u(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},f.prototype.delete=function(t){delete this.map[a(t)]},f.prototype.get=function(t){return t=a(t),this.has(t)?this.map[t]:null},f.prototype.has=function(t){return this.map.hasOwnProperty(a(t))},f.prototype.set=function(t,e){this.map[a(t)]=u(e)},f.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},f.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),c(t)},f.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),c(t)},f.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),c(t)},o.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);var y=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function g(t,e){if(!(this instanceof g))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o,i=(e=e||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new f(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new f(e.headers)),this.method=(r=e.method||this.method||"GET",o=r.toUpperCase(),y.indexOf(o)>-1?o:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in n)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var s=/([?&])_=[^&]*/;if(s.test(this.url))this.url=this.url.replace(s,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function b(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}})),e}function m(t,e){if(!(this instanceof m))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new f(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},v.call(g.prototype),v.call(m.prototype),m.prototype.clone=function(){return new m(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},m.error=function(){var t=new m(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var w=[301,302,303,307,308];m.redirect=function(t,e){if(-1===w.indexOf(e))throw new RangeError("Invalid status code");return new m(null,{status:e,headers:{location:t}})};var x=n.DOMException;try{new x}catch(t){(x=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),x.prototype.constructor=x}function S(t,e){return new Promise((function(r,i){var s=new g(t,e);if(s.signal&&s.signal.aborted)return i(new x("Aborted","AbortError"));var c=new XMLHttpRequest;function l(){c.abort()}if(c.onload=function(){var t,e,n={statusText:c.statusText,headers:(t=c.getAllResponseHeaders()||"",e=new f,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();try{e.append(n,o)}catch(t){console.warn("Response "+t.message)}}})),e)};0===s.url.indexOf("file://")&&(c.status<200||c.status>599)?n.status=200:n.status=c.status,n.url="responseURL"in c?c.responseURL:n.headers.get("X-Request-URL");var o="response"in c?c.response:c.responseText;setTimeout((function(){r(new m(o,n))}),0)},c.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},c.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request timed out"))}),0)},c.onabort=function(){setTimeout((function(){i(new x("Aborted","AbortError"))}),0)},c.open(s.method,function(t){try{return""===t&&n.location.href?n.location.href:t}catch(e){return t}}(s.url),!0),"include"===s.credentials?c.withCredentials=!0:"omit"===s.credentials&&(c.withCredentials=!1),"responseType"in c&&(o.blob?c.responseType="blob":o.arrayBuffer&&(c.responseType="arraybuffer")),e&&"object"==typeof e.headers&&!(e.headers instanceof f||n.Headers&&e.headers instanceof n.Headers)){var p=[];Object.getOwnPropertyNames(e.headers).forEach((function(t){p.push(a(t)),c.setRequestHeader(t,u(e.headers[t]))})),s.headers.forEach((function(t,e){-1===p.indexOf(e)&&c.setRequestHeader(e,t)}))}else s.headers.forEach((function(t,e){c.setRequestHeader(e,t)}));s.signal&&(s.signal.addEventListener("abort",l),c.onreadystatechange=function(){4===c.readyState&&s.signal.removeEventListener("abort",l)}),c.send(void 0===s._bodyInit?null:s._bodyInit)}))}S.polyfill=!0,n.fetch||(n.fetch=S,n.Headers=f,n.Request=g,n.Response=m)},509:function(t,e,r){"use strict";var n=r(9985),o=r(3691),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},3550:function(t,e,r){"use strict";var n=r(598),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},7370:function(t,e,r){"use strict";var n=r(4201),o=r(5391),i=r(2560).f,s=n("unscopables"),a=Array.prototype;void 0===a[s]&&i(a,s,{configurable:!0,value:o(null)}),t.exports=function(t){a[s][t]=!0}},1514:function(t,e,r){"use strict";var n=r(730).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},767:function(t,e,r){"use strict";var n=r(3622),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},5027:function(t,e,r){"use strict";var n=r(8999),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},1655:function(t,e,r){"use strict";var n=r(3689);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},1055:function(t,e,r){"use strict";var n=r(4071),o=r(2615),i=r(690),s=r(1228),a=r(3292),u=r(9429),c=r(6310),f=r(6522),l=r(5185),p=r(1664),h=Array;t.exports=function(t){var e=i(t),r=u(this),d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v;y&&(v=n(v,d>2?arguments[2]:void 0));var g,b,m,w,x,S,k=p(e),_=0;if(!k||this===h&&a(k))for(g=c(e),b=r?new this(g):h(g);g>_;_++)S=y?v(e[_],_):e[_],f(b,_,S);else for(b=r?new this:[],x=(w=l(e,k)).next;!(m=o(x,w)).done;_++)S=y?s(w,v,[m.value,_],!0):m.value,f(b,_,S);return b.length=_,b}},4328:function(t,e,r){"use strict";var n=r(5290),o=r(7578),i=r(6310),s=function(t){return function(e,r,s){var a=n(e),u=i(a);if(0===u)return!t&&-1;var c,f=o(s,u);if(t&&r!=r){for(;u>f;)if((c=a[f++])!=c)return!0}else for(;u>f;f++)if((t||f in a)&&a[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},2960:function(t,e,r){"use strict";var n=r(4071),o=r(8844),i=r(4413),s=r(690),a=r(6310),u=r(7120),c=o([].push),f=function(t){var e=1===t,r=2===t,o=3===t,f=4===t,l=6===t,p=7===t,h=5===t||l;return function(d,v,y,g){for(var b,m,w=s(d),x=i(w),S=a(x),k=n(v,y),_=0,E=g||u,O=e?E(d,S):r||p?E(d,0):void 0;S>_;_++)if((h||_ in x)&&(m=k(b=x[_],_,w),t))if(e)O[_]=m;else if(m)switch(t){case 3:return!0;case 5:return b;case 6:return _;case 2:c(O,b)}else switch(t){case 4:return!1;case 7:c(O,b)}return l?-1:o||f?f:O}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},9042:function(t,e,r){"use strict";var n=r(3689),o=r(4201),i=r(3615),s=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},6834:function(t,e,r){"use strict";var n=r(3689);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},6004:function(t,e,r){"use strict";var n=r(8844);t.exports=n([].slice)},382:function(t,e,r){"use strict";var n=r(6004),o=Math.floor,i=function(t,e){var r=t.length;if(r<8)for(var s,a,u=1;u<r;){for(a=u,s=t[u];a&&e(t[a-1],s)>0;)t[a]=t[--a];a!==u++&&(t[a]=s)}else for(var c=o(r/2),f=i(n(t,0,c),e),l=i(n(t,c),e),p=f.length,h=l.length,d=0,v=0;d<p||v<h;)t[d+v]=d<p&&v<h?e(f[d],l[v])<=0?f[d++]:l[v++]:d<p?f[d++]:l[v++];return t};t.exports=i},5271:function(t,e,r){"use strict";var n=r(2297),o=r(9429),i=r(8999),s=r(4201)("species"),a=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===a||n(e.prototype))||i(e)&&null===(e=e[s]))&&(e=void 0)),void 0===e?a:e}},7120:function(t,e,r){"use strict";var n=r(5271);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},1228:function(t,e,r){"use strict";var n=r(5027),o=r(2125);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){o(t,"throw",e)}}},6431:function(t,e,r){"use strict";var n=r(4201)("iterator"),o=!1;try{var i=0,s={next:function(){return{done:!!i++}},return:function(){o=!0}};s[n]=function(){return this},Array.from(s,(function(){throw 2}))}catch(t){}t.exports=function(t,e){try{if(!e&&!o)return!1}catch(t){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},6648:function(t,e,r){"use strict";var n=r(8844),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},926:function(t,e,r){"use strict";var n=r(3043),o=r(9985),i=r(6648),s=r(4201)("toStringTag"),a=Object,u="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),s))?r:u?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},800:function(t,e,r){"use strict";var n=r(5391),o=r(2148),i=r(6045),s=r(4071),a=r(767),u=r(981),c=r(8734),f=r(1934),l=r(7807),p=r(4241),h=r(7697),d=r(5375).fastKey,v=r(618),y=v.set,g=v.getterFor;t.exports={getConstructor:function(t,e,r,f){var l=t((function(t,o){a(t,p),y(t,{type:e,index:n(null),first:void 0,last:void 0,size:0}),h||(t.size=0),u(o)||c(o,t[f],{that:t,AS_ENTRIES:r})})),p=l.prototype,v=g(e),b=function(t,e,r){var n,o,i=v(t),s=m(t,e);return s?s.value=r:(i.last=s={index:o=d(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=s),n&&(n.next=s),h?i.size++:t.size++,"F"!==o&&(i.index[o]=s)),t},m=function(t,e){var r,n=v(t),o=d(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return i(p,{clear:function(){for(var t=v(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),e=e.next;t.first=t.last=void 0,t.index=n(null),h?t.size=0:this.size=0},delete:function(t){var e=this,r=v(e),n=m(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),h?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=v(this),n=s(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!m(this,t)}}),i(p,r?{get:function(t){var e=m(this,t);return e&&e.value},set:function(t,e){return b(this,0===t?0:t,e)}}:{add:function(t){return b(this,t=0===t?0:t,t)}}),h&&o(p,"size",{configurable:!0,get:function(){return v(this).size}}),l},setStrong:function(t,e,r){var n=e+" Iterator",o=g(e),i=g(n);f(t,e,(function(t,e){y(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?l("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=void 0,l(void 0,!0))}),r?"entries":"values",!r,!0),p(e)}}},319:function(t,e,r){"use strict";var n=r(9989),o=r(9037),i=r(8844),s=r(5266),a=r(1880),u=r(5375),c=r(8734),f=r(767),l=r(9985),p=r(981),h=r(8999),d=r(3689),v=r(6431),y=r(5997),g=r(3457);t.exports=function(t,e,r){var b=-1!==t.indexOf("Map"),m=-1!==t.indexOf("Weak"),w=b?"set":"add",x=o[t],S=x&&x.prototype,k=x,_={},E=function(t){var e=i(S[t]);a(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(m&&!h(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return m&&!h(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(m&&!h(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(s(t,!l(x)||!(m||S.forEach&&!d((function(){(new x).entries().next()})))))k=r.getConstructor(e,t,b,w),u.enable();else if(s(t,!0)){var O=new k,A=O[w](m?{}:-0,1)!==O,P=d((function(){O.has(1)})),R=v((function(t){new x(t)})),T=!m&&d((function(){for(var t=new x,e=5;e--;)t[w](e,e);return!t.has(-0)}));R||((k=e((function(t,e){f(t,S);var r=g(new x,t,k);return p(e)||c(e,r[w],{that:r,AS_ENTRIES:b}),r}))).prototype=S,S.constructor=k),(P||T)&&(E("delete"),E("has"),b&&E("get")),(T||A)&&E(w),m&&S.clear&&delete S.clear}return _[t]=k,n({global:!0,constructor:!0,forced:k!==x},_),y(k,t),m||r.setStrong(k,t,b),k}},8758:function(t,e,r){"use strict";var n=r(6812),o=r(9152),i=r(2474),s=r(2560);t.exports=function(t,e,r){for(var a=o(e),u=s.f,c=i.f,f=0;f<a.length;f++){var l=a[f];n(t,l)||r&&n(r,l)||u(t,l,c(e,l))}}},7413:function(t,e,r){"use strict";var n=r(4201)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},1748:function(t,e,r){"use strict";var n=r(3689);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},7807:function(t){"use strict";t.exports=function(t,e){return{value:t,done:e}}},5773:function(t,e,r){"use strict";var n=r(7697),o=r(2560),i=r(5684);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},5684:function(t){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6522:function(t,e,r){"use strict";var n=r(7697),o=r(2560),i=r(5684);t.exports=function(t,e,r){n?o.f(t,e,i(0,r)):t[e]=r}},2148:function(t,e,r){"use strict";var n=r(8702),o=r(2560);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},1880:function(t,e,r){"use strict";var n=r(9985),o=r(2560),i=r(8702),s=r(5014);t.exports=function(t,e,r,a){a||(a={});var u=a.enumerable,c=void 0!==a.name?a.name:e;if(n(r)&&i(r,c,a),a.global)u?t[e]=r:s(e,r);else{try{a.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},6045:function(t,e,r){"use strict";var n=r(1880);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},5014:function(t,e,r){"use strict";var n=r(9037),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},7697:function(t,e,r){"use strict";var n=r(3689);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},6420:function(t,e,r){"use strict";var n=r(9037),o=r(8999),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},5565:function(t){"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},6338:function(t){"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},3265:function(t,e,r){"use strict";var n=r(6420)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},71:function(t){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3615:function(t,e,r){"use strict";var n,o,i=r(9037),s=r(71),a=i.process,u=i.Deno,c=a&&a.versions||u&&u.version,f=c&&c.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},2739:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9989:function(t,e,r){"use strict";var n=r(9037),o=r(2474).f,i=r(5773),s=r(1880),a=r(5014),u=r(8758),c=r(5266);t.exports=function(t,e){var r,f,l,p,h,d=t.target,v=t.global,y=t.stat;if(r=v?n:y?n[d]||a(d,{}):n[d]&&n[d].prototype)for(f in e){if(p=e[f],l=t.dontCallGetSet?(h=o(r,f))&&h.value:r[f],!c(v?f:d+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),s(r,f,p,t)}}},3689:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},8678:function(t,e,r){"use strict";r(4043);var n=r(2615),o=r(1880),i=r(6308),s=r(3689),a=r(4201),u=r(5773),c=a("species"),f=RegExp.prototype;t.exports=function(t,e,r,l){var p=a(t),h=!s((function(){var e={};return e[p]=function(){return 7},7!==""[t](e)})),d=h&&!s((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return e=!0,null},r[p](""),!e}));if(!h||!d||r){var v=/./[p],y=e(p,""[t],(function(t,e,r,o,s){var a=e.exec;return a===i||a===f.exec?h&&!s?{done:!0,value:n(v,e,r,o)}:{done:!0,value:n(t,r,e,o)}:{done:!1}}));o(String.prototype,t,y[0]),o(f,p,y[1])}l&&u(f[p],"sham",!0)}},1594:function(t,e,r){"use strict";var n=r(3689);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},1735:function(t,e,r){"use strict";var n=r(7215),o=Function.prototype,i=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},4071:function(t,e,r){"use strict";var n=r(6576),o=r(509),i=r(7215),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},7215:function(t,e,r){"use strict";var n=r(3689);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},2615:function(t,e,r){"use strict";var n=r(7215),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},1236:function(t,e,r){"use strict";var n=r(7697),o=r(6812),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),u=a&&"something"===function(){}.name,c=a&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:c}},2743:function(t,e,r){"use strict";var n=r(8844),o=r(509);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},6576:function(t,e,r){"use strict";var n=r(6648),o=r(8844);t.exports=function(t){if("Function"===n(t))return o(t)}},8844:function(t,e,r){"use strict";var n=r(7215),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},6058:function(t,e,r){"use strict";var n=r(9037),o=r(9985);t.exports=function(t,e){return arguments.length<2?(r=n[t],o(r)?r:void 0):n[t]&&n[t][e];var r}},1664:function(t,e,r){"use strict";var n=r(926),o=r(4849),i=r(981),s=r(9478),a=r(4201)("iterator");t.exports=function(t){if(!i(t))return o(t,a)||o(t,"@@iterator")||s[n(t)]}},5185:function(t,e,r){"use strict";var n=r(2615),o=r(509),i=r(5027),s=r(3691),a=r(1664),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(o(r))return i(n(r,t));throw new u(s(t)+" is not iterable")}},2643:function(t,e,r){"use strict";var n=r(8844),o=r(2297),i=r(9985),s=r(6648),a=r(4327),u=n([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var e=t.length,r=[],n=0;n<e;n++){var c=t[n];"string"==typeof c?u(r,c):"number"!=typeof c&&"Number"!==s(c)&&"String"!==s(c)||u(r,a(c))}var f=r.length,l=!0;return function(t,e){if(l)return l=!1,e;if(o(this))return e;for(var n=0;n<f;n++)if(r[n]===t)return e}}}},4849:function(t,e,r){"use strict";var n=r(509),o=r(981);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},7017:function(t,e,r){"use strict";var n=r(8844),o=r(690),i=Math.floor,s=n("".charAt),a=n("".replace),u=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,l,p){var h=r+t.length,d=n.length,v=f;return void 0!==l&&(l=o(l),v=c),a(p,v,(function(o,a){var c;switch(s(a,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,h);case"<":c=l[u(a,1,-1)];break;default:var f=+a;if(0===f)return o;if(f>d){var p=i(f/10);return 0===p?o:p<=d?void 0===n[p-1]?s(a,1):n[p-1]+s(a,1):o}c=n[f-1]}return void 0===c?"":c}))}},9037:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6812:function(t,e,r){"use strict";var n=r(8844),o=r(690),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},7248:function(t){"use strict";t.exports={}},2688:function(t,e,r){"use strict";var n=r(6058);t.exports=n("document","documentElement")},8506:function(t,e,r){"use strict";var n=r(7697),o=r(3689),i=r(6420);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},4413:function(t,e,r){"use strict";var n=r(8844),o=r(3689),i=r(6648),s=Object,a=n("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?a(t,""):s(t)}:s},3457:function(t,e,r){"use strict";var n=r(9985),o=r(8999),i=r(9385);t.exports=function(t,e,r){var s,a;return i&&n(s=e.constructor)&&s!==r&&o(a=s.prototype)&&a!==r.prototype&&i(t,a),t}},6738:function(t,e,r){"use strict";var n=r(8844),o=r(9985),i=r(4091),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},5375:function(t,e,r){"use strict";var n=r(9989),o=r(8844),i=r(7248),s=r(8999),a=r(6812),u=r(2560).f,c=r(2741),f=r(6062),l=r(1129),p=r(4630),h=r(1594),d=!1,v=p("meta"),y=0,g=function(t){u(t,v,{value:{objectID:"O"+y++,weakData:{}}})},b=t.exports={enable:function(){b.enable=function(){},d=!0;var t=c.f,e=o([].splice),r={};r[v]=1,t(r).length&&(c.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===v){e(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,e){if(!s(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,v)){if(!l(t))return"F";if(!e)return"E";g(t)}return t[v].objectID},getWeakData:function(t,e){if(!a(t,v)){if(!l(t))return!0;if(!e)return!1;g(t)}return t[v].weakData},onFreeze:function(t){return h&&d&&l(t)&&!a(t,v)&&g(t),t}};i[v]=!0},618:function(t,e,r){"use strict";var n,o,i,s=r(9834),a=r(9037),u=r(8999),c=r(5773),f=r(6812),l=r(4091),p=r(2713),h=r(7248),d="Object already initialized",v=a.TypeError,y=a.WeakMap;if(s||l.state){var g=l.state||(l.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,n=function(t,e){if(g.has(t))throw new v(d);return e.facade=t,g.set(t,e),e},o=function(t){return g.get(t)||{}},i=function(t){return g.has(t)}}else{var b=p("state");h[b]=!0,n=function(t,e){if(f(t,b))throw new v(d);return e.facade=t,c(t,b,e),e},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw new v("Incompatible receiver, "+t+" required");return r}}}},3292:function(t,e,r){"use strict";var n=r(4201),o=r(9478),i=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||s[i]===t)}},2297:function(t,e,r){"use strict";var n=r(6648);t.exports=Array.isArray||function(t){return"Array"===n(t)}},9985:function(t){"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},9429:function(t,e,r){"use strict";var n=r(8844),o=r(3689),i=r(9985),s=r(926),a=r(6058),u=r(6738),c=function(){},f=a("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=n(l.exec),h=!l.test(c),d=function(t){if(!i(t))return!1;try{return f(c,[],t),!0}catch(t){return!1}},v=function(t){if(!i(t))return!1;switch(s(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(l,u(t))}catch(t){return!0}};v.sham=!0,t.exports=!f||o((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?v:d},5266:function(t,e,r){"use strict";var n=r(3689),o=r(9985),i=/#|\.prototype\./,s=function(t,e){var r=u[a(t)];return r===f||r!==c&&(o(e)?n(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=s.data={},c=s.NATIVE="N",f=s.POLYFILL="P";t.exports=s},981:function(t){"use strict";t.exports=function(t){return null==t}},8999:function(t,e,r){"use strict";var n=r(9985);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},598:function(t,e,r){"use strict";var n=r(8999);t.exports=function(t){return n(t)||null===t}},3931:function(t){"use strict";t.exports=!1},1245:function(t,e,r){"use strict";var n=r(8999),o=r(6648),i=r(4201)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"===o(t))}},734:function(t,e,r){"use strict";var n=r(6058),o=r(9985),i=r(3622),s=r(9525),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,a(t))}},8734:function(t,e,r){"use strict";var n=r(4071),o=r(2615),i=r(5027),s=r(3691),a=r(3292),u=r(6310),c=r(3622),f=r(5185),l=r(1664),p=r(2125),h=TypeError,d=function(t,e){this.stopped=t,this.result=e},v=d.prototype;t.exports=function(t,e,r){var y,g,b,m,w,x,S,k=r&&r.that,_=!(!r||!r.AS_ENTRIES),E=!(!r||!r.IS_RECORD),O=!(!r||!r.IS_ITERATOR),A=!(!r||!r.INTERRUPTED),P=n(e,k),R=function(t){return y&&p(y,"normal",t),new d(!0,t)},T=function(t){return _?(i(t),A?P(t[0],t[1],R):P(t[0],t[1])):A?P(t,R):P(t)};if(E)y=t.iterator;else if(O)y=t;else{if(!(g=l(t)))throw new h(s(t)+" is not iterable");if(a(g)){for(b=0,m=u(t);m>b;b++)if((w=T(t[b]))&&c(v,w))return w;return new d(!1)}y=f(t,g)}for(x=E?t.next:y.next;!(S=o(x,y)).done;){try{w=T(S.value)}catch(t){p(y,"throw",t)}if("object"==typeof w&&w&&c(v,w))return w}return new d(!1)}},2125:function(t,e,r){"use strict";var n=r(2615),o=r(5027),i=r(4849);t.exports=function(t,e,r){var s,a;o(t);try{if(!(s=i(t,"return"))){if("throw"===e)throw r;return r}s=n(s,t)}catch(t){a=!0,s=t}if("throw"===e)throw r;if(a)throw s;return o(s),r}},974:function(t,e,r){"use strict";var n=r(2013).IteratorPrototype,o=r(5391),i=r(5684),s=r(5997),a=r(9478),u=function(){return this};t.exports=function(t,e,r,c){var f=e+" Iterator";return t.prototype=o(n,{next:i(+!c,r)}),s(t,f,!1,!0),a[f]=u,t}},1934:function(t,e,r){"use strict";var n=r(9989),o=r(2615),i=r(3931),s=r(1236),a=r(9985),u=r(974),c=r(1868),f=r(9385),l=r(5997),p=r(5773),h=r(1880),d=r(4201),v=r(9478),y=r(2013),g=s.PROPER,b=s.CONFIGURABLE,m=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,x=d("iterator"),S="keys",k="values",_="entries",E=function(){return this};t.exports=function(t,e,r,s,d,y,O){u(r,e,s);var A,P,R,T=function(t){if(t===d&&B)return B;if(!w&&t&&t in I)return I[t];switch(t){case S:case k:case _:return function(){return new r(this,t)}}return function(){return new r(this)}},j=e+" Iterator",L=!1,I=t.prototype,C=I[x]||I["@@iterator"]||d&&I[d],B=!w&&C||T(d),U="Array"===e&&I.entries||C;if(U&&(A=c(U.call(new t)))!==Object.prototype&&A.next&&(i||c(A)===m||(f?f(A,m):a(A[x])||h(A,x,E)),l(A,j,!0,!0),i&&(v[j]=E)),g&&d===k&&C&&C.name!==k&&(!i&&b?p(I,"name",k):(L=!0,B=function(){return o(C,this)})),d)if(P={values:T(k),keys:y?B:T(S),entries:T(_)},O)for(R in P)(w||L||!(R in I))&&h(I,R,P[R]);else n({target:e,proto:!0,forced:w||L},P);return i&&!O||I[x]===B||h(I,x,B,{name:d}),v[e]=B,P}},2013:function(t,e,r){"use strict";var n,o,i,s=r(3689),a=r(9985),u=r(8999),c=r(5391),f=r(1868),l=r(1880),p=r(4201),h=r(3931),d=p("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(n=o):v=!0),!u(n)||s((function(){var t={};return n[d].call(t)!==t}))?n={}:h&&(n=c(n)),a(n[d])||l(n,d,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},9478:function(t){"use strict";t.exports={}},6310:function(t,e,r){"use strict";var n=r(3126);t.exports=function(t){return n(t.length)}},8702:function(t,e,r){"use strict";var n=r(8844),o=r(3689),i=r(9985),s=r(6812),a=r(7697),u=r(1236).CONFIGURABLE,c=r(6738),f=r(618),l=f.enforce,p=f.get,h=String,d=Object.defineProperty,v=n("".slice),y=n("".replace),g=n([].join),b=a&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===v(h(e),0,7)&&(e="["+y(h(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!s(t,"name")||u&&t.name!==e)&&(a?d(t,"name",{value:e,configurable:!0}):t.name=e),b&&r&&s(r,"arity")&&t.length!==r.arity&&d(t,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return s(n,"source")||(n.source=g(m,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&p(this).source||c(this)}),"toString")},8828:function(t){"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},2124:function(t,e,r){"use strict";var n=r(1245),o=TypeError;t.exports=function(t){if(n(t))throw new o("The method doesn't accept regular expressions");return t}},5394:function(t,e,r){"use strict";var n=r(7697),o=r(8844),i=r(2615),s=r(3689),a=r(300),u=r(7518),c=r(9556),f=r(690),l=r(4413),p=Object.assign,h=Object.defineProperty,d=o([].concat);t.exports=!p||s((function(){if(n&&1!==p({b:1},p(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach((function(t){e[t]=t})),7!==p({},t)[r]||a(p({},e)).join("")!==o}))?function(t,e){for(var r=f(t),o=arguments.length,s=1,p=u.f,h=c.f;o>s;)for(var v,y=l(arguments[s++]),g=p?d(a(y),p(y)):a(y),b=g.length,m=0;b>m;)v=g[m++],n&&!i(h,y,v)||(r[v]=y[v]);return r}:p},5391:function(t,e,r){"use strict";var n,o=r(5027),i=r(8920),s=r(2739),a=r(7248),u=r(2688),c=r(6420),f=r(2713),l="prototype",p="script",h=f("IE_PROTO"),d=function(){},v=function(t){return"<"+p+">"+t+"</"+p+">"},y=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;g="undefined"!=typeof document?document.domain&&n?y(n):(e=c("iframe"),r="java"+p+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):y(n);for(var o=s.length;o--;)delete g[l][s[o]];return g()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d[l]=o(t),r=new d,d[l]=null,r[h]=t):r=g(),void 0===e?r:i.f(r,e)}},8920:function(t,e,r){"use strict";var n=r(7697),o=r(5648),i=r(2560),s=r(5027),a=r(5290),u=r(300);e.f=n&&!o?Object.defineProperties:function(t,e){s(t);for(var r,n=a(e),o=u(e),c=o.length,f=0;c>f;)i.f(t,r=o[f++],n[r]);return t}},2560:function(t,e,r){"use strict";var n=r(7697),o=r(8506),i=r(5648),s=r(5027),a=r(8360),u=TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",h="writable";e.f=n?i?function(t,e,r){if(s(t),e=a(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&h in r&&!r[h]){var n=f(t,e);n&&n[h]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:l in r?r[l]:n[l],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(s(t),e=a(e),s(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},2474:function(t,e,r){"use strict";var n=r(7697),o=r(2615),i=r(9556),s=r(5684),a=r(5290),u=r(8360),c=r(6812),f=r(8506),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=a(t),e=u(e),f)try{return l(t,e)}catch(t){}if(c(t,e))return s(!o(i.f,t,e),t[e])}},6062:function(t,e,r){"use strict";var n=r(6648),o=r(5290),i=r(2741).f,s=r(6004),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"Window"===n(t)?function(t){try{return i(t)}catch(t){return s(a)}}(t):i(o(t))}},2741:function(t,e,r){"use strict";var n=r(4948),o=r(2739).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},7518:function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},1868:function(t,e,r){"use strict";var n=r(6812),o=r(9985),i=r(690),s=r(2713),a=r(1748),u=s("IE_PROTO"),c=Object,f=c.prototype;t.exports=a?c.getPrototypeOf:function(t){var e=i(t);if(n(e,u))return e[u];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof c?f:null}},1129:function(t,e,r){"use strict";var n=r(3689),o=r(8999),i=r(6648),s=r(1655),a=Object.isExtensible,u=n((function(){a(1)}));t.exports=u||s?function(t){return!!o(t)&&((!s||"ArrayBuffer"!==i(t))&&(!a||a(t)))}:a},3622:function(t,e,r){"use strict";var n=r(8844);t.exports=n({}.isPrototypeOf)},4948:function(t,e,r){"use strict";var n=r(8844),o=r(6812),i=r(5290),s=r(4328).indexOf,a=r(7248),u=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,f=[];for(r in n)!o(a,r)&&o(n,r)&&u(f,r);for(;e.length>c;)o(n,r=e[c++])&&(~s(f,r)||u(f,r));return f}},300:function(t,e,r){"use strict";var n=r(4948),o=r(2739);t.exports=Object.keys||function(t){return n(t,o)}},9556:function(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},9385:function(t,e,r){"use strict";var n=r(2743),o=r(8999),i=r(4684),s=r(3550);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),s(n),o(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},5073:function(t,e,r){"use strict";var n=r(3043),o=r(926);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},5899:function(t,e,r){"use strict";var n=r(2615),o=r(9985),i=r(8999),s=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&o(r=t.toString)&&!i(a=n(r,t)))return a;if(o(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&o(r=t.toString)&&!i(a=n(r,t)))return a;throw new s("Can't convert object to primitive value")}},9152:function(t,e,r){"use strict";var n=r(6058),o=r(8844),i=r(2741),s=r(7518),a=r(5027),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=s.f;return r?u(e,r(t)):e}},496:function(t,e,r){"use strict";var n=r(9037);t.exports=n},8055:function(t,e,r){"use strict";var n=r(2560).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},6100:function(t,e,r){"use strict";var n=r(2615),o=r(5027),i=r(9985),s=r(6648),a=r(6308),u=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var c=n(r,t,e);return null!==c&&o(c),c}if("RegExp"===s(t))return n(a,t,e);throw new u("RegExp#exec called on incompatible receiver")}},6308:function(t,e,r){"use strict";var n,o,i=r(2615),s=r(8844),a=r(4327),u=r(9633),c=r(7901),f=r(3430),l=r(5391),p=r(618).get,h=r(2100),d=r(6422),v=f("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,g=y,b=s("".charAt),m=s("".indexOf),w=s("".replace),x=s("".slice),S=(o=/b*/g,i(y,n=/a/,"a"),i(y,o,"a"),0!==n.lastIndex||0!==o.lastIndex),k=c.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(S||_||k||h||d)&&(g=function(t){var e,r,n,o,s,c,f,h=this,d=p(h),E=a(t),O=d.raw;if(O)return O.lastIndex=h.lastIndex,e=i(g,O,E),h.lastIndex=O.lastIndex,e;var A=d.groups,P=k&&h.sticky,R=i(u,h),T=h.source,j=0,L=E;if(P&&(R=w(R,"y",""),-1===m(R,"g")&&(R+="g"),L=x(E,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==b(E,h.lastIndex-1))&&(T="(?: "+T+")",L=" "+L,j++),r=new RegExp("^(?:"+T+")",R)),_&&(r=new RegExp("^"+T+"$(?!\\s)",R)),S&&(n=h.lastIndex),o=i(y,P?r:h,L),P?o?(o.input=x(o.input,j),o[0]=x(o[0],j),o.index=h.lastIndex,h.lastIndex+=o[0].length):h.lastIndex=0:S&&o&&(h.lastIndex=h.global?o.index+o[0].length:n),_&&o&&o.length>1&&i(v,o[0],r,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o&&A)for(o.groups=c=l(null),s=0;s<A.length;s++)c[(f=A[s])[0]]=o[f[1]];return o}),t.exports=g},9633:function(t,e,r){"use strict";var n=r(5027);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},3477:function(t,e,r){"use strict";var n=r(2615),o=r(6812),i=r(3622),s=r(9633),a=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in a||o(t,"flags")||!i(a,t)?e:n(s,t)}},7901:function(t,e,r){"use strict";var n=r(3689),o=r(9037).RegExp,i=n((function(){var t=o("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),s=i||n((function(){return!o("a","y").sticky})),a=i||n((function(){var t=o("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:a,MISSED_STICKY:s,UNSUPPORTED_Y:i}},2100:function(t,e,r){"use strict";var n=r(3689),o=r(9037).RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},6422:function(t,e,r){"use strict";var n=r(3689),o=r(9037).RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},4684:function(t,e,r){"use strict";var n=r(981),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},517:function(t,e,r){"use strict";var n=r(9037),o=r(7697),i=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!o)return n[t];var e=i(n,t);return e&&e.value}},4241:function(t,e,r){"use strict";var n=r(6058),o=r(2148),i=r(4201),s=r(7697),a=i("species");t.exports=function(t){var e=n(t);s&&e&&!e[a]&&o(e,a,{configurable:!0,get:function(){return this}})}},5997:function(t,e,r){"use strict";var n=r(2560).f,o=r(6812),i=r(4201)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:e})}},2713:function(t,e,r){"use strict";var n=r(3430),o=r(4630),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},4091:function(t,e,r){"use strict";var n=r(3931),o=r(9037),i=r(5014),s="__core-js_shared__",a=t.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.36.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})},3430:function(t,e,r){"use strict";var n=r(4091);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},730:function(t,e,r){"use strict";var n=r(8844),o=r(8700),i=r(4327),s=r(4684),a=n("".charAt),u=n("".charCodeAt),c=n("".slice),f=function(t){return function(e,r){var n,f,l=i(s(e)),p=o(r),h=l.length;return p<0||p>=h?t?"":void 0:(n=u(l,p))<55296||n>56319||p+1===h||(f=u(l,p+1))<56320||f>57343?t?a(l,p):n:t?c(l,p,p+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},6430:function(t,e,r){"use strict";var n=r(8844),o=2147483647,i=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",u=RangeError,c=n(s.exec),f=Math.floor,l=String.fromCharCode,p=n("".charCodeAt),h=n([].join),d=n([].push),v=n("".replace),y=n("".split),g=n("".toLowerCase),b=function(t){return t+22+75*(t<26)},m=function(t,e,r){var n=0;for(t=r?f(t/700):t>>1,t+=f(t/e);t>455;)t=f(t/35),n+=36;return f(n+36*t/(t+38))},w=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=p(t,r++);if(o>=55296&&o<=56319&&r<n){var i=p(t,r++);56320==(64512&i)?d(e,((1023&o)<<10)+(1023&i)+65536):(d(e,o),r--)}else d(e,o)}return e}(t);var r,n,i=t.length,s=128,c=0,v=72;for(r=0;r<t.length;r++)(n=t[r])<128&&d(e,l(n));var y=e.length,g=y;for(y&&d(e,"-");g<i;){var w=o;for(r=0;r<t.length;r++)(n=t[r])>=s&&n<w&&(w=n);var x=g+1;if(w-s>f((o-c)/x))throw new u(a);for(c+=(w-s)*x,s=w,r=0;r<t.length;r++){if((n=t[r])<s&&++c>o)throw new u(a);if(n===s){for(var S=c,k=36;;){var _=k<=v?1:k>=v+26?26:k-v;if(S<_)break;var E=S-_,O=36-_;d(e,l(b(_+E%O))),S=f(E/O),k+=36}d(e,l(b(S))),v=m(c,x,g===y),c=0,g++}}c++,s++}return h(e,"")};t.exports=function(t){var e,r,n=[],o=y(v(g(t),s,"."),".");for(e=0;e<o.length;e++)r=o[e],d(n,c(i,r)?"xn--"+w(r):r);return h(n,".")}},5984:function(t,e,r){"use strict";var n=r(1236).PROPER,o=r(3689),i=r(6350);t.exports=function(t){return o((function(){return!!i[t]()||" "!==" "[t]()||n&&i[t].name!==t}))}},8023:function(t,e,r){"use strict";var n=r(8844),o=r(4684),i=r(4327),s=r(6350),a=n("".replace),u=RegExp("^["+s+"]+"),c=RegExp("(^|[^"+s+"])["+s+"]+$"),f=function(t){return function(e){var r=i(o(e));return 1&t&&(r=a(r,u,"")),2&t&&(r=a(r,c,"$1")),r}};t.exports={start:f(1),end:f(2),trim:f(3)}},146:function(t,e,r){"use strict";var n=r(3615),o=r(3689),i=r(9037).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3032:function(t,e,r){"use strict";var n=r(2615),o=r(6058),i=r(4201),s=r(1880);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,a=i("toPrimitive");e&&!e[a]&&s(e,a,(function(t){return n(r,this)}),{arity:1})}},6549:function(t,e,r){"use strict";var n=r(146);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},7578:function(t,e,r){"use strict";var n=r(8700),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5290:function(t,e,r){"use strict";var n=r(4413),o=r(4684);t.exports=function(t){return n(o(t))}},8700:function(t,e,r){"use strict";var n=r(8828);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},3126:function(t,e,r){"use strict";var n=r(8700),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},690:function(t,e,r){"use strict";var n=r(4684),o=Object;t.exports=function(t){return o(n(t))}},8732:function(t,e,r){"use strict";var n=r(2615),o=r(8999),i=r(734),s=r(4849),a=r(5899),u=r(4201),c=TypeError,f=u("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,u=s(t,f);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!o(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},8360:function(t,e,r){"use strict";var n=r(8732),o=r(734);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},3043:function(t,e,r){"use strict";var n={};n[r(4201)("toStringTag")]="z",t.exports="[object z]"===String(n)},4327:function(t,e,r){"use strict";var n=r(926),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},3691:function(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},4630:function(t,e,r){"use strict";var n=r(8844),o=0,i=Math.random(),s=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},6837:function(t,e,r){"use strict";var n=r(3689),o=r(4201),i=r(7697),s=r(3931),a=o("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),r.delete("a",2),r.delete("b",void 0),s&&(!t.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!e.size&&(s||!i)||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},9525:function(t,e,r){"use strict";var n=r(146);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5648:function(t,e,r){"use strict";var n=r(7697),o=r(3689);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1500:function(t){"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},9834:function(t,e,r){"use strict";var n=r(9037),o=r(9985),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},5405:function(t,e,r){"use strict";var n=r(496),o=r(6812),i=r(6145),s=r(2560).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||s(e,t,{value:i.f(t)})}},6145:function(t,e,r){"use strict";var n=r(4201);e.f=n},4201:function(t,e,r){"use strict";var n=r(9037),o=r(3430),i=r(6812),s=r(4630),a=r(146),u=r(9525),c=n.Symbol,f=o("wks"),l=u?c.for||c:c&&c.withoutSetter||s;t.exports=function(t){return i(f,t)||(f[t]=a&&i(c,t)?c[t]:l("Symbol."+t)),f[t]}},6350:function(t){"use strict";t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},4338:function(t,e,r){"use strict";var n=r(9989),o=r(3689),i=r(2297),s=r(8999),a=r(690),u=r(6310),c=r(5565),f=r(6522),l=r(7120),p=r(9042),h=r(4201),d=r(3615),v=h("isConcatSpreadable"),y=d>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),g=function(t){if(!s(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,arity:1,forced:!y||!p("concat")},{concat:function(t){var e,r,n,o,i,s=a(this),p=l(s,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(g(i=-1===e?s:arguments[e]))for(o=u(i),c(h+o),r=0;r<o;r++,h++)r in i&&f(p,h,i[r]);else c(h+1),f(p,h++,i);return p.length=h,p}})},5728:function(t,e,r){"use strict";var n=r(9989),o=r(2960).find,i=r(7370),s="find",a=!0;s in[]&&Array(1)[s]((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(s)},7049:function(t,e,r){"use strict";var n=r(9989),o=r(1055);n({target:"Array",stat:!0,forced:!r(6431)((function(t){Array.from(t)}))},{from:o})},6801:function(t,e,r){"use strict";var n=r(9989),o=r(4328).includes,i=r(3689),s=r(7370);n({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),s("includes")},752:function(t,e,r){"use strict";var n=r(5290),o=r(7370),i=r(9478),s=r(618),a=r(2560).f,u=r(1934),c=r(7807),f=r(3931),l=r(7697),p="Array Iterator",h=s.set,d=s.getterFor(p);t.exports=u(Array,"Array",(function(t,e){h(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=d(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)}),"values");var v=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==v.name)try{a(v,"name",{value:"values"})}catch(t){}},6203:function(t,e,r){"use strict";var n=r(9989),o=r(8844),i=r(4413),s=r(5290),a=r(6834),u=o([].join);n({target:"Array",proto:!0,forced:i!==Object||!a("join",",")},{join:function(t){return u(s(this),void 0===t?",":t)}})},886:function(t,e,r){"use strict";var n=r(9989),o=r(2960).map;n({target:"Array",proto:!0,forced:!r(9042)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},9730:function(t,e,r){"use strict";var n=r(9989),o=r(2297),i=r(9429),s=r(8999),a=r(7578),u=r(6310),c=r(5290),f=r(6522),l=r(4201),p=r(9042),h=r(6004),d=p("slice"),v=l("species"),y=Array,g=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(t,e){var r,n,l,p=c(this),d=u(p),b=a(t,d),m=a(void 0===e?d:e,d);if(o(p)&&(r=p.constructor,(i(r)&&(r===y||o(r.prototype))||s(r)&&null===(r=r[v]))&&(r=void 0),r===y||void 0===r))return h(p,b,m);for(n=new(void 0===r?y:r)(g(m-b,0)),l=0;b<m;b++,l++)b in p&&f(n,l,p[b]);return n.length=l,n}})},4284:function(t,e,r){"use strict";var n=r(7697),o=r(1236).EXISTS,i=r(8844),s=r(2148),a=Function.prototype,u=i(a.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=i(c.exec);n&&!o&&s(a,"name",{configurable:!0,get:function(){try{return f(c,u(this))[1]}catch(t){return""}}})},8324:function(t,e,r){"use strict";var n=r(9989),o=r(6058),i=r(1735),s=r(2615),a=r(8844),u=r(3689),c=r(9985),f=r(734),l=r(6004),p=r(2643),h=r(146),d=String,v=o("JSON","stringify"),y=a(/./.exec),g=a("".charAt),b=a("".charCodeAt),m=a("".replace),w=a(1..toString),x=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,k=/^[\uDC00-\uDFFF]$/,_=!h||u((function(){var t=o("Symbol")("stringify detection");return"[null]"!==v([t])||"{}"!==v({a:t})||"{}"!==v(Object(t))})),E=u((function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")})),O=function(t,e){var r=l(arguments),n=p(e);if(c(n)||void 0!==t&&!f(t))return r[1]=function(t,e){if(c(n)&&(e=s(n,this,d(t),e)),!f(e))return e},i(v,null,r)},A=function(t,e,r){var n=g(r,e-1),o=g(r,e+1);return y(S,t)&&!y(k,o)||y(k,t)&&!y(S,n)?"\\u"+w(b(t,0),16):t};v&&n({target:"JSON",stat:!0,arity:3,forced:_||E},{stringify:function(t,e,r){var n=l(arguments),o=i(_?O:v,null,n);return E&&"string"==typeof o?m(o,x,A):o}})},9322:function(t,e,r){"use strict";r(319)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(800))},6646:function(t,e,r){"use strict";r(9322)},9434:function(t,e,r){"use strict";var n=r(9989),o=r(146),i=r(3689),s=r(7518),a=r(690);n({target:"Object",stat:!0,forced:!o||i((function(){s.f(1)}))},{getOwnPropertySymbols:function(t){var e=s.f;return e?e(a(t)):[]}})},228:function(t,e,r){"use strict";var n=r(3043),o=r(1880),i=r(5073);n||o(Object.prototype,"toString",i,{unsafe:!0})},2003:function(t,e,r){"use strict";var n=r(7697),o=r(9037),i=r(8844),s=r(5266),a=r(3457),u=r(5773),c=r(5391),f=r(2741).f,l=r(3622),p=r(1245),h=r(4327),d=r(3477),v=r(7901),y=r(8055),g=r(1880),b=r(3689),m=r(6812),w=r(618).enforce,x=r(4241),S=r(4201),k=r(2100),_=r(6422),E=S("match"),O=o.RegExp,A=O.prototype,P=o.SyntaxError,R=i(A.exec),T=i("".charAt),j=i("".replace),L=i("".indexOf),I=i("".slice),C=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,B=/a/g,U=/a/g,D=new O(B)!==B,N=v.MISSED_STICKY,F=v.UNSUPPORTED_Y,M=n&&(!D||N||k||_||b((function(){return U[E]=!1,O(B)!==B||O(U)===U||"/a/i"!==String(O(B,"i"))})));if(s("RegExp",M)){for(var H=function(t,e){var r,n,o,i,s,f,v=l(A,this),y=p(t),g=void 0===e,b=[],x=t;if(!v&&y&&g&&t.constructor===H)return t;if((y||l(A,t))&&(t=t.source,g&&(e=d(x))),t=void 0===t?"":h(t),e=void 0===e?"":h(e),x=t,k&&"dotAll"in B&&(n=!!e&&L(e,"s")>-1)&&(e=j(e,/s/g,"")),r=e,N&&"sticky"in B&&(o=!!e&&L(e,"y")>-1)&&F&&(e=j(e,/y/g,"")),_&&(i=function(t){for(var e,r=t.length,n=0,o="",i=[],s=c(null),a=!1,u=!1,f=0,l="";n<=r;n++){if("\\"===(e=T(t,n)))e+=T(t,++n);else if("]"===e)a=!1;else if(!a)switch(!0){case"["===e:a=!0;break;case"("===e:R(C,I(t,n+1))&&(n+=2,u=!0),o+=e,f++;continue;case">"===e&&u:if(""===l||m(s,l))throw new P("Invalid capture group name");s[l]=!0,i[i.length]=[l,f],u=!1,l="";continue}u?l+=e:o+=e}return[o,i]}(t),t=i[0],b=i[1]),s=a(O(t,e),v?this:A,H),(n||o||b.length)&&(f=w(s),n&&(f.dotAll=!0,f.raw=H(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=T(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+T(t,++n);return o}(t),r)),o&&(f.sticky=!0),b.length&&(f.groups=b)),t!==x)try{u(s,"source",""===x?"(?:)":x)}catch(t){}return s},q=f(O),z=0;q.length>z;)y(H,O,q[z++]);A.constructor=H,H.prototype=A,g(o,"RegExp",H,{constructor:!0})}x("RegExp")},4043:function(t,e,r){"use strict";var n=r(9989),o=r(6308);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},2826:function(t,e,r){"use strict";var n=r(1236).PROPER,o=r(1880),i=r(5027),s=r(4327),a=r(3689),u=r(3477),c="toString",f=RegExp.prototype,l=f[c],p=a((function(){return"/a/b"!==l.call({source:"a",flags:"b"})})),h=n&&l.name!==c;(p||h)&&o(f,c,(function(){var t=i(this);return"/"+s(t.source)+"/"+s(u(t))}),{unsafe:!0})},3843:function(t,e,r){"use strict";var n=r(9989),o=r(8844),i=r(2124),s=r(4684),a=r(4327),u=r(7413),c=o("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~c(a(s(this)),a(i(t)),arguments.length>1?arguments[1]:void 0)}})},1694:function(t,e,r){"use strict";var n=r(730).charAt,o=r(4327),i=r(618),s=r(1934),a=r(7807),u="String Iterator",c=i.set,f=i.getterFor(u);s(String,"String",(function(t){c(this,{type:u,string:o(t),index:0})}),(function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?a(void 0,!0):(t=n(r,o),e.index+=t.length,a(t,!1))}))},2462:function(t,e,r){"use strict";var n=r(2615),o=r(8678),i=r(5027),s=r(981),a=r(3126),u=r(4327),c=r(4684),f=r(4849),l=r(1514),p=r(6100);o("match",(function(t,e,r){return[function(e){var r=c(this),o=s(e)?void 0:f(e,t);return o?n(o,e,r):new RegExp(e)[t](u(r))},function(t){var n=i(this),o=u(t),s=r(e,n,o);if(s.done)return s.value;if(!n.global)return p(n,o);var c=n.unicode;n.lastIndex=0;for(var f,h=[],d=0;null!==(f=p(n,o));){var v=u(f[0]);h[d]=v,""===v&&(n.lastIndex=l(o,a(n.lastIndex),c)),d++}return 0===d?null:h}]}))},7267:function(t,e,r){"use strict";var n=r(1735),o=r(2615),i=r(8844),s=r(8678),a=r(3689),u=r(5027),c=r(9985),f=r(981),l=r(8700),p=r(3126),h=r(4327),d=r(4684),v=r(1514),y=r(4849),g=r(7017),b=r(6100),m=r(4201)("replace"),w=Math.max,x=Math.min,S=i([].concat),k=i([].push),_=i("".indexOf),E=i("".slice),O="$0"==="a".replace(/./,"$0"),A=!!/./[m]&&""===/./[m]("a","$0");s("replace",(function(t,e,r){var i=A?"$":"$0";return[function(t,r){var n=d(this),i=f(t)?void 0:y(t,m);return i?o(i,t,n,r):o(e,h(n),t,r)},function(t,o){var s=u(this),a=h(t);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var f=r(e,s,a,o);if(f.done)return f.value}var d=c(o);d||(o=h(o));var y,m=s.global;m&&(y=s.unicode,s.lastIndex=0);for(var O,A=[];null!==(O=b(s,a))&&(k(A,O),m);){""===h(O[0])&&(s.lastIndex=v(a,p(s.lastIndex),y))}for(var P,R="",T=0,j=0;j<A.length;j++){for(var L,I=h((O=A[j])[0]),C=w(x(l(O.index),a.length),0),B=[],U=1;U<O.length;U++)k(B,void 0===(P=O[U])?P:String(P));var D=O.groups;if(d){var N=S([I],B,C,a);void 0!==D&&k(N,D),L=h(n(o,void 0,N))}else L=g(I,a,C,B,D,o);C>=T&&(R+=E(a,T,C)+L,T=C+I.length)}return R+E(a,T)}]}),!!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!O||A)},8436:function(t,e,r){"use strict";var n=r(9989),o=r(8023).trim;n({target:"String",proto:!0,forced:r(5984)("trim")},{trim:function(){return o(this)}})},7855:function(t,e,r){"use strict";var n=r(9989),o=r(9037),i=r(2615),s=r(8844),a=r(3931),u=r(7697),c=r(146),f=r(3689),l=r(6812),p=r(3622),h=r(5027),d=r(5290),v=r(8360),y=r(4327),g=r(5684),b=r(5391),m=r(300),w=r(2741),x=r(6062),S=r(7518),k=r(2474),_=r(2560),E=r(8920),O=r(9556),A=r(1880),P=r(2148),R=r(3430),T=r(2713),j=r(7248),L=r(4630),I=r(4201),C=r(6145),B=r(5405),U=r(3032),D=r(5997),N=r(618),F=r(2960).forEach,M=T("hidden"),H="Symbol",q="prototype",z=N.set,$=N.getterFor(H),G=Object[q],V=o.Symbol,W=V&&V[q],X=o.RangeError,Y=o.TypeError,J=o.QObject,K=k.f,Q=_.f,Z=x.f,tt=O.f,et=s([].push),rt=R("symbols"),nt=R("op-symbols"),ot=R("wks"),it=!J||!J[q]||!J[q].findChild,st=function(t,e,r){var n=K(G,e);n&&delete G[e],Q(t,e,r),n&&t!==G&&Q(G,e,n)},at=u&&f((function(){return 7!==b(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?st:Q,ut=function(t,e){var r=rt[t]=b(W);return z(r,{type:H,tag:t,description:e}),u||(r.description=e),r},ct=function(t,e,r){t===G&&ct(nt,e,r),h(t);var n=v(e);return h(r),l(rt,n)?(r.enumerable?(l(t,M)&&t[M][n]&&(t[M][n]=!1),r=b(r,{enumerable:g(0,!1)})):(l(t,M)||Q(t,M,g(1,b(null))),t[M][n]=!0),at(t,n,r)):Q(t,n,r)},ft=function(t,e){h(t);var r=d(e),n=m(r).concat(dt(r));return F(n,(function(e){u&&!i(lt,r,e)||ct(t,e,r[e])})),t},lt=function(t){var e=v(t),r=i(tt,this,e);return!(this===G&&l(rt,e)&&!l(nt,e))&&(!(r||!l(this,e)||!l(rt,e)||l(this,M)&&this[M][e])||r)},pt=function(t,e){var r=d(t),n=v(e);if(r!==G||!l(rt,n)||l(nt,n)){var o=K(r,n);return!o||!l(rt,n)||l(r,M)&&r[M][n]||(o.enumerable=!0),o}},ht=function(t){var e=Z(d(t)),r=[];return F(e,(function(t){l(rt,t)||l(j,t)||et(r,t)})),r},dt=function(t){var e=t===G,r=Z(e?nt:d(t)),n=[];return F(r,(function(t){!l(rt,t)||e&&!l(G,t)||et(n,rt[t])})),n};c||(V=function(){if(p(W,this))throw new Y("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=L(t),r=function(t){var n=void 0===this?o:this;n===G&&i(r,nt,t),l(n,M)&&l(n[M],e)&&(n[M][e]=!1);var s=g(1,t);try{at(n,e,s)}catch(t){if(!(t instanceof X))throw t;st(n,e,s)}};return u&&it&&at(G,e,{configurable:!0,set:r}),ut(e,t)},A(W=V[q],"toString",(function(){return $(this).tag})),A(V,"withoutSetter",(function(t){return ut(L(t),t)})),O.f=lt,_.f=ct,E.f=ft,k.f=pt,w.f=x.f=ht,S.f=dt,C.f=function(t){return ut(I(t),t)},u&&(P(W,"description",{configurable:!0,get:function(){return $(this).description}}),a||A(G,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:V}),F(m(ot),(function(t){B(t)})),n({target:H,stat:!0,forced:!c},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(t,e){return void 0===e?b(t):ft(b(t),e)},defineProperty:ct,defineProperties:ft,getOwnPropertyDescriptor:pt}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ht}),U(),D(V,H),j[M]=!0},6544:function(t,e,r){"use strict";var n=r(9989),o=r(7697),i=r(9037),s=r(8844),a=r(6812),u=r(9985),c=r(3622),f=r(4327),l=r(2148),p=r(8758),h=i.Symbol,d=h&&h.prototype;if(o&&u(h)&&(!("description"in d)||void 0!==h().description)){var v={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),e=c(d,this)?new h(t):void 0===t?h():h(t);return""===t&&(v[e]=!0),e};p(y,h),y.prototype=d,d.constructor=y;var g="Symbol(description detection)"===String(h("description detection")),b=s(d.valueOf),m=s(d.toString),w=/^Symbol\((.*)\)[^)]+$/,x=s("".replace),S=s("".slice);l(d,"description",{configurable:!0,get:function(){var t=b(this);if(a(v,t))return"";var e=m(t),r=g?S(e,7,-1):x(e,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:y})}},3975:function(t,e,r){"use strict";var n=r(9989),o=r(6058),i=r(6812),s=r(4327),a=r(3430),u=r(6549),c=a("string-to-symbol-registry"),f=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=s(t);if(i(c,e))return c[e];var r=o("Symbol")(e);return c[e]=r,f[r]=e,r}})},4254:function(t,e,r){"use strict";r(5405)("iterator")},9749:function(t,e,r){"use strict";r(7855),r(3975),r(1445),r(8324),r(9434)},1445:function(t,e,r){"use strict";var n=r(9989),o=r(6812),i=r(734),s=r(3691),a=r(3430),u=r(6549),c=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!i(t))throw new TypeError(s(t)+" is not a symbol");if(o(c,t))return c[t]}})},6265:function(t,e,r){"use strict";var n=r(9037),o=r(6338),i=r(3265),s=r(752),a=r(5773),u=r(5997),c=r(4201)("iterator"),f=s.values,l=function(t,e){if(t){if(t[c]!==f)try{a(t,c,f)}catch(e){t[c]=f}if(u(t,e,!0),o[e])for(var r in s)if(t[r]!==s[r])try{a(t,r,s[r])}catch(e){t[r]=s[r]}}};for(var p in o)l(n[p]&&n[p].prototype,p);l(i,"DOMTokenList")},2625:function(t,e,r){"use strict";r(752);var n=r(9989),o=r(9037),i=r(517),s=r(2615),a=r(8844),u=r(7697),c=r(6837),f=r(1880),l=r(2148),p=r(6045),h=r(5997),d=r(974),v=r(618),y=r(767),g=r(9985),b=r(6812),m=r(4071),w=r(926),x=r(5027),S=r(8999),k=r(4327),_=r(5391),E=r(5684),O=r(5185),A=r(1664),P=r(7807),R=r(1500),T=r(4201),j=r(382),L=T("iterator"),I="URLSearchParams",C=I+"Iterator",B=v.set,U=v.getterFor(I),D=v.getterFor(C),N=i("fetch"),F=i("Request"),M=i("Headers"),H=F&&F.prototype,q=M&&M.prototype,z=o.RegExp,$=o.TypeError,G=o.decodeURIComponent,V=o.encodeURIComponent,W=a("".charAt),X=a([].join),Y=a([].push),J=a("".replace),K=a([].shift),Q=a([].splice),Z=a("".split),tt=a("".slice),et=/\+/g,rt=Array(4),nt=function(t){return rt[t-1]||(rt[t-1]=z("((?:%[\\da-f]{2}){"+t+"})","gi"))},ot=function(t){try{return G(t)}catch(e){return t}},it=function(t){var e=J(t,et," "),r=4;try{return G(e)}catch(t){for(;r;)e=J(e,nt(r--),ot);return e}},st=/[!'()~]|%20/g,at={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ut=function(t){return at[t]},ct=function(t){return J(V(t),st,ut)},ft=d((function(t,e){B(this,{type:C,target:U(t).entries,index:0,kind:e})}),I,(function(){var t=D(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,P(void 0,!0);var n=e[r];switch(t.kind){case"keys":return P(n.key,!1);case"values":return P(n.value,!1)}return P([n.key,n.value],!1)}),!0),lt=function(t){this.entries=[],this.url=null,void 0!==t&&(S(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===W(t,0)?tt(t,1):t:k(t)))};lt.prototype={type:I,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,u,c=this.entries,f=A(t);if(f)for(r=(e=O(t,f)).next;!(n=s(r,e)).done;){if(i=(o=O(x(n.value))).next,(a=s(i,o)).done||(u=s(i,o)).done||!s(i,o).done)throw new $("Expected sequence with length 2");Y(c,{key:k(a.value),value:k(u.value)})}else for(var l in t)b(t,l)&&Y(c,{key:l,value:k(t[l])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,o=Z(t,"&"),i=0;i<o.length;)(e=o[i++]).length&&(r=Z(e,"="),Y(n,{key:it(K(r)),value:it(X(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],Y(r,ct(t.key)+"="+ct(t.value));return X(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var pt=function(){y(this,ht);var t=B(this,new lt(arguments.length>0?arguments[0]:void 0));u||(this.size=t.entries.length)},ht=pt.prototype;if(p(ht,{append:function(t,e){var r=U(this);R(arguments.length,2),Y(r.entries,{key:k(t),value:k(e)}),u||this.length++,r.updateURL()},delete:function(t){for(var e=U(this),r=R(arguments.length,1),n=e.entries,o=k(t),i=r<2?void 0:arguments[1],s=void 0===i?i:k(i),a=0;a<n.length;){var c=n[a];if(c.key!==o||void 0!==s&&c.value!==s)a++;else if(Q(n,a,1),void 0!==s)break}u||(this.size=n.length),e.updateURL()},get:function(t){var e=U(this).entries;R(arguments.length,1);for(var r=k(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=U(this).entries;R(arguments.length,1);for(var r=k(t),n=[],o=0;o<e.length;o++)e[o].key===r&&Y(n,e[o].value);return n},has:function(t){for(var e=U(this).entries,r=R(arguments.length,1),n=k(t),o=r<2?void 0:arguments[1],i=void 0===o?o:k(o),s=0;s<e.length;){var a=e[s++];if(a.key===n&&(void 0===i||a.value===i))return!0}return!1},set:function(t,e){var r=U(this);R(arguments.length,1);for(var n,o=r.entries,i=!1,s=k(t),a=k(e),c=0;c<o.length;c++)(n=o[c]).key===s&&(i?Q(o,c--,1):(i=!0,n.value=a));i||Y(o,{key:s,value:a}),u||(this.size=o.length),r.updateURL()},sort:function(){var t=U(this);j(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=U(this).entries,n=m(t,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new ft(this,"keys")},values:function(){return new ft(this,"values")},entries:function(){return new ft(this,"entries")}},{enumerable:!0}),f(ht,L,ht.entries,{name:"entries"}),f(ht,"toString",(function(){return U(this).serialize()}),{enumerable:!0}),u&&l(ht,"size",{get:function(){return U(this).entries.length},configurable:!0,enumerable:!0}),h(pt,I),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:pt}),!c&&g(M)){var dt=a(q.has),vt=a(q.set),yt=function(t){if(S(t)){var e,r=t.body;if(w(r)===I)return e=t.headers?new M(t.headers):new M,dt(e,"content-type")||vt(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),_(t,{body:E(0,k(r)),headers:E(0,e)})}return t};if(g(N)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return N(t,arguments.length>1?yt(arguments[1]):{})}}),g(F)){var gt=function(t){return y(this,H),new F(t,arguments.length>1?yt(arguments[1]):{})};H.constructor=gt,gt.prototype=H,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:gt})}}t.exports={URLSearchParams:pt,getState:U}},9307:function(t,e,r){"use strict";r(2625)},9391:function(t,e,r){"use strict";r(1694);var n,o=r(9989),i=r(7697),s=r(6837),a=r(9037),u=r(4071),c=r(8844),f=r(1880),l=r(2148),p=r(767),h=r(6812),d=r(5394),v=r(1055),y=r(6004),g=r(730).codeAt,b=r(6430),m=r(4327),w=r(5997),x=r(1500),S=r(2625),k=r(618),_=k.set,E=k.getterFor("URL"),O=S.URLSearchParams,A=S.getState,P=a.URL,R=a.TypeError,T=a.parseInt,j=Math.floor,L=Math.pow,I=c("".charAt),C=c(/./.exec),B=c([].join),U=c(1..toString),D=c([].pop),N=c([].push),F=c("".replace),M=c([].shift),H=c("".split),q=c("".slice),z=c("".toLowerCase),$=c([].unshift),G="Invalid scheme",V="Invalid host",W="Invalid port",X=/[a-z]/i,Y=/[\d+-.a-z]/i,J=/\d/,K=/^0x/i,Q=/^[0-7]+$/,Z=/^\d+$/,tt=/^[\da-f]+$/i,et=/[\0\t\n\r #%/:<>?@[\\\]^|]/,rt=/[\0\t\n\r #/:<>?@[\\\]^|]/,nt=/^[\u0000-\u0020]+/,ot=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,it=/[\t\n\r]/g,st=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)$(e,t%256),t=j(t/256);return B(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=U(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},at={},ut=d({},at,{" ":1,'"':1,"<":1,">":1,"`":1}),ct=d({},ut,{"#":1,"?":1,"{":1,"}":1}),ft=d({},ct,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),lt=function(t,e){var r=g(t,0);return r>32&&r<127&&!h(e,t)?t:encodeURIComponent(t)},pt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ht=function(t,e){var r;return 2===t.length&&C(X,I(t,0))&&(":"===(r=I(t,1))||!e&&"|"===r)},dt=function(t){var e;return t.length>1&&ht(q(t,0,2))&&(2===t.length||"/"===(e=I(t,2))||"\\"===e||"?"===e||"#"===e)},vt=function(t){return"."===t||"%2e"===z(t)},yt={},gt={},bt={},mt={},wt={},xt={},St={},kt={},_t={},Et={},Ot={},At={},Pt={},Rt={},Tt={},jt={},Lt={},It={},Ct={},Bt={},Ut={},Dt=function(t,e,r){var n,o,i,s=m(t);if(e){if(o=this.parse(s))throw new R(o);this.searchParams=null}else{if(void 0!==r&&(n=new Dt(r,!0)),o=this.parse(s,null,n))throw new R(o);(i=A(new O)).bindURL(this),this.searchParams=i}};Dt.prototype={type:"URL",parse:function(t,e,r){var o,i,s,a,u,c=this,f=e||yt,l=0,p="",d=!1,g=!1,b=!1;for(t=m(t),e||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,t=F(t,nt,""),t=F(t,ot,"$1")),t=F(t,it,""),o=v(t);l<=o.length;){switch(i=o[l],f){case yt:if(!i||!C(X,i)){if(e)return G;f=bt;continue}p+=z(i),f=gt;break;case gt:if(i&&(C(Y,i)||"+"===i||"-"===i||"."===i))p+=z(i);else{if(":"!==i){if(e)return G;p="",f=bt,l=0;continue}if(e&&(c.isSpecial()!==h(pt,p)||"file"===p&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=p,e)return void(c.isSpecial()&&pt[c.scheme]===c.port&&(c.port=null));p="","file"===c.scheme?f=Rt:c.isSpecial()&&r&&r.scheme===c.scheme?f=mt:c.isSpecial()?f=kt:"/"===o[l+1]?(f=wt,l++):(c.cannotBeABaseURL=!0,N(c.path,""),f=Ct)}break;case bt:if(!r||r.cannotBeABaseURL&&"#"!==i)return G;if(r.cannotBeABaseURL&&"#"===i){c.scheme=r.scheme,c.path=y(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,f=Ut;break}f="file"===r.scheme?Rt:xt;continue;case mt:if("/"!==i||"/"!==o[l+1]){f=xt;continue}f=_t,l++;break;case wt:if("/"===i){f=Et;break}f=It;continue;case xt:if(c.scheme=r.scheme,i===n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=y(r.path),c.query=r.query;else if("/"===i||"\\"===i&&c.isSpecial())f=St;else if("?"===i)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=y(r.path),c.query="",f=Bt;else{if("#"!==i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=y(r.path),c.path.length--,f=It;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=y(r.path),c.query=r.query,c.fragment="",f=Ut}break;case St:if(!c.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,f=It;continue}f=Et}else f=_t;break;case kt:if(f=_t,"/"!==i||"/"!==I(p,l+1))continue;l++;break;case _t:if("/"!==i&&"\\"!==i){f=Et;continue}break;case Et:if("@"===i){d&&(p="%40"+p),d=!0,s=v(p);for(var w=0;w<s.length;w++){var x=s[w];if(":"!==x||b){var S=lt(x,ft);b?c.password+=S:c.username+=S}else b=!0}p=""}else if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()){if(d&&""===p)return"Invalid authority";l-=v(p).length+1,p="",f=Ot}else p+=i;break;case Ot:case At:if(e&&"file"===c.scheme){f=jt;continue}if(":"!==i||g){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()){if(c.isSpecial()&&""===p)return V;if(e&&""===p&&(c.includesCredentials()||null!==c.port))return;if(a=c.parseHost(p))return a;if(p="",f=Lt,e)return;continue}"["===i?g=!0:"]"===i&&(g=!1),p+=i}else{if(""===p)return V;if(a=c.parseHost(p))return a;if(p="",f=Pt,e===At)return}break;case Pt:if(!C(J,i)){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()||e){if(""!==p){var k=T(p,10);if(k>65535)return W;c.port=c.isSpecial()&&k===pt[c.scheme]?null:k,p=""}if(e)return;f=Lt;continue}return W}p+=i;break;case Rt:if(c.scheme="file","/"===i||"\\"===i)f=Tt;else{if(!r||"file"!==r.scheme){f=It;continue}switch(i){case n:c.host=r.host,c.path=y(r.path),c.query=r.query;break;case"?":c.host=r.host,c.path=y(r.path),c.query="",f=Bt;break;case"#":c.host=r.host,c.path=y(r.path),c.query=r.query,c.fragment="",f=Ut;break;default:dt(B(y(o,l),""))||(c.host=r.host,c.path=y(r.path),c.shortenPath()),f=It;continue}}break;case Tt:if("/"===i||"\\"===i){f=jt;break}r&&"file"===r.scheme&&!dt(B(y(o,l),""))&&(ht(r.path[0],!0)?N(c.path,r.path[0]):c.host=r.host),f=It;continue;case jt:if(i===n||"/"===i||"\\"===i||"?"===i||"#"===i){if(!e&&ht(p))f=It;else if(""===p){if(c.host="",e)return;f=Lt}else{if(a=c.parseHost(p))return a;if("localhost"===c.host&&(c.host=""),e)return;p="",f=Lt}continue}p+=i;break;case Lt:if(c.isSpecial()){if(f=It,"/"!==i&&"\\"!==i)continue}else if(e||"?"!==i)if(e||"#"!==i){if(i!==n&&(f=It,"/"!==i))continue}else c.fragment="",f=Ut;else c.query="",f=Bt;break;case It:if(i===n||"/"===i||"\\"===i&&c.isSpecial()||!e&&("?"===i||"#"===i)){if(".."===(u=z(u=p))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(c.shortenPath(),"/"===i||"\\"===i&&c.isSpecial()||N(c.path,"")):vt(p)?"/"===i||"\\"===i&&c.isSpecial()||N(c.path,""):("file"===c.scheme&&!c.path.length&&ht(p)&&(c.host&&(c.host=""),p=I(p,0)+":"),N(c.path,p)),p="","file"===c.scheme&&(i===n||"?"===i||"#"===i))for(;c.path.length>1&&""===c.path[0];)M(c.path);"?"===i?(c.query="",f=Bt):"#"===i&&(c.fragment="",f=Ut)}else p+=lt(i,ct);break;case Ct:"?"===i?(c.query="",f=Bt):"#"===i?(c.fragment="",f=Ut):i!==n&&(c.path[0]+=lt(i,at));break;case Bt:e||"#"!==i?i!==n&&("'"===i&&c.isSpecial()?c.query+="%27":c.query+="#"===i?"%23":lt(i,at)):(c.fragment="",f=Ut);break;case Ut:i!==n&&(c.fragment+=lt(i,ut))}l++}},parseHost:function(t){var e,r,n;if("["===I(t,0)){if("]"!==I(t,t.length-1))return V;if(e=function(t){var e,r,n,o,i,s,a,u=[0,0,0,0,0,0,0,0],c=0,f=null,l=0,p=function(){return I(t,l)};if(":"===p()){if(":"!==I(t,1))return;l+=2,f=++c}for(;p();){if(8===c)return;if(":"!==p()){for(e=r=0;r<4&&C(tt,p());)e=16*e+T(p(),16),l++,r++;if("."===p()){if(0===r)return;if(l-=r,c>6)return;for(n=0;p();){if(o=null,n>0){if(!("."===p()&&n<4))return;l++}if(!C(J,p()))return;for(;C(J,p());){if(i=T(p(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;l++}u[c]=256*u[c]+o,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===p()){if(l++,!p())return}else if(p())return;u[c++]=e}else{if(null!==f)return;l++,f=++c}}if(null!==f)for(s=c-f,c=7;0!==c&&s>0;)a=u[c],u[c--]=u[f+s-1],u[f+--s]=a;else if(8!==c)return;return u}(q(t,1,-1)),!e)return V;this.host=e}else if(this.isSpecial()){if(t=b(t),C(et,t))return V;if(e=function(t){var e,r,n,o,i,s,a,u=H(t,".");if(u.length&&""===u[u.length-1]&&u.length--,(e=u.length)>4)return t;for(r=[],n=0;n<e;n++){if(""===(o=u[n]))return t;if(i=10,o.length>1&&"0"===I(o,0)&&(i=C(K,o)?16:8,o=q(o,8===i?1:2)),""===o)s=0;else{if(!C(10===i?Z:8===i?Q:tt,o))return t;s=T(o,i)}N(r,s)}for(n=0;n<e;n++)if(s=r[n],n===e-1){if(s>=L(256,5-e))return null}else if(s>255)return null;for(a=D(r),n=0;n<r.length;n++)a+=r[n]*L(256,3-n);return a}(t),null===e)return V;this.host=e}else{if(C(rt,t))return V;for(e="",r=v(t),n=0;n<r.length;n++)e+=lt(r[n],at);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return h(pt,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&ht(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,s=t.path,a=t.query,u=t.fragment,c=e+":";return null!==o?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=st(o),null!==i&&(c+=":"+i)):"file"===e&&(c+="//"),c+=t.cannotBeABaseURL?s[0]:s.length?"/"+B(s,"/"):"",null!==a&&(c+="?"+a),null!==u&&(c+="#"+u),c},setHref:function(t){var e=this.parse(t);if(e)throw new R(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Nt(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+st(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(m(t)+":",yt)},getUsername:function(){return this.username},setUsername:function(t){var e=v(m(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=lt(e[r],ft)}},getPassword:function(){return this.password},setPassword:function(t){var e=v(m(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=lt(e[r],ft)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?st(t):st(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,Ot)},getHostname:function(){var t=this.host;return null===t?"":st(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,At)},getPort:function(){var t=this.port;return null===t?"":m(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=m(t))?this.port=null:this.parse(t,Pt))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+B(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Lt))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=m(t))?this.query=null:("?"===I(t,0)&&(t=q(t,1)),this.query="",this.parse(t,Bt)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=m(t))?("#"===I(t,0)&&(t=q(t,1)),this.fragment="",this.parse(t,Ut)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Nt=function(t){var e=p(this,Ft),r=x(arguments.length,1)>1?arguments[1]:void 0,n=_(e,new Dt(t,!1,r));i||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Ft=Nt.prototype,Mt=function(t,e){return{get:function(){return E(this)[t]()},set:e&&function(t){return E(this)[e](t)},configurable:!0,enumerable:!0}};if(i&&(l(Ft,"href",Mt("serialize","setHref")),l(Ft,"origin",Mt("getOrigin")),l(Ft,"protocol",Mt("getProtocol","setProtocol")),l(Ft,"username",Mt("getUsername","setUsername")),l(Ft,"password",Mt("getPassword","setPassword")),l(Ft,"host",Mt("getHost","setHost")),l(Ft,"hostname",Mt("getHostname","setHostname")),l(Ft,"port",Mt("getPort","setPort")),l(Ft,"pathname",Mt("getPathname","setPathname")),l(Ft,"search",Mt("getSearch","setSearch")),l(Ft,"searchParams",Mt("getSearchParams")),l(Ft,"hash",Mt("getHash","setHash"))),f(Ft,"toJSON",(function(){return E(this).serialize()}),{enumerable:!0}),f(Ft,"toString",(function(){return E(this).serialize()}),{enumerable:!0}),P){var Ht=P.createObjectURL,qt=P.revokeObjectURL;Ht&&f(Nt,"createObjectURL",u(Ht,P)),qt&&f(Nt,"revokeObjectURL",u(qt,P))}w(Nt,"URL"),o({global:!0,constructor:!0,forced:!s,sham:!i},{URL:Nt})},8730:function(t,e,r){"use strict";r(9391)},9979:function(t,e,r){"use strict";var n=r(9989),o=r(2615);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(7147),r(7810),r(3241),r(4237),Element.prototype.toggleAttribute||(Element.prototype.toggleAttribute=function(t,e){return void 0!==e&&(e=!!e),this.hasAttribute(t)?!!e||(this.removeAttribute(t),!1):!1!==e&&(this.setAttribute(t,""),!0)}),Element.prototype.remove||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),function(){"use strict";r(9749),r(6544),r(4254),r(4338),r(5728),r(7049),r(6801),r(752),r(6203),r(886),r(9730),r(4284),r(6646),r(228),r(2003),r(4043),r(2826),r(3843),r(1694),r(2462),r(7267),r(8436),r(6265),r(8730),r(9979),r(9307);function t(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=n(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,s=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw s}}}}function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],s=!0,a=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);s=!0);}catch(t){a=!0,o=t}finally{try{s||null==r.return||r.return()}finally{if(a)throw o}}return i}(t,e)||n(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}if(!function(){try{for(var t="rooftopcleaners.be".replace(/^www\./,""),e=window.location.hostname.replace(/^www\./,"").split("."),r=0;r<e.length;r++){if(e.slice(r).join(".")===t)return!0}return!1}catch(t){return!1}}())throw new Error("Looks like your website URL has changed. To ensure the proper functioning of your banner, update the registered URL on your CookieYes account (navigate to the Organizations & Sites page (https://app.cookieyes.com/settings/organizations-and-sites) and click the More button associated with your site). Then, reload this page to retry. If the issue persists, please contact us at https://www.cookieyes.com/support.");window.cookieyes=window.cookieyes||{};var i=window.cookieyes;i._ckyGetCookieMap=function(){var t={};try{document.cookie.split(";").map((function(r){var n=e(r.split("="),2),o=n[0],i=n[1];o&&(t[o.trim()]=i)}))}catch(t){}return t},i._ckySetCookie=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i._ckyStore._rootDomain,o=new Date,s=0===r?0:o.setTime(o.getTime()+24*r*60*60*1e3);document.cookie="".concat(t,"=").concat(e,"; expires=").concat(new Date(s).toUTCString(),"; path=/;domain=").concat(n,"; SameSite=Strict; secure")},i._ckyRandomString=function(t){for(var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r="".concat(e?"0123456789":"","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghiklmnopqrstuvwxyz"),n=[],o=0;o<t;o++)n.push(r[Math.floor(Math.random()*r.length)]);return e?btoa(n.join("")).replace(/\=+$/,""):n.join("")},i._ckyIsCategoryToBeBlocked=function(t){var e=i._ckyGetFromStore(t);return"no"===e||!e&&i._ckyStore._categories.some((function(e){return e.slug===t&&!e.isNecessary}))},i._ckyEscapeRegex=function(t){return t.replace(/[.*+?^${}()[\]\\]/g,"\\$&")},i._ckyShouldBlockProvider=function(t){var e=i._ckyStore._providersToBlock.find((function(e){var r=e.url;return new RegExp(i._ckyEscapeRegex(r)).test(t)}));return e&&e.categories.some((function(t){return i._ckyIsCategoryToBeBlocked(t)}))},i._ckyStartsWith=function(t,e){return t.slice(0,e.length)===e},i._ckyReplaceAll=function(t,e,r){return t.replace(new RegExp(i._ckyEscapeRegex(e),"g"),r)},i._ckyStore={_backupNodes:[],_categories:[{slug:"necessary",isNecessary:!0,defaultConsent:{gdpr:!0,ccpa:!0},cookies:[{cookieID:"cookieyes-consent",domain:"rooftopcleaners.be"},{cookieID:"wpEmojiSettingsSupports",domain:"rooftopcleaners.be"}]},{slug:"functional",isNecessary:!1,defaultConsent:{gdpr:!1,ccpa:!1},cookies:[]},{slug:"analytics",isNecessary:!1,defaultConsent:{gdpr:!1,ccpa:!1},cookies:[]},{slug:"performance",isNecessary:!1,defaultConsent:{gdpr:!1,ccpa:!1},cookies:[]},{slug:"advertisement",isNecessary:!1,defaultConsent:{gdpr:!1,ccpa:!1},cookies:[]}],_providersToBlock:[],_rootDomain:"",_commonShortCodes:[{key:"cky_audit_table",content:{container:'<ul class="cky-cookie-des-table">[CONTENT]</ul>'},uiTag:"audit-table",type:"data",customTag:"",attributes:{}},{key:"cky_outside_audit_table",content:{container:'<h3>[cky_preference_{{category_slug}}_title]</h3><div class="cky-category-des">[cky_preference_{{category_slug}}_description]</div><div class="cky-table-wrapper"><table class="cky-cookie-audit-table">[CONTENT]</tbody></table></div>'},uiTag:"video-placeholder",type:"data",customTag:"",attributes:{}},{key:"cky_audit_table_empty",content:{container:'<p class="cky-empty-cookies-text">[cky_audit_table_empty_text]</p>'},uiTag:"audit-table",type:"data",customTag:"",attributes:{}}],_resetConsentID:!1,_bannerAttached:!1,_gpcStatus:!!navigator.globalPrivacyControl},i._ckyConsentStore=new Map,i._ckyGetFromStore=function(t){return i._ckyConsentStore.get(t)||""};var s=i._ckyGetCookieMap();i._ckySetInStore=function(r,n){i._ckyConsentStore.set(r,n);var o,s=[],a=t(i._ckyConsentStore);try{for(a.s();!(o=a.n()).done;){var u=e(o.value,2),c=u[0],f=u[1];s.push("".concat(c,":").concat(f))}}catch(t){a.e(t)}finally{a.f()}var l=i._ckyStore._bannerConfig&&i._ckyStore._bannerConfig.scriptExpiry?i._ckyStore._bannerConfig.scriptExpiry:365;i._ckySetCookie("cookieyes-consent",s.join(","),l)};var a=(s["cookieyes-consent"]||"").split(",").reduce((function(t,r){if(!r)return t;var n=e(r.split(":"),2),o=n[0],i=n[1];return t[o]=i,t}),{});["consentid","consent","action"].concat(i._ckyStore._categories.map((function(t){return t.slug}))).map((function(t){return i._ckyConsentStore.set(t,a[t]||"")})),i._ckySendPageViewLog=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{var r={consent_session_id:i._ckyGetFromStore("consentid"),banner_id:e},n=new FormData;n.append("key","4af25640e71e3854e6b45efb"),n.append("request_type",t),n.append("event_log_time",Math.round(Date.now()/1e3)),n.append("payload",JSON.stringify(r)),navigator.sendBeacon("https://log.cookieyes.com/api/v1/log",n)}catch(t){console.error(t)}},function(){if(!i._ckyGetFromStore("consentid")){var t=i._ckyRandomString(32);i._ckySetInStore("consentid",t),i._ckyStore._resetConsentID=!0}}(),i._ckySendPageViewLog("banner_load");try{i._ckyCreateElementBackup=document.createElement,document.createElement=function(){for(var t,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=(t=i._ckyCreateElementBackup).call.apply(t,[document].concat(r));if("script"!==o.nodeName.toLowerCase())return o;var s=o.setAttribute.bind(o);return Object.defineProperties(o,{src:{get:function(){return o.getAttribute("src")||""},set:function(t){return f(o,t)&&s("type","javascript/blocked"),s("src",t),!0},configurable:!0},type:{get:function(){return o.getAttribute("type")||""},set:function(t){return t=f(o)?"javascript/blocked":t,s("type",t),!0},configurable:!0}}),o.setAttribute=function(t,e){if("type"===t||"src"===t)return o[t]=e;s(t,e),"data-cookieyes"!==t||f(o)||s("type","text/javascript")},o}}catch(t){console.error(t)}function u(e,r){var n=e.hasAttribute("data-cookieyes")&&e.getAttribute("data-cookieyes");if(n){var o,s=n.replace("cookieyes-",""),a=t(i._ckyStore._categories);try{for(a.s();!(o=a.n()).done;){var u=o.value;if(u.isNecessary&&u.slug===s)return}}catch(t){a.e(t)}finally{a.f()}var c=i._ckyStore._providersToBlock.find((function(t){return t.url===r}));c?c.isOverriden?c.categories.includes(s)||c.categories.push(s):(c.categories=[s],c.isOverriden=!0):i._ckyStore._providersToBlock.push({url:r,categories:[s],fullPath:!1})}}function c(t,e){var r=t.offsetWidth,n=t.offsetHeight;if(0!==r&&0!==n){t.insertAdjacentHTML("beforebegin",'<div class="video-placeholder-normal" data-cky-tag="video-placeholder" id="[UNIQUEID]"><p class="video-placeholder-text-normal" data-cky-tag="placeholder-title">[cky_video_placeholder_title]</p></div>'.replace("[UNIQUEID]",e));var o=document.getElementById(e);o.style.width="".concat(r,"px"),o.style.height="".concat(n,"px");var i=document.querySelector("#".concat(e," .video-placeholder-text-normal"));i.style.display="none";var s,a,u=(s=t.src,!!((a=s.match(/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/))&&Array.isArray(a)&&a[2]&&11===a[2].length)&&a[2]);u&&(o.classList.replace("video-placeholder-normal","video-placeholder-youtube"),o.style.backgroundImage="linear-gradient(rgba(76,72,72,.7),rgba(76,72,72,.7)),url('https://img.youtube.com/vi/".concat(u,"/maxresdefault.jpg')"),i.classList.replace("video-placeholder-text-normal","video-placeholder-text-youtube"))}}function f(t,e){return t.hasAttribute("data-cookieyes")&&i._ckyIsCategoryToBeBlocked(t.getAttribute("data-cookieyes").replace("cookieyes-",""))||i._ckyShouldBlockProvider(e||t.src)}i._nodeListObserver=new MutationObserver((function(e){var r,n=t(e);try{for(n.s();!(r=n.n()).done;){var o,s=t(r.value.addedNodes);try{var a=function(){var t=o.value;if(!t.src||!t.nodeName||!["script","iframe"].includes(t.nodeName.toLowerCase()))return 0;try{var e=i._ckyStartsWith(t.src,"//")?"".concat(window.location.protocol).concat(t.src):t.src,r=new URL(e),n=r.hostname,s=r.pathname,a="".concat(n).concat(s).replace(/^www./,"");if(u(t,a),!i._ckyShouldBlockProvider(a))return 0;var f=i._ckyRandomString(8,!1);if("iframe"===t.nodeName.toLowerCase())c(t,f),i._ckyStore._bannerAttached&&i._ckySetPlaceHolder&&i._ckySetPlaceHolder(f);else{t.type="javascript/blocked";t.addEventListener("beforescriptexecute",(function e(r){r.preventDefault(),t.removeEventListener("beforescriptexecute",e)}))}var l=document.head.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?"head":"body";t.remove(),i._ckyStore._backupNodes.push({position:l,node:t.cloneNode(),uniqueID:f})}catch(t){}};for(s.s();!(o=s.n()).done;)a()}catch(t){s.e(t)}finally{s.f()}}}catch(t){n.e(t)}finally{n.f()}})),i._nodeListObserver.observe(document.documentElement,{childList:!0,subtree:!0});var l=document.createElement("script");l.src="https://cdn-cookieyes.com/client_data/4af25640e71e3854e6b45efb/banner.js",l.async=!0,l.id="cookieyes-banner",document.head.appendChild(l)}()}();window._wpemojiSettings={"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/rooftopcleaners.be\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.7.2"}}; /*! This file is auto-generated */ !function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\u2b1b","\ud83d\udc26\u200b\u2b1b")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings);!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}({2:function(e,t){const n={gdpr:"optin",ccpa:"optout"},o={functional:"preferences",analytics:["statistics","statistics-anonymous"],performance:"functional",advertisement:"marketing"};document.addEventListener("cookieyes_consent_update",(function(){const e=getCkyConsent(),t=e.categories;window.wp_consent_type=e.activeLaw?n[e.activeLaw]:"optin";let r=new CustomEvent("wp_consent_type_defined");document.dispatchEvent(r),Object.entries(t).forEach(([e,t])=>{e in o&&function(e,t){Array.isArray(o[e])?o[e].forEach(e=>{wp_set_consent(e,t)}):wp_set_consent(o[e],t)}(e,t?"allow":"deny")})}))}});/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ "undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={},r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});const lazyloadRunObserver=()=>{const lazyloadBackgrounds=document.querySelectorAll(`.e-con.e-parent:not(.e-lazyloaded)`);const lazyloadBackgroundObserver=new IntersectionObserver((entries)=>{entries.forEach((entry)=>{if(entry.isIntersecting){let lazyloadBackground=entry.target;if(lazyloadBackground){lazyloadBackground.classList.add('e-lazyloaded')} lazyloadBackgroundObserver.unobserve(entry.target)}})},{rootMargin:'200px 0px 200px 0px'});lazyloadBackgrounds.forEach((lazyloadBackground)=>{lazyloadBackgroundObserver.observe(lazyloadBackground)})};const events=['DOMContentLoaded','elementor/lazyload/observe',];events.forEach((event)=>{document.addEventListener(event,lazyloadRunObserver)});function launch_chaty(t){null!=t&&"widget_index"!=t||(t=0),jQuery("#chaty-widget-_"+t).length&&jQuery("#chaty-widget-_"+t+" .chaty-cta-button .open-chaty").trigger("click")}!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}((function(t,e){var a,c,i=[],n="",s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4))?1:0,o=["System Stack","Arial","Tahoma","Verdana","Helvetica","Times New Roman","Trebuchet MS","Georgia","-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"],h=!1,l=!1,d=0,r=!1,g=!1,y=[],p=0,f=0,u="",m=0,w="";function v(a){if(t("#chaty-widget-"+a).data("animation")!=e&&"none"!=t("#chaty-widget-"+a).data("animation")){var c="chaty-animation-"+t("#chaty-widget-"+a).data("animation");t("#chaty-widget-"+a+" ."+c).removeClass(c)}t("#chaty-widget-"+a+" .ch-pending-msg").remove()}function _(){i.length&&(t("body").append('<svg width="39" height="39" viewBox="0 0 39 39" class="hide-cht-svg-bg" fill="none" xmlns="http://www.w3.org/2000/svg"><defs> <linearGradient id="linear-gradient" x1="0.892" y1="0.192" x2="0.128" y2="0.85" gradientUnits="objectBoundingBox"> <stop offset="0" stop-color="#4a64d5"/> <stop offset="0.322" stop-color="#9737bd"/> <stop offset="0.636" stop-color="#f15540"/> <stop offset="1" stop-color="#fecc69"/> </linearGradient> </defs>'),t.each(i,(function(e,a){var c="",h="",y=0,p={},f=function(e){if(W(e.triggers.has_countries)&&!L(e.triggers.countries)&&e.triggers.countries.length&&"-"!=(n=P())&&-1==t.inArray(n,e.triggers.countries))return!1;return!0}(a);if(f=f&&function(t){if(t.triggers.has_date_scheduling_rules){var e=t.triggers.date_scheduling_rules.start_date_time,a=t.triggers.date_scheduling_rules.end_date_time,c=new Date,i=(c=A(c,t.triggers.time_diff)).getFullYear()+"-"+D(c.getMonth()+1)+"-"+D(c.getDate())+" "+D(c.getHours())+":"+D(c.getMinutes())+":"+D(c.getSeconds());return""==a&&e<=i||(""==e&&a>=i||""!=e&&""!=a&&e<=i&&a>=i)}return!0}(a),f=f&&function(t){var e=!0;if(W(t.triggers.has_day_hours_scheduling_rules)&&t.triggers.day_hours_scheduling_rules.length>0){var a=t.triggers.day_hours_scheduling_rules;if(a.length>0){e=!1;for(var c=new Date,i=(c=A(c,t.triggers.day_time_diff)).getHours(),n=c.getMinutes(),s=c.getDay(),o=0;o<a.length;o++){var h=0,l=0;-1==a[o].days?l=1:a[o].days>=0&&a[o].days<=6?a[o].days==s&&(l=1):7==a[o].days?s>=0&&s<=4&&(l=1):8==a[o].days?s>=1&&s<=5&&(l=1):9==a[o].days&&(6!=s&&0!=s||(l=1)),1==l&&(i>a[o].start_hours&&i<a[o].end_hours?h=1:i==a[o].start_hours&&i<a[o].end_hours?n>=a[o].start_min&&(h=1):i>a[o].start_hours&&i==a[o].end_hours?n<=a[o].end_min&&(h=1):i==a[o].start_hours&&i==a[o].end_hours&&n>=a[o].start_min&&n<=a[o].end_min&&(h=1),1==h&&n>=a[o].start_min&&n<=a[o].end_min&&1),1==h&&1==l&&(e=1),1==e&&(o=a.length+1)}}}return e}(a),t.each(a.channels,(function(t,e){x(e)&&(y++,p=e)})),"open"==a.settings.default_state&&1==y&&"chat-view"!=a.settings.cta_type&&(a.settings.default_state="click",i[e].settings.default_state="click"),f&&y>0&&!t("#chaty-widget-"+a.id).length){var u=z(a.settings);u="right"==u?"right":"left";var m=function(t){if("vertical"!=t.settings.icon_view)return"top";var e=z(t.settings);if("right"==e)return"left";return"right"}(a);if("chat-view"==a.settings.cta_type){var w="<div style='display: none' class='chaty chaty-has-chat-view chaty-id-"+a.id+" chaty-widget-"+a.id+" chaty-key-"+e+"' id='chaty-widget-"+a.id+"' data-key='"+e+"' data-id='"+a.id+"' data-identifier='"+a.identifier+"' data-nonce='"+a.settings.widget_token+"' ><div class='chaty-widget "+u+"-position'><div class='chaty-channels'><div class='chaty-i-trigger'></div></div></div></div>";t("body").append(w),function(e){var a=e.id,c=T(a);null==c&&(c=-1);var i=e.settings.cta_body,n=e.settings.cta_head,s=t("title").text();L(s)?(i=i.replace(/{title}/g,""),n=n.replace(/{title}/g,"")):(i=i.replace(/{title}/g,s),n=n.replace(/{title}/g,s));i=i.replace(/{url}/g,"<a target='_blank' href='"+window.location.href+"'>"+window.location.href+"</a>"),n=n.replace(/{url}/g,"<a target='_blank' href='"+window.location.href+"'>"+window.location.href+"</a>");var o="";o+="<div style='display:none;' class='chaty-chat-view chaty-chat-view-"+a+" chaty-form-"+a+"' data-channel='chaty-chat-view' id='chaty-form-"+a+"-chaty-chat-view' data-widget='"+a+"' data-index='"+c+"'>",o+="<div class='chaty-view-body'>",o+="<div class='chaty-view-header'>"+n,o+="<div role='button' class='chaty-close-view-list'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 330 330'><path d='M325.607 79.393c-5.857-5.857-15.355-5.858-21.213.001l-139.39 139.393L25.607 79.393c-5.857-5.857-15.355-5.858-21.213.001s-5.858 15.355 0 21.213l150.004 150a15 15 0 0 0 21.212-.001l149.996-150c5.859-5.857 5.859-15.355.001-21.213z'/></svg></div>",o+="</div>",o+="<div class='chaty-view-content'>",o+="<div class='chaty-top-content'>",o+=i,o+="</div>",o+="<div class='chaty-view-channels'>",o+="</div>",o+="</div>",o+="</div>",o+="</div>",t("#chaty-widget-"+a).append(o)}(a)}else{w="<div style='display: none' class='chaty chaty-id-"+a.id+" chaty-widget-"+a.id+" chaty-key-"+e+"' id='chaty-widget-"+a.id+"' data-key='"+e+"' data-id='"+a.id+"' data-identifier='"+a.identifier+"' data-nonce='"+a.settings.widget_token+"' ><div class='chaty-widget "+u+"-position'><div class='chaty-channels'><div class='chaty-channel-list'></div><div class='chaty-i-trigger'></div></div></div></div>";t("body").append(w)}W(a.triggers.auto_hide_widget)&&parseInt(a.triggers.hide_after)>0&&(t("#chaty-widget-"+a.id).addClass("auto-hide-chaty"),t("#chaty-widget-"+a.id).attr("data-time",a.triggers.hide_after));var v=O(a.id,"c-widget");if(t("#chaty-widget-"+a.id).addClass(a.settings.show_cta),1==y&&"chat-view"!=a.settings.cta_type){"vertical"!=a.settings.icon_view&&(m="right"!=u?"right":"left");var _=j(p,a.id,m);t("#chaty-widget-"+a.id+" .chaty-i-trigger").html(_),t("#chaty-widget-"+a.id+" .chaty-i-trigger").addClass("single-channel"),t("#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel").addClass("single"),t("#chaty-widget-"+a.id+" .chaty-widget").addClass("has-single"),L(B=a.settings.cta_text)||(B=C(B)),"first_click"==a.settings.show_cta&&(v?(t("#chaty-widget-"+a.id+" .chaty-tooltip").removeClass("chaty-tooltip"),t("#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel").addClass("active").addClass("chaty-tooltip").addClass("pos-"+m),t("#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel").append("<span class='on-hover-text'>"+B+"</span>").addClass("active").addClass("has-on-hover"),t("#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel a").append("<span class='on-hover-text'>"+B+"</span>").addClass("has-on-hover"),t("#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel a").attr("data-text",B)):t("#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel a").append("<span class='on-hover-text'>"+B+"</span>").removeClass("active").addClass("has-on-hover")),"all_time"==a.settings.show_cta&&(t("#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-tooltip").append("<span class='on-hover-text'>"+B+"</span>").addClass("active").addClass("has-on-hover"),t("#chaty-widget-"+a.id+" .chaty-i-trigger.single-channel .chaty-channel a").attr("data-text",B));var I=p;("Instagram"!=I.channel_type||"#ffffff"!=I.icon_color&&"#fff"!=I.icon_color)&&(c+="#chaty-widget-"+a.id+" ."+I.channel_type+"-channel .color-element{ fill: "+I.icon_color+"; color: "+I.icon_color+";}",c+="#chaty-widget-"+a.id+" .channel-icon-"+I.channel_type+" .color-element{ fill: "+I.icon_color+"; color: "+I.icon_color+";}"),c+="#chaty-widget-"+a.id+" ."+I.channel_type+"-channel .chaty-custom-icon { background-color: "+I.icon_color+"; }",c+="#chaty-widget-"+a.id+" ."+I.channel_type+"-channel .chaty-svg { background-color: "+I.icon_color+";}",c+="#chaty-widget-"+a.id+" .channel-icon-"+I.channel_type+" .chaty-svg { background-color: "+I.icon_color+";}","Contact_Us"==I.channel_type&&(c+=".chaty-contact-form-box #chaty-submit-button-"+a.id+" {background-color: "+I.contact_form_settings.button_bg_color+"; color: "+I.contact_form_settings.button_text_color+";} ",c+="#chaty-form-"+a.id+"-Contact_Us .chaty-contact-form-title {background-color: "+I.contact_form_settings.title_bg_color+"; } ");var M='<div class="chaty-channel chaty-cta-close chaty-tooltip pos-'+m+'" data-hover="'+a.settings.close_text+'"><div class="chaty-cta-button"><button type="button"><span class="chaty-svg"><svg viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg"><ellipse cx="26" cy="26" rx="26" ry="26" fill="'+a.settings.widget_color+'"></ellipse><rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(18.35 15.6599) scale(0.998038 1.00196) rotate(45)" fill="'+a.settings.widget_icon_color+'"></rect><rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(37.5056 18.422) scale(0.998038 1.00196) rotate(135)" fill="'+a.settings.widget_icon_color+'"></rect></svg></span><span class="sr-only">Hide chaty</span></button></div></div>';t("#chaty-widget-"+a.id+" .chaty-i-trigger").append(M)}else{t.each(a.channels,(function(e,i){if(x(i)){if(q(i.channel_type)&&(i.channel_type=i.channel),"chat-view"==a.settings.cta_type){var n=j(i,a.id,"top");t(".chaty-chat-view-"+a.id+" .chaty-view-channels").append(n)}else{n=j(i,a.id,m);t("#chaty-widget-"+a.id+" .chaty-channel-list").append(n)}("Instagram"!=i.channel_type||"#ffffff"!=i.icon_color&&"#fff"!=i.icon_color)&&(c+="#chaty-widget-"+a.id+" ."+i.channel_type+"-channel .color-element{ fill: "+i.icon_color+"; color: "+i.icon_color+";}",c+="#chaty-widget-"+a.id+" .channel-icon-"+i.channel_type+" .color-element{ fill: "+i.icon_color+"; color: "+i.icon_color+";}"),c+="#chaty-widget-"+a.id+" ."+i.channel_type+"-channel .chaty-custom-icon { background-color: "+i.icon_color+"; }",c+="#chaty-widget-"+a.id+" ."+i.channel_type+"-channel .chaty-svg { background-color: "+i.icon_color+";}",c+="#chaty-widget-"+a.id+" .channel-icon-"+i.channel_type+" .chaty-svg { background-color: "+i.icon_color+";}",c+=".chaty-chat-view-"+a.id+" ."+i.channel_type+"-channel .chaty-custom-icon { background-color: "+i.icon_color+"; }",c+=".chaty-chat-view-"+a.id+" ."+i.channel_type+"-channel .chaty-svg { background-color: "+i.icon_color+";}",c+=".chaty-chat-view-"+a.id+" .channel-icon-"+i.channel_type+" .chaty-svg { background-color: "+i.icon_color+";}","Contact_Us"==i.channel_type&&(c+=".chaty-contact-form-box #chaty-submit-button-"+a.id+" {background-color: "+i.contact_form_settings.button_bg_color+"; color: "+i.contact_form_settings.button_text_color+";} ",c+="#chaty-form-"+a.id+"-Contact_Us .chaty-contact-form-title {background-color: "+i.contact_form_settings.title_bg_color+"; } ")}}));var S=function(t,e){(""==t.widget_icon||"chat-image"==t.widget_icon&&L(t.widget_icon_url)||"chat-fa-icon"==t.widget_icon&&L(t.widget_fa_icon))&&(t.widget_icon="chat-base");return"chat-image"==t.widget_icon?"<span class='chaty-svg' style='background-color: "+t.widget_color+"'><img src='"+t.widget_icon_url+"' alt='Chaty Widget' /></span>":"chat-fa-icon"==t.widget_icon?"<span class='chaty-svg' style='background-color: "+t.widget_color+"'><i class='"+t.widget_fa_icon+" widget-fa-icon' style='color: "+t.widget_icon_color+"'></i></span>":'<span class="chaty-svg">'+function(t,e,a,c){switch(t){case"chat-smile":return'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496.8 507.1 54 54" style="enable-background-color:new -496.8 507.1 54 54;" xml:space="preserve"><style type="text/css">.chaty-sts1-'+c+"{fill:"+a+';} .chaty-sts2{fill:none;stroke:#808080;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}</style><g><circle cx="-469.8" cy="534.1" r="27" fill="'+e+'"/></g><path class="chaty-sts1-'+c+'" d="M-459.5,523.5H-482c-2.1,0-3.7,1.7-3.7,3.7v13.1c0,2.1,1.7,3.7,3.7,3.7h19.3l5.4,5.4c0.2,0.2,0.4,0.2,0.7,0.2c0.2,0,0.2,0,0.4,0c0.4-0.2,0.6-0.6,0.6-0.9v-21.5C-455.8,525.2-457.5,523.5-459.5,523.5z"/><path class="chaty-sts2" d="M-476.5,537.3c2.5,1.1,8.5,2.1,13-2.7"/><path class="chaty-sts2" d="M-460.8,534.5c-0.1-1.2-0.8-3.4-3.3-2.8"/></svg>';case"chat-bubble":return'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496.9 507.1 54 54" style="enable-background-color:new -496.9 507.1 54 54;" xml:space="preserve"><style type="text/css">.chaty-sts2-'+c+"{fill:"+a+';}</style><g><circle cx="-469.9" cy="534.1" r="27" fill="'+e+'"/></g><path class="chaty-sts2-'+c+'" d="M-472.6,522.1h5.3c3,0,6,1.2,8.1,3.4c2.1,2.1,3.4,5.1,3.4,8.1c0,6-4.6,11-10.6,11.5v4.4c0,0.4-0.2,0.7-0.5,0.9 c-0.2,0-0.2,0-0.4,0c-0.2,0-0.5-0.2-0.7-0.4l-4.6-5c-3,0-6-1.2-8.1-3.4s-3.4-5.1-3.4-8.1C-484.1,527.2-478.9,522.1-472.6,522.1z M-462.9,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-464.6,534.6-463.9,535.3-462.9,535.3z M-469.9,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-471.7,534.6-471,535.3-469.9,535.3z M-477,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-478.8,534.6-478.1,535.3-477,535.3z"/></svg>';case"chat-db":return'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.1 54 54" style="enable-background-color:new -496 507.1 54 54;" xml:space="preserve"><style type="text/css">.chaty-sts3-'+c+"{fill:"+a+';}</style><g><circle cx="-469" cy="534.1" r="27" fill="'+e+'"/></g><path class="chaty-sts3-'+c+'" d="M-464.6,527.7h-15.6c-1.9,0-3.5,1.6-3.5,3.5v10.4c0,1.9,1.6,3.5,3.5,3.5h12.6l5,5c0.2,0.2,0.3,0.2,0.7,0.2c0.2,0,0.2,0,0.3,0c0.3-0.2,0.5-0.5,0.5-0.9v-18.2C-461.1,529.3-462.7,527.7-464.6,527.7z"/><path class="chaty-sts3-'+c+'" d="M-459.4,522.5H-475c-1.9,0-3.5,1.6-3.5,3.5h13.9c2.9,0,5.2,2.3,5.2,5.2v11.6l1.9,1.9c0.2,0.2,0.3,0.2,0.7,0.2c0.2,0,0.2,0,0.3,0c0.3-0.2,0.5-0.5,0.5-0.9v-18C-455.9,524.1-457.5,522.5-459.4,522.5z"/></svg>';default:return'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background-color:new -496 507.7 54 54;" xml:space="preserve"><style type="text/css">.chaty-sts4-'+c+"{fill: "+a+';}.chaty-st0{fill: #808080;}</style><g><circle cx="-469" cy="534.7" r="27" fill="'+e+'"/></g><path class="chaty-sts4-'+c+'" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/><path class="chaty-st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0C-478.6,530.8-478.2,530.5-477.7,530.5z"/><path class="chaty-st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0C-478.6,533.9-478.2,533.5-477.7,533.5z"/></svg>'}}(t.widget_icon,t.widget_color,t.widget_icon_color,e)+"</span>"}(a.settings,a.id),B=a.settings.cta_text;"first_click"==a.settings.show_cta&&(v||(B=""));var E=m;"horizontal"==a.settings.icon_view&&(E="left"==u?"right":"left"),L(B)||(B=C(B));var H='<div class="chaty-channel chaty-cta-main chaty-tooltip has-on-hover pos-'+E+' active" data-widget="'+a.id+'" ><span class="on-hover-text">'+B+'</span><div class="chaty-cta-button"><button type="button" class="open-chaty">'+S+'<span class="sr-only">Open chaty</span></button><button type="button" class="open-chaty-channel"><span class="sr-only">chaty buttons</span></button></div></div>';t("#chaty-widget-"+a.id+" .chaty-i-trigger").html(H);M='<div class="chaty-channel chaty-cta-close chaty-tooltip pos-'+m+'" data-hover="'+a.settings.close_text+'"><div class="chaty-cta-button"><button type="button"><span class="chaty-svg"><svg viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg"><ellipse cx="26" cy="26" rx="26" ry="26" fill="'+a.settings.widget_color+'"></ellipse><rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(18.35 15.6599) scale(0.998038 1.00196) rotate(45)" fill="'+a.settings.widget_icon_color+'"></rect><rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(37.5056 18.422) scale(0.998038 1.00196) rotate(135)" fill="'+a.settings.widget_icon_color+'"></rect></svg></span><span class="sr-only">Hide chaty</span></button></div></div>';t("#chaty-widget-"+a.id+" .chaty-i-trigger").append(M)}t.each(a.channels,(function(t,e){"Contact_Us"==e.channel_type&&"yes"==e.hide_recaptcha_badge&&(c+=".grecaptcha-badge {visibility: hidden;}")})),"chat-view"==a.settings.cta_type&&a.settings.show_close_button,!(v=O(a.id,"c-widget"))||"open"==a.settings.default_state&&1!=y||(function(e,a){var c=O(a,"c-widget");c&&W(e.is_pending_mesg_enabled)&&parseInt(e.pending_mesg_count)>0&&(t("#chaty-widget-"+a+" .chaty-widget").hasClass("has-single")?"sheen"==e.attention_effect||"spin"==e.attention_effect||"pulse"==e.attention_effect?t("#chaty-widget-"+a+" .chaty-i-trigger .chaty-channel").append("<span class='ch-pending-msg'>"+e.pending_mesg_count+"</span>"):t("#chaty-widget-"+a+" .chaty-i-trigger .chaty-channel .chaty-svg").append("<span class='ch-pending-msg'>"+e.pending_mesg_count+"</span>"):"jump"==e.attention_effect||"waggle"==e.attention_effect||"blink"==e.attention_effect||"pulse-icon"==e.attention_effect||"floating"==e.attention_effect?t("#chaty-widget-"+a+" .chaty-i-trigger .chaty-cta-main .chaty-cta-button").append("<span class='ch-pending-msg'>"+e.pending_mesg_count+"</span>"):t("#chaty-widget-"+a+" .chaty-i-trigger .chaty-cta-main").append("<span class='ch-pending-msg'>"+e.pending_mesg_count+"</span>"))}(a.settings,a.id),function(e,a){var c=O(a,"c-widget");c&&"none"!=e.attention_effect&&""!=e.attention_effect&&(t("#chaty-widget-"+a).attr("data-animation",e.attention_effect),t("#chaty-widget-"+a+" .chaty-widget").hasClass("has-single")?t("#chaty-widget-"+a+" .chaty-i-trigger .chaty-channel .chaty-svg").addClass("chaty-animation-"+e.attention_effect):t("#chaty-widget-"+a+" .chaty-i-trigger .chaty-cta-main .chaty-cta-button").addClass("chaty-animation-"+e.attention_effect))}(a.settings,a.id));var Q=0;"open"!=a.settings.default_state||W(a.settings.show_close_button)||(t("#chaty-widget-"+a.id+" .chaty-widget").addClass("chaty-no-close-button").addClass("chaty-open"),Q=1),W(a.settings.is_google_analytics_enabled)&&(t("#chaty-widget-"+a.id+" .chaty-channel-list .chaty-channel > a").addClass("has-gae"),t("#chaty-form-"+a.id+"-chaty-chat-view .chaty-channel > a").addClass("has-gae"),t("#chaty-widget-"+a.id+" .chaty-i-trigger.single-channel .chaty-channel > a").addClass("has-gae"),t(".chaty-outer-forms.chaty-whatsapp-btn-form.chaty-form-"+a.id+" form.add-analytics").addClass("form-google-analytics"),t(".whatsapp-chaty-form-"+a.id).addClass("has-form-gae")),W(a.settings.has_custom_css)&&!L(a.settings.custom_css)&&(h+=a.settings.custom_css),"hover"==a.settings.default_state?t("#chaty-widget-"+a.id).addClass("open-on-hover"):"open"==a.settings.default_state&&(t("#chaty-widget-"+a.id+" .chaty-widget").addClass("default-open"),!v&&W(a.settings.show_close_button)||t("#chaty-widget-"+a.id+" .chaty-widget:not(.has-single)").addClass("chaty-open"),v||t("#chaty-widget-"+a.id+" .chaty-widget").removeClass("default-open")),t("#chaty-widget-"+a.id+" .chaty-widget:not(.has-single):not(.chaty-no-close-button)").hasClass("default-open")?W(a.settings.bg_blur_effect)&&t("body").addClass("add-bg-blur-effect"):t("body").removeClass("add-bg-blur-effect"),W(a.settings.bg_blur_effect)&&t("#chaty-widget-"+a.id+" .chaty-widget:not(.chaty-no-close-button)").addClass("has-bg-blur-effect");var N=function(t,e){return t}(a.settings.widget_size,a.settings.custom_widget_size);if(N=parseInt(N),c+="#chaty-widget-"+a.id+" .chaty-channel-list .chaty-channel {width: "+N+"px; height: "+N+"px; }",c+="#chaty-widget-"+a.id+" .chaty-channel-list .chaty-channel > a {width: "+N+"px; height: "+N+"px; }",c+="#chaty-widget-"+a.id+" .chaty-channel-list .chaty-channel > a .chaty-custom-icon {display:block; width: "+N+"px; height: "+N+"px; line-height: "+N+"px; font-size: "+parseInt(N/2)+"px; }",c+="#chaty-widget-"+a.id+" .chaty-channel-list .chaty-channel button {width: "+N+"px; height: "+N+"px; margin: 0; padding:0; outline: none; border-radius: 50%;}",c+="#chaty-widget-"+a.id+" .chaty-channel-list .chaty-channel .chaty-svg {width: "+N+"px; height: "+N+"px; }",c+="#chaty-widget-"+a.id+" .chaty-channel-list .chaty-channel .chaty-svg img {width: "+N+"px; height: "+N+"px; }",c+="#chaty-widget-"+a.id+" .chaty-channel-list .chaty-channel span.chaty-icon {width: "+N+"px; height: "+N+"px; }",c+="#chaty-widget-"+a.id+" .chaty-channel-list .chaty-channel a {width: "+N+"px; height: "+N+"px; }",c+="#chaty-widget-"+a.id+" .chaty-channel-list .chaty-channel .chaty-svg .chaty-custom-channel-icon {width: "+N+"px; height: "+N+"px; line-height: "+N+"px; display: block; font-size:"+parseInt(N/2)+"px; }",c+="#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-cta-button {background-color: "+a.settings.widget_color+"; }",c+="#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-cta-button button {background-color: "+a.settings.widget_color+"; }",c+="#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel {width: "+N+"px; height: "+N+"px; }",c+="#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel > a {width: "+N+"px; height: "+N+"px; }",c+="#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel > a .chaty-custom-icon {display:block; width: "+N+"px; height: "+N+"px; line-height: "+N+"px; font-size: "+parseInt(N/2)+"px; }",c+="#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel button {width: "+N+"px; height: "+N+"px; margin: 0; padding:0; outline: none; border-radius: 50%;}",c+="#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel .chaty-svg {width: "+N+"px; height: "+N+"px; }",c+="#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel .chaty-svg img {width: "+N+"px; height: "+N+"px; }",c+="#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel span.chaty-icon {width: "+N+"px; height: "+N+"px; }",c+="#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel a {width: "+N+"px; height: "+N+"px; }",c+="#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel .chaty-svg .chaty-custom-channel-icon {width: "+N+"px; height: "+N+"px; line-height: "+N+"px; display: block; font-size:"+parseInt(N/2)+"px; }",c+="#chaty-widget-"+a.id+" .chaty-i-trigger .ch-pending-msg {background-color: "+a.settings.pending_mesg_count_bgcolor+"; color: "+a.settings.pending_mesg_count_color+"; }",c+="#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel .chaty-svg .widget-fa-icon {line-height: "+N+"px; font-size:"+parseInt(N/2)+"px; }","vertical"==a.settings.icon_view){c+="#chaty-widget-"+a.id+" .chaty-channel-list {height: "+y*(N+8)+"px; }",c+="#chaty-widget-"+a.id+" .chaty-channel-list {width: "+(N+8)+"px; }";for(var V=0;V<=y;V++)c+="#chaty-widget-"+a.id+" .chaty-open .chaty-channel-list .chaty-channel:nth-child("+(V+1)+") {-webkit-transform: translateY(-"+(N+8)*(y-V-Q)+"px); transform: translateY(-"+(N+8)*(y-V-Q)+"px);}"}else{t("#chaty-widget-"+a.id+" .chaty-widget").addClass("hor-mode"),c+="#chaty-widget-"+a.id+" .chaty-channel-list {width: "+y*(N+8)+"px; }",c+="#chaty-widget-"+a.id+" .chaty-channel-list {height: "+N+"px; }";for(V=0;V<=y;V++)c+="#chaty-widget-"+a.id+" .chaty-widget.left-position.hor-mode.chaty-open .chaty-channel-list .chaty-channel:nth-child("+(V+1)+") {-webkit-transform: translateX("+(N+8)*(y-V-Q)+"px); transform: translateX("+(N+8)*(y-V-Q)+"px);}",c+="#chaty-widget-"+a.id+" .chaty-widget.right-position.hor-mode.chaty-open .chaty-channel-list .chaty-channel:nth-child("+(V+1)+") {-webkit-transform: translateX(-"+(N+8)*(y-V-Q)+"px); transform: translateX(-"+(N+8)*(y-V-Q)+"px);}"}var Z=a.settings.bottom_spacing,R=a.settings.side_spacing;c+="#chaty-widget-"+a.id+" .chaty-widget {bottom: "+Z+"px}","left"==u?(c+="#chaty-widget-"+a.id+" .chaty-widget {left: "+R+"px; right: auto;}",c+=".chaty-outer-forms.pos-left.chaty-form-"+a.id+" {left: "+R+"px}",t(".chaty-form-"+a.id).addClass("pos-left")):(c+="#chaty-widget-"+a.id+" .chaty-widget {right: "+R+"px; left:auto;}",t(".chaty-form-"+a.id).addClass("pos-right"),c+=".chaty-outer-forms.pos-right.chaty-form-"+a.id+" {right: "+R+"px; left:auto;}"),t(".chaty-form-"+a.id).show();var G=N+15+parseInt(Z);c+=".chaty-outer-forms.active.chaty-form-"+a.id+" {-webkit-transform: translateY(-"+G+"px); transform: translateY(-"+G+"px)} ",c+="#chaty-widget-"+a.id+".chaty:not(.form-open) .chaty-widget.chaty-open + .chaty-chat-view {-webkit-transform: translateY(-"+G+"px); transform: translateY(-"+G+"px)} ",c+="#chaty-widget-"+a.id+" .chaty-tooltip:after {background-color: "+a.settings.cta_bg_color+"; color: "+a.settings.cta_text_color+"}",c+="#chaty-widget-"+a.id+" .chaty-tooltip.pos-top:before {border-top-color: "+a.settings.cta_bg_color+"; }",c+="#chaty-widget-"+a.id+" .chaty-tooltip.pos-left:before {border-left-color: "+a.settings.cta_bg_color+"; }",c+="#chaty-widget-"+a.id+" .chaty-tooltip.pos-right:before {border-right-color: "+a.settings.cta_bg_color+";}",c+="#chaty-widget-"+a.id+" .on-hover-text {background-color: "+a.settings.cta_bg_color+"; color: "+a.settings.cta_text_color+"}",c+="#chaty-widget-"+a.id+" .chaty-tooltip.pos-top .on-hover-text:before {border-top-color: "+a.settings.cta_bg_color+"; }",c+="#chaty-widget-"+a.id+" .chaty-tooltip.pos-left .on-hover-text:before {border-left-color: "+a.settings.cta_bg_color+"; }",c+="#chaty-widget-"+a.id+" .chaty-tooltip.pos-right .on-hover-text:before {border-right-color: "+a.settings.cta_bg_color+";}";var F=G+72+N;F>0&&(c+=".chaty-outer-forms.chaty-form-"+a.id+" .chaty-agent-body {max-height: calc(100vh - "+F+"px); overflow-y: auto; } "),c+="#chaty-form-"+a.id+"-chaty-chat-view .chaty-view-header {background-color: "+a.settings.cta_head_bg_color+";}",c+="#chaty-form-"+a.id+"-chaty-chat-view .chaty-view-header {color: "+a.settings.cta_head_text_color+";}",c+="#chaty-form-"+a.id+"-chaty-chat-view .chaty-view-header svg {fill : "+a.settings.cta_head_text_color+";}";var Y=G+82+N;Y>0&&(c+=".chaty-outer-forms.chaty-contact-form-box.chaty-form-"+a.id+" .chaty-contact-inputs {max-height: calc(100vh - "+Y+"px); overflow-y: auto; } "),25==Z&&25==R||(t(".chaty-outer-forms.chaty-form-"+a.id).addClass("custom-cht-pos"),t("#chaty-widget-"+a.id).addClass("has-custom-pos"));var X=parseInt(t("#chaty-form-"+a.id+"-Whatsapp .chaty-whatsapp-header").outerHeight())+parseInt(t("#chaty-form-"+a.id+"-Whatsapp .chaty-whatsapp-footer").outerHeight())+parseInt(N)+parseInt(Z)+20;if(c+="#chaty-form-"+a.id+"-Whatsapp .chaty-whatsapp-body { max-height: calc(100vh - "+X+"px); overflow-y: auto; }",O(a.id,"v-widget")&&(W(a.triggers.exit_intent)||W(a.triggers.has_time_delay)||W(a.triggers.has_display_after_page_scroll)>0)?(W(a.triggers.has_time_delay)&&0==parseInt(a.triggers.time_delay)?(k(a.id),t("#chaty-widget-"+a.id).addClass("active")):W(a.triggers.has_time_delay)&&parseInt(a.triggers.time_delay)>0&&(l=!0,parseInt(a.triggers.time_delay)>d&&(d=a.triggers.time_delay),t("#chaty-widget-"+a.id).addClass("on-chaty-delay"),t("#chaty-widget-"+a.id).addClass("delay-time-"+parseInt(a.triggers.time_delay)),t("#chaty-widget-"+a.id).attr("data-time",parseInt(a.triggers.time_delay))),W(a.triggers.has_display_after_page_scroll)&&0==parseInt(a.triggers.display_after_page_scroll)?(k(a.id),t("#chaty-widget-"+a.id).addClass("active")):W(a.triggers.has_display_after_page_scroll)&&parseInt(a.triggers.display_after_page_scroll)>0&&(r=!0,t("#chaty-widget-"+a.id).addClass("on-chaty-scroll"),t("#chaty-widget-"+a.id).addClass("page-scroll-"+parseInt(a.triggers.display_after_page_scroll)),t("#chaty-widget-"+a.id).attr("data-scroll",parseInt(a.triggers.display_after_page_scroll))),W(a.triggers.exit_intent)&&(g=!0,t("#chaty-widget-"+a.id).addClass("on-chaty-exit-intent"))):(k(a.id),t("#chaty-widget-"+a.id).addClass("active")),!L(a.settings.font_family)&&"none"!=a.settings.font_family){var J=a.settings.font_family;-1!=t.inArray(J,o)?"System Stack"==J&&(J="-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"):(t("head").append('<link rel="preload" as="style" href="https://fonts.googleapis.com/css?family='+J+'&display=swap">'),t("head").append('<link rel="stylesheet" href="https://fonts.googleapis.com/css?family='+J+'&display=swap">')),c+="#chaty-widget-"+a.id+", #chaty-widget-"+a.id+" .chaty-tooltip:after {font-family: "+J+"}"}}g&&(s?function(){if(window.history&&window.history.pushState&&g){function e(){g&&""!==location.hash.split("#!/")[1]&&""===window.location.hash&&U()}var a=100;window.history.state&&window.history.state.page&&(a=window.history.state.page),window.history.pushState({page:a+1},""),window.history.pushState({page:a+2},""),window.onpopstate=function(){e()},window.history.onpopstate=function(){e()},window.addEventListener("popstate",(function(){e()})),document.addEventListener("backbutton",(function(){e()})),window.addEventListener("backbutton",(function(){e()})),t(window).on("popstate",(function(){e()}))}}():t(document).mouseleave((function(t){function e(t,e,a){t.addEventListener?(t.addEventListener(e,a,!1),U()):t.attachEvent&&t.attachEvent("on"+e,a)}e(document,"mouseout",(function(t){null==t.toElement&&null==t.relatedTarget&&U()}))}))),""!=c&&(t("#custom-chaty-css").length||t("head").append("<style id='custom-chaty-css'></style>"),t("#custom-chaty-css").append(c)),""!=h&&(t("#custom-advance-chaty-css").length||t("head").append("<style id='custom-advance-chaty-css'></style>"),t("#custom-advance-chaty-css").append(h)),i.length,t(".chaty-sms-channel").length&&t(".chaty-sms-channel").each((function(){var e=t(this).attr("href");e=(e=e.replace(/{title}/g,b())).replace(/{url}/g,window.location.href),t(this).attr("href",e)})),t(document).on("click","#chaty-widget-"+a.id+" .chaty-i-trigger .chaty-channel",(function(){t(this).closest(".chaty-widget").hasClass("has-single")?t(this).closest(".chaty").hasClass("form-open")&&(W(a.settings.bg_blur_effect)?t("body").addClass("add-bg-blur-effect"):t("body").removeClass("add-bg-blur-effect")):t(this).closest(".chaty-widget").hasClass("chaty-open")?t("body").removeClass("add-bg-blur-effect"):t(this).closest(".chaty-widget").hasClass("chaty-no-close-button")||W(a.settings.bg_blur_effect)&&(t("body").addClass("add-bg-blur-effect"),console.log("@32334"))}))})),t("#custom-advance-chaty-css").length||t("head").append("<style id='custom-advance-chaty-css'></style>"),t("#custom-advance-chaty-css").append(u),(t(".v3_site_key").length&&!L(t(".v3_site_key").val())||t(".v2_site_key").length&&!L(t(".v2_site_key").val()))&&function(){if(jQuery(".v2_site_key").length&&""!=jQuery(".v2_site_key").val()){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://www.google.com/recaptcha/api.js?onload=onloadChatyCallback&render=explicit&hl=en",(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(t)}jQuery(".v3_site_key").length&&""!=jQuery(".v3_site_key").val()&&jQuery(".v3_site_key").length&&""!=jQuery(".v3_site_key").val()&&jQuery(".front-google-captcha").length&&jQuery(".front-google-captcha:not(.loaded)").each((function(){jQuery(this).addClass("loaded");var t=jQuery(".v3_site_key").val(),e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://www.google.com/recaptcha/api.js?onload=onloadCallbackChatyV3&render="+t,(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(e),e.loadEventEnd=function(){}}))}()),t(".chaty-tooltip").each((function(){""==t(this).data("hover")&&t(this).removeClass("left").removeClass("right").removeClass("top").removeClass("chaty-tooltip")})),function(){t(".chaty.auto-hide-chaty").length&&(c=setInterval((function(){var e=++m;if(t(".chaty.auto-hide-chaty.hide-after-"+m).length){var a=t(".chaty.auto-hide-chaty.hide-after-"+e).data("id");t(".chaty-form-"+a).removeClass("active"),t(".chaty.auto-hide-chaty.hide-after-"+e).removeClass("active"),t("#chaty-widget-"+a).removeClass("auto-hide-chaty"),t("body").removeClass("add-bg-blur-effect")}0==t(".chaty.auto-hide-chaty").length&&clearInterval(c)}),1e3));l&&(a=setInterval((function(){(p++,t(".chaty.delay-time-"+p).length)&&E(t(".chaty.delay-time-"+p).data("id"))}),1e3));if(r){t(window).on("scroll",(function(){if(r){var e=t(document).height()-t(window).height(),a=t(window).scrollTop();if(0!=e){var c=parseInt(a/e*100);if(f<=c){var i=f;f=c;for(var n=i;n<=c;n++)-1==t.inArray(n,y)&&t(".chaty.on-chaty-scroll.page-scroll-"+n).length&&t(".chaty.on-chaty-scroll.page-scroll-"+n).each((function(){var e=t(this).data("id");t(this).removeClass("on-chaty-scroll"),E(e)}));f=c}}}}));window.innerWidth,document.documentElement.clientWidth}}()}function b(){return t("title").length?t("title").text():""}function C(t){return(new DOMParser).parseFromString(t,"text/html").documentElement.textContent}function x(t){if(W(t.is_agent)){if(t.agent_data.length&&(!s&&W(t.is_agent_desktop)||s&&W(t.is_agent_mobile)))return!0}else if((!s&&W(t.is_desktop)||s&&W(t.is_mobile))&&(""!=t.value||"Contact_Us"==t.channel))return!0;return!1}function k(a){if(t("#chaty-widget-"+a+" .chaty-channel.chaty-default-open").length){var c=t("#chaty-widget-"+a+" .chaty-channel.chaty-default-open a.chaty-whatsapp-btn-form").data("form");if(!L(c)){var n=O(a,"c-"+t("#chaty-widget-"+a+" .chaty-channel.chaty-default-open").data("channel"));if(n&&(t("#"+c).addClass("is-active"),t("#"+c).length)){var o=t("#chaty-widget-"+a+" .chaty-channel.chaty-default-open a.chaty-whatsapp-btn-form").html()+"<span class='hide-cht-svg-bg'>"+chaty_settings.lang.hide_whatsapp_form+"</span>";if(v(a),t("#chaty-widget-"+a).find(".ch-pending-msg").remove(),t("#chaty-widget-"+a+" .chaty-widget").removeClass("chaty-open"),t("#chaty-widget-"+a).addClass("form-open"),t("#"+c).addClass("active"),t("#chaty-widget-"+a+" .chaty-widget:not(.chaty-no-close-button)").hasClass("has-bg-blur-effect")&&t("body").addClass("add-bg-blur-effect"),setTimeout((function(){t(".chaty-whatsapp-btn-form.active .chaty-whatsapp-input").focus()}),100),t("#chaty-widget-"+a+" .open-chaty-channel").html(o),t("#chaty-widget-"+a).addClass("active"),t("#chaty-widget-"+a).addClass("active"),t("#chaty-widget-"+a).hasClass("auto-hide-chaty"))(g=parseInt(t("#chaty-widget-"+a).data("time")))>0&&(g+=m,t("#chaty-widget-"+a).addClass("hide-after-"+g));if("on"==chaty_settings.data_analytics_settings){var l=[],d=t("#chaty-widget-"+a+" .chaty-channel.chaty-default-open").data("channel");if(O(a,"v-"+d)&&void 0!==d&&(H(a,"v-"+d),l.push(d)),!h&&l.length){var r=t("#chaty-widget-"+a).data("nonce");t.ajax({url:chaty_settings.ajax_url,data:{widgetId:a,channels:l,userId:a,isMobile:s,widgetNonce:r,action:"update_chaty_channel_views"},type:"post",dataType:"json",success:function(t){},error:function(t,e,a){monitorErrorLog(t,e,a)}})}}return}}}var g;(t("#chaty-widget-"+a).addClass("active"),t("#chaty-widget-"+a).hasClass("auto-hide-chaty"))&&((g=parseInt(t("#chaty-widget-"+a).data("time")))>0&&(g+=m,t("#chaty-widget-"+a).addClass("hide-after-"+g)));V("hide-bg-blur-effect")&&t("body").removeClass("add-bg-blur-effect");var y=O(a,"v-widget");if(y){H(a,"v-widget");t("#chaty-widget-"+a).data("user"),l=[];var p=0,f=0,u=t("#chaty-widget-"+a).data("key");if(typeof i[u]!=e){var w=V("activechatyWidgets");null!=w?(w=w.split(","),-1==t.inArray(a,w)&&(w.push(a),N("activechatyWidgets",w=w.join(","),1))):N("activechatyWidgets",w=a,1)}if(t("#chaty-widget-"+a+" .chaty-widget").hasClass("has-single"))p=1,d=t("#chaty-widget-"+a+" .chaty-channel").data("channel"),O(a,"v-"+d)&&void 0!==d&&(H(a,"v-"+d),l.push(d));else t("#chaty-widget-"+a+" .chaty-widget").hasClass("chaty-open")&&(f=1,t("#chaty-widget-"+a).hasClass("chaty-has-chat-view")?t(".chaty-chat-view.chaty-chat-view-"+a+" .chaty-view-channels").find(".chaty-channel").each((function(){chatyChannel=t(this).data("channel"),(n=O(a,"v-"+chatyChannel))&&"undefined"!=typeof chatyChannel&&(H(a,"v-"+chatyChannel),l.push(chatyChannel))})):t("#chaty-widget-"+a+" .chaty-channel-list .chaty-channel").each((function(){d=t(this).data("channel"),O(a,"v-"+d)&&void 0!==d&&(H(a,"v-"+d),l.push(d))})));if(y&&!h){r=t("#chaty-widget-"+a).data("nonce");h||t.ajax({url:chaty_settings.ajax_url,data:{widgetId:a,channels:l,userId:a,isMobile:s,isOpen:f,isSingle:p,widgetNonce:r,action:"update_chaty_widget_views"},type:"post",dataType:"json",success:function(t){},error:function(t,e,a){monitorErrorLog(t,e,a)}})}}}function j(e,a,c){var i="";if(!W(e.is_agent)){q(e.channel_type)&&(e.channel_type=e.channel);o=S(e,B(e),c,a);if("Contact_Us"==e.channel_type)i+=" has-chaty-box chaty-contact-form";else if("Whatsapp"==e.channel_type){if(W(e.is_default_open))O(a,"c-"+e.channel_type)&&(i+=" chaty-default-open")}return"<div class='chaty-channel "+e.channel+"-channel"+i+"' id='"+e.channel+"-"+a+"-channel' data-id='"+e.channel_type+"-"+a+"' data-widget='"+a+"' data-channel='"+e.channel+"'>"+o+"</div>"}if(e.agent_data.length){var n=0;if(t.each(e.agent_data,(function(t,e){""!=e.value&&(n++,e)})),n>0){var o,h=T(a);return null==h&&(h=-1),function(e,a){var c="",i=T(a);null==i&&(i=-1);c+="<div style='display:none;' class='chaty-outer-forms chaty-agent-data chaty-agent-data-"+a+" chaty-form-"+a+"' data-channel='"+e.channel_type+"' id='chaty-form-"+a+"-"+e.channel_type+"' data-widget='"+a+"' data-index='"+i+"'>",c+="<div class='chaty-form'>",c+="<div class='chaty-form-body'>",c+="<div role='button' class='chaty-close-agent-list'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 330 330'><path d='M325.607 79.393c-5.857-5.857-15.355-5.858-21.213.001l-139.39 139.393L25.607 79.393c-5.857-5.857-15.355-5.858-21.213.001s-5.858 15.355 0 21.213l150.004 150a15 15 0 0 0 21.212-.001l149.996-150c5.859-5.857 5.859-15.355.001-21.213z'/></svg></div>",c+="<div class='chaty-agent-header agent-info-"+a+"-"+e.channel+"'>",L(e.header_text)||(c+="<div class='agent-main-header'>"+e.header_text+"</div>");L(e.header_sub_text)||(c+="<div class='agent-sub-header'>"+e.header_sub_text+"</div>");c+="</div>",c+="<div class='chaty-agent-body agents-body-"+a+" agent-body-"+a+"-"+e.channel+"'>",t.each(e.agent_data,(function(i,n){if(""!=n.value){var o=n.svg_icon;L(n.agent_image)||(o="<img class='chaty-agent-img' src='"+n.agent_image+"' alt='"+n.agent_title+"' />");var h=function(e,a,c,i,n,o){var h=e.value,l="_blank";if("Whatsapp"==a.channel_type){var d=I(e.value),r="";if(!L(e.pre_set_message)){r=decodeURI(e.pre_set_message);var g=t("title").text();r=(r=L(g)?r.replace(/{title}/g,""):r.replace(/{title}/g,g)).replace(/{url}/g,window.location),r=encodeURIComponent(r)}s?(l="",h="https://wa.me/"+d+"?text="+r):(l="_blank",h=W(e.use_whatsapp_web)?"https://web.whatsapp.com/send?phone="+d+"&text="+r:"https://wa.me/"+d+"?text="+r)}else"WeChat"==a.channel_type?(l="",h="javascript:;"):"Email"==a.channel_type?(l="",h="mailto:"+e.value):"Facebook_Messenger"==a.channel_type?l=s?"":"_blank":"SMS"==a.channel_type?(l="",h="sms:"+e.value):"Telegram"==a.channel_type?(h="https://telegram.me/"+(h=M(e.value,"@")),l="_blank"):"Twitter"==a.channel_type?h="https://twitter.com/"+t.trim(e.value):"Instagram"==a.channel_type?h="https://www.instagram.com/"+M(e.value,"@"):"Phone"==a.channel_type?(l="",h="tel:"+t.trim(e.value)):"Skype"==a.channel_type?(l="",h="skype:"+t.trim(e.value)+"?chat"):"Snapchat"==a.channel_type?h="https://www.snapchat.com/add/"+t.trim(e.value):"Vkontakte"==a.channel_type?h="https://vk.me/"+t.trim(e.value):"Linkedin"==a.channel_type?h="personal"==e.link_type?"https://www.linkedin.com/in/"+t.trim(e.value):"https://www.linkedin.com/company/"+t.trim(e.value):"Viber"==a.channel_type?(""!=e.viber_url?h="viber://pa?chatURI="+e.value:(h=M(e.value,"+"),isNaN(h)||(h=h.replace("+",""),navigator.userAgent.match(/(iPod|iPhone|iPad)/)&&(h="+"+h),h="viber://chat?number="+h)),l=""):"TikTok"==a.channel_type&&(h="https://www.tiktok.com/@"+(h=M(t.trim(e.value),"@")),l="");return"<a href='"+h+"' target='"+l+"'><span class='chaty-agent-icon'>"+n+"</span><span class='chaty-agent-title'>"+o+"</span></a>"}(n,e,0,0,o,n.agent_title);c+="<div class='chaty-agent agent-info-"+a+"-"+e.channel+" agent-info-"+i+"'>"+h+"</div>"}u+=".agent-info-"+a+"-"+e.channel+".agent-info-"+i+" .chaty-agent-icon img { background-color: "+n.agent_bg_color+"; } ",("Instagram"!=e.channel||"#ffffff"!=n.agent_bg_color&&"#fff"!=n.agent_bg_color)&&(u+=".agent-info-"+a+"-"+e.channel+".agent-info-"+i+" .chaty-agent-icon .color-element { fill: "+n.agent_bg_color+"; } "),u+=".agent-info-"+a+"-"+e.channel+".agent-info-"+i+" .chaty-custom-icon { background-color: "+n.agent_bg_color+"; } "})),c+="</div>",c+="</div>",c+="</div>",c+="</div>",u+=".chaty-agent-header.agent-info-"+a+"-"+e.channel+" { background-color: "+e.header_bg_color+"; color: "+e.header_text_color+" } ",u+=".agent-info-"+a+"-"+e.channel+" .chaty-close-agent-list svg { fill: "+e.header_text_color+" } ",t("body").append(c)}(e,a),o=S(e,B(e),c,a),("Instagram"!=e.channel||"#ffffff"!=e.icon_color&&"#fff"!=e.icon_color)&&(u+=".chaty-agent-"+a+"-"+e.channel+" .color-element {fill: "+e.icon_color+"; color: "+e.icon_color+";}"),u+=".chaty-agent-"+a+"-"+e.channel+" .chaty-custom-icon { background-color: "+e.icon_color+";}",u+=".chaty-agent-"+a+"-"+e.channel+" .chaty-svg-img { background-color: "+e.icon_color+";}","<div data-form='chaty-form-"+a+"-"+e.channel_type+"' class='chaty-channel chaty-agent-button chaty-agent-"+a+"-"+e.channel+" "+e.channel+"-channel"+i+"' id='"+e.channel+"-"+a+"-channel' data-id='"+e.channel_type+"-"+a+"' data-widget='"+a+"' data-channel='"+e.channel+"'>"+o+"</div>"}}}function I(t){return t=(t=(t=(t=M(t,"+")).replace(/ /g,"")).replace(/-/g,"")).replace(/_/g,"")}function M(e,a){for(e=t.trim(e);e.charAt(0)==a;)e=e.substring(1);for(;e.charAt(e.length-1)==a;)e=e.substring(0,e.length-1);return e}function S(e,a,c,i){var n="";if(W(e.is_agent))e.url="javascript:;",e.target="";else if("Whatsapp"==e.channel_type)if(W(e.has_welcome_message))e.url="javascript:;",e.target="",n+=" has-chaty-box chaty-whatsapp-btn-form",function(e,a){const c=new Date;var i=c.getMinutes()<10?"0"+c.getMinutes():c.getMinutes();const n=(c.getHours()<10?"0"+c.getHours():c.getHours())+":"+i;var o="",h=T(a);null==h&&(h=-1);var l="https://web.whatsapp.com/send",d="";s?l="https://wa.me/"+e.value:(l=W(e.is_use_web_version)?"https://web.whatsapp.com/send":"https://wa.me/"+e.value,d="_blank");o+="<div style='display:none;' class='chaty-outer-forms chaty-popup-whatsapp-form chaty-whatsapp-btn-form chaty-form-"+a+"' data-channel='"+e.channel_type+"' id='chaty-form-"+a+"-"+e.channel_type+"' data-widget='"+a+"' data-index='"+h+"'>",o+="<div class='chaty-whatsapp-form'>";var r=L(e.wp_popup_headline)?"":e.wp_popup_headline;o+="<div class='chaty-whatsapp-header'>",o+="<div class='header-wp-icon'>",o+='<svg xmlns="http://www.w3.org/2000/svg" width="32" height="33" viewBox="0 0 32 33" fill="none"> <g filter="url(#filter0_f_9477_7201)"> <path d="M9.95924 25.2858L10.3674 25.5276C12.0818 26.545 14.0475 27.0833 16.052 27.0842H16.0562C22.2122 27.0842 27.2221 22.0753 27.2247 15.919C27.2258 12.9357 26.0652 10.1303 23.9565 8.01998C22.9223 6.97924 21.6919 6.15397 20.3365 5.59195C18.9812 5.02992 17.5278 4.74231 16.0606 4.74576C9.89989 4.74576 4.88975 9.75407 4.88756 15.91C4.88453 18.0121 5.47648 20.0722 6.59498 21.852L6.86071 22.2742L5.73223 26.394L9.95924 25.2858ZM2.50586 29.5857L4.41235 22.6249C3.23657 20.5878 2.618 18.2768 2.61873 15.9091C2.62183 8.50231 8.64941 2.47656 16.0564 2.47656C19.6508 2.47839 23.0245 3.87717 25.5618 6.41629C28.0991 8.95542 29.4952 12.3305 29.4939 15.9199C29.4906 23.3262 23.4621 29.353 16.0562 29.353H16.0504C13.8016 29.3521 11.592 28.788 9.62923 27.7177L2.50586 29.5857Z" fill="#B3B3B3"/> </g> <path d="M2.36719 29.447L4.27368 22.4862C3.09587 20.4442 2.47721 18.1278 2.48005 15.7705C2.48316 8.36364 8.51074 2.33789 15.9177 2.33789C19.5121 2.33972 22.8859 3.73849 25.4232 6.27762C27.9605 8.81675 29.3565 12.1918 29.3552 15.7812C29.3519 23.1875 23.3234 29.2143 15.9175 29.2143H15.9117C13.663 29.2134 11.4533 28.6493 9.49056 27.5791L2.36719 29.447Z" fill="white"/> <path d="M15.715 3.84769C9.17146 3.84769 3.85 9.16696 3.84767 15.7051C3.84445 17.9377 4.47318 20.1257 5.66119 22.016L5.94343 22.4646L4.48888 27.2525L9.23469 25.663L9.66824 25.9199C11.4891 27.0005 13.5769 27.5719 15.7061 27.5731H15.7105C22.249 27.5731 27.5705 22.2532 27.573 15.7146C27.5779 14.1562 27.2737 12.6123 26.6778 11.1722C26.082 9.73214 25.2064 8.42458 24.1017 7.3252C23.0032 6.21981 21.6963 5.34329 20.2567 4.74637C18.8171 4.14946 17.2734 3.844 15.715 3.84769Z" fill="#25D366"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M12.0858 9.60401C11.8138 9.00922 11.5276 8.99717 11.2692 8.98687L10.5736 8.97852C10.3316 8.97852 9.93846 9.0679 9.60608 9.42544C9.27369 9.78297 8.33594 10.6471 8.33594 12.4046C8.33594 14.1622 9.63628 15.8605 9.81747 16.0991C9.99866 16.3377 12.3277 20.0594 16.0162 21.4913C19.0813 22.6813 19.705 22.4446 20.3706 22.3852C21.0361 22.3257 22.5175 21.521 22.8197 20.6869C23.1219 19.8527 23.1221 19.138 23.0315 18.9886C22.9409 18.8391 22.6989 18.7503 22.3357 18.5716C21.9725 18.3928 20.1888 17.5287 19.8562 17.4094C19.5236 17.2901 19.2818 17.2308 19.0396 17.5883C18.7975 17.9459 18.1029 18.7501 17.8911 18.9886C17.6793 19.227 17.4679 19.2569 17.1047 19.0783C16.7416 18.8998 15.5731 18.5224 14.1867 17.3054C13.108 16.3585 12.3799 15.1892 12.1679 14.8318C11.9559 14.4745 12.1454 14.2809 12.3274 14.1029C12.4902 13.9428 12.6901 13.6858 12.8719 13.4773C13.0537 13.2688 13.1135 13.1197 13.2343 12.8817C13.3551 12.6437 13.2949 12.4346 13.2041 12.256C13.1133 12.0774 12.4083 10.3105 12.0858 9.60401Z" fill="white"/> <defs> <filter id="filter0_f_9477_7201" x="1.21611" y="1.18682" width="29.5678" height="29.6889" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> <feFlood flood-opacity="0" result="BackgroundImageFix"/> <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/> <feGaussianBlur stdDeviation="0.644873" result="effect1_foregroundBlur_9477_7201"/> </filter> </defs> </svg>',o+="</div>",o+="<div class='header-wp-title'>",o+=r,o+="</div>",o+="<div class='whatsapp-form-close-btn'>",o+='<svg width="15" height="9" viewBox="0 0 15 9" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1 1L7.31429 8L14 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path> </svg>',o+="</div>",o+="</div>",o+="<div class='chaty-whatsapp-body'>",L(e.chat_welcome_message)||(""!=e.wp_popup_profile?(o+="<div class='chaty-whatsapp-content has-content'>",o+="<div class='wp-profile-img'>",o+="<img src='"+e.wp_popup_profile+"'>",o+="</div>"):o+="<div class='chaty-whatsapp-content'>",o+="<div class='chaty-whatsapp-message'>",o+="<div class='chaty-whatsapp-message-nickname'>"+e.wp_popup_nickname+"</div>",o+="<div class='chaty-whatsapp-message-content'></div>",o+="<div class='chaty-whatsapp-message-time'>"+n+"</div>",o+="</div>",o+="</div>");o+="</div>",o+="<div class='chaty-whatsapp-footer'>",o+="<form action='"+l+"' target='"+d+"' class='whatsapp-chaty-form-"+a+" whatsapp-chaty-form "+(W(e.is_default_open)?"add-analytics":"")+"' data-widget='"+a+"' data-channel='"+e.channel_type+"' autocomplete='off'>",o+="<div class='chaty-whatsapp-data'>",o+=`<div class='chaty-whatsapp-field ${W(e.emoji_picker)?"has_emoji":""}'>`,W(e.emoji_picker)&&(o+='<button type="button" class="chaty-wp-emoji-input"><span class="hide-cht-svg-bg">"+chaty_settings.lang.emoji_picker+"</span><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M12 2C6.47 2 2 6.5 2 12C2 14.6522 3.05357 17.1957 4.92893 19.0711C5.85752 19.9997 6.95991 20.7362 8.17317 21.2388C9.38642 21.7413 10.6868 22 12 22C14.6522 22 17.1957 20.9464 19.0711 19.0711C20.9464 17.1957 22 14.6522 22 12C22 10.6868 21.7413 9.38642 21.2388 8.17317C20.7362 6.95991 19.9997 5.85752 19.0711 4.92893C18.1425 4.00035 17.0401 3.26375 15.8268 2.7612C14.6136 2.25866 13.3132 2 12 2ZM15.5 8C15.8978 8 16.2794 8.15804 16.5607 8.43934C16.842 8.72064 17 9.10218 17 9.5C17 9.89782 16.842 10.2794 16.5607 10.5607C16.2794 10.842 15.8978 11 15.5 11C15.1022 11 14.7206 10.842 14.4393 10.5607C14.158 10.2794 14 9.89782 14 9.5C14 9.10218 14.158 8.72064 14.4393 8.43934C14.7206 8.15804 15.1022 8 15.5 8ZM8.5 8C8.89782 8 9.27936 8.15804 9.56066 8.43934C9.84196 8.72064 10 9.10218 10 9.5C10 9.89782 9.84196 10.2794 9.56066 10.5607C9.27936 10.842 8.89782 11 8.5 11C8.10218 11 7.72064 10.842 7.43934 10.5607C7.15804 10.2794 7 9.89782 7 9.5C7 9.10218 7.15804 8.72064 7.43934 8.43934C7.72064 8.15804 8.10218 8 8.5 8ZM12 17.5C9.67 17.5 7.69 16.04 6.89 14H17.11C16.3 16.04 14.33 17.5 12 17.5Z" fill="#CDD9E2"/> </svg></button>');o+="<input name='text' type='text' id='chaty_whatsapp_input' class='chaty-whatsapp-input' />",o+="<button type='submit' class='chaty-whatsapp-button-button' >",o+="<span class='hide-cht-svg-bg'>"+chaty_settings.lang.whatsapp_button+"</span>",o+='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><g clip-path="url(#clip0_9452_6982)"><path d="M18.5703 9.99996L2.66037 17.6603L5.60665 9.99996L2.66037 2.33963L18.5703 9.99996Z" fill="white" stroke="white" stroke-width="1.6625" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.24069 9.99947L3.07723 9.99992" stroke="#C6D7E3" stroke-width="1.6625" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_9452_6982"><rect width="20" height="20" fill="white"></rect></clipPath></defs></svg>',o+="</button>",o+="</div>",o+="</div>",!s&&W(e.is_use_web_version)&&(o+="<input type='hidden' name='phone' value='"+e.value+"' />");if(o+="</form>",o+="</div>",o+="</div>",o+="</div>",t("body").append(o),t("#chaty-form-"+a+"-"+e.channel_type+" .chaty-whatsapp-message .chaty-whatsapp-message-content").html(e.chat_welcome_message),!L(e.pre_set_message)){var g=e.pre_set_message,y=t("title").text();g=(g=L(y)?g.replace(/{title}/g,""):g.replace(/{title}/g,y)).replace(/{url}/g,window.location),t("#chaty-form-"+a+"-"+e.channel_type+" .chaty-whatsapp-input").val(g)}t("#chaty-form-"+a+"-"+e.channel_type+" .chaty-whatsapp-input").attr("placeholder",e.input_placeholder),t("#chaty-form-"+a+"-"+e.channel_type).show(),t("#chaty-form-"+a+"-"+e.channel_type+" .chaty-whatsapp-header").css("background-color",e.wp_popup_head_bg_color)}(e,i);else{var o="";if(!L(e.pre_set_message))o=decodeURI(e.pre_set_message),o=(o=L(h=t("title").text())?o.replace(/{title}/g,""):o.replace(/{title}/g,h)).replace(/{url}/g,window.location),o=encodeURIComponent(o);s?(e.target="",e.url="https://wa.me/"+e.value+"?text="+o):(e.target="_blank",W(e.is_use_web_version)?e.url="https://web.whatsapp.com/send?phone="+e.value+"&text="+o:e.url="https://wa.me/"+e.value+"?text="+o)}else if("WeChat"==e.channel_type)L(e.qr_code_image_url)||(!function(e,a){var c="",i=T(a);null==i&&(i=-1);var n=L(e.wechat_header)?"":e.wechat_header+": ";n+=e.value,c+="<div style='display:none;' class='chaty-outer-forms chaty-wechat-form chaty-form-"+a+"' data-channel='"+e.channel_type+"' id='chaty-form-"+a+"-"+e.channel_type+"' data-widget='"+a+"' data-index='"+i+"'>",c+="<div class='chaty-form'>",c+="<div class='chaty-form-body qr-code-body'>",c+='<div class="qr-code-header"><div class="qr-code-head-title"><svg width="25" height="22" viewBox="0 0 25 22" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M17.2315 6.81844C17.6918 6.81844 18.1403 6.85385 18.5769 6.91286C17.7744 3.40752 14.092 0.751953 9.66605 0.751953C4.64999 0.751953 0.578125 4.15108 0.578125 8.34096C0.578125 10.7605 1.93541 12.8967 4.04806 14.2894L2.85601 16.6853L6.1135 15.2808C6.80985 15.5287 7.5416 15.7293 8.32057 15.8356C8.21435 15.3753 8.15533 14.9032 8.15533 14.4075C8.14353 10.2294 12.2154 6.81844 17.2315 6.81844ZM12.6875 4.16288C12.8363 4.16288 12.9836 4.19218 13.1211 4.24912C13.2586 4.30607 13.3835 4.38952 13.4887 4.49474C13.5939 4.59995 13.6773 4.72486 13.7343 4.86232C13.7912 4.99979 13.8205 5.14712 13.8205 5.29592C13.8205 5.44471 13.7912 5.59205 13.7343 5.72951C13.6773 5.86698 13.5939 5.99189 13.4887 6.0971C13.3835 6.20231 13.2586 6.28577 13.1211 6.34271C12.9836 6.39965 12.8363 6.42896 12.6875 6.42896C12.387 6.42896 12.0988 6.30958 11.8863 6.0971C11.6738 5.88461 11.5545 5.59642 11.5545 5.29592C11.5545 4.99542 11.6738 4.70722 11.8863 4.49474C12.0988 4.28225 12.387 4.16288 12.6875 4.16288ZM6.63281 6.44076C6.33231 6.44076 6.04412 6.32139 5.83163 6.1089C5.61914 5.89641 5.49977 5.60822 5.49977 5.30772C5.49977 5.00722 5.61914 4.71903 5.83163 4.50654C6.04412 4.29405 6.33231 4.17468 6.63281 4.17468C6.93331 4.17468 7.2215 4.29405 7.43399 4.50654C7.64648 4.71903 7.76585 5.00722 7.76585 5.30772C7.76585 5.60822 7.64648 5.89641 7.43399 6.1089C7.2215 6.32139 6.93331 6.44076 6.63281 6.44076Z" fill="white"/> <path d="M24.7978 14.4102C24.7978 11.0583 21.4105 8.34375 17.2324 8.34375C13.0543 8.34375 9.66699 11.0583 9.66699 14.4102C9.66699 17.7621 13.0543 20.4767 17.2324 20.4767C17.9169 20.4767 18.5779 20.3823 19.2034 20.2407L23.2871 21.9992L21.8708 19.1666C23.6412 18.0572 24.7978 16.3577 24.7978 14.4102ZM14.9545 14.0326C14.7304 14.0326 14.5114 13.9661 14.325 13.8416C14.1387 13.7171 13.9935 13.5401 13.9077 13.3331C13.822 13.1261 13.7995 12.8983 13.8432 12.6785C13.887 12.4587 13.9949 12.2568 14.1533 12.0983C14.3118 11.9399 14.5137 11.832 14.7335 11.7882C14.9533 11.7445 15.1811 11.767 15.3881 11.8527C15.5951 11.9385 15.7721 12.0837 15.8966 12.27C16.0211 12.4564 16.0876 12.6754 16.0876 12.8995C16.0994 13.525 15.58 14.0326 14.9545 14.0326ZM19.4985 14.0326C19.198 14.0326 18.9098 13.9132 18.6973 13.7007C18.4848 13.4882 18.3654 13.2 18.3654 12.8995C18.3654 12.599 18.4848 12.3108 18.6973 12.0983C18.9098 11.8858 19.198 11.7665 19.4985 11.7665C19.799 11.7665 20.0872 11.8858 20.2997 12.0983C20.5121 12.3108 20.6315 12.599 20.6315 12.8995C20.6315 13.2 20.5121 13.4882 20.2997 13.7007C20.0872 13.9132 19.799 14.0326 19.4985 14.0326Z" fill="white"/> </svg>'+n+'</div><div class="qr-code-hide-btn chaty-close-button"><svg width="15" height="9" viewBox="0 0 15 9" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1 1L7.31429 8L14 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path> </svg></div></div>',L(e.wechat_qr_code_title)||(c+='<div class="qr-code-title">'+e.wechat_qr_code_title+":</div>");c+="<div role='button' class='close-chaty-form is-whatsapp-btn'><div aria-hidden='true' class='chaty-close-button'></div><span class='hide-cht-svg-bg'>"+chaty_settings.lang.hide_whatsapp_form+"</span></div></div>",c+="<div class='qr-code-box'><div class='qr-code-image'><img src='"+e.qr_code_image_url+"' alt='"+e.title+"' /></div>",c+="</div>",c+="</div>",c+="</div>",t("body").append(c),t("#chaty-form-"+a+"-"+e.channel_type+" .qr-code-header").css("background-color",e.wechat_header_color)}(e,i),e.url="javascript:;",e.target="",n+=" has-chaty-box chaty-qr-code-form");else if("Contact_Us"==e.channel_type)!function(e,a){var c="",i=T(a);null==i&&(i=-1);c+="<div style='display:none;' class='chaty-outer-forms chaty-contact-form-box chaty-form-"+a+"' data-channel='"+e.channel_type+"' id='chaty-form-"+a+"-"+e.channel_type+"' data-widget='"+a+"' data-index='"+i+"'>",c+="<div class='chaty-form'>",c+="<div class='chaty-form-body'>",c+="<div role='button' class='close-chaty-form'><div aria-hidden='true' class='chaty-close-button'></div><span class='hide-cht-svg-bg'>"+chaty_settings.lang.hide_whatsapp_form+"</span></div>",c+="<form class='chaty-ajax-contact-form' id='chaty-ajax-contact-form-"+i+"' method='post' data-channel='"+e.channel_type+"' data-widget='"+a+"' data-token='"+e.widget_token+"' data-index='"+e.widget_index+"' enctype='multipart/form-data'>",c+="<div class='chaty-contact-form-body'>",c+="<div class='chaty-contact-form-title'><div class='form-title'>"+e.contact_form_settings.contact_form_title+"</div><div aria-hidden='true' class='chaty-close-button'><span class='hide-cht-svg-bg'>"+chaty_settings.lang.hide_whatsapp_form+"</span><svg width='15' height='9' viewBox='0 0 15 9' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M1 1L7.31429 8L14 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'></path></svg></div></div>",c+="<div class='chaty-contact-inputs'>",""==e.contact_form_settings.contact_form_field_order?t.each(e.contact_fields,(function(t,e){c+="<div class='chaty-contact-input'>";var i=W(e.is_required)?"is-required":"",n="";W(e.is_required)&&(n="<span class='required_indicate'>*</span>"),"textarea"==e.type?(L(e.title)?c+="<label class='sr-only' for='"+e.field+"-"+a+"'>"+e.field+"</label>":c+="<label class='chaty-form-label' for='"+e.field+"-"+a+"'>"+e.title+" "+n+"</label>",c+="<textarea type='"+e.type+"' class='chaty-textarea-field "+i+" field-"+e.field+"' placeholder='"+e.placeholder+"' name='"+e.field+"' id='"+e.field+"-"+a+"' ></textarea>"):(L(e.title)?c+="<label class='sr-only' for='"+e.field+"-"+a+"'>"+e.field+"</label>":c+="<label class='chaty-form-label' for='"+e.field+"-"+a+"'>"+e.title+" "+n+"</label>",c+="<input type='"+e.type+"' class='chaty-input-field "+i+" field-"+e.field+"' placeholder='"+e.placeholder+"' name='"+e.field+"' id='"+e.field+"-"+a+"' />","email"==e.field&&(c+='<p id="email_suggestion'+a+'" class="email_suggestion"></p>')),c+="</div>"})):t.each(e.contact_form_settings.contact_form_field_order,(function(i,n){t.each(e.contact_fields,(function(t,e){if(e.title==n){c+="<div class='chaty-contact-input'>";var i=W(e.is_required)?"is-required":"",s="";W(e.is_required)&&(s="<span class='required_indicate'>*</span>"),"textarea"==e.type?(L(e.title)?c+="<label class='sr-only' for='"+e.field+"-"+a+"'>"+e.field+"</label>":c+="<label class='chaty-form-label' for='"+e.field+"-"+a+"'>"+e.title+" "+s+"</label>",c+="<textarea type='"+e.type+"' class='chaty-textarea-field "+i+" field-"+e.field+"' placeholder='"+e.placeholder+"' name='"+e.field+"' id='"+e.field+"-"+a+"' ></textarea>"):(L(e.title)?c+="<label class='sr-only' for='"+e.field+"-"+a+"'>"+e.field+"</label>":c+="<label class='chaty-form-label' for='"+e.field+"-"+a+"'>"+e.title+" "+s+"</label>",c+="<input type='"+e.type+"' class='chaty-input-field "+i+" field-"+e.field+"' placeholder='"+e.placeholder+"' name='"+e.field+"' id='"+e.field+"-"+a+"' />","email"==e.field&&(c+='<p id="email_suggestion'+a+'" class="email_suggestion"></p>')),c+="</div>"}})),t.each(e.contact_custom_fields,(function(e,a){if(a.unique_id==n&&"yes"==a.is_active){var i=W(a.is_required)?"is-required":"",s="";W(a.is_required)&&(s="<span class='required_indicate'>*</span>"),c+="<div class='chaty-contact-input'>","textblock"!=a.field_dropdown&&(c+="<label class='chaty-form-label' for='"+a.field_dropdown+"-"+e+"'>"+a.field_label+" "+s+"</label>",c+="<input type='hidden' name='custom_fields["+e+"][label_"+a.field_dropdown+"]' value='"+a.field_label+"'>",c+="<input type='hidden' name='custom_fields["+e+"][slug]' value='"+a.field_dropdown+"'>"),"text"==a.field_dropdown||"url"==a.field_dropdown||"date"==a.field_dropdown?c+="<input type='"+a.field_dropdown+"' class='chaty-input-field "+i+" field-"+a.field_dropdown+"' placeholder='"+a.placeholder+"' name='custom_fields["+e+"]["+a.field_dropdown+"]' id='"+a.field_dropdown+"-"+e+"' />":"file"==a.field_dropdown?c+="<input type='file' class='chaty-input-field "+i+" field-"+a.field_dropdown+"' name='custom_fields["+e+"]["+a.field_dropdown+"]' id='"+a.field_dropdown+"-"+e+"' accept='.jpg,.jpeg,.png,.gif,.pdf,.doc,.docx,.ppt,.pptx,.pps,.ppsx,.odt,.xls,.xlsx,.mp3,.mp4,.wav,.mpg,.avi,.mov,.wmv,.3gp,.ogv' multiple/>":"textarea"==a.field_dropdown?c+="<textarea class='chaty-textarea-field "+i+" field-"+a.field_dropdown+"' placeholder='"+a.placeholder+"' name='custom_fields["+e+"]["+a.field_dropdown+"]' id='"+a.field_dropdown+"-"+e+"' ></textarea>":"dropdown"==a.field_dropdown?(c+="<select name='custom_fields["+e+"]["+a.field_dropdown+"]' class='chaty-input-field "+i+"'>",a.dropdown_placeholder&&(c+="<option value=''>"+a.dropdown_placeholder+"</option>"),t.each(a.dropdown_option,(function(t,e){e&&(c+="<option value='"+e+"'>"+e+"</option>")})),c+="</select>"):"textblock"==a.field_dropdown?c+=a.placeholder:"number"==a.field_dropdown&&(c+="<input type='tel' class='chaty-input-field "+i+" field-"+a.field_dropdown+"' placeholder='"+a.placeholder+"' name='custom_fields["+e+"]["+a.field_dropdown+"]' id='"+a.field_dropdown+"-"+e+"' />"),c+="</div>"}}))}));W(e.enable_recaptcha)&&(L(e.v2_site_key)||(c+="<div class='chaty-contact-input'>",c+="<div class='front-google-captcha' id='front_recaptcha_"+i+"'></div>",c+="</div>"),L(e.v3_site_key)||(c+="<div class='chaty-contact-input'>",c+="<div class='front-google-captcha' id='front_recaptcha_"+i+"'></div>",c+="</div>"));c+="</div>",c+="<div class='chaty-contact-form-button'><button type='submit' id='chaty-submit-button-"+a+"' class='chaty-submit-button'>"+e.contact_form_settings.button_text+"<span class='chaty-loader'><span class='dashicons dashicons-update'></span></span></button></div>",c+="</div>",c+="<input type='hidden' name='nonce' value='"+e.widget_token+"'>",c+="<input type='hidden' name='action' value='chaty_front_form_save_data'>",c+='<input type="hidden" name="channel" value="'+e.channel_type+'">',c+='<input type="hidden" name="widget" value="'+a+'">',c+='<input type="hidden" name="ref_url" value="'+window.location.href+'">',c+='<input type="hidden" name="token" value="'+googleV3Token+'">',c+='<input type="hidden" name="page_id" value="'+chaty_settings.page_id+'">',c+='<input type="hidden" name="page_title" value="'+b()+'">';var n=t(".g-recaptcha-response").length?t(".g-recaptcha-response").val():"";c+='<input type="hidden" name="v2token" value="'+n+'">',W(e.enable_recaptcha)&&(L(e.v2_site_key)||(c+="<input type='hidden' id='v2_site_key' class='v2_site_key' value='"+e.v2_site_key+"'>"),L(e.v3_site_key)||(c+="<input type='hidden' id='v3_site_key' class='v3_site_key' value='"+e.v3_site_key+"'>"));c+="</form>",c+="</div>",c+="</div>",c+="</div>",t("body").append(c)}(e,i),e.url="javascript:;",e.target="",n+=" has-chaty-box chaty-contact-us-form";else if("Email"==e.channel_type){if(!L(e.mail_subject)){var h,l=decodeURI(e.mail_subject);l=(l=L(h=t("title").text())?l.replace(/{title}/g,""):l.replace(/{title}/g,h)).replace(/{url}/g,window.location),l=encodeURIComponent(l),e.url+="?subject="+l}}else"Viber"==e.channel_type?(""!=e.viber_url?e.url="viber://pa?chatURI="+e.value:(e.value=M(e.value,"+"),s&&!isNaN(e.value)&&navigator.userAgent.match(/(iPod|iPhone|iPad)/)&&(e.value="+"+e.value),e.url="viber://chat?number="+e.value),e.target=""):"Vkontakte"==e.channel_type&&(e.url="https://vk.me/"+t.trim(e.value));w="Link"==e.channel||"Custom_Link"==e.channel||"Custom_Link_3"==e.channel||"Custom_Link_4"==e.channel||"Custom_Link_5"==e.channel?L(e.hover_text)?e.channell:e.hover_text:e.channel;var d="";return L(e.click_event)||(d='onclick="'+e.click_event+'"',e.target="",e.url="javascript:;"),"<a href='"+e.url+"' "+d+" target='"+e.target+"' rel='nofollow noopener' aria-label='"+w+"' class='chaty-tooltip chaty-"+e.channel_type.toLowerCase()+"-channel pos-"+c+n+"' data-form='chaty-form-"+i+"-"+e.channel_type+"' data-hover='"+e.hover_text+"'>"+a+"</a>"}function C(t){return(new DOMParser).parseFromString(t,"text/html").documentElement.textContent}function T(e){var a=null;return i.length&&t.each(i,(function(t,c){c.id==e&&(a=t)})),a}function L(e){return null==e||""==e||""==t.trim(e)}function B(t){return""!=t.custom_image_url&&"null"!=t.custom_image_url?"<span class='chaty-icon channel-icon-"+t.channel_type+"'><span class='chaty-svg chaty-svg-img'><img src='"+t.custom_image_url+"' alt='"+t.hover_text+"' /></span></span>":"<span class='chaty-icon channel-icon-"+t.channel_type+"'><span class='chaty-svg'>"+t.svg_icon+"</span></span>"}function q(e){return""==e||""==t.trim(e)||null==e||"null"==e}function z(t){return"custom"==t.position?t.custom_position:t.position}function U(){g&&t(".on-chaty-exit-intent").length&&t(".on-chaty-exit-intent").each((function(){var e=t(this).data("id");t(this).removeClass("on-chaty-exit-intent"),E(e),t("#chaty-widget-"+e+" .chaty-widget").append("<div class='chaty-exit-intent'></div>"),setTimeout((function(){t(".chaty-exit-intent").addClass("animate"),setTimeout((function(){t(".chaty-exit-intent").removeClass("animate")}),2500)}),500)}))}function E(e){k(e),t(".chaty-widget-"+e).removeClass("on-chaty-delay"),t(".chaty-widget-"+e).removeClass("on-chaty-exit-intent"),t(".chaty-widget-"+e).removeClass("on-chaty-scroll"),t(".chaty.on-chaty-delay").length||(clearInterval(a),l=!1),t(".chaty.on-chaty-exit-intent").length||(g=!1),t(".chaty.on-chaty-scroll").length||(r=!1)}function D(t){for(t=t.toString();t.length<2;)t="0"+t;return t}function W(t){return"1"==t||1==t||1==t||"true"==t||"yes"==t||"on"==t}function A(t,e){if(isNaN(e)){var a=new Date(t.toLocaleString("en-US",{timeZone:e})),c=t.getTime()-a.getTime();return new Date(t.getTime()-c)}var i=new Date;if(i=i.toLocaleString("en-US",{timeZone:"UTC"}),i=new Date(i),-1!=e.indexOf("+")){var n=e.replace("+",""),s=parseInt(n),o=60*parseFloat(n%s);(o=i.getUTCMinutes()+o)>59&&(s+=parseInt(o/60),o%=60),i.setUTCHours(i.getUTCHours()+s,o)}else if(-1!=e.indexOf("-")){n=e.replace("-",""),s=parseInt(n),o=60*parseFloat(n%s);(o=i.getUTCMinutes()-o)<0&&(s-=parseInt(o/60),o%=60),i.setUTCHours(i.getUTCHours()-s,-o)}c=t.getTime()-i.getTime();return new Date(t.getTime()-c)}function P(){return n="","undefined"!=typeof Storage&&null!=window.sessionStorage.getItem("chaty_user_country_code")?n=window.sessionStorage.getItem("chaty_user_country_code"):Z("chaty_user_country_code")&&(n=V("chaty_user_country_code")),n}function H(t,e){var a=V("chatyWidget_"+t),c=[];null!=a&&""!=a&&(c=JSON.parse(a));var i=!1;if(c.length>0)for(var n=0;n<c.length;n++)c[n].k==e&&(i=!0,c[n].v=new Date);i||c.push({k:e,v:new Date}),N("chatyWidget_"+t,a=JSON.stringify(c),"7")}function Q(){console.log(t(".chaty-widget.default-open.has-bg-blur-effect").length),t(".chaty-widget.default-open.has-bg-blur-effect").length&&t(".chaty-widget.default-open.has-bg-blur-effect").each((function(){H(t(this).closest(".chaty").data("id"),"c-widget")}))}function O(t,e){var a=function(t,e){var a=V("chatyWidget_"+t),c=[];if(null!=a&&""!=a&&(c=JSON.parse(a)),c.length>0)for(var i=0;i<c.length;i++)if(c[i].k==e)return c[i].v;return null}(t,e);if(null!=a&&""!=a){a=new Date(a);var c=Math.abs(new Date-a);return Math.floor(c/864e5)>=2}return!0}function N(t,e,a){var c=new Date;c.setTime(c.getTime()+24*a*60*60*1e3);var i="expires="+c.toUTCString();document.cookie=t+"="+e+"; "+i+"; path=/; SameSite=Lax"}function V(t){t+="=";for(var e=document.cookie.split(";"),a=0;a<e.length;a++){for(var c=e[a];" "==c.charAt(0);)c=c.substring(1);if(0==c.indexOf(t))return c.substring(t.length,c.length)}return null}function Z(t){var e=V(t);return""!=e&&null!==e}t(document).ready((function(){var a=new RegExp("(googlebot/|bot|Googlebot-Mobile|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis)","i"),c=navigator.userAgent;a.test(c)&&(h=!0),s?t("body").addClass("cht-in-mobile"):t("body").addClass("cht-in-desktop"),"on"==chaty_settings.data_analytics_settings&&"off"!=chaty_settings.data_analytics_settings||(h=!0),"undefined"==typeof chaty_settings||0==chaty_settings.chaty_widgets.length?console.log("Chaty settings doesn't exists"):(i=chaty_settings.chaty_widgets,function(){var e=!1;i.length&&t.each(i,(function(t,a){W(a.triggers.has_countries)&&!L(a.triggers.countries)&&a.triggers.countries.length&&(e=!0)}));e?""!=(n=P())?_():(a="https://www.cloudflare.com/cdn-cgi/trace",t.get(a,(function(t){var e,a=t.match("loc=(.*)");a.length>1&&(a=a[1])&&(""==(a=a.toUpperCase())&&(a="-"),e=a,"undefined"!=typeof Storage?null==window.sessionStorage.getItem("chaty_user_country_code")&&window.sessionStorage.setItem("chaty_user_country_code",e):Z("chaty_user_country_code")||N("chaty_user_country_code",e,365),_())}))):_();var a}()),t(window).height()>t(window).width()?t("body").addClass("cht-portrait").removeClass("cht-landscape"):t("body").addClass("cht-landscape").removeClass("cht-portrait"),t(document).on("click","html, body",(function(e){t(".chaty-popup-whatsapp-form.active").length&&t(".chaty-popup-whatsapp-form.active").each((function(){var e=t(this).data("widget"),a=O(e,"c-Whatsapp");L(e)&&0!=e||!a||H(e,"c-Whatsapp")})),t(".form-open").removeClass("form-open"),t(".chaty-outer-forms").removeClass("active"),t(".chaty .chaty-widget.chaty-no-close-button:not(.has-single)").addClass("chaty-open"),t(".chaty .chaty-widget").hasClass("chaty-open")&&(t(".chaty .chaty-widget:not(.chaty-no-close-button)").removeClass("chaty-open"),t("body").removeClass("add-bg-blur-effect")),t("body").removeClass("add-bg-blur-effect"),N("hide-bg-blur-effect",!0,365),Q()})),t(document).on("click",".chaty, .chaty-outer-forms",(function(t){t.stopPropagation()})),t(document).on("click",".chaty.form-open .chaty-i-trigger.single-channel a",(function(e){t("body").removeClass("add-bg-blur-effect")})),t(document).on("click",".chaty.form-open .chaty-i-trigger.single-channel .chaty-cta-close",(function(e){t("body").removeClass("add-bg-blur-effect")})),t(document).on("click",".chaty-close-view-list",(function(){t(this).closest(".chaty").find(".chaty-widget").removeClass("chaty-open"),t("body").removeClass("add-bg-blur-effect"),N("hide-bg-blur-effect",!0,365),Q()})),t(document).on("submit",".whatsapp-chaty-form",(function(){if(t(this).hasClass("form-google-analytics")){var e="Whatsapp";if(window.hasOwnProperty("gtag")&>ag("event","chaty_"+e,{eventCategory:"chaty_"+e,event_action:"chaty_"+e,method:"chaty_"+e}),window.hasOwnProperty("ga")){var a=window.ga.getAll()[0];a&&a.send("event","click",{eventCategory:"chaty_"+e,eventAction:"chaty_"+e,method:"chaty_"+e})}}var c=t(this).data("widget"),i=t(this).data("channel"),n=O(c,"c-"+i);if((!L(c)||0==c)&&n){H(c,"c-"+i);var o=t("#chaty-widget-"+c).data("nonce");h||t.ajax({url:chaty_settings.ajax_url,data:{widgetId:c,userId:c,isMobile:s,channel:i,nonce:o,action:"update_chaty_channel_click"},dataType:"json",method:"post"})}t("#chaty-widget-"+c).length&&(t("#chaty-widget-"+c).removeClass("form-open"),t(this).closest(".chaty-outer-forms").removeClass("active"),t("#chaty-widget-"+c).find(".chaty-widget").hasClass("cssas-no-close-button")&&t("#chaty-widget-"+c).find(".chaty-widget:not(.has-single)").addClass("chaty-open")),t("body").hasClass("add-bg-blur-effect")&&(t("body").removeClass("add-bg-blur-effect"),Q())})),t(document).on("click",".chaty-close-button, .chaty-close-agent-list, .whatsapp-form-close-btn",(function(e){e.preventDefault(),e.stopPropagation();var a=t(this).closest(".chaty-outer-forms").data("widget");if(!L(a)||0==a){if(t("#chaty-widget-"+a).length&&(t("#chaty-widget-"+a).removeClass("form-open"),t(this).closest(".chaty-outer-forms").removeClass("active"),t("#chaty-widget-"+a).find(".chaty-widget").hasClass("chaty-no-close-button")&&t("#chaty-widget-"+a).find(".chaty-widget:not(.has-single)").addClass("chaty-open")),t(this).closest(".chaty-whatsapp-btn-form").length){var c=t(this).closest(".chaty-outer-forms").data("channel");if(!L(c)){var i=O(a,"c-"+c);i&&H(a,"c-"+c)}O(a,"v-widget")&&k(a)}t(this).hasClass("whatsapp-form-close-btn")&&(i=O(a,"c-Whatsapp"),L(a)&&0!=a||!i||H(a,"c-Whatsapp"))}t("body").removeClass("add-bg-blur-effect")})),t(document).on("keypress",'.chaty-contact-input input[type="tel"]',(function(e){var a=e.which?e.which:e.keyCode;return 43==a&&""==t(this).val()||a>=48&&a<=57})),t(document).on("change",'.chaty-contact-input input[type="tel"]',(function(){var e=new RegExp(/^(\+)?\d*$/),a=t(this).val();e.test(a)||t(this).val("")})),t(document).on("click","a.chaty-qr-code-form",(function(e){e.preventDefault();var a=t(this).data("form");if(!L(a)&&t("#"+a).length){var c=t(this).html();t("#"+a).hasClass("active")?(t(this).closest(".chaty").find(".chaty-widget:not(.has-single)").addClass("chaty-open"),t(this).closest(".chaty").removeClass("form-open"),t("#"+a).removeClass("active"),t("body").removeClass("add-bg-blur-effect")):(t(this).closest(".chaty").find(".chaty-widget").removeClass("chaty-open"),t(this).closest(".chaty").addClass("form-open"),t("#"+a).addClass("active"),c=t(this).closest(".chaty").find(".chaty-widget .chaty-cta-close").find("button").html(),t(this).closest(".chaty").find(".open-chaty-channel").html(c))}})),t(document).on("click","a.chaty-contact-us-form",(function(e){e.preventDefault();var a=t(this).data("form");L(a)||t("#"+a).length&&(""!=googleV3Token&&(googleV3Token="",refreshG3Token()),t("#"+a).hasClass("active")?(t(this).closest(".chaty").find(".chaty-widget:not(.has-single)").addClass("chaty-open"),t(this).closest(".chaty").removeClass("form-open"),t("#"+a).removeClass("active"),t("body").removeClass("add-bg-blur-effect")):(t(this).closest(".chaty").find(".chaty-widget").removeClass("chaty-open"),t(this).closest(".chaty").addClass("form-open"),t("#"+a).addClass("active"),t("#"+a).find(".chaty-ajax-success-message").remove(),t("#"+a).find(".chaty-ajax-error-message").remove(),t("#"+a).find(".has-chaty-error").removeClass("has-chaty-error"),buttonHtml=t(this).closest(".chaty").find(".chaty-widget .chaty-cta-close").find("button").html(),t(this).closest(".chaty").find(".open-chaty-channel").html(buttonHtml)))})),t(document).on("click","a.chaty-whatsapp-btn-form",(function(e){e.preventDefault();var a=t(this).data("form");if(!L(a)&&t("#"+a).length){if(t("#"+a).hasClass("active"))t(this).closest(".chaty").find(".chaty-widget:not(.has-single)").addClass("chaty-open"),t(this).closest(".chaty").removeClass("form-open"),t("#"+a).removeClass("active"),t("body").removeClass("add-bg-blur-effect"),setTimeout((function(){t("body").removeClass("add-bg-blur-effect")}),100);else{t(this).closest(".chaty").find(".chaty-widget").removeClass("chaty-open"),t(this).closest(".chaty").addClass("form-open"),t("#"+a).addClass("active");var c=t(this).closest(".chaty").find(".chaty-widget .chaty-cta-close").find("button").html();t(this).closest(".chaty").find(".chaty-widget").find(".open-chaty-channel").html(c)}setTimeout((function(){t(".chaty-whatsapp-btn-form.active .chaty-whatsapp-input").focus()}),100)}})),t(document).on("click",".chaty-channel.chaty-agent-button",(function(e){e.preventDefault();var a=t(this).data("form");if(!L(a)&&t("#"+a).length)if(t(this).closest(".chaty").find(".chaty-widget").hasClass("has-single"))t(this).closest(".chaty").hasClass("form-open")?(t(this).closest(".chaty").find(".chaty-widget:not(.has-single)").addClass("chaty-open"),t(this).closest(".chaty").removeClass("form-open"),t("#"+a).removeClass("active"),t("body").removeClass("add-bg-blur-effect")):(c=t(this).closest(".chaty").find(".chaty-widget .chaty-cta-close").find("button").html(),t("#"+a).addClass("is-active"),t(this).closest(".chaty").find(".chaty-widget").removeClass("chaty-open"),t(this).closest(".chaty").addClass("form-open"),t("#"+a).addClass("active"),t(this).closest(".chaty").find(".open-chaty-channel").html(c));else{var c=t(this).html();t("#"+a).addClass("is-active"),t(this).closest(".chaty").find(".chaty-widget").removeClass("chaty-open"),t(this).closest(".chaty").addClass("form-open"),t("#"+a).addClass("active"),c=t(this).closest(".chaty").find(".chaty-widget .chaty-cta-close").find("button").html(),t(this).closest(".chaty").find(".open-chaty-channel").html(c)}})),t(document).on("click",".chaty-channel a.has-gae",(function(a){var c=t(this).closest(".chaty-channel").data("channel");if(c!==e&&""!=c&&null!=c&&(window.hasOwnProperty("gtag")&>ag("event","chaty_"+c,{eventCategory:"chaty_"+c,event_action:"chaty_"+c,method:"chaty_"+c}),window.hasOwnProperty("ga"))){var i=window.ga.getAll()[0];i&&i.send("event","click",{eventCategory:"chaty_"+c,eventAction:"chaty_"+c,method:"chaty_"+c})}})),t(document).on("mouseover",".chaty-widget.has-single .chaty-channel a.has-on-hover[data-hover]",(function(){t(this).find(".on-hover-text").html(t(this).data("hover"))})).on("mouseleave",".chaty-widget.has-single .chaty-channel a.has-on-hover[data-text]",(function(){t(this).find(".on-hover-text").html(t(this).data("text"))})),t(document).on("submit",".whatsapp-chaty-form.has-form-gae",(function(){var a=t(this).data("widget"),c=t("#Whatsapp-"+a+"-channel").data("channel");if(c!==e&&""!=c&&null!=c&&(window.hasOwnProperty("gtag")&>ag("event","chaty_whatsapp_redirect",{eventCategory:"chaty_whatsapp_redirect",event_action:"chaty_whatsapp_redirect",method:"chaty_whatsapp_redirect"}),window.hasOwnProperty("ga"))){var i=window.ga.getAll()[0];i&&i.send("event","click",{eventCategory:"chaty_whatsapp_redirect",eventAction:"chaty_whatsapp_redirect",method:"chaty_whatsapp_redirect"})}})),t(document).on("click",".chaty-i-trigger:not(.single-channel)",(function(){t(this).closest(".chaty").hasClass("form-open")?(t(this).closest(".chaty").removeClass("form-open"),t(this).closest(".chaty-widget:not(.has-single)").addClass("chaty-open")):t(this).closest(".chaty-widget").toggleClass("chaty-open"),t(".chaty-outer-forms.active").each((function(){t(this).removeClass("active");var e=t(this).data("widget");t("#chaty-widget-"+e).removeClass("form-open")})),t(this).closest(".chaty").find(".chaty-widget").hasClass("chaty-no-close-button")&&t(this).closest(".chaty").find(".chaty-widget:not(.has-single)").addClass("chaty-open")})),t(document).on("click",".chaty-i-trigger.single-channel .chaty-cta-close",(function(){if(t(this).closest(".chaty").hasClass("form-open")){t(this).closest(".chaty").removeClass("form-open");var e=t(this).closest(".chaty").data("id");t("#chaty-form-"+e+"-Whatsapp").length&&t("#chaty-form-"+e+"-Whatsapp").hasClass("active")&&(clickStatus=O(e,"c-Whatsapp"),L(e)&&0!=e||!clickStatus||H(e,"c-Whatsapp"))}t(".chaty-outer-forms.active").each((function(){t(this).removeClass("active");var e=t(this).data("widget");t("#chaty-widget-"+e).removeClass("form-open")}))})),s||t(document).on("mouseover","body:not(.chaty-in-mobile) .chaty.open-on-hover .chaty-i-trigger:not(.single-channel)",(function(){t(this).closest(".chaty-widget").hasClass("chaty-open")||t(this).closest(".chaty-widget").hasClass("on-chaty-widget")||(t(this).closest(".chaty-widget").addClass("on-chaty-widget"),t(this).find(".chaty-cta-main").trigger("click"))})).on("mouseleave","body:not(.chaty-in-mobile) .chaty.open-on-hover .chaty-i-trigger:not(.single-channel)",(function(){t(this).closest(".chaty-widget").hasClass("chaty-open")||t(this).closest(".chaty-widget").removeClass("on-chaty-widget")})),t(document).on("click",".chaty-channel.single a",(function(){var e=t(this).closest(".chaty").data("id");t(this).closest(".chaty").hasClass("first_click")&&(H(e,"c-widget"),t(this).closest(".chaty-channel").removeClass("active")),v(e)})),t(document).on("click",".chaty-channel",(function(e){var a,c,i=[],n=0,o=t(this).closest(".chaty").data("id");if(void 0!==o&&void 0!==t("#chaty-widget-"+o).data("identifier")){var l=t("#chaty-widget-"+o).data("user");if(v(o),t(this).hasClass("chaty-cta-main")||t(this).hasClass("chaty-cta-close")){if(t("#chaty-form-"+o+"-Whatsapp").length&&t("#chaty-form-"+o+"-Whatsapp").hasClass("active")&&(a=O(o,"c-Whatsapp"),L(o)&&0!=o||!a||H(o,"c-Whatsapp")),a=O(o,"c-widget"),t("#chaty-widget-"+o).find(".ch-pending-msg").remove(),a&&(H(o,"c-widget"),t(this).hasClass("chaty-cta-main"))){i=[],t("#chaty-widget-"+o).hasClass("chaty-has-chat-view")?t(".chaty-chat-view.chaty-chat-view-"+o+" .chaty-view-channels").find(".chaty-channel").each((function(){c=t(this).data("channel"),(a=O(o,"v-"+c))&&void 0!==c&&(H(o,"v-"+c),i.push(c))})):t("#chaty-widget-"+o+" .chaty-channel-list").find(".chaty-channel").each((function(){c=t(this).data("channel"),(a=O(o,"v-"+c))&&void 0!==c&&(H(o,"v-"+c),i.push(c))}));var d=t("#chaty-widget-"+o).data("nonce");h||t.ajax({url:chaty_settings.ajax_url,data:{widgetId:o,userId:l,isMobile:s,channels:i,isSingle:0,nonce:d,action:"update_chaty_widget_click"},dataType:"json",method:"post"})}t("#chaty-widget-"+o).hasClass("first_click")&&(t("#chaty-widget-"+o+" .chaty-cta-main").removeClass("active"),t("#chaty-widget-"+o+" .chaty-cta-main").removeClass("chaty-tooltip"))}else if(t(this).hasClass("single")){t("#chaty-widget-"+o).find(".ch-pending-msg").remove(),a=O(o,"c-widget");d=t("#chaty-widget-"+o).data("nonce");a&&(H(o,"c-widget"),n=0,i=[],c=t(this).data("channel"),(a=O(o,"c-"+c))&&(i.push(c),n=1),h||t.ajax({url:chaty_settings.ajax_url,data:{widgetId:o,userId:l,isMobile:s,channels:i,isSingle:n,nonce:d,action:"update_chaty_widget_click"},dataType:"json",method:"post"})),t("#chaty-widget-"+o).hasClass("first_click")&&(t("#chaty-widget-"+o+" .chaty-tooltip").removeClass("chaty-tooltip"),t("#chaty-widget-"+o+" .single-channel a").addClass("chaty-tooltip"))}else if(t(this).hasClass("chaty-channel")&&(c=t(this).data("channel"),a=O(o,"c-"+c))){H(o,"c-"+c);d=t("#chaty-widget-"+o).data("nonce");h||t.ajax({url:chaty_settings.ajax_url,data:{widgetId:o,userId:l,isMobile:s,channel:c,nonce:d,action:"update_chaty_channel_click"},dataType:"json",method:"post"})}}})),t(document).on("submit",".chaty-ajax-contact-form",(function(e){e.preventDefault();var a=0;if(t(this).find(".has-chaty-error").each((function(){t(this).removeClass("has-chaty-error")})),t(this).find(".chaty-error-msg").remove(),t(this).find(".chaty-ajax-error-message").remove(),t(this).find(".chaty-ajax-success-message").remove(),t(this).find(".is-required").each((function(){""==jQuery.trim(t(this).val())&&(a++,t(this).addClass("has-chaty-error"),t(this).hasClass("chaty-text-block")&&t(this).closest(".chaty-contact-input").find(".mce-tinymce").addClass("mce-error"))})),0==a){var c=t(this),i=c[0],n=new FormData(i);t(".chaty-submit-button").attr("disabled",!0),t("#chaty-submit-button-"+c.data("index")+" .chaty-loader").addClass("active"),jQuery.ajax({url:chaty_settings.ajax_url,enctype:"multipart/form-data",data:n,type:"post",dataType:"json",cache:!1,contentType:!1,processData:!1,success:function(e){if(""!=googleV3Token&&(googleV3Token="",refreshG3Token()),t(".chaty-ajax-error-message").remove(),t(".chaty-ajax-success-message").remove(),t(".chaty-submit-button").attr("disabled",!1),1==e.status){if(t("#chaty-submit-button-"+c.data("index")+" .chaty-loader").removeClass("active"),t(".chaty-contact-inputs").append("<div class='chaty-ajax-success-message'>"+e.message+"</div>"),t(".chaty-ajax-contact-form").find(".chaty-contact-input .mce-tinymce").removeClass("mce-error"),t(".field-name, .field-email, .field-message, .field-phone").val(""),t(".chaty-ajax-contact-form").find(".chaty-input-field").val(""),t(".chaty-ajax-contact-form").find(".chaty-textarea-field").val(""),t("#"+c.find(".chaty-text-block").attr("id")+"_ifr").contents().find("body").html(""),"yes"==e.redirect_action)if("yes"==e.link_in_new_tab)null==window.open(e.redirect_link,"_blank")&&window.open(e.redirect_link);else window.location=e.redirect_link;"yes"==e.close_form_after&&setTimeout((function(){if(t(".chaty-outer-forms.active").length){var e=t(".chaty-outer-forms.active").data("widget");L(e)&&0!=e||t("#chaty-widget-"+e).length&&(t("#chaty-widget-"+e).removeClass("form-open"),t("body").removeClass("add-bg-blur-effect"),t(".chaty-outer-forms.active").removeClass("active"),t("#chaty-widget-"+e).find(".chaty-widget").hasClass("chaty-no-close-button")&&t("#chaty-widget-"+e).find(".chaty-widget:not(.has-single)").addClass("chaty-open"))}}),1e3*parseInt(e.close_form_after_seconds))}else if(1==e.error){if(e.errors.length)for(var a=0;a<e.errors.length;a++)t("."+e.errors[a].field).addClass("has-chaty-error"),t("."+e.errors[a].field).after("<span class='chaty-error-msg'>"+e.errors[a].message+"</span>");t(".chaty-loader").removeClass("active")}else 0==e.status&&(t(".chaty-contact-inputs").append("<div class='chaty-ajax-error-message'>"+e.message+"</div>"),t(".chaty-loader").removeClass("active"));t(".email_suggestion").html("")}})}else t(".has-chaty-error:first").focus();return!1})),t(document).on("blur",".chaty-contact-form-box .field-email",(function(e){var a=t(this).closest(".chaty-contact-form-box").data("widget");t(this).mailcheck({suggested:function(e,c){t("#email_suggestion"+a).html("Did you mean <b><i>"+c.full+"</b></i>?")},empty:function(e){t("#email_suggestion"+a).html("")}})})),t(".chaty-contact-form-box .field-email").length&&t(".chaty-contact-form-box .field-email").emailautocomplete({domains:["protonmail.com","yahoo.com","gmail.com"]}),t(document).on("click",".email_suggestion i",(function(){t(this).closest(".chaty-contact-form-box").find(".field-email").val(t(this).text()).focus(),jQuery(this).closest(".email_suggestion").html("")})),t(document).on("click",".chaty-widget.has-single .chaty-i-trigger .chaty-channel:not(.chaty-agent-button).Phone-channel",(function(){window.location=t(this).find("a").prop("href")})),t(document).on("click",".chaty-widget.has-single .chaty-i-trigger .chaty-channel:not(.chaty-agent-button).Phone-channel a, .picmo__popupContainer",(function(t){t.stopPropagation(),t.stopImmediatePropagation()})),t(document).on("click",".chaty-wp-emoji-input",(function(){if(t(".picmo__popupContainer").length);else{const{createPopup:e}=window.picmoPopup,a=document.querySelector("#chaty_whatsapp_input"),c=e({},{referenceElement:a,triggerElement:a,position:"top",hideOnEmojiSelect:!1});c.toggle(),c.addEventListener("emoji:select",(e=>{t(".chaty-whatsapp-input").val(t(".chaty-whatsapp-input").val()+e.emoji)}))}})),t(document).on("click","#chaty_whatsapp_input",(function(){t(".picmo__popupContainer").length&&t(".picmo__popupContainer").remove()}))})),t(window).resize((function(){t(window).height()>t(window).width()?t("body").addClass("cht-portrait").removeClass("cht-landscape"):t("body").addClass("cht-landscape").removeClass("cht-portrait")}))}));var googleV3Token="";function onloadCallbackChatyV3(){var t=jQuery(".v3_site_key").val();t&&""==googleV3Token&&grecaptcha.ready((function(){grecaptcha.execute(t,{action:"contact_form"}).then((function(t){googleV3Token=t}))}))}function refreshG3Token(){if("function"==typeof grecaptcha||"object"==typeof grecaptcha){var t=jQuery(".v3_site_key").val();t&&""==googleV3Token&&grecaptcha.ready((function(){grecaptcha.execute(t,{action:"contact_form"}).then((function(t){googleV3Token=t}))}))}}function onloadChatyCallback(){jQuery(".v2_site_key").length&&""!=jQuery(".v2_site_key").val()&&jQuery(".front-google-captcha").length&&jQuery(".front-google-captcha:not(.loaded)").each((function(){var t=jQuery(this).attr("id");jQuery(this).addClass("loaded"),document.getElementById(t)&&grecaptcha.render(t,{sitekey:jQuery(".v2_site_key").val()})}))};/*! jQuery UI - v1.13.3 - 2024-04-26 * https://jqueryui.com * Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js * Copyright jQuery Foundation and other contributors; Licensed MIT */ !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.3", /*! * jQuery UI :data 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ 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])}}), /*! * jQuery UI Disable Selection 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ 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")}}), /*! * jQuery UI Focusable 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ 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)}, /*! * jQuery UI Form Reset Mixin 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ 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()), /*! * jQuery UI Support for jQuery core 1.8.x and newer 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license * */ 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})}}), /*! * jQuery UI Keycode 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ 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}, /*! * jQuery UI Labels 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ 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)}}, /*! * jQuery UI Position 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license * * https://api.jqueryui.com/position/ */ 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")}, /*! * jQuery UI Scroll Parent 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ 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)}, /*! * jQuery UI Tabbable 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ 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)}}), /*! * jQuery UI Unique ID 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ 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")})}}); /*! * jQuery UI Widget 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ 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()})}})});var qodefQiAddonsGlobal={"vars":{"adminBarHeight":0,"iconArrowLeft":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 34.2 32.3\" xml:space=\"preserve\" style=\"stroke-width: 2;\"><line x1=\"0.5\" y1=\"16\" x2=\"33.5\" y2=\"16\"\/><line x1=\"0.3\" y1=\"16.5\" x2=\"16.2\" y2=\"0.7\"\/><line x1=\"0\" y1=\"15.4\" x2=\"16.2\" y2=\"31.6\"\/><\/svg>","iconArrowRight":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 34.2 32.3\" xml:space=\"preserve\" style=\"stroke-width: 2;\"><line x1=\"0\" y1=\"16\" x2=\"33\" y2=\"16\"\/><line x1=\"17.3\" y1=\"0.7\" x2=\"33.2\" y2=\"16.5\"\/><line x1=\"17.3\" y1=\"31.6\" x2=\"33.5\" y2=\"15.4\"\/><\/svg>","iconClose":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 9.1 9.1\" xml:space=\"preserve\"><g><path d=\"M8.5,0L9,0.6L5.1,4.5L9,8.5L8.5,9L4.5,5.1L0.6,9L0,8.5L4,4.5L0,0.6L0.6,0L4.5,4L8.5,0z\"\/><\/g><\/svg>"}};!function(d){"use strict";window.qodefAddonsCore={},qodefAddonsCore.shortcodes={},qodefAddonsCore.body=d("body"),qodefAddonsCore.html=d("html"),qodefAddonsCore.windowWidth=d(window).width(),qodefAddonsCore.windowHeight=d(window).height(),qodefAddonsCore.scroll=0,d(document).ready(function(){qodefAddonsCore.scroll=d(window).scrollTop(),i.init(),P.init(),e.init()}),d(window).resize(function(){qodefAddonsCore.windowWidth=d(window).width(),qodefAddonsCore.windowHeight=d(window).height()}),d(window).scroll(function(){qodefAddonsCore.scroll=d(window).scrollTop()}),d(window).on("load",function(){o.init()});var P={init:function(e){this.holder=d(".qodef-qi-swiper-container"),d.extend(this.holder,e),this.holder.length&&this.holder.each(function(){P.initSlider(d(this))})},initSlider:function(e){var o,t=P.getOptions(e),n=P.getEvents(e,t);elementorFrontend.config.experimentalFeatures.e_optimized_assets_loading?o=setInterval(function(){"undefined"!==elementorFrontend.utils.swiper&&(new elementorFrontend.utils.swiper(e[0],Object.assign(t,n)).then(e=>{}),clearInterval(o))},200):new Swiper(e[0],Object.assign(t,n)),elementorFrontend.isEditMode()&&elementor.channels.editor.on("change",function(){e[0].swiper.update()})},getOptions:function(e){var o=void 0!==e.data("options")?e.data("options"):{},t=void 0!==o.direction&&""!==o.direction?o.direction:"horizontal",n=void 0!==o.partialValue&&""!==o.partialValue?parseFloat(o.partialValue):0,i=void 0!==o.disablePartialValue&&""!==o.disablePartialValue?parseInt(o.disablePartialValue):"never",d=void 0!==o.spaceBetween&&""!==o.spaceBetween?o.spaceBetween:0,r=void 0!==o.spaceBetweenTablet&&""!==o.spaceBetweenTablet?o.spaceBetweenTablet:0,a=void 0!==o.spaceBetweenMobile&&""!==o.spaceBetweenMobile?o.spaceBetweenMobile:0,s=void 0!==o.slidesPerView&&""!==o.slidesPerView?"auto"===o.slidesPerView?"auto":parseInt(o.slidesPerView)+n:1+n,l=void 0!==o.centeredSlides&&""!==o.centeredSlides&&o.centeredSlides,f=void 0!==o.sliderScroll&&""!==o.sliderScroll&&o.sliderScroll,c=void 0!==o.effect&&""!==o.effect?o.effect:"slide",h=void 0===o.loop||""===o.loop||o.loop,u=void 0===o.autoplay||""===o.autoplay||o.autoplay,q=void 0!==o.speed&&""!==o.speed?parseInt(o.speed,10):5e3,_=void 0!==o.speedAnimation&&""!==o.speedAnimation?parseInt(o.speedAnimation,10):800,m=void 0!==o.customStages&&""!==o.customStages&&o.customStages,p=void 0!==o.outsideNavigation&&"yes"===o.outsideNavigation,g=p?".swiper-button-next-"+o.unique:e.find(".swiper-button-next").length?e.find(".swiper-button-next")[0]:null,p=p?".swiper-button-prev-"+o.unique:e.find(".swiper-button-prev").length?e.find(".swiper-button-prev")[0]:null,v=void 0!==o.outsidePagination&&"yes"===o.outsidePagination?".swiper-pagination-"+o.unique:e.find(".swiper-pagination").length?e.find(".swiper-pagination")[0]:null,w="horizontal"===o.direction,b=void 0!==o.parallax&&"yes"===o.parallax,q=(!1!==u&&5e3!==q?u={delay:q,disableOnInteraction:!1}:!1!==u&&(u={disableOnInteraction:!1}),void 0!==o.slidesPerView1680&&""!==o.slidesPerView1680?parseInt(o.slidesPerView1680,10)+n:"auto"===o.slidesPerView?"auto":5+n),C=void 0!==o.slidesPerView1440&&""!==o.slidesPerView1440?parseInt(o.slidesPerView1440,10)+n:"auto"===o.slidesPerView?"auto":5+n,y=void 0!==o.slidesPerView1366&&""!==o.slidesPerView1366?parseInt(o.slidesPerView1366,10)+n:"auto"===o.slidesPerView?"auto":4+n,A=void 0!==o.slidesPerView1024&&""!==o.slidesPerView1024?parseInt(o.slidesPerView1024,10)+n:"auto"===o.slidesPerView?"auto":3+n,I=void 0!==o.slidesPerView768&&""!==o.slidesPerView768?parseInt(o.slidesPerView768,10)+n:"auto"===o.slidesPerView?"auto":2+n,x=void 0!==o.slidesPerView680&&""!==o.slidesPerView680?parseInt(o.slidesPerView680,10)+n:"auto"===o.slidesPerView?"auto":1+n,S=void 0!==o.slidesPerView480&&""!==o.slidesPerView480?parseInt(o.slidesPerView480,10)+n:"auto"===o.slidesPerView?"auto":1+n;if(m||(s<2?I=A=y=C=q=s:s<3?A=y=C=q=s:s<4?y=C=q=s:s<5&&(C=q=s)),"never"!==i)switch(i){case 1024:A=Math.floor(A);case 768:I=Math.floor(I);case 680:x=Math.floor(x);case 480:S=Math.floor(S)}return Object.assign({direction:t,slidesPerView:s,centeredSlides:l,sliderScroll:f,loopedSlides:"12",spaceBetween:d,effect:c,autoplay:u,loop:h,speed:_,navigation:{nextEl:g,prevEl:p},pagination:{el:v,clickable:!0},grabCursor:w,parallax:b,breakpoints:{0:{slidesPerView:S,spaceBetween:a},481:{slidesPerView:x,spaceBetween:a},681:{slidesPerView:I,spaceBetween:r},769:{slidesPerView:A,spaceBetween:r},1025:{slidesPerView:y},1367:{slidesPerView:C},1441:{slidesPerView:q},1681:{slidesPerView:s}}},P.getSliderDatas(e))},getSliderDatas:function(e){var o,t=e.data(),n={};for(o in t)t.hasOwnProperty(o)&&"options"!==o&&void 0!==t[o]&&""!==t[o]&&(n[o]=t[o]);return n},getEvents:function(n,i){return{on:{beforeInit:function(){var e,o,t;"vertical"===i.direction&&(o=e=0,(t=n.find(".qodef-e")).length&&t.each(function(){o=d(this).outerHeight(),e<o&&(e=o)}),1===i.slidesPerView)&&(n.css("height",e),t.css("height",e))},init:function(){var o;n.addClass("qodef-swiper--initialized"),i.sliderScroll&&(o=!1,n.off().on("wheel",function(e){e.preventDefault(),o||(o=!0,0<e.originalEvent.deltaY?n[0].swiper.slideNext():n[0].swiper.slidePrev(),setTimeout(function(){o=!1},1e3))})),qodefAddonsCore.body.trigger("qodefAddons_trigger_after_swiper_init",[n,i])}}}}},e=(qodefAddonsCore.qodefSwiper=P,"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");e=Object(e);for(var o=1;o<arguments.length;o++){var t=arguments[o];if(null!==t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}),{init:function(){if(this.holder=d(".qodef-qi-fslightbox-popup"),this.holder.length){refreshFsLightbox(),"undefined"!=typeof qodefGlobal&&(qodefQiAddonsGlobal.vars.iconArrowLeft=(void 0!==qodefGlobal.vars.iconArrowLeft?qodefGlobal:qodefQiAddonsGlobal).vars.iconArrowLeft,qodefQiAddonsGlobal.vars.iconArrowRight=(void 0!==qodefGlobal.vars.iconArrowRight?qodefGlobal:qodefQiAddonsGlobal).vars.iconArrowRight,qodefQiAddonsGlobal.vars.iconClose=(void 0!==qodefGlobal.vars.iconClose?qodefGlobal:qodefQiAddonsGlobal).vars.iconClose);for(const n in fsLightboxInstances)fsLightboxInstances[n].props.onInit=function(){var e=fsLightboxInstances[n].elements.container,o=e.querySelectorAll(".fslightbox-slide-btn-container-previous > .fslightbox-slide-btn"),t=e.querySelectorAll(".fslightbox-slide-btn-container-next > .fslightbox-slide-btn"),e=e.querySelectorAll('[title="Close"]');o[0].innerHTML=qodefQiAddonsGlobal.vars.iconArrowLeft,t[0].innerHTML=qodefQiAddonsGlobal.vars.iconArrowRight,e[0].innerHTML=qodefQiAddonsGlobal.vars.iconClose}}}}),o=(qodefAddonsCore.qodefLightboxPopup=e,{init:function(){this.holder=d(".qodef-qi--has-appear:not(.qodef-qi--appeared)"),this.holder.length&&this.holder.each(function(){var e,o=d(this),t=(e=10,t=400,Math.floor(Math.random()*(t-e)+e)),n=d(this).attr("data-appear-delay");n?(n="random"===n?t:n,qodefAddonsCore.qodefIsInViewport.check(o,function(){setTimeout(function(){o.addClass("qodef-qi--appeared")},n)})):qodefAddonsCore.qodefIsInViewport.check(o,function(){o.addClass("qodef-qi--appeared")})})}}),t=(qodefAddonsCore.qodefAppear=o,{check:function(o,t,n){var e,i;o.length&&(e=void 0!==o.data("viewport-offset")?o.data("viewport-offset"):.15,(i=new IntersectionObserver(function(e){!0===e[0].isIntersecting&&(t.call(o),!1!==n)&&i.disconnect()},{threshold:[e]})).observe(o[0]))}}),t=(qodefAddonsCore.qodefIsInViewport=t,{check:function(e,o){if(e.length){var t=e.find("img");if(t.length)for(var n=0,i=0;i<t.length;i++){var d,r=t[i];r.complete?++n===t.length&&o.call(e):((d=new Image).addEventListener("load",function(){if(++n===t.length)return o.call(e),!1},!1),d.src=r.src)}else o.call(e)}}}),n=(qodefAddonsCore.qodefWaitForImages=t,{disable:function(){window.addEventListener&&window.addEventListener("wheel",n.preventDefaultValue,{passive:!1}),document.onkeydown=n.keyDown},enable:function(){window.removeEventListener&&window.removeEventListener("wheel",n.preventDefaultValue,{passive:!1}),window.onmousewheel=document.onmousewheel=document.onkeydown=null},preventDefaultValue:function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1},keyDown:function(e){for(var o=[37,38,39,40],t=o.length;t--;)if(e.keyCode===o[t])return void n.preventDefaultValue(e)}}),t=(qodefAddonsCore.qodefScroll=n,{init:function(o,t){var n=t.find(".qodef-qi-swiper-container"),i=setInterval(function(){var e=!0;n.each(function(){void 0===d(this)[0].swiper&&(e=!1)}),e&&(o(t),clearInterval(i))},200)}}),i=(qodefAddonsCore.qodefSwiperElementorCheck=t,{init:function(){i.iOSCheck()&&(qodefAddonsCore.body.removeClass("qodef-qi--touch qodef-qi--no-touch"),qodefAddonsCore.body.addClass("qodef-qi--touch"))},iOSCheck:function(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}});qodefAddonsCore.qodefIOSTouchClass=i}(jQuery),function(i){"use strict";i(document).ready(function(){d.init()}),i(window).resize(function(){d.reInit()}),i(window).on("elementor/frontend/init",function(){elementorFrontend.isEditMode()&&elementor.channels.editor.on("change",function(){d.reInit()})});var d={init:function(e){this.holder=i(".qodef-layout--qi-masonry"),i.extend(this.holder,e),this.holder.length&&this.holder.each(function(){d.createMasonry(i(this))})},reInit:function(e){this.holder=i(".qodef-layout--qi-masonry"),i.extend(this.holder,e),this.holder.length&&this.holder.each(function(){var e=i(this).find(".qodef-grid-inner"),o=e.find(".qodef-grid-item"),t=e.find(".qodef-qi-grid-masonry-sizer").width(),n=parseInt(e.css("column-gap"));o.css("width",t),"function"==typeof e.isotope&&void 0!==e.data("isotope")&&(i(this).hasClass("qodef-items--fixed")&&d.setFixedImageProportionSize(e,o,t,n),e.isotope({layoutMode:"packery",itemSelector:".qodef-grid-item",percentPosition:!0,packery:{columnWidth:".qodef-qi-grid-masonry-sizer",gutter:n}}))})},createMasonry:function(e){var o=e.find(".qodef-grid-inner"),t=o.find(".qodef-grid-item"),n=o.find(".qodef-qi-grid-masonry-sizer").width(),i=parseInt(o.css("column-gap"));t.css("width",n),qodefAddonsCore.qodefWaitForImages.check(o,function(){"function"!=typeof o.isotope||o.hasClass("qodef--masonry-init")||(e.hasClass("qodef-items--fixed")&&d.setFixedImageProportionSize(o,t,n,i),o.isotope({layoutMode:"packery",itemSelector:".qodef-grid-item",percentPosition:!0,packery:{columnWidth:".qodef-qi-grid-masonry-sizer",gutter:i}})),o.addClass("qodef--masonry-init")})},setFixedImageProportionSize:function(e,o,t,n){var i=e.find(".qodef-item--square"),d=e.find(".qodef-item--landscape"),r=e.find(".qodef-item--portrait"),a=e.find(".qodef-item--huge-square"),s=qodefAddonsCore.windowWidth<=680;e.parent().hasClass("qodef-col-num--1")?(o.css({height:t}),i.length&&i.css({width:t}),d.length&&d.css({height:Math.round(t/2)}),r.length&&r.css({height:Math.round(2*t)}),a.length&&a.css({width:t})):(o.css({height:t}),d.length&&d.css({width:Math.round(2*t+n)}),r.length&&r.css({height:Math.round(2*t+n)}),a.length&&a.css({height:Math.round(2*t+n),width:Math.round(2*t+n)}),s&&(d.length&&d.css({height:Math.round(t/2),width:Math.round(t)}),a.length)&&a.css({height:Math.round(t),width:Math.round(t)}))}};qodefAddonsCore.qodefMasonryLayout=d}(jQuery),function(i){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_animated_text={},i(document).ready(function(){e.init()});var e={init:function(){this.holder=i(".qodef-qi-animated-text.qodef--animated-by-letter"),this.holder.length&&this.holder.each(function(){e.initItem(i(this))})},initItem:function(n){n.find(".qodef-e-word-holder").each(function(){for(var e=i(this).text(),o=e.length,t="",n=0;n<o;n++)t+='<span class="qodef-e-character">'+e.charAt(n)+"</span>";i(this).html(t)}),n.find(".qodef-e-character").each(function(e){var o=i(this),t=n.hasClass("qodef--appear-from-left")?40:60;o.css("transition-delay",e*t+"ms")})}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_animated_text.qodefAppear=qodefAddonsCore.qodefAppear,qodefAddonsCore.shortcodes.qi_addons_for_elementor_animated_text.qodefAnimatedText=e}(jQuery),function(n){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_accordion={},n(document).ready(function(){o.init()});var o={init:function(){this.holder=n(".qodef-qi-accordion"),this.holder.length&&this.holder.each(function(){o.initItem(n(this))})},initItem:function(e){e.hasClass("qodef-behavior--accordion")&&o.initAccordion(e),e.hasClass("qodef-behavior--toggle")&&o.initToggle(e),e.addClass("qodef--init")},initAccordion:function(e){var o="auto";e.hasClass("qodef-height--content")&&(o="content"),e.accordion({animate:"swing",collapsible:!0,active:0,icons:"",heightStyle:o})},initToggle:function(e){var o=e.find(".qodef-e-title-holder"),t=o.next();e.addClass("accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset"),o.addClass("ui-accordion-header ui-state-default ui-corner-top ui-corner-bottom"),t.addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),o.each(function(){var e=n(this);e.hover(function(){e.toggleClass("ui-state-hover")}),e.on("click",function(){e.toggleClass("ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom"),e.next().toggleClass("ui-accordion-content-active").slideToggle(400)})})}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_accordion.qodefAccordion=o}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_banner={},e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-qi-banner"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(e){var o,e=e.find(".qodef-qi-button");e.hasClass("qodef-type--icon-boxed")&&(o=e.find(".qodef-m-icon"),e=e.find(".qodef-m-text").outerHeight(),o.css("width",e))}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_banner.qodefInitBanner=o}(jQuery),function(t){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_button={},t(document).ready(function(){o.init()}),t(window).on("elementor/frontend/init",function(){elementorFrontend.isEditMode()&&elementor.channels.editor.on("change",function(e){"object"==typeof e.$el&&e.$el.hasClass("elementor-control-button_padding")&&"object"==typeof e.options.element.$el&&(e=e.options.element.$el.find(".qodef-qi-button")).length&&o.initItem(e)})});var o={init:function(){this.holder=t(".qodef-qi-button"),this.holder.length&&this.holder.each(function(){o.initItem(t(this))})},initItem:function(e){e.each(function(){var e,o=t(this);o.hasClass("qodef-type--icon-boxed")&&(e=o.find(".qodef-m-icon"),o=o.find(".qodef-m-text").outerHeight(),e.css("width",o))})}};qodefAddonsCore.qodefButton=o,qodefAddonsCore.shortcodes.qi_addons_for_elementor_button.qodefButton=o}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_call_to_action={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_call_to_action.qodefButton=qodefAddonsCore.qodefButton}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_before_after={},e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-qi-before-after"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(e){var o=e.find(".qodef-before-after-image-holder"),t=o.data("offset")/100,n="horizontal",i=o.siblings(".qodef-handle-text");o.parents(".qodef-qi-before-after").hasClass("qodef--vertical")&&(n="vertical"),qodefAddonsCore.qodefWaitForImages.check(o,function(){o.css("visibility","visible"),o.twentytwenty({orientation:n,default_offset_pct:t}),i.length&&o.find(".twentytwenty-handle").prepend(i)})}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_before_after.qodefBeforeAfter=o}(jQuery),function(d){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_cards_gallery={},d(document).ready(function(){e.init()});var e={init:function(){this.holder=d(".qodef-qi-cards-gallery"),this.holder.length&&this.holder.each(function(){e.initItem(d(this))})},initItem:function(o){var t,n=o.find(".qodef-m-card"),i=o.data("orientation");switch(i){case"left":t="0 0 0 20%";break;case"right":t="0 20% 0 0"}d(n.get().reverse()).each(function(){var e=d(this);e.on("click",function(){if(!n.last().is(e))return"both"===i&&(t=e.index()%2?"0 0 0 20%":"0 0 0 -20%"),e.addClass("qodef-out").animate({margin:t},200,"swing",function(){e.detach(),e.insertAfter(n.last()).animate({margin:"0"},200,"swing",function(){e.removeClass("qodef-out")}),n=o.find(".qodef-m-card")}),!1})})}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_cards_gallery.qodefCardsGallery=e}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_charts={},e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-qi-charts"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(e){qodefAddonsCore.qodefIsInViewport.check(e,function(){o.generateChartData(e)})},generateChartData:function(i){var e=(e=i.data("type"))?"pie":"doughnut",o=i.data("values"),t=i.data("labels"),d=i.data("background-colors"),r=i.data("hover-background-colors"),n=i.data("border-colors"),a=i.data("hover-border-colors"),s=i.data("border-width"),l=i.data("hover-border-width"),f=i.data("enable-legend"),c=i.data("legend-position"),h=i.data("legend-alignment"),u=i.data("legend-bar-width"),q=i.data("legend-bar-height"),_=i.data("legend-bar-margin"),m=i.data("legend-label-color"),p=i.data("legend-label-font"),g=i.data("legend-label-font-size"),v=i.data("legend-label-font-weight"),w=i.data("legend-label-line-height"),b=i.data("aspect-ratio"),C=i.data("pattern-images"),y=!1,A={type:e,data:{datasets:[{data:o,backgroundColor:d,hoverBackgroundColor:r,borderColor:n,hoverBorderColor:a,borderWidth:s,hoverBorderWidth:l,borderAlign:"center",pattern:C}],labels:t},options:{responsive:!0,aspectRatio:b,animation:{animateScale:!0,animateRotate:!0},plugins:{legend:{display:f,position:c,align:h,labels:{boxWidth:u,boxHeight:q,padding:_,color:m,font:{family:p,size:g,weight:v,lineHeight:w}}},tooltip:{titleFont:{size:13},displayColors:!1,cornerRadius:5,caretSize:6}}}};i.addClass("qodef--init"),C.forEach(function(e,t){var n;e&&(y=!0,(n=new Image).src=C[t],n.onload=function(){var e=i.find("canvas")[0].getContext("2d"),o=e.createPattern(n,"repeat");d[t]=o,r[t]=o,new Chart(e,A)})}),y||(e=i.find("canvas"),new Chart(e,A))}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_charts.qodefCharts=o}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_cards_slider={},e(document).ready(function(){s.init()});var s={init:function(){this.holder=e(".qodef-qi-cards-slider"),this.holder.length&&this.holder.each(function(){s.initItem(e(this))})},initItem:function(e){s.sliderLoop(e)},isInView:function(o){new IntersectionObserver(function(e){!0===e[0].isIntersecting?o.addClass("qodef-in-view"):o.removeClass("qodef-in-view")},{threshold:[.15]}).observe(o[0]),document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState?o.addClass("qodef-in-view"):o.removeClass("qodef-in-view")})},sliderLoop:function(t,e){var n,i=t.find(".qodef-m-card"),o=t.data("orientation"),d=t.find(".qodef--next"),r=t.find(".qodef--prev");switch(o){case"left":n="-10%";break;case"right":n="10%"}function a(){var e=i.last(),o=i.first();e.hasClass("qodef-out")||e.addClass("qodef-out").animate({right:n},350,"swing",function(){e.detach().insertBefore(o).animate({right:"0%"},450,"swing",function(){setTimeout(function(){e.removeClass("qodef-out")},10)}),i=t.find(".qodef-m-card")})}setInterval(function(){!e&&t.hasClass("qodef-in-view")&&a()},3e3),s.isInView(t),1024<qodefAddonsCore.windowWidth?t.on("mouseenter",function(){e=!0}).on("mouseleave",function(){e=!1}):t.on("touchstart",function(){e=!0}).on("touchend",function(){setTimeout(function(){e=!1},2e3)}),d.on("click",a),r.on("click",function(){var e=i.last(),o=i.first();o.hasClass("qodef-in")||(t.addClass("qodef-backwards"),o.addClass("qodef-in").animate({right:n},350,"swing",function(){o.detach().insertAfter(e).animate({right:"0"},450,"swing",function(){o.removeClass("qodef-in"),t.removeClass("qodef-backwards")}),i=t.find(".qodef-m-card")}))})}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_cards_slider.qodefCardsSlider=s}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_clients_slider={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_clients_slider.qodefSwiper=qodefAddonsCore.qodefSwiper}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_countdown={},e(document).ready(function(){t.init()});var t={init:function(){this.countdowns=e(".qodef-qi-countdown"),this.countdowns.length&&this.countdowns.each(function(){t.initItem(e(this))})},initItem:function(e){var o=e.find(".qodef-m-date"),e=t.generateOptions(e);t.initCountdown(o,e)},generateOptions:function(e){var o={};return o.date=void 0!==e.data("date")?e.data("date"):null,o.hide=void 0!==e.data("hide")?e.data("hide"):null,o.monthLabel=void 0!==e.data("month-label")?e.data("month-label"):"Month",o.monthLabelPlural=void 0!==e.data("month-label-plural")?e.data("month-label-plural"):"Months",o.dayLabel=void 0!==e.data("day-label")?e.data("day-label"):"Day",o.dayLabelPlural=void 0!==e.data("day-label-plural")?e.data("day-label-plural"):"Days",o.hourLabel=void 0!==e.data("hour-label")?e.data("hour-label"):"Hour",o.hourLabelPlural=void 0!==e.data("hour-label-plural")?e.data("hour-label-plural"):"Hours",o.minuteLabel=void 0!==e.data("minute-label")?e.data("minute-label"):"Minute",o.minuteLabelPlural=void 0!==e.data("minute-label-plural")?e.data("minute-label-plural"):"Minutes",o.secondLabel=void 0!==e.data("second-label")?e.data("second-label"):"Second",o.secondLabelPlural=void 0!==e.data("second-label-plural")?e.data("second-label-plural"):"Seconds",o},initCountdown:function(c,h){var u=new Date(h.date).getTime(),q=setInterval(function(){var e=(new Date).getTime(),e=u-e,o=Math.floor(e/2592e6),t=Math.floor(e%2592e6/864e5),n=Math.floor(e%864e5/36e5),i=Math.floor(e%36e5/6e4),d=Math.floor(e%6e4/1e3),r=("mon"===h.hide&&(t=Math.floor(e/864e5)),c.find(".qodef-months")),a=c.find(".qodef-days"),s=c.find(".qodef-hours"),l=c.find(".qodef-minutes"),f=c.find(".qodef-seconds");r.find(".qodef-label").html(1===o?h.monthLabel:h.monthLabelPlural),a.find(".qodef-label").html(1===t?h.dayLabel:h.dayLabelPlural),s.find(".qodef-label").html(1===n?h.hourLabel:h.hourLabelPlural),l.find(".qodef-label").html(1===i?h.minuteLabel:h.minuteLabelPlural),f.find(".qodef-label").html(1===d?h.secondLabel:h.secondLabelPlural),o=o<10?"0"+o:o,t=t<10?"0"+t:t,n=n<10?"0"+n:n,i=i<10?"0"+i:i,d=d<10?"0"+d:d,r.find(".qodef-digit").html(o),a.find(".qodef-digit").html(t),s.find(".qodef-digit").html(n),l.find(".qodef-digit").html(i),f.find(".qodef-digit").html(d),e<0&&(clearInterval(q),r.find(".qodef-label").html(h.monthLabelPlural),a.find(".qodef-label").html(h.dayLabelPlural),s.find(".qodef-label").html(h.hourLabelPlural),l.find(".qodef-label").html(h.minuteLabelPlural),f.find(".qodef-label").html(h.secondLabelPlural),r.find(".qodef-digit").html("00"),a.find(".qodef-digit").html("00"),s.find(".qodef-digit").html("00"),l.find(".qodef-digit").html("00"),f.find(".qodef-digit").html("00"))},1e3)}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_countdown.qodefCountdown=t}(jQuery),function(r){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_counter={},r(document).ready(function(){n.init()});var n={init:function(){this.counters=r(".qodef-qi-counter"),this.counters.length&&this.counters.each(function(){n.initItem(r(this))})},initItem:function(e){var o=e.find(".qodef-m-digit"),t=n.generateOptions(e);qodefAddonsCore.qodefIsInViewport.check(e,function(){n.counterScript(o,t)})},generateOptions:function(e){var o={};return o.start=void 0!==e.data("start-digit")&&""!==e.data("start-digit")?e.data("start-digit"):0,o.end=void 0!==e.data("end-digit")&&""!==e.data("end-digit")?e.data("end-digit"):null,o.step=void 0!==e.data("step-digit")&&""!==e.data("step-digit")?e.data("step-digit"):1,o.delay=void 0!==e.data("step-delay")&&""!==e.data("step-delay")?parseInt(e.data("step-delay"),10):100,o.txt=void 0!==e.data("digit-label")&&""!==e.data("digit-label")?String(e.data("digit-label")):"",o},counterScript:function(e,o){var t=r.extend({start:0,end:null,step:1,delay:50,txt:""},o||{}),n=t.start,i=t.end,d=(e.text(n+t.txt),setInterval(function(){null!==i&&i<=n||(n+=t.step,i<=n&&(n=i,clearInterval(d)),e.text(n+t.txt))},t.delay))}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_counter.qodefCounter=n}(jQuery),function(t){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_device_carousel={},t(document).ready(function(){e.init()});var e={init:function(){this.sliders=t(".qodef-qi-device-carousel"),this.sliders.length&&this.sliders.each(function(){e.initItem(t(this))})},initItem:function(e){var o=setInterval(function(){e.children(".qodef-qi-swiper-container").hasClass("qodef-swiper--initialized")&&(e.find(".qodef-device-carousel-device .qodef-qi-swiper-container").each(function(){var e=t(this);e.hasClass("qodef-swiper--initialized")?(e[0].swiper.autoplay.stop(),e[0].swiper.autoplay.start()):qodefAddonsCore.qodefSwiper.initSlider(e)}),clearInterval(o))},200)}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_device_carousel.qodefSwiper=qodefAddonsCore.qodefSwiper,qodefAddonsCore.shortcodes.qi_addons_for_elementor_device_carousel.qodefDeviceCarousel=e}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_device_slider={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_device_slider.qodefSwiper=qodefAddonsCore.qodefSwiper}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_faq={},e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-qi-faq.qodef-behavior--accordion"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(e){var o;e.hasClass("qodef-behavior--accordion")&&(o=0,e.hasClass("qodef-closed")&&(o=!1),e.accordion({animate:"swing",collapsible:!0,active:o,icons:"",heightStyle:"content"}),e.addClass("qodef--init"))}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_faq.qodefFAQ=o}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_graphs={},e(document).ready(function(){n.init()});var n={init:function(){this.holder=e(".qodef-qi-graphs"),this.holder.length&&this.holder.each(function(){n.initItem(e(this))})},initItem:function(t){qodefAddonsCore.qodefIsInViewport.check(t,function(){t.addClass("qodef--init");var e=t.find("canvas"),o=n.generateChartData(t,e);new Chart(e,o)})},generateChartData:function(e,o){var t=(t=e.data("type"))?"line":"bar",n=e.data("ticks"),i=e.data("fill"),d=e.data("linear"),r=e.data("values"),a=e.data("item-labels"),s=e.data("labels"),l=e.data("background-colors"),f=e.data("hover-background-colors"),c=e.data("border-colors"),h=e.data("hover-border-colors"),u=e.data("border-width"),q=e.data("hover-border-width"),_=e.data("bar-size"),m=e.data("cat-size"),p=e.data("enable-legend"),g=e.data("legend-position"),v=e.data("legend-alignment"),w=e.data("legend-bar-width"),b=e.data("legend-bar-height"),C=e.data("legend-bar-margin"),y=e.data("legend-label-color"),A=e.data("legend-label-font"),I=e.data("legend-label-font-size"),e=e.data("legend-label-font-weight"),x=[];return r.forEach(function(e,o){var t={};t.data=r[o].split(","),t.label=a[o],t.backgroundColor=l[o],t.hoverBackgroundColor=f[o],t.borderColor=c[o],t.hoverBorderColor=h[o],t.borderWidth=u,t.hoverBorderWidth=q,t.pointBackgroundColor="rgba(0,0,0,0)",t.pointBorderColor="rgba(0,0,0,0)",t.pointHoverBackgroundColor="rgba(0,0,0,0)",t.pointHoverBorderColor="rgba(0,0,0,0)",t.cubicInterpolationMode="default",t.fill=i[o],t.barPercentage=_,t.categoryPercentage=m,t.tension=d[o],x.push(t)}),qodefAddonsCore.windowWidth<=480&&(p=!1),{type:t,data:{labels:s,datasets:x},options:{responsive:!0,aspectRatio:1.7,hover:{mode:"nearest",intersect:!0},plugins:{legend:{display:p,position:g,align:v,labels:{boxWidth:w,boxHeight:b,padding:C,color:y,font:{family:A,size:I,weight:e}}},tooltip:{mode:"nearest",intersect:!1,titleFont:{size:13},displayColors:!1,cornerRadius:5,caretSize:6}},scales:{x:{display:!0,scaleLabel:{display:!0},ticks:{color:"#c4c4c4",font:{family:'"DM Sans"',size:16},padding:10},grid:{color:"#dbdbdb",tickLength:30}},y:{display:!0,scaleLabel:{display:!0},suggestedMax:n.max,suggestedMin:n.min,ticks:{stepSize:n.step,color:"#c4c4c4",font:{family:'"DM Sans"',size:16},padding:10},gridLines:{color:"#dbdbdb",tickMarkLength:30}}}}}}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_graphs.qodefGraphs=n}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_highlight={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_highlight.qodefAppear=qodefAddonsCore.qodefAppear}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_icon_with_text={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_icon_with_text.qodefAppear=qodefAddonsCore.qodefAppear,qodefAddonsCore.shortcodes.qi_addons_for_elementor_icon_with_text.qodefButton=qodefAddonsCore.qodefButton}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_image_gallery={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_image_gallery.qodefLightboxPopup=qodefAddonsCore.qodefLightboxPopup}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_image_gallery_masonry={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_image_gallery_masonry.qodefMasonryLayout=qodefAddonsCore.qodefMasonryLayout,qodefAddonsCore.shortcodes.qi_addons_for_elementor_image_gallery_masonry.qodefLightboxPopup=qodefAddonsCore.qodefLightboxPopup}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_image_slider={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_image_slider.qodefSwiper=qodefAddonsCore.qodefSwiper,qodefAddonsCore.shortcodes.qi_addons_for_elementor_image_slider.qodefLightboxPopup=qodefAddonsCore.qodefLightboxPopup}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_image_gallery_pinterest={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_image_gallery_pinterest.qodefMasonryLayout=qodefAddonsCore.qodefMasonryLayout,qodefAddonsCore.shortcodes.qi_addons_for_elementor_image_gallery_pinterest.qodefLightboxPopup=qodefAddonsCore.qodefLightboxPopup}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_info_button={},e(document).ready(function(){o.init()}),e(window).on("elementor/frontend/init",function(){elementorFrontend.isEditMode()&&elementor.channels.editor.on("change",function(){o.init()})});var o={init:function(){this.holder=e(".qodef-qi-info-button"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(e){var o;e.hasClass("qodef-type--icon-boxed")&&(o=e.find(".qodef-m-icon"),e=e.find(".qodef-m-text-holder").outerHeight(),o.css("width",e))}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_info_button.qodefInfoButton=o}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_interactive_banner={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_interactive_banner.qodefButton=qodefAddonsCore.qodefButton}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_info_cards={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_info_cards.qodefButton=qodefAddonsCore.qodefButton}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_item_showcase={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_item_showcase.qodefAppear=qodefAddonsCore.qodefAppear}(jQuery),function(i){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_interactive_link_showcase={},i(document).ready(function(){e.init()});var e={init:function(){this.holder=i(".qodef-qi-interactive-link-showcase"),this.holder.length&&this.holder.each(function(){e.initItem(i(this))})},initItem:function(e){var t=e.find(".qodef-e-image"),n=e.find(".qodef-m-item");t.eq(0).addClass("qodef--active"),n.eq(0).addClass("qodef--active"),n.on("touchstart mouseenter",function(e){var o=i(this);(!qodefAddonsCore.body.hasClass("qodef-qi--touch")||!o.hasClass("qodef--active")&&680<qodefAddonsCore.windowWidth)&&(e.preventDefault(),t.removeClass("qodef--active").eq(o.index()).addClass("qodef--active"),n.removeClass("qodef--active").eq(o.index()).addClass("qodef--active"))}).on("touchend mouseleave",function(){var e=i(this);(!qodefAddonsCore.body.hasClass("qodef-qi--touch")||!e.hasClass("qodef--active")&&680<qodefAddonsCore.windowWidth)&&(n.removeClass("qodef--active").eq(e.index()).addClass("qodef--active"),t.removeClass("qodef--active").eq(e.index()).addClass("qodef--active"))}),e.addClass("qodef--init")}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_interactive_link_showcase.qodefInteractiveLinkShowcase=e}(jQuery),function(a){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_parallax_images={},a(document).ready(function(){o.init()});var o={init:function(){this.images=a(".qodef-qi-parallax-images"),this.images.length&&(a(window).on("load",function(){o.initParallaxElements()}),this.images.each(function(){o.initItem(a(this))}))},initItem:function(e){o.parallaxElements(e)},parallaxElements:function(e){var e=e.find(".qodef-m-images"),o=e.find(".qodef-e-parallax-image"),t=e.find(".qodef-e-main-image img"),e=e.find(".qodef-e-main-image").attr("data-parallax-main"),n=40,i=-50,d=30,r=15;1024<qodefAddonsCore.windowWidth&&(void 0!==e&&!1!==e&&(n=e,d=Math.abs(parseInt(n/.9,10))),t.attr("data-parallax",'{"y" : '+n+' , "smoothness": '+d+"}"),o.each(function(){var e=a(this),o=e.find("img"),e=e.attr("data-parallax");void 0!==e&&!1!==e&&(i=e,r=Math.abs(parseInt(i/2.5,10))),o.attr("data-parallax",'{"y" : '+i+' , "smoothness": '+r+"}")}))},initParallaxElements:function(){a(".qodef-qi-parallax-images [data-parallax]").length&&ParallaxScroll.init()}};a(window).on("load",function(){this.images=a(".qodef-qi-parallax-images"),this.images.length&&(o.initParallaxElements(),setTimeout(function(){qodefAddonsCore.body.hasClass("e--ua-firefox")&&o.initParallaxElements()},300))}),qodefAddonsCore.shortcodes.qi_addons_for_elementor_parallax_images.qodefParallaxImages=o}(jQuery),function(t){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_message_box={},t(document).ready(function(){e.init()});var e={init:function(){this.holder=t(".qodef-qi-message-box"),this.holder.length&&this.holder.each(function(){e.initItem(t(this))})},initItem:function(e){var o=e.closest(".elementor-element");o.addClass("q-message-box-holder"),e.find(".qodef-m-close-icon").on("click",function(e){t(this).parent().addClass("qodef-hidden"),o.addClass("qodef-hidden"),o.animate({height:0},{queue:!1})})}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_message_box.qodefMessageBoxList=e}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_preview_slider={},e(document).ready(function(){o.init()});var o={init:function(){this.sliders=e(".qodef-qi-preview-slider"),this.sliders.length&&this.sliders.each(function(){o.initItem(e(this))})},initItem:function(e){qodefAddonsCore.qodefSwiperElementorCheck.init(o.initSwiperReinit,e)},initSwiperReinit:function(e){var o=e.find("> .qodef-qi-swiper-container .swiper-slide-active"),t=e.find(".qodef-preview-slider-device-holder"),n=e.find("> .qodef-qi-swiper-container"),i=e.find(".qodef-preview-slider-device-holder .qodef-qi-swiper-container"),i=(t.width(o.width()),t.css("top",o.height()),t=n.find(".swiper-slide").length,(o=i[0].swiper.params).loopedSlides=t,o.autoplay="false",t=n[0].swiper.params.autoplay.enabled,n[0].swiper.autoplay.stop(),i[0].swiper.destroy(),new Swiper(i[0],Object.assign(o)));n[0].swiper.controller.control=i,n[0].swiper.controller.by="slide",n[0].swiper.controller.inverse=!0,i.controller.control=n[0].swiper,t&&n[0].swiper.autoplay.start(),e.addClass("qodef--visible")}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_preview_slider.qodefSwiper=qodefAddonsCore.qodefSwiper,qodefAddonsCore.shortcodes.qi_addons_for_elementor_preview_slider.qodefPreviewSlider=o}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_pricing_list={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_pricing_list.qodefButton=qodefAddonsCore.qodefButton}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_pricing_table={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_pricing_table.qodefButton=qodefAddonsCore.qodefButton}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_process={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_process.qodefAppear=qodefAddonsCore.qodefAppear}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_progress_bar_circle={},e(document).ready(function(){i.init()});var i={init:function(){this.holder=e(".qodef-qi-progress-bar-circle"),this.holder.length&&this.holder.each(function(){i.initItem(e(this))})},initItem:function(n){qodefAddonsCore.qodefIsInViewport.check(n,function(){n.addClass("qodef--init");var e=n.find(".qodef-m-canvas"),o=i.generateBarData(n),t=n.data("number")/100;i.initCircleBar(e,o,t)})},generateBarData:function(e){var o=e.data("active-line-width"),t=e.data("active-line-color"),n=e.data("inactive-line-width"),i=e.data("inactive-line-color"),d=void 0!==e.data("duration")&&""!==e.data("duration")?parseInt(e.data("duration"),10):1200,r=e.data("text-color"),e=e.width();return{color:t,strokeWidth:100*o/e,trailColor:i,trailWidth:100*n/e,svgStyle:{display:"block",width:"100%"},text:{className:"qodef-m-value",style:{color:r},autoStyleContainer:!1},easing:"linear",duration:d,from:{color:i},to:{color:t},step:function(e,o){o.setText(Math.round(100*o.value())+'<sup class="qodef-m-percentage">%</sup>')}}},initCircleBar:function(e,o,t){i.checkBar(e)&&new ProgressBar.Circle(e[0],o).animate(t)},checkBar:function(e){return!e.find("svg").length}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_progress_bar_circle.qodefProgressBar=i}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_section_title={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_section_title.qodefButton=qodefAddonsCore.qodefButton}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_progress_bar_horizontal={},e(document).ready(function(){i.init()});var i={init:function(){this.holder=e(".qodef-qi-progress-bar-horizontal"),this.holder.length&&this.holder.each(function(){i.initItem(e(this))})},initItem:function(n){qodefAddonsCore.qodefIsInViewport.check(n,function(){n.addClass("qodef--init");var e=n.find(".qodef-m-canvas"),o=i.generateBarData(n),t=n.data("number")/100;i.initHorizontalBar(e,o,t,n)})},generateBarData:function(t){var e=t.data("active-line-width"),o=t.data("active-line-color"),n=t.data("inactive-line-width"),i=t.data("inactive-line-color"),d=void 0!==t.data("duration")&&""!==t.data("duration")?parseInt(t.data("duration"),10):1200,r=t.data("percentage-type"),a=t.width();return{color:o,strokeWidth:100*e/a,trailColor:i,trailWidth:100*n/a,svgStyle:{display:"block",width:"100%"},easing:"easeInOut",duration:d,from:{color:i},to:{color:o},step:function(e,o){o=Math.round(100*o.value());t.find(".qodef-m-value-inner").html(o+'<span class="qodef-m-percentage">%</span>'),"floating-above"!==r&&"floating-on"!==r||(t.find(".qodef-m-value")[0].style.left=o+"%")}}},initHorizontalBar:function(e,o,t,n){i.checkBar(e)&&(e=new ProgressBar.Line(e[0],o),"yes"===n.data("gradient-fill")&&i.generateGradient(n),void 0!==(o=n.data("pattern"))&&n.find("svg").css("background-image",'url("'+o+'")'),e.animate(t))},checkBar:function(e){return!e.find("svg").length},generateGradient:function(e){for(var o="http://www.w3.org/2000/svg",t=document.createElementNS(o,"defs"),n=document.createElementNS(o,"linearGradient"),i=[{color:e.data("gradient-start"),offset:"0%"},{color:e.data("gradient-end"),offset:"100%"}],d=0,r=i.length;d<r;d++){var a=document.createElementNS(o,"stop");a.setAttribute("offset",i[d].offset),a.setAttribute("stop-color",i[d].color),n.appendChild(a)}n.id="Gradient-"+e.data("rand-id"),n.setAttribute("gradientUnits","userSpaceOnUse"),n.setAttribute("x1","0"),n.setAttribute("x2",e.data("number")+"%"),n.setAttribute("y1","0"),n.setAttribute("y2","0"),t.appendChild(n),e[0].querySelector(".qodef-m-canvas svg").appendChild(t),e[0].querySelector(".qodef-m-canvas svg path:nth-child(2)").setAttribute("stroke","url(#Gradient-"+e.data("rand-id")+")")}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_progress_bar_horizontal.qodefProgressBar=i}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_progress_bar_vertical={},e(document).ready(function(){a.init()});var a={init:function(){this.holder=e(".qodef-qi-progress-bar-vertical"),this.holder.length&&this.holder.each(function(){a.initItem(e(this))})},initItem:function(n){qodefAddonsCore.qodefIsInViewport.check(n,function(){n.addClass("qodef--init");var e=n.find(".qodef-m-canvas"),o=a.generateBarData(n),t=n.data("number")/100;a.initVerticalBar(e,o,t,n),n.hasClass("qodef-percentage--floating-top")&&n.find(".qodef-m-inner").width(n.find(".qodef-m-canvas svg").width())})},generateBarData:function(t){var e=t.data("bar-height"),o=t.data("active-line-width"),n=t.data("active-line-color"),i=t.data("inactive-line-width"),d=t.data("inactive-line-color"),r=void 0!==t.data("duration")&&""!==t.data("duration")?parseInt(t.data("duration"),10):1200,a=t.data("percentage-type");return{color:n,strokeWidth:100*o/e,trailColor:d,trailWidth:100*i/e,svgStyle:{display:"block",height:e+"px",transform:"scaleY(-1)"},easing:"linear",duration:r,from:{color:d},to:{color:n},step:function(e,o){o=Math.round(100*o.value());t.find(".qodef-m-value").html(o+'<span class="qodef-m-percentage">%</span>'),"floating-top"===a&&(t.find(".qodef-m-value")[0].style.bottom=o+"%",t.find(".qodef-m-title")[0].style.bottom=o+"%")}}},initVerticalBar:function(e,o,t,n){var i,d,r;a.checkBar(e)&&(e=new ProgressBar.Line(e[0],o),"yes"===n.data("gradient-fill")&&a.generateGradient(n),o=n[0].querySelector(".qodef-m-canvas svg"),i=n[0].querySelector(".qodef-m-canvas svg path:first-of-type"),r=(d=n[0].querySelector(".qodef-m-canvas svg path:last-of-type")).getAttribute("stroke-width"),o.setAttribute("viewBox","0 0 "+r+" 100"),i.setAttribute("d","M "+r/2+",0 L "+r/2+",100"),d.setAttribute("d","M "+r/2+",0 L "+r/2+",100"),void 0!==(o=n.data("pattern"))&&n.find("svg").css("background-image",'url("'+o+'")'),e.animate(t))},checkBar:function(e){return!e.find("svg").length},generateGradient:function(e){for(var o="http://www.w3.org/2000/svg",t=document.createElementNS(o,"defs"),n=document.createElementNS(o,"linearGradient"),i=[{color:e.data("gradient-start"),offset:"0%"},{color:e.data("gradient-end"),offset:"100%"}],d=0,r=i.length;d<r;d++){var a=document.createElementNS(o,"stop");a.setAttribute("offset",i[d].offset),a.setAttribute("stop-color",i[d].color),n.appendChild(a)}n.id="Gradient-"+e.data("rand-id"),n.setAttribute("gradientUnits","userSpaceOnUse"),n.setAttribute("x1","0"),n.setAttribute("x2","0"),n.setAttribute("y1","0"),n.setAttribute("y2",e.data("number")+"%"),t.appendChild(n),e[0].querySelector(".qodef-m-canvas svg").appendChild(t),e[0].querySelector(".qodef-m-canvas svg path:nth-child(2)").setAttribute("stroke","url(#Gradient-"+e.data("rand-id")+")")}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_progress_bar_vertical.qodefProgressBar=a}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_slider_switch={},e(document).ready(function(){o.init()});var o={init:function(){this.sliders=e(".qodef-qi-slider-switch"),this.sliders.length&&this.sliders.each(function(){o.initItem(e(this))})},initItem:function(e){qodefAddonsCore.qodefSwiperElementorCheck.init(o.initSwiperReinit,e)},initSwiperReinit:function(e){var o,t=e.find(".qodef-m-main-slider > .qodef-qi-swiper-container .swiper-slide-active"),n=e.find(".qodef-slider-switch-device-holder"),i=e.find(".qodef-m-main-slider > .qodef-qi-swiper-container"),d=e.find(".qodef-slider-switch-device-holder .qodef-qi-swiper-container"),r=e.find(".qodef-m-main-text .qodef-qi-swiper-container"),a=(n.width(t.width()),n.css("top",t.height()),n=i.find(".swiper-slide").length,(t=d[0].swiper.params).loopedSlides=n,t.autoplay=!1,(o=r[0].swiper.params).grabCursor=!1,o.loopedSlides=n,o.autoplay=!1,o.effect="fade",o.allowTouchMove=!1,r[0].swiper.update(),n=d.data().options.autoplayDelay,i[0].swiper.autoplay.running),s=(i[0].swiper.autoplay.stop(),d[0].swiper.destroy(),r[0].swiper.destroy(),new Swiper(d[0],Object.assign(t))),l=new Swiper(r[0],Object.assign(o));i[0].swiper.controller.control=s,i[0].swiper.controller.by="slide",i[0].swiper.controller.inverse=!0,s.controller.control=i[0].swiper,a&&(""!==n?setTimeout(function(){i[0].swiper.autoplay.start()},n):i[0].swiper.autoplay.start()),e.addClass("qodef--visible"),s.on("slideChange",function(){var e=s.realIndex;e!=l.realIndex&&l.slideTo(e,1e3,!1)})}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_slider_switch.qodefSwiper=qodefAddonsCore.qodefSwiper,qodefAddonsCore.shortcodes.qi_addons_for_elementor_slider_switch.qodefSliderSwitch=o}(jQuery),function(h){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_table_of_contents={},h(document).ready(function(){u.init()});var u={init:function(){this.holder=h(".qodef-qi-table-of-contents"),this.holder.length&&this.holder.each(function(){u.initItem(h(this))})},initItem:function(e){var o=["h1","h2","h3","h4","h5","h6"],t=e.find(".qodef-m-table-content"),n=void 0!==t.data("excluded-tags")?t.data("excluded-tags"):"",i=void 0!==t.data("excluded-cids")?t.data("excluded-cids"):"",a=void 0!==t.data("type")?t.data("type"):"ul",s=e.find(".qodef-m-table-content > "+a),l="",f={},c=[".qodef-e-number",".qodef-e-mark"];e.hasClass("qodef--only-content")&&(o=o.map(function(e){return".elementor "+e})),(e=u.prepareHeadings(n,i,o)).length&&(e.each(function(e){var o,t,n,i=h(this),d=i.clone(),r=u.prepareId(c,d,l);l+=r.id+";",f[e]={id:r.finalID,tag:i.prop("tagName").replace("H","")},0<e&&(o=i.prop("tagName").replace("H",""),(t=f[e-1].tag)<o?((n=s.find("a[href=#"+f[e-1].id+"]").parent()).append("<"+a+">"),s=n.find(a).first()):o<t&&(n=u.findSiblings(o,e,f),s=s.parents(".qodef-m-table-content").find("a[href=#"+n+"]").parent().parents(a).first())),i.attr("id",r.finalID),s.append('<li><a href="#'+r.finalID+'">'+d.text()+"</a></li>")}),t.find("li > a").each(function(){h(this).on("click",function(e){e.preventDefault();var e=h(this),o=e.attr("href");u.animateAnchor(e,o)})}))},prepareHeadings:function(e,o,t){var n,i=[],d="";if(0<e.length)for(var r=e.split(","),a=0;a<r.length;a++)-1!==t.indexOf(r[a])&&t.splice(t.indexOf(r[a]),1);if(0<o.length)for(var s=o.split(","),a=0;a<s.length;a++)d+=":not("+s[a]+")";t=t.join(d+", ")+d,(n=h(t)).length&&n.each(function(e){for(var o=h(this),t=0;t<s.length;t++)if(o.parents(s[t]).length)return void i.push(e)});for(a=i.length-1;0<=a;a--)n.splice(i[a],1);return n},prepareId:function(e,o,t){var n,i={};return e.forEach(function(e){o.find(e).remove()}),i.id=o.text().trim().replaceAll(" ","_").replaceAll(/[^a-zA-Z_]+/g,""),0!==t.length?(e=new RegExp(i.id+";","g"),n=0,null!==(t=t.match(e))&&(n=t.length),i.finalID=0!==n?i.id+"____"+(n+=1):i.id):i.finalID=i.id,i},findSiblings:function(e,o,t){return 0===o?t[0].id:t[o=o-1].tag>e?u.findSiblings(e,o,t):t[o].id},animateAnchor:function(e,o){function t(){var e;i!==d&&(Math.abs(i-d)<=100&&(a=8),(-1==r&&i<d||1==r&&d<i)&&(i=d),e=u.easingFunction((i-d)/i),h("html, body").scrollTop(i-(i-d)*e),i+=r*a,n=requestAnimationFrame(t))}var n,i=window.scrollY,d=h(o).offset().top,r=d<i?-1:1,a=50,o=h("#wpadminbar");o.length&&(d-=o.height());t(),h(window).one("wheel touchstart",function(){cancelAnimationFrame(n)})},easingFunction:function(e){return 0==e?0:Math.pow(1024,e-1)}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_table_of_contents.qodefTableOfContents=u}(jQuery),function(n){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_tabs_horizontal={},n(document).ready(function(){e.init()});var e={init:function(){this.holder=n(".qodef-qi-tabs-horizontal"),this.holder.length&&this.holder.each(function(){e.initItems(n(this))})},initItems:function(e){e.children(".qodef-tabs-horizontal-content").each(function(e){e+=1;var o=n(this),t=o.attr("id"),o=o.parent().find(".qodef-tabs-horizontal-navigation li:nth-child("+e+") a"),e=o.attr("href");-1<(t="#"+t).indexOf(e)&&o.attr("href",t)}),e.addClass("qodef--init").tabs()}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_tabs_horizontal.qodefTabsHorizontal=e}(jQuery),function(n){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_tabs_vertical={},n(document).ready(function(){e.init()});var e={init:function(){this.holder=n(".qodef-qi-tabs-vertical"),this.holder.length&&this.holder.each(function(){e.initItems(n(this))})},initItems:function(e){e.children(".qodef-tabs-vertical-content").each(function(e){e+=1;var o=n(this),t=o.attr("id"),o=o.parent().find(".qodef-tabs-vertical-navigation li:nth-child("+e+") a"),e=o.attr("href");-1<(t="#"+t).indexOf(e)&&o.attr("href",t)}),e.addClass("qodef--init").tabs()}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_tabs_vertical.qodefTabsVertical=e}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_testimonials_slider={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_testimonials_slider.qodefSwiper=qodefAddonsCore.qodefSwiper}(jQuery),function(i){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_typeout_text={},i(document).ready(function(){e.init()}),i(window).on("elementor/frontend/init",function(){elementorFrontend.isEditMode()&&elementor.channels.editor.on("change",function(){e.init()})});var e={init:function(){this.holder=i(".qodef-qi-typeout-text"),this.holder.length&&this.holder.each(function(){e.initItem(i(this))})},initItem:function(e){var o=e.find(".qodef-typeout"),t=e.data("strings"),n=void 0!==e.data("cursor")?e.data("cursor"):"";o.each(function(){var e=i(this),o={strings:t,typeSpeed:90,backDelay:700,loop:!0,contentType:"text",loopCount:!1,cursorChar:n};e.hasClass("qodef--initialized")||(new Typed(e[0],o),e.addClass("qodef--initialized"))})}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_typeout_text.qodefTypeoutText=e}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_timeline={},e(document).ready(function(){s.init()}),e(window).resize(function(){s.init()});var s={init:function(){this.holder=e(".qodef-qi-timeline"),this.holder.length&&this.holder.each(function(){s.initItem(e(this))})},initItem:function(e){var o,t,n,i,d,r,a;e.hasClass("qodef-timeline--horizontal")&&(o=e.find(".qodef-e-item"),t=e.find(".qodef-grid-inner"),n=e.width(),i=o.length,r=d=0,a=e.data("options"),1<i)&&(r=(d=1440<qodefAddonsCore.windowWidth?n/a.colNum:1366<qodefAddonsCore.windowWidth?n/a.colNum1440:1024<qodefAddonsCore.windowWidth?n/a.colNum1366:768<qodefAddonsCore.windowWidth?n/a.colNum1024:680<qodefAddonsCore.windowWidth?n/a.colNum768:480<qodefAddonsCore.windowWidth?n/a.colNum680:n/a.colNum480)*i,e.data("movement",d),e.data("moved",0),t.width(r),t.css("transform","translateX(0)"),qodefAddonsCore.body.trigger("qi_addons_for_elementor_trigger_timeline_before_init_movement",[e,o]),s.initMovement(e))},initMovement:function(o){var t=o.data("movement"),n=o.find(".qodef-grid-inner"),i=o.width(),d=n.width(),e=o.find(".qodef-nav-prev"),r=o.find(".qodef-nav-next");e.off().on("click",function(e){e.preventDefault();var e=parseFloat(o.data("moved"));e<-1&&(n.css("transform","translateX( "+(e=e+t)+"px)"),o.data("moved",e))}),r.off().on("click",function(e){e.preventDefault();var e=parseFloat(o.data("moved"));-e+t<d-i+1&&(n.css("transform","translateX( "+(e=e-t)+"px)"),o.data("moved",e))})}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_timeline.qodefTimeline=s,qodefAddonsCore.shortcodes.qi_addons_for_elementor_timeline.qodefAppear=qodefAddonsCore.qodefAppear}(jQuery),function(){"use strict";var e="qi_addons_for_elementor_blog_slider";qodefAddonsCore.shortcodes[e]={},qodefAddonsCore.shortcodes[e].qodefSwiper=qodefAddonsCore.qodefSwiper,qodefAddonsCore.shortcodes[e].qodefLightboxPopup=qodefAddonsCore.qodefLightboxPopup,qodefAddonsCore.shortcodes[e].qodefButton=qodefAddonsCore.qodefButton}(jQuery),function(){"use strict";var e="qi_addons_for_elementor_blog_list";qodefAddonsCore.shortcodes[e]={},qodefAddonsCore.shortcodes[e].qodefLightboxPopup=qodefAddonsCore.qodefLightboxPopup,qodefAddonsCore.shortcodes[e].qodefMasonryLayout=qodefAddonsCore.qodefMasonryLayout,qodefAddonsCore.shortcodes[e].qodefButton=qodefAddonsCore.qodefButton}(jQuery),function(d){"use strict";d(document).ready(function(){n.init(),i.init(),r.init()});var n={init:function(){this.noticeHolder=d(".qodef-admin-notice"),this.noticeHolder.length&&this.handleNotice()},handleNotice:function(){var e=this.noticeHolder.find(".qodef-statistics-button"),t=this.noticeHolder.find("#qi-addons-for-elementor-notice-nonce");e.length&&e.each(function(){var e=d(this),o=e.hasClass("qodef-statistics--allowed")?"allowed":"disallowed";e.on("click",function(e){e.preventDefault(),d.ajax({type:"POST",data:{action:"qi_addons_for_elementor_notice",notice_action:o,nonce:t.val()},url:ajaxurl,success:function(e){"success"===d.parseJSON(e).status&&n.noticeHolder.slideUp("fast")}})})})}},i={init:function(){this.noticeHolder=d(".qodef-admin-review-notice"),this.noticeHolder.length&&this.handleReviewNotice()},handleReviewNotice:function(){var e=this.noticeHolder.find(".qodef-review-button"),n=this.noticeHolder.find("#qi-addons-for-elementor-review-notice-nonce");e.length&&e.each(function(){var o,t=d(this);t.on("click",function(e){"review"!==(o=t.hasClass("qodef-review--already-reviewed-action")?"already-reviewed":t.hasClass("qodef-review--maybe-later-action")?"maybe-later":"review")&&e.preventDefault(),d.ajax({type:"POST",data:{action:"qi_addons_for_elementor_review_notice",review_action:o,nonce:n.val()},url:ajaxurl,success:function(e){"success"===d.parseJSON(e).status&&i.noticeHolder.slideUp("fast")}})})})}},r={init:function(){this.deactivationLink=d("#the-list").find('[data-slug="qi-addons-for-elementor"] span.deactivate a'),this.deactivationModal=d("#qi-addons-for-elementor-deactivation-modal"),this.deactivationLink.length&&this.deactivationModal.length&&this.initModal()},initModal:function(){this.deactivationLink.on("click",function(e){e.preventDefault(),r.deactivationModal.fadeIn("fast")}),this.enableModalCloseFunctionality(),this.initSubmitFunctionality(),this.initSkipFunctionality()},initSubmitFunctionality:function(){var t=this.deactivationModal.find(".qodef-deactivation-modal-button-submit"),n=this.deactivationModal.find(".qodef-deactivation-modal-button-skip"),i=this.deactivationModal.find("#qi-addons-for-elementor-deactivation-nonce");t.length&&t.on("click",function(e){e.preventDefault(),t.addClass("qodef--processing"),n.addClass("qodef--disabled");var o,e=r.deactivationModal.find('input[name="reason_key"]:checked').val();switch(e){case"found_a_better_plugin":o=r.deactivationModal.find('input[name="reason_found_a_better_plugin"]').val();break;case"other":o=r.deactivationModal.find('input[name="reason_other"]').val();break;default:o=""}d.ajax({type:"POST",data:{action:"qi_addons_for_elementor_deactivation",reason:e,additionalInfo:o,nonce:i.val()},url:ajaxurl,success:function(){r.deactivatePlugin()}})})},initSkipFunctionality:function(){var o=this.deactivationModal.find(".qodef-deactivation-modal-button-submit"),t=this.deactivationModal.find(".qodef-deactivation-modal-button-skip");t.length&&t.on("click",function(e){e.preventDefault(),t.addClass("qodef--processing"),o.addClass("qodef--disabled"),r.deactivatePlugin()})},deactivatePlugin:function(){location.href=this.deactivationLink.attr("href")},enableModalCloseFunctionality:function(){var e=this.deactivationModal.find(".qodef-deactivation-modal-close");e.length&&e.on("click",function(e){e.preventDefault(),r.deactivationModal.fadeOut("fast")})}}}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_add_to_cart_button={},e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-qi-woo-shortcode-add-to-cart"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(s){qodefAddonsCore.shortcodes.qi_addons_for_elementor_button.qodefButton.init(s),e("body").on("added_to_cart",function(){var e=s.find(".added_to_cart:not(.qodef-qi-button)");if(e.length){for(var o=e.siblings(".add_to_cart_button"),t=["button","product_type_simple","add_to_cart_button","ajax_add_to_cart","added"],n=t.length,i=o.attr("class"),d=o.find(".qodef-m-border"),r=o.find(".qodef-m-inner-border"),o=o.find(".qodef-m-icon"),a=0;a<n;a++)i=i.replace(t[a],"");e.addClass(i),e.wrapInner('<span class="qodef-m-text">'),d.length&&(d=d.clone(),e.append(d)),o.length&&(d=o.clone(),e.append(d)),r.length&&(o=r.clone(),e.append(o))}})}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_add_to_cart_button.changeViewCart=o}(jQuery),function(){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_product_category_list={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_product_category_list.qodefMasonryLayout=qodefAddonsCore.qodefMasonryLayout,qodefAddonsCore.shortcodes.qi_addons_for_elementor_product_category_list.qodefButton=qodefAddonsCore.qodefButton}(jQuery),function(e){"use strict";var o="qi_addons_for_elementor_product_list",t=(qodefAddonsCore.shortcodes[o]={},qodefAddonsCore.shortcodes[o].qodefLightboxPopup=qodefAddonsCore.qodefLightboxPopup,qodefAddonsCore.shortcodes[o].qodefMasonryLayout=qodefAddonsCore.qodefMasonryLayout,e(document).ready(function(){t.init()}),{init:function(){this.holder=e(".qodef-qi-woo-shortcode-product-list"),this.holder.length&&this.holder.each(function(){t.initItem(e(this))})},initItem:function(e){qodefAddonsCore.shortcodes.qi_addons_for_elementor_add_to_cart_button.changeViewCart.initItem(e)}});qodefAddonsCore.shortcodes.qi_addons_for_elementor_product_list.changeViewCart=t,qodefAddonsCore.shortcodes.qi_addons_for_elementor_product_list.qodefButton=qodefAddonsCore.qodefButton}(jQuery),function(e){"use strict";qodefAddonsCore.shortcodes.qi_addons_for_elementor_product_slider={},qodefAddonsCore.shortcodes.qi_addons_for_elementor_product_slider.qodefSwiper=qodefAddonsCore.qodefSwiper,e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-qi-woo-shortcode-product-slider"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(e){qodefAddonsCore.shortcodes.qi_addons_for_elementor_add_to_cart_button.changeViewCart.initItem(e)}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_product_slider.changeViewCart=o,qodefAddonsCore.shortcodes.qi_addons_for_elementor_product_slider.qodefButton=qodefAddonsCore.qodefButton}(jQuery),function(e){"use strict";e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-qi-interactive-banner"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(e){var o,t;e.hasClass("qodef-layout--from-bottom")&&(t=e.find(".qodef-m-text-holder"),o=e.find(".qodef-m-movement"),t=t.outerHeight(!0),o.css("transform","translateY("+t+"px) translateZ(0)"),setTimeout(function(){e.addClass("qodef--visible")},400))}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_interactive_banner.qodefInteractiveBannerFromBottom=o}(jQuery),function(e){"use strict";e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-qi-interactive-banner"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(e){var o,t;e.hasClass("qodef-layout--revealing")&&(t=e.find(".qodef-m-content-inner > .qodef-m-text"),o=e.find(".qodef-m-button"),t=t.outerHeight(!0),o.css("transform","translateY(-"+t+"px) translateZ(0)"),setTimeout(function(){e.addClass("qodef--visible")},400))}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_interactive_banner.qodefInteractiveBannerReveal=o}(jQuery),function(n){"use strict";n(document).on("qi_addons_for_elementor_trigger_timeline_before_init_movement",function(e,o,t){o.hasClass("qodef-timeline-layout--horizontal-alternating")&&i.init(t)});var i={init:function(e){var t=0;e.length&&(e.each(function(){var e=n(this),o=e.find(".qodef-e-content-holder"),e=e.find(".qodef-e-top-holder"),o=o.height();o<e.height()&&(o=e.height()),t<o&&(t=o)}),e.each(function(){var e=n(this),o=e.find(".qodef-e-content-holder");e.find(".qodef-e-top-holder").height(t),o.height(t)}))}}}(jQuery),function(r){"use strict";r(document).on("qi_addons_for_elementor_trigger_timeline_before_init_movement",function(e,o,t){o.hasClass("qodef-timeline-layout--horizontal-standard")&&n.init(o,t)});var n={init:function(e,o){var n=0,i=0,d=parseInt(o.find(".qodef-e-top-holder").css("paddingBottom")),e=e.find(".qodef-nav-prev, .qodef-nav-next");o.length&&(o.each(function(){var e=r(this),o=e.find(".qodef-e-content-holder").height(),e=e.find(".qodef-e-top-holder").height();n<e&&(n=e),i<o&&(i=o)}),o.each(function(){var e=r(this),o=e.find(".qodef-e-content-holder"),t=e.find(".qodef-e-top-holder"),e=e.find(".qodef-e-line-holder");t.height(n),o.height(i),e.css("top",n+d)}),e.css("top",n+d))}}}(jQuery),function(d){"use strict";d(document).ready(function(){e.init()});var e={init:function(){this.holder=d(".qodef-qi-woo-shortcode-product-list"),this.holder.length&&this.holder.each(function(){e.initItem(d(this))})},initItem:function(e){e.hasClass("qodef-item-layout--info-below-swap")&&(e=e.find(".qodef-grid-item")).length&&e.each(function(){var e=d(this),o=e.find(".qodef-e-swap-holder"),t=o.find(".qodef-woo-product-price"),n=o.find(".qodef-e-to-swap .qodef-qi-button"),i=n.outerWidth(),n=n.outerHeight(),i=Math.ceil(Math.max(i,t.width()))+"px",n=Math.ceil(Math.max(n,t.height()))+"px";e.css({"--qodef-max-width":i,"--qodef-max-height":n}),o.addClass("qodef--initialized")})}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_product_list.qodefProductListSwap=e}(jQuery),function(d){"use strict";d(document).ready(function(){e.init()});var e={init:function(){this.holder=d(".qodef-qi-woo-shortcode-product-slider"),this.holder.length&&this.holder.each(function(){e.initItem(d(this))})},initItem:function(e){e.hasClass("qodef-item-layout--info-below-swap")&&(e=e.find(".qodef-e")).length&&e.each(function(){var e=d(this),o=e.find(".qodef-e-swap-holder"),t=o.find(".qodef-woo-product-price"),n=o.find(".qodef-e-to-swap .qodef-qi-button"),i=n.outerWidth(),n=n.outerHeight(),i=Math.ceil(Math.max(i,t.width()))+"px",n=Math.ceil(Math.max(n,t.height()))+"px";e.css({"--qodef-max-width":i,"--qodef-max-height":n}),o.addClass("qodef--initialized")})}};qodefAddonsCore.shortcodes.qi_addons_for_elementor_product_slider.qodefProductSliderSwap=e}(jQuery);/*! This file is auto-generated */ window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode&&"a"!==E.activeElement.tagName.toLowerCase())return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,i=d.length;o<i;o++)(n=d[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&&h&&(g(b.parentIdFieldId).value="0",t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display="none",n=(d=(d=g(b.commentReplyTitleId))&&d.firstChild)&&d.nextSibling,d&&d.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,d=m(n,"belowelement"),o=m(n,"commentid"),i=m(n,"respondelement"),r=m(n,"postid"),n=m(n,"replyto")||t;d&&o&&i&&r&&!1===v.addComment.moveForm(d,o,i,r,n)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return r&&"loading"!==E.readyState?t():r&&v.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var i,r,l,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===o&&(o=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),d&&y&&(y.value=d),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=o),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],r=!1,"getComputedStyle"in v?l=v.getComputedStyle(i):E.documentElement.currentStyle&&(l=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===l.visibility)&&(r=!0),"hidden"!==i.type&&!i.disabled&&!r){i.focus();break}}catch(e){}return!1}}}}(window);/*! * FitVids 1.1 * * Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com * Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ * Released under the WTFPL license - http://sam.zoy.org/wtfpl/ * */ !function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var r=document.head||document.getElementsByTagName("head")[0],a=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}",d=document.createElement("div");d.innerHTML='<p>x</p><style id="fit-vids-style">'+a+"</style>",r.appendChild(d.childNodes[1])}return e&&t.extend(i,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];i.customSelector&&e.push(i.customSelector);var r=".fitvidsignore";i.ignore&&(r=r+", "+i.ignore);var a=t(this).find(e.join(","));a=a.not("object object"),a=a.not(r),a.each(function(e){var i=t(this);if(!(i.parents(r).length>0||"embed"===this.tagName.toLowerCase()&&i.parent("object").length||i.parent(".fluid-width-video-wrapper").length)){i.css("height")||i.css("width")||!isNaN(i.attr("height"))&&!isNaN(i.attr("width"))||(i.attr("height",9),i.attr("width",16));var a="object"===this.tagName.toLowerCase()||i.attr("height")&&!isNaN(parseInt(i.attr("height"),10))?parseInt(i.attr("height"),10):i.height(),d=isNaN(parseInt(i.attr("width"),10))?i.width():parseInt(i.attr("width"),10),o=a/d;if(!i.attr("id")){var h="fitvid"+e;i.attr("id",h)}i.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*o+"%"),i.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto);/*! * Jarallax v2.2.0 (https://github.com/nk-o/jarallax) * Copyright 2024 nK <https://nkdev.info> * Licensed under MIT (https://github.com/nk-o/jarallax/blob/master/LICENSE) */ !function(e,t){"use strict";"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).jarallax=t()}(this,(function(){"use strict";function e(e){"complete"===document.readyState||"interactive"===document.readyState?e():document.addEventListener("DOMContentLoaded",e,{capture:!0,once:!0,passive:!0})}let t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var i=t,o={type:"scroll",speed:.5,containerClass:"jarallax-container",imgSrc:null,imgElement:".jarallax-img",imgSize:"cover",imgPosition:"50% 50%",imgRepeat:"no-repeat",keepImg:!1,isElementInViewport:null,zIndex:-100,disableParallax:!1,onScroll:null,onInit:null,onDestroy:null,onCoverImage:null,videoClass:"jarallax-video",videoSrc:null,videoStartTime:0,videoEndTime:0,videoVolume:0,videoLoop:!0,videoPlayOnlyVisible:!0,videoLazyLoading:!0,disableVideo:!1,onVideoInsert:null,onVideoWorkerInit:null};const{navigator:n}=i,a=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(n.userAgent);let s,l,r;function c(){s=i.innerWidth||document.documentElement.clientWidth,a?(!r&&document.body&&(r=document.createElement("div"),r.style.cssText="position: fixed; top: -9999px; left: 0; height: 100vh; width: 0;",document.body.appendChild(r)),l=(r?r.clientHeight:0)||i.innerHeight||document.documentElement.clientHeight):l=i.innerHeight||document.documentElement.clientHeight}function m(){return{width:s,height:l}}c(),i.addEventListener("resize",c),i.addEventListener("orientationchange",c),i.addEventListener("load",c),e((()=>{c()}));const p=[];function d(){if(!p.length)return;const{width:e,height:t}=m();p.forEach(((i,o)=>{const{instance:n,oldData:a}=i;if(!n.isVisible())return;const s=n.$item.getBoundingClientRect(),l={width:s.width,height:s.height,top:s.top,bottom:s.bottom,wndW:e,wndH:t},r=!a||a.wndW!==l.wndW||a.wndH!==l.wndH||a.width!==l.width||a.height!==l.height,c=r||!a||a.top!==l.top||a.bottom!==l.bottom;p[o].oldData=l,r&&n.onResize(),c&&n.onScroll()})),i.requestAnimationFrame(d)}const g=new i.IntersectionObserver((e=>{e.forEach((e=>{e.target.jarallax.isElementInViewport=e.isIntersecting}))}),{rootMargin:"50px"});const{navigator:u}=i;let f=0;class h{constructor(e,t){const i=this;i.instanceID=f,f+=1,i.$item=e,i.defaults={...o};const n=i.$item.dataset||{},a={};if(Object.keys(n).forEach((e=>{const t=e.substr(0,1).toLowerCase()+e.substr(1);t&&void 0!==i.defaults[t]&&(a[t]=n[e])})),i.options=i.extend({},i.defaults,a,t),i.pureOptions=i.extend({},i.options),Object.keys(i.options).forEach((e=>{"true"===i.options[e]?i.options[e]=!0:"false"===i.options[e]&&(i.options[e]=!1)})),i.options.speed=Math.min(2,Math.max(-1,parseFloat(i.options.speed))),"string"==typeof i.options.disableParallax&&(i.options.disableParallax=new RegExp(i.options.disableParallax)),i.options.disableParallax instanceof RegExp){const e=i.options.disableParallax;i.options.disableParallax=()=>e.test(u.userAgent)}if("function"!=typeof i.options.disableParallax&&(i.options.disableParallax=()=>!1),"string"==typeof i.options.disableVideo&&(i.options.disableVideo=new RegExp(i.options.disableVideo)),i.options.disableVideo instanceof RegExp){const e=i.options.disableVideo;i.options.disableVideo=()=>e.test(u.userAgent)}"function"!=typeof i.options.disableVideo&&(i.options.disableVideo=()=>!1);let s=i.options.isElementInViewport;s&&"object"==typeof s&&void 0!==s.length&&([s]=s),s instanceof Element||(s=null),i.options.isElementInViewport=s,i.image={src:i.options.imgSrc||null,$container:null,useImgTag:!1,position:"fixed"},i.initImg()&&i.canInitParallax()&&i.init()}css(e,t){return function(e,t){return"string"==typeof t?i.getComputedStyle(e).getPropertyValue(t):(Object.keys(t).forEach((i=>{e.style[i]=t[i]})),e)}(e,t)}extend(e,...t){return function(e,...t){return e=e||{},Object.keys(t).forEach((i=>{t[i]&&Object.keys(t[i]).forEach((o=>{e[o]=t[i][o]}))})),e}(e,...t)}getWindowData(){const{width:e,height:t}=m();return{width:e,height:t,y:document.documentElement.scrollTop}}initImg(){const e=this;let t=e.options.imgElement;return t&&"string"==typeof t&&(t=e.$item.querySelector(t)),t instanceof Element||(e.options.imgSrc?(t=new Image,t.src=e.options.imgSrc):t=null),t&&(e.options.keepImg?e.image.$item=t.cloneNode(!0):(e.image.$item=t,e.image.$itemParent=t.parentNode),e.image.useImgTag=!0),!!e.image.$item||(null===e.image.src&&(e.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",e.image.bgImage=e.css(e.$item,"background-image")),!(!e.image.bgImage||"none"===e.image.bgImage))}canInitParallax(){return!this.options.disableParallax()}init(){const e=this,t={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"};let o={pointerEvents:"none",transformStyle:"preserve-3d",backfaceVisibility:"hidden"};if(!e.options.keepImg){const t=e.$item.getAttribute("style");if(t&&e.$item.setAttribute("data-jarallax-original-styles",t),e.image.useImgTag){const t=e.image.$item.getAttribute("style");t&&e.image.$item.setAttribute("data-jarallax-original-styles",t)}}if("static"===e.css(e.$item,"position")&&e.css(e.$item,{position:"relative"}),"auto"===e.css(e.$item,"z-index")&&e.css(e.$item,{zIndex:0}),e.image.$container=document.createElement("div"),e.css(e.image.$container,t),e.css(e.image.$container,{"z-index":e.options.zIndex}),"fixed"===this.image.position&&e.css(e.image.$container,{"-webkit-clip-path":"polygon(0 0, 100% 0, 100% 100%, 0 100%)","clip-path":"polygon(0 0, 100% 0, 100% 100%, 0 100%)"}),e.image.$container.setAttribute("id",`jarallax-container-${e.instanceID}`),e.options.containerClass&&e.image.$container.setAttribute("class",e.options.containerClass),e.$item.appendChild(e.image.$container),e.image.useImgTag?o=e.extend({"object-fit":e.options.imgSize,"object-position":e.options.imgPosition,"max-width":"none"},t,o):(e.image.$item=document.createElement("div"),e.image.src&&(o=e.extend({"background-position":e.options.imgPosition,"background-size":e.options.imgSize,"background-repeat":e.options.imgRepeat,"background-image":e.image.bgImage||`url("${e.image.src}")`},t,o))),"opacity"!==e.options.type&&"scale"!==e.options.type&&"scale-opacity"!==e.options.type&&1!==e.options.speed||(e.image.position="absolute"),"fixed"===e.image.position){const t=function(e){const t=[];for(;null!==e.parentElement;)1===(e=e.parentElement).nodeType&&t.push(e);return t}(e.$item).filter((e=>{const t=i.getComputedStyle(e),o=t["-webkit-transform"]||t["-moz-transform"]||t.transform;return o&&"none"!==o||/(auto|scroll)/.test(t.overflow+t["overflow-y"]+t["overflow-x"])}));e.image.position=t.length?"absolute":"fixed"}var n;o.position=e.image.position,e.css(e.image.$item,o),e.image.$container.appendChild(e.image.$item),e.onResize(),e.onScroll(!0),e.options.onInit&&e.options.onInit.call(e),"none"!==e.css(e.$item,"background-image")&&e.css(e.$item,{"background-image":"none"}),n=e,p.push({instance:n}),1===p.length&&i.requestAnimationFrame(d),g.observe(n.options.isElementInViewport||n.$item)}destroy(){const e=this;var t;t=e,p.forEach(((e,i)=>{e.instance.instanceID===t.instanceID&&p.splice(i,1)})),g.unobserve(t.options.isElementInViewport||t.$item);const i=e.$item.getAttribute("data-jarallax-original-styles");if(e.$item.removeAttribute("data-jarallax-original-styles"),i?e.$item.setAttribute("style",i):e.$item.removeAttribute("style"),e.image.useImgTag){const t=e.image.$item.getAttribute("data-jarallax-original-styles");e.image.$item.removeAttribute("data-jarallax-original-styles"),t?e.image.$item.setAttribute("style",i):e.image.$item.removeAttribute("style"),e.image.$itemParent&&e.image.$itemParent.appendChild(e.image.$item)}e.image.$container&&e.image.$container.parentNode.removeChild(e.image.$container),e.options.onDestroy&&e.options.onDestroy.call(e),delete e.$item.jarallax}coverImage(){const e=this,{height:t}=m(),i=e.image.$container.getBoundingClientRect(),o=i.height,{speed:n}=e.options,a="scroll"===e.options.type||"scroll-opacity"===e.options.type;let s=0,l=o,r=0;return a&&(n<0?(s=n*Math.max(o,t),t<o&&(s-=n*(o-t))):s=n*(o+t),n>1?l=Math.abs(s-t):n<0?l=s/n+Math.abs(s):l+=(t-o)*(1-n),s/=2),e.parallaxScrollDistance=s,r=a?(t-l)/2:(o-l)/2,e.css(e.image.$item,{height:`${l}px`,marginTop:`${r}px`,left:"fixed"===e.image.position?`${i.left}px`:"0",width:`${i.width}px`}),e.options.onCoverImage&&e.options.onCoverImage.call(e),{image:{height:l,marginTop:r},container:i}}isVisible(){return this.isElementInViewport||!1}onScroll(e){const t=this;if(!e&&!t.isVisible())return;const{height:i}=m(),o=t.$item.getBoundingClientRect(),n=o.top,a=o.height,s={},l=Math.max(0,n),r=Math.max(0,a+n),c=Math.max(0,-n),p=Math.max(0,n+a-i),d=Math.max(0,a-(n+a-i)),g=Math.max(0,-n+i-a),u=1-(i-n)/(i+a)*2;let f=1;if(a<i?f=1-(c||p)/a:r<=i?f=r/i:d<=i&&(f=d/i),"opacity"!==t.options.type&&"scale-opacity"!==t.options.type&&"scroll-opacity"!==t.options.type||(s.transform="translate3d(0,0,0)",s.opacity=f),"scale"===t.options.type||"scale-opacity"===t.options.type){let e=1;t.options.speed<0?e-=t.options.speed*f:e+=t.options.speed*(1-f),s.transform=`scale(${e}) translate3d(0,0,0)`}if("scroll"===t.options.type||"scroll-opacity"===t.options.type){let e=t.parallaxScrollDistance*u;"absolute"===t.image.position&&(e-=n),s.transform=`translate3d(0,${e}px,0)`}t.css(t.image.$item,s),t.options.onScroll&&t.options.onScroll.call(t,{section:o,beforeTop:l,beforeTopEnd:r,afterTop:c,beforeBottom:p,beforeBottomEnd:d,afterBottom:g,visiblePercent:f,fromViewportCenter:u})}onResize(){this.coverImage()}}const b=function(e,t,...i){("object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName)&&(e=[e]);const o=e.length;let n,a=0;for(;a<o;a+=1)if("object"==typeof t||void 0===t?e[a].jarallax||(e[a].jarallax=new h(e[a],t)):e[a].jarallax&&(n=e[a].jarallax[t].apply(e[a].jarallax,i)),void 0!==n)return n;return e};b.constructor=h;const y=i.jQuery;if(void 0!==y){const e=function(...e){Array.prototype.unshift.call(e,this);const t=b.apply(i,e);return"object"!=typeof t?t:this};e.constructor=b.constructor;const t=y.fn.jarallax;y.fn.jarallax=e,y.fn.jarallax.noConflict=function(){return y.fn.jarallax=t,this}}return e((()=>{b(document.querySelectorAll("[data-jarallax]"))})),b}));/*! * Video Extension for Jarallax v2.2.0 (https://github.com/nk-o/jarallax) * Copyright 2024 nK <https://nkdev.info> * Licensed under MIT (https://github.com/nk-o/jarallax/blob/master/LICENSE) */ !function(e,t){"use strict";"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).jarallaxVideo=t()}(this,(function(){"use strict"; /*! * Video Worker v2.2.0 (https://github.com/nk-o/video-worker) * Copyright 2024 nK <https://nkdev.info> * Licensed under MIT (https://github.com/nk-o/video-worker/blob/master/LICENSE) */ "use strict";var e={autoplay:!1,loop:!1,mute:!1,volume:100,showControls:!0,accessibilityHidden:!1,startTime:0,endTime:0};let t,o=0;class i{type="none";constructor(t,o){const i=this;i.url=t,i.options_default={...e},i.options=function(e,...t){return e=e||{},Object.keys(t).forEach((o=>{t[o]&&Object.keys(t[o]).forEach((i=>{e[i]=t[o][i]}))})),e}({},i.options_default,o),i.videoID=i.constructor.parseURL(t),i.videoID&&i.init()}isValid(){return!!this.videoID}init(){const e=this;e.ID=o,o+=1,e.playerID=`VideoWorker-${e.ID}`}on(e,t){this.userEventsList=this.userEventsList||[],(this.userEventsList[e]||(this.userEventsList[e]=[])).push(t)}off(e,t){this.userEventsList&&this.userEventsList[e]&&(t?this.userEventsList[e].forEach(((o,i)=>{o===t&&(this.userEventsList[e][i]=!1)})):delete this.userEventsList[e])}fire(e,...t){this.userEventsList&&void 0!==this.userEventsList[e]&&this.userEventsList[e].forEach((e=>{e&&e.apply(this,t)}))}static parseURL(e){return!1}play(e){}pause(){}mute(){}unmute(){}setVolume(e=!1){}getVolume(e){}getMuted(e){}setCurrentTime(e=!1){}getCurrentTime(e){}getImageURL(e){}getVideo(e){}}t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var a=t;function n(){this.doneCallbacks=[],this.failCallbacks=[]}n.prototype={execute(e,t){let o=e.length;for(t=Array.prototype.slice.call(t);o;)o-=1,e[o].apply(null,t)},resolve(...e){this.execute(this.doneCallbacks,e)},reject(...e){this.execute(this.failCallbacks,e)},done(e){this.doneCallbacks.push(e)},fail(e){this.failCallbacks.push(e)}};let s=0,r=0;const l=new n;let p=0,d=0;const u=new n;function m(e,t){let o=!1;return Object.keys(m.providers).forEach((i=>{!o&&m.providers[i].parseURL(e)&&(o=new m.providers[i](e,t))})),o||new i(e,t)}let y;m.BaseClass=i,m.providers={Youtube:class extends i{type="youtube";static parseURL(e){const t=e.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|shorts\/|watch\?v=)([^#\&\?]*).*/);return!(!t||11!==t[1].length)&&t[1]}init(){super.init(),function(){if(s)return;s=!0;let e=document.createElement("script"),t=document.getElementsByTagName("head")[0];e.src="https://www.youtube.com/iframe_api",t.appendChild(e),t=null,e=null}()}play(e){const t=this;t.player&&t.player.playVideo&&(void 0!==e&&t.player.seekTo(e||0),a.YT.PlayerState.PLAYING!==t.player.getPlayerState()&&(t.options.endTime&&!t.options.loop?t.getCurrentTime((e=>{e<t.options.endTime&&t.player.playVideo()})):t.player.playVideo()))}pause(){const e=this;e.player&&e.player.pauseVideo&&a.YT.PlayerState.PLAYING===e.player.getPlayerState()&&e.player.pauseVideo()}mute(){const e=this;e.player&&e.player.mute&&e.player.mute()}unmute(){const e=this;e.player&&e.player.unMute&&e.player.unMute()}setVolume(e=!1){const t=this;t.player&&"number"==typeof e&&t.player.setVolume&&t.player.setVolume(e)}getVolume(e){const t=this;t.player?t.player.getVolume&&e(t.player.getVolume()):e(!1)}getMuted(e){const t=this;t.player?t.player.isMuted&&e(t.player.isMuted()):e(null)}setCurrentTime(e=!1){const t=this;t.player&&"number"==typeof e&&t.player.seekTo&&t.player.seekTo(e)}getCurrentTime(e){const t=this;t.player&&t.player.getCurrentTime&&e(t.player.getCurrentTime())}getImageURL(e){const t=this;if(t.videoImage)return void e(t.videoImage);const o=["maxresdefault","sddefault","hqdefault","0"];let i=0;const a=new Image;a.onload=function(){120!==(this.naturalWidth||this.width)||i===o.length-1?(t.videoImage=`https://img.youtube.com/vi/${t.videoID}/${o[i]}.jpg`,e(t.videoImage)):(i+=1,this.src=`https://img.youtube.com/vi/${t.videoID}/${o[i]}.jpg`)},a.src=`https://img.youtube.com/vi/${t.videoID}/${o[i]}.jpg`}getVideo(e){const t=this;t.$video?e(t.$video):function(e){void 0!==a.YT&&0!==a.YT.loaded||r?"object"==typeof a.YT&&1===a.YT.loaded?e():l.done((()=>{e()})):(r=1,a.onYouTubeIframeAPIReady=function(){a.onYouTubeIframeAPIReady=null,l.resolve("done"),e()})}((()=>{let o,i,n;t.$video||(o=document.createElement("div"),o.style.display="none"),t.playerOptions={host:"https://www.youtube-nocookie.com",videoId:t.videoID,playerVars:{autohide:1,rel:0,autoplay:0,playsinline:1}},t.options.showControls||(t.playerOptions.playerVars.iv_load_policy=3,t.playerOptions.playerVars.modestbranding=1,t.playerOptions.playerVars.controls=0,t.playerOptions.playerVars.showinfo=0,t.playerOptions.playerVars.disablekb=1),t.playerOptions.events={onReady(e){if(t.options.mute?e.target.mute():"number"==typeof t.options.volume&&e.target.setVolume(t.options.volume),t.options.autoplay&&t.play(t.options.startTime),t.fire("ready",e),t.options.loop&&!t.options.endTime){const e=.1;t.options.endTime=t.player.getDuration()-e}setInterval((()=>{t.getVolume((o=>{t.options.volume!==o&&(t.options.volume=o,t.fire("volumechange",e))}))}),150)},onStateChange(e){t.options.loop&&e.data===a.YT.PlayerState.ENDED&&t.play(t.options.startTime),i||e.data!==a.YT.PlayerState.PLAYING||(i=1,t.fire("started",e)),e.data===a.YT.PlayerState.PLAYING&&t.fire("play",e),e.data===a.YT.PlayerState.PAUSED&&t.fire("pause",e),e.data===a.YT.PlayerState.ENDED&&t.fire("ended",e),e.data===a.YT.PlayerState.PLAYING?n=setInterval((()=>{t.fire("timeupdate",e),t.options.endTime&&t.player.getCurrentTime()>=t.options.endTime&&(t.options.loop?t.play(t.options.startTime):t.pause())}),150):clearInterval(n)},onError(e){t.fire("error",e)}};const s=!t.$video;if(s){const e=document.createElement("div");e.setAttribute("id",t.playerID),o.appendChild(e),document.body.appendChild(o)}t.player=t.player||new a.YT.Player(t.playerID,t.playerOptions),s&&(t.$video=document.getElementById(t.playerID),t.options.accessibilityHidden&&(t.$video.setAttribute("tabindex","-1"),t.$video.setAttribute("aria-hidden","true")),t.videoWidth=parseInt(t.$video.getAttribute("width"),10)||1280,t.videoHeight=parseInt(t.$video.getAttribute("height"),10)||720),e(t.$video)}))}},Vimeo:class extends i{type="vimeo";static parseURL(e){const t=e.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/);return!(!t||!t[3])&&t[3]}static parseURLHash(e){const t=e.match(/^.*(vimeo.com\/|video\/)(\d+)(\?.*&*h=|\/)+([\d,a-f]+)/);return t&&5===t.length?t[4]:null}init(){super.init(),function(){if(p)return;if(p=!0,void 0!==a.Vimeo)return;let e=document.createElement("script"),t=document.getElementsByTagName("head")[0];e.src="https://player.vimeo.com/api/player.js",t.appendChild(e),t=null,e=null}()}play(e){const t=this;t.player&&(void 0!==e&&t.player.setCurrentTime(e),t.player.getPaused().then((e=>{e&&(t.options.endTime&&!t.options.loop?t.getCurrentTime((e=>{e<t.options.endTime&&t.player.play()})):t.player.play())})))}pause(){const e=this;e.player&&e.player.getPaused().then((t=>{t||e.player.pause()}))}mute(){const e=this;e.player&&e.player.setVolume&&e.setVolume(0)}unmute(){const e=this;e.player&&e.player.setVolume&&e.setVolume(e.options.volume||100)}setVolume(e=!1){const t=this;t.player&&"number"==typeof e&&t.player.setVolume&&t.player.setVolume(e/100)}getVolume(e){const t=this;t.player?t.player.getVolume&&t.player.getVolume().then((t=>{e(100*t)})):e(!1)}getMuted(e){const t=this;t.player?t.player.getVolume&&t.player.getVolume().then((t=>{e(!!t)})):e(null)}setCurrentTime(e=!1){const t=this;t.player&&"number"==typeof e&&t.player.setCurrentTime&&t.player.setCurrentTime(e)}getCurrentTime(e){const t=this;t.player&&t.player.getCurrentTime&&t.player.getCurrentTime().then((t=>{e(t)}))}getImageURL(e){const t=this;if(t.videoImage)return void e(t.videoImage);let o=a.innerWidth||1920;a.devicePixelRatio&&(o*=a.devicePixelRatio),o=Math.min(o,1920);let i=new XMLHttpRequest;i.open("GET",`https://vimeo.com/api/oembed.json?url=${t.url}&width=${o}`,!0),i.onreadystatechange=function(){if(4===this.readyState&&this.status>=200&&this.status<400){const o=JSON.parse(this.responseText);o.thumbnail_url&&(t.videoImage=o.thumbnail_url,e(t.videoImage))}},i.send(),i=null}getVideo(e){const t=this;t.$video?e(t.$video):function(e){if(void 0!==a.Vimeo||d)void 0!==a.Vimeo?e():u.done((()=>{e()}));else{d=1;const t=setInterval((()=>{void 0!==a.Vimeo&&(clearInterval(t),u.resolve("done"),e())}),20)}}((()=>{let o;t.$video||(o=document.createElement("div"),o.style.display="none"),t.playerOptions={dnt:1,id:t.videoID,autopause:0,transparent:0,autoplay:t.options.autoplay?1:0,loop:t.options.loop?1:0,muted:t.options.mute||0===t.options.volume?1:0};const i=t.constructor.parseURLHash(t.url);if(i&&(t.playerOptions.h=i),t.options.showControls||(t.playerOptions.controls=0),!t.options.showControls&&t.options.loop&&t.options.autoplay&&(t.playerOptions.background=1),!t.$video){let e="";Object.keys(t.playerOptions).forEach((o=>{""!==e&&(e+="&"),e+=`${o}=${encodeURIComponent(t.playerOptions[o])}`})),t.$video=document.createElement("iframe"),t.$video.setAttribute("id",t.playerID),t.$video.setAttribute("src",`https://player.vimeo.com/video/${t.videoID}?${e}`),t.$video.setAttribute("frameborder","0"),t.$video.setAttribute("mozallowfullscreen",""),t.$video.setAttribute("allowfullscreen",""),t.$video.setAttribute("title","Vimeo video player"),t.options.accessibilityHidden&&(t.$video.setAttribute("tabindex","-1"),t.$video.setAttribute("aria-hidden","true")),o.appendChild(t.$video),document.body.appendChild(o)}let n;t.player=t.player||new a.Vimeo.Player(t.$video,t.playerOptions),t.options.mute||"number"!=typeof t.options.volume||t.setVolume(t.options.volume),t.options.startTime&&t.options.autoplay&&t.player.setCurrentTime(t.options.startTime),t.player.getVideoWidth().then((e=>{t.videoWidth=e||1280})),t.player.getVideoHeight().then((e=>{t.videoHeight=e||720})),t.player.on("timeupdate",(e=>{n||(t.fire("started",e),n=1),t.fire("timeupdate",e),t.options.endTime&&e.seconds>=t.options.endTime&&(t.options.loop?t.play(t.options.startTime):t.pause())})),t.player.on("play",(e=>{t.fire("play",e),t.options.startTime&&0===e.seconds&&t.play(t.options.startTime)})),t.player.on("pause",(e=>{t.fire("pause",e)})),t.player.on("ended",(e=>{t.fire("ended",e)})),t.player.on("loaded",(e=>{t.fire("ready",e)})),t.player.on("volumechange",(e=>{t.getVolume((e=>{t.options.volume=e})),t.fire("volumechange",e)})),t.player.on("error",(e=>{t.fire("error",e)})),e(t.$video)}))}},Local:class extends i{type="local";static parseURL(e){const t=e.split(/,(?=mp4\:|webm\:|ogv\:|ogg\:)/),o={};let i=0;return t.forEach((e=>{const t=e.match(/^(mp4|webm|ogv|ogg)\:(.*)/);t&&t[1]&&t[2]&&(o["ogv"===t[1]?"ogg":t[1]]=t[2],i=1)})),!!i&&o}play(e){const t=this;t.player&&(void 0!==e&&(t.player.currentTime=e),t.player.paused&&(t.options.endTime&&!t.options.loop?t.getCurrentTime((e=>{e<t.options.endTime&&t.player.play()})):t.player.play()))}pause(){const e=this;e.player&&!e.player.paused&&e.player.pause()}mute(){this.player&&(this.$video.muted=!0)}unmute(){this.player&&(this.$video.muted=!1)}setVolume(e=!1){this.player&&"number"==typeof e&&(this.$video.volume=e/100)}getVolume(e){this.player?e(100*this.$video.volume):e(!1)}getMuted(e){this.player?e(this.$video.muted):e(null)}setCurrentTime(e=!1){this.player&&"number"==typeof e&&(this.$video.currentTime=e)}getCurrentTime(e){this.player&&e(this.player.currentTime)}getImageURL(e){const t=this;t.videoImage&&e(t.videoImage)}getVideo(e){const t=this;if(t.$video)return void e(t.$video);let o,i;t.$video||(o=document.createElement("div"),o.style.display="none"),t.$video||(t.$video=document.createElement("video"),t.player=t.$video,t.options.showControls&&(t.$video.controls=!0),"number"==typeof t.options.volume&&t.setVolume(t.options.volume),t.options.mute&&t.mute(),t.options.loop&&(t.$video.loop=!0),t.$video.setAttribute("playsinline",""),t.$video.setAttribute("webkit-playsinline",""),t.options.accessibilityHidden&&(t.$video.setAttribute("tabindex","-1"),t.$video.setAttribute("aria-hidden","true")),t.$video.setAttribute("id",t.playerID),o.appendChild(t.$video),document.body.appendChild(o),Object.keys(t.videoID).forEach((e=>{!function(e,t,o){const i=document.createElement("source");i.src=t,i.type=o,e.appendChild(i)}(t.$video,t.videoID[e],`video/${e}`)}))),t.player.addEventListener("playing",(e=>{i||t.fire("started",e),i=1})),t.player.addEventListener("timeupdate",(function(e){t.fire("timeupdate",e),t.options.endTime&&this.currentTime>=t.options.endTime&&(t.options.loop?t.play(t.options.startTime):t.pause())})),t.player.addEventListener("play",(e=>{t.fire("play",e)})),t.player.addEventListener("pause",(e=>{t.fire("pause",e)})),t.player.addEventListener("ended",(e=>{t.fire("ended",e)})),t.player.addEventListener("loadedmetadata",(function(){t.videoWidth=this.videoWidth||1280,t.videoHeight=this.videoHeight||720,t.fire("ready"),t.options.autoplay&&t.play(t.options.startTime)})),t.player.addEventListener("volumechange",(e=>{t.getVolume((e=>{t.options.volume=e})),t.fire("volumechange",e)})),t.player.addEventListener("error",(e=>{t.fire("error",e)})),e(t.$video)}}},y="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var c,v=y;function h(e=v.jarallax){if(void 0===e)return;const t=e.constructor,o=t.prototype.onScroll;t.prototype.onScroll=function(){const e=this;o.apply(e);!e.isVideoInserted&&e.video&&(!e.options.videoLazyLoading||e.isElementInViewport)&&!e.options.disableVideo()&&(e.isVideoInserted=!0,e.video.getVideo((t=>{const o=t.parentNode;e.css(t,{position:e.image.position,top:"0px",left:"0px",right:"0px",bottom:"0px",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none",pointerEvents:"none",transformStyle:"preserve-3d",backfaceVisibility:"hidden",margin:0,zIndex:-1}),e.$video=t,"local"===e.video.type&&(e.image.src?e.$video.setAttribute("poster",e.image.src):e.image.$item&&"IMG"===e.image.$item.tagName&&e.image.$item.src&&e.$video.setAttribute("poster",e.image.$item.src)),e.options.videoClass&&e.$video.setAttribute("class",`${e.options.videoClass} ${e.options.videoClass}-${e.video.type}`),e.image.$container.appendChild(t),o.parentNode.removeChild(o),e.options.onVideoInsert&&e.options.onVideoInsert.call(e)})))};const i=t.prototype.coverImage;t.prototype.coverImage=function(){const e=this,t=i.apply(e),o=!!e.image.$item&&e.image.$item.nodeName;if(t&&e.video&&o&&("IFRAME"===o||"VIDEO"===o)){let i=t.image.height,a=i*e.image.width/e.image.height,n=(t.container.width-a)/2,s=t.image.marginTop;t.container.width>a&&(a=t.container.width,i=a*e.image.height/e.image.width,n=0,s+=(t.image.height-i)/2),"IFRAME"===o&&(i+=400,s-=200),e.css(e.$video,{width:`${a}px`,marginLeft:`${n}px`,height:`${i}px`,marginTop:`${s}px`})}return t};const a=t.prototype.initImg;t.prototype.initImg=function(){const e=this,t=a.apply(e);return e.options.videoSrc||(e.options.videoSrc=e.$item.getAttribute("data-jarallax-video")||null),e.options.videoSrc?(e.defaultInitImgResult=t,!0):t};const n=t.prototype.canInitParallax;t.prototype.canInitParallax=function(){const e=this;let t=n.apply(e);if(!e.options.videoSrc)return t;const o=new m(e.options.videoSrc,{autoplay:!0,loop:e.options.videoLoop,showControls:!1,accessibilityHidden:!0,startTime:e.options.videoStartTime||0,endTime:e.options.videoEndTime||0,mute:!e.options.videoVolume,volume:e.options.videoVolume||0});function i(){e.image.$default_item&&(e.image.$item=e.image.$default_item,e.image.$item.style.display="block",e.coverImage(),e.onScroll())}if(e.options.onVideoWorkerInit&&e.options.onVideoWorkerInit.call(e,o),o.isValid())if(this.options.disableParallax()&&(t=!0,e.image.position="absolute",e.options.type="scroll",e.options.speed=1),t){if(o.on("ready",(()=>{if(e.options.videoPlayOnlyVisible){const t=e.onScroll;e.onScroll=function(){t.apply(e),e.videoError||!e.options.videoLoop&&(e.options.videoLoop||e.videoEnded)||(e.isVisible()?o.play():o.pause())}}else o.play()})),o.on("started",(()=>{e.image.$default_item=e.image.$item,e.image.$item=e.$video,e.image.width=e.video.videoWidth||1280,e.image.height=e.video.videoHeight||720,e.coverImage(),e.onScroll(),e.image.$default_item&&(e.image.$default_item.style.display="none")})),o.on("ended",(()=>{e.videoEnded=!0,e.options.videoLoop||i()})),o.on("error",(()=>{e.videoError=!0,i()})),e.video=o,!e.defaultInitImgResult&&(e.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7","local"!==o.type))return o.getImageURL((t=>{e.image.bgImage=`url("${t}")`,e.init()})),!1}else e.defaultInitImgResult||o.getImageURL((t=>{const o=e.$item.getAttribute("style");o&&e.$item.setAttribute("data-jarallax-original-styles",o),e.css(e.$item,{"background-image":`url("${t}")`,"background-position":"center","background-size":"cover"})}));return t};const s=t.prototype.destroy;t.prototype.destroy=function(){const e=this;e.image.$default_item&&(e.image.$item=e.image.$default_item,delete e.image.$default_item),s.apply(e)}}return h(),c=()=>{void 0!==v.jarallax&&v.jarallax(document.querySelectorAll("[data-jarallax-video]"))},"complete"===document.readyState||"interactive"===document.readyState?c():document.addEventListener("DOMContentLoaded",c,{capture:!0,once:!0,passive:!0}),v.VideoWorker||(v.VideoWorker=m),h}));(function(b,c){"use strict";var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c}function g(){var o=this,m=+new Date()-d,n=arguments;function l(){d=+new Date();j.apply(o,n)}function k(){h=c}if(i&&!h){l()}h&&clearTimeout(h);if(i===c&&m>e){l()}else{if(f!==!0){h=setTimeout(i?k:l,i===c?e-m:e)}}}if($.guid){g.guid=j.guid=j.guid||$.guid++}return g};$.debounce=function(d,e,f){return f===c?a(d,e,!1):a(d,f,e!==!1)}})(this);!function(a,b,c,d){"use strict";function e(b,c){this.element=b;var d={};a.each(a(this.element).data(),function(a,b){var c=function(a){return a&&a[0].toLowerCase()+a.slice(1)},e=c(a.replace("fluidbox",""));(""!==e||null!==e)&&("false"==b?b=!1:"true"==b&&(b=!0),d[e]=b)}),this.settings=a.extend({},h,c,d),this.settings.viewportFill=Math.max(Math.min(parseFloat(this.settings.viewportFill),1),0),this.settings.stackIndex<this.settings.stackIndexDelta&&(settings.stackIndexDelta=settings.stackIndex),this._name=g,this.init()}var f=a(b),g=(a(c),"fluidbox"),h={immediateOpen:!1,loader:!1,maxWidth:0,maxHeight:0,resizeThrottle:500,stackIndex:1e3,stackIndexDelta:10,viewportFill:.95},i={},j=0;("undefined"==typeof console||"undefined"===console.warn)&&(console={},console.warn=function(){}),a.isFunction(a.throttle)||console.warn("Fluidbox: The jQuery debounce/throttle plugin is not found/loaded. Even though Fluidbox works without it, the window resize event will fire extremely rapidly in browsers, resulting in significant degradation in performance upon viewport resize.");var k=function(){var a,b=c.createElement("fakeelement"),e={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(a in e)if(b.style[a]!==d)return e[a]},l=k(),m={dom:function(){var b=a("<div />",{"class":"fluidbox__wrap",css:{zIndex:this.settings.stackIndex-this.settings.stackIndexDelta}});if(a(this.element).addClass("fluidbox--closed").wrapInner(b).find("img").first().css({opacity:1}).addClass("fluidbox__thumb").after('<div class="fluidbox__ghost" />'),this.settings.loader){var c=a("<div />",{"class":"fluidbox__loader",css:{zIndex:2}});a(this.element).find(".fluidbox__wrap").append(c)}},prepareFb:function(){var b=this,c=a(this.element);c.trigger("thumbloaddone.fluidbox"),m.measure.fbElements.call(this),b.bindEvents(),c.addClass("fluidbox--ready"),b.bindListeners(),c.trigger("ready.fluidbox")},measure:{viewport:function(){i.viewport={w:f.width(),h:f.height()}},fbElements:function(){var b=this,c=a(this.element),d=c.find("img").first(),e=c.find(".fluidbox__ghost"),f=c.find(".fluidbox__wrap");b.instanceData.thumb={natW:d[0].naturalWidth,natH:d[0].naturalHeight,w:d.width(),h:d.height()},e.css({width:d.width(),height:d.height(),top:d.offset().top-f.offset().top+parseInt(d.css("borderTopWidth"))+parseInt(d.css("paddingTop")),left:d.offset().left-f.offset().left+parseInt(d.css("borderLeftWidth"))+parseInt(d.css("paddingLeft"))})}},checkURL:function(a){var b=0;return/[\s+]/g.test(a)?(console.warn("Fluidbox: Fluidbox opening is halted because it has detected characters in your URL string that need to be properly encoded/escaped. Whitespace(s) have to be escaped manually. See RFC3986 documentation."),b=1):/[\"\'\(\)]/g.test(a)&&(console.warn("Fluidbox: Fluidbox opening will proceed, but it has detected characters in your URL string that need to be properly encoded/escaped. These will be escaped for you. See RFC3986 documentation."),b=0),b},formatURL:function(a){return a.replace(/"/g,"%22").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29")}};a.extend(e.prototype,{init:function(){var b=this,c=a(this.element),d=c.find("img").first();if(m.measure.viewport(),(!b.instanceData||!b.instanceData.initialized)&&c.is("a")&&1===c.children().length&&(c.children().is("img")||c.children().is("picture")&&1===c.find("img").length)&&"none"!==c.css("display")&&"none"!==c.children().css("display")&&"none"!==c.parents().css("display")){c.removeClass("fluidbox--destroyed"),b.instanceData={},b.instanceData.initialized=!0,b.instanceData.originalNode=c.html(),j+=1,b.instanceData.id=j,c.addClass("fluidbox__instance-"+j),c.addClass("fluidbox--initialized"),m.dom.call(b),c.trigger("init.fluidbox");var e=new Image;d.width()>0&&d.height()>0?m.prepareFb.call(b):(e.onload=function(){m.prepareFb.call(b)},e.onerror=function(){c.trigger("thumbloadfail.fluidbox")},e.src=d.attr("src"))}},open:function(){var b=this,c=a(this.element),d=c.find("img").first(),e=c.find(".fluidbox__ghost"),f=c.find(".fluidbox__wrap");b.instanceData.state=1,e.off(l),a(".fluidbox--opened").fluidbox("close");var g=a("<div />",{"class":"fluidbox__overlay",css:{zIndex:-1}});if(f.append(g),c.removeClass("fluidbox--closed").addClass("fluidbox--loading"),m.checkURL(d.attr("src")))return b.close(),!1;e.css({"background-image":"url("+m.formatURL(d.attr("src"))+")",opacity:1}),m.measure.fbElements.call(b);var h;b.settings.immediateOpen?(c.addClass("fluidbox--opened fluidbox--loaded").find(".fluidbox__wrap").css({zIndex:b.settings.stackIndex+b.settings.stackIndexDelta}),c.trigger("openstart.fluidbox"),b.compute(),d.css({opacity:0}),a(".fluidbox__overlay").css({opacity:1}),e.one(l,function(){c.trigger("openend.fluidbox")}),h=new Image,h.onload=function(){if(c.trigger("imageloaddone.fluidbox"),1===b.instanceData.state){if(b.instanceData.thumb.natW=h.naturalWidth,b.instanceData.thumb.natH=h.naturalHeight,c.removeClass("fluidbox--loading"),m.checkURL(h.src))return b.close({error:!0}),!1;e.css({"background-image":"url("+m.formatURL(h.src)+")"}),b.compute()}},h.onerror=function(){b.close({error:!0}),c.trigger("imageloadfail.fluidbox"),c.trigger("delayedloadfail.fluidbox")},h.src=c.attr("href")):(h=new Image,h.onload=function(){return c.trigger("imageloaddone.fluidbox"),c.removeClass("fluidbox--loading").addClass("fluidbox--opened fluidbox--loaded").find(".fluidbox__wrap").css({zIndex:b.settings.stackIndex+b.settings.stackIndexDelta}),c.trigger("openstart.fluidbox"),m.checkURL(h.src)?(b.close({error:!0}),!1):(e.css({"background-image":"url("+m.formatURL(h.src)+")"}),b.instanceData.thumb.natW=h.naturalWidth,b.instanceData.thumb.natH=h.naturalHeight,b.compute(),d.css({opacity:0}),a(".fluidbox__overlay").css({opacity:1}),void e.one(l,function(){c.trigger("openend.fluidbox")}))},h.onerror=function(){b.close({error:!0}),c.trigger("imageloadfail.fluidbox")},h.src=c.attr("href"))},compute:function(){var b=this,c=a(this.element),d=c.find("img").first(),e=c.find(".fluidbox__ghost"),g=c.find(".fluidbox__wrap"),h=b.instanceData.thumb.natW,j=b.instanceData.thumb.natH,k=b.instanceData.thumb.w,l=b.instanceData.thumb.h,m=h/j,n=i.viewport.w/i.viewport.h;b.settings.maxWidth>0?(h=b.settings.maxWidth,j=h/m):b.settings.maxHeight>0&&(j=b.settings.maxHeight,h=j*m);var o,p,q,r,s;n>m?(o=j<i.viewport.h?j:i.viewport.h*b.settings.viewportFill,q=o/l,r=h*(l*q/j)/k,s=q):(p=h<i.viewport.w?h:i.viewport.w*b.settings.viewportFill,r=p/k,q=j*(k*r/h)/l,s=r),b.settings.maxWidth&&b.settings.maxHeight&&console.warn("Fluidbox: Both maxHeight and maxWidth are specified. You can only specify one. If both are specified, only the maxWidth property will be respected. This will not generate any error, but may cause unexpected sizing behavior.");var t=f.scrollTop()-d.offset().top+.5*(l*(s-1))+.5*(f.height()-l*s),u=.5*(k*(s-1))+.5*(f.width()-k*s)-d.offset().left,v=parseInt(100*r)/100+","+parseInt(100*q)/100;e.css({transform:"translate("+parseInt(100*u)/100+"px,"+parseInt(100*t)/100+"px) scale("+v+")",top:d.offset().top-g.offset().top,left:d.offset().left-g.offset().left}),c.find(".fluidbox__loader").css({transform:"translate("+parseInt(100*u)/100+"px,"+parseInt(100*t)/100+"px) scale("+v+")"}),c.trigger("computeend.fluidbox")},recompute:function(){this.compute()},close:function(b){var c=this,e=a(this.element),f=e.find("img").first(),g=e.find(".fluidbox__ghost"),h=e.find(".fluidbox__wrap"),i=e.find(".fluidbox__overlay"),j=a.extend(null,{error:!1},b);return null===c.instanceData.state||typeof c.instanceData.state==typeof d||0===c.instanceData.state?!1:(c.instanceData.state=0,e.trigger("closestart.fluidbox"),e.removeClass(function(a,b){return(b.match(/(^|\s)fluidbox--(opened|loaded|loading)+/g)||[]).join(" ")}).addClass("fluidbox--closed"),g.css({transform:"translate(0,0) scale(1,1)",top:f.offset().top-h.offset().top+parseInt(f.css("borderTopWidth"))+parseInt(f.css("paddingTop")),left:f.offset().left-h.offset().left+parseInt(f.css("borderLeftWidth"))+parseInt(f.css("paddingLeft"))}),e.find(".fluidbox__loader").css({transform:"none"}),g.one(l,function(){g.css({opacity:0}),f.css({opacity:1}),i.remove(),h.css({zIndex:c.settings.stackIndex-c.settings.stackIndexDelta}),e.trigger("closeend.fluidbox")}),j.error&&g.trigger("transitionend"),void i.css({opacity:0}))},bindEvents:function(){var b=this,c=a(this.element);c.on("click.fluidbox",function(a){a.preventDefault(),b.instanceData.state&&0!==b.instanceData.state?b.close():b.open()})},bindListeners:function(){var b=this,c=a(this.element),d=function(){m.measure.viewport(),m.measure.fbElements.call(b),c.hasClass("fluidbox--opened")&&b.compute()};a.isFunction(a.throttle)?f.on("resize.fluidbox"+b.instanceData.id,a.throttle(b.settings.resizeThrottle,d)):f.on("resize.fluidbox"+b.instanceData.id,d),c.on("reposition.fluidbox",function(){b.reposition()}),c.on("recompute.fluidbox, compute.fluidbox",function(){b.compute()}),c.on("destroy.fluidbox",function(){b.destroy()}),c.on("close.fluidbox",function(){b.close()})},unbind:function(){a(this.element).off("click.fluidbox reposition.fluidbox recompute.fluidbox compute.fluidbox destroy.fluidbox close.fluidbox"),f.off("resize.fluidbox"+this.instanceData.id)},reposition:function(){m.measure.fbElements.call(this)},destroy:function(){var b=this.instanceData.originalNode;this.unbind(),a.data(this.element,"plugin_"+g,null),a(this.element).removeClass(function(a,b){return(b.match(/(^|\s)fluidbox[--|__]\S+/g)||[]).join(" ")}).empty().html(b).addClass("fluidbox--destroyed").trigger("destroyed.fluidbox")},getMetadata:function(){return this.instanceData}}),a.fn[g]=function(b){var c=arguments;if(b===d||"object"==typeof b)return this.each(function(){a.data(this,"plugin_"+g)||a.data(this,"plugin_"+g,new e(this,b))});if("string"==typeof b&&"_"!==b[0]&&"init"!==b){var f;return this.each(function(){var d=a.data(this,"plugin_"+g);d instanceof e&&"function"==typeof d[b]?f=d[b].apply(d,Array.prototype.slice.call(c,1)):console.warn('Fluidbox: The method "'+b+'" used is not defined in Fluidbox. Please make sure you are calling the correct public method.')}),f!==d?f:this}return this}}(jQuery,window,document);/*! jQuery Validation Plugin - v1.15.0 - 2/24/2016 * http://jqueryvalidation.org/ * Copyright (c) 2016 Jörn Zaefferer; Licensed MIT */ !function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){a.extend(a.fn,{validate:function(b){if(!this.length)return void(b&&b.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var c=a.data(this[0],"validator");return c?c:(this.attr("novalidate","novalidate"),c=new a.validator(b,this[0]),a.data(this[0],"validator",c),c.settings.onsubmit&&(this.on("click.validate",":submit",function(b){c.settings.submitHandler&&(c.submitButton=b.target),a(this).hasClass("cancel")&&(c.cancelSubmit=!0),void 0!==a(this).attr("formnovalidate")&&(c.cancelSubmit=!0)}),this.on("submit.validate",function(b){function d(){var d,e;return c.settings.submitHandler?(c.submitButton&&(d=a("<input type='hidden'/>").attr("name",c.submitButton.name).val(a(c.submitButton).val()).appendTo(c.currentForm)),e=c.settings.submitHandler.call(c,c.currentForm,b),c.submitButton&&d.remove(),void 0!==e?e:!1):!0}return c.settings.debug&&b.preventDefault(),c.cancelSubmit?(c.cancelSubmit=!1,d()):c.form()?c.pendingRequest?(c.formSubmitted=!0,!1):d():(c.focusInvalid(),!1)})),c)},valid:function(){var b,c,d;return a(this[0]).is("form")?b=this.validate().form():(d=[],b=!0,c=a(this[0].form).validate(),this.each(function(){b=c.element(this)&&b,b||(d=d.concat(c.errorList))}),c.errorList=d),b},rules:function(b,c){if(this.length){var d,e,f,g,h,i,j=this[0];if(b)switch(d=a.data(j.form,"validator").settings,e=d.rules,f=a.validator.staticRules(j),b){case"add":a.extend(f,a.validator.normalizeRule(c)),delete f.messages,e[j.name]=f,c.messages&&(d.messages[j.name]=a.extend(d.messages[j.name],c.messages));break;case"remove":return c?(i={},a.each(c.split(/\s/),function(b,c){i[c]=f[c],delete f[c],"required"===c&&a(j).removeAttr("aria-required")}),i):(delete e[j.name],f)}return g=a.validator.normalizeRules(a.extend({},a.validator.classRules(j),a.validator.attributeRules(j),a.validator.dataRules(j),a.validator.staticRules(j)),j),g.required&&(h=g.required,delete g.required,g=a.extend({required:h},g),a(j).attr("aria-required","true")),g.remote&&(h=g.remote,delete g.remote,g=a.extend(g,{remote:h})),g}}}),a.extend(a.expr[":"],{blank:function(b){return!a.trim(""+a(b).val())},filled:function(b){var c=a(b).val();return null!==c&&!!a.trim(""+c)},unchecked:function(b){return!a(b).prop("checked")}}),a.validator=function(b,c){this.settings=a.extend(!0,{},a.validator.defaults,b),this.currentForm=c,this.init()},a.validator.format=function(b,c){return 1===arguments.length?function(){var c=a.makeArray(arguments);return c.unshift(b),a.validator.format.apply(this,c)}:void 0===c?b:(arguments.length>2&&c.constructor!==Array&&(c=a.makeArray(arguments).slice(1)),c.constructor!==Array&&(c=[c]),a.each(c,function(a,c){b=b.replace(new RegExp("\\{"+a+"\\}","g"),function(){return c})}),b)},a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(a){this.lastActive=a,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,a,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(a)))},onfocusout:function(a){this.checkable(a)||!(a.name in this.submitted)&&this.optional(a)||this.element(a)},onkeyup:function(b,c){var d=[16,17,18,20,35,36,37,38,39,40,45,144,225];9===c.which&&""===this.elementValue(b)||-1!==a.inArray(c.keyCode,d)||(b.name in this.submitted||b.name in this.invalid)&&this.element(b)},onclick:function(a){a.name in this.submitted?this.element(a):a.parentNode.name in this.submitted&&this.element(a.parentNode)},highlight:function(b,c,d){"radio"===b.type?this.findByName(b.name).addClass(c).removeClass(d):a(b).addClass(c).removeClass(d)},unhighlight:function(b,c,d){"radio"===b.type?this.findByName(b.name).removeClass(c).addClass(d):a(b).removeClass(c).addClass(d)}},setDefaults:function(b){a.extend(a.validator.defaults,b)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date ( ISO ).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}."),step:a.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function b(b){var c=a.data(this.form,"validator"),d="on"+b.type.replace(/^validate/,""),e=c.settings;e[d]&&!a(this).is(e.ignore)&&e[d].call(c,this,b)}this.labelContainer=a(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm),this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var c,d=this.groups={};a.each(this.settings.groups,function(b,c){"string"==typeof c&&(c=c.split(/\s/)),a.each(c,function(a,c){d[c]=b})}),c=this.settings.rules,a.each(c,function(b,d){c[b]=a.validator.normalizeRule(d)}),a(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable]",b).on("click.validate","select, option, [type='radio'], [type='checkbox']",b),this.settings.invalidHandler&&a(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler),a(this.currentForm).find("[required], [data-rule-required], .required").attr("aria-required","true")},form:function(){return this.checkForm(),a.extend(this.submitted,this.errorMap),this.invalid=a.extend({},this.errorMap),this.valid()||a(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var a=0,b=this.currentElements=this.elements();b[a];a++)this.check(b[a]);return this.valid()},element:function(b){var c,d,e=this.clean(b),f=this.validationTargetFor(e),g=this,h=!0;return void 0===f?delete this.invalid[e.name]:(this.prepareElement(f),this.currentElements=a(f),d=this.groups[f.name],d&&a.each(this.groups,function(a,b){b===d&&a!==f.name&&(e=g.validationTargetFor(g.clean(g.findByName(a))),e&&e.name in g.invalid&&(g.currentElements.push(e),h=h&&g.check(e)))}),c=this.check(f)!==!1,h=h&&c,c?this.invalid[f.name]=!1:this.invalid[f.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),a(b).attr("aria-invalid",!c)),h},showErrors:function(b){if(b){var c=this;a.extend(this.errorMap,b),this.errorList=a.map(this.errorMap,function(a,b){return{message:a,element:c.findByName(b)[0]}}),this.successList=a.grep(this.successList,function(a){return!(a.name in b)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){a.fn.resetForm&&a(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var b=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(b)},resetElements:function(a){var b;if(this.settings.unhighlight)for(b=0;a[b];b++)this.settings.unhighlight.call(this,a[b],this.settings.errorClass,""),this.findByName(a[b].name).removeClass(this.settings.validClass);else a.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(a){var b,c=0;for(b in a)a[b]&&c++;return c},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(a){a.not(this.containers).text(""),this.addWrapper(a).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(b){}},findLastActive:function(){var b=this.lastActive;return b&&1===a.grep(this.errorList,function(a){return a.element.name===b.name}).length&&b},elements:function(){var b=this,c={};return a(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var d=this.name||a(this).attr("name");return!d&&b.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.hasAttribute("contenteditable")&&(this.form=a(this).closest("form")[0]),d in c||!b.objectLength(a(this).rules())?!1:(c[d]=!0,!0)})},clean:function(b){return a(b)[0]},errors:function(){var b=this.settings.errorClass.split(" ").join(".");return a(this.settings.errorElement+"."+b,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=a([]),this.toHide=a([])},reset:function(){this.resetInternals(),this.currentElements=a([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(a){this.reset(),this.toHide=this.errorsFor(a)},elementValue:function(b){var c,d,e=a(b),f=b.type;return"radio"===f||"checkbox"===f?this.findByName(b.name).filter(":checked").val():"number"===f&&"undefined"!=typeof b.validity?b.validity.badInput?"NaN":e.val():(c=b.hasAttribute("contenteditable")?e.text():e.val(),"file"===f?"C:\\fakepath\\"===c.substr(0,12)?c.substr(12):(d=c.lastIndexOf("/"),d>=0?c.substr(d+1):(d=c.lastIndexOf("\\"),d>=0?c.substr(d+1):c)):"string"==typeof c?c.replace(/\r/g,""):c)},check:function(b){b=this.validationTargetFor(this.clean(b));var c,d,e,f=a(b).rules(),g=a.map(f,function(a,b){return b}).length,h=!1,i=this.elementValue(b);if("function"==typeof f.normalizer){if(i=f.normalizer.call(b,i),"string"!=typeof i)throw new TypeError("The normalizer should return a string value.");delete f.normalizer}for(d in f){e={method:d,parameters:f[d]};try{if(c=a.validator.methods[d].call(this,i,b,e.parameters),"dependency-mismatch"===c&&1===g){h=!0;continue}if(h=!1,"pending"===c)return void(this.toHide=this.toHide.not(this.errorsFor(b)));if(!c)return this.formatAndAdd(b,e),!1}catch(j){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+b.id+", check the '"+e.method+"' method.",j),j instanceof TypeError&&(j.message+=". Exception occurred when checking element "+b.id+", check the '"+e.method+"' method."),j}}if(!h)return this.objectLength(f)&&this.successList.push(b),!0},customDataMessage:function(b,c){return a(b).data("msg"+c.charAt(0).toUpperCase()+c.substring(1).toLowerCase())||a(b).data("msg")},customMessage:function(a,b){var c=this.settings.messages[a];return c&&(c.constructor===String?c:c[b])},findDefined:function(){for(var a=0;a<arguments.length;a++)if(void 0!==arguments[a])return arguments[a]},defaultMessage:function(b,c){var d=this.findDefined(this.customMessage(b.name,c.method),this.customDataMessage(b,c.method),!this.settings.ignoreTitle&&b.title||void 0,a.validator.messages[c.method],"<strong>Warning: No message defined for "+b.name+"</strong>"),e=/\$?\{(\d+)\}/g;return"function"==typeof d?d=d.call(this,c.parameters,b):e.test(d)&&(d=a.validator.format(d.replace(e,"{$1}"),c.parameters)),d},formatAndAdd:function(a,b){var c=this.defaultMessage(a,b);this.errorList.push({message:c,element:a,method:b.method}),this.errorMap[a.name]=c,this.submitted[a.name]=c},addWrapper:function(a){return this.settings.wrapper&&(a=a.add(a.parent(this.settings.wrapper))),a},defaultShowErrors:function(){var a,b,c;for(a=0;this.errorList[a];a++)c=this.errorList[a],this.settings.highlight&&this.settings.highlight.call(this,c.element,this.settings.errorClass,this.settings.validClass),this.showLabel(c.element,c.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(a=0;this.successList[a];a++)this.showLabel(this.successList[a]);if(this.settings.unhighlight)for(a=0,b=this.validElements();b[a];a++)this.settings.unhighlight.call(this,b[a],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return a(this.errorList).map(function(){return this.element})},showLabel:function(b,c){var d,e,f,g,h=this.errorsFor(b),i=this.idOrName(b),j=a(b).attr("aria-describedby");h.length?(h.removeClass(this.settings.validClass).addClass(this.settings.errorClass),h.html(c)):(h=a("<"+this.settings.errorElement+">").attr("id",i+"-error").addClass(this.settings.errorClass).html(c||""),d=h,this.settings.wrapper&&(d=h.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(d):this.settings.errorPlacement?this.settings.errorPlacement(d,a(b)):d.insertAfter(b),h.is("label")?h.attr("for",i):0===h.parents("label[for='"+this.escapeCssMeta(i)+"']").length&&(f=h.attr("id"),j?j.match(new RegExp("\\b"+this.escapeCssMeta(f)+"\\b"))||(j+=" "+f):j=f,a(b).attr("aria-describedby",j),e=this.groups[b.name],e&&(g=this,a.each(g.groups,function(b,c){c===e&&a("[name='"+g.escapeCssMeta(b)+"']",g.currentForm).attr("aria-describedby",h.attr("id"))})))),!c&&this.settings.success&&(h.text(""),"string"==typeof this.settings.success?h.addClass(this.settings.success):this.settings.success(h,b)),this.toShow=this.toShow.add(h)},errorsFor:function(b){var c=this.escapeCssMeta(this.idOrName(b)),d=a(b).attr("aria-describedby"),e="label[for='"+c+"'], label[for='"+c+"'] *";return d&&(e=e+", #"+this.escapeCssMeta(d).replace(/\s+/g,", #")),this.errors().filter(e)},escapeCssMeta:function(a){return a.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(a){return this.groups[a.name]||(this.checkable(a)?a.name:a.id||a.name)},validationTargetFor:function(b){return this.checkable(b)&&(b=this.findByName(b.name)),a(b).not(this.settings.ignore)[0]},checkable:function(a){return/radio|checkbox/i.test(a.type)},findByName:function(b){return a(this.currentForm).find("[name='"+this.escapeCssMeta(b)+"']")},getLength:function(b,c){switch(c.nodeName.toLowerCase()){case"select":return a("option:selected",c).length;case"input":if(this.checkable(c))return this.findByName(c.name).filter(":checked").length}return b.length},depend:function(a,b){return this.dependTypes[typeof a]?this.dependTypes[typeof a](a,b):!0},dependTypes:{"boolean":function(a){return a},string:function(b,c){return!!a(b,c.form).length},"function":function(a,b){return a(b)}},optional:function(b){var c=this.elementValue(b);return!a.validator.methods.required.call(this,c,b)&&"dependency-mismatch"},startRequest:function(b){this.pending[b.name]||(this.pendingRequest++,a(b).addClass(this.settings.pendingClass),this.pending[b.name]=!0)},stopRequest:function(b,c){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[b.name],a(b).removeClass(this.settings.pendingClass),c&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(a(this.currentForm).submit(),this.formSubmitted=!1):!c&&0===this.pendingRequest&&this.formSubmitted&&(a(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(b,c){return a.data(b,"previousValue")||a.data(b,"previousValue",{old:null,valid:!0,message:this.defaultMessage(b,{method:c})})},destroy:function(){this.resetForm(),a(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(b,c){b.constructor===String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b)},classRules:function(b){var c={},d=a(b).attr("class");return d&&a.each(d.split(" "),function(){this in a.validator.classRuleSettings&&a.extend(c,a.validator.classRuleSettings[this])}),c},normalizeAttributeRule:function(a,b,c,d){/min|max|step/.test(c)&&(null===b||/number|range|text/.test(b))&&(d=Number(d),isNaN(d)&&(d=void 0)),d||0===d?a[c]=d:b===c&&"range"!==b&&(a[c]=!0)},attributeRules:function(b){var c,d,e={},f=a(b),g=b.getAttribute("type");for(c in a.validator.methods)"required"===c?(d=b.getAttribute(c),""===d&&(d=!0),d=!!d):d=f.attr(c),this.normalizeAttributeRule(e,g,c,d);return e.maxlength&&/-1|2147483647|524288/.test(e.maxlength)&&delete e.maxlength,e},dataRules:function(b){var c,d,e={},f=a(b),g=b.getAttribute("type");for(c in a.validator.methods)d=f.data("rule"+c.charAt(0).toUpperCase()+c.substring(1).toLowerCase()),this.normalizeAttributeRule(e,g,c,d);return e},staticRules:function(b){var c={},d=a.data(b.form,"validator");return d.settings.rules&&(c=a.validator.normalizeRule(d.settings.rules[b.name])||{}),c},normalizeRules:function(b,c){return a.each(b,function(d,e){if(e===!1)return void delete b[d];if(e.param||e.depends){var f=!0;switch(typeof e.depends){case"string":f=!!a(e.depends,c.form).length;break;case"function":f=e.depends.call(c,c)}f?b[d]=void 0!==e.param?e.param:!0:(a.data(c.form,"validator").resetElements(a(c)),delete b[d])}}),a.each(b,function(d,e){b[d]=a.isFunction(e)&&"normalizer"!==d?e(c):e}),a.each(["minlength","maxlength"],function(){b[this]&&(b[this]=Number(b[this]))}),a.each(["rangelength","range"],function(){var c;b[this]&&(a.isArray(b[this])?b[this]=[Number(b[this][0]),Number(b[this][1])]:"string"==typeof b[this]&&(c=b[this].replace(/[\[\]]/g,"").split(/[\s,]+/),b[this]=[Number(c[0]),Number(c[1])]))}),a.validator.autoCreateRanges&&(null!=b.min&&null!=b.max&&(b.range=[b.min,b.max],delete b.min,delete b.max),null!=b.minlength&&null!=b.maxlength&&(b.rangelength=[b.minlength,b.maxlength],delete b.minlength,delete b.maxlength)),b},normalizeRule:function(b){if("string"==typeof b){var c={};a.each(b.split(/\s/),function(){c[this]=!0}),b=c}return b},addMethod:function(b,c,d){a.validator.methods[b]=c,a.validator.messages[b]=void 0!==d?d:a.validator.messages[b],c.length<3&&a.validator.addClassRules(b,a.validator.normalizeRule(b))},methods:{required:function(b,c,d){if(!this.depend(d,c))return"dependency-mismatch";if("select"===c.nodeName.toLowerCase()){var e=a(c).val();return e&&e.length>0}return this.checkable(c)?this.getLength(b,c)>0:b.length>0},email:function(a,b){return this.optional(b)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(a)},url:function(a,b){return this.optional(b)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(a)},date:function(a,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(a).toString())},dateISO:function(a,b){return this.optional(b)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(a)},number:function(a,b){return this.optional(b)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(a)},digits:function(a,b){return this.optional(b)||/^\d+$/.test(a)},minlength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||e>=d},maxlength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||d>=e},rangelength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||e>=d[0]&&e<=d[1]},min:function(a,b,c){return this.optional(b)||a>=c},max:function(a,b,c){return this.optional(b)||c>=a},range:function(a,b,c){return this.optional(b)||a>=c[0]&&a<=c[1]},step:function(b,c,d){var e=a(c).attr("type"),f="Step attribute on input type "+e+" is not supported.",g=["text","number","range"],h=new RegExp("\\b"+e+"\\b"),i=e&&!h.test(g.join());if(i)throw new Error(f);return this.optional(c)||b%d===0},equalTo:function(b,c,d){var e=a(d);return this.settings.onfocusout&&e.not(".validate-equalTo-blur").length&&e.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){a(c).valid()}),b===e.val()},remote:function(b,c,d,e){if(this.optional(c))return"dependency-mismatch";e="string"==typeof e&&e||"remote";var f,g,h,i=this.previousValue(c,e);return this.settings.messages[c.name]||(this.settings.messages[c.name]={}),i.originalMessage=i.originalMessage||this.settings.messages[c.name][e],this.settings.messages[c.name][e]=i.message,d="string"==typeof d&&{url:d}||d,h=a.param(a.extend({data:b},d.data)),i.old===h?i.valid:(i.old=h,f=this,this.startRequest(c),g={},g[c.name]=b,a.ajax(a.extend(!0,{mode:"abort",port:"validate"+c.name,dataType:"json",data:g,context:f.currentForm,success:function(a){var d,g,h,j=a===!0||"true"===a;f.settings.messages[c.name][e]=i.originalMessage,j?(h=f.formSubmitted,f.resetInternals(),f.toHide=f.errorsFor(c),f.formSubmitted=h,f.successList.push(c),f.invalid[c.name]=!1,f.showErrors()):(d={},g=a||f.defaultMessage(c,{method:e,parameters:b}),d[c.name]=i.message=g,f.invalid[c.name]=!0,f.showErrors(d)),i.valid=j,f.stopRequest(c,j)}},d)),"pending")}}});var b,c={};a.ajaxPrefilter?a.ajaxPrefilter(function(a,b,d){var e=a.port;"abort"===a.mode&&(c[e]&&c[e].abort(),c[e]=d)}):(b=a.ajax,a.ajax=function(d){var e=("mode"in d?d:a.ajaxSettings).mode,f=("port"in d?d:a.ajaxSettings).port;return"abort"===e?(c[f]&&c[f].abort(),c[f]=b.apply(this,arguments),c[f]):b.apply(this,arguments)})});(function($){"use strict";$.extend($.validator.messages,{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date ( ISO ).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:$.validator.format("Please enter no more than {0} characters."),minlength:$.validator.format("Please enter at least {0} characters."),rangelength:$.validator.format("Please enter a value between {0} and {1} characters long."),range:$.validator.format("Please enter a value between {0} and {1}."),max:$.validator.format("Please enter a value less than or equal to {0}."),min:$.validator.format("Please enter a value greater than or equal to {0}."),step:$.validator.format("Please enter a multiple of {0}.")})})(jQuery);/*! * Isotope PACKAGED v3.0.6 * * Licensed GPLv3 for open source use * or Isotope Commercial License for commercial use * * https://isotope.metafizzy.co * Copyright 2010-2018 Metafizzy * * Edited by Qode: enabled initialization in iframe * Added isElement function to be used instead of instanceof HTMLElement on line 214 (unminified version) */ !function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?function(t,e,o){var n,s="$()."+i+'("'+e+'")';return t.each(function(t,u){var h=a.data(u,i);if(h){var l=h[e];if(l&&"_"!=e.charAt(0)){var d=l.apply(h,o);n=void 0===n?d:n}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==n?n:t}(this,t,n.call(arguments,1)):(function(t,e){t.each(function(t,o){var n=a.data(o,i);n?(n.option(e),n._init()):(n=new s(o,e),a.data(o,i,n))})}(this,t),this)},o(a))}function o(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return o(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return-1==o.indexOf(e)&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return-1!=o&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n];o&&o[s]&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(t){var e=getComputedStyle(t);return e||s("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function i(){if(!u){u=!0;var i=document.createElement("div");i.style.width="200px",i.style.padding="1px 2px 3px 4px",i.style.borderStyle="solid",i.style.borderWidth="1px 2px 3px 4px",i.style.boxSizing="border-box";var s=document.body||document.documentElement;s.appendChild(i);var r=e(i);n=200==Math.round(t(r.width)),o.isBoxSizeOuter=n,s.removeChild(i)}}function o(o){if(i(),"string"==typeof o&&(o=document.querySelector(o)),o&&"object"==typeof o&&o.nodeType){var s=e(o);if("none"==s.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<a;e++)t[r[e]]=0;return t}();var u={};u.width=o.offsetWidth,u.height=o.offsetHeight;for(var h=u.isBorderBox="border-box"==s.boxSizing,l=0;l<a;l++){var d=r[l],f=s[d],c=parseFloat(f);u[d]=isNaN(c)?0:c}var m=u.paddingLeft+u.paddingRight,p=u.paddingTop+u.paddingBottom,y=u.marginLeft+u.marginRight,g=u.marginTop+u.marginBottom,v=u.borderLeftWidth+u.borderRightWidth,_=u.borderTopWidth+u.borderBottomWidth,z=h&&n,I=t(s.width);!1!==I&&(u.width=I+(z?0:m+v));var x=t(s.height);return!1!==x&&(u.height=x+(z?0:p+_)),u.innerWidth=u.width-(m+v),u.innerHeight=u.height-(p+_),u.outerWidth=u.width+y,u.outerHeight=u.height+g,u}}var n,s="undefined"==typeof console?function(){}:function(t){console.error(t)},r=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],a=r.length,u=!1;return o}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},o=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?o.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,o){t=i.makeArray(t);var n=[];return t.forEach(function(t){if((r=t)&&"object"==typeof r&&null!==r&&1===r.nodeType&&"string"==typeof r.nodeName){if(!o)return void n.push(t);e(t,o)&&n.push(t);for(var i=t.querySelectorAll(o),s=0;s<i.length;s++)n.push(i[s])}var r}),n},i.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout(function(){o.apply(s,e),delete s[n]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var s=i.toDashed(o),r="data-"+s,a=document.querySelectorAll("["+r+"]"),u=document.querySelectorAll(".js-"+s),h=i.makeArray(a).concat(i.makeArray(u)),l=r+"-options",d=t.jQuery;h.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(l);try{i=s&&JSON.parse(s)}catch(e){return void(n&&n.error("Error parsing "+r+" on "+t.className+": "+e))}var a=new e(t,i);d&&d.data(t,o,a)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var o=document.documentElement.style,n="string"==typeof o.transition?"transition":"WebkitTransition",s="string"==typeof o.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],a={transform:s,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"},u=i.prototype=Object.create(t.prototype);u.constructor=i,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.getSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){e[a[i]||i]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=parseFloat(o),r=parseFloat(n),a=this.layout.size;-1!=o.indexOf("%")&&(s=s/100*a.width),-1!=n.indexOf("%")&&(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";var u=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",l=o?"bottom":"top",d=this.position.y+t[u];e[h]=this.getYValue(d),e[l]="",this.css(e),this.emitEvent("layout",[this])},u.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},u.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},u._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!n||this.isTransitioning){var s=t-i,r=e-o,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},u.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},u._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var h="opacity,"+function(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}(s);u.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:h,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1)}},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var l={"-webkit-transform":"transform"};u.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=l[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(d)},u.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){return n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},u.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},u.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,o,n,s){return e(t,i,o,n,s)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n){"use strict";function s(t,e){var i=o.getQueryElement(t);if(i){this.element=i,u&&(this.$element=u(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++l;this.element.outlayerGUID=n,d[n]=this,this._create(),this._getOption("initLayout")&&this.layout()}else a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function r(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}var a=t.console,u=t.jQuery,h=function(){},l=0,d={};s.namespace="outlayer",s.Item=n,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=s.prototype;o.extend(f,e.prototype),f.option=function(t){o.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=new i(e[n],this);o.push(s)}return o},f._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var o,n=this.options[t];n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)},this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];return i.length?(i=parseFloat(i))*(c[o]||1):0}(t),this.stagger)},f._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},f._getContainerSize=h,f._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},f._emitCompleteOnItems=function(t,e){function i(){n.dispatchEvent(t+"Complete",null,[e])}function o(){++r==s&&i()}var n=this,s=e.length;if(e&&s){var r=0;e.forEach(function(e){e.once(t,o)})}else i()},f.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),u)if(this.$element=this.$element||u(this.element),e){var n=u.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),o.makeArray(t)},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=h,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t);return{left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom}},f.handleEvent=o.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},o.debounceMethod(s,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete d[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},s.data=function(t){var e=(t=o.getQueryElement(t))&&t.outlayerGUID;return e&&d[e]},s.create=function(t,e){var i=r(s);return i.defaults=o.extend({},s.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=r(n),o.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var c={ms:1,s:1e3};return s.Item=n,s}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var o=i.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o;s=Math[r&&r<1?"round":"floor"](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var o=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),n={x:this.columnWidth*o.col,y:o.y},s=o.y+t.size.outerHeight,r=i+o.col,a=o.col;a<r;a++)this.colYs[a]=s;return n},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},o._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},o._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=t>1&&i+t>this.cols?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft")?o.left:o.right,s=n+i.outerWidth,r=Math.floor(n/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this._getOption("originTop")?o.top:o.bottom)+i.outerHeight,h=r;h<=a;h++)this.colYs[h]=Math.max(u,this.colYs[h])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(i,o,n,s,r,a){return e(t,i,o,n,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,o,n,s,r){var a=t.jQuery,u=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},h=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});h.Item=s,h.LayoutMode=r;var l=h.prototype;l._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){t[i].id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},l._bindArrangeComplete=function(){function t(){e&&i&&o&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}var e,i,o,n=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){o=!0,t()})},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(t){return a&&this.options.isJQueryFiltering?function(e){return a(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},l.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=d(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var d=function(){return function(t){if("string"!=typeof t)return t;var e=u(t).split(" "),i=e[0],o=i.match(/^\[(.+)\]$/),n=function(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}(o&&o[1],i),s=h.sortDataParsers[e[1]];return s?function(t){return t&&s(n(t))}:function(t){return t&&n(t)}}}();h.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=function(t,e){return function(i,o){for(var n=0;n<t.length;n++){var s=t[n],r=i.sortData[s],a=o.sortData[s];if(r>a||r<a)return(r>a?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var f=l.remove;return l.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);f.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},h});/*! Magnific Popup - v1.1.0 - 2016-02-20 * http://dimsemenov.com/plugins/magnific-popup/ * Copyright (c) 2016 Dmitry Semenov; */ !function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});/** * Owl carousel * @version 2.3.4 * @author Bartosz Wojciechowski * @author David Deutsch * @license The MIT License (MIT) * @todo Lazy Load Icon * @todo prevent animationend bubling * @todo itemsScaleUp * @todo Test Zepto * @todo stagePadding calculate wrong active classes */ ;(function($,window,document,undefined){"use strict";function Owl(element,options){this.settings=null;this.options=$.extend({},Owl.Defaults,options);this.$element=$(element);this._handlers={};this._plugins={};this._supress={};this._current=null;this._speed=null;this._coordinates=[];this._breakpoint=null;this._width=null;this._items=[];this._clones=[];this._mergers=[];this._widths=[];this._invalidated={};this._pipe=[];this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null};this._states={current:{},tags:{'initializing':['busy'],'animating':['busy'],'dragging':['interacting']}};$.each(['onResize','onThrottledResize'],$.proxy(function(i,handler){this._handlers[handler]=$.proxy(this[handler],this)},this));$.each(Owl.Plugins,$.proxy(function(key,plugin){this._plugins[key.charAt(0).toLowerCase()+key.slice(1)]=new plugin(this)},this));$.each(Owl.Workers,$.proxy(function(priority,worker){this._pipe.push({'filter':worker.filter,'run':$.proxy(worker.run,this)})},this));this.setup();this.initialize()} Owl.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:window,fallbackEasing:'swing',slideTransition:'',info:!1,nestedItemSelector:!1,itemElement:'div',stageElement:'div',refreshClass:'owl-refresh',loadedClass:'owl-loaded',loadingClass:'owl-loading',rtlClass:'owl-rtl',responsiveClass:'owl-responsive',dragClass:'owl-drag',itemClass:'owl-item',stageClass:'owl-stage',stageOuterClass:'owl-stage-outer',grabClass:'owl-grab'};Owl.Width={Default:'default',Inner:'inner',Outer:'outer'};Owl.Type={Event:'event',State:'state'};Owl.Plugins={};Owl.Workers=[{filter:['width','settings'],run:function(){this._width=this.$element.width()}},{filter:['width','items','settings'],run:function(cache){cache.current=this._items&&this._items[this.relative(this._current)]}},{filter:['items','settings'],run:function(){this.$stage.children('.cloned').remove()}},{filter:['width','items','settings'],run:function(cache){var margin=this.settings.margin||'',grid=!this.settings.autoWidth,rtl=this.settings.rtl,css={'width':'auto','margin-left':rtl?margin:'','margin-right':rtl?'':margin};!grid&&this.$stage.children().css(css);cache.css=css}},{filter:['width','items','settings'],run:function(cache){var width=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,merge=null,iterator=this._items.length,grid=!this.settings.autoWidth,widths=[];cache.items={merge:!1,width:width};while(iterator--){merge=this._mergers[iterator];merge=this.settings.mergeFit&&Math.min(merge,this.settings.items)||merge;cache.items.merge=merge>1||cache.items.merge;widths[iterator]=!grid?this._items[iterator].width():width*merge} this._widths=widths}},{filter:['items','settings'],run:function(){var clones=[],items=this._items,settings=this.settings,view=Math.max(settings.items*2,4),size=Math.ceil(items.length/2)*2,repeat=settings.loop&&items.length?settings.rewind?view:Math.max(view,size):0,append='',prepend='';repeat/=2;while(repeat>0){clones.push(this.normalize(clones.length/2,!0));append=append+items[clones[clones.length-1]][0].outerHTML;clones.push(this.normalize(items.length-1-(clones.length-1)/2,!0));prepend=items[clones[clones.length-1]][0].outerHTML+prepend;repeat-=1} this._clones=clones;$(append).addClass('cloned').appendTo(this.$stage);$(prepend).addClass('cloned').prependTo(this.$stage)}},{filter:['width','items','settings'],run:function(){var rtl=this.settings.rtl?1:-1,size=this._clones.length+this._items.length,iterator=-1,previous=0,current=0,coordinates=[];while(++iterator<size){previous=coordinates[iterator-1]||0;current=this._widths[this.relative(iterator)]+this.settings.margin;coordinates.push(previous+current*rtl)} this._coordinates=coordinates}},{filter:['width','items','settings'],run:function(){var padding=this.settings.stagePadding,coordinates=this._coordinates,css={'width':Math.ceil(Math.abs(coordinates[coordinates.length-1]))+padding*2,'padding-left':padding||'','padding-right':padding||''};this.$stage.css(css)}},{filter:['width','items','settings'],run:function(cache){var iterator=this._coordinates.length,grid=!this.settings.autoWidth,items=this.$stage.children();if(grid&&cache.items.merge){while(iterator--){cache.css.width=this._widths[this.relative(iterator)];items.eq(iterator).css(cache.css)}}else if(grid){cache.css.width=cache.items.width;items.css(cache.css)}}},{filter:['items'],run:function(){this._coordinates.length<1&&this.$stage.removeAttr('style')}},{filter:['width','items','settings'],run:function(cache){cache.current=cache.current?this.$stage.children().index(cache.current):0;cache.current=Math.max(this.minimum(),Math.min(this.maximum(),cache.current));this.reset(cache.current)}},{filter:['position'],run:function(){this.animate(this.coordinates(this._current))}},{filter:['width','position','items','settings'],run:function(){var rtl=this.settings.rtl?1:-1,padding=this.settings.stagePadding*2,begin=this.coordinates(this.current())+padding,end=begin+this.width()*rtl,inner,outer,matches=[],i,n;for(i=0,n=this._coordinates.length;i<n;i++){inner=this._coordinates[i-1]||0;outer=Math.abs(this._coordinates[i])+padding*rtl;if((this.op(inner,'<=',begin)&&(this.op(inner,'>',end)))||(this.op(outer,'<',begin)&&this.op(outer,'>',end))){matches.push(i)}} this.$stage.children('.active').removeClass('active');this.$stage.children(':eq('+matches.join('), :eq(')+')').addClass('active');this.$stage.children('.center').removeClass('center');if(this.settings.center){this.$stage.children().eq(this.current()).addClass('center')}}}];Owl.prototype.initializeStage=function(){this.$stage=this.$element.find('.'+this.settings.stageClass);if(this.$stage.length){return} this.$element.addClass(this.options.loadingClass);this.$stage=$('<'+this.settings.stageElement+'>',{"class":this.settings.stageClass}).wrap($('<div/>',{"class":this.settings.stageOuterClass}));this.$element.append(this.$stage.parent())};Owl.prototype.initializeItems=function(){var $items=this.$element.find('.owl-item');if($items.length){this._items=$items.get().map(function(item){return $(item)});this._mergers=this._items.map(function(){return 1});this.refresh();return} this.replace(this.$element.children().not(this.$stage.parent()));if(this.isVisible()){this.refresh()}else{this.invalidate('width')} this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)};Owl.prototype.initialize=function(){this.enter('initializing');this.trigger('initialize');this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl);if(this.settings.autoWidth&&!this.is('pre-loading')){var imgs,nestedSelector,width;imgs=this.$element.find('img');nestedSelector=this.settings.nestedItemSelector?'.'+this.settings.nestedItemSelector:undefined;width=this.$element.children(nestedSelector).width();if(imgs.length&&width<=0){this.preloadAutoWidthImages(imgs)}} this.initializeStage();this.initializeItems();this.registerEventHandlers();this.leave('initializing');this.trigger('initialized')};Owl.prototype.isVisible=function(){return this.settings.checkVisibility?this.$element.is(':visible'):!0};Owl.prototype.setup=function(){var viewport=this.viewport(),overwrites=this.options.responsive,match=-1,settings=null;if(!overwrites){settings=$.extend({},this.options)}else{$.each(overwrites,function(breakpoint){if(breakpoint<=viewport&&breakpoint>match){match=Number(breakpoint)}});settings=$.extend({},this.options,overwrites[match]);if(typeof settings.stagePadding==='function'){settings.stagePadding=settings.stagePadding()} delete settings.responsive;if(settings.responsiveClass){this.$element.attr('class',this.$element.attr('class').replace(new RegExp('('+this.options.responsiveClass+'-)\\S+\\s','g'),'$1'+match))}} this.trigger('change',{property:{name:'settings',value:settings}});this._breakpoint=match;this.settings=settings;this.invalidate('settings');this.trigger('changed',{property:{name:'settings',value:this.settings}})};Owl.prototype.optionsLogic=function(){if(this.settings.autoWidth){this.settings.stagePadding=!1;this.settings.merge=!1}};Owl.prototype.prepare=function(item){var event=this.trigger('prepare',{content:item});if(!event.data){event.data=$('<'+this.settings.itemElement+'/>').addClass(this.options.itemClass).append(item)} this.trigger('prepared',{content:event.data});return event.data};Owl.prototype.update=function(){var i=0,n=this._pipe.length,filter=$.proxy(function(p){return this[p]},this._invalidated),cache={};while(i<n){if(this._invalidated.all||$.grep(this._pipe[i].filter,filter).length>0){this._pipe[i].run(cache)} i++} this._invalidated={};!this.is('valid')&&this.enter('valid')};Owl.prototype.width=function(dimension){dimension=dimension||Owl.Width.Default;switch(dimension){case Owl.Width.Inner:case Owl.Width.Outer:return this._width;default:return this._width-this.settings.stagePadding*2+this.settings.margin}};Owl.prototype.refresh=function(){this.enter('refreshing');this.trigger('refresh');this.setup();this.optionsLogic();this.$element.addClass(this.options.refreshClass);this.update();this.$element.removeClass(this.options.refreshClass);this.leave('refreshing');this.trigger('refreshed')};Owl.prototype.onThrottledResize=function(){window.clearTimeout(this.resizeTimer);this.resizeTimer=window.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)};Owl.prototype.onResize=function(){if(!this._items.length){return!1} if(this._width===this.$element.width()){return!1} if(!this.isVisible()){return!1} this.enter('resizing');if(this.trigger('resize').isDefaultPrevented()){this.leave('resizing');return!1} this.invalidate('width');this.refresh();this.leave('resizing');this.trigger('resized')};Owl.prototype.registerEventHandlers=function(){if($.support.transition){this.$stage.on($.support.transition.end+'.owl.core',$.proxy(this.onTransitionEnd,this))} if(this.settings.responsive!==!1){this.on(window,'resize',this._handlers.onThrottledResize)} if(this.settings.mouseDrag){this.$element.addClass(this.options.dragClass);this.$stage.on('mousedown.owl.core',$.proxy(this.onDragStart,this));this.$stage.on('dragstart.owl.core selectstart.owl.core',function(){return!1})} if(this.settings.touchDrag){this.$stage.on('touchstart.owl.core',$.proxy(this.onDragStart,this));this.$stage.on('touchcancel.owl.core',$.proxy(this.onDragEnd,this))}};Owl.prototype.onDragStart=function(event){var stage=null;if(event.which===3){return} if($.support.transform){stage=this.$stage.css('transform').replace(/.*\(|\)| /g,'').split(',');stage={x:stage[stage.length===16?12:4],y:stage[stage.length===16?13:5]}}else{stage=this.$stage.position();stage={x:this.settings.rtl?stage.left+this.$stage.width()-this.width()+this.settings.margin:stage.left,y:stage.top}} if(this.is('animating')){$.support.transform?this.animate(stage.x):this.$stage.stop() this.invalidate('position')} this.$element.toggleClass(this.options.grabClass,event.type==='mousedown');this.speed(0);this._drag.time=new Date().getTime();this._drag.target=$(event.target);this._drag.stage.start=stage;this._drag.stage.current=stage;this._drag.pointer=this.pointer(event);$(document).on('mouseup.owl.core touchend.owl.core',$.proxy(this.onDragEnd,this));$(document).one('mousemove.owl.core touchmove.owl.core',$.proxy(function(event){var delta=this.difference(this._drag.pointer,this.pointer(event));$(document).on('mousemove.owl.core touchmove.owl.core',$.proxy(this.onDragMove,this));if(Math.abs(delta.x)<Math.abs(delta.y)&&this.is('valid')){return} event.preventDefault();this.enter('dragging');this.trigger('drag')},this))};Owl.prototype.onDragMove=function(event){var minimum=null,maximum=null,pull=null,delta=this.difference(this._drag.pointer,this.pointer(event)),stage=this.difference(this._drag.stage.start,delta);if(!this.is('dragging')){return} event.preventDefault();if(this.settings.loop){minimum=this.coordinates(this.minimum());maximum=this.coordinates(this.maximum()+1)-minimum;stage.x=(((stage.x-minimum)%maximum+maximum)%maximum)+minimum}else{minimum=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum());maximum=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum());pull=this.settings.pullDrag?-1*delta.x/5:0;stage.x=Math.max(Math.min(stage.x,minimum+pull),maximum+pull)} this._drag.stage.current=stage;this.animate(stage.x)};Owl.prototype.onDragEnd=function(event){var delta=this.difference(this._drag.pointer,this.pointer(event)),stage=this._drag.stage.current,direction=delta.x>0^this.settings.rtl?'left':'right';$(document).off('.owl.core');this.$element.removeClass(this.options.grabClass);if(delta.x!==0&&this.is('dragging')||!this.is('valid')){this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed);this.current(this.closest(stage.x,delta.x!==0?direction:this._drag.direction));this.invalidate('position');this.update();this._drag.direction=direction;if(Math.abs(delta.x)>3||new Date().getTime()-this._drag.time>300){this._drag.target.one('click.owl.core',function(){return!1})}} if(!this.is('dragging')){return} this.leave('dragging');this.trigger('dragged')};Owl.prototype.closest=function(coordinate,direction){var position=-1,pull=30,width=this.width(),coordinates=this.coordinates();if(!this.settings.freeDrag){$.each(coordinates,$.proxy(function(index,value){if(direction==='left'&&coordinate>value-pull&&coordinate<value+pull){position=index}else if(direction==='right'&&coordinate>value-width-pull&&coordinate<value-width+pull){position=index+1}else if(this.op(coordinate,'<',value)&&this.op(coordinate,'>',coordinates[index+1]!==undefined?coordinates[index+1]:value-width)){position=direction==='left'?index+1:index} return position===-1},this))} if(!this.settings.loop){if(this.op(coordinate,'>',coordinates[this.minimum()])){position=coordinate=this.minimum()}else if(this.op(coordinate,'<',coordinates[this.maximum()])){position=coordinate=this.maximum()}} return position};Owl.prototype.animate=function(coordinate){var animate=this.speed()>0;this.is('animating')&&this.onTransitionEnd();if(animate){this.enter('animating');this.trigger('translate')} if($.support.transform3d&&$.support.transition){this.$stage.css({transform:'translate3d('+coordinate+'px,0px,0px)',transition:(this.speed()/1000)+'s'+(this.settings.slideTransition?' '+this.settings.slideTransition:'')})}else if(animate){this.$stage.animate({left:coordinate+'px'},this.speed(),this.settings.fallbackEasing,$.proxy(this.onTransitionEnd,this))}else{this.$stage.css({left:coordinate+'px'})}};Owl.prototype.is=function(state){return this._states.current[state]&&this._states.current[state]>0};Owl.prototype.current=function(position){if(position===undefined){return this._current} if(this._items.length===0){return undefined} position=this.normalize(position);if(this._current!==position){var event=this.trigger('change',{property:{name:'position',value:position}});if(event.data!==undefined){position=this.normalize(event.data)} this._current=position;this.invalidate('position');this.trigger('changed',{property:{name:'position',value:this._current}})} return this._current};Owl.prototype.invalidate=function(part){if($.type(part)==='string'){this._invalidated[part]=!0;this.is('valid')&&this.leave('valid')} return $.map(this._invalidated,function(v,i){return i})};Owl.prototype.reset=function(position){position=this.normalize(position);if(position===undefined){return} this._speed=0;this._current=position;this.suppress(['translate','translated']);this.animate(this.coordinates(position));this.release(['translate','translated'])};Owl.prototype.normalize=function(position,relative){var n=this._items.length,m=relative?0:this._clones.length;if(!this.isNumeric(position)||n<1){position=undefined}else if(position<0||position>=n+m){position=((position-m/2)%n+n)%n+m/2} return position};Owl.prototype.relative=function(position){position-=this._clones.length/2;return this.normalize(position,!0)};Owl.prototype.maximum=function(relative){var settings=this.settings,maximum=this._coordinates.length,iterator,reciprocalItemsWidth,elementWidth;if(settings.loop){maximum=this._clones.length/2+this._items.length-1}else if(settings.autoWidth||settings.merge){iterator=this._items.length;if(iterator){reciprocalItemsWidth=this._items[--iterator].width();elementWidth=this.$element.width();while(iterator--){reciprocalItemsWidth+=this._items[iterator].width()+this.settings.margin;if(reciprocalItemsWidth>elementWidth){break}}} maximum=iterator+1}else if(settings.center){maximum=this._items.length-1}else{maximum=this._items.length-settings.items} if(relative){maximum-=this._clones.length/2} return Math.max(maximum,0)};Owl.prototype.minimum=function(relative){return relative?0:this._clones.length/2};Owl.prototype.items=function(position){if(position===undefined){return this._items.slice()} position=this.normalize(position,!0);return this._items[position]};Owl.prototype.mergers=function(position){if(position===undefined){return this._mergers.slice()} position=this.normalize(position,!0);return this._mergers[position]};Owl.prototype.clones=function(position){var odd=this._clones.length/2,even=odd+this._items.length,map=function(index){return index%2===0?even+index/2:odd-(index+1)/2};if(position===undefined){return $.map(this._clones,function(v,i){return map(i)})} return $.map(this._clones,function(v,i){return v===position?map(i):null})};Owl.prototype.speed=function(speed){if(speed!==undefined){this._speed=speed} return this._speed};Owl.prototype.coordinates=function(position){var multiplier=1,newPosition=position-1,coordinate;if(position===undefined){return $.map(this._coordinates,$.proxy(function(coordinate,index){return this.coordinates(index)},this))} if(this.settings.center){if(this.settings.rtl){multiplier=-1;newPosition=position+1} coordinate=this._coordinates[position];coordinate+=(this.width()-coordinate+(this._coordinates[newPosition]||0))/2*multiplier}else{coordinate=this._coordinates[newPosition]||0} coordinate=Math.ceil(coordinate);return coordinate};Owl.prototype.duration=function(from,to,factor){if(factor===0){return 0} return Math.min(Math.max(Math.abs(to-from),1),6)*Math.abs((factor||this.settings.smartSpeed))};Owl.prototype.to=function(position,speed){var current=this.current(),revert=null,distance=position-this.relative(current),direction=(distance>0)-(distance<0),items=this._items.length,minimum=this.minimum(),maximum=this.maximum();if(this.settings.loop){if(!this.settings.rewind&&Math.abs(distance)>items/2){distance+=direction*-1*items} position=current+distance;revert=((position-minimum)%items+items)%items+minimum;if(revert!==position&&revert-distance<=maximum&&revert-distance>0){current=revert-distance;position=revert;this.reset(current)}}else if(this.settings.rewind){maximum+=1;position=(position%maximum+maximum)%maximum}else{position=Math.max(minimum,Math.min(maximum,position))} this.speed(this.duration(current,position,speed));this.current(position);if(this.isVisible()){this.update()}};Owl.prototype.next=function(speed){speed=speed||!1;this.to(this.relative(this.current())+1,speed)};Owl.prototype.prev=function(speed){speed=speed||!1;this.to(this.relative(this.current())-1,speed)};Owl.prototype.onTransitionEnd=function(event){if(event!==undefined){event.stopPropagation();if((event.target||event.srcElement||event.originalTarget)!==this.$stage.get(0)){return!1}} this.leave('animating');this.trigger('translated')};Owl.prototype.viewport=function(){var width;if(this.options.responsiveBaseElement!==window){width=$(this.options.responsiveBaseElement).width()}else if(window.innerWidth){width=window.innerWidth}else if(document.documentElement&&document.documentElement.clientWidth){width=document.documentElement.clientWidth}else{console.warn('Can not detect viewport width.')} return width};Owl.prototype.replace=function(content){this.$stage.empty();this._items=[];if(content){content=(content instanceof jQuery)?content:$(content)} if(this.settings.nestedItemSelector){content=content.find('.'+this.settings.nestedItemSelector)} content.filter(function(){return this.nodeType===1}).each($.proxy(function(index,item){item=this.prepare(item);this.$stage.append(item);this._items.push(item);this._mergers.push(item.find('[data-merge]').addBack('[data-merge]').attr('data-merge')*1||1)},this));this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0);this.invalidate('items')};Owl.prototype.add=function(content,position){var current=this.relative(this._current);position=position===undefined?this._items.length:this.normalize(position,!0);content=content instanceof jQuery?content:$(content);this.trigger('add',{content:content,position:position});content=this.prepare(content);if(this._items.length===0||position===this._items.length){this._items.length===0&&this.$stage.append(content);this._items.length!==0&&this._items[position-1].after(content);this._items.push(content);this._mergers.push(content.find('[data-merge]').addBack('[data-merge]').attr('data-merge')*1||1)}else{this._items[position].before(content);this._items.splice(position,0,content);this._mergers.splice(position,0,content.find('[data-merge]').addBack('[data-merge]').attr('data-merge')*1||1)} this._items[current]&&this.reset(this._items[current].index());this.invalidate('items');this.trigger('added',{content:content,position:position})};Owl.prototype.remove=function(position){position=this.normalize(position,!0);if(position===undefined){return} this.trigger('remove',{content:this._items[position],position:position});this._items[position].remove();this._items.splice(position,1);this._mergers.splice(position,1);this.invalidate('items');this.trigger('removed',{content:null,position:position})};Owl.prototype.preloadAutoWidthImages=function(images){images.each($.proxy(function(i,element){this.enter('pre-loading');element=$(element);$(new Image()).one('load',$.proxy(function(e){element.attr('src',e.target.src);element.css('opacity',1);this.leave('pre-loading');!this.is('pre-loading')&&!this.is('initializing')&&this.refresh()},this)).attr('src',element.attr('src')||element.attr('data-src')||element.attr('data-src-retina'))},this))};Owl.prototype.destroy=function(){this.$element.off('.owl.core');this.$stage.off('.owl.core');$(document).off('.owl.core');if(this.settings.responsive!==!1){window.clearTimeout(this.resizeTimer);this.off(window,'resize',this._handlers.onThrottledResize)} for(var i in this._plugins){this._plugins[i].destroy()} this.$stage.children('.cloned').remove();this.$stage.unwrap();this.$stage.children().contents().unwrap();this.$stage.children().unwrap();this.$stage.remove();this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr('class',this.$element.attr('class').replace(new RegExp(this.options.responsiveClass+'-\\S+\\s','g'),'')).removeData('owl.carousel')};Owl.prototype.op=function(a,o,b){var rtl=this.settings.rtl;switch(o){case '<':return rtl?a>b:a<b;case '>':return rtl?a<b:a>b;case '>=':return rtl?a<=b:a>=b;case '<=':return rtl?a>=b:a<=b;default:break}};Owl.prototype.on=function(element,event,listener,capture){if(element.addEventListener){element.addEventListener(event,listener,capture)}else if(element.attachEvent){element.attachEvent('on'+event,listener)}};Owl.prototype.off=function(element,event,listener,capture){if(element.removeEventListener){element.removeEventListener(event,listener,capture)}else if(element.detachEvent){element.detachEvent('on'+event,listener)}};Owl.prototype.trigger=function(name,data,namespace,state,enter){var status={item:{count:this._items.length,index:this.current()}},handler=$.camelCase($.grep(['on',name,namespace],function(v){return v}).join('-').toLowerCase()),event=$.Event([name,'owl',namespace||'carousel'].join('.').toLowerCase(),$.extend({relatedTarget:this},status,data));if(!this._supress[name]){$.each(this._plugins,function(name,plugin){if(plugin.onTrigger){plugin.onTrigger(event)}});this.register({type:Owl.Type.Event,name:name});this.$element.trigger(event);if(this.settings&&typeof this.settings[handler]==='function'){this.settings[handler].call(this,event)}} return event};Owl.prototype.enter=function(name){$.each([name].concat(this._states.tags[name]||[]),$.proxy(function(i,name){if(this._states.current[name]===undefined){this._states.current[name]=0} this._states.current[name]++},this))};Owl.prototype.leave=function(name){$.each([name].concat(this._states.tags[name]||[]),$.proxy(function(i,name){this._states.current[name]--},this))};Owl.prototype.register=function(object){if(object.type===Owl.Type.Event){if(!$.event.special[object.name]){$.event.special[object.name]={}} if(!$.event.special[object.name].owl){var _default=$.event.special[object.name]._default;$.event.special[object.name]._default=function(e){if(_default&&_default.apply&&(!e.namespace||e.namespace.indexOf('owl')===-1)){return _default.apply(this,arguments)} return e.namespace&&e.namespace.indexOf('owl')>-1};$.event.special[object.name].owl=!0}}else if(object.type===Owl.Type.State){if(!this._states.tags[object.name]){this._states.tags[object.name]=object.tags}else{this._states.tags[object.name]=this._states.tags[object.name].concat(object.tags)} this._states.tags[object.name]=$.grep(this._states.tags[object.name],$.proxy(function(tag,i){return $.inArray(tag,this._states.tags[object.name])===i},this))}};Owl.prototype.suppress=function(events){$.each(events,$.proxy(function(index,event){this._supress[event]=!0},this))};Owl.prototype.release=function(events){$.each(events,$.proxy(function(index,event){delete this._supress[event]},this))};Owl.prototype.pointer=function(event){var result={x:null,y:null};event=event.originalEvent||event||window.event;event=event.touches&&event.touches.length?event.touches[0]:event.changedTouches&&event.changedTouches.length?event.changedTouches[0]:event;if(event.pageX){result.x=event.pageX;result.y=event.pageY}else{result.x=event.clientX;result.y=event.clientY} return result};Owl.prototype.isNumeric=function(number){return!isNaN(parseFloat(number))};Owl.prototype.difference=function(first,second){return{x:first.x-second.x,y:first.y-second.y}};$.fn.owlCarousel=function(option){var args=Array.prototype.slice.call(arguments,1);return this.each(function(){var $this=$(this),data=$this.data('owl.carousel');if(!data){data=new Owl(this,typeof option=='object'&&option);$this.data('owl.carousel',data);$.each(['next','prev','to','destroy','refresh','replace','add','remove'],function(i,event){data.register({type:Owl.Type.Event,name:event});data.$element.on(event+'.owl.carousel.core',$.proxy(function(e){if(e.namespace&&e.relatedTarget!==this){this.suppress([event]);data[event].apply(this,[].slice.call(arguments,1));this.release([event])}},data))})} if(typeof option=='string'&&option.charAt(0)!=='_'){data[option].apply(data,args)}})};$.fn.owlCarousel.Constructor=Owl})(window.Zepto||window.jQuery,window,document); /** * AutoRefresh Plugin * @version 2.3.4 * @author Artus Kolanowski * @author David Deutsch * @license The MIT License (MIT) */ ;(function($,window,document,undefined){var AutoRefresh=function(carousel){this._core=carousel;this._interval=null;this._visible=null;this._handlers={'initialized.owl.carousel':$.proxy(function(e){if(e.namespace&&this._core.settings.autoRefresh){this.watch()}},this)};this._core.options=$.extend({},AutoRefresh.Defaults,this._core.options);this._core.$element.on(this._handlers)};AutoRefresh.Defaults={autoRefresh:!0,autoRefreshInterval:500};AutoRefresh.prototype.watch=function(){if(this._interval){return} this._visible=this._core.isVisible();this._interval=window.setInterval($.proxy(this.refresh,this),this._core.settings.autoRefreshInterval)};AutoRefresh.prototype.refresh=function(){if(this._core.isVisible()===this._visible){return} this._visible=!this._visible;this._core.$element.toggleClass('owl-hidden',!this._visible);this._visible&&(this._core.invalidate('width')&&this._core.refresh())};AutoRefresh.prototype.destroy=function(){var handler,property;window.clearInterval(this._interval);for(handler in this._handlers){this._core.$element.off(handler,this._handlers[handler])} for(property in Object.getOwnPropertyNames(this)){typeof this[property]!='function'&&(this[property]=null)}};$.fn.owlCarousel.Constructor.Plugins.AutoRefresh=AutoRefresh})(window.Zepto||window.jQuery,window,document); /** * Lazy Plugin * @version 2.3.4 * @author Bartosz Wojciechowski * @author David Deutsch * @license The MIT License (MIT) */ ;(function($,window,document,undefined){var Lazy=function(carousel){this._core=carousel;this._loaded=[];this._handlers={'initialized.owl.carousel change.owl.carousel resized.owl.carousel':$.proxy(function(e){if(!e.namespace){return} if(!this._core.settings||!this._core.settings.lazyLoad){return} if((e.property&&e.property.name=='position')||e.type=='initialized'){var settings=this._core.settings,n=(settings.center&&Math.ceil(settings.items/2)||settings.items),i=((settings.center&&n*-1)||0),position=(e.property&&e.property.value!==undefined?e.property.value:this._core.current())+i,clones=this._core.clones().length,load=$.proxy(function(i,v){this.load(v)},this);if(settings.lazyLoadEager>0){n+=settings.lazyLoadEager;if(settings.loop){position-=settings.lazyLoadEager;n++}} while(i++<n){this.load(clones/2+this._core.relative(position));clones&&$.each(this._core.clones(this._core.relative(position)),load);position++}}},this)};this._core.options=$.extend({},Lazy.Defaults,this._core.options);this._core.$element.on(this._handlers)};Lazy.Defaults={lazyLoad:!1,lazyLoadEager:0};Lazy.prototype.load=function(position){var $item=this._core.$stage.children().eq(position),$elements=$item&&$item.find('.owl-lazy');if(!$elements||$.inArray($item.get(0),this._loaded)>-1){return} $elements.each($.proxy(function(index,element){var $element=$(element),image,url=(window.devicePixelRatio>1&&$element.attr('data-src-retina'))||$element.attr('data-src')||$element.attr('data-srcset');this._core.trigger('load',{element:$element,url:url},'lazy');if($element.is('img')){$element.one('load.owl.lazy',$.proxy(function(){$element.css('opacity',1);this._core.trigger('loaded',{element:$element,url:url},'lazy')},this)).attr('src',url)}else if($element.is('source')){$element.one('load.owl.lazy',$.proxy(function(){this._core.trigger('loaded',{element:$element,url:url},'lazy')},this)).attr('srcset',url)}else{image=new Image();image.onload=$.proxy(function(){$element.css({'background-image':'url("'+url+'")','opacity':'1'});this._core.trigger('loaded',{element:$element,url:url},'lazy')},this);image.src=url}},this));this._loaded.push($item.get(0))};Lazy.prototype.destroy=function(){var handler,property;for(handler in this.handlers){this._core.$element.off(handler,this.handlers[handler])} for(property in Object.getOwnPropertyNames(this)){typeof this[property]!='function'&&(this[property]=null)}};$.fn.owlCarousel.Constructor.Plugins.Lazy=Lazy})(window.Zepto||window.jQuery,window,document); /** * AutoHeight Plugin * @version 2.3.4 * @author Bartosz Wojciechowski * @author David Deutsch * @license The MIT License (MIT) */ ;(function($,window,document,undefined){var AutoHeight=function(carousel){this._core=carousel;this._previousHeight=null;this._handlers={'initialized.owl.carousel refreshed.owl.carousel':$.proxy(function(e){if(e.namespace&&this._core.settings.autoHeight){this.update()}},this),'changed.owl.carousel':$.proxy(function(e){if(e.namespace&&this._core.settings.autoHeight&&e.property.name==='position'){this.update()}},this),'loaded.owl.lazy':$.proxy(function(e){if(e.namespace&&this._core.settings.autoHeight&&e.element.closest('.'+this._core.settings.itemClass).index()===this._core.current()){this.update()}},this)};this._core.options=$.extend({},AutoHeight.Defaults,this._core.options);this._core.$element.on(this._handlers);this._intervalId=null;var refThis=this;$(window).on('load',function(){if(refThis._core.settings.autoHeight){refThis.update()}});$(window).resize(function(){if(refThis._core.settings.autoHeight){if(refThis._intervalId!=null){clearTimeout(refThis._intervalId)} refThis._intervalId=setTimeout(function(){refThis.update()},250)}})};AutoHeight.Defaults={autoHeight:!1,autoHeightClass:'owl-height'};AutoHeight.prototype.update=function(){var start=this._core._current,end=start+this._core.settings.items,lazyLoadEnabled=this._core.settings.lazyLoad,visible=this._core.$stage.children().toArray().slice(start,end),heights=[],maxheight=0;$.each(visible,function(index,item){heights.push($(item).height())});maxheight=Math.max.apply(null,heights);if(maxheight<=1&&lazyLoadEnabled&&this._previousHeight){maxheight=this._previousHeight} this._previousHeight=maxheight;this._core.$stage.parent().height(maxheight).addClass(this._core.settings.autoHeightClass)};AutoHeight.prototype.destroy=function(){var handler,property;for(handler in this._handlers){this._core.$element.off(handler,this._handlers[handler])} for(property in Object.getOwnPropertyNames(this)){typeof this[property]!=='function'&&(this[property]=null)}};$.fn.owlCarousel.Constructor.Plugins.AutoHeight=AutoHeight})(window.Zepto||window.jQuery,window,document); /** * Video Plugin * @version 2.3.4 * @author Bartosz Wojciechowski * @author David Deutsch * @license The MIT License (MIT) */ ;(function($,window,document,undefined){var Video=function(carousel){this._core=carousel;this._videos={};this._playing=null;this._handlers={'initialized.owl.carousel':$.proxy(function(e){if(e.namespace){this._core.register({type:'state',name:'playing',tags:['interacting']})}},this),'resize.owl.carousel':$.proxy(function(e){if(e.namespace&&this._core.settings.video&&this.isInFullScreen()){e.preventDefault()}},this),'refreshed.owl.carousel':$.proxy(function(e){if(e.namespace&&this._core.is('resizing')){this._core.$stage.find('.cloned .owl-video-frame').remove()}},this),'changed.owl.carousel':$.proxy(function(e){if(e.namespace&&e.property.name==='position'&&this._playing){this.stop()}},this),'prepared.owl.carousel':$.proxy(function(e){if(!e.namespace){return} var $element=$(e.content).find('.owl-video');if($element.length){$element.css('display','none');this.fetch($element,$(e.content))}},this)};this._core.options=$.extend({},Video.Defaults,this._core.options);this._core.$element.on(this._handlers);this._core.$element.on('click.owl.video','.owl-video-play-icon',$.proxy(function(e){this.play(e)},this))};Video.Defaults={video:!1,videoHeight:!1,videoWidth:!1};Video.prototype.fetch=function(target,item){var type=(function(){if(target.attr('data-vimeo-id')){return'vimeo'}else if(target.attr('data-vzaar-id')){return'vzaar'}else{return'youtube'}})(),id=target.attr('data-vimeo-id')||target.attr('data-youtube-id')||target.attr('data-vzaar-id'),width=target.attr('data-width')||this._core.settings.videoWidth,height=target.attr('data-height')||this._core.settings.videoHeight,url=target.attr('href');if(url){id=url.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/);if(id[3].indexOf('youtu')>-1){type='youtube'}else if(id[3].indexOf('vimeo')>-1){type='vimeo'}else if(id[3].indexOf('vzaar')>-1){type='vzaar'}else{throw new Error('Video URL not supported.')} id=id[6]}else{throw new Error('Missing video URL.')} this._videos[url]={type:type,id:id,width:width,height:height};item.attr('data-video',url);this.thumbnail(target,this._videos[url])};Video.prototype.thumbnail=function(target,video){var tnLink,icon,path,dimensions=video.width&&video.height?'width:'+video.width+'px;height:'+video.height+'px;':'',customTn=target.find('img'),srcType='src',lazyClass='',settings=this._core.settings,create=function(path){icon='<div class="owl-video-play-icon"></div>';if(settings.lazyLoad){tnLink=$('<div/>',{"class":'owl-video-tn '+lazyClass,"srcType":path})}else{tnLink=$('<div/>',{"class":"owl-video-tn","style":'opacity:1;background-image:url('+path+')'})} target.after(tnLink);target.after(icon)};target.wrap($('<div/>',{"class":"owl-video-wrapper","style":dimensions}));if(this._core.settings.lazyLoad){srcType='data-src';lazyClass='owl-lazy'} if(customTn.length){create(customTn.attr(srcType));customTn.remove();return!1} if(video.type==='youtube'){path="//img.youtube.com/vi/"+video.id+"/hqdefault.jpg";create(path)}else if(video.type==='vimeo'){$.ajax({type:'GET',url:'//vimeo.com/api/v2/video/'+video.id+'.json',jsonp:'callback',dataType:'jsonp',success:function(data){path=data[0].thumbnail_large;create(path)}})}else if(video.type==='vzaar'){$.ajax({type:'GET',url:'//vzaar.com/api/videos/'+video.id+'.json',jsonp:'callback',dataType:'jsonp',success:function(data){path=data.framegrab_url;create(path)}})}};Video.prototype.stop=function(){this._core.trigger('stop',null,'video');this._playing.find('.owl-video-frame').remove();this._playing.removeClass('owl-video-playing');this._playing=null;this._core.leave('playing');this._core.trigger('stopped',null,'video')};Video.prototype.play=function(event){var target=$(event.target),item=target.closest('.'+this._core.settings.itemClass),video=this._videos[item.attr('data-video')],width=video.width||'100%',height=video.height||this._core.$stage.height(),html,iframe;if(this._playing){return} this._core.enter('playing');this._core.trigger('play',null,'video');item=this._core.items(this._core.relative(item.index()));this._core.reset(item.index());html=$('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>');html.attr('height',height);html.attr('width',width);if(video.type==='youtube'){html.attr('src','//www.youtube.com/embed/'+video.id+'?autoplay=1&rel=0&v='+video.id)}else if(video.type==='vimeo'){html.attr('src','//player.vimeo.com/video/'+video.id+'?autoplay=1')}else if(video.type==='vzaar'){html.attr('src','//view.vzaar.com/'+video.id+'/player?autoplay=true')} iframe=$(html).wrap('<div class="owl-video-frame" />').insertAfter(item.find('.owl-video'));this._playing=item.addClass('owl-video-playing')};Video.prototype.isInFullScreen=function(){var element=document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement;return element&&$(element).parent().hasClass('owl-video-frame')};Video.prototype.destroy=function(){var handler,property;this._core.$element.off('click.owl.video');for(handler in this._handlers){this._core.$element.off(handler,this._handlers[handler])} for(property in Object.getOwnPropertyNames(this)){typeof this[property]!='function'&&(this[property]=null)}};$.fn.owlCarousel.Constructor.Plugins.Video=Video})(window.Zepto||window.jQuery,window,document); /** * Animate Plugin * @version 2.3.4 * @author Bartosz Wojciechowski * @author David Deutsch * @license The MIT License (MIT) */ ;(function($,window,document,undefined){var Animate=function(scope){this.core=scope;this.core.options=$.extend({},Animate.Defaults,this.core.options);this.swapping=!0;this.previous=undefined;this.next=undefined;this.handlers={'change.owl.carousel':$.proxy(function(e){if(e.namespace&&e.property.name=='position'){this.previous=this.core.current();this.next=e.property.value}},this),'drag.owl.carousel dragged.owl.carousel translated.owl.carousel':$.proxy(function(e){if(e.namespace){this.swapping=e.type=='translated'}},this),'translate.owl.carousel':$.proxy(function(e){if(e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn||this.core.options.backAnimateIn||this.core.options.backAnimateOut)){this.swap()}},this)};this.core.$element.on(this.handlers)};Animate.Defaults={animateOut:!1,animateIn:!1,backAnimateIn:!1,backAnimateOut:!1};Animate.prototype.swap=function(){if(this.core.settings.items!==1){return} if(!$.support.animation||!$.support.transition){return} this.core.speed(0);this.core.settings.backAnimateIn=this.core.settings.backAnimateIn?this.core.settings.backAnimateIn:this.core.settings.animateIn;this.core.settings.backAnimateOut=this.core.settings.backAnimateOut?this.core.settings.backAnimateOut:this.core.settings.animateOut;var left,clear=$.proxy(this.clear,this),previous=this.core.$stage.children().eq(this.previous),next=this.core.$stage.children().eq(this.next),incoming=this.next>this.previous?this.core.settings.animateIn:this.core.settings.backAnimateIn,outgoing=this.next>this.previous?this.core.settings.animateOut:this.core.settings.backAnimateOut;if(this.core.current()===this.previous){return} if(outgoing){left=this.core.coordinates(this.previous)-this.core.coordinates(this.next);previous.one($.support.animation.end,clear).css({'left':left+'px'}).addClass('animated owl-animated-out').addClass(outgoing)} if(incoming){next.one($.support.animation.end,clear).addClass('animated owl-animated-in').addClass(incoming)}};Animate.prototype.clear=function(e){$(e.target).css({'left':''}).removeClass('animated owl-animated-out owl-animated-in').removeClass(this.core.settings.animateIn).removeClass(this.core.settings.backAnimateIn).removeClass(this.core.settings.backAnimateOut).removeClass(this.core.settings.animateOut);this.core.onTransitionEnd()};Animate.prototype.destroy=function(){var handler,property;for(handler in this.handlers){this.core.$element.off(handler,this.handlers[handler])} for(property in Object.getOwnPropertyNames(this)){typeof this[property]!='function'&&(this[property]=null)}};$.fn.owlCarousel.Constructor.Plugins.Animate=Animate})(window.Zepto||window.jQuery,window,document); /** * Autoplay Plugin * @version 2.3.4 * @author Bartosz Wojciechowski * @author Artus Kolanowski * @author David Deutsch * @author Tom De Caluwé * @license The MIT License (MIT) */ ;(function($,window,document,undefined){var Autoplay=function(carousel){this._core=carousel;this._call=null;this._time=0;this._timeout=0;this._paused=!0;this._handlers={'changed.owl.carousel':$.proxy(function(e){if(e.namespace&&e.property.name==='settings'){if(this._core.settings.autoplay){this.play()}else{this.stop()}}else if(e.namespace&&e.property.name==='position'&&this._paused){this._time=0}},this),'initialized.owl.carousel':$.proxy(function(e){if(e.namespace&&this._core.settings.autoplay){this.play()}},this),'play.owl.autoplay':$.proxy(function(e,t,s){if(e.namespace){this.play(t,s)}},this),'stop.owl.autoplay':$.proxy(function(e){if(e.namespace){this.stop()}},this),'mouseover.owl.autoplay':$.proxy(function(){if(this._core.settings.autoplayHoverPause&&this._core.is('rotating')){this.pause()}},this),'mouseleave.owl.autoplay':$.proxy(function(){if(this._core.settings.autoplayHoverPause&&this._core.is('rotating')){this.play()}},this),'touchstart.owl.core':$.proxy(function(){if(this._core.settings.autoplayHoverPause&&this._core.is('rotating')){this.pause()}},this),'touchend.owl.core':$.proxy(function(){if(this._core.settings.autoplayHoverPause){this.play()}},this)};this._core.$element.on(this._handlers);this._core.options=$.extend({},Autoplay.Defaults,this._core.options)};Autoplay.Defaults={autoplay:!1,autoplayTimeout:5000,autoplayHoverPause:!1,autoplaySpeed:!1};Autoplay.prototype._next=function(speed){this._call=window.setTimeout($.proxy(this._next,this,speed),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read());if(this._core.is('interacting')||document.hidden){return} this._core.next(speed||this._core.settings.autoplaySpeed)} Autoplay.prototype.read=function(){return new Date().getTime()-this._time};Autoplay.prototype.play=function(timeout,speed){var elapsed;if(!this._core.is('rotating')){this._core.enter('rotating')} timeout=timeout||this._core.settings.autoplayTimeout;elapsed=Math.min(this._time%(this._timeout||timeout),timeout);if(this._paused){this._time=this.read();this._paused=!1}else{window.clearTimeout(this._call)} this._time+=this.read()%timeout-elapsed;this._timeout=timeout;this._call=window.setTimeout($.proxy(this._next,this,speed),timeout-elapsed)};Autoplay.prototype.stop=function(){if(this._core.is('rotating')){this._time=0;this._paused=!0;window.clearTimeout(this._call);this._core.leave('rotating')}};Autoplay.prototype.pause=function(){if(this._core.is('rotating')&&!this._paused){this._time=this.read();this._paused=!0;window.clearTimeout(this._call)}};Autoplay.prototype.destroy=function(){var handler,property;this.stop();for(handler in this._handlers){this._core.$element.off(handler,this._handlers[handler])} for(property in Object.getOwnPropertyNames(this)){typeof this[property]!='function'&&(this[property]=null)}};$.fn.owlCarousel.Constructor.Plugins.autoplay=Autoplay})(window.Zepto||window.jQuery,window,document); /** * Navigation Plugin * @version 2.3.4 * @author Artus Kolanowski * @author David Deutsch * @license The MIT License (MIT) */ ;(function($,window,document,undefined){'use strict';var Navigation=function(carousel){this._core=carousel;this._initialized=!1;this._pages=[];this._controls={};this._templates=[];this.$element=this._core.$element;this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to};this._handlers={'prepared.owl.carousel':$.proxy(function(e){if(e.namespace&&this._core.settings.dotsData){this._templates.push('<div class="'+this._core.settings.dotClass+'">'+$(e.content).find('[data-dot]').addBack('[data-dot]').attr('data-dot')+'</div>')}},this),'added.owl.carousel':$.proxy(function(e){if(e.namespace&&this._core.settings.dotsData){this._templates.splice(e.position,0,this._templates.pop())}},this),'remove.owl.carousel':$.proxy(function(e){if(e.namespace&&this._core.settings.dotsData){this._templates.splice(e.position,1)}},this),'changed.owl.carousel':$.proxy(function(e){if(e.namespace&&e.property.name=='position'){this.draw()}},this),'initialized.owl.carousel':$.proxy(function(e){if(e.namespace&&!this._initialized){this._core.trigger('initialize',null,'navigation');this.initialize();this.update();this.draw();this._initialized=!0;this._core.trigger('initialized',null,'navigation')}},this),'refreshed.owl.carousel':$.proxy(function(e){if(e.namespace&&this._initialized){this._core.trigger('refresh',null,'navigation');this.update();this.draw();this._core.trigger('refreshed',null,'navigation')}},this)};this._core.options=$.extend({},Navigation.Defaults,this._core.options);this.$element.on(this._handlers)};Navigation.Defaults={nav:!1,navText:['<span aria-label="'+'Previous'+'">‹</span>','<span aria-label="'+'Next'+'">›</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:'owl-nav',navClass:['owl-prev','owl-next'],slideBy:1,dotClass:'owl-dot',dotsClass:'owl-dots',dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1};Navigation.prototype.initialize=function(){var override,settings=this._core.settings;this._controls.$relative=(settings.navContainer?$(settings.navContainer):$('<div>').addClass(settings.navContainerClass).appendTo(this.$element)).addClass('disabled');this._controls.$previous=$('<'+settings.navElement+'>').addClass(settings.navClass[0]).html(settings.navText[0]).prependTo(this._controls.$relative).on('click',$.proxy(function(e){this.prev(settings.navSpeed)},this));this._controls.$next=$('<'+settings.navElement+'>').addClass(settings.navClass[1]).html(settings.navText[1]).appendTo(this._controls.$relative).on('click',$.proxy(function(e){this.next(settings.navSpeed)},this));if(!settings.dotsData){this._templates=[$('<button role="button">').addClass(settings.dotClass).append($('<span>')).prop('outerHTML')]} this._controls.$absolute=(settings.dotsContainer?$(settings.dotsContainer):$('<div>').addClass(settings.dotsClass).appendTo(this.$element)).addClass('disabled');this._controls.$absolute.on('click','button',$.proxy(function(e){var index=$(e.target).parent().is(this._controls.$absolute)?$(e.target).index():$(e.target).parent().index();e.preventDefault();this.to(index,settings.dotsSpeed)},this));for(override in this._overrides){this._core[override]=$.proxy(this[override],this)}};Navigation.prototype.destroy=function(){var handler,control,property,override,settings;settings=this._core.settings;for(handler in this._handlers){this.$element.off(handler,this._handlers[handler])} for(control in this._controls){if(control==='$relative'&&settings.navContainer){this._controls[control].html('')}else{this._controls[control].remove()}} for(override in this.overides){this._core[override]=this._overrides[override]} for(property in Object.getOwnPropertyNames(this)){typeof this[property]!='function'&&(this[property]=null)}};Navigation.prototype.update=function(){var i,j,k,lower=this._core.clones().length/2,upper=lower+this._core.items().length,maximum=this._core.maximum(!0),settings=this._core.settings,size=settings.center||settings.autoWidth||settings.dotsData?1:settings.dotsEach||settings.items;if(settings.slideBy!=='page'){settings.slideBy=Math.min(settings.slideBy,settings.items)} if(settings.dots||settings.slideBy=='page'){this._pages=[];for(i=lower,j=0,k=0;i<upper;i++){if(j>=size||j===0){this._pages.push({start:Math.min(maximum,i-lower),end:i-lower+size-1});if(Math.min(maximum,i-lower)===maximum){break} j=0,++k} j+=this._core.mergers(this._core.relative(i))}}};Navigation.prototype.draw=function(){var difference,settings=this._core.settings,disabled=this._core.items().length<=settings.items,index=this._core.relative(this._core.current()),loop=settings.loop||settings.rewind;this._controls.$relative.toggleClass('disabled',!settings.nav||disabled);if(settings.nav){this._controls.$previous.toggleClass('disabled',!loop&&index<=this._core.minimum(!0));this._controls.$next.toggleClass('disabled',!loop&&index>=this._core.maximum(!0))} this._controls.$absolute.toggleClass('disabled',!settings.dots||disabled);if(settings.dots){difference=this._pages.length-this._controls.$absolute.children().length;if(settings.dotsData&&difference!==0){this._controls.$absolute.html(this._templates.join(''))}else if(difference>0){this._controls.$absolute.append(new Array(difference+1).join(this._templates[0]))}else if(difference<0){this._controls.$absolute.children().slice(difference).remove()} this._controls.$absolute.find('.active').removeClass('active');this._controls.$absolute.children().eq($.inArray(this.current(),this._pages)).addClass('active')}};Navigation.prototype.onTrigger=function(event){var settings=this._core.settings;event.page={index:$.inArray(this.current(),this._pages),count:this._pages.length,size:settings&&(settings.center||settings.autoWidth||settings.dotsData?1:settings.dotsEach||settings.items)}};Navigation.prototype.current=function(){var current=this._core.relative(this._core.current());return $.grep(this._pages,$.proxy(function(page,index){return page.start<=current&&page.end>=current},this)).pop()};Navigation.prototype.getPosition=function(successor){var position,length,settings=this._core.settings;if(settings.slideBy=='page'){position=$.inArray(this.current(),this._pages);length=this._pages.length;successor?++position:--position;position=this._pages[((position%length)+length)%length].start}else{position=this._core.relative(this._core.current());length=this._core.items().length;successor?position+=settings.slideBy:position-=settings.slideBy} return position};Navigation.prototype.next=function(speed){$.proxy(this._overrides.to,this._core)(this.getPosition(!0),speed)};Navigation.prototype.prev=function(speed){$.proxy(this._overrides.to,this._core)(this.getPosition(!1),speed)};Navigation.prototype.to=function(position,speed,standard){var length;if(!standard&&this._pages.length){length=this._pages.length;$.proxy(this._overrides.to,this._core)(this._pages[((position%length)+length)%length].start,speed)}else{$.proxy(this._overrides.to,this._core)(position,speed)}};$.fn.owlCarousel.Constructor.Plugins.Navigation=Navigation})(window.Zepto||window.jQuery,window,document); /** * Hash Plugin * @version 2.3.4 * @author Artus Kolanowski * @author David Deutsch * @license The MIT License (MIT) */ ;(function($,window,document,undefined){'use strict';var Hash=function(carousel){this._core=carousel;this._hashes={};this.$element=this._core.$element;this._handlers={'initialized.owl.carousel':$.proxy(function(e){if(e.namespace&&this._core.settings.startPosition==='URLHash'){$(window).trigger('hashchange.owl.navigation')}},this),'prepared.owl.carousel':$.proxy(function(e){if(e.namespace){var hash=$(e.content).find('[data-hash]').addBack('[data-hash]').attr('data-hash');if(!hash){return} this._hashes[hash]=e.content}},this),'changed.owl.carousel':$.proxy(function(e){if(e.namespace&&e.property.name==='position'){var current=this._core.items(this._core.relative(this._core.current())),hash=$.map(this._hashes,function(item,hash){return item===current?hash:null}).join();if(!hash||window.location.hash.slice(1)===hash){return} window.location.hash=hash}},this)};this._core.options=$.extend({},Hash.Defaults,this._core.options);this.$element.on(this._handlers);$(window).on('hashchange.owl.navigation',$.proxy(function(e){var hash=window.location.hash.substring(1),items=this._core.$stage.children(),position=this._hashes[hash]&&items.index(this._hashes[hash]);if(position===undefined||position===this._core.current()){return} this._core.to(this._core.relative(position),!1,!0)},this))};Hash.Defaults={URLhashListener:!1};Hash.prototype.destroy=function(){var handler,property;$(window).off('hashchange.owl.navigation');for(handler in this._handlers){this._core.$element.off(handler,this._handlers[handler])} for(property in Object.getOwnPropertyNames(this)){typeof this[property]!='function'&&(this[property]=null)}};$.fn.owlCarousel.Constructor.Plugins.Hash=Hash})(window.Zepto||window.jQuery,window,document); /** * Support Plugin * * @version 2.3.4 * @author Vivid Planet Software GmbH * @author Artus Kolanowski * @author David Deutsch * @license The MIT License (MIT) */ ;(function($,window,document,undefined){var style=$('<support>').get(0).style,prefixes='Webkit Moz O ms'.split(' '),events={transition:{end:{WebkitTransition:'webkitTransitionEnd',MozTransition:'transitionend',OTransition:'oTransitionEnd',transition:'transitionend'}},animation:{end:{WebkitAnimation:'webkitAnimationEnd',MozAnimation:'animationend',OAnimation:'oAnimationEnd',animation:'animationend'}}},tests={csstransforms:function(){return!!test('transform')},csstransforms3d:function(){return!!test('perspective')},csstransitions:function(){return!!test('transition')},cssanimations:function(){return!!test('animation')}};function test(property,prefixed){var result=!1,upper=property.charAt(0).toUpperCase()+property.slice(1);$.each((property+' '+prefixes.join(upper+' ')+upper).split(' '),function(i,property){if(style[property]!==undefined){result=prefixed?property:!0;return!1}});return result} function prefixed(property){return test(property,!0)} if(tests.csstransitions()){$.support.transition=new String(prefixed('transition')) $.support.transition.end=events.transition.end[$.support.transition]} if(tests.cssanimations()){$.support.animation=new String(prefixed('animation')) $.support.animation.end=events.animation.end[$.support.animation]} if(tests.csstransforms()){$.support.transform=new String(prefixed('transform'));$.support.transform3d=tests.csstransforms3d()}})(window.Zepto||window.jQuery,window,document);/*! This file is auto-generated */ /*! * imagesLoaded PACKAGED v5.0.0 * JavaScript is all like "You images are done yet or what?" * MIT License */ !function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})), /*! * imagesLoaded v5.0.0 * JavaScript is all like "You images are done yet or what?" * MIT License */ function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,s="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,s,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(h.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n}));/*! * * jQuery collagePlus Plugin v0.3.3 * https://github.com/ed-lea/jquery-collagePlus * * Copyright 2012, Ed Lea twitter.com/ed_lea * * built for http://qiip.me * * Dual licensed under the MIT or GPL Version 2 licenses. * http://www.opensource.org/licenses/mit-license.php * http://www.opensource.org/licenses/GPL-2.0 * */ (function(e){e.fn.collagePlus=function(t){function n(t,n,i,s){"use strict";var o=i.padding*(t.length-1)+t.length*t[0][3],u=i.albumWidth-o,a=u/(n-o),f=o,l=n<i.albumWidth?true:!1;for(var c=0;c<t.length;c++){var h=e(t[c][0]),p=Math.floor(t[c][1]*a),d=Math.floor(t[c][2]*a),v=!!(c<t.length-1);if(i.allowPartialLastRow===!0&&l===!0){p=t[c][1];d=t[c][2]}f+=p;if(!v&&f<i.albumWidth){if(i.allowPartialLastRow===!0&&l===!0){p=p}else{p=p+(i.albumWidth-f)}}p--;var m=h.is("img")?h:h.find("img");m.width(p);if(!h.is("img")){h.width(p+t[c][3])}m.height(d);if(!h.is("img")){h.height(d+t[c][4])}r(h,v,i);m.one("load",function(e){return function(){if(i.effect=="default"){e.animate({opacity:"1"},{duration:i.fadeSpeed})}else{if(i.direction=="vertical"){var t=s<=10?s:10}else{var t=c<=9?c+1:10}e.removeClass(function(e,t){return(t.match(/\beffect-\S+/g)||[]).join(" ")});e.addClass(i.effect);e.addClass("effect-duration-"+t)}}}(h)).each(function(){if(this.complete)e(this).trigger("load")})}}function r(e,t,n){var r={"margin-bottom":n.padding+"px","margin-right":t?n.padding+"px":"0px",display:n.display,"vertical-align":"bottom",overflow:"hidden"};return e.css(r)}function i(t){$img=e(t);var n=new Array;n.w=parseFloat($img.css("border-left-width"))+parseFloat($img.css("border-right-width"));n.h=parseFloat($img.css("border-top-width"))+parseFloat($img.css("border-bottom-width"));return n}return this.each(function(){var r=0,s=[],o=1,u=e(this);e.fn.collagePlus.defaults.albumWidth=u.width();e.fn.collagePlus.defaults.padding=parseFloat(u.css("padding-left"));e.fn.collagePlus.defaults.images=u.children();var a=e.extend({},e.fn.collagePlus.defaults,t);a.images.each(function(t){var u=e(this),f=u.is("img")?u:e(this).find("img");var l=typeof f.data("width")!="undefined"?f.data("width"):f.width(),c=typeof f.data("height")!="undefined"?f.data("height"):f.height();var h=i(f);f.data("width",l);f.data("height",c);var p=Math.ceil(l/c*a.targetHeight),d=Math.ceil(a.targetHeight);s.push([this,p,d,h.w,h.h]);r+=p+h.w+a.padding;if(r>a.albumWidth&&s.length!=0){n(s,r-a.padding,a,o);delete r;delete s;r=0;s=[];o+=1}if(a.images.length-1==t&&s.length!=0){n(s,r,a,o);delete r;delete s;r=0;s=[];o+=1}})})};e.fn.collagePlus.defaults={targetHeight:400,fadeSpeed:"fast",display:"inline-block",effect:"default",direction:"vertical",allowPartialLastRow:!1}})(jQuery);/*! * FitText.js 1.2 * * Copyright 2011, Dave Rupert http://daverupert.com * Released under the WTFPL license * http://sam.zoy.org/wtfpl/ * * Date: Thu May 05 14:23:00 2011 -0600 */ (function($){"use strict";$.fn.fitText=function(kompressor,options){var compressor=kompressor||1,settings=$.extend({'minFontSize':Number.NEGATIVE_INFINITY,'maxFontSize':Number.POSITIVE_INFINITY},options);return this.each(function(){var $this=$(this);var resizer=function(){$this.css('font-size',Math.max(Math.min($this.width()/(compressor*20),parseFloat(settings.maxFontSize)),parseFloat(settings.minFontSize)))};resizer();$(window).on('resize.fittext orientationchange.fittext',resizer)})}})(jQuery);'use strict';"use strict";(function(root,factory){if(typeof define==="function"&&define.amd){define(factory)}else if(typeof exports==="object"){module.exports=factory()}else{root.ResizeSensor=factory()}}(typeof window!=='undefined'?window:this,function(){if(typeof window==="undefined"){return null} var globalWindow=typeof window!='undefined'&&window.Math==Math?window:typeof self!='undefined'&&self.Math==Math?self:Function('return this')();var requestAnimationFrame=globalWindow.requestAnimationFrame||globalWindow.mozRequestAnimationFrame||globalWindow.webkitRequestAnimationFrame||function(fn){return globalWindow.setTimeout(fn,20)};function forEachElement(elements,callback){var elementsType=Object.prototype.toString.call(elements);var isCollectionTyped=('[object Array]'===elementsType||('[object NodeList]'===elementsType)||('[object HTMLCollection]'===elementsType)||('[object Object]'===elementsType)||('undefined'!==typeof jQuery&&elements instanceof jQuery)||('undefined'!==typeof Elements&&elements instanceof Elements));var i=0,j=elements.length;if(isCollectionTyped){for(;i<j;i++){callback(elements[i])}}else{callback(elements)}} function getElementSize(element){if(!element.getBoundingClientRect){return{width:element.offsetWidth,height:element.offsetHeight}} var rect=element.getBoundingClientRect();return{width:Math.round(rect.width),height:Math.round(rect.height)}} function setStyle(element,style){Object.keys(style).forEach(function(key){element.style[key]=style[key]})} var ResizeSensor=function(element,callback){function EventQueue(){var q=[];this.add=function(ev){q.push(ev)};var i,j;this.call=function(sizeInfo){for(i=0,j=q.length;i<j;i++){q[i].call(this,sizeInfo)}};this.remove=function(ev){var newQueue=[];for(i=0,j=q.length;i<j;i++){if(q[i]!==ev)newQueue.push(q[i])} q=newQueue};this.length=function(){return q.length}} function attachResizeEvent(element,resized){if(!element)return;if(element.resizedAttached){element.resizedAttached.add(resized);return} element.resizedAttached=new EventQueue();element.resizedAttached.add(resized);element.resizeSensor=document.createElement('div');element.resizeSensor.dir='ltr';element.resizeSensor.className='resize-sensor';var style={pointerEvents:'none',position:'absolute',left:'0px',top:'0px',right:'0px',bottom:'0px',overflow:'hidden',zIndex:'-1',visibility:'hidden',maxWidth:'100%'};var styleChild={position:'absolute',left:'0px',top:'0px',transition:'0s',};setStyle(element.resizeSensor,style);var expand=document.createElement('div');expand.className='resize-sensor-expand';setStyle(expand,style);var expandChild=document.createElement('div');setStyle(expandChild,styleChild);expand.appendChild(expandChild);var shrink=document.createElement('div');shrink.className='resize-sensor-shrink';setStyle(shrink,style);var shrinkChild=document.createElement('div');setStyle(shrinkChild,styleChild);setStyle(shrinkChild,{width:'200%',height:'200%'});shrink.appendChild(shrinkChild);element.resizeSensor.appendChild(expand);element.resizeSensor.appendChild(shrink);element.appendChild(element.resizeSensor);var computedStyle=window.getComputedStyle(element);var position=computedStyle?computedStyle.getPropertyValue('position'):null;if('absolute'!==position&&'relative'!==position&&'fixed'!==position){element.style.position='relative'} var dirty,rafId;var size=getElementSize(element);var lastWidth=0;var lastHeight=0;var initialHiddenCheck=!0;var lastAnimationFrame=0;var resetExpandShrink=function(){var width=element.offsetWidth;var height=element.offsetHeight;expandChild.style.width=(width+10)+'px';expandChild.style.height=(height+10)+'px';expand.scrollLeft=width+10;expand.scrollTop=height+10;shrink.scrollLeft=width+10;shrink.scrollTop=height+10};var reset=function(){if(initialHiddenCheck){var invisible=element.offsetWidth===0&&element.offsetHeight===0;if(invisible){if(!lastAnimationFrame){lastAnimationFrame=requestAnimationFrame(function(){lastAnimationFrame=0;reset()})} return}else{initialHiddenCheck=!1}} resetExpandShrink()};element.resizeSensor.resetSensor=reset;var onResized=function(){rafId=0;if(!dirty)return;lastWidth=size.width;lastHeight=size.height;if(element.resizedAttached){element.resizedAttached.call(size)}};var onScroll=function(){size=getElementSize(element);dirty=size.width!==lastWidth||size.height!==lastHeight;if(dirty&&!rafId){rafId=requestAnimationFrame(onResized)} reset()};var addEvent=function(el,name,cb){if(el.attachEvent){el.attachEvent('on'+name,cb)}else{el.addEventListener(name,cb)}};addEvent(expand,'scroll',onScroll);addEvent(shrink,'scroll',onScroll);requestAnimationFrame(reset)} forEachElement(element,function(elem){attachResizeEvent(elem,callback)});this.detach=function(ev){ResizeSensor.detach(element,ev)};this.reset=function(){element.resizeSensor.resetSensor()}};ResizeSensor.reset=function(element){forEachElement(element,function(elem){elem.resizeSensor.resetSensor()})};ResizeSensor.detach=function(element,ev){forEachElement(element,function(elem){if(!elem)return;if(elem.resizedAttached&&typeof ev==="function"){elem.resizedAttached.remove(ev);if(elem.resizedAttached.length())return} if(elem.resizeSensor){if(elem.contains(elem.resizeSensor)){elem.removeChild(elem.resizeSensor)} delete elem.resizeSensor;delete elem.resizedAttached}})};if(typeof MutationObserver!=="undefined"){var observer=new MutationObserver(function(mutations){for(var i in mutations){if(mutations.hasOwnProperty(i)){var items=mutations[i].addedNodes;for(var j=0;j<items.length;j++){if(items[j].resizeSensor){ResizeSensor.reset(items[j])}}}}});document.addEventListener("DOMContentLoaded",function(event){observer.observe(document.body,{childList:!0,subtree:!0,})})} return ResizeSensor}));/** * sticky-sidebar - A JavaScript plugin for making smart and high performance. * @version v3.3.1 * @link https://github.com/abouolia/sticky-sidebar * @author Ahmed Bouhuolia * @license The MIT License (MIT) **/ !function(t,e){"use strict";"object"==typeof exports&&"undefined"!=typeof module?e():"function"==typeof define&&define.amd?define(e):e()}(0,function(){"use strict";var t=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),e=function(){var e=".stickySidebar",i={topSpacing:0,bottomSpacing:0,containerSelector:!1,innerWrapperSelector:".inner-wrapper-sticky",stickyClass:"is-affixed",resizeSensor:!0,minWidth:!1};return function(){function n(t){var e=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),this.options=n.extend(i,s),this.sidebar="string"==typeof t?document.querySelector(t):t,void 0===this.sidebar)throw new Error("There is no specific sidebar element.");this.sidebarInner=!1,this.container=this.sidebar.parentElement,this.affixedType="STATIC",this.direction="down",this.support={transform:!1,transform3d:!1},this._initialized=!1,this._reStyle=!1,this._breakpoint=!1,this._resizeListeners=[],this.dimensions={translateY:0,topSpacing:0,lastTopSpacing:0,bottomSpacing:0,lastBottomSpacing:0,sidebarHeight:0,sidebarWidth:0,containerTop:0,containerHeight:0,viewportHeight:0,viewportTop:0,lastViewportTop:0},["handleEvent"].forEach(function(t){e[t]=e[t].bind(e)}),this.initialize()}return t(n,[{key:"initialize",value:function(){var t=this;if(this._setSupportFeatures(),this.options.innerWrapperSelector&&(this.sidebarInner=this.sidebar.querySelector(this.options.innerWrapperSelector),null===this.sidebarInner&&(this.sidebarInner=!1)),!this.sidebarInner){var e=document.createElement("div");for(e.setAttribute("class","inner-wrapper-sticky"),this.sidebar.appendChild(e);this.sidebar.firstChild!=e;)e.appendChild(this.sidebar.firstChild);this.sidebarInner=this.sidebar.querySelector(".inner-wrapper-sticky")}if(this.options.containerSelector){var i=document.querySelectorAll(this.options.containerSelector);if((i=Array.prototype.slice.call(i)).forEach(function(e,i){e.contains(t.sidebar)&&(t.container=e)}),!i.length)throw new Error("The container does not contains on the sidebar.")}"function"!=typeof this.options.topSpacing&&(this.options.topSpacing=parseInt(this.options.topSpacing)||0),"function"!=typeof this.options.bottomSpacing&&(this.options.bottomSpacing=parseInt(this.options.bottomSpacing)||0),this._widthBreakpoint(),this.calcDimensions(),this.stickyPosition(),this.bindEvents(),this._initialized=!0}},{key:"bindEvents",value:function(){window.addEventListener("resize",this,{passive:!0,capture:!1}),window.addEventListener("scroll",this,{passive:!0,capture:!1}),this.sidebar.addEventListener("update"+e,this),this.options.resizeSensor&&"undefined"!=typeof ResizeSensor&&(new ResizeSensor(this.sidebarInner,this.handleEvent),new ResizeSensor(this.container,this.handleEvent))}},{key:"handleEvent",value:function(t){this.updateSticky(t)}},{key:"calcDimensions",value:function(){if(!this._breakpoint){var t=this.dimensions;t.containerTop=n.offsetRelative(this.container).top,t.containerHeight=this.container.clientHeight,t.containerBottom=t.containerTop+t.containerHeight,t.sidebarHeight=this.sidebarInner.offsetHeight,t.sidebarWidth=this.sidebarInner.offsetWidth,t.viewportHeight=window.innerHeight,this._calcDimensionsWithScroll()}}},{key:"_calcDimensionsWithScroll",value:function(){var t=this.dimensions;t.sidebarLeft=n.offsetRelative(this.sidebar).left,t.viewportTop=document.documentElement.scrollTop||document.body.scrollTop,t.viewportBottom=t.viewportTop+t.viewportHeight,t.viewportLeft=document.documentElement.scrollLeft||document.body.scrollLeft,t.topSpacing=this.options.topSpacing,t.bottomSpacing=this.options.bottomSpacing,"function"==typeof t.topSpacing&&(t.topSpacing=parseInt(t.topSpacing(this.sidebar))||0),"function"==typeof t.bottomSpacing&&(t.bottomSpacing=parseInt(t.bottomSpacing(this.sidebar))||0),"VIEWPORT-TOP"===this.affixedType?t.topSpacing<t.lastTopSpacing&&(t.translateY+=t.lastTopSpacing-t.topSpacing,this._reStyle=!0):"VIEWPORT-BOTTOM"===this.affixedType&&t.bottomSpacing<t.lastBottomSpacing&&(t.translateY+=t.lastBottomSpacing-t.bottomSpacing,this._reStyle=!0),t.lastTopSpacing=t.topSpacing,t.lastBottomSpacing=t.bottomSpacing}},{key:"isSidebarFitsViewport",value:function(){return this.dimensions.sidebarHeight<this.dimensions.viewportHeight}},{key:"observeScrollDir",value:function(){var t=this.dimensions;if(t.lastViewportTop!==t.viewportTop){var e="down"===this.direction?Math.min:Math.max;t.viewportTop===e(t.viewportTop,t.lastViewportTop)&&(this.direction="down"===this.direction?"up":"down")}}},{key:"getAffixType",value:function(){var t=this.dimensions,e=!1;this._calcDimensionsWithScroll();var i=t.sidebarHeight+t.containerTop,n=t.viewportTop+t.topSpacing,s=t.viewportBottom-t.bottomSpacing;return"up"===this.direction?n<=t.containerTop?(t.translateY=0,e="STATIC"):n<=t.translateY+t.containerTop?(t.translateY=n-t.containerTop,e="VIEWPORT-TOP"):!this.isSidebarFitsViewport()&&t.containerTop<=n&&(e="VIEWPORT-UNBOTTOM"):this.isSidebarFitsViewport()?t.sidebarHeight+n>=t.containerBottom?(t.translateY=t.containerBottom-i,e="CONTAINER-BOTTOM"):n>=t.containerTop&&(t.translateY=n-t.containerTop,e="VIEWPORT-TOP"):t.containerBottom<=s?(t.translateY=t.containerBottom-i,e="CONTAINER-BOTTOM"):i+t.translateY<=s?(t.translateY=s-i,e="VIEWPORT-BOTTOM"):t.containerTop+t.translateY<=n&&(e="VIEWPORT-UNBOTTOM"),t.translateY=Math.max(0,t.translateY),t.translateY=Math.min(t.containerHeight,t.translateY),t.lastViewportTop=t.viewportTop,e}},{key:"_getStyle",value:function(t){if(void 0!==t){var e={inner:{},outer:{}},i=this.dimensions;switch(t){case"VIEWPORT-TOP":e.inner={position:"fixed",top:i.topSpacing,left:i.sidebarLeft-i.viewportLeft,width:i.sidebarWidth};break;case"VIEWPORT-BOTTOM":e.inner={position:"fixed",top:"auto",left:i.sidebarLeft,bottom:i.bottomSpacing,width:i.sidebarWidth};break;case"CONTAINER-BOTTOM":case"VIEWPORT-UNBOTTOM":var s=this._getTranslate(0,i.translateY+"px");e.inner=s?{transform:s}:{position:"absolute",top:i.translateY,width:i.sidebarWidth}}switch(t){case"VIEWPORT-TOP":case"VIEWPORT-BOTTOM":case"VIEWPORT-UNBOTTOM":case"CONTAINER-BOTTOM":e.outer={height:i.sidebarHeight,position:"relative"}}return e.outer=n.extend({height:"",position:""},e.outer),e.inner=n.extend({position:"relative",top:"",left:"",bottom:"",width:"",transform:this._getTranslate()},e.inner),e}}},{key:"stickyPosition",value:function(t){if(!this._breakpoint){t=this._reStyle||t||!1;var i=this.getAffixType(),s=this._getStyle(i);if((this.affixedType!=i||t)&&i){var o="affix."+i.toLowerCase().replace("viewport-","")+e;n.eventTrigger(this.sidebar,o),"STATIC"===i?n.removeClass(this.sidebar,this.options.stickyClass):n.addClass(this.sidebar,this.options.stickyClass);for(var r in s.outer)this.sidebar.style[r]=s.outer[r];for(var a in s.inner){var c="number"==typeof s.inner[a]?"px":"";this.sidebarInner.style[a]=s.inner[a]+c}var p="affixed."+i.toLowerCase().replace("viewport-","")+e;n.eventTrigger(this.sidebar,p)}else this._initialized&&(this.sidebarInner.style.left=s.inner.left);this.affixedType=i}}},{key:"_widthBreakpoint",value:function(){window.innerWidth<=this.options.minWidth?(this._breakpoint=!0,this.affixedType="STATIC",this.sidebar.removeAttribute("style"),n.removeClass(this.sidebar,this.options.stickyClass),this.sidebarInner.removeAttribute("style")):this._breakpoint=!1}},{key:"updateSticky",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._running||(this._running=!0,function(e){requestAnimationFrame(function(){switch(e){case"scroll":t._calcDimensionsWithScroll(),t.observeScrollDir(),t.stickyPosition();break;case"resize":default:t._widthBreakpoint(),t.calcDimensions(),t.stickyPosition(!0)}t._running=!1})}(e.type))}},{key:"_setSupportFeatures",value:function(){var t=this.support;t.transform=n.supportTransform(),t.transform3d=n.supportTransform(!0)}},{key:"_getTranslate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.support.transform3d?"translate3d("+t+", "+e+", "+i+")":!!this.support.translate&&"translate("+t+", "+e+")"}},{key:"destroy",value:function(){window.removeEventListener("resize",this,{caption:!1}),window.removeEventListener("scroll",this,{caption:!1}),this.sidebar.classList.remove(this.options.stickyClass),this.sidebar.style.minHeight="",this.sidebar.removeEventListener("update"+e,this);var t={inner:{},outer:{}};t.inner={position:"",top:"",left:"",bottom:"",width:"",transform:""},t.outer={height:"",position:""};for(var i in t.outer)this.sidebar.style[i]=t.outer[i];for(var n in t.inner)this.sidebarInner.style[n]=t.inner[n];this.options.resizeSensor&&"undefined"!=typeof ResizeSensor&&(ResizeSensor.detach(this.sidebarInner,this.handleEvent),ResizeSensor.detach(this.container,this.handleEvent))}}],[{key:"supportTransform",value:function(t){var e=!1,i=t?"perspective":"transform",n=i.charAt(0).toUpperCase()+i.slice(1),s=document.createElement("support").style;return(i+" "+["Webkit","Moz","O","ms"].join(n+" ")+n).split(" ").forEach(function(t,i){if(void 0!==s[t])return e=t,!1}),e}},{key:"eventTrigger",value:function(t,e,i){try{n=new CustomEvent(e,{detail:i})}catch(t){var n;(n=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,i)}t.dispatchEvent(n)}},{key:"extend",value:function(t,e){var i={};for(var n in t)void 0!==e[n]?i[n]=e[n]:i[n]=t[n];return i}},{key:"offsetRelative",value:function(t){var e={left:0,top:0};do{var i=t.offsetTop,n=t.offsetLeft;isNaN(i)||(e.top+=i),isNaN(n)||(e.left+=n),t="BODY"===t.tagName?t.parentElement:t.offsetParent}while(t);return e}},{key:"addClass",value:function(t,e){n.hasClass(t,e)||(t.classList?t.classList.add(e):t.className+=" "+e)}},{key:"removeClass",value:function(t,e){n.hasClass(t,e)&&(t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))}},{key:"hasClass",value:function(t,e){return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)}}]),n}()}();window.StickySidebar=e,function(){if("undefined"!=typeof window){var t=window.$||window.jQuery||window.Zepto,i="stickySidebar";if(t){t.fn.stickySidebar=function(n){return this.each(function(){var s=t(this),o=t(this).data(i);if(o||(o=new e(this,"object"==typeof n&&n),s.data(i,o)),"string"==typeof n){if(void 0===o[n]&&-1===["destroy","updateSticky"].indexOf(n))throw new Error('No method named "'+n+'"');o[n]()}})},t.fn.stickySidebar.Constructor=e;var n=t.fn.stickySidebar;t.fn.stickySidebar.noConflict=function(){return t.fn.stickySidebar=n,this}}}}()});(function($){"use strict";var $masonry_container;var isSafari=(navigator.userAgent.indexOf('Safari')!==-1&&navigator.userAgent.indexOf('Chrome')===-1&&navigator.userAgent.indexOf('Android')===-1);var isIE=document.documentMode;var isEdge=/Edge/.test(navigator.userAgent);$(function(){if(isIE||isEdge){$('html').addClass('is-MS')} if(isIE){$('html').addClass('is-IE')} if(isEdge){$('html').addClass('is-Edge')} $("form input[type=submit], form input[type=button], form button:not(.tutor-btn):not(.tutor-button)").addClass(("is-ready button is-primary "+$('html').data('generic-button-style')));$('.sidebar .instagram-pics, .featured-area .instagram-pics').wrap('<div class="instagram-pics-wrap"></div>');$('.sidebar .null-instagram-feed > p').appendTo($('.sidebar .instagram-pics-wrap'));$('.featured-area .instagram-pics-wrap + p').appendTo($('.featured-area .instagram-pics-wrap'));$('input:not([type=submit]):not([type=button]):not([type=file]):not([type=radio]):not([type=checkbox])').addClass('input-text');if(!$('html').hasClass('is-menu-sticky')){$('.site-header').addClass('original')} if($('html').hasClass('is-header-logo-center')){var total=parseInt($('.site-header .nav-menu > ul > li').length/2);$("<li></li>").addClass('menu-logo').insertAfter('.site-header .nav-menu > ul > li:nth-child('+total+')');$('.site-header .site-branding').clone().appendTo($('.site-header .menu-logo'));$('.site-header').addClass('ready')} if($('html').hasClass('is-menu-sticky')){var theElement=$('html').hasClass('is-menu-bar')?$('.site-navigation'):$('.site-header');var theElement=$('html').hasClass('is-logo-stick-with-menu')?$('.site-header'):theElement;var smart,$orgElement,$clonedElement,orgElementTop,currentScroll,previousScroll=0,scrollDifference,detachPoint=650,hideShowOffset=6,$html=$('html');theElement.addClass('original').clone().insertAfter(theElement).addClass('clone').removeClass('original');$orgElement=$('.original');$clonedElement=$('.clone');smart=$('html').hasClass('is-menu-smart-sticky');if(smart){$html.addClass('menu-invisible')} $(window).on("scroll",function(){if($html.hasClass('is-menu-toggled-on'))return;currentScroll=$(this).scrollTop(),scrollDifference=Math.abs(currentScroll-previousScroll);orgElementTop=$orgElement.offset().top;if(currentScroll>=(orgElementTop)&¤tScroll!=0){if(smart){if(currentScroll>detachPoint){if(!$html.hasClass('menu-detached')){$html.addClass('menu-detached')} if(scrollDifference>=hideShowOffset){if(currentScroll>previousScroll){if(!$html.hasClass('menu-invisible')){$html.addClass('menu-invisible')}}else{if($html.hasClass('menu-invisible')){$html.removeClass('menu-invisible')}}}}else{if(!$html.hasClass('menu-invisible')&&$('html').hasClass('is-header-float')){$html.addClass('menu-invisible')}}}else{$clonedElement.addClass('is-visible');$orgElement.addClass('is-hidden');$html.addClass('is-sticky-menu-visible')}}else{if(smart){$html.addClass('menu-invisible').removeClass('menu-detached');if($('html').hasClass('is-header-float')){}else{}}else{$clonedElement.removeClass('is-visible');$orgElement.removeClass('is-hidden');$html.removeClass('is-sticky-menu-visible')}} previousScroll=currentScroll})} window.addEventListener('scroll',function(){var distanceY=window.pageYOffset||document.documentElement.scrollTop,shrinkOn=300,$html=$('html');if(distanceY>shrinkOn){$html.addClass("is-header-smaller")}else{if($html.hasClass("is-header-smaller")){$html.removeClass("is-header-smaller")}}});var $menu=$('.nav-menu');$menu.find('li:not(.menu-logo) a').wrapInner("<span class='link-text'></span>");$menu.find('li').each(function(){if($(this).children('ul').length){$(this).addClass('has-submenu');$(this).find('> a, > a .link-text').append('<span class="submenu-toggle"></span>')}});var $submenuTrigger=$('.has-submenu .submenu-toggle');$submenuTrigger.on("click",function(){$(this).parent().parent().toggleClass('active');$(this).parent().siblings('ul').toggleClass('active');return!1});$('.search-toggle').on("click",function(e){e.stopPropagation();var search_input=$(this).parent().find('.search-container input[type="search"]');$('html').toggleClass('is-search-toggled-on');if($('html').hasClass('is-search-toggled-on')){setTimeout(function(){search_input.trigger('focus')},400)}});$('.menu-toggle').on("click",function(e){e.stopPropagation();$('html').toggleClass('is-menu-toggled-on');$(this).parents('.site-navigation').toggleClass('is-active');$(this).parents('.site-header').toggleClass('is-active')});$('.nav-menu a[href*="#"]').on("click",function(){if(window.matchMedia("(max-width: 992px)").matches){$(this).parents('.site-navigation').find('.menu-toggle').trigger("click")}});$('.post-thumbnail .entry-header .more-link').each(function(){$(this).clone().appendTo($(this).parents('.post-wrap')).addClass('outside')});var sliderAnimations={'backSlide':{'in':'backSlideInRight','out':'backSlideOutLeft','backIn':'backSlideInLeft','backOut':'backSlideOutRight'},'scale':{'in':'scaleIn','out':'scaleOut'},'stackScale':{'in':'scaleIn','out':'zoomOut','backIn':'zoomIn','backOut':'scaleOut'},'stackZoom':{'in':'zoomIn','out':'scaleOut','backIn':'scaleIn','backOut':'zoomOut'},'fade':{'in':'fadeIn','out':'fadeOut'},'fadeHorizontal':{'in':'fadeInRight','out':'fadeOutLeft','backIn':'fadeInLeft','backOut':'fadeOutRight'},'fadeHorizontalBig':{'in':'fadeInRightBig','out':'fadeOutLeftBig','backIn':'fadeInLeftBig','backOut':'fadeOutRightBig'},'fadeVertical':{'in':'fadeInUp','out':'fadeOutUp','backIn':'fadeInDown','backOut':'fadeOutDown'},'fadeVerticalBig':{'in':'fadeInUpBig','out':'fadeOutUpBig','backIn':'fadeInDownBig','backOut':'fadeOutDownBig'},'jello':{'in':'jello','out':'zoomOut'},'jelloVertical':{'in':'jello','out':'fadeOutDown','backIn':'jello','backOut':'fadeOutUp'},'jelloVerticalBig':{'in':'jello','out':'fadeOutDownBig','backIn':'jello','backOut':'fadeOutUpBig'},'jelloHorizontal':{'in':'jello','out':'fadeOutLeft','backIn':'jello','backOut':'fadeOutRight'},'jelloHorizontalBig':{'in':'jello','out':'fadeOutLeftBig','backIn':'jello','backOut':'fadeOutRightBig'},'swing':{'in':'swing','out':'zoomOut'},'swingVertical':{'in':'swing','out':'fadeOutDown','backIn':'swing','backOut':'fadeOutUp'},'swingVerticalBig':{'in':'swing','out':'fadeOutDownBig','backIn':'swing','backOut':'fadeOutUpBig'},'swingHorizontal':{'in':'swing','out':'fadeOutLeft','backIn':'swing','backOut':'fadeOutRight'},'swingHorizontalBig':{'in':'swing','out':'fadeOutLeftBig','backIn':'swing','backOut':'fadeOutRightBig'},'rubberBand':{'in':'rubberBand','out':'zoomOut'},'rubberBandVertical':{'in':'rubberBand','out':'fadeOutUp','backIn':'rubberBand','backOut':'fadeOutDown'},'rubberBandVerticalBig':{'in':'rubberBand','out':'fadeOutDownBig','backIn':'rubberBand','backOut':'fadeOutUpBig'},'rubberBandHorizontal':{'in':'rubberBand','out':'fadeOutLeft','backIn':'rubberBand','backOut':'fadeOutRight'},'rubberBandHorizontalBig':{'in':'rubberBand','out':'fadeOutLeftBig','backIn':'rubberBand','backOut':'fadeOutRightBig'},'zoom':{'in':'zoomIn','out':'zoomOut'},'zoomHorizontal':{'in':'zoomIn','out':'fadeOutLeft','backIn':'fadeInLeft','backOut':'zoomOut'},'zoomHorizontalBig':{'in':'zoomIn','out':'fadeOutLeftBig','backIn':'fadeInLeftBig','backOut':'zoomOut'},'zoomVertical':{'in':'zoomIn','out':'fadeOutUp','backIn':'fadeInDown','backOut':'zoomOut'},'zoomVerticalBig':{'in':'zoomIn','out':'fadeOutUpBig','backIn':'fadeInDownBig','backOut':'zoomOut'},'zoomInDown':{'in':'zoomInDown','out':'zoomOut'},'fadeUpZoomOut':{'in':'fadeInUp','out':'zoomOut','backIn':'zoomIn','backOut':'fadeOutDown'},'fadeLeftZoomOut':{'in':'fadeInLeft','out':'zoomOut','backIn':'zoomIn','backOut':'fadeOutLeft'},'flipVertical':{'in':'flipInX','out':'zoomOut'},'flipHorizontal':{'in':'flipInY','out':'zoomOut'},'lightSpeed':{'in':'lightSpeedInLeft','out':'lightSpeedOutLeft','backIn':'lightSpeedInRight','backOut':'lightSpeedOutRight'},'jackInTheBox':{'in':'jackInTheBox','out':'zoomOut'},'hinge':{'out':'hinge'},'rotate':{'in':'rotateIn','out':'zoomOut','backIn':'zoomIn','backOut':'rotateOut'},'rotateUpSwitch':{'in':'rotateInUpRight','out':'rotateOutDownRight'},'rotateDownSwitch':{'in':'rotateInDownRight','out':'rotateOutUpRight'},'rotateHorizontal':{'in':'rotateInDownLeft','out':'rotateOutUpRight','backIn':'rotateInDownRight','backOut':'rotateOutUpLeft'},'rotateVertical':{'in':'rotateInUpRight','out':'rotateOutUpRight','backIn':'rotateInDownRight','backOut':'rotateOutDownRight'},'jumpIn':{'in':'jumpIn','out':'zoomOut'},'blur':{'in':'blurIn','out':'blurOut'},'blurZoom':{'in':'blurZoomIn','out':'blurZoomOut'},'blurScale':{'in':'blurScaleIn','out':'blurScaleOut'},'blurStackScale':{'in':'blurScaleIn','out':'blurZoomOut','backIn':'blurZoomIn','backOut':'blurScaleOut'},'blurStackZoom':{'in':'blurZoomIn','out':'blurScaleOut','backIn':'blurScaleIn','backOut':'blurZoomOut'},'invert':{'in':'invert'}};var owl=$('.owl-carousel');$('.slider-box .post-thumbnail .entry-header').removeClass('ready');if(owl.length){owl.each(function(index,element){var items=$(element).data('items');var animate=$(element).data('animation');var animateIn,animateOut,backAnimateIn,backAnimateOut;var mouseDrag=$(element).data('mouse-drag');if(sliderAnimations[animate]!==undefined&&items<=1){mouseDrag=!1;$(element).addClass('custom-animation');animateIn=isIE?'fadeIn':sliderAnimations[animate].in;animateOut=isIE?'fadeOut':sliderAnimations[animate].out;backAnimateIn=isIE?'fadeIn':sliderAnimations[animate].backIn;backAnimateOut=isIE?'fadeOut':sliderAnimations[animate].backOut} $(element).imagesLoaded(function(){$(element).find('.loading').remove();$(element).owlCarousel({mouseDrag:mouseDrag,dots:$(element).data('dots'),nav:$(element).data('nav'),autoplay:$(element).data('autoplay'),autoplayTimeout:$(element).data('autoplay-timeout'),autoplayHoverPause:!0,navText:!1,rewind:$(element).data('rewind'),center:$(element).data('center'),loop:$(element).data('loop'),navSpeed:350,dotsSpeed:250,responsiveRefreshRate:10,smartSpeed:1000,autoHeight:!0,animateIn:animateIn,animateOut:animateOut,backAnimateIn:backAnimateIn,backAnimateOut:backAnimateOut,responsive:{0:{items:1,nav:!0},700:{items:items<=2?items:2,nav:!1},960:{items:items<=3?items:3,nav:!0},1260:{items:items<=4?items:4,nav:!0}},onTranslated:function(){if($(element).data('autoplay')!==!0){$(element).trigger('stop.owl.autoplay')}},onInitialized:function(){if(!isIE){var $container=$('.post-slider');$('.post-slider .post-thumbnail').each(function(){if($(this).data('parallax-video')){$(this).jarallax({speed:0,zIndex:1,elementInViewport:$container,videoSrc:$(this).data('parallax-video')})}else if($('html').hasClass('is-slider-parallax')){$(this).jarallax({elementInViewport:$container,zIndex:1,speed:0.7,disableParallax:function(){return/iPad|iPhone|iPod|Edge|Trident|Android/.test(navigator.userAgent)}})}})} fitSliderTitle();setTimeout(function(){$('.post-thumbnail .entry-header').addClass('ready')},300);var fixWaitTime;$(window).on('resize',function(){clearTimeout(fixWaitTime);fixWaitTime=setTimeout(function(){fitSliderTitle()},500)});sticky_sidebar_update()}});new ResizeSensor($('.owl-carousel'),function(){$(element).trigger('refresh.owl.carousel')});if($(element).data('nav')!==!0){$(element).find('.owl-nav').hide()}})});function fitSliderTitle(){$('.slider-box .entry-title').fitText($('html').data('title-ratio'),{minFontSize:'12px',maxFontSize:'220px'})}} var video_parallax=$(".header-wrap, .intro, .post-thumbnail");video_parallax.each(function(){if($(this).data('parallax-video')){$(this).jarallax({speed:0,zIndex:1,videoSrc:$(this).data('parallax-video')})}});$('.is-header-parallax .header-wrap').jarallax({zIndex:1,speed:0.6,disableParallax:function(){return/iPad|iPhone|iPod|Edge|Trident|Android/.test(navigator.userAgent)}});$('.is-intro-parallax .intro').jarallax({zIndex:1,speed:0.6,disableParallax:function(){return/iPad|iPhone|iPod|Edge|Trident|Android/.test(navigator.userAgent)}});if(!(isIE||isEdge)){$('.is-link-box-parallax .link-box .post-thumbnail').jarallax({zIndex:1,speed:isSafari?0.5:0.7,disableParallax:function(){return/iPad|iPhone|iPod|Edge|Trident|Android/.test(navigator.userAgent)}})} if(!(isIE||isEdge)){$('.is-related-posts-parallax .related-posts .post-thumbnail').jarallax({zIndex:1,speed:0.8,disableParallax:function(){return/iPad|iPhone|iPod|Edge|Trident|Android/.test(navigator.userAgent)}})} parallaxImages();var post_thumbnail=$('.post-thumbnail');if(post_thumbnail.length){singlePostParallax();post_thumbnail.each(function(){var postThumbnail=$(this);var parallax=postThumbnail.find('[id^="jarallax"] div');var isParallax=parallax.length;var parallaxRatio=(isParallax&&postThumbnail.parent('.post-header-overlay-inline').length)?1.5:1;var src="";if(postThumbnail.width()*window.devicePixelRatio*parallaxRatio>1060){src=postThumbnail.data('large-image')}else if(postThumbnail.width()*window.devicePixelRatio*parallaxRatio>550){src=postThumbnail.data('medium-image')} if(src!==""){$("<img />").attr("src",src).load(function(){if(isParallax){parallax.css('background-image','url('+src+')')}else{postThumbnail.css('background-image','url('+src+')')}})}});$('*:not(.slider-post) > .post-thumbnail .entry-header').addClass('ready')} $("body").fitVids({customSelector:'iframe[src*="facebook.com/plugins/video"], iframe[src*="facebook.com/video/embed"]'});$('.fluid-width-video-wrapper').wrap('<div class="media-wrap"></div>');setupFluidbox();$('#commentform, .post-password-form, .mc4wp-form form, .mc4wp-form').addClass('validate-form');$('#commentform').find('input,textarea').each(function(index,element){if($(this).attr('aria-required')=="true"){$(this).addClass('required')} if($(this).attr('name')=="email"){$(this).addClass('email')}});if($('.validate-form').length){$('.validate-form').each(function(){$(this).validate()})} collage();var resizeTimer=null;$(window).bind('resize',function(){$('.gallery figure').css("opacity",0);if(resizeTimer)clearTimeout(resizeTimer);resizeTimer=setTimeout(collage,1200);collage()});$('.entry-content .lightbox').wrap("<span class='lightbox'></span>");if($('.lightbox, .gallery, .wp-block-gallery, .portfolio-grid .hentry-middle, .portfolio-grid .featured-image').length&&!$('body').hasClass('elementor-page')){$('.lightbox, .gallery, .wp-block-gallery, .portfolio-grid .hentry-middle, .portfolio-grid .featured-image').each(function(index,element){var $media_box=$(this);$media_box.magnificPopup({delegate:'.lightbox, .gallery-item a[href$=".jpg"], .gallery-item a[href$=".jpeg"], .gallery-item a[href$=".png"], .gallery-item a[href$=".gif"], .wp-block-image a[href$=".jpg"], .wp-block-image a[href$=".jpeg"], .wp-block-image a[href$=".png"], .wp-block-image a[href$=".gif"]',type:'image',image:{markup:'<div class="mfp-figure">'+'<div class="mfp-close"></div>'+'<div class="mfp-img"></div>'+'</div>'+'<div class="mfp-bottom-bar">'+'<div class="mfp-title"></div>'+'<div class="mfp-counter"></div>'+'</div>',cursor:'mfp-zoom-out-cur',verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},gallery:{enabled:!0,tCounter:'<span class="mfp-counter">%curr% / %total%</span>'},iframe:{markup:'<div class="mfp-iframe-scaler">'+'<div class="mfp-close"></div>'+'<iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe>'+'<div class="mfp-title">Some caption</div>'+'</div>'},mainClass:'mfp-zoom-in',tLoading:'',removalDelay:300,callbacks:{markupParse:function(template,values,item){var title="";if(item.el.parents('.gallery-item').length){title=item.el.parents('.gallery-item').find('.gallery-caption').text()}else if(item.el.parents('.wp-block-image').length){title=item.el.parents('.wp-block-image').find('.wp-element-caption').text()}else{title=item.el.attr('title')==undefined?"":item.el.attr('title')} values.title=title},imageLoadComplete:function(){var self=this;setTimeout(function(){self.wrap.addClass('mfp-image-loaded')},16)},close:function(){this.wrap.removeClass('mfp-image-loaded')},beforeAppend:function(){var self=this;if(this.content.find('iframe[src*="soundcloud.com"]').length){self.wrap.addClass('is-soundcloud')}else{self.wrap.removeClass('is-soundcloud')} this.content.find('iframe').on('load',function(){setTimeout(function(){self.wrap.addClass('mfp-image-loaded')},16)})}},closeBtnInside:!1,closeOnContentClick:!0,midClick:!0})})} var $wp_gallery=$('.wp-block-gallery:not(.is-cropped)');$wp_gallery.each(function(){$wp_gallery.isotope({itemSelector:'.wp-block-image',layoutMode:'masonry'});$wp_gallery.imagesLoaded().progress(function(){$wp_gallery.isotope('layout')})});$masonry_container=$('.masonry');if($masonry_container.length){$masonry_container.imagesLoaded(function(){$masonry_container.isotope({itemSelector:'.hentry',layoutMode:$masonry_container.data('layout'),transitionDuration:$masonry_container.hasClass('portfolio-grid')?400:0});setMasonry();setTimeout(function(){$masonry_container.isotope()},20);if($masonry_container.data('isotope')){var filters=$('.filters');if(filters.length){filters.find('a').on("click",function(){var selector=$(this).attr('data-filter');$masonry_container.isotope({filter:selector});$(this).parent().addClass('current').siblings().removeClass('current');return!1})}} $(window).on('resize',function(){setMasonry()})})} if($('figure img.full').length){$('figure img.full').parent().addClass('full')} var fs_video=$('.intro-vid');if(fs_video.length){bgVideo(fs_video);$(window).resize(function(){bgVideo(fs_video)})} var resizeTimerVideo=null;$(window).bind('resize',function(){if(resizeTimerVideo){clearTimeout(resizeTimerVideo)} resizeTimerVideo=setTimeout(bgVideo(fs_video),200)});sticky_sidebar();$(window).resize(function(){sticky_sidebar_update()});$('.link-box .entry-title').fitText($('html').data('link-box-title-ratio'),{minFontSize:'12px'});fixHeader();$(window).resize(function(){fixHeader();setTimeout(function(){fixHeader()},500)});fixFsRatio();$(window).resize(function(){fixFsRatio();setTimeout(function(){fixFsRatio()},500)});var headerShape=$('html').data('header-bg-shape');if(headerShape!==undefined){var headerSvg;switch(headerShape){case "curtain":headerSvg='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 100 22" preserveAspectRatio="none"><path fill="currentColor" stroke="currentColor" d="M0 0 Q 2.5 40 5 0 Q 7.5 40 10 0 Q 12.5 40 15 0 Q 17.5 40 20 0 Q 22.5 40 25 0 Q 27.5 40 30 0 Q 32.5 40 35 0 Q 37.5 40 40 0 Q 42.5 40 45 0 Q 47.5 40 50 0 Q 52.5 40 55 0 Q 57.5 40 60 0 Q 62.5 40 65 0 Q 67.5 40 70 0 Q 72.5 40 75 0 Q 77.5 40 80 0 Q 82.5 40 85 0 Q 87.5 40 90 0 Q 92.5 40 95 0 Q 97.5 40 100 0 Z"></path></svg>';break;case "chevron":headerSvg='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 100 102" preserveAspectRatio="none"><path fill="currentColor" stroke="currentColor" d="M0 0 L50 100 L100 0 Z"></path></svg>';break;case "round":headerSvg='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.1 0.3 200 19" preserveAspectRatio="none"><g transform="translate(-0.21755166,-100.15454)"><path style="fill:currentColor;" d="M 0.2688579,100.29477 H 200.98548 c 0,0 -99.37375,39.84098 -200.7166221,0 z"></path></g></svg>' break;case "round_layers":headerSvg='<svg viewBox="0 0 1280 140" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><g><path d="M0 0v.48C18.62 9.38 297.81 140 639.5 140 993.24 140 1280 0 1280 0z" fill-opacity=".3"></path><path d="M0 .6c14 8.28 176.54 99.8 555.45 119.14C952.41 140 1280 0 1280 0H0z" fill-opacity=".5"></path><path d="M726.29 101.2C1126.36 79.92 1281 0 1281 0H1c.05 0 325.25 122.48 725.29 101.2z"></path></g></svg>';break;case "cut_left":headerSvg='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="currentColor" fill-opacity="1" d="M0,0L720,128L1440,288L1440,0L720,0L0,0Z"></path></svg>';break;case "cut_left_round":headerSvg='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="currentColor" fill-opacity="1" d="M0,64L120,101.3C240,139,480,213,720,250.7C960,288,1200,288,1320,288L1440,288L1440,0L1320,0C1200,0,960,0,720,0C480,0,240,0,120,0L0,0Z"></path></svg>';break;case "cut_right":headerSvg='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="currentColor" fill-opacity="1" d="M0,320L1440,32L1440,0L0,0Z"></path></svg>';break;case "cut_right_round":headerSvg='<svg viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M-12.69,143.58 C107.50,141.61 373.87,152.45 522.29,-1.47 L500.00,0.00 L0.00,0.00 Z" style="stroke: none; fill: currentColor;"></path></svg>';break;case "wave_1":headerSvg='<svg width="100%" height="120" viewBox="0.1 0.1 180 40" preserveAspectRatio="none"><g transform="translate(-18.298844,-77.973964)"><path style="fill:currentColor;" d="M 31.615583,86.351641 H 192.16499 v 26.901969 c 0,0 -32.03411,-14.237983 -59.62682,-12.72484 -22.34188,1.2252 -54.779359,9.72634 -54.779359,9.72634 0,0 -22.029534,3.62882 -34.471238,-1.88988 -12.441702,-5.51871 -11.67199,-22.013589 -11.67199,-22.013589 z"></path><path style="fill:currentColor;" d="M 18.441597,78.106256 H 198.58126 v 39.288614 c 0,0 -43.10672,-27.825245 -73.47599,-19.687823 -30.369264,8.137423 -46.832208,12.548653 -46.832208,12.548653 0,0 -32.775418,8.05972 -46.735258,0 C 17.577964,102.19598 18.441597,78.106256 18.441597,78.106256 Z"></path></g></svg>';break;case "wave_2":headerSvg='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"> <path fill="currentColor" fill-opacity="1" d="M0,160L16,176C32,192,64,224,96,202.7C128,181,160,107,192,101.3C224,96,256,160,288,186.7C320,213,352,203,384,208C416,213,448,235,480,218.7C512,203,544,149,576,122.7C608,96,640,96,672,112C704,128,736,160,768,160C800,160,832,128,864,101.3C896,75,928,53,960,90.7C992,128,1024,224,1056,218.7C1088,213,1120,107,1152,96C1184,85,1216,171,1248,213.3C1280,256,1312,256,1344,240C1376,224,1408,192,1424,176L1440,160L1440,0L1424,0C1408,0,1376,0,1344,0C1312,0,1280,0,1248,0C1216,0,1184,0,1152,0C1120,0,1088,0,1056,0C1024,0,992,0,960,0C928,0,896,0,864,0C832,0,800,0,768,0C736,0,704,0,672,0C640,0,608,0,576,0C544,0,512,0,480,0C448,0,416,0,384,0C352,0,320,0,288,0C256,0,224,0,192,0C160,0,128,0,96,0C64,0,32,0,16,0L0,0Z"></path></svg>';break;case "wave_3":headerSvg='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="currentColor" fill-opacity="1" d="M0,128L60,112C120,96,240,64,360,48C480,32,600,32,720,80C840,128,960,224,1080,266.7C1200,309,1320,299,1380,293.3L1440,288L1440,0L1380,0C1320,0,1200,0,1080,0C960,0,840,0,720,0C600,0,480,0,360,0C240,0,120,0,60,0L0,0Z"></path></svg>';break;case "ribbon":headerSvg='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="currentColor" fill-opacity="1" d="M0,256L720,128L1440,256L1440,0L720,0L0,0Z"></path></svg>';break;case "ribbon_round":headerSvg='<svg viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M-12.13,150.48 C196.66,-30.09 318.00,-15.28 512.13,146.53 L500.84,-29.11 L-7.05,-11.34 Z" style="stroke: none; fill: currentColor;"></path></svg>';break;case "lines_1":headerSvg='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="currentColor" fill-opacity="1" d="M0,128L160,192L320,64L480,256L640,96L800,288L960,0L1120,256L1280,288L1440,0L1440,0L1280,0L1120,0L960,0L800,0L640,0L480,0L320,0L160,0L0,0Z"></path></svg>';break} if($('html').hasClass('is-menu-bottom')){$('.site-header .menu-wrap').append(headerSvg);$('.site-header .menu-wrap > svg').addClass('header-bg-shape')}else{$('.site-header .header-wrap').append(headerSvg);$('.site-header .header-wrap > svg').addClass('header-bg-shape')}} if($('html.is-audio-embeds-sticky body.single-post').length){$('iframe[src*="spotify.com"],iframe[src*="podbean.com"],iframe[src*="soundcloud.com"],iframe[src*="simplecast.com"],iframe[src*="tunein.com"],iframe[src*="anchor.fm"],iframe[src*="radiopublic.com"],iframe[src*="castbox.fm"],iframe[src*="iheart.com"],iframe[src*="libsyn.com"],iframe[src*="deezer.com"],iframe[src*="mixcloud.com"],iframe[src*="buzzsprout.com"],iframe[src*="spreaker.com"],iframe[src*="cadence13.com"],iframe[src*="ausha.co"],iframe[src*="podomatic.com"],iframe[src*="blogtalkradio.com"],iframe[src*="megaphone.fm"],iframe[src*="transistor.fm"], iframe[src*="captivate.fm"]').addClass('sticky-audio');var sticky_audio_height=$('.sticky-audio').height();$('html').css('padding-bottom',sticky_audio_height);if($('html').hasClass('is-sidebar-sticky')){$('.sidebar-wrap').css('padding-bottom',sticky_audio_height)}}});window.onload=function(){fixHeader();fixFsRatio();setTimeout(function(){fixHeader();fixFsRatio()},500);sticky_sidebar_update();$('html').addClass('loaded');bgVideo($('.intro-vid'));if($('html').hasClass('is-slider-image-blur-on-scroll')){blurItemOnScroll('.featured-area .post-slider .post-wrap + div')} if($('html').hasClass('is-link-box-image-blur-on-scroll')){blurItemOnScroll('.featured-area .link-box .post-wrap + div')} if($('html').hasClass('is-featured-image-blur-on-scroll')){blurItemOnScroll('.featured-image img');blurItemOnScroll('.top-content-single .post-wrap + div');blurItemOnScroll('.top-content-single iframe')}};function blurItemOnScroll(item){if($(item).length){$(window).scroll(function(){$(item).each(function(index){var oVal=($(window).scrollTop()-$(this).offset().top)/50;oVal=oVal<1?0:oVal;var filterVal='blur('+oVal+'px)';$(this).css('filter',filterVal).css('webkitFilter',filterVal).css('mozFilter',filterVal).css('oFilter',filterVal).css('msFilter',filterVal)})})}} function fixHeader(){if($('html').hasClass('is-header-float')&&!($('html').hasClass('is-header-vertical'))){var headerHeight=parseInt($('.site-header:not(.clone)').outerHeight())+parseInt($('.site-header:not(.clone)').css('marginTop')+parseInt($('.site-header:not(.clone) .header-wrap').css('marginTop')));headerHeight=$('.top-bar').length?headerHeight+parseInt($('.top-bar').outerHeight()):headerHeight;$('.top-content, .site-header + .site-main, .top-content-single, .site-header ~ .elementor').css('marginTop','-'+ ++headerHeight+'px')} if(!($('html').hasClass('is-header-float'))&&$('html').is('.is-menu-top.is-logo-overflow')){var headerHeight=parseInt($('.site-header:not(.clone) .site-branding').outerHeight())/2;$('.site-header:not(.clone) .header-wrap').css('marginBottom','-'+headerHeight+'px');$('.site-header + .site-main').css('marginTop',+headerHeight+'px')} if(!($('html').hasClass('is-header-float'))&&$('html').is('.is-menu-bottom.is-menu-bottom-overflow')){var headerHeight=parseInt($('.site-header:not(.clone) .site-navigation:not(.clone)').outerHeight())/2;$('.site-header:not(.clone) .site-navigation:not(.clone)').css('marginBottom','-'+headerHeight+'px');$('.site-header + .site-main').css('marginTop',+headerHeight+'px')} var isHeaderVertical=$('html').hasClass('is-header-vertical'),isHeaderVerticalLeft=$('html').hasClass('is-header-vertical-left'),isHeaderVerticalRight=$('html').hasClass('is-header-vertical-right');if(isHeaderVertical){var header=$('.site-header');$('.nav-menu li.has-submenu').each(function(){$(this).find('ul').css("padding-top",($(this).offset().top-$(window).scrollTop())+'px')});if(isHeaderVerticalLeft){$('.nav-menu > ul > li > ul').css("left",(header.offset().left+header.width())+'px')} if(isHeaderVerticalRight){var offsetRight=($(window).width()-(header.offset().left+header.outerWidth()));var right=header.width()+offsetRight-1;$('.nav-menu > ul > li > ul').css("right",right+'px')} if(isIE){$('.nav-menu ul ul ul').each(function(){var depth=$(this,".nav-menu").parents("ul").length;var subWidth=$('.nav-menu ul ul').width();if(isHeaderVerticalLeft){$(this).css("left",(header.offset().left+header.width()+(subWidth*--depth))+'px')}else if(isHeaderVerticalRight){var offsetRight=($(window).width()-header.offset().left);var right=(subWidth*--depth)+offsetRight;$(this).css("right",right+'px')}})}}} function fixFsRatio(){if(!($('html').hasClass('is-header-float'))){var headerHeight=parseInt($('.site-header:not(.clone').outerHeight())+parseInt($('.site-header:not(.clone)').css('marginTop'));headerHeight=$('html').is('.is-menu-top.is-logo-overflow')?headerHeight-(parseInt($('.site-header:not(.clone) .site-branding').outerHeight())/2):headerHeight;headerHeight=$('html').hasClass('is-header-vertical')?0:headerHeight;headerHeight=$('.top-bar').length?headerHeight+parseInt($('.top-bar').outerHeight()):headerHeight;headerHeight--;$('.ratio-fs .post-wrap').css('minHeight','calc(100vh - '+headerHeight+'px)')}} function singlePostParallax(){$('.is-top-content-single-medium .post-thumbnail').jarallax({zIndex:1,speed:0.6,disableParallax:function(){return/iPad|iPhone|iPod|Edge|Trident|Android/.test(navigator.userAgent)}});$('.is-top-content-single-full .post-thumbnail, .is-top-content-single-full-screen .post-thumbnail, .is-top-content-single-full-margins .post-thumbnail').jarallax({zIndex:1,speed:0.6,disableParallax:function(){return/iPad|iPhone|iPod|Edge|Trident|Android/.test(navigator.userAgent)}});$('.post-header-overlay-inline .post-thumbnail').jarallax({zIndex:1,speed:0.7,disableParallax:function(){return/iPad|iPhone|iPod|Edge|Trident|Android/.test(navigator.userAgent)}})} var stickySidebar;function sticky_sidebar(){if($('.is-sidebar-sticky #secondary').length){jQuery.support.touch='ontouchend' in document;if(window.matchMedia("(min-width: 992px)").matches&&!(jQuery.support.touch)&&($('#primary').height()>$('#secondary').height())){stickySidebar=new StickySidebar('#secondary',{topSpacing:80,bottomSpacing:20,resizeSensor:!0,containerSelector:'.site-main > div',innerWrapperSelector:'.sidebar-wrap'})}}} function sticky_sidebar_update(){if($('.is-sidebar-sticky #secondary').length){jQuery.support.touch='ontouchend' in document;if(window.matchMedia("(min-width: 992px)").matches&&!(jQuery.support.touch)&&($('#primary').height()>$('#secondary').height())){stickySidebar.updateSticky()} if(window.matchMedia("(max-width: 991px)").matches){if(stickySidebar){stickySidebar.destroy()}}}} function bgVideo(fs_video){var videoW=fs_video.find('iframe, video').width(),videoH=fs_video.find('iframe, video').height(),screenW=$('.intro').outerWidth(),screenH=$('.intro').outerHeight();var video_ratio=videoW/videoH;var screen_ratio=screenW/screenH;if(video_ratio>screen_ratio){var diffW=screenH/videoH;var newWidth=videoW*diffW;fs_video.css({'width':newWidth,'margin-left':-((newWidth-screenW)/2),'margin-top':0})}else{var diffH=screenH/videoH;var newHeight=screenH*diffH;fs_video.css({'width':"100%",'margin-left':0,'margin-top':-((videoH-screenH)/2)})}} function parallaxImages(){$('img.parallax').each(function(index,element){var img=$(element);$('<div class="parallax-image"></div>').insertBefore(img);var wrapper=img.prev('.parallax-image');wrapper.css('background-image','url('+img.attr('src')+')');if(img.hasClass('half')){wrapper.addClass('half')} var isIE=document.documentMode||/Edge/.test(navigator.userAgent);if(!isIE){img.imagesLoaded(function(){var aspect_ratio=img.width()/img.height();var speed=aspect_ratio>1.2?0.2:-0.9;speed=$('.content-area').hasClass('with-sidebar')?0.2:speed;wrapper.jarallax({zIndex:1,speed:speed,disableParallax:function(){return/iPad|iPhone|iPod|Edge|Trident|Android/.test(navigator.userAgent)}})})}})} function setupFluidbox(){$('.entry-content > p a, .wp-caption a, a.zoom').each(function(){if($('body').hasClass('woocommerce')){return} if($(this).attr('href').match(/\.(jpeg|jpg|gif|png)$/)!==null){$(this).fluidbox({viewportFill:0.8,immediateOpen:!0,loader:!1,stackIndex:400})}})} function collage(){var collage=$('.gallery');if(collage.length){collage.each(function(index,el){$(el).imagesLoaded(function(){$(el).removeClass('pw-collage-loading').addClass('has-collage-layout');$(el).collagePlus({'targetHeight':360,'effect':'effect-4','allowPartialLastRow':!1})})})}} function setMasonry(){var itemW=$masonry_container.data('item-width');var containerW=$masonry_container.width();var items=$masonry_container.children('.hentry');var columns=Math.round(containerW/itemW);$masonry_container.removeClass('col-1 col-2 col-3 col-4- col-5 col-6 col-7- col-8').addClass('col-'+columns);items.each(function(index,element){var multiplier=($masonry_container.hasClass('first-full')&&index===0)&&columns>1?2:1;var itemRealWidth=(Math.floor(containerW/columns)*100/containerW)*multiplier;itemRealWidth=itemRealWidth>100?100:itemRealWidth;$(this).css('width',itemRealWidth+'%')});var columnWidth=Math.floor(containerW/columns);$masonry_container.isotope('option',{masonry:{columnWidth:columnWidth}})}})(jQuery);(function($){"use strict";$(function(){function fillBars(){$('.bar').each(function(){var bar=$(this);var percent=bar.attr('data-percent');bar.find('.progress').css('width',percent+'%').html('<span>'+percent+'</span>')})} fillBars();var tabs=$('.tabs');if(tabs.length){tabs.each(function(){if(!$(this).find('.tab-titles li a.active').length){$(this).find('.tab-titles li:first-child a').addClass('active');$(this).find('.tab-content > div:first-child').show()}else{$(this).find('.tab-content > div').eq($(this).find('.tab-titles li a.active').parent().index()).show()} setupFluidbox()});tabs.find('.tab-titles li a').on("click",function(){if($(this).hasClass('active')){return} $(this).parent().siblings().find('a').removeClass('active');$(this).addClass('active');$(this).parents('.tabs').find('.tab-content > div').hide().eq($(this).parent().index()).show();setupFluidbox();return!1})} var toggle=$('.toggle');if(toggle.length){var toggleSpeed=300;$('.toggle h4.active + .toggle-content').show();$('.toggle h4').on("click",function(){if($(this).hasClass('active')){$(this).removeClass('active');$(this).next('.toggle-content').stop(!0,!0).slideUp(toggleSpeed)}else{$(this).addClass('active');$(this).next('.toggle-content').stop(!0,!0).slideDown(toggleSpeed,function(){setupFluidbox()});setupFluidbox();if($(this).parents('.toggle-group').hasClass('accordion')){$(this).parent().siblings().find('h4').removeClass('active');$(this).parent().siblings().find('.toggle-content').stop(!0,!0).slideUp(toggleSpeed)}} return!1})} var contactForm=$('#contact-form');var $submit=contactForm.find('.submit');contactForm.submit(function(){if(contactForm.valid()){$submit.addClass("active loading");var formValues=contactForm.serialize();$.post(contactForm.attr('action'),formValues,function(data){if(data=='success'){setTimeout(function(){$submit.removeClass("loading").addClass("success");contactForm.clearForm()},2000)}else{$submit.removeClass("loading").addClass("error")}})} return!1});$.fn.clearForm=function(){return this.each(function(){var type=this.type,tag=this.tagName.toLowerCase();if(tag=='form') return $(':input',this).clearForm();if(type=='text'||type=='password'||tag=='textarea') this.value='';else if(type=='checkbox'||type=='radio') this.checked=!1;else if(tag=='select') this.selectedIndex=-1})}});function setupFluidbox(){$('.entry-content > p a, .wp-caption a, a.zoom').each(function(){if($('body').hasClass('woocommerce')){return} if($(this).attr('href').match(/\.(jpeg|jpg|gif|png)$/)!==null){$(this).fluidbox({viewportFill:0.8,immediateOpen:!0,loader:!1,stackIndex:400})}})}})(jQuery);var consent_api={"consent_type":"","waitfor_consent_hook":"","cookie_expiration":"30","cookie_prefix":"wp_consent"};"use strict";window.wp_fallback_consent_type=consent_api.consent_type;window.waitfor_consent_hook=consent_api.waitfor_consent_hook;function wp_has_consent(category){var consent_type;if(typeof window.wp_consent_type!=="undefined"){consent_type=window.wp_consent_type}else{consent_type=window.wp_fallback_consent_type}var has_consent_level=!1;var cookie_value=consent_api_get_cookie(consent_api.cookie_prefix+"_"+category);if(!consent_type){has_consent_level=!0}else if(consent_type.indexOf("optout")!==-1&&cookie_value===""){has_consent_level=!0}else{has_consent_level=cookie_value==="allow"}return has_consent_level}function consent_api_set_cookie(name,value){var secure=";secure";var days=consent_api.cookie_expiration;var date=new Date;date.setTime(date.getTime()+days*24*60*60*1e3);var expires=";expires="+date.toGMTString();if(window.location.protocol!=="https:")secure="";document.cookie=name+"="+value+secure+expires+";path=/"}function consent_api_get_cookie(name){name=name+"=";var cookies=window.document.cookie.split(";");for(var i=0;i<cookies.length;i++){var cookie=cookies[i].trim();if(cookie.indexOf(name)==0)return cookie.substring(name.length,cookie.length)}return""}function wp_set_consent(category,value){var event;if(value!=="allow"&&value!=="deny")return;var previous_value=consent_api_get_cookie(consent_api.cookie_prefix+"_"+category);consent_api_set_cookie(consent_api.cookie_prefix+"_"+category,value);if(previous_value===value)return;var changedConsentCategory=[];changedConsentCategory[category]=value;try{event=new CustomEvent("wp_listen_for_consent_change",{detail:changedConsentCategory})}catch(err){event=document.createEvent("Event");event.initEvent("wp_listen_for_consent_change",!0,!0);event.detail=changedConsentCategory}document.dispatchEvent(event)}
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings