PageSourceSearch

https://www.whistlingwoods.net/wp-content/cache/wpo-minify/1785848240/assets/wpo-minify-footer-61313246.min.js

js whistlingwoods.net collected 2026-09-24 20:25:24 UTC 141,871 bytes, 83 lines download raw bytes

1
2/* info: https://www.whistlingwoods.net/wp-content/plugins/page-scroll-to-id/js/page-scroll-to-id.min.js */
3/* Page scroll to id - version 1.7.8 */
4!function(O,x,c,e){var n,M,s,i,l,a,o,r,u,h,t,d,p="mPageScroll2id",b="mPS2id",g={scrollSpeed:1e3,autoScrollSpeed:!0,scrollEasing:"easeInOutQuint",scrollingEasing:"easeOutQuint",pageEndSmoothScroll:!0,layout:"vertical",offset:0,highlightSelector:!1,clickedClass:b+"-clicked",targetClass:b+"-target",highlightClass:b+"-highlight",forceSingleHighlight:!1,keepHighlightUntilNext:!1,highlightByNextTarget:!1,disablePluginBelow:!1,clickEvents:!0,appendHash:!1,onStart:function(){},onComplete:function(){},defaultSelector:!1,live:!0,liveSelector:!1,excludeSelectors:!1,encodeLinks:!1,inIframe:!1},f=0,_=/[ `!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/,w={init:function(e){e=O.extend(!0,{},g,e);if(O(c).data(b,e),M=O(c).data(b),!this.selector){var t="__"+b;this.each(function(){var e=O(this);e.hasClass(t)||e.addClass(t)}),this.selector="."+t}M.liveSelector&&(this.selector+=","+M.liveSelector),n=n?n+","+this.selector:this.selector,M.defaultSelector&&("object"==typeof O(n)&&0!==O(n).length||(n=".m_PageScroll2id,a[rel~='m_PageScroll2id'],.page-scroll-to-id,a[rel~='page-scroll-to-id'],._ps2id")),M.clickEvents&&O(c).off("."+b).on("click."+b,n,function(e){if(m._isDisabled.call(null))m._removeClasses.call(null);else{var t=O(this),n=t.attr("href"),s=t.prop("href").baseVal||t.prop("href");M.excludeSelectors&&t.is(M.excludeSelectors)||n&&-1!==n.indexOf("#/")||(m._reset.call(null),h=t.data("ps2id-offset")||0,m._isValid.call(null,n,s)&&m._findTarget.call(null,n)&&(e.preventDefault(),i="selector",l=t,m._setClasses.call(null,!0),m._scrollTo.call(null)))}}),O(x).off("."+b).on("scroll."+b+" resize."+b,function(){if(m._isDisabled.call(null))m._removeClasses.call(null);else{var i=O("._"+b+"-t");i.each(function(e){var t=O(this),n=t.attr("id"),s=m._findHighlight.call(null,n);m._setClasses.call(null,!1,t,s),e==i.length-1&&m._extendClasses.call(null)})}}),s=!0,m._setup.call(null),m._live.call(null)},scrollTo:function(e,t){if(m._isDisabled.call(null))m._removeClasses.call(null);else if(e&&void 0!==e){m._isInit.call(null);var n={layout:M.layout,offset:M.offset,clicked:!1};t=O.extend(!0,{},n,t);m._reset.call(null),r=t.layout,u=t.offset,e=-1!==e.indexOf("#")?e:"#"+e,m._isValid.call(null,e)&&m._findTarget.call(null,e)&&(i="scrollTo",(l=t.clicked)&&m._setClasses.call(null,!0),m._scrollTo.call(null))}},destroy:function(){O(x).off("."+b),O(c).off("."+b).removeData(b),O("._"+b+"-t").removeData(b),m._removeClasses.call(null,!0)}},m={_isDisabled:function(){var e=x,t="inner",n=M.disablePluginBelow instanceof Array?[M.disablePluginBelow[0]||0,M.disablePluginBelow[1]||0]:[M.disablePluginBelow||0,0];return"innerWidth"in x||(t="client",e=c.documentElement||c.body),e[t+"Width"]<=n[0]||e[t+"Height"]<=n[1]},_isValid:function(e,t){if(e){var n=-1!==(t=t||e).indexOf("#/")?t.split("#/")[0]:t.split("#")[0],s=(M.inIframe||x.location===x.parent.location?x.location:x.parent.location).toString().split("#")[0];return"#"!==e&&-1!==e.indexOf("#")&&(""===n||decodeURIComponent(n)===decodeURIComponent(s))}},_setup:function(){var l=m._highlightSelector(),o=1,r=0;return O(l).each(function(){var e=O(this),t=e.attr("href"),n=e.prop("href").baseVal||e.prop("href");if(m._isValid.call(null,t,n)){if(M.excludeSelectors&&e.is(M.excludeSelectors))return;var s=-1!==t.indexOf("#/")?t.split("#/")[1]:t.substring(t.indexOf("#")+1),i=_.test(s)?O(c.getElementById(s)):O("#"+s);if(0<i.length){M.highlightByNextTarget&&i!==r&&(r?r.data(b,{tn:i}):i.data(b,{tn:"0"}),r=i),i.hasClass("_"+b+"-t")||i.addClass("_"+b+"-t"),i.data(b,{i:o}),e.hasClass("_"+b+"-h")||e.addClass("_"+b+"-h");var a=m._findHighlight.call(null,s);m._setClasses.call(null,!1,i,a),f=o,++o==O(l).length&&m._extendClasses.call(null)}}})},_highlightSelector:function(){return M.highlightSelector&&""!==M.highlightSelector?M.highlightSelector:n},_findTarget:function(e){var t=-1!==e.indexOf("#/")?e.split("#/")[1]:e.substring(e.indexOf("#")+1),n=_.test(t)?O(c.getElementById(t)):O("#"+t);if(n.length<1||"fixed"===n.css("position")){if("top"!==t)return;n=O("body")}
4return a=n,r||(r=M.layout),u=m._setOffset.call(null),(o=[(n.offset().top-u[0]).toString(),(n.offset().left-u[1]).toString()])[0]=o[0]<0?0:o[0],o[1]=o[1]<0?0:o[1],o},_setOffset:function(){var e,t,n,s;switch(u||(u=M.offset?M.offset:0),h&&(u=h),typeof u){case"object":case"string":0<(t=[(e=[u.y?u.y:u,u.x?u.x:u])[0]instanceof jQuery?e[0]:O(e[0]),e[1]instanceof jQuery?e[1]:O(e[1])])[0].length?(n=t[0].height(),"fixed"===t[0].css("position")&&(n+=t[0][0].offsetTop)):n=!isNaN(parseFloat(e[0]))&&isFinite(e[0])?parseInt(e[0]):0,0<t[1].length?(s=t[1].width(),"fixed"===t[1].css("position")&&(s+=t[1][0].offsetLeft)):s=!isNaN(parseFloat(e[1]))&&isFinite(e[1])?parseInt(e[1]):0;break;case"function":(e=u.call(null))instanceof Array?(n=e[0],s=e[1]):n=s=e;break;default:n=s=parseInt(u)}return[n,s]},_findHighlight:function(e){var t=M.inIframe||x.location===x.parent.location?x.location:x.parent.location,n=t.toString().split("#")[0],s=t.pathname;if(-1!==n.indexOf("'")&&(n=n.replace("'","\\'")),-1!==s.indexOf("'")&&(s=s.replace("'","\\'")),n=decodeURIComponent(n),s=decodeURIComponent(s),M.encodeLinks){var i=encodeURI(n).toLowerCase(),a=encodeURI(s).toLowerCase();return O("._"+b+"-h[href='#"+e+"'],._"+b+"-h[href='"+n+"#"+e+"'],._"+b+"-h[href='"+s+"#"+e+"'],._"+b+"-h[href='#/"+e+"'],._"+b+"-h[href='"+n+"#/"+e+"'],._"+b+"-h[href='"+s+"#/"+e+"'],._"+b+"-h[href='"+i+"#/"+e+"'],._"+b+"-h[href='"+i+"#"+e+"'],._"+b+"-h[href='"+a+"#/"+e+"'],._"+b+"-h[href='"+a+"#"+e+"']")}return O("._"+b+"-h[href='#"+e+"'],._"+b+"-h[href='"+n+"#"+e+"'],._"+b+"-h[href='"+s+"#"+e+"'],._"+b+"-h[href='#/"+e+"'],._"+b+"-h[href='"+n+"#/"+e+"'],._"+b+"-h[href='"+s+"#/"+e+"']")},_setClasses:function(e,t,n){var s=M.clickedClass,i=M.targetClass,a=M.highlightClass;e&&s&&""!==s?(O("."+s).removeClass(s),l.addClass(s)):t&&i&&""!==i&&n&&a&&""!==a&&(m._currentTarget.call(null,t)?(t.addClass(i),n.addClass(a)):(!M.keepHighlightUntilNext||1<O("."+a).length)&&(t.removeClass(i),n.removeClass(a)))},_extendClasses:function(){var e=M.targetClass,t=M.highlightClass,n=O("."+e),s=O("."+t),i=e+"-first",a=e+"-last",l=t+"-first",o=t+"-last";O("._"+b+"-t").removeClass(i+" "+a),O("._"+b+"-h").removeClass(l+" "+o),M.forceSingleHighlight?M.keepHighlightUntilNext&&1<n.length?(n.slice(0,1).removeClass(e),s.slice(0,1).removeClass(t)):(n.slice(1).removeClass(e),s.slice(1).removeClass(t)):(n.slice(0,1).addClass(i).end().slice(-1).addClass(a),s.slice(0,1).addClass(l).end().slice(-1).addClass(o))},_removeClasses:function(e){O("."+M.clickedClass).removeClass(M.clickedClass),O("."+M.targetClass).removeClass(M.targetClass+" "+M.targetClass+"-first "+M.targetClass+"-last"),O("."+M.highlightClass).removeClass(M.highlightClass+" "+M.highlightClass+"-first "+M.highlightClass+"-last"),e&&(O("._"+b+"-t").removeClass("_"+b+"-t"),O("._"+b+"-h").removeClass("_"+b+"-h"))},_currentTarget:function(e){if(e.data(b)){var t=M["target_"+e.data(b).i],n=e.data("ps2id-target"),s=n&&O(n)[0]?O(n)[0].getBoundingClientRect():e[0].getBoundingClientRect();if(void 0!==t){var i=e.offset().top,a=e.offset().left,l=t.from?t.from+i:i,o=t.to?t.to+i:i,r=t.fromX?t.fromX+a:a,c=t.toX?t.toX+a:a;return s.top>=o&&s.top<=l&&s.left>=c&&s.left<=r}var u=O(x).height(),h=O(x).width(),d=n?O(n).height():e.height(),p=n?O(n).width():e.width(),g=1+d/u,f=g,_=d<u?g*(u/d):g,w=1+p/h,m=w,S=p<h?w*(h/p):w,I=[s.top<=u/f,s.bottom>=u/_,s.left<=h/m,s.right>
4=h/S];if(M.highlightByNextTarget){var v=e.data(b).tn;if(v){var C=v[0].getBoundingClientRect();"vertical"===M.layout?I=[s.top<=u/2,C.top>u/2,1,1]:"horizontal"===M.layout&&(I=[1,1,s.left<=h/2,C.left>h/2])}}return I[0]&&I[1]&&I[2]&&I[3]}},_scrollTo:function(){d=m._scrollSpeed.call(null),o=M.pageEndSmoothScroll?m._pageEndSmoothScroll.call(null):o;var e=O("html,body"),t=M.autoScrollSpeed?m._autoScrollSpeed.call(null):d,n=e.is(":animated")?M.scrollingEasing:M.scrollEasing,s=O(x).scrollTop(),i=O(x).scrollLeft();switch(r){case"horizontal":i!=o[1]&&(m._callbacks.call(null,"onStart"),e.stop().animate({scrollLeft:o[1]},t,n).promise().then(function(){m._callbacks.call(null,"onComplete")}));break;case"auto":var a;if(s!=o[0]||i!=o[1])if(m._callbacks.call(null,"onStart"),navigator.userAgent.match(/(iPod|iPhone|iPad|Android)/))e.stop().animate({pageYOffset:o[0],pageXOffset:o[1]},{duration:t,easing:n,step:function(e,t){"pageXOffset"==t.prop?a=e:"pageYOffset"==t.prop&&x.scrollTo(a,e)}}).promise().then(function(){m._callbacks.call(null,"onComplete")}
4);else e.stop().animate({scrollTop:o[0],scrollLeft:o[1]},t,n).promise().then(function(){m._callbacks.call(null,"onComplete")});break;default:s!=o[0]&&(m._callbacks.call(null,"onStart"),e.stop().animate({scrollTop:o[0]},t,n).promise().then(function(){m._callbacks.call(null,"onComplete")}))}},_pageEndSmoothScroll:function(){var e=O(c).height(),t=O(c).width(),n=O(x).height(),s=O(x).width();return[e-o[0]<n?e-n:o[0],t-o[1]<s?t-s:o[1]]},_scrollSpeed:function(){var s=M.scrollSpeed;return l&&l.length&&l.add(l.parent()).each(function(){var e=O(this);if(e.attr("class")){var t=e.attr("class").split(" ");for(var n in t)if(String(t[n]).match(/^ps2id-speed-\d+$/)){s=t[n].split("ps2id-speed-")[1];break}}}),parseInt(s)},_autoScrollSpeed:function(){var e=O(x).scrollTop(),t=O(x).scrollLeft(),n=O(c).height(),s=O(c).width(),i=[d+d*Math.floor(Math.abs(o[0]-e)/n*100)/100,d+d*Math.floor(Math.abs(o[1]-t)/s*100)/100];return Math.max.apply(Math,i)},_callbacks:function(e){if(M)switch(this[b]={trigger:i,clicked:l,target:a,scrollTo:{y:o[0],x:o[1]}},e){case"onStart":if(M.appendHash&&x.history&&x.history.pushState&&l&&l.length){var t=l.attr("href"),n="#"+t.substring(t.indexOf("#")+1);n!==x.location.hash&&history.pushState("","",n)}M.onStart.call(null,this[b]);break;case"onComplete":M.onComplete.call(null,this[b])}},_reset:function(){r=u=h=!1},_isInit:function(){s||w.init.apply(this)},_live:function(){t=setTimeout(function(){M.live?O(m._highlightSelector()).length!==f&&m._setup.call(null):t&&clearTimeout(t),m._live.call(null)},1e3)},_easing:function(){function t(e){var t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375}O.easing.easeInQuad=O.easing.easeInQuad||function(e){return e*e},O.easing.easeOutQuad=O.easing.easeOutQuad||function(e){return 1-(1-e)*(1-e)},O.easing.easeInOutQuad=O.easing.easeInOutQuad||function(e){return e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2},O.easing.easeInCubic=O.easing.easeInCubic||function(e){return e*e*e},O.easing.easeOutCubic=O.easing.easeOutCubic||function(e){return 1-Math.pow(1-e,3)},O.easing.easeInOutCubic=O.easing.easeInOutCubic||function(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2},O.easing.easeInQuart=O.easing.easeInQuart||function(e){return e*e*e*e},O.easing.easeOutQuart=O.easing.easeOutQuart||function(e){return 1-Math.pow(1-e,4)},O.easing.easeInOutQuart=O.easing.easeInOutQuart||function(e){return e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2},O.easing.easeInQuint=O.easing.easeInQuint||function(e){return e*e*e*e*e},O.easing.easeOutQuint=O.easing.easeOutQuint||function(e){return 1-Math.pow(1-e,5)},O.easing.easeInOutQuint=O.easing.easeInOutQuint||function(e){return e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2},O.easing.easeInExpo=O.easing.easeInExpo||function(e){return 0===e?0:Math.pow(2,10*e-10)},O.easing.easeOutExpo=O.easing.easeOutExpo||function(e){return 1===e?1:1-Math.pow(2,-10*e)},O.easing.easeInOutExpo=O.easing.easeInOutExpo||function(e){return 0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2},O.easing.easeInSine=O.easing.easeInSine||function(e){return 1-Math.cos(e*Math.PI/2)},O.easing.easeOutSine=O.easing.easeOutSine||function(e){return Math.sin(e*Math.PI/2)},O.easing.easeInOutSine=O.easing.easeInOutSine||function(e){return-(Math.cos(Math.PI*e)-1)/2},O.easing.easeInCirc=O.easing.easeInCirc||function(e){return 1-Math.sqrt(1-Math.pow(e,2))},O.easing.easeOutCirc=O.easing.easeOutCirc||function(e){return Math.sqrt(1-Math.pow(e-1,2))},O.easing.easeInOutCirc=O.easing.easeInOutCirc||function(e){return e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2},O.easing.easeInElastic=O.easing.easeInElastic||function(e){return 0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*(2*Math.PI/3))},O.easing.easeOutElastic=O.easing.easeOutElastic||function(e){return 0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*(2*Math.PI/3))+1},O.easing.easeInOutElastic=O.easing.easeInOutElastic||function(e){return 0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*(2*Math.PI/4.5))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*(2*Math.PI/4.5))/2+1},O.easing.easeInBack=O.easing.easeInBack||function(e){return 2.70158*e*e*e-1.70158*e*e},O.easing.easeOutBack=O.easing.easeOutBack||function(e){return 1+2.70158*Math.pow(e-1,3)+1.70158*Math.pow(e-1,2)},O.easing.easeInOutBack=O.easing.easeInOutBack||function(e){return e<.5?Math.pow(2*e,2)*(7.189819*e-2.5949095)/2:(Math.pow(2*e-2,2)*(3.5949095*(2*e-2)+2.5949095)+2)/2},O.easing.easeInBounce=O.easing.easeInBounce||function(e){return 1-t(1-e)},O.easing.easeOutBounce=O.easing.easeOutBounce||t,O.easing.easeInOutBounce=O.easing.easeInOutBounce||function(e){return e<.5?(1-t(1-2*e))/2:(1+t(2*e-1))/2}}};
4m._easing.call(),O.fn[p]=function(e){return w[e]?w[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void O.error("Method "+e+" does not exist"):w.init.apply(this,arguments)},O[p]=function(e){return w[e]?w[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void O.error("Method "+e+" does not exist"):w.init.apply(this,arguments)},O[p].defaults=g}(jQuery,window,document),function(o){var r,c="mPS2id",u=mPS2id_params,h=u.shortcode_class,d=location.hash||null,s=/[ `!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/,p=function(e,t){var n=e.substring(e.indexOf("#")+1);try{s.test(n)?o(document.getElementById(n)):o("#"+n)}catch(e){return!1}return(s.test(n)?o(document.getElementById(n)):o("#"+n)).length&&(t||o("a[href*='#"+n+"']").filter(function(){return 1==o(this).data(c+"Element")}).length)},g=function(e){if(-1===e.indexOf(","))return e;var t=e.split(",");return{y:t[0]||"0",x:t[1]||"0"}},f=function(e){if(-1===e.indexOf(","))return e;var t=e.split(",");return[t[0]||"0",t[1]||"0"]},_=function(e){"horizontal"!==e&&o(window).scrollTop(0),"vertical"!==e&&o(window).scrollLeft(0)},w=function(e,t){for(var n=e.click.length-1;0<=n;n--){var s=e.click[n];s&&"mPS2id"!=s.namespace&&("a[href*=#]"===s.selector?s.selector="a[href*=#]:not(._mPS2id-h)":'a[href*="#"]'===s.selector?s.selector='a[href*="#"]:not(._mPS2id-h)':"a[href*=#]:not([href=#])"===s.selector?s.selector="a[href*=#]:not([href=#]):not(._mPS2id-h)":'a[href*="#"]:not([href="#"])'===s.selector?s.selector='a[href*="#"]:not([href="#"]):not(._mPS2id-h)':s.selector&&-1!==s.selector.indexOf("mobmenu")?t.off("click"):t.off("click",s.handler))}},m="a[data-ps2id-api='true'][href*='#'],.ps2id > a[href*='#'],a.ps2id[href*='#']";function t(e){var t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375}o(function(){for(var e=0;e<u.total_instances;e++){var t=o("[class*='ps2id-id-']");if(t.length&&t.each(function(){var e,t=o(this),n=t.attr("class").split(" ");if(!t.attr("id"))for(var s in n)if(String(n[s]).match(/^ps2id-id-\S+$/)){e=n[s].split("ps2id-id-")[1],o("#"+e).length||t.attr("id",e);break}}),"true"===u.instances[c+"_instance_"+e].scrollToHash&&d&&(o(u.instances[c+"_instance_"+e].selector+",."+h+","+m).not(u.instances[c+"_instance_"+e].excludeSelector).each(function(){o(this).data(c+"Element",!0)}),p(d,"true"===u.instances[c+"_instance_"+e].scrollToHashForAll))){var n="true"===u.instances[c+"_instance_"+e].scrollToHashRemoveUrlHash?window.location.href.replace(/#.*$/,""):window.location.href.replace(/#.*$/,"#");_(u.instances[c+"_instance_"+e].layout),window.history&&window.history.replaceState?window.history.replaceState("","",n):window.location.href=n}}o("html").css("scroll-behavior","auto"),window.twentytwenty&&window.twentytwenty.smoothScroll&&(window.twentytwenty.smoothScroll=null)}),o(window).on("load",function(){for(var e=0;e<u.total_instances;e++){0<=u.instances[c+"_instance_"+e].selector.indexOf("a[href*=#]:not([href=#])")&&console.log("ps2id selector issue: a[href*=#]:not([href=#]) selector needs quotes"),0<=u.instances[c+"_instance_"+e].excludeSelector.indexOf("a[href*=#]:not([href=#])")&&console.log("ps2id excluded selector issue: a[href*=#]:not([href=#]) selector needs quotes");var n=o(u.instances[c+"_instance_"+e].selector+",."+h+","+m),t=u.instances[c+"_instance_"+e].autoCorrectScroll,s=0,i=u.instances[c+"_instance_"+e].autoCorrectScrollExtend;if(window.ps2id_special_params&&(window.ps2id_special_params.highlightSelector&&(u.instances[c+"_instance_"+e].highlightSelector=window.ps2id_special_params.highlightSelector),window.ps2id_special_params.scrollSpeed&&(u.instances[c+"_instance_"+e].scrollSpeed=window.ps2id_special_params.scrollSpeed),window.ps2id_special_params.scrollEasing&&(u.instances[c+"_instance_"+e].scrollEasing=window.ps2id_special_params.scrollEasing),void 0!==window.ps2id_special_params.forceSingleHighlight&&(u.instances[c+"_instance_"+e].forceSingleHighlight=window.ps2id_special_params.forceSingleHighlight),void 0!==window.ps2id_special_params.keepHighlightUntilNext&&(u.instances[c+"_instance_"+e].keepHighlightUntilNext=window.ps2id_special_params.keepHighlightUntilNext),void 0!==window.ps2id_special_params.appendHash&&(u.instances[c+"_instance_"+e].appendHash=window.ps2id_special_params.appendHash),window.ps2id_special_params.layout&&(u.instances[c+"_instance_"+e].layout=window.ps2id_special_params.layout),window.ps2id_special_params.offset&&(u.instances[c+"_instance_"+e].offset=window.ps2id_special_params.offset)),n.mPageScroll2id({scrollSpeed:u.instances[c+"_instance_"+e].scrollSpeed,autoScrollSpeed:"true"===u.instances[c+"_instance_"+e].autoScrollSpeed,scrollEasing:"true"===u.instances[c+"_instance_"+e].forceScrollEasing?"ps2id_"+u.instances[c+"_instance_"+e].scrollEasing:u.instances[c+"_instance_"+e].scrollEasing,scrollingEasing:"true"===u.instances[c+"_instance_"+e].forceScrollEasing?"ps2id_"+u.instances[c+"_instance_"+e].scrollingEasing:u.instances[c+"_instance_"+e].scrollingEasing,pageEndSmoothScroll:"true"===u.instances[c+"_instance_"+e].pageEndSmoothScroll,layout:u.instances[c+"_instance_"+e].layout,offset:g(u.instances[c+"_instance_"+e].offset.toString()),highlightSelector:u.instances[c+"_instance_"+e].highlightSelector,clickedClass:u.instances[c+"_instance_"+e].clickedClass,targetClass:u.instances[c+"_instance_"+e].targetClass,highlightClass:u.instances[c+"_instance_"+e].highlightClass,forceSingleHighlight:"true"===u.instances[c+"_instance_"+e].forceSingleHighlight,keepHighlightUntilNext:"true"===u.instances[c+"_instance_"+e].keepHighlightUntilNext,highlightByNextTarget:"true"===u.instances[c+"_instance_"+e].highlightByNextTarget,disablePluginBelow:f(u.instances[c+"_instance_"+e].disablePluginBelow.toString()),appendHash:"true"===u.instances[c+"_instance_"+e].appendHash,onStart:function(){"true"===t&&"selector"===mPS2id.trigger&&s++,"true"===i&&(r=[mPS2id.target.offset().top,mPS2id.target.offset().left])},onComplete:function(){"true"===i?r[0]===mPS2id.target.offset().top&&r[1]===mPS2id.target.offset().left||("selector"===mPS2id.trigger&&mPS2id.clicked.length?mPS2id.clicked.trigger("click.mPS2id"):o.mPageScroll2id("scrollTo",mPS2id.target.attr("id"))):1==s&&(mPS2id.clicked.length&&mPS2id.clicked.trigger("click.mPS2id"),s=0)},excludeSelectors:u.instances[c+"_instance_"+e].excludeSelector,encodeLinks:"true"===u.instances[c+"_instance_"+e].encodeLinks,liveSelector:u.instances[c+"_instance_"+e].selector+",."+h+","+m}),"true"===u.instances[c+"_instance_"+e].scrollToHash&&d&&p(d,"true"===u.instances[c+"_instance_"+e].scrollToHashForAll)){_(u.instances[c+"_instance_"+e].layout);var a=u.instances[c+"_instance_"+e].scrollToHashUseElementData,l=o("a._mPS2id-h[href$='"+d+"'][data-ps2id-offset]:not([data-ps2id-offset=''])").last();setTimeout(function(){"true"===a&&l.length?l.trigger("click.mPS2id"):o.mPageScroll2id("scrollTo",d),-1!==window.location.href.indexOf("#")&&(window.history&&window.history.replaceState?window.history.replaceState("","",d):window.location.hash=d)},u.instances[c+"_instance_"+e].scrollToHashDelay)}o(".ps2id-auto-scroll[id]").length&&!window.location.hash&&setTimeout(function(){o.mPageScroll2id("scrollTo",o(".ps2id-auto-scroll[id]").attr("id"))},u.instances[c+"_instance_"+e].scrollToHashDelay),"true"!==u.instances[c+"_instance_"+e].unbindUnrelatedClickEvents||u.instances[c+"_instance_"+e].unbindUnrelatedClickEventsSelector||setTimeout(function(){var e=n.length?o._data(n[0],"events"):null,t=n.length?o._data(o(document)[0],"events"):null;
4e&&w(e,n),t&&w(t,n)},300),"true"===u.instances[c+"_instance_"+e].normalizeAnchorPointTargets&&o("a._mPS2id-t[id]:empty").css({display:"inline-block","line-height":0,width:0,height:0,border:"none"}),"true"===u.instances[c+"_instance_"+e].stopScrollOnUserAction&&o(document).on("mousewheel DOMMouseScroll touchmove",function(){var e=o("html,body");e.is(":animated")&&e.stop()})}}),o.expr.pseudos?o.extend(o.expr.pseudos,{absolute:o.expr.pseudos.absolute||function(e){return"absolute"===o(e).css("position")},relative:o.expr.pseudos.relative||function(e){return"relative"===o(e).css("position")},static:o.expr.pseudos.static||function(e){return"static"===o(e).css("position")},fixed:o.expr.pseudos.fixed||function(e){return"fixed"===o(e).css("position")},sticky:o.expr.pseudos.sticky||function(e){return"sticky"===o(e).css("position")},width:o.expr.pseudos.width||function(e,t,n){var s=n[3].replace("&lt;","<").replace("&gt;",">");return!!s&&(">"===s.substr(0,1)?o(e).width()>s.substr(1):"<"===s.substr(0,1)?o(e).width()<s.substr(1):o(e).width()===parseInt(s))},height:o.expr.pseudos.height||function(e,t,n){var s=n[3].replace("&lt;","<").replace("&gt;",">");return!!s&&(">"===s.substr(0,1)?o(e).height()>s.substr(1):"<"===s.substr(0,1)?o(e).height()<s.substr(1):o(e).height()===parseInt(s))}}):o.extend(o.expr[":"],{absolute:o.expr[":"].absolute||function(e){return"absolute"===o(e).css("position")},relative:o.expr[":"].relative||function(e){return"relative"===o(e).css("position")},static:o.expr[":"].static||function(e){return"static"===o(e).css("position")},fixed:o.expr[":"].fixed||function(e){return"fixed"===o(e).css("position")},width:o.expr[":"].width||function(e,t,n){var s=n[3].replace("&lt;","<").replace("&gt;",">");return!!s&&(">"===s.substr(0,1)?o(e).width()>s.substr(1):"<"===s.substr(0,1)?o(e).width()<s.substr(1):o(e).width()===parseInt(s))},height:o.expr[":"].height||function(e,t,n){var s=n[3].replace("&lt;","<").replace("&gt;",">");return!!s&&(">"===s.substr(0,1)?o(e).height()>s.substr(1):"<"===s.substr(0,1)?o(e).height()<s.substr(1):o(e).height()===parseInt(s))}}),o.easing.ps2id_easeInQuad=o.easing.ps2id_easeInQuad||function(e){return e*e},o.easing.ps2id_easeOutQuad=o.easing.ps2id_easeOutQuad||function(e){return 1-(1-e)*(1-e)},o.easing.ps2id_easeInOutQuad=o.easing.ps2id_easeInOutQuad||function(e){return e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2},o.easing.ps2id_easeInCubic=o.easing.ps2id_easeInCubic||function(e){return e*e*e},o.easing.ps2id_easeOutCubic=o.easing.ps2id_easeOutCubic||function(e){return 1-Math.pow(1-e,3)},o.easing.ps2id_easeInOutCubic=o.easing.ps2id_easeInOutCubic||function(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2},o.easing.ps2id_easeInQuart=o.easing.ps2id_easeInQuart||function(e){return e*e*e*e},o.easing.ps2id_easeOutQuart=o.easing.ps2id_easeOutQuart||function(e){return 1-Math.pow(1-e,4)},o.easing.ps2id_easeInOutQuart=o.easing.ps2id_easeInOutQuart||function(e){return e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2},o.easing.ps2id_easeInQuint=o.easing.ps2id_easeInQuint||function(e){return e*e*e*e*e},o.easing.ps2id_easeOutQuint=o.easing.ps2id_easeOutQuint||function(e){return 1-Math.pow(1-e,5)},o.easing.ps2id_easeInOutQuint=o.easing.ps2id_easeInOutQuint||function(e){return e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2},o.easing.ps2id_easeInExpo=o.easing.ps2id_easeInExpo||function(e){return 0===e?0:Math.pow(2,10*e-10)},o.easing.ps2id_easeOutExpo=o.easing.ps2id_easeOutExpo||function(e){return 1===e?1:1-Math.pow(2,-10*e)},o.easing.ps2id_easeInOutExpo=o.easing.ps2id_easeInOutExpo||function(e){return 0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2},o.easing.ps2id_easeInSine=o.easing.ps2id_easeInSine||function(e){return 1-Math.cos(e*Math.PI/2)},o.easing.ps2id_easeOutSine=o.easing.ps2id_easeOutSine||function(e){return Math.sin(e*Math.PI/2)},o.easing.ps2id_easeInOutSine=o.easing.ps2id_easeInOutSine||function(e){return-(Math.cos(Math.PI*e)-1)/2},o.easing.ps2id_easeInCirc=o.easing.ps2id_easeInCirc||function(e){return 1-Math.sqrt(1-Math.pow(e,2))},o.easing.ps2id_easeOutCirc=o.easing.ps2id_easeOutCirc||function(e){return Math.sqrt(1-Math.pow(e-1,2))},o.easing.ps2id_easeInOutCirc=o.easing.ps2id_easeInOutCirc||function(e){return e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2},o.easing.ps2id_easeInElastic=o.easing.ps2id_easeInElastic||function(e){return 0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*(2*Math.PI/3))},o.easing.ps2id_easeOutElastic=o.easing.ps2id_easeOutElastic||function(e){return 0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*(2*Math.PI/3))+1},o.easing.ps2id_easeInOutElastic=o.easing.ps2id_easeInOutElastic||function(e){return 0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*(2*Math.PI/4.5))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*(2*Math.PI/4.5))/2+1},o.easing.ps2id_easeInBack=o.easing.ps2id_easeInBack||function(e){return 2.70158*e*e*e-1.70158*e*e},o.easing.ps2id_easeOutBack=o.easing.ps2id_easeOutBack||function(e){return 1+2.70158*Math.pow(e-1,3)+1.70158*Math.pow(e-1,2)},o.easing.ps2id_easeInOutBack=o.easing.ps2id_easeInOutBack||function(e){return e<.5?Math.pow(2*e,2)*(7.189819*e-2.5949095)/2:(Math.pow(2*e-2,2)*(3.5949095*(2*e-2)+2.5949095)+2)/2},o.easing.ps2id_easeInBounce=o.easing.ps2id_easeInBounce||function(e){return 1-t(1-e)},o.easing.ps2id_easeOutBounce=o.easing.ps2id_easeOutBounce||t,o.easing.ps2id_easeInOutBounce=o.easing.ps2id_easeInOutBounce||function(e){return e<.5?(1-t(1-2*e))/2:(1+t(2*e-1))/2}}(jQuery);
5
6
7
8/* info: https://www.whistlingwoods.net/wp-content/plugins/wp-whatsapp/assets/dist/js/njt-whatsapp.js */
9(()=>{var t={353(t){t.exports=function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",s="day",c="week",l="month",u="quarter",d="year",f="date",m="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
vendor: 5,418 bytes, line 9
9|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},y=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},b={s:y,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+y(r,2,"0")+":"+y(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,l),o=n-i<0,a=e.clone().add(r+(o?-1:1),l);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:l,y:d,w:c,d:s,D:f,h:a,m:o,s:i,ms:r,Q:u}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},_="en",v={};v[_]=g;var w="$isDayjsObject",T=function(t){return t instanceof $||!(!t||!t[w])},S=function t(e,n,r){var i;if(!e)return _;if("string"==typeof e){var o=e.toLowerCase();v[o]&&(i=o),n&&(v[o]=n,i=o);var a=e.split("-");if(!i&&a.length>1)return t(a[0])}else{var s=e.name;v[s]=e,i=s}return!r&&i&&(_=i),i||!r&&_},A=function(t,e){if(T(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new $(n)},E=b;E.l=S,E.i=T,E.w=function(t,e){return A(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var $=function(){function g(t){this.$L=S(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[w]=!0}var y=g.prototype;return y.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(E.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(p);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.init()},y.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},y.$utils=function(){return E},y.isValid=function(){return!(this.$d.toString()===m)},y.isSame=function(t,e){var n=A(t);return this.startOf(e)<=n&&n<=this.endOf(e)},y.isAfter=function(t,e){return A(t)<this.startOf(e)},y.isBefore=function(t,e){return this.endOf(e)<A(t)},y.$g=function(t,e,n){return E.u(t)?this[e]:this.set(n,t)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(t,e){var n=this,r=!!E.u(e)||e,u=E.p(t),m=function(t,e){var i=E.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(s)},p=function(t,e){return E.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},h=this.$W,g=this.$M,y=this.$D,b="set"+(this.$u?"UTC":"");switch(u){case d:return r?m(1,0):m(31,11);case l:return r?m(1,g):m(0,g+1);case c:var _=this.$locale().weekStart||0,v=(h<_?h+7:h)-_;return m(r?y-v:y+(6-v),g);case s:case f:return p(b+"Hours",0);case a:return p(b+"Minutes",1);case o:return p(b+"Seconds",2);case i:return p(b+"Milliseconds",3);default:return this.clone()}},y.endOf=function(t){return this.startOf(t,!1)},y.$set=function(t,e){var n,c=E.p(t),u="set"+(this.$u?"UTC":""),m=(n={},n[s]=u+"Date",n[f]=u+"Date",n[l]=u+"Month",n[d]=u+"FullYear",n[a]=u+"Hours",n[o]=u+"Minutes",n[i]=u+"Seconds",n[r]=u+"Milliseconds",n)[c],p=c===s?this.$D+(e-this.$W):e;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[m](p),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else m&&this.$d[m](p);return this.init(),this},y.set=function(t,e){return this.clone().$set(t,e)},y.get=function(t){return this[E.p(t)]()},y.add=function(r,u){var f,m=this;r=Number(r);var p=E.p(u),h=function(t){var e=A(m);return E.w(e.date(e.date()+Math.round(t*r)),m)};if(p===l)return this.set(l,this.$M+r);if(p===d)return this.set(d,this.$y+r);if(p===s)return h(1);if(p===c)return h(7);var g=(f={},f[o]=e,f[a]=n,f[i]=t,f)[p]||1,y=this.$d.getTime()+r*g;return E.w(y,this)},y.subtract=function(t,e){return this.add(-1*t,e)},y.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||m;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=E.z(this),o=this.$H,a=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(t,n,i,o){return t&&(t[n]||t(e,r))||i[n].slice(0,o)},f=function(t){return E.s(o%12||12,t,"0")},p=u||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(h,function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return E.s(e.$y,4,"0");case"M":return s+1;case"MM":return E.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,l,3);case"MMMM":return d(l,s);case"D":return e.$D;case"DD":return E.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return d(n.weekdaysMin,e.$W,c,2);case"ddd":return d(n.weekdaysShort,e.$W,c,3);case"dddd":return c[e.$W];case"H":return String(o);case"HH":return E.s(o,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return p(o,a,!0);case"A":return p(o,a,!1);case"m":return String(a);case"mm":return E.s(a,2,"0");case"s":return String(e.$s);case"ss":return E.s(e.$s,2,"0");case"SSS":return E.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")})}
vendor: 6,637 bytes, line 9
9,y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(r,f,m){var p,h=this,g=E.p(f),y=A(r),b=(y.utcOffset()-this.utcOffset())*e,_=this-y,v=function(){return E.m(h,y)};switch(g){case d:p=v()/12;break;case l:p=v();break;case u:p=v()/3;break;case c:p=(_-b)/6048e5;break;case s:p=(_-b)/864e5;break;case a:p=_/n;break;case o:p=_/e;break;case i:p=_/t;break;default:p=_}return m?p:E.a(p)},y.daysInMonth=function(){return this.endOf(l).$D},y.$locale=function(){return v[this.$L]},y.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},y.clone=function(){return E.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},g}(),D=$.prototype;return A.prototype=D,[["$ms",r],["$s",i],["$m",o],["$H",a],["$W",s],["$M",l],["$y",d],["$D",f]].forEach(function(t){D[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),A.extend=function(t,e){return t.$i||(t(e,$,A),t.$i=!0),A},A.locale=S,A.isDayjs=T,A.unix=function(t){return A(1e3*t)},A.en=v[_],A.Ls=v,A.p={},A}()},522(t){t.exports=function(){"use strict";var t,e,n=1e3,r=6e4,i=36e5,o=864e5,a=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,c=2628e6,l=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,u={years:s,months:c,days:o,hours:i,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},d=function(t){return t instanceof b},f=function(t,e,n){return new b(t,n,e.$l)},m=function(t){return e.p(t)+"s"},p=function(t){return t<0},h=function(t){return p(t)?Math.ceil(t):Math.floor(t)},g=function(t){return Math.abs(t)},y=function(t,e){return t?p(t)?{negative:!0,format:""+g(t)+e}:{negative:!1,format:""+t+e}:{negative:!1,format:""}},b=function(){function p(t,e,n){var r=this;if(this.$d={},this.$l=n,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),e)return f(t*u[m(e)],this);if("number"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if("object"==typeof t)return Object.keys(t).forEach(function(e){r.$d[m(e)]=t[e]}),this.calMilliseconds(),this;if("string"==typeof t){var i=t.match(l);if(i){var o=i.slice(2).map(function(t){return null!=t?Number(t):0});return this.$d.years=o[0],this.$d.months=o[1],this.$d.weeks=o[2],this.$d.days=o[3],this.$d.hours=o[4],this.$d.minutes=o[5],this.$d.seconds=o[6],this.calMilliseconds(),this}}return this}var g=p.prototype;return g.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce(function(e,n){return e+(t.$d[n]||0)*u[n]},0)},g.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=h(t/s),t%=s,this.$d.months=h(t/c),t%=c,this.$d.days=h(t/o),t%=o,this.$d.hours=h(t/i),t%=i,this.$d.minutes=h(t/r),t%=r,this.$d.seconds=h(t/n),t%=n,this.$d.milliseconds=t},g.toISOString=function(){var t=y(this.$d.years,"Y"),e=y(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=y(n,"D"),i=y(this.$d.hours,"H"),o=y(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var s=y(a,"S"),c=t.negative||e.negative||r.negative||i.negative||o.negative||s.negative,l=i.format||o.format||s.format?"T":"",u=(c?"-":"")+"P"+t.format+e.format+r.format+l+i.format+o.format+s.format;return"P"===u||"-P"===u?"P0D":u},g.toJSON=function(){return this.toISOString()},g.format=function(t){var n=t||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return n.replace(a,function(t,e){return e||String(r[t])})},g.as=function(t){return this.$ms/u[m(t)]},g.get=function(t){var e=this.$ms,n=m(t);return"milliseconds"===n?e%=1e3:e="weeks"===n?h(e/u[n]):this.$d[n],e||0},g.add=function(t,e,n){var r;return r=e?t*u[m(e)]:d(t)?t.$ms:f(t,this).$ms,f(this.$ms+r*(n?-1:1),this)},g.subtract=function(t,e){return this.add(t,e,!0)},g.locale=function(t){var e=this.clone();return e.$l=t,e},g.clone=function(){return f(this.$ms,this)},g.humanize=function(e){return t().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},g.valueOf=function(){return this.asMilliseconds()},g.milliseconds=function(){return this.get("milliseconds")},g.asMilliseconds=function(){return this.as("milliseconds")},g.seconds=function(){return this.get("seconds")},g.asSeconds=function(){return this.as("seconds")},g.minutes=function(){return this.get("minutes")},g.asMinutes=function(){return this.as("minutes")},g.hours=function(){return this.get("hours")},g.asHours=function(){return this.as("hours")},g.days=function(){return this.get("days")},g.asDays=function(){return this.as("days")},g.weeks=function(){return this.get("weeks")},g.asWeeks=function(){return this.as("weeks")},g.months=function(){return this.get("months")},g.asMonths=function(){return this.as("months")},g.years=function(){return this.get("years")},g.asYears=function(){return this.as("years")},p}(),_=function(t,e,n){return t.add(e.years()*n,"y").add(e.months()*n,"M").add(e.days()*n,"d").add(e.hours()*n,"h").add(e.minutes()*n,"m").add(e.seconds()*n,"s").add(e.milliseconds()*n,"ms")};return function(n,r,i){t=i,e=i().$utils(),i.duration=function(t,e){var n=i.locale();return f(t,{$l:n},e)},i.isDuration=d;var o=r.prototype.add,a=r.prototype.subtract;r.prototype.add=function(t,e){return d(t)?_(this,t,1):o.bind(this)(t,e)},r.prototype.subtract=function(t,e){return d(t)?_(this,t,-1):a.bind(this)(t,e)}}}()},569(t){t.exports=function(){"use strict";var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,r,i){var o,a=function(t,n,r){void 0===r&&(r={});var i=new Date(t),o=function(t,n){void 0===n&&(n={});var r=n.timeZoneName||"short",i=t+"|"+r,o=e[i];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:r}),e[i]=o),o}(n,r);return o.formatToParts(i)},s=function(e,n){for(var r=a(e,n),o=[],s=0;s<r.length;s+=1){var c=r[s],l=c.type,u=c.value,d=t[l];d>=0&&(o[d]=parseInt(u,10))}var f=o[3],m=24===f?0:f,p=o[0]+"-"+o[1]+"-"+o[2]+" "+m+":"+o[4]+":"+o[5]+":000",h=+e;return(i.utc(p).valueOf()-(h-=h%1e3))/6e4},c=r.prototype;c.tz=function(t,e){void 0===t&&(t=o);
9var n,r=this.utcOffset(),a=this.toDate(),s=a.toLocaleString("en-US",{timeZone:t}),c=Math.round((a-new Date(s))/1e3/60),l=15*-Math.round(a.getTimezoneOffset()/15)-c;if(Number(l)){if(n=i(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(l,!0),e){var u=n.utcOffset();n=n.add(r-u,"minute")}}else n=this.utcOffset(0,e);return n.$x.$timezone=t,n},c.offsetName=function(t){var e=this.$x.$timezone||i.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find(function(t){return"timezonename"===t.type.toLowerCase()});return n&&n.value};var l=c.startOf;c.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return l.call(this,t,e);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return l.call(n,t,e).tz(this.$x.$timezone,!0)},i.tz=function(t,e,n){var r=n&&e,a=n||e||o,c=s(+i(),a);if("string"!=typeof t)return i(t).tz(a);var l=function(t,e,n){var r=t-60*e*1e3,i=s(r,n);if(e===i)return[r,e];var o=s(r-=60*(i-e)*1e3,n);return i===o?[r,i]:[t-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(t,r).valueOf(),c,a),u=l[0],d=l[1],f=i(u).utcOffset(d);return f.$x.$timezone=a,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(t){o=t}}}()},826(t){t.exports=function(){"use strict";var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,o){var a=i.prototype;o.utc=function(t){return new i({date:t,utc:!0,args:arguments})},a.utc=function(e){var n=o(this.toDate(),{locale:this.$L,utc:!0});return e?n.add(this.utcOffset(),t):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),s.call(this,t)};var c=a.init;a.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var l=a.utcOffset;a.utcOffset=function(r,i){var o=this.$utils().u;if(o(r))return this.$u?0:o(this.$offset)?l.call(this):this.$offset;if("string"==typeof r&&(r=function(t){void 0===t&&(t="");var r=t.match(e);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],o=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r;if(0===a)return this.utc(i);var s=this.clone();if(i)return s.$offset=a,s.$u=!1,s;var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(s=this.local().add(a+c,t)).$offset=a,s.$x.$localOffset=c,s};var u=a.format;a.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,e)},a.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(t){return"s"===t&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var f=a.diff;a.diff=function(t,e,n){if(t&&this.$u===t.$u)return f.call(this,t,e,n);var r=this.local(),i=o(t).local();return f.call(r,i,e,n)}}}()}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r].call(o.exports,o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t=n(353),e=n.n(t),r=n(826),i=n.n(r),o=n(522),a=n.n(o),s=n(569),c=n.n(s);e().extend(i()),e().extend(a()),e().extend(c());const l=e(),u=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],d=function(t){const e=(t||"").split(":");return 2==e.length?{hour:e[0],minute:e[1]}:null},f=function(t){const e=(t||"").split(":");if(e.length>=2){return{hours:parseInt(e[0],10),minutes:parseInt(e[1],10)}}return null},m=function(t,e){const n=f(t),r=f(e),i=n.minutes+60*n.hours,o=r.minutes+60*r.hours;return i===o?0:i>o?1:-1},p=function(t,e,n){var r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3);var i="expires="+r.toUTCString();document.cookie=t+"="+e+";"+i+";path=/"},h=function(t){for(var e=t+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var i=n[r];" "==i.charAt(0);)i=i.substring(1);if(0==i.indexOf(e))return i.substring(e.length,i.length)}return""},g=function(t,e){return 1e3*(3600*(t.hour-e.hour)+60*(t.minute-e.minute))},y=function(t,e){let n;if("ON"===t.isAlwaysAvailable)return"online";var r;r=e.timezone,n=/\d/.test(r)?l().utcOffset(function(t){const e=t.split(":");let n,r;return 2===e.length?(n=parseInt(e[0]),r=parseInt(e[1])):(n=parseInt(e[0]),r=0),-1!==t.indexOf("-")?-(60*Math.abs(n)+r):60*n+r}(e.timezone)):l(l()).tz(e.timezone);const i=u[n.get("day")],o=t.daysOfWeekWorking[i];if("OFF"===o.isWorkingOnDay)return t.dayOffsText;for(let r=0;r<o.workHours.length;r++){const i=n.get("hour")+":"+n.get("minute"),a=o.workHours[r].startTime,s=o.workHours[r].endTime;if(-1===m(i,a)){const r=f(a),i=g({hour:r.hours,minute:r.minutes},{hour:n.get("hour"),minute:n.get("minute")}),o=l.duration(i),s=d(e.options.display.time_symbols),c=` ${o.get("hours")}${s.hour}:${o.get("minutes")}${s.minute} `;return t.willBeBackText.replace(/\[njwa_time_work\]/gi,c)}if(0===m(i,a)||0===m(i,s))return"online";if(1===m(i,a)&&-1===m(i,s))return"online"}return t.dayOffsText},b=function(t,e){if("ON"==e.enabledFacebook||"ON"==e.enabledGoogle){var n=t.href,r=n.indexOf("phone=")+6,i=n.indexOf("&text=");-1===i&&(i=n.length);var o=n.substring(r,i),a="NinjaTeam WhatsApp",s="Phone Number: "+o,c=document.title;if("ON"===e.enabledFacebook&&"undefined"!=typeof fbq&&fbq("trackCustom","NinjaTeam WhatsApp",{phone:o,label:c}),"ON"===e.enabledGoogle){if("undefined"!=typeof gtag)"ON"===e.enabledGoogleGA4?gtag("event","NinjaTeam WhatsApp",{number:o,title:c,url:window.location.href}):gtag("event",s,{event_category:a,event_label:c});else if("undefined"!=typeof ga&&void 0!==ga.getAll){ga.getAll()[0].send("event",a,s,c)}else"undefined"!=typeof __gaTracker&&__gaTracker("send","event",a,s,c);"undefined"!=typeof dataLayer&&dataLayer.push({event:"NinjaTeam WhatsApp",number:o,title:c,url:window.location.href,event_category:a,event_label:c,event_action:s})}}},{entries:_,setPrototypeOf:v,isFrozen:w,getPrototypeOf:T,getOwnPropertyDescriptor:S}=Object;let{freeze:A,seal:E,create:$}=Object,{apply:D,construct:k}="undefined"!=typeof Reflect&&Reflect;A||(A=function(t){return t}),E||(E=function(t){return t}),D||(D=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return t.apply(e,r)}),k||(k=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new t(...n)});const x=W(Array.prototype.forEach),N=W(Array.prototype.lastIndexOf),O=W(Array.prototype.pop),M=W(Array.prototype.push),C=W(Array.prototype.splice),L=W(String.prototype.toLowerCase),R=W(String.prototype.toString),I=W(String.prototype.match),z=W(String.prototype.replace),H=W(String.prototype.indexOf),U=W(String.prototype.trim),P=W(Object.prototype.hasOwnProperty),F=W(Reg
vendor: 4,318 bytes, line 9
9Exp.prototype.test),Y=(j=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return k(j,e)});var j;function W(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return D(t,e,r)}}function G(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:L;v&&v(t,null);let r=e.length;for(;r--;){let i=e[r];if("string"==typeof i){const t=n(i);t!==i&&(w(e)||(e[r]=t),i=t)}t[i]=!0}return t}function B(t){for(let e=0;e<t.length;e++){P(t,e)||(t[e]=null)}return t}function q(t){const e=$(null);for(const[n,r]of _(t)){P(t,n)&&(Array.isArray(r)?e[n]=B(r):r&&"object"==typeof r&&r.constructor===Object?e[n]=q(r):e[n]=r)}return e}function Z(t,e){for(;null!==t;){const n=S(t,e);if(n){if(n.get)return W(n.get);if("function"==typeof n.value)return W(n.value)}t=T(t)}return function(){return null}}const X=A(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),V=A(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),J=A(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),K=A(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Q=A(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),tt=A(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),et=A(["#text"]),nt=A(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
9spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),rt=A(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),it=A(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ot=A(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),at=E(/\{\{[\w\W]*|[\w\W]*\}\}/gm),st=E(/<%[\w\W]*|[\w\W]*%>/gm),ct=E(/\$\{[\w\W]*/gm),lt=E(/^data-[\-\w.\u00B7-\uFFFF]+$/),ut=E(/^aria-[\-\w]+$/),dt=E(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ft=E(/^(?:\w+script|data):/i),mt=E(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),pt=E(/^html$/i),ht=E(/^[a-z][.\w]*(-[.\w]+)+$/i);var gt=Object.freeze({__proto__:null,ARIA_ATTR:ut,ATTR_WHITESPACE:mt,CUSTOM_ELEMENT:ht,DATA_ATTR:lt,DOCTYPE_NAME:pt,ERB_EXPR:st,IS_ALLOWED_URI:dt,IS_SCRIPT_OR_DATA:ft,MUSTACHE_EXPR:at,TMPLIT_EXPR:ct});const yt=1,bt=3,_t=7,vt=8,wt=9,Tt=function(){return"undefined"==typeof window?null:window};var St=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tt();const n=e=>t(e);
vendor: 10,112 bytes, line 9
9if(n.version="3.4.0",n.removed=[],!e||!e.document||e.document.nodeType!==wt||!e.Element)return n.isSupported=!1,n;let{document:r}=e;const i=r,o=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:c,Element:l,NodeFilter:u,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:m,trustedTypes:p}=e,h=l.prototype,g=Z(h,"cloneNode"),y=Z(h,"remove"),b=Z(h,"nextSibling"),v=Z(h,"childNodes"),w=Z(h,"parentNode");if("function"==typeof s){const t=r.createElement("template");t.content&&t.content.ownerDocument&&(r=t.content.ownerDocument)}let T,S="";const{implementation:E,createNodeIterator:D,createDocumentFragment:k,getElementsByTagName:j}=r,{importNode:W}=i;let B={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof _&&"function"==typeof w&&E&&void 0!==E.createHTMLDocument;const{MUSTACHE_EXPR:at,ERB_EXPR:st,TMPLIT_EXPR:ct,DATA_ATTR:lt,ARIA_ATTR:ut,IS_SCRIPT_OR_DATA:ft,ATTR_WHITESPACE:mt,CUSTOM_ELEMENT:ht}=gt;let{IS_ALLOWED_URI:St}=gt,At=null;const Et=G({},[...X,...V,...J,...Q,...et]);let $t=null;const Dt=G({},[...nt,...rt,...it,...ot]);let kt=Object.seal($(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),xt=null,Nt=null;const Ot=Object.seal($(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Mt=!0,Ct=!0,Lt=!1,Rt=!0,It=!1,zt=!0,Ht=!1,Ut=!1,Pt=!1,Ft=!1,Yt=!1,jt=!1,Wt=!0,Gt=!1,Bt=!0,qt=!1,Zt={},Xt=null;const Vt=G({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Jt=null;const Kt=G({},["audio","video","img","source","image","track"]);let Qt=null;const te=G({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ee="http://www.w3.org/1998/Math/MathML",ne="http://www.w3.org/2000/svg",re="http://www.w3.org/1999/xhtml";let ie=re,oe=!1,ae=null;const se=G({},[ee,ne,re],R);let ce=G({},["mi","mo","mn","ms","mtext"]),le=G({},["annotation-xml"]);const ue=G({},["title","style","font","a","script"]);let de=null;const fe=["application/xhtml+xml","text/html"];let me=null,pe=null;const he=r.createElement("form"),ge=function(t){return t instanceof RegExp||t instanceof Function},ye=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!pe||pe!==t){if(t&&"object"==typeof t||(t={}),t=q(t),de=-1===fe.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===de?R:L,At=P(t,"ALLOWED_TAGS")?G({},t.ALLOWED_TAGS,me):Et,$t=P(t,"ALLOWED_ATTR")?G({},t.ALLOWED_ATTR,me):Dt,ae=P(t,"ALLOWED_NAMESPACES")?G({},t.ALLOWED_NAMESPACES,R):se,Qt=P(t,"ADD_URI_SAFE_ATTR")?G(q(te),t.ADD_URI_SAFE_ATTR,me):te,Jt=P(t,"ADD_DATA_URI_TAGS")?G(q(Kt),t.ADD_DATA_URI_TAGS,me):Kt,Xt=P(t,"FORBID_CONTENTS")?G({},t.FORBID_CONTENTS,me):Vt,xt=P(t,"FORBID_TAGS")?G({},t.FORBID_TAGS,me):q({}),Nt=P(t,"FORBID_ATTR")?G({},t.FORBID_ATTR,me):q({}),Zt=!!P(t,"USE_PROFILES")&&t.USE_PROFILES,Mt=!1!==t.ALLOW_ARIA_ATTR,Ct=!1!==t.ALLOW_DATA_ATTR,Lt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Rt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,It=t.SAFE_FOR_TEMPLATES||!1,zt=!1!==t.SAFE_FOR_XML,Ht=t.WHOLE_DOCUMENT||!1,Ft=t.RETURN_DOM||!1,Yt=t.RETURN_DOM_FRAGMENT||!1,jt=t.RETURN_TRUSTED_TYPE||!1,Pt=t.FORCE_BODY||!1,Wt=!1!==t.SANITIZE_DOM,Gt=t.SANITIZE_NAMED_PROPS||!1,Bt=!1!==t.KEEP_CONTENT,qt=t.IN_PLACE||!1,St=t.ALLOWED_URI_REGEXP||dt,ie=t.NAMESPACE||re,ce=t.MATHML_TEXT_INTEGRATION_POINTS||ce,le=t.HTML_INTEGRATION_POINTS||le,kt=t.CUSTOM_ELEMENT_HANDLING||$(null),t.CUSTOM_ELEMENT_HANDLING&&ge(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(kt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ge(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(kt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(kt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),It&&(Ct=!1),Yt&&(Ft=!0),Zt&&(At=G({},et),$t=$(null),!0===Zt.html&&(G(At,X),G($t,nt)),!0===Zt.svg&&(G(At,V),G($t,rt),G($t,ot)),!0===Zt.svgFilters&&(G(At,J),G($t,rt),G($t,ot)),!0===Zt.mathMl&&(G(At,Q),G($t,it),G($t,ot))),Ot.tagCheck=null,Ot.attributeCheck=null,t.ADD_TAGS&&("function"==typeof t.ADD_TAGS?Ot.tagCheck=t.ADD_TAGS:(At===Et&&(At=q(At)),G(At,t.ADD_TAGS,me))),t.ADD_ATTR&&("function"==typeof t.ADD_ATTR?Ot.attributeCheck=t.ADD_ATTR:($t===Dt&&($t=q($t)),G($t,t.ADD_ATTR,me))),t.ADD_URI_SAFE_ATTR&&G(Qt,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(Xt===Vt&&(Xt=q(Xt)),G(Xt,t.FORBID_CONTENTS,me)),t.ADD_FORBID_CONTENTS&&(Xt===Vt&&(Xt=q(Xt)),G(Xt,t.ADD_FORBID_CONTENTS,me)),Bt&&(At["#text"]=!0),Ht&&G(At,["html","head","body"]),At.table&&(G(At,["tbody"]),delete xt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw Y('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw Y('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');T=t.TRUSTED_TYPES_POLICY,S=T.createHTML("")}else void 0===T&&(T=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(p,o)),null!==T&&"string"==typeof S&&(S=T.createHTML(""));A&&A(t),pe=t}},be=G({},[...V,...J,...K]),_e=G({},[...Q,...tt]),ve=function(t){M(n.removed,{element:t});try{w(t).removeChild(t)}catch(e){y(t)}},we=function(t,e){try{M(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){M(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(Ft||Yt)try{ve(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},Te=function(t){let e=null,n=null;if(Pt)t="<remove></remove>"+t;else{const e=I(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===de&&ie===re&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const i=T?T.createHTML(t):t;if(ie===re)try{e=(new m).parseFromString(i,de)}catch(t){}if(!e||!e.documentElement){e=E.createDocument(ie,"template",null);try{e.documentElement.innerHTML=oe?S:i}catch(t){}}const o=e.body||e.documentElement;return t&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),ie===re?j.call(e,Ht?"html":"body")[0]:Ht?e.documentElement:o},Se=function(t){return D.call(t.ownerDocument||t,t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Ae=function(t){return t instanceof f&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof d)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Ee=function(t){return"function"==typeof c&&t instanceof c};function $e(t,e,r){x(t,t=>{t.call(n,e,r,pe)})}const De=function(t){let e=null;if($e(B.beforeSanitizeElements,t,null),Ae(t))return ve(t),!0;const r=me(t.nodeName);if($e(B.uponSanitizeElement,t,{tagName:r,allowedTags:At}),zt&&t.hasChildNodes()&&!Ee(t.firstElementChild)&&F(/<[/\w!]/g,t.innerHTML)&&F(/<[/\w!]/g,t.textContent))return ve(t),!0;if(zt&&t.namespaceURI===re&&"style"===r&&Ee(t.firstElementChild))return ve(t),!0;if(t.nodeType===_t)return ve(t),!0;if(zt&&t.nodeType===vt&&F(/<[/\w]/g,t.data))return ve(t),!0;if(xt[r]||!(Ot.tagCheck instanceof Function&&Ot.tagCheck(r))&&!At[r]){if(!xt[r]&&xe(r)){if(kt.tagNameCheck instanceof RegExp&&F(kt.tagNameCheck,r))return!1;if(kt.tagNameCheck instanceof Function&&kt.tagNameCheck(r))return!1}if(Bt&&!Xt[r]){const e=w(t)||t.parentNode,n=v(t)||t.childNodes;if(n&&e){for(let r=n.length-1;r>=0;--r){const i=g(n[r],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,b(t))}}}return ve(t),!0}return t instanceof l&&!function(t){let e=w(t);e&&e.tagName||(e={namespaceURI:ie,tagName:"template"});const n=L(t.tagName),r=L(e.tagName);return!!ae[t.namespaceURI]&&(t.namespaceURI===ne?e.namespaceURI===re?"svg"===n:e.namespaceURI===ee?"svg"===n&&("annotation-xml"===r||ce[r]):Boolean(be[n]):t.namespaceURI===ee?e.namespaceURI===re?"math"===n:e.namespaceURI===ne?"math"===n&&le[r]:Boolean(_e[n]):t.namespaceURI===re?!(e.namespaceURI===ne&&!le[r])&&!(e.namespaceURI===ee&&!ce[r])&&!_e[n]&&(ue[n]||!be[n]):!("application/xhtml+xml"!==de||!ae[t.namespaceURI]))}(t)?(ve(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!F(/<\/no(script|embed|frames)/i,t.innerHTML)?(It&&t.nodeType===bt&&(e=t.textContent,x([at,st,ct],t=>{e=z(e,t," ")}),t.textContent!==e&&(M(n.removed,{element:t.cloneNode()}),t.textContent=e)),$e(B.afterSanitizeElements,t,null),!1):(ve(t),!0)},ke=function(t,e,n){if(Nt[e])return!1;if(Wt&&("id"===e||"name"===e)&&(n in r||n in he))return!1;if(Ct&&!Nt[e]&&F(lt,e));else if(Mt&&F(ut,e));else if(Ot.attributeCheck instanceof Function&&Ot.attributeCheck(e,t));else if(!$t[e]||Nt[e]){if(!(xe(t)&&(kt.tagNameCheck instanceof RegExp&&F(kt.tagNameCheck,t)||kt.tagNameCheck instanceof Function&&kt.tagNameCheck(t))&&(kt.attributeNameCheck instanceof RegExp&&F(kt.attributeNameCheck,e)||kt.attributeNameCheck instanceof Function&&kt.attributeNameCheck(e,t))||"is"===e&&kt.allowCustomizedBuiltInElements&&(kt.tagNameCheck instanceof RegExp&&F(kt.tagNameCheck,n)||kt.tagNameCheck instanceof Function&&kt.tagNameCheck(n))))return!1}else if(Qt[e]);else if(F(St,z(n,mt,"")));
9else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==H(n,"data:")||!Jt[t]){if(Lt&&!F(ft,z(n,mt,"")));else if(n)return!1}return!0},xe=function(t){return"annotation-xml"!==t&&I(t,ht)},Ne=function(t){$e(B.beforeSanitizeAttributes,t,null);const{attributes:e}=t;if(!e||Ae(t))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:$t,forceKeepAttr:void 0};let i=e.length;for(;i--;){const o=e[i],{name:a,namespaceURI:s,value:c}=o,l=me(a),u=c;let d="value"===a?u:U(u);if(r.attrName=l,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,$e(B.uponSanitizeAttribute,t,r),d=r.attrValue,!Gt||"id"!==l&&"name"!==l||(we(a,t),d="user-content-"+d),zt&&F(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){we(a,t);continue}if("attributename"===l&&I(d,"href")){we(a,t);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){we(a,t);continue}if(!Rt&&F(/\/>/i,d)){we(a,t);continue}It&&x([at,st,ct],t=>{d=z(d,t," ")});const f=me(t.nodeName);if(ke(f,l,d)){if(T&&"object"==typeof p&&"function"==typeof p.getAttributeType)if(s);else switch(p.getAttributeType(f,l)){case"TrustedHTML":d=T.createHTML(d);break;case"TrustedScriptURL":d=T.createScriptURL(d)}if(d!==u)try{s?t.setAttributeNS(s,a,d):t.setAttribute(a,d),Ae(t)?ve(t):O(n.removed)}catch(e){we(a,t)}}else we(a,t)}$e(B.afterSanitizeAttributes,t,null)},Oe=function(t){let e=null;const n=Se(t);for($e(B.beforeSanitizeShadowDOM,t,null);e=n.nextNode();)$e(B.uponSanitizeShadowNode,e,null),De(e),Ne(e),e.content instanceof a&&Oe(e.content);$e(B.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,s=null,l=null;if(oe=!t,oe&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Ee(t)){if("function"!=typeof t.toString)throw Y("toString is not a function");if("string"!=typeof(t=t.toString()))throw Y("dirty is not a string, aborting")}if(!n.isSupported)return t;if(Ut||ye(e),n.removed=[],"string"==typeof t&&(qt=!1),qt){if(t.nodeName){const e=me(t.nodeName);if(!At[e]||xt[e])throw Y("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof c)r=Te("\x3c!----\x3e"),o=r.ownerDocument.importNode(t,!0),o.nodeType===yt&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Ft&&!It&&!Ht&&-1===t.indexOf("<"))return T&&jt?T.createHTML(t):t;if(r=Te(t),!r)return Ft?null:jt?S:""}r&&Pt&&ve(r.firstChild);const u=Se(qt?t:r);for(;s=u.nextNode();)De(s),Ne(s),s.content instanceof a&&Oe(s.content);if(qt)return t;if(Ft){if(It){r.normalize();let t=r.innerHTML;x([at,st,ct],e=>{t=z(t,e," ")}),r.innerHTML=t}if(Yt)for(l=k.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return($t.shadowroot||$t.shadowrootmode)&&(l=W.call(i,l,!0)),l}let d=Ht?r.outerHTML:r.innerHTML;return Ht&&At["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&F(pt,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),It&&x([at,st,ct],t=>{d=z(d,t," ")}),T&&jt?T.createHTML(d):d},n.setConfig=function(){ye(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ut=!0},n.clearConfig=function(){pe=null,Ut=!1},n.isValidAttribute=function(t,e,n){pe||ye({});const r=me(t),i=me(e);return ke(r,i,n)},n.addHook=function(t,e){"function"==typeof e&&M(B[t],e)},n.removeHook=function(t,e){if(void 0!==e){const n=N(B[t],e);return-1===n?void 0:C(B[t],n,1)[0]}return O(B[t])},n.removeHooks=function(t){B[t]=[]},n.removeAllHooks=function(){B={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();void 0===String.prototype.njtReplaceAll&&(String.prototype.njtReplaceAll=function(t,e){return this.replace(new RegExp(t,"g"),()=>e)});const At=($t=!1,Et=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|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|xda|xiino/i.test(Et)||/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 )|
9sy(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(Et.substr(0,4)))&&($t=!0),$t);var Et,$t;const Dt=function(t,e){let n="",r=t.predefinedText;if(r=r.njtReplaceAll(/\[njwa_page_title\]/gi,encodeURIComponent(document.title)),r=r.njtReplaceAll(/\[njwa_page_url\]/gi,window.location.href),r=r.njtReplaceAll(/\n/gi,"%0A"),-1!==t.number.indexOf("chat.whatsapp.com"))n+=t.number;else{let i=e.urlSettings[At?"onMobile":"onDesktop"];if(i||(i="api"),"protocol"===i)return"whatsapp://send?phone="+t.number.replace(/[^0-9]/gi,"");n+="https://"+i+".whatsapp.com/send?phone=",n+=t.number.replace(/[^0-9]/gi,""),n+=t.predefinedText?"&text="+r:""}return n};window.njtWhatsApp={createButton:function(t,e){const n=Object.assign({},e),r=n.info,i=y(r,n);let o="";o+="round"==n.styles.type?" wa__r_button":" wa__sq_button",o+="online"==i?" wa__stt_online":" wa__stt_offline",o+=n.avatar?" wa__btn_w_img":" wa__btn_w_icon",o+=n.name?"":" wa__button_text_only";let a=Dt(r,n);const s=document.createElement("div");s.setAttribute("class",n.avatar?"wa__cs_img":"wa__btn_icon"),s.appendChild((()=>{if(n.avatar){const t=document.createElement("div");return t.setAttribute("class","wa__cs_img_wrap"),t.setAttribute("style",`background: url(${n.avatar}) center center no-repeat; background-size: cover`),t}{const t=document.createElement("img");return t.setAttribute("alt","img"),t.setAttribute("src",n.defaultAvatar),t}})());const c=document.createElement("div");c.setAttribute("class","wa__btn_txt"),c.appendChild(n.name?(()=>{const t=document.createElement("div");return t.className="wa__cs_info",t.appendChild((()=>{const t=document.createElement("div");return t.setAttribute("class","wa__cs_name"),t.setAttribute("style","online"==i?`color: ${"#fff"==n.styles.textColor||"#ffffff"==n.styles.textColor?"#d5f0d9":n.styles.textColor}; opacity: ${"#fff"==n.styles.textColor||"#ffffff"==n.styles.textColor?1:.8}`:""),t.innerHTML=St.sanitize(n.name),t})()),t.appendChild((()=>{const t=document.createElement("div");return t.setAttribute("class","wa__cs_status"),t.innerHTML="online"===i?St.sanitize(n.i18n.online):St.sanitize(n.i18n.offline),t})()),t})():document.createTextNode("")),c.appendChild((()=>{const t=document.createElement("div");return t.setAttribute("class","wa__btn_title"),t.setAttribute("style","online"==i?"color: "+n.styles.textColor:""),t.innerHTML=St.sanitize(n.styles.label),t})()),c.appendChild((()=>{if("online"!=i){const t=document.createElement("div");return t.setAttribute("class","wa__btn_status"),t.innerHTML=St.sanitize(i),t}return document.createTextNode("")})());const l=document.createElement("div");l.setAttribute("class","nta-wa-gdpr"),l.appendChild((()=>{const t=document.createElement("input");t.setAttribute("id","nta-wa-gdpr"),t.setAttribute("type","checkbox"),t.setAttribute("value","accept"),t.onchange=function(t){if(t.target.checked&&(p("nta-wa-gdpr","accept",30),""!=h("nta-wa-gdpr"))){const t=document.querySelectorAll(".nta-wa-gdpr");l.style.opacity=0,setTimeout(()=>{t.forEach(t=>t.style.display="none")},400);document.querySelectorAll(".wa__popup_content_item").forEach(t=>t.classList.remove("pointer-disable"))}};const e=document.createElement("span");e.appendChild(t),e.appendChild((()=>{const t=document.createElement("span");return t.innerHTML=St.sanitize(n.options.styles.gdprContent.njtReplaceAll(/\r\n\r\n/gm,"<br/>")),t})());const r=document.createElement("label");return r.setAttribute("for","nta-wa-gdpr"),r.appendChild(e),r})());const u=document.createElement("a");u.setAttribute("target","ON"==n.urlSettings.openInNewTab?"_blank":"_self"),u.setAttribute("href",a),u.setAttribute("rel","nofollow noopener noreferrer"),u.setAttribute("class","wa__button"+o),u.onclick=function(t){if(n.gdprStatus&&!h("nta-wa-gdpr"))return t.preventDefault(),l.style.background="red",void(l.style.color="#fff");b(this,{enabledFacebook:n.options.analytics.enabledFacebook,enabledGoogle:n.options.analytics.enabledGoogle,enabledGoogleGA4:n.options.analytics.enabledGoogleGA4})},"online"==i&&(u.style.backgroundColor=n.styles.backgroundColor),u.appendChild(s),u.appendChild(c),t.appendChild(u),n.gdprStatus&&"accept"!=h("nta-wa-gdpr")&&t.appendChild(l),t._isWaButton=!0},createWidget:function(t,e){const n=Object.assign({accounts:[],timezone:"",defaultAvatar:"",gdprStatus:!1,options:{display:{},styles:{},analytics:{}},urlSettings:{}},e);if("OFF"==n.options.display.showOnDesktop&&!At)return;if("OFF"==n.options.display.showOnMobile&&At)return;const r=n.options.styles;t.classList.add("wa__widget_container");const i=document.createElement("div");i.setAttribute("class","wa__btn_popup_txt"),i.appendChild((()=>{const t=document.createElement("span");return t.innerHTML=St.sanitize(r.btnLabel),t})()),i.style.display="ON"==r.isShowBtnLabel?"block":"none",i.style.left="left"==r.btnPosition?"100%":"unset",i.style.right="right"==r.btnPosition?"100%":"unset",i.style.marginRight="right"==r.btnPosition?"7px":"0px",
9i.style.marginLeft="left"==r.btnPosition?"7px":"0px",i.style.width=r.btnLabelWidth+"px";const o=document.createElement("div");o.setAttribute("class","wa__btn_popup_icon"),o.style.background=r.backgroundColor;const a=document.createElement("div");a.setAttribute("class","wa__btn_popup"),a.onclick=function(){let t,e;const n=document.querySelector(".wa__popup_chat_box"),r=document.querySelector(".wa__btn_popup");n.classList.contains("wa__active")?(n.classList.remove("wa__active"),r.classList.remove("wa__active"),clearTimeout(e),n.classList.contains("wa__lauch")&&(t=setTimeout(function(){n.classList.remove("wa__pending"),n.classList.remove("wa__lauch")},400))):(n.classList.add("wa__pending"),n.classList.add("wa__active"),r.classList.add("wa__active"),clearTimeout(t),n.classList.contains("wa__lauch")||(e=setTimeout(function(){n.classList.add("wa__lauch")},100)))},a.appendChild(i),a.appendChild(o),a.style.left="left"==r.btnPosition?parseInt(r.btnLeftDistance)+"px":"unset",a.style.right="right"==r.btnPosition?parseInt(r.btnRightDistance)+"px":"unset",a.style.bottom=parseInt(r.btnBottomDistance)+"px",t.appendChild(a);const s=document.createElement("div");s.setAttribute("class","wa__popup_heading"),s.style.background=r.backgroundColor,s.append((()=>{const t=document.createElement("div");return t.className="wa__popup_title",t.innerHTML=St.sanitize(r.title),t.style.color=r.textColor,t.style.fontSize=r.titleSize+"px",t})()),s.append((()=>{const t=document.createElement("div");return t.className="wa__popup_intro",t.innerHTML=St.sanitize(r.description.njtReplaceAll(/\r\n\r\n/gm,"<br/>")),t.style="#fff"==r.textColor||"#ffffff"==r.textColor?"color: #D9EBC6":"color: "+r.textColor+"; opacity: 0.8",t.style.fontSize=r.descriptionTextSize+"px",t})());const c=document.createElement("div");c.className="nta-wa-gdpr",c.appendChild((()=>{const t=document.createElement("input");t.setAttribute("id","nta-wa-gdpr"),t.setAttribute("type","checkbox"),t.setAttribute("value","accept"),t.onchange=function(t){if(t.target.checked&&(p("nta-wa-gdpr","accept",30),""!=h("nta-wa-gdpr"))){const t=document.querySelectorAll(".nta-wa-gdpr");c.style.opacity=0,setTimeout(()=>{t.forEach(t=>t.style.display="none")},400);document.querySelectorAll(".wa__popup_content_item").forEach(t=>t.classList.remove("pointer-disable"))}};const e=document.createElement("span");e.appendChild(t),e.appendChild((()=>{const t=document.createElement("span");return t.innerHTML=St.sanitize(n.options.styles.gdprContent.njtReplaceAll(/\r\n\r\n/gm,"<br/>")),t})());const r=document.createElement("label");return r.setAttribute("for","nta-wa-gdpr"),r.appendChild(e),r})());const l=document.createElement("div");l.className="wa__popup_content wa__popup_content_left",l.appendChild((()=>{const t=document.createElement("div");return t.className="wa__popup_notice",t.innerHTML=St.sanitize(r.responseText.njtReplaceAll(/\r\n\r\n/gm,"<br/>")),t.style.fontSize=r.regularTextSize+"px",t})()),l.appendChild("ON"==r.isShowGDPR&&1==n.gdprStatus&&"accept"!=h("nta-wa-gdpr")?c:document.createTextNode("")),l.appendChild((()=>{const t=document.createElement("div");var e;return t.className="wa__popup_content_list",t.onclick=function(){""==h("nta-wa-gdpr")&&(c.style.background="red",c.style.color="#fff")},e=t,n.accounts.forEach(t=>{const i=y(t,n);let o=Dt(t,n);const a=document.createElement("div");a.className="wa__popup_avatar"+(t.avatar?"":" nta-default-avt"),a.appendChild((()=>{if(t.avatar){const e=document.createElement("div");return e.className="wa__cs_img_wrap",e.style=`background: url(${t.avatar}) center center no-repeat; background-size: cover;`,e}return document.createRange().createContextualFragment(n.defaultAvatar)})());const s=document.createElement("div");s.className="wa__popup_content_item"+(1==n.gdprStatus&&"accept"!=h("nta-wa-gdpr")?" pointer-disable":""),s.appendChild((()=>{const e=document.createElement("a");return e.setAttribute("target","ON"==n.urlSettings.openInNewTab?"_blank":"_self"),e.setAttribute("href",o),e.setAttribute("rel","nofollow noopener noreferrer"),e.className="wa__stt"+("online"===i?" wa__stt_online":" wa__stt_offline"),e.onclick=function(){b(this,{enabledFacebook:n.options.analytics.enabledFacebook,enabledGoogle:n.options.analytics.enabledGoogle,enabledGoogleGA4:n.options.analytics.enabledGoogleGA4})},e.appendChild(a),e.appendChild((()=>{const e=document.createElement("div");e.className="wa__popup_txt";let n="";return n+=`<div class="wa__member_name" style='font-size:${r.accountNameSize}px'>${t.accountName}</div>`,n+=`<div class="wa__member_duty" style='font-size:${r.regularTextSize}px'>${t.title}</div>`,n+="online"!=i?`<div class="wa__member_status">${i}</div>`:"",e.innerHTML=St.sanitize(n),e})()),e})()),e.appendChild(s)}),t})());const u=document.createElement("div");u.className="wa__popup_chat_box",u.appendChild(s),u.style.left="left"==r.btnPosition?parseInt(r.btnLeftDistance)+"px":"unset",u.style.right="right"==r.btnPosition?parseInt(r.btnRightDistance)+"px":"unset",u.style.bottom=parseInt(r.btnBottomDistance)+72+"px",u.appendChild(l),t.appendChild(u)},ready:function(t){return(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?t():document.addEventListener("DOMContentLoaded",t)}}})()})();
10
11
12
13/* info: https://www.whistlingwoods.net/wp-content/plugins/wp-whatsapp/assets/js/whatsapp-button.js */
14(function(){njtWhatsApp.ready(function(){const init=function(){document.querySelectorAll(".nta_wa_button").forEach(function(element){if(element._isWaButton)return
15const info=JSON.parse(element.getAttribute('data-info'))
16njtWhatsApp.createButton(element,{...info,timezone:njt_wa_global.timezone,i18n:njt_wa_global.i18n,urlSettings:njt_wa_global.urlSettings,})})};init();if(window.jQuery){if(typeof(Riode)!=='undefined'&&typeof(jQuery)!=='undefined'){Riode.$window.on('riode_load',function(){init(
16)})
17jQuery(document).ajaxComplete((e,xhs,req)=>{try{if(req.data.indexOf('riode_quickview')>-1){init()}}catch(e){console.log("error")}})}
18jQuery(document).ajaxComplete((e,xhs,req)=>{try{if(req.data.indexOf('action=porto_lazyload_menu')>-1){init()}}catch(e){}})}})})();
19
20
21
22/* info: https://www.whistlingwoods.net/wp-content/plugins/inso-wwi-core/assets/js/post-type.min.js */
23jQuery(document).ready(function(a){a.fn.exists=function(){return a(this).length>0},a.fn.loaded=function(b,c,d){var e=this.length;return e>0?this.each(function(){var d=this,f=a(d);f.on("load.dt",function(d){a(this).off("load.dt"),"function"==typeof b&&b.call(this),--e<=0&&"function"==typeof c&&c.call(this)}),d.complete&&void 0!==d.complete?f.trigger("load.dt"):d.src=d.src}):d?("function"==typeof c&&c.call(this),this):void 0};var b=a("body"),c=(a(window),a("#main-slideshow"));a("#wpadminbar").height(),a(".masthead:not(.side-header):not(.side-header-v-stroke)").height(),b.hasClass("transparent"),a(".floating-navigation-below-slider").exists(),a(".masthead");if(b.hasClass("transparent"));else if(b.hasClass("overlap")){a(".masthead:not(.side-header):not(.side-header-v-stroke)").height()+(parseInt(c.css("marginTop"))+parseInt(c.css("marginBottom")))}else{a(".masthead:not(.side-header):not(.side-header-v-stroke)").height()}a.HoverDir=function(b,c){this.$el=a(c),this._init(b)},a.HoverDir.defaults={speed:300,easing:"ease",hoverDelay:0,inverse:!1},a.HoverDir.prototype={_init:function(b){this.options=a.extend(!0,{},a.HoverDir.defaults,b),this.transitionProp="all "+this.options.speed+"ms "+this.options.easing,this.support=Modernizr.csstransitions,this._loadEvents()},_loadEvents:function(){var b=this;this.$el.on("mouseenter.hoverdir, mouseleave.hoverdir",function(c){var d=a(this),e=d.find(".rollover-content, .post-entry-content, .gallery-rollover"),f=b._getDir(d,{x:c.pageX,y:c.pageY}),g=b._getStyle(f);"mouseenter"===c.type?(e.hide().css(g.from),clearTimeout(b.tmhover),b.tmhover=setTimeout(function(){e.show(0,function(){var c=a(this);b.support&&c.css("transition",b.transitionProp),b._applyAnimation(c,g.to,b.options.speed)})},b.options.hoverDelay)):(b.support&&e.css("transition",b.transitionProp),clearTimeout(b.tmhover),b._applyAnimation(e,g.from,b.options.speed))})},_getDir:function(a,b){var c=a.width(),d=a.height(),e=(b.x-a.offset().left-c/2)*(c>d?d/c:1),f=(b.y-a.offset().top-d/2)*(d>c?c/d:1),g=Math.round((Math.atan2(f,e)*(180/Math.PI)+180)/90+3)%4;return g},_getStyle:function(a){var b,c,d={left:"0px",top:"-100%"},e={left:"0px",top:"100%"},f={left:"-100%",top:"0px"},g={left:"100%",top:"0px"},h={top:"0px"},i={left:"0px"};switch(a){case 0:b=this.options.inverse?e:d,c=h;break;case 1:b=this.options.inverse?f:g,c=i;break;case 2:b=this.options.inverse?d:e,c=h;break;case 3:b=this.options.inverse?g:f,c=i}return{from:b,to:c}},_applyAnimation:function(b,c,d){a.fn.applyStyle=this.support?a.fn.css:a.fn.animate,b.stop().applyStyle(c,a.extend(!0,[],{duration:d+"ms"}))}};var d=function(a){window.console&&window.console.error(a)};a.fn.hoverdir=function(b){var c=a.data(this,"hoverdir");if("string"==typeof b){var e=Array.prototype.slice.call(arguments,1);this.each(function(){return c?a.isFunction(c[b])&&"_"!==b.charAt(0)?void c[b].apply(c,e):void d("no such method '"+b+"' for hoverdir instance"):void d("cannot call methods on hoverdir prior to initialization; attempted to call method '"+b+"'")})}else this.each(function(){c?c._init():c=a.data(this,"hoverdir",new a.HoverDir(b,this))});return c},a(".mobile-false .hover-grid .rollover-project, .mobile-false .hover-grid.portfolio-shortcode .post, .mobile-false .hover-grid.album-gallery-shortcode .post, .mobile-false .hover-grid.albums-shortcode .post").each(function(){a(this).hoverdir()}),a(".mobile-false .hover-grid-reverse .rollover-project, .mobile-false .hover-grid-reverse.portfolio-shortcode .post, .mobile-false .hover-grid-reverse.album-gallery-shortcode .post, .mobile-false .hover-grid-reverse.albums-shortcode .post ").each(function(){a(this).hoverdir({inverse:!0})}),a.fn.addIconToLinks=function(){return this.each(function(){var b=a(this);b.hasClass("icon-ready")||(a("<span class='icon-portfolio'></span>").appendTo(a(this)),b.addClass("icon-ready"))})},a(".links-container a").addIconToLinks(),a.fn.forwardToPost=function(){return this.each(function(){var b=a(this);b.hasClass("this-ready")||(b.on("click",function(){if(!b.parents(".ts-wrap").hasClass("ts-interceptClicks"))return window.location.href=b.find("a").first().attr("href"),!1}),b.addClass("this-ready"))})},a(".mobile-false .rollover-project.forward-post").forwardToPost(),a.fn.touchforwardToPost=function(){return this.each(function(){var c=a(this);if(!c.hasClass("touch-hover-ready")){b.on("touchend",function(b){a(".mobile-true .rollover-content").removeClass("is-clicked"),a(".mobile-true .rollover-project").removeClass("is-clicked")});var c=a(this).find(".rollover-content");c.on("touchstart",function(a){origY=a.originalEvent.touches[0].pageY,origX=a.originalEvent.touches[0].pageX}),c.on("touchend",function(b){var d=b.originalEvent.changedTouches[0].pageX,e=b.originalEvent.changedTouches[0].pageY;if(origY==e||origX==d){if(!c.hasClass("is-clicked"))return b.preventDefault(),a(".mobile-ture .rollover-content").removeClass("is-clicked"),a(".mobile-true .rollover-project").removeClass("is-clicked"),c.addClass("is-clicked"),c.parent(".rollover-project").addClass("is-clicked"),!1;window.location.href=c.prev("a").first().attr("href")}}),c.addClass("touch-hover-ready")}})},a(".mobile-true .rollover-project.forward-post").touchforwardToPost(),a.fn.followCurentLink=function(){return this.each(function(){if(a(this).parents(".content-rollover-layout-list").length>0||a(this).parents(".gradient-overlay-layout-list").length>0)var b=a(this).parent("article");else var b=a(this);if(!b.hasClass("this-ready")){var c=b.parent().find(".links-container > a, .project-links-container > a"),d=b.find(".portfolio-categories a"),e=b.find(".post-details"),f=!1;b.on("click",function(){if(!b.parents(".ts-wrap").hasClass("ts-interceptClicks"))return c.each(function(){g=a(this).attr("target")?a(this).attr("target"):"_self"}),c.hasClass("project-details")||c.hasClass("link")||c.hasClass("project-link")?(window.open(c.attr("href"),g),!1):(f||(f=!0,
23c.trigger("click"),f=!1),!1)}),b.find(d).click(function(a){a.stopPropagation(),window.location.href=d.attr("href")});var g="undefined"!=typeof e.attr("target")&&e.attr("target").length>0?e.attr("target"):"_self";b.find(e).click(function(a){a.stopPropagation(),a.preventDefault(),window.open(e.attr("href"),g)}),b.addClass("this-ready")}})},a(".mobile-false .rollover-project.rollover-active, .mobile-false .rollover-active,  .mobile-false .buttons-on-img.rollover-active").followCurentLink(),a.fn.touchFollowCurentLink=function(){return this.each(function(){if(a(this).parents(".content-rollover-layout-list").length>0||a(this).parents(".gradient-overlay-layout-list").length>0)var c=a(this).parent("article");else var c=a(this);if(!c.hasClass("this-ready")){var d=c.parent().find(".links-container > a, .project-links-container > a"),e=c.find(".portfolio-categories a"),f=!1;b.on("touchend",function(b){a(".mobile-true .rollover-content").removeClass("is-clicked"),a(".mobile-true .rollover-active").removeClass("is-clicked"),a(".mobile-true .rollover-active").parent("article").removeClass("is-clicked")}),c.on("touchstart",function(a){origY=a.originalEvent.touches[0].pageY,origX=a.originalEvent.touches[0].pageX}),c.on("touchend",function(b){var e=b.originalEvent.changedTouches[0].pageX,g=b.originalEvent.changedTouches[0].pageY;if(origY==g||origX==e){if(c.hasClass("is-clicked")){if(c.parents(".ts-wrap").hasClass("ts-interceptClicks"))return;return d.each(function(){$thisTarget=a(this).attr("target")?a(this).attr("target"):"_self"}),d.hasClass("project-details")||d.hasClass("link")||d.hasClass("project-link")?(window.open(d.attr("href"),$thisTarget),!1):(f||(f=!0,d.trigger("click"),f=!1),!1)}return b.preventDefault(),c.addClass("is-clicked"),!1}}),c.find(e).click(function(a){a.stopPropagation(),window.location.href=e.attr("href")}),c.addClass("this-ready")}})},a(".mobile-true .rollover-project.rollover-active, .mobile-true .rollover-active,  .mobile-true .buttons-on-img.rollover-active").touchFollowCurentLink(),a.fn.touchRolloverPostClick=function(){return this.each(function(){var c=a(this);c.find(".post-thumbnail-rollover").first(),c.find(".entry-meta a, .fancy-date a, .fancy-categories a"),c.find(".entry-excerpt").height()+c.find(".post-details").height();b.on("touchend",function(b){a(".mobile-true .post").removeClass("is-clicked")}),c.on("touchstart",function(a){origY=a.originalEvent.touches[0].pageY,origX=a.originalEvent.touches[0].pageX}),c.on("touchend",function(b){var d=b.originalEvent.changedTouches[0].pageX,e=b.originalEvent.changedTouches[0].pageY;if(origY==e||origX==d){if(!c.hasClass("is-clicked"))return b.preventDefault(),"a"===b.target.tagName.toLowerCase(),a(".mobile-ture .post").removeClass("is-clicked"),c.addClass("is-clicked"),c.parent().siblings().find(".post").removeClass("is-clicked"),!1;c.parents().hasClass("disable-layout-hover")&&"a"===b.target.tagName.toLowerCase()&&a(b.target).trigger("click")}})})},a(".mobile-true .content-rollover-layout-list.portfolio-shortcode .post, .mobile-true .gradient-overlay-layout-list.portfolio-shortcode .post").touchRolloverPostClick(),a.fn.touchHoverImage=function(){return this.each(function(){var c=a(this);if(!c.hasClass("hover-ready")){b.on("touchend",function(b){a(".mobile-true .rollover-content").removeClass("is-clicked")});var d=a(this).find(".rollover-content");d.parents(".wf-cell");d.on("touchstart",function(a){origY=a.originalEvent.touches[0].pageY,origX=a.originalEvent.touches[0].pageX}),d.on("touchend",function(b){var c=b.originalEvent.changedTouches[0].pageX,e=b.originalEvent.changedTouches[0].pageY;if((origY==e||origX==c)&&!d.hasClass("is-clicked"))return a(".links-container > a",d).on("touchend",function(a){a.stopPropagation(),d.addClass("is-clicked")}),b.preventDefault(),a(".mobile-true .buttons-on-img .rollover-content").removeClass("is-clicked"),d.addClass("is-clicked"),!1}),c.addClass("hover-ready")}})},a(".mobile-true .buttons-on-img").touchHoverImage(),a.fn.touchScrollerImage=function(){return this.each(function(){var c=a(this);if(!c.hasClass("hover-ready")){b.on("touchend",function(b){a(".mobile-true .project-list-media").removeClass("is-clicked")});var d=a(this),e=d.find("a.rollover-click-target").first(),f=d.find(".links-container");d.on("touchstart",function(a){origY=a.originalEvent.touches[0].pageY,origX=a.originalEvent.touches[0].pageX}),d.on("touchend",function(b){var c=b.originalEvent.changedTouches[0].pageX,g=b.originalEvent.changedTouches[0].pageY;if(!d.parents(".ts-wrap").hasClass("ts-interceptClicks"))return origY!=g&&origX!=c||d.hasClass("is-clicked")?void 0:(e.length>0&&(e.on("click",function(b){b.stopPropagation(),a(this).hasClass("go-to")&&(window.location.href=a(this).attr("href"))}),e.trigger("click")),f.length>0&&f.find(" > a ").each(function(){a(this).on("touchend",function(b){b.stopPropagation(),a(this).trigger("click")})}),b.preventDefault(),a(".mobile-true .inso-owl-item").removeClass("is-clicked"),d.addClass("is-clicked"),!1)}),c.addClass("hover-ready")}})},a(".mobile-true .project-list-media").touchScrollerImage(),a.fn.touchHoverLinks=function(){return this.each(function(){var b=a(this);if(!b.hasClass("hover-ready")){var c=a(this);c.on("touchend",function(b){if(!c.parents(".ts-wrap").hasClass("ts-interceptClicks"))return c.hasClass("is-clicked")?void 0:c.hasClass("project-zoom")?(c.trigger("click"),a(".mobile-true .links-container > a").removeClass("is-clicked"),c.addClass("is-clicked"),!1):(window.location.href=c.attr("href"),!1)}),b.addClass("hover-ready")}})},a(".mobile-true .inso-owl-item .links-container > a").touchHoverLinks(),a.fn.triggerAlbumsClick=function(){return this.each(function(){var b=a(this);if(!b.hasClass("this-ready")){var c=b.find("a.rollover-click-target, a.inso-pswp-item").first(),d=b.find(".portfolio-categories a");if(c.length>0){c.on("click",function(b){b.preventDefault(),c.parents(".ts-wrap").hasClass("ts-interceptClicks")||a(this).hasClass("go-to")&&(window.location.href=a(this).attr("href"))});var e=!1;b.on("click",function(){if(!b.parents(".ts-wrap").hasClass("ts-interceptClicks"))return e||(e=!0,c.trigger("click"),e=!1),!1}),b.find(d).click(function(a){a.stopPropagation(),window.location.href=d.attr("href")})}b.addClass("this-ready")}})},a(".mobile-false .inso-albums-template .rollover-project, .mobile-false .inso-albums-shortcode .rollover-project, .mobile-false .inso-albums-template .buttons-on-img, .mobile-false .inso-albums-shortcode .buttons-on-img, .mobile-false .archive .type-inso_gallery .buttons-on-img, .mobile-false .albums-shortcode:not(.content-rollover-layout-list):not(.gradient-overlay-layout-list) .post-thumbnail").triggerAlbumsClick(),a.fn.triggerOverlayAlbumsClick=function(){return this.each(function(){var b=a(this);if(!b.hasClass("this-overlay-ready")){var c=b.parents(".post").first().find("a.rollover-click-target, a.inso-pswp-item").first(),d=b.find(".portfolio-categories a");if(c.length>0){c.on("click",function(b){b.preventDefault(),c.parents(".ts-wrap").hasClass("ts-interceptClicks")||a(this).hasClass("go-to")&&(window.location.href=a(this).attr("href"))});var e=!1;b.on("click",function(){if(!b.parents(".ts-wrap").hasClass("ts-interceptClicks"))return e||(e=!0,c.trigger("click"),e=!1),!1}),b.find(d).click(function(a){a.stopPropagation(),window.location.href=d.attr("href")})}b.addClass("this-overlay-ready")}})},a(" .mobile-false .albums-shortcode.content-rollover-layout-list .post-entry-content, .mobile-false .albums-shortcode.gradient-overlay-layout-list .post-entry-content").triggerOverlayAlbumsClick(),a.fn.triggerOverlayAlbumsTouch=function(){return this.each(function(){var c=a(this),d=c.find("a.rollover-click-target, a.inso-pswp-item").first(),e=c.find(".portfolio-categories a");b.on("touchend",function(b){a(".mobile-true .post").removeClass("is-clicked")}),c.on("touchstart",function(a){origY=a.originalEvent.touches[0].pageY,origX=a.originalEvent.touches[0].pageX}),c.on("touchend",function(b){var f=b.originalEvent.changedTouches[0].pageX,g=b.originalEvent.changedTouches[0].pageY;if(origY<=g+5&&origY>
23=g-5||origX<=f+5&&origX==f-5){if(!c.hasClass("is-clicked"))return b.preventDefault(),a(".mobile-ture .post").removeClass("is-clicked"),c.parent().siblings().find(".post").removeClass("is-clicked"),c.addClass("is-clicked"),!1;d.hasClass("go-to")&&(window.location.href=d.attr("href")),d.trigger("click"),c.find(e).click(function(a){a.stopPropagation(),window.location.href=e.attr("href")})}})})},a(" .mobile-true .albums-shortcode.content-rollover-layout-list .post, .mobile-true .albums-shortcode.gradient-overlay-layout-list .post").triggerOverlayAlbumsTouch(),a.fn.triggerAlbumsTouch=function(){return this.each(function(){var c=a(this);if(!c.hasClass("this-touch-ready")){var d=c.find("a.rollover-click-target, a.inso-pswp-item").first(),e=c.find(".portfolio-categories a");if(b.on("touchend",function(b){a(".mobile-true .rollover-content").removeClass("is-clicked")}),d.length>0){d.on("click",function(b){b.preventDefault(),d.parents(".ts-wrap").hasClass("ts-interceptClicks")||a(this).hasClass("go-to")&&(window.location.href=a(this).attr("href"))});var f=!1;c.on("touchstart",function(a){origY=a.originalEvent.touches[0].pageY,origX=a.originalEvent.touches[0].pageX}),c.on("touchend",function(a){var b=a.originalEvent.changedTouches[0].pageX,e=a.originalEvent.changedTouches[0].pageY;if(origY<=e+5&&origY>=e-5||origX<=b+5&&origX==b-5){if(c.parents(".ts-wrap").hasClass("ts-interceptClicks"))return;return f||(f=!0,d.trigger("click"),f=!1),!1}}),c.find(e).click(function(a){a.stopPropagation(),window.location.href=e.attr("href")})}c.addClass("this-touch-ready")}})},a(".mobile-true .inso-albums-template .rollover-project, .mobile-true .inso-albums-shortcode .rollover-project, .mobile-true .inso-albums-template .buttons-on-img, .mobile-true .inso-albums-shortcode .buttons-on-img, .mobile-true .archive .type-inso_gallery .buttons-on-img, .mobile-true .albums-shortcode:not(.content-rollover-layout-list):not(.gradient-overlay-layout-list) .post-thumbnail").triggerAlbumsTouch(),a.fn.triggerHoverClick=function(){return this.each(function(){var b=a(this);if(!b.hasClass("click-ready")){var c,d=b.prev("a:not(.inso-single-pswp):not(.inso-pswp-item)").first(),e=b.find(".portfolio-categories a"),f=b.find(".project-link"),g=f.attr("target")?f.attr("target"):"_self";if(d.length>0){var h=!1;b.on("click",function(e){if(!b.parents(".ts-wrap").hasClass("ts-interceptClicks")&&!b.parents(".owl-carousel").hasClass("ts-interceptClicks"))return c=a(e.target),c.hasClass("project-zoom")||h||(h=!0,d.trigger("click"),window.location.href=d.attr("href"),h=!1),!1}),b.find(f).click(function(a){a.stopPropagation(),a.preventDefault(),window.open(f.attr("href"),g)}),b.find(e).click(function(a){a.stopPropagation(),window.location.href=e.attr("href")})}b.addClass("click-ready")}})},a(".mobile-false .rollover-project:not(.rollover-active) .rollover-content, .mobile-false .buttons-on-img:not(.rollover-active) .rollover-content").triggerHoverClick()}),function(a){a.fn.collagePlus=function(b){function c(b,c,e,f){for(var g=e.padding*b.length+b.length*b[0][3],h=e.albumWidth-g,i=h/(c-g),j=g,k=c<e.albumWidth,l=0;l<b.length;l++){var m=a(b[l][0]),n=Math.floor(b[l][1]*i),o=Math.floor(b[l][2]*i),p=!!(l<b.length-1);e.allowPartialLastRow===!0&&k===!0&&(n=b[l][1],o=b[l][2]),j+=n;var q=m.is("img")?m:m.find("img").first();q.width(n),m.is("img")||m.width(n+b[l][3]),q.height(o),m.is("img")||m.height(o+b[l][4]),e.allowPartialLastRow===!1&&k===!0?d(m,p,"none"):d(m,p,e.display)}}function d(a,b,c){var d={display:c,"vertical-align":"bottom",overflow:"hidden"};return a.css(d)}function e(b){$img=a(b);var c=new Array;return c.w=parseFloat($img.css("border-left-width"))+parseFloat($img.css("border-right-width")),c.h=parseFloat($img.css("border-top-width"))+parseFloat($img.css("border-bottom-width")),c}var f={targetHeight:400,albumWidth:this.width(),padding:parseFloat(this.css("padding-left")),images:this.children(),fadeSpeed:"fast",display:"inline-block",effect:"default",direction:"vertical",allowPartialLastRow:!1},g=a.extend({},f,b);return this.each(function(){var b=0,d=[],f=1;g.images.each(function(h){var i=a(this),j=i.is("img")?i:a(this).find("img").first();if("undefined"!=j.attr("width")&&"undefined"!=j.attr("height"))var k="undefined"!=typeof j.data("width")?j.data("width"):j.attr("width"),l="undefined"!=typeof j.data("height")?j.data("height"):j.attr("height");else var k="undefined"!=typeof j.data("width")?j.data("width"):j.width(),l="undefined"!=typeof j.data("height")?j.data("height"):j.height();var m=e(j);j.data("width",k),j.data("height",l);var n=Math.ceil(k/l*g.targetHeight),o=Math.ceil(g.targetHeight);d.push([this,n,o,m.w,m.h]),b+=n+m.w+g.padding,b>
23g.albumWidth&&0!=d.length&&(c(d,b,g,f),delete b,delete d,b=0,d=[],f+=1),g.images.length-1==h&&0!=d.length&&(c(d,b,g,f),delete b,delete d,b=0,d=[],f+=1)}),a(this).trigger("jgDone")})};var b=0;a(".jg-container").each(function(){b++;var c=a(this),d=c.attr("data-padding");c.find(".wf-cell");c.attr("id","jg-container-"+b),a("<style type='text/css'> .content #jg-container-"+b+" .wf-cell{padding:"+d+";} .content #jg-container-"+b+".wf-container{margin:-"+d+";} .content .full-width-wrap #jg-container-"+b+".wf-container{margin-left:"+d+"; margin-right:"+d+"; margin-top:-"+d+"; margin-bottom:-"+d+";}</style>").insertAfter(c);var e;c.on("jgDone",function(){new Layzr({selector:".jgrid-lazy-load",attr:"data-src",attrSrcSet:"data-srcset",retinaAttr:"data-src-retina",threshold:0,before:function(){this.setAttribute("sizes",this.width+"px"),this.style.willChange="opacity"},callback:function(){this.classList.add("jgrid-layzr-loaded");var b=a(this);b.one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(a){clearTimeout(e),e=setTimeout(function(){b.parent().removeClass("layzr-bg"),b.css("will-change","auto")},200)})}})})}),a.fn.collage=function(b){return this.each(function(){var c=(a(this),a(this)),d=c.attr("data-padding"),e=c.find(".wf-cell"),f=parseFloat(e.first().css("padding-left"))+parseFloat(e.first().css("padding-right")),g=parseInt(c.attr("data-target-height")),h=!0;if("false"==c.attr("data-part-row")&&(h=!1),c.parent(".full-width-wrap").length)var i=c.parents(".full-width-wrap").width()-2*parseInt(d);else var i=c.parent().width()+2*parseInt(d);var j={albumWidth:i,targetHeight:g,padding:f,allowPartialLastRow:h,fadeSpeed:2e3,effect:"effect-1",direction:"vertical"};a.extend(j,b),dtGlobals.jGrid=j,c.collagePlus(j),c.css({width:i})})},a(window).on("debouncedresize",function(){a(".jg-container").not(".jgrid-shortcode").collage(),a(".jgrid-shortcode").each(function(){var b=a(this),c=b.data("visibleItems");c?b.collage({images:c}):b.collage()})}).trigger("debouncedresize")}(jQuery);
24
25
26
27/* info: https://www.whistlingwoods.net/wp-content/plugins/cf7-conditional-fields/js/scripts.js */
28"use strict";let cf7signature_resized=0;let wpcf7cf_timeout;let wpcf7cf_change_time_ms=100;if(window.wpcf7&&!wpcf7.setStatus){wpcf7.setStatus=(form,status)=>{form=form.length?form[0]:form;const defaultStatuses=new Map([['init','init'],['validation_failed','invalid'],['acceptance_missing','unaccepted'],['spam','spam'],['aborted','aborted'],['mail_sent','sent'],['mail_failed','failed'],['submitting','submitting'],['resetting','resetting'],]);if(defaultStatuses.has(status)){status=defaultStatuses.get(status)}
29if(!Array.from(defaultStatuses.values()).includes(status)){status=status.replace(/[^0-9a-z]+/i,' ').trim();status=status.replace(/\s+/,'-');status=`custom-${ status }`}
30const prevStatus=form.getAttribute('data-status');form.wpcf7.status=status;form.setAttribute('data-status',status);form.classList.add(status);if(prevStatus&&prevStatus!==status){form.classList.remove(prevStatus)}
31return status}}
32if(window.wpcf7cf_running_tests){document.querySelectorAll('input[name="_wpcf7cf_options"]').forEach(input=>{const opt=JSON.parse(input.value);opt.settings.animation_intime=0;opt.settings.animation_outtime=0;input.value=JSON.stringify(opt)});wpcf7cf_change_time_ms=0}
33const wpcf7cf_show_animation={"height":"show","marginTop":"show","marginBottom":"show","paddingTop":"show","paddingBottom":"show"};const wpcf7cf_hide_animation={"height":"hide","marginTop":"hide","marginBottom":"hide","paddingTop":"hide","paddingBottom":"hide"};const wpcf7cf_show_step_animation={"opacity":"show"};const wpcf7cf_hide_step_animation={"opacity":"hide"};const wpcf7cf_change_events='input.wpcf7cf paste.wpcf7cf change.wpcf7cf click.wpcf7cf propertychange.wpcf7cf changedisabledprop.wpcf7cf';const wpcf7cf_forms=[];const Wpcf7cfForm=function(formElement){const $form=jQuery(formElement);const options_element=$form.find('input[name="_wpcf7cf_options"]').eq(0);if(!options_element.length||!options_element.val()){return!1}
34const form=this;formElement.addEventListener('submit',function(e){if(window.wpcf7cf_updatingGroups){e.preventDefault();e.stopImmediatePropagation();const retry=()=>
34{if(!window.wpcf7cf_updatingGroups){$form.off('.wpcf7cf-autosubmit');formElement.requestSubmit()}else{requestAnimationFrame(retry)}};$form.on('submit.wpcf7cf-autosubmit',(e)=>e.preventDefault());retry();return!1}},!0);const submitButtons=formElement.querySelectorAll('button[type=submit], input[type=submit]');const prevDisabled=new WeakMap();let wasSubmitting=formElement.classList.contains('submitting');const observer=new MutationObserver(()=>{const isSubmitting=formElement.classList.contains('submitting');if(isSubmitting===wasSubmitting)return;wasSubmitting=isSubmitting;submitButtons.forEach(button=>{if(isSubmitting){prevDisabled.set(button,button.disabled);button.disabled=!0;button.classList.add('is-disabled')}else{button.disabled=prevDisabled.get(button)||!1;button.classList.remove('is-disabled')}})});observer.observe(formElement,{attributes:!0,attributeFilter:['class']});const form_options=JSON.parse(options_element.val());form.$form=$form;form.formElement=formElement;form.$input_hidden_group_fields=$form.find('[name="_wpcf7cf_hidden_group_fields"]');form.$input_hidden_groups=$form.find('[name="_wpcf7cf_hidden_groups"]');form.$input_visible_groups=$form.find('[name="_wpcf7cf_visible_groups"]');form.$input_repeaters=$form.find('[name="_wpcf7cf_repeaters"]');form.$input_steps=$form.find('[name="_wpcf7cf_steps"]');form.unit_tag=$form.closest('.wpcf7').attr('id');form.conditions=form_options.conditions;form.simpleDom=null;form.reloadSimpleDom=function(){form.simpleDom=wpcf7cf.get_simplified_dom_model(form.formElement)}
35form.updateSimpleDom=function(){if(!form.simpleDom){form.reloadSimpleDom()}
36const inputs=Object.values(form.simpleDom).filter(item=>item.type==='input');const formdata=new FormData(form.formElement);let formdataEntries=[...formdata.entries()].map(entry=>[entry[0],entry[1].name??entry[1]]);const buttonEntries=Array.from(form.formElement.querySelectorAll('button'),b=>[b.name,b.value]);formdataEntries=formdataEntries.concat(buttonEntries);inputs.forEach(simpleDomItem=>{const newValue=form.getNewDomValueIfChanged(simpleDomItem,formdataEntries);if(newValue!==null){form.simpleDom[simpleDomItem.name].val=newValue}})}
37form.isDomMatch=function(simpleDomItem,formDataEntries){const simpleDomItemName=simpleDomItem.name;const simpleDomItemValues=simpleDomItem.val;const currentValues=formDataEntries.filter(entry=>entry[0]===simpleDomItemName).map(entry=>entry[1]);return currentValues.join('|')===simpleDomItemValues.join('|')}
38form.getNewDomValueIfChanged=function(simpleDomItem,formDataEntries){const simpleDomItemName=simpleDomItem.name;const simpleDomItemValues=simpleDomItem.val;const currentValues=formDataEntries.filter(entry=>entry[0]===simpleDomItemName).map(entry=>entry[1]);return currentValues.join('|')===simpleDomItemValues.join('|')?null:currentValues}
39form.get=function(selector){return jQuery(selector,form.$form)}
40form.getFieldByName=function(name){return form.simpleDom[name]||form.simpleDom[name+'[]']}
41for(let i=0;i<form.conditions.length;i++){const condition=form.conditions[i];if(!('and_rules' in condition)){condition.and_rules=[{'if_field':condition.if_field,'if_value':condition.if_value,'operator':condition.operator}]}}
42form.initial_conditions=form.conditions;form.settings=form_options.settings;form.$groups=jQuery();form.repeaters=[];form.multistep=null;form.fields=[];form.settings.animation_intime=parseInt(form.settings.animation_intime);form.settings.animation_outtime=parseInt(form.settings.animation_outtime);if(form.settings.animation==='no'){form.settings.animation_intime=0;form.settings.animation_outtime=0}
43form.updateGroups();form.updateEventListeners();form.displayFields();form.$form.on('reset.wpcf7cf',form,function(e){const form=e.data;setTimeout(function(){form.reloadSimpleDom();form.displayFields();form.resetRepeaters();if(form.multistep!=null){form.multistep.moveToStep(1,!1)}
44setTimeout(function(){if(form.$form.hasClass('sent')){jQuery('.wpcf7-response-output',form.$form)[0].scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}},400)},200)})}
45Wpcf7cfForm.prototype.resetRepeaters=function(){const form=this;
45form.repeaters.forEach(repeater=>{repeater.updateSubs(repeater.params.$repeater.initial_subs)})}
46Wpcf7cfForm.prototype.displayFields=function(){const form=this;const wpcf7cf_conditions=this.conditions;const wpcf7cf_settings=this.settings;if(cf7signature_resized===0&&typeof signatures!=='undefined'&&signatures.constructor===Array&&signatures.length>0){for(let i=0;i<signatures.length;i++){if(signatures[i].canvas.width===0){const $sig_canvas=jQuery(".wpcf7-form-control-signature-body>canvas");const $sig_wrap=jQuery(".wpcf7-form-control-signature-wrap");$sig_canvas.eq(i).attr('width',$sig_wrap.width());$sig_canvas.eq(i).attr('height',$sig_wrap.height());cf7signature_resized=1}}}
47form.$groups.addClass('wpcf7cf-hidden novalidate');for(let i=0;i<wpcf7cf_conditions.length;i++){const condition=wpcf7cf_conditions[i];const show_group=window.wpcf7cf.should_group_be_shown(condition,form);if(show_group){form.get('[data-id="'+condition.then_field+'"]').removeClass('wpcf7cf-hidden novalidate')}}
48const animation_intime=wpcf7cf_settings.animation_intime;const animation_outtime=wpcf7cf_settings.animation_outtime;form.$groups.each(function(index){const $group=jQuery(this);if($group.is(':animated')){$group.finish()}
49if($group.css('display')==='none'&&!$group.hasClass('wpcf7cf-hidden')){if($group.prop('tagName')==='SPAN'){$group.show().trigger('wpcf7cf_show_group')}else{$group.animate(wpcf7cf_show_animation,animation_intime).trigger('wpcf7cf_show_group')}
50if($group.attr('data-disable_on_hide')!==undefined){$group.find(':input').prop('disabled',!1).trigger('changedisabledprop.wpcf7cf');$group.find('.wpcf7-form-control-wrap').removeClass('wpcf7cf-disabled')}}else if($group.css('display')!=='none'&&$group.hasClass('wpcf7cf-hidden')){if($group.attr('data-clear_on_hide')!==undefined){const $inputs=jQuery(':input',$group).not(':button, :submit, :reset, :hidden');$inputs.each(function(){const $this=jQuery(this);$this.val(this.defaultValue);$this.prop('checked',this.defaultChecked)});jQuery('option',$group).each(function(){this.selected=this.defaultSelected});jQuery('select',$group).each(function(){const $select=jQuery(this);if($select.val()===null){$select.val(jQuery("option:first",$select).val())}});$inputs.each(function(){this.dispatchEvent(new Event("change",{"bubbles":!0}))})}
51if($group.prop('tagName')==='SPAN'){$group.hide().trigger('wpcf7cf_hide_group')}else{$group.animate(wpcf7cf_hide_animation,animation_outtime).trigger('wpcf7cf_hide_group')}}});form.updateHiddenFields();form.updateSummaryFields()};Wpcf7cfForm.prototype.updateSummaryFields=function(){const form=this;const $summary=form.get('.wpcf7cf-summary');if($summary.length==0||!$summary.is(':visible')){return}
52const fd=new FormData();const formdata=form.$form.serializeArray();jQuery.each(formdata,function(key,input){fd.append(input.name,input.value)});jQuery.each(form.$form.find('input[type="file"]'),function(index,el){if(!el.files.length)return!0;const fieldName=el.name;fd.append(fieldName,new Blob(),Array.from(el.files).map(file=>file.name).join(', '))});jQuery.ajax({url:wpcf7cf_global_settings.ajaxurl+'?action=wpcf7cf_get_summary',type:'POST',data:fd,processData:!1,contentType:!1,dataType:'json',success:function(json){$summary.html(json.summaryHtml)}})};Wpcf7cfForm.prototype.updateHiddenFields=function(){const form=this;const hidden_fields=[];const hidden_groups=[];const visible_groups=[];form.$groups.each(function(){const $group=jQuery(this);if($group.hasClass('wpcf7cf-hidden')){hidden_groups.push($group.attr('data-id'));if($group.attr('data-disable_on_hide')!==undefined){$group.find('input,select,textarea').each(function(){const $this=jQuery(this);if(!$this.prop('disabled')){$this.prop('disabled',!0).trigger('changedisabledprop.wpcf7cf')}
53if(form.$form.find(`[data-class="wpcf7cf_group"]:not(.wpcf7cf-hidden) [name='${$this.attr('name')}']`).length===0){hidden_fields.push($this.attr('name'))}})
54$group.find('.wpcf7-form-control-wrap').addClass('wpcf7cf-disabled')}else{$group.find('input,select,textarea').each(function(){hidden_fields.push(jQuery(this).attr('name'))})}}else{visible_groups.push($group.attr('data-id'))}});form.hidden_fields=hidden_fields;form.hidden_groups=hidden_groups;form.visible_groups=visible_groups;form.$input_hidden_group_fields.val(JSON.stringify(hidden_fields));
54form.$input_hidden_groups.val(JSON.stringify(hidden_groups));form.$input_visible_groups.val(JSON.stringify(visible_groups));return!0};Wpcf7cfForm.prototype.updateGroups=function(){const form=this;form.$groups=form.$form.find('[data-class="wpcf7cf_group"]');form.$groups.height('auto');form.conditions=window.wpcf7cf.get_nested_conditions(form)};Wpcf7cfForm.prototype.updateEventListeners=function(){const form=this;form.get('input, select, textarea, button').not('.wpcf7cf_add, .wpcf7cf_remove').off(wpcf7cf_change_events).on(wpcf7cf_change_events,form,function(e){window.wpcf7cf_updatingGroups=!0;const form=e.data;clearTimeout(wpcf7cf_timeout);wpcf7cf_timeout=setTimeout(function(){window.wpcf7cf.updateMultistepState(form.multistep);form.updateSimpleDom();form.displayFields();window.wpcf7cf_updatingGroups=!1},wpcf7cf_change_time_ms)})};const wpcf7cf_date_regex=/^\d{4}-\d{2}-\d{2}$/;function wpcf7cf_isDateString(v){return typeof v==='string'&&wpcf7cf_date_regex.test(v)&&!isNaN(Date.parse(v))}
55window.wpcf7cf={hideGroup:function($group,animate){},showGroup:function($group,animate){},updateRepeaterSubHTML:function(html,oldSuffix,newSuffix,parentRepeaters){const oldIndexes=oldSuffix.split('__');oldIndexes.shift();const newIndexes=newSuffix.split('__');newIndexes.shift();let returnHtml=html;if(oldIndexes&&newIndexes&&oldIndexes.length===parentRepeaters.length&&newIndexes.length===parentRepeaters.length){const parentRepeatersInfo=parentRepeaters.map((repeaterId,i)=>{return{[repeaterId.split('__')[0]]:[oldIndexes[i],newIndexes[i]]}});const length=parentRepeatersInfo.length;let replacements=oldIndexes.map((oldIndex,i)=>{return['__'+oldIndexes.slice(0,length-i).join('__'),'__'+newIndexes.slice(0,length-i).join('__'),]});for(let i=0;i<length;i++){const id=Object.keys(parentRepeatersInfo[i])[0];const find=parentRepeatersInfo[i][id][0];const repl=parentRepeatersInfo[i][id][1];replacements.push([`<span class="wpcf7cf-index wpcf7cf__${id}">${find}<\\/span>`,`<span class="wpcf7cf-index wpcf7cf__${id}">${repl}</span>`])}
56replacements.forEach(([oldSuffix,newSuffix])=>{returnHtml=returnHtml.replace(new RegExp(oldSuffix,'g'),newSuffix)})}
57return returnHtml},initForm:function($forms){$forms.each(function(){const formElement=this;if(formElement.classList.contains('wpcf7-form')&&!wpcf7cf_forms.some((form)=>{return form.$form.get(0)===formElement})){wpcf7cf_forms.push(new Wpcf7cfForm(formElement))}})},getWpcf7cfForm:function($form){const matched_forms=wpcf7cf_forms.filter((form)=>{return form.$form.get(0)===$form.get(0)});if(matched_forms.length){return matched_forms[0]}
58return!1},get_nested_conditions:function(form){const conditions=form.initial_conditions;form.reloadSimpleDom();const groups=Object.values(form.simpleDom).filter(function(item,i){return item.type==='group'});let sub_conditions=[];for(let i=0;i<groups.length;i++){const g=groups[i];let relevant_conditions=conditions.filter(function(condition,i){return condition.then_field===g.original_name});relevant_conditions=relevant_conditions.map(function(item,i){return{then_field:g.name,and_rules:item.and_rules.map(function(and_rule,i){return{if_field:and_rule.if_field+g.suffix,if_value:and_rule.if_value,operator:and_rule.operator}})}});sub_conditions=sub_conditions.concat(relevant_conditions)}
59return sub_conditions},get_simplified_dom_model:function(currentNode,simplified_dom={},parentGroups=[],parentRepeaters=[]){const type=currentNode.classList&&currentNode.classList.contains('wpcf7cf_repeater')?'repeater':currentNode.dataset.class=='wpcf7cf_group'?'group':currentNode.className=='wpcf7cf_step'?'step':currentNode.hasAttribute('name')?'input':!1;let newParentRepeaters=[...parentRepeaters];let newParentGroups=[...parentGroups];if(type){const name=type==='input'?currentNode.getAttribute('name'):currentNode.dataset.id;if(type==='repeater'){newParentRepeaters.push(name)}
60if(type==='group'){newParentGroups.push(name)}
61if(name.substring(0,6)==='_wpcf7')return{};const original_name=type==='repeater'||type==='group'?currentNode.dataset.orig_data_id:type==='input'?(currentNode.getAttribute('data-orig_name')||name):name;const nameWithoutBrackets=name.replace('[]','');const originalNameWithoutBrackets=original_name.replace('[]','');const val=type==='step'?[currentNode.dataset.id.substring(5)]:[];const suffix=nameWithoutBrackets.replace(originalNameWithoutBrackets,'');if(!simplified_dom[name]){simplified_dom[name]={name,type,original_name,suffix,val,parentGroups,parentRepeaters}}
62if(type==='input'){if((currentNode.type==='checkbox'||currentNode.type==='radio')&&!currentNode.checked)return{};if(currentNode.multiple&&currentNode.options){simplified_dom[name].val=Object.values(currentNode.options).filter(o=>o.selected).map(o=>o.value)}else{simplified_dom[name].val.push(currentNode.value)}}}
63const getter=Object.getOwnPropertyDescriptor(Element.prototype,"children").get;const children=getter.call(currentNode);
63Array.from(children).forEach(childNode=>{const dom=wpcf7cf.get_simplified_dom_model(childNode,simplified_dom,newParentGroups,newParentRepeaters);simplified_dom={...dom,...simplified_dom}});return simplified_dom},updateMultistepState:function(multistep){if(multistep==null)return;if(multistep.form.$form.hasClass('submitting'))return;const stepsData={currentStep:multistep.currentStep,numSteps:multistep.numSteps,fieldsInCurrentStep:multistep.getFieldsInStep(multistep.currentStep)};multistep.form.$input_steps.val(JSON.stringify(stepsData));multistep.$btn_prev.removeClass('disabled').attr('disabled',!1);multistep.$btn_next.removeClass('disabled').attr('disabled',!1);if(multistep.currentStep==multistep.numSteps){multistep.$btn_next.addClass('disabled').attr('disabled',!0)}
64if(multistep.currentStep==1){multistep.$btn_prev.addClass('disabled').attr('disabled',!0)}
65const $current_step=multistep.$steps.eq(multistep.currentStep-1);const prev_text=$current_step.attr('data-prev-button-text');const next_text=$current_step.attr('data-next-button-text');if(prev_text!==undefined)multistep.$btn_prev.text(prev_text);if(next_text!==undefined)multistep.$btn_next.text(next_text);const $submit_button=multistep.form.$form.find('input[type="submit"]:last').eq(0);const $ajax_loader=multistep.form.$form.find('.wpcf7-spinner').eq(0);$submit_button.detach().prependTo(multistep.$btn_next.parent());$ajax_loader.detach().prependTo(multistep.$btn_next.parent());if(multistep.currentStep==multistep.numSteps){multistep.$btn_next.hide();$submit_button.show()}else{$submit_button.hide();multistep.$btn_next.show()}
66const $dots=multistep.$dots.find('.dot');$dots.removeClass('active').removeClass('completed');for(let step=1;step<=multistep.numSteps;step++){if(step<multistep.currentStep){$dots.eq(step-1).addClass('completed')}else if(step==multistep.currentStep){$dots.eq(step-1).addClass('active')}}},should_group_be_shown:function(condition,form){let show_group=!0;let atLeastOneFieldFound=!1;for(let and_rule_i=0;and_rule_i<condition.and_rules.length;and_rule_i++){let condition_ok=!1;const condition_and_rule=condition.and_rules[and_rule_i];const inputField=form.getFieldByName(condition_and_rule.if_field);if(!inputField)continue;atLeastOneFieldFound=!0;const if_val=condition_and_rule.if_value;let operator=condition_and_rule.operator;operator=operator==='≤'?'less than or equals':operator;operator=operator==='≥'?'greater than or equals':operator;operator=operator==='>'?'greater than':operator;operator=operator==='<'?'less than':operator;const $field=operator==='function'&&jQuery(`[name="${inputField.name}"]`).eq(0);condition_ok=this.isConditionTrue(inputField.val,operator,if_val,$field);show_group=show_group&&condition_ok}
67return show_group&&atLeastOneFieldFound},isConditionTrue(values,operator,testValue='',$field=jQuery()){if(!Array.isArray(values)){values=[values]}
68let condition_ok=!1;const valuesAreEmpty=values.length===0||values.every((v)=>!v&&v!==0);if(operator==='equals'&&testValue===''&&valuesAreEmpty){return!0}
69if(operator==='not equals'&&testValue===''&&valuesAreEmpty){return!1}
70if(valuesAreEmpty){if(operator==='is empty'){condition_ok=!0}}else{if(operator==='not empty'){condition_ok=!0}}
71const testValueNumber=isFinite(parseFloat(testValue))?parseFloat(testValue):NaN;const testValueIsDate=wpcf7cf_isDateString(testValue);if(operator==='not equals'||operator==='not equals (regex)'){condition_ok=!0}
72if(operator==='function'&&typeof window[testValue]=='function'&&window[testValue]($field)){condition_ok=!0}
73let regex_patt=/.*/i;let isValidRegex=!0;if(operator==='equals (regex)'||operator==='not equals (regex)'){try{regex_patt=new RegExp(testValue,'i')}catch(e){isValidRegex=!1}}
74for(let i=0;i<values.length;i++){const value=values[i];const valueNumber=isFinite(parseFloat(value))?parseFloat(value):NaN;const valsAreNumbers=!isNaN(valueNumber)&&!isNaN(testValueNumber);const valueIsDate=wpcf7cf_isDateString(value);const compareAsDates=testValueIsDate&&valueIsDate;const left=compareAsDates?Date.parse(value):valueNumber;const right=compareAsDates?Date.parse(testValue):testValueNumber;const comparable=compareAsDates||(valsAreNumbers&&testValueIsDate===valueIsDate);if(operator==='equals'&&value===testValue||operator==='equals (regex)'&&regex_patt.test(value)||operator==='greater than'&&comparable&&left>right||operator==='less than'&&comparable&&left<right||operator==='greater than or equals'&&comparable&&left>=right||operator==='less than or equals'&&comparable&&left<=right){condition_ok=!0;break}else if(operator==='not equals'&&value===testValue||operator==='not equals (regex)'&&regex_patt.test(value)){condition_ok=!1;break}}
75return condition_ok},getFormObj($form){if(typeof $form==='string'){$form=jQuery($form).eq(0)}
76return wpcf7cf.getWpcf7cfForm($form)},getRepeaterObj($form,repeaterDataId){const form=wpcf7cf.getFormObj($form);const repeater=form.repeaters.find(repeater=>repeater.params.$repeater.attr('data-id')===repeaterDataId);return repeater},getMultiStepObj($form){const form=wpcf7cf.getFormObj($form);return form.multistep},repeaterAddSub($form,repeaterDataId){const repeater=wpcf7cf.getRepeaterObj($form,repeaterDataId);repeater.updateSubs(repeater.params.$repeater.num_subs+1)},repeaterAddSubAtIndex($form,repeaterDataId,index){const repeater=wpcf7cf.getRepeaterObj($form,repeaterDataId);repeater.addSubs(1,index)},repeaterRemoveSubAtIndex($form,repeaterDataId,index){const repeater=wpcf7cf.getRepeaterObj($form,repeaterDataId);repeater.removeSubs(1,index)},repeaterRemoveSub($form,repeaterDataId){const repeater=wpcf7cf.getRepeaterObj($form,repeaterDataId);repeater.updateSubs(repeater.params.$repeater.num_subs-1)},repeaterSetNumberOfSubs($form,repeaterDataId,numberOfSubs){const repeater=wpcf7cf.getRepeaterObj($form,repeaterDataId);repeater.updateSubs(numberOfSubs)},multistepMoveToStep($form,step){const multistep=wpcf7cf.getMultiStepObj($form);multistep.moveToStep(step)},async multistepMoveToStepWithValidation($form,step){const multistep=wpcf7cf.getMultiStepObj($form);const result=await multistep.validateStep(multistep.currentStep);if(result==='success'){multistep.moveToStep(step)}},};document.querySelectorAll('.wpcf7-form').forEach(function(formElement){wpcf7cf_forms.push(new Wpcf7cfForm(formElement))});document.addEventListener('DOMContentLoaded',function(){wpcf7cf_forms.forEac
76h(function(f){f.displayFields()})});
77
78
79
80/* info: https://www.whistlingwoods.net/wp-content/plugins/js_composer/assets/js/dist/js_composer_front.min.js */
81document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",(()=>{for(var e=["-webkit-","-moz-","-ms-","-o-",""],t=0;t<e.length;t++)e[t]+"transform"in document.documentElement.style&&(document.documentElement.className+=" vc_transform ")})(),(c=>{"function"!=typeof window.vc_js&&(window.vc_js=function(){vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBox(),vc_googleMapsPointer(),vc_ttaActivation(),vc_ttaToggleBehaviour(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function(e){(e?e.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var e=jQuery(this),t=1e3*parseInt(e.attr("data-interval"),10),i=e.attr("data-flex_fx"),o=0==t?!1:!0;e.is(":visible")&&setTimeout(function(){e.flexslider({animation:i,slideshow:o,slideshowSpeed:t,sliderSpeed:800,smoothHeight:!0})},1)})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){var e,t;0<jQuery(".wpb_googleplus").length&&((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://apis.google.com/js/plusone.js",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}),"function"!=typeof window.vc_pinterest&&(window.vc_pinterest=function(){var e,t;0<jQuery(".wpb_pinterest").length&&((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://assets.pinterest.com/js/pinit.js",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}),"function"!=typeof window.vc_progress_bar&&(window.vc_progress_bar=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".vc_progress_bar").each(function(){var e=jQuery(this);e.vcwaypoint(function(){e.find(".vc_single_bar").each(function(e){var t=jQuery(this).find(".vc_bar"),i=t.data("percentage-value");setTimeout(function(){t.css({width:i+"%"})},200*e)})},{offset:"85%"})})}),"function"!=typeof window.vc_waypoints&&(window.vc_waypoints=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").each(function(){var e=jQuery(this);e.vcwaypoint(function(){e.addClass("wpb_start_animation animated")},{offset:"85%"})})}),"function"!=typeof window.vc_toggleBehaviour&&(window.vc_toggleBehaviour=function(e){function t(e){e&&e.preventDefault&&e.preventDefault();var t=jQuery(this).closest(".vc_toggle"),e=t.find(".vc_toggle_content");t.hasClass("vc_toggle_active")?e.slideUp({duration:300,complete:function(){t.removeClass("vc_toggle_active")}}):e.slideDown({duration:300,complete:function(){t.addClass("vc_toggle_active")}})}(e?e.hasClass("vc_toggle_title")?e.unbind("click"):e.find(".vc_toggle_title").off("click"):jQuery(".vc_toggle_title").off("click")).on("click",t)}),"function"!=typeof window.vc_ttaToggleBehaviour&&(window.vc_ttaToggleBehaviour=function(e){function t(){var e=jQuery(this);e.toggleClass("wpb-tta-toggle-active"),e.parent().parent().parent().find(".vc_pagination-item").each(function(){if(!c(this).hasClass("vc_active"))return c(this).find("a").click(),!1})}(e?e.find(".wpb-tta-toggle"):jQuery(".wpb-tta-toggle")).off("click").on("click",t),setTimeout(function(){jQuery(".wpb-tta-toggle").each(function(){var e=jQuery(this);e.parent().parent().parent().find(".vc_tta-panels-container .vc_pagination li:first").hasClass("vc_active")||e.addClass("wpb-tta-toggle-active")})},1e3)}),"function"!=typeof window.vc_tabsBehaviour&&(window.vc_tabsBehaviour=function(e){var t,o;jQuery.ui&&(e=e||jQuery(".wpb_tabs, .wpb_tour"),t=jQuery.ui&&jQuery.ui.version?jQuery.ui.version.split("."):"1.10",o=1===parseInt(t[0],10)&&parseInt(t[1],10)<9,e.each(function(){var e=jQuery(this).attr("data-interval"),t=[],i=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({show:function(e,t){wpb_prepare_tab_content(e,t)},activate:function(e,t){wpb_prepare_tab_content(e,t)}});if(e&&0<e)try{i.tabs("rotate",1e3*e)}catch(e){window.console&&window.console.warn&&console.warn("tabs behaviours error",e)}jQuery(this).find(".wpb_tab").each(function(){t.push(this.id)}),jQuery(this).find(".wpb_tabs_nav li").on("click",function(e){return e&&e.preventDefault&&e.preventDefault(),o?i.tabs("select",jQuery("a",this).attr("href")):i.tabs("option","active",jQuery(this).index()),!1}),jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").on("click",function(e){var t;e&&e.preventDefault&&e.preventDefault(),o?(t=i.tabs("option","selected"),jQuery(this).parent().hasClass("wpb_next_slide")?t++:t--,t<0?t=i.tabs("length")-1:t>=i.tabs("length")&&(t=0),i.tabs("select",t)):(t=i.tabs("option","active"),e=i.find(".wpb_tab").length,t=jQuery(this).parent().hasClass("wpb_next_slide")?e<=t+1?0:t+1:t-1<0?e-1:t-1,i.tabs("option","active",t))})}))}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(){var e=jQuery(this),t=(e.attr("data-interval"),!isNaN(jQuery(this).data("active-tab"))&&0<parseInt(e.data("active-tab"),10)&&parseInt(e.data("active-tab"),10)-1),i=!1===t||"yes"===e.data("collapsible"),t=e.find(".wpb_accordion_wrapper").accordion({header:"> div > h3",autoHeight:!1,heightStyle:"content",active:t,collapsible:i,navigation:!0,activate:vc_accordionActivate,change:function(e,t){void 0!==jQuery.fn.isotope&&t.newContent.find(".
81isotope").isotope("layout"),vc_carouselBehaviour(t.newPanel)}});!0===e.data("vcDisableKeydown")&&(t.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var o={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var e=jQuery(this),t=e.find(".wpb_thumbnails"),i=t.attr("data-layout-mode");t.isotope({itemSelector:".isotope-item",layoutMode:void 0===o[i]?"fitRows":o[i]}),e.find(".categories_filter a").data("isotope",t).on("click",function(e){e&&e.preventDefault&&e.preventDefault();e=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),e.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).on("load resize",function(){t.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function(e){(e?e.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var e=jQuery(this);!0!==e.data("carousel_enabled")&&e.is(":visible")&&(e.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1"),(e=jQuery(this).find(".wpb_thumbnails-fluid li")).css({"margin-right":e.css("margin-left"),"margin-left":0}),(e=jQuery(this).find("ul.wpb_thumbnails-fluid")).width(e.width()+300))})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(){var e,t,i=jQuery(this);i.hasClass("wpb_slider_nivo")?(0===(t=1e3*i.attr("data-interval"))&&(t=9999999999),jQuery.fn.nivoSlider&&!i.data("nivo-initialized")&&(i.data("nivo-initialized",!0),i.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:t,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"}))):i.hasClass("wpb_image_grid")&&i.find(".wpb_image_grid_ul")&&i.find(".wpb_image_grid_ul").isotope&&(jQuery.fn.imagesLoaded?e=i.find(".wpb_image_grid_ul").imagesLoaded(function(){e.isotope({itemSelector:".isotope-item",layoutMode:"fitRows",percentPosition:!0})}):i.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows",percentPosition:!0}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1<location.href.indexOf("#!prettyPhoto")&&(location.hash="")},social_tools:""})}catch(e){window.console&&window.console.warn&&window.console.warn("vc_prettyPhoto initialize error",e)}}),"function"!=typeof window.vc_google_fonts&&(window.vc_google_fonts=function(){return window.console&&window.console.warn&&window.console.warn("function vc_google_fonts is deprecated, no need to use it"),!1}),window.vcParallaxSkroll=!1,"function"!=typeof window.vc_rowBehaviour&&(window.vc_rowBehaviour=function(){var s=window.jQuery;function e(){var e;void 0!==window.wpb_disable_full_width_row_js&&window.wpb_disable_full_width_row_js||(e=s('[data-vc-full-width="true"]'),s.each(e,function(){var e,t,i,o,n,a,r,c=s(this),d=(c.addClass("vc_hidden"),c.next(".vc_row-full-width"));(d=d.length?d:c.parent().next(".vc_row-full-width")).length&&(c.removeAttr("data-vc-full-width-temp"),e=parseInt(c.css("margin-left"),10),t=parseInt(c.css("margin-right"),10),i=0-d.offset().left-e,o=s(window).width(),n={position:"relative",left:i="rtl"===c.css("direction")?(i=i-d.width()+o)+e+t:i,"box-sizing":"border-box",width:o,"max-width":o},c.css(n),c.data("vcStretchContent")||("rtl"===c.css("direction")?((a=i)<0&&(a=0),(r=i)<0&&(r=0)):(r=o-(a=(a=-1*i)<0?0:a)-d.width()+e+t)<0&&(r=0),c.css({"padding-left":a+"px","padding-right":r+"px"})),c.attr("data-vc-full-width-init","true"),c.removeClass("vc_hidden"),s(document).trigger("vc-full-width-row-single",{el:c,offset:i,marginLeft:e,marginRight:t,elFull:d,width:o,maxWidth:o}))}),s(document).trigger("vc-full-width-row",e))}function t(){var e,t,i=s(".vc_row-o-full-height:first");i.length&&(e=s(window).height(),(t=i.offset().top)<e)&&i.css("min-height",100-t/(e/100)+"vh"),s(document).trigger("vc-full-height-row",i)}s(window).off("resize.vcRowBehaviour").on("resize.vcRowBehaviour",e).on("resize.vcRowBehaviour",t),e(),t(),(0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./))&&s(".vc_row-o-full-height").each(function(){"flex"===s(this).css("display")&&s(this).wrap('<div class="vc_ie-flexbox-fixer"></div>')}
81),vc_initVideoBackgrounds();var n=!1;if(window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),s(".vc_parallax-inner").remove(),s("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),s("[data-vc-parallax]").each(function(){var e,t,i,o;n=!0,"on"===s(this).data("vcParallaxOFade")&&s(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),e=100*s(this).data("vcParallax"),(t=s("<div />").addClass("vc_parallax-inner").appendTo(s(this))).height(e+"%"),i=s(this).data("vcParallaxImage"),(o=vcExtractYoutubeId(i))?insertYoutubeVideoAsBackground(t,o):void 0!==i&&t.css("background-image","url("+i+")"),t.attr("data-bottom-top","top: "+-(e-100)+"%;").attr("data-top-bottom","top: 0%;")}),n&&window.skrollr)window.vcParallaxSkroll=skrollr.init({forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}}),window.vcParallaxSkroll}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(e){for(var t=!1,i=1;!1===t;){if(e.hasClass("columns_count_"+i))return t=!0,i;i++}}),"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(e,t){var i=t.panel||t.newPanel,o=i.find(".vc_pie_chart:not(.vc_ready)"),n=i.find(".vc_round-chart"),a=i.find(".vc_line-chart"),r=i.find('[data-ride="vc_carousel"]');vc_carouselBehaviour(),vc_plugin_flexslider(i),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),i.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&i.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),o.length&&jQuery.fn.vcChat&&o.vcChat(),n.length&&jQuery.fn.vcRoundChart&&n.vcRoundChart({reload:!1}),a.length&&jQuery.fn.vcLineChart&&a.vcLineChart({reload:!1}),r.length&&jQuery.fn.carousel&&r.carousel("resizeAction"),t=i.find(".isotope, .wpb_image_grid_ul"),o=i.find(".wpb_gmaps_widget"),0<t.length&&t.isotope("layout"),o.length&&!o.is(".map_ready")&&((n=o.find("iframe")).attr("src",n.attr("src")),o.addClass("map_ready")),i.parents(".isotope").length&&i.parents(".isotope").each(function(){jQuery(this).isotope("layout")}),c(document).trigger("wpb_prepare_tab_content",i)}),"function"!=typeof window.vc_ttaActivation&&(window.vc_ttaActivation=function(){jQuery("[data-vc-accordion]").on("show.vc.accordion",function(e){var t=window.jQuery,i={};i.newPanel=t(this).data("vc.accordion").getTarget(),window.wpb_prepare_tab_content(e,i)})}),"function"!=typeof window.vc_accordionActivate&&(window.vc_accordionActivate=function(e,t){var i,o,n,a;t.newPanel.length&&t.newHeader.length&&(i=t.newPanel.find(".vc_pie_chart:not(.vc_ready)"),o=t.newPanel.find(".vc_round-chart"),n=t.newPanel.find(".vc_line-chart"),a=t.newPanel.find('[data-ride="vc_carousel"]'),void 0!==jQuery.fn.isotope&&t.newPanel.find(".isotope, .wpb_image_grid_ul").isotope("layout"),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),vc_carouselBehaviour(t.newPanel),vc_plugin_flexslider(t.newPanel),i.length&&jQuery.fn.vcChat&&i.vcChat(),o.length&&jQuery.fn.vcRoundChart&&o.vcRoundChart({reload:!1}),n.length&&jQuery.fn.vcLineChart&&n.vcLineChart({reload:!1}),a.length&&jQuery.fn.carousel&&a.carousel("resizeAction"),t.newPanel.parents(".isotope").length)&&t.newPanel.parents(".isotope").each(function(){jQuery(this).isotope("layout")})}),"function"!=typeof window.initVideoBackgrounds&&(window.initVideoBackgrounds=function(){return window.console&&window.console.warn&&window.console.warn("this function is deprecated use vc_initVideoBackgrounds"),vc_initVideoBackgroun
81ds()}),"function"!=typeof window.vc_initVideoBackgrounds&&(window.vc_initVideoBackgrounds=function(){c(".vc_video-bg").remove(),c("[data-vc-video-bg]").each(function(){var e,i=jQuery(this);i.data("vcVideoBg")?(e=i.data("vcVideoBg"),(e=vcExtractYoutubeId(e))&&(i.find(".vc_video-bg").remove(),insertYoutubeVideoAsBackground(i,e)),jQuery(window).on("grid:items:added",function(e,t){i.has(t).length&&vcResizeVideoBackground(i)})):i.find(".vc_video-bg").remove()})}),"function"!=typeof window.insertYoutubeVideoAsBackground&&(window.insertYoutubeVideoAsBackground=function(e,t,i){if("undefined"==typeof YT||void 0===YT.Player)return 100<(i=void 0===i?0:i)?void console.warn("Too many attempts to load YouTube api"):void setTimeout(function(){insertYoutubeVideoAsBackground(e,t,i++)},100);var o=e.prepend('<div class="vc_video-bg"><div class="inner"></div></div>').find(".inner");new YT.Player(o[0],{width:"100%",height:"100%",videoId:t,playerVars:{iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,mute:1,wmode:"transparent"},events:{onReady(e){let t=e.target,i=t.getIframe(),o=(t.mute(),setInterval(()=>{var e;document.body.contains(i)?0<(e=t.getDuration())&&t.getCurrentTime()>e-.5&&t.seekTo(0):clearInterval(o)},250))},onStateChange(e){YT.PlayerState.ENDED===e.data&&(e.target.seekTo(0),e.target.playVideo())}}}),vcResizeVideoBackground(e),jQuery(window).on("resize",function(){vcResizeVideoBackground(e)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function(e){var t=e.innerWidth(),i=e.innerHeight(),o=Math.max(i,t/(16/9)),n=o*(16/9),o=Math.round(o),n=Math.round(3*n);e.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:-Math.round((n-t)/2)+"px",marginTop:-Math.round((o-i)/2)+"px",width:n+"px",height:o+"px"})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(e){return void 0!==e&&null!==(e=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/))&&e[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var e=window.jQuery,t=e(".wpb_gmaps_widget");t.on("click",function(){e("iframe",this).css("pointer-events","auto")}),t.on("mouseleave",function(){e("iframe",this).css("pointer-events","none")}),e(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(e){e.each(function(){var e=jQuery(this),t=e.width();e.css("perspective",4*t+"px")})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(e){e.each(function(){var e=jQuery(this),t=e.find(".vc-hoverbox-inner"),i=(t.css("min-height",0),e.find(".vc-hoverbox-front-inner").outerHeight()),e=e.find(".vc-hoverbox-back-inner").outerHeight(),i=e<i?i:e;t.css("min-height",(i=i<250?250:i)+"px")})}),"function"!=typeof window.vc_prepareHoverBox&&(window.vc_prepareHoverBox=function(){var e=jQuery(".vc-hoverbox");vc_setHoverBoxHeight(e),vc_setHoverBoxPerspective(e)}),jQuery(document).ready(window.vc_prepareHoverBox),jQuery(window).on("resize",window.vc_prepareHoverBox),jQuery(document).ready(function(){window.vc_js()})})(window.jQuery);
82
83

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.