Changeset 2330255
- Timestamp:
- 06/24/2020 09:11:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
hayyabuild/trunk/public/assets/js/hayyabuild.min.js
r2309932 r2330255 1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),r={header:document.getElementById("hayyabuild-header"),footer:document.getElementById("hayyabuild-footer"),containerHeader:document.getElementById("hayyabuild-container-header"),containerFooter:document.getElementById("hayyabuild-container-footer"),object:{},classes:"",creatObject:function(e){var t;switch(e){case"body":t=document.body;break;case"window":t=window;break;default:t=e}return this.object=t,this.classes=this.object.classList,this},css:function(e){if("object"===a()(e))for(var t in e)this.object.style[t]=e[t];return this},addClass:function(e){return this.object.classList.add(e),this},removeClass:function(e){return this.object.classList.remove(e),this},hasClass:function(e){return this.object.classList.contains(e)},text:function(e){var t=document.createTextNode(e);return this.object.appendChild(t),this},removeAttr:function(e){return this.object.removeAttribute(e),this},setAttr:function(e,t){if("object"===a()(e))for(var n in e)this.object.setAttribute(n,e[n]);else"string"==typeof e&&this.object.setAttribute(e,t);return this},getSize:function(e,t,n){return Math.max(e.documentElement["client"+name],e.body["scroll"+name],e.documentElement["scroll"+name],e.body["offset"+name],e.documentElement["offset"+name])},getPosition:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.object,n=0,o=0;t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)n+=t.offsetLeft-t.scrollLeft,o+=t.offsetTop-t.scrollTop,t=t.offsetParent;return{top:o,left:n}},setCookie:function(e,t){var n=t||7,o=this.cookieDate(n);document.cookie="".concat(e,"=c; expires=").concat(o,"; path=/")},cookieDate:function(e){var t=new Date,n=new Date;n.setDate(t.getDate()+e);var o=function(e){return e<10?"0"+e:e};return["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][n.getUTCDay()]+", "+o(n.getUTCDate())+"-"+["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][n.getUTCMonth()]+"-"+n.getUTCFullYear()+" "+o(n.getUTCHours())+":"+o(n.getUTCMinutes())+":"+o(n.getUTCSeconds())+" GMT"},getCookie:function(e){var t="".concat(e,"="),n=document.cookie.split(";"),o="";return n.length&&Array.prototype.forEach.call(n,(function(e){0===(e=e.trim()).indexOf(t)&&(o=e.replace(t,""))})),o},waitImages:function(e,t){return new Promise((function(n,o){var a=0;!function o(){var r=!0;++a,Array.prototype.forEach.call(e,(function(e){r=r&&e.complete&&0<e.naturalHeight&&0<e.naturalWidth,console.log(e.naturalHeight)})),r||a>60?(t(),n("Success!")):(setTimeout(o,100),t())}()}))},debug:function(e){var t=document.createElement("DIV");t.classList.add("hayya_debug"),this.creatObject(t).css({position:"fixed",top:"32px",left:0,backgroundColor:"#FF0000",color:"#FFFFFF",display:"inline-block",minWidth:"50px",height:"30px",zIndex:99999,opacity:.7,textAlign:"center"}).text(e),document.body.append(t)}};t.default=r},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e.exports=function(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),e}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,n){"use strict";n.r(t);var o=n(3),a=n.n(o),r=n(4),i=n.n(r);n(9),n(10),"undefined"!=typeof window&&window.document||function(){throw new Error("HayyaBuild requires a window with a document")}(),function(){n(1).default;var e=n(11).default,t=n(12).default,o=n(13).default,r=n(14).default,c=n(15).default,l=n(16).default,s=n(17).default,u=n(18).default,d=n(19).default,f=n(20).default,p=n(21).default,y=n(22).default,h=n(23).default,v=n(24).default;new(function(){function n(){a()(this,n),this.version=" 4.0",this.description="HayyaBuild allows you to build unlimited headers,",this._initializer()}return i()(n,[{key:"stickybox",value:function(){return r()}},{key:"stickybox",value:function(){return r()}},{key:"accordion",value:function(){return f()}},{key:"tabs",value:function(){return p()}},{key:"duplesidebox",value:function(){return u()}},{key:"doublesidedbox",value:function(){return d()}},{key:"openstreetmap",value:function(){return e()}},{key:"modalbox",value:function(){return y()}},{key:"pricingTable",value:function(){return v()}},{key:"goTop",value:function(){return l()}},{key:"menu",value:function(){return o()}},{key:"smothScrollTo",value:function(){return s()}},{key:"hayyabuildEvents",value:function(e){return c(e)}},{key:"alertBlock",value:function(){return t()}},{key:"gallerybox",value:function(){return h()}},{key:"_initializer",value:function(){document.querySelector(".wp-block-hayyabuild-openstreetmap")&&this.openstreetmap(),document.querySelector(".wp-block-hayyabuild-accordion")&&this.accordion(),document.querySelector(".wp-block-hayyabuild-tabs")&&this.tabs(),document.querySelector(".wp-block-hayyabuild-duplesidebox")&&this.duplesidebox(),document.querySelector(".wp-block-hayyabuild-doublesidedbox")&&this.doublesidedbox(),document.querySelector(".wp-block-hayyabuild-goup")&&this.goTop(),document.querySelector(".wp-block-hayyabuild-stickybox")&&this.stickybox(),document.querySelector(".wp-block-hayyabuild-godown > a, .wp-block-hayyabuild-goup > a")&&this.smothScrollTo(),document.querySelector(".wp-block-hayyabuild-modalbox")&&this.modalbox(),document.querySelector(".wp-block-hayyabuild-pricingtable")&&this.pricingTable(),document.querySelector(".hayyabuild-gallerybox")&&this.__onload(this.gallerybox),document.querySelector(".wp-block-hayyabuild-menu")&&this.menu(),document.querySelector(".hb-scrolleffects")&&this.hayyabuildEvents(SuperEvents),document.querySelector(".hayya-scrolleffects")&&this.hayyabuildEvents(SuperEvents),document.querySelector(".wp-block-hayyabuild-alert__close")&&this.alertBlock(),Waves.init();var e={backgroundColor:"#EBDCDC"},t={backgroundColor:"#001CFF"},n=document.querySelector(".change-header-background > a");if(n){var o=document.querySelector("#hayyabuild-header");n&&o&&new SuperEvents({source:n,target:o}).mousemove().fromTo(e,t).easing({timing:"linear",duration:.5,delay:0,cubicBezier:!1})}var a=document.querySelector(".change-container-background");if(a){var r=document.querySelector(".container-background-to-change");a&&r&&new SuperEvents({source:a,target:r}).mousemove().fromTo(e,t).easing({timing:"linear",duration:.3,delay:0,cubicBezier:!1})}}},{key:"__onload",value:function(e){document.addEventListener("DOMContentLoaded",e)}}]),n}())}()},function(e,t,n){"use strict";n.r(t),function(e,t){var o=n(0),a=n.n(o);!function(e,o){"function"==typeof define&&n(7)?define([],(function(){return e.Waves=o.call(e),e.Waves})):"object"===("undefined"==typeof exports?"undefined":a()(exports))?t.exports=o.call(e):e.Waves=o.call(e)}("object"===(void 0===e?"undefined":a()(e))?e:void 0,(function(){var e=e||{},t=document.querySelectorAll.bind(document),n=Object.prototype.toString,o="ontouchstart"in window;function r(e){var t=a()(e);return"function"===t||"object"===t&&!!e}function i(e){var o,a=n.call(e);return"[object String]"===a?t(e):r(e)&&/^\[object (Array|HTMLCollection|NodeList|Object)\]$/.test(a)&&e.hasOwnProperty("length")?e:r(o=e)&&o.nodeType>0?[e]:[]}function c(e){var t,n,o={top:0,left:0},r=e&&e.ownerDocument;return t=r.documentElement,"undefined"!==a()(e.getBoundingClientRect)&&(o=e.getBoundingClientRect()),n=function(e){return null!==(t=e)&&t===t.window?e:9===e.nodeType&&e.defaultView;var t}(r),{top:o.top+n.pageYOffset-t.clientTop,left:o.left+n.pageXOffset-t.clientLeft}}function l(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+":"+e[n]+";");return t}var s={duration:750,delay:200,show:function(e,t,n){if(2===e.button)return!1;t=t||this;var o=document.createElement("div");o.className="waves-ripple waves-rippling",t.appendChild(o);var a=c(t),r=0,i=0;"touches"in e&&e.touches.length?(r=e.touches[0].pageY-a.top,i=e.touches[0].pageX-a.left):(r=e.pageY-a.top,i=e.pageX-a.left),i=i>=0?i:0,r=r>=0?r:0;var u="scale("+t.clientWidth/100*3+")",d="translate(0,0)";n&&(d="translate("+n.x+"px, "+n.y+"px)"),o.setAttribute("data-hold",Date.now()),o.setAttribute("data-x",i),o.setAttribute("data-y",r),o.setAttribute("data-scale",u),o.setAttribute("data-translate",d);var f={top:r+"px",left:i+"px"};o.classList.add("waves-notransition"),o.setAttribute("style",l(f)),o.classList.remove("waves-notransition"),f["-webkit-transform"]=u+" "+d,f["-moz-transform"]=u+" "+d,f["-ms-transform"]=u+" "+d,f["-o-transform"]=u+" "+d,f.transform=u+" "+d,f.opacity="1";var p="mousemove"===e.type?2500:s.duration;f["-webkit-transition-duration"]=p+"ms",f["-moz-transition-duration"]=p+"ms",f["-o-transition-duration"]=p+"ms",f["transition-duration"]=p+"ms",o.setAttribute("style",l(f))},hide:function(e,t){for(var n=(t=t||this).getElementsByClassName("waves-rippling"),a=0,r=n.length;a<r;a++)d(e,t,n[a]);o&&(t.removeEventListener("touchend",s.hide),t.removeEventListener("touchcancel",s.hide)),t.removeEventListener("mouseup",s.hide),t.removeEventListener("mouseleave",s.hide)}},u={input:function(e){var t=e.parentNode;if("i"!==t.tagName.toLowerCase()||!t.classList.contains("waves-effect")){var n=document.createElement("i");n.className=e.className+" waves-input-wrapper",e.className="waves-button-input",t.replaceChild(n,e),n.appendChild(e);var o=window.getComputedStyle(e,null),a=o.color,r=o.backgroundColor;n.setAttribute("style","color:"+a+";background:"+r),e.setAttribute("style","background-color:rgba(0,0,0,0);")}},img:function(e){var t=e.parentNode;if("i"!==t.tagName.toLowerCase()||!t.classList.contains("waves-effect")){var n=document.createElement("i");t.replaceChild(n,e),n.appendChild(e)}}};function d(e,t,n){if(n){n.classList.remove("waves-rippling");var o=n.getAttribute("data-x"),a=n.getAttribute("data-y"),r=n.getAttribute("data-scale"),i=n.getAttribute("data-translate"),c=350-(Date.now()-Number(n.getAttribute("data-hold")));c<0&&(c=0),"mousemove"===e.type&&(c=150);var u="mousemove"===e.type?2500:s.duration;setTimeout((function(){var e={top:a+"px",left:o+"px",opacity:"0","-webkit-transition-duration":u+"ms","-moz-transition-duration":u+"ms","-o-transition-duration":u+"ms","transition-duration":u+"ms","-webkit-transform":r+" "+i,"-moz-transform":r+" "+i,"-ms-transform":r+" "+i,"-o-transform":r+" "+i,transform:r+" "+i};n.setAttribute("style",l(e)),setTimeout((function(){try{t.removeChild(n)}catch(e){return!1}}),u)}),c)}}var f={touches:0,allowEvent:function(e){var t=!0;return/^(mousedown|mousemove)$/.test(e.type)&&f.touches&&(t=!1),t},registerEvent:function(e){var t=e.type;"touchstart"===t?f.touches+=1:/^(touchend|touchcancel)$/.test(t)&&setTimeout((function(){f.touches&&(f.touches-=1)}),500)}};function p(e){var t=function(e){if(!1===f.allowEvent(e))return null;for(var t=null,n=e.target||e.srcElement;n.parentElement;){if(!(n instanceof SVGElement)&&n.classList.contains("waves-effect")){t=n;break}n=n.parentElement}return t}(e);if(null!==t){if(t.disabled||t.getAttribute("disabled")||t.classList.contains("disabled"))return;if(f.registerEvent(e),"touchstart"===e.type&&s.delay){var n=!1,a=setTimeout((function(){a=null,s.show(e,t)}),s.delay),r=function(o){a&&(clearTimeout(a),a=null,s.show(e,t)),n||(n=!0,s.hide(o,t)),c()},i=function(e){a&&(clearTimeout(a),a=null),r(e),c()};t.addEventListener("touchmove",i,!1),t.addEventListener("touchend",r,!1),t.addEventListener("touchcancel",r,!1);var c=function(){t.removeEventListener("touchmove",i),t.removeEventListener("touchend",r),t.removeEventListener("touchcancel",r)}}else s.show(e,t),o&&(t.addEventListener("touchend",s.hide,!1),t.addEventListener("touchcancel",s.hide,!1)),t.addEventListener("mouseup",s.hide,!1),t.addEventListener("mouseleave",s.hide,!1)}}return e.init=function(e){var t=document.body;"duration"in(e=e||{})&&(s.duration=e.duration),"delay"in e&&(s.delay=e.delay),o&&(t.addEventListener("touchstart",p,!1),t.addEventListener("touchcancel",f.registerEvent,!1),t.addEventListener("touchend",f.registerEvent,!1)),t.addEventListener("mousedown",p,!1)},e.attach=function(e,t){var o,a;e=i(e),"[object Array]"===n.call(t)&&(t=t.join(" ")),t=t?" "+t:"";for(var r=0,c=e.length;r<c;r++)a=(o=e[r]).tagName.toLowerCase(),-1!==["input","img"].indexOf(a)&&(u[a](o),o=o.parentElement),-1===o.className.indexOf("waves-effect")&&(o.className+=" waves-effect"+t)},e.ripple=function(e,t){var n=(e=i(e)).length;if((t=t||{}).wait=t.wait||0,t.position=t.position||null,n)for(var o,a,r,l={},u=0,d={type:"mousedown",button:1},f=function(e,t){return function(){s.hide(e,t)}};u<n;u++)if(o=e[u],a=t.position||{x:o.clientWidth/2,y:o.clientHeight/2},r=c(o),l.x=r.left+a.x,l.y=r.top+a.y,d.pageX=l.x,d.pageY=l.y,s.show(d,o),t.wait>=0&&null!==t.wait){setTimeout(f({type:"mouseup",button:1},o),t.wait)}},e.calm=function(e){for(var t={type:"mouseup",button:1},n=0,o=(e=i(e)).length;n<o;n++)s.hide(t,e[n])},e.displayEffect=function(t){console.error("Waves.displayEffect() has been deprecated and will be removed in future version. Please use Waves.init() to initialize Waves effect"),e.init(t)},e}))}.call(this,n(5),n(6)(e))},function(e,t,n){"use strict";n.r(t),function(e,t){var o=n(3),a=n.n(o),r=n(4),i=n.n(r),c=n(2),l=n.n(c),s=n(0),u=n.n(s);!function(e,o){"function"==typeof define&&n(7)?define([],(function(){return e.SuperEvents=o.call(e),e.SuperEvents})):"object"===("undefined"==typeof exports?"undefined":u()(exports))?t.exports=o.call(e):e.SuperEvents=o.call(e)}("object"===(void 0===e?"undefined":u()(e))?e:void 0,(function(){return function(){function e(t){if(a()(this,e),l()(this,"version","0.2.0"),l()(this,"name","SuperEvents"),l()(this,"description","SuperEvents is a JavaScript library that handling any events in websites. Support all events action like:- Scrolling, Clicking, Hovering, Mouse Moving, Tapping."),l()(this,"license","MIT"),l()(this,"params",{}),"object"!==u()(t)||t.length<1)throw new TypeError("You must use correct HTML elements.");this.initialize(t)}return i()(e,[{key:"initialize",value:function(e){try{this.eventSource=void 0!==e.source?e.source:window,this.eventTarget=e instanceof Element||e instanceof HTMLDocument||e[0]instanceof Element?e:e.target,this.actions()}catch(e){console.log("ERROR01:",e)}}},{key:"runEvent",value:function(e){this._sourceEvent(e)}},{key:"helper",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.helper.object=t,this.helper.easing=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.duration,o=e.cubic,a=e.delay;if(t instanceof Element)t.style.transition="all ".concat(n,"s cubic-bezier(").concat(o,")");else if(t[0]instanceof Element){var r=0;Array.prototype.forEach.call(t,(function(e){var t=" ".concat(r.toFixed(1),"s");0!==a&&(r+=a),e.style.transition="all ".concat(n,"s").concat(t," cubic-bezier(").concat(o,")")}))}},this.helper.css=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.helper.object,a=function(e){if(e){if(t&&"object"===u()(t))for(var o in t)e.style[o]=t[o];if(n&&"object"===u()(n))for(var a in n)e.style[a]=n[a]}};return o[0]instanceof Element?Array.prototype.forEach.call(o,(function(e){a(e)})):o instanceof Element&&a(o),e.helper},this.helper.addClass=function(t){if("string"!=typeof t)return e.helper;var n=e.helper.object;return"function"==typeof n.forEach?Array.prototype.forEach.call(n,(function(e){e.classList&&e.classList.add(t)})):n.classList&&n.classList.add(t),e.helper},this.helper.removeClass=function(t){if("string"!=typeof t)return e.helper;var n=e.helper.object;return"function"==typeof n.forEach?Array.prototype.forEach.call(n,(function(e){e.classList&&e.classList.remove(t)})):n.classList&&n.classList.remove(t),e.helper},this.helper.text=function(t){var n=document.createTextNode(t);return e.helper.object.appendChild(n),e.helper},this.helper.colorCalculater=function(t,n,o){if(t=t.trim(),n=n.trim(),o/=100,0===t.indexOf("#")&&0===n.indexOf("#")||0===t.indexOf("rgb")&&0===n.indexOf("rgb")){0===t.indexOf("#")&&(t=e.helper.hexToRgb(t)),0===n.indexOf("#")&&(n=e.helper.hexToRgb(n));return function(e,t){if(e&&t&&0!==e.indexOf("rgb")||0!==t.indexOf("rgb"))return e;var n=0===e.indexOf("rgba")?5:4,a=0===t.indexOf("rgba")?5:4,r=[];if(e=e.substr(n).split(")")[0].split(","),t=t.substr(a).split(")")[0].split(","),e.length===t.length){var i=0;e.forEach((function(n){r[i]=3!==i?(e[i]-o*e[i]+o*t[i]).toFixed(0):(e[i]-o*e[i]+o*t[i]).toFixed(2),i++}))}var c=4===e.length?"rgba":"rgb";return"".concat(c,"(").concat(r.join(","),")")}(t,n)}},this.helper.hexToRgb=function(e){var t=0,n=0,o=0;return 4==e.length?(t="0x"+e[1]+e[1],n="0x"+e[2]+e[2],o="0x"+e[3]+e[3]):7==e.length&&(t="0x"+e[1]+e[2],n="0x"+e[3]+e[4],o="0x"+e[5]+e[6]),"rgb(".concat(t,", ").concat(n,", ").concat(o,")")},this.helper.rgbToHex=function(e){var t=e.indexOf(",")>-1?",":" ",n=(+(e=e.substr(4).split(")")[0].split(t))[0]).toString(16),o=(+e[1]).toString(16),a=(+e[2]).toString(16);return 1==n.length&&(n="0"+n),1==o.length&&(o="0"+o),1==a.length&&(a="0"+a),"#"+n+o+a},this.helper}},{key:"actions",value:function(){var e=this;return this.actions.call=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.runEvent((function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;"function"==typeof t&&t(n,e.eventSource,e.eventTarget)})),!0===n)return e},this.actions.fromTo=function(t,n){var o,a,r="",i="",c={},l="",s=["translateY","translateX","scale","rotateY","rotateX"],d=["opacity","backgroundPosition","backgroundSize","backgroundColor","color","borderColor"].concat(s,["rotateY","rotateX"],["translateX","translateY"]),f=function(e,t,n){return e-n/100*e+n/100*t};if(Object.keys(t).length)for(var p=function(p){c[p]={},Array.prototype.forEach.call(Object.keys(t),(function(y){var h=t[y];void 0!==u()(n[y])&&d.indexOf(y)>-1&&t.hasOwnProperty(y)&&n.hasOwnProperty(y)&&(o=n[y],r=(r="function"==typeof h.match?h.match(/\D+$/):"")&&r.length?r[0]:"",a=p<50?h:o,isNaN(h)&&isNaN(o)||(i=f(h,o,p),a=i.toFixed(2)),"borderColor"===y||"color"===y||"backgroundColor"===y?a=e.helper().colorCalculater(h,o,p):(h=parseFloat(h),o=parseFloat(o),i=f(h,o,p),"backgroundPosition"===y?a="50% ".concat(i.toFixed(2)).concat(r):s.indexOf(y)>-1&&(l+=" ".concat(y,"( ").concat(i.toFixed(2)).concat(r," )"))),void 0!==a&&s.indexOf(y)<0&&(c[p][y]=a))})),""!==l&&(c[p].transform=l,l="")},y=0;y<=100;y++)p(y);return e.runEvent((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;t=(100*t).toFixed(0),c[t]&&e.helper(e.eventTarget).css(c[t])})),e},this}},{key:"easing",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.timing||"linear",o=t.duration||0,a=t.delay||0,r=!!t.cubicBezier||!1;if(o=o>10||o<0?.5:o,e=n,!1===r)switch(n){case"ease":e=".25, .1, .25, 1";break;case"linear":e=".25, .25, .75, .75";break;case"ease-in":e=".42, 0, 1, 1";break;case"ease-out":e="0, 0, .58, 1";break;case"ease-in-out":e=".42, 0, .58, 1";break;case"easeInQuad":e=".55, .085, .68, .53";break;case"easeInCubic":e=".55, .055, .675, .19";break;case"easeInQuart":e=".895, .03, .685, .22";break;case"easeInQuint":e=".755, .05, .855, .06";break;case"easeInSine":e=".47, 0, .745, .715";break;case"easeInExpo":e=".95, .05, .795, .035";break;case"easeInCirc":e=".6, .04, .98, .335";break;case"easeInBack":e=".6, -.280, .735, .045";break;case"easeOutQuad":e=".25, .46, .45, .94";break;case"easeOutCubic":e=".215, .61, .355, 1";break;case"easeOutQuart":e=".165, .84, .44, 1";break;case"easeOutQuint":e=".23, 1, .32, 1";break;case"easeOutSine":e=".39, .575, .565, 1";break;case"easeOutExpo":e=".19, 1, .22, 1";break;case"easeOutCirc":e=".075, .82, .165, 1";break;case"easeOutBack":e=".175, .885, .32, 1.275";break;case"easeInOutQuad":e=".455, .03, .515, .955";break;case"easeInOutCubic":e=".645, .045, .355, 1";break;case"easeInOutQuart":e=".770, 0, .175, 1";break;case"easeInOutQuint":e=".86, 0, .07, 1";break;case"easeInOutSine":e=".445, .05, 0.55, 0.95";break;case"easeInOutExpo":e="1, 0, 0, 1";break;case"easeInOutCirc":e=".785, .135, .15, .86";break;case"easeInOutBack":e=".68, -.55, .265, 1.55";break;default:e=".25, .25, .75, .75"}return e&&this.helper(this.eventTarget).easing({duration:o,cubic:e,delay:a}),this}},{key:"scroll",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!1;this._sourceEvent=function(e){document.addEventListener(t.listener&&"load"!==t.listener?t.listener:"DOMContentLoaded",(function(){return o(e)})),window.addEventListener("load",i),window.addEventListener("resize",i)};var o=function(e){i(),r(e)},a=function(t){var n=e.params._sourceScrolling,o=n.indicator,a=n.runnigArea,r=n.start,i=(("number"==typeof e.eventSource.scrollY?e.eventSource.scrollY:e.eventSource.scrollTop)+o-r)/a;i>1?i=1:i<0&&(i=0),t(i.toFixed(5))},r=function(t){a(t);!n&&e.eventSource.addEventListener("scroll",(function(){var o=e.params._sourceScrolling,r=o.indicator,i=o.start,c=o.end,l=("number"==typeof e.eventSource.scrollY?e.eventSource.scrollY:e.eventSource.scrollTop)+r;l<i?t(0):l>c?t(1):a(t),n=!0}),!0)},i=function(){var n,o="number"==typeof e.eventSource.innerHeight?e.eventSource.innerHeight:e.eventSource.offsetHeight,a=e.eventTarget instanceof Element?e.eventTarget:e.eventTarget[0],r=(a.getBoundingClientRect(),c(null!==(n=t.indicator)&&void 0!==n?n:90)),i=c(isNaN(parseInt(t.duration))?0:t.duration),s=a.offsetTop,u=s+a.offsetHeight,d=isNaN(parseInt(t.duration))?u+o:s+i;e.params._sourceScrolling={indicator:r,runnigArea:d-s,start:s,end:d},!0===t.debug&&l()},c=function(t){var n="number"==typeof e.eventSource.innerHeight?e.eventSource.innerHeight:e.eventSource.offsetHeight;return t=(t=Math.abs(parseInt(t)))<=100?t:0,Math.round(t/100*n)},l=function(){var e=document.querySelectorAll(".suprescrolling-debug");e&&Array.prototype.forEach.call(e,(function(e){e.parentNode.removeChild(e)})),s(),u()},s=function(){var t=e.params._sourceScrolling,n=t.indicator,o=(t.duration,document.createElement("HR")),a=document.body;e.helper(o).addClass("suprescrolling-debug").css({textAlign:"left",position:"absolute",color:"#FF0000",border:"0",borderBottom:"1px solid #FF0000",zIndex:"99999",width:"95%",opacity:"0.9",left:"0",height:"20px",padding:"0 10px",fontSize:"14px"},{top:n-20+"px"}).text("Indicator"),void 0!==e.eventSource.parentNode?(a=e.eventSource.parentNode,e.helper(a).css({position:"relative"})):e.helper(o).css({position:"fixed"}),a.appendChild(o)},u=function(){var t={textAlign:"left",position:"absolute",width:"50px",border:"none",borderTop:"1px solid #FF0000",zIndex:"99999",opacity:"0.7",margin:"0",padding:"0",color:"#FF0000",left:"50px",top:"0",fontSize:"0.8rem"},n=document.body,o=document.createElement("HR"),a=document.createElement("HR"),r=e.params._sourceScrolling.start,i=e.params._sourceScrolling.end;e.helper(o).addClass("suprescrolling-debug").css(t,{top:"".concat(r,"px")}).text("Start"),e.helper(a).addClass("suprescrolling-debug").css(t,{top:"".concat(i,"px")}).text("End"),(n=e.eventTarget instanceof Element?e.eventTarget.parentNode:e.eventTarget[0].parentNode).appendChild(o),n.appendChild(a)};return this.actions}},{key:"click",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._sourceEvent=function(n){var o=void 0===t.toggle||t.toggle;e._click_progress=1,n(0);e.eventSource.addEventListener("click",(function(){n(e._click_progress),o&&(e._click_progress=+!e._click_progress)}))},this.actions}},{key:"hover",value:function(){var e=this;arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._sourceEvent=function(t){t(0),e.eventSource.addEventListener("mouseover",(function(){return t(1)})),e.eventSource.addEventListener("mouseleave",(function(){return t(0)}))},this.actions}},{key:"mousemove",value:function(){var e=this,t=(arguments.length>0&&void 0!==arguments[0]&&arguments[0],function(t,n){var o=window.innerWidth/2,a=window.innerHeight/2,r=t.clientX,i=t.clientY;if(e.eventSource&&"function"==typeof e.eventSource.getBoundingClientRect){var c=e.eventSource.getBoundingClientRect();o=c.width/2,a=c.height/2,r=t.clientX-c.left,i=t.clientY-c.top}var l=(o-r)/o,s=(a-i)/a;n((l=l<0?1+l:1-l)<(s=s<0?1+s:1-s)?l:s)});return this._sourceEvent=function(n){e.eventSource.addEventListener("mousemove",(function(e){return t(e,n)})),e.eventSource.addEventListener("mouseleave",(function(){return n(0)})),n(0)},this.actions}}]),e}()}))}.call(this,n(5),n(6)(e))},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o);t.default=function(){document.addEventListener("DOMContentLoaded",(function(){var e=function(e){var t=e.icon,n=e.color,o="";return"icon2"===t&&(o='<svg viewBox="0 0 180 320" xmlns="http://www.w3.org/2000/svg"><path fill="'.concat(n,'" d="m 90.434743,0.40000002 c -49.459514,0 -89.54074301,39.33933598 -89.54074301,87.84770598 0,48.521054 89.54074301,207.641184 89.54074301,207.641184 0,0 89.547087,-159.12013 89.547087,-207.641184 0,-48.50837 -40.1066,-87.84770598 -89.547087,-87.84770598 z" /></svg>')),"icon3"===t&&(o='<svg viewBox="0 0 180 320" xmlns="http://www.w3.org/2000/svg"><path fill="'.concat(n,'" d="M 89.939396,256.0246 C 30.211223,178.0849 0.35353635,122.63125 0.35353635,89.65086 a 89.585863,89.585863 0 1 1 179.17172365,0 c 0,32.98039 -29.85769,88.43404 -89.585864,166.37374 z m 0,-115.18182 a 51.191921,51.191921 0 1 0 0,-102.38384 51.191922,51.191922 0 0 0 0,102.38384 z" /></svg>')),"icon4"===t&&(o='<svg viewBox="0 0 180 320" xmlns="http://www.w3.org/2000/svg"><path fill="'.concat(n,'" d="m 69.543779,196.79648 v 97.29299 l 13.672804,20.503 c 2.949402,4.42099 9.450504,4.42099 12.399905,0 l 13.666602,-20.503 v -97.29299 c -6.45144,1.19218 -13.076722,1.90003 -19.869659,1.90003 -6.792937,0 -13.418224,-0.70785 -19.869652,-1.90003 z M 89.413431,0 C 40.031139,0 0,40.031139 0,89.413431 c 0,49.382299 40.031139,89.413429 89.413431,89.413429 49.382299,0 89.413429,-40.03113 89.413429,-89.413429 C 178.82686,40.031139 138.79573,0 89.413431,0 Z m 0,47.190421 c -23.284747,0 -42.22301,18.938263 -42.22301,42.22301 0,4.110534 -3.340584,7.45112 -7.451118,7.45112 -4.110534,0 -7.451119,-3.340586 -7.451119,-7.45112 0,-31.499606 25.63185,-57.125247 57.125247,-57.125247 4.110534,0 7.45112,3.340585 7.45112,7.451119 0,4.110534 -3.340586,7.451118 -7.45112,7.451118 z" /></svg>')),"icon5"===t&&(o='<svg viewBox="0 0 180 320" xmlns="http://www.w3.org/2000/svg"><path fill="'.concat(n,'" d="M 89.898438 -0.28320312 A 89.818184 89.818184 0 0 0 0.080078125 89.535156 A 89.818184 89.818184 0 0 0 75.662109 178.10742 L 75.662109 247.34375 L 89.859375 291.34375 L 104.12109 247.34375 L 104.12109 178.17383 A 89.818184 89.818184 0 0 0 179.7168 89.535156 A 89.818184 89.818184 0 0 0 89.898438 -0.28320312 z "/></svg>')),"icon6"===t&&(o='<svg viewBox="0 0 180 320" xmlns="http://www.w3.org/2000/svg"><path fill="'.concat(n,'" d="m 127.40549,219.26791 -4.68502,16.94692 c 22.77463,6.29357 37.49771,18.39726 37.49771,30.84376 0,16.63048 -28.87482,35.15959 -70.31919,35.15959 -41.444374,0 -70.319192,-18.52911 -70.319192,-35.15959 0,-12.4465 14.723081,-24.55019 37.506499,-30.85255 L 52.401281,219.25911 C 21.311408,227.85564 2,246.165 2,267.05859 c 0,29.56922 38.614026,52.73939 87.89899,52.73939 49.28496,0 87.89899,-23.17017 87.89899,-52.73939 0,-20.89359 -19.31141,-39.20295 -50.39249,-47.79068 z" /><path fill="').concat(n,'" d="M 89.898438 -0.28320312 A 89.818184 89.818184 0 0 0 0.080078125 89.535156 A 89.818184 89.818184 0 0 0 75.662109 178.10742 L 75.662109 247.34375 L 89.859375 291.34375 L 104.12109 247.34375 L 104.12109 178.17383 A 89.818184 89.818184 0 0 0 179.7168 89.535156 A 89.818184 89.818184 0 0 0 89.898438 -0.28320312 z "/></svg>')),o||(o='<svg viewBox="0 0 180 320" xmlns="http://www.w3.org/2000/svg"><filter height="1.6" y="-0.3" width="1.15" x="-0.06" id="hayyabuild-map-svg-filter"><feGaussianBlur stdDeviation="0.5" /></filter><ellipse ry="1" rx="5" cy="21.299999" cx="6" style="opacity:0.3;filter:url(#hayyabuild-map-svg-filter)" transform="matrix(14.462133,0,0,14.462133,1.6729169,-12)" /><path fill="'.concat(n,'" d="M 90.302891,0 C 41.368767,2.8924265e-4 1.6996776,39.702748 1.6987564,88.678903 1.7036256,118.78458 16.968939,146.83186 42.238456,163.16323 l -14.628295,6.84565 c 0,0 18.69287,2.47678 37.464021,47.26123 23.408336,55.8477 25.228709,60.32613 25.228709,60.32613 0,0 2.600342,-3.95462 23.829119,-59.90311 17.55521,-46.26682 38.85966,-47.68425 38.85966,-47.68425 l -14.68065,-6.89916 C 163.58615,146.80193 178.87176,118.77663 178.9071,88.678903 178.90617,39.702748 139.23704,1.4462133e-4 90.302891,0 Z" /></svg>')),o},t={style1:"https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png",style2:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",style3:"https://{s}.tile.stamen.com/toner/{z}/{x}/{y}.png",style4:"https://{s}.tile.stamen.com/watercolor/{z}/{x}/{y}.jpg",style5:"https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png",style6:"https://{s}.tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png"},n=document.querySelectorAll(".wp-block-hayyabuild-openstreetmap");n&&Array.prototype.forEach.call(n,(function(n,o){var r=n.dataset.lat||0,i=n.dataset.lng||0,c=n.dataset.zoom||19,l=n.dataset.height||"300",s=n.dataset.style||"style1",u=n.dataset.customstyle||"",d="customstyle"===s?u:t[s],f=n.querySelector(".hayyabuild-map-attribution"),p=f?f.innerHTML:"",y=n.querySelector(".hayyabuild-map");if(y){y.style.minHeight="".concat(l,"px");var h=n.querySelector(".hayyabuild-map-content");h&&(y.style.height=h.getBoundingClientRect().height+100+"px");var v=new L.map(y,{scrollWheelZoom:!1});v._layersMaxZoom=20;var b,m,g=n.querySelectorAll(".hayyabuild-map-marker"),w=L.markerClusterGroup({showCoverageOnHover:!1});g&&g.forEach((function(t,n){var o=t.dataset.lat||0,a=t.dataset.lng||0,r=t.dataset.icon||"",i=t.dataset.markercolor||"#00A4FF",c=t.dataset.markersize||"3",l=t.dataset.openpopup||!1,s=t.dataset.type||"icon1",u=t.innerHTML||"",d=L.divIcon({className:"hayyabuild-map__marker hayyabuild-map__marker_".concat(n+1," hayyabuild-map__marker--size-").concat(c," ").concat(r),iconSize:[15*c,24*c],iconAnchor:[7*c,24*c],popupAnchor:[0,-24*c],html:e({icon:s,color:i})});if(b=new L.marker(new L.LatLng(o,a),{icon:d,title:"m.properties.title"}),u){var f=b.bindPopup(u);l&&(m=f)}w.addLayer(b)})),v.addLayer(w),v.on("layeradd",(function(e){g&&g.forEach((function(t,n){var o=t.dataset.markercolor||"#00A4FF",r=e.target._container.querySelector(".hayyabuild-map__marker_".concat(n+1));r&&"object"===a()(r.style)&&(r.style.color=o)}))})),v.setView([r,i],c),L.tileLayer(d,{attribution:p,minZoom:1,maxZoom:20}).addTo(v),"object"===a()(m)&&m.openPopup()}}))}))}},function(e,t,n){"use strict";n.r(t);var o=n(1);t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-alert__close");e&&Array.prototype.forEach.call(e,(function(e){var t,n=e.parentElement,a=n.id,r=n.classList&&n.classList.contains("wp-block-hayyabuild-alert--remembrt-dismissible");"c"===function(e){var t="".concat(e,"="),n=document.cookie.split(";"),o="";return n.length&&Array.prototype.forEach.call(n,(function(e){0===(e=e.trim()).indexOf(t)&&(o=e.replace(t,""))})),o}(a)&&r?(t=n,o.default.creatObject(t)).css({opacity:"0",display:"none"}):(r&&n.classList.remove("wp-block-hayyabuild-alert--remembrt-dismissible"),e.addEventListener("click",(function(e){e.preventDefault(),n.style.opacity="0",setTimeout((function(){n.style.display="none"}),500),r&&function(e){var t=new Date;t.setTime(t.getTime()+6048e5);var n=t.toUTCString();document.cookie="".concat(e,"=c;expires=").concat(n)}(a)})))}))}},function(e,t,n){"use strict";n.r(t);var o=n(1),a=function(e){return o.default.creatObject(e)};t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-menu");e&&window.innerWidth<782&&Array.prototype.forEach.call(e,(function(e){var t=e.querySelector(".wp-block-hayyabuild-menu > ul");if(t){var n=t.querySelectorAll(".page_item_has_children,.menu-item-has-children"),o=document.body.classList.contains("rtl")?"left":"right",r=document.createElement("LI"),i=document.createElement("DIV"),c=document.createElement("DIV"),l=e.getAttribute("id"),s=e.querySelector(".hb-toggle-menu");a(c).addClass("hayyabuild-menu-container").setAttr("data-menu-id",l),s&&a(s).setAttr("data-menu-id",l);for(var u=0;u<n.length;u++){var d=n[u],f=document.createElement("I");a(f).addClass("fa").addClass("fa-angle-"+o),d.append(f)}a(r).addClass("hb-menu-close"),r.append(i),t.append(r),c.append(t);var p=t.querySelectorAll(".page_item_has_children .fa, .menu-item-has-children .fa");p&&Array.prototype.forEach.call(p,(function(e){e.addEventListener("click",(function(){a(e.parentNode).hasClass("open-menu")?(a(e.parentNode).removeClass("open-menu"),a(e).addClass("fa-angle-"+o).removeClass("fa-angle-down")):(a(e.parentNode).addClass("open-menu"),a(e).removeClass("fa-angle-"+o).addClass("fa-angle-down"))}))})),document.body.append(c)}}));var t=document.body.querySelectorAll(".hayyabuild-menu-container");t&&function(){for(var e=function(e){var n=t[e];n.addEventListener("click",(function(e){e.target.classList.contains("show-mobile-menu")&&a(n).removeClass("show-mobile-menu")}))},n=0;n<t.length;n++)e(n)}();var n=document.body.querySelectorAll(".hb-menu-close");n&&n.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=document.body.querySelectorAll(".show-mobile-menu");t&&t.forEach((function(e){e.classList.contains("show-mobile-menu")&&a(e).removeClass("show-mobile-menu")}))}))})),window.addEventListener("load",(function(){var e=document.body.querySelectorAll(".hb-toggle-menu");e&&e.forEach((function(e){var t,n;e.getAttribute("data-menu-id")&&(t=e.getAttribute("data-menu-id"),(n=document.body.querySelector('.hayyabuild-menu-container[data-menu-id="'+t+'"]'))&&e.addEventListener("click",(function(e){e.preventDefault(),a(n).addClass("show-mobile-menu")})))}))}))}},function(e,t,n){"use strict";n.r(t);var o=n(1),a=function(e){return o.default.creatObject(e)};t.default=function(){var e=o.default.header.offsetHeight,t=0,n=0,r=99998,i=function(e,t){var n=t.id,o=t.hidePosition,i=t.scrollPostion,l=t.showPosition,s=t.afterHeaderEnd,u=t.onlyShowFixed,d=t.addContainer,f=(t.showOnScrollUp,{display:"none",top:o+"px",zIndex:r});if(window.pageYOffset>i&&(f.top=l+"px",f.display="block"),s?delete f.display:delete f.top,a(e).css(f).addClass("stickybox-fixed"),u)e.classList.remove("hayyabuild-stickybox--only-fixed");else{e.id=n+"-cloned";var p=e.querySelectorAll("[id]");p&&Array.prototype.forEach.call(p,(function(e){e.id=e.id+"-cloned"}))}if(d){var y=e.querySelector(".stickybox-container");y&&y.classList.add("container")}document.body.append(e),c(e,t)},c=function(e,t){t.id;var n=t.hidePosition,o=t.scrollPostion,r=t.showPosition,i=t.afterHeaderEnd,c=(t.onlyShowFixed,t.addContainer,t.showOnScrollUp),l=(t.elementLastHeight,window.scrollY),s={},u="down",d="out",f="",p="";window.addEventListener("scroll",(function(y){var h=i?t.delay:0;u=window.scrollY>l?"up":"down",d=window.scrollY>o?"in":"out",(u!==f||d!==p)&&(s={display:"none",top:n+"px"},window.scrollY>o&&(!c||"up"!==u)?s={display:"block",top:r+"px"}:h=0,i&&delete s.display,setTimeout((function(){return a(e).css(s)}),h),!1),l=window.scrollY,p=d,f=u}))};window.addEventListener("load",(function(){var o=document.getElementById("wpadminbar"),a=o&&o.offsetHeight&&window.innerWidth>600?o.offsetHeight:0,c=document.querySelectorAll(".wp-block-hayyabuild-stickybox");c&&Array.prototype.forEach.call(c,(function(o){var c=o.classList.contains("hayyabuild-stickybox--after-header-end"),l=o.classList.contains("hayyabuild-stickybox--only-fixed"),s=o.classList.contains("hayyabuild-stickybox--add-container"),u=o.offsetHeight,d=a+t,f=o.classList.contains("hayyabuild-stickybox--show-on-scrollup"),p={id:o.id,afterHeaderEnd:c,onlyShowFixed:l,addContainer:s,showOnScrollUp:f,height:u,showPosition:d,scrollPostion:c?e:o.offsetTop,hidePosition:-1*u+a-20,delay:n,elementLastHeight:t},y=l?o:o.cloneNode(!0);i(y,p),t+=u,n+=300,r+=-10}))}))}},function(e,t,n){"use strict";n.r(t);var o=n(2),a=n.n(o);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.default=function(e){var t=document.querySelectorAll(".hayya-scrolleffects");t||(t=document.querySelectorAll(".hb-scrolleffects")),t&&Array.prototype.forEach.call(t,(function(t,n){var o=t.classList,a=t.parentElement,r="90%",c="70%",l={},s={},u=!1,d="linear",f=!1,p=!1;o.contains("hb-scroll-debug")&&(p=!0),o.contains("hayya-bgparallax")&&(r="100%",c="0%",l={backgroundPosition:"0%"},s={backgroundPosition:"100%"},u=!0,o.contains("hayya-bgfixed")&&(l={backgroundPosition:"100%"},s={backgroundPosition:"-100%"},u=!0)),"hayyabuild-header"===t.id?(r="100%",c="0%",(o.contains("hb-sticky")||o.contains("hb-parallax")||o.contains("hb-scale-in"))&&(a.style.overflow="hidden"),o.contains("hb-sticky")?(l=i({translateY:"0vh"},l),s=i({translateY:"100vh"},s),u=!0):o.contains("hb-parallax")&&(l=i({translateY:"0vh"},l),s=i({translateY:"50vh"},s),u=!0),o.contains("hb-fade-in")?(l=i({opacity:1},l),s=i({opacity:0},s),u=!0):o.contains("hb-fade-out")&&(l=i({opacity:1},l),s=i({opacity:0},s),u=!0),o.contains("hb-scale-in")?(l=i({scale:1},l),s=i({scale:1.5},s),u=!0):o.contains("hb-scale-out")&&(l=i({scale:1},l),s=i({scale:.5},s),u=!0)):"hayyabuild-footer"===t.id?(r="100%",c="0%",(o.contains("hb-sticky")||o.contains("hb-parallax")||o.contains("hb-scale-in"))&&(a.style.overflow="hidden"),o.contains("hb-sticky")?(l=i({translateY:"-100vh"},l),s=i({translateY:"0vh"},s),u=!0):o.contains("hb-parallax")&&(l=i({translateY:"-50vh"},l),s=i({translateY:"0vh"},s),u=!0),o.contains("hb-fade-in")?(l=i({opacity:1},l),s=i({opacity:0},s),u=!0):o.contains("hb-fade-out")&&(l=i({opacity:1},l),s=i({opacity:0},s),u=!0),o.contains("hb-scale-in")?(l=i({scale:1},l),s=i({scale:1.5},s),u=!0):o.contains("hb-scale-out")&&(l=i({scale:1},l),s=i({scale:.5},s),u=!0)):(Array.prototype.forEach.call(o,(function(e){e.indexOf("hb-scroll_duration_")>-1?c="".concat(parseInt(e.replace("hb-scroll_duration_","")),"%"):e.indexOf("hb-scroll_easing_")>-1&&(f=!0,c="0%",d=e.replace("hb-scroll_easing_",""))})),(o.contains("hb-parallax-up")||o.contains("hb-parallax-down"))&&(c="OutOfViewPort",r="100%"),o.contains("hb-scale-out")?(l={scale:1.5},s={scale:1},u=!0):o.contains("hb-scale-in")&&(l={scale:0},s={scale:1},u=!0),o.contains("hb-slide-left")?(l=i({translateX:"150px"},l),s=i({translateX:"0px"},s),u=!0):o.contains("hb-slide-right")&&(l=i({translateX:"-150px"},l),s=i({translateX:"0px"},s),u=!0),o.contains("hb-slide-up")?(l=i({translateY:"150px"},l),s=i({translateY:"0px"},s),u=!0):o.contains("hb-slide-down")&&(l=i({translateY:"0px"},l),s=i({translateY:"-150px"},s),u=!0),o.contains("hb-left-rotation")?(l=i({rotateY:"-90deg"},l),s=i({rotateY:"0deg"},s),u=!0):o.contains("hb-right-rotation")?(l=i({rotateY:"90deg"},l),s=i({rotateY:"0deg"},s),u=!0):o.contains("hb-up-rotation")?(l=i({rotateX:"-90deg"},l),s=i({rotateX:"0deg"},s),u=!0):o.contains("hb-down-rotation")&&(l=i({rotateX:"90deg"},l),s=i({rotateX:"0deg"},s),u=!0),o.contains("hb-fade-in")?(l=i({opacity:0},l),s=i({opacity:1},s),u=!0):o.contains("hb-fade-out")&&(l=i({opacity:1},l),s=i({opacity:0},s),u=!0),o.contains("hb-parallax-up")?(l=i({backgroundPosition:"0%"},l),s=i({backgroundPosition:"100%"},s),u=!0):o.contains("hb-parallax-down")&&(l=i({backgroundPosition:"100%"},l),s=i({backgroundPosition:"0%"},s),u=!0)),u&&new e({source:window,target:t}).scroll({indicator:r,duration:c,listener:"load",debug:p}).fromTo(l,s).easing({timing:d,duration:f?.5:.05,delay:0,cubicBezier:!1})}))}},function(e,t,n){"use strict";n.r(t);var o=n(1);t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-goup");e&&Array.prototype.forEach.call(e,(function(e){var t=e.querySelector("a"),n=window.getComputedStyle(t),a=t.offsetHeight+parseInt(n.marginBottom);t.style.top=-1*a+"px",e.style.display=window.pageYOffset<o.default.header.offsetHeight?"none":"block",window.addEventListener("scroll",(function(){e.style.display=window.pageYOffset>o.default.header.offsetHeight-1?"block":"none"}))}))}},function(e,t,n){"use strict";n.r(t);t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-godown > a, .wp-block-hayyabuild-goup > a");if(e){Math.easeInOutQuad=function(e,t,n,o){return(e/=o/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t};Array.prototype.forEach.call(e,(function(e){e.addEventListener("click",(function(t){t.preventDefault();var n,o,a,r,i,c,l=document.querySelector(e.hash),s=l?l.offsetTop:0;n=s,o=500,a=document.scrollingElement,r=a&&a.scrollTop||window.pageYOffset,i=n-r,c=0,function e(){c+=20;var t=Math.easeInOutQuad(c,r,i,o);window.scrollTo(0,t),c<o&&window.setTimeout(e,20)}()}))}))}}},function(e,t,n){"use strict";n.r(t);t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-duplesidebox");e&&Array.prototype.forEach.call(e,(function(e){var t=e.firstElementChild,n=t.firstElementChild,o=t.lastElementChild;if(t&&n&&o){"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch?e.addEventListener("touchstart",(function(t){e.classList.toggle("hover")})):(e.addEventListener("mouseover",(function(t){var n=e.getBoundingClientRect(),o=n.left.toFixed(0),a=o+e.offsetWidth,r=n.top.toFixed(0),i=r+e.offsetHeight,c="number"==typeof t.pageX?t.pageX:t.clientX,l="number"==typeof t.pageY?t.pageY:t.clientY;c>o&&c<a&&l>r&&l<i?e.classList.add("hover"):e.classList.remove("hover")})),e.addEventListener("mouseleave",(function(t){e.classList.remove("hover")})));var a=t.offsetWidth+1e3;e.style.perspective="".concat(a,"px")}}))}},function(e,t,n){"use strict";n.r(t);t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-doublesidedbox");e&&Array.prototype.forEach.call(e,(function(e){var t=e.firstElementChild,n=t.firstElementChild,o=t.lastElementChild;if(t&&n&&o){"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch?e.addEventListener("touchstart",(function(t){e.classList.toggle("hover")})):(e.addEventListener("mouseover",(function(t){var n=e.getBoundingClientRect(),o=n.left.toFixed(0),a=o+e.offsetWidth,r=n.top.toFixed(0),i=r+e.offsetHeight,c="number"==typeof t.pageX?t.pageX:t.clientX,l="number"==typeof t.pageY?t.pageY:t.clientY;c>o&&c<a&&l>r&&l<i?e.classList.add("hover"):e.classList.remove("hover")})),e.addEventListener("mouseleave",(function(t){e.classList.remove("hover")})));var a=t.offsetWidth+1e3;e.style.perspective="".concat(a,"px")}}))}},function(e,t,n){"use strict";n.r(t);t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-accordion");e&&Array.prototype.forEach.call(e,(function(e){var t=e.children;if(e&&e.classList.contains("wp-block-hayyabuild-accordion")){var n=e.classList.contains("hayyabuild-accordion--vertical");t&&Array.prototype.forEach.call(t,(function(o){var a=o.firstElementChild,r=o.lastElementChild,i=50*t.length;if("NaN"!==i&&(r.style.minWidth="".concat(e.scrollWidth-i,"px")),!o.classList.contains("hayyabuild-accordion__content--alwaysactive")&&a&&a.classList.contains("hayyabuild-accordion__content__header")&&r&&r.classList.contains("hayyabuild-accordion__content__body")){if(!n&&o.classList.contains("active")&&(r.style.maxHeight="".concat(r.scrollHeight,"px")),n){var c=!1;Array.prototype.forEach.call(t,(function(e,n){e.classList.contains("active")&&(c=!0),c||t.length!==n+1||e.classList.add("active")}))}a.addEventListener("click",(function(a){o.classList.contains("active")?(o.classList.remove("active"),n||(r.style.maxHeight=null)):(o.classList.add("active"),n||(r.style.maxHeight="".concat(r.scrollHeight,"px"))),e.classList.contains("hayyabuild-accordion--expandable")&&!n||Array.prototype.forEach.call(t,(function(e){e!==o&&(e.classList.remove("active"),n||(e.lastElementChild.style.maxHeight=null))}))}))}}))}}))}},function(e,t,n){"use strict";n.r(t);n(1);t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-tabs");e&&Array.prototype.forEach.call(e,(function(e){var t=e.firstElementChild,n=e.lastElementChild,o=!1;if(t||t.classList.contains("hayyabuild-tabs__tabs")||n||n.classList.contains("hayyabuild-tabs__content")){var a=t.querySelectorAll("li"),r=n.querySelectorAll(".hayyabuild-tabs__body"),i=0;a&&Array.prototype.forEach.call(a,(function(t,c){var l=t.firstElementChild,s=l.hash,u=n.querySelector(s),d=u.offsetHeight,f=u.clientHeight,p=i;!o&&t&&t.classList.contains("active")&&u&&(u.classList.add("active"),n.style.height="".concat(d,"px"),o=!0),l&&l.addEventListener("click",(function(o){o.preventDefault(),r&&Array.prototype.forEach.call(r,(function(e){e.id!==u.id&&(e.classList.remove("active"),e.style.height="0")})),a&&Array.prototype.forEach.call(a,(function(e){e.classList.remove("active")})),t.classList.add("active"),u&&u.classList.add("active"),n.style.height="".concat(d,"px"),u.style.height="".concat(f,"px"),e.classList.contains("hayyabuild-tabs--swipeup")?r[0].style.marginTop="-".concat(p,"px"):e.classList.contains("hayyabuild-tabs--swipeleft")&&(r[0].style.marginLeft="-".concat(100*c,"%"))})),i+=d})),r&&Array.prototype.forEach.call(r,(function(e){e.classList.contains("active")||(e.style.height="0")}))}}))}},function(e,t,n){"use strict";n.r(t);var o=n(1);t.default=function(){var e={},t=document.querySelectorAll(".wp-block-hayyabuild-modalbox");t&&Array.prototype.forEach.call(t,(function(t,n){e[n]=t})),e[0]&&function t(n){if(void 0!==e[n]){var a=e[n],r=a.id,i=a.querySelector(".hayyabuild-modalbox__body").querySelectorAll(".hayyabuild-modalbox__body__close, .hayyabuild-modalbox__close"),c=parseInt(a.dataset.remember),l=parseInt(a.dataset.delay),s=n+1;c&&"c"===o.default.getCookie(r)?t(s):(setTimeout((function(){return a.classList.add("active")}),1e3*l),i&&Array.prototype.forEach.call(i,(function(e,n){e.addEventListener("click",(function(e){e.preventDefault(),a.classList.remove("active"),t(s)}))})),c&&o.default.setCookie(r,c))}}(0)}},function(e,t,n){"use strict";n.r(t);n(1);t.default=function(){var e=document.querySelectorAll(".hayyabuild-gallerybox__container");e&&Array.prototype.forEach.call(e,(function(e){var t=e.parentNode,n=e.querySelectorAll("figure.hayyabuild-gallerybox__container__image"),o=e.querySelector(".hayyabuild-gallerybox__container__close"),a=e.querySelector(".hayyabuild-gallerybox__container__next"),r=e.querySelector(".hayyabuild-gallerybox__container__previous"),i=e.querySelectorAll("img"),c=t.classList.contains("hayyabuild-gallerybox--autoplay");if(i&&n){var l=function(t){(t.target.classList.contains("hayyabuild-gallerybox__container__close")||t.target.classList.contains("hayyabuild-gallerybox__container")||"Escape"===t.key)&&(e.classList.remove("active"),Array.prototype.forEach.call(n,(function(e){e.classList.remove("active"),e.style.display=""})),c&&d(!1))};Array.prototype.forEach.call(n,(function(t){t.addEventListener("click",(function(o){e.classList.contains("active")||(e.classList.add("active"),setTimeout((function(){t.classList.add("active"),Array.prototype.forEach.call(n,(function(e){return e.style.display="block"})),c&&d(!0)}),100))}))}));var s,u=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=n.length-1,o=0;Array.prototype.forEach.call(n,(function(e,t){e.classList.contains("active")&&(o=t)})),n[o].classList.remove("active"),o=e?++o:--o,n[o]||(o=e?0:t),n[o].classList.add("active")},d=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e?s=setInterval(u,5e3):clearInterval(s)};a.addEventListener("click",(function(){return u(!0)})),r.addEventListener("click",(function(){return u(!1)})),o&&o.addEventListener("click",l),document.addEventListener("keydown",(function(e){var t=e.key;"Escape"===t?l(e):"ArrowRight"===t||"ArrowUp"===t?(e.preventDefault(),u(!0)):"ArrowLeft"!==t&&"ArrowDown"!==t||(e.preventDefault(),u(!1))}))}}))}},function(e,t,n){"use strict";n.r(t);n(1);t.default=function(){var e=document.querySelectorAll(".hayyabuild-pricingtable");e&&Array.prototype.forEach.call(e,(function(e){function t(){var t,n,o=e.querySelectorAll(".hayyabuild-pricingtable__plan"),a=-1;o.length>0&&"function"==typeof o.forEach&&o.forEach((function(e){n=Math.ceil(e.getBoundingClientRect().top+window.scrollY+e.offsetHeight/2),e.classList.remove("hayyabuild-pricingtable__plan--first-in-line"),e.classList.remove("hayyabuild-pricingtable__plan--last-in-line"),n-5>a&&(e.classList.add("hayyabuild-pricingtable__plan--first-in-line"),void 0!==t&&void 0!==t.classList&&t.classList.add("hayyabuild-pricingtable__plan--last-in-line"),a=n),t=e}))}t(),window.addEventListener("resize",t)}))}}]);1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),r={header:document.getElementById("hayyabuild-header"),footer:document.getElementById("hayyabuild-footer"),containerHeader:document.getElementById("hayyabuild-container-header"),containerFooter:document.getElementById("hayyabuild-container-footer"),object:{},classes:"",creatObject:function(e){var t;switch(e){case"body":t=document.body;break;case"window":t=window;break;default:t=e}return this.object=t,this.classes=this.object.classList,this},css:function(e){if("object"===a()(e))for(var t in e)this.object.style[t]=e[t];return this},addClass:function(e){return this.object.classList.add(e),this},removeClass:function(e){return this.object.classList.remove(e),this},hasClass:function(e){return this.object.classList.contains(e)},text:function(e){var t=document.createTextNode(e);return this.object.appendChild(t),this},removeAttr:function(e){return this.object.removeAttribute(e),this},setAttr:function(e,t){if("object"===a()(e))for(var n in e)this.object.setAttribute(n,e[n]);else"string"==typeof e&&this.object.setAttribute(e,t);return this},getSize:function(e,t,n){return Math.max(e.documentElement["client"+name],e.body["scroll"+name],e.documentElement["scroll"+name],e.body["offset"+name],e.documentElement["offset"+name])},getPosition:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.object,n=0,o=0;t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)n+=t.offsetLeft-t.scrollLeft,o+=t.offsetTop-t.scrollTop,t=t.offsetParent;return{top:o,left:n}},setCookie:function(e,t){var n=t||7,o=this.cookieDate(n);document.cookie="".concat(e,"=c; expires=").concat(o,"; path=/")},cookieDate:function(e){var t=new Date,n=new Date;n.setDate(t.getDate()+e);var o=function(e){return e<10?"0"+e:e};return["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][n.getUTCDay()]+", "+o(n.getUTCDate())+"-"+["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][n.getUTCMonth()]+"-"+n.getUTCFullYear()+" "+o(n.getUTCHours())+":"+o(n.getUTCMinutes())+":"+o(n.getUTCSeconds())+" GMT"},getCookie:function(e){var t="".concat(e,"="),n=document.cookie.split(";"),o="";return n.length&&Array.prototype.forEach.call(n,(function(e){0===(e=e.trim()).indexOf(t)&&(o=e.replace(t,""))})),o},waitImages:function(e,t){return new Promise((function(n,o){var a=0;!function o(){var r=!0;++a,Array.prototype.forEach.call(e,(function(e){r=r&&e.complete&&0<e.naturalHeight&&0<e.naturalWidth,console.log(e.naturalHeight)})),r||a>60?(t(),n("Success!")):(setTimeout(o,100),t())}()}))},debug:function(e){var t=document.createElement("DIV");t.classList.add("hayya_debug"),this.creatObject(t).css({position:"fixed",top:"32px",left:0,backgroundColor:"#FF0000",color:"#FFFFFF",display:"inline-block",minWidth:"50px",height:"30px",zIndex:99999,opacity:.7,textAlign:"center"}).text(e),document.body.append(t)}};t.default=r},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e.exports=function(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),e}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,n){"use strict";n.r(t);var o=n(3),a=n.n(o),r=n(4),i=n.n(r);n(9),n(10),"undefined"!=typeof window&&window.document||function(){throw new Error("HayyaBuild requires a window with a document")}(),function(){n(1).default;var e=n(11).default,t=n(12).default,o=n(13).default,r=n(14).default,c=n(15).default,l=n(16).default,s=n(17).default,u=n(18).default,d=n(19).default,f=n(20).default,p=n(21).default,y=n(22).default,h=n(23).default,v=n(24).default;new(function(){function n(){a()(this,n),this.version="6.0",this.description="HayyaBuild allows you to build unlimited headers,",this._initializer()}return i()(n,[{key:"stickybox",value:function(){return r()}},{key:"stickybox",value:function(){return r()}},{key:"accordion",value:function(){return f()}},{key:"tabs",value:function(){return p()}},{key:"duplesidebox",value:function(){return u()}},{key:"doublesidedbox",value:function(){return d()}},{key:"openstreetmap",value:function(){return e()}},{key:"modalbox",value:function(){return y()}},{key:"pricingTable",value:function(){return v()}},{key:"goTop",value:function(){return l()}},{key:"menu",value:function(){return o()}},{key:"smothScrollTo",value:function(){return s()}},{key:"hayyabuildEvents",value:function(e){return c(e)}},{key:"alertBlock",value:function(){return t()}},{key:"gallerybox",value:function(){return h()}},{key:"_initializer",value:function(){document.querySelector(".wp-block-hayyabuild-openstreetmap")&&this.openstreetmap(),document.querySelector(".wp-block-hayyabuild-accordion")&&this.accordion(),document.querySelector(".wp-block-hayyabuild-tabs")&&this.tabs(),document.querySelector(".wp-block-hayyabuild-duplesidebox")&&this.duplesidebox(),document.querySelector(".wp-block-hayyabuild-doublesidedbox")&&this.doublesidedbox(),document.querySelector(".wp-block-hayyabuild-goup")&&this.goTop(),document.querySelector(".wp-block-hayyabuild-stickybox")&&this.stickybox(),document.querySelector(".wp-block-hayyabuild-godown > a, .wp-block-hayyabuild-goup > a")&&this.smothScrollTo(),document.querySelector(".wp-block-hayyabuild-modalbox")&&this.modalbox(),document.querySelector(".wp-block-hayyabuild-pricingtable")&&this.pricingTable(),document.querySelector(".hayyabuild-gallerybox")&&this.__onload(this.gallerybox),document.querySelector(".wp-block-hayyabuild-menu")&&this.menu(),document.querySelector(".hb-scrolleffects")&&this.hayyabuildEvents(SuperEvents),document.querySelector(".hayya-scrolleffects")&&this.hayyabuildEvents(SuperEvents),document.querySelector(".wp-block-hayyabuild-alert__close")&&this.alertBlock(),Waves.init();var e={backgroundColor:"#EBDCDC"},t={backgroundColor:"#001CFF"},n=document.querySelector(".change-header-background > a");if(n){var o=document.querySelector("#hayyabuild-header");n&&o&&new SuperEvents({source:n,target:o}).mousemove().fromTo(e,t).easing({timing:"linear",duration:.5,delay:0,cubicBezier:!1})}var a=document.querySelector(".change-container-background");if(a){var r=document.querySelector(".container-background-to-change");a&&r&&new SuperEvents({source:a,target:r}).mousemove().fromTo(e,t).easing({timing:"linear",duration:.3,delay:0,cubicBezier:!1})}}},{key:"__onload",value:function(e){document.addEventListener("DOMContentLoaded",e)}}]),n}())}()},function(e,t,n){"use strict";n.r(t),function(e,t){var o=n(0),a=n.n(o);!function(e,o){"function"==typeof define&&n(7)?define([],(function(){return e.Waves=o.call(e),e.Waves})):"object"===("undefined"==typeof exports?"undefined":a()(exports))?t.exports=o.call(e):e.Waves=o.call(e)}("object"===(void 0===e?"undefined":a()(e))?e:void 0,(function(){var e=e||{},t=document.querySelectorAll.bind(document),n=Object.prototype.toString,o="ontouchstart"in window;function r(e){var t=a()(e);return"function"===t||"object"===t&&!!e}function i(e){var o,a=n.call(e);return"[object String]"===a?t(e):r(e)&&/^\[object (Array|HTMLCollection|NodeList|Object)\]$/.test(a)&&e.hasOwnProperty("length")?e:r(o=e)&&o.nodeType>0?[e]:[]}function c(e){var t,n,o={top:0,left:0},r=e&&e.ownerDocument;return t=r.documentElement,"undefined"!==a()(e.getBoundingClientRect)&&(o=e.getBoundingClientRect()),n=function(e){return null!==(t=e)&&t===t.window?e:9===e.nodeType&&e.defaultView;var t}(r),{top:o.top+n.pageYOffset-t.clientTop,left:o.left+n.pageXOffset-t.clientLeft}}function l(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+":"+e[n]+";");return t}var s={duration:750,delay:200,show:function(e,t,n){if(2===e.button)return!1;t=t||this;var o=document.createElement("div");o.className="waves-ripple waves-rippling",t.appendChild(o);var a=c(t),r=0,i=0;"touches"in e&&e.touches.length?(r=e.touches[0].pageY-a.top,i=e.touches[0].pageX-a.left):(r=e.pageY-a.top,i=e.pageX-a.left),i=i>=0?i:0,r=r>=0?r:0;var u="scale("+t.clientWidth/100*3+")",d="translate(0,0)";n&&(d="translate("+n.x+"px, "+n.y+"px)"),o.setAttribute("data-hold",Date.now()),o.setAttribute("data-x",i),o.setAttribute("data-y",r),o.setAttribute("data-scale",u),o.setAttribute("data-translate",d);var f={top:r+"px",left:i+"px"};o.classList.add("waves-notransition"),o.setAttribute("style",l(f)),o.classList.remove("waves-notransition"),f["-webkit-transform"]=u+" "+d,f["-moz-transform"]=u+" "+d,f["-ms-transform"]=u+" "+d,f["-o-transform"]=u+" "+d,f.transform=u+" "+d,f.opacity="1";var p="mousemove"===e.type?2500:s.duration;f["-webkit-transition-duration"]=p+"ms",f["-moz-transition-duration"]=p+"ms",f["-o-transition-duration"]=p+"ms",f["transition-duration"]=p+"ms",o.setAttribute("style",l(f))},hide:function(e,t){for(var n=(t=t||this).getElementsByClassName("waves-rippling"),a=0,r=n.length;a<r;a++)d(e,t,n[a]);o&&(t.removeEventListener("touchend",s.hide),t.removeEventListener("touchcancel",s.hide)),t.removeEventListener("mouseup",s.hide),t.removeEventListener("mouseleave",s.hide)}},u={input:function(e){var t=e.parentNode;if("i"!==t.tagName.toLowerCase()||!t.classList.contains("waves-effect")){var n=document.createElement("i");n.className=e.className+" waves-input-wrapper",e.className="waves-button-input",t.replaceChild(n,e),n.appendChild(e);var o=window.getComputedStyle(e,null),a=o.color,r=o.backgroundColor;n.setAttribute("style","color:"+a+";background:"+r),e.setAttribute("style","background-color:rgba(0,0,0,0);")}},img:function(e){var t=e.parentNode;if("i"!==t.tagName.toLowerCase()||!t.classList.contains("waves-effect")){var n=document.createElement("i");t.replaceChild(n,e),n.appendChild(e)}}};function d(e,t,n){if(n){n.classList.remove("waves-rippling");var o=n.getAttribute("data-x"),a=n.getAttribute("data-y"),r=n.getAttribute("data-scale"),i=n.getAttribute("data-translate"),c=350-(Date.now()-Number(n.getAttribute("data-hold")));c<0&&(c=0),"mousemove"===e.type&&(c=150);var u="mousemove"===e.type?2500:s.duration;setTimeout((function(){var e={top:a+"px",left:o+"px",opacity:"0","-webkit-transition-duration":u+"ms","-moz-transition-duration":u+"ms","-o-transition-duration":u+"ms","transition-duration":u+"ms","-webkit-transform":r+" "+i,"-moz-transform":r+" "+i,"-ms-transform":r+" "+i,"-o-transform":r+" "+i,transform:r+" "+i};n.setAttribute("style",l(e)),setTimeout((function(){try{t.removeChild(n)}catch(e){return!1}}),u)}),c)}}var f={touches:0,allowEvent:function(e){var t=!0;return/^(mousedown|mousemove)$/.test(e.type)&&f.touches&&(t=!1),t},registerEvent:function(e){var t=e.type;"touchstart"===t?f.touches+=1:/^(touchend|touchcancel)$/.test(t)&&setTimeout((function(){f.touches&&(f.touches-=1)}),500)}};function p(e){var t=function(e){if(!1===f.allowEvent(e))return null;for(var t=null,n=e.target||e.srcElement;n.parentElement;){if(!(n instanceof SVGElement)&&n.classList.contains("waves-effect")){t=n;break}n=n.parentElement}return t}(e);if(null!==t){if(t.disabled||t.getAttribute("disabled")||t.classList.contains("disabled"))return;if(f.registerEvent(e),"touchstart"===e.type&&s.delay){var n=!1,a=setTimeout((function(){a=null,s.show(e,t)}),s.delay),r=function(o){a&&(clearTimeout(a),a=null,s.show(e,t)),n||(n=!0,s.hide(o,t)),c()},i=function(e){a&&(clearTimeout(a),a=null),r(e),c()};t.addEventListener("touchmove",i,!1),t.addEventListener("touchend",r,!1),t.addEventListener("touchcancel",r,!1);var c=function(){t.removeEventListener("touchmove",i),t.removeEventListener("touchend",r),t.removeEventListener("touchcancel",r)}}else s.show(e,t),o&&(t.addEventListener("touchend",s.hide,!1),t.addEventListener("touchcancel",s.hide,!1)),t.addEventListener("mouseup",s.hide,!1),t.addEventListener("mouseleave",s.hide,!1)}}return e.init=function(e){var t=document.body;"duration"in(e=e||{})&&(s.duration=e.duration),"delay"in e&&(s.delay=e.delay),o&&(t.addEventListener("touchstart",p,!1),t.addEventListener("touchcancel",f.registerEvent,!1),t.addEventListener("touchend",f.registerEvent,!1)),t.addEventListener("mousedown",p,!1)},e.attach=function(e,t){var o,a;e=i(e),"[object Array]"===n.call(t)&&(t=t.join(" ")),t=t?" "+t:"";for(var r=0,c=e.length;r<c;r++)a=(o=e[r]).tagName.toLowerCase(),-1!==["input","img"].indexOf(a)&&(u[a](o),o=o.parentElement),-1===o.className.indexOf("waves-effect")&&(o.className+=" waves-effect"+t)},e.ripple=function(e,t){var n=(e=i(e)).length;if((t=t||{}).wait=t.wait||0,t.position=t.position||null,n)for(var o,a,r,l={},u=0,d={type:"mousedown",button:1},f=function(e,t){return function(){s.hide(e,t)}};u<n;u++)if(o=e[u],a=t.position||{x:o.clientWidth/2,y:o.clientHeight/2},r=c(o),l.x=r.left+a.x,l.y=r.top+a.y,d.pageX=l.x,d.pageY=l.y,s.show(d,o),t.wait>=0&&null!==t.wait){setTimeout(f({type:"mouseup",button:1},o),t.wait)}},e.calm=function(e){for(var t={type:"mouseup",button:1},n=0,o=(e=i(e)).length;n<o;n++)s.hide(t,e[n])},e.displayEffect=function(t){console.error("Waves.displayEffect() has been deprecated and will be removed in future version. Please use Waves.init() to initialize Waves effect"),e.init(t)},e}))}.call(this,n(5),n(6)(e))},function(e,t,n){"use strict";n.r(t),function(e,t){var o=n(3),a=n.n(o),r=n(4),i=n.n(r),c=n(2),l=n.n(c),s=n(0),u=n.n(s);!function(e,o){"function"==typeof define&&n(7)?define([],(function(){return e.SuperEvents=o.call(e),e.SuperEvents})):"object"===("undefined"==typeof exports?"undefined":u()(exports))?t.exports=o.call(e):e.SuperEvents=o.call(e)}("object"===(void 0===e?"undefined":u()(e))?e:void 0,(function(){return function(){function e(t){if(a()(this,e),l()(this,"version","0.2.0"),l()(this,"name","SuperEvents"),l()(this,"description","SuperEvents is a JavaScript library that handling any events in websites. Support all events action like:- Scrolling, Clicking, Hovering, Mouse Moving, Tapping."),l()(this,"license","MIT"),l()(this,"params",{}),"object"!==u()(t)||t.length<1)throw new TypeError("You must use correct HTML elements.");this.initialize(t)}return i()(e,[{key:"initialize",value:function(e){try{this.eventSource=void 0!==e.source?e.source:window,this.eventTarget=e instanceof Element||e instanceof HTMLDocument||e[0]instanceof Element?e:e.target,this.actions()}catch(e){console.log("ERROR01:",e)}}},{key:"runEvent",value:function(e){this._sourceEvent(e)}},{key:"helper",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.helper.object=t,this.helper.easing=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.duration,o=e.cubic,a=e.delay;if(t instanceof Element)t.style.transition="all ".concat(n,"s cubic-bezier(").concat(o,")");else if(t[0]instanceof Element){var r=0;Array.prototype.forEach.call(t,(function(e){var t=" ".concat(r.toFixed(1),"s");0!==a&&(r+=a),e.style.transition="all ".concat(n,"s").concat(t," cubic-bezier(").concat(o,")")}))}},this.helper.css=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.helper.object,a=function(e){if(e){if(t&&"object"===u()(t))for(var o in t)e.style[o]=t[o];if(n&&"object"===u()(n))for(var a in n)e.style[a]=n[a]}};return o[0]instanceof Element?Array.prototype.forEach.call(o,(function(e){a(e)})):o instanceof Element&&a(o),e.helper},this.helper.addClass=function(t){if("string"!=typeof t)return e.helper;var n=e.helper.object;return"function"==typeof n.forEach?Array.prototype.forEach.call(n,(function(e){e.classList&&e.classList.add(t)})):n.classList&&n.classList.add(t),e.helper},this.helper.removeClass=function(t){if("string"!=typeof t)return e.helper;var n=e.helper.object;return"function"==typeof n.forEach?Array.prototype.forEach.call(n,(function(e){e.classList&&e.classList.remove(t)})):n.classList&&n.classList.remove(t),e.helper},this.helper.text=function(t){var n=document.createTextNode(t);return e.helper.object.appendChild(n),e.helper},this.helper.colorCalculater=function(t,n,o){if(t=t.trim(),n=n.trim(),o/=100,0===t.indexOf("#")&&0===n.indexOf("#")||0===t.indexOf("rgb")&&0===n.indexOf("rgb")){0===t.indexOf("#")&&(t=e.helper.hexToRgb(t)),0===n.indexOf("#")&&(n=e.helper.hexToRgb(n));return function(e,t){if(e&&t&&0!==e.indexOf("rgb")||0!==t.indexOf("rgb"))return e;var n=0===e.indexOf("rgba")?5:4,a=0===t.indexOf("rgba")?5:4,r=[];if(e=e.substr(n).split(")")[0].split(","),t=t.substr(a).split(")")[0].split(","),e.length===t.length){var i=0;e.forEach((function(n){r[i]=3!==i?(e[i]-o*e[i]+o*t[i]).toFixed(0):(e[i]-o*e[i]+o*t[i]).toFixed(2),i++}))}var c=4===e.length?"rgba":"rgb";return"".concat(c,"(").concat(r.join(","),")")}(t,n)}},this.helper.hexToRgb=function(e){var t=0,n=0,o=0;return 4==e.length?(t="0x"+e[1]+e[1],n="0x"+e[2]+e[2],o="0x"+e[3]+e[3]):7==e.length&&(t="0x"+e[1]+e[2],n="0x"+e[3]+e[4],o="0x"+e[5]+e[6]),"rgb(".concat(t,", ").concat(n,", ").concat(o,")")},this.helper.rgbToHex=function(e){var t=e.indexOf(",")>-1?",":" ",n=(+(e=e.substr(4).split(")")[0].split(t))[0]).toString(16),o=(+e[1]).toString(16),a=(+e[2]).toString(16);return 1==n.length&&(n="0"+n),1==o.length&&(o="0"+o),1==a.length&&(a="0"+a),"#"+n+o+a},this.helper}},{key:"actions",value:function(){var e=this;return this.actions.call=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.runEvent((function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;"function"==typeof t&&t(n,e.eventSource,e.eventTarget)})),!0===n)return e},this.actions.fromTo=function(t,n){var o,a,r="",i="",c={},l="",s=["translateY","translateX","scale","rotateY","rotateX"],d=["opacity","backgroundPosition","backgroundSize","backgroundColor","color","borderColor"].concat(s,["rotateY","rotateX"],["translateX","translateY"]),f=function(e,t,n){return e-n/100*e+n/100*t};if(Object.keys(t).length)for(var p=function(p){c[p]={},Array.prototype.forEach.call(Object.keys(t),(function(y){var h=t[y];void 0!==u()(n[y])&&d.indexOf(y)>-1&&t.hasOwnProperty(y)&&n.hasOwnProperty(y)&&(o=n[y],r=(r="function"==typeof h.match?h.match(/\D+$/):"")&&r.length?r[0]:"",a=p<50?h:o,isNaN(h)&&isNaN(o)||(i=f(h,o,p),a=i.toFixed(2)),"borderColor"===y||"color"===y||"backgroundColor"===y?a=e.helper().colorCalculater(h,o,p):(h=parseFloat(h),o=parseFloat(o),i=f(h,o,p),"backgroundPosition"===y?a="50% ".concat(i.toFixed(2)).concat(r):s.indexOf(y)>-1&&(l+=" ".concat(y,"( ").concat(i.toFixed(2)).concat(r," )"))),void 0!==a&&s.indexOf(y)<0&&(c[p][y]=a))})),""!==l&&(c[p].transform=l,l="")},y=0;y<=100;y++)p(y);return e.runEvent((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;t=(100*t).toFixed(0),c[t]&&e.helper(e.eventTarget).css(c[t])})),e},this}},{key:"easing",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.timing||"linear",o=t.duration||0,a=t.delay||0,r=!!t.cubicBezier||!1;if(o=o>10||o<0?.5:o,e=n,!1===r)switch(n){case"ease":e=".25, .1, .25, 1";break;case"linear":e=".25, .25, .75, .75";break;case"ease-in":e=".42, 0, 1, 1";break;case"ease-out":e="0, 0, .58, 1";break;case"ease-in-out":e=".42, 0, .58, 1";break;case"easeInQuad":e=".55, .085, .68, .53";break;case"easeInCubic":e=".55, .055, .675, .19";break;case"easeInQuart":e=".895, .03, .685, .22";break;case"easeInQuint":e=".755, .05, .855, .06";break;case"easeInSine":e=".47, 0, .745, .715";break;case"easeInExpo":e=".95, .05, .795, .035";break;case"easeInCirc":e=".6, .04, .98, .335";break;case"easeInBack":e=".6, -.280, .735, .045";break;case"easeOutQuad":e=".25, .46, .45, .94";break;case"easeOutCubic":e=".215, .61, .355, 1";break;case"easeOutQuart":e=".165, .84, .44, 1";break;case"easeOutQuint":e=".23, 1, .32, 1";break;case"easeOutSine":e=".39, .575, .565, 1";break;case"easeOutExpo":e=".19, 1, .22, 1";break;case"easeOutCirc":e=".075, .82, .165, 1";break;case"easeOutBack":e=".175, .885, .32, 1.275";break;case"easeInOutQuad":e=".455, .03, .515, .955";break;case"easeInOutCubic":e=".645, .045, .355, 1";break;case"easeInOutQuart":e=".770, 0, .175, 1";break;case"easeInOutQuint":e=".86, 0, .07, 1";break;case"easeInOutSine":e=".445, .05, 0.55, 0.95";break;case"easeInOutExpo":e="1, 0, 0, 1";break;case"easeInOutCirc":e=".785, .135, .15, .86";break;case"easeInOutBack":e=".68, -.55, .265, 1.55";break;default:e=".25, .25, .75, .75"}return e&&this.helper(this.eventTarget).easing({duration:o,cubic:e,delay:a}),this}},{key:"scroll",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!1;this._sourceEvent=function(e){document.addEventListener(t.listener&&"load"!==t.listener?t.listener:"DOMContentLoaded",(function(){return o(e)})),window.addEventListener("load",i),window.addEventListener("resize",i)};var o=function(e){i(),r(e)},a=function(t){var n=e.params._sourceScrolling,o=n.indicator,a=n.runnigArea,r=n.start,i=(("number"==typeof e.eventSource.scrollY?e.eventSource.scrollY:e.eventSource.scrollTop)+o-r)/a;i>1?i=1:i<0&&(i=0),t(i.toFixed(5))},r=function(t){a(t);!n&&e.eventSource.addEventListener("scroll",(function(){var o=e.params._sourceScrolling,r=o.indicator,i=o.start,c=o.end,l=("number"==typeof e.eventSource.scrollY?e.eventSource.scrollY:e.eventSource.scrollTop)+r;l<i?t(0):l>c?t(1):a(t),n=!0}),!0)},i=function(){var n,o="number"==typeof e.eventSource.innerHeight?e.eventSource.innerHeight:e.eventSource.offsetHeight,a=e.eventTarget instanceof Element?e.eventTarget:e.eventTarget[0],r=(a.getBoundingClientRect(),c(null!==(n=t.indicator)&&void 0!==n?n:90)),i=c(isNaN(parseInt(t.duration))?0:t.duration),s=a.offsetTop,u=s+a.offsetHeight,d=isNaN(parseInt(t.duration))?u+o:s+i;e.params._sourceScrolling={indicator:r,runnigArea:d-s,start:s,end:d},!0===t.debug&&l()},c=function(t){var n="number"==typeof e.eventSource.innerHeight?e.eventSource.innerHeight:e.eventSource.offsetHeight;return t=(t=Math.abs(parseInt(t)))<=100?t:0,Math.round(t/100*n)},l=function(){var e=document.querySelectorAll(".suprescrolling-debug");e&&Array.prototype.forEach.call(e,(function(e){e.parentNode.removeChild(e)})),s(),u()},s=function(){var t=e.params._sourceScrolling,n=t.indicator,o=(t.duration,document.createElement("HR")),a=document.body;e.helper(o).addClass("suprescrolling-debug").css({textAlign:"left",position:"absolute",color:"#FF0000",border:"0",borderBottom:"1px solid #FF0000",zIndex:"99999",width:"95%",opacity:"0.9",left:"0",height:"20px",padding:"0 10px",fontSize:"14px"},{top:n-20+"px"}).text("Indicator"),void 0!==e.eventSource.parentNode?(a=e.eventSource.parentNode,e.helper(a).css({position:"relative"})):e.helper(o).css({position:"fixed"}),a.appendChild(o)},u=function(){var t={textAlign:"left",position:"absolute",width:"50px",border:"none",borderTop:"1px solid #FF0000",zIndex:"99999",opacity:"0.7",margin:"0",padding:"0",color:"#FF0000",left:"50px",top:"0",fontSize:"0.8rem"},n=document.body,o=document.createElement("HR"),a=document.createElement("HR"),r=e.params._sourceScrolling.start,i=e.params._sourceScrolling.end;e.helper(o).addClass("suprescrolling-debug").css(t,{top:"".concat(r,"px")}).text("Start"),e.helper(a).addClass("suprescrolling-debug").css(t,{top:"".concat(i,"px")}).text("End"),(n=e.eventTarget instanceof Element?e.eventTarget.parentNode:e.eventTarget[0].parentNode).appendChild(o),n.appendChild(a)};return this.actions}},{key:"click",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._sourceEvent=function(n){var o=void 0===t.toggle||t.toggle;e._click_progress=1,n(0);e.eventSource.addEventListener("click",(function(){n(e._click_progress),o&&(e._click_progress=+!e._click_progress)}))},this.actions}},{key:"hover",value:function(){var e=this;arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._sourceEvent=function(t){t(0),e.eventSource.addEventListener("mouseover",(function(){return t(1)})),e.eventSource.addEventListener("mouseleave",(function(){return t(0)}))},this.actions}},{key:"mousemove",value:function(){var e=this,t=(arguments.length>0&&void 0!==arguments[0]&&arguments[0],function(t,n){var o=window.innerWidth/2,a=window.innerHeight/2,r=t.clientX,i=t.clientY;if(e.eventSource&&"function"==typeof e.eventSource.getBoundingClientRect){var c=e.eventSource.getBoundingClientRect();o=c.width/2,a=c.height/2,r=t.clientX-c.left,i=t.clientY-c.top}var l=(o-r)/o,s=(a-i)/a;n((l=l<0?1+l:1-l)<(s=s<0?1+s:1-s)?l:s)});return this._sourceEvent=function(n){e.eventSource.addEventListener("mousemove",(function(e){return t(e,n)})),e.eventSource.addEventListener("mouseleave",(function(){return n(0)})),n(0)},this.actions}}]),e}()}))}.call(this,n(5),n(6)(e))},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o);t.default=function(){document.addEventListener("DOMContentLoaded",(function(){var e=function(e){var t=e.icon,n=e.color,o="";return"icon2"===t&&(o='<svg viewBox="0 0 180 320" xmlns="http://www.w3.org/2000/svg"><path fill="'.concat(n,'" d="m 90.434743,0.40000002 c -49.459514,0 -89.54074301,39.33933598 -89.54074301,87.84770598 0,48.521054 89.54074301,207.641184 89.54074301,207.641184 0,0 89.547087,-159.12013 89.547087,-207.641184 0,-48.50837 -40.1066,-87.84770598 -89.547087,-87.84770598 z" /></svg>')),"icon3"===t&&(o='<svg viewBox="0 0 180 320" xmlns="http://www.w3.org/2000/svg"><path fill="'.concat(n,'" d="M 89.939396,256.0246 C 30.211223,178.0849 0.35353635,122.63125 0.35353635,89.65086 a 89.585863,89.585863 0 1 1 179.17172365,0 c 0,32.98039 -29.85769,88.43404 -89.585864,166.37374 z m 0,-115.18182 a 51.191921,51.191921 0 1 0 0,-102.38384 51.191922,51.191922 0 0 0 0,102.38384 z" /></svg>')),"icon4"===t&&(o='<svg viewBox="0 0 180 320" xmlns="http://www.w3.org/2000/svg"><path fill="'.concat(n,'" d="m 69.543779,196.79648 v 97.29299 l 13.672804,20.503 c 2.949402,4.42099 9.450504,4.42099 12.399905,0 l 13.666602,-20.503 v -97.29299 c -6.45144,1.19218 -13.076722,1.90003 -19.869659,1.90003 -6.792937,0 -13.418224,-0.70785 -19.869652,-1.90003 z M 89.413431,0 C 40.031139,0 0,40.031139 0,89.413431 c 0,49.382299 40.031139,89.413429 89.413431,89.413429 49.382299,0 89.413429,-40.03113 89.413429,-89.413429 C 178.82686,40.031139 138.79573,0 89.413431,0 Z m 0,47.190421 c -23.284747,0 -42.22301,18.938263 -42.22301,42.22301 0,4.110534 -3.340584,7.45112 -7.451118,7.45112 -4.110534,0 -7.451119,-3.340586 -7.451119,-7.45112 0,-31.499606 25.63185,-57.125247 57.125247,-57.125247 4.110534,0 7.45112,3.340585 7.45112,7.451119 0,4.110534 -3.340586,7.451118 -7.45112,7.451118 z" /></svg>')),"icon5"===t&&(o='<svg viewBox="0 0 180 320" xmlns="http://www.w3.org/2000/svg"><path fill="'.concat(n,'" d="M 89.898438 -0.28320312 A 89.818184 89.818184 0 0 0 0.080078125 89.535156 A 89.818184 89.818184 0 0 0 75.662109 178.10742 L 75.662109 247.34375 L 89.859375 291.34375 L 104.12109 247.34375 L 104.12109 178.17383 A 89.818184 89.818184 0 0 0 179.7168 89.535156 A 89.818184 89.818184 0 0 0 89.898438 -0.28320312 z "/></svg>')),"icon6"===t&&(o='<svg viewBox="0 0 180 320" xmlns="http://www.w3.org/2000/svg"><path fill="'.concat(n,'" d="m 127.40549,219.26791 -4.68502,16.94692 c 22.77463,6.29357 37.49771,18.39726 37.49771,30.84376 0,16.63048 -28.87482,35.15959 -70.31919,35.15959 -41.444374,0 -70.319192,-18.52911 -70.319192,-35.15959 0,-12.4465 14.723081,-24.55019 37.506499,-30.85255 L 52.401281,219.25911 C 21.311408,227.85564 2,246.165 2,267.05859 c 0,29.56922 38.614026,52.73939 87.89899,52.73939 49.28496,0 87.89899,-23.17017 87.89899,-52.73939 0,-20.89359 -19.31141,-39.20295 -50.39249,-47.79068 z" /><path fill="').concat(n,'" d="M 89.898438 -0.28320312 A 89.818184 89.818184 0 0 0 0.080078125 89.535156 A 89.818184 89.818184 0 0 0 75.662109 178.10742 L 75.662109 247.34375 L 89.859375 291.34375 L 104.12109 247.34375 L 104.12109 178.17383 A 89.818184 89.818184 0 0 0 179.7168 89.535156 A 89.818184 89.818184 0 0 0 89.898438 -0.28320312 z "/></svg>')),o||(o='<svg viewBox="0 0 180 320" xmlns="http://www.w3.org/2000/svg"><filter height="1.6" y="-0.3" width="1.15" x="-0.06" id="hayyabuild-map-svg-filter"><feGaussianBlur stdDeviation="0.5" /></filter><ellipse ry="1" rx="5" cy="21.299999" cx="6" style="opacity:0.3;filter:url(#hayyabuild-map-svg-filter)" transform="matrix(14.462133,0,0,14.462133,1.6729169,-12)" /><path fill="'.concat(n,'" d="M 90.302891,0 C 41.368767,2.8924265e-4 1.6996776,39.702748 1.6987564,88.678903 1.7036256,118.78458 16.968939,146.83186 42.238456,163.16323 l -14.628295,6.84565 c 0,0 18.69287,2.47678 37.464021,47.26123 23.408336,55.8477 25.228709,60.32613 25.228709,60.32613 0,0 2.600342,-3.95462 23.829119,-59.90311 17.55521,-46.26682 38.85966,-47.68425 38.85966,-47.68425 l -14.68065,-6.89916 C 163.58615,146.80193 178.87176,118.77663 178.9071,88.678903 178.90617,39.702748 139.23704,1.4462133e-4 90.302891,0 Z" /></svg>')),o},t={style1:"https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png",style2:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",style3:"https://{s}.tile.stamen.com/toner/{z}/{x}/{y}.png",style4:"https://{s}.tile.stamen.com/watercolor/{z}/{x}/{y}.jpg",style5:"https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png",style6:"https://{s}.tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png"},n=document.querySelectorAll(".wp-block-hayyabuild-openstreetmap");n&&Array.prototype.forEach.call(n,(function(n,o){var r=n.dataset.lat||0,i=n.dataset.lng||0,c=n.dataset.zoom||19,l=n.dataset.height||"300",s=n.dataset.style||"style1",u=n.dataset.customstyle||"",d="customstyle"===s?u:t[s],f=n.querySelector(".hayyabuild-map-attribution"),p=f?f.innerHTML:"",y=n.querySelector(".hayyabuild-map");if(y){y.style.minHeight="".concat(l,"px");var h=n.querySelector(".hayyabuild-map-content");h&&(y.style.height=h.getBoundingClientRect().height+100+"px");var v=new L.map(y,{scrollWheelZoom:!1});v._layersMaxZoom=20;var b,m,g=n.querySelectorAll(".hayyabuild-map-marker"),w=L.markerClusterGroup({showCoverageOnHover:!1});g&&g.forEach((function(t,n){var o=t.dataset.lat||0,a=t.dataset.lng||0,r=t.dataset.icon||"",i=t.dataset.markercolor||"#00A4FF",c=t.dataset.markersize||"3",l=t.dataset.openpopup||!1,s=t.dataset.type||"icon1",u=t.innerHTML||"",d=L.divIcon({className:"hayyabuild-map__marker hayyabuild-map__marker_".concat(n+1," hayyabuild-map__marker--size-").concat(c," ").concat(r),iconSize:[15*c,24*c],iconAnchor:[7*c,24*c],popupAnchor:[0,-24*c],html:e({icon:s,color:i})});if(b=new L.marker(new L.LatLng(o,a),{icon:d,title:"m.properties.title"}),u){var f=b.bindPopup(u);l&&(m=f)}w.addLayer(b)})),v.addLayer(w),v.on("layeradd",(function(e){g&&g.forEach((function(t,n){var o=t.dataset.markercolor||"#00A4FF",r=e.target._container.querySelector(".hayyabuild-map__marker_".concat(n+1));r&&"object"===a()(r.style)&&(r.style.color=o)}))})),v.setView([r,i],c),L.tileLayer(d,{attribution:p,minZoom:1,maxZoom:20}).addTo(v),"object"===a()(m)&&m.openPopup()}}))}))}},function(e,t,n){"use strict";n.r(t);var o=n(1);t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-alert__close");e&&Array.prototype.forEach.call(e,(function(e){var t,n=e.parentElement,a=n.id,r=n.classList&&n.classList.contains("wp-block-hayyabuild-alert--remembrt-dismissible");"c"===function(e){var t="".concat(e,"="),n=document.cookie.split(";"),o="";return n.length&&Array.prototype.forEach.call(n,(function(e){0===(e=e.trim()).indexOf(t)&&(o=e.replace(t,""))})),o}(a)&&r?(t=n,o.default.creatObject(t)).css({opacity:"0",display:"none"}):(r&&n.classList.remove("wp-block-hayyabuild-alert--remembrt-dismissible"),e.addEventListener("click",(function(e){e.preventDefault(),n.style.opacity="0",setTimeout((function(){n.style.display="none"}),500),r&&function(e){var t=new Date;t.setTime(t.getTime()+6048e5);var n=t.toUTCString();document.cookie="".concat(e,"=c;expires=").concat(n)}(a)})))}))}},function(e,t,n){"use strict";n.r(t);var o=n(1),a=function(e){return o.default.creatObject(e)};t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-menu");e&&window.innerWidth<782&&Array.prototype.forEach.call(e,(function(e){var t=e.querySelector(".wp-block-hayyabuild-menu > ul");if(t){var n=t.querySelectorAll(".page_item_has_children,.menu-item-has-children"),o=document.body.classList.contains("rtl")?"left":"right",r=document.createElement("LI"),i=document.createElement("DIV"),c=document.createElement("DIV"),l=e.getAttribute("id"),s=e.querySelector(".hb-toggle-menu");a(c).addClass("hayyabuild-menu-container").setAttr("data-menu-id",l),s&&a(s).setAttr("data-menu-id",l);for(var u=0;u<n.length;u++){var d=n[u],f=document.createElement("I");a(f).addClass("fa").addClass("fa-angle-"+o),d.append(f)}a(r).addClass("hb-menu-close"),r.append(i),t.append(r),c.append(t);var p=t.querySelectorAll(".page_item_has_children .fa, .menu-item-has-children .fa");p&&Array.prototype.forEach.call(p,(function(e){e.addEventListener("click",(function(){a(e.parentNode).hasClass("open-menu")?(a(e.parentNode).removeClass("open-menu"),a(e).addClass("fa-angle-"+o).removeClass("fa-angle-down")):(a(e.parentNode).addClass("open-menu"),a(e).removeClass("fa-angle-"+o).addClass("fa-angle-down"))}))})),document.body.append(c)}}));var t=document.body.querySelectorAll(".hayyabuild-menu-container");t&&function(){for(var e=function(e){var n=t[e];n.addEventListener("click",(function(e){e.target.classList.contains("show-mobile-menu")&&a(n).removeClass("show-mobile-menu")}))},n=0;n<t.length;n++)e(n)}();var n=document.body.querySelectorAll(".hb-menu-close");n&&n.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=document.body.querySelectorAll(".show-mobile-menu");t&&t.forEach((function(e){e.classList.contains("show-mobile-menu")&&a(e).removeClass("show-mobile-menu")}))}))})),window.addEventListener("load",(function(){var e=document.body.querySelectorAll(".hb-toggle-menu");e&&e.forEach((function(e){var t,n;e.getAttribute("data-menu-id")&&(t=e.getAttribute("data-menu-id"),(n=document.body.querySelector('.hayyabuild-menu-container[data-menu-id="'+t+'"]'))&&e.addEventListener("click",(function(e){e.preventDefault(),a(n).addClass("show-mobile-menu")})))}))}))}},function(e,t,n){"use strict";n.r(t);var o=n(1),a=function(e){return o.default.creatObject(e)};t.default=function(){var e=o.default.header.offsetHeight,t=0,n=0,r=99998,i=function(e,t){var n=t.id,o=t.hidePosition,i=t.scrollPostion,l=t.showPosition,s=t.afterHeaderEnd,u=t.onlyShowFixed,d=t.addContainer,f=(t.showOnScrollUp,{display:"none",top:o+"px",zIndex:r});if(window.pageYOffset>i&&(f.top=l+"px",f.display="block"),s?delete f.display:delete f.top,a(e).css(f).addClass("stickybox-fixed"),u)e.classList.remove("hayyabuild-stickybox--only-fixed");else{e.id=n+"-cloned";var p=e.querySelectorAll("[id]");p&&Array.prototype.forEach.call(p,(function(e){e.id=e.id+"-cloned"}))}if(d){var y=e.querySelector(".stickybox-container");y&&y.classList.add("container")}document.body.append(e),c(e,t)},c=function(e,t){t.id;var n=t.hidePosition,o=t.scrollPostion,r=t.showPosition,i=t.afterHeaderEnd,c=(t.onlyShowFixed,t.addContainer,t.showOnScrollUp),l=(t.elementLastHeight,window.scrollY),s={},u="down",d="out",f="",p="";window.addEventListener("scroll",(function(y){var h=i?t.delay:0;u=window.scrollY>l?"up":"down",d=window.scrollY>o?"in":"out",(u!==f||d!==p)&&(s={display:"none",top:n+"px"},window.scrollY>o&&(!c||"up"!==u)?s={display:"block",top:r+"px"}:h=0,i&&delete s.display,setTimeout((function(){return a(e).css(s)}),h),!1),l=window.scrollY,p=d,f=u}))};window.addEventListener("load",(function(){var o=document.getElementById("wpadminbar"),a=o&&o.offsetHeight&&window.innerWidth>600?o.offsetHeight:0,c=document.querySelectorAll(".wp-block-hayyabuild-stickybox");c&&Array.prototype.forEach.call(c,(function(o){var c=o.classList.contains("hayyabuild-stickybox--after-header-end"),l=o.classList.contains("hayyabuild-stickybox--only-fixed"),s=o.classList.contains("hayyabuild-stickybox--add-container"),u=o.offsetHeight,d=a+t,f=o.classList.contains("hayyabuild-stickybox--show-on-scrollup"),p={id:o.id,afterHeaderEnd:c,onlyShowFixed:l,addContainer:s,showOnScrollUp:f,height:u,showPosition:d,scrollPostion:c?e:o.offsetTop,hidePosition:-1*u+a-20,delay:n,elementLastHeight:t},y=l?o:o.cloneNode(!0);i(y,p),t+=u,n+=300,r+=-10}))}))}},function(e,t,n){"use strict";n.r(t);var o=n(2),a=n.n(o);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.default=function(e){var t=document.querySelectorAll(".hayya-scrolleffects");t||(t=document.querySelectorAll(".hb-scrolleffects")),t&&Array.prototype.forEach.call(t,(function(t,n){var o=t.classList,a=t.parentElement,r="90%",c="70%",l={},s={},u=!1,d="linear",f=!1,p=!1;o.contains("hb-scroll-debug")&&(p=!0),o.contains("hayya-bgparallax")&&(r="100%",c="0%",l={backgroundPosition:"0%"},s={backgroundPosition:"100%"},u=!0,o.contains("hayya-bgfixed")&&(l={backgroundPosition:"100%"},s={backgroundPosition:"-100%"},u=!0)),"hayyabuild-header"===t.id?(r="100%",c="0%",(o.contains("hb-sticky")||o.contains("hb-parallax")||o.contains("hb-scale-in"))&&(a.style.overflow="hidden"),o.contains("hb-sticky")?(l=i({translateY:"0vh"},l),s=i({translateY:"100vh"},s),u=!0):o.contains("hb-parallax")&&(l=i({translateY:"0vh"},l),s=i({translateY:"50vh"},s),u=!0),o.contains("hb-fade-in")?(l=i({opacity:1},l),s=i({opacity:0},s),u=!0):o.contains("hb-fade-out")&&(l=i({opacity:1},l),s=i({opacity:0},s),u=!0),o.contains("hb-scale-in")?(l=i({scale:1},l),s=i({scale:1.5},s),u=!0):o.contains("hb-scale-out")&&(l=i({scale:1},l),s=i({scale:.5},s),u=!0)):"hayyabuild-footer"===t.id?(r="100%",c="0%",(o.contains("hb-sticky")||o.contains("hb-parallax")||o.contains("hb-scale-in"))&&(a.style.overflow="hidden"),o.contains("hb-sticky")?(l=i({translateY:"-100vh"},l),s=i({translateY:"0vh"},s),u=!0):o.contains("hb-parallax")&&(l=i({translateY:"-50vh"},l),s=i({translateY:"0vh"},s),u=!0),o.contains("hb-fade-in")?(l=i({opacity:1},l),s=i({opacity:0},s),u=!0):o.contains("hb-fade-out")&&(l=i({opacity:1},l),s=i({opacity:0},s),u=!0),o.contains("hb-scale-in")?(l=i({scale:1},l),s=i({scale:1.5},s),u=!0):o.contains("hb-scale-out")&&(l=i({scale:1},l),s=i({scale:.5},s),u=!0)):(Array.prototype.forEach.call(o,(function(e){e.indexOf("hb-scroll_duration_")>-1?c="".concat(parseInt(e.replace("hb-scroll_duration_","")),"%"):e.indexOf("hb-scroll_easing_")>-1&&(f=!0,c="0%",d=e.replace("hb-scroll_easing_",""))})),(o.contains("hb-parallax-up")||o.contains("hb-parallax-down"))&&(c="OutOfViewPort",r="100%"),o.contains("hb-scale-out")?(l={scale:1.5},s={scale:1},u=!0):o.contains("hb-scale-in")&&(l={scale:0},s={scale:1},u=!0),o.contains("hb-slide-left")?(l=i({translateX:"150px"},l),s=i({translateX:"0px"},s),u=!0):o.contains("hb-slide-right")&&(l=i({translateX:"-150px"},l),s=i({translateX:"0px"},s),u=!0),o.contains("hb-slide-up")?(l=i({translateY:"150px"},l),s=i({translateY:"0px"},s),u=!0):o.contains("hb-slide-down")&&(l=i({translateY:"0px"},l),s=i({translateY:"-150px"},s),u=!0),o.contains("hb-left-rotation")?(l=i({rotateY:"-90deg"},l),s=i({rotateY:"0deg"},s),u=!0):o.contains("hb-right-rotation")?(l=i({rotateY:"90deg"},l),s=i({rotateY:"0deg"},s),u=!0):o.contains("hb-up-rotation")?(l=i({rotateX:"-90deg"},l),s=i({rotateX:"0deg"},s),u=!0):o.contains("hb-down-rotation")&&(l=i({rotateX:"90deg"},l),s=i({rotateX:"0deg"},s),u=!0),o.contains("hb-fade-in")?(l=i({opacity:0},l),s=i({opacity:1},s),u=!0):o.contains("hb-fade-out")&&(l=i({opacity:1},l),s=i({opacity:0},s),u=!0),o.contains("hb-parallax-up")?(l=i({backgroundPosition:"0%"},l),s=i({backgroundPosition:"100%"},s),u=!0):o.contains("hb-parallax-down")&&(l=i({backgroundPosition:"100%"},l),s=i({backgroundPosition:"0%"},s),u=!0)),u&&new e({source:window,target:t}).scroll({indicator:r,duration:c,listener:"load",debug:p}).fromTo(l,s).easing({timing:d,duration:f?.5:.05,delay:0,cubicBezier:!1})}))}},function(e,t,n){"use strict";n.r(t);var o=n(1);t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-goup");e&&Array.prototype.forEach.call(e,(function(e){var t=e.querySelector("a"),n=window.getComputedStyle(t),a=t.offsetHeight+parseInt(n.marginBottom);t.style.top=-1*a+"px",e.style.display=window.pageYOffset<o.default.header.offsetHeight?"none":"block",window.addEventListener("scroll",(function(){e.style.display=window.pageYOffset>o.default.header.offsetHeight-1?"block":"none"}))}))}},function(e,t,n){"use strict";n.r(t);t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-godown > a, .wp-block-hayyabuild-goup > a");if(e){Math.easeInOutQuad=function(e,t,n,o){return(e/=o/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t};Array.prototype.forEach.call(e,(function(e){e.addEventListener("click",(function(t){t.preventDefault();var n,o,a,r,i,c,l=document.querySelector(e.hash),s=l?l.offsetTop:0;n=s,o=500,a=document.scrollingElement,r=a&&a.scrollTop||window.pageYOffset,i=n-r,c=0,function e(){c+=20;var t=Math.easeInOutQuad(c,r,i,o);window.scrollTo(0,t),c<o&&window.setTimeout(e,20)}()}))}))}}},function(e,t,n){"use strict";n.r(t);t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-duplesidebox");e&&Array.prototype.forEach.call(e,(function(e){var t=e.firstElementChild,n=t.firstElementChild,o=t.lastElementChild;if(t&&n&&o){"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch?e.addEventListener("touchstart",(function(t){e.classList.toggle("hover")})):(e.addEventListener("mouseover",(function(t){var n=e.getBoundingClientRect(),o=n.left.toFixed(0),a=o+e.offsetWidth,r=n.top.toFixed(0),i=r+e.offsetHeight,c="number"==typeof t.pageX?t.pageX:t.clientX,l="number"==typeof t.pageY?t.pageY:t.clientY;c>o&&c<a&&l>r&&l<i?e.classList.add("hover"):e.classList.remove("hover")})),e.addEventListener("mouseleave",(function(t){e.classList.remove("hover")})));var a=t.offsetWidth+1e3;e.style.perspective="".concat(a,"px")}}))}},function(e,t,n){"use strict";n.r(t);t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-doublesidedbox");e&&Array.prototype.forEach.call(e,(function(e){var t=e.firstElementChild,n=t.firstElementChild,o=t.lastElementChild;if(t&&n&&o){"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch?e.addEventListener("touchstart",(function(t){e.classList.toggle("hover")})):(e.addEventListener("mouseover",(function(t){var n=e.getBoundingClientRect(),o=n.left.toFixed(0),a=o+e.offsetWidth,r=n.top.toFixed(0),i=r+e.offsetHeight,c="number"==typeof t.pageX?t.pageX:t.clientX,l="number"==typeof t.pageY?t.pageY:t.clientY;c>o&&c<a&&l>r&&l<i?e.classList.add("hover"):e.classList.remove("hover")})),e.addEventListener("mouseleave",(function(t){e.classList.remove("hover")})));var a=t.offsetWidth+1e3;e.style.perspective="".concat(a,"px")}}))}},function(e,t,n){"use strict";n.r(t);t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-accordion");e&&Array.prototype.forEach.call(e,(function(e){var t=e.children;if(e&&e.classList.contains("wp-block-hayyabuild-accordion")){var n=e.classList.contains("hayyabuild-accordion--vertical");t&&Array.prototype.forEach.call(t,(function(o){var a=o.firstElementChild,r=o.lastElementChild,i=50*t.length;if("NaN"!==i&&(r.style.minWidth="".concat(e.scrollWidth-i,"px")),!o.classList.contains("hayyabuild-accordion__content--alwaysactive")&&a&&a.classList.contains("hayyabuild-accordion__content__header")&&r&&r.classList.contains("hayyabuild-accordion__content__body")){if(!n&&o.classList.contains("active")&&(r.style.maxHeight="".concat(r.scrollHeight,"px")),n){var c=!1;Array.prototype.forEach.call(t,(function(e,n){e.classList.contains("active")&&(c=!0),c||t.length!==n+1||e.classList.add("active")}))}a.addEventListener("click",(function(a){o.classList.contains("active")?(o.classList.remove("active"),n||(r.style.maxHeight=null)):(o.classList.add("active"),n||(r.style.maxHeight="".concat(r.scrollHeight,"px"))),e.classList.contains("hayyabuild-accordion--expandable")&&!n||Array.prototype.forEach.call(t,(function(e){e!==o&&(e.classList.remove("active"),n||(e.lastElementChild.style.maxHeight=null))}))}))}}))}}))}},function(e,t,n){"use strict";n.r(t);n(1);t.default=function(){var e=document.querySelectorAll(".wp-block-hayyabuild-tabs");e&&Array.prototype.forEach.call(e,(function(e){var t=e.firstElementChild,n=e.lastElementChild,o=!1;if(t||t.classList.contains("hayyabuild-tabs__tabs")||n||n.classList.contains("hayyabuild-tabs__content")){var a=t.querySelectorAll("li"),r=n.querySelectorAll(".hayyabuild-tabs__body"),i=0;a&&Array.prototype.forEach.call(a,(function(t,c){var l=t.firstElementChild,s=l.hash,u=n.querySelector(s),d=u.offsetHeight,f=u.clientHeight,p=i;!o&&t&&t.classList.contains("active")&&u&&(u.classList.add("active"),n.style.height="".concat(d,"px"),o=!0),l&&l.addEventListener("click",(function(o){o.preventDefault(),r&&Array.prototype.forEach.call(r,(function(e){e.id!==u.id&&(e.classList.remove("active"),e.style.height="0")})),a&&Array.prototype.forEach.call(a,(function(e){e.classList.remove("active")})),t.classList.add("active"),u&&u.classList.add("active"),n.style.height="".concat(d,"px"),u.style.height="".concat(f,"px"),e.classList.contains("hayyabuild-tabs--swipeup")?r[0].style.marginTop="-".concat(p,"px"):e.classList.contains("hayyabuild-tabs--swipeleft")&&(r[0].style.marginLeft="-".concat(100*c,"%"))})),i+=d})),r&&Array.prototype.forEach.call(r,(function(e){e.classList.contains("active")||(e.style.height="0")}))}}))}},function(e,t,n){"use strict";n.r(t);var o=n(1);t.default=function(){var e={},t=document.querySelectorAll(".wp-block-hayyabuild-modalbox");t&&Array.prototype.forEach.call(t,(function(t,n){e[n]=t})),e[0]&&function t(n){if(void 0!==e[n]){var a=e[n],r=a.id,i=a.querySelector(".hayyabuild-modalbox__body").querySelectorAll(".hayyabuild-modalbox__body__close, .hayyabuild-modalbox__close"),c=parseInt(a.dataset.remember),l=parseInt(a.dataset.delay),s=n+1;c&&"c"===o.default.getCookie(r)?t(s):(setTimeout((function(){return a.classList.add("active")}),1e3*l),i&&Array.prototype.forEach.call(i,(function(e,n){e.addEventListener("click",(function(e){e.preventDefault(),a.classList.remove("active"),t(s)}))})),c&&o.default.setCookie(r,c))}}(0)}},function(e,t,n){"use strict";n.r(t);n(1);t.default=function(){var e=document.querySelectorAll(".hayyabuild-gallerybox__container");e&&Array.prototype.forEach.call(e,(function(e){var t=e.parentNode,n=e.querySelectorAll("figure.hayyabuild-gallerybox__container__image"),o=e.querySelector(".hayyabuild-gallerybox__container__close"),a=e.querySelector(".hayyabuild-gallerybox__container__next"),r=e.querySelector(".hayyabuild-gallerybox__container__previous"),i=e.querySelectorAll("img"),c=t.classList.contains("hayyabuild-gallerybox--autoplay");if(i&&n){var l=function(t){(t.target.classList.contains("hayyabuild-gallerybox__container__close")||t.target.classList.contains("hayyabuild-gallerybox__container")||"Escape"===t.key)&&(e.classList.remove("active"),Array.prototype.forEach.call(n,(function(e){e.classList.remove("active"),e.style.display=""})),c&&d(!1))};Array.prototype.forEach.call(n,(function(t){t.addEventListener("click",(function(o){e.classList.contains("active")||(e.classList.add("active"),setTimeout((function(){t.classList.add("active"),Array.prototype.forEach.call(n,(function(e){return e.style.display="block"})),c&&d(!0)}),100))}))}));var s,u=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=n.length-1,o=0;Array.prototype.forEach.call(n,(function(e,t){e.classList.contains("active")&&(o=t)})),n[o].classList.remove("active"),o=e?++o:--o,n[o]||(o=e?0:t),n[o].classList.add("active")},d=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e?s=setInterval(u,5e3):clearInterval(s)};a.addEventListener("click",(function(){return u(!0)})),r.addEventListener("click",(function(){return u(!1)})),o&&o.addEventListener("click",l),document.addEventListener("keydown",(function(e){var t=e.key;"Escape"===t?l(e):"ArrowRight"===t||"ArrowUp"===t?(e.preventDefault(),u(!0)):"ArrowLeft"!==t&&"ArrowDown"!==t||(e.preventDefault(),u(!1))}))}}))}},function(e,t,n){"use strict";n.r(t);n(1);t.default=function(){var e=document.querySelectorAll(".hayyabuild-pricingtable");e&&Array.prototype.forEach.call(e,(function(e){function t(){var t,n,o=e.querySelectorAll(".hayyabuild-pricingtable__plan"),a=-1;o.length>0&&"function"==typeof o.forEach&&o.forEach((function(e){n=Math.ceil(e.getBoundingClientRect().top+window.scrollY+e.offsetHeight/2),e.classList.remove("hayyabuild-pricingtable__plan--first-in-line"),e.classList.remove("hayyabuild-pricingtable__plan--last-in-line"),n-5>a&&(e.classList.add("hayyabuild-pricingtable__plan--first-in-line"),void 0!==t&&void 0!==t.classList&&t.classList.add("hayyabuild-pricingtable__plan--last-in-line"),a=n),t=e}))}t(),window.addEventListener("resize",t)}))}}]);
Note: See TracChangeset
for help on using the changeset viewer.