| 110 |
*/!function(i,o){"use strict";a=[n(112)],void 0===(r=function(e){return function(e,t){var n=e.jQuery,a=e.console;function r(e,t){for(var n in t)e[n]=t[n];return e}var i=Array.prototype.slice;function o(e,t,l){if(!(this instanceof o))return new o(e,t,l);var s,c=e;("string"==typeof e&&(c=document.querySelectorAll(e)),c)?(this.elements=(s=c,Array.isArray(s)?s:"object"==typeof s&&"number"==typeof s.length?i.call(s):[s]),this.options=r({},this.options),"function"==typeof t?l=t:r(this.options,t),l&&this.on("always",l),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):a.error("Bad element for imagesLoaded "+(c||e))}o.prototype=Object.create(t.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&l[t]){for(var n=e.querySelectorAll("img"),a=0;a<n.length;a++){var r=n[a];this.addImage(r)}if("string"==typeof this.options.background){var i=e.querySelectorAll(this.options.background);for(a=0;a<i.length;a++){var o=i[a];this.addElementBackgroundImages(o)}}}};var l={1:!0,9:!0,11:!0};function s(e){this.img=e}function c(e,t){this.url=e,this.element=t,this.img=new Image}return o.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var n=/url\((['"])?(.*?)\1\)/gi,a=n.exec(t.backgroundImage);null!==a;){var r=a&&a[2];r&&this.addBackground(r,e),a=n.exec(t.backgroundImage)}},o.prototype.addImage=function(e){var t=new s(e);this.images.push(t)},o.prototype.addBackground=function(e,t){var n=new c(e,t);this.images.push(n)},o.prototype.check=function(){var e=this;function t(t,n,a){setTimeout((function(){e.progress(t,n,a)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(e){e.once("progress",t),e.check()})):this.complete()},o.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+n,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},s.prototype=Object.create(t.prototype),s.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},s.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},s.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},s.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},s.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},s.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(s.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},o.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((n=t).fn.imagesLoaded=function(e,t){return new o(this,e,t).jqDeferred.promise(n(this))})},o.makeJQueryPlugin(),o}(i,e)}.apply(t,a))||(e.exports=r)}("undefined"!=typeof window?window:this)},function(e,t,n){var a=n(67),r=n(26),i=n(554),o=n(28),l=n(69),s=n(27),c=Object.prototype.hasOwnProperty,u=i((function(e,t){if(l(t)||o(t))r(t,s(t),e);else for(var n in t)c.call(t,n)&&a(e,n,t[n])}));e.exports=u},function(e,t,n){var a=n(555),r=n(556);e.exports=function(e){return a((function(t,n){var a=-1,i=n.length,o=i>1?n[i-1]:void 0,l=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,l&&r(n[0],n[1],l)&&(o=i<3?void 0:o,i=1),t=Object(t);++a<i;){var s=n[a];s&&e(t,s,a,o)}return t}))}},function(e,t,n){var a=n(110),r=n(163),i=n(164);e.exports=function(e,t){return i(r(e,t,a),e+"")}},function(e,t,n){var a=n(64),r=n(28),i=n(68),o=n(8);e.exports=function(e,t,n){if(!o(n))return!1;var l=typeof t;return!!("number"==l?r(n)&&i(t,n.length):"string"==l&&t in n)&&a(n[t],e)}},function(e,t,n){"use strict";var a=n(301).forEach,r=n(558),i=n(559),o=n(560),l=n(561),s=n(562),c=n(302),u=n(563),p=n(565),d=n(566),m=n(567);function f(e){return Array.isArray(e)||void 0!==e.length}function b(e){if(Array.isArray(e))return e;var t=[];return a(e,(function(e){t.push(e)})),t}function g(e){return e&&1===e.nodeType}function h(e,t,n){var a=e[t];return null==a&&void 0!==n?n:a}e.exports=function(e){var t;if((e=e||{}).idHandler)t={get:function(t){return e.idHandler.get(t,!0)},set:e.idHandler.set};else{var n=o(),v=l({idGenerator:n,stateHandler:p});t=v}var y=e.reporter;y||(y=s(!1===y));var w=h(e,"batchProcessor",u({reporter:y})),k={};k.callOnAdd=!!h(e,"callOnAdd",!0),k.debug=!!h(e,"debug",!1);var _,x=i(t),S=r({stateHandler:p}),E=h(e,"strategy","object"),T=h(e,"important",!1),C={reporter:y,batchProcessor:w,stateHandler:p,idHandler:t,important:T};if("scroll"===E&&(c.isLegacyOpera()?(y.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),E="object"):c.isIE(9)&&(y.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),E="object")),"scroll"===E)_=m(C);else{if("object"!==E)throw new Error("Invalid strategy name: "+E);_=d(C)}var M={};return{listenTo:function(e,n,r){function i(e){var t=x.get(e);a(t,(function(t){t(e)}))}function o(e,t,n){x.add(t,n),e&&n(t)}if(r||(r=n,n=e,e={}),!n)throw new Error("At least one element required.");if(!r)throw new Error("Listener required.");if(g(n))n=[n];else{if(!f(n))return y.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");n=b(n)}var l=0,s=h(e,"callOnAdd",k.callOnAdd),c=h(e,"onReady",(function(){})),u=h(e,"debug",k.debug);a(n,(function(e){p.getState(e)||(p.initState(e),t.set(e));var d=t.get(e);if(u&&y.log("Attaching listener to element",d,e),!S.isDetectable(e))return u&&y.log(d,"Not detectable."),S.isBusy(e)?(u&&y.log(d,"System busy making it detectable"),o(s,e,r),M[d]=M[d]||[],void M[d].push((function(){++l===n.length&&c()}))):(u&&y.log(d,"Making detectable..."),S.markBusy(e,!0),_.makeDetectable({debug:u,important:T},e,(function(e){if(u&&y.log(d,"onElementDetectable"),p.getState(e)){S.markAsDetectable(e),S.markBusy(e,!1),_.addListener(e,i),o(s,e,r);var t=p.getState(e);if(t&&t.startSize){var m=e.offsetWidth,f=e.offsetHeight;t.startSize.width===m&&t.startSize.height===f||i(e)}M[d]&&a(M[d],(function(e){e()}))}else u&&y.log(d,"Element uninstalled before being detectable.");delete M[d],++l===n.length&&c()})));u&&y.log(d,"Already detecable, adding listener."),o(s,e,r),l++})),l===n.length&&c()},removeListener:x.removeListener,removeAllListeners:x.removeAllListeners,uninstall:function(e){if(!e)return y.error("At least one element is required.");if(g(e))e=[e];else{if(!f(e))return y.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=b(e)}a(e,(function(e){x.removeAllListeners(e),_.uninstall(e),p.cleanState(e)}))},initDocument:function(e){_.initDocument&&_.initDocument(e)}}}},function(e,t,n){"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var n=t(e);return n&&!!n.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,n){t(e).busy=!!n}}}},function(e,t,n){"use strict";e.exports=function(e){var t={};function n(n){var a=e.get(n);return void 0===a?[]:t[a]||[]}return{get:n,add:function(n,a){var r=e.get(n);t[r]||(t[r]=[]),t[r].push(a)},removeListener:function(e,t){for(var a=n(e),r=0,i=a.length;r<i;++r)if(a[r]===t){a.splice(r,1);break}},removeAllListeners:function(e){var t=n(e);t&&(t.length=0)}}}},function(e,t,n){"use strict";e.exports=function(){var e=1;return{generate:function(){return e++}}}},function(e,t,n){"use strict";e.exports=function(e){var t=e.idGenerator,n=e.stateHandler.getState;return{get:function(e){var t=n(e);return t&&void 0!==t.id?t.id:null},set:function(e){var a=n(e);if(!a)throw new Error("setId required the element to have a resize detection state.");var r=t.generate();return a.id=r,r}}}},function(e,t,n){"use strict";e.exports=function(e){function t(){}var n={log:t,warn:t,error:t};if(!e&&window.console){var a=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var n=0;n<arguments.length;n++)e(arguments[n])}};a(n,"log"),a(n,"warn"),a(n,"error")}return n}},function(e,t,n){"use strict";var a=n(564);function r(){var e={},t=0,n=0,a=0;return{add:function(r,i){i||(i=r,r=0),r>n?n=r:r<a&&(a=r),e[r]||(e[r]=[]),e[r].push(i),t++},process:function(){for(var t=a;t<=n;t++)for(var r=e[t],i=0;i<r.length;i++){(0,r[i])()}},size:function(){return t}}}e.exports=function(e){var t=(e=e||{}).reporter,n=a.getOption(e,"async",!0),i=a.getOption(e,"auto",!0);i&&!n&&(t&&t.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),n=!0);var o,l=r(),s=!1;function c(){for(s=!0;l.size();){var e=l;l=r(),e.process()}s=!1}function u(){var e;e=c,o=setTimeout(e,0)}return{add:function(e,t){!s&&i&&n&&0===l.size()&&u(),l.add(e,t)},force:function(e){s||(void 0===e&&(e=n),o&&(clearTimeout(o),o=null),e?u():c())}}}},function(e,t,n){"use strict";(e.exports={}).getOption=function(e,t,n){var a=e[t];if(null==a&&void 0!==n)return n;return a}},function(e,t,n){"use strict";function a(e){return e._erd}e.exports={initState:function(e){return e._erd={},a(e)},getState:a,cleanState:function(e){delete e._erd}}},function(e,t,n){"use strict";var a=n(302);e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,r=e.stateHandler.getState;if(!t)throw new Error("Missing required dependency: reporter.");function i(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function o(e){return r(e).object}return{makeDetectable:function(e,o,l){l||(l=o,o=e,e=null),(e=e||{}).debug,a.isIE(8)?l(o):function(o,l){var s=i(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),c=!1,u=window.getComputedStyle(o),p=o.offsetWidth,d=o.offsetHeight;function m(){function n(){if("static"===u.position){o.style.setProperty("position","relative",e.important?"important":"");var n=function(t,n,a,r){var i=a[r];"auto"!==i&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(i)&&(t.warn("An element that is positioned static has style."+r+"="+i+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",n),n.style.setProperty(r,"0",e.important?"important":""))};n(t,o,u,"top"),n(t,o,u,"right"),n(t,o,u,"bottom"),n(t,o,u,"left")}}""!==u.position&&(n(),c=!0);var i=document.createElement("object");i.style.cssText=s,i.tabIndex=-1,i.type="text/html",i.setAttribute("aria-hidden","true"),i.onload=function(){c||n(),function e(t,n){if(!t.contentDocument){var a=r(t);return a.checkForObjectDocumentTimeoutId&&window.clearTimeout(a.checkForObjectDocumentTimeoutId),void(a.checkForObjectDocumentTimeoutId=setTimeout((function(){a.checkForObjectDocumentTimeoutId=0,e(t,n)}),100))}n(t.contentDocument)}(this,(function(e){l(o)}))},a.isIE()||(i.data="about:blank"),r(o)&&(o.appendChild(i),r(o).object=i,a.isIE()&&(i.data="about:blank"))}r(o).startSize={width:p,height:d},n?n.add(m):m()}(o,l)},addListener:function(e,t){function n(){t(e)}if(a.isIE(8))r(e).object={proxy:n},e.attachEvent("onresize",n);else{var i=o(e);if(!i)throw new Error("Element is not detectable by this strategy.");i.contentDocument.defaultView.addEventListener("resize",n)}},uninstall:function(e){if(r(e)){var t=o(e);t&&(a.isIE(8)?e.detachEvent("onresize",t.proxy):e.removeChild(t),r(e).checkForObjectDocumentTimeoutId&&window.clearTimeout(r(e).checkForObjectDocumentTimeoutId),delete r(e).object)}}}}},function(e,t,n){"use strict";var a=n(301).forEach;e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,r=e.stateHandler.getState,i=(e.stateHandler.hasState,e.idHandler);if(!n)throw new Error("Missing required dependency: batchProcessor");if(!t)throw new Error("Missing required dependency: reporter.");var o=function(){var e=document.createElement("div");e.style.cssText=s(["position: absolute","width: 1000px","height: 1000px","visibility: hidden","margin: 0","padding: 0"]);var t=document.createElement("div");t.style.cssText=s(["position: absolute","width: 500px","height: 500px","overflow: scroll","visibility: none","top: -1500px","left: -1500px","visibility: hidden","margin: 0","padding: 0"]),t.appendChild(e),document.body.insertBefore(t,document.body.firstChild);var n=500-t.clientWidth,a=500-t.clientHeight;return document.body.removeChild(t),{width:n,height:a}}();function l(e){!function(e,t,n){if(!e.getElementById(t)){var a=n+"_animation",r=n+"_animation_active",i="/* Created by the element-resize-detector library. */\n";i+="."+n+" > div::-webkit-scrollbar { "+s(["display: none"])+" }\n\n",i+="."+r+" { "+s(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+a,"animation-name: "+a])+" }\n",i+="@-webkit-keyframes "+a+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",function(n,a){a=a||function(t){e.head.appendChild(t)};var r=e.createElement("style");r.innerHTML=n,r.id=t,a(r)}(i+="@keyframes "+a+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}(e,"erd_scroll_detection_scrollbar_style","erd_scroll_detection_container")}function s(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function c(e,n,a){if(e.addEventListener)e.addEventListener(n,a);else{if(!e.attachEvent)return t.error("[scroll] Don't know how to add event listeners.");e.attachEvent("on"+n,a)}}function u(e,n,a){if(e.removeEventListener)e.removeEventListener(n,a);else{if(!e.detachEvent)return t.error("[scroll] Don't know how to remove event listeners.");e.detachEvent("on"+n,a)}}function p(e){return r(e).container.childNodes[0].childNodes[0].childNodes[0]}function d(e){return r(e).container.childNodes[0].childNodes[0].childNodes[1]}return l(window.document),{makeDetectable:function(e,l,u){function m(){if(e.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(i.get(l),"Scroll: "),t.log.apply)t.log.apply(null,n);else for(var a=0;a<n.length;a++)t.log(n[a])}}function f(e){var t=r(e).container.childNodes[0],n=window.getComputedStyle(t);return!n.width||-1===n.width.indexOf("px")}function b(){var e=window.getComputedStyle(l),t={};return t.position=e.position,t.width=l.offsetWidth,t.height=l.offsetHeight,t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left,t.widthCSS=e.width,t.heightCSS=e.height,t}function g(){if(m("storeStyle invoked."),r(l)){var e=b();r(l).style=e}else m("Aborting because element has been uninstalled")}function h(e,t,n){r(e).lastWidth=t,r(e).lastHeight=n}function v(){return 2*o.width+1}function y(){return 2*o.height+1}function w(e){return e+10+v()}function k(e){return e+10+y()}function _(e,t,n){var a=p(e),r=d(e),i=w(t),o=k(n),l=function(e){return 2*e+v()}(t),s=function(e){return 2*e+y()}(n);a.scrollLeft=i,a.scrollTop=o,r.scrollLeft=l,r.scrollTop=s}function x(){var e=r(l).container;if(!e){(e=document.createElement("div")).className="erd_scroll_detection_container",e.style.cssText=s(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),r(l).container=e,function(e){e.className+=" erd_scroll_detection_container_animation_active"}(e),l.appendChild(e);var t=function(){r(l).onRendered&&r(l).onRendered()};c(e,"animationstart",t),r(l).onAnimationStart=t}return e}function S(){if(m("Injecting elements"),r(l)){!function(){var n=r(l).style;if("static"===n.position){l.style.setProperty("position","relative",e.important?"important":"");var a=function(e,t,n,a){var r=n[a];"auto"!==r&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(r)&&(e.warn("An element that is positioned static has style."+a+"="+r+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+a+" will be set to 0. Element: ",t),t.style[a]=0)};a(t,l,n,"top"),a(t,l,n,"right"),a(t,l,n,"bottom"),a(t,l,n,"left")}}();var n=r(l).container;n||(n=x());var a,i,u,p,d=o.width,f=o.height,b=s(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),g=s(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(["left: "+(a=(a=-(1+d))?a+"px":"0"),"top: "+(i=(i=-(1+f))?i+"px":"0"),"right: "+(p=(p=-d)?p+"px":"0"),"bottom: "+(u=(u=-f)?u+"px":"0")])),h=s(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),v=s(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),y=s(["position: absolute","left: 0","top: 0"]),w=s(["position: absolute","width: 200%","height: 200%"]),k=document.createElement("div"),_=document.createElement("div"),S=document.createElement("div"),E=document.createElement("div"),T=document.createElement("div"),C=document.createElement("div");k.dir="ltr",k.style.cssText=b,k.className="erd_scroll_detection_container",_.className="erd_scroll_detection_container",_.style.cssText=g,S.style.cssText=h,E.style.cssText=y,T.style.cssText=v,C.style.cssText=w,S.appendChild(E),T.appendChild(C),_.appendChild(S),_.appendChild(T),k.appendChild(_),n.appendChild(k),c(S,"scroll",M),c(T,"scroll",O),r(l).onExpandScroll=M,r(l).onShrinkScroll=O}else m("Aborting because element has been uninstalled");function M(){r(l).onExpand&&r(l).onExpand()}function O(){r(l).onShrink&&r(l).onShrink()}}function E(){function o(t,n,a){var r=function(e){return p(e).childNodes[0]}(t),i=w(n),o=k(a);r.style.setProperty("width",i+"px",e.important?"important":""),r.style.setProperty("height",o+"px",e.important?"important":"")}function s(a){var s=l.offsetWidth,u=l.offsetHeight,p=s!==r(l).lastWidth||u!==r(l).lastHeight;m("Storing current size",s,u),h(l,s,u),n.add(0,(function(){if(p)if(r(l))if(c()){if(e.debug){var n=l.offsetWidth,a=l.offsetHeight;n===s&&a===u||t.warn(i.get(l),"Scroll: Size changed before updating detector elements.")}o(l,s,u)}else m("Aborting because element container has not been initialized");else m("Aborting because element has been uninstalled")})),n.add(1,(function(){r(l)?c()?_(l,s,u):m("Aborting because element container has not been initialized"):m("Aborting because element has been uninstalled")})),p&&a&&n.add(2,(function(){r(l)?c()?a():m("Aborting because element container has not been initialized"):m("Aborting because element has been uninstalled")}))}function c(){return!!r(l).container}function u(){m("notifyListenersIfNeeded invoked");var e=r(l);return void 0===r(l).lastNotifiedWidth&&e.lastWidth===e.startSize.width&&e.lastHeight===e.startSize.height?m("Not notifying: Size is the same as the start size, and there has been no notification yet."):e.lastWidth===e.lastNotifiedWidth&&e.lastHeight===e.lastNotifiedHeight?m("Not notifying: Size already notified"):(m("Current size not notified, notifying..."),e.lastNotifiedWidth=e.lastWidth,e.lastNotifiedHeight=e.lastHeight,void a(r(l).listeners,(function(e){e(l)})))}function b(){m("Scroll detected."),f(l)?m("Scroll event fired while unrendered. Ignoring..."):s(u)}if(m("registerListenersAndPositionElements invoked."),r(l)){r(l).onRendered=function(){if(m("startanimation triggered."),f(l))m("Ignoring since element is still unrendered...");else{m("Element rendered.");var e=p(l),t=d(l);0!==e.scrollLeft&&0!==e.scrollTop&&0!==t.scrollLeft&&0!==t.scrollTop||(m("Scrollbars out of sync. Updating detector elements..."),s(u))}},r(l).onExpand=b,r(l).onShrink=b;var g=r(l).style;o(l,g.width,g.height)}else m("Aborting because element has been uninstalled")}function T(){if(m("finalizeDomMutation invoked."),r(l)){var e=r(l).style;h(l,e.width,e.height),_(l,e.width,e.height)}else m("Aborting because element has been uninstalled")}function C(){u(l)}function M(){var e;m("Installing..."),r(l).listeners=[],e=b(),r(l).startSize={width:e.width,height:e.height},m("Element start size",r(l).startSize),n.add(0,g),n.add(1,S),n.add(2,E),n.add(3,T),n.add(4,C)}u||(u=l,l=e,e=null),e=e||{},m("Making detectable..."),!function(e){return!function(e){return e===e.ownerDocument.body||e.ownerDocument.body.contains(e)}(e)||null===window.getComputedStyle(e)}(l)?M():(m("Element is detached"),x(),m("Waiting until element is attached..."),r(l).onRendered=function(){m("Element is now attached"),M()})},addListener:function(e,t){if(!r(e).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");r(e).listeners.push(t)},uninstall:function(e){var t=r(e);t&&(t.onExpandScroll&&u(p(e),"scroll",t.onExpandScroll),t.onShrinkScroll&&u(d(e),"scroll",t.onShrinkScroll),t.onAnimationStart&&u(t.container,"animationstart",t.onAnimationStart),t.container&&e.removeChild(t.container))},initDocument:l}}},function(e,t,n){var a=n(8),r=n(569),i=n(173),o=Math.max,l=Math.min;e.exports=function(e,t,n){var s,c,u,p,d,m,f=0,b=!1,g=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=s,a=c;return s=c=void 0,f=t,p=e.apply(a,n)}function y(e){return f=e,d=setTimeout(k,t),b?v(e):p}function w(e){var n=e-m;return void 0===m||n>=t||n<0||g&&e-f>=u}function k(){var e=r();if(w(e))return _(e);d=setTimeout(k,function(e){var n=t-(e-m);return g?l(n,u-(e-f)):n}(e))}function _(e){return d=void 0,h&&s?v(e):(s=c=void 0,p)}function x(){var e=r(),n=w(e);if(s=arguments,c=this,m=e,n){if(void 0===d)return y(m);if(g)return clearTimeout(d),d=setTimeout(k,t),v(m)}return void 0===d&&(d=setTimeout(k,t)),p}return t=i(t)||0,a(n)&&(b=!!n.leading,u=(g="maxWait"in n)?o(i(n.maxWait)||0,t):u,h="trailing"in n?!!n.trailing:h),x.cancel=function(){void 0!==d&&clearTimeout(d),f=0,s=m=c=d=void 0},x.flush=function(){return void 0===d?p:_(r())},x}},function(e,t,n){var a=n(7);e.exports=function(){return a.Date.now()}},function(e,t,n){"use strict";var a=n(3),r=n(571);if(void 0===a)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new a.Component).updater;e.exports=r(a.Component,a.isValidElement,i)},function(e,t,n){"use strict";var a=n(111),r=n(572),i=n(573);e.exports=function(e,t,n){var o=[],l={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},s={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},c={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)p(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=a({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=a({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=m(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=a({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(!t)return;for(var n in t){var a=t[n];if(t.hasOwnProperty(n)){if(i(!(n in c),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e){var r=s.hasOwnProperty(n)?s[n]:null;return i("DEFINE_MANY_MERGED"===r,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=m(e[n],a))}e[n]=a}}}(e,t)},autobind:function(){}};function u(e,t){var n=l.hasOwnProperty(t)?l[t]:null;v.hasOwnProperty(t)&&i("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&i("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function p(e,n){if(n){i("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),i(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var a=e.prototype,r=a.__reactAutoBindPairs;for(var o in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(o)&&"mixins"!==o){var s=n[o],p=a.hasOwnProperty(o);if(u(p,o),c.hasOwnProperty(o))c[o](e,s);else{var d=l.hasOwnProperty(o);if("function"==typeof s&&!d&&!p&&!1!==n.autobind)r.push(o,s),a[o]=s;else if(p){var b=l[o];i(d&&("DEFINE_MANY_MERGED"===b||"DEFINE_MANY"===b),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",b,o),"DEFINE_MANY_MERGED"===b?a[o]=m(a[o],s):"DEFINE_MANY"===b&&(a[o]=f(a[o],s))}else a[o]=s}}}else;}function d(e,t){for(var n in i(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(i(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function m(e,t){return function(){var n=e.apply(this,arguments),a=t.apply(this,arguments);if(null==n)return a;if(null==a)return n;var r={};return d(r,n),d(r,a),r}}function f(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function b(e,t){return t.bind(e)}var g={componentDidMount:function(){this.__isMounted=!0}},h={componentWillUnmount:function(){this.__isMounted=!1}},v={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},y=function(){};return a(y.prototype,e.prototype,v),function(e){var t=function(e,a,o){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var a=t[n],r=t[n+1];e[a]=b(e,r)}}(this),this.props=e,this.context=a,this.refs=r,this.updater=o||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;i("object"==typeof l&&!Array.isArray(l),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=l};for(var a in t.prototype=new y,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],o.forEach(p.bind(null,t)),p(t,g),p(t,e),p(t,h),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),i(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[a]||(t.prototype[a]=null);return t}}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";e.exports=function(e,t,n,a,r,i,o,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,a,r,i,o,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(e,t,n){"use strict";n.r(t);n(575),n(579),n(315),n(580);const a={};a.category=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-blockspare",fill:"url(#blockspare-gradient)",width:"20px",height:"20px",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40"},wp.element.createElement("g",{className:"blockspare-logo"},wp.element.createElement("g",null,wp.element.createElement("path",{class:"st0",d:"M1.6,9.2v21.4l18.3-9.2L20.2,0L1.6,9.2z M16.9,19.8L4.9,26V10.9l12-6.1V19.8z"}),wp.element.createElement("polygon",{id:"XMLID_3_",class:"st1",points:"19.9,21.4 16.9,23 26,27.7 13.8,33.8 4.9,29 1.6,30.7 13.9,36.9 32.4,27.7 "})),wp.element.createElement("g",null,wp.element.createElement("polygon",{id:"XMLID_2_",class:"st0",points:"23,1.5 23,19.8 32.4,24.6 32.4,9.4 35.3,10.9 35.3,29 38.4,30.7 38.4,9.2 29.4,4.8 29.2,19.7 26,18.4 26,3.1 "}),wp.element.createElement("polygon",{id:"XMLID_1_",class:"st1",points:"17,38.4 19.9,40 38.4,30.7 35.3,29 "})))),a.accordion=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-accordion",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("rect",{id:"XMLID_1_",x:"1.2",y:"6.8",width:"17.6",height:"12.6"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"1.2",y:"3.6",width:"17.6",height:"2"}),wp.element.createElement("rect",{id:"XMLID_3_",x:"1.2",y:"0.6",width:"17.6",height:"2"}))),a.price=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-price",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_27_",d:"M5.3,12.6c0.8,0,1.6,0,2.3,0c0.1,0.8,0.7,1.2,1.4,1.4c0.8,0.2,1.6,0.2,2.3-0.2c0.6-0.3,0.9-0.8,0.8-1.4 c-0.1-0.5-0.4-0.7-0.8-0.9c-0.6-0.2-1.2-0.3-1.8-0.5c-0.7-0.2-1.4-0.3-2-0.6c-1.5-0.6-2.2-1.8-2-3.4c0.2-1.4,1-2.3,2.3-2.8 C8.2,4.2,8.6,4.1,9,4c0-0.7,0-1.4,0-2.2c0.7,0,1.4,0,2,0c0,0.7,0,1.4,0,2.2c1.2,0.2,2.2,0.7,2.9,1.7c0.4,0.5,0.5,1.1,0.6,1.7 c-0.8,0-1.5,0-2.3,0c-0.1-0.4-0.3-0.8-0.7-1.1c-0.5-0.3-1-0.4-1.5-0.4C9.5,5.9,9,6,8.6,6.2C8.2,6.5,8,6.9,8,7.4 c0,0.5,0.3,0.8,0.7,1c0.5,0.3,1.1,0.4,1.7,0.5C11.2,9,12,9.1,12.7,9.4c1.5,0.6,2.1,1.8,1.9,3.4c-0.2,1.5-1.2,2.6-2.7,3 c-0.3,0.1-0.6,0.1-0.9,0.2c0,0.7,0,1.4,0,2.2c-0.7,0-1.4,0-2.1,0c0-0.7,0-1.4,0.1-2.1c-0.5-0.2-1-0.3-1.5-0.5 c-1.3-0.5-2.1-1.5-2.2-2.9C5.3,12.7,5.3,12.6,5.3,12.6z"}))),a.container=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("circle",{id:"XMLID_3_",cx:"10",cy:"9.9",r:"5.5"}),wp.element.createElement("g",{id:"XMLID_4_"},wp.element.createElement("rect",{id:"XMLID_5_",x:"8.9",y:"6.1",class:"st0",width:"2.2",height:"7.9"}),wp.element.createElement("rect",{id:"XMLID_6_",x:"6",y:"9",class:"st0",width:"7.9",height:"2.2"}))),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_8_",d:"M20,20H0V0H20V20z M1,19H19V1H1V19z"}))),a.contentbox=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-contentbox",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("circle",{id:"XMLID_1_",cx:"5.7",cy:"10",r:"3.8"}),wp.element.createElement("g",{id:"XMLID_3_"},wp.element.createElement("rect",{id:"XMLID_5_",x:"10.7",y:"10.6",width:"7.3",height:"2"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"10.7",y:"7.4",width:"7.3",height:"2"}))),wp.element.createElement("g",{id:"XMLID_7_"},wp.element.createElement("path",{id:"XMLID_4_",d:"M19.8,16.8H0.2V3.2h19.7V16.8z M0.9,16h18.2V4H0.9V16z"}))),a.userprofile=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-userprofile",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_3_",d:"M13.1,2.5c1.7,1.7,1.7,4.5,0,6.3s-4.5,1.7-6.3,0s-1.7-4.5,0-6.3C8.6,0.7,11.4,0.7,13.1,2.5"}),wp.element.createElement("path",{id:"XMLID_2_",d:"M16.8,13.2c-4-2.7-9.5-2.7-13.6,0c-0.6,0.4-1,1.1-1,1.8v3.8h15.5V15C17.7,14.3,17.4,13.6,16.8,13.2 L16.8,13.2z"}))),a.starrating=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-starrating",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("polygon",{id:"XMLID_6_",points:"17.4,8.2 12.3,7.5 10,2.8 7.7,7.5 2.6,8.2 6.3,11.8 5.4,16.9 10,14.5 14.6,16.9 13.7,11.8 "}),wp.element.createElement("polygon",{id:"XMLID_8_",class:"st0",points:"13.7,15.8 10,13.8 10,4.2 11.9,8 16,8.6 13,11.6 "}))),a.imagecarousel=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-imagecarousel",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_9_",d:"M16.4,16.4H3.6V3.6h12.7V16.4z M4.6,15.4h10.7V4.6H4.6V15.4z"})),wp.element.createElement("rect",{id:"XMLID_3_",x:"17.5",y:"4.1",width:"2.5",height:"11.7"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"0",y:"4.1",width:"2.5",height:"11.7"}),wp.element.createElement("g",{id:"XMLID_7_"},wp.element.createElement("polygon",{id:"XMLID_2_",points:"5.1,14 8.6,7.9 12.1,14 "}),wp.element.createElement("polygon",{id:"XMLID_6_",points:"10.4,14 12.6,10.1 14.9,14 "}),wp.element.createElement("circle",{id:"XMLID_5_",cx:"12.4",cy:"7.1",r:"1.4"}))),a.imageslider=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-imageslider",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("path",{id:"XMLID_9_",d:"M16.4,16.4H3.6V3.6h12.7V16.4z M4.6,15.4h10.7V4.6H4.6V15.4z"}),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("polygon",{id:"XMLID_5_",points:"5.1,14 8.6,7.9 12.1,14 "}),wp.element.createElement("polygon",{id:"XMLID_6_",points:"10.4,14 12.6,10.1 14.9,14 "}),wp.element.createElement("circle",{id:"XMLID_7_",cx:"12.4",cy:"7.1",r:"1.4"})),wp.element.createElement("path",{id:"XMLID_20_",d:"M1.1,10l1.5-0.9C2.7,9,2.7,8.9,2.7,8.7c0-0.1-0.1-0.3-0.2-0.4C2.4,8.2,2.2,8.2,2,8.3L0.1,9.5 C0,9.6,0,9.7,0,9.9v0.2c0,0.2,0,0.4,0.1,0.5L2,11.7c0.1,0.1,0.2,0.1,0.3,0.1c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.1-0.2,0.1-0.4 c0-0.2-0.1-0.3-0.2-0.4L1.1,10z"}),wp.element.createElement("path",{id:"XMLID_17_",d:"M19.9,9.5L18,8.3c-0.2-0.1-0.4-0.1-0.6,0.1c-0.1,0.1-0.1,0.2-0.1,0.4c0,0.2,0.1,0.3,0.2,0.4l1.5,0.9 l-1.5,0.9c-0.1,0.1-0.2,0.2-0.2,0.4c0,0.1,0.1,0.3,0.2,0.4c0.1,0.1,0.2,0.1,0.3,0.1c0.1,0,0.2,0,0.3-0.1l1.8-1.1 c0.2-0.1,0.2-0.3,0.2-0.5V9.9C20,9.7,20,9.6,19.9,9.5z"})),a.postlist=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-postlist",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_5_",d:"M6.8,8.3H0.9V2h5.9V8.3z"})),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("rect",{id:"XMLID_3_",x:"8.7",y:"3.1",width:"8.5",height:"1.4"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"8.7",y:"5.8",width:"10.2",height:"1.4"})),wp.element.createElement("g",{id:"XMLID_14_"},wp.element.createElement("path",{id:"XMLID_15_",d:"M6.9,18.2H0.8v-6.6h6.1V18.2z"})),wp.element.createElement("g",{id:"XMLID_11_"},wp.element.createElement("rect",{id:"XMLID_13_",x:"8.7",y:"12.8",width:"8.5",height:"1.4"}),wp.element.createElement("rect",{id:"XMLID_12_",x:"8.7",y:"15.5",width:"10.2",height:"1.4"}))),a.postgrid=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-postgrid",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_5_"},wp.element.createElement("g",{id:"XMLID_14_"},wp.element.createElement("path",{id:"XMLID_15_",d:"M9,11.2H1V2.9h8V11.2z"})),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_3_",d:"M19,11.2h-8V2.9h8V11.2z"})),wp.element.createElement("rect",{id:"XMLID_1_",x:"1",y:"12.4",width:"7.2",height:"1.8"}),wp.element.createElement("rect",{id:"XMLID_6_",x:"1",y:"15.3",width:"8",height:"1.8"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"11",y:"12.4",width:"7.2",height:"1.8"}),wp.element.createElement("rect",{id:"XMLID_7_",x:"11",y:"15.3",width:"8",height:"1.8"}))),a.postcarousel=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-postcarousel",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("g",{id:"XMLID_14_"},wp.element.createElement("path",{id:"XMLID_15_",d:"M16,11.4H4V1.7H16V11.4z"})),wp.element.createElement("rect",{id:"XMLID_5_",x:"4",y:"12.8",width:"10.8",height:"2.1"}),wp.element.createElement("rect",{id:"XMLID_6_",x:"4",y:"16.2",width:"12.1",height:"2.1"})),wp.element.createElement("path",{id:"XMLID_20_",d:"M1.1,10l1.5-0.9C2.7,9,2.7,8.9,2.7,8.7c0-0.1-0.1-0.3-0.2-0.4C2.4,8.2,2.2,8.2,2,8.3L0.1,9.5 C0,9.6,0,9.7,0,9.9v0.2c0,0.2,0,0.4,0.1,0.5L2,11.7c0.1,0.1,0.2,0.1,0.3,0.1c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.1-0.2,0.1-0.4 c0-0.2-0.1-0.3-0.2-0.4L1.1,10z"}),wp.element.createElement("path",{id:"XMLID_2_",d:"M19.9,9.5L18,8.3c-0.2-0.1-0.4-0.1-0.6,0.1c-0.1,0.1-0.1,0.2-0.1,0.4c0,0.2,0.1,0.3,0.2,0.4l1.5,0.9l-1.5,0.9 c-0.1,0.1-0.2,0.2-0.2,0.4c0,0.1,0.1,0.3,0.2,0.4c0.1,0.1,0.2,0.1,0.3,0.1c0.1,0,0.2,0,0.3-0.1l1.8-1.1c0.2-0.1,0.2-0.3,0.2-0.5V9.9 C20,9.7,20,9.6,19.9,9.5z"})),a.iconblockspare=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-iconblockspare",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_23_",d:"M17.4,2c0.2,0,0.5,0,0.7,0c0.4,0,0.5,0.1,0.5,0.5c0,2.7-0.9,5-2.8,6.9c-0.8,0.8-1.7,1.5-2.5,2.3 c-0.1,0.1-0.2,0.3-0.2,0.4c-0.1,1.1-0.1,2.2-0.2,3.3c0,0.3-0.1,0.4-0.3,0.6c-1.2,0.7-2.5,1.4-3.7,2c-0.3,0.2-0.5,0.1-0.7-0.1 c-0.6-0.4-0.7-0.9-0.4-1.5c0.3-0.6,0.4-1.2,0.6-1.8c0.1-0.2,0-0.3-0.1-0.5c-0.8-0.8-1.7-1.6-2.5-2.4c-0.2-0.2-0.3-0.2-0.5-0.1 c-0.8,0.3-1.7,0.5-2.5,0.7c-0.3,0.1-0.4,0-0.6-0.2c-0.9-0.9-0.8-0.6-0.2-1.5c0.6-1,1.2-2,1.8-2.9C3.8,7.4,4,7.3,4.3,7.3 c1.2,0,2.3-0.1,3.5-0.2C8,7.1,8.2,7,8.3,6.9c1-1,2-2,3.1-2.9C13,2.7,14.9,2.1,17,2C17.1,2,17.3,2,17.4,2C17.4,2,17.4,2,17.4,2z M15.2,6.1c0.6,0,1-0.4,1-0.9c0-0.5-0.5-1-1-1c-0.5,0-1,0.4-1,1C14.2,5.6,14.7,6.1,15.2,6.1z"}))),a.iconlist=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-iconlist",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_16_",d:"M2.4,3.3c0.7-0.7,1.3-1.3,2-2c0.1-0.1,0.1-0.1,0.2-0.2C4.8,1,5.1,1,5.3,1.1c0.2,0.2,0.2,0.4,0,0.6 c0,0-0.1,0.1-0.1,0.1C4.4,2.7,3.6,3.5,2.8,4.3C2.5,4.6,2.3,4.6,2,4.3C1.6,3.9,1.2,3.5,0.8,3.1C0.5,2.8,0.6,2.3,1,2.2 c0.2-0.1,0.4,0,0.5,0.2C1.8,2.7,2.1,3,2.4,3.3z"}),wp.element.createElement("rect",{id:"XMLID_1_",x:"6.4",y:"2.2",width:"13",height:"1.7"})),wp.element.createElement("g",{id:"XMLID_4_"},wp.element.createElement("path",{id:"XMLID_6_",d:"M2.4,10.6c0.7-0.7,1.3-1.3,2-2c0.1-0.1,0.1-0.1,0.2-0.2c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.4,0,0.6 c0,0-0.1,0.1-0.1,0.1c-0.8,0.8-1.6,1.6-2.4,2.4c-0.3,0.3-0.5,0.3-0.8,0c-0.4-0.4-0.8-0.8-1.2-1.2C0.5,10,0.6,9.6,1,9.5 c0.2-0.1,0.4,0,0.5,0.2C1.8,10,2.1,10.3,2.4,10.6z"}),wp.element.createElement("rect",{id:"XMLID_5_",x:"6.4",y:"9.5",width:"13",height:"1.7"})),wp.element.createElement("g",{id:"XMLID_7_"},wp.element.createElement("path",{id:"XMLID_9_",d:"M2.4,17.8c0.7-0.7,1.3-1.3,2-2c0.1-0.1,0.1-0.1,0.2-0.2c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.4,0,0.6 c0,0-0.1,0.1-0.1,0.1c-0.8,0.8-1.6,1.6-2.4,2.4c-0.3,0.3-0.5,0.3-0.8,0c-0.4-0.4-0.8-0.8-1.2-1.2c-0.3-0.3-0.2-0.7,0.2-0.8 c0.2-0.1,0.4,0,0.5,0.2C1.8,17.2,2.1,17.5,2.4,17.8z"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"6.4",y:"16.7",width:"13",height:"1.7"}))),a.button=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-button",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("path",{id:"XMLID_2_",class:"st0",d:"M18,9.5H2c-1.1,0-2-0.9-2-2v-2c0-1.1,0.9-2,2-2H18c1.1,0,2,0.9,2,2v2C20,8.6,19.1,9.5,18,9.5z"}),wp.element.createElement("g",{id:"XMLID_5_"},wp.element.createElement("path",{id:"XMLID_6_",class:"st1",d:"M12.8,20H9.7c-1,0-1.9-0.6-2.4-1.5L4.4,13l0.4-0.3c0.3-0.3,0.7-0.4,1.1-0.4 c0.4,0,0.8,0.2,1.1,0.6l0.5,0.6l0-6.2c0-0.6,0.5-1.2,1.1-1.2c0.6,0,1.1,0.5,1.1,1.2v3.2c0.2-0.2,0.5-0.4,0.8-0.4 c0.5,0,0.9,0.3,1.1,0.8c0.2-0.3,0.5-0.5,0.9-0.5c0.5,0,1,0.4,1.1,1c0.2-0.3,0.5-0.4,0.9-0.4h0c0.6,0,1.1,0.5,1.1,1.2l0,4.8 C15.6,18.7,14.4,20,12.8,20z M5.3,13.2l2.6,5c0.4,0.7,1.1,1.1,1.8,1.1h3.1c1.1,0,2.1-1,2.1-2.2l0-4.8c0-0.2-0.2-0.4-0.4-0.4h0 c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.3-0.3,0.6-0.6,0.6s-0.6-0.3-0.6-0.6v-1.1c0-0.2-0.2-0.4-0.4-0.4c-0.2,0-0.4,0.2-0.4,0.4v1.2 c0,0.3-0.3,0.6-0.6,0.6c-0.3,0-0.6-0.3-0.6-0.6v-1.5c0-0.2-0.2-0.4-0.4-0.4c-0.2,0-0.4,0.2-0.4,0.4V13c0,0.3-0.3,0.6-0.6,0.6 C9.3,13.6,9,13.4,9,13V7.3c0-0.2-0.2-0.4-0.4-0.4S8.3,7.1,8.3,7.3l0,6.6c0,0.3-0.2,0.5-0.4,0.6c-0.2,0.1-0.5,0-0.7-0.2l-0.8-1 C6.3,13.1,6.1,13,5.9,13C5.7,13,5.5,13,5.3,13.2z"})),wp.element.createElement("g",{id:"XMLID_4_"},wp.element.createElement("path",{id:"XMLID_3_",class:"st0",d:"M14.5,11.4L14.5,11.4c-0.4,0-0.8,0.3-0.8,0.8v0.6c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2 v-1.1c0-0.4-0.3-0.8-0.7-0.8c-0.4,0-0.7,0.4-0.7,0.8v1.2c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2v-1.5c0-0.4-0.3-0.8-0.7-0.8 h0c-0.4,0-0.7,0.3-0.7,0.8V13c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2v-1.7c0,0,0,0,0,0c0,0,0,0,0,0v-4 c0-0.4-0.3-0.8-0.7-0.8c-0.4,0-0.7,0.4-0.7,0.8l0,6.6c0,0.1-0.1,0.2-0.1,0.2c-0.1,0-0.2,0-0.2-0.1l-0.8-1c-0.2-0.3-0.5-0.4-0.8-0.4 c-0.3,0-0.6,0.1-0.9,0.3c0,0,0,0,0,0l-0.2,0.1l2.7,5.2c0.4,0.8,1.2,1.3,2.1,1.3h3.1c1.3,0,2.4-1.2,2.4-2.6c0-0.8,0-1.3,0-1.8 c0-1.2,0-1.7,0-3C15.2,11.7,14.9,11.4,14.5,11.4z"}))),a.cta=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-cta",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_17_"},wp.element.createElement("rect",{id:"XMLID_15_",x:"14.6",y:"4.1",transform:"matrix(0.7071 -0.7071 0.7071 0.7071 1.7696 13.5544)",class:"st0",width:"5.3",height:"1.2"}),wp.element.createElement("rect",{id:"XMLID_14_",x:"16.4",y:"8.1",class:"st0",width:"3.5",height:"1.2"}),wp.element.createElement("rect",{id:"XMLID_13_",x:"14.6",y:"12.6",transform:"matrix(0.7071 0.7071 -0.7071 0.7071 14.3689 -8.3364)",class:"st0",width:"5.3",height:"1.2"}),wp.element.createElement("g",{id:"XMLID_16_"},wp.element.createElement("path",{id:"XMLID_1_",class:"st0",d:"M2.6,11.8H0.8c-0.4,0-0.7-0.3-0.7-0.7V7c0-0.4,0.3-0.7,0.7-0.7h1.8C3,6.3,3.3,6.6,3.3,7v4.2 C3.3,11.5,3,11.8,2.6,11.8z"}),wp.element.createElement("polygon",{id:"XMLID_24_",class:"st0",points:"7.3,12.8 4,12.2 4,6 7.3,5.4 "}),wp.element.createElement("polygon",{id:"XMLID_28_",class:"st0",points:"3.9,12.8 7.2,13.5 7.2,17.6 3.9,17.6 "}),wp.element.createElement("polygon",{id:"XMLID_26_",class:"st0",points:"13.3,14.2 8.1,12.8 8.1,5.2 13.3,3.8 "}),wp.element.createElement("circle",{id:"XMLID_25_",class:"st0",cx:"13.9",cy:"8.7",r:"1.8"})))),a.masonry=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-masonry",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("rect",{id:"XMLID_1_",x:"1.2",y:"11.2",class:"st0",width:"8.2",height:"7.6"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"1.2",y:"1.2",class:"st0",width:"8.2",height:"8.7"}),wp.element.createElement("rect",{id:"XMLID_3_",x:"10.6",y:"1.2",class:"st0",width:"8.2",height:"5"}),wp.element.createElement("rect",{id:"XMLID_5_",x:"10.6",y:"7.7",class:"st0",width:"8.2",height:"11.1"})),a.logobadge=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-logobadge",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("path",{id:"XMLID_16_",d:"M3.1,2.8c0.3-0.1,0.5-0.2,0.8-0.3c0.8-0.3,1.6-0.6,2.5-0.8c0,0,0.1,0,0.2,0C7,1.9,7.5,2.1,8,2.3 c0.1,0,0.1,0,0.2,0C8.8,2,9.4,1.7,9.9,1.5c0.1,0,0.1,0,0.2,0c0.6,0.3,1.1,0.5,1.7,0.8c0.1,0,0.1,0,0.2,0c0.5-0.2,1-0.4,1.6-0.6 c0,0,0.1,0,0.1,0c1.1,0.4,2.1,0.7,3.2,1.1c0,0,0.1,0,0.1,0c-0.1,0.4-0.3,0.7-0.4,1.1c-0.2,0.8-0.4,1.6-0.3,2.4c0,0.5,0.1,1,0.2,1.5 c0.2,1,0.4,2.1,0.6,3.1c0.1,0.7,0.2,1.3,0.2,2c0,0.3,0,0.5-0.1,0.8c0,0.4-0.2,0.7-0.5,1c-0.4,0.5-1,0.9-1.5,1.3 c-0.8,0.5-1.7,0.9-2.6,1.3c-0.9,0.4-1.7,0.8-2.5,1.4c0,0-0.1,0.1-0.1,0C9,17.9,8.1,17.4,7,17c-0.8-0.4-1.7-0.8-2.4-1.2 c-0.5-0.3-0.9-0.7-1.3-1.1c-0.4-0.4-0.5-0.9-0.6-1.4c0-0.7,0-1.3,0.1-2C3,10,3.3,8.8,3.6,7.6C3.7,7,3.8,6.4,3.8,5.8 C3.8,4.8,3.5,3.8,3.1,2.8C3.1,2.8,3.1,2.8,3.1,2.8z"})),a.notice=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg",fill:"#8B249C",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_4_"}),wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_3_",className:"st0",d:"M10,20C4.5,20,0,15.5,0,10C0,4.5,4.5,0,10,0c5.5,0,10,4.5,10,10C20,15.5,15.5,20,10,20z M10,1 C5,1,1,5,1,10s4.1,9,9,9s9-4.1,9-9S15,1,10,1z"})),wp.element.createElement("path",{id:"XMLID_10_",className:"st0",d:"M11.7,4.4C11.7,5.3,11,6,10,6C9,6,8.3,5.3,8.3,4.4C8.3,3.5,9,2.7,10,2.7 C11,2.7,11.7,3.5,11.7,4.4z"}),wp.element.createElement("rect",{id:"XMLID_9_",x:"8.8",y:"7.1",className:"st0",width:"2.5",height:"9.6"})),a.progressBar=wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#8B249C",className:"blockspare-svg"},wp.element.createElement("g",{id:"XMLID_4_"}),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_5_",className:"st0",d:"M20,3.9H0V0h20V3.9z M0.5,3.4h19V0.5h-19V3.4z"})),wp.element.createElement("rect",{id:"XMLID_3_",x:"0.9",y:"0.9",className:"st0",width:"16.6",height:"2.1"})),wp.element.createElement("g",{id:"XMLID_9_"},wp.element.createElement("g",{id:"XMLID_11_"},wp.element.createElement("path",{id:"XMLID_12_",className:"st0",d:"M20,9.3H0V5.4h20V9.3z M0.5,8.8h19V5.9h-19V8.8z"})),wp.element.createElement("rect",{id:"XMLID_10_",x:"0.9",y:"6.3",className:"st0",width:"10.2",height:"2.1"})),wp.element.createElement("g",{id:"XMLID_15_"},wp.element.createElement("g",{id:"XMLID_17_"},wp.element.createElement("path",{id:"XMLID_18_",className:"st0",d:"M20,14.6H0v-3.9h20V14.6z M0.5,14.1h19v-2.9h-19V14.1z"})),wp.element.createElement("rect",{id:"XMLID_16_",x:"0.9",y:"11.6",className:"st0",width:"14.4",height:"2.1"})),wp.element.createElement("g",{id:"XMLID_21_"},wp.element.createElement("g",{id:"XMLID_23_"},wp.element.createElement("path",{id:"XMLID_24_",className:"st0",d:"M20,20H0v-3.9h20V20z M0.5,19.5h19v-2.9h-19V19.5z"})),wp.element.createElement("rect",{id:"XMLID_22_",x:"0.9",y:"17",className:"st0",width:"16.6",height:"2.1"}))),a.pricingTable=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-pricing-table",xmlns:"http://www.w3.org/2000/svg",viewBox:"-469 271 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_34_",class:"st0",d:"M-455.6,291h-6.8v-20h6.8V291z"})),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_31_",class:"st0",d:"M-462.8,289h-5.9V273h5.9V289z"})),wp.element.createElement("g",{id:"XMLID_3_"},wp.element.createElement("path",{id:"XMLID_28_",class:"st0",d:"M-449.3,289h-5.9V273h5.9V289z"})),wp.element.createElement("path",{id:"XMLID_25_",class:"st1",d:"M-464.4,287.5h-2.7c-0.3,0-0.5-0.2-0.5-0.5l0,0c0-0.3,0.2-0.5,0.5-0.5h2.7 c0.3,0,0.5,0.2,0.5,0.5l0,0C-463.9,287.3-464.1,287.5-464.4,287.5z"}),wp.element.createElement("path",{id:"XMLID_26_",class:"st1",d:"M-457.7,287.5h-2.6c-0.3,0-0.5-0.2-0.5-0.5l0,0c0-0.3,0.2-0.5,0.5-0.5h2.7 c0.3,0,0.5,0.2,0.5,0.5l0,0C-457.1,287.3-457.4,287.5-457.7,287.5z"}),wp.element.createElement("path",{id:"XMLID_27_",class:"st1",d:"M-451,287.5h-2.7c-0.3,0-0.5-0.2-0.5-0.5l0,0c0-0.3,0.2-0.5,0.5-0.5h2.7c0.3,0,0.5,0.2,0.5,0.5 l0,0C-450.4,287.3-450.7,287.5-451,287.5z"}),wp.element.createElement("g",null,wp.element.createElement("path",{class:"st1",d:"M-466.1,283.3v-1c-0.6,0-1.2-0.2-1.5-0.4l0.2-0.7c0.4,0.2,0.9,0.4,1.4,0.4c0.7,0,1.2-0.4,1.2-1 c0-0.5-0.4-0.9-1.1-1.2c-1-0.4-1.6-0.9-1.6-1.7c0-0.8,0.6-1.4,1.5-1.6v-1h0.6v1c0.6,0,1,0.2,1.3,0.3l-0.2,0.7 c-0.2-0.1-0.6-0.3-1.2-0.3c-0.8,0-1,0.5-1,0.9c0,0.5,0.4,0.8,1.2,1.1c1,0.4,1.5,0.9,1.5,1.8c0,0.8-0.5,1.5-1.6,1.7v1H-466.1z"})),wp.element.createElement("g",null,wp.element.createElement("path",{class:"st1",d:"M-459.3,282.3v-1c-0.6,0-1.2-0.2-1.5-0.4l0.2-0.7c0.4,0.2,0.9,0.4,1.4,0.4c0.7,0,1.2-0.4,1.2-1 c0-0.5-0.4-0.9-1.1-1.2c-1-0.4-1.6-0.9-1.6-1.7c0-0.8,0.6-1.4,1.5-1.6v-1h0.6v1c0.6,0,1,0.2,1.3,0.3l-0.2,0.7 c-0.2-0.1-0.6-0.3-1.2-0.3c-0.8,0-1,0.5-1,0.9c0,0.5,0.4,0.8,1.2,1.1c1,0.4,1.5,0.9,1.5,1.8c0,0.8-0.5,1.5-1.6,1.7v1H-459.3z"})),wp.element.createElement("g",null,wp.element.createElement("path",{class:"st1",d:"M-452.6,283.3v-1c-0.6,0-1.2-0.2-1.5-0.4l0.2-0.7c0.4,0.2,0.9,0.4,1.4,0.4c0.7,0,1.2-0.4,1.2-1 c0-0.5-0.4-0.9-1.1-1.2c-1-0.4-1.6-0.9-1.6-1.7c0-0.8,0.6-1.4,1.5-1.6v-1h0.6v1c0.6,0,1,0.2,1.3,0.3l-0.2,0.7 c-0.2-0.1-0.6-0.3-1.2-0.3c-0.8,0-1,0.5-1,0.9c0,0.5,0.4,0.8,1.2,1.1c1,0.4,1.5,0.9,1.5,1.8c0,0.8-0.5,1.5-1.6,1.7v1H-452.6z"}))),a.pricingList=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("circle",{cx:"3.3",cy:"2.6",r:"2.6"}),wp.element.createElement("rect",{x:"7.1",y:"1.4",className:"st0",width:"9.8",height:"0.8"}),wp.element.createElement("rect",{x:"17.7",y:"1.4",className:"st0",width:"2.3",height:"0.8"}),wp.element.createElement("rect",{x:"7.1",y:"3.1",className:"st0",width:"12.9",height:"0.8"}),wp.element.createElement("circle",{className:"st0",cx:"3.3",cy:"9.7",r:"2.6"}),wp.element.createElement("rect",{x:"7.1",y:"8.9",className:"st0",width:"9.8",height:"0.8"}),wp.element.createElement("rect",{x:"17.7",y:"8.9",className:"st0",width:"2.3",height:"0.8"}),wp.element.createElement("rect",{x:"7.1",y:"10.5",className:"st0",width:"12.9",height:"0.8"}),wp.element.createElement("circle",{className:"st0",cx:"3.3",cy:"17.4",r:"2.6"}),wp.element.createElement("rect",{x:"7.1",y:"16.3",className:"st0",width:"9.8",height:"0.8"}),wp.element.createElement("rect",{x:"17.7",y:"16.3",className:"st0",width:"2.3",height:"0.8"}),wp.element.createElement("rect",{x:"7.1",y:"17.9",className:"st0",width:"12.9",height:"0.8"})),a.socialShare=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("path",{id:"XMLID_7_",class:"st0",d:"M16,12.8c-0.9,0-1.8,0.4-2.3,1l-6.4-3.7c0-0.1,0-0.1,0-0.2c0-0.1,0-0.2,0-0.3l6.3-3.6 C14.1,6.8,15,7.3,16,7.3c1.7,0,3.2-1.4,3.2-3.2C19.1,2.4,17.7,1,16,1s-3.2,1.4-3.2,3.2c0,0.3,0,0.5,0.1,0.8L6.7,8.4 C6.2,7.5,5.2,6.8,4.1,6.8c-1.7,0-3.2,1.4-3.2,3.2c0,1.7,1.4,3.2,3.2,3.2c1.2,0,2.2-0.7,2.7-1.6L13,15c-0.1,0.3-0.2,0.6-0.2,0.9 c0,1.7,1.4,3.2,3.2,3.2s3.2-1.4,3.2-3.2C19.1,14.2,17.7,12.8,16,12.8z"})),a.sociallinks=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-sociallinks",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("rect",{id:"XMLID_1_",x:"0.5",y:"0.5",width:"9",height:"9"}),wp.element.createElement("rect",{id:"XMLID_10_",x:"10.5",y:"0.5",width:"9",height:"9"}),wp.element.createElement("rect",{id:"XMLID_12_",x:"0.5",y:"10.5",width:"9",height:"9"}),wp.element.createElement("rect",{id:"XMLID_11_",x:"10.5",y:"10.5",width:"9",height:"9"}),wp.element.createElement("g",{id:"XMLID_7_"},wp.element.createElement("path",{id:"XMLID_70_",class:"st0",d:"M11.2,15.1c0-0.6,0-1.1,0-1.5c0-0.4,0-0.7,0.2-1c0.2-0.6,0.7-1,1.3-1.2 c0.2-0.1,0.5-0.1,0.8-0.1c1,0,2,0,2.9,0c0.3,0,0.7,0,1,0.1c0.6,0.2,1,0.6,1.2,1.2c0.1,0.3,0.2,0.5,0.2,0.8c0,0.4,0,0.8,0,1.3 c0,0.6,0,1.1,0,1.7c0,0.3,0,0.6-0.1,1c-0.2,0.7-0.7,1.2-1.4,1.4c-0.2,0.1-0.5,0.1-0.7,0.1c-1,0-1.9,0-2.9,0c-0.3,0-0.7,0-1-0.1 c-0.7-0.2-1.1-0.7-1.3-1.4c-0.1-0.2-0.1-0.5-0.1-0.7C11.2,16,11.2,15.5,11.2,15.1z M18.1,15C18.1,15,18.1,15,18.1,15 c0-0.3,0-0.7,0-1c0-0.3,0-0.7-0.1-1c-0.1-0.3-0.2-0.5-0.4-0.7c-0.2-0.2-0.4-0.3-0.7-0.3c-0.4-0.1-0.8-0.1-1.1-0.1 c-0.6,0-1.1,0-1.7,0c-0.3,0-0.7,0-1,0.1c-0.3,0.1-0.5,0.2-0.7,0.4C12.1,12.5,12,12.8,12,13c-0.1,0.4-0.1,0.7-0.1,1.1 c0,0.6,0,1.2,0,1.8c0,0.4,0,0.7,0.1,1.1c0.1,0.3,0.2,0.5,0.4,0.7c0.2,0.2,0.5,0.3,0.7,0.3c0.4,0.1,0.7,0.1,1.1,0.1 c0.6,0,1.2,0,1.7,0c0.3,0,0.7,0,1-0.1c0.3-0.1,0.5-0.2,0.7-0.4c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3,0.1-0.6,0.1-0.9 C18.1,15.7,18.1,15.4,18.1,15z"}),wp.element.createElement("path",{id:"XMLID_63_",class:"st0",d:"M16.9,15c0,1-0.8,2-2,2c-1,0-2-0.8-2-2c0-1,0.8-1.9,2-2C16.1,13,17,14,16.9,15z M15,13.7 c-0.7,0-1.3,0.6-1.3,1.3c0,0.7,0.6,1.3,1.3,1.3c0.7,0,1.3-0.6,1.3-1.3C16.3,14.3,15.7,13.7,15,13.7z"}),wp.element.createElement("path",{id:"XMLID_62_",class:"st0",d:"M17.5,13c0,0.2-0.2,0.5-0.5,0.5c-0.2,0-0.5-0.2-0.5-0.5c0-0.2,0.2-0.5,0.5-0.4 C17.3,12.5,17.5,12.7,17.5,13z"})),wp.element.createElement("g",{id:"XMLID_4_"},wp.element.createElement("path",{id:"XMLID_35_",class:"st0",d:"M13.5,6.7c-0.8,0-1.3-0.6-1.5-1.1c0.2,0,0.5,0,0.7,0c-0.4-0.1-0.7-0.3-0.9-0.6 c-0.2-0.3-0.3-0.6-0.3-1c0.1,0,0.2,0.1,0.3,0.1c0.1,0,0.2,0.1,0.4,0.1C11.8,4,11.5,3.6,11.5,3c0-0.3,0.1-0.6,0.2-0.9 c0.8,1,1.9,1.5,3.2,1.6c0-0.1,0-0.1,0-0.2c0-0.6,0.2-1,0.6-1.4c0.6-0.5,1.5-0.4,2.1,0.1c0,0,0,0,0.1,0C18,2.3,18.3,2.2,18.6,2 c0,0,0,0,0,0c-0.1,0.2-0.1,0.3-0.3,0.5c-0.1,0.1-0.3,0.3-0.4,0.4c0.3,0,0.6-0.1,0.9-0.2c0,0,0,0,0,0c-0.2,0.3-0.4,0.5-0.7,0.7 c0,0,0,0,0,0.1c0,0.7-0.1,1.4-0.4,2c-0.3,0.7-0.8,1.3-1.4,1.8c-0.5,0.3-1,0.6-1.6,0.7c-0.6,0.1-1.3,0.2-1.9,0 c-0.5-0.1-1-0.3-1.5-0.6c0,0,0,0,0,0c0.6,0.1,1.2,0,1.8-0.3C13.2,7,13.3,6.9,13.5,6.7z"})),wp.element.createElement("g",{id:"XMLID_3_"},wp.element.createElement("path",{id:"XMLID_37_",class:"st0",d:"M4.2,5.3c-0.4,0-0.8,0-1.2,0C3,4.9,3,4.4,3,4c0.4,0,0.8,0,1.2,0c0,0,0,0,0-0.1 c0-0.4,0-0.7,0-1.1c0-0.4,0.1-0.7,0.3-1C4.7,1.4,5,1.3,5.4,1.2c0.2-0.1,0.5-0.1,0.7-0.1c0.3,0,0.6,0,0.9,0c0,0,0,0,0,0 C7,1.6,7,2,7,2.4c0,0,0,0,0,0c0,0,0,0-0.1,0c-0.3,0-0.5,0-0.8,0c-0.1,0-0.1,0-0.2,0C5.8,2.5,5.6,2.6,5.6,2.9c0,0.1,0,0.2,0,0.3 c0,0.2,0,0.5,0,0.7c0,0,0,0,0,0.1c0.5,0,0.9,0,1.4,0C6.9,4.4,6.8,4.9,6.8,5.3c-0.4,0-0.8,0-1.2,0c0,1.2,0,2.4,0,3.6 c-0.5,0-1,0-1.4,0C4.2,7.7,4.2,6.5,4.2,5.3z"})),wp.element.createElement("g",{id:"XMLID_5_"},wp.element.createElement("path",{id:"XMLID_33_",class:"st0",d:"M8.6,18.6C8.6,18.6,8.6,18.6,8.6,18.6c-0.5,0-1,0-1.4,0c0,0,0,0,0,0c0,0,0,0,0,0 c0-0.8,0-1.6,0-2.4c0-0.2,0-0.4,0-0.6c0-0.1-0.1-0.2-0.1-0.3C6.8,15.1,6.7,15,6.5,15c-0.2,0-0.3,0-0.5,0c-0.2,0.1-0.4,0.2-0.5,0.4 c-0.1,0.1-0.1,0.3-0.1,0.4c0,0.1,0,0.3,0,0.4c0,0.8,0,1.5,0,2.3c0,0,0,0,0,0c-0.5,0-1,0-1.5,0c0-1.6,0-3.2,0-4.8c0.5,0,0.9,0,1.4,0 c0,0.2,0,0.4,0,0.6c0,0,0,0,0,0c0,0,0,0,0,0C5.6,14.2,5.8,14,6,13.8c0.2-0.1,0.5-0.2,0.8-0.2c0.3,0,0.5,0,0.7,0.1 c0.4,0.1,0.7,0.4,0.8,0.8c0.1,0.2,0.1,0.5,0.1,0.7c0,0.1,0,0.3,0,0.4c0,0,0,0,0,0C8.6,16.7,8.6,17.6,8.6,18.6z"}),wp.element.createElement("path",{id:"XMLID_32_",class:"st0",d:"M2.3,11.4c0,0,0.1,0,0.1,0c0.4,0.1,0.7,0.4,0.7,0.8c0,0.4-0.3,0.8-0.7,0.8 c-0.5,0.1-0.9-0.2-1-0.7c0,0,0,0,0-0.1c0,0,0-0.1,0-0.1c0,0,0,0,0,0c0-0.3,0.3-0.6,0.6-0.7c0.1,0,0.1,0,0.2,0 C2.2,11.4,2.3,11.4,2.3,11.4z"}),wp.element.createElement("path",{id:"XMLID_30_",class:"st0",d:"M3,18.6c-0.5,0-1,0-1.5,0c0-1.6,0-3.2,0-4.8c0.5,0,1,0,1.5,0C3,15.4,3,17,3,18.6z"}))),a.tabs=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-tabs",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("rect",{id:"XMLID_1_",x:"1.2",y:"4.9",width:"17.6",height:"14"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"1.2",y:"1.3",width:"8.2",height:"3.6"}),wp.element.createElement("rect",{id:"XMLID_3_",x:"10.6",y:"1.3",width:"8.2",height:"2.5"}))),a.shapediviver=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-shape-diviver",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("path",{id:"XMLID_6_",d:"M20,20H0V0h20V20z M1,19h18V1H1V19z"}),wp.element.createElement("path",{id:"XMLID_10_",d:"M0,10.8c0,0,6.3-3.3,10.6,1.1c5.3,5.5,9.4-2,9.4-2V20L0,20V10.8z"})),a.counter=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-shape-counter",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("rect",{id:"XMLID_4_",x:"1.3",y:"1",width:"8",height:"18"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"10.7",y:"1",width:"8",height:"18"}),wp.element.createElement("g",{id:"XMLID_23_"},wp.element.createElement("path",{id:"XMLID_25_",class:"st0",d:"M8.4,10c0,0.7-0.1,1.3-0.2,1.8c-0.1,0.5-0.3,1-0.5,1.3c-0.2,0.3-0.6,0.6-1,0.8 c-0.4,0.2-0.9,0.3-1.4,0.3c-0.6,0-1-0.1-1.4-0.3c-0.4-0.2-0.7-0.4-1-0.8c-0.2-0.4-0.4-0.8-0.5-1.3c-0.1-0.5-0.2-1.1-0.2-1.8 c0-0.7,0.1-1.3,0.2-1.8c0.1-0.5,0.3-0.9,0.5-1.3c0.3-0.4,0.6-0.6,1-0.8c0.4-0.2,0.9-0.3,1.4-0.3c0.6,0,1.1,0.1,1.5,0.3 s0.7,0.5,1,0.8C8,7.2,8.2,7.7,8.3,8.2C8.4,8.7,8.4,9.3,8.4,10z M6.4,10c0-1-0.1-1.7-0.2-2.1C6,7.5,5.7,7.3,5.3,7.3 c-0.4,0-0.7,0.2-0.8,0.6C4.3,8.3,4.3,9,4.3,10c0,1,0.1,1.7,0.2,2.1c0.2,0.4,0.4,0.6,0.8,0.6s0.7-0.2,0.8-0.6 C6.3,11.7,6.4,11,6.4,10z"})),wp.element.createElement("g",{id:"XMLID_3_"},wp.element.createElement("path",{id:"XMLID_9_",class:"st0",d:"M17.6,7.6L14.2,14H12l3.6-6.5h-3.8V6h5.9V7.6z"})),wp.element.createElement("path",{id:"XMLID_26_",class:"st0",d:"M15.1,2.1c-0.2,0.4-0.4,0.5-0.8,0.5c-0.4,0-0.6-0.1-0.8-0.5C13.4,1.9,13.3,1,13.3,1h-1.9 c0,0,0.1,0.6,0.1,0.9c0.1,0.5,0.3,0.8,0.5,1.2c0.2,0.3,0.5,0.6,0.9,0.7C13.3,3.9,13.8,4,14.3,4c0.5,0,1-0.1,1.4-0.3 C16,3.6,16.3,3.3,16.5,3c0.2-0.3,0.4-0.6,0.5-1.1C17.1,1.6,17.1,1,17.2,1h-1.9C15.2,1,15.2,1.9,15.1,2.1z"})),a.testimonial=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-testimonial",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_2_",class:"st0",d:"M17.5,14.1H2.5c-1.3,0-2.3-1-2.3-2.3V6.3C0.2,5,1.3,4,2.5,4h14.9c1.3,0,2.3,1,2.3,2.3v5.6 C19.8,13.1,18.7,14.1,17.5,14.1z"}),wp.element.createElement("polygon",{id:"XMLID_3_",class:"st0",points:"1.8,13 4.1,17 6.4,13 "}))),a.upload=wp.element.createElement("svg",{width:"50px",height:"50px",viewBox:"0 0 20 20",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M17.9,4c-1,0-2,0-3,0c-0.2,0-0.3,0-0.3-0.3c-0.1-0.9-1-1.5-1.8-1.5c-1.9,0-3.8,0-5.7,0 c-0.8,0-1.6,0.6-1.7,1.5C5.4,3.9,5.3,4,5,4c-1,0-1.9,0-2.9,0C1.1,4,0.1,5,0.1,6c0,3.2,0,6.5,0,9.7c0,0.2,0.1,0.5,0.2,0.7 c0.4,0.9,1.2,1.4,2.2,1.4c2.5,0,5.1,0,7.6,0c2.5,0,4.9,0,7.4,0c0.3,0,0.5,0,0.8-0.1c0.9-0.2,1.7-1.1,1.8-2c0-3.3,0-6.5,0-9.8 C19.9,5,18.9,4,17.9,4z M19,15.3c0,0.4-0.1,0.9-0.5,1.2c-0.3,0.3-0.7,0.3-1.1,0.3c-2.5,0-4.9,0-7.4,0c-2.5,0-4.9,0-7.4,0 c-0.4,0-0.9,0-1.2-0.4c-0.2-0.2-0.4-0.5-0.4-0.9c0-3.1,0-6.3,0-9.4C1.1,5.5,1.6,5,2.3,5c1.1,0,2.3,0,3.4,0c0.6,0,0.8-0.2,0.8-0.8 c0,0,0-0.1,0-0.1C6.4,3.3,6.8,3.1,7.3,3.1c1.8,0,3.8,0,5.6,0c0.6,0,1.1,0.3,1.1,1c0,0.1,0,0.1,0,0.2C14,4.8,14,5,14.5,5 c1.1,0,2.1,0,3.2,0c0.9,0,1.4,0.5,1.4,1.5C19.1,9.4,19,12.3,19,15.3z"}),wp.element.createElement("path",{d:"M10,6.2c-2.6,0-4.7,2.1-4.7,4.6c0,2.6,2.1,4.7,4.6,4.7c2.6,0,4.7-2.1,4.7-4.6C14.7,8.3,12.6,6.2,10,6.2z M10,14.5c-1.9,0-3.6-1.4-3.6-3.6c0-2,1.6-3.6,3.6-3.6c2,0,3.6,1.5,3.6,3.7C13.6,13,12,14.5,10,14.5z"}),wp.element.createElement("path",{d:"M16.7,6.2c-0.5,0-0.9,0.4-0.9,0.9c0,0.5,0.4,0.9,0.9,0.9c0.5,0,0.9-0.5,0.9-0.9C17.7,6.6,17.2,6.2,16.7,6.2 z"})),a.sectionHeader=wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B",className:"blockspare-svg"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_3_",d:"M17,2.2v15.6h-4.3v-6.3H7.4v6.3H3V2.2h4.3V8h5.3V2.2H17z"}))),a.services=wp.element.createElement("svg",{width:"20px",height:"20px",className:"blockspare-svg blockspare-svg-services",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("circle",{id:"XMLID_1_",cx:"4.5",cy:"5",r:"3.4"}),wp.element.createElement("circle",{id:"XMLID_9_",cx:"15.5",cy:"5",r:"3.4"}),wp.element.createElement("rect",{id:"XMLID_2_",y:"10",width:"9",height:"1.7"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"11",y:"9.8",width:"9",height:"1.7"}),wp.element.createElement("rect",{id:"XMLID_4_",y:"13.3",width:"9",height:"6.7"}),wp.element.createElement("rect",{id:"XMLID_7_",x:"11",y:"13.1",width:"9",height:"6.9"})),a.emptySpaces=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{className:"cls-1",x:"1.5",y:"1.5",width:"13",height:"13"})),a.layouts=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{fill:"#333333",d:"M0.4,15.1V0.7c0-0.2,0.1-0.3,0.3-0.3h8.8c0.2,0,0.3,0.1,0.3,0.3v14.4c0,0.2-0.1,0.3-0.3,0.3H0.7 C0.6,15.4,0.4,15.3,0.4,15.1z"}),wp.element.createElement("path",{fill:"#333333",d:"M10.2,7.2V0.7c0-0.2,0.1-0.3,0.3-0.3h8.8c0.2,0,0.3,0.1,0.3,0.3v6.5c0,0.2-0.1,0.3-0.3,0.3h-8.8 C10.3,7.5,10.2,7.3,10.2,7.2z"}),wp.element.createElement("path",{fill:"#333333",d:"M10.3,15.1V8.2c0-0.2,0.1-0.3,0.3-0.3h3.8c0.2,0,0.3,0.1,0.3,0.3v6.9c0,0.2-0.1,0.3-0.3,0.3h-3.8 C10.4,15.4,10.3,15.3,10.3,15.1z"}),wp.element.createElement("path",{fill:"#333333",d:"M0.8,15.8h18.4c0.2,0,0.3,0.1,0.3,0.3v3.3c0,0.2-0.1,0.3-0.3,0.3H0.8c-0.2,0-0.3-0.1-0.3-0.3 v-3.3C0.5,15.9,0.7,15.8,0.8,15.8z"}),wp.element.createElement("path",{fill:"#333333",d:"M15.2,15.1V8.2c0-0.2,0.1-0.3,0.3-0.3h3.7c0.2,0,0.3,0.1,0.3,0.3v6.9c0,0.2-0.1,0.3-0.3,0.3h-3.7 C15.3,15.4,15.2,15.3,15.2,15.1z"})),a.flipX=wp.element.createElement("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"m11 18h3v-2h-3zm3-12h2v-2h-2zm-14-2v12c0 1.1.9 2 2 2h3v-2h-3v-12h3v-2h-3c-1.1 0-2 .9-2 2zm14-2v2h2c0-1.1-.9-2-2-2zm-7 18h2v-20h-2zm7-4h2v-2h-2zm-3-12h3v-2h-3zm3 8h2v-4h-2zm0 6c1.1 0 2-.9 2-2h-2z",transform:"translate(2)"})),a.flipY=wp.element.createElement("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"m13 16h3v-2h-3zm3-12h2v-2h-2zm-14-2v12c0 1.1.9 2 2 2h3v-2h-3v-12h3v-2h-3c-1.1 0-2 .9-2 2zm14-2v2h2c0-1.1-.9-2-2-2zm-7 18h2v-20h-2zm7-4h2v-2h-2zm-3-12h3v-2h-3zm3 8h2v-4h-2zm0 6c1.1 0 2-.9 2-2h-2z",transform:"matrix(0 1 -1 0 18 0)"})),a.edit='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><Path d="m11 5.9125c-2.784375 0-5.01875 2.26875-5.01875 5.01875 0 2.784375 2.26875 5.01875 5.01875 5.01875 2.784375 0 5.01875-2.26875 5.01875-5.01875s-2.234375-5.01875-5.01875-5.01875zm.378125 6.325-1.134375 1.134375-1.134375-1.134375-1.1-1.1 1.134375-1.134375 1.1 1.1 2.6125-2.6125 1.134375 1.134375zm9.659375-2.715625c-.446875-.4125-.61875-1.065625-.378125-1.615625l.20625-.515625c.34375-.790625-.103125-1.684375-.928125-1.925l-.55-.1375c-.584375-.171875-.996875-.6875-1.03125-1.30625v-.584375c-.034375-.859375-.825-1.478125-1.65-1.340625l-.55.103125c-.61875.103125-1.203125-.171875-1.478125-.721875l-.275-.48125c-.4125-.75625-1.375-.9625-2.0625-.48125l-.446875.309375c-.48125.34375-1.16875.34375-1.65 0l-.446875-.34375c-.6875-.515625-1.684375-.275-2.096875.48125l-.275.48125c-.309375.55-.89375.825-1.5125.721875l-.55-.103125c-.859375-.1375-1.615625.48125-1.684375 1.340625l-.034375.55c-.034375.61875-.446875 1.134375-1.03125 1.30625l-.55.171875c-.825.240625-1.271875 1.134375-.928125 1.925l.20625.515625c.240625.55.06875 1.203125-.378125 1.615625l-.4125.378125c-.653125.55-.653125 1.58125 0 2.13125l.4125.378125c.446875.4125.61875 1.065625.378125 1.615625l-.20625.515625c-.34375.790625.103125 1.684375.928125 1.925l.55.1375c.584375.171875.996875.6875 1.03125 1.30625l.034375.55c.034375.859375.825 1.478125 1.65 1.340625l.55-.103125c.61875-.103125 1.203125.171875 1.478125.721875l.275.48125c.4125.75625 1.375.9625 2.0625.48125l.446875-.309375c.48125-.34375 1.16875-.34375 1.65 0l.446875.34375c.6875.515625 1.684375.275 2.096875-.48125l.275-.48125c.309375-.55.89375-.825 1.5125-.721875l.55.103125c.859375.1375 1.615625-.48125 1.684375-1.340625l.034375-.55c.034375-.61875.446875-1.134375 1.03125-1.30625l.55-.1375c.825-.240625 1.271875-1.134375.928125-1.925l-.20625-.515625c-.240625-.55-.06875-1.203125.378125-1.615625l.4125-.378125c.653125-.55.653125-1.58125 0-2.13125zm-10.0375 8.3875c-3.85 0-6.94375-3.128125-6.94375-6.94375 0-3.85 3.128125-6.94375 6.94375-6.94375 3.85 0 6.94375 3.128125 6.94375 6.94375s-3.09375 6.94375-6.94375 6.94375z" transform="translate(1 1)" /></svg>;',a.blockspare_placeholder=wp.element.createElement("svg",{viewBox:"0 0 384 384",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M203.3,384c-7.5,0-15,0-22.5,0c-7.9-1.1-15.8-1.9-23.7-3.3C78.7,366.6,16.4,303.8,3,225.4c-1.2-7.1-2-14.3-3-21.4 c0-8,0-16,0-24c0.2-1,0.6-1.9,0.6-2.9c1.4-18.8,5.7-36.9,12.4-54.5c0.6-1.5,0.6-3.3,0.9-4.7c1-1.5,2.3-2.9,3-4.5 C26,93.3,38,75.2,53.4,59.3C82.7,29,118.1,10.1,159.6,2.9c7.2-1.2,14.6-2,21.9-2.9c7.3,0,14.5,0,21.8,0c1,0.2,1.9,0.4,2.9,0.6 c12.3,2.1,25,2.8,36.8,6.5c75.8,23.3,122,74.1,138.1,151.9c1.4,6.9,2,14,3,21.1c0,8,0,16,0,24c-0.2,1-0.5,1.9-0.6,2.9 c-1.3,8.8-2.1,17.6-3.9,26.3c-15.7,75.1-78.8,135.5-154.4,147.9C217.8,382.3,210.5,383,203.3,384z M20.8,140.3 c-22.5,68.7,1.5,162.7,85.2,208.8c80.6,44.3,178.3,19.1,229.2-49.9c-3.4-3.2-6.6-6.7-10.2-9.8c-3.9-3.3-5.5-7-5.1-12.1 c0.4-5.5,0.2-11,0-16.5c-0.1-2-0.5-4.2-1.4-6.1c-5-10.2-9.6-20.6-15.4-30.4c-7-11.8-10.4-24.1-8.9-37.8c0.2-1.6-0.5-4.2-1.6-4.8 c-4.9-2.6-8.3-8.1-14.7-7.8c-0.5,0-1,0.2-1.5,0.3c-6.1,1.5-12.1,3.1-18.2,4.4c-1.7,0.4-3.8,0.4-5.4-0.3 c-14.6-6.1-29.2-12.3-43.7-18.8c-1.9-0.9-4.1-3.4-4.4-5.4c-2.4-14.4-4.2-28.9-6.3-43.4c-0.4-3,0.4-5.3,2.5-7.4 c5.9-5.8,11.6-11.8,17.6-17.4c1.6-1.5,4.1-2.6,6.2-2.6c12.1-0.2,24.2-0.1,36.4-0.1c3,0,5.2,1.2,6.9,3.7c3,4.6,6,9.2,9.2,13.7 c0.9,1.3,2.6,2.4,4.1,2.7c6,1.2,12,2.1,18.1,3.1c4.7,0.7,9.7,2.8,14,1.7c10.4-2.5,20.4-6.5,31.4-10.2c-6.7-8.9-13-17.3-19.3-25.8 c-5,3.4-9.3,6.4-13.8,9.1c-1.8,1.1-4.3,2-6.2,1.6c-15.8-3.2-31.8-5.3-46.9-11.2c-1.7-0.7-3.9-0.7-5.8-0.3 c-6.3,1.4-12.6,3.2-18.9,4.6c-2.1,0.5-4.5,0.6-6.6,0c-5.9-1.7-11.7-3.7-17.4-5.7c-5-1.7-6.4-5.3-4.1-10c3.9-8,7.9-15.8,11.8-23.8 c1.6-3.2,3.9-4.5,7.5-4.4c5.9,0.1,11.8-0.3,17.6,0.1c6.4,0.4,10.9-3.3,16.4-5.8c-27.7-15.5-93.9-17.9-122.5-4.2 c3.5,1.6,6.2,3.4,9.2,4c11,2.1,22.1,3.8,33.2,5.8c5.7,1,7.5,4.2,5.7,9.8c-1.8,5.6-3.7,11.1-5.5,16.7c-0.9,2.9-2.6,4.7-5.5,5.6 c-4.2,1.3-8.4,2.5-12.4,4.3c-2,0.9-4.1,2.3-5.3,4.1c-5.2,8.2-10,16.7-15.2,25c-1.3,2-3.1,3.9-5.2,5.2c-9.3,5.8-18.8,11.4-28.3,17 c-1.8,1-3.9,1.8-5.9,2.1c-11.5,1.8-23,3.5-34.5,5c-2.6,0.3-3.1,1.4-3.3,3.8c-0.5,5.4,0.8,9.7,5.3,13c1.7,1.2,3.4,2.8,4.5,4.5 c1.4,2.2,2.5,4.7,3,7.3c0.5,2.4,0.1,5,0.1,7.6c0.3,0.1,0.7,0.2,1,0.3c2.1-2.2,4.2-4.6,6.4-6.7c4.4-4.3,8.9-3.6,11.7,2 c3.1,6,6.1,12,9,18.1c1,2.1,2.2,2.8,4.6,2.8c11.9-0.1,23.7,0.1,35.6-0.1c4.1-0.1,6.7,1.5,8.8,5.1c4.6,8,9.6,15.8,14.1,23.8 c1.4,2.5,3.1,3.4,6,3.3c5.4-0.2,10.7-0.1,16.1-0.1c6.7,0,9,2.8,7.8,9.5c-0.8,4.4-2.3,8.8-2.6,13.2c-0.8,13.7-6.8,24.4-17.6,32.6 c-0.3,0.2-0.5,0.6-0.8,0.8c-8.7,6.2-12.3,14.4-10.5,25c0.6,3.6-1.1,6.2-4,8.3c-6.5,4.7-12.9,9.5-19.2,14.4c-1.2,1-2.2,3-2.2,4.6 c-0.2,8.2,0,16.5-0.1,24.7c-0.1,6-3.8,8.7-9.5,6.8c-5.6-1.8-11.1-3.7-16.7-5.5c-3-0.9-4.8-2.7-6-5.7c-3.7-9.5-7.6-19-11.3-28.5 c-0.8-2.2-1.3-4.6-1.3-6.9C96,287.3,96,269.9,96,252.6c0-1.3,0-2.7,0-4.1c-8.2-1.6-16-3.3-23.8-4.7c-4.2-0.7-7-2.5-8.8-6.5 c-2-4.7-4.2-9.4-6.9-13.7c-4.4-7.2-5.6-14.8-5.6-23.2c0-7.5,1.2-13.8,7.6-18.3c0.6-0.4,1-1.1,1.7-1.9c-1.3-0.9-2.4-1.7-3.5-2.4 c-8.8-5.9-17.8-11.6-26.4-17.8c-2.1-1.5-3.8-3.9-4.8-6.3C23.6,149.5,22.4,145.1,20.8,140.3z M342.3,288.8 c36.6-54.1,37.1-128,8.3-179.1c-10.8,3.6-21.7,7.3-32.6,10.8c-2.2,0.7-4.7,1.1-6.9,0.8c-10.5-1.5-20.9-3.7-31.4-5 c-5.8-0.8-9.9-3-12.8-8.3c-2.2-4.1-4.5-9.3-8.2-11.3c-3.7-2-9.3-0.6-14-0.6c-6,0-12.6-1.5-17.8,0.7c-5.1,2.1-8.7,8-13,12.2 c-0.2,0.2-0.4,0.3-0.5,0.5c-0.5,1.4-1.4,2.9-1.2,4.2c1.4,10.9,3.1,21.8,4.5,32.7c0.3,2.2,1.2,3.2,3.1,4c11.5,4.8,22.9,9.9,34.4,14.7 c1.5,0.6,3.4,0.7,5,0.4c6.5-1.4,12.9-3.1,19.2-4.8c3-0.8,5.6-0.4,8.1,1.4c5.4,3.8,10.9,7.5,16.5,11c2.9,1.9,4.2,4.4,4.2,7.8 c-0.1,6.2-0.2,12.5,0.1,18.7c0.1,2.4,0.6,5,1.7,7.1c4.6,9.7,9,19.6,14.5,28.8c7.5,12.6,11.2,25.7,9.4,40.3c-0.1,0.5-0.1,1,0,1.5 c0.4,1.1,0.7,2.4,1.4,3.2C336.8,283.2,339.4,285.8,342.3,288.8z M87.8,170.8c-7.8,7.8-15.2,15.1-22.4,22.6c-0.9,0.9-1.3,2.6-1.4,4 c-0.9,8,0.5,15.6,5,22.5c1.8,2.7,2.7,5.9,4.5,8.6c1,1.4,2.7,2.9,4.4,3.2c8,1.8,16.1,3.3,24.2,5c5.2,1.1,6.7,2.9,6.7,8.2 c0,12,0.7,24-0.2,36c-1.2,17.1,2,33,9.3,48.5c2.3,4.8,5.4,6.2,10.2,7c0-6.3,0.4-12.5-0.1-18.5c-0.4-5.5,1.5-9.3,6.2-12.1 c2.9-1.7,5.4-4,8.1-6c3.7-2.8,8.8-4.9,10.6-8.6c1.9-3.8,0.8-9.3,0.7-14c-0.1-3.3,1-5.7,3.3-7.9c7-6.8,13.8-13.7,20.7-20.6 c0.7-0.7,1.8-1.4,1.9-2.2c1.6-7.2,3-14.5,4.6-22.2c-5.8,0-10.9-0.1-16,0c-3.8,0.1-6.3-1.4-8.2-4.7c-4.8-8.3-9.9-16.5-14.7-24.8 c-1.1-2-2.4-2.7-4.7-2.7c-12.1,0.1-24.2,0-36.4,0.1c-4,0-6.6-1.5-8.3-5.1C93.4,181.7,90.7,176.5,87.8,170.8z M170.7,43.7 c-1.7-0.3-3.1-0.7-4.6-0.9c-14.6-2.6-30-2.8-41.8-14c-1.5-1.5-3.1-1.4-5.1-0.5c-41.2,18.9-71.3,48.9-90.4,90 c-0.6,1.3-0.7,3.2-0.3,4.5c2.6,8.2,5.3,16.4,8.2,24.5c0.5,1.4,1.6,2.8,2.9,3.6c7.1,4.9,14.3,9.6,21.5,14.4c0.8,0.5,1.6,0.9,2.6,1.3 c1.1-9.7,1.1-9.7-5.1-15.9c-1.5-1.5-3.3-2.8-4.4-4.6c-1.3-2.1-2.6-4.6-2.8-7c-0.4-5.1-0.1-10.2-0.1-15.4c0-6.1,1.6-8,7.7-8.9 c7.8-1.1,15.6-2.2,23.4-3.3c10-1.4,19.4-3.3,28.6-8.5c13.2-7.6,24.1-16.5,30.1-30.7c4.5-10.6,12.1-17,23.5-18.8 c0.6-0.1,1.3-0.2,1.8-0.6c0.7-0.6,1.6-1.2,1.9-2C169.1,48.7,169.8,46.3,170.7,43.7z M220.4,60c7.9,3.8,9.6,4,17.3,2.1 c5.1-1.3,10.1-2.7,15.2-3.7c2-0.4,4.3-0.5,6.2,0.2c14.2,5.4,29,8.1,43.8,11c1.3,0.2,2.9,0.3,3.9-0.2c3.1-1.8,6-3.9,9.5-6.2 c-1.2-1.1-2.2-1.9-3.1-2.7c-10.8-9.9-22.6-18.4-35.4-25.5c-2.3-1.3-4.2-1.5-6.5-0.1c-12.4,7.9-25.7,12.3-40.7,10.2 c-0.4-0.1-0.8-0.1-1.1,0c-0.8,0.4-1.9,0.8-2.3,1.4C224.9,50.9,222.7,55.4,220.4,60z"}));var r=a,i=n(0),o=n.n(i);const l=wp.blocks,s=l.getCategories,c=l.setCategories,u=wp.i18n.__;c([{icon:r.category,slug:"blockspare",title:u("Blockspare","blockspare")},...s().filter(({slug:e})=>"blockspare"!==e)]);const p=wp.hooks.addFilter,d=wp.compose.createHigherOrderComponent,m=["blockspare/blockspare-shape-divider"];const f=d(e=>t=>{const n=t.name;if(m.includes(n)&&(t.attributes.blockspare=t.attributes.blockspare||{},void 0===t.attributes.blockspare.id)){const e=new Date;t.attributes.blockspare=Object.assign({},t.attributes.blockspare,{id:""+e.getMonth()+e.getDate()+e.getHours()+e.getMinutes()+e.getSeconds()+e.getMilliseconds()})}return wp.element.createElement(e,t)},"withAttributes");p("blocks.registerBlockType","blockspare/custom/attributes",(function(e){return m.includes(e.name)&&void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{blockspare:{type:"object"}})),e})),p("editor.BlockEdit","blockspare/attributes",f);n(581),n(582);var b=n(117),g=["fa fa-plus","fa fa-plus-circle","fas fa-arrow-up"];const h=wp.i18n.__,v=wp.element,y=v.Component,w=v.Fragment;var k=class extends y{constructor(e){super(e),this.state={isOpen:!1,filterText:"",showIcons:!1}}render(){const e=this.props,t=e.value,n=e.disableToggle,a=e.colorSettings,r=e.iconColor,i=e.onColorChange,o=this.state.filterText;var l=[];return o.length>2?g.forEach(e=>{e.includes(o)&&l.push(e)}):l=g,wp.element.createElement("div",{className:"blockspare-field blockspare-field-icon-list "+(n?"":"blockspare-toggle-enabled")},this.props.label&&wp.element.createElement(w,null,n?wp.element.createElement("label",null,this.props.label):wp.element.createElement(Toggle,{label:this.props.label,className:"blockspare-icon-list-toggle",value:!!this.props.value,onChange:()=>this.props.onChange(this.props.value?"":" ")})),a&&wp.element.createElement(Color,{label:h(" Color"),value:r||"#ccc",onChange:e=>i(e)}),(n||""!=this.props.value)&&wp.element.createElement("div",{className:"blockspare-icon-list-wrapper"},wp.element.createElement("input",{type:"text",value:this.state.filterText,placeholder:"Search...",onChange:e=>this.setState({filterText:e.target.value}),autoComplete:"off"}),wp.element.createElement("div",{className:"blockspare-icon-list-icons"},l.map(e=>wp.element.createElement("span",{className:t==e?"blockspare-active":"",onClick:t=>{this.props.onChange(e)}},wp.element.createElement("span",{className:e}))))))}};const _=wp.i18n.__,x=wp.compose.compose,S=wp.data,E=S.withSelect,T=S.withDispatch,C=wp.element,M=C.Component,O=C.Fragment,L=wp.components,D=L.Button,F=L.PanelBody,P=(L.SelectControl,L.RangeControl,wp.blockEditor),j=P.InnerBlocks,N=P.RichText,z=P.InspectorControls,A=P.PanelColorSettings;var Y=x([E((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlockHierarchyRootClientId,i=a.getBlock,o=a.isBlockSelected,l=a.hasSelectedInnerBlock;return{block:i(n),isSelectedBlockInRoot:o(n)||l(n,!0),rootBlock:n?i(r(n)):null}}),T(e=>{const t=e("core/block-editor");return{removeBlock:t.removeBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends M{constructor(){super(...arguments),this.findParentAccordion=this.findParentAccordion.bind(this),this.state={device:"md"}}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}findParentAccordion(e){const t=this.props.block;let n=!1;return e.innerBlocks&&e.innerBlocks.length&&e.innerBlocks.forEach(a=>{n||a.clientId!==t.clientId?n||(n=this.findParentAccordion(a)):n=e}),n}setGlobalSettings(e,t){const n=this.props.updateBlockAttributes,a=this.findParentAccordion(this.props.rootBlock);a.innerBlocks&&a.innerBlocks.length&&a.innerBlocks.forEach(a=>{n(a.clientId,{[e]:t})})}updateRootBlock(e,t){(0,this.props.updateBlockAttributes)(this.findParentAccordion(this.props.rootBlock).clientId,{[e]:t})}updateItemNumber(e){const t=this.props.updateBlockAttributes,n=this.findParentAccordion(this.props.rootBlock);for(;e<n.innerBlocks.length;)t(n.innerBlocks[e].clientId,{itemNumber:n.innerBlocks[e].attributes.itemNumber-1}),e++}_onClickLabel(){const e=this.props,t=e.clientId,n=e.rootBlock,a=e.attributes,r=e.setAttributes,i=e.updateBlockAttributes,o=this.findParentAccordion(this.props.rootBlock);n.attributes.itemToggle?o.innerBlocks.forEach(e=>{const n=e.clientId==t&&!a.active;i(e.clientId,{active:n})}):r({active:!a.active})}render(){const e=this.props,t=(e.rootBlock,e.attributes),n=t.active,a=t.uniqueId,r=t.itemNumber,i=t.defaultText,o=t.fillType,l=t.heading,s=t.name,c=t.iconPosition,u=t.panelColor,p=t.panelActiveColor,d=t.textColor,m=t.marginBottom,f=t.activeTextColor,b=t.panelBackGroundColor,g=e.setAttributes,h=e.isSelected,v=e.isSelectedBlockInRoot;let y="";y=p||"#8b249c";let w="#3c1a5b";u&&(w=u);let x="#fff";f&&(x=f);let S="#fff";d&&(S=d);let E="#fff";b&&(E=b);const T=`blockspare-accordion-item blockspare-type-${o} ${n?"blockspare-accordion-active":""}`,C={backgroundColor:1==n?y:w},M=(_("Left","blockspare"),_("Right","blockspare"),{marginBottom:m+"px"});return wp.element.createElement(O,null,wp.element.createElement(z,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(F,{title:_("Color settings","blockspare"),initialOpen:!0},wp.element.createElement(A,{title:_("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:d,onChange:e=>this.setGlobalSettings("textColor",e),label:_("Text Color","blockspare")},{value:f,onChange:e=>this.setGlobalSettings("activeTextColor",e),label:_("Active Text Color","blockspare")},{value:p,onChange:e=>this.setGlobalSettings("panelActiveColor",e),label:_("Active Panel Color","blockspare")},{value:u,onChange:e=>this.setGlobalSettings("panelColor",e),label:_("Panel Color","blockspare")}]})),wp.element.createElement(F,{title:_("Icon settings","blockspare"),initialOpen:!1},wp.element.createElement(k,{value:s,onChange:e=>this.setGlobalSettings("name",e)})))),wp.element.createElement("div",{className:"blockspare-block-"+a},wp.element.createElement("div",{className:T,style:M},wp.element.createElement("div",{className:"blockspare-accordion-panel "+c,style:C},wp.element.createElement("span",{className:"blockspare-accordion-panel-handler",onClick:()=>this._onClickLabel(),role:"button",style:{color:n?x:S}},s&&wp.element.createElement("span",{className:"blockspare-accordion-icon "+s}),wp.element.createElement(N,{tagName:"span",placeholder:_("Add Accordion Item.."),className:"blockspare-accordion-panel-handler-label",value:l,onChange:e=>g({heading:e}),allowedFormats:["bold","italic","strikethrough"],isSelected:h,keepPlaceholderOnFocus:!0,onClick:()=>this.updateLabel()})),v&&wp.element.createElement(D,{onClick:()=>{const e=this.findParentAccordion(this.props.rootBlock);e&&e.clientId&&(this.updateItemNumber(r),this.props.removeBlock(this.props.clientId),e.innerBlocks.length<=1&&this.props.removeBlock(e.clientId))},className:"blockspare-accordion-item-remove-button"},wp.element.createElement("i",{className:"fa fa-times"}))),wp.element.createElement("div",{className:"blockspare-accordion-body",style:{backgroundColor:E},"data-bg":E},wp.element.createElement(j,{template:i?[["core/paragraph",{content:i,customFontSize:16}]]:"",templateLock:!1})))))}});const B=wp.element.Component,I=wp.blockEditor,R=I.InnerBlocks,H=I.RichText;var W=class extends B{render(){const e=this.props.attributes,t=e.uniqueId,n=(e.itemNumber,e.heading),a=e.name,r=e.iconPosition,i=e.fillType,o=(e.active,e.openFirstItem,e.panelColor),l=e.panelActiveColor,s=e.textColor,c=e.marginBottom,u=e.activeTextColor,p=e.panelBackGroundColor;e.defaultTextSize;let d="";d=l||"#8b249c";let m="#3c1a5b";o&&(m=o);let f="#fff";u&&(f=u);let b="#fff";s&&(b=s);const g=`blockspare-accordion-item blockspare-type-${i} `,h={backgroundColor:m},v={marginBottom:c+"px"};let y="#fff";return p&&(y=p),wp.element.createElement("div",{className:"blockspare-block-"+t},wp.element.createElement("div",{className:g,"data-act-color":f,"data-txt-color":b,"data-active":d,"data-pan":m,style:v},wp.element.createElement("div",{className:"blockspare-accordion-panel "+r,style:h},wp.element.createElement("span",{className:"blockspare-accordion-panel-handler",role:"button",style:{color:b}},a&&wp.element.createElement("span",{className:"blockspare-accordion-icon "+a}),wp.element.createElement(H.Content,{tagName:"span",className:"blockspare-accordion-panel-handler-label",value:n}))),wp.element.createElement("div",{className:"blockspare-accordion-body",style:{backgroundColor:y},"data-bg":y},wp.element.createElement(R.Content,null))))}};const U=wp.i18n.__,G=wp.blocks.registerBlockType,V=b.category,q=b.attributes,$={title:U("Accordion","blockspare"),description:U("Display creative collapsible texts Accordion.","blockspare"),parent:["blockspare/blockspare-accordion"],icon:"link",category:V,supports:{html:!1,inserter:!1,reusable:!1},attributes:q,edit:Y,save:W};G("blockspare/accordion-item",$);wp.i18n.__;const J=wp.element,X=J.Component,K=J.Fragment,Q=(wp.components.IconButton,wp.blockEditor.InnerBlocks),Z=wp.blocks.createBlock,ee=wp.compose.compose,te=wp.data,ne=te.withSelect,ae=te.withDispatch;var re=ee([ne((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,i=a.isBlockSelected,o=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:i(n)||o(n,!0)}}),ae(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends X{constructor(...e){var t,n,a;super(...e),a=e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++){const n="Ipsam per dolores minus natoque? Rutrum dolorem voluptates euismod pharetra! Rhoncus distinctio cupiditate accusantium. Cillum aliquid.";t.push(["blockspare/accordion-item",{itemNumber:e,defaultText:n,customFontSize:16}])}return t},(n="getAccordionTemplate")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertAccordionItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes,n=t.itemNumber+1,a=$.heading;e=Object.assign({},t,{itemNumber:n,heading:a,active:!1,defaultText:""})}else e=$;a(Z("blockspare/accordion-item",e),void 0,n)}render(){const e=this.props,t=(e.name,e.attributes),n=(e.isSelectedBlockInRoot,e.setAttributes,e.attributes.uniqueId);return wp.element.createElement(K,null,wp.element.createElement("div",{className:"blockspare-block-accordion blockspare-block-"+n},wp.element.createElement(Q,{template:this.getAccordionTemplate(t),allowedBlocks:["blockspare/accordion-item"]})))}});const ie=wp.element.Component,oe=wp.blockEditor.InnerBlocks;var le=class extends ie{render(){const e=this.props.attributes,t=e.uniqueId,n=e.itemToggle,a="blockspare-block-accordion blockspare-block blockspare-block-"+t;return wp.element.createElement("div",{className:a,"data-item-toggle":n},wp.element.createElement(oe.Content,null))}},se=n(78);const ce=wp.i18n.__,ue=wp.blocks.registerBlockType,pe=se.name,de=se.category,me=se.attributes;ue(pe,{title:ce("BS Accordion","blockspare"),description:ce("Display creative collapsible Accordion.","blockspare"),category:de,icon:r.accordion,keywords:[ce("accordion","blockspare"),ce("block","blockspare"),ce("collapsible","blockspare"),ce("collapse","blockspare")],supports:{html:!1,className:!1,align:["center","wide","full"]},example:{attributes:{}},attributes:me,edit:re,save:le});n(583),n(584);var fe=n(79);const be=wp.i18n.__,ge=wp.element.Fragment,he=wp.components,ve=he.SelectControl,ye=he.ToggleControl,we=he.RangeControl,ke=wp.blockEditor.PanelColorSettings;function _e(e){const t=e.enableGradient,n=e.enableButtonBackgroundColor,a=e.buttonBackgroundColor,r=e.onChangeButtonColor,i=void 0===r?()=>{}:r,o=e.buttonTextColor,l=e.onChangeButtonTextColor,s=void 0===l?()=>{}:l,c=e.enableButtonShape,u=e.buttonShape,p=e.onChangeButtonShape,d=void 0===p?()=>{}:p,m=e.enableButtonStyle,f=e.buttonStyle,b=e.onChangeBorderStyle,g=void 0===b?()=>{}:b,h=e.enableButtonTarget,v=e.buttonTarget,y=e.onChangeButtonTarget,w=void 0===y?()=>{}:y,k=e.borderColor,_=e.onchangeBorderColor,x=void 0===_?()=>{}:_,S=e.borderBtnTextColor,E=e.onChangeBorderBtnTextColor,T=void 0===E?()=>{}:E,C=e.enableBtnBorderWidth,M=e.btnBorderWidth,O=e.onchangebtnBorderWidth,L=void 0===O?()=>{}:O,D=e.buttonHoverEffect,F=e.onchangeButtonHoverEffect,P=void 0===F?()=>{}:F,j=(be("Small","blockspare"),be("Medium","blockspare"),be("Large","blockspare"),be("Extra Large","blockspare"),[{value:"blockspare-button-shape-square",label:be("Square","blockspare")},{value:"blockspare-button-shape-rounded",label:be("Rounded Square","blockspare")},{value:"blockspare-button-shape-circular",label:be("Circular","blockspare")}]),N=[{value:"none",label:be("Fill","blockspare")},{value:"solid",label:be("Border","blockspare")}],z=(be("Normal","blockspare"),be("Bold","blockspare"),[{value:"",label:be("None","blockspare")},{value:"hover-style-1",label:be("Dim","blockspare")},{value:"hover-style-2",label:be("Raise","blockspare")}]);return wp.element.createElement(ge,null,0!=h&&wp.element.createElement(ye,{label:be("Open link in new window","blockspare"),checked:v,onChange:w}),0!=c&&wp.element.createElement(ve,{label:be("Button Shape","blockspare"),value:u,options:j.map(({value:e,label:t})=>({value:e,label:t})),onChange:d}),0!=m&&wp.element.createElement(ve,{label:be("Border Style","blockspare"),value:f,options:N.map(({value:e,label:t})=>({value:e,label:t})),onChange:g}),wp.element.createElement(ve,{label:be("Hover Option","blockspare"),value:D,options:z.map(({value:e,label:t})=>({value:e,label:t})),onChange:P}),0!=C&&"solid"===f&&wp.element.createElement(we,{label:be("Border Width","blockspare"),value:M,min:1,step:1,max:5,onChange:L}),0!=C&&"solid"===f&&wp.element.createElement(we,{label:be("Border Width","blockspare"),value:M,min:1,step:1,max:5,onChange:L}),0!=n&&"none"===f&&1==t&&wp.element.createElement(ke,{title:be("Button Color Options","blockspare"),initialOpen:!1,colorSettings:[{value:o,onChange:s,label:be("Button Text Color","blockspare")}]}),0!=n&&"none"===f&&0==t&&wp.element.createElement(ke,{title:be("Button Color Options","blockspare"),initialOpen:!1,colorSettings:[{value:a,onChange:i,label:be("Button Color","blockspare")},{value:o,onChange:s,label:be("Button Text Color","blockspare")}]}),"solid"===f&&wp.element.createElement(ke,{title:be("Border Color","blockspare"),initialOpen:!0,colorSettings:[{value:k,onChange:x,label:be("Border Color","blockspare")},{value:S,onChange:T,label:be("Texts Color","blockspare")}]}))}const xe=wp.i18n.__,Se=wp.element.Fragment,Ee=wp.components.RangeControl,Te=wp.blockEditor.PanelColorSettings;function Ce(e){const t=e.backgroundColor1,n=e.backgroundColor2,a=e.gradientAngle,r=e.colorLocation1,i=e.colorLocation2,o=e.onChangeBackgroundColor1,l=void 0===o?()=>{}:o,s=e.onChangeBackgroundColor2,c=void 0===s?()=>{}:s,u=e.onChangeGradientAngle,p=void 0===u?()=>{}:u,d=e.onChangeColorLocation1,m=void 0===d?()=>{}:d,f=e.onChangeColorLocation2,b=void 0===f?()=>{}:f;return wp.element.createElement(Se,null,wp.element.createElement(Te,{title:xe("Gradient Color Option ","blockspare"),initialOpen:!0,colorSettings:[{value:t,onChange:l,label:xe("Background Color #1","blockspare")},{value:n,onChange:c,label:xe("Background Color #2","blockspare")}]}),wp.element.createElement(Ee,{label:xe("Gradient Angle","blockspare"),value:a,onChange:p,min:-180,step:1,max:180}),wp.element.createElement(Ee,{label:xe("Location #1","blockspare"),value:r,onChange:m,min:0,step:1,max:100}),wp.element.createElement(Ee,{label:xe("Location #2","blockspare"),value:i,onChange:b,min:0,step:1,max:100}))}const Me=wp.i18n.__,Oe=wp.element.Fragment,Le=wp.components.RangeControl;function De(e){const t=e.padding,n=e.paddingTitle,a=e.paddingHelp,r=e.paddingMin,i=e.paddingMax,o=e.paddingEnable,l=e.onChangePadding,s=void 0===l?()=>{}:l,c=e.paddingTop,u=e.paddingTopMin,p=e.paddingTopMax,d=e.paddingEnableTop,m=e.onChangePaddingTop,f=void 0===m?()=>{}:m,b=e.paddingRight,g=e.paddingRightMin,h=e.paddingRightMax,v=e.paddingEnableRight,y=e.onChangePaddingRight,w=void 0===y?()=>{}:y,k=e.paddingBottom,_=e.paddingBottomMin,x=e.paddingBottomMax,S=e.paddingEnableBottom,E=e.onChangePaddingBottom,T=void 0===E?()=>{}:E,C=e.paddingLeft,M=e.paddingLeftMin,O=e.paddingLeftMax,L=e.paddingEnableLeft,D=e.onChangePaddingLeft,F=void 0===D?()=>{}:D,P=e.paddingVertical,j=e.paddingEnableVertical,N=e.paddingVerticalMin,z=e.paddingVerticalMax,A=e.onChangePaddingVertical,Y=void 0===A?()=>{}:A,B=e.paddingHorizontal,I=e.paddingEnableHorizontal,R=e.paddingHorizontalMin,H=e.paddingHorizontalMax,W=e.onChangePaddingHorizontal,U=void 0===W?()=>{}:W;return wp.element.createElement(Oe,null,o&&wp.element.createElement(Le,{label:n||Me("Padding","blockspare"),help:a||null,value:t,min:r,max:i,onChange:s}),d&&wp.element.createElement(Le,{label:Me("Padding Top","blockspare"),value:c,min:u,max:p,onChange:f}),v&&wp.element.createElement(Le,{label:Me("Padding Right","blockspare"),value:b,min:g,max:h,onChange:w}),S&&wp.element.createElement(Le,{label:Me("Padding Bottom","blockspare"),value:k,min:_,max:x,onChange:T}),L&&wp.element.createElement(Le,{label:Me("Padding Left","blockspare"),value:C,min:M,max:O,onChange:F}),j&&wp.element.createElement(Le,{label:Me("Padding Vertical","blockspare"),value:P,min:N,max:z,onChange:Y}),I&&wp.element.createElement(Le,{label:Me("Padding Horizontal","blockspare"),value:B,min:R,max:H,onChange:U}))}const Fe=wp.i18n.__,Pe=wp.element.Fragment,je=wp.components.RangeControl;function Ne(e){const t=e.margin,n=e.marginTitle,a=e.marginHelp,r=e.marginMin,i=e.marginMax,o=e.marginEnable,l=e.onChangeMargin,s=void 0===l?()=>{}:l,c=e.marginTop,u=e.marginTopMin,p=e.marginTopMax,d=e.marginEnableTop,m=e.onChangeMarginTop,f=void 0===m?()=>{}:m,b=e.marginBottom,g=e.marginBottomMin,h=e.marginBottomMax,v=e.marginEnableBottom,y=e.onChangeMarginBottom,w=void 0===y?()=>{}:y;return wp.element.createElement(Pe,null,o&&wp.element.createElement(je,{label:n||Fe("Margin","blockspare"),help:a||null,value:t,min:r,max:i,onChange:s}),d&&wp.element.createElement(je,{label:Fe("Margin Top","blockspare"),value:c,min:u,max:p,onChange:f}),v&&wp.element.createElement(je,{label:Fe("Margin Bottom","blockspare"),value:b,min:g,max:h,onChange:w}))}var ze=n(114),Ae=n.n(ze);const Ye={ABeeZee:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Abel:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Abhaya Libre":{v:["regular","500","600","700","800"],subset:["latin-ext","sinhala","latin"],weight:["400","500","600","700","800"],i:["normal"]},"Abril Fatface":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aclonica:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Acme:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Actor:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Adamina:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Advent Pro":{v:["100","200","300","regular","500","600","700"],subset:["latin-ext","greek","latin"],weight:["100","200","300","400","500","600","700"],i:["normal"]},"Aguafina Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Akronim:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aladin:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aldrich:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Alef:{v:["regular","700"],subset:["hebrew","latin"],weight:["400","700"],i:["normal"]},Alegreya:{v:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","700","800","900"],i:["normal","italic"]},"Alegreya SC":{v:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","700","800","900"],i:["normal","italic"]},"Alegreya Sans":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal","italic"]},"Alegreya Sans SC":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal","italic"]},"Alex Brush":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Alfa Slab One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Alice:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin"],weight:["400"],i:["normal"]},Alike:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Alike Angular":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Allan:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Allerta:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Allerta Stencil":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Allura:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Almendra:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Almendra Display":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Almendra SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Amarante:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Amaranth:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Amatic SC":{v:["regular","700"],subset:["cyrillic","latin-ext","hebrew","vietnamese","latin"],weight:["400","700"],i:["normal"]},Amethysta:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Amiko:{v:["regular","600","700"],subset:["latin-ext","devanagari","latin"],weight:["400","600","700"],i:["normal"]},Amiri:{v:["regular","italic","700","700italic"],subset:["latin-ext","arabic","latin"],weight:["400","700"],i:["normal","italic"]},Amita:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Anaheim:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Andada:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Andika:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Angkor:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Annie Use Your Telescope":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Anonymous Pro":{v:["regular","italic","700","700italic"],subset:["cyrillic","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Antic:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Antic Didone":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Antic Slab":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Anton:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Arapey:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Arbutus:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Arbutus Slab":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Architects Daughter":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Archivo:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Archivo Black":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Archivo Narrow":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Aref Ruqaa":{v:["regular","700"],subset:["arabic","latin"],weight:["400","700"],i:["normal"]},"Arima Madurai":{v:["100","200","300","regular","500","700","800","900"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["100","200","300","400","500","700","800","900"],i:["normal"]},Arimo:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Arizonia:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Armata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Arsenal:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Artifika:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Arvo:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Arya:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Asap:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Asap Condensed":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Asar:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Asset:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Assistant:{v:["200","300","regular","600","700","800"],subset:["hebrew","latin"],weight:["200","300","400","600","700","800"],i:["normal"]},Astloch:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Asul:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Athiti:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Atma:{v:["300","regular","500","600","700"],subset:["latin-ext","bengali","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Atomic Age":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Aubrey:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Audiowide:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Autour One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Average:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Average Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Averia Gruesa Libre":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Averia Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Averia Sans Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Averia Serif Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Bad Script":{v:["regular"],subset:["cyrillic","latin"],weight:["400"],i:["normal"]},Bahiana:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Baloo:{v:["regular"],subset:["latin-ext","devanagari","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhai":{v:["regular"],subset:["latin-ext","gujarati","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhaijaan":{v:["regular"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhaina":{v:["regular"],subset:["latin-ext","oriya","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Chettan":{v:["regular"],subset:["malayalam","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Da":{v:["regular"],subset:["latin-ext","vietnamese","bengali","latin"],weight:["400"],i:["normal"]},"Baloo Paaji":{v:["regular"],subset:["latin-ext","gurmukhi","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Tamma":{v:["regular"],subset:["latin-ext","vietnamese","latin","kannada"],weight:["400"],i:["normal"]},"Baloo Tammudu":{v:["regular"],subset:["latin-ext","telugu","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Thambi":{v:["regular"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["400"],i:["normal"]},Balthazar:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bangers:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Barlow:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Barlow Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Barlow Semi Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Barrio:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Basic:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Battambang:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},Baumans:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bayon:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Belgrano:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bellefair:{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},Belleza:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},BenchNine:{v:["300","regular","700"],subset:["latin-ext","latin"],weight:["300","400","700"],i:["normal"]},Bentham:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Berkshire Swash":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Bevan:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bigelow Rules":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bigshot One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bilbo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bilbo Swash Caps":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},BioRhyme:{v:["200","300","regular","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal"]},"BioRhyme Expanded":{v:["200","300","regular","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal"]},Biryani:{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},Bitter:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Black And White Picture":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Black Han Sans":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Black Ops One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Bokor:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Bonbon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Boogaloo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bowlby One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bowlby One SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Brawler:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bree Serif":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bubblegum Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bubbler One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Buda:{v:["300"],subset:["latin"],weight:["300"],i:[]},Buenard:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Bungee:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Hairline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Inline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Outline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Shade":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Butcherman:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Butterfly Kids":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cabin:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Cabin Condensed":{v:["regular","500","600","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal"]},"Cabin Sketch":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Caesar Dressing":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cagliostro:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cairo:{v:["200","300","regular","600","700","900"],subset:["latin-ext","arabic","latin"],weight:["200","300","400","600","700","900"],i:["normal"]},Calligraffitti:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cambay:{v:["regular","italic","700","700italic"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal","italic"]},Cambo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Candal:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cantarell:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Cantata One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cantora One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Capriola:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cardo:{v:["regular","italic","700"],subset:["greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Carme:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carrois Gothic":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carrois Gothic SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carter One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Catamaran:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","tamil","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Caudex:{v:["regular","italic","700","700italic"],subset:["greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Caveat:{v:["regular","700"],subset:["cyrillic","latin-ext","latin"],weight:["400","700"],i:["normal"]},"Caveat Brush":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cedarville Cursive":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Ceviche One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Changa:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","arabic","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Changa One":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Chango:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chathura:{v:["100","300","regular","700","800"],subset:["telugu","latin"],weight:["100","300","400","700","800"],i:["normal"]},"Chau Philomene One":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Chela One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Chelsea Market":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chenla:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Cherry Cream Soda":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Cherry Swash":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Chewy:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Chicle:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chivo:{v:["300","300italic","regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["300","400","700","900"],i:["normal","italic"]},Chonburi:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},Cinzel:{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},"Cinzel Decorative":{v:["regular","700","900"],subset:["latin"],weight:["400","700","900"],i:["normal"]},"Clicker Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Coda:{v:["regular","800"],subset:["latin-ext","latin"],weight:["400","800"],i:["normal"]},"Coda Caption":{v:["800"],subset:["latin-ext","latin"],weight:["800"],i:[]},Codystar:{v:["300","regular"],subset:["latin-ext","latin"],weight:["300","400"],i:["normal"]},Coiny:{v:["regular"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["400"],i:["normal"]},Combo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Comfortaa:{v:["300","regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","700"],i:["normal"]},"Coming Soon":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Concert One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Condiment:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Content:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},"Contrail One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Convergence:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cookie:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Copse:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Corben:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Cormorant:{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant Garamond":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant Infant":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant SC":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Cormorant Unicase":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Cormorant Upright":{v:["300","regular","500","600","700"],subset:["latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},Courgette:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cousine:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Coustard:{v:["regular","900"],subset:["latin"],weight:["400","900"],i:["normal"]},"Covered By Your Grace":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Crafty Girls":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Creepster:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Crete Round":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Crimson Text":{v:["regular","italic","600","600italic","700","700italic"],subset:["latin"],weight:["400","600","700"],i:["normal","italic"]},"Croissant One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Crushed:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cuprum:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Cute Font":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Cutive:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cutive Mono":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Damion:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Dancing Script":{v:["regular","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal"]},Dangrek:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"David Libre":{v:["regular","500","700"],subset:["latin-ext","hebrew","vietnamese","latin"],weight:["400","500","700"],i:["normal"]},"Dawning of a New Day":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Days One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Dekko:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Delius:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Delius Swash Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Delius Unicase":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Della Respira":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Denk One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Devonshire:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dhurjati:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Didact Gothic":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},Diplomata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Diplomata SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Do Hyeon":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Dokdo:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Domine:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Donegal One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Doppio One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dorsa:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Dosis:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Dr Sugiyama":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Duru Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dynalight:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"EB Garamond":{v:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","600","700","800"],i:["normal","italic"]},"Eagle Lake":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"East Sea Dokdo":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Eater:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Economica:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Eczar:{v:["regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800"],i:["normal"]},"El Messiri":{v:["regular","500","600","700"],subset:["cyrillic","arabic","latin"],weight:["400","500","600","700"],i:["normal"]},Electrolize:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Elsie:{v:["regular","900"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal"]},"Elsie Swash Caps":{v:["regular","900"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal"]},"Emblema One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Emilys Candy":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Encode Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Expanded":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Semi Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Semi Expanded":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Engagement:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Englebert:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Enriqueta:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Erica One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Esteban:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Euphoria Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ewert:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Exo:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Exo 2":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Expletus Sans":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Fanwood Text":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Farsan:{v:["regular"],subset:["latin-ext","gujarati","vietnamese","latin"],weight:["400"],i:["normal"]},Fascinate:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fascinate Inline":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Faster One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fasthand:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Fauna One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Faustina:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Federant:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Federo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Felipa:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Fenix:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Finger Paint":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fira Mono":{v:["regular","500","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400","500","700"],i:["normal"]},"Fira Sans":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fira Sans Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fira Sans Extra Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fjalla One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fjord One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Flamenco:{v:["300","regular"],subset:["latin"],weight:["300","400"],i:["normal"]},Flavors:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fondamento:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Fontdiner Swanky":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Forum:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},"Francois One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Frank Ruhl Libre":{v:["300","regular","500","700","900"],subset:["latin-ext","hebrew","latin"],weight:["300","400","500","700","900"],i:["normal"]},"Freckle Face":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fredericka the Great":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fredoka One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Freehand:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Fresca:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Frijole:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fruktur:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fugaz One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"GFS Didot":{v:["regular"],subset:["greek"],weight:["400"],i:["normal"]},"GFS Neohellenic":{v:["regular","italic","700","700italic"],subset:["greek"],weight:["400","700"],i:["normal","italic"]},Gabriela:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin"],weight:["400"],i:["normal"]},Gaegu:{v:["300","regular","700"],subset:["korean","latin"],weight:["300","400","700"],i:["normal"]},Gafata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Galada:{v:["regular"],subset:["bengali","latin"],weight:["400"],i:["normal"]},Galdeano:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Galindo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Gamja Flower":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Gentium Basic":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Gentium Book Basic":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Geo:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Geostar:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Geostar Fill":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Germania One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Gidugu:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Gilda Display":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Give You Glory":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Glass Antiqua":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Glegoo:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},"Gloria Hallelujah":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Goblin One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Gochi Hand":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Gorditas:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Gothic A1":{v:["100","200","300","regular","500","600","700","800","900"],subset:["korean","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Goudy Bookletter 1911":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Graduate:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Grand Hotel":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Gravitas One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Great Vibes":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Griffy:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Gruppo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Gudea:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Gugi:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Gurajada:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Habibi:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Halant:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hammersmith One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Hanalei:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Hanalei Fill":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Handlee:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Hanuman:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},"Happy Monkey":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Harmattan:{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},"Headland One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Heebo:{v:["100","300","regular","500","700","800","900"],subset:["hebrew","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},"Henny Penny":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Herr Von Muellerhoff":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Hi Melody":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Hind:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Guntur":{v:["300","regular","500","600","700"],subset:["latin-ext","telugu","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Madurai":{v:["300","regular","500","600","700"],subset:["latin-ext","tamil","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Siliguri":{v:["300","regular","500","600","700"],subset:["latin-ext","bengali","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Vadodara":{v:["300","regular","500","600","700"],subset:["latin-ext","gujarati","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Holtwood One SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Homemade Apple":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Homenaje:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IBM Plex Mono":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Sans":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Sans Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Serif":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IM Fell DW Pica":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell DW Pica SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell Double Pica":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell Double Pica SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell English":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell English SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell French Canon":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell French Canon SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell Great Primer":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell Great Primer SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Iceberg:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Iceland:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Imprima:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Inconsolata:{v:["regular","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal"]},Inder:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Indie Flower":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Inika:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Inknut Antiqua":{v:["300","regular","500","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700","800","900"],i:["normal"]},"Irish Grover":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Istok Web":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Italiana:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Italianno:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Itim:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},"Jacques Francois":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Jacques Francois Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Jaldi:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},"Jim Nightshade":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Jockey One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Jolly Lodger":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Jomhuria:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},"Josefin Sans":{v:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","300","400","600","700"],i:["normal","italic"]},"Josefin Slab":{v:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],subset:["latin"],weight:["100","300","400","600","700"],i:["normal","italic"]},"Joti One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Jua:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Judson:{v:["regular","italic","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Julee:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Julius Sans One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Junge:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Jura:{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Just Another Hand":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Just Me Again Down Here":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kadwa:{v:["regular","700"],subset:["devanagari","latin"],weight:["400","700"],i:["normal"]},Kalam:{v:["300","regular","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","700"],i:["normal"]},Kameron:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Kanit:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Kantumruy:{v:["300","regular","700"],subset:["khmer"],weight:["300","400","700"],i:["normal"]},Karla:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Karma:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Katibeh:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},"Kaushan Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kavivanar:{v:["regular"],subset:["latin-ext","tamil","latin"],weight:["400"],i:["normal"]},Kavoon:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kdam Thmor":{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Keania One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kelly Slab":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Kenia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Khand:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Khmer:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Khula:{v:["300","regular","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["300","400","600","700","800"],i:["normal"]},"Kirang Haerang":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Kite One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Knewave:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kosugi:{v:["regular"],subset:["cyrillic","japanese","latin"],weight:["400"],i:["normal"]},"Kosugi Maru":{v:["regular"],subset:["cyrillic","japanese","latin"],weight:["400"],i:["normal"]},"Kotta One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Koulen:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Kranky:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Kreon:{v:["300","regular","700"],subset:["latin"],weight:["300","400","700"],i:["normal"]},Kristi:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Krona One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kumar One":{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},"Kumar One Outline":{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Kurale:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},"La Belle Aurore":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Laila:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Lakki Reddy":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Lalezar:{v:["regular"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400"],i:["normal"]},Lancelot:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Lateef:{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},Lato:{v:["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","300","400","700","900"],i:["normal","italic"]},"League Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Leckerli One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ledger:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Lekton:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Lemon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Lemonada:{v:["300","regular","600","700"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["300","400","600","700"],i:["normal"]},"Libre Barcode 128":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 128 Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Extended":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Extended Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Baskerville":{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Libre Franklin":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Life Savers":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Lilita One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Lily Script One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Limelight:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Linden Hill":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Lobster:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Lobster Two":{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Londrina Outline":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Sketch":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Solid":{v:["100","300","regular","900"],subset:["latin"],weight:["100","300","400","900"],i:["normal"]},Lora:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Love Ya Like A Sister":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Loved by the King":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Lovers Quarrel":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Luckiest Guy":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Lusitana:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Lustria:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"M PLUS 1p":{v:["100","300","regular","500","700","800","900"],subset:["cyrillic","cyrillic-ext","greek-ext","japanese","latin-ext","hebrew","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},"M PLUS Rounded 1c":{v:["100","300","regular","500","700","800","900"],subset:["cyrillic","cyrillic-ext","greek-ext","japanese","latin-ext","hebrew","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},Macondo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Macondo Swash Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mada:{v:["200","300","regular","500","600","700","900"],subset:["arabic","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},Magra:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Maiden Orange":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Maitree:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Mako:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mallanna:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Mandali:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Manuale:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Marcellus:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Marcellus SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Marck Script":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Margarine:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Markazi Text":{v:["regular","500","600","700"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400","500","600","700"],i:["normal"]},"Marko One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Marmelad:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Martel:{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},"Martel Sans":{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},Marvel:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Mate:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"Mate SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Maven Pro":{v:["regular","500","700","900"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","700","900"],i:["normal"]},McLaren:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Meddon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},MedievalSharp:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Medula One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Meera Inimai":{v:["regular"],subset:["tamil","latin"],weight:["400"],i:["normal"]},Megrim:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Meie Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Merienda:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Merienda One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Merriweather:{v:["300","300italic","regular","italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","700","900"],i:["normal","italic"]},"Merriweather Sans":{v:["300","300italic","regular","italic","700","700italic","800","800italic"],subset:["latin-ext","latin"],weight:["300","400","700","800"],i:["normal","italic"]},Metal:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Metal Mania":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Metamorphous:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Metrophobic:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Michroma:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Milonga:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Miltonian:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Miltonian Tattoo":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mina:{v:["regular","700"],subset:["latin-ext","bengali","latin"],weight:["400","700"],i:["normal"]},Miniver:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Miriam Libre":{v:["regular","700"],subset:["latin-ext","hebrew","latin"],weight:["400","700"],i:["normal"]},Mirza:{v:["regular","500","600","700"],subset:["latin-ext","arabic","latin"],weight:["400","500","600","700"],i:["normal"]},"Miss Fajardose":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mitr:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Modak:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},"Modern Antiqua":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mogra:{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Molengo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Molle:{v:["italic"],subset:["latin-ext","latin"],weight:[],i:["italic"]},Monda:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Monofett:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Monoton:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Monsieur La Doulaise":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Montaga:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Montez:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Montserrat:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Montserrat Alternates":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Montserrat Subrayada":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Moul:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Moulpali:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Mountains of Christmas":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Mouse Memoirs":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr Bedfort":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr Dafoe":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr De Haviland":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mrs Saint Delafield":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mrs Sheppards":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mukta:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Mahee":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","gurmukhi","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Malar":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","tamil","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Vaani":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","gujarati","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},Muli:{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Mystery Quest":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},NTR:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Nanum Brush Script":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Nanum Gothic":{v:["regular","700","800"],subset:["korean","latin"],weight:["400","700","800"],i:["normal"]},"Nanum Gothic Coding":{v:["regular","700"],subset:["korean","latin"],weight:["400","700"],i:["normal"]},"Nanum Myeongjo":{v:["regular","700","800"],subset:["korean","latin"],weight:["400","700","800"],i:["normal"]},"Nanum Pen Script":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Neucha:{v:["regular"],subset:["cyrillic","latin"],weight:["400"],i:["normal"]},Neuton:{v:["200","300","regular","italic","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal","italic"]},"New Rocker":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"News Cycle":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Niconne:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Nixie One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Nobile:{v:["regular","italic","500","500italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","500","700"],i:["normal","italic"]},Nokora:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},Norican:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Nosifer:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Nothing You Could Do":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Noticia Text":{v:["regular","italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Sans":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","devanagari","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Sans JP":{v:["100","300","regular","500","700","900"],subset:["japanese","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Noto Sans KR":{v:["100","300","regular","500","700","900"],subset:["korean","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Noto Serif":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Serif JP":{v:["200","300","regular","500","600","700","900"],subset:["japanese","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Noto Serif KR":{v:["200","300","regular","500","600","700","900"],subset:["korean","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Nova Cut":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Flat":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Mono":{v:["regular"],subset:["greek","latin"],weight:["400"],i:["normal"]},"Nova Oval":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Round":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Slim":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Square":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Numans:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Nunito:{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Nunito Sans":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Odor Mean Chey":{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Offside:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Old Standard TT":{v:["regular","italic","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Oldenburg:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Oleo Script":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Oleo Script Swash Caps":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Open Sans":{v:["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","600","700","800"],i:["normal","italic"]},"Open Sans Condensed":{v:["300","300italic","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","700"],i:[]},Oranienbaum:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},Orbitron:{v:["regular","500","700","900"],subset:["latin"],weight:["400","500","700","900"],i:["normal"]},Oregano:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Orienta:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Original Surfer":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Oswald:{v:["200","300","regular","500","600","700"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},"Over the Rainbow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Overlock:{v:["regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal","italic"]},"Overlock SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Overpass:{v:["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","600","700","800","900"],i:["normal","italic"]},"Overpass Mono":{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},Ovo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Oxygen:{v:["300","regular","700"],subset:["latin-ext","latin"],weight:["300","400","700"],i:["normal"]},"Oxygen Mono":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"PT Mono":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},"PT Sans":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"PT Sans Caption":{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal"]},"PT Sans Narrow":{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal"]},"PT Serif":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"PT Serif Caption":{v:["regular","italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal","italic"]},Pacifico:{v:["regular"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Padauk:{v:["regular","700"],subset:["myanmar","latin"],weight:["400","700"],i:["normal"]},Palanquin:{v:["100","200","300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["100","200","300","400","500","600","700"],i:["normal"]},"Palanquin Dark":{v:["regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700"],i:["normal"]},Pangolin:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Paprika:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Parisienne:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Passero One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Passion One":{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},"Pathway Gothic One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Patrick Hand":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Patrick Hand SC":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Pattaya:{v:["regular"],subset:["cyrillic","latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},"Patua One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Pavanam:{v:["regular"],subset:["latin-ext","tamil","latin"],weight:["400"],i:["normal"]},"Paytone One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Peddana:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Peralta:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Permanent Marker":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Petit Formal Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Petrona:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Philosopher:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Piedra:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Pinyon Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pirata One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Plaster:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Play:{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["400","700"],i:["normal"]},Playball:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Playfair Display":{v:["regular","italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400","700","900"],i:["normal","italic"]},"Playfair Display SC":{v:["regular","italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400","700","900"],i:["normal","italic"]},Podkova:{v:["regular","500","600","700","800"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","500","600","700","800"],i:["normal"]},"Poiret One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Poller One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Poly:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Pompiere:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pontano Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Poor Story":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Poppins:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","devanagari","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Port Lligat Sans":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Port Lligat Slab":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pragati Narrow":{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Prata:{v:["regular"],subset:["cyrillic","cyrillic-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Preahvihear:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Press Start 2P":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},Pridi:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},"Princess Sofia":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Prociono:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Prompt:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Prosto One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Proza Libre":{v:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["latin-ext","latin"],weight:["400","500","600","700","800"],i:["normal","italic"]},Puritan:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Purple Purse":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Quando:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Quantico:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Quattrocento:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Quattrocento Sans":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Questrial:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Quicksand:{v:["300","regular","500","700"],subset:["latin-ext","vietnamese","latin"],weight:["300","400","500","700"],i:["normal"]},Quintessential:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Qwigley:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Racing Sans One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Radley:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Rajdhani:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Rakkas:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},Raleway:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Raleway Dots":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ramabhadra:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Ramaraja:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Rambla:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Rammetto One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ranchers:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Rancho:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ranga:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Rasa:{v:["300","regular","500","600","700"],subset:["latin-ext","gujarati","latin"],weight:["300","400","500","600","700"],i:["normal"]},Rationale:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Ravi Prakash":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Redressed:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Reem Kufi":{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},"Reenie Beanie":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Revalia:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Rhodium Libre":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Ribeye:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ribeye Marrow":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Righteous:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Risque:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Roboto:{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","900"],i:["normal","italic"]},"Roboto Condensed":{v:["300","300italic","regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","700"],i:["normal","italic"]},"Roboto Mono":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700"],i:["normal","italic"]},"Roboto Slab":{v:["100","300","regular","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","700"],i:["normal"]},Rochester:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Rock Salt":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Rokkitt:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Romanesco:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ropa Sans":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Rosario:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Rosarivo:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Rouge Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Rozha One":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Rubik:{v:["300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","hebrew","latin"],weight:["300","400","500","700","900"],i:["normal","italic"]},"Rubik Mono One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Ruda:{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},Rufina:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Ruge Boogie":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ruluko:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Rum Raisin":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ruslan Display":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Russo One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Ruthie:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Rye:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sacramento:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sahitya:{v:["regular","700"],subset:["devanagari","latin"],weight:["400","700"],i:["normal"]},Sail:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Saira:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Extra Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Semi Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Salsa:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sanchez:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Sancreek:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sansita:{v:["regular","italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","700","800","900"],i:["normal","italic"]},Sarala:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Sarina:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sarpanch:{v:["regular","500","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800","900"],i:["normal"]},Satisfy:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Sawarabi Gothic":{v:["regular"],subset:["cyrillic","japanese","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Sawarabi Mincho":{v:["regular"],subset:["japanese","latin-ext","latin"],weight:["400"],i:["normal"]},Scada:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Scheherazade:{v:["regular","700"],subset:["arabic","latin"],weight:["400","700"],i:["normal"]},Schoolbell:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Scope One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Seaweed Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Secular One":{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},"Sedgwick Ave":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Sedgwick Ave Display":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Sevillana:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Seymour One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Shadows Into Light":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Shadows Into Light Two":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Shanti:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Share:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Share Tech":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Share Tech Mono":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Shojumaru:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Short Stack":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Shrikhand:{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Siemreap:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Sigmar One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Signika:{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},"Signika Negative":{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},Simonetta:{v:["regular","italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal","italic"]},Sintony:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Sirin Stencil":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Six Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Skranji:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Slabo 13px":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Slabo 27px":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Slackey:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Smokum:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Smythe:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sniglet:{v:["regular","800"],subset:["latin-ext","latin"],weight:["400","800"],i:["normal"]},Snippet:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Snowburst One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Sofadi One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sofia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Song Myung":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Sonsie One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Sorts Mill Goudy":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Source Code Pro":{v:["200","300","regular","500","600","700","900"],subset:["latin-ext","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Source Sans Pro":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["200","300","400","600","700","900"],i:["normal","italic"]},"Source Serif Pro":{v:["regular","600","700"],subset:["latin-ext","latin"],weight:["400","600","700"],i:["normal"]},"Space Mono":{v:["regular","italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Special Elite":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Spectral:{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700","800"],i:["normal","italic"]},"Spectral SC":{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700","800"],i:["normal","italic"]},"Spicy Rice":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Spinnaker:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Spirax:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Squada One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Sree Krushnadevaraya":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Sriracha:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},Stalemate:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Stalinist One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Stardos Stencil":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Stint Ultra Condensed":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Stint Ultra Expanded":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Stoke:{v:["300","regular"],subset:["latin-ext","latin"],weight:["300","400"],i:["normal"]},Strait:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Stylish:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Sue Ellen Francisco":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Suez One":{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},Sumana:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Sunflower:{v:["300","500","700"],subset:["korean","latin"],weight:["300","500","700"],i:[]},Sunshiney:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Supermercado One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sura:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Suranna:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Suravaram:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Suwannaphum:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Swanky and Moo Moo":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Syncopate:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Tajawal:{v:["200","300","regular","500","700","800","900"],subset:["arabic","latin"],weight:["200","300","400","500","700","800","900"],i:["normal"]},Tangerine:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Taprom:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Tauri:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Taviraj:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Teko:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Telex:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Tenali Ramakrishna":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Tenor Sans":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Text Me One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"The Girl Next Door":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Tienne:{v:["regular","700","900"],subset:["latin"],weight:["400","700","900"],i:["normal"]},Tillana:{v:["regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800"],i:["normal"]},Timmana:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Tinos:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Titan One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Titillium Web":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],subset:["latin-ext","latin"],weight:["200","300","400","600","700","900"],i:["normal","italic"]},"Trade Winds":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Trirong:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Trocchi:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Trochut:{v:["regular","italic","700"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Trykker:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Tulpen One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ubuntu:{v:["300","300italic","regular","italic","500","500italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["300","400","500","700"],i:["normal","italic"]},"Ubuntu Condensed":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},"Ubuntu Mono":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Ultra:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Uncial Antiqua":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Underdog:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Unica One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},UnifrakturCook:{v:["700"],subset:["latin"],weight:["700"],i:[]},UnifrakturMaguntia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Unkempt:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Unlock:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Unna:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},VT323:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Vampiro One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Varela:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Varela Round":{v:["regular"],subset:["latin-ext","hebrew","vietnamese","latin"],weight:["400"],i:["normal"]},"Vast Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Vesper Libre":{v:["regular","500","700","900"],subset:["latin-ext","devanagari","latin"],weight:["400","500","700","900"],i:["normal"]},Vibur:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Vidaloka:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Viga:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Voces:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Volkhov:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Vollkorn:{v:["regular","italic","600","600italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["400","600","700","900"],i:["normal","italic"]},"Vollkorn SC":{v:["regular","600","700","900"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","600","700","900"],i:["normal"]},Voltaire:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Waiting for the Sunrise":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Wallpoet:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Walter Turncoat":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Warnes:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Wellfleet:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Wendy One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Wire One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Work Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Yanone Kaffeesatz":{v:["200","300","regular","700"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","700"],i:["normal"]},Yantramanav:{v:["100","300","regular","500","700","900"],subset:["latin-ext","devanagari","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Yatra One":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Yellowtail:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Yeon Sung":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Yeseva One":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Yesteryear:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Yrsa:{v:["300","regular","500","600","700"],subset:["latin-ext","latin"],weight:["300","400","500","600","700"],i:["normal"]},Zeyada:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Zilla Slab":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Zilla Slab Highlight":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]}};var Be=Ye,Ie=n(4),Re=n.n(Ie);function He(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var We=function(e,t){var n;void 0===t&&(t=He);var a,r=[],i=!1;return function(){for(var o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];return i&&n===this&&t(o,r)||(a=e.apply(this,o),i=!0,n=this,r=o),a}},Ue=n(303),Ge=n.n(Ue);var Ve=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var a=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(a);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);r.insertRule(e,i?0:r.cssRules.length)}catch(e){0}}else a.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var qe=function(e){function t(e,t,a){var r=t.trim().split(f);t=r;var i=r.length,o=e.length;switch(o){case 0:case 1:var l=0;for(e=0===o?"":e[0]+" ";l<i;++l)t[l]=n(e,t[l],a).trim();break;default:var s=l=0;for(t=[];l<i;++l)for(var c=0;c<o;++c)t[s++]=n(e[c]+" ",r[l],a).trim()}return t}function n(e,t,n){var a=t.charCodeAt(0);switch(33>a&&(a=(t=t.trim()).charCodeAt(0)),a){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function a(e,t,n,i){var o=e+";",l=2*t+3*n+4*i;if(944===l){e=o.indexOf(":",9)+1;var s=o.substring(e,o.length-1).trim();return s=o.substring(0,e).trim()+s+";",1===O||2===O&&r(s,1)?"-webkit-"+s+s:s}if(0===O||2===O&&!r(o,1))return o;switch(l){case 1015:return 97===o.charCodeAt(10)?"-webkit-"+o+o:o;case 951:return 116===o.charCodeAt(3)?"-webkit-"+o+o:o;case 963:return 110===o.charCodeAt(5)?"-webkit-"+o+o:o;case 1009:if(100!==o.charCodeAt(4))break;case 969:case 942:return"-webkit-"+o+o;case 978:return"-webkit-"+o+"-moz-"+o+o;case 1019:case 983:return"-webkit-"+o+"-moz-"+o+"-ms-"+o+o;case 883:if(45===o.charCodeAt(8))return"-webkit-"+o+o;if(0<o.indexOf("image-set(",11))return o.replace(E,"$1-webkit-$2")+o;break;case 932:if(45===o.charCodeAt(4))switch(o.charCodeAt(5)){case 103:return"-webkit-box-"+o.replace("-grow","")+"-webkit-"+o+"-ms-"+o.replace("grow","positive")+o;case 115:return"-webkit-"+o+"-ms-"+o.replace("shrink","negative")+o;case 98:return"-webkit-"+o+"-ms-"+o.replace("basis","preferred-size")+o}return"-webkit-"+o+"-ms-"+o+o;case 964:return"-webkit-"+o+"-ms-flex-"+o+o;case 1023:if(99!==o.charCodeAt(8))break;return"-webkit-box-pack"+(s=o.substring(o.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+o+"-ms-flex-pack"+s+o;case 1005:return d.test(o)?o.replace(p,":-webkit-")+o.replace(p,":-moz-")+o:o;case 1e3:switch(t=(s=o.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=o.replace(y,"tb");break;case 232:s=o.replace(y,"tb-rl");break;case 220:s=o.replace(y,"lr");break;default:return o}return"-webkit-"+o+"-ms-"+s+o;case 1017:if(-1===o.indexOf("sticky",9))break;case 975:switch(t=(o=e).length-10,l=(s=(33===o.charCodeAt(t)?o.substring(0,t):o).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:o=o.replace(s,"-webkit-"+s)+";"+o;break;case 207:case 102:o=o.replace(s,"-webkit-"+(102<l?"inline-":"")+"box")+";"+o.replace(s,"-webkit-"+s)+";"+o.replace(s,"-ms-"+s+"box")+";"+o}return o+";";case 938:if(45===o.charCodeAt(5))switch(o.charCodeAt(6)){case 105:return s=o.replace("-items",""),"-webkit-"+o+"-webkit-box-"+s+"-ms-flex-"+s+o;case 115:return"-webkit-"+o+"-ms-flex-item-"+o.replace(_,"")+o;default:return"-webkit-"+o+"-ms-flex-line-pack"+o.replace("align-content","").replace(_,"")+o}break;case 973:case 989:if(45!==o.charCodeAt(3)||122===o.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?a(e.replace("stretch","fill-available"),t,n,i).replace(":fill-available",":stretch"):o.replace(s,"-webkit-"+s)+o.replace(s,"-moz-"+s.replace("fill-",""))+o;break;case 962:if(o="-webkit-"+o+(102===o.charCodeAt(5)?"-ms-"+o:"")+o,211===n+i&&105===o.charCodeAt(13)&&0<o.indexOf("transform",10))return o.substring(0,o.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+o}return o}function r(e,t){var n=e.indexOf(1===t?":":"{"),a=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),P(2!==t?a:a.replace(x,"$1"),n,t)}function i(e,t){var n=a(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(k," or ($1)").substring(4):"("+t+")"}function o(e,t,n,a,r,i,o,l,c,u){for(var p,d=0,m=t;d<F;++d)switch(p=D[d].call(s,e,m,n,a,r,i,o,l,c,u)){case void 0:case!1:case!0:case null:break;default:m=p}if(m!==t)return m}function l(e){return void 0!==(e=e.prefix)&&(P=null,e?"function"!=typeof e?O=1:(O=2,P=e):O=0),l}function s(e,n){var l=e;if(33>l.charCodeAt(0)&&(l=l.trim()),l=[l],0<F){var s=o(-1,n,l,l,C,T,0,0,0,0);void 0!==s&&"string"==typeof s&&(n=s)}var p=function e(n,l,s,p,d){for(var m,f,b,y,k,_=0,x=0,S=0,E=0,D=0,P=0,N=b=m=0,z=0,A=0,Y=0,B=0,I=s.length,R=I-1,H="",W="",U="",G="";z<I;){if(f=s.charCodeAt(z),z===R&&0!==x+E+S+_&&(0!==x&&(f=47===x?10:47),E=S=_=0,I++,R++),0===x+E+S+_){if(z===R&&(0<A&&(H=H.replace(u,"")),0<H.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:H+=s.charAt(z)}f=59}switch(f){case 123:for(m=(H=H.trim()).charCodeAt(0),b=1,B=++z;z<I;){switch(f=s.charCodeAt(z)){case 123:b++;break;case 125:b--;break;case 47:switch(f=s.charCodeAt(z+1)){case 42:case 47:e:{for(N=z+1;N<R;++N)switch(s.charCodeAt(N)){case 47:if(42===f&&42===s.charCodeAt(N-1)&&z+2!==N){z=N+1;break e}break;case 10:if(47===f){z=N+1;break e}}z=N}}break;case 91:f++;case 40:f++;case 34:case 39:for(;z++<R&&s.charCodeAt(z)!==f;);}if(0===b)break;z++}switch(b=s.substring(B,z),0===m&&(m=(H=H.replace(c,"").trim()).charCodeAt(0)),m){case 64:switch(0<A&&(H=H.replace(u,"")),f=H.charCodeAt(1)){case 100:case 109:case 115:case 45:A=l;break;default:A=L}if(B=(b=e(l,A,b,f,d+1)).length,0<F&&(k=o(3,b,A=t(L,H,Y),l,C,T,B,f,d,p),H=A.join(""),void 0!==k&&0===(B=(b=k.trim()).length)&&(f=0,b="")),0<B)switch(f){case 115:H=H.replace(w,i);case 100:case 109:case 45:b=H+"{"+b+"}";break;case 107:b=(H=H.replace(g,"$1 $2"))+"{"+b+"}",b=1===O||2===O&&r("@"+b,3)?"@-webkit-"+b+"@"+b:"@"+b;break;default:b=H+b,112===p&&(W+=b,b="")}else b="";break;default:b=e(l,t(l,H,Y),b,p,d+1)}U+=b,b=Y=A=N=m=0,H="",f=s.charCodeAt(++z);break;case 125:case 59:if(1<(B=(H=(0<A?H.replace(u,""):H).trim()).length))switch(0===N&&(m=H.charCodeAt(0),45===m||96<m&&123>m)&&(B=(H=H.replace(" ",":")).length),0<F&&void 0!==(k=o(1,H,l,n,C,T,W.length,p,d,p))&&0===(B=(H=k.trim()).length)&&(H="\0\0"),m=H.charCodeAt(0),f=H.charCodeAt(1),m){case 0:break;case 64:if(105===f||99===f){G+=H+s.charAt(z);break}default:58!==H.charCodeAt(B-1)&&(W+=a(H,m,f,H.charCodeAt(2)))}Y=A=N=m=0,H="",f=s.charCodeAt(++z)}}switch(f){case 13:case 10:47===x?x=0:0===1+m&&107!==p&&0<H.length&&(A=1,H+="\0"),0<F*j&&o(0,H,l,n,C,T,W.length,p,d,p),T=1,C++;break;case 59:case 125:if(0===x+E+S+_){T++;break}default:switch(T++,y=s.charAt(z),f){case 9:case 32:if(0===E+_+x)switch(D){case 44:case 58:case 9:case 32:y="";break;default:32!==f&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===E+x+_&&(A=Y=1,y="\f"+y);break;case 108:if(0===E+x+_+M&&0<N)switch(z-N){case 2:112===D&&58===s.charCodeAt(z-3)&&(M=D);case 8:111===P&&(M=P)}break;case 58:0===E+x+_&&(N=z);break;case 44:0===x+S+E+_&&(A=1,y+="\r");break;case 34:case 39:0===x&&(E=E===f?0:0===E?f:E);break;case 91:0===E+x+S&&_++;break;case 93:0===E+x+S&&_--;break;case 41:0===E+x+_&&S--;break;case 40:if(0===E+x+_){if(0===m)switch(2*D+3*P){case 533:break;default:m=1}S++}break;case 64:0===x+S+E+_+N+b&&(b=1);break;case 42:case 47:if(!(0<E+_+S))switch(x){case 0:switch(2*f+3*s.charCodeAt(z+1)){case 235:x=47;break;case 220:B=z,x=42}break;case 42:47===f&&42===D&&B+2!==z&&(33===s.charCodeAt(B+2)&&(W+=s.substring(B,z+1)),y="",x=0)}}0===x&&(H+=y)}P=D,D=f,z++}if(0<(B=W.length)){if(A=l,0<F&&(void 0!==(k=o(2,W,A,n,C,T,B,p,d,p))&&0===(W=k).length))return G+W+U;if(W=A.join(",")+"{"+W+"}",0!=O*M){switch(2!==O||r(W,2)||(M=0),M){case 111:W=W.replace(v,":-moz-$1")+W;break;case 112:W=W.replace(h,"::-webkit-input-$1")+W.replace(h,"::-moz-$1")+W.replace(h,":-ms-input-$1")+W}M=0}}return G+W+U}(L,l,n,0,0);return 0<F&&(void 0!==(s=o(-2,p,l,l,C,T,p.length,0,0,0))&&(p=s)),"",M=0,T=C=1,p}var c=/^\0+/g,u=/[\0\r\f]/g,p=/: */g,d=/zoo|gra/,m=/([,: ])(transform)/g,f=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,h=/::(place)/g,v=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,_=/-self|flex-/g,x=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,E=/([^-])(image-set\()/,T=1,C=1,M=0,O=1,L=[],D=[],F=0,P=null,j=0;return s.use=function e(t){switch(t){case void 0:case null:F=D.length=0;break;default:if("function"==typeof t)D[F++]=t;else if("object"==typeof t)for(var n=0,a=t.length;n<a;++n)e(t[n]);else j=0|!!t}return e},s.set=l,void 0!==e&&l(e),s};function $e(e){e&&Je.current.insert(e+"}")}var Je={current:null},Xe=function(e,t,n,a,r,i,o,l,s,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return Je.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===l)return t+"/*|*/";break;case 3:switch(l){case 102:case 112:return Je.current.insert(n[0]+t),"";default:return t+(0===c?"/*|*/":"")}case-2:t.split("/*|*/}").forEach($e)}},Ke=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var a=new qe(t);var r,i={};r=e.container||document.head;var o,l=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(l,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){i[e]=!0})),e.parentNode!==r&&r.appendChild(e)})),a.use(e.stylisPlugins)(Xe),o=function(e,t,n,r){var i=t.name;Je.current=n,a(e,t.styles),r&&(s.inserted[i]=!0)};var s={key:n,sheet:new Ve({key:n,container:r,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:i,registered:{},insert:o};return s};function Qe(e,t,n){var a="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):a+=n+" "})),a}var Ze=function(e,t,n){var a=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[a]&&(e.registered[a]=t.styles),void 0===e.inserted[t.name]){var r=t;do{e.insert("."+a,r,e.sheet,!0);r=r.next}while(void 0!==r)}};var et=function(e){for(var t,n=0,a=0,r=e.length;r>=4;++a,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(a)|(255&e.charCodeAt(++a))<<8|(255&e.charCodeAt(++a))<<16|(255&e.charCodeAt(++a))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(a+2))<<16;case 2:n^=(255&e.charCodeAt(a+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(a)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},tt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var nt=/[A-Z]|^ms/g,at=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rt=function(e){return 45===e.charCodeAt(1)},it=function(e){return null!=e&&"boolean"!=typeof e},ot=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return rt(e)?e:e.replace(nt,"-$&").toLowerCase()})),lt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(at,(function(e,t,n){return ct={name:t,styles:n,next:ct},t}))}return 1===tt[e]||rt(e)||"number"!=typeof t||0===t?t:t+"px"};function st(e,t,n,a){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return ct={name:n.name,styles:n.styles,next:ct},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)ct={name:r.name,styles:r.styles,next:ct},r=r.next;return n.styles+";"}return function(e,t,n){var a="";if(Array.isArray(n))for(var r=0;r<n.length;r++)a+=st(e,t,n[r],!1);else for(var i in n){var o=n[i];if("object"!=typeof o)null!=t&&void 0!==t[o]?a+=i+"{"+t[o]+"}":it(o)&&(a+=ot(i)+":"+lt(i,o)+";");else if(!Array.isArray(o)||"string"!=typeof o[0]||null!=t&&void 0!==t[o[0]]){var l=st(e,t,o,!1);switch(i){case"animation":case"animationName":a+=ot(i)+":"+l+";";break;default:a+=i+"{"+l+"}"}}else for(var s=0;s<o.length;s++)it(o[s])&&(a+=ot(i)+":"+lt(i,o[s])+";")}return a}(e,t,n);case"function":if(void 0!==e){var i=ct,o=n(e);return ct=i,st(e,t,o,a)}break;case"string":}if(null==t)return n;var l=t[n];return void 0===l||a?n:l}var ct,ut=/label:\s*([^\s;\n{]+)\s*;/g;var pt=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a=!0,r="";ct=void 0;var i=e[0];null==i||void 0===i.raw?(a=!1,r+=st(n,t,i,!1)):r+=i[0];for(var o=1;o<e.length;o++)r+=st(n,t,e[o],46===r.charCodeAt(r.length-1)),a&&(r+=i[o]);ut.lastIndex=0;for(var l,s="";null!==(l=ut.exec(r));)s+="-"+l[1];return{name:et(r)+s,styles:r,next:ct}};var dt=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return pt(t)},mt=Object(Ie.createContext)("undefined"!=typeof HTMLElement?Ke():null),ft=Object(Ie.createContext)({}),bt=mt.Provider,gt=function(e){return Object(Ie.forwardRef)((function(t,n){return Object(Ie.createElement)(mt.Consumer,null,(function(a){return e(t,a,n)}))}))},ht="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",vt=Object.prototype.hasOwnProperty,yt=function(e,t,n,a){var r=null===n?t.css:t.css(n);"string"==typeof r&&void 0!==e.registered[r]&&(r=e.registered[r]);var i=t[ht],o=[r],l="";"string"==typeof t.className?l=Qe(e.registered,o,t.className):null!=t.className&&(l=t.className+" ");var s=pt(o);Ze(e,s,"string"==typeof i);l+=e.key+"-"+s.name;var c={};for(var u in t)vt.call(t,u)&&"css"!==u&&u!==ht&&(c[u]=t[u]);return c.ref=a,c.className=l,Object(Ie.createElement)(i,c)},wt=gt((function(e,t,n){return"function"==typeof e.css?Object(Ie.createElement)(ft.Consumer,null,(function(a){return yt(t,e,a,n)})):yt(t,e,null,n)}));var kt=function(e,t){var n=arguments;if(null==t||!vt.call(t,"css"))return Ie.createElement.apply(void 0,n);var a=n.length,r=new Array(a);r[0]=wt;var i={};for(var o in t)vt.call(t,o)&&(i[o]=t[o]);i[ht]=e,r[1]=i;for(var l=2;l<a;l++)r[l]=n[l];return Ie.createElement.apply(null,r)},_t=(Ie.Component,function e(t){for(var n=t.length,a=0,r="";a<n;a++){var i=t[a];if(null!=i){var o=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))o=e(i);else for(var l in o="",i)i[l]&&l&&(o&&(o+=" "),o+=l);break;default:o=i}o&&(r&&(r+=" "),r+=o)}}return r});function xt(e,t,n){var a=[],r=Qe(e,a,n);return a.length<2?n:r+t(a)}var St=gt((function(e,t){return Object(Ie.createElement)(ft.Consumer,null,(function(n){var a=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];var r=pt(n,t.registered);return Ze(t,r,!1),t.key+"-"+r.name},r={css:a,cx:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return xt(t.registered,a,_t(n))},theme:n},i=e.children(r);return!0,i}))})),Et=n(50),Tt=n(51),Ct=n.n(Tt),Mt=function(){};function Ot(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Lt(e,t,n){var a=[n];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&a.push(""+Ot(e,r));return a.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Dt=function(e){return Array.isArray(e)?e.filter(Boolean):"object"==typeof e&&null!==e?[e]:[]};function Ft(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Pt(e){return Ft(e)?window.pageYOffset:e.scrollTop}function jt(e,t){Ft(e)?window.scrollTo(0,t):e.scrollTop=t}function Nt(e,t,n,a){void 0===n&&(n=200),void 0===a&&(a=Mt);var r=Pt(e),i=t-r,o=0;!function t(){var l,s=i*((l=(l=o+=10)/n-1)*l*l+1)+r;jt(e,s),o<n?window.requestAnimationFrame(t):a(e)}()}function zt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var At=n(115),Yt=n.n(At);function Bt(){return(Bt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function It(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Rt(e){var t=e.maxHeight,n=e.menuEl,a=e.minHeight,r=e.placement,i=e.shouldScroll,o=e.isFixedPosition,l=e.theme.spacing,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,a=/(auto|scroll)/,r=document.documentElement;if("fixed"===t.position)return r;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&a.test(t.overflow+t.overflowY+t.overflowX))return i;return r}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u=s.getBoundingClientRect().height,p=n.getBoundingClientRect(),d=p.bottom,m=p.height,f=p.top,b=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,h=Pt(s),v=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=b-y,k=g-f,_=w+h,x=u-h-f,S=d-g+h+v,E=h+f-y;switch(r){case"auto":case"bottom":if(k>=m)return{placement:"bottom",maxHeight:t};if(x>=m&&!o)return i&&Nt(s,S,160),{placement:"bottom",maxHeight:t};if(!o&&x>=a||o&&k>=a)return i&&Nt(s,S,160),{placement:"bottom",maxHeight:o?k-v:x-v};if("auto"===r||o){var T=t,C=o?w:_;return C>=a&&(T=Math.min(C-v-l.controlHeight,t)),{placement:"top",maxHeight:T}}if("bottom"===r)return jt(s,S),{placement:"bottom",maxHeight:t};break;case"top":if(w>=m)return{placement:"top",maxHeight:t};if(_>=m&&!o)return i&&Nt(s,E,160),{placement:"top",maxHeight:t};if(!o&&_>=a||o&&w>=a){var M=t;return(!o&&_>=a||o&&w>=a)&&(M=o?w-y:_-y),i&&Nt(s,E,160),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'+r+'".')}return c}var Ht=function(e){return"auto"===e?"bottom":e},Wt=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={maxHeight:t.props.maxMenuHeight,placement:null},t.getPlacement=function(e){var n=t.props,a=n.minMenuHeight,r=n.maxMenuHeight,i=n.menuPlacement,o=n.menuPosition,l=n.menuShouldScrollIntoView,s=n.theme,c=t.context.getPortalPlacement;if(e){var u="fixed"===o,p=Rt({maxHeight:r,menuEl:e,minHeight:a,placement:i,shouldScroll:l&&!u,isFixedPosition:u,theme:s});c&&c(p),t.setState(p)}},t.getUpdatedProps=function(){var e=t.props.menuPlacement,n=t.state.placement||Ht(e);return Bt({},t.props,{placement:n,maxHeight:t.state.maxHeight})},t}return It(t,e),t.prototype.render=function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})},t}(Ie.Component);Wt.contextTypes={getPortalPlacement:Ct.a.func};var Ut=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:2*n+"px "+3*n+"px",textAlign:"center"}},Gt=Ut,Vt=Ut,qt=function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return kt("div",Bt({css:r("noOptionsMessage",e),className:a({"menu-notice":!0,"menu-notice--no-options":!0},n)},i),t)};qt.defaultProps={children:"No options"};var $t=function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return kt("div",Bt({css:r("loadingMessage",e),className:a({"menu-notice":!0,"menu-notice--loading":!0},n)},i),t)};$t.defaultProps={children:"Loading..."};var Jt=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={placement:null},t.getPortalPlacement=function(e){var n=e.placement;n!==Ht(t.props.menuPlacement)&&t.setState({placement:n})},t}It(t,e);var n=t.prototype;return n.getChildContext=function(){return{getPortalPlacement:this.getPortalPlacement}},n.render=function(){var e=this.props,t=e.appendTo,n=e.children,a=e.controlElement,r=e.menuPlacement,i=e.menuPosition,o=e.getStyles,l="fixed"===i;if(!t&&!l||!a)return null;var s=this.state.placement||Ht(r),c=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(a),u=l?0:window.pageYOffset,p=c[s]+u,d=kt("div",{css:o("menuPortal",{offset:p,position:i,rect:c})},n);return t?Object(Et.createPortal)(d,t):d},t}(Ie.Component);Jt.childContextTypes={getPortalPlacement:Ct.a.func};var Xt=Array.isArray,Kt=Object.keys,Qt=Object.prototype.hasOwnProperty;function Zt(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var a,r,i,o=Xt(t),l=Xt(n);if(o&&l){if((r=t.length)!=n.length)return!1;for(a=r;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(o!=l)return!1;var s=t instanceof Date,c=n instanceof Date;if(s!=c)return!1;if(s&&c)return t.getTime()==n.getTime();var u=t instanceof RegExp,p=n instanceof RegExp;if(u!=p)return!1;if(u&&p)return t.toString()==n.toString();var d=Kt(t);if((r=d.length)!==Kt(n).length)return!1;for(a=r;0!=a--;)if(!Qt.call(n,d[a]))return!1;for(a=r;0!=a--;)if(!("_owner"===(i=d[a])&&t.$$typeof||e(t[i],n[i])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}function en(){return(en=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function tn(){var e=function(e,t){t||(t=e.slice(0));return e.raw=t,e}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]);return tn=function(){return e},e}function nn(){return(nn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var an={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},rn=function(e){var t=e.size,n=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["size"]);return kt("svg",nn({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:an},n))},on=function(e){return kt(rn,nn({size:20},e),kt("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},ln=function(e){return kt(rn,nn({size:20},e),kt("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},sn=function(e){var t=e.isFocused,n=e.theme,a=n.spacing.baseUnit,r=n.colors;return{label:"indicatorContainer",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*a,transition:"color 150ms",":hover":{color:t?r.neutral80:r.neutral40}}},cn=sn,un=sn,pn=function(){var e=dt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(tn()),dn=function(e){var t=e.delay,n=e.offset;return kt("span",{css:dt({animation:pn+" 1s ease-in-out "+t+"ms infinite;",backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},mn=function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerProps,i=e.isRtl;return kt("div",nn({},r,{css:a("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),kt(dn,{delay:0,offset:i}),kt(dn,{delay:160,offset:!0}),kt(dn,{delay:320,offset:!i}))};function fn(){return(fn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}mn.defaultProps={size:4};function bn(){return(bn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function gn(){return(gn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var hn=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}};function vn(){return(vn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var yn=function(e){var t=e.children,n=e.innerProps;return kt("div",n,t)},wn=yn,kn=yn;var _n=function(e){var t=e.children,n=e.className,a=e.components,r=e.cx,i=e.data,o=e.getStyles,l=e.innerProps,s=e.isDisabled,c=e.removeProps,u=e.selectProps,p=a.Container,d=a.Label,m=a.Remove;return kt(St,null,(function(a){var f=a.css,b=a.cx;return kt(p,{data:i,innerProps:vn({},l,{className:b(f(o("multiValue",e)),r({"multi-value":!0,"multi-value--is-disabled":s},n))}),selectProps:u},kt(d,{data:i,innerProps:{className:b(f(o("multiValueLabel",e)),r({"multi-value__label":!0},n))},selectProps:u},t),kt(m,{data:i,innerProps:vn({className:b(f(o("multiValueRemove",e)),r({"multi-value__remove":!0},n))},c),selectProps:u}))}))};function xn(){return(xn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}_n.defaultProps={cropWithEllipsis:!0};function Sn(){return(Sn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function En(){return(En=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Tn(){return(Tn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Cn={ClearIndicator:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return kt("div",nn({},i,{css:r("clearIndicator",e),className:a({indicator:!0,"clear-indicator":!0},n)}),t||kt(on,null))},Control:function(e){var t=e.children,n=e.cx,a=e.getStyles,r=e.className,i=e.isDisabled,o=e.isFocused,l=e.innerRef,s=e.innerProps,c=e.menuIsOpen;return kt("div",fn({ref:l,css:a("control",e),className:n({control:!0,"control--is-disabled":i,"control--is-focused":o,"control--menu-is-open":c},r)},s),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return kt("div",nn({},i,{css:r("dropdownIndicator",e),className:a({indicator:!0,"dropdown-indicator":!0},n)}),t||kt(ln,null))},DownChevron:ln,CrossIcon:on,Group:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.Heading,o=e.headingProps,l=e.label,s=e.theme,c=e.selectProps;return kt("div",{css:r("group",e),className:a({group:!0},n)},kt(i,bn({},o,{selectProps:c,theme:s,getStyles:r,cx:a}),l),kt("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.theme,i=(e.selectProps,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["className","cx","getStyles","theme","selectProps"]));return kt("div",bn({css:a("groupHeading",bn({theme:r},i)),className:n({"group-heading":!0},t)},i))},IndicatorsContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles;return kt("div",{css:r("indicatorsContainer",e),className:a({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerProps;return kt("span",nn({},r,{css:a("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerRef,i=e.isHidden,o=e.isDisabled,l=e.theme,s=(e.selectProps,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return kt("div",{css:a("input",gn({theme:l},s))},kt(Yt.a,gn({className:n({input:!0},t),inputRef:r,inputStyle:hn(i),disabled:o},s)))},LoadingIndicator:mn,Menu:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerRef,o=e.innerProps;return kt("div",Bt({css:r("menu",e),className:a({menu:!0},n)},o,{ref:i}),t)},MenuList:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.isMulti,o=e.innerRef;return kt("div",{css:r("menuList",e),className:a({"menu-list":!0,"menu-list--is-multi":i},n),ref:o},t)},MenuPortal:Jt,LoadingMessage:$t,NoOptionsMessage:qt,MultiValue:_n,MultiValueContainer:wn,MultiValueLabel:kn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return kt("div",n,t||kt(on,{size:14}))},Option:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.isDisabled,o=e.isFocused,l=e.isSelected,s=e.innerRef,c=e.innerProps;return kt("div",xn({css:r("option",e),className:a({option:!0,"option--is-disabled":i,"option--is-focused":o,"option--is-selected":l},n),ref:s},c),t)},Placeholder:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return kt("div",Sn({css:r("placeholder",e),className:a({placeholder:!0},n)},i),t)},SelectContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps,o=e.isDisabled,l=e.isRtl;return kt("div",en({css:r("container",e),className:a({"--is-disabled":o,"--is-rtl":l},n)},i),t)},SingleValue:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.isDisabled,o=e.innerProps;return kt("div",En({css:r("singleValue",e),className:a({"single-value":!0,"single-value--is-disabled":i},n)},o),t)},ValueContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.isMulti,i=e.getStyles,o=e.hasValue;return kt("div",{css:i("valueContainer",e),className:a({"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o},n)},t)}},Mn=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],On=function(e){for(var t=0;t<Mn.length;t++)e=e.replace(Mn[t].letters,Mn[t].base);return e};function Ln(){return(Ln=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Dn=function(e){return e.replace(/^\s+|\s+$/g,"")},Fn=function(e){return e.label+" "+e.value};function Pn(){return(Pn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var jn={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},Nn=function(e){return kt("span",Pn({css:jn},e))};function zn(){return(zn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function An(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return kt("input",zn({ref:t},n,{css:dt({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}var Yn=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.props.innerRef(Object(Et.findDOMNode)(this))},r.componentWillUnmount=function(){this.props.innerRef(null)},r.render=function(){return this.props.children},a}(Ie.Component),Bn=["boxSizing","height","overflow","paddingRight","position"],In={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Rn(e){e.preventDefault()}function Hn(e){e.stopPropagation()}function Wn(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Un(){return"ontouchstart"in window||navigator.maxTouchPoints}var Gn=!(!window.document||!window.document.createElement),Vn=0,qn=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).originalStyles={},t.listenerOptions={capture:!1,passive:!1},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){var e=this;if(Gn){var t=this.props,n=t.accountForScrollbars,a=t.touchScrollTarget,r=document.body,i=r&&r.style;if(n&&Bn.forEach((function(t){var n=i&&i[t];e.originalStyles[t]=n})),n&&Vn<1){var o=parseInt(this.originalStyles.paddingRight,10)||0,l=document.body?document.body.clientWidth:0,s=window.innerWidth-l+o||0;Object.keys(In).forEach((function(e){var t=In[e];i&&(i[e]=t)})),i&&(i.paddingRight=s+"px")}r&&Un()&&(r.addEventListener("touchmove",Rn,this.listenerOptions),a&&(a.addEventListener("touchstart",Wn,this.listenerOptions),a.addEventListener("touchmove",Hn,this.listenerOptions))),Vn+=1}},r.componentWillUnmount=function(){var e=this;if(Gn){var t=this.props,n=t.accountForScrollbars,a=t.touchScrollTarget,r=document.body,i=r&&r.style;Vn=Math.max(Vn-1,0),n&&Vn<1&&Bn.forEach((function(t){var n=e.originalStyles[t];i&&(i[t]=n)})),r&&Un()&&(r.removeEventListener("touchmove",Rn,this.listenerOptions),a&&(a.removeEventListener("touchstart",Wn,this.listenerOptions),a.removeEventListener("touchmove",Hn,this.listenerOptions)))}},r.render=function(){return null},a}(Ie.Component);qn.defaultProps={accountForScrollbars:!0};var $n={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},Jn=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={touchScrollTarget:null},t.getScrollTarget=function(e){e!==t.state.touchScrollTarget&&t.setState({touchScrollTarget:e})},t.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},t}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.render=function(){var e=this.props,t=e.children,n=e.isEnabled,a=this.state.touchScrollTarget;return n?kt("div",null,kt("div",{onClick:this.blurSelectInput,css:$n}),kt(Yn,{innerRef:this.getScrollTarget},t),a?kt(qn,{touchScrollTarget:a}):null):t},a}(Ie.PureComponent);var Xn=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).isBottom=!1,t.isTop=!1,t.scrollTarget=void 0,t.touchStart=void 0,t.cancelScroll=function(e){e.preventDefault(),e.stopPropagation()},t.handleEventDelta=function(e,n){var a=t.props,r=a.onBottomArrive,i=a.onBottomLeave,o=a.onTopArrive,l=a.onTopLeave,s=t.scrollTarget,c=s.scrollTop,u=s.scrollHeight,p=s.clientHeight,d=t.scrollTarget,m=n>0,f=u-p-c,b=!1;f>n&&t.isBottom&&(i&&i(e),t.isBottom=!1),m&&t.isTop&&(l&&l(e),t.isTop=!1),m&&n>f?(r&&!t.isBottom&&r(e),d.scrollTop=u,b=!0,t.isBottom=!0):!m&&-n>c&&(o&&!t.isTop&&o(e),d.scrollTop=0,b=!0,t.isTop=!0),b&&t.cancelScroll(e)},t.onWheel=function(e){t.handleEventDelta(e,e.deltaY)},t.onTouchStart=function(e){t.touchStart=e.changedTouches[0].clientY},t.onTouchMove=function(e){var n=t.touchStart-e.changedTouches[0].clientY;t.handleEventDelta(e,n)},t.getScrollTarget=function(e){t.scrollTarget=e},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.startListening(this.scrollTarget)},r.componentWillUnmount=function(){this.stopListening(this.scrollTarget)},r.startListening=function(e){e&&("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))},r.stopListening=function(e){"function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1)},r.render=function(){return Re.a.createElement(Yn,{innerRef:this.getScrollTarget},this.props.children)},a}(Ie.Component);function Kn(e){var t=e.isEnabled,n=void 0===t||t,a=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["isEnabled"]);return n?Re.a.createElement(Xn,a):a.children}var Qn=function(e,t){void 0===t&&(t={});var n=t,a=n.isSearchable,r=n.isMulti,i=n.label,o=n.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options"+(o?"":", press Enter to select the currently focused option")+", press Escape to exit the menu, press Tab to select the option and exit the menu.";case"input":return(i||"Select")+" is focused "+(a?",type to refine list":"")+", press Down to open the menu, "+(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},Zn=function(e,t){var n=t.value,a=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option "+n+", deselected.";case"select-option":return a?"option "+n+" is disabled. Select another option.":"option "+n+", selected."}},ea=function(e){return!!e.isDisabled};var ta={clearIndicator:un,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,a=e.theme,r=a.colors,i=a.borderRadius,o=a.spacing;return{label:"control",alignItems:"center",backgroundColor:t?r.neutral5:r.neutral0,borderColor:t?r.neutral10:n?r.primary:r.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px "+r.primary:null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?r.primary:r.neutral30}}},dropdownIndicator:cn,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing.baseUnit,r=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?r.neutral10:r.neutral20,marginBottom:2*a,marginTop:2*a,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing,r=n.colors;return{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,visibility:t?"hidden":"visible",color:r.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,a=e.theme,r=a.colors,i=a.spacing.baseUnit;return{label:"loadingIndicator",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:Vt,menu:function(e){var t,n=e.placement,a=e.theme,r=a.borderRadius,i=a.spacing,o=a.colors;return(t={label:"menu"})[function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n)]="100%",t.backgroundColor=o.neutral0,t.borderRadius=r,t.boxShadow="0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",t.marginBottom=i.menuGutter,t.marginTop=i.menuGutter,t.position="absolute",t.width="100%",t.zIndex=1,t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,a=e.position;return{left:t.left,position:a,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,a=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:a/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,a=t.colors,r=e.cropWithEllipsis;return{borderRadius:n/2,color:a.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:r?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,a=t.borderRadius,r=t.colors;return{alignItems:"center",borderRadius:a/2,backgroundColor:e.isFocused&&r.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}}},noOptionsMessage:Gt,option:function(e){var t=e.isDisabled,n=e.isFocused,a=e.isSelected,r=e.theme,i=r.spacing,o=r.colors;return{label:"option",backgroundColor:a?o.primary:n?o.primary25:"transparent",color:t?o.neutral20:a?o.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:2*i.baseUnit+"px "+3*i.baseUnit+"px",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(a?o.primary:o.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing,r=n.colors;return{label:"singleValue",color:t?r.neutral40:r.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,maxWidth:"calc(100% - "+2*a.baseUnit+"px)",overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:t.baseUnit/2+"px "+2*t.baseUnit+"px",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var na={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}};function aa(){return(aa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ra(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ia,oa={backspaceRemovesValue:!0,blurInputOnSelect:zt(),captureMenuScroll:!zt(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var n=Ln({ignoreCase:!0,ignoreAccents:!0,stringify:Fn,trim:!0,matchFrom:"any"},ia),a=n.ignoreCase,r=n.ignoreAccents,i=n.stringify,o=n.trim,l=n.matchFrom,s=o?Dn(t):t,c=o?Dn(i(e)):i(e);return a&&(s=s.toLowerCase(),c=c.toLowerCase()),r&&(s=On(s),c=On(c)),"start"===l?c.substr(0,s.length)===s:c.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:ea,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return t+" result"+(1!==t?"s":"")+" available"},styles:{},tabIndex:"0",tabSelectsValue:!0},la=1,sa=function(e){var t,n;function a(t){var n;(n=e.call(this,t)||this).state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},n.blockOptionHover=!1,n.isComposing=!1,n.clearFocusValueOnUpdate=!1,n.commonProps=void 0,n.components=void 0,n.hasGroups=!1,n.initialTouchX=0,n.initialTouchY=0,n.inputIsHiddenAfterUpdate=void 0,n.instancePrefix="",n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(e){n.controlRef=e},n.focusedOptionRef=null,n.getFocusedOptionRef=function(e){n.focusedOptionRef=e},n.menuListRef=null,n.getMenuListRef=function(e){n.menuListRef=e},n.inputRef=null,n.getInputRef=function(e){n.inputRef=e},n.cacheComponents=function(e){n.components=Tn({},Cn,{components:e}.components)},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(e,t){var a=n.props;(0,a.onChange)(e,aa({},t,{name:a.name}))},n.setValue=function(e,t,a){void 0===t&&(t="set-value");var r=n.props,i=r.closeMenuOnSelect,o=r.isMulti;n.onInputChange("",{action:"set-value"}),i&&(n.inputIsHiddenAfterUpdate=!o,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(e,{action:t,option:a})},n.selectOption=function(e){var t=n.props,a=t.blurInputOnSelect,r=t.isMulti,i=n.state.selectValue;if(r)if(n.isOptionSelected(e,i)){var o=n.getOptionValue(e);n.setValue(i.filter((function(e){return n.getOptionValue(e)!==o})),"deselect-option",e),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(e)}})}else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue([].concat(i,[e]),"select-option",e),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue(e,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));a&&n.blurInput()},n.removeValue=function(e){var t=n.state.selectValue,a=n.getOptionValue(e),r=t.filter((function(e){return n.getOptionValue(e)!==a}));n.onChange(r.length?r:null,{action:"remove-value",removedValue:e}),n.announceAriaLiveSelection({event:"remove-value",context:{value:e?n.getOptionLabel(e):""}}),n.focusInput()},n.clearValue=function(){var e=n.props.isMulti;n.onChange(e?[]:null,{action:"clear"})},n.popValue=function(){var e=n.state.selectValue,t=e[e.length-1],a=e.slice(0,e.length-1);n.announceAriaLiveSelection({event:"pop-value",context:{value:t?n.getOptionLabel(t):""}}),n.onChange(a.length?a:null,{action:"pop-value",removedValue:t})},n.getOptionLabel=function(e){return n.props.getOptionLabel(e)},n.getOptionValue=function(e){return n.props.getOptionValue(e)},n.getStyles=function(e,t){var a=ta[e](t);a.boxSizing="border-box";var r=n.props.styles[e];return r?r(a,t):a},n.getElementId=function(e){return n.instancePrefix+"-"+e},n.getActiveDescendentId=function(){var e=n.props.menuIsOpen,t=n.state,a=t.menuOptions,r=t.focusedOption;if(r&&e){var i=a.focusable.indexOf(r),o=a.render[i];return o&&o.key}},n.announceAriaLiveSelection=function(e){var t=e.event,a=e.context;n.setState({ariaLiveSelection:Zn(t,a)})},n.announceAriaLiveContext=function(e){var t=e.event,a=e.context;n.setState({ariaLiveContext:Qn(t,aa({},a,{label:n.props["aria-label"]}))})},n.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(e){n.blockOptionHover=!1},n.onControlMouseDown=function(e){var t=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&n.onMenuClose():t&&n.openMenu("first"):(t&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},n.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||n.props.isDisabled)){var t=n.props,a=t.isMulti,r=t.menuIsOpen;n.focusInput(),r?(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()):n.openMenu("first"),e.preventDefault(),e.stopPropagation()}},n.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(n.clearValue(),e.stopPropagation(),n.openAfterFocus=!1,"touchend"===e.type?n.focusInput():setTimeout((function(){return n.focusInput()})))},n.onScroll=function(e){"boolean"==typeof n.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Ft(e.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(e)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(e){var t=e.touches.item(0);t&&(n.initialTouchX=t.clientX,n.initialTouchY=t.clientY,n.userIsDragging=!1)},n.onTouchMove=function(e){var t=e.touches.item(0);if(t){var a=Math.abs(t.clientX-n.initialTouchX),r=Math.abs(t.clientY-n.initialTouchY);n.userIsDragging=a>5||r>5}},n.onTouchEnd=function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(e){n.userIsDragging||n.onControlMouseDown(e)},n.onClearIndicatorTouchEnd=function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)},n.onDropdownIndicatorTouchEnd=function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)},n.handleInputChange=function(e){var t=e.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(t,{action:"input-change"}),n.onMenuOpen()},n.onInputFocus=function(e){var t=n.props,a=t.isSearchable,r=t.isMulti;n.props.onFocus&&n.props.onFocus(e),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:r}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(e){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))},n.onOptionHover=function(e){n.blockOptionHover||n.state.focusedOption===e||n.setState({focusedOption:e})},n.shouldHideSelectedOptions=function(){var e=n.props,t=e.hideSelectedOptions,a=e.isMulti;return void 0===t?a:t},n.onKeyDown=function(e){var t=n.props,a=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,o=t.inputValue,l=t.isClearable,s=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,p=t.tabSelectsValue,d=t.openMenuOnFocus,m=n.state,f=m.focusedOption,b=m.focusedValue,g=m.selectValue;if(!(s||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!a||o)return;n.focusValue("previous");break;case"ArrowRight":if(!a||o)return;n.focusValue("next");break;case"Delete":case"Backspace":if(o)return;if(b)n.removeValue(b);else{if(!r)return;a?n.popValue():l&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(e.shiftKey||!c||!p||!f||d&&n.isOptionSelected(f,g))return;n.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(c){if(!f)return;if(n.isComposing)return;n.selectOption(f);break}return;case"Escape":c?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):l&&i&&n.clearValue();break;case" ":if(o)return;if(!c){n.openMenu("first");break}if(!f)return;n.selectOption(f);break;case"ArrowUp":c?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":c?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!c)return;n.focusOption("pageup");break;case"PageDown":if(!c)return;n.focusOption("pagedown");break;case"Home":if(!c)return;n.focusOption("first");break;case"End":if(!c)return;n.focusOption("last");break;default:return}e.preventDefault()}},n.buildMenuOptions=function(e,t){var a=e.inputValue,r=void 0===a?"":a,i=e.options,o=function(e,a){var i=n.isOptionDisabled(e,t),o=n.isOptionSelected(e,t),l=n.getOptionLabel(e),s=n.getOptionValue(e);if(!(n.shouldHideSelectedOptions()&&o||!n.filterOption({label:l,value:s,data:e},r))){var c=i?void 0:function(){return n.onOptionHover(e)},u=i?void 0:function(){return n.selectOption(e)},p=n.getElementId("option")+"-"+a;return{innerProps:{id:p,onClick:u,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:e,isDisabled:i,isSelected:o,key:p,label:l,type:"option",value:s}}};return i.reduce((function(e,t,a){if(t.options){n.hasGroups||(n.hasGroups=!0);var r=t.options.map((function(t,n){var r=o(t,a+"-"+n);return r&&e.focusable.push(t),r})).filter(Boolean);if(r.length){var i=n.getElementId("group")+"-"+a;e.render.push({type:"group",key:i,data:t,options:r})}}else{var l=o(t,""+a);l&&(e.render.push(l),e.focusable.push(t))}return e}),{render:[],focusable:[]})};var a=t.value;n.cacheComponents=We(n.cacheComponents,Zt).bind(ra(ra(n))),n.cacheComponents(t.components),n.instancePrefix="react-select-"+(n.props.instanceId||++la);var r=Dt(a);n.buildMenuOptions=We(n.buildMenuOptions,(function(e,t){var n=e,a=n[0],r=n[1],i=t,o=i[0];return Zt(r,i[1])&&Zt(a.inputValue,o.inputValue)&&Zt(a.options,o.options)})).bind(ra(ra(n)));var i=t.menuIsOpen?n.buildMenuOptions(t,r):{render:[],focusable:[]};return n.state.menuOptions=i,n.state.selectValue=r,n}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()},r.UNSAFE_componentWillReceiveProps=function(e){var t=this.props,n=t.options,a=t.value,r=t.menuIsOpen,i=t.inputValue;if(this.cacheComponents(e.components),e.value!==a||e.options!==n||e.menuIsOpen!==r||e.inputValue!==i){var o=Dt(e.value),l=e.menuIsOpen?this.buildMenuOptions(e,o):{render:[],focusable:[]},s=this.getNextFocusedValue(o),c=this.getNextFocusedOption(l.focusable);this.setState({menuOptions:l,selectValue:o,focusedOption:c,focusedValue:s})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)},r.componentDidUpdate=function(e){var t,n,a,r,i,o=this.props,l=o.isDisabled,s=o.menuIsOpen,c=this.state.isFocused;(c&&!l&&e.isDisabled||c&&s&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,a=t.getBoundingClientRect(),r=n.getBoundingClientRect(),i=n.offsetHeight/3,r.bottom+i>a.bottom?jt(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+i,t.scrollHeight)):r.top-i<a.top&&jt(t,Math.max(n.offsetTop-i,0)),this.scrollToFocusedOptionOnUpdate=!1)},r.componentWillUnmount=function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)},r.onMenuOpen=function(){this.props.onMenuOpen()},r.onMenuClose=function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()},r.onInputChange=function(e,t){this.props.onInputChange(e,t)},r.focusInput=function(){this.inputRef&&this.inputRef.focus()},r.blurInput=function(){this.inputRef&&this.inputRef.blur()},r.openMenu=function(e){var t=this,n=this.state,a=n.selectValue,r=n.isFocused,i=this.buildMenuOptions(this.props,a),o=this.props.isMulti,l="first"===e?0:i.focusable.length-1;if(!o){var s=i.focusable.indexOf(a[0]);s>-1&&(l=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:i,focusedValue:null,focusedOption:i.focusable[l]},(function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu"})}))},r.focusValue=function(e){var t=this.props,n=t.isMulti,a=t.isSearchable,r=this.state,i=r.selectValue,o=r.focusedValue;if(n){this.setState({focusedOption:null});var l=i.indexOf(o);o||(l=-1,this.announceAriaLiveContext({event:"value"}));var s=i.length-1,c=-1;if(i.length){switch(e){case"previous":c=0===l?0:-1===l?s:l-1;break;case"next":l>-1&&l<s&&(c=l+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:i[c]})}}},r.focusOption=function(e){void 0===e&&(e="first");var t=this.props.pageSize,n=this.state,a=n.focusedOption,r=n.menuOptions.focusable;if(r.length){var i=0,o=r.indexOf(a);a||(o=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:ea(r[i])}})}},r.getTheme=function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(na):aa({},na,this.props.theme):na},r.getCommonProps=function(){var e=this.clearValue,t=this.getStyles,n=this.setValue,a=this.selectOption,r=this.props,i=r.classNamePrefix,o=r.isMulti,l=r.isRtl,s=r.options,c=this.state.selectValue,u=this.hasValue();return{cx:Lt.bind(null,i),clearValue:e,getStyles:t,getValue:function(){return c},hasValue:u,isMulti:o,isRtl:l,options:s,selectOption:a,setValue:n,selectProps:r,theme:this.getTheme()}},r.getNextFocusedValue=function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,a=t.selectValue.indexOf(n);if(a>-1){if(e.indexOf(n)>-1)return n;if(a<e.length)return e[a]}return null},r.getNextFocusedOption=function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]},r.hasValue=function(){return this.state.selectValue.length>0},r.hasOptions=function(){return!!this.state.menuOptions.render.length},r.countOptions=function(){return this.state.menuOptions.focusable.length},r.isClearable=function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t},r.isOptionDisabled=function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)},r.isOptionSelected=function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var a=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===a}))},r.filterOption=function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)},r.formatOptionLabel=function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:a})}return this.getOptionLabel(e)},r.formatGroupLabel=function(e){return this.props.formatGroupLabel(e)},r.startListeningComposition=function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))},r.stopListeningComposition=function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))},r.startListeningToTouch=function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))},r.stopListeningToTouch=function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))},r.constructAriaLiveMessage=function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,a=e.focusedValue,r=e.focusedOption,i=this.props,o=i.options,l=i.menuIsOpen,s=i.inputValue,c=i.screenReaderStatus;return(a?function(e){var t=e.focusedValue,n=e.getOptionLabel,a=e.selectValue;return"value "+n(t)+" focused, "+(a.indexOf(t)+1)+" of "+a.length+"."}({focusedValue:a,getOptionLabel:this.getOptionLabel,selectValue:n}):"")+" "+(r&&l?function(e){var t=e.focusedOption,n=e.getOptionLabel,a=e.options;return"option "+n(t)+" focused"+(t.isDisabled?" disabled":"")+", "+(a.indexOf(t)+1)+" of "+a.length+"."}({focusedOption:r,getOptionLabel:this.getOptionLabel,options:o}):"")+" "+function(e){var t=e.inputValue;return e.screenReaderMessage+(t?" for search term "+t:"")+"."}({inputValue:s,screenReaderMessage:c({count:this.countOptions()})})+" "+t},r.renderInput=function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,a=e.inputId,r=e.inputValue,i=e.tabIndex,o=this.components.Input,l=this.state.inputIsHidden,s=a||this.getElementId("input"),c={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!n)return Re.a.createElement(An,aa({id:s,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Mt,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:i,value:""},c));var u=this.commonProps,p=u.cx,d=u.theme,m=u.selectProps;return Re.a.createElement(o,aa({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:s,innerRef:this.getInputRef,isDisabled:t,isHidden:l,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:m,spellCheck:"false",tabIndex:i,theme:d,type:"text",value:r},c))},r.renderPlaceholderOrValue=function(){var e=this,t=this.components,n=t.MultiValue,a=t.MultiValueContainer,r=t.MultiValueLabel,i=t.MultiValueRemove,o=t.SingleValue,l=t.Placeholder,s=this.commonProps,c=this.props,u=c.controlShouldRenderValue,p=c.isDisabled,d=c.isMulti,m=c.inputValue,f=c.placeholder,b=this.state,g=b.selectValue,h=b.focusedValue,v=b.isFocused;if(!this.hasValue()||!u)return m?null:Re.a.createElement(l,aa({},s,{key:"placeholder",isDisabled:p,isFocused:v}),f);if(d)return g.map((function(t,o){var l=t===h;return Re.a.createElement(n,aa({},s,{components:{Container:a,Label:r,Remove:i},isFocused:l,isDisabled:p,key:e.getOptionValue(t),index:o,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var y=g[0];return Re.a.createElement(o,aa({},s,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))},r.renderClearIndicator=function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||a||!this.hasValue()||r)return null;var o={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return Re.a.createElement(e,aa({},t,{innerProps:o,isFocused:i}))},r.renderLoadingIndicator=function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!e||!r)return null;return Re.a.createElement(e,aa({},t,{innerProps:{"aria-hidden":"true"},isDisabled:a,isFocused:i}))},r.renderIndicatorSeparator=function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var a=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused;return Re.a.createElement(n,aa({},a,{isDisabled:r,isFocused:i}))},r.renderDropdownIndicator=function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,a=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return Re.a.createElement(e,aa({},t,{innerProps:r,isDisabled:n,isFocused:a}))},r.renderMenu=function(){var e=this,t=this.components,n=t.Group,a=t.GroupHeading,r=t.Menu,i=t.MenuList,o=t.MenuPortal,l=t.LoadingMessage,s=t.NoOptionsMessage,c=t.Option,u=this.commonProps,p=this.state,d=p.focusedOption,m=p.menuOptions,f=this.props,b=f.captureMenuScroll,g=f.inputValue,h=f.isLoading,v=f.loadingMessage,y=f.minMenuHeight,w=f.maxMenuHeight,k=f.menuIsOpen,_=f.menuPlacement,x=f.menuPosition,S=f.menuPortalTarget,E=f.menuShouldBlockScroll,T=f.menuShouldScrollIntoView,C=f.noOptionsMessage,M=f.onMenuScrollToTop,O=f.onMenuScrollToBottom;if(!k)return null;var L,D=function(t){var n=d===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,Re.a.createElement(c,aa({},u,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())L=m.render.map((function(t){if("group"===t.type){t.type;var r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,["type"]),i=t.key+"-heading";return Re.a.createElement(n,aa({},u,r,{Heading:a,headingProps:{id:i},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return D(e)})))}if("option"===t.type)return D(t)}));else if(h){var F=v({inputValue:g});if(null===F)return null;L=Re.a.createElement(l,u,F)}else{var P=C({inputValue:g});if(null===P)return null;L=Re.a.createElement(s,u,P)}var j={minMenuHeight:y,maxMenuHeight:w,menuPlacement:_,menuPosition:x,menuShouldScrollIntoView:T},N=Re.a.createElement(Wt,aa({},u,j),(function(t){var n=t.ref,a=t.placerProps,o=a.placement,l=a.maxHeight;return Re.a.createElement(r,aa({},u,j,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:h,placement:o}),Re.a.createElement(Kn,{isEnabled:b,onTopArrive:M,onBottomArrive:O},Re.a.createElement(Jn,{isEnabled:E},Re.a.createElement(i,aa({},u,{innerRef:e.getMenuListRef,isLoading:h,maxHeight:l}),L))))}));return S||"fixed"===x?Re.a.createElement(o,aa({},u,{appendTo:S,controlElement:this.controlRef,menuPlacement:_,menuPosition:x}),N):N},r.renderFormField=function(){var e=this,t=this.props,n=t.delimiter,a=t.isDisabled,r=t.isMulti,i=t.name,o=this.state.selectValue;if(i&&!a){if(r){if(n){var l=o.map((function(t){return e.getOptionValue(t)})).join(n);return Re.a.createElement("input",{name:i,type:"hidden",value:l})}var s=o.length>0?o.map((function(t,n){return Re.a.createElement("input",{key:"i-"+n,name:i,type:"hidden",value:e.getOptionValue(t)})})):Re.a.createElement("input",{name:i,type:"hidden"});return Re.a.createElement("div",null,s)}var c=o[0]?this.getOptionValue(o[0]):"";return Re.a.createElement("input",{name:i,type:"hidden",value:c})}},r.renderLiveRegion=function(){return this.state.isFocused?Re.a.createElement(Nn,{"aria-live":"polite"},Re.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),Re.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null},r.render=function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,a=e.SelectContainer,r=e.ValueContainer,i=this.props,o=i.className,l=i.id,s=i.isDisabled,c=i.menuIsOpen,u=this.state.isFocused,p=this.commonProps=this.getCommonProps();return Re.a.createElement(a,aa({},p,{className:o,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:u}),this.renderLiveRegion(),Re.a.createElement(t,aa({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:u,menuIsOpen:c}),Re.a.createElement(r,aa({},p,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),Re.a.createElement(n,aa({},p,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())},a}(Ie.Component);function ca(){return(ca=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}sa.defaultProps=oa;var ua={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};Ie.Component;var pa,da,ma,fa=(pa=sa,ma=da=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).select=void 0,t.state={inputValue:void 0!==t.props.inputValue?t.props.inputValue:t.props.defaultInputValue,menuIsOpen:void 0!==t.props.menuIsOpen?t.props.menuIsOpen:t.props.defaultMenuIsOpen,value:void 0!==t.props.value?t.props.value:t.props.defaultValue},t.onChange=function(e,n){t.callProp("onChange",e,n),t.setState({value:e})},t.onInputChange=function(e,n){var a=t.callProp("onInputChange",e,n);t.setState({inputValue:void 0!==a?a:e})},t.onMenuOpen=function(){t.callProp("onMenuOpen"),t.setState({menuIsOpen:!0})},t.onMenuClose=function(){t.callProp("onMenuClose"),t.setState({menuIsOpen:!1})},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.focus=function(){this.select.focus()},r.blur=function(){this.select.blur()},r.getProp=function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]},r.callProp=function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return(t=this.props)[e].apply(t,a)}},r.render=function(){var e=this,t=this.props,n=(t.defaultInputValue,t.defaultMenuIsOpen,t.defaultValue,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return Re.a.createElement(pa,ca({},n,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))},a}(Ie.Component),da.defaultProps=ua,ma);const{__:ba}=wp.i18n,{SelectControl:ga}=wp.components,{Component:ha,Fragment:va}=wp.element;var ya=function(e){const t=[{value:"",label:ba("Default"),weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Arial",label:"Arial",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Helvetica",label:"Helvetica",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Times New Roman",label:"Times New Roman",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Georgia",label:"Georgia",weight:["100","200","300","400","500","600","700","800","900"],google:!1}];let n="",a="";Object.keys(Be).map((r,i)=>{t.push({value:r,label:r,weight:Be[r].weight}),r===e.fontFamily.value&&(n=Be[r].weight,a=Be[r].subset)}),""===n&&(n=t[0].weight);const r={value:"default",label:ba("Default","blockspare")},i=[];n.forEach((function(e){i.push({value:e,label:e})})),i.unshift(r);const o=[];"object"==typeof a&&a.forEach((function(e){o.push({value:e,label:e})}));const l=(t,n,a)=>{let r,i;if("object"==typeof Be[a]){const o=Be[a].weight,l=Be[a].subset;"object"==typeof o&&(o.forEach((function(n){if(t.value!=n)return i=n,r=!0,void e.setAttributes({[e.fontWeight.label]:i});r=!1})),l.forEach((function(t){if(n.value!=t)return i=t,r=!0,void e.setAttributes({[e.fontSubset.label]:i});r=!1})))}},s=(t,n)=>{let a;a=""==n||"object"==typeof Be[n],e.setAttributes({[t.label]:a})};return React.createElement("div",{className:"blockspare-typography-font-family-options"},React.createElement("label",{className:"blockspare-typography-font-family-label"},ba("Font Family")),React.createElement(fa,{options:t,value:{value:e.fontFamily.value,label:e.fontFamily.value,weight:i},isMulti:!1,maxMenuHeight:300,onChange:t=>{const{loadGoogleFonts:n,fontFamily:a,fontWeight:r,fontSubset:i}=e;e.setAttributes({[a.label]:t.label}),s(n,t.label),l(r,i,t.label)},className:"react-select-container",classNamePrefix:"react-select"}),React.createElement(ga,{label:ba("Font Weight"),value:e.fontWeight.value,onChange:t=>e.setAttributes({[e.fontWeight.label]:t}),options:i}),React.createElement(ga,{label:ba("Font Subset"),value:e.fontSubset.value,onChange:t=>e.setAttributes({[e.fontSubset.label]:t}),options:o}))};const{__:wa}=wp.i18n,{SelectControl:ka}=wp.components,{Component:_a,Fragment:xa}=wp.element;var Sa=class extends _a{render(){const{headerTagOption:e,setAttributes:t}=this.props,n=[{value:"h1",label:wa("h1","blockspare")},{value:"h2",label:wa("h2","blockspare")},{value:"h3",label:wa("h3","blockspare")},{value:"h4",label:wa("h4","blockspare")},{value:"h5",label:wa("h5","blockspare")},{value:"h6",label:wa("h6","blockspare")}];return React.createElement(xa,null,React.createElement(ka,{label:"Title Tag",value:e,options:n.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>t({headerTagOption:e})}))}};const{__:Ea}=wp.i18n,{RangeControl:Ta,ButtonGroup:Ca,Button:Ma,TabPanel:Oa,Dashicon:La}=wp.components,{Component:Da,Fragment:Fa}=wp.element;var Pa=function(e){let t;return t="sizeTypes"in e?e.sizeTypes:[{key:"px",name:Ea("px")},{key:"em",name:Ea("em")}],Ea("Size Type"),Ae()(t,({name:t,key:n})=>React.createElement(Ma,{key:n,className:"blockspare-size-btn",isSmall:!0,isPrimary:e.type.value===n,"aria-pressed":e.type.value===n,onClick:()=>e.setAttributes({[e.typeLabel]:n})},t)),React.createElement("div",{className:"blockspare-typography-range-options"},React.createElement("p",{className:"blockspare-font-size-title"},Ea("Font Size","blockspare")),React.createElement(Oa,{className:"blockspare-size-type-field-tabs",activeClass:"active-tab",tabs:[{name:"desktop",title:React.createElement(La,{icon:"desktop"}),className:"blockspare-desktop-tab blockspare-responsive-tabs"},{name:"tablet",title:React.createElement(La,{icon:"tablet"}),className:"blockspare-tablet-tab blockspare-responsive-tabs"},{name:"mobile",title:React.createElement(La,{icon:"smartphone"}),className:"blockspare-mobile-tab blockspare-responsive-tabs"}]},t=>{let n;return n="mobile"===t.name?React.createElement(Fa,null,React.createElement(Ta,{value:e.sizeMobile.value,onChange:t=>e.setAttributes({[e.sizeMobileLabel]:t}),min:0,max:100,step:e.steps})):"tablet"===t.name?React.createElement(Fa,null,React.createElement(Ta,{value:e.sizeTablet.value,onChange:t=>e.setAttributes({[e.sizeTabletLabel]:t}),min:0,max:100,step:e.steps})):React.createElement(Fa,null,React.createElement(Ta,{value:e.size.value,onChange:t=>e.setAttributes({[e.sizeLabel]:t}),min:0,max:100,step:e.steps})),React.createElement("div",null,n)}))};n(585);function ja(){return(ja=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}const{__:Na}=wp.i18n,{Button:za,Dashicon:Aa,SelectControl:Ya}=wp.components,{Component:Ba,Fragment:Ia}=wp.element;var Ra=class extends Ba{constructor(){super(...arguments),this.onAdvancedControlClick=this.onAdvancedControlClick.bind(this)}onAdvancedControlClick(){let e=!0,t=Na("Hide Advanced");null!==this.state&&!0===this.state.showAdvancedControls&&(e=!1,t=Na("Advanced")),this.setState({showAdvancedControls:e,showAdvancedControlsLabel:t})}render(){let e,t,n,a,r,i,o;const{disableTag:l=!0,disableFontFamily:s,disableFontSize:c,disableLineHeight:u,disableAdvancedOptions:p=!1}=this.props;return!0!==s&&(a=React.createElement(ya,this.props)),1!=l&&(e=React.createElement(Sa,this.props)),!0!==u&&(n=React.createElement(Pa,ja({type:this.props.lineHeightType,typeLabel:this.props.lineHeightType.label,sizeMobile:this.props.lineHeightMobile,sizeMobileLabel:this.props.lineHeightMobile.label,sizeTablet:this.props.lineHeightTablet,sizeTabletLabel:this.props.lineHeightTablet.label,size:this.props.lineHeight,sizeLabel:this.props.lineHeight.label,sizeMobileText:Na("Line Height"),sizeTabletText:Na("Line Height"),sizeText:Na("Line Height"),steps:1},this.props))),!0!==c&&(t=React.createElement(Pa,ja({type:this.props.fontSizeType,typeLabel:this.props.fontSizeType.label,sizeMobile:this.props.fontSizeMobile,sizeMobileLabel:this.props.fontSizeMobile.label,sizeTablet:this.props.fontSizeTablet,sizeTabletLabel:this.props.fontSizeTablet.label,size:this.props.fontSize,sizeLabel:this.props.fontSize.label,sizeMobileText:this.props.fontSizeLabel?this.props.fontSizeLabel:Na("Font Size"),sizeTabletText:this.props.fontSizeLabel?this.props.fontSizeLabel:Na("Font Size"),sizeText:this.props.fontSizeLabel?this.props.fontSizeLabel:Na("Font Size"),steps:1},this.props))),!0!==s&&!0!==c?r=React.createElement(za,{className:"blockspare-size-btn blockspare-typography-control-btn",isSmall:!0,"aria-pressed":null!==this.state,onClick:this.onAdvancedControlClick},React.createElement(Aa,{icon:"admin-generic"})):o=React.createElement(Ia,null,t,a,n),null!==this.state&&!0===this.state.showAdvancedControls&&(o=React.createElement("div",{className:"blockspare-typography-advanced"},t,a,n)),!0!==s&&!0!==c&&(i=React.createElement("div",{className:"blockspare-typography-option-actions"},React.createElement("span",null,this.props.label),r,void 0)),React.createElement("div",{className:"blockspare-typography-options"},!p&&React.createElement(Ia,null,e,i,o))}};const Ha=wp.i18n.__,Wa=wp.element.Component,Ua=wp.blockEditor.InspectorControls,Ga=wp.components,Va=Ga.PanelBody,qa=Ga.ToggleControl;class $a extends Wa{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.buttonBackgroundColor,a=t.buttonTextColor,r=t.buttonSize,i=t.buttonShape,o=t.buttonStyle,l=t.buttonTarget,s=t.borderColor,c=t.borderBtnTextColor,u=t.enableGradient,p=t.backgroundColor1,d=t.backgroundColor2,m=t.gradientAngle,f=t.colorLocation1,b=t.colorLocation2,g=t.btnFontWeight,h=t.btnBorderWidth,v=t.buttonHoverEffect,y=(t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft,t.marginTop),w=t.marginBottom,k=t.buttonFontSize,_=t.buttonFontFamily,x=t.buttonFontWeight,S=t.buttonFontSubset,E=t.buttonFontSizeType,T=t.buttonFontSizeMobile,C=t.buttonFontSizeTablet,M=t.buttonLoadGoogleFonts,O=e.attributes,L=e.setAttributes;return wp.element.createElement(Ua,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Va,{title:Ha("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(_e,{enableButtonTarget:!1,buttonTarget:l,onChangeButtonTarget:e=>L({buttonTarget:!l}),enableGradient:u,onChangeGradient:e=>L({enableGradient:e}),enableButtonSize:!0,buttonSize:r,onChangeButtonSize:e=>L({buttonSize:e}),enableButtonShape:!0,buttonShape:i,onChangeButtonShape:e=>L({buttonShape:e}),buttonBackgroundColor:n,onChangeButtonColor:e=>L({buttonBackgroundColor:e}),buttonTextColor:a,onChangeButtonTextColor:e=>L({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:o,onChangeBorderStyle:e=>L({buttonStyle:e}),buttonHoverEffect:v,onchangeButtonHoverEffect:e=>L({buttonHoverEffect:e}),borderColor:s,onchangeBorderColor:e=>L({borderColor:e}),borderBtnTextColor:c,onChangeBorderBtnTextColor:e=>L({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:h,onchangebtnBorderWidth:e=>L({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:g,onchangeBtnFontWeight:e=>L({btnFontWeight:e})}),wp.element.createElement(Va,{title:Ha("Typography Settings","blockspare")},wp.element.createElement(Ra,{label:Ha("Button Fonts Settings"),attributes:O,setAttributes:L,loadGoogleFonts:{value:M,label:Ha("buttonLoadGoogleFonts")},fontFamily:{value:_,label:Ha("buttonFontFamily")},fontWeight:{value:x,label:Ha("buttonFontWeight")},fontSubset:{value:S,label:Ha("buttonFontSubset")},fontSizeType:{value:E,label:Ha("buttonFontSizeType")},fontSize:{value:k,label:Ha("buttonFontSize")},fontSizeMobile:{value:T,label:Ha("buttonFontSizeMobile")},fontSizeTablet:{value:C,label:Ha("buttonFontSizeTablet")},disableLineHeight:!0})),"none"===o&&wp.element.createElement(qa,{label:Ha("Enable Gradient","blockspare"),checked:u,onChange:()=>this.props.setAttributes({enableGradient:!u})}),u&&"none"===o&&wp.element.createElement(Ce,{backgroundColor1:p,onChangeBackgroundColor1:e=>L({backgroundColor1:e}),backgroundColor2:d,onChangeBackgroundColor2:e=>L({backgroundColor2:e}),gradientAngle:m,onChangeGradientAngle:e=>L({gradientAngle:e}),colorLocation1:f,onChangeColorLocation1:e=>L({colorLocation1:e}),colorLocation2:b,onChangeColorLocation2:e=>L({colorLocation2:e})})),wp.element.createElement(Va,{title:Ha("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(Va,{title:Ha("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:y,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>L({marginTop:e}),marginEnableBottom:!0,marginBottom:w,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>L({marginBottom:e})})))))}}var Ja=n(9),Xa=n.n(Ja),Ka=n(304),Qa=n.n(Ka);wp.i18n.sprintf;const Za=(e,t=!1)=>{const n=e.replace(/\/\*.*?\*\//g,"").replace(/\n\s*\n/g,"").replace(/[\n\r \t]/g," ").replace(/ +/g," ").replace(/ ?([,:;{}]) ?/g,"$1").replace(/[^\}\{]+\{\}/g,"").replace(/[^\}\{]+\{\}/g,"").replace(/;}/g,"}").trim();return t?n.replace(/\s?\!important/g,"").replace(/([;\}])/g," !important$1").replace(/\} !important\}/g,"}}").trim():n},er=(e,t="",n="",a="")=>e.trim().replace(/[\n\s\t]+/g," ").split(",").map(e=>{let r="";return r=n&&t?n&&!t?`.${n} ${e.trim()}`:`.${n} ${e.trim()}`.replace(new RegExp(`(.${n}) (.${t}(#|:|\\[|\\.|\\s|$))`,"g"),"$1$2"):e,a?`${a} ${r}`:r}).join(", ");function tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function nr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ar=(e,t="",n="",a=!1)=>Object.keys(e).reduce((r,i)=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tr(Object(n),!0).forEach((function(t){nr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r,{[er(i,t,n,a?"#editor":"")]:e[i]}),{}),rr=e=>Za(Object.keys(e).reduce((t,n)=>{const a=Object.keys(e[n]).reduce((t,a)=>{const r=e[n][a];return void 0===r?t:`${t}\n\t${a.replace(/^(--?)?(.*?$)/,(e,t,n)=>`${t||""}${Qa()(n)}`)}: ${r};`},"");return`${t}\n\n${n} {${a}\n}`},"").trim());var ir=e=>{const t=e.style,n=void 0===t?{}:t,a=e.editorMode,r=void 0!==a&&a,i=e.blockUniqueClassName,o=void 0===i?"":i,l=e.blockMainClassName,s=void 0===l?"":l,c=e.breakTablet,u=void 0===c?1025:c,p=e.breakMobile,d=((e,t="",n="",a=1025,r=768,i=!1)=>{const o=[],l=Xa()(e,["tablet","mobile","editor"]);if(Object.keys(l).length){const e=ar(l,t,n,i);o.push(rr(e))}if(void 0!==e.tablet){const r=ar(e.tablet,t,n,i),l=rr(r);l&&o.push(`\n@media screen and (max-width: ${a}px) {\n${l} }`)}if(void 0!==e.mobile){const a=ar(e.mobile,t,n,i),l=rr(a);l&&o.push(`\n@media screen and (max-width: ${r}px) {\n${l} }`)}if(i&&void 0!==e.editor){const a=ar(e.editor,t,n,i);o.push(rr(a))}return Za(o.join(""))})(n,s,o,u,void 0===p?768:p,r);return d?wp.element.createElement("style",null,d):null},or=n(5),lr=n.n(or);function sr(){return(sr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function cr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ur=wp.hooks.applyFilters,pr=wp.element.Component,dr=wp.compose.createHigherOrderComponent;var mr=(e,t={})=>dr(n=>{var a,r;return r=a=class extends pr{render(){const a=o()([this.props.className,this.props.attributes.uniqueClass]),r=this.props.blockName,i=ur(`blockspare.${r}.styles`,e(this.props),this.props),l=wp.element.createElement(ir,{blockUniqueClassName:this.props.attributes.uniqueClass,blockMainClassName:this.props.className,style:i,editorMode:t.editorMode||!1});return wp.element.createElement(n,sr({},this.props,{className:a,styles:l}))}},cr(a,"propTypes",{attributes:lr.a.shape({uniqueClass:lr.a.string.isRequired}),blockName:lr.a.string.isRequired,mainClassName:lr.a.string.isRequired}),cr(a,"defaultProps",{attributes:{},blockName:"",className:"",mainClassName:""}),r},"withBlockStyles");wp.hooks.addFilter;const fr=wp.element.Component,br=wp.compose.createHigherOrderComponent;var gr=br(e=>{var t,n,a,r,i;return n=t=class extends fr{componentDidMount(){const e=this.props,t=e.attributes,n=e.setAttributes,a=e.clientId,r="blockspare-"+a.substring(0,15);void 0!==t.uniqueClass&&t.uniqueClass===r||n({uniqueClass:r})}render(){return wp.element.createElement(e,this.props)}},i={attributes:{},clientId:"",setAttributes:()=>{}},(r="defaultProps")in(a=t)?Object.defineProperty(a,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[r]=i,n},"withUniqueClass"),hr=n(1),vr=n.n(hr);var yr=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.marginTop,r=t.marginBottom,i=t.buttonStyle,o=t.enableGradient,l=t.backgroundColor1,s=t.backgroundColor2,c=t.gradientAngle,u=t.colorLocation1,p=t.colorLocation2,d=(t.btnFontWeight,t.btnBorderWidth),m=t.borderColor,f=t.buttonBackgroundColor,b=t.borderBtnTextColor,g=t.buttonTextColor,h=t.buttonFontSize,v=t.buttonFontFamily,y=t.buttonFontWeight,w=t.buttonFontSizeType,k=t.buttonFontSizeMobile,_=t.buttonFontSizeTablet,x=[];if(x.push({".blockspare-block-button":{textAlign:n,marginTop:a?a+"px":"0px",marginBottom:r?r+"px":"0px"}}),"none"===i)if(1==o){const e=c+"deg",t=u+"%",n=p+"%";x.push({".blockspare-block-button span":{color:g||"#fff",borderWidth:d+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${l||"#3B1A5B"} ${t},${s||"#8B249C"} ${n})`}})}else x.push({".blockspare-block-button span":{color:g||"#fff",borderWidth:d+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:f||"#3c1a5b"}});else x.push({".blockspare-block-button span":{color:b||"#404040"},".blockspare-button":{borderColor:m||"#3c1a5b",borderStyle:i,borderWidth:d+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return x.push({".blockspare-block-button span":{fontSize:h+w,fontFamily:v,fontWeight:y},tablet:{".blockspare-block-button span":{fontSize:_+w}},mobile:{".blockspare-block-button span":{fontSize:k+w}}}),vr.a.all(x)},wr=n(305),kr=n.n(wr);function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function xr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}if(void 0===Sr)var Sr=[];const Er=wp.element.Component,Tr="inactive",Cr="active",Mr="loading";class Or extends Er{constructor(e){super(e),this.state={status:void 0},this.handleLoading=()=>{this.setState({status:Mr})},this.addFont=e=>{Sr.includes(e)||Sr.push(e)},this.handleActive=()=>{this.setState({status:Cr})},this.handleInactive=()=>{this.setState({status:Tr})},this.loadFonts=()=>{Sr.includes(this.props.config.google.families[0])||(kr.a.load(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_r(Object(n),!0).forEach((function(t){xr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props.config,{loading:this.handleLoading,active:this.handleActive,inactive:this.handleInactive})),this.addFont(this.props.config.google.families[0]))}}componentDidMount(){this.loadFonts()}componentDidUpdate(e,t){const n=this.props,a=n.onStatus,r=n.config;t.status!==this.state.status&&a(this.state.status),e.config!==r&&this.loadFonts()}render(){return this.props.children||null}}Or.propTypes={config:lr.a.object.isRequired,children:lr.a.element,onStatus:lr.a.func.isRequired},Or.defaultProps={onStatus:()=>{}};var Lr=Or;const Dr=wp.element,Fr=Dr.Fragment,Pr=Dr.Component,jr=wp.compose.compose,Nr=wp.i18n.__,zr=wp.blockEditor,Ar=zr.RichText,Yr=zr.AlignmentToolbar,Br=zr.BlockControls,Ir=zr.URLInput,Rr=wp.components,Hr=Rr.IconButton,Wr=Rr.Dashicon;var Ur=jr(gr,mr(yr))(class extends Pr{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.sectionAlignment,i=t.buttonSize,l=t.buttonShape,s=t.buttonHoverEffect,c=t.buttonLoadGoogleFonts,u=t.buttonFontFamily,p=t.buttonFontWeight,d=e.className,m=e.isSelected,f=e.setAttributes;e.attributes;let b;if(1==c){const e={google:{families:[u+(p?":"+p:"")]}};b=wp.element.createElement(Lr,{config:e})}const g=o()([d,"blockspare-block-button-wrap"]);return wp.element.createElement(Fr,null,wp.element.createElement(Br,{key:"controls"},wp.element.createElement(Yr,{value:r,onChange:e=>{f({sectionAlignment:e})}})),wp.element.createElement($a,this.props),wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement("a",{href:"#"},wp.element.createElement(Ar,{tagName:"span",placeholder:Nr("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:""+n,allowedFormats:[],className:o()("blockspare-button",l,i,s),onChange:e=>f({buttonText:e})}))),m&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+r,onSubmit:e=>e.preventDefault(),style:{textAlign:r}},wp.element.createElement(Wr,{icon:"admin-links"}),wp.element.createElement(Ir,{className:"button-url",value:a,onChange:e=>f({buttonUrl:e})}),wp.element.createElement(Hr,{icon:"editor-break",label:Nr("Buy","blockspare"),type:"submit"}))),b)}});wp.i18n.__;const Gr=wp.element.Component,Vr=wp.compose.compose,qr=wp.blockEditor.RichText;var $r=Vr(gr,mr(yr))(class extends Gr{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonShape,i=t.buttonSize,l=t.buttonTarget,s=t.buttonHoverEffect,c=e.className,u=o()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",r,i,s)},wp.element.createElement(qr.Content,{tagName:"span",value:n}))))}});var Jr={sectionAlignment:{type:"string",default:"center"},uniqueClass:{type:"string",default:""},buttonText:{type:"string",default:"Get Started"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonBackgroundColor:{type:"string",default:"#3c1a5b"},buttonTextColor:{type:"string",default:"#fff"},buttonSize:{type:"string",default:"blockspare-button-size-small"},buttonShape:{type:"string",default:"blockspare-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},buttonStyle:{type:"string",default:"none"},borderColor:{type:"string",default:"#3c1a5b"},borderBtnTextColor:{type:"string",default:"#404040"},enableGradient:{type:"boolean",default:!1},backgroundColor1:{type:"string",default:"#3B1A5B"},backgroundColor2:{type:"string",default:"#8B249C"},gradientAngle:{type:"number",default:-90},colorLocation1:{type:"number",default:30},colorLocation2:{type:"number",default:70},btnBorderWidth:{type:"number",default:1},btnFontWeight:{type:"string",default:"normal"},buttonHoverEffect:{type:"string",default:""},buttonFontSize:{type:"number",default:16},buttonFontFamily:{type:"string",default:"Default"},buttonFontWeight:{type:"string"},buttonFontSubset:{type:"string"},buttonFontSizeType:{type:"string",default:"px"},buttonFontSizeMobile:{type:"number"},buttonFontSizeTablet:{type:"number"},buttonLoadGoogleFonts:{type:"boolean",default:!1}};var Xr=e=>{let t="";if("none"===e.buttonStyle)if(1==e.enableGradient){const n=e.gradientAngle+"deg",a=e.colorLocation1+"%",r=e.colorLocation2+"%";t={backgroundImage:`linear-gradient(${n},${e.backgroundColor1?e.backgroundColor1:"#3B1A5B"} ${a},${e.backgroundColor2?e.backgroundColor2:"#8B249C"} ${r})`,color:e.buttonTextColor?e.buttonTextColor:"#fff",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"}}else t={color:e.buttonTextColor?e.buttonTextColor:"#fff",backgroundColor:e.buttonBackgroundColor?e.buttonBackgroundColor:"#3c1a5b",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};else t={color:e.borderBtnTextColor?e.borderBtnTextColor:"#404040",backgroundColor:"transparent",borderColor:e.borderColor?e.borderColor:"#3c1a5b",borderStyle:e.buttonStyle,fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};return t};var Kr=e=>{let t="";if("none"===e.buttonStyle)if(1==e.enableGradient){const n=e.gradientAngle+"deg",a=e.colorLocation1+"%",r=e.colorLocation2+"%";t={backgroundImage:`linear-gradient(${n},${e.backgroundColor1?e.backgroundColor1:"#3B1A5B"} ${a},${e.backgroundColor2?e.backgroundColor2:"#8B249C"} ${r})`,color:e.buttonTextColor?e.buttonTextColor+"!important":"#fff!important",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"}}else t={color:e.buttonTextColor?e.buttonTextColor+"!important":"#fff!important",backgroundColor:e.buttonBackgroundColor?e.buttonBackgroundColor:"#3c1a5b",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};else t={color:e.borderBtnTextColor?e.borderBtnTextColor+"!important":"#404040!important",backgroundColor:"transparent",borderColor:e.borderColor?e.borderColor:"#3c1a5b",borderStyle:e.buttonStyle,fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};return t};function Qr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Zr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qr(Object(n),!0).forEach((function(t){ei(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ei(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ti=e=>{const t=e.attributes.sectionAlignment,n=[];return n.push({".blockspare-block-button":{textAlign:t},".blockspare-button":Zr({},Kr(e.attributes))}),vr.a.all(n)};wp.i18n.__;const ni=wp.element.Component,ai=wp.compose.compose,ri=wp.blockEditor.RichText;var ii=ai(gr,mr(ti))(class extends ni{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonShape,i=t.buttonSize,l=t.buttonTarget,s=t.buttonHoverEffect,c=e.className,u=o()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",r,i,s)},wp.element.createElement(ri.Content,{value:n}))))}});var oi=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.marginTop,r=t.marginBottom,i=t.buttonStyle,o=t.enableGradient,l=t.backgroundColor1,s=t.backgroundColor2,c=t.gradientAngle,u=t.colorLocation1,p=t.colorLocation2,d=t.btnFontWeight,m=t.btnBorderWidth,f=t.borderColor,b=t.buttonBackgroundColor,g=t.borderBtnTextColor,h=t.buttonTextColor,v=[];if(v.push({".blockspare-block-button":{textAlign:n,marginTop:a?a+"px":"0px",marginBottom:r?r+"px":"0px"}}),"none"===i)if(1==o){const e=c+"deg",t=u+"%",n=p+"%";v.push({".blockspare-block-button span":{color:h||"#fff",fontWeight:d,borderWidth:m+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${l||"#3B1A5B"} ${t},${s||"#8B249C"} ${n})`}})}else v.push({".blockspare-block-button span":{color:h||"#fff",fontWeight:d,borderWidth:m+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:b||"#3c1a5b"}});else v.push({".blockspare-block-button span":{color:g||"#404040",borderColor:f||"#3c1a5b",borderStyle:i,fontWeight:d,borderWidth:m+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return vr.a.all(v)};wp.i18n.__;const li=wp.element.Component,si=wp.compose.compose,ci=wp.blockEditor.RichText;var ui=si(gr,mr(oi))(class extends li{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonShape,i=t.buttonSize,l=t.buttonTarget,s=t.buttonHoverEffect,c=e.className,u=o()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",r,i,s)},wp.element.createElement(ci.Content,{tagName:"span",value:n}))))}});function pi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function di(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pi(Object(n),!0).forEach((function(t){mi(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const fi=wp.blockEditor,bi=fi.RichText;fi.AlignmentToolbar,fi.BlockControls,fi.URLInput;var gi=[{attributes:di({marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}},Jr),save:function(e){const t=e.attributes,n=(t.sectionAlignment,t.buttonText),a=t.buttonUrl,r=t.buttonShape,i=t.buttonSize,l=t.buttonTarget,s=t.buttonHoverEffect,c=di({},Xr(e.attributes));return wp.element.createElement("div",{style:{textAlign:e.attributes.sectionAlignment},className:o()(e.attributes.className,"blockspare-block-button")},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",r,i,s),style:c},wp.element.createElement(bi.Content,{value:n})))}},{attributes:di({},Jr,{marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}}),save:e=>wp.element.createElement(ii,e)},{attributes:di({},Jr,{marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}}),save:e=>wp.element.createElement(ui,e)}];function hi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function vi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const yi=fe.name,wi=fe.category,ki=wp.i18n.__;(0,wp.blocks.registerBlockType)(yi,{title:ki("BS Button","blockspare"),description:ki("Prompt visitors to take action with multiple buttons, side by side.","blockspare"),category:wi,icon:r.button,attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hi(Object(n),!0).forEach((function(t){vi(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Jr,{},fe.attributes),keywords:[ki("block","blockspare"),ki("button","blockspare"),ki("cta","blockspare"),ki("call to action","blockspare")],example:{attributes:{sectionAlignment:"center",buttonText:ki("Get Started","blockspare"),buttonBackgroundColor:"#3c1a5b",buttonTextColor:"#fff",buttonSize:"blockspare-button-size-small",buttonShape:"blockspare-button-shape-rounded"}},edit:Ur,save:$r,deprecated:gi});n(586);var _i=n(80);var xi={className:{type:"string"},uniqueClass:{type:"string",default:""},align:{type:"string",default:"center"},sectionAlignment:{type:"string",default:"center"},headerTitle:{type:"string",default:"Enter Title"},titleFontSize:{type:"number",default:32},subtitleFontSize:{type:"number",default:18},headerSubTitle:{type:"string",default:"Enter Subtitle"},headerboxColor:{type:"string",default:"transparent"},headertitleColor:{type:"string",default:"#404040"},headersubtitleColor:{type:"string",default:"#6d6d6d"},headertitleDashColor:{type:"string",default:"#6d6d6d"},headerpaddingTop:{type:"number",default:10},headerpaddingRight:{type:"number",default:20},headerpaddingBottom:{type:"number",default:10},headerpaddingLeft:{type:"number",default:20},headermarginTop:{type:"number",default:30},headermarginBottom:{type:"number",default:30},headerlayoutOption:{type:"string",default:"blockspare-style1"},headerTagOption:{type:"string",default:"h2"},titlePaddingTop:{type:"number",default:5},titlePaddingBottom:{type:"number",default:5},subtitlePaddingTop:{type:"number",default:5},subtitlePaddingBottom:{type:"number",default:5},dashColor:{type:"string",default:"#8b249c"},titleFontFamily:{type:"string",default:"Default"},titleFontWeight:{type:"string"},titleFontSubset:{type:"string"},titleFontSizeType:{type:"string",default:"px"},titleFontSizeMobile:{type:"number"},titleFontSizeTablet:{type:"number"},titleLoadGoogleFonts:{type:"boolean",default:!1},subTitleFontSize:{type:"number",default:18},subTitleFontFamily:{type:"string",default:"Default"},subTitleFontWeight:{type:"string"},subTitleFontSubset:{type:"string"},subTitleFontSizeType:{type:"string",default:"px"},subTitleFontSizeMobile:{type:"number"},subTitleFontSizeTablet:{type:"number"},subTitleLoadGoogleFonts:{type:"boolean",default:!1}};var Si={enableBoxShadow:{type:"boolean",default:!1},xOffset:{type:"number",default:0},yOffset:{type:"number",default:6},blur:{type:"number",default:12},spread:{type:"number",default:-10},shadowColor:{type:"string",default:"#000"}};var Ei={paddingTop:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingLeft:{type:"number",default:20},marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}};const Ti=wp.i18n.__,Ci=wp.element.Fragment,Mi=wp.components,Oi=(Mi.ToggleControl,Mi.PanelBody),Li=(Mi.SelectControl,Mi.RangeControl),Di=wp.blockEditor.PanelColorSettings;function Fi(e){const t=e.enableBlockGaps,n=(e.titleFontSize,e.onChangetitleFontSize,e.subtitleFontSize,e.onChangesubtitleFontSize,e.headerTagOption,e.onChangeHeaderTag,e.enableheaderboxColor,e.headerboxColor,e.onChangeboxcolor,e.headerlayoutOption),a=e.dashColor,r=e.onChangeDashColor,i=void 0===r?()=>{}:r,o=e.headertitleColor,l=e.onChangetitlecolor,s=void 0===l?()=>{}:l,c=e.titlePaddingTop,u=e.onChangetitlePaddingTop,p=void 0===u?()=>{}:u,d=e.titlePaddingBottom,m=e.onChangetitlePaddingBottom,f=void 0===m?()=>{}:m,b=e.headersubtitleColor,g=e.onChangesubtitlecolor,h=void 0===g?()=>{}:g,v=e.subtitlePaddingTop,y=e.onChangesubtitlePaddingTop,w=void 0===y?()=>{}:y,k=e.subtitlePaddingBottom,_=e.onChangesubtitlePaddingBottom,x=void 0===_?()=>{}:_,S=e.headerpaddingTop,E=e.onChangeheaderpaddingTop,T=void 0===E?()=>{}:E,C=e.headerpaddingRight,M=e.onChangeheaderpaddingRight,O=void 0===M?()=>{}:M,L=e.headerpaddingBottom,D=e.onChangeheaderpaddingBottom,F=void 0===D?()=>{}:D,P=e.headerpaddingLeft,j=e.onChangeheaderpaddingLeft,N=void 0===j?()=>{}:j,z=e.headermarginTop,A=e.onChangeheadermarginTop,Y=void 0===A?()=>{}:A,B=e.headermarginBottom,I=e.onChangeheadermarginBottom,R=void 0===I?()=>{}:I;Ti("h1","blockspare"),Ti("h2","blockspare"),Ti("h3","blockspare"),Ti("h4","blockspare"),Ti("h5","blockspare"),Ti("h6","blockspare");return wp.element.createElement(Ci,null,wp.element.createElement(Oi,{title:Ti("Color Settings","blockspare"),initialOpen:!1},wp.element.createElement(Di,{title:Ti("Title Settings","blockspare"),initialOpen:!0,colorSettings:[{value:o,onChange:s,label:Ti("Title Color","blockspare")},{value:b,onChange:h,label:Ti("Subtitle Color","blockspare")}]}),"blockspare-style2"===n&&wp.element.createElement(Di,{title:Ti("Dash color","blockspare"),initialOpen:!0,colorSettings:[{value:a,onChange:i,label:Ti("Dash Color","blockspare")}]})),wp.element.createElement(Oi,{title:Ti("Content Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(Oi,{title:Ti("Title Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Li,{label:Ti("Padding Top","blockspare"),value:c,onChange:p,min:0,max:100}),wp.element.createElement(Li,{label:Ti("Padding Bottom","blockspare"),value:d,onChange:f,min:0,max:100})),wp.element.createElement(Oi,{title:Ti("Subtitle Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Li,{label:Ti("Padding Top","blockspare"),value:v,onChange:w,min:0,max:100}),wp.element.createElement(Li,{label:Ti("Padding Bottom","blockspare"),value:k,onChange:x,min:0,max:100}))),1==t&&wp.element.createElement(Oi,{title:Ti("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Oi,{title:Ti("Padding Settings","blockspare"),initialOpen:!1},wp.element.createElement(Li,{label:Ti("Header Padding Top","blockspare"),value:S,onChange:T,min:0,max:100}),wp.element.createElement(Li,{label:Ti("Header Padding Left","blockspare"),value:P,onChange:N,min:0,max:100}),wp.element.createElement(Li,{label:Ti("Header Padding Bottom","blockspare"),value:L,onChange:F,min:0,max:100}),wp.element.createElement(Li,{label:Ti("Header Padding Right","blockspare"),value:C,onChange:O,min:0,max:100})),wp.element.createElement(Oi,{title:Ti("Margin Settings","blockspare"),initialOpen:!1},wp.element.createElement(Li,{label:Ti("Margin Top","blockspare"),value:z,onChange:Y,min:0,max:100}),wp.element.createElement(Li,{label:Ti("Margin Bottom","blockspare"),value:B,onChange:R,min:0,max:100}))))}var Pi=n(13),ji=n.n(Pi);const Ni={ABeeZee:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Abel:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Abhaya Libre":{v:["regular","500","600","700","800"],subset:["latin-ext","sinhala","latin"],weight:["400","500","600","700","800"],i:["normal"]},"Abril Fatface":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aclonica:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Acme:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Actor:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Adamina:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Advent Pro":{v:["100","200","300","regular","500","600","700"],subset:["latin-ext","greek","latin"],weight:["100","200","300","400","500","600","700"],i:["normal"]},"Aguafina Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Akronim:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aladin:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aldrich:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Alef:{v:["regular","700"],subset:["hebrew","latin"],weight:["400","700"],i:["normal"]},Alegreya:{v:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","700","800","900"],i:["normal","italic"]},"Alegreya SC":{v:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","700","800","900"],i:["normal","italic"]},"Alegreya Sans":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal","italic"]},"Alegreya Sans SC":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal","italic"]},"Alex Brush":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Alfa Slab One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Alice:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin"],weight:["400"],i:["normal"]},Alike:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Alike Angular":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Allan:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Allerta:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Allerta Stencil":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Allura:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Almendra:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Almendra Display":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Almendra SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Amarante:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Amaranth:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Amatic SC":{v:["regular","700"],subset:["cyrillic","latin-ext","hebrew","vietnamese","latin"],weight:["400","700"],i:["normal"]},Amethysta:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Amiko:{v:["regular","600","700"],subset:["latin-ext","devanagari","latin"],weight:["400","600","700"],i:["normal"]},Amiri:{v:["regular","italic","700","700italic"],subset:["latin-ext","arabic","latin"],weight:["400","700"],i:["normal","italic"]},Amita:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Anaheim:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Andada:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Andika:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Angkor:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Annie Use Your Telescope":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Anonymous Pro":{v:["regular","italic","700","700italic"],subset:["cyrillic","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Antic:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Antic Didone":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Antic Slab":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Anton:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Arapey:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Arbutus:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Arbutus Slab":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Architects Daughter":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Archivo:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Archivo Black":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Archivo Narrow":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Aref Ruqaa":{v:["regular","700"],subset:["arabic","latin"],weight:["400","700"],i:["normal"]},"Arima Madurai":{v:["100","200","300","regular","500","700","800","900"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["100","200","300","400","500","700","800","900"],i:["normal"]},Arimo:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Arizonia:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Armata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Arsenal:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Artifika:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Arvo:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Arya:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Asap:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Asap Condensed":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Asar:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Asset:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Assistant:{v:["200","300","regular","600","700","800"],subset:["hebrew","latin"],weight:["200","300","400","600","700","800"],i:["normal"]},Astloch:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Asul:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Athiti:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Atma:{v:["300","regular","500","600","700"],subset:["latin-ext","bengali","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Atomic Age":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Aubrey:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Audiowide:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Autour One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Average:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Average Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Averia Gruesa Libre":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Averia Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Averia Sans Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Averia Serif Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Bad Script":{v:["regular"],subset:["cyrillic","latin"],weight:["400"],i:["normal"]},Bahiana:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Baloo:{v:["regular"],subset:["latin-ext","devanagari","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhai":{v:["regular"],subset:["latin-ext","gujarati","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhaijaan":{v:["regular"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhaina":{v:["regular"],subset:["latin-ext","oriya","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Chettan":{v:["regular"],subset:["malayalam","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Da":{v:["regular"],subset:["latin-ext","vietnamese","bengali","latin"],weight:["400"],i:["normal"]},"Baloo Paaji":{v:["regular"],subset:["latin-ext","gurmukhi","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Tamma":{v:["regular"],subset:["latin-ext","vietnamese","latin","kannada"],weight:["400"],i:["normal"]},"Baloo Tammudu":{v:["regular"],subset:["latin-ext","telugu","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Thambi":{v:["regular"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["400"],i:["normal"]},Balthazar:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bangers:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Barlow:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Barlow Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Barlow Semi Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Barrio:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Basic:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Battambang:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},Baumans:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bayon:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Belgrano:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bellefair:{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},Belleza:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},BenchNine:{v:["300","regular","700"],subset:["latin-ext","latin"],weight:["300","400","700"],i:["normal"]},Bentham:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Berkshire Swash":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Bevan:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bigelow Rules":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bigshot One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bilbo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bilbo Swash Caps":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},BioRhyme:{v:["200","300","regular","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal"]},"BioRhyme Expanded":{v:["200","300","regular","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal"]},Biryani:{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},Bitter:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Black And White Picture":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Black Han Sans":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Black Ops One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Bokor:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Bonbon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Boogaloo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bowlby One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bowlby One SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Brawler:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bree Serif":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bubblegum Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bubbler One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Buda:{v:["300"],subset:["latin"],weight:["300"],i:[]},Buenard:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Bungee:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Hairline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Inline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Outline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Shade":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Butcherman:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Butterfly Kids":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cabin:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Cabin Condensed":{v:["regular","500","600","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal"]},"Cabin Sketch":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Caesar Dressing":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cagliostro:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cairo:{v:["200","300","regular","600","700","900"],subset:["latin-ext","arabic","latin"],weight:["200","300","400","600","700","900"],i:["normal"]},Calligraffitti:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cambay:{v:["regular","italic","700","700italic"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal","italic"]},Cambo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Candal:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cantarell:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Cantata One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cantora One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Capriola:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cardo:{v:["regular","italic","700"],subset:["greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Carme:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carrois Gothic":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carrois Gothic SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carter One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Catamaran:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","tamil","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Caudex:{v:["regular","italic","700","700italic"],subset:["greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Caveat:{v:["regular","700"],subset:["cyrillic","latin-ext","latin"],weight:["400","700"],i:["normal"]},"Caveat Brush":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cedarville Cursive":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Ceviche One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Changa:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","arabic","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Changa One":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Chango:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chathura:{v:["100","300","regular","700","800"],subset:["telugu","latin"],weight:["100","300","400","700","800"],i:["normal"]},"Chau Philomene One":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Chela One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Chelsea Market":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chenla:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Cherry Cream Soda":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Cherry Swash":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Chewy:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Chicle:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chivo:{v:["300","300italic","regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["300","400","700","900"],i:["normal","italic"]},Chonburi:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},Cinzel:{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},"Cinzel Decorative":{v:["regular","700","900"],subset:["latin"],weight:["400","700","900"],i:["normal"]},"Clicker Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Coda:{v:["regular","800"],subset:["latin-ext","latin"],weight:["400","800"],i:["normal"]},"Coda Caption":{v:["800"],subset:["latin-ext","latin"],weight:["800"],i:[]},Codystar:{v:["300","regular"],subset:["latin-ext","latin"],weight:["300","400"],i:["normal"]},Coiny:{v:["regular"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["400"],i:["normal"]},Combo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Comfortaa:{v:["300","regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","700"],i:["normal"]},"Coming Soon":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Concert One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Condiment:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Content:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},"Contrail One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Convergence:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cookie:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Copse:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Corben:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Cormorant:{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant Garamond":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant Infant":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant SC":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Cormorant Unicase":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Cormorant Upright":{v:["300","regular","500","600","700"],subset:["latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},Courgette:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cousine:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Coustard:{v:["regular","900"],subset:["latin"],weight:["400","900"],i:["normal"]},"Covered By Your Grace":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Crafty Girls":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Creepster:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Crete Round":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Crimson Text":{v:["regular","italic","600","600italic","700","700italic"],subset:["latin"],weight:["400","600","700"],i:["normal","italic"]},"Croissant One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Crushed:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cuprum:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Cute Font":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Cutive:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cutive Mono":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Damion:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Dancing Script":{v:["regular","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal"]},Dangrek:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"David Libre":{v:["regular","500","700"],subset:["latin-ext","hebrew","vietnamese","latin"],weight:["400","500","700"],i:["normal"]},"Dawning of a New Day":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Days One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Dekko:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Delius:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Delius Swash Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Delius Unicase":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Della Respira":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Denk One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Devonshire:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dhurjati:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Didact Gothic":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},Diplomata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Diplomata SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Do Hyeon":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Dokdo:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Domine:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Donegal One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Doppio One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dorsa:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Dosis:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Dr Sugiyama":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Duru Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dynalight:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"EB Garamond":{v:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","600","700","800"],i:["normal","italic"]},"Eagle Lake":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"East Sea Dokdo":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Eater:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Economica:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Eczar:{v:["regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800"],i:["normal"]},"El Messiri":{v:["regular","500","600","700"],subset:["cyrillic","arabic","latin"],weight:["400","500","600","700"],i:["normal"]},Electrolize:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Elsie:{v:["regular","900"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal"]},"Elsie Swash Caps":{v:["regular","900"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal"]},"Emblema One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Emilys Candy":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Encode Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Expanded":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Semi Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Semi Expanded":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Engagement:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Englebert:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Enriqueta:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Erica One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Esteban:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Euphoria Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ewert:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Exo:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Exo 2":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Expletus Sans":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Fanwood Text":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Farsan:{v:["regular"],subset:["latin-ext","gujarati","vietnamese","latin"],weight:["400"],i:["normal"]},Fascinate:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fascinate Inline":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Faster One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fasthand:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Fauna One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Faustina:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Federant:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Federo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Felipa:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Fenix:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Finger Paint":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fira Mono":{v:["regular","500","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400","500","700"],i:["normal"]},"Fira Sans":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fira Sans Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fira Sans Extra Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fjalla One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fjord One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Flamenco:{v:["300","regular"],subset:["latin"],weight:["300","400"],i:["normal"]},Flavors:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fondamento:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Fontdiner Swanky":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Forum:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},"Francois One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Frank Ruhl Libre":{v:["300","regular","500","700","900"],subset:["latin-ext","hebrew","latin"],weight:["300","400","500","700","900"],i:["normal"]},"Freckle Face":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fredericka the Great":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fredoka One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Freehand:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Fresca:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Frijole:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fruktur:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fugaz One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"GFS Didot":{v:["regular"],subset:["greek"],weight:["400"],i:["normal"]},"GFS Neohellenic":{v:["regular","italic","700","700italic"],subset:["greek"],weight:["400","700"],i:["normal","italic"]},Gabriela:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin"],weight:["400"],i:["normal"]},Gaegu:{v:["300","regular","700"],subset:["korean","latin"],weight:["300","400","700"],i:["normal"]},Gafata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Galada:{v:["regular"],subset:["bengali","latin"],weight:["400"],i:["normal"]},Galdeano:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Galindo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Gamja Flower":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Gentium Basic":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Gentium Book Basic":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Geo:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Geostar:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Geostar Fill":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Germania One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Gidugu:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Gilda Display":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Give You Glory":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Glass Antiqua":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Glegoo:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},"Gloria Hallelujah":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Goblin One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Gochi Hand":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Gorditas:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Gothic A1":{v:["100","200","300","regular","500","600","700","800","900"],subset:["korean","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Goudy Bookletter 1911":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Graduate:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Grand Hotel":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Gravitas One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Great Vibes":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Griffy:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Gruppo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Gudea:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Gugi:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Gurajada:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Habibi:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Halant:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hammersmith One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Hanalei:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Hanalei Fill":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Handlee:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Hanuman:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},"Happy Monkey":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Harmattan:{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},"Headland One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Heebo:{v:["100","300","regular","500","700","800","900"],subset:["hebrew","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},"Henny Penny":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Herr Von Muellerhoff":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Hi Melody":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Hind:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Guntur":{v:["300","regular","500","600","700"],subset:["latin-ext","telugu","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Madurai":{v:["300","regular","500","600","700"],subset:["latin-ext","tamil","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Siliguri":{v:["300","regular","500","600","700"],subset:["latin-ext","bengali","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Vadodara":{v:["300","regular","500","600","700"],subset:["latin-ext","gujarati","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Holtwood One SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Homemade Apple":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Homenaje:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IBM Plex Mono":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Sans":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Sans Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Serif":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IM Fell DW Pica":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell DW Pica SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell Double Pica":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell Double Pica SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell English":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell English SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell French Canon":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell French Canon SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell Great Primer":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell Great Primer SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Iceberg:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Iceland:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Imprima:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Inconsolata:{v:["regular","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal"]},Inder:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Indie Flower":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Inika:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Inknut Antiqua":{v:["300","regular","500","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700","800","900"],i:["normal"]},"Irish Grover":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Istok Web":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Italiana:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Italianno:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Itim:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},"Jacques Francois":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Jacques Francois Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Jaldi:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},"Jim Nightshade":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Jockey One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Jolly Lodger":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Jomhuria:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},"Josefin Sans":{v:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","300","400","600","700"],i:["normal","italic"]},"Josefin Slab":{v:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],subset:["latin"],weight:["100","300","400","600","700"],i:["normal","italic"]},"Joti One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Jua:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Judson:{v:["regular","italic","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Julee:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Julius Sans One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Junge:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Jura:{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Just Another Hand":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Just Me Again Down Here":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kadwa:{v:["regular","700"],subset:["devanagari","latin"],weight:["400","700"],i:["normal"]},Kalam:{v:["300","regular","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","700"],i:["normal"]},Kameron:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Kanit:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Kantumruy:{v:["300","regular","700"],subset:["khmer"],weight:["300","400","700"],i:["normal"]},Karla:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Karma:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Katibeh:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},"Kaushan Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kavivanar:{v:["regular"],subset:["latin-ext","tamil","latin"],weight:["400"],i:["normal"]},Kavoon:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kdam Thmor":{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Keania One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kelly Slab":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Kenia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Khand:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Khmer:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Khula:{v:["300","regular","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["300","400","600","700","800"],i:["normal"]},"Kirang Haerang":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Kite One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Knewave:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kosugi:{v:["regular"],subset:["cyrillic","japanese","latin"],weight:["400"],i:["normal"]},"Kosugi Maru":{v:["regular"],subset:["cyrillic","japanese","latin"],weight:["400"],i:["normal"]},"Kotta One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Koulen:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Kranky:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Kreon:{v:["300","regular","700"],subset:["latin"],weight:["300","400","700"],i:["normal"]},Kristi:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Krona One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kumar One":{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},"Kumar One Outline":{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Kurale:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},"La Belle Aurore":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Laila:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Lakki Reddy":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Lalezar:{v:["regular"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400"],i:["normal"]},Lancelot:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Lateef:{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},Lato:{v:["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","300","400","700","900"],i:["normal","italic"]},"League Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Leckerli One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ledger:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Lekton:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Lemon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Lemonada:{v:["300","regular","600","700"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["300","400","600","700"],i:["normal"]},"Libre Barcode 128":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 128 Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Extended":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Extended Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Baskerville":{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Libre Franklin":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Life Savers":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Lilita One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Lily Script One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Limelight:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Linden Hill":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Lobster:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Lobster Two":{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Londrina Outline":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Sketch":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Solid":{v:["100","300","regular","900"],subset:["latin"],weight:["100","300","400","900"],i:["normal"]},Lora:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Love Ya Like A Sister":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Loved by the King":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Lovers Quarrel":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Luckiest Guy":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Lusitana:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Lustria:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"M PLUS 1p":{v:["100","300","regular","500","700","800","900"],subset:["cyrillic","cyrillic-ext","greek-ext","japanese","latin-ext","hebrew","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},"M PLUS Rounded 1c":{v:["100","300","regular","500","700","800","900"],subset:["cyrillic","cyrillic-ext","greek-ext","japanese","latin-ext","hebrew","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},Macondo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Macondo Swash Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mada:{v:["200","300","regular","500","600","700","900"],subset:["arabic","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},Magra:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Maiden Orange":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Maitree:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Mako:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mallanna:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Mandali:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Manuale:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Marcellus:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Marcellus SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Marck Script":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Margarine:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Markazi Text":{v:["regular","500","600","700"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400","500","600","700"],i:["normal"]},"Marko One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Marmelad:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Martel:{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},"Martel Sans":{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},Marvel:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Mate:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"Mate SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Maven Pro":{v:["regular","500","700","900"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","700","900"],i:["normal"]},McLaren:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Meddon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},MedievalSharp:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Medula One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Meera Inimai":{v:["regular"],subset:["tamil","latin"],weight:["400"],i:["normal"]},Megrim:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Meie Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Merienda:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Merienda One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Merriweather:{v:["300","300italic","regular","italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","700","900"],i:["normal","italic"]},"Merriweather Sans":{v:["300","300italic","regular","italic","700","700italic","800","800italic"],subset:["latin-ext","latin"],weight:["300","400","700","800"],i:["normal","italic"]},Metal:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Metal Mania":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Metamorphous:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Metrophobic:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Michroma:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Milonga:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Miltonian:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Miltonian Tattoo":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mina:{v:["regular","700"],subset:["latin-ext","bengali","latin"],weight:["400","700"],i:["normal"]},Miniver:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Miriam Libre":{v:["regular","700"],subset:["latin-ext","hebrew","latin"],weight:["400","700"],i:["normal"]},Mirza:{v:["regular","500","600","700"],subset:["latin-ext","arabic","latin"],weight:["400","500","600","700"],i:["normal"]},"Miss Fajardose":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mitr:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Modak:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},"Modern Antiqua":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mogra:{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Molengo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Molle:{v:["italic"],subset:["latin-ext","latin"],weight:[],i:["italic"]},Monda:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Monofett:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Monoton:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Monsieur La Doulaise":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Montaga:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Montez:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Montserrat:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Montserrat Alternates":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Montserrat Subrayada":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Moul:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Moulpali:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Mountains of Christmas":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Mouse Memoirs":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr Bedfort":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr Dafoe":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr De Haviland":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mrs Saint Delafield":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mrs Sheppards":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mukta:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Mahee":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","gurmukhi","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Malar":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","tamil","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Vaani":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","gujarati","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},Muli:{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Mystery Quest":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},NTR:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Nanum Brush Script":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Nanum Gothic":{v:["regular","700","800"],subset:["korean","latin"],weight:["400","700","800"],i:["normal"]},"Nanum Gothic Coding":{v:["regular","700"],subset:["korean","latin"],weight:["400","700"],i:["normal"]},"Nanum Myeongjo":{v:["regular","700","800"],subset:["korean","latin"],weight:["400","700","800"],i:["normal"]},"Nanum Pen Script":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Neucha:{v:["regular"],subset:["cyrillic","latin"],weight:["400"],i:["normal"]},Neuton:{v:["200","300","regular","italic","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal","italic"]},"New Rocker":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"News Cycle":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Niconne:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Nixie One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Nobile:{v:["regular","italic","500","500italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","500","700"],i:["normal","italic"]},Nokora:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},Norican:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Nosifer:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Nothing You Could Do":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Noticia Text":{v:["regular","italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Sans":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","devanagari","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Sans JP":{v:["100","300","regular","500","700","900"],subset:["japanese","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Noto Sans KR":{v:["100","300","regular","500","700","900"],subset:["korean","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Noto Serif":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Serif JP":{v:["200","300","regular","500","600","700","900"],subset:["japanese","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Noto Serif KR":{v:["200","300","regular","500","600","700","900"],subset:["korean","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Nova Cut":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Flat":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Mono":{v:["regular"],subset:["greek","latin"],weight:["400"],i:["normal"]},"Nova Oval":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Round":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Slim":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Square":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Numans:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Nunito:{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Nunito Sans":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Odor Mean Chey":{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Offside:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Old Standard TT":{v:["regular","italic","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Oldenburg:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Oleo Script":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Oleo Script Swash Caps":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Open Sans":{v:["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","600","700","800"],i:["normal","italic"]},"Open Sans Condensed":{v:["300","300italic","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","700"],i:[]},Oranienbaum:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},Orbitron:{v:["regular","500","700","900"],subset:["latin"],weight:["400","500","700","900"],i:["normal"]},Oregano:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Orienta:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Original Surfer":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Oswald:{v:["200","300","regular","500","600","700"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},"Over the Rainbow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Overlock:{v:["regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal","italic"]},"Overlock SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Overpass:{v:["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","600","700","800","900"],i:["normal","italic"]},"Overpass Mono":{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},Ovo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Oxygen:{v:["300","regular","700"],subset:["latin-ext","latin"],weight:["300","400","700"],i:["normal"]},"Oxygen Mono":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"PT Mono":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},"PT Sans":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"PT Sans Caption":{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal"]},"PT Sans Narrow":{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal"]},"PT Serif":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"PT Serif Caption":{v:["regular","italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal","italic"]},Pacifico:{v:["regular"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Padauk:{v:["regular","700"],subset:["myanmar","latin"],weight:["400","700"],i:["normal"]},Palanquin:{v:["100","200","300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["100","200","300","400","500","600","700"],i:["normal"]},"Palanquin Dark":{v:["regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700"],i:["normal"]},Pangolin:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Paprika:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Parisienne:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Passero One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Passion One":{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},"Pathway Gothic One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Patrick Hand":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Patrick Hand SC":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Pattaya:{v:["regular"],subset:["cyrillic","latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},"Patua One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Pavanam:{v:["regular"],subset:["latin-ext","tamil","latin"],weight:["400"],i:["normal"]},"Paytone One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Peddana:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Peralta:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Permanent Marker":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Petit Formal Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Petrona:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Philosopher:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Piedra:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Pinyon Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pirata One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Plaster:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Play:{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["400","700"],i:["normal"]},Playball:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Playfair Display":{v:["regular","italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400","700","900"],i:["normal","italic"]},"Playfair Display SC":{v:["regular","italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400","700","900"],i:["normal","italic"]},Podkova:{v:["regular","500","600","700","800"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","500","600","700","800"],i:["normal"]},"Poiret One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Poller One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Poly:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Pompiere:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pontano Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Poor Story":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Poppins:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","devanagari","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Port Lligat Sans":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Port Lligat Slab":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pragati Narrow":{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Prata:{v:["regular"],subset:["cyrillic","cyrillic-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Preahvihear:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Press Start 2P":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},Pridi:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},"Princess Sofia":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Prociono:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Prompt:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Prosto One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Proza Libre":{v:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["latin-ext","latin"],weight:["400","500","600","700","800"],i:["normal","italic"]},Puritan:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Purple Purse":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Quando:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Quantico:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Quattrocento:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Quattrocento Sans":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Questrial:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Quicksand:{v:["300","regular","500","700"],subset:["latin-ext","vietnamese","latin"],weight:["300","400","500","700"],i:["normal"]},Quintessential:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Qwigley:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Racing Sans One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Radley:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Rajdhani:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Rakkas:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},Raleway:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Raleway Dots":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ramabhadra:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Ramaraja:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Rambla:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Rammetto One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ranchers:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Rancho:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ranga:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Rasa:{v:["300","regular","500","600","700"],subset:["latin-ext","gujarati","latin"],weight:["300","400","500","600","700"],i:["normal"]},Rationale:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Ravi Prakash":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Redressed:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Reem Kufi":{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},"Reenie Beanie":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Revalia:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Rhodium Libre":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Ribeye:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ribeye Marrow":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Righteous:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Risque:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Roboto:{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","900"],i:["normal","italic"]},"Roboto Condensed":{v:["300","300italic","regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","700"],i:["normal","italic"]},"Roboto Mono":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700"],i:["normal","italic"]},"Roboto Slab":{v:["100","300","regular","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","700"],i:["normal"]},Rochester:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Rock Salt":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Rokkitt:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Romanesco:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ropa Sans":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Rosario:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Rosarivo:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Rouge Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Rozha One":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Rubik:{v:["300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","hebrew","latin"],weight:["300","400","500","700","900"],i:["normal","italic"]},"Rubik Mono One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Ruda:{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},Rufina:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Ruge Boogie":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ruluko:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Rum Raisin":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ruslan Display":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Russo One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Ruthie:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Rye:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sacramento:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sahitya:{v:["regular","700"],subset:["devanagari","latin"],weight:["400","700"],i:["normal"]},Sail:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Saira:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Extra Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Semi Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Salsa:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sanchez:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Sancreek:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sansita:{v:["regular","italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","700","800","900"],i:["normal","italic"]},Sarala:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Sarina:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sarpanch:{v:["regular","500","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800","900"],i:["normal"]},Satisfy:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Sawarabi Gothic":{v:["regular"],subset:["cyrillic","japanese","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Sawarabi Mincho":{v:["regular"],subset:["japanese","latin-ext","latin"],weight:["400"],i:["normal"]},Scada:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Scheherazade:{v:["regular","700"],subset:["arabic","latin"],weight:["400","700"],i:["normal"]},Schoolbell:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Scope One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Seaweed Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Secular One":{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},"Sedgwick Ave":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Sedgwick Ave Display":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Sevillana:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Seymour One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Shadows Into Light":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Shadows Into Light Two":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Shanti:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Share:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Share Tech":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Share Tech Mono":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Shojumaru:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Short Stack":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Shrikhand:{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Siemreap:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Sigmar One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Signika:{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},"Signika Negative":{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},Simonetta:{v:["regular","italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal","italic"]},Sintony:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Sirin Stencil":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Six Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Skranji:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Slabo 13px":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Slabo 27px":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Slackey:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Smokum:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Smythe:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sniglet:{v:["regular","800"],subset:["latin-ext","latin"],weight:["400","800"],i:["normal"]},Snippet:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Snowburst One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Sofadi One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sofia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Song Myung":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Sonsie One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Sorts Mill Goudy":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Source Code Pro":{v:["200","300","regular","500","600","700","900"],subset:["latin-ext","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Source Sans Pro":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["200","300","400","600","700","900"],i:["normal","italic"]},"Source Serif Pro":{v:["regular","600","700"],subset:["latin-ext","latin"],weight:["400","600","700"],i:["normal"]},"Space Mono":{v:["regular","italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Special Elite":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Spectral:{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700","800"],i:["normal","italic"]},"Spectral SC":{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700","800"],i:["normal","italic"]},"Spicy Rice":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Spinnaker:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Spirax:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Squada One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Sree Krushnadevaraya":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Sriracha:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},Stalemate:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Stalinist One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Stardos Stencil":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Stint Ultra Condensed":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Stint Ultra Expanded":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Stoke:{v:["300","regular"],subset:["latin-ext","latin"],weight:["300","400"],i:["normal"]},Strait:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Stylish:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Sue Ellen Francisco":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Suez One":{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},Sumana:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Sunflower:{v:["300","500","700"],subset:["korean","latin"],weight:["300","500","700"],i:[]},Sunshiney:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Supermercado One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sura:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Suranna:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Suravaram:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Suwannaphum:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Swanky and Moo Moo":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Syncopate:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Tajawal:{v:["200","300","regular","500","700","800","900"],subset:["arabic","latin"],weight:["200","300","400","500","700","800","900"],i:["normal"]},Tangerine:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Taprom:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Tauri:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Taviraj:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Teko:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Telex:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Tenali Ramakrishna":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Tenor Sans":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Text Me One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"The Girl Next Door":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Tienne:{v:["regular","700","900"],subset:["latin"],weight:["400","700","900"],i:["normal"]},Tillana:{v:["regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800"],i:["normal"]},Timmana:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Tinos:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Titan One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Titillium Web":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],subset:["latin-ext","latin"],weight:["200","300","400","600","700","900"],i:["normal","italic"]},"Trade Winds":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Trirong:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Trocchi:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Trochut:{v:["regular","italic","700"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Trykker:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Tulpen One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ubuntu:{v:["300","300italic","regular","italic","500","500italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["300","400","500","700"],i:["normal","italic"]},"Ubuntu Condensed":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},"Ubuntu Mono":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Ultra:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Uncial Antiqua":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Underdog:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Unica One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},UnifrakturCook:{v:["700"],subset:["latin"],weight:["700"],i:[]},UnifrakturMaguntia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Unkempt:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Unlock:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Unna:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},VT323:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Vampiro One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Varela:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Varela Round":{v:["regular"],subset:["latin-ext","hebrew","vietnamese","latin"],weight:["400"],i:["normal"]},"Vast Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Vesper Libre":{v:["regular","500","700","900"],subset:["latin-ext","devanagari","latin"],weight:["400","500","700","900"],i:["normal"]},Vibur:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Vidaloka:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Viga:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Voces:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Volkhov:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Vollkorn:{v:["regular","italic","600","600italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["400","600","700","900"],i:["normal","italic"]},"Vollkorn SC":{v:["regular","600","700","900"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","600","700","900"],i:["normal"]},Voltaire:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Waiting for the Sunrise":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Wallpoet:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Walter Turncoat":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Warnes:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Wellfleet:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Wendy One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Wire One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Work Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Yanone Kaffeesatz":{v:["200","300","regular","700"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","700"],i:["normal"]},Yantramanav:{v:["100","300","regular","500","700","900"],subset:["latin-ext","devanagari","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Yatra One":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Yellowtail:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Yeon Sung":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Yeseva One":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Yesteryear:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Yrsa:{v:["300","regular","500","600","700"],subset:["latin-ext","latin"],weight:["300","400","500","600","700"],i:["normal"]},Zeyada:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Zilla Slab":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Zilla Slab Highlight":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]}};var zi=Ni,Ai=n(3),Yi=n.n(Ai);function Bi(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var Ii=function(e,t){var n;void 0===t&&(t=Bi);var a,r=[],i=!1;return function(){for(var o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];return i&&n===this&&t(o,r)||(a=e.apply(this,o),i=!0,n=this,r=o),a}},Ri=n(306),Hi=n.n(Ri);var Wi=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var a=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(a);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);r.insertRule(e,i?0:r.cssRules.length)}catch(e){0}}else a.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var Ui=function(e){function t(e,t,a){var r=t.trim().split(f);t=r;var i=r.length,o=e.length;switch(o){case 0:case 1:var l=0;for(e=0===o?"":e[0]+" ";l<i;++l)t[l]=n(e,t[l],a).trim();break;default:var s=l=0;for(t=[];l<i;++l)for(var c=0;c<o;++c)t[s++]=n(e[c]+" ",r[l],a).trim()}return t}function n(e,t,n){var a=t.charCodeAt(0);switch(33>a&&(a=(t=t.trim()).charCodeAt(0)),a){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function a(e,t,n,i){var o=e+";",l=2*t+3*n+4*i;if(944===l){e=o.indexOf(":",9)+1;var s=o.substring(e,o.length-1).trim();return s=o.substring(0,e).trim()+s+";",1===O||2===O&&r(s,1)?"-webkit-"+s+s:s}if(0===O||2===O&&!r(o,1))return o;switch(l){case 1015:return 97===o.charCodeAt(10)?"-webkit-"+o+o:o;case 951:return 116===o.charCodeAt(3)?"-webkit-"+o+o:o;case 963:return 110===o.charCodeAt(5)?"-webkit-"+o+o:o;case 1009:if(100!==o.charCodeAt(4))break;case 969:case 942:return"-webkit-"+o+o;case 978:return"-webkit-"+o+"-moz-"+o+o;case 1019:case 983:return"-webkit-"+o+"-moz-"+o+"-ms-"+o+o;case 883:if(45===o.charCodeAt(8))return"-webkit-"+o+o;if(0<o.indexOf("image-set(",11))return o.replace(E,"$1-webkit-$2")+o;break;case 932:if(45===o.charCodeAt(4))switch(o.charCodeAt(5)){case 103:return"-webkit-box-"+o.replace("-grow","")+"-webkit-"+o+"-ms-"+o.replace("grow","positive")+o;case 115:return"-webkit-"+o+"-ms-"+o.replace("shrink","negative")+o;case 98:return"-webkit-"+o+"-ms-"+o.replace("basis","preferred-size")+o}return"-webkit-"+o+"-ms-"+o+o;case 964:return"-webkit-"+o+"-ms-flex-"+o+o;case 1023:if(99!==o.charCodeAt(8))break;return"-webkit-box-pack"+(s=o.substring(o.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+o+"-ms-flex-pack"+s+o;case 1005:return d.test(o)?o.replace(p,":-webkit-")+o.replace(p,":-moz-")+o:o;case 1e3:switch(t=(s=o.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=o.replace(y,"tb");break;case 232:s=o.replace(y,"tb-rl");break;case 220:s=o.replace(y,"lr");break;default:return o}return"-webkit-"+o+"-ms-"+s+o;case 1017:if(-1===o.indexOf("sticky",9))break;case 975:switch(t=(o=e).length-10,l=(s=(33===o.charCodeAt(t)?o.substring(0,t):o).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:o=o.replace(s,"-webkit-"+s)+";"+o;break;case 207:case 102:o=o.replace(s,"-webkit-"+(102<l?"inline-":"")+"box")+";"+o.replace(s,"-webkit-"+s)+";"+o.replace(s,"-ms-"+s+"box")+";"+o}return o+";";case 938:if(45===o.charCodeAt(5))switch(o.charCodeAt(6)){case 105:return s=o.replace("-items",""),"-webkit-"+o+"-webkit-box-"+s+"-ms-flex-"+s+o;case 115:return"-webkit-"+o+"-ms-flex-item-"+o.replace(_,"")+o;default:return"-webkit-"+o+"-ms-flex-line-pack"+o.replace("align-content","").replace(_,"")+o}break;case 973:case 989:if(45!==o.charCodeAt(3)||122===o.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?a(e.replace("stretch","fill-available"),t,n,i).replace(":fill-available",":stretch"):o.replace(s,"-webkit-"+s)+o.replace(s,"-moz-"+s.replace("fill-",""))+o;break;case 962:if(o="-webkit-"+o+(102===o.charCodeAt(5)?"-ms-"+o:"")+o,211===n+i&&105===o.charCodeAt(13)&&0<o.indexOf("transform",10))return o.substring(0,o.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+o}return o}function r(e,t){var n=e.indexOf(1===t?":":"{"),a=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),P(2!==t?a:a.replace(x,"$1"),n,t)}function i(e,t){var n=a(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(k," or ($1)").substring(4):"("+t+")"}function o(e,t,n,a,r,i,o,l,c,u){for(var p,d=0,m=t;d<F;++d)switch(p=D[d].call(s,e,m,n,a,r,i,o,l,c,u)){case void 0:case!1:case!0:case null:break;default:m=p}if(m!==t)return m}function l(e){return void 0!==(e=e.prefix)&&(P=null,e?"function"!=typeof e?O=1:(O=2,P=e):O=0),l}function s(e,n){var l=e;if(33>l.charCodeAt(0)&&(l=l.trim()),l=[l],0<F){var s=o(-1,n,l,l,C,T,0,0,0,0);void 0!==s&&"string"==typeof s&&(n=s)}var p=function e(n,l,s,p,d){for(var m,f,b,y,k,_=0,x=0,S=0,E=0,D=0,P=0,N=b=m=0,z=0,A=0,Y=0,B=0,I=s.length,R=I-1,H="",W="",U="",G="";z<I;){if(f=s.charCodeAt(z),z===R&&0!==x+E+S+_&&(0!==x&&(f=47===x?10:47),E=S=_=0,I++,R++),0===x+E+S+_){if(z===R&&(0<A&&(H=H.replace(u,"")),0<H.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:H+=s.charAt(z)}f=59}switch(f){case 123:for(m=(H=H.trim()).charCodeAt(0),b=1,B=++z;z<I;){switch(f=s.charCodeAt(z)){case 123:b++;break;case 125:b--;break;case 47:switch(f=s.charCodeAt(z+1)){case 42:case 47:e:{for(N=z+1;N<R;++N)switch(s.charCodeAt(N)){case 47:if(42===f&&42===s.charCodeAt(N-1)&&z+2!==N){z=N+1;break e}break;case 10:if(47===f){z=N+1;break e}}z=N}}break;case 91:f++;case 40:f++;case 34:case 39:for(;z++<R&&s.charCodeAt(z)!==f;);}if(0===b)break;z++}switch(b=s.substring(B,z),0===m&&(m=(H=H.replace(c,"").trim()).charCodeAt(0)),m){case 64:switch(0<A&&(H=H.replace(u,"")),f=H.charCodeAt(1)){case 100:case 109:case 115:case 45:A=l;break;default:A=L}if(B=(b=e(l,A,b,f,d+1)).length,0<F&&(k=o(3,b,A=t(L,H,Y),l,C,T,B,f,d,p),H=A.join(""),void 0!==k&&0===(B=(b=k.trim()).length)&&(f=0,b="")),0<B)switch(f){case 115:H=H.replace(w,i);case 100:case 109:case 45:b=H+"{"+b+"}";break;case 107:b=(H=H.replace(g,"$1 $2"))+"{"+b+"}",b=1===O||2===O&&r("@"+b,3)?"@-webkit-"+b+"@"+b:"@"+b;break;default:b=H+b,112===p&&(W+=b,b="")}else b="";break;default:b=e(l,t(l,H,Y),b,p,d+1)}U+=b,b=Y=A=N=m=0,H="",f=s.charCodeAt(++z);break;case 125:case 59:if(1<(B=(H=(0<A?H.replace(u,""):H).trim()).length))switch(0===N&&(m=H.charCodeAt(0),45===m||96<m&&123>m)&&(B=(H=H.replace(" ",":")).length),0<F&&void 0!==(k=o(1,H,l,n,C,T,W.length,p,d,p))&&0===(B=(H=k.trim()).length)&&(H="\0\0"),m=H.charCodeAt(0),f=H.charCodeAt(1),m){case 0:break;case 64:if(105===f||99===f){G+=H+s.charAt(z);break}default:58!==H.charCodeAt(B-1)&&(W+=a(H,m,f,H.charCodeAt(2)))}Y=A=N=m=0,H="",f=s.charCodeAt(++z)}}switch(f){case 13:case 10:47===x?x=0:0===1+m&&107!==p&&0<H.length&&(A=1,H+="\0"),0<F*j&&o(0,H,l,n,C,T,W.length,p,d,p),T=1,C++;break;case 59:case 125:if(0===x+E+S+_){T++;break}default:switch(T++,y=s.charAt(z),f){case 9:case 32:if(0===E+_+x)switch(D){case 44:case 58:case 9:case 32:y="";break;default:32!==f&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===E+x+_&&(A=Y=1,y="\f"+y);break;case 108:if(0===E+x+_+M&&0<N)switch(z-N){case 2:112===D&&58===s.charCodeAt(z-3)&&(M=D);case 8:111===P&&(M=P)}break;case 58:0===E+x+_&&(N=z);break;case 44:0===x+S+E+_&&(A=1,y+="\r");break;case 34:case 39:0===x&&(E=E===f?0:0===E?f:E);break;case 91:0===E+x+S&&_++;break;case 93:0===E+x+S&&_--;break;case 41:0===E+x+_&&S--;break;case 40:if(0===E+x+_){if(0===m)switch(2*D+3*P){case 533:break;default:m=1}S++}break;case 64:0===x+S+E+_+N+b&&(b=1);break;case 42:case 47:if(!(0<E+_+S))switch(x){case 0:switch(2*f+3*s.charCodeAt(z+1)){case 235:x=47;break;case 220:B=z,x=42}break;case 42:47===f&&42===D&&B+2!==z&&(33===s.charCodeAt(B+2)&&(W+=s.substring(B,z+1)),y="",x=0)}}0===x&&(H+=y)}P=D,D=f,z++}if(0<(B=W.length)){if(A=l,0<F&&(void 0!==(k=o(2,W,A,n,C,T,B,p,d,p))&&0===(W=k).length))return G+W+U;if(W=A.join(",")+"{"+W+"}",0!=O*M){switch(2!==O||r(W,2)||(M=0),M){case 111:W=W.replace(v,":-moz-$1")+W;break;case 112:W=W.replace(h,"::-webkit-input-$1")+W.replace(h,"::-moz-$1")+W.replace(h,":-ms-input-$1")+W}M=0}}return G+W+U}(L,l,n,0,0);return 0<F&&(void 0!==(s=o(-2,p,l,l,C,T,p.length,0,0,0))&&(p=s)),"",M=0,T=C=1,p}var c=/^\0+/g,u=/[\0\r\f]/g,p=/: */g,d=/zoo|gra/,m=/([,: ])(transform)/g,f=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,h=/::(place)/g,v=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,_=/-self|flex-/g,x=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,E=/([^-])(image-set\()/,T=1,C=1,M=0,O=1,L=[],D=[],F=0,P=null,j=0;return s.use=function e(t){switch(t){case void 0:case null:F=D.length=0;break;default:if("function"==typeof t)D[F++]=t;else if("object"==typeof t)for(var n=0,a=t.length;n<a;++n)e(t[n]);else j=0|!!t}return e},s.set=l,void 0!==e&&l(e),s};function Gi(e){e&&Vi.current.insert(e+"}")}var Vi={current:null},qi=function(e,t,n,a,r,i,o,l,s,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return Vi.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===l)return t+"/*|*/";break;case 3:switch(l){case 102:case 112:return Vi.current.insert(n[0]+t),"";default:return t+(0===c?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(Gi)}},$i=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var a=new Ui(t);var r,i={};r=e.container||document.head;var o,l=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(l,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){i[e]=!0})),e.parentNode!==r&&r.appendChild(e)})),a.use(e.stylisPlugins)(qi),o=function(e,t,n,r){var i=t.name;Vi.current=n,a(e,t.styles),r&&(s.inserted[i]=!0)};var s={key:n,sheet:new Wi({key:n,container:r,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:i,registered:{},insert:o};return s};function Ji(e,t,n){var a="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):a+=n+" "})),a}var Xi=function(e,t,n){var a=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[a]&&(e.registered[a]=t.styles),void 0===e.inserted[t.name]){var r=t;do{e.insert("."+a,r,e.sheet,!0);r=r.next}while(void 0!==r)}};var Ki=function(e){for(var t,n=0,a=0,r=e.length;r>=4;++a,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(a)|(255&e.charCodeAt(++a))<<8|(255&e.charCodeAt(++a))<<16|(255&e.charCodeAt(++a))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(a+2))<<16;case 2:n^=(255&e.charCodeAt(a+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(a)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Qi={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Zi=/[A-Z]|^ms/g,eo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,to=function(e){return 45===e.charCodeAt(1)},no=function(e){return null!=e&&"boolean"!=typeof e},ao=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return to(e)?e:e.replace(Zi,"-$&").toLowerCase()})),ro=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(eo,(function(e,t,n){return oo={name:t,styles:n,next:oo},t}))}return 1===Qi[e]||to(e)||"number"!=typeof t||0===t?t:t+"px"};function io(e,t,n,a){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return oo={name:n.name,styles:n.styles,next:oo},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)oo={name:r.name,styles:r.styles,next:oo},r=r.next;return n.styles+";"}return function(e,t,n){var a="";if(Array.isArray(n))for(var r=0;r<n.length;r++)a+=io(e,t,n[r],!1);else for(var i in n){var o=n[i];if("object"!=typeof o)null!=t&&void 0!==t[o]?a+=i+"{"+t[o]+"}":no(o)&&(a+=ao(i)+":"+ro(i,o)+";");else if(!Array.isArray(o)||"string"!=typeof o[0]||null!=t&&void 0!==t[o[0]]){var l=io(e,t,o,!1);switch(i){case"animation":case"animationName":a+=ao(i)+":"+l+";";break;default:a+=i+"{"+l+"}"}}else for(var s=0;s<o.length;s++)no(o[s])&&(a+=ao(i)+":"+ro(i,o[s])+";")}return a}(e,t,n);case"function":if(void 0!==e){var i=oo,o=n(e);return oo=i,io(e,t,o,a)}break;case"string":}if(null==t)return n;var l=t[n];return void 0===l||a?n:l}var oo,lo=/label:\s*([^\s;\n{]+)\s*;/g;var so=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a=!0,r="";oo=void 0;var i=e[0];null==i||void 0===i.raw?(a=!1,r+=io(n,t,i,!1)):r+=i[0];for(var o=1;o<e.length;o++)r+=io(n,t,e[o],46===r.charCodeAt(r.length-1)),a&&(r+=i[o]);lo.lastIndex=0;for(var l,s="";null!==(l=lo.exec(r));)s+="-"+l[1];return{name:Ki(r)+s,styles:r,next:oo}};var co=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return so(t)},uo=Object(Ai.createContext)("undefined"!=typeof HTMLElement?$i():null),po=Object(Ai.createContext)({}),mo=uo.Provider,fo=function(e){return Object(Ai.forwardRef)((function(t,n){return Object(Ai.createElement)(uo.Consumer,null,(function(a){return e(t,a,n)}))}))},bo=Object.prototype.hasOwnProperty,go=function(e,t,n,a){var r=null===n?t.css:t.css(n);"string"==typeof r&&void 0!==e.registered[r]&&(r=e.registered[r]);var i=t.__EMOTION_TYPE_PLEASE_DO_NOT_USE__,o=[r],l="";"string"==typeof t.className?l=Ji(e.registered,o,t.className):null!=t.className&&(l=t.className+" ");var s=so(o);Xi(e,s,"string"==typeof i);l+=e.key+"-"+s.name;var c={};for(var u in t)bo.call(t,u)&&"css"!==u&&"__EMOTION_TYPE_PLEASE_DO_NOT_USE__"!==u&&(c[u]=t[u]);return c.ref=a,c.className=l,Object(Ai.createElement)(i,c)},ho=fo((function(e,t,n){return"function"==typeof e.css?Object(Ai.createElement)(po.Consumer,null,(function(a){return go(t,e,a,n)})):go(t,e,null,n)}));var vo=function(e,t){var n=arguments;if(null==t||!bo.call(t,"css"))return Ai.createElement.apply(void 0,n);var a=n.length,r=new Array(a);r[0]=ho;var i={};for(var o in t)bo.call(t,o)&&(i[o]=t[o]);i.__EMOTION_TYPE_PLEASE_DO_NOT_USE__=e,r[1]=i;for(var l=2;l<a;l++)r[l]=n[l];return Ai.createElement.apply(null,r)},yo=(Ai.Component,function e(t){for(var n=t.length,a=0,r="";a<n;a++){var i=t[a];if(null!=i){var o=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))o=e(i);else for(var l in o="",i)i[l]&&l&&(o&&(o+=" "),o+=l);break;default:o=i}o&&(r&&(r+=" "),r+=o)}}return r});function wo(e,t,n){var a=[],r=Ji(e,a,n);return a.length<2?n:r+t(a)}var ko=fo((function(e,t){return Object(Ai.createElement)(po.Consumer,null,(function(n){var a=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];var r=so(n,t.registered);return Xi(t,r,!1),t.key+"-"+r.name},r={css:a,cx:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return wo(t.registered,a,yo(n))},theme:n},i=e.children(r);return!0,i}))})),_o=n(18),xo=function(){};function So(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Eo(e,t,n){var a=[n];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&a.push(""+So(e,r));return a.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var To=function(e){return Array.isArray(e)?e.filter(Boolean):"object"==typeof e&&null!==e?[e]:[]};function Co(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Mo(e){return Co(e)?window.pageYOffset:e.scrollTop}function Oo(e,t){Co(e)?window.scrollTo(0,t):e.scrollTop=t}function Lo(e,t,n,a){void 0===n&&(n=200),void 0===a&&(a=xo);var r=Mo(e),i=t-r,o=0;!function t(){var l,s=i*((l=(l=o+=10)/n-1)*l*l+1)+r;Oo(e,s),o<n?window.requestAnimationFrame(t):a(e)}()}function Do(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Fo=n(116),Po=n.n(Fo);function jo(){return(jo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function No(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function zo(e){var t=e.maxHeight,n=e.menuEl,a=e.minHeight,r=e.placement,i=e.shouldScroll,o=e.isFixedPosition,l=e.theme.spacing,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,a=/(auto|scroll)/,r=document.documentElement;if("fixed"===t.position)return r;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&a.test(t.overflow+t.overflowY+t.overflowX))return i;return r}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u=s.getBoundingClientRect().height,p=n.getBoundingClientRect(),d=p.bottom,m=p.height,f=p.top,b=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,h=Mo(s),v=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=b-y,k=g-f,_=w+h,x=u-h-f,S=d-g+h+v,E=h+f-y;switch(r){case"auto":case"bottom":if(k>=m)return{placement:"bottom",maxHeight:t};if(x>=m&&!o)return i&&Lo(s,S,160),{placement:"bottom",maxHeight:t};if(!o&&x>=a||o&&k>=a)return i&&Lo(s,S,160),{placement:"bottom",maxHeight:o?k-v:x-v};if("auto"===r||o){var T=t,C=o?w:_;return C>=a&&(T=Math.min(C-v-l.controlHeight,t)),{placement:"top",maxHeight:T}}if("bottom"===r)return Oo(s,S),{placement:"bottom",maxHeight:t};break;case"top":if(w>=m)return{placement:"top",maxHeight:t};if(_>=m&&!o)return i&&Lo(s,E,160),{placement:"top",maxHeight:t};if(!o&&_>=a||o&&w>=a){var M=t;return(!o&&_>=a||o&&w>=a)&&(M=o?w-y:_-y),i&&Lo(s,E,160),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'+r+'".')}return c}var Ao=function(e){return"auto"===e?"bottom":e},Yo=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={maxHeight:t.props.maxMenuHeight,placement:null},t.getPlacement=function(e){var n=t.props,a=n.minMenuHeight,r=n.maxMenuHeight,i=n.menuPlacement,o=n.menuPosition,l=n.menuShouldScrollIntoView,s=n.theme,c=t.context.getPortalPlacement;if(e){var u="fixed"===o,p=zo({maxHeight:r,menuEl:e,minHeight:a,placement:i,shouldScroll:l&&!u,isFixedPosition:u,theme:s});c&&c(p),t.setState(p)}},t.getUpdatedProps=function(){var e=t.props.menuPlacement,n=t.state.placement||Ao(e);return jo({},t.props,{placement:n,maxHeight:t.state.maxHeight})},t}return No(t,e),t.prototype.render=function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})},t}(Ai.Component);Yo.contextTypes={getPortalPlacement:lr.a.func};var Bo=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:2*n+"px "+3*n+"px",textAlign:"center"}},Io=Bo,Ro=Bo,Ho=function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return vo("div",jo({css:r("noOptionsMessage",e),className:a({"menu-notice":!0,"menu-notice--no-options":!0},n)},i),t)};Ho.defaultProps={children:"No options"};var Wo=function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return vo("div",jo({css:r("loadingMessage",e),className:a({"menu-notice":!0,"menu-notice--loading":!0},n)},i),t)};Wo.defaultProps={children:"Loading..."};var Uo=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={placement:null},t.getPortalPlacement=function(e){var n=e.placement;n!==Ao(t.props.menuPlacement)&&t.setState({placement:n})},t}No(t,e);var n=t.prototype;return n.getChildContext=function(){return{getPortalPlacement:this.getPortalPlacement}},n.render=function(){var e=this.props,t=e.appendTo,n=e.children,a=e.controlElement,r=e.menuPlacement,i=e.menuPosition,o=e.getStyles,l="fixed"===i;if(!t&&!l||!a)return null;var s=this.state.placement||Ao(r),c=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(a),u=l?0:window.pageYOffset,p=c[s]+u,d=vo("div",{css:o("menuPortal",{offset:p,position:i,rect:c})},n);return t?Object(_o.createPortal)(d,t):d},t}(Ai.Component);Uo.childContextTypes={getPortalPlacement:lr.a.func};var Go=Array.isArray,Vo=Object.keys,qo=Object.prototype.hasOwnProperty;function $o(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var a,r,i,o=Go(t),l=Go(n);if(o&&l){if((r=t.length)!=n.length)return!1;for(a=r;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(o!=l)return!1;var s=t instanceof Date,c=n instanceof Date;if(s!=c)return!1;if(s&&c)return t.getTime()==n.getTime();var u=t instanceof RegExp,p=n instanceof RegExp;if(u!=p)return!1;if(u&&p)return t.toString()==n.toString();var d=Vo(t);if((r=d.length)!==Vo(n).length)return!1;for(a=r;0!=a--;)if(!qo.call(n,d[a]))return!1;for(a=r;0!=a--;)if(!("_owner"===(i=d[a])&&t.$$typeof||e(t[i],n[i])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}function Jo(){return(Jo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Xo(){var e=function(e,t){t||(t=e.slice(0));return e.raw=t,e}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]);return Xo=function(){return e},e}function Ko(){return(Ko=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qo={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},Zo=function(e){var t=e.size,n=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["size"]);return vo("svg",Ko({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Qo},n))},el=function(e){return vo(Zo,Ko({size:20},e),vo("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},tl=function(e){return vo(Zo,Ko({size:20},e),vo("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},nl=function(e){var t=e.isFocused,n=e.theme,a=n.spacing.baseUnit,r=n.colors;return{label:"indicatorContainer",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*a,transition:"color 150ms",":hover":{color:t?r.neutral80:r.neutral40}}},al=nl,rl=nl,il=function(){var e=co.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Xo()),ol=function(e){var t=e.delay,n=e.offset;return vo("span",{css:co({animation:il+" 1s ease-in-out "+t+"ms infinite;",backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},ll=function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerProps,i=e.isRtl;return vo("div",Ko({},r,{css:a("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),vo(ol,{delay:0,offset:i}),vo(ol,{delay:160,offset:!0}),vo(ol,{delay:320,offset:!i}))};function sl(){return(sl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}ll.defaultProps={size:4};function cl(){return(cl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ul(){return(ul=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pl=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}};function dl(){return(dl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ml=function(e){var t=e.children,n=e.innerProps;return vo("div",n,t)},fl=ml,bl=ml;var gl=function(e){var t=e.children,n=e.className,a=e.components,r=e.cx,i=e.data,o=e.getStyles,l=e.innerProps,s=e.isDisabled,c=e.removeProps,u=e.selectProps,p=a.Container,d=a.Label,m=a.Remove;return vo(ko,null,(function(a){var f=a.css,b=a.cx;return vo(p,{data:i,innerProps:dl({},l,{className:b(f(o("multiValue",e)),r({"multi-value":!0,"multi-value--is-disabled":s},n))}),selectProps:u},vo(d,{data:i,innerProps:{className:b(f(o("multiValueLabel",e)),r({"multi-value__label":!0},n))},selectProps:u},t),vo(m,{data:i,innerProps:dl({className:b(f(o("multiValueRemove",e)),r({"multi-value__remove":!0},n))},c),selectProps:u}))}))};function hl(){return(hl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}gl.defaultProps={cropWithEllipsis:!0};function vl(){return(vl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function yl(){return(yl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function wl(){return(wl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kl={ClearIndicator:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return vo("div",Ko({},i,{css:r("clearIndicator",e),className:a({indicator:!0,"clear-indicator":!0},n)}),t||vo(el,null))},Control:function(e){var t=e.children,n=e.cx,a=e.getStyles,r=e.className,i=e.isDisabled,o=e.isFocused,l=e.innerRef,s=e.innerProps,c=e.menuIsOpen;return vo("div",sl({ref:l,css:a("control",e),className:n({control:!0,"control--is-disabled":i,"control--is-focused":o,"control--menu-is-open":c},r)},s),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return vo("div",Ko({},i,{css:r("dropdownIndicator",e),className:a({indicator:!0,"dropdown-indicator":!0},n)}),t||vo(tl,null))},DownChevron:tl,CrossIcon:el,Group:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.Heading,o=e.headingProps,l=e.label,s=e.theme,c=e.selectProps;return vo("div",{css:r("group",e),className:a({group:!0},n)},vo(i,cl({},o,{selectProps:c,theme:s,getStyles:r,cx:a}),l),vo("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.theme,i=(e.selectProps,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["className","cx","getStyles","theme","selectProps"]));return vo("div",cl({css:a("groupHeading",cl({theme:r},i)),className:n({"group-heading":!0},t)},i))},IndicatorsContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles;return vo("div",{css:r("indicatorsContainer",e),className:a({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerProps;return vo("span",Ko({},r,{css:a("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerRef,i=e.isHidden,o=e.isDisabled,l=e.theme,s=(e.selectProps,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return vo("div",{css:a("input",ul({theme:l},s))},vo(Po.a,ul({className:n({input:!0},t),inputRef:r,inputStyle:pl(i),disabled:o},s)))},LoadingIndicator:ll,Menu:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerRef,o=e.innerProps;return vo("div",jo({css:r("menu",e),className:a({menu:!0},n)},o,{ref:i}),t)},MenuList:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.isMulti,o=e.innerRef;return vo("div",{css:r("menuList",e),className:a({"menu-list":!0,"menu-list--is-multi":i},n),ref:o},t)},MenuPortal:Uo,LoadingMessage:Wo,NoOptionsMessage:Ho,MultiValue:gl,MultiValueContainer:fl,MultiValueLabel:bl,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return vo("div",n,t||vo(el,{size:14}))},Option:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.isDisabled,o=e.isFocused,l=e.isSelected,s=e.innerRef,c=e.innerProps;return vo("div",hl({css:r("option",e),className:a({option:!0,"option--is-disabled":i,"option--is-focused":o,"option--is-selected":l},n),ref:s},c),t)},Placeholder:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return vo("div",vl({css:r("placeholder",e),className:a({placeholder:!0},n)},i),t)},SelectContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps,o=e.isDisabled,l=e.isRtl;return vo("div",Jo({css:r("container",e),className:a({"--is-disabled":o,"--is-rtl":l},n)},i),t)},SingleValue:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.isDisabled,o=e.innerProps;return vo("div",yl({css:r("singleValue",e),className:a({"single-value":!0,"single-value--is-disabled":i},n)},o),t)},ValueContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.isMulti,i=e.getStyles,o=e.hasValue;return vo("div",{css:i("valueContainer",e),className:a({"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o},n)},t)}},_l=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],xl=function(e){for(var t=0;t<_l.length;t++)e=e.replace(_l[t].letters,_l[t].base);return e};function Sl(){return(Sl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var El=function(e){return e.replace(/^\s+|\s+$/g,"")},Tl=function(e){return e.label+" "+e.value};function Cl(){return(Cl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ml={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},Ol=function(e){return vo("span",Cl({css:Ml},e))};function Ll(){return(Ll=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Dl(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return vo("input",Ll({ref:t},n,{css:co({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}var Fl=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.props.innerRef(Object(_o.findDOMNode)(this))},r.componentWillUnmount=function(){this.props.innerRef(null)},r.render=function(){return this.props.children},a}(Ai.Component),Pl=["boxSizing","height","overflow","paddingRight","position"],jl={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Nl(e){e.preventDefault()}function zl(e){e.stopPropagation()}function Al(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Yl(){return"ontouchstart"in window||navigator.maxTouchPoints}var Bl=!(!window.document||!window.document.createElement),Il=0,Rl=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).originalStyles={},t.listenerOptions={capture:!1,passive:!1},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){var e=this;if(Bl){var t=this.props,n=t.accountForScrollbars,a=t.touchScrollTarget,r=document.body,i=r&&r.style;if(n&&Pl.forEach((function(t){var n=i&&i[t];e.originalStyles[t]=n})),n&&Il<1){var o=parseInt(this.originalStyles.paddingRight,10)||0,l=document.body?document.body.clientWidth:0,s=window.innerWidth-l+o||0;Object.keys(jl).forEach((function(e){var t=jl[e];i&&(i[e]=t)})),i&&(i.paddingRight=s+"px")}r&&Yl()&&(r.addEventListener("touchmove",Nl,this.listenerOptions),a&&(a.addEventListener("touchstart",Al,this.listenerOptions),a.addEventListener("touchmove",zl,this.listenerOptions))),Il+=1}},r.componentWillUnmount=function(){var e=this;if(Bl){var t=this.props,n=t.accountForScrollbars,a=t.touchScrollTarget,r=document.body,i=r&&r.style;Il=Math.max(Il-1,0),n&&Il<1&&Pl.forEach((function(t){var n=e.originalStyles[t];i&&(i[t]=n)})),r&&Yl()&&(r.removeEventListener("touchmove",Nl,this.listenerOptions),a&&(a.removeEventListener("touchstart",Al,this.listenerOptions),a.removeEventListener("touchmove",zl,this.listenerOptions)))}},r.render=function(){return null},a}(Ai.Component);Rl.defaultProps={accountForScrollbars:!0};var Hl={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},Wl=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={touchScrollTarget:null},t.getScrollTarget=function(e){e!==t.state.touchScrollTarget&&t.setState({touchScrollTarget:e})},t.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},t}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.render=function(){var e=this.props,t=e.children,n=e.isEnabled,a=this.state.touchScrollTarget;return n?vo("div",null,vo("div",{onClick:this.blurSelectInput,css:Hl}),vo(Fl,{innerRef:this.getScrollTarget},t),a?vo(Rl,{touchScrollTarget:a}):null):t},a}(Ai.PureComponent);var Ul=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).isBottom=!1,t.isTop=!1,t.scrollTarget=void 0,t.touchStart=void 0,t.cancelScroll=function(e){e.preventDefault(),e.stopPropagation()},t.handleEventDelta=function(e,n){var a=t.props,r=a.onBottomArrive,i=a.onBottomLeave,o=a.onTopArrive,l=a.onTopLeave,s=t.scrollTarget,c=s.scrollTop,u=s.scrollHeight,p=s.clientHeight,d=t.scrollTarget,m=n>0,f=u-p-c,b=!1;f>n&&t.isBottom&&(i&&i(e),t.isBottom=!1),m&&t.isTop&&(l&&l(e),t.isTop=!1),m&&n>f?(r&&!t.isBottom&&r(e),d.scrollTop=u,b=!0,t.isBottom=!0):!m&&-n>c&&(o&&!t.isTop&&o(e),d.scrollTop=0,b=!0,t.isTop=!0),b&&t.cancelScroll(e)},t.onWheel=function(e){t.handleEventDelta(e,e.deltaY)},t.onTouchStart=function(e){t.touchStart=e.changedTouches[0].clientY},t.onTouchMove=function(e){var n=t.touchStart-e.changedTouches[0].clientY;t.handleEventDelta(e,n)},t.getScrollTarget=function(e){t.scrollTarget=e},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.startListening(this.scrollTarget)},r.componentWillUnmount=function(){this.stopListening(this.scrollTarget)},r.startListening=function(e){e&&("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))},r.stopListening=function(e){"function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1)},r.render=function(){return Yi.a.createElement(Fl,{innerRef:this.getScrollTarget},this.props.children)},a}(Ai.Component);function Gl(e){var t=e.isEnabled,n=void 0===t||t,a=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["isEnabled"]);return n?Yi.a.createElement(Ul,a):a.children}var Vl=function(e,t){void 0===t&&(t={});var n=t,a=n.isSearchable,r=n.isMulti,i=n.label,o=n.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options"+(o?"":", press Enter to select the currently focused option")+", press Escape to exit the menu, press Tab to select the option and exit the menu.";case"input":return(i||"Select")+" is focused "+(a?",type to refine list":"")+", press Down to open the menu, "+(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},ql=function(e,t){var n=t.value,a=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option "+n+", deselected.";case"select-option":return a?"option "+n+" is disabled. Select another option.":"option "+n+", selected."}},$l=function(e){return!!e.isDisabled};var Jl={clearIndicator:rl,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,a=e.theme,r=a.colors,i=a.borderRadius,o=a.spacing;return{label:"control",alignItems:"center",backgroundColor:t?r.neutral5:r.neutral0,borderColor:t?r.neutral10:n?r.primary:r.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px "+r.primary:null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?r.primary:r.neutral30}}},dropdownIndicator:al,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing.baseUnit,r=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?r.neutral10:r.neutral20,marginBottom:2*a,marginTop:2*a,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing,r=n.colors;return{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,visibility:t?"hidden":"visible",color:r.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,a=e.theme,r=a.colors,i=a.spacing.baseUnit;return{label:"loadingIndicator",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:Ro,menu:function(e){var t,n=e.placement,a=e.theme,r=a.borderRadius,i=a.spacing,o=a.colors;return(t={label:"menu"})[function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n)]="100%",t.backgroundColor=o.neutral0,t.borderRadius=r,t.boxShadow="0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",t.marginBottom=i.menuGutter,t.marginTop=i.menuGutter,t.position="absolute",t.width="100%",t.zIndex=1,t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,a=e.position;return{left:t.left,position:a,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,a=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:a/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,a=t.colors,r=e.cropWithEllipsis;return{borderRadius:n/2,color:a.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:r?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,a=t.borderRadius,r=t.colors;return{alignItems:"center",borderRadius:a/2,backgroundColor:e.isFocused&&r.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}}},noOptionsMessage:Io,option:function(e){var t=e.isDisabled,n=e.isFocused,a=e.isSelected,r=e.theme,i=r.spacing,o=r.colors;return{label:"option",backgroundColor:a?o.primary:n?o.primary25:"transparent",color:t?o.neutral20:a?o.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:2*i.baseUnit+"px "+3*i.baseUnit+"px",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(a?o.primary:o.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing,r=n.colors;return{label:"singleValue",color:t?r.neutral40:r.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,maxWidth:"calc(100% - "+2*a.baseUnit+"px)",overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:t.baseUnit/2+"px "+2*t.baseUnit+"px",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var Xl={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}};function Kl(){return(Kl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ql(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Zl={backspaceRemovesValue:!0,blurInputOnSelect:Do(),captureMenuScroll:!Do(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e){return function(t,n){var a=Sl({ignoreCase:!0,ignoreAccents:!0,stringify:Tl,trim:!0,matchFrom:"any"},e),r=a.ignoreCase,i=a.ignoreAccents,o=a.stringify,l=a.trim,s=a.matchFrom,c=l?El(n):n,u=l?El(o(t)):o(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=xl(c),u=xl(u)),"start"===s?u.substr(0,c.length)===c:u.indexOf(c)>-1}}(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:$l,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return t+" result"+(1!==t?"s":"")+" available"},styles:{},tabIndex:"0",tabSelectsValue:!0},es=1,ts=function(e){var t,n;function a(t){var n;(n=e.call(this,t)||this).state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},n.blockOptionHover=!1,n.isComposing=!1,n.clearFocusValueOnUpdate=!1,n.commonProps=void 0,n.components=void 0,n.hasGroups=!1,n.initialTouchX=0,n.initialTouchY=0,n.inputIsHiddenAfterUpdate=void 0,n.instancePrefix="",n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(e){n.controlRef=e},n.focusedOptionRef=null,n.getFocusedOptionRef=function(e){n.focusedOptionRef=e},n.menuListRef=null,n.getMenuListRef=function(e){n.menuListRef=e},n.inputRef=null,n.getInputRef=function(e){n.inputRef=e},n.cacheComponents=function(e){n.components=wl({},kl,{components:e}.components)},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(e,t){var a=n.props;(0,a.onChange)(e,Kl({},t,{name:a.name}))},n.setValue=function(e,t,a){void 0===t&&(t="set-value");var r=n.props,i=r.closeMenuOnSelect,o=r.isMulti;n.onInputChange("",{action:"set-value"}),i&&(n.inputIsHiddenAfterUpdate=!o,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(e,{action:t,option:a})},n.selectOption=function(e){var t=n.props,a=t.blurInputOnSelect,r=t.isMulti,i=n.state.selectValue;if(r)if(n.isOptionSelected(e,i)){var o=n.getOptionValue(e);n.setValue(i.filter((function(e){return n.getOptionValue(e)!==o})),"deselect-option",e),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(e)}})}else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue([].concat(i,[e]),"select-option",e),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue(e,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));a&&n.blurInput()},n.removeValue=function(e){var t=n.state.selectValue,a=n.getOptionValue(e),r=t.filter((function(e){return n.getOptionValue(e)!==a}));n.onChange(r.length?r:null,{action:"remove-value",removedValue:e}),n.announceAriaLiveSelection({event:"remove-value",context:{value:e?n.getOptionLabel(e):""}}),n.focusInput()},n.clearValue=function(){var e=n.props.isMulti;n.onChange(e?[]:null,{action:"clear"})},n.popValue=function(){var e=n.state.selectValue,t=e[e.length-1],a=e.slice(0,e.length-1);n.announceAriaLiveSelection({event:"pop-value",context:{value:t?n.getOptionLabel(t):""}}),n.onChange(a.length?a:null,{action:"pop-value",removedValue:t})},n.getOptionLabel=function(e){return n.props.getOptionLabel(e)},n.getOptionValue=function(e){return n.props.getOptionValue(e)},n.getStyles=function(e,t){var a=Jl[e](t);a.boxSizing="border-box";var r=n.props.styles[e];return r?r(a,t):a},n.getElementId=function(e){return n.instancePrefix+"-"+e},n.getActiveDescendentId=function(){var e=n.props.menuIsOpen,t=n.state,a=t.menuOptions,r=t.focusedOption;if(r&&e){var i=a.focusable.indexOf(r),o=a.render[i];return o&&o.key}},n.announceAriaLiveSelection=function(e){var t=e.event,a=e.context;n.setState({ariaLiveSelection:ql(t,a)})},n.announceAriaLiveContext=function(e){var t=e.event,a=e.context;n.setState({ariaLiveContext:Vl(t,Kl({},a,{label:n.props["aria-label"]}))})},n.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(e){n.blockOptionHover=!1},n.onControlMouseDown=function(e){var t=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&n.onMenuClose():t&&n.openMenu("first"):(t&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},n.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||n.props.isDisabled)){var t=n.props,a=t.isMulti,r=t.menuIsOpen;n.focusInput(),r?(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()):n.openMenu("first"),e.preventDefault(),e.stopPropagation()}},n.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(n.clearValue(),e.stopPropagation(),n.openAfterFocus=!1,"touchend"===e.type?n.focusInput():setTimeout((function(){return n.focusInput()})))},n.onScroll=function(e){"boolean"==typeof n.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Co(e.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(e)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(e){var t=e.touches.item(0);t&&(n.initialTouchX=t.clientX,n.initialTouchY=t.clientY,n.userIsDragging=!1)},n.onTouchMove=function(e){var t=e.touches.item(0);if(t){var a=Math.abs(t.clientX-n.initialTouchX),r=Math.abs(t.clientY-n.initialTouchY);n.userIsDragging=a>5||r>5}},n.onTouchEnd=function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(e){n.userIsDragging||n.onControlMouseDown(e)},n.onClearIndicatorTouchEnd=function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)},n.onDropdownIndicatorTouchEnd=function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)},n.handleInputChange=function(e){var t=e.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(t,{action:"input-change"}),n.onMenuOpen()},n.onInputFocus=function(e){var t=n.props,a=t.isSearchable,r=t.isMulti;n.props.onFocus&&n.props.onFocus(e),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:r}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(e){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))},n.onOptionHover=function(e){n.blockOptionHover||n.state.focusedOption===e||n.setState({focusedOption:e})},n.shouldHideSelectedOptions=function(){var e=n.props,t=e.hideSelectedOptions,a=e.isMulti;return void 0===t?a:t},n.onKeyDown=function(e){var t=n.props,a=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,o=t.inputValue,l=t.isClearable,s=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,p=t.tabSelectsValue,d=t.openMenuOnFocus,m=n.state,f=m.focusedOption,b=m.focusedValue,g=m.selectValue;if(!(s||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!a||o)return;n.focusValue("previous");break;case"ArrowRight":if(!a||o)return;n.focusValue("next");break;case"Delete":case"Backspace":if(o)return;if(b)n.removeValue(b);else{if(!r)return;a?n.popValue():l&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(e.shiftKey||!c||!p||!f||d&&n.isOptionSelected(f,g))return;n.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(c){if(!f)return;if(n.isComposing)return;n.selectOption(f);break}return;case"Escape":c?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):l&&i&&n.clearValue();break;case" ":if(o)return;if(!c){n.openMenu("first");break}if(!f)return;n.selectOption(f);break;case"ArrowUp":c?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":c?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!c)return;n.focusOption("pageup");break;case"PageDown":if(!c)return;n.focusOption("pagedown");break;case"Home":if(!c)return;n.focusOption("first");break;case"End":if(!c)return;n.focusOption("last");break;default:return}e.preventDefault()}},n.buildMenuOptions=function(e,t){var a=e.inputValue,r=void 0===a?"":a,i=e.options,o=function(e,a){var i=n.isOptionDisabled(e,t),o=n.isOptionSelected(e,t),l=n.getOptionLabel(e),s=n.getOptionValue(e);if(!(n.shouldHideSelectedOptions()&&o||!n.filterOption({label:l,value:s,data:e},r))){var c=i?void 0:function(){return n.onOptionHover(e)},u=i?void 0:function(){return n.selectOption(e)},p=n.getElementId("option")+"-"+a;return{innerProps:{id:p,onClick:u,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:e,isDisabled:i,isSelected:o,key:p,label:l,type:"option",value:s}}};return i.reduce((function(e,t,a){if(t.options){n.hasGroups||(n.hasGroups=!0);var r=t.options.map((function(t,n){var r=o(t,a+"-"+n);return r&&e.focusable.push(t),r})).filter(Boolean);if(r.length){var i=n.getElementId("group")+"-"+a;e.render.push({type:"group",key:i,data:t,options:r})}}else{var l=o(t,""+a);l&&(e.render.push(l),e.focusable.push(t))}return e}),{render:[],focusable:[]})};var a=t.value;n.cacheComponents=Ii(n.cacheComponents,$o).bind(Ql(Ql(n))),n.cacheComponents(t.components),n.instancePrefix="react-select-"+(n.props.instanceId||++es);var r=To(a);n.buildMenuOptions=Ii(n.buildMenuOptions,(function(e,t){var n=e,a=n[0],r=n[1],i=t,o=i[0];return $o(r,i[1])&&$o(a.inputValue,o.inputValue)&&$o(a.options,o.options)})).bind(Ql(Ql(n)));var i=t.menuIsOpen?n.buildMenuOptions(t,r):{render:[],focusable:[]};return n.state.menuOptions=i,n.state.selectValue=r,n}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()},r.UNSAFE_componentWillReceiveProps=function(e){var t=this.props,n=t.options,a=t.value,r=t.menuIsOpen,i=t.inputValue;if(this.cacheComponents(e.components),e.value!==a||e.options!==n||e.menuIsOpen!==r||e.inputValue!==i){var o=To(e.value),l=e.menuIsOpen?this.buildMenuOptions(e,o):{render:[],focusable:[]},s=this.getNextFocusedValue(o),c=this.getNextFocusedOption(l.focusable);this.setState({menuOptions:l,selectValue:o,focusedOption:c,focusedValue:s})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)},r.componentDidUpdate=function(e){var t,n,a,r,i,o=this.props,l=o.isDisabled,s=o.menuIsOpen,c=this.state.isFocused;(c&&!l&&e.isDisabled||c&&s&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,a=t.getBoundingClientRect(),r=n.getBoundingClientRect(),i=n.offsetHeight/3,r.bottom+i>a.bottom?Oo(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+i,t.scrollHeight)):r.top-i<a.top&&Oo(t,Math.max(n.offsetTop-i,0)),this.scrollToFocusedOptionOnUpdate=!1)},r.componentWillUnmount=function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)},r.onMenuOpen=function(){this.props.onMenuOpen()},r.onMenuClose=function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()},r.onInputChange=function(e,t){this.props.onInputChange(e,t)},r.focusInput=function(){this.inputRef&&this.inputRef.focus()},r.blurInput=function(){this.inputRef&&this.inputRef.blur()},r.openMenu=function(e){var t=this,n=this.state,a=n.selectValue,r=n.isFocused,i=this.buildMenuOptions(this.props,a),o=this.props.isMulti,l="first"===e?0:i.focusable.length-1;if(!o){var s=i.focusable.indexOf(a[0]);s>-1&&(l=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:i,focusedValue:null,focusedOption:i.focusable[l]},(function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu"})}))},r.focusValue=function(e){var t=this.props,n=t.isMulti,a=t.isSearchable,r=this.state,i=r.selectValue,o=r.focusedValue;if(n){this.setState({focusedOption:null});var l=i.indexOf(o);o||(l=-1,this.announceAriaLiveContext({event:"value"}));var s=i.length-1,c=-1;if(i.length){switch(e){case"previous":c=0===l?0:-1===l?s:l-1;break;case"next":l>-1&&l<s&&(c=l+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:i[c]})}}},r.focusOption=function(e){void 0===e&&(e="first");var t=this.props.pageSize,n=this.state,a=n.focusedOption,r=n.menuOptions.focusable;if(r.length){var i=0,o=r.indexOf(a);a||(o=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:$l(r[i])}})}},r.getTheme=function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Xl):Kl({},Xl,this.props.theme):Xl},r.getCommonProps=function(){var e=this.clearValue,t=this.getStyles,n=this.setValue,a=this.selectOption,r=this.props,i=r.classNamePrefix,o=r.isMulti,l=r.isRtl,s=r.options,c=this.state.selectValue,u=this.hasValue();return{cx:Eo.bind(null,i),clearValue:e,getStyles:t,getValue:function(){return c},hasValue:u,isMulti:o,isRtl:l,options:s,selectOption:a,setValue:n,selectProps:r,theme:this.getTheme()}},r.getNextFocusedValue=function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,a=t.selectValue.indexOf(n);if(a>-1){if(e.indexOf(n)>-1)return n;if(a<e.length)return e[a]}return null},r.getNextFocusedOption=function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]},r.hasValue=function(){return this.state.selectValue.length>0},r.hasOptions=function(){return!!this.state.menuOptions.render.length},r.countOptions=function(){return this.state.menuOptions.focusable.length},r.isClearable=function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t},r.isOptionDisabled=function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)},r.isOptionSelected=function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var a=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===a}))},r.filterOption=function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)},r.formatOptionLabel=function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:a})}return this.getOptionLabel(e)},r.formatGroupLabel=function(e){return this.props.formatGroupLabel(e)},r.startListeningComposition=function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))},r.stopListeningComposition=function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))},r.startListeningToTouch=function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))},r.stopListeningToTouch=function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))},r.constructAriaLiveMessage=function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,a=e.focusedValue,r=e.focusedOption,i=this.props,o=i.options,l=i.menuIsOpen,s=i.inputValue,c=i.screenReaderStatus;return(a?function(e){var t=e.focusedValue,n=e.getOptionLabel,a=e.selectValue;return"value "+n(t)+" focused, "+(a.indexOf(t)+1)+" of "+a.length+"."}({focusedValue:a,getOptionLabel:this.getOptionLabel,selectValue:n}):"")+" "+(r&&l?function(e){var t=e.focusedOption,n=e.getOptionLabel,a=e.options;return"option "+n(t)+" focused"+(t.isDisabled?" disabled":"")+", "+(a.indexOf(t)+1)+" of "+a.length+"."}({focusedOption:r,getOptionLabel:this.getOptionLabel,options:o}):"")+" "+function(e){var t=e.inputValue;return e.screenReaderMessage+(t?" for search term "+t:"")+"."}({inputValue:s,screenReaderMessage:c({count:this.countOptions()})})+" "+t},r.renderInput=function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,a=e.inputId,r=e.inputValue,i=e.tabIndex,o=this.components.Input,l=this.state.inputIsHidden,s=a||this.getElementId("input"),c={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!n)return Yi.a.createElement(Dl,Kl({id:s,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:xo,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:i,value:""},c));var u=this.commonProps,p=u.cx,d=u.theme,m=u.selectProps;return Yi.a.createElement(o,Kl({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:s,innerRef:this.getInputRef,isDisabled:t,isHidden:l,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:m,spellCheck:"false",tabIndex:i,theme:d,type:"text",value:r},c))},r.renderPlaceholderOrValue=function(){var e=this,t=this.components,n=t.MultiValue,a=t.MultiValueContainer,r=t.MultiValueLabel,i=t.MultiValueRemove,o=t.SingleValue,l=t.Placeholder,s=this.commonProps,c=this.props,u=c.controlShouldRenderValue,p=c.isDisabled,d=c.isMulti,m=c.inputValue,f=c.placeholder,b=this.state,g=b.selectValue,h=b.focusedValue,v=b.isFocused;if(!this.hasValue()||!u)return m?null:Yi.a.createElement(l,Kl({},s,{key:"placeholder",isDisabled:p,isFocused:v}),f);if(d)return g.map((function(t,o){var l=t===h;return Yi.a.createElement(n,Kl({},s,{components:{Container:a,Label:r,Remove:i},isFocused:l,isDisabled:p,key:e.getOptionValue(t),index:o,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var y=g[0];return Yi.a.createElement(o,Kl({},s,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))},r.renderClearIndicator=function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||a||!this.hasValue()||r)return null;var o={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return Yi.a.createElement(e,Kl({},t,{innerProps:o,isFocused:i}))},r.renderLoadingIndicator=function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!e||!r)return null;return Yi.a.createElement(e,Kl({},t,{innerProps:{"aria-hidden":"true"},isDisabled:a,isFocused:i}))},r.renderIndicatorSeparator=function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var a=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused;return Yi.a.createElement(n,Kl({},a,{isDisabled:r,isFocused:i}))},r.renderDropdownIndicator=function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,a=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return Yi.a.createElement(e,Kl({},t,{innerProps:r,isDisabled:n,isFocused:a}))},r.renderMenu=function(){var e=this,t=this.components,n=t.Group,a=t.GroupHeading,r=t.Menu,i=t.MenuList,o=t.MenuPortal,l=t.LoadingMessage,s=t.NoOptionsMessage,c=t.Option,u=this.commonProps,p=this.state,d=p.focusedOption,m=p.menuOptions,f=this.props,b=f.captureMenuScroll,g=f.inputValue,h=f.isLoading,v=f.loadingMessage,y=f.minMenuHeight,w=f.maxMenuHeight,k=f.menuIsOpen,_=f.menuPlacement,x=f.menuPosition,S=f.menuPortalTarget,E=f.menuShouldBlockScroll,T=f.menuShouldScrollIntoView,C=f.noOptionsMessage,M=f.onMenuScrollToTop,O=f.onMenuScrollToBottom;if(!k)return null;var L,D=function(t){var n=d===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,Yi.a.createElement(c,Kl({},u,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())L=m.render.map((function(t){if("group"===t.type){t.type;var r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,["type"]),i=t.key+"-heading";return Yi.a.createElement(n,Kl({},u,r,{Heading:a,headingProps:{id:i},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return D(e)})))}if("option"===t.type)return D(t)}));else if(h){var F=v({inputValue:g});if(null===F)return null;L=Yi.a.createElement(l,u,F)}else{var P=C({inputValue:g});if(null===P)return null;L=Yi.a.createElement(s,u,P)}var j={minMenuHeight:y,maxMenuHeight:w,menuPlacement:_,menuPosition:x,menuShouldScrollIntoView:T},N=Yi.a.createElement(Yo,Kl({},u,j),(function(t){var n=t.ref,a=t.placerProps,o=a.placement,l=a.maxHeight;return Yi.a.createElement(r,Kl({},u,j,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:h,placement:o}),Yi.a.createElement(Gl,{isEnabled:b,onTopArrive:M,onBottomArrive:O},Yi.a.createElement(Wl,{isEnabled:E},Yi.a.createElement(i,Kl({},u,{innerRef:e.getMenuListRef,isLoading:h,maxHeight:l}),L))))}));return S||"fixed"===x?Yi.a.createElement(o,Kl({},u,{appendTo:S,controlElement:this.controlRef,menuPlacement:_,menuPosition:x}),N):N},r.renderFormField=function(){var e=this,t=this.props,n=t.delimiter,a=t.isDisabled,r=t.isMulti,i=t.name,o=this.state.selectValue;if(i&&!a){if(r){if(n){var l=o.map((function(t){return e.getOptionValue(t)})).join(n);return Yi.a.createElement("input",{name:i,type:"hidden",value:l})}var s=o.length>0?o.map((function(t,n){return Yi.a.createElement("input",{key:"i-"+n,name:i,type:"hidden",value:e.getOptionValue(t)})})):Yi.a.createElement("input",{name:i,type:"hidden"});return Yi.a.createElement("div",null,s)}var c=o[0]?this.getOptionValue(o[0]):"";return Yi.a.createElement("input",{name:i,type:"hidden",value:c})}},r.renderLiveRegion=function(){return this.state.isFocused?Yi.a.createElement(Ol,{"aria-live":"polite"},Yi.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),Yi.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null},r.render=function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,a=e.SelectContainer,r=e.ValueContainer,i=this.props,o=i.className,l=i.id,s=i.isDisabled,c=i.menuIsOpen,u=this.state.isFocused,p=this.commonProps=this.getCommonProps();return Yi.a.createElement(a,Kl({},p,{className:o,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:u}),this.renderLiveRegion(),Yi.a.createElement(t,Kl({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:u,menuIsOpen:c}),Yi.a.createElement(r,Kl({},p,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),Yi.a.createElement(n,Kl({},p,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())},a}(Ai.Component);function ns(){return(ns=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}ts.defaultProps=Zl;var as={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};Ai.Component;var rs=function(e){var t,n;return n=t=function(t){var n,a;function r(){for(var e,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(e=t.call.apply(t,[this].concat(a))||this).select=void 0,e.state={inputValue:void 0!==e.props.inputValue?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:void 0!==e.props.menuIsOpen?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:void 0!==e.props.value?e.props.value:e.props.defaultValue},e.onChange=function(t,n){e.callProp("onChange",t,n),e.setState({value:t})},e.onInputChange=function(t,n){var a=e.callProp("onInputChange",t,n);e.setState({inputValue:void 0!==a?a:t})},e.onMenuOpen=function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})},e.onMenuClose=function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})},e}a=t,(n=r).prototype=Object.create(a.prototype),n.prototype.constructor=n,n.__proto__=a;var i=r.prototype;return i.focus=function(){this.select.focus()},i.blur=function(){this.select.blur()},i.getProp=function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]},i.callProp=function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return(t=this.props)[e].apply(t,a)}},i.render=function(){var t=this,n=this.props,a=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return Yi.a.createElement(e,ns({},a,{ref:function(e){t.select=e},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))},r}(Ai.Component),t.defaultProps=as,n}(ts);const is=wp.i18n.__,os=wp.components.SelectControl,ls=wp.element;ls.Component,ls.Fragment;var ss=function(e){const t=[{value:"",label:is("Default"),weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Arial",label:"Arial",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Helvetica",label:"Helvetica",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Times New Roman",label:"Times New Roman",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Georgia",label:"Georgia",weight:["100","200","300","400","500","600","700","800","900"],google:!1}];let n="",a="";Object.keys(zi).map((r,i)=>{t.push({value:r,label:r,weight:zi[r].weight}),r===e.fontFamily.value&&(n=zi[r].weight,a=zi[r].subset)}),""===n&&(n=t[0].weight);const r={value:"default",label:is("Default","blockspare")},i=[];n.forEach((function(e){i.push({value:e,label:e})})),i.unshift(r);const o=[];"object"==typeof a&&a.forEach((function(e){o.push({value:e,label:e})}));const l=(t,n,a)=>{let r,i;if("object"==typeof zi[a]){const o=zi[a].weight,l=zi[a].subset;"object"==typeof o&&(o.forEach((function(n){if(t.value!=n)return i=n,r=!0,void e.setAttributes({[e.fontWeight.label]:i});r=!1})),l.forEach((function(t){if(n.value!=t)return i=t,r=!0,void e.setAttributes({[e.fontSubset.label]:i});r=!1})))}},s=(t,n)=>{let a;a=""==n||"object"==typeof zi[n],e.setAttributes({[t.label]:a})};return wp.element.createElement("div",{className:"blockspare-typography-font-family-options"},wp.element.createElement("label",{className:"blockspare-typography-font-family-label"},is("Font Family")),wp.element.createElement(rs,{options:t,value:{value:e.fontFamily.value,label:e.fontFamily.value,weight:i},isMulti:!1,maxMenuHeight:300,onChange:t=>{const n=e.loadGoogleFonts,a=e.fontFamily,r=e.fontWeight,i=e.fontSubset;e.setAttributes({[a.label]:t.label}),s(n,t.label),l(r,i,t.label)},className:"react-select-container",classNamePrefix:"react-select"}),wp.element.createElement(os,{label:is("Font Weight"),value:e.fontWeight.value,onChange:t=>e.setAttributes({[e.fontWeight.label]:t}),options:i}),wp.element.createElement(os,{label:is("Font Subset"),value:e.fontSubset.value,onChange:t=>e.setAttributes({[e.fontSubset.label]:t}),options:o}))};const cs=wp.i18n.__,us=wp.components.SelectControl,ps=wp.element,ds=ps.Component,ms=ps.Fragment;var fs=class extends ds{render(){const e=this.props,t=e.headerTagOption,n=e.setAttributes,a=[{value:"h1",label:cs("h1","blockspare")},{value:"h2",label:cs("h2","blockspare")},{value:"h3",label:cs("h3","blockspare")},{value:"h4",label:cs("h4","blockspare")},{value:"h5",label:cs("h5","blockspare")},{value:"h6",label:cs("h6","blockspare")}];return wp.element.createElement(ms,null,wp.element.createElement(us,{label:"Title Tag",value:t,options:a.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>n({headerTagOption:e})}))}};const bs=wp.i18n.__,gs=wp.components,hs=gs.RangeControl,vs=gs.ButtonGroup,ys=gs.Button,ws=gs.TabPanel,ks=gs.Dashicon,_s=wp.element,xs=(_s.Component,_s.Fragment);var Ss=function(e){let t;return t="sizeTypes"in e?e.sizeTypes:[{key:"px",name:bs("px")},{key:"em",name:bs("em")}],wp.element.createElement(vs,{className:"blockspare-size-type-field","aria-label":bs("Size Type")},ji()(t,({name:t,key:n})=>wp.element.createElement(ys,{key:n,className:"blockspare-size-btn",isSmall:!0,isPrimary:e.type.value===n,"aria-pressed":e.type.value===n,onClick:()=>e.setAttributes({[e.typeLabel]:n})},t))),wp.element.createElement("div",{className:"blockspare-typography-range-options"},wp.element.createElement("p",{className:"blockspare-font-size-title"},bs("Font Size","blockspare")),wp.element.createElement(ws,{className:"blockspare-size-type-field-tabs",activeClass:"active-tab",tabs:[{name:"desktop",title:wp.element.createElement(ks,{icon:"desktop"}),className:"blockspare-desktop-tab blockspare-responsive-tabs"},{name:"tablet",title:wp.element.createElement(ks,{icon:"tablet"}),className:"blockspare-tablet-tab blockspare-responsive-tabs"},{name:"mobile",title:wp.element.createElement(ks,{icon:"smartphone"}),className:"blockspare-mobile-tab blockspare-responsive-tabs"}]},t=>{let n;return n="mobile"===t.name?wp.element.createElement(xs,null,wp.element.createElement(hs,{value:e.sizeMobile.value,onChange:t=>e.setAttributes({[e.sizeMobileLabel]:t}),min:0,max:100,step:e.steps})):"tablet"===t.name?wp.element.createElement(xs,null,wp.element.createElement(hs,{value:e.sizeTablet.value,onChange:t=>e.setAttributes({[e.sizeTabletLabel]:t}),min:0,max:100,step:e.steps})):wp.element.createElement(xs,null,wp.element.createElement(hs,{value:e.size.value,onChange:t=>e.setAttributes({[e.sizeLabel]:t}),min:0,max:100,step:e.steps})),wp.element.createElement("div",null,n)}))};n(588);function Es(){return(Es=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}const Ts=wp.i18n.__,Cs=wp.components,Ms=Cs.Button,Os=Cs.Dashicon,Ls=(Cs.SelectControl,wp.element),Ds=Ls.Component,Fs=Ls.Fragment;var Ps=class extends Ds{constructor(){super(...arguments),this.onAdvancedControlClick=this.onAdvancedControlClick.bind(this)}onAdvancedControlClick(){let e=!0,t=Ts("Hide Advanced");null!==this.state&&!0===this.state.showAdvancedControls&&(e=!1,t=Ts("Advanced")),this.setState({showAdvancedControls:e,showAdvancedControlsLabel:t})}render(){let e,t,n,a,r,i,o;const l=this.props,s=l.disableTag,c=void 0===s||s,u=l.disableFontFamily,p=l.disableFontSize,d=l.disableLineHeight,m=l.disableAdvancedOptions,f=void 0!==m&&m;return!0!==u&&(a=wp.element.createElement(ss,this.props)),1!=c&&(e=wp.element.createElement(fs,this.props)),!0!==d&&(n=wp.element.createElement(Ss,Es({type:this.props.lineHeightType,typeLabel:this.props.lineHeightType.label,sizeMobile:this.props.lineHeightMobile,sizeMobileLabel:this.props.lineHeightMobile.label,sizeTablet:this.props.lineHeightTablet,sizeTabletLabel:this.props.lineHeightTablet.label,size:this.props.lineHeight,sizeLabel:this.props.lineHeight.label,sizeMobileText:Ts("Line Height"),sizeTabletText:Ts("Line Height"),sizeText:Ts("Line Height"),steps:1},this.props))),!0!==p&&(t=wp.element.createElement(Ss,Es({type:this.props.fontSizeType,typeLabel:this.props.fontSizeType.label,sizeMobile:this.props.fontSizeMobile,sizeMobileLabel:this.props.fontSizeMobile.label,sizeTablet:this.props.fontSizeTablet,sizeTabletLabel:this.props.fontSizeTablet.label,size:this.props.fontSize,sizeLabel:this.props.fontSize.label,sizeMobileText:this.props.fontSizeLabel?this.props.fontSizeLabel:Ts("Font Size"),sizeTabletText:this.props.fontSizeLabel?this.props.fontSizeLabel:Ts("Font Size"),sizeText:this.props.fontSizeLabel?this.props.fontSizeLabel:Ts("Font Size"),steps:1},this.props))),!0!==u&&!0!==p?r=wp.element.createElement(Ms,{className:"blockspare-size-btn blockspare-typography-control-btn",isSmall:!0,"aria-pressed":null!==this.state,onClick:this.onAdvancedControlClick},wp.element.createElement(Os,{icon:"admin-generic"})):o=wp.element.createElement(Fs,null,t,a,n),null!==this.state&&!0===this.state.showAdvancedControls&&(o=wp.element.createElement("div",{className:"blockspare-typography-advanced"},t,a,n)),!0!==u&&!0!==p&&(i=wp.element.createElement("div",{className:"blockspare-typography-option-actions"},wp.element.createElement("span",null,this.props.label),r,void 0)),wp.element.createElement("div",{className:"blockspare-typography-options"},!f&&wp.element.createElement(Fs,null,e,i,o))}};let js=blockspare_globals.srcUrl+"/dist";var Ns=function({imageFile:e,imageHoverFile:t,imageWidth:n="",imageHeight:a="",label:r}){const i=e?e.match(/https?:/i)?e:js?`${js}/${e}`:e:"",o=t?t.match(/https?:/i)?t:js?`${js}/${t}`:t:null;return wp.element.createElement("span",{className:"blockspare-design-panel-item"},o&&wp.element.createElement("img",{className:"blockspare-design-panel-item__hover-image",src:o,alt:r,width:n,height:a}),i&&wp.element.createElement("img",{className:"blockspare-design-panel-item__image",src:i,alt:r,width:n,height:a}),wp.element.createElement("span",{className:"design-label"},r))};function zs(){return(zs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function As(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ys(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bs=wp.components.RadioControl;var Is=function(e){const t=e.selected,n=e.options,a=e.onChange,r=e.className,i=void 0===r?"":r,l=n.map(e=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?As(Object(n),!0).forEach((function(t){Ys(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):As(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{label:wp.element.createElement(Ns,{imageFile:e.image,imageHoverFile:e.hoverImage,imageWidth:e.imageWidth,imageHeight:e.imageHeight,isPro:e.isPro,label:e.label}),title:e.label,value:e.value}));return wp.element.createElement("div",{className:o()(i,"blockspare-design-control-wrapper components-base-control")},wp.element.createElement("div",{className:"components-base-control__label"},e.label),wp.element.createElement(Bs,zs({},Xa()(e,["label"]),{className:"blockspare-design-control",selected:t,options:l,onChange:a})))};function Rs(){return(Rs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}const Hs=wp.i18n.__,Ws=wp.components.BaseControl,Us=wp.hooks.applyFilters,Gs={"double-wave":{image:"images/double-wave.png",label:Hs("Double Wave","blockspare"),value:"double-wave"},wavy:{image:"images/wavy.png",label:Hs("Wavy","blockspare"),value:"wavy"},sloped:{image:"images/sloped.png",label:Hs("Sloped","blockspare"),value:"sloped"},grow:{image:"images/grow.png",label:Hs("Grow","blockspare"),value:"grow"},angled:{image:"images/angled.png",label:Hs("Angled","blockspare"),value:"angled"}},Vs=e=>{const t=Object.keys(Gs).filter(t=>!e.excludeDesigns.includes(t)).map(e=>Gs[e]);return wp.element.createElement(Ws,{className:"blockspare-design-separator-control",id:"blockspare-design-separator-control",label:e.label,help:e.help},wp.element.createElement(Is,Rs({options:Us("blockspare.separator.edit.layouts",t,e)},Xa()(e,["label","help"]))))};Vs.defaultProps={label:"",help:"",excludeDesigns:[]};var qs=Vs;function $s(){return($s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}const Js=wp.i18n.__,Xs="blockspare".i18n,Ks=wp.components.PanelBody;var Qs=function(e){const t=e.options,n=e.selected,a=e.title,r=void 0===a?Js("Layout",Xs):a,i=e.selectedOptionInTitle,l=void 0===i||i,s=e.help,c=void 0===s?"":s,u=e.className,p=void 0===u?"":u,d=e.initialOpen,m=void 0===d||d,f=t?t.find(e=>e.value===n):null,b=f?`${r} – ${f.label}`:r,g=o()(["blockspare-design-panel-body",p]);return wp.element.createElement(Ks,$s({title:l?wp.element.createElement("span",null,b):r,className:g,initialOpen:m},Xa()(e,["help"])),c&&wp.element.createElement("p",{className:"components-base-control__help"},c),t&&wp.element.createElement(Is,Xa()(e,["help","title"])),e.children)};const Zs=wp.hooks.applyFilters,ec=wp.i18n.__;function tc(e){const t=e.headerlayoutOption,n=e.onChangeHeaderLayput,a=void 0===n?()=>{}:n;return wp.element.createElement(Qs,{initialOpen:!1,selected:t,options:Zs("blockspare.cta.edit.layouts",[{label:ec("Layout 1","blockspare"),value:"blockspare-style1",image:"images/blockspare-header-layout-1.png"},{label:ec("Layout 2","blockspare"),value:"blockspare-style2",image:"images/blockspare-header-layout-2.png"},{label:ec("Layout 3","blockspare"),value:"blockspare-style3",image:"images/blockspare-header-layout-3.png"}]),onChange:a})}const nc=wp.i18n.__,ac=wp.element.Component,rc=wp.blockEditor,ic=rc.InspectorControls,oc=rc.MediaUpload,lc=rc.PanelColorSettings,sc=wp.components,cc=sc.RangeControl,uc=sc.PanelBody,pc=sc.IconButton,dc=sc.ToggleControl;sc.SelectControl;class mc extends ac{render(){const e=this.props,t=e.attributes,n=t.opacityRatio,a=t.ctaBackGroundColor,r=t.showImage,i=t.imgURL,o=t.imgID,l=t.imgAlt,s=t.buttonBackgroundColor,c=t.buttonTextColor,u=t.buttonSize,p=t.buttonStyle,d=t.buttonShape,m=t.buttonTarget,f=t.paddingTop,b=t.paddingRight,g=t.paddingBottom,h=t.paddingLeft,v=t.marginTop,y=t.marginBottom,w=t.titleFontSize,k=(t.subtitleFontSize,t.headerTagOption),_=t.headertitleColor,x=t.headersubtitleColor,S=t.headerlayoutOption,E=t.titlePaddingTop,T=t.titlePaddingBottom,C=t.subtitlePaddingTop,M=t.subtitlePaddingBottom,O=t.headerboxColor,L=t.dashColor,D=t.borderColor,F=t.borderBtnTextColor,P=(t.backgroundFix,t.enableGradient),j=t.backgroundColor1,N=t.backgroundColor2,z=t.gradientAngle,A=t.colorLocation1,Y=t.colorLocation2,B=(t.borderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.btnFontWeight),I=t.btnBorderWidth,R=t.buttonHoverEffect,H=t.titleLoadGoogleFonts,W=t.titleFontFamily,U=t.titleFontWeight,G=t.titleFontSubset,V=t.titleFontSizeType,q=t.titleFontSizeMobile,$=t.titleFontSizeTablet,J=t.subTitleFontSize,X=t.subTitleLoadGoogleFonts,K=t.subTitleFontFamily,Q=t.subTitleFontWeight,Z=t.subTitleFontSubset,ee=t.subTitleFontSizeType,te=t.subTitleFontSizeMobile,ne=t.subTitleFontSizeTablet,ae=t.buttonFontSize,re=t.buttonFontFamily,ie=t.buttonFontWeight,oe=t.buttonFontSubset,le=t.buttonFontSizeType,se=t.buttonFontSizeMobile,ce=t.buttonFontSizeTablet,ue=t.buttonLoadGoogleFonts,pe=e.attributes,de=e.setAttributes,me=()=>{de({imgID:null,imgURL:null,imgAlt:null})};nc("Layout 1","blockspare"),nc("Layout 2","blockspare"),nc("Layout 3","blockspare");return wp.element.createElement(ic,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(uc,{title:nc("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(tc,{headerlayoutOption:S,onChangeHeaderLayput:e=>de({headerlayoutOption:e})}),wp.element.createElement(uc,{title:nc("Typography Settings","blockspare")},wp.element.createElement(Ps,{label:nc("Title Fonts Settings"),attributes:pe,setAttributes:de,loadGoogleFonts:{value:H,label:nc("titleLoadGoogleFonts")},fontFamily:{value:W,label:nc("titleFontFamily")},fontWeight:{value:U,label:nc("titleFontWeight")},fontSubset:{value:G,label:nc("titleFontSubset")},fontSizeType:{value:V,label:nc("titleFontSizeType")},fontSize:{value:w,label:nc("titleFontSize")},fontSizeMobile:{value:q,label:nc("titleFontSizeMobile")},fontSizeTablet:{value:$,label:nc("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:k}),wp.element.createElement(Ps,{label:nc("Subtitle Fonts Settings"),attributes:pe,setAttributes:de,loadGoogleFonts:{value:X,label:nc("subTitleLoadGoogleFonts")},fontFamily:{value:K,label:nc("subTitleFontFamily")},fontWeight:{value:Q,label:nc("subTitleFontWeight")},fontSubset:{value:Z,label:nc("subTitleFontSubset")},fontSizeType:{value:ee,label:nc("subTitleFontSizeType")},fontSize:{value:J,label:nc("subTitleFontSize")},fontSizeMobile:{value:te,label:nc("subTitleFontSizeMobile")},fontSizeTablet:{value:ne,label:nc("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),wp.element.createElement(Fi,{enableBlockGaps:!1,headerboxColor:O,onChangeboxcolor:e=>de({headerboxColor:e}),dashColor:L,headerlayoutOption:S,onChangeDashColor:e=>de({dashColor:e}),headertitleColor:_,onChangetitlecolor:e=>de({headertitleColor:e}),titlePaddingTop:E,onChangetitlePaddingTop:e=>de({titlePaddingTop:e}),titlePaddingBottom:T,onChangetitlePaddingBottom:e=>de({titlePaddingBottom:e}),headersubtitleColor:x,onChangesubtitlecolor:e=>de({headersubtitleColor:e}),subtitlePaddingTop:C,onChangesubtitlePaddingTop:e=>de({subtitlePaddingTop:e}),subtitlePaddingBottom:M,onChangesubtitlePaddingBottom:e=>de({subtitlePaddingBottom:e})})),wp.element.createElement(uc,{title:nc("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(_e,{enableButtonTarget:!1,buttonTarget:m,onChangeButtonTarget:e=>de({buttonTarget:!m}),enableGradient:P,onChangeGradient:e=>de({enableGradient:e}),enableButtonSize:!0,buttonSize:u,onChangeButtonSize:e=>de({buttonSize:e}),enableButtonShape:!0,buttonShape:d,onChangeButtonShape:e=>de({buttonShape:e}),buttonBackgroundColor:s,onChangeButtonColor:e=>de({buttonBackgroundColor:e}),buttonTextColor:c,onChangeButtonTextColor:e=>de({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:p,onChangeBorderStyle:e=>de({buttonStyle:e}),buttonHoverEffect:R,onchangeButtonHoverEffect:e=>de({buttonHoverEffect:e}),borderColor:D,onchangeBorderColor:e=>de({borderColor:e}),borderBtnTextColor:F,onChangeBorderBtnTextColor:e=>de({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:I,onchangebtnBorderWidth:e=>de({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:B,onchangeBtnFontWeight:e=>de({btnFontWeight:e})}),wp.element.createElement(uc,{title:nc(" Typography","blockspare"),initialOpen:!0},wp.element.createElement(Ps,{label:nc("Button Fonts Settings"),attributes:pe,setAttributes:de,loadGoogleFonts:{value:ue,label:nc("buttonLoadGoogleFonts")},fontFamily:{value:re,label:nc("buttonFontFamily")},fontWeight:{value:ie,label:nc("buttonFontWeight")},fontSubset:{value:oe,label:nc("buttonFontSubset")},fontSizeType:{value:le,label:nc("buttonFontSizeType")},fontSize:{value:ae,label:nc("buttonFontSize")},fontSizeMobile:{value:se,label:nc("buttonFontSizeMobile")},fontSizeTablet:{value:ce,label:nc("buttonFontSizeTablet")},disableLineHeight:!0})),"none"===p&&wp.element.createElement(dc,{label:nc("Enable Gradient","blockspare"),checked:P,onChange:()=>this.props.setAttributes({enableGradient:!P})}),P&&"none"===p&&wp.element.createElement(uc,{title:nc("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Ce,{backgroundColor1:j,onChangeBackgroundColor1:e=>de({backgroundColor1:e}),backgroundColor2:N,onChangeBackgroundColor2:e=>de({backgroundColor2:e}),gradientAngle:z,onChangeGradientAngle:e=>de({gradientAngle:e}),colorLocation1:A,onChangeColorLocation1:e=>de({colorLocation1:e}),colorLocation2:Y,onChangeColorLocation2:e=>de({colorLocation2:e})}))),wp.element.createElement(uc,{title:nc("Background Settings","blockspare"),initialOpen:!1},wp.element.createElement(dc,{label:nc("Display Image","blockspare"),checked:r,onChange:()=>this.props.setAttributes({showImage:!r})}),1==r&&wp.element.createElement("div",null,wp.element.createElement(oc,{onSelect:e=>{de({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:o,render:({open:e})=>wp.element.createElement("div",null,wp.element.createElement(pc,{className:"aft-cta-inspector-media",label:nc("Edit image","blockspare"),icon:"format-image",onClick:e},nc("Select Image","blockspare")),i&&!!i.length&&wp.element.createElement(pc,{className:"blockspare-cta-inspector-media",label:nc("Remove Image","blockspare"),icon:"dismiss",onClick:me},nc("Remove","blockspare")))}),wp.element.createElement("div",null,i&&!!i.length&&wp.element.createElement("img",{src:i,width:"100px",height:"100px",alt:l}))),i&&!!i.length&&1==r&&wp.element.createElement(cc,{label:nc("Image Opacity","blockspare"),value:n,onChange:e=>this.props.setAttributes({opacityRatio:e}),min:0,max:100,step:10}),wp.element.createElement(lc,{title:nc("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:a,onChange:e=>de({ctaBackGroundColor:e}),label:nc("Background Color","blockspare")}]})),wp.element.createElement(uc,{title:nc("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(uc,{title:nc("Padding Settings","blockspare"),initialOpen:!0},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:f,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>de({paddingTop:e}),paddingEnableRight:!0,paddingRight:b,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>de({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:g,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>de({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:h,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>de({paddingLeft:e})})),wp.element.createElement(uc,{title:nc("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:v,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>de({marginTop:e}),marginEnableBottom:!0,marginBottom:y,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>de({marginBottom:e})})))))}}const fc=wp.i18n.__,bc=wp.element,gc=bc.Component,hc=bc.Fragment,vc=wp.editor,yc=vc.RichText;vc.getFontSizeClass,vc.getColorClassName;class wc extends gc{render(){const e=this.props,t=(e.align,e.sectionAlignment,e.headerTitle),n=e.headerTagOption,a=e.headerSubTitle,r=e.setAttributes,i=(e.isSelected,e.titleLoadGoogleFonts),o=e.titleFontFamily,l=e.titleFontWeight,s=(e.titleFontSubset,e.subTitleLoadGoogleFonts),c=e.subTitleFontFamily,u=e.subTitleFontWeight;let p,d;if(1==i){const e={google:{families:[o+(l?":"+l:"")]}};p=wp.element.createElement(Lr,{config:e})}if(1==s){const e={google:{families:[c+(u?":"+u:"")]}};d=wp.element.createElement(Lr,{config:e})}return wp.element.createElement(hc,null,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash"}),wp.element.createElement(yc,{tagName:n,placeholder:fc("Title","blockspare"),keepPlaceholderOnFocus:!0,value:t,className:"blockspare-title",onChange:e=>r({headerTitle:e})}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash"})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash"}),wp.element.createElement(yc,{tagName:"p",placeholder:fc("Sub Title","blockspare"),keepPlaceholderOnFocus:!0,value:a,className:"blockspare-subtitle",onChange:e=>r({headerSubTitle:e})}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash"}),p,d))}}var kc=e=>{let t="";return e.enableBoxShadow&&(t={boxShadow:e.xOffset+"px "+e.yOffset+"px "+e.blur+"px "+e.spread+"px "+e.shadowColor}),t};var _c=e=>{let t="";return t={textAlign:e.sectionAlignment,paddingTop:e.paddingTop?e.paddingTop+"px":"0px",paddingRight:e.paddingRight?e.paddingRight+"px":"0px",paddingBottom:e.paddingBottom?e.paddingBottom+"px":"0px",paddingLeft:e.paddingLeft?e.paddingLeft+"px":"0px",marginTop:e.marginTop?e.marginTop+"px":"0px",marginBottom:e.marginBottom?e.marginBottom+"px":"0px"},t};function xc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Sc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xc(Object(n),!0).forEach((function(t){Ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ec(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tc=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.ctaBackGroundColor,r=t.borderRadius,i=t.headertitleColor,o=t.titleFontSize,l=t.titlePaddingTop,s=t.titlePaddingBottom,c=t.headersubtitleColor,u=(t.subtitleFontSize,t.subtitlePaddingTop),p=t.subtitlePaddingBottom,d=t.dashColor,m=t.headerboxColor,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=t.subTitleFontSize,w=t.subTitleFontFamily,k=t.subTitleFontWeight,_=(t.subTitleFontSubset,t.subTitleFontSizeType),x=t.subTitleFontSizeMobile,S=t.subTitleFontSizeTablet,E=t.headerpaddingTop,T=t.headerpaddingRight,C=t.headerpaddingBottom,M=t.headerpaddingLeft,O=t.headermarginTop,L=t.headermarginBottom,D=t.buttonStyle,F=t.enableGradient,P=t.backgroundColor1,j=t.backgroundColor2,N=t.gradientAngle,z=t.colorLocation1,A=t.colorLocation2,Y=(t.btnFontWeight,t.btnBorderWidth),B=t.borderColor,I=t.buttonBackgroundColor,R=t.borderBtnTextColor,H=t.buttonTextColor,W=t.buttonFontSize,U=t.buttonFontFamily,G=t.buttonFontWeight,V=t.buttonFontSizeType,q=t.buttonFontSizeMobile,$=t.buttonFontSizeTablet,J=[];if(J.push({".blockspare-cta-wrapper":Sc({backgroundColor:a||"#0e0e0e"},kc(e.attributes),{},_c(e.attributes),{borderRadius:r?r+"px":null})}),"none"===D)if(1==F){const e=N+"deg",t=z+"%",n=A+"%";J.push({".blockspare-block-button span":{color:H||"#fff",borderWidth:Y+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${P||"#3B1A5B"} ${t},${j||"#8B249C"} ${n})`}})}else J.push({".blockspare-block-button span":{color:H||"#fff",borderWidth:Y+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:I||"#3c1a5b"}});else J.push({".blockspare-block-button span":{color:R||"#404040"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent",borderColor:B||"#3c1a5b",borderStyle:D,borderWidth:Y+"px"}});return J.push({".blockspare-block-button span":{fontSize:W+V,fontFamily:U,fontWeight:G},tablet:{".blockspare-block-button span":{fontSize:$+V}},mobile:{".blockspare-block-button span":{fontSize:q+V}}}),J.push({".blockspare-section-head-wrap":{backgroundColor:m||"transparent",textAlign:n,paddingTop:E+"px",paddingRight:T+"px",paddingBottom:C+"px",marginTop:O+"px",marginBottom:L+"px",paddingLeft:M+"px"}}),J.push({".blockspare-title":{color:i,fontSize:o+g+"!important",fontFamily:f+"!important",fontWeight:b+"!important",paddingTop:l+"px ",paddingBottom:s+"px"},".blockspare-subtitle":{color:c,fontSize:y+_+"!important",fontFamily:w+"!important",fontWeight:k+"!important",paddingTop:u+"px",paddingBottom:p+"px"},".blockspare-title-dash":{color:d},tablet:{".blockspare-title":{fontSize:v+g+"!important"},".blockspare-subtitle":{fontSize:S+_+"!important"}},mobile:{".blockspare-title":{fontSize:h+g+"!important"},".blockspare-subtitle":{fontSize:x+_+"!important"}}}),vr.a.all(J)};function Cc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Mc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Oc=blockspare_globals,Lc=wp.element,Dc=Lc.Component,Fc=Lc.Fragment,Pc=wp.compose.compose,jc=wp.i18n.__,Nc=wp.blockEditor,zc=Nc.AlignmentToolbar,Ac=Nc.URLInput,Yc=Nc.BlockControls,Bc=Nc.BlockAlignmentToolbar,Ic=Nc.RichText,Rc=wp.components,Hc=Rc.IconButton,Wc=Rc.Dashicon;var Uc=Pc(gr,mr(Tc))(class extends Dc{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonAlignment,l=t.buttonSize,s=t.buttonShape,c=t.showImage,u=t.imgURL,p=t.sectionAlignment,d=t.backgroundFix,m=(t.imgAlt,t.opacityRatio),f=t.headerTagOption,b=t.headerTitle,g=t.headerSubTitle,h=t.buttonHoverEffect,v=t.headerlayoutOption,y=(t.profileContentFontSize,t.titleLoadGoogleFonts),w=t.titleFontFamily,k=t.titleFontWeight,_=t.subTitleLoadGoogleFonts,x=t.subTitleFontFamily,S=t.subTitleFontWeight,E=t.buttonLoadGoogleFonts,T=t.buttonFontFamily,C=t.buttonFontWeight,M=e.className,O=e.isSelected,L=(e.attributes,e.setAttributes);let D="url("+Oc.img+")";u&&u.length&&(D="url("+u+")");const F=o()([M,"align"+n,"blockspare-calltoaction"]);let P;if(1==E){const e={google:{families:[T+(C?":"+C:"")]}};P=wp.element.createElement(Lr,{config:e})}return wp.element.createElement(Fc,null,wp.element.createElement(Yc,null,wp.element.createElement(Bc,{value:n,onChange:e=>{L({align:e})},controls:["center","wide","full"]}),wp.element.createElement(zc,{value:p,onChange:e=>{L({sectionAlignment:e})}})),wp.element.createElement(mc,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cc(Object(n),!0).forEach((function(t){Mc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:L},this.props)),wp.element.createElement("div",{className:F},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-cta-wrapper blockspare-blocks","align"+n,u&&u.length&&d?"blockspare-background-fix":"")},c&&u&&wp.element.createElement("div",{className:o()("blockspare-image-wrap","blockspare-cta-background",(j=m,0===j?null:"has-background-opacity-"+10*Math.round(j/10)),{"has-background-opacity":0!==m}),style:{backgroundImage:D}}),!u&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",v,"blockspare-"+p)},wp.element.createElement(wc,{setAttributes:L,headerTitle:b,headerTagOption:f,headerSubTitle:g,titleFontFamily:w,titleFontWeight:k,titleLoadGoogleFonts:y,subTitleLoadGoogleFonts:_,subTitleFontFamily:x,subTitleFontWeight:S}))),wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement("a",{href:"#"},wp.element.createElement(Ic,{tagName:"span",placeholder:jc("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:""+a,allowedFormats:[],className:o()("blockspare-button",s,l,h),onChange:e=>L({buttonText:e})}))),O&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+i,onSubmit:e=>e.preventDefault()},wp.element.createElement(Wc,{icon:"admin-links"}),wp.element.createElement(Ac,{className:"button-url",value:r,onChange:e=>L({buttonUrl:e})}),wp.element.createElement(Hc,{icon:"editor-break",label:jc("Apply","blockspare"),type:"submit"})))),P);var j}});const Gc=wp.element,Vc=Gc.Component,qc=Gc.Fragment,$c=wp.editor,Jc=$c.RichText;$c.getFontSizeClass,$c.getColorClassName;class Xc extends Vc{render(){const e=this.props,t=(e.align,e.headerTitle),n=e.headerTagOption,a=e.headerSubTitle;return wp.element.createElement(qc,null,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash"}),t&&wp.element.createElement(Jc.Content,{tagName:n,className:"blockspare-title",value:t}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash"})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash"}),a&&wp.element.createElement(Jc.Content,{tagName:"p",className:"blockspare-subtitle",value:a}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash"})))}}const Kc=blockspare_globals,Qc=wp.element.Component,Zc=(wp.i18n.__,wp.compose.compose),eu=wp.blockEditor.RichText;var tu=Zc(gr,mr(Tc))(class extends Qc{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.opacityRatio,u=t.sectionAlignment,p=t.showImage,d=t.imgURL,m=t.headerlayoutOption,f=t.headerTagOption,b=t.headerTitle,g=t.headerSubTitle,h=t.buttonHoverEffect,v=t.backgroundFix,y=e.className;e.attributes;let w="url("+Kc.img+")";d&&d.length&&(w="url("+d+")");const k=o()([y,"align"+n,"blockspare-calltoaction"]);return wp.element.createElement("div",{className:k},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-cta-wrapper blockspare-blocks",d&&d.length&&v?"blockspare-background-fix":"")},p&&d&&wp.element.createElement("div",{className:o()("blockspare-image-wrap","blockspare-cta-background",(_=c,0===_?null:"has-background-opacity-"+10*Math.round(_/10)),{"has-background-opacity":0!==c}),style:{backgroundImage:w}}),!d&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",m,"blockspare-"+u)},wp.element.createElement(Xc,{headerTitle:b,headerTagOption:f,headerSubTitle:g}))),wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:i?"_blank":null,rel:i?"noopener noreferrer":null,className:o()("blockspare-button",s,l,h)},wp.element.createElement(eu.Content,{tagName:"span",value:a})))));var _}});var nu=n(307);var au=e=>{let t="";return t={borderColor:e.dashColor?e.dashColor:"#8b249c"},t};var ru=e=>{let t="";return t={color:e.headertitleColor?e.headertitleColor:"#404040",fontSize:e.titleFontSize+"px",paddingTop:e.titlePaddingTop?e.titlePaddingTop+"px":"0px",paddingBottom:e.titlePaddingBottom?e.titlePaddingBottom+"px":"0px"},t};var iu=e=>{let t="";return t={fontSize:e.subtitleFontSize+"px",color:e.headersubtitleColor?e.headersubtitleColor:"#6d6d6d",paddingTop:e.subtitlePaddingTop?e.subtitlePaddingTop+"px":void 0,paddingBottom:e.subtitlePaddingBottom?e.subtitlePaddingBottom+"px":void 0},t};var ou=e=>{let t="";if("none"===e.buttonStyle)if(1==e.enableGradient){const n=e.gradientAngle+"deg",a=e.colorLocation1+"%",r=e.colorLocation2+"%";t={backgroundImage:`linear-gradient(${n},${e.backgroundColor1?e.backgroundColor1:"#3B1A5B"} ${a},${e.backgroundColor2?e.backgroundColor2:"#8B249C"} ${r})`,color:e.buttonTextColor?e.buttonTextColor:"#fff",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"}}else t={color:e.buttonTextColor?e.buttonTextColor:"#fff",backgroundColor:e.buttonBackgroundColor?e.buttonBackgroundColor:"#3c1a5b",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};else t={color:e.borderBtnTextColor?e.borderBtnTextColor:"#404040",backgroundColor:"transparent",borderColor:e.borderColor?e.borderColor:"#3c1a5b",borderStyle:e.buttonStyle,fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};return t};function lu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function su(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const cu=wp.element.Component;class uu extends cu{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lu(Object(n),!0).forEach((function(t){su(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({backgroundColor:e.ctaBackGroundColor?e.ctaBackGroundColor:"#0e0e0e"},kc(e),{},_c(e),{borderRadius:e.borderRadius?e.borderRadius:null});return wp.element.createElement("div",{className:o()("blockspare-cta-wrapper blockspare-blocks","align"+e.align,e.imgURL&&e.imgURL.length&&e.backgroundFix?"blockspare-background-fix":""),style:t},this.props.children)}}var pu=e=>{let t="";return t={textAlign:e.sectionAlignment,paddingTop:e.headerpaddingTop?e.headerpaddingTop+"px":"0px",paddingRight:e.headerpaddingRight?e.headerpaddingRight+"px":"0px",paddingBottom:e.headerpaddingBottom?e.headerpaddingBottom+"px":"0px",marginTop:e.headermarginTop?e.headermarginTop+"px":"0px",marginBottom:e.headermarginBottom?e.headermarginBottom+"px":"0px",paddingLeft:e.headerpaddingLeft?e.headerpaddingLeft+"px":"0px",backgroundColor:e.headerboxColor?e.headerboxColor:"transparent"},t};function du(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function mu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const fu=wp.element.Component;class bu extends fu{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerlayoutOption,i=e.attributes,l=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?du(Object(n),!0).forEach((function(t){mu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):du(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},pu(i)));return wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+n),style:l},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",r,"blockspare-"+a)},this.props.children))}}const gu=wp.element.Component;class hu extends gu{constructor(e){super(...arguments)}render(){return wp.element.createElement("div",{style:{textAlign:this.props.attributes.sectionAlignment},className:o()(this.props.className,"blockspare-block-button")},this.props.children)}}function vu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function yu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vu(Object(n),!0).forEach((function(t){wu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ku=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.ctaBackGroundColor,r=t.borderRadius,i=t.headertitleColor,o=t.titleFontSize,l=t.titlePaddingTop,s=t.titlePaddingBottom,c=t.headersubtitleColor,u=(t.subtitleFontSize,t.subtitlePaddingTop),p=t.subtitlePaddingBottom,d=t.dashColor,m=t.headerboxColor,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=t.subTitleFontSize,w=t.subTitleFontFamily,k=t.subTitleFontWeight,_=(t.subTitleFontSubset,t.subTitleFontSizeType),x=t.subTitleFontSizeMobile,S=t.subTitleFontSizeTablet,E=t.headerpaddingTop,T=t.headerpaddingRight,C=t.headerpaddingBottom,M=t.headerpaddingLeft,O=t.headermarginTop,L=t.headermarginBottom,D=[];return D.push({".blockspare-cta-wrapper":yu({backgroundColor:a||"#0e0e0e"},kc(e.attributes),{},_c(e.attributes),{borderRadius:r?r+"px":null}),".blockspare-button":yu({},Xr(e.attributes))}),D.push({".blockspare-section-head-wrap":{backgroundColor:m||"transparent",textAlign:n,paddingTop:E+"px",paddingRight:T+"px",paddingBottom:C+"px",marginTop:O+"px",marginBottom:L+"px",paddingLeft:M+"px"}}),D.push({".blockspare-title":{color:i,fontSize:o+g+"!important",fontFamily:f+"!important",fontWeight:b+"!important",paddingTop:l+"px ",paddingBottom:s+"px"},".blockspare-subtitle":{color:c,fontSize:y+_+"!important",fontFamily:w+"!important",fontWeight:k+"!important",paddingTop:u+"px",paddingBottom:p+"px"},".blockspare-title-dash":{color:d},tablet:{".blockspare-title":{fontSize:v+g+"!important"},".blockspare-subtitle":{fontSize:S+_+"!important"}},mobile:{".blockspare-title":{fontSize:h+g+"!important"},".blockspare-subtitle":{fontSize:x+_+"!important"}}}),vr.a.all(D)};const _u=blockspare_globals,xu=wp.element.Component,Su=(wp.i18n.__,wp.compose.compose),Eu=wp.blockEditor.RichText;var Tu=Su(gr,mr(ku))(class extends xu{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.opacityRatio,u=t.sectionAlignment,p=t.showImage,d=t.imgURL,m=t.headerlayoutOption,f=t.headerTagOption,b=t.headerTitle,g=t.headerSubTitle,h=t.buttonHoverEffect,v=t.backgroundFix,y=e.className;e.attributes;let w="url("+_u.img+")";d&&d.length&&(w="url("+d+")");const k=o()([y,"align"+n,"blockspare-calltoaction"]);return wp.element.createElement("div",{className:k},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-cta-wrapper blockspare-blocks",d&&d.length&&v?"blockspare-background-fix":"")},p&&wp.element.createElement("div",{className:o()("blockspare-image-wrap","blockspare-cta-background",(_=c,0===_?null:"has-background-opacity-"+10*Math.round(_/10)),{"has-background-opacity":0!==c}),style:{backgroundImage:w}}),wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",m,"blockspare-"+u)},wp.element.createElement(Xc,{headerTitle:b,headerTagOption:f,headerSubTitle:g}))),wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:i?"_blank":null,rel:i?"noopener noreferrer":null,className:o()("blockspare-button",s,l,h)},wp.element.createElement(Eu.Content,{value:a})))));var _}});function Cu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Mu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cu(Object(n),!0).forEach((function(t){Ou(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ou(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lu=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.ctaBackGroundColor,r=t.borderRadius,i=t.headertitleColor,o=t.titleFontSize,l=t.titlePaddingTop,s=t.titlePaddingBottom,c=t.headersubtitleColor,u=(t.subtitleFontSize,t.subtitlePaddingTop),p=t.subtitlePaddingBottom,d=t.dashColor,m=t.headerboxColor,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=t.subTitleFontSize,w=t.subTitleFontFamily,k=t.subTitleFontWeight,_=(t.subTitleFontSubset,t.subTitleFontSizeType),x=t.subTitleFontSizeMobile,S=t.subTitleFontSizeTablet,E=t.headerpaddingTop,T=t.headerpaddingRight,C=t.headerpaddingBottom,M=t.headerpaddingLeft,O=t.headermarginTop,L=t.headermarginBottom,D=[];return D.push({".blockspare-cta-wrapper":Mu({backgroundColor:a||"#0e0e0e"},kc(e.attributes),{},_c(e.attributes),{borderRadius:r?r+"px":null}),".blockspare-button":Mu({},Kr(e.attributes))}),D.push({".blockspare-section-head-wrap":{backgroundColor:m||"transparent",textAlign:n,paddingTop:E+"px",paddingRight:T+"px",paddingBottom:C+"px",marginTop:O+"px",marginBottom:L+"px",paddingLeft:M+"px"}}),D.push({".blockspare-title":{color:i,fontSize:o+g+"!important",fontFamily:f+"!important",fontWeight:b+"!important",paddingTop:l+"px ",paddingBottom:s+"px"},".blockspare-subtitle":{color:c,fontSize:y+_+"!important",fontFamily:w+"!important",fontWeight:k+"!important",paddingTop:u+"px",paddingBottom:p+"px"},".blockspare-title-dash":{color:d},tablet:{".blockspare-title":{fontSize:v+g+"!important"},".blockspare-subtitle":{fontSize:S+_+"!important"}},mobile:{".blockspare-title":{fontSize:h+g+"!important"},".blockspare-subtitle":{fontSize:x+_+"!important"}}}),vr.a.all(D)};const Du=blockspare_globals,Fu=wp.element.Component,Pu=(wp.i18n.__,wp.compose.compose),ju=wp.blockEditor.RichText;var Nu=Pu(gr,mr(Lu))(class extends Fu{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.opacityRatio,u=t.sectionAlignment,p=t.showImage,d=t.imgURL,m=t.headerlayoutOption,f=t.headerTagOption,b=t.headerTitle,g=t.headerSubTitle,h=t.buttonHoverEffect,v=t.backgroundFix,y=e.className;e.attributes;let w="url("+Du.img+")";d&&d.length&&(w="url("+d+")");const k=o()([y,"align"+n,"blockspare-calltoaction"]);return wp.element.createElement("div",{className:k},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-cta-wrapper blockspare-blocks",d&&d.length&&v?"blockspare-background-fix":"")},p&&wp.element.createElement("div",{className:o()("blockspare-image-wrap","blockspare-cta-background",(_=c,0===_?null:"has-background-opacity-"+10*Math.round(_/10)),{"has-background-opacity":0!==c}),style:{backgroundImage:w}}),wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",m,"blockspare-"+u)},wp.element.createElement(Xc,{headerTitle:b,headerTagOption:f,headerSubTitle:g}))),wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:i?"_blank":null,rel:i?"noopener noreferrer":null,className:o()("blockspare-button",s,l,h)},wp.element.createElement(ju.Content,{value:a})))));var _}});function zu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Au(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zu(Object(n),!0).forEach((function(t){Yu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bu=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.ctaBackGroundColor,r=t.borderRadius,i=t.headertitleColor,o=t.titleFontSize,l=t.titlePaddingTop,s=t.titlePaddingBottom,c=t.headersubtitleColor,u=(t.subtitleFontSize,t.subtitlePaddingTop),p=t.subtitlePaddingBottom,d=t.dashColor,m=t.headerboxColor,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=t.subTitleFontSize,w=t.subTitleFontFamily,k=t.subTitleFontWeight,_=(t.subTitleFontSubset,t.subTitleFontSizeType),x=t.subTitleFontSizeMobile,S=t.subTitleFontSizeTablet,E=t.headerpaddingTop,T=t.headerpaddingRight,C=t.headerpaddingBottom,M=t.headerpaddingLeft,O=t.headermarginTop,L=t.headermarginBottom,D=t.buttonStyle,F=t.enableGradient,P=t.backgroundColor1,j=t.backgroundColor2,N=t.gradientAngle,z=t.colorLocation1,A=t.colorLocation2,Y=t.btnFontWeight,B=t.btnBorderWidth,I=t.borderColor,R=t.buttonBackgroundColor,H=t.borderBtnTextColor,W=t.buttonTextColor,U=[];if(U.push({".blockspare-cta-wrapper":Au({backgroundColor:a||"#0e0e0e"},kc(e.attributes),{},_c(e.attributes),{borderRadius:r?r+"px":null})}),"none"===D)if(1==F){const e=N+"deg",t=z+"%",n=A+"%";U.push({".blockspare-block-button span":{color:W||"#fff",fontWeight:Y,borderWidth:B+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${P||"#3B1A5B"} ${t},${j||"#8B249C"} ${n})`}})}else U.push({".blockspare-block-button span":{color:W||"#fff",fontWeight:Y,borderWidth:B+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:R||"#3c1a5b"}});else U.push({".blockspare-block-button span":{color:H||"#404040",borderColor:I||"#3c1a5b",borderStyle:D,fontWeight:Y,borderWidth:B+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return U.push({".blockspare-section-head-wrap":{backgroundColor:m||"transparent",textAlign:n,paddingTop:E+"px",paddingRight:T+"px",paddingBottom:C+"px",marginTop:O+"px",marginBottom:L+"px",paddingLeft:M+"px"}}),U.push({".blockspare-title":{color:i,fontSize:o+g+"!important",fontFamily:f+"!important",fontWeight:b+"!important",paddingTop:l+"px ",paddingBottom:s+"px"},".blockspare-subtitle":{color:c,fontSize:y+_+"!important",fontFamily:w+"!important",fontWeight:k+"!important",paddingTop:u+"px",paddingBottom:p+"px"},".blockspare-title-dash":{color:d},tablet:{".blockspare-title":{fontSize:v+g+"!important"},".blockspare-subtitle":{fontSize:S+_+"!important"}},mobile:{".blockspare-title":{fontSize:h+g+"!important"},".blockspare-subtitle":{fontSize:x+_+"!important"}}}),vr.a.all(U)};const Iu=blockspare_globals,Ru=wp.element.Component,Hu=(wp.i18n.__,wp.compose.compose),Wu=wp.blockEditor.RichText;var Uu=Hu(gr,mr(Bu))(class extends Ru{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.opacityRatio,u=t.sectionAlignment,p=t.showImage,d=t.imgURL,m=t.headerlayoutOption,f=t.headerTagOption,b=t.headerTitle,g=t.headerSubTitle,h=t.buttonHoverEffect,v=t.backgroundFix,y=e.className;e.attributes;let w="url("+Iu.img+")";d&&d.length&&(w="url("+d+")");const k=o()([y,"align"+n,"blockspare-calltoaction"]);return wp.element.createElement("div",{className:k},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-cta-wrapper blockspare-blocks",d&&d.length&&v?"blockspare-background-fix":"")},p&&wp.element.createElement("div",{className:o()("blockspare-image-wrap","blockspare-cta-background",(_=c,0===_?null:"has-background-opacity-"+10*Math.round(_/10)),{"has-background-opacity":0!==c}),style:{backgroundImage:w}}),wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",m,"blockspare-"+u)},wp.element.createElement(Xc,{headerTitle:b,headerTagOption:f,headerSubTitle:g}))),wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:i?"_blank":null,rel:i?"noopener noreferrer":null,className:o()("blockspare-button",s,l,h)},wp.element.createElement(Wu.Content,{tagName:"span",value:a})))));var _}});function Gu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Vu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gu(Object(n),!0).forEach((function(t){qu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const $u=blockspare_globals,Ju=Vu({},xi,{},nu.attributes,{},Jr,{},Ei,{},Si),Xu=wp.blockEditor.RichText;wp.i18n.__;var Ku=[{attributes:Ju,save:function(e){const t=e.attributes,n=(t.align,t.buttonText),a=t.buttonUrl,r=t.buttonTarget,i=t.buttonSize,l=t.buttonShape,s=t.opacityRatio,c=t.sectionAlignment,u=t.showImage,p=t.imgURL,d=(t.imgAlt,t.headerTagOption),m=t.headerTitle,f=t.headerSubTitle,b=t.buttonHoverEffect,g=Vu({},au(e.attributes)),h=Vu({},ru(e.attributes)),v=Vu({},iu(e.attributes)),y=Vu({},ou(e.attributes));let w="url("+$u.img+")";p&&p.length&&(w="url("+p+")");Vu({backgroundColor:Ju.ctaBackGroundColor?Ju.ctaBackGroundColor:"#0e0e0e"},kc(Ju),{},_c(Ju),{borderRadius:Ju.borderRadius?Ju.borderRadius:null});return wp.element.createElement(uu,e,u&&p&&wp.element.createElement("div",{className:o()("blockspare-image-wrap","blockspare-cta-background",(k=s,0===k?null:"has-background-opacity-"+10*Math.round(k/10)),{"has-background-opacity":0!==s}),style:{backgroundImage:w}}),!p&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-head-wrap",style:{textAlign:c}},wp.element.createElement(bu,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:g}),m&&wp.element.createElement(Xu.Content,{tagName:d,className:"blockspare-title",style:h,value:m}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:g})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:g}),f&&wp.element.createElement(Xu.Content,{tagName:"p",className:"blockspare-subtitle",style:v,value:f}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:g})))),wp.element.createElement(hu,e,n&&wp.element.createElement("a",{href:a,target:r?"_blank":null,rel:r?"noopener noreferrer":null,className:o()("blockspare-button",l,i,b),style:y},wp.element.createElement(Xu.Content,{value:n}))));var k}},{attributes:Vu({},xi,{className:{type:"string"},align:{type:"string",default:"center"},sectionAlignment:{type:"string",default:"center"},showImage:{type:"boolean",default:!0},imgURL:{type:"string"},imgID:{type:"number"},imgAlt:{type:"string"},opacityRatio:{type:"number",default:75},ctaBackGroundColor:{type:"string",default:"#0e0e0e"},borderRadius:{type:"number",default:0},headerTagOption:{type:"string",default:"h2"},backgroundFix:{type:"boolean",default:!1},headertitleColor:{type:"string",default:"#fff"},headersubtitleColor:{type:"string",default:"#fff"},headermarginTop:{type:"number",default:5},headermarginBottom:{type:"number",default:5},headerpaddingLeft:{type:"number",default:0},headerpaddingRight:{type:"number",default:0}},Jr,{},Ei,{},Si),save:e=>wp.element.createElement(Nu,e)},{attributes:Vu({},xi,{className:{type:"string"},align:{type:"string",default:"center"},sectionAlignment:{type:"string",default:"center"},showImage:{type:"boolean",default:!0},imgURL:{type:"string"},imgID:{type:"number"},imgAlt:{type:"string"},opacityRatio:{type:"number",default:75},ctaBackGroundColor:{type:"string",default:"#0e0e0e"},borderRadius:{type:"number",default:0},headerTagOption:{type:"string",default:"h2"},backgroundFix:{type:"boolean",default:!1},headertitleColor:{type:"string",default:"#fff"},headersubtitleColor:{type:"string",default:"#fff"},headermarginTop:{type:"number",default:5},headermarginBottom:{type:"number",default:5},headerpaddingLeft:{type:"number",default:0},headerpaddingRight:{type:"number",default:0}},Jr,{},Ei,{},Si),save:e=>wp.element.createElement(Tu,e)},{attributes:Vu({},xi,{className:{type:"string"},align:{type:"string",default:"center"},sectionAlignment:{type:"string",default:"center"},showImage:{type:"boolean",default:!0},imgURL:{type:"string"},imgID:{type:"number"},imgAlt:{type:"string"},opacityRatio:{type:"number",default:75},ctaBackGroundColor:{type:"string",default:"#0e0e0e"},borderRadius:{type:"number",default:0},headerTagOption:{type:"string",default:"h2"},backgroundFix:{type:"boolean",default:!1},headertitleColor:{type:"string",default:"#fff"},headersubtitleColor:{type:"string",default:"#fff"},headermarginTop:{type:"number",default:5},headermarginBottom:{type:"number",default:5},headerpaddingLeft:{type:"number",default:0},headerpaddingRight:{type:"number",default:0}},Jr,{},Ei,{},Si),save:e=>wp.element.createElement(Uu,e)}];function Qu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Zu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ep=_i.name,tp=_i.category,np=wp.blocks.registerBlockType,ap=wp.i18n.__,rp=["center","wide","full"],ip=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qu(Object(n),!0).forEach((function(t){Zu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},xi,{},_i.attributes,{},Jr,{},Ei,{},Si);np(ep,{title:ap("BS Call to Action","blockspare"),description:ap("BS call to action allow you to add title,subtitle,text button and background image/color","blockspare"),category:tp,icon:r.cta,attributes:ip,keywords:[ap("call to action","blockspare"),ap("block","blockspare"),ap("cta","blockspare"),ap("link","blockspare")],example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},getEditWrapperProps(e){const t=e.align;if(-1!==rp.indexOf(t))return{"data-align":t}},edit:Uc,save:tu,deprecated:Ku});n(589),n(591);var op=n(33);const lp=wp.element.Component,sp=wp.i18n.__,cp=wp.hooks.applyFilters,up=wp.blockEditor,pp=up.InspectorControls,dp=up.MediaUpload,mp=up.PanelColorSettings,fp=wp.components,bp=fp.ToggleControl,gp=fp.PanelBody,hp=fp.SelectControl,vp=fp.IconButton;fp.RangeControl;class yp extends lp{render(){const e=[{value:"",label:sp("Default","blockspare")},{value:"blockspare-style1",label:sp("Style 1","blockspare")},{value:"blockspare-style2",label:sp("Style 2","blockspare")}],t=this.props,n=t.attributes,a=n.backGroundColor,r=n.imageShape,i=n.descriptionColor,o=n.imgID,l=n.imgURL,s=n.imgAlt,c=n.showContentImg,u=n.buttonBackgroundColor,p=n.buttonTextColor,d=n.buttonSize,m=n.buttonShape,f=n.buttonTarget,b=n.buttonStyle,g=n.borderColor,h=n.borderBtnTextColor,v=n.showButton,y=n.marginTop,w=n.marginBottom,k=n.layoutOption,_=n.titleFontSize,x=(n.subtitleFontSize,n.headerboxColor),S=n.headertitleColor,E=n.headersubtitleColor,T=n.headerlayoutOption,C=n.titlePaddingTop,M=n.titlePaddingBottom,O=n.subtitlePaddingTop,L=n.subtitlePaddingBottom,D=n.dashColor,F=n.design,P=void 0===F?"style-1":F,j=n.enableGradient,N=n.backgroundColor1,z=n.backgroundColor2,A=n.gradientAngle,Y=n.colorLocation1,B=n.colorLocation2,I=n.headerTagOption,R=(n.enableBoxShadow,n.xOffset,n.yOffset,n.blur,n.spread,n.shadowColor,n.borderRadius,n.btnFontWeight),H=n.btnBorderWidth,W=n.buttonHoverEffect,U=n.titleLoadGoogleFonts,G=n.titleFontFamily,V=n.titleFontWeight,q=n.titleFontSubset,$=n.titleFontSizeType,J=n.titleFontSizeMobile,X=n.titleFontSizeTablet,K=n.subTitleFontSize,Q=n.subTitleLoadGoogleFonts,Z=n.subTitleFontFamily,ee=n.subTitleFontWeight,te=n.subTitleFontSubset,ne=n.subTitleFontSizeType,ae=n.subTitleFontSizeMobile,re=n.subTitleFontSizeTablet,ie=n.descriptionFontSize,oe=n.descriptionFontFamily,le=n.descriptionFontWeight,se=n.descriptionFontSubset,ce=n.descriptionFontSizeType,ue=n.descriptionFontSizeMobile,pe=n.descriptionFontSizeTablet,de=n.descriptionLoadGoogleFonts,me=n.buttonFontSize,fe=n.buttonFontFamily,be=n.buttonFontWeight,ge=n.buttonFontSubset,he=n.buttonFontSizeType,ve=n.buttonFontSizeMobile,ye=n.buttonFontSizeTablet,we=n.buttonLoadGoogleFonts,ke=t.attributes,xe=t.setAttributes,Se=()=>{xe({imgID:null,imgURL:null,imgAlt:null})};sp("Layout 1","blockspare"),sp("Layout 2","blockspare"),sp("Layout 3","blockspare");return wp.element.createElement(pp,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Qs,{initialOpen:!1,selected:P,options:cp("blockspare.cta.edit.layouts",[{label:sp("Layout 1","blockspare"),value:"style-1",image:"images/style-1.png"},{label:sp("Layout 2","blockspare"),value:"style-2",image:"images/style-2.png"},{label:sp("Layout 3","blockspare"),value:"style-3",image:"images/style-3.png"}]),onChange:e=>xe({design:e})}),wp.element.createElement(gp,{title:sp("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(bp,{label:sp("Display Button","blockspare"),checked:v,onChange:()=>this.props.setAttributes({showButton:!v})}),wp.element.createElement(bp,{label:sp("Reverse","blockspare"),checked:k,onChange:()=>this.props.setAttributes({layoutOption:!k})}),c&&wp.element.createElement(dp,{onSelect:e=>{xe({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:o,render:({open:e})=>wp.element.createElement("div",null,wp.element.createElement(vp,{className:"aft-cta-inspector-media",label:sp("Edit image","blockspare"),icon:"format-image",onClick:e},sp("Select Image","blockspare")),l&&!!l.length&&wp.element.createElement(vp,{className:"blockspare-cta-inspector-media",label:sp("Remove Image","blockspare"),icon:"dismiss",onClick:Se},sp("Remove","blockspare")))}),l&&!!l.length&&wp.element.createElement("div",null,wp.element.createElement("img",{src:l,width:"100px",height:"100px",alt:s})),l&&!!l.length&&wp.element.createElement(hp,{label:sp("Choose Image Shape","blockspare"),options:e,value:r,onChange:e=>this.props.setAttributes({imageShape:e})}),"style-3"!=P&&wp.element.createElement(mp,{title:sp("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:a,onChange:e=>xe({backGroundColor:e}),label:sp("Background Color","blockspare")}]})),wp.element.createElement(gp,{title:sp("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(tc,{headerlayoutOption:T,onChangeHeaderLayput:e=>xe({headerlayoutOption:e})}),wp.element.createElement(gp,{title:sp("Typography Settings","blockspare")},wp.element.createElement(Ps,{label:sp("Title Fonts Settings"),attributes:ke,setAttributes:xe,loadGoogleFonts:{value:U,label:sp("titleLoadGoogleFonts")},fontFamily:{value:G,label:sp("titleFontFamily")},fontWeight:{value:V,label:sp("titleFontWeight")},fontSubset:{value:q,label:sp("titleFontSubset")},fontSizeType:{value:$,label:sp("titleFontSizeType")},fontSize:{value:_,label:sp("titleFontSize")},fontSizeMobile:{value:J,label:sp("titleFontSizeMobile")},fontSizeTablet:{value:X,label:sp("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:I}),wp.element.createElement(Ps,{label:sp("Subtitle Fonts Settings"),attributes:ke,setAttributes:xe,loadGoogleFonts:{value:Q,label:sp("subTitleLoadGoogleFonts")},fontFamily:{value:Z,label:sp("subTitleFontFamily")},fontWeight:{value:ee,label:sp("subTitleFontWeight")},fontSubset:{value:te,label:sp("subTitleFontSubset")},fontSizeType:{value:ne,label:sp("subTitleFontSizeType")},fontSize:{value:K,label:sp("subTitleFontSize")},fontSizeMobile:{value:ae,label:sp("subTitleFontSizeMobile")},fontSizeTablet:{value:re,label:sp("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),wp.element.createElement(Ps,{label:sp("Description Fonts Settings"),attributes:ke,setAttributes:xe,loadGoogleFonts:{value:de,label:sp("descriptionLoadGoogleFonts")},fontFamily:{value:oe,label:sp("descriptionFontFamily")},fontWeight:{value:le,label:sp("descriptionFontWeight")},fontSubset:{value:se,label:sp("descriptionFontSubset")},fontSizeType:{value:ce,label:sp("descriptionFontSizeType")},fontSize:{value:ie,label:sp("descriptionFontSize")},fontSizeMobile:{value:ue,label:sp("descriptionFontSizeMobile")},fontSizeTablet:{value:pe,label:sp("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(Fi,{enableBlockGaps:!1,headerboxColor:x,onChangeboxcolor:e=>xe({headerboxColor:e}),dashColor:D,headerTagOption:I,onChangeDashColor:e=>xe({dashColor:e}),headertitleColor:S,onChangetitlecolor:e=>xe({headertitleColor:e}),titlePaddingTop:C,onChangetitlePaddingTop:e=>xe({titlePaddingTop:e}),titlePaddingBottom:M,onChangetitlePaddingBottom:e=>xe({titlePaddingBottom:e}),headersubtitleColor:E,onChangesubtitlecolor:e=>xe({headersubtitleColor:e}),subtitlePaddingTop:O,onChangesubtitlePaddingTop:e=>xe({subtitlePaddingTop:e}),subtitlePaddingBottom:L,onChangesubtitlePaddingBottom:e=>xe({subtitlePaddingBottom:e})})),wp.element.createElement(gp,{title:sp("Color Settings","blockspare"),initialOpen:!1},wp.element.createElement(mp,{title:sp("Description Color","blockspare"),initialOpen:!1,colorSettings:[{value:i,onChange:e=>xe({descriptionColor:e}),label:sp("Description Color","blockspare")}]})),v&&wp.element.createElement(gp,{title:sp("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(_e,{enableButtonTarget:!1,buttonTarget:f,onChangeButtonTarget:e=>xe({buttonTarget:!f}),enableGradient:j,onChangeGradient:e=>xe({enableGradient:e}),enableButtonSize:!0,buttonSize:d,onChangeButtonSize:e=>xe({buttonSize:e}),enableButtonShape:!0,buttonShape:m,onChangeButtonShape:e=>xe({buttonShape:e}),buttonBackgroundColor:u,onChangeButtonColor:e=>xe({buttonBackgroundColor:e}),buttonTextColor:p,onChangeButtonTextColor:e=>xe({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:b,onChangeBorderStyle:e=>xe({buttonStyle:e}),buttonHoverEffect:W,onchangeButtonHoverEffect:e=>xe({buttonHoverEffect:e}),borderColor:g,onchangeBorderColor:e=>xe({borderColor:e}),borderBtnTextColor:h,onChangeBorderBtnTextColor:e=>xe({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:H,onchangebtnBorderWidth:e=>xe({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:R,onchangeBtnFontWeight:e=>xe({btnFontWeight:e})}),wp.element.createElement(gp,{title:sp(" Typography","blockspare"),initialOpen:!0},wp.element.createElement(Ps,{label:sp("Button Fonts Settings"),attributes:ke,setAttributes:xe,loadGoogleFonts:{value:we,label:sp("buttonLoadGoogleFonts")},fontFamily:{value:fe,label:sp("buttonFontFamily")},fontWeight:{value:be,label:sp("buttonFontWeight")},fontSubset:{value:ge,label:sp("buttonFontSubset")},fontSizeType:{value:he,label:sp("buttonFontSizeType")},fontSize:{value:me,label:sp("buttonFontSize")},fontSizeMobile:{value:ve,label:sp("buttonFontSizeMobile")},fontSizeTablet:{value:ye,label:sp("buttonFontSizeTablet")},disableLineHeight:!0})),"none"===b&&wp.element.createElement(bp,{label:sp("Enable Gradient","blockspare"),checked:j,onChange:()=>this.props.setAttributes({enableGradient:!j})}),j&&"none"===b&&v&&wp.element.createElement(gp,{title:sp("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Ce,{backgroundColor1:N,onChangeBackgroundColor1:e=>xe({backgroundColor1:e}),backgroundColor2:z,onChangeBackgroundColor2:e=>xe({backgroundColor2:e}),gradientAngle:A,onChangeGradientAngle:e=>xe({gradientAngle:e}),colorLocation1:Y,onChangeColorLocation1:e=>xe({colorLocation1:e}),colorLocation2:B,onChangeColorLocation2:e=>xe({colorLocation2:e})}))),wp.element.createElement(gp,{title:sp("Block Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:y,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>xe({marginTop:e}),marginEnableBottom:!0,marginBottom:w,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>xe({marginBottom:e})}))))}}var kp=e=>{let t="";return"style-3"!=e.design&&(t={boxShadow:e.enableBoxShadow?e.xOffset+"px "+e.yOffset+"px "+e.blur+"px "+e.spread+"px "+e.shadowColor:"",borderRadius:e.borderRadius?e.borderRadius:null,backgroundColor:e.enableBackgroundColor?e.backGroundColor:void 0}),t};function _p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function xp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_p(Object(n),!0).forEach((function(t){Sp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ep=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.backGroundColor,v=t.subTitleFontSize,y=t.subTitleFontFamily,w=t.subTitleFontWeight,k=t.subTitleFontSizeType,_=t.subTitleFontSizeMobile,x=t.subTitleFontSizeTablet,S=t.headerpaddingTop,E=t.headerpaddingRight,T=t.headerpaddingBottom,C=t.headerpaddingLeft,M=t.headermarginTop,O=t.headermarginBottom,L=t.descriptionColor,D=t.descriptionFontSize,F=t.descriptionFontFamily,P=t.descriptionFontWeight,j=(t.descriptionFontSubset,t.descriptionFontSizeType),N=t.descriptionFontSizeMobile,z=t.descriptionFontSizeTablet,A=t.design,Y=t.buttonStyle,B=t.enableGradient,I=t.backgroundColor1,R=t.backgroundColor2,H=t.gradientAngle,W=t.colorLocation1,U=t.colorLocation2,G=(t.btnFontWeight,t.btnBorderWidth),V=t.borderColor,q=t.buttonBackgroundColor,$=t.borderBtnTextColor,J=t.buttonTextColor,X=t.buttonFontSize,K=t.buttonFontFamily,Q=t.buttonFontWeight,Z=t.buttonFontSizeType,ee=t.buttonFontSizeMobile,te=t.buttonFontSizeTablet,ne=[];if("style-3"!==A&&ne.push({".blockspare-contentBox .blockspare-section-wrapper":{backgroundColor:h||"#fff"}}),ne.push({".blockspare-content-wrapper":xp({},_c(e.attributes)),".blockspare-description":{color:L,fontSize:D+j,fontFamily:F,fontWeight:P},".blockspare-mainheader-wrap":xp({},kp(e.attributes)),".blockspare-section-header-wrapper":{borderColor:u}}),ne.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:S+"px",paddingRight:E+"px",paddingBottom:T+"px",marginTop:M+"px",marginBottom:O+"px",paddingLeft:C+"px"}}),"none"===Y)if(1==B){const e=H+"deg",t=W+"%",n=U+"%";ne.push({".blockspare-block-button span":{color:J||"#fff",borderWidth:G+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${I||"#3B1A5B"} ${t},${R||"#8B249C"} ${n})`}})}else ne.push({".blockspare-block-button span":{color:J||"#fff",borderWidth:G+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:q||"#3c1a5b"}});else ne.push({".blockspare-block-button span":{color:$||"#404040",borderColor:V||"#3c1a5b",borderStyle:Y,borderWidth:G+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return ne.push({".blockspare-block-button span":{fontSize:X+Z,fontFamily:K,fontWeight:Q},tablet:{".blockspare-block-button span":{fontSize:te+Z}},mobile:{".blockspare-block-button span":{fontSize:ee+Z}}}),ne.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:v+k,fontFamily:y,fontWeight:w,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:x+k},".blockspare-description":{fontSize:z+k}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:_+k},".blockspare-description":{fontSize:N+k}}}),vr.a.all(ne)};function Tp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Cp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Mp=blockspare_globals,Op=wp.element,Lp=Op.Component,Dp=Op.Fragment,Fp=wp.i18n.__,Pp=wp.compose.compose,jp=wp.blockEditor,Np=jp.BlockControls,zp=jp.RichText,Ap=jp.URLInput,Yp=jp.AlignmentToolbar,Bp=wp.components,Ip=Bp.IconButton,Rp=Bp.Dashicon;var Hp=Pp(gr,mr(Ep))(class extends Lp{render(){const e=this.props,t=e.attributes,n=(t.align,t.sectionAlignment),a=(t.backGroundColor,t.descriptionColor,t.sectionDescription),r=t.buttonText,i=t.buttonUrl,l=t.showButton,s=t.buttonSize,c=t.buttonShape,u=t.buttonAlignment,p=t.showContentImg,d=t.imgURL,m=t.imgAlt,f=t.imageShape,b=t.layoutOption,g=t.headerTagOption,h=t.headerTitle,v=t.headerSubTitle,y=t.design,w=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),k=(t.profileContentFontSize,t.titleLoadGoogleFonts),_=t.titleFontFamily,x=t.titleFontWeight,S=t.subTitleLoadGoogleFonts,E=t.subTitleFontFamily,T=t.subTitleFontWeight,C=t.headerlayoutOption,M=t.descriptionLoadGoogleFonts,O=t.descriptionFontFamily,L=t.descriptionFontWeight,D=(t.descriptionFontSubset,t.buttonLoadGoogleFonts),F=t.buttonFontFamily,P=t.buttonFontWeight,j=e.className,N=(e.attributes,e.setAttributes),z=e.isSelected;let A=Mp.img;d&&d.length&&(A=d);const Y=o()([j,"blockspare-contentBox"]);let B,I;if(1==M){const e={google:{families:[O+(L?":"+L:"")]}};B=wp.element.createElement(Lr,{config:e})}if(1==D){const e={google:{families:[F+(P?":"+P:"")]}};I=wp.element.createElement(Lr,{config:e})}return wp.element.createElement(Dp,null,wp.element.createElement(yp,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tp(Object(n),!0).forEach((function(t){Cp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:N},this.props)),wp.element.createElement(Np,null,wp.element.createElement(Yp,{value:n,onChange:e=>{N({sectionAlignment:e})}})),wp.element.createElement("div",{className:Y},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-content-wrapper blockspare-blocks",1==b?"reverse-img":"","style-3"!=y?"has-background":"",y)},p&&d&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:A,alt:m,className:f})),!d&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap"},wp.element.createElement("div",{className:"blockspare-section-head-wrap"},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",C,"blockspare-"+n)},wp.element.createElement(wc,{setAttributes:N,headerTitle:h,headerTagOption:g,headerSubTitle:v,titleFontFamily:_,titleFontWeight:x,titleLoadGoogleFonts:k,subTitleLoadGoogleFonts:S,subTitleFontFamily:E,subTitleFontWeight:T}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(zp,{tagName:"p",placeholder:Fp("Description","blockspare"),keepPlaceholderOnFocus:!0,value:a,className:"blockspare-description",onChange:e=>N({sectionDescription:e})}),l&&wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement(zp,{tagName:"span",placeholder:Fp("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:`<span>${r}</span>`,allowedFormats:[],className:o()("blockspare-button",c,s,w),onChange:e=>N({buttonText:e})})),z&&l&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+u,onSubmit:e=>e.preventDefault()},wp.element.createElement(Rp,{icon:"admin-links"}),wp.element.createElement(Ap,{className:"button-url",value:i,onChange:e=>N({buttonUrl:e})}),wp.element.createElement(Ip,{icon:"editor-break",label:Fp("Apply","blockspare"),type:"submit"}))))),B,I))}});const Wp=blockspare_globals,Up=wp.element.Component,Gp=(wp.i18n.__,wp.compose.compose),Vp=wp.blockEditor.RichText;var qp=Gp(gr,mr(Ep))(class extends Up{render(){const e=this.props,t=e.attributes,n=(t.align,t.sectionAlignment),a=(t.descriptionColor,t.sectionDescription),r=t.buttonText,i=t.buttonUrl,l=t.showButton,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.showContentImg,d=t.imgURL,m=t.imgAlt,f=t.imageShape,b=t.layoutOption,g=t.headerTitle,h=t.headerSubTitle,v=(t.dashColor,t.headerlayoutOption),y=t.headerTagOption,w=(t.backGroundColor,t.design),k=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),_=e.className;e.attributes;let x=Wp.img;d&&d.length&&(x=d);const S=o()([_,"blockspare-contentBox"]);return wp.element.createElement("div",{className:S},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-content-wrapper blockspare-blocks",1==b?"reverse-img":"","style-3"!=w?"has-background":"",w)},p&&d&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:x,alt:m,className:f})),!d&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",v,"blockspare-"+n)},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",v,"blockspare-"+n)},wp.element.createElement(Xc,{headerTitle:g,headerTagOption:y,headerSubTitle:h}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(Vp.Content,{tagName:"p",className:"blockspare-description",value:a}),l&&wp.element.createElement("div",{className:"blockspare-block-button"},r&&wp.element.createElement("a",{href:i,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:o()("blockspare-button",c,s,k)},wp.element.createElement(Vp.Content,{tagName:"span",value:r}))))))))}});const $p=wp.element.Component;class Jp extends $p{constructor(e){super(...arguments)}render(){return wp.element.createElement("div",{style:{textAlign:this.props.attributes.sectionAlignment},className:o()("blockspare-block-button")},this.props.children)}}function Xp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Kp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xp(Object(n),!0).forEach((function(t){Qp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Zp=blockspare_globals,ed=wp.element,td=ed.Component,nd=(ed.Fragment,wp.i18n.__,wp.blockEditor),ad=(nd.BlockControls,nd.RichText);nd.URLInput,nd.AlignmentToolbar;class rd extends td{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.descriptionColor,i=t.sectionDescription,l=t.buttonText,s=t.buttonUrl,c=t.showButton,u=t.buttonSize,p=t.buttonShape,d=t.buttonTarget,m=t.showContentImg,f=t.imgURL,b=t.imgAlt,g=t.imageShape,h=t.layoutOption,v=t.headerTitle,y=t.headerSubTitle,w=t.dashColor,k=t.headerlayoutOption,_=t.headerTagOption,x=(t.backGroundColor,t.design),S=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),E=(e.className,e.attributes),T=Kp({},_c(E)),C={borderColor:w},M=Kp({},ou(E)),O=Kp({},au(E)),L=Kp({},ru(E)),D=Kp({},iu(E));let F=Zp.img;return f&&f.length&&(F=f),wp.element.createElement("div",{className:o()("blockspare-content-wrapper blockspare-blocks","align"+n,1==h?"reverse-img":"","style-3"!=x?"has-background":"",x),style:T},m&&f&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:F,alt:b,className:g})),!f&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper",style:Kp({},kp(E))},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper"),style:C},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",k,"blockspare-"+a)},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement(bu,this.props,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:O}),v&&wp.element.createElement(ad.Content,{tagName:_,className:"blockspare-title",style:L,value:v}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:O})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:O}),y&&wp.element.createElement(ad.Content,{tagName:"p",className:"blockspare-subtitle",style:D,value:y}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:O}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(ad.Content,{tagName:"p",style:{color:r},value:i}),c&&wp.element.createElement(Jp,this.props,l&&wp.element.createElement("a",{href:s,target:d?"_blank":null,rel:d?"noopener noreferrer":null,className:o()("blockspare-button",p,u,S),style:M},wp.element.createElement(ad.Content,{value:l})))))))}}var id=n(308);function od(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ld(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?od(Object(n),!0).forEach((function(t){sd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):od(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cd=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.backGroundColor,v=t.subTitleFontSize,y=t.subTitleFontFamily,w=t.subTitleFontWeight,k=t.subTitleFontSizeType,_=t.subTitleFontSizeMobile,x=t.subTitleFontSizeTablet,S=t.headerpaddingTop,E=t.headerpaddingRight,T=t.headerpaddingBottom,C=t.headerpaddingLeft,M=t.headermarginTop,O=t.headermarginBottom,L=t.descriptionColor,D=t.descriptionFontSize,F=t.descriptionFontFamily,P=t.descriptionFontWeight,j=(t.descriptionFontSubset,t.descriptionFontSizeType),N=t.descriptionFontSizeMobile,z=t.descriptionFontSizeTablet,A=[];return"style-3"!==t.design&&A.push({".blockspare-contentBox .blockspare-section-wrapper":{backgroundColor:h||"#fff"}}),A.push({".blockspare-content-wrapper":ld({},_c(e.attributes)),".blockspare-description":{color:L,fontSize:D+j,fontFamily:F,fontWeight:P},".blockspare-button":ld({},Kr(e.attributes)),".blockspare-mainheader-wrap":ld({},kp(e.attributes)),".blockspare-section-header-wrapper":{borderColor:u}}),A.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:S+"px",paddingRight:E+"px",paddingBottom:T+"px",marginTop:M+"px",marginBottom:O+"px",paddingLeft:C+"px"}}),A.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:v+k,fontFamily:y,fontWeight:w,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:x+k},".blockspare-description":{fontSize:z+k}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:_+k},".blockspare-description":{fontSize:N+k}}}),vr.a.all(A)};const ud=blockspare_globals,pd=wp.element.Component,dd=(wp.i18n.__,wp.compose.compose),md=wp.blockEditor.RichText;var fd=dd(gr,mr(cd))(class extends pd{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=(t.descriptionColor,t.sectionDescription),i=t.buttonText,l=t.buttonUrl,s=t.showButton,c=t.buttonSize,u=t.buttonShape,p=t.buttonTarget,d=t.showContentImg,m=t.imgURL,f=t.imgAlt,b=t.imageShape,g=t.layoutOption,h=t.headerTitle,v=t.headerSubTitle,y=(t.dashColor,t.headerlayoutOption),w=t.headerTagOption,k=(t.backGroundColor,t.design),_=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),x=e.className;e.attributes;let S=ud.img;m&&m.length&&(S=m);const E=o()([x,"blockspare-contentBox"]);return wp.element.createElement("div",{className:E},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-content-wrapper blockspare-blocks","align"+n,1==g?"reverse-img":"","style-3"!=k?"has-background":"",k)},d&&m&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:S,alt:f,className:b})),!m&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",y,"blockspare-"+a)},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",y,"blockspare-"+a)},wp.element.createElement(Xc,{headerTitle:h,headerTagOption:w,headerSubTitle:v}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(md.Content,{tagName:"p",className:"blockspare-description",value:r}),s&&wp.element.createElement("div",{className:"blockspare-block-button"},i&&wp.element.createElement("a",{href:l,target:p?"_blank":null,rel:p?"noopener noreferrer":null,className:o()("blockspare-button",u,c,_)},wp.element.createElement(md.Content,{value:i}))))))))}});function bd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function gd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bd(Object(n),!0).forEach((function(t){hd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vd=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.backGroundColor,v=t.subTitleFontSize,y=t.subTitleFontFamily,w=t.subTitleFontWeight,k=t.subTitleFontSizeType,_=t.subTitleFontSizeMobile,x=t.subTitleFontSizeTablet,S=t.headerpaddingTop,E=t.headerpaddingRight,T=t.headerpaddingBottom,C=t.headerpaddingLeft,M=t.headermarginTop,O=t.headermarginBottom,L=t.descriptionColor,D=t.descriptionFontSize,F=t.descriptionFontFamily,P=t.descriptionFontWeight,j=(t.descriptionFontSubset,t.descriptionFontSizeType),N=t.descriptionFontSizeMobile,z=t.descriptionFontSizeTablet,A=[];return"style-3"!==t.design&&A.push({".blockspare-contentBox .blockspare-section-wrapper":{backgroundColor:h||"#fff"}}),A.push({".blockspare-content-wrapper":gd({},_c(e.attributes)),".blockspare-description":{color:L,fontSize:D+j,fontFamily:F,fontWeight:P},".blockspare-button":gd({},Xr(e.attributes)),".blockspare-mainheader-wrap":gd({},kp(e.attributes)),".blockspare-section-header-wrapper":{borderColor:u}}),A.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:S+"px",paddingRight:E+"px",paddingBottom:T+"px",marginTop:M+"px",marginBottom:O+"px",paddingLeft:C+"px"}}),A.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:v+k,fontFamily:y,fontWeight:w,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:x+k},".blockspare-description":{fontSize:z+k}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:_+k},".blockspare-description":{fontSize:N+k}}}),vr.a.all(A)};const yd=blockspare_globals,wd=wp.element.Component,kd=(wp.i18n.__,wp.compose.compose),_d=wp.blockEditor.RichText;var xd=kd(gr,mr(vd))(class extends wd{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=(t.descriptionColor,t.sectionDescription),i=t.buttonText,l=t.buttonUrl,s=t.showButton,c=t.buttonSize,u=t.buttonShape,p=t.buttonTarget,d=t.showContentImg,m=t.imgURL,f=t.imgAlt,b=t.imageShape,g=t.layoutOption,h=t.headerTitle,v=t.headerSubTitle,y=(t.dashColor,t.headerlayoutOption),w=t.headerTagOption,k=(t.backGroundColor,t.design),_=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),x=e.className;e.attributes;let S=yd.img;m&&m.length&&(S=m);const E=o()([x,"blockspare-contentBox"]);return wp.element.createElement("div",{className:E},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-content-wrapper blockspare-blocks","align"+n,1==g?"reverse-img":"","style-3"!=k?"has-background":"",k)},d&&m&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:S,alt:f,className:b})),!m&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",y,"blockspare-"+a)},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",y,"blockspare-"+a)},wp.element.createElement(Xc,{headerTitle:h,headerTagOption:w,headerSubTitle:v}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(_d.Content,{tagName:"p",className:"blockspare-description",value:r}),s&&wp.element.createElement("div",{className:"blockspare-block-button"},i&&wp.element.createElement("a",{href:l,target:p?"_blank":null,rel:p?"noopener noreferrer":null,className:o()("blockspare-button",u,c,_)},wp.element.createElement(_d.Content,{value:i}))))))))}});function Sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ed(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sd(Object(n),!0).forEach((function(t){Td(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Td(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cd=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.backGroundColor,v=t.subTitleFontSize,y=t.subTitleFontFamily,w=t.subTitleFontWeight,k=t.subTitleFontSizeType,_=t.subTitleFontSizeMobile,x=t.subTitleFontSizeTablet,S=t.headerpaddingTop,E=t.headerpaddingRight,T=t.headerpaddingBottom,C=t.headerpaddingLeft,M=t.headermarginTop,O=t.headermarginBottom,L=t.descriptionColor,D=t.descriptionFontSize,F=t.descriptionFontFamily,P=t.descriptionFontWeight,j=(t.descriptionFontSubset,t.descriptionFontSizeType),N=t.descriptionFontSizeMobile,z=t.descriptionFontSizeTablet,A=t.design,Y=t.buttonStyle,B=t.enableGradient,I=t.backgroundColor1,R=t.backgroundColor2,H=t.gradientAngle,W=t.colorLocation1,U=t.colorLocation2,G=t.btnFontWeight,V=t.btnBorderWidth,q=t.borderColor,$=t.buttonBackgroundColor,J=t.borderBtnTextColor,X=t.buttonTextColor,K=[];if("style-3"!==A&&K.push({".blockspare-contentBox .blockspare-section-wrapper":{backgroundColor:h||"#fff"}}),K.push({".blockspare-content-wrapper":Ed({},_c(e.attributes)),".blockspare-description":{color:L,fontSize:D+j,fontFamily:F,fontWeight:P},".blockspare-mainheader-wrap":Ed({},kp(e.attributes)),".blockspare-section-header-wrapper":{borderColor:u}}),K.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:S+"px",paddingRight:E+"px",paddingBottom:T+"px",marginTop:M+"px",marginBottom:O+"px",paddingLeft:C+"px"}}),"none"===Y)if(1==B){const e=H+"deg",t=W+"%",n=U+"%";K.push({".blockspare-block-button span":{color:X||"#fff",fontWeight:G,borderWidth:V+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${I||"#3B1A5B"} ${t},${R||"#8B249C"} ${n})`}})}else K.push({".blockspare-block-button span":{color:X||"#fff",fontWeight:G,borderWidth:V+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:$||"#3c1a5b"}});else K.push({".blockspare-block-button span":{color:J||"#404040",borderColor:q||"#3c1a5b",borderStyle:Y,fontWeight:G,borderWidth:V+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return K.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:v+k,fontFamily:y,fontWeight:w,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:x+k},".blockspare-description":{fontSize:z+k}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:_+k},".blockspare-description":{fontSize:N+k}}}),vr.a.all(K)};const Md=blockspare_globals,Od=wp.element.Component,Ld=(wp.i18n.__,wp.compose.compose),Dd=wp.blockEditor.RichText;var Fd=Ld(gr,mr(Cd))(class extends Od{render(){const e=this.props,t=e.attributes,n=(t.align,t.sectionAlignment),a=(t.descriptionColor,t.sectionDescription),r=t.buttonText,i=t.buttonUrl,l=t.showButton,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.showContentImg,d=t.imgURL,m=t.imgAlt,f=t.imageShape,b=t.layoutOption,g=t.headerTitle,h=t.headerSubTitle,v=(t.dashColor,t.headerlayoutOption),y=t.headerTagOption,w=(t.backGroundColor,t.design),k=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),_=e.className;e.attributes;let x=Md.img;d&&d.length&&(x=d);const S=o()([_,"blockspare-contentBox"]);return wp.element.createElement("div",{className:S},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-content-wrapper blockspare-blocks",1==b?"reverse-img":"","style-3"!=w?"has-background":"",w)},p&&d&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:x,alt:m,className:f})),!d&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",v,"blockspare-"+n)},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",v,"blockspare-"+n)},wp.element.createElement(Xc,{headerTitle:g,headerTagOption:y,headerSubTitle:h}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(Dd.Content,{tagName:"p",className:"blockspare-description",value:a}),l&&wp.element.createElement("div",{className:"blockspare-block-button"},r&&wp.element.createElement("a",{href:i,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:o()("blockspare-button",c,s,k)},wp.element.createElement(Dd.Content,{tagName:"span",value:r}))))))))}});function Pd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function jd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pd(Object(n),!0).forEach((function(t){Nd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zd=jd({},Ei,{},xi,{},id.attributes,{},Si,{},Jr);var Ad=[{attributes:zd,save:e=>wp.element.createElement(rd,e)},{attributes:zd,save:e=>wp.element.createElement(xd,e)},{attributes:zd,save:e=>wp.element.createElement(fd,e)},{attributes:jd({},Ei,{},xi,{},op.attributes,{},Si,{},Jr),save:e=>wp.element.createElement(Fd,e)}];function Yd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Bd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Id=wp.i18n.__,Rd=wp.blocks.registerBlockType,Hd=op.name,Wd=op.category,Ud=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yd(Object(n),!0).forEach((function(t){Bd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ei,{},xi,{},op.attributes,{},Si,{},Jr);Rd(Hd,{title:Id("BS Content Box","blockspare"),description:Id("You can create a variety of layouts using this block.","blockspare"),category:Wd,icon:r.contentbox,attributes:Ud,keywords:[Id("block","blockspare"),Id("container","blockspare"),Id("content","blockspare"),Id("box","blockspare")],supports:{align:["center","wide","full"]},example:{attributes:{design:"style-1"}},edit:Hp,save:qp,deprecated:Ad});n(592),n(593);var Gd=n(34);wp.i18n.__,wp.element.Fragment,wp.components.RangeControl,wp.blockEditor.PanelColorSettings;const Vd=wp.i18n.__,qd=wp.element.Component,$d=wp.blockEditor,Jd=$d.InspectorControls,Xd=($d.MediaUpload,$d.PanelColorSettings),Kd=wp.components,Qd=(Kd.RangeControl,Kd.PanelBody);Kd.IconButton,Kd.ToggleControl,Kd.SelectControl;class Zd extends qd{render(){const e=this.props.attributes,t=(e.opacityRatio,e.backGroundColor),n=(e.imgURL,e.imgID,e.imgAlt,e.paddingTop),a=e.paddingRight,r=e.paddingBottom,i=e.paddingLeft,o=e.marginTop,l=e.marginBottom,s=(e.backgroundFix,e.separatorEnable,e.design,e.width,e.height,e.color,e.showFront,e.zindexDivider,e.dividerPosition,e.topDividerMargin,e.bottomDividerMargin,e.enableGradient,e.backgroundColor1,e.backgroundColor2,e.gradientAngle,e.colorLocation1,e.colorLocation2,e.borderRadius,e.enableBoxShadow,e.xOffset,e.yOffset,e.blur,e.spread,e.shadowColor,e.enableGap,this.props.setAttributes);Vd("Top","blockspare"),Vd("Bottom","blockspare");return wp.element.createElement(Jd,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Qd,{title:Vd("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(Xd,{title:Vd("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:t,onChange:e=>s({backGroundColor:e}),label:Vd("Background Color","blockspare")}]})),wp.element.createElement(Qd,{title:Vd("Block Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Qd,{title:Vd("Padding Settings","blockspare"),initialOpen:!0},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:n,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>s({paddingTop:e}),paddingEnableRight:!0,paddingRight:a,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>s({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:r,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>s({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:i,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>s({paddingLeft:e})})),wp.element.createElement(Qd,{title:Vd("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:o,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>s({marginTop:e}),marginEnableBottom:!0,marginBottom:l,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>s({marginBottom:e})})))))}}n(594);var em=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{className:"st0",d:"M-.5 27.7v146.8h1946V10.7s-170.6 20.4-265 57.2c0 0-374.1 116.7-794.2 24.7 0 0-414.1-100.9-673.1-92-.1 0-102.9 5.2-213.7 27.1z"}),wp.element.createElement("path",{className:"st1",d:"M1945.5 69.9s-425.5-100-888 20.5c0 0-342.6 63.3-611.4 43.8 0 0-224.9-40.3-446.6-84.4V174h1946V69.9z"}),wp.element.createElement("path",{d:"M-.5 88s425.5-100 888 20.5c0 0 342.6 63.3 611.4 43.8 0 0 224.9-20.2 446.6-64.3v87H-.5V88z"}))};em.defaultProps={className:"divider--doublewave",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1946 175",preserveAspectRatio:"none"};var tm=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{className:"st1",d:"M-.5 0l958.8 69.3L1917 0v77H-.5z"}),wp.element.createElement("path",{className:"st2",d:"M-.5 24.5l958.8 46.3L1917 24.5V77H-.5z"}),wp.element.createElement("path",{className:"st3",d:"M-.5 49.1l958.8 23.1L1917 49.1V77H-.5z"}),wp.element.createElement("path",{d:"M-.5 77H1917v28H-.5z"}))};tm.defaultProps={className:"divider--fan",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1917 105",preserveAspectRatio:"none"};var nm=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M42.19 9.35c2.26.25 5.15-.04 7.55-.53 2.36-.49 7.09-2.35 10.05-3.57C67.37 2.03 73.16.8 79.05.28c2.36-.21 4.87-.35 10.34.25s10.62 2.56 10.62 2.56V10H0V6.97s7.2-3.26 15.84-3.05c3.92.07 9.28.67 13.4 2.24 2.12.81 5.22 1.82 7.97 2.42 2.72.63 3.95.67 4.98.77z"}))};nm.defaultProps={className:"divider--wavy",viewBox:"0 0 100 10",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"};var am=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M1000 299l2-279C847-16 692 155 587 184c-102.64 28.35-149-32-232-31-80 1-142 53-229 80-65.54 20.34-101 15-126 11.61V299z"}),wp.element.createElement("path",{d:"M1000 286l2-252C845-9 700 178 597 212c-101.11 33.38-159-47-242-46-80 1-145.09 54.07-229 87-65.21 25.59-104.07 16.72-126 10.61V286z"}),wp.element.createElement("path",{d:"M1000 300l1-230.29C784 57 700.53 198.86 597 226c-103 27-174-30-257-29-80 1-130.09 37.07-214 70-61.23 24-108 15.61-126 10.61V300z"}))};am.defaultProps={className:"divider--waves",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 300",preserveAspectRatio:"none"};var rm=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M0 100C20 0 50 0 100 100z"}))};rm.defaultProps={className:"divider--sloped",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"};var im=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{className:"st1",d:"M0 108.1h630V0S475 104.6 314 104.6 0 0 0 0z"}),wp.element.createElement("path",{className:"st2",d:"M0 106.9h630V17.8s-155 87.9-316 87.9S0 19 0 19z"}),wp.element.createElement("path",{d:"M0 120h630V45.1s-155 61.8-316 61.8S0 45.1 0 45.1z"}))};im.defaultProps={className:"divider--curve",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 630 120",preserveAspectRatio:"none"};var om=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M-53.5 413H-337v-10.8s6.5 1.6 16.8.5c4.8-.6 10.1-2.5 15.8-3.7 5.7-1.2 10.5-1.5 12-1.6 5.9-.2 11 .5 14.2.9 7.6.9 13.2 3.5 17 4.7 3.9 1.2 9.1 1.9 10.5 2 13.2.8 45.3-15.5 63-15.8 16.6-.3 30 6.1 36.6 9.3 5.9 2.8 6.4 3 18 7.4s33.4-3.7 44.7-5.7c8.3-1.5 14.1-1.8 20.9-1.5 6.7.3 14 4.6 14 4.6v9.7zm-26.8-11.7c-2.9.4-5.7 1.8-6 1.9s3.5-1.1 5.8-1.1 3.6.6 4.3-.4c.6-1-1.1-.9-4.1-.4zm-20.1 3.6c-3.1.5-9.1 2-12.4 2.7-8 1.7-16.8 1-17.6 1.1-.7.1 6.9 1.2 15.1.1 4.8-.7 11.9-2.7 15.1-3.5 3.2-.7 5.6-.9 5.6-.9s-2.5-.1-5.8.5zm-69.9-7.4c-2.4-.5-2.2-.8-7.6-1.6-5.4-.8-11.2-.2-11.2 0-.1.1 4.9.1 8.8.5 3.8.4 7.9 1.4 10 2 5.2 1.4 20.2 6.8 18.5 6.1-1.7-.7-14.7-6.2-18.5-7zm27.3 6.8c-3.1-1.2-6.8-3.1-6.6-3 .2.2 2.9 2.2 6.9 3.7s5 1.1 4.8 1.1c-.1 0-2.1-.6-5.1-1.8zm84.9 0c-3.9-1.9-7.2-2.5-7.4-2.5-.2-.1 3.8 1.3 6.7 2.7 2.9 1.4 4.7 2.4 4.8 2.5.1.1-.2-.8-4.1-2.7zm-253-2.2c-3.3 1.1-3.5 1.1-5.7 1.6-4.3 1-12.2.6-12.5.7-.4.1 7.3 1 11.3.2 2.4-.4 5.2-1 7.8-2 2.6-1 4.6-1 4.5-1.2-.1-.3-2.1-.4-5.4.7zm58.2 5.4c5.2.6 6.2 0 6.2-.3s-4 .3-8.9-.8c-4.9-1-8-2.5-8.4-2.6s5.9 3.1 11.1 3.7zm-7.6.9c1.6.4 2.7.3 2.7.2s.4-.3-1.9-.6c-2.3-.4-5.5-1.8-5.7-1.7-.2.1 3.2 1.6 4.9 2.1zm22.2-.8c1.6-.5 2.5-1.2 2.4-1.3-.1-.1.2-.5-1.9.5s-5.5 1.6-5.6 1.8c-.1.2 3.5-.4 5.1-1zm-31.7-5.1c1.6.4 2.1.7 2.5.8s-.6-.5-2.2-1.2-2-.5-1.9-.2c.1.3-.1.2 1.6.6zm-28.8-2.2c1.5.1 1.6-.1 1.6-.4 0-.3-.8-.3-2-.2-1.2.1-3.5.9-3.3.9s2.1-.4 3.7-.3zm105.8-8.7c-6.5.2-20.1 5.2-16.5 4.1 3.6-1.1 12.2-3.5 17.2-3.5 5.1 0 7.4-.4 7.5-.3.1.1-1.7-.5-8.2-.3z"}),wp.element.createElement("path",{d:"M-74.2 394.6c-3.3.2-16.6 3-17 3.3-.4.3 9.3-2.2 16.6-2.9 2.6-.3 7.1.1 7.2 0 .1 0-1.9-.8-6.8-.4zM-118.1 405.1c-7.4.6-13-1.1-13.3-1.2-.4-.1 7.3.7 12.3.5 5-.2 9.3-1.1 9.5-1.2.2-.1-1.1 1.3-8.5 1.9zM-128.9 400c1.5-.1 1.6.1 1.6.4 0 .3-.8.4-2 .3s-3.3-1-3.2-1.1 1.9.5 3.6.4zM-142.1 399.7c-2.1-1-6.2-2.7-6.3-2.6-.1 0 4.2 2.2 6.1 3.1 1.9 1 6.3 2.3 6.3 2.2 0-.1-4-1.7-6.1-2.7zM-189.3 385.9c-3.3.2-16.6 3-17 3.3s9.3-2.2 16.6-2.9c2.6-.3 7.1.1 7.2 0s-1.9-.8-6.8-.4zM-292.3 394.2c1.6.1 4.9-.3 6.7-.4 4.3-.3 8.2 1.9 8.6 1.9.4.1-2.8-2.2-7-2.6-2.4-.2-6.5.5-8.2.7-1.7.2-2.9-.1-2.9-.1s1.2.4 2.8.5zM-258.5 402c1.6.4 3.4.1 3.4 0 0-.2.2-.3-2.1-.5-2.3-.3-4.1-1.2-4.3-1.1-.2.1 1.4 1.1 3 1.6zM-314.8 398.7c2.4-.6 5.1-1.5 5.1-1.4s-2.6 1.5-5 2-6.7.6-6.7.5c.1-.1 4.3-.5 6.6-1.1z"}))};om.defaultProps={className:"divider--shapeocean",xmlns:"http://www.w3.org/2000/svg",viewBox:"-337 385.2 283.5 27.8",preserveAspectRatio:"none"};var lm=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{className:"st1",d:"M261.2 64.9C367.6 54.7 499.6 39.7 630 18.5V0C497.8 31.4 363.7 52 261.2 64.9z"}),wp.element.createElement("path",{className:"st2",d:"M261.2 64.9c-41 3.9-78.2 7.1-110 9.6 13.2-.4 27-.9 41.5-1.6C315 67.7 478.4 59.4 630 34.8V18.5C499.1 39.8 367.3 54.8 261.2 64.9z"}),wp.element.createElement("path",{d:"M192.7 72.9c-14.5.7-28.3 1.2-41.5 1.6C59.9 77.7 0 77.4 0 77.4V80h630V33.8C478.4 58.4 315 67.7 192.7 72.9z"}))};lm.defaultProps={className:"divider--grow",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 630 80",preserveAspectRatio:"none"};var sm=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M630 36.9a34.6 34.6 0 0 0-16.5-4.2c-17.2 0-31.8 12.7-36.7 30.3a21.2 21.2 0 0 0-9.3-2.2 21.8 21.8 0 0 0-13.9 5.1 38.7 38.7 0 0 0-40.4-4.8c-5.2-7.7-13.4-12.6-22.7-12.6a25.7 25.7 0 0 0-8.7 1.5C472.9 27.8 453 12.4 430 12.4s-42.7 15.3-51.7 37.2c-7.2-10.9-18.8-18.1-31.8-18.1a37 37 0 0 0-24 9.2c-6-10.3-16.3-17-28-17-13.8 0-25.6 9.3-30.7 22.7a26.5 26.5 0 0 0-19.8-9.2 22 22 0 0 0-5.8.7c-4-11.6-14-19.9-25.7-19.9a24.7 24.7 0 0 0-9.4 1.9C189.2 7.4 171.6 0 152.5 0 124.6 0 100 15.8 85.3 39.9A27.6 27.6 0 0 0 63 28.2a23.9 23.9 0 0 0-7.1 1C47.2 13 31.5 2.3 13.5 2.3A43.3 43.3 0 0 0 0 4.4V80h630z"}))};sm.defaultProps={className:"divider--clouds",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 630 80",preserveAspectRatio:"none"};var cm=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M0 100L100 0v100z"}))};cm.defaultProps={className:"divider--angled",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"};const um={wavy:nm,waves:am,"double-wave":em,fan:tm,sloped:rm,curve:im,shapeocean:om,grow:lm,clouds:sm,angled:cm},pm=e=>{const t=um[e.design],n=o()([e.className,"blockspare-separator-wrapper"]);return wp.element.createElement("div",{className:n},wp.element.createElement(t,{className:e.design,preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};pm.defaultProps={className:"",design:"double-wave",shadow:!1},pm.Save=e=>wp.element.createElement(pm,e);var dm=pm;const mm=wp.i18n.__,fm=wp.element,bm=fm.Component,gm=fm.Fragment,hm=wp.blockEditor,vm=hm.BlockControls,ym=(hm.BlockAlignmentToolbar,wp.components.Toolbar);var wm=class extends bm{render(){const e=this.props,t=e.attributes,n=e.setAttributes,a=(t.horizontalFlip,t.verticalFlip),i=[{icon:r.flipY,title:mm("Flip horiztonally","blockspare"),isActive:!!a,onClick:()=>n({verticalFlip:!a})}];return wp.element.createElement(gm,null,wp.element.createElement(vm,null,wp.element.createElement(ym,{controls:i})))}};var km=e=>{let t="";if(1==e.enableGradient){const n=e.gradientAngle+"deg",a=e.colorLocation1+"%",r=e.colorLocation2+"%";t={backgroundImage:`linear-gradient(${n},${e.backgroundColor1?e.backgroundColor1:"#3B1A5B"} ${a},${e.backgroundColor2?e.backgroundColor2:"#8B249C"} ${r})`}}else t={backgroundColor:e.backGroundColor?e.backGroundColor:"#fff"};return t};function _m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function xm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_m(Object(n),!0).forEach((function(t){Sm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Em=e=>{const t=e.attributes,n=(t.align,t.opacityRatio,t.imgURL),a=(t.backgroundFix,t.verticalFlip,t.horizontalFlip,t.separatorEnable,t.design,t.height,t.color,t.width,t.showFront,t.zindexDivider,t.dividerPosition,t.topDividerMargin,t.bottomDividerMargin,t.borderRadius);t.enableGap;let r="";n&&(r="url("+n+")");const i=[];return i.push({".blockspare-block-container-wrapper":xm({},kc(e.attributes),{},km(e.attributes),{},_c(e.attributes),{borderRadius:a?a+"px":null}),".blockspare-image-wrap":{backgroundImage:r}}),vr.a.all(i)};function Tm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Cm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Mm=wp.element,Om=Mm.Component,Lm=Mm.Fragment,Dm=wp.compose.compose,Fm=wp.blockEditor.InnerBlocks;var Pm=Dm(gr,mr(Em))(class extends Om{render(){const e=this.props,t=e.attributes,n=t.align,a=t.opacityRatio,r=t.imgURL,i=t.backgroundFix,l=t.verticalFlip,s=t.horizontalFlip,c=t.separatorEnable,u=t.design,p=(t.height,t.color,t.width),d=t.showFront,m=(t.zindexDivider,t.dividerPosition),f=(t.topDividerMargin,t.bottomDividerMargin,t.borderRadius,t.enableGap),b=e.className,g=(e.attributes,e.setAttributes),h=e.isSelected,v=o()([b]);let y=o()("blockspare-blocks blockspare-svg-wrapper",function(e){if(void 0!==e){return"has-width-"+e.toString().replace(".","-")}}(p),b,{"is-vertically-flipped":l,"is-horizontally-flipped":s});return wp.element.createElement(Lm,null,wp.element.createElement(Zd,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tm(Object(n),!0).forEach((function(t){Cm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:g},this.props)),h&&c&&wp.element.createElement(wm,this.props),wp.element.createElement("div",{className:v},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-container-wrapper","align"+n,f?"has-gap-enable":"",r&&r.length&&i?"blockspare-background-fix":"",c?m:"")},wp.element.createElement("div",{className:o()("blockspare-container-background","blockspare-image-wrap",(w=a,0===w?null:"has-background-opacity-"+10*Math.round(w/10)),{"has-background-opacity":0!==a})}),c&&wp.element.createElement("div",{className:o()("blockspare-top-separator",d?"blockspare-svg-show-front":"")},wp.element.createElement("div",{className:y},wp.element.createElement(dm,{design:u,shadow:!1,className:"blockspare-svg-svg-inner"}))),wp.element.createElement("div",{className:"blockspare-container"},wp.element.createElement("div",{className:"blockspare-inner-blocks"},wp.element.createElement(Fm,{templateLock:!1,renderAppender:()=>this.props.hasInnerBlocks?wp.element.createElement(Fm.DefaultBlockAppender,null):wp.element.createElement(Fm.ButtonBlockAppender,null)}))))));var w}});const jm=wp.element.Component,Nm=wp.compose.compose,zm=wp.blockEditor.InnerBlocks;var Am=Nm(gr,mr(Em))(class extends jm{render(){const e=this.props,t=e.attributes,n=t.align,a=t.opacityRatio,r=t.imgURL,i=t.backgroundFix,l=t.verticalFlip,s=t.horizontalFlip,c=t.separatorEnable,u=t.design,p=(t.height,t.color,t.width),d=t.showFront,m=(t.zindexDivider,t.dividerPosition),f=(t.topDividerMargin,t.bottomDividerMargin,t.borderRadius,t.enableGap),b=e.className,g=(e.attributes,o()([b]));let h=o()("blockspare-blocks blockspare-svg-wrapper",function(e){if(void 0!==e){return"has-width-"+e.toString().replace(".","-")}}(p),b,{"is-vertically-flipped":l,"is-horizontally-flipped":s});return wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-container-wrapper",f?"has-gap-enable":"","align"+n,r&&r.length&&i?"blockspare-background-fix":"",c?m:"")},wp.element.createElement("div",{className:o()("blockspare-container-background","blockspare-image-wrap",(v=a,0===v?null:"has-background-opacity-"+10*Math.round(v/10)),{"has-background-opacity":0!==a})}),c&&wp.element.createElement("div",{className:o()("blockspare-top-separator",f?"has-gap-enable":"",d?"blockspare-svg-show-front":"")},wp.element.createElement("div",{className:h},wp.element.createElement(dm,{design:u,shadow:!1,className:"blockspare-svg-svg-inner"}))),wp.element.createElement("div",{className:"blockspare-container"},wp.element.createElement("div",{className:"blockspare-inner-blocks blockspare-inner-wrapper-blocks"},wp.element.createElement(zm.Content,null)))));var v}});var Ym=n(118);var Bm={enableGradient:{type:"boolean",default:!1},backgroundColor1:{type:"string",default:"#3B1A5B"},backgroundColor2:{type:"string",default:"#8B249C"},gradientAngle:{type:"number",default:-90},colorLocation1:{type:"number",default:30},colorLocation2:{type:"number",default:70}};var Im={align:{type:"string",default:"full"},design:{type:"string",default:"double-wave"},layer1Shadow:{type:"boolean",default:!1},width:{type:"number",default:1},height:{type:"number",default:150},color:{type:"string",default:"#3c1a5b"}};function Rm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Hm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rm(Object(n),!0).forEach((function(t){Wm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Um=e=>{const t=e.attributes,n=(t.align,t.opacityRatio,t.imgURL),a=(t.backgroundFix,t.verticalFlip,t.horizontalFlip,t.separatorEnable),r=(t.design,t.height),i=t.color,o=(t.width,t.showFront),l=t.zindexDivider,s=t.dividerPosition,c=t.topDividerMargin,u=t.bottomDividerMargin,p=t.borderRadius;t.enableGap;let d="";n&&(d="url("+n+")");const m=[];let f="";return a&&(f="has-separator-top"===s?{top:c+"px",zIndex:o?l:""}:"has-separator-bottom"===s?{bottom:u+"px",zIndex:o?l:""}:""),m.push({".blockspare-block-container-wrapper":Hm({},kc(e.attributes),{},km(e.attributes),{},_c(e.attributes),{borderRadius:p?p+"px":null}),".blockspare-image-wrap":{backgroundImage:d},".blockspare-top-separator":{sepStyles:f},".blockspare-svg-wrapper":{color:i||"#3c1a5b",height:r}}),vr.a.all(m)};const Gm=wp.element.Component,Vm=wp.compose.compose,qm=wp.blockEditor.InnerBlocks;var $m=Vm(gr,mr(Um))(class extends Gm{render(){const e=this.props,t=e.attributes,n=t.align,a=t.opacityRatio,r=t.imgURL,i=t.backgroundFix,l=t.verticalFlip,s=t.horizontalFlip,c=t.separatorEnable,u=t.design,p=(t.height,t.color,t.width),d=t.showFront,m=(t.zindexDivider,t.dividerPosition),f=(t.topDividerMargin,t.bottomDividerMargin,t.borderRadius,t.enableGap),b=e.className,g=(e.attributes,o()([b]));let h=o()("blockspare-blocks blockspare-svg-wrapper",function(e){if(void 0!==e){return"has-width-"+e.toString().replace(".","-")}}(p),b,{"is-vertically-flipped":l,"is-horizontally-flipped":s});return wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-container-wrapper",f?"has-gap-enable":"","align"+n,r&&r.length&&i?"blockspare-background-fix":"",c?m:"")},wp.element.createElement("div",{className:o()("blockspare-container-background","blockspare-image-wrap",(v=a,0===v?null:"has-background-opacity-"+10*Math.round(v/10)),{"has-background-opacity":0!==a})}),c&&wp.element.createElement("div",{className:o()("blockspare-top-separator",f?"has-gap-enable":"",d?"blockspare-svg-show-front":"")},wp.element.createElement("div",{className:h},wp.element.createElement(dm,{design:u,shadow:!1,className:"blockspare-svg-svg-inner"}))),wp.element.createElement("div",{className:"blockspare-container"},wp.element.createElement("div",{className:"blockspare-inner-blocks blockspare-inner-wrapper-blocks"},wp.element.createElement(qm.Content,null)))));var v}});function Jm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Xm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jm(Object(n),!0).forEach((function(t){Km(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Km(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qm=e=>{const t=e.attributes,n=(t.align,t.opacityRatio,t.imgURL),a=(t.backgroundFix,t.verticalFlip,t.horizontalFlip,t.separatorEnable),r=(t.design,t.height),i=t.color,o=(t.width,t.showFront),l=t.zindexDivider,s=t.dividerPosition,c=t.topDividerMargin,u=t.bottomDividerMargin,p=t.borderRadius;t.enableGap;let d="";n&&(d="url("+n+")");const m=[];let f="";return a&&(f="has-separator-top"===s?{top:c+"px",zIndex:o?l:""}:"has-separator-bottom"===s?{bottom:u+"px",zIndex:o?l:""}:""),m.push({".blockspare-block-container-wrapper":Xm({},kc(e.attributes),{},km(e.attributes),{},_c(e.attributes),{borderRadius:p?p+"px":null}),".blockspare-image-wrap":{backgroundImage:d},".blockspare-top-separator":{sepStyles:f},".blockspare-svg-wrapper":{color:i||"#3c1a5b",height:r}}),vr.a.all(m)};const Zm=wp.element.Component,ef=wp.compose.compose,tf=wp.blockEditor.InnerBlocks;var nf=ef(gr,mr(Qm))(class extends Zm{render(){const e=this.props,t=e.attributes,n=t.align,a=t.opacityRatio,r=t.imgURL,i=t.backgroundFix,l=t.verticalFlip,s=t.horizontalFlip,c=t.separatorEnable,u=t.design,p=(t.height,t.color,t.width),d=t.showFront,m=(t.zindexDivider,t.dividerPosition),f=(t.topDividerMargin,t.bottomDividerMargin,t.borderRadius,t.enableGap),b=e.className,g=(e.attributes,o()([b]));let h=o()("blockspare-blocks blockspare-svg-wrapper",function(e){if(void 0!==e){return"has-width-"+e.toString().replace(".","-")}}(p),b,{"is-vertically-flipped":l,"is-horizontally-flipped":s});return wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-container-wrapper",f?"has-gap-enable":"","align"+n,r&&r.length&&i?"blockspare-background-fix":"",c?m:"")},wp.element.createElement("div",{className:o()("blockspare-container-background","blockspare-image-wrap",(v=a,0===v?null:"has-background-opacity-"+10*Math.round(v/10)),{"has-background-opacity":0!==a})}),c&&wp.element.createElement("div",{className:o()("blockspare-top-separator",f?"has-gap-enable":"",d?"blockspare-svg-show-front":"")},wp.element.createElement("div",{className:h},wp.element.createElement(dm,{design:u,shadow:!1,className:"blockspare-svg-svg-inner"}))),wp.element.createElement("div",{className:"blockspare-container"},wp.element.createElement("div",{className:"blockspare-inner-blocks blockspare-inner-wrapper-blocks"},wp.element.createElement(tf.Content,null)))));var v}});function af(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function rf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?af(Object(n),!0).forEach((function(t){of(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):af(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function of(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const lf=wp.blockEditor.InnerBlocks;var sf=[{attributes:rf({},Ym.attributes,{},Bm,{},Ei,{},Im,{},Si),save:function(e){const t=e.attributes,n=t.className,a=t.align,r=t.opacityRatio,i=t.imgURL,l=t.backgroundFix,s=t.verticalFlip,c=t.horizontalFlip,u=t.separatorEnable,p=t.design,d=t.height,m=t.color,f=t.width,b=t.showFront,g=t.zindexDivider,h=t.dividerPosition,v=t.topDividerMargin,y=t.bottomDividerMargin,w=t.borderRadius,k=t.enableGap,_=rf({},km(e.attributes),{},kc(e.attributes),{minHeight:"100px"},_c(e.attributes),{borderRadius:w||null});let x="";u&&(x="has-separator-top"===h?{top:v+"px",zIndex:b?g:""}:"has-separator-bottom"===h?{bottom:y+"px",zIndex:b?g:""}:"");let S="";i&&(S="url("+i+")");let E=o()("blockspare-blocks blockspare-svg-wrapper",function(e){return"has-width-"+e.toString().replace(".","-")}(f),n,{"is-vertically-flipped":s,"is-horizontally-flipped":c});return wp.element.createElement("div",{className:o()("blockspare-block-container-wrapper",k?"has-gap-enable":"","align"+a,i&&i.length&&l?"blockspare-background-fix":"",u?h:""),style:_},wp.element.createElement("div",{className:o()("blockspare-container-background","blockspare-image-wrap",(T=r,0===T?null:"has-background-opacity-"+10*Math.round(T/10)),{"has-background-opacity":0!==r}),style:{backgroundImage:S}}),u&&wp.element.createElement("div",{className:o()("blockspare-top-separator",k?"has-gap-enable":"",b?"blockspare-svg-show-front":""),style:x},wp.element.createElement("div",{className:E,style:{color:m||"#3c1a5b",height:d}},wp.element.createElement(dm,{design:p,shadow:!1,className:"blockspare-svg-svg-inner"}))),wp.element.createElement("div",{className:"blockspare-container"},wp.element.createElement("div",{className:"blockspare-inner-blocks blockspare-inner-wrapper-blocks"},wp.element.createElement(lf.Content,null))));var T}},{attributes:rf({},Bm,{},Ei,{},Im,{},Si,{},Ym.attributes),save:e=>wp.element.createElement($m,e)},{attributes:rf({},Bm,{},Ei,{},Im,{},Si,{},Gd.attributes),save:e=>wp.element.createElement(nf,e)}];function cf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function uf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pf=Gd.name,df=Gd.category,mf=wp.i18n.__,ff=wp.blocks,bf=ff.registerBlockType,gf=ff.createBlock,hf=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cf(Object(n),!0).forEach((function(t){uf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Bm,{},Ei,{},Im,{},Si,{},Gd.attributes);bf(pf,{title:mf("BS Container","blockspare"),description:mf("BS add container","blockspare"),category:df,icon:r.container,attributes:hf,keywords:[mf("block","blockspare"),mf("container","blockspare"),mf("group","blockspare")],supports:{align:["center","wide","full"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:Pm,save:Am,transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert(e){if(1===e.length&&"blockspare/blockspare-container"===e[0].name)return;const t=["wide","full"],n=e.reduce((e,n)=>{const a=n.attributes.align;return t.indexOf(a)>t.indexOf(e)?a:e},void 0),a=e.map(e=>gf(e.name,e.attributes,e.innerBlocks));return gf("blockspare/blockspare-container",{align:n},a)}}]},deprecated:sf});n(595),n(596);var vf=n(35),yf=(n(597),["fas fa-ad","fas fa-address-book","fas fa-address-card","fas fa-adjust","fas fa-air-freshener","fas fa-align-center","fas fa-align-justify","fas fa-align-left","fas fa-align-right","fas fa-allergies","fas fa-ambulance","fas fa-american-sign-language-interpreting","fas fa-anchor","fas fa-angle-double-down","fas fa-angle-double-left","fas fa-angle-double-right","fas fa-angle-double-up","fas fa-angle-down","fas fa-angle-left","fas fa-angle-right","fas fa-angle-up","fas fa-angry","fas fa-ankh","fas fa-apple-alt","fas fa-archive","fas fa-archway","fas fa-arrow-alt-circle-down","fas fa-arrow-alt-circle-left","fas fa-arrow-alt-circle-right","fas fa-arrow-alt-circle-up","fas fa-arrow-circle-down","fas fa-arrow-circle-left","fas fa-arrow-circle-right","fas fa-arrow-circle-up","fas fa-arrow-down","fas fa-arrow-left","fas fa-arrow-right","fas fa-arrow-up","fas fa-arrows-alt","fas fa-arrows-alt-h","fas fa-arrows-alt-v","fas fa-assistive-listening-systems","fas fa-asterisk","fas fa-at","fas fa-atlas","fas fa-atom","fas fa-audio-description","fas fa-award","fas fa-baby","fas fa-baby-carriage","fas fa-backspace","fas fa-backward","fas fa-balance-scale","fas fa-ban","fas fa-band-aid","fas fa-barcode","fas fa-bars","fas fa-baseball-ball","fas fa-basketball-ball","fas fa-bath","fas fa-battery-empty","fas fa-battery-full","fas fa-battery-half","fas fa-battery-quarter","fas fa-battery-three-quarters","fas fa-bed","fas fa-beer","fas fa-bell","fas fa-bell-slash","fas fa-bezier-curve","fas fa-bible","fas fa-bicycle","fas fa-binoculars","fas fa-biohazard","fas fa-birthday-cake","fas fa-blender","fas fa-blender-phone","fas fa-blind","fas fa-blog","fas fa-bold","fas fa-bolt","fas fa-bomb","fas fa-bone","fas fa-bong","fas fa-book","fas fa-book-dead","fas fa-book-open","fas fa-book-reader","fas fa-bookmark","fas fa-bowling-ball","fas fa-box","fas fa-box-open","fas fa-boxes","fas fa-braille","fas fa-brain","fas fa-briefcase","fas fa-briefcase-medical","fas fa-broadcast-tower","fas fa-broom","fas fa-brush","fas fa-bug","fas fa-building","fas fa-bullhorn","fas fa-bullseye","fas fa-burn","fas fa-bus","fas fa-bus-alt","fas fa-business-time","fas fa-calculator","fas fa-calendar","fas fa-calendar-alt","fas fa-calendar-check","fas fa-calendar-day","fas fa-calendar-minus","fas fa-calendar-plus","fas fa-calendar-times","fas fa-calendar-week","fas fa-camera","fas fa-camera-retro","fas fa-campground","fas fa-candy-cane","fas fa-cannabis","fas fa-capsules","fas fa-car","fas fa-car-alt","fas fa-car-battery","fas fa-car-crash","fas fa-car-side","fas fa-caret-down","fas fa-caret-left","fas fa-caret-right","fas fa-caret-square-down","fas fa-caret-square-left","fas fa-caret-square-right","fas fa-caret-square-up","fas fa-caret-up","fas fa-carrot","fas fa-cart-arrow-down","fas fa-cart-plus","fas fa-cash-register","fas fa-cat","fas fa-certificate","fas fa-chair","fas fa-chalkboard","fas fa-chalkboard-teacher","fas fa-charging-station","fas fa-chart-area","fas fa-chart-bar","fas fa-chart-line","fas fa-chart-pie","fas fa-check","fas fa-check-circle","fas fa-check-double","fas fa-check-square","fas fa-chess","fas fa-chess-bishop","fas fa-chess-board","fas fa-chess-king","fas fa-chess-knight","fas fa-chess-pawn","fas fa-chess-queen","fas fa-chess-rook","fas fa-chevron-circle-down","fas fa-chevron-circle-left","fas fa-chevron-circle-right","fas fa-chevron-circle-up","fas fa-chevron-down","fas fa-chevron-left","fas fa-chevron-right","fas fa-chevron-up","fas fa-child","fas fa-church","fas fa-circle","fas fa-circle-notch","fas fa-city","fas fa-clipboard","fas fa-clipboard-check","fas fa-clipboard-list","fas fa-clock","fas fa-clone","fas fa-closed-captioning","fas fa-cloud","fas fa-cloud-download-alt","fas fa-cloud-meatball","fas fa-cloud-moon","fas fa-cloud-moon-rain","fas fa-cloud-rain","fas fa-cloud-showers-heavy","fas fa-cloud-sun","fas fa-cloud-sun-rain","fas fa-cloud-upload-alt","fas fa-cocktail","fas fa-code","fas fa-code-branch","fas fa-coffee","fas fa-cog","fas fa-cogs","fas fa-coins","fas fa-columns","fas fa-comment","fas fa-comment-alt","fas fa-comment-dollar","fas fa-comment-dots","fas fa-comment-slash","fas fa-comments","fas fa-comments-dollar","fas fa-compact-disc","fas fa-compass","fas fa-compress","fas fa-compress-arrows-alt","fas fa-concierge-bell","fas fa-cookie","fas fa-cookie-bite","fas fa-copy","fas fa-copyright","fas fa-couch","fas fa-credit-card","fas fa-crop","fas fa-crop-alt","fas fa-cross","fas fa-crosshairs","fas fa-crow","fas fa-crown","fas fa-cube","fas fa-cubes","fas fa-cut","fas fa-database","fas fa-deaf","fas fa-democrat","fas fa-desktop","fas fa-dharmachakra","fas fa-diagnoses","fas fa-dice","fas fa-dice-d20","fas fa-dice-d6","fas fa-dice-five","fas fa-dice-four","fas fa-dice-one","fas fa-dice-six","fas fa-dice-three","fas fa-dice-two","fas fa-digital-tachograph","fas fa-directions","fas fa-divide","fas fa-dizzy","fas fa-dna","fas fa-dog","fas fa-dollar-sign","fas fa-dolly","fas fa-dolly-flatbed","fas fa-donate","fas fa-door-closed","fas fa-door-open","fas fa-dot-circle","fas fa-dove","fas fa-download","fas fa-drafting-compass","fas fa-dragon","fas fa-draw-polygon","fas fa-drum","fas fa-drum-steelpan","fas fa-drumstick-bite","fas fa-dumbbell","fas fa-dumpster","fas fa-dumpster-fire","fas fa-dungeon","fas fa-edit","fas fa-eject","fas fa-ellipsis-h","fas fa-ellipsis-v","fas fa-envelope","fas fa-envelope-open","fas fa-envelope-open-text","fas fa-envelope-square","fas fa-equals","fas fa-eraser","fas fa-ethernet","fas fa-euro-sign","fas fa-exchange-alt","fas fa-exclamation","fas fa-exclamation-circle","fas fa-exclamation-triangle","fas fa-expand","fas fa-expand-arrows-alt","fas fa-external-link-alt","fas fa-external-link-square-alt","fas fa-eye","fas fa-eye-dropper","fas fa-eye-slash","fas fa-fast-backward","fas fa-fast-forward","fas fa-fax","fas fa-feather","fas fa-feather-alt","fas fa-female","fas fa-fighter-jet","fas fa-file","fas fa-file-alt","fas fa-file-archive","fas fa-file-audio","fas fa-file-code","fas fa-file-contract","fas fa-file-csv","fas fa-file-download","fas fa-file-excel","fas fa-file-export","fas fa-file-image","fas fa-file-import","fas fa-file-invoice","fas fa-file-invoice-dollar","fas fa-file-medical","fas fa-file-medical-alt","fas fa-file-pdf","fas fa-file-powerpoint","fas fa-file-prescription","fas fa-file-signature","fas fa-file-upload","fas fa-file-video","fas fa-file-word","fas fa-fill","fas fa-fill-drip","fas fa-film","fas fa-filter","fas fa-fingerprint","fas fa-fire","fas fa-fire-alt","fas fa-fire-extinguisher","fas fa-first-aid","fas fa-fish","fas fa-fist-raised","fas fa-flag","fas fa-flag-checkered","fas fa-flag-usa","fas fa-flask","fas fa-flushed","fas fa-folder","fas fa-folder-minus","fas fa-folder-open","fas fa-folder-plus","fas fa-font","fas fa-football-ball","fas fa-forward","fas fa-frog","fas fa-frown","fas fa-frown-open","fas fa-funnel-dollar","fas fa-futbol","fas fa-gamepad","fas fa-gas-pump","fas fa-gavel","fas fa-gem","fas fa-genderless","fas fa-ghost","fas fa-gift","fas fa-gifts","fas fa-glass-cheers","fas fa-glass-martini","fas fa-glass-martini-alt","fas fa-glass-whiskey","fas fa-glasses","fas fa-globe","fas fa-globe-africa","fas fa-globe-americas","fas fa-globe-asia","fas fa-globe-europe","fas fa-golf-ball","fas fa-gopuram","fas fa-graduation-cap","fas fa-greater-than","fas fa-greater-than-equal","fas fa-grimace","fas fa-grin","fas fa-grin-alt","fas fa-grin-beam","fas fa-grin-beam-sweat","fas fa-grin-hearts","fas fa-grin-squint","fas fa-grin-squint-tears","fas fa-grin-stars","fas fa-grin-tears","fas fa-grin-tongue","fas fa-grin-tongue-squint","fas fa-grin-tongue-wink","fas fa-grin-wink","fas fa-grip-horizontal","fas fa-grip-lines","fas fa-grip-lines-vertical","fas fa-grip-vertical","fas fa-guitar","fas fa-h-square","fas fa-hammer","fas fa-hamsa","fas fa-hand-holding","fas fa-hand-holding-heart","fas fa-hand-holding-usd","fas fa-hand-lizard","fas fa-hand-paper","fas fa-hand-peace","fas fa-hand-point-down","fas fa-hand-point-left","fas fa-hand-point-right","fas fa-hand-point-up","fas fa-hand-pointer","fas fa-hand-rock","fas fa-hand-scissors","fas fa-hand-spock","fas fa-hands","fas fa-hands-helping","fas fa-handshake","fas fa-hanukiah","fas fa-hashtag","fas fa-hat-wizard","fas fa-haykal","fas fa-hdd","fas fa-heading","fas fa-headphones","fas fa-headphones-alt","fas fa-headset","fas fa-heart","fas fa-heart-broken","fas fa-heartbeat","fas fa-helicopter","fas fa-highlighter","fas fa-hiking","fas fa-hippo","fas fa-history","fas fa-hockey-puck","fas fa-holly-berry","fas fa-home","fas fa-horse","fas fa-horse-head","fas fa-hospital","fas fa-hospital-alt","fas fa-hospital-symbol","fas fa-hot-tub","fas fa-hotel","fas fa-hourglass","fas fa-hourglass-end","fas fa-hourglass-half","fas fa-hourglass-start","fas fa-house-damage","fas fa-hryvnia","fas fa-i-cursor","fas fa-icicles","fas fa-id-badge","fas fa-id-card","fas fa-id-card-alt","fas fa-igloo","fas fa-image","fas fa-images","fas fa-inbox","fas fa-indent","fas fa-industry","fas fa-infinity","fas fa-info","fas fa-info-circle","fas fa-italic","fas fa-jedi","fas fa-joint","fas fa-journal-whills","fas fa-kaaba","fas fa-key","fas fa-keyboard","fas fa-khanda","fas fa-kiss","fas fa-kiss-beam","fas fa-kiss-wink-heart","fas fa-kiwi-bird","fas fa-landmark","fas fa-language","fas fa-laptop","fas fa-laptop-code","fas fa-laugh","fas fa-laugh-beam","fas fa-laugh-squint","fas fa-laugh-wink","fas fa-layer-group","fas fa-leaf","fas fa-lemon","fas fa-less-than","fas fa-less-than-equal","fas fa-level-down-alt","fas fa-level-up-alt","fas fa-life-ring","fas fa-lightbulb","fas fa-link","fas fa-lira-sign","fas fa-list","fas fa-list-alt","fas fa-list-ol","fas fa-list-ul","fas fa-location-arrow","fas fa-lock","fas fa-lock-open","fas fa-long-arrow-alt-down","fas fa-long-arrow-alt-left","fas fa-long-arrow-alt-right","fas fa-long-arrow-alt-up","fas fa-low-vision","fas fa-luggage-cart","fas fa-magic","fas fa-magnet","fas fa-mail-bulk","fas fa-male","fas fa-map","fas fa-map-marked","fas fa-map-marked-alt","fas fa-map-marker","fas fa-map-marker-alt","fas fa-map-pin","fas fa-map-signs","fas fa-marker","fas fa-mars","fas fa-mars-double","fas fa-mars-stroke","fas fa-mars-stroke-h","fas fa-mars-stroke-v","fas fa-mask","fas fa-medal","fas fa-medkit","fas fa-meh","fas fa-meh-blank","fas fa-meh-rolling-eyes","fas fa-memory","fas fa-menorah","fas fa-mercury","fas fa-meteor","fas fa-microchip","fas fa-microphone","fas fa-microphone-alt","fas fa-microphone-alt-slash","fas fa-microphone-slash","fas fa-microscope","fas fa-minus","fas fa-minus-circle","fas fa-minus-square","fas fa-mitten","fas fa-mobile","fas fa-mobile-alt","fas fa-money-bill","fas fa-money-bill-alt","fas fa-money-bill-wave","fas fa-money-bill-wave-alt","fas fa-money-check","fas fa-money-check-alt","fas fa-monument","fas fa-moon","fas fa-mortar-pestle","fas fa-mosque","fas fa-motorcycle","fas fa-mountain","fas fa-mouse-pointer","fas fa-mug-hot","fas fa-music","fas fa-network-wired","fas fa-neuter","fas fa-newspaper","fas fa-not-equal","fas fa-notes-medical","fas fa-object-group","fas fa-object-ungroup","fas fa-oil-can","fas fa-om","fas fa-otter","fas fa-outdent","fas fa-paint-brush","fas fa-paint-roller","fas fa-palette","fas fa-pallet","fas fa-paper-plane","fas fa-paperclip","fas fa-parachute-box","fas fa-paragraph","fas fa-parking","fas fa-passport","fas fa-pastafarianism","fas fa-paste","fas fa-pause","fas fa-pause-circle","fas fa-paw","fas fa-peace","fas fa-pen","fas fa-pen-alt","fas fa-pen-fancy","fas fa-pen-nib","fas fa-pen-square","fas fa-pencil-alt","fas fa-pencil-ruler","fas fa-people-carry","fas fa-percent","fas fa-percentage","fas fa-person-booth","fas fa-phone","fas fa-phone-slash","fas fa-phone-square","fas fa-phone-volume","fas fa-piggy-bank","fas fa-pills","fas fa-place-of-worship","fas fa-plane","fas fa-plane-arrival","fas fa-plane-departure","fas fa-play","fas fa-play-circle","fas fa-plug","fas fa-plus","fas fa-plus-circle","fas fa-plus-square","fas fa-podcast","fas fa-poll","fas fa-poll-h","fas fa-poo","fas fa-poo-storm","fas fa-poop","fas fa-portrait","fas fa-pound-sign","fas fa-power-off","fas fa-pray","fas fa-praying-hands","fas fa-prescription","fas fa-prescription-bottle","fas fa-prescription-bottle-alt","fas fa-print","fas fa-procedures","fas fa-project-diagram","fas fa-puzzle-piece","fas fa-qrcode","fas fa-question","fas fa-question-circle","fas fa-quidditch","fas fa-quote-left","fas fa-quote-right","fas fa-quran","fas fa-radiation","fas fa-radiation-alt","fas fa-rainbow","fas fa-random","fas fa-receipt","fas fa-recycle","fas fa-redo","fas fa-redo-alt","fas fa-registered","fas fa-reply","fas fa-reply-all","fas fa-republican","fas fa-restroom","fas fa-retweet","fas fa-ribbon","fas fa-ring","fas fa-road","fas fa-robot","fas fa-rocket","fas fa-route","fas fa-rss","fas fa-rss-square","fas fa-ruble-sign","fas fa-ruler","fas fa-ruler-combined","fas fa-ruler-horizontal","fas fa-ruler-vertical","fas fa-running","fas fa-rupee-sign","fas fa-sad-cry","fas fa-sad-tear","fas fa-satellite","fas fa-satellite-dish","fas fa-save","fas fa-school","fas fa-screwdriver","fas fa-scroll","fas fa-sd-card","fas fa-search","fas fa-search-dollar","fas fa-search-location","fas fa-search-minus","fas fa-search-plus","fas fa-seedling","fas fa-server","fas fa-shapes","fas fa-share","fas fa-share-alt","fas fa-share-alt-square","fas fa-share-square","fas fa-shekel-sign","fas fa-shield-alt","fas fa-ship","fas fa-shipping-fast","fas fa-shoe-prints","fas fa-shopping-bag","fas fa-shopping-basket","fas fa-shopping-cart","fas fa-shower","fas fa-shuttle-van","fas fa-sign","fas fa-sign-in-alt","fas fa-sign-language","fas fa-sign-out-alt","fas fa-signal","fas fa-signature","fas fa-sim-card","fas fa-sitemap","fas fa-skating","fas fa-skiing","fas fa-skiing-nordic","fas fa-skull","fas fa-skull-crossbones","fas fa-slash","fas fa-sleigh","fas fa-sliders-h","fas fa-smile","fas fa-smile-beam","fas fa-smile-wink","fas fa-smog","fas fa-smoking","fas fa-smoking-ban","fas fa-sms","fas fa-snowboarding","fas fa-snowflake","fas fa-snowman","fas fa-snowplow","fas fa-socks","fas fa-solar-panel","fas fa-sort","fas fa-sort-alpha-down","fas fa-sort-alpha-up","fas fa-sort-amount-down","fas fa-sort-amount-up","fas fa-sort-down","fas fa-sort-numeric-down","fas fa-sort-numeric-up","fas fa-sort-up","fas fa-spa","fas fa-space-shuttle","fas fa-spider","fas fa-spinner","fas fa-splotch","fas fa-spray-can","fas fa-square","fas fa-square-full","fas fa-square-root-alt","fas fa-stamp","fas fa-star","fas fa-star-and-crescent","fas fa-star-half","fas fa-star-half-alt","fas fa-star-of-david","fas fa-star-of-life","fas fa-step-backward","fas fa-step-forward","fas fa-stethoscope","fas fa-sticky-note","fas fa-stop","fas fa-stop-circle","fas fa-stopwatch","fas fa-store","fas fa-store-alt","fas fa-stream","fas fa-street-view","fas fa-strikethrough","fas fa-stroopwafel","fas fa-subscript","fas fa-subway","fas fa-suitcase","fas fa-suitcase-rolling","fas fa-sun","fas fa-superscript","fas fa-surprise","fas fa-swatchbook","fas fa-swimmer","fas fa-swimming-pool","fas fa-synagogue","fas fa-sync","fas fa-sync-alt","fas fa-syringe","fas fa-table","fas fa-table-tennis","fas fa-tablet","fas fa-tablet-alt","fas fa-tablets","fas fa-tachometer-alt","fas fa-tag","fas fa-tags","fas fa-tape","fas fa-tasks","fas fa-taxi","fas fa-teeth","fas fa-teeth-open","fas fa-temperature-high","fas fa-temperature-low","fas fa-tenge","fas fa-terminal","fas fa-text-height","fas fa-text-width","fas fa-th","fas fa-th-large","fas fa-th-list","fas fa-theater-masks","fas fa-thermometer","fas fa-thermometer-empty","fas fa-thermometer-full","fas fa-thermometer-half","fas fa-thermometer-quarter","fas fa-thermometer-three-quarters","fas fa-thumbs-down","fas fa-thumbs-up","fas fa-thumbtack","fas fa-ticket-alt","fas fa-times","fas fa-times-circle","fas fa-tint","fas fa-tint-slash","fas fa-tired","fas fa-toggle-off","fas fa-toggle-on","fas fa-toilet","fas fa-toilet-paper","fas fa-toolbox","fas fa-tools","fas fa-tooth","fas fa-torah","fas fa-torii-gate","fas fa-tractor","fas fa-trademark","fas fa-traffic-light","fas fa-train","fas fa-tram","fas fa-transgender","fas fa-transgender-alt","fas fa-trash","fas fa-trash-alt","fas fa-tree","fas fa-trophy","fas fa-truck","fas fa-truck-loading","fas fa-truck-monster","fas fa-truck-moving","fas fa-truck-pickup","fas fa-tshirt","fas fa-tty","fas fa-tv","fas fa-umbrella","fas fa-umbrella-beach","fas fa-underline","fas fa-undo","fas fa-undo-alt","fas fa-universal-access","fas fa-university","fas fa-unlink","fas fa-unlock","fas fa-unlock-alt","fas fa-upload","fas fa-user","fas fa-user-alt","fas fa-user-alt-slash","fas fa-user-astronaut","fas fa-user-check","fas fa-user-circle","fas fa-user-clock","fas fa-user-cog","fas fa-user-edit","fas fa-user-friends","fas fa-user-graduate","fas fa-user-injured","fas fa-user-lock","fas fa-user-md","fas fa-user-minus","fas fa-user-ninja","fas fa-user-plus","fas fa-user-secret","fas fa-user-shield","fas fa-user-slash","fas fa-user-tag","fas fa-user-tie","fas fa-user-times","fas fa-users","fas fa-users-cog","fas fa-utensil-spoon","fas fa-utensils","fas fa-vector-square","fas fa-venus","fas fa-venus-double","fas fa-venus-mars","fas fa-vial","fas fa-vials","fas fa-video","fas fa-video-slash","fas fa-vihara","fas fa-volleyball-ball","fas fa-volume-down","fas fa-volume-mute","fas fa-volume-off","fas fa-volume-up","fas fa-vote-yea","fas fa-vr-cardboard","fas fa-walking","fas fa-wallet","fas fa-warehouse","fas fa-water","fas fa-weight","fas fa-weight-hanging","fas fa-wheelchair","fas fa-wifi","fas fa-wind","fas fa-window-close","fas fa-window-maximize","fas fa-window-minimize","fas fa-window-restore","fas fa-wine-bottle","fas fa-wine-glass","fas fa-wine-glass-alt","fas fa-won-sign","fas fa-wrench","fas fa-x-ray","fas fa-yen-sign","fas fa-yin-yang","far fa-address-book","far fa-address-card","far fa-angry","far fa-arrow-alt-circle-down","far fa-arrow-alt-circle-left","far fa-arrow-alt-circle-right","far fa-arrow-alt-circle-up","far fa-bell","far fa-bell-slash","far fa-bookmark","far fa-building","far fa-calendar","far fa-calendar-alt","far fa-calendar-check","far fa-calendar-minus","far fa-calendar-plus","far fa-calendar-times","far fa-caret-square-down","far fa-caret-square-left","far fa-caret-square-right","far fa-caret-square-up","far fa-chart-bar","far fa-check-circle","far fa-check-square","far fa-circle","far fa-clipboard","far fa-clock","far fa-clone","far fa-closed-captioning","far fa-comment","far fa-comment-alt","far fa-comment-dots","far fa-comments","far fa-compass","far fa-copy","far fa-copyright","far fa-credit-card","far fa-dizzy","far fa-dot-circle","far fa-edit","far fa-envelope","far fa-envelope-open","far fa-eye","far fa-eye-slash","far fa-file","far fa-file-alt","far fa-file-archive","far fa-file-audio","far fa-file-code","far fa-file-excel","far fa-file-image","far fa-file-pdf","far fa-file-powerpoint","far fa-file-video","far fa-file-word","far fa-flag","far fa-flushed","far fa-folder","far fa-folder-open","far fa-frown","far fa-frown-open","far fa-futbol","far fa-gem","far fa-grimace","far fa-grin","far fa-grin-alt","far fa-grin-beam","far fa-grin-beam-sweat","far fa-grin-hearts","far fa-grin-squint","far fa-grin-squint-tears","far fa-grin-stars","far fa-grin-tears","far fa-grin-tongue","far fa-grin-tongue-squint","far fa-grin-tongue-wink","far fa-grin-wink","far fa-hand-lizard","far fa-hand-paper","far fa-hand-peace","far fa-hand-point-down","far fa-hand-point-left","far fa-hand-point-right","far fa-hand-point-up","far fa-hand-pointer","far fa-hand-rock","far fa-hand-scissors","far fa-hand-spock","far fa-handshake","far fa-hdd","far fa-heart","far fa-hospital","far fa-hourglass","far fa-id-badge","far fa-id-card","far fa-image","far fa-images","far fa-keyboard","far fa-kiss","far fa-kiss-beam","far fa-kiss-wink-heart","far fa-laugh","far fa-laugh-beam","far fa-laugh-squint","far fa-laugh-wink","far fa-lemon","far fa-life-ring","far fa-lightbulb","far fa-list-alt","far fa-map","far fa-meh","far fa-meh-blank","far fa-meh-rolling-eyes","far fa-minus-square","far fa-money-bill-alt","far fa-moon","far fa-newspaper","far fa-object-group","far fa-object-ungroup","far fa-paper-plane","far fa-pause-circle","far fa-play-circle","far fa-plus-square","far fa-question-circle","far fa-registered","far fa-sad-cry","far fa-sad-tear","far fa-save","far fa-share-square","far fa-smile","far fa-smile-beam","far fa-smile-wink","far fa-snowflake","far fa-square","far fa-star","far fa-star-half","far fa-sticky-note","far fa-stop-circle","far fa-sun","far fa-surprise","far fa-thumbs-down","far fa-thumbs-up","far fa-times-circle","far fa-tired","far fa-trash-alt","far fa-user","far fa-user-circle","far fa-window-close","far fa-window-maximize","far fa-window-minimize","far fa-window-restore","fab fa-500px","fab fa-accessible-icon","fab fa-accusoft","fab fa-acquisitions-incorporated","fab fa-adn","fab fa-adobe","fab fa-adversal","fab fa-affiliatetheme","fab fa-algolia","fab fa-alipay","fab fa-amazon","fab fa-amazon-pay","fab fa-amilia","fab fa-android","fab fa-angellist","fab fa-angrycreative","fab fa-angular","fab fa-app-store","fab fa-app-store-ios","fab fa-apper","fab fa-apple","fab fa-apple-pay","fab fa-artstation","fab fa-asymmetrik","fab fa-atlassian","fab fa-audible","fab fa-autoprefixer","fab fa-avianex","fab fa-aviato","fab fa-aws","fab fa-bandcamp","fab fa-behance","fab fa-behance-square","fab fa-bimobject","fab fa-bitbucket","fab fa-bitcoin","fab fa-bity","fab fa-black-tie","fab fa-blackberry","fab fa-blogger","fab fa-blogger-b","fab fa-bluetooth","fab fa-bluetooth-b","fab fa-btc","fab fa-buromobelexperte","fab fa-buysellads","fab fa-canadian-maple-leaf","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","fab fa-chrome","fab fa-cloudscale","fab fa-cloudsmith","fab fa-cloudversify","fab fa-codepen","fab fa-codiepie","fab fa-confluence","fab fa-connectdevelop","fab fa-contao","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","fab fa-critical-role","fab fa-css3","fab fa-css3-alt","fab fa-cuttlefish","fab fa-d-and-d","fab fa-d-and-d-beyond","fab fa-dashcube","fab fa-delicious","fab fa-deploydog","fab fa-deskpro","fab fa-dev","fab fa-deviantart","fab fa-dhl","fab fa-diaspora","fab fa-digg","fab fa-digital-ocean","fab fa-discord","fab fa-discourse","fab fa-dochub","fab fa-docker","fab fa-draft2digital","fab fa-dribbble","fab fa-dribbble-square","fab fa-dropbox","fab fa-drupal","fab fa-dyalog","fab fa-earlybirds","fab fa-ebay","fab fa-edge","fab fa-elementor","fab fa-ello","fab fa-ember","fab fa-empire","fab fa-envira","fab fa-erlang","fab fa-ethereum","fab fa-etsy","fab fa-expeditedssl","fab fa-facebook","fab fa-facebook-f","fab fa-facebook-messenger","fab fa-facebook-square","fab fa-fantasy-flight-games","fab fa-fedex","fab fa-fedora","fab fa-figma","fab fa-firefox","fab fa-first-order","fab fa-first-order-alt","fab fa-firstdraft","fab fa-flickr","fab fa-flipboard","fab fa-fly","fab fa-font-awesome","fab fa-font-awesome-alt","fab fa-font-awesome-flag","fab fa-fonticons","fab fa-fonticons-fi","fab fa-fort-awesome","fab fa-fort-awesome-alt","fab fa-forumbee","fab fa-foursquare","fab fa-free-code-camp","fab fa-freebsd","fab fa-fulcrum","fab fa-galactic-republic","fab fa-galactic-senate","fab fa-get-pocket","fab fa-gg","fab fa-gg-circle","fab fa-git","fab fa-git-square","fab fa-github","fab fa-github-alt","fab fa-github-square","fab fa-gitkraken","fab fa-gitlab","fab fa-gitter","fab fa-glide","fab fa-glide-g","fab fa-gofore","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","fab fa-gratipay","fab fa-grav","fab fa-gripfire","fab fa-grunt","fab fa-gulp","fab fa-hacker-news","fab fa-hacker-news-square","fab fa-hackerrank","fab fa-hips","fab fa-hire-a-helper","fab fa-hooli","fab fa-hornbill","fab fa-hotjar","fab fa-houzz","fab fa-html5","fab fa-hubspot","fab fa-imdb","fab fa-instagram","fab fa-intercom","fab fa-internet-explorer","fab fa-invision","fab fa-ioxhost","fab fa-itunes","fab fa-itunes-note","fab fa-java","fab fa-jedi-order","fab fa-jenkins","fab fa-jira","fab fa-joget","fab fa-joomla","fab fa-js","fab fa-js-square","fab fa-jsfiddle","fab fa-kaggle","fab fa-keybase","fab fa-keycdn","fab fa-kickstarter","fab fa-kickstarter-k","fab fa-korvue","fab fa-laravel","fab fa-lastfm","fab fa-lastfm-square","fab fa-leanpub","fab fa-less","fab fa-line","fab fa-linkedin","fab fa-linkedin-in","fab fa-linode","fab fa-linux","fab fa-lyft","fab fa-magento","fab fa-mailchimp","fab fa-mandalorian","fab fa-markdown","fab fa-mastodon","fab fa-maxcdn","fab fa-medapps","fab fa-medium","fab fa-medium-m","fab fa-medrt","fab fa-meetup","fab fa-megaport","fab fa-mendeley","fab fa-microsoft","fab fa-mix","fab fa-mixcloud","fab fa-mizuni","fab fa-modx","fab fa-monero","fab fa-napster","fab fa-neos","fab fa-nimblr","fab fa-nintendo-switch","fab fa-node","fab fa-node-js","fab fa-npm","fab fa-ns8","fab fa-nutritionix","fab fa-odnoklassniki","fab fa-odnoklassniki-square","fab fa-old-republic","fab fa-opencart","fab fa-openid","fab fa-opera","fab fa-optin-monster","fab fa-osi","fab fa-page4","fab fa-pagelines","fab fa-palfed","fab fa-patreon","fab fa-paypal","fab fa-penny-arcade","fab fa-periscope","fab fa-phabricator","fab fa-phoenix-framework","fab fa-phoenix-squadron","fab fa-php","fab fa-pied-piper","fab fa-pied-piper-alt","fab fa-pied-piper-hat","fab fa-pied-piper-pp","fab fa-pinterest","fab fa-pinterest-p","fab fa-pinterest-square","fab fa-playstation","fab fa-product-hunt","fab fa-pushed","fab fa-python","fab fa-qq","fab fa-quinscape","fab fa-quora","fab fa-r-project","fab fa-raspberry-pi","fab fa-ravelry","fab fa-react","fab fa-reacteurope","fab fa-readme","fab fa-rebel","fab fa-red-river","fab fa-reddit","fab fa-reddit-alien","fab fa-reddit-square","fab fa-redhat","fab fa-renren","fab fa-replyd","fab fa-researchgate","fab fa-resolving","fab fa-rev","fab fa-rocketchat","fab fa-rockrms","fab fa-safari","fab fa-sass","fab fa-schlix","fab fa-scribd","fab fa-searchengin","fab fa-sellcast","fab fa-sellsy","fab fa-servicestack","fab fa-shirtsinbulk","fab fa-shopware","fab fa-simplybuilt","fab fa-sistrix","fab fa-sith","fab fa-sketch","fab fa-skyatlas","fab fa-skype","fab fa-slack","fab fa-slack-hash","fab fa-slideshare","fab fa-snapchat","fab fa-snapchat-ghost","fab fa-snapchat-square","fab fa-soundcloud","fab fa-sourcetree","fab fa-speakap","fab fa-spotify","fab fa-squarespace","fab fa-stack-exchange","fab fa-stack-overflow","fab fa-staylinked","fab fa-steam","fab fa-steam-square","fab fa-steam-symbol","fab fa-sticker-mule","fab fa-strava","fab fa-stripe","fab fa-stripe-s","fab fa-studiovinari","fab fa-stumbleupon","fab fa-stumbleupon-circle","fab fa-superpowers","fab fa-supple","fab fa-suse","fab fa-teamspeak","fab fa-telegram","fab fa-telegram-plane","fab fa-tencent-weibo","fab fa-the-red-yeti","fab fa-themeco","fab fa-themeisle","fab fa-think-peaks","fab fa-trade-federation","fab fa-trello","fab fa-tripadvisor","fab fa-tumblr","fab fa-tumblr-square","fab fa-twitch","fab fa-twitter","fab fa-twitter-square","fab fa-typo3","fab fa-uber","fab fa-ubuntu","fab fa-uikit","fab fa-uniregistry","fab fa-untappd","fab fa-ups","fab fa-usb","fab fa-usps","fab fa-ussunnah","fab fa-vaadin","fab fa-viacoin","fab fa-viadeo","fab fa-viadeo-square","fab fa-viber","fab fa-vimeo","fab fa-vimeo-square","fab fa-vimeo-v","fab fa-vine","fab fa-vk","fab fa-vnv","fab fa-vuejs","fab fa-weebly","fab fa-weibo","fab fa-weixin","fab fa-whatsapp","fab fa-whatsapp-square","fab fa-whmcs","fab fa-wikipedia-w","fab fa-windows","fab fa-wix","fab fa-wizards-of-the-coast","fab fa-wolf-pack-battalion","fab fa-wordpress","fab fa-wordpress-simple","fab fa-wpbeginner","fab fa-wpexplorer","fab fa-wpforms","fab fa-wpressr","fab fa-xbox","fab fa-xing","fab fa-xing-square","fab fa-y-combinator","fab fa-yahoo","fab fa-yandex","fab fa-yandex-international","fab fa-yarn","fab fa-yelp","fab fa-yoast","fab fa-youtube","fab fa-youtube-square","fab fa-zhihu"]);const wf=wp.i18n.__,kf=wp.element,_f=kf.Component,xf=kf.Fragment;var Sf=class extends _f{constructor(e){super(e),this.state={isOpen:!1,filterText:"",showIcons:!1}}render(){const e=this.props,t=e.value,n=e.disableToggle,a=e.colorSettings,r=e.iconColor,i=e.onColorChange,o=this.state.filterText;var l=[];return o.length>2?yf.forEach(e=>{e.includes(o)&&l.push(e)}):l=yf,wp.element.createElement("div",{className:"blockspare-field blockspare-field-icon-list "+(n?"":"blockspare-toggle-enabled")},this.props.label&&wp.element.createElement(xf,null,n?wp.element.createElement("label",null,this.props.label):wp.element.createElement(Toggle,{label:this.props.label,className:"blockspare-icon-list-toggle",value:!!this.props.value,onChange:()=>this.props.onChange(this.props.value?"":" ")})),a&&wp.element.createElement(Color,{label:wf(" Color"),value:r||"#ccc",onChange:e=>i(e)}),(n||""!=this.props.value)&&wp.element.createElement("div",{className:"blockspare-icon-list-wrapper"},wp.element.createElement("input",{type:"text",value:this.state.filterText,placeholder:"Search...",onChange:e=>this.setState({filterText:e.target.value}),autoComplete:"off"}),wp.element.createElement("div",{className:"blockspare-icon-list-icons"},l.map(e=>wp.element.createElement("span",{className:t==e?"blockspare-active":"",onClick:t=>{this.props.onChange(e)}},wp.element.createElement("span",{className:e}))))))}};const Ef=wp.i18n.__,Tf=wp.element.Fragment,Cf=wp.blockEditor,Mf=(Cf.InspectorControls,Cf.PanelColorSettings),Of=wp.components,Lf=(Of.PanelBody,Of.SelectControl);Of.RangeControl;function Df(e){const t=e.name,n=e.onChangeName,a=void 0===n?()=>{}:n,r=e.enableiconSize,i=e.iconSize,o=e.onChangeIconSizeOptions,l=void 0===o?()=>{}:o,s=e.enableiconStyles,c=e.iconStyles,u=e.onChangeIconStyles,p=void 0===u?()=>{}:u,d=e.iconBackgroundColor,m=e.onChangeIconBackgroundColor,f=void 0===m?()=>{}:m,b=(e.iconBorderColor,e.onChangeIconBorderColor,e.iconColor),g=e.OnChangeIconColor,h=void 0===g?()=>{}:g,v=(e.borderRadius,e.onChangeBorderRadius,[{value:"blockspare-icon-size-small",label:Ef("Small","blockspare")},{value:"blockspare-icon-size-medium",label:Ef("Medium","blockspare")},{value:"blockspare-icon-size-large",label:Ef("Large","blockspare")},{value:"blockspare-icon-size-extralarge",label:Ef("Extra Large","blockspare")}]),y=[{value:"blockspare-icon-style1",label:Ef("None","blockspare")},{value:"blockspare-icon-style2",label:Ef("Background","blockspare")},{value:"blockspare-icon-style3",label:Ef("Border","blockspare")}];return wp.element.createElement(Tf,null,wp.element.createElement(Sf,{value:t,onChange:a}),0!=r&&wp.element.createElement(Lf,{label:Ef("Icon Size","blockspare"),value:i,options:v.map(({value:e,label:t})=>({value:e,label:t})),onChange:l}),0!=s&&wp.element.createElement(Lf,{label:Ef("Icon Style","blockspare"),value:c,options:y.map(({value:e,label:t})=>({value:e,label:t})),onChange:p}),wp.element.createElement(Mf,{title:Ef("Icon Color","blockspare"),initialOpen:!1,colorSettings:[{value:b,onChange:h,label:Ef("Icon Color","blockspare")}]}),"blockspare-icon-style2"===c&&wp.element.createElement(Mf,{title:Ef("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:d,onChange:f,label:Ef("Background Color","blockspare")}]}))}const Ff=wp.element.Component,Pf=wp.i18n.__,jf=wp.blockEditor,Nf=jf.InspectorControls,zf=(jf.PanelColorSettings,wp.components),Af=(zf.RangeControl,zf.PanelBody),Yf=zf.ToggleControl;zf.SelectControl;class Bf extends Ff{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.backGroundColor,t.showImage),a=(t.counterFontColor,t.paddingTop),r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.marginTop,s=t.marginBottom,c=t.imgIconOption,u=t.name,p=t.iconSize,d=t.iconStyles,m=t.iconBackgroundColor,f=t.iconBorderColor,b=t.iconColor,g=t.borderRadius,h=(t.design,t.titleFontSize),v=(t.subtitleFontSize,t.headerTagOption),y=t.headertitleColor,w=t.headersubtitleColor,k=t.headerlayoutOption,_=t.titlePaddingTop,x=t.titlePaddingBottom,S=t.subtitlePaddingTop,E=t.subtitlePaddingBottom,T=t.headerboxColor,C=t.dashColor,M=(t.blockBorderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.titleLoadGoogleFonts),O=t.titleFontFamily,L=t.titleFontWeight,D=t.titleFontSubset,F=t.titleFontSizeType,P=t.titleFontSizeMobile,j=t.titleFontSizeTablet,N=t.subTitleFontSize,z=t.subTitleLoadGoogleFonts,A=t.subTitleFontFamily,Y=t.subTitleFontWeight,B=t.subTitleFontSubset,I=t.subTitleFontSizeType,R=t.subTitleFontSizeMobile,H=t.subTitleFontSizeTablet,W=t.counterFontSize,U=t.counterLoadGoogleFonts,G=t.counterFontFamily,V=t.counterFontWeight,q=t.counterFontSubset,$=t.counterFontSizeType,J=t.counterFontSizeMobile,X=t.counterFontSizeTablet,K=e.attributes,Q=e.setAttributes;Pf("Icon","blockspare"),Pf("Image","blockspare"),Pf("Layout 1","blockspare"),Pf("Layout 2","blockspare"),Pf("Layout 1","blockspare"),Pf("Layout 2","blockspare"),Pf("Layout 3","blockspare");return wp.element.createElement(Nf,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Af,{title:Pf("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(Yf,{label:Pf("Display Icon ","blockspare"),checked:n,onChange:()=>this.props.setAttributes({showImage:!n})})),"icon"==c&&n&&wp.element.createElement(Af,{title:Pf("Icon Settings"),initialOpen:!1},wp.element.createElement(Df,{name:u,onChangeName:e=>Q({name:e}),enableiconSize:!1,iconSize:p,onChangeIconSizeOptions:e=>Q({iconSize:e}),enableiconStyles:!1,iconStyles:d,onChangeIconStyles:e=>Q({iconStyles:e}),iconBackgroundColor:m,onChangeIconBackgroundColor:e=>Q({iconBackgroundColor:e}),iconBorderColor:f,onChangeIconBorderColor:e=>Q({iconBorderColor:e}),iconColor:b,OnChangeIconColor:e=>Q({iconColor:e}),borderRadius:g,onChangeBorderRadius:e=>Q({borderRadius:e})})),wp.element.createElement(Af,{title:Pf("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(tc,{headerlayoutOption:k,onChangeHeaderLayput:e=>Q({headerlayoutOption:e})}),wp.element.createElement(Af,{title:Pf("Typography Settings","blockspare")},wp.element.createElement(Ps,{label:Pf("Title Fonts Settings"),attributes:K,setAttributes:Q,loadGoogleFonts:{value:M,label:Pf("titleLoadGoogleFonts")},fontFamily:{value:O,label:Pf("titleFontFamily")},fontWeight:{value:L,label:Pf("titleFontWeight")},fontSubset:{value:D,label:Pf("titleFontSubset")},fontSizeType:{value:F,label:Pf("titleFontSizeType")},fontSize:{value:h,label:Pf("titleFontSize")},fontSizeMobile:{value:P,label:Pf("titleFontSizeMobile")},fontSizeTablet:{value:j,label:Pf("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:v}),wp.element.createElement(Ps,{label:Pf("Subtitle Fonts Settings"),attributes:K,setAttributes:Q,loadGoogleFonts:{value:z,label:Pf("subTitleLoadGoogleFonts")},fontFamily:{value:A,label:Pf("subTitleFontFamily")},fontWeight:{value:Y,label:Pf("subTitleFontWeight")},fontSubset:{value:B,label:Pf("subTitleFontSubset")},fontSizeType:{value:I,label:Pf("subTitleFontSizeType")},fontSize:{value:N,label:Pf("subTitleFontSize")},fontSizeMobile:{value:R,label:Pf("subTitleFontSizeMobile")},fontSizeTablet:{value:H,label:Pf("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),wp.element.createElement(Ps,{label:Pf("Counter Fonts Settings"),attributes:K,setAttributes:Q,loadGoogleFonts:{value:U,label:Pf("counterLoadGoogleFonts")},fontFamily:{value:G,label:Pf("counterFontFamily")},fontWeight:{value:V,label:Pf("counterFontWeight")},fontSubset:{value:q,label:Pf("counterFontSubset")},fontSizeType:{value:$,label:Pf("counterFontSizeType")},fontSize:{value:W,label:Pf("counterFontSize")},fontSizeMobile:{value:J,label:Pf("counterFontSizeMobile")},fontSizeTablet:{value:X,label:Pf("counterFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(Fi,{enableBlockGaps:!1,headerTagOption:v,onChangeHeaderTag:e=>Q({headerTagOption:e}),headerboxColor:T,onChangeboxcolor:e=>Q({headerboxColor:e}),dashColor:C,headerlayoutOption:k,onChangeDashColor:e=>Q({dashColor:e}),headertitleColor:y,onChangetitlecolor:e=>Q({headertitleColor:e}),titlePaddingTop:_,onChangetitlePaddingTop:e=>Q({titlePaddingTop:e}),titlePaddingBottom:x,onChangetitlePaddingBottom:e=>Q({titlePaddingBottom:e}),headersubtitleColor:w,onChangesubtitlecolor:e=>Q({headersubtitleColor:e}),subtitlePaddingTop:S,onChangesubtitlePaddingTop:e=>Q({subtitlePaddingTop:e}),subtitlePaddingBottom:E,onChangesubtitlePaddingBottom:e=>Q({subtitlePaddingBottom:e})})),wp.element.createElement(Af,{title:Pf("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(Af,{title:Pf("Padding Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:a,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>Q({paddingTop:e}),paddingEnableRight:!0,paddingRight:r,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>Q({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:i,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>Q({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:o,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>Q({paddingLeft:e})})),wp.element.createElement(Af,{title:Pf("Margin Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:l,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>Q({marginTop:e}),marginEnableBottom:!0,marginBottom:s,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>Q({marginBottom:e})})))))}}var If=n(309),Rf=n.n(If);var Hf=e=>{let t="";return t="blockspare-icon-style2"===e.iconStyles?{backgroundColor:e.iconBackgroundColor?e.iconBackgroundColor:"#8b249c",borderColor:e.iconBorderColor?e.iconBorderColor:"#8b249c",color:e.iconColor?e.iconColor:"#fff",borderRadius:e.borderRadius+"%"}:"blockspare-icon-style3"===e.iconStyles?{backgroundColor:"transparent",borderColor:e.iconBorderColor?e.iconBorderColor:"#8b249c",color:e.iconColor?e.iconColor:"#fff",borderRadius:e.borderRadius+"%"}:{color:e.iconColor?e.iconColor:"#fff"},t};function Wf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Uf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wf(Object(n),!0).forEach((function(t){Gf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vf=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.headerpaddingTop,m=t.headerpaddingRight,f=t.headerpaddingBottom,b=t.headerpaddingLeft,g=t.headermarginTop,h=t.headermarginBottom,v=t.counterFontColor,y=t.backGroundColor,w=t.blockBorderRadius,k=t.titleFontFamily,_=t.titleFontWeight,x=t.titleFontSizeType,S=t.titleFontSizeMobile,E=t.titleFontSizeTablet,T=t.subTitleFontSize,C=t.subTitleFontFamily,M=t.subTitleFontWeight,O=t.subTitleFontSizeType,L=t.subTitleFontSizeMobile,D=t.subTitleFontSizeTablet,F=t.counterFontSize,P=t.counterFontFamily,j=t.counterFontWeight,N=t.counterFontSizeType,z=t.counterFontSizeMobile,A=t.counterFontSizeTablet,Y=[];return Y.push({".blockspare-counter-wrapper":Uf({backgroundColor:y||"#fff"},kc(e.attributes),{},_c(e.attributes),{borderRadius:w||null}),".blockspare-counter-wrapper .blockspare-block-icon":Uf({},Hf(e.attributes)),".blockspare-counter":{fontSize:F+N,fontFamily:P,fontWeight:j}}),Y.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:d+"px",paddingRight:m+"px",paddingBottom:f+"px",marginTop:g+"px",marginBottom:h+"px",paddingLeft:b+"px"}}),Y.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+x,fontFamily:k,fontWeight:_,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:T+O,fontFamily:C,fontWeight:M,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},".blockspare-counter-wrapper":Uf({backgroundColor:y||"#fff"},kc(e.attributes),{},_c(e.attributes),{borderRadius:w?w+"px":null}),".blockspare-counter":{color:v||"#000"},"..blockspare-block-icon":Uf({},Hf(e.attributes)),tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:E+x},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:D+O},".blockspare-counter":{fontSize:A+x}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:S+x},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:L+O},".blockspare-counter":{fontSize:z+x}}}),vr.a.all(Y)};function qf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function $f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Jf=wp.element,Xf=Jf.Component,Kf=Jf.Fragment,Qf=(wp.i18n.__,wp.compose.compose),Zf=wp.components,eb=Zf.Toolbar,tb=Zf.RangeControl,nb=wp.blockEditor,ab=nb.BlockControls,rb=nb.InnerBlocks,ib=["core/image"],ob=[["core/image",{}]];var lb=Qf(gr,mr(Vf))(class extends Xf{render(){const e=this.props,t=e.attributes,n=t.align,a=t.showImage,r=t.counter,i=(t.counterFontColor,t.imgIconOption),l=t.name,s=t.iconSize,c=t.iconStyles,u=t.design,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=(t.blockBorderRadius,t.titleLoadGoogleFonts),b=t.titleFontFamily,g=t.titleFontWeight,h=t.subTitleLoadGoogleFonts,v=t.subTitleFontFamily,y=t.subTitleFontWeight,w=t.headerlayoutOption,k=t.sectionAlignment,_=t.counterLoadGoogleFonts,x=t.counterFontFamily,S=t.counterFontWeight,E=e.className,T=(e.isSelected,e.attributes,e.setAttributes);let C;if(1==_){const e={google:{families:[x+(S?":"+S:"")]}};C=wp.element.createElement(Lr,{config:e})}const M=o()([E]);return wp.element.createElement(Kf,null,wp.element.createElement(Bf,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qf(Object(n),!0).forEach((function(t){$f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:T},this.props)),wp.element.createElement(ab,null,wp.element.createElement(eb,null,wp.element.createElement(tb,{className:"blockspare_progress_bar_value",value:r,onChange:e=>T({counter:e}),min:0,max:1e6}))),wp.element.createElement("div",{className:M},this.props.styles,wp.element.createElement("div",{className:"blockspare-counter-wrapper blockspare-blocks"},wp.element.createElement("div",{className:o()("blockspare-counter-section")},wp.element.createElement("div",{className:o()("blockspare-counters-item",u)},a&&"image"==i&&wp.element.createElement(rb,{template:ob,allowedBlocks:ib,templateLock:!0,templateInsertUpdatesSelection:!0}),a&&"icon"==i&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",s,c)},wp.element.createElement("i",{className:l}))),wp.element.createElement("div",{className:"blockspare-counters"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+n)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",w,"blockspare-"+k)},wp.element.createElement(wc,{setAttributes:T,headerTitle:d,headerTagOption:p,headerSubTitle:m,titleFontFamily:b,titleFontWeight:g,titleLoadGoogleFonts:f,subTitleLoadGoogleFonts:h,subTitleFontFamily:v,subTitleFontWeight:y})))),wp.element.createElement("p",{className:"blockspare-counter"},wp.element.createElement(Rf.a,{className:"account-balance",start:0,end:r,duration:4.75})))))),C)}});const sb=wp.element.Component,cb=wp.compose.compose,ub=wp.blockEditor.InnerBlocks;var pb=cb(gr,mr(Vf))(class extends sb{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.showImage,a=t.counter,r=t.align,i=(t.counterFontColor,t.imgIconOption),l=t.name,s=t.iconSize,c=t.iconStyles,u=t.design,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=(t.backGroundColor,t.blockBorderRadius,t.sectionAlignment),b=t.headerlayoutOption,g=e.className,h=(e.attributes,o()([g]));return wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:"blockspare-counter-wrapper blockspare-blocks blockspare-section-counter-bar"},wp.element.createElement("div",{className:o()("blockspare-counter-section")},wp.element.createElement("div",{className:o()("blockspare-counters-item",u)},n&&"image"==i&&wp.element.createElement(ub.Content,null),n&&"icon"==i&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",s,c)},wp.element.createElement("i",{className:l}))),wp.element.createElement("div",{className:"blockspare-counters"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+r)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",b,"blockspare-"+f)},wp.element.createElement(Xc,{headerTitle:d,headerTagOption:p,headerSubTitle:m})))),wp.element.createElement("p",{className:"blockspare-counter"},a)))))}});function db(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function mb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?db(Object(n),!0).forEach((function(t){fb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):db(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bb=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.headerpaddingTop,m=t.headerpaddingRight,f=t.headerpaddingBottom,b=t.headerpaddingLeft,g=t.headermarginTop,h=t.headermarginBottom,v=t.counterFontColor,y=t.backGroundColor,w=t.blockBorderRadius,k=t.titleFontFamily,_=t.titleFontWeight,x=t.titleFontSizeType,S=t.titleFontSizeMobile,E=t.titleFontSizeTablet,T=t.subTitleFontSize,C=t.subTitleFontFamily,M=t.subTitleFontWeight,O=t.subTitleFontSizeType,L=t.subTitleFontSizeMobile,D=t.subTitleFontSizeTablet,F=t.counterFontSize,P=t.counterFontFamily,j=t.counterFontWeight,N=t.counterFontSizeType,z=t.counterFontSizeMobile,A=t.counterFontSizeTablet,Y=[];return Y.push({".blockspare-counter-wrapper":mb({backgroundColor:y||"#fff"},kc(e.attributes),{},_c(e.attributes),{borderRadius:w||null}),".blockspare-block-icon":mb({},Hf(e.attributes)),".blockspare-counter":{fontSize:F+N,fontFamily:P,fontWeight:j}}),Y.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:d+"px",paddingRight:m+"px",paddingBottom:f+"px",marginTop:g+"px",marginBottom:h+"px",paddingLeft:b+"px"}}),Y.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+x,fontFamily:k,fontWeight:_,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:T+O,fontFamily:C,fontWeight:M,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},".blockspare-counter-wrapper":mb({backgroundColor:y||"#fff"},kc(e.attributes),{},_c(e.attributes),{borderRadius:w?w+"px":null}),".blockspare-counter":{color:v||"#000"},"..blockspare-block-icon":mb({},Hf(e.attributes)),tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:E+x},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:D+O},".blockspare-counter":{fontSize:A+x}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:S+x},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:L+O},".blockspare-counter":{fontSize:z+x}}}),vr.a.all(Y)};const gb=wp.element.Component,hb=wp.compose.compose,vb=wp.blockEditor.InnerBlocks;var yb=hb(gr,mr(bb))(class extends gb{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.showImage,a=t.counter,r=t.align,i=(t.counterFontColor,t.imgIconOption),l=t.name,s=t.iconSize,c=t.iconStyles,u=t.design,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=(t.backGroundColor,t.blockBorderRadius,t.sectionAlignment),b=t.headerlayoutOption,g=e.className,h=(e.attributes,o()([g]));return wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:"blockspare-counter-wrapper blockspare-blocks blockspare-section-counter-bar"},wp.element.createElement("div",{className:o()("blockspare-counter-section")},wp.element.createElement("div",{className:o()("blockspare-counters-item",u)},n&&"image"==i&&wp.element.createElement(vb.Content,null),n&&"icon"==i&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",s,c)},wp.element.createElement("i",{className:l}))),wp.element.createElement("div",{className:"blockspare-counters"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+r)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",b,"blockspare-"+f)},wp.element.createElement(Xc,{headerTitle:d,headerTagOption:p,headerSubTitle:m})))),wp.element.createElement("p",{className:"blockspare-counter"},a)))))}});function wb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function kb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wb(Object(n),!0).forEach((function(t){_b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const xb=kb({},xi,{},Ei,{},vf.attributes,{},Si),Sb=wp.editor.RichText;var Eb=[{attributes:xb,save:function(e){const t=e.attributes,n=t.showImage,a=t.counter,r=t.counterFontColor,i=t.imgIconOption,l=t.name,s=t.iconSize,c=t.iconStyles,u=t.design,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=t.backGroundColor,b=t.blockBorderRadius,g=kb({backgroundColor:f||"#fff"},kc(e.attributes),{},_c(e.attributes),{borderRadius:b||null}),h=kb({},Hf(e.attributes)),v=kb({},au(e.attributes)),y=kb({},ru(e.attributes)),w=kb({},iu(e.attributes));return wp.element.createElement("div",{className:"blockspare-counter-wrapper blockspare-blocks blockspare-section-counter-bar",style:g},wp.element.createElement("div",{className:o()("blockspare-counter-section")},wp.element.createElement("div",{className:o()("blockspare-counters-item",u)},n&&"image"==i&&wp.element.createElement(InnerBlocks.Content,null),n&&"icon"==i&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",s,c),style:h},wp.element.createElement("i",{className:l}))),wp.element.createElement("div",{className:"blockspare-counters"},wp.element.createElement(bu,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:v}),d&&wp.element.createElement(Sb.Content,{tagName:p,className:"blockspare-title",style:y,value:d}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:v})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:v}),m&&wp.element.createElement(Sb.Content,{tagName:"p",className:"blockspare-subtitle",style:w,value:m}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:v})))),wp.element.createElement("p",{className:"blockspare-counter",style:{color:r||"#000"}},a))))}},{attributes:xb,save:e=>wp.element.createElement(yb,e)}];function Tb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Cb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Mb=vf.name,Ob=vf.category,Lb=wp.i18n.__,Db=wp.blocks.registerBlockType,Fb=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tb(Object(n),!0).forEach((function(t){Cb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},xi,{},Ei,{},vf.attributes,{},Si);Db(Mb,{title:Lb("BS Counter","blockspare"),description:Lb("Add counter in you page and post","blockspare`"),Description:"Displays Counter",category:Ob,icon:r.counter,attributes:Fb,keywords:[Lb("block","blockspare"),Lb("counter","blockspare"),Lb("number","blockspare"),Lb("box","blockspare")],supports:{align:["wide","full","center"],html:!0},example:{attributes:{counter:100,counterFontColor:"#000",headertitleColor:"#000",backGroundColor:"#fff",headersubtitleColor:"#000",name:"fas fa-chart-line",headerTitle:"Enter Title"}},edit:lb,save:pb,deprecated:Eb});n(598);var Pb=n(36);const jb=wp.i18n.__,Nb=wp.element.Component,zb=wp.blockEditor.InspectorControls,Ab=wp.components.PanelBody;class Yb extends Nb{render(){const e=this.props.attributes,t=e.name,n=e.iconSize,a=e.iconStyles,r=e.iconBackgroundColor,i=e.iconBorderColor,o=e.iconColor,l=e.borderRadius,s=e.marginTop,c=e.marginBottom,u=this.props.setAttributes;return wp.element.createElement(zb,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Ab,{title:jb("Icon Settings"),initialOpen:!1},wp.element.createElement(Df,{name:t,onChangeName:e=>u({name:e}),enableiconSize:!1,iconSize:n,onChangeIconSizeOptions:e=>u({iconSize:e}),enableiconStyles:!1,iconStyles:a,onChangeIconStyles:e=>u({iconStyles:e}),iconBackgroundColor:r,onChangeIconBackgroundColor:e=>u({iconBackgroundColor:e}),iconBorderColor:i,onChangeIconBorderColor:e=>u({iconBorderColor:e}),iconColor:o,OnChangeIconColor:e=>u({iconColor:e}),borderRadius:l,onChangeBorderRadius:e=>u({borderRadius:e})})),wp.element.createElement(Ab,{title:jb("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:s,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>u({marginTop:e}),marginEnableBottom:!0,marginBottom:c,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>u({marginBottom:e})}))))}}var Bb=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconStyles,r=t.iconBackgroundColor,i=t.iconBorderColor,o=t.iconColor,l=t.borderRadius,s=t.marginTop,c=t.marginBottom,u=[];return u.push({".blockspare-block-icon-wrapper":{textAlign:n,marginTop:s+"px",marginBottom:c+"px"}}),"blockspare-icon-style2"===a?u.push({".blockspare-block-icon":{backgroundColor:r||"#8b249c",borderColor:i||"#8b249c",color:o||"#fff",borderRadius:l+"%"}}):"blockspare-icon-style3"===a?u.push({".blockspare-block-icon":{backgroundColor:"transparent",borderColor:i||"#8b249c",color:o||"#fff",borderRadius:l+"%"}}):u.push({".blockspare-block-icon":{color:o||"#fff"}}),vr.a.all(u)};function Ib(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Rb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Hb=wp.element,Wb=Hb.Component,Ub=Hb.Fragment,Gb=(wp.i18n.__,wp.compose.compose),Vb=wp.blockEditor,qb=Vb.AlignmentToolbar,$b=Vb.BlockControls;var Jb=Gb(gr,mr(Bb,{editorMode:!0}))(class extends Wb{constructor(){super(...arguments),this.state={device:"md",spacer:!0}}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}render(){const e=this.props,t=e.attributes,n=t.name,a=t.iconSize,r=t.iconStyles,i=t.sectionAlignment,l=e.className,s=(e.attributes,e.setAttributes),c=o()([l,"blockspare-blocks"]);return wp.element.createElement(Ub,null,wp.element.createElement($b,{key:"controls"},wp.element.createElement(qb,{value:i,onChange:e=>{s({sectionAlignment:e})}})),wp.element.createElement(Yb,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ib(Object(n),!0).forEach((function(t){Rb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ib(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:s},this.props)),wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",a,r)},wp.element.createElement("i",{className:n})))))}});const Xb=wp.element.Component,Kb=wp.compose.compose;var Qb=Kb(gr,mr(Bb))(class extends Xb{render(){const e=this.props,t=e.attributes,n=t.name,a=t.iconSize,r=t.iconStyles,i=e.className,l=o()([i,"blockspare-blocks"]);return wp.element.createElement("div",{className:l},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",a,r)},wp.element.createElement("i",{className:n}))))}});var Zb=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconStyles,r=t.iconBackgroundColor,i=t.iconBorderColor,o=t.iconColor,l=t.borderRadius,s=[];return s.push({".blockspare-block-icon-wrapper":{textAlign:n}}),"blockspare-icon-style2"===a?s.push({".blockspare-block-icon":{backgroundColor:r||"#8b249c",borderColor:i||"#8b249c",color:o||"#fff",borderRadius:l+"%"}}):"blockspare-icon-style3"===a?s.push({".blockspare-block-icon":{backgroundColor:"transparent",borderColor:i||"#8b249c",color:o||"#fff",borderRadius:l+"%"}}):s.push({".blockspare-block-icon":{color:o||"#fff"}}),vr.a.all(s)};const eg=wp.element.Component,tg=wp.compose.compose;var ng=tg(gr,mr(Zb))(class extends eg{render(){const e=this.props,t=e.attributes,n=t.name,a=t.iconSize,r=t.iconStyles,i=e.className,l=o()([i,"blockspare-blocks"]);return wp.element.createElement("div",{className:l},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",a,r)},wp.element.createElement("i",{className:n}))))}});function ag(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function rg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ig=Pb.attributes;var og=[{attributes:ig,save:function(e){const t=e.attributes,n=t.name,a=t.iconSize,r=t.iconStyles,i=t.sectionAlignment,l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ag(Object(n),!0).forEach((function(t){rg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ag(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Hf(e.attributes));return wp.element.createElement("div",{className:"blockspare-block"},wp.element.createElement("div",{className:"blockspare-block-icon-wrapper",style:{textAlign:i}},wp.element.createElement("div",{className:o()("blockspare-block-icon",a,r),style:l},wp.element.createElement("i",{className:n}))))}},{attributes:ig,save:e=>wp.element.createElement(ng,e)}];const lg=Pb.name,sg=Pb.category,cg=Pb.attributes,ug=wp.i18n.__;(0,wp.blocks.registerBlockType)(lg,{title:ug("BS Icon","blockspare"),description:ug("Our Icon block allows you to choose and place various type of icons","blockspare"),category:sg,icon:r.iconblockspare,keywords:[ug("block","blockspare"),ug("icon","blockspare"),ug("set","blockspare"),ug("box","blockspare")],example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},attributes:cg,edit:Jb,save:Qb,deprecated:og});n(599),n(600);var pg=n(37),dg=n(31),mg=n.n(dg),fg=n(32),bg=n.n(fg);const gg=wp.i18n.__,hg=wp.element.Component,vg=wp.blockEditor,yg=vg.InspectorControls,wg=vg.PanelColorSettings,kg=wp.components,_g=kg.PanelBody,xg=kg.SelectControl,Sg=kg.ToggleControl,Eg=(kg.TextControl,kg.RangeControl);class Tg extends hg{imageSizeSelect(){const e=wp.data.select("core/editor").getEditorSettings();return bg()(ji()(e.imageSizes,({name:e,slug:t})=>({value:t,label:e})))}render(){const e=this.props,t=e.attributes,n=t.numberofSlide,a=(t.carouselSpeed,t.showsliderNextPrev),r=(t.carouselNextIcon,t.showDots),i=t.navigationColor,o=t.gutterSpace,l=(t.colorFilter,t.showOriginalOnHover,t.navigationSize),s=t.enableAutoPlay,c=t.marginTop,u=t.marginBottom,p=(e.attributes,e.setAttributes),d={value:"selectimage",label:gg("Select image size")};this.imageSizeSelect().unshift(d);gg("Chevron","blockspare"),gg("Angle","blockspare"),gg("Chevron Circle","blockspare"),gg("Caret","blockspare"),gg("Circle","blockspare"),gg("Original","blockspare"),gg("Grayscale","blockspare"),gg("Sepia","blockspare"),gg("Saturation","blockspare"),gg("Dim","blockspare"),gg("Vintage","blockspare");const m=[{value:"blockspare-navigation-small",label:gg("Small","blockspare")},{value:"blockspare-navigation-medium",label:gg("Medium","blockspare")},{value:"blockspare-navigation-large",label:gg("Large","blockspare")}];return wp.element.createElement(yg,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(_g,{title:gg("Carousel Settings","blockspare"),initialOpen:!1},wp.element.createElement(Eg,{label:gg("Number of slide to show","blockspare"),value:n,onChange:e=>p({numberofSlide:e}),min:2,max:3}),wp.element.createElement(Eg,{label:gg("Gutter Sapce","blockspare"),value:o,onChange:e=>p({gutterSpace:e}),min:0,max:5}),wp.element.createElement(Sg,{label:gg("Enable Autoplay","blockspare"),checked:s,onChange:()=>this.props.setAttributes({enableAutoPlay:!s}),help:gg("The effect will applicable on frontend only.","blockspare")}),wp.element.createElement(Sg,{label:gg("Display Navigation","blockspare"),checked:a,onChange:()=>this.props.setAttributes({showsliderNextPrev:!a})}),a&&wp.element.createElement(xg,{label:gg(" Navigation Size","blockspare"),value:l,options:m.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>p({navigationSize:e})}),wp.element.createElement(Sg,{label:gg("Display Dots","blockspare"),checked:r,onChange:()=>this.props.setAttributes({showDots:!r})}),a&&wp.element.createElement(wg,{title:gg("Navigation/Dots Color","blockspare"),initialOpen:!1,colorSettings:[{value:i,onChange:e=>p({navigationColor:e}),label:gg("Navigation/Dots Color","blockspare")}]})),wp.element.createElement(_g,{title:gg("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:c,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>p({marginTop:e}),marginEnableBottom:!0,marginBottom:u,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>p({marginBottom:e})}))))}}var Cg=n(310),Mg=n.n(Cg);const Og=wp.i18n.__,Lg=wp.element,Dg=Lg.Component,Fg=Lg.Fragment,Pg=wp.compose.compose,jg=wp.components,Ng=jg.IconButton,zg=jg.Spinner,Ag=jg.Dashicon,Yg=wp.blockEditor,Bg=Yg.RichText,Ig=Yg.URLInput,Rg=wp.data.withSelect,Hg=wp.keycodes,Wg=(Hg.BACKSPACE,Hg.DELETE,wp.blob.isBlobURL);var Ug=Pg([Rg((e,t)=>{const n=e("core").getMedia,a=t.id;return{image:a?n(a):null}})])(class extends Dg{constructor(){super(...arguments),this.onImageClick=this.onImageClick.bind(this),this.onSelectCaption=this.onSelectCaption.bind(this),this.bindContainer=this.bindContainer.bind(this),this.saveCustomLink=this.saveCustomLink.bind(this),this.state={captionSelected:!1,captionFocused:!1,isSaved:!1}}bindContainer(e){this.container=e}onSelectCaption(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}onImageClick(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1,captionFocused:!1})}saveCustomLink(){this.setState({isSaved:!0})}componentDidUpdate(e){const t=this.props,n=t.isSelected,a=t.image,r=t.url,i=t.imgLink;a&&!r&&this.props.setAttributes({url:a.source_url,alt:a.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1,captionFocused:!1}),i&&!n&&e.isSelected&&this.setState({isSaved:!1})}render(){const e=this.props,t=e.alt,n=e.caption,a=e.captions,r=e.fontSize,i=e.gutter,l=e.gutterMobile,s=e.id,c=e.isFirstItem,u=e.isLastItem,p=e.isSelected,d=e.linkTo,m=e.marginBottom,f=e.marginLeft,b=e.marginRight,g=e.marginTop,h=e.onMoveBackward,v=e.onMoveForward,y=e.onRemove,w=e.setAttributes,k=e.shadow,_=e.supportsCaption,x=e.supportsMoving,S=void 0===x||x,E=e.verticalMoving,T=void 0!==E&&E,C=e.url,M=e.sizes,O=e.inspectorSize,L=e["aria-label"],D=e.imgLink;let F="";F=M?"medium"===O?void 0===M.medium?C:void 0!==M.medium?M.medium.url:C:"full"===O?void 0===M.large?C:void 0!==M.full.url?M.full.url:C:C:C;const P=o()({["has-shadow-"+k]:"none"!==k||void 0!==k}),j=wp.element.createElement(Fg,null,wp.element.createElement("img",{src:F,className:P,alt:t,"data-id":s,"data-imglink":D,onClick:this.onImageClick,tabIndex:"0","aria-label":L}),Wg(C)&&wp.element.createElement(zg,null)),N=o()({"is-selected":p,"is-transient":C&&0===C.indexOf("blob:"),["has-margin-top-"+i]:g&&i>0,["has-margin-top-mobile-"+l]:g&&l>0,["has-margin-right-"+i]:b&&i>0,["has-margin-right-mobile-"+l]:b&&l>0,["has-margin-bottom-"+i]:m&&i>0,["has-margin-bottom-mobile-"+l]:m&&l>0,["has-margin-left-"+i]:f&&i>0,["has-margin-left-mobile-"+l]:f&&l>0}),z={fontSize:r?r+"px":void 0};return wp.element.createElement("figure",{className:"blockspare-gallery-figure "+N,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.bindContainer},p&&wp.element.createElement(Fg,null,S&&wp.element.createElement("div",{className:"components-blockspare-gallery-item__move-menu"},wp.element.createElement(Ng,{icon:T?"arrow-up":"arrow-left",onClick:!c&&h,className:"blockspare-gallery-item-button",label:Og("Move Image Backward","blockspare"),"aria-disabled":c,disabled:!p}),wp.element.createElement(Ng,{icon:T?"arrow-down":"arrow-right",onClick:!u&&v,className:"blockspare-gallery-item-button",label:Og("Move Image Forward","blockspare"),"aria-disabled":u,disabled:!p})),wp.element.createElement("div",{className:"components-blockspare-gallery-item__remove-menu"},wp.element.createElement(Ng,{icon:"no-alt",onClick:y,className:"blockspare-gallery-item-button",label:Og("Remove Image","blockspare"),disabled:!p})),"custom"===d&&wp.element.createElement("form",{className:"components-blockspare-gallery-item-image-link",onSubmit:e=>e.preventDefault()},wp.element.createElement(Ag,{icon:"admin-links"}),wp.element.createElement(Ig,{value:D,onChange:e=>w({imgLink:e})}),wp.element.createElement(Ng,{icon:this.state.isSaved?"saved":"editor-break",label:this.state.isSaved?Og("Saving","blockspare"):Og("Apply","blockspare"),onClick:this.saveCustomLink,type:"submit"}))),j,!0!==_||Bg.isEmpty(n)&&!p||!a?null:wp.element.createElement(Bg,{tagName:"figcaption",placeholder:Og("Write caption…","blockspare"),className:"blockspare-gallery-caption",style:z,value:n,isSelected:this.state.captionSelected,onChange:e=>w({caption:e}),unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}),Gg=n(311),Vg=n.n(Gg),qg=n(75),$g=n.n(qg),Jg=n(312),Xg=n.n(Jg);const Kg=(e,t)=>{const n=Vg()(e,["alt","id","link","caption","imgLink","sizes"]);n.url=$g()(e,["sizes","large","url"])||$g()(e,["media_details","sizes","large","source_url"])||e.url;const a=Xg()(t,(function(e){return e.url===n.url}));return n.imgLink=a>=0?t[a].imgLink:"",n},Qg=["image"],Zg=wp.i18n,eh=Zg.__,th=Zg.sprintf,nh=wp.element.Component,ah=wp.blockEditor,rh=ah.MediaPlaceholder,ih=ah.BlockIcon;var oh=class extends nh{constructor(){super(...arguments),this.onSelectImages=this.onSelectImages.bind(this)}onSelectImages(e){this.props.setAttributes({images:e.map(e=>Kg(e))})}render(){const e=this.props,t=e.attributes,n=(e.gutter,e.gutterMobile,e.isSelected),a=(e.marginBottom,e.marginLeft,e.marginRight,e.marginTop,e.noticeOperations),r=e.noticeUI,i=t.images,l=!!i.length,s=o()("blockspare-gallery--figure");return wp.element.createElement("div",{className:s},wp.element.createElement(rh,{addToGallery:l,isAppender:l,dropZoneUIOnly:l&&!n,icon:!l&&wp.element.createElement(ih,{icon:this.props.icon}),labels:{title:!l&&th(eh("%s Gallery","blockspare"),this.props.label),instructions:!l&&eh("Upload an image file, pick one from your media library, or add one with a URL.","blockspare")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:Qg,multiple:!0,value:l?i:void 0,onError:a.createErrorNotice,notices:l?void 0:r}))}};const lh=wp.element,sh=lh.Component,ch=lh.Fragment,uh=wp.blockEditor.mediaUpload,ph=wp.components.DropZone;var dh=class extends sh{constructor(){super(...arguments),this.addMediaFiles=this.addMediaFiles.bind(this)}addMediaFiles(e){const t=this.props.attributes.images||[],n=this.props,a=n.noticeOperations,r=n.setAttributes;uh({allowedTypes:Qg,filesList:e,onFileChange:e=>{const n=e.map(e=>Kg(e));r({images:t.concat(n)})},onError:a.createErrorNotice})}render(){return wp.element.createElement(ch,null,wp.element.createElement(ph,{onFilesDrop:this.addMediaFiles,label:this.props.label}))}};var mh=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=[];return r.push({".blockspare-carousel-wrap":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0}}),vr.a.all(r)};function fh(){return(fh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function bh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function gh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bh(Object(n),!0).forEach((function(t){hh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const vh=wp.element,yh=vh.Component,wh=vh.Fragment,kh=wp.i18n,_h=kh.__,xh=kh.sprintf,Sh=wp.compose.compose,Eh=wp.components,Th=Eh.withNotices,Ch=(Eh.ResizableBox,Eh.Toolbar),Mh=Eh.IconButton,Oh=wp.blockEditor,Lh=Oh.BlockControls,Dh=Oh.MediaUpload,Fh=Oh.MediaUploadCheck;var Ph=Sh([Th,gr,mr(mh)])(class extends yh{constructor(){super(...arguments),this.onSelectImage=this.onSelectImage.bind(this),this.onRemoveImage=this.onRemoveImage.bind(this),this.onMoveForward=this.onMoveForward.bind(this),this.onMoveBackward=this.onMoveBackward.bind(this),this.setImageAttributes=this.setImageAttributes.bind(this),this.onItemClick=this.onItemClick.bind(this),this.onEditSelectImages=this.onEditSelectImages.bind(this),this.state={selectedImage:null,captionFocused:!1}}componentDidMount(){this.props.setAttributes({lightbox:void 0,lightboxStyle:void 0,shadow:void 0})}componentDidUpdate(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1,captionFocused:!1}),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1}),this.props.attributes.gutter<=0&&this.props.setAttributes({radius:0}),"xlrg"===this.props.attributes.gridSize&&void 0===e.attributes.align&&this.props.setAttributes({gutter:0,gutterMobile:0})}onSelectImage(e){return()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e,captionFocused:!1})}}onMove(e,t){const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:n})}onMoveForward(e){return()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)}}onMoveBackward(e){return()=>{0!==e&&this.onMove(e,e-1)}}onRemoveImage(e){return()=>{const t=mg()(this.props.attributes.images,(t,n)=>e!==n);this.setState({selectedImage:null}),this.props.setAttributes({images:t})}}setImageAttributes(e,t){const n=this.props,a=n.attributes.images,r=n.setAttributes;a[e]&&r({images:[...a.slice(0,e),gh({},a[e],{},t),...a.slice(e+1)]})}onItemClick(){this.props.isSelected||this.props.onSelect(),this.state.captionFocused&&this.setState({captionFocused:!1})}onEditSelectImages(e){this.props.setAttributes({images:e.map(e=>Kg(e,this.props.attributes.images))})}render(){const e=this.props,t=e.attributes,n=t.images,a=t.numberofSlide,r=t.carouselSpeed,i=t.showsliderNextPrev,l=t.carouselNextIcon,s=t.showDots,c=t.navigationColor,u=t.gutterSpace,p=t.colorFilter,d=t.showOriginalOnHover,m=t.navigationSize,f=(t.enableAutoPlay,e.className),b=e.isSelected,g=(e.noticeUI,e.setAttributes),h=o()([f]),v=!!n.length,y=wp.element.createElement(dh,this.props);if(!v)return wp.element.createElement(oh,fh({},this.props,{label:_h("Carousel","blockspare")}));var w="fas fa-angle-right",k="fas fa-angle-left";"fas fa-angle-right"===l?(w=wp.element.createElement(Nh,null),k=wp.element.createElement(jh,null)):"fas fa-chevron-circle-right"===l?(w=wp.element.createElement(Ah,null),k=wp.element.createElement(zh,null)):"fas fa-caret-right"===l?(w=wp.element.createElement(Bh,null),k=wp.element.createElement(Yh,null)):"fas fa-chevron-right"===l?(w=wp.element.createElement(Rh,null),k=wp.element.createElement(Ih,null)):"fas fa-arrow-circle-right"===l?(w=wp.element.createElement(Wh,null),k=wp.element.createElement(Hh,null)):(w="fas fa-angle-right",k="fas fa-angle-left");const _={dots:s,loop:!0,speed:r,arrows:i,slidesToShow:a,nextArrow:w,prevArrow:k};return wp.element.createElement(wh,null,wp.element.createElement(Lh,null,v&&wp.element.createElement(wh,null,wp.element.createElement(Tg,gh({setAttributes:g},this.props)),wp.element.createElement(Ch,null,wp.element.createElement(Fh,null,wp.element.createElement(Dh,{onSelect:this.onEditSelectImages,allowedTypes:Qg,multiple:!0,gallery:!0,value:n.map(e=>e.id),render:({open:e})=>wp.element.createElement(Mh,{className:"components-toolbar__control",label:_h("Edit gallery","blockspare"),icon:"edit",onClick:e})}))))),y,wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-carousel-wrap","has-gutter-space-"+u,p,"blockspare-original"!==p&&d?"has-hover-effect":"",m)},wp.element.createElement("div",{className:"blockspare-carousel-items",style:{color:c}},wp.element.createElement(Mg.a,_,n.map((e,t)=>{const a=xh(_h("image %1$d of %2$d in gallery","blockspare"),t+1,n.length);return wp.element.createElement("div",{className:"blockspare-gallery-item",key:e.id||e.url,onClick:this.onItemClick},wp.element.createElement(Ug,{url:e.url,alt:e.alt,id:e.id,marginRight:!0,marginLeft:!0,isSelected:b&&this.state.selectedImage===t,onRemove:this.onRemoveImage(t),onSelect:this.onSelectImage(t),setAttributes:e=>this.setImageAttributes(t,e),caption:e.caption,"aria-label":a,supportsCaption:!1,onMoveBackward:this.onMoveBackward(t),onMoveForward:this.onMoveForward(t),supportsMoving:!0,sizes:e.sizes,inspectorSize:"medium"}))}))))))}});function jh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-prev slick-arrow fas fa-angle-left"),onClick:t})}function Nh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-next slick-arrow fas fa-angle-right"),onClick:t})}function zh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-prev slick-arrow fas fa-chevron-circle-left"),onClick:t})}function Ah(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-next slick-arrow fas fa-chevron-circle-right"),onClick:t})}function Yh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-prev slick-arrow fas fa-caret-left"),onClick:t})}function Bh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-next slick-arrow fas fa-caret-right"),onClick:t})}function Ih(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-prev slick-arrow fas fa-chevron-left"),onClick:t})}function Rh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-next slick-arrow fas fa-chevron-right"),onClick:t})}function Hh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-prev slick-arrow fas fa-arrow-circle-left"),onClick:t})}function Wh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-next slick-arrow fas fa-arrow-circle-right"),onClick:t})}const Uh=wp.element.Component,Gh=wp.compose.compose;var Vh=Gh(gr,mr(mh))(class extends Uh{render(){const e=this.props,t=e.attributes,n=t.images,a=t.numberofSlide,r=t.carouselSpeed,i=t.showsliderNextPrev,l=t.carouselNextIcon,s=t.showDots,c=t.navigationColor,u=t.gutterSpace,p=t.colorFilter,d=t.showOriginalOnHover,m=t.navigationSize,f=t.enableAutoPlay,b=e.className;let g=l,h=l.replace("-right","-left"),v={loop:!0,autoplay:f,slidesToShow:a,speed:r,arrows:i,dots:s};var y=JSON.stringify(v);const w=o()([b]);return wp.element.createElement("div",{className:w},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-carousel-wrap","has-gutter-space-"+u,p,m,"blockspare-original"!==p&&d?"has-hover-effect":"")},wp.element.createElement("div",{className:"blockspare-carousel-items","data-next":g,"data-prev":h,"data-slick":y,style:{color:c}},n.map((e,t)=>{let n="";return n=void 0===e.sizes.medium?e.url:e.sizes.medium.url,wp.element.createElement("div",{className:"blockspare-gallery-figure "},wp.element.createElement("img",{src:n}))}))))}});const qh=wp.element.Component;class $h extends qh{render(){const e=this.props,t=e.attributes,n=t.images,a=t.numberofSlide,r=t.carouselSpeed,i=t.showsliderNextPrev,l=t.carouselNextIcon,s=t.showDots,c=t.navigationColor,u=t.gutterSpace,p=t.colorFilter,d=t.showOriginalOnHover,m=t.navigationSize,f=t.enableAutoPlay,b=e.className;let g=l,h=l.replace("-right","-left"),v={loop:!0,autoplay:f,slidesToShow:a,speed:r,arrows:i,dots:s};var y=JSON.stringify(v);return wp.element.createElement("div",{className:o()(b,"blockspare-blocks blockspare-carousel-wrap","has-gutter-space-"+u,p,m,"blockspare-original"!==p&&d?"has-hover-effect":"")},wp.element.createElement("div",{className:"blockspare-carousel-items","data-next":g,"data-prev":h,"data-slick":y,style:{color:c}},n.map((e,t)=>{let n="";return n=void 0===e.sizes.medium?e.url:e.sizes.medium.url,wp.element.createElement("div",{className:"blockspare-gallery-figure "},wp.element.createElement("img",{src:n}))})))}}function Jh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Xh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Kh=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jh(Object(n),!0).forEach((function(t){Xh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},pg.attributes),save:e=>wp.element.createElement($h,e)}];const Qh=blockspare_globals,Zh=pg.name,ev=pg.category,tv=pg.attributes,nv=wp.i18n.__;(0,wp.blocks.registerBlockType)(Zh,{title:nv("BS Image Carousel","blockspare"),description:nv("Add logos, badges and images to build carousel.","blockspare"),category:ev,icon:r.imagecarousel,attributes:tv,keywords:[nv("block","blockspare"),nv("image","blockspare"),nv("carousel","blockspare"),nv("slider","blockspare"),nv("gallery","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{align:"full",images:[{url:Qh.img},{url:Qh.img},{url:Qh.img}],showsliderNextPrev:!0,showDots:!0}},edit:Ph,save:Vh,deprecated:Kh});var av=n(81),rv=(n(601),n(602),n(19));const iv=wp.i18n.__,ov=wp.element,lv=ov.Component,sv=(ov.Fragment,wp.blockEditor),cv=sv.InspectorControls,uv=sv.PanelColorSettings,pv=wp.components,dv=pv.PanelBody;pv.SelectControl,pv.RangeControl;class mv extends lv{render(){const e=this.props,t=e.attributes,n=t.percentageTextColor,a=t.textSize,r=t.barColor,i=(t.backgroundColor,t.barThickness,t.titleLoadGoogleFonts),o=t.titleFontFamily,l=t.titleFontWeight,s=t.titleFontSubset,c=t.titleFontSizeType,u=t.titleFontSizeMobile,p=t.titleFontSizeTablet,d=e.attributes,m=e.setAttributes;return wp.element.createElement(cv,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(dv,{title:iv("Block Settings"),initialOpen:!1},wp.element.createElement(Ps,{label:iv("Title"),attributes:d,setAttributes:m,loadGoogleFonts:{value:i,label:iv("titleLoadGoogleFonts")},fontFamily:{value:o,label:iv("titleFontFamily")},fontWeight:{value:l,label:iv("titleFontWeight")},fontSubset:{value:s,label:iv("titleFontSubset")},fontSizeType:{value:c,label:iv("titleFontSizeType")},fontSize:{value:a,label:iv("textSize")},fontSizeMobile:{value:u,label:iv("titleFontSizeMobile")},fontSizeTablet:{value:p,label:iv("titleFontSizeTablet")},disableLineHeight:!0}),wp.element.createElement(uv,{title:iv("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:r,onChange:e=>m({barColor:e}),label:iv("Bar Color","blockspare")},{value:n,onChange:e=>m({percentageTextColor:e}),label:iv("Percentage Texts Color","blockspare")}]}))))}}var fv=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textSize,r=t.textColor,i=t.percentageTextColor,o=t.barColor,l=t.backgroundColor,s=t.titleFontFamily,c=t.titleFontWeight,u=t.titleFontSizeType,p=t.titleFontSizeMobile,d=t.titleFontSizeTablet,m=[];return m.push({".blockspare-title":{textAlign:n,color:r||"#404040",fontSize:a+u+"!important",fontFamily:s,fontWeight:"Default"!==s?c+"!important":""},".blockspare_progress-bar-label":{color:i||"#8b249c"},".blockspare-skillbar":{backgroundColor:l||"#8b249c"},".blockspare-skillbar-bar":{backgroundColor:o||"#2DB7F5"},tablet:{".blockspare-title":{fontSize:d+u+"!important"}},mobile:{".blockspare-title":{fontSize:p+u+"!important"}}}),vr.a.all(m)};class bv extends Ai.Component{constructor(e){super(e),this.state={indicator:0,isActive:!1}}componentDidMount(){setTimeout(()=>this.setState({indicator:this.props.percent,isActive:!0}),1e3)}componentWillReceiveProps(e){this.state.isActive&&this.props.percent!==e.percent&&this.setState({indicator:e.percent})}render(){const e=this.state,t=e.indicator,n=(e.isActive,this.props),a=n.barColor,r=n.barThickness,i=(n.percent,n.backgroundColor),o=(n.percentageTextColor,`M ${r/2},${r/2} L ${100-r/2},${r/2}`);return wp.element.createElement("div",{className:"blockspare_progress-bar-container"},wp.element.createElement("svg",{className:"blockspare_progress-bar-line",viewBox:"0 0 100 "+r,preserveAspectRatio:"none"},wp.element.createElement("path",{className:"blockspare_progress-bar-line-trail",d:o,strokeWidth:r,style:{stroke:i||"#8b249c"}}),wp.element.createElement("path",{className:"blockspare_progress-bar-line-path",d:o,stroke:a||"#2DB7F5",strokeWidth:r,style:{strokeDashoffset:100-t+"px"}})))}}function gv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function hv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const vv=wp.element,yv=vv.Component,wv=vv.Fragment,kv=wp.i18n.__,_v=wp.compose.compose,xv=wp.blockEditor,Sv=xv.BlockControls,Ev=xv.RichText,Tv=xv.AlignmentToolbar,Cv=wp.components,Mv=Cv.Toolbar,Ov=Cv.RangeControl;var Lv=_v(gr,mr(fv))(class extends yv{render(){const e=this.props,t=e.attributes,n=t.title,a=(t.textSize,t.textColor,t.percentageTextColor),r=t.percentage,i=t.barColor,l=t.barThickness,s=t.backgroundColor,c=t.sectionAlignment,u=t.titleLoadGoogleFonts,p=t.titleFontFamily,d=t.titleFontWeight,m=(t.percent,e.isActive),f=void 0===m?"true":m,b=e.className,g=e.setAttributes;let h;if(1==u){const e={google:{families:[p+(d?":"+d:"")]}};h=wp.element.createElement(Lr,{config:e})}const v=o()([b,"blockspare-progressbar-wrap"]);return wp.element.createElement(wv,null,wp.element.createElement(mv,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gv(Object(n),!0).forEach((function(t){hv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:g},this.props)),wp.element.createElement(Sv,null,wp.element.createElement(Tv,{value:c,onChange:e=>{g({sectionAlignment:e})}}),wp.element.createElement(Mv,null,wp.element.createElement(Ov,{className:"blockspare_progress_bar_value",value:r,onChange:e=>g({percentage:e}),min:0,max:100}))),wp.element.createElement("div",{className:v},this.props.styles,wp.element.createElement("div",{className:"blockspare-precent-text-wrap"},wp.element.createElement(Ev,{tagName:"div",placeholder:kv("Title","blockspare"),keepPlaceholderOnFocus:!0,value:n,className:o()("blockspare-title","blockspare-progress-title"),onChange:e=>g({title:e})}),wp.element.createElement("div",{className:"blockspare_progress-bar-label",style:{visibility:f?"visible":"hidden",color:a||"#8b249c"}},r,"%")),wp.element.createElement(bv,{percent:r,barColor:i,barThickness:l,backgroundColor:s,percentageTextColor:a})),h)}});const Dv=wp.element.Component,Fv=wp.compose.compose,Pv=wp.blockEditor.RichText;var jv=Fv(gr,mr(fv))(class extends Dv{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.title,a=t.percentage,r=t.barThickness,i=(t.sectionAlignment,e.className),l=o()([i,"blockspare-progressbar-wrap"]);return wp.element.createElement("div",{className:l},this.props.styles,wp.element.createElement("div",{className:"blockspare_progress-bar-container"},wp.element.createElement("div",{className:"blockspare-precent-text-wrap"},wp.element.createElement(Pv.Content,{tagName:"div",className:o()("blockspare-title","blockspare-progress-title"),value:n}),wp.element.createElement("div",{className:"blockspare_progress-bar-label"},a,"%")),wp.element.createElement("div",{className:"blockspare-skillbar-item","data-percent":a},wp.element.createElement("div",{className:o()("blockspare-skillbar","barthickness-"+r)},wp.element.createElement("div",{className:"blockspare-skillbar-bar"})))))}});var Nv=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textSize,r=t.textColor,i=t.percentageTextColor,o=t.barColor,l=t.backgroundColor,s=t.titleFontFamily,c=t.titleFontWeight,u=t.titleFontSizeType,p=t.titleFontSizeMobile,d=t.titleFontSizeTablet,m=[];return m.push({".blockspare-title":{textAlign:n,color:r||"#404040",fontSize:a+u+"!important",fontFamily:s,fontWeight:"Default"!==s?c+"!important":""},".blockspare_progress-bar-label":{color:i||"#8b249c"},".blockspare-skillbar":{backgroundColor:l||"#8b249c"},".blockspare-skillbar-bar":{backgroundColor:o||"#2DB7F5"},tablet:{".blockspare-title":{fontSize:d+u+"!important"}},mobile:{".blockspare-title":{fontSize:p+u+"!important"}}}),vr.a.all(m)};const zv=wp.element.Component,Av=wp.compose.compose,Yv=wp.blockEditor.RichText;var Bv=Av(gr,mr(Nv))(class extends zv{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.title,a=t.percentage,r=t.barThickness,i=(t.sectionAlignment,e.className),l=o()([i,"blockspare-progressbar-wrap"]);return wp.element.createElement("div",{className:l},this.props.styles,wp.element.createElement("div",{className:"blockspare_progress-bar-container"},wp.element.createElement(Yv.Content,{tagName:"div",className:o()("blockspare-title","blockspare-progress-title"),value:n}),wp.element.createElement("div",{className:"blockspare-skillbar-item","data-percent":a},wp.element.createElement("div",{className:"blockspare_progress-bar-label"},a,"%"),wp.element.createElement("div",{className:o()("blockspare-skillbar","barthickness-"+r)},wp.element.createElement("div",{className:"blockspare-skillbar-bar"})))))}});function Iv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Rv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Iv(Object(n),!0).forEach((function(t){Hv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Iv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Wv=wp.blockEditor.RichText;var Uv=[{attributes:Rv({},rv.attributes),save:function(e){const t=e.attributes,n=(t.blockID,t.title),a=t.textSize,r=t.textColor,i=t.percentageTextColor,l=t.percentage,s=t.barColor,c=t.backgroundColor,u=t.barThickness,p=t.sectionAlignment,d={backgroundColor:s||"#2DB7F5"};return wp.element.createElement("div",{className:"blockspare_progress-bar-container"},wp.element.createElement(Wv.Content,{tagName:"div",value:n,style:{textAlign:p,color:r||"#404040",fontSize:a+"px"}}),wp.element.createElement("div",{className:"blockspare-skillbar-item","data-percent":l},wp.element.createElement("div",{className:"blockspare_progress-bar-label",style:{color:i||"#8b249c"}},l,"%"),wp.element.createElement("div",{className:o()("blockspare-skillbar","barthickness-"+u),style:{backgroundColor:c||"#8b249c"}},wp.element.createElement("div",{className:"blockspare-skillbar-bar",style:d}))))}},{attributes:Rv({},rv.attributes),save:e=>wp.element.createElement(Bv,e)}];const Gv=rv.name,Vv=rv.attributes,qv=rv.category,$v=wp.i18n.__,Jv=wp.blocks.registerBlockType,Xv={title:$v("progress","blockspare"),description:$v("Display multiple linear progressbar.","blockspare"),parent:["blockspare/linearprogressbar"],icon:"link",category:qv,supports:{html:!1,inserter:!1,reusable:!1},attributes:Vv,edit:Lv,save:jv,deprecated:Uv};Jv(Gv,Xv);const Kv=wp.element,Qv=Kv.Component,Zv=Kv.Fragment,ey=(wp.i18n.__,wp.compose.compose),ty=(wp.components.IconButton,wp.blockEditor.InnerBlocks),ny=wp.blocks.createBlock,ay=wp.data,ry=ay.withSelect,iy=ay.withDispatch;var oy=ey([ry((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,i=a.isBlockSelected,o=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:i(n)||o(n,!0)}}),iy(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends Qv{constructor(...e){var t,n,a;super(...e),a=e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++){const n="Create stylish Linear progressbar.";t.push(["blockspare/blockspare-skillbar",{itemNumber:e,defaultText:n}])}return t},(n="getProgressbarTemplate")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertProgressbarItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=Xv.title;e=Object.assign({},{},{itemNumber:t,title1:n,active:!1,defaultText:""})}else e=Xv;a(ny("blockspare/blockspare-skillbar",e),void 0,n)}render(){const e=this.props,t=(e.name,e.attributes),n=(e.isSelectedBlockInRoot,e.setAttributes,e.attributes.uniqueId);return wp.element.createElement(Zv,null,wp.element.createElement("div",{className:"blockspare-block-progress-bar blockspare-block-"+n},wp.element.createElement(ty,{template:this.getProgressbarTemplate(t),allowedBlocks:["blockspare/blockspare-skillbar"]})))}});const ly=wp.element.Component,sy=wp.blockEditor.InnerBlocks;var cy=class extends ly{render(){const e=this.props.attributes,t=(e.animation,e.uniqueId),n=(e.itemToggle,e.interaction,"blockspare-block-progress-bar blockspare-block-interaction blockspare-block-"+t);return wp.element.createElement("div",{className:n},wp.element.createElement(sy.Content,null))}};const uy=av.name,py=av.category,dy=av.attributes,my=wp.i18n.__;(0,wp.blocks.registerBlockType)(uy,{title:my("BS Progressbar","blockspare"),description:my("Display creative Linear Progressbar.","blockspare"),category:py,icon:r.progressBar,attributes:dy,keywords:[my("block","blockspare"),my("progress","blockspare"),my("bar","blockspare"),my("number","blockspare"),my("counter","blockspare")],supports:{html:!1,className:!1,align:["center","wide","full"]},example:{attributes:{}},edit:oy,save:cy});n(603),n(604);var fy=n(38),by=["blockspare-list-check","blockspare-list-check-square","blockspare-list-check-square-outline","blockspare-list-check-double","blockspare-list-check-circle","blockspare-list-check-circle-outline","blockspare-list-square","blockspare-list-square-outline"];const gy=wp.i18n.__,hy=wp.element,vy=hy.Component,yy=hy.Fragment;var wy=class extends vy{constructor(e){super(e),this.state={isOpen:!1,filterText:"",showIcons:!1}}render(){const e=this.props,t=e.value,n=e.disableToggle,a=e.colorSettings,r=e.iconColor,i=e.onColorChange,o=this.state.filterText;var l=[];return o.length>2?by.forEach(e=>{e.includes(o)&&l.push(e)}):l=by,wp.element.createElement("div",{className:"blockspare-field blockspare-field-icon-list "+(n?"":"blockspare-toggle-enabled")},this.props.label&&wp.element.createElement(yy,null,n?wp.element.createElement("label",null,this.props.label):wp.element.createElement(Toggle,{label:this.props.label,className:"blockspare-icon-list-toggle",value:!!this.props.value,onChange:()=>this.props.onChange(this.props.value?"":" ")})),a&&wp.element.createElement(Color,{label:gy(" Color"),value:r||"#ccc",onChange:e=>i(e)}),(n||""!=this.props.value)&&wp.element.createElement("div",{className:"blockspare-icon-list-wrapper"},wp.element.createElement("input",{type:"text",value:this.state.filterText,placeholder:"Search...",onChange:e=>this.setState({filterText:e.target.value}),autoComplete:"off"}),wp.element.createElement("div",{className:"blockspare-icon-list-icons"},l.map(e=>wp.element.createElement("span",{className:t==e?"blockspare-active":"",onClick:t=>{this.props.onChange(e)}},wp.element.createElement("span",{className:e}))))))}};const ky=wp.i18n.__,_y=wp.element.Fragment,xy=wp.blockEditor,Sy=(xy.InspectorControls,xy.PanelColorSettings),Ey=wp.components;Ey.PanelBody,Ey.SelectControl,Ey.RangeControl;function Ty(e){const t=e.name,n=e.onChangeName,a=void 0===n?()=>{}:n,r=e.listType,i=(e.onChangeListStyle,e.orderListStyle,e.onChangeOrderListStyle,e.color),o=e.onchangeColor,l=void 0===o?()=>{}:o;ky("List With icon","blockspare"),ky("Ordered List","blockspare"),ky("None","blockspare"),ky("Style1","blockspare"),ky("Style2","blockspare"),ky("Style3","blockspare");return wp.element.createElement(_y,null,"ul"==r&&wp.element.createElement(wy,{value:t,onChange:a}),wp.element.createElement(Sy,{title:ky("Color","blockspare"),initialOpen:!1,colorSettings:[{value:i,onChange:l,label:ky("Icon Color","blockspare")}]}))}const Cy=wp.i18n.__,My=wp.element,Oy=My.Component,Ly=(My.Fragment,wp.blockEditor),Dy=Ly.InspectorControls,Fy=(Ly.PanelColorSettings,wp.components),Py=Fy.PanelBody;Fy.ToggleControl,Fy.RangeControl;class jy extends Oy{render(){const e=this.props,t=e.attributes,n=t.name,a=t.listType,r=t.orderListStyle,i=t.color,o=(t.listBackGroundColor,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.borderRadius,t.marginTop),l=t.marginBottom,s=t.descriptionFontSize,c=t.descriptionFontFamily,u=t.descriptionFontWeight,p=t.descriptionFontSubset,d=t.descriptionFontSizeType,m=t.descriptionFontSizeMobile,f=t.descriptionFontSizeTablet,b=t.descriptionLoadGoogleFonts,g=e.attributes,h=e.setAttributes;return wp.element.createElement(Dy,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Py,{title:Cy("Typography Settings","blockspare")},wp.element.createElement(Ps,{label:Cy("Description Fonts Settings"),attributes:g,setAttributes:h,loadGoogleFonts:{value:b,label:Cy("descriptionLoadGoogleFonts")},fontFamily:{value:c,label:Cy("descriptionFontFamily")},fontWeight:{value:u,label:Cy("descriptionFontWeight")},fontSubset:{value:p,label:Cy("descriptionFontSubset")},fontSizeType:{value:d,label:Cy("descriptionFontSizeType")},fontSize:{value:s,label:Cy("descriptionFontSize")},fontSizeMobile:{value:m,label:Cy("descriptionFontSizeMobile")},fontSizeTablet:{value:f,label:Cy("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(Py,{title:Cy("Icon Settings"),initialOpen:!1},wp.element.createElement(Ty,{name:n,onChangeName:e=>h({name:e}),listType:a,onChangeListStyle:e=>h({listType:e}),orderListStyle:r,onChangeOrderListStyle:e=>h({orderListStyle:e}),color:i,onchangeColor:e=>h({color:e})})),wp.element.createElement(Py,{title:Cy("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:o,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>h({marginTop:e}),marginEnableBottom:!0,marginBottom:l,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>h({marginBottom:e})}))))}}function Ny(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function zy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ny(Object(n),!0).forEach((function(t){Ay(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ny(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ay(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Yy=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.listBackGroundColor,r=t.borderRadius,i=t.color,o=t.descriptionFontSize,l=t.descriptionFontFamily,s=t.descriptionFontWeight,c=(t.descriptionFontSubset,t.descriptionFontSizeType),u=t.descriptionFontSizeMobile,p=t.descriptionFontSizeTablet,d=t.marginTop,m=t.marginBottom,f=[],b=o-2;return f.push({".blockspare-list-wrap":zy({backgroundColor:a,borderRadius:r+"px",paddingTop:a?"20px":"",paddingBottom:a?"20px":"",paddingLeft:a?"20px":"",paddingRight:a?"20px":""},kc(e.attributes),{marginTop:d?d+"px":void 0,marginBottom:m?m+"px":void 0}),".listDescription li":{color:i||"#000",textAlign:n,fontSize:o+c,fontFamily:l+"!important",fontWeight:s+"!important"},".listDescription li:before":{fontSize:b+c},tablet:{".listDescription li":{fontSize:p+c},".listDescription li:before":{fontSize:b+c}},mobile:{".listDescription li":{fontSize:u+c},".listDescription li:before":{fontSize:b+c}}}),vr.a.all(f)};function By(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Iy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ry=wp.element,Hy=Ry.Component,Wy=Ry.Fragment,Uy=(wp.i18n.__,wp.compose.compose),Gy=wp.blockEditor.RichText,Vy=wp.blockEditor,qy=Vy.AlignmentToolbar,$y=Vy.BlockControls;var Jy=Uy(gr,mr(Yy))(class extends Hy{render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.listData,r=t.name,i=t.listType,l=t.orderListStyle,s=t.descriptionLoadGoogleFonts,c=t.descriptionFontFamily,u=t.descriptionFontWeight,p=e.className,d=(e.attributes,e.setAttributes);let m,f="";if(f="ul"==i?r:"ol"==i?l:"",1==s){const e={google:{families:[c+(u?":"+u:"")]}};m=wp.element.createElement(Lr,{config:e})}const b=o()([p,"blockspare-block-iconlist-wrap"]);return wp.element.createElement(Wy,null,wp.element.createElement(jy,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?By(Object(n),!0).forEach((function(t){Iy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):By(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:d},this.props)),wp.element.createElement($y,null,wp.element.createElement(qy,{value:n,onChange:e=>{d({sectionAlignment:e})}})),wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(Gy,{tagName:"none"==i?"ul":i,multiline:"li",itemProp:"description",keepPlaceholderOnFocus:!0,value:a,onChange:e=>d({listData:e}),className:o()(f,"listDescription")}))),m)}});const Xy=wp.element.Component,Ky=wp.compose.compose,Qy=wp.blockEditor.RichText;var Zy=Ky(gr,mr(Yy))(class extends Xy{render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.listData),a=t.name,r=t.listType,i=t.orderListStyle,l=(t.color,t.listBackGroundColor,t.borderRadius,e.className);e.attributes;let s="";s="ul"==r?a:"ol"==r?i:"";const c=o()([l,"blockspare-block-iconlist-wrap"]);return wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(Qy.Content,{tagName:"none"==r?"ul":r,multiline:"li",value:n,className:o()(s,"listDescription")})))}}),ew=n(119);function tw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function nw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tw(Object(n),!0).forEach((function(t){aw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function aw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rw=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.listBackGroundColor,r=t.borderRadius,i=t.color,o=t.descriptionFontSize,l=t.descriptionFontFamily,s=t.descriptionFontWeight,c=(t.descriptionFontSubset,t.descriptionFontSizeType),u=t.descriptionFontSizeMobile,p=t.descriptionFontSizeTablet,d=[];return d.push({".blockspare-list-wrap":nw({backgroundColor:a,borderRadius:r+"px",paddingTop:a?"20px":"",paddingBottom:a?"20px":"",paddingLeft:a?"20px":"",paddingRight:a?"20px":""},kc(e.attributes)),".listDescription li":{color:i||"#000",textAlign:n,fontSize:o+c,fontFamily:l+"!important",fontWeight:s+"!important"},".listDescription li:before":{fontSize:o+c},tablet:{".listDescription li":{fontSize:p+c},".listDescription li:before":{fontSize:o+c}},mobile:{".listDescription li":{fontSize:u+c},".listDescription li:before":{fontSize:o+c}}}),vr.a.all(d)};const iw=wp.element.Component,ow=wp.compose.compose,lw=wp.blockEditor.RichText;var sw=ow(gr,mr(rw))(class extends iw{render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.listData),a=t.name,r=t.listType,i=t.orderListStyle,l=(t.color,t.listBackGroundColor,t.borderRadius,e.className);e.attributes;let s="";s="ul"==r?a:"ol"==r?i:"";const c=o()([l,"blockspare-block-iconlist-wrap"]);return wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(lw.Content,{tagName:"none"==r?"ul":r,multiline:"li",value:n,className:o()(s,"listDescription")})))}});function cw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function uw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cw(Object(n),!0).forEach((function(t){pw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dw=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.listBackGroundColor,r=t.borderRadius,i=t.color,o=t.descriptionFontSize,l=t.descriptionFontFamily,s=t.descriptionFontWeight,c=(t.descriptionFontSubset,t.descriptionFontSizeType),u=t.descriptionFontSizeMobile,p=t.descriptionFontSizeTablet,d=t.marginTop,m=t.marginBottom,f=[];let b;return b=16===o?o-2:o,f.push({".blockspare-list-wrap":uw({backgroundColor:a,borderRadius:r+"px",paddingTop:a?"20px":"",paddingBottom:a?"20px":"",paddingLeft:a?"20px":"",paddingRight:a?"20px":""},kc(e.attributes),{marginTop:d?d+"px":void 0,marginBottom:m?m+"px":void 0}),".listDescription li":{color:i||"#000",textAlign:n,fontSize:o+c,fontFamily:l+"!important",fontWeight:s+"!important"},".listDescription li:before":{fontSize:b+c},tablet:{".listDescription li, .listDescription li:before ":{fontSize:p+c}},mobile:{".listDescription li, .listDescription li:before":{fontSize:u+c}}}),vr.a.all(f)};const mw=wp.element.Component,fw=wp.compose.compose,bw=wp.blockEditor.RichText;var gw=fw(gr,mr(dw))(class extends mw{render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.listData),a=t.name,r=t.listType,i=t.orderListStyle,l=(t.color,t.listBackGroundColor,t.borderRadius,e.className);e.attributes;let s="";s="ul"==r?a:"ol"==r?i:"";const c=o()([l,"blockspare-block-iconlist-wrap"]);return wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(bw.Content,{tagName:"none"==r?"ul":r,multiline:"li",value:n,className:o()(s,"listDescription")})))}});function hw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function vw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hw(Object(n),!0).forEach((function(t){yw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const ww=wp.blockEditor.RichText;var kw=[{attributes:vw({},ew.attributes,{},Si),save:function(e){const t=e.attributes,n=t.sectionAlignment,a=t.listData,r=t.name,i=t.listType,l=t.orderListStyle,s=t.color,c=t.listBackGroundColor,u=t.borderRadius;let p="";return p="ul"==i?r:"ol"==i?l:"",wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap"),style:vw({backgroundColor:c,borderRadius:u+"px",paddingTop:c?"20px":"",paddingBottom:c?"20px":"",paddingLeft:c?"20px":"",paddingRight:c?"20px":""},kc(e.attributes))},wp.element.createElement(ww.Content,{tagName:"none"==i?"ul":i,multiline:"li",value:a,className:p,style:{color:s||"#000",textAlign:n}}))}},{attributes:vw({},ew.attributes,{},Si),save:e=>wp.element.createElement(sw,e)},{attributes:vw({},fy.attributes,{},Si),save:e=>wp.element.createElement(gw,e)}];function _w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function xw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Sw=fy.name,Ew=fy.category,Tw=wp.i18n.__,Cw=wp.blocks.registerBlockType,Mw=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_w(Object(n),!0).forEach((function(t){xw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},fy.attributes,{},Si);Cw(Sw,{title:Tw("BS Icon List","blockspare"),description:Tw("Icon List allow you to add list with various type of icons","blockspare"),category:Ew,icon:r.iconlist,attributes:Mw,keywords:[Tw("block","blockspare"),Tw("list","blockspare"),Tw("icon","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{listData:"<li>Vestibulum ac diam sit amet</li> <li>Vestibulum ac diam sit amet</li> <li>Vestibulum ac diam sit amet</li>",name:"blockspare-list-check",sectionAlignment:"center"}},edit:Jy,save:Zy,deprecated:kw});n(605),n(606);var Ow=n(39);function Lw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Dw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lw(Object(n),!0).forEach((function(t){Fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pw=wp.i18n.__,jw=wp.element,Nw=jw.Component,zw=jw.Fragment;wp.components.ResizableBox,wp.keycodes.BACKSPACE;var Aw=class extends Nw{constructor(){super(...arguments),this.onRemoveImage=this.onRemoveImage.bind(this),this.onSelectImage=this.onSelectImage.bind(this),this.onMoveForward=this.onMoveForward.bind(this),this.onMoveBackward=this.onMoveBackward.bind(this),this.setImageAttributes=this.setImageAttributes.bind(this),this.onEditSelectImages=this.onEditSelectImages.bind(this),this.state={selectedImage:null}}componentDidMount(){"xlrg"===this.props.attributes.gridSize&&this.props.setAttributes({align:"wide",gridSize:"lrg"})}componentDidUpdate(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}onSelectImage(e){return()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e})}}onMove(e,t){const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:n})}onMoveForward(e){return()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)}}onMoveBackward(e){return()=>{0!==e&&this.onMove(e,e-1)}}onRemoveImage(e){return()=>{const t=mg()(this.props.attributes.images,(t,n)=>e!==n);this.setState({selectedImage:null}),this.props.setAttributes({images:t})}}setImageAttributes(e,t){const n=this.props,a=n.attributes.images,r=n.setAttributes;a[e]&&r({images:[...a.slice(0,e),Dw({},a[e],{},t),...a.slice(e+1)]})}onEditSelectImages(e){this.props.setAttributes({images:e.map(e=>Kg(e,this.props.attributes.images))})}render(){let e;switch(this.props.attributes.align){case"wide":e=4;break;case"full":e=5;break;default:e=3}this.props.attributes;const t=this.props,n=t.isSelected,a=t.captions,r=t.images,i=t.linkTo;return wp.element.createElement(zw,null,wp.element.createElement("ul",{className:"blockspare-logo-wrap"},r.map((e,t)=>{const o=sprintf(Pw("image %1$d of %2$d in gallery","blockspare"),t+1,r.length);return wp.element.createElement("li",{className:"blockspare-gallery-item",key:e.id||e.url},wp.element.createElement(Ug,{url:e.url,alt:e.alt,id:e.id,imgLink:e.imgLink,linkTo:i,isFirstItem:0===t,isLastItem:t+1===r.length,isSelected:n&&this.state.selectedImage===t,onSelect:this.onSelectImage(t),onMoveBackward:this.onMoveBackward(t),onMoveForward:this.onMoveForward(t),onRemove:this.onRemoveImage(t),setAttributes:e=>this.setImageAttributes(t,e),caption:e.caption,"aria-label":o,captions:a,supportsCaption:!0}))})))}};function Yw(){return(Yw=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}const Bw=wp.i18n.__,Iw=wp.element,Rw=Iw.Component,Hw=Iw.Fragment,Ww=wp.compose.compose,Uw=wp.components.withNotices,Gw=wp.blockEditor,Vw=Gw.MediaPlaceholder,qw=Gw.BlockIcon;var $w=Ww([Uw])(class extends Rw{constructor(){super(...arguments),this.onSelectImages=this.onSelectImages.bind(this)}onSelectImages(e){this.props.setAttributes({images:e.map(e=>Kg(e))})}render(){const e=this.props,t=e.className,n=e.noticeOperations,a=e.attributes,i=e.noticeUI,l=e.isSelected,s=a.images,c=a.grayscale,u=!!s.length;o()(t,{"has-filter-grayscale":c});return wp.element.createElement(Hw,null,wp.element.createElement(dh,this.props),wp.element.createElement("div",{className:"blockspare-blocks blockspare-logos-wrapper"},wp.element.createElement(Aw,Yw({},this.props,{images:s})),(!u||l)&&wp.element.createElement(Vw,{addToGallery:u,isAppender:u,icon:wp.element.createElement(qw,{icon:r.edit}),labels:{title:Bw("Logos Grid","blockspare"),instructions:Bw("Upload an image file, pick one from your media library, or add one with a URL","blockspare")},multiple:!0,accept:"image/*",allowedTypes:["image"],value:u?s:void 0,onError:n.createErrorNotice,notices:i,onSelect:this.onSelectImages,className:o()({"is-appender":u})})))}});const Jw=wp.element.Component,Xw=wp.blockEditor.RichText;function Kw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Qw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zw=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kw(Object(n),!0).forEach((function(t){Qw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ow.attributes),save:function(e){const t=e.attributes,n=t.captions,a=t.images,r=t.linkTo,i=t.rel,o=t.target;return wp.element.createElement("div",{className:"blockspare-blocks blockspare-logos-wrapper"},wp.element.createElement("ul",{className:"blockspare-logo-wrap"},a.map(e=>{let t;switch(r){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const a=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return wp.element.createElement("li",{key:e.id||e.url,className:"blockspare-gallery-item"},wp.element.createElement("figure",{className:"blockspare-gallery-figure"},t?wp.element.createElement("a",{href:t,target:o,rel:i},a):a,n&&e.caption&&e.caption.length>0&&wp.element.createElement(RichText.Content,{tagName:"figcaption",className:"blockspare-gallery-caption",value:e.caption})))})))}}];const ek=blockspare_globals,tk=wp.i18n.__,nk=wp.blocks.registerBlockType,ak=Ow.name,rk=Ow.category,ik=Ow.attributes;nk(ak,{title:tk("BS Logo Grid","blockspare"),description:tk("Add logos, badges, or certifications to build credibility.","blockspare"),category:rk,icon:r.logobadge,attributes:ik,keywords:[tk("block","blockspare"),tk("logo","blockspare"),tk("brand","blockspare"),tk("clients","blockspare"),tk("grid","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{align:"full",images:[{url:ek.img,width:420},{url:ek.img,width:420},{url:ek.img,width:420},{url:ek.img,width:420}]}},edit:$w,save:class extends Jw{render(){const e=this.props.attributes,t=e.captions,n=e.images,a=e.linkTo,r=e.rel,i=e.target;return wp.element.createElement("div",{className:"blockspare-blocks blockspare-logos-wrapper"},wp.element.createElement("ul",{className:"blockspare-logo-wrap"},n.map(e=>{let n;switch(a){case"media":n=e.url;break;case"attachment":n=e.link}e.imgLink&&(n=e.imgLink);const o=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return wp.element.createElement("li",{key:e.id||e.url,className:"blockspare-gallery-item"},wp.element.createElement("figure",{className:"blockspare-gallery-figure"},n?wp.element.createElement("a",{href:n,target:i,rel:r},o):o,t&&e.caption&&e.caption.length>0&&wp.element.createElement(Xw.Content,{tagName:"figcaption",className:"blockspare-gallery-caption",value:e.caption})))})))}},deprecated:Zw});n(607);var ok=n(76),lk=n.n(ok),sk=n(77),ck=n.n(sk),uk=n(2),pk=n.n(uk);function dk(){return(dk=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}const mk=wp.hooks,fk=(mk.addFilter,mk.applyFilters),bk=wp.i18n.__,gk=wp.element,hk=gk.Component,vk=(gk.Fragment,wp.blockEditor),yk=vk.InspectorControls,wk=vk.PanelColorSettings,kk=wp.components,_k=kk.PanelBody,xk=kk.QueryControls,Sk=kk.RangeControl,Ek=(kk.SelectControl,kk.TextControl,kk.ToggleControl),Tk=wp.url.addQueryArgs,Ck=wp.apiFetch;class Mk extends hk{constructor(){super(...arguments),this.state={categoriesList:[]}}componentDidMount(){this.stillMounted=!0,this.fetchRequest=Ck({path:Tk("/wp/v2/categories",{per_page:-1})}).then(e=>{this.stillMounted&&this.setState({categoriesList:e})}).catch(()=>{this.stillMounted&&this.setState({categoriesList:[]})})}componentWillUnmount(){this.stillMounted=!1}imageSizeSelect(){const e=wp.data.select("core/editor").getEditorSettings();return bg()(ji()(e.imageSizes,({name:e,slug:t})=>({value:t,label:e})))}render(){const e=this.props,t=e.attributes,n=t.columns,a=t.postType,r=t.backGroundColor,i=t.design,o=void 0===i?"blockspare-grid-layout-1":i,l=(t.displayPostTitle,t.displayPostCategory),s=t.displayPostAuthor,c=t.displayPostDate,u=t.displayPostExcerpt,p=t.displayPostLink,d=(t.excerptLength,t.readMoreText,t.postsToShow,t.enableBackgroundColor,t.marginTop),m=t.marginBottom,f=(t.imageSize,t.order),b=t.orderBy,g=t.categories,h=(t.offset,t.contentOrder,t.equalImageHeight,t.postTitleColor),v=t.postTitleFontSize,y=t.linkColor,w=t.generalColor,k=(t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.borderRadius,t.titleLoadGoogleFonts),_=t.titleFontFamily,x=t.titleFontWeight,S=t.titleFontSubset,E=t.titleFontSizeType,T=t.titleFontSizeMobile,C=t.titleFontSizeTablet,M=e.attributes,O=e.setAttributes,L=e.latestPosts,D=this.state.categoriesList,F=(bk("Default","blockspare"),bk("Meta → Title → Category → Content","blockspare"),bk("Title → Meta → Category → Content","blockspare"),bk("Title → Category → Meta → Content","blockspare"),Array.isArray(L)&&L.length),P="post"===a;this.imageSizeSelect();return wp.element.createElement(yk,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Qs,{initialOpen:!1,selected:o,options:fk("blockspare.cta.edit.layouts",[{label:bk("Style 1","blockspare"),value:"blockspare-grid-layout-1",image:"images/blockspare-grid-layout-1.png"},{label:bk("Style 2","blockspare"),value:"blockspare-grid-layout-2",image:"images/blockspare-grid-layout-2.png"},{label:bk("Style 3","blockspare"),value:"blockspare-grid-layout-3",image:"images/blockspare-grid-layout-3.png"}]),onChange:e=>O({design:e})}),wp.element.createElement(_k,{title:bk("Block Settings","blockspare"),className:P?null:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(Sk,{label:bk("Columns","blockspare"),value:n,onChange:e=>O({columns:e}),min:1,max:F?Math.min(3,L.length):3}),wp.element.createElement(wk,{title:bk("Title Color","blockspare"),initialOpen:!0,colorSettings:[{value:h,onChange:e=>O({postTitleColor:e}),label:bk("Title Color","blockspare")}]}),wp.element.createElement(Ps,{label:bk("Title Fonts Settings"),attributes:M,setAttributes:O,loadGoogleFonts:{value:k,label:bk("titleLoadGoogleFonts")},fontFamily:{value:_,label:bk("titleFontFamily")},fontWeight:{value:x,label:bk("titleFontWeight")},fontSubset:{value:S,label:bk("titleFontSubset")},fontSizeType:{value:E,label:bk("titleFontSizeType")},fontSize:{value:v,label:bk("postTitleFontSize")},fontSizeMobile:{value:T,label:bk("titleFontSizeMobile")},fontSizeTablet:{value:C,label:bk("titleFontSizeTablet")},disableLineHeight:!0}),P&&wp.element.createElement(Ek,{label:bk("Display Category","blockspare"),checked:l,onChange:()=>this.props.setAttributes({displayPostCategory:!l})}),P&&wp.element.createElement(Ek,{label:bk("Display Author","blockspare"),checked:s,onChange:()=>this.props.setAttributes({displayPostAuthor:!s})}),P&&wp.element.createElement(Ek,{label:bk("Display Date","blockspare"),checked:c,onChange:()=>this.props.setAttributes({displayPostDate:!c})}),wp.element.createElement(Ek,{label:bk("Display Excerpt","blockspare"),checked:u,onChange:()=>this.props.setAttributes({displayPostExcerpt:!u})}),wp.element.createElement(Ek,{label:bk("Display Continue Reading Link","blockspare"),checked:p,onChange:()=>this.props.setAttributes({displayPostLink:!p})}),"blockspare-grid-layout-4"!=o&&"blockspare-grid-layout-5"!=o&&"blockspare-grid-layout-6"!=o&&wp.element.createElement(wk,{title:bk("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:r,onChange:e=>O({backGroundColor:e}),label:bk("Background Color","blockspare")}]}),wp.element.createElement(wk,{title:bk(" Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:y,onChange:e=>O({linkColor:e}),label:bk("Link Color","blockspare")},{value:w,onChange:e=>O({generalColor:e}),label:bk("General Color","blockspare")}]})),wp.element.createElement(_k,{title:bk("Post Settings","blockspare"),className:P?null:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(xk,dk({order:f,orderBy:b},{categoriesList:D,selectedCategoryId:g,onCategoryChange:e=>O({categories:""!==e?e:void 0}),onOrderChange:e=>O({order:e}),onOrderByChange:e=>O({orderBy:e})}))),wp.element.createElement(_k,{title:bk("Block Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:d,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>O({marginTop:e}),marginEnableBottom:!0,marginBottom:m,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>O({marginBottom:e})}))))}}var Ok=e=>{let t="";return t={border:e.borderColor,backgroundColor:e.backGroundColor?e.backGroundColor:void 0,boxShadow:e.enableBoxShadow?e.xOffset+"px "+e.yOffset+"px "+e.blur+"px "+e.spread+"px "+e.shadowColor:"",borderRadius:e.borderRadius?e.borderRadius:null},t};function Lk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Dk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lk(Object(n),!0).forEach((function(t){Fk(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pk=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=t.linkColor,i=t.postTitleColor,o=t.generalColor,l=t.design,s=t.postTitleFontSize,c=t.titleFontFamily,u=t.titleFontWeight,p=(t.titleFontSubset,t.titleFontSizeType),d=t.titleFontSizeMobile,m=t.titleFontSizeTablet,f=[];return f.push({".blockspare-post-wrap":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0},".blockspare-post-category":{color:r||"#1977ac"},".blockspare-block-post-grid-author a span":{color:r||"#1977ac"},".blockspare-text-link a":{color:r||"#1977ac"},".blockspare-block-post-grid-title a span":{color:i?i+"!important":"#404040",fontSize:s+p,fontFamily:c,fontWeight:u},".blockspare-block-post-grid-date, .blockspare-block-post-grid-excerpt":{color:o||"#000"},tablet:{".blockspare-block-post-grid-title a span":{fontSize:m+p}},mobile:{".blockspare-block-post-grid-title a span":{fontSize:d+p}}}),"blockspare-list-layout-6"!=l&&"blockspare-list-layout-5"!=l&&"blockspare-list-layout-4"!=l&&f.push({".blockspare-post-single":Dk({},Ok(e.attributes))}),vr.a.all(f)};function jk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Nk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jk(Object(n),!0).forEach((function(t){zk(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ak=wp.element,Yk=Ak.Component,Bk=Ak.Fragment,Ik=wp.i18n.__,Rk=wp.compose.compose,Hk=wp.htmlEntities.decodeEntities,Wk=wp.data.withSelect,Uk=wp.components,Gk=Uk.Placeholder,Vk=Uk.Spinner;var qk=Rk([Wk((e,t)=>{const n=t.attributes,a=n.order,r=n.categories,i=e("core").getEntityRecords,o=ck()({categories:r,order:a,orderby:t.attributes.orderBy,per_page:t.attributes.postsToShow,offset:t.attributes.offset},e=>!lk()(e));return{latestPosts:i("postType",t.attributes.postType,o)}}),gr,mr(Pk)])(class extends Yk{render(){const e=this.props,t=e.attributes,n=(t.align,t.columns),a=t.postType,r=t.backGroundColor,i=t.design,l=t.displayPostTitle,s=t.displayPostCategory,c=t.displayPostAuthor,u=t.displayPostDate,p=t.displayPostExcerpt,d=t.displayPostLink,m=t.excerptLength,f=t.readMoreText,b=t.postsToShow,g=t.enableBackgroundColor,h=(t.marginTop,t.marginBottom,t.imageSize),v=void 0===h?"medium":h,y=t.contentOrder,w=(t.borderColor,t.sectionTag),k=t.equalImageHeight,_=(t.postTitleColor,t.postTitleFontSize,t.linkColor,t.generalColor,t.borderRadius,t.titleLoadGoogleFonts),x=t.titleFontFamily,S=t.titleFontWeight,E=e.className,T=(e.attributes,e.setAttributes),C=e.latestPosts;let M;if(1==_){const e={google:{families:[x+(S?":"+S:"")]}};M=wp.element.createElement(Lr,{config:e})}const O=Array.isArray(C)&&C.length,L="post"===a;if(!O)return wp.element.createElement(Bk,null,wp.element.createElement(Mk,Nk({setAttributes:T},this.props)),wp.element.createElement(Gk,{icon:"admin-post",label:Ik("BS Blocks Posts Grid","blockspare")},Array.isArray(C)?Ik("No posts found.","blockspare"):wp.element.createElement(Vk,null)));const D=C.length>b?C.slice(0,b):C,F=w||"section",P=o()([E,"blockspare-latestpost-grid"]);return wp.element.createElement(Bk,null,wp.element.createElement(Mk,Nk({setAttributes:T},this.props)),wp.element.createElement("div",{className:P},this.props.styles,wp.element.createElement(F,{className:o()(E,"blockspare-post-wrap")},wp.element.createElement("div",{className:o()("blockspare-latest-post-wrap",i,"blockspare-is-grid","column-"+n)},D.map((e,t)=>{const n=(e.featured_image_urls&&e.featured_image_urls[v||"large"]||[])[0];return wp.element.createElement("div",{className:o()("blockspare-post-single",n?"":"post-has-no-image",k?"has-img-equal-height":"","blockspare-grid-layout-4"!=i&&"blockspare-grid-layout-5"!=i&&"blockspare-grid-layout-6"!=i?"has-background":"")},n&&wp.element.createElement("figure",{className:"blockspare-post-img"},wp.element.createElement("a",null,wp.element.createElement("img",{src:n,alt:Ik("featured","blockspare")}))),wp.element.createElement("div",{className:o()("blockspare-post-content",y)},wp.element.createElement("div",{className:"blockspare-bg-overlay",style:{backgroundColor:g?r:""}}),wp.element.createElement("div",{className:"blockspare-block-post-grid-header"},s&&wp.element.createElement("div",{className:"blockspare-post-category",dangerouslySetInnerHTML:{__html:e.category_info.replace(/href=['"].*?['"]/g,"")}}),l&&wp.element.createElement("h4",{className:"blockspare-block-post-grid-title"},wp.element.createElement("a",{target:"_blank",className:"blockspare-title-link",rel:"bookmark"},wp.element.createElement("span",null,Hk(e.title.rendered.trim())||Ik("(Untitled)","blockspare")))),L&&(c||u)&&wp.element.createElement("div",{className:"blockspare-block-post-grid-byline"},c&&e.author_info.display_name&&wp.element.createElement("div",{className:"blockspare-block-post-grid-author"},wp.element.createElement("a",{className:"blockspare-text-link",target:"_blank",href:e.author_info.author_link},wp.element.createElement("span",null,e.author_info.display_name))),u&&e.date_gmt&&wp.element.createElement("time",{dateTime:pk()(e.date_gmt).utc().format(),className:"blockspare-block-post-grid-date"},pk()(e.date_gmt).local().format("MMMM DD, Y","blockspare")))),(p||d)&&wp.element.createElement("div",{className:"blockspare-block-post-grid-excerpt"},p&&e.excerpt&&wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:(a=e.excerpt.rendered,b=m,a.split(" ").splice(0,b).join(" "))}}),d&&wp.element.createElement("p",null,wp.element.createElement("a",{className:"blockspare-block-post-grid-more-link blockspare-text-link",href:e.link,target:"_blank",rel:"bookmark"},wp.element.createElement("span",null,f))))));var a,b})))),M)}});const $k=wp.i18n.__;(0,wp.blocks.registerBlockType)("blockspare/blockspare-latest-posts-grid",{title:$k("BS Posts Grid","blockspare"),description:$k("Add posts grid from selected categories.","blockspare"),category:"blockspare",icon:r.postgrid,keywords:[$k("block","blockspare"),$k("post","blockspare"),$k("blog","blockspare"),$k("archive","blockspare"),$k("article","blockspare"),$k("list","blockspare"),$k("grid","blockspare"),$k("latest","blockspare"),$k("category","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{design:"blockspare-grid-layout-1",postsToShow:2,displayPostCategory:!1,displayPostAuthor:!1,displayPostDate:!1,imageSize:"medium",postTitleFontSize:16}},edit:qk,save:()=>null});n(608);function Jk(){return(Jk=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}const Xk=wp.element.Component,Kk=wp.i18n.__,Qk=wp.hooks,Zk=(Qk.addFilter,Qk.applyFilters),e_=wp.blockEditor,t_=e_.InspectorControls,n_=e_.PanelColorSettings,a_=wp.components,r_=a_.PanelBody,i_=a_.QueryControls,o_=(a_.RangeControl,a_.SelectControl,a_.TextControl,a_.ToggleControl),l_=wp.url.addQueryArgs,s_=wp.apiFetch;class c_ extends Xk{constructor(){super(...arguments),this.state={categoriesList:[]}}componentDidMount(){this.stillMounted=!0,this.fetchRequest=s_({path:l_("/wp/v2/categories",{per_page:-1})}).then(e=>{this.stillMounted&&this.setState({categoriesList:e})}).catch(()=>{this.stillMounted&&this.setState({categoriesList:[]})})}componentWillUnmount(){this.stillMounted=!1}imageSizeSelect(){const e=wp.data.select("core/editor").getEditorSettings();return bg()(ji()(e.imageSizes,({name:e,slug:t})=>({value:t,label:e})))}render(){const e=this.props,t=e.attributes,n=t.postType,a=t.displayPostTitle,r=t.displayPostCategory,i=t.displayPostAuthor,o=t.displayPostDate,l=t.displayPostExcerpt,s=t.displayPostLink,c=(t.excerptLength,t.readMoreText,t.design),u=void 0===c?"blockspare-list-layout-1":c,p=(t.postsToShow,t.backGroundColor),d=(t.enableBackgroundColor,t.marginTop),m=t.marginBottom,f=(t.imageSize,t.order),b=t.orderBy,g=t.categories,h=(t.offset,t.contentOrder,t.postTitleColor),v=t.postTitleFontSize,y=t.linkColor,w=t.generalColor,k=(t.borderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.titleLoadGoogleFonts),_=t.titleFontFamily,x=t.titleFontWeight,S=t.titleFontSubset,E=t.titleFontSizeType,T=t.titleFontSizeMobile,C=t.titleFontSizeTablet,M=e.attributes,O=e.setAttributes,L=(e.latestPosts,this.state.categoriesList),D=(this.imageSizeSelect(),"post"===n);Kk("Default","blockspare"),Kk("Meta → Title → Category → Content","blockspare"),Kk("Title → Meta → Category → Content","blockspare"),Kk("Title → Category → Meta → Content","blockspare");return wp.element.createElement(t_,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Qs,{initialOpen:!1,selected:u,options:Zk("blockspare.cta.edit.layouts",[{label:Kk("Style 1","blockspare"),value:"blockspare-list-layout-1",image:"images/blockspare-list-layout-1.png"},{label:Kk("Style 2","blockspare"),value:"blockspare-list-layout-2",image:"images/blockspare-list-layout-2.png"},{label:Kk("Style 3","blockspare"),value:"blockspare-list-layout-3",image:"images/blockspare-list-layout-3.png"}]),onChange:e=>O({design:e})}),wp.element.createElement(r_,{title:Kk("Block Settings","blockspare"),className:D?null:"blockspare-hide-query",initialOpen:!1},a&&wp.element.createElement(n_,{title:Kk("Title Color","blockspare"),initialOpen:!0,colorSettings:[{value:h,onChange:e=>O({postTitleColor:e}),label:Kk("Title Color","blockspare")}]}),a&&wp.element.createElement(Ps,{label:Kk("Title Fonts Settings"),attributes:M,setAttributes:O,loadGoogleFonts:{value:k,label:Kk("titleLoadGoogleFonts")},fontFamily:{value:_,label:Kk("titleFontFamily")},fontWeight:{value:x,label:Kk("titleFontWeight")},fontSubset:{value:S,label:Kk("titleFontSubset")},fontSizeType:{value:E,label:Kk("titleFontSizeType")},fontSize:{value:v,label:Kk("postTitleFontSize")},fontSizeMobile:{value:T,label:Kk("titleFontSizeMobile")},fontSizeTablet:{value:C,label:Kk("titleFontSizeTablet")},disableLineHeight:!0}),D&&wp.element.createElement(o_,{label:Kk("Display Category","blockspare"),checked:r,onChange:()=>this.props.setAttributes({displayPostCategory:!r})}),D&&wp.element.createElement(o_,{label:Kk("Display Author","blockspare"),checked:i,onChange:()=>this.props.setAttributes({displayPostAuthor:!i})}),D&&wp.element.createElement(o_,{label:Kk("Display Date","blockspare"),checked:o,onChange:()=>this.props.setAttributes({displayPostDate:!o})}),wp.element.createElement(o_,{label:Kk("Display Excerpt","blockspare"),checked:l,onChange:()=>this.props.setAttributes({displayPostExcerpt:!l})}),wp.element.createElement(o_,{label:Kk("Display Continue Reading Link","blockspare"),checked:s,onChange:()=>this.props.setAttributes({displayPostLink:!s})}),"blockspare-list-layout-6"!=u&&"blockspare-list-layout-5"!=u&&"blockspare-list-layout-4"!=u&&wp.element.createElement(n_,{title:Kk("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:p,onChange:e=>O({backGroundColor:e}),label:Kk("Background Color","blockspare")}]}),wp.element.createElement(n_,{title:Kk("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:y,onChange:e=>O({linkColor:e}),label:Kk("Link Color","blockspare")},{value:w,onChange:e=>O({generalColor:e}),label:Kk("General Color","blockspare")}]})),wp.element.createElement(r_,{title:Kk("Post Settings","blockspare"),className:D?null:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(i_,Jk({order:f,orderBy:b},{categoriesList:L,selectedCategoryId:g,onCategoryChange:e=>O({categories:""!==e?e:void 0}),onOrderChange:e=>O({order:e}),onOrderByChange:e=>O({orderBy:e})}))),wp.element.createElement(r_,{title:Kk("Block Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:d,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>O({marginTop:e}),marginEnableBottom:!0,marginBottom:m,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>O({marginBottom:e})}))))}}function u_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u_(Object(n),!0).forEach((function(t){d_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m_=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=t.linkColor,i=t.postTitleColor,o=t.generalColor,l=t.design,s=t.postTitleFontSize,c=t.titleFontFamily,u=t.titleFontWeight,p=(t.titleFontSubset,t.titleFontSizeType),d=t.titleFontSizeMobile,m=t.titleFontSizeTablet,f=[];return f.push({".blockspare-post-wrap":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0},".blockspare-post-category":{color:r||"#1977ac"},".blockspare-block-post-grid-author a span":{color:r||"#1977ac"},".blockspare-text-link a":{color:r||"#1977ac"},".blockspare-block-post-grid-title a span":{color:i?i+"!important":"#404040",fontSize:s+p,fontFamily:c,fontWeight:u},".blockspare-block-post-grid-date, .blockspare-block-post-grid-excerpt":{color:o||"#000"},tablet:{".blockspare-block-post-grid-title a span":{fontSize:m+p}},mobile:{".blockspare-block-post-grid-title a span":{fontSize:d+p}}}),"blockspare-list-layout-6"!=l&&"blockspare-list-layout-5"!=l&&"blockspare-list-layout-4"!=l&&f.push({".blockspare-post-single":p_({},Ok(e.attributes))}),vr.a.all(f)};function f_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function b_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f_(Object(n),!0).forEach((function(t){g_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h_=wp.element,v_=h_.Component,y_=h_.Fragment,w_=wp.i18n.__,k_=wp.compose.compose,__=wp.htmlEntities.decodeEntities,x_=wp.data.withSelect,S_=wp.components,E_=S_.Placeholder,T_=S_.Spinner;var C_=k_([x_((e,t)=>{const n=t.attributes,a=n.order,r=n.categories,i=e("core").getEntityRecords,o=ck()({categories:r,order:a,orderby:t.attributes.orderBy,per_page:t.attributes.postsToShow,offset:t.attributes.offset},e=>!lk()(e));return{latestPosts:i("postType",t.attributes.postType,o)}}),gr,mr(m_)])(class extends v_{render(){const e=this.props,t=e.attributes,n=t.postType,a=(t.align,t.displayPostTitle),r=t.displayPostCategory,i=t.displayPostAuthor,l=t.displayPostDate,s=t.displayPostExcerpt,c=t.displayPostLink,u=t.excerptLength,p=t.readMoreText,d=t.design,m=t.postsToShow,f=t.sectionTag,b=(t.marginTop,t.marginBottom,t.imageSize),g=void 0===b?"medium":b,h=t.contentOrder,v=(t.postTitleColor,t.postTitleFontSize,t.linkColor,t.generalColor,t.titleLoadGoogleFonts),y=t.titleFontFamily,w=t.titleFontWeight,k=e.className,_=e.attributes,x=e.setAttributes,S=e.latestPosts;let E;if(1==v){const e={google:{families:[y+(w?":"+w:"")]}};E=wp.element.createElement(Lr,{config:e})}const T=Array.isArray(S)&&S.length,C="post"===n;if(!T)return wp.element.createElement(y_,null,wp.element.createElement(c_,b_({setAttributes:x},this.props)),wp.element.createElement(E_,{icon:"admin-post",label:w_("BS Blocks Posts List","blockspare")},Array.isArray(S)?w_("No posts found.","blockspare"):wp.element.createElement(T_,null)));const M=S.length>m?S.slice(0,m):S,O=f||"section";let L={};"blockspare-list-layout-6"!=d&&"blockspare-list-layout-5"!=d&&"blockspare-list-layout-4"!=d&&(L=b_({},Ok(_)));const D=o()([k,"blockspare-latestpost-list"]);return wp.element.createElement(y_,null,wp.element.createElement(c_,b_({setAttributes:x},this.props)),wp.element.createElement("div",{className:D},this.props.styles,wp.element.createElement(O,{className:o()(this.props.className,"blockspare-post-wrap")},wp.element.createElement("div",{className:o()("blockspare-latest-post-wrap",d,"blockspare-is-list")},M.map((e,t)=>{const n=(e.featured_image_urls&&e.featured_image_urls[g||"large"]||[])[0];return wp.element.createElement("div",{className:o()("blockspare-post-single",n?"":"post-has-no-image","blockspare-list-layout-6"!=d&&"blockspare-list-layout-5"!=d&&"blockspare-list-layout-4"!=d?"has-background":"")},n&&wp.element.createElement("figure",{className:"blockspare-post-img"},wp.element.createElement("a",null,wp.element.createElement("img",{src:n,alt:w_("featured","blockspare")}))),wp.element.createElement("div",{className:o()("blockspare-post-content",h)},wp.element.createElement("div",{className:"blockspare-block-post-grid-header"},r&&wp.element.createElement("div",{className:"blockspare-post-category",dangerouslySetInnerHTML:{__html:e.category_info.replace(/href=['"].*?['"]/g,"")}}),a&&wp.element.createElement("h4",{className:"blockspare-block-post-grid-title"},wp.element.createElement("a",{target:"_blank",rel:"bookmark",className:"blockspare-title-link"},wp.element.createElement("span",null,__(e.title.rendered.trim())||w_("(Untitled)","blockspare")))),C&&(i||l)&&wp.element.createElement("div",{className:"blockspare-block-post-grid-byline"},i&&e.author_info.display_name&&wp.element.createElement("div",{className:"blockspare-block-post-grid-author"},wp.element.createElement("a",{className:"blockspare-text-link",target:"_blank",href:e.author_info.author_link},wp.element.createElement("span",null,e.author_info.display_name))),l&&e.date_gmt&&wp.element.createElement("time",{dateTime:pk()(e.date_gmt).utc().format(),className:"blockspare-block-post-grid-date"},pk()(e.date_gmt).local().format("MMMM DD, Y","blockspare")))),(s||c)&&wp.element.createElement("div",{className:"blockspare-block-post-grid-excerpt"},s&&e.excerpt&&wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:(m=e.excerpt.rendered,f=u,m.split(" ").splice(0,f).join(" "))}}),c&&wp.element.createElement("p",null,wp.element.createElement("a",{className:"blockspare-block-post-grid-more-link blockspare-text-link",href:e.link,target:"_blank",rel:"bookmark"},wp.element.createElement("span",null,p))))));var m,f})))),E)}});const M_=wp.i18n.__;(0,wp.blocks.registerBlockType)("blockspare/blockspare-latest-posts-list",{title:M_("BS Posts List","blockspare"),description:M_("Add posts list from selected categories.","blockspare"),category:"blockspare",icon:r.postlist,keywords:[M_("block","blockspare"),M_("post","blockspare"),M_("list","blockspare"),M_("blog","blockspare"),M_("archive","blockspare"),M_("article","blockspare"),M_("latest","blockspare"),M_("category","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{design:"blockspare-list-layout-1",postsToShow:3,displayPostCategory:!1,displayPostAuthor:!1,displayPostDate:!1,imageSize:"medium",postTitleFontSize:16}},edit:C_,save:()=>null});n(609),n(610);var O_=n(40),L_=n(313),D_=n.n(L_);const F_=wp.i18n.__;F_("Dark","blockspare"),F_("Light","blockspare"),F_("None","blockspare");wp.i18n.__;const P_=wp.element,j_=(P_.Component,P_.Fragment,wp.components);j_.SelectControl,j_.ToggleControl,j_.PanelBody,j_.TextControl;const N_=wp.i18n.__,z_=wp.element.Component,A_=wp.blockEditor.InspectorControls,Y_=wp.components,B_=Y_.PanelBody,I_=Y_.RangeControl;Y_.ToggleControl,Y_.SelectControl;var R_=class extends z_{constructor(){super(...arguments),this.setCaptionStyleTo=this.setCaptionStyleTo.bind(this)}componentDidUpdate(){this.props.attributes.gutter<=0&&this.props.setAttributes({radius:0})}setCaptionStyleTo(e){this.props.setAttributes({captionStyle:e})}getCaptionsHelp(e){return N_(e?"Showing captions for each media item.":"Toggle to show media captions.","blockspare")}render(){const e=this.props,t=e.attributes,n=(e.setAttributes,t.captions,t.captionStyle,t.gutter);t.gridSize,N_("Small","blockspare"),N_("Medium","blockspare"),N_("Large","blockspare");return wp.element.createElement(A_,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(B_,{title:N_("Masonry Settings","blockspare")},wp.element.createElement(I_,{label:N_("Gutter","blockspare"),value:n,onChange:e=>this.props.setAttributes({gutter:e}),min:0,max:50,step:5}))))}};function H_(){return(H_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function W_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function U_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W_(Object(n),!0).forEach((function(t){G_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function G_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const V_=wp.element,q_=V_.Component,$_=V_.Fragment,J_=wp.i18n.__,X_=wp.compose.compose,K_=wp.data.withSelect,Q_=wp.components,Z_=Q_.withNotices,ex=Q_.Toolbar,tx=Q_.IconButton,nx=wp.blockEditor,ax=nx.BlockControls,rx=nx.MediaUpload,ix=nx.MediaUploadCheck,ox={transitionDuration:0,percentPosition:!0};var lx=X_([K_(e=>({editorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),pluginSidebarOpened:e("core/edit-post").isPluginSidebarOpened(),publishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),wideControlsEnabled:e("core/editor").getEditorSettings().alignWide})),Z_])(class extends q_{constructor(){super(...arguments),this.onRemoveImage=this.onRemoveImage.bind(this),this.onSelectImage=this.onSelectImage.bind(this),this.onMoveForward=this.onMoveForward.bind(this),this.onMoveBackward=this.onMoveBackward.bind(this),this.setImageAttributes=this.setImageAttributes.bind(this),this.onEditSelectImages=this.onEditSelectImages.bind(this),this.state={selectedImage:null}}componentDidMount(){"xlrg"===this.props.attributes.gridSize&&this.props.setAttributes({align:"center",gridSize:"lrg"})}componentDidUpdate(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}onSelectImage(e){return()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e})}}onMove(e,t){const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:n})}onMoveForward(e){return()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)}}onMoveBackward(e){return()=>{0!==e&&this.onMove(e,e-1)}}onRemoveImage(e){return()=>{const t=mg()(this.props.attributes.images,(t,n)=>e!==n);this.setState({selectedImage:null}),this.props.setAttributes({images:t})}}setImageAttributes(e,t){const n=this.props,a=n.attributes.images,r=n.setAttributes;a[e]&&r({images:[...a.slice(0,e),U_({},a[e],{},t),...a.slice(e+1)]})}onEditSelectImages(e){this.props.setAttributes({images:e.map(e=>Kg(e,this.props.attributes.images))})}render(){const e=this.props,t=e.attributes,n=(e.className,e.isSelected),a=(e.noticeUI,t.align,t.captions),r=t.gridSize,i=t.gutter,l=t.images,s=t.linkTo,c=t.colorFilter,u=t.showOriginalOnHover,p=!!l.length,d=wp.element.createElement(dh,this.props),m=o()("has-grid-"+r,"has-gutter-"+i);return p?wp.element.createElement($_,null,n&&wp.element.createElement(R_,this.props),wp.element.createElement(ax,null,p&&wp.element.createElement($_,null,wp.element.createElement(ex,null,wp.element.createElement(ix,null,wp.element.createElement(rx,{onSelect:this.onEditSelectImages,allowedTypes:Qg,multiple:!0,gallery:!0,value:l.map(e=>e.id),render:({open:e})=>wp.element.createElement(tx,{className:"components-toolbar__control",label:J_("Edit gallery","blockspare"),icon:"edit",onClick:e})}))))),wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-masonry-wrapper",a?captionStyle:"",c,"blockspare-original"!==c&&u?"has-hover-effect":"")},d,wp.element.createElement(D_.a,{elementType:"ul",className:m,options:ox,disableImagesLoaded:!1,updateOnEachImageLoad:!1},l.map((e,t)=>{const r=sprintf(J_("image %1$d of %2$d in gallery","blockspare"),t+1,l.length);return wp.element.createElement("li",{className:"blockspare-gallery-item",key:e.id||e.url},wp.element.createElement(Ug,{url:e.url,alt:e.alt,id:e.id,imgLink:e.imgLink,linkTo:s,isFirstItem:0===t,isLastItem:t+1===l.length,isSelected:n&&this.state.selectedImage===t,onSelect:this.onSelectImage(t),onMoveBackward:this.onMoveBackward(t),onMoveForward:this.onMoveForward(t),onRemove:this.onRemoveImage(t),setAttributes:e=>this.setImageAttributes(t,e),caption:e.caption,"aria-label":r,captions:a,supportsCaption:!0}))})))):wp.element.createElement(oh,H_({},this.props,{label:J_("Masonry","blockspare"),icon:"lionk"}))}});const sx=wp.blockEditor.RichText;var cx=({attributes:e,className:t})=>{const n=e.captions,a=e.gridSize,r=e.gutter,i=e.images,l=e.linkTo,s=(e.lightbox,e.rel),c=e.target,u=e.colorFilter,p=e.showOriginalOnHover,d=o()({"has-gutter":r}),m=o()("has-grid-"+a,"has-gutter-"+r);return wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-masonry-wrapper",n?captionStyle:"",u,"blockspare-original"!==u&&p?"has-hover-effect":"")},wp.element.createElement("div",{className:d},wp.element.createElement("ul",{className:m},i.map(e=>{let t;switch(l){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const a=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return wp.element.createElement("li",{key:e.id||e.url,className:"blockspare-gallery-item"},wp.element.createElement("figure",{className:"blockspare-gallery-figure"},t?wp.element.createElement("a",{href:t,target:c,rel:s},a):a,n&&e.caption&&e.caption.length>0&&wp.element.createElement(sx.Content,{tagName:"figcaption",className:"blockspare-gallery-caption",value:e.caption})))}))))};var ux={images:{type:"array",default:[],source:"query",selector:".blockspare-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},link:{source:"attribute",selector:"img",attribute:"data-link"},imgLink:{source:"attribute",selector:"img",attribute:"data-imglink"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"array",source:"children",selector:"figcaption"}}},linkTo:{type:"string",default:"none"},target:{type:"string"},rel:{type:"string",default:""},align:{type:"string"},gutter:{type:"number",default:15},captions:{type:"boolean",default:!1},captionStyle:{type:"string",default:"dark"},captionColor:{type:"string"},colorFilter:{type:"string",default:"blockspare-original"},showOriginalOnHover:{type:"boolean",default:!1}};function px(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function dx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mx=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?px(Object(n),!0).forEach((function(t){dx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):px(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ux,{},O_.attributes),save:function(e){const t=e.attributes,n=t.captions,a=t.gridSize,r=t.gutter,i=t.images,l=t.linkTo,s=(t.lightbox,t.rel),c=t.target,u=o()({"has-gutter":r>0}),p=o()("has-grid-"+a,{["has-gutter-"+r]:r>0});return wp.element.createElement("div",{className:"blockspare-blocks blockspare-masonry-wrapper"},wp.element.createElement("div",{className:u},wp.element.createElement("ul",{className:p},i.map(e=>{let t;switch(l){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const a=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return wp.element.createElement("li",{key:e.id||e.url,className:"blockspare-gallery-item"},wp.element.createElement("figure",{className:"blockspare-gallery-figure"},t?wp.element.createElement("a",{href:t,target:c,rel:s},a):a,n&&e.caption&&e.caption.length>0&&wp.element.createElement(RichText.Content,{tagName:"figcaption",className:"blockspare-gallery-caption",value:e.caption})))}))))}}];function fx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function bx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const gx=blockspare_globals,hx=O_.name,vx=O_.category,yx=wp.i18n.__,wx=wp.blocks.registerBlockType,kx=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fx(Object(n),!0).forEach((function(t){bx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ux,{},O_.attributes);wx(hx,{title:yx("BS Image Masonry","blockspare"),description:yx("Add Masonry Items","blockspare"),category:vx,icon:r.masonry,attributes:kx,keywords:[yx("block","blockspare"),yx("image","blockspare"),yx("masonry","blockspare"),yx("gallery","blockspare"),yx("column","blockspare")],supports:{align:["wide","full","center"],html:!0},example:{attributes:{gridSize:"lrg",gutter:5,images:[{url:gx.menu_img_url},{url:gx.img},{url:gx.menu_img_url},{url:gx.img},{url:gx.menu_img_url},{url:gx.menu_img_url},{url:gx.img},{url:gx.menu_img_url},{url:gx.img}]}},edit:lx,save:cx,deprecated:mx});n(611),n(612);var _x=n(41);const xx=wp.i18n.__,Sx=wp.element,Ex=Sx.Component,Tx=(Sx.Fragment,wp.blockEditor),Cx=Tx.InspectorControls,Mx=Tx.PanelColorSettings,Ox=wp.components,Lx=Ox.PanelBody,Dx=Ox.ToggleControl;Ox.RangeControl;class Fx extends Ex{render(){const e=this.props,t=e.attributes,n=t.textsColor,a=t.backGroundColor,r=t.boxBorderColor,i=t.buttonBackgroundColor,o=t.buttonTextColor,l=t.buttonSize,s=t.buttonShape,c=t.buttonTarget,u=t.paddingTop,p=t.paddingRight,d=t.paddingBottom,m=t.paddingLeft,f=t.marginTop,b=t.marginBottom,g=t.enableButton,h=t.buttonStyle,v=t.borderColor,y=t.borderBtnTextColor,w=t.fontSize,k=t.enableGradient,_=t.backgroundColor1,x=t.backgroundColor2,S=t.gradientAngle,E=t.colorLocation1,T=t.colorLocation2,C=(t.borderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.btnFontWeight),M=t.btnBorderWidth,O=t.buttonHoverEffect,L=t.titleLoadGoogleFonts,D=t.titleFontFamily,F=t.titleFontWeight,P=t.titleFontSubset,j=t.titleFontSizeType,N=t.titleFontSizeMobile,z=t.titleFontSizeTablet,A=e.attributes,Y=e.setAttributes;return wp.element.createElement(Cx,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Lx,{title:xx("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ps,{label:xx("Title Fonts Settings"),attributes:A,setAttributes:Y,loadGoogleFonts:{value:L,label:xx("titleLoadGoogleFonts")},fontFamily:{value:D,label:xx("titleFontFamily")},fontWeight:{value:F,label:xx("titleFontWeight")},fontSubset:{value:P,label:xx("titleFontSubset")},fontSizeType:{value:j,label:xx("titleFontSizeType")},fontSize:{value:w,label:xx("fontSize")},fontSizeMobile:{value:N,label:xx("titleFontSizeMobile")},fontSizeTablet:{value:z,label:xx("titleFontSizeTablet")},disableLineHeight:!0}),wp.element.createElement(Mx,{title:xx("Texts Color","blockspare"),initialOpen:!0,colorSettings:[{value:n,onChange:e=>Y({textsColor:e}),label:xx("Texts Color","blockspare")},{value:a,onChange:e=>Y({backGroundColor:e}),label:xx("Background Color","blockspare")},{value:r,onChange:e=>Y({boxBorderColor:e}),label:xx("Dash Color","blockspare")}]})),g&&wp.element.createElement(Lx,{title:xx("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(_e,{enableButtonTarget:!1,buttonTarget:c,onChangeButtonTarget:e=>Y({buttonTarget:!c}),enableGradient:k,onChangeGradient:e=>Y({enableGradient:e}),enableButtonSize:!0,buttonSize:l,onChangeButtonSize:e=>Y({buttonSize:e}),enableButtonShape:!0,buttonShape:s,onChangeButtonShape:e=>Y({buttonShape:e}),buttonBackgroundColor:i,onChangeButtonColor:e=>Y({buttonBackgroundColor:e}),buttonTextColor:o,onChangeButtonTextColor:e=>Y({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:h,onChangeBorderStyle:e=>Y({buttonStyle:e}),buttonHoverEffect:O,onchangeButtonHoverEffect:e=>Y({buttonHoverEffect:e}),borderColor:v,onchangeBorderColor:e=>Y({borderColor:e}),borderBtnTextColor:y,onChangeBorderBtnTextColor:e=>Y({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:M,onchangebtnBorderWidth:e=>Y({btnBorderWidth:e}),enableBtnFontWeight:!0,btnFontWeight:C,onchangeBtnFontWeight:e=>Y({btnFontWeight:e})})),g&&"none"===h&&wp.element.createElement(Dx,{label:xx("Enable Gradient","blockspare"),checked:k,onChange:()=>this.props.setAttributes({enableGradient:!k})}),k&&"none"===h&&g&&wp.element.createElement(Lx,{title:xx("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Ce,{backgroundColor1:_,onChangeBackgroundColor1:e=>Y({backgroundColor1:e}),backgroundColor2:x,onChangeBackgroundColor2:e=>Y({backgroundColor2:e}),gradientAngle:S,onChangeGradientAngle:e=>Y({gradientAngle:e}),colorLocation1:E,onChangeColorLocation1:e=>Y({colorLocation1:e}),colorLocation2:T,onChangeColorLocation2:e=>Y({colorLocation2:e})})),wp.element.createElement(Lx,{title:xx("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Lx,{title:xx("Padding Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:u,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>Y({paddingTop:e}),paddingEnableRight:!0,paddingRight:p,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>Y({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:d,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>Y({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:m,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>Y({paddingLeft:e})})),wp.element.createElement(Lx,{title:xx("Margin Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:f,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>Y({marginTop:e}),marginEnableBottom:!0,marginBottom:b,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>Y({marginBottom:e})})))))}}function Px(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function jx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Px(Object(n),!0).forEach((function(t){Nx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Px(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zx=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textsColor,r=t.fontSize,i=t.backGroundColor,o=t.boxBorderColor,l=t.paddingTop,s=t.paddingRight,c=t.paddingBottom,u=t.paddingLeft,p=t.marginTop,d=t.marginBottom,m=t.borderRadius,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=t.buttonStyle,w=t.enableGradient,k=t.backgroundColor1,_=t.backgroundColor2,x=t.gradientAngle,S=t.colorLocation1,E=t.colorLocation2,T=t.btnFontWeight,C=t.btnBorderWidth,M=t.borderColor,O=t.buttonBackgroundColor,L=t.borderBtnTextColor,D=t.buttonTextColor,F=t.enableButton,P=t.buttonFontSize,j=t.buttonFontFamily,N=t.buttonFontWeight,z=t.buttonFontSizeType,A=t.buttonFontSizeMobile,Y=t.buttonFontSizeTablet,B=[];if("none"===y)if(1==w){const e=x+"deg",t=S+"%",n=E+"%";B.push({".blockspare-block-button span":{color:D||"#fff",fontWeight:T,borderWidth:C+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${k||"#3B1A5B"} ${t},${_||"#8B249C"} ${n})`}})}else B.push({".blockspare-block-button span":{color:D||"#fff",fontWeight:T,borderWidth:C+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:O||"#3c1a5b"}});else B.push({".blockspare-block-button span":{color:L||"#404040",borderColor:M||"#3c1a5b",borderStyle:y,fontWeight:T,borderWidth:C+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return F&&B.push({".blockspare-block-button span":{fontSize:P+z,fontFamily:j,fontWeight:N},tablet:{".blockspare-block-button span":{fontSize:Y+z}},mobile:{".blockspare-block-button span":{fontSize:A+z}}}),B.push({".blockspare-noticebar-wrapper":jx({},kc(e.attributes),{backgroundColor:i||"#fff",borderColor:o||"#cc0000",textAlign:n,paddingTop:l?l+"px":void 0,paddingRight:s?s+"px":void 0,paddingBottom:c?c+"px":void 0,paddingLeft:u?u+"px":void 0,marginTop:p?p+"px":void 0,marginBottom:d?d+"px":void 0,borderRadius:m?m+"px":void 0}),".blockspare-section-notice-wrap":{textAlign:n},".blockspare-notice-content":{color:a,fontSize:r+g+"!important",fontFamily:f,fontWeight:"Default"!==f?b+"!important":""},tablet:{".blockspare-notice-content":{fontSize:v+g+"!important"}},mobile:{".blockspare-notice-content":{fontSize:h+g+"!important"}}}),vr.a.all(B)};function Ax(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Yx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bx=wp.element.Component,Ix=wp.i18n.__,Rx=wp.compose.compose,Hx=wp.blockEditor,Wx=Hx.AlignmentToolbar,Ux=Hx.URLInput,Gx=Hx.BlockControls,Vx=Hx.RichText,qx=wp.components,$x=qx.IconButton,Jx=qx.Dashicon;var Xx=Rx(gr,mr(zx))(class extends Bx{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonAlignment,i=t.buttonSize,l=t.buttonShape,s=t.noticeContent,c=t.sectionAlignment,u=t.enableButton,p=t.buttonHoverEffect,d=t.titleLoadGoogleFonts,m=t.titleFontFamily,f=t.titleFontWeight,b=t.buttonLoadGoogleFonts,g=t.buttonFontFamily,h=t.buttonFontWeight,v=e.className,y=(e.attributes,e.isSelected),w=e.setAttributes;let k,_;if(1==d){const e={google:{families:[m+(f?":"+f:"")]}};k=wp.element.createElement(Lr,{config:e})}if(1==b){const e={google:{families:[g+(h?":"+h:"")]}};_=wp.element.createElement(Lr,{config:e})}const x=o()([v,"blockspare-notice-block"]);return wp.element.createElement("fragment",null,wp.element.createElement(Gx,null,wp.element.createElement(Wx,{value:c,onChange:e=>{w({sectionAlignment:e})}})),wp.element.createElement(Fx,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ax(Object(n),!0).forEach((function(t){Yx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ax(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:w},this.props)),wp.element.createElement("div",{className:x},this.props.styles,wp.element.createElement("div",{className:"blockspare-noticebar-wrapper blockspare-blocks"},wp.element.createElement("div",{className:"blockspare-section-notice-wrap"},wp.element.createElement(Vx,{tagName:"div",placeholder:Ix("Add your notice here..","blockspare"),keepPlaceholderOnFocus:!0,value:s,className:"blockspare-notice-content",onChange:e=>w({noticeContent:e})})),u&&wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement("a",{href:"#"},wp.element.createElement(Vx,{tagName:"span",placeholder:Ix("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:n,allowedFormats:[],className:o()("blockspare-button",l,i,p),onChange:e=>w({buttonText:e})})),y&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+r,onSubmit:e=>e.preventDefault()},wp.element.createElement(Jx,{icon:"admin-links"}),wp.element.createElement(Ux,{className:"button-url",value:a,onChange:e=>w({buttonUrl:e})}),wp.element.createElement($x,{icon:"editor-break",label:Ix("Apply","blockspare"),type:"submit"}))))),k,_)}});const Kx=wp.element.Component,Qx=wp.compose.compose,Zx=wp.blockEditor.RichText;var eS=Qx(gr,mr(zx))(class extends Kx{render(){const e=this.props,t=e.attributes,n=(t.align,t.buttonText),a=t.buttonUrl,r=t.buttonTarget,i=t.buttonSize,l=t.buttonShape,s=t.noticeContent,c=t.enableButton,u=t.buttonHoverEffect,p=e.className,d=o()([p,"blockspare-notice-block"]);return wp.element.createElement("div",{className:d},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-noticebar-wrapper","blockspare-blocks")},wp.element.createElement("div",{className:"blockspare-section-notice-wrap"},wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement("div",null,s&&wp.element.createElement(Zx.Content,{tagName:"div",className:"blockspare-notice-content",value:s})))),c&&wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:r?"_blank":null,rel:r?"noopener noreferrer":null,className:o()("blockspare-button",l,i,u)},wp.element.createElement(Zx.Content,{value:n})))))}});function tS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function nS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tS(Object(n),!0).forEach((function(t){aS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function aS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rS=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textsColor,r=t.fontSize,i=t.backGroundColor,o=t.boxBorderColor,l=t.paddingTop,s=t.paddingRight,c=t.paddingBottom,u=t.paddingLeft,p=t.marginTop,d=t.marginBottom,m=t.borderRadius,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=[];return y.push({".blockspare-noticebar-wrapper":nS({},kc(e.attributes),{backgroundColor:i||"#fff",borderColor:o||"#cc0000",textAlign:n,paddingTop:l?l+"px":void 0,paddingRight:s?s+"px":void 0,paddingBottom:c?c+"px":void 0,paddingLeft:u?u+"px":void 0,marginTop:p?p+"px":void 0,marginBottom:d?d+"px":void 0,borderRadius:m?m+"px":void 0}),".blockspare-section-notice-wrap":{textAlign:n},".blockspare-notice-content":{color:a,fontSize:r+g+"!important",fontFamily:f,fontWeight:"Default"!==f?b+"!important":""},".blockspare-button":nS({},Kr(e.attributes)),tablet:{".blockspare-notice-content":{fontSize:v+g+"!important"}},mobile:{".blockspare-notice-content":{fontSize:h+g+"!important"}}}),vr.a.all(y)};const iS=wp.element.Component,oS=wp.compose.compose,lS=wp.blockEditor.RichText;var sS=oS(gr,mr(rS))(class extends iS{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.noticeContent,u=t.enableButton,p=t.buttonHoverEffect,d=e.className,m=o()([d,"blockspare-notice-block"]);return wp.element.createElement("div",{className:m},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-noticebar-wrapper","blockspare-blocks","align"+n)},wp.element.createElement("div",{className:"blockspare-section-notice-wrap"},wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement("div",null,c&&wp.element.createElement(lS.Content,{tagName:"div",className:"blockspare-notice-content",value:c})))),u&&wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:i?"_blank":null,rel:i?"noopener noreferrer":null,className:o()("blockspare-button",s,l,p)},wp.element.createElement(lS.Content,{value:a})))))}});function cS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function uS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cS(Object(n),!0).forEach((function(t){pS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dS=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textsColor,r=t.fontSize,i=t.backGroundColor,o=t.boxBorderColor,l=t.paddingTop,s=t.paddingRight,c=t.paddingBottom,u=t.paddingLeft,p=t.marginTop,d=t.marginBottom,m=t.borderRadius,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=[];return y.push({".blockspare-noticebar-wrapper":uS({},kc(e.attributes),{backgroundColor:i||"#fff",borderColor:o||"#cc0000",textAlign:n,paddingTop:l?l+"px":void 0,paddingRight:s?s+"px":void 0,paddingBottom:c?c+"px":void 0,paddingLeft:u?u+"px":void 0,marginTop:p?p+"px":void 0,marginBottom:d?d+"px":void 0,borderRadius:m?m+"px":void 0}),".blockspare-section-notice-wrap":{textAlign:n},".blockspare-notice-content":{color:a,fontSize:r+g+"!important",fontFamily:f,fontWeight:"Default"!==f?b+"!important":""},".blockspare-button":uS({},Xr(e.attributes)),tablet:{".blockspare-notice-content":{fontSize:v+g+"!important"}},mobile:{".blockspare-notice-content":{fontSize:h+g+"!important"}}}),vr.a.all(y)};const mS=wp.element.Component,fS=wp.compose.compose,bS=wp.blockEditor.RichText;var gS=fS(gr,mr(dS))(class extends mS{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.noticeContent,u=t.enableButton,p=t.buttonHoverEffect,d=e.className,m=o()([d,"blockspare-notice-block"]);return wp.element.createElement("div",{className:m},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-noticebar-wrapper","blockspare-blocks","align"+n)},wp.element.createElement("div",{className:"blockspare-section-notice-wrap"},wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement("div",null,c&&wp.element.createElement(bS.Content,{tagName:"div",className:"blockspare-notice-content",value:c})))),u&&wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:i?"_blank":null,rel:i?"noopener noreferrer":null,className:o()("blockspare-button",s,l,p)},wp.element.createElement(bS.Content,{value:a})))))}});function hS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function vS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hS(Object(n),!0).forEach((function(t){yS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wS=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textsColor,r=t.fontSize,i=t.backGroundColor,o=t.boxBorderColor,l=t.paddingTop,s=t.paddingRight,c=t.paddingBottom,u=t.paddingLeft,p=t.marginTop,d=t.marginBottom,m=t.borderRadius,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=t.buttonStyle,w=t.enableGradient,k=t.backgroundColor1,_=t.backgroundColor2,x=t.gradientAngle,S=t.colorLocation1,E=t.colorLocation2,T=t.btnFontWeight,C=t.btnBorderWidth,M=t.borderColor,O=t.buttonBackgroundColor,L=t.borderBtnTextColor,D=t.buttonTextColor,F=[];if("none"===y)if(1==w){const e=x+"deg",t=S+"%",n=E+"%";F.push({".blockspare-block-button span":{color:D||"#fff",fontWeight:T,borderWidth:C+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${k||"#3B1A5B"} ${t},${_||"#8B249C"} ${n})`}})}else F.push({".blockspare-block-button span":{color:D||"#fff",fontWeight:T,borderWidth:C+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:O||"#3c1a5b"}});else F.push({".blockspare-block-button span":{color:L||"#404040",borderColor:M||"#3c1a5b",borderStyle:y,fontWeight:T,borderWidth:C+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return F.push({".blockspare-noticebar-wrapper":vS({},kc(e.attributes),{backgroundColor:i||"#fff",borderColor:o||"#cc0000",textAlign:n,paddingTop:l?l+"px":void 0,paddingRight:s?s+"px":void 0,paddingBottom:c?c+"px":void 0,paddingLeft:u?u+"px":void 0,marginTop:p?p+"px":void 0,marginBottom:d?d+"px":void 0,borderRadius:m?m+"px":void 0}),".blockspare-section-notice-wrap":{textAlign:n},".blockspare-notice-content":{color:a,fontSize:r+g+"!important",fontFamily:f,fontWeight:"Default"!==f?b+"!important":""},tablet:{".blockspare-notice-content":{fontSize:v+g+"!important"}},mobile:{".blockspare-notice-content":{fontSize:h+g+"!important"}}}),vr.a.all(F)};const kS=wp.element.Component,_S=wp.compose.compose,xS=wp.blockEditor.RichText;var SS=_S(gr,mr(wS))(class extends kS{render(){const e=this.props,t=e.attributes,n=(t.align,t.buttonText),a=t.buttonUrl,r=t.buttonTarget,i=t.buttonSize,l=t.buttonShape,s=t.noticeContent,c=t.enableButton,u=t.buttonHoverEffect,p=e.className,d=o()([p,"blockspare-notice-block"]);return wp.element.createElement("div",{className:d},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-noticebar-wrapper","blockspare-blocks")},wp.element.createElement("div",{className:"blockspare-section-notice-wrap"},wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement("div",null,s&&wp.element.createElement(xS.Content,{tagName:"div",className:"blockspare-notice-content",value:s})))),c&&wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:r?"_blank":null,rel:r?"noopener noreferrer":null,className:o()("blockspare-button",l,i,u)},wp.element.createElement(xS.Content,{value:n})))))}});function ES(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function TS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ES(Object(n),!0).forEach((function(t){CS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ES(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function CS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const MS=wp.blockEditor.RichText,OS=TS({},_x.attributes,{},Jr,{},Si);var LS=[{attributes:OS,save:function(e){const t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.sectionAlignment,u=t.noticeContent,p=t.textsColor,d=t.backGroundColor,m=t.boxBorderColor,f=t.paddingTop,b=t.paddingRight,g=t.paddingBottom,h=t.paddingLeft,v=t.marginTop,y=t.marginBottom,w=t.enableButton,k=t.fontSize,_=t.borderRadius,x=t.buttonHoverEffect,S=t.className,E=TS({},kc(e.attributes),{textAlign:c,backgroundColor:d||"#fff",borderColor:m||"#cc0000",paddingTop:f?f+"px":void 0,paddingRight:b?b+"px":void 0,paddingBottom:g?g+"px":void 0,paddingLeft:h?h+"px":void 0,marginTop:v?v+"px":void 0,marginBottom:y?y+"px":void 0,borderRadius:_+"px"}),T=TS({},ou(e.attributes));return wp.element.createElement("div",{className:o()("blockspare-noticebar-wrapper","blockspare-blocks","align"+n),style:E},wp.element.createElement("div",{className:"blockspare-section-notice-wrap",style:{textAlign:c,color:p||"#4c4c4c"}},wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement("div",null,u&&wp.element.createElement(MS.Content,{tagName:"div",className:"blockspare-notice-content",value:u,style:{fontSize:k+"px"}})))),w&&wp.element.createElement("div",{style:{textAlign:c},className:o()(S,"blockspare-block-button")},a&&wp.element.createElement("a",{href:r,target:i?"_blank":null,rel:i?"noopener noreferrer":null,className:o()("blockspare-button",s,l,x),style:T},wp.element.createElement(MS.Content,{value:a}))))}},{attributes:OS,save:e=>wp.element.createElement(gS,e)},{attributes:OS,save:e=>wp.element.createElement(sS,e)},{attributes:OS,save:e=>wp.element.createElement(SS,e)}];function DS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function FS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const PS=_x.name,jS=_x.category,NS=wp.i18n.__,zS=wp.blocks.registerBlockType,AS=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?DS(Object(n),!0).forEach((function(t){FS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Jr,{},Si,{},_x.attributes);zS(PS,{title:NS("BS Notice Bar","blockspare"),description:NS("BS Notice Bar allow you to add various type of notices","blockspare"),category:jS,icon:r.notice,attributes:AS,keywords:[NS("block","blockspare"),NS("notice","blockspare"),NS("bar","blockspare"),NS("announcement","blockspare")],supports:{align:["wide","full","center"],html:!0},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:Xx,save:eS,deprecated:LS});var YS=n(82);const BS=wp.element.Component;class IS extends BS{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=(e.backgroundColor,e.align),n=o()(["blockspare-price-list-section-admin blockspare-price-list"],{["align"+t]:t});return wp.element.createElement("div",{className:n||void 0},this.props.children)}}n(613),n(614);var RS=n(52);const HS=wp.i18n.__,WS=wp.element.Component,US=wp.blockEditor,GS=US.InspectorControls,VS=US.PanelColorSettings,qS=wp.components,$S=qS.PanelBody,JS=qS.ToggleControl;qS.SelectControl,qS.RangeControl;class XS extends WS{render(){const e=this.props,t=e.attributes,n=(t.layoutOptions,t.priceUnitPosition,t.showDots),a=(t.priceTitleColor,t.priceColor),r=t.priceUnitColor,i=(t.backgroundColor,t.priceDescriptionColor,t.showImage),o=(t.imgIconOption,t.name,t.iconSize,t.iconStyles,t.iconBackgroundColor,t.iconBorderColor,t.iconColor,t.borderRadius,t.paddingTop),l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.marginTop,p=t.marginBottom,d=(t.blockBorderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.titleFontSize),m=t.titleLoadGoogleFonts,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSubset,h=t.titleFontSizeType,v=t.titleFontSizeMobile,y=t.titleFontSizeTablet,w=t.priceUnitFontSize,k=t.priceUnitLoadGoogleFonts,_=t.priceUnitFontFamily,x=t.priceUnitFontWeight,S=t.priceUnitFontSubset,E=t.priceUnitFontSizeType,T=t.priceUnitFontSizeMobile,C=t.priceUnitFontSizeTablet,M=t.descriptionFontSize,O=t.descriptionFontFamily,L=t.descriptionFontWeight,D=t.descriptionFontSubset,F=t.descriptionFontSizeType,P=t.descriptionFontSizeMobile,j=t.descriptionFontSizeTablet,N=t.descriptionLoadGoogleFonts,z=e.attributes,A=e.setAttributes;HS("Layout 1","blockspare"),HS("Layout 2","blockspare"),HS("Layout 3","blockspare"),HS("Before Price","blockspare"),HS("After Price","blockspare"),HS("Icon","blockspare"),HS("Image","blockspare");return wp.element.createElement(GS,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement($S,{title:HS("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(JS,{label:HS("Display Image ","blockspare"),checked:i,onChange:()=>this.props.setAttributes({showImage:!i})}),wp.element.createElement(JS,{label:HS("Display Dots","blockspare"),checked:n,onChange:()=>this.props.setAttributes({showDots:!n})})),wp.element.createElement($S,{title:HS("Typography Settings","blockspare")},wp.element.createElement(Ps,{label:HS("Title Fonts Settings"),attributes:z,setAttributes:A,loadGoogleFonts:{value:m,label:HS("titleLoadGoogleFonts")},fontFamily:{value:f,label:HS("titleFontFamily")},fontWeight:{value:b,label:HS("titleFontWeight")},fontSubset:{value:g,label:HS("titleFontSubset")},fontSizeType:{value:h,label:HS("titleFontSizeType")},fontSize:{value:d,label:HS("titleFontSize")},fontSizeMobile:{value:v,label:HS("titleFontSizeMobile")},fontSizeTablet:{value:y,label:HS("titleFontSizeTablet")},disableLineHeight:!0}),wp.element.createElement(Ps,{label:HS("Description Fonts Settings"),attributes:z,setAttributes:A,loadGoogleFonts:{value:N,label:HS("descriptionLoadGoogleFonts")},fontFamily:{value:O,label:HS("descriptionFontFamily")},fontWeight:{value:L,label:HS("descriptionFontWeight")},fontSubset:{value:D,label:HS("descriptionFontSubset")},fontSizeType:{value:F,label:HS("descriptionFontSizeType")},fontSize:{value:M,label:HS("descriptionFontSize")},fontSizeMobile:{value:P,label:HS("descriptionFontSizeMobile")},fontSizeTablet:{value:j,label:HS("descriptionFontSizeTablet")},disableLineHeight:!0}),wp.element.createElement(Ps,{label:HS("Price Fonts Settings"),attributes:z,setAttributes:A,loadGoogleFonts:{value:k,label:HS("priceUnitLoadGoogleFonts")},fontFamily:{value:_,label:HS("priceUnitFontFamily")},fontWeight:{value:x,label:HS("priceUnitFontWeight")},fontSubset:{value:S,label:HS("priceUnitFontSubset")},fontSizeType:{value:E,label:HS("priceUnitFontSizeType")},fontSize:{value:w,label:HS("priceUnitFontSize")},fontSizeMobile:{value:T,label:HS("priceUnitFontSizeMobile")},fontSizeTablet:{value:C,label:HS("priceUnitFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement($S,{title:HS("Color Settings","blockspare"),initialOpen:!1},wp.element.createElement(VS,{title:HS("Colors","blockspare"),initialOpen:!0,colorSettings:[{value:a,onChange:e=>A({priceColor:e}),label:HS("Price Color","blockspare")},{value:r,onChange:e=>A({priceUnitColor:e}),label:HS("Unit Color","blockspare")}]})),wp.element.createElement($S,{title:HS("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement($S,{title:HS("Padding Settings","blockspare"),initialOpen:!0},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:o,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>A({paddingTop:e}),paddingEnableRight:!0,paddingRight:l,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>A({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:s,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>A({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:c,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>A({paddingLeft:e})})),wp.element.createElement($S,{title:HS("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:u,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>A({marginTop:e}),marginEnableBottom:!0,marginBottom:p,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>A({marginBottom:e})})))))}}function KS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function QS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?KS(Object(n),!0).forEach((function(t){ZS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ZS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eE=e=>{const t=e.attributes,n=t.backgroundColor,a=t.blockBorderRadius,r=t.priceTitleColor,i=t.priceColor,o=t.priceUnitColor,l=t.priceDescriptionColor,s=t.titleFontSize,c=t.titleFontFamily,u=t.titleFontWeight,p=t.titleFontSizeType,d=t.titleFontSizeMobile,m=t.titleFontSizeTablet,f=t.priceUnitFontSize,b=t.priceUnitFontFamily,g=t.priceUnitFontWeight,h=t.priceUnitFontSizeType,v=t.priceUnitFontSizeMobile,y=t.priceUnitFontSizeTablet,w=t.descriptionFontSize,k=t.descriptionFontFamily,_=t.descriptionFontWeight,x=(t.descriptionFontSubset,t.descriptionFontSizeType),S=t.descriptionFontSizeMobile,E=t.descriptionFontSizeTablet,T=[];var C=f,M=(Math.floor(C/1.3),Math.floor(C/1.3)),O=y,L=Math.floor(O/2.5),D=Math.floor(L/2.5),F=v,P=Math.floor(F/2.5),j=Math.floor(P/2.5);return T.push({".blockspare-price-list-wrap":QS({},_c(e.attributes),{},kc(e.attributes),{backgroundColor:n||"#fff",borderRadius:a?a+"px":null}),".blockspare-price-list-wrap .blockspare-block-icon":QS({},Hf(e.attributes)),".blockspare-price-divider":{color:l||"#6d6d6d"},".blockspare-title":{color:r||"#404040",fontSize:s+p+"!important",fontFamily:c+"!important",fontWeight:"Default"!==c?u+"!important":""},".blockspare-price":{color:i||"#af0000",fontSize:f+h+"!important",fontFamily:b+"!important",fontWeight:"Default"!==b?g+"!important":""},".blockspare-unit":{color:o||"#af0000",fontSize:M+"px",fontFamily:b,fontWeight:g},".blockspare-description":{color:l||"#6d6d6d",fontSize:w+x+"!important",fontFamily:k+"!important",fontWeight:"Default"!==k?_+"!important":""},tablet:{".blockspare-title":{fontSize:m+p+"!important"},".blockspare-price,":{fontSize:y+p+"!important"},".blockspare-unit":{fontSize:D+p+"!important"},".blockspare-description":{fontSize:E+x+"!important"}},mobile:{".blockspare-title":{fontSize:d+p+"!important"},".blockspare-price":{fontSize:v+p+"!important"}," .blockspare-unit":{fontSize:j+p+"!important"},".blockspare-description":{fontSize:S+x+"!important"}}}),vr.a.all(T)};const tE=blockspare_globals,nE=wp.element,aE=nE.Component,rE=nE.Fragment,iE=wp.i18n.__,oE=wp.compose.compose,lE=["core/image"],sE=[["core/image",{url:tE.menu_img_url,width:120,height:120,align:"center"}]],cE=wp.blockEditor,uE=cE.RichText,pE=cE.InnerBlocks;var dE=oE(gr,mr(eE))(class extends aE{render(){const e=this.props,t=e.attributes,n=t.price,a=t.priceTitle,r=t.priceDescription,i=t.priceUnit,l=t.layoutOptions,s=t.priceUnitPosition,c=t.showDots,u=t.showImage,p=t.imgIconOption,d=t.name,m=t.iconSize,f=t.iconStyles,b=e.className,g=(e.attributes,e.setAttributes),h=o()([b,"blockspare-pircelist"]);return wp.element.createElement(rE,null,wp.element.createElement(XS,this.props),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-price-list-wrap",l,s)},wp.element.createElement("div",{className:"blockspare-img-wrapper"},u&&"image"==p&&wp.element.createElement(pE,{template:sE,allowedBlocks:lE,templateLock:!0,templateInsertUpdatesSelection:!0})),u&&"icon"==p&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",m,f)},wp.element.createElement("i",{className:d}))),wp.element.createElement("div",{className:"blockspare-price-content"},wp.element.createElement("div",{className:"blockspare-price-header"},wp.element.createElement(uE,{tagName:"h4",className:"blockspare-title",onChange:e=>g({priceTitle:e}),value:a,placeholder:iE("Title","blockspare"),keepPlaceholderOnFocus:!0}),c&&wp.element.createElement("span",{className:"blockspare-price-divider"}),wp.element.createElement("div",{className:"blockspare-price-unit-wrap"},wp.element.createElement(uE,{tagName:"span",className:"blockspare-price",onChange:e=>g({price:e}),value:n,placeholder:iE("Price","blockspare"),keepPlaceholderOnFocus:!0}),wp.element.createElement(uE,{tagName:"span",className:"blockspare-unit",onChange:e=>g({priceUnit:e}),value:i,placeholder:iE("$","blockspare"),keepPlaceholderOnFocus:!0}))),wp.element.createElement(uE,{tagName:"p",className:"blockspare-description",onChange:e=>g({priceDescription:e}),value:r,placeholder:iE("Description","blockspare"),keepPlaceholderOnFocus:!0})))))}});const mE=wp.element.Component,fE=wp.compose.compose,bE=wp.blockEditor,gE=bE.InnerBlocks,hE=bE.RichText;var vE=fE(gr,mr(eE))(class extends mE{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.priceTitle,a=t.priceDescription,r=t.priceUnit,i=t.price,l=t.layoutOptions,s=t.priceUnitPosition,c=t.showDots,u=t.showImage,p=t.imgIconOption,d=t.name,m=t.iconSize,f=t.iconStyles,b=e.className,g=(e.attributes,o()([b,"blockspare-pircelist"]));return wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-price-list-wrap",l,s)},wp.element.createElement("div",{className:"blockspare-imge-wrapper"},u&&"image"==p&&wp.element.createElement(gE.Content,null)),u&&"icon"==p&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",m,f)},wp.element.createElement("i",{className:d}))),wp.element.createElement("div",{className:"blockspare-price-content"},wp.element.createElement("div",{className:"blockspare-price-header"},wp.element.createElement(hE.Content,{tagName:"h4",className:"blockspare-title",value:n}),c&&wp.element.createElement("span",{className:"blockspare-price-divider"}),wp.element.createElement("div",{className:"blockspare-price-unit-wrap"},wp.element.createElement(hE.Content,{tagName:"span",className:"blockspare-price",value:i}),wp.element.createElement(hE.Content,{tagName:"span",className:"blockspare-unit",value:r}))),wp.element.createElement(hE.Content,{tagName:"p",className:"blockspare-description",value:a}))))}});function yE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function wE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yE(Object(n),!0).forEach((function(t){kE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _E=e=>{const t=e.attributes,n=t.backgroundColor,a=t.blockBorderRadius,r=t.priceTitleColor,i=t.priceColor,o=t.priceUnitColor,l=t.priceDescriptionColor,s=t.titleFontSize,c=t.titleFontFamily,u=t.titleFontWeight,p=t.titleFontSizeType,d=t.titleFontSizeMobile,m=t.titleFontSizeTablet,f=t.priceUnitFontSize,b=t.priceUnitFontFamily,g=t.priceUnitFontWeight,h=t.priceUnitFontSizeType,v=t.priceUnitFontSizeMobile,y=t.priceUnitFontSizeTablet,w=t.descriptionFontSize,k=t.descriptionFontFamily,_=t.descriptionFontWeight,x=(t.descriptionFontSubset,t.descriptionFontSizeType),S=t.descriptionFontSizeMobile,E=t.descriptionFontSizeTablet,T=[];return T.push({".blockspare-price-list-wrap":wE({},_c(e.attributes),{},kc(e.attributes),{backgroundColor:n||"#fff",borderRadius:a||null}),",blockspare-block-icon":wE({},Hf(e.attributes)),".blockspare-price-divider":{color:l||"#6d6d6d"},".blockspare-title":{color:r||"#404040",fontSize:s+p+"!important",fontFamily:c+"!important",fontWeight:"Default"!==c?u+"!important":""},".blockspare-price":{color:i||"#af0000",fontSize:f+h+"!important",fontFamily:b+"!important",fontWeight:"Default"!==b?g+"!important":""},".blockspare-unit":{color:o||"#af0000"},".blockspare-description":{color:l||"#6d6d6d",fontSize:w+x+"!important",fontFamily:k+"!important",fontWeight:"Default"!==k?_+"!important":""},tablet:{".blockspare-title":{fontSize:m+p+"!important"},".blockspare-price, .blockspare-unit":{fontSize:y+p+"!important"},".blockspare-description":{fontSize:E+x+"!important"}},mobile:{".blockspare-title":{fontSize:d+p+"!important"},".blockspare-price, .blockspare-unit":{fontSize:v+p+"!important"},".blockspare-description":{fontSize:S+x+"!important"}}}),vr.a.all(T)};const xE=wp.element.Component,SE=wp.compose.compose,EE=wp.blockEditor,TE=EE.InnerBlocks,CE=EE.RichText;var ME=SE(gr,mr(_E))(class extends xE{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.priceTitle,a=t.priceDescription,r=t.priceUnit,i=t.price,l=t.layoutOptions,s=t.priceUnitPosition,c=t.showDots,u=t.showImage,p=t.imgIconOption,d=t.name,m=t.iconSize,f=t.iconStyles,b=e.className,g=(e.attributes,o()([b,"blockspare-pircelist"]));return wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-price-list-wrap",l,s)},wp.element.createElement("div",{className:"blockspare-imge-wrapper"},u&&"image"==p&&wp.element.createElement(TE.Content,null)),u&&"icon"==p&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",m,f)},wp.element.createElement("i",{className:d}))),wp.element.createElement("div",{className:"blockspare-price-content"},wp.element.createElement("div",{className:"blockspare-price-header"},wp.element.createElement(CE.Content,{tagName:"h4",className:"blockspare-title",value:n}),c&&wp.element.createElement("span",{className:"blockspare-price-divider"}),wp.element.createElement("div",{className:"blockspare-price-unit-wrap"},wp.element.createElement(CE.Content,{tagName:"span",className:"blockspare-price",value:i}),wp.element.createElement(CE.Content,{tagName:"span",className:"blockspare-unit",value:r}))),wp.element.createElement(CE.Content,{tagName:"p",className:"blockspare-description",value:a}))))}});function OE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function LE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?OE(Object(n),!0).forEach((function(t){DE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):OE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function DE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const FE=wp.blockEditor,PE=FE.InnerBlocks,jE=FE.RichText,NE=LE({},RS.attributes,{},Ei,{},Si);var zE=[{attributes:NE,save:function(e){const t=e.attributes,n=t.priceTitle,a=t.priceDescription,r=t.priceUnit,i=t.price,l=t.layoutOptions,s=t.priceUnitPosition,c=t.showDots,u=t.priceTitleColor,p=t.priceColor,d=t.priceUnitColor,m=t.priceDescriptionColor,f=t.backgroundColor,b=t.showImage,g=t.imgIconOption,h=t.name,v=t.iconSize,y=t.iconStyles,w=t.blockBorderRadius,k=LE({},Hf(e.attributes));return wp.element.createElement("div",{className:o()("blockspare-price-list-wrap",l,s),style:LE({},_c(e.attributes),{},kc(e.attributes),{backgroundColor:f||"#fff",borderRadius:w||null})},wp.element.createElement("div",{className:"blockspare-imge-wrapper"},b&&"image"==g&&wp.element.createElement(PE.Content,null)),b&&"icon"==g&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",v,y),style:k},wp.element.createElement("i",{className:h}))),wp.element.createElement("div",{className:"blockspare-price-content"},wp.element.createElement("div",{className:"blockspare-price-header"},wp.element.createElement(jE.Content,{tagName:"h4",className:"blockspare-title",value:n,style:{color:u||"#404040"}}),c&&wp.element.createElement("span",{className:"blockspare-price-divider",style:{color:m||"#6d6d6d"}}),wp.element.createElement("div",{className:"blockspare-price-unit-wrap"},wp.element.createElement(jE.Content,{tagName:"span",className:"blockspare-price",value:i,style:{color:p||"#af0000"}}),wp.element.createElement(jE.Content,{tagName:"span",className:"blockspare-unit",value:r,style:{color:d||"#af0000"}}))),wp.element.createElement(jE.Content,{tagName:"p",className:"blockspare-description",value:a,style:{color:m||"#6d6d6d"}})))}},{attributes:NE,save:e=>wp.element.createElement(ME,e)}];function AE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function YE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const BE=wp.i18n.__,IE=wp.blocks.registerBlockType,RE=RS.category,HE=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?AE(Object(n),!0).forEach((function(t){YE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},RS.attributes,{},Ei,{},Si),WE={title:BE("Price List Item","blockspare"),description:BE("Display creative Price List, Menu .","blockspare"),parent:["blockspare/blockspare-price-list"],icon:r.pricingList,category:RE,supports:{html:!1,inserter:!1,reusable:!1},attributes:HE,edit:dE,save:vE,deprecated:zE};IE("blockspare/list-item",WE);const UE=wp.element,GE=UE.Component,VE=UE.Fragment,qE=wp.i18n.__,$E=wp.compose.compose,JE=wp.components.PanelBody,XE=wp.blocks.createBlock,KE=wp.data,QE=KE.withSelect,ZE=KE.withDispatch,eT=wp.blockEditor,tT=eT.InnerBlocks,nT=eT.InspectorControls,aT=eT.PanelColorSettings;var rT=$E([QE((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,i=a.isBlockSelected,o=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:i(n)||o(n,!0)}}),ZE(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends GE{constructor(...e){var t,n,a;super(...e),a=e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++)t.push(["blockspare/list-item",{}]);return t},(n="getPriceTemplate")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertPriceItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=WE.heading;e=Object.assign({},{},{itemNumber:t,heading:n,active:!1,defaultText:""})}else e=WE;a(XE("blockspare/list-item",e),void 0,n)}render(){const e=this.props,t=(e.align,e.attributes),n=e.backgroundColor,a=(e.isSelectedBlockInRoot,e.setAttributes);e.attributes.uniqueId;return[wp.element.createElement(VE,null,wp.element.createElement(nT,null,wp.element.createElement(JE,{title:qE("Block Settings","blockspare")},wp.element.createElement(aT,{title:qE("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:n,onChange:e=>a({backgroundColor:e}),label:qE("Background Color","blockspare")}]}))),wp.element.createElement(IS,this.props,wp.element.createElement(tT,{template:this.getPriceTemplate(t),allowedBlocks:["blockspare/list-item"]})))]}});const iT=wp.element.Component,oT=wp.blockEditor.InnerBlocks;var lT=class extends iT{render(){const e=this.props.attributes,t=e.uniqueId,n=(e.itemToggle,e.align),a=(e.backgroundColor,`blockspare-block-pricelist blockspare-blocks blockspare-block-${t} align${n}`);return wp.element.createElement("div",{className:a},wp.element.createElement(oT.Content,null))}};const sT=YS.name,cT=YS.category,uT=YS.attributes,pT=wp.i18n.__;(0,wp.blocks.registerBlockType)(sT,{title:pT("BS Price List","blockspare"),description:pT("Add a price list.","blockspare"),category:cT,icon:r.pricingList,attributes:uT,keywords:[pT("block","blockspare"),pT("price","blockspare"),pT("list","blockspare"),pT("table","blockspare"),pT("pricing","blockspare"),pT("shop","blockspare"),pT("purchase","blockspare")],supports:{align:["wide","full","center"],html:!0},example:{attributes:{cover:"https://blockspare.com",author:"blockspare",pages:500}},edit:rT,save:lT});var dT=n(83);const mT=wp.i18n.__,fT=wp.element.Component,bT=wp.blockEditor.InspectorControls,gT=wp.components,hT=(gT.Toolbar,gT.Button,gT.PanelBody),vT=(gT.PanelRow,gT.RangeControl);class yT extends fT{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.columns,a=t.columnsGap,r=t.marginTop,i=t.marginBottom,o=(e.isSelected,e.className,e.setAttributes);return wp.element.createElement(bT,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper pricing-table-blockspare"},wp.element.createElement(hT,{title:mT("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(vT,{label:mT("Pricing Columns","blockspare"),value:n,onChange:e=>this.props.setAttributes({columns:e}),min:1,max:3,withInputField:!1}),wp.element.createElement(vT,{label:mT("Pricing Columns Gap","blockspare"),value:a,withInputField:!1,onChange:e=>this.props.setAttributes({columnsGap:e}),min:0,max:4,step:1})),wp.element.createElement(hT,{title:mT("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:r,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>o({marginTop:e}),marginEnableBottom:!0,marginBottom:i,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>o({marginBottom:e})}))))}}const wT=wp.element.Component;class kT extends wT{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.columns,a=(t.columnsGap,t.align),r=(e.attributes,o()([this.props.className,"blockspare-pricing-columns-"+n],{["align"+a]:a}));return wp.element.createElement("div",{className:r||void 0},this.props.children)}}n(615),n(616);var _T=n(42);const xT=wp.i18n.__,ST=wp.element,ET=ST.Component,TT=(ST.Fragment,wp.blockEditor),CT=TT.InspectorControls,MT=(TT.BlockDescription,TT.MediaUpload,TT.PanelColorSettings),OT=wp.components,LT=(OT.Dashicon,OT.Button,OT.PanelBody),DT=(OT.SelectControl,OT.FormToggle,OT.RangeControl);OT.TextControl,OT.ToggleControl;class FT extends ET{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.borderWidth,a=t.borderColor,r=(t.borderRadius,t.backgroundColor),i=t.padding,o=t.sectionScale,l=(t.enableBadge,t.badgeText,t.badgeStyle,t.badgeOption,t.imgID1,t.imgURL1,t.imgAlt1,t.badgeTextColor,t.badgeBackGroundColor,t.badgeImgSize,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,e.isSelected,e.className,e.setAttributes);xT("Style 1","blockspare"),xT("Style 2","blockspare"),xT("Style 3","blockspare"),xT("Text","blockspare"),xT("Image","blockspare");return wp.element.createElement(CT,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(LT,{title:xT("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(DT,{label:xT("Pricing Column Padding","blockspare"),value:i,onChange:e=>this.props.setAttributes({padding:e}),min:0,max:20,step:1}),wp.element.createElement(DT,{label:xT("Pricing Column Border","blockspare"),value:n,onChange:e=>this.props.setAttributes({borderWidth:e}),min:0,max:10,step:1}),wp.element.createElement(DT,{label:xT("Scale Ratio","blockspare"),value:o,onChange:e=>this.props.setAttributes({sectionScale:e}),min:0,max:2,step:1})),wp.element.createElement(LT,{title:xT("Color Settings","blockspare"),initialOpen:!1},0<n&&wp.element.createElement(MT,{title:xT("Border Color","blockspare"),initialOpen:!1,colorSettings:[{value:a,onChange:e=>l({borderColor:e}),label:xT("Border Color","blockspare")}]}),wp.element.createElement(MT,{title:xT("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:r,onChange:e=>l({backgroundColor:e}),label:xT("Background Color","blockspare")}]}))))}}function PT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function jT(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PT(Object(n),!0).forEach((function(t){NT(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PT(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function NT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zT=e=>{const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,i=t.backgroundColor,o=t.padding,l=(t.color,t.badgeBackGroundColor),s=t.badgeImgSize,c=t.badgeTextColor,u=[];return u.push({".blockspare-block-pricing-table-inside":jT({},kc(e.attributes),{borderWidth:n?n+"px":null,borderStyle:0<n?"solid":null,borderColor:a||"#fff",borderRadius:r||null,backgroundColor:i||null,padding:o?o+"px":"5px"}),".blockspare-badge span":{color:c||"#fff",backgroundColor:l},".blockspare-badge-image":{width:s+"px"}}),vr.a.all(u)};wp.i18n.__;const AT=wp.element,YT=AT.Component,BT=AT.Fragment,IT=wp.compose.compose,RT=wp.blockEditor,HT=RT.InnerBlocks,WT=(RT.AlignmentToolbar,RT.BlockControls,["blockspare/blockspare-pricing-inner-title","blockspare/blockspare-pricing-inner-price","blockspare/blockspare-pricing-inner-description","blockspare/blockspare-pricing-inner-button","blockspare/blockspare-iconset"]);var UT=IT(gr,mr(zT))(class extends YT{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.padding,t.alignment),a=t.sectionScale,r=t.enableBadge,i=t.badgeText,l=t.badgeStyle,s=t.badgeOption,c=(t.imgID1,t.imgURL1),u=t.imgAlt1,p=(t.badgeTextColor,t.badgeBackGroundColor,t.badgeImgSize,e.attributes,e.isSelected,e.className);e.setAttributes;let d="";return d=r&&i&&"badge-text"===s?l:r&&"badge-image"===s?l+" has-image":"",wp.element.createElement(BT,null,wp.element.createElement(FT,this.props),wp.element.createElement("div",{className:o()(p,n?"blockspare-block-pricing-table-"+n:"blockspare-block-pricing-table-center","blockspare-block-pricing-table")},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-pricing-table-inside",d,(m=a,"has-scale-ratio-"+1*Math.round(m)),{"has-scale-ratio":0!==a})},r&&i&&"badge-text"===s&&wp.element.createElement("div",{className:"blockspare-badge-wrapper"},wp.element.createElement("div",{className:"blockspare-badge"},wp.element.createElement("span",{className:o()(l)},i))),r&&"badge-image"===s&&wp.element.createElement("div",{className:o()(l,"blockspare-badge-image")},wp.element.createElement("img",{src:c,alt:u})),wp.element.createElement(HT,{template:[["blockspare/blockspare-iconset",{}],["blockspare/blockspare-pricing-inner-title",{headerTitle:"<strong> Price Title </strong>",headerSubTitle:"Enter Subtitle",titlePaddingTop:0,titlePaddingBottom:0,subtitlePaddingTop:0,subtitlePaddingBottom:0}],["blockspare/blockspare-pricing-inner-price",{price:"59",currency:"$",customFontSize:32,term:"/mo",paddingTop:10,paddingRight:20,paddingBottom:10,paddingLeft:20}],["blockspare/blockspare-pricing-inner-description",{features:"<li>40 Team Members</li><li>40 Personal Contacts</li><li>4000 Message</li>",multilineTag:"li",ordered:!1,customFontSize:16,FontSize:"small",paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}],["blockspare/blockspare-pricing-inner-button",{buttonText:"Get Started",paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}]],allowedBlocks:WT,renderAppender:!1}))));var m}});wp.i18n.__;const GT=wp.element,VT=GT.Component,qT=(GT.Fragment,wp.compose.compose),$T=wp.blockEditor.InnerBlocks;var JT=qT(gr,mr(zT))(class extends VT{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.alignment),a=(t.padding,t.sectionScale),r=t.enableBadge,i=t.badgeText,l=t.badgeStyle,s=t.badgeOption,c=(t.imgID1,t.imgURL1),u=t.imgAlt1,p=(t.badgeTextColor,t.badgeBackGroundColor,t.badgeImgSize,e.className);e.attributes;let d="";return d=r&&i&&"badge-text"===s?l:r&&"badge-image"===s?l+" has-image":"",wp.element.createElement("div",{className:o()(p,n?"blockspare-block-pricing-table-"+n:"blockspare-block-pricing-table-center","blockspare-block-pricing-table"),itemScope:!0,itemType:"http://schema.org/Product"},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-pricing-table-inside",d,(m=a,"has-scale-ratio-"+1*Math.round(m)),{"has-scale-ratio":0!==a})},r&&i&&"badge-text"===s&&wp.element.createElement("div",{className:"blockspare-badge-wrapper"},wp.element.createElement("div",{className:"blockspare-badge"},wp.element.createElement("span",{className:o()(l)},i))),r&&"badge-image"===s&&wp.element.createElement("div",{className:o()(l,"blockspare-badge-image")},wp.element.createElement("img",{src:c,alt:u})),wp.element.createElement($T.Content,null)));var m}});function XT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function KT(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?XT(Object(n),!0).forEach((function(t){QT(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XT(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function QT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ZT=wp.blockEditor.InnerBlocks;var eC=[{attributes:KT({},_T.attributes,{},Si),save:function(e){const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,i=t.backgroundColor,l=t.alignment,s=t.padding,c=t.sectionScale,u=t.enableBadge,p=t.badgeText,d=t.badgeStyle,m=t.badgeOption,f=(t.imgID1,t.imgURL1),b=t.imgAlt1,g=t.badgeTextColor,h=t.badgeBackGroundColor,v=t.badgeImgSize,y=KT({},kc(e.attributes),{borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:a||null,borderRadius:r||null,backgroundColor:i||"#fff",padding:s?s+"%":null}),w={color:g||"#fff",backgroundColor:h},k={width:v+"px"};let _="";return _=u&&p&&"badge-text"===m?d:u&&"badge-image"===m?d+" has-image":"",wp.element.createElement("div",{className:o()(l?"blockspare-block-pricing-table-"+l:"blockspare-block-pricing-table-center","blockspare-block-pricing-table"),itemScope:!0,itemType:"http://schema.org/Product"},wp.element.createElement("div",{className:o()("blockspare-block-pricing-table-inside",_,(x=c,"has-scale-ratio-"+1*Math.round(x)),{"has-scale-ratio":0!==c}),style:y},u&&p&&"badge-text"===m&&wp.element.createElement("div",{className:"blockspare-badge-wrapper"},wp.element.createElement("div",{className:"blockspare-badge"},wp.element.createElement("span",{className:o()(d),style:w},p))),u&&"badge-image"===m&&wp.element.createElement("div",{className:o()(d),style:k},wp.element.createElement("img",{src:f,alt:b})),wp.element.createElement(ZT.Content,null)));var x}}];function tC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function nC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const aC=wp.i18n.__,rC=wp.blocks.registerBlockType,iC=(_T.name,_T.category),oC=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tC(Object(n),!0).forEach((function(t){nC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},_T.attributes,{},Si),lC={title:aC("BS Pricing Column","blockspare"),description:aC("Add a pricing column.","blockspare"),icon:r.pricingTable,category:iC,parent:["blockspare/blockspare-pricing"],keywords:[aC("pricing","blockspare"),aC("shop","blockspare"),aC("buy","blockspare")],attributes:oC,edit:UT,save:JT,deprecated:eC};rC("blockspare/blockspare-pricing-inner",lC);var sC=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=[];return r.push({".blockspare-pricing-block-wrapper":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0}}),vr.a.all(r)};function cC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function uC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pC=wp.element,dC=pC.Component,mC=pC.Fragment,fC=(wp.i18n.__,wp.compose.compose),bC=wp.blocks.createBlock,gC=wp.data,hC=gC.withSelect,vC=gC.withDispatch,yC=wp.blockEditor.InnerBlocks;var wC=fC([hC((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,i=a.isBlockSelected,o=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:i(n)||o(n,!0)}}),vC(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}}),gr,mr(sC)])(class extends dC{constructor(...e){super(...e),uC(this,"getServiceTemplate",e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++)t.push(["blockspare/blockspare-pricing-inner",{}]);return t})}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertServiceItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=lC.heading;e=Object.assign({},{},{itemNumber:t,heading:n,active:!1,defaultText:""})}else e=lC;a(bC("blockspare/blockspare-pricing-inner",e),void 0,n)}render(){const e=this.props,t=e.attributes,n=t.columns,a=(t.marginTop,t.marginBottom,t.columnsGap),r=e.attributes,i=e.className,l=e.setAttributes,s=o()(["blockspare-pricing-columns-"+n]),c=o()([i,"blockspare-main-blockwrapper"]);return wp.element.createElement(mC,null,wp.element.createElement(yT,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cC(Object(n),!0).forEach((function(t){uC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:l},this.props)),wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-pricing-block-wrapper"},wp.element.createElement("div",{className:s},wp.element.createElement("div",{className:o()("blockspare-pricing-table-wrap-admin","blockspare-block-pricing-table-gap-"+a)},wp.element.createElement(yC,{template:this.getServiceTemplate(r),allowedBlocks:["blockspare/blockspare-pricing-inner"],renderAppender:!1}))))))}});wp.i18n.__;const kC=wp.element.Component,_C=wp.compose.compose,xC=wp.blockEditor.InnerBlocks;var SC=_C(gr,mr(sC))(class extends kC{render(){const e=this.props,t=e.attributes,n=(t.align,t.columns),a=t.columnsGap,r=(t.marginTop,t.marginBottom,e.className),i=o()(["blockspare-pricing-table-wrap","blockspare-block-pricing-table-gap-"+a]),l=o()(["blockspare-pricing-columns-"+n]),s=o()([r,"blockspare-main-blockwrapper"]);return wp.element.createElement("div",{className:s},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-pricing-block-wrapper")},wp.element.createElement("div",{className:l},wp.element.createElement("div",{className:i||void 0},wp.element.createElement(xC.Content,null)))))}});const EC=wp.blockEditor.InnerBlocks;var TC=[{attributes:{columns:{type:"number",default:2},columnsGap:{type:"number",default:1},align:{type:"string",default:"center"},defaultItems:{type:"number",default:2},marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}},save:function(e){const t=e.attributes,n=t.align,a=(t.columns,t.columnsGap),r=t.marginTop,i=t.marginBottom,l=o()(["blockspare-pricing-table-wrap","blockspare-block-pricing-table-gap-"+a]);return wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-pricing-block-wrapper","align"+n),style:{marginTop:r?r+"px":void 0,marginBottom:i?i+"px":void 0}},wp.element.createElement(kT,e,wp.element.createElement("div",{className:l||void 0},wp.element.createElement(EC.Content,null))))}}];const CC=wp.i18n.__,MC=wp.blocks.registerBlockType,OC=(wp.blockEditor.InnerBlocks,dT.name),LC=dT.category,DC=dT.attributes;MC(OC,{title:CC("BS Pricing Table","blockspare"),description:CC("Add a pricing table.","blockspare"),category:LC,icon:r.pricingTable,attributes:DC,keywords:[CC("block","blockspare"),CC("price","blockspare"),CC("list","blockspare"),CC("table","blockspare"),CC("pricing","blockspare"),CC("shop","blockspare"),CC("purchase","blockspare")],supports:{align:["wide","full","center"],html:!0},example:{attributes:{cover:"https://blockspare.com",author:"blockspare",pages:500}},edit:wC,save:SC,deprecated:TC});var FC=n(120);const PC=wp.i18n.__,jC=wp.element.Component,NC=(wp.compose.compose,wp.blockEditor.InspectorControls),zC=wp.components,AC=(zC.withFallbackStyles,zC.PanelBody);zC.SelectControl;class YC extends jC{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.subtitleFontSize,t.headerTagOption),a=t.headertitleColor,r=t.headersubtitleColor,i=t.headerlayoutOption,o=t.titlePaddingTop,l=t.titlePaddingBottom,s=t.subtitlePaddingTop,c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontSize,m=t.titleLoadGoogleFonts,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSubset,h=t.titleFontSizeType,v=t.titleFontSizeMobile,y=t.titleFontSizeTablet,w=t.subTitleFontSize,k=t.subTitleLoadGoogleFonts,_=t.subTitleFontFamily,x=t.subTitleFontWeight,S=t.subTitleFontSubset,E=t.subTitleFontSizeType,T=t.subTitleFontSizeMobile,C=t.subTitleFontSizeTablet,M=e.attributes,O=e.setAttributes;PC("Layout 1","blockspare"),PC("Layout 2","blockspare"),PC("Layout 3","blockspare");return wp.element.createElement(NC,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(AC,{title:PC("Header Settings","blockspare"),initialOpen:!0},wp.element.createElement(tc,{headerlayoutOption:i,onChangeHeaderLayput:e=>O({headerlayoutOption:e})}),wp.element.createElement(AC,{title:PC("Typography Settings","blockspare")},wp.element.createElement(Ps,{label:PC("Title Fonts Settings"),attributes:M,setAttributes:O,loadGoogleFonts:{value:m,label:PC("titleLoadGoogleFonts")},fontFamily:{value:f,label:PC("titleFontFamily")},fontWeight:{value:b,label:PC("titleFontWeight")},fontSubset:{value:g,label:PC("titleFontSubset")},fontSizeType:{value:h,label:PC("titleFontSizeType")},fontSize:{value:d,label:PC("titleFontSize")},fontSizeMobile:{value:v,label:PC("titleFontSizeMobile")},fontSizeTablet:{value:y,label:PC("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:n}),wp.element.createElement(Ps,{label:PC("Subtitle Fonts Settings"),attributes:M,setAttributes:O,loadGoogleFonts:{value:k,label:PC("subTitleLoadGoogleFonts")},fontFamily:{value:_,label:PC("subTitleFontFamily")},fontWeight:{value:x,label:PC("subTitleFontWeight")},fontSubset:{value:S,label:PC("subTitleFontSubset")},fontSizeType:{value:E,label:PC("subTitleFontSizeType")},fontSize:{value:w,label:PC("subTitleFontSize")},fontSizeMobile:{value:T,label:PC("subTitleFontSizeMobile")},fontSizeTablet:{value:C,label:PC("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),wp.element.createElement(Fi,{enableBlockGaps:!1,headerboxColor:p,onChangeboxcolor:e=>O({headerboxColor:e}),dashColor:u,headerlayoutOption:i,onChangeDashColor:e=>O({dashColor:e}),headertitleColor:a,onChangetitlecolor:e=>O({headertitleColor:e}),titlePaddingTop:o,onChangetitlePaddingTop:e=>O({titlePaddingTop:e}),titlePaddingBottom:l,onChangetitlePaddingBottom:e=>O({titlePaddingBottom:e}),headersubtitleColor:r,onChangesubtitlecolor:e=>O({headersubtitleColor:e}),subtitlePaddingTop:s,onChangesubtitlePaddingTop:e=>O({subtitlePaddingTop:e}),subtitlePaddingBottom:c,onChangesubtitlePaddingBottom:e=>O({subtitlePaddingBottom:e})}))))}}var BC=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.subTitleFontSize,v=(t.subTitleLoadGoogleFonts,t.subTitleFontFamily),y=t.subTitleFontWeight,w=(t.subTitleFontSubset,t.subTitleFontSizeType),k=t.subTitleFontSizeMobile,_=t.subTitleFontSizeTablet,x=t.headerpaddingTop,S=(t.headerpaddingRight,t.headerpaddingBottom),E=(t.headerpaddingLeft,t.headermarginTop,t.headermarginBottom,[]);return E.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:x+"px",paddingBottom:S+"px"}}),E.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:h+w,fontFamily:v,fontWeight:y,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-title":{fontSize:g+f},".blockspare-subtitle":{fontSize:_+w}},mobile:{".blockspare-title":{fontSize:b+f},".blockspare-subtitle":{fontSize:k+w}}}),vr.a.all(E)};function IC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function RC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?IC(Object(n),!0).forEach((function(t){HC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function HC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const WC=wp.element,UC=WC.Component,GC=WC.Fragment,VC=(wp.i18n.__,wp.compose.compose),qC=wp.blockEditor,$C=(qC.RichText,qC.AlignmentToolbar),JC=qC.BlockControls;var XC=VC(gr,mr(BC))(class extends UC{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTagOption,i=t.headerTitle,l=t.headerSubTitle,s=t.headerlayoutOption,c=t.titleLoadGoogleFonts,u=t.titleFontFamily,p=t.titleFontWeight,d=t.subTitleLoadGoogleFonts,m=t.subTitleFontFamily,f=t.subTitleFontWeight,b=e.className,g=e.attributes,h=e.setAttributes,v=(RC({},au(g)),RC({},ru(g)),RC({},iu(g)),o()([b,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return[wp.element.createElement(GC,null,wp.element.createElement(JC,{key:"controls"},wp.element.createElement($C,{value:a,onChange:e=>{h({sectionAlignment:e})}})),wp.element.createElement(YC,this.props),wp.element.createElement("div",{className:v},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(wc,{setAttributes:h,headerTitle:i,headerTagOption:r,headerSubTitle:l,titleFontFamily:u,titleFontWeight:p,titleLoadGoogleFonts:c,subTitleLoadGoogleFonts:d,subTitleFontFamily:m,subTitleFontWeight:f}))))]}});const KC=wp.element.Component,QC=(wp.i18n.__,wp.compose.compose);var ZC=QC(gr,mr(BC))(class extends KC{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTitle,i=t.headerTagOption,l=t.headerSubTitle,s=t.headerlayoutOption,c=e.className,u=(e.attributes,e.setAttributes,e.isSelected,o()([c,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(Xc,{headerTitle:r,headerTagOption:i,headerSubTitle:l})))}});function eM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function tM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const nM=wp.element.Component;class aM extends nM{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerlayoutOption,i=e.attributes,l=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eM(Object(n),!0).forEach((function(t){tM(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eM(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},pu(i)));return wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+n),style:l},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",r,"blockspare-"+a)},this.props.children))}}function rM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function iM(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rM(Object(n),!0).forEach((function(t){oM(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rM(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const lM=wp.editor,sM=lM.RichText;lM.getFontSizeClass,lM.getColorClassName;var cM=[{attributes:iM({},xi),save:function(e){const t=e.attributes,n=t.headerTagOption,a=t.headerTitle,r=t.headerSubTitle,i=iM({},au(e.attributes)),o=iM({},ru(e.attributes)),l=iM({},iu(e.attributes));return wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement(aM,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:i}),a&&wp.element.createElement(sM.Content,{tagName:n,className:"blockspare-title",style:o,value:a}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:i})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:i}),r&&wp.element.createElement(sM.Content,{tagName:"p",className:"blockspare-subtitle",style:l,value:r}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:i}))))}}];function uM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function pM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const dM=FC.name,mM=FC.category,fM=wp.i18n.__,bM=wp.blocks.registerBlockType,gM=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uM(Object(n),!0).forEach((function(t){pM(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uM(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},xi);bM(dM,{title:fM("Price Title","blockspare"),description:fM("Add a product title component with schema markup.","blockspare"),category:mM,icon:r.sectionHeader,attributes:gM,parent:["blockspare/blockspare-pricing-inner"],keywords:[fM("pricing table","blockspare"),fM("title","blockspare"),fM("shop","blockspare")],edit:XC,save:ZC,deprecated:cM});var hM=n(43);const vM=wp.i18n.__,yM=wp.element.Component,wM=(wp.compose.compose,wp.blockEditor),kM=wM.InspectorControls,_M=(wM.FontSizePicker,wM.withFontSizes,wM.withColors,wM.ContrastChecker,wM.PanelColorSettings),xM=wp.components,SM=(xM.withFallbackStyles,xM.PanelBody),EM=xM.ToggleControl,TM=xM.TextControl;xM.RangeControl;class CM extends yM{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.showTerm,a=t.showCurrency,r=t.term,i=t.currency,o=t.paddingTop,l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.priceUnitFontSize,p=t.priceUnitLoadGoogleFonts,d=t.priceUnitFontFamily,m=t.priceUnitFontWeight,f=t.priceUnitFontSubset,b=t.priceUnitFontSizeType,g=t.priceUnitFontSizeMobile,h=t.priceUnitFontSizeTablet,v=(t.backgroundColor,t.priceColor),y=e.attributes,w=e.setAttributes;return wp.element.createElement(kM,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(SM,{title:vM("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(EM,{label:vM("Show currency symbol","blockspare"),checked:a,onChange:()=>this.props.setAttributes({showCurrency:!a})}),a&&wp.element.createElement(TM,{label:vM("Currency Symbol","blockspare"),type:"text",value:i,onChange:e=>this.props.setAttributes({currency:e})}),wp.element.createElement(EM,{label:vM("Show pricing duration","blockspare"),checked:n,onChange:()=>this.props.setAttributes({showTerm:!n})}),n&&wp.element.createElement(TM,{label:vM("Pricing Duration","blockspare"),type:"text",value:r,onChange:e=>this.props.setAttributes({term:e})})),wp.element.createElement(SM,{title:vM("Typography Settings","blockspare")},wp.element.createElement(Ps,{label:vM("Price Fonts Settings"),attributes:y,setAttributes:w,loadGoogleFonts:{value:p,label:vM("priceUnitLoadGoogleFonts")},fontFamily:{value:d,label:vM("priceUnitFontFamily")},fontWeight:{value:m,label:vM("priceUnitFontWeight")},fontSubset:{value:f,label:vM("priceUnitFontSubset")},fontSizeType:{value:b,label:vM("priceUnitFontSizeType")},fontSize:{value:u,label:vM("priceUnitFontSize")},fontSizeMobile:{value:g,label:vM("priceUnitFontSizeMobile")},fontSizeTablet:{value:h,label:vM("priceUnitFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(_M,{title:vM("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:v,onChange:e=>w({priceColor:e}),label:vM("Text Color","blockspare")}]}),wp.element.createElement(SM,{title:vM("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:o,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>w({paddingTop:e}),paddingEnableRight:!0,paddingRight:l,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>w({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:s,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>w({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:c,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>w({paddingLeft:e})}))))}}var MM=e=>{const t=e.attributes,n=t.sectionAlignment,a=(t.price,t.currency,t.fontSize,t.customFontSize,t.backgroundColor,t.priceColor),r=(t.customBackgroundColor,t.customTextColor,t.term,t.showTerm,t.showCurrency,t.paddingTop),i=t.paddingRight,o=t.paddingBottom,l=t.paddingLeft,s=t.priceUnitFontSize,c=t.priceUnitFontFamily,u=t.priceUnitFontWeight,p=t.priceUnitFontSizeType,d=t.priceUnitFontSizeMobile,m=t.priceUnitFontSizeTablet;var f=s,b=Math.floor(f/2.5),g=Math.floor(f/2.5),h=m,v=Math.floor(h/2.5),y=Math.floor(v/2.5),w=d,k=Math.floor(w/1.5),_=Math.floor(k/1.5);const x=[];return x.push({".blockspare-pricing-table-price-wrap":{textAlign:n,paddingTop:r?r+"px":void 0,paddingRight:i?i+"px":void 0,paddingBottom:o?o+"px":void 0,paddingLeft:l?l+"px":void 0},".blockspare-pricing-table-price":{color:a,fontSize:s+p,fontFamily:c,fontWeight:u},".blockspare-pricing-table-currency":{color:a,fontSize:b+"px",fontFamily:c,fontWeight:u},".blockspare-pricing-table-term":{color:a,fontSize:g+"px",fontFamily:c,fontWeight:u},tablet:{".blockspare-pricing-table-price":{fontSize:m+p},".blockspare-pricing-table-currency":{fontSize:v+p},".blockspare-pricing-table-term":{fontSize:y+p}},mobile:{".blockspare-pricing-table-price":{fontSize:d+p},".blockspare-pricing-table-currency":{fontSize:k+p},".blockspare-pricing-table-term":{fontSize:_+p}}}),vr.a.all(x)};const OM=wp.i18n.__,LM=(wp.blocks.registerBlockType,wp.compose.compose),DM=wp.element,FM=DM.Component,PM=DM.Fragment,jM=wp.blockEditor,NM=jM.RichText,zM=(jM.withFontSizes,jM.withColors,jM.AlignmentToolbar),AM=jM.BlockControls;var YM=LM([gr,mr(MM)])(class extends FM{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.price,r=t.currency,i=t.term,l=t.showTerm,s=t.showCurrency,c=(t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft,t.priceUnitLoadGoogleFonts),u=t.priceUnitFontFamily,p=t.priceUnitFontWeight,d=(e.isSelected,e.className),m=e.setAttributes;e.fallbackFontSize,e.fontSize,e.backgroundColor,e.textColor;let f;if(1==c){const e={google:{families:[u+(p?":"+p:"")]}};f=wp.element.createElement(Lr,{config:e})}const b=o()({"blockspare-pricing-table-price-wrap":!0,"blockspare-pricing-has-currency":s}),g=o()({"blockspare-pricing-table-price":!0}),h=o()([d,"blockpare-priceunit"]);return[wp.element.createElement(PM,null,wp.element.createElement(AM,{key:"controls"},wp.element.createElement(zM,{value:n,onChange:e=>{m({sectionAlignment:e})}})),wp.element.createElement(CM,this.props),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:b||void 0},wp.element.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},s&&wp.element.createElement(NM,{tagName:"span",itemProp:"priceCurrency",placeholder:OM("$","blockspare"),keepPlaceholderOnFocus:!0,value:r,className:"blockspare-pricing-table-currency"}),wp.element.createElement(NM,{tagName:"div",itemProp:"price",placeholder:OM("49","blockspare"),keepPlaceholderOnFocus:!0,value:a,onChange:e=>m({price:e}),className:g||void 0,className:"blockspare-pricing-table-price"}),l&&wp.element.createElement(NM,{tagName:"span",value:i,placeholder:OM("/mo","blockspare"),keepPlaceholderOnFocus:!0,onChange:e=>m({term:e}),className:"blockspare-pricing-table-term"})))),f)]}});wp.i18n.__;const BM=wp.element,IM=BM.Component,RM=(BM.Fragment,wp.compose.compose),HM=wp.blockEditor,WM=HM.RichText;HM.getFontSizeClass,HM.getColorClassName;var UM=RM(gr,mr(MM))(class extends IM{render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.price),a=t.currency,r=(t.fontSize,t.customFontSize,t.backgroundColor,t.textColor,t.customBackgroundColor,t.customTextColor,t.term),i=t.showTerm,l=t.showCurrency,s=(t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft,e.className),c=o()({"blockspare-pricing-table-price-wrap":!0,"blockspare-pricing-has-currency":l}),u=o()({"blockspare-pricing-table-price":!0}),p=o()([s,"blockpare-priceunit"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:c||void 0},wp.element.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},a&&l&&wp.element.createElement(WM.Content,{tagName:"span",itemProp:"priceCurrency",value:a,className:"blockspare-pricing-table-currency"}),wp.element.createElement(WM.Content,{tagName:"div",itemProp:"price",value:n,className:u||void 0}),r&&i&&wp.element.createElement(WM.Content,{tagName:"span",value:r,className:"blockspare-pricing-table-term"}))))}});function GM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function VM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const qM=wp.element,$M=(qM.Component,qM.Fragment,wp.blockEditor),JM=$M.RichText,XM=$M.getFontSizeClass,KM=$M.getColorClassName;var QM=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?GM(Object(n),!0).forEach((function(t){VM(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GM(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},hM.attributes),save:function(e){const t=e.attributes,n=t.sectionAlignment,a=t.price,r=t.currency,i=t.fontSize,l=t.customFontSize,s=t.backgroundColor,c=t.textColor,u=t.customBackgroundColor,p=(t.customTextColor,t.term),d=t.showTerm,m=t.showCurrency,f=t.paddingTop,b=t.paddingRight,g=t.paddingBottom,h=t.paddingLeft,v=XM(i),y=(KM("color",c),KM("background-color",s)),w=o()({"has-background":s||u,"blockspare-pricing-table-price-wrap":!0,[y]:y,"blockspare-pricing-has-currency":m&&r}),k=o()({"blockspare-pricing-table-price":!0,[v]:v}),_={textAlign:n,backgroundColor:y?void 0:u,color:c||"#af0000",paddingTop:f?f+"px":void 0,paddingRight:b?b+"px":void 0,paddingBottom:g?g+"px":void 0,paddingLeft:h?h+"px":void 0},x={fontSize:v?void 0:l};var S=v?void 0:l,E=Math.floor(S/2.5);const T={fontSize:S?E+"px":void 0};var C=Math.floor(S/2.5);const M={fontSize:S?C+"px":void 0};return wp.element.createElement("div",{className:w||void 0,style:_},wp.element.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},r&&m&&wp.element.createElement(JM.Content,{tagName:"span",itemProp:"priceCurrency",value:r,className:"blockspare-pricing-table-currency",style:T}),wp.element.createElement(JM.Content,{tagName:"div",itemProp:"price",value:a,className:k||void 0,style:x}),p&&d&&wp.element.createElement(JM.Content,{tagName:"span",value:p,className:"blockspare-pricing-table-term",style:M})))}}];const ZM=wp.i18n.__,eO=wp.blocks.registerBlockType,tO=hM.name,nO=hM.category,aO=hM.attributes;eO(tO,{title:ZM("Price","blockspare"),description:ZM("Adds a product price component with schema markup.","blockspare"),icon:r.price,category:nO,parent:["blockspare/blockspare-pricing-inner"],keywords:[ZM("pricing table","blockspare"),ZM("title","blockspare"),ZM("shop","blockspare")],attributes:aO,edit:YM,save:UM,deprecated:QM});var rO=n(84);var iO=e=>{const t=e.attributes,n=t.sectionAlignment,a=(t.customFontSize,t.descriptionBacgroundColor),r=t.borderColor,i=t.paddingTop,o=t.paddingRight,l=t.paddingBottom,s=t.paddingLeft,c=t.color,u=t.descriptionFontSize,p=t.descriptionFontFamily,d=t.descriptionFontWeight,m=(t.descriptionFontSubset,t.descriptionFontSizeType),f=t.descriptionFontSizeMobile,b=t.descriptionFontSizeTablet,g=[];let h;return h=16===u?u-2:u,g.push({".blockspare-list-wrap":{backgroundColor:a,borderColor:r||void 0,paddingTop:i?i+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:l?l+"px":void 0,paddingLeft:s?s+"px":void 0},".blockspare-pricing-table-features li":{textAlign:n,color:c||"#000",fontSize:u+m,fontFamily:p,fontWeight:d},".blockspare-pricing-table-features li:before":{fontSize:h+m},tablet:{".blockspare-pricing-table-features":{fontSize:b+m}},mobile:{"blockspare-pricing-table-features":{fontSize:f+m}}}),vr.a.all(g)};const oO=wp.i18n.__,lO=wp.element.Component,sO=(wp.compose.compose,wp.blockEditor),cO=sO.InspectorControls,uO=(sO.FontSizePicker,sO.withFontSizes,sO.withColors,sO.ContrastChecker,sO.PanelColorSettings),pO=(sO.ColorPalette,wp.components),dO=(pO.withFallbackStyles,pO.PanelBody);pO.PanelRow,pO.SelectControl,pO.BaseControl,pO.RangeControl;class mO extends lO{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.borderStyle,t.borderColor,t.borderWidth,t.descriptionBacgroundColor),a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.name,s=t.listType,c=t.orderListStyle,u=t.color,p=t.descriptionFontSize,d=t.descriptionFontFamily,m=t.descriptionFontWeight,f=t.descriptionFontSubset,b=t.descriptionFontSizeType,g=t.descriptionFontSizeMobile,h=t.descriptionFontSizeTablet,v=t.descriptionLoadGoogleFonts,y=e.attributes,w=e.setAttributes;e.fallbackFontSize,e.fontSize,e.setFontSize,e.textColor,e.setBackgroundColor,e.setTextColor,e.fallbackBackgroundColor,e.fallbackTextColor,oO("None"),oO("Solid"),oO("Dotted"),oO("Dashed");return wp.element.createElement(cO,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(dO,{title:oO("Custom List Settings"),initialOpen:!1},wp.element.createElement(Ty,{name:l,onChangeName:e=>w({name:e}),listType:s,onChangeListStyle:e=>w({listType:e}),orderListStyle:c,onChangeOrderListStyle:e=>w({orderListStyle:e}),color:u,onchangeColor:e=>w({color:e})})),wp.element.createElement(dO,{title:oO("Typography Settings","blockspare")},wp.element.createElement(Ps,{label:oO("Description Fonts Settings"),attributes:y,setAttributes:w,loadGoogleFonts:{value:v,label:oO("descriptionLoadGoogleFonts")},fontFamily:{value:d,label:oO("descriptionFontFamily")},fontWeight:{value:m,label:oO("descriptionFontWeight")},fontSubset:{value:f,label:oO("descriptionFontSubset")},fontSizeType:{value:b,label:oO("descriptionFontSizeType")},fontSize:{value:p,label:oO("descriptionFontSize")},fontSizeMobile:{value:g,label:oO("descriptionFontSizeMobile")},fontSizeTablet:{value:h,label:oO("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(uO,{title:oO("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:n,onChange:e=>w({descriptionBacgroundColor:e}),label:oO("Background Color","blockspare")}]}),wp.element.createElement(dO,{title:oO("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:a,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>w({paddingTop:e}),paddingEnableRight:!0,paddingRight:r,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>w({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:i,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>w({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:o,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>w({paddingLeft:e})}))))}}const fO=wp.i18n.__,bO=wp.compose.compose,gO=wp.element,hO=gO.Component,vO=gO.Fragment,yO=wp.blockEditor,wO=yO.RichText,kO=(yO.withFontSizes,yO.withColors,yO.AlignmentToolbar),_O=yO.BlockControls;yO.BlockAlignmentToolbar;var xO=bO([gr,mr(iO)])(class extends hO{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.features,a=t.borderStyle,r=t.borderWidth,i=t.sectionAlignment,l=t.name,s=t.listType,c=t.orderListStyle,u=(t.color,t.descriptionLoadGoogleFonts),p=t.descriptionFontFamily,d=t.descriptionFontWeight,m=(e.isSelected,e.className),f=e.setAttributes;e.fallbackFontSize,e.fontSize,e.backgroundColor,e.textColor;let b;if(1==u){const e={google:{families:[p+(d?":"+d:"")]}};b=wp.element.createElement(Lr,{config:e})}let g="";g="ul"==s?l:"ol"==s?c:"";const h=o()([m,"blockspare-pirce-description"]);return wp.element.createElement(vO,null,wp.element.createElement(_O,null,wp.element.createElement(kO,{value:i,onChange:e=>{f({sectionAlignment:e})}})),wp.element.createElement(mO,this.props),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(wO,{tagName:"none"==s?"ul":s,multiline:"li",itemProp:"description",placeholder:fO("Add a product feature","blockspare"),keepPlaceholderOnFocus:!0,value:n,onChange:e=>f({features:e}),className:o()("blockspare-pricing-table-features",a,"blockspare-list-border-width-"+r,g)}))),b)}});wp.i18n.__;const SO=wp.element,EO=SO.Component,TO=(SO.Fragment,wp.compose.compose),CO=wp.blockEditor.RichText;var MO=TO(gr,mr(iO))(class extends EO{render(){const e=this.props,t=e.attributes,n=t.features,a=t.borderStyle,r=t.borderWidth,i=t.name,l=t.listType,s=t.orderListStyle,c=(t.color,e.className);let u="";u="ul"==l?i:"ol"==l?s:"";const p=o()([c,"blockspare-pirce-description"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(CO.Content,{tagName:"none"==l?"ul":l,multiline:"li",itemProp:"description",value:n,className:o()("blockspare-pricing-table-features",a,"blockspare-list-border-width-"+r,u)})))}}),OO=n(121);var LO=e=>{const t=e.attributes,n=t.sectionAlignment,a=(t.customFontSize,t.descriptionBacgroundColor),r=t.borderColor,i=t.paddingTop,o=t.paddingRight,l=t.paddingBottom,s=t.paddingLeft,c=t.color,u=t.descriptionFontSize,p=t.descriptionFontFamily,d=t.descriptionFontWeight,m=(t.descriptionFontSubset,t.descriptionFontSizeType),f=t.descriptionFontSizeMobile,b=t.descriptionFontSizeTablet,g=[];return g.push({".blockspare-list-wrap":{backgroundColor:a,borderColor:r||void 0,paddingTop:i?i+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:l?l+"px":void 0,paddingLeft:s?s+"px":void 0},".blockspare-pricing-table-features li":{textAlign:n,color:c||"#000",fontSize:u+m,fontFamily:p,fontWeight:d},".blockspare-pricing-table-features li:before":{fontSize:u+m},tablet:{".blockspare-pricing-table-features":{fontSize:b+m}},mobile:{"blockspare-pricing-table-features":{fontSize:f+m}}}),vr.a.all(g)};wp.i18n.__;const DO=wp.element,FO=DO.Component,PO=(DO.Fragment,wp.compose.compose),jO=wp.blockEditor.RichText;var NO=PO(gr,mr(LO))(class extends FO{render(){const e=this.props,t=e.attributes,n=t.features,a=t.borderStyle,r=t.borderWidth,i=t.name,l=t.listType,s=t.orderListStyle,c=(t.color,e.className);let u="";u="ul"==l?i:"ol"==l?s:"";const p=o()([c,"blockspare-pirce-description"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(jO.Content,{tagName:"none"==l?"ul":l,multiline:"li",itemProp:"description",value:n,className:o()("blockspare-pricing-table-features",a,"blockspare-list-border-width-"+r,u)})))}});function zO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function AO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zO(Object(n),!0).forEach((function(t){YO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function YO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const BO=wp.blockEditor,IO=BO.RichText,RO=BO.getFontSizeClass,HO=BO.getColorClassName;var WO=[{attributes:AO({},OO.attributes),save:function(e){const t=e.attributes,n=t.features,a=t.fontSize,r=t.sectionAlignment,i=t.customFontSize,l=t.backgroundColor,s=t.textColor,c=t.customBackgroundColor,u=(t.customTextColor,t.borderStyle),p=t.borderColor,d=t.borderWidth,m=t.paddingTop,f=t.paddingRight,b=t.paddingBottom,g=t.paddingLeft,h=t.name,v=t.listType,y=t.orderListStyle,w=t.color;let k="";k="ul"==v?h:"ol"==v?y:"";const _=RO(a),x=HO("color",s),S=HO("background-color",l),E=o()({"has-background":l||c,"blockspare-pricing-table-features":!0,[_]:_,[x]:x,[S]:S,[u]:u,["blockspare-list-border-width-"+d]:d,[k]:k}),T={textAlign:r,fontSize:_?void 0:i,backgroundColor:S?void 0:c,color:w||"#6d6d6d",borderColor:p||void 0,paddingTop:m?m+"px":void 0,paddingRight:f?f+"px":void 0,paddingBottom:b?b+"px":void 0,paddingLeft:g?g+"px":void 0};return wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(IO.Content,{tagName:"none"==v?"ul":v,itemProp:"description",value:n,className:E||void 0,style:T}))}},{attributes:AO({},OO.attributes),save:e=>wp.element.createElement(NO,e)}];const UO=wp.i18n.__,GO=wp.blocks.registerBlockType,VO=rO.name,qO=rO.category,$O=rO.attributes;GO(VO,{title:UO("Price Features","blockspare"),description:UO("Adds a product feature component with schema markup.","blockspare"),category:qO,icon:r.iconlist,attributes:$O,parent:["blockspare/blockspare-pricing-inner"],keywords:[UO("pricing table","blockspare"),UO("features","blockspare"),UO("shop","blockspare")],edit:xO,save:MO,deprecated:WO});var JO=n(14);const XO=wp.i18n.__,KO=wp.element.Component,QO=wp.compose.compose,ZO=wp.blockEditor,eL=ZO.InspectorControls,tL=ZO.withFontSizes,nL=ZO.withColors,aL=(ZO.PanelColorSettings,wp.components),rL=aL.withFallbackStyles,iL=aL.PanelBody,oL=aL.ToggleControl,lL=rL((e,t)=>{const n=t.attributes.backgroundColor,a=e.querySelector('[contenteditable="true"]'),r=a?getComputedStyle(a):null;return{fallbackBackgroundColor:n||!r?void 0:r.backgroundColor}});var sL=QO([lL,tL("fontSize"),nL("backgroundColor")])(class extends KO{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.buttonStyle,a=t.borderColor,r=t.borderBtnTextColor,i=t.buttonBackgroundColor,o=t.buttonTextColor,l=t.buttonSize,s=t.buttonShape,c=t.buttonTarget,u=t.paddingTop,p=t.paddingBottom,d=t.enableGradient,m=t.backgroundColor1,f=t.backgroundColor2,b=t.gradientAngle,g=t.colorLocation1,h=t.colorLocation2,v=t.btnFontWeight,y=t.btnBorderWidth,w=t.buttonHoverEffect,k=t.buttonFontSize,_=t.buttonFontFamily,x=t.buttonFontWeight,S=t.buttonFontSubset,E=t.buttonFontSizeType,T=t.buttonFontSizeMobile,C=t.buttonFontSizeTablet,M=t.buttonLoadGoogleFonts,O=e.attributes,L=e.setAttributes;e.backgroundColor,e.setBackgroundColor;return wp.element.createElement(eL,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(iL,{title:XO("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(_e,{enableButtonTarget:!1,buttonTarget:c,onChangeButtonTarget:e=>L({buttonTarget:!c}),enableGradient:d,onChangeGradient:e=>L({enableGradient:e}),enableButtonSize:!0,buttonSize:l,onChangeButtonSize:e=>L({buttonSize:e}),enableButtonShape:!0,buttonShape:s,onChangeButtonShape:e=>L({buttonShape:e}),buttonBackgroundColor:i,onChangeButtonColor:e=>L({buttonBackgroundColor:e}),buttonTextColor:o,onChangeButtonTextColor:e=>L({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:n,onChangeBorderStyle:e=>L({buttonStyle:e}),buttonHoverEffect:w,onchangeButtonHoverEffect:e=>L({buttonHoverEffect:e}),borderColor:a,onchangeBorderColor:e=>L({borderColor:e}),borderBtnTextColor:r,onChangeBorderBtnTextColor:e=>L({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:y,onchangebtnBorderWidth:e=>L({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:v,onchangeBtnFontWeight:e=>L({btnFontWeight:e})}),wp.element.createElement(iL,{title:XO("Typography Settings","blockspare")},wp.element.createElement(Ra,{label:XO("Button Fonts Settings"),attributes:O,setAttributes:L,loadGoogleFonts:{value:M,label:XO("buttonLoadGoogleFonts")},fontFamily:{value:_,label:XO("buttonFontFamily")},fontWeight:{value:x,label:XO("buttonFontWeight")},fontSubset:{value:S,label:XO("buttonFontSubset")},fontSizeType:{value:E,label:XO("buttonFontSizeType")},fontSize:{value:k,label:XO("buttonFontSize")},fontSizeMobile:{value:T,label:XO("buttonFontSizeMobile")},fontSizeTablet:{value:C,label:XO("buttonFontSizeTablet")},disableLineHeight:!0})),"none"===n&&wp.element.createElement(oL,{label:XO("Enable Gradient","blockspare"),checked:d,onChange:()=>this.props.setAttributes({enableGradient:!d})}),d&&"none"===n&&wp.element.createElement(iL,{title:XO("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Ce,{backgroundColor1:m,onChangeBackgroundColor1:e=>L({backgroundColor1:e}),backgroundColor2:f,onChangeBackgroundColor2:e=>L({backgroundColor2:e}),gradientAngle:b,onChangeGradientAngle:e=>L({gradientAngle:e}),colorLocation1:g,onChangeColorLocation1:e=>L({colorLocation1:e}),colorLocation2:h,onChangeColorLocation2:e=>L({colorLocation2:e})}))),wp.element.createElement(iL,{title:XO("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:u,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>L({paddingTop:e}),paddingEnableBottom:!0,paddingBottom:p,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>L({paddingBottom:e})}))))}});var cL=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.buttonStyle,s=t.enableGradient,c=t.backgroundColor1,u=t.backgroundColor2,p=t.gradientAngle,d=t.colorLocation1,m=t.colorLocation2,f=(t.btnFontWeight,t.btnBorderWidth),b=t.borderColor,g=t.buttonBackgroundColor,h=t.borderBtnTextColor,v=t.buttonTextColor,y=t.buttonFontSize,w=t.buttonFontFamily,k=t.buttonFontWeight,_=t.buttonFontSizeType,x=t.buttonFontSizeMobile,S=t.buttonFontSizeTablet,E=[];if(E.push({".blockspare-block-button":{textAlign:n},".blockspare-pricing-table-button":{paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),"none"===l)if(1==s){const e=p+"deg",t=d+"%",n=m+"%";E.push({".blockspare-block-button span":{color:v||"#fff",borderWidth:f+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${c||"#3B1A5B"} ${t},${u||"#8B249C"} ${n})`}})}else E.push({".blockspare-block-button span":{color:v||"#fff",borderWidth:f+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:g||"#3c1a5b"}});else E.push({".blockspare-block-button span":{color:h||"#404040",borderColor:b||"#3c1a5b",borderStyle:l,borderWidth:f+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return E.push({".blockspare-block-button span":{fontSize:y+_,fontFamily:w,fontWeight:k},tablet:{".blockspare-block-button span":{fontSize:S+_}},mobile:{".blockspare-block-button span":{fontSize:x+_}}}),vr.a.all(E)};const uL=wp.i18n.__,pL=wp.compose.compose,dL=wp.element,mL=dL.Component,fL=dL.Fragment,bL=wp.blockEditor,gL=bL.RichText,hL=bL.AlignmentToolbar,vL=bL.BlockControls,yL=bL.URLInput,wL=wp.components,kL=wL.IconButton,_L=wL.Dashicon;var xL=pL([gr,mr(cL)])(class extends mL{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.sectionAlignment,i=t.buttonSize,l=t.buttonShape,s=t.buttonHoverEffect,c=t.buttonLoadGoogleFonts,u=t.buttonFontFamily,p=t.buttonFontWeight,d=e.className,m=e.isSelected,f=(e.attributes,e.setAttributes);e.backgroundColor;let b;if(1==c){const e={google:{families:[u+(p?":"+p:"")]}};b=wp.element.createElement(Lr,{config:e})}const g=o()({"blockspare-pricing-table-button":!0}),h=o()([d,"blockspare-block-button-wrap"]);return[wp.element.createElement(fL,null,wp.element.createElement(vL,{key:"controls"},wp.element.createElement(hL,{value:r,onChange:e=>{f({sectionAlignment:e})}})),wp.element.createElement(sL,this.props),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:g||void 0},wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement("a",{href:"#"},wp.element.createElement(gL,{tagName:"span",placeholder:uL("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:""+n,allowedFormats:[],className:o()("blockspare-button",l,i,s),onChange:e=>f({buttonText:e})}))),m&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+r,onSubmit:e=>e.preventDefault()},wp.element.createElement(_L,{icon:"admin-links"}),wp.element.createElement(yL,{className:"button-url",value:a,onChange:e=>f({buttonUrl:e})}),wp.element.createElement(kL,{icon:"editor-break",label:uL("Apply","blockspare"),type:"submit"})))),b)]}});const SL=wp.blockEditor,EL=SL.RichText,TL=(SL.getColorClassName,wp.i18n.__,wp.compose.compose),CL=wp.element,ML=CL.Component;CL.Fragment;var OL=TL(gr,mr(cL))(class extends ML{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonSize,i=t.buttonShape,l=t.buttonTarget,s=t.buttonHoverEffect,c=(e.attributes,e.className),u=o()({"blockspare-pricing-table-button":!0}),p=o()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:u||void 0},wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",i,r,s)},wp.element.createElement(EL.Content,{tagName:"span",value:n})))))}});const LL=wp.element.Component;class DL extends LL{constructor(e){super(...arguments)}render(){return wp.element.createElement("div",{style:{textAlign:this.props.attributes.sectionAlignment},className:o()(this.props.className,"blockspare-block-button")},this.props.children)}}function FL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function PL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?FL(Object(n),!0).forEach((function(t){jL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NL=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=[];return l.push({".blockspare-block-button":{textAlign:n},".blockspare-button":PL({},Kr(e.attributes)),".blockspare-pricing-table-button":{paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),vr.a.all(l)};const zL=wp.blockEditor,AL=zL.RichText,YL=(zL.getColorClassName,wp.i18n.__,wp.compose.compose),BL=wp.element,IL=BL.Component;BL.Fragment;var RL=YL(gr,mr(NL))(class extends IL{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonSize,i=t.buttonShape,l=t.buttonTarget,s=t.buttonHoverEffect,c=(e.attributes,e.className),u=o()({"blockspare-pricing-table-button":!0}),p=o()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:u||void 0},wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",i,r,s)},wp.element.createElement(AL.Content,{value:n})))))}});function HL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function WL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?HL(Object(n),!0).forEach((function(t){UL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function UL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GL=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=[];return l.push({".blockspare-block-button":{textAlign:n},".blockspare-button":WL({},Xr(e.attributes)),".blockspare-pricing-table-button":{paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),vr.a.all(l)};const VL=wp.blockEditor,qL=VL.RichText,$L=(VL.getColorClassName,wp.i18n.__,wp.compose.compose),JL=wp.element,XL=JL.Component;JL.Fragment;var KL=$L(gr,mr(GL))(class extends XL{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonSize,i=t.buttonShape,l=t.buttonTarget,s=t.buttonHoverEffect,c=(e.attributes,e.className),u=o()({"blockspare-pricing-table-button":!0}),p=o()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:u||void 0},wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",i,r,s)},wp.element.createElement(qL.Content,{value:n})))))}});var QL=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.buttonStyle,s=t.enableGradient,c=t.backgroundColor1,u=t.backgroundColor2,p=t.gradientAngle,d=t.colorLocation1,m=t.colorLocation2,f=t.btnFontWeight,b=t.btnBorderWidth,g=t.borderColor,h=t.buttonBackgroundColor,v=t.borderBtnTextColor,y=t.buttonTextColor,w=[];if(w.push({".blockspare-block-button":{textAlign:n},".blockspare-pricing-table-button":{paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),"none"===l)if(1==s){const e=p+"deg",t=d+"%",n=m+"%";w.push({".blockspare-block-button span":{color:y||"#fff",fontWeight:f,borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${c||"#3B1A5B"} ${t},${u||"#8B249C"} ${n})`}})}else w.push({".blockspare-block-button span":{color:y||"#fff",fontWeight:f,borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:h||"#3c1a5b"}});else w.push({".blockspare-block-button span":{color:v||"#404040",borderColor:g||"#3c1a5b",borderStyle:l,fontWeight:f,borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return vr.a.all(w)};const ZL=wp.blockEditor,eD=ZL.RichText,tD=(ZL.getColorClassName,wp.i18n.__,wp.compose.compose),nD=wp.element,aD=nD.Component;nD.Fragment;var rD=tD(gr,mr(QL))(class extends aD{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonSize,i=t.buttonShape,l=t.buttonTarget,s=t.buttonHoverEffect,c=(e.attributes,e.className),u=o()({"blockspare-pricing-table-button":!0}),p=o()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:u||void 0},wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",i,r,s)},wp.element.createElement(eD.Content,{tagName:"span",value:n})))))}});function iD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function oD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iD(Object(n),!0).forEach((function(t){lD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const sD=wp.blockEditor,cD=sD.RichText,uD=sD.getColorClassName;var pD=[{attributes:oD({},JO.attributes,{},Jr),save:function(e){const t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=t.paddingTop,i=t.paddingRight,l=t.paddingBottom,s=t.paddingLeft,c=t.buttonText,u=t.buttonUrl,p=t.buttonSize,d=t.buttonShape,m=t.buttonTarget,f=t.buttonHoverEffect,b=uD("background-color",n),g=o()({"has-background":n||a,"blockspare-pricing-table-button":!0,[b]:b}),h=oD({},ou(e.attributes)),v={backgroundColor:b?void 0:a,paddingTop:r?r+"px":void 0,paddingRight:i?i+"px":void 0,paddingBottom:l?l+"px":void 0,paddingLeft:s?s+"px":void 0};return wp.element.createElement("div",{className:g||void 0,style:v},wp.element.createElement(DL,e,c&&wp.element.createElement("a",{href:u,target:m?"_blank":null,rel:m?"noopener noreferrer":null,className:o()("blockspare-button",d,p,f),style:h},wp.element.createElement(cD.Content,{value:c}))))}},{attributes:oD({},JO.attributes,{},Jr),save:e=>wp.element.createElement(KL,e)},{attributes:oD({},JO.attributes,{},Jr),save:e=>wp.element.createElement(RL,e)},{attributes:oD({},JO.attributes,{},Jr),save:e=>wp.element.createElement(rD,e)}];function dD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function mD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const fD=wp.i18n.__,bD=wp.blocks.registerBlockType,gD=wp.blockEditor,hD=(gD.RichText,gD.getColorClassName,JO.name),vD=JO.category,yD=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dD(Object(n),!0).forEach((function(t){mD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},JO.attributes,{},Jr);bD(hD,{title:fD("Button","blockspare"),description:fD("Add button with schema markup.","blockspare"),category:vD,icon:r.button,attributes:yD,parent:["blockspare/blockspare-pricing-inner"],keywords:[fD("pricing button","blockspare"),fD("button","blockspare"),fD("link","blockspare")],edit:xL,save:OL,deprecated:pD});n(617),n(618);var wD=n(44);const kD=wp.i18n.__,_D=wp.element,xD=_D.Component,SD=(_D.Fragment,wp.blockEditor),ED=SD.InspectorControls,TD=(SD.PanelColorSettings,wp.components),CD=TD.PanelBody,MD=TD.TextControl,OD=TD.SelectControl;class LD extends xD{render(){const e=this.props,t=e.attributes,n=e.setAttributes,a=(e.clients,kD(" Icon only","blockspare"),kD("Texts only","blockspare"),kD("Icon with Texts","blockspare"),kD(" Official","blockspare"),kD("Custom","blockspare"),[{value:"blockspare-social-icon-square",label:kD("Square","blockspare")},{value:"blockspare-social-icon-circle",label:kD("Circle","blockspare")},{value:"blockspare-social-icon-rounded",label:kD("Rounded Square","blockspare")}]),r=[{value:"blockspare-social-icon-small",label:kD("Small","blockspare")},{value:"blockspare-social-icon-medium",label:kD("Medium","blockspare")},{value:"blockspare-social-icon-large",label:kD("Large","blockspare")}];kD("Solid","blockspare"),kD("Border","blockspare"),kD("None","blockspare");return wp.element.createElement(ED,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(CD,{title:kD("Social Icon Option","blockspare"),initialOpen:!1},wp.element.createElement(OD,{label:kD("Shape","blockspare"),options:a,value:t.buttonShapes,onChange:e=>this.props.setAttributes({buttonShapes:e})}),wp.element.createElement(OD,{label:kD("Size","blockspare"),options:r,value:t.buttonSizes,onChange:e=>this.props.setAttributes({buttonSizes:e})})),wp.element.createElement(CD,{title:kD("Social Settings","blockspare"),className:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(CD,{title:kD("Facebook","blockspare"),initialOpen:!1},wp.element.createElement(MD,{label:kD("Title","blockspare"),type:"text",value:t.facebookTitle,onChange:e=>this.props.setAttributes({facebookTitle:e})}),wp.element.createElement(MD,{label:kD("URL","blockspare"),type:"url",value:t.facebookUrl,onChange:e=>this.props.setAttributes({facebookUrl:e})})),wp.element.createElement(CD,{title:kD("Twitter","blockspare"),initialOpen:!1},wp.element.createElement(MD,{label:kD("Title","blockspare"),type:"text",value:t.twitterTitle,onChange:e=>this.props.setAttributes({twitterTitle:e})}),wp.element.createElement(MD,{label:kD("URL","blockspare"),type:"url",value:t.twitterUrl,onChange:e=>this.props.setAttributes({twitterUrl:e})})),wp.element.createElement(CD,{title:kD("Instagram","blockspare"),initialOpen:!1},wp.element.createElement(MD,{label:kD("Title","blockspare"),type:"text",value:t.instagramTitle,onChange:e=>this.props.setAttributes({instagramTitle:e})}),wp.element.createElement(MD,{label:kD("URL","blockspare"),type:"url",value:t.instagramUrl,onChange:e=>this.props.setAttributes({instagramUrl:e})})),wp.element.createElement(CD,{title:kD("YouTube","blockspare"),initialOpen:!1},wp.element.createElement(MD,{label:kD("Title","blockspare"),type:"text",value:t.youtubeTitle,onChange:e=>this.props.setAttributes({youtubeTitle:e})}),wp.element.createElement(MD,{label:kD("URL","blockspare"),type:"url",value:t.youtubeUrl,onChange:e=>this.props.setAttributes({youtubeUrl:e})})),wp.element.createElement(CD,{title:kD("LinkedIn","blockspare"),initialOpen:!1},wp.element.createElement(MD,{label:kD("Title","blockspare"),type:"text",value:t.linkedinTitle,onChange:e=>this.props.setAttributes({linkedinTitle:e})}),wp.element.createElement(MD,{label:kD("URL","blockspare"),type:"url",value:t.linkedinUrl,onChange:e=>this.props.setAttributes({linkedinUrl:e})})),wp.element.createElement(CD,{title:kD("Pinterest","blockspare"),initialOpen:!1},wp.element.createElement(MD,{label:kD("Title","blockspare"),type:"text",value:t.pinterestTitle,onChange:e=>this.props.setAttributes({pinterestTitle:e})}),wp.element.createElement(MD,{label:kD("URL","blockspare"),type:"url",value:t.pinterestUrl,onChange:e=>this.props.setAttributes({pinterestUrl:e})}))),wp.element.createElement(CD,{title:kD("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(CD,{title:kD("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:t.marginTop,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>n({marginTop:e}),marginEnableBottom:!0,marginBottom:t.marginBottom,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>n({marginBottom:e})})))))}}var DD=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.customfontColorOption,i=t.custombackgroundColorOption,o=t.marginTop,l=t.marginBottom,s=[];return"blockspare-default-official-color"!=a&&s.push({".blockspare-social-links a span":{color:r,backgroundColor:i}}),s.push({".blockspare-social-wrapper":{textAlign:n,marginTop:o?o+"px":"0px",marginBottom:l?l+"px":"0px"}}),vr.a.all(s)};function FD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function PD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?FD(Object(n),!0).forEach((function(t){jD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ND=wp.element,zD=ND.Component,AD=ND.Fragment,YD=(wp.i18n.__,wp.compose.compose),BD=wp.blockEditor,ID=BD.BlockControls,RD=BD.AlignmentToolbar;var HD=YD(gr,mr(DD))(class extends zD{render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.buttonShapes,i=t.buttonSizes,l=t.buttonOptions,s=t.buttonFills,c=t.facebookUrl,u=t.facebookTitle,p=t.linkedinUrl,d=t.linkedinTitle,m=t.twitterUrl,f=t.twitterTitle,b=t.instagramUrl,g=t.instagramTitle,h=t.youtubeUrl,v=t.youtubeTitle,y=t.pinterestUrl,w=t.pinterestTitle,k=t.tumblrUrl,_=t.tumblrTitle,x=t.telegramUrl,S=t.telegramTitle,E=t.redditUrl,T=t.redditTitle,C=t.flickrUrl,M=t.flickrTitle,O=t.dribbbleUrl,L=t.dribbbleTitle,D=t.vkUrl,F=t.vkTitle,P=t.yelpUrl,j=t.yelpTitle,N=t.quoraUrl,z=t.quoraTitle,A=t.meetupUrl,Y=t.meetupTitle,B=t.githubUrl,I=t.githubTitle,R=e.className,H=(e.attributes,e.setAttributes),W=o()([R,"blockspare-socaillink-block"]);return[wp.element.createElement(AD,null,wp.element.createElement(LD,PD({setAttributes:H},this.props)),wp.element.createElement(ID,null,wp.element.createElement(RD,{value:n,onChange:e=>{H({sectionAlignment:e})}})),wp.element.createElement("div",{className:W},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks","blockspare-social-wrapper")},wp.element.createElement("div",{className:"blockspare-section-head-wrap"},wp.element.createElement("ul",{className:o()("blockspare-social-links",a,r,i,l,s)},c&&wp.element.createElement("li",null,wp.element.createElement("a",{href:c,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-facebook-f"})," ",wp.element.createElement("span",{className:"screen-reader-text"},u)))),p&&wp.element.createElement("li",null,wp.element.createElement("a",{href:p,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},d)))),m&&wp.element.createElement("li",null,wp.element.createElement("a",{href:m,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},f)))),b&&wp.element.createElement("li",null,wp.element.createElement("a",{href:b,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},g)))),h&&wp.element.createElement("li",null,wp.element.createElement("a",{href:h,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},v)))),y&&wp.element.createElement("li",null,wp.element.createElement("a",{href:y,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-pinterest"}),wp.element.createElement("span",{className:"screen-reader-text"},w)))),k&&wp.element.createElement("li",null,wp.element.createElement("a",{href:k,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-tumblr"}),wp.element.createElement("span",{className:"screen-reader-text"},_)))),x&&wp.element.createElement("li",null,wp.element.createElement("a",{href:x,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-telegram"}),wp.element.createElement("span",{className:"screen-reader-text"},S)))),E&&wp.element.createElement("li",null,wp.element.createElement("a",{href:E,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-reddit"}),wp.element.createElement("span",{className:"screen-reader-text"},T)))),C&&wp.element.createElement("li",null,wp.element.createElement("a",{href:C,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-flickr"}),wp.element.createElement("span",{className:"screen-reader-text"},M)))),O&&wp.element.createElement("li",null,wp.element.createElement("a",{href:O,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-dribbble"}),wp.element.createElement("span",{className:"screen-reader-text"},L)))),D&&wp.element.createElement("li",null,wp.element.createElement("a",{href:D,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-vk"}),wp.element.createElement("span",{className:"screen-reader-text"},F)))),P&&wp.element.createElement("li",null,wp.element.createElement("a",{href:P,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-yelp"}),wp.element.createElement("span",{className:"screen-reader-text"},j)))),N&&wp.element.createElement("li",null,wp.element.createElement("a",{href:N,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-quora"}),wp.element.createElement("span",{className:"screen-reader-text"},z)))),A&&wp.element.createElement("li",null,wp.element.createElement("a",{href:A,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-meetup"}),wp.element.createElement("span",{className:"screen-reader-text"},Y)))),B&&wp.element.createElement("li",null,wp.element.createElement("a",{href:B,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-github"}),wp.element.createElement("span",{className:"screen-reader-text"},I)))))))))]}});const WD=wp.element,UD=WD.Component,GD=(WD.Fragment,wp.i18n.__,wp.blockEditor);GD.BlockAlignmentToolbar,GD.BlockControls;class VD extends UD{constructor(e){super(...arguments)}render(){let e="";return e="blockspare-default-official-color"!=this.props.attributes.iconColorOption?{color:this.props.attributes.customfontColorOption,backgroundColor:this.props.attributes.custombackgroundColorOption}:{},wp.element.createElement("ul",{className:o()("blockspare-social-links",this.props.attributes.iconColorOption,this.props.attributes.buttonShapes,this.props.attributes.buttonSizes,this.props.attributes.buttonOptions,this.props.attributes.buttonFills)},this.props.attributes.facebookUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.facebookUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.facebookTitle))),this.props.attributes.linkedinUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.linkedinUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.linkedinTitle))),this.props.attributes.twitterUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.twitterUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.twitterTitle))),this.props.attributes.instagramUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.instagramUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.instagramTitle))),this.props.attributes.youtubeUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.youtubeUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.youtubeTitle))),this.props.attributes.pinterestUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.pinterestUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-pinterest"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.pinterestTitle))),this.props.attributes.tumblrUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.tumblrUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-tumblr"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.tumblrTitle))),this.props.attributes.telegramUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.telegramUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-telegram"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.telegramTitle))),this.props.attributes.redditUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.redditUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-reddit"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.redditTitle))),this.props.attributes.flickrUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.flickrUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-flickr"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.flickrTitle))),this.props.attributes.dribbbleUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.dribbbleUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-dribbble"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.dribbbleTitle))),this.props.attributes.vkUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.vkUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-vk"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.vkTitle))),this.props.attributes.yelpUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.yelpUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-yelp"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.yelpTitle))),this.props.attributes.quoraUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.quoraUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-quora"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.quoraTitle))),this.props.attributes.meetupUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.meetupUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-meetup"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.meetupTitle))),this.props.attributes.githubUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.githubUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-github"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.githubTitle))))}}const qD=wp.element.Component,$D=wp.compose.compose;var JD=$D(gr,mr(DD))(class extends qD{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.iconColorOption),a=t.buttonShapes,r=t.buttonSizes,i=t.buttonOptions,l=t.buttonFills,s=t.facebookUrl,c=t.facebookTitle,u=t.linkedinUrl,p=t.linkedinTitle,d=t.twitterUrl,m=t.twitterTitle,f=t.instagramUrl,b=t.instagramTitle,g=t.youtubeUrl,h=t.youtubeTitle,v=t.pinterestUrl,y=t.pinterestTitle,w=t.tumblrUrl,k=t.tumblrTitle,_=t.telegramUrl,x=t.telegramTitle,S=t.redditUrl,E=t.redditTitle,T=t.flickrUrl,C=t.flickrTitle,M=t.dribbbleUrl,O=t.dribbbleTitle,L=t.vkUrl,D=t.vkTitle,F=t.yelpUrl,P=t.yelpTitle,j=t.quoraUrl,N=t.quoraTitle,z=t.meetupUrl,A=t.meetupTitle,Y=t.githubUrl,B=t.githubTitle,I=e.className,R=(e.attributes,e.setAttributes,o()([I,"blockspare-socaillink-block"]));return wp.element.createElement("div",{className:R},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-social-wrapper"},wp.element.createElement("ul",{className:o()("blockspare-social-links",n,a,r,i,l)},s&&wp.element.createElement("li",null,wp.element.createElement("a",{href:s,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-facebook-f"})," ",wp.element.createElement("span",{className:"screen-reader-text"},c)))),u&&wp.element.createElement("li",null,wp.element.createElement("a",{href:u,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},p)))),d&&wp.element.createElement("li",null,wp.element.createElement("a",{href:d,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},m)))),f&&wp.element.createElement("li",null,wp.element.createElement("a",{href:f,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},b)))),g&&wp.element.createElement("li",null,wp.element.createElement("a",{href:g,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},h)))),v&&wp.element.createElement("li",null,wp.element.createElement("a",{href:v,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-pinterest"}),wp.element.createElement("span",{className:"screen-reader-text"},y)))),w&&wp.element.createElement("li",null,wp.element.createElement("a",{href:w,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-tumblr"}),wp.element.createElement("span",{className:"screen-reader-text"},k)))),_&&wp.element.createElement("li",null,wp.element.createElement("a",{href:_,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-telegram"}),wp.element.createElement("span",{className:"screen-reader-text"},x)))),S&&wp.element.createElement("li",null,wp.element.createElement("a",{href:S,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-reddit"}),wp.element.createElement("span",{className:"screen-reader-text"},E)))),T&&wp.element.createElement("li",null,wp.element.createElement("a",{href:T,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-flickr"}),wp.element.createElement("span",{className:"screen-reader-text"},C)))),M&&wp.element.createElement("li",null,wp.element.createElement("a",{href:M,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-dribbble"}),wp.element.createElement("span",{className:"screen-reader-text"},O)))),L&&wp.element.createElement("li",null,wp.element.createElement("a",{href:L,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-vk"}),wp.element.createElement("span",{className:"screen-reader-text"},D)))),F&&wp.element.createElement("li",null,wp.element.createElement("a",{href:F,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-yelp"}),wp.element.createElement("span",{className:"screen-reader-text"},P)))),j&&wp.element.createElement("li",null,wp.element.createElement("a",{href:j,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-quora"}),wp.element.createElement("span",{className:"screen-reader-text"},N)))),z&&wp.element.createElement("li",null,wp.element.createElement("a",{href:z,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-meetup"}),wp.element.createElement("span",{className:"screen-reader-text"},A)))),Y&&wp.element.createElement("li",null,wp.element.createElement("a",{href:Y,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-github"}),wp.element.createElement("span",{className:"screen-reader-text"},B)))))))}});const XD=wp.element.Component;class KD extends XD{constructor(){super(...arguments)}render(){return wp.element.createElement("div",{style:{textAlign:this.props.attributes.sectionAlignment},className:"blockspare-blocks blockspare-social-wrapper"},wp.element.createElement(VD,this.props))}}var QD=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.customfontColorOption,i=t.custombackgroundColorOption,o=[];return"blockspare-default-official-color"!=a&&o.push({".blockspare-social-links a":{color:r,backgroundColor:i}}),o.push({".blockspare-social-wrapper":{textAlign:n}}),vr.a.all(o)};const ZD=wp.element.Component,eF=wp.compose.compose;var tF=eF(gr,mr(QD))(class extends ZD{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.iconColorOption),a=t.buttonShapes,r=t.buttonSizes,i=t.buttonOptions,l=t.buttonFills,s=t.facebookUrl,c=t.facebookTitle,u=t.linkedinUrl,p=t.linkedinTitle,d=t.twitterUrl,m=t.twitterTitle,f=t.instagramUrl,b=t.instagramTitle,g=t.youtubeUrl,h=t.youtubeTitle,v=t.pinterestUrl,y=t.pinterestTitle,w=t.tumblrUrl,k=t.tumblrTitle,_=t.telegramUrl,x=t.telegramTitle,S=t.redditUrl,E=t.redditTitle,T=t.flickrUrl,C=t.flickrTitle,M=t.dribbbleUrl,O=t.dribbbleTitle,L=t.vkUrl,D=t.vkTitle,F=t.yelpUrl,P=t.yelpTitle,j=t.quoraUrl,N=t.quoraTitle,z=t.meetupUrl,A=t.meetupTitle,Y=t.githubUrl,B=t.githubTitle,I=e.className,R=(e.attributes,e.setAttributes,o()([I,"blockspare-socaillink-block"]));return wp.element.createElement("div",{className:R},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-social-wrapper"},wp.element.createElement("ul",{className:o()("blockspare-social-links",n,a,r,i,l)},s&&wp.element.createElement("li",null,wp.element.createElement("a",{href:s,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},c))),u&&wp.element.createElement("li",null,wp.element.createElement("a",{href:u,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},p))),d&&wp.element.createElement("li",null,wp.element.createElement("a",{href:d,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},m))),f&&wp.element.createElement("li",null,wp.element.createElement("a",{href:f,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},b))),g&&wp.element.createElement("li",null,wp.element.createElement("a",{href:g,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},h))),v&&wp.element.createElement("li",null,wp.element.createElement("a",{href:v,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-pinterest"}),wp.element.createElement("span",{className:"screen-reader-text"},y))),w&&wp.element.createElement("li",null,wp.element.createElement("a",{href:w,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-tumblr"}),wp.element.createElement("span",{className:"screen-reader-text"},k))),_&&wp.element.createElement("li",null,wp.element.createElement("a",{href:_,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-telegram"}),wp.element.createElement("span",{className:"screen-reader-text"},x))),S&&wp.element.createElement("li",null,wp.element.createElement("a",{href:S,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-reddit"}),wp.element.createElement("span",{className:"screen-reader-text"},E))),T&&wp.element.createElement("li",null,wp.element.createElement("a",{href:T,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-flickr"}),wp.element.createElement("span",{className:"screen-reader-text"},C))),M&&wp.element.createElement("li",null,wp.element.createElement("a",{href:M,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-dribbble"}),wp.element.createElement("span",{className:"screen-reader-text"},O))),L&&wp.element.createElement("li",null,wp.element.createElement("a",{href:L,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-vk"}),wp.element.createElement("span",{className:"screen-reader-text"},D))),F&&wp.element.createElement("li",null,wp.element.createElement("a",{href:F,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-yelp"}),wp.element.createElement("span",{className:"screen-reader-text"},P))),j&&wp.element.createElement("li",null,wp.element.createElement("a",{href:j,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-quora"}),wp.element.createElement("span",{className:"screen-reader-text"},N))),z&&wp.element.createElement("li",null,wp.element.createElement("a",{href:z,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-meetup"}),wp.element.createElement("span",{className:"screen-reader-text"},A))),Y&&wp.element.createElement("li",null,wp.element.createElement("a",{href:Y,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-github"}),wp.element.createElement("span",{className:"screen-reader-text"},B))))))}});function nF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function aF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const rF=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nF(Object(n),!0).forEach((function(t){aF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},wD.attributes);var iF=[{attributes:rF,save:e=>wp.element.createElement(KD,e)},{attributes:rF,save:e=>wp.element.createElement(tF,e)}];const oF=wp.blocks.registerBlockType,lF=wD.name,sF=wD.category,cF=wD.attributes,uF=wp.i18n.__;oF(lF,{title:uF("BS Social Links","blockspare"),category:sF,icon:r.sociallinks,attributes:cF,keywords:[uF("block","blockspare"),uF("social","blockspare"),uF("links","blockspare"),uF("share","blockspare")],example:{attributes:{facebookUrl:"https://facebook.com",twitterUrl:"https://twitter.com",linkedinUrl:"https://www.linkedin.com/",instagramUrl:"https://instagram.com"}},edit:HD,save:JD,deprecated:iF});const pF=wp.i18n.__,dF=wp.element.Component,mF=wp.blockEditor,fF=mF.InspectorControls,bF=(mF.PanelColorSettings,wp.components),gF=bF.PanelBody,hF=bF.SelectControl,vF=bF.ToggleControl,yF=bF.TextControl;class wF extends dF{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=e.setAttributes,a=(e.clients,pF(" Icon only","blockspare"),pF("Texts only","blockspare"),pF("Icon with Texts","blockspare"),pF(" Official","blockspare"),pF("Custom","blockspare"),[{value:"blockspare-social-icon-square",label:pF("Square","blockspare")},{value:"blockspare-social-icon-circle",label:pF("Circle","blockspare")},{value:"blockspare-social-icon-rounded",label:pF("Rounded Square","blockspare")}]),r=[{value:"blockspare-social-icon-small",label:pF("Small","blockspare")},{value:"blockspare-social-icon-medium",label:pF("Medium","blockspare")},{value:"blockspare-social-icon-large",label:pF("Large","blockspare")}];pF("Solid","blockspare"),pF("Border","blockspare"),pF("None","blockspare");return wp.element.createElement(fF,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(gF,{title:pF("Social Icon Option","blockspare"),initialOpen:!1},wp.element.createElement(hF,{label:pF("Shape","blockspare"),options:a,value:t.buttonShapes,onChange:e=>this.props.setAttributes({buttonShapes:e})}),wp.element.createElement(hF,{label:pF("Size","blockspare"),options:r,value:t.buttonSizes,onChange:e=>this.props.setAttributes({buttonSizes:e})})),wp.element.createElement(gF,{title:pF("Social Sharing Settings","blockspare"),initialOpen:!1},wp.element.createElement(gF,{title:pF("Facebook","blockspare"),initialOpen:!1},wp.element.createElement(vF,{label:pF("Enable","blockspare"),checked:!!this.props.attributes.facebook,onChange:()=>this.props.setAttributes({facebook:!this.props.attributes.facebook})}),this.props.attributes.facebook&&wp.element.createElement(yF,{label:pF("Title","blockspare"),type:"text",value:t.facebookTitle,onChange:e=>this.props.setAttributes({facebookTitle:e})})),wp.element.createElement(gF,{title:pF("Twitter","blockspare"),initialOpen:!1},wp.element.createElement(vF,{label:pF("Enable","blockspare"),checked:!!this.props.attributes.twitter,onChange:()=>this.props.setAttributes({twitter:!this.props.attributes.twitter})}),this.props.attributes.twitter&&wp.element.createElement(yF,{label:pF("Title","blockspare"),type:"text",value:t.twitterTitle,onChange:e=>this.props.setAttributes({twitterTitle:e})})),wp.element.createElement(gF,{title:pF("Pinterest","blockspare"),initialOpen:!1},wp.element.createElement(vF,{label:pF("Enable","blockspare"),checked:!!this.props.attributes.pinterest,onChange:()=>this.props.setAttributes({pinterest:!this.props.attributes.pinterest})}),this.props.attributes.pinterest&&wp.element.createElement(yF,{label:pF("Title","blockspare"),type:"text",value:t.pinterestTitle,onChange:e=>this.props.setAttributes({pinterestTitle:e})})),wp.element.createElement(gF,{title:pF("LinkedIn","blockspare"),initialOpen:!1},wp.element.createElement(vF,{label:pF("Enable","blockspare"),checked:!!this.props.attributes.linkedin,onChange:()=>this.props.setAttributes({linkedin:!this.props.attributes.linkedin})}),this.props.attributes.linkedin&&wp.element.createElement(yF,{label:pF("Title","blockspare"),type:"text",value:t.linkedinTitle,onChange:e=>this.props.setAttributes({linkedinTitle:e})}))),wp.element.createElement(gF,{title:pF("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(gF,{title:pF("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:t.marginTop,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>n({marginTop:e}),marginEnableBottom:!0,marginBottom:t.marginBottom,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>n({marginBottom:e})})))))}}var kF=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.customfontColorOption,i=t.custombackgroundColorOption,o=t.marginTop,l=t.marginBottom,s=[];return"blockspare-default-official-color"!=a&&s.push({".blockspare-social-sharing a span":{color:r,backgroundColor:i}}),s.push({".blockspare-social-wrapper":{textAlign:n,marginTop:o?o+"px":"0px",marginBottom:l?l+"px":"0px"}}),vr.a.all(s)};wp.i18n.__;const _F=wp.element.Component,xF=wp.compose.compose,SF=wp.blockEditor,EF=SF.AlignmentToolbar,TF=SF.BlockControls;var CF=xF(gr,mr(kF))(class extends _F{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.buttonShapes,i=t.buttonSizes,l=t.buttonOptions,s=t.buttonFills,c=t.facebook,u=t.facebookTitle,p=t.twitter,d=t.twitterTitle,m=t.pinterest,f=t.pinterestTitle,b=t.linkedin,g=t.linkedinTitle,h=t.reddit,v=t.redditTitle,y=t.email,w=t.emailTitle,k=e.className,_=(e.attributes,o()([k]));return[wp.element.createElement(TF,{key:"controls"},wp.element.createElement(EF,{value:n,onChange:e=>this.props.setAttributes({sectionAlignment:e})})),wp.element.createElement(wF,this.props),wp.element.createElement("div",{className:_},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-social-wrapper"},wp.element.createElement("ul",{className:o()("blockspare-social-sharing",a,r,i,l,s)},c&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-facebook"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"blockspare-social-text"},u)))),p&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-twitter"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"blockspare-social-text"},d)))),m&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-pinterest"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-pinterest-p"}),wp.element.createElement("span",{className:"blockspare-social-text"},f)))),b&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-linkedin"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"blockspare-social-text"},g)))),h&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-reddit"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-reddit-alien"}),wp.element.createElement("span",{className:"blockspare-social-text"},v)))),y&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-email"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fas fa-envelope"}),wp.element.createElement("span",{className:"blockspare-social-text"},w)))))))]}});n(619),n(620);const MF=wp.i18n.__;(0,wp.blocks.registerBlockType)("blockspare/blockspare-social-sharing",{title:MF("BS Social Sharing","blockspare"),description:MF("Add sharing buttons to your posts and pages.","blockspare"),icon:r.socialShare,category:"blockspare",keywords:[MF("block","blockspare"),MF("social","blockspare"),MF("links","blockspare"),MF("share","blockspare")],example:{attributes:{facebook:!0,twitter:!0,linkedin:!0}},edit:e=>wp.element.createElement(CF,e),save:()=>null});n(621),n(622);var OF=n(122);var LF=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.headerpaddingTop,m=t.headerpaddingRight,f=t.headerpaddingBottom,b=t.headerpaddingLeft,g=t.headermarginTop,h=t.headermarginBottom,v=(t.titleLoadGoogleFonts,t.titleFontFamily),y=t.titleFontWeight,w=(t.titleFontSubset,t.titleFontSizeType),k=t.titleFontSizeMobile,_=t.titleFontSizeTablet,x=t.subTitleFontSize,S=(t.subTitleLoadGoogleFonts,t.subTitleFontFamily),E=t.subTitleFontWeight,T=(t.subTitleFontSubset,t.subTitleFontSizeType),C=t.subTitleFontSizeMobile,M=t.subTitleFontSizeTablet,O=[];return O.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:d+"px",paddingRight:m+"px",paddingBottom:f+"px",marginTop:g+"px",marginBottom:h+"px",paddingLeft:b+"px"}}),O.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+w,fontFamily:v,fontWeight:y,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:x+T,fontFamily:S,fontWeight:E,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:_+w},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:M+T}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:k+w},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:C+T}}}),vr.a.all(O)};const DF=wp.i18n.__,FF=wp.element.Component,PF=wp.blockEditor.InspectorControls,jF=wp.components,NF=jF.PanelBody;jF.SelectControl;class zF extends FF{render(){const e=this.props,t=e.attributes,n=t.titleFontSize,a=t.headerboxColor,r=t.headertitleColor,i=t.headersubtitleColor,o=t.headerpaddingTop,l=t.headerpaddingRight,s=t.headerpaddingBottom,c=t.headerpaddingLeft,u=t.headermarginTop,p=t.headermarginBottom,d=t.headerlayoutOption,m=t.headerTagOption,f=t.titlePaddingTop,b=t.titlePaddingBottom,g=t.subtitlePaddingTop,h=t.subtitlePaddingBottom,v=t.dashColor,y=t.titleLoadGoogleFonts,w=t.titleFontFamily,k=t.titleFontWeight,_=t.titleFontSubset,x=t.titleFontSizeType,S=t.titleFontSizeMobile,E=t.titleFontSizeTablet,T=t.subTitleFontSize,C=t.subTitleLoadGoogleFonts,M=t.subTitleFontFamily,O=t.subTitleFontWeight,L=t.subTitleFontSubset,D=t.subTitleFontSizeType,F=t.subTitleFontSizeMobile,P=t.subTitleFontSizeTablet,j=e.attributes,N=e.setAttributes;DF("Layout 1","blockspare"),DF("Layout 2","blockspare"),DF("Layout 3","blockspare");return wp.element.createElement(PF,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(tc,{headerlayoutOption:d,onChangeHeaderLayput:e=>N({headerlayoutOption:e})}),wp.element.createElement(NF,{title:DF("Typography Settings","blockspare")},wp.element.createElement(Ps,{label:DF("Title Fonts Settings"),attributes:j,setAttributes:N,loadGoogleFonts:{value:y,label:DF("titleLoadGoogleFonts")},fontFamily:{value:w,label:DF("titleFontFamily")},fontWeight:{value:k,label:DF("titleFontWeight")},fontSubset:{value:_,label:DF("titleFontSubset")},fontSizeType:{value:x,label:DF("titleFontSizeType")},fontSize:{value:n,label:DF("titleFontSize")},fontSizeMobile:{value:S,label:DF("titleFontSizeMobile")},fontSizeTablet:{value:E,label:DF("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:m}),wp.element.createElement(Ps,{label:DF("Subtitle Fonts Settings"),attributes:j,setAttributes:N,loadGoogleFonts:{value:C,label:DF("subTitleLoadGoogleFonts")},fontFamily:{value:M,label:DF("subTitleFontFamily")},fontWeight:{value:O,label:DF("subTitleFontWeight")},fontSubset:{value:L,label:DF("subTitleFontSubset")},fontSizeType:{value:D,label:DF("subTitleFontSizeType")},fontSize:{value:T,label:DF("subTitleFontSize")},fontSizeMobile:{value:F,label:DF("subTitleFontSizeMobile")},fontSizeTablet:{value:P,label:DF("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),wp.element.createElement(Fi,{enableBlockGaps:!0,headerboxColor:a,onChangeboxcolor:e=>N({headerboxColor:e}),dashColor:v,headerlayoutOption:d,onChangeDashColor:e=>N({dashColor:e}),headerpaddingTop:o,onChangeheaderpaddingTop:e=>N({headerpaddingTop:e}),headerpaddingRight:l,onChangeheaderpaddingRight:e=>N({headerpaddingRight:e}),headerpaddingBottom:s,onChangeheaderpaddingBottom:e=>N({headerpaddingBottom:e}),headerpaddingLeft:c,onChangeheaderpaddingLeft:e=>N({headerpaddingLeft:e}),headermarginTop:u,onChangeheadermarginTop:e=>N({headermarginTop:e}),headermarginBottom:p,onChangeheadermarginBottom:e=>N({headermarginBottom:e}),headertitleColor:r,onChangetitlecolor:e=>N({headertitleColor:e}),headerTagOption:m,onChangeHeaderTag:e=>N({headerTagOption:e}),titlePaddingTop:f,onChangetitlePaddingTop:e=>N({titlePaddingTop:e}),titlePaddingBottom:b,onChangetitlePaddingBottom:e=>N({titlePaddingBottom:e}),headersubtitleColor:i,onChangesubtitlecolor:e=>N({headersubtitleColor:e}),subtitlePaddingTop:g,onChangesubtitlePaddingTop:e=>N({subtitlePaddingTop:e}),subtitlePaddingBottom:h,onChangesubtitlePaddingBottom:e=>N({subtitlePaddingBottom:e})})))}}function AF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function YF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?AF(Object(n),!0).forEach((function(t){BF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function BF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const IF=wp.element,RF=IF.Component,HF=IF.Fragment,WF=(wp.i18n.__,wp.blockEditor),UF=WF.BlockControls,GF=(WF.RichText,WF.BlockAlignmentToolbar,WF.AlignmentToolbar),VF=wp.components,qF=(VF.IconButton,VF.Dashicon,wp.compose.compose);var $F=qF(gr,mr(LF))(class extends RF{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTitle,i=t.headerTagOption,l=t.headerSubTitle,s=t.headerlayoutOption,c=t.titleLoadGoogleFonts,u=t.titleFontFamily,p=t.titleFontWeight,d=t.subTitleLoadGoogleFonts,m=t.subTitleFontFamily,f=t.subTitleFontWeight,b=e.className,g=(e.attributes,e.setAttributes),h=(e.isSelected,o()([b,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return[wp.element.createElement(HF,null,wp.element.createElement(UF,null,wp.element.createElement(GF,{value:a,onChange:e=>{g({sectionAlignment:e})}})),wp.element.createElement(zF,YF({setAttributes:g},this.props)),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(wc,{setAttributes:g,headerTitle:r,headerTagOption:i,headerSubTitle:l,titleFontFamily:u,titleFontWeight:p,titleLoadGoogleFonts:c,subTitleLoadGoogleFonts:d,subTitleFontFamily:m,subTitleFontWeight:f}))))]}});function JF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function XF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__,wp.blockEditor.RichText;const KF=wp.compose.compose,QF=wp.element,ZF=QF.Component;QF.Fragment;var eP=KF(gr,mr(LF))(class extends ZF{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTitle,i=t.headerTagOption,l=t.headerSubTitle,s=t.headerlayoutOption,c=e.className,u=e.attributes,p=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JF(Object(n),!0).forEach((function(t){XF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}}({},pu(u)),o()([c,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(Xc,{headerTitle:r,headerTagOption:i,headerSubTitle:l})))}});function tP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function nP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tP(Object(n),!0).forEach((function(t){aP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function aP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const rP=wp.editor,iP=rP.RichText;rP.getFontSizeClass,rP.getColorClassName;var oP=[{attributes:nP({},xi,{},Si),save:function(e){const t=e.attributes,n=(t.align,t.headerTitle),a=t.headerTagOption,r=t.headerSubTitle,i=nP({},au(e.attributes)),o=nP({},ru(e.attributes)),l=nP({},iu(e.attributes));return wp.element.createElement(bu,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:i}),n&&wp.element.createElement(iP.Content,{tagName:a,className:"blockspare-title",style:o,value:n}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:i})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:i}),r&&wp.element.createElement(iP.Content,{tagName:"p",className:"blockspare-subtitle",style:l,value:r}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:i})))}}];function lP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function sP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const cP=wp.blocks.registerBlockType,uP=wp.i18n.__,pP=OF.name,dP=OF.category,mP=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lP(Object(n),!0).forEach((function(t){sP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},xi,{},Si);cP(pP,{title:uP("Section Header","blockspare"),description:uP("Add your Your Header ","blockspare"),category:dP,icon:r.sectionHeader,attributes:mP,keywords:[uP("block","blockspare"),uP("section","blockspare"),uP("header","blockspare"),uP("title","blockspare"),uP("subtitle","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:$F,save:eP,deprecated:oP});var fP=n(85);const bP=wp.i18n.__,gP=wp.element.Component,hP=wp.blockEditor.InspectorControls,vP=wp.components,yP=(vP.Toolbar,vP.Button,vP.PanelBody),wP=(vP.PanelRow,vP.RangeControl);class kP extends gP{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.serviceItems,t.columns),a=t.columnsGap,r=t.marginTop,i=t.marginBottom,o=(e.isSelected,e.className,e.setAttributes);return wp.element.createElement(hP,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(yP,{title:bP("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(wP,{label:bP("Number of Columns","blockspare"),value:n,onChange:e=>this.props.setAttributes({columns:e}),min:1,max:3}),wp.element.createElement(wP,{label:bP("Column Gaps","blockspare"),value:a,onChange:e=>this.props.setAttributes({columnsGap:e}),min:0,max:4,step:1})),wp.element.createElement(yP,{title:bP("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:r,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>o({marginTop:e}),marginEnableBottom:!0,marginBottom:i,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>o({marginBottom:e})}))))}}n(623),n(624);var _P=n(123);const xP=wp.i18n.__,SP=wp.element.Component,EP=wp.blockEditor,TP=EP.InspectorControls,CP=(EP.BlockDescription,EP.PanelColorSettings),MP=wp.components,OP=(MP.ToggleControl,MP.PanelBody),LP=(MP.FormToggle,MP.RangeControl);class DP extends SP{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.borderWidth,a=t.borderColor,r=(t.borderRadius,t.backgroundColor),i=t.padding,o=(t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.marginTop),l=t.marginBottom,s=(e.isSelected,e.className,e.setAttributes);return wp.element.createElement(TP,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(OP,{title:xP("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(LP,{label:xP("Service Column Padding","blockspare"),value:i,onChange:e=>this.props.setAttributes({padding:e}),min:0,max:20,initialPosition:5,step:1}),wp.element.createElement(LP,{label:xP("Service Column Border","blockspare"),value:n,onChange:e=>this.props.setAttributes({borderWidth:e}),min:0,max:10,step:1})),wp.element.createElement(OP,{title:xP("Color Settings","blockspare"),initialOpen:!1},0<n&&wp.element.createElement(CP,{title:xP("Border Color","blockspare"),initialOpen:!1,colorSettings:[{value:a,onChange:e=>s({borderColor:e}),label:xP("Border Color","blockspare")}]}),wp.element.createElement(CP,{title:xP("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:r,onChange:e=>s({backgroundColor:e}),label:xP("Background Color","blockspare")}]})),wp.element.createElement(OP,{title:xP("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:o,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>s({marginTop:e}),marginEnableBottom:!0,marginBottom:l,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>s({marginBottom:e})}))))}}function FP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function PP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?FP(Object(n),!0).forEach((function(t){jP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NP=e=>{const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,i=t.backgroundColor,o=t.padding,l=[];return l.push({".blockspare-block-service-table-inside":PP({},kc(e.attributes),{borderWidth:n?n+"px":null,borderStyle:0<n?"solid":null,borderColor:a||null,borderRadius:r||null,backgroundColor:i||null,padding:o?o+"px":"5px"})}),vr.a.all(l)};wp.i18n.__;const zP=wp.element,AP=zP.Component,YP=zP.Fragment,BP=wp.compose.compose,IP=wp.blockEditor,RP=IP.InnerBlocks,HP=(IP.AlignmentToolbar,IP.BlockControls,["blockspare/blockspare-iconset","blockspare/blockspare-services-inner-title","blockspare/blockspare-services-inner-description","blockspare/blockspare-service-inner-button"]);var WP=BP(gr,mr(NP))(class extends AP{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.padding,t.alignment),a=(e.attributes,e.className);e.setAttributes;return wp.element.createElement(YP,null,wp.element.createElement(DP,this.props),wp.element.createElement("div",{className:o()(a,n?"blockspare-block-service-table-"+n:"blockspare-block-service-table-center","blockspare-block-service-table"),itemScope:!0,itemType:"http://schema.org/Product"},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-service-table-inside")},wp.element.createElement(RP,{template:[["blockspare/blockspare-iconset",{}],["blockspare/blockspare-services-inner-title",{headerTitle:"Service Title",headerSubTitle:"Add your services text",titlePaddingTop:5,titlePaddingBottom:5,subtitlePaddingTop:5,subtitlePaddingBottom:5}],["blockspare/blockspare-services-inner-description",{features:"Aspernatur morbi sit cursus mauris aspernatur! Quos tortor. Ea montes anim.",tagName:"p",ordered:!1,customFontSize:18,paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}],["blockspare/blockspare-service-inner-button",{buttonText:"Get Started",paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}]],renderAppender:!1,allowedBlocks:HP}))))}});wp.i18n.__;const UP=wp.element,GP=UP.Component,VP=(UP.Fragment,wp.compose.compose),qP=wp.blockEditor.InnerBlocks;var $P=VP(gr,mr(NP))(class extends GP{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.alignment),a=(t.padding,t.marginTop,t.marginBottom,e.className);e.attributes;return wp.element.createElement("div",{className:o()(a,"blockspare-blocks",n?"blockspare-block-service-table-"+n:"blockspare-block-service-table-center","blockspare-block-service-table")},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-service-table-inside")},wp.element.createElement(qP.Content,null)))}});function JP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function XP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JP(Object(n),!0).forEach((function(t){KP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function KP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var QP=e=>{const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,i=t.backgroundColor,o=t.padding,l=[];return l.push({".blockspare-block-service-table-inside":XP({},kc(e.attributes),{borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:a||null,borderRadius:r||null,backgroundColor:i||null,padding:o?o+"px":"5px"})}),vr.a.all(l)};wp.i18n.__;const ZP=wp.element,ej=ZP.Component,tj=(ZP.Fragment,wp.compose.compose),nj=wp.blockEditor.InnerBlocks;var aj=tj(gr,mr(QP))(class extends ej{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.alignment),a=(t.padding,t.marginTop,t.marginBottom,e.className);e.attributes;return wp.element.createElement("div",{className:o()(a,"blockspare-blocks blockspare-service-block-wrapper",n?"blockspare-block-service-table-"+n:"blockspare-block-service-table-center","blockspare-block-service-table")},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-service-table-inside")},wp.element.createElement(nj.Content,null)))}});function rj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ij(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const oj=wp.blockEditor.InnerBlocks;var lj=[{attributes:{borderWidth:{type:"number",default:1},borderColor:{type:"string",default:"#ececec"},borderRadius:{type:"number",default:0},backgroundColor:{type:"string",default:"#fff"},alignment:{type:"string"},padding:{type:"number",default:0}},save:function(e){const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,i=t.backgroundColor,l=t.alignment,s=t.padding,c=(t.marginTop,t.marginBottom,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rj(Object(n),!0).forEach((function(t){ij(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rj(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},kc(e.attributes),{borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:a||null,borderRadius:r||null,backgroundColor:i||null,padding:s?s+"%":null}));return wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-service-block-wrapper",l?"blockspare-block-service-table-"+l:"blockspare-block-service-table-center","blockspare-block-service-table")},wp.element.createElement("div",{className:o()("blockspare-block-service-table-inside"),style:c},wp.element.createElement(oj.Content,null)))}},{attributes:{borderWidth:{type:"number",default:1},borderColor:{type:"string",default:"#ececec"},borderRadius:{type:"number",default:0},backgroundColor:{type:"string",default:"#fff"},alignment:{type:"string"},padding:{type:"number",default:0},uniqueClass:{type:"string",default:""}},save:e=>wp.element.createElement(aj,e)}];function sj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function cj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const uj=wp.i18n.__,pj=wp.blocks.registerBlockType,dj=_P.category,mj=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sj(Object(n),!0).forEach((function(t){cj(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sj(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},_P.attributes,{},Si),fj={title:uj("Service Inner Section","blockspare"),description:uj("Add a service column.","blockspare"),icon:r.services,category:dj,parent:["blockspare/blockspare-services"],keywords:[uj("service","blockspare"),uj("shop","blockspare"),uj("buy","blockspare")],attributes:mj,edit:WP,save:$P,deprecated:lj};pj("blockspare/blockspare-services-inner",fj);var bj=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=[];return r.push({".blockspare-service-block-wrapper":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0}}),vr.a.all(r)};function gj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function hj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const vj=wp.element,yj=vj.Component,wj=vj.Fragment,kj=(wp.components.IconButton,wp.blocks.createBlock),_j=wp.data,xj=_j.withSelect,Sj=_j.withDispatch,Ej=wp.blockEditor,Tj=Ej.InnerBlocks,Cj=(Ej.InspectorControls,Ej.BlockControls),Mj=Ej.BlockAlignmentToolbar,Oj=wp.compose.compose;var Lj=Oj([xj((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,i=a.isBlockSelected,o=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:i(n)||o(n,!0)}}),Sj(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}}),gr,mr(bj)])(class extends yj{constructor(...e){super(...e),hj(this,"getServiceTemplate",e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++)t.push(["blockspare/blockspare-services-inner",{}]);return t})}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertServiceItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=fj.heading;e=Object.assign({},{},{itemNumber:t,heading:n,active:!1,defaultText:""})}else e=fj;a(kj("blockspare/blockspare-services-inner",e),void 0,n)}render(){const e=this.props,t=e.attributes,n=(e.isSelectedBlockInRoot,e.attributes),a=(n.uniqueId,n.columns),r=n.columnsGap,i=(n.marginTop,n.marginBottom,n.align),l=e.className,s=(e.isSelected,e.setAttributes),c=o()(["blockspare-service-columns-"+a]),u=o()([void 0===i?"":l,"blockspare-main-blockwrapper"]);return wp.element.createElement(wj,null,wp.element.createElement(kP,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gj(Object(n),!0).forEach((function(t){hj(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gj(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:s},this.props)),wp.element.createElement(Cj,{key:"controls"},wp.element.createElement(Mj,{value:i,onChange:e=>s({align:e}),controls:["center","wide","full"]})),wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-service-block-wrapper"},wp.element.createElement("div",{className:c},wp.element.createElement("div",{className:o()("blockspare-service-section-admin","blockspare-service-section-gap-"+r)},wp.element.createElement(Tj,{template:this.getServiceTemplate(t),allowedBlocks:["blockspare/blockspare-services-inner"],renderAppender:!1}))))))}});wp.i18n.__;const Dj=wp.element.Component,Fj=wp.compose.compose,Pj=wp.blockEditor.InnerBlocks;var jj=Fj(gr,mr(bj))(class extends Dj{render(){const e=this.props,t=e.attributes,n=t.columns,a=t.columnsGap,r=t.align,i=(t.marginTop,t.marginBottom,e.className),l=o()(["blockspare-service-table-wrap","blockspare-block-service-table-gap-"+a]),s=o()(["blockspare-service-columns-"+n]);let c="align"+r;void 0===r&&(c="alignwide");const u=o()([i,c,"blockspare-main-blockwrapper"]);return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-service-block-wrapper","blockspare-section-header-wrapper")},wp.element.createElement("div",{className:s},wp.element.createElement("div",{className:l||void 0},wp.element.createElement(Pj.Content,null)))))}});const Nj=wp.element.Component;class zj extends Nj{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=e.columns,n=(e.columnsGap,e.align),a=o()([this.props.className,"blockspare-service-columns-"+t],{["align"+n]:n});return wp.element.createElement("div",{className:a||void 0},this.props.children)}}wp.i18n.__;const Aj=wp.blockEditor.InnerBlocks;var Yj=[{attributes:{serviceItems:{type:"number",default:2},columns:{type:"number",default:2},columnsGap:{type:"number",default:1},align:{type:"string"},defaultItems:{type:"number",default:2},sectionAlignment:{type:"string",default:"center"},marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}},save:function(e){const t=e.attributes,n=t.columnsGap,a=t.align,r=t.marginTop,i=t.marginBottom,l=o()(["blockspare-service-table-wrap","blockspare-block-service-table-gap-"+n]);return wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-service-block-wrapper","blockspare-section-header-wrapper","align"+a),style:{marginTop:r?r+"px":void 0,marginBottom:i?i+"px":void 0}},wp.element.createElement(zj,e,wp.element.createElement("div",{className:l||void 0},wp.element.createElement(Aj.Content,null))))}}];const Bj=wp.i18n.__,Ij=(wp.element.Component,wp.blocks.registerBlockType),Rj=(wp.blockEditor.InnerBlocks,fP.name),Hj=fP.category,Wj=fP.attributes;Ij(Rj,{title:Bj("BS Services","blockspare"),description:Bj("Add a service section.","blockspare"),icon:r.services,category:Hj,keywords:["blockspare",Bj("block","blockspare"),Bj("services","blockspare"),Bj("box","blockspare"),Bj("portfolio","blockspare")],example:{attributes:{cover:"https://blockspare.com",author:"blockspare",pages:500}},attributes:Wj,getEditWrapperProps({align:e}){if("right"===e||"full"===e||"wide"===e)return{"data-align":e}},edit:Lj,save:jj,deprecated:Yj});var Uj=n(124);const Gj=wp.i18n.__,Vj=wp.element.Component,qj=(wp.compose.compose,wp.blockEditor.InspectorControls),$j=wp.components,Jj=($j.withFallbackStyles,$j.PanelBody);$j.SelectControl;class Xj extends Vj{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.subtitleFontSize,t.headerTagOption),a=t.headertitleColor,r=t.headersubtitleColor,i=t.headerlayoutOption,o=t.titlePaddingTop,l=t.titlePaddingBottom,s=t.subtitlePaddingTop,c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontSize,m=t.titleLoadGoogleFonts,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSubset,h=t.titleFontSizeType,v=t.titleFontSizeMobile,y=t.titleFontSizeTablet,w=t.subTitleFontSize,k=t.subTitleLoadGoogleFonts,_=t.subTitleFontFamily,x=t.subTitleFontWeight,S=t.subTitleFontSubset,E=t.subTitleFontSizeType,T=t.subTitleFontSizeMobile,C=t.subTitleFontSizeTablet,M=e.attributes,O=e.setAttributes;Gj("Layout 1","blockspare"),Gj("Layout 2","blockspare"),Gj("Layout 3","blockspare");return wp.element.createElement(qj,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Jj,{title:Gj("Header Settings","blockspare"),initialOpen:!0},wp.element.createElement(tc,{headerlayoutOption:i,onChangeHeaderLayput:e=>O({headerlayoutOption:e})}),wp.element.createElement(Jj,{title:Gj("Typography Settings","blockspare")},wp.element.createElement(Ps,{label:Gj("Title Fonts Settings"),attributes:M,setAttributes:O,loadGoogleFonts:{value:m,label:Gj("titleLoadGoogleFonts")},fontFamily:{value:f,label:Gj("titleFontFamily")},fontWeight:{value:b,label:Gj("titleFontWeight")},fontSubset:{value:g,label:Gj("titleFontSubset")},fontSizeType:{value:h,label:Gj("titleFontSizeType")},fontSize:{value:d,label:Gj("titleFontSize")},fontSizeMobile:{value:v,label:Gj("titleFontSizeMobile")},fontSizeTablet:{value:y,label:Gj("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:n}),wp.element.createElement(Ps,{label:Gj("Subtitle Fonts Settings"),attributes:M,setAttributes:O,loadGoogleFonts:{value:k,label:Gj("subTitleLoadGoogleFonts")},fontFamily:{value:_,label:Gj("subTitleFontFamily")},fontWeight:{value:x,label:Gj("subTitleFontWeight")},fontSubset:{value:S,label:Gj("subTitleFontSubset")},fontSizeType:{value:E,label:Gj("subTitleFontSizeType")},fontSize:{value:w,label:Gj("subTitleFontSize")},fontSizeMobile:{value:T,label:Gj("subTitleFontSizeMobile")},fontSizeTablet:{value:C,label:Gj("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),wp.element.createElement(Fi,{enableBlockGaps:!1,headerboxColor:p,onChangeboxcolor:e=>O({headerboxColor:e}),dashColor:u,headerlayoutOption:i,onChangeDashColor:e=>O({dashColor:e}),headertitleColor:a,onChangetitlecolor:e=>O({headertitleColor:e}),titlePaddingTop:o,onChangetitlePaddingTop:e=>O({titlePaddingTop:e}),titlePaddingBottom:l,onChangetitlePaddingBottom:e=>O({titlePaddingBottom:e}),headersubtitleColor:r,onChangesubtitlecolor:e=>O({headersubtitleColor:e}),subtitlePaddingTop:s,onChangesubtitlePaddingTop:e=>O({subtitlePaddingTop:e}),subtitlePaddingBottom:c,onChangesubtitlePaddingBottom:e=>O({subtitlePaddingBottom:e})}))))}}var Kj=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.subTitleFontSize,v=(t.subTitleLoadGoogleFonts,t.subTitleFontFamily),y=t.subTitleFontWeight,w=(t.subTitleFontSubset,t.subTitleFontSizeType),k=t.subTitleFontSizeMobile,_=t.subTitleFontSizeTablet,x=t.headerpaddingTop,S=(t.headerpaddingRight,t.headerpaddingBottom),E=(t.headerpaddingLeft,t.headermarginTop,t.headermarginBottom,[]);return E.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:x+"px",paddingBottom:S+"px"}}),E.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:h+w,fontFamily:v,fontWeight:y,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:_+w}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:k+w}}}),vr.a.all(E)};wp.i18n.__;const Qj=wp.compose.compose,Zj=wp.element,eN=Zj.Component,tN=Zj.Fragment,nN=wp.blockEditor,aN=(nN.RichText,nN.withFontSizes,nN.withColors,nN.AlignmentToolbar),rN=nN.BlockControls;var iN=Qj(gr,mr(Kj))(class extends eN{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTagOption,i=t.headerTitle,l=t.headerSubTitle,s=t.headerlayoutOption,c=t.titleLoadGoogleFonts,u=t.titleFontFamily,p=t.titleFontWeight,d=t.subTitleLoadGoogleFonts,m=t.subTitleFontFamily,f=t.subTitleFontWeight,b=e.className,g=(e.attributes,e.setAttributes),h=o()([b,"blockspare-section-header-wrapper blockspare-blocks","align"+n]);return[wp.element.createElement(tN,null,wp.element.createElement(Xj,this.props),wp.element.createElement(rN,null,wp.element.createElement(aN,{value:a,onChange:e=>{g({sectionAlignment:e})}})),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(wc,{setAttributes:g,headerTitle:i,headerTagOption:r,headerSubTitle:l,titleFontFamily:u,titleFontWeight:p,titleLoadGoogleFonts:c,subTitleLoadGoogleFonts:d,subTitleFontFamily:m,subTitleFontWeight:f}))))]}});wp.i18n.__,wp.blockEditor.RichText;const oN=wp.compose.compose,lN=wp.element,sN=lN.Component;lN.Fragment;var cN=oN(gr,mr(Kj))(class extends sN{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTitle,i=t.headerTagOption,l=t.headerSubTitle,s=t.headerlayoutOption,c=e.className,u=(e.attributes,e.setAttributes,e.isSelected,o()([c,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(Xc,{headerTitle:r,headerTagOption:i,headerSubTitle:l})))}});function uN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function pN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const dN=wp.element.Component;class mN extends dN{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerlayoutOption,i=e.attributes,l=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uN(Object(n),!0).forEach((function(t){pN(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uN(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},pu(i)));return wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+n),style:l},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",r,"blockspare-"+a)},this.props.children))}}function fN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function bN(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fN(Object(n),!0).forEach((function(t){gN(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fN(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const hN=wp.editor,vN=hN.RichText;hN.getFontSizeClass,hN.getColorClassName;var yN=[{attributes:bN({},xi),save:function(e){const t=e.attributes,n=t.headerTagOption,a=t.headerTitle,r=t.headerSubTitle,i=bN({},au(e.attributes)),o=bN({},ru(e.attributes)),l=bN({},iu(e.attributes));return wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement(mN,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:i}),a&&wp.element.createElement(vN.Content,{tagName:n,className:"blockspare-title",style:o,value:a}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:i})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:i}),r&&wp.element.createElement(vN.Content,{tagName:"p",className:"blockspare-subtitle",style:l,value:r}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:i}))))}}];function wN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function kN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _N=wp.i18n.__,xN=wp.blocks.registerBlockType,SN=Uj.name,EN=Uj.category,TN=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wN(Object(n),!0).forEach((function(t){kN(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wN(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},xi);xN(SN,{title:_N("Service Title","blockspare"),description:_N("Adds a product title component with schema markup.","blockspare"),icon:r.sectionHeader,category:EN,parent:["blockspare/blockspare-services-inner"],keywords:[_N("Service","blockspare"),_N("title","blockspare")],attributes:TN,edit:iN,save:cN,deprecated:yN});var CN=n(86);const MN=wp.i18n.__,ON=wp.element.Component,LN=(wp.compose.compose,wp.blockEditor),DN=LN.InspectorControls,FN=(LN.FontSizePicker,LN.PanelColorSettings),PN=(LN.ColorPalette,wp.components),jN=(PN.withFallbackStyles,PN.PanelBody);PN.PanelRow,PN.SelectControl,PN.BaseControl,PN.RangeControl;class NN extends ON{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.borderStyle,t.borderColor,t.borderWidth,t.backgroundColor,t.paddingTop),a=t.paddingRight,r=t.paddingBottom,i=t.paddingLeft,o=t.descriptionFontSize,l=t.descriptionFontFamily,s=t.descriptionFontWeight,c=t.descriptionFontSubset,u=t.descriptionFontSizeType,p=t.descriptionFontSizeMobile,d=t.descriptionFontSizeTablet,m=t.descriptionLoadGoogleFonts,f=e.attributes,b=e.setAttributes,g=e.textColor;MN("None"),MN("Solid"),MN("Dotted"),MN("Dashed");return wp.element.createElement(DN,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(jN,{title:MN("Typography Settings","blockspare")},wp.element.createElement(Ps,{label:MN("Description Fonts Settings"),attributes:f,setAttributes:b,loadGoogleFonts:{value:m,label:MN("descriptionLoadGoogleFonts")},fontFamily:{value:l,label:MN("descriptionFontFamily")},fontWeight:{value:s,label:MN("descriptionFontWeight")},fontSubset:{value:c,label:MN("descriptionFontSubset")},fontSizeType:{value:u,label:MN("descriptionFontSizeType")},fontSize:{value:o,label:MN("descriptionFontSize")},fontSizeMobile:{value:p,label:MN("descriptionFontSizeMobile")},fontSizeTablet:{value:d,label:MN("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(FN,{title:MN("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:g,onChange:e=>b({textColor:e}),label:MN("Text Color","blockspare")}]}),wp.element.createElement(jN,{title:MN("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:n,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>b({paddingTop:e}),paddingEnableRight:!0,paddingRight:a,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>b({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:r,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>b({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:i,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>b({paddingLeft:e})}))))}}var zN=e=>{const t=e.attributes,n=t.sectionAlignment,a=(t.customFontSize,t.backgroundColor),r=t.textColor,i=t.paddingTop,o=t.paddingRight,l=t.paddingBottom,s=t.paddingLeft,c=t.descriptionFontSize,u=t.descriptionFontFamily,p=t.descriptionFontWeight,d=(t.descriptionFontSubset,t.descriptionFontSizeType),m=t.descriptionFontSizeMobile,f=t.descriptionFontSizeTablet,b=(t.descriptionLoadGoogleFonts,[]);return b.push({".blockspare-services-inner-description":{fontSize:c+d,fontFamily:u,fontWeight:p,color:r||"#6d6d6d",backgroundColor:a,paddingTop:i?i+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:l?l+"px":void 0,paddingLeft:s?s+"px":void 0},tablet:{".blockspare-services-inner-description":{fontSize:f+d}},mobile:{".blockspare-services-inner-description":{fontSize:m+d}}}),n&&b.push({".blockspare-services-inner-description":{textAlign:n}}),vr.a.all(b)};const AN=wp.i18n.__,YN=wp.compose.compose,BN=wp.element,IN=BN.Component,RN=BN.Fragment,HN=wp.blockEditor,WN=HN.RichText,UN=HN.AlignmentToolbar,GN=HN.BlockControls;var VN=YN([gr,mr(zN)])(class extends IN{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.features,a=t.descriptionLoadGoogleFonts,r=t.descriptionFontFamily,i=t.descriptionFontWeight,l=t.sectionAlignment,s=(e.isSelected,e.className),c=e.setAttributes;let u;if(1==a){const e={google:{families:[r+(i?":"+i:"")]}};u=wp.element.createElement(Lr,{config:e})}const p=o()([s,"blockspare-services-description"]);return[wp.element.createElement(RN,null,wp.element.createElement(NN,this.props),wp.element.createElement(GN,null,wp.element.createElement(UN,{value:l,onChange:e=>{c({sectionAlignment:e})}})),wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement(WN,{tagName:"p",itemProp:"description",placeholder:AN("Add a service feature","blockspare"),keepPlaceholderOnFocus:!0,value:n,onChange:e=>c({features:e}),className:"blockspare-services-inner-description"})),u)]}});wp.i18n.__;const qN=wp.compose.compose,$N=wp.element,JN=$N.Component,XN=($N.Fragment,wp.blockEditor),KN=XN.RichText;XN.withFontSizes,XN.withColors;var QN=qN([gr,mr(zN)])(class extends JN{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes.features,n=e.className,a=o()([n,"blockspare-services-description"]);return wp.element.createElement("div",{className:a},this.props.styles,wp.element.createElement(KN.Content,{tagName:"p",itemProp:"description",value:t,className:"blockspare-services-inner-description"}))}}),ZN=n(125);var ez=e=>{const t=e.attributes,n=(t.customFontSize,t.backgroundColor),a=t.textColor,r=t.paddingTop,i=t.paddingRight,o=t.paddingBottom,l=t.paddingLeft,s=t.descriptionFontSize,c=t.descriptionFontFamily,u=t.descriptionFontWeight,p=(t.descriptionFontSubset,t.descriptionFontSizeType),d=t.descriptionFontSizeMobile,m=t.descriptionFontSizeTablet,f=(t.descriptionLoadGoogleFonts,[]);return f.push({".blockspare-services-inner-description":{fontSize:s+p,fontFamily:c,fontWeight:u,color:a||"#6d6d6d",backgroundColor:n,paddingTop:r?r+"px":void 0,paddingRight:i?i+"px":void 0,paddingBottom:o?o+"px":void 0,paddingLeft:l?l+"px":void 0},tablet:{".blockspare-services-inner-description":{fontSize:m+p}},mobile:{".blockspare-services-inner-description":{fontSize:d+p}}}),vr.a.all(f)};wp.i18n.__;const tz=wp.compose.compose,nz=wp.element,az=nz.Component,rz=(nz.Fragment,wp.blockEditor),iz=rz.RichText;rz.withFontSizes,rz.withColors;var oz=tz([gr,mr(ez)])(class extends az{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes.features,n=e.className,a=o()([n,"blockspare-services-description"]);return wp.element.createElement("div",{className:a},this.props.styles,wp.element.createElement(iz.Content,{tagName:"p",itemProp:"description",value:t,className:"blockspare-services-inner-description"}))}});function lz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function sz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const cz=wp.blockEditor,uz=cz.RichText,pz=cz.getFontSizeClass,dz=cz.getColorClassName;var mz=[{attributes:ZN.attributes,save:function(e){const t=e.attributes,n=t.features,a=t.fontSize,r=t.customFontSize,i=t.backgroundColor,l=t.textColor,s=t.customBackgroundColor,c=(t.customTextColor,t.paddingTop),u=t.paddingRight,p=t.paddingBottom,d=t.paddingLeft,m=pz(a),f=dz("background-color",i),b=o()({"has-background":i||s,"blockspare-service-table-features":!0,[m]:m,[f]:f}),g={fontSize:m?void 0:r,backgroundColor:f?void 0:s,color:l||"#6d6d6d",paddingTop:c?c+"px":void 0,paddingRight:u?u+"px":void 0,paddingBottom:p?p+"px":void 0,paddingLeft:d?d+"px":void 0};return wp.element.createElement(uz.Content,{tagName:"p",itemProp:"description",value:n,className:b||void 0,style:g})}},{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lz(Object(n),!0).forEach((function(t){sz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ZN.attributes),save:e=>wp.element.createElement(oz,e)}];const fz=wp.i18n.__,bz=wp.blocks.registerBlockType,gz=wp.blockEditor,hz=(gz.RichText,gz.getFontSizeClass,gz.getColorClassName,CN.name),vz=CN.category,yz=CN.attributes;bz(hz,{title:fz("Service Features","blockspare"),description:fz("Adds a feature component with schema markup.","blockspare"),icon:r.iconlist,category:vz,parent:["blockspare/blockspare-services-inner"],keywords:[fz("Service table","blockspare"),fz("features","blockspare"),fz("shop","blockspare")],attributes:yz,edit:VN,save:QN,deprecated:mz});var wz=n(15);const kz=wp.i18n.__,_z=wp.element.Component,xz=wp.compose.compose,Sz=wp.blockEditor,Ez=Sz.InspectorControls,Tz=Sz.withFontSizes,Cz=Sz.withColors,Mz=Sz.PanelColorSettings,Oz=wp.components,Lz=Oz.withFallbackStyles,Dz=Oz.PanelBody,Fz=Oz.ToggleControl,Pz=Lz((e,t)=>{const n=t.attributes.backgroundColor,a=e.querySelector('[contenteditable="true"]'),r=a?getComputedStyle(a):null;return{fallbackBackgroundColor:n||!r?void 0:r.backgroundColor}});var jz=xz([Pz,Tz("fontSize"),Cz("backgroundColor")])(class extends _z{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.buttonStyle,a=t.borderColor,r=t.borderBtnTextColor,i=t.buttonBackgroundColor,o=t.buttonTextColor,l=t.buttonSize,s=t.buttonShape,c=t.buttonTarget,u=t.paddingTop,p=t.paddingBottom,d=t.enableGradient,m=t.backgroundColor1,f=t.backgroundColor2,b=t.gradientAngle,g=t.colorLocation1,h=t.colorLocation2,v=t.btnFontWeight,y=t.btnBorderWidth,w=t.buttonHoverEffect,k=t.btnBackgroudColor,_=t.buttonFontSize,x=t.buttonFontFamily,S=t.buttonFontWeight,E=t.buttonFontSubset,T=t.buttonFontSizeType,C=t.buttonFontSizeMobile,M=t.buttonFontSizeTablet,O=t.buttonLoadGoogleFonts,L=e.attributes,D=e.setAttributes;e.backgroundColor,e.setBackgroundColor;return wp.element.createElement(Ez,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Dz,{title:kz("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(_e,{enableButtonTarget:!1,buttonTarget:c,onChangeButtonTarget:e=>D({buttonTarget:!c}),enableGradient:d,onChangeGradient:e=>D({enableGradient:e}),enableButtonSize:!0,buttonSize:l,onChangeButtonSize:e=>D({buttonSize:e}),enableButtonShape:!0,buttonShape:s,onChangeButtonShape:e=>D({buttonShape:e}),buttonBackgroundColor:i,onChangeButtonColor:e=>D({buttonBackgroundColor:e}),buttonTextColor:o,onChangeButtonTextColor:e=>D({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:n,onChangeBorderStyle:e=>D({buttonStyle:e}),buttonHoverEffect:w,onchangeButtonHoverEffect:e=>D({buttonHoverEffect:e}),borderColor:a,onchangeBorderColor:e=>D({borderColor:e}),borderBtnTextColor:r,onChangeBorderBtnTextColor:e=>D({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:y,onchangebtnBorderWidth:e=>D({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:v,onchangeBtnFontWeight:e=>D({btnFontWeight:e})}),wp.element.createElement(Dz,{title:kz("Typography Settings","blockspare")},wp.element.createElement(Ra,{label:kz("Button Fonts Settings"),attributes:L,setAttributes:D,loadGoogleFonts:{value:O,label:kz("buttonLoadGoogleFonts")},fontFamily:{value:x,label:kz("buttonFontFamily")},fontWeight:{value:S,label:kz("buttonFontWeight")},fontSubset:{value:E,label:kz("buttonFontSubset")},fontSizeType:{value:T,label:kz("buttonFontSizeType")},fontSize:{value:_,label:kz("buttonFontSize")},fontSizeMobile:{value:C,label:kz("buttonFontSizeMobile")},fontSizeTablet:{value:M,label:kz("buttonFontSizeTablet")},disableLineHeight:!0})),"none"===n&&wp.element.createElement(Fz,{label:kz("Enable Gradient","blockspare"),checked:d,onChange:()=>this.props.setAttributes({enableGradient:!d})}),d&&"none"===n&&wp.element.createElement(Dz,{title:kz("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Ce,{backgroundColor1:m,onChangeBackgroundColor1:e=>D({backgroundColor1:e}),backgroundColor2:f,onChangeBackgroundColor2:e=>D({backgroundColor2:e}),gradientAngle:b,onChangeGradientAngle:e=>D({gradientAngle:e}),colorLocation1:g,onChangeColorLocation1:e=>D({colorLocation1:e}),colorLocation2:h,onChangeColorLocation2:e=>D({colorLocation2:e})}))),wp.element.createElement(Mz,{title:kz("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:k,onChange:e=>D({btnBackgroudColor:e}),label:kz("Background Color","blockspare")}]}),wp.element.createElement(Dz,{title:kz("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:u,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>D({paddingTop:e}),paddingEnableBottom:!0,paddingBottom:p,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>D({paddingBottom:e})}))))}});var Nz=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.btnBackgroudColor,s=t.buttonStyle,c=t.enableGradient,u=t.backgroundColor1,p=t.backgroundColor2,d=t.gradientAngle,m=t.colorLocation1,f=t.colorLocation2,b=(t.btnFontWeight,t.btnBorderWidth),g=t.borderColor,h=t.buttonBackgroundColor,v=t.borderBtnTextColor,y=t.buttonTextColor,w=t.buttonFontSize,k=t.buttonFontFamily,_=t.buttonFontWeight,x=t.buttonFontSizeType,S=t.buttonFontSizeMobile,E=t.buttonFontSizeTablet,T=[];if(T.push({".blockspare-block-button":{textAlign:n},".blockspare-service-button":{backgroundColor:l,paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),"none"===s)if(1==c){const e=d+"deg",t=m+"%",n=f+"%";T.push({".blockspare-block-button span":{color:y||"#fff",borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${u||"#3B1A5B"} ${t},${p||"#8B249C"} ${n})`}})}else T.push({".blockspare-block-button span":{color:y||"#fff",borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:h||"#3c1a5b"}});else T.push({".blockspare-block-button span":{color:v||"#404040",borderColor:g||"#3c1a5b",borderStyle:s,borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return T.push({".blockspare-block-button span":{fontSize:w+x,fontFamily:k,fontWeight:_},tablet:{".blockspare-block-button span":{fontSize:E+x}},mobile:{".blockspare-block-button span":{fontSize:S+x}}}),vr.a.all(T)};const zz=wp.i18n.__,Az=wp.compose.compose,Yz=wp.element,Bz=Yz.Component,Iz=Yz.Fragment,Rz=wp.blockEditor,Hz=Rz.RichText,Wz=(Rz.withFontSizes,Rz.withColors,Rz.URLInput),Uz=Rz.AlignmentToolbar,Gz=Rz.BlockControls,Vz=wp.components,qz=Vz.IconButton,$z=Vz.Dashicon;var Jz=Az([gr,mr(Nz)])(class extends Bz{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=(t.paddingTop,t.paddingBottom,t.buttonText),r=t.buttonUrl,i=t.buttonAlignment,l=(t.buttonBackgroundColor,t.buttonTextColor,t.buttonSize),s=t.buttonShape,c=t.buttonHoverEffect,u=t.buttonLoadGoogleFonts,p=t.buttonFontFamily,d=t.buttonFontWeight,m=e.className,f=e.isSelected,b=(e.attributes,e.setAttributes);e.backgroundColor;let g;if(1==u){const e={google:{families:[p+(d?":"+d:"")]}};g=wp.element.createElement(Lr,{config:e})}const h=o()({"blockspare-service-button":!0}),v=o()([m,"blockspare-block-button-wrap"]);return[wp.element.createElement(Iz,null,wp.element.createElement(jz,this.props),wp.element.createElement(Gz,null,wp.element.createElement(Uz,{value:n,onChange:e=>{b({sectionAlignment:e})}})),wp.element.createElement("div",{className:v},this.props.styles,wp.element.createElement("div",{className:h||void 0},wp.element.createElement("div",{className:o()(this.props.className,"blockspare-block-button")},wp.element.createElement(Hz,{tagName:"span",placeholder:zz("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:`<span>${a}</span>`,allowedFormats:[],className:o()("blockspare-button",s,l,c),onChange:e=>b({buttonText:e})})),f&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+i,onSubmit:e=>e.preventDefault(),style:{textAlign:i}},wp.element.createElement($z,{icon:"admin-links"}),wp.element.createElement(Wz,{className:"button-url",value:r,onChange:e=>b({buttonUrl:e})}),wp.element.createElement(qz,{icon:"editor-break",label:zz("Apply","blockspare"),type:"submit"})))),g)]}});const Xz=wp.compose.compose,Kz=wp.element,Qz=Kz.Component,Zz=(Kz.Fragment,wp.blockEditor),eA=Zz.RichText,tA=Zz.getColorClassName;var nA=Xz(gr,mr(Nz))(class extends Qz{render(){const e=this.props,t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=(t.paddingTop,t.paddingBottom,t.buttonText),i=t.buttonUrl,l=t.sectionAlignment,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.buttonHoverEffect,d=(e.attributes,e.className),m=tA("background-color",n),f=o()({"has-background":n||a,"blockspare-service-button":!0,[m]:m}),b=o()([d,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:f||void 0},wp.element.createElement("div",{style:{textAlign:l},className:o()(d,"blockspare-block-button")},r&&wp.element.createElement("a",{href:i,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:o()("blockspare-button",c,s,p)},wp.element.createElement(eA.Content,{tagName:"span",value:r})))))}});function aA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function rA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aA(Object(n),!0).forEach((function(t){iA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function iA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oA=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.btnBackgroudColor,s=[];return s.push({".blockspare-block-button":{textAlign:n},".blockspare-button":rA({},Kr(e.attributes)),".blockspare-service-button":{backgroundColor:l,paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),vr.a.all(s)};const lA=wp.compose.compose,sA=wp.element,cA=sA.Component,uA=(sA.Fragment,wp.blockEditor),pA=uA.RichText,dA=uA.getColorClassName;var mA=lA(gr,mr(oA))(class extends cA{render(){const e=this.props,t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=(t.paddingTop,t.paddingBottom,t.buttonText),i=t.buttonUrl,l=t.sectionAlignment,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.buttonHoverEffect,d=(e.attributes,e.className),m=dA("background-color",n),f=o()({"has-background":n||a,"blockspare-service-button":!0,[m]:m}),b=o()([d,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:f||void 0},wp.element.createElement("div",{style:{textAlign:l},className:o()(d,"blockspare-block-button")},r&&wp.element.createElement("a",{href:i,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:o()("blockspare-button",c,s,p)},wp.element.createElement(pA.Content,{value:r})))))}});function fA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function bA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fA(Object(n),!0).forEach((function(t){gA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hA=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.btnBackgroudColor,s=[];return s.push({".blockspare-block-button":{textAlign:n},".blockspare-button":bA({},Xr(e.attributes)),".blockspare-service-button":{backgroundColor:l,paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),vr.a.all(s)};const vA=wp.compose.compose,yA=wp.element,wA=yA.Component,kA=(yA.Fragment,wp.blockEditor),_A=kA.RichText,xA=kA.getColorClassName;var SA=vA(gr,mr(hA))(class extends wA{render(){const e=this.props,t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=(t.paddingTop,t.paddingBottom,t.buttonText),i=t.buttonUrl,l=t.sectionAlignment,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.buttonHoverEffect,d=(e.attributes,e.className),m=xA("background-color",n),f=o()({"has-background":n||a,"blockspare-service-button":!0,[m]:m}),b=o()([d,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:f||void 0},wp.element.createElement("div",{style:{textAlign:l},className:o()(d,"blockspare-block-button")},r&&wp.element.createElement("a",{href:i,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:o()("blockspare-button",c,s,p)},wp.element.createElement(_A.Content,{value:r})))))}});var EA=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.btnBackgroudColor,s=t.buttonStyle,c=t.enableGradient,u=t.backgroundColor1,p=t.backgroundColor2,d=t.gradientAngle,m=t.colorLocation1,f=t.colorLocation2,b=t.btnFontWeight,g=t.btnBorderWidth,h=t.borderColor,v=t.buttonBackgroundColor,y=t.borderBtnTextColor,w=t.buttonTextColor,k=[];if(k.push({".blockspare-block-button":{textAlign:n},".blockspare-service-button":{backgroundColor:l,paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),"none"===s)if(1==c){const e=d+"deg",t=m+"%",n=f+"%";k.push({".blockspare-block-button span":{color:w||"#fff",fontWeight:b,borderWidth:g+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${u||"#3B1A5B"} ${t},${p||"#8B249C"} ${n})`}})}else k.push({".blockspare-block-button span":{color:w||"#fff",fontWeight:b,borderWidth:g+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:v||"#3c1a5b"}});else k.push({".blockspare-block-button span":{color:y||"#404040",borderColor:h||"#3c1a5b",borderStyle:s,fontWeight:b,borderWidth:g+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return vr.a.all(k)};const TA=wp.compose.compose,CA=wp.element,MA=CA.Component,OA=(CA.Fragment,wp.blockEditor),LA=OA.RichText,DA=OA.getColorClassName;var FA=TA(gr,mr(EA))(class extends MA{render(){const e=this.props,t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=(t.paddingTop,t.paddingBottom,t.buttonText),i=t.buttonUrl,l=t.sectionAlignment,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.buttonHoverEffect,d=(e.attributes,e.className),m=DA("background-color",n),f=o()({"has-background":n||a,"blockspare-service-button":!0,[m]:m}),b=o()([d,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:f||void 0},wp.element.createElement("div",{style:{textAlign:l},className:o()(d,"blockspare-block-button")},r&&wp.element.createElement("a",{href:i,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:o()("blockspare-button",c,s,p)},wp.element.createElement(LA.Content,{tagName:"span",value:r})))))}});function PA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function jA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PA(Object(n),!0).forEach((function(t){NA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function NA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const zA=wp.blockEditor,AA=zA.RichText,YA=zA.getColorClassName;var BA=[{attributes:jA({},wz.attributes,{},Jr),edit:function(e){},save:function(e){const t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=t.paddingTop,i=t.paddingBottom,l=t.buttonText,s=t.buttonUrl,c=t.sectionAlignment,u=t.buttonSize,p=t.buttonShape,d=t.buttonTarget,m=t.buttonHoverEffect,f=(t.className,YA("background-color",n)),b=o()({"has-background":n||a,"blockspare-service-button":!0,[f]:f}),g=jA({},ou(e.attributes)),h={backgroundColor:f?void 0:a,paddingTop:r?r+"px":void 0,paddingBottom:i?i+"px":void 0};return wp.element.createElement("div",{className:b||void 0,style:h},wp.element.createElement("div",{style:{textAlign:c},className:o()("blockspare-block-button")},l&&wp.element.createElement("a",{href:s,target:d?"_blank":null,rel:d?"noopener noreferrer":null,className:o()("blockspare-button",p,u,m),style:g},wp.element.createElement(AA.Content,{value:l}))))}},{attributes:jA({},wz.attributes,{},Jr),save:e=>wp.element.createElement(SA,e)},{attributes:jA({},wz.attributes,{},Jr),save:e=>wp.element.createElement(mA,e)},{attributes:jA({},wz.attributes,{},Jr),save:e=>wp.element.createElement(FA,e)}];function IA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function RA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const HA=wp.i18n.__,WA=wp.blocks.registerBlockType,UA=wp.blockEditor,GA=(UA.RichText,UA.getColorClassName,wz.name),VA=wz.category,qA=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?IA(Object(n),!0).forEach((function(t){RA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},wz.attributes,{},Jr);WA(GA,{title:HA("Button","blockspare"),description:HA("Adds a product title component with schema markup.","blockspare"),icon:r.button,category:VA,parent:["blockspare/blockspare-services-inner"],keywords:[HA("Services","blockspare"),HA("title","blockspare"),HA("shop","blockspare")],attributes:qA,edit:Jz,save:nA,deprecated:BA});n(625);var $A=n(20);const JA=e=>wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{fill:e.fillColor},fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 510 510",className:"empty-star-rating"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})),XA=e=>wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{fill:e.fillColor},fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"})),KA=e=>wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{fill:e.fillColor},fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25",id:"star"})),QA=wp.i18n.__,ZA=wp.element.Component,eY=wp.blockEditor,tY=eY.InspectorControls,nY=(eY.PanelColorSettings,wp.components),aY=nY.PanelBody,rY=nY.RangeControl;class iY extends ZA{render(){const e=this.props,t=e.attributes,n=t.starCount,a=(t.starSize,t.starColor,t.backgroundColor,e.setAttributes);return wp.element.createElement(tY,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(aY,{title:QA("Star Settings","blockspare"),initialOpen:!1},wp.element.createElement(rY,{label:QA("Number Of Stars","blockspare"),value:n,onChange:e=>a({starCount:e}),min:1,max:5,step:1}))))}}var oY=e=>{const t=e.attributes.backgroundColor,n=[];return n.push({".blockspare-block-star-ratings-wrap":{backgroundColor:t||"transparent"},".empty-star-rating":{opacity:.4}}),vr.a.all(n)};wp.i18n.__;const lY=wp.element,sY=lY.Fragment,cY=lY.Component,uY=wp.compose.compose,pY=wp.blockEditor,dY=pY.BlockControls,mY=pY.AlignmentToolbar;var fY=uY(gr,mr(oY))(class extends cY{render(){const e=this.props,t=e.attributes,n=t.starAlign,a=t.starCount,r=t.starSize,i=t.starColor,l=t.selectedStars,s=(t.emptyStarColor,t.backgroundColor,e.className),c=e.highlightedStars,u=e.setAttributes,p=o()([s,"blockspare-ratings"]);return wp.element.createElement(sY,null,wp.element.createElement(dY,null,wp.element.createElement(mY,{value:n,onChange:e=>{u({starAlign:e})}})),wp.element.createElement(iY,this.props),wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-star-ratings-wrap")},wp.element.createElement("div",{className:o()("blockspare-star-inner-container","star-align-"+n),onMouseLeave:()=>this.setState({highlightedStars:0})},[...Array(a)].map((e,t)=>wp.element.createElement("div",{className:"blockspare-ratings",key:t,onMouseEnter:()=>{this.setState({highlightedStars:t+1})},onClick:()=>{u(l%1==0?{selectedStars:t+(l-1===t?.5:1)}:{selectedStars:t+(l-.5===t?1:.5)})}},t<(c||l)?c?c-1===t?l%1>0?c-l-.5!=0?wp.element.createElement(XA,{size:r,fillColor:i||"#fbd012"}):wp.element.createElement(KA,{size:r,fillColor:i||"#fbd012"}):c-l!=0?wp.element.createElement(KA,{size:r,fillColor:i||"#fbd012"}):wp.element.createElement(XA,{size:r,fillColor:i||"#fbd012"}):wp.element.createElement(KA,{size:r,fillColor:i||"#fbd012"}):l-t>=1?wp.element.createElement(KA,{size:r,fillColor:i||"#fbd012"}):wp.element.createElement(XA,{size:r,fillColor:i||"#fbd012"}):wp.element.createElement(JA,{size:r,fillColor:i})))))))}});wp.blockEditor.RichText;const bY=wp.element.Component,gY=wp.compose.compose;var hY=gY(gr,mr(oY))(class extends bY{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.starAlign,a=t.starCount,r=t.starSize,i=t.starColor,l=t.selectedStars,s=(t.emptyStarColor,t.backgroundColor,e.className),c=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"}))),u=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t,width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let p=[];for(let e=0;e<a;e++)p.push(e<l?l-e>=1?(d=r,m=i,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:m||"#fbd012",width:d,height:d,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):c(r,i):u(r,i));var d,m;const f=o()([s,"blockspare-ratings"]);return wp.element.createElement("div",{className:f},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-star-ratings-wrap"},wp.element.createElement("div",{className:o()("blockspare-star-inner-container","star-align-"+n)},p)))}});var vY=e=>{const t=e.attributes.backgroundColor,n=[];return n.push({".blockspare-section":{backgroundColor:t||"transparent"}}),vr.a.all(n)};wp.blockEditor.RichText;const yY=wp.element.Component,wY=wp.compose.compose;var kY=wY(gr,mr(vY))(class extends yY{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.starAlign,a=t.starCount,r=t.starSize,i=t.starColor,l=t.selectedStars,s=t.emptyStarColor,c=(t.backgroundColor,e.className),u=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"}))),p=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let d=[];for(let e=0;e<a;e++)d.push(e<l?l-e>=1?(m=r,f=i,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:f||"#fbd012",width:m,height:m,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):u(r,i):p(r,s));var m,f;const b=o()([c,"blockspare-ratings"]);return wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-star-ratings-wrap"},wp.element.createElement("div",{className:o()("blockspare-star-inner-container","star-align-"+n)},d)))}});function _Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function xY(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_Y(Object(n),!0).forEach((function(t){SY(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_Y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function SY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var EY=[{attributes:xY({},$A.attributes),save:function(e){const t=e.attributes,n=t.starAlign,a=t.starCount,r=t.starSize,i=t.starColor,l=t.selectedStars,s=t.emptyStarColor,c=t.backgroundColor,u=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"}))),p=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let d=[];for(let e=0;e<a;e++)d.push(e<l?l-e>=1?(m=r,f=i,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:f||"#fbd012",width:m,height:m,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):u(r,i):p(r,s));var m,f;return wp.element.createElement("div",{className:"blockspare-block-star-ratings-wrap",style:{backgroundColor:c||"transparent"}},wp.element.createElement("div",{className:o()("blockspare-star-inner-container","star-align-"+n)},d))}},{attributes:xY({},$A.attributes),save:e=>wp.element.createElement(kY,e)}];const TY=wp.i18n.__,CY=wp.blocks.registerBlockType,MY=$A.name,OY=$A.category,LY=$A.attributes;CY(MY,{title:TY("BS Star Ratings","blockspare"),description:TY("Display creative star ratings.","blockspare"),category:OY,icon:r.starrating,attributes:LY,example:{attributes:{cover:"https://blockspare.com",author:"blockspare",pages:500}},keywords:[TY("block","blockspare"),TY("star","blockspare"),TY("review","blockspare"),TY("rating","blockspare")],edit:fY,save:hY,deprecated:EY});n(626);var DY=n(45),FY=n(10),PY=n.n(FY);const jY=wp.i18n.__,NY=wp.element,zY=NY.Component,AY=(NY.Fragment,wp.blockEditor),YY=AY.InspectorControls,BY=AY.PanelColorSettings,IY=wp.components,RY=IY.PanelBody,HY=IY.SelectControl;IY.RangeControl;class WY extends zY{render(){const e=this.props,t=e.attributes,n=(t.tabStyle,t.tabLayout),a=t.tabBackGroundColor,r=t.activeTabBackgroundColor,i=t.tabTextColor,o=t.activetabTextColor,l=(t.tabAlignment,t.tabFontSize),s=t.tabFontFamily,c=t.tabFontWeight,u=t.tabFontSubset,p=t.tabFontSizeType,d=t.tabFontSizeMobile,m=t.tabFontSizeTablet,f=t.tabLoadGoogleFonts,b=e.attributes,g=e.setAttributes,h=(jY("Default","blockspare"),jY("Vertical","blockspare"),[{value:"blockspare-layout1",label:jY("Layout 1","blockspare")},{value:"blockspare-layout2",label:jY("Layout 2","blockspare")}]);jY("Left","blockspare"),jY("Right","blockspare"),jY("center","blockspare");return wp.element.createElement(YY,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(RY,{title:jY("Tab Settings"),initialOpen:!1},wp.element.createElement(HY,{label:jY("Tab Layout","blockspare"),options:h,value:n,onChange:e=>this.props.setAttributes({tabLayout:e})})),wp.element.createElement(RY,{title:jY("Typography Settings","blockspare")},wp.element.createElement(Ps,{label:jY("Tab Fonts Settings"),attributes:b,setAttributes:g,loadGoogleFonts:{value:f,label:jY("tabLoadGoogleFonts")},fontFamily:{value:s,label:jY("tabFontFamily")},fontWeight:{value:c,label:jY("tabFontWeight")},fontSubset:{value:u,label:jY("tabFontSubset")},fontSizeType:{value:p,label:jY("tabFontSizeType")},fontSize:{value:l,label:jY("tabFontSize")},fontSizeMobile:{value:d,label:jY("tabFontSizeMobile")},fontSizeTablet:{value:m,label:jY("tabFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(BY,{title:jY("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:i,onChange:e=>g({tabTextColor:e}),label:jY("Text Color","blockspare")},{value:o,onChange:e=>g({activetabTextColor:e}),label:jY("Active Text Color","blockspare")},{value:a,onChange:e=>g({tabBackGroundColor:e}),label:jY("Tab Background Color","blockspare")},{value:r,onChange:e=>g({activeTabBackgroundColor:e}),label:jY("Active Tab Background Color","blockspare")}]})))}}var UY=e=>{const t=e.attributes,n=t.tabFontSize,a=t.tabFontFamily,r=t.tabFontWeight,i=(t.tabFontSubset,t.tabFontSizeType),o=t.tabFontSizeMobile,l=t.tabFontSizeTablet,s=[];return s.push({".blockspare-tabsitems":{fontSize:n+i,fontFamily:a,fontWeight:r},tablet:{".blockspare-tabsitems":{fontSize:l+i}},mobile:{".blockspare-tabsitems":{fontSize:o+i}}}),vr.a.all(s)};function GY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function VY(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?GY(Object(n),!0).forEach((function(t){qY(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GY(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const $Y=wp.i18n.__,JY=wp.components,XY=JY.Tooltip,KY=(JY.PanelBody,JY.Toolbar,wp.compose.compose),QY=wp.data,ZY=QY.withSelect,eB=QY.withDispatch,tB=wp.element,nB=tB.Component,aB=tB.Fragment,rB=wp.blockEditor,iB=rB.InnerBlocks,oB=rB.RichText;var lB=KY([ZY((e,t)=>{const n=t.clientId;return{block:(0,e("core/block-editor").getBlock)(n)}}),eB(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,removeBlock:t.removeBlock,updateBlockAttributes:t.updateBlockAttributes}}),gr,mr(UY)])(class extends nB{constructor(e){super(e),qY(this,"updateTitles",(e,t)=>{const n=this.props,a=n.attributes.tabTitles;(0,n.setAttributes)({tabTitles:a.map((n,a)=>(t===a&&(n=VY({},n,{},e)),n))})}),qY(this,"renderTabTitles",()=>{const e=this.props,t=e.attributes,n=t.tabTitles,a=t.tabBackGroundColor,r=t.activeTabBackgroundColor,i=t.tabTextColor,o=t.activetabTextColor,l=e.block,s=e.clientId;let c="#8b249c";r&&(c=r);let u="#3c1a5b";a&&(u=a);let p="#fff";o&&(p=o);let d="#fff";i&&(d=i);let m=PY()("#block-"+s);const f=this.state.showIconPicker;return n.map((e,t)=>wp.element.createElement("span",{className:"blockspare-tab-item "+(this.state.activeTab==t+1?"blockspare-active":"")},wp.element.createElement("span",{className:"blockspare-tab-title "+(e.iconName?"blockspare-has-icon-"+iconPosition:""),onClick:()=>{let e=PY()("#block-"+l.innerBlocks[t].clientId,m);PY()(".blockspare-tab-content.blockspare-active",m).removeClass("blockspare-active"),e.addClass("blockspare-active"),this.setState({activeTab:t+1,initialRender:!1,showIconPicker:!f})},role:"button",style:{backgroundColor:this.state.activeTab==t+1?c:u,color:this.state.activeTab==t+1?p:d}},wp.element.createElement(oB,{key:"editable",keepPlaceholderOnFocus:!0,placeholder:$Y("Add Tab Title"),value:e.title,className:"blockspare-tabsitems",onChange:e=>this.updateTitles({title:e},t)})),wp.element.createElement(XY,{text:$Y("Delete this tab")},wp.element.createElement("span",{className:"blockspare-action-tab-remove",onClick:()=>this.deleteTab(t),role:"button"},wp.element.createElement("i",{className:"fas fa-times"})))))}),qY(this,"deleteTab",e=>{const t=this.state.activeTab,n=this.props,a=n.attributes,r=a.tabTitles,i=a.tabs,o=n.setAttributes,l=n.block,s=n.removeBlock,c=n.updateBlockAttributes,u=n.clientId;o({tabTitles:r.filter((t,n)=>n!=e),tabs:i-1});let p=e+1;for(;p<i;)c(l.innerBlocks[p].clientId,Object.assign(l.innerBlocks[p].attributes,{id:l.innerBlocks[p].attributes.id-1})),p++;if(s(l.innerBlocks[e].clientId),e+1===t){let t=PY()("#block-"+u),n=PY()("#block-"+l.innerBlocks[e+1<i?e+1:i>=2?e-1:e].clientId,t);PY()(".blockspare-active",t).removeClass("blockspare-active"),n.addClass("blockspare-active"),this.setState({activeTab:0==e?1:e+1<i?e+1:e,initialRender:!1})}e+1<t&&this.setState({activeTab:t-1,initialRender:!1})}),qY(this,"newTitles",()=>{const e=this.props.attributes,t=e.tabs,n=e.tabTitles;let a=JSON.parse(JSON.stringify(n));return a[t]={title:$Y("Tab "+(t+1)),icon:{}},a}),this.state={device:"md",initialRender:!0,activeTab:1,spacer:!0,showIconPicker:!1}}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}componentDidUpdate(e,t){const n=this.props,a=n.attributes.tabs,r=n.clientId,i=n.block;if(!this.state.initialRender&&e.block.innerBlocks.length<i.innerBlocks.length){let e=PY()("#block-"+r),t=PY()("#block-"+i.innerBlocks[a-1].clientId,e);PY()(".blockspare-active",e).removeClass("blockspare-active"),t.addClass("blockspare-active")}}render(){const e=this.props,t=e.attributes,n=t.uniqueId,a=t.tabs,r=(t.tabTitles,t.tabStyle),i=t.tabLayout,l=t.tabAlignment,s=t.tabFontFamily,c=t.tabFontWeight,u=t.tabLoadGoogleFonts,p=e.className;let d;if(1==u){const e={google:{families:[s+(c?":"+c:"")]}};d=wp.element.createElement(Lr,{config:e})}const m=this.props,f=(m.name,m.setAttributes);m.isSelected;let b=[],g=0;for(;g<a;)b.push(g),g++;const h=o()([p,"blockspare-tabs"]);return wp.element.createElement(aB,null,wp.element.createElement(WY,VY({setAttributes:f},this.props)),wp.element.createElement("div",{className:"blockspare-block-"+n},wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-tab blockspare-tab-style",r,i)},wp.element.createElement("div",{className:o()("blockspare-tab-nav","blockspare-horizontal"==r?l:"")},this.renderTabTitles(),wp.element.createElement(XY,{text:$Y("Add new tab")},wp.element.createElement("strong",{className:"blockspare-add-new-tab",onClick:()=>{this.setState({activeTab:a+1,initialRender:!1}),f({tabs:a+1,tabTitles:this.newTitles()})},role:"button",areaLabel:$Y("Add new tab")},wp.element.createElement("i",{className:"fas fa-plus-circle"})))),wp.element.createElement("div",{className:"blockspare-tab-body"},wp.element.createElement(iB,{tagName:"div",template:b.map(e=>["blockspare/blockspare-tab",{id:e+1,customClassName:0==e?"blockspare-tab-content blockspare-active wp-block-blockspare-blockspare-tab":"blockspare-tab-content wp-block-blockspare-blockspare-tab"}]),templateLock:"all",allowedBlocks:["blockspare/blockspare-tab"]}))))),d)}});const sB=wp.element.Component,cB=wp.blockEditor.InnerBlocks,uB=wp.compose.compose;var pB=uB(gr,mr(UY))(class extends sB{constructor(...e){var t,n,a;super(...e),a=()=>{const e=this.props.attributes,t=e.tabTitles,n=e.tabBackGroundColor,a=e.activeTabBackgroundColor,r=e.tabTextColor,i=e.activetabTextColor,o=e.iconPosition;e.tabAlignment;let l="#8b249c";a&&(l=a);let s="#3c1a5b";n&&(s=n);let c="#fff";i&&(c=i);let u="#fff";return r&&(u=r),t.map((e,t)=>wp.element.createElement("span",{className:"blockspare-tab-item "+(0==t?"blockspare-active":"")},wp.element.createElement("span",{class:"blockspare-tab-title blockspare-tabsitems "+(e.iconName?"blockspare-has-icon-"+o:""),role:"button",style:{backgroundColor:0==t?l:s,color:0==t?c:u},"tab-bg":s,"atab-bg":l,"tab-text":u,"atab-text":c},e.title)))},(n="renderTabTitles")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}render(){const e=this.props,t=e.attributes,n=(t.uniqueId,t.tabs),a=t.tabStyle,r=t.tabLayout,i=t.tabAlignment,l=e.className;let s=[],c=0;for(;c<n;)s.push(c),c++;const u=o()([l,"blockspare-tabs"]);return wp.element.createElement("div",{className:"blockspare-block"},wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-tab",a,r)},wp.element.createElement("div",{className:o()("blockspare-tab-nav","blockspare-horizontal"==a?i:"")},this.renderTabTitles(s)),wp.element.createElement("div",{className:"blockspare-tab-body"},wp.element.createElement(cB.Content,null)))))}});const dB=wp.element.Component,mB=wp.blockEditor.InnerBlocks;var fB=class extends dB{constructor(...e){var t,n,a;super(...e),a=()=>{const e=this.props.attributes,t=e.tabTitles,n=e.tabBackGroundColor,a=e.activeTabBackgroundColor,r=e.tabTextColor,i=e.activetabTextColor,o=e.iconPosition;e.tabAlignment;let l="#8b249c";a&&(l=a);let s="#3c1a5b";n&&(s=n);let c="#fff";i&&(c=i);let u="#fff";return r&&(u=r),t.map((e,t)=>wp.element.createElement("span",{className:"blockspare-tab-item "+(0==t?"blockspare-active":"")},wp.element.createElement("span",{class:"blockspare-tab-title "+(e.iconName?"blockspare-has-icon-"+o:""),role:"button",style:{backgroundColor:0==t?l:s,color:0==t?c:u},"tab-bg":s,"atab-bg":l,"tab-text":u,"atab-text":c},e.title)))},(n="renderTabTitles")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}render(){const e=this.props.attributes,t=(e.uniqueId,e.tabs),n=e.tabStyle,a=e.tabLayout,r=e.tabAlignment;let i=[],l=0;for(;l<t;)i.push(l),l++;return wp.element.createElement("div",{className:"blockspare-block"},wp.element.createElement("div",{className:o()("blockspare-block-tab",n,a)},wp.element.createElement("div",{className:o()("blockspare-tab-nav","blockspare-horizontal"==n?r:"")},this.renderTabTitles(i)),wp.element.createElement("div",{className:"blockspare-tab-body"},wp.element.createElement(mB.Content,null))))}};function bB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function gB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hB=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bB(Object(n),!0).forEach((function(t){gB(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},DY.attributes),save:e=>wp.element.createElement(fB,e)}];const vB=wp.i18n.__,yB=wp.blocks.registerBlockType,wB=DY.name,kB=DY.category,_B=DY.attributes;yB(wB,{title:vB("BS Tabs","blockspare"),description:vB("Add tabs","blockspare"),category:kB,icon:r.tabs,attributes:_B,supports:{html:!1,className:!1,align:["center","wide","full"]},keywords:[vB("block","blockspare"),vB("tab","blockspare"),vB("tabs","blockspare"),vB("tabbed","blockspare"),vB("content","blockspare")],example:{attributes:{tabTitles:[{title:"Tab 1"},{title:"Tab 2"},{title:"Tab 3"}]},innerBlocks:[{name:"blockspare/blockspare-tab",innerBlocks:[{name:"blockspare/blockspare-tab",attributes:{tabTitles:[{title:"Tab 1"},{title:"Tab 2"},{title:"Tab 3"}]}}]}]},edit:lB,save:pB,deprecated:hB});var xB=n(126);const SB=wp.element.Component,EB=wp.blockEditor.InnerBlocks;var TB=class extends SB{render(){const e=this.props.attributes.id;return wp.element.createElement("div",{className:"blockspare-tab-content "+(1==e?"blockspare-active":"")},wp.element.createElement(EB.Content,null))}};const CB=wp.element.Component,MB=wp.blockEditor.InnerBlocks;var OB=class extends CB{render(){return wp.element.createElement("div",null,wp.element.createElement(MB,{templateLock:!1}))}};const LB=wp.i18n.__,DB=wp.blocks.registerBlockType,FB=xB.name,PB=xB.category;DB(FB,{title:LB("Tab","blockspare"),category:PB,parent:["blockspare/blockspare-tabs"],supports:{html:!1,inserter:!1,reusable:!1},icon:"cart",attributes:{uniqueId:{type:"string",default:""},id:{type:"number",default:1},customClassName:{type:"string",default:""}},getEditWrapperProps:e=>({"data-tab":e.id,className:"wp-block editor-block-list__block block-editor-block-list__block "+e.customClassName}),edit:OB,save:TB});var jB=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=[];return r.push({".blockspare-main-testimonial-wrapper":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0}}),vr.a.all(r)};const NB=wp.element.Component,zB=wp.compose.compose;var AB=zB(gr,mr(jB))(class extends NB{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.columns,a=t.columnsGap,r=t.align,i=e.className,l=(e.attributes,o()(i,"align"+r)),s=o()(["blockspare-main-testimonial-wrapper","blockspare-testimonial-admin","blockspare-testimonial-columns-"+n,"blockspare-testimonial-gap-"+a]);return wp.element.createElement("div",{className:l},wp.element.createElement("div",{className:s},this.props.styles,this.props.children))}});const YB=wp.components,BB=(YB.IconButton,YB.PanelBody),IB=YB.RangeControl,RB=(YB.ToggleControl,wp.i18n.__),HB=wp.element,WB=HB.Component,UB=(HB.Fragment,wp.blockEditor.InspectorControls);class GB extends WB{render(){const e=this.props,t=(e.attributes,e.isSelectedBlockInRoot,e.attributes),n=(t.uniqueId,t.columns),a=t.columnsGap,r=t.marginTop,i=t.marginBottom,o=e.setAttributes;return wp.element.createElement(UB,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(BB,{title:RB("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(IB,{label:RB("Columns","blockspare"),value:n,onChange:e=>this.props.setAttributes({columns:e}),min:1,max:3}),wp.element.createElement(IB,{label:RB("Columns Gap","blockspare"),value:a,onChange:e=>this.props.setAttributes({columnsGap:e}),min:0,max:4,step:1})),wp.element.createElement(BB,{title:RB("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:r,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>o({marginTop:e}),marginEnableBottom:!0,marginBottom:i,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>o({marginBottom:e})}))))}}n(627),n(628);var VB=n(127);const qB=wp.i18n.__,$B=wp.element.Component,JB=wp.blockEditor,XB=JB.InspectorControls,KB=JB.PanelColorSettings,QB=wp.components,ZB=QB.PanelBody,eI=(QB.SelectControl,QB.RangeControl);class tI extends $B{render(){const e=this.props,t=e.attributes,n=(t.starColor,t.starSize,t.enableRatings,t.titleFontSize),a=(t.subtitleFontSize,t.headerTagOption),r=t.headertitleColor,i=t.headersubtitleColor,o=t.headerlayoutOption,l=t.titlePaddingTop,s=t.titlePaddingBottom,c=t.subtitlePaddingTop,u=t.subtitlePaddingBottom,p=t.headerboxColor,d=t.dashColor,m=(t.testimonialDescriptionTextSize,t.testimonialDescriptionTextColor),f=t.backGroundColor,b=(t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.borderRadius,t.titleLoadGoogleFonts),g=t.titleFontFamily,h=t.titleFontWeight,v=t.titleFontSubset,y=t.titleFontSizeType,w=t.titleFontSizeMobile,k=t.titleFontSizeTablet,_=t.subTitleFontSize,x=t.subTitleLoadGoogleFonts,S=t.subTitleFontFamily,E=t.subTitleFontWeight,T=t.subTitleFontSubset,C=t.subTitleFontSizeType,M=t.subTitleFontSizeMobile,O=t.subTitleFontSizeTablet,L=t.descriptionFontSize,D=t.descriptionFontFamily,F=t.descriptionFontWeight,P=t.descriptionFontSubset,j=t.descriptionFontSizeType,N=t.descriptionFontSizeMobile,z=t.descriptionFontSizeTablet,A=t.descriptionLoadGoogleFonts,Y=t.padding,B=t.borderWidth,I=t.borderColor,R=e.attributes,H=e.setAttributes;qB("Layout 1","blockspare"),qB("Layout 2","blockspare"),qB("Layout 3","blockspare");return wp.element.createElement(XB,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(ZB,{title:qB("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(eI,{label:qB("Testimonial Column Padding","blockspare"),value:Y,onChange:e=>this.props.setAttributes({padding:e}),min:0,max:20,step:1}),wp.element.createElement(eI,{label:qB("Testimonial Column Border","blockspare"),value:B,onChange:e=>this.props.setAttributes({borderWidth:e}),min:0,max:10,step:1})),wp.element.createElement(ZB,{title:qB("Color Settings","blockspare"),initialOpen:!1},0<B&&wp.element.createElement(KB,{title:qB("Border Color","blockspare"),initialOpen:!1,colorSettings:[{value:I,onChange:e=>H({borderColor:e}),label:qB("Border Color","blockspare")}]}),wp.element.createElement(KB,{title:qB("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:f,onChange:e=>H({backGroundColor:e}),label:qB("Background Color","blockspare")}]}),wp.element.createElement(KB,{title:qB("Description Color","blockspare"),initialOpen:!1,colorSettings:[{value:m,onChange:e=>H({testimonialDescriptionTextColor:e}),label:qB("Description Color","blockspare")}]})),wp.element.createElement(ZB,{title:qB("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(tc,{headerlayoutOption:o,onChangeHeaderLayput:e=>H({headerlayoutOption:e})}),wp.element.createElement(ZB,{title:qB("Typography Settings","blockspare")},wp.element.createElement(Ps,{label:qB("Title Fonts Settings"),attributes:R,setAttributes:H,loadGoogleFonts:{value:b,label:qB("titleLoadGoogleFonts")},fontFamily:{value:g,label:qB("titleFontFamily")},fontWeight:{value:h,label:qB("titleFontWeight")},fontSubset:{value:v,label:qB("titleFontSubset")},fontSizeType:{value:y,label:qB("titleFontSizeType")},fontSize:{value:n,label:qB("titleFontSize")},fontSizeMobile:{value:w,label:qB("titleFontSizeMobile")},fontSizeTablet:{value:k,label:qB("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:a}),wp.element.createElement(Ps,{label:qB("Subtitle Fonts Settings"),attributes:R,setAttributes:H,loadGoogleFonts:{value:x,label:qB("subTitleLoadGoogleFonts")},fontFamily:{value:S,label:qB("subTitleFontFamily")},fontWeight:{value:E,label:qB("subTitleFontWeight")},fontSubset:{value:T,label:qB("subTitleFontSubset")},fontSizeType:{value:C,label:qB("subTitleFontSizeType")},fontSize:{value:_,label:qB("subTitleFontSize")},fontSizeMobile:{value:M,label:qB("subTitleFontSizeMobile")},fontSizeTablet:{value:O,label:qB("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),wp.element.createElement(Ps,{label:qB("Description"),attributes:R,setAttributes:H,loadGoogleFonts:{value:A,label:qB("descriptionLoadGoogleFonts")},fontFamily:{value:D,label:qB("descriptionFontFamily")},fontWeight:{value:F,label:qB("descriptionFontWeight")},fontSubset:{value:P,label:qB("descriptionFontSubset")},fontSizeType:{value:j,label:qB("descriptionFontSizeType")},fontSize:{value:L,label:qB("descriptionFontSize")},fontSizeMobile:{value:N,label:qB("descriptionFontSizeMobile")},fontSizeTablet:{value:z,label:qB("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(Fi,{enableBlockGaps:!1,headerTagOption:a,onChangeHeaderTag:e=>H({headerTagOption:e}),headerboxColor:p,onChangeboxcolor:e=>H({headerboxColor:e}),dashColor:d,headerlayoutOption:o,onChangeDashColor:e=>H({dashColor:e}),headertitleColor:r,onChangetitlecolor:e=>H({headertitleColor:e}),titlePaddingTop:l,onChangetitlePaddingTop:e=>H({titlePaddingTop:e}),titlePaddingBottom:s,onChangetitlePaddingBottom:e=>H({titlePaddingBottom:e}),headersubtitleColor:i,onChangesubtitlecolor:e=>H({headersubtitleColor:e}),subtitlePaddingTop:c,onChangesubtitlePaddingTop:e=>H({subtitlePaddingTop:e}),subtitlePaddingBottom:u,onChangesubtitlePaddingBottom:e=>H({subtitlePaddingBottom:e})}))))}}function nI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function aI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nI(Object(n),!0).forEach((function(t){rI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iI=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.subTitleFontSize,v=t.subTitleFontFamily,y=(t.subTitleFontWeight,t.subTitleFontSizeType),w=t.subTitleFontSizeMobile,k=t.subTitleFontSizeTablet,_=(t.descriptionColor,t.descriptionFontSize),x=t.descriptionFontFamily,S=t.descriptionFontWeight,E=(t.descriptionFontSubset,t.descriptionFontSizeType),T=t.descriptionFontSizeMobile,C=t.descriptionFontSizeTablet,M=(t.headerpaddingTop,t.headerpaddingRight,t.headerpaddingBottom,t.headerpaddingLeft,t.headermarginTop),O=t.headermarginBottom,L=t.testimonialDescriptionTextColor,D=(t.testimonialDescriptionTextSize,t.backGroundColor),F=t.borderRadius,P=t.borderWidth,j=t.borderColor,N=t.padding,z=[];return z.push({".blockspare-block-testimonial-wrap":aI({},kc(e.attributes),{backgroundColor:D||"#fff",borderWidth:P?P+"px":null,borderStyle:0<P?"solid":null,borderColor:j||null,borderRadius:F?F+"px":null,padding:N?N+"px":"15px"})}),z.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:i+"px",paddingBottom:o+"px",marginTop:M+"px",marginBottom:O+"px"}}),z.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m+"!important",paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:h+y,fontFamily:v,fontWeight:v+"!important",paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-description":{color:L,fontSize:_+E,fontFamily:x,textAlign:n,fontWeight:S+"!important"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:k+y},".blockspare-description":{fontSize:C+E}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:w+y},".blockspare-description":{fontSize:T+E}}}),vr.a.all(z)};const oI=blockspare_globals,lI=["core/image"],sI=[["core/image",{url:oI.menu_img_url,width:120,height:120,align:"center"}]],cI=wp.i18n.__,uI=wp.element,pI=uI.Component,dI=uI.Fragment,mI=wp.compose.compose,fI=wp.blockEditor,bI=fI.RichText,gI=fI.InnerBlocks,hI=fI.AlignmentToolbar,vI=fI.BlockControls;var yI=mI(gr,mr(iI))(class extends pI{render(){const e=this.props,t=e.attributes,n=t.align,a=t.testimonialDescription,r=t.enableRatings,i=t.starCount,l=t.starSize,s=t.starColor,c=t.selectedStars,u=t.emptyStarColor,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=(t.testimonialDescriptionTextSize,t.testimonialDescriptionTextColor,t.backGroundColor,t.borderRadius,t.titleLoadGoogleFonts),b=t.titleFontFamily,g=t.titleFontWeight,h=t.subTitleLoadGoogleFonts,v=t.subTitleFontFamily,y=t.subTitleFontWeight,w=t.headerlayoutOption,k=t.sectionAlignment,_=t.descriptionLoadGoogleFonts,x=t.descriptionFontFamily,S=t.descriptionFontWeight,E=e.className,T=e.highlightedStars,C=(e.attributes,e.setAttributes);let M;if(1==_){const e={google:{families:[x+(S?":"+S:"")]}};M=wp.element.createElement(Lr,{config:e})}const O=o()([E,"blockspare-testimonials","textalignment-"+k]);return wp.element.createElement(dI,null,wp.element.createElement(tI,this.props),wp.element.createElement(vI,{key:"controls"},wp.element.createElement(hI,{value:k,onChange:e=>{C({sectionAlignment:e})}})),wp.element.createElement("div",{className:O},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-testimonial-wrap")},wp.element.createElement("div",{className:"blockspare-author-wrap"},wp.element.createElement("div",{className:"blockspare-img-wrapper"},wp.element.createElement(gI,{template:sI,allowedBlocks:lI,templateLock:!0,templateInsertUpdatesSelection:!0}))),wp.element.createElement("div",{className:"blockspare-author-designation"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+n)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",w,"blockspare-"+k)},wp.element.createElement(wc,{setAttributes:C,headerTitle:d,headerTagOption:p,headerSubTitle:m,titleFontFamily:b,titleFontWeight:g,titleLoadGoogleFonts:f,subTitleLoadGoogleFonts:h,subTitleFontFamily:v,subTitleFontWeight:y})))),r&&wp.element.createElement("div",{className:"blockspare-star-rating"},wp.element.createElement("div",{className:"blockspare-star-outer-container"},wp.element.createElement("div",{className:"blockspare-star-inner-container",onMouseLeave:()=>this.setState({highlightedStars:0})},[...Array(i)].map((e,t)=>wp.element.createElement("div",{className:"blockspare-ratings",key:t,onMouseEnter:()=>{this.setState({highlightedStars:t+1})},onClick:()=>{C(c%1==0?{selectedStars:t+(c-1===t?.5:1)}:{selectedStars:t+(c-.5===t?1:.5)})}},t<(T||c)?T?T-1===t?c%1>0?T-c-.5!=0?wp.element.createElement(XA,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(KA,{size:l,fillColor:s||"#fbd012"}):T-c!=0?wp.element.createElement(KA,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(XA,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(KA,{size:l,fillColor:s||"#fbd012"}):c-t>=1?wp.element.createElement(KA,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(XA,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(JA,{size:l,fillColor:u||"#d5d3d3"})))))),wp.element.createElement("div",{className:"blockspare-testimonial-content"},wp.element.createElement(bI,{tagName:"p",className:"blockspare-description",onChange:e=>C({testimonialDescription:e}),value:a,placeholder:cI("Description","blockspare"),keepPlaceholderOnFocus:!0})))),M)}});const wI=wp.blockEditor,kI=wI.InnerBlocks,_I=wI.RichText,xI=wp.element.Component,SI=wp.compose.compose;var EI=SI(gr,mr(iI))(class extends xI{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.testimonialDescription,a=t.sectionAlignment,r=t.enableRatings,i=t.starCount,l=t.starSize,s=t.starColor,c=t.selectedStars,u=t.emptyStarColor,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=t.align,b=(t.testimonialDescriptionTextSize,t.testimonialDescriptionTextColor,t.backGroundColor,t.borderRadius,t.headerlayoutOption),g=e.className,h=(e.attributes,(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"})))),v=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let y=[];for(let e=0;e<i;e++)y.push(e<c?c-e>=1?(w=l,k=s,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:k||"#fbd012",width:w,height:w,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):h(l,s):v(l,u));var w,k;const _=o()([g,"blockspare-testimonials","textalignment-"+a]);return wp.element.createElement("div",{className:_},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-testimonial-wrap")},wp.element.createElement("div",{className:"blockspare-author-wrap"},wp.element.createElement("div",{className:"blockspare-img-wrapper"},wp.element.createElement(kI.Content,null))),wp.element.createElement("div",{className:"blockspare-author-designation"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+f)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",b,"blockspare-"+a)},wp.element.createElement(Xc,{headerTitle:d,headerTagOption:p,headerSubTitle:m})))),r&&wp.element.createElement("div",{className:"blockspare-star-rating"},wp.element.createElement("div",{className:"blockspare-star-outer-container"},wp.element.createElement("div",{className:"blockspare-star-inner-container"},y))),wp.element.createElement("div",{className:"blockspare-testimonial-content"},wp.element.createElement(_I.Content,{tagName:"p",className:"blockspare-description",value:n}))))}}),TI=n(128),CI=n(314);function MI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function OI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?MI(Object(n),!0).forEach((function(t){LI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function LI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var DI=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.subTitleFontSize,v=t.subTitleFontFamily,y=(t.subTitleFontWeight,t.subTitleFontSizeType),w=t.subTitleFontSizeMobile,k=t.subTitleFontSizeTablet,_=(t.descriptionColor,t.descriptionFontSize),x=t.descriptionFontFamily,S=t.descriptionFontWeight,E=(t.descriptionFontSubset,t.descriptionFontSizeType),T=t.descriptionFontSizeMobile,C=t.descriptionFontSizeTablet,M=t.headerpaddingTop,O=t.headerpaddingRight,L=t.headerpaddingBottom,D=t.headerpaddingLeft,F=t.headermarginTop,P=t.headermarginBottom,j=t.testimonialDescriptionTextColor,N=(t.testimonialDescriptionTextSize,t.backGroundColor),z=t.borderRadius,A=[];return A.push({".blockspare-block-testimonial-wrap":OI({},kc(e.attributes),{backgroundColor:N||"#fff",borderRadius:z||null})}),A.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:M+"px",paddingRight:O+"px",paddingBottom:L+"px",marginTop:F+"px",marginBottom:P+"px",paddingLeft:D+"px"}}),A.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m+"!important",paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:h+y,fontFamily:v,fontWeight:v+"!important",paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-description":{color:j,fontSize:_+E,fontFamily:x,fontWeight:S+"!important"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:k+y},".blockspare-description":{fontSize:C+E}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:w+y},".blockspare-description":{fontSize:T+E}}}),vr.a.all(A)};const FI=wp.blockEditor,PI=FI.InnerBlocks,jI=FI.RichText,NI=wp.element.Component,zI=wp.compose.compose;var AI=zI(gr,mr(DI))(class extends NI{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.testimonialDescription,a=t.sectionAlignment,r=t.enableRatings,i=t.starCount,l=t.starSize,s=t.starColor,c=t.selectedStars,u=t.emptyStarColor,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=t.align,b=(t.testimonialDescriptionTextSize,t.testimonialDescriptionTextColor,t.backGroundColor,t.borderRadius,t.headerlayoutOption),g=e.className,h=(e.attributes,(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"})))),v=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let y=[];for(let e=0;e<i;e++)y.push(e<c?c-e>=1?(w=l,k=s,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:k||"#fbd012",width:w,height:w,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):h(l,s):v(l,u));var w,k;const _=o()([g,"blockspare-testimonials"]);return wp.element.createElement("div",{className:_},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-testimonial-wrap")},wp.element.createElement("div",{className:"blockspare-author-wrap"},wp.element.createElement("div",{className:"blockspare-img-wrapper"},wp.element.createElement(PI.Content,null)),wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+f)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",b,"blockspare-"+a)},wp.element.createElement(Xc,{headerTitle:d,headerTagOption:p,headerSubTitle:m})))),r&&wp.element.createElement("div",{className:"blockspare-star-rating"},wp.element.createElement("div",{className:"blockspare-star-outer-container"},wp.element.createElement("div",{className:"blockspare-star-inner-container"},y))),wp.element.createElement("div",{className:"blockspare-testimonial-content"},wp.element.createElement(jI.Content,{tagName:"p",className:"blockspare-description",value:n}))))}});function YI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function BI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?YI(Object(n),!0).forEach((function(t){II(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function II(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var RI=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.subTitleFontSize,v=t.subTitleFontFamily,y=(t.subTitleFontWeight,t.subTitleFontSizeType),w=t.subTitleFontSizeMobile,k=t.subTitleFontSizeTablet,_=(t.descriptionColor,t.descriptionFontSize),x=t.descriptionFontFamily,S=t.descriptionFontWeight,E=(t.descriptionFontSubset,t.descriptionFontSizeType),T=t.descriptionFontSizeMobile,C=t.descriptionFontSizeTablet,M=t.headerpaddingTop,O=t.headerpaddingRight,L=t.headerpaddingBottom,D=t.headerpaddingLeft,F=t.headermarginTop,P=t.headermarginBottom,j=t.testimonialDescriptionTextColor,N=(t.testimonialDescriptionTextSize,t.backGroundColor),z=t.borderRadius,A=t.borderWidth,Y=t.borderColor,B=t.padding,I=[];return I.push({".blockspare-block-testimonial-wrap":BI({},kc(e.attributes),{backgroundColor:N||"#fff",borderWidth:A?A+"px":null,borderStyle:0<A?"solid":null,borderColor:Y||null,borderRadius:z||null,padding:B?B+"px":"15px"})}),I.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:M+"px",paddingRight:O+"px",paddingBottom:L+"px",marginTop:F+"px",marginBottom:P+"px",paddingLeft:D+"px"}}),I.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m+"!important",paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:h+y,fontFamily:v,fontWeight:v+"!important",paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-description":{color:j,fontSize:_+E,fontFamily:x,fontWeight:S+"!important"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:k+y},".blockspare-description":{fontSize:C+E}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:w+y},".blockspare-description":{fontSize:T+E}}}),vr.a.all(I)};const HI=wp.blockEditor,WI=HI.InnerBlocks,UI=HI.RichText,GI=wp.element.Component,VI=wp.compose.compose;var qI=VI(gr,mr(RI))(class extends GI{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.testimonialDescription,a=t.sectionAlignment,r=t.enableRatings,i=t.starCount,l=t.starSize,s=t.starColor,c=t.selectedStars,u=t.emptyStarColor,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=t.align,b=(t.testimonialDescriptionTextSize,t.testimonialDescriptionTextColor,t.backGroundColor,t.borderRadius,t.headerlayoutOption),g=e.className,h=(e.attributes,(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"})))),v=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let y=[];for(let e=0;e<i;e++)y.push(e<c?c-e>=1?(w=l,k=s,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:k||"#fbd012",width:w,height:w,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):h(l,s):v(l,u));var w,k;const _=o()([g,"blockspare-testimonials"]);return wp.element.createElement("div",{className:_},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-testimonial-wrap")},wp.element.createElement("div",{className:"blockspare-author-wrap"},wp.element.createElement("div",{className:"blockspare-img-wrapper"},wp.element.createElement(WI.Content,null)),wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+f)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",b,"blockspare-"+a)},wp.element.createElement(Xc,{headerTitle:d,headerTagOption:p,headerSubTitle:m})))),r&&wp.element.createElement("div",{className:"blockspare-star-rating"},wp.element.createElement("div",{className:"blockspare-star-outer-container"},wp.element.createElement("div",{className:"blockspare-star-inner-container"},y))),wp.element.createElement("div",{className:"blockspare-testimonial-content"},wp.element.createElement(UI.Content,{tagName:"p",className:"blockspare-description",value:n}))))}});function $I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function JI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$I(Object(n),!0).forEach((function(t){XI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function XI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const KI=wp.blockEditor,QI=KI.InnerBlocks,ZI=KI.RichText;var eR=[{attributes:JI({},xi,{},TI.attributes,{},Si),save:function(e){const t=e.attributes,n=t.testimonialDescription,a=t.sectionAlignment,r=t.enableRatings,i=t.starCount,l=t.starSize,s=t.starColor,c=t.selectedStars,u=t.emptyStarColor,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=t.testimonialDescriptionTextSize,b=t.testimonialDescriptionTextColor,g=t.backGroundColor,h=t.borderRadius,v=JI({},au(e.attributes)),y=JI({},ru(e.attributes)),w=JI({},iu(e.attributes)),k=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"}))),_=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let x=[];for(let e=0;e<i;e++)x.push(e<c?c-e>=1?(S=l,E=s,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:E||"#fbd012",width:S,height:S,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):k(l,s):_(l,u));var S,E;return wp.element.createElement("div",{className:o()("blockspare-block-testimonial-wrap"),style:JI({},kc(e),{borderRadius:h||null,backgroundColor:g||"#fff"})},wp.element.createElement("div",{className:"blockspare-author-wrap"},wp.element.createElement("div",{className:"blockspare-img-wrapper"},wp.element.createElement(QI.Content,null)),wp.element.createElement("div",{className:"blockspare-section-head-wrap",style:{textAlign:a}},wp.element.createElement(bu,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:v}),d&&wp.element.createElement(ZI.Content,{tagName:p,className:"blockspare-title",style:y,value:d}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:v})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:v}),m&&wp.element.createElement(ZI.Content,{tagName:"p",className:"blockspare-subtitle",style:w,value:m}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:v}))))),r&&wp.element.createElement("div",{className:"blockspare-star-rating"},wp.element.createElement("div",{className:"blockspare-star-outer-container"},wp.element.createElement("div",{className:"blockspare-star-inner-container"},x))),wp.element.createElement("div",{className:"blockspare-testimonial-content"},wp.element.createElement(ZI.Content,{tagName:"p",className:"blockspare-description",value:n,style:{fontSize:f+"px",color:b||"#6d6d6d"}})))}},{attributes:JI({},xi,{},TI.attributes,{},Si),save:e=>wp.element.createElement(AI,e)},{attributes:JI({},xi,{},CI.attributes,{},Si),save:e=>wp.element.createElement(qI,e)}];function tR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function nR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const aR=wp.i18n.__,rR=wp.blocks.registerBlockType,iR=VB.category,oR=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tR(Object(n),!0).forEach((function(t){nR(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tR(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},xi,{},VB.attributes,{},Si),lR={title:aR("Testimonial Item","blockspare"),description:aR("Display creative testimonial.","blockspare"),parent:["blockspare/blockspare-testimonial"],icon:r.testimonial,category:iR,supports:{html:!1,inserter:!1,reusable:!1},attributes:oR,edit:yI,save:EI,deprecated:eR};rR("blockspare/testimonial-item",lR);wp.i18n.__;const sR=wp.element,cR=sR.Component,uR=sR.Fragment,pR=wp.blocks.createBlock,dR=wp.data,mR=dR.withSelect,fR=dR.withDispatch,bR=wp.blockEditor.InnerBlocks,gR=wp.compose.compose;var hR=gR([mR((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,i=a.isBlockSelected,o=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:i(n)||o(n,!0)}}),fR(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends cR{constructor(...e){var t,n,a;super(...e),a=e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++)t.push(["blockspare/testimonial-item",{}]);return t},(n="getTestimonialTemplate")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertTestimonialItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=lR.heading;e=Object.assign({},{},{itemNumber:t,heading:n,active:!1,defaultText:""})}else e=lR;a(pR("blockspare/testimonial-item",e),void 0,n)}render(){const e=this.props.attributes;return[wp.element.createElement(uR,null,wp.element.createElement(GB,this.props),wp.element.createElement(AB,this.props,wp.element.createElement(bR,{template:this.getTestimonialTemplate(e),allowedBlocks:["blockspare/testimonial-item"]})))]}});const vR=wp.element.Component,yR=wp.blockEditor.InnerBlocks,wR=wp.compose.compose;var kR=wR(gr,mr(jB))(class extends vR{render(){const e=this.props,t=e.attributes,n=t.columns,a=t.columnsGap,r=t.align,i=(t.backgroundColor,e.className),l=o()(i,"align"+r),s=o()(["blockspare-main-testimonial-wrapper","blockspare-testimonial-columns-"+n,"blockspare-testimonial-gap-"+a]);return wp.element.createElement("div",{className:l},wp.element.createElement("div",{className:s},this.props.styles,wp.element.createElement(yR.Content,null)))}}),_R=n(53);const xR=wp.element.Component,SR=wp.blockEditor.InnerBlocks;var ER=class extends xR{render(){const e=this.props.attributes,t=e.columns,n=e.columnsGap,a=e.align,r=e.backgroundColor,i=o()([this.props.className,"blockspare-testimonial-wrapper","blockspare-testimonial-columns-"+t,"blockspare-testimonial-gap-"+n],{["align"+a]:a});return wp.element.createElement("div",{className:i||void 0,style:{backgroundColor:r||"transparent"}},wp.element.createElement(SR.Content,null))}};var TR=[{attributes:{serviceItems:{type:"number",default:2},columns:{type:"number",default:2},columnsGap:{type:"number",default:1},align:{type:"string",default:"center"},defaultItems:{type:"number",default:2},marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}},save:e=>wp.element.createElement(ER,e)}];const CR=wp.i18n.__,MR=wp.blocks.registerBlockType,OR=_R.name,LR=_R.category,DR=_R.attributes;MR(OR,{title:CR("BS Testimonial","blockspare"),description:CR("Add a testimonial","blockspare"),category:LR,icon:r.testimonial,attributes:DR,keywords:[CR("block","blockspare"),CR("testimonial","blockspare"),CR("team","blockspare"),CR("rating","blockspare")],example:{attributes:{cover:"https://blockspare.com",author:"blockspare",pages:500}},supports:{align:["wide","full","center"],html:!0},edit:hR,save:kR,deprecated:TR});n(629),n(630);var FR=n(46);const PR=wp.i18n.__,jR=wp.element.Component,NR=wp.blockEditor,zR=NR.InspectorControls,AR=NR.PanelColorSettings,YR=wp.components,BR=YR.PanelBody,IR=(YR.ToggleControl,YR.SelectControl),RR=YR.TextControl;YR.RangeControl;class HR extends jR{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.profileTextColor,a=(t.profileBackgroundColor,t.twitter),r=t.facebook,i=(t.instagram,t.youtube,t.linkedin),o=(t.buttonFill,t.paddingTop),l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.marginTop,p=t.marginBottom,d=(t.iconColorOption,t.customfontColorOption,t.custombackgroundColorOption,t.buttonShapes),m=t.buttonSizes,f=t.titleFontSize,b=(t.subtitleFontSize,t.headerTagOption),g=t.headertitleColor,h=t.headersubtitleColor,v=t.headerlayoutOption,y=t.titlePaddingTop,w=t.titlePaddingBottom,k=t.subtitlePaddingTop,_=t.subtitlePaddingBottom,x=t.headerboxColor,S=t.dashColor,E=(t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.borderRadius,t.titleLoadGoogleFonts),T=t.titleFontFamily,C=t.titleFontWeight,M=t.titleFontSubset,O=t.titleFontSizeType,L=t.titleFontSizeMobile,D=t.titleFontSizeTablet,F=t.subTitleFontSize,P=t.subTitleLoadGoogleFonts,j=t.subTitleFontFamily,N=t.subTitleFontWeight,z=t.subTitleFontSubset,A=t.subTitleFontSizeType,Y=t.subTitleFontSizeMobile,B=t.subTitleFontSizeTablet,I=t.descriptionFontSize,R=t.descriptionFontFamily,H=t.descriptionFontWeight,W=t.descriptionFontSubset,U=t.descriptionFontSizeType,G=t.descriptionFontSizeMobile,V=t.descriptionFontSizeTablet,q=t.descriptionLoadGoogleFonts,$=e.attributes,J=e.setAttributes,X=(PR("Layout 1","blockspare"),PR("Layout 2","blockspare"),PR("Layout 3","blockspare"),PR(" Official","blockspare"),PR("Custom","blockspare"),[{value:"blockspare-social-icon-square",label:PR("Square","blockspare")},{value:"blockspare-social-icon-circle",label:PR("Circle","blockspare")},{value:"blockspare-social-icon-rounded",label:PR("Rounded Square","blockspare")}]),K=[{value:"blockspare-social-icon-small",label:PR("Small","blockspare")},{value:"blockspare-social-icon-medium",label:PR("Medium","blockspare")},{value:"blockspare-social-icon-large",label:PR("Large","blockspare")}];PR("Solid","blockspare"),PR("Border","blockspare"),PR("None","blockspare");return wp.element.createElement(zR,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(BR,{title:PR("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(tc,{headerlayoutOption:v,onChangeHeaderLayput:e=>J({headerlayoutOption:e})}),wp.element.createElement(BR,{title:PR("Typography Settings","blockspare")},wp.element.createElement(Ps,{label:PR("Title Fonts Settings"),attributes:$,setAttributes:J,loadGoogleFonts:{value:E,label:PR("titleLoadGoogleFonts")},fontFamily:{value:T,label:PR("titleFontFamily")},fontWeight:{value:C,label:PR("titleFontWeight")},fontSubset:{value:M,label:PR("titleFontSubset")},fontSizeType:{value:O,label:PR("titleFontSizeType")},fontSize:{value:f,label:PR("titleFontSize")},fontSizeMobile:{value:L,label:PR("titleFontSizeMobile")},fontSizeTablet:{value:D,label:PR("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:b}),wp.element.createElement(Ps,{label:PR("Subtitle Fonts Settings"),attributes:$,setAttributes:J,loadGoogleFonts:{value:P,label:PR("subTitleLoadGoogleFonts")},fontFamily:{value:j,label:PR("subTitleFontFamily")},fontWeight:{value:N,label:PR("subTitleFontWeight")},fontSubset:{value:z,label:PR("subTitleFontSubset")},fontSizeType:{value:A,label:PR("subTitleFontSizeType")},fontSize:{value:F,label:PR("subTitleFontSize")},fontSizeMobile:{value:Y,label:PR("subTitleFontSizeMobile")},fontSizeTablet:{value:B,label:PR("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),wp.element.createElement(Ps,{label:PR("Description Fonts Settings"),attributes:$,setAttributes:J,loadGoogleFonts:{value:q,label:PR("descriptionLoadGoogleFonts")},fontFamily:{value:R,label:PR("descriptionFontFamily")},fontWeight:{value:H,label:PR("descriptionFontWeight")},fontSubset:{value:W,label:PR("descriptionFontSubset")},fontSizeType:{value:U,label:PR("descriptionFontSizeType")},fontSize:{value:I,label:PR("descriptionFontSize")},fontSizeMobile:{value:G,label:PR("descriptionFontSizeMobile")},fontSizeTablet:{value:V,label:PR("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(Fi,{enableBlockGaps:!1,headerTagOption:b,onChangeHeaderTag:e=>J({headerTagOption:e}),headerboxColor:x,onChangeboxcolor:e=>J({headerboxColor:e}),dashColor:S,headerlayoutOption:v,onChangeDashColor:e=>J({dashColor:e}),headertitleColor:g,onChangetitlecolor:e=>J({headertitleColor:e}),titlePaddingTop:y,onChangetitlePaddingTop:e=>J({titlePaddingTop:e}),titlePaddingBottom:w,onChangetitlePaddingBottom:e=>J({titlePaddingBottom:e}),headersubtitleColor:h,onChangesubtitlecolor:e=>J({headersubtitleColor:e}),subtitlePaddingTop:k,onChangesubtitlePaddingTop:e=>J({subtitlePaddingTop:e}),subtitlePaddingBottom:_,onChangesubtitlePaddingBottom:e=>J({subtitlePaddingBottom:e})})),wp.element.createElement(BR,{title:PR("Color Settings","blockspare"),initialOpen:!1},wp.element.createElement(AR,{title:PR("Colors","blockspare"),initialOpen:!1,colorSettings:[{value:n,onChange:e=>J({profileTextColor:e}),label:PR("Description Color","blockspare")}]})),wp.element.createElement(BR,{title:PR("Social link Urls","blockspare"),className:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(RR,{label:PR("Facebook Url","blockspare"),type:"text",value:r,onChange:e=>this.props.setAttributes({facebook:e})}),wp.element.createElement(RR,{label:PR("LinkedIn Url","blockspare"),type:"text",value:i,onChange:e=>this.props.setAttributes({linkedin:e})}),wp.element.createElement(RR,{label:PR("Twitter Url","blockspare"),type:"text",value:a,onChange:e=>this.props.setAttributes({twitter:e})})),wp.element.createElement(BR,{title:PR("Social Icon Option","blockspare"),initialOpen:!1},wp.element.createElement(IR,{label:PR("Size","blockspare"),options:K,value:m,onChange:e=>this.props.setAttributes({buttonSizes:e})}),wp.element.createElement(IR,{label:PR("Shape","blockspare"),options:X,value:d,onChange:e=>this.props.setAttributes({buttonShapes:e})})),wp.element.createElement(BR,{title:PR("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(BR,{title:PR("Padding Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:o,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>J({paddingTop:e}),paddingEnableRight:!0,paddingRight:l,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>J({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:s,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>J({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:c,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>J({paddingLeft:e})})),wp.element.createElement(BR,{title:PR("Margin Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:u,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>J({marginTop:e}),marginEnableBottom:!0,marginBottom:p,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>J({marginBottom:e})})))))}}wp.element.Component;const WR=wp.i18n.__,UR=wp.element.Component;class GR extends UR{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=e.facebook,n=e.linkedin,a=e.instagram,r=e.twitter,i=e.youtube,l=e.iconColorOption,s=e.buttonShapes,c=e.buttonSizes,u=e.buttonOptions,p=e.buttonFills;return wp.element.createElement("ul",{className:o()("blockspare-social-links",l,s,c,u,p)},t&&wp.element.createElement("li",null,wp.element.createElement("a",{href:t,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},WR("Facebook","blockspare"))))),n&&wp.element.createElement("li",null,wp.element.createElement("a",{href:n,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},WR("Linkedin","blockspare"))))),a&&wp.element.createElement("li",null,wp.element.createElement("a",{href:a,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},WR("Instagram","blockspare"))))),r&&wp.element.createElement("li",null,wp.element.createElement("a",{href:r,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},WR("Twitter","blockspare"))))),i&&wp.element.createElement("li",null,wp.element.createElement("a",{href:i,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},WR("Youtube","blockspare"))))))}}const VR=wp.element.Component;class qR extends VR{constructor(e){super(...arguments)}render(){return wp.element.createElement("div",{className:"blockspare-profile-column blockspare-profile-avatar-wrap"},wp.element.createElement("div",{className:"blockspare-profile-image-wrap"},this.props.children))}}function $R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function JR(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$R(Object(n),!0).forEach((function(t){XR(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function XR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var KR=e=>{const t=e.attributes,n=t.profileBackgroundColor,a=t.profileTextColor,r=t.borderRadius,i=t.buttonFills,o=t.iconColorOption,l=t.paddingTop,s=t.paddingRight,c=t.paddingBottom,u=t.paddingLeft,p=t.marginTop,d=t.marginBottom,m=(t.profileContentFontSize,t.sectionAlignment),f=t.headertitleColor,b=t.titleFontSize,g=t.titlePaddingTop,h=t.titlePaddingBottom,v=t.headersubtitleColor,y=(t.subtitleFontSize,t.subtitlePaddingTop),w=t.subtitlePaddingBottom,k=t.dashColor,_=t.headerboxColor,x=t.titleFontFamily,S=t.titleFontWeight,E=t.titleFontSizeType,T=t.titleFontSizeMobile,C=t.titleFontSizeTablet,M=t.subTitleFontSize,O=t.subTitleFontFamily,L=t.subTitleFontWeight,D=t.subTitleFontSizeType,F=t.subTitleFontSizeMobile,P=t.subTitleFontSizeTablet,j=(t.descriptionColor,t.descriptionFontSize),N=t.descriptionFontFamily,z=t.descriptionFontWeight,A=(t.descriptionFontSubset,t.descriptionFontSizeType),Y=t.descriptionFontSizeMobile,B=t.descriptionFontSizeTablet,I=t.headerpaddingTop,R=t.headerpaddingRight,H=t.headerpaddingBottom,W=t.headerpaddingLeft,U=t.headermarginTop,G=t.headermarginBottom,V=t.customfontColorOption,q=t.custombackgroundColorOption,$=[];return $.push({".blockspare-author-wrapper":JR({backgroundColor:n||"#fff",paddingTop:l?l+"px":"0px",paddingRight:s?s+"px":"0px",paddingBottom:c?c+"px":"0px",paddingLeft:u?u+"px":"0px",borderRadius:r?r+"px":null},kc(e.attributes)),".blockspare-section-wrapper":{marginTop:p?p+"px":"0px",marginBottom:d?d+"px":"0px"},".blockspare-block-profile":{color:a||"#6d6d6d"},".blockspare-profile-text-description":{fontSize:j+A,fontFamily:N+"!important",fontWeight:z+"!important"}}),"blockspare-default-official-color"!=o&&("blockspare-social-icon-border"==i?$.push({".blockspare-author-wrapper .blockspare-social-links a":{color:V,border:"2px solid "+q}}):"blockspare-social-icon-solid"==i?$.push({".blockspare-social-links a":{color:V,backgroundColor:q}}):$.push({".blockspare-social-links a":{color:V}})),$.push({".blockspare-section-head-wrap":{backgroundColor:_||"transparent",textAlign:m,paddingTop:I+"px",paddingRight:R+"px",paddingBottom:H+"px",marginTop:U+"px",marginBottom:G+"px",paddingLeft:W+"px"}}),$.push({".blockspare-section-head-wrap .blockspare-title":{color:f,fontSize:b+E,fontFamily:x,fontWeight:S+"!important",paddingTop:g+"px ",paddingBottom:h+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:v,fontSize:M+D,fontFamily:O,fontWeight:L+"!important",paddingTop:y+"px",paddingBottom:w+"px"},".blockspare-user-profile-desc":{fontSize:j+A,fontFamily:N,fontWeight:z+"!important"},".blockspare-title-dash":{color:k},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:C+E},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:P+D},".blockspare-user-profile-desc":{fontSize:B+A}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:T+E},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:F+D},".blockspare-user-profile-desc":{fontSize:Y+A}}}),vr.a.all($)};function QR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ZR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const eH=wp.compose.compose,tH=blockspare_globals,nH=["core/image"],aH=[["core/image",{url:tH.menu_img_url,width:120,height:120,align:"center"}]],rH=wp.i18n.__,iH=wp.element,oH=iH.Component,lH=iH.Fragment,sH=wp.blockEditor,cH=sH.RichText,uH=sH.AlignmentToolbar,pH=sH.BlockControls,dH=sH.InnerBlocks;var mH=eH(gr,mr(KR))(class extends oH{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.headerTagOption,r=t.headerTitle,i=t.headerSubTitle,l=t.profileContent,s=t.headerlayoutOption,c=t.titleLoadGoogleFonts,u=t.titleFontFamily,p=t.titleFontWeight,d=t.subTitleLoadGoogleFonts,m=t.subTitleFontFamily,f=t.subTitleFontWeight,b=t.descriptionLoadGoogleFonts,g=t.descriptionFontFamily,h=t.descriptionFontWeight,v=e.className,y=(e.attributes,e.setAttributes);let w,k="";if(k="left"==n?"blockspare-layout-left":"right"==n?"blockspare-layout-right":"blockspare-layout-center",1==b){const e={google:{families:[g+(h?":"+h:"")]}};w=wp.element.createElement(Lr,{config:e})}const _=o()([v,"blockspare-authorprofile"]);return wp.element.createElement(lH,null,wp.element.createElement("div",{className:_},wp.element.createElement("div",{className:"blockspare-section-wrapper"},this.props.styles,wp.element.createElement("div",{className:"blockspare-author-wrapper blockspare-blocks"},wp.element.createElement(pH,{key:"controls"},wp.element.createElement(uH,{value:n,onChange:e=>y({sectionAlignment:e})})),wp.element.createElement(HR,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?QR(Object(n),!0).forEach((function(t){ZR(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QR(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:y},this.props)),wp.element.createElement("div",{className:o()("blockspare-profile-admin",k,"blockspare-block-profile","blockspare-profile-columns")},wp.element.createElement(qR,this.props,wp.element.createElement(dH,{template:aH,allowedBlocks:nH,templateLock:!0,templateInsertUpdatesSelection:!0})),wp.element.createElement("div",{className:o()("blockspare-profile-column blockspare-profile-content-wrap")},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+n)},wp.element.createElement(wc,{setAttributes:y,headerTitle:r,headerTagOption:a,headerSubTitle:i,titleFontFamily:u,titleFontWeight:p,titleLoadGoogleFonts:c,subTitleLoadGoogleFonts:d,subTitleFontFamily:m,subTitleFontWeight:f}))),wp.element.createElement(cH,{tagName:"div",className:o()("blockspare-profile-text","blockspare-user-profile-desc"),multiline:"p",placeholder:rH("Add your content...","blockspare"),keepPlaceholderOnFocus:!0,value:l,allowedFormats:["bold","italic","strikethrough","link"],onChange:e=>y({profileContent:e})}),wp.element.createElement(GR,this.props)))),w)))}});const fH=wp.compose.compose,bH=wp.element.Component,gH=wp.blockEditor,hH=gH.RichText,vH=gH.InnerBlocks;var yH=fH(gr,mr(KR))(class extends bH{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.profileContent,r=t.headerTagOption,i=t.headerTitle,l=t.headerSubTitle,s=(t.profileContentFontSize,t.headerlayoutOption),c=(t.align,e.className),u=o()([c,"blockspare-authorprofile authorbox"]);let p="";return p="left"==n?"blockspare-layout-left":"right"==n?"blockspare-layout-right":"blockspare-layout-center",wp.element.createElement("div",{className:u},wp.element.createElement("div",{className:"blockspare-section-wrapper"},this.props.styles,wp.element.createElement("div",{className:"blockspare-author-wrapper blockspare-blocks"},wp.element.createElement("div",{className:o()(p,"blockspare-block-profile","blockspare-profile-columns")},wp.element.createElement(qR,this.props,wp.element.createElement(vH.Content,null)),wp.element.createElement("div",{className:o()("blockspare-profile-column blockspare-profile-content-wrap")},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+n)},wp.element.createElement(Xc,{headerTitle:i,headerTagOption:r,headerSubTitle:l}))),a&&wp.element.createElement(hH.Content,{tagName:"div",className:o()("blockspare-profile-text","blockspare-user-profile-desc"),value:a}),wp.element.createElement(GR,this.props))))))}}),wH=n(129);function kH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function _H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const xH=wp.element.Component;class SH extends xH{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerlayoutOption,i=e.attributes,l=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kH(Object(n),!0).forEach((function(t){_H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kH(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},pu(i)));return wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+n),style:l},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",r,"blockspare-"+a)},this.props.children))}}function EH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function TH(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?EH(Object(n),!0).forEach((function(t){CH(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):EH(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function CH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const MH=wp.i18n.__,OH=wp.element.Component,LH=wp.blockEditor,DH=LH.RichText,FH=LH.InnerBlocks;class PH extends OH{constructor(){super(...arguments)}render(){const e=this.props.attributes,t=e.sectionAlignment,n=e.profileImgURL,a=e.profileFontSize,r=e.profileBackgroundColor,i=e.profileTextColor,l=e.profileAvatarShape,s=e.borderRadius,c=e.profileContent,u=e.paddingTop,p=e.paddingRight,d=e.paddingBottom,m=e.paddingLeft,f=e.marginTop,b=e.marginBottom,g=e.headerTagOption,h=e.headerTitle,v=e.headerSubTitle,y=e.profileContentFontSize,w=e.iconColorOption,k=e.customfontColorOption,_=e.custombackgroundColorOption,x=e.facebook,S=e.linkedin,E=e.instagram,T=e.twitter,C=e.youtube,M=e.buttonShapes,O=e.buttonSizes,L=e.buttonOptions,D=e.buttonFills,F={paddingTop:u?u+"px":"0px",paddingRight:p?p+"px":"0px",paddingBottom:d?d+"px":"0px",paddingLeft:m?m+"px":"0px",marginTop:f?f+"px":"0px",marginBottom:b?b+"px":"0px"};let P="";P="left"==t?"blockspare-layout-left":"right"==t?"blockspare-layout-right":"blockspare-layout-center";const j=TH({},au(this.props.attributes)),N=TH({},ru(this.props.attributes)),z=TH({},iu(this.props.attributes));let A="";return A="blockspare-default-official-color"!=w?{color:k,backgroundColor:_}:{},wp.element.createElement("div",{className:"blockspare-author-wrapper blockspare-blocks",style:F},wp.element.createElement("div",{style:TH({},kc(this.props.attributes),{backgroundColor:r||"#f2f2f2",color:i||"#6d6d6d",borderRadius:s||null}),className:o()(this.props.className,l,P,{"blockspare-has-avatar":n},"blockspare-font-size-"+a,"blockspare-block-profile","blockspare-profile-columns")},wp.element.createElement(qR,this.props,wp.element.createElement(FH.Content,null)),wp.element.createElement("div",{className:o()("blockspare-profile-column blockspare-profile-content-wrap")},wp.element.createElement(SH,this.props,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:j}),h&&wp.element.createElement(DH.Content,{tagName:g,className:"blockspare-title",style:N,value:h}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:j})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:j}),v&&wp.element.createElement(DH.Content,{tagName:"p",className:"blockspare-subtitle",style:z,value:v}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:j}))),c&&wp.element.createElement(DH.Content,{tagName:"div",className:"blockspare-profile-text",value:c,style:{fontSize:y+"px"}}),wp.element.createElement("ul",{className:o()("blockspare-social-links",w,M,O,L,D)},x&&wp.element.createElement("li",null,wp.element.createElement("a",{style:A,href:x,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},MH("Facebook","blockspare")))),S&&wp.element.createElement("li",null,wp.element.createElement("a",{style:A,href:S,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},MH("Linkedin","blockspare")))),E&&wp.element.createElement("li",null,wp.element.createElement("a",{style:A,href:E,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},MH("Instagram","blockspare")))),T&&wp.element.createElement("li",null,wp.element.createElement("a",{style:A,href:T,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},MH("Twitter","blockspare")))),C&&wp.element.createElement("li",null,wp.element.createElement("a",{style:A,href:C,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},MH("Youtube","blockspare"))))))))}}const jH=wp.element.Component;class NH extends jH{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.profileImgURL,r=t.profileFontSize,i=t.profileAvatarShape;e.attributes;let l="";return l="left"==n?"blockspare-layout-left":"right"==n?"blockspare-layout-right":"blockspare-layout-center",wp.element.createElement("div",{className:o()(this.props.className,i,l,{"blockspare-has-avatar":a},"blockspare-font-size-"+r,"blockspare-block-profile","blockspare-profile-columns")},this.props.children)}}const zH=wp.i18n.__,AH=wp.element.Component;class YH extends AH{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=e.facebook,n=e.linkedin,a=e.instagram,r=e.twitter,i=e.youtube,l=e.iconColorOption,s=e.buttonShapes,c=e.buttonSizes,u=e.buttonOptions,p=e.buttonFills;return wp.element.createElement("ul",{className:o()("blockspare-social-links",l,s,c,u,p)},t&&wp.element.createElement("li",null,wp.element.createElement("a",{href:t,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},zH("Facebook","blockspare")))),n&&wp.element.createElement("li",null,wp.element.createElement("a",{href:n,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},zH("Linkedin","blockspare")))),a&&wp.element.createElement("li",null,wp.element.createElement("a",{href:a,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},zH("Instagram","blockspare")))),r&&wp.element.createElement("li",null,wp.element.createElement("a",{href:r,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},zH("Twitter","blockspare")))),i&&wp.element.createElement("li",null,wp.element.createElement("a",{href:i,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},zH("Youtube","blockspare")))))}}function BH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function IH(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?BH(Object(n),!0).forEach((function(t){RH(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):BH(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function RH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var HH=e=>{const t=e.attributes,n=t.profileBackgroundColor,a=t.profileTextColor,r=t.borderRadius,i=t.iconColorOption,o=t.paddingTop,l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.marginTop,p=t.marginBottom,d=(t.profileContentFontSize,t.sectionAlignment),m=t.headertitleColor,f=t.titleFontSize,b=t.titlePaddingTop,g=t.titlePaddingBottom,h=t.headersubtitleColor,v=(t.subtitleFontSize,t.subtitlePaddingTop),y=t.subtitlePaddingBottom,w=t.dashColor,k=t.headerboxColor,_=t.titleFontFamily,x=t.titleFontWeight,S=t.titleFontSizeType,E=t.titleFontSizeMobile,T=t.titleFontSizeTablet,C=t.subTitleFontSize,M=t.subTitleFontFamily,O=t.subTitleFontWeight,L=t.subTitleFontSizeType,D=t.subTitleFontSizeMobile,F=t.subTitleFontSizeTablet,P=(t.descriptionColor,t.descriptionFontSize),j=t.descriptionFontFamily,N=t.descriptionFontWeight,z=(t.descriptionFontSubset,t.descriptionFontSizeType),A=t.descriptionFontSizeMobile,Y=t.descriptionFontSizeTablet,B=t.headerpaddingTop,I=t.headerpaddingRight,R=t.headerpaddingBottom,H=t.headerpaddingLeft,W=t.headermarginTop,U=t.headermarginBottom,G=t.customfontColorOption,V=t.custombackgroundColorOption,q=[];return q.push({".blockspare-author-wrapper":{backgroundColor:n||"#fff",paddingTop:o?o+"px":"0px",paddingRight:l?l+"px":"0px",paddingBottom:s?s+"px":"0px",paddingLeft:c?c+"px":"0px",marginTop:u?u+"px":"0px",marginBottom:p?p+"px":"0px"},".blockspare-block-profile":IH({},kc(e.attributes),{color:a||"#6d6d6d",borderRadius:r||null}),".blockspare-profile-text-description":{fontSize:P+z,fontFamily:j+"!important",fontWeight:N+"!important"}}),"blockspare-default-official-color"!=i&&q.push({".blockspare-social-links a":{color:G,backgroundColor:V}}),q.push({".blockspare-section-head-wrap":{backgroundColor:k||"transparent",textAlign:d,paddingTop:B+"px",paddingRight:I+"px",paddingBottom:R+"px",marginTop:W+"px",marginBottom:U+"px",paddingLeft:H+"px"}}),q.push({".blockspare-section-head-wrap .blockspare-title":{color:m,fontSize:f+S,fontFamily:_,fontWeight:x+"!important",paddingTop:b+"px ",paddingBottom:g+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:h,fontSize:C+L,fontFamily:M,fontWeight:O+"!important",paddingTop:v+"px",paddingBottom:y+"px"},".blockspare-user-profile-desc":{fontSize:P+z,fontFamily:j,fontWeight:N+"!important"},".blockspare-title-dash":{color:w},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:T+S},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:F+L},".blockspare-user-profile-desc":{fontSize:Y+z}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:E+S},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:D+L},".blockspare-user-profile-desc":{fontSize:A+z}}}),vr.a.all(q)};const WH=wp.compose.compose,UH=wp.element.Component,GH=wp.blockEditor,VH=GH.RichText,qH=GH.InnerBlocks;var $H=WH(gr,mr(HH))(class extends UH{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.profileContent,r=t.headerTagOption,i=t.headerTitle,l=t.headerSubTitle,s=(t.profileContentFontSize,t.headerlayoutOption),c=t.align,u=e.className,p=o()([u,"blockspare-authorprofile"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:"blockspare-author-wrapper blockspare-blocks"},wp.element.createElement(NH,this.props,wp.element.createElement(qR,this.props,wp.element.createElement(qH.Content,null)),wp.element.createElement("div",{className:o()("blockspare-profile-column blockspare-profile-content-wrap")},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+c)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+n)},wp.element.createElement(Xc,{headerTitle:i,headerTagOption:r,headerSubTitle:l}))),a&&wp.element.createElement(VH.Content,{tagName:"div",className:o()("blockspare-profile-text","blockspare-user-profile-desc"),value:a}),wp.element.createElement(YH,this.props)))))}});function JH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function XH(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JH(Object(n),!0).forEach((function(t){KH(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JH(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function KH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var QH=e=>{const t=e.attributes,n=t.profileBackgroundColor,a=t.profileTextColor,r=t.borderRadius,i=t.iconColorOption,o=t.paddingTop,l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.marginTop,p=t.marginBottom,d=(t.profileContentFontSize,t.sectionAlignment),m=t.headertitleColor,f=t.titleFontSize,b=t.titlePaddingTop,g=t.titlePaddingBottom,h=t.headersubtitleColor,v=(t.subtitleFontSize,t.subtitlePaddingTop),y=t.subtitlePaddingBottom,w=t.dashColor,k=t.headerboxColor,_=t.titleFontFamily,x=t.titleFontWeight,S=t.titleFontSizeType,E=t.titleFontSizeMobile,T=t.titleFontSizeTablet,C=t.subTitleFontSize,M=t.subTitleFontFamily,O=t.subTitleFontWeight,L=t.subTitleFontSizeType,D=t.subTitleFontSizeMobile,F=t.subTitleFontSizeTablet,P=(t.descriptionColor,t.descriptionFontSize),j=t.descriptionFontFamily,N=t.descriptionFontWeight,z=(t.descriptionFontSubset,t.descriptionFontSizeType),A=t.descriptionFontSizeMobile,Y=t.descriptionFontSizeTablet,B=t.headerpaddingTop,I=t.headerpaddingRight,R=t.headerpaddingBottom,H=t.headerpaddingLeft,W=t.headermarginTop,U=t.headermarginBottom,G=t.customfontColorOption,V=t.custombackgroundColorOption,q=[];return q.push({".blockspare-author-wrapper":{backgroundColor:n||"#fff",paddingTop:o?o+"px":"0px",paddingRight:l?l+"px":"0px",paddingBottom:s?s+"px":"0px",paddingLeft:c?c+"px":"0px"},".blockspare-section-wrapper":{marginTop:u?u+"px":"0px",marginBottom:p?p+"px":"0px"},".blockspare-block-profile":XH({},kc(e.attributes),{color:a||"#6d6d6d",borderRadius:r||null}),".blockspare-profile-text-description":{fontSize:P+z,fontFamily:j+"!important",fontWeight:N+"!important"}}),"blockspare-default-official-color"!=i&&q.push({".blockspare-social-links a span":{color:G,backgroundColor:V}}),q.push({".blockspare-section-head-wrap":{backgroundColor:k||"transparent",textAlign:d,paddingTop:B+"px",paddingRight:I+"px",paddingBottom:R+"px",marginTop:W+"px",marginBottom:U+"px",paddingLeft:H+"px"}}),q.push({".blockspare-section-head-wrap .blockspare-title":{color:m,fontSize:f+S,fontFamily:_,fontWeight:x+"!important",paddingTop:b+"px ",paddingBottom:g+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:h,fontSize:C+L,fontFamily:M,fontWeight:O+"!important",paddingTop:v+"px",paddingBottom:y+"px"},".blockspare-user-profile-desc":{fontSize:P+z,fontFamily:j,fontWeight:N+"!important"},".blockspare-title-dash":{color:w},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:T+S},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:F+L},".blockspare-user-profile-desc":{fontSize:Y+z}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:E+S},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:D+L},".blockspare-user-profile-desc":{fontSize:A+z}}}),vr.a.all(q)};const ZH=wp.compose.compose,eW=wp.element.Component,tW=wp.blockEditor,nW=tW.RichText,aW=tW.InnerBlocks;var rW=ZH(gr,mr(QH))(class extends eW{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.profileContent,r=t.headerTagOption,i=t.headerTitle,l=t.headerSubTitle,s=(t.profileContentFontSize,t.headerlayoutOption),c=t.align,u=e.className,p=o()([u,"blockspare-authorprofile"]);let d="";return d="left"==n?"blockspare-layout-left":"right"==n?"blockspare-layout-right":"blockspare-layout-center",wp.element.createElement("div",{className:p},wp.element.createElement("div",{className:"blockspare-section-wrapper"},this.props.styles,wp.element.createElement("div",{className:"blockspare-author-wrapper blockspare-blocks"},wp.element.createElement("div",{className:o()(d,"blockspare-block-profile","blockspare-profile-columns")},wp.element.createElement(qR,this.props,wp.element.createElement(aW.Content,null)),wp.element.createElement("div",{className:o()("blockspare-profile-column blockspare-profile-content-wrap")},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+c)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+n)},wp.element.createElement(Xc,{headerTitle:i,headerTagOption:r,headerSubTitle:l}))),a&&wp.element.createElement(nW.Content,{tagName:"div",className:o()("blockspare-profile-text","blockspare-user-profile-desc"),value:a}),wp.element.createElement(GR,this.props))))))}});function iW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function oW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iW(Object(n),!0).forEach((function(t){lW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iW(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const sW=oW({},xi,{},wH.attributes,{},Si),cW=oW({},xi,{},FR.attributes,{},Si);var uW=[{attributes:sW,save:e=>wp.element.createElement(PH,e)},{attributes:oW({},xi,{},wH.attributes,{},Si),save:e=>wp.element.createElement($H,e)},{attributes:cW,save:e=>wp.element.createElement(rW,e)}];function pW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function dW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const mW=wp.i18n.__,fW=wp.blocks.registerBlockType,bW=FR.name,gW=FR.category,hW=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pW(Object(n),!0).forEach((function(t){dW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pW(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},xi,{},FR.attributes,{},Si);fW(bW,{title:mW("BS User Profile","blockspare"),description:mW("Add User profile","blockspare"),category:gW,icon:r.userprofile,attributes:hW,keywords:[mW("block","blockspare"),mW("user","blockspare"),mW("profile","blockspare"),mW("team","blockspare")],example:{attributes:{profileBackgroundColor:"#f2f2f2"}},supports:{align:["center","wide","full"]},edit:mH,save:yH,deprecated:uW});n(631),n(632);const vW=wp.i18n.__,yW=wp.element,wW=yW.Component,kW=(yW.Fragment,wp.blockEditor),_W=kW.InspectorControls,xW=kW.PanelColorSettings,SW=wp.components,EW=SW.PanelBody,TW=SW.RangeControl,CW=SW.ToggleControl;class MW extends wW{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=e.design,n=void 0===t?"double-wave":t,a=(e.width,e.height),r=e.color,i=e.marginTop,o=e.marginBottom,l=e.verticalFlip,s=e.horizontalFlip,c=this.props.setAttributes;return wp.element.createElement(_W,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Qs,null,wp.element.createElement(qs,{onChange:e=>c({design:e}),selected:n,excludeDesigns:["straight-1"]})),wp.element.createElement(EW,{title:vW("Divider Settings","blockspare"),initialOpen:!1},wp.element.createElement(CW,{label:vW("Flip Vertically","blockspare"),checked:l,onChange:()=>this.props.setAttributes({verticalFlip:!l})}),wp.element.createElement(CW,{label:vW("Flip Horizontally","blockspare"),checked:s,onChange:()=>this.props.setAttributes({horizontalFlip:!s})}),wp.element.createElement(xW,{title:vW("Shape Color","blockspare"),initialOpen:!0,colorSettings:[{value:r,onChange:e=>c({color:e}),label:vW("Shape Color","blockspare")}]}),wp.element.createElement(TW,{label:vW("Height","blockspare"),value:a,onChange:e=>c({height:e}),min:30,step:2,max:300})),wp.element.createElement(EW,{title:vW("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(EW,{title:vW("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ne,{marginEnableTop:!0,marginTop:i,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>c({marginTop:e}),marginEnableBottom:!0,marginBottom:o,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>c({marginBottom:e})})))))}}function OW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function LW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?OW(Object(n),!0).forEach((function(t){DW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):OW(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function DW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var FW=e=>{const t=e.attributes,n=t.height,a=t.color,r=[];return r.push({".blockspare-svg-wrapper":LW({color:a||"#3c1a5b",height:n+"px"},_c(e.attributes))}),vr.a.all(r)};function PW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function jW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const NW=wp.element,zW=NW.Component,AW=NW.Fragment,YW=wp.compose.compose;var BW=YW(gr,mr(FW))(class extends zW{constructor(e){super(...arguments)}render(){const e=this.props,t=e.className,n=e.attributes,a=n.design,r=void 0===a?"double-wave":a,i=n.layer1Shadow,l=void 0!==i&&i,s=n.width,c=(n.height,n.verticalFlip),u=n.horizontalFlip,p=(n.color,e.attributes,e.isSelected,e.setAttributes),d=o()([t]);let m=o()("blockspare-blocks blockspare-svg-wrapper",function(e){return"has-width-"+e.toString().replace(".","-")}(s),{"is-vertically-flipped":c,"is-horizontally-flipped":u});return wp.element.createElement(AW,null,wp.element.createElement(MW,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PW(Object(n),!0).forEach((function(t){jW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PW(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:p},this.props)),wp.element.createElement("div",{className:d},this.props.styles,wp.element.createElement("div",{className:m},wp.element.createElement(dm,{design:r,shadow:l,className:"blockspare-svg-svg-inner"}))))}});const IW=wp.element,RW=IW.Component,HW=IW.Fragment,WW=wp.compose.compose;var UW=WW(gr,mr(FW))(class extends RW{render(){const e=this.props.className,t=this.props,n=t.attributes,a=n.design,r=void 0===a?"double-wave":a,i=(n.align,n.width),l=(n.height,n.verticalFlip),s=n.horizontalFlip,c=(n.color,t.attributes,o()([e]));let u=o()("blockspare-blocks blockspare-svg-wrapper",{"is-vertically-flipped":l,"is-horizontally-flipped":s},function(e){return"has-width-"+e.toString().replace(".","-")}(i));return wp.element.createElement(HW,null,wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:u},wp.element.createElement(dm,{design:r,className:"blockspare-svg-svg-inner"}))))}});var GW=n(21);const VW=wp.element,qW=VW.Component,$W=VW.Fragment,JW=wp.compose.compose;var XW=JW(gr,mr(FW))(class extends qW{render(){const e=this.props.className,t=this.props,n=t.attributes,a=n.design,r=void 0===a?"double-wave":a,i=n.align,l=n.width,s=(n.height,n.verticalFlip),c=n.horizontalFlip,u=(n.color,t.attributes,o()([e]));let p=o()("blockspare-blocks blockspare-svg-wrapper",e,{"is-vertically-flipped":s,"is-horizontally-flipped":c},"align"+i,function(e){return"has-width-"+e.toString().replace(".","-")}(l));return wp.element.createElement($W,null,wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:p},wp.element.createElement(dm,{design:r,className:"blockspare-svg-svg-inner"}))))}});function KW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function QW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?KW(Object(n),!0).forEach((function(t){ZW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KW(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ZW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const eU=wp.element,tU=(eU.Component,eU.Fragment);var nU=[{attributes:QW({},GW.attributes),save:function(e){const t=e.attributes,n=t.design,a=void 0===n?"double-wave":n,r=t.align,i=t.width,l=t.height,s=t.verticalFlip,c=t.horizontalFlip,u=t.color,p=t.className;t.attributes;let d=o()(p,{"is-vertically-flipped":s,"is-horizontally-flipped":c},"align"+r,"blockspare-blocks blockspare-svg-wrapper",function(e){return"has-width-"+e.toString().replace(".","-")}(i));return wp.element.createElement(tU,null,wp.element.createElement("div",{className:d,style:QW({color:u||"#3c1a5b",height:l},_c(e.attributes))},wp.element.createElement(dm,{design:a,className:"blockspare-svg-svg-inner"})))}},{attributes:QW({},GW.attributes),save:e=>wp.element.createElement(XW,e)}];const aU=wp.i18n.__,rU=wp.blocks.registerBlockType,iU=GW.name,oU=GW.category,lU=GW.attributes;rU(iU,{title:aU("BS Shape Divider","blockspare"),description:aU("Decorations for section shapes.","blockspare"),category:oU,icon:r.shapediviver,attributes:lU,keywords:[aU("shape","blockspare"),aU("divider","blockspare"),aU("space","blockspare")],supports:{align:["wide","full","center"]},example:{design:"double-wave",color:"#3c1a5b"},edit:BW,save:UW,deprecated:nU});var sU=n(47);const cU=wp.element.Component,uU=wp.i18n.__,pU=wp.blockEditor,dU=pU.PanelColorSettings,mU=pU.InspectorControls,fU=wp.components,bU=fU.RangeControl,gU=fU.PanelBody;class hU extends cU{render(){const e=this.props.attributes,t=e.height,n=e.backGroundColor,a=this.props.setAttributes;return wp.element.createElement(mU,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(gU,{title:uU("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(bU,{label:uU("Height","blockspare"),value:t,onChange:e=>a({height:e}),min:0,step:5,max:150}),wp.element.createElement(dU,{title:uU("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:n,onChange:e=>a({backGroundColor:e}),label:uU("Background Color","blockspare")}]}))))}}var vU=e=>{const t=e.attributes,n=t.height,a=t.backGroundColor,r=[];return r.push({".blockspare-emptysection":{height:n+"px",width:"100%",backgroundColor:a||"#fff"}}),vr.a.all(r)};const yU=wp.element,wU=yU.Component,kU=yU.Fragment,_U=wp.compose.compose;var xU=_U(gr,mr(vU))(class extends wU{render(){const e=this.props,t=(e.height,e.backGroundColor,e.className),n=o()([t,"blockspare-blocks blockspare-empty-section-wrapper"]);return wp.element.createElement(kU,null,wp.element.createElement(hU,this.props),wp.element.createElement("div",{className:n},this.props.styles,wp.element.createElement("div",{className:"blockspare-emptysection"})))}});const SU=wp.element,EU=SU.Component,TU=(SU.Fragment,wp.compose.compose);var CU=TU(gr,mr(vU))(class extends EU{render(){const e=this.props,t=(e.height,e.backGroundColor,e.className),n=o()([t,"blockspare-blocks blockspare-empty-section-wrapper"]);return wp.element.createElement("div",{className:n},this.props.styles,wp.element.createElement("div",{className:"blockspare-emptysection"}))}});function MU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function OU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var LU=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?MU(Object(n),!0).forEach((function(t){OU(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MU(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},sU.attributes),save:function(e){const t=e.attributes,n=t.height,a=t.backGroundColor;return wp.element.createElement("div",{className:"blockspare-blocks blockspare-empty-section-wrapper"},wp.element.createElement("div",{className:"blockspare-section",style:{height:n+"px",width:"100%",backgroundColor:a||"#fff"}}))}}];function DU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function FU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const PU=sU.name,jU=sU.category,NU=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?DU(Object(n),!0).forEach((function(t){FU(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DU(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},sU.attributes),zU=wp.blocks.registerBlockType,AU=wp.i18n.__;zU(PU,{title:AU("BS Empty Section","blockspare"),description:AU("Empty Section","blockspare"),category:jU,icon:r.emptySpaces,attributes:NU,keywords:[AU("empty","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:xU,save:CU,deprecated:LU})},function(e,t){},,,,function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},,function(e,t){},function(e,t){},,function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){}]); |