/*! For license information please see scripts.min.js.LICENSE.txt */
(()=>{var t,e={378:()=>{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)}function e(){"use strict";e=function(){return n};var r,n={},o=Object.prototype,a=o.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",u=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(r){f=function(t,e,r){return t[e]=r}}function m(t,e,r,n){var o=e&&e.prototype instanceof L?e:L,a=Object.create(o.prototype),c=new P(n||[]);return i(a,"_invoke",{value:k(t,r,c)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}n.wrap=m;var p="suspendedStart",d="suspendedYield",v="executing",y="completed",g={};function L(){}function b(){}function w(){}var S={};f(S,l,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(I([])));E&&E!==o&&a.call(E,l)&&(S=E);var q=w.prototype=L.prototype=Object.create(S);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function _(e,r){function n(o,i,c,l){var s=h(e[o],e,i);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==t(f)&&a.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,c,l)}),(function(t){n("throw",t,c,l)})):r.resolve(f).then((function(t){u.value=t,c(u)}),(function(t){return n("throw",t,c,l)}))}l(s.arg)}var o;i(this,"_invoke",{value:function(t,e){function a(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(a,a):a()}})}function k(t,e,n){var o=p;return function(a,i){if(o===v)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:r,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=j(c,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=h(t,e,n);if("normal"===s.type){if(o=n.done?y:d,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=y,n.method="throw",n.arg=s.arg)}}}function j(t,e){var n=e.method,o=t.iterator[n];if(o===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=r,j(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=h(o,t.iterator,e.arg);if("throw"===a.type)return e.method="throw",e.arg=a.arg,e.delegate=null,g;var i=a.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,g):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function I(e){if(e||""===e){var n=e[l];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++o<e.length;)if(a.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=r,t.done=!0,t};return i.next=i}}throw new TypeError(t(e)+" is not iterable")}return b.prototype=w,i(q,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:b,configurable:!0}),b.displayName=f(w,u,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,f(t,u,"GeneratorFunction")),t.prototype=Object.create(q),t},n.awrap=function(t){return{__await:t}},O(_.prototype),f(_.prototype,s,(function(){return this})),n.AsyncIterator=_,n.async=function(t,e,r,o,a){void 0===a&&(a=Promise);var i=new _(m(t,e,r,o),a);return n.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},O(q),f(q,u,"Generator"),f(q,l,(function(){return this})),f(q,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},n.values=I,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:I(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),g}},n}function r(t,e,r,n,o,a,i){try{var c=t[a](i),l=c.value}catch(t){return void r(t)}c.done?e(l):Promise.resolve(l).then(n,o)}function n(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var i=t.apply(e,n);function c(t){r(i,o,a,c,l,"next",t)}function l(t){r(i,o,a,c,l,"throw",t)}c(void 0)}))}}function o(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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 i,c=!0,l=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){l=!0,i=t},f:function(){try{c||null==r.return||r.return()}finally{if(l)throw i}}}}function a(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}!function(){var t=document.querySelectorAll(".faq-list--item");if(t.length>0){var e,r=o(t);try{var n=function(){var t=e.value;t.querySelector(".faq-list--label").addEventListener("click",(function(){t.classList.toggle("-toggle")}))};for(r.s();!(e=r.n()).done;)n()}catch(t){r.e(t)}finally{r.f()}}}(),function(){for(var t=document.querySelectorAll(".welcome--promo button"),r=0;r<t.length;r++)t[r].addEventListener("click",n(e().mark((function t(){var r,n=this;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.parentElement.classList.add("active"),r=this.textContent||this.innerText,t.prev=2,t.next=5,navigator.clipboard.writeText(r);case 5:t.next=10;break;case 7:t.prev=7,t.t0=t.catch(2),console.log(t.t0);case 10:setTimeout((function(){n.parentElement.classList.remove("active")}),2e3);case 11:case"end":return t.stop()}}),t,this,[[2,7]])}))))}(),function(){var t=document.querySelector(".header--menu-btn");if(t){var e=document.querySelector(".header--menu-wrap");t.addEventListener("click",(function(){t.classList.toggle("-toggle"),e.classList.toggle("-toggle"),document.querySelector("body").classList.toggle("-toggle"),document.querySelector(".body--inner").classList.toggle("-toggle")}))}}(),function(){var t=document.querySelectorAll(".header a");if(t){var e=document.querySelector(".header--menu-btn"),r=document.querySelector(".header--menu-wrap");t.forEach((function(t){t.addEventListener("click",(function(){e.classList.remove("-toggle"),r.classList.remove("-toggle"),document.querySelector("body").classList.remove("-toggle"),document.querySelector(".body--inner").classList.remove("-toggle")}))}))}}(),function(){if(document.querySelector("#main-comments-block")){var t=document.querySelector(".g-rev-page-comment-form--wrapp");document.addEventListener("submit",(function(e){if(e.target.closest("form.add-comment")){e.preventDefault(),e.target.closest(".-ajax-form")||(t.querySelector(".form-section").classList.remove("-toggle"),t.querySelector(".thanks-section").classList.remove("-toggle"));var r=e.target.closest("form.add-comment"),n=r.querySelector(".comment-form-errrors");n.innerHTML="";var o=new FormData;o.append("action","add_comment"),o.append("add_comment_form_nonce",e.target.add_comment_form_nonce.value),o.append("commentID",e.target.dataset.comment),o.append("postID",e.target.dataset.post),o.append("name",e.target.name.value),o.append("email",e.target.email.value),o.append("comment",e.target.comment.value),fetch(ajax.url,{method:"POST",credentials:"same-origin",body:o}).then((function(t){return t.json()})).then((function(o){if(o.errors){var a="";o.errors.name?(r.name.classList.add("-error-input"),a+='<li class="err-name">'.concat(o.errors.name,"</li>")):r.name.classList.remove("-error-input"),o.errors.email?(r.email.classList.add("-error-input"),a+='<li class="err-email">'.concat(o.errors.email,"</li>")):r.email.classList.remove("-error-input"),o.errors.comment?(r.comment.classList.add("-error-input"),a+='<li class="err-comment">'.concat(o.errors.comment,"</li>")):r.comment.classList.remove("-error-input"),n.innerHTML="<ul>".concat(a,"</ul>")}if(o.status&&"ok"===o.status){n.innerHTML="",e.target.name.value="",e.target.email.value="",e.target.comment.value="";var i=r.closest(".g-rev-page-comment-form");if(i.classList.contains("-ajax-form"))i.closest(".g-rev-page-comments-list__comment--wrapp").querySelector(".insert-reply-form").innerHTML='<div class="g-comment-moder-text">Your comment will be published after moderation.</div>';else t.querySelector(".form-section").classList.add("-toggle"),t.querySelector(".thanks-section").classList.add("-toggle")}})).catch((function(t){console.error(t)}))}})),document.querySelector(".thanks-close-btn").addEventListener("click",(function(){t.classList.remove("-toggle"),t.querySelector(".form-section").classList.remove("-toggle"),t.querySelector(".thanks-section").classList.remove("-toggle")}));var e=document.querySelectorAll(".g-rev-comment--reply");if(e)for(var r=function(t){e[t].addEventListener("click",(function(){var r=e[t],n=r.closest(".g-rev-page-comments-list__comment--wrapp"),o=r.closest(".g-rev-page-comments-list__comment"),a=o.dataset.comment,i=o.dataset.post,c=o.querySelector(".g-rev-comment--user").innerHTML,l=new FormData;l.append("action","add_replycomment"),l.append("commentID",a),l.append("postID",i),l.append("username",c),fetch(ajax.url,{method:"POST",credentials:"same-origin",body:l}).then((function(t){return t.text()})).then((function(t){n.querySelector(".insert-reply-form").innerHTML=t})).catch((function(t){console.error(t)})),document.addEventListener("click",(function(t){t.target.classList.contains("cancel-reply-form")&&(o.classList.remove("-toggle"),n.querySelector(".insert-reply-form").innerHTML="")}))}))},n=0;n<e.length;n++)r(n)}}()},792:()=>{}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var a=r[t]={exports:{}};return e[t](a,a.exports,n),a.exports}n.m=e,t=[],n.O=(e,r,o,a)=>{if(!r){var i=1/0;for(u=0;u<t.length;u++){for(var[r,o,a]=t[u],c=!0,l=0;l<r.length;l++)(!1&a||i>=a)&&Object.keys(n.O).every((t=>n.O[t](r[l])))?r.splice(l--,1):(c=!1,a<i&&(i=a));if(c){t.splice(u--,1);var s=o();void 0!==s&&(e=s)}}return e}a=a||0;for(var u=t.length;u>0&&t[u-1][2]>a;u--)t[u]=t[u-1];t[u]=[r,o,a]},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t={183:0,107:0};n.O.j=e=>0===t[e];var e=(e,r)=>{var o,a,[i,c,l]=r,s=0;if(i.some((e=>0!==t[e]))){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);if(l)var u=l(n)}for(e&&e(r);s<i.length;s++)a=i[s],n.o(t,a)&&t[a]&&t[a][0](),t[a]=0;return n.O(u)},r=self.webpackChunkg=self.webpackChunkg||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})(),n.O(void 0,[107],(()=>n(378)));var o=n.O(void 0,[107],(()=>n(792)));o=n.O(o)})();