Changeset 2333101
- Timestamp:
- 06/30/2020 09:31:03 PM (6 years ago)
- Location:
- hayyabuild
- Files:
-
- 4 edited
-
tags/2.2/admin/assets/js/hayyabuild.bundle.min.js (modified) (2 diffs)
-
tags/2.2/includes/class-hayyabuild-blocks.php (modified) (2 diffs)
-
trunk/admin/assets/js/hayyabuild.bundle.min.js (modified) (2 diffs)
-
trunk/includes/class-hayyabuild-blocks.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hayyabuild/tags/2.2/admin/assets/js/hayyabuild.bundle.min.js
r2333074 r2333101 1 !function(e){var t={};function a(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,a),o.l=!0,o.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)a.d(n,o,function(t){return e[t]}.bind(null,o));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s= 43)}([function(e,t,a){"use strict";a.r(t);var n=a(4),o=(a(5),a(1)),l=a.n(o);a(49);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){function t(){return r(this,t),s(this,u(t).apply(this,arguments))}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),a=t,(n=[{key:"render",value:function(){var e=this.props,t=e.title,a=e.iconClass,n=e.color,o=e.children;return l.a.createElement("fieldset",{className:"react-fieldset",style:{color:n,borderColor:n}},l.a.createElement("legend",null,void 0!==a&&l.a.createElement("i",{className:a})," ".concat(t)),o)}}])&&c(a.prototype,n),o&&c(a,o),t}(l.a.Component);a(51);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function b(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?y(Object(a),!0).forEach((function(t){h(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):y(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function h(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?E(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=wp.element.Component,x=wp,R=x.i18n.__,C=x.components,S=(C.ToggleControl,C.SelectControl,C.RangeControl,C.TextControl,x.editor.InspectorControls,x.blockEditor),O=(S.RichText,S.PanelColorSettings),N=S.__experimentalPanelColorGradientSettings,H=function(e){function t(){var e;m(this,t),(e=v(this,k(t).apply(this,arguments))).options={};var a,n=e.props.value;(n&&Object.keys(n).map((function(t){e.options[t]=n[t]})),e.options.backgroundImage&&0===e.options.backgroundImage.indexOf("url"))?e.imageURL=e.options.backgroundImage.replace('url("',"").replace('")',""):e.imageURL=null!==(a=e.options.backgroundImage)&&void 0!==a?a:"";return e.selectImages=e.selectImages.bind(E(e)),e.bgColor=e.bgColor.bind(E(e)),e.setGradient=e.setGradient.bind(E(e)),e.clearImage=e.clearImage.bind(E(e)),e.setStyle=e.setStyle.bind(E(e)),e.propsChange=e.propsChange.bind(E(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(t,e),a=t,(n=[{key:"selectImages",value:function(e){var t=this;e.preventDefault();var a=wp.media.frames.file_frame=wp.media({title:R("Choose Image","hayyabuild")});a.on("select",(function(){var e=a.state().get("selection").first().toJSON();t.options.backgroundImage="url(".concat(e.url,")"),t.imageURL=e.url,t.props.onChange(t.options)})),a.open()}},{key:"setStyle",value:function(e){if(e.currentTarget){var t=e.currentTarget.id,a=e.currentTarget.value;"backgroundImage"===t&&(this.imageURL=a,a=0===a.indexOf("radial-gradient")||0===a.indexOf("linear-gradient")?e.currentTarget.value:"url(".concat(e.currentTarget.value,")")),""===a||null==a?delete this.options[t]:("backgroundSize"===t&&"stretch"===a&&(a="100% 100%"),this.options[t]=a),this.propsChange(this.options)}}},{key:"bgColor",value:function(e){""===e||null==e?delete this.options.backgroundColor:this.options.backgroundColor=e,this.propsChange(this.options)}},{key:"setGradient",value:function(e){""===e||null==e?delete this.options.backgroundImage:(this.options.backgroundImage=e,this.imageURL=e),this.propsChange(this.options)}},{key:"clearImage",value:function(e){e.preventDefault(),this.imageURL=this.options.backgroundImage=this.options.backgroundSize=this.options.backgroundRepeat="",this.propsChange(this.options)}},{key:"propsChange",value:function(e){var t={};Object.keys(e).map((function(a){e[a]&&(t[a]=e[a])})),this.props.onChange(t)}},{key:"render",value:function(){var e=this,t="100% 100%"!==this.options.backgroundSize?this.options.backgroundSize:"stretch";return React.createElement("div",{className:"hayyabuild-background"},React.createElement((function(){if("function"==typeof N){var t=N;return React.createElement(t,{title:R("Background Color","hayyabuild"),settings:[{label:R("Background Color","hayyabuild"),colorValue:e.options.backgroundColor,onColorChange:e.bgColor,gradientValue:e.options.backgroundImage&&e.options.backgroundImage.indexOf("gradient")>-1?e.options.backgroundImage:"",onGradientChange:e.setGradient}]})}return React.createElement(O,{id:"backgroundColor",title:R("Background Color","hayyabuild"),initialOpen:!1,disableAlpha:!1,colorSettings:[{label:R("Background Color","hayyabuild"),value:e.options.backgroundColor,onChange:e.bgColor}]})}),null),React.createElement("div",{className:"hb_bg_button",style:b({},this.options)},React.createElement("a",{className:"bg_button",href:"#",onClick:this.selectImages},R("Select Image","hayyabuild")),React.createElement("a",{className:"remove",href:"#",onClick:this.clearImage},"x")),React.createElement("div",{className:"background-options"},React.createElement("select",{id:"backgroundSize",value:t,onChange:this.setStyle},React.createElement("option",{value:""},R("Background size","hayyabuild")),React.createElement("option",{value:"stretch"},R("stretch","hayyabuild")),React.createElement("option",{value:"cover"},R("Cover","hayyabuild")),React.createElement("option",{value:"contain"},R("Contain","hayyabuild")),React.createElement("option",{value:"initial"},R("Initial","hayyabuild"))),React.createElement("select",{id:"backgroundRepeat",value:this.options.backgroundRepeat,onChange:this.setStyle},React.createElement("option",{value:""},R("Background repeat","hayyabuild")),React.createElement("option",{value:"repeat"},R("Repeat","hayyabuild")),React.createElement("option",{value:"repeat-x"},R("Repeat X","hayyabuild")),React.createElement("option",{value:"repeat-y"},R("Repeat Y","hayyabuild")),React.createElement("option",{value:"no-repeat"},R("No repeat","hayyabuild")))),React.createElement("label",{htmlFor:"backgroundImage",id:"label-backgroundImage"},R("Add image URL or gradient color value","hayyabuild")),React.createElement("input",{id:"backgroundImage",className:"bg_image",type:"text",value:this.imageURL,placeholder:R("Background Image","hayyabuild"),onChange:this.setStyle}))}}])&&g(a.prototype,n),o&&g(a,o),t}(_);function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function B(e,t){return!t||"object"!==I(t)&&"function"!=typeof t?F(e):t}function M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P=wp,A=P.i18n.__,D=P.element.Fragment,V=P.components.RangeControl,q=P.blockEditor.PanelColorSettings,U=wp.element.Component,W=["padding","paddingRight","paddingTop","paddingLeft","paddingBottom","margin","marginRight","marginTop","marginLeft","marginBottom","borderWidth","borderRightWidth","borderTopWidth","borderLeftWidth","borderBottomWidth","borderColor","borderStyle","borderRadius","fontSize","color","opacity","backgroundColor","backgroundImage","backgroundRepeat","backgroundSize"],K=function(e){function t(){var e;z(this,t),(e=B(this,M(t).apply(this,arguments))).options={},e.background={};var a=e.getValue(),n=e.styleToObject(a),o={backgroundColor:!0,backgroundImage:!0,backgroundRepeat:!0,backgroundSize:!0};return n&&Object.keys(n).map((function(t){e.options[t]=n[t],o[t]&&(e.background[t]=n[t])})),e.units={marginUnit:e.getUnit(e.options.marginTop)||"px",paddingUnit:e.getUnit(e.options.paddingTop)||"px",radiusUnit:e.getUnit(e.options.borderRadius)||"px",fontSizeUnit:e.getUnit(e.options.fontSize)||"px"},e.options.borderBottomWidth||e.options.borderLeftWidth||e.options.borderRightWidth||e.options.borderTopWidth?e.border=!0:e.border=!1,e.setOption=e.setOption.bind(F(e)),e.bgChange=e.bgChange.bind(F(e)),e.onEvent=e.onEvent.bind(F(e)),e.propsChange=e.propsChange.bind(F(e)),e.changeUnit=e.changeUnit.bind(F(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}(t,e),a=t,(n=[{key:"setOption",value:function(e,t){""===e||null==e?delete this.options[t]:this.options[t]=e,this.options.borderBottomWidth||this.options.borderLeftWidth||this.options.borderRightWidth||this.options.borderTopWidth?this.border=!0:(delete this.options.borderStyle,delete this.options.borderColor,this.border=!1),this.propsChange()}},{key:"onEvent",value:function(e){var t=e.currentTarget.value,a=e.currentTarget.id;this.setOption(t,a)}},{key:"bgChange",value:function(e){var t=this;e&&(Object.keys({backgroundColor:!0,backgroundImage:!0,backgroundRepeat:!0,backgroundSize:!0}).map((function(e){delete t.options[e]})),Object.keys(e).map((function(a){e[a]?t.options[a]=e[a]:delete t.options[a]}))),this.propsChange()}},{key:"propsChange",value:function(){var e=this,t=this.options,a={};Object.keys(t).map((function(n){""!==t[n]&&null!==t[n]&&void 0!==t[n]&&(a[n]=t[n],e.removeUnit(t[n])&&(n.indexOf("margin")>-1?a[n]=e.removeUnit(t[n])+e.units.marginUnit:n.indexOf("padding")>-1?a[n]=e.removeUnit(t[n])+e.units.paddingUnit:n.indexOf("radius")>-1?a[n]=e.removeUnit(t[n])+e.units.radiusUnit:n.indexOf("fontSize")>-1?a[n]=e.removeUnit(t[n])+e.units.fontSizeUnit:n.indexOf("border")>-1&&"borderColor"!==n&&(a[n]=e.removeUnit(t[n])+"px")))}));var n=document.getElementById("hayyabuild_inline_style"),o=n.value,l={};if(o&&"null"!==o)try{l=JSON.parse(o)}catch(e){return console.log("ERRoR1: cona`t parse tyle:",e),!1}this.props.elementID&&this.props.elementStyle&&(l[this.props.elementID]={element:this.props.elementStyle,style:this.styleToString(a)},n.value=JSON.stringify(l),this.setState({justUpdate:"id"}))}},{key:"getValue",value:function(){var e,t=document.getElementById("hayyabuild_inline_style");if(!t.value)return"";try{e=JSON.parse(t.value)}catch(e){return console.log("ERRoR2: cona`t parse tyle:",e),!1}var a=this.props.elementID&&e?e[this.props.elementID]:{};return a&&"string"==typeof a.style?a.style:{}}},{key:"addUnit",value:function(e,t){return(e=parseFloat(e))&&"NaN"!==e?e+t:""}},{key:"getUnit",value:function(e){return e&&e.replace?e.replace(/\d+|^\s+|\s+$/g,"").replace(/\./g,""):""}},{key:"removeUnit",value:function(e){if(e){var t=parseFloat(e);return"undefined"!==t?t:""}}},{key:"changeUnit",value:function(e){this.units[e.currentTarget.id]=e.currentTarget.value,this.propsChange()}},{key:"unitsHTML",value:function(e,t){return React.createElement("select",{id:e,className:"unit",value:this.getUnit(t),onChange:this.changeUnit},React.createElement("option",{value:"px"},"px"),React.createElement("option",{value:"em"},"em"),React.createElement("option",{value:"rem"},"rem"),"fontSizeUnit"!==e&&React.createElement(D,null,React.createElement("option",{value:"%"},"%")))}},{key:"styleToObject",value:function(e){if(e){if("object"===I(e))return e;var t={},a=document.createElement("I");a.setAttribute("style",e);var n=a.style;return a.remove(),W.forEach((function(e){e&&n[e]&&(t[e]=n[e])})),t}}},{key:"styleToString",value:function(e){var t,a=document.createElement("I");return Object.keys(e).map((function(t){a.style[t]=e[t]})),t=a.getAttribute("style"),a.remove(),t}},{key:"render",value:function(){var e=this,t=this.options,a=t.marginTop,n=t.borderStyle,o=t.marginRight,l=t.marginBottom,i=t.marginLeft,r=t.borderTopWidth,c=t.borderRightWidth,s=t.borderBottomWidth,u=t.borderLeftWidth,f=t.paddingTop,p=t.paddingRight,y=t.paddingBottom,b=t.paddingLeft,h=this.options,m=h.borderColor,g=h.borderRadius,v=h.fontSize,k=h.color,E=h.opacity,w=this.units,_=w.marginUnit,x=w.paddingUnit,R=w.radiusUnit,C=w.fontSizeUnit;return React.createElement("div",{className:"hayyabuild-styles"},React.createElement("div",null,React.createElement(d,{key:"layoutoptions",title:A("Layout options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement("div",{className:"layout"},React.createElement("div",{className:"margin"},React.createElement("label",{htmlFor:"marginTop"},A("Margin","hayyabuild")),React.createElement("input",{id:"marginTop",min:"-1000",max:"1000",type:"number",className:"margin_top",value:this.removeUnit(a),onChange:this.onEvent}),this.unitsHTML("marginUnit",_),React.createElement("input",{id:"marginRight",min:"-1000",max:"1000",type:"number",className:"margin_right",value:this.removeUnit(o),onChange:this.onEvent}),React.createElement("input",{id:"marginBottom",min:"-1000",max:"1000",type:"number",className:"margin_bottom",value:this.removeUnit(l),onChange:this.onEvent}),React.createElement("input",{id:"marginLeft",min:"-1000",max:"1000",type:"number",className:"margin_left",value:this.removeUnit(i),onChange:this.onEvent}),React.createElement("div",{className:"border"},React.createElement("label",{htmlFor:"borderTopWidth"},A("Border","hayyabuild")),React.createElement("input",{id:"borderTopWidth",min:"0",max:"20",type:"number",className:"border_top_width",value:this.removeUnit(r),onChange:this.onEvent}),React.createElement("span",{className:"unit"},"PX"),React.createElement("input",{id:"borderRightWidth",min:"0",max:"20",type:"number",className:"border_right_width",value:this.removeUnit(c),onChange:this.onEvent}),React.createElement("input",{id:"borderBottomWidth",min:"0",max:"20",type:"number",className:"border_bottom_width",value:this.removeUnit(s),onChange:this.onEvent}),React.createElement("input",{id:"borderLeftWidth",min:"0",max:"20",type:"number",className:"border_left_width",value:this.removeUnit(u),onChange:this.onEvent}),React.createElement("div",{className:"padding"},React.createElement("label",{htmlFor:"paddingTop"},A("Padding","hayyabuild")),React.createElement("input",{id:"paddingTop",min:"0",max:"1000",type:"number",className:"padding_top",value:this.removeUnit(f),onChange:this.onEvent}),this.unitsHTML("paddingUnit",x),React.createElement("input",{id:"paddingRight",min:"0",max:"1000",type:"number",className:"padding_right",value:this.removeUnit(p),onChange:this.onEvent}),React.createElement("input",{id:"paddingBottom",min:"0",max:"1000",type:"number",className:"padding_bottom",value:this.removeUnit(y),onChange:this.onEvent}),React.createElement("input",{id:"paddingLeft",min:"0",max:"1000",type:"number",className:"padding_left",value:this.removeUnit(b),onChange:this.onEvent}),React.createElement("div",{className:"content"})))))),React.createElement(d,{key:"borderoptions",title:A("Border options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(V,{label:A("Border radius","hayyabuild"),id:"fontSize",className:"with_unit",value:this.removeUnit(g),onChange:function(t){return e.setOption(t,"borderRadius")},min:0,max:100}),React.createElement("div",{className:"unit_container for_range"},this.unitsHTML("radiusUnit",R)),this.border&&React.createElement("div",null,React.createElement(q,{id:"borderColor",title:A("Border color","hayyabuild"),initialOpen:!1,disableAlpha:!1,colorSettings:[{label:A("Border Color","hayyabuild"),value:m,onChange:function(t){return e.setOption(t,"borderColor")}}]}),React.createElement("select",{id:"borderStyle",value:n,onChange:this.onEvent},React.createElement("option",{value:""},A("Border style","hayyabuild")),React.createElement("option",{value:"solid"},A("Solid","hayyabuild")),React.createElement("option",{value:"dashed"},A("Dashed","hayyabuild")),React.createElement("option",{value:"dotted"},A("Dotted","hayyabuild")),React.createElement("option",{value:"double"},A("Double","hayyabuild")),React.createElement("option",{value:"groove"},A("Groove","hayyabuild")),React.createElement("option",{value:"ridge"},A("Ridge","hayyabuild")))))),React.createElement("div",null,React.createElement(d,{key:"fontoptions",title:A("Font options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(V,{label:A("Font size","hayyabuild"),id:"fontSize",className:"with_unit",value:this.removeUnit(v),onChange:function(t){return e.setOption(t,"fontSize")},min:0,max:100}),React.createElement("div",{className:"unit_container for_range"},this.unitsHTML("fontSizeUnit",C)),React.createElement(q,{id:"fontColor",title:A("Text color","hayyabuild"),initialOpen:!1,colorSettings:[{label:A("Text Color","hayyabuild"),value:k,onChange:function(t){return e.setOption(t,"color")}}]})),React.createElement(d,{key:"Opacity",title:A("Opacity","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(V,{label:A("Opacity","hayyabuild"),id:"opacity",value:E,onChange:function(t){return e.setOption(t,"opacity")},min:0,max:1,step:.01})),React.createElement(d,{key:"backgroundoptions",title:A("Background options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(H,{value:this.background,onChange:function(t){return e.bgChange(t)}}))))}}])&&T(a.prototype,n),o&&T(a,o),t}(U);function G(e){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z(e,t){return!t||"object"!==G(t)&&"function"!=typeof t?J(e):t}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X(e,t){return(X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ee=wp,te=ee.i18n.__,ae=ee.components.RangeControl,ne={visibility:te("Visibility Options","hayyabuild"),scroll:te("Scrollin Options","hayyabuild"),hover:te("Hovering Options","hayyabuild"),other:te("Other Options","hayyabuild")},oe={visibility:{SM:{visibleSM:["hb-visible-sm",te("Visible on small screen","hayyabuild")],hiddenSM:["hb-hidden-sm",te("Hidden on small screen","hayyabuild")]},MD:{visibleMD:["hb-visible-md",te("Visible on medium screen","hayyabuild")],hiddenMD:["hb-hidden-md",te("Hidden on medium screen","hayyabuild")]},LG:{visibleLG:["hb-visible-lg",te("Visible on large screen","hayyabuild")],hiddenLG:["hb-hidden-lg",te("Hidden on large screen","hayyabuild")]},XLG:{visibleXLG:["hb-visible-xlg",te("Visible on extra large screen","hayyabuild")],hiddenXLG:["hb-hidden-xlg",te("Hidden on extra large screen","hayyabuild")]}},scroll:{scale:{scaleIn:["hb-scale-in",te("Scale in","hayyabuild")],scaleOut:["hb-scale-out",te("Scale out","hayyabuild")]},slideX:{slideRight:["hb-slide-left",te("Slide left","hayyabuild")],slideLeft:["hb-slide-right",te("Slide right","hayyabuild")]},slideY:{slideUp:["hb-slide-up",te("Slide up","hayyabuild")],slideDown:["hb-slide-down",te("Slide down","hayyabuild")]},fade:{fadeIn:["hb-fade-in",te("Fade in","hayyabuild")],fadeOut:["hb-fade-out",te("Fade out","hayyabuild")]},rotation:{rightRotation:["hb-left-rotation",te("Left rotation","hayyabuild")],leftRotation:["hb-right-rotation",te("Right rotation","hayyabuild")]},uprotation:{upRotation:["hb-up-rotation",te("Up rotation","hayyabuild")],downRotation:["hb-down-rotation",te("Down rotation","hayyabuild")]},parallax:{fixedBackground:["hb-fixed-bg",te("Fixed background","hayyabuild")],parallaxUp:["hb-parallax-up",te('Parallax background "Up"',"hayyabuild")],parallaxDown:["hb-parallax-down",te('Parallax background "DWON"',"hayyabuild")]}},hover:{zoom:{zoomBgIn:["hb-hover-bg-zoomin",te("Background Zoom-in","hayyabuild")],zoomBgOut:["hb-hover-bg-zoomout",te("Background Zoom-out","hayyabuild")]},shadow:{boxShadow:["hb-hover-shadow",te("Draw Shadow","hayyabuild")]},scale:{hoveScaleIn:["hb-hover-scalein",te("Scale in","hayyabuild")],hoveScaleOut:["hb-hover-scaleout",te("Scale out","hayyabuild")]},visibility:{opacityInc:["hb-hover-visibility-inc",te("Increase visibility","hayyabuild")],opacityDec:["hb-hover-visibility-dec",te("Reduction visibility","hayyabuild")]}},other:{align:{textLeft:["text-left",te("Align left","hayyabuild")],textRight:["text-right",te("Align right","hayyabuild")],textCenter:["text-center",te("Align center","hayyabuild")],textJustify:["text-justify",te("Align justify","hayyabuild")]},sizeAlign:{centerSM:["center-sm",te("Align content to center on small device","hayyabuild")],centerMD:["center-md",te("Align content to center on medium device","hayyabuild")],centerLG:["center-lg",te("Align content to center on large device","hayyabuild")]}}},le={};Object.keys(oe).map((function(e){Object.keys(oe[e]).map((function(t){Object.keys(oe[e][t]).map((function(a){le[a]=oe[e][t][a][0]}))}))}));var ie=function(e){function t(){var e;if($(this,t),(e=Z(this,Y(t).apply(this,arguments))).options={lite:e.props.lite},Object.keys(le).map((function(t){e.props.value&&(e.options[t]=e.props.value.indexOf(le[t])>-1)})),e.props.value&&"string"==typeof e.props.value){var a=e.props.value.split(" ");a&&"function"==typeof a.map&&a.map((function(t){t.indexOf("hb-scroll_duration_")>-1?e.options.scrollDuration=parseInt(t.replace("hb-scroll_duration_","")):t.indexOf("hb-scroll_easing_")>-1&&(e.options.scrollEasing=t.replace("hb-scroll_easing_",""))}))}return e.setClasses=e.setClasses.bind(J(e)),e.onChangeToggle=e.onChangeToggle.bind(J(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X(e,t)}(t,e),a=t,(n=[{key:"setClasses",value:function(){var e=this,t=[];Object.keys(this.options).map((function(a){!0===e.options[a]&&t.push(le[a])})),void 0!==this.options.scrollDuration&&70!==this.options.scrollDuration&&t.push("hb-scroll_duration_"+this.options.scrollDuration),this.options.scrollEasing&&t.push("hb-scroll_easing_"+this.options.scrollEasing),this.props.onChange(t)}},{key:"onChangeToggle",value:function(e){var t=this;if("undefined"!==e){if("number"==typeof e){var a=100*(e/100).toFixed(2);this.options.scrollDuration=a}else{var n=e.currentTarget,o=n.id,l=e.currentTarget.value,i=n.checked,r=n.attributes.classgroup.value;le[o]?(this.options[o]=i,Object.keys(oe[r]).map((function(e){"sizeAlign"!==e&&oe[r][e][o]&&Object.keys(oe[r][e]).map((function(e){o!==e&&(t.options[e]=!1)}))}))):"scrollEasing"===o&&"undefined"!==l&&(this.options.scrollEasing=l)}this.setClasses()}}},{key:"scrollOptions",value:function(){var e=this.options,t=e.scrollDuration,a=e.scrollEasing;return React.createElement("div",{className:"scroll-options"},React.createElement(ae,{label:te("Scroll duration","hayyabuild"),id:"scrollDuration",className:"scroll_duration",classgroup:"scroll",value:t||70,onChange:this.onChangeToggle,min:0,max:100,step:5}),React.createElement("select",{id:"scrollEasing",value:a,classgroup:"scroll",onChange:this.onChangeToggle},React.createElement("option",{value:""},te("Select Easing","hayyabuild")),React.createElement("option",{value:"ease"},"ease"),React.createElement("option",{value:"linear"},"linear"),React.createElement("option",{value:"ease-in"},"ease-in"),React.createElement("option",{value:"ease-out"},"ease-out"),React.createElement("option",{value:"ease-in-out"},"ease-in-out"),React.createElement("option",{value:"easeInQuad"},"easeInQuad"),React.createElement("option",{value:"easeInCubic"},"easeInCubic"),React.createElement("option",{value:"easeInQuart"},"easeInQuart"),React.createElement("option",{value:"easeInQuint"},"easeInQuint"),React.createElement("option",{value:"easeInSine"},"easeInSine"),React.createElement("option",{value:"easeInExpo"},"easeInExpo"),React.createElement("option",{value:"easeInCirc"},"easeInCirc"),React.createElement("option",{value:"easeInBack"},"easeInBack"),React.createElement("option",{value:"easeOutQuad"},"easeOutQuad"),React.createElement("option",{value:"easeOutCubic"},"easeOutCubic"),React.createElement("option",{value:"easeOutQuart"},"easeOutQuart"),React.createElement("option",{value:"easeOutQuint"},"easeOutQuint"),React.createElement("option",{value:"easeOutSine"},"easeOutSine"),React.createElement("option",{value:"easeOutExpo"},"easeOutExpo"),React.createElement("option",{value:"easeOutCirc"},"easeOutCirc"),React.createElement("option",{value:"easeOutBack"},"easeOutBack"),React.createElement("option",{value:"easeInOutQuad"},"easeInOutQuad"),React.createElement("option",{value:"easeInOutCubic"},"easeInOutCubic"),React.createElement("option",{value:"easeInOutQuart"},"easeInOutQuart"),React.createElement("option",{value:"easeInOutQuint"},"easeInOutQuint"),React.createElement("option",{value:"easeInOutSine"},"easeInOutSine"),React.createElement("option",{value:"easeInOutExpo"},"easeInOutExpo"),React.createElement("option",{value:"easeInOutCirc"},"easeInOutCirc"),React.createElement("option",{value:"easeInOutBack"},"easeInOutBack")))}},{key:"render",value:function(){var e=this,t=this.props.lite;return Math.floor(999*Math.random()+111),React.createElement("div",{className:"hayyabuild-classes"},Object.keys(oe).map((function(a){return React.createElement(d,{key:a,title:ne[a],iconClass:"fa fa-search-plus"},"visibility"===a||"other"===a||!0===t.scroll&&"scroll"===a||!0===t.hover&&"hover"===a?React.createElement("div",null,"scroll"===a&&e.scrollOptions(),Object.keys(oe[a]).map((function(t){var n=oe[a][t];return Object.keys(n).map((function(t){var o=n[t];return React.createElement("div",{key:"div-".concat(t),className:"options-checkbox"},React.createElement("input",{key:t,id:t,name:t,type:"checkbox",classgroup:a,checked:!!e.options[t],onChange:e.onChangeToggle}),React.createElement("label",{key:"label-".concat(t),htmlFor:t},o[1]))}))}))):React.createElement(vt.getPro,{list:!0}))})))}}])&&Q(a.prototype,n),o&&Q(a,o),t}(wp.element.Component);a(53);function re(e){return(re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ue(e,t){return!t||"object"!==re(t)&&"function"!=typeof t?de(e):t}function fe(e){return(fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function de(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}wp.i18n.__;var ye=wp.element,be=ye.Fragment,he=function(e){function t(){var e;return ce(this,t),(e=ue(this,fe(t).apply(this,arguments))).options={classesList:e.props.value.classesList,inlineStyle:e.props.value.inlineStyle},void 0===e.props.lite?e.options.lite={style:!1,scroll:!1,hover:!1}:e.options.lite={style:e.props.lite.style||!1,scroll:e.props.lite.scroll||!1,hover:e.props.lite.hover||!1},e.setValue=e.setValue.bind(de(e)),e}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pe(e,t)}(t,e),a=t,(o=[{key:"setValue",value:function(){for(var e=this.options.classesList||[],t=0,a=["hb-scale-in","hb-scale-out","hb-slide-right","hb-slide-left","hb-slide-up","hb-slide-down","hb-fade-in","hb-fade-out","hb-right-rotation","hb-left-rotation","hb-up-rotation","hb-down-rotation","hb-fixed-bg","hb-parallax-up","hb-parallax-down"];t<a.length;t++){var n=a[t];if(e.indexOf(n)>-1){this.options.classesList.push("hayya-scrolleffects");break}}var o={classesList:e.join(" "),inlineStyle:this.options.inlineStyle};this.props.onChange(o)}},{key:"render",value:function(){var e=this,t=this.options,a=t.classesList,o=(t.inlineStyle,t.lite);return React.createElement(be,null,React.createElement(n.a,{title:this.props.optionsTitle,iconClass:this.props.icon,appendTo:"editor",onOpen:vt.optionsModalOpened,onClose:vt.optionsModalClosed},React.createElement(ie,{value:a,onChange:function(t){e.options.classesList=t,e.setValue()},lite:o})),void 0!==this.options.inlineStyle&&React.createElement(be,null,!0===o.style?React.createElement(n.a,{title:this.props.styleTitle,iconClass:this.props.icon,appendTo:"editor",onOpen:vt.optionsModalOpened,onClose:vt.optionsModalClosed},React.createElement("div",null,React.createElement(K,{elementStyle:this.props.elementStyle,elementID:this.props.elementID}))):""))}}])&&se(a.prototype,o),l&&se(a,l),t}(ye.Component),me=a(11),ge=a.n(me);function ve(e){return(ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ke(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Ee(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function we(e,t){var a=e["page".concat(t?"Y":"X","Offset")],n="scroll".concat(t?"Top":"Left");if("number"!=typeof a){var o=e.document;"number"!=typeof(a=o.documentElement[n])&&(a=o.body[n])}return a}function _e(e){return we(e)}function xe(e){return we(e,!0)}function Re(e){var t=function(e){var t,a,n,o=e.ownerDocument,l=o.body,i=o&&o.documentElement;return a=(t=e.getBoundingClientRect()).left,n=t.top,{left:a-=i.clientLeft||l.clientLeft||0,top:n-=i.clientTop||l.clientTop||0}}(e),a=e.ownerDocument,n=a.defaultView||a.parentWindow;return t.left+=_e(n),t.top+=xe(n),t}var Ce,Se=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),Oe=/^(top|right|bottom|left)$/;function Le(e,t){for(var a=0;a<e.length;a++)t(e[a])}function Ne(e){return"border-box"===Ce(e,"boxSizing")}"undefined"!=typeof window&&(Ce=window.getComputedStyle?function(e,t,a){var n="",o=e.ownerDocument,l=a||o.defaultView.getComputedStyle(e,null);return l&&(n=l.getPropertyValue(t)||l[t]),n}:function(e,t){var a=e.currentStyle&&e.currentStyle[t];if(Se.test(a)&&!Oe.test(t)){var n=e.style,o=n.left,l=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left,n.left="fontSize"===t?"1em":a||0,a=n.pixelLeft+"px",n.left=o,e.runtimeStyle.left=l}return""===a?"auto":a});var He=["margin","border","padding"];function Ie(e,t,a){var n,o={},l=e.style;for(n in t)t.hasOwnProperty(n)&&(o[n]=l[n],l[n]=t[n]);for(n in a.call(e),t)t.hasOwnProperty(n)&&(l[n]=o[n])}function ze(e,t,a){var n,o,l,i=0;for(o=0;o<t.length;o++)if(n=t[o])for(l=0;l<a.length;l++){var r=void 0;r="border"===n?"".concat(n+a[l],"Width"):n+a[l],i+=parseFloat(Ce(e,r))||0}return i}function Te(e){return null!=e&&e==e.window}var Be={};function Me(e,t,a){if(Te(e))return"width"===t?Be.viewportWidth(e):Be.viewportHeight(e);if(9===e.nodeType)return"width"===t?Be.docWidth(e):Be.docHeight(e);var n="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,l=(Ce(e),Ne(e)),i=0;(null==o||o<=0)&&(o=void 0,(null==(i=Ce(e,t))||Number(i)<0)&&(i=e.style[t]||0),i=parseFloat(i)||0),void 0===a&&(a=l?1:-1);var r=void 0!==o||l,c=o||i;if(-1===a)return r?c-ze(e,["border","padding"],n):i;if(r){var s=2===a?-ze(e,["border"],n):ze(e,["margin"],n);return c+(1===a?0:s)}return i+ze(e,He.slice(a),n)}Le(["Width","Height"],(function(e){Be["doc".concat(e)]=function(t){var a=t.document;return Math.max(a.documentElement["scroll".concat(e)],a.body["scroll".concat(e)],Be["viewport".concat(e)](a))},Be["viewport".concat(e)]=function(t){var a="client".concat(e),n=t.document,o=n.body,l=n.documentElement[a];return"CSS1Compat"===n.compatMode&&l||o&&o[a]||l}}));var Fe={position:"absolute",visibility:"hidden",display:"block"};function je(e){var t,a=arguments;return 0!==e.offsetWidth?t=Me.apply(void 0,a):Ie(e,Fe,(function(){t=Me.apply(void 0,a)})),t}function Pe(e,t,a){var n=a;if("object"!==ve(t))return void 0!==n?("number"==typeof n&&(n+="px"),void(e.style[t]=n)):Ce(e,t);for(var o in t)t.hasOwnProperty(o)&&Pe(e,o,t[o])}Le(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);Be["outer".concat(t)]=function(t,a){return t&&je(t,e,a?0:1)};var a="width"===e?["Left","Right"]:["Top","Bottom"];Be[e]=function(t,n){if(void 0===n)return t&&je(t,e,-1);if(t){Ce(t);return Ne(t)&&(n+=ze(t,["padding","border"],a)),Pe(t,e,n)}}}));var Ae=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ee(a,!0).forEach((function(t){ke(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ee(a).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return Re(e);!function(e,t){"static"===Pe(e,"position")&&(e.style.position="relative");var a,n,o=Re(e),l={};for(n in t)t.hasOwnProperty(n)&&(a=parseFloat(Pe(e,n))||0,l[n]=a+t[n]-o[n]);Pe(e,l)}(e,t)},isWindow:Te,each:Le,css:Pe,clone:function(e){var t={};for(var a in e)e.hasOwnProperty(a)&&(t[a]=e[a]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(Te(e)){if(void 0===t)return _e(e);window.scrollTo(t,xe(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(Te(e)){if(void 0===t)return xe(e);window.scrollTo(_e(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},Be);var De=function(e,t,a){a=a||{},9===t.nodeType&&(t=Ae.getWindow(t));var n=a.allowHorizontalScroll,o=a.onlyScrollIfNeeded,l=a.alignWithTop,i=a.alignWithLeft,r=a.offsetTop||0,c=a.offsetLeft||0,s=a.offsetBottom||0,u=a.offsetRight||0;n=void 0===n||n;var f,d,p,y,b,h,m,g,v,k,E=Ae.isWindow(t),w=Ae.offset(e),_=Ae.outerHeight(e),x=Ae.outerWidth(e);E?(m=t,k=Ae.height(m),v=Ae.width(m),g={left:Ae.scrollLeft(m),top:Ae.scrollTop(m)},b={left:w.left-g.left-c,top:w.top-g.top-r},h={left:w.left+x-(g.left+v)+u,top:w.top+_-(g.top+k)+s},y=g):(f=Ae.offset(t),d=t.clientHeight,p=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},b={left:w.left-(f.left+(parseFloat(Ae.css(t,"borderLeftWidth"))||0))-c,top:w.top-(f.top+(parseFloat(Ae.css(t,"borderTopWidth"))||0))-r},h={left:w.left+x-(f.left+p+(parseFloat(Ae.css(t,"borderRightWidth"))||0))+u,top:w.top+_-(f.top+d+(parseFloat(Ae.css(t,"borderBottomWidth"))||0))+s}),b.top<0||h.top>0?!0===l?Ae.scrollTop(t,y.top+b.top):!1===l?Ae.scrollTop(t,y.top+h.top):b.top<0?Ae.scrollTop(t,y.top+b.top):Ae.scrollTop(t,y.top+h.top):o||((l=void 0===l||!!l)?Ae.scrollTop(t,y.top+b.top):Ae.scrollTop(t,y.top+h.top)),n&&(b.left<0||h.left>0?!0===i?Ae.scrollLeft(t,y.left+b.left):!1===i?Ae.scrollLeft(t,y.left+h.left):b.left<0?Ae.scrollLeft(t,y.left+b.left):Ae.scrollLeft(t,y.left+h.left):o||((i=void 0===i||!!i)?Ae.scrollLeft(t,y.left+b.left):Ae.scrollLeft(t,y.left+h.left)))};a(56);function Ve(e,t,a,n,o,l,i){try{var r=e[l](i),c=r.value}catch(e){return void a(e)}r.done?t(c):Promise.resolve(c).then(n,o)}function qe(e){return(qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ke(e,t){return!t||"object"!==qe(t)&&"function"!=typeof t?$e(e):t}function Ge(e){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ze=wp,Ye=Ze.i18n.__,Je=Ze.element.Fragment,Xe=Ze.components,et=(Xe.PanelBody,Xe.ToggleControl),tt=Xe.RangeControl,at=(Xe.SelectControl,Xe.TextareaControl),nt=(Ze.editor.AlignmentToolbar,Ze.blockEditor),ot=nt.ColorPalette,lt=(nt.InspectorControls,Ze.blockEditor.InnerBlocks,function(e){function t(){var e;return Ue(this,t),(e=Ke(this,Ge(t).apply(this,arguments))).state={id:e.props.id,zoom:e.props.zoom,latitude:e.props.latitude,longitude:e.props.longitude,markers:e.props.markers,isChanged:!1,isfullScreen:!1,eventListener:!1},e.editMarkerRef=l.a.createRef(),e.containerRef=l.a.createRef(),e.mapRef=l.a.createRef(),e.loadingContainerRef=l.a.createRef(),e.fullScreen=e.fullScreen.bind($e(e)),e.loadMap=e.loadMap.bind($e(e)),e.saveMap=e.saveMap.bind($e(e)),e.addMarker=e.addMarker.bind($e(e)),e.updateMap=e.updateMap.bind($e(e)),e.markerIcon=e.markerIcon.bind($e(e)),e.editMarker=e.editMarker.bind($e(e)),e.closeEditor=e.closeEditor.bind($e(e)),e.saveChanges=e.saveChanges.bind($e(e)),e.removeMarker=e.removeMarker.bind($e(e)),e.markerChange=e.markerChange.bind($e(e)),e.markerDragged=e.markerDragged.bind($e(e)),e.createMapProps=e.createMapProps.bind($e(e)),e}var a,n,o,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(t,e),a=t,(n=[{key:"componentDidMount",value:function(){var e=this.props.clientId;this.extentNode=document.querySelector('[data-block="'+e+'"]'),this.scrollContainer=wp.dom.getScrollContainer(this.extentNode),this.createMapProps()}},{key:"componentDidUpdate",value:function(){this.loadMap()}},{key:"fullScreen",value:function(){var e=this;Element.prototype.requestFullscreen||(Element.prototype.requestFullscreen=Element.prototype.mozRequestFullscreen||Element.prototype.webkitRequestFullscreen||Element.prototype.msRequestFullscreen),document.exitFullscreen||(document.exitFullscreen=document.mozExitFullscreen||document.webkitExitFullscreen||document.msExitFullscreen);var t=this.containerRef.current,a=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement};return this.state.eventListener||(t.addEventListener("fullscreenchange",(function(){a()?(t.parentElement.classList.add("fullScreen-activated"),e.scrollContainer.style.overflow="hidden",De(e.extentNode,e.scrollContainer,{offsetTop:-300,alignWithLeft:!0,alignWithTop:!0})):(t.parentElement.classList.remove("fullScreen-activated"),e.scrollContainer.style.overflow=null)})),this.setState({eventListener:!0})),new Promise((function(e,n){a()?document.exitFullscreen&&document.exitFullscreen():t.requestFullscreen&&t.requestFullscreen()}))}},{key:"componentWillUnmount",value:function(){}},{key:"createMapProps",value:function(){var e=this.props.attrs,t=e.id,a=e.zoom,n=e.latitude,o=e.longitude,l=e.markers;if(t&&n&&o&&a){"object"!==qe(window.HayyaBuild.openstreetmap)&&(window.HayyaBuild.openstreetmap={},window.HayyaBuild.openstreetmap.list={});var i=window.HayyaBuild.openstreetmap[t];i||((i=document.createElement("div")).innerHTML=l,i.setAttribute("data-zoom",a),i.setAttribute("data-latitude",n),i.setAttribute("data-longitude",o));var r=i.querySelectorAll(".hayyabuild-map-marker");r&&r.forEach((function(e,t){e.setAttribute("data-key","mark-".concat(t))})),window.HayyaBuild.openstreetmap[t]=i,this.loadMap()}}},{key:"loadMap",value:function(){var e=this;try{window.HayyaBuild.openstreetmap}catch(e){return void console.log("HayyaBuild Map ERROR01")}var t=this.props.attrs,a=t.id,n=this.mapRef.current;if(a&&t&&n){var o,l=!0;if(window.HayyaBuild.openstreetmap.list[a]?(l=!1,o=window.HayyaBuild.openstreetmap.list[a]):(o=new L.map(n,{scrollWheelZoom:!1}),window.HayyaBuild.openstreetmap.list[a]=o),o){o.invalidateSize();var i=window.HayyaBuild.openstreetmap[a],r=i.dataset.latitude,c=i.dataset.longitude,s=i.dataset.zoom,u=t.style,f=t.customstyle,d="customstyle"===u?f:{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"}[u];o.eachLayer((function(e){return o.removeLayer(e)}));var p=i.querySelectorAll(".hayyabuild-map-marker");p&&p.forEach((function(t,a){t.setAttribute("data-key","key-".concat(a));var n=t.dataset.lat||0,l=t.dataset.lng||0,i=t.dataset.icon||"",r=t.dataset.markercolor||"#00A4FF",c=t.dataset.markersize||"3",s=(t.dataset.openpopup,t.dataset.type||"icon1"),u=t.innerHTML||"<br/>",f=ge.a.renderToStaticMarkup(e.markerIcon({icon:s,color:r,clickEvent:!1})),d=L.divIcon({className:"hayyabuild-map__marker hayyabuild-map__marker_".concat(a+1," hayyabuild-map__marker--size-").concat(c," ").concat(i),iconSize:[15*c,24*c],iconAnchor:[7*c,24*c],popupAnchor:[0,-24*c],html:f}),p=L.layerGroup().addTo(o),y=L.marker([n,l],{icon:d,draggable:!0}).addTo(p);y.on("dragend",(function(t){e.markerDragged(t,"key-".concat(a))})),y.bindPopup(u).on("popupopen",(function(){return e.editMarker("key-".concat(a),"opened")}))})),o.on("load",(function(e){p&&p.forEach((function(t,a){var n=t.dataset.markercolor||"#00A4FF",o=e.target._container.querySelector(".hayyabuild-map__marker_".concat(a+1));o&&"object"===qe(o.style)&&(o.style.color=n)}))})),l&&o.setView([r,c],s),d&&L.tileLayer(d,{minZoom:1,maxZoom:20}).addTo(o),o.on("zoomend",(function(t){e.updateMap(t)})),o.on("move",(function(t){e.updateMap(t)}))}}}},{key:"updateMap",value:function(e){var t=this.props.attrs.id,a=window.HayyaBuild.openstreetmap[t];if(!a)return!1;if("zoomend"===e.type)a.setAttribute("data-zoom",e.target._animateToZoom);else if("click"===e.type);else if("move"===e.type){var n=e.target.getCenter();a.setAttribute("data-latitude",n.lat.toFixed(6)),a.setAttribute("data-longitude",n.lng.toFixed(6))}"zoomend"!==e.type&&"move"!==e.type||this.state.isChanged||this.setState({isChanged:!0})}},{key:"saveChanges",value:function(){var e=this.props.attrs.id,t=window.HayyaBuild.openstreetmap[e];if(!e||!t)return!1;var a=t.dataset.latitude,n=t.dataset.longitude,o=t.dataset.zoom,l=t.innerHTML;return this.props.onChange({latitude:a,longitude:n,zoom:o,markers:l})}},{key:"markerDragged",value:function(e,t){var a=this.props.attrs.id,n=window.HayyaBuild.openstreetmap[a].querySelector('[data-key="'.concat(t,'"]')),o=e.target._latlng.lat.toFixed(6),l=e.target._latlng.lng.toFixed(6);n.setAttribute("data-lat",o),n.setAttribute("data-lng",l),this.setState({isChanged:!0})}},{key:"addMarker",value:function(){var e=this.props.attrs.id,t=window.HayyaBuild.openstreetmap[e],a=window.HayyaBuild.openstreetmap.list[e],n=a.getCenter().lat.toFixed(6),o=a.getCenter().lng.toFixed(6),l=document.createElement("div");l.classList.add("hayyabuild-map-marker"),l.setAttribute("data-lat",n),l.setAttribute("data-lng",o),l.setAttribute("data-openpopup","false"),l.setAttribute("data-type","icon1"),l.setAttribute("data-markercolor","#CA1B1B"),l.setAttribute("data-markersize","2"),l.setAttribute("data-icon","fa fa-circle"),t.appendChild(l),this.setState({isChanged:!0})}},{key:"editMarker",value:function(e,t){var a=this.editMarkerRef.current.querySelectorAll(".edit-marker");a&&a.forEach((function(t){e===t.getAttribute("dtataKey")?t.classList.add("show"):t.classList.remove("show")}))}},{key:"saveMap",value:(i=regeneratorRuntime.mark((function e(){var t,a,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.state.isChanged){e.next=2;break}return e.abrupt("return");case 2:return this.props.attrs.id,(t=this.loadingContainerRef.current).classList.add("show-loading"),e.next=7,new Promise((function(e,t){setTimeout((function(){var a=n.saveChanges();e(a),t(!1)}),500)}));case 7:a=e.sent,t.classList.remove("show-loading"),a?(t.classList.add("show-success"),this.state.isChanged=!1):t.classList.add("show-error"),setTimeout((function(){t.classList.remove("show-success"),t.classList.remove("show-error")}),2e3);case 11:case"end":return e.stop()}}),e,this)})),r=function(){var e=this,t=arguments;return new Promise((function(a,n){var o=i.apply(e,t);function l(e){Ve(o,a,n,l,r,"next",e)}function r(e){Ve(o,a,n,l,r,"throw",e)}l(void 0)}))},function(){return r.apply(this,arguments)})},{key:"markerChange",value:function(e,t,a){var n=this.props.attrs.id,o=window.HayyaBuild.openstreetmap[n].querySelector('[data-key="'.concat(e,'"]'));"openpopup"===a?o.setAttribute("data-openpopup",t?"true":"false"):"type"===a?o.setAttribute("data-type",t):"icon"===a?o.setAttribute("data-icon",t):"color"===a?o.setAttribute("data-markercolor",t):"size"===a?o.setAttribute("data-markersize",t):"text"===a&&(o.innerHTML=t),this.setState({isChanged:!0})}},{key:"closeEditor",value:function(e){var t=this.editMarkerRef.current;if(t){var a=t.querySelector('[dtataKey="'.concat(e,'"]'));a&&a.classList.remove("show")}}},{key:"removeMarker",value:function(e){var t=this.props.attrs.id,a=window.HayyaBuild.openstreetmap[t].querySelector('[data-key="'.concat(e,'"]'));a&&a.remove(),this.setState({isChanged:!0})}},{key:"markerIcon",value:function(e){var t=e.icon,a=e.color,n=e.clickEvent;return l.a.createElement(Je,null,("all"===t||"icon1"===t)&&l.a.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon1")}},l.a.createElement("filter",{height:"1.6",y:"-0.3",width:"1.15",x:"-0.06",id:"hayyabuild-map-svg-filter"},l.a.createElement("feGaussianBlur",{stdDeviation:"0.5"})),l.a.createElement("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)"}),l.a.createElement("path",{fill:a,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"})),("all"===t||"icon2"===t)&&l.a.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon2")}},l.a.createElement("path",{fill:a,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"})),("all"===t||"icon3"===t)&&l.a.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon3")}},l.a.createElement("path",{fill:a,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"})),("all"===t||"icon4"===t)&&l.a.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon4")}},l.a.createElement("path",{fill:a,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"})),("all"===t||"icon5"===t)&&l.a.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon5")}},l.a.createElement("path",{fill:a,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 "})),("all"===t||"icon6"===t)&&l.a.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon6")}},l.a.createElement("path",{fill:a,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"}),l.a.createElement("path",{fill:a,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 "})))}},{key:"render",value:function(){var e=this,t=this.props,a=t.attrs,n=(t.saveButtonTitle,a.min_height),o=a.id,i=this.markerIcon,r=function(){var e={};if(window.HayyaBuild.openstreetmap&&window.HayyaBuild.openstreetmap[o]){var t=window.HayyaBuild.openstreetmap[o].querySelectorAll(".hayyabuild-map-marker");t&&t.forEach((function(t,a){e[t.getAttribute("data-key")]={lat:t.getAttribute("data-lat"),lng:t.getAttribute("data-lng"),openpopup:t.getAttribute("data-openpopup"),type:t.getAttribute("data-type"),markercolor:t.getAttribute("data-markercolor"),markersize:t.getAttribute("data-markersize"),icon:t.getAttribute("data-icon"),text:t.innerHTML}}))}return e}(),c=this.state.isChanged?"":" disabled";return l.a.createElement("div",{id:o,className:"react-opensstreetmap-leaflet",ref:this.containerRef},l.a.createElement("div",{className:"hayyabuild-map-info"}),l.a.createElement("div",{className:"hayyabuild-map",style:{minHeight:"".concat(n,"px")},ref:this.mapRef},l.a.createElement("button",{title:Ye("Save Map","hayyabuild"),className:"save-button".concat(c),onClick:function(){return e.saveMap()},key:"save-button-key"},l.a.createElement("i",{className:"fa fa-save"})),l.a.createElement("button",{className:"fullscreen-button".concat(c),onClick:function(){return e.fullScreen()},title:Ye("Full Screen","hayyabuild"),style:{backgroundColor:this.state.isfullScreen?"#FDC57C":null},key:"save-button-fullscreen"},l.a.createElement("i",{className:"fa fa-expand-arrows-alt"})),l.a.createElement("button",{title:Ye("Add Marker","hayyabuild"),className:"add-marker",onClick:function(){return e.addMarker()},key:"add-marker-button-key"},l.a.createElement("i",{className:"fa fa-plus"})),l.a.createElement("div",{className:"edit-markers",ref:this.editMarkerRef},Object.keys(r).map((function(t,a){var n=r[t];return l.a.createElement("div",{className:"edit-marker",dtataKey:t,key:t},l.a.createElement("button",{className:"close-editor",onClick:function(a){return e.closeEditor(t)},key:"close-".concat(t)},l.a.createElement("i",{className:"fa fa-chevron-circle-right"})),l.a.createElement("span",{className:"info",key:"info-".concat(t)},Ye("You have to save map status to save a changes.","hayyabuild")),l.a.createElement(vt.getPro,null),l.a.createElement("hr",null),l.a.createElement("div",{className:"marker-icon-type"},l.a.createElement("label",{class:"components-base-control__label",key:"marker-type-".concat(t)},Ye("Marker Type","hayyabuild")),l.a.createElement("br",null),l.a.createElement(i,{icon:"all",color:"#4B7596",clickEvent:function(a){return e.markerChange(t,a,"type")}})),l.a.createElement("hr",null),l.a.createElement(et,{label:Ye("Open popup when loaded","hayyabuild"),checked:"true"===n.openpopup,onChange:function(a){return e.markerChange(t,a,"openpopup")}}),l.a.createElement(vt.SelectIcon,{title:Ye("Icon","hayyabuild"),classPlaceholder:Ye("Insert icon class","hayyabuild"),fliterPlaceholder:Ye("Search for icon","hayyabuild"),value:n.icon,onSelect:function(a){return e.markerChange(t,a,"icon")}}),l.a.createElement(at,{label:Ye("Marker Text","hayyabuild"),help:Ye("Popup marker text","hayyabuild"),value:n.text,onChange:function(a){return e.markerChange(t,a,"text")}}),l.a.createElement("label",{class:"components-base-control__label",key:"color-".concat(t)},Ye("Marker Color","hayyabuild")),l.a.createElement(ot,{value:n.markercolor,label:Ye("Marker Color","hayyabuild"),onChange:function(a){return e.markerChange(t,a,"color")}}),l.a.createElement(tt,{label:Ye("Marker Size","hayyabuild"),value:n.markersize,onChange:function(a){return e.markerChange(t,a,"size")},min:1,max:5}),l.a.createElement("button",{title:Ye("Remove This Marker","hayyabuild"),className:"remove-marker",onClick:function(a){return e.removeMarker(t)},key:"remove-marker-".concat(t)},l.a.createElement("i",{className:"fa fa-times-circle"})))}))),l.a.createElement("div",{className:"react-opensstreetmap-leaflet__loading",ref:this.loadingContainerRef},l.a.createElement("div",{class:"loading__icon"}))))}}])&&We(a.prototype,n),o&&We(a,o),t}(l.a.Component)),it={"Font Awesome icons":["fab fa-500px","fab fa-accessible-icon","fab fa-accusoft","fab fa-acquisitions-incorporated","fa fa-ad","fa fa-address-book","fa fa-address-card","fa fa-adjust","fab fa-adn","fab fa-adobe","fab fa-adversal","fab fa-affiliatetheme","fa fa-air-freshener","fab fa-airbnb","fab fa-algolia","fa fa-align-center","fa fa-align-justify","fa fa-align-left","fa fa-align-right","fab fa-alipay","fa fa-allergies","fab fa-amazon","fab fa-amazon-pay","fa fa-ambulance","fa fa-american-sign-language-interpreting","fab fa-amilia","fa fa-anchor","fab fa-android","fab fa-angellist","fa fa-angle-double-down","fa fa-angle-double-left","fa fa-angle-double-right","fa fa-angle-double-up","fa fa-angle-down","fa fa-angle-left","fa fa-angle-right","fa fa-angle-up","fa fa-angry","fab fa-angrycreative","fab fa-angular","fa fa-ankh","fab fa-app-store","fab fa-app-store-ios","fab fa-apper","fab fa-apple","fa fa-apple-alt","fab fa-apple-pay","fa fa-archive","fa fa-archway","fa fa-arrow-alt-circle-down","fa fa-arrow-alt-circle-left","fa fa-arrow-alt-circle-right","fa fa-arrow-alt-circle-up","fa fa-arrow-circle-down","fa fa-arrow-circle-left","fa fa-arrow-circle-right","fa fa-arrow-circle-up","fa fa-arrow-down","fa fa-arrow-left","fa fa-arrow-right","fa fa-arrow-up","fa fa-arrows-alt","fa fa-arrows-alt-h","fa fa-arrows-alt-v","fab fa-artstation","fa fa-assistive-listening-systems","fa fa-asterisk","fab fa-asymmetrik","fa fa-at","fa fa-atlas","fab fa-atlassian","fa fa-atom","fab fa-audible","fa fa-audio-description","fab fa-autoprefixer","fab fa-avianex","fab fa-aviato","fa fa-award","fab fa-aws","fa fa-baby","fa fa-baby-carriage","fa fa-backspace","fa fa-backward","fa fa-bacon","fa fa-balance-scale","fa fa-balance-scale-left","fa fa-balance-scale-right","fa fa-ban","fa fa-band-aid","fab fa-bandcamp","fa fa-barcode","fa fa-bars","fa fa-baseball-ball","fa fa-basketball-ball","fa fa-bath","fa fa-battery-empty","fa fa-battery-full","fa fa-battery-half","fa fa-battery-quarter","fa fa-battery-three-quarters","fab fa-battle-net","fa fa-bed","fa fa-beer","fab fa-behance","fab fa-behance-square","fa fa-bell","fa fa-bell-slash","fa fa-bezier-curve","fa fa-bible","fa fa-bicycle","fa fa-biking","fab fa-bimobject","fa fa-binoculars","fa fa-biohazard","fa fa-birthday-cake","fab fa-bitbucket","fab fa-bitcoin","fab fa-bity","fab fa-black-tie","fab fa-blackberry","fa fa-blender","fa fa-blender-phone","fa fa-blind","fa fa-blog","fab fa-blogger","fab fa-blogger-b","fab fa-bluetooth","fab fa-bluetooth-b","fa fa-bold","fa fa-bolt","fa fa-bomb","fa fa-bone","fa fa-bong","fa fa-book","fa fa-book-dead","fa fa-book-medical","fa fa-book-open","fa fa-book-reader","fa fa-bookmark","fab fa-bootstrap","fa fa-border-all","fa fa-border-none","fa fa-border-style","fa fa-bowling-ball","fa fa-box","fa fa-box-open","fa fa-boxes","fa fa-braille","fa fa-brain","fa fa-bread-slice","fa fa-briefcase","fa fa-briefcase-medical","fa fa-broadcast-tower","fa fa-broom","fa fa-brush","fab fa-btc","fab fa-buffer","fa fa-bug","fa fa-building","fa fa-bullhorn","fa fa-bullseye","fa fa-burn","fab fa-buromobelexperte","fa fa-bus","fa fa-bus-alt","fa fa-business-time","fab fa-buysellads","fa fa-calculator","fa fa-calendar","fa fa-calendar-alt","fa fa-calendar-check","fa fa-calendar-day","fa fa-calendar-minus","fa fa-calendar-plus","fa fa-calendar-times","fa fa-calendar-week","fa fa-camera","fa fa-camera-retro","fa fa-campground","fab fa-canadian-maple-leaf","fa fa-candy-cane","fa fa-cannabis","fa fa-capsules","fa fa-car","fa fa-car-alt","fa fa-car-battery","fa fa-car-crash","fa fa-car-side","fa fa-caret-down","fa fa-caret-left","fa fa-caret-right","fa fa-caret-square-down","fa fa-caret-square-left","fa fa-caret-square-right","fa fa-caret-square-up","fa fa-caret-up","fa fa-carrot","fa fa-cart-arrow-down","fa fa-cart-plus","fa fa-cash-register","fa fa-cat","fab fa-cc-amazon-pay","fab fa-cc-amex","fab fa-cc-apple-pay","fab fa-cc-diners-club","fab fa-cc-discover","fab fa-cc-jcb","fab fa-cc-mastercard","fab fa-cc-paypal","fab fa-cc-stripe","fab fa-cc-visa","fab fa-centercode","fab fa-centos","fa fa-certificate","fa fa-chair","fa fa-chalkboard","fa fa-chalkboard-teacher","fa fa-charging-station","fa fa-chart-area","fa fa-chart-bar","fa fa-chart-line","fa fa-chart-pie","fa fa-check","fa fa-check-circle","fa fa-check-double","fa fa-check-square","fa fa-cheese","fa fa-chess","fa fa-chess-bishop","fa fa-chess-board","fa fa-chess-king","fa fa-chess-knight","fa fa-chess-pawn","fa fa-chess-queen","fa fa-chess-rook","fa fa-chevron-circle-down","fa fa-chevron-circle-left","fa fa-chevron-circle-right","fa fa-chevron-circle-up","fa fa-chevron-down","fa fa-chevron-left","fa fa-chevron-right","fa fa-chevron-up","fa fa-child","fab fa-chrome","fab fa-chromecast","fa fa-church","fa fa-circle","fa fa-circle-notch","fa fa-city","fa fa-clinic-medical","fa fa-clipboard","fa fa-clipboard-check","fa fa-clipboard-list","fa fa-clock","fa fa-clone","fa fa-closed-captioning","fa fa-cloud","fa fa-cloud-download-alt","fa fa-cloud-meatball","fa fa-cloud-moon","fa fa-cloud-moon-rain","fa fa-cloud-rain","fa fa-cloud-showers-heavy","fa fa-cloud-sun","fa fa-cloud-sun-rain","fa fa-cloud-upload-alt","fab fa-cloudscale","fab fa-cloudsmith","fab fa-cloudversify","fa fa-cocktail","fa fa-code","fa fa-code-branch","fab fa-codepen","fab fa-codiepie","fa fa-coffee","fa fa-cog","fa fa-cogs","fa fa-coins","fa fa-columns","fa fa-comment","fa fa-comment-alt","fa fa-comment-dollar","fa fa-comment-dots","fa fa-comment-medical","fa fa-comment-slash","fa fa-comments","fa fa-comments-dollar","fa fa-compact-disc","fa fa-compass","fa fa-compress","fa fa-compress-arrows-alt","fa fa-concierge-bell","fab fa-confluence","fab fa-connectdevelop","fab fa-contao","fa fa-cookie","fa fa-cookie-bite","fa fa-copy","fa fa-copyright","fa fa-couch","fab fa-cpanel","fab fa-creative-commons","fab fa-creative-commons-by","fab fa-creative-commons-nc","fab fa-creative-commons-nc-eu","fab fa-creative-commons-nc-jp","fab fa-creative-commons-nd","fab fa-creative-commons-pd","fab fa-creative-commons-pd-alt","fab fa-creative-commons-remix","fab fa-creative-commons-sa","fab fa-creative-commons-sampling","fab fa-creative-commons-sampling-plus","fab fa-creative-commons-share","fab fa-creative-commons-zero","fa fa-credit-card","fab fa-critical-role","fa fa-crop","fa fa-crop-alt","fa fa-cross","fa fa-crosshairs","fa fa-crow","fa fa-crown","fa fa-crutch","fab fa-css3","fab fa-css3-alt","fa fa-cube","fa fa-cubes","fa fa-cut","fab fa-cuttlefish","fab fa-d-and-d","fab fa-d-and-d-beyond","fab fa-dashcube","fa fa-database","fa fa-deaf","fab fa-delicious","fa fa-democrat","fab fa-deploydog","fab fa-deskpro","fa fa-desktop","fab fa-dev","fab fa-deviantart","fa fa-dharmachakra","fab fa-dhl","fa fa-diagnoses","fab fa-diaspora","fa fa-dice","fa fa-dice-d20","fa fa-dice-d6","fa fa-dice-five","fa fa-dice-four","fa fa-dice-one","fa fa-dice-six","fa fa-dice-three","fa fa-dice-two","fab fa-digg","fab fa-digital-ocean","fa fa-digital-tachograph","fa fa-directions","fab fa-discord","fab fa-discourse","fa fa-divide","fa fa-dizzy","fa fa-dna","fab fa-dochub","fab fa-docker","fa fa-dog","fa fa-dollar-sign","fa fa-dolly","fa fa-dolly-flatbed","fa fa-donate","fa fa-door-closed","fa fa-door-open","fa fa-dot-circle","fa fa-dove","fa fa-download","fab fa-draft2digital","fa fa-drafting-compass","fa fa-dragon","fa fa-draw-polygon","fab fa-dribbble","fab fa-dribbble-square","fab fa-dropbox","fa fa-drum","fa fa-drum-steelpan","fa fa-drumstick-bite","fab fa-drupal","fa fa-dumbbell","fa fa-dumpster","fa fa-dumpster-fire","fa fa-dungeon","fab fa-dyalog","fab fa-earlybirds","fab fa-ebay","fab fa-edge","fa fa-edit","fa fa-egg","fa fa-eject","fab fa-elementor","fa fa-ellipsis-h","fa fa-ellipsis-v","fab fa-ello","fab fa-ember","fab fa-empire","fa fa-envelope","fa fa-envelope-open","fa fa-envelope-open-text","fa fa-envelope-square","fab fa-envira","fa fa-equals","fa fa-eraser","fab fa-erlang","fab fa-ethereum","fa fa-ethernet","fab fa-etsy","fa fa-euro-sign","fab fa-evernote","fa fa-exchange-alt","fa fa-exclamation","fa fa-exclamation-circle","fa fa-exclamation-triangle","fa fa-expand","fa fa-expand-arrows-alt","fab fa-expeditedssl","fa fa-external-link-alt","fa fa-external-link-square-alt","fa fa-eye","fa fa-eye-dropper","fa fa-eye-slash","fab fa-facebook","fab fa-facebook-f","fab fa-facebook-messenger","fab fa-facebook-square","fa fa-fan","fab fa-fantasy-flight-games","fa fa-fast-backward","fa fa-fast-forward","fa fa-fax","fa fa-feather","fa fa-feather-alt","fab fa-fedex","fab fa-fedora","fa fa-female","fa fa-fighter-jet","fab fa-figma","fa fa-file","fa fa-file-alt","fa fa-file-archive","fa fa-file-audio","fa fa-file-code","fa fa-file-contract","fa fa-file-csv","fa fa-file-download","fa fa-file-excel","fa fa-file-export","fa fa-file-image","fa fa-file-import","fa fa-file-invoice","fa fa-file-invoice-dollar","fa fa-file-medical","fa fa-file-medical-alt","fa fa-file-pdf","fa fa-file-powerpoint","fa fa-file-prescription","fa fa-file-signature","fa fa-file-upload","fa fa-file-video","fa fa-file-word","fa fa-fill","fa fa-fill-drip","fa fa-film","fa fa-filter","fa fa-fingerprint","fa fa-fire","fa fa-fire-alt","fa fa-fire-extinguisher","fab fa-firefox","fa fa-first-aid","fab fa-first-order","fab fa-first-order-alt","fab fa-firstdraft","fa fa-fish","fa fa-fist-raised","fa fa-flag","fa fa-flag-checkered","fa fa-flag-usa","fa fa-flask","fab fa-flickr","fab fa-flipboard","fa fa-flushed","fab fa-fly","fa fa-folder","fa fa-folder-minus","fa fa-folder-open","fa fa-folder-plus","fa fa-font","fab fa-font-awesome","fab fa-font-awesome-alt","fab fa-font-awesome-flag","fab fa-font-awesome-logo-full","fab fa-fonticons","fab fa-fonticons-fi","fa fa-football-ball","fab fa-fort-awesome","fab fa-fort-awesome-alt","fab fa-forumbee","fa fa-forward","fab fa-foursquare","fab fa-free-code-camp","fab fa-freebsd","fa fa-frog","fa fa-frown","fa fa-frown-open","fab fa-fulcrum","fa fa-funnel-dollar","fa fa-futbol","fab fa-galactic-republic","fab fa-galactic-senate","fa fa-gamepad","fa fa-gas-pump","fa fa-gavel","fa fa-gem","fa fa-genderless","fab fa-get-pocket","fab fa-gg","fab fa-gg-circle","fa fa-ghost","fa fa-gift","fa fa-gifts","fab fa-git","fab fa-git-alt","fab fa-git-square","fab fa-github","fab fa-github-alt","fab fa-github-square","fab fa-gitkraken","fab fa-gitlab","fab fa-gitter","fa fa-glass-cheers","fa fa-glass-martini","fa fa-glass-martini-alt","fa fa-glass-whiskey","fa fa-glasses","fab fa-glide","fab fa-glide-g","fa fa-globe","fa fa-globe-africa","fa fa-globe-americas","fa fa-globe-asia","fa fa-globe-europe","fab fa-gofore","fa fa-golf-ball","fab fa-goodreads","fab fa-goodreads-g","fab fa-google","fab fa-google-drive","fab fa-google-play","fab fa-google-plus","fab fa-google-plus-g","fab fa-google-plus-square","fab fa-google-wallet","fa fa-gopuram","fa fa-graduation-cap","fab fa-gratipay","fab fa-grav","fa fa-greater-than","fa fa-greater-than-equal","fa fa-grimace","fa fa-grin","fa fa-grin-alt","fa fa-grin-beam","fa fa-grin-beam-sweat","fa fa-grin-hearts","fa fa-grin-squint","fa fa-grin-squint-tears","fa fa-grin-stars","fa fa-grin-tears","fa fa-grin-tongue","fa fa-grin-tongue-squint","fa fa-grin-tongue-wink","fa fa-grin-wink","fa fa-grip-horizontal","fa fa-grip-lines","fa fa-grip-lines-vertical","fa fa-grip-vertical","fab fa-gripfire","fab fa-grunt","fa fa-guitar","fab fa-gulp","fa fa-h-square","fab fa-hacker-news","fab fa-hacker-news-square","fab fa-hackerrank","fa fa-hamburger","fa fa-hammer","fa fa-hamsa","fa fa-hand-holding","fa fa-hand-holding-heart","fa fa-hand-holding-usd","fa fa-hand-lizard","fa fa-hand-middle-finger","fa fa-hand-paper","fa fa-hand-peace","fa fa-hand-point-down","fa fa-hand-point-left","fa fa-hand-point-right","fa fa-hand-point-up","fa fa-hand-pointer","fa fa-hand-rock","fa fa-hand-scissors","fa fa-hand-spock","fa fa-hands","fa fa-hands-helping","fa fa-handshake","fa fa-hanukiah","fa fa-hard-hat","fa fa-hashtag","fa fa-hat-wizard","fa fa-haykal","fa fa-hdd","fa fa-heading","fa fa-headphones","fa fa-headphones-alt","fa fa-headset","fa fa-heart","fa fa-heart-broken","fa fa-heartbeat","fa fa-helicopter","fa fa-highlighter","fa fa-hiking","fa fa-hippo","fab fa-hips","fab fa-hire-a-helper","fa fa-history","fa fa-hockey-puck","fa fa-holly-berry","fa fa-home","fab fa-hooli","fab fa-hornbill","fa fa-horse","fa fa-horse-head","fa fa-hospital","fa fa-hospital-alt","fa fa-hospital-symbol","fa fa-hot-tub","fa fa-hotdog","fa fa-hotel","fab fa-hotjar","fa fa-hourglass","fa fa-hourglass-end","fa fa-hourglass-half","fa fa-hourglass-start","fa fa-house-damage","fab fa-houzz","fa fa-hryvnia","fab fa-html5","fab fa-hubspot","fa fa-i-cursor","fa fa-ice-cream","fa fa-icicles","fa fa-icons","fa fa-id-badge","fa fa-id-card","fa fa-id-card-alt","fa fa-igloo","fa fa-image","fa fa-images","fab fa-imdb","fa fa-inbox","fa fa-indent","fa fa-industry","fa fa-infinity","fa fa-info","fa fa-info-circle","fab fa-instagram","fab fa-intercom","fab fa-internet-explorer","fab fa-invision","fab fa-ioxhost","fa fa-italic","fab fa-itch-io","fab fa-itunes","fab fa-itunes-note","fab fa-java","fa fa-jedi","fab fa-jedi-order","fab fa-jenkins","fab fa-jira","fab fa-joget","fa fa-joint","fab fa-joomla","fa fa-journal-whills","fab fa-js","fab fa-js-square","fab fa-jsfiddle","fa fa-kaaba","fab fa-kaggle","fa fa-key","fab fa-keybase","fa fa-keyboard","fab fa-keycdn","fa fa-khanda","fab fa-kickstarter","fab fa-kickstarter-k","fa fa-kiss","fa fa-kiss-beam","fa fa-kiss-wink-heart","fa fa-kiwi-bird","fab fa-korvue","fa fa-landmark","fa fa-language","fa fa-laptop","fa fa-laptop-code","fa fa-laptop-medical","fab fa-laravel","fab fa-lastfm","fab fa-lastfm-square","fa fa-laugh","fa fa-laugh-beam","fa fa-laugh-squint","fa fa-laugh-wink","fa fa-layer-group","fa fa-leaf","fab fa-leanpub","fa fa-lemon","fab fa-less","fa fa-less-than","fa fa-less-than-equal","fa fa-level-down-alt","fa fa-level-up-alt","fa fa-life-ring","fa fa-lightbulb","fab fa-line","fa fa-link","fab fa-linkedin","fab fa-linkedin-in","fab fa-linode","fab fa-linux","fa fa-lira-sign","fa fa-list","fa fa-list-alt","fa fa-list-ol","fa fa-list-ul","fa fa-location-arrow","fa fa-lock","fa fa-lock-open","fa fa-long-arrow-alt-down","fa fa-long-arrow-alt-left","fa fa-long-arrow-alt-right","fa fa-long-arrow-alt-up","fa fa-low-vision","fa fa-luggage-cart","fab fa-lyft","fab fa-magento","fa fa-magic","fa fa-magnet","fa fa-mail-bulk","fab fa-mailchimp","fa fa-male","fab fa-mandalorian","fa fa-map","fa fa-map-marked","fa fa-map-marked-alt","fa fa-map-marker","fa fa-map-marker-alt","fa fa-map-pin","fa fa-map-signs","fab fa-markdown","fa fa-marker","fa fa-mars","fa fa-mars-double","fa fa-mars-stroke","fa fa-mars-stroke-h","fa fa-mars-stroke-v","fa fa-mask","fab fa-mastodon","fab fa-maxcdn","fa fa-medal","fab fa-medapps","fab fa-medium","fab fa-medium-m","fa fa-medkit","fab fa-medrt","fab fa-meetup","fab fa-megaport","fa fa-meh","fa fa-meh-blank","fa fa-meh-rolling-eyes","fa fa-memory","fab fa-mendeley","fa fa-menorah","fa fa-mercury","fa fa-meteor","fa fa-microchip","fa fa-microphone","fa fa-microphone-alt","fa fa-microphone-alt-slash","fa fa-microphone-slash","fa fa-microscope","fab fa-microsoft","fa fa-minus","fa fa-minus-circle","fa fa-minus-square","fa fa-mitten","fab fa-mix","fab fa-mixcloud","fab fa-mizuni","fa fa-mobile","fa fa-mobile-alt","fab fa-modx","fab fa-monero","fa fa-money-bill","fa fa-money-bill-alt","fa fa-money-bill-wave","fa fa-money-bill-wave-alt","fa fa-money-check","fa fa-money-check-alt","fa fa-monument","fa fa-moon","fa fa-mortar-pestle","fa fa-mosque","fa fa-motorcycle","fa fa-mountain","fa fa-mouse-pointer","fa fa-mug-hot","fa fa-music","fab fa-napster","fab fa-neos","fa fa-network-wired","fa fa-neuter","fa fa-newspaper","fab fa-nimblr","fab fa-node","fab fa-node-js","fa fa-not-equal","fa fa-notes-medical","fab fa-npm","fab fa-ns8","fab fa-nutritionix","fa fa-object-group","fa fa-object-ungroup","fab fa-odnoklassniki","fab fa-odnoklassniki-square","fa fa-oil-can","fab fa-old-republic","fa fa-om","fab fa-opencart","fab fa-openid","fab fa-opera","fab fa-optin-monster","fab fa-osi","fa fa-otter","fa fa-outdent","fab fa-page4","fab fa-pagelines","fa fa-pager","fa fa-paint-brush","fa fa-paint-roller","fa fa-palette","fab fa-palfed","fa fa-pallet","fa fa-paper-plane","fa fa-paperclip","fa fa-parachute-box","fa fa-paragraph","fa fa-parking","fa fa-passport","fa fa-pastafarianism","fa fa-paste","fab fa-patreon","fa fa-pause","fa fa-pause-circle","fa fa-paw","fab fa-paypal","fa fa-peace","fa fa-pen","fa fa-pen-alt","fa fa-pen-fancy","fa fa-pen-nib","fa fa-pen-square","fa fa-pencil-alt","fa fa-pencil-ruler","fab fa-penny-arcade","fa fa-people-carry","fa fa-pepper-hot","fa fa-percent","fa fa-percentage","fab fa-periscope","fa fa-person-booth","fab fa-phabricator","fab fa-phoenix-framework","fab fa-phoenix-squadron","fa fa-phone","fa fa-phone-alt","fa fa-phone-slash","fa fa-phone-square","fa fa-phone-square-alt","fa fa-phone-volume","fa fa-photo-video","fab fa-php","fab fa-pied-piper","fab fa-pied-piper-alt","fab fa-pied-piper-hat","fab fa-pied-piper-pp","fa fa-piggy-bank","fa fa-pills","fab fa-pinterest","fab fa-pinterest-p","fab fa-pinterest-square","fa fa-pizza-slice","fa fa-place-of-worship","fa fa-plane","fa fa-plane-arrival","fa fa-plane-departure","fa fa-play","fa fa-play-circle","fab fa-playstation","fa fa-plug","fa fa-plus","fa fa-plus-circle","fa fa-plus-square","fa fa-podcast","fa fa-poll","fa fa-poll-h","fa fa-poo","fa fa-poo-storm","fa fa-poop","fa fa-portrait","fa fa-pound-sign","fa fa-power-off","fa fa-pray","fa fa-praying-hands","fa fa-prescription","fa fa-prescription-bottle","fa fa-prescription-bottle-alt","fa fa-print","fa fa-procedures","fab fa-product-hunt","fa fa-project-diagram","fab fa-pushed","fa fa-puzzle-piece","fab fa-python","fab fa-qq","fa fa-qrcode","fa fa-question","fa fa-question-circle","fa fa-quidditch","fab fa-quinscape","fab fa-quora","fa fa-quote-left","fa fa-quote-right","fa fa-quran","fab fa-r-project","fa fa-radiation","fa fa-radiation-alt","fa fa-rainbow","fa fa-random","fab fa-raspberry-pi","fab fa-ravelry","fab fa-react","fab fa-reacteurope","fab fa-readme","fab fa-rebel","fa fa-receipt","fa fa-recycle","fab fa-red-river","fab fa-reddit","fab fa-reddit-alien","fab fa-reddit-square","fab fa-redhat","fa fa-redo","fa fa-redo-alt","fa fa-registered","fa fa-remove-format","fab fa-renren","fa fa-reply","fa fa-reply-all","fab fa-replyd","fa fa-republican","fab fa-researchgate","fab fa-resolving","fa fa-restroom","fa fa-retweet","fab fa-rev","fa fa-ribbon","fa fa-ring","fa fa-road","fa fa-robot","fa fa-rocket","fab fa-rocketchat","fab fa-rockrms","fa fa-route","fa fa-rss","fa fa-rss-square","fa fa-ruble-sign","fa fa-ruler","fa fa-ruler-combined","fa fa-ruler-horizontal","fa fa-ruler-vertical","fa fa-running","fa fa-rupee-sign","fa fa-sad-cry","fa fa-sad-tear","fab fa-safari","fab fa-salesforce","fab fa-sass","fa fa-satellite","fa fa-satellite-dish","fa fa-save","fab fa-schlix","fa fa-school","fa fa-screwdriver","fab fa-scribd","fa fa-scroll","fa fa-sd-card","fa fa-search","fa fa-search-dollar","fa fa-search-location","fa fa-search-minus","fa fa-search-plus","fab fa-searchengin","fa fa-seedling","fab fa-sellcast","fab fa-sellsy","fa fa-server","fab fa-servicestack","fa fa-shapes","fa fa-share","fa fa-share-alt","fa fa-share-alt-square","fa fa-share-square","fa fa-shekel-sign","fa fa-shield-alt","fa fa-ship","fa fa-shipping-fast","fab fa-shirtsinbulk","fa fa-shoe-prints","fa fa-shopping-bag","fa fa-shopping-basket","fa fa-shopping-cart","fab fa-shopware","fa fa-shower","fa fa-shuttle-van","fa fa-sign","fa fa-sign-in-alt","fa fa-sign-language","fa fa-sign-out-alt","fa fa-signal","fa fa-signature","fa fa-sim-card","fab fa-simplybuilt","fab fa-sistrix","fa fa-sitemap","fab fa-sith","fa fa-skating","fab fa-sketch","fa fa-skiing","fa fa-skiing-nordic","fa fa-skull","fa fa-skull-crossbones","fab fa-skyatlas","fab fa-skype","fab fa-slack","fab fa-slack-hash","fa fa-slash","fa fa-sleigh","fa fa-sliders-h","fab fa-slideshare","fa fa-smile","fa fa-smile-beam","fa fa-smile-wink","fa fa-smog","fa fa-smoking","fa fa-smoking-ban","fa fa-sms","fab fa-snapchat","fab fa-snapchat-ghost","fab fa-snapchat-square","fa fa-snowboarding","fa fa-snowflake","fa fa-snowman","fa fa-snowplow","fa fa-socks","fa fa-solar-panel","fa fa-sort","fa fa-sort-alpha-down","fa fa-sort-alpha-down-alt","fa fa-sort-alpha-up","fa fa-sort-alpha-up-alt","fa fa-sort-amount-down","fa fa-sort-amount-down-alt","fa fa-sort-amount-up","fa fa-sort-amount-up-alt","fa fa-sort-down","fa fa-sort-numeric-down","fa fa-sort-numeric-down-alt","fa fa-sort-numeric-up","fa fa-sort-numeric-up-alt","fa fa-sort-up","fab fa-soundcloud","fab fa-sourcetree","fa fa-spa","fa fa-space-shuttle","fab fa-speakap","fab fa-speaker-deck","fa fa-spell-check","fa fa-spider","fa fa-spinner","fa fa-splotch","fab fa-spotify","fa fa-spray-can","fa fa-square","fa fa-square-full","fa fa-square-root-alt","fab fa-squarespace","fab fa-stack-exchange","fab fa-stack-overflow","fab fa-stackpath","fa fa-stamp","fa fa-star","fa fa-star-and-crescent","fa fa-star-half","fa fa-star-half-alt","fa fa-star-of-david","fa fa-star-of-life","fab fa-staylinked","fab fa-steam","fab fa-steam-square","fab fa-steam-symbol","fa fa-step-backward","fa fa-step-forward","fa fa-stethoscope","fab fa-sticker-mule","fa fa-sticky-note","fa fa-stop","fa fa-stop-circle","fa fa-stopwatch","fa fa-store","fa fa-store-alt","fab fa-strava","fa fa-stream","fa fa-street-view","fa fa-strikethrough","fab fa-stripe","fab fa-stripe-s","fa fa-stroopwafel","fab fa-studiovinari","fab fa-stumbleupon","fab fa-stumbleupon-circle","fa fa-subscript","fa fa-subway","fa fa-suitcase","fa fa-suitcase-rolling","fa fa-sun","fab fa-superpowers","fa fa-superscript","fab fa-supple","fa fa-surprise","fab fa-suse","fa fa-swatchbook","fa fa-swimmer","fa fa-swimming-pool","fab fa-symfony","fa fa-synagogue","fa fa-sync","fa fa-sync-alt","fa fa-syringe","fa fa-table","fa fa-table-tennis","fa fa-tablet","fa fa-tablet-alt","fa fa-tablets","fa fa-tachometer-alt","fa fa-tag","fa fa-tags","fa fa-tape","fa fa-tasks","fa fa-taxi","fab fa-teamspeak","fa fa-teeth","fa fa-teeth-open","fab fa-telegram","fab fa-telegram-plane","fa fa-temperature-high","fa fa-temperature-low","fab fa-tencent-weibo","fa fa-tenge","fa fa-terminal","fa fa-text-height","fa fa-text-width","fa fa-th","fa fa-th-large","fa fa-th-list","fab fa-the-red-yeti","fa fa-theater-masks","fab fa-themeco","fab fa-themeisle","fa fa-thermometer","fa fa-thermometer-empty","fa fa-thermometer-full","fa fa-thermometer-half","fa fa-thermometer-quarter","fa fa-thermometer-three-quarters","fab fa-think-peaks","fa fa-thumbs-down","fa fa-thumbs-up","fa fa-thumbtack","fa fa-ticket-alt","fa fa-times","fa fa-times-circle","fa fa-tint","fa fa-tint-slash","fa fa-tired","fa fa-toggle-off","fa fa-toggle-on","fa fa-toilet","fa fa-toilet-paper","fa fa-toolbox","fa fa-tools","fa fa-tooth","fa fa-torah","fa fa-torii-gate","fa fa-tractor","fab fa-trade-federation","fa fa-trademark","fa fa-traffic-light","fa fa-train","fa fa-tram","fa fa-transgender","fa fa-transgender-alt","fa fa-trash","fa fa-trash-alt","fa fa-trash-restore","fa fa-trash-restore-alt","fa fa-tree","fab fa-trello","fab fa-tripadvisor","fa fa-trophy","fa fa-truck","fa fa-truck-loading","fa fa-truck-monster","fa fa-truck-moving","fa fa-truck-pickup","fa fa-tshirt","fa fa-tty","fab fa-tumblr","fab fa-tumblr-square","fa fa-tv","fab fa-twitch","fab fa-twitter","fab fa-twitter-square","fab fa-typo3","fab fa-uber","fab fa-ubuntu","fab fa-uikit","fa fa-umbrella","fa fa-umbrella-beach","fa fa-underline","fa fa-undo","fa fa-undo-alt","fab fa-uniregistry","fa fa-universal-access","fa fa-university","fa fa-unlink","fa fa-unlock","fa fa-unlock-alt","fab fa-untappd","fa fa-upload","fab fa-ups","fab fa-usb","fa fa-user","fa fa-user-alt","fa fa-user-alt-slash","fa fa-user-astronaut","fa fa-user-check","fa fa-user-circle","fa fa-user-clock","fa fa-user-cog","fa fa-user-edit","fa fa-user-friends","fa fa-user-graduate","fa fa-user-injured","fa fa-user-lock","fa fa-user-md","fa fa-user-minus","fa fa-user-ninja","fa fa-user-nurse","fa fa-user-plus","fa fa-user-secret","fa fa-user-shield","fa fa-user-slash","fa fa-user-tag","fa fa-user-tie","fa fa-user-times","fa fa-users","fa fa-users-cog","fab fa-usps","fab fa-ussunnah","fa fa-utensil-spoon","fa fa-utensils","fab fa-vaadin","fa fa-vector-square","fa fa-venus","fa fa-venus-double","fa fa-venus-mars","fab fa-viacoin","fab fa-viadeo","fab fa-viadeo-square","fa fa-vial","fa fa-vials","fab fa-viber","fa fa-video","fa fa-video-slash","fa fa-vihara","fab fa-vimeo","fab fa-vimeo-square","fab fa-vimeo-v","fab fa-vine","fab fa-vk","fab fa-vnv","fa fa-voicemail","fa fa-volleyball-ball","fa fa-volume-down","fa fa-volume-mute","fa fa-volume-off","fa fa-volume-up","fa fa-vote-yea","fa fa-vr-cardboard","fab fa-vuejs","fa fa-walking","fa fa-wallet","fa fa-warehouse","fa fa-water","fa fa-wave-square","fab fa-waze","fab fa-weebly","fab fa-weibo","fa fa-weight","fa fa-weight-hanging","fab fa-weixin","fab fa-whatsapp","fab fa-whatsapp-square","fa fa-wheelchair","fab fa-whmcs","fa fa-wifi","fab fa-wikipedia-w","fa fa-wind","fa fa-window-close","fa fa-window-maximize","fa fa-window-minimize","fa fa-window-restore","fab fa-windows","fa fa-wine-bottle","fa fa-wine-glass","fa fa-wine-glass-alt","fab fa-wix","fab fa-wizards-of-the-coast","fab fa-wolf-pack-battalion","fa fa-won-sign","fab fa-wordpress","fab fa-wordpress-simple","fab fa-wpbeginner","fab fa-wpexplorer","fab fa-wpforms","fab fa-wpressr","fa fa-wrench","fa fa-x-ray","fab fa-xbox","fab fa-xing","fab fa-xing-square","fab fa-y-combinator","fab fa-yahoo","fab fa-yammer","fab fa-yandex","fab fa-yandex-international","fab fa-yarn","fab fa-yelp","fa fa-yen-sign","fa fa-yin-yang","fab fa-yoast","fab fa-youtube","fab fa-youtube-square","fab fa-zhihu"]};a(58);function rt(e){return(rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ct(){return(ct=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function st(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ut(e){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ft(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var pt=function(e){function t(){var e,a,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(e=!(n=ut(t).call(this))||"object"!==rt(n)&&"function"!=typeof n?ft(a):n).state={items:[],search:"",icon:""},e.loadData=e.loadData.bind(ft(e)),e.iconShanged=e.iconShanged.bind(ft(e)),e.filter=e.filter.bind(ft(e)),e.run=e.run.bind(ft(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dt(e,t)}(t,e),a=t,(n=[{key:"componentDidMount",value:function(){this.loadData()}},{key:"loadData",value:function(){var e=this;if(it){var t=[];Object.keys(it).forEach((function(a){for(var n=0;n<it[a].length;n++)it[a][n].indexOf(e.state.search)>-1&&t.push(it[a][n])})),this.setState({items:t})}}},{key:"iconShanged",value:function(e){e.preventDefault();var t="INPUT"===e.target.tagName?e.target.value:e.currentTarget.dataset.icon;this.setState({icon:t}),this.props.onSelect(t)}},{key:"filter",value:function(e){this.setState({search:e.target.value},this.loadData)}},{key:"run",value:function(e){e.preventDefault();var t=e.currentTarget,a=t.parentElement,n=a.querySelector(".icons-container");n&&(n.classList.contains("opened")?(t.classList.remove("opened"),n.classList.remove("opened")):(t.classList.add("opened"),n.classList.add("opened")),a.addEventListener("mouseleave",(function e(){t.classList.remove("opened"),n.classList.remove("opened"),a.removeEventListener&&a.removeEventListener("mouseleave",e)})))}},{key:"render",value:function(){var e=this,t=this.props,a=t.classPlaceholder,n=t.fliterPlaceholder;return React.createElement("div",{className:"hb-select-icon"},React.createElement("a",{href:"#",onClick:this.run,className:"toggle"},this.props.title," [ ",React.createElement("i",{className:this.props.value})," ]"),React.createElement("div",{className:"icons-container"},React.createElement("input",ct({type:"text",name:"icon",value:this.props.value||"",onChange:this.iconShanged},a?{placeholder:a}:{})),React.createElement("input",ct({type:"search",name:"filter",onChange:this.filter},n?{placeholder:n}:{})),React.createElement("ul",null,this.state.items.length&&this.state.items.map((function(t,a){return React.createElement("li",{key:a},React.createElement("a",{href:"#","data-icon":t,onClick:e.iconShanged,className:e.props.value===t?"active":""},React.createElement("i",{className:t})))})))))}}])&&st(a.prototype,n),o&&st(a,o),t}(wp.element.Component),yt=a(12),bt=a.n(yt);function ht(e){return(ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mt(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}a.d(t,"H",(function(){return vt}));var gt=wp.i18n.__,vt=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.version="4.0",this.description="HayyaBuild allows you to build unlimited headers, pages and footers for your WordPress website without the needs for writing any code.",this.memoize=bt.a,this.BlocksOptions=he,this.SelectIcon=pt,this.OpenStreetMap=lt,this.hayyabuildSubscribe=this.hayyabuildSubscribe.bind(this),this.optionsModalOpened=this.optionsModalOpened.bind(this),this.optionsModalClosed=this.optionsModalClosed.bind(this)}var t,n,o;return t=e,(n=[{key:"getPro",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=gt("Sorry about that. but this feature is unavailable in lite version.","hayyabuild"),a=gt("Get more options","hayyabuild"),n=gt("from here.","hayyabuild");return React.createElement("div",{className:"hayyabuild-get-pro"},void 0!==e.list&&React.createElement("div",null,t),a,React.createElement("a",{href:"https://hayyabuild.zintathemes.com?blocks=1",target:"_blank"},n))}},{key:"hayyabuildSubscribe",value:function(){var e=this,t=wp.data.select("core/block-editor").getBlocks();if(t.length){var a=[];!function t(n){n.forEach((function(n){if(0===n.name.indexOf("hayyabuild")){var o=n.name;o.indexOf("pricingblocktable")<0&&(n.attributes.numOfplans=n.innerBlocks.length),a.indexOf(n.attributes.id)>-1&&(n.attributes.id=e.generateID(o)),n.attributes.id&&a.push(n.attributes.id)}n.innerBlocks.length&&t(n.innerBlocks)}))}(t)}}},{key:"setHeadStyle",value:function(){var e=document.getElementById("hayyabuild_inline_style");if(e&&e.value){var t;try{t=JSON.parse(e.value)}catch(e){return console.log("ERRoR3: cona`t parse tyle:",e),!1}var a="hayyabuild-head-inlinestyle",n=document.head||document.getElementsByTagName("head")[0],o=document.getElementById(a);o||(o=document.createElement("style"),n.appendChild(o),o.type="text/css",o.id=a);var l="";if(t){var i={},r=this.getBlocks();r.length&&(r.forEach((function(e){t[e.attributes.id]&&(i[e.attributes.id]=t[e.attributes.id])})),e.value=JSON.stringify(i)),Object.keys(t).forEach((function(e){l="".concat(l," ").concat(t[e].element," { ").concat(t[e].style," }")})),l&&(o.textContent=l)}}}},{key:"getBlocks",value:function(){var e=wp.data.select("core/block-editor").getBlocks();if(!e.length)return[];var t=[];return function e(a){a.length&&a.forEach((function(a){0===a.name.indexOf("hayyabuild")&&t.push({name:a.name,clientId:a.clientId,attributes:a.attributes});var n=a.innerBlocks;n.length&&e(n)}))}(e),t}},{key:"optionsModalOpened",value:function(){}},{key:"optionsModalClosed",value:function(){this.setHeadStyle()}},{key:"generateID",value:function(e){var t=document.getElementById("post_ID"),a=e.replace("/","-")||"hayyabuild-block",n=t.value||Math.floor(999*Math.random()+111),o=Math.floor(9999*Math.random()+1111);return"".concat(a+n,"-").concat(o)}},{key:"blockID",value:function(e,t,a){if(!t||!a||e)return e;var n=this.generateID(t);return n&&a({id:n}),n}},{key:"generateClass",value:function(e){return e.replace("/","-")||"hayyabuild-"+Math.floor(999*Math.random()+111)}},{key:"iconStyle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(e){var l=a(60),i=l.Icon,r="object"!==ht(e)||e.type?e:React.createElement(i,{icon:e,color:t,hFlip:n,vFlip:o});return{background:"#D4F2FF",foreground:"#0088DD",src:r}}}},{key:"getAdditionalCSSClass",value:function(){var e=document.getElementById("inspector-text-control-1");e&&e.addEventListener("change",(function(){}))}},{key:"isColorLight",value:function(e){var t,a,n,o,l=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e)return!1;l?(t=(o=parseInt(e,16))>>16&255,a=o>>8&255,n=255&o):(t=e.r,a=e.g,n=e.b);var i=Math.sqrt(t*t*.299+a*a*.587+n*n*.114);return i<130}},{key:"hexToRgb",value:function(e,t){return"rgba("+(e=e.replace("#","")).match(new RegExp("(.{"+e.length/3+"})","g")).map((function(t){return parseInt(e.length%2?t+t:t,16)})).concat(t||1).join(",")+")"}},{key:"rgbToHex",value:function(e,t,a){return"#"+[e,t,a].map((function(e){return e.toString(16).padStart(2,"0")})).join("")}},{key:"lightenAndDarken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#000000",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(void 0===e||void 0===t)return"";var a=!1;"#"===e[0]&&(e=e.slice(1),a=!0);var n=parseInt(e.substring(0,2),16),o=parseInt(e.substring(2,4),16),l=parseInt(e.substring(4,6),16);(n+=t)>255?n=255:n<0&&(n=0),(o+=t)>255?o=255:o<0&&(o=0),(l+=t)>255?l=255:l<0&&(l=0);var i=1===n.toString(16).length?"0"+n.toString(16):n.toString(16),r=1===o.toString(16).length?"0"+o.toString(16):o.toString(16),c=1===l.toString(16).length?"0"+l.toString(16):l.toString(16);return(a?"#":"")+i+r+c}},{key:"classesClean",value:function(e){if(e){var t=[];return e=e.split(" "),["hb-visible-sm","hb-hidden-sm","hb-visible-md","hb-hidden-md","hb-visible-lg","hb-hidden-lg","hb-visible-Xlg","hb-hidden-Xlg","hb-scale-in","hb-scale-out","hb-slide-right","hb-slide-left","hb-slide-up","hb-slide-down","hb-fade-in","hb-fade-out","hb-right-rotation","hb-left-rotation","hb-up-rotation","hb-down-rotation","hb-fixed-bg","hb-parallax-up","hb-parallax-down","hb-hover-bg-zoomin","hb-hover-bg-zoomout","hb-hover-shadow","hb-hover-scalein","hb-hover-scaleout","hb-hover-visibility-inc","hb-hover-visibility-dec","text-left","text-right","text-center","text-justify","center-sm","center-md","center-lg","hayya-scrolleffects","hb-scroll_duration_0","hb-scroll_duration_5","hb-scroll_duration_10","hb-scroll_duration_15","hb-scroll_duration_20","hb-scroll_duration_25","hb-scroll_duration_30","hb-scroll_duration_35","hb-scroll_duration_40","hb-scroll_duration_45","hb-scroll_duration_50","hb-scroll_duration_55","hb-scroll_duration_60","hb-scroll_duration_65","hb-scroll_duration_70","hb-scroll_duration_75","hb-scroll_duration_80","hb-scroll_duration_85","hb-scroll_duration_90","hb-scroll_duration_95","hb-scroll_duration_100","hb-scroll_easing_ease","hb-scroll_easing_linear","hb-scroll_easing_ease-in","hb-scroll_easing_ease-out","hb-scroll_easing_ease-in-out","hb-scroll_easing_easeInQuad","hb-scroll_easing_easeInCubic","hb-scroll_easing_easeInQuart","hb-scroll_easing_easeInQuint","hb-scroll_easing_easeInSine","hb-scroll_easing_easeInExpo","hb-scroll_easing_easeInCirc","hb-scroll_easing_easeInBack","hb-scroll_easing_easeOutQuad","hb-scroll_easing_easeOutCubic","hb-scroll_easing_easeOutQuart","hb-scroll_easing_easeOutQuint","hb-scroll_easing_easeOutSine","hb-scroll_easing_easeOutExpo","hb-scroll_easing_easeOutCirc","hb-scroll_easing_easeOutBack","hb-scroll_easing_easeInOutQuad","hb-scroll_easing_easeInOutCubic","hb-scroll_easing_easeInOutQuart","hb-scroll_easing_easeInOutQuint","hb-scroll_easing_easeInOutSine","hb-scroll_easing_easeInOutExpo","hb-scroll_easing_easeInOutCirc","hb-scroll_easing_easeInOutBack"].map((function(a){e.indexOf(a)>-1&&t.push(a)})),t.join(" ")}}},{key:"hayyaClasses",value:function(){for(var e=this,t=[],a=arguments.length,n=new Array(a),o=0;o<a;o++)n[o]=arguments[o];return n.forEach((function(a){var n=ht(a);"string"===n||"number"===n?t.push(a.trim()):Array.isArray(a)&&a.length?a.forEach((function(e){return"string"==typeof e&&t.push(e.trim())})):"object"!==n||Array.isArray(a)||Object.keys(a).forEach((function(n){if("classesList"===n){var o=e.classesClean(a[n]);o&&t.push(o.trim())}else a[n]&&t.push(n.trim())}))})),t.join(" ")}}])&&mt(t.prototype,n),o&&mt(t,o),e}())},function(e,t,a){"use strict";e.exports=a(44)},function(e,t,a){"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},l=function(){var e={};return function(t){if(void 0===e[t]){var a=document.querySelector(t);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}e[t]=a}return e[t]}}(),i=[];function r(e){for(var t=-1,a=0;a<i.length;a++)if(i[a].identifier===e){t=a;break}return t}function c(e,t){for(var a={},n=[],o=0;o<e.length;o++){var l=e[o],c=t.base?l[0]+t.base:l[0],s=a[c]||0,u="".concat(c," ").concat(s);a[c]=s+1;var f=r(u),d={css:l[1],media:l[2],sourceMap:l[3]};-1!==f?(i[f].references++,i[f].updater(d)):i.push({identifier:u,updater:h(d,t),references:1}),n.push(u)}return n}function s(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=a.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var i=l(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var u,f=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function d(e,t,a,n){var o=a?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var l=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(l,i[t]):e.appendChild(l)}}function p(e,t,a){var n=a.css,o=a.media,l=a.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),l&&btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(l))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var y=null,b=0;function h(e,t){var a,n,o;if(t.singleton){var l=b++;a=y||(y=s(t)),n=d.bind(null,a,l,!1),o=d.bind(null,a,l,!0)}else a=s(t),n=p.bind(null,a,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(a)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var a=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<a.length;n++){var o=r(a[n]);i[o].references--}for(var l=c(e,t),s=0;s<a.length;s++){var u=r(a[s]);0===i[u].references&&(i[u].updater(),i.splice(u,1))}a=l}}}},function(e,t,a){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a=function(e,t){var a=e[1]||"",n=e[3];if(!n)return a;if(t&&"function"==typeof btoa){var o=(i=n,r=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(c," */")),l=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[a].concat(l).concat([o]).join("\n")}var i,r,c;return[a].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(a,"}"):a})).join("")},t.i=function(e,a,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var l=0;l<this.length;l++){var i=this[l][0];null!=i&&(o[i]=!0)}for(var r=0;r<e.length;r++){var c=[].concat(e[r]);n&&o[c[0]]||(a&&(c[2]?c[2]="".concat(a," and ").concat(c[2]):c[2]=a),t.push(c))}},t}},function(e,t,a){"use strict";var n=a(1),o=a.n(n);a(45);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?u(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){function t(){var e;return i(this,t),(e=c(this,s(t).apply(this,arguments))).state={modalOpened:""},e.hbModalRef=o.a.createRef(),e.appendModal=e.appendModal.bind(u(e)),e.removeModal=e.removeModal.bind(u(e)),e.openModal=e.openModal.bind(u(e)),e.closeModal=e.closeModal.bind(u(e)),e.events=e.events.bind(u(e)),e}var a,n,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),a=t,(n=[{key:"componentDidMount",value:function(){this.appendModal()}},{key:"componentWillUnmount",value:function(){this.removeModal()}},{key:"appendModal",value:function(){var e=this.props.appendTo,t=document.body,a={};"string"==typeof e&&(a="."!==e.charAt(0)?document.getElementById(e):document.querySelector(e))&&(t=a),t.classList.add("react-modal-popup-parent"),this.hbModalRef.current&&t.appendChild(this.hbModalRef.current)}},{key:"openModal",value:function(e){e.preventDefault();var t=document.getElementById("wpwrap");t&&(t.style.overflow="hidden"),this.hbModalRef.current.addEventListener("click",this.events),document.body.addEventListener("keydown",this.events),this.setState({modalOpened:" madal-opend"});var a=this.props.onOpen;"function"==typeof a&&a()}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(e.preventDefault(),this.removeModal());var t=this.props.onClose;"function"==typeof t&&t()}},{key:"removeModal",value:function(){var e=document.getElementById("wpwrap");e&&(e.style.overflow="unset"),this.setState({modalOpened:""}),this.hbModalRef.current.classList&&this.hbModalRef.current.classList.remove("madal-opend")}},{key:"events",value:function(e){"click"===e.type&&e.target.classList&&e.target.classList.contains("madal-opend")?(this.setState({modalOpened:""}),this.closeModal()):"keydown"!==e.type||"Escape"!==e.key&&"27"!==e.keyCode&&"Esc"!=e.key||(this.setState({modalOpened:""}),document.body.removeEventListener("keydown",this.events),this.closeModal())}},{key:"render",value:function(){var e=this.props,t=e.title,a=e.iconClass,n=e.children,l=function(){return t?o.a.createElement("span",null,void 0!==a&&o.a.createElement("i",{className:a})," ".concat(t)):void 0!==a?o.a.createElement("div",{className:"components-toolbar components-toolbar"},o.a.createElement("i",{className:a})):void 0};return o.a.createElement("div",{className:"react-modal-popup"},o.a.createElement("a",{href:"#",onClick:this.openModal,className:"open-modal"},o.a.createElement(l,null)),o.a.createElement("div",{className:"react-appended-modal-popup".concat(this.state.modalOpened),ref:this.hbModalRef},o.a.createElement("div",{className:"modal-container"},o.a.createElement("div",{className:"modal-header"},o.a.createElement("h2",{className:"modal-title"},o.a.createElement(l,null)),o.a.createElement("div",{className:"react-modal-popup-close",onClick:this.closeModal})),o.a.createElement("div",{className:"modal-body"},n))))}}])&&r(a.prototype,n),l&&r(a,l),t}(o.a.Component);t.a=d},function(e,t,a){"use strict";var n=a(1),o=a.n(n);a(47);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,a){return t&&r(e.prototype,t),a&&r(e,a),e}function s(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?f(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){function t(){var e;return i(this,t),(e=s(this,u(t).apply(this,arguments))).state={active:0,selected:!1},e.active=e.active.bind(f(e)),e.mapRender=e.mapRender.bind(f(e)),e}return d(t,e),c(t,[{key:"active",value:function(e,t){e.preventDefault(),this.setState({active:t,selected:!0})}},{key:"mapRender",value:function(){var e=this,t=this.props,a=t.color,n=t.bgColor,l=t.children,i=!0===t.fullWidthTabs?" flex-tabs":"",r=[],c=[],s=!1,u="function"==typeof l.map?l:[l];return"function"==typeof u.map&&u.map((function(t,l){if(t&&b.name===t.type.name){var i=t.props,u=i.title,f=i.iconClass,d=i.className,p=t.props.children,y=t.props.color,h=t.props.bgColor,m="";!t.props.active||s||e.state.selected||(m="active",s=!0),l===e.state.active&&e.state.selected&&(m="active");var g={},v="";(a||y)&&(g.color=a||y),(n||h)&&(g.backgroundColor=n||h),(g.color||g.backgroundColor)&&(v=g),r.push(o.a.createElement("li",{key:"link-".concat(l),className:m},o.a.createElement("a",{href:"#tab-".concat(l),style:v,onClick:function(t){return e.active(t,l)}},f&&o.a.createElement("i",{className:f})," ".concat(u)))),c.push(o.a.createElement("div",{key:"tab-".concat(l),className:"tab ".concat(m," ").concat(d),style:v},p))}})),o.a.createElement("div",{className:"react-clean-tabs".concat(i)},o.a.createElement("ul",{className:"tab-links"},r),o.a.createElement("div",{className:"tabs-content"},c))}},{key:"render",value:function(){return this.mapRender()}}]),t}(o.a.Component),b=function(e){function t(){return i(this,t),s(this,u(t).apply(this,arguments))}return d(t,e),c(t,[{key:"render",value:function(){var e=this.props.children;return o.a.createElement("div",null,e)}}]),t}(y);y.Item=b,t.a=y},function(e){e.exports=JSON.parse('{"pricingtable":{"name":"hayyabuild/pricingtable","category":"hayyabuild","attributes":{"cleanStyle":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--clean-style","default":true},"zoomEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--zoom-effect","default":false},"opacityEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--opacity-effect","default":false},"gradientEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--gradient-effect","default":false},"shadowEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--shadow-effect","default":false},"numOfplans":{"type":"number","default":"1"},"id":{"type":"string","default":""},"classesList":{"type":"string","default":""}},"deprecated":{"attributes":{}}},"pricingtableplan":{"name":"hayyabuild/pricingtableplan","category":"hayyabuild","attributes":{"ribbonText":{"type":"string","source":"html","selector":".hayyabuild-pricingtable__plan__header__ribbon span"},"headingText":{"type":"text","source":"html","selector":".hayyabuild-pricingtable__plan__header__heading"},"planIcon":{"typr":"string","source":"attribute","selector":".hayyabuild-pricingtable__plan__header__icon > i","attribute":"class"},"priceText":{"type":"string","source":"html","selector":".hayyabuild-pricingtable__plan__header__price"},"featuredPlan":{"type":"boolean","default":false},"ribbonTextColor":{"type":"string","default":"#fff"},"ribbonBgColor":{"type":"string","default":"#0097d4"},"id":{"type":"string","default":""},"classesList":{"type":"string","default":""}},"deprecated":{"attributes":{}}}}')},function(e){e.exports=JSON.parse('{"name":"hayyabuild/button","category":"hayyabuild","attributes":{"text":{"type":"array","source":"children","selector":"span"},"title":{"type":"string","source":"attribute","selector":"a","attribute":"title"},"link":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"align":{"type":"string"},"icon":{"type":"string","source":"attribute","selector":"a i","attribute":"class"},"newTab":{"type":"boolean","source":"attribute","selector":"a","attribute":"target"},"waveEffect":{"type":"boolean","default":true},"shadowffect":{"type":"boolean","default":true},"effectType":{"type":"string","default":"light"},"size":{"type":"number","default":3},"id":{"type":"string"},"classesList":{"type":"string","default":""},"style":{"type":"object","source":"attribute","selector":"a","attribute":"style"}}}')},function(e){e.exports=JSON.parse('{"name":"hayyabuild/social","category":"hayyabuild","attributes":{"align":{"type":"string","default":""},"size":{"type":"number","default":5},"shadow":{"type":"boolean","default":false},"facebook":{"type":"string","source":"attribute","selector":"a.facebook","attribute":"href"},"twitter":{"type":"string","source":"attribute","selector":"a.twitter","attribute":"href"},"linkedin":{"type":"string","source":"attribute","selector":"a.linkedin","attribute":"href"},"youtube":{"type":"string","source":"attribute","selector":"a.youtube","attribute":"href"},"vimeo":{"type":"string","source":"attribute","selector":"a.vimeo","attribute":"href"},"instagram":{"type":"string","source":"attribute","selector":"a.instagram","attribute":"href"},"pinterest":{"type":"string","source":"attribute","selector":"a.pinterest","attribute":"href"},"flickr":{"type":"string","source":"attribute","selector":"a.flickr","attribute":"href"},"github":{"type":"string","source":"attribute","selector":"a.github","attribute":"href"},"vk":{"type":"string","source":"attribute","selector":"a.vk","attribute":"href"},"tumblr":{"type":"string","source":"attribute","selector":"a.tumblr","attribute":"href"},"id":{"type":"string"},"classesList":{"type":"string","default":""},"style":{"type":"object","source":"attribute","selector":"xx","attribute":"xx"}}}')},function(e){e.exports=JSON.parse('{"name":"hayyabuild/progressbar","category":"hayyabuild","attributes":{"align":{"type":"string","default":""},"size":{"type":"number","default":5},"id":{"type":"string"},"classesList":{"type":"string","default":""},"style":{"type":"object","source":"attribute","selector":"xx","attribute":"xx"}}}')},function(e,t,a){"use strict";1 !function(e){var t={};function a(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,a),o.l=!0,o.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)a.d(n,o,function(t){return e[t]}.bind(null,o));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=25)}([function(e,t,a){"use strict";a.r(t);var n=a(3);a(4),a(30);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){function t(){return r(this,t),i(this,c(t).apply(this,arguments))}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,React.Component),a=t,(n=[{key:"render",value:function(){var e=this.props,t=e.title,a=e.iconClass,n=e.color,o=e.children;return React.createElement("fieldset",{className:"react-fieldset",style:{color:n,borderColor:n}},React.createElement("legend",null,void 0!==a&&React.createElement("i",{className:a})," ".concat(t)),o)}}])&&l(a.prototype,n),o&&l(a,o),t}();a(32);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function p(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach((function(t){y(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function y(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?v(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var w=wp.element.Component,E=wp,_=E.i18n.__,R=E.components,x=(R.ToggleControl,R.SelectControl,R.RangeControl,R.TextControl,E.editor.InspectorControls,E.blockEditor),C=(x.RichText,x.PanelColorSettings),S=x.__experimentalPanelColorGradientSettings,O=function(e){function t(){var e;b(this,t),(e=m(this,g(t).apply(this,arguments))).options={};var a,n=e.props.value;(n&&Object.keys(n).map((function(t){e.options[t]=n[t]})),e.options.backgroundImage&&0===e.options.backgroundImage.indexOf("url"))?e.imageURL=e.options.backgroundImage.replace('url("',"").replace('")',""):e.imageURL=null!==(a=e.options.backgroundImage)&&void 0!==a?a:"";return e.selectImages=e.selectImages.bind(v(e)),e.bgColor=e.bgColor.bind(v(e)),e.setGradient=e.setGradient.bind(v(e)),e.clearImage=e.clearImage.bind(v(e)),e.setStyle=e.setStyle.bind(v(e)),e.propsChange=e.propsChange.bind(v(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(t,e),a=t,(n=[{key:"selectImages",value:function(e){var t=this;e.preventDefault();var a=wp.media.frames.file_frame=wp.media({title:_("Choose Image","hayyabuild")});a.on("select",(function(){var e=a.state().get("selection").first().toJSON();t.options.backgroundImage="url(".concat(e.url,")"),t.imageURL=e.url,t.props.onChange(t.options)})),a.open()}},{key:"setStyle",value:function(e){if(e.currentTarget){var t=e.currentTarget.id,a=e.currentTarget.value;"backgroundImage"===t&&(this.imageURL=a,a=0===a.indexOf("radial-gradient")||0===a.indexOf("linear-gradient")?e.currentTarget.value:"url(".concat(e.currentTarget.value,")")),""===a||null==a?delete this.options[t]:("backgroundSize"===t&&"stretch"===a&&(a="100% 100%"),this.options[t]=a),this.propsChange(this.options)}}},{key:"bgColor",value:function(e){""===e||null==e?delete this.options.backgroundColor:this.options.backgroundColor=e,this.propsChange(this.options)}},{key:"setGradient",value:function(e){""===e||null==e?delete this.options.backgroundImage:(this.options.backgroundImage=e,this.imageURL=e),this.propsChange(this.options)}},{key:"clearImage",value:function(e){e.preventDefault(),this.imageURL=this.options.backgroundImage=this.options.backgroundSize=this.options.backgroundRepeat="",this.propsChange(this.options)}},{key:"propsChange",value:function(e){var t={};Object.keys(e).map((function(a){e[a]&&(t[a]=e[a])})),this.props.onChange(t)}},{key:"render",value:function(){var e=this,t="100% 100%"!==this.options.backgroundSize?this.options.backgroundSize:"stretch";return React.createElement("div",{className:"hayyabuild-background"},React.createElement((function(){if("function"==typeof S){var t=S;return React.createElement(t,{title:_("Background Color","hayyabuild"),settings:[{label:_("Background Color","hayyabuild"),colorValue:e.options.backgroundColor,onColorChange:e.bgColor,gradientValue:e.options.backgroundImage&&e.options.backgroundImage.indexOf("gradient")>-1?e.options.backgroundImage:"",onGradientChange:e.setGradient}]})}return React.createElement(C,{id:"backgroundColor",title:_("Background Color","hayyabuild"),initialOpen:!1,disableAlpha:!1,colorSettings:[{label:_("Background Color","hayyabuild"),value:e.options.backgroundColor,onChange:e.bgColor}]})}),null),React.createElement("div",{className:"hb_bg_button",style:p({},this.options)},React.createElement("a",{className:"bg_button",href:"#",onClick:this.selectImages},_("Select Image","hayyabuild")),React.createElement("a",{className:"remove",href:"#",onClick:this.clearImage},"x")),React.createElement("div",{className:"background-options"},React.createElement("select",{id:"backgroundSize",value:t,onChange:this.setStyle},React.createElement("option",{value:""},_("Background size","hayyabuild")),React.createElement("option",{value:"stretch"},_("stretch","hayyabuild")),React.createElement("option",{value:"cover"},_("Cover","hayyabuild")),React.createElement("option",{value:"contain"},_("Contain","hayyabuild")),React.createElement("option",{value:"initial"},_("Initial","hayyabuild"))),React.createElement("select",{id:"backgroundRepeat",value:this.options.backgroundRepeat,onChange:this.setStyle},React.createElement("option",{value:""},_("Background repeat","hayyabuild")),React.createElement("option",{value:"repeat"},_("Repeat","hayyabuild")),React.createElement("option",{value:"repeat-x"},_("Repeat X","hayyabuild")),React.createElement("option",{value:"repeat-y"},_("Repeat Y","hayyabuild")),React.createElement("option",{value:"no-repeat"},_("No repeat","hayyabuild")))),React.createElement("label",{htmlFor:"backgroundImage",id:"label-backgroundImage"},_("Add image URL or gradient color value","hayyabuild")),React.createElement("input",{id:"backgroundImage",className:"bg_image",type:"text",value:this.imageURL,placeholder:_("Background Image","hayyabuild"),onChange:this.setStyle}))}}])&&h(a.prototype,n),o&&h(a,o),t}(w);function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I(e,t){return!t||"object"!==N(t)&&"function"!=typeof t?P(e):t}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var F=wp,z=F.i18n.__,M=F.element.Fragment,A=F.components.RangeControl,D=F.blockEditor.PanelColorSettings,q=wp.element.Component,V=["padding","paddingRight","paddingTop","paddingLeft","paddingBottom","margin","marginRight","marginTop","marginLeft","marginBottom","borderWidth","borderRightWidth","borderTopWidth","borderLeftWidth","borderBottomWidth","borderColor","borderStyle","borderRadius","fontSize","color","opacity","backgroundColor","backgroundImage","backgroundRepeat","backgroundSize"],U=function(e){function t(){var e;H(this,t),(e=I(this,B(t).apply(this,arguments))).options={},e.background={};var a=e.getValue(),n=e.styleToObject(a),o={backgroundColor:!0,backgroundImage:!0,backgroundRepeat:!0,backgroundSize:!0};return n&&Object.keys(n).map((function(t){e.options[t]=n[t],o[t]&&(e.background[t]=n[t])})),e.units={marginUnit:e.getUnit(e.options.marginTop)||"px",paddingUnit:e.getUnit(e.options.paddingTop)||"px",radiusUnit:e.getUnit(e.options.borderRadius)||"px",fontSizeUnit:e.getUnit(e.options.fontSize)||"px"},e.options.borderBottomWidth||e.options.borderLeftWidth||e.options.borderRightWidth||e.options.borderTopWidth?e.border=!0:e.border=!1,e.setOption=e.setOption.bind(P(e)),e.bgChange=e.bgChange.bind(P(e)),e.onEvent=e.onEvent.bind(P(e)),e.propsChange=e.propsChange.bind(P(e)),e.changeUnit=e.changeUnit.bind(P(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}(t,e),a=t,(n=[{key:"setOption",value:function(e,t){""===e||null==e?delete this.options[t]:this.options[t]=e,this.options.borderBottomWidth||this.options.borderLeftWidth||this.options.borderRightWidth||this.options.borderTopWidth?this.border=!0:(delete this.options.borderStyle,delete this.options.borderColor,this.border=!1),this.propsChange()}},{key:"onEvent",value:function(e){var t=e.currentTarget.value,a=e.currentTarget.id;this.setOption(t,a)}},{key:"bgChange",value:function(e){var t=this;e&&(Object.keys({backgroundColor:!0,backgroundImage:!0,backgroundRepeat:!0,backgroundSize:!0}).map((function(e){delete t.options[e]})),Object.keys(e).map((function(a){e[a]?t.options[a]=e[a]:delete t.options[a]}))),this.propsChange()}},{key:"propsChange",value:function(){var e=this,t=this.options,a={};Object.keys(t).map((function(n){""!==t[n]&&null!==t[n]&&void 0!==t[n]&&(a[n]=t[n],e.removeUnit(t[n])&&(n.indexOf("margin")>-1?a[n]=e.removeUnit(t[n])+e.units.marginUnit:n.indexOf("padding")>-1?a[n]=e.removeUnit(t[n])+e.units.paddingUnit:n.indexOf("radius")>-1?a[n]=e.removeUnit(t[n])+e.units.radiusUnit:n.indexOf("fontSize")>-1?a[n]=e.removeUnit(t[n])+e.units.fontSizeUnit:n.indexOf("border")>-1&&"borderColor"!==n&&(a[n]=e.removeUnit(t[n])+"px")))}));var n=document.getElementById("hayyabuild_inline_style"),o=n.value,r={};if(o&&"null"!==o)try{r=JSON.parse(o)}catch(e){return console.log("ERRoR1: cona`t parse tyle:",e),!1}this.props.elementID&&this.props.elementStyle&&(r[this.props.elementID]={element:this.props.elementStyle,style:this.styleToString(a)},n.value=JSON.stringify(r),this.setState({justUpdate:"id"}))}},{key:"getValue",value:function(){var e,t=document.getElementById("hayyabuild_inline_style");if(!t.value)return"";try{e=JSON.parse(t.value)}catch(e){return console.log("ERRoR2: cona`t parse tyle:",e),!1}var a=this.props.elementID&&e?e[this.props.elementID]:{};return a&&"string"==typeof a.style?a.style:{}}},{key:"addUnit",value:function(e,t){return(e=parseFloat(e))&&"NaN"!==e?e+t:""}},{key:"getUnit",value:function(e){return e&&e.replace?e.replace(/\d+|^\s+|\s+$/g,"").replace(/\./g,""):""}},{key:"removeUnit",value:function(e){if(e){var t=parseFloat(e);return"undefined"!==t?t:""}}},{key:"changeUnit",value:function(e){this.units[e.currentTarget.id]=e.currentTarget.value,this.propsChange()}},{key:"unitsHTML",value:function(e,t){return React.createElement("select",{id:e,className:"unit",value:this.getUnit(t),onChange:this.changeUnit},React.createElement("option",{value:"px"},"px"),React.createElement("option",{value:"em"},"em"),React.createElement("option",{value:"rem"},"rem"),"fontSizeUnit"!==e&&React.createElement(M,null,React.createElement("option",{value:"%"},"%")))}},{key:"styleToObject",value:function(e){if(e){if("object"===N(e))return e;var t={},a=document.createElement("I");a.setAttribute("style",e);var n=a.style;return a.remove(),V.forEach((function(e){e&&n[e]&&(t[e]=n[e])})),t}}},{key:"styleToString",value:function(e){var t,a=document.createElement("I");return Object.keys(e).map((function(t){a.style[t]=e[t]})),t=a.getAttribute("style"),a.remove(),t}},{key:"render",value:function(){var e=this,t=this.options,a=t.marginTop,n=t.borderStyle,o=t.marginRight,r=t.marginBottom,l=t.marginLeft,i=t.borderTopWidth,c=t.borderRightWidth,s=t.borderBottomWidth,f=t.borderLeftWidth,d=t.paddingTop,p=t.paddingRight,y=t.paddingBottom,b=t.paddingLeft,h=this.options,m=h.borderColor,g=h.borderRadius,v=h.fontSize,k=h.color,w=h.opacity,E=this.units,_=E.marginUnit,R=E.paddingUnit,x=E.radiusUnit,C=E.fontSizeUnit;return React.createElement("div",{className:"hayyabuild-styles"},React.createElement("div",null,React.createElement(u,{key:"layoutoptions",title:z("Layout options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement("div",{className:"layout"},React.createElement("div",{className:"margin"},React.createElement("label",{htmlFor:"marginTop"},z("Margin","hayyabuild")),React.createElement("input",{id:"marginTop",min:"-1000",max:"1000",type:"number",className:"margin_top",value:this.removeUnit(a),onChange:this.onEvent}),this.unitsHTML("marginUnit",_),React.createElement("input",{id:"marginRight",min:"-1000",max:"1000",type:"number",className:"margin_right",value:this.removeUnit(o),onChange:this.onEvent}),React.createElement("input",{id:"marginBottom",min:"-1000",max:"1000",type:"number",className:"margin_bottom",value:this.removeUnit(r),onChange:this.onEvent}),React.createElement("input",{id:"marginLeft",min:"-1000",max:"1000",type:"number",className:"margin_left",value:this.removeUnit(l),onChange:this.onEvent}),React.createElement("div",{className:"border"},React.createElement("label",{htmlFor:"borderTopWidth"},z("Border","hayyabuild")),React.createElement("input",{id:"borderTopWidth",min:"0",max:"20",type:"number",className:"border_top_width",value:this.removeUnit(i),onChange:this.onEvent}),React.createElement("span",{className:"unit"},"PX"),React.createElement("input",{id:"borderRightWidth",min:"0",max:"20",type:"number",className:"border_right_width",value:this.removeUnit(c),onChange:this.onEvent}),React.createElement("input",{id:"borderBottomWidth",min:"0",max:"20",type:"number",className:"border_bottom_width",value:this.removeUnit(s),onChange:this.onEvent}),React.createElement("input",{id:"borderLeftWidth",min:"0",max:"20",type:"number",className:"border_left_width",value:this.removeUnit(f),onChange:this.onEvent}),React.createElement("div",{className:"padding"},React.createElement("label",{htmlFor:"paddingTop"},z("Padding","hayyabuild")),React.createElement("input",{id:"paddingTop",min:"0",max:"1000",type:"number",className:"padding_top",value:this.removeUnit(d),onChange:this.onEvent}),this.unitsHTML("paddingUnit",R),React.createElement("input",{id:"paddingRight",min:"0",max:"1000",type:"number",className:"padding_right",value:this.removeUnit(p),onChange:this.onEvent}),React.createElement("input",{id:"paddingBottom",min:"0",max:"1000",type:"number",className:"padding_bottom",value:this.removeUnit(y),onChange:this.onEvent}),React.createElement("input",{id:"paddingLeft",min:"0",max:"1000",type:"number",className:"padding_left",value:this.removeUnit(b),onChange:this.onEvent}),React.createElement("div",{className:"content"})))))),React.createElement(u,{key:"borderoptions",title:z("Border options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(A,{label:z("Border radius","hayyabuild"),id:"fontSize",className:"with_unit",value:this.removeUnit(g),onChange:function(t){return e.setOption(t,"borderRadius")},min:0,max:100}),React.createElement("div",{className:"unit_container for_range"},this.unitsHTML("radiusUnit",x)),this.border&&React.createElement("div",null,React.createElement(D,{id:"borderColor",title:z("Border color","hayyabuild"),initialOpen:!1,disableAlpha:!1,colorSettings:[{label:z("Border Color","hayyabuild"),value:m,onChange:function(t){return e.setOption(t,"borderColor")}}]}),React.createElement("select",{id:"borderStyle",value:n,onChange:this.onEvent},React.createElement("option",{value:""},z("Border style","hayyabuild")),React.createElement("option",{value:"solid"},z("Solid","hayyabuild")),React.createElement("option",{value:"dashed"},z("Dashed","hayyabuild")),React.createElement("option",{value:"dotted"},z("Dotted","hayyabuild")),React.createElement("option",{value:"double"},z("Double","hayyabuild")),React.createElement("option",{value:"groove"},z("Groove","hayyabuild")),React.createElement("option",{value:"ridge"},z("Ridge","hayyabuild")))))),React.createElement("div",null,React.createElement(u,{key:"fontoptions",title:z("Font options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(A,{label:z("Font size","hayyabuild"),id:"fontSize",className:"with_unit",value:this.removeUnit(v),onChange:function(t){return e.setOption(t,"fontSize")},min:0,max:100}),React.createElement("div",{className:"unit_container for_range"},this.unitsHTML("fontSizeUnit",C)),React.createElement(D,{id:"fontColor",title:z("Text color","hayyabuild"),initialOpen:!1,colorSettings:[{label:z("Text Color","hayyabuild"),value:k,onChange:function(t){return e.setOption(t,"color")}}]})),React.createElement(u,{key:"Opacity",title:z("Opacity","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(A,{label:z("Opacity","hayyabuild"),id:"opacity",value:w,onChange:function(t){return e.setOption(t,"opacity")},min:0,max:1,step:.01})),React.createElement(u,{key:"backgroundoptions",title:z("Background options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(O,{value:this.background,onChange:function(t){return e.bgChange(t)}}))))}}])&&T(a.prototype,n),o&&T(a,o),t}(q);function W(e){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $(e,t){return!t||"object"!==W(t)&&"function"!=typeof t?Z(e):t}function Q(e){return(Q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Z(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y(e,t){return(Y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var J=wp,X=J.i18n.__,ee=J.components.RangeControl,te={visibility:X("Visibility Options","hayyabuild"),scroll:X("Scrollin Options","hayyabuild"),hover:X("Hovering Options","hayyabuild"),other:X("Other Options","hayyabuild")},ae={visibility:{SM:{visibleSM:["hb-visible-sm",X("Visible on small screen","hayyabuild")],hiddenSM:["hb-hidden-sm",X("Hidden on small screen","hayyabuild")]},MD:{visibleMD:["hb-visible-md",X("Visible on medium screen","hayyabuild")],hiddenMD:["hb-hidden-md",X("Hidden on medium screen","hayyabuild")]},LG:{visibleLG:["hb-visible-lg",X("Visible on large screen","hayyabuild")],hiddenLG:["hb-hidden-lg",X("Hidden on large screen","hayyabuild")]},XLG:{visibleXLG:["hb-visible-xlg",X("Visible on extra large screen","hayyabuild")],hiddenXLG:["hb-hidden-xlg",X("Hidden on extra large screen","hayyabuild")]}},scroll:{scale:{scaleIn:["hb-scale-in",X("Scale in","hayyabuild")],scaleOut:["hb-scale-out",X("Scale out","hayyabuild")]},slideX:{slideRight:["hb-slide-left",X("Slide left","hayyabuild")],slideLeft:["hb-slide-right",X("Slide right","hayyabuild")]},slideY:{slideUp:["hb-slide-up",X("Slide up","hayyabuild")],slideDown:["hb-slide-down",X("Slide down","hayyabuild")]},fade:{fadeIn:["hb-fade-in",X("Fade in","hayyabuild")],fadeOut:["hb-fade-out",X("Fade out","hayyabuild")]},rotation:{rightRotation:["hb-left-rotation",X("Left rotation","hayyabuild")],leftRotation:["hb-right-rotation",X("Right rotation","hayyabuild")]},uprotation:{upRotation:["hb-up-rotation",X("Up rotation","hayyabuild")],downRotation:["hb-down-rotation",X("Down rotation","hayyabuild")]},parallax:{fixedBackground:["hb-fixed-bg",X("Fixed background","hayyabuild")],parallaxUp:["hb-parallax-up",X('Parallax background "Up"',"hayyabuild")],parallaxDown:["hb-parallax-down",X('Parallax background "DWON"',"hayyabuild")]}},hover:{zoom:{zoomBgIn:["hb-hover-bg-zoomin",X("Background Zoom-in","hayyabuild")],zoomBgOut:["hb-hover-bg-zoomout",X("Background Zoom-out","hayyabuild")]},shadow:{boxShadow:["hb-hover-shadow",X("Draw Shadow","hayyabuild")]},scale:{hoveScaleIn:["hb-hover-scalein",X("Scale in","hayyabuild")],hoveScaleOut:["hb-hover-scaleout",X("Scale out","hayyabuild")]},visibility:{opacityInc:["hb-hover-visibility-inc",X("Increase visibility","hayyabuild")],opacityDec:["hb-hover-visibility-dec",X("Reduction visibility","hayyabuild")]}},other:{align:{textLeft:["text-left",X("Align left","hayyabuild")],textRight:["text-right",X("Align right","hayyabuild")],textCenter:["text-center",X("Align center","hayyabuild")],textJustify:["text-justify",X("Align justify","hayyabuild")]},sizeAlign:{centerSM:["center-sm",X("Align content to center on small device","hayyabuild")],centerMD:["center-md",X("Align content to center on medium device","hayyabuild")],centerLG:["center-lg",X("Align content to center on large device","hayyabuild")]}}},ne={};Object.keys(ae).map((function(e){Object.keys(ae[e]).map((function(t){Object.keys(ae[e][t]).map((function(a){ne[a]=ae[e][t][a][0]}))}))}));var oe=function(e){function t(){var e;if(K(this,t),(e=$(this,Q(t).apply(this,arguments))).options={lite:e.props.lite},Object.keys(ne).map((function(t){e.props.value&&(e.options[t]=e.props.value.indexOf(ne[t])>-1)})),e.props.value&&"string"==typeof e.props.value){var a=e.props.value.split(" ");a&&"function"==typeof a.map&&a.map((function(t){t.indexOf("hb-scroll_duration_")>-1?e.options.scrollDuration=parseInt(t.replace("hb-scroll_duration_","")):t.indexOf("hb-scroll_easing_")>-1&&(e.options.scrollEasing=t.replace("hb-scroll_easing_",""))}))}return e.setClasses=e.setClasses.bind(Z(e)),e.onChangeToggle=e.onChangeToggle.bind(Z(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y(e,t)}(t,e),a=t,(n=[{key:"setClasses",value:function(){var e=this,t=[];Object.keys(this.options).map((function(a){!0===e.options[a]&&t.push(ne[a])})),void 0!==this.options.scrollDuration&&70!==this.options.scrollDuration&&t.push("hb-scroll_duration_"+this.options.scrollDuration),this.options.scrollEasing&&t.push("hb-scroll_easing_"+this.options.scrollEasing),this.props.onChange(t)}},{key:"onChangeToggle",value:function(e){var t=this;if("undefined"!==e){if("number"==typeof e){var a=100*(e/100).toFixed(2);this.options.scrollDuration=a}else{var n=e.currentTarget,o=n.id,r=e.currentTarget.value,l=n.checked,i=n.attributes.classgroup.value;ne[o]?(this.options[o]=l,Object.keys(ae[i]).map((function(e){"sizeAlign"!==e&&ae[i][e][o]&&Object.keys(ae[i][e]).map((function(e){o!==e&&(t.options[e]=!1)}))}))):"scrollEasing"===o&&"undefined"!==r&&(this.options.scrollEasing=r)}this.setClasses()}}},{key:"scrollOptions",value:function(){var e=this.options,t=e.scrollDuration,a=e.scrollEasing;return React.createElement("div",{className:"scroll-options"},React.createElement(ee,{label:X("Scroll duration","hayyabuild"),id:"scrollDuration",className:"scroll_duration",classgroup:"scroll",value:t||70,onChange:this.onChangeToggle,min:0,max:100,step:5}),React.createElement("select",{id:"scrollEasing",value:a,classgroup:"scroll",onChange:this.onChangeToggle},React.createElement("option",{value:""},X("Select Easing","hayyabuild")),React.createElement("option",{value:"ease"},"ease"),React.createElement("option",{value:"linear"},"linear"),React.createElement("option",{value:"ease-in"},"ease-in"),React.createElement("option",{value:"ease-out"},"ease-out"),React.createElement("option",{value:"ease-in-out"},"ease-in-out"),React.createElement("option",{value:"easeInQuad"},"easeInQuad"),React.createElement("option",{value:"easeInCubic"},"easeInCubic"),React.createElement("option",{value:"easeInQuart"},"easeInQuart"),React.createElement("option",{value:"easeInQuint"},"easeInQuint"),React.createElement("option",{value:"easeInSine"},"easeInSine"),React.createElement("option",{value:"easeInExpo"},"easeInExpo"),React.createElement("option",{value:"easeInCirc"},"easeInCirc"),React.createElement("option",{value:"easeInBack"},"easeInBack"),React.createElement("option",{value:"easeOutQuad"},"easeOutQuad"),React.createElement("option",{value:"easeOutCubic"},"easeOutCubic"),React.createElement("option",{value:"easeOutQuart"},"easeOutQuart"),React.createElement("option",{value:"easeOutQuint"},"easeOutQuint"),React.createElement("option",{value:"easeOutSine"},"easeOutSine"),React.createElement("option",{value:"easeOutExpo"},"easeOutExpo"),React.createElement("option",{value:"easeOutCirc"},"easeOutCirc"),React.createElement("option",{value:"easeOutBack"},"easeOutBack"),React.createElement("option",{value:"easeInOutQuad"},"easeInOutQuad"),React.createElement("option",{value:"easeInOutCubic"},"easeInOutCubic"),React.createElement("option",{value:"easeInOutQuart"},"easeInOutQuart"),React.createElement("option",{value:"easeInOutQuint"},"easeInOutQuint"),React.createElement("option",{value:"easeInOutSine"},"easeInOutSine"),React.createElement("option",{value:"easeInOutExpo"},"easeInOutExpo"),React.createElement("option",{value:"easeInOutCirc"},"easeInOutCirc"),React.createElement("option",{value:"easeInOutBack"},"easeInOutBack")))}},{key:"render",value:function(){var e=this,t=this.props.lite;return Math.floor(999*Math.random()+111),React.createElement("div",{className:"hayyabuild-classes"},Object.keys(ae).map((function(a){return React.createElement(u,{key:a,title:te[a],iconClass:"fa fa-search-plus"},"visibility"===a||"other"===a||!0===t.scroll&&"scroll"===a||!0===t.hover&&"hover"===a?React.createElement("div",null,"scroll"===a&&e.scrollOptions(),Object.keys(ae[a]).map((function(t){var n=ae[a][t];return Object.keys(n).map((function(t){var o=n[t];return React.createElement("div",{key:"div-".concat(t),className:"options-checkbox"},React.createElement("input",{key:t,id:t,name:t,type:"checkbox",classgroup:a,checked:!!e.options[t],onChange:e.onChangeToggle}),React.createElement("label",{key:"label-".concat(t),htmlFor:t},o[1]))}))}))):React.createElement(gt.getPro,{list:!0}))})))}}])&&G(a.prototype,n),o&&G(a,o),t}(wp.element.Component);a(34);function re(e){return(re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ce(e,t){return!t||"object"!==re(t)&&"function"!=typeof t?ue(e):t}function se(e){return(se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ue(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fe(e,t){return(fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var de=wp.i18n.__,pe=wp.element,ye=pe.Fragment,be=function(e){function t(){var e;return le(this,t),(e=ce(this,se(t).apply(this,arguments))).options={classesList:e.props.value.classesList,inlineStyle:e.props.value.inlineStyle},void 0===e.props.lite?e.options.lite={style:!1,scroll:!1,hover:!1}:e.options.lite={style:e.props.lite.style||!1,scroll:e.props.lite.scroll||!1,hover:e.props.lite.hover||!1},e.setValue=e.setValue.bind(ue(e)),e}var a,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fe(e,t)}(t,e),a=t,(o=[{key:"setValue",value:function(){for(var e=this.options.classesList||[],t=0,a=["hb-scale-in","hb-scale-out","hb-slide-right","hb-slide-left","hb-slide-up","hb-slide-down","hb-fade-in","hb-fade-out","hb-right-rotation","hb-left-rotation","hb-up-rotation","hb-down-rotation","hb-fixed-bg","hb-parallax-up","hb-parallax-down"];t<a.length;t++){var n=a[t];if(e.indexOf(n)>-1){this.options.classesList.push("hayya-scrolleffects");break}}var o={classesList:e.join(" "),inlineStyle:this.options.inlineStyle};this.props.onChange(o)}},{key:"render",value:function(){var e=this,t=this.options,a=t.classesList,o=(t.inlineStyle,t.lite);return React.createElement(ye,null,React.createElement(n.a,{title:de("Options","hayyabuild"),iconClass:"fa fa-cogs",appendTo:"editor",onOpen:gt.optionsModalOpened,onClose:gt.optionsModalClosed},React.createElement(oe,{value:a,onChange:function(t){e.options.classesList=t,e.setValue()},lite:o})),void 0!==this.options.inlineStyle&&React.createElement(ye,null,!0===o.style?React.createElement(n.a,{title:de("Style","hayyabuild"),iconClass:"fa fa-paint-brush",appendTo:"editor",onOpen:gt.optionsModalOpened,onClose:gt.optionsModalClosed},React.createElement("div",null,React.createElement(U,{elementStyle:this.props.elementStyle,elementID:this.props.elementID}))):""))}}])&&ie(a.prototype,o),r&&ie(a,r),t}(pe.Component),he=a(11),me=a.n(he);function ge(e){return(ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ve(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function ke(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function we(e,t){var a=e["page".concat(t?"Y":"X","Offset")],n="scroll".concat(t?"Top":"Left");if("number"!=typeof a){var o=e.document;"number"!=typeof(a=o.documentElement[n])&&(a=o.body[n])}return a}function Ee(e){return we(e)}function _e(e){return we(e,!0)}function Re(e){var t=function(e){var t,a,n,o=e.ownerDocument,r=o.body,l=o&&o.documentElement;return a=(t=e.getBoundingClientRect()).left,n=t.top,{left:a-=l.clientLeft||r.clientLeft||0,top:n-=l.clientTop||r.clientTop||0}}(e),a=e.ownerDocument,n=a.defaultView||a.parentWindow;return t.left+=Ee(n),t.top+=_e(n),t}var xe,Ce=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),Se=/^(top|right|bottom|left)$/;function Oe(e,t){for(var a=0;a<e.length;a++)t(e[a])}function Le(e){return"border-box"===xe(e,"boxSizing")}"undefined"!=typeof window&&(xe=window.getComputedStyle?function(e,t,a){var n="",o=e.ownerDocument,r=a||o.defaultView.getComputedStyle(e,null);return r&&(n=r.getPropertyValue(t)||r[t]),n}:function(e,t){var a=e.currentStyle&&e.currentStyle[t];if(Ce.test(a)&&!Se.test(t)){var n=e.style,o=n.left,r=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left,n.left="fontSize"===t?"1em":a||0,a=n.pixelLeft+"px",n.left=o,e.runtimeStyle.left=r}return""===a?"auto":a});var Ne=["margin","border","padding"];function He(e,t,a){var n,o={},r=e.style;for(n in t)t.hasOwnProperty(n)&&(o[n]=r[n],r[n]=t[n]);for(n in a.call(e),t)t.hasOwnProperty(n)&&(r[n]=o[n])}function Te(e,t,a){var n,o,r,l=0;for(o=0;o<t.length;o++)if(n=t[o])for(r=0;r<a.length;r++){var i=void 0;i="border"===n?"".concat(n+a[r],"Width"):n+a[r],l+=parseFloat(xe(e,i))||0}return l}function Ie(e){return null!=e&&e==e.window}var Be={};function Pe(e,t,a){if(Ie(e))return"width"===t?Be.viewportWidth(e):Be.viewportHeight(e);if(9===e.nodeType)return"width"===t?Be.docWidth(e):Be.docHeight(e);var n="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,r=(xe(e),Le(e)),l=0;(null==o||o<=0)&&(o=void 0,(null==(l=xe(e,t))||Number(l)<0)&&(l=e.style[t]||0),l=parseFloat(l)||0),void 0===a&&(a=r?1:-1);var i=void 0!==o||r,c=o||l;if(-1===a)return i?c-Te(e,["border","padding"],n):l;if(i){var s=2===a?-Te(e,["border"],n):Te(e,["margin"],n);return c+(1===a?0:s)}return l+Te(e,Ne.slice(a),n)}Oe(["Width","Height"],(function(e){Be["doc".concat(e)]=function(t){var a=t.document;return Math.max(a.documentElement["scroll".concat(e)],a.body["scroll".concat(e)],Be["viewport".concat(e)](a))},Be["viewport".concat(e)]=function(t){var a="client".concat(e),n=t.document,o=n.body,r=n.documentElement[a];return"CSS1Compat"===n.compatMode&&r||o&&o[a]||r}}));var je={position:"absolute",visibility:"hidden",display:"block"};function Fe(e){var t,a=arguments;return 0!==e.offsetWidth?t=Pe.apply(void 0,a):He(e,je,(function(){t=Pe.apply(void 0,a)})),t}function ze(e,t,a){var n=a;if("object"!==ge(t))return void 0!==n?("number"==typeof n&&(n+="px"),void(e.style[t]=n)):xe(e,t);for(var o in t)t.hasOwnProperty(o)&&ze(e,o,t[o])}Oe(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);Be["outer".concat(t)]=function(t,a){return t&&Fe(t,e,a?0:1)};var a="width"===e?["Left","Right"]:["Top","Bottom"];Be[e]=function(t,n){if(void 0===n)return t&&Fe(t,e,-1);if(t){xe(t);return Le(t)&&(n+=Te(t,["padding","border"],a)),ze(t,e,n)}}}));var Me=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ke(a,!0).forEach((function(t){ve(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ke(a).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return Re(e);!function(e,t){"static"===ze(e,"position")&&(e.style.position="relative");var a,n,o=Re(e),r={};for(n in t)t.hasOwnProperty(n)&&(a=parseFloat(ze(e,n))||0,r[n]=a+t[n]-o[n]);ze(e,r)}(e,t)},isWindow:Ie,each:Oe,css:ze,clone:function(e){var t={};for(var a in e)e.hasOwnProperty(a)&&(t[a]=e[a]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(Ie(e)){if(void 0===t)return Ee(e);window.scrollTo(t,_e(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(Ie(e)){if(void 0===t)return _e(e);window.scrollTo(Ee(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},Be);var Ae=function(e,t,a){a=a||{},9===t.nodeType&&(t=Me.getWindow(t));var n=a.allowHorizontalScroll,o=a.onlyScrollIfNeeded,r=a.alignWithTop,l=a.alignWithLeft,i=a.offsetTop||0,c=a.offsetLeft||0,s=a.offsetBottom||0,u=a.offsetRight||0;n=void 0===n||n;var f,d,p,y,b,h,m,g,v,k,w=Me.isWindow(t),E=Me.offset(e),_=Me.outerHeight(e),R=Me.outerWidth(e);w?(m=t,k=Me.height(m),v=Me.width(m),g={left:Me.scrollLeft(m),top:Me.scrollTop(m)},b={left:E.left-g.left-c,top:E.top-g.top-i},h={left:E.left+R-(g.left+v)+u,top:E.top+_-(g.top+k)+s},y=g):(f=Me.offset(t),d=t.clientHeight,p=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},b={left:E.left-(f.left+(parseFloat(Me.css(t,"borderLeftWidth"))||0))-c,top:E.top-(f.top+(parseFloat(Me.css(t,"borderTopWidth"))||0))-i},h={left:E.left+R-(f.left+p+(parseFloat(Me.css(t,"borderRightWidth"))||0))+u,top:E.top+_-(f.top+d+(parseFloat(Me.css(t,"borderBottomWidth"))||0))+s}),b.top<0||h.top>0?!0===r?Me.scrollTop(t,y.top+b.top):!1===r?Me.scrollTop(t,y.top+h.top):b.top<0?Me.scrollTop(t,y.top+b.top):Me.scrollTop(t,y.top+h.top):o||((r=void 0===r||!!r)?Me.scrollTop(t,y.top+b.top):Me.scrollTop(t,y.top+h.top)),n&&(b.left<0||h.left>0?!0===l?Me.scrollLeft(t,y.left+b.left):!1===l?Me.scrollLeft(t,y.left+h.left):b.left<0?Me.scrollLeft(t,y.left+b.left):Me.scrollLeft(t,y.left+h.left):o||((l=void 0===l||!!l)?Me.scrollLeft(t,y.left+b.left):Me.scrollLeft(t,y.left+h.left)))};a(38);function De(e,t,a,n,o,r,l){try{var i=e[r](l),c=i.value}catch(e){return void a(e)}i.done?t(c):Promise.resolve(c).then(n,o)}function qe(e){return(qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function We(e,t){return!t||"object"!==qe(t)&&"function"!=typeof t?Ge(e):t}function Ke(e){return(Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ge(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $e(e,t){return($e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Qe=wp,Ze=Qe.i18n.__,Ye=Qe.element.Fragment,Je=Qe.components,Xe=(Je.PanelBody,Je.ToggleControl),et=Je.RangeControl,tt=(Je.SelectControl,Je.TextareaControl),at=(Qe.editor.AlignmentToolbar,Qe.blockEditor),nt=at.ColorPalette,ot=(at.InspectorControls,Qe.blockEditor.InnerBlocks,function(e){function t(){var e;return Ve(this,t),(e=We(this,Ke(t).apply(this,arguments))).state={id:e.props.id,zoom:e.props.zoom,latitude:e.props.latitude,longitude:e.props.longitude,markers:e.props.markers,isChanged:!1,isfullScreen:!1,eventListener:!1},e.editMarkerRef=React.createRef(),e.containerRef=React.createRef(),e.mapRef=React.createRef(),e.loadingContainerRef=React.createRef(),e.fullScreen=e.fullScreen.bind(Ge(e)),e.loadMap=e.loadMap.bind(Ge(e)),e.saveMap=e.saveMap.bind(Ge(e)),e.addMarker=e.addMarker.bind(Ge(e)),e.updateMap=e.updateMap.bind(Ge(e)),e.markerIcon=e.markerIcon.bind(Ge(e)),e.editMarker=e.editMarker.bind(Ge(e)),e.closeEditor=e.closeEditor.bind(Ge(e)),e.saveChanges=e.saveChanges.bind(Ge(e)),e.removeMarker=e.removeMarker.bind(Ge(e)),e.markerChange=e.markerChange.bind(Ge(e)),e.markerDragged=e.markerDragged.bind(Ge(e)),e.createMapProps=e.createMapProps.bind(Ge(e)),e}var a,n,o,r,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$e(e,t)}(t,React.Component),a=t,(n=[{key:"componentDidMount",value:function(){var e=this.props.clientId;this.extentNode=document.querySelector('[data-block="'+e+'"]'),this.scrollContainer=wp.dom.getScrollContainer(this.extentNode),this.createMapProps()}},{key:"componentDidUpdate",value:function(){this.loadMap()}},{key:"fullScreen",value:function(){var e=this;Element.prototype.requestFullscreen||(Element.prototype.requestFullscreen=Element.prototype.mozRequestFullscreen||Element.prototype.webkitRequestFullscreen||Element.prototype.msRequestFullscreen),document.exitFullscreen||(document.exitFullscreen=document.mozExitFullscreen||document.webkitExitFullscreen||document.msExitFullscreen);var t=this.containerRef.current,a=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement};return this.state.eventListener||(t.addEventListener("fullscreenchange",(function(){a()?(t.parentElement.classList.add("fullScreen-activated"),e.scrollContainer.style.overflow="hidden",Ae(e.extentNode,e.scrollContainer,{offsetTop:-300,alignWithLeft:!0,alignWithTop:!0})):(t.parentElement.classList.remove("fullScreen-activated"),e.scrollContainer.style.overflow=null)})),this.setState({eventListener:!0})),new Promise((function(e,n){a()?document.exitFullscreen&&document.exitFullscreen():t.requestFullscreen&&t.requestFullscreen()}))}},{key:"componentWillUnmount",value:function(){}},{key:"createMapProps",value:function(){var e=this.props.attrs,t=e.id,a=e.zoom,n=e.latitude,o=e.longitude,r=e.markers;if(t&&n&&o&&a){"object"!==qe(window.HayyaBuild.openstreetmap)&&(window.HayyaBuild.openstreetmap={},window.HayyaBuild.openstreetmap.list={});var l=window.HayyaBuild.openstreetmap[t];l||((l=document.createElement("div")).innerHTML=r,l.setAttribute("data-zoom",a),l.setAttribute("data-latitude",n),l.setAttribute("data-longitude",o));var i=l.querySelectorAll(".hayyabuild-map-marker");i&&i.forEach((function(e,t){e.setAttribute("data-key","mark-".concat(t))})),window.HayyaBuild.openstreetmap[t]=l,this.loadMap()}}},{key:"loadMap",value:function(){var e=this;try{window.HayyaBuild.openstreetmap}catch(e){return void console.log("HayyaBuild Map ERROR01")}var t=this.props.attrs,a=t.id,n=this.mapRef.current;if(a&&t&&n){var o,r=!0;if(window.HayyaBuild.openstreetmap.list[a]?(r=!1,o=window.HayyaBuild.openstreetmap.list[a]):(o=new L.map(n,{scrollWheelZoom:!1}),window.HayyaBuild.openstreetmap.list[a]=o),o){o.invalidateSize();var l=window.HayyaBuild.openstreetmap[a],i=l.dataset.latitude,c=l.dataset.longitude,s=l.dataset.zoom,u=t.style,f=t.customstyle,d="customstyle"===u?f:{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"}[u];o.eachLayer((function(e){return o.removeLayer(e)}));var p=l.querySelectorAll(".hayyabuild-map-marker");p&&p.forEach((function(t,a){t.setAttribute("data-key","key-".concat(a));var n=t.dataset.lat||0,r=t.dataset.lng||0,l=t.dataset.icon||"",i=t.dataset.markercolor||"#00A4FF",c=t.dataset.markersize||"3",s=(t.dataset.openpopup,t.dataset.type||"icon1"),u=t.innerHTML||"<br/>",f=me.a.renderToStaticMarkup(e.markerIcon({icon:s,color:i,clickEvent:!1})),d=L.divIcon({className:"hayyabuild-map__marker hayyabuild-map__marker_".concat(a+1," hayyabuild-map__marker--size-").concat(c," ").concat(l),iconSize:[15*c,24*c],iconAnchor:[7*c,24*c],popupAnchor:[0,-24*c],html:f}),p=L.layerGroup().addTo(o),y=L.marker([n,r],{icon:d,draggable:!0}).addTo(p);y.on("dragend",(function(t){e.markerDragged(t,"key-".concat(a))})),y.bindPopup(u).on("popupopen",(function(){return e.editMarker("key-".concat(a),"opened")}))})),o.on("load",(function(e){p&&p.forEach((function(t,a){var n=t.dataset.markercolor||"#00A4FF",o=e.target._container.querySelector(".hayyabuild-map__marker_".concat(a+1));o&&"object"===qe(o.style)&&(o.style.color=n)}))})),r&&o.setView([i,c],s),d&&L.tileLayer(d,{minZoom:1,maxZoom:20}).addTo(o),o.on("zoomend",(function(t){e.updateMap(t)})),o.on("move",(function(t){e.updateMap(t)}))}}}},{key:"updateMap",value:function(e){var t=this.props.attrs.id,a=window.HayyaBuild.openstreetmap[t];if(!a)return!1;if("zoomend"===e.type)a.setAttribute("data-zoom",e.target._animateToZoom);else if("click"===e.type);else if("move"===e.type){var n=e.target.getCenter();a.setAttribute("data-latitude",n.lat.toFixed(6)),a.setAttribute("data-longitude",n.lng.toFixed(6))}"zoomend"!==e.type&&"move"!==e.type||this.state.isChanged||this.setState({isChanged:!0})}},{key:"saveChanges",value:function(){var e=this.props.attrs.id,t=window.HayyaBuild.openstreetmap[e];if(!e||!t)return!1;var a=t.dataset.latitude,n=t.dataset.longitude,o=t.dataset.zoom,r=t.innerHTML;return this.props.onChange({latitude:a,longitude:n,zoom:o,markers:r})}},{key:"markerDragged",value:function(e,t){var a=this.props.attrs.id,n=window.HayyaBuild.openstreetmap[a].querySelector('[data-key="'.concat(t,'"]')),o=e.target._latlng.lat.toFixed(6),r=e.target._latlng.lng.toFixed(6);n.setAttribute("data-lat",o),n.setAttribute("data-lng",r),this.setState({isChanged:!0})}},{key:"addMarker",value:function(){var e=this.props.attrs.id,t=window.HayyaBuild.openstreetmap[e],a=window.HayyaBuild.openstreetmap.list[e],n=a.getCenter().lat.toFixed(6),o=a.getCenter().lng.toFixed(6),r=document.createElement("div");r.classList.add("hayyabuild-map-marker"),r.setAttribute("data-lat",n),r.setAttribute("data-lng",o),r.setAttribute("data-openpopup","false"),r.setAttribute("data-type","icon1"),r.setAttribute("data-markercolor","#CA1B1B"),r.setAttribute("data-markersize","2"),r.setAttribute("data-icon","fa fa-circle"),t.appendChild(r),this.setState({isChanged:!0})}},{key:"editMarker",value:function(e,t){var a=this.editMarkerRef.current.querySelectorAll(".edit-marker");a&&a.forEach((function(t){e===t.getAttribute("dtataKey")?t.classList.add("show"):t.classList.remove("show")}))}},{key:"saveMap",value:(r=regeneratorRuntime.mark((function e(){var t,a,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.state.isChanged){e.next=2;break}return e.abrupt("return");case 2:return this.props.attrs.id,(t=this.loadingContainerRef.current).classList.add("show-loading"),e.next=7,new Promise((function(e,t){setTimeout((function(){var a=n.saveChanges();e(a),t(!1)}),500)}));case 7:a=e.sent,t.classList.remove("show-loading"),a?(t.classList.add("show-success"),this.state.isChanged=!1):t.classList.add("show-error"),setTimeout((function(){t.classList.remove("show-success"),t.classList.remove("show-error")}),2e3);case 11:case"end":return e.stop()}}),e,this)})),l=function(){var e=this,t=arguments;return new Promise((function(a,n){var o=r.apply(e,t);function l(e){De(o,a,n,l,i,"next",e)}function i(e){De(o,a,n,l,i,"throw",e)}l(void 0)}))},function(){return l.apply(this,arguments)})},{key:"markerChange",value:function(e,t,a){var n=this.props.attrs.id,o=window.HayyaBuild.openstreetmap[n].querySelector('[data-key="'.concat(e,'"]'));"openpopup"===a?o.setAttribute("data-openpopup",t?"true":"false"):"type"===a?o.setAttribute("data-type",t):"icon"===a?o.setAttribute("data-icon",t):"color"===a?o.setAttribute("data-markercolor",t):"size"===a?o.setAttribute("data-markersize",t):"text"===a&&(o.innerHTML=t),this.setState({isChanged:!0})}},{key:"closeEditor",value:function(e){var t=this.editMarkerRef.current;if(t){var a=t.querySelector('[dtataKey="'.concat(e,'"]'));a&&a.classList.remove("show")}}},{key:"removeMarker",value:function(e){var t=this.props.attrs.id,a=window.HayyaBuild.openstreetmap[t].querySelector('[data-key="'.concat(e,'"]'));a&&a.remove(),this.setState({isChanged:!0})}},{key:"markerIcon",value:function(e){var t=e.icon,a=e.color,n=e.clickEvent;return React.createElement(Ye,null,("all"===t||"icon1"===t)&&React.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon1")}},React.createElement("filter",{height:"1.6",y:"-0.3",width:"1.15",x:"-0.06",id:"hayyabuild-map-svg-filter"},React.createElement("feGaussianBlur",{stdDeviation:"0.5"})),React.createElement("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)"}),React.createElement("path",{fill:a,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"})),("all"===t||"icon2"===t)&&React.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon2")}},React.createElement("path",{fill:a,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"})),("all"===t||"icon3"===t)&&React.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon3")}},React.createElement("path",{fill:a,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"})),("all"===t||"icon4"===t)&&React.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon4")}},React.createElement("path",{fill:a,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"})),("all"===t||"icon5"===t)&&React.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon5")}},React.createElement("path",{fill:a,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 "})),("all"===t||"icon6"===t)&&React.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon6")}},React.createElement("path",{fill:a,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"}),React.createElement("path",{fill:a,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 "})))}},{key:"render",value:function(){var e=this,t=this.props,a=t.attrs,n=(t.saveButtonTitle,a.min_height),o=a.id,r=this.markerIcon,l=function(){var e={};if(window.HayyaBuild.openstreetmap&&window.HayyaBuild.openstreetmap[o]){var t=window.HayyaBuild.openstreetmap[o].querySelectorAll(".hayyabuild-map-marker");t&&t.forEach((function(t,a){e[t.getAttribute("data-key")]={lat:t.getAttribute("data-lat"),lng:t.getAttribute("data-lng"),openpopup:t.getAttribute("data-openpopup"),type:t.getAttribute("data-type"),markercolor:t.getAttribute("data-markercolor"),markersize:t.getAttribute("data-markersize"),icon:t.getAttribute("data-icon"),text:t.innerHTML}}))}return e}(),i=this.state.isChanged?"":" disabled";return React.createElement("div",{id:o,className:"react-opensstreetmap-leaflet",ref:this.containerRef},React.createElement("div",{className:"hayyabuild-map-info"}),React.createElement("div",{className:"hayyabuild-map",style:{minHeight:"".concat(n,"px")},ref:this.mapRef},React.createElement("button",{title:Ze("Save Map","hayyabuild"),className:"save-button".concat(i),onClick:function(){return e.saveMap()},key:"save-button-key"},React.createElement("i",{className:"fa fa-save"})),React.createElement("button",{className:"fullscreen-button".concat(i),onClick:function(){return e.fullScreen()},title:Ze("Full Screen","hayyabuild"),style:{backgroundColor:this.state.isfullScreen?"#FDC57C":null},key:"save-button-fullscreen"},React.createElement("i",{className:"fa fa-expand-arrows-alt"})),React.createElement("button",{title:Ze("Add Marker","hayyabuild"),className:"add-marker",onClick:function(){return e.addMarker()},key:"add-marker-button-key"},React.createElement("i",{className:"fa fa-plus"})),React.createElement("div",{className:"edit-markers",ref:this.editMarkerRef},Object.keys(l).map((function(t,a){var n=l[t];return React.createElement("div",{className:"edit-marker",dtataKey:t,key:t},React.createElement("button",{className:"close-editor",onClick:function(a){return e.closeEditor(t)},key:"close-".concat(t)},React.createElement("i",{className:"fa fa-chevron-circle-right"})),React.createElement("span",{className:"info",key:"info-".concat(t)},Ze("You have to save map status to save a changes.","hayyabuild")),React.createElement(gt.getPro,null),React.createElement("hr",null),React.createElement("div",{className:"marker-icon-type"},React.createElement("label",{class:"components-base-control__label",key:"marker-type-".concat(t)},Ze("Marker Type","hayyabuild")),React.createElement("br",null),React.createElement(r,{icon:"all",color:"#4B7596",clickEvent:function(a){return e.markerChange(t,a,"type")}})),React.createElement("hr",null),React.createElement(Xe,{label:Ze("Open popup when loaded","hayyabuild"),checked:"true"===n.openpopup,onChange:function(a){return e.markerChange(t,a,"openpopup")}}),React.createElement(gt.SelectIcon,{title:Ze("Icon","hayyabuild"),classPlaceholder:Ze("Insert icon class","hayyabuild"),fliterPlaceholder:Ze("Search for icon","hayyabuild"),value:n.icon,onSelect:function(a){return e.markerChange(t,a,"icon")}}),React.createElement(tt,{label:Ze("Marker Text","hayyabuild"),help:Ze("Popup marker text","hayyabuild"),value:n.text,onChange:function(a){return e.markerChange(t,a,"text")}}),React.createElement("label",{class:"components-base-control__label",key:"color-".concat(t)},Ze("Marker Color","hayyabuild")),React.createElement(nt,{value:n.markercolor,label:Ze("Marker Color","hayyabuild"),onChange:function(a){return e.markerChange(t,a,"color")}}),React.createElement(et,{label:Ze("Marker Size","hayyabuild"),value:n.markersize,onChange:function(a){return e.markerChange(t,a,"size")},min:1,max:5}),React.createElement("button",{title:Ze("Remove This Marker","hayyabuild"),className:"remove-marker",onClick:function(a){return e.removeMarker(t)},key:"remove-marker-".concat(t)},React.createElement("i",{className:"fa fa-times-circle"})))}))),React.createElement("div",{className:"react-opensstreetmap-leaflet__loading",ref:this.loadingContainerRef},React.createElement("div",{class:"loading__icon"}))))}}])&&Ue(a.prototype,n),o&&Ue(a,o),t}()),rt={"Font Awesome icons":["fab fa-500px","fab fa-accessible-icon","fab fa-accusoft","fab fa-acquisitions-incorporated","fa fa-ad","fa fa-address-book","fa fa-address-card","fa fa-adjust","fab fa-adn","fab fa-adobe","fab fa-adversal","fab fa-affiliatetheme","fa fa-air-freshener","fab fa-airbnb","fab fa-algolia","fa fa-align-center","fa fa-align-justify","fa fa-align-left","fa fa-align-right","fab fa-alipay","fa fa-allergies","fab fa-amazon","fab fa-amazon-pay","fa fa-ambulance","fa fa-american-sign-language-interpreting","fab fa-amilia","fa fa-anchor","fab fa-android","fab fa-angellist","fa fa-angle-double-down","fa fa-angle-double-left","fa fa-angle-double-right","fa fa-angle-double-up","fa fa-angle-down","fa fa-angle-left","fa fa-angle-right","fa fa-angle-up","fa fa-angry","fab fa-angrycreative","fab fa-angular","fa fa-ankh","fab fa-app-store","fab fa-app-store-ios","fab fa-apper","fab fa-apple","fa fa-apple-alt","fab fa-apple-pay","fa fa-archive","fa fa-archway","fa fa-arrow-alt-circle-down","fa fa-arrow-alt-circle-left","fa fa-arrow-alt-circle-right","fa fa-arrow-alt-circle-up","fa fa-arrow-circle-down","fa fa-arrow-circle-left","fa fa-arrow-circle-right","fa fa-arrow-circle-up","fa fa-arrow-down","fa fa-arrow-left","fa fa-arrow-right","fa fa-arrow-up","fa fa-arrows-alt","fa fa-arrows-alt-h","fa fa-arrows-alt-v","fab fa-artstation","fa fa-assistive-listening-systems","fa fa-asterisk","fab fa-asymmetrik","fa fa-at","fa fa-atlas","fab fa-atlassian","fa fa-atom","fab fa-audible","fa fa-audio-description","fab fa-autoprefixer","fab fa-avianex","fab fa-aviato","fa fa-award","fab fa-aws","fa fa-baby","fa fa-baby-carriage","fa fa-backspace","fa fa-backward","fa fa-bacon","fa fa-balance-scale","fa fa-balance-scale-left","fa fa-balance-scale-right","fa fa-ban","fa fa-band-aid","fab fa-bandcamp","fa fa-barcode","fa fa-bars","fa fa-baseball-ball","fa fa-basketball-ball","fa fa-bath","fa fa-battery-empty","fa fa-battery-full","fa fa-battery-half","fa fa-battery-quarter","fa fa-battery-three-quarters","fab fa-battle-net","fa fa-bed","fa fa-beer","fab fa-behance","fab fa-behance-square","fa fa-bell","fa fa-bell-slash","fa fa-bezier-curve","fa fa-bible","fa fa-bicycle","fa fa-biking","fab fa-bimobject","fa fa-binoculars","fa fa-biohazard","fa fa-birthday-cake","fab fa-bitbucket","fab fa-bitcoin","fab fa-bity","fab fa-black-tie","fab fa-blackberry","fa fa-blender","fa fa-blender-phone","fa fa-blind","fa fa-blog","fab fa-blogger","fab fa-blogger-b","fab fa-bluetooth","fab fa-bluetooth-b","fa fa-bold","fa fa-bolt","fa fa-bomb","fa fa-bone","fa fa-bong","fa fa-book","fa fa-book-dead","fa fa-book-medical","fa fa-book-open","fa fa-book-reader","fa fa-bookmark","fab fa-bootstrap","fa fa-border-all","fa fa-border-none","fa fa-border-style","fa fa-bowling-ball","fa fa-box","fa fa-box-open","fa fa-boxes","fa fa-braille","fa fa-brain","fa fa-bread-slice","fa fa-briefcase","fa fa-briefcase-medical","fa fa-broadcast-tower","fa fa-broom","fa fa-brush","fab fa-btc","fab fa-buffer","fa fa-bug","fa fa-building","fa fa-bullhorn","fa fa-bullseye","fa fa-burn","fab fa-buromobelexperte","fa fa-bus","fa fa-bus-alt","fa fa-business-time","fab fa-buysellads","fa fa-calculator","fa fa-calendar","fa fa-calendar-alt","fa fa-calendar-check","fa fa-calendar-day","fa fa-calendar-minus","fa fa-calendar-plus","fa fa-calendar-times","fa fa-calendar-week","fa fa-camera","fa fa-camera-retro","fa fa-campground","fab fa-canadian-maple-leaf","fa fa-candy-cane","fa fa-cannabis","fa fa-capsules","fa fa-car","fa fa-car-alt","fa fa-car-battery","fa fa-car-crash","fa fa-car-side","fa fa-caret-down","fa fa-caret-left","fa fa-caret-right","fa fa-caret-square-down","fa fa-caret-square-left","fa fa-caret-square-right","fa fa-caret-square-up","fa fa-caret-up","fa fa-carrot","fa fa-cart-arrow-down","fa fa-cart-plus","fa fa-cash-register","fa fa-cat","fab fa-cc-amazon-pay","fab fa-cc-amex","fab fa-cc-apple-pay","fab fa-cc-diners-club","fab fa-cc-discover","fab fa-cc-jcb","fab fa-cc-mastercard","fab fa-cc-paypal","fab fa-cc-stripe","fab fa-cc-visa","fab fa-centercode","fab fa-centos","fa fa-certificate","fa fa-chair","fa fa-chalkboard","fa fa-chalkboard-teacher","fa fa-charging-station","fa fa-chart-area","fa fa-chart-bar","fa fa-chart-line","fa fa-chart-pie","fa fa-check","fa fa-check-circle","fa fa-check-double","fa fa-check-square","fa fa-cheese","fa fa-chess","fa fa-chess-bishop","fa fa-chess-board","fa fa-chess-king","fa fa-chess-knight","fa fa-chess-pawn","fa fa-chess-queen","fa fa-chess-rook","fa fa-chevron-circle-down","fa fa-chevron-circle-left","fa fa-chevron-circle-right","fa fa-chevron-circle-up","fa fa-chevron-down","fa fa-chevron-left","fa fa-chevron-right","fa fa-chevron-up","fa fa-child","fab fa-chrome","fab fa-chromecast","fa fa-church","fa fa-circle","fa fa-circle-notch","fa fa-city","fa fa-clinic-medical","fa fa-clipboard","fa fa-clipboard-check","fa fa-clipboard-list","fa fa-clock","fa fa-clone","fa fa-closed-captioning","fa fa-cloud","fa fa-cloud-download-alt","fa fa-cloud-meatball","fa fa-cloud-moon","fa fa-cloud-moon-rain","fa fa-cloud-rain","fa fa-cloud-showers-heavy","fa fa-cloud-sun","fa fa-cloud-sun-rain","fa fa-cloud-upload-alt","fab fa-cloudscale","fab fa-cloudsmith","fab fa-cloudversify","fa fa-cocktail","fa fa-code","fa fa-code-branch","fab fa-codepen","fab fa-codiepie","fa fa-coffee","fa fa-cog","fa fa-cogs","fa fa-coins","fa fa-columns","fa fa-comment","fa fa-comment-alt","fa fa-comment-dollar","fa fa-comment-dots","fa fa-comment-medical","fa fa-comment-slash","fa fa-comments","fa fa-comments-dollar","fa fa-compact-disc","fa fa-compass","fa fa-compress","fa fa-compress-arrows-alt","fa fa-concierge-bell","fab fa-confluence","fab fa-connectdevelop","fab fa-contao","fa fa-cookie","fa fa-cookie-bite","fa fa-copy","fa fa-copyright","fa fa-couch","fab fa-cpanel","fab fa-creative-commons","fab fa-creative-commons-by","fab fa-creative-commons-nc","fab fa-creative-commons-nc-eu","fab fa-creative-commons-nc-jp","fab fa-creative-commons-nd","fab fa-creative-commons-pd","fab fa-creative-commons-pd-alt","fab fa-creative-commons-remix","fab fa-creative-commons-sa","fab fa-creative-commons-sampling","fab fa-creative-commons-sampling-plus","fab fa-creative-commons-share","fab fa-creative-commons-zero","fa fa-credit-card","fab fa-critical-role","fa fa-crop","fa fa-crop-alt","fa fa-cross","fa fa-crosshairs","fa fa-crow","fa fa-crown","fa fa-crutch","fab fa-css3","fab fa-css3-alt","fa fa-cube","fa fa-cubes","fa fa-cut","fab fa-cuttlefish","fab fa-d-and-d","fab fa-d-and-d-beyond","fab fa-dashcube","fa fa-database","fa fa-deaf","fab fa-delicious","fa fa-democrat","fab fa-deploydog","fab fa-deskpro","fa fa-desktop","fab fa-dev","fab fa-deviantart","fa fa-dharmachakra","fab fa-dhl","fa fa-diagnoses","fab fa-diaspora","fa fa-dice","fa fa-dice-d20","fa fa-dice-d6","fa fa-dice-five","fa fa-dice-four","fa fa-dice-one","fa fa-dice-six","fa fa-dice-three","fa fa-dice-two","fab fa-digg","fab fa-digital-ocean","fa fa-digital-tachograph","fa fa-directions","fab fa-discord","fab fa-discourse","fa fa-divide","fa fa-dizzy","fa fa-dna","fab fa-dochub","fab fa-docker","fa fa-dog","fa fa-dollar-sign","fa fa-dolly","fa fa-dolly-flatbed","fa fa-donate","fa fa-door-closed","fa fa-door-open","fa fa-dot-circle","fa fa-dove","fa fa-download","fab fa-draft2digital","fa fa-drafting-compass","fa fa-dragon","fa fa-draw-polygon","fab fa-dribbble","fab fa-dribbble-square","fab fa-dropbox","fa fa-drum","fa fa-drum-steelpan","fa fa-drumstick-bite","fab fa-drupal","fa fa-dumbbell","fa fa-dumpster","fa fa-dumpster-fire","fa fa-dungeon","fab fa-dyalog","fab fa-earlybirds","fab fa-ebay","fab fa-edge","fa fa-edit","fa fa-egg","fa fa-eject","fab fa-elementor","fa fa-ellipsis-h","fa fa-ellipsis-v","fab fa-ello","fab fa-ember","fab fa-empire","fa fa-envelope","fa fa-envelope-open","fa fa-envelope-open-text","fa fa-envelope-square","fab fa-envira","fa fa-equals","fa fa-eraser","fab fa-erlang","fab fa-ethereum","fa fa-ethernet","fab fa-etsy","fa fa-euro-sign","fab fa-evernote","fa fa-exchange-alt","fa fa-exclamation","fa fa-exclamation-circle","fa fa-exclamation-triangle","fa fa-expand","fa fa-expand-arrows-alt","fab fa-expeditedssl","fa fa-external-link-alt","fa fa-external-link-square-alt","fa fa-eye","fa fa-eye-dropper","fa fa-eye-slash","fab fa-facebook","fab fa-facebook-f","fab fa-facebook-messenger","fab fa-facebook-square","fa fa-fan","fab fa-fantasy-flight-games","fa fa-fast-backward","fa fa-fast-forward","fa fa-fax","fa fa-feather","fa fa-feather-alt","fab fa-fedex","fab fa-fedora","fa fa-female","fa fa-fighter-jet","fab fa-figma","fa fa-file","fa fa-file-alt","fa fa-file-archive","fa fa-file-audio","fa fa-file-code","fa fa-file-contract","fa fa-file-csv","fa fa-file-download","fa fa-file-excel","fa fa-file-export","fa fa-file-image","fa fa-file-import","fa fa-file-invoice","fa fa-file-invoice-dollar","fa fa-file-medical","fa fa-file-medical-alt","fa fa-file-pdf","fa fa-file-powerpoint","fa fa-file-prescription","fa fa-file-signature","fa fa-file-upload","fa fa-file-video","fa fa-file-word","fa fa-fill","fa fa-fill-drip","fa fa-film","fa fa-filter","fa fa-fingerprint","fa fa-fire","fa fa-fire-alt","fa fa-fire-extinguisher","fab fa-firefox","fa fa-first-aid","fab fa-first-order","fab fa-first-order-alt","fab fa-firstdraft","fa fa-fish","fa fa-fist-raised","fa fa-flag","fa fa-flag-checkered","fa fa-flag-usa","fa fa-flask","fab fa-flickr","fab fa-flipboard","fa fa-flushed","fab fa-fly","fa fa-folder","fa fa-folder-minus","fa fa-folder-open","fa fa-folder-plus","fa fa-font","fab fa-font-awesome","fab fa-font-awesome-alt","fab fa-font-awesome-flag","fab fa-font-awesome-logo-full","fab fa-fonticons","fab fa-fonticons-fi","fa fa-football-ball","fab fa-fort-awesome","fab fa-fort-awesome-alt","fab fa-forumbee","fa fa-forward","fab fa-foursquare","fab fa-free-code-camp","fab fa-freebsd","fa fa-frog","fa fa-frown","fa fa-frown-open","fab fa-fulcrum","fa fa-funnel-dollar","fa fa-futbol","fab fa-galactic-republic","fab fa-galactic-senate","fa fa-gamepad","fa fa-gas-pump","fa fa-gavel","fa fa-gem","fa fa-genderless","fab fa-get-pocket","fab fa-gg","fab fa-gg-circle","fa fa-ghost","fa fa-gift","fa fa-gifts","fab fa-git","fab fa-git-alt","fab fa-git-square","fab fa-github","fab fa-github-alt","fab fa-github-square","fab fa-gitkraken","fab fa-gitlab","fab fa-gitter","fa fa-glass-cheers","fa fa-glass-martini","fa fa-glass-martini-alt","fa fa-glass-whiskey","fa fa-glasses","fab fa-glide","fab fa-glide-g","fa fa-globe","fa fa-globe-africa","fa fa-globe-americas","fa fa-globe-asia","fa fa-globe-europe","fab fa-gofore","fa fa-golf-ball","fab fa-goodreads","fab fa-goodreads-g","fab fa-google","fab fa-google-drive","fab fa-google-play","fab fa-google-plus","fab fa-google-plus-g","fab fa-google-plus-square","fab fa-google-wallet","fa fa-gopuram","fa fa-graduation-cap","fab fa-gratipay","fab fa-grav","fa fa-greater-than","fa fa-greater-than-equal","fa fa-grimace","fa fa-grin","fa fa-grin-alt","fa fa-grin-beam","fa fa-grin-beam-sweat","fa fa-grin-hearts","fa fa-grin-squint","fa fa-grin-squint-tears","fa fa-grin-stars","fa fa-grin-tears","fa fa-grin-tongue","fa fa-grin-tongue-squint","fa fa-grin-tongue-wink","fa fa-grin-wink","fa fa-grip-horizontal","fa fa-grip-lines","fa fa-grip-lines-vertical","fa fa-grip-vertical","fab fa-gripfire","fab fa-grunt","fa fa-guitar","fab fa-gulp","fa fa-h-square","fab fa-hacker-news","fab fa-hacker-news-square","fab fa-hackerrank","fa fa-hamburger","fa fa-hammer","fa fa-hamsa","fa fa-hand-holding","fa fa-hand-holding-heart","fa fa-hand-holding-usd","fa fa-hand-lizard","fa fa-hand-middle-finger","fa fa-hand-paper","fa fa-hand-peace","fa fa-hand-point-down","fa fa-hand-point-left","fa fa-hand-point-right","fa fa-hand-point-up","fa fa-hand-pointer","fa fa-hand-rock","fa fa-hand-scissors","fa fa-hand-spock","fa fa-hands","fa fa-hands-helping","fa fa-handshake","fa fa-hanukiah","fa fa-hard-hat","fa fa-hashtag","fa fa-hat-wizard","fa fa-haykal","fa fa-hdd","fa fa-heading","fa fa-headphones","fa fa-headphones-alt","fa fa-headset","fa fa-heart","fa fa-heart-broken","fa fa-heartbeat","fa fa-helicopter","fa fa-highlighter","fa fa-hiking","fa fa-hippo","fab fa-hips","fab fa-hire-a-helper","fa fa-history","fa fa-hockey-puck","fa fa-holly-berry","fa fa-home","fab fa-hooli","fab fa-hornbill","fa fa-horse","fa fa-horse-head","fa fa-hospital","fa fa-hospital-alt","fa fa-hospital-symbol","fa fa-hot-tub","fa fa-hotdog","fa fa-hotel","fab fa-hotjar","fa fa-hourglass","fa fa-hourglass-end","fa fa-hourglass-half","fa fa-hourglass-start","fa fa-house-damage","fab fa-houzz","fa fa-hryvnia","fab fa-html5","fab fa-hubspot","fa fa-i-cursor","fa fa-ice-cream","fa fa-icicles","fa fa-icons","fa fa-id-badge","fa fa-id-card","fa fa-id-card-alt","fa fa-igloo","fa fa-image","fa fa-images","fab fa-imdb","fa fa-inbox","fa fa-indent","fa fa-industry","fa fa-infinity","fa fa-info","fa fa-info-circle","fab fa-instagram","fab fa-intercom","fab fa-internet-explorer","fab fa-invision","fab fa-ioxhost","fa fa-italic","fab fa-itch-io","fab fa-itunes","fab fa-itunes-note","fab fa-java","fa fa-jedi","fab fa-jedi-order","fab fa-jenkins","fab fa-jira","fab fa-joget","fa fa-joint","fab fa-joomla","fa fa-journal-whills","fab fa-js","fab fa-js-square","fab fa-jsfiddle","fa fa-kaaba","fab fa-kaggle","fa fa-key","fab fa-keybase","fa fa-keyboard","fab fa-keycdn","fa fa-khanda","fab fa-kickstarter","fab fa-kickstarter-k","fa fa-kiss","fa fa-kiss-beam","fa fa-kiss-wink-heart","fa fa-kiwi-bird","fab fa-korvue","fa fa-landmark","fa fa-language","fa fa-laptop","fa fa-laptop-code","fa fa-laptop-medical","fab fa-laravel","fab fa-lastfm","fab fa-lastfm-square","fa fa-laugh","fa fa-laugh-beam","fa fa-laugh-squint","fa fa-laugh-wink","fa fa-layer-group","fa fa-leaf","fab fa-leanpub","fa fa-lemon","fab fa-less","fa fa-less-than","fa fa-less-than-equal","fa fa-level-down-alt","fa fa-level-up-alt","fa fa-life-ring","fa fa-lightbulb","fab fa-line","fa fa-link","fab fa-linkedin","fab fa-linkedin-in","fab fa-linode","fab fa-linux","fa fa-lira-sign","fa fa-list","fa fa-list-alt","fa fa-list-ol","fa fa-list-ul","fa fa-location-arrow","fa fa-lock","fa fa-lock-open","fa fa-long-arrow-alt-down","fa fa-long-arrow-alt-left","fa fa-long-arrow-alt-right","fa fa-long-arrow-alt-up","fa fa-low-vision","fa fa-luggage-cart","fab fa-lyft","fab fa-magento","fa fa-magic","fa fa-magnet","fa fa-mail-bulk","fab fa-mailchimp","fa fa-male","fab fa-mandalorian","fa fa-map","fa fa-map-marked","fa fa-map-marked-alt","fa fa-map-marker","fa fa-map-marker-alt","fa fa-map-pin","fa fa-map-signs","fab fa-markdown","fa fa-marker","fa fa-mars","fa fa-mars-double","fa fa-mars-stroke","fa fa-mars-stroke-h","fa fa-mars-stroke-v","fa fa-mask","fab fa-mastodon","fab fa-maxcdn","fa fa-medal","fab fa-medapps","fab fa-medium","fab fa-medium-m","fa fa-medkit","fab fa-medrt","fab fa-meetup","fab fa-megaport","fa fa-meh","fa fa-meh-blank","fa fa-meh-rolling-eyes","fa fa-memory","fab fa-mendeley","fa fa-menorah","fa fa-mercury","fa fa-meteor","fa fa-microchip","fa fa-microphone","fa fa-microphone-alt","fa fa-microphone-alt-slash","fa fa-microphone-slash","fa fa-microscope","fab fa-microsoft","fa fa-minus","fa fa-minus-circle","fa fa-minus-square","fa fa-mitten","fab fa-mix","fab fa-mixcloud","fab fa-mizuni","fa fa-mobile","fa fa-mobile-alt","fab fa-modx","fab fa-monero","fa fa-money-bill","fa fa-money-bill-alt","fa fa-money-bill-wave","fa fa-money-bill-wave-alt","fa fa-money-check","fa fa-money-check-alt","fa fa-monument","fa fa-moon","fa fa-mortar-pestle","fa fa-mosque","fa fa-motorcycle","fa fa-mountain","fa fa-mouse-pointer","fa fa-mug-hot","fa fa-music","fab fa-napster","fab fa-neos","fa fa-network-wired","fa fa-neuter","fa fa-newspaper","fab fa-nimblr","fab fa-node","fab fa-node-js","fa fa-not-equal","fa fa-notes-medical","fab fa-npm","fab fa-ns8","fab fa-nutritionix","fa fa-object-group","fa fa-object-ungroup","fab fa-odnoklassniki","fab fa-odnoklassniki-square","fa fa-oil-can","fab fa-old-republic","fa fa-om","fab fa-opencart","fab fa-openid","fab fa-opera","fab fa-optin-monster","fab fa-osi","fa fa-otter","fa fa-outdent","fab fa-page4","fab fa-pagelines","fa fa-pager","fa fa-paint-brush","fa fa-paint-roller","fa fa-palette","fab fa-palfed","fa fa-pallet","fa fa-paper-plane","fa fa-paperclip","fa fa-parachute-box","fa fa-paragraph","fa fa-parking","fa fa-passport","fa fa-pastafarianism","fa fa-paste","fab fa-patreon","fa fa-pause","fa fa-pause-circle","fa fa-paw","fab fa-paypal","fa fa-peace","fa fa-pen","fa fa-pen-alt","fa fa-pen-fancy","fa fa-pen-nib","fa fa-pen-square","fa fa-pencil-alt","fa fa-pencil-ruler","fab fa-penny-arcade","fa fa-people-carry","fa fa-pepper-hot","fa fa-percent","fa fa-percentage","fab fa-periscope","fa fa-person-booth","fab fa-phabricator","fab fa-phoenix-framework","fab fa-phoenix-squadron","fa fa-phone","fa fa-phone-alt","fa fa-phone-slash","fa fa-phone-square","fa fa-phone-square-alt","fa fa-phone-volume","fa fa-photo-video","fab fa-php","fab fa-pied-piper","fab fa-pied-piper-alt","fab fa-pied-piper-hat","fab fa-pied-piper-pp","fa fa-piggy-bank","fa fa-pills","fab fa-pinterest","fab fa-pinterest-p","fab fa-pinterest-square","fa fa-pizza-slice","fa fa-place-of-worship","fa fa-plane","fa fa-plane-arrival","fa fa-plane-departure","fa fa-play","fa fa-play-circle","fab fa-playstation","fa fa-plug","fa fa-plus","fa fa-plus-circle","fa fa-plus-square","fa fa-podcast","fa fa-poll","fa fa-poll-h","fa fa-poo","fa fa-poo-storm","fa fa-poop","fa fa-portrait","fa fa-pound-sign","fa fa-power-off","fa fa-pray","fa fa-praying-hands","fa fa-prescription","fa fa-prescription-bottle","fa fa-prescription-bottle-alt","fa fa-print","fa fa-procedures","fab fa-product-hunt","fa fa-project-diagram","fab fa-pushed","fa fa-puzzle-piece","fab fa-python","fab fa-qq","fa fa-qrcode","fa fa-question","fa fa-question-circle","fa fa-quidditch","fab fa-quinscape","fab fa-quora","fa fa-quote-left","fa fa-quote-right","fa fa-quran","fab fa-r-project","fa fa-radiation","fa fa-radiation-alt","fa fa-rainbow","fa fa-random","fab fa-raspberry-pi","fab fa-ravelry","fab fa-react","fab fa-reacteurope","fab fa-readme","fab fa-rebel","fa fa-receipt","fa fa-recycle","fab fa-red-river","fab fa-reddit","fab fa-reddit-alien","fab fa-reddit-square","fab fa-redhat","fa fa-redo","fa fa-redo-alt","fa fa-registered","fa fa-remove-format","fab fa-renren","fa fa-reply","fa fa-reply-all","fab fa-replyd","fa fa-republican","fab fa-researchgate","fab fa-resolving","fa fa-restroom","fa fa-retweet","fab fa-rev","fa fa-ribbon","fa fa-ring","fa fa-road","fa fa-robot","fa fa-rocket","fab fa-rocketchat","fab fa-rockrms","fa fa-route","fa fa-rss","fa fa-rss-square","fa fa-ruble-sign","fa fa-ruler","fa fa-ruler-combined","fa fa-ruler-horizontal","fa fa-ruler-vertical","fa fa-running","fa fa-rupee-sign","fa fa-sad-cry","fa fa-sad-tear","fab fa-safari","fab fa-salesforce","fab fa-sass","fa fa-satellite","fa fa-satellite-dish","fa fa-save","fab fa-schlix","fa fa-school","fa fa-screwdriver","fab fa-scribd","fa fa-scroll","fa fa-sd-card","fa fa-search","fa fa-search-dollar","fa fa-search-location","fa fa-search-minus","fa fa-search-plus","fab fa-searchengin","fa fa-seedling","fab fa-sellcast","fab fa-sellsy","fa fa-server","fab fa-servicestack","fa fa-shapes","fa fa-share","fa fa-share-alt","fa fa-share-alt-square","fa fa-share-square","fa fa-shekel-sign","fa fa-shield-alt","fa fa-ship","fa fa-shipping-fast","fab fa-shirtsinbulk","fa fa-shoe-prints","fa fa-shopping-bag","fa fa-shopping-basket","fa fa-shopping-cart","fab fa-shopware","fa fa-shower","fa fa-shuttle-van","fa fa-sign","fa fa-sign-in-alt","fa fa-sign-language","fa fa-sign-out-alt","fa fa-signal","fa fa-signature","fa fa-sim-card","fab fa-simplybuilt","fab fa-sistrix","fa fa-sitemap","fab fa-sith","fa fa-skating","fab fa-sketch","fa fa-skiing","fa fa-skiing-nordic","fa fa-skull","fa fa-skull-crossbones","fab fa-skyatlas","fab fa-skype","fab fa-slack","fab fa-slack-hash","fa fa-slash","fa fa-sleigh","fa fa-sliders-h","fab fa-slideshare","fa fa-smile","fa fa-smile-beam","fa fa-smile-wink","fa fa-smog","fa fa-smoking","fa fa-smoking-ban","fa fa-sms","fab fa-snapchat","fab fa-snapchat-ghost","fab fa-snapchat-square","fa fa-snowboarding","fa fa-snowflake","fa fa-snowman","fa fa-snowplow","fa fa-socks","fa fa-solar-panel","fa fa-sort","fa fa-sort-alpha-down","fa fa-sort-alpha-down-alt","fa fa-sort-alpha-up","fa fa-sort-alpha-up-alt","fa fa-sort-amount-down","fa fa-sort-amount-down-alt","fa fa-sort-amount-up","fa fa-sort-amount-up-alt","fa fa-sort-down","fa fa-sort-numeric-down","fa fa-sort-numeric-down-alt","fa fa-sort-numeric-up","fa fa-sort-numeric-up-alt","fa fa-sort-up","fab fa-soundcloud","fab fa-sourcetree","fa fa-spa","fa fa-space-shuttle","fab fa-speakap","fab fa-speaker-deck","fa fa-spell-check","fa fa-spider","fa fa-spinner","fa fa-splotch","fab fa-spotify","fa fa-spray-can","fa fa-square","fa fa-square-full","fa fa-square-root-alt","fab fa-squarespace","fab fa-stack-exchange","fab fa-stack-overflow","fab fa-stackpath","fa fa-stamp","fa fa-star","fa fa-star-and-crescent","fa fa-star-half","fa fa-star-half-alt","fa fa-star-of-david","fa fa-star-of-life","fab fa-staylinked","fab fa-steam","fab fa-steam-square","fab fa-steam-symbol","fa fa-step-backward","fa fa-step-forward","fa fa-stethoscope","fab fa-sticker-mule","fa fa-sticky-note","fa fa-stop","fa fa-stop-circle","fa fa-stopwatch","fa fa-store","fa fa-store-alt","fab fa-strava","fa fa-stream","fa fa-street-view","fa fa-strikethrough","fab fa-stripe","fab fa-stripe-s","fa fa-stroopwafel","fab fa-studiovinari","fab fa-stumbleupon","fab fa-stumbleupon-circle","fa fa-subscript","fa fa-subway","fa fa-suitcase","fa fa-suitcase-rolling","fa fa-sun","fab fa-superpowers","fa fa-superscript","fab fa-supple","fa fa-surprise","fab fa-suse","fa fa-swatchbook","fa fa-swimmer","fa fa-swimming-pool","fab fa-symfony","fa fa-synagogue","fa fa-sync","fa fa-sync-alt","fa fa-syringe","fa fa-table","fa fa-table-tennis","fa fa-tablet","fa fa-tablet-alt","fa fa-tablets","fa fa-tachometer-alt","fa fa-tag","fa fa-tags","fa fa-tape","fa fa-tasks","fa fa-taxi","fab fa-teamspeak","fa fa-teeth","fa fa-teeth-open","fab fa-telegram","fab fa-telegram-plane","fa fa-temperature-high","fa fa-temperature-low","fab fa-tencent-weibo","fa fa-tenge","fa fa-terminal","fa fa-text-height","fa fa-text-width","fa fa-th","fa fa-th-large","fa fa-th-list","fab fa-the-red-yeti","fa fa-theater-masks","fab fa-themeco","fab fa-themeisle","fa fa-thermometer","fa fa-thermometer-empty","fa fa-thermometer-full","fa fa-thermometer-half","fa fa-thermometer-quarter","fa fa-thermometer-three-quarters","fab fa-think-peaks","fa fa-thumbs-down","fa fa-thumbs-up","fa fa-thumbtack","fa fa-ticket-alt","fa fa-times","fa fa-times-circle","fa fa-tint","fa fa-tint-slash","fa fa-tired","fa fa-toggle-off","fa fa-toggle-on","fa fa-toilet","fa fa-toilet-paper","fa fa-toolbox","fa fa-tools","fa fa-tooth","fa fa-torah","fa fa-torii-gate","fa fa-tractor","fab fa-trade-federation","fa fa-trademark","fa fa-traffic-light","fa fa-train","fa fa-tram","fa fa-transgender","fa fa-transgender-alt","fa fa-trash","fa fa-trash-alt","fa fa-trash-restore","fa fa-trash-restore-alt","fa fa-tree","fab fa-trello","fab fa-tripadvisor","fa fa-trophy","fa fa-truck","fa fa-truck-loading","fa fa-truck-monster","fa fa-truck-moving","fa fa-truck-pickup","fa fa-tshirt","fa fa-tty","fab fa-tumblr","fab fa-tumblr-square","fa fa-tv","fab fa-twitch","fab fa-twitter","fab fa-twitter-square","fab fa-typo3","fab fa-uber","fab fa-ubuntu","fab fa-uikit","fa fa-umbrella","fa fa-umbrella-beach","fa fa-underline","fa fa-undo","fa fa-undo-alt","fab fa-uniregistry","fa fa-universal-access","fa fa-university","fa fa-unlink","fa fa-unlock","fa fa-unlock-alt","fab fa-untappd","fa fa-upload","fab fa-ups","fab fa-usb","fa fa-user","fa fa-user-alt","fa fa-user-alt-slash","fa fa-user-astronaut","fa fa-user-check","fa fa-user-circle","fa fa-user-clock","fa fa-user-cog","fa fa-user-edit","fa fa-user-friends","fa fa-user-graduate","fa fa-user-injured","fa fa-user-lock","fa fa-user-md","fa fa-user-minus","fa fa-user-ninja","fa fa-user-nurse","fa fa-user-plus","fa fa-user-secret","fa fa-user-shield","fa fa-user-slash","fa fa-user-tag","fa fa-user-tie","fa fa-user-times","fa fa-users","fa fa-users-cog","fab fa-usps","fab fa-ussunnah","fa fa-utensil-spoon","fa fa-utensils","fab fa-vaadin","fa fa-vector-square","fa fa-venus","fa fa-venus-double","fa fa-venus-mars","fab fa-viacoin","fab fa-viadeo","fab fa-viadeo-square","fa fa-vial","fa fa-vials","fab fa-viber","fa fa-video","fa fa-video-slash","fa fa-vihara","fab fa-vimeo","fab fa-vimeo-square","fab fa-vimeo-v","fab fa-vine","fab fa-vk","fab fa-vnv","fa fa-voicemail","fa fa-volleyball-ball","fa fa-volume-down","fa fa-volume-mute","fa fa-volume-off","fa fa-volume-up","fa fa-vote-yea","fa fa-vr-cardboard","fab fa-vuejs","fa fa-walking","fa fa-wallet","fa fa-warehouse","fa fa-water","fa fa-wave-square","fab fa-waze","fab fa-weebly","fab fa-weibo","fa fa-weight","fa fa-weight-hanging","fab fa-weixin","fab fa-whatsapp","fab fa-whatsapp-square","fa fa-wheelchair","fab fa-whmcs","fa fa-wifi","fab fa-wikipedia-w","fa fa-wind","fa fa-window-close","fa fa-window-maximize","fa fa-window-minimize","fa fa-window-restore","fab fa-windows","fa fa-wine-bottle","fa fa-wine-glass","fa fa-wine-glass-alt","fab fa-wix","fab fa-wizards-of-the-coast","fab fa-wolf-pack-battalion","fa fa-won-sign","fab fa-wordpress","fab fa-wordpress-simple","fab fa-wpbeginner","fab fa-wpexplorer","fab fa-wpforms","fab fa-wpressr","fa fa-wrench","fa fa-x-ray","fab fa-xbox","fab fa-xing","fab fa-xing-square","fab fa-y-combinator","fab fa-yahoo","fab fa-yammer","fab fa-yandex","fab fa-yandex-international","fab fa-yarn","fab fa-yelp","fa fa-yen-sign","fa fa-yin-yang","fab fa-yoast","fab fa-youtube","fab fa-youtube-square","fab fa-zhihu"]};a(40);function lt(e){return(lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function it(){return(it=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function ct(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function st(e){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ut(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ft(e,t){return(ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var dt=function(e){function t(){var e,a,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(e=!(n=st(t).call(this))||"object"!==lt(n)&&"function"!=typeof n?ut(a):n).state={items:[],search:"",icon:""},e.loadData=e.loadData.bind(ut(e)),e.iconShanged=e.iconShanged.bind(ut(e)),e.filter=e.filter.bind(ut(e)),e.run=e.run.bind(ut(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ft(e,t)}(t,e),a=t,(n=[{key:"componentDidMount",value:function(){this.loadData()}},{key:"loadData",value:function(){var e=this;if(rt){var t=[];Object.keys(rt).forEach((function(a){for(var n=0;n<rt[a].length;n++)rt[a][n].indexOf(e.state.search)>-1&&t.push(rt[a][n])})),this.setState({items:t})}}},{key:"iconShanged",value:function(e){e.preventDefault();var t="INPUT"===e.target.tagName?e.target.value:e.currentTarget.dataset.icon;this.setState({icon:t}),this.props.onSelect(t)}},{key:"filter",value:function(e){this.setState({search:e.target.value},this.loadData)}},{key:"run",value:function(e){e.preventDefault();var t=e.currentTarget,a=t.parentElement,n=a.querySelector(".icons-container");n&&(n.classList.contains("opened")?(t.classList.remove("opened"),n.classList.remove("opened")):(t.classList.add("opened"),n.classList.add("opened")),a.addEventListener("mouseleave",(function e(){t.classList.remove("opened"),n.classList.remove("opened"),a.removeEventListener&&a.removeEventListener("mouseleave",e)})))}},{key:"render",value:function(){var e=this,t=this.props,a=t.classPlaceholder,n=t.fliterPlaceholder;return React.createElement("div",{className:"hb-select-icon"},React.createElement("a",{href:"#",onClick:this.run,className:"toggle"},this.props.title," [ ",React.createElement("i",{className:this.props.value})," ]"),React.createElement("div",{className:"icons-container"},React.createElement("input",it({type:"text",name:"icon",value:this.props.value||"",onChange:this.iconShanged},a?{placeholder:a}:{})),React.createElement("input",it({type:"search",name:"filter",onChange:this.filter},n?{placeholder:n}:{})),React.createElement("ul",null,this.state.items.length&&this.state.items.map((function(t,a){return React.createElement("li",{key:a},React.createElement("a",{href:"#","data-icon":t,onClick:e.iconShanged,className:e.props.value===t?"active":""},React.createElement("i",{className:t})))})))))}}])&&ct(a.prototype,n),o&&ct(a,o),t}(wp.element.Component),pt=a(12),yt=a.n(pt);function bt(e){return(bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ht(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}a.d(t,"H",(function(){return gt}));var mt=wp.i18n.__,gt=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.version="4.0",this.description="HayyaBuild allows you to build unlimited headers, pages and footers for your WordPress website without the needs for writing any code.",this.memoize=yt.a,this.BlocksOptions=be,this.SelectIcon=dt,this.OpenStreetMap=ot,this.hayyabuildSubscribe=this.hayyabuildSubscribe.bind(this),this.optionsModalOpened=this.optionsModalOpened.bind(this),this.optionsModalClosed=this.optionsModalClosed.bind(this)}var t,n,o;return t=e,(n=[{key:"getPro",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=mt("Sorry about that. but this feature is unavailable in lite version.","hayyabuild"),a=mt("Get more options","hayyabuild"),n=mt("from here.","hayyabuild");return React.createElement("div",{className:"hayyabuild-get-pro"},void 0!==e.list&&React.createElement("div",null,t),a,React.createElement("a",{href:"https://hayyabuild.zintathemes.com?blocks=1",target:"_blank"},n))}},{key:"hayyabuildSubscribe",value:function(){var e=this,t=wp.data.select("core/block-editor").getBlocks();if(t.length){var a=[];!function t(n){n.forEach((function(n){if(0===n.name.indexOf("hayyabuild")){var o=n.name;a.indexOf(n.attributes.id)>=0&&(n.attributes.id=e.generateID(o)),n.attributes.id&&a.push(n.attributes.id)}n.innerBlocks.length&&t(n.innerBlocks)}))}(t)}}},{key:"setHeadStyle",value:function(){var e=document.getElementById("hayyabuild_inline_style");if(e&&e.value){var t;try{t=JSON.parse(e.value)}catch(e){return console.log("ERRoR3: cona`t parse tyle:",e),!1}var a="hayyabuild-head-inlinestyle",n=document.head||document.getElementsByTagName("head")[0],o=document.getElementById(a);o||(o=document.createElement("style"),n.appendChild(o),o.type="text/css",o.id=a);var r="";if(t){var l={},i=this.getBlocks();i.length&&(i.forEach((function(e){t[e.attributes.id]&&(l[e.attributes.id]=t[e.attributes.id])})),e.value=JSON.stringify(l)),Object.keys(t).forEach((function(e){r="".concat(r," ").concat(t[e].element," { ").concat(t[e].style," }")})),r&&(o.textContent=r)}}}},{key:"getBlocks",value:function(){var e=wp.data.select("core/block-editor").getBlocks();if(!e.length)return[];var t=[];return function e(a){a.length&&a.forEach((function(a){0===a.name.indexOf("hayyabuild")&&t.push({name:a.name,clientId:a.clientId,attributes:a.attributes});var n=a.innerBlocks;n.length&&e(n)}))}(e),t}},{key:"optionsModalOpened",value:function(){}},{key:"optionsModalClosed",value:function(){this.setHeadStyle()}},{key:"generateID",value:function(e){var t=document.getElementById("post_ID"),a=e.replace("/","-")||"hayyabuild-block",n=t.value||Math.floor(999*Math.random()+111),o=Math.floor(9999*Math.random()+1111);return"".concat(a+n,"-").concat(o)}},{key:"blockID",value:function(e,t,a){if(!t||!a||e)return e;var n=this.generateID(t);return n&&a({id:n}),n}},{key:"generateClass",value:function(e){return e.replace("/","-")||"hayyabuild-"+Math.floor(999*Math.random()+111)}},{key:"iconStyle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0deg";if(e){var o=a(42),r=o.Icon,l="object"!==bt(e)||e.type?e:React.createElement(r,{icon:e,color:t,rotate:n});return{foreground:"#0088DD",src:l}}}},{key:"getAdditionalCSSClass",value:function(){var e=document.getElementById("inspector-text-control-1");e&&e.addEventListener("change",(function(){}))}},{key:"isColorLight",value:function(e){var t,a,n,o,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e)return!1;r?(t=(o=parseInt(e,16))>>16&255,a=o>>8&255,n=255&o):(t=e.r,a=e.g,n=e.b);var l=Math.sqrt(t*t*.299+a*a*.587+n*n*.114);return l<130}},{key:"hexToRgb",value:function(e,t){return"rgba("+(e=e.replace("#","")).match(new RegExp("(.{"+e.length/3+"})","g")).map((function(t){return parseInt(e.length%2?t+t:t,16)})).concat(t||1).join(",")+")"}},{key:"rgbToHex",value:function(e,t,a){return"#"+[e,t,a].map((function(e){return e.toString(16).padStart(2,"0")})).join("")}},{key:"lightenAndDarken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#000000",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(void 0===e||void 0===t)return"";var a=!1;"#"===e[0]&&(e=e.slice(1),a=!0);var n=parseInt(e.substring(0,2),16),o=parseInt(e.substring(2,4),16),r=parseInt(e.substring(4,6),16);(n+=t)>255?n=255:n<0&&(n=0),(o+=t)>255?o=255:o<0&&(o=0),(r+=t)>255?r=255:r<0&&(r=0);var l=1===n.toString(16).length?"0"+n.toString(16):n.toString(16),i=1===o.toString(16).length?"0"+o.toString(16):o.toString(16),c=1===r.toString(16).length?"0"+r.toString(16):r.toString(16);return(a?"#":"")+l+i+c}},{key:"classesClean",value:function(e){if(e){var t=[];return e=e.split(" "),["hb-visible-sm","hb-hidden-sm","hb-visible-md","hb-hidden-md","hb-visible-lg","hb-hidden-lg","hb-visible-Xlg","hb-hidden-Xlg","hb-scale-in","hb-scale-out","hb-slide-right","hb-slide-left","hb-slide-up","hb-slide-down","hb-fade-in","hb-fade-out","hb-right-rotation","hb-left-rotation","hb-up-rotation","hb-down-rotation","hb-fixed-bg","hb-parallax-up","hb-parallax-down","hb-hover-bg-zoomin","hb-hover-bg-zoomout","hb-hover-shadow","hb-hover-scalein","hb-hover-scaleout","hb-hover-visibility-inc","hb-hover-visibility-dec","text-left","text-right","text-center","text-justify","center-sm","center-md","center-lg","hayya-scrolleffects","hb-scroll_duration_0","hb-scroll_duration_5","hb-scroll_duration_10","hb-scroll_duration_15","hb-scroll_duration_20","hb-scroll_duration_25","hb-scroll_duration_30","hb-scroll_duration_35","hb-scroll_duration_40","hb-scroll_duration_45","hb-scroll_duration_50","hb-scroll_duration_55","hb-scroll_duration_60","hb-scroll_duration_65","hb-scroll_duration_70","hb-scroll_duration_75","hb-scroll_duration_80","hb-scroll_duration_85","hb-scroll_duration_90","hb-scroll_duration_95","hb-scroll_duration_100","hb-scroll_easing_ease","hb-scroll_easing_linear","hb-scroll_easing_ease-in","hb-scroll_easing_ease-out","hb-scroll_easing_ease-in-out","hb-scroll_easing_easeInQuad","hb-scroll_easing_easeInCubic","hb-scroll_easing_easeInQuart","hb-scroll_easing_easeInQuint","hb-scroll_easing_easeInSine","hb-scroll_easing_easeInExpo","hb-scroll_easing_easeInCirc","hb-scroll_easing_easeInBack","hb-scroll_easing_easeOutQuad","hb-scroll_easing_easeOutCubic","hb-scroll_easing_easeOutQuart","hb-scroll_easing_easeOutQuint","hb-scroll_easing_easeOutSine","hb-scroll_easing_easeOutExpo","hb-scroll_easing_easeOutCirc","hb-scroll_easing_easeOutBack","hb-scroll_easing_easeInOutQuad","hb-scroll_easing_easeInOutCubic","hb-scroll_easing_easeInOutQuart","hb-scroll_easing_easeInOutQuint","hb-scroll_easing_easeInOutSine","hb-scroll_easing_easeInOutExpo","hb-scroll_easing_easeInOutCirc","hb-scroll_easing_easeInOutBack"].map((function(a){e.indexOf(a)>-1&&t.push(a)})),t.join(" ")}}},{key:"hayyaClasses",value:function(){for(var e=this,t=[],a=arguments.length,n=new Array(a),o=0;o<a;o++)n[o]=arguments[o];return n.forEach((function(a){var n=bt(a);"string"===n||"number"===n?t.push(a.trim()):Array.isArray(a)&&a.length?a.forEach((function(e){return"string"==typeof e&&t.push(e.trim())})):"object"!==n||Array.isArray(a)||Object.keys(a).forEach((function(n){if("classesList"===n){var o=e.classesClean(a[n]);o&&t.push(o.trim())}else a[n]&&t.push(n.trim())}))})),t.join(" ")}}])&&ht(t.prototype,n),o&&ht(t,o),e}())},function(e,t,a){"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var e={};return function(t){if(void 0===e[t]){var a=document.querySelector(t);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}e[t]=a}return e[t]}}(),l=[];function i(e){for(var t=-1,a=0;a<l.length;a++)if(l[a].identifier===e){t=a;break}return t}function c(e,t){for(var a={},n=[],o=0;o<e.length;o++){var r=e[o],c=t.base?r[0]+t.base:r[0],s=a[c]||0,u="".concat(c," ").concat(s);a[c]=s+1;var f=i(u),d={css:r[1],media:r[2],sourceMap:r[3]};-1!==f?(l[f].references++,l[f].updater(d)):l.push({identifier:u,updater:h(d,t),references:1}),n.push(u)}return n}function s(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=a.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var l=r(e.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(t)}return t}var u,f=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function d(e,t,a,n){var o=a?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var r=document.createTextNode(o),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(r,l[t]):e.appendChild(r)}}function p(e,t,a){var n=a.css,o=a.media,r=a.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),r&&btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var y=null,b=0;function h(e,t){var a,n,o;if(t.singleton){var r=b++;a=y||(y=s(t)),n=d.bind(null,a,r,!1),o=d.bind(null,a,r,!0)}else a=s(t),n=p.bind(null,a,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(a)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var a=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<a.length;n++){var o=i(a[n]);l[o].references--}for(var r=c(e,t),s=0;s<a.length;s++){var u=i(a[s]);0===l[u].references&&(l[u].updater(),l.splice(u,1))}a=r}}}},function(e,t,a){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a=function(e,t){var a=e[1]||"",n=e[3];if(!n)return a;if(t&&"function"==typeof btoa){var o=(l=n,i=btoa(unescape(encodeURIComponent(JSON.stringify(l)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),"/*# ".concat(c," */")),r=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[a].concat(r).concat([o]).join("\n")}var l,i,c;return[a].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(a,"}"):a})).join("")},t.i=function(e,a,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var r=0;r<this.length;r++){var l=this[r][0];null!=l&&(o[l]=!0)}for(var i=0;i<e.length;i++){var c=[].concat(e[i]);n&&o[c[0]]||(a&&(c[2]?c[2]="".concat(a," and ").concat(c[2]):c[2]=a),t.push(c))}},t}},function(e,t,a){"use strict";a(26);function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?c(e):t}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){function t(){var e;return o(this,t),(e=l(this,i(t).apply(this,arguments))).state={modalOpened:""},e.hbModalRef=React.createRef(),e.appendModal=e.appendModal.bind(c(e)),e.removeModal=e.removeModal.bind(c(e)),e.openModal=e.openModal.bind(c(e)),e.closeModal=e.closeModal.bind(c(e)),e.events=e.events.bind(c(e)),e}var a,n,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,React.Component),a=t,(n=[{key:"componentDidMount",value:function(){this.appendModal()}},{key:"componentWillUnmount",value:function(){this.removeModal()}},{key:"appendModal",value:function(){var e=this.props.appendTo,t=document.body,a={};"string"==typeof e&&(a="."!==e.charAt(0)?document.getElementById(e):document.querySelector(e))&&(t=a),t.classList.add("react-modal-popup-parent"),this.hbModalRef.current&&t.appendChild(this.hbModalRef.current)}},{key:"openModal",value:function(e){e.preventDefault();var t=document.getElementById("wpwrap");t&&(t.style.overflow="hidden"),this.hbModalRef.current.addEventListener("click",this.events),document.body.addEventListener("keydown",this.events),this.setState({modalOpened:" madal-opend"});var a=this.props.onOpen;"function"==typeof a&&a()}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(e.preventDefault(),this.removeModal());var t=this.props.onClose;"function"==typeof t&&t()}},{key:"removeModal",value:function(){var e=document.getElementById("wpwrap");e&&(e.style.overflow="unset"),this.setState({modalOpened:""}),this.hbModalRef.current.classList&&this.hbModalRef.current.classList.remove("madal-opend")}},{key:"events",value:function(e){"click"===e.type&&e.target.classList&&e.target.classList.contains("madal-opend")?(this.setState({modalOpened:""}),this.closeModal()):"keydown"!==e.type||"Escape"!==e.key&&"27"!==e.keyCode&&"Esc"!=e.key||(this.setState({modalOpened:""}),document.body.removeEventListener("keydown",this.events),this.closeModal())}},{key:"render",value:function(){var e=this.props,t=e.title,a=e.iconClass,n=e.children,o=function(){return t?React.createElement("span",null,void 0!==a&&React.createElement("i",{className:a})," ".concat(t)):void 0!==a?React.createElement("div",{className:"components-toolbar components-toolbar"},React.createElement("i",{className:a})):void 0};return React.createElement("div",{className:"react-modal-popup"},React.createElement("a",{href:"#",onClick:this.openModal,className:"open-modal"},React.createElement(o,null)),React.createElement("div",{className:"react-appended-modal-popup".concat(this.state.modalOpened),ref:this.hbModalRef},React.createElement("div",{className:"modal-container"},React.createElement("div",{className:"modal-header"},React.createElement("h2",{className:"modal-title"},React.createElement(o,null)),React.createElement("div",{className:"react-modal-popup-close",onClick:this.closeModal})),React.createElement("div",{className:"modal-body"},n))))}}])&&r(a.prototype,n),u&&r(a,u),t}();t.a=u},function(e,t,a){"use strict";a(28);function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,a){return t&&r(e.prototype,t),a&&r(e,a),e}function i(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?s(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){function t(){var e;return o(this,t),(e=i(this,c(t).apply(this,arguments))).state={active:0,selected:!1},e.active=e.active.bind(s(e)),e.mapRender=e.mapRender.bind(s(e)),e}return u(t,React.Component),l(t,[{key:"active",value:function(e,t){e.preventDefault(),this.setState({active:t,selected:!0})}},{key:"mapRender",value:function(){var e=this,t=this.props,a=t.color,n=t.bgColor,o=t.children,r=!0===t.fullWidthTabs?" flex-tabs":"",l=[],i=[],c=!1,s="function"==typeof o.map?o:[o];return"function"==typeof s.map&&s.map((function(t,o){if(t&&p.name===t.type.name){var r=t.props,s=r.title,u=r.iconClass,f=r.className,d=t.props.children,y=t.props.color,b=t.props.bgColor,h="";!t.props.active||c||e.state.selected||(h="active",c=!0),o===e.state.active&&e.state.selected&&(h="active");var m={},g="";(a||y)&&(m.color=a||y),(n||b)&&(m.backgroundColor=n||b),(m.color||m.backgroundColor)&&(g=m),l.push(React.createElement("li",{key:"link-".concat(o),className:h},React.createElement("a",{href:"#tab-".concat(o),style:g,onClick:function(t){return e.active(t,o)}},u&&React.createElement("i",{className:u})," ".concat(s)))),i.push(React.createElement("div",{key:"tab-".concat(o),className:"tab ".concat(h," ").concat(f),style:g},d))}})),React.createElement("div",{className:"react-clean-tabs".concat(r)},React.createElement("ul",{className:"tab-links"},l),React.createElement("div",{className:"tabs-content"},i))}},{key:"render",value:function(){return this.mapRender()}}]),t}(),p=function(e){function t(){return o(this,t),i(this,c(t).apply(this,arguments))}return u(t,e),l(t,[{key:"render",value:function(){var e=this.props.children;return React.createElement("div",null,e)}}]),t}(d);d.Item=p,t.a=d},function(e){e.exports=JSON.parse('{"pricingtable":{"name":"hayyabuild/pricingtable","category":"hayyabuild","attributes":{"cleanStyle":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--clean-style","default":true},"zoomEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--zoom-effect","default":false},"opacityEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--opacity-effect","default":false},"gradientEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--gradient-effect","default":false},"shadowEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--shadow-effect","default":false},"numOfplans":{"type":"number","default":"1"},"id":{"type":"string","default":""},"classesList":{"type":"string","default":""}},"deprecated":{"attributes":{}}},"pricingtableplan":{"name":"hayyabuild/pricingtableplan","category":"hayyabuild","attributes":{"ribbonText":{"type":"array","source":"children","selector":".hayyabuild-pricingtable__plan__header__ribbon span"},"headingText":{"type":"array","source":"children","selector":".hayyabuild-pricingtable__plan__header__heading"},"planIcon":{"typr":"string","source":"attribute","selector":".hayyabuild-pricingtable__plan__header__icon > i","attribute":"class"},"priceText":{"type":"string","source":"html","selector":".hayyabuild-pricingtable__plan__header__price"},"featuredPlan":{"type":"boolean","default":false},"ribbonTextColor":{"type":"string","default":"#fff"},"ribbonBgColor":{"type":"string","default":"#0097d4"},"id":{"type":"string","default":""},"classesList":{"type":"string","default":""}},"deprecated":{"attributes":{}}}}')},function(e){e.exports=JSON.parse('{"name":"hayyabuild/button","category":"hayyabuild","attributes":{"text":{"type":"array","source":"children","selector":"span"},"title":{"type":"string","source":"attribute","selector":"a","attribute":"title"},"link":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"align":{"type":"string"},"icon":{"type":"string","source":"attribute","selector":"a i","attribute":"class"},"newTab":{"type":"boolean","source":"attribute","selector":"a","attribute":"target"},"waveEffect":{"type":"boolean","default":true},"shadowffect":{"type":"boolean","default":true},"effectType":{"type":"string","default":"light"},"size":{"type":"number","default":3},"id":{"type":"string"},"classesList":{"type":"string","default":""},"style":{"type":"object","source":"attribute","selector":"a","attribute":"style"}}}')},function(e){e.exports=JSON.parse('{"name":"hayyabuild/social","category":"hayyabuild","attributes":{"align":{"type":"string","default":""},"size":{"type":"number","default":5},"shadow":{"type":"boolean","default":false},"facebook":{"type":"string","source":"attribute","selector":"a.facebook","attribute":"href"},"twitter":{"type":"string","source":"attribute","selector":"a.twitter","attribute":"href"},"linkedin":{"type":"string","source":"attribute","selector":"a.linkedin","attribute":"href"},"youtube":{"type":"string","source":"attribute","selector":"a.youtube","attribute":"href"},"vimeo":{"type":"string","source":"attribute","selector":"a.vimeo","attribute":"href"},"instagram":{"type":"string","source":"attribute","selector":"a.instagram","attribute":"href"},"pinterest":{"type":"string","source":"attribute","selector":"a.pinterest","attribute":"href"},"flickr":{"type":"string","source":"attribute","selector":"a.flickr","attribute":"href"},"github":{"type":"string","source":"attribute","selector":"a.github","attribute":"href"},"vk":{"type":"string","source":"attribute","selector":"a.vk","attribute":"href"},"tumblr":{"type":"string","source":"attribute","selector":"a.tumblr","attribute":"href"},"id":{"type":"string"},"classesList":{"type":"string","default":""},"style":{"type":"object","source":"attribute","selector":"xx","attribute":"xx"}}}')},function(e){e.exports=JSON.parse('{"name":"hayyabuild/progressbar","category":"hayyabuild","attributes":{"title":{"type":"array","source":"children","selector":"span.hayyabuild-progressbar__title"},"showProgressText":{"type":"boolean","default":true},"percent":{"type":"boolean","default":true},"animate":{"type":"boolean","default":false},"value":{"type":"number","default":50},"max":{"type":"number","default":100},"id":{"type":"string"},"classesList":{"type":"string","default":""},"style":{"type":"object","source":"attribute","selector":"xx","attribute":"xx"}}}')},function(e,t,a){"use strict"; 2 2 /* 3 3 object-assign 4 4 (c) Sindre Sorhus 5 5 @license MIT 6 */var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,r,c=i(e),s=1;s<arguments.length;s++){for(var u in a=Object(arguments[s]))o.call(a,u)&&(c[u]=a[u]);if(n){r=n(a);for(var f=0;f<r.length;f++)l.call(a,r[f])&&(c[r[f]]=a[r[f]])}}return c}},function(e,t,a){"use strict";e.exports=a(55)},function(e,t,a){e.exports=function(e,t){var a,n,o,l=0;function i(){var t,i,r=n,c=arguments.length;e:for(;r;){if(r.args.length===arguments.length){for(i=0;i<c;i++)if(r.args[i]!==arguments[i]){r=r.next;continue e}return r!==n&&(r===o&&(o=r.prev),r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n,r.prev=null,n.prev=r,n=r),r.val}r=r.next}for(t=new Array(c),i=0;i<c;i++)t[i]=arguments[i];return r={args:t,val:e.apply(null,t)},n?(n.prev=r,r.next=n):o=r,l===a?(o=o.prev).next=null:l++,n=r,r.val}return t&&t.maxSize&&(a=t.maxSize),i.clear=function(){n=null,o=null,l=0},i}},function(e,t){t.__esModule=!0,t.default={body:'<path fill-rule="evenodd" clip-rule="evenodd" fill="#FBF063" d="M7 22L50 0l43 22l-43 21.001L7 22z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#F29C1F" d="M50.003 42.997L7 22v54.28l43.006 21.714l-.003-54.997z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#F0C419" d="M50 97.994L93.006 76.28V22L50.003 42.997L50 97.994z"/><path opacity=".5" fill-rule="evenodd" clip-rule="evenodd" fill="#F29C1F" d="M27.036 11.705l42.995 21.498l2.263-1.105l-43.047-21.524z"/><path opacity=".5" fill-rule="evenodd" clip-rule="evenodd" fill="#fff" d="M21.318 14.674L63.3 36.505l15.99-7.809L35.788 7.271z"/><path opacity=".5" fill-rule="evenodd" clip-rule="evenodd" fill="#fff" d="M63.312 36.505l15.978-7.818v11l-15.978 8.817V36.505z"/>',width:100,height:100}},function(e,t){t.__esModule=!0,t.default={body:'<circle fill="#B2DFDB" cx="24" cy="31" r="14"/><g fill="#009688"><path d="M24 3.3L33 14H15z"/><path d="M21 11h6v23h-6z"/></g>',width:48,height:48}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M128 1024V128h896v896H128zm832-832H192v640h768V192zm-576 64q53 0 90.5 37.5T512 384t-37.5 90.5T384 512t-90-37.5t-38-90.5v-1q1-53 38-90t90-37zm47 337l174 175H256v-93l82-82q18-18 46.5-18t46.5 18zm259-128q18-18 46.5-18t46.5 18l113 113v190H695L542 615zM64 896H0V0h896v64H64v832z" fill="currentColor"/>',width:1024,height:1024}},function(e,t){t.__esModule=!0,t.default={body:'<g fill="currentColor" fill-rule="evenodd"><path d="M10.956 6.326c0 .35-.299.632-.669.632H1.689c-.371 0-.67-.282-.67-.632V.633c0-.35.299-.633.67-.633h8.598c.37 0 .669.283.669.633v5.693z"/><path d="M17 15.333a.669.669 0 0 1-.671.667H7.714a.668.668 0 0 1-.671-.667V8.666c0-.368.3-.666.671-.666h8.615c.37 0 .671.298.671.666v6.667z"/><path d="M5.976 15.333c0 .369-.3.667-.668.667H1.691a.668.668 0 0 1-.671-.667V8.666c0-.368.299-.666.671-.666h3.617c.368 0 .668.298.668.666v6.667z"/><path d="M17 6.345c0 .351-.324.634-.726.634h-3.528c-.398 0-.723-.283-.723-.634V.635c0-.352.324-.635.723-.635h3.528c.401 0 .726.283.726.635v5.71z"/></g>',width:17,height:16}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M22 14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4M4 14h4v-4H4v4m6 0h4v-4h-4v4m6 0h4v-4h-4v4z" fill="currentColor"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M62 52c0 5.5-4.5 10-10 10H12C6.5 62 2 57.5 2 52V12C2 6.5 6.5 2 12 2h40c5.5 0 10 4.5 10 10v40z" fill="#ff5a79"/><g fill="#fff"><path d="M28.1 45H32l-8.8-26h-4.4L10 45h3.9l3.1-9.1h8.1l3 9.1m-9.8-13l2.7-8.1l2.7 8.1h-5.4"/><path d="M52 26.5c0-4.1-2.2-7.5-6-7.5H36v26h9.2c3.8 0 6.8-3.4 6.8-7.5c0-2.2-.8-4.1-2.2-5.5c1.4-1.4 2.2-3.3 2.2-5.5m-6.8 14.4h-5.6v-6.8h5.6c1.7 0 3.1 1.5 3.1 3.4c0 1.8-1.4 3.4-3.1 3.4m0-10.9h-5.6v-6.8h5.6c1.7 0 3.1 1.5 3.1 3.4S46.9 30 45.2 30"/></g>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<path fill-rule="evenodd" clip-rule="evenodd" fill="#F2F2F2" d="M75 87.425L50 100L25 87.425L0 100V12.576L25 0l25 12.576L75 0l25 12.576V100L75 87.425z"/><path clip-rule="evenodd" stroke="#6BC9F2" stroke-width="4" stroke-miterlimit="10" d="M15 60V32l9.988-5.006L50 41l25-12l12 4" fill="none"/><path clip-rule="evenodd" stroke="#E64C3C" stroke-width="4" stroke-miterlimit="10" d="M15 61v-8l10-5l25 13l25-11l12-5V32" fill="none"/><path clip-rule="evenodd" stroke="#F29C1F" stroke-width="4" stroke-miterlimit="10" d="M15 61l35 18l17-8V43l20-10" fill="none"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#fff" d="M87 36.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5s3.5 1.57 3.5 3.5s-1.57 3.5-3.5 3.5z"/><path fill="#2980BA" d="M87 31c1.103 0 2 .897 2 2s-.897 2-2 2s-2-.897-2-2s.897-2 2-2m0-3a5 5 0 1 0 .001 10.001A5 5 0 0 0 87 28z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#fff" d="M15 64.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5s3.5 1.57 3.5 3.5s-1.57 3.5-3.5 3.5z"/><path fill="#2980BA" d="M15 59c1.103 0 2 .897 2 2s-.897 2-2 2s-2-.897-2-2s.897-2 2-2m0-3a5 5 0 1 0 .001 10.001A5 5 0 0 0 15 56z"/><path opacity=".15" fill-rule="evenodd" clip-rule="evenodd" fill="#2C3E50" d="M0 100l25-12.576V0L0 12.576V100zm50-87.424V100l25-12.576V0L50 12.576z"/>',width:100,height:100}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M8 18h3v-3H2v-2h20v2h-9v3h3l-4 4l-4-4m4-16L8 6h3v3H2v2h20V9h-9V6h3l-4-4z" fill="currentColor"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 0 0-11.3 0L403.6 366.3a7.23 7.23 0 0 0 5.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" fill="currentColor"/>',width:1024,height:1024}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M855.048 768h-87l-256 256V768h-343q-57 0-113-57t-56-115V172q0-58 56-115t113-57h686q57 0 113 57t56 115v424q0 58-56 115t-113 57zm-407-384q0-27-18.5-45.5t-45.5-18.5h-64v-64h32q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5h-96q-26 0-45 19t-19 45v256q0 26 19 45t45 19h128q26 0 45-19t19-45V384zm384 0q0-27-19-45.5t-45-18.5h-64v-64h32q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5h-96q-27 0-45.5 19t-18.5 45v256q0 26 18.5 45t45.5 19h128q26 0 45-18.5t19-45.5V384z" fill="currentColor"/>',width:1025,height:1024}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M5.9 62c-3.3 0-4.8-2.4-3.3-5.3L29.3 4.2c1.5-2.9 3.9-2.9 5.4 0l26.7 52.5c1.5 2.9 0 5.3-3.3 5.3H5.9z" fill="#ffce31"/><g fill="#231f20"><path d="M27.8 23.6l2.8 18.5c.3 1.8 2.6 1.8 2.9 0l2.7-18.5c.5-7.2-8.9-7.2-8.4 0"/><circle cx="32" cy="49.6" r="4.2"/></g>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M896.428 1024h-640q-53 0-90.5-37.5t-37.5-90.5V384q-53 0-90.5-37.5T.428 256V128q0-53 37.5-90.5t90.5-37.5h768q53 0 90.5 37.5t37.5 90.5v768q0 53-37.5 90.5t-90.5 37.5zm-12-928h-296q-8 0-11 14.5t5 23.5l135 177q8 9 19 9t19-9l135-177q8-9 5-23.5t-11-14.5zm12 288h-640v128h640V384zm0 192h-640v128h640V576zm0 192h-640v96q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5-9.5t9.5-22.5v-96z" fill="currentColor"/>',width:1025,height:1024}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5.5-.5zM6 14h4v1H6v-1z" fill="currentColor"/>',width:20,height:20}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M10.001 7.8a2.2 2.2 0 1 0 0 4.402A2.2 2.2 0 0 0 10 7.8zm-7 0a2.2 2.2 0 1 0 0 4.402A2.2 2.2 0 0 0 3 7.8zm14 0a2.2 2.2 0 1 0 0 4.402A2.2 2.2 0 0 0 17 7.8z" fill="currentColor"/>',width:20,height:20}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M10 .188A9.812 9.812 0 0 0 .187 10A9.812 9.812 0 0 0 10 19.813c2.29 0 4.393-.811 6.063-2.125l.875.875a1.845 1.845 0 0 0 .343 2.156l4.594 4.625c.713.714 1.88.714 2.594 0l.875-.875a1.84 1.84 0 0 0 0-2.594l-4.625-4.594a1.824 1.824 0 0 0-2.157-.312l-.875-.875A9.812 9.812 0 0 0 10 .188zM10 2a8 8 0 1 1 0 16a8 8 0 0 1 0-16zM4.937 7.469a5.446 5.446 0 0 0-.812 2.875a5.46 5.46 0 0 0 5.469 5.469a5.516 5.516 0 0 0 3.156-1a7.166 7.166 0 0 1-.75.03a7.045 7.045 0 0 1-7.063-7.062c0-.104-.005-.208 0-.312z" fill="currentColor"/>',width:26,height:26}},function(e,t){t.__esModule=!0,t.default={body:'<path fill="#d0d1d2" d="M57.792 58.54c0 3.02-2.697 5.46-6.03 5.46H13.29c-3.33 0-6.03-2.441-6.03-5.46V9.31c0-3.01 2.703-5.462 6.03-5.462h38.472c3.335 0 6.03 2.448 6.03 5.462v49.23"/><path fill="#e7e6e6" d="M57.792 54.688c0 3.02-2.697 5.463-6.03 5.463H13.29c-3.33 0-6.03-2.445-6.03-5.463V5.458c0-3.01 2.703-5.459 6.03-5.459h38.472c3.335 0 6.03 2.446 6.03 5.459v49.23"/><g fill="#35494d"><path d="M14.863 13.232h34.23c2.301 0 2.301-3.228 0-3.228h-34.23c-2.298 0-2.298 3.228 0 3.228"/><path d="M14.863 19.783h34.23c2.301 0 2.301-3.224 0-3.224h-34.23c-2.298 0-2.298 3.224 0 3.224"/><path d="M14.863 26.482h34.23c2.301 0 2.301-3.224 0-3.224h-34.23c-2.298 0-2.298 3.224 0 3.224"/><path d="M14.863 33.03h34.23c2.301 0 2.301-3.227 0-3.227h-34.23c-2.298 0-2.298 3.227 0 3.227"/><path d="M14.863 56.727h15.75c2.301 0 2.301-3.229 0-3.229h-15.75c-2.298 0-2.298 3.229 0 3.229"/></g>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z" fill="currentColor"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm2 4v-2H3a2 2 0 0 0 2 2zM3 9h2V7H3v2zm12 12h2v-2h-2v2zm4-18H9a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12H9V5h10v10zm-8 6h2v-2h-2v2zm-4 0h2v-2H7v2z" fill="currentColor"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<path fill="currentColor" d="M0 4v8h16V4H0zm15 7H1V7h14v4z"/><path fill="currentColor" d="M0 0h16v3H0V0z"/><path fill="currentColor" d="M0 13h16v3H0v-3z"/>',width:16,height:16}},function(e,t){t.__esModule=!0,t.default={body:'<linearGradient id="ssvg-id-bookmark-tabsa" x1="65.332" x2="65.332" y1="10.969" y2="124.38" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" offset="0"/><stop stop-color="#FDFDFD" offset=".386"/><stop stop-color="#F5F5F5" offset=".588"/><stop stop-color="#E7E7E7" offset=".747"/><stop stop-color="#D5D5D5" offset=".882"/><stop stop-color="#BDBDBD" offset="1"/></linearGradient><path d="M102.24 123.88H28.42c-2.21 0-4-1.79-4-4V14.79c0-2.21 1.79-4 4-4h73.82c2.21 0 4 1.79 4 4v105.09c0 2.21-1.79 4-4 4z" fill="url(#ssvg-id-bookmark-tabsa)"/><path d="M102.24 13.64c.64 0 1.15.52 1.15 1.15v105.09c0 .64-.52 1.15-1.15 1.15H28.42c-.64 0-1.15-.52-1.15-1.15V14.79c0-.64.52-1.15 1.15-1.15h73.82m0-2.85H28.42c-2.21 0-4 1.79-4 4v105.09c0 2.21 1.79 4 4 4h73.82c2.21 0 4-1.79 4-4V14.79c0-2.2-1.79-4-4-4z" fill="#424242" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsb" x1="84.916" x2="119.97" y1="99.397" y2="99.397" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabsb)" d="M84.92 93.26h35.06v12.27H84.92z"/><path fill="#4480F7" d="M103.51 93.26h16.47v12.27h-16.47z"/><path d="M117.78 95.45v7.89H87.11v-7.89h30.67m2.19-2.19H84.92v12.27h35.06V93.26h-.01z" fill="#757575" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsc" x1="84.916" x2="119.97" y1="41.803" y2="41.803" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabsc)" d="M84.92 35.67h35.06v12.27H84.92z"/><path fill="#FBBE00" d="M103.51 35.67h16.47v12.27h-16.47z"/><path d="M117.78 37.86v7.89H87.11v-7.89h30.67m2.19-2.19H84.92v12.27h35.06V35.67h-.01z" fill="#757575" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsd" x1="52.444" x2="52.444" y1="4.17" y2="114.61" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" offset="0"/><stop stop-color="#FDFDFD" offset=".386"/><stop stop-color="#F5F5F5" offset=".588"/><stop stop-color="#E7E7E7" offset=".747"/><stop stop-color="#D5D5D5" offset=".882"/><stop stop-color="#BDBDBD" offset="1"/></linearGradient><path d="M91.35 114.13H13.54c-2.21 0-4-1.79-4-4V8c0-2.21 1.79-4 4-4h77.81c2.21 0 4 1.79 4 4v102.13c0 2.21-1.79 4-4 4z" fill="url(#ssvg-id-bookmark-tabsd)"/><path d="M91.35 6.88c.62 0 1.12.5 1.12 1.12v102.13c0 .62-.5 1.12-1.12 1.12H13.54c-.62 0-1.12-.5-1.12-1.12V8c0-.62.5-1.12 1.12-1.12h77.81m0-2.88H13.54c-2.21 0-4 1.79-4 4v102.13c0 2.21 1.79 4 4 4h77.81c2.21 0 4-1.79 4-4V8c0-2.21-1.79-4-4-4z" fill="#424242" opacity=".2"/><g fill="none" stroke="#757575" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="3.797"><path d="M21.6 30.48h61.69"/><path d="M21.6 44.25h61.69"/><path d="M21.6 58.03h61.69"/><path d="M21.6 71.81h61.69"/><path d="M21.6 85.58h26.38"/></g><linearGradient id="ssvg-id-bookmark-tabse" x1="78.71" x2="113.77" y1="19.988" y2="19.988" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabse)" d="M78.71 13.85h35.06v12.27H78.71z"/><path fill="#EC4431" d="M97.3 13.85h16.47v12.27H97.3z"/><path d="M111.58 16.04v7.89H80.9v-7.89h30.68m2.19-2.19H78.71v12.27h35.06V13.85z" fill="#757575" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsf" x1="78.71" x2="113.77" y1="72.882" y2="72.882" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabsf)" d="M78.71 66.75h35.06v12.27H78.71z"/><path fill="#2CA94F" d="M97.3 66.75h16.47v12.27H97.3z"/><path d="M111.58 68.94v7.89H80.9v-7.89h30.68m2.19-2.19H78.71v12.27h35.06V66.75z" fill="#757575" opacity=".2"/>',width:128,height:128}},function(e,t){t.__esModule=!0,t.default={body:'<path fill="#d0d2d3" d="M39.972 48.14c0 2.097-1.936 3.788-4.334 3.788H8.012c-2.395 0-4.334-1.691-4.334-3.788V14.01c0-2.092 1.938-3.789 4.334-3.789H35.64c2.396 0 4.334 1.696 4.334 3.789v34.13h-.002"/><path fill="#fff" d="M37.742 45.22c0 1.834-1.701 3.322-3.8 3.322H9.712c-2.1 0-3.801-1.488-3.801-3.322V15.284c0-1.833 1.702-3.318 3.801-3.318h24.23c2.099 0 3.8 1.486 3.8 3.318V45.22"/><g fill="#34484c"><path d="M10.702 20.01h21.56c1.446 0 1.446-1.963 0-1.963h-21.56c-1.451 0-1.451 1.963 0 1.963"/><path d="M10.702 23.995h21.56c1.446 0 1.446-1.959 0-1.959h-21.56c-1.451 0-1.451 1.959 0 1.959"/><path d="M10.702 28.07h21.56c1.446 0 1.446-1.961 0-1.961h-21.56c-1.451 0-1.451 1.961 0 1.961"/><path d="M10.702 32.06h21.56c1.446 0 1.446-1.963 0-1.963h-21.56c-1.451-.002-1.451 1.963 0 1.963"/><path d="M10.702 46.46h9.921c1.446 0 1.446-1.963 0-1.963h-9.921c-1.451 0-1.451 1.963 0 1.963"/></g><path fill="#20afc3" d="M21.482 11.966c0 3.078-2.556 5.575-5.702 5.575h-9.1c-3.149 0-5.702-2.497-5.702-5.575c0-3.079 2.552-5.573 5.702-5.573h9.09c3.147 0 5.703 2.494 5.703 5.573"/><path fill="#d0d2d3" d="M51.5 39.1c0 2.093-1.94 3.789-4.332 3.789H19.535c-2.392 0-4.332-1.696-4.332-3.789V4.97c0-2.09 1.94-3.786 4.332-3.786h27.633c2.392 0 4.332 1.696 4.332 3.786V39.1"/><path fill="#fff" d="M49.27 36.19c0 1.834-1.701 3.321-3.8 3.321H21.24c-2.098 0-3.798-1.487-3.798-3.321V6.251c0-1.833 1.7-3.316 3.798-3.316h24.23c2.099 0 3.8 1.485 3.8 3.316V36.19"/><g fill="#34484c"><path d="M22.22 10.972h21.556c1.452 0 1.452-1.961 0-1.961H22.22c-1.447 0-1.447 1.961 0 1.961"/><path d="M22.22 14.959h21.556c1.452 0 1.452-1.963 0-1.963H22.22c-1.447 0-1.447 1.963 0 1.963"/><path d="M22.22 19.03h21.556c1.452 0 1.452-1.963 0-1.963H22.22c-1.447 0-1.447 1.963 0 1.963"/><path d="M22.22 23.02h21.556c1.452 0 1.452-1.961 0-1.961H22.22c-1.447 0-1.447 1.961 0 1.961"/><path d="M22.22 37.424h9.922c1.446 0 1.446-1.963 0-1.963H22.22c-1.447 0-1.447 1.963 0 1.963"/></g><path fill="#20afc3" d="M33.35 33.03c0 3.079-2.555 5.575-5.701 5.575h-9.09c-3.152 0-5.703-2.496-5.703-5.575c0-3.078 2.55-5.572 5.703-5.572h9.09c3.147 0 5.701 2.494 5.701 5.572"/><path fill="#d0d2d3" d="M63.02 59.13c0 2.095-1.939 3.786-4.332 3.786H31.057c-2.395 0-4.336-1.691-4.336-3.786V25c0-2.092 1.941-3.789 4.336-3.789h27.632c2.394 0 4.331 1.695 4.331 3.789v34.13"/><path fill="#fff" d="M60.79 56.22c0 1.835-1.705 3.32-3.803 3.32h-24.23c-2.098 0-3.802-1.485-3.802-3.32V26.285c0-1.835 1.705-3.319 3.802-3.319h24.23c2.098 0 3.803 1.484 3.803 3.319V56.22"/><g fill="#34484c"><path d="M33.746 31.01h21.562c1.447 0 1.447-1.965 0-1.965H33.746c-1.447 0-1.447 1.965 0 1.965"/><path d="M33.746 34.993h21.562c1.447 0 1.447-1.961 0-1.961H33.746c-1.447 0-1.447 1.961 0 1.961"/><path d="M33.746 39.07h21.562c1.447 0 1.447-1.961 0-1.961H33.746c-1.447 0-1.447 1.961 0 1.961"/><path d="M33.746 43.05h21.562c1.447 0 1.447-1.962 0-1.962H33.746c-1.447 0-1.447 1.962 0 1.962"/><path d="M33.746 57.46h9.925c1.446 0 1.446-1.961 0-1.961h-9.925c-1.447 0-1.447 1.961 0 1.961"/></g>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M5.534 12.57a1 1 0 1 1 .733 1.86A3.579 3.579 0 0 0 4 17.76v1.74a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1.647a3.658 3.658 0 0 0-2.356-3.419a1 1 0 1 1 .712-1.868A5.658 5.658 0 0 1 16 17.853V19.5a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-1.74a5.579 5.579 0 0 1 3.534-5.19zM9 2.5a4 4 0 0 1 4 4v2a4 4 0 1 1-8 0v-2a4 4 0 0 1 4-4zm0 2a2 2 0 0 0-2 2v2a2 2 0 1 0 4 0v-2a2 2 0 0 0-2-2zm9 17a1 1 0 0 1 0-2h1a1 1 0 0 0 1-1v-1.838a3.387 3.387 0 0 0-2.316-3.213a1 1 0 1 1 .632-1.898A5.387 5.387 0 0 1 22 16.662V18.5a3 3 0 0 1-3 3h-1zm-3-18a1 1 0 0 1 0-2a4 4 0 0 1 4 4v2a4 4 0 0 1-4 4a1 1 0 0 1 0-2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2z" fill="currentColor"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<circle cx="32" cy="32" r="30" fill="#4fd1d9"/><path fill="#fff" d="M14 18l11.9 12.7H14L32 50l18-19.3H38.1L50 18z"/>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<circle cx="32" cy="32" r="30" fill="#4fd1d9"/><path fill="#fff" d="M50 46L38.1 33.3H50L32 14L14 33.3h11.9L14 46z"/>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm0 2v3h16V6H4zm0 5v7h16v-7H4zm2 3v2h4v-2H6zm6 0v2h4v-2h-4z" fill="currentColor" fill-rule="nonzero"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M16 2H7.979C6.88 2 6 2.88 6 3.98V12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 10H8V4h8v8zM4 10H2v6c0 1.1.9 2 2 2h6v-2H4v-6z" fill="currentColor"/>',width:20,height:20}},function(e,t){t.__esModule=!0,t.default={body:'<g fill="#3F51B5"><path d="M17.8 18.1l-7.4 7.3l-4.2-4.1L4 23.5l6.4 6.4l9.6-9.6z"/><path d="M17.8 5.1l-7.4 7.3l-4.2-4.1L4 10.5l6.4 6.4L20 7.3z"/><path d="M17.8 31.1l-7.4 7.3l-4.2-4.1L4 36.5l6.4 6.4l9.6-9.6z"/></g><g fill="#90CAF9"><path d="M24 22h20v4H24z"/><path d="M24 9h20v4H24z"/><path d="M24 35h20v4H24z"/></g>',width:48,height:48}},function(e,t){t.__esModule=!0,t.default={body:'<path fill="#43A047" d="M40.6 12.1L17 35.7l-9.6-9.6L4.6 29L17 41.3l26.4-26.4z"/>',width:48,height:48}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M12.825 10.653c.118-.258.445-.497.727-.529s.539-.29.571-.572c.034-.28.272-.608.529-.727a.69.69 0 0 0 .369-.72c-.058-.278.068-.663.276-.854a.689.689 0 0 0 .127-.801a1.017 1.017 0 0 1 0-.897a.688.688 0 0 0-.127-.801c-.208-.193-.333-.577-.276-.854a.691.691 0 0 0-.369-.722a1.03 1.03 0 0 1-.529-.727a.689.689 0 0 0-.571-.572a1.024 1.024 0 0 1-.727-.528a.686.686 0 0 0-.722-.366a1.024 1.024 0 0 1-.854-.278c-.193-.21-.553-.266-.8-.127s-.652.139-.898 0a.684.684 0 0 0-.801.125a1.022 1.022 0 0 1-.854.278a.685.685 0 0 0-.72.367c-.119.256-.446.495-.728.527a.69.69 0 0 0-.572.573a1.023 1.023 0 0 1-.529.726a.69.69 0 0 0-.366.722c.055.277-.07.662-.278.854s-.266.552-.127.801c.139.246.139.651 0 .897a.69.69 0 0 0 .127.802c.209.19.333.575.278.854a.687.687 0 0 0 .366.72c.258.119.495.447.528.727c.034.282.29.54.572.572s.609.272.728.529a.688.688 0 0 0 .72.366c.278-.055.663.069.854.278a.69.69 0 0 0 .801.127c.246-.139.651-.139.898 0s.607.081.8-.127c.193-.21.576-.333.854-.278a.69.69 0 0 0 .723-.365zM10 9.399a3.4 3.4 0 1 1 0-6.8a3.4 3.4 0 0 1 0 6.8zm-4.025 2.01l-1.243 7.049l3.128-.464l2.781 1.506l1.238-7.021a6.707 6.707 0 0 1-5.904-1.07zm7.986.048a6.741 6.741 0 0 1-.99.597l-.748 4.236l3.369-1.828l-1.631-3.005z" fill="currentColor"/>',width:20,height:20}},function(e,t){t.__esModule=!0,t.default={body:'<g fill="#00BCD4"><path d="M19 22h10v20H19z"/><path d="M6 12h10v30H6z"/><path d="M32 6h10v36H32z"/></g>',width:48,height:48}},function(e,t,a){function n(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="HayyaBuil",this.description="HayyaBuild allows you to build unlimited headers,",this.version="5.6",this.helper=a(0).H,this._initializer()}var t,o,l;return t=e,(o=[{key:"_initializer",value:function(){var e=window.hayyabuild_type||"",t=a(61),n=a(62),o=a(87),l=a(86),i=a(88),r=a(63),c=a(89),s=a(64),u=a(65),f=a(85),d=a(66),p=a(90),y=a(67),b=a(68),h=a(69),m=a(70),g=a(71),v=a(72),k=a(91),E=a(73),w=a(92),_=a(93),x=a(94),R=a(95),C=a(74),S=a(77),O=a(78),L=a(96),N=a(79),H=[h,m,t,l,i,r,c,s,u,k,E,w,_,a(80),a(81),x,R,L,N,f,p,d,y,o,g,C,a(82),a(83),a(84)];"header"===e?H=H.concat([S,b,n]):"content"===e?H=H.concat([v]):"footer"===e&&(H=H.concat([O])),H.forEach((function(e){var t=e.name,a=e.settings;wp.blocks.registerBlockType(t,a)})),wp.data.subscribe(this.helper.hayyabuildSubscribe)}}])&&n(t.prototype,o),l&&n(t,l),e}());document.addEventListener("DOMContentLoaded",(function(){return o.helper.setHeadStyle()}))},function(e,t,a){"use strict"; 6 */var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function l(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,i,c=l(e),s=1;s<arguments.length;s++){for(var u in a=Object(arguments[s]))o.call(a,u)&&(c[u]=a[u]);if(n){i=n(a);for(var f=0;f<i.length;f++)r.call(a,i[f])&&(c[i[f]]=a[i[f]])}}return c}},function(e,t,a){"use strict";e.exports=a(37)},function(e,t,a){"use strict";e.exports=a(36)},function(e,t,a){e.exports=function(e,t){var a,n,o,r=0;function l(){var t,l,i=n,c=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(l=0;l<c;l++)if(i.args[l]!==arguments[l]){i=i.next;continue e}return i!==n&&(i===o&&(o=i.prev),i.prev.next=i.next,i.next&&(i.next.prev=i.prev),i.next=n,i.prev=null,n.prev=i,n=i),i.val}i=i.next}for(t=new Array(c),l=0;l<c;l++)t[l]=arguments[l];return i={args:t,val:e.apply(null,t)},n?(n.prev=i,i.next=n):o=i,r===a?(o=o.prev).next=null:r++,n=i,i.val}return t&&t.maxSize&&(a=t.maxSize),l.clear=function(){n=null,o=null,r=0},l}},function(e,t){t.__esModule=!0,t.default={body:'<circle fill="#B2DFDB" cx="24" cy="31" r="14"/><g fill="#009688"><path d="M24 3.3L33 14H15z"/><path d="M21 11h6v23h-6z"/></g>',width:48,height:48}},function(e,t){t.__esModule=!0,t.default={body:'<g fill="currentColor" fill-rule="evenodd"><path d="M10.956 6.326c0 .35-.299.632-.669.632H1.689c-.371 0-.67-.282-.67-.632V.633c0-.35.299-.633.67-.633h8.598c.37 0 .669.283.669.633v5.693z"/><path d="M17 15.333a.669.669 0 0 1-.671.667H7.714a.668.668 0 0 1-.671-.667V8.666c0-.368.3-.666.671-.666h8.615c.37 0 .671.298.671.666v6.667z"/><path d="M5.976 15.333c0 .369-.3.667-.668.667H1.691a.668.668 0 0 1-.671-.667V8.666c0-.368.299-.666.671-.666h3.617c.368 0 .668.298.668.666v6.667z"/><path d="M17 6.345c0 .351-.324.634-.726.634h-3.528c-.398 0-.723-.283-.723-.634V.635c0-.352.324-.635.723-.635h3.528c.401 0 .726.283.726.635v5.71z"/></g>',width:17,height:16}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M22 14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4M4 14h4v-4H4v4m6 0h4v-4h-4v4m6 0h4v-4h-4v4z" fill="currentColor"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M62 52c0 5.5-4.5 10-10 10H12C6.5 62 2 57.5 2 52V12C2 6.5 6.5 2 12 2h40c5.5 0 10 4.5 10 10v40z" fill="#ff5a79"/><g fill="#fff"><path d="M28.1 45H32l-8.8-26h-4.4L10 45h3.9l3.1-9.1h8.1l3 9.1m-9.8-13l2.7-8.1l2.7 8.1h-5.4"/><path d="M52 26.5c0-4.1-2.2-7.5-6-7.5H36v26h9.2c3.8 0 6.8-3.4 6.8-7.5c0-2.2-.8-4.1-2.2-5.5c1.4-1.4 2.2-3.3 2.2-5.5m-6.8 14.4h-5.6v-6.8h5.6c1.7 0 3.1 1.5 3.1 3.4c0 1.8-1.4 3.4-3.1 3.4m0-10.9h-5.6v-6.8h5.6c1.7 0 3.1 1.5 3.1 3.4S46.9 30 45.2 30"/></g>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M8 18h3v-3H2v-2h20v2h-9v3h3l-4 4l-4-4m4-16L8 6h3v3H2v2h20V9h-9V6h3l-4-4z" fill="currentColor"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 0 0-11.3 0L403.6 366.3a7.23 7.23 0 0 0 5.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" fill="currentColor"/>',width:1024,height:1024}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M855.048 768h-87l-256 256V768h-343q-57 0-113-57t-56-115V172q0-58 56-115t113-57h686q57 0 113 57t56 115v424q0 58-56 115t-113 57zm-407-384q0-27-18.5-45.5t-45.5-18.5h-64v-64h32q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5h-96q-26 0-45 19t-19 45v256q0 26 19 45t45 19h128q26 0 45-19t19-45V384zm384 0q0-27-19-45.5t-45-18.5h-64v-64h32q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5h-96q-27 0-45.5 19t-18.5 45v256q0 26 18.5 45t45.5 19h128q26 0 45-18.5t19-45.5V384z" fill="currentColor"/>',width:1025,height:1024}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5.5-.5zM6 14h4v1H6v-1z" fill="currentColor"/>',width:20,height:20}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M10 .188A9.812 9.812 0 0 0 .187 10A9.812 9.812 0 0 0 10 19.813c2.29 0 4.393-.811 6.063-2.125l.875.875a1.845 1.845 0 0 0 .343 2.156l4.594 4.625c.713.714 1.88.714 2.594 0l.875-.875a1.84 1.84 0 0 0 0-2.594l-4.625-4.594a1.824 1.824 0 0 0-2.157-.312l-.875-.875A9.812 9.812 0 0 0 10 .188zM10 2a8 8 0 1 1 0 16a8 8 0 0 1 0-16zM4.937 7.469a5.446 5.446 0 0 0-.812 2.875a5.46 5.46 0 0 0 5.469 5.469a5.516 5.516 0 0 0 3.156-1a7.166 7.166 0 0 1-.75.03a7.045 7.045 0 0 1-7.063-7.062c0-.104-.005-.208 0-.312z" fill="currentColor"/>',width:26,height:26}},function(e,t){t.__esModule=!0,t.default={body:'<linearGradient id="ssvg-id-bookmark-tabsa" x1="65.332" x2="65.332" y1="10.969" y2="124.38" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" offset="0"/><stop stop-color="#FDFDFD" offset=".386"/><stop stop-color="#F5F5F5" offset=".588"/><stop stop-color="#E7E7E7" offset=".747"/><stop stop-color="#D5D5D5" offset=".882"/><stop stop-color="#BDBDBD" offset="1"/></linearGradient><path d="M102.24 123.88H28.42c-2.21 0-4-1.79-4-4V14.79c0-2.21 1.79-4 4-4h73.82c2.21 0 4 1.79 4 4v105.09c0 2.21-1.79 4-4 4z" fill="url(#ssvg-id-bookmark-tabsa)"/><path d="M102.24 13.64c.64 0 1.15.52 1.15 1.15v105.09c0 .64-.52 1.15-1.15 1.15H28.42c-.64 0-1.15-.52-1.15-1.15V14.79c0-.64.52-1.15 1.15-1.15h73.82m0-2.85H28.42c-2.21 0-4 1.79-4 4v105.09c0 2.21 1.79 4 4 4h73.82c2.21 0 4-1.79 4-4V14.79c0-2.2-1.79-4-4-4z" fill="#424242" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsb" x1="84.916" x2="119.97" y1="99.397" y2="99.397" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabsb)" d="M84.92 93.26h35.06v12.27H84.92z"/><path fill="#4480F7" d="M103.51 93.26h16.47v12.27h-16.47z"/><path d="M117.78 95.45v7.89H87.11v-7.89h30.67m2.19-2.19H84.92v12.27h35.06V93.26h-.01z" fill="#757575" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsc" x1="84.916" x2="119.97" y1="41.803" y2="41.803" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabsc)" d="M84.92 35.67h35.06v12.27H84.92z"/><path fill="#FBBE00" d="M103.51 35.67h16.47v12.27h-16.47z"/><path d="M117.78 37.86v7.89H87.11v-7.89h30.67m2.19-2.19H84.92v12.27h35.06V35.67h-.01z" fill="#757575" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsd" x1="52.444" x2="52.444" y1="4.17" y2="114.61" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" offset="0"/><stop stop-color="#FDFDFD" offset=".386"/><stop stop-color="#F5F5F5" offset=".588"/><stop stop-color="#E7E7E7" offset=".747"/><stop stop-color="#D5D5D5" offset=".882"/><stop stop-color="#BDBDBD" offset="1"/></linearGradient><path d="M91.35 114.13H13.54c-2.21 0-4-1.79-4-4V8c0-2.21 1.79-4 4-4h77.81c2.21 0 4 1.79 4 4v102.13c0 2.21-1.79 4-4 4z" fill="url(#ssvg-id-bookmark-tabsd)"/><path d="M91.35 6.88c.62 0 1.12.5 1.12 1.12v102.13c0 .62-.5 1.12-1.12 1.12H13.54c-.62 0-1.12-.5-1.12-1.12V8c0-.62.5-1.12 1.12-1.12h77.81m0-2.88H13.54c-2.21 0-4 1.79-4 4v102.13c0 2.21 1.79 4 4 4h77.81c2.21 0 4-1.79 4-4V8c0-2.21-1.79-4-4-4z" fill="#424242" opacity=".2"/><g fill="none" stroke="#757575" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="3.797"><path d="M21.6 30.48h61.69"/><path d="M21.6 44.25h61.69"/><path d="M21.6 58.03h61.69"/><path d="M21.6 71.81h61.69"/><path d="M21.6 85.58h26.38"/></g><linearGradient id="ssvg-id-bookmark-tabse" x1="78.71" x2="113.77" y1="19.988" y2="19.988" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabse)" d="M78.71 13.85h35.06v12.27H78.71z"/><path fill="#EC4431" d="M97.3 13.85h16.47v12.27H97.3z"/><path d="M111.58 16.04v7.89H80.9v-7.89h30.68m2.19-2.19H78.71v12.27h35.06V13.85z" fill="#757575" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsf" x1="78.71" x2="113.77" y1="72.882" y2="72.882" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabsf)" d="M78.71 66.75h35.06v12.27H78.71z"/><path fill="#2CA94F" d="M97.3 66.75h16.47v12.27H97.3z"/><path d="M111.58 68.94v7.89H80.9v-7.89h30.68m2.19-2.19H78.71v12.27h35.06V66.75z" fill="#757575" opacity=".2"/>',width:128,height:128}},function(e,t){t.__esModule=!0,t.default={body:'<path fill="#d0d2d3" d="M39.972 48.14c0 2.097-1.936 3.788-4.334 3.788H8.012c-2.395 0-4.334-1.691-4.334-3.788V14.01c0-2.092 1.938-3.789 4.334-3.789H35.64c2.396 0 4.334 1.696 4.334 3.789v34.13h-.002"/><path fill="#fff" d="M37.742 45.22c0 1.834-1.701 3.322-3.8 3.322H9.712c-2.1 0-3.801-1.488-3.801-3.322V15.284c0-1.833 1.702-3.318 3.801-3.318h24.23c2.099 0 3.8 1.486 3.8 3.318V45.22"/><g fill="#34484c"><path d="M10.702 20.01h21.56c1.446 0 1.446-1.963 0-1.963h-21.56c-1.451 0-1.451 1.963 0 1.963"/><path d="M10.702 23.995h21.56c1.446 0 1.446-1.959 0-1.959h-21.56c-1.451 0-1.451 1.959 0 1.959"/><path d="M10.702 28.07h21.56c1.446 0 1.446-1.961 0-1.961h-21.56c-1.451 0-1.451 1.961 0 1.961"/><path d="M10.702 32.06h21.56c1.446 0 1.446-1.963 0-1.963h-21.56c-1.451-.002-1.451 1.963 0 1.963"/><path d="M10.702 46.46h9.921c1.446 0 1.446-1.963 0-1.963h-9.921c-1.451 0-1.451 1.963 0 1.963"/></g><path fill="#20afc3" d="M21.482 11.966c0 3.078-2.556 5.575-5.702 5.575h-9.1c-3.149 0-5.702-2.497-5.702-5.575c0-3.079 2.552-5.573 5.702-5.573h9.09c3.147 0 5.703 2.494 5.703 5.573"/><path fill="#d0d2d3" d="M51.5 39.1c0 2.093-1.94 3.789-4.332 3.789H19.535c-2.392 0-4.332-1.696-4.332-3.789V4.97c0-2.09 1.94-3.786 4.332-3.786h27.633c2.392 0 4.332 1.696 4.332 3.786V39.1"/><path fill="#fff" d="M49.27 36.19c0 1.834-1.701 3.321-3.8 3.321H21.24c-2.098 0-3.798-1.487-3.798-3.321V6.251c0-1.833 1.7-3.316 3.798-3.316h24.23c2.099 0 3.8 1.485 3.8 3.316V36.19"/><g fill="#34484c"><path d="M22.22 10.972h21.556c1.452 0 1.452-1.961 0-1.961H22.22c-1.447 0-1.447 1.961 0 1.961"/><path d="M22.22 14.959h21.556c1.452 0 1.452-1.963 0-1.963H22.22c-1.447 0-1.447 1.963 0 1.963"/><path d="M22.22 19.03h21.556c1.452 0 1.452-1.963 0-1.963H22.22c-1.447 0-1.447 1.963 0 1.963"/><path d="M22.22 23.02h21.556c1.452 0 1.452-1.961 0-1.961H22.22c-1.447 0-1.447 1.961 0 1.961"/><path d="M22.22 37.424h9.922c1.446 0 1.446-1.963 0-1.963H22.22c-1.447 0-1.447 1.963 0 1.963"/></g><path fill="#20afc3" d="M33.35 33.03c0 3.079-2.555 5.575-5.701 5.575h-9.09c-3.152 0-5.703-2.496-5.703-5.575c0-3.078 2.55-5.572 5.703-5.572h9.09c3.147 0 5.701 2.494 5.701 5.572"/><path fill="#d0d2d3" d="M63.02 59.13c0 2.095-1.939 3.786-4.332 3.786H31.057c-2.395 0-4.336-1.691-4.336-3.786V25c0-2.092 1.941-3.789 4.336-3.789h27.632c2.394 0 4.331 1.695 4.331 3.789v34.13"/><path fill="#fff" d="M60.79 56.22c0 1.835-1.705 3.32-3.803 3.32h-24.23c-2.098 0-3.802-1.485-3.802-3.32V26.285c0-1.835 1.705-3.319 3.802-3.319h24.23c2.098 0 3.803 1.484 3.803 3.319V56.22"/><g fill="#34484c"><path d="M33.746 31.01h21.562c1.447 0 1.447-1.965 0-1.965H33.746c-1.447 0-1.447 1.965 0 1.965"/><path d="M33.746 34.993h21.562c1.447 0 1.447-1.961 0-1.961H33.746c-1.447 0-1.447 1.961 0 1.961"/><path d="M33.746 39.07h21.562c1.447 0 1.447-1.961 0-1.961H33.746c-1.447 0-1.447 1.961 0 1.961"/><path d="M33.746 43.05h21.562c1.447 0 1.447-1.962 0-1.962H33.746c-1.447 0-1.447 1.962 0 1.962"/><path d="M33.746 57.46h9.925c1.446 0 1.446-1.961 0-1.961h-9.925c-1.447 0-1.447 1.961 0 1.961"/></g>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M5.534 12.57a1 1 0 1 1 .733 1.86A3.579 3.579 0 0 0 4 17.76v1.74a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1.647a3.658 3.658 0 0 0-2.356-3.419a1 1 0 1 1 .712-1.868A5.658 5.658 0 0 1 16 17.853V19.5a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-1.74a5.579 5.579 0 0 1 3.534-5.19zM9 2.5a4 4 0 0 1 4 4v2a4 4 0 1 1-8 0v-2a4 4 0 0 1 4-4zm0 2a2 2 0 0 0-2 2v2a2 2 0 1 0 4 0v-2a2 2 0 0 0-2-2zm9 17a1 1 0 0 1 0-2h1a1 1 0 0 0 1-1v-1.838a3.387 3.387 0 0 0-2.316-3.213a1 1 0 1 1 .632-1.898A5.387 5.387 0 0 1 22 16.662V18.5a3 3 0 0 1-3 3h-1zm-3-18a1 1 0 0 1 0-2a4 4 0 0 1 4 4v2a4 4 0 0 1-4 4a1 1 0 0 1 0-2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2z" fill="currentColor"/>',width:24,height:24}},function(e,t,a){function n(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="HayyaBuil",this.description="HayyaBuild allows you to build unlimited headers,",this.version="5.6",this.helper=a(0).H,this._initializer()}var t,o,r;return t=e,(o=[{key:"_initializer",value:function(){var e=window.hayyabuild_type||"",t=a(43),n=a(44),o=a(70),r=a(69),l=a(71),i=a(45),c=a(72),s=a(46),u=a(47),f=a(67),d=a(48),p=a(73),y=a(49),b=a(50),h=a(51),m=a(52),g=a(53),v=a(54),k=a(74),w=a(55),E=a(75),_=a(76),R=a(77),x=a(78),C=a(56),S=a(59),O=a(60),L=a(79),N=a(61),H=a(62),T=a(63),I=a(64),B=a(65),P=a(66),j=a(68),F=a(80),z=[P,a(81),E,_,r,j,F,I,B,k,w,f,C,s,c,u,N,o,H,T,h,m,t,l,i,R,x,L,p,d,y,g];"header"===e?z=z.concat([S,b,n]):"content"===e?z=z.concat([v]):"footer"===e&&(z=z.concat([O])),z.forEach((function(e){var t=e.name,a=e.settings;wp.blocks.registerBlockType(t,a)})),wp.data.subscribe(this.helper.hayyabuildSubscribe)}}])&&n(t.prototype,o),r&&n(t,r),e}());document.addEventListener("DOMContentLoaded",(function(){return o.helper.setHeadStyle()}))},function(e,t,a){var n=a(1),o=a(27);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,'.react-modal-popup{position:relative;padding:0;margin:20px 0;height:40px}.react-modal-popup a.open-modal{position:relative;display:block;width:100%;height:40px;line-height:30px;background-color:#fafafa;border:1px solid #EEE;color:#555;text-decoration:none;padding:5px 10px;outline:none;border-radius:1px}.react-modal-popup a.open-modal:focus{outline:none}.react-modal-popup .react-appended-modal-popup{display:none;visibility:hidden;opacity:0}.react-modal-popup-parent>.react-appended-modal-popup{background-color:rgba(0,0,0,0.5);position:absolute;width:100%;height:100%;min-width:100%;min-height:100%;left:0;top:0;display:none;visibility:hidden;z-index:9989}.react-modal-popup-parent>.react-appended-modal-popup.madal-opend{display:block;visibility:visible}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container{position:absolute;display:flex;flex-direction:column;width:calc(100% - 40px);height:90vh;min-height:400px;top:20px;left:50%;transform:translateX(-50%);transform-origin:center center;background-color:#FFF;border-radius:3px;overflow:hidden;box-shadow:0 0 10px rgba(0,0,0,0.3)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header,.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-body,.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.hb-modal-footer{position:relative;display:block;width:100%;padding:10px;box-sizing:border-box}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header{display:flex;padding:0}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header .modal-title{flex:1;padding:0 10px;font-weight:500;font-size:1rem}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close{position:relative;width:65px;cursor:pointer}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:before,.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:after{content:" ";position:absolute;left:20px;top:26px;height:1px;width:30px;background-color:rgba(0,0,0,0.3);transform:rotateZ(45deg);transform-origin:center;transition:transform 0.5s ease-out}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:after{transform:rotateZ(-45deg)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:hover:before{transform:rotateZ(225deg)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:hover:after{transform:rotateZ(135deg)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-body{overflow-x:scroll;height:auto;padding:0;flex-grow:1;max-height:100%}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.hb-modal-footer{text-align:right;border-top:1px solid #EEE;height:50px}\n',""]),e.exports=t},function(e,t,a){var n=a(1),o=a(29);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,".react-clean-tabs{position:relative;width:100%;margin-bottom:10px;height:100%}.react-clean-tabs ul.tab-links{position:relative;display:block;margin:0;padding:0 10px;z-index:2;height:40px;width:100%}.react-clean-tabs ul.tab-links:after{display:block;clear:both}.react-clean-tabs ul.tab-links li{margin:0px;list-style:none;display:inline-block;overflow:hidden;padding:5px 5px 0 5px;margin:0 -5px}.react-clean-tabs ul.tab-links li a{padding:9px 15px;display:inline-block;border-radius:5px 5px 0px 0px;width:100%;text-align:center;text-decoration:none;opacity:.6;margin-bottom:-1px;transition:opacity linear 0.2s;box-sizing:border-box}.react-clean-tabs ul.tab-links li a:hover{opacity:1}.react-clean-tabs ul.tab-links li:not(.active) a{background-color:transparent !important}.react-clean-tabs ul.tab-links li.active a,.react-clean-tabs ul.tab-links li.active a:focus{outline:none;background:#fff;color:#4c4c4c;opacity:1;box-shadow:0 0 5px rgba(0,0,0,0.2)}.react-clean-tabs .tabs-content{width:100%;padding:0;margin:0;border-radius:5px;box-shadow:0 0 5px rgba(0,0,0,0.2);overflow:hidden;overflow-x:scroll;min-height:200px;max-height:100%}.react-clean-tabs .tabs-content .tab{background:#fff;max-height:100%;display:none;transform-origin:top;padding:10px;transition:all .5s}.react-clean-tabs .tabs-content .active{display:block}.react-clean-tabs.flex-tabs .tab-links{display:flex}.react-clean-tabs.flex-tabs .tab-links li{flex:auto}.react-clean-tabs.flex-tabs .tabs-content .tab{border-radius:0 0 3px 3px}\n",""]),e.exports=t},function(e,t,a){var n=a(1),o=a(31);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,"fieldset.react-fieldset{border:1px solid #CCC;padding:10px;margin:5px;top:0;left:0;margin:10px 0}fieldset.react-fieldset>legend{height:20px;line-height:20px;width:auto;color:#AAA;background-color:#FFF;padding:0 10px}body.rtl fieldset.react-fieldset>legend{left:auto;right:5px}\n",""]),e.exports=t},function(e,t,a){var n=a(1),o=a(33);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,"div.hayyabuild-background .hb_bg_button{margin:10px 0;width:100%;height:100px;background:#f7f7f7;text-align:center;position:relative;background-position:center center;background-size:cover;border-radius:2px;border:1px solid #fff;box-shadow:0px 0px 4px rgba(0,0,0,0.3)}div.hayyabuild-background .hb_bg_button .bg_button{position:absolute;height:100%;width:100%;left:0px;background:transparent;line-height:100px;color:#555;text-decoration:none;opacity:0.5;text-shadow:0px 0px 1px #FFFFFF, 0px 0px 2px #FFFFFF;transition:color 0.5s, opacity 0.5s}div.hayyabuild-background .hb_bg_button:HOVER .bg_button{color:#555;opacity:1}div.hayyabuild-background .hb_bg_button .remove{position:absolute;height:20px;width:20px;line-height:20px;right:10px;top:10px;background:transparent;text-decoration:none;border-radius:20px;font-size:12px;color:#888}div.hayyabuild-background .hb_bg_button .remove:HOVER{background:#888;color:#FFFFFF;-ms-transform:scale(1.2, 1.2);-webkit-transform:scale(1.2, 1.2);transform:scale(1.2, 1.2)}div.hayyabuild-background .background-options{display:flex}div.hayyabuild-background .background-options>*{width:50%;margin:10px 5px}div.hayyabuild-background .bg_image{width:100%}\n",""]),e.exports=t},function(e,t,a){var n=a(1),o=a(35);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,'#editor .react-appended-modal-popup .modal-container{border-radius:5px;box-shadow:0 0 40px rgba(0,0,0,0.4),0 0 20px rgba(0,0,0,0.4);overflow:hidden}#editor .react-appended-modal-popup .modal-container .modal-header{border-bottom:none;padding:0}#editor .react-appended-modal-popup .modal-container .modal-body{overflow:hidden;overflow-y:auto}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-classes{width:calc(100% - 30px);margin:0 auto}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset{width:100%;box-sizing:border-box;border:1px solid rgba(0,0,0,0.1);border-right-width:2px}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox{padding:0 10px;box-sizing:border-box;width:50%;margin:5px 0;display:inline-block}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox input[type="checkbox"]{border:1px solid #CCCCCC}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox input[type="checkbox"]:checked{border:1px solid #00AE39}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox input[type="checkbox"]:checked+label{color:#00AE39}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .components-range-control.with_unit{margin:0;display:inline-block;width:calc( 100% - 80px)}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .unit_container.for_range{display:inline-block;width:80px;height:37px;vertical-align:bottom}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .unit_container.for_range select{width:100%;margin:0}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options{padding:10px;margin-bottom:10px;border-bottom:1px solid #EEEEEE}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options>div,#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options>select{display:inline-block;width:70%;box-sizing:border-box;margin:0;height:50px}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options select{margin-left:10px;width:calc(30% - 10px);height:28px;vertical-align:bottom}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div{display:block;width:50%;padding:5px;box-sizing:border-box;float:left}@media screen and (max-width: 950px){#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div{width:100%;float:none}}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .react-fieldset{display:block}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .editor-panel-color-settings{width:100%}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout input,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .unit{position:absolute;text-align:center;padding:3px 0;height:24px;width:45px;margin:0;font-size:12px;line-height:12px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout span.unit,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .unit{text-align:left;padding-left:5px;line-height:20px;width:50px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .content{margin:55px;position:relative;border:1px solid #DDD}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin{border:1px solid #FFF}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin{margin:0;padding:0}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_top,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_top_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_top{top:5px;left:50%;margin-left:-45px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .unit{top:5px;left:50%}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_right,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_right_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_right{top:50%;right:5px;margin-top:-12px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_bottom,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_bottom_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_bottom{bottom:5px;left:50%;margin-left:-17px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_left,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_left_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_left{top:50%;left:5px;margin-top:-12px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout label{display:inline-block;position:absolute;font-size:11px;line-height:9px;top:6px;left:5px;color:#2C2C2C;margin:0;padding:0}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .content{border:none;height:30px;padding:0px;text-align:center;font-size:10px;line-height:11px;-webkit-box-sizing:border-box;box-sizing:border-box}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .content .help-tip{left:40%}\n',""]),e.exports=t},function(e,t,a){"use strict"; 7 /** @license React v16.12.0 8 * react-dom-server.browser.production.min.js 9 * 10 * Copyright (c) Facebook, Inc. and its affiliates. 11 * 12 * This source code is licensed under the MIT license found in the 13 * LICENSE file in the root directory of this source tree. 14 */var n=a(9),o=a(10);function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=1;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l="function"==typeof Symbol&&Symbol.for,i=l?Symbol.for("react.portal"):60106,c=l?Symbol.for("react.fragment"):60107,s=l?Symbol.for("react.strict_mode"):60108,u=l?Symbol.for("react.profiler"):60114,f=l?Symbol.for("react.provider"):60109,d=l?Symbol.for("react.context"):60110,p=l?Symbol.for("react.concurrent_mode"):60111,y=l?Symbol.for("react.forward_ref"):60112,b=l?Symbol.for("react.suspense"):60113,h=l?Symbol.for("react.suspense_list"):60120,m=l?Symbol.for("react.memo"):60115,g=l?Symbol.for("react.lazy"):60116,v=l?Symbol.for("react.fundamental"):60117,k=l?Symbol.for("react.scope"):60119,w=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case c:return"Fragment";case i:return"Portal";case u:return"Profiler";case s:return"StrictMode";case b:return"Suspense";case h:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case d:return"Context.Consumer";case f:return"Context.Provider";case y:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case m:return E(e.type);case g:if(e=1===e._status?e._result:null)return E(e)}return null}w.hasOwnProperty("ReactCurrentDispatcher")||(w.ReactCurrentDispatcher={current:null}),w.hasOwnProperty("ReactCurrentBatchConfig")||(w.ReactCurrentBatchConfig={suspense:null});var _={};function R(e,t){for(var a=0|e._threadCount;a<=t;a++)e[a]=e._currentValue2,e._threadCount=a+1}for(var x=new Uint16Array(16),C=0;15>C;C++)x[C]=C+1;x[15]=0;var S=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,O=Object.prototype.hasOwnProperty,L={},N={};function H(e){return!!O.call(N,e)||!O.call(L,e)&&(S.test(e)?N[e]=!0:(L[e]=!0,!1))}function T(e,t,a,n,o,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=r}var I={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){I[e]=new T(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];I[t]=new T(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){I[e]=new T(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){I[e]=new T(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){I[e]=new T(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){I[e]=new T(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){I[e]=new T(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){I[e]=new T(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){I[e]=new T(e,5,!1,e.toLowerCase(),null,!1)}));var B=/[\-:]([a-z])/g;function P(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(B,P);I[t]=new T(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(B,P);I[t]=new T(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(B,P);I[t]=new T(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){I[e]=new T(e,1,!1,e.toLowerCase(),null,!1)})),I.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){I[e]=new T(e,1,!1,e.toLowerCase(),null,!0)}));var j=/["'&<>]/;function F(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=j.exec(e);if(t){var a,n="",o=0;for(a=t.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==a&&(n+=e.substring(o,a)),o=a+1,n+=t}e=o!==a?n+e.substring(o,a):n}return e}function z(e,t){var a,n=I.hasOwnProperty(e)?I[e]:null;return(a="style"!==e)&&(a=null!==n?0===n.type:2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])),a||function(e,t,a,n){if(null==t||function(e,t,a,n){if(null!==a&&0===a.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==a?!a.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,a,n))return!0;if(n)return!1;if(null!==a)switch(a.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(e,t,n,!1)?"":null!==n?(e=n.attributeName,3===(a=n.type)||4===a&&!0===t?e+'=""':(n.sanitizeURL&&(t=""+t),e+'="'+F(t)+'"')):H(e)?e+'="'+F(t)+'"':""}var M="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},A=null,D=null,q=null,V=!1,U=!1,W=null,K=0;function G(){if(null===A)throw Error(r(321));return A}function $(){if(0<K)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function Q(){return null===q?null===D?(V=!1,D=q=$()):(V=!0,q=D):null===q.next?(V=!1,q=q.next=$()):(V=!0,q=q.next),q}function Z(e,t,a,n){for(;U;)U=!1,K+=1,q=null,a=e(t,n);return D=A=null,K=0,q=W=null,a}function Y(e,t){return"function"==typeof t?t(e):t}function J(e,t,a){if(A=G(),q=Q(),V){var n=q.queue;if(t=n.dispatch,null!==W&&void 0!==(a=W.get(n))){W.delete(n),n=q.memoizedState;do{n=e(n,a.action),a=a.next}while(null!==a);return q.memoizedState=n,[n,t]}return[q.memoizedState,t]}return e=e===Y?"function"==typeof t?t():t:void 0!==a?a(t):t,q.memoizedState=e,e=(e=q.queue={last:null,dispatch:null}).dispatch=X.bind(null,A,e),[q.memoizedState,e]}function X(e,t,a){if(!(25>K))throw Error(r(301));if(e===A)if(U=!0,e={action:a,next:null},null===W&&(W=new Map),void 0===(a=W.get(t)))W.set(t,e);else{for(t=a;null!==t.next;)t=t.next;t.next=e}}function ee(){}var te=0,ae={readContext:function(e){var t=te;return R(e,t),e[t]},useContext:function(e){G();var t=te;return R(e,t),e[t]},useMemo:function(e,t){if(A=G(),t=void 0===t?null:t,null!==(q=Q())){var a=q.memoizedState;if(null!==a&&null!==t){e:{var n=a[1];if(null===n)n=!1;else{for(var o=0;o<n.length&&o<t.length;o++)if(!M(t[o],n[o])){n=!1;break e}n=!0}}if(n)return a[0]}}return e=e(),q.memoizedState=[e,t],e},useReducer:J,useRef:function(e){A=G();var t=(q=Q()).memoizedState;return null===t?(e={current:e},q.memoizedState=e):t},useState:function(e){return J(Y,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:ee,useEffect:ee,useDebugValue:ee,useResponder:function(e,t){return{props:t,responder:e}},useDeferredValue:function(e){return G(),e},useTransition:function(){return G(),[function(e){e()},!1]}},ne="http://www.w3.org/1999/xhtml";function oe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var re={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},le=n({menuitem:!0},re),ie={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ce=["Webkit","ms","Moz","O"];Object.keys(ie).forEach((function(e){ce.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ie[t]=ie[e]}))}));var se=/([A-Z])/g,ue=/^ms-/,fe=o.Children.toArray,de=w.ReactCurrentDispatcher,pe={listing:!0,pre:!0,textarea:!0},ye=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,be={},he={};var me=Object.prototype.hasOwnProperty,ge={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function ve(e,t){if(void 0===e)throw Error(r(152,E(t)||"Component"))}function ke(e,t,a){function l(o,l){var i=l.prototype&&l.prototype.isReactComponent,c=function(e,t,a,n){if(n&&("object"==typeof(n=e.contextType)&&null!==n))return R(n,a),n[a];if(e=e.contextTypes){for(var o in a={},e)a[o]=t[o];t=a}else t=_;return t}(l,t,a,i),s=[],u=!1,f={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===s)return null},enqueueReplaceState:function(e,t){u=!0,s=[t]},enqueueSetState:function(e,t){if(null===s)return null;s.push(t)}};if(i){if(i=new l(o.props,c,f),"function"==typeof l.getDerivedStateFromProps){var d=l.getDerivedStateFromProps.call(null,o.props,i.state);null!=d&&(i.state=n({},i.state,d))}}else if(A={},i=l(o.props,c,f),null==(i=Z(l,o.props,i,c))||null==i.render)return void ve(e=i,l);if(i.props=o.props,i.context=c,i.updater=f,void 0===(f=i.state)&&(i.state=f=null),"function"==typeof i.UNSAFE_componentWillMount||"function"==typeof i.componentWillMount)if("function"==typeof i.componentWillMount&&"function"!=typeof l.getDerivedStateFromProps&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&"function"!=typeof l.getDerivedStateFromProps&&i.UNSAFE_componentWillMount(),s.length){f=s;var p=u;if(s=null,u=!1,p&&1===f.length)i.state=f[0];else{d=p?f[0]:i.state;var y=!0;for(p=p?1:0;p<f.length;p++){var b=f[p];null!=(b="function"==typeof b?b.call(i,d,o.props,c):b)&&(y?(y=!1,d=n({},d,b)):n(d,b))}i.state=d}}else s=null;if(ve(e=i.render(),l),"function"==typeof i.getChildContext&&"object"==typeof(o=l.childContextTypes)){var h=i.getChildContext();for(var m in h)if(!(m in o))throw Error(r(108,E(l)||"Unknown",m))}h&&(t=n({},t,h))}for(;o.isValidElement(e);){var i=e,c=i.type;if("function"!=typeof c)break;l(i,c)}return{child:e,context:t}}var we=function(){function e(e,t){o.isValidElement(e)?e.type!==c?e=[e]:(e=e.props.children,e=o.isValidElement(e)?[e]:fe(e)):e=fe(e),e={type:null,domNamespace:ne,children:e,childIndex:0,context:_,footer:""};var a=x[0];if(0===a){var n=x,l=2*(a=n.length);if(!(65536>=l))throw Error(r(304));var i=new Uint16Array(l);for(i.set(n),(x=i)[0]=a+1,n=a;n<l-1;n++)x[n]=n+1;x[l-1]=0}else x[0]=x[a];this.threadID=a,this.stack=[e],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=t,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var t=e.prototype;return t.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;x[e]=x[0],x[0]=e}},t.pushProvider=function(e){var t=++this.contextIndex,a=e.type._context,n=this.threadID;R(a,n);var o=a[n];this.contextStack[t]=a,this.contextValueStack[t]=o,a[n]=e.props.value},t.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],a=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=a},t.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},t.read=function(e){if(this.exhausted)return null;var t=te;te=this.threadID;var a=de.current;de.current=ae;try{for(var n=[""],o=!1;n[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var l=this.threadID;x[l]=x[0],x[0]=l;break}var i=this.stack[this.stack.length-1];if(o||i.childIndex>=i.children.length){var c=i.footer;if(""!==c&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===i.type)this.currentSelectValue=null;else if(null!=i.type&&null!=i.type.type&&i.type.type.$$typeof===f)this.popProvider(i.type);else if(i.type===b){this.suspenseDepth--;var s=n.pop();if(o){o=!1;var u=i.fallbackFrame;if(!u)throw Error(r(303));this.stack.push(u),n[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}n[this.suspenseDepth]+=s}n[this.suspenseDepth]+=c}else{var d=i.children[i.childIndex++],p="";try{p+=this.render(d,i.context,i.domNamespace)}catch(e){if(null!=e&&"function"==typeof e.then)throw Error(r(294));throw e}n.length<=this.suspenseDepth&&n.push(""),n[this.suspenseDepth]+=p}}return n[0]}finally{de.current=a,te=t}},t.render=function(e,t,a){if("string"==typeof e||"number"==typeof e)return""===(a=""+e)?"":this.makeStaticMarkup?F(a):this.previousWasTextNode?"\x3c!-- --\x3e"+F(a):(this.previousWasTextNode=!0,F(a));if(e=(t=ke(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!o.isValidElement(e)){if(null!=e&&null!=e.$$typeof){if((a=e.$$typeof)===i)throw Error(r(257));throw Error(r(258,a.toString()))}return e=fe(e),this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),""}var l=e.type;if("string"==typeof l)return this.renderDOM(e,t,a);switch(l){case s:case p:case u:case h:case c:return e=fe(e.props.children),this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),"";case b:throw Error(r(294))}if("object"==typeof l&&null!==l)switch(l.$$typeof){case y:A={};var w=l.render(e.props,e.ref);return w=Z(l.render,e.props,w,e.ref),w=fe(w),this.stack.push({type:null,domNamespace:a,children:w,childIndex:0,context:t,footer:""}),"";case m:return e=[o.createElement(l.type,n({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),"";case f:return a={type:e,domNamespace:a,children:l=fe(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(a),"";case d:l=e.type,w=e.props;var E=this.threadID;return R(l,E),l=fe(w.children(l[E])),this.stack.push({type:e,domNamespace:a,children:l,childIndex:0,context:t,footer:""}),"";case v:throw Error(r(338));case g:switch(function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(l=e.type),l._status){case 1:return e=[o.createElement(l._result,n({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),"";case 2:throw l._result;default:throw Error(r(295))}case k:throw Error(r(343))}throw Error(r(130,null==l?l:typeof l,""))},t.renderDOM=function(e,t,a){var l=e.type.toLowerCase();if(a===ne&&oe(l),!be.hasOwnProperty(l)){if(!ye.test(l))throw Error(r(65,l));be[l]=!0}var i=e.props;if("input"===l)i=n({type:void 0},i,{defaultChecked:void 0,defaultValue:void 0,value:null!=i.value?i.value:i.defaultValue,checked:null!=i.checked?i.checked:i.defaultChecked});else if("textarea"===l){var c=i.value;if(null==c){c=i.defaultValue;var s=i.children;if(null!=s){if(null!=c)throw Error(r(92));if(Array.isArray(s)){if(!(1>=s.length))throw Error(r(93));s=s[0]}c=""+s}null==c&&(c="")}i=n({},i,{value:void 0,children:""+c})}else if("select"===l)this.currentSelectValue=null!=i.value?i.value:i.defaultValue,i=n({},i,{value:void 0});else if("option"===l){s=this.currentSelectValue;var u=function(e){if(null==e)return e;var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(i.children);if(null!=s){var f=null!=i.value?i.value+"":u;if(c=!1,Array.isArray(s)){for(var d=0;d<s.length;d++)if(""+s[d]===f){c=!0;break}}else c=""+s===f;i=n({selected:void 0,children:void 0},i,{selected:c,children:u})}}if(c=i){if(le[l]&&(null!=c.children||null!=c.dangerouslySetInnerHTML))throw Error(r(137,l,""));if(null!=c.dangerouslySetInnerHTML){if(null!=c.children)throw Error(r(60));if(!("object"==typeof c.dangerouslySetInnerHTML&&"__html"in c.dangerouslySetInnerHTML))throw Error(r(61))}if(null!=c.style&&"object"!=typeof c.style)throw Error(r(62,""))}for(k in c=i,s=this.makeStaticMarkup,u=1===this.stack.length,f="<"+e.type,c)if(me.call(c,k)){var p=c[k];if(null!=p){if("style"===k){d=void 0;var y="",b="";for(d in p)if(p.hasOwnProperty(d)){var h=0===d.indexOf("--"),m=p[d];if(null!=m){if(h)var g=d;else if(g=d,he.hasOwnProperty(g))g=he[g];else{var v=g.replace(se,"-$1").toLowerCase().replace(ue,"-ms-");g=he[g]=v}y+=b+g+":",b=d,y+=h=null==m||"boolean"==typeof m||""===m?"":h||"number"!=typeof m||0===m||ie.hasOwnProperty(b)&&ie[b]?(""+m).trim():m+"px",b=";"}}p=y||null}d=null;e:if(h=l,m=c,-1===h.indexOf("-"))h="string"==typeof m.is;else switch(h){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":h=!1;break e;default:h=!0}h?ge.hasOwnProperty(k)||(d=H(d=k)&&null!=p?d+'="'+F(p)+'"':""):d=z(k,p),d&&(f+=" "+d)}}s||u&&(f+=' data-reactroot=""');var k=f;c="",re.hasOwnProperty(l)?k+="/>":(k+=">",c="</"+e.type+">");e:{if(null!=(s=i.dangerouslySetInnerHTML)){if(null!=s.__html){s=s.__html;break e}}else if("string"==typeof(s=i.children)||"number"==typeof s){s=F(s);break e}s=null}return null!=s?(i=[],pe[l]&&"\n"===s.charAt(0)&&(k+="\n"),k+=s):i=fe(i.children),e=e.type,a=null==a||"http://www.w3.org/1999/xhtml"===a?oe(e):"http://www.w3.org/2000/svg"===a&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":a,this.stack.push({domNamespace:a,type:l,children:i,childIndex:0,context:t,footer:c}),this.previousWasTextNode=!1,k},e}(),Ee={renderToString:function(e){e=new we(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new we(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){throw Error(r(207))},renderToStaticNodeStream:function(){throw Error(r(208))},version:"16.12.0"},_e={default:Ee},Re=_e&&Ee||_e;e.exports=Re.default||Re},function(e,t,a){"use strict"; 7 15 /** @license React v16.12.0 8 16 * react.production.min.js … … 12 20 * This source code is licensed under the MIT license found in the 13 21 * LICENSE file in the root directory of this source tree. 14 */var n=a(10),o="function"==typeof Symbol&&Symbol.for,l=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,r=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113;o&&Symbol.for("react.suspense_list");var y=o?Symbol.for("react.memo"):60115,b=o?Symbol.for("react.lazy"):60116;o&&Symbol.for("react.fundamental"),o&&Symbol.for("react.responder"),o&&Symbol.for("react.scope");var h="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=1;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function k(e,t,a){this.props=e,this.context=t,this.refs=v,this.updater=a||g}function E(){}function w(e,t,a){this.props=e,this.context=t,this.refs=v,this.updater=a||g}k.prototype.isReactComponent={},k.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},k.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=k.prototype;var _=w.prototype=new E;_.constructor=w,n(_,k.prototype),_.isPureReactComponent=!0;var x={current:null},R={current:null},C=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,a){var n,o={},i=null,r=null;if(null!=t)for(n in void 0!==t.ref&&(r=t.ref),void 0!==t.key&&(i=""+t.key),t)C.call(t,n)&&!S.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(1===c)o.children=a;else if(1<c){for(var s=Array(c),u=0;u<c;u++)s[u]=arguments[u+2];o.children=s}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===o[n]&&(o[n]=c[n]);return{$$typeof:l,type:e,key:i,ref:r,props:o,_owner:R.current}}function L(e){return"object"==typeof e&&null!==e&&e.$$typeof===l}var N=/\/+/g,H=[];function I(e,t,a,n){if(H.length){var o=H.pop();return o.result=e,o.keyPrefix=t,o.func=a,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:a,context:n,count:0}}function z(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>H.length&&H.push(e)}function T(e,t,a){return null==e?0:function e(t,a,n,o){var r=typeof t;"undefined"!==r&&"boolean"!==r||(t=null);var c=!1;if(null===t)c=!0;else switch(r){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case l:case i:c=!0}}if(c)return n(o,t,""===a?"."+B(t,0):a),1;if(c=0,a=""===a?".":a+":",Array.isArray(t))for(var s=0;s<t.length;s++){var u=a+B(r=t[s],s);c+=e(r,u,n,o)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=h&&t[h]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),s=0;!(r=t.next()).done;)c+=e(r=r.value,u=a+B(r,s++),n,o);else if("object"===r)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return c}(e,"",t,a)}function B(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function M(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,a){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?j(e,n,a,(function(e){return e})):null!=e&&(L(e)&&(e=function(e,t){return{$$typeof:l,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(N,"$&/")+"/")+a)),n.push(e))}function j(e,t,a,n,o){var l="";null!=a&&(l=(""+a).replace(N,"$&/")+"/"),T(e,F,t=I(t,l,n,o)),z(t)}function P(){var e=x.current;if(null===e)throw Error(m(321));return e}var A={Children:{map:function(e,t,a){if(null==e)return e;var n=[];return j(e,n,null,t,a),n},forEach:function(e,t,a){if(null==e)return e;T(e,M,t=I(null,null,t,a)),z(t)},count:function(e){return T(e,(function(){return null}),null)},toArray:function(e){var t=[];return j(e,t,null,(function(e){return e})),t},only:function(e){if(!L(e))throw Error(m(143));return e}},createRef:function(){return{current:null}},Component:k,PureComponent:w,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:d,render:e}},lazy:function(e){return{$$typeof:b,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return P().useCallback(e,t)},useContext:function(e,t){return P().useContext(e,t)},useEffect:function(e,t){return P().useEffect(e,t)},useImperativeHandle:function(e,t,a){return P().useImperativeHandle(e,t,a)},useDebugValue:function(){},useLayoutEffect:function(e,t){return P().useLayoutEffect(e,t)},useMemo:function(e,t){return P().useMemo(e,t)},useReducer:function(e,t,a){return P().useReducer(e,t,a)},useRef:function(e){return P().useRef(e)},useState:function(e){return P().useState(e)},Fragment:r,Profiler:s,StrictMode:c,Suspense:p,createElement:O,cloneElement:function(e,t,a){if(null==e)throw Error(m(267,e));var o=n({},e.props),i=e.key,r=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(r=t.ref,c=R.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)C.call(t,u)&&!S.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=a;else if(1<u){s=Array(u);for(var f=0;f<u;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:l,type:e.type,key:i,ref:r,props:o,_owner:c}},createFactory:function(e){var t=O.bind(null,e);return t.type=e,t},isValidElement:L,version:"16.12.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:x,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:R,IsSomeRendererActing:{current:!1},assign:n}},D={default:A},V=D&&A||D;e.exports=V.default||V},function(e,t,a){var n=a(2),o=a(46);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,'.react-modal-popup{position:relative;padding:0;margin:20px 0;height:40px}.react-modal-popup a.open-modal{position:relative;display:block;width:100%;height:40px;line-height:30px;background-color:#fafafa;border:1px solid #EEE;color:#555;text-decoration:none;padding:5px 10px;outline:none;border-radius:1px}.react-modal-popup a.open-modal:focus{outline:none}.react-modal-popup .react-appended-modal-popup{display:none;visibility:hidden;opacity:0}.react-modal-popup-parent>.react-appended-modal-popup{background-color:rgba(0,0,0,0.5);position:absolute;width:100%;height:100%;min-width:100%;min-height:100%;left:0;top:0;display:none;visibility:hidden;z-index:9989}.react-modal-popup-parent>.react-appended-modal-popup.madal-opend{display:block;visibility:visible}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container{position:absolute;display:flex;flex-direction:column;width:calc(100% - 40px);height:90vh;min-height:400px;top:20px;left:50%;transform:translateX(-50%);transform-origin:center center;background-color:#FFF;border-radius:3px;overflow:hidden;box-shadow:0 0 10px rgba(0,0,0,0.3)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header,.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-body,.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.hb-modal-footer{position:relative;display:block;width:100%;padding:10px;box-sizing:border-box}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header{display:flex;padding:0}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header .modal-title{flex:1;padding:0 10px;font-weight:500;font-size:1rem}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close{position:relative;width:65px;cursor:pointer}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:before,.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:after{content:" ";position:absolute;left:20px;top:26px;height:1px;width:30px;background-color:rgba(0,0,0,0.3);transform:rotateZ(45deg);transform-origin:center;transition:transform 0.5s ease-out}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:after{transform:rotateZ(-45deg)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:hover:before{transform:rotateZ(225deg)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:hover:after{transform:rotateZ(135deg)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-body{overflow-x:scroll;height:auto;padding:0;flex-grow:1;max-height:100%}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.hb-modal-footer{text-align:right;border-top:1px solid #EEE;height:50px}\n',""]),e.exports=t},function(e,t,a){var n=a(2),o=a(48);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,".react-clean-tabs{position:relative;width:100%;margin-bottom:10px;height:100%}.react-clean-tabs ul.tab-links{position:relative;display:block;margin:0;padding:0 10px;z-index:2;height:40px;width:100%}.react-clean-tabs ul.tab-links:after{display:block;clear:both}.react-clean-tabs ul.tab-links li{margin:0px;list-style:none;display:inline-block;overflow:hidden;padding:5px 5px 0 5px;margin:0 -5px}.react-clean-tabs ul.tab-links li a{padding:9px 15px;display:inline-block;border-radius:5px 5px 0px 0px;width:100%;text-align:center;text-decoration:none;opacity:.6;margin-bottom:-1px;transition:opacity linear 0.2s;box-sizing:border-box}.react-clean-tabs ul.tab-links li a:hover{opacity:1}.react-clean-tabs ul.tab-links li:not(.active) a{background-color:transparent !important}.react-clean-tabs ul.tab-links li.active a,.react-clean-tabs ul.tab-links li.active a:focus{outline:none;background:#fff;color:#4c4c4c;opacity:1;box-shadow:0 0 5px rgba(0,0,0,0.2)}.react-clean-tabs .tabs-content{width:100%;padding:0;margin:0;border-radius:5px;box-shadow:0 0 5px rgba(0,0,0,0.2);overflow:hidden;overflow-x:scroll;min-height:200px;max-height:100%}.react-clean-tabs .tabs-content .tab{background:#fff;max-height:100%;display:none;transform-origin:top;padding:10px;transition:all .5s}.react-clean-tabs .tabs-content .active{display:block}.react-clean-tabs.flex-tabs .tab-links{display:flex}.react-clean-tabs.flex-tabs .tab-links li{flex:auto}.react-clean-tabs.flex-tabs .tabs-content .tab{border-radius:0 0 3px 3px}\n",""]),e.exports=t},function(e,t,a){var n=a(2),o=a(50);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,"fieldset.react-fieldset{border:1px solid #CCC;padding:10px;margin:5px;top:0;left:0;margin:10px 0}fieldset.react-fieldset>legend{height:20px;line-height:20px;width:auto;color:#AAA;background-color:#FFF;padding:0 10px}body.rtl fieldset.react-fieldset>legend{left:auto;right:5px}\n",""]),e.exports=t},function(e,t,a){var n=a(2),o=a(52);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,"div.hayyabuild-background .hb_bg_button{margin:10px 0;width:100%;height:100px;background:#f7f7f7;text-align:center;position:relative;background-position:center center;background-size:cover;border-radius:2px;border:1px solid #fff;box-shadow:0px 0px 4px rgba(0,0,0,0.3)}div.hayyabuild-background .hb_bg_button .bg_button{position:absolute;height:100%;width:100%;left:0px;background:transparent;line-height:100px;color:#555;text-decoration:none;opacity:0.5;text-shadow:0px 0px 1px #FFFFFF, 0px 0px 2px #FFFFFF;transition:color 0.5s, opacity 0.5s}div.hayyabuild-background .hb_bg_button:HOVER .bg_button{color:#555;opacity:1}div.hayyabuild-background .hb_bg_button .remove{position:absolute;height:20px;width:20px;line-height:20px;right:10px;top:10px;background:transparent;text-decoration:none;border-radius:20px;font-size:12px;color:#888}div.hayyabuild-background .hb_bg_button .remove:HOVER{background:#888;color:#FFFFFF;-ms-transform:scale(1.2, 1.2);-webkit-transform:scale(1.2, 1.2);transform:scale(1.2, 1.2)}div.hayyabuild-background .background-options{display:flex}div.hayyabuild-background .background-options>*{width:50%;margin:10px 5px}div.hayyabuild-background .bg_image{width:100%}\n",""]),e.exports=t},function(e,t,a){var n=a(2),o=a(54);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,'#editor .react-appended-modal-popup .modal-container{border-radius:5px;box-shadow:0 0 40px rgba(0,0,0,0.4),0 0 20px rgba(0,0,0,0.4);overflow:hidden}#editor .react-appended-modal-popup .modal-container .modal-header{border-bottom:none;padding:0}#editor .react-appended-modal-popup .modal-container .modal-body{overflow:hidden;overflow-y:auto}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-classes{width:calc(100% - 30px);margin:0 auto}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset{width:100%;box-sizing:border-box;border:1px solid rgba(0,0,0,0.1);border-right-width:2px}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox{padding:0 10px;box-sizing:border-box;width:50%;margin:5px 0;display:inline-block}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox input[type="checkbox"]{border:1px solid #CCCCCC}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox input[type="checkbox"]:checked{border:1px solid #00AE39}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox input[type="checkbox"]:checked+label{color:#00AE39}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .components-range-control.with_unit{margin:0;display:inline-block;width:calc( 100% - 80px)}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .unit_container.for_range{display:inline-block;width:80px;height:37px;vertical-align:bottom}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .unit_container.for_range select{width:100%;margin:0}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options{padding:10px;margin-bottom:10px;border-bottom:1px solid #EEEEEE}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options>div,#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options>select{display:inline-block;width:70%;box-sizing:border-box;margin:0;height:50px}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options select{margin-left:10px;width:calc(30% - 10px);height:28px;vertical-align:bottom}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div{display:block;width:50%;padding:5px;box-sizing:border-box;float:left}@media screen and (max-width: 950px){#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div{width:100%;float:none}}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .react-fieldset{display:block}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .editor-panel-color-settings{width:100%}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout input,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .unit{position:absolute;text-align:center;padding:3px 0;height:24px;width:45px;margin:0;font-size:12px;line-height:12px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout span.unit,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .unit{text-align:left;padding-left:5px;line-height:20px;width:50px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .content{margin:55px;position:relative;border:1px solid #DDD}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin{border:1px solid #FFF}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin{margin:0;padding:0}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_top,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_top_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_top{top:5px;left:50%;margin-left:-45px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .unit{top:5px;left:50%}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_right,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_right_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_right{top:50%;right:5px;margin-top:-12px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_bottom,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_bottom_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_bottom{bottom:5px;left:50%;margin-left:-17px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_left,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_left_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_left{top:50%;left:5px;margin-top:-12px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout label{display:inline-block;position:absolute;font-size:11px;line-height:9px;top:6px;left:5px;color:#2C2C2C;margin:0;padding:0}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .content{border:none;height:30px;padding:0px;text-align:center;font-size:10px;line-height:11px;-webkit-box-sizing:border-box;box-sizing:border-box}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .content .help-tip{left:40%}\n',""]),e.exports=t},function(e,t,a){"use strict"; 15 /** @license React v16.12.0 16 * react-dom-server.browser.production.min.js 17 * 18 * Copyright (c) Facebook, Inc. and its affiliates. 19 * 20 * This source code is licensed under the MIT license found in the 21 * LICENSE file in the root directory of this source tree. 22 */var n=a(10),o=a(1);function l(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=1;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i="function"==typeof Symbol&&Symbol.for,r=i?Symbol.for("react.portal"):60106,c=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,f=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,p=i?Symbol.for("react.concurrent_mode"):60111,y=i?Symbol.for("react.forward_ref"):60112,b=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.suspense_list"):60120,m=i?Symbol.for("react.memo"):60115,g=i?Symbol.for("react.lazy"):60116,v=i?Symbol.for("react.fundamental"):60117,k=i?Symbol.for("react.scope"):60119,E=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case c:return"Fragment";case r:return"Portal";case u:return"Profiler";case s:return"StrictMode";case b:return"Suspense";case h:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case d:return"Context.Consumer";case f:return"Context.Provider";case y:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case m:return w(e.type);case g:if(e=1===e._status?e._result:null)return w(e)}return null}E.hasOwnProperty("ReactCurrentDispatcher")||(E.ReactCurrentDispatcher={current:null}),E.hasOwnProperty("ReactCurrentBatchConfig")||(E.ReactCurrentBatchConfig={suspense:null});var _={};function x(e,t){for(var a=0|e._threadCount;a<=t;a++)e[a]=e._currentValue2,e._threadCount=a+1}for(var R=new Uint16Array(16),C=0;15>C;C++)R[C]=C+1;R[15]=0;var S=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,O=Object.prototype.hasOwnProperty,L={},N={};function H(e){return!!O.call(N,e)||!O.call(L,e)&&(S.test(e)?N[e]=!0:(L[e]=!0,!1))}function I(e,t,a,n,o,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=l}var z={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){z[e]=new I(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];z[t]=new I(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){z[e]=new I(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){z[e]=new I(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){z[e]=new I(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){z[e]=new I(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){z[e]=new I(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){z[e]=new I(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){z[e]=new I(e,5,!1,e.toLowerCase(),null,!1)}));var T=/[\-:]([a-z])/g;function B(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(T,B);z[t]=new I(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(T,B);z[t]=new I(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(T,B);z[t]=new I(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){z[e]=new I(e,1,!1,e.toLowerCase(),null,!1)})),z.xlinkHref=new I("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){z[e]=new I(e,1,!1,e.toLowerCase(),null,!0)}));var M=/["'&<>]/;function F(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=M.exec(e);if(t){var a,n="",o=0;for(a=t.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==a&&(n+=e.substring(o,a)),o=a+1,n+=t}e=o!==a?n+e.substring(o,a):n}return e}function j(e,t){var a,n=z.hasOwnProperty(e)?z[e]:null;return(a="style"!==e)&&(a=null!==n?0===n.type:2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])),a||function(e,t,a,n){if(null==t||function(e,t,a,n){if(null!==a&&0===a.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==a?!a.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,a,n))return!0;if(n)return!1;if(null!==a)switch(a.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(e,t,n,!1)?"":null!==n?(e=n.attributeName,3===(a=n.type)||4===a&&!0===t?e+'=""':(n.sanitizeURL&&(t=""+t),e+'="'+F(t)+'"')):H(e)?e+'="'+F(t)+'"':""}var P="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},A=null,D=null,V=null,q=!1,U=!1,W=null,K=0;function G(){if(null===A)throw Error(l(321));return A}function $(){if(0<K)throw Error(l(312));return{memoizedState:null,queue:null,next:null}}function Q(){return null===V?null===D?(q=!1,D=V=$()):(q=!0,V=D):null===V.next?(q=!1,V=V.next=$()):(q=!0,V=V.next),V}function Z(e,t,a,n){for(;U;)U=!1,K+=1,V=null,a=e(t,n);return D=A=null,K=0,V=W=null,a}function Y(e,t){return"function"==typeof t?t(e):t}function J(e,t,a){if(A=G(),V=Q(),q){var n=V.queue;if(t=n.dispatch,null!==W&&void 0!==(a=W.get(n))){W.delete(n),n=V.memoizedState;do{n=e(n,a.action),a=a.next}while(null!==a);return V.memoizedState=n,[n,t]}return[V.memoizedState,t]}return e=e===Y?"function"==typeof t?t():t:void 0!==a?a(t):t,V.memoizedState=e,e=(e=V.queue={last:null,dispatch:null}).dispatch=X.bind(null,A,e),[V.memoizedState,e]}function X(e,t,a){if(!(25>K))throw Error(l(301));if(e===A)if(U=!0,e={action:a,next:null},null===W&&(W=new Map),void 0===(a=W.get(t)))W.set(t,e);else{for(t=a;null!==t.next;)t=t.next;t.next=e}}function ee(){}var te=0,ae={readContext:function(e){var t=te;return x(e,t),e[t]},useContext:function(e){G();var t=te;return x(e,t),e[t]},useMemo:function(e,t){if(A=G(),t=void 0===t?null:t,null!==(V=Q())){var a=V.memoizedState;if(null!==a&&null!==t){e:{var n=a[1];if(null===n)n=!1;else{for(var o=0;o<n.length&&o<t.length;o++)if(!P(t[o],n[o])){n=!1;break e}n=!0}}if(n)return a[0]}}return e=e(),V.memoizedState=[e,t],e},useReducer:J,useRef:function(e){A=G();var t=(V=Q()).memoizedState;return null===t?(e={current:e},V.memoizedState=e):t},useState:function(e){return J(Y,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:ee,useEffect:ee,useDebugValue:ee,useResponder:function(e,t){return{props:t,responder:e}},useDeferredValue:function(e){return G(),e},useTransition:function(){return G(),[function(e){e()},!1]}},ne="http://www.w3.org/1999/xhtml";function oe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var le={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},ie=n({menuitem:!0},le),re={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ce=["Webkit","ms","Moz","O"];Object.keys(re).forEach((function(e){ce.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),re[t]=re[e]}))}));var se=/([A-Z])/g,ue=/^ms-/,fe=o.Children.toArray,de=E.ReactCurrentDispatcher,pe={listing:!0,pre:!0,textarea:!0},ye=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,be={},he={};var me=Object.prototype.hasOwnProperty,ge={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function ve(e,t){if(void 0===e)throw Error(l(152,w(t)||"Component"))}function ke(e,t,a){function i(o,i){var r=i.prototype&&i.prototype.isReactComponent,c=function(e,t,a,n){if(n&&("object"==typeof(n=e.contextType)&&null!==n))return x(n,a),n[a];if(e=e.contextTypes){for(var o in a={},e)a[o]=t[o];t=a}else t=_;return t}(i,t,a,r),s=[],u=!1,f={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===s)return null},enqueueReplaceState:function(e,t){u=!0,s=[t]},enqueueSetState:function(e,t){if(null===s)return null;s.push(t)}};if(r){if(r=new i(o.props,c,f),"function"==typeof i.getDerivedStateFromProps){var d=i.getDerivedStateFromProps.call(null,o.props,r.state);null!=d&&(r.state=n({},r.state,d))}}else if(A={},r=i(o.props,c,f),null==(r=Z(i,o.props,r,c))||null==r.render)return void ve(e=r,i);if(r.props=o.props,r.context=c,r.updater=f,void 0===(f=r.state)&&(r.state=f=null),"function"==typeof r.UNSAFE_componentWillMount||"function"==typeof r.componentWillMount)if("function"==typeof r.componentWillMount&&"function"!=typeof i.getDerivedStateFromProps&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&"function"!=typeof i.getDerivedStateFromProps&&r.UNSAFE_componentWillMount(),s.length){f=s;var p=u;if(s=null,u=!1,p&&1===f.length)r.state=f[0];else{d=p?f[0]:r.state;var y=!0;for(p=p?1:0;p<f.length;p++){var b=f[p];null!=(b="function"==typeof b?b.call(r,d,o.props,c):b)&&(y?(y=!1,d=n({},d,b)):n(d,b))}r.state=d}}else s=null;if(ve(e=r.render(),i),"function"==typeof r.getChildContext&&"object"==typeof(o=i.childContextTypes)){var h=r.getChildContext();for(var m in h)if(!(m in o))throw Error(l(108,w(i)||"Unknown",m))}h&&(t=n({},t,h))}for(;o.isValidElement(e);){var r=e,c=r.type;if("function"!=typeof c)break;i(r,c)}return{child:e,context:t}}var Ee=function(){function e(e,t){o.isValidElement(e)?e.type!==c?e=[e]:(e=e.props.children,e=o.isValidElement(e)?[e]:fe(e)):e=fe(e),e={type:null,domNamespace:ne,children:e,childIndex:0,context:_,footer:""};var a=R[0];if(0===a){var n=R,i=2*(a=n.length);if(!(65536>=i))throw Error(l(304));var r=new Uint16Array(i);for(r.set(n),(R=r)[0]=a+1,n=a;n<i-1;n++)R[n]=n+1;R[i-1]=0}else R[0]=R[a];this.threadID=a,this.stack=[e],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=t,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var t=e.prototype;return t.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;R[e]=R[0],R[0]=e}},t.pushProvider=function(e){var t=++this.contextIndex,a=e.type._context,n=this.threadID;x(a,n);var o=a[n];this.contextStack[t]=a,this.contextValueStack[t]=o,a[n]=e.props.value},t.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],a=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=a},t.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},t.read=function(e){if(this.exhausted)return null;var t=te;te=this.threadID;var a=de.current;de.current=ae;try{for(var n=[""],o=!1;n[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var i=this.threadID;R[i]=R[0],R[0]=i;break}var r=this.stack[this.stack.length-1];if(o||r.childIndex>=r.children.length){var c=r.footer;if(""!==c&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===r.type)this.currentSelectValue=null;else if(null!=r.type&&null!=r.type.type&&r.type.type.$$typeof===f)this.popProvider(r.type);else if(r.type===b){this.suspenseDepth--;var s=n.pop();if(o){o=!1;var u=r.fallbackFrame;if(!u)throw Error(l(303));this.stack.push(u),n[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}n[this.suspenseDepth]+=s}n[this.suspenseDepth]+=c}else{var d=r.children[r.childIndex++],p="";try{p+=this.render(d,r.context,r.domNamespace)}catch(e){if(null!=e&&"function"==typeof e.then)throw Error(l(294));throw e}n.length<=this.suspenseDepth&&n.push(""),n[this.suspenseDepth]+=p}}return n[0]}finally{de.current=a,te=t}},t.render=function(e,t,a){if("string"==typeof e||"number"==typeof e)return""===(a=""+e)?"":this.makeStaticMarkup?F(a):this.previousWasTextNode?"\x3c!-- --\x3e"+F(a):(this.previousWasTextNode=!0,F(a));if(e=(t=ke(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!o.isValidElement(e)){if(null!=e&&null!=e.$$typeof){if((a=e.$$typeof)===r)throw Error(l(257));throw Error(l(258,a.toString()))}return e=fe(e),this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),""}var i=e.type;if("string"==typeof i)return this.renderDOM(e,t,a);switch(i){case s:case p:case u:case h:case c:return e=fe(e.props.children),this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),"";case b:throw Error(l(294))}if("object"==typeof i&&null!==i)switch(i.$$typeof){case y:A={};var E=i.render(e.props,e.ref);return E=Z(i.render,e.props,E,e.ref),E=fe(E),this.stack.push({type:null,domNamespace:a,children:E,childIndex:0,context:t,footer:""}),"";case m:return e=[o.createElement(i.type,n({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),"";case f:return a={type:e,domNamespace:a,children:i=fe(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(a),"";case d:i=e.type,E=e.props;var w=this.threadID;return x(i,w),i=fe(E.children(i[w])),this.stack.push({type:e,domNamespace:a,children:i,childIndex:0,context:t,footer:""}),"";case v:throw Error(l(338));case g:switch(function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i=e.type),i._status){case 1:return e=[o.createElement(i._result,n({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),"";case 2:throw i._result;default:throw Error(l(295))}case k:throw Error(l(343))}throw Error(l(130,null==i?i:typeof i,""))},t.renderDOM=function(e,t,a){var i=e.type.toLowerCase();if(a===ne&&oe(i),!be.hasOwnProperty(i)){if(!ye.test(i))throw Error(l(65,i));be[i]=!0}var r=e.props;if("input"===i)r=n({type:void 0},r,{defaultChecked:void 0,defaultValue:void 0,value:null!=r.value?r.value:r.defaultValue,checked:null!=r.checked?r.checked:r.defaultChecked});else if("textarea"===i){var c=r.value;if(null==c){c=r.defaultValue;var s=r.children;if(null!=s){if(null!=c)throw Error(l(92));if(Array.isArray(s)){if(!(1>=s.length))throw Error(l(93));s=s[0]}c=""+s}null==c&&(c="")}r=n({},r,{value:void 0,children:""+c})}else if("select"===i)this.currentSelectValue=null!=r.value?r.value:r.defaultValue,r=n({},r,{value:void 0});else if("option"===i){s=this.currentSelectValue;var u=function(e){if(null==e)return e;var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(r.children);if(null!=s){var f=null!=r.value?r.value+"":u;if(c=!1,Array.isArray(s)){for(var d=0;d<s.length;d++)if(""+s[d]===f){c=!0;break}}else c=""+s===f;r=n({selected:void 0,children:void 0},r,{selected:c,children:u})}}if(c=r){if(ie[i]&&(null!=c.children||null!=c.dangerouslySetInnerHTML))throw Error(l(137,i,""));if(null!=c.dangerouslySetInnerHTML){if(null!=c.children)throw Error(l(60));if(!("object"==typeof c.dangerouslySetInnerHTML&&"__html"in c.dangerouslySetInnerHTML))throw Error(l(61))}if(null!=c.style&&"object"!=typeof c.style)throw Error(l(62,""))}for(k in c=r,s=this.makeStaticMarkup,u=1===this.stack.length,f="<"+e.type,c)if(me.call(c,k)){var p=c[k];if(null!=p){if("style"===k){d=void 0;var y="",b="";for(d in p)if(p.hasOwnProperty(d)){var h=0===d.indexOf("--"),m=p[d];if(null!=m){if(h)var g=d;else if(g=d,he.hasOwnProperty(g))g=he[g];else{var v=g.replace(se,"-$1").toLowerCase().replace(ue,"-ms-");g=he[g]=v}y+=b+g+":",b=d,y+=h=null==m||"boolean"==typeof m||""===m?"":h||"number"!=typeof m||0===m||re.hasOwnProperty(b)&&re[b]?(""+m).trim():m+"px",b=";"}}p=y||null}d=null;e:if(h=i,m=c,-1===h.indexOf("-"))h="string"==typeof m.is;else switch(h){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":h=!1;break e;default:h=!0}h?ge.hasOwnProperty(k)||(d=H(d=k)&&null!=p?d+'="'+F(p)+'"':""):d=j(k,p),d&&(f+=" "+d)}}s||u&&(f+=' data-reactroot=""');var k=f;c="",le.hasOwnProperty(i)?k+="/>":(k+=">",c="</"+e.type+">");e:{if(null!=(s=r.dangerouslySetInnerHTML)){if(null!=s.__html){s=s.__html;break e}}else if("string"==typeof(s=r.children)||"number"==typeof s){s=F(s);break e}s=null}return null!=s?(r=[],pe[i]&&"\n"===s.charAt(0)&&(k+="\n"),k+=s):r=fe(r.children),e=e.type,a=null==a||"http://www.w3.org/1999/xhtml"===a?oe(e):"http://www.w3.org/2000/svg"===a&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":a,this.stack.push({domNamespace:a,type:i,children:r,childIndex:0,context:t,footer:c}),this.previousWasTextNode=!1,k},e}(),we={renderToString:function(e){e=new Ee(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new Ee(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){throw Error(l(207))},renderToStaticNodeStream:function(){throw Error(l(208))},version:"16.12.0"},_e={default:we},xe=_e&&we||_e;e.exports=xe.default||xe},function(e,t,a){var n=a(2),o=a(57);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,'.fullScreen-activated{height:150vh;left:0}div.react-opensstreetmap-leaflet{position:relative;overflow:hidden;width:100%;height:100%}div.react-opensstreetmap-leaflet .hayyabuild-map{position:relative;height:100%;width:100%;top:0;left:0;right:0;bottom:0}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button,div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker,div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button{display:block;position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;z-index:15;overflow:hidden;padding:0 5px;border:1px solid rgba(255,255,255,0.5);background-color:#0085ba;color:#FFF;box-shadow:0 0 5px rgba(0,0,0,0.4);transform:scale(0.8);cursor:pointer;transition:transform 0.3s ease-out}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button:not(.disabled):not(.add-marker):hover,div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker:not(.disabled):not(.add-marker):hover,div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button:not(.disabled):not(.add-marker):hover{background-color:#005D82;transform:scale(1)}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button i,div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker i,div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button i{display:block;height:20px;width:20px;font-size:16px;line-height:20px}div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button{top:40px;background-color:#EE8700}div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button:hover{background-color:#F0A036;transform:scale(1)}div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker{background-color:#00BA49;top:80px}div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker:hover{background-color:#00983B;transform:scale(1)}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button.disabled{background-color:#AAA;color:#FFF;cursor:not-allowed}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers{position:absolute;top:0;left:100%;width:50%;min-width:300px;max-width:400px;height:100%;z-index:16}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker{position:absolute;padding:10px;width:100%;height:100%;top:0;left:-100%;font-size:0.9rem;background-color:rgba(255,255,255,0.75);border:1px solid rgba(255,255,255,0.95);overflow-y:scroll;overflow-x:hidden;transform:scaleX(0);transform-origin:right;transition:transform 0.2s, opacity 0.3s 0.2s;box-shadow:0 0 15px rgba(0,0,0,0.3)}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker.show{opacity:1;transform:scaleX(1);transition:transform 0.2s, opacity 0.7s}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker span.info{display:block;font-size:12px;color:#555}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .close-editor,div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker{margin-bottom:5px;width:30px;padding:0;border-radius:50%;border:none;background-color:#11A0D2;height:30px;cursor:pointer;color:#FFF}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .close-editor i,div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker i{font-size:20px;line-height:24px}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .close-editor:hover,div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker:hover{background-color:#278AAD}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker{background-color:#FF8A8A}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker:hover{background-color:#FF5F5F}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .marker-icon-type{text-align:center}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .marker-icon-type svg{width:40px;height:40px;cursor:pointer;margin:10px 3px;padding:5px;border-radius:3px;border:1px solid rgba(0,0,0,0.1);transition:all 0.3s ease-out}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .marker-icon-type svg:hover{background-color:rgba(0,0,0,0.1)}div.react-opensstreetmap-leaflet__loading{display:none}div.react-opensstreetmap-leaflet__loading.show-loading,div.react-opensstreetmap-leaflet__loading.show-success,div.react-opensstreetmap-leaflet__loading.show-error{position:absolute;display:block;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:20;transition:background-color 0.5s}div.react-opensstreetmap-leaflet__loading.show-loading .loading__icon,div.react-opensstreetmap-leaflet__loading.show-success .loading__icon,div.react-opensstreetmap-leaflet__loading.show-error .loading__icon{position:absolute;display:inline-block;width:120px;height:120px;top:50%;left:50%;transform:translate(-50%, -50%)}div.react-opensstreetmap-leaflet__loading.show-loading .loading__icon:after,div.react-opensstreetmap-leaflet__loading.show-success .loading__icon:after,div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:after{position:absolute;top:0;content:" ";display:block;width:120px;height:120px;margin:1px;border:10px solid #FFF;transition:width 0.3s}div.react-opensstreetmap-leaflet__loading.show-loading{background-color:rgba(255,245,100,0.5)}div.react-opensstreetmap-leaflet__loading.show-success{background-color:rgba(100,245,100,0.5)}div.react-opensstreetmap-leaflet__loading.show-error{background-color:rgba(255,100,100,0.5)}div.react-opensstreetmap-leaflet__loading.show-loading .loading__icon:after{border-radius:50%;border:10px solid #FFF;border-color:#FFF transparent #FFF transparent;animation:lds-dual-ring 1.2s linear infinite}div.react-opensstreetmap-leaflet__loading.show-success .loading__icon{width:60px}div.react-opensstreetmap-leaflet__loading.show-success .loading__icon:after{width:60px;border:10px solid #FFF;border-color:transparent #FFF #FFF transparent;transform:rotateZ(45deg);transform-origin:right}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon{width:10px}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:before{content:" ";display:block;margin:1px}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:before,div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:after{position:absolute;top:0;width:10px;height:120px;border:none;background-color:#FFF;transform:rotateZ(-45deg);transition:width 0.3s, border-radius 0.3s}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:after{transform:rotateZ(45deg)}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}div.react-opensstreetmap-leaflet .hayyabuild-map-info.show{position:absolute;z-index:18;top:auto;bottom:10px;right:10px;color:#333;background-color:#FFF;border-radius:3px;padding:5px 10px;font-size:14px;box-shadow:0 5px 10px rgba(0,0,0,0.2)}\n',""]),e.exports=t},function(e,t,a){var n=a(2),o=a(59);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,".hb-select-icon{position:relative;border:1px solid #EEE;padding:0;margin:20px 0;text-align:center;background-color:#FFF;height:40px}.hb-select-icon a:active,.hb-select-icon a:focus{outline:none;box-shadow:none}.hb-select-icon a.toggle{position:relative;display:block;width:100%;height:40px;line-height:30px;background-color:#fafafa;color:#555;text-decoration:none;padding:5px 10px;outline:none;border-radius:1px;text-align:left;z-index:9999}.hb-select-icon a.toggle:focus{outline:none}.hb-select-icon a.toggle:after{content:'\\f107';font-family:'FontAwesome';position:absolute;right:10px;top:5px}.hb-select-icon a.toggle.opened{z-index:999999}.hb-select-icon a.toggle.opened:after{content:'\\f106'}.hb-select-icon .icons-container{height:0;overflow:hidden;position:absolute;width:100%;top:0;left:0;z-index:999;background-color:#FFF;border:1px solid #EEE;transition:height .2s ease-in, box-shadow .2s ease-in;padding-top:40px}.hb-select-icon .icons-container.opened{height:340px;z-index:99999;box-shadow:0px 5px 15px rgba(5,5,5,0.3)}.hb-select-icon .icons-container input[type=text],.hb-select-icon .icons-container input[type=search]{display:inline-block;width:48%;margin:0;border-radius:0;border:0;border-bottom:1px solid #CCC}.hb-select-icon .icons-container input[type=text][type=text],.hb-select-icon .icons-container input[type=search][type=text]{margin-right:2%}.hb-select-icon .icons-container input[type=text]:focus,.hb-select-icon .icons-container input[type=search]:focus{box-shadow:none;border-bottom:1px solid #888}.hb-select-icon .icons-container ul{overflow-y:scroll;overflow-x:hidden;height:250px;display:block;widows:100%;text-align:center;list-style:none}.hb-select-icon .icons-container ul li{display:inline-block;margin:1%;width:18%;height:37px}.hb-select-icon .icons-container ul li a{display:inline-block;width:100%;height:100%;border:1px solid #DDD;background-color:#f8f8f8;color:#555;border-radius:1px;text-align:center;transition:color .1s ease-in}.hb-select-icon .icons-container ul li a.active{background-color:#0085ba;color:#ffffff}.hb-select-icon .icons-container ul li a:hover{color:#0085ba;background-color:#EEE}.hb-select-icon .icons-container ul li a:hover i{transform:scale(1.5)}.hb-select-icon .icons-container ul li a i{line-height:35px;font-size:17px;transition:transform .1s linear;transform:scale(1)}\n",""]),e.exports=t},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.InlineIcon=t.Icon=void 0;var n,o=(n=a(1))&&n.__esModule?n:{default:n};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var r=0,c=/(-?[0-9.]*[0-9]+[0-9.]*)/g,s=/^-?[0-9.]*[0-9]+[0-9.]*$/g,u=["width","height","inline","hFlip","vFlip","flip","rotate","align","color","box"],f={left:0,top:0,width:16,height:16,rotate:0,hFlip:!1,vFlip:!1};var d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._item=t}var t,a,n;return t=e,n=[{key:"splitAttributes",value:function(e){var t={icon:Object.create(null),node:Object.create(null)};return Object.keys(e).forEach((function(a){t[-1===u.indexOf(a)?"node":"icon"][a]=e[a]})),t}},{key:"calculateDimension",value:function(e,t,a){if(1===t)return e;if(a=void 0===a?100:a,"number"==typeof e)return Math.ceil(e*t*a)/a;var n=e.split(c);if(null===n||!n.length)return null;for(var o,l=[],i=n.shift(),r=s.test(i);;){if(r?(o=parseFloat(i),isNaN(o)?l.push(i):l.push(Math.ceil(o*t*a)/a)):l.push(i),void 0===(i=n.shift()))return l.join("");r=!r}}},{key:"replaceIDs",value:function(e){var t,a,n=/\sid="(\S+)"/g,o=[];function l(e,t,a){for(var n=0;-1!==(n=a.indexOf(e,n));)a=a.slice(0,n)+t+a.slice(n+e.length),n+=t.length;return a}for(;t=n.exec(e);)o.push(t[1]);return o.length?(a="IconifyId-"+Date.now().toString(16)+"-"+(16777216*Math.random()|0).toString(16)+"-",o.forEach((function(t){var n=a+r;r++,e=l('="'+t+'"','="'+n+'"',e),e=l('="#'+t+'"','="#'+n+'"',e),e=l("(#"+t+")","(#"+n+")",e)})),e):e}}],(a=[{key:"getAttributes",value:function(t){var a=this._item;"object"!==l(t)&&(t=Object.create(null));var n={horizontal:"center",vertical:"middle",slice:!1},o={rotate:a.rotate,hFlip:a.hFlip,vFlip:a.vFlip},i=Object.create(null),r=Object.create(null),c=!0===t.inline||"true"===t.inline||"1"===t.inline,s={left:a.left,top:c?a.inlineTop:a.top,width:a.width,height:c?a.inlineHeight:a.height};if(["hFlip","vFlip"].forEach((function(e){void 0===t[e]||!0!==t[e]&&"true"!==t[e]&&"1"!==t[e]||(o[e]=!o[e])})),void 0!==t.flip&&t.flip.toLowerCase().split(/[\s,]+/).forEach((function(e){switch(e){case"horizontal":o.hFlip=!o.hFlip;break;case"vertical":o.vFlip=!o.vFlip}})),void 0!==t.rotate){var u=t.rotate;if("number"==typeof u)o.rotate+=u;else if("string"==typeof u){var f=u.replace(/^-?[0-9.]*/,"");if(""===f)u=parseInt(u),isNaN(u)||(o.rotate+=u);else if(f!==u){var d=!1;switch(f){case"%":d=25;break;case"deg":d=90}d&&(u=parseInt(u.slice(0,u.length-f.length)),isNaN(u)||(o.rotate+=Math.round(u/d)))}}}var p,y=[];switch(o.hFlip?o.vFlip?o.rotate+=2:(y.push("translate("+(s.width+s.left)+" "+(0-s.top)+")"),y.push("scale(-1 1)"),s.top=s.left=0):o.vFlip&&(y.push("translate("+(0-s.left)+" "+(s.height+s.top)+")"),y.push("scale(1 -1)"),s.top=s.left=0),o.rotate%4){case 1:p=s.height/2+s.top,y.unshift("rotate(90 "+p+" "+p+")"),0===s.left&&0===s.top||(p=s.left,s.left=s.top,s.top=p),s.width!==s.height&&(p=s.width,s.width=s.height,s.height=p);break;case 2:y.unshift("rotate(180 "+(s.width/2+s.left)+" "+(s.height/2+s.top)+")");break;case 3:p=s.width/2+s.left,y.unshift("rotate(-90 "+p+" "+p+")"),0===s.left&&0===s.top||(p=s.left,s.left=s.top,s.top=p),s.width!==s.height&&(p=s.width,s.width=s.height,s.height=p)}var b,h,m=t.width?t.width:null,g=t.height?t.height:null;null===m&&null===g&&(g="1em"),null!==m&&null!==g?(b=m,h=g):null!==m?(b=m,h=e.calculateDimension(b,s.height/s.width)):(h=g,b=e.calculateDimension(h,s.width/s.height)),!1!==b&&(r.width="auto"===b?s.width:b),!1!==h&&(r.height="auto"===h?s.height:h),c&&0!==a.verticalAlign&&(i["vertical-align"]=a.verticalAlign+"em"),void 0!==t.align&&t.align.toLowerCase().split(/[\s,]+/).forEach((function(e){switch(e){case"left":case"right":case"center":n.horizontal=e;break;case"top":case"bottom":case"middle":n.vertical=e;break;case"crop":n.slice=!0;break;case"meet":n.slice=!1}})),r.preserveAspectRatio=function(e){var t;switch(e.horizontal){case"left":t="xMin";break;case"right":t="xMax";break;default:t="xMid"}switch(e.vertical){case"top":t+="YMin";break;case"bottom":t+="YMax";break;default:t+="YMid"}return t+=e.slice?" slice":" meet"}(n),r.viewBox=s.left+" "+s.top+" "+s.width+" "+s.height;var v=e.replaceIDs(a.body);return void 0!==t.color&&(v=v.replace(/currentColor/g,t.color)),y.length&&(v='<g transform="'+y.join(" ")+'">'+v+"</g>"),!0!==t.box&&"true"!==t.box&&"1"!==t.box||(v+='<rect x="'+s.left+'" y="'+s.top+'" width="'+s.width+'" height="'+s.height+'" fill="rgba(0, 0, 0, 0)" />'),{attributes:r,body:v,style:i}}},{key:"getSVG",value:function(t,a){var n=e.splitAttributes(t),o=this.getAttributes(n.icon),l='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"';return a&&Object.keys(n.node).forEach((function(e){l+=" "+e+'="'+n.node[e]+'"'})),Object.keys(o.attributes).forEach((function(e){l+=" "+e+'="'+o.attributes[e]+'"'})),l+=' style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);',Object.keys(o.style).forEach((function(e){l+=" "+e+": "+o.style[e]+";"})),t&&void 0!==t.style&&(l+=t.style),l+='">',l+=o.body+"</svg>"}}])&&i(t.prototype,a),n&&i(t,n),e}();function p(e,t){if("object"!==l(e.icon))return null;var a=d.splitAttributes(e),n=a.icon,i=a.node;delete i.icon,void 0===n.inline&&(n.inline=t);var r,c,s=new d((r=e.icon,void 0===(c=Object.assign(Object.create(null),f,r)).inlineTop&&(c.inlineTop=c.top),void 0===c.inlineHeight&&(c.inlineHeight=c.height),void 0===c.verticalAlign&&(c.verticalAlign=c.height%7==0&&c.height%8!=0?-.143:-.125),c)).getAttributes(n),u={transform:"rotate(360deg)"};void 0!==s.style["vertical-align"]&&(u.verticalAlign=s.style["vertical-align"]),void 0!==e.style&&(u=Object.assign(u,e.style));var p=Object.assign({xmlns:"http://www.w3.org/2000/svg",focusable:!1,style:u},i,s.attributes);return p.dangerouslySetInnerHTML={__html:s.body},o.default.createElement("svg",p,null)}var y=function(e){return p(e,!1)};t.Icon=y;t.InlineIcon=function(e){return p(e,!0)};var b=y;t.default=b},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return v})),a.d(t,"settings",(function(){return k}));var n=a(0),o=a(13),l=a.n(o);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components,f=u.PanelBody,d=u.ToggleControl,p=r.blockEditor,y=p.InspectorControls,b=p.AlignmentToolbar,h=r.blockEditor,m=h.InnerBlocks,g=h.BlockControls,v="hayyabuild/contentbox",k={title:c("Content Box","hayyabuild"),icon:n.H.iconStyle(l.a),description:c("The Content Box block is a generic container for flow content. It has no effect on the content or layout until customize it with all options provided by HayyaBuild.","hayyabuild"),category:"hayyabuild",attributes:{container:{type:"boolean",default:!1},textAlign:{type:"string"},align:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},supports:{align:["wide","full"]},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:c("The Content Box block is a generic container for flow content. It has no effect on the content or layout until customize it with all options provided by HayyaBuild.","hayyabuild"),textAlign:"center"}},{name:"hayyabuild/button",attributes:{text:c("Button","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t,a=e.attributes,o=e.setAttributes,l=e.className,r=(e.clientId,e.isSelected,a.container),u=a.textAlign,p=a.align,h=a.id,k=a.classesList,E=a.style;return n.H.blockID(h,v,o),React.createElement(s,null,React.createElement(g,null,React.createElement(b,{title:c("Content Alignment","hayyabuild"),value:u,onChange:function(e){return o({textAlign:e})}})),React.createElement(y,null,React.createElement(f,{title:c("Content Box Settings","hayyabuild")},React.createElement(d,{label:c("Container Box","hayyabuild"),checked:!!r,onChange:function(){o({container:!r})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:h,elementStyle:".".concat(h),value:{classesList:k,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(l,"wp-block-hayyabuild-contentbox",(t={container:r},i(t,"align-"+u,u),i(t,"align-"+p,p),t),{classesList:k},h),style:E},React.createElement(m,{templateLock:!1})))},save:function(e){var t,a=e.attributes,o=(e.className,a.container),l=a.textAlign,r=a.align,c=a.id,s=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses((t={container:o},i(t,"align-"+l,l),i(t,"align-"+r,r),t),{classesList:s},c)},React.createElement(m.Content,null))},deprecated:[{attributes:{container:{type:"boolean",default:!1},align:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},save:function(e){var t=e.attributes,a=(e.className,t.container),o=t.align,l=t.id,r=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses(i({container:a},"align-"+o,o),{classesList:r},l)},React.createElement(m.Content,null))}}]}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return g})),a.d(t,"settings",(function(){return k}));var n=a(0),o=a(14),l=a.n(o);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components,f=u.PanelBody,d=u.ToggleControl,p=r.blockEditor,y=p.BlockControls,b=p.InspectorControls,h=p.AlignmentToolbar,m=p.InnerBlocks,g=(r.data.select,"hayyabuild/stickybox"),v="hayyabuild-stickybox",k={title:c("Sticky Box","hayyabuild"),icon:n.H.iconStyle(l.a),description:c("This content box will stick to the screen when you reach scroll position.","hayyabuild"),category:"hayyabuild",attributes:{align:{type:"string"},container:{type:"boolean",default:!1},onlyFixed:{type:"boolean",default:!1},afterHeaderEnd:{type:"boolean",default:!1},showOnScrollup:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},supports:{align:["wide","full"]},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:c("This content box will stick to the screen when you reach scroll position.","hayyabuild"),align:"center"}},{name:"hayyabuild/button",attributes:{text:c("Button","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t,a=e.attributes,o=e.setAttributes,l=e.className,r=e.name,u=a.container,p=a.align,g=a.id,k=a.onlyFixed,E=a.afterHeaderEnd,w=a.showOnScrollup,_=a.classesList,x=a.style;return n.H.blockID(g,r,o),React.createElement(s,null,React.createElement(y,null,React.createElement(h,{value:p,onChange:function(e){return o({align:e})}})),React.createElement(b,null,React.createElement(f,{title:c("Sticky box Settings","hayyabuild")},React.createElement(d,{label:c("Add Container Box","hayyabuild"),checked:!!u,onChange:function(){o({container:!u})}}),React.createElement(d,{label:c("Show Only Sticky","hayyabuild"),checked:!!k,onChange:function(){o({onlyFixed:!k})}}),React.createElement(d,{label:c("Show it After Header Ends","hayyabuild"),checked:!!E,onChange:function(){o({afterHeaderEnd:!E})}}),React.createElement(d,{label:c("Show it when Scroll up","hayyabuild"),checked:!!w,onChange:function(){o({showOnScrollup:!w})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:g,elementStyle:".".concat(g,".stickybox-fixed"),value:{classesList:_,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})}}))),React.createElement("div",{id:g,className:n.H.hayyaClasses(l,(t={},i(t,"".concat(v,"--add-container"),u),i(t,"".concat(v,"--only-fixed"),k),i(t,"".concat(v,"--after-header-end"),E),i(t,"".concat(v,"--show-on-scrollup"),w),i(t,"hb-"+p,p),t),{classesList:_},g,"stickybox-fixed"),style:x},React.createElement("div",{className:"stickybox-container"},React.createElement(m,{templateLock:!1}))))},save:function(e){var t,a=e.attributes,o=a.container,l=a.align,r=a.id,c=a.onlyFixed,s=a.afterHeaderEnd,u=a.showOnScrollup,f=a.classesList;return React.createElement("div",{id:r,className:n.H.hayyaClasses((t={},i(t,"".concat(v,"--add-container"),o),i(t,"".concat(v,"--only-fixed"),c),i(t,"".concat(v,"--after-header-end"),s),i(t,"".concat(v,"--show-on-scrollup"),u),i(t,"hb-"+l,l),t),{classesList:f},r)},React.createElement("div",{className:"stickybox-container"},React.createElement(m.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return f})),a.d(t,"settings",(function(){return d}));var n=a(0),o=wp,l=o.i18n.__,i=o.element.Fragment,r=o.components.PanelBody,c=o.blockEditor.InspectorControls,s=o.blockEditor.InnerBlocks,u=o.data.select,f="hayyabuild/column",d={title:l("Column","hayyabuild"),icon:n.H.iconStyle("columns"),description:l("A single column.","hayyabuild"),parent:["hayyabuild/row"],category:"hayyabuild",attributes:{id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"xx",attribute:"xx"}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,d=e.clientId,p=e.isSelected,y=t.id,b=t.classesList,h=t.style;n.H.blockID(y,f,a);var m=u("core/block-editor").getBlockOrder(d).length>0;return React.createElement(React.Fragment,null,React.createElement(c,null,React.createElement(r,{title:l("Column Settings","hayyabuild")},React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:y,elementStyle:".".concat(y),value:{classesList:b,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(o,{classesList:b},y),style:h},React.createElement(s,{templateLock:!1,renderAppender:p||!m?function(){return React.createElement(s.ButtonBlockAppender,null)}:function(){return React.createElement(i,null)}})))},save:function(e){var t=e.attributes,a=t.id,o=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses({classesList:o},a)},React.createElement(s.Content,null))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return _})),a.d(t,"settings",(function(){return C}));var n=a(18),o=a.n(n),l=a(0),i=a(7);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function c(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var s=wp,u=s.i18n.__,f=s.element.Fragment,d=s.components,p=d.PanelBody,y=d.ToggleControl,b=d.SelectControl,h=d.TextControl,m=d.RangeControl,g=s.blockEditor,v=g.RichText,k=g.BlockControls,E=g.AlignmentToolbar,w=g.InspectorControls,_=i.name,x=i.attributes,R="wp-block-hayyabuild-button",C={title:u("Button","hayyabuild"),description:u("The button block defines a clickable button. Inside a button block you can put content, like text or icon.","hayyabuild"),icon:l.H.iconStyle(o.a),category:"hayyabuild",attributes:x,example:{attributes:{text:"Button",icon:"fa fa-hand-pointer",size:5,style:{background:"#389BFF"}}},edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=(e.className,a.text),i=a.link,r=a.title,s=a.align,d=a.icon,g=a.newTab,x=a.size,C=a.waveEffect,S=a.shadowffect,O=a.effectType,L=a.id,N=a.classesList,H=a.style;return l.H.blockID(L,_,n),React.createElement(f,null,React.createElement(k,null,React.createElement(E,{value:s,onChange:function(e){return n({align:e})}})),React.createElement(w,null,React.createElement(p,{title:u("Button Settings","hayyabuild")},React.createElement(h,{label:u("Button title","hayyabuild"),value:r,onChange:function(e){n({title:e})}}),React.createElement(h,{label:u("Button Link","hayyabuild"),value:i,onChange:function(e){n({link:e})}}),React.createElement(m,{label:u("Button size","hayyabuild"),value:x,onChange:function(e){return n({size:e})},min:1,max:5}),React.createElement(l.H.SelectIcon,{title:u("Icon","hayyabuild"),classPlaceholder:u("Insert icon class","hayyabuild"),fliterPlaceholder:u("Search for icon","hayyabuild"),value:d,onSelect:function(e){return n({icon:e})}}),React.createElement(y,{label:u("Open in new tab","hayyabuild"),checked:!!g,onChange:function(){n({newTab:!g})}}),React.createElement(y,{label:u("Shadow effect","hayyabuild"),checked:!!S,onChange:function(){n({shadowffect:!S})}}),React.createElement(y,{label:u("Wave effect","hayyabuild"),checked:!!C,onChange:function(){n({waveEffect:!C})}}),C&&React.createElement(b,{label:u("Effect color","hayyabuild"),value:O,options:[{label:u("Light","hayyabuild"),Key:"light",value:"light"},{label:u("Red","hayyabuild"),Key:"red",value:"red"},{label:u("Yellow","hayyabuild"),Key:"yellow",value:"yellow"},{label:u("Orange","hayyabuild"),Key:"orange",value:"orange"},{label:u("Purple","hayyabuild"),Key:"purple",value:"purple"},{label:u("Green","hayyabuild"),Key:"green",value:"green"},{label:u("Teal","hayyabuild"),Key:"teal",value:"teal"}],onChange:function(e){n({effectType:e})}}),React.createElement(l.H.BlocksOptions,{optionsTitle:u("HayyaBuild Options","hayyabuild"),styleTitle:u("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:L,elementStyle:".".concat(L," > a"),value:{classesList:N,inlineStyle:!0},onChange:function(e){return n({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:l.H.hayyaClasses(R,c({},"align-"+s,s),{classesList:N},L)},React.createElement("a",{className:l.H.hayyaClasses("".concat(R,"__button"),(t={},c(t,"".concat(R,"__button--size-").concat(x),!0),c(t,"".concat(R,"__button--shadow"),S),c(t,"waves-effect",C),c(t,"waves-".concat(O),C&&O),t)),title:r||o,style:H},React.createElement(v,{tagName:"span",value:o,allowedFormats:["bold","italic","strikethrough","code"],onChange:function(e){return n({text:e})}}),!!d&&React.createElement("i",{className:d}))))},deprecated:[{attributes:x,save:function(e){var t,a=e.attributes,n=a.text,o=a.link,i=a.title,s=a.align,u=a.icon,f=a.newTab,d=a.size,p=a.waveEffect,y=a.shadowffect,b=a.effectType,h=a.id,m=a.classesList;a.className;return React.createElement("div",{className:l.H.hayyaClasses(c({},"align-"+s,s),h)},React.createElement("a",r({href:o,title:i||n,className:l.H.hayyaClasses("".concat(R,"__button"),(t={},c(t,"".concat(R,"__button--size-").concat(d),!0),c(t,"".concat(R,"__button--shadow"),y),c(t,"waves-effect",p),c(t,"waves-".concat(b),p&&b),t),{classesList:m})},f?{target:"_blank",rel:"noopener noreferrer"}:{}),!!n&&React.createElement("span",null,n),!!u&&React.createElement("i",{className:u})))}}],save:function(e){var t,a=e.attributes,n=a.text,o=a.link,i=a.title,s=a.align,u=a.icon,f=a.newTab,d=a.size,p=a.waveEffect,y=a.shadowffect,b=a.effectType,h=a.id,m=a.classesList;a.className;return React.createElement("div",{className:l.H.hayyaClasses(c({},"align-"+s,s),{classesList:m},h)},React.createElement("a",r({href:o,title:i||n,className:l.H.hayyaClasses("".concat(R,"__button"),(t={},c(t,"".concat(R,"__button--size-").concat(d),!0),c(t,"".concat(R,"__button--shadow"),y),c(t,"waves-effect",p),c(t,"waves-".concat(b),p&&b),t))},f?{target:"_blank",rel:"noopener noreferrer"}:{}),!!n&&React.createElement("span",null,n),!!u&&React.createElement("i",{className:u})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return m}));var n=a(0),o=a(19),l=a.n(o),i=wp,r=i.i18n.__,c=i.data.select,s=i.components,u=(s.Button,s.PanelBody),f=s.ToggleControl,d=s.RangeControl,p=(s.SelectControl,s.TextControl),y=i.blockEditor.InspectorControls,b=i.blockEditor.InnerBlocks,h="hayyabuild/openstreetmap",m={title:r("Map","hayyabuild"),icon:n.H.iconStyle(l.a),description:r("With Map block you can include a map on your site that includes unlimited markers dropped at the address of locations.","hayyabuild"),category:"hayyabuild",attributes:{show_content:{type:"boolean",default:!1},min_height:{type:"string",source:"attribute",attribute:"data-height",selector:".wp-block-hayyabuild-openstreetmap",default:"400"},style:{type:"string",source:"attribute",attribute:"data-style",selector:".wp-block-hayyabuild-openstreetmap",default:"style1"},customstyle:{type:"string",source:"attribute",attribute:"data-customstyle",selector:".wp-block-hayyabuild-openstreetmap",default:""},attribution:{type:"string",source:"html",selector:".hayyabuild-map-attribution",default:""},latitude:{type:"string",source:"attribute",attribute:"data-lat",selector:".wp-block-hayyabuild-openstreetmap",default:"00.000000"},longitude:{type:"string",source:"attribute",attribute:"data-lng",selector:".wp-block-hayyabuild-openstreetmap",default:"00.000000"},zoom:{type:"string",source:"attribute",attribute:"data-zoom",selector:".wp-block-hayyabuild-openstreetmap",default:"1"},markerIcon:{type:"string",selector:"icon1"},markers:{type:"string",source:"html",selector:".hayyabuild-map-markers-list"},id:{type:"string"}},supports:{align:["wide","full"]},example:{attributes:{animate:!0,size:2,style:{latitude:"31.924302",longitude:"12.254648",zoom:"5",min_height:"150"}}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,l=e.clientId,i=t.show_content,s=t.min_height,m=t.style,g=t.customstyle,v=t.attribution,k=t.latitude,E=t.longitude,w=t.zoom,_=t.id;n.H.blockID(_,h,a);var x=c("core/block-editor").getBlockOrder(l).length>0;r("Map Tiler","hayyabuild"),r("Style 1","hayyabuild"),r("Style 2","hayyabuild"),r("Style 3","hayyabuild"),r("Style 4","hayyabuild"),r("Style 5","hayyabuild"),r("Style 6","hayyabuild"),r("Custom Style","hayyabuild"),r("Custom Map Tiler","hayyabuild");return React.createElement(React.Fragment,null,React.createElement(y,null,React.createElement(u,{title:r("Content box Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(f,{label:r("Show Content","hayyabuild"),checked:!!i,onChange:function(){a({show_content:!i})}}),!1,React.createElement(p,{label:r("Attribution","hayyabuild"),value:v,onChange:function(e){a({attribution:e})}}),React.createElement(d,{label:r("Map Height","hayyabuild"),value:s,onChange:function(e){return a({min_height:e})},min:200,max:2e3}))),React.createElement("div",{className:n.H.hayyaClasses(o,_),"data-lat":k,"data-lng":E,"data-style":m,"data-customstyle":g,"data-zoom":w,"data-height":s},_&&React.createElement(n.H.OpenStreetMap,{clientId:l,attrs:t,saveButtonTitle:r("Save","hayyabuild"),onChange:function(e){return function(e){var t=e.latitude,n=e.longitude,o=e.zoom,l=e.markers;return!!(t&&n&&o)&&(a({latitude:t,longitude:n,zoom:o,markers:l}),!0)}(e)}}),i&&React.createElement("div",{className:"hayyabuild-map-content"},React.createElement(b,{templateLock:!1,renderAppender:x?void 0:function(){return React.createElement(b.ButtonBlockAppender,null)}}))))},save:function(e){var t=e.attributes,a=e.className,o=t.show_content,l=t.min_height,i=t.style,r=t.customstyle,c=t.attribution,s=t.latitude,u=t.longitude,f=t.zoom,d=t.markers,p=t.id;return React.createElement("div",{className:n.H.hayyaClasses(a,p),"data-lat":s,"data-lng":u,"data-style":i,"data-customstyle":r,"data-zoom":f,"data-height":l},React.createElement("div",{className:"hayyabuild-map"}),c&&React.createElement("div",{className:"hayyabuild-map-attribution",dangerouslySetInnerHTML:{__html:"".concat(c)}}),d&&React.createElement("div",{className:"hayyabuild-map-markers-list",dangerouslySetInnerHTML:{__html:"".concat(d)}}),o&&React.createElement("div",{className:"hayyabuild-map-content"},React.createElement(b.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return v})),a.d(t,"settings",(function(){return k}));var n,o=a(21),l=a.n(o),i=a(0);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var c=wp,s=c.i18n.__,u=c.element.Fragment,f=c.components,d=f.SelectControl,p=f.ToggleControl,y=f.RangeControl,b=f.PanelBody,h=c.blockEditor,m=h.PanelColorSettings,g=h.InspectorControls,v="hayyabuild/spacer",k=(r(n={title:s("Spacer","hayyabuild"),description:s("This will help you to create a flexible spacer.","hayyabuild"),icon:i.H.iconStyle(l.a)},"description",s("Spacer block.","hayyabuild")),r(n,"category","hayyabuild"),r(n,"attributes",{style:{type:"string",default:"center"},ratio:{type:"string",default:""},height:{type:"number",default:"50"},container:{type:"boolean",default:!1},borderSize:{type:"number",default:"0"},borderColor:{type:"string",default:"#DDDDDD"},id:{type:"string",default:""},classesList:{type:"string",default:""}}),r(n,"supports",{align:["wide","full"]}),r(n,"example",{attributes:{borderSize:"1"}}),r(n,"edit",(function(e){var t=e.attributes,a=e.setAttributes,n=e.className,o=t.style,l=t.ratio,r=t.height,c=t.borderSize,f=t.borderColor,h=t.container,k=t.id,E=t.classesList;i.H.blockID(k,v,a);var w=l?{paddingTop:"".concat(l)}:{height:"".concat(r,"px")};return React.createElement(u,null,React.createElement(g,null,React.createElement(b,{title:s("Spacer Settings","hayyabuild")},!l&&React.createElement(y,{label:s("Spacer Height","hayyabuild"),value:r,onChange:function(e){return a({height:e})},min:1,max:1e3}),React.createElement(d,{label:s("Aspect Ratio","hayyabuild"),value:l,help:s("The aspect ratio of the spacer describes the proportional relationship between its width and its height.","hayyabuild"),options:[{label:s("Empty","hayyabuild"),Key:"empty",value:""},{label:"15:1",Key:"6.6%",value:"6.6%"},{label:"14:1",Key:"7.1%",value:"7.1%"},{label:"13:1",Key:"7.7%",value:"7.7%"},{label:"12:1",Key:"8.33%",value:"8.33%"},{label:"11:1",Key:"9%",value:"9%"},{label:"10:1",Key:"10%",value:"10%"},{label:"9:1",Key:"11.11%",value:"11.11%"},{label:"8:1",Key:"12.5%",value:"12.5%"},{label:"7:1",Key:"14.28%",value:"14.28%"},{label:"6:1",Key:"16.66%",value:"16.66%"},{label:"5:1",Key:"20%",value:"20%"}],onChange:function(e){return a({ratio:e})}}),React.createElement(d,{label:s("Spacer Style","hayyabuild"),value:o,options:[{label:s("Empty","hayyabuild"),Key:"empty",value:"empty"},{label:s("Solid","hayyabuild"),Key:"solid",value:"solid"},{label:s("Shadow Center","hayyabuild"),Key:"center",value:"center"},{label:s("Shadow Edges","hayyabuild"),Key:"duble",value:"duble"},{label:s("Shadow Right","hayyabuild"),Key:"right",value:"right"},{label:s("Shadow Left","hayyabuild"),Key:"left",value:"left"}],onChange:function(e){return a({style:e})}}),"empty"!==o&&React.createElement(y,{label:s("Border size","hayyabuild"),value:c,onChange:function(e){return a({borderSize:e})},min:0,max:5}),React.createElement(p,{label:s("Container","hayyabuild"),checked:!!h,onChange:function(){a({container:!h})}}),React.createElement(i.H.BlocksOptions,{optionsTitle:s("HayyaBuild Options","hayyabuild"),styleTitle:s("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:k,elementStyle:".".concat(k),value:{classesList:E,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}),"empty"!==o&&React.createElement(m,{title:s("Color Settings","hayyabuild"),initialOpen:!1,colorSettings:[{value:f,onChange:function(e){return a({borderColor:e})},label:s("Border Color","hayyabuild")}]}))),React.createElement("div",{className:i.H.hayyaClasses(n,"spacer-editor",{classesList:E},k),style:w},"empty"!==o&&React.createElement("div",{className:"hayyabuild-z-depth ".concat(o,"-shadow"),style:{height:"".concat(c,"px"),backgroundColor:f}})))})),r(n,"save",(function(e){var t=e.attributes,a=(e.className,t.style),n=t.ratio,o=t.height,l=t.borderSize,r=t.borderColor,c=t.container,s=t.id,u=t.classesList,f=n?{paddingTop:"".concat(n)}:{height:"".concat(o,"px")};return React.createElement("div",{className:i.H.hayyaClasses({container:c},{classesList:u},s),style:f},"empty"!==a&&React.createElement("div",{className:"hayyabuild-z-depth ".concat(a,"-shadow"),style:{height:"".concat(l,"px"),backgroundColor:r}}))})),r(n,"deprecated",[{attributes:{style:{type:"string",default:"center"},ratio:{type:"string",default:""},height:{type:"number",default:"50"},container:{type:"boolean",default:!1},borderSize:{type:"number",default:"1"},borderColor:{type:"string",default:"#DDDDDD"},id:{type:"string",default:""},classesList:{type:"string",default:""}},save:function(e){var t=e.attributes,a=(e.className,t.style),n=t.ratio,o=t.height,l=t.borderSize,r=t.borderColor,c=t.container,s=t.id,u=t.classesList,f=n?{paddingTop:"".concat(n)}:{height:"".concat(o,"px")};return React.createElement("div",{className:i.H.hayyaClasses({container:c},{classesList:u},s),style:f},"empty"!==a&&React.createElement("div",{className:"hayyabuild-z-depth ".concat(a,"-shadow"),style:{height:"".concat(l,"px"),backgroundColor:r}}))}}]),n)},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return k})),a.d(t,"settings",(function(){return w}));var n=a(23),o=a.n(n),l=a(0);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components,f=u.PanelBody,d=u.ToggleControl,p=u.SelectControl,y=u.RangeControl,b=r.blockEditor,h=b.RichText,m=b.BlockControls,g=b.InspectorControls,v=b.AlignmentToolbar,k="hayyabuild/alert",E="wp-block-hayyabuild-alert",w={title:c("Alert Box","hayyabuild"),icon:l.H.iconStyle(o.a),description:c("Alerts. Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.","hayyabuild"),category:"hayyabuild",attributes:{text:{type:"text",source:"children",selector:".".concat(E,"__body")},dismissible:{type:"boolean",default:!1},rememberDismissible:{type:"boolean",default:!1},icon:{type:"string"},type:{type:"string",default:""},align:{type:"string",default:""},radius:{type:"number",default:"3"},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{text:c("Alerts. Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.","hayyabuild"),icon:"fa fa-info-circle",dismissible:!0,type:"warning"}},edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=(e.className,a.text),r=a.align,u=a.icon,b=a.dismissible,w=a.rememberDismissible,_=a.type,x=a.radius,R=a.id,C=a.classesList;return l.H.blockID(R,k,n),React.createElement(s,null,React.createElement(m,null,React.createElement(v,{value:r,onChange:function(e){n({align:e})}})),React.createElement(g,null,React.createElement(f,{title:c("Button Settings","hayyabuild")},React.createElement(l.H.getPro,null),React.createElement(d,{label:c("Dismissible","hayyabuild"),checked:!!b,onChange:function(){n({dismissible:!b})}}),React.createElement(d,{label:c("Don`t show again","hayyabuild"),checked:!!w,onChange:function(){n({rememberDismissible:!w})}}),React.createElement(l.H.SelectIcon,{title:c("Icon","hayyabuild"),classPlaceholder:c("Insert icon class","hayyabuild"),fliterPlaceholder:c("Search for icon","hayyabuild"),value:u,onSelect:function(e){return n({icon:e})}}),React.createElement(p,{value:_,options:[{label:c("Alert style","hayyabuild"),Key:"",value:""},{label:c("primary","hayyabuild"),Key:"primary",value:"primary"},{label:c("Info","hayyabuild"),Key:"info",value:"info"},{label:c("Success","hayyabuild"),Key:"success",value:"success"},{label:c("Warning","hayyabuild"),Key:"warning",value:"warning"},{label:c("Danger","hayyabuild"),Key:"danger",value:"danger"}],onChange:function(e){return n({type:e})}}),React.createElement(y,{label:c("Rounded Corners","hayyabuild"),value:x,onChange:function(e){return n({radius:e})},min:0,max:10}),React.createElement(l.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:R,elementStyle:".".concat(R),value:{classesList:C,inlineStyle:!0},onChange:function(e){return n({classesList:e.classesList})}}))),React.createElement("div",{className:l.H.hayyaClasses(E,(t={},i(t,"".concat(E,"--remembrt-dismissible"),b&&w),i(t,"".concat(E,"--radius-").concat(x),x),i(t,"".concat(E,"--").concat(_),_),t),{classesList:C},R)},u&&React.createElement("i",{className:"".concat(E,"__icon ").concat(u)}),React.createElement(h,{tagName:"div",className:l.H.hayyaClasses("".concat(E,"__body"),i({},"align-".concat(r),r)),value:o,placeholder:c("Add text here!","hayyabuild"),onChange:function(e){return n({text:e})}}),b&&React.createElement("a",{id:"".concat(R,"__close"),href:"#",className:"".concat(E,"__close")},"⨯")))},deprecated:[{attributes:{text:{type:"text",source:"children",selector:".".concat(E,"__body")},dismissible:{type:"boolean",default:!1},rememberDismissible:{type:"boolean",default:!1},icon:{type:"string"},type:{type:"string",default:""},align:{type:"string",default:""},radius:{type:"number",default:"3"},id:{type:"string"},classesList:{type:"string",default:""}},save:function(e){var t,a=e.attributes,n=a.text,o=a.align,r=a.icon,c=a.dismissible,s=a.rememberDismissible,u=a.type,f=a.radius,d=a.id,p=a.classesList;return React.createElement("div",{className:l.H.hayyaClasses((t={},i(t,"".concat(E,"--remembrt-dismissible"),c&&s),i(t,"".concat(E,"--radius-").concat(f),f),i(t,"".concat(E,"--").concat(u),u),t),{classesList:p},d)},r&&React.createElement("i",{className:"".concat(E,"__icon ").concat(r)}),React.createElement(h.Content,{tagName:"div",value:n,className:l.H.hayyaClasses("".concat(E,"__body"),i({},"align-".concat(o),o))}),c&&React.createElement("a",{id:"".concat(d,"__close"),href:"#",className:"".concat(E,"__close")}," "))}}],save:function(e){var t,a=e.attributes,n=a.text,o=a.align,r=a.icon,c=a.dismissible,s=a.rememberDismissible,u=a.type,f=a.radius,d=a.id,p=a.classesList;return React.createElement("div",{id:d,className:l.H.hayyaClasses((t={},i(t,"".concat(E,"--remembrt-dismissible"),c&&s),i(t,"".concat(E,"--radius-").concat(f),f),i(t,"".concat(E,"--").concat(u),u),t),{classesList:p},d)},r&&React.createElement("i",{className:"".concat(E,"__icon ").concat(r)}),React.createElement(h.Content,{tagName:"div",value:n,className:l.H.hayyaClasses("".concat(E,"__body"),i({},"align-".concat(o),o))}),c&&React.createElement("a",{id:"".concat(d,"__close"),href:"#",className:"".concat(E,"__close")}," "))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return v})),a.d(t,"settings",(function(){return k}));var n=a(24),o=a.n(n),l=a(0);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components,f=u.PanelBody,d=u.ServerSideRender,p=u.ToggleControl,y=u.SelectControl,b=r.blockEditor,h=b.BlockControls,m=b.AlignmentToolbar,g=b.InspectorControls,v="hayyabuild/menu",k={title:c("Menu","hayyabuild"),icon:l.H.iconStyle(o.a),description:c("You can use this menu block in headers as the main menu with many options.","hayyabuild"),category:"hayyabuild",attributes:{menu:{type:"string",default:""},menuIcon:{type:"string",default:""},align:{type:"string",default:""},editor:{type:"boolean",default:!1},container:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{html:!1},example:{attributes:{menuIcon:""}},edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.name),o=t.menu,r=t.menuIcon,u=t.align,b=t.container,v=t.id,k=t.classesList;l.H.blockID(v,n,a);var E=[{label:c("Select Menu","hayyabuild"),key:"",value:""}];return"object"===("undefined"==typeof hayyabuild_menu_list?"undefined":i(hayyabuild_menu_list))&&"function"==typeof hayyabuild_menu_list.map&&hayyabuild_menu_list.map((function(e){E.push({label:e.name,key:e.slug,value:e.slug})})),React.createElement(s,null,React.createElement(h,null,React.createElement(m,{value:u,onChange:function(e){return a({align:e})}})),React.createElement(g,null,React.createElement(f,{title:c("Menu Settings","hayyabuild")},React.createElement(l.H.getPro,null),React.createElement(y,{label:c("Select Menu","hayyabuild"),value:o,options:E,onChange:function(e){return a({menu:e})}}),React.createElement(p,{label:c("Container","hayyabuild"),checked:!!b,onChange:function(){a({container:!b})}}),React.createElement(l.H.SelectIcon,{title:c("Menu Icon","hayyabuild"),classPlaceholder:c("Insert icon class","hayyabuild"),fliterPlaceholder:c("Search for icon","hayyabuild"),value:r,onSelect:function(e){return a({menuIcon:e})}}),React.createElement(l.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:v,elementStyle:".".concat(v),value:{classesList:k,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement(d,{block:"hayyabuild/menu",attributes:{menu:o,menuIcon:r,align:u,id:v,container:b,editor:!0,classesList:k}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return v})),a.d(t,"settings",(function(){return k}));var n=a(0),o=a(25),l=a.n(o);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components,f=u.PanelBody,d=u.ServerSideRender,p=u.ToggleControl,y=u.SelectControl,b=r.blockEditor,h=b.BlockControls,m=b.AlignmentToolbar,g=b.InspectorControls,v="hayyabuild/smenu",k={title:c("Simple Menu","hayyabuild"),description:c("With Simple Menu block you can add menus to any place.","hayyabuild"),icon:n.H.iconStyle(l.a),category:"hayyabuild",attributes:{menu:{type:"string",default:""},align:{type:"string",default:""},vertical:{type:"boolean",default:!1},editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{html:!1},example:{attributes:{vertical:!0}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),l=t.menu,r=t.align,u=t.vertical,b=t.id,v=t.classesList;n.H.blockID(b,o,a);var k=[{label:c("Select Menu","hayyabuild"),key:"",value:""}];return"object"===("undefined"==typeof hayyabuild_menu_list?"undefined":i(hayyabuild_menu_list))&&"function"==typeof hayyabuild_menu_list.map&&hayyabuild_menu_list.map((function(e){k.push({label:e.name,key:e.slug,value:e.slug})})),React.createElement(s,null,React.createElement(h,null,React.createElement(m,{value:r,onChange:function(e){return a({align:e})}})),React.createElement(g,null,React.createElement(f,{title:c("Menu Settings","hayyabuild")},React.createElement(y,{label:c("Select Menu","hayyabuild"),value:l,options:k,onChange:function(e){return a({menu:e})}}),React.createElement(p,{label:c("Vertical","hayyabuild"),checked:!!u,onChange:function(){a({vertical:!u})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:b,elementStyle:".".concat(b," ul li"),value:{classesList:v,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement(d,{block:"hayyabuild/smenu",attributes:{menu:l,align:r,id:b,vertical:u,editor:!0,classesList:v}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return p})),a.d(t,"settings",(function(){return y}));var n=a(0),o=a(26),l=a.n(o),i=wp,r=i.i18n.__,c=i.element.Fragment,s=i.components,u=s.PanelBody,f=s.TextControl,d=i.blockEditor.InspectorControls,p=(i.serverSideRender,"hayyabuild/breadcrumb"),y={title:r("Breadcrumb Menu","hayyabuild"),description:r("A breadcrumb or breadcrumb trail is a graphical control element frequently used as a navigational aid in user interfaces and on web pages. It allows users to keep track and maintain awareness of their locations within websites.","hayyabuild"),icon:n.H.iconStyle(l.a,"orange"),category:"hayyabuild",attributes:{home_title:{type:"string",default:r("Home","hayyabuild")},home_icon:{type:"string",default:"fa fa-home"},separator:{type:"string",default:"fa fa-angle-double-right"},editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{html:!1},example:{attributes:{home_title:"",home_icon:"fa fa-home"}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),l=t.home_title,i=t.home_icon,s=t.separator,p=t.id,y=t.classesList;return n.H.blockID(p,o,a),React.createElement(c,null,React.createElement(d,null,React.createElement(u,{title:r("Breadcrumb Menu Settings","hayyabuild")},React.createElement(f,{label:r("Home Title","hayyabuild"),value:l,onChange:function(e){return a({home_title:e})}}),!l&&React.createElement(n.H.SelectIcon,{title:r("Home Icon","hayyabuild"),classPlaceholder:r("Insert icon class","hayyabuild"),fliterPlaceholder:r("Search for icon","hayyabuild"),value:i,onSelect:function(e){return a({home_icon:e})}}),React.createElement(n.H.SelectIcon,{title:r("Separator Icon","hayyabuild"),classPlaceholder:r("Insert icon class","hayyabuild"),fliterPlaceholder:r("Search for icon","hayyabuild"),value:s,onSelect:function(e){return a({separator:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),elementID:p,elementStyle:".".concat(p),value:{classesList:y,inlineStyle:!0},icon:"fa fa-cogs",onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("serverSideRender",{block:"hayyabuild/breadcrumb",attributes:{home_title:l,home_icon:i,separator:s,id:p,editor:!0,classesList:y}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return m}));var n=a(0),o=a(27),l=a.n(o),i=wp,r=i.i18n.__,c=i.element.Fragment,s=i.components,u=s.PanelBody,f=s.ServerSideRender,d=s.ToggleControl,p=(s.TextControl,s.SelectControl),y=i.blockEditor,b=(y.AlignmentToolbar,y.InspectorControls),h="hayyabuild/search",m={title:r("Search Box","hayyabuild"),description:r("It`s a search input which enables the visitors to find words, sentences, and numbers in a pages and posts.","hayyabuild"),icon:n.H.iconStyle(l.a,"brown"),category:"hayyabuild",attributes:{theme:{type:"string",default:""},expand:{type:"boolean",default:!1},right:{type:"boolean",default:!1},editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{theme:"hb_transparent"}},supports:{html:!1},edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),l=t.theme,i=t.expand,s=t.right,y=t.id,h=t.classesList;return n.H.blockID(y,o,a),React.createElement(c,null,React.createElement(b,null,React.createElement(u,{title:r("Breadcrumb Menu Settings","hayyabuild")},React.createElement(p,{label:r("Select Theme","hayyabuild"),value:l,options:[{label:r("Select Theme","hayyabuild"),key:"",value:""},{label:r("Light","hayyabuild"),key:"hb_light",value:"hb_light"},{label:r("Dark","hayyabuild"),key:"hb_dark",value:"hb_dark"},{label:r("Transparent","hayyabuild"),key:"hb_transparent",value:"hb_transparent"}],onChange:function(e){return a({theme:e})}}),React.createElement(d,{label:r("Expand on Hover","hayyabuild"),checked:!!i,onChange:function(){a({expand:!i})}}),React.createElement(d,{label:r("Right Align","hayyabuild"),checked:!!s,onChange:function(){a({right:!s})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:y,elementStyle:".".concat(y),value:{classesList:h,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement(f,{block:"hayyabuild/search",attributes:{theme:l,expand:i,right:s,id:y,editor:!0,classesList:h}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return c})),a.d(t,"settings",(function(){return s}));var n=a(0),o=a(28),l=a.n(o),i=wp,r=i.i18n.__,c=(i.element.Fragment,i.components.ServerSideRender,i.blockEditor.InspectorControls,"hayyabuild/pagecontent"),s={title:r("Page content","hayyabuild"),icon:n.H.iconStyle(l.a),description:r("When building any page with HayyaBuild you can add the original content of the page to any place that you want.","hayyabuild"),category:"hayyabuild",attributes:{editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,l=t.id;t.classesList;return n.H.blockID(l,c,a),React.createElement("div",{className:n.H.hayyaClasses(o)},React.createElement("h3",{style:{textAlign:"center"}},r("Page Content","hayyabuild"),React.createElement("br",null),React.createElement("i",{className:"fa fa-file-contract"})))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return b})),a.d(t,"settings",(function(){return h}));var n=a(0),o=a(30),l=a.n(o);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components.PanelBody,f=r.blockEditor,d=f.InspectorControls,p=f.AlignmentToolbar,y=r.blockEditor.InnerBlocks,b="hayyabuild/doublesidedboxsides",h={title:c("Sides","hayyabuild"),icon:n.H.iconStyle(l.a),category:"hayyabuild",attributes:{side:{type:"string",default:"front"},align:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/doublesidedbox"],edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,t.side),l=t.align,r=t.id,f=t.classesList;n.H.blockID(r,b,a);var h="front"===o?"hayyabuild-doublesidedbox__front":"hayyabuild-doublesidedbox__back";return React.createElement(s,null,React.createElement(d,null,React.createElement(u,{title:c("Sides Settings","hayyabuild")},React.createElement(p,{title:c("Content Alignment","hayyabuild"),value:l,onChange:function(e){return a({align:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:r,elementStyle:".".concat(r),value:{classesList:f,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-doublesidedboxsides",h,i({},"align-"+l,l),{classesList:f},r)},React.createElement(y,{templateLock:!1})))},save:function(e){var t=e.attributes,a=(e.className,t.side),o=t.align,l=t.id,r=t.classesList,c="front"===a?"hayyabuild-doublesidedbox__front":"hayyabuild-doublesidedbox__back";return React.createElement("div",{className:n.H.hayyaClasses(c,i({},"align-"+o,o),{classesList:r},l)},React.createElement(y.Content,null))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return w})),a.d(t,"settings",(function(){return x}));var n=a(0),o=(a(75),a(34)),l=a.n(o),i=a(4),r=a(5),c=a(8);function s(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var u=wp,f=u.i18n.__,d=u.element.Fragment,p=u.components,y=p.PanelBody,b=p.ToggleControl,h=p.TextControl,m=p.RangeControl,g=u.blockEditor,v=g.BlockControls,k=g.AlignmentToolbar,E=g.InspectorControls,w=c.name,_=c.attributes,x={title:f("Social Media Menu","hayyabuild"),description:f("Easily create beautiful social media menu.","hayyabuild"),icon:n.H.iconStyle(l.a,"green"),keywords:[f("social media","hayyabuild")],attributes:_,category:"hayyabuild",supports:{html:!1},example:{attributes:{shadow:!0,style:{padding:"0 10px",background:"rgba(0,130,190,0.6)",border:"1px solid rgba(0,130,190,0.7)",borderRadius:"3px",margin:"5px",size:"15"}}},edit:function(e){var t,a=e.attributes,o=e.setAttributes,l=e.className,c=e.name,u=a.align,p=a.size,g=a.shadow,w=a.id,_=a.classesList,x=a.style,R=a.facebook,C=a.twitter,S=a.linkedin,O=a.youtube,L=a.vimeo,N=a.instagram,H=a.pinterest,I=a.flickr,z=a.github,T=a.vk,B=a.tumblr;n.H.blockID(w,c,o),R||C||S||O||L||N||H||I||z||T||B||(R=C=O=N=S=z="#");f("LinkedIn","hayyabuild"),f("Pinterest","hayyabuild"),f("Vimeo","vimeo"),f("Flickr","hayyabuild"),f("Tumblr","hayyabuild"),f("vk","hayyabuild");return React.createElement(d,null,React.createElement(v,null,React.createElement(k,{value:u,onChange:function(e){return o({align:e})}})),React.createElement(E,null,React.createElement(y,{title:f("Social Menu Settings","hayyabuild")},React.createElement(m,{label:f("Icons size","hayyabuild"),value:p,onChange:function(e){return o({size:e})},min:1,max:20}),React.createElement(b,{label:f("Shadow","hayyabuild"),checked:!!g,onChange:function(){o({shadow:!g})}}),React.createElement(i.a,{title:f("Edit Social Menu","hayyabuild"),iconClass:"fa fa-users",appendTo:"editor"},React.createElement(r.a,{color:"#555",bgColor:"#FFF"},React.createElement(r.a.Item,{active:!0,title:f("SocialMedia links","hayyabuild"),iconClass:"fa fa-group",className:"hayyabuild-social-links"},React.createElement(n.H.getPro,null),React.createElement("div",null,React.createElement("i",{className:"fab fa-facebook"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Facebook","hayyabuild"),value:R,onChange:function(e){return o({facebook:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-twitter"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Twitter","hayyabuild"),value:C,onChange:function(e){return o({twitter:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-instagram"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Instagram","hayyabuild"),value:N,onChange:function(e){return o({instagram:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-youtube"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Youtube","hayyabuild"),value:O,onChange:function(e){return o({youtube:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-github"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Github","hayyabuild"),value:z,onChange:function(e){return o({github:e})}})),!1))),React.createElement(n.H.BlocksOptions,{optionsTitle:f("HayyaBuild Options","hayyabuild"),styleTitle:f("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:w,elementStyle:".".concat(w," a.hayyabuild-social"),value:{classesList:_,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(l,(t={"hb-shadow":g},s(t,"hb-"+u,u),s(t,"size-"+p,!0),t),{classesList:_},w)},!!R&&React.createElement("a",{className:"hayyabuild-social facebook",href:R,style:x},React.createElement("i",{className:"fab fa-facebook"})),!!C&&React.createElement("a",{className:"hayyabuild-social twitter",href:C,style:x},React.createElement("i",{className:"fab fa-twitter"})),!!N&&React.createElement("a",{className:"hayyabuild-social instagram",href:N,style:x},React.createElement("i",{className:"fab fa-instagram"})),!!O&&React.createElement("a",{className:"hayyabuild-social youtube",href:O,style:x},React.createElement("i",{className:"fab fa-youtube"})),!!z&&React.createElement("a",{className:"hayyabuild-social github",href:z,style:x},React.createElement("i",{className:"fab fa-github"})),!!S&&React.createElement("a",{className:"hayyabuild-social linkedin",href:S,style:x},React.createElement("i",{className:"fab fa-linkedin"})),!!H&&React.createElement("a",{className:"hayyabuild-social pinterest",href:H,style:x},React.createElement("i",{className:"fab fa-pinterest"})),!!L&&React.createElement("a",{className:"hayyabuild-social vimeo",href:L,style:x},React.createElement("i",{className:"fab fa-vimeo"})),!!I&&React.createElement("a",{className:"hayyabuild-social flickr",href:I,style:x},React.createElement("i",{className:"fab fa-flickr"})),!!B&&React.createElement("a",{className:"hayyabuild-social tumblr",href:B,style:x},React.createElement("i",{className:"fab fa-tumblr"})),!!T&&React.createElement("a",{className:"hayyabuild-social vk",href:T,style:x},React.createElement("i",{className:"fab fa-vk"}))))},save:function(e){var t,a=e.attributes,o=(e.className,a.id),l=a.align,i=a.size,r=a.shadow,c=a.classesList,u=a.facebook,f=a.twitter,d=a.linkedin,p=a.youtube,y=a.vimeo,b=a.instagram,h=a.pinterest,m=a.flickr,g=a.github,v=a.vk,k=a.tumblr;return u||f||d||p||y||b||h||m||g||v||k||(u=f=p=b=d=g="#"),React.createElement("div",{className:n.H.hayyaClasses((t={"hb-shadow":r},s(t,"hb-"+l,l),s(t,"size-"+i,!0),t),{classesList:c},o)},!!u&&React.createElement("a",{className:"hayyabuild-social facebook",href:u},React.createElement("i",{className:"fab fa-facebook"})),!!f&&React.createElement("a",{className:"hayyabuild-social twitter",href:f},React.createElement("i",{className:"fab fa-twitter"})),!!b&&React.createElement("a",{className:"hayyabuild-social instagram",href:b},React.createElement("i",{className:"fab fa-instagram"})),!!p&&React.createElement("a",{className:"hayyabuild-social youtube",href:p},React.createElement("i",{className:"fab fa-youtube"})),!!g&&React.createElement("a",{className:"hayyabuild-social github",href:g},React.createElement("i",{className:"fab fa-github"})),!!d&&React.createElement("a",{className:"hayyabuild-social linkedin",href:d},React.createElement("i",{className:"fab fa-linkedin"})),!!h&&React.createElement("a",{className:"hayyabuild-social pinterest",href:h},React.createElement("i",{className:"fab fa-pinterest"})),!!y&&React.createElement("a",{className:"hayyabuild-social vimeo",href:y},React.createElement("i",{className:"fab fa-vimeo"})),!!m&&React.createElement("a",{className:"hayyabuild-social flickr",href:m},React.createElement("i",{className:"fab fa-flickr"})),!!k&&React.createElement("a",{className:"hayyabuild-social tumblr",href:k},React.createElement("i",{className:"fab fa-tumblr"})),!!v&&React.createElement("a",{className:"hayyabuild-social vk",href:v},React.createElement("i",{className:"fab fa-vk"})))}}},function(e,t,a){var n=a(2),o=a(76);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,".hayyabuild-social-links{padding:20px}.hayyabuild-social-links .fab{position:relative;text-align:center;display:inline-block;width:30px;height:30px;line-height:30px;font-size:20px;color:#FFF;border-radius:3px;top:2px;margin:0 5px}.hayyabuild-social-links .fab.fa-facebook{background:#3b5998}.hayyabuild-social-links .fab.fa-twitter{background:#00aced}.hayyabuild-social-links .fab.fa-instagram{background:#125688}.hayyabuild-social-links .fab.fa-youtube{background:#bb0000}.hayyabuild-social-links .fab.fa-github{background:#000000}.hayyabuild-social-links .fab.fa-linkedin{background:#007bb5}.hayyabuild-social-links .fab.fa-pinterest{background:#cb2027}.hayyabuild-social-links .fab.fa-vimeo{background:#aad450}.hayyabuild-social-links .fab.fa-flickr{background:#ff0084}.hayyabuild-social-links .fab.fa-tumblr{background:#32506d}.hayyabuild-social-links .fab.fa-vk{background:#4680c2}.hayyabuild-social-links .hayyabuild-social-text{display:inline-block;width:50%}\n",""]),e.exports=t},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return g})),a.d(t,"settings",(function(){return v}));var n=a(35),o=a.n(n),l=a(0);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components,f=u.PanelBody,d=u.ToggleControl,p=u.RangeControl,y=r.blockEditor,b=y.BlockControls,h=y.AlignmentToolbar,m=y.InspectorControls,g="hayyabuild/godown",v={title:c("Go Down Link","hayyabuild"),icon:l.H.iconStyle(o.a),description:c("Add go down link to header.","hayyabuild"),category:"hayyabuild",attributes:{icon:{type:"string",default:"fa fa-angle-double-down"},size:{type:"number",default:3},animate:{type:"boolean",default:!1},align:{type:"string",default:"center"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"xx",attribute:"style"}},example:{attributes:{animate:!0,size:2,style:{padding:"30px 30px",background:"rgba(0,0,0,0.3)",borderRadius:"5px",color:"#FFFFFF"}}},edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=e.className,r=a.icon,u=a.size,y=a.animate,v=a.align,k=a.id,E=a.classesList,w=a.style;return l.H.blockID(k,g,n),React.createElement(s,null,React.createElement(b,null,React.createElement(h,{value:v,onChange:function(e){return n({align:e})}})),React.createElement(m,null,React.createElement(f,{title:c("Button Settings","hayyabuild")},React.createElement(l.H.getPro,null),React.createElement(l.H.SelectIcon,{title:c("Icon","hayyabuild"),classPlaceholder:c("Insert icon class","hayyabuild"),fliterPlaceholder:c("Search for icon","hayyabuild"),value:r,onSelect:function(e){return n({icon:e})}}),React.createElement(p,{label:c("Size","hayyabuild"),value:u,onChange:function(e){return n({size:e})},min:1,max:5}),React.createElement(d,{label:c("Animate","hayyabuild"),checked:!!y,onChange:function(){n({animate:!y})}}),React.createElement(l.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:k,elementStyle:".".concat(k," > a"),value:{classesList:E,inlineStyle:!0},onChange:function(e){return n({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:l.H.hayyaClasses(o,"hb-".concat(v),{classesList:E},k)},React.createElement("a",{href:"#",className:l.H.hayyaClasses({"animate-godown":!!y}),style:w},React.createElement("i",{className:l.H.hayyaClasses((t={"fa fa-angle-double-down":!r},i(t,r,r),i(t,"godown-size-".concat(u),u),t))}))))},save:function(e){var t,a=e.attributes,n=a.icon,o=a.size,r=a.animate,c=a.align,s=a.id,u=a.classesList;return React.createElement("div",{className:l.H.hayyaClasses("hb-".concat(c),{classesList:u},s)},React.createElement("a",{href:"#hayyabuild-after-header",className:l.H.hayyaClasses({"animate-godown":!!r})},React.createElement("i",{className:l.H.hayyaClasses((t={"fa fa-angle-double-down":!n},i(t,n,n),i(t,"godown-size-".concat(o),o),t))})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return g})),a.d(t,"settings",(function(){return v}));var n=a(36),o=a.n(n),l=a(0);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components,f=u.PanelBody,d=u.ToggleControl,p=u.RangeControl,y=r.blockEditor,b=y.BlockControls,h=y.AlignmentToolbar,m=y.InspectorControls,g="hayyabuild/goup",v={title:c("Go Up Link","hayyabuild"),icon:l.H.iconStyle(o.a),description:c("Add go up link to footer.","hayyabuild"),category:"hayyabuild",attributes:{icon:{type:"string",default:"fa fa-angle-double-up"},size:{type:"number",default:3},animate:{type:"boolean",default:!1},align:{type:"string",default:"right"},container:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},example:{attributes:{animate:!0,size:2,style:{padding:"30px 30px",background:"rgba(0,0,0,0.3)",borderRadius:"5px",color:"#FFFFFF",align:"center"}}},edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=e.className,r=a.icon,u=a.size,y=a.animate,v=a.align,k=a.container,E=a.id,w=a.classesList,_=a.style;return l.H.blockID(E,g,n),React.createElement(s,null,React.createElement(b,null,React.createElement(h,{value:v,onChange:function(e){return n({align:e})}})),React.createElement(m,null,React.createElement(f,{title:c("Button Settings","hayyabuild")},React.createElement(l.H.getPro,null),React.createElement(l.H.SelectIcon,{title:c("Icon","hayyabuild"),classPlaceholder:c("Insert icon class","hayyabuild"),fliterPlaceholder:c("Search for icon","hayyabuild"),value:r,onSelect:function(e){return n({icon:e})}}),React.createElement(p,{label:c("Size","hayyabuild"),value:u,onChange:function(e){return n({size:e})},min:1,max:5}),React.createElement(d,{label:c("Animate","hayyabuild"),checked:!!y,onChange:function(){n({animate:!y})}}),React.createElement(d,{label:c("Add Container","hayyabuild"),checked:!!k,onChange:function(){n({container:!k})}}),React.createElement(l.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:E,elementStyle:".".concat(E," > a"),value:{classesList:w,inlineStyle:!0},onChange:function(e){return n({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:l.H.hayyaClasses(o,"hb-".concat(v),{container:k},{classesList:w},E)},React.createElement("a",{href:"",className:l.H.hayyaClasses({"animate-goup":!!y}),style:_},React.createElement("i",{className:l.H.hayyaClasses((t={"fa fa-angle-double-up":!r},i(t,r,r),i(t,"goup-size-".concat(u),u),t))}))))},save:function(e){var t,a=e.attributes,n=a.icon,o=a.size,r=a.animate,c=a.align,s=a.container,u=a.id,f=a.classesList;return React.createElement("div",{className:l.H.hayyaClasses("hb-".concat(c),{container:s},{classesList:f},u)},React.createElement("a",{href:"#hayyabuild-header",className:l.H.hayyaClasses({"animate-goup":!!r})},React.createElement("i",{className:l.H.hayyaClasses((t={"fa fa-angle-double-up":!n},i(t,n,n),i(t,"goup-size-".concat(o),o),t))})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return v}));var n=a(0),o=a(38),l=a.n(o),i=wp,r=i.i18n.__,c=i.element.Fragment,s=i.components,u=s.PanelBody,f=s.ToggleControl,d=s.SelectControl,p=s.RangeControl,y=i.blockEditor.InspectorControls,b=i.blockEditor.InnerBlocks,h="hayyabuild/modalbox",m=r("The Modal Box block is a dialog box/popup window that is displayed on top of the current page. Use a modal for dialog boxes, confirmation messages, or other content that can be called up.","hayyabuild"),g="hayyabuild-modalbox",v={title:r("Modal Box (Popup)","hayyabuild"),icon:n.H.iconStyle(l.a),description:m,category:"hayyabuild",attributes:{close:{type:"boolean",source:"attribute",selector:".hayyabuild-modalbox__body__close",attribute:"class",default:!0},delay:{type:"string",source:"attribute",selector:".wp-block-hayyabuild-modalbox",attribute:"data-delay",default:"5"},remember:{type:"string",source:"attribute",selector:".wp-block-hayyabuild-modalbox",attribute:"data-remember",default:"1"},size:{type:"string",source:"attribute",selector:".wp-block-hayyabuild-modalbox",attribute:"data-size",default:"medium"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"empty",attribute:"style"}},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:m,align:"center"}},{name:"hayyabuild/button",attributes:{text:r("Close","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,l=t.close,i=t.delay,s=t.remember,m=t.size,v=t.id,k=t.classesList,E=t.style;return n.H.blockID(v,h,a),React.createElement(c,null,React.createElement(y,null,React.createElement(u,{title:r("Modal Box Settings","hayyabuild")},React.createElement(d,{label:r("Modal Size","hayyabuild"),value:m,options:[{label:r("Full Width","hayyabuild"),Key:"full",value:"full"},{label:r("Medium Size","hayyabuild"),Key:"medium",value:"medium"},{label:r("Small Size","hayyabuild"),Key:"small",value:"small"}],onChange:function(e){a({size:e})}}),React.createElement(f,{label:r("Show Close Button","hayyabuild"),help:r('You can add any button or link inside the modal with "hayyabuild-modalbox__close" class to close the modal.',"hayyabuild"),checked:!!l,onChange:function(){a({close:!l})}}),React.createElement(p,{label:r("Delay (seconds)","hayyabuild"),value:i,onChange:function(e){return a({delay:e})},min:1,max:60}),React.createElement(p,{label:r("Days","hayyabuild"),help:r("Show once per number of days","hayyabuild"),value:s,onChange:function(e){return a({remember:e})},min:0,max:30}),React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:v,elementStyle:"#".concat(v," .").concat(g,"__body"),value:{classesList:k,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{id:v,className:n.H.hayyaClasses(o,{classesList:k}),style:E},React.createElement("div",{className:"".concat(g,"__body")},React.createElement("div",{className:"".concat(g,"__body__content")},React.createElement(b,{templateLock:!1})))))},save:function(e){var t=e.attributes,a=(e.className,t.close),o=t.delay,l=t.remember,i=t.size,r=t.id,c=t.classesList;return React.createElement("div",{id:r,className:n.H.hayyaClasses({classesList:c}),"data-delay":o,"data-remember":l,"data-size":i},React.createElement("div",{className:"".concat(g,"__body")},React.createElement("div",{className:"".concat(g,"__body__content")},React.createElement(b.Content,null)),a&&React.createElement("div",{class:"".concat(g,"__body__close ").concat(g,"__close")})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return v})),a.d(t,"settings",(function(){return k}));var n=a(39),o=a.n(n),l=a(0);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,c=r.i18n.__,s=r.components,u=s.PanelBody,f=s.ToggleControl,d=r.element.Fragment,p=r.blockEditor,y=p.BlockControls,b=p.AlignmentToolbar,h=p.InspectorControls,m=p.InnerBlocks,g=[["hayyabuild/featureslistitem",{}],["hayyabuild/featureslistitem",{}],["hayyabuild/featureslistitem",{}]],v="hayyabuild/featureslist",k={title:c("Features List","hayyabuild"),description:c("Features List block are an advanced list to clarify the features of your products/services.","hayyabuild"),icon:l.H.iconStyle(o.a),category:"hayyabuild",attributes:{align:{type:"string",default:""},showline:{type:"boolean",default:!0},id:{type:"string"},classesList:{type:"string",default:""}},example:{innerBlocks:[{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:c("Features Line 1.","hayyabuild")}}]},{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:c("Features Line 2.","hayyabuild")}}]},{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:c("Features Line 3.","hayyabuild")}}]},{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"hayyabuild/button",attributes:{text:c("You can add any block","hayyabuild"),icon:"fa fa-home",size:3,align:"left",style:{background:"#6BAFFF"}}}]}]},edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.name),o=t.align,r=t.showline,s=t.id,p=t.classesList;return l.H.blockID(s,n,a),React.createElement(d,null,React.createElement(y,null,React.createElement(b,{value:o,onChange:function(e){return a({align:e})}})),React.createElement(h,null,React.createElement(u,{title:c("Features List Settings","hayyabuild")},React.createElement(f,{label:c("Show Icons Line","hayyabuild"),checked:!!r,onChange:function(){a({showline:!r})}}),React.createElement(l.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:s,elementStyle:".".concat(s),value:{classesList:p,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:l.H.hayyaClasses("wp-block-hayyabuild-featureslist",i({"hayyabuild-featureslist--showline":!!r},"hayyabuild-featureslist--".concat(o),!!o),{classesList:p},s)},React.createElement(m,{allowedBlocks:["hayyabuild/featureslistitem"],template:g,templateLock:!1})))},save:function(e){var t=e.attributes,a=t.align,n=t.showline,o=t.id,r=t.classesList;return React.createElement("div",{className:l.H.hayyaClasses(i({"hayyabuild-featureslist--showline":!!n},"hayyabuild-featureslist--".concat(a),!!a),{classesList:r},o)},React.createElement(m.Content,null))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return p})),a.d(t,"settings",(function(){return y}));var n=a(40),o=a.n(n),l=a(0),i=wp,r=i.i18n.__,c=i.components.PanelBody,s=i.element.Fragment,u=i.blockEditor,f=u.InspectorControls,d=u.InnerBlocks,p="hayyabuild/featureslistitem",y={title:r("Features Item","hayyabuild"),icon:l.H.iconStyle(o.a),category:"hayyabuild",attributes:{icon:{type:"string",default:"fa fa-check-double"},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/featureslist"],edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.name),o=t.icon,i=t.id,u=t.classesList;return l.H.blockID(i,n,a),React.createElement(s,null,React.createElement(f,null,React.createElement(c,{title:r("Features Item Settings","hayyabuild")},React.createElement(l.H.getPro,null),React.createElement(l.H.SelectIcon,{title:r("Icon","hayyabuild"),classPlaceholder:r("Insert icon class","hayyabuild"),fliterPlaceholder:r("Search for icon","hayyabuild"),value:o,onSelect:function(e){return a({icon:e})}}),React.createElement(l.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:i,elementStyle:".".concat(i),value:{classesList:u,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:l.H.hayyaClasses("wp-block-hayyabuild-featureslistitem","hayyabuild-featuresitem",{classesList:u},i)},React.createElement("div",{className:"hayyabuild-featuresitem__icon"},React.createElement("i",{className:o})),React.createElement("div",{className:"hayyabuild-featuresitem__content"},React.createElement(d,null))))},save:function(e){var t=e.attributes,a=t.icon,n=t.id,o=t.classesList;return React.createElement("div",{className:l.H.hayyaClasses("hayyabuild-featuresitem",{classesList:o},n)},React.createElement("div",{className:"hayyabuild-featuresitem__icon"},React.createElement("i",{className:a})),React.createElement("div",{className:"hayyabuild-featuresitem__content"},React.createElement(d.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return s})),a.d(t,"settings",(function(){return R}));var n=a(41),o=a.n(n),l=a(0),i=a(6);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var c=i.pricingtable,s=c.name,u=c.attributes,f=c.category,d=wp,p=d.i18n.__,y=d.element,b=y.Fragment,h=(y.Component,d.components),m=h.PanelBody,g=h.ToggleControl,v=(h.SelectControl,d.editor.AlignmentToolbar,d.blockEditor),k=(v.PanelColorSettings,v.BlockControls),E=v.InspectorControls,w=(v.RichText,v.InnerBlocks),_=[["hayyabuild/pricingtableplan",{headingText:p("Basic","hayyabuild")}],["hayyabuild/pricingtableplan",{headingText:p("Standard","hayyabuild"),ribbonText:p("Featured","hayyabuild"),btnText:p("Sign up","hayyabuild"),featuredPlan:!0,btnLink:"#"}],["hayyabuild/pricingtableplan",{headingText:p("Premium","hayyabuild"),btnText:p("Sign up","hayyabuild"),btnLink:"#"}]],x="hayyabuild-pricingtable",R={title:p("Pricing Table","hayyabuild"),description:p("Pricing table block for entrepreneurs and service providers. With this block you can create a modern and responsive pricing table for your business pricing plans in just a few seconds.","hayyabuild"),icon:l.H.iconStyle(o.a,"#FFA500"),category:f,attributes:u,supports:{align:["wide","full"]},edit:function(e){var t,a=this,n=e.attributes,o=e.setAttributes,i=(e.className,e.name),c=(e.clientId,n.cleanStyle),s=n.zoomEffect,u=n.opacityEffect,f=n.gradientEffect,d=n.shadowEffect,y=n.classesList,h=n.id,v=n.numOfplans;l.H.blockID(h,i,o);p("Shadow","hayyabuild");return React.createElement(b,null,React.createElement(k,null),React.createElement(E,null,React.createElement(l.H.getPro,null),React.createElement(m,{title:p("Pricing Table Settings","hayyabuild")},React.createElement(g,{label:p("Zoom Effect","hayyabuild"),checked:!!s,onChange:function(){return o({zoomEffect:!s})}}),React.createElement(g,{label:p("Gradient Color","hayyabuild"),checked:!!f,onChange:function(){return o({gradientEffect:!f})}}),React.createElement(g,{label:p("Transparency","hayyabuild"),checked:!!u,onChange:function(){return o({opacityEffect:!u})}}),!1,React.createElement(l.H.BlocksOptions,{optionsTitle:p("HayyaBuild Options","hayyabuild"),styleTitle:p("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:h,elementStyle:".".concat(h," .hayyabuild-pricingtable__plan"),value:{classesList:y,inlineStyle:!0},onChange:function(e){return a.setAttributes({classesList:e.classesList})}}))),React.createElement("div",{className:l.H.hayyaClasses(x,"".concat(x,"--").concat(v,"-palns"),(t={},r(t,"".concat(x,"--clean-style"),!!c),r(t,"".concat(x,"--zoom-effect"),!!s),r(t,"".concat(x,"--opacity-effect"),!!u),r(t,"".concat(x,"--gradient-effect"),!!f),r(t,"".concat(x,"--shadow-effect"),!!d),t),{classesList:y},h)},React.createElement(w,{allowedBlocks:["hayyabuild/pricingtableplan"],templateLock:!1,template:_})))},save:function(e){var t,a=e.attributes,n=(e.innerBlocks,a.cleanStyle),o=a.zoomEffect,i=a.opacityEffect,c=a.gradientEffect,s=a.shadowEffect,u=a.classesList,f=a.id,d=a.numOfplans;return React.createElement("div",{className:l.H.hayyaClasses(x,"".concat(x,"--").concat(d,"-palns"),(t={},r(t,"".concat(x,"--clean-style"),!!n),r(t,"".concat(x,"--zoom-effect"),!!o),r(t,"".concat(x,"--opacity-effect"),!!i),r(t,"".concat(x,"--gradient-effect"),!!c),r(t,"".concat(x,"--shadow-effect"),!!s),t),{classesList:u},f)},React.createElement("div",{className:"".concat(x,"__plans")},React.createElement(w.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return i})),a.d(t,"settings",(function(){return w}));var n=a(0),o=a(6),l=o.pricingtableplan,i=l.name,r=l.attributes,c=l.category,s=wp,u=s.i18n.__,f=s.element.Fragment,d=s.components,p=d.TextControl,y=d.ToggleControl,b=d.PanelBody,h=(d.Toolbar,s.editor),m=h.ColorPalette,g=(h.MediaPlaceholder,s.blockEditor),v=g.RichText,k=g.InspectorControls,E=g.InnerBlocks,w={title:u("Pricing Plan","hayyabuild"),icon:n.H.iconStyle("columns"),description:u("Single table.","hayyabuild"),parent:["hayyabuild/pricingtable"],category:c,attributes:r,edit:function(e){var t=this,a=e.attributes,o=e.setAttributes,l=(e.className,e.noticeUI,e.noticeOperations,a.ribbonText),r=a.headingText,c=a.planIcon,s=a.featuredPlan,d=a.ribbonTextColor,h=a.ribbonBgColor,g=a.classesList,w=a.id;n.H.blockID(w,i,o);var _=a.priceText;return _&&"function"==typeof _.replace&&(_=_.replace(/<[^>]+>/g,"")),React.createElement(f,null,React.createElement(k,null,React.createElement(n.H.getPro,null),React.createElement(b,{title:u("Plan Settings","hayyabuild")},React.createElement(y,{label:u("Featured Plan","hayyabuild"),checked:!!s,onChange:function(){return o({featuredPlan:!s})}}),React.createElement(n.H.SelectIcon,{title:u("Plan Icon","hayyabuild"),classPlaceholder:u("Insert icon class","hayyabuild"),fliterPlaceholder:u("Search for icon","hayyabuild"),value:c,onSelect:function(e){return o({planIcon:e})}})),React.createElement(b,{title:u("Ribbon Settings","hayyabuild"),initialOpen:!1},React.createElement(p,{label:u("Ribbon Text","hayyabuild"),value:l,onChange:function(e){return o({ribbonText:e})}}),React.createElement("label",null,u("Text Color","hayyabuild")),React.createElement(m,{value:d,label:u("Text Color","hayyabuild"),onChange:function(e){return o({ribbonTextColor:e})}}),React.createElement("hr",null),React.createElement("label",null,u("Background Color","hayyabuild")),React.createElement(m,{value:h,label:u("Background Color","hayyabuild"),onChange:function(e){return o({ribbonBgColor:e})}})),React.createElement(n.H.BlocksOptions,{optionsTitle:u("HayyaBuild Options","hayyabuild"),styleTitle:u("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:w,elementStyle:".".concat(w),value:{classesList:g,inlineStyle:!0},onChange:function(e){return t.setAttributes({classesList:e.classesList})}})),React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-pricingtable__plan",{"hayyabuild-pricingtable__plan--featured":!!s},{classesList:g},w)},React.createElement("div",{className:"hayyabuild-pricingtable__plan__header"},l&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__ribbon"},React.createElement("span",{style:{color:d,backgroundColor:h}},l)),React.createElement("h3",{className:"hayyabuild-pricingtable__plan__header__heading"},React.createElement(v,{tagName:"span",value:r,placeholder:u("Heading","hayyabuild"),onChange:function(e){return o({headingText:e})}})),c&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__icon"},React.createElement("i",{className:c})),React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__price"},React.createElement(v,{tagName:"span",value:_,placeholder:"$00",onChange:function(e){return o({priceText:e})}}))),React.createElement("div",{className:"hayyabuild-pricingtable__plan__body"},React.createElement(E,{template:[["core/paragraph",{placeholder:u("Features Here","hayyabuild")}],["hayyabuild/button",{text:u("Sign up","hayyabuild"),title:u("Sign up","hayyabuild"),link:"#",size:2}]],templateLock:!1}))))},save:function(e){var t=e.attributes,a=t.ribbonText,o=t.headingText,l=t.planIcon,i=t.featuredPlan,r=t.ribbonTextColor,c=t.ribbonBgColor,s=t.classesList,u=t.id,f=t.priceText,d="";if(f&&"function"==typeof f.replace){var p=(f=f.replace(/<[^>]+>/g,"")).split(".");2===p.length&&(f=p[0],d=p[1])}return React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-pricingtable__plan",{"hayyabuild-pricingtable__plan--featured":!!i},{classesList:s},u)},React.createElement("div",{className:"hayyabuild-pricingtable__plan__header"},a&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__ribbon"},React.createElement("span",{style:{color:r,backgroundColor:c}},a)),o&&React.createElement("h3",{className:"hayyabuild-pricingtable__plan__header__heading"},o),l&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__icon"},React.createElement("i",{className:l})),f&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__price"},f,""!==d&&React.createElement("sup",null,".",d))),React.createElement("div",{className:"hayyabuild-pricingtable__plan__body"},React.createElement(E.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return k})),a.d(t,"settings",(function(){return w}));var n=a(0),o=a(42),l=a.n(o),i=a(9);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var c=wp,s=c.i18n.__,u=c.element.Fragment,f=c.components,d=f.PanelBody,p=f.ToggleControl,y=f.TextControl,b=f.RangeControl,h=c.blockEditor,m=h.BlockControls,g=h.AlignmentToolbar,v=h.InspectorControls,k=i.name,E=i.attributes,w={title:s("Progress bar","hayyabuild"),description:s("Easily create beautiful progress bar.","hayyabuild"),icon:n.H.iconStyle(l.a,"green",flase,!0),keywords:[s("progress bar","hayyabuild")],attributes:E,category:"hayyabuild",supports:{html:!1},example:{attributes:{shadow:!0,style:{padding:"0 10px",background:"rgba(0,130,190,0.6)",border:"1px solid rgba(0,130,190,0.7)",borderRadius:"3px",margin:"5px",size:"15"}}},edit:function(e){var t,a=e.attributes,o=e.setAttributes,l=e.className,i=e.name,c=a.align,f=a.size,h=a.shadow,k=a.id,E=a.classesList,w=a.style,_=a.facebook,x=a.twitter,R=a.linkedin,C=a.youtube,S=a.vimeo,O=a.instagram,L=a.pinterest,N=a.flickr,H=a.github,I=a.vk,z=a.tumblr;n.H.blockID(k,i,o),_||x||R||C||S||O||L||N||H||I||z||(_=x=C=O=R=H="#");s("LinkedIn","hayyabuild"),s("Pinterest","hayyabuild"),s("Vimeo","vimeo"),s("Flickr","hayyabuild"),s("Tumblr","hayyabuild"),s("vk","hayyabuild");return React.createElement(u,null,React.createElement(m,null,React.createElement(g,{value:c,onChange:function(e){return o({align:e})}})),React.createElement(v,null,React.createElement(d,{title:s("Social Menu Settings","hayyabuild")},React.createElement(b,{label:s("Icons size","hayyabuild"),value:f,onChange:function(e){return o({size:e})},min:1,max:20}),React.createElement(p,{label:s("Shadow","hayyabuild"),checked:!!h,onChange:function(){o({shadow:!h})}}),React.createElement(ReactModalPopup,{title:s("Edit Social Menu","hayyabuild"),iconClass:"fa fa-users",appendTo:"editor"},React.createElement(Tabs,{color:"#555",bgColor:"#FFF"},React.createElement(Tabs.Item,{active:!0,title:s("SocialMedia links","hayyabuild"),iconClass:"fa fa-group",className:"hayyabuild-social-links"},React.createElement(n.H.getPro,null),React.createElement("div",null,React.createElement("i",{className:"fab fa-facebook"}),React.createElement(y,{className:"hayyabuild-social-text",placeholder:s("Facebook","hayyabuild"),value:_,onChange:function(e){return o({facebook:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-twitter"}),React.createElement(y,{className:"hayyabuild-social-text",placeholder:s("Twitter","hayyabuild"),value:x,onChange:function(e){return o({twitter:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-instagram"}),React.createElement(y,{className:"hayyabuild-social-text",placeholder:s("Instagram","hayyabuild"),value:O,onChange:function(e){return o({instagram:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-youtube"}),React.createElement(y,{className:"hayyabuild-social-text",placeholder:s("Youtube","hayyabuild"),value:C,onChange:function(e){return o({youtube:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-github"}),React.createElement(y,{className:"hayyabuild-social-text",placeholder:s("Github","hayyabuild"),value:H,onChange:function(e){return o({github:e})}})),!1))),React.createElement(n.H.BlocksOptions,{optionsTitle:s("HayyaBuild Options","hayyabuild"),styleTitle:s("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:k,elementStyle:".".concat(k," a.hayyabuild-social"),value:{classesList:E,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(l,(t={"hb-shadow":h},r(t,"hb-"+c,c),r(t,"size-"+f,!0),t),{classesList:E},k)},!!_&&React.createElement("a",{className:"hayyabuild-social facebook",href:_,style:w},React.createElement("i",{className:"fab fa-facebook"})),!!x&&React.createElement("a",{className:"hayyabuild-social twitter",href:x,style:w},React.createElement("i",{className:"fab fa-twitter"})),!!O&&React.createElement("a",{className:"hayyabuild-social instagram",href:O,style:w},React.createElement("i",{className:"fab fa-instagram"})),!!C&&React.createElement("a",{className:"hayyabuild-social youtube",href:C,style:w},React.createElement("i",{className:"fab fa-youtube"})),!!H&&React.createElement("a",{className:"hayyabuild-social github",href:H,style:w},React.createElement("i",{className:"fab fa-github"})),!!R&&React.createElement("a",{className:"hayyabuild-social linkedin",href:R,style:w},React.createElement("i",{className:"fab fa-linkedin"})),!!L&&React.createElement("a",{className:"hayyabuild-social pinterest",href:L,style:w},React.createElement("i",{className:"fab fa-pinterest"})),!!S&&React.createElement("a",{className:"hayyabuild-social vimeo",href:S,style:w},React.createElement("i",{className:"fab fa-vimeo"})),!!N&&React.createElement("a",{className:"hayyabuild-social flickr",href:N,style:w},React.createElement("i",{className:"fab fa-flickr"})),!!z&&React.createElement("a",{className:"hayyabuild-social tumblr",href:z,style:w},React.createElement("i",{className:"fab fa-tumblr"})),!!I&&React.createElement("a",{className:"hayyabuild-social vk",href:I,style:w},React.createElement("i",{className:"fab fa-vk"}))))},save:function(e){var t,a=e.attributes,o=(e.className,a.id),l=a.align,i=a.size,c=a.shadow,s=a.classesList,u=a.facebook,f=a.twitter,d=a.linkedin,p=a.youtube,y=a.vimeo,b=a.instagram,h=a.pinterest,m=a.flickr,g=a.github,v=a.vk,k=a.tumblr;return u||f||d||p||y||b||h||m||g||v||k||(u=f=p=b=d=g="#"),React.createElement("div",{className:n.H.hayyaClasses((t={"hb-shadow":c},r(t,"hb-"+l,l),r(t,"size-"+i,!0),t),{classesList:s},o)},!!u&&React.createElement("a",{className:"hayyabuild-social facebook",href:u},React.createElement("i",{className:"fab fa-facebook"})),!!f&&React.createElement("a",{className:"hayyabuild-social twitter",href:f},React.createElement("i",{className:"fab fa-twitter"})),!!b&&React.createElement("a",{className:"hayyabuild-social instagram",href:b},React.createElement("i",{className:"fab fa-instagram"})),!!p&&React.createElement("a",{className:"hayyabuild-social youtube",href:p},React.createElement("i",{className:"fab fa-youtube"})),!!g&&React.createElement("a",{className:"hayyabuild-social github",href:g},React.createElement("i",{className:"fab fa-github"})),!!d&&React.createElement("a",{className:"hayyabuild-social linkedin",href:d},React.createElement("i",{className:"fab fa-linkedin"})),!!h&&React.createElement("a",{className:"hayyabuild-social pinterest",href:h},React.createElement("i",{className:"fab fa-pinterest"})),!!y&&React.createElement("a",{className:"hayyabuild-social vimeo",href:y},React.createElement("i",{className:"fab fa-vimeo"})),!!m&&React.createElement("a",{className:"hayyabuild-social flickr",href:m},React.createElement("i",{className:"fab fa-flickr"})),!!k&&React.createElement("a",{className:"hayyabuild-social tumblr",href:k},React.createElement("i",{className:"fab fa-tumblr"})),!!v&&React.createElement("a",{className:"hayyabuild-social vk",href:v},React.createElement("i",{className:"fab fa-vk"})))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=wp.components,l=o.Path,i=o.SVG;function r(e){var t=e.level,a=e.isPressed,n=void 0!==a&&a,o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?React.createElement(i,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},React.createElement(l,{d:o[t]})):null}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=wp,b=y.i18n,h=b.__,m=b.sprintf,g=y.element.Component,v=y.components.ToolbarGroup,k=function(e){function t(){return s(this,t),f(this,d(t).apply(this,arguments))}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),a=t,(n=[{key:"createLevelControl",value:function(e,t,a){var n=e===t;return{icon:React.createElement(r,{level:e,isPressed:n}),title:m(h("Heading %d","hayyabuild"),e),isActive:n,onClick:function(){return a(e)}}}},{key:"render",value:function(){var e=this,t=this.props,a=t.isCollapsed,n=void 0===a||a,o=t.minLevel,l=t.maxLevel,i=t.selectedLevel,c=t.onChange;return React.createElement(v,{isCollapsed:n,icon:React.createElement(r,{level:i}),controls:function(e,t){for(var a=[],n=e;n<=t;n++)a.push(n);return a}(o,l).map((function(t){return e.createLevelControl(t,i,c)})),label:h("Change heading level","hayyabuild")})}}])&&u(a.prototype,n),o&&u(a,o),t}(g);function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R(e,t){return!t||"object"!==E(t)&&"function"!=typeof t?S(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}lodash.range;var L=wp,N=L.i18n,H=N.__,I=(N.sprintf,L.element),z=I.Platform,T=I.Fragment,B=I.Component,M=L.components,F=M.PanelBody,j=(M.Toolbar,M.ToggleControl),P=M.SelectControl,A=L.blockEditor,D=A.RichText,V=A.PanelColorSettings,q=A.BlockControls,U=A.AlignmentToolbar,W=A.InspectorControls,K=function(e){function t(){var e;return _(this,t),(e=R(this,C(t).apply(this,arguments))).onChangeContent=e.onChangeContent.bind(S(e)),e.toggleMask=e.toggleMask.bind(S(e)),e.toggleDubleLines=e.toggleDubleLines.bind(S(e)),e.setStyle=e.setStyle.bind(S(e)),e}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O(e,t)}(t,e),a=t,(o=[{key:"onChangeContent",value:function(e){(0,this.props.setAttributes)({content:e})}},{key:"toggleDubleLines",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({dubleLines:!t.dubleLines})}},{key:"toggleMask",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({apllyMask:!t.apllyMask})}},{key:"setStyle",value:function(e){(0,this.props.setAttributes)({separatorStyle:e})}},{key:"render",value:function(){var e,t=this.props,a=t.attributes,o=t.setAttributes,l=t.className,i=t.name,r=a.content,c=a.icon,s=a.align,u=a.level,f=a.dubleLines,d=a.apllyMask,p=a.separatorStyle,y=a.borderColor,b=a.textColor,h=a.id,m=a.classesList;n.H.blockID(h,i,o);var g=z.select({android:!0,native:!1,web:!1}),v="h"+u;return React.createElement(T,null,React.createElement(q,null,!g&&React.createElement(U,{value:s,onChange:function(e){return o({align:e})}}),React.createElement(k,{minLevel:"web"===z.OS?2:1,maxLevel:"web"===z.OS?5:7,selectedLevel:u,onChange:function(e){return o({level:e})}})),React.createElement(W,null,React.createElement(F,{title:H("Separator Settings","hayyabuild")},React.createElement(n.H.getPro,null),"web"===z.OS&&React.createElement(T,null,React.createElement("p",null,H("Text Level","hayyabuild")),React.createElement(k,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:u,onChange:function(e){return o({level:e})}})),React.createElement(n.H.SelectIcon,{title:H("Icon","hayyabuild"),classPlaceholder:H("Insert icon class","hayyabuild"),fliterPlaceholder:H("Search for icon","hayyabuild"),value:c,onSelect:function(e){return o({icon:e})}}),React.createElement(j,{label:H("Duble Lines","hayyabuild"),checked:!!f,onChange:this.toggleDubleLines}),React.createElement(j,{label:H("Apply Mask","hayyabuild"),checked:!!d,onChange:this.toggleMask}),React.createElement(P,{label:H("Separator Style","hayyabuild"),value:p,options:[{label:H("Default","hayyabuild"),Key:"default",value:"Default"},{label:H("Dotted","hayyabuild"),Key:"dotted",value:"dotted"},{label:H("dashed","hayyabuild"),Key:"dashed",value:"dashed"}],onChange:this.setStyle}),React.createElement(n.H.BlocksOptions,{optionsTitle:H("HayyaBuild Options","hayyabuild"),styleTitle:H("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",value:{classesList:m},onChange:function(e){return o({classesList:e.classesList})}})),React.createElement(V,{title:H("Color Settings","hayyabuild"),initialOpen:!1,colorSettings:[{value:b,onChange:function(e){return o({textColor:e})},label:H("Text Color","hayyabuild")},{value:y,onChange:function(e){return o({borderColor:e})},label:H("Separator Color","hayyabuild")}]})),React.createElement("div",{className:n.H.hayyaClasses(l,(e={"separator-mask":d,"duble-lines":f},w(e,s+"-text",s),w(e,p,p),e),{classesList:m},h)},React.createElement("div",{className:"left-separator",style:{borderColor:y}}),React.createElement(D,{tagName:v,className:"separator-text",onChange:this.onChangeContent,value:r,style:{color:b}}),c&&React.createElement("i",{className:c,style:{color:b}}),React.createElement("div",{className:"right-separator",style:{borderColor:y}})))}}])&&x(a.prototype,o),l&&x(a,l),t}(B),G=a(20),$=a.n(G);function Q(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return X})),a.d(t,"settings",(function(){return ee}));var Z=wp,Y=Z.i18n.__,J=Z.blockEditor.RichText,X="hayyabuild/separator",ee={title:Y("Separator","hayyabuild"),description:Y("You can use this block to separate the content vertically.","hayyabuild"),icon:n.H.iconStyle($.a),category:"hayyabuild",attributes:{content:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6"},icon:{type:"string"},align:{type:"string",default:"center"},level:{type:"number",default:4},separatorStyle:{type:"string"},dubleLines:{type:"boolean",default:!1},apllyMask:{type:"boolean",default:!1},borderColor:{type:"string"},textColor:{type:"string"},id:{type:"string"},classesList:{type:"string"}},supports:{align:["wide","full"]},example:{attributes:{content:Y("Separator Block","hayyabuild"),icon:"fa fa-angle-down",dubleLines:!0,borderColor:"#3888DB",textColor:"#3888DB",separatorStyle:"default"}},edit:K,save:function(e){var t,a=e.attributes,o=(e.setAttributes,a.content),l=a.icon,i=a.align,r=a.level,c=a.dubleLines,s=a.apllyMask,u=a.separatorStyle,f=a.borderColor,d=a.textColor,p=a.id,y=a.classesList,b="h"+r,h=o.length>0&&""!==o[0];return React.createElement("div",{className:n.H.hayyaClasses((t={"separator-mask":s,"duble-lines":c},Q(t,i+"-text",!!i),Q(t,u,!!u),t),{classesList:y},p)},React.createElement("div",{className:"left-separator",style:{borderColor:f}}),h&&React.createElement(J.Content,{tagName:b,value:o,style:{color:d}}),l&&React.createElement("i",{className:l,style:{color:d}}),React.createElement("div",{className:"right-separator",style:{borderColor:f}}))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(15),l=a.n(o),i=wp.components,r=i.G,c=i.Path,s=i.SVG,u=React.createElement(s,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement(c,{fill:"none",d:"M0 0h24v24H0V0z"}),React.createElement(r,null,React.createElement(c,{d:"M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"})));function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?m(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=wp,k=v.i18n.__,E=v.element,w=E.Component,_=E.Fragment,x=v.components,R=x.Button,C=x.PanelBody,S=x.RangeControl,O=x.SelectControl,L=x.ToggleControl,N=x.Toolbar,H=x.withNotices,I=v.blockEditor,z=I.RichText,T=I.InspectorControls,B=I.BlockIcon,M=I.MediaPlaceholder,F=I.BlockControls,j=I.MediaUpload,P="hayyabuild-gallerybox",A=["image"],D=H(function(e){function t(){var e;return p(this,t),(e=b(this,h(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(m(e)),e.onSelectImages=e.onSelectImages.bind(m(e)),e.setAttributes=e.setAttributes.bind(m(e)),e.state={selectedImage:null},e}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(t,e),a=t,(o=[{key:"setAttributes",value:function(e){e.images&&(e=e),this.props.setAttributes(e)}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onSelectImages",value:function(e){this.setAttributes({images:e.map((function(e){return{id:e.id,alt:e.alt,url:e.url,caption:e.caption}}))})}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e,t=this,a=this.props,o=a.attributes,l=a.isSelected,i=a.className,r=a.noticeOperations,c=a.noticeUI,s=o.images,f=o.size,p=o.showcaption,y=o.effect,b=o.autoplay,h=o.fitimages,m=o.zoomimage,g=o.id,v=o.classesList,E=!!s.length,w=React.createElement(F,null,React.createElement(N,null,React.createElement(j,{onSelect:this.onSelectImages,allowedTypes:A,multiple:!0,gallery:!0,value:s.map((function(e){return e.id})),render:function(e){var t=e.open;return React.createElement(R,{className:"components-toolbar__control",label:k("Edit gallery","hayyabuild"),icon:"edit",onClick:t})}}))),x=React.createElement(M,{addToGallery:E,isAppender:E,className:i,disableMediaButtons:E&&!l,icon:!E&&React.createElement(B,{icon:u}),labels:{title:!E&&k("Gallery","hayyabuild"),instructions:!E&&k("Drag images, upload new ones or select files from your library.","hayyabuild")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:A,multiple:!0,value:E?s:void 0,onError:r.createErrorNotice,notices:E?void 0:c});return E?React.createElement(_,null,w,React.createElement(T,null,React.createElement(C,{title:k("Gallery Box Settings","hayyabuild")},React.createElement(S,{label:k("Columns size","hayyabuild"),value:f,onChange:function(e){return t.setAttributes({size:e})},min:1,max:5}),React.createElement(L,{label:k("Show Caption","hayyabuild"),help:k("Show caption on image hover.","hayyabuild"),checked:!!p,onChange:function(){t.setAttributes({showcaption:!p})}}),React.createElement(O,{label:k("Transition Effect","hayyabuild"),value:y,options:[{label:k("None","hayyabuild"),Key:"none",value:"none"},{label:k("Fade","hayyabuild"),Key:"fade",value:"fade"}],onChange:function(e){return t.setAttributes({effect:e})}}),React.createElement(L,{label:k("Auto Playing Slideshow","hayyabuild"),help:k("Slideshow paly automatically.","hayyabuild"),checked:!!b,onChange:function(){t.setAttributes({autoplay:!b})}}),React.createElement(L,{label:k("Fit to screen","hayyabuild"),help:k("Fit images to screen.","hayyabuild"),checked:!!h,onChange:function(){t.setAttributes({fitimages:!h})}}),React.createElement(L,{label:k("Zoom Effect","hayyabuild"),help:k("Zoom effect on image hover.","hayyabuild"),checked:!!m,onChange:function(){t.setAttributes({zoomimage:!m})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:k("HayyaBuild Options","hayyabuild"),styleTitle:k("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:g,elementStyle:".".concat(g," .hayyabuild-gallerybox__container"),value:{classesList:v,inlineStyle:!0},onChange:function(e){return t.setAttributes({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses(P,(e={},d(e,"".concat(P,"--showcaption"),!!p),d(e,"".concat(P,"--autoplay"),!!b),d(e,"".concat(P,"--fitimages"),!!h),d(e,"".concat(P,"--zoomimage"),!!m),e),{classesList:v},g),"data-size":f,"data-effect":y},React.createElement("div",{className:"hayyabuild-gallerybox__container"},s.map((function(e,a){return React.createElement("figure",{className:"hayyabuild-gallerybox__container__image",key:e.id||e.url},React.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id}),React.createElement(z,{tagName:"figcaption",placeholder:k("Write caption…","hayyabuild"),value:e.caption,isSelected:t.state.captionSelected,onChange:function(e){return t.setAttributes({caption:e})},unstableOnFocus:t.onSelectCaption,inlineToolbar:!0}))})))),l&&x):React.createElement(_,null,w,x)}}])&&y(a.prototype,o),l&&y(a,l),t}(w));function V(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return K})),a.d(t,"settings",(function(){return $}));var q=wp,U=q.i18n.__,W=q.blockEditor.RichText,K="hayyabuild/gallerybox",G={images:{type:"array",default:[],source:"query",selector:"figure.hayyabuild-gallerybox__container__image",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"}}},size:{type:"string",source:"attribute",attribute:"data-size",selector:".".concat("hayyabuild-gallerybox"),default:"3"},showcaption:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--showcaption"),default:!0},effect:{type:"string",source:"attribute",attribute:"data-effect",selector:".".concat("hayyabuild-gallerybox"),default:"fade"},autoplay:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--autoplay"),default:!0},fitimages:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--fitimages"),default:!0},zoomimage:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--zoomimage"),default:!0},id:{type:"string"},classesList:{type:"string",default:""}},$={title:U("Gallery Box","hayyabuild"),icon:n.H.iconStyle(l.a),description:U('Gallery Box block is a block for displaying images in a Mac-style "lightbox" that floats overtop of web page.',"hayyabuild"),category:"hayyabuild",attributes:G,supports:{align:["wide","full"]},example:{attributes:{images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},edit:D,save:function(e){var t,a=e.attributes,o=(e.className,a.images),l=a.size,i=a.showcaption,r=a.effect,c=a.autoplay,s=a.fitimages,u=a.zoomimage,f=a.id,d=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-gallerybox",(t={},V(t,"".concat("hayyabuild-gallerybox","--showcaption"),!!i),V(t,"".concat("hayyabuild-gallerybox","--autoplay"),!!c),V(t,"".concat("hayyabuild-gallerybox","--fitimages"),!!s),V(t,"".concat("hayyabuild-gallerybox","--zoomimage"),!!u),t),{classesList:d},f),"data-size":l,"data-effect":r},React.createElement("div",{className:"".concat("hayyabuild-gallerybox","__container")},o.map((function(e,t){return React.createElement("figure",{className:"".concat("hayyabuild-gallerybox","__container__image"),key:e.url},React.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id}),React.createElement(W.Content,{tagName:"figcaption",value:e.caption}))})),React.createElement("div",null,React.createElement("div",{class:"hayyabuild-gallerybox__container__next"}),React.createElement("div",{class:"hayyabuild-gallerybox__container__previous"}),React.createElement("div",{class:"hayyabuild-gallerybox__container__close"}))))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=wp.components,l=(o.Path,o.SVG,o.rect,React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40px",height:"40px",viewBox:"0 0 100 100"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#DED559",d:"M7 22L50 0l43 22-43 21.001L7 22z"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#D0881F",d:"M50.003 42.997L7 22v54.28l43.006 21.714-.003-54.997z"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#C7A934",d:"M50 97.994L93.006 76.28V22L50.003 42.997 50 97.994z"}),React.createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",fill:"#CE851B",d:"M27.036 11.705l42.995 21.498 2.263-1.105-43.047-21.524z"}),React.createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",d:"M21.318 14.674L63.3 36.505l15.99-7.809L35.788 7.271z"}),React.createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",d:"M63.312 36.505l15.978-7.818v11l-15.978 8.817V36.505z"}),React.createElement("rect",{x:"0",y:"0",width:"100",height:"100",fill:"rgba(0, 0, 0, 0)"}),React.createElement("path",{clipRule:"evenodd",d:"M16.488 73.027L70.906 18.61c1.172-1.172 4.021-.222 6.364 2.121s3.293 5.193 2.121 6.364L24.973 81.513l-8.485-8.486z",fill:"none"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#2C3E50",d:"M64.906 29.609L12.018 82.497a50.269 50.269 0 0 0 8.847 8.124l52.527-52.527c1.172-1.171.222-4.021-2.121-6.364-2.344-2.342-5.194-3.292-6.365-2.121z"}),React.createElement("path",{fill:"#F0C419",d:"M88.5 23.002c.767-6.901 4.6-10.735 11.5-11.501-6.9-.767-10.734-4.6-11.5-11.5-.767 6.9-4.6 10.734-11.5 11.5 6.899.766 10.733 4.6 11.5 11.501zM31.5 0c-.5 4.5-3 7-7.501 7.501 4.5.5 7.001 3 7.501 7.5.5-4.5 3-7 7.501-7.5C34.5 7 32 4.5 31.5 0zm60 46.001c-.5 4.5-3 7-7.501 7.501 4.5.5 7.001 3 7.501 7.5.5-4.5 3-7 7.501-7.5C94.5 53.001 92 50.5 91.5 46.001z"}),React.createElement("path",{fill:"#fff",d:"M71.5 53c-.367 3.299-2.2 5.133-5.5 5.5 3.3.366 5.134 2.2 5.5 5.499.367-3.299 2.2-5.133 5.5-5.499-3.3-.367-5.134-2.202-5.5-5.5zm-25-31.001c-.367 3.3-2.2 5.134-5.5 5.501 3.3.367 5.134 2.199 5.5 5.5.367-3.301 2.2-5.133 5.5-5.5-3.3-.367-5.134-2.201-5.5-5.501zM58.5 3c-.367 3.298-2.2 5.133-5.5 5.5 3.3.366 5.134 2.2 5.5 5.499.366-3.299 2.2-5.133 5.5-5.499-3.3-.367-5.134-2.202-5.5-5.5z"}),React.createElement("rect",{x:"0",y:"0",width:"100",height:"100",fill:"rgba(0, 0, 0, 0)"})));a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return m}));var i=wp,r=i.i18n.__,c=i.element.Fragment,s=i.components,u=s.PanelBody,f=s.ToggleControl,d=s.TextControl,p=s.SelectControl,y=i.blockEditor.InspectorControls,b=i.blockEditor.InnerBlocks,h="hayyabuild/magicbox",m={title:r("Magic Box","hayyabuild"),icon:n.H.iconStyle(l),description:r("With magic box block you can show or hide inner content based on different conditions. For example some times you need to show some information for only logged-in users or you need to put some content in footer only for the front page.","hayyabuild"),category:"hayyabuild",attributes:{show_in_all:{type:"boolean",default:!1},is_user_logged_in:{type:"string",default:""},is_front_page:{type:"boolean",default:!1},is_home:{type:"boolean",default:!1},is_single:{type:"boolean",default:!1},is_author:{type:"boolean",default:!1},show_pages:{type:"string",default:""},hide_pages:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""},classesName:{type:"string",default:""},is_updated:{type:"boolean",default:!1},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:r("You can use this box to display content under a specific conditions.","hayyabuild"),align:"center"}},{name:"hayyabuild/button",attributes:{text:r("Button","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,l=t.show_in_all,i=t.is_user_logged_in,s=t.is_front_page,m=t.is_home,g=t.is_single,v=t.is_author,k=t.show_pages,E=t.hide_pages,w=t.id,_=t.classesList,x=t.classesName,R=t.style;return n.H.blockID(w,h,a),x!==o&&a({classesName:o}),React.createElement(c,null,React.createElement(y,null,React.createElement(u,{title:r("Magic Box Settings","hayyabuild")},React.createElement(f,{label:r("Show in all pages","hayyabuild"),checked:!!l,onChange:function(){a({show_in_all:!l,is_front_page:!l,is_home:!l,is_single:!l,is_author:!l,is_updated:!0})}}),React.createElement("hr",{className:"hayyabuild-hr-separator"}),React.createElement(p,{label:r("Logged in users","hayyabuild"),value:i,options:[{label:r("Never mind!","hayyabuild"),Key:"",value:""},{label:r("Show","hayyabuild"),Key:"show",value:"show"},{label:r("Hide","hayyabuild"),Key:"hide",value:"hide"}],onChange:function(e){a({is_user_logged_in:e})}}),React.createElement("hr",{className:"hayyabuild-hr-separator"}),React.createElement(f,{label:r("Show in front page","hayyabuild"),checked:!!s,onChange:function(){a({is_front_page:!s,is_updated:!0})}}),React.createElement(f,{label:r("show in blog home page","hayyabuild"),checked:!!m,onChange:function(){a({is_home:!m,is_updated:!0})}}),React.createElement(f,{label:r("show in post page","hayyabuild"),checked:!!g,onChange:function(){a({is_single:!g,is_updated:!0})}}),React.createElement(f,{label:r("Show in author page","hayyabuild"),checked:!!v,onChange:function(){a({is_author:!v,is_updated:!0})}}),!l&&React.createElement(d,{label:r("Show in pages","hayyabuild"),placeholder:r('pages ID’s separated by comma "," .',"hayyabuild"),value:k,onChange:function(e){a({show_pages:e,is_updated:!0})}}),l&&React.createElement(d,{label:r("Hide from pages","hayyabuild"),placeholder:r('pages ID’s separated by comma "," .',"hayyabuild"),value:E,onChange:function(e){a({hide_pages:e,is_updated:!0})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:w,elementStyle:".".concat(w),value:{classesList:_,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses(o,{classesList:_},w),style:R},React.createElement(b,{templateLock:!1})))},save:function(e){e.attributes,e.className;return React.createElement(b.Content,null)}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?s(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=wp,d=f.i18n.__,p=f.element.Component,y=f.components,b=y.PanelBody,h=y.SelectControl,m=y.Button,g=(y.ToggleControl,f.blockEditor),v=g.BlockVerticalAlignmentToolbar,k=g.InspectorControls,E=g.BlockControls,w=f.blockEditor.InnerBlocks,_=n.H.memoize((function(e){for(var t=[],a=e.split("_"),n=1;n<=a.length;n++)t.push(["hayyabuild/column",{}]);return t})),x={"1-2_1-2":"1/2 + 1/2","1-3_1-3_1-3":"1/3 + 1/3 + 1/3","1-3_2-3":"1/3 + 2/3","2-3_1-3":"2/3 + 1/3","1-4_1-4_1-4_1-4":"1/4 + 1/4 + 1/4 + 1/4","1-4_1-2_1-4":"1/4 + 1/2 + 1/4","1-4_1-4_1-2":"1/4 + 1/4 + 1/2","1-2_1-4_1-4":"1/2 + 1/4 + 1/4","1-4_3-4":"1/4 + 3/4","3-4_1-4":"3/4 + 1/4"},R=function(e){function t(){var e;return l(this,t),(e=r(this,c(t).apply(this,arguments))).setColumn=e.setColumn.bind(s(e)),e}var a,o,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"setColumn",value:function(e){this.props.setAttributes({row:e})}},{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,o=t.setAttributes,l=t.className,i=t.name,r=a.row,c=a.device,s=a.verticalAlignment,u=a.id,f=a.classesList;n.H.blockID(u,i,o);var p,y,g,R=[],C=function(t){R.push(React.createElement(m,{label:x[t],className:"hayyabuild-icon icon-"+t,key:t,onClick:function(){e.setColumn(t)}}))};for(var S in x)C(S);return React.createElement(React.Fragment,null,React.createElement(E,null,React.createElement(v,{onChange:function(e){o({verticalAlignment:e})},value:s})),React.createElement(k,null,React.createElement(b,{title:d("Row Settings","hayyabuild")},React.createElement("label",null,d("layouts configuration","hayyabuild")),React.createElement("div",{style:{textAlign:"center"}},R),React.createElement("hr",null),React.createElement(h,{label:d("Screen size","hayyabuild"),value:c,options:[{label:d("Disable responsive","hayyabuild"),Key:"none",value:""},{label:d("Small screens","hayyabuild"),Key:"small",value:"hayyabuild-row-small"},{label:d("Medium screens","hayyabuild"),Key:"medium",value:"hayyabuild-row-medium"},{label:d("Large screens","hayyabuild"),Key:"large",value:"hayyabuild-row-large"}],onChange:function(e){return o({device:e})}}),React.createElement("i",null,d("create responsive grid system for small, medium or large screen sizes.","hayyabuild")),React.createElement("hr",null),React.createElement(n.H.BlocksOptions,{optionsTitle:d("HayyaBuild Options","hayyabuild"),styleTitle:d("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:u,elementStyle:".".concat(u),value:{classesList:f,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(l,"has-".concat(r,"-columns"),(p={},y="hayyabuild-rows-".concat(s,"-columns"),g=!!s,y in p?Object.defineProperty(p,y,{value:g,enumerable:!0,configurable:!0,writable:!0}):p[y]=g,p),{classesList:f},u)},React.createElement(w,{allowedBlocks:["hayyabuild/column"],template:_(r),templateLock:"all"})))}}])&&i(a.prototype,o),f&&i(a,f),t}(p),C=a(16),S=a.n(C);function O(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return I})),a.d(t,"settings",(function(){return z}));var L=wp,N=L.i18n.__,H=L.blockEditor.InnerBlocks,I="hayyabuild/row",z={title:N("Row and Columns","hayyabuild"),description:N('CSS Grid Layout aka "Grid", It is a 2-dimensional grid system, meaning it can handle both columns and rows.',"hayyabuild"),icon:n.H.iconStyle(S.a),category:"hayyabuild",attributes:{row:{type:"string",default:"1-2_1-2"},device:{type:"string"},verticalAlignment:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""}},supports:{align:["wide","full"]},example:{attributes:{row:"1-3_2-3"},innerBlocks:[{name:"hayyabuild/column",attributes:{style:{borderRadius:"3px",padding:"20px 0",background:"#D4ECFF",border:"2px solid transparent"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:N("Column 1","hayyabuild"),align:"center"}}]},{name:"hayyabuild/column",attributes:{style:{borderRadius:"3px",padding:"20px 0",background:"#FFD1E5",border:"2px solid transparent"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:N("Column 2","hayyabuild"),align:"center"}}]}]},edit:R,save:function(e){var t,a=e.attributes,o=a.row,l=a.device,i=a.verticalAlignment,r=a.id,c=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("has-".concat(o,"-columns"),(t={},O(t,l,l),O(t,"hayyabuild-rows-".concat(i,"-columns"),!!i),t),{classesList:c},r)},React.createElement(H.Content,null))},deprecated:[{attributes:{row:{type:"string",default:"1-2_1-2"},device:{type:"string"},middleColumns:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""}},save:function(e){var t,a=e.attributes,o=a.row,l=a.device,i=a.middleColumns,r=a.id,c=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("has-".concat(o,"-columns"),(t={},O(t,l,l),O(t,"hayyabuild-rows-".concat(i,"-columns"),!!i),t),{classesList:c},r)},React.createElement(H.Content,null))}},{attributes:{row:{type:"string",default:"1-2_1-2"},device:{type:"string"},middleColumns:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""}},save:function(e){var t,a=e.attributes,o=a.row,l=a.device,i=a.middleColumns,r=a.id,c=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("has-".concat(o,"-columns"),(t={},O(t,l,l),O(t,"hayyabuild-rows-middle-columns",!!i),t),{classesList:c},r)},React.createElement(H.Content,null))}}]}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=wp,f=u.i18n.__,d=u.element,p=d.Fragment,y=d.Component,b=u.components,h=b.RangeControl,m=b.PanelBody;!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(u.editor);var g=u.blockEditor,v=g.BlockControls,k=g.InspectorControls,E=g.InnerBlocks,w=function(e){function t(){return l(this,t),r(this,c(t).apply(this,arguments))}var a,o,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e,t,a,o=this.props,l=o.attributes,i=o.setAttributes,r=(o.className,o.name),c=l.buttonsSpace,s=l.id,u=l.classesList;return n.H.blockID(s,r,i),React.createElement(p,null,React.createElement(v,null,React.createElement("div",{className:"editor-format-toolbar"})),React.createElement(k,null,React.createElement(m,{title:f("Buttons Group Settings","hayyabuild")},React.createElement(h,{label:f("Space between buttons","hayyabuild"),value:c,onChange:function(e){return i({buttonsSpace:e})},min:0,max:5}),React.createElement(n.H.BlocksOptions,{optionsTitle:f("HayyaBuild Options","hayyabuild"),styleTitle:f("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:s,elementStyle:".".concat(s),value:{classesList:u,inlineStyle:!0},onChange:function(e){return i({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-buttons",(e={},t="".concat("wp-block-hayyabuild-buttons","--space-").concat(c),a=0!==c,t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e),{classesList:u},s)},React.createElement(E,{allowedBlocks:["hayyabuild/button"]})))}}])&&i(a.prototype,o),u&&i(a,u),t}(y),_=a(17),x=a.n(_);a.d(t,"name",(function(){return O})),a.d(t,"settings",(function(){return L}));var R=wp,C=R.i18n.__,S=R.blockEditor.InnerBlocks,O="hayyabuild/buttons",L={title:C("Buttons Group","hayyabuild"),description:C("The buttons block is row of clickable buttons.","hayyabuild"),icon:n.H.iconStyle(x.a),category:"hayyabuild",attributes:{buttonsSpace:{type:"number",default:0},id:{type:"string"},classesList:{type:"string",default:""}},supports:{align:["wide","full"]},example:{innerBlocks:[{name:"hayyabuild/button",attributes:{text:C("Button 1","hayyabuild"),icon:"fa fa-hand-pointer",size:2,style:{background:"#FF6B6B"}}},{name:"hayyabuild/button",attributes:{text:C("Button 2","hayyabuild"),size:2,style:{background:"#FF6BCD"}}},{name:"hayyabuild/button",attributes:{text:C("Button 3","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#A2E23A"}}}]},edit:w,save:function(e){var t,a,o,l=e.attributes,i=l.buttonsSpace,r=l.id,c=l.classesList;return React.createElement("div",{className:n.H.hayyaClasses((t={},a="".concat("wp-hayyabuild-buttons","--space-").concat(i),o=0!==i,a in t?Object.defineProperty(t,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[a]=o,t),{classesList:c},r)},React.createElement(S.Content,null))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?u(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=wp,p=d.i18n.__,y=d.element,b=y.Fragment,h=y.Component,m=d.components,g=m.PanelBody,v=m.ToggleControl,k=m.SelectControl,E=d.blockEditor,w=E.RichText,_=E.BlockControls,x=E.InspectorControls,R=E.PanelColorSettings,C=E.AlignmentToolbar,S=function(e){function t(){var e;return i(this,t),(e=c(this,s(t).apply(this,arguments))).onChangeContent=e.onChangeContent.bind(u(e)),e.onChangeCiteText=e.onChangeCiteText.bind(u(e)),e.toggleStars=e.toggleStars.bind(u(e)),e.setStyle=e.setStyle.bind(u(e)),e}var a,o,d;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),a=t,(o=[{key:"onChangeContent",value:function(e){(0,this.props.setAttributes)({contentText:e})}},{key:"onChangeCiteText",value:function(e){(0,this.props.setAttributes)({citeText:e})}},{key:"toggleStars",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showStars:!t.showStars})}},{key:"setStyle",value:function(e){(0,this.props.setAttributes)({testimonialStyle:e})}},{key:"render",value:function(){var e,t=this.props,a=t.attributes,o=t.setAttributes,i=t.className,r=t.name,c=a.contentText,s=a.align,u=a.showStars,f=a.testimonialStyle,d=a.citeText,y=a.placeholder,h=a.textColor,m=a.citeColor,E=a.id,S=a.classesList;return n.H.blockID(E,r,o),React.createElement(b,null,React.createElement(_,null,React.createElement(C,{value:s,onChange:function(e){return o({align:e})}})),React.createElement(x,null,React.createElement(g,{title:p("Testimonial Settings","hayyabuild")},React.createElement(k,{label:p("Testimonial Style","hayyabuild"),value:f,options:[{label:p("None","hayyabuild"),Key:"none",value:"wp-block-quote"},{label:p("Style 1","hayyabuild"),Key:"hb-quote-style1",value:"hb-quote-style1"}],onChange:this.setStyle}),React.createElement(v,{label:p("Show Stars","hayyabuild"),checked:!!u,onChange:this.toggleStars}),React.createElement(n.H.BlocksOptions,{optionsTitle:p("HayyaBuild Options","hayyabuild"),styleTitle:p("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:E,elementStyle:".".concat(i,".").concat(E),onChange:function(e){return o({classesList:e.classesList})},value:{classesList:S,inlineStyle:!0}})),React.createElement(R,{title:p("Color Settings","hayyabuild"),initialOpen:!1,colorSettings:[{value:h,onChange:function(e){return o({textColor:e})},label:p("Text Color","hayyabuild")},{value:m,onChange:function(e){return o({citeColor:e})},label:p("Cite Color","hayyabuild")}]})),React.createElement("blockquote",{className:n.H.hayyaClasses(i,(e={},l(e,f,f),l(e,"align-"+s,s),e),{classesList:S},E)},React.createElement(w,{tagName:"div",className:"quote",value:c,style:{color:h},placeholder:y||p("Add testimonial text","hayyabuild"),onChange:this.onChangeContent,keepPlaceholderOnFocus:!0}),React.createElement(w,{tagName:"cite",value:d,style:{color:m},placeholder:y||p("Add cite text","hayyabuild"),onChange:this.onChangeCiteText,keepPlaceholderOnFocus:!0}),u&&React.createElement("div",{className:"hb-rating"},React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}))))}}])&&r(a.prototype,o),d&&r(a,d),t}(h),O=a(22),L=a.n(O);function N(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return T})),a.d(t,"settings",(function(){return B}));var H=wp,I=H.i18n.__,z=H.blockEditor.RichText,T="hayyabuild/testimonial",B={title:I("Testimonial","hayyabuild"),description:I("A testimonial is often used to let people know what other people think of you or your product.","hayyabuild"),icon:n.H.iconStyle(L.a),category:"hayyabuild",attributes:{contentText:{type:"text",source:"children",selector:".quote"},citeText:{type:"text",source:"children",selector:"cite"},align:{type:"string",default:"left"},testimonialStyle:{type:"string"},showStars:{type:"boolean",default:!1},textColor:{type:"string"},citeColor:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{contentText:I("A testimonial is often used to let people know what other people think of you or your product.","hayyabuild"),citeText:"ZintaThemes",align:"center",testimonialStyle:"hb-quote-style1",showStars:!0}},edit:S,save:function(e){var t,a=e.attributes,o=a.contentText,l=a.align,i=a.citeText,r=a.showStars,c=a.testimonialStyle,s=a.citeColor,u=a.textColor,f=a.id,d=a.classesList;return React.createElement("blockquote",{className:n.H.hayyaClasses((t={},N(t,c,c),N(t,"align-"+l,l),t),{classesList:d},f)},React.createElement(z.Content,{tagName:"div",className:"quote",value:o,style:{color:u}}),React.createElement(z.Content,{tagName:"cite",value:i,style:{color:s}}),r&&React.createElement("div",{className:"hb-rating"},React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"})))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(29),l=a.n(o);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp,y=p.i18n.__,b=p.element,h=b.Fragment,m=b.Component,g=p.components,v=g.PanelBody,k=g.SelectControl,E=g.Toolbar,w=p.blockEditor,_=w.BlockControls,x=w.InspectorControls,R=w.InnerBlocks,C=[["hayyabuild/doublesidedboxsides",{side:"front"}],["hayyabuild/doublesidedboxsides",{side:"back"}]],S=function(e){function t(){var e;return r(this,t),(e=s(this,u(t).apply(this,arguments))).state={isFlipped:!1},e.flipRef=React.createRef(),e.flipChange=e.flipChange.bind(f(e)),e}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),a=t,(o=[{key:"flipChange",value:function(){var e=this.props.attributes.id,t=this.flipRef.current.querySelector("[data-id=".concat(e,"] > div > div"));t&&(t.classList.contains("flip")?(t.classList.remove("flip"),this.setState({isFlipped:!1})):(t.classList.add("flip"),this.setState({isFlipped:!0})))}},{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,o=t.setAttributes,l=(t.className,t.name),i=a.type,r=a.id,c=a.classesList;n.H.blockID(r,l,o);var s,u,f,d=function(){return{icon:"update",title:y("Flip","hayyabuild"),isActive:!!e.state.isFlipped,onClick:e.flipChange}};return React.createElement(h,null,React.createElement(_,null,React.createElement(E,{controls:["update"].map(d)})),React.createElement(x,null,React.createElement(v,{title:y("Double Sided Box Settings","hayyabuild")},React.createElement(E,{controls:["update"].map(d)}),React.createElement(k,{label:y("Sliding type","hayyabuild"),value:i,options:[{label:y("Flipping","hayyabuild"),key:"flip",value:"flip"},{label:y("Flipping up","hayyabuild"),key:"flipup",value:"flipup"},{label:y("Slide up","hayyabuild"),key:"slideup",value:"slideup"},{label:y("Slide right","hayyabuild"),key:"slideright",value:"slideright"},{label:y("Slide down","hayyabuild"),key:"slidedown",value:"slidedown"},{label:y("Slide left","hayyabuild"),key:"slideleft",value:"slideleft"}],onChange:function(e){return o({type:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:y("HayyaBuild Options","hayyabuild"),styleTitle:y("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:r,elementStyle:".".concat(r),value:{classesList:c,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-doublesidedbox",(s={},u="hayyabuild-doublesidedbox--".concat(i),f=i,u in s?Object.defineProperty(s,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[u]=f,s),{classesList:c},r),ref:this.flipRef},React.createElement("div",{class:"hayyabuild-doublesidedbox__container","data-id":r},React.createElement(R,{allowedBlocks:["hayyabuild/doublesidedboxsides"],template:C,templateLock:"all"}))))}}])&&c(a.prototype,o),l&&c(a,l),t}(m);a.d(t,"name",(function(){return H})),a.d(t,"settings",(function(){return I}));var O=wp,L=O.i18n.__,N=O.blockEditor.InnerBlocks,H="hayyabuild/doublesidedbox",I={title:L("Double Sided Box","hayyabuild"),icon:n.H.iconStyle(l.a),description:L("It`s a box with tow faces the first one is visible and the second one is hidden, but when hover/tap over it the second one will be visible and the first one will be hidden.","hayyabuild"),category:"hayyabuild",attributes:{type:{type:"string",default:"flip"},id:{type:"string"},classesList:{type:"string",default:""}},edit:S,save:function(e){var t,a,o,l=e.attributes,i=l.type,r=l.id,c=l.classesList;return React.createElement("div",{className:n.H.hayyaClasses((t={},a="hayyabuild-doublesidedbox--".concat(i),o=i,a in t?Object.defineProperty(t,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[a]=o,t),{classesList:c},r)},React.createElement("div",{class:"hayyabuild-doublesidedbox__container"},React.createElement(N.Content,null)))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(31),l=a.n(o);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=wp,p=d.i18n.__,y=d.element,b=y.Fragment,h=y.Component,m=d.components,g=m.PanelBody,v=m.ToggleControl,k=d.blockEditor.InspectorControls,E=d.blockEditor.InnerBlocks,w=[["hayyabuild/accordionpanel",{}],["hayyabuild/accordionpanel",{}],["hayyabuild/accordionpanel",{}]],_=function(e){function t(){var e;return r(this,t),(e=s(this,u(t).apply(this,arguments))).state={isFlipped:!1},e}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),a=t,(o=[{key:"flipChange",value:function(){var e=this.props.attributes.id,t=this.flipRef.current.querySelector("[data-id=".concat(e,"] > div > div"));t&&(t.classList.contains("flip")?(t.classList.remove("flip"),this.setState({isFlipped:!1})):(t.classList.add("flip"),this.setState({isFlipped:!0})))}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.name),l=t.vertical,i=t.expandable,r=t.hideplus,c=t.id,s=t.classesList;return n.H.blockID(c,o,a),React.createElement(b,null,React.createElement(k,null,React.createElement(g,{title:p("Accordion Settings","hayyabuild")},React.createElement(v,{label:p("Vertical","hayyabuild"),checked:!!l,onChange:function(){return a({vertical:!l})}}),React.createElement(v,{label:p("Expandable","hayyabuild"),checked:!!i,onChange:function(){return a({expandable:!i})}}),React.createElement(v,{label:p("Hide Plus Icon","hayyabuild"),checked:!!r,onChange:function(){return a({hideplus:!r})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:p("HayyaBuild Options","hayyabuild"),styleTitle:p("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:c,elementStyle:".".concat(c),value:{classesList:s,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses({"hayyabuild-accordion--expandable":i,"hayyabuild-accordion--hideplus":r},{classesList:s},c)},React.createElement(E,{allowedBlocks:["hayyabuild/accordionpanel"],template:w,templateLock:!1})))}}])&&c(a.prototype,o),l&&c(a,l),t}(h);a.d(t,"name",(function(){return S})),a.d(t,"settings",(function(){return O}));var x=wp,R=x.i18n.__,C=x.blockEditor.InnerBlocks,S="hayyabuild/accordion",O={title:R("Accordion","hayyabuild"),icon:n.H.iconStyle(l.a),description:R("The Accordion is a block that organizes content within collapsable items.","hayyabuild"),category:"hayyabuild",attributes:{vertical:{type:"boolean",default:!1},expandable:{type:"boolean",default:!1},hideplus:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},example:{innerBlocks:[{name:"hayyabuild/accordionpanel",attributes:{icon:"fa fa-home",title:R("Accordion Title 1","hayyabuild")}},{name:"hayyabuild/accordionpanel",attributes:{icon:"fa fa-tachometer-alt",title:R("Accordion Title 2","hayyabuild")}},{name:"hayyabuild/accordionpanel",attributes:{icon:"fa fa-shopping-cart",title:R("Accordion Title 3","hayyabuild")}}]},edit:_,save:function(e){var t=e.attributes,a=t.vertical,o=t.expandable,l=t.hideplus,i=t.id,r=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses({"hayyabuild-accordion--expandable":o,"hayyabuild-accordion--hideplus":l,"hayyabuild-accordion--vertical":a},{classesList:r},i)},React.createElement(C.Content,null))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(1),l=a.n(o);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp,y=p.i18n.__,b=p.element,h=b.Fragment,m=b.Component,g=p.components,v=g.PanelBody,k=g.ToggleControl,E=p.blockEditor,w=E.InspectorControls,_=E.RichText,x=p.blockEditor.InnerBlocks,R=function(e){function t(){var e;return r(this,t),(e=s(this,u(t).apply(this,arguments))).state={isExpanded:!1},e.collapseExpandRef=l.a.createRef(),e.bodyRef=l.a.createRef(),e.collapseExpand=e.collapseExpand.bind(f(e)),e}var a,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),a=t,(o=[{key:"collapseExpand",value:function(){this.setState({isExpanded:!this.state.isExpanded})}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.name),i=t.title,r=t.icon,c=t.active,s=t.alwaysactive,u=t.id,f=t.classesList;return n.H.blockID(u,o,a),l.a.createElement(h,null,l.a.createElement(w,null,l.a.createElement(v,{title:y("Accordion Item Settings","hayyabuild")},l.a.createElement(n.H.getPro,null),l.a.createElement(n.H.SelectIcon,{title:y("Icon","hayyabuild"),classPlaceholder:y("Insert icon class","hayyabuild"),fliterPlaceholder:y("Search for icon","hayyabuild"),value:r,onSelect:function(e){return a({icon:e})}}),l.a.createElement(k,{label:y("Always expanded","hayyabuild"),checked:!!s,onChange:function(){return a({alwaysactive:!s})}}),!s&&l.a.createElement(k,{label:y("Expand when load","hayyabuild"),checked:!!c,onChange:function(){return a({active:!c})}}),l.a.createElement(n.H.BlocksOptions,{optionsTitle:y("HayyaBuild Options","hayyabuild"),styleTitle:y("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:u,elementStyle:".".concat(u),value:{classesList:f,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0}}))),l.a.createElement("div",{className:n.H.hayyaClasses("hayyabuild-accordion__content",{"hayyabuild-accordion__content--alwaysactive":!!s,active:!!c},{classesList:f},u)},l.a.createElement("div",{className:"hayyabuild-accordion__content__header"},r&&l.a.createElement("i",{className:r}),l.a.createElement(_,{tagName:"span",className:"hayyabuild-accordion__content__header__title",value:i,placeholder:y("Insert Accordion Title","hayyabuild"),onChange:function(e){return a({title:e})}}),l.a.createElement("i",{className:n.H.hayyaClasses("collapse-expand",{expanded:!!this.state.isExpanded}),onClick:this.collapseExpand,ref:this.collapseExpandRef})),l.a.createElement("div",{className:n.H.hayyaClasses("hayyabuild-accordion__content__body",{expanded:!!this.state.isExpanded})},l.a.createElement(x,{templateLock:!1}))))}}])&&c(a.prototype,o),i&&c(a,i),t}(m);a.d(t,"name",(function(){return N})),a.d(t,"settings",(function(){return H}));var C=wp,S=C.i18n.__,O=C.blockEditor.RichText,L=C.blockEditor.InnerBlocks,N="hayyabuild/accordionpanel",H={title:S("Accordion Panel","hayyabuild"),icon:n.H.iconStyle("archive"),category:"hayyabuild",attributes:{title:{type:"text",source:"children",selector:".hayyabuild-accordion__content__header__title"},icon:{type:"string",source:"attribute",attribute:"class",selector:".hayyabuild-accordion__content__header i",default:""},active:{type:"boolean",default:!1},alwaysactive:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/accordion"],edit:R,save:function(e){var t=e.attributes,a=(e.className,t.title),o=t.icon,l=t.active,i=t.alwaysactive,r=t.id,c=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-accordion__content",{"hayyabuild-accordion__content--alwaysactive":!!i,active:!!l},{classesList:c},r)},React.createElement("div",{className:"hayyabuild-accordion__content__header"},o&&React.createElement("i",{className:o}),React.createElement(O.Content,{tagName:"span",className:"hayyabuild-accordion__content__header__title",value:a})),React.createElement("div",{className:"hayyabuild-accordion__content__body"},React.createElement(L.Content,null)))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(32),l=a.n(o);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d=wp,p=d.i18n.__,y=d.element,b=y.Fragment,h=y.Component,m=d.components,g=m.PanelBody,v=m.ToggleControl,k=m.SelectControl,E=d.blockEditor,w=E.InspectorControls,_=E.AlignmentToolbar,x=E.InnerBlocks,R=[["hayyabuild/tabstab",{}],["hayyabuild/tabstab",{}],["hayyabuild/tabstab",{}]],C=function(e){function t(){var e;return i(this,t),(e=c(this,s(t).apply(this,arguments))).state={isFlipped:!1},e}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.clientId),l=e.name,i=t.align,r=(t.vertical,t.expandable,t.hideplus),c=t.list,s=t.effect,u=t.id,d=t.classesList;return n.H.blockID(u,l,a),function(){var e=wp.data.select("core/block-editor").getBlock(o);if(e){var t={};e.innerBlocks.forEach((function(e){e.attributes.id&&(t[e.attributes.id]={id:e.attributes.id,title:e.attributes.title,icon:e.attributes.icon,active:e.attributes.active})})),t&&(function(e,t){"object"!==f(t)&&(t={});var a=Object.keys(e),n=a.length,o=Object.keys(t);if(n!==o.length)return!1;for(var l=n;l--;){if(a[l]!==o[l])return!1;var i=e[a[l]],r=t[o[l]];if(i.title!==r.title||i.icon!==r.icon||i.active!==r.active)return!1}return!0}(t,c)||a({list:t}))}}(),React.createElement(b,null,React.createElement(w,null,React.createElement(g,{title:p("Tabs Settings","hayyabuild")},React.createElement(_,{label:p("Tabs Alignment","hayyabuild"),value:i,onChange:function(e){return a({align:e})}}),React.createElement(v,{label:p("Hide Plus Icon","hayyabuild"),checked:!!r,onChange:function(){return a({hideplus:!r})}}),React.createElement(k,{label:p("Effect","hayyabuild"),value:s,options:[{label:p("None","hayyabuild"),Key:"none",value:""},{label:p("Fade","hayyabuild"),Key:"fade",value:"fade"},{label:p("Slide Up","hayyabuild"),Key:"slideup",value:"slideup"},{label:p("Swipe Up","hayyabuild"),Key:"swipeup",value:"swipeup"},{label:p("Swipe Left","hayyabuild"),Key:"swipeleft",value:"swipeleft"}],onChange:function(e){return a({effect:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:p("HayyaBuild Options","hayyabuild"),styleTitle:p("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:u,elementStyle:".".concat(u),value:{classesList:d,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses({"hayyabuild-tabs--hideplus":r},{classesList:d},u)},React.createElement(x,{template:R,allowedBlocks:["hayyabuild/tabstab"],defaultBlock:"hayyabuild/tabstab",templateLock:!1})))}}])&&r(a.prototype,o),l&&r(a,l),t}(h);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return I})),a.d(t,"settings",(function(){return z}));var L=wp,N=L.i18n.__,H=L.blockEditor.InnerBlocks,I="hayyabuild/tabs",z={title:N("Tabs","hayyabuild"),description:N("Tabs are components which separate content placed in the same wrapper but in the separate pane.","hayyabuild"),icon:n.H.iconStyle(l.a),category:"hayyabuild",attributes:{vertical:{type:"boolean",default:!1},align:{type:"string"},hideplus:{type:"boolean",default:!1},effect:{type:"string"},list:{type:"object"},id:{type:"string"},classesList:{type:"string",default:""}},example:{innerBlocks:[{name:"hayyabuild/tabstab",attributes:{icon:"fa fa-home",title:N("Tab Title 1","hayyabuild")}},{name:"hayyabuild/tabstab",attributes:{icon:"fa fa-tachometer-alt",title:N("Tab Title 2","hayyabuild")}},{name:"hayyabuild/tabstab",attributes:{icon:"fa fa-shopping-cart",title:N("Tab Title 3","hayyabuild")}}]},edit:C,save:function(e){e.attributes;var t=e.attributes,a=t.align,o=t.vertical,l=(t.expandable,t.hideplus),i=t.effect,r=t.list,c=t.id,s=t.classesList;e.innerBlocks;return React.createElement("div",{className:n.H.hayyaClasses(O({"hayyabuild-tabs--hideplus":!!l,"hayyabuild-tabs--vertical":!!o},"hayyabuild-tabs--".concat(i),!!i),{classesList:s},c)},function(){if(r){var e=n.H.hayyaClasses("hayyabuild-tabs__tabs",O({},"hayyabuild-tabs__tabs--".concat(a),!!a));return React.createElement("ul",{className:e},Object.keys(r).map((function(e,t){if(r[e]&&"object"===S(r[e])){var a=r[e].active?"active":null;return React.createElement("li",{className:a},React.createElement("a",{href:"#".concat(e)},r[e].icon&&React.createElement("i",{className:r[e].icon}),r[e].title))}})))}}(),React.createElement("div",{className:"hayyabuild-tabs__content"},React.createElement(H.Content,null)))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(33),l=a.n(o),i=a(1),r=a.n(i);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?p(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=wp,h=b.i18n.__,m=b.element,g=m.Fragment,v=m.Component,k=b.components,E=k.PanelBody,w=k.ToggleControl,_=b.blockEditor,x=_.RichText,R=_.InspectorControls,C=_.InnerBlocks,S=function(e){function t(){var e;return s(this,t),(e=f(this,d(t).apply(this,arguments))).state={isExpanded:!1},e.collapseExpandRef=r.a.createRef(),e.bodyRef=r.a.createRef(),e.collapseExpand=e.collapseExpand.bind(p(e)),e}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,e),a=t,(o=[{key:"collapseExpand",value:function(){this.setState({isExpanded:!this.state.isExpanded})}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.name),l=t.title,i=t.icon,c=t.active,s=(t.alwaysactive,t.id),u=t.classesList;return n.H.blockID(s,o,a),r.a.createElement(g,null,r.a.createElement(R,null,r.a.createElement(E,{title:h("Tab Settings","hayyabuild")},r.a.createElement(n.H.getPro,null),r.a.createElement(n.H.SelectIcon,{title:h("Icon","hayyabuild"),classPlaceholder:h("Insert icon class","hayyabuild"),fliterPlaceholder:h("Search for icon","hayyabuild"),value:i,onSelect:function(e){return a({icon:e})}}),r.a.createElement(w,{label:h("Active","hayyabuild"),checked:!!c,onChange:function(){return a({active:!c})}}),r.a.createElement(n.H.BlocksOptions,{optionsTitle:h("HayyaBuild Options","hayyabuild"),styleTitle:h("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:s,elementStyle:".".concat(s),value:{classesList:u,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),r.a.createElement("div",{className:n.H.hayyaClasses("hayyabuild-tabs__body",{active:!!c},{classesList:u},s)},r.a.createElement("div",{className:"hayyabuild-tabs__header"},i&&r.a.createElement("i",{className:i}),r.a.createElement(x,{tagName:"span",className:"hayyabuild-tabs__header__title",value:l,placeholder:h("Insert Tab Title","hayyabuild"),onChange:function(e){return a({title:e})}}),r.a.createElement("i",{className:n.H.hayyaClasses("collapse-expand",{expanded:!!this.state.isExpanded}),onClick:this.collapseExpand,ref:this.collapseExpandRef})),r.a.createElement("div",{className:n.H.hayyaClasses("hayyabuild-tabs__body__content",{expanded:!!this.state.isExpanded})},r.a.createElement(C,{templateLock:!1}))))}}])&&u(a.prototype,o),l&&u(a,l),t}(v);a.d(t,"name",(function(){return H})),a.d(t,"settings",(function(){return I}));var O=wp,L=O.i18n.__,N=O.blockEditor.InnerBlocks,H="hayyabuild/tabstab",I={title:L("Tab","hayyabuild"),icon:n.H.iconStyle(l.a),category:"hayyabuild",attributes:{title:{type:"text",default:""},icon:{type:"string",default:""},active:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/tabs"],edit:S,save:function(e){var t=e.attributes,a=(e.className,t.title,t.icon,t.active),o=(t.alwaysactive,t.id),l=t.classesList;return React.createElement("div",{id:o,className:n.H.hayyaClasses("hayyabuild-tabs__body",{active:!!a},{classesList:l},o)},React.createElement(N.Content,null))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=wp,d=f.i18n.__,p=f.element,y=p.Fragment,b=p.Component,h=f.components,m=h.PanelBody,g=h.ToggleControl,v=h.SelectControl,k=h.TextControl,E=h.RangeControl,w=f.editor.MediaPlaceholder,_=f.blockEditor,x=_.RichText,R=_.InspectorControls,C=function(e){function t(){return i(this,t),c(this,s(t).apply(this,arguments))}var a,o,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e,t=this.props,a=t.attributes,o=t.setAttributes,i=t.className,r=t.name,c=a.image,s=a.imgtitle,u=a.icon,f=a.iconsize,p=a.shadow,b=a.hovereffect,h=a.title,_=a.text,C=a.btntitle,S=a.btnlink,O=a.waveeffect,L=a.wavestyle,N=a.id,H=a.classesList;return n.H.blockID(N,r,o),React.createElement(y,null,React.createElement(R,null,React.createElement(m,{title:d("Card Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(n.H.SelectIcon,{title:d("Card Icon","hayyabuild"),classPlaceholder:d("Insert icon class","hayyabuild"),fliterPlaceholder:d("Search for icon","hayyabuild"),value:u,onSelect:function(e){return o({icon:e})}}),u&&React.createElement(E,{label:d("Icons size","hayyabuild"),value:f,onChange:function(e){return o({iconsize:e})},min:1,max:10}),React.createElement(v,{label:d("Hover Effect","hayyabuild"),value:b,options:[{label:d("Empty","hayyabuild"),Key:"empty",value:""},{label:d("Slide Right","hayyabuild"),Key:"slideright",value:"slideright"},{label:d("Slide up","hayyabuild"),Key:"slideup",value:"slideup"},{label:d("Slide Down","hayyabuild"),Key:"slidedown",value:"slidedown"},{label:d("Slide Left","hayyabuild"),Key:"slideleft",value:"slideleft"},{label:d("Scale In","hayyabuild"),Key:"scalein",value:"scalein"},{label:d("Rotate","hayyabuild"),Key:"rotate",value:"rotate"}],onChange:function(e){return o({hovereffect:e})}}),React.createElement(g,{label:d("Shadow Effect","hayyabuild"),checked:!!p,onChange:function(){return o({shadow:!p})}}),React.createElement(g,{label:d("Wave Effect","hayyabuild"),checked:!!O,onChange:function(){return o({waveeffect:!O})}}),!!O&&React.createElement(v,{label:d("Effect color","hayyabuild"),value:L,options:[{label:d("Light","hayyabuild"),Key:"light",value:"light"},{label:d("Red","hayyabuild"),Key:"red",value:"red"},{label:d("Yellow","hayyabuild"),Key:"yellow",value:"yellow"},{label:d("Orange","hayyabuild"),Key:"orange",value:"orange"},{label:d("Purple","hayyabuild"),Key:"purple",value:"purple"},{label:d("Green","hayyabuild"),Key:"green",value:"green"},{label:d("Teal","hayyabuild"),Key:"teal",value:"teal"}],onChange:function(e){return o({wavestyle:e})}}),React.createElement("div",{className:"hayyabuild__admin__block__image",style:{backgroundImage:"url(".concat(c,")")}},React.createElement("button",{href:"#",className:"components-button components-circular-option-picker__clear is-secondary is-small remove-image",onClick:function(){return o({image:void 0})},type:"button"},d("Clear","hayyabuild")),React.createElement(w,{onSelect:function(e){o({image:e.url})},allowedTypes:["image","video"],multiple:!1,labels:{title:d("Card Image","hayyabuild"),instructions:d("Keep it empty to display icon instead.","hayyabuild")}})),React.createElement(k,{label:d("Image title","hayyabuild"),value:s,onChange:function(e){return o({imgtitle:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:d("HayyaBuild Options","hayyabuild"),styleTitle:d("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:N,elementStyle:".".concat(N),onChange:function(e){return o({classesList:e.classesList})},value:{classesList:H,inlineStyle:!0},lite:{style:!0}})),React.createElement(m,{title:d("Button Settings","hayyabuild")},React.createElement(k,{label:d("Button title","hayyabuild"),value:C,onChange:function(e){return o({btntitle:e})}}),React.createElement(k,{label:d("Button Link","hayyabuild"),value:S,onChange:function(e){return o({btnlink:e})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-card",(e={},l(e,"".concat(i),!0),l(e,"hayyabuild-card--shadow",!!p),l(e,"hayyabuild-card--".concat(b),!!b),l(e,"waves-effect",!!O),l(e,"waves-".concat(L),!!O&&!!L),e),{classesList:H},N)},React.createElement("div",{class:"hayyabuild-card__header"},c&&React.createElement("img",{title:s,className:"hayyabuild-card__header__image",src:c}),u&&!c&&React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-card__header__icon","hayyabuild-card__header__icon--size-".concat(f))},React.createElement("i",{class:u})),React.createElement(x,{tagName:"div",className:"hayyabuild-card__header__title",value:h,placeholder:d("Add card title","hayyabuild"),onChange:function(e){return o({title:e})}})),React.createElement("div",{class:"hayyabuild-card__body"},React.createElement("div",{className:"hayyabuild-card__body__content"},React.createElement(x,{tagName:"div",value:_,placeholder:d("Add card text","hayyabuild"),onChange:function(e){return o({text:e})}}),C&&S&&React.createElement("a",{title:C,href:S,className:n.H.hayyaClasses("hayyabuild-card__body__button",l({"waves-effect":!!O},"waves-".concat(L),!!O&&!!L))},C)))))}}])&&r(a.prototype,o),f&&r(a,f),t}(b),S=a(37),O=a.n(S);function L(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return z})),a.d(t,"settings",(function(){return T}));var N=wp,H=N.i18n.__,I=N.blockEditor.RichText,z="hayyabuild/card",T={title:H("Info Card","hayyabuild"),description:H("Information cards are personal digital identities that people can use online, and the key component of an identity metasystem.","hayyabuild"),icon:n.H.iconStyle(O.a),category:"hayyabuild",attributes:{image:{type:"url",source:"attribute",attribute:"src",selector:".hayyabuild-card__header__image"},imgtitle:{type:"string",source:"attribute",attribute:"title",selector:".hayyabuild-card__header__image",default:""},icon:{type:"string",source:"attribute",attribute:"class",selector:".hayyabuild-card__header__icon > i"},iconsize:{type:"number",default:3},shadow:{type:"string",source:"attribute",attribute:"class",selector:".hayyabuild-card--shadow"},hovereffect:{type:"string"},title:{type:"text",source:"children",selector:".hayyabuild-card__header__title"},text:{type:"text",source:"children",selector:".hayyabuild-card__body__content > div"},btntitle:{type:"string",source:"attribute",attribute:"title",selector:".hayyabuild-card__body__button"},btnlink:{type:"url",source:"attribute",attribute:"href",selector:".hayyabuild-card__body__button"},waveeffect:{type:"string",source:"attribute",attribute:"class",selector:".waves-effect"},wavestyle:{type:"string",default:"light"},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{icon:"fa fa-shopping-cart",shadow:!0,title:H("Card Title","hayyabuild"),text:H("Information cards are personal digital identities that people can use online, and the key component of an identity metasystem.","hayyabuild"),btntitle:H("Card Button","hayyabuild"),btnlink:"#"}},edit:C,save:function(e){var t,a=e.attributes,o=a.image,l=a.imgtitle,i=a.icon,r=a.iconsize,c=a.shadow,s=a.hovereffect,u=a.title,f=a.text,d=a.btntitle,p=a.btnlink,y=a.waveeffect,b=a.wavestyle,h=a.id,m=a.classesList,g=1===u.length&&""!==u[0]||u.length>1;return React.createElement("div",{className:n.H.hayyaClasses((t={"hayyabuild-card--shadow":!!c},L(t,"hayyabuild-card--".concat(s),!!s),L(t,"waves-effect",!!y),L(t,"waves-".concat(b),!!y&&!!b),t),{classesList:m},h)},React.createElement("div",{class:"hayyabuild-card__header"},o&&React.createElement("img",{title:l,className:"hayyabuild-card__header__image",src:o}),i&&!o&&React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-card__header__icon","hayyabuild-card__header__icon--size-".concat(r))},React.createElement("i",{class:i})),g&&React.createElement(I.Content,{tagName:"div",className:"hayyabuild-card__header__title",value:u})),React.createElement("div",{class:"hayyabuild-card__body"},React.createElement("div",{className:"hayyabuild-card__body__content"},React.createElement(I.Content,{tagName:"div",className:"hayyabuild-card__body__content",value:f}),d&&p&&React.createElement("a",{title:d,href:p,className:n.H.hayyaClasses("hayyabuild-card__body__button",L({"waves-effect":!!y},"waves-".concat(b),!!y&&!!b))},d))))}}}]); 22 */var n=a(9),o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,l=o?Symbol.for("react.portal"):60106,i=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113;o&&Symbol.for("react.suspense_list");var y=o?Symbol.for("react.memo"):60115,b=o?Symbol.for("react.lazy"):60116;o&&Symbol.for("react.fundamental"),o&&Symbol.for("react.responder"),o&&Symbol.for("react.scope");var h="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=1;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function k(e,t,a){this.props=e,this.context=t,this.refs=v,this.updater=a||g}function w(){}function E(e,t,a){this.props=e,this.context=t,this.refs=v,this.updater=a||g}k.prototype.isReactComponent={},k.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},k.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=k.prototype;var _=E.prototype=new w;_.constructor=E,n(_,k.prototype),_.isPureReactComponent=!0;var R={current:null},x={current:null},C=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,a){var n,o={},l=null,i=null;if(null!=t)for(n in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(l=""+t.key),t)C.call(t,n)&&!S.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(1===c)o.children=a;else if(1<c){for(var s=Array(c),u=0;u<c;u++)s[u]=arguments[u+2];o.children=s}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===o[n]&&(o[n]=c[n]);return{$$typeof:r,type:e,key:l,ref:i,props:o,_owner:x.current}}function L(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var N=/\/+/g,H=[];function T(e,t,a,n){if(H.length){var o=H.pop();return o.result=e,o.keyPrefix=t,o.func=a,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:a,context:n,count:0}}function I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>H.length&&H.push(e)}function B(e,t,a){return null==e?0:function e(t,a,n,o){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var c=!1;if(null===t)c=!0;else switch(i){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case r:case l:c=!0}}if(c)return n(o,t,""===a?"."+P(t,0):a),1;if(c=0,a=""===a?".":a+":",Array.isArray(t))for(var s=0;s<t.length;s++){var u=a+P(i=t[s],s);c+=e(i,u,n,o)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=h&&t[h]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),s=0;!(i=t.next()).done;)c+=e(i=i.value,u=a+P(i,s++),n,o);else if("object"===i)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return c}(e,"",t,a)}function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function j(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,a){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?z(e,n,a,(function(e){return e})):null!=e&&(L(e)&&(e=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(N,"$&/")+"/")+a)),n.push(e))}function z(e,t,a,n,o){var r="";null!=a&&(r=(""+a).replace(N,"$&/")+"/"),B(e,F,t=T(t,r,n,o)),I(t)}function M(){var e=R.current;if(null===e)throw Error(m(321));return e}var A={Children:{map:function(e,t,a){if(null==e)return e;var n=[];return z(e,n,null,t,a),n},forEach:function(e,t,a){if(null==e)return e;B(e,j,t=T(null,null,t,a)),I(t)},count:function(e){return B(e,(function(){return null}),null)},toArray:function(e){var t=[];return z(e,t,null,(function(e){return e})),t},only:function(e){if(!L(e))throw Error(m(143));return e}},createRef:function(){return{current:null}},Component:k,PureComponent:E,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:d,render:e}},lazy:function(e){return{$$typeof:b,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return M().useCallback(e,t)},useContext:function(e,t){return M().useContext(e,t)},useEffect:function(e,t){return M().useEffect(e,t)},useImperativeHandle:function(e,t,a){return M().useImperativeHandle(e,t,a)},useDebugValue:function(){},useLayoutEffect:function(e,t){return M().useLayoutEffect(e,t)},useMemo:function(e,t){return M().useMemo(e,t)},useReducer:function(e,t,a){return M().useReducer(e,t,a)},useRef:function(e){return M().useRef(e)},useState:function(e){return M().useState(e)},Fragment:i,Profiler:s,StrictMode:c,Suspense:p,createElement:O,cloneElement:function(e,t,a){if(null==e)throw Error(m(267,e));var o=n({},e.props),l=e.key,i=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,c=x.current),void 0!==t.key&&(l=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)C.call(t,u)&&!S.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=a;else if(1<u){s=Array(u);for(var f=0;f<u;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:r,type:e.type,key:l,ref:i,props:o,_owner:c}},createFactory:function(e){var t=O.bind(null,e);return t.type=e,t},isValidElement:L,version:"16.12.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:n}},D={default:A},q=D&&A||D;e.exports=q.default||q},function(e,t,a){var n=a(1),o=a(39);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,'.fullScreen-activated{height:150vh;left:0}div.react-opensstreetmap-leaflet{position:relative;overflow:hidden;width:100%;height:100%}div.react-opensstreetmap-leaflet .hayyabuild-map{position:relative;height:100%;width:100%;top:0;left:0;right:0;bottom:0}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button,div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker,div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button{display:block;position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;z-index:15;overflow:hidden;padding:0 5px;border:1px solid rgba(255,255,255,0.5);background-color:#0085ba;color:#FFF;box-shadow:0 0 5px rgba(0,0,0,0.4);transform:scale(0.8);cursor:pointer;transition:transform 0.3s ease-out}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button:not(.disabled):not(.add-marker):hover,div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker:not(.disabled):not(.add-marker):hover,div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button:not(.disabled):not(.add-marker):hover{background-color:#005D82;transform:scale(1)}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button i,div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker i,div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button i{display:block;height:20px;width:20px;font-size:16px;line-height:20px}div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button{top:40px;background-color:#EE8700}div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button:hover{background-color:#F0A036;transform:scale(1)}div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker{background-color:#00BA49;top:80px}div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker:hover{background-color:#00983B;transform:scale(1)}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button.disabled{background-color:#AAA;color:#FFF;cursor:not-allowed}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers{position:absolute;top:0;left:100%;width:50%;min-width:300px;max-width:400px;height:100%;z-index:16}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker{position:absolute;padding:10px;width:100%;height:100%;top:0;left:-100%;font-size:0.9rem;background-color:rgba(255,255,255,0.75);border:1px solid rgba(255,255,255,0.95);overflow-y:scroll;overflow-x:hidden;transform:scaleX(0);transform-origin:right;transition:transform 0.2s, opacity 0.3s 0.2s;box-shadow:0 0 15px rgba(0,0,0,0.3)}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker.show{opacity:1;transform:scaleX(1);transition:transform 0.2s, opacity 0.7s}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker span.info{display:block;font-size:12px;color:#555}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .close-editor,div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker{margin-bottom:5px;width:30px;padding:0;border-radius:50%;border:none;background-color:#11A0D2;height:30px;cursor:pointer;color:#FFF}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .close-editor i,div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker i{font-size:20px;line-height:24px}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .close-editor:hover,div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker:hover{background-color:#278AAD}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker{background-color:#FF8A8A}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker:hover{background-color:#FF5F5F}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .marker-icon-type{text-align:center}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .marker-icon-type svg{width:40px;height:40px;cursor:pointer;margin:10px 3px;padding:5px;border-radius:3px;border:1px solid rgba(0,0,0,0.1);transition:all 0.3s ease-out}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .marker-icon-type svg:hover{background-color:rgba(0,0,0,0.1)}div.react-opensstreetmap-leaflet__loading{display:none}div.react-opensstreetmap-leaflet__loading.show-loading,div.react-opensstreetmap-leaflet__loading.show-success,div.react-opensstreetmap-leaflet__loading.show-error{position:absolute;display:block;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:20;transition:background-color 0.5s}div.react-opensstreetmap-leaflet__loading.show-loading .loading__icon,div.react-opensstreetmap-leaflet__loading.show-success .loading__icon,div.react-opensstreetmap-leaflet__loading.show-error .loading__icon{position:absolute;display:inline-block;width:120px;height:120px;top:50%;left:50%;transform:translate(-50%, -50%)}div.react-opensstreetmap-leaflet__loading.show-loading .loading__icon:after,div.react-opensstreetmap-leaflet__loading.show-success .loading__icon:after,div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:after{position:absolute;top:0;content:" ";display:block;width:120px;height:120px;margin:1px;border:10px solid #FFF;transition:width 0.3s}div.react-opensstreetmap-leaflet__loading.show-loading{background-color:rgba(255,245,100,0.5)}div.react-opensstreetmap-leaflet__loading.show-success{background-color:rgba(100,245,100,0.5)}div.react-opensstreetmap-leaflet__loading.show-error{background-color:rgba(255,100,100,0.5)}div.react-opensstreetmap-leaflet__loading.show-loading .loading__icon:after{border-radius:50%;border:10px solid #FFF;border-color:#FFF transparent #FFF transparent;animation:lds-dual-ring 1.2s linear infinite}div.react-opensstreetmap-leaflet__loading.show-success .loading__icon{width:60px}div.react-opensstreetmap-leaflet__loading.show-success .loading__icon:after{width:60px;border:10px solid #FFF;border-color:transparent #FFF #FFF transparent;transform:rotateZ(45deg);transform-origin:right}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon{width:10px}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:before{content:" ";display:block;margin:1px}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:before,div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:after{position:absolute;top:0;width:10px;height:120px;border:none;background-color:#FFF;transform:rotateZ(-45deg);transition:width 0.3s, border-radius 0.3s}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:after{transform:rotateZ(45deg)}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}div.react-opensstreetmap-leaflet .hayyabuild-map-info.show{position:absolute;z-index:18;top:auto;bottom:10px;right:10px;color:#333;background-color:#FFF;border-radius:3px;padding:5px 10px;font-size:14px;box-shadow:0 5px 10px rgba(0,0,0,0.2)}\n',""]),e.exports=t},function(e,t,a){var n=a(1),o=a(41);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,".hb-select-icon{position:relative;border:1px solid #EEE;padding:0;margin:20px 0;text-align:center;background-color:#FFF;height:40px}.hb-select-icon a:active,.hb-select-icon a:focus{outline:none;box-shadow:none}.hb-select-icon a.toggle{position:relative;display:block;width:100%;height:40px;line-height:30px;background-color:#fafafa;color:#555;text-decoration:none;padding:5px 10px;outline:none;border-radius:1px;text-align:left;z-index:9999}.hb-select-icon a.toggle:focus{outline:none}.hb-select-icon a.toggle:after{content:'\\f107';font-family:'FontAwesome';position:absolute;right:10px;top:5px}.hb-select-icon a.toggle.opened{z-index:999999}.hb-select-icon a.toggle.opened:after{content:'\\f106'}.hb-select-icon .icons-container{height:0;overflow:hidden;position:absolute;width:100%;top:0;left:0;z-index:999;background-color:#FFF;border:1px solid #EEE;transition:height .2s ease-in, box-shadow .2s ease-in;padding-top:40px}.hb-select-icon .icons-container.opened{height:340px;z-index:99999;box-shadow:0px 5px 15px rgba(5,5,5,0.3)}.hb-select-icon .icons-container input[type=text],.hb-select-icon .icons-container input[type=search]{display:inline-block;width:48%;margin:0;border-radius:0;border:0;border-bottom:1px solid #CCC}.hb-select-icon .icons-container input[type=text][type=text],.hb-select-icon .icons-container input[type=search][type=text]{margin-right:2%}.hb-select-icon .icons-container input[type=text]:focus,.hb-select-icon .icons-container input[type=search]:focus{box-shadow:none;border-bottom:1px solid #888}.hb-select-icon .icons-container ul{overflow-y:scroll;overflow-x:hidden;height:250px;display:block;widows:100%;text-align:center;list-style:none}.hb-select-icon .icons-container ul li{display:inline-block;margin:1%;width:18%;height:37px}.hb-select-icon .icons-container ul li a{display:inline-block;width:100%;height:100%;border:1px solid #DDD;background-color:#f8f8f8;color:#555;border-radius:1px;text-align:center;transition:color .1s ease-in}.hb-select-icon .icons-container ul li a.active{background-color:#0085ba;color:#ffffff}.hb-select-icon .icons-container ul li a:hover{color:#0085ba;background-color:#EEE}.hb-select-icon .icons-container ul li a:hover i{transform:scale(1.5)}.hb-select-icon .icons-container ul li a i{line-height:35px;font-size:17px;transition:transform .1s linear;transform:scale(1)}\n",""]),e.exports=t},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.InlineIcon=t.Icon=void 0;var n,o=(n=a(10))&&n.__esModule?n:{default:n};function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=0,c=/(-?[0-9.]*[0-9]+[0-9.]*)/g,s=/^-?[0-9.]*[0-9]+[0-9.]*$/g,u=["width","height","inline","hFlip","vFlip","flip","rotate","align","color","box"],f={left:0,top:0,width:16,height:16,rotate:0,hFlip:!1,vFlip:!1};var d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._item=t}var t,a,n;return t=e,n=[{key:"splitAttributes",value:function(e){var t={icon:Object.create(null),node:Object.create(null)};return Object.keys(e).forEach((function(a){t[-1===u.indexOf(a)?"node":"icon"][a]=e[a]})),t}},{key:"calculateDimension",value:function(e,t,a){if(1===t)return e;if(a=void 0===a?100:a,"number"==typeof e)return Math.ceil(e*t*a)/a;var n=e.split(c);if(null===n||!n.length)return null;for(var o,r=[],l=n.shift(),i=s.test(l);;){if(i?(o=parseFloat(l),isNaN(o)?r.push(l):r.push(Math.ceil(o*t*a)/a)):r.push(l),void 0===(l=n.shift()))return r.join("");i=!i}}},{key:"replaceIDs",value:function(e){var t,a,n=/\sid="(\S+)"/g,o=[];function r(e,t,a){for(var n=0;-1!==(n=a.indexOf(e,n));)a=a.slice(0,n)+t+a.slice(n+e.length),n+=t.length;return a}for(;t=n.exec(e);)o.push(t[1]);return o.length?(a="IconifyId-"+Date.now().toString(16)+"-"+(16777216*Math.random()|0).toString(16)+"-",o.forEach((function(t){var n=a+i;i++,e=r('="'+t+'"','="'+n+'"',e),e=r('="#'+t+'"','="#'+n+'"',e),e=r("(#"+t+")","(#"+n+")",e)})),e):e}}],(a=[{key:"getAttributes",value:function(t){var a=this._item;"object"!==r(t)&&(t=Object.create(null));var n={horizontal:"center",vertical:"middle",slice:!1},o={rotate:a.rotate,hFlip:a.hFlip,vFlip:a.vFlip},l=Object.create(null),i=Object.create(null),c=!0===t.inline||"true"===t.inline||"1"===t.inline,s={left:a.left,top:c?a.inlineTop:a.top,width:a.width,height:c?a.inlineHeight:a.height};if(["hFlip","vFlip"].forEach((function(e){void 0===t[e]||!0!==t[e]&&"true"!==t[e]&&"1"!==t[e]||(o[e]=!o[e])})),void 0!==t.flip&&t.flip.toLowerCase().split(/[\s,]+/).forEach((function(e){switch(e){case"horizontal":o.hFlip=!o.hFlip;break;case"vertical":o.vFlip=!o.vFlip}})),void 0!==t.rotate){var u=t.rotate;if("number"==typeof u)o.rotate+=u;else if("string"==typeof u){var f=u.replace(/^-?[0-9.]*/,"");if(""===f)u=parseInt(u),isNaN(u)||(o.rotate+=u);else if(f!==u){var d=!1;switch(f){case"%":d=25;break;case"deg":d=90}d&&(u=parseInt(u.slice(0,u.length-f.length)),isNaN(u)||(o.rotate+=Math.round(u/d)))}}}var p,y=[];switch(o.hFlip?o.vFlip?o.rotate+=2:(y.push("translate("+(s.width+s.left)+" "+(0-s.top)+")"),y.push("scale(-1 1)"),s.top=s.left=0):o.vFlip&&(y.push("translate("+(0-s.left)+" "+(s.height+s.top)+")"),y.push("scale(1 -1)"),s.top=s.left=0),o.rotate%4){case 1:p=s.height/2+s.top,y.unshift("rotate(90 "+p+" "+p+")"),0===s.left&&0===s.top||(p=s.left,s.left=s.top,s.top=p),s.width!==s.height&&(p=s.width,s.width=s.height,s.height=p);break;case 2:y.unshift("rotate(180 "+(s.width/2+s.left)+" "+(s.height/2+s.top)+")");break;case 3:p=s.width/2+s.left,y.unshift("rotate(-90 "+p+" "+p+")"),0===s.left&&0===s.top||(p=s.left,s.left=s.top,s.top=p),s.width!==s.height&&(p=s.width,s.width=s.height,s.height=p)}var b,h,m=t.width?t.width:null,g=t.height?t.height:null;null===m&&null===g&&(g="1em"),null!==m&&null!==g?(b=m,h=g):null!==m?(b=m,h=e.calculateDimension(b,s.height/s.width)):(h=g,b=e.calculateDimension(h,s.width/s.height)),!1!==b&&(i.width="auto"===b?s.width:b),!1!==h&&(i.height="auto"===h?s.height:h),c&&0!==a.verticalAlign&&(l["vertical-align"]=a.verticalAlign+"em"),void 0!==t.align&&t.align.toLowerCase().split(/[\s,]+/).forEach((function(e){switch(e){case"left":case"right":case"center":n.horizontal=e;break;case"top":case"bottom":case"middle":n.vertical=e;break;case"crop":n.slice=!0;break;case"meet":n.slice=!1}})),i.preserveAspectRatio=function(e){var t;switch(e.horizontal){case"left":t="xMin";break;case"right":t="xMax";break;default:t="xMid"}switch(e.vertical){case"top":t+="YMin";break;case"bottom":t+="YMax";break;default:t+="YMid"}return t+=e.slice?" slice":" meet"}(n),i.viewBox=s.left+" "+s.top+" "+s.width+" "+s.height;var v=e.replaceIDs(a.body);return void 0!==t.color&&(v=v.replace(/currentColor/g,t.color)),y.length&&(v='<g transform="'+y.join(" ")+'">'+v+"</g>"),!0!==t.box&&"true"!==t.box&&"1"!==t.box||(v+='<rect x="'+s.left+'" y="'+s.top+'" width="'+s.width+'" height="'+s.height+'" fill="rgba(0, 0, 0, 0)" />'),{attributes:i,body:v,style:l}}},{key:"getSVG",value:function(t,a){var n=e.splitAttributes(t),o=this.getAttributes(n.icon),r='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"';return a&&Object.keys(n.node).forEach((function(e){r+=" "+e+'="'+n.node[e]+'"'})),Object.keys(o.attributes).forEach((function(e){r+=" "+e+'="'+o.attributes[e]+'"'})),r+=' style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);',Object.keys(o.style).forEach((function(e){r+=" "+e+": "+o.style[e]+";"})),t&&void 0!==t.style&&(r+=t.style),r+='">',r+=o.body+"</svg>"}}])&&l(t.prototype,a),n&&l(t,n),e}();function p(e,t){if("object"!==r(e.icon))return null;var a=d.splitAttributes(e),n=a.icon,l=a.node;delete l.icon,void 0===n.inline&&(n.inline=t);var i,c,s=new d((i=e.icon,void 0===(c=Object.assign(Object.create(null),f,i)).inlineTop&&(c.inlineTop=c.top),void 0===c.inlineHeight&&(c.inlineHeight=c.height),void 0===c.verticalAlign&&(c.verticalAlign=c.height%7==0&&c.height%8!=0?-.143:-.125),c)).getAttributes(n),u={transform:"rotate(360deg)"};void 0!==s.style["vertical-align"]&&(u.verticalAlign=s.style["vertical-align"]),void 0!==e.style&&(u=Object.assign(u,e.style));var p=Object.assign({xmlns:"http://www.w3.org/2000/svg",focusable:!1,style:u},l,s.attributes);return p.dangerouslySetInnerHTML={__html:s.body},o.default.createElement("svg",p,null)}var y=function(e){return p(e,!1)};t.Icon=y;t.InlineIcon=function(e){return p(e,!0)};var b=y;t.default=b},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return m})),a.d(t,"settings",(function(){return g}));var n=a(0);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,l=r.i18n.__,i=r.element.Fragment,c=r.components,s=c.PanelBody,u=c.ToggleControl,f=r.blockEditor,d=f.InspectorControls,p=f.AlignmentToolbar,y=r.blockEditor,b=y.InnerBlocks,h=y.BlockControls,m="hayyabuild/contentbox",g={title:l("Content Box","hayyabuild"),icon:n.H.iconStyle("analytics"),description:l("The Content Box block is a generic container for flow content. It has no effect on the content or layout until customize it with all options provided by HayyaBuild.","hayyabuild"),category:"hayyabuild",attributes:{container:{type:"boolean",default:!1},textAlign:{type:"string"},align:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},supports:{align:["wide","full"]},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:l("The Content Box block is a generic container for flow content. It has no effect on the content or layout until customize it with all options provided by HayyaBuild.","hayyabuild"),textAlign:"center"}},{name:"hayyabuild/button",attributes:{text:l("Button","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t,a=e.attributes,r=e.setAttributes,c=e.className,f=(e.clientId,e.isSelected,a.container),y=a.textAlign,g=a.align,v=a.id,k=a.classesList,w=a.style;return n.H.blockID(v,m,r),React.createElement(i,null,React.createElement(h,null,React.createElement(p,{title:l("Content Alignment","hayyabuild"),value:y,onChange:function(e){return r({textAlign:e})}})),React.createElement(d,null,React.createElement(s,{title:l("Content Box Settings","hayyabuild")},React.createElement(u,{label:l("Container Box","hayyabuild"),checked:!!f,onChange:function(){r({container:!f})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:v,elementStyle:".".concat(v),value:{classesList:k,inlineStyle:!0},onChange:function(e){return r({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(c,"wp-block-hayyabuild-contentbox",(t={container:f},o(t,"align-"+y,y),o(t,"align-"+g,g),t),{classesList:k},v),style:w},React.createElement(b,{templateLock:!1})))},save:function(e){var t,a=e.attributes,r=(e.className,a.container),l=a.textAlign,i=a.align,c=a.id,s=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses((t={container:r},o(t,"align-"+l,l),o(t,"align-"+i,i),t),{classesList:s},c)},React.createElement(b.Content,null))},deprecated:[{attributes:{container:{type:"boolean",default:!1},align:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},save:function(e){var t=e.attributes,a=(e.className,t.container),r=t.align,l=t.id,i=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses(o({container:a},"align-"+r,r),{classesList:i},l)},React.createElement(b.Content,null))}}]}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return g})),a.d(t,"settings",(function(){return k}));var n=a(0),o=a(13),r=a.n(o);function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var i=wp,c=i.i18n.__,s=i.element.Fragment,u=i.components,f=u.PanelBody,d=u.ToggleControl,p=i.blockEditor,y=p.BlockControls,b=p.InspectorControls,h=p.AlignmentToolbar,m=p.InnerBlocks,g=(i.data.select,"hayyabuild/stickybox"),v="hayyabuild-stickybox",k={title:c("Sticky Box","hayyabuild"),icon:n.H.iconStyle(r.a),description:c("This content box will stick to the screen when you reach scroll position.","hayyabuild"),category:"hayyabuild",attributes:{align:{type:"string"},container:{type:"boolean",default:!1},onlyFixed:{type:"boolean",default:!1},afterHeaderEnd:{type:"boolean",default:!1},showOnScrollup:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},supports:{align:["wide","full"]},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:c("This content box will stick to the screen when you reach scroll position.","hayyabuild"),align:"center"}},{name:"hayyabuild/button",attributes:{text:c("Button","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t,a=e.attributes,o=e.setAttributes,r=e.className,i=e.name,u=a.container,p=a.align,g=a.id,k=a.onlyFixed,w=a.afterHeaderEnd,E=a.showOnScrollup,_=a.classesList,R=a.style;return n.H.blockID(g,i,o),React.createElement(s,null,React.createElement(y,null,React.createElement(h,{value:p,onChange:function(e){return o({align:e})}})),React.createElement(b,null,React.createElement(f,{title:c("Sticky box Settings","hayyabuild")},React.createElement(d,{label:c("Add Container Box","hayyabuild"),checked:!!u,onChange:function(){o({container:!u})}}),React.createElement(d,{label:c("Show Only Sticky","hayyabuild"),checked:!!k,onChange:function(){o({onlyFixed:!k})}}),React.createElement(d,{label:c("Show it After Header Ends","hayyabuild"),checked:!!w,onChange:function(){o({afterHeaderEnd:!w})}}),React.createElement(d,{label:c("Show it when Scroll up","hayyabuild"),checked:!!E,onChange:function(){o({showOnScrollup:!E})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:g,elementStyle:".".concat(g,".stickybox-fixed"),value:{classesList:_,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})}}))),React.createElement("div",{id:g,className:n.H.hayyaClasses(r,(t={},l(t,"".concat(v,"--add-container"),u),l(t,"".concat(v,"--only-fixed"),k),l(t,"".concat(v,"--after-header-end"),w),l(t,"".concat(v,"--show-on-scrollup"),E),l(t,"hb-"+p,p),t),{classesList:_},g,"stickybox-fixed"),style:R},React.createElement("div",{className:"stickybox-container"},React.createElement(m,{templateLock:!1}))))},save:function(e){var t,a=e.attributes,o=a.container,r=a.align,i=a.id,c=a.onlyFixed,s=a.afterHeaderEnd,u=a.showOnScrollup,f=a.classesList;return React.createElement("div",{id:i,className:n.H.hayyaClasses((t={},l(t,"".concat(v,"--add-container"),o),l(t,"".concat(v,"--only-fixed"),c),l(t,"".concat(v,"--after-header-end"),s),l(t,"".concat(v,"--show-on-scrollup"),u),l(t,"hb-"+r,r),t),{classesList:f},i)},React.createElement("div",{className:"stickybox-container"},React.createElement(m.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return f})),a.d(t,"settings",(function(){return d}));var n=a(0),o=wp,r=o.i18n.__,l=o.element.Fragment,i=o.components.PanelBody,c=o.blockEditor.InspectorControls,s=o.blockEditor.InnerBlocks,u=o.data.select,f="hayyabuild/column",d={title:r("Column","hayyabuild"),icon:n.H.iconStyle("columns"),description:r("A single column.","hayyabuild"),parent:["hayyabuild/row"],category:"hayyabuild",attributes:{id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"xx",attribute:"xx"}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,d=e.clientId,p=e.isSelected,y=t.id,b=t.classesList,h=t.style;n.H.blockID(y,f,a);var m=u("core/block-editor").getBlockOrder(d).length>0;return React.createElement(React.Fragment,null,React.createElement(c,null,React.createElement(i,{title:r("Column Settings","hayyabuild")},React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:y,elementStyle:".".concat(y),value:{classesList:b,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(o,{classesList:b},y),style:h},React.createElement(s,{templateLock:!1,renderAppender:p||!m?function(){return React.createElement(s.ButtonBlockAppender,null)}:function(){return React.createElement(l,null)}})))},save:function(e){var t=e.attributes,a=t.id,o=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses({classesList:o},a)},React.createElement(s.Content,null))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return _})),a.d(t,"settings",(function(){return C}));var n=a(16),o=a.n(n),r=a(0),l=a(6);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function c(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var s=wp,u=s.i18n.__,f=s.element.Fragment,d=s.components,p=d.PanelBody,y=d.ToggleControl,b=d.SelectControl,h=d.TextControl,m=d.RangeControl,g=s.blockEditor,v=g.RichText,k=g.BlockControls,w=g.AlignmentToolbar,E=g.InspectorControls,_=l.name,R=l.attributes,x="wp-block-hayyabuild-button",C={title:u("Button","hayyabuild"),description:u("The button block defines a clickable button. Inside a button block you can put content, like text or icon.","hayyabuild"),icon:r.H.iconStyle(o.a),category:"hayyabuild",attributes:R,example:{attributes:{text:"Button",icon:"fa fa-hand-pointer",size:5,style:{background:"#389BFF"}}},edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=(e.className,a.text),l=a.link,i=a.title,s=a.align,d=a.icon,g=a.newTab,R=a.size,C=a.waveEffect,S=a.shadowffect,O=a.effectType,L=a.id,N=a.classesList,H=a.style;return r.H.blockID(L,_,n),React.createElement(f,null,React.createElement(k,null,React.createElement(w,{value:s,onChange:function(e){return n({align:e})}})),React.createElement(E,null,React.createElement(p,{title:u("Button Settings","hayyabuild")},React.createElement(h,{label:u("Button title","hayyabuild"),value:i,onChange:function(e){n({title:e})}}),React.createElement(h,{label:u("Button Link","hayyabuild"),value:l,onChange:function(e){n({link:e})}}),React.createElement(m,{label:u("Button size","hayyabuild"),value:R,onChange:function(e){return n({size:e})},min:1,max:5}),React.createElement(r.H.SelectIcon,{title:u("Icon","hayyabuild"),classPlaceholder:u("Insert icon class","hayyabuild"),fliterPlaceholder:u("Search for icon","hayyabuild"),value:d,onSelect:function(e){return n({icon:e})}}),React.createElement(y,{label:u("Open in new tab","hayyabuild"),checked:!!g,onChange:function(){n({newTab:!g})}}),React.createElement(y,{label:u("Shadow effect","hayyabuild"),checked:!!S,onChange:function(){n({shadowffect:!S})}}),React.createElement(y,{label:u("Wave effect","hayyabuild"),checked:!!C,onChange:function(){n({waveEffect:!C})}}),C&&React.createElement(b,{label:u("Effect color","hayyabuild"),value:O,options:[{label:u("Light","hayyabuild"),Key:"light",value:"light"},{label:u("Red","hayyabuild"),Key:"red",value:"red"},{label:u("Yellow","hayyabuild"),Key:"yellow",value:"yellow"},{label:u("Orange","hayyabuild"),Key:"orange",value:"orange"},{label:u("Purple","hayyabuild"),Key:"purple",value:"purple"},{label:u("Green","hayyabuild"),Key:"green",value:"green"},{label:u("Teal","hayyabuild"),Key:"teal",value:"teal"}],onChange:function(e){n({effectType:e})}}),React.createElement(r.H.BlocksOptions,{optionsTitle:u("HayyaBuild Options","hayyabuild"),styleTitle:u("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:L,elementStyle:".".concat(L," > a"),value:{classesList:N,inlineStyle:!0},onChange:function(e){return n({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:r.H.hayyaClasses(x,c({},"align-"+s,s),{classesList:N},L)},React.createElement("a",{className:r.H.hayyaClasses("".concat(x,"__button"),(t={},c(t,"".concat(x,"__button--size-").concat(R),!0),c(t,"".concat(x,"__button--shadow"),S),c(t,"waves-effect",C),c(t,"waves-".concat(O),C&&O),t)),title:i||o,style:H},React.createElement(v,{tagName:"span",value:o,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough","core/code"],onChange:function(e){return n({text:e})}}),!!d&&React.createElement("i",{className:d}))))},deprecated:[{attributes:R,save:function(e){var t,a=e.attributes,n=a.text,o=a.link,l=a.title,s=a.align,u=a.icon,f=a.newTab,d=a.size,p=a.waveEffect,y=a.shadowffect,b=a.effectType,h=a.id,m=a.classesList;a.className;return React.createElement("div",{className:r.H.hayyaClasses(c({},"align-"+s,s),h)},React.createElement("a",i({href:o,title:l||n,className:r.H.hayyaClasses("".concat(x,"__button"),(t={},c(t,"".concat(x,"__button--size-").concat(d),!0),c(t,"".concat(x,"__button--shadow"),y),c(t,"waves-effect",p),c(t,"waves-".concat(b),p&&b),t),{classesList:m})},f?{target:"_blank",rel:"noopener noreferrer"}:{}),!!n&&React.createElement("span",null,n),!!u&&React.createElement("i",{className:u})))}}],save:function(e){var t,a=e.attributes,n=a.text,o=a.link,l=a.title,s=a.align,u=a.icon,f=a.newTab,d=a.size,p=a.waveEffect,y=a.shadowffect,b=a.effectType,h=a.id,m=a.classesList;a.className;return React.createElement("div",{className:r.H.hayyaClasses(c({},"align-"+s,s),{classesList:m},h)},React.createElement("a",i({href:o,title:l||n,className:r.H.hayyaClasses("".concat(x,"__button"),(t={},c(t,"".concat(x,"__button--size-").concat(d),!0),c(t,"".concat(x,"__button--shadow"),y),c(t,"waves-effect",p),c(t,"waves-".concat(b),p&&b),t))},f?{target:"_blank",rel:"noopener noreferrer"}:{}),!!n&&React.createElement("span",null,n),!!u&&React.createElement("i",{className:u})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return y})),a.d(t,"settings",(function(){return b}));var n=a(0),o=wp,r=o.i18n.__,l=o.data.select,i=o.components,c=(i.Button,i.PanelBody),s=i.ToggleControl,u=i.RangeControl,f=(i.SelectControl,i.TextControl),d=o.blockEditor.InspectorControls,p=o.blockEditor.InnerBlocks,y="hayyabuild/openstreetmap",b={title:r("Map","hayyabuild"),icon:n.H.iconStyle("location-alt"),description:r("With Map block you can include a map on your site that includes unlimited markers dropped at the address of locations.","hayyabuild"),category:"hayyabuild",attributes:{show_content:{type:"boolean",default:!1},min_height:{type:"string",source:"attribute",attribute:"data-height",selector:".wp-block-hayyabuild-openstreetmap",default:"400"},style:{type:"string",source:"attribute",attribute:"data-style",selector:".wp-block-hayyabuild-openstreetmap",default:"style1"},customstyle:{type:"string",source:"attribute",attribute:"data-customstyle",selector:".wp-block-hayyabuild-openstreetmap",default:""},attribution:{type:"string",source:"html",selector:".hayyabuild-map-attribution",default:""},latitude:{type:"string",source:"attribute",attribute:"data-lat",selector:".wp-block-hayyabuild-openstreetmap",default:"00.000000"},longitude:{type:"string",source:"attribute",attribute:"data-lng",selector:".wp-block-hayyabuild-openstreetmap",default:"00.000000"},zoom:{type:"string",source:"attribute",attribute:"data-zoom",selector:".wp-block-hayyabuild-openstreetmap",default:"1"},markerIcon:{type:"string",selector:"icon1"},markers:{type:"string",source:"html",selector:".hayyabuild-map-markers-list"},id:{type:"string"}},supports:{align:["wide","full"]},example:{attributes:{animate:!0,size:2,style:{latitude:"31.924302",longitude:"12.254648",zoom:"5",min_height:"150"}}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,i=e.clientId,b=t.show_content,h=t.min_height,m=t.style,g=t.customstyle,v=t.attribution,k=t.latitude,w=t.longitude,E=t.zoom,_=t.id;n.H.blockID(_,y,a);var R=l("core/block-editor").getBlockOrder(i).length>0;r("Map Tiler","hayyabuild"),r("Style 1","hayyabuild"),r("Style 2","hayyabuild"),r("Style 3","hayyabuild"),r("Style 4","hayyabuild"),r("Style 5","hayyabuild"),r("Style 6","hayyabuild"),r("Custom Style","hayyabuild"),r("Custom Map Tiler","hayyabuild");return React.createElement(React.Fragment,null,React.createElement(d,null,React.createElement(c,{title:r("Content box Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(s,{label:r("Show Content","hayyabuild"),checked:!!b,onChange:function(){a({show_content:!b})}}),!1,React.createElement(f,{label:r("Attribution","hayyabuild"),value:v,onChange:function(e){a({attribution:e})}}),React.createElement(u,{label:r("Map Height","hayyabuild"),value:h,onChange:function(e){return a({min_height:e})},min:200,max:2e3}))),React.createElement("div",{className:n.H.hayyaClasses(o,_),"data-lat":k,"data-lng":w,"data-style":m,"data-customstyle":g,"data-zoom":E,"data-height":h},_&&React.createElement(n.H.OpenStreetMap,{clientId:i,attrs:t,saveButtonTitle:r("Save","hayyabuild"),onChange:function(e){return function(e){var t=e.latitude,n=e.longitude,o=e.zoom,r=e.markers;return!!(t&&n&&o)&&(a({latitude:t,longitude:n,zoom:o,markers:r}),!0)}(e)}}),b&&React.createElement("div",{className:"hayyabuild-map-content"},React.createElement(p,{templateLock:!1,renderAppender:R?void 0:function(){return React.createElement(p.ButtonBlockAppender,null)}}))))},save:function(e){var t=e.attributes,a=e.className,o=t.show_content,r=t.min_height,l=t.style,i=t.customstyle,c=t.attribution,s=t.latitude,u=t.longitude,f=t.zoom,d=t.markers,y=t.id;return React.createElement("div",{className:n.H.hayyaClasses(a,y),"data-lat":s,"data-lng":u,"data-style":l,"data-customstyle":i,"data-zoom":f,"data-height":r},React.createElement("div",{className:"hayyabuild-map"}),c&&React.createElement("div",{className:"hayyabuild-map-attribution",dangerouslySetInnerHTML:{__html:"".concat(c)}}),d&&React.createElement("div",{className:"hayyabuild-map-markers-list",dangerouslySetInnerHTML:{__html:"".concat(d)}}),o&&React.createElement("div",{className:"hayyabuild-map-content"},React.createElement(p.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return v})),a.d(t,"settings",(function(){return k}));var n,o=a(18),r=a.n(o),l=a(0);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var c=wp,s=c.i18n.__,u=c.element.Fragment,f=c.components,d=f.SelectControl,p=f.ToggleControl,y=f.RangeControl,b=f.PanelBody,h=c.blockEditor,m=h.PanelColorSettings,g=h.InspectorControls,v="hayyabuild/spacer",k=(i(n={title:s("Spacer","hayyabuild"),description:s("This will help you to create a flexible spacer.","hayyabuild"),icon:l.H.iconStyle(r.a)},"description",s("Spacer block.","hayyabuild")),i(n,"category","hayyabuild"),i(n,"attributes",{style:{type:"string",default:"center"},ratio:{type:"string",default:""},height:{type:"number",default:"50"},container:{type:"boolean",default:!1},borderSize:{type:"number",default:"0"},borderColor:{type:"string",default:"#DDDDDD"},id:{type:"string",default:""},classesList:{type:"string",default:""}}),i(n,"supports",{align:["wide","full"]}),i(n,"example",{attributes:{borderSize:"1"}}),i(n,"edit",(function(e){var t=e.attributes,a=e.setAttributes,n=e.className,o=t.style,r=t.ratio,i=t.height,c=t.borderSize,f=t.borderColor,h=t.container,k=t.id,w=t.classesList;l.H.blockID(k,v,a);var E=r?{paddingTop:"".concat(r)}:{height:"".concat(i,"px")};return React.createElement(u,null,React.createElement(g,null,React.createElement(b,{title:s("Spacer Settings","hayyabuild")},!r&&React.createElement(y,{label:s("Spacer Height","hayyabuild"),value:i,onChange:function(e){return a({height:e})},min:1,max:1e3}),React.createElement(d,{label:s("Aspect Ratio","hayyabuild"),value:r,help:s("The aspect ratio of the spacer describes the proportional relationship between its width and its height.","hayyabuild"),options:[{label:s("Empty","hayyabuild"),Key:"empty",value:""},{label:"15:1",Key:"6.6%",value:"6.6%"},{label:"14:1",Key:"7.1%",value:"7.1%"},{label:"13:1",Key:"7.7%",value:"7.7%"},{label:"12:1",Key:"8.33%",value:"8.33%"},{label:"11:1",Key:"9%",value:"9%"},{label:"10:1",Key:"10%",value:"10%"},{label:"9:1",Key:"11.11%",value:"11.11%"},{label:"8:1",Key:"12.5%",value:"12.5%"},{label:"7:1",Key:"14.28%",value:"14.28%"},{label:"6:1",Key:"16.66%",value:"16.66%"},{label:"5:1",Key:"20%",value:"20%"}],onChange:function(e){return a({ratio:e})}}),React.createElement(d,{label:s("Spacer Style","hayyabuild"),value:o,options:[{label:s("Empty","hayyabuild"),Key:"empty",value:"empty"},{label:s("Solid","hayyabuild"),Key:"solid",value:"solid"},{label:s("Shadow Center","hayyabuild"),Key:"center",value:"center"},{label:s("Shadow Edges","hayyabuild"),Key:"duble",value:"duble"},{label:s("Shadow Right","hayyabuild"),Key:"right",value:"right"},{label:s("Shadow Left","hayyabuild"),Key:"left",value:"left"}],onChange:function(e){return a({style:e})}}),"empty"!==o&&React.createElement(y,{label:s("Border size","hayyabuild"),value:c,onChange:function(e){return a({borderSize:e})},min:0,max:5}),React.createElement(p,{label:s("Container","hayyabuild"),checked:!!h,onChange:function(){a({container:!h})}}),React.createElement(l.H.BlocksOptions,{optionsTitle:s("HayyaBuild Options","hayyabuild"),styleTitle:s("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:k,elementStyle:".".concat(k),value:{classesList:w,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}),"empty"!==o&&React.createElement(m,{title:s("Color Settings","hayyabuild"),initialOpen:!1,colorSettings:[{value:f,onChange:function(e){return a({borderColor:e})},label:s("Border Color","hayyabuild")}]}))),React.createElement("div",{className:l.H.hayyaClasses(n,"spacer-editor",{classesList:w},k),style:E},"empty"!==o&&React.createElement("div",{className:"hayyabuild-z-depth ".concat(o,"-shadow"),style:{height:"".concat(c,"px"),backgroundColor:f}})))})),i(n,"save",(function(e){var t=e.attributes,a=(e.className,t.style),n=t.ratio,o=t.height,r=t.borderSize,i=t.borderColor,c=t.container,s=t.id,u=t.classesList,f=n?{paddingTop:"".concat(n)}:{height:"".concat(o,"px")};return React.createElement("div",{className:l.H.hayyaClasses({container:c},{classesList:u},s),style:f},"empty"!==a&&React.createElement("div",{className:"hayyabuild-z-depth ".concat(a,"-shadow"),style:{height:"".concat(r,"px"),backgroundColor:i}}))})),i(n,"deprecated",[{attributes:{style:{type:"string",default:"center"},ratio:{type:"string",default:""},height:{type:"number",default:"50"},container:{type:"boolean",default:!1},borderSize:{type:"number",default:"1"},borderColor:{type:"string",default:"#DDDDDD"},id:{type:"string",default:""},classesList:{type:"string",default:""}},save:function(e){var t=e.attributes,a=(e.className,t.style),n=t.ratio,o=t.height,r=t.borderSize,i=t.borderColor,c=t.container,s=t.id,u=t.classesList,f=n?{paddingTop:"".concat(n)}:{height:"".concat(o,"px")};return React.createElement("div",{className:l.H.hayyaClasses({container:c},{classesList:u},s),style:f},"empty"!==a&&React.createElement("div",{className:"hayyabuild-z-depth ".concat(a,"-shadow"),style:{height:"".concat(r,"px"),backgroundColor:i}}))}}]),n)},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return g})),a.d(t,"settings",(function(){return k}));var n=a(0);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,l=r.i18n.__,i=r.element.Fragment,c=r.components,s=c.PanelBody,u=c.ToggleControl,f=c.SelectControl,d=c.RangeControl,p=r.blockEditor,y=p.RichText,b=p.BlockControls,h=p.InspectorControls,m=p.AlignmentToolbar,g="hayyabuild/alert",v="wp-block-hayyabuild-alert",k={title:l("Alert Box","hayyabuild"),icon:n.H.iconStyle("warning"),description:l("Alerts. Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.","hayyabuild"),category:"hayyabuild",attributes:{text:{type:"text",source:"children",selector:".".concat(v,"__body")},dismissible:{type:"boolean",default:!1},rememberDismissible:{type:"boolean",default:!1},icon:{type:"string"},type:{type:"string",default:""},align:{type:"string",default:""},radius:{type:"number",default:"3"},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{text:l("Alerts. Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.","hayyabuild"),icon:"fa fa-info-circle",dismissible:!0,type:"warning"}},edit:function(e){var t,a=e.attributes,r=e.setAttributes,c=(e.className,a.text),p=a.align,k=a.icon,w=a.dismissible,E=a.rememberDismissible,_=a.type,R=a.radius,x=a.id,C=a.classesList;return n.H.blockID(x,g,r),React.createElement(i,null,React.createElement(b,null,React.createElement(m,{value:p,onChange:function(e){r({align:e})}})),React.createElement(h,null,React.createElement(s,{title:l("Button Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(u,{label:l("Dismissible","hayyabuild"),checked:!!w,onChange:function(){r({dismissible:!w})}}),React.createElement(u,{label:l("Don`t show again","hayyabuild"),checked:!!E,onChange:function(){r({rememberDismissible:!E})}}),React.createElement(n.H.SelectIcon,{title:l("Icon","hayyabuild"),classPlaceholder:l("Insert icon class","hayyabuild"),fliterPlaceholder:l("Search for icon","hayyabuild"),value:k,onSelect:function(e){return r({icon:e})}}),React.createElement(f,{value:_,options:[{label:l("Alert style","hayyabuild"),Key:"",value:""},{label:l("primary","hayyabuild"),Key:"primary",value:"primary"},{label:l("Info","hayyabuild"),Key:"info",value:"info"},{label:l("Success","hayyabuild"),Key:"success",value:"success"},{label:l("Warning","hayyabuild"),Key:"warning",value:"warning"},{label:l("Danger","hayyabuild"),Key:"danger",value:"danger"}],onChange:function(e){return r({type:e})}}),React.createElement(d,{label:l("Rounded Corners","hayyabuild"),value:R,onChange:function(e){return r({radius:e})},min:0,max:10}),React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:x,elementStyle:".".concat(x),value:{classesList:C,inlineStyle:!0},onChange:function(e){return r({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses(v,(t={},o(t,"".concat(v,"--remembrt-dismissible"),w&&E),o(t,"".concat(v,"--radius-").concat(R),R),o(t,"".concat(v,"--").concat(_),_),t),{classesList:C},x)},k&&React.createElement("i",{className:"".concat(v,"__icon ").concat(k)}),React.createElement(y,{tagName:"div",className:n.H.hayyaClasses("".concat(v,"__body"),o({},"align-".concat(p),p)),value:c,placeholder:l("Add text here!","hayyabuild"),onChange:function(e){return r({text:e})},allowedFormats:["core/bold","core/italic","core/image","core/strikethrough","core/link","core/code"]}),w&&React.createElement("a",{id:"".concat(x,"__close"),href:"#",className:"".concat(v,"__close")},"⨯")))},deprecated:[{attributes:{text:{type:"text",source:"children",selector:".".concat(v,"__body")},dismissible:{type:"boolean",default:!1},rememberDismissible:{type:"boolean",default:!1},icon:{type:"string"},type:{type:"string",default:""},align:{type:"string",default:""},radius:{type:"number",default:"3"},id:{type:"string"},classesList:{type:"string",default:""}},save:function(e){var t,a=e.attributes,r=a.text,l=a.align,i=a.icon,c=a.dismissible,s=a.rememberDismissible,u=a.type,f=a.radius,d=a.id,p=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses((t={},o(t,"".concat(v,"--remembrt-dismissible"),c&&s),o(t,"".concat(v,"--radius-").concat(f),f),o(t,"".concat(v,"--").concat(u),u),t),{classesList:p},d)},i&&React.createElement("i",{className:"".concat(v,"__icon ").concat(i)}),React.createElement(y.Content,{tagName:"div",value:r,className:n.H.hayyaClasses("".concat(v,"__body"),o({},"align-".concat(l),l))}),c&&React.createElement("a",{id:"".concat(d,"__close"),href:"#",className:"".concat(v,"__close")}," "))}}],save:function(e){var t,a=e.attributes,r=a.text,l=a.align,i=a.icon,c=a.dismissible,s=a.rememberDismissible,u=a.type,f=a.radius,d=a.id,p=a.classesList;return React.createElement("div",{id:d,className:n.H.hayyaClasses((t={},o(t,"".concat(v,"--remembrt-dismissible"),c&&s),o(t,"".concat(v,"--radius-").concat(f),f),o(t,"".concat(v,"--").concat(u),u),t),{classesList:p},d)},i&&React.createElement("i",{className:"".concat(v,"__icon ").concat(i)}),React.createElement(y.Content,{tagName:"div",value:r,className:n.H.hayyaClasses("".concat(v,"__body"),o({},"align-".concat(l),l))}),c&&React.createElement("a",{id:"".concat(d,"__close"),href:"#",className:"".concat(v,"__close")}," "))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return m})),a.d(t,"settings",(function(){return g}));var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=wp,l=r.i18n.__,i=r.element.Fragment,c=r.components,s=c.PanelBody,u=c.ServerSideRender,f=c.ToggleControl,d=c.SelectControl,p=r.blockEditor,y=p.BlockControls,b=p.AlignmentToolbar,h=p.InspectorControls,m="hayyabuild/menu",g={title:l("Menu","hayyabuild"),icon:n.H.iconStyle("welcome-widgets-menus"),description:l("You can use this menu block in headers as the main menu with many options.","hayyabuild"),category:"hayyabuild",attributes:{menu:{type:"string",default:""},menuIcon:{type:"string",default:""},align:{type:"string",default:""},editor:{type:"boolean",default:!1},container:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{html:!1},example:{attributes:{menuIcon:""}},edit:function(e){var t=e.attributes,a=e.setAttributes,r=(e.className,e.name),c=t.menu,p=t.menuIcon,m=t.align,g=t.container,v=t.id,k=t.classesList;n.H.blockID(v,r,a);var w=[{label:l("Select Menu","hayyabuild"),key:"",value:""}];return"object"===("undefined"==typeof hayyabuild_menu_list?"undefined":o(hayyabuild_menu_list))&&"function"==typeof hayyabuild_menu_list.map&&hayyabuild_menu_list.map((function(e){w.push({label:e.name,key:e.slug,value:e.slug})})),React.createElement(i,null,React.createElement(y,null,React.createElement(b,{value:m,onChange:function(e){return a({align:e})}})),React.createElement(h,null,React.createElement(s,{title:l("Menu Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(d,{label:l("Select Menu","hayyabuild"),value:c,options:w,onChange:function(e){return a({menu:e})}}),React.createElement(f,{label:l("Container","hayyabuild"),checked:!!g,onChange:function(){a({container:!g})}}),React.createElement(n.H.SelectIcon,{title:l("Menu Icon","hayyabuild"),classPlaceholder:l("Insert icon class","hayyabuild"),fliterPlaceholder:l("Search for icon","hayyabuild"),value:p,onSelect:function(e){return a({menuIcon:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:v,elementStyle:".".concat(v),value:{classesList:k,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement(u,{block:"hayyabuild/menu",attributes:{menu:c,menuIcon:p,align:m,id:v,container:g,editor:!0,classesList:k}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return v})),a.d(t,"settings",(function(){return k}));var n=a(0),o=a(20),r=a.n(o);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=wp,c=i.i18n.__,s=i.element.Fragment,u=i.components,f=u.PanelBody,d=u.ServerSideRender,p=u.ToggleControl,y=u.SelectControl,b=i.blockEditor,h=b.BlockControls,m=b.AlignmentToolbar,g=b.InspectorControls,v="hayyabuild/smenu",k={title:c("Simple Menu","hayyabuild"),description:c("With Simple Menu block you can add menus to any place.","hayyabuild"),icon:n.H.iconStyle(r.a),category:"hayyabuild",attributes:{menu:{type:"string",default:""},align:{type:"string",default:""},vertical:{type:"boolean",default:!1},editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{html:!1},example:{attributes:{vertical:!0}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),r=t.menu,i=t.align,u=t.vertical,b=t.id,v=t.classesList;n.H.blockID(b,o,a);var k=[{label:c("Select Menu","hayyabuild"),key:"",value:""}];return"object"===("undefined"==typeof hayyabuild_menu_list?"undefined":l(hayyabuild_menu_list))&&"function"==typeof hayyabuild_menu_list.map&&hayyabuild_menu_list.map((function(e){k.push({label:e.name,key:e.slug,value:e.slug})})),React.createElement(s,null,React.createElement(h,null,React.createElement(m,{value:i,onChange:function(e){return a({align:e})}})),React.createElement(g,null,React.createElement(f,{title:c("Menu Settings","hayyabuild")},React.createElement(y,{label:c("Select Menu","hayyabuild"),value:r,options:k,onChange:function(e){return a({menu:e})}}),React.createElement(p,{label:c("Vertical","hayyabuild"),checked:!!u,onChange:function(){a({vertical:!u})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:b,elementStyle:".".concat(b," ul li"),value:{classesList:v,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement(d,{block:"hayyabuild/smenu",attributes:{menu:r,align:i,id:b,vertical:u,editor:!0,classesList:v}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return f})),a.d(t,"settings",(function(){return d}));var n=a(0),o=wp,r=o.i18n.__,l=o.element.Fragment,i=o.components,c=i.PanelBody,s=i.TextControl,u=o.blockEditor.InspectorControls,f=(o.serverSideRender,"hayyabuild/breadcrumb"),d={title:r("Breadcrumb Menu","hayyabuild"),description:r("A breadcrumb or breadcrumb trail is a graphical control element frequently used as a navigational aid in user interfaces and on web pages. It allows users to keep track and maintain awareness of their locations within websites.","hayyabuild"),icon:n.H.iconStyle("rest-api","orange"),category:"hayyabuild",attributes:{home_title:{type:"string",default:r("Home","hayyabuild")},home_icon:{type:"string",default:"fa fa-home"},separator:{type:"string",default:"fa fa-angle-double-right"},editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{html:!1},example:{attributes:{home_title:"",home_icon:"fa fa-home"}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),i=t.home_title,f=t.home_icon,d=t.separator,p=t.id,y=t.classesList;return n.H.blockID(p,o,a),React.createElement(l,null,React.createElement(u,null,React.createElement(c,{title:r("Breadcrumb Menu Settings","hayyabuild")},React.createElement(s,{label:r("Home Title","hayyabuild"),value:i,onChange:function(e){return a({home_title:e})}}),!i&&React.createElement(n.H.SelectIcon,{title:r("Home Icon","hayyabuild"),classPlaceholder:r("Insert icon class","hayyabuild"),fliterPlaceholder:r("Search for icon","hayyabuild"),value:f,onSelect:function(e){return a({home_icon:e})}}),React.createElement(n.H.SelectIcon,{title:r("Separator Icon","hayyabuild"),classPlaceholder:r("Insert icon class","hayyabuild"),fliterPlaceholder:r("Search for icon","hayyabuild"),value:d,onSelect:function(e){return a({separator:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),elementID:p,elementStyle:".".concat(p),value:{classesList:y,inlineStyle:!0},icon:"fa fa-cogs",onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("serverSideRender",{block:"hayyabuild/breadcrumb",attributes:{home_title:i,home_icon:f,separator:d,id:p,editor:!0,classesList:y}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return m}));var n=a(0),o=a(21),r=a.n(o),l=wp,i=l.i18n.__,c=l.element.Fragment,s=l.components,u=s.PanelBody,f=s.ServerSideRender,d=s.ToggleControl,p=(s.TextControl,s.SelectControl),y=l.blockEditor,b=(y.AlignmentToolbar,y.InspectorControls),h="hayyabuild/search",m={title:i("Search Box","hayyabuild"),description:i("It`s a search input which enables the visitors to find words, sentences, and numbers in a pages and posts.","hayyabuild"),icon:n.H.iconStyle(r.a,"brown"),category:"hayyabuild",attributes:{theme:{type:"string",default:""},expand:{type:"boolean",default:!1},right:{type:"boolean",default:!1},editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{theme:"hb_transparent"}},supports:{html:!1},edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),r=t.theme,l=t.expand,s=t.right,y=t.id,h=t.classesList;return n.H.blockID(y,o,a),React.createElement(c,null,React.createElement(b,null,React.createElement(u,{title:i("Breadcrumb Menu Settings","hayyabuild")},React.createElement(p,{label:i("Select Theme","hayyabuild"),value:r,options:[{label:i("Select Theme","hayyabuild"),key:"",value:""},{label:i("Light","hayyabuild"),key:"hb_light",value:"hb_light"},{label:i("Dark","hayyabuild"),key:"hb_dark",value:"hb_dark"},{label:i("Transparent","hayyabuild"),key:"hb_transparent",value:"hb_transparent"}],onChange:function(e){return a({theme:e})}}),React.createElement(d,{label:i("Expand on Hover","hayyabuild"),checked:!!l,onChange:function(){a({expand:!l})}}),React.createElement(d,{label:i("Right Align","hayyabuild"),checked:!!s,onChange:function(){a({right:!s})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:i("HayyaBuild Options","hayyabuild"),styleTitle:i("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:y,elementStyle:".".concat(y),value:{classesList:h,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement(f,{block:"hayyabuild/search",attributes:{theme:r,expand:l,right:s,id:y,editor:!0,classesList:h}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return l})),a.d(t,"settings",(function(){return i}));var n=a(0),o=wp,r=o.i18n.__,l=(o.element.Fragment,o.components.ServerSideRender,o.blockEditor.InspectorControls,"hayyabuild/pagecontent"),i={title:r("Page content","hayyabuild"),icon:n.H.iconStyle("media-document"),description:r("When building any page with HayyaBuild you can add the original content of the page to any place that you want.","hayyabuild"),category:"hayyabuild",attributes:{editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,i=t.id;t.classesList;return n.H.blockID(i,l,a),React.createElement("div",{className:n.H.hayyaClasses(o)},React.createElement("h3",{style:{textAlign:"center"}},r("Page Content","hayyabuild"),React.createElement("br",null),React.createElement("i",{className:"fa fa-file-contract"})))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return p})),a.d(t,"settings",(function(){return y}));var n=a(0);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,l=r.i18n.__,i=r.element.Fragment,c=r.components.PanelBody,s=r.blockEditor,u=s.InspectorControls,f=s.AlignmentToolbar,d=r.blockEditor.InnerBlocks,p="hayyabuild/doublesidedboxsides",y={title:l("Sides","hayyabuild"),icon:n.H.iconStyle("update"),category:"hayyabuild",attributes:{side:{type:"string",default:"front"},align:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/doublesidedbox"],edit:function(e){var t=e.attributes,a=e.setAttributes,r=(e.className,t.side),s=t.align,y=t.id,b=t.classesList;n.H.blockID(y,p,a);var h="front"===r?"hayyabuild-doublesidedbox__front":"hayyabuild-doublesidedbox__back";return React.createElement(i,null,React.createElement(u,null,React.createElement(c,{title:l("Sides Settings","hayyabuild")},React.createElement(f,{title:l("Content Alignment","hayyabuild"),value:s,onChange:function(e){return a({align:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:y,elementStyle:".".concat(y),value:{classesList:b,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-doublesidedboxsides",h,o({},"align-"+s,s),{classesList:b},y)},React.createElement(d,{templateLock:!1})))},save:function(e){var t=e.attributes,a=(e.className,t.side),r=t.align,l=t.id,i=t.classesList,c="front"===a?"hayyabuild-doublesidedbox__front":"hayyabuild-doublesidedbox__back";return React.createElement("div",{className:n.H.hayyaClasses(c,o({},"align-"+r,r),{classesList:i},l)},React.createElement(d.Content,null))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return E})),a.d(t,"settings",(function(){return R}));var n=a(0),o=(a(57),a(24)),r=a.n(o),l=a(3),i=a(4),c=a(7);function s(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var u=wp,f=u.i18n.__,d=u.element.Fragment,p=u.components,y=p.PanelBody,b=p.ToggleControl,h=p.TextControl,m=p.RangeControl,g=u.blockEditor,v=g.BlockControls,k=g.AlignmentToolbar,w=g.InspectorControls,E=c.name,_=c.attributes,R={title:f("Social Media Menu","hayyabuild"),description:f("Easily create beautiful social media menu.","hayyabuild"),icon:n.H.iconStyle(r.a,"green"),keywords:[f("social media","hayyabuild")],attributes:_,category:"hayyabuild",supports:{html:!1},example:{attributes:{shadow:!0,style:{padding:"0 10px",background:"rgba(0,130,190,0.6)",border:"1px solid rgba(0,130,190,0.7)",borderRadius:"3px",margin:"5px",size:"15"}}},edit:function(e){var t,a=e.attributes,o=e.setAttributes,r=e.className,c=e.name,u=a.align,p=a.size,g=a.shadow,E=a.id,_=a.classesList,R=a.style,x=a.facebook,C=a.twitter,S=a.linkedin,O=a.youtube,L=a.vimeo,N=a.instagram,H=a.pinterest,T=a.flickr,I=a.github,B=a.vk,P=a.tumblr;n.H.blockID(E,c,o),x||C||S||O||L||N||H||T||I||B||P||(x=C=O=N=S=I="#");f("LinkedIn","hayyabuild"),f("Pinterest","hayyabuild"),f("Vimeo","vimeo"),f("Flickr","hayyabuild"),f("Tumblr","hayyabuild"),f("vk","hayyabuild");return React.createElement(d,null,React.createElement(v,null,React.createElement(k,{value:u,onChange:function(e){return o({align:e})}})),React.createElement(w,null,React.createElement(y,{title:f("Social Menu Settings","hayyabuild")},React.createElement(m,{label:f("Icons size","hayyabuild"),value:p,onChange:function(e){return o({size:e})},min:1,max:20}),React.createElement(b,{label:f("Shadow","hayyabuild"),checked:!!g,onChange:function(){o({shadow:!g})}}),React.createElement(l.a,{title:f("Edit Social Menu","hayyabuild"),iconClass:"fa fa-users",appendTo:"editor"},React.createElement(i.a,{color:"#555",bgColor:"#FFF"},React.createElement(i.a.Item,{active:!0,title:f("SocialMedia links","hayyabuild"),iconClass:"fa fa-group",className:"hayyabuild-social-links"},React.createElement(n.H.getPro,null),React.createElement("div",null,React.createElement("i",{className:"fab fa-facebook"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Facebook","hayyabuild"),value:x,onChange:function(e){return o({facebook:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-twitter"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Twitter","hayyabuild"),value:C,onChange:function(e){return o({twitter:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-instagram"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Instagram","hayyabuild"),value:N,onChange:function(e){return o({instagram:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-youtube"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Youtube","hayyabuild"),value:O,onChange:function(e){return o({youtube:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-github"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Github","hayyabuild"),value:I,onChange:function(e){return o({github:e})}})),!1))),React.createElement(n.H.BlocksOptions,{optionsTitle:f("HayyaBuild Options","hayyabuild"),styleTitle:f("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:E,elementStyle:".".concat(E," a.hayyabuild-social"),value:{classesList:_,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(r,(t={"hb-shadow":g},s(t,"hb-"+u,u),s(t,"size-"+p,!0),t),{classesList:_},E)},!!x&&React.createElement("a",{className:"hayyabuild-social facebook",href:x,style:R},React.createElement("i",{className:"fab fa-facebook"})),!!C&&React.createElement("a",{className:"hayyabuild-social twitter",href:C,style:R},React.createElement("i",{className:"fab fa-twitter"})),!!N&&React.createElement("a",{className:"hayyabuild-social instagram",href:N,style:R},React.createElement("i",{className:"fab fa-instagram"})),!!O&&React.createElement("a",{className:"hayyabuild-social youtube",href:O,style:R},React.createElement("i",{className:"fab fa-youtube"})),!!I&&React.createElement("a",{className:"hayyabuild-social github",href:I,style:R},React.createElement("i",{className:"fab fa-github"})),!!S&&React.createElement("a",{className:"hayyabuild-social linkedin",href:S,style:R},React.createElement("i",{className:"fab fa-linkedin"})),!!H&&React.createElement("a",{className:"hayyabuild-social pinterest",href:H,style:R},React.createElement("i",{className:"fab fa-pinterest"})),!!L&&React.createElement("a",{className:"hayyabuild-social vimeo",href:L,style:R},React.createElement("i",{className:"fab fa-vimeo"})),!!T&&React.createElement("a",{className:"hayyabuild-social flickr",href:T,style:R},React.createElement("i",{className:"fab fa-flickr"})),!!P&&React.createElement("a",{className:"hayyabuild-social tumblr",href:P,style:R},React.createElement("i",{className:"fab fa-tumblr"})),!!B&&React.createElement("a",{className:"hayyabuild-social vk",href:B,style:R},React.createElement("i",{className:"fab fa-vk"}))))},save:function(e){var t,a=e.attributes,o=(e.className,a.id),r=a.align,l=a.size,i=a.shadow,c=a.classesList,u=a.facebook,f=a.twitter,d=a.linkedin,p=a.youtube,y=a.vimeo,b=a.instagram,h=a.pinterest,m=a.flickr,g=a.github,v=a.vk,k=a.tumblr;return u||f||d||p||y||b||h||m||g||v||k||(u=f=p=b=d=g="#"),React.createElement("div",{className:n.H.hayyaClasses((t={"hb-shadow":i},s(t,"hb-"+r,r),s(t,"size-"+l,!0),t),{classesList:c},o)},!!u&&React.createElement("a",{className:"hayyabuild-social facebook",href:u},React.createElement("i",{className:"fab fa-facebook"})),!!f&&React.createElement("a",{className:"hayyabuild-social twitter",href:f},React.createElement("i",{className:"fab fa-twitter"})),!!b&&React.createElement("a",{className:"hayyabuild-social instagram",href:b},React.createElement("i",{className:"fab fa-instagram"})),!!p&&React.createElement("a",{className:"hayyabuild-social youtube",href:p},React.createElement("i",{className:"fab fa-youtube"})),!!g&&React.createElement("a",{className:"hayyabuild-social github",href:g},React.createElement("i",{className:"fab fa-github"})),!!d&&React.createElement("a",{className:"hayyabuild-social linkedin",href:d},React.createElement("i",{className:"fab fa-linkedin"})),!!h&&React.createElement("a",{className:"hayyabuild-social pinterest",href:h},React.createElement("i",{className:"fab fa-pinterest"})),!!y&&React.createElement("a",{className:"hayyabuild-social vimeo",href:y},React.createElement("i",{className:"fab fa-vimeo"})),!!m&&React.createElement("a",{className:"hayyabuild-social flickr",href:m},React.createElement("i",{className:"fab fa-flickr"})),!!k&&React.createElement("a",{className:"hayyabuild-social tumblr",href:k},React.createElement("i",{className:"fab fa-tumblr"})),!!v&&React.createElement("a",{className:"hayyabuild-social vk",href:v},React.createElement("i",{className:"fab fa-vk"})))}}},function(e,t,a){var n=a(1),o=a(58);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,".hayyabuild-social-links{padding:20px}.hayyabuild-social-links .fab{position:relative;text-align:center;display:inline-block;width:30px;height:30px;line-height:30px;font-size:20px;color:#FFF;border-radius:3px;top:2px;margin:0 5px}.hayyabuild-social-links .fab.fa-facebook{background:#3b5998}.hayyabuild-social-links .fab.fa-twitter{background:#00aced}.hayyabuild-social-links .fab.fa-instagram{background:#125688}.hayyabuild-social-links .fab.fa-youtube{background:#bb0000}.hayyabuild-social-links .fab.fa-github{background:#000000}.hayyabuild-social-links .fab.fa-linkedin{background:#007bb5}.hayyabuild-social-links .fab.fa-pinterest{background:#cb2027}.hayyabuild-social-links .fab.fa-vimeo{background:#aad450}.hayyabuild-social-links .fab.fa-flickr{background:#ff0084}.hayyabuild-social-links .fab.fa-tumblr{background:#32506d}.hayyabuild-social-links .fab.fa-vk{background:#4680c2}.hayyabuild-social-links .hayyabuild-social-text{display:inline-block;width:50%}\n",""]),e.exports=t},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return m}));var n=a(0);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,l=r.i18n.__,i=r.element.Fragment,c=r.components,s=c.PanelBody,u=c.ToggleControl,f=c.RangeControl,d=r.blockEditor,p=d.BlockControls,y=d.AlignmentToolbar,b=d.InspectorControls,h="hayyabuild/godown",m={title:l("Go Down Link","hayyabuild"),icon:n.H.iconStyle("arrow-down-alt2"),description:l("Add go down link to header.","hayyabuild"),category:"hayyabuild",attributes:{icon:{type:"string",default:"fa fa-angle-double-down"},size:{type:"number",default:3},animate:{type:"boolean",default:!1},align:{type:"string",default:"center"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"xx",attribute:"style"}},example:{attributes:{animate:!0,size:2,style:{padding:"30px 30px",background:"rgba(0,0,0,0.3)",borderRadius:"5px",color:"#FFFFFF"}}},edit:function(e){var t,a=e.attributes,r=e.setAttributes,c=e.className,d=a.icon,m=a.size,g=a.animate,v=a.align,k=a.id,w=a.classesList,E=a.style;return n.H.blockID(k,h,r),React.createElement(i,null,React.createElement(p,null,React.createElement(y,{value:v,onChange:function(e){return r({align:e})}})),React.createElement(b,null,React.createElement(s,{title:l("Button Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(n.H.SelectIcon,{title:l("Icon","hayyabuild"),classPlaceholder:l("Insert icon class","hayyabuild"),fliterPlaceholder:l("Search for icon","hayyabuild"),value:d,onSelect:function(e){return r({icon:e})}}),React.createElement(f,{label:l("Size","hayyabuild"),value:m,onChange:function(e){return r({size:e})},min:1,max:5}),React.createElement(u,{label:l("Animate","hayyabuild"),checked:!!g,onChange:function(){r({animate:!g})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:k,elementStyle:".".concat(k," > a"),value:{classesList:w,inlineStyle:!0},onChange:function(e){return r({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(c,"hb-".concat(v),{classesList:w},k)},React.createElement("a",{href:"#",className:n.H.hayyaClasses({"animate-godown":!!g}),style:E},React.createElement("i",{className:n.H.hayyaClasses((t={"fa fa-angle-double-down":!d},o(t,d,d),o(t,"godown-size-".concat(m),m),t))}))))},save:function(e){var t,a=e.attributes,r=a.icon,l=a.size,i=a.animate,c=a.align,s=a.id,u=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("hb-".concat(c),{classesList:u},s)},React.createElement("a",{href:"#hayyabuild-after-header",className:n.H.hayyaClasses({"animate-godown":!!i})},React.createElement("i",{className:n.H.hayyaClasses((t={"fa fa-angle-double-down":!r},o(t,r,r),o(t,"godown-size-".concat(l),l),t))})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return m}));var n=a(0);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,l=r.i18n.__,i=r.element.Fragment,c=r.components,s=c.PanelBody,u=c.ToggleControl,f=c.RangeControl,d=r.blockEditor,p=d.BlockControls,y=d.AlignmentToolbar,b=d.InspectorControls,h="hayyabuild/goup",m={title:l("Go Up Link","hayyabuild"),icon:n.H.iconStyle("arrow-up-alt2"),description:l("Add go up link to footer.","hayyabuild"),category:"hayyabuild",attributes:{icon:{type:"string",default:"fa fa-angle-double-up"},size:{type:"number",default:3},animate:{type:"boolean",default:!1},align:{type:"string",default:"right"},container:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},example:{attributes:{animate:!0,size:2,style:{padding:"30px 30px",background:"rgba(0,0,0,0.3)",borderRadius:"5px",color:"#FFFFFF",align:"center"}}},edit:function(e){var t,a=e.attributes,r=e.setAttributes,c=e.className,d=a.icon,m=a.size,g=a.animate,v=a.align,k=a.container,w=a.id,E=a.classesList,_=a.style;return n.H.blockID(w,h,r),React.createElement(i,null,React.createElement(p,null,React.createElement(y,{value:v,onChange:function(e){return r({align:e})}})),React.createElement(b,null,React.createElement(s,{title:l("Button Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(n.H.SelectIcon,{title:l("Icon","hayyabuild"),classPlaceholder:l("Insert icon class","hayyabuild"),fliterPlaceholder:l("Search for icon","hayyabuild"),value:d,onSelect:function(e){return r({icon:e})}}),React.createElement(f,{label:l("Size","hayyabuild"),value:m,onChange:function(e){return r({size:e})},min:1,max:5}),React.createElement(u,{label:l("Animate","hayyabuild"),checked:!!g,onChange:function(){r({animate:!g})}}),React.createElement(u,{label:l("Add Container","hayyabuild"),checked:!!k,onChange:function(){r({container:!k})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:w,elementStyle:".".concat(w," > a"),value:{classesList:E,inlineStyle:!0},onChange:function(e){return r({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(c,"hb-".concat(v),{container:k},{classesList:E},w)},React.createElement("a",{href:"",className:n.H.hayyaClasses({"animate-goup":!!g}),style:_},React.createElement("i",{className:n.H.hayyaClasses((t={"fa fa-angle-double-up":!d},o(t,d,d),o(t,"goup-size-".concat(m),m),t))}))))},save:function(e){var t,a=e.attributes,r=a.icon,l=a.size,i=a.animate,c=a.align,s=a.container,u=a.id,f=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("hb-".concat(c),{container:s},{classesList:f},u)},React.createElement("a",{href:"#hayyabuild-header",className:n.H.hayyaClasses({"animate-goup":!!i})},React.createElement("i",{className:n.H.hayyaClasses((t={"fa fa-angle-double-up":!r},o(t,r,r),o(t,"goup-size-".concat(l),l),t))})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return y})),a.d(t,"settings",(function(){return m}));var n=a(0),o=wp,r=o.i18n.__,l=o.element.Fragment,i=o.components,c=i.PanelBody,s=i.ToggleControl,u=i.SelectControl,f=i.RangeControl,d=o.blockEditor.InspectorControls,p=o.blockEditor.InnerBlocks,y="hayyabuild/modalbox",b=r("The Modal Box block is a dialog box/popup window that is displayed on top of the current page. Use a modal for dialog boxes, confirmation messages, or other content that can be called up.","hayyabuild"),h="hayyabuild-modalbox",m={title:r("Modal Box (Popup)","hayyabuild"),icon:n.H.iconStyle("editor-expand"),description:b,category:"hayyabuild",attributes:{close:{type:"boolean",source:"attribute",selector:".hayyabuild-modalbox__body__close",attribute:"class",default:!0},delay:{type:"string",source:"attribute",selector:".wp-block-hayyabuild-modalbox",attribute:"data-delay",default:"5"},remember:{type:"string",source:"attribute",selector:".wp-block-hayyabuild-modalbox",attribute:"data-remember",default:"1"},size:{type:"string",source:"attribute",selector:".wp-block-hayyabuild-modalbox",attribute:"data-size",default:"medium"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"empty",attribute:"style"}},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:b,align:"center"}},{name:"hayyabuild/button",attributes:{text:r("Close","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,i=t.close,b=t.delay,m=t.remember,g=t.size,v=t.id,k=t.classesList,w=t.style;return n.H.blockID(v,y,a),React.createElement(l,null,React.createElement(d,null,React.createElement(c,{title:r("Modal Box Settings","hayyabuild")},React.createElement(u,{label:r("Modal Size","hayyabuild"),value:g,options:[{label:r("Full Width","hayyabuild"),Key:"full",value:"full"},{label:r("Medium Size","hayyabuild"),Key:"medium",value:"medium"},{label:r("Small Size","hayyabuild"),Key:"small",value:"small"}],onChange:function(e){a({size:e})}}),React.createElement(s,{label:r("Show Close Button","hayyabuild"),help:r('You can add any button or link inside the modal with "hayyabuild-modalbox__close" class to close the modal.',"hayyabuild"),checked:!!i,onChange:function(){a({close:!i})}}),React.createElement(f,{label:r("Delay (seconds)","hayyabuild"),value:b,onChange:function(e){return a({delay:e})},min:1,max:60}),React.createElement(f,{label:r("Days","hayyabuild"),help:r("Show once per number of days","hayyabuild"),value:m,onChange:function(e){return a({remember:e})},min:0,max:30}),React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:v,elementStyle:"#".concat(v," .").concat(h,"__body"),value:{classesList:k,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{id:v,className:n.H.hayyaClasses(o,{classesList:k}),style:w},React.createElement("div",{className:"".concat(h,"__body")},React.createElement("div",{className:"".concat(h,"__body__content")},React.createElement(p,{templateLock:!1})))))},save:function(e){var t=e.attributes,a=(e.className,t.close),o=t.delay,r=t.remember,l=t.size,i=t.id,c=t.classesList;return React.createElement("div",{id:i,className:n.H.hayyaClasses({classesList:c}),"data-delay":o,"data-remember":r,"data-size":l},React.createElement("div",{className:"".concat(h,"__body")},React.createElement("div",{className:"".concat(h,"__body__content")},React.createElement(p.Content,null)),a&&React.createElement("div",{class:"".concat(h,"__body__close ").concat(h,"__close")})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return m})),a.d(t,"settings",(function(){return g}));var n=a(0);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,l=r.i18n.__,i=r.components,c=i.PanelBody,s=i.ToggleControl,u=r.element.Fragment,f=r.blockEditor,d=f.BlockControls,p=f.AlignmentToolbar,y=f.InspectorControls,b=f.InnerBlocks,h=[["hayyabuild/featureslistitem",{}],["hayyabuild/featureslistitem",{}],["hayyabuild/featureslistitem",{}]],m="hayyabuild/featureslist",g={title:l("Features List","hayyabuild"),description:l("Features List block are an advanced list to clarify the features of your products/services.","hayyabuild"),icon:n.H.iconStyle("yes"),category:"hayyabuild",attributes:{align:{type:"string",default:""},showline:{type:"boolean",default:!0},id:{type:"string"},classesList:{type:"string",default:""}},example:{innerBlocks:[{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:l("Features Line 1.","hayyabuild")}}]},{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:l("Features Line 2.","hayyabuild")}}]},{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:l("Features Line 3.","hayyabuild")}}]},{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"hayyabuild/button",attributes:{text:l("You can add any block","hayyabuild"),icon:"fa fa-home",size:3,align:"left",style:{background:"#6BAFFF"}}}]}]},edit:function(e){var t=e.attributes,a=e.setAttributes,r=(e.className,e.name),i=t.align,f=t.showline,m=t.id,g=t.classesList;return n.H.blockID(m,r,a),React.createElement(u,null,React.createElement(d,null,React.createElement(p,{value:i,onChange:function(e){return a({align:e})}})),React.createElement(y,null,React.createElement(c,{title:l("Features List Settings","hayyabuild")},React.createElement(s,{label:l("Show Icons Line","hayyabuild"),checked:!!f,onChange:function(){a({showline:!f})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:m,elementStyle:".".concat(m),value:{classesList:g,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-featureslist",o({"hayyabuild-featureslist--showline":!!f},"hayyabuild-featureslist--".concat(i),!!i),{classesList:g},m)},React.createElement(b,{allowedBlocks:["hayyabuild/featureslistitem"],template:h,templateLock:!1})))},save:function(e){var t=e.attributes,a=t.align,r=t.showline,l=t.id,i=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses(o({"hayyabuild-featureslist--showline":!!r},"hayyabuild-featureslist--".concat(a),!!a),{classesList:i},l)},React.createElement(b.Content,null))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return f})),a.d(t,"settings",(function(){return d}));var n=a(0),o=wp,r=o.i18n.__,l=o.components.PanelBody,i=o.element.Fragment,c=o.blockEditor,s=c.InspectorControls,u=c.InnerBlocks,f="hayyabuild/featureslistitem",d={title:r("Features Item","hayyabuild"),icon:n.H.iconStyle("yes"),category:"hayyabuild",attributes:{icon:{type:"string",default:"fa fa-check-double"},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/featureslist"],edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),c=t.icon,f=t.id,d=t.classesList;return n.H.blockID(f,o,a),React.createElement(i,null,React.createElement(s,null,React.createElement(l,{title:r("Features Item Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(n.H.SelectIcon,{title:r("Icon","hayyabuild"),classPlaceholder:r("Insert icon class","hayyabuild"),fliterPlaceholder:r("Search for icon","hayyabuild"),value:c,onSelect:function(e){return a({icon:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:f,elementStyle:".".concat(f),value:{classesList:d,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-featureslistitem","hayyabuild-featuresitem",{classesList:d},f)},React.createElement("div",{className:"hayyabuild-featuresitem__icon"},React.createElement("i",{className:c})),React.createElement("div",{className:"hayyabuild-featuresitem__content"},React.createElement(u,null))))},save:function(e){var t=e.attributes,a=t.icon,o=t.id,r=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-featuresitem",{classesList:r},o)},React.createElement("div",{className:"hayyabuild-featuresitem__icon"},React.createElement("i",{className:a})),React.createElement("div",{className:"hayyabuild-featuresitem__content"},React.createElement(u.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return i})),a.d(t,"settings",(function(){return _}));var n=a(0),o=a(5);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var l=o.pricingtable,i=l.name,c=l.attributes,s=l.category,u=wp,f=u.i18n.__,d=u.element,p=d.Fragment,y=(d.Component,u.components),b=y.PanelBody,h=y.ToggleControl,m=(y.SelectControl,u.editor.AlignmentToolbar,u.blockEditor),g=(m.PanelColorSettings,m.BlockControls),v=m.InspectorControls,k=(m.RichText,m.InnerBlocks),w=[["hayyabuild/pricingtableplan",{headingText:f("Basic","hayyabuild")}],["hayyabuild/pricingtableplan",{headingText:f("Standard","hayyabuild"),ribbonText:f("Featured","hayyabuild"),btnText:f("Sign up","hayyabuild"),featuredPlan:!0,btnLink:"#"}],["hayyabuild/pricingtableplan",{headingText:f("Premium","hayyabuild"),btnText:f("Sign up","hayyabuild"),btnLink:"#"}]],E="hayyabuild-pricingtable",_={title:f("Pricing Table","hayyabuild"),description:f("Pricing table block for entrepreneurs and service providers. With this block you can create a modern and responsive pricing table for your business pricing plans in just a few seconds.","hayyabuild"),icon:n.H.iconStyle("awards","#FFA500"),category:s,attributes:c,supports:{align:["wide","full"]},edit:function(e){var t,a=this,o=e.attributes,l=e.setAttributes,i=(e.className,e.name),c=(e.clientId,o.cleanStyle),s=o.zoomEffect,u=o.opacityEffect,d=o.gradientEffect,y=o.shadowEffect,m=o.classesList,_=o.id,R=o.numOfplans;n.H.blockID(_,i,l);f("Shadow","hayyabuild");return React.createElement(p,null,React.createElement(g,null),React.createElement(v,null,React.createElement(n.H.getPro,null),React.createElement(b,{title:f("Pricing Table Settings","hayyabuild")},React.createElement(h,{label:f("Zoom Effect","hayyabuild"),checked:!!s,onChange:function(){return l({zoomEffect:!s})}}),React.createElement(h,{label:f("Gradient Color","hayyabuild"),checked:!!d,onChange:function(){return l({gradientEffect:!d})}}),React.createElement(h,{label:f("Transparency","hayyabuild"),checked:!!u,onChange:function(){return l({opacityEffect:!u})}}),!1,React.createElement(n.H.BlocksOptions,{optionsTitle:f("HayyaBuild Options","hayyabuild"),styleTitle:f("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:_,elementStyle:".".concat(_," .hayyabuild-pricingtable__plan"),value:{classesList:m,inlineStyle:!0},onChange:function(e){return a.setAttributes({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses(E,"".concat(E,"--").concat(R,"-palns"),(t={},r(t,"".concat(E,"--clean-style"),!!c),r(t,"".concat(E,"--zoom-effect"),!!s),r(t,"".concat(E,"--opacity-effect"),!!u),r(t,"".concat(E,"--gradient-effect"),!!d),r(t,"".concat(E,"--shadow-effect"),!!y),t),{classesList:m},_)},React.createElement(k,{allowedBlocks:["hayyabuild/pricingtableplan"],templateLock:!1,template:w})))},save:function(e){var t,a=e.attributes,o=(e.innerBlocks,a.cleanStyle),l=a.zoomEffect,i=a.opacityEffect,c=a.gradientEffect,s=a.shadowEffect,u=a.classesList,f=a.id,d=a.numOfplans;return React.createElement("div",{className:n.H.hayyaClasses(E,"".concat(E,"--").concat(d,"-palns"),(t={},r(t,"".concat(E,"--clean-style"),!!o),r(t,"".concat(E,"--zoom-effect"),!!l),r(t,"".concat(E,"--opacity-effect"),!!i),r(t,"".concat(E,"--gradient-effect"),!!c),r(t,"".concat(E,"--shadow-effect"),!!s),t),{classesList:u},f)},React.createElement("div",{className:"".concat(E,"__plans")},React.createElement(k.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return l})),a.d(t,"settings",(function(){return E}));var n=a(0),o=a(5),r=o.pricingtableplan,l=r.name,i=r.attributes,c=r.category,s=wp,u=s.i18n.__,f=s.element.Fragment,d=s.components,p=d.TextControl,y=d.ToggleControl,b=d.PanelBody,h=(d.Toolbar,s.editor),m=h.ColorPalette,g=(h.MediaPlaceholder,s.blockEditor),v=g.RichText,k=g.InspectorControls,w=g.InnerBlocks,E={title:u("Pricing Plan","hayyabuild"),icon:n.H.iconStyle("columns"),description:u("Single table.","hayyabuild"),parent:["hayyabuild/pricingtable"],category:c,attributes:i,edit:function(e){var t=this,a=e.attributes,o=e.setAttributes,r=(e.className,e.noticeUI,e.noticeOperations,a.ribbonText),i=a.headingText,c=a.planIcon,s=a.featuredPlan,d=a.ribbonTextColor,h=a.ribbonBgColor,g=a.classesList,E=a.id;n.H.blockID(E,l,o);var _=a.priceText;return _&&"function"==typeof _.replace&&(_=_.replace(/<[^>]+>/g,"")),React.createElement(f,null,React.createElement(k,null,React.createElement(n.H.getPro,null),React.createElement(b,{title:u("Plan Settings","hayyabuild")},React.createElement(y,{label:u("Featured Plan","hayyabuild"),checked:!!s,onChange:function(){return o({featuredPlan:!s})}}),React.createElement(n.H.SelectIcon,{title:u("Plan Icon","hayyabuild"),classPlaceholder:u("Insert icon class","hayyabuild"),fliterPlaceholder:u("Search for icon","hayyabuild"),value:c,onSelect:function(e){return o({planIcon:e})}})),React.createElement(b,{title:u("Ribbon Settings","hayyabuild"),initialOpen:!1},React.createElement(p,{label:u("Ribbon Text","hayyabuild"),value:r,onChange:function(e){return o({ribbonText:e})}}),React.createElement("label",null,u("Text Color","hayyabuild")),React.createElement(m,{value:d,label:u("Text Color","hayyabuild"),onChange:function(e){return o({ribbonTextColor:e})}}),React.createElement("hr",null),React.createElement("label",null,u("Background Color","hayyabuild")),React.createElement(m,{value:h,label:u("Background Color","hayyabuild"),onChange:function(e){return o({ribbonBgColor:e})}})),React.createElement(n.H.BlocksOptions,{optionsTitle:u("HayyaBuild Options","hayyabuild"),styleTitle:u("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:E,elementStyle:".".concat(E),value:{classesList:g,inlineStyle:!0},onChange:function(e){return t.setAttributes({classesList:e.classesList})}})),React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-pricingtable__plan",{"hayyabuild-pricingtable__plan--featured":!!s},{classesList:g},E)},React.createElement("div",{className:"hayyabuild-pricingtable__plan__header"},r&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__ribbon"},React.createElement("span",{style:{color:d,backgroundColor:h}},r)),React.createElement("h3",{className:"hayyabuild-pricingtable__plan__header__heading"},React.createElement(v,{tagName:"span",value:i,placeholder:u("Heading","hayyabuild"),onChange:function(e){return o({headingText:e})},allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],inlineToolbar:!0})),c&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__icon"},React.createElement("i",{className:c})),React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__price"},React.createElement(v,{tagName:"span",value:_,placeholder:"$00",onChange:function(e){return o({priceText:e})}}))),React.createElement("div",{className:"hayyabuild-pricingtable__plan__body"},React.createElement(w,{template:[["core/paragraph",{placeholder:u("Features Here","hayyabuild")}],["hayyabuild/button",{text:u("Sign up","hayyabuild"),title:u("Sign up","hayyabuild"),link:"#",size:2}]],templateLock:!1}))))},save:function(e){var t=e.attributes,a=t.ribbonText,o=t.headingText,r=t.planIcon,l=t.featuredPlan,i=t.ribbonTextColor,c=t.ribbonBgColor,s=t.classesList,u=t.id,f=t.priceText,d="";if(f&&"function"==typeof f.replace){var p=(f=f.replace(/<[^>]+>/g,"")).split(".");2===p.length&&(f=p[0],d=p[1])}return React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-pricingtable__plan",{"hayyabuild-pricingtable__plan--featured":!!l},{classesList:s},u)},React.createElement("div",{className:"hayyabuild-pricingtable__plan__header"},a&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__ribbon"},React.createElement("span",{style:{color:i,backgroundColor:c}},a)),o&&React.createElement("h3",{className:"hayyabuild-pricingtable__plan__header__heading"},o),r&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__icon"},React.createElement("i",{className:r})),f&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__price"},f,""!==d&&React.createElement("sup",null,".",d))),React.createElement("div",{className:"hayyabuild-pricingtable__plan__body"},React.createElement(w.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return m})),a.d(t,"settings",(function(){return w}));var n=a(0),o=a(8);function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var i=wp,c=i.i18n.__,s=i.element.Fragment,u=i.components,f=u.PanelBody,d=u.ToggleControl,p=u.RangeControl,y=i.blockEditor,b=y.RichText,h=y.InspectorControls,m=o.name,g=o.attributes,v="hayyabuild-progressbar",k=function(e,t,a){return e=e>t?t:e,e=(e=a&&e>100?100:e)<0?0:e,t=a?100:t,{v:(a?e:e/t*100).toFixed(0),max:t,value:e}},w={title:c("Progress bar","hayyabuild"),description:c("Easily create beautiful progress bar.","hayyabuild"),icon:n.H.iconStyle("performance","green","90deg"),keywords:[c("progress bar","hayyabuild")],attributes:g,category:"hayyabuild",supports:{html:!1},example:{attributes:{title:c("Progress bar","hayyabuild"),percent:!1,showProgressText:!1,max:88,value:60,style:{backgroundImage:"linear-gradient(257deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)"}}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),i=t.title,u=t.percent,y=t.showProgressText,m=t.animate,g=t.id,w=t.classesList,E=t.max,_=t.value,R=t.style;n.H.blockID(g,o,a);var x=k(_,E,u),C=x.v;E=x.max,_=x.value;var S=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?r(Object(a),!0).forEach((function(t){l(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},R,{width:C+"%"}),O=y?"".concat(_).concat(u?"%":""):"",L=y?"".concat(E).concat(u?"%":""):"".concat(_).concat(u?"%":""," ").concat(u?"":"/"+E);return React.createElement(s,null,React.createElement(h,null,React.createElement(f,{title:c("Progress Bar Settings","hayyabuild")},React.createElement(d,{label:c("Percent","hayyabuild"),checked:!!u,onChange:function(){a({percent:!u})}}),React.createElement(d,{label:c("Show Progress Text","hayyabuild"),checked:!!y,onChange:function(){a({showProgressText:!y})}}),React.createElement(d,{label:c("Animated Background","hayyabuild"),checked:!!m,help:c("For gradient background only.","hayyabuild"),onChange:function(){a({animate:!m})}}),React.createElement(p,{label:c("Value","hayyabuild"),value:_,onChange:function(e){return a({value:e})},min:0,max:E}),!u&&React.createElement(p,{label:c("Max","hayyabuild"),value:E,onChange:function(e){return a({max:e})},min:0,max:1e4}),React.createElement(n.H.BlocksOptions,{elementID:g,elementStyle:".".concat(g," .").concat(v,"__container__bar"),value:{classesList:w,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(v,{classesList:w},g)},React.createElement(b,{tagName:"span",placeholder:c("Write Title…","hayyabuild"),value:i,className:"".concat(v,"__title"),onChange:function(e){return a({title:e})},allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"]}),React.createElement("span",{className:"".concat(v,"__max")},L),React.createElement("div",{class:"".concat(v,"__container")},React.createElement("div",{class:"".concat(v,"__container__bar").concat(m?" "+v+"__container__bar--animate":""),style:S},O))))},save:function(e){var t=e.attributes,a=e.className,o=t.title,r=t.percent,l=t.showProgressText,i=t.animate,c=t.id,s=t.classesList,u=t.value,f=t.max,d=k(u,f,r),p=d.v;f=d.max,u=d.value;var y={width:p+"%"},b=l?"".concat(u).concat(r?"%":""):"",h=l?"".concat(f).concat(r?"%":""):"".concat(u).concat(r?"%":""," ").concat(r?"":"/"+f);return React.createElement("div",{className:n.H.hayyaClasses(a,v,{classesList:s},c)},React.createElement("span",{class:"".concat(v,"__title")},o),React.createElement("span",{className:"".concat(v,"__max")},h),React.createElement("div",{class:"".concat(v,"__container")},React.createElement("div",{class:"".concat(v,"__container__bar").concat(i?" "+v+"__container__bar--animate":""),style:y},b)))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=wp.components,r=o.Path,l=o.SVG;function i(e){var t=e.level,a=e.isPressed,n=void 0!==a&&a,o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?React.createElement(l,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},React.createElement(r,{d:o[t]})):null}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=wp,b=y.i18n,h=b.__,m=b.sprintf,g=y.element.Component,v=y.components.ToolbarGroup,k=function(e){function t(){return s(this,t),f(this,d(t).apply(this,arguments))}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),a=t,(n=[{key:"createLevelControl",value:function(e,t,a){var n=e===t;return{icon:React.createElement(i,{level:e,isPressed:n}),title:m(h("Heading %d","hayyabuild"),e),isActive:n,onClick:function(){return a(e)}}}},{key:"render",value:function(){var e=this,t=this.props,a=t.isCollapsed,n=void 0===a||a,o=t.minLevel,r=t.maxLevel,l=t.selectedLevel,c=t.onChange;return React.createElement(v,{isCollapsed:n,icon:React.createElement(i,{level:l}),controls:function(e,t){for(var a=[],n=e;n<=t;n++)a.push(n);return a}(o,r).map((function(t){return e.createLevelControl(t,l,c)})),label:h("Change heading level","hayyabuild")})}}])&&u(a.prototype,n),o&&u(a,o),t}(g);function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?S(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}lodash.range;var L=wp,N=L.i18n,H=N.__,T=(N.sprintf,L.element),I=T.Platform,B=T.Fragment,P=T.Component,j=L.components,F=j.PanelBody,z=(j.Toolbar,j.ToggleControl),M=j.SelectControl,A=L.blockEditor,D=A.RichText,q=A.PanelColorSettings,V=A.BlockControls,U=A.AlignmentToolbar,W=A.InspectorControls,K=function(e){function t(){var e;return _(this,t),(e=x(this,C(t).apply(this,arguments))).onChangeContent=e.onChangeContent.bind(S(e)),e.toggleMask=e.toggleMask.bind(S(e)),e.toggleDubleLines=e.toggleDubleLines.bind(S(e)),e.setStyle=e.setStyle.bind(S(e)),e}var a,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O(e,t)}(t,e),a=t,(o=[{key:"onChangeContent",value:function(e){(0,this.props.setAttributes)({content:e})}},{key:"toggleDubleLines",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({dubleLines:!t.dubleLines})}},{key:"toggleMask",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({apllyMask:!t.apllyMask})}},{key:"setStyle",value:function(e){(0,this.props.setAttributes)({separatorStyle:e})}},{key:"render",value:function(){var e,t=this.props,a=t.attributes,o=t.setAttributes,r=t.className,l=t.name,i=a.content,c=a.icon,s=a.align,u=a.level,f=a.dubleLines,d=a.apllyMask,p=a.separatorStyle,y=a.borderColor,b=a.textColor,h=a.id,m=a.classesList;n.H.blockID(h,l,o);var g=I.select({android:!0,native:!1,web:!1}),v="h"+u;return React.createElement(B,null,React.createElement(V,null,!g&&React.createElement(U,{value:s,onChange:function(e){return o({align:e})}}),React.createElement(k,{minLevel:"web"===I.OS?2:1,maxLevel:"web"===I.OS?5:7,selectedLevel:u,onChange:function(e){return o({level:e})}})),React.createElement(W,null,React.createElement(F,{title:H("Separator Settings","hayyabuild")},React.createElement(n.H.getPro,null),"web"===I.OS&&React.createElement(B,null,React.createElement("p",null,H("Text Level","hayyabuild")),React.createElement(k,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:u,onChange:function(e){return o({level:e})}})),React.createElement(n.H.SelectIcon,{title:H("Icon","hayyabuild"),classPlaceholder:H("Insert icon class","hayyabuild"),fliterPlaceholder:H("Search for icon","hayyabuild"),value:c,onSelect:function(e){return o({icon:e})}}),React.createElement(z,{label:H("Duble Lines","hayyabuild"),checked:!!f,onChange:this.toggleDubleLines}),React.createElement(z,{label:H("Apply Mask","hayyabuild"),checked:!!d,onChange:this.toggleMask}),React.createElement(M,{label:H("Separator Style","hayyabuild"),value:p,options:[{label:H("Default","hayyabuild"),Key:"default",value:"Default"},{label:H("Dotted","hayyabuild"),Key:"dotted",value:"dotted"},{label:H("dashed","hayyabuild"),Key:"dashed",value:"dashed"}],onChange:this.setStyle}),React.createElement(n.H.BlocksOptions,{optionsTitle:H("HayyaBuild Options","hayyabuild"),styleTitle:H("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",value:{classesList:m},onChange:function(e){return o({classesList:e.classesList})}})),React.createElement(q,{title:H("Color Settings","hayyabuild"),initialOpen:!1,colorSettings:[{value:b,onChange:function(e){return o({textColor:e})},label:H("Text Color","hayyabuild")},{value:y,onChange:function(e){return o({borderColor:e})},label:H("Separator Color","hayyabuild")}]})),React.createElement("div",{className:n.H.hayyaClasses(r,(e={"separator-mask":d,"duble-lines":f},E(e,s+"-text",s),E(e,p,p),e),{classesList:m},h)},React.createElement("div",{className:"left-separator",style:{borderColor:y}}),React.createElement(D,{tagName:v,className:"separator-text",onChange:this.onChangeContent,value:i,style:{color:b},allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],inlineToolbar:!0}),c&&React.createElement("i",{className:c,style:{color:b}}),React.createElement("div",{className:"right-separator",style:{borderColor:y}})))}}])&&R(a.prototype,o),r&&R(a,r),t}(P),G=a(17),$=a.n(G);function Q(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return X})),a.d(t,"settings",(function(){return ee}));var Z=wp,Y=Z.i18n.__,J=Z.blockEditor.RichText,X="hayyabuild/separator",ee={title:Y("Separator","hayyabuild"),description:Y("You can use this block to separate the content vertically.","hayyabuild"),icon:n.H.iconStyle($.a),category:"hayyabuild",attributes:{content:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6"},icon:{type:"string"},align:{type:"string",default:"center"},level:{type:"number",default:4},separatorStyle:{type:"string"},dubleLines:{type:"boolean",default:!1},apllyMask:{type:"boolean",default:!1},borderColor:{type:"string"},textColor:{type:"string"},id:{type:"string"},classesList:{type:"string"}},supports:{align:["wide","full"]},example:{attributes:{content:Y("Separator Block","hayyabuild"),icon:"fa fa-angle-down",dubleLines:!0,borderColor:"#3888DB",textColor:"#3888DB",separatorStyle:"default"}},edit:K,save:function(e){var t,a=e.attributes,o=(e.setAttributes,a.content),r=a.icon,l=a.align,i=a.level,c=a.dubleLines,s=a.apllyMask,u=a.separatorStyle,f=a.borderColor,d=a.textColor,p=a.id,y=a.classesList,b="h"+i,h=o.length>0&&""!==o[0];return React.createElement("div",{className:n.H.hayyaClasses((t={"separator-mask":s,"duble-lines":c},Q(t,l+"-text",!!l),Q(t,u,!!u),t),{classesList:y},p)},React.createElement("div",{className:"left-separator",style:{borderColor:f}}),h&&React.createElement(J.Content,{tagName:b,value:o,style:{color:d}}),r&&React.createElement("i",{className:r,style:{color:d}}),React.createElement("div",{className:"right-separator",style:{borderColor:f}}))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=wp.components,r=o.Path,l=o.SVG;function i(e){var t=e.level,a=e.isPressed,n=void 0!==a&&a,o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?React.createElement(l,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},React.createElement(r,{d:o[t]})):null}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=wp,b=y.i18n,h=b.__,m=b.sprintf,g=y.element.Component,v=y.components.ToolbarGroup,k=function(e){function t(){return s(this,t),f(this,d(t).apply(this,arguments))}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),a=t,(n=[{key:"createLevelControl",value:function(e,t,a){var n=e===t;return{icon:React.createElement(i,{level:e,isPressed:n}),title:m(h("Heading %d","hayyabuild"),e),isActive:n,onClick:function(){return a(e)}}}},{key:"render",value:function(){var e=this,t=this.props,a=t.isCollapsed,n=void 0===a||a,o=t.minLevel,r=t.maxLevel,l=t.selectedLevel,c=t.onChange;return React.createElement(v,{isCollapsed:n,icon:React.createElement(i,{level:l}),controls:function(e,t){for(var a=[],n=e;n<=t;n++)a.push(n);return a}(o,r).map((function(t){return e.createLevelControl(t,l,c)})),label:h("Change heading level","hayyabuild")})}}])&&u(a.prototype,n),o&&u(a,o),t}(g);function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}lodash.range;var S=wp,O=S.i18n,L=O.__,N=(O.sprintf,S.element),H=N.Platform,T=N.Fragment,I=N.Component,B=S.components,P=B.PanelBody,j=(B.Toolbar,B.ToggleControl,B.SelectControl,S.blockEditor),F=j.RichText,z=j.BlockControls,M=j.AlignmentToolbar,A=j.InspectorControls,D=function(e){function t(){return E(this,t),R(this,x(t).apply(this,arguments))}var a,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=e.className,r=e.name,l=t.content,i=t.align,c=t.level,s=t.id,u=t.classesList;n.H.blockID(s,r,a);var f,d,p,y=H.select({android:!0,native:!1,web:!1}),b="h"+c;return React.createElement(T,null,React.createElement(z,null,!y&&React.createElement(M,{value:i,onChange:function(e){return a({align:e})}}),React.createElement(k,{minLevel:"web"===H.OS?2:1,maxLevel:"web"===H.OS?5:7,selectedLevel:c,onChange:function(e){return a({level:e})}})),React.createElement(A,null,React.createElement(P,{title:L("Heading Settings","hayyabuild")},"web"===H.OS&&React.createElement(T,null,React.createElement("p",null,L("Text Level","hayyabuild")),React.createElement(k,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:c,onChange:function(e){return a({level:e})}})),React.createElement(n.H.BlocksOptions,{optionsTitle:L("HayyaBuild Options","hayyabuild"),styleTitle:L("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:s,elementStyle:".".concat(s),value:{classesList:u,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(o,(f={},d=i+"-text",p=!!i,d in f?Object.defineProperty(f,d,{value:p,enumerable:!0,configurable:!0,writable:!0}):f[d]=p,f),{classesList:u},s)},React.createElement(F,{tagName:b,onChange:function(e){return a({content:e})},value:l,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough","core/link","core/code"]})))}}])&&_(a.prototype,o),r&&_(a,r),t}(I);a.d(t,"name",(function(){return W})),a.d(t,"settings",(function(){return K}));var q=wp,V=q.i18n.__,U=q.blockEditor.RichText,W="hayyabuild/heading",K={title:V("Advanced Heading","hayyabuild"),description:V("You can use this block to separate the content vertically.","hayyabuild"),icon:n.H.iconStyle("editor-table"),category:"hayyabuild",attributes:{content:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6"},align:{type:"string"},level:{type:"number",default:3},id:{type:"string"},classesList:{type:"string"}},example:{attributes:{content:V("Advanced Heading","hayyabuild")}},edit:D,save:function(e){var t,a,o,r=e.attributes,l=(e.setAttributes,r.content),i=r.align,c=r.level,s=r.id,u=r.classesList,f="h"+c;return l.length>0&&""!==l[0]&&React.createElement(U.Content,{tagName:f,value:l,className:n.H.hayyaClasses((t={},a=i+"-text",o=!!i,a in t?Object.defineProperty(t,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[a]=o,t),{classesList:u},s)})}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=wp.components,r=o.G,l=o.Path,i=o.SVG,c=React.createElement(i,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement(l,{fill:"none",d:"M0 0h24v24H0V0z"}),React.createElement(r,null,React.createElement(l,{d:"M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"})));function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?b(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=wp,g=m.i18n.__,v=m.element,k=v.Component,w=v.Fragment,E=m.components,_=E.Button,R=E.PanelBody,x=E.RangeControl,C=E.SelectControl,S=E.ToggleControl,O=E.Toolbar,L=E.withNotices,N=m.blockEditor,H=N.RichText,T=N.InspectorControls,I=N.BlockIcon,B=N.MediaPlaceholder,P=N.BlockControls,j=N.MediaUpload,F="hayyabuild-gallerybox",z=["image"],M=L(function(e){function t(){var e;return f(this,t),(e=p(this,y(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(b(e)),e.onSelectImages=e.onSelectImages.bind(b(e)),e.setAttributes=e.setAttributes.bind(b(e)),e.state={selectedImage:null},e}var a,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),a=t,(o=[{key:"setAttributes",value:function(e){e.images&&(e=e),this.props.setAttributes(e)}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onSelectImages",value:function(e){this.setAttributes({images:e.map((function(e){return{id:e.id,alt:e.alt,url:e.url,caption:e.caption}}))})}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e,t=this,a=this.props,o=a.attributes,r=a.setAttributes,l=a.isSelected,i=a.className,s=a.noticeOperations,f=a.noticeUI,d=a.name,p=o.images,y=o.size,b=o.showcaption,h=o.effect,m=o.autoplay,v=o.fitimages,k=o.zoomimage,E=o.id,L=o.classesList;n.H.blockID(E,d,r);var N=!!p.length,M=React.createElement(P,null,React.createElement(O,null,React.createElement(j,{onSelect:this.onSelectImages,allowedTypes:z,multiple:!0,gallery:!0,value:p.map((function(e){return e.id})),render:function(e){var t=e.open;return React.createElement(_,{className:"components-toolbar__control",label:g("Edit gallery","hayyabuild"),icon:"edit",onClick:t})}}))),A=React.createElement(B,{addToGallery:N,isAppender:N,className:i,disableMediaButtons:N&&!l,icon:!N&&React.createElement(I,{icon:c}),labels:{title:!N&&g("Gallery","hayyabuild"),instructions:!N&&g("Drag images, upload new ones or select files from your library.","hayyabuild")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:z,multiple:!0,value:N?p:void 0,onError:s.createErrorNotice,notices:N?void 0:f});return N?React.createElement(w,null,M,React.createElement(T,null,React.createElement(R,{title:g("Gallery Box Settings","hayyabuild")},React.createElement(x,{label:g("Images size","hayyabuild"),value:y,onChange:function(e){return t.setAttributes({size:e})},min:1,max:5}),React.createElement(S,{label:g("Show Caption","hayyabuild"),help:g("Show caption on image hover.","hayyabuild"),checked:!!b,onChange:function(){t.setAttributes({showcaption:!b})}}),React.createElement(C,{label:g("Transition Effect","hayyabuild"),value:h,options:[{label:g("None","hayyabuild"),Key:"none",value:"none"},{label:g("Fade","hayyabuild"),Key:"fade",value:"fade"}],onChange:function(e){return t.setAttributes({effect:e})}}),React.createElement(S,{label:g("Auto Playing Slideshow","hayyabuild"),help:g("Slideshow paly automatically.","hayyabuild"),checked:!!m,onChange:function(){t.setAttributes({autoplay:!m})}}),React.createElement(S,{label:g("Fit to screen","hayyabuild"),help:g("Fit images to screen.","hayyabuild"),checked:!!v,onChange:function(){t.setAttributes({fitimages:!v})}}),React.createElement(S,{label:g("Zoom Effect","hayyabuild"),help:g("Zoom effect on image hover.","hayyabuild"),checked:!!k,onChange:function(){t.setAttributes({zoomimage:!k})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:g("HayyaBuild Options","hayyabuild"),styleTitle:g("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:E,elementStyle:".".concat(E," .hayyabuild-gallerybox__container"),value:{classesList:L,inlineStyle:!0},onChange:function(e){return t.setAttributes({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses(F,(e={},u(e,"".concat(F,"--showcaption"),!!b),u(e,"".concat(F,"--autoplay"),!!m),u(e,"".concat(F,"--fitimages"),!!v),u(e,"".concat(F,"--zoomimage"),!!k),e),{classesList:L},E),"data-size":y,"data-effect":h},React.createElement("div",{className:"hayyabuild-gallerybox__container"},p.map((function(e,a){return React.createElement("figure",{className:"hayyabuild-gallerybox__container__image",key:e.id||e.url},React.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id}),React.createElement(H,{tagName:"figcaption",placeholder:g("Write caption…","hayyabuild"),value:e.caption,isSelected:t.state.captionSelected,onChange:function(e){return t.setAttributes({caption:e})},unstableOnFocus:t.onSelectCaption,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],inlineToolbar:!0}))})))),l&&A):React.createElement(w,null,M,A)}}])&&d(a.prototype,o),r&&d(a,r),t}(k));function A(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return U})),a.d(t,"settings",(function(){return K}));var D=wp,q=D.i18n.__,V=D.blockEditor.RichText,U="hayyabuild/gallerybox",W={images:{type:"array",default:[],source:"query",selector:"figure.hayyabuild-gallerybox__container__image",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"}}},size:{type:"string",source:"attribute",attribute:"data-size",selector:".".concat("hayyabuild-gallerybox"),default:"3"},showcaption:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--showcaption"),default:!0},effect:{type:"string",source:"attribute",attribute:"data-effect",selector:".".concat("hayyabuild-gallerybox"),default:"fade"},autoplay:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--autoplay"),default:!0},fitimages:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--fitimages"),default:!0},zoomimage:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--zoomimage"),default:!0},id:{type:"string"},classesList:{type:"string",default:""}},K={title:q("Gallery Box","hayyabuild"),icon:n.H.iconStyle("images-alt2"),description:q('Gallery Box block is a block for displaying images in a Mac-style "lightbox" that floats overtop of web page.',"hayyabuild"),category:"hayyabuild",attributes:W,keywords:[q("image","hayyabuild"),q("images","hayyabuild"),q("gallery","hayyabuild")],supports:{align:["wide","full"]},example:{attributes:{images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},edit:M,save:function(e){var t,a=e.attributes,o=(e.className,a.images),r=a.size,l=a.showcaption,i=a.effect,c=a.autoplay,s=a.fitimages,u=a.zoomimage,f=a.id,d=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-gallerybox",(t={},A(t,"".concat("hayyabuild-gallerybox","--showcaption"),!!l),A(t,"".concat("hayyabuild-gallerybox","--autoplay"),!!c),A(t,"".concat("hayyabuild-gallerybox","--fitimages"),!!s),A(t,"".concat("hayyabuild-gallerybox","--zoomimage"),!!u),t),{classesList:d},f),"data-size":r,"data-effect":i},React.createElement("div",{className:"".concat("hayyabuild-gallerybox","__container")},o.map((function(e,t){return React.createElement("figure",{className:"".concat("hayyabuild-gallerybox","__container__image"),key:e.url},React.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id}),React.createElement(V.Content,{tagName:"figcaption",value:e.caption}))})),React.createElement("div",null,React.createElement("div",{class:"hayyabuild-gallerybox__container__next"}),React.createElement("div",{class:"hayyabuild-gallerybox__container__previous"}),React.createElement("div",{class:"hayyabuild-gallerybox__container__close"}))))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=wp.components,r=(o.Path,o.SVG,o.rect,React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40px",height:"40px",viewBox:"0 0 100 100"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#DED559",d:"M7 22L50 0l43 22-43 21.001L7 22z"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#D0881F",d:"M50.003 42.997L7 22v54.28l43.006 21.714-.003-54.997z"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#C7A934",d:"M50 97.994L93.006 76.28V22L50.003 42.997 50 97.994z"}),React.createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",fill:"#CE851B",d:"M27.036 11.705l42.995 21.498 2.263-1.105-43.047-21.524z"}),React.createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",d:"M21.318 14.674L63.3 36.505l15.99-7.809L35.788 7.271z"}),React.createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",d:"M63.312 36.505l15.978-7.818v11l-15.978 8.817V36.505z"}),React.createElement("rect",{x:"0",y:"0",width:"100",height:"100",fill:"rgba(0, 0, 0, 0)"}),React.createElement("path",{clipRule:"evenodd",d:"M16.488 73.027L70.906 18.61c1.172-1.172 4.021-.222 6.364 2.121s3.293 5.193 2.121 6.364L24.973 81.513l-8.485-8.486z",fill:"none"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#2C3E50",d:"M64.906 29.609L12.018 82.497a50.269 50.269 0 0 0 8.847 8.124l52.527-52.527c1.172-1.171.222-4.021-2.121-6.364-2.344-2.342-5.194-3.292-6.365-2.121z"}),React.createElement("path",{fill:"#F0C419",d:"M88.5 23.002c.767-6.901 4.6-10.735 11.5-11.501-6.9-.767-10.734-4.6-11.5-11.5-.767 6.9-4.6 10.734-11.5 11.5 6.899.766 10.733 4.6 11.5 11.501zM31.5 0c-.5 4.5-3 7-7.501 7.501 4.5.5 7.001 3 7.501 7.5.5-4.5 3-7 7.501-7.5C34.5 7 32 4.5 31.5 0zm60 46.001c-.5 4.5-3 7-7.501 7.501 4.5.5 7.001 3 7.501 7.5.5-4.5 3-7 7.501-7.5C94.5 53.001 92 50.5 91.5 46.001z"}),React.createElement("path",{fill:"#fff",d:"M71.5 53c-.367 3.299-2.2 5.133-5.5 5.5 3.3.366 5.134 2.2 5.5 5.499.367-3.299 2.2-5.133 5.5-5.499-3.3-.367-5.134-2.202-5.5-5.5zm-25-31.001c-.367 3.3-2.2 5.134-5.5 5.501 3.3.367 5.134 2.199 5.5 5.5.367-3.301 2.2-5.133 5.5-5.5-3.3-.367-5.134-2.201-5.5-5.501zM58.5 3c-.367 3.298-2.2 5.133-5.5 5.5 3.3.366 5.134 2.2 5.5 5.499.366-3.299 2.2-5.133 5.5-5.499-3.3-.367-5.134-2.202-5.5-5.5z"}),React.createElement("rect",{x:"0",y:"0",width:"100",height:"100",fill:"rgba(0, 0, 0, 0)"})));a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return m}));var l=wp,i=l.i18n.__,c=l.element.Fragment,s=l.components,u=s.PanelBody,f=s.ToggleControl,d=s.TextControl,p=s.SelectControl,y=l.blockEditor.InspectorControls,b=l.blockEditor.InnerBlocks,h="hayyabuild/magicbox",m={title:i("Magic Box","hayyabuild"),icon:n.H.iconStyle(r),description:i("With magic box block you can show or hide inner content based on different conditions. For example some times you need to show some information for only logged-in users or you need to put some content in footer only for the front page.","hayyabuild"),category:"hayyabuild",attributes:{show_in_all:{type:"boolean",default:!1},is_user_logged_in:{type:"string",default:""},is_front_page:{type:"boolean",default:!1},is_home:{type:"boolean",default:!1},is_single:{type:"boolean",default:!1},is_author:{type:"boolean",default:!1},show_pages:{type:"string",default:""},hide_pages:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""},classesName:{type:"string",default:""},is_updated:{type:"boolean",default:!1},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:i("You can use this box to display content under a specific conditions.","hayyabuild"),align:"center"}},{name:"hayyabuild/button",attributes:{text:i("Button","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,r=t.show_in_all,l=t.is_user_logged_in,s=t.is_front_page,m=t.is_home,g=t.is_single,v=t.is_author,k=t.show_pages,w=t.hide_pages,E=t.id,_=t.classesList,R=t.classesName,x=t.style;return n.H.blockID(E,h,a),R!==o&&a({classesName:o}),React.createElement(c,null,React.createElement(y,null,React.createElement(u,{title:i("Magic Box Settings","hayyabuild")},React.createElement(f,{label:i("Show in all pages","hayyabuild"),checked:!!r,onChange:function(){a({show_in_all:!r,is_front_page:!r,is_home:!r,is_single:!r,is_author:!r,is_updated:!0})}}),React.createElement("hr",{className:"hayyabuild-hr-separator"}),React.createElement(p,{label:i("Logged in users","hayyabuild"),value:l,options:[{label:i("Never mind!","hayyabuild"),Key:"",value:""},{label:i("Show","hayyabuild"),Key:"show",value:"show"},{label:i("Hide","hayyabuild"),Key:"hide",value:"hide"}],onChange:function(e){a({is_user_logged_in:e})}}),React.createElement("hr",{className:"hayyabuild-hr-separator"}),React.createElement(f,{label:i("Show in front page","hayyabuild"),checked:!!s,onChange:function(){a({is_front_page:!s,is_updated:!0})}}),React.createElement(f,{label:i("show in blog home page","hayyabuild"),checked:!!m,onChange:function(){a({is_home:!m,is_updated:!0})}}),React.createElement(f,{label:i("show in post page","hayyabuild"),checked:!!g,onChange:function(){a({is_single:!g,is_updated:!0})}}),React.createElement(f,{label:i("Show in author page","hayyabuild"),checked:!!v,onChange:function(){a({is_author:!v,is_updated:!0})}}),!r&&React.createElement(d,{label:i("Show in pages","hayyabuild"),placeholder:i('pages ID’s separated by comma "," .',"hayyabuild"),value:k,onChange:function(e){a({show_pages:e,is_updated:!0})}}),r&&React.createElement(d,{label:i("Hide from pages","hayyabuild"),placeholder:i('pages ID’s separated by comma "," .',"hayyabuild"),value:w,onChange:function(e){a({hide_pages:e,is_updated:!0})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:i("HayyaBuild Options","hayyabuild"),styleTitle:i("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:E,elementStyle:".".concat(E),value:{classesList:_,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses(o,{classesList:_},E),style:x},React.createElement(b,{templateLock:!1})))},save:function(e){e.attributes,e.className;return React.createElement(b.Content,null)}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?s(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=wp,d=f.i18n.__,p=f.element.Component,y=f.components,b=y.PanelBody,h=y.SelectControl,m=y.Button,g=(y.ToggleControl,f.blockEditor),v=g.BlockVerticalAlignmentToolbar,k=g.InspectorControls,w=g.BlockControls,E=f.blockEditor.InnerBlocks,_=n.H.memoize((function(e){for(var t=[],a=e.split("_"),n=1;n<=a.length;n++)t.push(["hayyabuild/column",{}]);return t})),R={"1-2_1-2":"1/2 + 1/2","1-3_1-3_1-3":"1/3 + 1/3 + 1/3","1-3_2-3":"1/3 + 2/3","2-3_1-3":"2/3 + 1/3","1-4_1-4_1-4_1-4":"1/4 + 1/4 + 1/4 + 1/4","1-4_1-2_1-4":"1/4 + 1/2 + 1/4","1-4_1-4_1-2":"1/4 + 1/4 + 1/2","1-2_1-4_1-4":"1/2 + 1/4 + 1/4","1-4_3-4":"1/4 + 3/4","3-4_1-4":"3/4 + 1/4"},x=function(e){function t(){var e;return r(this,t),(e=i(this,c(t).apply(this,arguments))).setColumn=e.setColumn.bind(s(e)),e}var a,o,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"setColumn",value:function(e){this.props.setAttributes({row:e})}},{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,o=t.setAttributes,r=t.className,l=t.name,i=a.row,c=a.device,s=a.verticalAlignment,u=a.id,f=a.classesList;n.H.blockID(u,l,o);var p,y,g,x=[],C=function(t){x.push(React.createElement(m,{label:R[t],className:"hayyabuild-icon icon-"+t,key:t,onClick:function(){e.setColumn(t)}}))};for(var S in R)C(S);return React.createElement(React.Fragment,null,React.createElement(w,null,React.createElement(v,{onChange:function(e){o({verticalAlignment:e})},value:s})),React.createElement(k,null,React.createElement(b,{title:d("Row Settings","hayyabuild")},React.createElement("label",null,d("layouts configuration","hayyabuild")),React.createElement("div",{style:{textAlign:"center"}},x),React.createElement("hr",null),React.createElement(h,{label:d("Screen size","hayyabuild"),value:c,options:[{label:d("Disable responsive","hayyabuild"),Key:"none",value:""},{label:d("Small screens","hayyabuild"),Key:"small",value:"hayyabuild-row-small"},{label:d("Medium screens","hayyabuild"),Key:"medium",value:"hayyabuild-row-medium"},{label:d("Large screens","hayyabuild"),Key:"large",value:"hayyabuild-row-large"}],onChange:function(e){return o({device:e})}}),React.createElement("i",null,d("create responsive grid system for small, medium or large screen sizes.","hayyabuild")),React.createElement("hr",null),React.createElement(n.H.BlocksOptions,{optionsTitle:d("HayyaBuild Options","hayyabuild"),styleTitle:d("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:u,elementStyle:".".concat(u),value:{classesList:f,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(r,"has-".concat(i,"-columns"),(p={},y="hayyabuild-rows-".concat(s,"-columns"),g=!!s,y in p?Object.defineProperty(p,y,{value:g,enumerable:!0,configurable:!0,writable:!0}):p[y]=g,p),{classesList:f},u)},React.createElement(E,{allowedBlocks:["hayyabuild/column"],template:_(i),templateLock:"all"})))}}])&&l(a.prototype,o),f&&l(a,f),t}(p),C=a(14),S=a.n(C);function O(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return T})),a.d(t,"settings",(function(){return I}));var L=wp,N=L.i18n.__,H=L.blockEditor.InnerBlocks,T="hayyabuild/row",I={title:N("Row and Columns","hayyabuild"),description:N('CSS Grid Layout aka "Grid", It is a 2-dimensional grid system, meaning it can handle both columns and rows.',"hayyabuild"),icon:n.H.iconStyle(S.a),category:"hayyabuild",attributes:{row:{type:"string",default:"1-2_1-2"},device:{type:"string"},verticalAlignment:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""}},supports:{align:["wide","full"]},example:{attributes:{row:"1-3_2-3"},innerBlocks:[{name:"hayyabuild/column",attributes:{style:{borderRadius:"3px",padding:"20px 0",background:"#D4ECFF",border:"2px solid transparent"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:N("Column 1","hayyabuild"),align:"center"}}]},{name:"hayyabuild/column",attributes:{style:{borderRadius:"3px",padding:"20px 0",background:"#FFD1E5",border:"2px solid transparent"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:N("Column 2","hayyabuild"),align:"center"}}]}]},edit:x,save:function(e){var t,a=e.attributes,o=a.row,r=a.device,l=a.verticalAlignment,i=a.id,c=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("has-".concat(o,"-columns"),(t={},O(t,r,r),O(t,"hayyabuild-rows-".concat(l,"-columns"),!!l),t),{classesList:c},i)},React.createElement(H.Content,null))},deprecated:[{attributes:{row:{type:"string",default:"1-2_1-2"},device:{type:"string"},middleColumns:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""}},save:function(e){var t,a=e.attributes,o=a.row,r=a.device,l=a.middleColumns,i=a.id,c=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("has-".concat(o,"-columns"),(t={},O(t,r,r),O(t,"hayyabuild-rows-".concat(l,"-columns"),!!l),t),{classesList:c},i)},React.createElement(H.Content,null))}},{attributes:{row:{type:"string",default:"1-2_1-2"},device:{type:"string"},middleColumns:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""}},save:function(e){var t,a=e.attributes,o=a.row,r=a.device,l=a.middleColumns,i=a.id,c=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("has-".concat(o,"-columns"),(t={},O(t,r,r),O(t,"hayyabuild-rows-middle-columns",!!l),t),{classesList:c},i)},React.createElement(H.Content,null))}}]}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=wp,f=u.i18n.__,d=u.element,p=d.Fragment,y=d.Component,b=u.components,h=b.RangeControl,m=b.PanelBody;!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(u.editor);var g=u.blockEditor,v=g.BlockControls,k=g.InspectorControls,w=g.InnerBlocks,E=function(e){function t(){return r(this,t),i(this,c(t).apply(this,arguments))}var a,o,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e,t,a,o=this.props,r=o.attributes,l=o.setAttributes,i=(o.className,o.name),c=r.buttonsSpace,s=r.id,u=r.classesList;return n.H.blockID(s,i,l),React.createElement(p,null,React.createElement(v,null,React.createElement("div",{className:"editor-format-toolbar"})),React.createElement(k,null,React.createElement(m,{title:f("Buttons Group Settings","hayyabuild")},React.createElement(h,{label:f("Space between buttons","hayyabuild"),value:c,onChange:function(e){return l({buttonsSpace:e})},min:0,max:5}),React.createElement(n.H.BlocksOptions,{optionsTitle:f("HayyaBuild Options","hayyabuild"),styleTitle:f("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:s,elementStyle:".".concat(s),value:{classesList:u,inlineStyle:!0},onChange:function(e){return l({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-buttons",(e={},t="".concat("wp-block-hayyabuild-buttons","--space-").concat(c),a=0!==c,t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e),{classesList:u},s)},React.createElement(w,{allowedBlocks:["hayyabuild/button"]})))}}])&&l(a.prototype,o),u&&l(a,u),t}(y),_=a(15),R=a.n(_);a.d(t,"name",(function(){return O})),a.d(t,"settings",(function(){return L}));var x=wp,C=x.i18n.__,S=x.blockEditor.InnerBlocks,O="hayyabuild/buttons",L={title:C("Buttons Group","hayyabuild"),description:C("The buttons block is row of clickable buttons.","hayyabuild"),icon:n.H.iconStyle(R.a),category:"hayyabuild",attributes:{buttonsSpace:{type:"number",default:0},id:{type:"string"},classesList:{type:"string",default:""}},supports:{align:["wide","full"]},example:{innerBlocks:[{name:"hayyabuild/button",attributes:{text:C("Button 1","hayyabuild"),icon:"fa fa-hand-pointer",size:2,style:{background:"#FF6B6B"}}},{name:"hayyabuild/button",attributes:{text:C("Button 2","hayyabuild"),size:2,style:{background:"#FF6BCD"}}},{name:"hayyabuild/button",attributes:{text:C("Button 3","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#A2E23A"}}}]},edit:E,save:function(e){var t,a,o,r=e.attributes,l=r.buttonsSpace,i=r.id,c=r.classesList;return React.createElement("div",{className:n.H.hayyaClasses((t={},a="".concat("wp-hayyabuild-buttons","--space-").concat(l),o=0!==l,a in t?Object.defineProperty(t,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[a]=o,t),{classesList:c},i)},React.createElement(S.Content,null))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?u(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=wp,p=d.i18n.__,y=d.element,b=y.Fragment,h=y.Component,m=d.components,g=m.PanelBody,v=m.ToggleControl,k=m.SelectControl,w=d.blockEditor,E=w.RichText,_=w.BlockControls,R=w.InspectorControls,x=w.PanelColorSettings,C=w.AlignmentToolbar,S=function(e){function t(){var e;return l(this,t),(e=c(this,s(t).apply(this,arguments))).onChangeContent=e.onChangeContent.bind(u(e)),e.onChangeCiteText=e.onChangeCiteText.bind(u(e)),e.toggleStars=e.toggleStars.bind(u(e)),e.setStyle=e.setStyle.bind(u(e)),e}var a,o,d;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),a=t,(o=[{key:"onChangeContent",value:function(e){(0,this.props.setAttributes)({contentText:e})}},{key:"onChangeCiteText",value:function(e){(0,this.props.setAttributes)({citeText:e})}},{key:"toggleStars",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showStars:!t.showStars})}},{key:"setStyle",value:function(e){(0,this.props.setAttributes)({testimonialStyle:e})}},{key:"render",value:function(){var e,t=this.props,a=t.attributes,o=t.setAttributes,l=t.className,i=t.name,c=a.contentText,s=a.align,u=a.showStars,f=a.testimonialStyle,d=a.citeText,y=a.placeholder,h=a.textColor,m=a.citeColor,w=a.id,S=a.classesList;return n.H.blockID(w,i,o),React.createElement(b,null,React.createElement(_,null,React.createElement(C,{value:s,onChange:function(e){return o({align:e})}})),React.createElement(R,null,React.createElement(g,{title:p("Testimonial Settings","hayyabuild")},React.createElement(k,{label:p("Testimonial Style","hayyabuild"),value:f,options:[{label:p("None","hayyabuild"),Key:"none",value:"wp-block-quote"},{label:p("Style 1","hayyabuild"),Key:"hb-quote-style1",value:"hb-quote-style1"}],onChange:this.setStyle}),React.createElement(v,{label:p("Show Stars","hayyabuild"),checked:!!u,onChange:this.toggleStars}),React.createElement(n.H.BlocksOptions,{optionsTitle:p("HayyaBuild Options","hayyabuild"),styleTitle:p("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:w,elementStyle:".".concat(l,".").concat(w),onChange:function(e){return o({classesList:e.classesList})},value:{classesList:S,inlineStyle:!0}})),React.createElement(x,{title:p("Color Settings","hayyabuild"),initialOpen:!1,colorSettings:[{value:h,onChange:function(e){return o({textColor:e})},label:p("Text Color","hayyabuild")},{value:m,onChange:function(e){return o({citeColor:e})},label:p("Cite Color","hayyabuild")}]})),React.createElement("blockquote",{className:n.H.hayyaClasses(l,(e={},r(e,f,f),r(e,"align-"+s,s),e),{classesList:S},w)},React.createElement(E,{tagName:"div",className:"quote",value:c,style:{color:h},placeholder:y||p("Add testimonial text","hayyabuild"),onChange:this.onChangeContent,keepPlaceholderOnFocus:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough","core/link","core/code"]}),React.createElement(E,{tagName:"cite",value:d,style:{color:m},placeholder:y||p("Add cite text","hayyabuild"),onChange:this.onChangeCiteText,keepPlaceholderOnFocus:!0,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"]}),u&&React.createElement("div",{className:"hb-rating"},React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}))))}}])&&i(a.prototype,o),d&&i(a,d),t}(h),O=a(19),L=a.n(O);function N(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return B})),a.d(t,"settings",(function(){return P}));var H=wp,T=H.i18n.__,I=H.blockEditor.RichText,B="hayyabuild/testimonial",P={title:T("Testimonial","hayyabuild"),description:T("A testimonial is often used to let people know what other people think of you or your product.","hayyabuild"),icon:n.H.iconStyle(L.a),category:"hayyabuild",attributes:{contentText:{type:"array",source:"children",selector:".quote"},citeText:{type:"array",source:"children",selector:"cite"},align:{type:"string",default:"left"},testimonialStyle:{type:"string"},showStars:{type:"boolean",default:!1},textColor:{type:"string"},citeColor:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{contentText:T("A testimonial is often used to let people know what other people think of you or your product.","hayyabuild"),citeText:"ZintaThemes",align:"center",testimonialStyle:"hb-quote-style1",showStars:!0}},edit:S,save:function(e){var t,a=e.attributes,o=a.contentText,r=a.align,l=a.citeText,i=a.showStars,c=a.testimonialStyle,s=a.citeColor,u=a.textColor,f=a.id,d=a.classesList;return React.createElement("blockquote",{className:n.H.hayyaClasses((t={},N(t,c,c),N(t,"align-"+r,r),t),{classesList:d},f)},React.createElement(I.Content,{tagName:"div",className:"quote",value:o,style:{color:u}}),React.createElement(I.Content,{tagName:"cite",value:l,style:{color:s}}),i&&React.createElement("div",{className:"hb-rating"},React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"})))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?s(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=wp,d=f.i18n.__,p=f.element,y=p.Fragment,b=p.Component,h=f.components,m=h.PanelBody,g=h.SelectControl,v=h.Toolbar,k=f.blockEditor,w=k.BlockControls,E=k.InspectorControls,_=k.InnerBlocks,R=[["hayyabuild/doublesidedboxsides",{side:"front"}],["hayyabuild/doublesidedboxsides",{side:"back"}]],x=function(e){function t(){var e;return r(this,t),(e=i(this,c(t).apply(this,arguments))).state={isFlipped:!1},e.flipRef=React.createRef(),e.flipChange=e.flipChange.bind(s(e)),e}var a,o,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"flipChange",value:function(){var e=this.props.attributes.id,t=this.flipRef.current.querySelector("[data-id=".concat(e,"] > div > div"));t&&(t.classList.contains("flip")?(t.classList.remove("flip"),this.setState({isFlipped:!1})):(t.classList.add("flip"),this.setState({isFlipped:!0})))}},{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,o=t.setAttributes,r=(t.className,t.name),l=a.type,i=a.id,c=a.classesList;n.H.blockID(i,r,o);var s,u,f,p=function(){return{icon:"update",title:d("Flip","hayyabuild"),isActive:!!e.state.isFlipped,onClick:e.flipChange}};return React.createElement(y,null,React.createElement(w,null,React.createElement(v,{controls:["update"].map(p)})),React.createElement(E,null,React.createElement(m,{title:d("Double Sided Box Settings","hayyabuild")},React.createElement(v,{controls:["update"].map(p)}),React.createElement(g,{label:d("Sliding type","hayyabuild"),value:l,options:[{label:d("Flipping","hayyabuild"),key:"flip",value:"flip"},{label:d("Flipping up","hayyabuild"),key:"flipup",value:"flipup"},{label:d("Slide up","hayyabuild"),key:"slideup",value:"slideup"},{label:d("Slide right","hayyabuild"),key:"slideright",value:"slideright"},{label:d("Slide down","hayyabuild"),key:"slidedown",value:"slidedown"},{label:d("Slide left","hayyabuild"),key:"slideleft",value:"slideleft"}],onChange:function(e){return o({type:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:d("HayyaBuild Options","hayyabuild"),styleTitle:d("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:i,elementStyle:".".concat(i),value:{classesList:c,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-doublesidedbox",(s={},u="hayyabuild-doublesidedbox--".concat(l),f=l,u in s?Object.defineProperty(s,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[u]=f,s),{classesList:c},i),ref:this.flipRef},React.createElement("div",{class:"hayyabuild-doublesidedbox__container","data-id":i},React.createElement(_,{allowedBlocks:["hayyabuild/doublesidedboxsides"],template:R,templateLock:"all"}))))}}])&&l(a.prototype,o),f&&l(a,f),t}(b);a.d(t,"name",(function(){return L})),a.d(t,"settings",(function(){return N}));var C=wp,S=C.i18n.__,O=C.blockEditor.InnerBlocks,L="hayyabuild/doublesidedbox",N={title:S("Double Sided Box","hayyabuild"),icon:n.H.iconStyle("update"),description:S("It`s a box with tow faces the first one is visible and the second one is hidden, but when hover/tap over it the second one will be visible and the first one will be hidden.","hayyabuild"),category:"hayyabuild",attributes:{type:{type:"string",default:"flip"},id:{type:"string"},classesList:{type:"string",default:""}},edit:x,save:function(e){var t,a,o,r=e.attributes,l=r.type,i=r.id,c=r.classesList;return React.createElement("div",{className:n.H.hayyaClasses((t={},a="hayyabuild-doublesidedbox--".concat(l),o=l,a in t?Object.defineProperty(t,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[a]=o,t),{classesList:c},i)},React.createElement("div",{class:"hayyabuild-doublesidedbox__container"},React.createElement(O.Content,null)))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=wp,f=u.i18n.__,d=u.element,p=d.Fragment,y=d.Component,b=u.components,h=b.PanelBody,m=b.ToggleControl,g=u.blockEditor.InspectorControls,v=u.blockEditor.InnerBlocks,k=[["hayyabuild/accordionpanel",{}],["hayyabuild/accordionpanel",{}],["hayyabuild/accordionpanel",{}]],w=function(e){function t(){var e;return r(this,t),(e=i(this,c(t).apply(this,arguments))).state={isFlipped:!1},e}var a,o,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),a=t,(o=[{key:"flipChange",value:function(){var e=this.props.attributes.id,t=this.flipRef.current.querySelector("[data-id=".concat(e,"] > div > div"));t&&(t.classList.contains("flip")?(t.classList.remove("flip"),this.setState({isFlipped:!1})):(t.classList.add("flip"),this.setState({isFlipped:!0})))}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.name),r=t.vertical,l=t.expandable,i=t.hideplus,c=t.id,s=t.classesList;return n.H.blockID(c,o,a),React.createElement(p,null,React.createElement(g,null,React.createElement(h,{title:f("Accordion Settings","hayyabuild")},React.createElement(m,{label:f("Vertical","hayyabuild"),checked:!!r,onChange:function(){return a({vertical:!r})}}),React.createElement(m,{label:f("Expandable","hayyabuild"),checked:!!l,onChange:function(){return a({expandable:!l})}}),React.createElement(m,{label:f("Hide Plus Icon","hayyabuild"),checked:!!i,onChange:function(){return a({hideplus:!i})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:f("HayyaBuild Options","hayyabuild"),styleTitle:f("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:c,elementStyle:".".concat(c),value:{classesList:s,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses({"hayyabuild-accordion--expandable":l,"hayyabuild-accordion--hideplus":i},{classesList:s},c)},React.createElement(v,{allowedBlocks:["hayyabuild/accordionpanel"],template:k,templateLock:!1})))}}])&&l(a.prototype,o),u&&l(a,u),t}(y);a.d(t,"name",(function(){return x})),a.d(t,"settings",(function(){return C}));var E=wp,_=E.i18n.__,R=E.blockEditor.InnerBlocks,x="hayyabuild/accordion",C={title:_("Accordion","hayyabuild"),icon:n.H.iconStyle("feedback"),description:_("The Accordion is a block that organizes content within collapsable items.","hayyabuild"),category:"hayyabuild",attributes:{vertical:{type:"boolean",default:!1},expandable:{type:"boolean",default:!1},hideplus:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},example:{innerBlocks:[{name:"hayyabuild/accordionpanel",attributes:{icon:"fa fa-home",title:_("Accordion Title 1","hayyabuild")}},{name:"hayyabuild/accordionpanel",attributes:{icon:"fa fa-tachometer-alt",title:_("Accordion Title 2","hayyabuild")}},{name:"hayyabuild/accordionpanel",attributes:{icon:"fa fa-shopping-cart",title:_("Accordion Title 3","hayyabuild")}}]},edit:w,save:function(e){var t=e.attributes,a=t.vertical,o=t.expandable,r=t.hideplus,l=t.id,i=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses({"hayyabuild-accordion--expandable":o,"hayyabuild-accordion--hideplus":r,"hayyabuild-accordion--vertical":a},{classesList:i},l)},React.createElement(R.Content,null))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?s(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=wp,d=f.i18n.__,p=f.element,y=p.Fragment,b=p.Component,h=f.components,m=h.PanelBody,g=h.ToggleControl,v=f.blockEditor,k=v.InspectorControls,w=v.RichText,E=f.blockEditor.InnerBlocks,_=function(e){function t(){var e;return r(this,t),(e=i(this,c(t).apply(this,arguments))).state={isExpanded:!1},e.collapseExpandRef=React.createRef(),e.bodyRef=React.createRef(),e.collapseExpand=e.collapseExpand.bind(s(e)),e}var a,o,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"collapseExpand",value:function(){this.setState({isExpanded:!this.state.isExpanded})}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.name),r=t.title,l=t.icon,i=t.active,c=t.alwaysactive,s=t.id,u=t.classesList;return n.H.blockID(s,o,a),React.createElement(y,null,React.createElement(k,null,React.createElement(m,{title:d("Accordion Item Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(n.H.SelectIcon,{title:d("Icon","hayyabuild"),classPlaceholder:d("Insert icon class","hayyabuild"),fliterPlaceholder:d("Search for icon","hayyabuild"),value:l,onSelect:function(e){return a({icon:e})}}),React.createElement(g,{label:d("Always expanded","hayyabuild"),checked:!!c,onChange:function(){return a({alwaysactive:!c})}}),!c&&React.createElement(g,{label:d("Expand when load","hayyabuild"),checked:!!i,onChange:function(){return a({active:!i})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:d("HayyaBuild Options","hayyabuild"),styleTitle:d("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:s,elementStyle:".".concat(s),value:{classesList:u,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-accordion__content",{"hayyabuild-accordion__content--alwaysactive":!!c,active:!!i},{classesList:u},s)},React.createElement("div",{className:"hayyabuild-accordion__content__header"},l&&React.createElement("i",{className:l}),React.createElement(w,{tagName:"span",className:"hayyabuild-accordion__content__header__title",value:r,placeholder:d("Insert Accordion Title","hayyabuild"),onChange:function(e){return a({title:e})}}),React.createElement("i",{className:n.H.hayyaClasses("collapse-expand",{expanded:!!this.state.isExpanded}),onClick:this.collapseExpand,ref:this.collapseExpandRef})),React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-accordion__content__body",{expanded:!!this.state.isExpanded})},React.createElement(E,{templateLock:!1}))))}}])&&l(a.prototype,o),f&&l(a,f),t}(b);a.d(t,"name",(function(){return O})),a.d(t,"settings",(function(){return L}));var R=wp,x=R.i18n.__,C=R.blockEditor.RichText,S=R.blockEditor.InnerBlocks,O="hayyabuild/accordionpanel",L={title:x("Accordion Panel","hayyabuild"),icon:n.H.iconStyle("feedback"),category:"hayyabuild",attributes:{title:{type:"text",source:"children",selector:".hayyabuild-accordion__content__header__title"},icon:{type:"string",source:"attribute",attribute:"class",selector:".hayyabuild-accordion__content__header i",default:""},active:{type:"boolean",default:!1},alwaysactive:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/accordion"],edit:_,save:function(e){var t=e.attributes,a=(e.className,t.title),o=t.icon,r=t.active,l=t.alwaysactive,i=t.id,c=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-accordion__content",{"hayyabuild-accordion__content--alwaysactive":!!l,active:!!r},{classesList:c},i)},React.createElement("div",{className:"hayyabuild-accordion__content__header"},o&&React.createElement("i",{className:o}),React.createElement(C.Content,{tagName:"span",className:"hayyabuild-accordion__content__header__title",value:a})),React.createElement("div",{className:"hayyabuild-accordion__content__body"},React.createElement(S.Content,null)))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(22),r=a.n(o);function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d=wp,p=d.i18n.__,y=d.element,b=y.Fragment,h=y.Component,m=d.components,g=m.PanelBody,v=m.ToggleControl,k=m.SelectControl,w=d.blockEditor,E=w.InspectorControls,_=w.AlignmentToolbar,R=w.InnerBlocks,x=[["hayyabuild/tabstab",{}],["hayyabuild/tabstab",{}],["hayyabuild/tabstab",{}]],C=function(e){function t(){var e;return l(this,t),(e=c(this,s(t).apply(this,arguments))).state={isFlipped:!1},e}var a,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.clientId),r=e.name,l=t.align,i=(t.vertical,t.expandable,t.hideplus),c=t.list,s=t.effect,u=t.id,d=t.classesList;return n.H.blockID(u,r,a),function(){var e=wp.data.select("core/block-editor").getBlock(o);if(e){var t={};e.innerBlocks.forEach((function(e){e.attributes.id&&(t[e.attributes.id]={id:e.attributes.id,title:e.attributes.title,icon:e.attributes.icon,active:e.attributes.active})})),t&&(function(e,t){"object"!==f(t)&&(t={});var a=Object.keys(e),n=a.length,o=Object.keys(t);if(n!==o.length)return!1;for(var r=n;r--;){if(a[r]!==o[r])return!1;var l=e[a[r]],i=t[o[r]];if(l.title!==i.title||l.icon!==i.icon||l.active!==i.active)return!1}return!0}(t,c)||a({list:t}))}}(),React.createElement(b,null,React.createElement(E,null,React.createElement(g,{title:p("Tabs Settings","hayyabuild")},React.createElement(_,{label:p("Tabs Alignment","hayyabuild"),value:l,onChange:function(e){return a({align:e})}}),React.createElement(v,{label:p("Hide Plus Icon","hayyabuild"),checked:!!i,onChange:function(){return a({hideplus:!i})}}),React.createElement(k,{label:p("Effect","hayyabuild"),value:s,options:[{label:p("None","hayyabuild"),Key:"none",value:""},{label:p("Fade","hayyabuild"),Key:"fade",value:"fade"},{label:p("Slide Up","hayyabuild"),Key:"slideup",value:"slideup"},{label:p("Swipe Up","hayyabuild"),Key:"swipeup",value:"swipeup"},{label:p("Swipe Left","hayyabuild"),Key:"swipeleft",value:"swipeleft"}],onChange:function(e){return a({effect:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:p("HayyaBuild Options","hayyabuild"),styleTitle:p("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:u,elementStyle:".".concat(u),value:{classesList:d,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses({"hayyabuild-tabs--hideplus":i},{classesList:d},u)},React.createElement(R,{template:x,allowedBlocks:["hayyabuild/tabstab"],defaultBlock:"hayyabuild/tabstab",templateLock:!1})))}}])&&i(a.prototype,o),r&&i(a,r),t}(h);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return T})),a.d(t,"settings",(function(){return I}));var L=wp,N=L.i18n.__,H=L.blockEditor.InnerBlocks,T="hayyabuild/tabs",I={title:N("Tabs","hayyabuild"),description:N("Tabs are components which separate content placed in the same wrapper but in the separate pane.","hayyabuild"),icon:n.H.iconStyle(r.a),category:"hayyabuild",attributes:{vertical:{type:"boolean",default:!1},align:{type:"string"},hideplus:{type:"boolean",default:!1},effect:{type:"string"},list:{type:"object"},id:{type:"string"},classesList:{type:"string",default:""}},example:{innerBlocks:[{name:"hayyabuild/tabstab",attributes:{icon:"fa fa-home",title:N("Tab Title 1","hayyabuild")}},{name:"hayyabuild/tabstab",attributes:{icon:"fa fa-tachometer-alt",title:N("Tab Title 2","hayyabuild")}},{name:"hayyabuild/tabstab",attributes:{icon:"fa fa-shopping-cart",title:N("Tab Title 3","hayyabuild")}}]},edit:C,save:function(e){e.attributes;var t=e.attributes,a=t.align,o=t.vertical,r=(t.expandable,t.hideplus),l=t.effect,i=t.list,c=t.id,s=t.classesList;e.innerBlocks;return React.createElement("div",{className:n.H.hayyaClasses(O({"hayyabuild-tabs--hideplus":!!r,"hayyabuild-tabs--vertical":!!o},"hayyabuild-tabs--".concat(l),!!l),{classesList:s},c)},function(){if(i){var e=n.H.hayyaClasses("hayyabuild-tabs__tabs",O({},"hayyabuild-tabs__tabs--".concat(a),!!a));return React.createElement("ul",{className:e},Object.keys(i).map((function(e,t){if(i[e]&&"object"===S(i[e])){var a=i[e].active?"active":null;return React.createElement("li",{className:a},React.createElement("a",{href:"#".concat(e)},i[e].icon&&React.createElement("i",{className:i[e].icon}),i[e].title))}})))}}(),React.createElement("div",{className:"hayyabuild-tabs__content"},React.createElement(H.Content,null)))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(23),r=a.n(o);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?f(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp,y=p.i18n.__,b=p.element,h=b.Fragment,m=b.Component,g=p.components,v=g.PanelBody,k=g.ToggleControl,w=p.blockEditor,E=w.RichText,_=w.InspectorControls,R=w.InnerBlocks,x=function(e){function t(){var e;return i(this,t),(e=s(this,u(t).apply(this,arguments))).state={isExpanded:!1},e.collapseExpandRef=React.createRef(),e.bodyRef=React.createRef(),e.collapseExpand=e.collapseExpand.bind(f(e)),e}var a,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),a=t,(o=[{key:"collapseExpand",value:function(){this.setState({isExpanded:!this.state.isExpanded})}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.name),r=t.title,l=t.icon,i=t.active,c=(t.alwaysactive,t.id),s=t.classesList;return n.H.blockID(c,o,a),React.createElement(h,null,React.createElement(_,null,React.createElement(v,{title:y("Tab Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(n.H.SelectIcon,{title:y("Icon","hayyabuild"),classPlaceholder:y("Insert icon class","hayyabuild"),fliterPlaceholder:y("Search for icon","hayyabuild"),value:l,onSelect:function(e){return a({icon:e})}}),React.createElement(k,{label:y("Active","hayyabuild"),checked:!!i,onChange:function(){return a({active:!i})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:y("HayyaBuild Options","hayyabuild"),styleTitle:y("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:c,elementStyle:".".concat(c),value:{classesList:s,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-tabs__body",{active:!!i},{classesList:s},c)},React.createElement("div",{className:"hayyabuild-tabs__header"},l&&React.createElement("i",{className:l}),React.createElement(E,{tagName:"span",className:"hayyabuild-tabs__header__title",value:r,placeholder:y("Insert Tab Title","hayyabuild"),onChange:function(e){return a({title:e})}}),React.createElement("i",{className:n.H.hayyaClasses("collapse-expand",{expanded:!!this.state.isExpanded}),onClick:this.collapseExpand,ref:this.collapseExpandRef})),React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-tabs__body__content",{expanded:!!this.state.isExpanded})},React.createElement(R,{templateLock:!1}))))}}])&&c(a.prototype,o),r&&c(a,r),t}(m);a.d(t,"name",(function(){return L})),a.d(t,"settings",(function(){return N}));var C=wp,S=C.i18n.__,O=C.blockEditor.InnerBlocks,L="hayyabuild/tabstab",N={title:S("Tab","hayyabuild"),icon:n.H.iconStyle(r.a),category:"hayyabuild",attributes:{title:{type:"text",default:""},icon:{type:"string",default:""},active:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/tabs"],edit:x,save:function(e){var t=e.attributes,a=(e.className,t.title,t.icon,t.active),o=(t.alwaysactive,t.id),r=t.classesList;return React.createElement("div",{id:o,className:n.H.hayyaClasses("hayyabuild-tabs__body",{active:!!a},{classesList:r},o)},React.createElement(O.Content,null))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=wp,d=f.i18n.__,p=f.element,y=p.Fragment,b=p.Component,h=f.components,m=h.PanelBody,g=h.ToggleControl,v=h.SelectControl,k=h.TextControl,w=h.RangeControl,E=f.editor.MediaPlaceholder,_=f.blockEditor,R=_.RichText,x=_.InspectorControls,C=function(e){function t(){return l(this,t),c(this,s(t).apply(this,arguments))}var a,o,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e,t=this.props,a=t.attributes,o=t.setAttributes,l=t.className,i=t.name,c=a.image,s=a.imgtitle,u=a.icon,f=a.iconsize,p=a.shadow,b=a.hovereffect,h=a.title,_=a.text,C=a.btntitle,S=a.btnlink,O=a.waveeffect,L=a.wavestyle,N=a.id,H=a.classesList;return n.H.blockID(N,i,o),React.createElement(y,null,React.createElement(x,null,React.createElement(m,{title:d("Card Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(n.H.SelectIcon,{title:d("Card Icon","hayyabuild"),classPlaceholder:d("Insert icon class","hayyabuild"),fliterPlaceholder:d("Search for icon","hayyabuild"),value:u,onSelect:function(e){return o({icon:e})}}),u&&React.createElement(w,{label:d("Icons size","hayyabuild"),value:f,onChange:function(e){return o({iconsize:e})},min:1,max:10}),React.createElement(v,{label:d("Hover Effect","hayyabuild"),value:b,options:[{label:d("Empty","hayyabuild"),Key:"empty",value:""},{label:d("Slide Right","hayyabuild"),Key:"slideright",value:"slideright"},{label:d("Slide up","hayyabuild"),Key:"slideup",value:"slideup"},{label:d("Slide Down","hayyabuild"),Key:"slidedown",value:"slidedown"},{label:d("Slide Left","hayyabuild"),Key:"slideleft",value:"slideleft"},{label:d("Scale In","hayyabuild"),Key:"scalein",value:"scalein"},{label:d("Rotate","hayyabuild"),Key:"rotate",value:"rotate"}],onChange:function(e){return o({hovereffect:e})}}),React.createElement(g,{label:d("Shadow Effect","hayyabuild"),checked:!!p,onChange:function(){return o({shadow:!p})}}),React.createElement(g,{label:d("Wave Effect","hayyabuild"),checked:!!O,onChange:function(){return o({waveeffect:!O})}}),!!O&&React.createElement(v,{label:d("Effect color","hayyabuild"),value:L,options:[{label:d("Light","hayyabuild"),Key:"light",value:"light"},{label:d("Red","hayyabuild"),Key:"red",value:"red"},{label:d("Yellow","hayyabuild"),Key:"yellow",value:"yellow"},{label:d("Orange","hayyabuild"),Key:"orange",value:"orange"},{label:d("Purple","hayyabuild"),Key:"purple",value:"purple"},{label:d("Green","hayyabuild"),Key:"green",value:"green"},{label:d("Teal","hayyabuild"),Key:"teal",value:"teal"}],onChange:function(e){return o({wavestyle:e})}}),React.createElement("div",{className:"hayyabuild__admin__block__image",style:{backgroundImage:"url(".concat(c,")")}},React.createElement("button",{href:"#",className:"components-button components-circular-option-picker__clear is-secondary is-small remove-image",onClick:function(){return o({image:void 0})},type:"button"},d("Clear","hayyabuild")),React.createElement(E,{onSelect:function(e){o({image:e.url})},allowedTypes:["image","video"],multiple:!1,labels:{title:d("Card Image","hayyabuild"),instructions:d("Keep it empty to display icon instead.","hayyabuild")}})),React.createElement(k,{label:d("Image title","hayyabuild"),value:s,onChange:function(e){return o({imgtitle:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:d("HayyaBuild Options","hayyabuild"),styleTitle:d("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:N,elementStyle:".".concat(N),onChange:function(e){return o({classesList:e.classesList})},value:{classesList:H,inlineStyle:!0},lite:{style:!0}})),React.createElement(m,{title:d("Button Settings","hayyabuild")},React.createElement(k,{label:d("Button title","hayyabuild"),value:C,onChange:function(e){return o({btntitle:e})}}),React.createElement(k,{label:d("Button Link","hayyabuild"),value:S,onChange:function(e){return o({btnlink:e})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-card",(e={},r(e,"".concat(l),!0),r(e,"hayyabuild-card--shadow",!!p),r(e,"hayyabuild-card--".concat(b),!!b),r(e,"waves-effect",!!O),r(e,"waves-".concat(L),!!O&&!!L),e),{classesList:H},N)},React.createElement("div",{class:"hayyabuild-card__header"},c&&React.createElement("img",{title:s,className:"hayyabuild-card__header__image",src:c}),u&&!c&&React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-card__header__icon","hayyabuild-card__header__icon--size-".concat(f))},React.createElement("i",{class:u})),React.createElement(R,{tagName:"div",className:"hayyabuild-card__header__title",value:h,placeholder:d("Add card title","hayyabuild"),onChange:function(e){return o({title:e})},allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"]})),React.createElement("div",{class:"hayyabuild-card__body"},React.createElement("div",{className:"hayyabuild-card__body__content"},React.createElement(R,{tagName:"div",value:_,placeholder:d("Add card text","hayyabuild"),onChange:function(e){return o({text:e})},allowedFormats:["core/bold","core/italic","core/image","core/strikethrough","core/link","core/code"]}),C&&S&&React.createElement("a",{title:C,href:S,className:n.H.hayyaClasses("hayyabuild-card__body__button",r({"waves-effect":!!O},"waves-".concat(L),!!O&&!!L))},C)))))}}])&&i(a.prototype,o),f&&i(a,f),t}(b);function S(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return H})),a.d(t,"settings",(function(){return T}));var O=wp,L=O.i18n.__,N=O.blockEditor.RichText,H="hayyabuild/card",T={title:L("Info Card","hayyabuild"),description:L("Information cards are personal digital identities that people can use online, and the key component of an identity metasystem.","hayyabuild"),icon:n.H.iconStyle("id"),category:"hayyabuild",attributes:{image:{type:"url",source:"attribute",attribute:"src",selector:".hayyabuild-card__header__image"},imgtitle:{type:"string",source:"attribute",attribute:"title",selector:".hayyabuild-card__header__image",default:""},icon:{type:"string",source:"attribute",attribute:"class",selector:".hayyabuild-card__header__icon > i"},iconsize:{type:"number",default:3},shadow:{type:"string",source:"attribute",attribute:"class",selector:".hayyabuild-card--shadow"},hovereffect:{type:"string"},title:{type:"text",source:"children",selector:".hayyabuild-card__header__title"},text:{type:"text",source:"children",selector:".hayyabuild-card__body__content > div"},btntitle:{type:"string",source:"attribute",attribute:"title",selector:".hayyabuild-card__body__button"},btnlink:{type:"url",source:"attribute",attribute:"href",selector:".hayyabuild-card__body__button"},waveeffect:{type:"string",source:"attribute",attribute:"class",selector:".waves-effect"},wavestyle:{type:"string",default:"light"},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{icon:"fa fa-shopping-cart",shadow:!0,title:L("Card Title","hayyabuild"),text:L("Information cards are personal digital identities that people can use online, and the key component of an identity metasystem.","hayyabuild"),btntitle:L("Card Button","hayyabuild"),btnlink:"#"}},edit:C,save:function(e){var t,a=e.attributes,o=a.image,r=a.imgtitle,l=a.icon,i=a.iconsize,c=a.shadow,s=a.hovereffect,u=a.title,f=a.text,d=a.btntitle,p=a.btnlink,y=a.waveeffect,b=a.wavestyle,h=a.id,m=a.classesList,g=1===u.length&&""!==u[0]||u.length>1;return React.createElement("div",{className:n.H.hayyaClasses((t={"hayyabuild-card--shadow":!!c},S(t,"hayyabuild-card--".concat(s),!!s),S(t,"waves-effect",!!y),S(t,"waves-".concat(b),!!y&&!!b),t),{classesList:m},h)},React.createElement("div",{class:"hayyabuild-card__header"},o&&React.createElement("img",{title:r,className:"hayyabuild-card__header__image",src:o}),l&&!o&&React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-card__header__icon","hayyabuild-card__header__icon--size-".concat(i))},React.createElement("i",{class:l})),g&&React.createElement(N.Content,{tagName:"div",className:"hayyabuild-card__header__title",value:u})),React.createElement("div",{class:"hayyabuild-card__body"},React.createElement("div",{className:"hayyabuild-card__body__content"},React.createElement(N.Content,{tagName:"div",className:"hayyabuild-card__body__content",value:f}),d&&p&&React.createElement("a",{title:d,href:p,className:n.H.hayyaClasses("hayyabuild-card__body__button",S({"waves-effect":!!y},"waves-".concat(b),!!y&&!!b))},d))))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}lodash.range;var f=wp,d=f.i18n,p=d.__,y=(d.sprintf,f.element),b=(y.Platform,y.Fragment),h=y.Component,m=f.components,g=m.PanelBody,v=(m.Toolbar,m.ToggleControl),k=f.blockEditor,w=k.RichText,E=k.BlockControls,_=k.AlignmentToolbar,R=k.InspectorControls,x=function(e){function t(){return l(this,t),c(this,s(t).apply(this,arguments))}var a,o,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e,t=this.props,a=t.attributes,o=t.setAttributes,l=t.className,i=t.name,c=a.content,s=a.align,u=a.dropCap,f=a.id,d=a.classesList;return n.H.blockID(f,i,o),React.createElement(b,null,React.createElement(E,null,React.createElement(_,{value:s,onChange:function(e){return o({align:e})}})),React.createElement(R,null,React.createElement(g,{title:p("Paragraph Settings","hayyabuild")},React.createElement(v,{label:p("Drop Cap","hayyabuild"),checked:!!u,onChange:function(){return o({dropCap:!u})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:p("HayyaBuild Options","hayyabuild"),styleTitle:p("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:f,elementStyle:".".concat(f),value:{classesList:d,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement(w,{tagName:"p",onChange:function(e){return o({content:e})},value:c,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough","core/link","core/code"],className:n.H.hayyaClasses(l,(e={},r(e,s+"-text",!!s),r(e,"has-drop-cap",!!u),e),{classesList:d},f)}))}}])&&i(a.prototype,o),f&&i(a,f),t}(h);function C(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return N})),a.d(t,"settings",(function(){return H}));var S=wp,O=S.i18n.__,L=S.blockEditor.RichText,N="hayyabuild/paragraph",H={title:O("Advanced Paragraph","hayyabuild"),description:O("You can use this block to separate the content vertically.","hayyabuild"),icon:n.H.iconStyle("editor-paragraph"),category:"hayyabuild",attributes:{content:{type:"array",source:"children",selector:"p"},align:{type:"string"},dropCap:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string"}},example:{attributes:{content:O("HayyaBuild is working with the new WordPress editor aka Gutenberg that makes it very lightweight, extendable and efficient. So it’s possible to use HayyaBuild blocks with pages, posts or any posts type that uses Gutenberg editor.","hayyabuild")}},styles:[{name:"default",label:O("Default","hayyabuild"),isDefault:!0},{name:"two-columns",label:O("Two column","hayyabuild")},{name:"three-columns",label:O("Three column","hayyabuild")}],edit:x,save:function(e){var t,a=e.attributes,o=(e.setAttributes,a.content),r=a.align,l=a.dropCap,i=a.id,c=a.classesList;return o.length>0&&""!==o[0]&&React.createElement(L.Content,{tagName:"p",value:o,className:n.H.hayyaClasses((t={},C(t,r+"-text",!!r),C(t,"has-drop-cap",!!l),t),{classesList:c},i)})}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}lodash.range;var u=wp,f=u.i18n,d=f.__,p=(f.sprintf,u.element),y=(p.Platform,p.Fragment),b=p.Component,h=u.components,m=h.PanelBody,g=(h.Toolbar,h.DateTimePicker),v=h.ToggleControl,k=h.SelectControl,w=h.TextControl,E=u.blockEditor,_=E.RichText,R=(E.BlockControls,E.AlignmentToolbar,E.InspectorControls),x="hayyabuild-countdown",C=function(e){function t(){return r(this,t),i(this,c(t).apply(this,arguments))}var a,o,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),a=t,(o=[{key:"timeOutput",value:function(e){var t=e-(new Date).getTime(),a=Math.floor(t/864e5),n=Math.floor(t%864e5/36e5),o=Math.floor(t%36e5/6e4),r=Math.floor(t%6e4/1e3);return{weeks:Math.floor(a/7),days:a,hours:1==="".concat(n).length?"0".concat(n):n,minutes:1==="".concat(o).length?"0".concat(o):o,seconds:1==="".concat(r).length?"0".concat(r):r}}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.name),r=t.time,l=t.showWeeks,i=t.action,c=t.url,s=t.hide,u=t.weeksTitle,f=t.daysTitle,p=t.hoursTitle,b=t.minutesTitle,h=t.secondsTitle,E=t.id,C=t.classesList;n.H.blockID(E,o,a),r||a({time:(new Date).getTime()+864e5});var S=this.timeOutput(r);return React.createElement(y,null,React.createElement(R,null,React.createElement(m,{title:d("Time Setting","hayyabuild")},React.createElement(g,{is12Hour:!0,currentDate:new Date(r-0),onChange:function(e){return a({time:new Date(e).getTime()})}})),React.createElement(m,{title:d("Countdown Settings","hayyabuild")},React.createElement(v,{label:d("Show Weeks","hayyabuild"),checked:!!l,onChange:function(){a({showWeeks:!l})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:d("HayyaBuild Options","hayyabuild"),styleTitle:d("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:E,elementStyle:".".concat(E," > .").concat(x,"__timer > div"),value:{classesList:C,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}})),React.createElement(m,{title:d("After Finishing","hayyabuild")},React.createElement(k,{label:d("Action","hayyabuild"),value:i,options:[{label:d("None","hayyabuild"),Key:"none",value:"none"},{label:d("Redirect to URL","hayyabuild"),Key:"redirect",value:"redirect"},{label:d("Refresh Page","hayyabuild"),Key:"refresh",value:"refresh"}],onChange:function(e){return a({action:e})}}),"redirect"===i&&React.createElement(w,{label:d("URL","hayyabuild"),value:c,onChange:function(e){return a({url:e})}}),React.createElement(v,{label:d("Hide Timer","hayyabuild"),checked:!!s,onChange:function(){a({hide:!s})}}))),React.createElement("div",{className:n.H.hayyaClasses(x,{classesList:C},E),"data-time":r},React.createElement("div",{className:"".concat(x,"__timer")},l&&React.createElement("div",{className:"weeks"},React.createElement("span",{className:"value"},S.weeks),React.createElement(_,{tagName:"span",onChange:function(e){return a({weeksTitle:e})},value:u,className:"title",placeholder:d("Weeks","hayyabuild"),allowedFormats:["core/bold","core/italic"]})),React.createElement("div",{className:"days"},React.createElement("span",{className:"value"},l?S.days%7:S.days),React.createElement(_,{tagName:"span",onChange:function(e){return a({daysTitle:e})},value:f,className:"title",placeholder:d("Days","hayyabuild"),allowedFormats:["core/bold","core/italic"]})),React.createElement("div",{className:"hours"},React.createElement("span",{className:"value"},S.hours),React.createElement(_,{tagName:"span",onChange:function(e){return a({hoursTitle:e})},value:p,className:"title",placeholder:d("Hours","hayyabuild"),allowedFormats:["core/bold","core/italic"]})),React.createElement("div",{className:"minutes"},React.createElement("span",{className:"value"},S.minutes),React.createElement(_,{tagName:"span",onChange:function(e){return a({minutesTitle:e})},value:b,className:"title",placeholder:d("Minutes","hayyabuild"),allowedFormats:["core/bold","core/italic"]})),React.createElement("div",{className:"seconds"},React.createElement("span",{className:"value"},S.seconds),React.createElement(_,{tagName:"span",onChange:function(e){return a({secondsTitle:e})},value:h,className:"title",placeholder:d("Seconds","hayyabuild"),allowedFormats:["core/bold","core/italic"]})))))}}])&&l(a.prototype,o),u&&l(a,u),t}(b);function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}a.d(t,"name",(function(){return H})),a.d(t,"settings",(function(){return I}));var O=wp,L=O.i18n.__,N=O.blockEditor.RichText,H="hayyabuild/countdown",T={time:{type:"string",source:"attribute",attribute:"data-time",selector:".".concat("hayyabuild-countdown")},showWeeks:{type:"boolean",default:!1},action:{type:"string",source:"attribute",attribute:"data-action",selector:".".concat("hayyabuild-countdown")},url:{type:"string",source:"attribute",attribute:"data-url",selector:".".concat("hayyabuild-countdown")},hide:{type:"boolean",default:!1},weeksTitle:{type:"array",source:"children",selector:".weeks .title",default:L("Weeks","hayyabuild")},daysTitle:{type:"array",source:"children",selector:".days .title",default:L("Days","hayyabuild")},hoursTitle:{type:"array",source:"children",selector:".hours .title",default:L("Hours","hayyabuild")},minutesTitle:{type:"array",source:"children",selector:".minutes .title",default:L("Minutes","hayyabuild")},secondsTitle:{type:"array",source:"children",selector:".seconds .title",default:L("Seconds","hayyabuild")},id:{type:"string"},classesList:{type:"string"}},I={title:L("Countdow","hayyabuild"),description:L("You can use this block to separate the content vertically.","hayyabuild"),icon:n.H.iconStyle("backup"),category:"hayyabuild",attributes:T,edit:C,save:function(e){var t=e.attributes,a=(e.setAttributes,t.time),o=t.showWeeks,r=t.action,l=t.url,i=t.hide,c=t.weeksTitle,s=t.daysTitle,u=t.hoursTitle,f=t.minutesTitle,d=t.secondsTitle,p=t.id,y=t.classesList;return React.createElement("div",S({className:n.H.hayyaClasses("hayyabuild-countdown",{classesList:y},p),"data-time":a,"data-action":r},"redirect"===r&&l?{"data-url":l}:{},i?{"data-hide":"hide"}:{}),React.createElement("div",{className:"".concat("hayyabuild-countdown","__timer")},o&&React.createElement("div",{className:"weeks"},React.createElement("span",{className:"value"},"00"),c&&React.createElement(N.Content,{tagName:"span",value:c,className:"title"})),React.createElement("div",{className:"days"},React.createElement("span",{className:"value"},"00"),s&&React.createElement(N.Content,{tagName:"span",value:s,className:"title"})),React.createElement("div",{className:"hours"},React.createElement("span",{className:"value"},"00"),u&&React.createElement(N.Content,{tagName:"span",value:u,className:"title"})),React.createElement("div",{className:"minutes"},React.createElement("span",{className:"value"},"00"),f&&React.createElement(N.Content,{tagName:"span",value:f,className:"title"})),React.createElement("div",{className:"seconds"},React.createElement("span",{className:"value"},"00"),d&&React.createElement(N.Content,{tagName:"span",value:d,className:"title"}))))}}}]); -
hayyabuild/tags/2.2/includes/class-hayyabuild-blocks.php
r2333074 r2333101 78 78 /** 79 79 * Enqueue blocks assets 80 * 80 * 81 81 * @access public 82 82 * @since 1.0.0 83 83 * @var unown 84 * 84 * 85 85 */ 86 86 public function blocks_assets() { … … 95 95 wp_enqueue_script( 96 96 'hayyabuild-blocks', 97 HAYYABUILD_URL . 'admin/assets/js/hayyabuild.bundle. js',97 HAYYABUILD_URL . 'admin/assets/js/hayyabuild.bundle.min.js', 98 98 [ 'leaflet', 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor' ], 99 99 HAYYABUILD_VERSION -
hayyabuild/trunk/admin/assets/js/hayyabuild.bundle.min.js
r2333074 r2333101 1 !function(e){var t={};function a(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,a),o.l=!0,o.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)a.d(n,o,function(t){return e[t]}.bind(null,o));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s= 43)}([function(e,t,a){"use strict";a.r(t);var n=a(4),o=(a(5),a(1)),l=a.n(o);a(49);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){function t(){return r(this,t),s(this,u(t).apply(this,arguments))}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),a=t,(n=[{key:"render",value:function(){var e=this.props,t=e.title,a=e.iconClass,n=e.color,o=e.children;return l.a.createElement("fieldset",{className:"react-fieldset",style:{color:n,borderColor:n}},l.a.createElement("legend",null,void 0!==a&&l.a.createElement("i",{className:a})," ".concat(t)),o)}}])&&c(a.prototype,n),o&&c(a,o),t}(l.a.Component);a(51);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function b(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?y(Object(a),!0).forEach((function(t){h(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):y(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function h(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?E(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=wp.element.Component,x=wp,R=x.i18n.__,C=x.components,S=(C.ToggleControl,C.SelectControl,C.RangeControl,C.TextControl,x.editor.InspectorControls,x.blockEditor),O=(S.RichText,S.PanelColorSettings),N=S.__experimentalPanelColorGradientSettings,H=function(e){function t(){var e;m(this,t),(e=v(this,k(t).apply(this,arguments))).options={};var a,n=e.props.value;(n&&Object.keys(n).map((function(t){e.options[t]=n[t]})),e.options.backgroundImage&&0===e.options.backgroundImage.indexOf("url"))?e.imageURL=e.options.backgroundImage.replace('url("',"").replace('")',""):e.imageURL=null!==(a=e.options.backgroundImage)&&void 0!==a?a:"";return e.selectImages=e.selectImages.bind(E(e)),e.bgColor=e.bgColor.bind(E(e)),e.setGradient=e.setGradient.bind(E(e)),e.clearImage=e.clearImage.bind(E(e)),e.setStyle=e.setStyle.bind(E(e)),e.propsChange=e.propsChange.bind(E(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(t,e),a=t,(n=[{key:"selectImages",value:function(e){var t=this;e.preventDefault();var a=wp.media.frames.file_frame=wp.media({title:R("Choose Image","hayyabuild")});a.on("select",(function(){var e=a.state().get("selection").first().toJSON();t.options.backgroundImage="url(".concat(e.url,")"),t.imageURL=e.url,t.props.onChange(t.options)})),a.open()}},{key:"setStyle",value:function(e){if(e.currentTarget){var t=e.currentTarget.id,a=e.currentTarget.value;"backgroundImage"===t&&(this.imageURL=a,a=0===a.indexOf("radial-gradient")||0===a.indexOf("linear-gradient")?e.currentTarget.value:"url(".concat(e.currentTarget.value,")")),""===a||null==a?delete this.options[t]:("backgroundSize"===t&&"stretch"===a&&(a="100% 100%"),this.options[t]=a),this.propsChange(this.options)}}},{key:"bgColor",value:function(e){""===e||null==e?delete this.options.backgroundColor:this.options.backgroundColor=e,this.propsChange(this.options)}},{key:"setGradient",value:function(e){""===e||null==e?delete this.options.backgroundImage:(this.options.backgroundImage=e,this.imageURL=e),this.propsChange(this.options)}},{key:"clearImage",value:function(e){e.preventDefault(),this.imageURL=this.options.backgroundImage=this.options.backgroundSize=this.options.backgroundRepeat="",this.propsChange(this.options)}},{key:"propsChange",value:function(e){var t={};Object.keys(e).map((function(a){e[a]&&(t[a]=e[a])})),this.props.onChange(t)}},{key:"render",value:function(){var e=this,t="100% 100%"!==this.options.backgroundSize?this.options.backgroundSize:"stretch";return React.createElement("div",{className:"hayyabuild-background"},React.createElement((function(){if("function"==typeof N){var t=N;return React.createElement(t,{title:R("Background Color","hayyabuild"),settings:[{label:R("Background Color","hayyabuild"),colorValue:e.options.backgroundColor,onColorChange:e.bgColor,gradientValue:e.options.backgroundImage&&e.options.backgroundImage.indexOf("gradient")>-1?e.options.backgroundImage:"",onGradientChange:e.setGradient}]})}return React.createElement(O,{id:"backgroundColor",title:R("Background Color","hayyabuild"),initialOpen:!1,disableAlpha:!1,colorSettings:[{label:R("Background Color","hayyabuild"),value:e.options.backgroundColor,onChange:e.bgColor}]})}),null),React.createElement("div",{className:"hb_bg_button",style:b({},this.options)},React.createElement("a",{className:"bg_button",href:"#",onClick:this.selectImages},R("Select Image","hayyabuild")),React.createElement("a",{className:"remove",href:"#",onClick:this.clearImage},"x")),React.createElement("div",{className:"background-options"},React.createElement("select",{id:"backgroundSize",value:t,onChange:this.setStyle},React.createElement("option",{value:""},R("Background size","hayyabuild")),React.createElement("option",{value:"stretch"},R("stretch","hayyabuild")),React.createElement("option",{value:"cover"},R("Cover","hayyabuild")),React.createElement("option",{value:"contain"},R("Contain","hayyabuild")),React.createElement("option",{value:"initial"},R("Initial","hayyabuild"))),React.createElement("select",{id:"backgroundRepeat",value:this.options.backgroundRepeat,onChange:this.setStyle},React.createElement("option",{value:""},R("Background repeat","hayyabuild")),React.createElement("option",{value:"repeat"},R("Repeat","hayyabuild")),React.createElement("option",{value:"repeat-x"},R("Repeat X","hayyabuild")),React.createElement("option",{value:"repeat-y"},R("Repeat Y","hayyabuild")),React.createElement("option",{value:"no-repeat"},R("No repeat","hayyabuild")))),React.createElement("label",{htmlFor:"backgroundImage",id:"label-backgroundImage"},R("Add image URL or gradient color value","hayyabuild")),React.createElement("input",{id:"backgroundImage",className:"bg_image",type:"text",value:this.imageURL,placeholder:R("Background Image","hayyabuild"),onChange:this.setStyle}))}}])&&g(a.prototype,n),o&&g(a,o),t}(_);function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function B(e,t){return!t||"object"!==I(t)&&"function"!=typeof t?F(e):t}function M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P=wp,A=P.i18n.__,D=P.element.Fragment,V=P.components.RangeControl,q=P.blockEditor.PanelColorSettings,U=wp.element.Component,W=["padding","paddingRight","paddingTop","paddingLeft","paddingBottom","margin","marginRight","marginTop","marginLeft","marginBottom","borderWidth","borderRightWidth","borderTopWidth","borderLeftWidth","borderBottomWidth","borderColor","borderStyle","borderRadius","fontSize","color","opacity","backgroundColor","backgroundImage","backgroundRepeat","backgroundSize"],K=function(e){function t(){var e;z(this,t),(e=B(this,M(t).apply(this,arguments))).options={},e.background={};var a=e.getValue(),n=e.styleToObject(a),o={backgroundColor:!0,backgroundImage:!0,backgroundRepeat:!0,backgroundSize:!0};return n&&Object.keys(n).map((function(t){e.options[t]=n[t],o[t]&&(e.background[t]=n[t])})),e.units={marginUnit:e.getUnit(e.options.marginTop)||"px",paddingUnit:e.getUnit(e.options.paddingTop)||"px",radiusUnit:e.getUnit(e.options.borderRadius)||"px",fontSizeUnit:e.getUnit(e.options.fontSize)||"px"},e.options.borderBottomWidth||e.options.borderLeftWidth||e.options.borderRightWidth||e.options.borderTopWidth?e.border=!0:e.border=!1,e.setOption=e.setOption.bind(F(e)),e.bgChange=e.bgChange.bind(F(e)),e.onEvent=e.onEvent.bind(F(e)),e.propsChange=e.propsChange.bind(F(e)),e.changeUnit=e.changeUnit.bind(F(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}(t,e),a=t,(n=[{key:"setOption",value:function(e,t){""===e||null==e?delete this.options[t]:this.options[t]=e,this.options.borderBottomWidth||this.options.borderLeftWidth||this.options.borderRightWidth||this.options.borderTopWidth?this.border=!0:(delete this.options.borderStyle,delete this.options.borderColor,this.border=!1),this.propsChange()}},{key:"onEvent",value:function(e){var t=e.currentTarget.value,a=e.currentTarget.id;this.setOption(t,a)}},{key:"bgChange",value:function(e){var t=this;e&&(Object.keys({backgroundColor:!0,backgroundImage:!0,backgroundRepeat:!0,backgroundSize:!0}).map((function(e){delete t.options[e]})),Object.keys(e).map((function(a){e[a]?t.options[a]=e[a]:delete t.options[a]}))),this.propsChange()}},{key:"propsChange",value:function(){var e=this,t=this.options,a={};Object.keys(t).map((function(n){""!==t[n]&&null!==t[n]&&void 0!==t[n]&&(a[n]=t[n],e.removeUnit(t[n])&&(n.indexOf("margin")>-1?a[n]=e.removeUnit(t[n])+e.units.marginUnit:n.indexOf("padding")>-1?a[n]=e.removeUnit(t[n])+e.units.paddingUnit:n.indexOf("radius")>-1?a[n]=e.removeUnit(t[n])+e.units.radiusUnit:n.indexOf("fontSize")>-1?a[n]=e.removeUnit(t[n])+e.units.fontSizeUnit:n.indexOf("border")>-1&&"borderColor"!==n&&(a[n]=e.removeUnit(t[n])+"px")))}));var n=document.getElementById("hayyabuild_inline_style"),o=n.value,l={};if(o&&"null"!==o)try{l=JSON.parse(o)}catch(e){return console.log("ERRoR1: cona`t parse tyle:",e),!1}this.props.elementID&&this.props.elementStyle&&(l[this.props.elementID]={element:this.props.elementStyle,style:this.styleToString(a)},n.value=JSON.stringify(l),this.setState({justUpdate:"id"}))}},{key:"getValue",value:function(){var e,t=document.getElementById("hayyabuild_inline_style");if(!t.value)return"";try{e=JSON.parse(t.value)}catch(e){return console.log("ERRoR2: cona`t parse tyle:",e),!1}var a=this.props.elementID&&e?e[this.props.elementID]:{};return a&&"string"==typeof a.style?a.style:{}}},{key:"addUnit",value:function(e,t){return(e=parseFloat(e))&&"NaN"!==e?e+t:""}},{key:"getUnit",value:function(e){return e&&e.replace?e.replace(/\d+|^\s+|\s+$/g,"").replace(/\./g,""):""}},{key:"removeUnit",value:function(e){if(e){var t=parseFloat(e);return"undefined"!==t?t:""}}},{key:"changeUnit",value:function(e){this.units[e.currentTarget.id]=e.currentTarget.value,this.propsChange()}},{key:"unitsHTML",value:function(e,t){return React.createElement("select",{id:e,className:"unit",value:this.getUnit(t),onChange:this.changeUnit},React.createElement("option",{value:"px"},"px"),React.createElement("option",{value:"em"},"em"),React.createElement("option",{value:"rem"},"rem"),"fontSizeUnit"!==e&&React.createElement(D,null,React.createElement("option",{value:"%"},"%")))}},{key:"styleToObject",value:function(e){if(e){if("object"===I(e))return e;var t={},a=document.createElement("I");a.setAttribute("style",e);var n=a.style;return a.remove(),W.forEach((function(e){e&&n[e]&&(t[e]=n[e])})),t}}},{key:"styleToString",value:function(e){var t,a=document.createElement("I");return Object.keys(e).map((function(t){a.style[t]=e[t]})),t=a.getAttribute("style"),a.remove(),t}},{key:"render",value:function(){var e=this,t=this.options,a=t.marginTop,n=t.borderStyle,o=t.marginRight,l=t.marginBottom,i=t.marginLeft,r=t.borderTopWidth,c=t.borderRightWidth,s=t.borderBottomWidth,u=t.borderLeftWidth,f=t.paddingTop,p=t.paddingRight,y=t.paddingBottom,b=t.paddingLeft,h=this.options,m=h.borderColor,g=h.borderRadius,v=h.fontSize,k=h.color,E=h.opacity,w=this.units,_=w.marginUnit,x=w.paddingUnit,R=w.radiusUnit,C=w.fontSizeUnit;return React.createElement("div",{className:"hayyabuild-styles"},React.createElement("div",null,React.createElement(d,{key:"layoutoptions",title:A("Layout options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement("div",{className:"layout"},React.createElement("div",{className:"margin"},React.createElement("label",{htmlFor:"marginTop"},A("Margin","hayyabuild")),React.createElement("input",{id:"marginTop",min:"-1000",max:"1000",type:"number",className:"margin_top",value:this.removeUnit(a),onChange:this.onEvent}),this.unitsHTML("marginUnit",_),React.createElement("input",{id:"marginRight",min:"-1000",max:"1000",type:"number",className:"margin_right",value:this.removeUnit(o),onChange:this.onEvent}),React.createElement("input",{id:"marginBottom",min:"-1000",max:"1000",type:"number",className:"margin_bottom",value:this.removeUnit(l),onChange:this.onEvent}),React.createElement("input",{id:"marginLeft",min:"-1000",max:"1000",type:"number",className:"margin_left",value:this.removeUnit(i),onChange:this.onEvent}),React.createElement("div",{className:"border"},React.createElement("label",{htmlFor:"borderTopWidth"},A("Border","hayyabuild")),React.createElement("input",{id:"borderTopWidth",min:"0",max:"20",type:"number",className:"border_top_width",value:this.removeUnit(r),onChange:this.onEvent}),React.createElement("span",{className:"unit"},"PX"),React.createElement("input",{id:"borderRightWidth",min:"0",max:"20",type:"number",className:"border_right_width",value:this.removeUnit(c),onChange:this.onEvent}),React.createElement("input",{id:"borderBottomWidth",min:"0",max:"20",type:"number",className:"border_bottom_width",value:this.removeUnit(s),onChange:this.onEvent}),React.createElement("input",{id:"borderLeftWidth",min:"0",max:"20",type:"number",className:"border_left_width",value:this.removeUnit(u),onChange:this.onEvent}),React.createElement("div",{className:"padding"},React.createElement("label",{htmlFor:"paddingTop"},A("Padding","hayyabuild")),React.createElement("input",{id:"paddingTop",min:"0",max:"1000",type:"number",className:"padding_top",value:this.removeUnit(f),onChange:this.onEvent}),this.unitsHTML("paddingUnit",x),React.createElement("input",{id:"paddingRight",min:"0",max:"1000",type:"number",className:"padding_right",value:this.removeUnit(p),onChange:this.onEvent}),React.createElement("input",{id:"paddingBottom",min:"0",max:"1000",type:"number",className:"padding_bottom",value:this.removeUnit(y),onChange:this.onEvent}),React.createElement("input",{id:"paddingLeft",min:"0",max:"1000",type:"number",className:"padding_left",value:this.removeUnit(b),onChange:this.onEvent}),React.createElement("div",{className:"content"})))))),React.createElement(d,{key:"borderoptions",title:A("Border options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(V,{label:A("Border radius","hayyabuild"),id:"fontSize",className:"with_unit",value:this.removeUnit(g),onChange:function(t){return e.setOption(t,"borderRadius")},min:0,max:100}),React.createElement("div",{className:"unit_container for_range"},this.unitsHTML("radiusUnit",R)),this.border&&React.createElement("div",null,React.createElement(q,{id:"borderColor",title:A("Border color","hayyabuild"),initialOpen:!1,disableAlpha:!1,colorSettings:[{label:A("Border Color","hayyabuild"),value:m,onChange:function(t){return e.setOption(t,"borderColor")}}]}),React.createElement("select",{id:"borderStyle",value:n,onChange:this.onEvent},React.createElement("option",{value:""},A("Border style","hayyabuild")),React.createElement("option",{value:"solid"},A("Solid","hayyabuild")),React.createElement("option",{value:"dashed"},A("Dashed","hayyabuild")),React.createElement("option",{value:"dotted"},A("Dotted","hayyabuild")),React.createElement("option",{value:"double"},A("Double","hayyabuild")),React.createElement("option",{value:"groove"},A("Groove","hayyabuild")),React.createElement("option",{value:"ridge"},A("Ridge","hayyabuild")))))),React.createElement("div",null,React.createElement(d,{key:"fontoptions",title:A("Font options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(V,{label:A("Font size","hayyabuild"),id:"fontSize",className:"with_unit",value:this.removeUnit(v),onChange:function(t){return e.setOption(t,"fontSize")},min:0,max:100}),React.createElement("div",{className:"unit_container for_range"},this.unitsHTML("fontSizeUnit",C)),React.createElement(q,{id:"fontColor",title:A("Text color","hayyabuild"),initialOpen:!1,colorSettings:[{label:A("Text Color","hayyabuild"),value:k,onChange:function(t){return e.setOption(t,"color")}}]})),React.createElement(d,{key:"Opacity",title:A("Opacity","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(V,{label:A("Opacity","hayyabuild"),id:"opacity",value:E,onChange:function(t){return e.setOption(t,"opacity")},min:0,max:1,step:.01})),React.createElement(d,{key:"backgroundoptions",title:A("Background options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(H,{value:this.background,onChange:function(t){return e.bgChange(t)}}))))}}])&&T(a.prototype,n),o&&T(a,o),t}(U);function G(e){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z(e,t){return!t||"object"!==G(t)&&"function"!=typeof t?J(e):t}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X(e,t){return(X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ee=wp,te=ee.i18n.__,ae=ee.components.RangeControl,ne={visibility:te("Visibility Options","hayyabuild"),scroll:te("Scrollin Options","hayyabuild"),hover:te("Hovering Options","hayyabuild"),other:te("Other Options","hayyabuild")},oe={visibility:{SM:{visibleSM:["hb-visible-sm",te("Visible on small screen","hayyabuild")],hiddenSM:["hb-hidden-sm",te("Hidden on small screen","hayyabuild")]},MD:{visibleMD:["hb-visible-md",te("Visible on medium screen","hayyabuild")],hiddenMD:["hb-hidden-md",te("Hidden on medium screen","hayyabuild")]},LG:{visibleLG:["hb-visible-lg",te("Visible on large screen","hayyabuild")],hiddenLG:["hb-hidden-lg",te("Hidden on large screen","hayyabuild")]},XLG:{visibleXLG:["hb-visible-xlg",te("Visible on extra large screen","hayyabuild")],hiddenXLG:["hb-hidden-xlg",te("Hidden on extra large screen","hayyabuild")]}},scroll:{scale:{scaleIn:["hb-scale-in",te("Scale in","hayyabuild")],scaleOut:["hb-scale-out",te("Scale out","hayyabuild")]},slideX:{slideRight:["hb-slide-left",te("Slide left","hayyabuild")],slideLeft:["hb-slide-right",te("Slide right","hayyabuild")]},slideY:{slideUp:["hb-slide-up",te("Slide up","hayyabuild")],slideDown:["hb-slide-down",te("Slide down","hayyabuild")]},fade:{fadeIn:["hb-fade-in",te("Fade in","hayyabuild")],fadeOut:["hb-fade-out",te("Fade out","hayyabuild")]},rotation:{rightRotation:["hb-left-rotation",te("Left rotation","hayyabuild")],leftRotation:["hb-right-rotation",te("Right rotation","hayyabuild")]},uprotation:{upRotation:["hb-up-rotation",te("Up rotation","hayyabuild")],downRotation:["hb-down-rotation",te("Down rotation","hayyabuild")]},parallax:{fixedBackground:["hb-fixed-bg",te("Fixed background","hayyabuild")],parallaxUp:["hb-parallax-up",te('Parallax background "Up"',"hayyabuild")],parallaxDown:["hb-parallax-down",te('Parallax background "DWON"',"hayyabuild")]}},hover:{zoom:{zoomBgIn:["hb-hover-bg-zoomin",te("Background Zoom-in","hayyabuild")],zoomBgOut:["hb-hover-bg-zoomout",te("Background Zoom-out","hayyabuild")]},shadow:{boxShadow:["hb-hover-shadow",te("Draw Shadow","hayyabuild")]},scale:{hoveScaleIn:["hb-hover-scalein",te("Scale in","hayyabuild")],hoveScaleOut:["hb-hover-scaleout",te("Scale out","hayyabuild")]},visibility:{opacityInc:["hb-hover-visibility-inc",te("Increase visibility","hayyabuild")],opacityDec:["hb-hover-visibility-dec",te("Reduction visibility","hayyabuild")]}},other:{align:{textLeft:["text-left",te("Align left","hayyabuild")],textRight:["text-right",te("Align right","hayyabuild")],textCenter:["text-center",te("Align center","hayyabuild")],textJustify:["text-justify",te("Align justify","hayyabuild")]},sizeAlign:{centerSM:["center-sm",te("Align content to center on small device","hayyabuild")],centerMD:["center-md",te("Align content to center on medium device","hayyabuild")],centerLG:["center-lg",te("Align content to center on large device","hayyabuild")]}}},le={};Object.keys(oe).map((function(e){Object.keys(oe[e]).map((function(t){Object.keys(oe[e][t]).map((function(a){le[a]=oe[e][t][a][0]}))}))}));var ie=function(e){function t(){var e;if($(this,t),(e=Z(this,Y(t).apply(this,arguments))).options={lite:e.props.lite},Object.keys(le).map((function(t){e.props.value&&(e.options[t]=e.props.value.indexOf(le[t])>-1)})),e.props.value&&"string"==typeof e.props.value){var a=e.props.value.split(" ");a&&"function"==typeof a.map&&a.map((function(t){t.indexOf("hb-scroll_duration_")>-1?e.options.scrollDuration=parseInt(t.replace("hb-scroll_duration_","")):t.indexOf("hb-scroll_easing_")>-1&&(e.options.scrollEasing=t.replace("hb-scroll_easing_",""))}))}return e.setClasses=e.setClasses.bind(J(e)),e.onChangeToggle=e.onChangeToggle.bind(J(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X(e,t)}(t,e),a=t,(n=[{key:"setClasses",value:function(){var e=this,t=[];Object.keys(this.options).map((function(a){!0===e.options[a]&&t.push(le[a])})),void 0!==this.options.scrollDuration&&70!==this.options.scrollDuration&&t.push("hb-scroll_duration_"+this.options.scrollDuration),this.options.scrollEasing&&t.push("hb-scroll_easing_"+this.options.scrollEasing),this.props.onChange(t)}},{key:"onChangeToggle",value:function(e){var t=this;if("undefined"!==e){if("number"==typeof e){var a=100*(e/100).toFixed(2);this.options.scrollDuration=a}else{var n=e.currentTarget,o=n.id,l=e.currentTarget.value,i=n.checked,r=n.attributes.classgroup.value;le[o]?(this.options[o]=i,Object.keys(oe[r]).map((function(e){"sizeAlign"!==e&&oe[r][e][o]&&Object.keys(oe[r][e]).map((function(e){o!==e&&(t.options[e]=!1)}))}))):"scrollEasing"===o&&"undefined"!==l&&(this.options.scrollEasing=l)}this.setClasses()}}},{key:"scrollOptions",value:function(){var e=this.options,t=e.scrollDuration,a=e.scrollEasing;return React.createElement("div",{className:"scroll-options"},React.createElement(ae,{label:te("Scroll duration","hayyabuild"),id:"scrollDuration",className:"scroll_duration",classgroup:"scroll",value:t||70,onChange:this.onChangeToggle,min:0,max:100,step:5}),React.createElement("select",{id:"scrollEasing",value:a,classgroup:"scroll",onChange:this.onChangeToggle},React.createElement("option",{value:""},te("Select Easing","hayyabuild")),React.createElement("option",{value:"ease"},"ease"),React.createElement("option",{value:"linear"},"linear"),React.createElement("option",{value:"ease-in"},"ease-in"),React.createElement("option",{value:"ease-out"},"ease-out"),React.createElement("option",{value:"ease-in-out"},"ease-in-out"),React.createElement("option",{value:"easeInQuad"},"easeInQuad"),React.createElement("option",{value:"easeInCubic"},"easeInCubic"),React.createElement("option",{value:"easeInQuart"},"easeInQuart"),React.createElement("option",{value:"easeInQuint"},"easeInQuint"),React.createElement("option",{value:"easeInSine"},"easeInSine"),React.createElement("option",{value:"easeInExpo"},"easeInExpo"),React.createElement("option",{value:"easeInCirc"},"easeInCirc"),React.createElement("option",{value:"easeInBack"},"easeInBack"),React.createElement("option",{value:"easeOutQuad"},"easeOutQuad"),React.createElement("option",{value:"easeOutCubic"},"easeOutCubic"),React.createElement("option",{value:"easeOutQuart"},"easeOutQuart"),React.createElement("option",{value:"easeOutQuint"},"easeOutQuint"),React.createElement("option",{value:"easeOutSine"},"easeOutSine"),React.createElement("option",{value:"easeOutExpo"},"easeOutExpo"),React.createElement("option",{value:"easeOutCirc"},"easeOutCirc"),React.createElement("option",{value:"easeOutBack"},"easeOutBack"),React.createElement("option",{value:"easeInOutQuad"},"easeInOutQuad"),React.createElement("option",{value:"easeInOutCubic"},"easeInOutCubic"),React.createElement("option",{value:"easeInOutQuart"},"easeInOutQuart"),React.createElement("option",{value:"easeInOutQuint"},"easeInOutQuint"),React.createElement("option",{value:"easeInOutSine"},"easeInOutSine"),React.createElement("option",{value:"easeInOutExpo"},"easeInOutExpo"),React.createElement("option",{value:"easeInOutCirc"},"easeInOutCirc"),React.createElement("option",{value:"easeInOutBack"},"easeInOutBack")))}},{key:"render",value:function(){var e=this,t=this.props.lite;return Math.floor(999*Math.random()+111),React.createElement("div",{className:"hayyabuild-classes"},Object.keys(oe).map((function(a){return React.createElement(d,{key:a,title:ne[a],iconClass:"fa fa-search-plus"},"visibility"===a||"other"===a||!0===t.scroll&&"scroll"===a||!0===t.hover&&"hover"===a?React.createElement("div",null,"scroll"===a&&e.scrollOptions(),Object.keys(oe[a]).map((function(t){var n=oe[a][t];return Object.keys(n).map((function(t){var o=n[t];return React.createElement("div",{key:"div-".concat(t),className:"options-checkbox"},React.createElement("input",{key:t,id:t,name:t,type:"checkbox",classgroup:a,checked:!!e.options[t],onChange:e.onChangeToggle}),React.createElement("label",{key:"label-".concat(t),htmlFor:t},o[1]))}))}))):React.createElement(vt.getPro,{list:!0}))})))}}])&&Q(a.prototype,n),o&&Q(a,o),t}(wp.element.Component);a(53);function re(e){return(re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ue(e,t){return!t||"object"!==re(t)&&"function"!=typeof t?de(e):t}function fe(e){return(fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function de(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}wp.i18n.__;var ye=wp.element,be=ye.Fragment,he=function(e){function t(){var e;return ce(this,t),(e=ue(this,fe(t).apply(this,arguments))).options={classesList:e.props.value.classesList,inlineStyle:e.props.value.inlineStyle},void 0===e.props.lite?e.options.lite={style:!1,scroll:!1,hover:!1}:e.options.lite={style:e.props.lite.style||!1,scroll:e.props.lite.scroll||!1,hover:e.props.lite.hover||!1},e.setValue=e.setValue.bind(de(e)),e}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pe(e,t)}(t,e),a=t,(o=[{key:"setValue",value:function(){for(var e=this.options.classesList||[],t=0,a=["hb-scale-in","hb-scale-out","hb-slide-right","hb-slide-left","hb-slide-up","hb-slide-down","hb-fade-in","hb-fade-out","hb-right-rotation","hb-left-rotation","hb-up-rotation","hb-down-rotation","hb-fixed-bg","hb-parallax-up","hb-parallax-down"];t<a.length;t++){var n=a[t];if(e.indexOf(n)>-1){this.options.classesList.push("hayya-scrolleffects");break}}var o={classesList:e.join(" "),inlineStyle:this.options.inlineStyle};this.props.onChange(o)}},{key:"render",value:function(){var e=this,t=this.options,a=t.classesList,o=(t.inlineStyle,t.lite);return React.createElement(be,null,React.createElement(n.a,{title:this.props.optionsTitle,iconClass:this.props.icon,appendTo:"editor",onOpen:vt.optionsModalOpened,onClose:vt.optionsModalClosed},React.createElement(ie,{value:a,onChange:function(t){e.options.classesList=t,e.setValue()},lite:o})),void 0!==this.options.inlineStyle&&React.createElement(be,null,!0===o.style?React.createElement(n.a,{title:this.props.styleTitle,iconClass:this.props.icon,appendTo:"editor",onOpen:vt.optionsModalOpened,onClose:vt.optionsModalClosed},React.createElement("div",null,React.createElement(K,{elementStyle:this.props.elementStyle,elementID:this.props.elementID}))):""))}}])&&se(a.prototype,o),l&&se(a,l),t}(ye.Component),me=a(11),ge=a.n(me);function ve(e){return(ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ke(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Ee(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function we(e,t){var a=e["page".concat(t?"Y":"X","Offset")],n="scroll".concat(t?"Top":"Left");if("number"!=typeof a){var o=e.document;"number"!=typeof(a=o.documentElement[n])&&(a=o.body[n])}return a}function _e(e){return we(e)}function xe(e){return we(e,!0)}function Re(e){var t=function(e){var t,a,n,o=e.ownerDocument,l=o.body,i=o&&o.documentElement;return a=(t=e.getBoundingClientRect()).left,n=t.top,{left:a-=i.clientLeft||l.clientLeft||0,top:n-=i.clientTop||l.clientTop||0}}(e),a=e.ownerDocument,n=a.defaultView||a.parentWindow;return t.left+=_e(n),t.top+=xe(n),t}var Ce,Se=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),Oe=/^(top|right|bottom|left)$/;function Le(e,t){for(var a=0;a<e.length;a++)t(e[a])}function Ne(e){return"border-box"===Ce(e,"boxSizing")}"undefined"!=typeof window&&(Ce=window.getComputedStyle?function(e,t,a){var n="",o=e.ownerDocument,l=a||o.defaultView.getComputedStyle(e,null);return l&&(n=l.getPropertyValue(t)||l[t]),n}:function(e,t){var a=e.currentStyle&&e.currentStyle[t];if(Se.test(a)&&!Oe.test(t)){var n=e.style,o=n.left,l=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left,n.left="fontSize"===t?"1em":a||0,a=n.pixelLeft+"px",n.left=o,e.runtimeStyle.left=l}return""===a?"auto":a});var He=["margin","border","padding"];function Ie(e,t,a){var n,o={},l=e.style;for(n in t)t.hasOwnProperty(n)&&(o[n]=l[n],l[n]=t[n]);for(n in a.call(e),t)t.hasOwnProperty(n)&&(l[n]=o[n])}function ze(e,t,a){var n,o,l,i=0;for(o=0;o<t.length;o++)if(n=t[o])for(l=0;l<a.length;l++){var r=void 0;r="border"===n?"".concat(n+a[l],"Width"):n+a[l],i+=parseFloat(Ce(e,r))||0}return i}function Te(e){return null!=e&&e==e.window}var Be={};function Me(e,t,a){if(Te(e))return"width"===t?Be.viewportWidth(e):Be.viewportHeight(e);if(9===e.nodeType)return"width"===t?Be.docWidth(e):Be.docHeight(e);var n="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,l=(Ce(e),Ne(e)),i=0;(null==o||o<=0)&&(o=void 0,(null==(i=Ce(e,t))||Number(i)<0)&&(i=e.style[t]||0),i=parseFloat(i)||0),void 0===a&&(a=l?1:-1);var r=void 0!==o||l,c=o||i;if(-1===a)return r?c-ze(e,["border","padding"],n):i;if(r){var s=2===a?-ze(e,["border"],n):ze(e,["margin"],n);return c+(1===a?0:s)}return i+ze(e,He.slice(a),n)}Le(["Width","Height"],(function(e){Be["doc".concat(e)]=function(t){var a=t.document;return Math.max(a.documentElement["scroll".concat(e)],a.body["scroll".concat(e)],Be["viewport".concat(e)](a))},Be["viewport".concat(e)]=function(t){var a="client".concat(e),n=t.document,o=n.body,l=n.documentElement[a];return"CSS1Compat"===n.compatMode&&l||o&&o[a]||l}}));var Fe={position:"absolute",visibility:"hidden",display:"block"};function je(e){var t,a=arguments;return 0!==e.offsetWidth?t=Me.apply(void 0,a):Ie(e,Fe,(function(){t=Me.apply(void 0,a)})),t}function Pe(e,t,a){var n=a;if("object"!==ve(t))return void 0!==n?("number"==typeof n&&(n+="px"),void(e.style[t]=n)):Ce(e,t);for(var o in t)t.hasOwnProperty(o)&&Pe(e,o,t[o])}Le(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);Be["outer".concat(t)]=function(t,a){return t&&je(t,e,a?0:1)};var a="width"===e?["Left","Right"]:["Top","Bottom"];Be[e]=function(t,n){if(void 0===n)return t&&je(t,e,-1);if(t){Ce(t);return Ne(t)&&(n+=ze(t,["padding","border"],a)),Pe(t,e,n)}}}));var Ae=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ee(a,!0).forEach((function(t){ke(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ee(a).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return Re(e);!function(e,t){"static"===Pe(e,"position")&&(e.style.position="relative");var a,n,o=Re(e),l={};for(n in t)t.hasOwnProperty(n)&&(a=parseFloat(Pe(e,n))||0,l[n]=a+t[n]-o[n]);Pe(e,l)}(e,t)},isWindow:Te,each:Le,css:Pe,clone:function(e){var t={};for(var a in e)e.hasOwnProperty(a)&&(t[a]=e[a]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(Te(e)){if(void 0===t)return _e(e);window.scrollTo(t,xe(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(Te(e)){if(void 0===t)return xe(e);window.scrollTo(_e(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},Be);var De=function(e,t,a){a=a||{},9===t.nodeType&&(t=Ae.getWindow(t));var n=a.allowHorizontalScroll,o=a.onlyScrollIfNeeded,l=a.alignWithTop,i=a.alignWithLeft,r=a.offsetTop||0,c=a.offsetLeft||0,s=a.offsetBottom||0,u=a.offsetRight||0;n=void 0===n||n;var f,d,p,y,b,h,m,g,v,k,E=Ae.isWindow(t),w=Ae.offset(e),_=Ae.outerHeight(e),x=Ae.outerWidth(e);E?(m=t,k=Ae.height(m),v=Ae.width(m),g={left:Ae.scrollLeft(m),top:Ae.scrollTop(m)},b={left:w.left-g.left-c,top:w.top-g.top-r},h={left:w.left+x-(g.left+v)+u,top:w.top+_-(g.top+k)+s},y=g):(f=Ae.offset(t),d=t.clientHeight,p=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},b={left:w.left-(f.left+(parseFloat(Ae.css(t,"borderLeftWidth"))||0))-c,top:w.top-(f.top+(parseFloat(Ae.css(t,"borderTopWidth"))||0))-r},h={left:w.left+x-(f.left+p+(parseFloat(Ae.css(t,"borderRightWidth"))||0))+u,top:w.top+_-(f.top+d+(parseFloat(Ae.css(t,"borderBottomWidth"))||0))+s}),b.top<0||h.top>0?!0===l?Ae.scrollTop(t,y.top+b.top):!1===l?Ae.scrollTop(t,y.top+h.top):b.top<0?Ae.scrollTop(t,y.top+b.top):Ae.scrollTop(t,y.top+h.top):o||((l=void 0===l||!!l)?Ae.scrollTop(t,y.top+b.top):Ae.scrollTop(t,y.top+h.top)),n&&(b.left<0||h.left>0?!0===i?Ae.scrollLeft(t,y.left+b.left):!1===i?Ae.scrollLeft(t,y.left+h.left):b.left<0?Ae.scrollLeft(t,y.left+b.left):Ae.scrollLeft(t,y.left+h.left):o||((i=void 0===i||!!i)?Ae.scrollLeft(t,y.left+b.left):Ae.scrollLeft(t,y.left+h.left)))};a(56);function Ve(e,t,a,n,o,l,i){try{var r=e[l](i),c=r.value}catch(e){return void a(e)}r.done?t(c):Promise.resolve(c).then(n,o)}function qe(e){return(qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ke(e,t){return!t||"object"!==qe(t)&&"function"!=typeof t?$e(e):t}function Ge(e){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ze=wp,Ye=Ze.i18n.__,Je=Ze.element.Fragment,Xe=Ze.components,et=(Xe.PanelBody,Xe.ToggleControl),tt=Xe.RangeControl,at=(Xe.SelectControl,Xe.TextareaControl),nt=(Ze.editor.AlignmentToolbar,Ze.blockEditor),ot=nt.ColorPalette,lt=(nt.InspectorControls,Ze.blockEditor.InnerBlocks,function(e){function t(){var e;return Ue(this,t),(e=Ke(this,Ge(t).apply(this,arguments))).state={id:e.props.id,zoom:e.props.zoom,latitude:e.props.latitude,longitude:e.props.longitude,markers:e.props.markers,isChanged:!1,isfullScreen:!1,eventListener:!1},e.editMarkerRef=l.a.createRef(),e.containerRef=l.a.createRef(),e.mapRef=l.a.createRef(),e.loadingContainerRef=l.a.createRef(),e.fullScreen=e.fullScreen.bind($e(e)),e.loadMap=e.loadMap.bind($e(e)),e.saveMap=e.saveMap.bind($e(e)),e.addMarker=e.addMarker.bind($e(e)),e.updateMap=e.updateMap.bind($e(e)),e.markerIcon=e.markerIcon.bind($e(e)),e.editMarker=e.editMarker.bind($e(e)),e.closeEditor=e.closeEditor.bind($e(e)),e.saveChanges=e.saveChanges.bind($e(e)),e.removeMarker=e.removeMarker.bind($e(e)),e.markerChange=e.markerChange.bind($e(e)),e.markerDragged=e.markerDragged.bind($e(e)),e.createMapProps=e.createMapProps.bind($e(e)),e}var a,n,o,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(t,e),a=t,(n=[{key:"componentDidMount",value:function(){var e=this.props.clientId;this.extentNode=document.querySelector('[data-block="'+e+'"]'),this.scrollContainer=wp.dom.getScrollContainer(this.extentNode),this.createMapProps()}},{key:"componentDidUpdate",value:function(){this.loadMap()}},{key:"fullScreen",value:function(){var e=this;Element.prototype.requestFullscreen||(Element.prototype.requestFullscreen=Element.prototype.mozRequestFullscreen||Element.prototype.webkitRequestFullscreen||Element.prototype.msRequestFullscreen),document.exitFullscreen||(document.exitFullscreen=document.mozExitFullscreen||document.webkitExitFullscreen||document.msExitFullscreen);var t=this.containerRef.current,a=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement};return this.state.eventListener||(t.addEventListener("fullscreenchange",(function(){a()?(t.parentElement.classList.add("fullScreen-activated"),e.scrollContainer.style.overflow="hidden",De(e.extentNode,e.scrollContainer,{offsetTop:-300,alignWithLeft:!0,alignWithTop:!0})):(t.parentElement.classList.remove("fullScreen-activated"),e.scrollContainer.style.overflow=null)})),this.setState({eventListener:!0})),new Promise((function(e,n){a()?document.exitFullscreen&&document.exitFullscreen():t.requestFullscreen&&t.requestFullscreen()}))}},{key:"componentWillUnmount",value:function(){}},{key:"createMapProps",value:function(){var e=this.props.attrs,t=e.id,a=e.zoom,n=e.latitude,o=e.longitude,l=e.markers;if(t&&n&&o&&a){"object"!==qe(window.HayyaBuild.openstreetmap)&&(window.HayyaBuild.openstreetmap={},window.HayyaBuild.openstreetmap.list={});var i=window.HayyaBuild.openstreetmap[t];i||((i=document.createElement("div")).innerHTML=l,i.setAttribute("data-zoom",a),i.setAttribute("data-latitude",n),i.setAttribute("data-longitude",o));var r=i.querySelectorAll(".hayyabuild-map-marker");r&&r.forEach((function(e,t){e.setAttribute("data-key","mark-".concat(t))})),window.HayyaBuild.openstreetmap[t]=i,this.loadMap()}}},{key:"loadMap",value:function(){var e=this;try{window.HayyaBuild.openstreetmap}catch(e){return void console.log("HayyaBuild Map ERROR01")}var t=this.props.attrs,a=t.id,n=this.mapRef.current;if(a&&t&&n){var o,l=!0;if(window.HayyaBuild.openstreetmap.list[a]?(l=!1,o=window.HayyaBuild.openstreetmap.list[a]):(o=new L.map(n,{scrollWheelZoom:!1}),window.HayyaBuild.openstreetmap.list[a]=o),o){o.invalidateSize();var i=window.HayyaBuild.openstreetmap[a],r=i.dataset.latitude,c=i.dataset.longitude,s=i.dataset.zoom,u=t.style,f=t.customstyle,d="customstyle"===u?f:{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"}[u];o.eachLayer((function(e){return o.removeLayer(e)}));var p=i.querySelectorAll(".hayyabuild-map-marker");p&&p.forEach((function(t,a){t.setAttribute("data-key","key-".concat(a));var n=t.dataset.lat||0,l=t.dataset.lng||0,i=t.dataset.icon||"",r=t.dataset.markercolor||"#00A4FF",c=t.dataset.markersize||"3",s=(t.dataset.openpopup,t.dataset.type||"icon1"),u=t.innerHTML||"<br/>",f=ge.a.renderToStaticMarkup(e.markerIcon({icon:s,color:r,clickEvent:!1})),d=L.divIcon({className:"hayyabuild-map__marker hayyabuild-map__marker_".concat(a+1," hayyabuild-map__marker--size-").concat(c," ").concat(i),iconSize:[15*c,24*c],iconAnchor:[7*c,24*c],popupAnchor:[0,-24*c],html:f}),p=L.layerGroup().addTo(o),y=L.marker([n,l],{icon:d,draggable:!0}).addTo(p);y.on("dragend",(function(t){e.markerDragged(t,"key-".concat(a))})),y.bindPopup(u).on("popupopen",(function(){return e.editMarker("key-".concat(a),"opened")}))})),o.on("load",(function(e){p&&p.forEach((function(t,a){var n=t.dataset.markercolor||"#00A4FF",o=e.target._container.querySelector(".hayyabuild-map__marker_".concat(a+1));o&&"object"===qe(o.style)&&(o.style.color=n)}))})),l&&o.setView([r,c],s),d&&L.tileLayer(d,{minZoom:1,maxZoom:20}).addTo(o),o.on("zoomend",(function(t){e.updateMap(t)})),o.on("move",(function(t){e.updateMap(t)}))}}}},{key:"updateMap",value:function(e){var t=this.props.attrs.id,a=window.HayyaBuild.openstreetmap[t];if(!a)return!1;if("zoomend"===e.type)a.setAttribute("data-zoom",e.target._animateToZoom);else if("click"===e.type);else if("move"===e.type){var n=e.target.getCenter();a.setAttribute("data-latitude",n.lat.toFixed(6)),a.setAttribute("data-longitude",n.lng.toFixed(6))}"zoomend"!==e.type&&"move"!==e.type||this.state.isChanged||this.setState({isChanged:!0})}},{key:"saveChanges",value:function(){var e=this.props.attrs.id,t=window.HayyaBuild.openstreetmap[e];if(!e||!t)return!1;var a=t.dataset.latitude,n=t.dataset.longitude,o=t.dataset.zoom,l=t.innerHTML;return this.props.onChange({latitude:a,longitude:n,zoom:o,markers:l})}},{key:"markerDragged",value:function(e,t){var a=this.props.attrs.id,n=window.HayyaBuild.openstreetmap[a].querySelector('[data-key="'.concat(t,'"]')),o=e.target._latlng.lat.toFixed(6),l=e.target._latlng.lng.toFixed(6);n.setAttribute("data-lat",o),n.setAttribute("data-lng",l),this.setState({isChanged:!0})}},{key:"addMarker",value:function(){var e=this.props.attrs.id,t=window.HayyaBuild.openstreetmap[e],a=window.HayyaBuild.openstreetmap.list[e],n=a.getCenter().lat.toFixed(6),o=a.getCenter().lng.toFixed(6),l=document.createElement("div");l.classList.add("hayyabuild-map-marker"),l.setAttribute("data-lat",n),l.setAttribute("data-lng",o),l.setAttribute("data-openpopup","false"),l.setAttribute("data-type","icon1"),l.setAttribute("data-markercolor","#CA1B1B"),l.setAttribute("data-markersize","2"),l.setAttribute("data-icon","fa fa-circle"),t.appendChild(l),this.setState({isChanged:!0})}},{key:"editMarker",value:function(e,t){var a=this.editMarkerRef.current.querySelectorAll(".edit-marker");a&&a.forEach((function(t){e===t.getAttribute("dtataKey")?t.classList.add("show"):t.classList.remove("show")}))}},{key:"saveMap",value:(i=regeneratorRuntime.mark((function e(){var t,a,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.state.isChanged){e.next=2;break}return e.abrupt("return");case 2:return this.props.attrs.id,(t=this.loadingContainerRef.current).classList.add("show-loading"),e.next=7,new Promise((function(e,t){setTimeout((function(){var a=n.saveChanges();e(a),t(!1)}),500)}));case 7:a=e.sent,t.classList.remove("show-loading"),a?(t.classList.add("show-success"),this.state.isChanged=!1):t.classList.add("show-error"),setTimeout((function(){t.classList.remove("show-success"),t.classList.remove("show-error")}),2e3);case 11:case"end":return e.stop()}}),e,this)})),r=function(){var e=this,t=arguments;return new Promise((function(a,n){var o=i.apply(e,t);function l(e){Ve(o,a,n,l,r,"next",e)}function r(e){Ve(o,a,n,l,r,"throw",e)}l(void 0)}))},function(){return r.apply(this,arguments)})},{key:"markerChange",value:function(e,t,a){var n=this.props.attrs.id,o=window.HayyaBuild.openstreetmap[n].querySelector('[data-key="'.concat(e,'"]'));"openpopup"===a?o.setAttribute("data-openpopup",t?"true":"false"):"type"===a?o.setAttribute("data-type",t):"icon"===a?o.setAttribute("data-icon",t):"color"===a?o.setAttribute("data-markercolor",t):"size"===a?o.setAttribute("data-markersize",t):"text"===a&&(o.innerHTML=t),this.setState({isChanged:!0})}},{key:"closeEditor",value:function(e){var t=this.editMarkerRef.current;if(t){var a=t.querySelector('[dtataKey="'.concat(e,'"]'));a&&a.classList.remove("show")}}},{key:"removeMarker",value:function(e){var t=this.props.attrs.id,a=window.HayyaBuild.openstreetmap[t].querySelector('[data-key="'.concat(e,'"]'));a&&a.remove(),this.setState({isChanged:!0})}},{key:"markerIcon",value:function(e){var t=e.icon,a=e.color,n=e.clickEvent;return l.a.createElement(Je,null,("all"===t||"icon1"===t)&&l.a.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon1")}},l.a.createElement("filter",{height:"1.6",y:"-0.3",width:"1.15",x:"-0.06",id:"hayyabuild-map-svg-filter"},l.a.createElement("feGaussianBlur",{stdDeviation:"0.5"})),l.a.createElement("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)"}),l.a.createElement("path",{fill:a,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"})),("all"===t||"icon2"===t)&&l.a.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon2")}},l.a.createElement("path",{fill:a,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"})),("all"===t||"icon3"===t)&&l.a.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon3")}},l.a.createElement("path",{fill:a,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"})),("all"===t||"icon4"===t)&&l.a.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon4")}},l.a.createElement("path",{fill:a,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"})),("all"===t||"icon5"===t)&&l.a.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon5")}},l.a.createElement("path",{fill:a,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 "})),("all"===t||"icon6"===t)&&l.a.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon6")}},l.a.createElement("path",{fill:a,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"}),l.a.createElement("path",{fill:a,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 "})))}},{key:"render",value:function(){var e=this,t=this.props,a=t.attrs,n=(t.saveButtonTitle,a.min_height),o=a.id,i=this.markerIcon,r=function(){var e={};if(window.HayyaBuild.openstreetmap&&window.HayyaBuild.openstreetmap[o]){var t=window.HayyaBuild.openstreetmap[o].querySelectorAll(".hayyabuild-map-marker");t&&t.forEach((function(t,a){e[t.getAttribute("data-key")]={lat:t.getAttribute("data-lat"),lng:t.getAttribute("data-lng"),openpopup:t.getAttribute("data-openpopup"),type:t.getAttribute("data-type"),markercolor:t.getAttribute("data-markercolor"),markersize:t.getAttribute("data-markersize"),icon:t.getAttribute("data-icon"),text:t.innerHTML}}))}return e}(),c=this.state.isChanged?"":" disabled";return l.a.createElement("div",{id:o,className:"react-opensstreetmap-leaflet",ref:this.containerRef},l.a.createElement("div",{className:"hayyabuild-map-info"}),l.a.createElement("div",{className:"hayyabuild-map",style:{minHeight:"".concat(n,"px")},ref:this.mapRef},l.a.createElement("button",{title:Ye("Save Map","hayyabuild"),className:"save-button".concat(c),onClick:function(){return e.saveMap()},key:"save-button-key"},l.a.createElement("i",{className:"fa fa-save"})),l.a.createElement("button",{className:"fullscreen-button".concat(c),onClick:function(){return e.fullScreen()},title:Ye("Full Screen","hayyabuild"),style:{backgroundColor:this.state.isfullScreen?"#FDC57C":null},key:"save-button-fullscreen"},l.a.createElement("i",{className:"fa fa-expand-arrows-alt"})),l.a.createElement("button",{title:Ye("Add Marker","hayyabuild"),className:"add-marker",onClick:function(){return e.addMarker()},key:"add-marker-button-key"},l.a.createElement("i",{className:"fa fa-plus"})),l.a.createElement("div",{className:"edit-markers",ref:this.editMarkerRef},Object.keys(r).map((function(t,a){var n=r[t];return l.a.createElement("div",{className:"edit-marker",dtataKey:t,key:t},l.a.createElement("button",{className:"close-editor",onClick:function(a){return e.closeEditor(t)},key:"close-".concat(t)},l.a.createElement("i",{className:"fa fa-chevron-circle-right"})),l.a.createElement("span",{className:"info",key:"info-".concat(t)},Ye("You have to save map status to save a changes.","hayyabuild")),l.a.createElement(vt.getPro,null),l.a.createElement("hr",null),l.a.createElement("div",{className:"marker-icon-type"},l.a.createElement("label",{class:"components-base-control__label",key:"marker-type-".concat(t)},Ye("Marker Type","hayyabuild")),l.a.createElement("br",null),l.a.createElement(i,{icon:"all",color:"#4B7596",clickEvent:function(a){return e.markerChange(t,a,"type")}})),l.a.createElement("hr",null),l.a.createElement(et,{label:Ye("Open popup when loaded","hayyabuild"),checked:"true"===n.openpopup,onChange:function(a){return e.markerChange(t,a,"openpopup")}}),l.a.createElement(vt.SelectIcon,{title:Ye("Icon","hayyabuild"),classPlaceholder:Ye("Insert icon class","hayyabuild"),fliterPlaceholder:Ye("Search for icon","hayyabuild"),value:n.icon,onSelect:function(a){return e.markerChange(t,a,"icon")}}),l.a.createElement(at,{label:Ye("Marker Text","hayyabuild"),help:Ye("Popup marker text","hayyabuild"),value:n.text,onChange:function(a){return e.markerChange(t,a,"text")}}),l.a.createElement("label",{class:"components-base-control__label",key:"color-".concat(t)},Ye("Marker Color","hayyabuild")),l.a.createElement(ot,{value:n.markercolor,label:Ye("Marker Color","hayyabuild"),onChange:function(a){return e.markerChange(t,a,"color")}}),l.a.createElement(tt,{label:Ye("Marker Size","hayyabuild"),value:n.markersize,onChange:function(a){return e.markerChange(t,a,"size")},min:1,max:5}),l.a.createElement("button",{title:Ye("Remove This Marker","hayyabuild"),className:"remove-marker",onClick:function(a){return e.removeMarker(t)},key:"remove-marker-".concat(t)},l.a.createElement("i",{className:"fa fa-times-circle"})))}))),l.a.createElement("div",{className:"react-opensstreetmap-leaflet__loading",ref:this.loadingContainerRef},l.a.createElement("div",{class:"loading__icon"}))))}}])&&We(a.prototype,n),o&&We(a,o),t}(l.a.Component)),it={"Font Awesome icons":["fab fa-500px","fab fa-accessible-icon","fab fa-accusoft","fab fa-acquisitions-incorporated","fa fa-ad","fa fa-address-book","fa fa-address-card","fa fa-adjust","fab fa-adn","fab fa-adobe","fab fa-adversal","fab fa-affiliatetheme","fa fa-air-freshener","fab fa-airbnb","fab fa-algolia","fa fa-align-center","fa fa-align-justify","fa fa-align-left","fa fa-align-right","fab fa-alipay","fa fa-allergies","fab fa-amazon","fab fa-amazon-pay","fa fa-ambulance","fa fa-american-sign-language-interpreting","fab fa-amilia","fa fa-anchor","fab fa-android","fab fa-angellist","fa fa-angle-double-down","fa fa-angle-double-left","fa fa-angle-double-right","fa fa-angle-double-up","fa fa-angle-down","fa fa-angle-left","fa fa-angle-right","fa fa-angle-up","fa fa-angry","fab fa-angrycreative","fab fa-angular","fa fa-ankh","fab fa-app-store","fab fa-app-store-ios","fab fa-apper","fab fa-apple","fa fa-apple-alt","fab fa-apple-pay","fa fa-archive","fa fa-archway","fa fa-arrow-alt-circle-down","fa fa-arrow-alt-circle-left","fa fa-arrow-alt-circle-right","fa fa-arrow-alt-circle-up","fa fa-arrow-circle-down","fa fa-arrow-circle-left","fa fa-arrow-circle-right","fa fa-arrow-circle-up","fa fa-arrow-down","fa fa-arrow-left","fa fa-arrow-right","fa fa-arrow-up","fa fa-arrows-alt","fa fa-arrows-alt-h","fa fa-arrows-alt-v","fab fa-artstation","fa fa-assistive-listening-systems","fa fa-asterisk","fab fa-asymmetrik","fa fa-at","fa fa-atlas","fab fa-atlassian","fa fa-atom","fab fa-audible","fa fa-audio-description","fab fa-autoprefixer","fab fa-avianex","fab fa-aviato","fa fa-award","fab fa-aws","fa fa-baby","fa fa-baby-carriage","fa fa-backspace","fa fa-backward","fa fa-bacon","fa fa-balance-scale","fa fa-balance-scale-left","fa fa-balance-scale-right","fa fa-ban","fa fa-band-aid","fab fa-bandcamp","fa fa-barcode","fa fa-bars","fa fa-baseball-ball","fa fa-basketball-ball","fa fa-bath","fa fa-battery-empty","fa fa-battery-full","fa fa-battery-half","fa fa-battery-quarter","fa fa-battery-three-quarters","fab fa-battle-net","fa fa-bed","fa fa-beer","fab fa-behance","fab fa-behance-square","fa fa-bell","fa fa-bell-slash","fa fa-bezier-curve","fa fa-bible","fa fa-bicycle","fa fa-biking","fab fa-bimobject","fa fa-binoculars","fa fa-biohazard","fa fa-birthday-cake","fab fa-bitbucket","fab fa-bitcoin","fab fa-bity","fab fa-black-tie","fab fa-blackberry","fa fa-blender","fa fa-blender-phone","fa fa-blind","fa fa-blog","fab fa-blogger","fab fa-blogger-b","fab fa-bluetooth","fab fa-bluetooth-b","fa fa-bold","fa fa-bolt","fa fa-bomb","fa fa-bone","fa fa-bong","fa fa-book","fa fa-book-dead","fa fa-book-medical","fa fa-book-open","fa fa-book-reader","fa fa-bookmark","fab fa-bootstrap","fa fa-border-all","fa fa-border-none","fa fa-border-style","fa fa-bowling-ball","fa fa-box","fa fa-box-open","fa fa-boxes","fa fa-braille","fa fa-brain","fa fa-bread-slice","fa fa-briefcase","fa fa-briefcase-medical","fa fa-broadcast-tower","fa fa-broom","fa fa-brush","fab fa-btc","fab fa-buffer","fa fa-bug","fa fa-building","fa fa-bullhorn","fa fa-bullseye","fa fa-burn","fab fa-buromobelexperte","fa fa-bus","fa fa-bus-alt","fa fa-business-time","fab fa-buysellads","fa fa-calculator","fa fa-calendar","fa fa-calendar-alt","fa fa-calendar-check","fa fa-calendar-day","fa fa-calendar-minus","fa fa-calendar-plus","fa fa-calendar-times","fa fa-calendar-week","fa fa-camera","fa fa-camera-retro","fa fa-campground","fab fa-canadian-maple-leaf","fa fa-candy-cane","fa fa-cannabis","fa fa-capsules","fa fa-car","fa fa-car-alt","fa fa-car-battery","fa fa-car-crash","fa fa-car-side","fa fa-caret-down","fa fa-caret-left","fa fa-caret-right","fa fa-caret-square-down","fa fa-caret-square-left","fa fa-caret-square-right","fa fa-caret-square-up","fa fa-caret-up","fa fa-carrot","fa fa-cart-arrow-down","fa fa-cart-plus","fa fa-cash-register","fa fa-cat","fab fa-cc-amazon-pay","fab fa-cc-amex","fab fa-cc-apple-pay","fab fa-cc-diners-club","fab fa-cc-discover","fab fa-cc-jcb","fab fa-cc-mastercard","fab fa-cc-paypal","fab fa-cc-stripe","fab fa-cc-visa","fab fa-centercode","fab fa-centos","fa fa-certificate","fa fa-chair","fa fa-chalkboard","fa fa-chalkboard-teacher","fa fa-charging-station","fa fa-chart-area","fa fa-chart-bar","fa fa-chart-line","fa fa-chart-pie","fa fa-check","fa fa-check-circle","fa fa-check-double","fa fa-check-square","fa fa-cheese","fa fa-chess","fa fa-chess-bishop","fa fa-chess-board","fa fa-chess-king","fa fa-chess-knight","fa fa-chess-pawn","fa fa-chess-queen","fa fa-chess-rook","fa fa-chevron-circle-down","fa fa-chevron-circle-left","fa fa-chevron-circle-right","fa fa-chevron-circle-up","fa fa-chevron-down","fa fa-chevron-left","fa fa-chevron-right","fa fa-chevron-up","fa fa-child","fab fa-chrome","fab fa-chromecast","fa fa-church","fa fa-circle","fa fa-circle-notch","fa fa-city","fa fa-clinic-medical","fa fa-clipboard","fa fa-clipboard-check","fa fa-clipboard-list","fa fa-clock","fa fa-clone","fa fa-closed-captioning","fa fa-cloud","fa fa-cloud-download-alt","fa fa-cloud-meatball","fa fa-cloud-moon","fa fa-cloud-moon-rain","fa fa-cloud-rain","fa fa-cloud-showers-heavy","fa fa-cloud-sun","fa fa-cloud-sun-rain","fa fa-cloud-upload-alt","fab fa-cloudscale","fab fa-cloudsmith","fab fa-cloudversify","fa fa-cocktail","fa fa-code","fa fa-code-branch","fab fa-codepen","fab fa-codiepie","fa fa-coffee","fa fa-cog","fa fa-cogs","fa fa-coins","fa fa-columns","fa fa-comment","fa fa-comment-alt","fa fa-comment-dollar","fa fa-comment-dots","fa fa-comment-medical","fa fa-comment-slash","fa fa-comments","fa fa-comments-dollar","fa fa-compact-disc","fa fa-compass","fa fa-compress","fa fa-compress-arrows-alt","fa fa-concierge-bell","fab fa-confluence","fab fa-connectdevelop","fab fa-contao","fa fa-cookie","fa fa-cookie-bite","fa fa-copy","fa fa-copyright","fa fa-couch","fab fa-cpanel","fab fa-creative-commons","fab fa-creative-commons-by","fab fa-creative-commons-nc","fab fa-creative-commons-nc-eu","fab fa-creative-commons-nc-jp","fab fa-creative-commons-nd","fab fa-creative-commons-pd","fab fa-creative-commons-pd-alt","fab fa-creative-commons-remix","fab fa-creative-commons-sa","fab fa-creative-commons-sampling","fab fa-creative-commons-sampling-plus","fab fa-creative-commons-share","fab fa-creative-commons-zero","fa fa-credit-card","fab fa-critical-role","fa fa-crop","fa fa-crop-alt","fa fa-cross","fa fa-crosshairs","fa fa-crow","fa fa-crown","fa fa-crutch","fab fa-css3","fab fa-css3-alt","fa fa-cube","fa fa-cubes","fa fa-cut","fab fa-cuttlefish","fab fa-d-and-d","fab fa-d-and-d-beyond","fab fa-dashcube","fa fa-database","fa fa-deaf","fab fa-delicious","fa fa-democrat","fab fa-deploydog","fab fa-deskpro","fa fa-desktop","fab fa-dev","fab fa-deviantart","fa fa-dharmachakra","fab fa-dhl","fa fa-diagnoses","fab fa-diaspora","fa fa-dice","fa fa-dice-d20","fa fa-dice-d6","fa fa-dice-five","fa fa-dice-four","fa fa-dice-one","fa fa-dice-six","fa fa-dice-three","fa fa-dice-two","fab fa-digg","fab fa-digital-ocean","fa fa-digital-tachograph","fa fa-directions","fab fa-discord","fab fa-discourse","fa fa-divide","fa fa-dizzy","fa fa-dna","fab fa-dochub","fab fa-docker","fa fa-dog","fa fa-dollar-sign","fa fa-dolly","fa fa-dolly-flatbed","fa fa-donate","fa fa-door-closed","fa fa-door-open","fa fa-dot-circle","fa fa-dove","fa fa-download","fab fa-draft2digital","fa fa-drafting-compass","fa fa-dragon","fa fa-draw-polygon","fab fa-dribbble","fab fa-dribbble-square","fab fa-dropbox","fa fa-drum","fa fa-drum-steelpan","fa fa-drumstick-bite","fab fa-drupal","fa fa-dumbbell","fa fa-dumpster","fa fa-dumpster-fire","fa fa-dungeon","fab fa-dyalog","fab fa-earlybirds","fab fa-ebay","fab fa-edge","fa fa-edit","fa fa-egg","fa fa-eject","fab fa-elementor","fa fa-ellipsis-h","fa fa-ellipsis-v","fab fa-ello","fab fa-ember","fab fa-empire","fa fa-envelope","fa fa-envelope-open","fa fa-envelope-open-text","fa fa-envelope-square","fab fa-envira","fa fa-equals","fa fa-eraser","fab fa-erlang","fab fa-ethereum","fa fa-ethernet","fab fa-etsy","fa fa-euro-sign","fab fa-evernote","fa fa-exchange-alt","fa fa-exclamation","fa fa-exclamation-circle","fa fa-exclamation-triangle","fa fa-expand","fa fa-expand-arrows-alt","fab fa-expeditedssl","fa fa-external-link-alt","fa fa-external-link-square-alt","fa fa-eye","fa fa-eye-dropper","fa fa-eye-slash","fab fa-facebook","fab fa-facebook-f","fab fa-facebook-messenger","fab fa-facebook-square","fa fa-fan","fab fa-fantasy-flight-games","fa fa-fast-backward","fa fa-fast-forward","fa fa-fax","fa fa-feather","fa fa-feather-alt","fab fa-fedex","fab fa-fedora","fa fa-female","fa fa-fighter-jet","fab fa-figma","fa fa-file","fa fa-file-alt","fa fa-file-archive","fa fa-file-audio","fa fa-file-code","fa fa-file-contract","fa fa-file-csv","fa fa-file-download","fa fa-file-excel","fa fa-file-export","fa fa-file-image","fa fa-file-import","fa fa-file-invoice","fa fa-file-invoice-dollar","fa fa-file-medical","fa fa-file-medical-alt","fa fa-file-pdf","fa fa-file-powerpoint","fa fa-file-prescription","fa fa-file-signature","fa fa-file-upload","fa fa-file-video","fa fa-file-word","fa fa-fill","fa fa-fill-drip","fa fa-film","fa fa-filter","fa fa-fingerprint","fa fa-fire","fa fa-fire-alt","fa fa-fire-extinguisher","fab fa-firefox","fa fa-first-aid","fab fa-first-order","fab fa-first-order-alt","fab fa-firstdraft","fa fa-fish","fa fa-fist-raised","fa fa-flag","fa fa-flag-checkered","fa fa-flag-usa","fa fa-flask","fab fa-flickr","fab fa-flipboard","fa fa-flushed","fab fa-fly","fa fa-folder","fa fa-folder-minus","fa fa-folder-open","fa fa-folder-plus","fa fa-font","fab fa-font-awesome","fab fa-font-awesome-alt","fab fa-font-awesome-flag","fab fa-font-awesome-logo-full","fab fa-fonticons","fab fa-fonticons-fi","fa fa-football-ball","fab fa-fort-awesome","fab fa-fort-awesome-alt","fab fa-forumbee","fa fa-forward","fab fa-foursquare","fab fa-free-code-camp","fab fa-freebsd","fa fa-frog","fa fa-frown","fa fa-frown-open","fab fa-fulcrum","fa fa-funnel-dollar","fa fa-futbol","fab fa-galactic-republic","fab fa-galactic-senate","fa fa-gamepad","fa fa-gas-pump","fa fa-gavel","fa fa-gem","fa fa-genderless","fab fa-get-pocket","fab fa-gg","fab fa-gg-circle","fa fa-ghost","fa fa-gift","fa fa-gifts","fab fa-git","fab fa-git-alt","fab fa-git-square","fab fa-github","fab fa-github-alt","fab fa-github-square","fab fa-gitkraken","fab fa-gitlab","fab fa-gitter","fa fa-glass-cheers","fa fa-glass-martini","fa fa-glass-martini-alt","fa fa-glass-whiskey","fa fa-glasses","fab fa-glide","fab fa-glide-g","fa fa-globe","fa fa-globe-africa","fa fa-globe-americas","fa fa-globe-asia","fa fa-globe-europe","fab fa-gofore","fa fa-golf-ball","fab fa-goodreads","fab fa-goodreads-g","fab fa-google","fab fa-google-drive","fab fa-google-play","fab fa-google-plus","fab fa-google-plus-g","fab fa-google-plus-square","fab fa-google-wallet","fa fa-gopuram","fa fa-graduation-cap","fab fa-gratipay","fab fa-grav","fa fa-greater-than","fa fa-greater-than-equal","fa fa-grimace","fa fa-grin","fa fa-grin-alt","fa fa-grin-beam","fa fa-grin-beam-sweat","fa fa-grin-hearts","fa fa-grin-squint","fa fa-grin-squint-tears","fa fa-grin-stars","fa fa-grin-tears","fa fa-grin-tongue","fa fa-grin-tongue-squint","fa fa-grin-tongue-wink","fa fa-grin-wink","fa fa-grip-horizontal","fa fa-grip-lines","fa fa-grip-lines-vertical","fa fa-grip-vertical","fab fa-gripfire","fab fa-grunt","fa fa-guitar","fab fa-gulp","fa fa-h-square","fab fa-hacker-news","fab fa-hacker-news-square","fab fa-hackerrank","fa fa-hamburger","fa fa-hammer","fa fa-hamsa","fa fa-hand-holding","fa fa-hand-holding-heart","fa fa-hand-holding-usd","fa fa-hand-lizard","fa fa-hand-middle-finger","fa fa-hand-paper","fa fa-hand-peace","fa fa-hand-point-down","fa fa-hand-point-left","fa fa-hand-point-right","fa fa-hand-point-up","fa fa-hand-pointer","fa fa-hand-rock","fa fa-hand-scissors","fa fa-hand-spock","fa fa-hands","fa fa-hands-helping","fa fa-handshake","fa fa-hanukiah","fa fa-hard-hat","fa fa-hashtag","fa fa-hat-wizard","fa fa-haykal","fa fa-hdd","fa fa-heading","fa fa-headphones","fa fa-headphones-alt","fa fa-headset","fa fa-heart","fa fa-heart-broken","fa fa-heartbeat","fa fa-helicopter","fa fa-highlighter","fa fa-hiking","fa fa-hippo","fab fa-hips","fab fa-hire-a-helper","fa fa-history","fa fa-hockey-puck","fa fa-holly-berry","fa fa-home","fab fa-hooli","fab fa-hornbill","fa fa-horse","fa fa-horse-head","fa fa-hospital","fa fa-hospital-alt","fa fa-hospital-symbol","fa fa-hot-tub","fa fa-hotdog","fa fa-hotel","fab fa-hotjar","fa fa-hourglass","fa fa-hourglass-end","fa fa-hourglass-half","fa fa-hourglass-start","fa fa-house-damage","fab fa-houzz","fa fa-hryvnia","fab fa-html5","fab fa-hubspot","fa fa-i-cursor","fa fa-ice-cream","fa fa-icicles","fa fa-icons","fa fa-id-badge","fa fa-id-card","fa fa-id-card-alt","fa fa-igloo","fa fa-image","fa fa-images","fab fa-imdb","fa fa-inbox","fa fa-indent","fa fa-industry","fa fa-infinity","fa fa-info","fa fa-info-circle","fab fa-instagram","fab fa-intercom","fab fa-internet-explorer","fab fa-invision","fab fa-ioxhost","fa fa-italic","fab fa-itch-io","fab fa-itunes","fab fa-itunes-note","fab fa-java","fa fa-jedi","fab fa-jedi-order","fab fa-jenkins","fab fa-jira","fab fa-joget","fa fa-joint","fab fa-joomla","fa fa-journal-whills","fab fa-js","fab fa-js-square","fab fa-jsfiddle","fa fa-kaaba","fab fa-kaggle","fa fa-key","fab fa-keybase","fa fa-keyboard","fab fa-keycdn","fa fa-khanda","fab fa-kickstarter","fab fa-kickstarter-k","fa fa-kiss","fa fa-kiss-beam","fa fa-kiss-wink-heart","fa fa-kiwi-bird","fab fa-korvue","fa fa-landmark","fa fa-language","fa fa-laptop","fa fa-laptop-code","fa fa-laptop-medical","fab fa-laravel","fab fa-lastfm","fab fa-lastfm-square","fa fa-laugh","fa fa-laugh-beam","fa fa-laugh-squint","fa fa-laugh-wink","fa fa-layer-group","fa fa-leaf","fab fa-leanpub","fa fa-lemon","fab fa-less","fa fa-less-than","fa fa-less-than-equal","fa fa-level-down-alt","fa fa-level-up-alt","fa fa-life-ring","fa fa-lightbulb","fab fa-line","fa fa-link","fab fa-linkedin","fab fa-linkedin-in","fab fa-linode","fab fa-linux","fa fa-lira-sign","fa fa-list","fa fa-list-alt","fa fa-list-ol","fa fa-list-ul","fa fa-location-arrow","fa fa-lock","fa fa-lock-open","fa fa-long-arrow-alt-down","fa fa-long-arrow-alt-left","fa fa-long-arrow-alt-right","fa fa-long-arrow-alt-up","fa fa-low-vision","fa fa-luggage-cart","fab fa-lyft","fab fa-magento","fa fa-magic","fa fa-magnet","fa fa-mail-bulk","fab fa-mailchimp","fa fa-male","fab fa-mandalorian","fa fa-map","fa fa-map-marked","fa fa-map-marked-alt","fa fa-map-marker","fa fa-map-marker-alt","fa fa-map-pin","fa fa-map-signs","fab fa-markdown","fa fa-marker","fa fa-mars","fa fa-mars-double","fa fa-mars-stroke","fa fa-mars-stroke-h","fa fa-mars-stroke-v","fa fa-mask","fab fa-mastodon","fab fa-maxcdn","fa fa-medal","fab fa-medapps","fab fa-medium","fab fa-medium-m","fa fa-medkit","fab fa-medrt","fab fa-meetup","fab fa-megaport","fa fa-meh","fa fa-meh-blank","fa fa-meh-rolling-eyes","fa fa-memory","fab fa-mendeley","fa fa-menorah","fa fa-mercury","fa fa-meteor","fa fa-microchip","fa fa-microphone","fa fa-microphone-alt","fa fa-microphone-alt-slash","fa fa-microphone-slash","fa fa-microscope","fab fa-microsoft","fa fa-minus","fa fa-minus-circle","fa fa-minus-square","fa fa-mitten","fab fa-mix","fab fa-mixcloud","fab fa-mizuni","fa fa-mobile","fa fa-mobile-alt","fab fa-modx","fab fa-monero","fa fa-money-bill","fa fa-money-bill-alt","fa fa-money-bill-wave","fa fa-money-bill-wave-alt","fa fa-money-check","fa fa-money-check-alt","fa fa-monument","fa fa-moon","fa fa-mortar-pestle","fa fa-mosque","fa fa-motorcycle","fa fa-mountain","fa fa-mouse-pointer","fa fa-mug-hot","fa fa-music","fab fa-napster","fab fa-neos","fa fa-network-wired","fa fa-neuter","fa fa-newspaper","fab fa-nimblr","fab fa-node","fab fa-node-js","fa fa-not-equal","fa fa-notes-medical","fab fa-npm","fab fa-ns8","fab fa-nutritionix","fa fa-object-group","fa fa-object-ungroup","fab fa-odnoklassniki","fab fa-odnoklassniki-square","fa fa-oil-can","fab fa-old-republic","fa fa-om","fab fa-opencart","fab fa-openid","fab fa-opera","fab fa-optin-monster","fab fa-osi","fa fa-otter","fa fa-outdent","fab fa-page4","fab fa-pagelines","fa fa-pager","fa fa-paint-brush","fa fa-paint-roller","fa fa-palette","fab fa-palfed","fa fa-pallet","fa fa-paper-plane","fa fa-paperclip","fa fa-parachute-box","fa fa-paragraph","fa fa-parking","fa fa-passport","fa fa-pastafarianism","fa fa-paste","fab fa-patreon","fa fa-pause","fa fa-pause-circle","fa fa-paw","fab fa-paypal","fa fa-peace","fa fa-pen","fa fa-pen-alt","fa fa-pen-fancy","fa fa-pen-nib","fa fa-pen-square","fa fa-pencil-alt","fa fa-pencil-ruler","fab fa-penny-arcade","fa fa-people-carry","fa fa-pepper-hot","fa fa-percent","fa fa-percentage","fab fa-periscope","fa fa-person-booth","fab fa-phabricator","fab fa-phoenix-framework","fab fa-phoenix-squadron","fa fa-phone","fa fa-phone-alt","fa fa-phone-slash","fa fa-phone-square","fa fa-phone-square-alt","fa fa-phone-volume","fa fa-photo-video","fab fa-php","fab fa-pied-piper","fab fa-pied-piper-alt","fab fa-pied-piper-hat","fab fa-pied-piper-pp","fa fa-piggy-bank","fa fa-pills","fab fa-pinterest","fab fa-pinterest-p","fab fa-pinterest-square","fa fa-pizza-slice","fa fa-place-of-worship","fa fa-plane","fa fa-plane-arrival","fa fa-plane-departure","fa fa-play","fa fa-play-circle","fab fa-playstation","fa fa-plug","fa fa-plus","fa fa-plus-circle","fa fa-plus-square","fa fa-podcast","fa fa-poll","fa fa-poll-h","fa fa-poo","fa fa-poo-storm","fa fa-poop","fa fa-portrait","fa fa-pound-sign","fa fa-power-off","fa fa-pray","fa fa-praying-hands","fa fa-prescription","fa fa-prescription-bottle","fa fa-prescription-bottle-alt","fa fa-print","fa fa-procedures","fab fa-product-hunt","fa fa-project-diagram","fab fa-pushed","fa fa-puzzle-piece","fab fa-python","fab fa-qq","fa fa-qrcode","fa fa-question","fa fa-question-circle","fa fa-quidditch","fab fa-quinscape","fab fa-quora","fa fa-quote-left","fa fa-quote-right","fa fa-quran","fab fa-r-project","fa fa-radiation","fa fa-radiation-alt","fa fa-rainbow","fa fa-random","fab fa-raspberry-pi","fab fa-ravelry","fab fa-react","fab fa-reacteurope","fab fa-readme","fab fa-rebel","fa fa-receipt","fa fa-recycle","fab fa-red-river","fab fa-reddit","fab fa-reddit-alien","fab fa-reddit-square","fab fa-redhat","fa fa-redo","fa fa-redo-alt","fa fa-registered","fa fa-remove-format","fab fa-renren","fa fa-reply","fa fa-reply-all","fab fa-replyd","fa fa-republican","fab fa-researchgate","fab fa-resolving","fa fa-restroom","fa fa-retweet","fab fa-rev","fa fa-ribbon","fa fa-ring","fa fa-road","fa fa-robot","fa fa-rocket","fab fa-rocketchat","fab fa-rockrms","fa fa-route","fa fa-rss","fa fa-rss-square","fa fa-ruble-sign","fa fa-ruler","fa fa-ruler-combined","fa fa-ruler-horizontal","fa fa-ruler-vertical","fa fa-running","fa fa-rupee-sign","fa fa-sad-cry","fa fa-sad-tear","fab fa-safari","fab fa-salesforce","fab fa-sass","fa fa-satellite","fa fa-satellite-dish","fa fa-save","fab fa-schlix","fa fa-school","fa fa-screwdriver","fab fa-scribd","fa fa-scroll","fa fa-sd-card","fa fa-search","fa fa-search-dollar","fa fa-search-location","fa fa-search-minus","fa fa-search-plus","fab fa-searchengin","fa fa-seedling","fab fa-sellcast","fab fa-sellsy","fa fa-server","fab fa-servicestack","fa fa-shapes","fa fa-share","fa fa-share-alt","fa fa-share-alt-square","fa fa-share-square","fa fa-shekel-sign","fa fa-shield-alt","fa fa-ship","fa fa-shipping-fast","fab fa-shirtsinbulk","fa fa-shoe-prints","fa fa-shopping-bag","fa fa-shopping-basket","fa fa-shopping-cart","fab fa-shopware","fa fa-shower","fa fa-shuttle-van","fa fa-sign","fa fa-sign-in-alt","fa fa-sign-language","fa fa-sign-out-alt","fa fa-signal","fa fa-signature","fa fa-sim-card","fab fa-simplybuilt","fab fa-sistrix","fa fa-sitemap","fab fa-sith","fa fa-skating","fab fa-sketch","fa fa-skiing","fa fa-skiing-nordic","fa fa-skull","fa fa-skull-crossbones","fab fa-skyatlas","fab fa-skype","fab fa-slack","fab fa-slack-hash","fa fa-slash","fa fa-sleigh","fa fa-sliders-h","fab fa-slideshare","fa fa-smile","fa fa-smile-beam","fa fa-smile-wink","fa fa-smog","fa fa-smoking","fa fa-smoking-ban","fa fa-sms","fab fa-snapchat","fab fa-snapchat-ghost","fab fa-snapchat-square","fa fa-snowboarding","fa fa-snowflake","fa fa-snowman","fa fa-snowplow","fa fa-socks","fa fa-solar-panel","fa fa-sort","fa fa-sort-alpha-down","fa fa-sort-alpha-down-alt","fa fa-sort-alpha-up","fa fa-sort-alpha-up-alt","fa fa-sort-amount-down","fa fa-sort-amount-down-alt","fa fa-sort-amount-up","fa fa-sort-amount-up-alt","fa fa-sort-down","fa fa-sort-numeric-down","fa fa-sort-numeric-down-alt","fa fa-sort-numeric-up","fa fa-sort-numeric-up-alt","fa fa-sort-up","fab fa-soundcloud","fab fa-sourcetree","fa fa-spa","fa fa-space-shuttle","fab fa-speakap","fab fa-speaker-deck","fa fa-spell-check","fa fa-spider","fa fa-spinner","fa fa-splotch","fab fa-spotify","fa fa-spray-can","fa fa-square","fa fa-square-full","fa fa-square-root-alt","fab fa-squarespace","fab fa-stack-exchange","fab fa-stack-overflow","fab fa-stackpath","fa fa-stamp","fa fa-star","fa fa-star-and-crescent","fa fa-star-half","fa fa-star-half-alt","fa fa-star-of-david","fa fa-star-of-life","fab fa-staylinked","fab fa-steam","fab fa-steam-square","fab fa-steam-symbol","fa fa-step-backward","fa fa-step-forward","fa fa-stethoscope","fab fa-sticker-mule","fa fa-sticky-note","fa fa-stop","fa fa-stop-circle","fa fa-stopwatch","fa fa-store","fa fa-store-alt","fab fa-strava","fa fa-stream","fa fa-street-view","fa fa-strikethrough","fab fa-stripe","fab fa-stripe-s","fa fa-stroopwafel","fab fa-studiovinari","fab fa-stumbleupon","fab fa-stumbleupon-circle","fa fa-subscript","fa fa-subway","fa fa-suitcase","fa fa-suitcase-rolling","fa fa-sun","fab fa-superpowers","fa fa-superscript","fab fa-supple","fa fa-surprise","fab fa-suse","fa fa-swatchbook","fa fa-swimmer","fa fa-swimming-pool","fab fa-symfony","fa fa-synagogue","fa fa-sync","fa fa-sync-alt","fa fa-syringe","fa fa-table","fa fa-table-tennis","fa fa-tablet","fa fa-tablet-alt","fa fa-tablets","fa fa-tachometer-alt","fa fa-tag","fa fa-tags","fa fa-tape","fa fa-tasks","fa fa-taxi","fab fa-teamspeak","fa fa-teeth","fa fa-teeth-open","fab fa-telegram","fab fa-telegram-plane","fa fa-temperature-high","fa fa-temperature-low","fab fa-tencent-weibo","fa fa-tenge","fa fa-terminal","fa fa-text-height","fa fa-text-width","fa fa-th","fa fa-th-large","fa fa-th-list","fab fa-the-red-yeti","fa fa-theater-masks","fab fa-themeco","fab fa-themeisle","fa fa-thermometer","fa fa-thermometer-empty","fa fa-thermometer-full","fa fa-thermometer-half","fa fa-thermometer-quarter","fa fa-thermometer-three-quarters","fab fa-think-peaks","fa fa-thumbs-down","fa fa-thumbs-up","fa fa-thumbtack","fa fa-ticket-alt","fa fa-times","fa fa-times-circle","fa fa-tint","fa fa-tint-slash","fa fa-tired","fa fa-toggle-off","fa fa-toggle-on","fa fa-toilet","fa fa-toilet-paper","fa fa-toolbox","fa fa-tools","fa fa-tooth","fa fa-torah","fa fa-torii-gate","fa fa-tractor","fab fa-trade-federation","fa fa-trademark","fa fa-traffic-light","fa fa-train","fa fa-tram","fa fa-transgender","fa fa-transgender-alt","fa fa-trash","fa fa-trash-alt","fa fa-trash-restore","fa fa-trash-restore-alt","fa fa-tree","fab fa-trello","fab fa-tripadvisor","fa fa-trophy","fa fa-truck","fa fa-truck-loading","fa fa-truck-monster","fa fa-truck-moving","fa fa-truck-pickup","fa fa-tshirt","fa fa-tty","fab fa-tumblr","fab fa-tumblr-square","fa fa-tv","fab fa-twitch","fab fa-twitter","fab fa-twitter-square","fab fa-typo3","fab fa-uber","fab fa-ubuntu","fab fa-uikit","fa fa-umbrella","fa fa-umbrella-beach","fa fa-underline","fa fa-undo","fa fa-undo-alt","fab fa-uniregistry","fa fa-universal-access","fa fa-university","fa fa-unlink","fa fa-unlock","fa fa-unlock-alt","fab fa-untappd","fa fa-upload","fab fa-ups","fab fa-usb","fa fa-user","fa fa-user-alt","fa fa-user-alt-slash","fa fa-user-astronaut","fa fa-user-check","fa fa-user-circle","fa fa-user-clock","fa fa-user-cog","fa fa-user-edit","fa fa-user-friends","fa fa-user-graduate","fa fa-user-injured","fa fa-user-lock","fa fa-user-md","fa fa-user-minus","fa fa-user-ninja","fa fa-user-nurse","fa fa-user-plus","fa fa-user-secret","fa fa-user-shield","fa fa-user-slash","fa fa-user-tag","fa fa-user-tie","fa fa-user-times","fa fa-users","fa fa-users-cog","fab fa-usps","fab fa-ussunnah","fa fa-utensil-spoon","fa fa-utensils","fab fa-vaadin","fa fa-vector-square","fa fa-venus","fa fa-venus-double","fa fa-venus-mars","fab fa-viacoin","fab fa-viadeo","fab fa-viadeo-square","fa fa-vial","fa fa-vials","fab fa-viber","fa fa-video","fa fa-video-slash","fa fa-vihara","fab fa-vimeo","fab fa-vimeo-square","fab fa-vimeo-v","fab fa-vine","fab fa-vk","fab fa-vnv","fa fa-voicemail","fa fa-volleyball-ball","fa fa-volume-down","fa fa-volume-mute","fa fa-volume-off","fa fa-volume-up","fa fa-vote-yea","fa fa-vr-cardboard","fab fa-vuejs","fa fa-walking","fa fa-wallet","fa fa-warehouse","fa fa-water","fa fa-wave-square","fab fa-waze","fab fa-weebly","fab fa-weibo","fa fa-weight","fa fa-weight-hanging","fab fa-weixin","fab fa-whatsapp","fab fa-whatsapp-square","fa fa-wheelchair","fab fa-whmcs","fa fa-wifi","fab fa-wikipedia-w","fa fa-wind","fa fa-window-close","fa fa-window-maximize","fa fa-window-minimize","fa fa-window-restore","fab fa-windows","fa fa-wine-bottle","fa fa-wine-glass","fa fa-wine-glass-alt","fab fa-wix","fab fa-wizards-of-the-coast","fab fa-wolf-pack-battalion","fa fa-won-sign","fab fa-wordpress","fab fa-wordpress-simple","fab fa-wpbeginner","fab fa-wpexplorer","fab fa-wpforms","fab fa-wpressr","fa fa-wrench","fa fa-x-ray","fab fa-xbox","fab fa-xing","fab fa-xing-square","fab fa-y-combinator","fab fa-yahoo","fab fa-yammer","fab fa-yandex","fab fa-yandex-international","fab fa-yarn","fab fa-yelp","fa fa-yen-sign","fa fa-yin-yang","fab fa-yoast","fab fa-youtube","fab fa-youtube-square","fab fa-zhihu"]};a(58);function rt(e){return(rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ct(){return(ct=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function st(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ut(e){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ft(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var pt=function(e){function t(){var e,a,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(e=!(n=ut(t).call(this))||"object"!==rt(n)&&"function"!=typeof n?ft(a):n).state={items:[],search:"",icon:""},e.loadData=e.loadData.bind(ft(e)),e.iconShanged=e.iconShanged.bind(ft(e)),e.filter=e.filter.bind(ft(e)),e.run=e.run.bind(ft(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dt(e,t)}(t,e),a=t,(n=[{key:"componentDidMount",value:function(){this.loadData()}},{key:"loadData",value:function(){var e=this;if(it){var t=[];Object.keys(it).forEach((function(a){for(var n=0;n<it[a].length;n++)it[a][n].indexOf(e.state.search)>-1&&t.push(it[a][n])})),this.setState({items:t})}}},{key:"iconShanged",value:function(e){e.preventDefault();var t="INPUT"===e.target.tagName?e.target.value:e.currentTarget.dataset.icon;this.setState({icon:t}),this.props.onSelect(t)}},{key:"filter",value:function(e){this.setState({search:e.target.value},this.loadData)}},{key:"run",value:function(e){e.preventDefault();var t=e.currentTarget,a=t.parentElement,n=a.querySelector(".icons-container");n&&(n.classList.contains("opened")?(t.classList.remove("opened"),n.classList.remove("opened")):(t.classList.add("opened"),n.classList.add("opened")),a.addEventListener("mouseleave",(function e(){t.classList.remove("opened"),n.classList.remove("opened"),a.removeEventListener&&a.removeEventListener("mouseleave",e)})))}},{key:"render",value:function(){var e=this,t=this.props,a=t.classPlaceholder,n=t.fliterPlaceholder;return React.createElement("div",{className:"hb-select-icon"},React.createElement("a",{href:"#",onClick:this.run,className:"toggle"},this.props.title," [ ",React.createElement("i",{className:this.props.value})," ]"),React.createElement("div",{className:"icons-container"},React.createElement("input",ct({type:"text",name:"icon",value:this.props.value||"",onChange:this.iconShanged},a?{placeholder:a}:{})),React.createElement("input",ct({type:"search",name:"filter",onChange:this.filter},n?{placeholder:n}:{})),React.createElement("ul",null,this.state.items.length&&this.state.items.map((function(t,a){return React.createElement("li",{key:a},React.createElement("a",{href:"#","data-icon":t,onClick:e.iconShanged,className:e.props.value===t?"active":""},React.createElement("i",{className:t})))})))))}}])&&st(a.prototype,n),o&&st(a,o),t}(wp.element.Component),yt=a(12),bt=a.n(yt);function ht(e){return(ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mt(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}a.d(t,"H",(function(){return vt}));var gt=wp.i18n.__,vt=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.version="4.0",this.description="HayyaBuild allows you to build unlimited headers, pages and footers for your WordPress website without the needs for writing any code.",this.memoize=bt.a,this.BlocksOptions=he,this.SelectIcon=pt,this.OpenStreetMap=lt,this.hayyabuildSubscribe=this.hayyabuildSubscribe.bind(this),this.optionsModalOpened=this.optionsModalOpened.bind(this),this.optionsModalClosed=this.optionsModalClosed.bind(this)}var t,n,o;return t=e,(n=[{key:"getPro",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=gt("Sorry about that. but this feature is unavailable in lite version.","hayyabuild"),a=gt("Get more options","hayyabuild"),n=gt("from here.","hayyabuild");return React.createElement("div",{className:"hayyabuild-get-pro"},void 0!==e.list&&React.createElement("div",null,t),a,React.createElement("a",{href:"https://hayyabuild.zintathemes.com?blocks=1",target:"_blank"},n))}},{key:"hayyabuildSubscribe",value:function(){var e=this,t=wp.data.select("core/block-editor").getBlocks();if(t.length){var a=[];!function t(n){n.forEach((function(n){if(0===n.name.indexOf("hayyabuild")){var o=n.name;o.indexOf("pricingblocktable")<0&&(n.attributes.numOfplans=n.innerBlocks.length),a.indexOf(n.attributes.id)>-1&&(n.attributes.id=e.generateID(o)),n.attributes.id&&a.push(n.attributes.id)}n.innerBlocks.length&&t(n.innerBlocks)}))}(t)}}},{key:"setHeadStyle",value:function(){var e=document.getElementById("hayyabuild_inline_style");if(e&&e.value){var t;try{t=JSON.parse(e.value)}catch(e){return console.log("ERRoR3: cona`t parse tyle:",e),!1}var a="hayyabuild-head-inlinestyle",n=document.head||document.getElementsByTagName("head")[0],o=document.getElementById(a);o||(o=document.createElement("style"),n.appendChild(o),o.type="text/css",o.id=a);var l="";if(t){var i={},r=this.getBlocks();r.length&&(r.forEach((function(e){t[e.attributes.id]&&(i[e.attributes.id]=t[e.attributes.id])})),e.value=JSON.stringify(i)),Object.keys(t).forEach((function(e){l="".concat(l," ").concat(t[e].element," { ").concat(t[e].style," }")})),l&&(o.textContent=l)}}}},{key:"getBlocks",value:function(){var e=wp.data.select("core/block-editor").getBlocks();if(!e.length)return[];var t=[];return function e(a){a.length&&a.forEach((function(a){0===a.name.indexOf("hayyabuild")&&t.push({name:a.name,clientId:a.clientId,attributes:a.attributes});var n=a.innerBlocks;n.length&&e(n)}))}(e),t}},{key:"optionsModalOpened",value:function(){}},{key:"optionsModalClosed",value:function(){this.setHeadStyle()}},{key:"generateID",value:function(e){var t=document.getElementById("post_ID"),a=e.replace("/","-")||"hayyabuild-block",n=t.value||Math.floor(999*Math.random()+111),o=Math.floor(9999*Math.random()+1111);return"".concat(a+n,"-").concat(o)}},{key:"blockID",value:function(e,t,a){if(!t||!a||e)return e;var n=this.generateID(t);return n&&a({id:n}),n}},{key:"generateClass",value:function(e){return e.replace("/","-")||"hayyabuild-"+Math.floor(999*Math.random()+111)}},{key:"iconStyle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(e){var l=a(60),i=l.Icon,r="object"!==ht(e)||e.type?e:React.createElement(i,{icon:e,color:t,hFlip:n,vFlip:o});return{background:"#D4F2FF",foreground:"#0088DD",src:r}}}},{key:"getAdditionalCSSClass",value:function(){var e=document.getElementById("inspector-text-control-1");e&&e.addEventListener("change",(function(){}))}},{key:"isColorLight",value:function(e){var t,a,n,o,l=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e)return!1;l?(t=(o=parseInt(e,16))>>16&255,a=o>>8&255,n=255&o):(t=e.r,a=e.g,n=e.b);var i=Math.sqrt(t*t*.299+a*a*.587+n*n*.114);return i<130}},{key:"hexToRgb",value:function(e,t){return"rgba("+(e=e.replace("#","")).match(new RegExp("(.{"+e.length/3+"})","g")).map((function(t){return parseInt(e.length%2?t+t:t,16)})).concat(t||1).join(",")+")"}},{key:"rgbToHex",value:function(e,t,a){return"#"+[e,t,a].map((function(e){return e.toString(16).padStart(2,"0")})).join("")}},{key:"lightenAndDarken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#000000",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(void 0===e||void 0===t)return"";var a=!1;"#"===e[0]&&(e=e.slice(1),a=!0);var n=parseInt(e.substring(0,2),16),o=parseInt(e.substring(2,4),16),l=parseInt(e.substring(4,6),16);(n+=t)>255?n=255:n<0&&(n=0),(o+=t)>255?o=255:o<0&&(o=0),(l+=t)>255?l=255:l<0&&(l=0);var i=1===n.toString(16).length?"0"+n.toString(16):n.toString(16),r=1===o.toString(16).length?"0"+o.toString(16):o.toString(16),c=1===l.toString(16).length?"0"+l.toString(16):l.toString(16);return(a?"#":"")+i+r+c}},{key:"classesClean",value:function(e){if(e){var t=[];return e=e.split(" "),["hb-visible-sm","hb-hidden-sm","hb-visible-md","hb-hidden-md","hb-visible-lg","hb-hidden-lg","hb-visible-Xlg","hb-hidden-Xlg","hb-scale-in","hb-scale-out","hb-slide-right","hb-slide-left","hb-slide-up","hb-slide-down","hb-fade-in","hb-fade-out","hb-right-rotation","hb-left-rotation","hb-up-rotation","hb-down-rotation","hb-fixed-bg","hb-parallax-up","hb-parallax-down","hb-hover-bg-zoomin","hb-hover-bg-zoomout","hb-hover-shadow","hb-hover-scalein","hb-hover-scaleout","hb-hover-visibility-inc","hb-hover-visibility-dec","text-left","text-right","text-center","text-justify","center-sm","center-md","center-lg","hayya-scrolleffects","hb-scroll_duration_0","hb-scroll_duration_5","hb-scroll_duration_10","hb-scroll_duration_15","hb-scroll_duration_20","hb-scroll_duration_25","hb-scroll_duration_30","hb-scroll_duration_35","hb-scroll_duration_40","hb-scroll_duration_45","hb-scroll_duration_50","hb-scroll_duration_55","hb-scroll_duration_60","hb-scroll_duration_65","hb-scroll_duration_70","hb-scroll_duration_75","hb-scroll_duration_80","hb-scroll_duration_85","hb-scroll_duration_90","hb-scroll_duration_95","hb-scroll_duration_100","hb-scroll_easing_ease","hb-scroll_easing_linear","hb-scroll_easing_ease-in","hb-scroll_easing_ease-out","hb-scroll_easing_ease-in-out","hb-scroll_easing_easeInQuad","hb-scroll_easing_easeInCubic","hb-scroll_easing_easeInQuart","hb-scroll_easing_easeInQuint","hb-scroll_easing_easeInSine","hb-scroll_easing_easeInExpo","hb-scroll_easing_easeInCirc","hb-scroll_easing_easeInBack","hb-scroll_easing_easeOutQuad","hb-scroll_easing_easeOutCubic","hb-scroll_easing_easeOutQuart","hb-scroll_easing_easeOutQuint","hb-scroll_easing_easeOutSine","hb-scroll_easing_easeOutExpo","hb-scroll_easing_easeOutCirc","hb-scroll_easing_easeOutBack","hb-scroll_easing_easeInOutQuad","hb-scroll_easing_easeInOutCubic","hb-scroll_easing_easeInOutQuart","hb-scroll_easing_easeInOutQuint","hb-scroll_easing_easeInOutSine","hb-scroll_easing_easeInOutExpo","hb-scroll_easing_easeInOutCirc","hb-scroll_easing_easeInOutBack"].map((function(a){e.indexOf(a)>-1&&t.push(a)})),t.join(" ")}}},{key:"hayyaClasses",value:function(){for(var e=this,t=[],a=arguments.length,n=new Array(a),o=0;o<a;o++)n[o]=arguments[o];return n.forEach((function(a){var n=ht(a);"string"===n||"number"===n?t.push(a.trim()):Array.isArray(a)&&a.length?a.forEach((function(e){return"string"==typeof e&&t.push(e.trim())})):"object"!==n||Array.isArray(a)||Object.keys(a).forEach((function(n){if("classesList"===n){var o=e.classesClean(a[n]);o&&t.push(o.trim())}else a[n]&&t.push(n.trim())}))})),t.join(" ")}}])&&mt(t.prototype,n),o&&mt(t,o),e}())},function(e,t,a){"use strict";e.exports=a(44)},function(e,t,a){"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},l=function(){var e={};return function(t){if(void 0===e[t]){var a=document.querySelector(t);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}e[t]=a}return e[t]}}(),i=[];function r(e){for(var t=-1,a=0;a<i.length;a++)if(i[a].identifier===e){t=a;break}return t}function c(e,t){for(var a={},n=[],o=0;o<e.length;o++){var l=e[o],c=t.base?l[0]+t.base:l[0],s=a[c]||0,u="".concat(c," ").concat(s);a[c]=s+1;var f=r(u),d={css:l[1],media:l[2],sourceMap:l[3]};-1!==f?(i[f].references++,i[f].updater(d)):i.push({identifier:u,updater:h(d,t),references:1}),n.push(u)}return n}function s(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=a.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var i=l(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var u,f=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function d(e,t,a,n){var o=a?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var l=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(l,i[t]):e.appendChild(l)}}function p(e,t,a){var n=a.css,o=a.media,l=a.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),l&&btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(l))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var y=null,b=0;function h(e,t){var a,n,o;if(t.singleton){var l=b++;a=y||(y=s(t)),n=d.bind(null,a,l,!1),o=d.bind(null,a,l,!0)}else a=s(t),n=p.bind(null,a,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(a)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var a=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<a.length;n++){var o=r(a[n]);i[o].references--}for(var l=c(e,t),s=0;s<a.length;s++){var u=r(a[s]);0===i[u].references&&(i[u].updater(),i.splice(u,1))}a=l}}}},function(e,t,a){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a=function(e,t){var a=e[1]||"",n=e[3];if(!n)return a;if(t&&"function"==typeof btoa){var o=(i=n,r=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(c," */")),l=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[a].concat(l).concat([o]).join("\n")}var i,r,c;return[a].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(a,"}"):a})).join("")},t.i=function(e,a,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var l=0;l<this.length;l++){var i=this[l][0];null!=i&&(o[i]=!0)}for(var r=0;r<e.length;r++){var c=[].concat(e[r]);n&&o[c[0]]||(a&&(c[2]?c[2]="".concat(a," and ").concat(c[2]):c[2]=a),t.push(c))}},t}},function(e,t,a){"use strict";var n=a(1),o=a.n(n);a(45);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?u(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){function t(){var e;return i(this,t),(e=c(this,s(t).apply(this,arguments))).state={modalOpened:""},e.hbModalRef=o.a.createRef(),e.appendModal=e.appendModal.bind(u(e)),e.removeModal=e.removeModal.bind(u(e)),e.openModal=e.openModal.bind(u(e)),e.closeModal=e.closeModal.bind(u(e)),e.events=e.events.bind(u(e)),e}var a,n,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),a=t,(n=[{key:"componentDidMount",value:function(){this.appendModal()}},{key:"componentWillUnmount",value:function(){this.removeModal()}},{key:"appendModal",value:function(){var e=this.props.appendTo,t=document.body,a={};"string"==typeof e&&(a="."!==e.charAt(0)?document.getElementById(e):document.querySelector(e))&&(t=a),t.classList.add("react-modal-popup-parent"),this.hbModalRef.current&&t.appendChild(this.hbModalRef.current)}},{key:"openModal",value:function(e){e.preventDefault();var t=document.getElementById("wpwrap");t&&(t.style.overflow="hidden"),this.hbModalRef.current.addEventListener("click",this.events),document.body.addEventListener("keydown",this.events),this.setState({modalOpened:" madal-opend"});var a=this.props.onOpen;"function"==typeof a&&a()}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(e.preventDefault(),this.removeModal());var t=this.props.onClose;"function"==typeof t&&t()}},{key:"removeModal",value:function(){var e=document.getElementById("wpwrap");e&&(e.style.overflow="unset"),this.setState({modalOpened:""}),this.hbModalRef.current.classList&&this.hbModalRef.current.classList.remove("madal-opend")}},{key:"events",value:function(e){"click"===e.type&&e.target.classList&&e.target.classList.contains("madal-opend")?(this.setState({modalOpened:""}),this.closeModal()):"keydown"!==e.type||"Escape"!==e.key&&"27"!==e.keyCode&&"Esc"!=e.key||(this.setState({modalOpened:""}),document.body.removeEventListener("keydown",this.events),this.closeModal())}},{key:"render",value:function(){var e=this.props,t=e.title,a=e.iconClass,n=e.children,l=function(){return t?o.a.createElement("span",null,void 0!==a&&o.a.createElement("i",{className:a})," ".concat(t)):void 0!==a?o.a.createElement("div",{className:"components-toolbar components-toolbar"},o.a.createElement("i",{className:a})):void 0};return o.a.createElement("div",{className:"react-modal-popup"},o.a.createElement("a",{href:"#",onClick:this.openModal,className:"open-modal"},o.a.createElement(l,null)),o.a.createElement("div",{className:"react-appended-modal-popup".concat(this.state.modalOpened),ref:this.hbModalRef},o.a.createElement("div",{className:"modal-container"},o.a.createElement("div",{className:"modal-header"},o.a.createElement("h2",{className:"modal-title"},o.a.createElement(l,null)),o.a.createElement("div",{className:"react-modal-popup-close",onClick:this.closeModal})),o.a.createElement("div",{className:"modal-body"},n))))}}])&&r(a.prototype,n),l&&r(a,l),t}(o.a.Component);t.a=d},function(e,t,a){"use strict";var n=a(1),o=a.n(n);a(47);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,a){return t&&r(e.prototype,t),a&&r(e,a),e}function s(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?f(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){function t(){var e;return i(this,t),(e=s(this,u(t).apply(this,arguments))).state={active:0,selected:!1},e.active=e.active.bind(f(e)),e.mapRender=e.mapRender.bind(f(e)),e}return d(t,e),c(t,[{key:"active",value:function(e,t){e.preventDefault(),this.setState({active:t,selected:!0})}},{key:"mapRender",value:function(){var e=this,t=this.props,a=t.color,n=t.bgColor,l=t.children,i=!0===t.fullWidthTabs?" flex-tabs":"",r=[],c=[],s=!1,u="function"==typeof l.map?l:[l];return"function"==typeof u.map&&u.map((function(t,l){if(t&&b.name===t.type.name){var i=t.props,u=i.title,f=i.iconClass,d=i.className,p=t.props.children,y=t.props.color,h=t.props.bgColor,m="";!t.props.active||s||e.state.selected||(m="active",s=!0),l===e.state.active&&e.state.selected&&(m="active");var g={},v="";(a||y)&&(g.color=a||y),(n||h)&&(g.backgroundColor=n||h),(g.color||g.backgroundColor)&&(v=g),r.push(o.a.createElement("li",{key:"link-".concat(l),className:m},o.a.createElement("a",{href:"#tab-".concat(l),style:v,onClick:function(t){return e.active(t,l)}},f&&o.a.createElement("i",{className:f})," ".concat(u)))),c.push(o.a.createElement("div",{key:"tab-".concat(l),className:"tab ".concat(m," ").concat(d),style:v},p))}})),o.a.createElement("div",{className:"react-clean-tabs".concat(i)},o.a.createElement("ul",{className:"tab-links"},r),o.a.createElement("div",{className:"tabs-content"},c))}},{key:"render",value:function(){return this.mapRender()}}]),t}(o.a.Component),b=function(e){function t(){return i(this,t),s(this,u(t).apply(this,arguments))}return d(t,e),c(t,[{key:"render",value:function(){var e=this.props.children;return o.a.createElement("div",null,e)}}]),t}(y);y.Item=b,t.a=y},function(e){e.exports=JSON.parse('{"pricingtable":{"name":"hayyabuild/pricingtable","category":"hayyabuild","attributes":{"cleanStyle":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--clean-style","default":true},"zoomEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--zoom-effect","default":false},"opacityEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--opacity-effect","default":false},"gradientEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--gradient-effect","default":false},"shadowEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--shadow-effect","default":false},"numOfplans":{"type":"number","default":"1"},"id":{"type":"string","default":""},"classesList":{"type":"string","default":""}},"deprecated":{"attributes":{}}},"pricingtableplan":{"name":"hayyabuild/pricingtableplan","category":"hayyabuild","attributes":{"ribbonText":{"type":"string","source":"html","selector":".hayyabuild-pricingtable__plan__header__ribbon span"},"headingText":{"type":"text","source":"html","selector":".hayyabuild-pricingtable__plan__header__heading"},"planIcon":{"typr":"string","source":"attribute","selector":".hayyabuild-pricingtable__plan__header__icon > i","attribute":"class"},"priceText":{"type":"string","source":"html","selector":".hayyabuild-pricingtable__plan__header__price"},"featuredPlan":{"type":"boolean","default":false},"ribbonTextColor":{"type":"string","default":"#fff"},"ribbonBgColor":{"type":"string","default":"#0097d4"},"id":{"type":"string","default":""},"classesList":{"type":"string","default":""}},"deprecated":{"attributes":{}}}}')},function(e){e.exports=JSON.parse('{"name":"hayyabuild/button","category":"hayyabuild","attributes":{"text":{"type":"array","source":"children","selector":"span"},"title":{"type":"string","source":"attribute","selector":"a","attribute":"title"},"link":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"align":{"type":"string"},"icon":{"type":"string","source":"attribute","selector":"a i","attribute":"class"},"newTab":{"type":"boolean","source":"attribute","selector":"a","attribute":"target"},"waveEffect":{"type":"boolean","default":true},"shadowffect":{"type":"boolean","default":true},"effectType":{"type":"string","default":"light"},"size":{"type":"number","default":3},"id":{"type":"string"},"classesList":{"type":"string","default":""},"style":{"type":"object","source":"attribute","selector":"a","attribute":"style"}}}')},function(e){e.exports=JSON.parse('{"name":"hayyabuild/social","category":"hayyabuild","attributes":{"align":{"type":"string","default":""},"size":{"type":"number","default":5},"shadow":{"type":"boolean","default":false},"facebook":{"type":"string","source":"attribute","selector":"a.facebook","attribute":"href"},"twitter":{"type":"string","source":"attribute","selector":"a.twitter","attribute":"href"},"linkedin":{"type":"string","source":"attribute","selector":"a.linkedin","attribute":"href"},"youtube":{"type":"string","source":"attribute","selector":"a.youtube","attribute":"href"},"vimeo":{"type":"string","source":"attribute","selector":"a.vimeo","attribute":"href"},"instagram":{"type":"string","source":"attribute","selector":"a.instagram","attribute":"href"},"pinterest":{"type":"string","source":"attribute","selector":"a.pinterest","attribute":"href"},"flickr":{"type":"string","source":"attribute","selector":"a.flickr","attribute":"href"},"github":{"type":"string","source":"attribute","selector":"a.github","attribute":"href"},"vk":{"type":"string","source":"attribute","selector":"a.vk","attribute":"href"},"tumblr":{"type":"string","source":"attribute","selector":"a.tumblr","attribute":"href"},"id":{"type":"string"},"classesList":{"type":"string","default":""},"style":{"type":"object","source":"attribute","selector":"xx","attribute":"xx"}}}')},function(e){e.exports=JSON.parse('{"name":"hayyabuild/progressbar","category":"hayyabuild","attributes":{"align":{"type":"string","default":""},"size":{"type":"number","default":5},"id":{"type":"string"},"classesList":{"type":"string","default":""},"style":{"type":"object","source":"attribute","selector":"xx","attribute":"xx"}}}')},function(e,t,a){"use strict";1 !function(e){var t={};function a(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,a),o.l=!0,o.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)a.d(n,o,function(t){return e[t]}.bind(null,o));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=25)}([function(e,t,a){"use strict";a.r(t);var n=a(3);a(4),a(30);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){function t(){return r(this,t),i(this,c(t).apply(this,arguments))}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,React.Component),a=t,(n=[{key:"render",value:function(){var e=this.props,t=e.title,a=e.iconClass,n=e.color,o=e.children;return React.createElement("fieldset",{className:"react-fieldset",style:{color:n,borderColor:n}},React.createElement("legend",null,void 0!==a&&React.createElement("i",{className:a})," ".concat(t)),o)}}])&&l(a.prototype,n),o&&l(a,o),t}();a(32);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function p(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach((function(t){y(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function y(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?v(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var w=wp.element.Component,E=wp,_=E.i18n.__,R=E.components,x=(R.ToggleControl,R.SelectControl,R.RangeControl,R.TextControl,E.editor.InspectorControls,E.blockEditor),C=(x.RichText,x.PanelColorSettings),S=x.__experimentalPanelColorGradientSettings,O=function(e){function t(){var e;b(this,t),(e=m(this,g(t).apply(this,arguments))).options={};var a,n=e.props.value;(n&&Object.keys(n).map((function(t){e.options[t]=n[t]})),e.options.backgroundImage&&0===e.options.backgroundImage.indexOf("url"))?e.imageURL=e.options.backgroundImage.replace('url("',"").replace('")',""):e.imageURL=null!==(a=e.options.backgroundImage)&&void 0!==a?a:"";return e.selectImages=e.selectImages.bind(v(e)),e.bgColor=e.bgColor.bind(v(e)),e.setGradient=e.setGradient.bind(v(e)),e.clearImage=e.clearImage.bind(v(e)),e.setStyle=e.setStyle.bind(v(e)),e.propsChange=e.propsChange.bind(v(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(t,e),a=t,(n=[{key:"selectImages",value:function(e){var t=this;e.preventDefault();var a=wp.media.frames.file_frame=wp.media({title:_("Choose Image","hayyabuild")});a.on("select",(function(){var e=a.state().get("selection").first().toJSON();t.options.backgroundImage="url(".concat(e.url,")"),t.imageURL=e.url,t.props.onChange(t.options)})),a.open()}},{key:"setStyle",value:function(e){if(e.currentTarget){var t=e.currentTarget.id,a=e.currentTarget.value;"backgroundImage"===t&&(this.imageURL=a,a=0===a.indexOf("radial-gradient")||0===a.indexOf("linear-gradient")?e.currentTarget.value:"url(".concat(e.currentTarget.value,")")),""===a||null==a?delete this.options[t]:("backgroundSize"===t&&"stretch"===a&&(a="100% 100%"),this.options[t]=a),this.propsChange(this.options)}}},{key:"bgColor",value:function(e){""===e||null==e?delete this.options.backgroundColor:this.options.backgroundColor=e,this.propsChange(this.options)}},{key:"setGradient",value:function(e){""===e||null==e?delete this.options.backgroundImage:(this.options.backgroundImage=e,this.imageURL=e),this.propsChange(this.options)}},{key:"clearImage",value:function(e){e.preventDefault(),this.imageURL=this.options.backgroundImage=this.options.backgroundSize=this.options.backgroundRepeat="",this.propsChange(this.options)}},{key:"propsChange",value:function(e){var t={};Object.keys(e).map((function(a){e[a]&&(t[a]=e[a])})),this.props.onChange(t)}},{key:"render",value:function(){var e=this,t="100% 100%"!==this.options.backgroundSize?this.options.backgroundSize:"stretch";return React.createElement("div",{className:"hayyabuild-background"},React.createElement((function(){if("function"==typeof S){var t=S;return React.createElement(t,{title:_("Background Color","hayyabuild"),settings:[{label:_("Background Color","hayyabuild"),colorValue:e.options.backgroundColor,onColorChange:e.bgColor,gradientValue:e.options.backgroundImage&&e.options.backgroundImage.indexOf("gradient")>-1?e.options.backgroundImage:"",onGradientChange:e.setGradient}]})}return React.createElement(C,{id:"backgroundColor",title:_("Background Color","hayyabuild"),initialOpen:!1,disableAlpha:!1,colorSettings:[{label:_("Background Color","hayyabuild"),value:e.options.backgroundColor,onChange:e.bgColor}]})}),null),React.createElement("div",{className:"hb_bg_button",style:p({},this.options)},React.createElement("a",{className:"bg_button",href:"#",onClick:this.selectImages},_("Select Image","hayyabuild")),React.createElement("a",{className:"remove",href:"#",onClick:this.clearImage},"x")),React.createElement("div",{className:"background-options"},React.createElement("select",{id:"backgroundSize",value:t,onChange:this.setStyle},React.createElement("option",{value:""},_("Background size","hayyabuild")),React.createElement("option",{value:"stretch"},_("stretch","hayyabuild")),React.createElement("option",{value:"cover"},_("Cover","hayyabuild")),React.createElement("option",{value:"contain"},_("Contain","hayyabuild")),React.createElement("option",{value:"initial"},_("Initial","hayyabuild"))),React.createElement("select",{id:"backgroundRepeat",value:this.options.backgroundRepeat,onChange:this.setStyle},React.createElement("option",{value:""},_("Background repeat","hayyabuild")),React.createElement("option",{value:"repeat"},_("Repeat","hayyabuild")),React.createElement("option",{value:"repeat-x"},_("Repeat X","hayyabuild")),React.createElement("option",{value:"repeat-y"},_("Repeat Y","hayyabuild")),React.createElement("option",{value:"no-repeat"},_("No repeat","hayyabuild")))),React.createElement("label",{htmlFor:"backgroundImage",id:"label-backgroundImage"},_("Add image URL or gradient color value","hayyabuild")),React.createElement("input",{id:"backgroundImage",className:"bg_image",type:"text",value:this.imageURL,placeholder:_("Background Image","hayyabuild"),onChange:this.setStyle}))}}])&&h(a.prototype,n),o&&h(a,o),t}(w);function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I(e,t){return!t||"object"!==N(t)&&"function"!=typeof t?P(e):t}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var F=wp,z=F.i18n.__,M=F.element.Fragment,A=F.components.RangeControl,D=F.blockEditor.PanelColorSettings,q=wp.element.Component,V=["padding","paddingRight","paddingTop","paddingLeft","paddingBottom","margin","marginRight","marginTop","marginLeft","marginBottom","borderWidth","borderRightWidth","borderTopWidth","borderLeftWidth","borderBottomWidth","borderColor","borderStyle","borderRadius","fontSize","color","opacity","backgroundColor","backgroundImage","backgroundRepeat","backgroundSize"],U=function(e){function t(){var e;H(this,t),(e=I(this,B(t).apply(this,arguments))).options={},e.background={};var a=e.getValue(),n=e.styleToObject(a),o={backgroundColor:!0,backgroundImage:!0,backgroundRepeat:!0,backgroundSize:!0};return n&&Object.keys(n).map((function(t){e.options[t]=n[t],o[t]&&(e.background[t]=n[t])})),e.units={marginUnit:e.getUnit(e.options.marginTop)||"px",paddingUnit:e.getUnit(e.options.paddingTop)||"px",radiusUnit:e.getUnit(e.options.borderRadius)||"px",fontSizeUnit:e.getUnit(e.options.fontSize)||"px"},e.options.borderBottomWidth||e.options.borderLeftWidth||e.options.borderRightWidth||e.options.borderTopWidth?e.border=!0:e.border=!1,e.setOption=e.setOption.bind(P(e)),e.bgChange=e.bgChange.bind(P(e)),e.onEvent=e.onEvent.bind(P(e)),e.propsChange=e.propsChange.bind(P(e)),e.changeUnit=e.changeUnit.bind(P(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}(t,e),a=t,(n=[{key:"setOption",value:function(e,t){""===e||null==e?delete this.options[t]:this.options[t]=e,this.options.borderBottomWidth||this.options.borderLeftWidth||this.options.borderRightWidth||this.options.borderTopWidth?this.border=!0:(delete this.options.borderStyle,delete this.options.borderColor,this.border=!1),this.propsChange()}},{key:"onEvent",value:function(e){var t=e.currentTarget.value,a=e.currentTarget.id;this.setOption(t,a)}},{key:"bgChange",value:function(e){var t=this;e&&(Object.keys({backgroundColor:!0,backgroundImage:!0,backgroundRepeat:!0,backgroundSize:!0}).map((function(e){delete t.options[e]})),Object.keys(e).map((function(a){e[a]?t.options[a]=e[a]:delete t.options[a]}))),this.propsChange()}},{key:"propsChange",value:function(){var e=this,t=this.options,a={};Object.keys(t).map((function(n){""!==t[n]&&null!==t[n]&&void 0!==t[n]&&(a[n]=t[n],e.removeUnit(t[n])&&(n.indexOf("margin")>-1?a[n]=e.removeUnit(t[n])+e.units.marginUnit:n.indexOf("padding")>-1?a[n]=e.removeUnit(t[n])+e.units.paddingUnit:n.indexOf("radius")>-1?a[n]=e.removeUnit(t[n])+e.units.radiusUnit:n.indexOf("fontSize")>-1?a[n]=e.removeUnit(t[n])+e.units.fontSizeUnit:n.indexOf("border")>-1&&"borderColor"!==n&&(a[n]=e.removeUnit(t[n])+"px")))}));var n=document.getElementById("hayyabuild_inline_style"),o=n.value,r={};if(o&&"null"!==o)try{r=JSON.parse(o)}catch(e){return console.log("ERRoR1: cona`t parse tyle:",e),!1}this.props.elementID&&this.props.elementStyle&&(r[this.props.elementID]={element:this.props.elementStyle,style:this.styleToString(a)},n.value=JSON.stringify(r),this.setState({justUpdate:"id"}))}},{key:"getValue",value:function(){var e,t=document.getElementById("hayyabuild_inline_style");if(!t.value)return"";try{e=JSON.parse(t.value)}catch(e){return console.log("ERRoR2: cona`t parse tyle:",e),!1}var a=this.props.elementID&&e?e[this.props.elementID]:{};return a&&"string"==typeof a.style?a.style:{}}},{key:"addUnit",value:function(e,t){return(e=parseFloat(e))&&"NaN"!==e?e+t:""}},{key:"getUnit",value:function(e){return e&&e.replace?e.replace(/\d+|^\s+|\s+$/g,"").replace(/\./g,""):""}},{key:"removeUnit",value:function(e){if(e){var t=parseFloat(e);return"undefined"!==t?t:""}}},{key:"changeUnit",value:function(e){this.units[e.currentTarget.id]=e.currentTarget.value,this.propsChange()}},{key:"unitsHTML",value:function(e,t){return React.createElement("select",{id:e,className:"unit",value:this.getUnit(t),onChange:this.changeUnit},React.createElement("option",{value:"px"},"px"),React.createElement("option",{value:"em"},"em"),React.createElement("option",{value:"rem"},"rem"),"fontSizeUnit"!==e&&React.createElement(M,null,React.createElement("option",{value:"%"},"%")))}},{key:"styleToObject",value:function(e){if(e){if("object"===N(e))return e;var t={},a=document.createElement("I");a.setAttribute("style",e);var n=a.style;return a.remove(),V.forEach((function(e){e&&n[e]&&(t[e]=n[e])})),t}}},{key:"styleToString",value:function(e){var t,a=document.createElement("I");return Object.keys(e).map((function(t){a.style[t]=e[t]})),t=a.getAttribute("style"),a.remove(),t}},{key:"render",value:function(){var e=this,t=this.options,a=t.marginTop,n=t.borderStyle,o=t.marginRight,r=t.marginBottom,l=t.marginLeft,i=t.borderTopWidth,c=t.borderRightWidth,s=t.borderBottomWidth,f=t.borderLeftWidth,d=t.paddingTop,p=t.paddingRight,y=t.paddingBottom,b=t.paddingLeft,h=this.options,m=h.borderColor,g=h.borderRadius,v=h.fontSize,k=h.color,w=h.opacity,E=this.units,_=E.marginUnit,R=E.paddingUnit,x=E.radiusUnit,C=E.fontSizeUnit;return React.createElement("div",{className:"hayyabuild-styles"},React.createElement("div",null,React.createElement(u,{key:"layoutoptions",title:z("Layout options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement("div",{className:"layout"},React.createElement("div",{className:"margin"},React.createElement("label",{htmlFor:"marginTop"},z("Margin","hayyabuild")),React.createElement("input",{id:"marginTop",min:"-1000",max:"1000",type:"number",className:"margin_top",value:this.removeUnit(a),onChange:this.onEvent}),this.unitsHTML("marginUnit",_),React.createElement("input",{id:"marginRight",min:"-1000",max:"1000",type:"number",className:"margin_right",value:this.removeUnit(o),onChange:this.onEvent}),React.createElement("input",{id:"marginBottom",min:"-1000",max:"1000",type:"number",className:"margin_bottom",value:this.removeUnit(r),onChange:this.onEvent}),React.createElement("input",{id:"marginLeft",min:"-1000",max:"1000",type:"number",className:"margin_left",value:this.removeUnit(l),onChange:this.onEvent}),React.createElement("div",{className:"border"},React.createElement("label",{htmlFor:"borderTopWidth"},z("Border","hayyabuild")),React.createElement("input",{id:"borderTopWidth",min:"0",max:"20",type:"number",className:"border_top_width",value:this.removeUnit(i),onChange:this.onEvent}),React.createElement("span",{className:"unit"},"PX"),React.createElement("input",{id:"borderRightWidth",min:"0",max:"20",type:"number",className:"border_right_width",value:this.removeUnit(c),onChange:this.onEvent}),React.createElement("input",{id:"borderBottomWidth",min:"0",max:"20",type:"number",className:"border_bottom_width",value:this.removeUnit(s),onChange:this.onEvent}),React.createElement("input",{id:"borderLeftWidth",min:"0",max:"20",type:"number",className:"border_left_width",value:this.removeUnit(f),onChange:this.onEvent}),React.createElement("div",{className:"padding"},React.createElement("label",{htmlFor:"paddingTop"},z("Padding","hayyabuild")),React.createElement("input",{id:"paddingTop",min:"0",max:"1000",type:"number",className:"padding_top",value:this.removeUnit(d),onChange:this.onEvent}),this.unitsHTML("paddingUnit",R),React.createElement("input",{id:"paddingRight",min:"0",max:"1000",type:"number",className:"padding_right",value:this.removeUnit(p),onChange:this.onEvent}),React.createElement("input",{id:"paddingBottom",min:"0",max:"1000",type:"number",className:"padding_bottom",value:this.removeUnit(y),onChange:this.onEvent}),React.createElement("input",{id:"paddingLeft",min:"0",max:"1000",type:"number",className:"padding_left",value:this.removeUnit(b),onChange:this.onEvent}),React.createElement("div",{className:"content"})))))),React.createElement(u,{key:"borderoptions",title:z("Border options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(A,{label:z("Border radius","hayyabuild"),id:"fontSize",className:"with_unit",value:this.removeUnit(g),onChange:function(t){return e.setOption(t,"borderRadius")},min:0,max:100}),React.createElement("div",{className:"unit_container for_range"},this.unitsHTML("radiusUnit",x)),this.border&&React.createElement("div",null,React.createElement(D,{id:"borderColor",title:z("Border color","hayyabuild"),initialOpen:!1,disableAlpha:!1,colorSettings:[{label:z("Border Color","hayyabuild"),value:m,onChange:function(t){return e.setOption(t,"borderColor")}}]}),React.createElement("select",{id:"borderStyle",value:n,onChange:this.onEvent},React.createElement("option",{value:""},z("Border style","hayyabuild")),React.createElement("option",{value:"solid"},z("Solid","hayyabuild")),React.createElement("option",{value:"dashed"},z("Dashed","hayyabuild")),React.createElement("option",{value:"dotted"},z("Dotted","hayyabuild")),React.createElement("option",{value:"double"},z("Double","hayyabuild")),React.createElement("option",{value:"groove"},z("Groove","hayyabuild")),React.createElement("option",{value:"ridge"},z("Ridge","hayyabuild")))))),React.createElement("div",null,React.createElement(u,{key:"fontoptions",title:z("Font options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(A,{label:z("Font size","hayyabuild"),id:"fontSize",className:"with_unit",value:this.removeUnit(v),onChange:function(t){return e.setOption(t,"fontSize")},min:0,max:100}),React.createElement("div",{className:"unit_container for_range"},this.unitsHTML("fontSizeUnit",C)),React.createElement(D,{id:"fontColor",title:z("Text color","hayyabuild"),initialOpen:!1,colorSettings:[{label:z("Text Color","hayyabuild"),value:k,onChange:function(t){return e.setOption(t,"color")}}]})),React.createElement(u,{key:"Opacity",title:z("Opacity","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(A,{label:z("Opacity","hayyabuild"),id:"opacity",value:w,onChange:function(t){return e.setOption(t,"opacity")},min:0,max:1,step:.01})),React.createElement(u,{key:"backgroundoptions",title:z("Background options","hayyabuild"),iconClass:"fa fa-search-plus"},React.createElement(O,{value:this.background,onChange:function(t){return e.bgChange(t)}}))))}}])&&T(a.prototype,n),o&&T(a,o),t}(q);function W(e){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $(e,t){return!t||"object"!==W(t)&&"function"!=typeof t?Z(e):t}function Q(e){return(Q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Z(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y(e,t){return(Y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var J=wp,X=J.i18n.__,ee=J.components.RangeControl,te={visibility:X("Visibility Options","hayyabuild"),scroll:X("Scrollin Options","hayyabuild"),hover:X("Hovering Options","hayyabuild"),other:X("Other Options","hayyabuild")},ae={visibility:{SM:{visibleSM:["hb-visible-sm",X("Visible on small screen","hayyabuild")],hiddenSM:["hb-hidden-sm",X("Hidden on small screen","hayyabuild")]},MD:{visibleMD:["hb-visible-md",X("Visible on medium screen","hayyabuild")],hiddenMD:["hb-hidden-md",X("Hidden on medium screen","hayyabuild")]},LG:{visibleLG:["hb-visible-lg",X("Visible on large screen","hayyabuild")],hiddenLG:["hb-hidden-lg",X("Hidden on large screen","hayyabuild")]},XLG:{visibleXLG:["hb-visible-xlg",X("Visible on extra large screen","hayyabuild")],hiddenXLG:["hb-hidden-xlg",X("Hidden on extra large screen","hayyabuild")]}},scroll:{scale:{scaleIn:["hb-scale-in",X("Scale in","hayyabuild")],scaleOut:["hb-scale-out",X("Scale out","hayyabuild")]},slideX:{slideRight:["hb-slide-left",X("Slide left","hayyabuild")],slideLeft:["hb-slide-right",X("Slide right","hayyabuild")]},slideY:{slideUp:["hb-slide-up",X("Slide up","hayyabuild")],slideDown:["hb-slide-down",X("Slide down","hayyabuild")]},fade:{fadeIn:["hb-fade-in",X("Fade in","hayyabuild")],fadeOut:["hb-fade-out",X("Fade out","hayyabuild")]},rotation:{rightRotation:["hb-left-rotation",X("Left rotation","hayyabuild")],leftRotation:["hb-right-rotation",X("Right rotation","hayyabuild")]},uprotation:{upRotation:["hb-up-rotation",X("Up rotation","hayyabuild")],downRotation:["hb-down-rotation",X("Down rotation","hayyabuild")]},parallax:{fixedBackground:["hb-fixed-bg",X("Fixed background","hayyabuild")],parallaxUp:["hb-parallax-up",X('Parallax background "Up"',"hayyabuild")],parallaxDown:["hb-parallax-down",X('Parallax background "DWON"',"hayyabuild")]}},hover:{zoom:{zoomBgIn:["hb-hover-bg-zoomin",X("Background Zoom-in","hayyabuild")],zoomBgOut:["hb-hover-bg-zoomout",X("Background Zoom-out","hayyabuild")]},shadow:{boxShadow:["hb-hover-shadow",X("Draw Shadow","hayyabuild")]},scale:{hoveScaleIn:["hb-hover-scalein",X("Scale in","hayyabuild")],hoveScaleOut:["hb-hover-scaleout",X("Scale out","hayyabuild")]},visibility:{opacityInc:["hb-hover-visibility-inc",X("Increase visibility","hayyabuild")],opacityDec:["hb-hover-visibility-dec",X("Reduction visibility","hayyabuild")]}},other:{align:{textLeft:["text-left",X("Align left","hayyabuild")],textRight:["text-right",X("Align right","hayyabuild")],textCenter:["text-center",X("Align center","hayyabuild")],textJustify:["text-justify",X("Align justify","hayyabuild")]},sizeAlign:{centerSM:["center-sm",X("Align content to center on small device","hayyabuild")],centerMD:["center-md",X("Align content to center on medium device","hayyabuild")],centerLG:["center-lg",X("Align content to center on large device","hayyabuild")]}}},ne={};Object.keys(ae).map((function(e){Object.keys(ae[e]).map((function(t){Object.keys(ae[e][t]).map((function(a){ne[a]=ae[e][t][a][0]}))}))}));var oe=function(e){function t(){var e;if(K(this,t),(e=$(this,Q(t).apply(this,arguments))).options={lite:e.props.lite},Object.keys(ne).map((function(t){e.props.value&&(e.options[t]=e.props.value.indexOf(ne[t])>-1)})),e.props.value&&"string"==typeof e.props.value){var a=e.props.value.split(" ");a&&"function"==typeof a.map&&a.map((function(t){t.indexOf("hb-scroll_duration_")>-1?e.options.scrollDuration=parseInt(t.replace("hb-scroll_duration_","")):t.indexOf("hb-scroll_easing_")>-1&&(e.options.scrollEasing=t.replace("hb-scroll_easing_",""))}))}return e.setClasses=e.setClasses.bind(Z(e)),e.onChangeToggle=e.onChangeToggle.bind(Z(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y(e,t)}(t,e),a=t,(n=[{key:"setClasses",value:function(){var e=this,t=[];Object.keys(this.options).map((function(a){!0===e.options[a]&&t.push(ne[a])})),void 0!==this.options.scrollDuration&&70!==this.options.scrollDuration&&t.push("hb-scroll_duration_"+this.options.scrollDuration),this.options.scrollEasing&&t.push("hb-scroll_easing_"+this.options.scrollEasing),this.props.onChange(t)}},{key:"onChangeToggle",value:function(e){var t=this;if("undefined"!==e){if("number"==typeof e){var a=100*(e/100).toFixed(2);this.options.scrollDuration=a}else{var n=e.currentTarget,o=n.id,r=e.currentTarget.value,l=n.checked,i=n.attributes.classgroup.value;ne[o]?(this.options[o]=l,Object.keys(ae[i]).map((function(e){"sizeAlign"!==e&&ae[i][e][o]&&Object.keys(ae[i][e]).map((function(e){o!==e&&(t.options[e]=!1)}))}))):"scrollEasing"===o&&"undefined"!==r&&(this.options.scrollEasing=r)}this.setClasses()}}},{key:"scrollOptions",value:function(){var e=this.options,t=e.scrollDuration,a=e.scrollEasing;return React.createElement("div",{className:"scroll-options"},React.createElement(ee,{label:X("Scroll duration","hayyabuild"),id:"scrollDuration",className:"scroll_duration",classgroup:"scroll",value:t||70,onChange:this.onChangeToggle,min:0,max:100,step:5}),React.createElement("select",{id:"scrollEasing",value:a,classgroup:"scroll",onChange:this.onChangeToggle},React.createElement("option",{value:""},X("Select Easing","hayyabuild")),React.createElement("option",{value:"ease"},"ease"),React.createElement("option",{value:"linear"},"linear"),React.createElement("option",{value:"ease-in"},"ease-in"),React.createElement("option",{value:"ease-out"},"ease-out"),React.createElement("option",{value:"ease-in-out"},"ease-in-out"),React.createElement("option",{value:"easeInQuad"},"easeInQuad"),React.createElement("option",{value:"easeInCubic"},"easeInCubic"),React.createElement("option",{value:"easeInQuart"},"easeInQuart"),React.createElement("option",{value:"easeInQuint"},"easeInQuint"),React.createElement("option",{value:"easeInSine"},"easeInSine"),React.createElement("option",{value:"easeInExpo"},"easeInExpo"),React.createElement("option",{value:"easeInCirc"},"easeInCirc"),React.createElement("option",{value:"easeInBack"},"easeInBack"),React.createElement("option",{value:"easeOutQuad"},"easeOutQuad"),React.createElement("option",{value:"easeOutCubic"},"easeOutCubic"),React.createElement("option",{value:"easeOutQuart"},"easeOutQuart"),React.createElement("option",{value:"easeOutQuint"},"easeOutQuint"),React.createElement("option",{value:"easeOutSine"},"easeOutSine"),React.createElement("option",{value:"easeOutExpo"},"easeOutExpo"),React.createElement("option",{value:"easeOutCirc"},"easeOutCirc"),React.createElement("option",{value:"easeOutBack"},"easeOutBack"),React.createElement("option",{value:"easeInOutQuad"},"easeInOutQuad"),React.createElement("option",{value:"easeInOutCubic"},"easeInOutCubic"),React.createElement("option",{value:"easeInOutQuart"},"easeInOutQuart"),React.createElement("option",{value:"easeInOutQuint"},"easeInOutQuint"),React.createElement("option",{value:"easeInOutSine"},"easeInOutSine"),React.createElement("option",{value:"easeInOutExpo"},"easeInOutExpo"),React.createElement("option",{value:"easeInOutCirc"},"easeInOutCirc"),React.createElement("option",{value:"easeInOutBack"},"easeInOutBack")))}},{key:"render",value:function(){var e=this,t=this.props.lite;return Math.floor(999*Math.random()+111),React.createElement("div",{className:"hayyabuild-classes"},Object.keys(ae).map((function(a){return React.createElement(u,{key:a,title:te[a],iconClass:"fa fa-search-plus"},"visibility"===a||"other"===a||!0===t.scroll&&"scroll"===a||!0===t.hover&&"hover"===a?React.createElement("div",null,"scroll"===a&&e.scrollOptions(),Object.keys(ae[a]).map((function(t){var n=ae[a][t];return Object.keys(n).map((function(t){var o=n[t];return React.createElement("div",{key:"div-".concat(t),className:"options-checkbox"},React.createElement("input",{key:t,id:t,name:t,type:"checkbox",classgroup:a,checked:!!e.options[t],onChange:e.onChangeToggle}),React.createElement("label",{key:"label-".concat(t),htmlFor:t},o[1]))}))}))):React.createElement(gt.getPro,{list:!0}))})))}}])&&G(a.prototype,n),o&&G(a,o),t}(wp.element.Component);a(34);function re(e){return(re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ce(e,t){return!t||"object"!==re(t)&&"function"!=typeof t?ue(e):t}function se(e){return(se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ue(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fe(e,t){return(fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var de=wp.i18n.__,pe=wp.element,ye=pe.Fragment,be=function(e){function t(){var e;return le(this,t),(e=ce(this,se(t).apply(this,arguments))).options={classesList:e.props.value.classesList,inlineStyle:e.props.value.inlineStyle},void 0===e.props.lite?e.options.lite={style:!1,scroll:!1,hover:!1}:e.options.lite={style:e.props.lite.style||!1,scroll:e.props.lite.scroll||!1,hover:e.props.lite.hover||!1},e.setValue=e.setValue.bind(ue(e)),e}var a,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fe(e,t)}(t,e),a=t,(o=[{key:"setValue",value:function(){for(var e=this.options.classesList||[],t=0,a=["hb-scale-in","hb-scale-out","hb-slide-right","hb-slide-left","hb-slide-up","hb-slide-down","hb-fade-in","hb-fade-out","hb-right-rotation","hb-left-rotation","hb-up-rotation","hb-down-rotation","hb-fixed-bg","hb-parallax-up","hb-parallax-down"];t<a.length;t++){var n=a[t];if(e.indexOf(n)>-1){this.options.classesList.push("hayya-scrolleffects");break}}var o={classesList:e.join(" "),inlineStyle:this.options.inlineStyle};this.props.onChange(o)}},{key:"render",value:function(){var e=this,t=this.options,a=t.classesList,o=(t.inlineStyle,t.lite);return React.createElement(ye,null,React.createElement(n.a,{title:de("Options","hayyabuild"),iconClass:"fa fa-cogs",appendTo:"editor",onOpen:gt.optionsModalOpened,onClose:gt.optionsModalClosed},React.createElement(oe,{value:a,onChange:function(t){e.options.classesList=t,e.setValue()},lite:o})),void 0!==this.options.inlineStyle&&React.createElement(ye,null,!0===o.style?React.createElement(n.a,{title:de("Style","hayyabuild"),iconClass:"fa fa-paint-brush",appendTo:"editor",onOpen:gt.optionsModalOpened,onClose:gt.optionsModalClosed},React.createElement("div",null,React.createElement(U,{elementStyle:this.props.elementStyle,elementID:this.props.elementID}))):""))}}])&&ie(a.prototype,o),r&&ie(a,r),t}(pe.Component),he=a(11),me=a.n(he);function ge(e){return(ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ve(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function ke(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function we(e,t){var a=e["page".concat(t?"Y":"X","Offset")],n="scroll".concat(t?"Top":"Left");if("number"!=typeof a){var o=e.document;"number"!=typeof(a=o.documentElement[n])&&(a=o.body[n])}return a}function Ee(e){return we(e)}function _e(e){return we(e,!0)}function Re(e){var t=function(e){var t,a,n,o=e.ownerDocument,r=o.body,l=o&&o.documentElement;return a=(t=e.getBoundingClientRect()).left,n=t.top,{left:a-=l.clientLeft||r.clientLeft||0,top:n-=l.clientTop||r.clientTop||0}}(e),a=e.ownerDocument,n=a.defaultView||a.parentWindow;return t.left+=Ee(n),t.top+=_e(n),t}var xe,Ce=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),Se=/^(top|right|bottom|left)$/;function Oe(e,t){for(var a=0;a<e.length;a++)t(e[a])}function Le(e){return"border-box"===xe(e,"boxSizing")}"undefined"!=typeof window&&(xe=window.getComputedStyle?function(e,t,a){var n="",o=e.ownerDocument,r=a||o.defaultView.getComputedStyle(e,null);return r&&(n=r.getPropertyValue(t)||r[t]),n}:function(e,t){var a=e.currentStyle&&e.currentStyle[t];if(Ce.test(a)&&!Se.test(t)){var n=e.style,o=n.left,r=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left,n.left="fontSize"===t?"1em":a||0,a=n.pixelLeft+"px",n.left=o,e.runtimeStyle.left=r}return""===a?"auto":a});var Ne=["margin","border","padding"];function He(e,t,a){var n,o={},r=e.style;for(n in t)t.hasOwnProperty(n)&&(o[n]=r[n],r[n]=t[n]);for(n in a.call(e),t)t.hasOwnProperty(n)&&(r[n]=o[n])}function Te(e,t,a){var n,o,r,l=0;for(o=0;o<t.length;o++)if(n=t[o])for(r=0;r<a.length;r++){var i=void 0;i="border"===n?"".concat(n+a[r],"Width"):n+a[r],l+=parseFloat(xe(e,i))||0}return l}function Ie(e){return null!=e&&e==e.window}var Be={};function Pe(e,t,a){if(Ie(e))return"width"===t?Be.viewportWidth(e):Be.viewportHeight(e);if(9===e.nodeType)return"width"===t?Be.docWidth(e):Be.docHeight(e);var n="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,r=(xe(e),Le(e)),l=0;(null==o||o<=0)&&(o=void 0,(null==(l=xe(e,t))||Number(l)<0)&&(l=e.style[t]||0),l=parseFloat(l)||0),void 0===a&&(a=r?1:-1);var i=void 0!==o||r,c=o||l;if(-1===a)return i?c-Te(e,["border","padding"],n):l;if(i){var s=2===a?-Te(e,["border"],n):Te(e,["margin"],n);return c+(1===a?0:s)}return l+Te(e,Ne.slice(a),n)}Oe(["Width","Height"],(function(e){Be["doc".concat(e)]=function(t){var a=t.document;return Math.max(a.documentElement["scroll".concat(e)],a.body["scroll".concat(e)],Be["viewport".concat(e)](a))},Be["viewport".concat(e)]=function(t){var a="client".concat(e),n=t.document,o=n.body,r=n.documentElement[a];return"CSS1Compat"===n.compatMode&&r||o&&o[a]||r}}));var je={position:"absolute",visibility:"hidden",display:"block"};function Fe(e){var t,a=arguments;return 0!==e.offsetWidth?t=Pe.apply(void 0,a):He(e,je,(function(){t=Pe.apply(void 0,a)})),t}function ze(e,t,a){var n=a;if("object"!==ge(t))return void 0!==n?("number"==typeof n&&(n+="px"),void(e.style[t]=n)):xe(e,t);for(var o in t)t.hasOwnProperty(o)&&ze(e,o,t[o])}Oe(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);Be["outer".concat(t)]=function(t,a){return t&&Fe(t,e,a?0:1)};var a="width"===e?["Left","Right"]:["Top","Bottom"];Be[e]=function(t,n){if(void 0===n)return t&&Fe(t,e,-1);if(t){xe(t);return Le(t)&&(n+=Te(t,["padding","border"],a)),ze(t,e,n)}}}));var Me=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ke(a,!0).forEach((function(t){ve(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ke(a).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return Re(e);!function(e,t){"static"===ze(e,"position")&&(e.style.position="relative");var a,n,o=Re(e),r={};for(n in t)t.hasOwnProperty(n)&&(a=parseFloat(ze(e,n))||0,r[n]=a+t[n]-o[n]);ze(e,r)}(e,t)},isWindow:Ie,each:Oe,css:ze,clone:function(e){var t={};for(var a in e)e.hasOwnProperty(a)&&(t[a]=e[a]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(Ie(e)){if(void 0===t)return Ee(e);window.scrollTo(t,_e(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(Ie(e)){if(void 0===t)return _e(e);window.scrollTo(Ee(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},Be);var Ae=function(e,t,a){a=a||{},9===t.nodeType&&(t=Me.getWindow(t));var n=a.allowHorizontalScroll,o=a.onlyScrollIfNeeded,r=a.alignWithTop,l=a.alignWithLeft,i=a.offsetTop||0,c=a.offsetLeft||0,s=a.offsetBottom||0,u=a.offsetRight||0;n=void 0===n||n;var f,d,p,y,b,h,m,g,v,k,w=Me.isWindow(t),E=Me.offset(e),_=Me.outerHeight(e),R=Me.outerWidth(e);w?(m=t,k=Me.height(m),v=Me.width(m),g={left:Me.scrollLeft(m),top:Me.scrollTop(m)},b={left:E.left-g.left-c,top:E.top-g.top-i},h={left:E.left+R-(g.left+v)+u,top:E.top+_-(g.top+k)+s},y=g):(f=Me.offset(t),d=t.clientHeight,p=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},b={left:E.left-(f.left+(parseFloat(Me.css(t,"borderLeftWidth"))||0))-c,top:E.top-(f.top+(parseFloat(Me.css(t,"borderTopWidth"))||0))-i},h={left:E.left+R-(f.left+p+(parseFloat(Me.css(t,"borderRightWidth"))||0))+u,top:E.top+_-(f.top+d+(parseFloat(Me.css(t,"borderBottomWidth"))||0))+s}),b.top<0||h.top>0?!0===r?Me.scrollTop(t,y.top+b.top):!1===r?Me.scrollTop(t,y.top+h.top):b.top<0?Me.scrollTop(t,y.top+b.top):Me.scrollTop(t,y.top+h.top):o||((r=void 0===r||!!r)?Me.scrollTop(t,y.top+b.top):Me.scrollTop(t,y.top+h.top)),n&&(b.left<0||h.left>0?!0===l?Me.scrollLeft(t,y.left+b.left):!1===l?Me.scrollLeft(t,y.left+h.left):b.left<0?Me.scrollLeft(t,y.left+b.left):Me.scrollLeft(t,y.left+h.left):o||((l=void 0===l||!!l)?Me.scrollLeft(t,y.left+b.left):Me.scrollLeft(t,y.left+h.left)))};a(38);function De(e,t,a,n,o,r,l){try{var i=e[r](l),c=i.value}catch(e){return void a(e)}i.done?t(c):Promise.resolve(c).then(n,o)}function qe(e){return(qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function We(e,t){return!t||"object"!==qe(t)&&"function"!=typeof t?Ge(e):t}function Ke(e){return(Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ge(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $e(e,t){return($e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Qe=wp,Ze=Qe.i18n.__,Ye=Qe.element.Fragment,Je=Qe.components,Xe=(Je.PanelBody,Je.ToggleControl),et=Je.RangeControl,tt=(Je.SelectControl,Je.TextareaControl),at=(Qe.editor.AlignmentToolbar,Qe.blockEditor),nt=at.ColorPalette,ot=(at.InspectorControls,Qe.blockEditor.InnerBlocks,function(e){function t(){var e;return Ve(this,t),(e=We(this,Ke(t).apply(this,arguments))).state={id:e.props.id,zoom:e.props.zoom,latitude:e.props.latitude,longitude:e.props.longitude,markers:e.props.markers,isChanged:!1,isfullScreen:!1,eventListener:!1},e.editMarkerRef=React.createRef(),e.containerRef=React.createRef(),e.mapRef=React.createRef(),e.loadingContainerRef=React.createRef(),e.fullScreen=e.fullScreen.bind(Ge(e)),e.loadMap=e.loadMap.bind(Ge(e)),e.saveMap=e.saveMap.bind(Ge(e)),e.addMarker=e.addMarker.bind(Ge(e)),e.updateMap=e.updateMap.bind(Ge(e)),e.markerIcon=e.markerIcon.bind(Ge(e)),e.editMarker=e.editMarker.bind(Ge(e)),e.closeEditor=e.closeEditor.bind(Ge(e)),e.saveChanges=e.saveChanges.bind(Ge(e)),e.removeMarker=e.removeMarker.bind(Ge(e)),e.markerChange=e.markerChange.bind(Ge(e)),e.markerDragged=e.markerDragged.bind(Ge(e)),e.createMapProps=e.createMapProps.bind(Ge(e)),e}var a,n,o,r,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$e(e,t)}(t,React.Component),a=t,(n=[{key:"componentDidMount",value:function(){var e=this.props.clientId;this.extentNode=document.querySelector('[data-block="'+e+'"]'),this.scrollContainer=wp.dom.getScrollContainer(this.extentNode),this.createMapProps()}},{key:"componentDidUpdate",value:function(){this.loadMap()}},{key:"fullScreen",value:function(){var e=this;Element.prototype.requestFullscreen||(Element.prototype.requestFullscreen=Element.prototype.mozRequestFullscreen||Element.prototype.webkitRequestFullscreen||Element.prototype.msRequestFullscreen),document.exitFullscreen||(document.exitFullscreen=document.mozExitFullscreen||document.webkitExitFullscreen||document.msExitFullscreen);var t=this.containerRef.current,a=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement};return this.state.eventListener||(t.addEventListener("fullscreenchange",(function(){a()?(t.parentElement.classList.add("fullScreen-activated"),e.scrollContainer.style.overflow="hidden",Ae(e.extentNode,e.scrollContainer,{offsetTop:-300,alignWithLeft:!0,alignWithTop:!0})):(t.parentElement.classList.remove("fullScreen-activated"),e.scrollContainer.style.overflow=null)})),this.setState({eventListener:!0})),new Promise((function(e,n){a()?document.exitFullscreen&&document.exitFullscreen():t.requestFullscreen&&t.requestFullscreen()}))}},{key:"componentWillUnmount",value:function(){}},{key:"createMapProps",value:function(){var e=this.props.attrs,t=e.id,a=e.zoom,n=e.latitude,o=e.longitude,r=e.markers;if(t&&n&&o&&a){"object"!==qe(window.HayyaBuild.openstreetmap)&&(window.HayyaBuild.openstreetmap={},window.HayyaBuild.openstreetmap.list={});var l=window.HayyaBuild.openstreetmap[t];l||((l=document.createElement("div")).innerHTML=r,l.setAttribute("data-zoom",a),l.setAttribute("data-latitude",n),l.setAttribute("data-longitude",o));var i=l.querySelectorAll(".hayyabuild-map-marker");i&&i.forEach((function(e,t){e.setAttribute("data-key","mark-".concat(t))})),window.HayyaBuild.openstreetmap[t]=l,this.loadMap()}}},{key:"loadMap",value:function(){var e=this;try{window.HayyaBuild.openstreetmap}catch(e){return void console.log("HayyaBuild Map ERROR01")}var t=this.props.attrs,a=t.id,n=this.mapRef.current;if(a&&t&&n){var o,r=!0;if(window.HayyaBuild.openstreetmap.list[a]?(r=!1,o=window.HayyaBuild.openstreetmap.list[a]):(o=new L.map(n,{scrollWheelZoom:!1}),window.HayyaBuild.openstreetmap.list[a]=o),o){o.invalidateSize();var l=window.HayyaBuild.openstreetmap[a],i=l.dataset.latitude,c=l.dataset.longitude,s=l.dataset.zoom,u=t.style,f=t.customstyle,d="customstyle"===u?f:{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"}[u];o.eachLayer((function(e){return o.removeLayer(e)}));var p=l.querySelectorAll(".hayyabuild-map-marker");p&&p.forEach((function(t,a){t.setAttribute("data-key","key-".concat(a));var n=t.dataset.lat||0,r=t.dataset.lng||0,l=t.dataset.icon||"",i=t.dataset.markercolor||"#00A4FF",c=t.dataset.markersize||"3",s=(t.dataset.openpopup,t.dataset.type||"icon1"),u=t.innerHTML||"<br/>",f=me.a.renderToStaticMarkup(e.markerIcon({icon:s,color:i,clickEvent:!1})),d=L.divIcon({className:"hayyabuild-map__marker hayyabuild-map__marker_".concat(a+1," hayyabuild-map__marker--size-").concat(c," ").concat(l),iconSize:[15*c,24*c],iconAnchor:[7*c,24*c],popupAnchor:[0,-24*c],html:f}),p=L.layerGroup().addTo(o),y=L.marker([n,r],{icon:d,draggable:!0}).addTo(p);y.on("dragend",(function(t){e.markerDragged(t,"key-".concat(a))})),y.bindPopup(u).on("popupopen",(function(){return e.editMarker("key-".concat(a),"opened")}))})),o.on("load",(function(e){p&&p.forEach((function(t,a){var n=t.dataset.markercolor||"#00A4FF",o=e.target._container.querySelector(".hayyabuild-map__marker_".concat(a+1));o&&"object"===qe(o.style)&&(o.style.color=n)}))})),r&&o.setView([i,c],s),d&&L.tileLayer(d,{minZoom:1,maxZoom:20}).addTo(o),o.on("zoomend",(function(t){e.updateMap(t)})),o.on("move",(function(t){e.updateMap(t)}))}}}},{key:"updateMap",value:function(e){var t=this.props.attrs.id,a=window.HayyaBuild.openstreetmap[t];if(!a)return!1;if("zoomend"===e.type)a.setAttribute("data-zoom",e.target._animateToZoom);else if("click"===e.type);else if("move"===e.type){var n=e.target.getCenter();a.setAttribute("data-latitude",n.lat.toFixed(6)),a.setAttribute("data-longitude",n.lng.toFixed(6))}"zoomend"!==e.type&&"move"!==e.type||this.state.isChanged||this.setState({isChanged:!0})}},{key:"saveChanges",value:function(){var e=this.props.attrs.id,t=window.HayyaBuild.openstreetmap[e];if(!e||!t)return!1;var a=t.dataset.latitude,n=t.dataset.longitude,o=t.dataset.zoom,r=t.innerHTML;return this.props.onChange({latitude:a,longitude:n,zoom:o,markers:r})}},{key:"markerDragged",value:function(e,t){var a=this.props.attrs.id,n=window.HayyaBuild.openstreetmap[a].querySelector('[data-key="'.concat(t,'"]')),o=e.target._latlng.lat.toFixed(6),r=e.target._latlng.lng.toFixed(6);n.setAttribute("data-lat",o),n.setAttribute("data-lng",r),this.setState({isChanged:!0})}},{key:"addMarker",value:function(){var e=this.props.attrs.id,t=window.HayyaBuild.openstreetmap[e],a=window.HayyaBuild.openstreetmap.list[e],n=a.getCenter().lat.toFixed(6),o=a.getCenter().lng.toFixed(6),r=document.createElement("div");r.classList.add("hayyabuild-map-marker"),r.setAttribute("data-lat",n),r.setAttribute("data-lng",o),r.setAttribute("data-openpopup","false"),r.setAttribute("data-type","icon1"),r.setAttribute("data-markercolor","#CA1B1B"),r.setAttribute("data-markersize","2"),r.setAttribute("data-icon","fa fa-circle"),t.appendChild(r),this.setState({isChanged:!0})}},{key:"editMarker",value:function(e,t){var a=this.editMarkerRef.current.querySelectorAll(".edit-marker");a&&a.forEach((function(t){e===t.getAttribute("dtataKey")?t.classList.add("show"):t.classList.remove("show")}))}},{key:"saveMap",value:(r=regeneratorRuntime.mark((function e(){var t,a,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.state.isChanged){e.next=2;break}return e.abrupt("return");case 2:return this.props.attrs.id,(t=this.loadingContainerRef.current).classList.add("show-loading"),e.next=7,new Promise((function(e,t){setTimeout((function(){var a=n.saveChanges();e(a),t(!1)}),500)}));case 7:a=e.sent,t.classList.remove("show-loading"),a?(t.classList.add("show-success"),this.state.isChanged=!1):t.classList.add("show-error"),setTimeout((function(){t.classList.remove("show-success"),t.classList.remove("show-error")}),2e3);case 11:case"end":return e.stop()}}),e,this)})),l=function(){var e=this,t=arguments;return new Promise((function(a,n){var o=r.apply(e,t);function l(e){De(o,a,n,l,i,"next",e)}function i(e){De(o,a,n,l,i,"throw",e)}l(void 0)}))},function(){return l.apply(this,arguments)})},{key:"markerChange",value:function(e,t,a){var n=this.props.attrs.id,o=window.HayyaBuild.openstreetmap[n].querySelector('[data-key="'.concat(e,'"]'));"openpopup"===a?o.setAttribute("data-openpopup",t?"true":"false"):"type"===a?o.setAttribute("data-type",t):"icon"===a?o.setAttribute("data-icon",t):"color"===a?o.setAttribute("data-markercolor",t):"size"===a?o.setAttribute("data-markersize",t):"text"===a&&(o.innerHTML=t),this.setState({isChanged:!0})}},{key:"closeEditor",value:function(e){var t=this.editMarkerRef.current;if(t){var a=t.querySelector('[dtataKey="'.concat(e,'"]'));a&&a.classList.remove("show")}}},{key:"removeMarker",value:function(e){var t=this.props.attrs.id,a=window.HayyaBuild.openstreetmap[t].querySelector('[data-key="'.concat(e,'"]'));a&&a.remove(),this.setState({isChanged:!0})}},{key:"markerIcon",value:function(e){var t=e.icon,a=e.color,n=e.clickEvent;return React.createElement(Ye,null,("all"===t||"icon1"===t)&&React.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon1")}},React.createElement("filter",{height:"1.6",y:"-0.3",width:"1.15",x:"-0.06",id:"hayyabuild-map-svg-filter"},React.createElement("feGaussianBlur",{stdDeviation:"0.5"})),React.createElement("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)"}),React.createElement("path",{fill:a,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"})),("all"===t||"icon2"===t)&&React.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon2")}},React.createElement("path",{fill:a,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"})),("all"===t||"icon3"===t)&&React.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon3")}},React.createElement("path",{fill:a,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"})),("all"===t||"icon4"===t)&&React.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon4")}},React.createElement("path",{fill:a,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"})),("all"===t||"icon5"===t)&&React.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon5")}},React.createElement("path",{fill:a,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 "})),("all"===t||"icon6"===t)&&React.createElement("svg",{viewBox:"0 0 180 320",xmlns:"http://www.w3.org/2000/svg",onClick:function(){return"function"==typeof n&&n("icon6")}},React.createElement("path",{fill:a,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"}),React.createElement("path",{fill:a,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 "})))}},{key:"render",value:function(){var e=this,t=this.props,a=t.attrs,n=(t.saveButtonTitle,a.min_height),o=a.id,r=this.markerIcon,l=function(){var e={};if(window.HayyaBuild.openstreetmap&&window.HayyaBuild.openstreetmap[o]){var t=window.HayyaBuild.openstreetmap[o].querySelectorAll(".hayyabuild-map-marker");t&&t.forEach((function(t,a){e[t.getAttribute("data-key")]={lat:t.getAttribute("data-lat"),lng:t.getAttribute("data-lng"),openpopup:t.getAttribute("data-openpopup"),type:t.getAttribute("data-type"),markercolor:t.getAttribute("data-markercolor"),markersize:t.getAttribute("data-markersize"),icon:t.getAttribute("data-icon"),text:t.innerHTML}}))}return e}(),i=this.state.isChanged?"":" disabled";return React.createElement("div",{id:o,className:"react-opensstreetmap-leaflet",ref:this.containerRef},React.createElement("div",{className:"hayyabuild-map-info"}),React.createElement("div",{className:"hayyabuild-map",style:{minHeight:"".concat(n,"px")},ref:this.mapRef},React.createElement("button",{title:Ze("Save Map","hayyabuild"),className:"save-button".concat(i),onClick:function(){return e.saveMap()},key:"save-button-key"},React.createElement("i",{className:"fa fa-save"})),React.createElement("button",{className:"fullscreen-button".concat(i),onClick:function(){return e.fullScreen()},title:Ze("Full Screen","hayyabuild"),style:{backgroundColor:this.state.isfullScreen?"#FDC57C":null},key:"save-button-fullscreen"},React.createElement("i",{className:"fa fa-expand-arrows-alt"})),React.createElement("button",{title:Ze("Add Marker","hayyabuild"),className:"add-marker",onClick:function(){return e.addMarker()},key:"add-marker-button-key"},React.createElement("i",{className:"fa fa-plus"})),React.createElement("div",{className:"edit-markers",ref:this.editMarkerRef},Object.keys(l).map((function(t,a){var n=l[t];return React.createElement("div",{className:"edit-marker",dtataKey:t,key:t},React.createElement("button",{className:"close-editor",onClick:function(a){return e.closeEditor(t)},key:"close-".concat(t)},React.createElement("i",{className:"fa fa-chevron-circle-right"})),React.createElement("span",{className:"info",key:"info-".concat(t)},Ze("You have to save map status to save a changes.","hayyabuild")),React.createElement(gt.getPro,null),React.createElement("hr",null),React.createElement("div",{className:"marker-icon-type"},React.createElement("label",{class:"components-base-control__label",key:"marker-type-".concat(t)},Ze("Marker Type","hayyabuild")),React.createElement("br",null),React.createElement(r,{icon:"all",color:"#4B7596",clickEvent:function(a){return e.markerChange(t,a,"type")}})),React.createElement("hr",null),React.createElement(Xe,{label:Ze("Open popup when loaded","hayyabuild"),checked:"true"===n.openpopup,onChange:function(a){return e.markerChange(t,a,"openpopup")}}),React.createElement(gt.SelectIcon,{title:Ze("Icon","hayyabuild"),classPlaceholder:Ze("Insert icon class","hayyabuild"),fliterPlaceholder:Ze("Search for icon","hayyabuild"),value:n.icon,onSelect:function(a){return e.markerChange(t,a,"icon")}}),React.createElement(tt,{label:Ze("Marker Text","hayyabuild"),help:Ze("Popup marker text","hayyabuild"),value:n.text,onChange:function(a){return e.markerChange(t,a,"text")}}),React.createElement("label",{class:"components-base-control__label",key:"color-".concat(t)},Ze("Marker Color","hayyabuild")),React.createElement(nt,{value:n.markercolor,label:Ze("Marker Color","hayyabuild"),onChange:function(a){return e.markerChange(t,a,"color")}}),React.createElement(et,{label:Ze("Marker Size","hayyabuild"),value:n.markersize,onChange:function(a){return e.markerChange(t,a,"size")},min:1,max:5}),React.createElement("button",{title:Ze("Remove This Marker","hayyabuild"),className:"remove-marker",onClick:function(a){return e.removeMarker(t)},key:"remove-marker-".concat(t)},React.createElement("i",{className:"fa fa-times-circle"})))}))),React.createElement("div",{className:"react-opensstreetmap-leaflet__loading",ref:this.loadingContainerRef},React.createElement("div",{class:"loading__icon"}))))}}])&&Ue(a.prototype,n),o&&Ue(a,o),t}()),rt={"Font Awesome icons":["fab fa-500px","fab fa-accessible-icon","fab fa-accusoft","fab fa-acquisitions-incorporated","fa fa-ad","fa fa-address-book","fa fa-address-card","fa fa-adjust","fab fa-adn","fab fa-adobe","fab fa-adversal","fab fa-affiliatetheme","fa fa-air-freshener","fab fa-airbnb","fab fa-algolia","fa fa-align-center","fa fa-align-justify","fa fa-align-left","fa fa-align-right","fab fa-alipay","fa fa-allergies","fab fa-amazon","fab fa-amazon-pay","fa fa-ambulance","fa fa-american-sign-language-interpreting","fab fa-amilia","fa fa-anchor","fab fa-android","fab fa-angellist","fa fa-angle-double-down","fa fa-angle-double-left","fa fa-angle-double-right","fa fa-angle-double-up","fa fa-angle-down","fa fa-angle-left","fa fa-angle-right","fa fa-angle-up","fa fa-angry","fab fa-angrycreative","fab fa-angular","fa fa-ankh","fab fa-app-store","fab fa-app-store-ios","fab fa-apper","fab fa-apple","fa fa-apple-alt","fab fa-apple-pay","fa fa-archive","fa fa-archway","fa fa-arrow-alt-circle-down","fa fa-arrow-alt-circle-left","fa fa-arrow-alt-circle-right","fa fa-arrow-alt-circle-up","fa fa-arrow-circle-down","fa fa-arrow-circle-left","fa fa-arrow-circle-right","fa fa-arrow-circle-up","fa fa-arrow-down","fa fa-arrow-left","fa fa-arrow-right","fa fa-arrow-up","fa fa-arrows-alt","fa fa-arrows-alt-h","fa fa-arrows-alt-v","fab fa-artstation","fa fa-assistive-listening-systems","fa fa-asterisk","fab fa-asymmetrik","fa fa-at","fa fa-atlas","fab fa-atlassian","fa fa-atom","fab fa-audible","fa fa-audio-description","fab fa-autoprefixer","fab fa-avianex","fab fa-aviato","fa fa-award","fab fa-aws","fa fa-baby","fa fa-baby-carriage","fa fa-backspace","fa fa-backward","fa fa-bacon","fa fa-balance-scale","fa fa-balance-scale-left","fa fa-balance-scale-right","fa fa-ban","fa fa-band-aid","fab fa-bandcamp","fa fa-barcode","fa fa-bars","fa fa-baseball-ball","fa fa-basketball-ball","fa fa-bath","fa fa-battery-empty","fa fa-battery-full","fa fa-battery-half","fa fa-battery-quarter","fa fa-battery-three-quarters","fab fa-battle-net","fa fa-bed","fa fa-beer","fab fa-behance","fab fa-behance-square","fa fa-bell","fa fa-bell-slash","fa fa-bezier-curve","fa fa-bible","fa fa-bicycle","fa fa-biking","fab fa-bimobject","fa fa-binoculars","fa fa-biohazard","fa fa-birthday-cake","fab fa-bitbucket","fab fa-bitcoin","fab fa-bity","fab fa-black-tie","fab fa-blackberry","fa fa-blender","fa fa-blender-phone","fa fa-blind","fa fa-blog","fab fa-blogger","fab fa-blogger-b","fab fa-bluetooth","fab fa-bluetooth-b","fa fa-bold","fa fa-bolt","fa fa-bomb","fa fa-bone","fa fa-bong","fa fa-book","fa fa-book-dead","fa fa-book-medical","fa fa-book-open","fa fa-book-reader","fa fa-bookmark","fab fa-bootstrap","fa fa-border-all","fa fa-border-none","fa fa-border-style","fa fa-bowling-ball","fa fa-box","fa fa-box-open","fa fa-boxes","fa fa-braille","fa fa-brain","fa fa-bread-slice","fa fa-briefcase","fa fa-briefcase-medical","fa fa-broadcast-tower","fa fa-broom","fa fa-brush","fab fa-btc","fab fa-buffer","fa fa-bug","fa fa-building","fa fa-bullhorn","fa fa-bullseye","fa fa-burn","fab fa-buromobelexperte","fa fa-bus","fa fa-bus-alt","fa fa-business-time","fab fa-buysellads","fa fa-calculator","fa fa-calendar","fa fa-calendar-alt","fa fa-calendar-check","fa fa-calendar-day","fa fa-calendar-minus","fa fa-calendar-plus","fa fa-calendar-times","fa fa-calendar-week","fa fa-camera","fa fa-camera-retro","fa fa-campground","fab fa-canadian-maple-leaf","fa fa-candy-cane","fa fa-cannabis","fa fa-capsules","fa fa-car","fa fa-car-alt","fa fa-car-battery","fa fa-car-crash","fa fa-car-side","fa fa-caret-down","fa fa-caret-left","fa fa-caret-right","fa fa-caret-square-down","fa fa-caret-square-left","fa fa-caret-square-right","fa fa-caret-square-up","fa fa-caret-up","fa fa-carrot","fa fa-cart-arrow-down","fa fa-cart-plus","fa fa-cash-register","fa fa-cat","fab fa-cc-amazon-pay","fab fa-cc-amex","fab fa-cc-apple-pay","fab fa-cc-diners-club","fab fa-cc-discover","fab fa-cc-jcb","fab fa-cc-mastercard","fab fa-cc-paypal","fab fa-cc-stripe","fab fa-cc-visa","fab fa-centercode","fab fa-centos","fa fa-certificate","fa fa-chair","fa fa-chalkboard","fa fa-chalkboard-teacher","fa fa-charging-station","fa fa-chart-area","fa fa-chart-bar","fa fa-chart-line","fa fa-chart-pie","fa fa-check","fa fa-check-circle","fa fa-check-double","fa fa-check-square","fa fa-cheese","fa fa-chess","fa fa-chess-bishop","fa fa-chess-board","fa fa-chess-king","fa fa-chess-knight","fa fa-chess-pawn","fa fa-chess-queen","fa fa-chess-rook","fa fa-chevron-circle-down","fa fa-chevron-circle-left","fa fa-chevron-circle-right","fa fa-chevron-circle-up","fa fa-chevron-down","fa fa-chevron-left","fa fa-chevron-right","fa fa-chevron-up","fa fa-child","fab fa-chrome","fab fa-chromecast","fa fa-church","fa fa-circle","fa fa-circle-notch","fa fa-city","fa fa-clinic-medical","fa fa-clipboard","fa fa-clipboard-check","fa fa-clipboard-list","fa fa-clock","fa fa-clone","fa fa-closed-captioning","fa fa-cloud","fa fa-cloud-download-alt","fa fa-cloud-meatball","fa fa-cloud-moon","fa fa-cloud-moon-rain","fa fa-cloud-rain","fa fa-cloud-showers-heavy","fa fa-cloud-sun","fa fa-cloud-sun-rain","fa fa-cloud-upload-alt","fab fa-cloudscale","fab fa-cloudsmith","fab fa-cloudversify","fa fa-cocktail","fa fa-code","fa fa-code-branch","fab fa-codepen","fab fa-codiepie","fa fa-coffee","fa fa-cog","fa fa-cogs","fa fa-coins","fa fa-columns","fa fa-comment","fa fa-comment-alt","fa fa-comment-dollar","fa fa-comment-dots","fa fa-comment-medical","fa fa-comment-slash","fa fa-comments","fa fa-comments-dollar","fa fa-compact-disc","fa fa-compass","fa fa-compress","fa fa-compress-arrows-alt","fa fa-concierge-bell","fab fa-confluence","fab fa-connectdevelop","fab fa-contao","fa fa-cookie","fa fa-cookie-bite","fa fa-copy","fa fa-copyright","fa fa-couch","fab fa-cpanel","fab fa-creative-commons","fab fa-creative-commons-by","fab fa-creative-commons-nc","fab fa-creative-commons-nc-eu","fab fa-creative-commons-nc-jp","fab fa-creative-commons-nd","fab fa-creative-commons-pd","fab fa-creative-commons-pd-alt","fab fa-creative-commons-remix","fab fa-creative-commons-sa","fab fa-creative-commons-sampling","fab fa-creative-commons-sampling-plus","fab fa-creative-commons-share","fab fa-creative-commons-zero","fa fa-credit-card","fab fa-critical-role","fa fa-crop","fa fa-crop-alt","fa fa-cross","fa fa-crosshairs","fa fa-crow","fa fa-crown","fa fa-crutch","fab fa-css3","fab fa-css3-alt","fa fa-cube","fa fa-cubes","fa fa-cut","fab fa-cuttlefish","fab fa-d-and-d","fab fa-d-and-d-beyond","fab fa-dashcube","fa fa-database","fa fa-deaf","fab fa-delicious","fa fa-democrat","fab fa-deploydog","fab fa-deskpro","fa fa-desktop","fab fa-dev","fab fa-deviantart","fa fa-dharmachakra","fab fa-dhl","fa fa-diagnoses","fab fa-diaspora","fa fa-dice","fa fa-dice-d20","fa fa-dice-d6","fa fa-dice-five","fa fa-dice-four","fa fa-dice-one","fa fa-dice-six","fa fa-dice-three","fa fa-dice-two","fab fa-digg","fab fa-digital-ocean","fa fa-digital-tachograph","fa fa-directions","fab fa-discord","fab fa-discourse","fa fa-divide","fa fa-dizzy","fa fa-dna","fab fa-dochub","fab fa-docker","fa fa-dog","fa fa-dollar-sign","fa fa-dolly","fa fa-dolly-flatbed","fa fa-donate","fa fa-door-closed","fa fa-door-open","fa fa-dot-circle","fa fa-dove","fa fa-download","fab fa-draft2digital","fa fa-drafting-compass","fa fa-dragon","fa fa-draw-polygon","fab fa-dribbble","fab fa-dribbble-square","fab fa-dropbox","fa fa-drum","fa fa-drum-steelpan","fa fa-drumstick-bite","fab fa-drupal","fa fa-dumbbell","fa fa-dumpster","fa fa-dumpster-fire","fa fa-dungeon","fab fa-dyalog","fab fa-earlybirds","fab fa-ebay","fab fa-edge","fa fa-edit","fa fa-egg","fa fa-eject","fab fa-elementor","fa fa-ellipsis-h","fa fa-ellipsis-v","fab fa-ello","fab fa-ember","fab fa-empire","fa fa-envelope","fa fa-envelope-open","fa fa-envelope-open-text","fa fa-envelope-square","fab fa-envira","fa fa-equals","fa fa-eraser","fab fa-erlang","fab fa-ethereum","fa fa-ethernet","fab fa-etsy","fa fa-euro-sign","fab fa-evernote","fa fa-exchange-alt","fa fa-exclamation","fa fa-exclamation-circle","fa fa-exclamation-triangle","fa fa-expand","fa fa-expand-arrows-alt","fab fa-expeditedssl","fa fa-external-link-alt","fa fa-external-link-square-alt","fa fa-eye","fa fa-eye-dropper","fa fa-eye-slash","fab fa-facebook","fab fa-facebook-f","fab fa-facebook-messenger","fab fa-facebook-square","fa fa-fan","fab fa-fantasy-flight-games","fa fa-fast-backward","fa fa-fast-forward","fa fa-fax","fa fa-feather","fa fa-feather-alt","fab fa-fedex","fab fa-fedora","fa fa-female","fa fa-fighter-jet","fab fa-figma","fa fa-file","fa fa-file-alt","fa fa-file-archive","fa fa-file-audio","fa fa-file-code","fa fa-file-contract","fa fa-file-csv","fa fa-file-download","fa fa-file-excel","fa fa-file-export","fa fa-file-image","fa fa-file-import","fa fa-file-invoice","fa fa-file-invoice-dollar","fa fa-file-medical","fa fa-file-medical-alt","fa fa-file-pdf","fa fa-file-powerpoint","fa fa-file-prescription","fa fa-file-signature","fa fa-file-upload","fa fa-file-video","fa fa-file-word","fa fa-fill","fa fa-fill-drip","fa fa-film","fa fa-filter","fa fa-fingerprint","fa fa-fire","fa fa-fire-alt","fa fa-fire-extinguisher","fab fa-firefox","fa fa-first-aid","fab fa-first-order","fab fa-first-order-alt","fab fa-firstdraft","fa fa-fish","fa fa-fist-raised","fa fa-flag","fa fa-flag-checkered","fa fa-flag-usa","fa fa-flask","fab fa-flickr","fab fa-flipboard","fa fa-flushed","fab fa-fly","fa fa-folder","fa fa-folder-minus","fa fa-folder-open","fa fa-folder-plus","fa fa-font","fab fa-font-awesome","fab fa-font-awesome-alt","fab fa-font-awesome-flag","fab fa-font-awesome-logo-full","fab fa-fonticons","fab fa-fonticons-fi","fa fa-football-ball","fab fa-fort-awesome","fab fa-fort-awesome-alt","fab fa-forumbee","fa fa-forward","fab fa-foursquare","fab fa-free-code-camp","fab fa-freebsd","fa fa-frog","fa fa-frown","fa fa-frown-open","fab fa-fulcrum","fa fa-funnel-dollar","fa fa-futbol","fab fa-galactic-republic","fab fa-galactic-senate","fa fa-gamepad","fa fa-gas-pump","fa fa-gavel","fa fa-gem","fa fa-genderless","fab fa-get-pocket","fab fa-gg","fab fa-gg-circle","fa fa-ghost","fa fa-gift","fa fa-gifts","fab fa-git","fab fa-git-alt","fab fa-git-square","fab fa-github","fab fa-github-alt","fab fa-github-square","fab fa-gitkraken","fab fa-gitlab","fab fa-gitter","fa fa-glass-cheers","fa fa-glass-martini","fa fa-glass-martini-alt","fa fa-glass-whiskey","fa fa-glasses","fab fa-glide","fab fa-glide-g","fa fa-globe","fa fa-globe-africa","fa fa-globe-americas","fa fa-globe-asia","fa fa-globe-europe","fab fa-gofore","fa fa-golf-ball","fab fa-goodreads","fab fa-goodreads-g","fab fa-google","fab fa-google-drive","fab fa-google-play","fab fa-google-plus","fab fa-google-plus-g","fab fa-google-plus-square","fab fa-google-wallet","fa fa-gopuram","fa fa-graduation-cap","fab fa-gratipay","fab fa-grav","fa fa-greater-than","fa fa-greater-than-equal","fa fa-grimace","fa fa-grin","fa fa-grin-alt","fa fa-grin-beam","fa fa-grin-beam-sweat","fa fa-grin-hearts","fa fa-grin-squint","fa fa-grin-squint-tears","fa fa-grin-stars","fa fa-grin-tears","fa fa-grin-tongue","fa fa-grin-tongue-squint","fa fa-grin-tongue-wink","fa fa-grin-wink","fa fa-grip-horizontal","fa fa-grip-lines","fa fa-grip-lines-vertical","fa fa-grip-vertical","fab fa-gripfire","fab fa-grunt","fa fa-guitar","fab fa-gulp","fa fa-h-square","fab fa-hacker-news","fab fa-hacker-news-square","fab fa-hackerrank","fa fa-hamburger","fa fa-hammer","fa fa-hamsa","fa fa-hand-holding","fa fa-hand-holding-heart","fa fa-hand-holding-usd","fa fa-hand-lizard","fa fa-hand-middle-finger","fa fa-hand-paper","fa fa-hand-peace","fa fa-hand-point-down","fa fa-hand-point-left","fa fa-hand-point-right","fa fa-hand-point-up","fa fa-hand-pointer","fa fa-hand-rock","fa fa-hand-scissors","fa fa-hand-spock","fa fa-hands","fa fa-hands-helping","fa fa-handshake","fa fa-hanukiah","fa fa-hard-hat","fa fa-hashtag","fa fa-hat-wizard","fa fa-haykal","fa fa-hdd","fa fa-heading","fa fa-headphones","fa fa-headphones-alt","fa fa-headset","fa fa-heart","fa fa-heart-broken","fa fa-heartbeat","fa fa-helicopter","fa fa-highlighter","fa fa-hiking","fa fa-hippo","fab fa-hips","fab fa-hire-a-helper","fa fa-history","fa fa-hockey-puck","fa fa-holly-berry","fa fa-home","fab fa-hooli","fab fa-hornbill","fa fa-horse","fa fa-horse-head","fa fa-hospital","fa fa-hospital-alt","fa fa-hospital-symbol","fa fa-hot-tub","fa fa-hotdog","fa fa-hotel","fab fa-hotjar","fa fa-hourglass","fa fa-hourglass-end","fa fa-hourglass-half","fa fa-hourglass-start","fa fa-house-damage","fab fa-houzz","fa fa-hryvnia","fab fa-html5","fab fa-hubspot","fa fa-i-cursor","fa fa-ice-cream","fa fa-icicles","fa fa-icons","fa fa-id-badge","fa fa-id-card","fa fa-id-card-alt","fa fa-igloo","fa fa-image","fa fa-images","fab fa-imdb","fa fa-inbox","fa fa-indent","fa fa-industry","fa fa-infinity","fa fa-info","fa fa-info-circle","fab fa-instagram","fab fa-intercom","fab fa-internet-explorer","fab fa-invision","fab fa-ioxhost","fa fa-italic","fab fa-itch-io","fab fa-itunes","fab fa-itunes-note","fab fa-java","fa fa-jedi","fab fa-jedi-order","fab fa-jenkins","fab fa-jira","fab fa-joget","fa fa-joint","fab fa-joomla","fa fa-journal-whills","fab fa-js","fab fa-js-square","fab fa-jsfiddle","fa fa-kaaba","fab fa-kaggle","fa fa-key","fab fa-keybase","fa fa-keyboard","fab fa-keycdn","fa fa-khanda","fab fa-kickstarter","fab fa-kickstarter-k","fa fa-kiss","fa fa-kiss-beam","fa fa-kiss-wink-heart","fa fa-kiwi-bird","fab fa-korvue","fa fa-landmark","fa fa-language","fa fa-laptop","fa fa-laptop-code","fa fa-laptop-medical","fab fa-laravel","fab fa-lastfm","fab fa-lastfm-square","fa fa-laugh","fa fa-laugh-beam","fa fa-laugh-squint","fa fa-laugh-wink","fa fa-layer-group","fa fa-leaf","fab fa-leanpub","fa fa-lemon","fab fa-less","fa fa-less-than","fa fa-less-than-equal","fa fa-level-down-alt","fa fa-level-up-alt","fa fa-life-ring","fa fa-lightbulb","fab fa-line","fa fa-link","fab fa-linkedin","fab fa-linkedin-in","fab fa-linode","fab fa-linux","fa fa-lira-sign","fa fa-list","fa fa-list-alt","fa fa-list-ol","fa fa-list-ul","fa fa-location-arrow","fa fa-lock","fa fa-lock-open","fa fa-long-arrow-alt-down","fa fa-long-arrow-alt-left","fa fa-long-arrow-alt-right","fa fa-long-arrow-alt-up","fa fa-low-vision","fa fa-luggage-cart","fab fa-lyft","fab fa-magento","fa fa-magic","fa fa-magnet","fa fa-mail-bulk","fab fa-mailchimp","fa fa-male","fab fa-mandalorian","fa fa-map","fa fa-map-marked","fa fa-map-marked-alt","fa fa-map-marker","fa fa-map-marker-alt","fa fa-map-pin","fa fa-map-signs","fab fa-markdown","fa fa-marker","fa fa-mars","fa fa-mars-double","fa fa-mars-stroke","fa fa-mars-stroke-h","fa fa-mars-stroke-v","fa fa-mask","fab fa-mastodon","fab fa-maxcdn","fa fa-medal","fab fa-medapps","fab fa-medium","fab fa-medium-m","fa fa-medkit","fab fa-medrt","fab fa-meetup","fab fa-megaport","fa fa-meh","fa fa-meh-blank","fa fa-meh-rolling-eyes","fa fa-memory","fab fa-mendeley","fa fa-menorah","fa fa-mercury","fa fa-meteor","fa fa-microchip","fa fa-microphone","fa fa-microphone-alt","fa fa-microphone-alt-slash","fa fa-microphone-slash","fa fa-microscope","fab fa-microsoft","fa fa-minus","fa fa-minus-circle","fa fa-minus-square","fa fa-mitten","fab fa-mix","fab fa-mixcloud","fab fa-mizuni","fa fa-mobile","fa fa-mobile-alt","fab fa-modx","fab fa-monero","fa fa-money-bill","fa fa-money-bill-alt","fa fa-money-bill-wave","fa fa-money-bill-wave-alt","fa fa-money-check","fa fa-money-check-alt","fa fa-monument","fa fa-moon","fa fa-mortar-pestle","fa fa-mosque","fa fa-motorcycle","fa fa-mountain","fa fa-mouse-pointer","fa fa-mug-hot","fa fa-music","fab fa-napster","fab fa-neos","fa fa-network-wired","fa fa-neuter","fa fa-newspaper","fab fa-nimblr","fab fa-node","fab fa-node-js","fa fa-not-equal","fa fa-notes-medical","fab fa-npm","fab fa-ns8","fab fa-nutritionix","fa fa-object-group","fa fa-object-ungroup","fab fa-odnoklassniki","fab fa-odnoklassniki-square","fa fa-oil-can","fab fa-old-republic","fa fa-om","fab fa-opencart","fab fa-openid","fab fa-opera","fab fa-optin-monster","fab fa-osi","fa fa-otter","fa fa-outdent","fab fa-page4","fab fa-pagelines","fa fa-pager","fa fa-paint-brush","fa fa-paint-roller","fa fa-palette","fab fa-palfed","fa fa-pallet","fa fa-paper-plane","fa fa-paperclip","fa fa-parachute-box","fa fa-paragraph","fa fa-parking","fa fa-passport","fa fa-pastafarianism","fa fa-paste","fab fa-patreon","fa fa-pause","fa fa-pause-circle","fa fa-paw","fab fa-paypal","fa fa-peace","fa fa-pen","fa fa-pen-alt","fa fa-pen-fancy","fa fa-pen-nib","fa fa-pen-square","fa fa-pencil-alt","fa fa-pencil-ruler","fab fa-penny-arcade","fa fa-people-carry","fa fa-pepper-hot","fa fa-percent","fa fa-percentage","fab fa-periscope","fa fa-person-booth","fab fa-phabricator","fab fa-phoenix-framework","fab fa-phoenix-squadron","fa fa-phone","fa fa-phone-alt","fa fa-phone-slash","fa fa-phone-square","fa fa-phone-square-alt","fa fa-phone-volume","fa fa-photo-video","fab fa-php","fab fa-pied-piper","fab fa-pied-piper-alt","fab fa-pied-piper-hat","fab fa-pied-piper-pp","fa fa-piggy-bank","fa fa-pills","fab fa-pinterest","fab fa-pinterest-p","fab fa-pinterest-square","fa fa-pizza-slice","fa fa-place-of-worship","fa fa-plane","fa fa-plane-arrival","fa fa-plane-departure","fa fa-play","fa fa-play-circle","fab fa-playstation","fa fa-plug","fa fa-plus","fa fa-plus-circle","fa fa-plus-square","fa fa-podcast","fa fa-poll","fa fa-poll-h","fa fa-poo","fa fa-poo-storm","fa fa-poop","fa fa-portrait","fa fa-pound-sign","fa fa-power-off","fa fa-pray","fa fa-praying-hands","fa fa-prescription","fa fa-prescription-bottle","fa fa-prescription-bottle-alt","fa fa-print","fa fa-procedures","fab fa-product-hunt","fa fa-project-diagram","fab fa-pushed","fa fa-puzzle-piece","fab fa-python","fab fa-qq","fa fa-qrcode","fa fa-question","fa fa-question-circle","fa fa-quidditch","fab fa-quinscape","fab fa-quora","fa fa-quote-left","fa fa-quote-right","fa fa-quran","fab fa-r-project","fa fa-radiation","fa fa-radiation-alt","fa fa-rainbow","fa fa-random","fab fa-raspberry-pi","fab fa-ravelry","fab fa-react","fab fa-reacteurope","fab fa-readme","fab fa-rebel","fa fa-receipt","fa fa-recycle","fab fa-red-river","fab fa-reddit","fab fa-reddit-alien","fab fa-reddit-square","fab fa-redhat","fa fa-redo","fa fa-redo-alt","fa fa-registered","fa fa-remove-format","fab fa-renren","fa fa-reply","fa fa-reply-all","fab fa-replyd","fa fa-republican","fab fa-researchgate","fab fa-resolving","fa fa-restroom","fa fa-retweet","fab fa-rev","fa fa-ribbon","fa fa-ring","fa fa-road","fa fa-robot","fa fa-rocket","fab fa-rocketchat","fab fa-rockrms","fa fa-route","fa fa-rss","fa fa-rss-square","fa fa-ruble-sign","fa fa-ruler","fa fa-ruler-combined","fa fa-ruler-horizontal","fa fa-ruler-vertical","fa fa-running","fa fa-rupee-sign","fa fa-sad-cry","fa fa-sad-tear","fab fa-safari","fab fa-salesforce","fab fa-sass","fa fa-satellite","fa fa-satellite-dish","fa fa-save","fab fa-schlix","fa fa-school","fa fa-screwdriver","fab fa-scribd","fa fa-scroll","fa fa-sd-card","fa fa-search","fa fa-search-dollar","fa fa-search-location","fa fa-search-minus","fa fa-search-plus","fab fa-searchengin","fa fa-seedling","fab fa-sellcast","fab fa-sellsy","fa fa-server","fab fa-servicestack","fa fa-shapes","fa fa-share","fa fa-share-alt","fa fa-share-alt-square","fa fa-share-square","fa fa-shekel-sign","fa fa-shield-alt","fa fa-ship","fa fa-shipping-fast","fab fa-shirtsinbulk","fa fa-shoe-prints","fa fa-shopping-bag","fa fa-shopping-basket","fa fa-shopping-cart","fab fa-shopware","fa fa-shower","fa fa-shuttle-van","fa fa-sign","fa fa-sign-in-alt","fa fa-sign-language","fa fa-sign-out-alt","fa fa-signal","fa fa-signature","fa fa-sim-card","fab fa-simplybuilt","fab fa-sistrix","fa fa-sitemap","fab fa-sith","fa fa-skating","fab fa-sketch","fa fa-skiing","fa fa-skiing-nordic","fa fa-skull","fa fa-skull-crossbones","fab fa-skyatlas","fab fa-skype","fab fa-slack","fab fa-slack-hash","fa fa-slash","fa fa-sleigh","fa fa-sliders-h","fab fa-slideshare","fa fa-smile","fa fa-smile-beam","fa fa-smile-wink","fa fa-smog","fa fa-smoking","fa fa-smoking-ban","fa fa-sms","fab fa-snapchat","fab fa-snapchat-ghost","fab fa-snapchat-square","fa fa-snowboarding","fa fa-snowflake","fa fa-snowman","fa fa-snowplow","fa fa-socks","fa fa-solar-panel","fa fa-sort","fa fa-sort-alpha-down","fa fa-sort-alpha-down-alt","fa fa-sort-alpha-up","fa fa-sort-alpha-up-alt","fa fa-sort-amount-down","fa fa-sort-amount-down-alt","fa fa-sort-amount-up","fa fa-sort-amount-up-alt","fa fa-sort-down","fa fa-sort-numeric-down","fa fa-sort-numeric-down-alt","fa fa-sort-numeric-up","fa fa-sort-numeric-up-alt","fa fa-sort-up","fab fa-soundcloud","fab fa-sourcetree","fa fa-spa","fa fa-space-shuttle","fab fa-speakap","fab fa-speaker-deck","fa fa-spell-check","fa fa-spider","fa fa-spinner","fa fa-splotch","fab fa-spotify","fa fa-spray-can","fa fa-square","fa fa-square-full","fa fa-square-root-alt","fab fa-squarespace","fab fa-stack-exchange","fab fa-stack-overflow","fab fa-stackpath","fa fa-stamp","fa fa-star","fa fa-star-and-crescent","fa fa-star-half","fa fa-star-half-alt","fa fa-star-of-david","fa fa-star-of-life","fab fa-staylinked","fab fa-steam","fab fa-steam-square","fab fa-steam-symbol","fa fa-step-backward","fa fa-step-forward","fa fa-stethoscope","fab fa-sticker-mule","fa fa-sticky-note","fa fa-stop","fa fa-stop-circle","fa fa-stopwatch","fa fa-store","fa fa-store-alt","fab fa-strava","fa fa-stream","fa fa-street-view","fa fa-strikethrough","fab fa-stripe","fab fa-stripe-s","fa fa-stroopwafel","fab fa-studiovinari","fab fa-stumbleupon","fab fa-stumbleupon-circle","fa fa-subscript","fa fa-subway","fa fa-suitcase","fa fa-suitcase-rolling","fa fa-sun","fab fa-superpowers","fa fa-superscript","fab fa-supple","fa fa-surprise","fab fa-suse","fa fa-swatchbook","fa fa-swimmer","fa fa-swimming-pool","fab fa-symfony","fa fa-synagogue","fa fa-sync","fa fa-sync-alt","fa fa-syringe","fa fa-table","fa fa-table-tennis","fa fa-tablet","fa fa-tablet-alt","fa fa-tablets","fa fa-tachometer-alt","fa fa-tag","fa fa-tags","fa fa-tape","fa fa-tasks","fa fa-taxi","fab fa-teamspeak","fa fa-teeth","fa fa-teeth-open","fab fa-telegram","fab fa-telegram-plane","fa fa-temperature-high","fa fa-temperature-low","fab fa-tencent-weibo","fa fa-tenge","fa fa-terminal","fa fa-text-height","fa fa-text-width","fa fa-th","fa fa-th-large","fa fa-th-list","fab fa-the-red-yeti","fa fa-theater-masks","fab fa-themeco","fab fa-themeisle","fa fa-thermometer","fa fa-thermometer-empty","fa fa-thermometer-full","fa fa-thermometer-half","fa fa-thermometer-quarter","fa fa-thermometer-three-quarters","fab fa-think-peaks","fa fa-thumbs-down","fa fa-thumbs-up","fa fa-thumbtack","fa fa-ticket-alt","fa fa-times","fa fa-times-circle","fa fa-tint","fa fa-tint-slash","fa fa-tired","fa fa-toggle-off","fa fa-toggle-on","fa fa-toilet","fa fa-toilet-paper","fa fa-toolbox","fa fa-tools","fa fa-tooth","fa fa-torah","fa fa-torii-gate","fa fa-tractor","fab fa-trade-federation","fa fa-trademark","fa fa-traffic-light","fa fa-train","fa fa-tram","fa fa-transgender","fa fa-transgender-alt","fa fa-trash","fa fa-trash-alt","fa fa-trash-restore","fa fa-trash-restore-alt","fa fa-tree","fab fa-trello","fab fa-tripadvisor","fa fa-trophy","fa fa-truck","fa fa-truck-loading","fa fa-truck-monster","fa fa-truck-moving","fa fa-truck-pickup","fa fa-tshirt","fa fa-tty","fab fa-tumblr","fab fa-tumblr-square","fa fa-tv","fab fa-twitch","fab fa-twitter","fab fa-twitter-square","fab fa-typo3","fab fa-uber","fab fa-ubuntu","fab fa-uikit","fa fa-umbrella","fa fa-umbrella-beach","fa fa-underline","fa fa-undo","fa fa-undo-alt","fab fa-uniregistry","fa fa-universal-access","fa fa-university","fa fa-unlink","fa fa-unlock","fa fa-unlock-alt","fab fa-untappd","fa fa-upload","fab fa-ups","fab fa-usb","fa fa-user","fa fa-user-alt","fa fa-user-alt-slash","fa fa-user-astronaut","fa fa-user-check","fa fa-user-circle","fa fa-user-clock","fa fa-user-cog","fa fa-user-edit","fa fa-user-friends","fa fa-user-graduate","fa fa-user-injured","fa fa-user-lock","fa fa-user-md","fa fa-user-minus","fa fa-user-ninja","fa fa-user-nurse","fa fa-user-plus","fa fa-user-secret","fa fa-user-shield","fa fa-user-slash","fa fa-user-tag","fa fa-user-tie","fa fa-user-times","fa fa-users","fa fa-users-cog","fab fa-usps","fab fa-ussunnah","fa fa-utensil-spoon","fa fa-utensils","fab fa-vaadin","fa fa-vector-square","fa fa-venus","fa fa-venus-double","fa fa-venus-mars","fab fa-viacoin","fab fa-viadeo","fab fa-viadeo-square","fa fa-vial","fa fa-vials","fab fa-viber","fa fa-video","fa fa-video-slash","fa fa-vihara","fab fa-vimeo","fab fa-vimeo-square","fab fa-vimeo-v","fab fa-vine","fab fa-vk","fab fa-vnv","fa fa-voicemail","fa fa-volleyball-ball","fa fa-volume-down","fa fa-volume-mute","fa fa-volume-off","fa fa-volume-up","fa fa-vote-yea","fa fa-vr-cardboard","fab fa-vuejs","fa fa-walking","fa fa-wallet","fa fa-warehouse","fa fa-water","fa fa-wave-square","fab fa-waze","fab fa-weebly","fab fa-weibo","fa fa-weight","fa fa-weight-hanging","fab fa-weixin","fab fa-whatsapp","fab fa-whatsapp-square","fa fa-wheelchair","fab fa-whmcs","fa fa-wifi","fab fa-wikipedia-w","fa fa-wind","fa fa-window-close","fa fa-window-maximize","fa fa-window-minimize","fa fa-window-restore","fab fa-windows","fa fa-wine-bottle","fa fa-wine-glass","fa fa-wine-glass-alt","fab fa-wix","fab fa-wizards-of-the-coast","fab fa-wolf-pack-battalion","fa fa-won-sign","fab fa-wordpress","fab fa-wordpress-simple","fab fa-wpbeginner","fab fa-wpexplorer","fab fa-wpforms","fab fa-wpressr","fa fa-wrench","fa fa-x-ray","fab fa-xbox","fab fa-xing","fab fa-xing-square","fab fa-y-combinator","fab fa-yahoo","fab fa-yammer","fab fa-yandex","fab fa-yandex-international","fab fa-yarn","fab fa-yelp","fa fa-yen-sign","fa fa-yin-yang","fab fa-yoast","fab fa-youtube","fab fa-youtube-square","fab fa-zhihu"]};a(40);function lt(e){return(lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function it(){return(it=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function ct(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function st(e){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ut(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ft(e,t){return(ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var dt=function(e){function t(){var e,a,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(e=!(n=st(t).call(this))||"object"!==lt(n)&&"function"!=typeof n?ut(a):n).state={items:[],search:"",icon:""},e.loadData=e.loadData.bind(ut(e)),e.iconShanged=e.iconShanged.bind(ut(e)),e.filter=e.filter.bind(ut(e)),e.run=e.run.bind(ut(e)),e}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ft(e,t)}(t,e),a=t,(n=[{key:"componentDidMount",value:function(){this.loadData()}},{key:"loadData",value:function(){var e=this;if(rt){var t=[];Object.keys(rt).forEach((function(a){for(var n=0;n<rt[a].length;n++)rt[a][n].indexOf(e.state.search)>-1&&t.push(rt[a][n])})),this.setState({items:t})}}},{key:"iconShanged",value:function(e){e.preventDefault();var t="INPUT"===e.target.tagName?e.target.value:e.currentTarget.dataset.icon;this.setState({icon:t}),this.props.onSelect(t)}},{key:"filter",value:function(e){this.setState({search:e.target.value},this.loadData)}},{key:"run",value:function(e){e.preventDefault();var t=e.currentTarget,a=t.parentElement,n=a.querySelector(".icons-container");n&&(n.classList.contains("opened")?(t.classList.remove("opened"),n.classList.remove("opened")):(t.classList.add("opened"),n.classList.add("opened")),a.addEventListener("mouseleave",(function e(){t.classList.remove("opened"),n.classList.remove("opened"),a.removeEventListener&&a.removeEventListener("mouseleave",e)})))}},{key:"render",value:function(){var e=this,t=this.props,a=t.classPlaceholder,n=t.fliterPlaceholder;return React.createElement("div",{className:"hb-select-icon"},React.createElement("a",{href:"#",onClick:this.run,className:"toggle"},this.props.title," [ ",React.createElement("i",{className:this.props.value})," ]"),React.createElement("div",{className:"icons-container"},React.createElement("input",it({type:"text",name:"icon",value:this.props.value||"",onChange:this.iconShanged},a?{placeholder:a}:{})),React.createElement("input",it({type:"search",name:"filter",onChange:this.filter},n?{placeholder:n}:{})),React.createElement("ul",null,this.state.items.length&&this.state.items.map((function(t,a){return React.createElement("li",{key:a},React.createElement("a",{href:"#","data-icon":t,onClick:e.iconShanged,className:e.props.value===t?"active":""},React.createElement("i",{className:t})))})))))}}])&&ct(a.prototype,n),o&&ct(a,o),t}(wp.element.Component),pt=a(12),yt=a.n(pt);function bt(e){return(bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ht(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}a.d(t,"H",(function(){return gt}));var mt=wp.i18n.__,gt=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.version="4.0",this.description="HayyaBuild allows you to build unlimited headers, pages and footers for your WordPress website without the needs for writing any code.",this.memoize=yt.a,this.BlocksOptions=be,this.SelectIcon=dt,this.OpenStreetMap=ot,this.hayyabuildSubscribe=this.hayyabuildSubscribe.bind(this),this.optionsModalOpened=this.optionsModalOpened.bind(this),this.optionsModalClosed=this.optionsModalClosed.bind(this)}var t,n,o;return t=e,(n=[{key:"getPro",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=mt("Sorry about that. but this feature is unavailable in lite version.","hayyabuild"),a=mt("Get more options","hayyabuild"),n=mt("from here.","hayyabuild");return React.createElement("div",{className:"hayyabuild-get-pro"},void 0!==e.list&&React.createElement("div",null,t),a,React.createElement("a",{href:"https://hayyabuild.zintathemes.com?blocks=1",target:"_blank"},n))}},{key:"hayyabuildSubscribe",value:function(){var e=this,t=wp.data.select("core/block-editor").getBlocks();if(t.length){var a=[];!function t(n){n.forEach((function(n){if(0===n.name.indexOf("hayyabuild")){var o=n.name;a.indexOf(n.attributes.id)>=0&&(n.attributes.id=e.generateID(o)),n.attributes.id&&a.push(n.attributes.id)}n.innerBlocks.length&&t(n.innerBlocks)}))}(t)}}},{key:"setHeadStyle",value:function(){var e=document.getElementById("hayyabuild_inline_style");if(e&&e.value){var t;try{t=JSON.parse(e.value)}catch(e){return console.log("ERRoR3: cona`t parse tyle:",e),!1}var a="hayyabuild-head-inlinestyle",n=document.head||document.getElementsByTagName("head")[0],o=document.getElementById(a);o||(o=document.createElement("style"),n.appendChild(o),o.type="text/css",o.id=a);var r="";if(t){var l={},i=this.getBlocks();i.length&&(i.forEach((function(e){t[e.attributes.id]&&(l[e.attributes.id]=t[e.attributes.id])})),e.value=JSON.stringify(l)),Object.keys(t).forEach((function(e){r="".concat(r," ").concat(t[e].element," { ").concat(t[e].style," }")})),r&&(o.textContent=r)}}}},{key:"getBlocks",value:function(){var e=wp.data.select("core/block-editor").getBlocks();if(!e.length)return[];var t=[];return function e(a){a.length&&a.forEach((function(a){0===a.name.indexOf("hayyabuild")&&t.push({name:a.name,clientId:a.clientId,attributes:a.attributes});var n=a.innerBlocks;n.length&&e(n)}))}(e),t}},{key:"optionsModalOpened",value:function(){}},{key:"optionsModalClosed",value:function(){this.setHeadStyle()}},{key:"generateID",value:function(e){var t=document.getElementById("post_ID"),a=e.replace("/","-")||"hayyabuild-block",n=t.value||Math.floor(999*Math.random()+111),o=Math.floor(9999*Math.random()+1111);return"".concat(a+n,"-").concat(o)}},{key:"blockID",value:function(e,t,a){if(!t||!a||e)return e;var n=this.generateID(t);return n&&a({id:n}),n}},{key:"generateClass",value:function(e){return e.replace("/","-")||"hayyabuild-"+Math.floor(999*Math.random()+111)}},{key:"iconStyle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0deg";if(e){var o=a(42),r=o.Icon,l="object"!==bt(e)||e.type?e:React.createElement(r,{icon:e,color:t,rotate:n});return{foreground:"#0088DD",src:l}}}},{key:"getAdditionalCSSClass",value:function(){var e=document.getElementById("inspector-text-control-1");e&&e.addEventListener("change",(function(){}))}},{key:"isColorLight",value:function(e){var t,a,n,o,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e)return!1;r?(t=(o=parseInt(e,16))>>16&255,a=o>>8&255,n=255&o):(t=e.r,a=e.g,n=e.b);var l=Math.sqrt(t*t*.299+a*a*.587+n*n*.114);return l<130}},{key:"hexToRgb",value:function(e,t){return"rgba("+(e=e.replace("#","")).match(new RegExp("(.{"+e.length/3+"})","g")).map((function(t){return parseInt(e.length%2?t+t:t,16)})).concat(t||1).join(",")+")"}},{key:"rgbToHex",value:function(e,t,a){return"#"+[e,t,a].map((function(e){return e.toString(16).padStart(2,"0")})).join("")}},{key:"lightenAndDarken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#000000",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(void 0===e||void 0===t)return"";var a=!1;"#"===e[0]&&(e=e.slice(1),a=!0);var n=parseInt(e.substring(0,2),16),o=parseInt(e.substring(2,4),16),r=parseInt(e.substring(4,6),16);(n+=t)>255?n=255:n<0&&(n=0),(o+=t)>255?o=255:o<0&&(o=0),(r+=t)>255?r=255:r<0&&(r=0);var l=1===n.toString(16).length?"0"+n.toString(16):n.toString(16),i=1===o.toString(16).length?"0"+o.toString(16):o.toString(16),c=1===r.toString(16).length?"0"+r.toString(16):r.toString(16);return(a?"#":"")+l+i+c}},{key:"classesClean",value:function(e){if(e){var t=[];return e=e.split(" "),["hb-visible-sm","hb-hidden-sm","hb-visible-md","hb-hidden-md","hb-visible-lg","hb-hidden-lg","hb-visible-Xlg","hb-hidden-Xlg","hb-scale-in","hb-scale-out","hb-slide-right","hb-slide-left","hb-slide-up","hb-slide-down","hb-fade-in","hb-fade-out","hb-right-rotation","hb-left-rotation","hb-up-rotation","hb-down-rotation","hb-fixed-bg","hb-parallax-up","hb-parallax-down","hb-hover-bg-zoomin","hb-hover-bg-zoomout","hb-hover-shadow","hb-hover-scalein","hb-hover-scaleout","hb-hover-visibility-inc","hb-hover-visibility-dec","text-left","text-right","text-center","text-justify","center-sm","center-md","center-lg","hayya-scrolleffects","hb-scroll_duration_0","hb-scroll_duration_5","hb-scroll_duration_10","hb-scroll_duration_15","hb-scroll_duration_20","hb-scroll_duration_25","hb-scroll_duration_30","hb-scroll_duration_35","hb-scroll_duration_40","hb-scroll_duration_45","hb-scroll_duration_50","hb-scroll_duration_55","hb-scroll_duration_60","hb-scroll_duration_65","hb-scroll_duration_70","hb-scroll_duration_75","hb-scroll_duration_80","hb-scroll_duration_85","hb-scroll_duration_90","hb-scroll_duration_95","hb-scroll_duration_100","hb-scroll_easing_ease","hb-scroll_easing_linear","hb-scroll_easing_ease-in","hb-scroll_easing_ease-out","hb-scroll_easing_ease-in-out","hb-scroll_easing_easeInQuad","hb-scroll_easing_easeInCubic","hb-scroll_easing_easeInQuart","hb-scroll_easing_easeInQuint","hb-scroll_easing_easeInSine","hb-scroll_easing_easeInExpo","hb-scroll_easing_easeInCirc","hb-scroll_easing_easeInBack","hb-scroll_easing_easeOutQuad","hb-scroll_easing_easeOutCubic","hb-scroll_easing_easeOutQuart","hb-scroll_easing_easeOutQuint","hb-scroll_easing_easeOutSine","hb-scroll_easing_easeOutExpo","hb-scroll_easing_easeOutCirc","hb-scroll_easing_easeOutBack","hb-scroll_easing_easeInOutQuad","hb-scroll_easing_easeInOutCubic","hb-scroll_easing_easeInOutQuart","hb-scroll_easing_easeInOutQuint","hb-scroll_easing_easeInOutSine","hb-scroll_easing_easeInOutExpo","hb-scroll_easing_easeInOutCirc","hb-scroll_easing_easeInOutBack"].map((function(a){e.indexOf(a)>-1&&t.push(a)})),t.join(" ")}}},{key:"hayyaClasses",value:function(){for(var e=this,t=[],a=arguments.length,n=new Array(a),o=0;o<a;o++)n[o]=arguments[o];return n.forEach((function(a){var n=bt(a);"string"===n||"number"===n?t.push(a.trim()):Array.isArray(a)&&a.length?a.forEach((function(e){return"string"==typeof e&&t.push(e.trim())})):"object"!==n||Array.isArray(a)||Object.keys(a).forEach((function(n){if("classesList"===n){var o=e.classesClean(a[n]);o&&t.push(o.trim())}else a[n]&&t.push(n.trim())}))})),t.join(" ")}}])&&ht(t.prototype,n),o&&ht(t,o),e}())},function(e,t,a){"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var e={};return function(t){if(void 0===e[t]){var a=document.querySelector(t);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}e[t]=a}return e[t]}}(),l=[];function i(e){for(var t=-1,a=0;a<l.length;a++)if(l[a].identifier===e){t=a;break}return t}function c(e,t){for(var a={},n=[],o=0;o<e.length;o++){var r=e[o],c=t.base?r[0]+t.base:r[0],s=a[c]||0,u="".concat(c," ").concat(s);a[c]=s+1;var f=i(u),d={css:r[1],media:r[2],sourceMap:r[3]};-1!==f?(l[f].references++,l[f].updater(d)):l.push({identifier:u,updater:h(d,t),references:1}),n.push(u)}return n}function s(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=a.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var l=r(e.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(t)}return t}var u,f=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function d(e,t,a,n){var o=a?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var r=document.createTextNode(o),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(r,l[t]):e.appendChild(r)}}function p(e,t,a){var n=a.css,o=a.media,r=a.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),r&&btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var y=null,b=0;function h(e,t){var a,n,o;if(t.singleton){var r=b++;a=y||(y=s(t)),n=d.bind(null,a,r,!1),o=d.bind(null,a,r,!0)}else a=s(t),n=p.bind(null,a,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(a)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var a=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<a.length;n++){var o=i(a[n]);l[o].references--}for(var r=c(e,t),s=0;s<a.length;s++){var u=i(a[s]);0===l[u].references&&(l[u].updater(),l.splice(u,1))}a=r}}}},function(e,t,a){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a=function(e,t){var a=e[1]||"",n=e[3];if(!n)return a;if(t&&"function"==typeof btoa){var o=(l=n,i=btoa(unescape(encodeURIComponent(JSON.stringify(l)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),"/*# ".concat(c," */")),r=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[a].concat(r).concat([o]).join("\n")}var l,i,c;return[a].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(a,"}"):a})).join("")},t.i=function(e,a,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var r=0;r<this.length;r++){var l=this[r][0];null!=l&&(o[l]=!0)}for(var i=0;i<e.length;i++){var c=[].concat(e[i]);n&&o[c[0]]||(a&&(c[2]?c[2]="".concat(a," and ").concat(c[2]):c[2]=a),t.push(c))}},t}},function(e,t,a){"use strict";a(26);function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?c(e):t}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){function t(){var e;return o(this,t),(e=l(this,i(t).apply(this,arguments))).state={modalOpened:""},e.hbModalRef=React.createRef(),e.appendModal=e.appendModal.bind(c(e)),e.removeModal=e.removeModal.bind(c(e)),e.openModal=e.openModal.bind(c(e)),e.closeModal=e.closeModal.bind(c(e)),e.events=e.events.bind(c(e)),e}var a,n,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,React.Component),a=t,(n=[{key:"componentDidMount",value:function(){this.appendModal()}},{key:"componentWillUnmount",value:function(){this.removeModal()}},{key:"appendModal",value:function(){var e=this.props.appendTo,t=document.body,a={};"string"==typeof e&&(a="."!==e.charAt(0)?document.getElementById(e):document.querySelector(e))&&(t=a),t.classList.add("react-modal-popup-parent"),this.hbModalRef.current&&t.appendChild(this.hbModalRef.current)}},{key:"openModal",value:function(e){e.preventDefault();var t=document.getElementById("wpwrap");t&&(t.style.overflow="hidden"),this.hbModalRef.current.addEventListener("click",this.events),document.body.addEventListener("keydown",this.events),this.setState({modalOpened:" madal-opend"});var a=this.props.onOpen;"function"==typeof a&&a()}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(e.preventDefault(),this.removeModal());var t=this.props.onClose;"function"==typeof t&&t()}},{key:"removeModal",value:function(){var e=document.getElementById("wpwrap");e&&(e.style.overflow="unset"),this.setState({modalOpened:""}),this.hbModalRef.current.classList&&this.hbModalRef.current.classList.remove("madal-opend")}},{key:"events",value:function(e){"click"===e.type&&e.target.classList&&e.target.classList.contains("madal-opend")?(this.setState({modalOpened:""}),this.closeModal()):"keydown"!==e.type||"Escape"!==e.key&&"27"!==e.keyCode&&"Esc"!=e.key||(this.setState({modalOpened:""}),document.body.removeEventListener("keydown",this.events),this.closeModal())}},{key:"render",value:function(){var e=this.props,t=e.title,a=e.iconClass,n=e.children,o=function(){return t?React.createElement("span",null,void 0!==a&&React.createElement("i",{className:a})," ".concat(t)):void 0!==a?React.createElement("div",{className:"components-toolbar components-toolbar"},React.createElement("i",{className:a})):void 0};return React.createElement("div",{className:"react-modal-popup"},React.createElement("a",{href:"#",onClick:this.openModal,className:"open-modal"},React.createElement(o,null)),React.createElement("div",{className:"react-appended-modal-popup".concat(this.state.modalOpened),ref:this.hbModalRef},React.createElement("div",{className:"modal-container"},React.createElement("div",{className:"modal-header"},React.createElement("h2",{className:"modal-title"},React.createElement(o,null)),React.createElement("div",{className:"react-modal-popup-close",onClick:this.closeModal})),React.createElement("div",{className:"modal-body"},n))))}}])&&r(a.prototype,n),u&&r(a,u),t}();t.a=u},function(e,t,a){"use strict";a(28);function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,a){return t&&r(e.prototype,t),a&&r(e,a),e}function i(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?s(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){function t(){var e;return o(this,t),(e=i(this,c(t).apply(this,arguments))).state={active:0,selected:!1},e.active=e.active.bind(s(e)),e.mapRender=e.mapRender.bind(s(e)),e}return u(t,React.Component),l(t,[{key:"active",value:function(e,t){e.preventDefault(),this.setState({active:t,selected:!0})}},{key:"mapRender",value:function(){var e=this,t=this.props,a=t.color,n=t.bgColor,o=t.children,r=!0===t.fullWidthTabs?" flex-tabs":"",l=[],i=[],c=!1,s="function"==typeof o.map?o:[o];return"function"==typeof s.map&&s.map((function(t,o){if(t&&p.name===t.type.name){var r=t.props,s=r.title,u=r.iconClass,f=r.className,d=t.props.children,y=t.props.color,b=t.props.bgColor,h="";!t.props.active||c||e.state.selected||(h="active",c=!0),o===e.state.active&&e.state.selected&&(h="active");var m={},g="";(a||y)&&(m.color=a||y),(n||b)&&(m.backgroundColor=n||b),(m.color||m.backgroundColor)&&(g=m),l.push(React.createElement("li",{key:"link-".concat(o),className:h},React.createElement("a",{href:"#tab-".concat(o),style:g,onClick:function(t){return e.active(t,o)}},u&&React.createElement("i",{className:u})," ".concat(s)))),i.push(React.createElement("div",{key:"tab-".concat(o),className:"tab ".concat(h," ").concat(f),style:g},d))}})),React.createElement("div",{className:"react-clean-tabs".concat(r)},React.createElement("ul",{className:"tab-links"},l),React.createElement("div",{className:"tabs-content"},i))}},{key:"render",value:function(){return this.mapRender()}}]),t}(),p=function(e){function t(){return o(this,t),i(this,c(t).apply(this,arguments))}return u(t,e),l(t,[{key:"render",value:function(){var e=this.props.children;return React.createElement("div",null,e)}}]),t}(d);d.Item=p,t.a=d},function(e){e.exports=JSON.parse('{"pricingtable":{"name":"hayyabuild/pricingtable","category":"hayyabuild","attributes":{"cleanStyle":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--clean-style","default":true},"zoomEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--zoom-effect","default":false},"opacityEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--opacity-effect","default":false},"gradientEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--gradient-effect","default":false},"shadowEffect":{"type":"boolean","source":"attribute","attribute":"class","selector":".hayyabuild-pricingtable--shadow-effect","default":false},"numOfplans":{"type":"number","default":"1"},"id":{"type":"string","default":""},"classesList":{"type":"string","default":""}},"deprecated":{"attributes":{}}},"pricingtableplan":{"name":"hayyabuild/pricingtableplan","category":"hayyabuild","attributes":{"ribbonText":{"type":"array","source":"children","selector":".hayyabuild-pricingtable__plan__header__ribbon span"},"headingText":{"type":"array","source":"children","selector":".hayyabuild-pricingtable__plan__header__heading"},"planIcon":{"typr":"string","source":"attribute","selector":".hayyabuild-pricingtable__plan__header__icon > i","attribute":"class"},"priceText":{"type":"string","source":"html","selector":".hayyabuild-pricingtable__plan__header__price"},"featuredPlan":{"type":"boolean","default":false},"ribbonTextColor":{"type":"string","default":"#fff"},"ribbonBgColor":{"type":"string","default":"#0097d4"},"id":{"type":"string","default":""},"classesList":{"type":"string","default":""}},"deprecated":{"attributes":{}}}}')},function(e){e.exports=JSON.parse('{"name":"hayyabuild/button","category":"hayyabuild","attributes":{"text":{"type":"array","source":"children","selector":"span"},"title":{"type":"string","source":"attribute","selector":"a","attribute":"title"},"link":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"align":{"type":"string"},"icon":{"type":"string","source":"attribute","selector":"a i","attribute":"class"},"newTab":{"type":"boolean","source":"attribute","selector":"a","attribute":"target"},"waveEffect":{"type":"boolean","default":true},"shadowffect":{"type":"boolean","default":true},"effectType":{"type":"string","default":"light"},"size":{"type":"number","default":3},"id":{"type":"string"},"classesList":{"type":"string","default":""},"style":{"type":"object","source":"attribute","selector":"a","attribute":"style"}}}')},function(e){e.exports=JSON.parse('{"name":"hayyabuild/social","category":"hayyabuild","attributes":{"align":{"type":"string","default":""},"size":{"type":"number","default":5},"shadow":{"type":"boolean","default":false},"facebook":{"type":"string","source":"attribute","selector":"a.facebook","attribute":"href"},"twitter":{"type":"string","source":"attribute","selector":"a.twitter","attribute":"href"},"linkedin":{"type":"string","source":"attribute","selector":"a.linkedin","attribute":"href"},"youtube":{"type":"string","source":"attribute","selector":"a.youtube","attribute":"href"},"vimeo":{"type":"string","source":"attribute","selector":"a.vimeo","attribute":"href"},"instagram":{"type":"string","source":"attribute","selector":"a.instagram","attribute":"href"},"pinterest":{"type":"string","source":"attribute","selector":"a.pinterest","attribute":"href"},"flickr":{"type":"string","source":"attribute","selector":"a.flickr","attribute":"href"},"github":{"type":"string","source":"attribute","selector":"a.github","attribute":"href"},"vk":{"type":"string","source":"attribute","selector":"a.vk","attribute":"href"},"tumblr":{"type":"string","source":"attribute","selector":"a.tumblr","attribute":"href"},"id":{"type":"string"},"classesList":{"type":"string","default":""},"style":{"type":"object","source":"attribute","selector":"xx","attribute":"xx"}}}')},function(e){e.exports=JSON.parse('{"name":"hayyabuild/progressbar","category":"hayyabuild","attributes":{"title":{"type":"array","source":"children","selector":"span.hayyabuild-progressbar__title"},"showProgressText":{"type":"boolean","default":true},"percent":{"type":"boolean","default":true},"animate":{"type":"boolean","default":false},"value":{"type":"number","default":50},"max":{"type":"number","default":100},"id":{"type":"string"},"classesList":{"type":"string","default":""},"style":{"type":"object","source":"attribute","selector":"xx","attribute":"xx"}}}')},function(e,t,a){"use strict"; 2 2 /* 3 3 object-assign 4 4 (c) Sindre Sorhus 5 5 @license MIT 6 */var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,r,c=i(e),s=1;s<arguments.length;s++){for(var u in a=Object(arguments[s]))o.call(a,u)&&(c[u]=a[u]);if(n){r=n(a);for(var f=0;f<r.length;f++)l.call(a,r[f])&&(c[r[f]]=a[r[f]])}}return c}},function(e,t,a){"use strict";e.exports=a(55)},function(e,t,a){e.exports=function(e,t){var a,n,o,l=0;function i(){var t,i,r=n,c=arguments.length;e:for(;r;){if(r.args.length===arguments.length){for(i=0;i<c;i++)if(r.args[i]!==arguments[i]){r=r.next;continue e}return r!==n&&(r===o&&(o=r.prev),r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n,r.prev=null,n.prev=r,n=r),r.val}r=r.next}for(t=new Array(c),i=0;i<c;i++)t[i]=arguments[i];return r={args:t,val:e.apply(null,t)},n?(n.prev=r,r.next=n):o=r,l===a?(o=o.prev).next=null:l++,n=r,r.val}return t&&t.maxSize&&(a=t.maxSize),i.clear=function(){n=null,o=null,l=0},i}},function(e,t){t.__esModule=!0,t.default={body:'<path fill-rule="evenodd" clip-rule="evenodd" fill="#FBF063" d="M7 22L50 0l43 22l-43 21.001L7 22z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#F29C1F" d="M50.003 42.997L7 22v54.28l43.006 21.714l-.003-54.997z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#F0C419" d="M50 97.994L93.006 76.28V22L50.003 42.997L50 97.994z"/><path opacity=".5" fill-rule="evenodd" clip-rule="evenodd" fill="#F29C1F" d="M27.036 11.705l42.995 21.498l2.263-1.105l-43.047-21.524z"/><path opacity=".5" fill-rule="evenodd" clip-rule="evenodd" fill="#fff" d="M21.318 14.674L63.3 36.505l15.99-7.809L35.788 7.271z"/><path opacity=".5" fill-rule="evenodd" clip-rule="evenodd" fill="#fff" d="M63.312 36.505l15.978-7.818v11l-15.978 8.817V36.505z"/>',width:100,height:100}},function(e,t){t.__esModule=!0,t.default={body:'<circle fill="#B2DFDB" cx="24" cy="31" r="14"/><g fill="#009688"><path d="M24 3.3L33 14H15z"/><path d="M21 11h6v23h-6z"/></g>',width:48,height:48}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M128 1024V128h896v896H128zm832-832H192v640h768V192zm-576 64q53 0 90.5 37.5T512 384t-37.5 90.5T384 512t-90-37.5t-38-90.5v-1q1-53 38-90t90-37zm47 337l174 175H256v-93l82-82q18-18 46.5-18t46.5 18zm259-128q18-18 46.5-18t46.5 18l113 113v190H695L542 615zM64 896H0V0h896v64H64v832z" fill="currentColor"/>',width:1024,height:1024}},function(e,t){t.__esModule=!0,t.default={body:'<g fill="currentColor" fill-rule="evenodd"><path d="M10.956 6.326c0 .35-.299.632-.669.632H1.689c-.371 0-.67-.282-.67-.632V.633c0-.35.299-.633.67-.633h8.598c.37 0 .669.283.669.633v5.693z"/><path d="M17 15.333a.669.669 0 0 1-.671.667H7.714a.668.668 0 0 1-.671-.667V8.666c0-.368.3-.666.671-.666h8.615c.37 0 .671.298.671.666v6.667z"/><path d="M5.976 15.333c0 .369-.3.667-.668.667H1.691a.668.668 0 0 1-.671-.667V8.666c0-.368.299-.666.671-.666h3.617c.368 0 .668.298.668.666v6.667z"/><path d="M17 6.345c0 .351-.324.634-.726.634h-3.528c-.398 0-.723-.283-.723-.634V.635c0-.352.324-.635.723-.635h3.528c.401 0 .726.283.726.635v5.71z"/></g>',width:17,height:16}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M22 14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4M4 14h4v-4H4v4m6 0h4v-4h-4v4m6 0h4v-4h-4v4z" fill="currentColor"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M62 52c0 5.5-4.5 10-10 10H12C6.5 62 2 57.5 2 52V12C2 6.5 6.5 2 12 2h40c5.5 0 10 4.5 10 10v40z" fill="#ff5a79"/><g fill="#fff"><path d="M28.1 45H32l-8.8-26h-4.4L10 45h3.9l3.1-9.1h8.1l3 9.1m-9.8-13l2.7-8.1l2.7 8.1h-5.4"/><path d="M52 26.5c0-4.1-2.2-7.5-6-7.5H36v26h9.2c3.8 0 6.8-3.4 6.8-7.5c0-2.2-.8-4.1-2.2-5.5c1.4-1.4 2.2-3.3 2.2-5.5m-6.8 14.4h-5.6v-6.8h5.6c1.7 0 3.1 1.5 3.1 3.4c0 1.8-1.4 3.4-3.1 3.4m0-10.9h-5.6v-6.8h5.6c1.7 0 3.1 1.5 3.1 3.4S46.9 30 45.2 30"/></g>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<path fill-rule="evenodd" clip-rule="evenodd" fill="#F2F2F2" d="M75 87.425L50 100L25 87.425L0 100V12.576L25 0l25 12.576L75 0l25 12.576V100L75 87.425z"/><path clip-rule="evenodd" stroke="#6BC9F2" stroke-width="4" stroke-miterlimit="10" d="M15 60V32l9.988-5.006L50 41l25-12l12 4" fill="none"/><path clip-rule="evenodd" stroke="#E64C3C" stroke-width="4" stroke-miterlimit="10" d="M15 61v-8l10-5l25 13l25-11l12-5V32" fill="none"/><path clip-rule="evenodd" stroke="#F29C1F" stroke-width="4" stroke-miterlimit="10" d="M15 61l35 18l17-8V43l20-10" fill="none"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#fff" d="M87 36.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5s3.5 1.57 3.5 3.5s-1.57 3.5-3.5 3.5z"/><path fill="#2980BA" d="M87 31c1.103 0 2 .897 2 2s-.897 2-2 2s-2-.897-2-2s.897-2 2-2m0-3a5 5 0 1 0 .001 10.001A5 5 0 0 0 87 28z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#fff" d="M15 64.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5s3.5 1.57 3.5 3.5s-1.57 3.5-3.5 3.5z"/><path fill="#2980BA" d="M15 59c1.103 0 2 .897 2 2s-.897 2-2 2s-2-.897-2-2s.897-2 2-2m0-3a5 5 0 1 0 .001 10.001A5 5 0 0 0 15 56z"/><path opacity=".15" fill-rule="evenodd" clip-rule="evenodd" fill="#2C3E50" d="M0 100l25-12.576V0L0 12.576V100zm50-87.424V100l25-12.576V0L50 12.576z"/>',width:100,height:100}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M8 18h3v-3H2v-2h20v2h-9v3h3l-4 4l-4-4m4-16L8 6h3v3H2v2h20V9h-9V6h3l-4-4z" fill="currentColor"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 0 0-11.3 0L403.6 366.3a7.23 7.23 0 0 0 5.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" fill="currentColor"/>',width:1024,height:1024}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M855.048 768h-87l-256 256V768h-343q-57 0-113-57t-56-115V172q0-58 56-115t113-57h686q57 0 113 57t56 115v424q0 58-56 115t-113 57zm-407-384q0-27-18.5-45.5t-45.5-18.5h-64v-64h32q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5h-96q-26 0-45 19t-19 45v256q0 26 19 45t45 19h128q26 0 45-19t19-45V384zm384 0q0-27-19-45.5t-45-18.5h-64v-64h32q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5h-96q-27 0-45.5 19t-18.5 45v256q0 26 18.5 45t45.5 19h128q26 0 45-18.5t19-45.5V384z" fill="currentColor"/>',width:1025,height:1024}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M5.9 62c-3.3 0-4.8-2.4-3.3-5.3L29.3 4.2c1.5-2.9 3.9-2.9 5.4 0l26.7 52.5c1.5 2.9 0 5.3-3.3 5.3H5.9z" fill="#ffce31"/><g fill="#231f20"><path d="M27.8 23.6l2.8 18.5c.3 1.8 2.6 1.8 2.9 0l2.7-18.5c.5-7.2-8.9-7.2-8.4 0"/><circle cx="32" cy="49.6" r="4.2"/></g>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M896.428 1024h-640q-53 0-90.5-37.5t-37.5-90.5V384q-53 0-90.5-37.5T.428 256V128q0-53 37.5-90.5t90.5-37.5h768q53 0 90.5 37.5t37.5 90.5v768q0 53-37.5 90.5t-90.5 37.5zm-12-928h-296q-8 0-11 14.5t5 23.5l135 177q8 9 19 9t19-9l135-177q8-9 5-23.5t-11-14.5zm12 288h-640v128h640V384zm0 192h-640v128h640V576zm0 192h-640v96q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5-9.5t9.5-22.5v-96z" fill="currentColor"/>',width:1025,height:1024}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5.5-.5zM6 14h4v1H6v-1z" fill="currentColor"/>',width:20,height:20}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M10.001 7.8a2.2 2.2 0 1 0 0 4.402A2.2 2.2 0 0 0 10 7.8zm-7 0a2.2 2.2 0 1 0 0 4.402A2.2 2.2 0 0 0 3 7.8zm14 0a2.2 2.2 0 1 0 0 4.402A2.2 2.2 0 0 0 17 7.8z" fill="currentColor"/>',width:20,height:20}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M10 .188A9.812 9.812 0 0 0 .187 10A9.812 9.812 0 0 0 10 19.813c2.29 0 4.393-.811 6.063-2.125l.875.875a1.845 1.845 0 0 0 .343 2.156l4.594 4.625c.713.714 1.88.714 2.594 0l.875-.875a1.84 1.84 0 0 0 0-2.594l-4.625-4.594a1.824 1.824 0 0 0-2.157-.312l-.875-.875A9.812 9.812 0 0 0 10 .188zM10 2a8 8 0 1 1 0 16a8 8 0 0 1 0-16zM4.937 7.469a5.446 5.446 0 0 0-.812 2.875a5.46 5.46 0 0 0 5.469 5.469a5.516 5.516 0 0 0 3.156-1a7.166 7.166 0 0 1-.75.03a7.045 7.045 0 0 1-7.063-7.062c0-.104-.005-.208 0-.312z" fill="currentColor"/>',width:26,height:26}},function(e,t){t.__esModule=!0,t.default={body:'<path fill="#d0d1d2" d="M57.792 58.54c0 3.02-2.697 5.46-6.03 5.46H13.29c-3.33 0-6.03-2.441-6.03-5.46V9.31c0-3.01 2.703-5.462 6.03-5.462h38.472c3.335 0 6.03 2.448 6.03 5.462v49.23"/><path fill="#e7e6e6" d="M57.792 54.688c0 3.02-2.697 5.463-6.03 5.463H13.29c-3.33 0-6.03-2.445-6.03-5.463V5.458c0-3.01 2.703-5.459 6.03-5.459h38.472c3.335 0 6.03 2.446 6.03 5.459v49.23"/><g fill="#35494d"><path d="M14.863 13.232h34.23c2.301 0 2.301-3.228 0-3.228h-34.23c-2.298 0-2.298 3.228 0 3.228"/><path d="M14.863 19.783h34.23c2.301 0 2.301-3.224 0-3.224h-34.23c-2.298 0-2.298 3.224 0 3.224"/><path d="M14.863 26.482h34.23c2.301 0 2.301-3.224 0-3.224h-34.23c-2.298 0-2.298 3.224 0 3.224"/><path d="M14.863 33.03h34.23c2.301 0 2.301-3.227 0-3.227h-34.23c-2.298 0-2.298 3.227 0 3.227"/><path d="M14.863 56.727h15.75c2.301 0 2.301-3.229 0-3.229h-15.75c-2.298 0-2.298 3.229 0 3.229"/></g>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z" fill="currentColor"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm2 4v-2H3a2 2 0 0 0 2 2zM3 9h2V7H3v2zm12 12h2v-2h-2v2zm4-18H9a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12H9V5h10v10zm-8 6h2v-2h-2v2zm-4 0h2v-2H7v2z" fill="currentColor"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<path fill="currentColor" d="M0 4v8h16V4H0zm15 7H1V7h14v4z"/><path fill="currentColor" d="M0 0h16v3H0V0z"/><path fill="currentColor" d="M0 13h16v3H0v-3z"/>',width:16,height:16}},function(e,t){t.__esModule=!0,t.default={body:'<linearGradient id="ssvg-id-bookmark-tabsa" x1="65.332" x2="65.332" y1="10.969" y2="124.38" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" offset="0"/><stop stop-color="#FDFDFD" offset=".386"/><stop stop-color="#F5F5F5" offset=".588"/><stop stop-color="#E7E7E7" offset=".747"/><stop stop-color="#D5D5D5" offset=".882"/><stop stop-color="#BDBDBD" offset="1"/></linearGradient><path d="M102.24 123.88H28.42c-2.21 0-4-1.79-4-4V14.79c0-2.21 1.79-4 4-4h73.82c2.21 0 4 1.79 4 4v105.09c0 2.21-1.79 4-4 4z" fill="url(#ssvg-id-bookmark-tabsa)"/><path d="M102.24 13.64c.64 0 1.15.52 1.15 1.15v105.09c0 .64-.52 1.15-1.15 1.15H28.42c-.64 0-1.15-.52-1.15-1.15V14.79c0-.64.52-1.15 1.15-1.15h73.82m0-2.85H28.42c-2.21 0-4 1.79-4 4v105.09c0 2.21 1.79 4 4 4h73.82c2.21 0 4-1.79 4-4V14.79c0-2.2-1.79-4-4-4z" fill="#424242" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsb" x1="84.916" x2="119.97" y1="99.397" y2="99.397" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabsb)" d="M84.92 93.26h35.06v12.27H84.92z"/><path fill="#4480F7" d="M103.51 93.26h16.47v12.27h-16.47z"/><path d="M117.78 95.45v7.89H87.11v-7.89h30.67m2.19-2.19H84.92v12.27h35.06V93.26h-.01z" fill="#757575" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsc" x1="84.916" x2="119.97" y1="41.803" y2="41.803" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabsc)" d="M84.92 35.67h35.06v12.27H84.92z"/><path fill="#FBBE00" d="M103.51 35.67h16.47v12.27h-16.47z"/><path d="M117.78 37.86v7.89H87.11v-7.89h30.67m2.19-2.19H84.92v12.27h35.06V35.67h-.01z" fill="#757575" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsd" x1="52.444" x2="52.444" y1="4.17" y2="114.61" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" offset="0"/><stop stop-color="#FDFDFD" offset=".386"/><stop stop-color="#F5F5F5" offset=".588"/><stop stop-color="#E7E7E7" offset=".747"/><stop stop-color="#D5D5D5" offset=".882"/><stop stop-color="#BDBDBD" offset="1"/></linearGradient><path d="M91.35 114.13H13.54c-2.21 0-4-1.79-4-4V8c0-2.21 1.79-4 4-4h77.81c2.21 0 4 1.79 4 4v102.13c0 2.21-1.79 4-4 4z" fill="url(#ssvg-id-bookmark-tabsd)"/><path d="M91.35 6.88c.62 0 1.12.5 1.12 1.12v102.13c0 .62-.5 1.12-1.12 1.12H13.54c-.62 0-1.12-.5-1.12-1.12V8c0-.62.5-1.12 1.12-1.12h77.81m0-2.88H13.54c-2.21 0-4 1.79-4 4v102.13c0 2.21 1.79 4 4 4h77.81c2.21 0 4-1.79 4-4V8c0-2.21-1.79-4-4-4z" fill="#424242" opacity=".2"/><g fill="none" stroke="#757575" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="3.797"><path d="M21.6 30.48h61.69"/><path d="M21.6 44.25h61.69"/><path d="M21.6 58.03h61.69"/><path d="M21.6 71.81h61.69"/><path d="M21.6 85.58h26.38"/></g><linearGradient id="ssvg-id-bookmark-tabse" x1="78.71" x2="113.77" y1="19.988" y2="19.988" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabse)" d="M78.71 13.85h35.06v12.27H78.71z"/><path fill="#EC4431" d="M97.3 13.85h16.47v12.27H97.3z"/><path d="M111.58 16.04v7.89H80.9v-7.89h30.68m2.19-2.19H78.71v12.27h35.06V13.85z" fill="#757575" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsf" x1="78.71" x2="113.77" y1="72.882" y2="72.882" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabsf)" d="M78.71 66.75h35.06v12.27H78.71z"/><path fill="#2CA94F" d="M97.3 66.75h16.47v12.27H97.3z"/><path d="M111.58 68.94v7.89H80.9v-7.89h30.68m2.19-2.19H78.71v12.27h35.06V66.75z" fill="#757575" opacity=".2"/>',width:128,height:128}},function(e,t){t.__esModule=!0,t.default={body:'<path fill="#d0d2d3" d="M39.972 48.14c0 2.097-1.936 3.788-4.334 3.788H8.012c-2.395 0-4.334-1.691-4.334-3.788V14.01c0-2.092 1.938-3.789 4.334-3.789H35.64c2.396 0 4.334 1.696 4.334 3.789v34.13h-.002"/><path fill="#fff" d="M37.742 45.22c0 1.834-1.701 3.322-3.8 3.322H9.712c-2.1 0-3.801-1.488-3.801-3.322V15.284c0-1.833 1.702-3.318 3.801-3.318h24.23c2.099 0 3.8 1.486 3.8 3.318V45.22"/><g fill="#34484c"><path d="M10.702 20.01h21.56c1.446 0 1.446-1.963 0-1.963h-21.56c-1.451 0-1.451 1.963 0 1.963"/><path d="M10.702 23.995h21.56c1.446 0 1.446-1.959 0-1.959h-21.56c-1.451 0-1.451 1.959 0 1.959"/><path d="M10.702 28.07h21.56c1.446 0 1.446-1.961 0-1.961h-21.56c-1.451 0-1.451 1.961 0 1.961"/><path d="M10.702 32.06h21.56c1.446 0 1.446-1.963 0-1.963h-21.56c-1.451-.002-1.451 1.963 0 1.963"/><path d="M10.702 46.46h9.921c1.446 0 1.446-1.963 0-1.963h-9.921c-1.451 0-1.451 1.963 0 1.963"/></g><path fill="#20afc3" d="M21.482 11.966c0 3.078-2.556 5.575-5.702 5.575h-9.1c-3.149 0-5.702-2.497-5.702-5.575c0-3.079 2.552-5.573 5.702-5.573h9.09c3.147 0 5.703 2.494 5.703 5.573"/><path fill="#d0d2d3" d="M51.5 39.1c0 2.093-1.94 3.789-4.332 3.789H19.535c-2.392 0-4.332-1.696-4.332-3.789V4.97c0-2.09 1.94-3.786 4.332-3.786h27.633c2.392 0 4.332 1.696 4.332 3.786V39.1"/><path fill="#fff" d="M49.27 36.19c0 1.834-1.701 3.321-3.8 3.321H21.24c-2.098 0-3.798-1.487-3.798-3.321V6.251c0-1.833 1.7-3.316 3.798-3.316h24.23c2.099 0 3.8 1.485 3.8 3.316V36.19"/><g fill="#34484c"><path d="M22.22 10.972h21.556c1.452 0 1.452-1.961 0-1.961H22.22c-1.447 0-1.447 1.961 0 1.961"/><path d="M22.22 14.959h21.556c1.452 0 1.452-1.963 0-1.963H22.22c-1.447 0-1.447 1.963 0 1.963"/><path d="M22.22 19.03h21.556c1.452 0 1.452-1.963 0-1.963H22.22c-1.447 0-1.447 1.963 0 1.963"/><path d="M22.22 23.02h21.556c1.452 0 1.452-1.961 0-1.961H22.22c-1.447 0-1.447 1.961 0 1.961"/><path d="M22.22 37.424h9.922c1.446 0 1.446-1.963 0-1.963H22.22c-1.447 0-1.447 1.963 0 1.963"/></g><path fill="#20afc3" d="M33.35 33.03c0 3.079-2.555 5.575-5.701 5.575h-9.09c-3.152 0-5.703-2.496-5.703-5.575c0-3.078 2.55-5.572 5.703-5.572h9.09c3.147 0 5.701 2.494 5.701 5.572"/><path fill="#d0d2d3" d="M63.02 59.13c0 2.095-1.939 3.786-4.332 3.786H31.057c-2.395 0-4.336-1.691-4.336-3.786V25c0-2.092 1.941-3.789 4.336-3.789h27.632c2.394 0 4.331 1.695 4.331 3.789v34.13"/><path fill="#fff" d="M60.79 56.22c0 1.835-1.705 3.32-3.803 3.32h-24.23c-2.098 0-3.802-1.485-3.802-3.32V26.285c0-1.835 1.705-3.319 3.802-3.319h24.23c2.098 0 3.803 1.484 3.803 3.319V56.22"/><g fill="#34484c"><path d="M33.746 31.01h21.562c1.447 0 1.447-1.965 0-1.965H33.746c-1.447 0-1.447 1.965 0 1.965"/><path d="M33.746 34.993h21.562c1.447 0 1.447-1.961 0-1.961H33.746c-1.447 0-1.447 1.961 0 1.961"/><path d="M33.746 39.07h21.562c1.447 0 1.447-1.961 0-1.961H33.746c-1.447 0-1.447 1.961 0 1.961"/><path d="M33.746 43.05h21.562c1.447 0 1.447-1.962 0-1.962H33.746c-1.447 0-1.447 1.962 0 1.962"/><path d="M33.746 57.46h9.925c1.446 0 1.446-1.961 0-1.961h-9.925c-1.447 0-1.447 1.961 0 1.961"/></g>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M5.534 12.57a1 1 0 1 1 .733 1.86A3.579 3.579 0 0 0 4 17.76v1.74a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1.647a3.658 3.658 0 0 0-2.356-3.419a1 1 0 1 1 .712-1.868A5.658 5.658 0 0 1 16 17.853V19.5a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-1.74a5.579 5.579 0 0 1 3.534-5.19zM9 2.5a4 4 0 0 1 4 4v2a4 4 0 1 1-8 0v-2a4 4 0 0 1 4-4zm0 2a2 2 0 0 0-2 2v2a2 2 0 1 0 4 0v-2a2 2 0 0 0-2-2zm9 17a1 1 0 0 1 0-2h1a1 1 0 0 0 1-1v-1.838a3.387 3.387 0 0 0-2.316-3.213a1 1 0 1 1 .632-1.898A5.387 5.387 0 0 1 22 16.662V18.5a3 3 0 0 1-3 3h-1zm-3-18a1 1 0 0 1 0-2a4 4 0 0 1 4 4v2a4 4 0 0 1-4 4a1 1 0 0 1 0-2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2z" fill="currentColor"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<circle cx="32" cy="32" r="30" fill="#4fd1d9"/><path fill="#fff" d="M14 18l11.9 12.7H14L32 50l18-19.3H38.1L50 18z"/>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<circle cx="32" cy="32" r="30" fill="#4fd1d9"/><path fill="#fff" d="M50 46L38.1 33.3H50L32 14L14 33.3h11.9L14 46z"/>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm0 2v3h16V6H4zm0 5v7h16v-7H4zm2 3v2h4v-2H6zm6 0v2h4v-2h-4z" fill="currentColor" fill-rule="nonzero"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M16 2H7.979C6.88 2 6 2.88 6 3.98V12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 10H8V4h8v8zM4 10H2v6c0 1.1.9 2 2 2h6v-2H4v-6z" fill="currentColor"/>',width:20,height:20}},function(e,t){t.__esModule=!0,t.default={body:'<g fill="#3F51B5"><path d="M17.8 18.1l-7.4 7.3l-4.2-4.1L4 23.5l6.4 6.4l9.6-9.6z"/><path d="M17.8 5.1l-7.4 7.3l-4.2-4.1L4 10.5l6.4 6.4L20 7.3z"/><path d="M17.8 31.1l-7.4 7.3l-4.2-4.1L4 36.5l6.4 6.4l9.6-9.6z"/></g><g fill="#90CAF9"><path d="M24 22h20v4H24z"/><path d="M24 9h20v4H24z"/><path d="M24 35h20v4H24z"/></g>',width:48,height:48}},function(e,t){t.__esModule=!0,t.default={body:'<path fill="#43A047" d="M40.6 12.1L17 35.7l-9.6-9.6L4.6 29L17 41.3l26.4-26.4z"/>',width:48,height:48}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M12.825 10.653c.118-.258.445-.497.727-.529s.539-.29.571-.572c.034-.28.272-.608.529-.727a.69.69 0 0 0 .369-.72c-.058-.278.068-.663.276-.854a.689.689 0 0 0 .127-.801a1.017 1.017 0 0 1 0-.897a.688.688 0 0 0-.127-.801c-.208-.193-.333-.577-.276-.854a.691.691 0 0 0-.369-.722a1.03 1.03 0 0 1-.529-.727a.689.689 0 0 0-.571-.572a1.024 1.024 0 0 1-.727-.528a.686.686 0 0 0-.722-.366a1.024 1.024 0 0 1-.854-.278c-.193-.21-.553-.266-.8-.127s-.652.139-.898 0a.684.684 0 0 0-.801.125a1.022 1.022 0 0 1-.854.278a.685.685 0 0 0-.72.367c-.119.256-.446.495-.728.527a.69.69 0 0 0-.572.573a1.023 1.023 0 0 1-.529.726a.69.69 0 0 0-.366.722c.055.277-.07.662-.278.854s-.266.552-.127.801c.139.246.139.651 0 .897a.69.69 0 0 0 .127.802c.209.19.333.575.278.854a.687.687 0 0 0 .366.72c.258.119.495.447.528.727c.034.282.29.54.572.572s.609.272.728.529a.688.688 0 0 0 .72.366c.278-.055.663.069.854.278a.69.69 0 0 0 .801.127c.246-.139.651-.139.898 0s.607.081.8-.127c.193-.21.576-.333.854-.278a.69.69 0 0 0 .723-.365zM10 9.399a3.4 3.4 0 1 1 0-6.8a3.4 3.4 0 0 1 0 6.8zm-4.025 2.01l-1.243 7.049l3.128-.464l2.781 1.506l1.238-7.021a6.707 6.707 0 0 1-5.904-1.07zm7.986.048a6.741 6.741 0 0 1-.99.597l-.748 4.236l3.369-1.828l-1.631-3.005z" fill="currentColor"/>',width:20,height:20}},function(e,t){t.__esModule=!0,t.default={body:'<g fill="#00BCD4"><path d="M19 22h10v20H19z"/><path d="M6 12h10v30H6z"/><path d="M32 6h10v36H32z"/></g>',width:48,height:48}},function(e,t,a){function n(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="HayyaBuil",this.description="HayyaBuild allows you to build unlimited headers,",this.version="5.6",this.helper=a(0).H,this._initializer()}var t,o,l;return t=e,(o=[{key:"_initializer",value:function(){var e=window.hayyabuild_type||"",t=a(61),n=a(62),o=a(87),l=a(86),i=a(88),r=a(63),c=a(89),s=a(64),u=a(65),f=a(85),d=a(66),p=a(90),y=a(67),b=a(68),h=a(69),m=a(70),g=a(71),v=a(72),k=a(91),E=a(73),w=a(92),_=a(93),x=a(94),R=a(95),C=a(74),S=a(77),O=a(78),L=a(96),N=a(79),H=[h,m,t,l,i,r,c,s,u,k,E,w,_,a(80),a(81),x,R,L,N,f,p,d,y,o,g,C,a(82),a(83),a(84)];"header"===e?H=H.concat([S,b,n]):"content"===e?H=H.concat([v]):"footer"===e&&(H=H.concat([O])),H.forEach((function(e){var t=e.name,a=e.settings;wp.blocks.registerBlockType(t,a)})),wp.data.subscribe(this.helper.hayyabuildSubscribe)}}])&&n(t.prototype,o),l&&n(t,l),e}());document.addEventListener("DOMContentLoaded",(function(){return o.helper.setHeadStyle()}))},function(e,t,a){"use strict"; 6 */var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function l(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,i,c=l(e),s=1;s<arguments.length;s++){for(var u in a=Object(arguments[s]))o.call(a,u)&&(c[u]=a[u]);if(n){i=n(a);for(var f=0;f<i.length;f++)r.call(a,i[f])&&(c[i[f]]=a[i[f]])}}return c}},function(e,t,a){"use strict";e.exports=a(37)},function(e,t,a){"use strict";e.exports=a(36)},function(e,t,a){e.exports=function(e,t){var a,n,o,r=0;function l(){var t,l,i=n,c=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(l=0;l<c;l++)if(i.args[l]!==arguments[l]){i=i.next;continue e}return i!==n&&(i===o&&(o=i.prev),i.prev.next=i.next,i.next&&(i.next.prev=i.prev),i.next=n,i.prev=null,n.prev=i,n=i),i.val}i=i.next}for(t=new Array(c),l=0;l<c;l++)t[l]=arguments[l];return i={args:t,val:e.apply(null,t)},n?(n.prev=i,i.next=n):o=i,r===a?(o=o.prev).next=null:r++,n=i,i.val}return t&&t.maxSize&&(a=t.maxSize),l.clear=function(){n=null,o=null,r=0},l}},function(e,t){t.__esModule=!0,t.default={body:'<circle fill="#B2DFDB" cx="24" cy="31" r="14"/><g fill="#009688"><path d="M24 3.3L33 14H15z"/><path d="M21 11h6v23h-6z"/></g>',width:48,height:48}},function(e,t){t.__esModule=!0,t.default={body:'<g fill="currentColor" fill-rule="evenodd"><path d="M10.956 6.326c0 .35-.299.632-.669.632H1.689c-.371 0-.67-.282-.67-.632V.633c0-.35.299-.633.67-.633h8.598c.37 0 .669.283.669.633v5.693z"/><path d="M17 15.333a.669.669 0 0 1-.671.667H7.714a.668.668 0 0 1-.671-.667V8.666c0-.368.3-.666.671-.666h8.615c.37 0 .671.298.671.666v6.667z"/><path d="M5.976 15.333c0 .369-.3.667-.668.667H1.691a.668.668 0 0 1-.671-.667V8.666c0-.368.299-.666.671-.666h3.617c.368 0 .668.298.668.666v6.667z"/><path d="M17 6.345c0 .351-.324.634-.726.634h-3.528c-.398 0-.723-.283-.723-.634V.635c0-.352.324-.635.723-.635h3.528c.401 0 .726.283.726.635v5.71z"/></g>',width:17,height:16}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M22 14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4M4 14h4v-4H4v4m6 0h4v-4h-4v4m6 0h4v-4h-4v4z" fill="currentColor"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M62 52c0 5.5-4.5 10-10 10H12C6.5 62 2 57.5 2 52V12C2 6.5 6.5 2 12 2h40c5.5 0 10 4.5 10 10v40z" fill="#ff5a79"/><g fill="#fff"><path d="M28.1 45H32l-8.8-26h-4.4L10 45h3.9l3.1-9.1h8.1l3 9.1m-9.8-13l2.7-8.1l2.7 8.1h-5.4"/><path d="M52 26.5c0-4.1-2.2-7.5-6-7.5H36v26h9.2c3.8 0 6.8-3.4 6.8-7.5c0-2.2-.8-4.1-2.2-5.5c1.4-1.4 2.2-3.3 2.2-5.5m-6.8 14.4h-5.6v-6.8h5.6c1.7 0 3.1 1.5 3.1 3.4c0 1.8-1.4 3.4-3.1 3.4m0-10.9h-5.6v-6.8h5.6c1.7 0 3.1 1.5 3.1 3.4S46.9 30 45.2 30"/></g>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M8 18h3v-3H2v-2h20v2h-9v3h3l-4 4l-4-4m4-16L8 6h3v3H2v2h20V9h-9V6h3l-4-4z" fill="currentColor"/>',width:24,height:24}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 0 0-11.3 0L403.6 366.3a7.23 7.23 0 0 0 5.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" fill="currentColor"/>',width:1024,height:1024}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M855.048 768h-87l-256 256V768h-343q-57 0-113-57t-56-115V172q0-58 56-115t113-57h686q57 0 113 57t56 115v424q0 58-56 115t-113 57zm-407-384q0-27-18.5-45.5t-45.5-18.5h-64v-64h32q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5h-96q-26 0-45 19t-19 45v256q0 26 19 45t45 19h128q26 0 45-19t19-45V384zm384 0q0-27-19-45.5t-45-18.5h-64v-64h32q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5h-96q-27 0-45.5 19t-18.5 45v256q0 26 18.5 45t45.5 19h128q26 0 45-18.5t19-45.5V384z" fill="currentColor"/>',width:1025,height:1024}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5.5-.5zM6 14h4v1H6v-1z" fill="currentColor"/>',width:20,height:20}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M10 .188A9.812 9.812 0 0 0 .187 10A9.812 9.812 0 0 0 10 19.813c2.29 0 4.393-.811 6.063-2.125l.875.875a1.845 1.845 0 0 0 .343 2.156l4.594 4.625c.713.714 1.88.714 2.594 0l.875-.875a1.84 1.84 0 0 0 0-2.594l-4.625-4.594a1.824 1.824 0 0 0-2.157-.312l-.875-.875A9.812 9.812 0 0 0 10 .188zM10 2a8 8 0 1 1 0 16a8 8 0 0 1 0-16zM4.937 7.469a5.446 5.446 0 0 0-.812 2.875a5.46 5.46 0 0 0 5.469 5.469a5.516 5.516 0 0 0 3.156-1a7.166 7.166 0 0 1-.75.03a7.045 7.045 0 0 1-7.063-7.062c0-.104-.005-.208 0-.312z" fill="currentColor"/>',width:26,height:26}},function(e,t){t.__esModule=!0,t.default={body:'<linearGradient id="ssvg-id-bookmark-tabsa" x1="65.332" x2="65.332" y1="10.969" y2="124.38" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" offset="0"/><stop stop-color="#FDFDFD" offset=".386"/><stop stop-color="#F5F5F5" offset=".588"/><stop stop-color="#E7E7E7" offset=".747"/><stop stop-color="#D5D5D5" offset=".882"/><stop stop-color="#BDBDBD" offset="1"/></linearGradient><path d="M102.24 123.88H28.42c-2.21 0-4-1.79-4-4V14.79c0-2.21 1.79-4 4-4h73.82c2.21 0 4 1.79 4 4v105.09c0 2.21-1.79 4-4 4z" fill="url(#ssvg-id-bookmark-tabsa)"/><path d="M102.24 13.64c.64 0 1.15.52 1.15 1.15v105.09c0 .64-.52 1.15-1.15 1.15H28.42c-.64 0-1.15-.52-1.15-1.15V14.79c0-.64.52-1.15 1.15-1.15h73.82m0-2.85H28.42c-2.21 0-4 1.79-4 4v105.09c0 2.21 1.79 4 4 4h73.82c2.21 0 4-1.79 4-4V14.79c0-2.2-1.79-4-4-4z" fill="#424242" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsb" x1="84.916" x2="119.97" y1="99.397" y2="99.397" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabsb)" d="M84.92 93.26h35.06v12.27H84.92z"/><path fill="#4480F7" d="M103.51 93.26h16.47v12.27h-16.47z"/><path d="M117.78 95.45v7.89H87.11v-7.89h30.67m2.19-2.19H84.92v12.27h35.06V93.26h-.01z" fill="#757575" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsc" x1="84.916" x2="119.97" y1="41.803" y2="41.803" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabsc)" d="M84.92 35.67h35.06v12.27H84.92z"/><path fill="#FBBE00" d="M103.51 35.67h16.47v12.27h-16.47z"/><path d="M117.78 37.86v7.89H87.11v-7.89h30.67m2.19-2.19H84.92v12.27h35.06V35.67h-.01z" fill="#757575" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsd" x1="52.444" x2="52.444" y1="4.17" y2="114.61" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" offset="0"/><stop stop-color="#FDFDFD" offset=".386"/><stop stop-color="#F5F5F5" offset=".588"/><stop stop-color="#E7E7E7" offset=".747"/><stop stop-color="#D5D5D5" offset=".882"/><stop stop-color="#BDBDBD" offset="1"/></linearGradient><path d="M91.35 114.13H13.54c-2.21 0-4-1.79-4-4V8c0-2.21 1.79-4 4-4h77.81c2.21 0 4 1.79 4 4v102.13c0 2.21-1.79 4-4 4z" fill="url(#ssvg-id-bookmark-tabsd)"/><path d="M91.35 6.88c.62 0 1.12.5 1.12 1.12v102.13c0 .62-.5 1.12-1.12 1.12H13.54c-.62 0-1.12-.5-1.12-1.12V8c0-.62.5-1.12 1.12-1.12h77.81m0-2.88H13.54c-2.21 0-4 1.79-4 4v102.13c0 2.21 1.79 4 4 4h77.81c2.21 0 4-1.79 4-4V8c0-2.21-1.79-4-4-4z" fill="#424242" opacity=".2"/><g fill="none" stroke="#757575" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="3.797"><path d="M21.6 30.48h61.69"/><path d="M21.6 44.25h61.69"/><path d="M21.6 58.03h61.69"/><path d="M21.6 71.81h61.69"/><path d="M21.6 85.58h26.38"/></g><linearGradient id="ssvg-id-bookmark-tabse" x1="78.71" x2="113.77" y1="19.988" y2="19.988" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabse)" d="M78.71 13.85h35.06v12.27H78.71z"/><path fill="#EC4431" d="M97.3 13.85h16.47v12.27H97.3z"/><path d="M111.58 16.04v7.89H80.9v-7.89h30.68m2.19-2.19H78.71v12.27h35.06V13.85z" fill="#757575" opacity=".2"/><linearGradient id="ssvg-id-bookmark-tabsf" x1="78.71" x2="113.77" y1="72.882" y2="72.882" gradientUnits="userSpaceOnUse"><stop stop-color="#E0E0E0" offset=".013"/><stop stop-color="#EAEAEA" offset=".094"/><stop stop-color="#F6F6F6" offset=".249"/><stop stop-color="#FDFDFD" offset=".463"/><stop stop-color="#fff" offset="1"/></linearGradient><path fill="url(#ssvg-id-bookmark-tabsf)" d="M78.71 66.75h35.06v12.27H78.71z"/><path fill="#2CA94F" d="M97.3 66.75h16.47v12.27H97.3z"/><path d="M111.58 68.94v7.89H80.9v-7.89h30.68m2.19-2.19H78.71v12.27h35.06V66.75z" fill="#757575" opacity=".2"/>',width:128,height:128}},function(e,t){t.__esModule=!0,t.default={body:'<path fill="#d0d2d3" d="M39.972 48.14c0 2.097-1.936 3.788-4.334 3.788H8.012c-2.395 0-4.334-1.691-4.334-3.788V14.01c0-2.092 1.938-3.789 4.334-3.789H35.64c2.396 0 4.334 1.696 4.334 3.789v34.13h-.002"/><path fill="#fff" d="M37.742 45.22c0 1.834-1.701 3.322-3.8 3.322H9.712c-2.1 0-3.801-1.488-3.801-3.322V15.284c0-1.833 1.702-3.318 3.801-3.318h24.23c2.099 0 3.8 1.486 3.8 3.318V45.22"/><g fill="#34484c"><path d="M10.702 20.01h21.56c1.446 0 1.446-1.963 0-1.963h-21.56c-1.451 0-1.451 1.963 0 1.963"/><path d="M10.702 23.995h21.56c1.446 0 1.446-1.959 0-1.959h-21.56c-1.451 0-1.451 1.959 0 1.959"/><path d="M10.702 28.07h21.56c1.446 0 1.446-1.961 0-1.961h-21.56c-1.451 0-1.451 1.961 0 1.961"/><path d="M10.702 32.06h21.56c1.446 0 1.446-1.963 0-1.963h-21.56c-1.451-.002-1.451 1.963 0 1.963"/><path d="M10.702 46.46h9.921c1.446 0 1.446-1.963 0-1.963h-9.921c-1.451 0-1.451 1.963 0 1.963"/></g><path fill="#20afc3" d="M21.482 11.966c0 3.078-2.556 5.575-5.702 5.575h-9.1c-3.149 0-5.702-2.497-5.702-5.575c0-3.079 2.552-5.573 5.702-5.573h9.09c3.147 0 5.703 2.494 5.703 5.573"/><path fill="#d0d2d3" d="M51.5 39.1c0 2.093-1.94 3.789-4.332 3.789H19.535c-2.392 0-4.332-1.696-4.332-3.789V4.97c0-2.09 1.94-3.786 4.332-3.786h27.633c2.392 0 4.332 1.696 4.332 3.786V39.1"/><path fill="#fff" d="M49.27 36.19c0 1.834-1.701 3.321-3.8 3.321H21.24c-2.098 0-3.798-1.487-3.798-3.321V6.251c0-1.833 1.7-3.316 3.798-3.316h24.23c2.099 0 3.8 1.485 3.8 3.316V36.19"/><g fill="#34484c"><path d="M22.22 10.972h21.556c1.452 0 1.452-1.961 0-1.961H22.22c-1.447 0-1.447 1.961 0 1.961"/><path d="M22.22 14.959h21.556c1.452 0 1.452-1.963 0-1.963H22.22c-1.447 0-1.447 1.963 0 1.963"/><path d="M22.22 19.03h21.556c1.452 0 1.452-1.963 0-1.963H22.22c-1.447 0-1.447 1.963 0 1.963"/><path d="M22.22 23.02h21.556c1.452 0 1.452-1.961 0-1.961H22.22c-1.447 0-1.447 1.961 0 1.961"/><path d="M22.22 37.424h9.922c1.446 0 1.446-1.963 0-1.963H22.22c-1.447 0-1.447 1.963 0 1.963"/></g><path fill="#20afc3" d="M33.35 33.03c0 3.079-2.555 5.575-5.701 5.575h-9.09c-3.152 0-5.703-2.496-5.703-5.575c0-3.078 2.55-5.572 5.703-5.572h9.09c3.147 0 5.701 2.494 5.701 5.572"/><path fill="#d0d2d3" d="M63.02 59.13c0 2.095-1.939 3.786-4.332 3.786H31.057c-2.395 0-4.336-1.691-4.336-3.786V25c0-2.092 1.941-3.789 4.336-3.789h27.632c2.394 0 4.331 1.695 4.331 3.789v34.13"/><path fill="#fff" d="M60.79 56.22c0 1.835-1.705 3.32-3.803 3.32h-24.23c-2.098 0-3.802-1.485-3.802-3.32V26.285c0-1.835 1.705-3.319 3.802-3.319h24.23c2.098 0 3.803 1.484 3.803 3.319V56.22"/><g fill="#34484c"><path d="M33.746 31.01h21.562c1.447 0 1.447-1.965 0-1.965H33.746c-1.447 0-1.447 1.965 0 1.965"/><path d="M33.746 34.993h21.562c1.447 0 1.447-1.961 0-1.961H33.746c-1.447 0-1.447 1.961 0 1.961"/><path d="M33.746 39.07h21.562c1.447 0 1.447-1.961 0-1.961H33.746c-1.447 0-1.447 1.961 0 1.961"/><path d="M33.746 43.05h21.562c1.447 0 1.447-1.962 0-1.962H33.746c-1.447 0-1.447 1.962 0 1.962"/><path d="M33.746 57.46h9.925c1.446 0 1.446-1.961 0-1.961h-9.925c-1.447 0-1.447 1.961 0 1.961"/></g>',width:64,height:64}},function(e,t){t.__esModule=!0,t.default={body:'<path d="M5.534 12.57a1 1 0 1 1 .733 1.86A3.579 3.579 0 0 0 4 17.76v1.74a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1.647a3.658 3.658 0 0 0-2.356-3.419a1 1 0 1 1 .712-1.868A5.658 5.658 0 0 1 16 17.853V19.5a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-1.74a5.579 5.579 0 0 1 3.534-5.19zM9 2.5a4 4 0 0 1 4 4v2a4 4 0 1 1-8 0v-2a4 4 0 0 1 4-4zm0 2a2 2 0 0 0-2 2v2a2 2 0 1 0 4 0v-2a2 2 0 0 0-2-2zm9 17a1 1 0 0 1 0-2h1a1 1 0 0 0 1-1v-1.838a3.387 3.387 0 0 0-2.316-3.213a1 1 0 1 1 .632-1.898A5.387 5.387 0 0 1 22 16.662V18.5a3 3 0 0 1-3 3h-1zm-3-18a1 1 0 0 1 0-2a4 4 0 0 1 4 4v2a4 4 0 0 1-4 4a1 1 0 0 1 0-2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2z" fill="currentColor"/>',width:24,height:24}},function(e,t,a){function n(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="HayyaBuil",this.description="HayyaBuild allows you to build unlimited headers,",this.version="5.6",this.helper=a(0).H,this._initializer()}var t,o,r;return t=e,(o=[{key:"_initializer",value:function(){var e=window.hayyabuild_type||"",t=a(43),n=a(44),o=a(70),r=a(69),l=a(71),i=a(45),c=a(72),s=a(46),u=a(47),f=a(67),d=a(48),p=a(73),y=a(49),b=a(50),h=a(51),m=a(52),g=a(53),v=a(54),k=a(74),w=a(55),E=a(75),_=a(76),R=a(77),x=a(78),C=a(56),S=a(59),O=a(60),L=a(79),N=a(61),H=a(62),T=a(63),I=a(64),B=a(65),P=a(66),j=a(68),F=a(80),z=[P,a(81),E,_,r,j,F,I,B,k,w,f,C,s,c,u,N,o,H,T,h,m,t,l,i,R,x,L,p,d,y,g];"header"===e?z=z.concat([S,b,n]):"content"===e?z=z.concat([v]):"footer"===e&&(z=z.concat([O])),z.forEach((function(e){var t=e.name,a=e.settings;wp.blocks.registerBlockType(t,a)})),wp.data.subscribe(this.helper.hayyabuildSubscribe)}}])&&n(t.prototype,o),r&&n(t,r),e}());document.addEventListener("DOMContentLoaded",(function(){return o.helper.setHeadStyle()}))},function(e,t,a){var n=a(1),o=a(27);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,'.react-modal-popup{position:relative;padding:0;margin:20px 0;height:40px}.react-modal-popup a.open-modal{position:relative;display:block;width:100%;height:40px;line-height:30px;background-color:#fafafa;border:1px solid #EEE;color:#555;text-decoration:none;padding:5px 10px;outline:none;border-radius:1px}.react-modal-popup a.open-modal:focus{outline:none}.react-modal-popup .react-appended-modal-popup{display:none;visibility:hidden;opacity:0}.react-modal-popup-parent>.react-appended-modal-popup{background-color:rgba(0,0,0,0.5);position:absolute;width:100%;height:100%;min-width:100%;min-height:100%;left:0;top:0;display:none;visibility:hidden;z-index:9989}.react-modal-popup-parent>.react-appended-modal-popup.madal-opend{display:block;visibility:visible}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container{position:absolute;display:flex;flex-direction:column;width:calc(100% - 40px);height:90vh;min-height:400px;top:20px;left:50%;transform:translateX(-50%);transform-origin:center center;background-color:#FFF;border-radius:3px;overflow:hidden;box-shadow:0 0 10px rgba(0,0,0,0.3)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header,.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-body,.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.hb-modal-footer{position:relative;display:block;width:100%;padding:10px;box-sizing:border-box}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header{display:flex;padding:0}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header .modal-title{flex:1;padding:0 10px;font-weight:500;font-size:1rem}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close{position:relative;width:65px;cursor:pointer}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:before,.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:after{content:" ";position:absolute;left:20px;top:26px;height:1px;width:30px;background-color:rgba(0,0,0,0.3);transform:rotateZ(45deg);transform-origin:center;transition:transform 0.5s ease-out}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:after{transform:rotateZ(-45deg)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:hover:before{transform:rotateZ(225deg)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:hover:after{transform:rotateZ(135deg)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-body{overflow-x:scroll;height:auto;padding:0;flex-grow:1;max-height:100%}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.hb-modal-footer{text-align:right;border-top:1px solid #EEE;height:50px}\n',""]),e.exports=t},function(e,t,a){var n=a(1),o=a(29);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,".react-clean-tabs{position:relative;width:100%;margin-bottom:10px;height:100%}.react-clean-tabs ul.tab-links{position:relative;display:block;margin:0;padding:0 10px;z-index:2;height:40px;width:100%}.react-clean-tabs ul.tab-links:after{display:block;clear:both}.react-clean-tabs ul.tab-links li{margin:0px;list-style:none;display:inline-block;overflow:hidden;padding:5px 5px 0 5px;margin:0 -5px}.react-clean-tabs ul.tab-links li a{padding:9px 15px;display:inline-block;border-radius:5px 5px 0px 0px;width:100%;text-align:center;text-decoration:none;opacity:.6;margin-bottom:-1px;transition:opacity linear 0.2s;box-sizing:border-box}.react-clean-tabs ul.tab-links li a:hover{opacity:1}.react-clean-tabs ul.tab-links li:not(.active) a{background-color:transparent !important}.react-clean-tabs ul.tab-links li.active a,.react-clean-tabs ul.tab-links li.active a:focus{outline:none;background:#fff;color:#4c4c4c;opacity:1;box-shadow:0 0 5px rgba(0,0,0,0.2)}.react-clean-tabs .tabs-content{width:100%;padding:0;margin:0;border-radius:5px;box-shadow:0 0 5px rgba(0,0,0,0.2);overflow:hidden;overflow-x:scroll;min-height:200px;max-height:100%}.react-clean-tabs .tabs-content .tab{background:#fff;max-height:100%;display:none;transform-origin:top;padding:10px;transition:all .5s}.react-clean-tabs .tabs-content .active{display:block}.react-clean-tabs.flex-tabs .tab-links{display:flex}.react-clean-tabs.flex-tabs .tab-links li{flex:auto}.react-clean-tabs.flex-tabs .tabs-content .tab{border-radius:0 0 3px 3px}\n",""]),e.exports=t},function(e,t,a){var n=a(1),o=a(31);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,"fieldset.react-fieldset{border:1px solid #CCC;padding:10px;margin:5px;top:0;left:0;margin:10px 0}fieldset.react-fieldset>legend{height:20px;line-height:20px;width:auto;color:#AAA;background-color:#FFF;padding:0 10px}body.rtl fieldset.react-fieldset>legend{left:auto;right:5px}\n",""]),e.exports=t},function(e,t,a){var n=a(1),o=a(33);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,"div.hayyabuild-background .hb_bg_button{margin:10px 0;width:100%;height:100px;background:#f7f7f7;text-align:center;position:relative;background-position:center center;background-size:cover;border-radius:2px;border:1px solid #fff;box-shadow:0px 0px 4px rgba(0,0,0,0.3)}div.hayyabuild-background .hb_bg_button .bg_button{position:absolute;height:100%;width:100%;left:0px;background:transparent;line-height:100px;color:#555;text-decoration:none;opacity:0.5;text-shadow:0px 0px 1px #FFFFFF, 0px 0px 2px #FFFFFF;transition:color 0.5s, opacity 0.5s}div.hayyabuild-background .hb_bg_button:HOVER .bg_button{color:#555;opacity:1}div.hayyabuild-background .hb_bg_button .remove{position:absolute;height:20px;width:20px;line-height:20px;right:10px;top:10px;background:transparent;text-decoration:none;border-radius:20px;font-size:12px;color:#888}div.hayyabuild-background .hb_bg_button .remove:HOVER{background:#888;color:#FFFFFF;-ms-transform:scale(1.2, 1.2);-webkit-transform:scale(1.2, 1.2);transform:scale(1.2, 1.2)}div.hayyabuild-background .background-options{display:flex}div.hayyabuild-background .background-options>*{width:50%;margin:10px 5px}div.hayyabuild-background .bg_image{width:100%}\n",""]),e.exports=t},function(e,t,a){var n=a(1),o=a(35);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,'#editor .react-appended-modal-popup .modal-container{border-radius:5px;box-shadow:0 0 40px rgba(0,0,0,0.4),0 0 20px rgba(0,0,0,0.4);overflow:hidden}#editor .react-appended-modal-popup .modal-container .modal-header{border-bottom:none;padding:0}#editor .react-appended-modal-popup .modal-container .modal-body{overflow:hidden;overflow-y:auto}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-classes{width:calc(100% - 30px);margin:0 auto}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset{width:100%;box-sizing:border-box;border:1px solid rgba(0,0,0,0.1);border-right-width:2px}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox{padding:0 10px;box-sizing:border-box;width:50%;margin:5px 0;display:inline-block}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox input[type="checkbox"]{border:1px solid #CCCCCC}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox input[type="checkbox"]:checked{border:1px solid #00AE39}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox input[type="checkbox"]:checked+label{color:#00AE39}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .components-range-control.with_unit{margin:0;display:inline-block;width:calc( 100% - 80px)}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .unit_container.for_range{display:inline-block;width:80px;height:37px;vertical-align:bottom}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .unit_container.for_range select{width:100%;margin:0}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options{padding:10px;margin-bottom:10px;border-bottom:1px solid #EEEEEE}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options>div,#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options>select{display:inline-block;width:70%;box-sizing:border-box;margin:0;height:50px}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options select{margin-left:10px;width:calc(30% - 10px);height:28px;vertical-align:bottom}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div{display:block;width:50%;padding:5px;box-sizing:border-box;float:left}@media screen and (max-width: 950px){#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div{width:100%;float:none}}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .react-fieldset{display:block}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .editor-panel-color-settings{width:100%}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout input,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .unit{position:absolute;text-align:center;padding:3px 0;height:24px;width:45px;margin:0;font-size:12px;line-height:12px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout span.unit,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .unit{text-align:left;padding-left:5px;line-height:20px;width:50px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .content{margin:55px;position:relative;border:1px solid #DDD}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin{border:1px solid #FFF}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin{margin:0;padding:0}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_top,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_top_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_top{top:5px;left:50%;margin-left:-45px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .unit{top:5px;left:50%}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_right,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_right_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_right{top:50%;right:5px;margin-top:-12px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_bottom,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_bottom_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_bottom{bottom:5px;left:50%;margin-left:-17px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_left,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_left_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_left{top:50%;left:5px;margin-top:-12px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout label{display:inline-block;position:absolute;font-size:11px;line-height:9px;top:6px;left:5px;color:#2C2C2C;margin:0;padding:0}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .content{border:none;height:30px;padding:0px;text-align:center;font-size:10px;line-height:11px;-webkit-box-sizing:border-box;box-sizing:border-box}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .content .help-tip{left:40%}\n',""]),e.exports=t},function(e,t,a){"use strict"; 7 /** @license React v16.12.0 8 * react-dom-server.browser.production.min.js 9 * 10 * Copyright (c) Facebook, Inc. and its affiliates. 11 * 12 * This source code is licensed under the MIT license found in the 13 * LICENSE file in the root directory of this source tree. 14 */var n=a(9),o=a(10);function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=1;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l="function"==typeof Symbol&&Symbol.for,i=l?Symbol.for("react.portal"):60106,c=l?Symbol.for("react.fragment"):60107,s=l?Symbol.for("react.strict_mode"):60108,u=l?Symbol.for("react.profiler"):60114,f=l?Symbol.for("react.provider"):60109,d=l?Symbol.for("react.context"):60110,p=l?Symbol.for("react.concurrent_mode"):60111,y=l?Symbol.for("react.forward_ref"):60112,b=l?Symbol.for("react.suspense"):60113,h=l?Symbol.for("react.suspense_list"):60120,m=l?Symbol.for("react.memo"):60115,g=l?Symbol.for("react.lazy"):60116,v=l?Symbol.for("react.fundamental"):60117,k=l?Symbol.for("react.scope"):60119,w=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case c:return"Fragment";case i:return"Portal";case u:return"Profiler";case s:return"StrictMode";case b:return"Suspense";case h:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case d:return"Context.Consumer";case f:return"Context.Provider";case y:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case m:return E(e.type);case g:if(e=1===e._status?e._result:null)return E(e)}return null}w.hasOwnProperty("ReactCurrentDispatcher")||(w.ReactCurrentDispatcher={current:null}),w.hasOwnProperty("ReactCurrentBatchConfig")||(w.ReactCurrentBatchConfig={suspense:null});var _={};function R(e,t){for(var a=0|e._threadCount;a<=t;a++)e[a]=e._currentValue2,e._threadCount=a+1}for(var x=new Uint16Array(16),C=0;15>C;C++)x[C]=C+1;x[15]=0;var S=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,O=Object.prototype.hasOwnProperty,L={},N={};function H(e){return!!O.call(N,e)||!O.call(L,e)&&(S.test(e)?N[e]=!0:(L[e]=!0,!1))}function T(e,t,a,n,o,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=r}var I={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){I[e]=new T(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];I[t]=new T(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){I[e]=new T(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){I[e]=new T(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){I[e]=new T(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){I[e]=new T(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){I[e]=new T(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){I[e]=new T(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){I[e]=new T(e,5,!1,e.toLowerCase(),null,!1)}));var B=/[\-:]([a-z])/g;function P(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(B,P);I[t]=new T(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(B,P);I[t]=new T(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(B,P);I[t]=new T(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){I[e]=new T(e,1,!1,e.toLowerCase(),null,!1)})),I.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){I[e]=new T(e,1,!1,e.toLowerCase(),null,!0)}));var j=/["'&<>]/;function F(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=j.exec(e);if(t){var a,n="",o=0;for(a=t.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==a&&(n+=e.substring(o,a)),o=a+1,n+=t}e=o!==a?n+e.substring(o,a):n}return e}function z(e,t){var a,n=I.hasOwnProperty(e)?I[e]:null;return(a="style"!==e)&&(a=null!==n?0===n.type:2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])),a||function(e,t,a,n){if(null==t||function(e,t,a,n){if(null!==a&&0===a.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==a?!a.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,a,n))return!0;if(n)return!1;if(null!==a)switch(a.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(e,t,n,!1)?"":null!==n?(e=n.attributeName,3===(a=n.type)||4===a&&!0===t?e+'=""':(n.sanitizeURL&&(t=""+t),e+'="'+F(t)+'"')):H(e)?e+'="'+F(t)+'"':""}var M="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},A=null,D=null,q=null,V=!1,U=!1,W=null,K=0;function G(){if(null===A)throw Error(r(321));return A}function $(){if(0<K)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function Q(){return null===q?null===D?(V=!1,D=q=$()):(V=!0,q=D):null===q.next?(V=!1,q=q.next=$()):(V=!0,q=q.next),q}function Z(e,t,a,n){for(;U;)U=!1,K+=1,q=null,a=e(t,n);return D=A=null,K=0,q=W=null,a}function Y(e,t){return"function"==typeof t?t(e):t}function J(e,t,a){if(A=G(),q=Q(),V){var n=q.queue;if(t=n.dispatch,null!==W&&void 0!==(a=W.get(n))){W.delete(n),n=q.memoizedState;do{n=e(n,a.action),a=a.next}while(null!==a);return q.memoizedState=n,[n,t]}return[q.memoizedState,t]}return e=e===Y?"function"==typeof t?t():t:void 0!==a?a(t):t,q.memoizedState=e,e=(e=q.queue={last:null,dispatch:null}).dispatch=X.bind(null,A,e),[q.memoizedState,e]}function X(e,t,a){if(!(25>K))throw Error(r(301));if(e===A)if(U=!0,e={action:a,next:null},null===W&&(W=new Map),void 0===(a=W.get(t)))W.set(t,e);else{for(t=a;null!==t.next;)t=t.next;t.next=e}}function ee(){}var te=0,ae={readContext:function(e){var t=te;return R(e,t),e[t]},useContext:function(e){G();var t=te;return R(e,t),e[t]},useMemo:function(e,t){if(A=G(),t=void 0===t?null:t,null!==(q=Q())){var a=q.memoizedState;if(null!==a&&null!==t){e:{var n=a[1];if(null===n)n=!1;else{for(var o=0;o<n.length&&o<t.length;o++)if(!M(t[o],n[o])){n=!1;break e}n=!0}}if(n)return a[0]}}return e=e(),q.memoizedState=[e,t],e},useReducer:J,useRef:function(e){A=G();var t=(q=Q()).memoizedState;return null===t?(e={current:e},q.memoizedState=e):t},useState:function(e){return J(Y,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:ee,useEffect:ee,useDebugValue:ee,useResponder:function(e,t){return{props:t,responder:e}},useDeferredValue:function(e){return G(),e},useTransition:function(){return G(),[function(e){e()},!1]}},ne="http://www.w3.org/1999/xhtml";function oe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var re={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},le=n({menuitem:!0},re),ie={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ce=["Webkit","ms","Moz","O"];Object.keys(ie).forEach((function(e){ce.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ie[t]=ie[e]}))}));var se=/([A-Z])/g,ue=/^ms-/,fe=o.Children.toArray,de=w.ReactCurrentDispatcher,pe={listing:!0,pre:!0,textarea:!0},ye=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,be={},he={};var me=Object.prototype.hasOwnProperty,ge={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function ve(e,t){if(void 0===e)throw Error(r(152,E(t)||"Component"))}function ke(e,t,a){function l(o,l){var i=l.prototype&&l.prototype.isReactComponent,c=function(e,t,a,n){if(n&&("object"==typeof(n=e.contextType)&&null!==n))return R(n,a),n[a];if(e=e.contextTypes){for(var o in a={},e)a[o]=t[o];t=a}else t=_;return t}(l,t,a,i),s=[],u=!1,f={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===s)return null},enqueueReplaceState:function(e,t){u=!0,s=[t]},enqueueSetState:function(e,t){if(null===s)return null;s.push(t)}};if(i){if(i=new l(o.props,c,f),"function"==typeof l.getDerivedStateFromProps){var d=l.getDerivedStateFromProps.call(null,o.props,i.state);null!=d&&(i.state=n({},i.state,d))}}else if(A={},i=l(o.props,c,f),null==(i=Z(l,o.props,i,c))||null==i.render)return void ve(e=i,l);if(i.props=o.props,i.context=c,i.updater=f,void 0===(f=i.state)&&(i.state=f=null),"function"==typeof i.UNSAFE_componentWillMount||"function"==typeof i.componentWillMount)if("function"==typeof i.componentWillMount&&"function"!=typeof l.getDerivedStateFromProps&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&"function"!=typeof l.getDerivedStateFromProps&&i.UNSAFE_componentWillMount(),s.length){f=s;var p=u;if(s=null,u=!1,p&&1===f.length)i.state=f[0];else{d=p?f[0]:i.state;var y=!0;for(p=p?1:0;p<f.length;p++){var b=f[p];null!=(b="function"==typeof b?b.call(i,d,o.props,c):b)&&(y?(y=!1,d=n({},d,b)):n(d,b))}i.state=d}}else s=null;if(ve(e=i.render(),l),"function"==typeof i.getChildContext&&"object"==typeof(o=l.childContextTypes)){var h=i.getChildContext();for(var m in h)if(!(m in o))throw Error(r(108,E(l)||"Unknown",m))}h&&(t=n({},t,h))}for(;o.isValidElement(e);){var i=e,c=i.type;if("function"!=typeof c)break;l(i,c)}return{child:e,context:t}}var we=function(){function e(e,t){o.isValidElement(e)?e.type!==c?e=[e]:(e=e.props.children,e=o.isValidElement(e)?[e]:fe(e)):e=fe(e),e={type:null,domNamespace:ne,children:e,childIndex:0,context:_,footer:""};var a=x[0];if(0===a){var n=x,l=2*(a=n.length);if(!(65536>=l))throw Error(r(304));var i=new Uint16Array(l);for(i.set(n),(x=i)[0]=a+1,n=a;n<l-1;n++)x[n]=n+1;x[l-1]=0}else x[0]=x[a];this.threadID=a,this.stack=[e],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=t,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var t=e.prototype;return t.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;x[e]=x[0],x[0]=e}},t.pushProvider=function(e){var t=++this.contextIndex,a=e.type._context,n=this.threadID;R(a,n);var o=a[n];this.contextStack[t]=a,this.contextValueStack[t]=o,a[n]=e.props.value},t.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],a=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=a},t.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},t.read=function(e){if(this.exhausted)return null;var t=te;te=this.threadID;var a=de.current;de.current=ae;try{for(var n=[""],o=!1;n[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var l=this.threadID;x[l]=x[0],x[0]=l;break}var i=this.stack[this.stack.length-1];if(o||i.childIndex>=i.children.length){var c=i.footer;if(""!==c&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===i.type)this.currentSelectValue=null;else if(null!=i.type&&null!=i.type.type&&i.type.type.$$typeof===f)this.popProvider(i.type);else if(i.type===b){this.suspenseDepth--;var s=n.pop();if(o){o=!1;var u=i.fallbackFrame;if(!u)throw Error(r(303));this.stack.push(u),n[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}n[this.suspenseDepth]+=s}n[this.suspenseDepth]+=c}else{var d=i.children[i.childIndex++],p="";try{p+=this.render(d,i.context,i.domNamespace)}catch(e){if(null!=e&&"function"==typeof e.then)throw Error(r(294));throw e}n.length<=this.suspenseDepth&&n.push(""),n[this.suspenseDepth]+=p}}return n[0]}finally{de.current=a,te=t}},t.render=function(e,t,a){if("string"==typeof e||"number"==typeof e)return""===(a=""+e)?"":this.makeStaticMarkup?F(a):this.previousWasTextNode?"\x3c!-- --\x3e"+F(a):(this.previousWasTextNode=!0,F(a));if(e=(t=ke(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!o.isValidElement(e)){if(null!=e&&null!=e.$$typeof){if((a=e.$$typeof)===i)throw Error(r(257));throw Error(r(258,a.toString()))}return e=fe(e),this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),""}var l=e.type;if("string"==typeof l)return this.renderDOM(e,t,a);switch(l){case s:case p:case u:case h:case c:return e=fe(e.props.children),this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),"";case b:throw Error(r(294))}if("object"==typeof l&&null!==l)switch(l.$$typeof){case y:A={};var w=l.render(e.props,e.ref);return w=Z(l.render,e.props,w,e.ref),w=fe(w),this.stack.push({type:null,domNamespace:a,children:w,childIndex:0,context:t,footer:""}),"";case m:return e=[o.createElement(l.type,n({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),"";case f:return a={type:e,domNamespace:a,children:l=fe(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(a),"";case d:l=e.type,w=e.props;var E=this.threadID;return R(l,E),l=fe(w.children(l[E])),this.stack.push({type:e,domNamespace:a,children:l,childIndex:0,context:t,footer:""}),"";case v:throw Error(r(338));case g:switch(function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(l=e.type),l._status){case 1:return e=[o.createElement(l._result,n({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),"";case 2:throw l._result;default:throw Error(r(295))}case k:throw Error(r(343))}throw Error(r(130,null==l?l:typeof l,""))},t.renderDOM=function(e,t,a){var l=e.type.toLowerCase();if(a===ne&&oe(l),!be.hasOwnProperty(l)){if(!ye.test(l))throw Error(r(65,l));be[l]=!0}var i=e.props;if("input"===l)i=n({type:void 0},i,{defaultChecked:void 0,defaultValue:void 0,value:null!=i.value?i.value:i.defaultValue,checked:null!=i.checked?i.checked:i.defaultChecked});else if("textarea"===l){var c=i.value;if(null==c){c=i.defaultValue;var s=i.children;if(null!=s){if(null!=c)throw Error(r(92));if(Array.isArray(s)){if(!(1>=s.length))throw Error(r(93));s=s[0]}c=""+s}null==c&&(c="")}i=n({},i,{value:void 0,children:""+c})}else if("select"===l)this.currentSelectValue=null!=i.value?i.value:i.defaultValue,i=n({},i,{value:void 0});else if("option"===l){s=this.currentSelectValue;var u=function(e){if(null==e)return e;var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(i.children);if(null!=s){var f=null!=i.value?i.value+"":u;if(c=!1,Array.isArray(s)){for(var d=0;d<s.length;d++)if(""+s[d]===f){c=!0;break}}else c=""+s===f;i=n({selected:void 0,children:void 0},i,{selected:c,children:u})}}if(c=i){if(le[l]&&(null!=c.children||null!=c.dangerouslySetInnerHTML))throw Error(r(137,l,""));if(null!=c.dangerouslySetInnerHTML){if(null!=c.children)throw Error(r(60));if(!("object"==typeof c.dangerouslySetInnerHTML&&"__html"in c.dangerouslySetInnerHTML))throw Error(r(61))}if(null!=c.style&&"object"!=typeof c.style)throw Error(r(62,""))}for(k in c=i,s=this.makeStaticMarkup,u=1===this.stack.length,f="<"+e.type,c)if(me.call(c,k)){var p=c[k];if(null!=p){if("style"===k){d=void 0;var y="",b="";for(d in p)if(p.hasOwnProperty(d)){var h=0===d.indexOf("--"),m=p[d];if(null!=m){if(h)var g=d;else if(g=d,he.hasOwnProperty(g))g=he[g];else{var v=g.replace(se,"-$1").toLowerCase().replace(ue,"-ms-");g=he[g]=v}y+=b+g+":",b=d,y+=h=null==m||"boolean"==typeof m||""===m?"":h||"number"!=typeof m||0===m||ie.hasOwnProperty(b)&&ie[b]?(""+m).trim():m+"px",b=";"}}p=y||null}d=null;e:if(h=l,m=c,-1===h.indexOf("-"))h="string"==typeof m.is;else switch(h){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":h=!1;break e;default:h=!0}h?ge.hasOwnProperty(k)||(d=H(d=k)&&null!=p?d+'="'+F(p)+'"':""):d=z(k,p),d&&(f+=" "+d)}}s||u&&(f+=' data-reactroot=""');var k=f;c="",re.hasOwnProperty(l)?k+="/>":(k+=">",c="</"+e.type+">");e:{if(null!=(s=i.dangerouslySetInnerHTML)){if(null!=s.__html){s=s.__html;break e}}else if("string"==typeof(s=i.children)||"number"==typeof s){s=F(s);break e}s=null}return null!=s?(i=[],pe[l]&&"\n"===s.charAt(0)&&(k+="\n"),k+=s):i=fe(i.children),e=e.type,a=null==a||"http://www.w3.org/1999/xhtml"===a?oe(e):"http://www.w3.org/2000/svg"===a&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":a,this.stack.push({domNamespace:a,type:l,children:i,childIndex:0,context:t,footer:c}),this.previousWasTextNode=!1,k},e}(),Ee={renderToString:function(e){e=new we(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new we(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){throw Error(r(207))},renderToStaticNodeStream:function(){throw Error(r(208))},version:"16.12.0"},_e={default:Ee},Re=_e&&Ee||_e;e.exports=Re.default||Re},function(e,t,a){"use strict"; 7 15 /** @license React v16.12.0 8 16 * react.production.min.js … … 12 20 * This source code is licensed under the MIT license found in the 13 21 * LICENSE file in the root directory of this source tree. 14 */var n=a(10),o="function"==typeof Symbol&&Symbol.for,l=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,r=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113;o&&Symbol.for("react.suspense_list");var y=o?Symbol.for("react.memo"):60115,b=o?Symbol.for("react.lazy"):60116;o&&Symbol.for("react.fundamental"),o&&Symbol.for("react.responder"),o&&Symbol.for("react.scope");var h="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=1;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function k(e,t,a){this.props=e,this.context=t,this.refs=v,this.updater=a||g}function E(){}function w(e,t,a){this.props=e,this.context=t,this.refs=v,this.updater=a||g}k.prototype.isReactComponent={},k.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},k.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=k.prototype;var _=w.prototype=new E;_.constructor=w,n(_,k.prototype),_.isPureReactComponent=!0;var x={current:null},R={current:null},C=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,a){var n,o={},i=null,r=null;if(null!=t)for(n in void 0!==t.ref&&(r=t.ref),void 0!==t.key&&(i=""+t.key),t)C.call(t,n)&&!S.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(1===c)o.children=a;else if(1<c){for(var s=Array(c),u=0;u<c;u++)s[u]=arguments[u+2];o.children=s}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===o[n]&&(o[n]=c[n]);return{$$typeof:l,type:e,key:i,ref:r,props:o,_owner:R.current}}function L(e){return"object"==typeof e&&null!==e&&e.$$typeof===l}var N=/\/+/g,H=[];function I(e,t,a,n){if(H.length){var o=H.pop();return o.result=e,o.keyPrefix=t,o.func=a,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:a,context:n,count:0}}function z(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>H.length&&H.push(e)}function T(e,t,a){return null==e?0:function e(t,a,n,o){var r=typeof t;"undefined"!==r&&"boolean"!==r||(t=null);var c=!1;if(null===t)c=!0;else switch(r){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case l:case i:c=!0}}if(c)return n(o,t,""===a?"."+B(t,0):a),1;if(c=0,a=""===a?".":a+":",Array.isArray(t))for(var s=0;s<t.length;s++){var u=a+B(r=t[s],s);c+=e(r,u,n,o)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=h&&t[h]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),s=0;!(r=t.next()).done;)c+=e(r=r.value,u=a+B(r,s++),n,o);else if("object"===r)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return c}(e,"",t,a)}function B(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function M(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,a){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?j(e,n,a,(function(e){return e})):null!=e&&(L(e)&&(e=function(e,t){return{$$typeof:l,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(N,"$&/")+"/")+a)),n.push(e))}function j(e,t,a,n,o){var l="";null!=a&&(l=(""+a).replace(N,"$&/")+"/"),T(e,F,t=I(t,l,n,o)),z(t)}function P(){var e=x.current;if(null===e)throw Error(m(321));return e}var A={Children:{map:function(e,t,a){if(null==e)return e;var n=[];return j(e,n,null,t,a),n},forEach:function(e,t,a){if(null==e)return e;T(e,M,t=I(null,null,t,a)),z(t)},count:function(e){return T(e,(function(){return null}),null)},toArray:function(e){var t=[];return j(e,t,null,(function(e){return e})),t},only:function(e){if(!L(e))throw Error(m(143));return e}},createRef:function(){return{current:null}},Component:k,PureComponent:w,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:d,render:e}},lazy:function(e){return{$$typeof:b,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return P().useCallback(e,t)},useContext:function(e,t){return P().useContext(e,t)},useEffect:function(e,t){return P().useEffect(e,t)},useImperativeHandle:function(e,t,a){return P().useImperativeHandle(e,t,a)},useDebugValue:function(){},useLayoutEffect:function(e,t){return P().useLayoutEffect(e,t)},useMemo:function(e,t){return P().useMemo(e,t)},useReducer:function(e,t,a){return P().useReducer(e,t,a)},useRef:function(e){return P().useRef(e)},useState:function(e){return P().useState(e)},Fragment:r,Profiler:s,StrictMode:c,Suspense:p,createElement:O,cloneElement:function(e,t,a){if(null==e)throw Error(m(267,e));var o=n({},e.props),i=e.key,r=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(r=t.ref,c=R.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)C.call(t,u)&&!S.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=a;else if(1<u){s=Array(u);for(var f=0;f<u;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:l,type:e.type,key:i,ref:r,props:o,_owner:c}},createFactory:function(e){var t=O.bind(null,e);return t.type=e,t},isValidElement:L,version:"16.12.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:x,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:R,IsSomeRendererActing:{current:!1},assign:n}},D={default:A},V=D&&A||D;e.exports=V.default||V},function(e,t,a){var n=a(2),o=a(46);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,'.react-modal-popup{position:relative;padding:0;margin:20px 0;height:40px}.react-modal-popup a.open-modal{position:relative;display:block;width:100%;height:40px;line-height:30px;background-color:#fafafa;border:1px solid #EEE;color:#555;text-decoration:none;padding:5px 10px;outline:none;border-radius:1px}.react-modal-popup a.open-modal:focus{outline:none}.react-modal-popup .react-appended-modal-popup{display:none;visibility:hidden;opacity:0}.react-modal-popup-parent>.react-appended-modal-popup{background-color:rgba(0,0,0,0.5);position:absolute;width:100%;height:100%;min-width:100%;min-height:100%;left:0;top:0;display:none;visibility:hidden;z-index:9989}.react-modal-popup-parent>.react-appended-modal-popup.madal-opend{display:block;visibility:visible}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container{position:absolute;display:flex;flex-direction:column;width:calc(100% - 40px);height:90vh;min-height:400px;top:20px;left:50%;transform:translateX(-50%);transform-origin:center center;background-color:#FFF;border-radius:3px;overflow:hidden;box-shadow:0 0 10px rgba(0,0,0,0.3)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header,.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-body,.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.hb-modal-footer{position:relative;display:block;width:100%;padding:10px;box-sizing:border-box}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header{display:flex;padding:0}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header .modal-title{flex:1;padding:0 10px;font-weight:500;font-size:1rem}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close{position:relative;width:65px;cursor:pointer}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:before,.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:after{content:" ";position:absolute;left:20px;top:26px;height:1px;width:30px;background-color:rgba(0,0,0,0.3);transform:rotateZ(45deg);transform-origin:center;transition:transform 0.5s ease-out}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:after{transform:rotateZ(-45deg)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:hover:before{transform:rotateZ(225deg)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-header div.react-modal-popup-close:hover:after{transform:rotateZ(135deg)}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.modal-body{overflow-x:scroll;height:auto;padding:0;flex-grow:1;max-height:100%}.react-modal-popup-parent>.react-appended-modal-popup div.modal-container div.hb-modal-footer{text-align:right;border-top:1px solid #EEE;height:50px}\n',""]),e.exports=t},function(e,t,a){var n=a(2),o=a(48);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,".react-clean-tabs{position:relative;width:100%;margin-bottom:10px;height:100%}.react-clean-tabs ul.tab-links{position:relative;display:block;margin:0;padding:0 10px;z-index:2;height:40px;width:100%}.react-clean-tabs ul.tab-links:after{display:block;clear:both}.react-clean-tabs ul.tab-links li{margin:0px;list-style:none;display:inline-block;overflow:hidden;padding:5px 5px 0 5px;margin:0 -5px}.react-clean-tabs ul.tab-links li a{padding:9px 15px;display:inline-block;border-radius:5px 5px 0px 0px;width:100%;text-align:center;text-decoration:none;opacity:.6;margin-bottom:-1px;transition:opacity linear 0.2s;box-sizing:border-box}.react-clean-tabs ul.tab-links li a:hover{opacity:1}.react-clean-tabs ul.tab-links li:not(.active) a{background-color:transparent !important}.react-clean-tabs ul.tab-links li.active a,.react-clean-tabs ul.tab-links li.active a:focus{outline:none;background:#fff;color:#4c4c4c;opacity:1;box-shadow:0 0 5px rgba(0,0,0,0.2)}.react-clean-tabs .tabs-content{width:100%;padding:0;margin:0;border-radius:5px;box-shadow:0 0 5px rgba(0,0,0,0.2);overflow:hidden;overflow-x:scroll;min-height:200px;max-height:100%}.react-clean-tabs .tabs-content .tab{background:#fff;max-height:100%;display:none;transform-origin:top;padding:10px;transition:all .5s}.react-clean-tabs .tabs-content .active{display:block}.react-clean-tabs.flex-tabs .tab-links{display:flex}.react-clean-tabs.flex-tabs .tab-links li{flex:auto}.react-clean-tabs.flex-tabs .tabs-content .tab{border-radius:0 0 3px 3px}\n",""]),e.exports=t},function(e,t,a){var n=a(2),o=a(50);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,"fieldset.react-fieldset{border:1px solid #CCC;padding:10px;margin:5px;top:0;left:0;margin:10px 0}fieldset.react-fieldset>legend{height:20px;line-height:20px;width:auto;color:#AAA;background-color:#FFF;padding:0 10px}body.rtl fieldset.react-fieldset>legend{left:auto;right:5px}\n",""]),e.exports=t},function(e,t,a){var n=a(2),o=a(52);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,"div.hayyabuild-background .hb_bg_button{margin:10px 0;width:100%;height:100px;background:#f7f7f7;text-align:center;position:relative;background-position:center center;background-size:cover;border-radius:2px;border:1px solid #fff;box-shadow:0px 0px 4px rgba(0,0,0,0.3)}div.hayyabuild-background .hb_bg_button .bg_button{position:absolute;height:100%;width:100%;left:0px;background:transparent;line-height:100px;color:#555;text-decoration:none;opacity:0.5;text-shadow:0px 0px 1px #FFFFFF, 0px 0px 2px #FFFFFF;transition:color 0.5s, opacity 0.5s}div.hayyabuild-background .hb_bg_button:HOVER .bg_button{color:#555;opacity:1}div.hayyabuild-background .hb_bg_button .remove{position:absolute;height:20px;width:20px;line-height:20px;right:10px;top:10px;background:transparent;text-decoration:none;border-radius:20px;font-size:12px;color:#888}div.hayyabuild-background .hb_bg_button .remove:HOVER{background:#888;color:#FFFFFF;-ms-transform:scale(1.2, 1.2);-webkit-transform:scale(1.2, 1.2);transform:scale(1.2, 1.2)}div.hayyabuild-background .background-options{display:flex}div.hayyabuild-background .background-options>*{width:50%;margin:10px 5px}div.hayyabuild-background .bg_image{width:100%}\n",""]),e.exports=t},function(e,t,a){var n=a(2),o=a(54);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,'#editor .react-appended-modal-popup .modal-container{border-radius:5px;box-shadow:0 0 40px rgba(0,0,0,0.4),0 0 20px rgba(0,0,0,0.4);overflow:hidden}#editor .react-appended-modal-popup .modal-container .modal-header{border-bottom:none;padding:0}#editor .react-appended-modal-popup .modal-container .modal-body{overflow:hidden;overflow-y:auto}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-classes{width:calc(100% - 30px);margin:0 auto}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset{width:100%;box-sizing:border-box;border:1px solid rgba(0,0,0,0.1);border-right-width:2px}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox{padding:0 10px;box-sizing:border-box;width:50%;margin:5px 0;display:inline-block}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox input[type="checkbox"]{border:1px solid #CCCCCC}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox input[type="checkbox"]:checked{border:1px solid #00AE39}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset div.options-checkbox input[type="checkbox"]:checked+label{color:#00AE39}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .components-range-control.with_unit{margin:0;display:inline-block;width:calc( 100% - 80px)}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .unit_container.for_range{display:inline-block;width:80px;height:37px;vertical-align:bottom}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .unit_container.for_range select{width:100%;margin:0}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options{padding:10px;margin-bottom:10px;border-bottom:1px solid #EEEEEE}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options>div,#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options>select{display:inline-block;width:70%;box-sizing:border-box;margin:0;height:50px}#editor .react-appended-modal-popup .modal-container .modal-body fieldset.react-fieldset .scroll-options select{margin-left:10px;width:calc(30% - 10px);height:28px;vertical-align:bottom}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div{display:block;width:50%;padding:5px;box-sizing:border-box;float:left}@media screen and (max-width: 950px){#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div{width:100%;float:none}}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .react-fieldset{display:block}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .editor-panel-color-settings{width:100%}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout input,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .unit{position:absolute;text-align:center;padding:3px 0;height:24px;width:45px;margin:0;font-size:12px;line-height:12px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout span.unit,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .unit{text-align:left;padding-left:5px;line-height:20px;width:50px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .content{margin:55px;position:relative;border:1px solid #DDD}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin{border:1px solid #FFF}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin{margin:0;padding:0}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_top,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_top_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_top{top:5px;left:50%;margin-left:-45px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .unit{top:5px;left:50%}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_right,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_right_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_right{top:50%;right:5px;margin-top:-12px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_bottom,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_bottom_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_bottom{bottom:5px;left:50%;margin-left:-17px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .margin_left,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .border_left_width,#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .padding_left{top:50%;left:5px;margin-top:-12px}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout label{display:inline-block;position:absolute;font-size:11px;line-height:9px;top:6px;left:5px;color:#2C2C2C;margin:0;padding:0}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .content{border:none;height:30px;padding:0px;text-align:center;font-size:10px;line-height:11px;-webkit-box-sizing:border-box;box-sizing:border-box}#editor .react-appended-modal-popup .modal-container .modal-body .hayyabuild-styles>div .layout .content .help-tip{left:40%}\n',""]),e.exports=t},function(e,t,a){"use strict"; 15 /** @license React v16.12.0 16 * react-dom-server.browser.production.min.js 17 * 18 * Copyright (c) Facebook, Inc. and its affiliates. 19 * 20 * This source code is licensed under the MIT license found in the 21 * LICENSE file in the root directory of this source tree. 22 */var n=a(10),o=a(1);function l(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=1;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i="function"==typeof Symbol&&Symbol.for,r=i?Symbol.for("react.portal"):60106,c=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,f=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,p=i?Symbol.for("react.concurrent_mode"):60111,y=i?Symbol.for("react.forward_ref"):60112,b=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.suspense_list"):60120,m=i?Symbol.for("react.memo"):60115,g=i?Symbol.for("react.lazy"):60116,v=i?Symbol.for("react.fundamental"):60117,k=i?Symbol.for("react.scope"):60119,E=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case c:return"Fragment";case r:return"Portal";case u:return"Profiler";case s:return"StrictMode";case b:return"Suspense";case h:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case d:return"Context.Consumer";case f:return"Context.Provider";case y:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case m:return w(e.type);case g:if(e=1===e._status?e._result:null)return w(e)}return null}E.hasOwnProperty("ReactCurrentDispatcher")||(E.ReactCurrentDispatcher={current:null}),E.hasOwnProperty("ReactCurrentBatchConfig")||(E.ReactCurrentBatchConfig={suspense:null});var _={};function x(e,t){for(var a=0|e._threadCount;a<=t;a++)e[a]=e._currentValue2,e._threadCount=a+1}for(var R=new Uint16Array(16),C=0;15>C;C++)R[C]=C+1;R[15]=0;var S=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,O=Object.prototype.hasOwnProperty,L={},N={};function H(e){return!!O.call(N,e)||!O.call(L,e)&&(S.test(e)?N[e]=!0:(L[e]=!0,!1))}function I(e,t,a,n,o,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=l}var z={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){z[e]=new I(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];z[t]=new I(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){z[e]=new I(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){z[e]=new I(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){z[e]=new I(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){z[e]=new I(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){z[e]=new I(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){z[e]=new I(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){z[e]=new I(e,5,!1,e.toLowerCase(),null,!1)}));var T=/[\-:]([a-z])/g;function B(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(T,B);z[t]=new I(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(T,B);z[t]=new I(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(T,B);z[t]=new I(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){z[e]=new I(e,1,!1,e.toLowerCase(),null,!1)})),z.xlinkHref=new I("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){z[e]=new I(e,1,!1,e.toLowerCase(),null,!0)}));var M=/["'&<>]/;function F(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=M.exec(e);if(t){var a,n="",o=0;for(a=t.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==a&&(n+=e.substring(o,a)),o=a+1,n+=t}e=o!==a?n+e.substring(o,a):n}return e}function j(e,t){var a,n=z.hasOwnProperty(e)?z[e]:null;return(a="style"!==e)&&(a=null!==n?0===n.type:2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])),a||function(e,t,a,n){if(null==t||function(e,t,a,n){if(null!==a&&0===a.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==a?!a.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,a,n))return!0;if(n)return!1;if(null!==a)switch(a.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(e,t,n,!1)?"":null!==n?(e=n.attributeName,3===(a=n.type)||4===a&&!0===t?e+'=""':(n.sanitizeURL&&(t=""+t),e+'="'+F(t)+'"')):H(e)?e+'="'+F(t)+'"':""}var P="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},A=null,D=null,V=null,q=!1,U=!1,W=null,K=0;function G(){if(null===A)throw Error(l(321));return A}function $(){if(0<K)throw Error(l(312));return{memoizedState:null,queue:null,next:null}}function Q(){return null===V?null===D?(q=!1,D=V=$()):(q=!0,V=D):null===V.next?(q=!1,V=V.next=$()):(q=!0,V=V.next),V}function Z(e,t,a,n){for(;U;)U=!1,K+=1,V=null,a=e(t,n);return D=A=null,K=0,V=W=null,a}function Y(e,t){return"function"==typeof t?t(e):t}function J(e,t,a){if(A=G(),V=Q(),q){var n=V.queue;if(t=n.dispatch,null!==W&&void 0!==(a=W.get(n))){W.delete(n),n=V.memoizedState;do{n=e(n,a.action),a=a.next}while(null!==a);return V.memoizedState=n,[n,t]}return[V.memoizedState,t]}return e=e===Y?"function"==typeof t?t():t:void 0!==a?a(t):t,V.memoizedState=e,e=(e=V.queue={last:null,dispatch:null}).dispatch=X.bind(null,A,e),[V.memoizedState,e]}function X(e,t,a){if(!(25>K))throw Error(l(301));if(e===A)if(U=!0,e={action:a,next:null},null===W&&(W=new Map),void 0===(a=W.get(t)))W.set(t,e);else{for(t=a;null!==t.next;)t=t.next;t.next=e}}function ee(){}var te=0,ae={readContext:function(e){var t=te;return x(e,t),e[t]},useContext:function(e){G();var t=te;return x(e,t),e[t]},useMemo:function(e,t){if(A=G(),t=void 0===t?null:t,null!==(V=Q())){var a=V.memoizedState;if(null!==a&&null!==t){e:{var n=a[1];if(null===n)n=!1;else{for(var o=0;o<n.length&&o<t.length;o++)if(!P(t[o],n[o])){n=!1;break e}n=!0}}if(n)return a[0]}}return e=e(),V.memoizedState=[e,t],e},useReducer:J,useRef:function(e){A=G();var t=(V=Q()).memoizedState;return null===t?(e={current:e},V.memoizedState=e):t},useState:function(e){return J(Y,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:ee,useEffect:ee,useDebugValue:ee,useResponder:function(e,t){return{props:t,responder:e}},useDeferredValue:function(e){return G(),e},useTransition:function(){return G(),[function(e){e()},!1]}},ne="http://www.w3.org/1999/xhtml";function oe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var le={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},ie=n({menuitem:!0},le),re={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ce=["Webkit","ms","Moz","O"];Object.keys(re).forEach((function(e){ce.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),re[t]=re[e]}))}));var se=/([A-Z])/g,ue=/^ms-/,fe=o.Children.toArray,de=E.ReactCurrentDispatcher,pe={listing:!0,pre:!0,textarea:!0},ye=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,be={},he={};var me=Object.prototype.hasOwnProperty,ge={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function ve(e,t){if(void 0===e)throw Error(l(152,w(t)||"Component"))}function ke(e,t,a){function i(o,i){var r=i.prototype&&i.prototype.isReactComponent,c=function(e,t,a,n){if(n&&("object"==typeof(n=e.contextType)&&null!==n))return x(n,a),n[a];if(e=e.contextTypes){for(var o in a={},e)a[o]=t[o];t=a}else t=_;return t}(i,t,a,r),s=[],u=!1,f={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===s)return null},enqueueReplaceState:function(e,t){u=!0,s=[t]},enqueueSetState:function(e,t){if(null===s)return null;s.push(t)}};if(r){if(r=new i(o.props,c,f),"function"==typeof i.getDerivedStateFromProps){var d=i.getDerivedStateFromProps.call(null,o.props,r.state);null!=d&&(r.state=n({},r.state,d))}}else if(A={},r=i(o.props,c,f),null==(r=Z(i,o.props,r,c))||null==r.render)return void ve(e=r,i);if(r.props=o.props,r.context=c,r.updater=f,void 0===(f=r.state)&&(r.state=f=null),"function"==typeof r.UNSAFE_componentWillMount||"function"==typeof r.componentWillMount)if("function"==typeof r.componentWillMount&&"function"!=typeof i.getDerivedStateFromProps&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&"function"!=typeof i.getDerivedStateFromProps&&r.UNSAFE_componentWillMount(),s.length){f=s;var p=u;if(s=null,u=!1,p&&1===f.length)r.state=f[0];else{d=p?f[0]:r.state;var y=!0;for(p=p?1:0;p<f.length;p++){var b=f[p];null!=(b="function"==typeof b?b.call(r,d,o.props,c):b)&&(y?(y=!1,d=n({},d,b)):n(d,b))}r.state=d}}else s=null;if(ve(e=r.render(),i),"function"==typeof r.getChildContext&&"object"==typeof(o=i.childContextTypes)){var h=r.getChildContext();for(var m in h)if(!(m in o))throw Error(l(108,w(i)||"Unknown",m))}h&&(t=n({},t,h))}for(;o.isValidElement(e);){var r=e,c=r.type;if("function"!=typeof c)break;i(r,c)}return{child:e,context:t}}var Ee=function(){function e(e,t){o.isValidElement(e)?e.type!==c?e=[e]:(e=e.props.children,e=o.isValidElement(e)?[e]:fe(e)):e=fe(e),e={type:null,domNamespace:ne,children:e,childIndex:0,context:_,footer:""};var a=R[0];if(0===a){var n=R,i=2*(a=n.length);if(!(65536>=i))throw Error(l(304));var r=new Uint16Array(i);for(r.set(n),(R=r)[0]=a+1,n=a;n<i-1;n++)R[n]=n+1;R[i-1]=0}else R[0]=R[a];this.threadID=a,this.stack=[e],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=t,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var t=e.prototype;return t.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;R[e]=R[0],R[0]=e}},t.pushProvider=function(e){var t=++this.contextIndex,a=e.type._context,n=this.threadID;x(a,n);var o=a[n];this.contextStack[t]=a,this.contextValueStack[t]=o,a[n]=e.props.value},t.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],a=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=a},t.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},t.read=function(e){if(this.exhausted)return null;var t=te;te=this.threadID;var a=de.current;de.current=ae;try{for(var n=[""],o=!1;n[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var i=this.threadID;R[i]=R[0],R[0]=i;break}var r=this.stack[this.stack.length-1];if(o||r.childIndex>=r.children.length){var c=r.footer;if(""!==c&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===r.type)this.currentSelectValue=null;else if(null!=r.type&&null!=r.type.type&&r.type.type.$$typeof===f)this.popProvider(r.type);else if(r.type===b){this.suspenseDepth--;var s=n.pop();if(o){o=!1;var u=r.fallbackFrame;if(!u)throw Error(l(303));this.stack.push(u),n[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}n[this.suspenseDepth]+=s}n[this.suspenseDepth]+=c}else{var d=r.children[r.childIndex++],p="";try{p+=this.render(d,r.context,r.domNamespace)}catch(e){if(null!=e&&"function"==typeof e.then)throw Error(l(294));throw e}n.length<=this.suspenseDepth&&n.push(""),n[this.suspenseDepth]+=p}}return n[0]}finally{de.current=a,te=t}},t.render=function(e,t,a){if("string"==typeof e||"number"==typeof e)return""===(a=""+e)?"":this.makeStaticMarkup?F(a):this.previousWasTextNode?"\x3c!-- --\x3e"+F(a):(this.previousWasTextNode=!0,F(a));if(e=(t=ke(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!o.isValidElement(e)){if(null!=e&&null!=e.$$typeof){if((a=e.$$typeof)===r)throw Error(l(257));throw Error(l(258,a.toString()))}return e=fe(e),this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),""}var i=e.type;if("string"==typeof i)return this.renderDOM(e,t,a);switch(i){case s:case p:case u:case h:case c:return e=fe(e.props.children),this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),"";case b:throw Error(l(294))}if("object"==typeof i&&null!==i)switch(i.$$typeof){case y:A={};var E=i.render(e.props,e.ref);return E=Z(i.render,e.props,E,e.ref),E=fe(E),this.stack.push({type:null,domNamespace:a,children:E,childIndex:0,context:t,footer:""}),"";case m:return e=[o.createElement(i.type,n({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),"";case f:return a={type:e,domNamespace:a,children:i=fe(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(a),"";case d:i=e.type,E=e.props;var w=this.threadID;return x(i,w),i=fe(E.children(i[w])),this.stack.push({type:e,domNamespace:a,children:i,childIndex:0,context:t,footer:""}),"";case v:throw Error(l(338));case g:switch(function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i=e.type),i._status){case 1:return e=[o.createElement(i._result,n({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:a,children:e,childIndex:0,context:t,footer:""}),"";case 2:throw i._result;default:throw Error(l(295))}case k:throw Error(l(343))}throw Error(l(130,null==i?i:typeof i,""))},t.renderDOM=function(e,t,a){var i=e.type.toLowerCase();if(a===ne&&oe(i),!be.hasOwnProperty(i)){if(!ye.test(i))throw Error(l(65,i));be[i]=!0}var r=e.props;if("input"===i)r=n({type:void 0},r,{defaultChecked:void 0,defaultValue:void 0,value:null!=r.value?r.value:r.defaultValue,checked:null!=r.checked?r.checked:r.defaultChecked});else if("textarea"===i){var c=r.value;if(null==c){c=r.defaultValue;var s=r.children;if(null!=s){if(null!=c)throw Error(l(92));if(Array.isArray(s)){if(!(1>=s.length))throw Error(l(93));s=s[0]}c=""+s}null==c&&(c="")}r=n({},r,{value:void 0,children:""+c})}else if("select"===i)this.currentSelectValue=null!=r.value?r.value:r.defaultValue,r=n({},r,{value:void 0});else if("option"===i){s=this.currentSelectValue;var u=function(e){if(null==e)return e;var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(r.children);if(null!=s){var f=null!=r.value?r.value+"":u;if(c=!1,Array.isArray(s)){for(var d=0;d<s.length;d++)if(""+s[d]===f){c=!0;break}}else c=""+s===f;r=n({selected:void 0,children:void 0},r,{selected:c,children:u})}}if(c=r){if(ie[i]&&(null!=c.children||null!=c.dangerouslySetInnerHTML))throw Error(l(137,i,""));if(null!=c.dangerouslySetInnerHTML){if(null!=c.children)throw Error(l(60));if(!("object"==typeof c.dangerouslySetInnerHTML&&"__html"in c.dangerouslySetInnerHTML))throw Error(l(61))}if(null!=c.style&&"object"!=typeof c.style)throw Error(l(62,""))}for(k in c=r,s=this.makeStaticMarkup,u=1===this.stack.length,f="<"+e.type,c)if(me.call(c,k)){var p=c[k];if(null!=p){if("style"===k){d=void 0;var y="",b="";for(d in p)if(p.hasOwnProperty(d)){var h=0===d.indexOf("--"),m=p[d];if(null!=m){if(h)var g=d;else if(g=d,he.hasOwnProperty(g))g=he[g];else{var v=g.replace(se,"-$1").toLowerCase().replace(ue,"-ms-");g=he[g]=v}y+=b+g+":",b=d,y+=h=null==m||"boolean"==typeof m||""===m?"":h||"number"!=typeof m||0===m||re.hasOwnProperty(b)&&re[b]?(""+m).trim():m+"px",b=";"}}p=y||null}d=null;e:if(h=i,m=c,-1===h.indexOf("-"))h="string"==typeof m.is;else switch(h){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":h=!1;break e;default:h=!0}h?ge.hasOwnProperty(k)||(d=H(d=k)&&null!=p?d+'="'+F(p)+'"':""):d=j(k,p),d&&(f+=" "+d)}}s||u&&(f+=' data-reactroot=""');var k=f;c="",le.hasOwnProperty(i)?k+="/>":(k+=">",c="</"+e.type+">");e:{if(null!=(s=r.dangerouslySetInnerHTML)){if(null!=s.__html){s=s.__html;break e}}else if("string"==typeof(s=r.children)||"number"==typeof s){s=F(s);break e}s=null}return null!=s?(r=[],pe[i]&&"\n"===s.charAt(0)&&(k+="\n"),k+=s):r=fe(r.children),e=e.type,a=null==a||"http://www.w3.org/1999/xhtml"===a?oe(e):"http://www.w3.org/2000/svg"===a&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":a,this.stack.push({domNamespace:a,type:i,children:r,childIndex:0,context:t,footer:c}),this.previousWasTextNode=!1,k},e}(),we={renderToString:function(e){e=new Ee(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new Ee(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){throw Error(l(207))},renderToStaticNodeStream:function(){throw Error(l(208))},version:"16.12.0"},_e={default:we},xe=_e&&we||_e;e.exports=xe.default||xe},function(e,t,a){var n=a(2),o=a(57);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,'.fullScreen-activated{height:150vh;left:0}div.react-opensstreetmap-leaflet{position:relative;overflow:hidden;width:100%;height:100%}div.react-opensstreetmap-leaflet .hayyabuild-map{position:relative;height:100%;width:100%;top:0;left:0;right:0;bottom:0}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button,div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker,div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button{display:block;position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;z-index:15;overflow:hidden;padding:0 5px;border:1px solid rgba(255,255,255,0.5);background-color:#0085ba;color:#FFF;box-shadow:0 0 5px rgba(0,0,0,0.4);transform:scale(0.8);cursor:pointer;transition:transform 0.3s ease-out}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button:not(.disabled):not(.add-marker):hover,div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker:not(.disabled):not(.add-marker):hover,div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button:not(.disabled):not(.add-marker):hover{background-color:#005D82;transform:scale(1)}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button i,div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker i,div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button i{display:block;height:20px;width:20px;font-size:16px;line-height:20px}div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button{top:40px;background-color:#EE8700}div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button:hover{background-color:#F0A036;transform:scale(1)}div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker{background-color:#00BA49;top:80px}div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker:hover{background-color:#00983B;transform:scale(1)}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button.disabled{background-color:#AAA;color:#FFF;cursor:not-allowed}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers{position:absolute;top:0;left:100%;width:50%;min-width:300px;max-width:400px;height:100%;z-index:16}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker{position:absolute;padding:10px;width:100%;height:100%;top:0;left:-100%;font-size:0.9rem;background-color:rgba(255,255,255,0.75);border:1px solid rgba(255,255,255,0.95);overflow-y:scroll;overflow-x:hidden;transform:scaleX(0);transform-origin:right;transition:transform 0.2s, opacity 0.3s 0.2s;box-shadow:0 0 15px rgba(0,0,0,0.3)}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker.show{opacity:1;transform:scaleX(1);transition:transform 0.2s, opacity 0.7s}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker span.info{display:block;font-size:12px;color:#555}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .close-editor,div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker{margin-bottom:5px;width:30px;padding:0;border-radius:50%;border:none;background-color:#11A0D2;height:30px;cursor:pointer;color:#FFF}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .close-editor i,div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker i{font-size:20px;line-height:24px}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .close-editor:hover,div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker:hover{background-color:#278AAD}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker{background-color:#FF8A8A}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker:hover{background-color:#FF5F5F}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .marker-icon-type{text-align:center}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .marker-icon-type svg{width:40px;height:40px;cursor:pointer;margin:10px 3px;padding:5px;border-radius:3px;border:1px solid rgba(0,0,0,0.1);transition:all 0.3s ease-out}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .marker-icon-type svg:hover{background-color:rgba(0,0,0,0.1)}div.react-opensstreetmap-leaflet__loading{display:none}div.react-opensstreetmap-leaflet__loading.show-loading,div.react-opensstreetmap-leaflet__loading.show-success,div.react-opensstreetmap-leaflet__loading.show-error{position:absolute;display:block;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:20;transition:background-color 0.5s}div.react-opensstreetmap-leaflet__loading.show-loading .loading__icon,div.react-opensstreetmap-leaflet__loading.show-success .loading__icon,div.react-opensstreetmap-leaflet__loading.show-error .loading__icon{position:absolute;display:inline-block;width:120px;height:120px;top:50%;left:50%;transform:translate(-50%, -50%)}div.react-opensstreetmap-leaflet__loading.show-loading .loading__icon:after,div.react-opensstreetmap-leaflet__loading.show-success .loading__icon:after,div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:after{position:absolute;top:0;content:" ";display:block;width:120px;height:120px;margin:1px;border:10px solid #FFF;transition:width 0.3s}div.react-opensstreetmap-leaflet__loading.show-loading{background-color:rgba(255,245,100,0.5)}div.react-opensstreetmap-leaflet__loading.show-success{background-color:rgba(100,245,100,0.5)}div.react-opensstreetmap-leaflet__loading.show-error{background-color:rgba(255,100,100,0.5)}div.react-opensstreetmap-leaflet__loading.show-loading .loading__icon:after{border-radius:50%;border:10px solid #FFF;border-color:#FFF transparent #FFF transparent;animation:lds-dual-ring 1.2s linear infinite}div.react-opensstreetmap-leaflet__loading.show-success .loading__icon{width:60px}div.react-opensstreetmap-leaflet__loading.show-success .loading__icon:after{width:60px;border:10px solid #FFF;border-color:transparent #FFF #FFF transparent;transform:rotateZ(45deg);transform-origin:right}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon{width:10px}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:before{content:" ";display:block;margin:1px}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:before,div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:after{position:absolute;top:0;width:10px;height:120px;border:none;background-color:#FFF;transform:rotateZ(-45deg);transition:width 0.3s, border-radius 0.3s}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:after{transform:rotateZ(45deg)}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}div.react-opensstreetmap-leaflet .hayyabuild-map-info.show{position:absolute;z-index:18;top:auto;bottom:10px;right:10px;color:#333;background-color:#FFF;border-radius:3px;padding:5px 10px;font-size:14px;box-shadow:0 5px 10px rgba(0,0,0,0.2)}\n',""]),e.exports=t},function(e,t,a){var n=a(2),o=a(59);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,".hb-select-icon{position:relative;border:1px solid #EEE;padding:0;margin:20px 0;text-align:center;background-color:#FFF;height:40px}.hb-select-icon a:active,.hb-select-icon a:focus{outline:none;box-shadow:none}.hb-select-icon a.toggle{position:relative;display:block;width:100%;height:40px;line-height:30px;background-color:#fafafa;color:#555;text-decoration:none;padding:5px 10px;outline:none;border-radius:1px;text-align:left;z-index:9999}.hb-select-icon a.toggle:focus{outline:none}.hb-select-icon a.toggle:after{content:'\\f107';font-family:'FontAwesome';position:absolute;right:10px;top:5px}.hb-select-icon a.toggle.opened{z-index:999999}.hb-select-icon a.toggle.opened:after{content:'\\f106'}.hb-select-icon .icons-container{height:0;overflow:hidden;position:absolute;width:100%;top:0;left:0;z-index:999;background-color:#FFF;border:1px solid #EEE;transition:height .2s ease-in, box-shadow .2s ease-in;padding-top:40px}.hb-select-icon .icons-container.opened{height:340px;z-index:99999;box-shadow:0px 5px 15px rgba(5,5,5,0.3)}.hb-select-icon .icons-container input[type=text],.hb-select-icon .icons-container input[type=search]{display:inline-block;width:48%;margin:0;border-radius:0;border:0;border-bottom:1px solid #CCC}.hb-select-icon .icons-container input[type=text][type=text],.hb-select-icon .icons-container input[type=search][type=text]{margin-right:2%}.hb-select-icon .icons-container input[type=text]:focus,.hb-select-icon .icons-container input[type=search]:focus{box-shadow:none;border-bottom:1px solid #888}.hb-select-icon .icons-container ul{overflow-y:scroll;overflow-x:hidden;height:250px;display:block;widows:100%;text-align:center;list-style:none}.hb-select-icon .icons-container ul li{display:inline-block;margin:1%;width:18%;height:37px}.hb-select-icon .icons-container ul li a{display:inline-block;width:100%;height:100%;border:1px solid #DDD;background-color:#f8f8f8;color:#555;border-radius:1px;text-align:center;transition:color .1s ease-in}.hb-select-icon .icons-container ul li a.active{background-color:#0085ba;color:#ffffff}.hb-select-icon .icons-container ul li a:hover{color:#0085ba;background-color:#EEE}.hb-select-icon .icons-container ul li a:hover i{transform:scale(1.5)}.hb-select-icon .icons-container ul li a i{line-height:35px;font-size:17px;transition:transform .1s linear;transform:scale(1)}\n",""]),e.exports=t},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.InlineIcon=t.Icon=void 0;var n,o=(n=a(1))&&n.__esModule?n:{default:n};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var r=0,c=/(-?[0-9.]*[0-9]+[0-9.]*)/g,s=/^-?[0-9.]*[0-9]+[0-9.]*$/g,u=["width","height","inline","hFlip","vFlip","flip","rotate","align","color","box"],f={left:0,top:0,width:16,height:16,rotate:0,hFlip:!1,vFlip:!1};var d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._item=t}var t,a,n;return t=e,n=[{key:"splitAttributes",value:function(e){var t={icon:Object.create(null),node:Object.create(null)};return Object.keys(e).forEach((function(a){t[-1===u.indexOf(a)?"node":"icon"][a]=e[a]})),t}},{key:"calculateDimension",value:function(e,t,a){if(1===t)return e;if(a=void 0===a?100:a,"number"==typeof e)return Math.ceil(e*t*a)/a;var n=e.split(c);if(null===n||!n.length)return null;for(var o,l=[],i=n.shift(),r=s.test(i);;){if(r?(o=parseFloat(i),isNaN(o)?l.push(i):l.push(Math.ceil(o*t*a)/a)):l.push(i),void 0===(i=n.shift()))return l.join("");r=!r}}},{key:"replaceIDs",value:function(e){var t,a,n=/\sid="(\S+)"/g,o=[];function l(e,t,a){for(var n=0;-1!==(n=a.indexOf(e,n));)a=a.slice(0,n)+t+a.slice(n+e.length),n+=t.length;return a}for(;t=n.exec(e);)o.push(t[1]);return o.length?(a="IconifyId-"+Date.now().toString(16)+"-"+(16777216*Math.random()|0).toString(16)+"-",o.forEach((function(t){var n=a+r;r++,e=l('="'+t+'"','="'+n+'"',e),e=l('="#'+t+'"','="#'+n+'"',e),e=l("(#"+t+")","(#"+n+")",e)})),e):e}}],(a=[{key:"getAttributes",value:function(t){var a=this._item;"object"!==l(t)&&(t=Object.create(null));var n={horizontal:"center",vertical:"middle",slice:!1},o={rotate:a.rotate,hFlip:a.hFlip,vFlip:a.vFlip},i=Object.create(null),r=Object.create(null),c=!0===t.inline||"true"===t.inline||"1"===t.inline,s={left:a.left,top:c?a.inlineTop:a.top,width:a.width,height:c?a.inlineHeight:a.height};if(["hFlip","vFlip"].forEach((function(e){void 0===t[e]||!0!==t[e]&&"true"!==t[e]&&"1"!==t[e]||(o[e]=!o[e])})),void 0!==t.flip&&t.flip.toLowerCase().split(/[\s,]+/).forEach((function(e){switch(e){case"horizontal":o.hFlip=!o.hFlip;break;case"vertical":o.vFlip=!o.vFlip}})),void 0!==t.rotate){var u=t.rotate;if("number"==typeof u)o.rotate+=u;else if("string"==typeof u){var f=u.replace(/^-?[0-9.]*/,"");if(""===f)u=parseInt(u),isNaN(u)||(o.rotate+=u);else if(f!==u){var d=!1;switch(f){case"%":d=25;break;case"deg":d=90}d&&(u=parseInt(u.slice(0,u.length-f.length)),isNaN(u)||(o.rotate+=Math.round(u/d)))}}}var p,y=[];switch(o.hFlip?o.vFlip?o.rotate+=2:(y.push("translate("+(s.width+s.left)+" "+(0-s.top)+")"),y.push("scale(-1 1)"),s.top=s.left=0):o.vFlip&&(y.push("translate("+(0-s.left)+" "+(s.height+s.top)+")"),y.push("scale(1 -1)"),s.top=s.left=0),o.rotate%4){case 1:p=s.height/2+s.top,y.unshift("rotate(90 "+p+" "+p+")"),0===s.left&&0===s.top||(p=s.left,s.left=s.top,s.top=p),s.width!==s.height&&(p=s.width,s.width=s.height,s.height=p);break;case 2:y.unshift("rotate(180 "+(s.width/2+s.left)+" "+(s.height/2+s.top)+")");break;case 3:p=s.width/2+s.left,y.unshift("rotate(-90 "+p+" "+p+")"),0===s.left&&0===s.top||(p=s.left,s.left=s.top,s.top=p),s.width!==s.height&&(p=s.width,s.width=s.height,s.height=p)}var b,h,m=t.width?t.width:null,g=t.height?t.height:null;null===m&&null===g&&(g="1em"),null!==m&&null!==g?(b=m,h=g):null!==m?(b=m,h=e.calculateDimension(b,s.height/s.width)):(h=g,b=e.calculateDimension(h,s.width/s.height)),!1!==b&&(r.width="auto"===b?s.width:b),!1!==h&&(r.height="auto"===h?s.height:h),c&&0!==a.verticalAlign&&(i["vertical-align"]=a.verticalAlign+"em"),void 0!==t.align&&t.align.toLowerCase().split(/[\s,]+/).forEach((function(e){switch(e){case"left":case"right":case"center":n.horizontal=e;break;case"top":case"bottom":case"middle":n.vertical=e;break;case"crop":n.slice=!0;break;case"meet":n.slice=!1}})),r.preserveAspectRatio=function(e){var t;switch(e.horizontal){case"left":t="xMin";break;case"right":t="xMax";break;default:t="xMid"}switch(e.vertical){case"top":t+="YMin";break;case"bottom":t+="YMax";break;default:t+="YMid"}return t+=e.slice?" slice":" meet"}(n),r.viewBox=s.left+" "+s.top+" "+s.width+" "+s.height;var v=e.replaceIDs(a.body);return void 0!==t.color&&(v=v.replace(/currentColor/g,t.color)),y.length&&(v='<g transform="'+y.join(" ")+'">'+v+"</g>"),!0!==t.box&&"true"!==t.box&&"1"!==t.box||(v+='<rect x="'+s.left+'" y="'+s.top+'" width="'+s.width+'" height="'+s.height+'" fill="rgba(0, 0, 0, 0)" />'),{attributes:r,body:v,style:i}}},{key:"getSVG",value:function(t,a){var n=e.splitAttributes(t),o=this.getAttributes(n.icon),l='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"';return a&&Object.keys(n.node).forEach((function(e){l+=" "+e+'="'+n.node[e]+'"'})),Object.keys(o.attributes).forEach((function(e){l+=" "+e+'="'+o.attributes[e]+'"'})),l+=' style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);',Object.keys(o.style).forEach((function(e){l+=" "+e+": "+o.style[e]+";"})),t&&void 0!==t.style&&(l+=t.style),l+='">',l+=o.body+"</svg>"}}])&&i(t.prototype,a),n&&i(t,n),e}();function p(e,t){if("object"!==l(e.icon))return null;var a=d.splitAttributes(e),n=a.icon,i=a.node;delete i.icon,void 0===n.inline&&(n.inline=t);var r,c,s=new d((r=e.icon,void 0===(c=Object.assign(Object.create(null),f,r)).inlineTop&&(c.inlineTop=c.top),void 0===c.inlineHeight&&(c.inlineHeight=c.height),void 0===c.verticalAlign&&(c.verticalAlign=c.height%7==0&&c.height%8!=0?-.143:-.125),c)).getAttributes(n),u={transform:"rotate(360deg)"};void 0!==s.style["vertical-align"]&&(u.verticalAlign=s.style["vertical-align"]),void 0!==e.style&&(u=Object.assign(u,e.style));var p=Object.assign({xmlns:"http://www.w3.org/2000/svg",focusable:!1,style:u},i,s.attributes);return p.dangerouslySetInnerHTML={__html:s.body},o.default.createElement("svg",p,null)}var y=function(e){return p(e,!1)};t.Icon=y;t.InlineIcon=function(e){return p(e,!0)};var b=y;t.default=b},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return v})),a.d(t,"settings",(function(){return k}));var n=a(0),o=a(13),l=a.n(o);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components,f=u.PanelBody,d=u.ToggleControl,p=r.blockEditor,y=p.InspectorControls,b=p.AlignmentToolbar,h=r.blockEditor,m=h.InnerBlocks,g=h.BlockControls,v="hayyabuild/contentbox",k={title:c("Content Box","hayyabuild"),icon:n.H.iconStyle(l.a),description:c("The Content Box block is a generic container for flow content. It has no effect on the content or layout until customize it with all options provided by HayyaBuild.","hayyabuild"),category:"hayyabuild",attributes:{container:{type:"boolean",default:!1},textAlign:{type:"string"},align:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},supports:{align:["wide","full"]},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:c("The Content Box block is a generic container for flow content. It has no effect on the content or layout until customize it with all options provided by HayyaBuild.","hayyabuild"),textAlign:"center"}},{name:"hayyabuild/button",attributes:{text:c("Button","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t,a=e.attributes,o=e.setAttributes,l=e.className,r=(e.clientId,e.isSelected,a.container),u=a.textAlign,p=a.align,h=a.id,k=a.classesList,E=a.style;return n.H.blockID(h,v,o),React.createElement(s,null,React.createElement(g,null,React.createElement(b,{title:c("Content Alignment","hayyabuild"),value:u,onChange:function(e){return o({textAlign:e})}})),React.createElement(y,null,React.createElement(f,{title:c("Content Box Settings","hayyabuild")},React.createElement(d,{label:c("Container Box","hayyabuild"),checked:!!r,onChange:function(){o({container:!r})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:h,elementStyle:".".concat(h),value:{classesList:k,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(l,"wp-block-hayyabuild-contentbox",(t={container:r},i(t,"align-"+u,u),i(t,"align-"+p,p),t),{classesList:k},h),style:E},React.createElement(m,{templateLock:!1})))},save:function(e){var t,a=e.attributes,o=(e.className,a.container),l=a.textAlign,r=a.align,c=a.id,s=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses((t={container:o},i(t,"align-"+l,l),i(t,"align-"+r,r),t),{classesList:s},c)},React.createElement(m.Content,null))},deprecated:[{attributes:{container:{type:"boolean",default:!1},align:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},save:function(e){var t=e.attributes,a=(e.className,t.container),o=t.align,l=t.id,r=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses(i({container:a},"align-"+o,o),{classesList:r},l)},React.createElement(m.Content,null))}}]}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return g})),a.d(t,"settings",(function(){return k}));var n=a(0),o=a(14),l=a.n(o);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components,f=u.PanelBody,d=u.ToggleControl,p=r.blockEditor,y=p.BlockControls,b=p.InspectorControls,h=p.AlignmentToolbar,m=p.InnerBlocks,g=(r.data.select,"hayyabuild/stickybox"),v="hayyabuild-stickybox",k={title:c("Sticky Box","hayyabuild"),icon:n.H.iconStyle(l.a),description:c("This content box will stick to the screen when you reach scroll position.","hayyabuild"),category:"hayyabuild",attributes:{align:{type:"string"},container:{type:"boolean",default:!1},onlyFixed:{type:"boolean",default:!1},afterHeaderEnd:{type:"boolean",default:!1},showOnScrollup:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},supports:{align:["wide","full"]},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:c("This content box will stick to the screen when you reach scroll position.","hayyabuild"),align:"center"}},{name:"hayyabuild/button",attributes:{text:c("Button","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t,a=e.attributes,o=e.setAttributes,l=e.className,r=e.name,u=a.container,p=a.align,g=a.id,k=a.onlyFixed,E=a.afterHeaderEnd,w=a.showOnScrollup,_=a.classesList,x=a.style;return n.H.blockID(g,r,o),React.createElement(s,null,React.createElement(y,null,React.createElement(h,{value:p,onChange:function(e){return o({align:e})}})),React.createElement(b,null,React.createElement(f,{title:c("Sticky box Settings","hayyabuild")},React.createElement(d,{label:c("Add Container Box","hayyabuild"),checked:!!u,onChange:function(){o({container:!u})}}),React.createElement(d,{label:c("Show Only Sticky","hayyabuild"),checked:!!k,onChange:function(){o({onlyFixed:!k})}}),React.createElement(d,{label:c("Show it After Header Ends","hayyabuild"),checked:!!E,onChange:function(){o({afterHeaderEnd:!E})}}),React.createElement(d,{label:c("Show it when Scroll up","hayyabuild"),checked:!!w,onChange:function(){o({showOnScrollup:!w})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:g,elementStyle:".".concat(g,".stickybox-fixed"),value:{classesList:_,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})}}))),React.createElement("div",{id:g,className:n.H.hayyaClasses(l,(t={},i(t,"".concat(v,"--add-container"),u),i(t,"".concat(v,"--only-fixed"),k),i(t,"".concat(v,"--after-header-end"),E),i(t,"".concat(v,"--show-on-scrollup"),w),i(t,"hb-"+p,p),t),{classesList:_},g,"stickybox-fixed"),style:x},React.createElement("div",{className:"stickybox-container"},React.createElement(m,{templateLock:!1}))))},save:function(e){var t,a=e.attributes,o=a.container,l=a.align,r=a.id,c=a.onlyFixed,s=a.afterHeaderEnd,u=a.showOnScrollup,f=a.classesList;return React.createElement("div",{id:r,className:n.H.hayyaClasses((t={},i(t,"".concat(v,"--add-container"),o),i(t,"".concat(v,"--only-fixed"),c),i(t,"".concat(v,"--after-header-end"),s),i(t,"".concat(v,"--show-on-scrollup"),u),i(t,"hb-"+l,l),t),{classesList:f},r)},React.createElement("div",{className:"stickybox-container"},React.createElement(m.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return f})),a.d(t,"settings",(function(){return d}));var n=a(0),o=wp,l=o.i18n.__,i=o.element.Fragment,r=o.components.PanelBody,c=o.blockEditor.InspectorControls,s=o.blockEditor.InnerBlocks,u=o.data.select,f="hayyabuild/column",d={title:l("Column","hayyabuild"),icon:n.H.iconStyle("columns"),description:l("A single column.","hayyabuild"),parent:["hayyabuild/row"],category:"hayyabuild",attributes:{id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"xx",attribute:"xx"}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,d=e.clientId,p=e.isSelected,y=t.id,b=t.classesList,h=t.style;n.H.blockID(y,f,a);var m=u("core/block-editor").getBlockOrder(d).length>0;return React.createElement(React.Fragment,null,React.createElement(c,null,React.createElement(r,{title:l("Column Settings","hayyabuild")},React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:y,elementStyle:".".concat(y),value:{classesList:b,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(o,{classesList:b},y),style:h},React.createElement(s,{templateLock:!1,renderAppender:p||!m?function(){return React.createElement(s.ButtonBlockAppender,null)}:function(){return React.createElement(i,null)}})))},save:function(e){var t=e.attributes,a=t.id,o=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses({classesList:o},a)},React.createElement(s.Content,null))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return _})),a.d(t,"settings",(function(){return C}));var n=a(18),o=a.n(n),l=a(0),i=a(7);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function c(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var s=wp,u=s.i18n.__,f=s.element.Fragment,d=s.components,p=d.PanelBody,y=d.ToggleControl,b=d.SelectControl,h=d.TextControl,m=d.RangeControl,g=s.blockEditor,v=g.RichText,k=g.BlockControls,E=g.AlignmentToolbar,w=g.InspectorControls,_=i.name,x=i.attributes,R="wp-block-hayyabuild-button",C={title:u("Button","hayyabuild"),description:u("The button block defines a clickable button. Inside a button block you can put content, like text or icon.","hayyabuild"),icon:l.H.iconStyle(o.a),category:"hayyabuild",attributes:x,example:{attributes:{text:"Button",icon:"fa fa-hand-pointer",size:5,style:{background:"#389BFF"}}},edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=(e.className,a.text),i=a.link,r=a.title,s=a.align,d=a.icon,g=a.newTab,x=a.size,C=a.waveEffect,S=a.shadowffect,O=a.effectType,L=a.id,N=a.classesList,H=a.style;return l.H.blockID(L,_,n),React.createElement(f,null,React.createElement(k,null,React.createElement(E,{value:s,onChange:function(e){return n({align:e})}})),React.createElement(w,null,React.createElement(p,{title:u("Button Settings","hayyabuild")},React.createElement(h,{label:u("Button title","hayyabuild"),value:r,onChange:function(e){n({title:e})}}),React.createElement(h,{label:u("Button Link","hayyabuild"),value:i,onChange:function(e){n({link:e})}}),React.createElement(m,{label:u("Button size","hayyabuild"),value:x,onChange:function(e){return n({size:e})},min:1,max:5}),React.createElement(l.H.SelectIcon,{title:u("Icon","hayyabuild"),classPlaceholder:u("Insert icon class","hayyabuild"),fliterPlaceholder:u("Search for icon","hayyabuild"),value:d,onSelect:function(e){return n({icon:e})}}),React.createElement(y,{label:u("Open in new tab","hayyabuild"),checked:!!g,onChange:function(){n({newTab:!g})}}),React.createElement(y,{label:u("Shadow effect","hayyabuild"),checked:!!S,onChange:function(){n({shadowffect:!S})}}),React.createElement(y,{label:u("Wave effect","hayyabuild"),checked:!!C,onChange:function(){n({waveEffect:!C})}}),C&&React.createElement(b,{label:u("Effect color","hayyabuild"),value:O,options:[{label:u("Light","hayyabuild"),Key:"light",value:"light"},{label:u("Red","hayyabuild"),Key:"red",value:"red"},{label:u("Yellow","hayyabuild"),Key:"yellow",value:"yellow"},{label:u("Orange","hayyabuild"),Key:"orange",value:"orange"},{label:u("Purple","hayyabuild"),Key:"purple",value:"purple"},{label:u("Green","hayyabuild"),Key:"green",value:"green"},{label:u("Teal","hayyabuild"),Key:"teal",value:"teal"}],onChange:function(e){n({effectType:e})}}),React.createElement(l.H.BlocksOptions,{optionsTitle:u("HayyaBuild Options","hayyabuild"),styleTitle:u("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:L,elementStyle:".".concat(L," > a"),value:{classesList:N,inlineStyle:!0},onChange:function(e){return n({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:l.H.hayyaClasses(R,c({},"align-"+s,s),{classesList:N},L)},React.createElement("a",{className:l.H.hayyaClasses("".concat(R,"__button"),(t={},c(t,"".concat(R,"__button--size-").concat(x),!0),c(t,"".concat(R,"__button--shadow"),S),c(t,"waves-effect",C),c(t,"waves-".concat(O),C&&O),t)),title:r||o,style:H},React.createElement(v,{tagName:"span",value:o,allowedFormats:["bold","italic","strikethrough","code"],onChange:function(e){return n({text:e})}}),!!d&&React.createElement("i",{className:d}))))},deprecated:[{attributes:x,save:function(e){var t,a=e.attributes,n=a.text,o=a.link,i=a.title,s=a.align,u=a.icon,f=a.newTab,d=a.size,p=a.waveEffect,y=a.shadowffect,b=a.effectType,h=a.id,m=a.classesList;a.className;return React.createElement("div",{className:l.H.hayyaClasses(c({},"align-"+s,s),h)},React.createElement("a",r({href:o,title:i||n,className:l.H.hayyaClasses("".concat(R,"__button"),(t={},c(t,"".concat(R,"__button--size-").concat(d),!0),c(t,"".concat(R,"__button--shadow"),y),c(t,"waves-effect",p),c(t,"waves-".concat(b),p&&b),t),{classesList:m})},f?{target:"_blank",rel:"noopener noreferrer"}:{}),!!n&&React.createElement("span",null,n),!!u&&React.createElement("i",{className:u})))}}],save:function(e){var t,a=e.attributes,n=a.text,o=a.link,i=a.title,s=a.align,u=a.icon,f=a.newTab,d=a.size,p=a.waveEffect,y=a.shadowffect,b=a.effectType,h=a.id,m=a.classesList;a.className;return React.createElement("div",{className:l.H.hayyaClasses(c({},"align-"+s,s),{classesList:m},h)},React.createElement("a",r({href:o,title:i||n,className:l.H.hayyaClasses("".concat(R,"__button"),(t={},c(t,"".concat(R,"__button--size-").concat(d),!0),c(t,"".concat(R,"__button--shadow"),y),c(t,"waves-effect",p),c(t,"waves-".concat(b),p&&b),t))},f?{target:"_blank",rel:"noopener noreferrer"}:{}),!!n&&React.createElement("span",null,n),!!u&&React.createElement("i",{className:u})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return m}));var n=a(0),o=a(19),l=a.n(o),i=wp,r=i.i18n.__,c=i.data.select,s=i.components,u=(s.Button,s.PanelBody),f=s.ToggleControl,d=s.RangeControl,p=(s.SelectControl,s.TextControl),y=i.blockEditor.InspectorControls,b=i.blockEditor.InnerBlocks,h="hayyabuild/openstreetmap",m={title:r("Map","hayyabuild"),icon:n.H.iconStyle(l.a),description:r("With Map block you can include a map on your site that includes unlimited markers dropped at the address of locations.","hayyabuild"),category:"hayyabuild",attributes:{show_content:{type:"boolean",default:!1},min_height:{type:"string",source:"attribute",attribute:"data-height",selector:".wp-block-hayyabuild-openstreetmap",default:"400"},style:{type:"string",source:"attribute",attribute:"data-style",selector:".wp-block-hayyabuild-openstreetmap",default:"style1"},customstyle:{type:"string",source:"attribute",attribute:"data-customstyle",selector:".wp-block-hayyabuild-openstreetmap",default:""},attribution:{type:"string",source:"html",selector:".hayyabuild-map-attribution",default:""},latitude:{type:"string",source:"attribute",attribute:"data-lat",selector:".wp-block-hayyabuild-openstreetmap",default:"00.000000"},longitude:{type:"string",source:"attribute",attribute:"data-lng",selector:".wp-block-hayyabuild-openstreetmap",default:"00.000000"},zoom:{type:"string",source:"attribute",attribute:"data-zoom",selector:".wp-block-hayyabuild-openstreetmap",default:"1"},markerIcon:{type:"string",selector:"icon1"},markers:{type:"string",source:"html",selector:".hayyabuild-map-markers-list"},id:{type:"string"}},supports:{align:["wide","full"]},example:{attributes:{animate:!0,size:2,style:{latitude:"31.924302",longitude:"12.254648",zoom:"5",min_height:"150"}}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,l=e.clientId,i=t.show_content,s=t.min_height,m=t.style,g=t.customstyle,v=t.attribution,k=t.latitude,E=t.longitude,w=t.zoom,_=t.id;n.H.blockID(_,h,a);var x=c("core/block-editor").getBlockOrder(l).length>0;r("Map Tiler","hayyabuild"),r("Style 1","hayyabuild"),r("Style 2","hayyabuild"),r("Style 3","hayyabuild"),r("Style 4","hayyabuild"),r("Style 5","hayyabuild"),r("Style 6","hayyabuild"),r("Custom Style","hayyabuild"),r("Custom Map Tiler","hayyabuild");return React.createElement(React.Fragment,null,React.createElement(y,null,React.createElement(u,{title:r("Content box Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(f,{label:r("Show Content","hayyabuild"),checked:!!i,onChange:function(){a({show_content:!i})}}),!1,React.createElement(p,{label:r("Attribution","hayyabuild"),value:v,onChange:function(e){a({attribution:e})}}),React.createElement(d,{label:r("Map Height","hayyabuild"),value:s,onChange:function(e){return a({min_height:e})},min:200,max:2e3}))),React.createElement("div",{className:n.H.hayyaClasses(o,_),"data-lat":k,"data-lng":E,"data-style":m,"data-customstyle":g,"data-zoom":w,"data-height":s},_&&React.createElement(n.H.OpenStreetMap,{clientId:l,attrs:t,saveButtonTitle:r("Save","hayyabuild"),onChange:function(e){return function(e){var t=e.latitude,n=e.longitude,o=e.zoom,l=e.markers;return!!(t&&n&&o)&&(a({latitude:t,longitude:n,zoom:o,markers:l}),!0)}(e)}}),i&&React.createElement("div",{className:"hayyabuild-map-content"},React.createElement(b,{templateLock:!1,renderAppender:x?void 0:function(){return React.createElement(b.ButtonBlockAppender,null)}}))))},save:function(e){var t=e.attributes,a=e.className,o=t.show_content,l=t.min_height,i=t.style,r=t.customstyle,c=t.attribution,s=t.latitude,u=t.longitude,f=t.zoom,d=t.markers,p=t.id;return React.createElement("div",{className:n.H.hayyaClasses(a,p),"data-lat":s,"data-lng":u,"data-style":i,"data-customstyle":r,"data-zoom":f,"data-height":l},React.createElement("div",{className:"hayyabuild-map"}),c&&React.createElement("div",{className:"hayyabuild-map-attribution",dangerouslySetInnerHTML:{__html:"".concat(c)}}),d&&React.createElement("div",{className:"hayyabuild-map-markers-list",dangerouslySetInnerHTML:{__html:"".concat(d)}}),o&&React.createElement("div",{className:"hayyabuild-map-content"},React.createElement(b.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return v})),a.d(t,"settings",(function(){return k}));var n,o=a(21),l=a.n(o),i=a(0);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var c=wp,s=c.i18n.__,u=c.element.Fragment,f=c.components,d=f.SelectControl,p=f.ToggleControl,y=f.RangeControl,b=f.PanelBody,h=c.blockEditor,m=h.PanelColorSettings,g=h.InspectorControls,v="hayyabuild/spacer",k=(r(n={title:s("Spacer","hayyabuild"),description:s("This will help you to create a flexible spacer.","hayyabuild"),icon:i.H.iconStyle(l.a)},"description",s("Spacer block.","hayyabuild")),r(n,"category","hayyabuild"),r(n,"attributes",{style:{type:"string",default:"center"},ratio:{type:"string",default:""},height:{type:"number",default:"50"},container:{type:"boolean",default:!1},borderSize:{type:"number",default:"0"},borderColor:{type:"string",default:"#DDDDDD"},id:{type:"string",default:""},classesList:{type:"string",default:""}}),r(n,"supports",{align:["wide","full"]}),r(n,"example",{attributes:{borderSize:"1"}}),r(n,"edit",(function(e){var t=e.attributes,a=e.setAttributes,n=e.className,o=t.style,l=t.ratio,r=t.height,c=t.borderSize,f=t.borderColor,h=t.container,k=t.id,E=t.classesList;i.H.blockID(k,v,a);var w=l?{paddingTop:"".concat(l)}:{height:"".concat(r,"px")};return React.createElement(u,null,React.createElement(g,null,React.createElement(b,{title:s("Spacer Settings","hayyabuild")},!l&&React.createElement(y,{label:s("Spacer Height","hayyabuild"),value:r,onChange:function(e){return a({height:e})},min:1,max:1e3}),React.createElement(d,{label:s("Aspect Ratio","hayyabuild"),value:l,help:s("The aspect ratio of the spacer describes the proportional relationship between its width and its height.","hayyabuild"),options:[{label:s("Empty","hayyabuild"),Key:"empty",value:""},{label:"15:1",Key:"6.6%",value:"6.6%"},{label:"14:1",Key:"7.1%",value:"7.1%"},{label:"13:1",Key:"7.7%",value:"7.7%"},{label:"12:1",Key:"8.33%",value:"8.33%"},{label:"11:1",Key:"9%",value:"9%"},{label:"10:1",Key:"10%",value:"10%"},{label:"9:1",Key:"11.11%",value:"11.11%"},{label:"8:1",Key:"12.5%",value:"12.5%"},{label:"7:1",Key:"14.28%",value:"14.28%"},{label:"6:1",Key:"16.66%",value:"16.66%"},{label:"5:1",Key:"20%",value:"20%"}],onChange:function(e){return a({ratio:e})}}),React.createElement(d,{label:s("Spacer Style","hayyabuild"),value:o,options:[{label:s("Empty","hayyabuild"),Key:"empty",value:"empty"},{label:s("Solid","hayyabuild"),Key:"solid",value:"solid"},{label:s("Shadow Center","hayyabuild"),Key:"center",value:"center"},{label:s("Shadow Edges","hayyabuild"),Key:"duble",value:"duble"},{label:s("Shadow Right","hayyabuild"),Key:"right",value:"right"},{label:s("Shadow Left","hayyabuild"),Key:"left",value:"left"}],onChange:function(e){return a({style:e})}}),"empty"!==o&&React.createElement(y,{label:s("Border size","hayyabuild"),value:c,onChange:function(e){return a({borderSize:e})},min:0,max:5}),React.createElement(p,{label:s("Container","hayyabuild"),checked:!!h,onChange:function(){a({container:!h})}}),React.createElement(i.H.BlocksOptions,{optionsTitle:s("HayyaBuild Options","hayyabuild"),styleTitle:s("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:k,elementStyle:".".concat(k),value:{classesList:E,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}),"empty"!==o&&React.createElement(m,{title:s("Color Settings","hayyabuild"),initialOpen:!1,colorSettings:[{value:f,onChange:function(e){return a({borderColor:e})},label:s("Border Color","hayyabuild")}]}))),React.createElement("div",{className:i.H.hayyaClasses(n,"spacer-editor",{classesList:E},k),style:w},"empty"!==o&&React.createElement("div",{className:"hayyabuild-z-depth ".concat(o,"-shadow"),style:{height:"".concat(c,"px"),backgroundColor:f}})))})),r(n,"save",(function(e){var t=e.attributes,a=(e.className,t.style),n=t.ratio,o=t.height,l=t.borderSize,r=t.borderColor,c=t.container,s=t.id,u=t.classesList,f=n?{paddingTop:"".concat(n)}:{height:"".concat(o,"px")};return React.createElement("div",{className:i.H.hayyaClasses({container:c},{classesList:u},s),style:f},"empty"!==a&&React.createElement("div",{className:"hayyabuild-z-depth ".concat(a,"-shadow"),style:{height:"".concat(l,"px"),backgroundColor:r}}))})),r(n,"deprecated",[{attributes:{style:{type:"string",default:"center"},ratio:{type:"string",default:""},height:{type:"number",default:"50"},container:{type:"boolean",default:!1},borderSize:{type:"number",default:"1"},borderColor:{type:"string",default:"#DDDDDD"},id:{type:"string",default:""},classesList:{type:"string",default:""}},save:function(e){var t=e.attributes,a=(e.className,t.style),n=t.ratio,o=t.height,l=t.borderSize,r=t.borderColor,c=t.container,s=t.id,u=t.classesList,f=n?{paddingTop:"".concat(n)}:{height:"".concat(o,"px")};return React.createElement("div",{className:i.H.hayyaClasses({container:c},{classesList:u},s),style:f},"empty"!==a&&React.createElement("div",{className:"hayyabuild-z-depth ".concat(a,"-shadow"),style:{height:"".concat(l,"px"),backgroundColor:r}}))}}]),n)},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return k})),a.d(t,"settings",(function(){return w}));var n=a(23),o=a.n(n),l=a(0);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components,f=u.PanelBody,d=u.ToggleControl,p=u.SelectControl,y=u.RangeControl,b=r.blockEditor,h=b.RichText,m=b.BlockControls,g=b.InspectorControls,v=b.AlignmentToolbar,k="hayyabuild/alert",E="wp-block-hayyabuild-alert",w={title:c("Alert Box","hayyabuild"),icon:l.H.iconStyle(o.a),description:c("Alerts. Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.","hayyabuild"),category:"hayyabuild",attributes:{text:{type:"text",source:"children",selector:".".concat(E,"__body")},dismissible:{type:"boolean",default:!1},rememberDismissible:{type:"boolean",default:!1},icon:{type:"string"},type:{type:"string",default:""},align:{type:"string",default:""},radius:{type:"number",default:"3"},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{text:c("Alerts. Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.","hayyabuild"),icon:"fa fa-info-circle",dismissible:!0,type:"warning"}},edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=(e.className,a.text),r=a.align,u=a.icon,b=a.dismissible,w=a.rememberDismissible,_=a.type,x=a.radius,R=a.id,C=a.classesList;return l.H.blockID(R,k,n),React.createElement(s,null,React.createElement(m,null,React.createElement(v,{value:r,onChange:function(e){n({align:e})}})),React.createElement(g,null,React.createElement(f,{title:c("Button Settings","hayyabuild")},React.createElement(l.H.getPro,null),React.createElement(d,{label:c("Dismissible","hayyabuild"),checked:!!b,onChange:function(){n({dismissible:!b})}}),React.createElement(d,{label:c("Don`t show again","hayyabuild"),checked:!!w,onChange:function(){n({rememberDismissible:!w})}}),React.createElement(l.H.SelectIcon,{title:c("Icon","hayyabuild"),classPlaceholder:c("Insert icon class","hayyabuild"),fliterPlaceholder:c("Search for icon","hayyabuild"),value:u,onSelect:function(e){return n({icon:e})}}),React.createElement(p,{value:_,options:[{label:c("Alert style","hayyabuild"),Key:"",value:""},{label:c("primary","hayyabuild"),Key:"primary",value:"primary"},{label:c("Info","hayyabuild"),Key:"info",value:"info"},{label:c("Success","hayyabuild"),Key:"success",value:"success"},{label:c("Warning","hayyabuild"),Key:"warning",value:"warning"},{label:c("Danger","hayyabuild"),Key:"danger",value:"danger"}],onChange:function(e){return n({type:e})}}),React.createElement(y,{label:c("Rounded Corners","hayyabuild"),value:x,onChange:function(e){return n({radius:e})},min:0,max:10}),React.createElement(l.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:R,elementStyle:".".concat(R),value:{classesList:C,inlineStyle:!0},onChange:function(e){return n({classesList:e.classesList})}}))),React.createElement("div",{className:l.H.hayyaClasses(E,(t={},i(t,"".concat(E,"--remembrt-dismissible"),b&&w),i(t,"".concat(E,"--radius-").concat(x),x),i(t,"".concat(E,"--").concat(_),_),t),{classesList:C},R)},u&&React.createElement("i",{className:"".concat(E,"__icon ").concat(u)}),React.createElement(h,{tagName:"div",className:l.H.hayyaClasses("".concat(E,"__body"),i({},"align-".concat(r),r)),value:o,placeholder:c("Add text here!","hayyabuild"),onChange:function(e){return n({text:e})}}),b&&React.createElement("a",{id:"".concat(R,"__close"),href:"#",className:"".concat(E,"__close")},"⨯")))},deprecated:[{attributes:{text:{type:"text",source:"children",selector:".".concat(E,"__body")},dismissible:{type:"boolean",default:!1},rememberDismissible:{type:"boolean",default:!1},icon:{type:"string"},type:{type:"string",default:""},align:{type:"string",default:""},radius:{type:"number",default:"3"},id:{type:"string"},classesList:{type:"string",default:""}},save:function(e){var t,a=e.attributes,n=a.text,o=a.align,r=a.icon,c=a.dismissible,s=a.rememberDismissible,u=a.type,f=a.radius,d=a.id,p=a.classesList;return React.createElement("div",{className:l.H.hayyaClasses((t={},i(t,"".concat(E,"--remembrt-dismissible"),c&&s),i(t,"".concat(E,"--radius-").concat(f),f),i(t,"".concat(E,"--").concat(u),u),t),{classesList:p},d)},r&&React.createElement("i",{className:"".concat(E,"__icon ").concat(r)}),React.createElement(h.Content,{tagName:"div",value:n,className:l.H.hayyaClasses("".concat(E,"__body"),i({},"align-".concat(o),o))}),c&&React.createElement("a",{id:"".concat(d,"__close"),href:"#",className:"".concat(E,"__close")}," "))}}],save:function(e){var t,a=e.attributes,n=a.text,o=a.align,r=a.icon,c=a.dismissible,s=a.rememberDismissible,u=a.type,f=a.radius,d=a.id,p=a.classesList;return React.createElement("div",{id:d,className:l.H.hayyaClasses((t={},i(t,"".concat(E,"--remembrt-dismissible"),c&&s),i(t,"".concat(E,"--radius-").concat(f),f),i(t,"".concat(E,"--").concat(u),u),t),{classesList:p},d)},r&&React.createElement("i",{className:"".concat(E,"__icon ").concat(r)}),React.createElement(h.Content,{tagName:"div",value:n,className:l.H.hayyaClasses("".concat(E,"__body"),i({},"align-".concat(o),o))}),c&&React.createElement("a",{id:"".concat(d,"__close"),href:"#",className:"".concat(E,"__close")}," "))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return v})),a.d(t,"settings",(function(){return k}));var n=a(24),o=a.n(n),l=a(0);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components,f=u.PanelBody,d=u.ServerSideRender,p=u.ToggleControl,y=u.SelectControl,b=r.blockEditor,h=b.BlockControls,m=b.AlignmentToolbar,g=b.InspectorControls,v="hayyabuild/menu",k={title:c("Menu","hayyabuild"),icon:l.H.iconStyle(o.a),description:c("You can use this menu block in headers as the main menu with many options.","hayyabuild"),category:"hayyabuild",attributes:{menu:{type:"string",default:""},menuIcon:{type:"string",default:""},align:{type:"string",default:""},editor:{type:"boolean",default:!1},container:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{html:!1},example:{attributes:{menuIcon:""}},edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.name),o=t.menu,r=t.menuIcon,u=t.align,b=t.container,v=t.id,k=t.classesList;l.H.blockID(v,n,a);var E=[{label:c("Select Menu","hayyabuild"),key:"",value:""}];return"object"===("undefined"==typeof hayyabuild_menu_list?"undefined":i(hayyabuild_menu_list))&&"function"==typeof hayyabuild_menu_list.map&&hayyabuild_menu_list.map((function(e){E.push({label:e.name,key:e.slug,value:e.slug})})),React.createElement(s,null,React.createElement(h,null,React.createElement(m,{value:u,onChange:function(e){return a({align:e})}})),React.createElement(g,null,React.createElement(f,{title:c("Menu Settings","hayyabuild")},React.createElement(l.H.getPro,null),React.createElement(y,{label:c("Select Menu","hayyabuild"),value:o,options:E,onChange:function(e){return a({menu:e})}}),React.createElement(p,{label:c("Container","hayyabuild"),checked:!!b,onChange:function(){a({container:!b})}}),React.createElement(l.H.SelectIcon,{title:c("Menu Icon","hayyabuild"),classPlaceholder:c("Insert icon class","hayyabuild"),fliterPlaceholder:c("Search for icon","hayyabuild"),value:r,onSelect:function(e){return a({menuIcon:e})}}),React.createElement(l.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:v,elementStyle:".".concat(v),value:{classesList:k,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement(d,{block:"hayyabuild/menu",attributes:{menu:o,menuIcon:r,align:u,id:v,container:b,editor:!0,classesList:k}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return v})),a.d(t,"settings",(function(){return k}));var n=a(0),o=a(25),l=a.n(o);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components,f=u.PanelBody,d=u.ServerSideRender,p=u.ToggleControl,y=u.SelectControl,b=r.blockEditor,h=b.BlockControls,m=b.AlignmentToolbar,g=b.InspectorControls,v="hayyabuild/smenu",k={title:c("Simple Menu","hayyabuild"),description:c("With Simple Menu block you can add menus to any place.","hayyabuild"),icon:n.H.iconStyle(l.a),category:"hayyabuild",attributes:{menu:{type:"string",default:""},align:{type:"string",default:""},vertical:{type:"boolean",default:!1},editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{html:!1},example:{attributes:{vertical:!0}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),l=t.menu,r=t.align,u=t.vertical,b=t.id,v=t.classesList;n.H.blockID(b,o,a);var k=[{label:c("Select Menu","hayyabuild"),key:"",value:""}];return"object"===("undefined"==typeof hayyabuild_menu_list?"undefined":i(hayyabuild_menu_list))&&"function"==typeof hayyabuild_menu_list.map&&hayyabuild_menu_list.map((function(e){k.push({label:e.name,key:e.slug,value:e.slug})})),React.createElement(s,null,React.createElement(h,null,React.createElement(m,{value:r,onChange:function(e){return a({align:e})}})),React.createElement(g,null,React.createElement(f,{title:c("Menu Settings","hayyabuild")},React.createElement(y,{label:c("Select Menu","hayyabuild"),value:l,options:k,onChange:function(e){return a({menu:e})}}),React.createElement(p,{label:c("Vertical","hayyabuild"),checked:!!u,onChange:function(){a({vertical:!u})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:b,elementStyle:".".concat(b," ul li"),value:{classesList:v,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement(d,{block:"hayyabuild/smenu",attributes:{menu:l,align:r,id:b,vertical:u,editor:!0,classesList:v}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return p})),a.d(t,"settings",(function(){return y}));var n=a(0),o=a(26),l=a.n(o),i=wp,r=i.i18n.__,c=i.element.Fragment,s=i.components,u=s.PanelBody,f=s.TextControl,d=i.blockEditor.InspectorControls,p=(i.serverSideRender,"hayyabuild/breadcrumb"),y={title:r("Breadcrumb Menu","hayyabuild"),description:r("A breadcrumb or breadcrumb trail is a graphical control element frequently used as a navigational aid in user interfaces and on web pages. It allows users to keep track and maintain awareness of their locations within websites.","hayyabuild"),icon:n.H.iconStyle(l.a,"orange"),category:"hayyabuild",attributes:{home_title:{type:"string",default:r("Home","hayyabuild")},home_icon:{type:"string",default:"fa fa-home"},separator:{type:"string",default:"fa fa-angle-double-right"},editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{html:!1},example:{attributes:{home_title:"",home_icon:"fa fa-home"}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),l=t.home_title,i=t.home_icon,s=t.separator,p=t.id,y=t.classesList;return n.H.blockID(p,o,a),React.createElement(c,null,React.createElement(d,null,React.createElement(u,{title:r("Breadcrumb Menu Settings","hayyabuild")},React.createElement(f,{label:r("Home Title","hayyabuild"),value:l,onChange:function(e){return a({home_title:e})}}),!l&&React.createElement(n.H.SelectIcon,{title:r("Home Icon","hayyabuild"),classPlaceholder:r("Insert icon class","hayyabuild"),fliterPlaceholder:r("Search for icon","hayyabuild"),value:i,onSelect:function(e){return a({home_icon:e})}}),React.createElement(n.H.SelectIcon,{title:r("Separator Icon","hayyabuild"),classPlaceholder:r("Insert icon class","hayyabuild"),fliterPlaceholder:r("Search for icon","hayyabuild"),value:s,onSelect:function(e){return a({separator:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),elementID:p,elementStyle:".".concat(p),value:{classesList:y,inlineStyle:!0},icon:"fa fa-cogs",onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("serverSideRender",{block:"hayyabuild/breadcrumb",attributes:{home_title:l,home_icon:i,separator:s,id:p,editor:!0,classesList:y}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return m}));var n=a(0),o=a(27),l=a.n(o),i=wp,r=i.i18n.__,c=i.element.Fragment,s=i.components,u=s.PanelBody,f=s.ServerSideRender,d=s.ToggleControl,p=(s.TextControl,s.SelectControl),y=i.blockEditor,b=(y.AlignmentToolbar,y.InspectorControls),h="hayyabuild/search",m={title:r("Search Box","hayyabuild"),description:r("It`s a search input which enables the visitors to find words, sentences, and numbers in a pages and posts.","hayyabuild"),icon:n.H.iconStyle(l.a,"brown"),category:"hayyabuild",attributes:{theme:{type:"string",default:""},expand:{type:"boolean",default:!1},right:{type:"boolean",default:!1},editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{theme:"hb_transparent"}},supports:{html:!1},edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),l=t.theme,i=t.expand,s=t.right,y=t.id,h=t.classesList;return n.H.blockID(y,o,a),React.createElement(c,null,React.createElement(b,null,React.createElement(u,{title:r("Breadcrumb Menu Settings","hayyabuild")},React.createElement(p,{label:r("Select Theme","hayyabuild"),value:l,options:[{label:r("Select Theme","hayyabuild"),key:"",value:""},{label:r("Light","hayyabuild"),key:"hb_light",value:"hb_light"},{label:r("Dark","hayyabuild"),key:"hb_dark",value:"hb_dark"},{label:r("Transparent","hayyabuild"),key:"hb_transparent",value:"hb_transparent"}],onChange:function(e){return a({theme:e})}}),React.createElement(d,{label:r("Expand on Hover","hayyabuild"),checked:!!i,onChange:function(){a({expand:!i})}}),React.createElement(d,{label:r("Right Align","hayyabuild"),checked:!!s,onChange:function(){a({right:!s})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:y,elementStyle:".".concat(y),value:{classesList:h,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement(f,{block:"hayyabuild/search",attributes:{theme:l,expand:i,right:s,id:y,editor:!0,classesList:h}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return c})),a.d(t,"settings",(function(){return s}));var n=a(0),o=a(28),l=a.n(o),i=wp,r=i.i18n.__,c=(i.element.Fragment,i.components.ServerSideRender,i.blockEditor.InspectorControls,"hayyabuild/pagecontent"),s={title:r("Page content","hayyabuild"),icon:n.H.iconStyle(l.a),description:r("When building any page with HayyaBuild you can add the original content of the page to any place that you want.","hayyabuild"),category:"hayyabuild",attributes:{editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,l=t.id;t.classesList;return n.H.blockID(l,c,a),React.createElement("div",{className:n.H.hayyaClasses(o)},React.createElement("h3",{style:{textAlign:"center"}},r("Page Content","hayyabuild"),React.createElement("br",null),React.createElement("i",{className:"fa fa-file-contract"})))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return b})),a.d(t,"settings",(function(){return h}));var n=a(0),o=a(30),l=a.n(o);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components.PanelBody,f=r.blockEditor,d=f.InspectorControls,p=f.AlignmentToolbar,y=r.blockEditor.InnerBlocks,b="hayyabuild/doublesidedboxsides",h={title:c("Sides","hayyabuild"),icon:n.H.iconStyle(l.a),category:"hayyabuild",attributes:{side:{type:"string",default:"front"},align:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/doublesidedbox"],edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,t.side),l=t.align,r=t.id,f=t.classesList;n.H.blockID(r,b,a);var h="front"===o?"hayyabuild-doublesidedbox__front":"hayyabuild-doublesidedbox__back";return React.createElement(s,null,React.createElement(d,null,React.createElement(u,{title:c("Sides Settings","hayyabuild")},React.createElement(p,{title:c("Content Alignment","hayyabuild"),value:l,onChange:function(e){return a({align:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:r,elementStyle:".".concat(r),value:{classesList:f,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-doublesidedboxsides",h,i({},"align-"+l,l),{classesList:f},r)},React.createElement(y,{templateLock:!1})))},save:function(e){var t=e.attributes,a=(e.className,t.side),o=t.align,l=t.id,r=t.classesList,c="front"===a?"hayyabuild-doublesidedbox__front":"hayyabuild-doublesidedbox__back";return React.createElement("div",{className:n.H.hayyaClasses(c,i({},"align-"+o,o),{classesList:r},l)},React.createElement(y.Content,null))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return w})),a.d(t,"settings",(function(){return x}));var n=a(0),o=(a(75),a(34)),l=a.n(o),i=a(4),r=a(5),c=a(8);function s(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var u=wp,f=u.i18n.__,d=u.element.Fragment,p=u.components,y=p.PanelBody,b=p.ToggleControl,h=p.TextControl,m=p.RangeControl,g=u.blockEditor,v=g.BlockControls,k=g.AlignmentToolbar,E=g.InspectorControls,w=c.name,_=c.attributes,x={title:f("Social Media Menu","hayyabuild"),description:f("Easily create beautiful social media menu.","hayyabuild"),icon:n.H.iconStyle(l.a,"green"),keywords:[f("social media","hayyabuild")],attributes:_,category:"hayyabuild",supports:{html:!1},example:{attributes:{shadow:!0,style:{padding:"0 10px",background:"rgba(0,130,190,0.6)",border:"1px solid rgba(0,130,190,0.7)",borderRadius:"3px",margin:"5px",size:"15"}}},edit:function(e){var t,a=e.attributes,o=e.setAttributes,l=e.className,c=e.name,u=a.align,p=a.size,g=a.shadow,w=a.id,_=a.classesList,x=a.style,R=a.facebook,C=a.twitter,S=a.linkedin,O=a.youtube,L=a.vimeo,N=a.instagram,H=a.pinterest,I=a.flickr,z=a.github,T=a.vk,B=a.tumblr;n.H.blockID(w,c,o),R||C||S||O||L||N||H||I||z||T||B||(R=C=O=N=S=z="#");f("LinkedIn","hayyabuild"),f("Pinterest","hayyabuild"),f("Vimeo","vimeo"),f("Flickr","hayyabuild"),f("Tumblr","hayyabuild"),f("vk","hayyabuild");return React.createElement(d,null,React.createElement(v,null,React.createElement(k,{value:u,onChange:function(e){return o({align:e})}})),React.createElement(E,null,React.createElement(y,{title:f("Social Menu Settings","hayyabuild")},React.createElement(m,{label:f("Icons size","hayyabuild"),value:p,onChange:function(e){return o({size:e})},min:1,max:20}),React.createElement(b,{label:f("Shadow","hayyabuild"),checked:!!g,onChange:function(){o({shadow:!g})}}),React.createElement(i.a,{title:f("Edit Social Menu","hayyabuild"),iconClass:"fa fa-users",appendTo:"editor"},React.createElement(r.a,{color:"#555",bgColor:"#FFF"},React.createElement(r.a.Item,{active:!0,title:f("SocialMedia links","hayyabuild"),iconClass:"fa fa-group",className:"hayyabuild-social-links"},React.createElement(n.H.getPro,null),React.createElement("div",null,React.createElement("i",{className:"fab fa-facebook"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Facebook","hayyabuild"),value:R,onChange:function(e){return o({facebook:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-twitter"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Twitter","hayyabuild"),value:C,onChange:function(e){return o({twitter:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-instagram"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Instagram","hayyabuild"),value:N,onChange:function(e){return o({instagram:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-youtube"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Youtube","hayyabuild"),value:O,onChange:function(e){return o({youtube:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-github"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Github","hayyabuild"),value:z,onChange:function(e){return o({github:e})}})),!1))),React.createElement(n.H.BlocksOptions,{optionsTitle:f("HayyaBuild Options","hayyabuild"),styleTitle:f("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:w,elementStyle:".".concat(w," a.hayyabuild-social"),value:{classesList:_,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(l,(t={"hb-shadow":g},s(t,"hb-"+u,u),s(t,"size-"+p,!0),t),{classesList:_},w)},!!R&&React.createElement("a",{className:"hayyabuild-social facebook",href:R,style:x},React.createElement("i",{className:"fab fa-facebook"})),!!C&&React.createElement("a",{className:"hayyabuild-social twitter",href:C,style:x},React.createElement("i",{className:"fab fa-twitter"})),!!N&&React.createElement("a",{className:"hayyabuild-social instagram",href:N,style:x},React.createElement("i",{className:"fab fa-instagram"})),!!O&&React.createElement("a",{className:"hayyabuild-social youtube",href:O,style:x},React.createElement("i",{className:"fab fa-youtube"})),!!z&&React.createElement("a",{className:"hayyabuild-social github",href:z,style:x},React.createElement("i",{className:"fab fa-github"})),!!S&&React.createElement("a",{className:"hayyabuild-social linkedin",href:S,style:x},React.createElement("i",{className:"fab fa-linkedin"})),!!H&&React.createElement("a",{className:"hayyabuild-social pinterest",href:H,style:x},React.createElement("i",{className:"fab fa-pinterest"})),!!L&&React.createElement("a",{className:"hayyabuild-social vimeo",href:L,style:x},React.createElement("i",{className:"fab fa-vimeo"})),!!I&&React.createElement("a",{className:"hayyabuild-social flickr",href:I,style:x},React.createElement("i",{className:"fab fa-flickr"})),!!B&&React.createElement("a",{className:"hayyabuild-social tumblr",href:B,style:x},React.createElement("i",{className:"fab fa-tumblr"})),!!T&&React.createElement("a",{className:"hayyabuild-social vk",href:T,style:x},React.createElement("i",{className:"fab fa-vk"}))))},save:function(e){var t,a=e.attributes,o=(e.className,a.id),l=a.align,i=a.size,r=a.shadow,c=a.classesList,u=a.facebook,f=a.twitter,d=a.linkedin,p=a.youtube,y=a.vimeo,b=a.instagram,h=a.pinterest,m=a.flickr,g=a.github,v=a.vk,k=a.tumblr;return u||f||d||p||y||b||h||m||g||v||k||(u=f=p=b=d=g="#"),React.createElement("div",{className:n.H.hayyaClasses((t={"hb-shadow":r},s(t,"hb-"+l,l),s(t,"size-"+i,!0),t),{classesList:c},o)},!!u&&React.createElement("a",{className:"hayyabuild-social facebook",href:u},React.createElement("i",{className:"fab fa-facebook"})),!!f&&React.createElement("a",{className:"hayyabuild-social twitter",href:f},React.createElement("i",{className:"fab fa-twitter"})),!!b&&React.createElement("a",{className:"hayyabuild-social instagram",href:b},React.createElement("i",{className:"fab fa-instagram"})),!!p&&React.createElement("a",{className:"hayyabuild-social youtube",href:p},React.createElement("i",{className:"fab fa-youtube"})),!!g&&React.createElement("a",{className:"hayyabuild-social github",href:g},React.createElement("i",{className:"fab fa-github"})),!!d&&React.createElement("a",{className:"hayyabuild-social linkedin",href:d},React.createElement("i",{className:"fab fa-linkedin"})),!!h&&React.createElement("a",{className:"hayyabuild-social pinterest",href:h},React.createElement("i",{className:"fab fa-pinterest"})),!!y&&React.createElement("a",{className:"hayyabuild-social vimeo",href:y},React.createElement("i",{className:"fab fa-vimeo"})),!!m&&React.createElement("a",{className:"hayyabuild-social flickr",href:m},React.createElement("i",{className:"fab fa-flickr"})),!!k&&React.createElement("a",{className:"hayyabuild-social tumblr",href:k},React.createElement("i",{className:"fab fa-tumblr"})),!!v&&React.createElement("a",{className:"hayyabuild-social vk",href:v},React.createElement("i",{className:"fab fa-vk"})))}}},function(e,t,a){var n=a(2),o=a(76);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var l={insert:"head",singleton:!1},i=(n(o,l),o.locals?o.locals:{});e.exports=i},function(e,t,a){(t=a(3)(!1)).push([e.i,".hayyabuild-social-links{padding:20px}.hayyabuild-social-links .fab{position:relative;text-align:center;display:inline-block;width:30px;height:30px;line-height:30px;font-size:20px;color:#FFF;border-radius:3px;top:2px;margin:0 5px}.hayyabuild-social-links .fab.fa-facebook{background:#3b5998}.hayyabuild-social-links .fab.fa-twitter{background:#00aced}.hayyabuild-social-links .fab.fa-instagram{background:#125688}.hayyabuild-social-links .fab.fa-youtube{background:#bb0000}.hayyabuild-social-links .fab.fa-github{background:#000000}.hayyabuild-social-links .fab.fa-linkedin{background:#007bb5}.hayyabuild-social-links .fab.fa-pinterest{background:#cb2027}.hayyabuild-social-links .fab.fa-vimeo{background:#aad450}.hayyabuild-social-links .fab.fa-flickr{background:#ff0084}.hayyabuild-social-links .fab.fa-tumblr{background:#32506d}.hayyabuild-social-links .fab.fa-vk{background:#4680c2}.hayyabuild-social-links .hayyabuild-social-text{display:inline-block;width:50%}\n",""]),e.exports=t},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return g})),a.d(t,"settings",(function(){return v}));var n=a(35),o=a.n(n),l=a(0);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components,f=u.PanelBody,d=u.ToggleControl,p=u.RangeControl,y=r.blockEditor,b=y.BlockControls,h=y.AlignmentToolbar,m=y.InspectorControls,g="hayyabuild/godown",v={title:c("Go Down Link","hayyabuild"),icon:l.H.iconStyle(o.a),description:c("Add go down link to header.","hayyabuild"),category:"hayyabuild",attributes:{icon:{type:"string",default:"fa fa-angle-double-down"},size:{type:"number",default:3},animate:{type:"boolean",default:!1},align:{type:"string",default:"center"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"xx",attribute:"style"}},example:{attributes:{animate:!0,size:2,style:{padding:"30px 30px",background:"rgba(0,0,0,0.3)",borderRadius:"5px",color:"#FFFFFF"}}},edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=e.className,r=a.icon,u=a.size,y=a.animate,v=a.align,k=a.id,E=a.classesList,w=a.style;return l.H.blockID(k,g,n),React.createElement(s,null,React.createElement(b,null,React.createElement(h,{value:v,onChange:function(e){return n({align:e})}})),React.createElement(m,null,React.createElement(f,{title:c("Button Settings","hayyabuild")},React.createElement(l.H.getPro,null),React.createElement(l.H.SelectIcon,{title:c("Icon","hayyabuild"),classPlaceholder:c("Insert icon class","hayyabuild"),fliterPlaceholder:c("Search for icon","hayyabuild"),value:r,onSelect:function(e){return n({icon:e})}}),React.createElement(p,{label:c("Size","hayyabuild"),value:u,onChange:function(e){return n({size:e})},min:1,max:5}),React.createElement(d,{label:c("Animate","hayyabuild"),checked:!!y,onChange:function(){n({animate:!y})}}),React.createElement(l.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:k,elementStyle:".".concat(k," > a"),value:{classesList:E,inlineStyle:!0},onChange:function(e){return n({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:l.H.hayyaClasses(o,"hb-".concat(v),{classesList:E},k)},React.createElement("a",{href:"#",className:l.H.hayyaClasses({"animate-godown":!!y}),style:w},React.createElement("i",{className:l.H.hayyaClasses((t={"fa fa-angle-double-down":!r},i(t,r,r),i(t,"godown-size-".concat(u),u),t))}))))},save:function(e){var t,a=e.attributes,n=a.icon,o=a.size,r=a.animate,c=a.align,s=a.id,u=a.classesList;return React.createElement("div",{className:l.H.hayyaClasses("hb-".concat(c),{classesList:u},s)},React.createElement("a",{href:"#hayyabuild-after-header",className:l.H.hayyaClasses({"animate-godown":!!r})},React.createElement("i",{className:l.H.hayyaClasses((t={"fa fa-angle-double-down":!n},i(t,n,n),i(t,"godown-size-".concat(o),o),t))})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return g})),a.d(t,"settings",(function(){return v}));var n=a(36),o=a.n(n),l=a(0);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,c=r.i18n.__,s=r.element.Fragment,u=r.components,f=u.PanelBody,d=u.ToggleControl,p=u.RangeControl,y=r.blockEditor,b=y.BlockControls,h=y.AlignmentToolbar,m=y.InspectorControls,g="hayyabuild/goup",v={title:c("Go Up Link","hayyabuild"),icon:l.H.iconStyle(o.a),description:c("Add go up link to footer.","hayyabuild"),category:"hayyabuild",attributes:{icon:{type:"string",default:"fa fa-angle-double-up"},size:{type:"number",default:3},animate:{type:"boolean",default:!1},align:{type:"string",default:"right"},container:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},example:{attributes:{animate:!0,size:2,style:{padding:"30px 30px",background:"rgba(0,0,0,0.3)",borderRadius:"5px",color:"#FFFFFF",align:"center"}}},edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=e.className,r=a.icon,u=a.size,y=a.animate,v=a.align,k=a.container,E=a.id,w=a.classesList,_=a.style;return l.H.blockID(E,g,n),React.createElement(s,null,React.createElement(b,null,React.createElement(h,{value:v,onChange:function(e){return n({align:e})}})),React.createElement(m,null,React.createElement(f,{title:c("Button Settings","hayyabuild")},React.createElement(l.H.getPro,null),React.createElement(l.H.SelectIcon,{title:c("Icon","hayyabuild"),classPlaceholder:c("Insert icon class","hayyabuild"),fliterPlaceholder:c("Search for icon","hayyabuild"),value:r,onSelect:function(e){return n({icon:e})}}),React.createElement(p,{label:c("Size","hayyabuild"),value:u,onChange:function(e){return n({size:e})},min:1,max:5}),React.createElement(d,{label:c("Animate","hayyabuild"),checked:!!y,onChange:function(){n({animate:!y})}}),React.createElement(d,{label:c("Add Container","hayyabuild"),checked:!!k,onChange:function(){n({container:!k})}}),React.createElement(l.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:E,elementStyle:".".concat(E," > a"),value:{classesList:w,inlineStyle:!0},onChange:function(e){return n({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:l.H.hayyaClasses(o,"hb-".concat(v),{container:k},{classesList:w},E)},React.createElement("a",{href:"",className:l.H.hayyaClasses({"animate-goup":!!y}),style:_},React.createElement("i",{className:l.H.hayyaClasses((t={"fa fa-angle-double-up":!r},i(t,r,r),i(t,"goup-size-".concat(u),u),t))}))))},save:function(e){var t,a=e.attributes,n=a.icon,o=a.size,r=a.animate,c=a.align,s=a.container,u=a.id,f=a.classesList;return React.createElement("div",{className:l.H.hayyaClasses("hb-".concat(c),{container:s},{classesList:f},u)},React.createElement("a",{href:"#hayyabuild-header",className:l.H.hayyaClasses({"animate-goup":!!r})},React.createElement("i",{className:l.H.hayyaClasses((t={"fa fa-angle-double-up":!n},i(t,n,n),i(t,"goup-size-".concat(o),o),t))})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return v}));var n=a(0),o=a(38),l=a.n(o),i=wp,r=i.i18n.__,c=i.element.Fragment,s=i.components,u=s.PanelBody,f=s.ToggleControl,d=s.SelectControl,p=s.RangeControl,y=i.blockEditor.InspectorControls,b=i.blockEditor.InnerBlocks,h="hayyabuild/modalbox",m=r("The Modal Box block is a dialog box/popup window that is displayed on top of the current page. Use a modal for dialog boxes, confirmation messages, or other content that can be called up.","hayyabuild"),g="hayyabuild-modalbox",v={title:r("Modal Box (Popup)","hayyabuild"),icon:n.H.iconStyle(l.a),description:m,category:"hayyabuild",attributes:{close:{type:"boolean",source:"attribute",selector:".hayyabuild-modalbox__body__close",attribute:"class",default:!0},delay:{type:"string",source:"attribute",selector:".wp-block-hayyabuild-modalbox",attribute:"data-delay",default:"5"},remember:{type:"string",source:"attribute",selector:".wp-block-hayyabuild-modalbox",attribute:"data-remember",default:"1"},size:{type:"string",source:"attribute",selector:".wp-block-hayyabuild-modalbox",attribute:"data-size",default:"medium"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"empty",attribute:"style"}},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:m,align:"center"}},{name:"hayyabuild/button",attributes:{text:r("Close","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,l=t.close,i=t.delay,s=t.remember,m=t.size,v=t.id,k=t.classesList,E=t.style;return n.H.blockID(v,h,a),React.createElement(c,null,React.createElement(y,null,React.createElement(u,{title:r("Modal Box Settings","hayyabuild")},React.createElement(d,{label:r("Modal Size","hayyabuild"),value:m,options:[{label:r("Full Width","hayyabuild"),Key:"full",value:"full"},{label:r("Medium Size","hayyabuild"),Key:"medium",value:"medium"},{label:r("Small Size","hayyabuild"),Key:"small",value:"small"}],onChange:function(e){a({size:e})}}),React.createElement(f,{label:r("Show Close Button","hayyabuild"),help:r('You can add any button or link inside the modal with "hayyabuild-modalbox__close" class to close the modal.',"hayyabuild"),checked:!!l,onChange:function(){a({close:!l})}}),React.createElement(p,{label:r("Delay (seconds)","hayyabuild"),value:i,onChange:function(e){return a({delay:e})},min:1,max:60}),React.createElement(p,{label:r("Days","hayyabuild"),help:r("Show once per number of days","hayyabuild"),value:s,onChange:function(e){return a({remember:e})},min:0,max:30}),React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:v,elementStyle:"#".concat(v," .").concat(g,"__body"),value:{classesList:k,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{id:v,className:n.H.hayyaClasses(o,{classesList:k}),style:E},React.createElement("div",{className:"".concat(g,"__body")},React.createElement("div",{className:"".concat(g,"__body__content")},React.createElement(b,{templateLock:!1})))))},save:function(e){var t=e.attributes,a=(e.className,t.close),o=t.delay,l=t.remember,i=t.size,r=t.id,c=t.classesList;return React.createElement("div",{id:r,className:n.H.hayyaClasses({classesList:c}),"data-delay":o,"data-remember":l,"data-size":i},React.createElement("div",{className:"".concat(g,"__body")},React.createElement("div",{className:"".concat(g,"__body__content")},React.createElement(b.Content,null)),a&&React.createElement("div",{class:"".concat(g,"__body__close ").concat(g,"__close")})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return v})),a.d(t,"settings",(function(){return k}));var n=a(39),o=a.n(n),l=a(0);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,c=r.i18n.__,s=r.components,u=s.PanelBody,f=s.ToggleControl,d=r.element.Fragment,p=r.blockEditor,y=p.BlockControls,b=p.AlignmentToolbar,h=p.InspectorControls,m=p.InnerBlocks,g=[["hayyabuild/featureslistitem",{}],["hayyabuild/featureslistitem",{}],["hayyabuild/featureslistitem",{}]],v="hayyabuild/featureslist",k={title:c("Features List","hayyabuild"),description:c("Features List block are an advanced list to clarify the features of your products/services.","hayyabuild"),icon:l.H.iconStyle(o.a),category:"hayyabuild",attributes:{align:{type:"string",default:""},showline:{type:"boolean",default:!0},id:{type:"string"},classesList:{type:"string",default:""}},example:{innerBlocks:[{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:c("Features Line 1.","hayyabuild")}}]},{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:c("Features Line 2.","hayyabuild")}}]},{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:c("Features Line 3.","hayyabuild")}}]},{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"hayyabuild/button",attributes:{text:c("You can add any block","hayyabuild"),icon:"fa fa-home",size:3,align:"left",style:{background:"#6BAFFF"}}}]}]},edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.name),o=t.align,r=t.showline,s=t.id,p=t.classesList;return l.H.blockID(s,n,a),React.createElement(d,null,React.createElement(y,null,React.createElement(b,{value:o,onChange:function(e){return a({align:e})}})),React.createElement(h,null,React.createElement(u,{title:c("Features List Settings","hayyabuild")},React.createElement(f,{label:c("Show Icons Line","hayyabuild"),checked:!!r,onChange:function(){a({showline:!r})}}),React.createElement(l.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:s,elementStyle:".".concat(s),value:{classesList:p,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:l.H.hayyaClasses("wp-block-hayyabuild-featureslist",i({"hayyabuild-featureslist--showline":!!r},"hayyabuild-featureslist--".concat(o),!!o),{classesList:p},s)},React.createElement(m,{allowedBlocks:["hayyabuild/featureslistitem"],template:g,templateLock:!1})))},save:function(e){var t=e.attributes,a=t.align,n=t.showline,o=t.id,r=t.classesList;return React.createElement("div",{className:l.H.hayyaClasses(i({"hayyabuild-featureslist--showline":!!n},"hayyabuild-featureslist--".concat(a),!!a),{classesList:r},o)},React.createElement(m.Content,null))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return p})),a.d(t,"settings",(function(){return y}));var n=a(40),o=a.n(n),l=a(0),i=wp,r=i.i18n.__,c=i.components.PanelBody,s=i.element.Fragment,u=i.blockEditor,f=u.InspectorControls,d=u.InnerBlocks,p="hayyabuild/featureslistitem",y={title:r("Features Item","hayyabuild"),icon:l.H.iconStyle(o.a),category:"hayyabuild",attributes:{icon:{type:"string",default:"fa fa-check-double"},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/featureslist"],edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.name),o=t.icon,i=t.id,u=t.classesList;return l.H.blockID(i,n,a),React.createElement(s,null,React.createElement(f,null,React.createElement(c,{title:r("Features Item Settings","hayyabuild")},React.createElement(l.H.getPro,null),React.createElement(l.H.SelectIcon,{title:r("Icon","hayyabuild"),classPlaceholder:r("Insert icon class","hayyabuild"),fliterPlaceholder:r("Search for icon","hayyabuild"),value:o,onSelect:function(e){return a({icon:e})}}),React.createElement(l.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:i,elementStyle:".".concat(i),value:{classesList:u,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:l.H.hayyaClasses("wp-block-hayyabuild-featureslistitem","hayyabuild-featuresitem",{classesList:u},i)},React.createElement("div",{className:"hayyabuild-featuresitem__icon"},React.createElement("i",{className:o})),React.createElement("div",{className:"hayyabuild-featuresitem__content"},React.createElement(d,null))))},save:function(e){var t=e.attributes,a=t.icon,n=t.id,o=t.classesList;return React.createElement("div",{className:l.H.hayyaClasses("hayyabuild-featuresitem",{classesList:o},n)},React.createElement("div",{className:"hayyabuild-featuresitem__icon"},React.createElement("i",{className:a})),React.createElement("div",{className:"hayyabuild-featuresitem__content"},React.createElement(d.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return s})),a.d(t,"settings",(function(){return R}));var n=a(41),o=a.n(n),l=a(0),i=a(6);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var c=i.pricingtable,s=c.name,u=c.attributes,f=c.category,d=wp,p=d.i18n.__,y=d.element,b=y.Fragment,h=(y.Component,d.components),m=h.PanelBody,g=h.ToggleControl,v=(h.SelectControl,d.editor.AlignmentToolbar,d.blockEditor),k=(v.PanelColorSettings,v.BlockControls),E=v.InspectorControls,w=(v.RichText,v.InnerBlocks),_=[["hayyabuild/pricingtableplan",{headingText:p("Basic","hayyabuild")}],["hayyabuild/pricingtableplan",{headingText:p("Standard","hayyabuild"),ribbonText:p("Featured","hayyabuild"),btnText:p("Sign up","hayyabuild"),featuredPlan:!0,btnLink:"#"}],["hayyabuild/pricingtableplan",{headingText:p("Premium","hayyabuild"),btnText:p("Sign up","hayyabuild"),btnLink:"#"}]],x="hayyabuild-pricingtable",R={title:p("Pricing Table","hayyabuild"),description:p("Pricing table block for entrepreneurs and service providers. With this block you can create a modern and responsive pricing table for your business pricing plans in just a few seconds.","hayyabuild"),icon:l.H.iconStyle(o.a,"#FFA500"),category:f,attributes:u,supports:{align:["wide","full"]},edit:function(e){var t,a=this,n=e.attributes,o=e.setAttributes,i=(e.className,e.name),c=(e.clientId,n.cleanStyle),s=n.zoomEffect,u=n.opacityEffect,f=n.gradientEffect,d=n.shadowEffect,y=n.classesList,h=n.id,v=n.numOfplans;l.H.blockID(h,i,o);p("Shadow","hayyabuild");return React.createElement(b,null,React.createElement(k,null),React.createElement(E,null,React.createElement(l.H.getPro,null),React.createElement(m,{title:p("Pricing Table Settings","hayyabuild")},React.createElement(g,{label:p("Zoom Effect","hayyabuild"),checked:!!s,onChange:function(){return o({zoomEffect:!s})}}),React.createElement(g,{label:p("Gradient Color","hayyabuild"),checked:!!f,onChange:function(){return o({gradientEffect:!f})}}),React.createElement(g,{label:p("Transparency","hayyabuild"),checked:!!u,onChange:function(){return o({opacityEffect:!u})}}),!1,React.createElement(l.H.BlocksOptions,{optionsTitle:p("HayyaBuild Options","hayyabuild"),styleTitle:p("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:h,elementStyle:".".concat(h," .hayyabuild-pricingtable__plan"),value:{classesList:y,inlineStyle:!0},onChange:function(e){return a.setAttributes({classesList:e.classesList})}}))),React.createElement("div",{className:l.H.hayyaClasses(x,"".concat(x,"--").concat(v,"-palns"),(t={},r(t,"".concat(x,"--clean-style"),!!c),r(t,"".concat(x,"--zoom-effect"),!!s),r(t,"".concat(x,"--opacity-effect"),!!u),r(t,"".concat(x,"--gradient-effect"),!!f),r(t,"".concat(x,"--shadow-effect"),!!d),t),{classesList:y},h)},React.createElement(w,{allowedBlocks:["hayyabuild/pricingtableplan"],templateLock:!1,template:_})))},save:function(e){var t,a=e.attributes,n=(e.innerBlocks,a.cleanStyle),o=a.zoomEffect,i=a.opacityEffect,c=a.gradientEffect,s=a.shadowEffect,u=a.classesList,f=a.id,d=a.numOfplans;return React.createElement("div",{className:l.H.hayyaClasses(x,"".concat(x,"--").concat(d,"-palns"),(t={},r(t,"".concat(x,"--clean-style"),!!n),r(t,"".concat(x,"--zoom-effect"),!!o),r(t,"".concat(x,"--opacity-effect"),!!i),r(t,"".concat(x,"--gradient-effect"),!!c),r(t,"".concat(x,"--shadow-effect"),!!s),t),{classesList:u},f)},React.createElement("div",{className:"".concat(x,"__plans")},React.createElement(w.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return i})),a.d(t,"settings",(function(){return w}));var n=a(0),o=a(6),l=o.pricingtableplan,i=l.name,r=l.attributes,c=l.category,s=wp,u=s.i18n.__,f=s.element.Fragment,d=s.components,p=d.TextControl,y=d.ToggleControl,b=d.PanelBody,h=(d.Toolbar,s.editor),m=h.ColorPalette,g=(h.MediaPlaceholder,s.blockEditor),v=g.RichText,k=g.InspectorControls,E=g.InnerBlocks,w={title:u("Pricing Plan","hayyabuild"),icon:n.H.iconStyle("columns"),description:u("Single table.","hayyabuild"),parent:["hayyabuild/pricingtable"],category:c,attributes:r,edit:function(e){var t=this,a=e.attributes,o=e.setAttributes,l=(e.className,e.noticeUI,e.noticeOperations,a.ribbonText),r=a.headingText,c=a.planIcon,s=a.featuredPlan,d=a.ribbonTextColor,h=a.ribbonBgColor,g=a.classesList,w=a.id;n.H.blockID(w,i,o);var _=a.priceText;return _&&"function"==typeof _.replace&&(_=_.replace(/<[^>]+>/g,"")),React.createElement(f,null,React.createElement(k,null,React.createElement(n.H.getPro,null),React.createElement(b,{title:u("Plan Settings","hayyabuild")},React.createElement(y,{label:u("Featured Plan","hayyabuild"),checked:!!s,onChange:function(){return o({featuredPlan:!s})}}),React.createElement(n.H.SelectIcon,{title:u("Plan Icon","hayyabuild"),classPlaceholder:u("Insert icon class","hayyabuild"),fliterPlaceholder:u("Search for icon","hayyabuild"),value:c,onSelect:function(e){return o({planIcon:e})}})),React.createElement(b,{title:u("Ribbon Settings","hayyabuild"),initialOpen:!1},React.createElement(p,{label:u("Ribbon Text","hayyabuild"),value:l,onChange:function(e){return o({ribbonText:e})}}),React.createElement("label",null,u("Text Color","hayyabuild")),React.createElement(m,{value:d,label:u("Text Color","hayyabuild"),onChange:function(e){return o({ribbonTextColor:e})}}),React.createElement("hr",null),React.createElement("label",null,u("Background Color","hayyabuild")),React.createElement(m,{value:h,label:u("Background Color","hayyabuild"),onChange:function(e){return o({ribbonBgColor:e})}})),React.createElement(n.H.BlocksOptions,{optionsTitle:u("HayyaBuild Options","hayyabuild"),styleTitle:u("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:w,elementStyle:".".concat(w),value:{classesList:g,inlineStyle:!0},onChange:function(e){return t.setAttributes({classesList:e.classesList})}})),React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-pricingtable__plan",{"hayyabuild-pricingtable__plan--featured":!!s},{classesList:g},w)},React.createElement("div",{className:"hayyabuild-pricingtable__plan__header"},l&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__ribbon"},React.createElement("span",{style:{color:d,backgroundColor:h}},l)),React.createElement("h3",{className:"hayyabuild-pricingtable__plan__header__heading"},React.createElement(v,{tagName:"span",value:r,placeholder:u("Heading","hayyabuild"),onChange:function(e){return o({headingText:e})}})),c&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__icon"},React.createElement("i",{className:c})),React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__price"},React.createElement(v,{tagName:"span",value:_,placeholder:"$00",onChange:function(e){return o({priceText:e})}}))),React.createElement("div",{className:"hayyabuild-pricingtable__plan__body"},React.createElement(E,{template:[["core/paragraph",{placeholder:u("Features Here","hayyabuild")}],["hayyabuild/button",{text:u("Sign up","hayyabuild"),title:u("Sign up","hayyabuild"),link:"#",size:2}]],templateLock:!1}))))},save:function(e){var t=e.attributes,a=t.ribbonText,o=t.headingText,l=t.planIcon,i=t.featuredPlan,r=t.ribbonTextColor,c=t.ribbonBgColor,s=t.classesList,u=t.id,f=t.priceText,d="";if(f&&"function"==typeof f.replace){var p=(f=f.replace(/<[^>]+>/g,"")).split(".");2===p.length&&(f=p[0],d=p[1])}return React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-pricingtable__plan",{"hayyabuild-pricingtable__plan--featured":!!i},{classesList:s},u)},React.createElement("div",{className:"hayyabuild-pricingtable__plan__header"},a&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__ribbon"},React.createElement("span",{style:{color:r,backgroundColor:c}},a)),o&&React.createElement("h3",{className:"hayyabuild-pricingtable__plan__header__heading"},o),l&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__icon"},React.createElement("i",{className:l})),f&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__price"},f,""!==d&&React.createElement("sup",null,".",d))),React.createElement("div",{className:"hayyabuild-pricingtable__plan__body"},React.createElement(E.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return k})),a.d(t,"settings",(function(){return w}));var n=a(0),o=a(42),l=a.n(o),i=a(9);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var c=wp,s=c.i18n.__,u=c.element.Fragment,f=c.components,d=f.PanelBody,p=f.ToggleControl,y=f.TextControl,b=f.RangeControl,h=c.blockEditor,m=h.BlockControls,g=h.AlignmentToolbar,v=h.InspectorControls,k=i.name,E=i.attributes,w={title:s("Progress bar","hayyabuild"),description:s("Easily create beautiful progress bar.","hayyabuild"),icon:n.H.iconStyle(l.a,"green",flase,!0),keywords:[s("progress bar","hayyabuild")],attributes:E,category:"hayyabuild",supports:{html:!1},example:{attributes:{shadow:!0,style:{padding:"0 10px",background:"rgba(0,130,190,0.6)",border:"1px solid rgba(0,130,190,0.7)",borderRadius:"3px",margin:"5px",size:"15"}}},edit:function(e){var t,a=e.attributes,o=e.setAttributes,l=e.className,i=e.name,c=a.align,f=a.size,h=a.shadow,k=a.id,E=a.classesList,w=a.style,_=a.facebook,x=a.twitter,R=a.linkedin,C=a.youtube,S=a.vimeo,O=a.instagram,L=a.pinterest,N=a.flickr,H=a.github,I=a.vk,z=a.tumblr;n.H.blockID(k,i,o),_||x||R||C||S||O||L||N||H||I||z||(_=x=C=O=R=H="#");s("LinkedIn","hayyabuild"),s("Pinterest","hayyabuild"),s("Vimeo","vimeo"),s("Flickr","hayyabuild"),s("Tumblr","hayyabuild"),s("vk","hayyabuild");return React.createElement(u,null,React.createElement(m,null,React.createElement(g,{value:c,onChange:function(e){return o({align:e})}})),React.createElement(v,null,React.createElement(d,{title:s("Social Menu Settings","hayyabuild")},React.createElement(b,{label:s("Icons size","hayyabuild"),value:f,onChange:function(e){return o({size:e})},min:1,max:20}),React.createElement(p,{label:s("Shadow","hayyabuild"),checked:!!h,onChange:function(){o({shadow:!h})}}),React.createElement(ReactModalPopup,{title:s("Edit Social Menu","hayyabuild"),iconClass:"fa fa-users",appendTo:"editor"},React.createElement(Tabs,{color:"#555",bgColor:"#FFF"},React.createElement(Tabs.Item,{active:!0,title:s("SocialMedia links","hayyabuild"),iconClass:"fa fa-group",className:"hayyabuild-social-links"},React.createElement(n.H.getPro,null),React.createElement("div",null,React.createElement("i",{className:"fab fa-facebook"}),React.createElement(y,{className:"hayyabuild-social-text",placeholder:s("Facebook","hayyabuild"),value:_,onChange:function(e){return o({facebook:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-twitter"}),React.createElement(y,{className:"hayyabuild-social-text",placeholder:s("Twitter","hayyabuild"),value:x,onChange:function(e){return o({twitter:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-instagram"}),React.createElement(y,{className:"hayyabuild-social-text",placeholder:s("Instagram","hayyabuild"),value:O,onChange:function(e){return o({instagram:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-youtube"}),React.createElement(y,{className:"hayyabuild-social-text",placeholder:s("Youtube","hayyabuild"),value:C,onChange:function(e){return o({youtube:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-github"}),React.createElement(y,{className:"hayyabuild-social-text",placeholder:s("Github","hayyabuild"),value:H,onChange:function(e){return o({github:e})}})),!1))),React.createElement(n.H.BlocksOptions,{optionsTitle:s("HayyaBuild Options","hayyabuild"),styleTitle:s("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:k,elementStyle:".".concat(k," a.hayyabuild-social"),value:{classesList:E,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(l,(t={"hb-shadow":h},r(t,"hb-"+c,c),r(t,"size-"+f,!0),t),{classesList:E},k)},!!_&&React.createElement("a",{className:"hayyabuild-social facebook",href:_,style:w},React.createElement("i",{className:"fab fa-facebook"})),!!x&&React.createElement("a",{className:"hayyabuild-social twitter",href:x,style:w},React.createElement("i",{className:"fab fa-twitter"})),!!O&&React.createElement("a",{className:"hayyabuild-social instagram",href:O,style:w},React.createElement("i",{className:"fab fa-instagram"})),!!C&&React.createElement("a",{className:"hayyabuild-social youtube",href:C,style:w},React.createElement("i",{className:"fab fa-youtube"})),!!H&&React.createElement("a",{className:"hayyabuild-social github",href:H,style:w},React.createElement("i",{className:"fab fa-github"})),!!R&&React.createElement("a",{className:"hayyabuild-social linkedin",href:R,style:w},React.createElement("i",{className:"fab fa-linkedin"})),!!L&&React.createElement("a",{className:"hayyabuild-social pinterest",href:L,style:w},React.createElement("i",{className:"fab fa-pinterest"})),!!S&&React.createElement("a",{className:"hayyabuild-social vimeo",href:S,style:w},React.createElement("i",{className:"fab fa-vimeo"})),!!N&&React.createElement("a",{className:"hayyabuild-social flickr",href:N,style:w},React.createElement("i",{className:"fab fa-flickr"})),!!z&&React.createElement("a",{className:"hayyabuild-social tumblr",href:z,style:w},React.createElement("i",{className:"fab fa-tumblr"})),!!I&&React.createElement("a",{className:"hayyabuild-social vk",href:I,style:w},React.createElement("i",{className:"fab fa-vk"}))))},save:function(e){var t,a=e.attributes,o=(e.className,a.id),l=a.align,i=a.size,c=a.shadow,s=a.classesList,u=a.facebook,f=a.twitter,d=a.linkedin,p=a.youtube,y=a.vimeo,b=a.instagram,h=a.pinterest,m=a.flickr,g=a.github,v=a.vk,k=a.tumblr;return u||f||d||p||y||b||h||m||g||v||k||(u=f=p=b=d=g="#"),React.createElement("div",{className:n.H.hayyaClasses((t={"hb-shadow":c},r(t,"hb-"+l,l),r(t,"size-"+i,!0),t),{classesList:s},o)},!!u&&React.createElement("a",{className:"hayyabuild-social facebook",href:u},React.createElement("i",{className:"fab fa-facebook"})),!!f&&React.createElement("a",{className:"hayyabuild-social twitter",href:f},React.createElement("i",{className:"fab fa-twitter"})),!!b&&React.createElement("a",{className:"hayyabuild-social instagram",href:b},React.createElement("i",{className:"fab fa-instagram"})),!!p&&React.createElement("a",{className:"hayyabuild-social youtube",href:p},React.createElement("i",{className:"fab fa-youtube"})),!!g&&React.createElement("a",{className:"hayyabuild-social github",href:g},React.createElement("i",{className:"fab fa-github"})),!!d&&React.createElement("a",{className:"hayyabuild-social linkedin",href:d},React.createElement("i",{className:"fab fa-linkedin"})),!!h&&React.createElement("a",{className:"hayyabuild-social pinterest",href:h},React.createElement("i",{className:"fab fa-pinterest"})),!!y&&React.createElement("a",{className:"hayyabuild-social vimeo",href:y},React.createElement("i",{className:"fab fa-vimeo"})),!!m&&React.createElement("a",{className:"hayyabuild-social flickr",href:m},React.createElement("i",{className:"fab fa-flickr"})),!!k&&React.createElement("a",{className:"hayyabuild-social tumblr",href:k},React.createElement("i",{className:"fab fa-tumblr"})),!!v&&React.createElement("a",{className:"hayyabuild-social vk",href:v},React.createElement("i",{className:"fab fa-vk"})))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=wp.components,l=o.Path,i=o.SVG;function r(e){var t=e.level,a=e.isPressed,n=void 0!==a&&a,o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?React.createElement(i,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},React.createElement(l,{d:o[t]})):null}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=wp,b=y.i18n,h=b.__,m=b.sprintf,g=y.element.Component,v=y.components.ToolbarGroup,k=function(e){function t(){return s(this,t),f(this,d(t).apply(this,arguments))}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),a=t,(n=[{key:"createLevelControl",value:function(e,t,a){var n=e===t;return{icon:React.createElement(r,{level:e,isPressed:n}),title:m(h("Heading %d","hayyabuild"),e),isActive:n,onClick:function(){return a(e)}}}},{key:"render",value:function(){var e=this,t=this.props,a=t.isCollapsed,n=void 0===a||a,o=t.minLevel,l=t.maxLevel,i=t.selectedLevel,c=t.onChange;return React.createElement(v,{isCollapsed:n,icon:React.createElement(r,{level:i}),controls:function(e,t){for(var a=[],n=e;n<=t;n++)a.push(n);return a}(o,l).map((function(t){return e.createLevelControl(t,i,c)})),label:h("Change heading level","hayyabuild")})}}])&&u(a.prototype,n),o&&u(a,o),t}(g);function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R(e,t){return!t||"object"!==E(t)&&"function"!=typeof t?S(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}lodash.range;var L=wp,N=L.i18n,H=N.__,I=(N.sprintf,L.element),z=I.Platform,T=I.Fragment,B=I.Component,M=L.components,F=M.PanelBody,j=(M.Toolbar,M.ToggleControl),P=M.SelectControl,A=L.blockEditor,D=A.RichText,V=A.PanelColorSettings,q=A.BlockControls,U=A.AlignmentToolbar,W=A.InspectorControls,K=function(e){function t(){var e;return _(this,t),(e=R(this,C(t).apply(this,arguments))).onChangeContent=e.onChangeContent.bind(S(e)),e.toggleMask=e.toggleMask.bind(S(e)),e.toggleDubleLines=e.toggleDubleLines.bind(S(e)),e.setStyle=e.setStyle.bind(S(e)),e}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O(e,t)}(t,e),a=t,(o=[{key:"onChangeContent",value:function(e){(0,this.props.setAttributes)({content:e})}},{key:"toggleDubleLines",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({dubleLines:!t.dubleLines})}},{key:"toggleMask",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({apllyMask:!t.apllyMask})}},{key:"setStyle",value:function(e){(0,this.props.setAttributes)({separatorStyle:e})}},{key:"render",value:function(){var e,t=this.props,a=t.attributes,o=t.setAttributes,l=t.className,i=t.name,r=a.content,c=a.icon,s=a.align,u=a.level,f=a.dubleLines,d=a.apllyMask,p=a.separatorStyle,y=a.borderColor,b=a.textColor,h=a.id,m=a.classesList;n.H.blockID(h,i,o);var g=z.select({android:!0,native:!1,web:!1}),v="h"+u;return React.createElement(T,null,React.createElement(q,null,!g&&React.createElement(U,{value:s,onChange:function(e){return o({align:e})}}),React.createElement(k,{minLevel:"web"===z.OS?2:1,maxLevel:"web"===z.OS?5:7,selectedLevel:u,onChange:function(e){return o({level:e})}})),React.createElement(W,null,React.createElement(F,{title:H("Separator Settings","hayyabuild")},React.createElement(n.H.getPro,null),"web"===z.OS&&React.createElement(T,null,React.createElement("p",null,H("Text Level","hayyabuild")),React.createElement(k,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:u,onChange:function(e){return o({level:e})}})),React.createElement(n.H.SelectIcon,{title:H("Icon","hayyabuild"),classPlaceholder:H("Insert icon class","hayyabuild"),fliterPlaceholder:H("Search for icon","hayyabuild"),value:c,onSelect:function(e){return o({icon:e})}}),React.createElement(j,{label:H("Duble Lines","hayyabuild"),checked:!!f,onChange:this.toggleDubleLines}),React.createElement(j,{label:H("Apply Mask","hayyabuild"),checked:!!d,onChange:this.toggleMask}),React.createElement(P,{label:H("Separator Style","hayyabuild"),value:p,options:[{label:H("Default","hayyabuild"),Key:"default",value:"Default"},{label:H("Dotted","hayyabuild"),Key:"dotted",value:"dotted"},{label:H("dashed","hayyabuild"),Key:"dashed",value:"dashed"}],onChange:this.setStyle}),React.createElement(n.H.BlocksOptions,{optionsTitle:H("HayyaBuild Options","hayyabuild"),styleTitle:H("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",value:{classesList:m},onChange:function(e){return o({classesList:e.classesList})}})),React.createElement(V,{title:H("Color Settings","hayyabuild"),initialOpen:!1,colorSettings:[{value:b,onChange:function(e){return o({textColor:e})},label:H("Text Color","hayyabuild")},{value:y,onChange:function(e){return o({borderColor:e})},label:H("Separator Color","hayyabuild")}]})),React.createElement("div",{className:n.H.hayyaClasses(l,(e={"separator-mask":d,"duble-lines":f},w(e,s+"-text",s),w(e,p,p),e),{classesList:m},h)},React.createElement("div",{className:"left-separator",style:{borderColor:y}}),React.createElement(D,{tagName:v,className:"separator-text",onChange:this.onChangeContent,value:r,style:{color:b}}),c&&React.createElement("i",{className:c,style:{color:b}}),React.createElement("div",{className:"right-separator",style:{borderColor:y}})))}}])&&x(a.prototype,o),l&&x(a,l),t}(B),G=a(20),$=a.n(G);function Q(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return X})),a.d(t,"settings",(function(){return ee}));var Z=wp,Y=Z.i18n.__,J=Z.blockEditor.RichText,X="hayyabuild/separator",ee={title:Y("Separator","hayyabuild"),description:Y("You can use this block to separate the content vertically.","hayyabuild"),icon:n.H.iconStyle($.a),category:"hayyabuild",attributes:{content:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6"},icon:{type:"string"},align:{type:"string",default:"center"},level:{type:"number",default:4},separatorStyle:{type:"string"},dubleLines:{type:"boolean",default:!1},apllyMask:{type:"boolean",default:!1},borderColor:{type:"string"},textColor:{type:"string"},id:{type:"string"},classesList:{type:"string"}},supports:{align:["wide","full"]},example:{attributes:{content:Y("Separator Block","hayyabuild"),icon:"fa fa-angle-down",dubleLines:!0,borderColor:"#3888DB",textColor:"#3888DB",separatorStyle:"default"}},edit:K,save:function(e){var t,a=e.attributes,o=(e.setAttributes,a.content),l=a.icon,i=a.align,r=a.level,c=a.dubleLines,s=a.apllyMask,u=a.separatorStyle,f=a.borderColor,d=a.textColor,p=a.id,y=a.classesList,b="h"+r,h=o.length>0&&""!==o[0];return React.createElement("div",{className:n.H.hayyaClasses((t={"separator-mask":s,"duble-lines":c},Q(t,i+"-text",!!i),Q(t,u,!!u),t),{classesList:y},p)},React.createElement("div",{className:"left-separator",style:{borderColor:f}}),h&&React.createElement(J.Content,{tagName:b,value:o,style:{color:d}}),l&&React.createElement("i",{className:l,style:{color:d}}),React.createElement("div",{className:"right-separator",style:{borderColor:f}}))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(15),l=a.n(o),i=wp.components,r=i.G,c=i.Path,s=i.SVG,u=React.createElement(s,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement(c,{fill:"none",d:"M0 0h24v24H0V0z"}),React.createElement(r,null,React.createElement(c,{d:"M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"})));function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?m(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=wp,k=v.i18n.__,E=v.element,w=E.Component,_=E.Fragment,x=v.components,R=x.Button,C=x.PanelBody,S=x.RangeControl,O=x.SelectControl,L=x.ToggleControl,N=x.Toolbar,H=x.withNotices,I=v.blockEditor,z=I.RichText,T=I.InspectorControls,B=I.BlockIcon,M=I.MediaPlaceholder,F=I.BlockControls,j=I.MediaUpload,P="hayyabuild-gallerybox",A=["image"],D=H(function(e){function t(){var e;return p(this,t),(e=b(this,h(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(m(e)),e.onSelectImages=e.onSelectImages.bind(m(e)),e.setAttributes=e.setAttributes.bind(m(e)),e.state={selectedImage:null},e}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(t,e),a=t,(o=[{key:"setAttributes",value:function(e){e.images&&(e=e),this.props.setAttributes(e)}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onSelectImages",value:function(e){this.setAttributes({images:e.map((function(e){return{id:e.id,alt:e.alt,url:e.url,caption:e.caption}}))})}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e,t=this,a=this.props,o=a.attributes,l=a.isSelected,i=a.className,r=a.noticeOperations,c=a.noticeUI,s=o.images,f=o.size,p=o.showcaption,y=o.effect,b=o.autoplay,h=o.fitimages,m=o.zoomimage,g=o.id,v=o.classesList,E=!!s.length,w=React.createElement(F,null,React.createElement(N,null,React.createElement(j,{onSelect:this.onSelectImages,allowedTypes:A,multiple:!0,gallery:!0,value:s.map((function(e){return e.id})),render:function(e){var t=e.open;return React.createElement(R,{className:"components-toolbar__control",label:k("Edit gallery","hayyabuild"),icon:"edit",onClick:t})}}))),x=React.createElement(M,{addToGallery:E,isAppender:E,className:i,disableMediaButtons:E&&!l,icon:!E&&React.createElement(B,{icon:u}),labels:{title:!E&&k("Gallery","hayyabuild"),instructions:!E&&k("Drag images, upload new ones or select files from your library.","hayyabuild")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:A,multiple:!0,value:E?s:void 0,onError:r.createErrorNotice,notices:E?void 0:c});return E?React.createElement(_,null,w,React.createElement(T,null,React.createElement(C,{title:k("Gallery Box Settings","hayyabuild")},React.createElement(S,{label:k("Columns size","hayyabuild"),value:f,onChange:function(e){return t.setAttributes({size:e})},min:1,max:5}),React.createElement(L,{label:k("Show Caption","hayyabuild"),help:k("Show caption on image hover.","hayyabuild"),checked:!!p,onChange:function(){t.setAttributes({showcaption:!p})}}),React.createElement(O,{label:k("Transition Effect","hayyabuild"),value:y,options:[{label:k("None","hayyabuild"),Key:"none",value:"none"},{label:k("Fade","hayyabuild"),Key:"fade",value:"fade"}],onChange:function(e){return t.setAttributes({effect:e})}}),React.createElement(L,{label:k("Auto Playing Slideshow","hayyabuild"),help:k("Slideshow paly automatically.","hayyabuild"),checked:!!b,onChange:function(){t.setAttributes({autoplay:!b})}}),React.createElement(L,{label:k("Fit to screen","hayyabuild"),help:k("Fit images to screen.","hayyabuild"),checked:!!h,onChange:function(){t.setAttributes({fitimages:!h})}}),React.createElement(L,{label:k("Zoom Effect","hayyabuild"),help:k("Zoom effect on image hover.","hayyabuild"),checked:!!m,onChange:function(){t.setAttributes({zoomimage:!m})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:k("HayyaBuild Options","hayyabuild"),styleTitle:k("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:g,elementStyle:".".concat(g," .hayyabuild-gallerybox__container"),value:{classesList:v,inlineStyle:!0},onChange:function(e){return t.setAttributes({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses(P,(e={},d(e,"".concat(P,"--showcaption"),!!p),d(e,"".concat(P,"--autoplay"),!!b),d(e,"".concat(P,"--fitimages"),!!h),d(e,"".concat(P,"--zoomimage"),!!m),e),{classesList:v},g),"data-size":f,"data-effect":y},React.createElement("div",{className:"hayyabuild-gallerybox__container"},s.map((function(e,a){return React.createElement("figure",{className:"hayyabuild-gallerybox__container__image",key:e.id||e.url},React.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id}),React.createElement(z,{tagName:"figcaption",placeholder:k("Write caption…","hayyabuild"),value:e.caption,isSelected:t.state.captionSelected,onChange:function(e){return t.setAttributes({caption:e})},unstableOnFocus:t.onSelectCaption,inlineToolbar:!0}))})))),l&&x):React.createElement(_,null,w,x)}}])&&y(a.prototype,o),l&&y(a,l),t}(w));function V(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return K})),a.d(t,"settings",(function(){return $}));var q=wp,U=q.i18n.__,W=q.blockEditor.RichText,K="hayyabuild/gallerybox",G={images:{type:"array",default:[],source:"query",selector:"figure.hayyabuild-gallerybox__container__image",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"}}},size:{type:"string",source:"attribute",attribute:"data-size",selector:".".concat("hayyabuild-gallerybox"),default:"3"},showcaption:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--showcaption"),default:!0},effect:{type:"string",source:"attribute",attribute:"data-effect",selector:".".concat("hayyabuild-gallerybox"),default:"fade"},autoplay:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--autoplay"),default:!0},fitimages:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--fitimages"),default:!0},zoomimage:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--zoomimage"),default:!0},id:{type:"string"},classesList:{type:"string",default:""}},$={title:U("Gallery Box","hayyabuild"),icon:n.H.iconStyle(l.a),description:U('Gallery Box block is a block for displaying images in a Mac-style "lightbox" that floats overtop of web page.',"hayyabuild"),category:"hayyabuild",attributes:G,supports:{align:["wide","full"]},example:{attributes:{images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},edit:D,save:function(e){var t,a=e.attributes,o=(e.className,a.images),l=a.size,i=a.showcaption,r=a.effect,c=a.autoplay,s=a.fitimages,u=a.zoomimage,f=a.id,d=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-gallerybox",(t={},V(t,"".concat("hayyabuild-gallerybox","--showcaption"),!!i),V(t,"".concat("hayyabuild-gallerybox","--autoplay"),!!c),V(t,"".concat("hayyabuild-gallerybox","--fitimages"),!!s),V(t,"".concat("hayyabuild-gallerybox","--zoomimage"),!!u),t),{classesList:d},f),"data-size":l,"data-effect":r},React.createElement("div",{className:"".concat("hayyabuild-gallerybox","__container")},o.map((function(e,t){return React.createElement("figure",{className:"".concat("hayyabuild-gallerybox","__container__image"),key:e.url},React.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id}),React.createElement(W.Content,{tagName:"figcaption",value:e.caption}))})),React.createElement("div",null,React.createElement("div",{class:"hayyabuild-gallerybox__container__next"}),React.createElement("div",{class:"hayyabuild-gallerybox__container__previous"}),React.createElement("div",{class:"hayyabuild-gallerybox__container__close"}))))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=wp.components,l=(o.Path,o.SVG,o.rect,React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40px",height:"40px",viewBox:"0 0 100 100"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#DED559",d:"M7 22L50 0l43 22-43 21.001L7 22z"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#D0881F",d:"M50.003 42.997L7 22v54.28l43.006 21.714-.003-54.997z"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#C7A934",d:"M50 97.994L93.006 76.28V22L50.003 42.997 50 97.994z"}),React.createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",fill:"#CE851B",d:"M27.036 11.705l42.995 21.498 2.263-1.105-43.047-21.524z"}),React.createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",d:"M21.318 14.674L63.3 36.505l15.99-7.809L35.788 7.271z"}),React.createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",d:"M63.312 36.505l15.978-7.818v11l-15.978 8.817V36.505z"}),React.createElement("rect",{x:"0",y:"0",width:"100",height:"100",fill:"rgba(0, 0, 0, 0)"}),React.createElement("path",{clipRule:"evenodd",d:"M16.488 73.027L70.906 18.61c1.172-1.172 4.021-.222 6.364 2.121s3.293 5.193 2.121 6.364L24.973 81.513l-8.485-8.486z",fill:"none"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#2C3E50",d:"M64.906 29.609L12.018 82.497a50.269 50.269 0 0 0 8.847 8.124l52.527-52.527c1.172-1.171.222-4.021-2.121-6.364-2.344-2.342-5.194-3.292-6.365-2.121z"}),React.createElement("path",{fill:"#F0C419",d:"M88.5 23.002c.767-6.901 4.6-10.735 11.5-11.501-6.9-.767-10.734-4.6-11.5-11.5-.767 6.9-4.6 10.734-11.5 11.5 6.899.766 10.733 4.6 11.5 11.501zM31.5 0c-.5 4.5-3 7-7.501 7.501 4.5.5 7.001 3 7.501 7.5.5-4.5 3-7 7.501-7.5C34.5 7 32 4.5 31.5 0zm60 46.001c-.5 4.5-3 7-7.501 7.501 4.5.5 7.001 3 7.501 7.5.5-4.5 3-7 7.501-7.5C94.5 53.001 92 50.5 91.5 46.001z"}),React.createElement("path",{fill:"#fff",d:"M71.5 53c-.367 3.299-2.2 5.133-5.5 5.5 3.3.366 5.134 2.2 5.5 5.499.367-3.299 2.2-5.133 5.5-5.499-3.3-.367-5.134-2.202-5.5-5.5zm-25-31.001c-.367 3.3-2.2 5.134-5.5 5.501 3.3.367 5.134 2.199 5.5 5.5.367-3.301 2.2-5.133 5.5-5.5-3.3-.367-5.134-2.201-5.5-5.501zM58.5 3c-.367 3.298-2.2 5.133-5.5 5.5 3.3.366 5.134 2.2 5.5 5.499.366-3.299 2.2-5.133 5.5-5.499-3.3-.367-5.134-2.202-5.5-5.5z"}),React.createElement("rect",{x:"0",y:"0",width:"100",height:"100",fill:"rgba(0, 0, 0, 0)"})));a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return m}));var i=wp,r=i.i18n.__,c=i.element.Fragment,s=i.components,u=s.PanelBody,f=s.ToggleControl,d=s.TextControl,p=s.SelectControl,y=i.blockEditor.InspectorControls,b=i.blockEditor.InnerBlocks,h="hayyabuild/magicbox",m={title:r("Magic Box","hayyabuild"),icon:n.H.iconStyle(l),description:r("With magic box block you can show or hide inner content based on different conditions. For example some times you need to show some information for only logged-in users or you need to put some content in footer only for the front page.","hayyabuild"),category:"hayyabuild",attributes:{show_in_all:{type:"boolean",default:!1},is_user_logged_in:{type:"string",default:""},is_front_page:{type:"boolean",default:!1},is_home:{type:"boolean",default:!1},is_single:{type:"boolean",default:!1},is_author:{type:"boolean",default:!1},show_pages:{type:"string",default:""},hide_pages:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""},classesName:{type:"string",default:""},is_updated:{type:"boolean",default:!1},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:r("You can use this box to display content under a specific conditions.","hayyabuild"),align:"center"}},{name:"hayyabuild/button",attributes:{text:r("Button","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,l=t.show_in_all,i=t.is_user_logged_in,s=t.is_front_page,m=t.is_home,g=t.is_single,v=t.is_author,k=t.show_pages,E=t.hide_pages,w=t.id,_=t.classesList,x=t.classesName,R=t.style;return n.H.blockID(w,h,a),x!==o&&a({classesName:o}),React.createElement(c,null,React.createElement(y,null,React.createElement(u,{title:r("Magic Box Settings","hayyabuild")},React.createElement(f,{label:r("Show in all pages","hayyabuild"),checked:!!l,onChange:function(){a({show_in_all:!l,is_front_page:!l,is_home:!l,is_single:!l,is_author:!l,is_updated:!0})}}),React.createElement("hr",{className:"hayyabuild-hr-separator"}),React.createElement(p,{label:r("Logged in users","hayyabuild"),value:i,options:[{label:r("Never mind!","hayyabuild"),Key:"",value:""},{label:r("Show","hayyabuild"),Key:"show",value:"show"},{label:r("Hide","hayyabuild"),Key:"hide",value:"hide"}],onChange:function(e){a({is_user_logged_in:e})}}),React.createElement("hr",{className:"hayyabuild-hr-separator"}),React.createElement(f,{label:r("Show in front page","hayyabuild"),checked:!!s,onChange:function(){a({is_front_page:!s,is_updated:!0})}}),React.createElement(f,{label:r("show in blog home page","hayyabuild"),checked:!!m,onChange:function(){a({is_home:!m,is_updated:!0})}}),React.createElement(f,{label:r("show in post page","hayyabuild"),checked:!!g,onChange:function(){a({is_single:!g,is_updated:!0})}}),React.createElement(f,{label:r("Show in author page","hayyabuild"),checked:!!v,onChange:function(){a({is_author:!v,is_updated:!0})}}),!l&&React.createElement(d,{label:r("Show in pages","hayyabuild"),placeholder:r('pages ID’s separated by comma "," .',"hayyabuild"),value:k,onChange:function(e){a({show_pages:e,is_updated:!0})}}),l&&React.createElement(d,{label:r("Hide from pages","hayyabuild"),placeholder:r('pages ID’s separated by comma "," .',"hayyabuild"),value:E,onChange:function(e){a({hide_pages:e,is_updated:!0})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:w,elementStyle:".".concat(w),value:{classesList:_,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses(o,{classesList:_},w),style:R},React.createElement(b,{templateLock:!1})))},save:function(e){e.attributes,e.className;return React.createElement(b.Content,null)}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?s(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=wp,d=f.i18n.__,p=f.element.Component,y=f.components,b=y.PanelBody,h=y.SelectControl,m=y.Button,g=(y.ToggleControl,f.blockEditor),v=g.BlockVerticalAlignmentToolbar,k=g.InspectorControls,E=g.BlockControls,w=f.blockEditor.InnerBlocks,_=n.H.memoize((function(e){for(var t=[],a=e.split("_"),n=1;n<=a.length;n++)t.push(["hayyabuild/column",{}]);return t})),x={"1-2_1-2":"1/2 + 1/2","1-3_1-3_1-3":"1/3 + 1/3 + 1/3","1-3_2-3":"1/3 + 2/3","2-3_1-3":"2/3 + 1/3","1-4_1-4_1-4_1-4":"1/4 + 1/4 + 1/4 + 1/4","1-4_1-2_1-4":"1/4 + 1/2 + 1/4","1-4_1-4_1-2":"1/4 + 1/4 + 1/2","1-2_1-4_1-4":"1/2 + 1/4 + 1/4","1-4_3-4":"1/4 + 3/4","3-4_1-4":"3/4 + 1/4"},R=function(e){function t(){var e;return l(this,t),(e=r(this,c(t).apply(this,arguments))).setColumn=e.setColumn.bind(s(e)),e}var a,o,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"setColumn",value:function(e){this.props.setAttributes({row:e})}},{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,o=t.setAttributes,l=t.className,i=t.name,r=a.row,c=a.device,s=a.verticalAlignment,u=a.id,f=a.classesList;n.H.blockID(u,i,o);var p,y,g,R=[],C=function(t){R.push(React.createElement(m,{label:x[t],className:"hayyabuild-icon icon-"+t,key:t,onClick:function(){e.setColumn(t)}}))};for(var S in x)C(S);return React.createElement(React.Fragment,null,React.createElement(E,null,React.createElement(v,{onChange:function(e){o({verticalAlignment:e})},value:s})),React.createElement(k,null,React.createElement(b,{title:d("Row Settings","hayyabuild")},React.createElement("label",null,d("layouts configuration","hayyabuild")),React.createElement("div",{style:{textAlign:"center"}},R),React.createElement("hr",null),React.createElement(h,{label:d("Screen size","hayyabuild"),value:c,options:[{label:d("Disable responsive","hayyabuild"),Key:"none",value:""},{label:d("Small screens","hayyabuild"),Key:"small",value:"hayyabuild-row-small"},{label:d("Medium screens","hayyabuild"),Key:"medium",value:"hayyabuild-row-medium"},{label:d("Large screens","hayyabuild"),Key:"large",value:"hayyabuild-row-large"}],onChange:function(e){return o({device:e})}}),React.createElement("i",null,d("create responsive grid system for small, medium or large screen sizes.","hayyabuild")),React.createElement("hr",null),React.createElement(n.H.BlocksOptions,{optionsTitle:d("HayyaBuild Options","hayyabuild"),styleTitle:d("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:u,elementStyle:".".concat(u),value:{classesList:f,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(l,"has-".concat(r,"-columns"),(p={},y="hayyabuild-rows-".concat(s,"-columns"),g=!!s,y in p?Object.defineProperty(p,y,{value:g,enumerable:!0,configurable:!0,writable:!0}):p[y]=g,p),{classesList:f},u)},React.createElement(w,{allowedBlocks:["hayyabuild/column"],template:_(r),templateLock:"all"})))}}])&&i(a.prototype,o),f&&i(a,f),t}(p),C=a(16),S=a.n(C);function O(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return I})),a.d(t,"settings",(function(){return z}));var L=wp,N=L.i18n.__,H=L.blockEditor.InnerBlocks,I="hayyabuild/row",z={title:N("Row and Columns","hayyabuild"),description:N('CSS Grid Layout aka "Grid", It is a 2-dimensional grid system, meaning it can handle both columns and rows.',"hayyabuild"),icon:n.H.iconStyle(S.a),category:"hayyabuild",attributes:{row:{type:"string",default:"1-2_1-2"},device:{type:"string"},verticalAlignment:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""}},supports:{align:["wide","full"]},example:{attributes:{row:"1-3_2-3"},innerBlocks:[{name:"hayyabuild/column",attributes:{style:{borderRadius:"3px",padding:"20px 0",background:"#D4ECFF",border:"2px solid transparent"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:N("Column 1","hayyabuild"),align:"center"}}]},{name:"hayyabuild/column",attributes:{style:{borderRadius:"3px",padding:"20px 0",background:"#FFD1E5",border:"2px solid transparent"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:N("Column 2","hayyabuild"),align:"center"}}]}]},edit:R,save:function(e){var t,a=e.attributes,o=a.row,l=a.device,i=a.verticalAlignment,r=a.id,c=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("has-".concat(o,"-columns"),(t={},O(t,l,l),O(t,"hayyabuild-rows-".concat(i,"-columns"),!!i),t),{classesList:c},r)},React.createElement(H.Content,null))},deprecated:[{attributes:{row:{type:"string",default:"1-2_1-2"},device:{type:"string"},middleColumns:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""}},save:function(e){var t,a=e.attributes,o=a.row,l=a.device,i=a.middleColumns,r=a.id,c=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("has-".concat(o,"-columns"),(t={},O(t,l,l),O(t,"hayyabuild-rows-".concat(i,"-columns"),!!i),t),{classesList:c},r)},React.createElement(H.Content,null))}},{attributes:{row:{type:"string",default:"1-2_1-2"},device:{type:"string"},middleColumns:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""}},save:function(e){var t,a=e.attributes,o=a.row,l=a.device,i=a.middleColumns,r=a.id,c=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("has-".concat(o,"-columns"),(t={},O(t,l,l),O(t,"hayyabuild-rows-middle-columns",!!i),t),{classesList:c},r)},React.createElement(H.Content,null))}}]}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=wp,f=u.i18n.__,d=u.element,p=d.Fragment,y=d.Component,b=u.components,h=b.RangeControl,m=b.PanelBody;!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(u.editor);var g=u.blockEditor,v=g.BlockControls,k=g.InspectorControls,E=g.InnerBlocks,w=function(e){function t(){return l(this,t),r(this,c(t).apply(this,arguments))}var a,o,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e,t,a,o=this.props,l=o.attributes,i=o.setAttributes,r=(o.className,o.name),c=l.buttonsSpace,s=l.id,u=l.classesList;return n.H.blockID(s,r,i),React.createElement(p,null,React.createElement(v,null,React.createElement("div",{className:"editor-format-toolbar"})),React.createElement(k,null,React.createElement(m,{title:f("Buttons Group Settings","hayyabuild")},React.createElement(h,{label:f("Space between buttons","hayyabuild"),value:c,onChange:function(e){return i({buttonsSpace:e})},min:0,max:5}),React.createElement(n.H.BlocksOptions,{optionsTitle:f("HayyaBuild Options","hayyabuild"),styleTitle:f("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:s,elementStyle:".".concat(s),value:{classesList:u,inlineStyle:!0},onChange:function(e){return i({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-buttons",(e={},t="".concat("wp-block-hayyabuild-buttons","--space-").concat(c),a=0!==c,t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e),{classesList:u},s)},React.createElement(E,{allowedBlocks:["hayyabuild/button"]})))}}])&&i(a.prototype,o),u&&i(a,u),t}(y),_=a(17),x=a.n(_);a.d(t,"name",(function(){return O})),a.d(t,"settings",(function(){return L}));var R=wp,C=R.i18n.__,S=R.blockEditor.InnerBlocks,O="hayyabuild/buttons",L={title:C("Buttons Group","hayyabuild"),description:C("The buttons block is row of clickable buttons.","hayyabuild"),icon:n.H.iconStyle(x.a),category:"hayyabuild",attributes:{buttonsSpace:{type:"number",default:0},id:{type:"string"},classesList:{type:"string",default:""}},supports:{align:["wide","full"]},example:{innerBlocks:[{name:"hayyabuild/button",attributes:{text:C("Button 1","hayyabuild"),icon:"fa fa-hand-pointer",size:2,style:{background:"#FF6B6B"}}},{name:"hayyabuild/button",attributes:{text:C("Button 2","hayyabuild"),size:2,style:{background:"#FF6BCD"}}},{name:"hayyabuild/button",attributes:{text:C("Button 3","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#A2E23A"}}}]},edit:w,save:function(e){var t,a,o,l=e.attributes,i=l.buttonsSpace,r=l.id,c=l.classesList;return React.createElement("div",{className:n.H.hayyaClasses((t={},a="".concat("wp-hayyabuild-buttons","--space-").concat(i),o=0!==i,a in t?Object.defineProperty(t,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[a]=o,t),{classesList:c},r)},React.createElement(S.Content,null))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?u(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=wp,p=d.i18n.__,y=d.element,b=y.Fragment,h=y.Component,m=d.components,g=m.PanelBody,v=m.ToggleControl,k=m.SelectControl,E=d.blockEditor,w=E.RichText,_=E.BlockControls,x=E.InspectorControls,R=E.PanelColorSettings,C=E.AlignmentToolbar,S=function(e){function t(){var e;return i(this,t),(e=c(this,s(t).apply(this,arguments))).onChangeContent=e.onChangeContent.bind(u(e)),e.onChangeCiteText=e.onChangeCiteText.bind(u(e)),e.toggleStars=e.toggleStars.bind(u(e)),e.setStyle=e.setStyle.bind(u(e)),e}var a,o,d;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),a=t,(o=[{key:"onChangeContent",value:function(e){(0,this.props.setAttributes)({contentText:e})}},{key:"onChangeCiteText",value:function(e){(0,this.props.setAttributes)({citeText:e})}},{key:"toggleStars",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showStars:!t.showStars})}},{key:"setStyle",value:function(e){(0,this.props.setAttributes)({testimonialStyle:e})}},{key:"render",value:function(){var e,t=this.props,a=t.attributes,o=t.setAttributes,i=t.className,r=t.name,c=a.contentText,s=a.align,u=a.showStars,f=a.testimonialStyle,d=a.citeText,y=a.placeholder,h=a.textColor,m=a.citeColor,E=a.id,S=a.classesList;return n.H.blockID(E,r,o),React.createElement(b,null,React.createElement(_,null,React.createElement(C,{value:s,onChange:function(e){return o({align:e})}})),React.createElement(x,null,React.createElement(g,{title:p("Testimonial Settings","hayyabuild")},React.createElement(k,{label:p("Testimonial Style","hayyabuild"),value:f,options:[{label:p("None","hayyabuild"),Key:"none",value:"wp-block-quote"},{label:p("Style 1","hayyabuild"),Key:"hb-quote-style1",value:"hb-quote-style1"}],onChange:this.setStyle}),React.createElement(v,{label:p("Show Stars","hayyabuild"),checked:!!u,onChange:this.toggleStars}),React.createElement(n.H.BlocksOptions,{optionsTitle:p("HayyaBuild Options","hayyabuild"),styleTitle:p("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:E,elementStyle:".".concat(i,".").concat(E),onChange:function(e){return o({classesList:e.classesList})},value:{classesList:S,inlineStyle:!0}})),React.createElement(R,{title:p("Color Settings","hayyabuild"),initialOpen:!1,colorSettings:[{value:h,onChange:function(e){return o({textColor:e})},label:p("Text Color","hayyabuild")},{value:m,onChange:function(e){return o({citeColor:e})},label:p("Cite Color","hayyabuild")}]})),React.createElement("blockquote",{className:n.H.hayyaClasses(i,(e={},l(e,f,f),l(e,"align-"+s,s),e),{classesList:S},E)},React.createElement(w,{tagName:"div",className:"quote",value:c,style:{color:h},placeholder:y||p("Add testimonial text","hayyabuild"),onChange:this.onChangeContent,keepPlaceholderOnFocus:!0}),React.createElement(w,{tagName:"cite",value:d,style:{color:m},placeholder:y||p("Add cite text","hayyabuild"),onChange:this.onChangeCiteText,keepPlaceholderOnFocus:!0}),u&&React.createElement("div",{className:"hb-rating"},React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}))))}}])&&r(a.prototype,o),d&&r(a,d),t}(h),O=a(22),L=a.n(O);function N(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return T})),a.d(t,"settings",(function(){return B}));var H=wp,I=H.i18n.__,z=H.blockEditor.RichText,T="hayyabuild/testimonial",B={title:I("Testimonial","hayyabuild"),description:I("A testimonial is often used to let people know what other people think of you or your product.","hayyabuild"),icon:n.H.iconStyle(L.a),category:"hayyabuild",attributes:{contentText:{type:"text",source:"children",selector:".quote"},citeText:{type:"text",source:"children",selector:"cite"},align:{type:"string",default:"left"},testimonialStyle:{type:"string"},showStars:{type:"boolean",default:!1},textColor:{type:"string"},citeColor:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{contentText:I("A testimonial is often used to let people know what other people think of you or your product.","hayyabuild"),citeText:"ZintaThemes",align:"center",testimonialStyle:"hb-quote-style1",showStars:!0}},edit:S,save:function(e){var t,a=e.attributes,o=a.contentText,l=a.align,i=a.citeText,r=a.showStars,c=a.testimonialStyle,s=a.citeColor,u=a.textColor,f=a.id,d=a.classesList;return React.createElement("blockquote",{className:n.H.hayyaClasses((t={},N(t,c,c),N(t,"align-"+l,l),t),{classesList:d},f)},React.createElement(z.Content,{tagName:"div",className:"quote",value:o,style:{color:u}}),React.createElement(z.Content,{tagName:"cite",value:i,style:{color:s}}),r&&React.createElement("div",{className:"hb-rating"},React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"})))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(29),l=a.n(o);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp,y=p.i18n.__,b=p.element,h=b.Fragment,m=b.Component,g=p.components,v=g.PanelBody,k=g.SelectControl,E=g.Toolbar,w=p.blockEditor,_=w.BlockControls,x=w.InspectorControls,R=w.InnerBlocks,C=[["hayyabuild/doublesidedboxsides",{side:"front"}],["hayyabuild/doublesidedboxsides",{side:"back"}]],S=function(e){function t(){var e;return r(this,t),(e=s(this,u(t).apply(this,arguments))).state={isFlipped:!1},e.flipRef=React.createRef(),e.flipChange=e.flipChange.bind(f(e)),e}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),a=t,(o=[{key:"flipChange",value:function(){var e=this.props.attributes.id,t=this.flipRef.current.querySelector("[data-id=".concat(e,"] > div > div"));t&&(t.classList.contains("flip")?(t.classList.remove("flip"),this.setState({isFlipped:!1})):(t.classList.add("flip"),this.setState({isFlipped:!0})))}},{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,o=t.setAttributes,l=(t.className,t.name),i=a.type,r=a.id,c=a.classesList;n.H.blockID(r,l,o);var s,u,f,d=function(){return{icon:"update",title:y("Flip","hayyabuild"),isActive:!!e.state.isFlipped,onClick:e.flipChange}};return React.createElement(h,null,React.createElement(_,null,React.createElement(E,{controls:["update"].map(d)})),React.createElement(x,null,React.createElement(v,{title:y("Double Sided Box Settings","hayyabuild")},React.createElement(E,{controls:["update"].map(d)}),React.createElement(k,{label:y("Sliding type","hayyabuild"),value:i,options:[{label:y("Flipping","hayyabuild"),key:"flip",value:"flip"},{label:y("Flipping up","hayyabuild"),key:"flipup",value:"flipup"},{label:y("Slide up","hayyabuild"),key:"slideup",value:"slideup"},{label:y("Slide right","hayyabuild"),key:"slideright",value:"slideright"},{label:y("Slide down","hayyabuild"),key:"slidedown",value:"slidedown"},{label:y("Slide left","hayyabuild"),key:"slideleft",value:"slideleft"}],onChange:function(e){return o({type:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:y("HayyaBuild Options","hayyabuild"),styleTitle:y("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:r,elementStyle:".".concat(r),value:{classesList:c,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-doublesidedbox",(s={},u="hayyabuild-doublesidedbox--".concat(i),f=i,u in s?Object.defineProperty(s,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[u]=f,s),{classesList:c},r),ref:this.flipRef},React.createElement("div",{class:"hayyabuild-doublesidedbox__container","data-id":r},React.createElement(R,{allowedBlocks:["hayyabuild/doublesidedboxsides"],template:C,templateLock:"all"}))))}}])&&c(a.prototype,o),l&&c(a,l),t}(m);a.d(t,"name",(function(){return H})),a.d(t,"settings",(function(){return I}));var O=wp,L=O.i18n.__,N=O.blockEditor.InnerBlocks,H="hayyabuild/doublesidedbox",I={title:L("Double Sided Box","hayyabuild"),icon:n.H.iconStyle(l.a),description:L("It`s a box with tow faces the first one is visible and the second one is hidden, but when hover/tap over it the second one will be visible and the first one will be hidden.","hayyabuild"),category:"hayyabuild",attributes:{type:{type:"string",default:"flip"},id:{type:"string"},classesList:{type:"string",default:""}},edit:S,save:function(e){var t,a,o,l=e.attributes,i=l.type,r=l.id,c=l.classesList;return React.createElement("div",{className:n.H.hayyaClasses((t={},a="hayyabuild-doublesidedbox--".concat(i),o=i,a in t?Object.defineProperty(t,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[a]=o,t),{classesList:c},r)},React.createElement("div",{class:"hayyabuild-doublesidedbox__container"},React.createElement(N.Content,null)))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(31),l=a.n(o);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=wp,p=d.i18n.__,y=d.element,b=y.Fragment,h=y.Component,m=d.components,g=m.PanelBody,v=m.ToggleControl,k=d.blockEditor.InspectorControls,E=d.blockEditor.InnerBlocks,w=[["hayyabuild/accordionpanel",{}],["hayyabuild/accordionpanel",{}],["hayyabuild/accordionpanel",{}]],_=function(e){function t(){var e;return r(this,t),(e=s(this,u(t).apply(this,arguments))).state={isFlipped:!1},e}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),a=t,(o=[{key:"flipChange",value:function(){var e=this.props.attributes.id,t=this.flipRef.current.querySelector("[data-id=".concat(e,"] > div > div"));t&&(t.classList.contains("flip")?(t.classList.remove("flip"),this.setState({isFlipped:!1})):(t.classList.add("flip"),this.setState({isFlipped:!0})))}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.name),l=t.vertical,i=t.expandable,r=t.hideplus,c=t.id,s=t.classesList;return n.H.blockID(c,o,a),React.createElement(b,null,React.createElement(k,null,React.createElement(g,{title:p("Accordion Settings","hayyabuild")},React.createElement(v,{label:p("Vertical","hayyabuild"),checked:!!l,onChange:function(){return a({vertical:!l})}}),React.createElement(v,{label:p("Expandable","hayyabuild"),checked:!!i,onChange:function(){return a({expandable:!i})}}),React.createElement(v,{label:p("Hide Plus Icon","hayyabuild"),checked:!!r,onChange:function(){return a({hideplus:!r})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:p("HayyaBuild Options","hayyabuild"),styleTitle:p("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:c,elementStyle:".".concat(c),value:{classesList:s,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses({"hayyabuild-accordion--expandable":i,"hayyabuild-accordion--hideplus":r},{classesList:s},c)},React.createElement(E,{allowedBlocks:["hayyabuild/accordionpanel"],template:w,templateLock:!1})))}}])&&c(a.prototype,o),l&&c(a,l),t}(h);a.d(t,"name",(function(){return S})),a.d(t,"settings",(function(){return O}));var x=wp,R=x.i18n.__,C=x.blockEditor.InnerBlocks,S="hayyabuild/accordion",O={title:R("Accordion","hayyabuild"),icon:n.H.iconStyle(l.a),description:R("The Accordion is a block that organizes content within collapsable items.","hayyabuild"),category:"hayyabuild",attributes:{vertical:{type:"boolean",default:!1},expandable:{type:"boolean",default:!1},hideplus:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},example:{innerBlocks:[{name:"hayyabuild/accordionpanel",attributes:{icon:"fa fa-home",title:R("Accordion Title 1","hayyabuild")}},{name:"hayyabuild/accordionpanel",attributes:{icon:"fa fa-tachometer-alt",title:R("Accordion Title 2","hayyabuild")}},{name:"hayyabuild/accordionpanel",attributes:{icon:"fa fa-shopping-cart",title:R("Accordion Title 3","hayyabuild")}}]},edit:_,save:function(e){var t=e.attributes,a=t.vertical,o=t.expandable,l=t.hideplus,i=t.id,r=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses({"hayyabuild-accordion--expandable":o,"hayyabuild-accordion--hideplus":l,"hayyabuild-accordion--vertical":a},{classesList:r},i)},React.createElement(C.Content,null))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(1),l=a.n(o);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp,y=p.i18n.__,b=p.element,h=b.Fragment,m=b.Component,g=p.components,v=g.PanelBody,k=g.ToggleControl,E=p.blockEditor,w=E.InspectorControls,_=E.RichText,x=p.blockEditor.InnerBlocks,R=function(e){function t(){var e;return r(this,t),(e=s(this,u(t).apply(this,arguments))).state={isExpanded:!1},e.collapseExpandRef=l.a.createRef(),e.bodyRef=l.a.createRef(),e.collapseExpand=e.collapseExpand.bind(f(e)),e}var a,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),a=t,(o=[{key:"collapseExpand",value:function(){this.setState({isExpanded:!this.state.isExpanded})}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.name),i=t.title,r=t.icon,c=t.active,s=t.alwaysactive,u=t.id,f=t.classesList;return n.H.blockID(u,o,a),l.a.createElement(h,null,l.a.createElement(w,null,l.a.createElement(v,{title:y("Accordion Item Settings","hayyabuild")},l.a.createElement(n.H.getPro,null),l.a.createElement(n.H.SelectIcon,{title:y("Icon","hayyabuild"),classPlaceholder:y("Insert icon class","hayyabuild"),fliterPlaceholder:y("Search for icon","hayyabuild"),value:r,onSelect:function(e){return a({icon:e})}}),l.a.createElement(k,{label:y("Always expanded","hayyabuild"),checked:!!s,onChange:function(){return a({alwaysactive:!s})}}),!s&&l.a.createElement(k,{label:y("Expand when load","hayyabuild"),checked:!!c,onChange:function(){return a({active:!c})}}),l.a.createElement(n.H.BlocksOptions,{optionsTitle:y("HayyaBuild Options","hayyabuild"),styleTitle:y("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:u,elementStyle:".".concat(u),value:{classesList:f,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0}}))),l.a.createElement("div",{className:n.H.hayyaClasses("hayyabuild-accordion__content",{"hayyabuild-accordion__content--alwaysactive":!!s,active:!!c},{classesList:f},u)},l.a.createElement("div",{className:"hayyabuild-accordion__content__header"},r&&l.a.createElement("i",{className:r}),l.a.createElement(_,{tagName:"span",className:"hayyabuild-accordion__content__header__title",value:i,placeholder:y("Insert Accordion Title","hayyabuild"),onChange:function(e){return a({title:e})}}),l.a.createElement("i",{className:n.H.hayyaClasses("collapse-expand",{expanded:!!this.state.isExpanded}),onClick:this.collapseExpand,ref:this.collapseExpandRef})),l.a.createElement("div",{className:n.H.hayyaClasses("hayyabuild-accordion__content__body",{expanded:!!this.state.isExpanded})},l.a.createElement(x,{templateLock:!1}))))}}])&&c(a.prototype,o),i&&c(a,i),t}(m);a.d(t,"name",(function(){return N})),a.d(t,"settings",(function(){return H}));var C=wp,S=C.i18n.__,O=C.blockEditor.RichText,L=C.blockEditor.InnerBlocks,N="hayyabuild/accordionpanel",H={title:S("Accordion Panel","hayyabuild"),icon:n.H.iconStyle("archive"),category:"hayyabuild",attributes:{title:{type:"text",source:"children",selector:".hayyabuild-accordion__content__header__title"},icon:{type:"string",source:"attribute",attribute:"class",selector:".hayyabuild-accordion__content__header i",default:""},active:{type:"boolean",default:!1},alwaysactive:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/accordion"],edit:R,save:function(e){var t=e.attributes,a=(e.className,t.title),o=t.icon,l=t.active,i=t.alwaysactive,r=t.id,c=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-accordion__content",{"hayyabuild-accordion__content--alwaysactive":!!i,active:!!l},{classesList:c},r)},React.createElement("div",{className:"hayyabuild-accordion__content__header"},o&&React.createElement("i",{className:o}),React.createElement(O.Content,{tagName:"span",className:"hayyabuild-accordion__content__header__title",value:a})),React.createElement("div",{className:"hayyabuild-accordion__content__body"},React.createElement(L.Content,null)))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(32),l=a.n(o);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d=wp,p=d.i18n.__,y=d.element,b=y.Fragment,h=y.Component,m=d.components,g=m.PanelBody,v=m.ToggleControl,k=m.SelectControl,E=d.blockEditor,w=E.InspectorControls,_=E.AlignmentToolbar,x=E.InnerBlocks,R=[["hayyabuild/tabstab",{}],["hayyabuild/tabstab",{}],["hayyabuild/tabstab",{}]],C=function(e){function t(){var e;return i(this,t),(e=c(this,s(t).apply(this,arguments))).state={isFlipped:!1},e}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.clientId),l=e.name,i=t.align,r=(t.vertical,t.expandable,t.hideplus),c=t.list,s=t.effect,u=t.id,d=t.classesList;return n.H.blockID(u,l,a),function(){var e=wp.data.select("core/block-editor").getBlock(o);if(e){var t={};e.innerBlocks.forEach((function(e){e.attributes.id&&(t[e.attributes.id]={id:e.attributes.id,title:e.attributes.title,icon:e.attributes.icon,active:e.attributes.active})})),t&&(function(e,t){"object"!==f(t)&&(t={});var a=Object.keys(e),n=a.length,o=Object.keys(t);if(n!==o.length)return!1;for(var l=n;l--;){if(a[l]!==o[l])return!1;var i=e[a[l]],r=t[o[l]];if(i.title!==r.title||i.icon!==r.icon||i.active!==r.active)return!1}return!0}(t,c)||a({list:t}))}}(),React.createElement(b,null,React.createElement(w,null,React.createElement(g,{title:p("Tabs Settings","hayyabuild")},React.createElement(_,{label:p("Tabs Alignment","hayyabuild"),value:i,onChange:function(e){return a({align:e})}}),React.createElement(v,{label:p("Hide Plus Icon","hayyabuild"),checked:!!r,onChange:function(){return a({hideplus:!r})}}),React.createElement(k,{label:p("Effect","hayyabuild"),value:s,options:[{label:p("None","hayyabuild"),Key:"none",value:""},{label:p("Fade","hayyabuild"),Key:"fade",value:"fade"},{label:p("Slide Up","hayyabuild"),Key:"slideup",value:"slideup"},{label:p("Swipe Up","hayyabuild"),Key:"swipeup",value:"swipeup"},{label:p("Swipe Left","hayyabuild"),Key:"swipeleft",value:"swipeleft"}],onChange:function(e){return a({effect:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:p("HayyaBuild Options","hayyabuild"),styleTitle:p("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:u,elementStyle:".".concat(u),value:{classesList:d,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses({"hayyabuild-tabs--hideplus":r},{classesList:d},u)},React.createElement(x,{template:R,allowedBlocks:["hayyabuild/tabstab"],defaultBlock:"hayyabuild/tabstab",templateLock:!1})))}}])&&r(a.prototype,o),l&&r(a,l),t}(h);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return I})),a.d(t,"settings",(function(){return z}));var L=wp,N=L.i18n.__,H=L.blockEditor.InnerBlocks,I="hayyabuild/tabs",z={title:N("Tabs","hayyabuild"),description:N("Tabs are components which separate content placed in the same wrapper but in the separate pane.","hayyabuild"),icon:n.H.iconStyle(l.a),category:"hayyabuild",attributes:{vertical:{type:"boolean",default:!1},align:{type:"string"},hideplus:{type:"boolean",default:!1},effect:{type:"string"},list:{type:"object"},id:{type:"string"},classesList:{type:"string",default:""}},example:{innerBlocks:[{name:"hayyabuild/tabstab",attributes:{icon:"fa fa-home",title:N("Tab Title 1","hayyabuild")}},{name:"hayyabuild/tabstab",attributes:{icon:"fa fa-tachometer-alt",title:N("Tab Title 2","hayyabuild")}},{name:"hayyabuild/tabstab",attributes:{icon:"fa fa-shopping-cart",title:N("Tab Title 3","hayyabuild")}}]},edit:C,save:function(e){e.attributes;var t=e.attributes,a=t.align,o=t.vertical,l=(t.expandable,t.hideplus),i=t.effect,r=t.list,c=t.id,s=t.classesList;e.innerBlocks;return React.createElement("div",{className:n.H.hayyaClasses(O({"hayyabuild-tabs--hideplus":!!l,"hayyabuild-tabs--vertical":!!o},"hayyabuild-tabs--".concat(i),!!i),{classesList:s},c)},function(){if(r){var e=n.H.hayyaClasses("hayyabuild-tabs__tabs",O({},"hayyabuild-tabs__tabs--".concat(a),!!a));return React.createElement("ul",{className:e},Object.keys(r).map((function(e,t){if(r[e]&&"object"===S(r[e])){var a=r[e].active?"active":null;return React.createElement("li",{className:a},React.createElement("a",{href:"#".concat(e)},r[e].icon&&React.createElement("i",{className:r[e].icon}),r[e].title))}})))}}(),React.createElement("div",{className:"hayyabuild-tabs__content"},React.createElement(H.Content,null)))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(33),l=a.n(o),i=a(1),r=a.n(i);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?p(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=wp,h=b.i18n.__,m=b.element,g=m.Fragment,v=m.Component,k=b.components,E=k.PanelBody,w=k.ToggleControl,_=b.blockEditor,x=_.RichText,R=_.InspectorControls,C=_.InnerBlocks,S=function(e){function t(){var e;return s(this,t),(e=f(this,d(t).apply(this,arguments))).state={isExpanded:!1},e.collapseExpandRef=r.a.createRef(),e.bodyRef=r.a.createRef(),e.collapseExpand=e.collapseExpand.bind(p(e)),e}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,e),a=t,(o=[{key:"collapseExpand",value:function(){this.setState({isExpanded:!this.state.isExpanded})}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.name),l=t.title,i=t.icon,c=t.active,s=(t.alwaysactive,t.id),u=t.classesList;return n.H.blockID(s,o,a),r.a.createElement(g,null,r.a.createElement(R,null,r.a.createElement(E,{title:h("Tab Settings","hayyabuild")},r.a.createElement(n.H.getPro,null),r.a.createElement(n.H.SelectIcon,{title:h("Icon","hayyabuild"),classPlaceholder:h("Insert icon class","hayyabuild"),fliterPlaceholder:h("Search for icon","hayyabuild"),value:i,onSelect:function(e){return a({icon:e})}}),r.a.createElement(w,{label:h("Active","hayyabuild"),checked:!!c,onChange:function(){return a({active:!c})}}),r.a.createElement(n.H.BlocksOptions,{optionsTitle:h("HayyaBuild Options","hayyabuild"),styleTitle:h("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:s,elementStyle:".".concat(s),value:{classesList:u,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),r.a.createElement("div",{className:n.H.hayyaClasses("hayyabuild-tabs__body",{active:!!c},{classesList:u},s)},r.a.createElement("div",{className:"hayyabuild-tabs__header"},i&&r.a.createElement("i",{className:i}),r.a.createElement(x,{tagName:"span",className:"hayyabuild-tabs__header__title",value:l,placeholder:h("Insert Tab Title","hayyabuild"),onChange:function(e){return a({title:e})}}),r.a.createElement("i",{className:n.H.hayyaClasses("collapse-expand",{expanded:!!this.state.isExpanded}),onClick:this.collapseExpand,ref:this.collapseExpandRef})),r.a.createElement("div",{className:n.H.hayyaClasses("hayyabuild-tabs__body__content",{expanded:!!this.state.isExpanded})},r.a.createElement(C,{templateLock:!1}))))}}])&&u(a.prototype,o),l&&u(a,l),t}(v);a.d(t,"name",(function(){return H})),a.d(t,"settings",(function(){return I}));var O=wp,L=O.i18n.__,N=O.blockEditor.InnerBlocks,H="hayyabuild/tabstab",I={title:L("Tab","hayyabuild"),icon:n.H.iconStyle(l.a),category:"hayyabuild",attributes:{title:{type:"text",default:""},icon:{type:"string",default:""},active:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/tabs"],edit:S,save:function(e){var t=e.attributes,a=(e.className,t.title,t.icon,t.active),o=(t.alwaysactive,t.id),l=t.classesList;return React.createElement("div",{id:o,className:n.H.hayyaClasses("hayyabuild-tabs__body",{active:!!a},{classesList:l},o)},React.createElement(N.Content,null))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=wp,d=f.i18n.__,p=f.element,y=p.Fragment,b=p.Component,h=f.components,m=h.PanelBody,g=h.ToggleControl,v=h.SelectControl,k=h.TextControl,E=h.RangeControl,w=f.editor.MediaPlaceholder,_=f.blockEditor,x=_.RichText,R=_.InspectorControls,C=function(e){function t(){return i(this,t),c(this,s(t).apply(this,arguments))}var a,o,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e,t=this.props,a=t.attributes,o=t.setAttributes,i=t.className,r=t.name,c=a.image,s=a.imgtitle,u=a.icon,f=a.iconsize,p=a.shadow,b=a.hovereffect,h=a.title,_=a.text,C=a.btntitle,S=a.btnlink,O=a.waveeffect,L=a.wavestyle,N=a.id,H=a.classesList;return n.H.blockID(N,r,o),React.createElement(y,null,React.createElement(R,null,React.createElement(m,{title:d("Card Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(n.H.SelectIcon,{title:d("Card Icon","hayyabuild"),classPlaceholder:d("Insert icon class","hayyabuild"),fliterPlaceholder:d("Search for icon","hayyabuild"),value:u,onSelect:function(e){return o({icon:e})}}),u&&React.createElement(E,{label:d("Icons size","hayyabuild"),value:f,onChange:function(e){return o({iconsize:e})},min:1,max:10}),React.createElement(v,{label:d("Hover Effect","hayyabuild"),value:b,options:[{label:d("Empty","hayyabuild"),Key:"empty",value:""},{label:d("Slide Right","hayyabuild"),Key:"slideright",value:"slideright"},{label:d("Slide up","hayyabuild"),Key:"slideup",value:"slideup"},{label:d("Slide Down","hayyabuild"),Key:"slidedown",value:"slidedown"},{label:d("Slide Left","hayyabuild"),Key:"slideleft",value:"slideleft"},{label:d("Scale In","hayyabuild"),Key:"scalein",value:"scalein"},{label:d("Rotate","hayyabuild"),Key:"rotate",value:"rotate"}],onChange:function(e){return o({hovereffect:e})}}),React.createElement(g,{label:d("Shadow Effect","hayyabuild"),checked:!!p,onChange:function(){return o({shadow:!p})}}),React.createElement(g,{label:d("Wave Effect","hayyabuild"),checked:!!O,onChange:function(){return o({waveeffect:!O})}}),!!O&&React.createElement(v,{label:d("Effect color","hayyabuild"),value:L,options:[{label:d("Light","hayyabuild"),Key:"light",value:"light"},{label:d("Red","hayyabuild"),Key:"red",value:"red"},{label:d("Yellow","hayyabuild"),Key:"yellow",value:"yellow"},{label:d("Orange","hayyabuild"),Key:"orange",value:"orange"},{label:d("Purple","hayyabuild"),Key:"purple",value:"purple"},{label:d("Green","hayyabuild"),Key:"green",value:"green"},{label:d("Teal","hayyabuild"),Key:"teal",value:"teal"}],onChange:function(e){return o({wavestyle:e})}}),React.createElement("div",{className:"hayyabuild__admin__block__image",style:{backgroundImage:"url(".concat(c,")")}},React.createElement("button",{href:"#",className:"components-button components-circular-option-picker__clear is-secondary is-small remove-image",onClick:function(){return o({image:void 0})},type:"button"},d("Clear","hayyabuild")),React.createElement(w,{onSelect:function(e){o({image:e.url})},allowedTypes:["image","video"],multiple:!1,labels:{title:d("Card Image","hayyabuild"),instructions:d("Keep it empty to display icon instead.","hayyabuild")}})),React.createElement(k,{label:d("Image title","hayyabuild"),value:s,onChange:function(e){return o({imgtitle:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:d("HayyaBuild Options","hayyabuild"),styleTitle:d("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:N,elementStyle:".".concat(N),onChange:function(e){return o({classesList:e.classesList})},value:{classesList:H,inlineStyle:!0},lite:{style:!0}})),React.createElement(m,{title:d("Button Settings","hayyabuild")},React.createElement(k,{label:d("Button title","hayyabuild"),value:C,onChange:function(e){return o({btntitle:e})}}),React.createElement(k,{label:d("Button Link","hayyabuild"),value:S,onChange:function(e){return o({btnlink:e})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-card",(e={},l(e,"".concat(i),!0),l(e,"hayyabuild-card--shadow",!!p),l(e,"hayyabuild-card--".concat(b),!!b),l(e,"waves-effect",!!O),l(e,"waves-".concat(L),!!O&&!!L),e),{classesList:H},N)},React.createElement("div",{class:"hayyabuild-card__header"},c&&React.createElement("img",{title:s,className:"hayyabuild-card__header__image",src:c}),u&&!c&&React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-card__header__icon","hayyabuild-card__header__icon--size-".concat(f))},React.createElement("i",{class:u})),React.createElement(x,{tagName:"div",className:"hayyabuild-card__header__title",value:h,placeholder:d("Add card title","hayyabuild"),onChange:function(e){return o({title:e})}})),React.createElement("div",{class:"hayyabuild-card__body"},React.createElement("div",{className:"hayyabuild-card__body__content"},React.createElement(x,{tagName:"div",value:_,placeholder:d("Add card text","hayyabuild"),onChange:function(e){return o({text:e})}}),C&&S&&React.createElement("a",{title:C,href:S,className:n.H.hayyaClasses("hayyabuild-card__body__button",l({"waves-effect":!!O},"waves-".concat(L),!!O&&!!L))},C)))))}}])&&r(a.prototype,o),f&&r(a,f),t}(b),S=a(37),O=a.n(S);function L(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return z})),a.d(t,"settings",(function(){return T}));var N=wp,H=N.i18n.__,I=N.blockEditor.RichText,z="hayyabuild/card",T={title:H("Info Card","hayyabuild"),description:H("Information cards are personal digital identities that people can use online, and the key component of an identity metasystem.","hayyabuild"),icon:n.H.iconStyle(O.a),category:"hayyabuild",attributes:{image:{type:"url",source:"attribute",attribute:"src",selector:".hayyabuild-card__header__image"},imgtitle:{type:"string",source:"attribute",attribute:"title",selector:".hayyabuild-card__header__image",default:""},icon:{type:"string",source:"attribute",attribute:"class",selector:".hayyabuild-card__header__icon > i"},iconsize:{type:"number",default:3},shadow:{type:"string",source:"attribute",attribute:"class",selector:".hayyabuild-card--shadow"},hovereffect:{type:"string"},title:{type:"text",source:"children",selector:".hayyabuild-card__header__title"},text:{type:"text",source:"children",selector:".hayyabuild-card__body__content > div"},btntitle:{type:"string",source:"attribute",attribute:"title",selector:".hayyabuild-card__body__button"},btnlink:{type:"url",source:"attribute",attribute:"href",selector:".hayyabuild-card__body__button"},waveeffect:{type:"string",source:"attribute",attribute:"class",selector:".waves-effect"},wavestyle:{type:"string",default:"light"},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{icon:"fa fa-shopping-cart",shadow:!0,title:H("Card Title","hayyabuild"),text:H("Information cards are personal digital identities that people can use online, and the key component of an identity metasystem.","hayyabuild"),btntitle:H("Card Button","hayyabuild"),btnlink:"#"}},edit:C,save:function(e){var t,a=e.attributes,o=a.image,l=a.imgtitle,i=a.icon,r=a.iconsize,c=a.shadow,s=a.hovereffect,u=a.title,f=a.text,d=a.btntitle,p=a.btnlink,y=a.waveeffect,b=a.wavestyle,h=a.id,m=a.classesList,g=1===u.length&&""!==u[0]||u.length>1;return React.createElement("div",{className:n.H.hayyaClasses((t={"hayyabuild-card--shadow":!!c},L(t,"hayyabuild-card--".concat(s),!!s),L(t,"waves-effect",!!y),L(t,"waves-".concat(b),!!y&&!!b),t),{classesList:m},h)},React.createElement("div",{class:"hayyabuild-card__header"},o&&React.createElement("img",{title:l,className:"hayyabuild-card__header__image",src:o}),i&&!o&&React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-card__header__icon","hayyabuild-card__header__icon--size-".concat(r))},React.createElement("i",{class:i})),g&&React.createElement(I.Content,{tagName:"div",className:"hayyabuild-card__header__title",value:u})),React.createElement("div",{class:"hayyabuild-card__body"},React.createElement("div",{className:"hayyabuild-card__body__content"},React.createElement(I.Content,{tagName:"div",className:"hayyabuild-card__body__content",value:f}),d&&p&&React.createElement("a",{title:d,href:p,className:n.H.hayyaClasses("hayyabuild-card__body__button",L({"waves-effect":!!y},"waves-".concat(b),!!y&&!!b))},d))))}}}]); 22 */var n=a(9),o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,l=o?Symbol.for("react.portal"):60106,i=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113;o&&Symbol.for("react.suspense_list");var y=o?Symbol.for("react.memo"):60115,b=o?Symbol.for("react.lazy"):60116;o&&Symbol.for("react.fundamental"),o&&Symbol.for("react.responder"),o&&Symbol.for("react.scope");var h="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=1;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function k(e,t,a){this.props=e,this.context=t,this.refs=v,this.updater=a||g}function w(){}function E(e,t,a){this.props=e,this.context=t,this.refs=v,this.updater=a||g}k.prototype.isReactComponent={},k.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},k.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=k.prototype;var _=E.prototype=new w;_.constructor=E,n(_,k.prototype),_.isPureReactComponent=!0;var R={current:null},x={current:null},C=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,a){var n,o={},l=null,i=null;if(null!=t)for(n in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(l=""+t.key),t)C.call(t,n)&&!S.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(1===c)o.children=a;else if(1<c){for(var s=Array(c),u=0;u<c;u++)s[u]=arguments[u+2];o.children=s}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===o[n]&&(o[n]=c[n]);return{$$typeof:r,type:e,key:l,ref:i,props:o,_owner:x.current}}function L(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var N=/\/+/g,H=[];function T(e,t,a,n){if(H.length){var o=H.pop();return o.result=e,o.keyPrefix=t,o.func=a,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:a,context:n,count:0}}function I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>H.length&&H.push(e)}function B(e,t,a){return null==e?0:function e(t,a,n,o){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var c=!1;if(null===t)c=!0;else switch(i){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case r:case l:c=!0}}if(c)return n(o,t,""===a?"."+P(t,0):a),1;if(c=0,a=""===a?".":a+":",Array.isArray(t))for(var s=0;s<t.length;s++){var u=a+P(i=t[s],s);c+=e(i,u,n,o)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=h&&t[h]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),s=0;!(i=t.next()).done;)c+=e(i=i.value,u=a+P(i,s++),n,o);else if("object"===i)throw n=""+t,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return c}(e,"",t,a)}function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function j(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,a){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?z(e,n,a,(function(e){return e})):null!=e&&(L(e)&&(e=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(N,"$&/")+"/")+a)),n.push(e))}function z(e,t,a,n,o){var r="";null!=a&&(r=(""+a).replace(N,"$&/")+"/"),B(e,F,t=T(t,r,n,o)),I(t)}function M(){var e=R.current;if(null===e)throw Error(m(321));return e}var A={Children:{map:function(e,t,a){if(null==e)return e;var n=[];return z(e,n,null,t,a),n},forEach:function(e,t,a){if(null==e)return e;B(e,j,t=T(null,null,t,a)),I(t)},count:function(e){return B(e,(function(){return null}),null)},toArray:function(e){var t=[];return z(e,t,null,(function(e){return e})),t},only:function(e){if(!L(e))throw Error(m(143));return e}},createRef:function(){return{current:null}},Component:k,PureComponent:E,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:d,render:e}},lazy:function(e){return{$$typeof:b,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return M().useCallback(e,t)},useContext:function(e,t){return M().useContext(e,t)},useEffect:function(e,t){return M().useEffect(e,t)},useImperativeHandle:function(e,t,a){return M().useImperativeHandle(e,t,a)},useDebugValue:function(){},useLayoutEffect:function(e,t){return M().useLayoutEffect(e,t)},useMemo:function(e,t){return M().useMemo(e,t)},useReducer:function(e,t,a){return M().useReducer(e,t,a)},useRef:function(e){return M().useRef(e)},useState:function(e){return M().useState(e)},Fragment:i,Profiler:s,StrictMode:c,Suspense:p,createElement:O,cloneElement:function(e,t,a){if(null==e)throw Error(m(267,e));var o=n({},e.props),l=e.key,i=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,c=x.current),void 0!==t.key&&(l=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)C.call(t,u)&&!S.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=a;else if(1<u){s=Array(u);for(var f=0;f<u;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:r,type:e.type,key:l,ref:i,props:o,_owner:c}},createFactory:function(e){var t=O.bind(null,e);return t.type=e,t},isValidElement:L,version:"16.12.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:n}},D={default:A},q=D&&A||D;e.exports=q.default||q},function(e,t,a){var n=a(1),o=a(39);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,'.fullScreen-activated{height:150vh;left:0}div.react-opensstreetmap-leaflet{position:relative;overflow:hidden;width:100%;height:100%}div.react-opensstreetmap-leaflet .hayyabuild-map{position:relative;height:100%;width:100%;top:0;left:0;right:0;bottom:0}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button,div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker,div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button{display:block;position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;z-index:15;overflow:hidden;padding:0 5px;border:1px solid rgba(255,255,255,0.5);background-color:#0085ba;color:#FFF;box-shadow:0 0 5px rgba(0,0,0,0.4);transform:scale(0.8);cursor:pointer;transition:transform 0.3s ease-out}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button:not(.disabled):not(.add-marker):hover,div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker:not(.disabled):not(.add-marker):hover,div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button:not(.disabled):not(.add-marker):hover{background-color:#005D82;transform:scale(1)}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button i,div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker i,div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button i{display:block;height:20px;width:20px;font-size:16px;line-height:20px}div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button{top:40px;background-color:#EE8700}div.react-opensstreetmap-leaflet .hayyabuild-map button.fullscreen-button:hover{background-color:#F0A036;transform:scale(1)}div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker{background-color:#00BA49;top:80px}div.react-opensstreetmap-leaflet .hayyabuild-map button.add-marker:hover{background-color:#00983B;transform:scale(1)}div.react-opensstreetmap-leaflet .hayyabuild-map button.save-button.disabled{background-color:#AAA;color:#FFF;cursor:not-allowed}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers{position:absolute;top:0;left:100%;width:50%;min-width:300px;max-width:400px;height:100%;z-index:16}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker{position:absolute;padding:10px;width:100%;height:100%;top:0;left:-100%;font-size:0.9rem;background-color:rgba(255,255,255,0.75);border:1px solid rgba(255,255,255,0.95);overflow-y:scroll;overflow-x:hidden;transform:scaleX(0);transform-origin:right;transition:transform 0.2s, opacity 0.3s 0.2s;box-shadow:0 0 15px rgba(0,0,0,0.3)}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker.show{opacity:1;transform:scaleX(1);transition:transform 0.2s, opacity 0.7s}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker span.info{display:block;font-size:12px;color:#555}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .close-editor,div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker{margin-bottom:5px;width:30px;padding:0;border-radius:50%;border:none;background-color:#11A0D2;height:30px;cursor:pointer;color:#FFF}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .close-editor i,div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker i{font-size:20px;line-height:24px}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .close-editor:hover,div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker:hover{background-color:#278AAD}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker{background-color:#FF8A8A}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .remove-marker:hover{background-color:#FF5F5F}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .marker-icon-type{text-align:center}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .marker-icon-type svg{width:40px;height:40px;cursor:pointer;margin:10px 3px;padding:5px;border-radius:3px;border:1px solid rgba(0,0,0,0.1);transition:all 0.3s ease-out}div.react-opensstreetmap-leaflet .hayyabuild-map .edit-markers .edit-marker .marker-icon-type svg:hover{background-color:rgba(0,0,0,0.1)}div.react-opensstreetmap-leaflet__loading{display:none}div.react-opensstreetmap-leaflet__loading.show-loading,div.react-opensstreetmap-leaflet__loading.show-success,div.react-opensstreetmap-leaflet__loading.show-error{position:absolute;display:block;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:20;transition:background-color 0.5s}div.react-opensstreetmap-leaflet__loading.show-loading .loading__icon,div.react-opensstreetmap-leaflet__loading.show-success .loading__icon,div.react-opensstreetmap-leaflet__loading.show-error .loading__icon{position:absolute;display:inline-block;width:120px;height:120px;top:50%;left:50%;transform:translate(-50%, -50%)}div.react-opensstreetmap-leaflet__loading.show-loading .loading__icon:after,div.react-opensstreetmap-leaflet__loading.show-success .loading__icon:after,div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:after{position:absolute;top:0;content:" ";display:block;width:120px;height:120px;margin:1px;border:10px solid #FFF;transition:width 0.3s}div.react-opensstreetmap-leaflet__loading.show-loading{background-color:rgba(255,245,100,0.5)}div.react-opensstreetmap-leaflet__loading.show-success{background-color:rgba(100,245,100,0.5)}div.react-opensstreetmap-leaflet__loading.show-error{background-color:rgba(255,100,100,0.5)}div.react-opensstreetmap-leaflet__loading.show-loading .loading__icon:after{border-radius:50%;border:10px solid #FFF;border-color:#FFF transparent #FFF transparent;animation:lds-dual-ring 1.2s linear infinite}div.react-opensstreetmap-leaflet__loading.show-success .loading__icon{width:60px}div.react-opensstreetmap-leaflet__loading.show-success .loading__icon:after{width:60px;border:10px solid #FFF;border-color:transparent #FFF #FFF transparent;transform:rotateZ(45deg);transform-origin:right}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon{width:10px}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:before{content:" ";display:block;margin:1px}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:before,div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:after{position:absolute;top:0;width:10px;height:120px;border:none;background-color:#FFF;transform:rotateZ(-45deg);transition:width 0.3s, border-radius 0.3s}div.react-opensstreetmap-leaflet__loading.show-error .loading__icon:after{transform:rotateZ(45deg)}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}div.react-opensstreetmap-leaflet .hayyabuild-map-info.show{position:absolute;z-index:18;top:auto;bottom:10px;right:10px;color:#333;background-color:#FFF;border-radius:3px;padding:5px 10px;font-size:14px;box-shadow:0 5px 10px rgba(0,0,0,0.2)}\n',""]),e.exports=t},function(e,t,a){var n=a(1),o=a(41);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,".hb-select-icon{position:relative;border:1px solid #EEE;padding:0;margin:20px 0;text-align:center;background-color:#FFF;height:40px}.hb-select-icon a:active,.hb-select-icon a:focus{outline:none;box-shadow:none}.hb-select-icon a.toggle{position:relative;display:block;width:100%;height:40px;line-height:30px;background-color:#fafafa;color:#555;text-decoration:none;padding:5px 10px;outline:none;border-radius:1px;text-align:left;z-index:9999}.hb-select-icon a.toggle:focus{outline:none}.hb-select-icon a.toggle:after{content:'\\f107';font-family:'FontAwesome';position:absolute;right:10px;top:5px}.hb-select-icon a.toggle.opened{z-index:999999}.hb-select-icon a.toggle.opened:after{content:'\\f106'}.hb-select-icon .icons-container{height:0;overflow:hidden;position:absolute;width:100%;top:0;left:0;z-index:999;background-color:#FFF;border:1px solid #EEE;transition:height .2s ease-in, box-shadow .2s ease-in;padding-top:40px}.hb-select-icon .icons-container.opened{height:340px;z-index:99999;box-shadow:0px 5px 15px rgba(5,5,5,0.3)}.hb-select-icon .icons-container input[type=text],.hb-select-icon .icons-container input[type=search]{display:inline-block;width:48%;margin:0;border-radius:0;border:0;border-bottom:1px solid #CCC}.hb-select-icon .icons-container input[type=text][type=text],.hb-select-icon .icons-container input[type=search][type=text]{margin-right:2%}.hb-select-icon .icons-container input[type=text]:focus,.hb-select-icon .icons-container input[type=search]:focus{box-shadow:none;border-bottom:1px solid #888}.hb-select-icon .icons-container ul{overflow-y:scroll;overflow-x:hidden;height:250px;display:block;widows:100%;text-align:center;list-style:none}.hb-select-icon .icons-container ul li{display:inline-block;margin:1%;width:18%;height:37px}.hb-select-icon .icons-container ul li a{display:inline-block;width:100%;height:100%;border:1px solid #DDD;background-color:#f8f8f8;color:#555;border-radius:1px;text-align:center;transition:color .1s ease-in}.hb-select-icon .icons-container ul li a.active{background-color:#0085ba;color:#ffffff}.hb-select-icon .icons-container ul li a:hover{color:#0085ba;background-color:#EEE}.hb-select-icon .icons-container ul li a:hover i{transform:scale(1.5)}.hb-select-icon .icons-container ul li a i{line-height:35px;font-size:17px;transition:transform .1s linear;transform:scale(1)}\n",""]),e.exports=t},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.InlineIcon=t.Icon=void 0;var n,o=(n=a(10))&&n.__esModule?n:{default:n};function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=0,c=/(-?[0-9.]*[0-9]+[0-9.]*)/g,s=/^-?[0-9.]*[0-9]+[0-9.]*$/g,u=["width","height","inline","hFlip","vFlip","flip","rotate","align","color","box"],f={left:0,top:0,width:16,height:16,rotate:0,hFlip:!1,vFlip:!1};var d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._item=t}var t,a,n;return t=e,n=[{key:"splitAttributes",value:function(e){var t={icon:Object.create(null),node:Object.create(null)};return Object.keys(e).forEach((function(a){t[-1===u.indexOf(a)?"node":"icon"][a]=e[a]})),t}},{key:"calculateDimension",value:function(e,t,a){if(1===t)return e;if(a=void 0===a?100:a,"number"==typeof e)return Math.ceil(e*t*a)/a;var n=e.split(c);if(null===n||!n.length)return null;for(var o,r=[],l=n.shift(),i=s.test(l);;){if(i?(o=parseFloat(l),isNaN(o)?r.push(l):r.push(Math.ceil(o*t*a)/a)):r.push(l),void 0===(l=n.shift()))return r.join("");i=!i}}},{key:"replaceIDs",value:function(e){var t,a,n=/\sid="(\S+)"/g,o=[];function r(e,t,a){for(var n=0;-1!==(n=a.indexOf(e,n));)a=a.slice(0,n)+t+a.slice(n+e.length),n+=t.length;return a}for(;t=n.exec(e);)o.push(t[1]);return o.length?(a="IconifyId-"+Date.now().toString(16)+"-"+(16777216*Math.random()|0).toString(16)+"-",o.forEach((function(t){var n=a+i;i++,e=r('="'+t+'"','="'+n+'"',e),e=r('="#'+t+'"','="#'+n+'"',e),e=r("(#"+t+")","(#"+n+")",e)})),e):e}}],(a=[{key:"getAttributes",value:function(t){var a=this._item;"object"!==r(t)&&(t=Object.create(null));var n={horizontal:"center",vertical:"middle",slice:!1},o={rotate:a.rotate,hFlip:a.hFlip,vFlip:a.vFlip},l=Object.create(null),i=Object.create(null),c=!0===t.inline||"true"===t.inline||"1"===t.inline,s={left:a.left,top:c?a.inlineTop:a.top,width:a.width,height:c?a.inlineHeight:a.height};if(["hFlip","vFlip"].forEach((function(e){void 0===t[e]||!0!==t[e]&&"true"!==t[e]&&"1"!==t[e]||(o[e]=!o[e])})),void 0!==t.flip&&t.flip.toLowerCase().split(/[\s,]+/).forEach((function(e){switch(e){case"horizontal":o.hFlip=!o.hFlip;break;case"vertical":o.vFlip=!o.vFlip}})),void 0!==t.rotate){var u=t.rotate;if("number"==typeof u)o.rotate+=u;else if("string"==typeof u){var f=u.replace(/^-?[0-9.]*/,"");if(""===f)u=parseInt(u),isNaN(u)||(o.rotate+=u);else if(f!==u){var d=!1;switch(f){case"%":d=25;break;case"deg":d=90}d&&(u=parseInt(u.slice(0,u.length-f.length)),isNaN(u)||(o.rotate+=Math.round(u/d)))}}}var p,y=[];switch(o.hFlip?o.vFlip?o.rotate+=2:(y.push("translate("+(s.width+s.left)+" "+(0-s.top)+")"),y.push("scale(-1 1)"),s.top=s.left=0):o.vFlip&&(y.push("translate("+(0-s.left)+" "+(s.height+s.top)+")"),y.push("scale(1 -1)"),s.top=s.left=0),o.rotate%4){case 1:p=s.height/2+s.top,y.unshift("rotate(90 "+p+" "+p+")"),0===s.left&&0===s.top||(p=s.left,s.left=s.top,s.top=p),s.width!==s.height&&(p=s.width,s.width=s.height,s.height=p);break;case 2:y.unshift("rotate(180 "+(s.width/2+s.left)+" "+(s.height/2+s.top)+")");break;case 3:p=s.width/2+s.left,y.unshift("rotate(-90 "+p+" "+p+")"),0===s.left&&0===s.top||(p=s.left,s.left=s.top,s.top=p),s.width!==s.height&&(p=s.width,s.width=s.height,s.height=p)}var b,h,m=t.width?t.width:null,g=t.height?t.height:null;null===m&&null===g&&(g="1em"),null!==m&&null!==g?(b=m,h=g):null!==m?(b=m,h=e.calculateDimension(b,s.height/s.width)):(h=g,b=e.calculateDimension(h,s.width/s.height)),!1!==b&&(i.width="auto"===b?s.width:b),!1!==h&&(i.height="auto"===h?s.height:h),c&&0!==a.verticalAlign&&(l["vertical-align"]=a.verticalAlign+"em"),void 0!==t.align&&t.align.toLowerCase().split(/[\s,]+/).forEach((function(e){switch(e){case"left":case"right":case"center":n.horizontal=e;break;case"top":case"bottom":case"middle":n.vertical=e;break;case"crop":n.slice=!0;break;case"meet":n.slice=!1}})),i.preserveAspectRatio=function(e){var t;switch(e.horizontal){case"left":t="xMin";break;case"right":t="xMax";break;default:t="xMid"}switch(e.vertical){case"top":t+="YMin";break;case"bottom":t+="YMax";break;default:t+="YMid"}return t+=e.slice?" slice":" meet"}(n),i.viewBox=s.left+" "+s.top+" "+s.width+" "+s.height;var v=e.replaceIDs(a.body);return void 0!==t.color&&(v=v.replace(/currentColor/g,t.color)),y.length&&(v='<g transform="'+y.join(" ")+'">'+v+"</g>"),!0!==t.box&&"true"!==t.box&&"1"!==t.box||(v+='<rect x="'+s.left+'" y="'+s.top+'" width="'+s.width+'" height="'+s.height+'" fill="rgba(0, 0, 0, 0)" />'),{attributes:i,body:v,style:l}}},{key:"getSVG",value:function(t,a){var n=e.splitAttributes(t),o=this.getAttributes(n.icon),r='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"';return a&&Object.keys(n.node).forEach((function(e){r+=" "+e+'="'+n.node[e]+'"'})),Object.keys(o.attributes).forEach((function(e){r+=" "+e+'="'+o.attributes[e]+'"'})),r+=' style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);',Object.keys(o.style).forEach((function(e){r+=" "+e+": "+o.style[e]+";"})),t&&void 0!==t.style&&(r+=t.style),r+='">',r+=o.body+"</svg>"}}])&&l(t.prototype,a),n&&l(t,n),e}();function p(e,t){if("object"!==r(e.icon))return null;var a=d.splitAttributes(e),n=a.icon,l=a.node;delete l.icon,void 0===n.inline&&(n.inline=t);var i,c,s=new d((i=e.icon,void 0===(c=Object.assign(Object.create(null),f,i)).inlineTop&&(c.inlineTop=c.top),void 0===c.inlineHeight&&(c.inlineHeight=c.height),void 0===c.verticalAlign&&(c.verticalAlign=c.height%7==0&&c.height%8!=0?-.143:-.125),c)).getAttributes(n),u={transform:"rotate(360deg)"};void 0!==s.style["vertical-align"]&&(u.verticalAlign=s.style["vertical-align"]),void 0!==e.style&&(u=Object.assign(u,e.style));var p=Object.assign({xmlns:"http://www.w3.org/2000/svg",focusable:!1,style:u},l,s.attributes);return p.dangerouslySetInnerHTML={__html:s.body},o.default.createElement("svg",p,null)}var y=function(e){return p(e,!1)};t.Icon=y;t.InlineIcon=function(e){return p(e,!0)};var b=y;t.default=b},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return m})),a.d(t,"settings",(function(){return g}));var n=a(0);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,l=r.i18n.__,i=r.element.Fragment,c=r.components,s=c.PanelBody,u=c.ToggleControl,f=r.blockEditor,d=f.InspectorControls,p=f.AlignmentToolbar,y=r.blockEditor,b=y.InnerBlocks,h=y.BlockControls,m="hayyabuild/contentbox",g={title:l("Content Box","hayyabuild"),icon:n.H.iconStyle("analytics"),description:l("The Content Box block is a generic container for flow content. It has no effect on the content or layout until customize it with all options provided by HayyaBuild.","hayyabuild"),category:"hayyabuild",attributes:{container:{type:"boolean",default:!1},textAlign:{type:"string"},align:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},supports:{align:["wide","full"]},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:l("The Content Box block is a generic container for flow content. It has no effect on the content or layout until customize it with all options provided by HayyaBuild.","hayyabuild"),textAlign:"center"}},{name:"hayyabuild/button",attributes:{text:l("Button","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t,a=e.attributes,r=e.setAttributes,c=e.className,f=(e.clientId,e.isSelected,a.container),y=a.textAlign,g=a.align,v=a.id,k=a.classesList,w=a.style;return n.H.blockID(v,m,r),React.createElement(i,null,React.createElement(h,null,React.createElement(p,{title:l("Content Alignment","hayyabuild"),value:y,onChange:function(e){return r({textAlign:e})}})),React.createElement(d,null,React.createElement(s,{title:l("Content Box Settings","hayyabuild")},React.createElement(u,{label:l("Container Box","hayyabuild"),checked:!!f,onChange:function(){r({container:!f})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:v,elementStyle:".".concat(v),value:{classesList:k,inlineStyle:!0},onChange:function(e){return r({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(c,"wp-block-hayyabuild-contentbox",(t={container:f},o(t,"align-"+y,y),o(t,"align-"+g,g),t),{classesList:k},v),style:w},React.createElement(b,{templateLock:!1})))},save:function(e){var t,a=e.attributes,r=(e.className,a.container),l=a.textAlign,i=a.align,c=a.id,s=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses((t={container:r},o(t,"align-"+l,l),o(t,"align-"+i,i),t),{classesList:s},c)},React.createElement(b.Content,null))},deprecated:[{attributes:{container:{type:"boolean",default:!1},align:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},save:function(e){var t=e.attributes,a=(e.className,t.container),r=t.align,l=t.id,i=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses(o({container:a},"align-"+r,r),{classesList:i},l)},React.createElement(b.Content,null))}}]}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return g})),a.d(t,"settings",(function(){return k}));var n=a(0),o=a(13),r=a.n(o);function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var i=wp,c=i.i18n.__,s=i.element.Fragment,u=i.components,f=u.PanelBody,d=u.ToggleControl,p=i.blockEditor,y=p.BlockControls,b=p.InspectorControls,h=p.AlignmentToolbar,m=p.InnerBlocks,g=(i.data.select,"hayyabuild/stickybox"),v="hayyabuild-stickybox",k={title:c("Sticky Box","hayyabuild"),icon:n.H.iconStyle(r.a),description:c("This content box will stick to the screen when you reach scroll position.","hayyabuild"),category:"hayyabuild",attributes:{align:{type:"string"},container:{type:"boolean",default:!1},onlyFixed:{type:"boolean",default:!1},afterHeaderEnd:{type:"boolean",default:!1},showOnScrollup:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},supports:{align:["wide","full"]},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:c("This content box will stick to the screen when you reach scroll position.","hayyabuild"),align:"center"}},{name:"hayyabuild/button",attributes:{text:c("Button","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t,a=e.attributes,o=e.setAttributes,r=e.className,i=e.name,u=a.container,p=a.align,g=a.id,k=a.onlyFixed,w=a.afterHeaderEnd,E=a.showOnScrollup,_=a.classesList,R=a.style;return n.H.blockID(g,i,o),React.createElement(s,null,React.createElement(y,null,React.createElement(h,{value:p,onChange:function(e){return o({align:e})}})),React.createElement(b,null,React.createElement(f,{title:c("Sticky box Settings","hayyabuild")},React.createElement(d,{label:c("Add Container Box","hayyabuild"),checked:!!u,onChange:function(){o({container:!u})}}),React.createElement(d,{label:c("Show Only Sticky","hayyabuild"),checked:!!k,onChange:function(){o({onlyFixed:!k})}}),React.createElement(d,{label:c("Show it After Header Ends","hayyabuild"),checked:!!w,onChange:function(){o({afterHeaderEnd:!w})}}),React.createElement(d,{label:c("Show it when Scroll up","hayyabuild"),checked:!!E,onChange:function(){o({showOnScrollup:!E})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:g,elementStyle:".".concat(g,".stickybox-fixed"),value:{classesList:_,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})}}))),React.createElement("div",{id:g,className:n.H.hayyaClasses(r,(t={},l(t,"".concat(v,"--add-container"),u),l(t,"".concat(v,"--only-fixed"),k),l(t,"".concat(v,"--after-header-end"),w),l(t,"".concat(v,"--show-on-scrollup"),E),l(t,"hb-"+p,p),t),{classesList:_},g,"stickybox-fixed"),style:R},React.createElement("div",{className:"stickybox-container"},React.createElement(m,{templateLock:!1}))))},save:function(e){var t,a=e.attributes,o=a.container,r=a.align,i=a.id,c=a.onlyFixed,s=a.afterHeaderEnd,u=a.showOnScrollup,f=a.classesList;return React.createElement("div",{id:i,className:n.H.hayyaClasses((t={},l(t,"".concat(v,"--add-container"),o),l(t,"".concat(v,"--only-fixed"),c),l(t,"".concat(v,"--after-header-end"),s),l(t,"".concat(v,"--show-on-scrollup"),u),l(t,"hb-"+r,r),t),{classesList:f},i)},React.createElement("div",{className:"stickybox-container"},React.createElement(m.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return f})),a.d(t,"settings",(function(){return d}));var n=a(0),o=wp,r=o.i18n.__,l=o.element.Fragment,i=o.components.PanelBody,c=o.blockEditor.InspectorControls,s=o.blockEditor.InnerBlocks,u=o.data.select,f="hayyabuild/column",d={title:r("Column","hayyabuild"),icon:n.H.iconStyle("columns"),description:r("A single column.","hayyabuild"),parent:["hayyabuild/row"],category:"hayyabuild",attributes:{id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"xx",attribute:"xx"}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,d=e.clientId,p=e.isSelected,y=t.id,b=t.classesList,h=t.style;n.H.blockID(y,f,a);var m=u("core/block-editor").getBlockOrder(d).length>0;return React.createElement(React.Fragment,null,React.createElement(c,null,React.createElement(i,{title:r("Column Settings","hayyabuild")},React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:y,elementStyle:".".concat(y),value:{classesList:b,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(o,{classesList:b},y),style:h},React.createElement(s,{templateLock:!1,renderAppender:p||!m?function(){return React.createElement(s.ButtonBlockAppender,null)}:function(){return React.createElement(l,null)}})))},save:function(e){var t=e.attributes,a=t.id,o=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses({classesList:o},a)},React.createElement(s.Content,null))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return _})),a.d(t,"settings",(function(){return C}));var n=a(16),o=a.n(n),r=a(0),l=a(6);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function c(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var s=wp,u=s.i18n.__,f=s.element.Fragment,d=s.components,p=d.PanelBody,y=d.ToggleControl,b=d.SelectControl,h=d.TextControl,m=d.RangeControl,g=s.blockEditor,v=g.RichText,k=g.BlockControls,w=g.AlignmentToolbar,E=g.InspectorControls,_=l.name,R=l.attributes,x="wp-block-hayyabuild-button",C={title:u("Button","hayyabuild"),description:u("The button block defines a clickable button. Inside a button block you can put content, like text or icon.","hayyabuild"),icon:r.H.iconStyle(o.a),category:"hayyabuild",attributes:R,example:{attributes:{text:"Button",icon:"fa fa-hand-pointer",size:5,style:{background:"#389BFF"}}},edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=(e.className,a.text),l=a.link,i=a.title,s=a.align,d=a.icon,g=a.newTab,R=a.size,C=a.waveEffect,S=a.shadowffect,O=a.effectType,L=a.id,N=a.classesList,H=a.style;return r.H.blockID(L,_,n),React.createElement(f,null,React.createElement(k,null,React.createElement(w,{value:s,onChange:function(e){return n({align:e})}})),React.createElement(E,null,React.createElement(p,{title:u("Button Settings","hayyabuild")},React.createElement(h,{label:u("Button title","hayyabuild"),value:i,onChange:function(e){n({title:e})}}),React.createElement(h,{label:u("Button Link","hayyabuild"),value:l,onChange:function(e){n({link:e})}}),React.createElement(m,{label:u("Button size","hayyabuild"),value:R,onChange:function(e){return n({size:e})},min:1,max:5}),React.createElement(r.H.SelectIcon,{title:u("Icon","hayyabuild"),classPlaceholder:u("Insert icon class","hayyabuild"),fliterPlaceholder:u("Search for icon","hayyabuild"),value:d,onSelect:function(e){return n({icon:e})}}),React.createElement(y,{label:u("Open in new tab","hayyabuild"),checked:!!g,onChange:function(){n({newTab:!g})}}),React.createElement(y,{label:u("Shadow effect","hayyabuild"),checked:!!S,onChange:function(){n({shadowffect:!S})}}),React.createElement(y,{label:u("Wave effect","hayyabuild"),checked:!!C,onChange:function(){n({waveEffect:!C})}}),C&&React.createElement(b,{label:u("Effect color","hayyabuild"),value:O,options:[{label:u("Light","hayyabuild"),Key:"light",value:"light"},{label:u("Red","hayyabuild"),Key:"red",value:"red"},{label:u("Yellow","hayyabuild"),Key:"yellow",value:"yellow"},{label:u("Orange","hayyabuild"),Key:"orange",value:"orange"},{label:u("Purple","hayyabuild"),Key:"purple",value:"purple"},{label:u("Green","hayyabuild"),Key:"green",value:"green"},{label:u("Teal","hayyabuild"),Key:"teal",value:"teal"}],onChange:function(e){n({effectType:e})}}),React.createElement(r.H.BlocksOptions,{optionsTitle:u("HayyaBuild Options","hayyabuild"),styleTitle:u("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:L,elementStyle:".".concat(L," > a"),value:{classesList:N,inlineStyle:!0},onChange:function(e){return n({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:r.H.hayyaClasses(x,c({},"align-"+s,s),{classesList:N},L)},React.createElement("a",{className:r.H.hayyaClasses("".concat(x,"__button"),(t={},c(t,"".concat(x,"__button--size-").concat(R),!0),c(t,"".concat(x,"__button--shadow"),S),c(t,"waves-effect",C),c(t,"waves-".concat(O),C&&O),t)),title:i||o,style:H},React.createElement(v,{tagName:"span",value:o,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough","core/code"],onChange:function(e){return n({text:e})}}),!!d&&React.createElement("i",{className:d}))))},deprecated:[{attributes:R,save:function(e){var t,a=e.attributes,n=a.text,o=a.link,l=a.title,s=a.align,u=a.icon,f=a.newTab,d=a.size,p=a.waveEffect,y=a.shadowffect,b=a.effectType,h=a.id,m=a.classesList;a.className;return React.createElement("div",{className:r.H.hayyaClasses(c({},"align-"+s,s),h)},React.createElement("a",i({href:o,title:l||n,className:r.H.hayyaClasses("".concat(x,"__button"),(t={},c(t,"".concat(x,"__button--size-").concat(d),!0),c(t,"".concat(x,"__button--shadow"),y),c(t,"waves-effect",p),c(t,"waves-".concat(b),p&&b),t),{classesList:m})},f?{target:"_blank",rel:"noopener noreferrer"}:{}),!!n&&React.createElement("span",null,n),!!u&&React.createElement("i",{className:u})))}}],save:function(e){var t,a=e.attributes,n=a.text,o=a.link,l=a.title,s=a.align,u=a.icon,f=a.newTab,d=a.size,p=a.waveEffect,y=a.shadowffect,b=a.effectType,h=a.id,m=a.classesList;a.className;return React.createElement("div",{className:r.H.hayyaClasses(c({},"align-"+s,s),{classesList:m},h)},React.createElement("a",i({href:o,title:l||n,className:r.H.hayyaClasses("".concat(x,"__button"),(t={},c(t,"".concat(x,"__button--size-").concat(d),!0),c(t,"".concat(x,"__button--shadow"),y),c(t,"waves-effect",p),c(t,"waves-".concat(b),p&&b),t))},f?{target:"_blank",rel:"noopener noreferrer"}:{}),!!n&&React.createElement("span",null,n),!!u&&React.createElement("i",{className:u})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return y})),a.d(t,"settings",(function(){return b}));var n=a(0),o=wp,r=o.i18n.__,l=o.data.select,i=o.components,c=(i.Button,i.PanelBody),s=i.ToggleControl,u=i.RangeControl,f=(i.SelectControl,i.TextControl),d=o.blockEditor.InspectorControls,p=o.blockEditor.InnerBlocks,y="hayyabuild/openstreetmap",b={title:r("Map","hayyabuild"),icon:n.H.iconStyle("location-alt"),description:r("With Map block you can include a map on your site that includes unlimited markers dropped at the address of locations.","hayyabuild"),category:"hayyabuild",attributes:{show_content:{type:"boolean",default:!1},min_height:{type:"string",source:"attribute",attribute:"data-height",selector:".wp-block-hayyabuild-openstreetmap",default:"400"},style:{type:"string",source:"attribute",attribute:"data-style",selector:".wp-block-hayyabuild-openstreetmap",default:"style1"},customstyle:{type:"string",source:"attribute",attribute:"data-customstyle",selector:".wp-block-hayyabuild-openstreetmap",default:""},attribution:{type:"string",source:"html",selector:".hayyabuild-map-attribution",default:""},latitude:{type:"string",source:"attribute",attribute:"data-lat",selector:".wp-block-hayyabuild-openstreetmap",default:"00.000000"},longitude:{type:"string",source:"attribute",attribute:"data-lng",selector:".wp-block-hayyabuild-openstreetmap",default:"00.000000"},zoom:{type:"string",source:"attribute",attribute:"data-zoom",selector:".wp-block-hayyabuild-openstreetmap",default:"1"},markerIcon:{type:"string",selector:"icon1"},markers:{type:"string",source:"html",selector:".hayyabuild-map-markers-list"},id:{type:"string"}},supports:{align:["wide","full"]},example:{attributes:{animate:!0,size:2,style:{latitude:"31.924302",longitude:"12.254648",zoom:"5",min_height:"150"}}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,i=e.clientId,b=t.show_content,h=t.min_height,m=t.style,g=t.customstyle,v=t.attribution,k=t.latitude,w=t.longitude,E=t.zoom,_=t.id;n.H.blockID(_,y,a);var R=l("core/block-editor").getBlockOrder(i).length>0;r("Map Tiler","hayyabuild"),r("Style 1","hayyabuild"),r("Style 2","hayyabuild"),r("Style 3","hayyabuild"),r("Style 4","hayyabuild"),r("Style 5","hayyabuild"),r("Style 6","hayyabuild"),r("Custom Style","hayyabuild"),r("Custom Map Tiler","hayyabuild");return React.createElement(React.Fragment,null,React.createElement(d,null,React.createElement(c,{title:r("Content box Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(s,{label:r("Show Content","hayyabuild"),checked:!!b,onChange:function(){a({show_content:!b})}}),!1,React.createElement(f,{label:r("Attribution","hayyabuild"),value:v,onChange:function(e){a({attribution:e})}}),React.createElement(u,{label:r("Map Height","hayyabuild"),value:h,onChange:function(e){return a({min_height:e})},min:200,max:2e3}))),React.createElement("div",{className:n.H.hayyaClasses(o,_),"data-lat":k,"data-lng":w,"data-style":m,"data-customstyle":g,"data-zoom":E,"data-height":h},_&&React.createElement(n.H.OpenStreetMap,{clientId:i,attrs:t,saveButtonTitle:r("Save","hayyabuild"),onChange:function(e){return function(e){var t=e.latitude,n=e.longitude,o=e.zoom,r=e.markers;return!!(t&&n&&o)&&(a({latitude:t,longitude:n,zoom:o,markers:r}),!0)}(e)}}),b&&React.createElement("div",{className:"hayyabuild-map-content"},React.createElement(p,{templateLock:!1,renderAppender:R?void 0:function(){return React.createElement(p.ButtonBlockAppender,null)}}))))},save:function(e){var t=e.attributes,a=e.className,o=t.show_content,r=t.min_height,l=t.style,i=t.customstyle,c=t.attribution,s=t.latitude,u=t.longitude,f=t.zoom,d=t.markers,y=t.id;return React.createElement("div",{className:n.H.hayyaClasses(a,y),"data-lat":s,"data-lng":u,"data-style":l,"data-customstyle":i,"data-zoom":f,"data-height":r},React.createElement("div",{className:"hayyabuild-map"}),c&&React.createElement("div",{className:"hayyabuild-map-attribution",dangerouslySetInnerHTML:{__html:"".concat(c)}}),d&&React.createElement("div",{className:"hayyabuild-map-markers-list",dangerouslySetInnerHTML:{__html:"".concat(d)}}),o&&React.createElement("div",{className:"hayyabuild-map-content"},React.createElement(p.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return v})),a.d(t,"settings",(function(){return k}));var n,o=a(18),r=a.n(o),l=a(0);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var c=wp,s=c.i18n.__,u=c.element.Fragment,f=c.components,d=f.SelectControl,p=f.ToggleControl,y=f.RangeControl,b=f.PanelBody,h=c.blockEditor,m=h.PanelColorSettings,g=h.InspectorControls,v="hayyabuild/spacer",k=(i(n={title:s("Spacer","hayyabuild"),description:s("This will help you to create a flexible spacer.","hayyabuild"),icon:l.H.iconStyle(r.a)},"description",s("Spacer block.","hayyabuild")),i(n,"category","hayyabuild"),i(n,"attributes",{style:{type:"string",default:"center"},ratio:{type:"string",default:""},height:{type:"number",default:"50"},container:{type:"boolean",default:!1},borderSize:{type:"number",default:"0"},borderColor:{type:"string",default:"#DDDDDD"},id:{type:"string",default:""},classesList:{type:"string",default:""}}),i(n,"supports",{align:["wide","full"]}),i(n,"example",{attributes:{borderSize:"1"}}),i(n,"edit",(function(e){var t=e.attributes,a=e.setAttributes,n=e.className,o=t.style,r=t.ratio,i=t.height,c=t.borderSize,f=t.borderColor,h=t.container,k=t.id,w=t.classesList;l.H.blockID(k,v,a);var E=r?{paddingTop:"".concat(r)}:{height:"".concat(i,"px")};return React.createElement(u,null,React.createElement(g,null,React.createElement(b,{title:s("Spacer Settings","hayyabuild")},!r&&React.createElement(y,{label:s("Spacer Height","hayyabuild"),value:i,onChange:function(e){return a({height:e})},min:1,max:1e3}),React.createElement(d,{label:s("Aspect Ratio","hayyabuild"),value:r,help:s("The aspect ratio of the spacer describes the proportional relationship between its width and its height.","hayyabuild"),options:[{label:s("Empty","hayyabuild"),Key:"empty",value:""},{label:"15:1",Key:"6.6%",value:"6.6%"},{label:"14:1",Key:"7.1%",value:"7.1%"},{label:"13:1",Key:"7.7%",value:"7.7%"},{label:"12:1",Key:"8.33%",value:"8.33%"},{label:"11:1",Key:"9%",value:"9%"},{label:"10:1",Key:"10%",value:"10%"},{label:"9:1",Key:"11.11%",value:"11.11%"},{label:"8:1",Key:"12.5%",value:"12.5%"},{label:"7:1",Key:"14.28%",value:"14.28%"},{label:"6:1",Key:"16.66%",value:"16.66%"},{label:"5:1",Key:"20%",value:"20%"}],onChange:function(e){return a({ratio:e})}}),React.createElement(d,{label:s("Spacer Style","hayyabuild"),value:o,options:[{label:s("Empty","hayyabuild"),Key:"empty",value:"empty"},{label:s("Solid","hayyabuild"),Key:"solid",value:"solid"},{label:s("Shadow Center","hayyabuild"),Key:"center",value:"center"},{label:s("Shadow Edges","hayyabuild"),Key:"duble",value:"duble"},{label:s("Shadow Right","hayyabuild"),Key:"right",value:"right"},{label:s("Shadow Left","hayyabuild"),Key:"left",value:"left"}],onChange:function(e){return a({style:e})}}),"empty"!==o&&React.createElement(y,{label:s("Border size","hayyabuild"),value:c,onChange:function(e){return a({borderSize:e})},min:0,max:5}),React.createElement(p,{label:s("Container","hayyabuild"),checked:!!h,onChange:function(){a({container:!h})}}),React.createElement(l.H.BlocksOptions,{optionsTitle:s("HayyaBuild Options","hayyabuild"),styleTitle:s("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:k,elementStyle:".".concat(k),value:{classesList:w,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}),"empty"!==o&&React.createElement(m,{title:s("Color Settings","hayyabuild"),initialOpen:!1,colorSettings:[{value:f,onChange:function(e){return a({borderColor:e})},label:s("Border Color","hayyabuild")}]}))),React.createElement("div",{className:l.H.hayyaClasses(n,"spacer-editor",{classesList:w},k),style:E},"empty"!==o&&React.createElement("div",{className:"hayyabuild-z-depth ".concat(o,"-shadow"),style:{height:"".concat(c,"px"),backgroundColor:f}})))})),i(n,"save",(function(e){var t=e.attributes,a=(e.className,t.style),n=t.ratio,o=t.height,r=t.borderSize,i=t.borderColor,c=t.container,s=t.id,u=t.classesList,f=n?{paddingTop:"".concat(n)}:{height:"".concat(o,"px")};return React.createElement("div",{className:l.H.hayyaClasses({container:c},{classesList:u},s),style:f},"empty"!==a&&React.createElement("div",{className:"hayyabuild-z-depth ".concat(a,"-shadow"),style:{height:"".concat(r,"px"),backgroundColor:i}}))})),i(n,"deprecated",[{attributes:{style:{type:"string",default:"center"},ratio:{type:"string",default:""},height:{type:"number",default:"50"},container:{type:"boolean",default:!1},borderSize:{type:"number",default:"1"},borderColor:{type:"string",default:"#DDDDDD"},id:{type:"string",default:""},classesList:{type:"string",default:""}},save:function(e){var t=e.attributes,a=(e.className,t.style),n=t.ratio,o=t.height,r=t.borderSize,i=t.borderColor,c=t.container,s=t.id,u=t.classesList,f=n?{paddingTop:"".concat(n)}:{height:"".concat(o,"px")};return React.createElement("div",{className:l.H.hayyaClasses({container:c},{classesList:u},s),style:f},"empty"!==a&&React.createElement("div",{className:"hayyabuild-z-depth ".concat(a,"-shadow"),style:{height:"".concat(r,"px"),backgroundColor:i}}))}}]),n)},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return g})),a.d(t,"settings",(function(){return k}));var n=a(0);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,l=r.i18n.__,i=r.element.Fragment,c=r.components,s=c.PanelBody,u=c.ToggleControl,f=c.SelectControl,d=c.RangeControl,p=r.blockEditor,y=p.RichText,b=p.BlockControls,h=p.InspectorControls,m=p.AlignmentToolbar,g="hayyabuild/alert",v="wp-block-hayyabuild-alert",k={title:l("Alert Box","hayyabuild"),icon:n.H.iconStyle("warning"),description:l("Alerts. Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.","hayyabuild"),category:"hayyabuild",attributes:{text:{type:"text",source:"children",selector:".".concat(v,"__body")},dismissible:{type:"boolean",default:!1},rememberDismissible:{type:"boolean",default:!1},icon:{type:"string"},type:{type:"string",default:""},align:{type:"string",default:""},radius:{type:"number",default:"3"},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{text:l("Alerts. Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.","hayyabuild"),icon:"fa fa-info-circle",dismissible:!0,type:"warning"}},edit:function(e){var t,a=e.attributes,r=e.setAttributes,c=(e.className,a.text),p=a.align,k=a.icon,w=a.dismissible,E=a.rememberDismissible,_=a.type,R=a.radius,x=a.id,C=a.classesList;return n.H.blockID(x,g,r),React.createElement(i,null,React.createElement(b,null,React.createElement(m,{value:p,onChange:function(e){r({align:e})}})),React.createElement(h,null,React.createElement(s,{title:l("Button Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(u,{label:l("Dismissible","hayyabuild"),checked:!!w,onChange:function(){r({dismissible:!w})}}),React.createElement(u,{label:l("Don`t show again","hayyabuild"),checked:!!E,onChange:function(){r({rememberDismissible:!E})}}),React.createElement(n.H.SelectIcon,{title:l("Icon","hayyabuild"),classPlaceholder:l("Insert icon class","hayyabuild"),fliterPlaceholder:l("Search for icon","hayyabuild"),value:k,onSelect:function(e){return r({icon:e})}}),React.createElement(f,{value:_,options:[{label:l("Alert style","hayyabuild"),Key:"",value:""},{label:l("primary","hayyabuild"),Key:"primary",value:"primary"},{label:l("Info","hayyabuild"),Key:"info",value:"info"},{label:l("Success","hayyabuild"),Key:"success",value:"success"},{label:l("Warning","hayyabuild"),Key:"warning",value:"warning"},{label:l("Danger","hayyabuild"),Key:"danger",value:"danger"}],onChange:function(e){return r({type:e})}}),React.createElement(d,{label:l("Rounded Corners","hayyabuild"),value:R,onChange:function(e){return r({radius:e})},min:0,max:10}),React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:x,elementStyle:".".concat(x),value:{classesList:C,inlineStyle:!0},onChange:function(e){return r({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses(v,(t={},o(t,"".concat(v,"--remembrt-dismissible"),w&&E),o(t,"".concat(v,"--radius-").concat(R),R),o(t,"".concat(v,"--").concat(_),_),t),{classesList:C},x)},k&&React.createElement("i",{className:"".concat(v,"__icon ").concat(k)}),React.createElement(y,{tagName:"div",className:n.H.hayyaClasses("".concat(v,"__body"),o({},"align-".concat(p),p)),value:c,placeholder:l("Add text here!","hayyabuild"),onChange:function(e){return r({text:e})},allowedFormats:["core/bold","core/italic","core/image","core/strikethrough","core/link","core/code"]}),w&&React.createElement("a",{id:"".concat(x,"__close"),href:"#",className:"".concat(v,"__close")},"⨯")))},deprecated:[{attributes:{text:{type:"text",source:"children",selector:".".concat(v,"__body")},dismissible:{type:"boolean",default:!1},rememberDismissible:{type:"boolean",default:!1},icon:{type:"string"},type:{type:"string",default:""},align:{type:"string",default:""},radius:{type:"number",default:"3"},id:{type:"string"},classesList:{type:"string",default:""}},save:function(e){var t,a=e.attributes,r=a.text,l=a.align,i=a.icon,c=a.dismissible,s=a.rememberDismissible,u=a.type,f=a.radius,d=a.id,p=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses((t={},o(t,"".concat(v,"--remembrt-dismissible"),c&&s),o(t,"".concat(v,"--radius-").concat(f),f),o(t,"".concat(v,"--").concat(u),u),t),{classesList:p},d)},i&&React.createElement("i",{className:"".concat(v,"__icon ").concat(i)}),React.createElement(y.Content,{tagName:"div",value:r,className:n.H.hayyaClasses("".concat(v,"__body"),o({},"align-".concat(l),l))}),c&&React.createElement("a",{id:"".concat(d,"__close"),href:"#",className:"".concat(v,"__close")}," "))}}],save:function(e){var t,a=e.attributes,r=a.text,l=a.align,i=a.icon,c=a.dismissible,s=a.rememberDismissible,u=a.type,f=a.radius,d=a.id,p=a.classesList;return React.createElement("div",{id:d,className:n.H.hayyaClasses((t={},o(t,"".concat(v,"--remembrt-dismissible"),c&&s),o(t,"".concat(v,"--radius-").concat(f),f),o(t,"".concat(v,"--").concat(u),u),t),{classesList:p},d)},i&&React.createElement("i",{className:"".concat(v,"__icon ").concat(i)}),React.createElement(y.Content,{tagName:"div",value:r,className:n.H.hayyaClasses("".concat(v,"__body"),o({},"align-".concat(l),l))}),c&&React.createElement("a",{id:"".concat(d,"__close"),href:"#",className:"".concat(v,"__close")}," "))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return m})),a.d(t,"settings",(function(){return g}));var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=wp,l=r.i18n.__,i=r.element.Fragment,c=r.components,s=c.PanelBody,u=c.ServerSideRender,f=c.ToggleControl,d=c.SelectControl,p=r.blockEditor,y=p.BlockControls,b=p.AlignmentToolbar,h=p.InspectorControls,m="hayyabuild/menu",g={title:l("Menu","hayyabuild"),icon:n.H.iconStyle("welcome-widgets-menus"),description:l("You can use this menu block in headers as the main menu with many options.","hayyabuild"),category:"hayyabuild",attributes:{menu:{type:"string",default:""},menuIcon:{type:"string",default:""},align:{type:"string",default:""},editor:{type:"boolean",default:!1},container:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{html:!1},example:{attributes:{menuIcon:""}},edit:function(e){var t=e.attributes,a=e.setAttributes,r=(e.className,e.name),c=t.menu,p=t.menuIcon,m=t.align,g=t.container,v=t.id,k=t.classesList;n.H.blockID(v,r,a);var w=[{label:l("Select Menu","hayyabuild"),key:"",value:""}];return"object"===("undefined"==typeof hayyabuild_menu_list?"undefined":o(hayyabuild_menu_list))&&"function"==typeof hayyabuild_menu_list.map&&hayyabuild_menu_list.map((function(e){w.push({label:e.name,key:e.slug,value:e.slug})})),React.createElement(i,null,React.createElement(y,null,React.createElement(b,{value:m,onChange:function(e){return a({align:e})}})),React.createElement(h,null,React.createElement(s,{title:l("Menu Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(d,{label:l("Select Menu","hayyabuild"),value:c,options:w,onChange:function(e){return a({menu:e})}}),React.createElement(f,{label:l("Container","hayyabuild"),checked:!!g,onChange:function(){a({container:!g})}}),React.createElement(n.H.SelectIcon,{title:l("Menu Icon","hayyabuild"),classPlaceholder:l("Insert icon class","hayyabuild"),fliterPlaceholder:l("Search for icon","hayyabuild"),value:p,onSelect:function(e){return a({menuIcon:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:v,elementStyle:".".concat(v),value:{classesList:k,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement(u,{block:"hayyabuild/menu",attributes:{menu:c,menuIcon:p,align:m,id:v,container:g,editor:!0,classesList:k}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return v})),a.d(t,"settings",(function(){return k}));var n=a(0),o=a(20),r=a.n(o);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=wp,c=i.i18n.__,s=i.element.Fragment,u=i.components,f=u.PanelBody,d=u.ServerSideRender,p=u.ToggleControl,y=u.SelectControl,b=i.blockEditor,h=b.BlockControls,m=b.AlignmentToolbar,g=b.InspectorControls,v="hayyabuild/smenu",k={title:c("Simple Menu","hayyabuild"),description:c("With Simple Menu block you can add menus to any place.","hayyabuild"),icon:n.H.iconStyle(r.a),category:"hayyabuild",attributes:{menu:{type:"string",default:""},align:{type:"string",default:""},vertical:{type:"boolean",default:!1},editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{html:!1},example:{attributes:{vertical:!0}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),r=t.menu,i=t.align,u=t.vertical,b=t.id,v=t.classesList;n.H.blockID(b,o,a);var k=[{label:c("Select Menu","hayyabuild"),key:"",value:""}];return"object"===("undefined"==typeof hayyabuild_menu_list?"undefined":l(hayyabuild_menu_list))&&"function"==typeof hayyabuild_menu_list.map&&hayyabuild_menu_list.map((function(e){k.push({label:e.name,key:e.slug,value:e.slug})})),React.createElement(s,null,React.createElement(h,null,React.createElement(m,{value:i,onChange:function(e){return a({align:e})}})),React.createElement(g,null,React.createElement(f,{title:c("Menu Settings","hayyabuild")},React.createElement(y,{label:c("Select Menu","hayyabuild"),value:r,options:k,onChange:function(e){return a({menu:e})}}),React.createElement(p,{label:c("Vertical","hayyabuild"),checked:!!u,onChange:function(){a({vertical:!u})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:c("HayyaBuild Options","hayyabuild"),styleTitle:c("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:b,elementStyle:".".concat(b," ul li"),value:{classesList:v,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement(d,{block:"hayyabuild/smenu",attributes:{menu:r,align:i,id:b,vertical:u,editor:!0,classesList:v}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return f})),a.d(t,"settings",(function(){return d}));var n=a(0),o=wp,r=o.i18n.__,l=o.element.Fragment,i=o.components,c=i.PanelBody,s=i.TextControl,u=o.blockEditor.InspectorControls,f=(o.serverSideRender,"hayyabuild/breadcrumb"),d={title:r("Breadcrumb Menu","hayyabuild"),description:r("A breadcrumb or breadcrumb trail is a graphical control element frequently used as a navigational aid in user interfaces and on web pages. It allows users to keep track and maintain awareness of their locations within websites.","hayyabuild"),icon:n.H.iconStyle("rest-api","orange"),category:"hayyabuild",attributes:{home_title:{type:"string",default:r("Home","hayyabuild")},home_icon:{type:"string",default:"fa fa-home"},separator:{type:"string",default:"fa fa-angle-double-right"},editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{html:!1},example:{attributes:{home_title:"",home_icon:"fa fa-home"}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),i=t.home_title,f=t.home_icon,d=t.separator,p=t.id,y=t.classesList;return n.H.blockID(p,o,a),React.createElement(l,null,React.createElement(u,null,React.createElement(c,{title:r("Breadcrumb Menu Settings","hayyabuild")},React.createElement(s,{label:r("Home Title","hayyabuild"),value:i,onChange:function(e){return a({home_title:e})}}),!i&&React.createElement(n.H.SelectIcon,{title:r("Home Icon","hayyabuild"),classPlaceholder:r("Insert icon class","hayyabuild"),fliterPlaceholder:r("Search for icon","hayyabuild"),value:f,onSelect:function(e){return a({home_icon:e})}}),React.createElement(n.H.SelectIcon,{title:r("Separator Icon","hayyabuild"),classPlaceholder:r("Insert icon class","hayyabuild"),fliterPlaceholder:r("Search for icon","hayyabuild"),value:d,onSelect:function(e){return a({separator:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),elementID:p,elementStyle:".".concat(p),value:{classesList:y,inlineStyle:!0},icon:"fa fa-cogs",onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("serverSideRender",{block:"hayyabuild/breadcrumb",attributes:{home_title:i,home_icon:f,separator:d,id:p,editor:!0,classesList:y}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return m}));var n=a(0),o=a(21),r=a.n(o),l=wp,i=l.i18n.__,c=l.element.Fragment,s=l.components,u=s.PanelBody,f=s.ServerSideRender,d=s.ToggleControl,p=(s.TextControl,s.SelectControl),y=l.blockEditor,b=(y.AlignmentToolbar,y.InspectorControls),h="hayyabuild/search",m={title:i("Search Box","hayyabuild"),description:i("It`s a search input which enables the visitors to find words, sentences, and numbers in a pages and posts.","hayyabuild"),icon:n.H.iconStyle(r.a,"brown"),category:"hayyabuild",attributes:{theme:{type:"string",default:""},expand:{type:"boolean",default:!1},right:{type:"boolean",default:!1},editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{theme:"hb_transparent"}},supports:{html:!1},edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),r=t.theme,l=t.expand,s=t.right,y=t.id,h=t.classesList;return n.H.blockID(y,o,a),React.createElement(c,null,React.createElement(b,null,React.createElement(u,{title:i("Breadcrumb Menu Settings","hayyabuild")},React.createElement(p,{label:i("Select Theme","hayyabuild"),value:r,options:[{label:i("Select Theme","hayyabuild"),key:"",value:""},{label:i("Light","hayyabuild"),key:"hb_light",value:"hb_light"},{label:i("Dark","hayyabuild"),key:"hb_dark",value:"hb_dark"},{label:i("Transparent","hayyabuild"),key:"hb_transparent",value:"hb_transparent"}],onChange:function(e){return a({theme:e})}}),React.createElement(d,{label:i("Expand on Hover","hayyabuild"),checked:!!l,onChange:function(){a({expand:!l})}}),React.createElement(d,{label:i("Right Align","hayyabuild"),checked:!!s,onChange:function(){a({right:!s})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:i("HayyaBuild Options","hayyabuild"),styleTitle:i("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:y,elementStyle:".".concat(y),value:{classesList:h,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement(f,{block:"hayyabuild/search",attributes:{theme:r,expand:l,right:s,id:y,editor:!0,classesList:h}}))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return l})),a.d(t,"settings",(function(){return i}));var n=a(0),o=wp,r=o.i18n.__,l=(o.element.Fragment,o.components.ServerSideRender,o.blockEditor.InspectorControls,"hayyabuild/pagecontent"),i={title:r("Page content","hayyabuild"),icon:n.H.iconStyle("media-document"),description:r("When building any page with HayyaBuild you can add the original content of the page to any place that you want.","hayyabuild"),category:"hayyabuild",attributes:{editor:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,i=t.id;t.classesList;return n.H.blockID(i,l,a),React.createElement("div",{className:n.H.hayyaClasses(o)},React.createElement("h3",{style:{textAlign:"center"}},r("Page Content","hayyabuild"),React.createElement("br",null),React.createElement("i",{className:"fa fa-file-contract"})))},save:function(){return null}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return p})),a.d(t,"settings",(function(){return y}));var n=a(0);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,l=r.i18n.__,i=r.element.Fragment,c=r.components.PanelBody,s=r.blockEditor,u=s.InspectorControls,f=s.AlignmentToolbar,d=r.blockEditor.InnerBlocks,p="hayyabuild/doublesidedboxsides",y={title:l("Sides","hayyabuild"),icon:n.H.iconStyle("update"),category:"hayyabuild",attributes:{side:{type:"string",default:"front"},align:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/doublesidedbox"],edit:function(e){var t=e.attributes,a=e.setAttributes,r=(e.className,t.side),s=t.align,y=t.id,b=t.classesList;n.H.blockID(y,p,a);var h="front"===r?"hayyabuild-doublesidedbox__front":"hayyabuild-doublesidedbox__back";return React.createElement(i,null,React.createElement(u,null,React.createElement(c,{title:l("Sides Settings","hayyabuild")},React.createElement(f,{title:l("Content Alignment","hayyabuild"),value:s,onChange:function(e){return a({align:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:y,elementStyle:".".concat(y),value:{classesList:b,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-doublesidedboxsides",h,o({},"align-"+s,s),{classesList:b},y)},React.createElement(d,{templateLock:!1})))},save:function(e){var t=e.attributes,a=(e.className,t.side),r=t.align,l=t.id,i=t.classesList,c="front"===a?"hayyabuild-doublesidedbox__front":"hayyabuild-doublesidedbox__back";return React.createElement("div",{className:n.H.hayyaClasses(c,o({},"align-"+r,r),{classesList:i},l)},React.createElement(d.Content,null))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return E})),a.d(t,"settings",(function(){return R}));var n=a(0),o=(a(57),a(24)),r=a.n(o),l=a(3),i=a(4),c=a(7);function s(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var u=wp,f=u.i18n.__,d=u.element.Fragment,p=u.components,y=p.PanelBody,b=p.ToggleControl,h=p.TextControl,m=p.RangeControl,g=u.blockEditor,v=g.BlockControls,k=g.AlignmentToolbar,w=g.InspectorControls,E=c.name,_=c.attributes,R={title:f("Social Media Menu","hayyabuild"),description:f("Easily create beautiful social media menu.","hayyabuild"),icon:n.H.iconStyle(r.a,"green"),keywords:[f("social media","hayyabuild")],attributes:_,category:"hayyabuild",supports:{html:!1},example:{attributes:{shadow:!0,style:{padding:"0 10px",background:"rgba(0,130,190,0.6)",border:"1px solid rgba(0,130,190,0.7)",borderRadius:"3px",margin:"5px",size:"15"}}},edit:function(e){var t,a=e.attributes,o=e.setAttributes,r=e.className,c=e.name,u=a.align,p=a.size,g=a.shadow,E=a.id,_=a.classesList,R=a.style,x=a.facebook,C=a.twitter,S=a.linkedin,O=a.youtube,L=a.vimeo,N=a.instagram,H=a.pinterest,T=a.flickr,I=a.github,B=a.vk,P=a.tumblr;n.H.blockID(E,c,o),x||C||S||O||L||N||H||T||I||B||P||(x=C=O=N=S=I="#");f("LinkedIn","hayyabuild"),f("Pinterest","hayyabuild"),f("Vimeo","vimeo"),f("Flickr","hayyabuild"),f("Tumblr","hayyabuild"),f("vk","hayyabuild");return React.createElement(d,null,React.createElement(v,null,React.createElement(k,{value:u,onChange:function(e){return o({align:e})}})),React.createElement(w,null,React.createElement(y,{title:f("Social Menu Settings","hayyabuild")},React.createElement(m,{label:f("Icons size","hayyabuild"),value:p,onChange:function(e){return o({size:e})},min:1,max:20}),React.createElement(b,{label:f("Shadow","hayyabuild"),checked:!!g,onChange:function(){o({shadow:!g})}}),React.createElement(l.a,{title:f("Edit Social Menu","hayyabuild"),iconClass:"fa fa-users",appendTo:"editor"},React.createElement(i.a,{color:"#555",bgColor:"#FFF"},React.createElement(i.a.Item,{active:!0,title:f("SocialMedia links","hayyabuild"),iconClass:"fa fa-group",className:"hayyabuild-social-links"},React.createElement(n.H.getPro,null),React.createElement("div",null,React.createElement("i",{className:"fab fa-facebook"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Facebook","hayyabuild"),value:x,onChange:function(e){return o({facebook:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-twitter"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Twitter","hayyabuild"),value:C,onChange:function(e){return o({twitter:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-instagram"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Instagram","hayyabuild"),value:N,onChange:function(e){return o({instagram:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-youtube"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Youtube","hayyabuild"),value:O,onChange:function(e){return o({youtube:e})}})),React.createElement("div",null,React.createElement("i",{className:"fab fa-github"}),React.createElement(h,{className:"hayyabuild-social-text",placeholder:f("Github","hayyabuild"),value:I,onChange:function(e){return o({github:e})}})),!1))),React.createElement(n.H.BlocksOptions,{optionsTitle:f("HayyaBuild Options","hayyabuild"),styleTitle:f("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:E,elementStyle:".".concat(E," a.hayyabuild-social"),value:{classesList:_,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(r,(t={"hb-shadow":g},s(t,"hb-"+u,u),s(t,"size-"+p,!0),t),{classesList:_},E)},!!x&&React.createElement("a",{className:"hayyabuild-social facebook",href:x,style:R},React.createElement("i",{className:"fab fa-facebook"})),!!C&&React.createElement("a",{className:"hayyabuild-social twitter",href:C,style:R},React.createElement("i",{className:"fab fa-twitter"})),!!N&&React.createElement("a",{className:"hayyabuild-social instagram",href:N,style:R},React.createElement("i",{className:"fab fa-instagram"})),!!O&&React.createElement("a",{className:"hayyabuild-social youtube",href:O,style:R},React.createElement("i",{className:"fab fa-youtube"})),!!I&&React.createElement("a",{className:"hayyabuild-social github",href:I,style:R},React.createElement("i",{className:"fab fa-github"})),!!S&&React.createElement("a",{className:"hayyabuild-social linkedin",href:S,style:R},React.createElement("i",{className:"fab fa-linkedin"})),!!H&&React.createElement("a",{className:"hayyabuild-social pinterest",href:H,style:R},React.createElement("i",{className:"fab fa-pinterest"})),!!L&&React.createElement("a",{className:"hayyabuild-social vimeo",href:L,style:R},React.createElement("i",{className:"fab fa-vimeo"})),!!T&&React.createElement("a",{className:"hayyabuild-social flickr",href:T,style:R},React.createElement("i",{className:"fab fa-flickr"})),!!P&&React.createElement("a",{className:"hayyabuild-social tumblr",href:P,style:R},React.createElement("i",{className:"fab fa-tumblr"})),!!B&&React.createElement("a",{className:"hayyabuild-social vk",href:B,style:R},React.createElement("i",{className:"fab fa-vk"}))))},save:function(e){var t,a=e.attributes,o=(e.className,a.id),r=a.align,l=a.size,i=a.shadow,c=a.classesList,u=a.facebook,f=a.twitter,d=a.linkedin,p=a.youtube,y=a.vimeo,b=a.instagram,h=a.pinterest,m=a.flickr,g=a.github,v=a.vk,k=a.tumblr;return u||f||d||p||y||b||h||m||g||v||k||(u=f=p=b=d=g="#"),React.createElement("div",{className:n.H.hayyaClasses((t={"hb-shadow":i},s(t,"hb-"+r,r),s(t,"size-"+l,!0),t),{classesList:c},o)},!!u&&React.createElement("a",{className:"hayyabuild-social facebook",href:u},React.createElement("i",{className:"fab fa-facebook"})),!!f&&React.createElement("a",{className:"hayyabuild-social twitter",href:f},React.createElement("i",{className:"fab fa-twitter"})),!!b&&React.createElement("a",{className:"hayyabuild-social instagram",href:b},React.createElement("i",{className:"fab fa-instagram"})),!!p&&React.createElement("a",{className:"hayyabuild-social youtube",href:p},React.createElement("i",{className:"fab fa-youtube"})),!!g&&React.createElement("a",{className:"hayyabuild-social github",href:g},React.createElement("i",{className:"fab fa-github"})),!!d&&React.createElement("a",{className:"hayyabuild-social linkedin",href:d},React.createElement("i",{className:"fab fa-linkedin"})),!!h&&React.createElement("a",{className:"hayyabuild-social pinterest",href:h},React.createElement("i",{className:"fab fa-pinterest"})),!!y&&React.createElement("a",{className:"hayyabuild-social vimeo",href:y},React.createElement("i",{className:"fab fa-vimeo"})),!!m&&React.createElement("a",{className:"hayyabuild-social flickr",href:m},React.createElement("i",{className:"fab fa-flickr"})),!!k&&React.createElement("a",{className:"hayyabuild-social tumblr",href:k},React.createElement("i",{className:"fab fa-tumblr"})),!!v&&React.createElement("a",{className:"hayyabuild-social vk",href:v},React.createElement("i",{className:"fab fa-vk"})))}}},function(e,t,a){var n=a(1),o=a(58);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1},l=(n(o,r),o.locals?o.locals:{});e.exports=l},function(e,t,a){(t=a(2)(!1)).push([e.i,".hayyabuild-social-links{padding:20px}.hayyabuild-social-links .fab{position:relative;text-align:center;display:inline-block;width:30px;height:30px;line-height:30px;font-size:20px;color:#FFF;border-radius:3px;top:2px;margin:0 5px}.hayyabuild-social-links .fab.fa-facebook{background:#3b5998}.hayyabuild-social-links .fab.fa-twitter{background:#00aced}.hayyabuild-social-links .fab.fa-instagram{background:#125688}.hayyabuild-social-links .fab.fa-youtube{background:#bb0000}.hayyabuild-social-links .fab.fa-github{background:#000000}.hayyabuild-social-links .fab.fa-linkedin{background:#007bb5}.hayyabuild-social-links .fab.fa-pinterest{background:#cb2027}.hayyabuild-social-links .fab.fa-vimeo{background:#aad450}.hayyabuild-social-links .fab.fa-flickr{background:#ff0084}.hayyabuild-social-links .fab.fa-tumblr{background:#32506d}.hayyabuild-social-links .fab.fa-vk{background:#4680c2}.hayyabuild-social-links .hayyabuild-social-text{display:inline-block;width:50%}\n",""]),e.exports=t},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return m}));var n=a(0);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,l=r.i18n.__,i=r.element.Fragment,c=r.components,s=c.PanelBody,u=c.ToggleControl,f=c.RangeControl,d=r.blockEditor,p=d.BlockControls,y=d.AlignmentToolbar,b=d.InspectorControls,h="hayyabuild/godown",m={title:l("Go Down Link","hayyabuild"),icon:n.H.iconStyle("arrow-down-alt2"),description:l("Add go down link to header.","hayyabuild"),category:"hayyabuild",attributes:{icon:{type:"string",default:"fa fa-angle-double-down"},size:{type:"number",default:3},animate:{type:"boolean",default:!1},align:{type:"string",default:"center"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"xx",attribute:"style"}},example:{attributes:{animate:!0,size:2,style:{padding:"30px 30px",background:"rgba(0,0,0,0.3)",borderRadius:"5px",color:"#FFFFFF"}}},edit:function(e){var t,a=e.attributes,r=e.setAttributes,c=e.className,d=a.icon,m=a.size,g=a.animate,v=a.align,k=a.id,w=a.classesList,E=a.style;return n.H.blockID(k,h,r),React.createElement(i,null,React.createElement(p,null,React.createElement(y,{value:v,onChange:function(e){return r({align:e})}})),React.createElement(b,null,React.createElement(s,{title:l("Button Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(n.H.SelectIcon,{title:l("Icon","hayyabuild"),classPlaceholder:l("Insert icon class","hayyabuild"),fliterPlaceholder:l("Search for icon","hayyabuild"),value:d,onSelect:function(e){return r({icon:e})}}),React.createElement(f,{label:l("Size","hayyabuild"),value:m,onChange:function(e){return r({size:e})},min:1,max:5}),React.createElement(u,{label:l("Animate","hayyabuild"),checked:!!g,onChange:function(){r({animate:!g})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:k,elementStyle:".".concat(k," > a"),value:{classesList:w,inlineStyle:!0},onChange:function(e){return r({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(c,"hb-".concat(v),{classesList:w},k)},React.createElement("a",{href:"#",className:n.H.hayyaClasses({"animate-godown":!!g}),style:E},React.createElement("i",{className:n.H.hayyaClasses((t={"fa fa-angle-double-down":!d},o(t,d,d),o(t,"godown-size-".concat(m),m),t))}))))},save:function(e){var t,a=e.attributes,r=a.icon,l=a.size,i=a.animate,c=a.align,s=a.id,u=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("hb-".concat(c),{classesList:u},s)},React.createElement("a",{href:"#hayyabuild-after-header",className:n.H.hayyaClasses({"animate-godown":!!i})},React.createElement("i",{className:n.H.hayyaClasses((t={"fa fa-angle-double-down":!r},o(t,r,r),o(t,"godown-size-".concat(l),l),t))})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return m}));var n=a(0);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,l=r.i18n.__,i=r.element.Fragment,c=r.components,s=c.PanelBody,u=c.ToggleControl,f=c.RangeControl,d=r.blockEditor,p=d.BlockControls,y=d.AlignmentToolbar,b=d.InspectorControls,h="hayyabuild/goup",m={title:l("Go Up Link","hayyabuild"),icon:n.H.iconStyle("arrow-up-alt2"),description:l("Add go up link to footer.","hayyabuild"),category:"hayyabuild",attributes:{icon:{type:"string",default:"fa fa-angle-double-up"},size:{type:"number",default:3},animate:{type:"boolean",default:!1},align:{type:"string",default:"right"},container:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},example:{attributes:{animate:!0,size:2,style:{padding:"30px 30px",background:"rgba(0,0,0,0.3)",borderRadius:"5px",color:"#FFFFFF",align:"center"}}},edit:function(e){var t,a=e.attributes,r=e.setAttributes,c=e.className,d=a.icon,m=a.size,g=a.animate,v=a.align,k=a.container,w=a.id,E=a.classesList,_=a.style;return n.H.blockID(w,h,r),React.createElement(i,null,React.createElement(p,null,React.createElement(y,{value:v,onChange:function(e){return r({align:e})}})),React.createElement(b,null,React.createElement(s,{title:l("Button Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(n.H.SelectIcon,{title:l("Icon","hayyabuild"),classPlaceholder:l("Insert icon class","hayyabuild"),fliterPlaceholder:l("Search for icon","hayyabuild"),value:d,onSelect:function(e){return r({icon:e})}}),React.createElement(f,{label:l("Size","hayyabuild"),value:m,onChange:function(e){return r({size:e})},min:1,max:5}),React.createElement(u,{label:l("Animate","hayyabuild"),checked:!!g,onChange:function(){r({animate:!g})}}),React.createElement(u,{label:l("Add Container","hayyabuild"),checked:!!k,onChange:function(){r({container:!k})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:w,elementStyle:".".concat(w," > a"),value:{classesList:E,inlineStyle:!0},onChange:function(e){return r({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(c,"hb-".concat(v),{container:k},{classesList:E},w)},React.createElement("a",{href:"",className:n.H.hayyaClasses({"animate-goup":!!g}),style:_},React.createElement("i",{className:n.H.hayyaClasses((t={"fa fa-angle-double-up":!d},o(t,d,d),o(t,"goup-size-".concat(m),m),t))}))))},save:function(e){var t,a=e.attributes,r=a.icon,l=a.size,i=a.animate,c=a.align,s=a.container,u=a.id,f=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("hb-".concat(c),{container:s},{classesList:f},u)},React.createElement("a",{href:"#hayyabuild-header",className:n.H.hayyaClasses({"animate-goup":!!i})},React.createElement("i",{className:n.H.hayyaClasses((t={"fa fa-angle-double-up":!r},o(t,r,r),o(t,"goup-size-".concat(l),l),t))})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return y})),a.d(t,"settings",(function(){return m}));var n=a(0),o=wp,r=o.i18n.__,l=o.element.Fragment,i=o.components,c=i.PanelBody,s=i.ToggleControl,u=i.SelectControl,f=i.RangeControl,d=o.blockEditor.InspectorControls,p=o.blockEditor.InnerBlocks,y="hayyabuild/modalbox",b=r("The Modal Box block is a dialog box/popup window that is displayed on top of the current page. Use a modal for dialog boxes, confirmation messages, or other content that can be called up.","hayyabuild"),h="hayyabuild-modalbox",m={title:r("Modal Box (Popup)","hayyabuild"),icon:n.H.iconStyle("editor-expand"),description:b,category:"hayyabuild",attributes:{close:{type:"boolean",source:"attribute",selector:".hayyabuild-modalbox__body__close",attribute:"class",default:!0},delay:{type:"string",source:"attribute",selector:".wp-block-hayyabuild-modalbox",attribute:"data-delay",default:"5"},remember:{type:"string",source:"attribute",selector:".wp-block-hayyabuild-modalbox",attribute:"data-remember",default:"1"},size:{type:"string",source:"attribute",selector:".wp-block-hayyabuild-modalbox",attribute:"data-size",default:"medium"},id:{type:"string"},classesList:{type:"string",default:""},style:{type:"object",source:"attribute",selector:"empty",attribute:"style"}},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:b,align:"center"}},{name:"hayyabuild/button",attributes:{text:r("Close","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,i=t.close,b=t.delay,m=t.remember,g=t.size,v=t.id,k=t.classesList,w=t.style;return n.H.blockID(v,y,a),React.createElement(l,null,React.createElement(d,null,React.createElement(c,{title:r("Modal Box Settings","hayyabuild")},React.createElement(u,{label:r("Modal Size","hayyabuild"),value:g,options:[{label:r("Full Width","hayyabuild"),Key:"full",value:"full"},{label:r("Medium Size","hayyabuild"),Key:"medium",value:"medium"},{label:r("Small Size","hayyabuild"),Key:"small",value:"small"}],onChange:function(e){a({size:e})}}),React.createElement(s,{label:r("Show Close Button","hayyabuild"),help:r('You can add any button or link inside the modal with "hayyabuild-modalbox__close" class to close the modal.',"hayyabuild"),checked:!!i,onChange:function(){a({close:!i})}}),React.createElement(f,{label:r("Delay (seconds)","hayyabuild"),value:b,onChange:function(e){return a({delay:e})},min:1,max:60}),React.createElement(f,{label:r("Days","hayyabuild"),help:r("Show once per number of days","hayyabuild"),value:m,onChange:function(e){return a({remember:e})},min:0,max:30}),React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:v,elementStyle:"#".concat(v," .").concat(h,"__body"),value:{classesList:k,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{id:v,className:n.H.hayyaClasses(o,{classesList:k}),style:w},React.createElement("div",{className:"".concat(h,"__body")},React.createElement("div",{className:"".concat(h,"__body__content")},React.createElement(p,{templateLock:!1})))))},save:function(e){var t=e.attributes,a=(e.className,t.close),o=t.delay,r=t.remember,l=t.size,i=t.id,c=t.classesList;return React.createElement("div",{id:i,className:n.H.hayyaClasses({classesList:c}),"data-delay":o,"data-remember":r,"data-size":l},React.createElement("div",{className:"".concat(h,"__body")},React.createElement("div",{className:"".concat(h,"__body__content")},React.createElement(p.Content,null)),a&&React.createElement("div",{class:"".concat(h,"__body__close ").concat(h,"__close")})))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return m})),a.d(t,"settings",(function(){return g}));var n=a(0);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var r=wp,l=r.i18n.__,i=r.components,c=i.PanelBody,s=i.ToggleControl,u=r.element.Fragment,f=r.blockEditor,d=f.BlockControls,p=f.AlignmentToolbar,y=f.InspectorControls,b=f.InnerBlocks,h=[["hayyabuild/featureslistitem",{}],["hayyabuild/featureslistitem",{}],["hayyabuild/featureslistitem",{}]],m="hayyabuild/featureslist",g={title:l("Features List","hayyabuild"),description:l("Features List block are an advanced list to clarify the features of your products/services.","hayyabuild"),icon:n.H.iconStyle("yes"),category:"hayyabuild",attributes:{align:{type:"string",default:""},showline:{type:"boolean",default:!0},id:{type:"string"},classesList:{type:"string",default:""}},example:{innerBlocks:[{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:l("Features Line 1.","hayyabuild")}}]},{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:l("Features Line 2.","hayyabuild")}}]},{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:l("Features Line 3.","hayyabuild")}}]},{name:"hayyabuild/featureslistitem",attributes:{customFontSize:25},innerBlocks:[{name:"hayyabuild/button",attributes:{text:l("You can add any block","hayyabuild"),icon:"fa fa-home",size:3,align:"left",style:{background:"#6BAFFF"}}}]}]},edit:function(e){var t=e.attributes,a=e.setAttributes,r=(e.className,e.name),i=t.align,f=t.showline,m=t.id,g=t.classesList;return n.H.blockID(m,r,a),React.createElement(u,null,React.createElement(d,null,React.createElement(p,{value:i,onChange:function(e){return a({align:e})}})),React.createElement(y,null,React.createElement(c,{title:l("Features List Settings","hayyabuild")},React.createElement(s,{label:l("Show Icons Line","hayyabuild"),checked:!!f,onChange:function(){a({showline:!f})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:l("HayyaBuild Options","hayyabuild"),styleTitle:l("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:m,elementStyle:".".concat(m),value:{classesList:g,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-featureslist",o({"hayyabuild-featureslist--showline":!!f},"hayyabuild-featureslist--".concat(i),!!i),{classesList:g},m)},React.createElement(b,{allowedBlocks:["hayyabuild/featureslistitem"],template:h,templateLock:!1})))},save:function(e){var t=e.attributes,a=t.align,r=t.showline,l=t.id,i=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses(o({"hayyabuild-featureslist--showline":!!r},"hayyabuild-featureslist--".concat(a),!!a),{classesList:i},l)},React.createElement(b.Content,null))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return f})),a.d(t,"settings",(function(){return d}));var n=a(0),o=wp,r=o.i18n.__,l=o.components.PanelBody,i=o.element.Fragment,c=o.blockEditor,s=c.InspectorControls,u=c.InnerBlocks,f="hayyabuild/featureslistitem",d={title:r("Features Item","hayyabuild"),icon:n.H.iconStyle("yes"),category:"hayyabuild",attributes:{icon:{type:"string",default:"fa fa-check-double"},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/featureslist"],edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),c=t.icon,f=t.id,d=t.classesList;return n.H.blockID(f,o,a),React.createElement(i,null,React.createElement(s,null,React.createElement(l,{title:r("Features Item Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(n.H.SelectIcon,{title:r("Icon","hayyabuild"),classPlaceholder:r("Insert icon class","hayyabuild"),fliterPlaceholder:r("Search for icon","hayyabuild"),value:c,onSelect:function(e){return a({icon:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:r("HayyaBuild Options","hayyabuild"),styleTitle:r("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:f,elementStyle:".".concat(f),value:{classesList:d,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-featureslistitem","hayyabuild-featuresitem",{classesList:d},f)},React.createElement("div",{className:"hayyabuild-featuresitem__icon"},React.createElement("i",{className:c})),React.createElement("div",{className:"hayyabuild-featuresitem__content"},React.createElement(u,null))))},save:function(e){var t=e.attributes,a=t.icon,o=t.id,r=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-featuresitem",{classesList:r},o)},React.createElement("div",{className:"hayyabuild-featuresitem__icon"},React.createElement("i",{className:a})),React.createElement("div",{className:"hayyabuild-featuresitem__content"},React.createElement(u.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return i})),a.d(t,"settings",(function(){return _}));var n=a(0),o=a(5);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var l=o.pricingtable,i=l.name,c=l.attributes,s=l.category,u=wp,f=u.i18n.__,d=u.element,p=d.Fragment,y=(d.Component,u.components),b=y.PanelBody,h=y.ToggleControl,m=(y.SelectControl,u.editor.AlignmentToolbar,u.blockEditor),g=(m.PanelColorSettings,m.BlockControls),v=m.InspectorControls,k=(m.RichText,m.InnerBlocks),w=[["hayyabuild/pricingtableplan",{headingText:f("Basic","hayyabuild")}],["hayyabuild/pricingtableplan",{headingText:f("Standard","hayyabuild"),ribbonText:f("Featured","hayyabuild"),btnText:f("Sign up","hayyabuild"),featuredPlan:!0,btnLink:"#"}],["hayyabuild/pricingtableplan",{headingText:f("Premium","hayyabuild"),btnText:f("Sign up","hayyabuild"),btnLink:"#"}]],E="hayyabuild-pricingtable",_={title:f("Pricing Table","hayyabuild"),description:f("Pricing table block for entrepreneurs and service providers. With this block you can create a modern and responsive pricing table for your business pricing plans in just a few seconds.","hayyabuild"),icon:n.H.iconStyle("awards","#FFA500"),category:s,attributes:c,supports:{align:["wide","full"]},edit:function(e){var t,a=this,o=e.attributes,l=e.setAttributes,i=(e.className,e.name),c=(e.clientId,o.cleanStyle),s=o.zoomEffect,u=o.opacityEffect,d=o.gradientEffect,y=o.shadowEffect,m=o.classesList,_=o.id,R=o.numOfplans;n.H.blockID(_,i,l);f("Shadow","hayyabuild");return React.createElement(p,null,React.createElement(g,null),React.createElement(v,null,React.createElement(n.H.getPro,null),React.createElement(b,{title:f("Pricing Table Settings","hayyabuild")},React.createElement(h,{label:f("Zoom Effect","hayyabuild"),checked:!!s,onChange:function(){return l({zoomEffect:!s})}}),React.createElement(h,{label:f("Gradient Color","hayyabuild"),checked:!!d,onChange:function(){return l({gradientEffect:!d})}}),React.createElement(h,{label:f("Transparency","hayyabuild"),checked:!!u,onChange:function(){return l({opacityEffect:!u})}}),!1,React.createElement(n.H.BlocksOptions,{optionsTitle:f("HayyaBuild Options","hayyabuild"),styleTitle:f("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:_,elementStyle:".".concat(_," .hayyabuild-pricingtable__plan"),value:{classesList:m,inlineStyle:!0},onChange:function(e){return a.setAttributes({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses(E,"".concat(E,"--").concat(R,"-palns"),(t={},r(t,"".concat(E,"--clean-style"),!!c),r(t,"".concat(E,"--zoom-effect"),!!s),r(t,"".concat(E,"--opacity-effect"),!!u),r(t,"".concat(E,"--gradient-effect"),!!d),r(t,"".concat(E,"--shadow-effect"),!!y),t),{classesList:m},_)},React.createElement(k,{allowedBlocks:["hayyabuild/pricingtableplan"],templateLock:!1,template:w})))},save:function(e){var t,a=e.attributes,o=(e.innerBlocks,a.cleanStyle),l=a.zoomEffect,i=a.opacityEffect,c=a.gradientEffect,s=a.shadowEffect,u=a.classesList,f=a.id,d=a.numOfplans;return React.createElement("div",{className:n.H.hayyaClasses(E,"".concat(E,"--").concat(d,"-palns"),(t={},r(t,"".concat(E,"--clean-style"),!!o),r(t,"".concat(E,"--zoom-effect"),!!l),r(t,"".concat(E,"--opacity-effect"),!!i),r(t,"".concat(E,"--gradient-effect"),!!c),r(t,"".concat(E,"--shadow-effect"),!!s),t),{classesList:u},f)},React.createElement("div",{className:"".concat(E,"__plans")},React.createElement(k.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return l})),a.d(t,"settings",(function(){return E}));var n=a(0),o=a(5),r=o.pricingtableplan,l=r.name,i=r.attributes,c=r.category,s=wp,u=s.i18n.__,f=s.element.Fragment,d=s.components,p=d.TextControl,y=d.ToggleControl,b=d.PanelBody,h=(d.Toolbar,s.editor),m=h.ColorPalette,g=(h.MediaPlaceholder,s.blockEditor),v=g.RichText,k=g.InspectorControls,w=g.InnerBlocks,E={title:u("Pricing Plan","hayyabuild"),icon:n.H.iconStyle("columns"),description:u("Single table.","hayyabuild"),parent:["hayyabuild/pricingtable"],category:c,attributes:i,edit:function(e){var t=this,a=e.attributes,o=e.setAttributes,r=(e.className,e.noticeUI,e.noticeOperations,a.ribbonText),i=a.headingText,c=a.planIcon,s=a.featuredPlan,d=a.ribbonTextColor,h=a.ribbonBgColor,g=a.classesList,E=a.id;n.H.blockID(E,l,o);var _=a.priceText;return _&&"function"==typeof _.replace&&(_=_.replace(/<[^>]+>/g,"")),React.createElement(f,null,React.createElement(k,null,React.createElement(n.H.getPro,null),React.createElement(b,{title:u("Plan Settings","hayyabuild")},React.createElement(y,{label:u("Featured Plan","hayyabuild"),checked:!!s,onChange:function(){return o({featuredPlan:!s})}}),React.createElement(n.H.SelectIcon,{title:u("Plan Icon","hayyabuild"),classPlaceholder:u("Insert icon class","hayyabuild"),fliterPlaceholder:u("Search for icon","hayyabuild"),value:c,onSelect:function(e){return o({planIcon:e})}})),React.createElement(b,{title:u("Ribbon Settings","hayyabuild"),initialOpen:!1},React.createElement(p,{label:u("Ribbon Text","hayyabuild"),value:r,onChange:function(e){return o({ribbonText:e})}}),React.createElement("label",null,u("Text Color","hayyabuild")),React.createElement(m,{value:d,label:u("Text Color","hayyabuild"),onChange:function(e){return o({ribbonTextColor:e})}}),React.createElement("hr",null),React.createElement("label",null,u("Background Color","hayyabuild")),React.createElement(m,{value:h,label:u("Background Color","hayyabuild"),onChange:function(e){return o({ribbonBgColor:e})}})),React.createElement(n.H.BlocksOptions,{optionsTitle:u("HayyaBuild Options","hayyabuild"),styleTitle:u("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:E,elementStyle:".".concat(E),value:{classesList:g,inlineStyle:!0},onChange:function(e){return t.setAttributes({classesList:e.classesList})}})),React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-pricingtable__plan",{"hayyabuild-pricingtable__plan--featured":!!s},{classesList:g},E)},React.createElement("div",{className:"hayyabuild-pricingtable__plan__header"},r&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__ribbon"},React.createElement("span",{style:{color:d,backgroundColor:h}},r)),React.createElement("h3",{className:"hayyabuild-pricingtable__plan__header__heading"},React.createElement(v,{tagName:"span",value:i,placeholder:u("Heading","hayyabuild"),onChange:function(e){return o({headingText:e})},allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],inlineToolbar:!0})),c&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__icon"},React.createElement("i",{className:c})),React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__price"},React.createElement(v,{tagName:"span",value:_,placeholder:"$00",onChange:function(e){return o({priceText:e})}}))),React.createElement("div",{className:"hayyabuild-pricingtable__plan__body"},React.createElement(w,{template:[["core/paragraph",{placeholder:u("Features Here","hayyabuild")}],["hayyabuild/button",{text:u("Sign up","hayyabuild"),title:u("Sign up","hayyabuild"),link:"#",size:2}]],templateLock:!1}))))},save:function(e){var t=e.attributes,a=t.ribbonText,o=t.headingText,r=t.planIcon,l=t.featuredPlan,i=t.ribbonTextColor,c=t.ribbonBgColor,s=t.classesList,u=t.id,f=t.priceText,d="";if(f&&"function"==typeof f.replace){var p=(f=f.replace(/<[^>]+>/g,"")).split(".");2===p.length&&(f=p[0],d=p[1])}return React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-pricingtable__plan",{"hayyabuild-pricingtable__plan--featured":!!l},{classesList:s},u)},React.createElement("div",{className:"hayyabuild-pricingtable__plan__header"},a&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__ribbon"},React.createElement("span",{style:{color:i,backgroundColor:c}},a)),o&&React.createElement("h3",{className:"hayyabuild-pricingtable__plan__header__heading"},o),r&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__icon"},React.createElement("i",{className:r})),f&&React.createElement("div",{className:"hayyabuild-pricingtable__plan__header__price"},f,""!==d&&React.createElement("sup",null,".",d))),React.createElement("div",{className:"hayyabuild-pricingtable__plan__body"},React.createElement(w.Content,null)))}}},function(e,t,a){"use strict";a.r(t),a.d(t,"name",(function(){return m})),a.d(t,"settings",(function(){return w}));var n=a(0),o=a(8);function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var i=wp,c=i.i18n.__,s=i.element.Fragment,u=i.components,f=u.PanelBody,d=u.ToggleControl,p=u.RangeControl,y=i.blockEditor,b=y.RichText,h=y.InspectorControls,m=o.name,g=o.attributes,v="hayyabuild-progressbar",k=function(e,t,a){return e=e>t?t:e,e=(e=a&&e>100?100:e)<0?0:e,t=a?100:t,{v:(a?e:e/t*100).toFixed(0),max:t,value:e}},w={title:c("Progress bar","hayyabuild"),description:c("Easily create beautiful progress bar.","hayyabuild"),icon:n.H.iconStyle("performance","green","90deg"),keywords:[c("progress bar","hayyabuild")],attributes:g,category:"hayyabuild",supports:{html:!1},example:{attributes:{title:c("Progress bar","hayyabuild"),percent:!1,showProgressText:!1,max:88,value:60,style:{backgroundImage:"linear-gradient(257deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)"}}},edit:function(e){var t=e.attributes,a=e.setAttributes,o=(e.className,e.name),i=t.title,u=t.percent,y=t.showProgressText,m=t.animate,g=t.id,w=t.classesList,E=t.max,_=t.value,R=t.style;n.H.blockID(g,o,a);var x=k(_,E,u),C=x.v;E=x.max,_=x.value;var S=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?r(Object(a),!0).forEach((function(t){l(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},R,{width:C+"%"}),O=y?"".concat(_).concat(u?"%":""):"",L=y?"".concat(E).concat(u?"%":""):"".concat(_).concat(u?"%":""," ").concat(u?"":"/"+E);return React.createElement(s,null,React.createElement(h,null,React.createElement(f,{title:c("Progress Bar Settings","hayyabuild")},React.createElement(d,{label:c("Percent","hayyabuild"),checked:!!u,onChange:function(){a({percent:!u})}}),React.createElement(d,{label:c("Show Progress Text","hayyabuild"),checked:!!y,onChange:function(){a({showProgressText:!y})}}),React.createElement(d,{label:c("Animated Background","hayyabuild"),checked:!!m,help:c("For gradient background only.","hayyabuild"),onChange:function(){a({animate:!m})}}),React.createElement(p,{label:c("Value","hayyabuild"),value:_,onChange:function(e){return a({value:e})},min:0,max:E}),!u&&React.createElement(p,{label:c("Max","hayyabuild"),value:E,onChange:function(e){return a({max:e})},min:0,max:1e4}),React.createElement(n.H.BlocksOptions,{elementID:g,elementStyle:".".concat(g," .").concat(v,"__container__bar"),value:{classesList:w,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(v,{classesList:w},g)},React.createElement(b,{tagName:"span",placeholder:c("Write Title…","hayyabuild"),value:i,className:"".concat(v,"__title"),onChange:function(e){return a({title:e})},allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"]}),React.createElement("span",{className:"".concat(v,"__max")},L),React.createElement("div",{class:"".concat(v,"__container")},React.createElement("div",{class:"".concat(v,"__container__bar").concat(m?" "+v+"__container__bar--animate":""),style:S},O))))},save:function(e){var t=e.attributes,a=e.className,o=t.title,r=t.percent,l=t.showProgressText,i=t.animate,c=t.id,s=t.classesList,u=t.value,f=t.max,d=k(u,f,r),p=d.v;f=d.max,u=d.value;var y={width:p+"%"},b=l?"".concat(u).concat(r?"%":""):"",h=l?"".concat(f).concat(r?"%":""):"".concat(u).concat(r?"%":""," ").concat(r?"":"/"+f);return React.createElement("div",{className:n.H.hayyaClasses(a,v,{classesList:s},c)},React.createElement("span",{class:"".concat(v,"__title")},o),React.createElement("span",{className:"".concat(v,"__max")},h),React.createElement("div",{class:"".concat(v,"__container")},React.createElement("div",{class:"".concat(v,"__container__bar").concat(i?" "+v+"__container__bar--animate":""),style:y},b)))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=wp.components,r=o.Path,l=o.SVG;function i(e){var t=e.level,a=e.isPressed,n=void 0!==a&&a,o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?React.createElement(l,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},React.createElement(r,{d:o[t]})):null}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=wp,b=y.i18n,h=b.__,m=b.sprintf,g=y.element.Component,v=y.components.ToolbarGroup,k=function(e){function t(){return s(this,t),f(this,d(t).apply(this,arguments))}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),a=t,(n=[{key:"createLevelControl",value:function(e,t,a){var n=e===t;return{icon:React.createElement(i,{level:e,isPressed:n}),title:m(h("Heading %d","hayyabuild"),e),isActive:n,onClick:function(){return a(e)}}}},{key:"render",value:function(){var e=this,t=this.props,a=t.isCollapsed,n=void 0===a||a,o=t.minLevel,r=t.maxLevel,l=t.selectedLevel,c=t.onChange;return React.createElement(v,{isCollapsed:n,icon:React.createElement(i,{level:l}),controls:function(e,t){for(var a=[],n=e;n<=t;n++)a.push(n);return a}(o,r).map((function(t){return e.createLevelControl(t,l,c)})),label:h("Change heading level","hayyabuild")})}}])&&u(a.prototype,n),o&&u(a,o),t}(g);function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?S(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}lodash.range;var L=wp,N=L.i18n,H=N.__,T=(N.sprintf,L.element),I=T.Platform,B=T.Fragment,P=T.Component,j=L.components,F=j.PanelBody,z=(j.Toolbar,j.ToggleControl),M=j.SelectControl,A=L.blockEditor,D=A.RichText,q=A.PanelColorSettings,V=A.BlockControls,U=A.AlignmentToolbar,W=A.InspectorControls,K=function(e){function t(){var e;return _(this,t),(e=x(this,C(t).apply(this,arguments))).onChangeContent=e.onChangeContent.bind(S(e)),e.toggleMask=e.toggleMask.bind(S(e)),e.toggleDubleLines=e.toggleDubleLines.bind(S(e)),e.setStyle=e.setStyle.bind(S(e)),e}var a,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O(e,t)}(t,e),a=t,(o=[{key:"onChangeContent",value:function(e){(0,this.props.setAttributes)({content:e})}},{key:"toggleDubleLines",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({dubleLines:!t.dubleLines})}},{key:"toggleMask",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({apllyMask:!t.apllyMask})}},{key:"setStyle",value:function(e){(0,this.props.setAttributes)({separatorStyle:e})}},{key:"render",value:function(){var e,t=this.props,a=t.attributes,o=t.setAttributes,r=t.className,l=t.name,i=a.content,c=a.icon,s=a.align,u=a.level,f=a.dubleLines,d=a.apllyMask,p=a.separatorStyle,y=a.borderColor,b=a.textColor,h=a.id,m=a.classesList;n.H.blockID(h,l,o);var g=I.select({android:!0,native:!1,web:!1}),v="h"+u;return React.createElement(B,null,React.createElement(V,null,!g&&React.createElement(U,{value:s,onChange:function(e){return o({align:e})}}),React.createElement(k,{minLevel:"web"===I.OS?2:1,maxLevel:"web"===I.OS?5:7,selectedLevel:u,onChange:function(e){return o({level:e})}})),React.createElement(W,null,React.createElement(F,{title:H("Separator Settings","hayyabuild")},React.createElement(n.H.getPro,null),"web"===I.OS&&React.createElement(B,null,React.createElement("p",null,H("Text Level","hayyabuild")),React.createElement(k,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:u,onChange:function(e){return o({level:e})}})),React.createElement(n.H.SelectIcon,{title:H("Icon","hayyabuild"),classPlaceholder:H("Insert icon class","hayyabuild"),fliterPlaceholder:H("Search for icon","hayyabuild"),value:c,onSelect:function(e){return o({icon:e})}}),React.createElement(z,{label:H("Duble Lines","hayyabuild"),checked:!!f,onChange:this.toggleDubleLines}),React.createElement(z,{label:H("Apply Mask","hayyabuild"),checked:!!d,onChange:this.toggleMask}),React.createElement(M,{label:H("Separator Style","hayyabuild"),value:p,options:[{label:H("Default","hayyabuild"),Key:"default",value:"Default"},{label:H("Dotted","hayyabuild"),Key:"dotted",value:"dotted"},{label:H("dashed","hayyabuild"),Key:"dashed",value:"dashed"}],onChange:this.setStyle}),React.createElement(n.H.BlocksOptions,{optionsTitle:H("HayyaBuild Options","hayyabuild"),styleTitle:H("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",value:{classesList:m},onChange:function(e){return o({classesList:e.classesList})}})),React.createElement(q,{title:H("Color Settings","hayyabuild"),initialOpen:!1,colorSettings:[{value:b,onChange:function(e){return o({textColor:e})},label:H("Text Color","hayyabuild")},{value:y,onChange:function(e){return o({borderColor:e})},label:H("Separator Color","hayyabuild")}]})),React.createElement("div",{className:n.H.hayyaClasses(r,(e={"separator-mask":d,"duble-lines":f},E(e,s+"-text",s),E(e,p,p),e),{classesList:m},h)},React.createElement("div",{className:"left-separator",style:{borderColor:y}}),React.createElement(D,{tagName:v,className:"separator-text",onChange:this.onChangeContent,value:i,style:{color:b},allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],inlineToolbar:!0}),c&&React.createElement("i",{className:c,style:{color:b}}),React.createElement("div",{className:"right-separator",style:{borderColor:y}})))}}])&&R(a.prototype,o),r&&R(a,r),t}(P),G=a(17),$=a.n(G);function Q(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return X})),a.d(t,"settings",(function(){return ee}));var Z=wp,Y=Z.i18n.__,J=Z.blockEditor.RichText,X="hayyabuild/separator",ee={title:Y("Separator","hayyabuild"),description:Y("You can use this block to separate the content vertically.","hayyabuild"),icon:n.H.iconStyle($.a),category:"hayyabuild",attributes:{content:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6"},icon:{type:"string"},align:{type:"string",default:"center"},level:{type:"number",default:4},separatorStyle:{type:"string"},dubleLines:{type:"boolean",default:!1},apllyMask:{type:"boolean",default:!1},borderColor:{type:"string"},textColor:{type:"string"},id:{type:"string"},classesList:{type:"string"}},supports:{align:["wide","full"]},example:{attributes:{content:Y("Separator Block","hayyabuild"),icon:"fa fa-angle-down",dubleLines:!0,borderColor:"#3888DB",textColor:"#3888DB",separatorStyle:"default"}},edit:K,save:function(e){var t,a=e.attributes,o=(e.setAttributes,a.content),r=a.icon,l=a.align,i=a.level,c=a.dubleLines,s=a.apllyMask,u=a.separatorStyle,f=a.borderColor,d=a.textColor,p=a.id,y=a.classesList,b="h"+i,h=o.length>0&&""!==o[0];return React.createElement("div",{className:n.H.hayyaClasses((t={"separator-mask":s,"duble-lines":c},Q(t,l+"-text",!!l),Q(t,u,!!u),t),{classesList:y},p)},React.createElement("div",{className:"left-separator",style:{borderColor:f}}),h&&React.createElement(J.Content,{tagName:b,value:o,style:{color:d}}),r&&React.createElement("i",{className:r,style:{color:d}}),React.createElement("div",{className:"right-separator",style:{borderColor:f}}))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=wp.components,r=o.Path,l=o.SVG;function i(e){var t=e.level,a=e.isPressed,n=void 0!==a&&a,o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?React.createElement(l,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},React.createElement(r,{d:o[t]})):null}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=wp,b=y.i18n,h=b.__,m=b.sprintf,g=y.element.Component,v=y.components.ToolbarGroup,k=function(e){function t(){return s(this,t),f(this,d(t).apply(this,arguments))}var a,n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),a=t,(n=[{key:"createLevelControl",value:function(e,t,a){var n=e===t;return{icon:React.createElement(i,{level:e,isPressed:n}),title:m(h("Heading %d","hayyabuild"),e),isActive:n,onClick:function(){return a(e)}}}},{key:"render",value:function(){var e=this,t=this.props,a=t.isCollapsed,n=void 0===a||a,o=t.minLevel,r=t.maxLevel,l=t.selectedLevel,c=t.onChange;return React.createElement(v,{isCollapsed:n,icon:React.createElement(i,{level:l}),controls:function(e,t){for(var a=[],n=e;n<=t;n++)a.push(n);return a}(o,r).map((function(t){return e.createLevelControl(t,l,c)})),label:h("Change heading level","hayyabuild")})}}])&&u(a.prototype,n),o&&u(a,o),t}(g);function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}lodash.range;var S=wp,O=S.i18n,L=O.__,N=(O.sprintf,S.element),H=N.Platform,T=N.Fragment,I=N.Component,B=S.components,P=B.PanelBody,j=(B.Toolbar,B.ToggleControl,B.SelectControl,S.blockEditor),F=j.RichText,z=j.BlockControls,M=j.AlignmentToolbar,A=j.InspectorControls,D=function(e){function t(){return E(this,t),R(this,x(t).apply(this,arguments))}var a,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=e.className,r=e.name,l=t.content,i=t.align,c=t.level,s=t.id,u=t.classesList;n.H.blockID(s,r,a);var f,d,p,y=H.select({android:!0,native:!1,web:!1}),b="h"+c;return React.createElement(T,null,React.createElement(z,null,!y&&React.createElement(M,{value:i,onChange:function(e){return a({align:e})}}),React.createElement(k,{minLevel:"web"===H.OS?2:1,maxLevel:"web"===H.OS?5:7,selectedLevel:c,onChange:function(e){return a({level:e})}})),React.createElement(A,null,React.createElement(P,{title:L("Heading Settings","hayyabuild")},"web"===H.OS&&React.createElement(T,null,React.createElement("p",null,L("Text Level","hayyabuild")),React.createElement(k,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:c,onChange:function(e){return a({level:e})}})),React.createElement(n.H.BlocksOptions,{optionsTitle:L("HayyaBuild Options","hayyabuild"),styleTitle:L("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:s,elementStyle:".".concat(s),value:{classesList:u,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(o,(f={},d=i+"-text",p=!!i,d in f?Object.defineProperty(f,d,{value:p,enumerable:!0,configurable:!0,writable:!0}):f[d]=p,f),{classesList:u},s)},React.createElement(F,{tagName:b,onChange:function(e){return a({content:e})},value:l,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough","core/link","core/code"]})))}}])&&_(a.prototype,o),r&&_(a,r),t}(I);a.d(t,"name",(function(){return W})),a.d(t,"settings",(function(){return K}));var q=wp,V=q.i18n.__,U=q.blockEditor.RichText,W="hayyabuild/heading",K={title:V("Advanced Heading","hayyabuild"),description:V("You can use this block to separate the content vertically.","hayyabuild"),icon:n.H.iconStyle("editor-table"),category:"hayyabuild",attributes:{content:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6"},align:{type:"string"},level:{type:"number",default:3},id:{type:"string"},classesList:{type:"string"}},example:{attributes:{content:V("Advanced Heading","hayyabuild")}},edit:D,save:function(e){var t,a,o,r=e.attributes,l=(e.setAttributes,r.content),i=r.align,c=r.level,s=r.id,u=r.classesList,f="h"+c;return l.length>0&&""!==l[0]&&React.createElement(U.Content,{tagName:f,value:l,className:n.H.hayyaClasses((t={},a=i+"-text",o=!!i,a in t?Object.defineProperty(t,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[a]=o,t),{classesList:u},s)})}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=wp.components,r=o.G,l=o.Path,i=o.SVG,c=React.createElement(i,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement(l,{fill:"none",d:"M0 0h24v24H0V0z"}),React.createElement(r,null,React.createElement(l,{d:"M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"})));function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?b(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=wp,g=m.i18n.__,v=m.element,k=v.Component,w=v.Fragment,E=m.components,_=E.Button,R=E.PanelBody,x=E.RangeControl,C=E.SelectControl,S=E.ToggleControl,O=E.Toolbar,L=E.withNotices,N=m.blockEditor,H=N.RichText,T=N.InspectorControls,I=N.BlockIcon,B=N.MediaPlaceholder,P=N.BlockControls,j=N.MediaUpload,F="hayyabuild-gallerybox",z=["image"],M=L(function(e){function t(){var e;return f(this,t),(e=p(this,y(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(b(e)),e.onSelectImages=e.onSelectImages.bind(b(e)),e.setAttributes=e.setAttributes.bind(b(e)),e.state={selectedImage:null},e}var a,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),a=t,(o=[{key:"setAttributes",value:function(e){e.images&&(e=e),this.props.setAttributes(e)}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onSelectImages",value:function(e){this.setAttributes({images:e.map((function(e){return{id:e.id,alt:e.alt,url:e.url,caption:e.caption}}))})}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e,t=this,a=this.props,o=a.attributes,r=a.setAttributes,l=a.isSelected,i=a.className,s=a.noticeOperations,f=a.noticeUI,d=a.name,p=o.images,y=o.size,b=o.showcaption,h=o.effect,m=o.autoplay,v=o.fitimages,k=o.zoomimage,E=o.id,L=o.classesList;n.H.blockID(E,d,r);var N=!!p.length,M=React.createElement(P,null,React.createElement(O,null,React.createElement(j,{onSelect:this.onSelectImages,allowedTypes:z,multiple:!0,gallery:!0,value:p.map((function(e){return e.id})),render:function(e){var t=e.open;return React.createElement(_,{className:"components-toolbar__control",label:g("Edit gallery","hayyabuild"),icon:"edit",onClick:t})}}))),A=React.createElement(B,{addToGallery:N,isAppender:N,className:i,disableMediaButtons:N&&!l,icon:!N&&React.createElement(I,{icon:c}),labels:{title:!N&&g("Gallery","hayyabuild"),instructions:!N&&g("Drag images, upload new ones or select files from your library.","hayyabuild")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:z,multiple:!0,value:N?p:void 0,onError:s.createErrorNotice,notices:N?void 0:f});return N?React.createElement(w,null,M,React.createElement(T,null,React.createElement(R,{title:g("Gallery Box Settings","hayyabuild")},React.createElement(x,{label:g("Images size","hayyabuild"),value:y,onChange:function(e){return t.setAttributes({size:e})},min:1,max:5}),React.createElement(S,{label:g("Show Caption","hayyabuild"),help:g("Show caption on image hover.","hayyabuild"),checked:!!b,onChange:function(){t.setAttributes({showcaption:!b})}}),React.createElement(C,{label:g("Transition Effect","hayyabuild"),value:h,options:[{label:g("None","hayyabuild"),Key:"none",value:"none"},{label:g("Fade","hayyabuild"),Key:"fade",value:"fade"}],onChange:function(e){return t.setAttributes({effect:e})}}),React.createElement(S,{label:g("Auto Playing Slideshow","hayyabuild"),help:g("Slideshow paly automatically.","hayyabuild"),checked:!!m,onChange:function(){t.setAttributes({autoplay:!m})}}),React.createElement(S,{label:g("Fit to screen","hayyabuild"),help:g("Fit images to screen.","hayyabuild"),checked:!!v,onChange:function(){t.setAttributes({fitimages:!v})}}),React.createElement(S,{label:g("Zoom Effect","hayyabuild"),help:g("Zoom effect on image hover.","hayyabuild"),checked:!!k,onChange:function(){t.setAttributes({zoomimage:!k})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:g("HayyaBuild Options","hayyabuild"),styleTitle:g("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:E,elementStyle:".".concat(E," .hayyabuild-gallerybox__container"),value:{classesList:L,inlineStyle:!0},onChange:function(e){return t.setAttributes({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses(F,(e={},u(e,"".concat(F,"--showcaption"),!!b),u(e,"".concat(F,"--autoplay"),!!m),u(e,"".concat(F,"--fitimages"),!!v),u(e,"".concat(F,"--zoomimage"),!!k),e),{classesList:L},E),"data-size":y,"data-effect":h},React.createElement("div",{className:"hayyabuild-gallerybox__container"},p.map((function(e,a){return React.createElement("figure",{className:"hayyabuild-gallerybox__container__image",key:e.id||e.url},React.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id}),React.createElement(H,{tagName:"figcaption",placeholder:g("Write caption…","hayyabuild"),value:e.caption,isSelected:t.state.captionSelected,onChange:function(e){return t.setAttributes({caption:e})},unstableOnFocus:t.onSelectCaption,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],inlineToolbar:!0}))})))),l&&A):React.createElement(w,null,M,A)}}])&&d(a.prototype,o),r&&d(a,r),t}(k));function A(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return U})),a.d(t,"settings",(function(){return K}));var D=wp,q=D.i18n.__,V=D.blockEditor.RichText,U="hayyabuild/gallerybox",W={images:{type:"array",default:[],source:"query",selector:"figure.hayyabuild-gallerybox__container__image",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"}}},size:{type:"string",source:"attribute",attribute:"data-size",selector:".".concat("hayyabuild-gallerybox"),default:"3"},showcaption:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--showcaption"),default:!0},effect:{type:"string",source:"attribute",attribute:"data-effect",selector:".".concat("hayyabuild-gallerybox"),default:"fade"},autoplay:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--autoplay"),default:!0},fitimages:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--fitimages"),default:!0},zoomimage:{type:"boolean",source:"attribute",attribute:"class",selector:".".concat("hayyabuild-gallerybox","--zoomimage"),default:!0},id:{type:"string"},classesList:{type:"string",default:""}},K={title:q("Gallery Box","hayyabuild"),icon:n.H.iconStyle("images-alt2"),description:q('Gallery Box block is a block for displaying images in a Mac-style "lightbox" that floats overtop of web page.',"hayyabuild"),category:"hayyabuild",attributes:W,keywords:[q("image","hayyabuild"),q("images","hayyabuild"),q("gallery","hayyabuild")],supports:{align:["wide","full"]},example:{attributes:{images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},edit:M,save:function(e){var t,a=e.attributes,o=(e.className,a.images),r=a.size,l=a.showcaption,i=a.effect,c=a.autoplay,s=a.fitimages,u=a.zoomimage,f=a.id,d=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-gallerybox",(t={},A(t,"".concat("hayyabuild-gallerybox","--showcaption"),!!l),A(t,"".concat("hayyabuild-gallerybox","--autoplay"),!!c),A(t,"".concat("hayyabuild-gallerybox","--fitimages"),!!s),A(t,"".concat("hayyabuild-gallerybox","--zoomimage"),!!u),t),{classesList:d},f),"data-size":r,"data-effect":i},React.createElement("div",{className:"".concat("hayyabuild-gallerybox","__container")},o.map((function(e,t){return React.createElement("figure",{className:"".concat("hayyabuild-gallerybox","__container__image"),key:e.url},React.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id}),React.createElement(V.Content,{tagName:"figcaption",value:e.caption}))})),React.createElement("div",null,React.createElement("div",{class:"hayyabuild-gallerybox__container__next"}),React.createElement("div",{class:"hayyabuild-gallerybox__container__previous"}),React.createElement("div",{class:"hayyabuild-gallerybox__container__close"}))))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=wp.components,r=(o.Path,o.SVG,o.rect,React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40px",height:"40px",viewBox:"0 0 100 100"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#DED559",d:"M7 22L50 0l43 22-43 21.001L7 22z"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#D0881F",d:"M50.003 42.997L7 22v54.28l43.006 21.714-.003-54.997z"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#C7A934",d:"M50 97.994L93.006 76.28V22L50.003 42.997 50 97.994z"}),React.createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",fill:"#CE851B",d:"M27.036 11.705l42.995 21.498 2.263-1.105-43.047-21.524z"}),React.createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",d:"M21.318 14.674L63.3 36.505l15.99-7.809L35.788 7.271z"}),React.createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",d:"M63.312 36.505l15.978-7.818v11l-15.978 8.817V36.505z"}),React.createElement("rect",{x:"0",y:"0",width:"100",height:"100",fill:"rgba(0, 0, 0, 0)"}),React.createElement("path",{clipRule:"evenodd",d:"M16.488 73.027L70.906 18.61c1.172-1.172 4.021-.222 6.364 2.121s3.293 5.193 2.121 6.364L24.973 81.513l-8.485-8.486z",fill:"none"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#2C3E50",d:"M64.906 29.609L12.018 82.497a50.269 50.269 0 0 0 8.847 8.124l52.527-52.527c1.172-1.171.222-4.021-2.121-6.364-2.344-2.342-5.194-3.292-6.365-2.121z"}),React.createElement("path",{fill:"#F0C419",d:"M88.5 23.002c.767-6.901 4.6-10.735 11.5-11.501-6.9-.767-10.734-4.6-11.5-11.5-.767 6.9-4.6 10.734-11.5 11.5 6.899.766 10.733 4.6 11.5 11.501zM31.5 0c-.5 4.5-3 7-7.501 7.501 4.5.5 7.001 3 7.501 7.5.5-4.5 3-7 7.501-7.5C34.5 7 32 4.5 31.5 0zm60 46.001c-.5 4.5-3 7-7.501 7.501 4.5.5 7.001 3 7.501 7.5.5-4.5 3-7 7.501-7.5C94.5 53.001 92 50.5 91.5 46.001z"}),React.createElement("path",{fill:"#fff",d:"M71.5 53c-.367 3.299-2.2 5.133-5.5 5.5 3.3.366 5.134 2.2 5.5 5.499.367-3.299 2.2-5.133 5.5-5.499-3.3-.367-5.134-2.202-5.5-5.5zm-25-31.001c-.367 3.3-2.2 5.134-5.5 5.501 3.3.367 5.134 2.199 5.5 5.5.367-3.301 2.2-5.133 5.5-5.5-3.3-.367-5.134-2.201-5.5-5.501zM58.5 3c-.367 3.298-2.2 5.133-5.5 5.5 3.3.366 5.134 2.2 5.5 5.499.366-3.299 2.2-5.133 5.5-5.499-3.3-.367-5.134-2.202-5.5-5.5z"}),React.createElement("rect",{x:"0",y:"0",width:"100",height:"100",fill:"rgba(0, 0, 0, 0)"})));a.d(t,"name",(function(){return h})),a.d(t,"settings",(function(){return m}));var l=wp,i=l.i18n.__,c=l.element.Fragment,s=l.components,u=s.PanelBody,f=s.ToggleControl,d=s.TextControl,p=s.SelectControl,y=l.blockEditor.InspectorControls,b=l.blockEditor.InnerBlocks,h="hayyabuild/magicbox",m={title:i("Magic Box","hayyabuild"),icon:n.H.iconStyle(r),description:i("With magic box block you can show or hide inner content based on different conditions. For example some times you need to show some information for only logged-in users or you need to put some content in footer only for the front page.","hayyabuild"),category:"hayyabuild",attributes:{show_in_all:{type:"boolean",default:!1},is_user_logged_in:{type:"string",default:""},is_front_page:{type:"boolean",default:!1},is_home:{type:"boolean",default:!1},is_single:{type:"boolean",default:!1},is_author:{type:"boolean",default:!1},show_pages:{type:"string",default:""},hide_pages:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""},classesName:{type:"string",default:""},is_updated:{type:"boolean",default:!1},style:{type:"object",source:"attribute",selector:"a",attribute:"style"}},example:{attributes:{style:{border:"1px solid #D0D0D0",borderRadius:"5px",padding:"5px 20px"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:i("You can use this box to display content under a specific conditions.","hayyabuild"),align:"center"}},{name:"hayyabuild/button",attributes:{text:i("Button","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#6BAFFF"}}}]},edit:function(e){var t=e.attributes,a=e.setAttributes,o=e.className,r=t.show_in_all,l=t.is_user_logged_in,s=t.is_front_page,m=t.is_home,g=t.is_single,v=t.is_author,k=t.show_pages,w=t.hide_pages,E=t.id,_=t.classesList,R=t.classesName,x=t.style;return n.H.blockID(E,h,a),R!==o&&a({classesName:o}),React.createElement(c,null,React.createElement(y,null,React.createElement(u,{title:i("Magic Box Settings","hayyabuild")},React.createElement(f,{label:i("Show in all pages","hayyabuild"),checked:!!r,onChange:function(){a({show_in_all:!r,is_front_page:!r,is_home:!r,is_single:!r,is_author:!r,is_updated:!0})}}),React.createElement("hr",{className:"hayyabuild-hr-separator"}),React.createElement(p,{label:i("Logged in users","hayyabuild"),value:l,options:[{label:i("Never mind!","hayyabuild"),Key:"",value:""},{label:i("Show","hayyabuild"),Key:"show",value:"show"},{label:i("Hide","hayyabuild"),Key:"hide",value:"hide"}],onChange:function(e){a({is_user_logged_in:e})}}),React.createElement("hr",{className:"hayyabuild-hr-separator"}),React.createElement(f,{label:i("Show in front page","hayyabuild"),checked:!!s,onChange:function(){a({is_front_page:!s,is_updated:!0})}}),React.createElement(f,{label:i("show in blog home page","hayyabuild"),checked:!!m,onChange:function(){a({is_home:!m,is_updated:!0})}}),React.createElement(f,{label:i("show in post page","hayyabuild"),checked:!!g,onChange:function(){a({is_single:!g,is_updated:!0})}}),React.createElement(f,{label:i("Show in author page","hayyabuild"),checked:!!v,onChange:function(){a({is_author:!v,is_updated:!0})}}),!r&&React.createElement(d,{label:i("Show in pages","hayyabuild"),placeholder:i('pages ID’s separated by comma "," .',"hayyabuild"),value:k,onChange:function(e){a({show_pages:e,is_updated:!0})}}),r&&React.createElement(d,{label:i("Hide from pages","hayyabuild"),placeholder:i('pages ID’s separated by comma "," .',"hayyabuild"),value:w,onChange:function(e){a({hide_pages:e,is_updated:!0})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:i("HayyaBuild Options","hayyabuild"),styleTitle:i("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:E,elementStyle:".".concat(E),value:{classesList:_,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses(o,{classesList:_},E),style:x},React.createElement(b,{templateLock:!1})))},save:function(e){e.attributes,e.className;return React.createElement(b.Content,null)}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?s(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=wp,d=f.i18n.__,p=f.element.Component,y=f.components,b=y.PanelBody,h=y.SelectControl,m=y.Button,g=(y.ToggleControl,f.blockEditor),v=g.BlockVerticalAlignmentToolbar,k=g.InspectorControls,w=g.BlockControls,E=f.blockEditor.InnerBlocks,_=n.H.memoize((function(e){for(var t=[],a=e.split("_"),n=1;n<=a.length;n++)t.push(["hayyabuild/column",{}]);return t})),R={"1-2_1-2":"1/2 + 1/2","1-3_1-3_1-3":"1/3 + 1/3 + 1/3","1-3_2-3":"1/3 + 2/3","2-3_1-3":"2/3 + 1/3","1-4_1-4_1-4_1-4":"1/4 + 1/4 + 1/4 + 1/4","1-4_1-2_1-4":"1/4 + 1/2 + 1/4","1-4_1-4_1-2":"1/4 + 1/4 + 1/2","1-2_1-4_1-4":"1/2 + 1/4 + 1/4","1-4_3-4":"1/4 + 3/4","3-4_1-4":"3/4 + 1/4"},x=function(e){function t(){var e;return r(this,t),(e=i(this,c(t).apply(this,arguments))).setColumn=e.setColumn.bind(s(e)),e}var a,o,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"setColumn",value:function(e){this.props.setAttributes({row:e})}},{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,o=t.setAttributes,r=t.className,l=t.name,i=a.row,c=a.device,s=a.verticalAlignment,u=a.id,f=a.classesList;n.H.blockID(u,l,o);var p,y,g,x=[],C=function(t){x.push(React.createElement(m,{label:R[t],className:"hayyabuild-icon icon-"+t,key:t,onClick:function(){e.setColumn(t)}}))};for(var S in R)C(S);return React.createElement(React.Fragment,null,React.createElement(w,null,React.createElement(v,{onChange:function(e){o({verticalAlignment:e})},value:s})),React.createElement(k,null,React.createElement(b,{title:d("Row Settings","hayyabuild")},React.createElement("label",null,d("layouts configuration","hayyabuild")),React.createElement("div",{style:{textAlign:"center"}},x),React.createElement("hr",null),React.createElement(h,{label:d("Screen size","hayyabuild"),value:c,options:[{label:d("Disable responsive","hayyabuild"),Key:"none",value:""},{label:d("Small screens","hayyabuild"),Key:"small",value:"hayyabuild-row-small"},{label:d("Medium screens","hayyabuild"),Key:"medium",value:"hayyabuild-row-medium"},{label:d("Large screens","hayyabuild"),Key:"large",value:"hayyabuild-row-large"}],onChange:function(e){return o({device:e})}}),React.createElement("i",null,d("create responsive grid system for small, medium or large screen sizes.","hayyabuild")),React.createElement("hr",null),React.createElement(n.H.BlocksOptions,{optionsTitle:d("HayyaBuild Options","hayyabuild"),styleTitle:d("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:u,elementStyle:".".concat(u),value:{classesList:f,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement("div",{className:n.H.hayyaClasses(r,"has-".concat(i,"-columns"),(p={},y="hayyabuild-rows-".concat(s,"-columns"),g=!!s,y in p?Object.defineProperty(p,y,{value:g,enumerable:!0,configurable:!0,writable:!0}):p[y]=g,p),{classesList:f},u)},React.createElement(E,{allowedBlocks:["hayyabuild/column"],template:_(i),templateLock:"all"})))}}])&&l(a.prototype,o),f&&l(a,f),t}(p),C=a(14),S=a.n(C);function O(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return T})),a.d(t,"settings",(function(){return I}));var L=wp,N=L.i18n.__,H=L.blockEditor.InnerBlocks,T="hayyabuild/row",I={title:N("Row and Columns","hayyabuild"),description:N('CSS Grid Layout aka "Grid", It is a 2-dimensional grid system, meaning it can handle both columns and rows.',"hayyabuild"),icon:n.H.iconStyle(S.a),category:"hayyabuild",attributes:{row:{type:"string",default:"1-2_1-2"},device:{type:"string"},verticalAlignment:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""}},supports:{align:["wide","full"]},example:{attributes:{row:"1-3_2-3"},innerBlocks:[{name:"hayyabuild/column",attributes:{style:{borderRadius:"3px",padding:"20px 0",background:"#D4ECFF",border:"2px solid transparent"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:N("Column 1","hayyabuild"),align:"center"}}]},{name:"hayyabuild/column",attributes:{style:{borderRadius:"3px",padding:"20px 0",background:"#FFD1E5",border:"2px solid transparent"}},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:25,content:N("Column 2","hayyabuild"),align:"center"}}]}]},edit:x,save:function(e){var t,a=e.attributes,o=a.row,r=a.device,l=a.verticalAlignment,i=a.id,c=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("has-".concat(o,"-columns"),(t={},O(t,r,r),O(t,"hayyabuild-rows-".concat(l,"-columns"),!!l),t),{classesList:c},i)},React.createElement(H.Content,null))},deprecated:[{attributes:{row:{type:"string",default:"1-2_1-2"},device:{type:"string"},middleColumns:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""}},save:function(e){var t,a=e.attributes,o=a.row,r=a.device,l=a.middleColumns,i=a.id,c=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("has-".concat(o,"-columns"),(t={},O(t,r,r),O(t,"hayyabuild-rows-".concat(l,"-columns"),!!l),t),{classesList:c},i)},React.createElement(H.Content,null))}},{attributes:{row:{type:"string",default:"1-2_1-2"},device:{type:"string"},middleColumns:{type:"string",default:""},id:{type:"string"},classesList:{type:"string",default:""}},save:function(e){var t,a=e.attributes,o=a.row,r=a.device,l=a.middleColumns,i=a.id,c=a.classesList;return React.createElement("div",{className:n.H.hayyaClasses("has-".concat(o,"-columns"),(t={},O(t,r,r),O(t,"hayyabuild-rows-middle-columns",!!l),t),{classesList:c},i)},React.createElement(H.Content,null))}}]}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=wp,f=u.i18n.__,d=u.element,p=d.Fragment,y=d.Component,b=u.components,h=b.RangeControl,m=b.PanelBody;!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(u.editor);var g=u.blockEditor,v=g.BlockControls,k=g.InspectorControls,w=g.InnerBlocks,E=function(e){function t(){return r(this,t),i(this,c(t).apply(this,arguments))}var a,o,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e,t,a,o=this.props,r=o.attributes,l=o.setAttributes,i=(o.className,o.name),c=r.buttonsSpace,s=r.id,u=r.classesList;return n.H.blockID(s,i,l),React.createElement(p,null,React.createElement(v,null,React.createElement("div",{className:"editor-format-toolbar"})),React.createElement(k,null,React.createElement(m,{title:f("Buttons Group Settings","hayyabuild")},React.createElement(h,{label:f("Space between buttons","hayyabuild"),value:c,onChange:function(e){return l({buttonsSpace:e})},min:0,max:5}),React.createElement(n.H.BlocksOptions,{optionsTitle:f("HayyaBuild Options","hayyabuild"),styleTitle:f("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:s,elementStyle:".".concat(s),value:{classesList:u,inlineStyle:!0},onChange:function(e){return l({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-buttons",(e={},t="".concat("wp-block-hayyabuild-buttons","--space-").concat(c),a=0!==c,t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e),{classesList:u},s)},React.createElement(w,{allowedBlocks:["hayyabuild/button"]})))}}])&&l(a.prototype,o),u&&l(a,u),t}(y),_=a(15),R=a.n(_);a.d(t,"name",(function(){return O})),a.d(t,"settings",(function(){return L}));var x=wp,C=x.i18n.__,S=x.blockEditor.InnerBlocks,O="hayyabuild/buttons",L={title:C("Buttons Group","hayyabuild"),description:C("The buttons block is row of clickable buttons.","hayyabuild"),icon:n.H.iconStyle(R.a),category:"hayyabuild",attributes:{buttonsSpace:{type:"number",default:0},id:{type:"string"},classesList:{type:"string",default:""}},supports:{align:["wide","full"]},example:{innerBlocks:[{name:"hayyabuild/button",attributes:{text:C("Button 1","hayyabuild"),icon:"fa fa-hand-pointer",size:2,style:{background:"#FF6B6B"}}},{name:"hayyabuild/button",attributes:{text:C("Button 2","hayyabuild"),size:2,style:{background:"#FF6BCD"}}},{name:"hayyabuild/button",attributes:{text:C("Button 3","hayyabuild"),icon:"fa fa-home",size:2,style:{background:"#A2E23A"}}}]},edit:E,save:function(e){var t,a,o,r=e.attributes,l=r.buttonsSpace,i=r.id,c=r.classesList;return React.createElement("div",{className:n.H.hayyaClasses((t={},a="".concat("wp-hayyabuild-buttons","--space-").concat(l),o=0!==l,a in t?Object.defineProperty(t,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[a]=o,t),{classesList:c},i)},React.createElement(S.Content,null))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?u(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=wp,p=d.i18n.__,y=d.element,b=y.Fragment,h=y.Component,m=d.components,g=m.PanelBody,v=m.ToggleControl,k=m.SelectControl,w=d.blockEditor,E=w.RichText,_=w.BlockControls,R=w.InspectorControls,x=w.PanelColorSettings,C=w.AlignmentToolbar,S=function(e){function t(){var e;return l(this,t),(e=c(this,s(t).apply(this,arguments))).onChangeContent=e.onChangeContent.bind(u(e)),e.onChangeCiteText=e.onChangeCiteText.bind(u(e)),e.toggleStars=e.toggleStars.bind(u(e)),e.setStyle=e.setStyle.bind(u(e)),e}var a,o,d;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),a=t,(o=[{key:"onChangeContent",value:function(e){(0,this.props.setAttributes)({contentText:e})}},{key:"onChangeCiteText",value:function(e){(0,this.props.setAttributes)({citeText:e})}},{key:"toggleStars",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showStars:!t.showStars})}},{key:"setStyle",value:function(e){(0,this.props.setAttributes)({testimonialStyle:e})}},{key:"render",value:function(){var e,t=this.props,a=t.attributes,o=t.setAttributes,l=t.className,i=t.name,c=a.contentText,s=a.align,u=a.showStars,f=a.testimonialStyle,d=a.citeText,y=a.placeholder,h=a.textColor,m=a.citeColor,w=a.id,S=a.classesList;return n.H.blockID(w,i,o),React.createElement(b,null,React.createElement(_,null,React.createElement(C,{value:s,onChange:function(e){return o({align:e})}})),React.createElement(R,null,React.createElement(g,{title:p("Testimonial Settings","hayyabuild")},React.createElement(k,{label:p("Testimonial Style","hayyabuild"),value:f,options:[{label:p("None","hayyabuild"),Key:"none",value:"wp-block-quote"},{label:p("Style 1","hayyabuild"),Key:"hb-quote-style1",value:"hb-quote-style1"}],onChange:this.setStyle}),React.createElement(v,{label:p("Show Stars","hayyabuild"),checked:!!u,onChange:this.toggleStars}),React.createElement(n.H.BlocksOptions,{optionsTitle:p("HayyaBuild Options","hayyabuild"),styleTitle:p("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:w,elementStyle:".".concat(l,".").concat(w),onChange:function(e){return o({classesList:e.classesList})},value:{classesList:S,inlineStyle:!0}})),React.createElement(x,{title:p("Color Settings","hayyabuild"),initialOpen:!1,colorSettings:[{value:h,onChange:function(e){return o({textColor:e})},label:p("Text Color","hayyabuild")},{value:m,onChange:function(e){return o({citeColor:e})},label:p("Cite Color","hayyabuild")}]})),React.createElement("blockquote",{className:n.H.hayyaClasses(l,(e={},r(e,f,f),r(e,"align-"+s,s),e),{classesList:S},w)},React.createElement(E,{tagName:"div",className:"quote",value:c,style:{color:h},placeholder:y||p("Add testimonial text","hayyabuild"),onChange:this.onChangeContent,keepPlaceholderOnFocus:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough","core/link","core/code"]}),React.createElement(E,{tagName:"cite",value:d,style:{color:m},placeholder:y||p("Add cite text","hayyabuild"),onChange:this.onChangeCiteText,keepPlaceholderOnFocus:!0,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"]}),u&&React.createElement("div",{className:"hb-rating"},React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}))))}}])&&i(a.prototype,o),d&&i(a,d),t}(h),O=a(19),L=a.n(O);function N(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return B})),a.d(t,"settings",(function(){return P}));var H=wp,T=H.i18n.__,I=H.blockEditor.RichText,B="hayyabuild/testimonial",P={title:T("Testimonial","hayyabuild"),description:T("A testimonial is often used to let people know what other people think of you or your product.","hayyabuild"),icon:n.H.iconStyle(L.a),category:"hayyabuild",attributes:{contentText:{type:"array",source:"children",selector:".quote"},citeText:{type:"array",source:"children",selector:"cite"},align:{type:"string",default:"left"},testimonialStyle:{type:"string"},showStars:{type:"boolean",default:!1},textColor:{type:"string"},citeColor:{type:"string"},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{contentText:T("A testimonial is often used to let people know what other people think of you or your product.","hayyabuild"),citeText:"ZintaThemes",align:"center",testimonialStyle:"hb-quote-style1",showStars:!0}},edit:S,save:function(e){var t,a=e.attributes,o=a.contentText,r=a.align,l=a.citeText,i=a.showStars,c=a.testimonialStyle,s=a.citeColor,u=a.textColor,f=a.id,d=a.classesList;return React.createElement("blockquote",{className:n.H.hayyaClasses((t={},N(t,c,c),N(t,"align-"+r,r),t),{classesList:d},f)},React.createElement(I.Content,{tagName:"div",className:"quote",value:o,style:{color:u}}),React.createElement(I.Content,{tagName:"cite",value:l,style:{color:s}}),i&&React.createElement("div",{className:"hb-rating"},React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"}),React.createElement("i",{className:"fa fa-star"})))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?s(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=wp,d=f.i18n.__,p=f.element,y=p.Fragment,b=p.Component,h=f.components,m=h.PanelBody,g=h.SelectControl,v=h.Toolbar,k=f.blockEditor,w=k.BlockControls,E=k.InspectorControls,_=k.InnerBlocks,R=[["hayyabuild/doublesidedboxsides",{side:"front"}],["hayyabuild/doublesidedboxsides",{side:"back"}]],x=function(e){function t(){var e;return r(this,t),(e=i(this,c(t).apply(this,arguments))).state={isFlipped:!1},e.flipRef=React.createRef(),e.flipChange=e.flipChange.bind(s(e)),e}var a,o,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"flipChange",value:function(){var e=this.props.attributes.id,t=this.flipRef.current.querySelector("[data-id=".concat(e,"] > div > div"));t&&(t.classList.contains("flip")?(t.classList.remove("flip"),this.setState({isFlipped:!1})):(t.classList.add("flip"),this.setState({isFlipped:!0})))}},{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,o=t.setAttributes,r=(t.className,t.name),l=a.type,i=a.id,c=a.classesList;n.H.blockID(i,r,o);var s,u,f,p=function(){return{icon:"update",title:d("Flip","hayyabuild"),isActive:!!e.state.isFlipped,onClick:e.flipChange}};return React.createElement(y,null,React.createElement(w,null,React.createElement(v,{controls:["update"].map(p)})),React.createElement(E,null,React.createElement(m,{title:d("Double Sided Box Settings","hayyabuild")},React.createElement(v,{controls:["update"].map(p)}),React.createElement(g,{label:d("Sliding type","hayyabuild"),value:l,options:[{label:d("Flipping","hayyabuild"),key:"flip",value:"flip"},{label:d("Flipping up","hayyabuild"),key:"flipup",value:"flipup"},{label:d("Slide up","hayyabuild"),key:"slideup",value:"slideup"},{label:d("Slide right","hayyabuild"),key:"slideright",value:"slideright"},{label:d("Slide down","hayyabuild"),key:"slidedown",value:"slidedown"},{label:d("Slide left","hayyabuild"),key:"slideleft",value:"slideleft"}],onChange:function(e){return o({type:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:d("HayyaBuild Options","hayyabuild"),styleTitle:d("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:i,elementStyle:".".concat(i),value:{classesList:c,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-doublesidedbox",(s={},u="hayyabuild-doublesidedbox--".concat(l),f=l,u in s?Object.defineProperty(s,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[u]=f,s),{classesList:c},i),ref:this.flipRef},React.createElement("div",{class:"hayyabuild-doublesidedbox__container","data-id":i},React.createElement(_,{allowedBlocks:["hayyabuild/doublesidedboxsides"],template:R,templateLock:"all"}))))}}])&&l(a.prototype,o),f&&l(a,f),t}(b);a.d(t,"name",(function(){return L})),a.d(t,"settings",(function(){return N}));var C=wp,S=C.i18n.__,O=C.blockEditor.InnerBlocks,L="hayyabuild/doublesidedbox",N={title:S("Double Sided Box","hayyabuild"),icon:n.H.iconStyle("update"),description:S("It`s a box with tow faces the first one is visible and the second one is hidden, but when hover/tap over it the second one will be visible and the first one will be hidden.","hayyabuild"),category:"hayyabuild",attributes:{type:{type:"string",default:"flip"},id:{type:"string"},classesList:{type:"string",default:""}},edit:x,save:function(e){var t,a,o,r=e.attributes,l=r.type,i=r.id,c=r.classesList;return React.createElement("div",{className:n.H.hayyaClasses((t={},a="hayyabuild-doublesidedbox--".concat(l),o=l,a in t?Object.defineProperty(t,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[a]=o,t),{classesList:c},i)},React.createElement("div",{class:"hayyabuild-doublesidedbox__container"},React.createElement(O.Content,null)))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=wp,f=u.i18n.__,d=u.element,p=d.Fragment,y=d.Component,b=u.components,h=b.PanelBody,m=b.ToggleControl,g=u.blockEditor.InspectorControls,v=u.blockEditor.InnerBlocks,k=[["hayyabuild/accordionpanel",{}],["hayyabuild/accordionpanel",{}],["hayyabuild/accordionpanel",{}]],w=function(e){function t(){var e;return r(this,t),(e=i(this,c(t).apply(this,arguments))).state={isFlipped:!1},e}var a,o,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),a=t,(o=[{key:"flipChange",value:function(){var e=this.props.attributes.id,t=this.flipRef.current.querySelector("[data-id=".concat(e,"] > div > div"));t&&(t.classList.contains("flip")?(t.classList.remove("flip"),this.setState({isFlipped:!1})):(t.classList.add("flip"),this.setState({isFlipped:!0})))}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.name),r=t.vertical,l=t.expandable,i=t.hideplus,c=t.id,s=t.classesList;return n.H.blockID(c,o,a),React.createElement(p,null,React.createElement(g,null,React.createElement(h,{title:f("Accordion Settings","hayyabuild")},React.createElement(m,{label:f("Vertical","hayyabuild"),checked:!!r,onChange:function(){return a({vertical:!r})}}),React.createElement(m,{label:f("Expandable","hayyabuild"),checked:!!l,onChange:function(){return a({expandable:!l})}}),React.createElement(m,{label:f("Hide Plus Icon","hayyabuild"),checked:!!i,onChange:function(){return a({hideplus:!i})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:f("HayyaBuild Options","hayyabuild"),styleTitle:f("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:c,elementStyle:".".concat(c),value:{classesList:s,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses({"hayyabuild-accordion--expandable":l,"hayyabuild-accordion--hideplus":i},{classesList:s},c)},React.createElement(v,{allowedBlocks:["hayyabuild/accordionpanel"],template:k,templateLock:!1})))}}])&&l(a.prototype,o),u&&l(a,u),t}(y);a.d(t,"name",(function(){return x})),a.d(t,"settings",(function(){return C}));var E=wp,_=E.i18n.__,R=E.blockEditor.InnerBlocks,x="hayyabuild/accordion",C={title:_("Accordion","hayyabuild"),icon:n.H.iconStyle("feedback"),description:_("The Accordion is a block that organizes content within collapsable items.","hayyabuild"),category:"hayyabuild",attributes:{vertical:{type:"boolean",default:!1},expandable:{type:"boolean",default:!1},hideplus:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},example:{innerBlocks:[{name:"hayyabuild/accordionpanel",attributes:{icon:"fa fa-home",title:_("Accordion Title 1","hayyabuild")}},{name:"hayyabuild/accordionpanel",attributes:{icon:"fa fa-tachometer-alt",title:_("Accordion Title 2","hayyabuild")}},{name:"hayyabuild/accordionpanel",attributes:{icon:"fa fa-shopping-cart",title:_("Accordion Title 3","hayyabuild")}}]},edit:w,save:function(e){var t=e.attributes,a=t.vertical,o=t.expandable,r=t.hideplus,l=t.id,i=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses({"hayyabuild-accordion--expandable":o,"hayyabuild-accordion--hideplus":r,"hayyabuild-accordion--vertical":a},{classesList:i},l)},React.createElement(R.Content,null))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?s(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=wp,d=f.i18n.__,p=f.element,y=p.Fragment,b=p.Component,h=f.components,m=h.PanelBody,g=h.ToggleControl,v=f.blockEditor,k=v.InspectorControls,w=v.RichText,E=f.blockEditor.InnerBlocks,_=function(e){function t(){var e;return r(this,t),(e=i(this,c(t).apply(this,arguments))).state={isExpanded:!1},e.collapseExpandRef=React.createRef(),e.bodyRef=React.createRef(),e.collapseExpand=e.collapseExpand.bind(s(e)),e}var a,o,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"collapseExpand",value:function(){this.setState({isExpanded:!this.state.isExpanded})}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.name),r=t.title,l=t.icon,i=t.active,c=t.alwaysactive,s=t.id,u=t.classesList;return n.H.blockID(s,o,a),React.createElement(y,null,React.createElement(k,null,React.createElement(m,{title:d("Accordion Item Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(n.H.SelectIcon,{title:d("Icon","hayyabuild"),classPlaceholder:d("Insert icon class","hayyabuild"),fliterPlaceholder:d("Search for icon","hayyabuild"),value:l,onSelect:function(e){return a({icon:e})}}),React.createElement(g,{label:d("Always expanded","hayyabuild"),checked:!!c,onChange:function(){return a({alwaysactive:!c})}}),!c&&React.createElement(g,{label:d("Expand when load","hayyabuild"),checked:!!i,onChange:function(){return a({active:!i})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:d("HayyaBuild Options","hayyabuild"),styleTitle:d("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:s,elementStyle:".".concat(s),value:{classesList:u,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0}}))),React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-accordion__content",{"hayyabuild-accordion__content--alwaysactive":!!c,active:!!i},{classesList:u},s)},React.createElement("div",{className:"hayyabuild-accordion__content__header"},l&&React.createElement("i",{className:l}),React.createElement(w,{tagName:"span",className:"hayyabuild-accordion__content__header__title",value:r,placeholder:d("Insert Accordion Title","hayyabuild"),onChange:function(e){return a({title:e})}}),React.createElement("i",{className:n.H.hayyaClasses("collapse-expand",{expanded:!!this.state.isExpanded}),onClick:this.collapseExpand,ref:this.collapseExpandRef})),React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-accordion__content__body",{expanded:!!this.state.isExpanded})},React.createElement(E,{templateLock:!1}))))}}])&&l(a.prototype,o),f&&l(a,f),t}(b);a.d(t,"name",(function(){return O})),a.d(t,"settings",(function(){return L}));var R=wp,x=R.i18n.__,C=R.blockEditor.RichText,S=R.blockEditor.InnerBlocks,O="hayyabuild/accordionpanel",L={title:x("Accordion Panel","hayyabuild"),icon:n.H.iconStyle("feedback"),category:"hayyabuild",attributes:{title:{type:"text",source:"children",selector:".hayyabuild-accordion__content__header__title"},icon:{type:"string",source:"attribute",attribute:"class",selector:".hayyabuild-accordion__content__header i",default:""},active:{type:"boolean",default:!1},alwaysactive:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/accordion"],edit:_,save:function(e){var t=e.attributes,a=(e.className,t.title),o=t.icon,r=t.active,l=t.alwaysactive,i=t.id,c=t.classesList;return React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-accordion__content",{"hayyabuild-accordion__content--alwaysactive":!!l,active:!!r},{classesList:c},i)},React.createElement("div",{className:"hayyabuild-accordion__content__header"},o&&React.createElement("i",{className:o}),React.createElement(C.Content,{tagName:"span",className:"hayyabuild-accordion__content__header__title",value:a})),React.createElement("div",{className:"hayyabuild-accordion__content__body"},React.createElement(S.Content,null)))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(22),r=a.n(o);function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d=wp,p=d.i18n.__,y=d.element,b=y.Fragment,h=y.Component,m=d.components,g=m.PanelBody,v=m.ToggleControl,k=m.SelectControl,w=d.blockEditor,E=w.InspectorControls,_=w.AlignmentToolbar,R=w.InnerBlocks,x=[["hayyabuild/tabstab",{}],["hayyabuild/tabstab",{}],["hayyabuild/tabstab",{}]],C=function(e){function t(){var e;return l(this,t),(e=c(this,s(t).apply(this,arguments))).state={isFlipped:!1},e}var a,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.clientId),r=e.name,l=t.align,i=(t.vertical,t.expandable,t.hideplus),c=t.list,s=t.effect,u=t.id,d=t.classesList;return n.H.blockID(u,r,a),function(){var e=wp.data.select("core/block-editor").getBlock(o);if(e){var t={};e.innerBlocks.forEach((function(e){e.attributes.id&&(t[e.attributes.id]={id:e.attributes.id,title:e.attributes.title,icon:e.attributes.icon,active:e.attributes.active})})),t&&(function(e,t){"object"!==f(t)&&(t={});var a=Object.keys(e),n=a.length,o=Object.keys(t);if(n!==o.length)return!1;for(var r=n;r--;){if(a[r]!==o[r])return!1;var l=e[a[r]],i=t[o[r]];if(l.title!==i.title||l.icon!==i.icon||l.active!==i.active)return!1}return!0}(t,c)||a({list:t}))}}(),React.createElement(b,null,React.createElement(E,null,React.createElement(g,{title:p("Tabs Settings","hayyabuild")},React.createElement(_,{label:p("Tabs Alignment","hayyabuild"),value:l,onChange:function(e){return a({align:e})}}),React.createElement(v,{label:p("Hide Plus Icon","hayyabuild"),checked:!!i,onChange:function(){return a({hideplus:!i})}}),React.createElement(k,{label:p("Effect","hayyabuild"),value:s,options:[{label:p("None","hayyabuild"),Key:"none",value:""},{label:p("Fade","hayyabuild"),Key:"fade",value:"fade"},{label:p("Slide Up","hayyabuild"),Key:"slideup",value:"slideup"},{label:p("Swipe Up","hayyabuild"),Key:"swipeup",value:"swipeup"},{label:p("Swipe Left","hayyabuild"),Key:"swipeleft",value:"swipeleft"}],onChange:function(e){return a({effect:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:p("HayyaBuild Options","hayyabuild"),styleTitle:p("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:u,elementStyle:".".concat(u),value:{classesList:d,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses({"hayyabuild-tabs--hideplus":i},{classesList:d},u)},React.createElement(R,{template:x,allowedBlocks:["hayyabuild/tabstab"],defaultBlock:"hayyabuild/tabstab",templateLock:!1})))}}])&&i(a.prototype,o),r&&i(a,r),t}(h);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return T})),a.d(t,"settings",(function(){return I}));var L=wp,N=L.i18n.__,H=L.blockEditor.InnerBlocks,T="hayyabuild/tabs",I={title:N("Tabs","hayyabuild"),description:N("Tabs are components which separate content placed in the same wrapper but in the separate pane.","hayyabuild"),icon:n.H.iconStyle(r.a),category:"hayyabuild",attributes:{vertical:{type:"boolean",default:!1},align:{type:"string"},hideplus:{type:"boolean",default:!1},effect:{type:"string"},list:{type:"object"},id:{type:"string"},classesList:{type:"string",default:""}},example:{innerBlocks:[{name:"hayyabuild/tabstab",attributes:{icon:"fa fa-home",title:N("Tab Title 1","hayyabuild")}},{name:"hayyabuild/tabstab",attributes:{icon:"fa fa-tachometer-alt",title:N("Tab Title 2","hayyabuild")}},{name:"hayyabuild/tabstab",attributes:{icon:"fa fa-shopping-cart",title:N("Tab Title 3","hayyabuild")}}]},edit:C,save:function(e){e.attributes;var t=e.attributes,a=t.align,o=t.vertical,r=(t.expandable,t.hideplus),l=t.effect,i=t.list,c=t.id,s=t.classesList;e.innerBlocks;return React.createElement("div",{className:n.H.hayyaClasses(O({"hayyabuild-tabs--hideplus":!!r,"hayyabuild-tabs--vertical":!!o},"hayyabuild-tabs--".concat(l),!!l),{classesList:s},c)},function(){if(i){var e=n.H.hayyaClasses("hayyabuild-tabs__tabs",O({},"hayyabuild-tabs__tabs--".concat(a),!!a));return React.createElement("ul",{className:e},Object.keys(i).map((function(e,t){if(i[e]&&"object"===S(i[e])){var a=i[e].active?"active":null;return React.createElement("li",{className:a},React.createElement("a",{href:"#".concat(e)},i[e].icon&&React.createElement("i",{className:i[e].icon}),i[e].title))}})))}}(),React.createElement("div",{className:"hayyabuild-tabs__content"},React.createElement(H.Content,null)))}}},function(e,t,a){"use strict";a.r(t);var n=a(0),o=a(23),r=a.n(o);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?f(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp,y=p.i18n.__,b=p.element,h=b.Fragment,m=b.Component,g=p.components,v=g.PanelBody,k=g.ToggleControl,w=p.blockEditor,E=w.RichText,_=w.InspectorControls,R=w.InnerBlocks,x=function(e){function t(){var e;return i(this,t),(e=s(this,u(t).apply(this,arguments))).state={isExpanded:!1},e.collapseExpandRef=React.createRef(),e.bodyRef=React.createRef(),e.collapseExpand=e.collapseExpand.bind(f(e)),e}var a,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),a=t,(o=[{key:"collapseExpand",value:function(){this.setState({isExpanded:!this.state.isExpanded})}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.name),r=t.title,l=t.icon,i=t.active,c=(t.alwaysactive,t.id),s=t.classesList;return n.H.blockID(c,o,a),React.createElement(h,null,React.createElement(_,null,React.createElement(v,{title:y("Tab Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(n.H.SelectIcon,{title:y("Icon","hayyabuild"),classPlaceholder:y("Insert icon class","hayyabuild"),fliterPlaceholder:y("Search for icon","hayyabuild"),value:l,onSelect:function(e){return a({icon:e})}}),React.createElement(k,{label:y("Active","hayyabuild"),checked:!!i,onChange:function(){return a({active:!i})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:y("HayyaBuild Options","hayyabuild"),styleTitle:y("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:c,elementStyle:".".concat(c),value:{classesList:s,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})}}))),React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-tabs__body",{active:!!i},{classesList:s},c)},React.createElement("div",{className:"hayyabuild-tabs__header"},l&&React.createElement("i",{className:l}),React.createElement(E,{tagName:"span",className:"hayyabuild-tabs__header__title",value:r,placeholder:y("Insert Tab Title","hayyabuild"),onChange:function(e){return a({title:e})}}),React.createElement("i",{className:n.H.hayyaClasses("collapse-expand",{expanded:!!this.state.isExpanded}),onClick:this.collapseExpand,ref:this.collapseExpandRef})),React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-tabs__body__content",{expanded:!!this.state.isExpanded})},React.createElement(R,{templateLock:!1}))))}}])&&c(a.prototype,o),r&&c(a,r),t}(m);a.d(t,"name",(function(){return L})),a.d(t,"settings",(function(){return N}));var C=wp,S=C.i18n.__,O=C.blockEditor.InnerBlocks,L="hayyabuild/tabstab",N={title:S("Tab","hayyabuild"),icon:n.H.iconStyle(r.a),category:"hayyabuild",attributes:{title:{type:"text",default:""},icon:{type:"string",default:""},active:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string",default:""}},parent:["hayyabuild/tabs"],edit:x,save:function(e){var t=e.attributes,a=(e.className,t.title,t.icon,t.active),o=(t.alwaysactive,t.id),r=t.classesList;return React.createElement("div",{id:o,className:n.H.hayyaClasses("hayyabuild-tabs__body",{active:!!a},{classesList:r},o)},React.createElement(O.Content,null))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=wp,d=f.i18n.__,p=f.element,y=p.Fragment,b=p.Component,h=f.components,m=h.PanelBody,g=h.ToggleControl,v=h.SelectControl,k=h.TextControl,w=h.RangeControl,E=f.editor.MediaPlaceholder,_=f.blockEditor,R=_.RichText,x=_.InspectorControls,C=function(e){function t(){return l(this,t),c(this,s(t).apply(this,arguments))}var a,o,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e,t=this.props,a=t.attributes,o=t.setAttributes,l=t.className,i=t.name,c=a.image,s=a.imgtitle,u=a.icon,f=a.iconsize,p=a.shadow,b=a.hovereffect,h=a.title,_=a.text,C=a.btntitle,S=a.btnlink,O=a.waveeffect,L=a.wavestyle,N=a.id,H=a.classesList;return n.H.blockID(N,i,o),React.createElement(y,null,React.createElement(x,null,React.createElement(m,{title:d("Card Settings","hayyabuild")},React.createElement(n.H.getPro,null),React.createElement(n.H.SelectIcon,{title:d("Card Icon","hayyabuild"),classPlaceholder:d("Insert icon class","hayyabuild"),fliterPlaceholder:d("Search for icon","hayyabuild"),value:u,onSelect:function(e){return o({icon:e})}}),u&&React.createElement(w,{label:d("Icons size","hayyabuild"),value:f,onChange:function(e){return o({iconsize:e})},min:1,max:10}),React.createElement(v,{label:d("Hover Effect","hayyabuild"),value:b,options:[{label:d("Empty","hayyabuild"),Key:"empty",value:""},{label:d("Slide Right","hayyabuild"),Key:"slideright",value:"slideright"},{label:d("Slide up","hayyabuild"),Key:"slideup",value:"slideup"},{label:d("Slide Down","hayyabuild"),Key:"slidedown",value:"slidedown"},{label:d("Slide Left","hayyabuild"),Key:"slideleft",value:"slideleft"},{label:d("Scale In","hayyabuild"),Key:"scalein",value:"scalein"},{label:d("Rotate","hayyabuild"),Key:"rotate",value:"rotate"}],onChange:function(e){return o({hovereffect:e})}}),React.createElement(g,{label:d("Shadow Effect","hayyabuild"),checked:!!p,onChange:function(){return o({shadow:!p})}}),React.createElement(g,{label:d("Wave Effect","hayyabuild"),checked:!!O,onChange:function(){return o({waveeffect:!O})}}),!!O&&React.createElement(v,{label:d("Effect color","hayyabuild"),value:L,options:[{label:d("Light","hayyabuild"),Key:"light",value:"light"},{label:d("Red","hayyabuild"),Key:"red",value:"red"},{label:d("Yellow","hayyabuild"),Key:"yellow",value:"yellow"},{label:d("Orange","hayyabuild"),Key:"orange",value:"orange"},{label:d("Purple","hayyabuild"),Key:"purple",value:"purple"},{label:d("Green","hayyabuild"),Key:"green",value:"green"},{label:d("Teal","hayyabuild"),Key:"teal",value:"teal"}],onChange:function(e){return o({wavestyle:e})}}),React.createElement("div",{className:"hayyabuild__admin__block__image",style:{backgroundImage:"url(".concat(c,")")}},React.createElement("button",{href:"#",className:"components-button components-circular-option-picker__clear is-secondary is-small remove-image",onClick:function(){return o({image:void 0})},type:"button"},d("Clear","hayyabuild")),React.createElement(E,{onSelect:function(e){o({image:e.url})},allowedTypes:["image","video"],multiple:!1,labels:{title:d("Card Image","hayyabuild"),instructions:d("Keep it empty to display icon instead.","hayyabuild")}})),React.createElement(k,{label:d("Image title","hayyabuild"),value:s,onChange:function(e){return o({imgtitle:e})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:d("HayyaBuild Options","hayyabuild"),styleTitle:d("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:N,elementStyle:".".concat(N),onChange:function(e){return o({classesList:e.classesList})},value:{classesList:H,inlineStyle:!0},lite:{style:!0}})),React.createElement(m,{title:d("Button Settings","hayyabuild")},React.createElement(k,{label:d("Button title","hayyabuild"),value:C,onChange:function(e){return o({btntitle:e})}}),React.createElement(k,{label:d("Button Link","hayyabuild"),value:S,onChange:function(e){return o({btnlink:e})}}))),React.createElement("div",{className:n.H.hayyaClasses("wp-block-hayyabuild-card",(e={},r(e,"".concat(l),!0),r(e,"hayyabuild-card--shadow",!!p),r(e,"hayyabuild-card--".concat(b),!!b),r(e,"waves-effect",!!O),r(e,"waves-".concat(L),!!O&&!!L),e),{classesList:H},N)},React.createElement("div",{class:"hayyabuild-card__header"},c&&React.createElement("img",{title:s,className:"hayyabuild-card__header__image",src:c}),u&&!c&&React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-card__header__icon","hayyabuild-card__header__icon--size-".concat(f))},React.createElement("i",{class:u})),React.createElement(R,{tagName:"div",className:"hayyabuild-card__header__title",value:h,placeholder:d("Add card title","hayyabuild"),onChange:function(e){return o({title:e})},allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"]})),React.createElement("div",{class:"hayyabuild-card__body"},React.createElement("div",{className:"hayyabuild-card__body__content"},React.createElement(R,{tagName:"div",value:_,placeholder:d("Add card text","hayyabuild"),onChange:function(e){return o({text:e})},allowedFormats:["core/bold","core/italic","core/image","core/strikethrough","core/link","core/code"]}),C&&S&&React.createElement("a",{title:C,href:S,className:n.H.hayyaClasses("hayyabuild-card__body__button",r({"waves-effect":!!O},"waves-".concat(L),!!O&&!!L))},C)))))}}])&&i(a.prototype,o),f&&i(a,f),t}(b);function S(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return H})),a.d(t,"settings",(function(){return T}));var O=wp,L=O.i18n.__,N=O.blockEditor.RichText,H="hayyabuild/card",T={title:L("Info Card","hayyabuild"),description:L("Information cards are personal digital identities that people can use online, and the key component of an identity metasystem.","hayyabuild"),icon:n.H.iconStyle("id"),category:"hayyabuild",attributes:{image:{type:"url",source:"attribute",attribute:"src",selector:".hayyabuild-card__header__image"},imgtitle:{type:"string",source:"attribute",attribute:"title",selector:".hayyabuild-card__header__image",default:""},icon:{type:"string",source:"attribute",attribute:"class",selector:".hayyabuild-card__header__icon > i"},iconsize:{type:"number",default:3},shadow:{type:"string",source:"attribute",attribute:"class",selector:".hayyabuild-card--shadow"},hovereffect:{type:"string"},title:{type:"text",source:"children",selector:".hayyabuild-card__header__title"},text:{type:"text",source:"children",selector:".hayyabuild-card__body__content > div"},btntitle:{type:"string",source:"attribute",attribute:"title",selector:".hayyabuild-card__body__button"},btnlink:{type:"url",source:"attribute",attribute:"href",selector:".hayyabuild-card__body__button"},waveeffect:{type:"string",source:"attribute",attribute:"class",selector:".waves-effect"},wavestyle:{type:"string",default:"light"},id:{type:"string"},classesList:{type:"string",default:""}},example:{attributes:{icon:"fa fa-shopping-cart",shadow:!0,title:L("Card Title","hayyabuild"),text:L("Information cards are personal digital identities that people can use online, and the key component of an identity metasystem.","hayyabuild"),btntitle:L("Card Button","hayyabuild"),btnlink:"#"}},edit:C,save:function(e){var t,a=e.attributes,o=a.image,r=a.imgtitle,l=a.icon,i=a.iconsize,c=a.shadow,s=a.hovereffect,u=a.title,f=a.text,d=a.btntitle,p=a.btnlink,y=a.waveeffect,b=a.wavestyle,h=a.id,m=a.classesList,g=1===u.length&&""!==u[0]||u.length>1;return React.createElement("div",{className:n.H.hayyaClasses((t={"hayyabuild-card--shadow":!!c},S(t,"hayyabuild-card--".concat(s),!!s),S(t,"waves-effect",!!y),S(t,"waves-".concat(b),!!y&&!!b),t),{classesList:m},h)},React.createElement("div",{class:"hayyabuild-card__header"},o&&React.createElement("img",{title:r,className:"hayyabuild-card__header__image",src:o}),l&&!o&&React.createElement("div",{className:n.H.hayyaClasses("hayyabuild-card__header__icon","hayyabuild-card__header__icon--size-".concat(i))},React.createElement("i",{class:l})),g&&React.createElement(N.Content,{tagName:"div",className:"hayyabuild-card__header__title",value:u})),React.createElement("div",{class:"hayyabuild-card__body"},React.createElement("div",{className:"hayyabuild-card__body__content"},React.createElement(N.Content,{tagName:"div",className:"hayyabuild-card__body__content",value:f}),d&&p&&React.createElement("a",{title:d,href:p,className:n.H.hayyaClasses("hayyabuild-card__body__button",S({"waves-effect":!!y},"waves-".concat(b),!!y&&!!b))},d))))}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}lodash.range;var f=wp,d=f.i18n,p=d.__,y=(d.sprintf,f.element),b=(y.Platform,y.Fragment),h=y.Component,m=f.components,g=m.PanelBody,v=(m.Toolbar,m.ToggleControl),k=f.blockEditor,w=k.RichText,E=k.BlockControls,_=k.AlignmentToolbar,R=k.InspectorControls,x=function(e){function t(){return l(this,t),c(this,s(t).apply(this,arguments))}var a,o,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),a=t,(o=[{key:"render",value:function(){var e,t=this.props,a=t.attributes,o=t.setAttributes,l=t.className,i=t.name,c=a.content,s=a.align,u=a.dropCap,f=a.id,d=a.classesList;return n.H.blockID(f,i,o),React.createElement(b,null,React.createElement(E,null,React.createElement(_,{value:s,onChange:function(e){return o({align:e})}})),React.createElement(R,null,React.createElement(g,{title:p("Paragraph Settings","hayyabuild")},React.createElement(v,{label:p("Drop Cap","hayyabuild"),checked:!!u,onChange:function(){return o({dropCap:!u})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:p("HayyaBuild Options","hayyabuild"),styleTitle:p("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:f,elementStyle:".".concat(f),value:{classesList:d,inlineStyle:!0},onChange:function(e){return o({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}}))),React.createElement(w,{tagName:"p",onChange:function(e){return o({content:e})},value:c,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough","core/link","core/code"],className:n.H.hayyaClasses(l,(e={},r(e,s+"-text",!!s),r(e,"has-drop-cap",!!u),e),{classesList:d},f)}))}}])&&i(a.prototype,o),f&&i(a,f),t}(h);function C(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"name",(function(){return N})),a.d(t,"settings",(function(){return H}));var S=wp,O=S.i18n.__,L=S.blockEditor.RichText,N="hayyabuild/paragraph",H={title:O("Advanced Paragraph","hayyabuild"),description:O("You can use this block to separate the content vertically.","hayyabuild"),icon:n.H.iconStyle("editor-paragraph"),category:"hayyabuild",attributes:{content:{type:"array",source:"children",selector:"p"},align:{type:"string"},dropCap:{type:"boolean",default:!1},id:{type:"string"},classesList:{type:"string"}},example:{attributes:{content:O("HayyaBuild is working with the new WordPress editor aka Gutenberg that makes it very lightweight, extendable and efficient. So it’s possible to use HayyaBuild blocks with pages, posts or any posts type that uses Gutenberg editor.","hayyabuild")}},styles:[{name:"default",label:O("Default","hayyabuild"),isDefault:!0},{name:"two-columns",label:O("Two column","hayyabuild")},{name:"three-columns",label:O("Three column","hayyabuild")}],edit:x,save:function(e){var t,a=e.attributes,o=(e.setAttributes,a.content),r=a.align,l=a.dropCap,i=a.id,c=a.classesList;return o.length>0&&""!==o[0]&&React.createElement(L.Content,{tagName:"p",value:o,className:n.H.hayyaClasses((t={},C(t,r+"-text",!!r),C(t,"has-drop-cap",!!l),t),{classesList:c},i)})}}},function(e,t,a){"use strict";a.r(t);var n=a(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}lodash.range;var u=wp,f=u.i18n,d=f.__,p=(f.sprintf,u.element),y=(p.Platform,p.Fragment),b=p.Component,h=u.components,m=h.PanelBody,g=(h.Toolbar,h.DateTimePicker),v=h.ToggleControl,k=h.SelectControl,w=h.TextControl,E=u.blockEditor,_=E.RichText,R=(E.BlockControls,E.AlignmentToolbar,E.InspectorControls),x="hayyabuild-countdown",C=function(e){function t(){return r(this,t),i(this,c(t).apply(this,arguments))}var a,o,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),a=t,(o=[{key:"timeOutput",value:function(e){var t=e-(new Date).getTime(),a=Math.floor(t/864e5),n=Math.floor(t%864e5/36e5),o=Math.floor(t%36e5/6e4),r=Math.floor(t%6e4/1e3);return{weeks:Math.floor(a/7),days:a,hours:1==="".concat(n).length?"0".concat(n):n,minutes:1==="".concat(o).length?"0".concat(o):o,seconds:1==="".concat(r).length?"0".concat(r):r}}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,o=(e.className,e.name),r=t.time,l=t.showWeeks,i=t.action,c=t.url,s=t.hide,u=t.weeksTitle,f=t.daysTitle,p=t.hoursTitle,b=t.minutesTitle,h=t.secondsTitle,E=t.id,C=t.classesList;n.H.blockID(E,o,a),r||a({time:(new Date).getTime()+864e5});var S=this.timeOutput(r);return React.createElement(y,null,React.createElement(R,null,React.createElement(m,{title:d("Time Setting","hayyabuild")},React.createElement(g,{is12Hour:!0,currentDate:new Date(r-0),onChange:function(e){return a({time:new Date(e).getTime()})}})),React.createElement(m,{title:d("Countdown Settings","hayyabuild")},React.createElement(v,{label:d("Show Weeks","hayyabuild"),checked:!!l,onChange:function(){a({showWeeks:!l})}}),React.createElement(n.H.BlocksOptions,{optionsTitle:d("HayyaBuild Options","hayyabuild"),styleTitle:d("HayyaBuild Inline Style","hayyabuild"),icon:"fa fa-cogs",elementID:E,elementStyle:".".concat(E," > .").concat(x,"__timer > div"),value:{classesList:C,inlineStyle:!0},onChange:function(e){return a({classesList:e.classesList})},lite:{style:!0,scroll:!0,hover:!0}})),React.createElement(m,{title:d("After Finishing","hayyabuild")},React.createElement(k,{label:d("Action","hayyabuild"),value:i,options:[{label:d("None","hayyabuild"),Key:"none",value:"none"},{label:d("Redirect to URL","hayyabuild"),Key:"redirect",value:"redirect"},{label:d("Refresh Page","hayyabuild"),Key:"refresh",value:"refresh"}],onChange:function(e){return a({action:e})}}),"redirect"===i&&React.createElement(w,{label:d("URL","hayyabuild"),value:c,onChange:function(e){return a({url:e})}}),React.createElement(v,{label:d("Hide Timer","hayyabuild"),checked:!!s,onChange:function(){a({hide:!s})}}))),React.createElement("div",{className:n.H.hayyaClasses(x,{classesList:C},E),"data-time":r},React.createElement("div",{className:"".concat(x,"__timer")},l&&React.createElement("div",{className:"weeks"},React.createElement("span",{className:"value"},S.weeks),React.createElement(_,{tagName:"span",onChange:function(e){return a({weeksTitle:e})},value:u,className:"title",placeholder:d("Weeks","hayyabuild"),allowedFormats:["core/bold","core/italic"]})),React.createElement("div",{className:"days"},React.createElement("span",{className:"value"},l?S.days%7:S.days),React.createElement(_,{tagName:"span",onChange:function(e){return a({daysTitle:e})},value:f,className:"title",placeholder:d("Days","hayyabuild"),allowedFormats:["core/bold","core/italic"]})),React.createElement("div",{className:"hours"},React.createElement("span",{className:"value"},S.hours),React.createElement(_,{tagName:"span",onChange:function(e){return a({hoursTitle:e})},value:p,className:"title",placeholder:d("Hours","hayyabuild"),allowedFormats:["core/bold","core/italic"]})),React.createElement("div",{className:"minutes"},React.createElement("span",{className:"value"},S.minutes),React.createElement(_,{tagName:"span",onChange:function(e){return a({minutesTitle:e})},value:b,className:"title",placeholder:d("Minutes","hayyabuild"),allowedFormats:["core/bold","core/italic"]})),React.createElement("div",{className:"seconds"},React.createElement("span",{className:"value"},S.seconds),React.createElement(_,{tagName:"span",onChange:function(e){return a({secondsTitle:e})},value:h,className:"title",placeholder:d("Seconds","hayyabuild"),allowedFormats:["core/bold","core/italic"]})))))}}])&&l(a.prototype,o),u&&l(a,u),t}(b);function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}a.d(t,"name",(function(){return H})),a.d(t,"settings",(function(){return I}));var O=wp,L=O.i18n.__,N=O.blockEditor.RichText,H="hayyabuild/countdown",T={time:{type:"string",source:"attribute",attribute:"data-time",selector:".".concat("hayyabuild-countdown")},showWeeks:{type:"boolean",default:!1},action:{type:"string",source:"attribute",attribute:"data-action",selector:".".concat("hayyabuild-countdown")},url:{type:"string",source:"attribute",attribute:"data-url",selector:".".concat("hayyabuild-countdown")},hide:{type:"boolean",default:!1},weeksTitle:{type:"array",source:"children",selector:".weeks .title",default:L("Weeks","hayyabuild")},daysTitle:{type:"array",source:"children",selector:".days .title",default:L("Days","hayyabuild")},hoursTitle:{type:"array",source:"children",selector:".hours .title",default:L("Hours","hayyabuild")},minutesTitle:{type:"array",source:"children",selector:".minutes .title",default:L("Minutes","hayyabuild")},secondsTitle:{type:"array",source:"children",selector:".seconds .title",default:L("Seconds","hayyabuild")},id:{type:"string"},classesList:{type:"string"}},I={title:L("Countdow","hayyabuild"),description:L("You can use this block to separate the content vertically.","hayyabuild"),icon:n.H.iconStyle("backup"),category:"hayyabuild",attributes:T,edit:C,save:function(e){var t=e.attributes,a=(e.setAttributes,t.time),o=t.showWeeks,r=t.action,l=t.url,i=t.hide,c=t.weeksTitle,s=t.daysTitle,u=t.hoursTitle,f=t.minutesTitle,d=t.secondsTitle,p=t.id,y=t.classesList;return React.createElement("div",S({className:n.H.hayyaClasses("hayyabuild-countdown",{classesList:y},p),"data-time":a,"data-action":r},"redirect"===r&&l?{"data-url":l}:{},i?{"data-hide":"hide"}:{}),React.createElement("div",{className:"".concat("hayyabuild-countdown","__timer")},o&&React.createElement("div",{className:"weeks"},React.createElement("span",{className:"value"},"00"),c&&React.createElement(N.Content,{tagName:"span",value:c,className:"title"})),React.createElement("div",{className:"days"},React.createElement("span",{className:"value"},"00"),s&&React.createElement(N.Content,{tagName:"span",value:s,className:"title"})),React.createElement("div",{className:"hours"},React.createElement("span",{className:"value"},"00"),u&&React.createElement(N.Content,{tagName:"span",value:u,className:"title"})),React.createElement("div",{className:"minutes"},React.createElement("span",{className:"value"},"00"),f&&React.createElement(N.Content,{tagName:"span",value:f,className:"title"})),React.createElement("div",{className:"seconds"},React.createElement("span",{className:"value"},"00"),d&&React.createElement(N.Content,{tagName:"span",value:d,className:"title"}))))}}}]); -
hayyabuild/trunk/includes/class-hayyabuild-blocks.php
r2296349 r2333101 78 78 /** 79 79 * Enqueue blocks assets 80 * 80 * 81 81 * @access public 82 82 * @since 1.0.0 83 83 * @var unown 84 * 84 * 85 85 */ 86 86 public function blocks_assets() { … … 95 95 wp_enqueue_script( 96 96 'hayyabuild-blocks', 97 HAYYABUILD_URL . 'admin/assets/js/hayyabuild.bundle. js',97 HAYYABUILD_URL . 'admin/assets/js/hayyabuild.bundle.min.js', 98 98 [ 'leaflet', 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor' ], 99 99 HAYYABUILD_VERSION
Note: See TracChangeset
for help on using the changeset viewer.