Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/anfangola.com/wp-content/plugins/blockspare/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/claqxcrl/anfangola.com/wp-content/plugins/blockspare/dist/blocks.js
(window.webpackJsonp_blockspare=window.webpackJsonp_blockspare||[]).push([[10],{262:function(e,t,a){},303:function(e,t,a){},304:function(e,t,a){},329:function(e,t,a){},339:function(e,t,a){},340:function(e,t,a){},341:function(e,t,a){},342:function(e,t,a){},343:function(e,t,a){},344:function(e,t,a){},345:function(e,t,a){},346:function(e,t,a){},347:function(e,t,a){},350:function(e,t,a){},351:function(e,t,a){},371:function(e,t,a){},372:function(e,t,a){},373:function(e,t,a){},374:function(e,t,a){},375:function(e,t,a){},376:function(e,t,a){},377:function(e,t,a){},378:function(e,t,a){},379:function(e,t,a){},380:function(e,t,a){},381:function(e,t,a){},382:function(e,t,a){},383:function(e,t,a){},384:function(e,t,a){},385:function(e,t,a){},386:function(e,t,a){},387:function(e,t,a){},388:function(e,t,a){},389:function(e,t,a){},390:function(e,t,a){},391:function(e,t,a){},392:function(e,t,a){},393:function(e,t,a){},395:function(e,t,a){},396:function(e,t,a){},397:function(e,t,a){},398:function(e,t,a){}}]),function(e){function t(t){for(var o,l,i=t[0],s=t[1],c=t[2],b=0,u=[];b<i.length;b++)l=i[b],Object.prototype.hasOwnProperty.call(n,l)&&n[l]&&u.push(n[l][0]),n[l]=0;for(o in s)Object.prototype.hasOwnProperty.call(s,o)&&(e[o]=s[o]);for(p&&p(t);u.length;)u.shift()();return r.push.apply(r,c||[]),a()}function a(){for(var e,t=0;t<r.length;t++){for(var a=r[t],o=!0,i=1;i<a.length;i++){var s=a[i];0!==n[s]&&(o=!1)}o&&(r.splice(t--,1),e=l(l.s=a[0]))}return e}var o={},n={7:0},r=[];function l(t){if(o[t])return o[t].exports;var a=o[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,l),a.l=!0,a.exports}l.m=e,l.c=o,l.d=function(e,t,a){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(l.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)l.d(a,o,function(t){return e[t]}.bind(null,o));return a},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="";var i=window.webpackJsonp_blockspare=window.webpackJsonp_blockspare||[],s=i.push.bind(i);i.push=t,i=i.slice();for(var c=0;c<i.length;c++)t(i[c]);var p=s;r.push([406,10]),a()}([function(e,t){e.exports=window.wp.element},function(e,t,a){var o;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var r=typeof o;if("string"===r||"number"===r)e.push(o);else if(Array.isArray(o)){if(o.length){var l=n.apply(null,o);l&&e.push(l)}}else if("object"===r)if(o.toString===Object.prototype.toString)for(var i in o)a.call(o,i)&&o[i]&&e.push(i);else e.push(o.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(o=function(){return n}.apply(t,[]))||(e.exports=o)}()},function(e,t,a){"use strict";var o=a(0);const n={};n.category=Object(o.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"},Object(o.createElement)("g",{className:"blockspare-logo"},Object(o.createElement)("g",null,Object(o.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"}),Object(o.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      "})),Object(o.createElement)("g",null,Object(o.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        "}),Object(o.createElement)("polygon",{id:"XMLID_1_",class:"st1",points:"17,38.4 19.9,40 38.4,30.7 35.3,29        "})))),n.accordion=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-accordion",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21 21"},Object(o.createElement)("g",{id:"XMLID_5_"},Object(o.createElement)("rect",{id:"XMLID_8_",y:"8.1",width:"21",height:"12.9"}),Object(o.createElement)("rect",{id:"XMLID_7_",y:"3.9",width:"21",height:"2.2"}),Object(o.createElement)("rect",{id:"XMLID_6_",x:"0",width:"21",height:"2.2"}))),n.price=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-price",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",{id:"XMLID_1_"},Object(o.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"}))),n.container=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",null,Object(o.createElement)("path",{d:"M10,3.1c-3.7,0-6.8,3-6.8,6.8s3,6.8,6.8,6.8s6.8-3,6.8-6.8S13.7,3.1,10,3.1z M13.9,11.2h-2.8V14H8.9v-2.8H6.1V9h2.8V6.1 h2.2V9h2.8V11.2z"}),Object(o.createElement)("g",{id:"XMLID_7_"},Object(o.createElement)("path",{id:"XMLID_11_",d:"M20,20H0V0h20V20z M1,19h18V1H1V19z"})))),n.contentbox=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-contentbox",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"},Object(o.createElement)("g",{id:"XMLID_1_"},Object(o.createElement)("polygon",{id:"XMLID_6_",points:"21,13.8 21,29.3 55.3,29.3 55.3,70.7 21,70.7 21,86.2 88.7,86.2 88.7,13.8 \t"}),Object(o.createElement)("rect",{id:"XMLID_3_",x:"11.3",y:"38.6",width:"34.4",height:"22.8"}))),n.userprofile=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-userprofile",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",{id:"XMLID_1_"},Object(o.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"}),Object(o.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"}))),n.starrating=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-starrating",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",null,Object(o.createElement)("path",{d:"M20.4,7.7l-7.2-1L10,0.1L6.8,6.6l-7.2,1l5.2,5.1l-1.2,7.2l6.4-3.4l6.4,3.4l-1.2-7.2L20.4,7.7z M15.2,18.2L10,15.5V2.1 l2.6,5.3l5.9,0.9l-4.2,4.1L15.2,18.2z"}))),n.imagecarousel=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-imagecarousel",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",{id:"XMLID_1_"},Object(o.createElement)("path",{id:"XMLID_9_",d:"M16.4,16.4H3.6V3.6h12.7V16.4z M4.6,15.4h10.7V4.6H4.6V15.4z"})),Object(o.createElement)("rect",{id:"XMLID_3_",x:"18",y:"4.1",width:"2",height:"11.7"}),Object(o.createElement)("rect",{id:"XMLID_4_",x:"0",y:"4.1",width:"2",height:"11.7"}),Object(o.createElement)("g",{id:"XMLID_7_"},Object(o.createElement)("polygon",{id:"XMLID_2_",points:"5.1,14 8.6,7.9 12.1,14 \t"}),Object(o.createElement)("polygon",{id:"XMLID_6_",points:"10.4,14 12.6,10.1 14.9,14 \t"}),Object(o.createElement)("circle",{id:"XMLID_5_",cx:"12.4",cy:"7.1",r:"1.4"}))),n.imageslider=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-imageslider",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("path",{id:"XMLID_9_",d:"M16.4,16.4H3.6V3.6h12.7V16.4z M4.6,15.4h10.7V4.6H4.6V15.4z"}),Object(o.createElement)("g",{id:"XMLID_2_"},Object(o.createElement)("polygon",{id:"XMLID_5_",points:"5.1,14 8.6,7.9 12.1,14   "}),Object(o.createElement)("polygon",{id:"XMLID_6_",points:"10.4,14 12.6,10.1 14.9,14    "}),Object(o.createElement)("circle",{id:"XMLID_7_",cx:"12.4",cy:"7.1",r:"1.4"})),Object(o.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"}),Object(o.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"})),n.postlist=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-postlist",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",{id:"XMLID_1_"},Object(o.createElement)("path",{id:"XMLID_5_",d:"M6.8,8.3H0.9V2h5.9V8.3z"})),Object(o.createElement)("g",{id:"XMLID_2_"},Object(o.createElement)("rect",{id:"XMLID_3_",x:"8.7",y:"3.1",width:"8.5",height:"1.4"}),Object(o.createElement)("rect",{id:"XMLID_4_",x:"8.7",y:"5.8",width:"10.2",height:"1.4"})),Object(o.createElement)("g",{id:"XMLID_14_"},Object(o.createElement)("path",{id:"XMLID_15_",d:"M6.9,18.2H0.8v-6.6h6.1V18.2z"})),Object(o.createElement)("g",{id:"XMLID_11_"},Object(o.createElement)("rect",{id:"XMLID_13_",x:"8.7",y:"12.8",width:"8.5",height:"1.4"}),Object(o.createElement)("rect",{id:"XMLID_12_",x:"8.7",y:"15.5",width:"10.2",height:"1.4"}))),n.postgrid=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-postgrid",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",{id:"XMLID_5_"},Object(o.createElement)("g",{id:"XMLID_14_"},Object(o.createElement)("path",{id:"XMLID_15_",d:"M9,11.2H1V2.9h8V11.2z"})),Object(o.createElement)("g",{id:"XMLID_2_"},Object(o.createElement)("path",{id:"XMLID_3_",d:"M19,11.2h-8V2.9h8V11.2z"})),Object(o.createElement)("rect",{id:"XMLID_1_",x:"1",y:"12.4",width:"7.2",height:"1.8"}),Object(o.createElement)("rect",{id:"XMLID_6_",x:"1",y:"15.3",width:"8",height:"1.8"}),Object(o.createElement)("rect",{id:"XMLID_8_",x:"11",y:"12.4",width:"7.2",height:"1.8"}),Object(o.createElement)("rect",{id:"XMLID_7_",x:"11",y:"15.3",width:"8",height:"1.8"}))),n.postcarousel=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-postcarousel",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",{id:"XMLID_1_"},Object(o.createElement)("g",{id:"XMLID_14_"},Object(o.createElement)("path",{id:"XMLID_15_",d:"M16,11.4H4V1.7H16V11.4z"})),Object(o.createElement)("rect",{id:"XMLID_5_",x:"4",y:"12.8",width:"10.8",height:"2.1"}),Object(o.createElement)("rect",{id:"XMLID_6_",x:"4",y:"16.2",width:"12.1",height:"2.1"})),Object(o.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"}),Object(o.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"})),n.iconblockspare=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-iconblockspare",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",{id:"XMLID_1_"},Object(o.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"}))),n.iconlist=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-iconlist",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",{id:"XMLID_2_"},Object(o.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"}),Object(o.createElement)("rect",{id:"XMLID_1_",x:"6.4",y:"2.2",width:"13",height:"1.7"})),Object(o.createElement)("g",{id:"XMLID_4_"},Object(o.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"}),Object(o.createElement)("rect",{id:"XMLID_5_",x:"6.4",y:"9.5",width:"13",height:"1.7"})),Object(o.createElement)("g",{id:"XMLID_7_"},Object(o.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"}),Object(o.createElement)("rect",{id:"XMLID_8_",x:"6.4",y:"16.7",width:"13",height:"1.7"}))),n.button=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-button",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("path",{class:"st0",d:"M17.5,1.5H2.5C1.1,1.5,0,2.6,0,3.9v1.7C0,7,1.1,8.1,2.5,8.1h4.9c0,0.9,0,1.8,0,2.6l0,1.2 c-0.1-0.2-0.3-0.3-0.4-0.5c-0.6-0.6-1.3-0.7-2-0.2c-0.3,0.3-0.5,0.6-0.5,0.9c0,0.4,0.1,0.7,0.4,1.1c0.9,1.1,1.8,2.2,2.8,3.3 c0.7,0.9,1.5,1.4,2.5,1.7c0.4,0.1,0.9,0.2,1.3,0.2c0.8,0,1.5-0.2,2.2-0.6c1.1-0.7,1.8-1.8,1.9-3.1c0.1-1.2,0.1-2.5,0.1-3.7 c0-0.3,0-0.7,0-1c0-0.3-0.1-0.7-0.4-0.9c-0.3-0.3-0.7-0.4-1.1-0.3c-0.2,0-0.3,0.1-0.5,0.1c0,0,0,0,0,0c-0.5-0.6-1-0.8-1.8-0.5 c-0.1-0.1-0.2-0.2-0.3-0.3h6C18.9,8.1,20,7,20,5.6V3.9C20,2.6,18.9,1.5,17.5,1.5z M9.2,10.9c0,0.2,0.1,0.3,0.2,0.5 c0,0,0.1,0.1,0.1,0.1L9.7,12l0.2-0.5c0,0,0.1-0.1,0.1-0.1c0.1-0.1,0.2-0.3,0.2-0.5c0-0.5,0-0.9,0-1.4l0-0.3c0-0.3,0.2-0.4,0.4-0.5 c0.1,0,0.2,0,0.3,0.1C11,8.9,11,9,11,9.2c0,0.3,0,0.6,0,0.9c0,0.3,0,0.6,0,0.9c0,0.2,0.1,0.3,0.2,0.4c0,0,0,0.1,0.1,0.1l0.2,0.4 l0.2-0.3c0,0,0.1-0.1,0.1-0.1c0.1-0.1,0.2-0.2,0.2-0.4c0-0.3,0-0.5,0-0.8c0-0.2,0-0.4,0-0.5c0-0.1,0-0.3,0.1-0.4 c0.1-0.1,0.2-0.1,0.3-0.1c0.2,0,0.4,0.1,0.4,0.4c0,0.1,0,0.3,0,0.4c0,0.3,0,0.6,0,0.9c0,0.2,0.1,0.3,0.2,0.4c0,0,0.1,0.1,0.1,0.1 l0.2,0.4l0.2-0.4c0,0,0-0.1,0.1-0.1c0.1-0.1,0.1-0.2,0.2-0.4c0-0.2,0-0.3,0-0.5c0-0.1,0-0.2,0-0.3c0-0.2,0.1-0.3,0.2-0.4 c0.1-0.1,0.2-0.1,0.3-0.1c0.3,0,0.4,0.2,0.4,0.5c0,0.5,0,0.9,0,1.4c0,0.9,0,1.9,0,2.9c0,1.1-0.6,2-1.5,2.6c-0.9,0.6-2,0.6-3.1,0.1 C9.5,17,9,16.6,8.6,16.2c-1-1.1-1.9-2.2-3-3.6c-0.1-0.1-0.1-0.4-0.1-0.5c0-0.1,0.3-0.2,0.5-0.2c0,0,0.2,0.1,0.3,0.2 c0.2,0.2,0.4,0.5,0.6,0.7c0.2,0.2,0.4,0.4,0.5,0.6c0.1,0.1,0.2,0.2,0.3,0.2c0,0,0.1,0,0.1,0l0.2,0.1l0.1-0.3c0,0,0-0.1,0-0.1 c0-0.1,0.1-0.2,0.1-0.4c0-0.9,0-1.8,0-2.7l0-1.9c0-0.2,0-0.3,0-0.5c0-0.3,0-0.7,0-1c0-0.2,0-0.5,0-0.7c0-0.5,0.2-0.6,0.4-0.6 c0,0,0,0,0,0c0.2,0,0.4,0,0.4,0.6l0,0.7l0,0.7c0,0.1,0,0.2,0,0.3C9.2,9,9.2,10,9.2,10.9z M19,5.6c0,0.8-0.7,1.5-1.5,1.5h-7.3 c0-0.3,0-0.5,0-0.8c0-0.5-0.2-0.8-0.5-1.1C9.5,5,9.1,4.8,8.7,4.9C7.9,4.9,7.4,5.5,7.4,6.4c0,0.2,0,0.5,0,0.7H2.5 C1.7,7.1,1,6.5,1,5.6V3.9c0-0.8,0.7-1.5,1.5-1.5h15.1c0.8,0,1.5,0.7,1.5,1.5V5.6z"})),n.cta=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-cta",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",null,Object(o.createElement)("path",{id:"XMLID_8_",d:"M3.4,11.3H0.7C0.3,11.3,0,11,0,10.7l0-5.6c0-0.4,0.3-0.7,0.7-0.7h2.8c0.4,0,0.7,0.3,0.7,0.7v5.6 C4.1,11,3.8,11.3,3.4,11.3z"}),Object(o.createElement)("polygon",{id:"XMLID_7_",points:"9.3,12.7 5,11.9 5,4.1 9.3,3.4 \t"}),Object(o.createElement)("polygon",{id:"XMLID_6_",points:"4.9,12.7 9.1,13.5 9.1,18.7 4.9,18.7 \t"}),Object(o.createElement)("path",{d:"M17.7,5.2c-0.3,0-0.5,0-0.8,0.1v-4L10.2,3v9.7l6.7,1.7V9.5c0.2,0.1,0.5,0.1,0.8,0.1c1.3,0,2.3-1,2.3-2.2S19,5.2,17.7,5.2z"}))),n.masonry=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-masonry",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("rect",{id:"XMLID_1_",x:"1.2",y:"11.2",width:"7.8",height:"7.6"}),Object(o.createElement)("rect",{id:"XMLID_4_",x:"1.2",y:"1.2",width:"7.8",height:"7.8"}),Object(o.createElement)("rect",{id:"XMLID_3_",x:"11",y:"1.2",width:"7.8",height:"5"}),Object(o.createElement)("rect",{id:"XMLID_5_",x:"11",y:"9",width:"7.8",height:"9.8"})),n.logobadge=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-logobadge",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.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"})),n.notice=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",{id:"XMLID_4_"}),Object(o.createElement)("g",{id:"XMLID_1_"},Object(o.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"})),Object(o.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"}),Object(o.createElement)("rect",{id:"XMLID_9_",x:"8.8",y:"7.1",className:"st0",width:"2.5",height:"9.6"})),n.progressBar=Object(o.createElement)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 99.1 99.1",className:"blockspare-svg"},Object(o.createElement)("path",{d:"M91.5,14.5H7.7c-4.5,0-8.1,3.6-8.1,8.1c0,4.5,3.6,8.1,8.1,8.1h83.8c4.5,0,8.1-3.6,8.1-8.1C99.6,18.1,95.9,14.5,91.5,14.5z M91.5,28.4H25.4c1.9-1.3,3.2-3.4,3.2-5.9s-1.3-4.6-3.2-5.9h66.1c3.2,0,5.9,2.6,5.9,5.9C97.3,25.8,94.7,28.4,91.5,28.4z"}),Object(o.createElement)("path",{d:"M91.5,42.5H7.7c-4.5,0-8.1,3.6-8.1,8.1c0,4.5,3.6,8.1,8.1,8.1h83.8c4.5,0,8.1-3.6,8.1-8.1C99.6,46.1,95.9,42.5,91.5,42.5z M91.5,56.4H52.4c1.9-1.3,3.2-3.4,3.2-5.9c0-2.5-1.3-4.6-3.2-5.9h39.1c3.2,0,5.9,2.6,5.9,5.9S94.7,56.4,91.5,56.4z"}),Object(o.createElement)("path",{d:"M91.5,70.5H7.7c-4.5,0-8.1,3.6-8.1,8.1c0,4.5,3.6,8.1,8.1,8.1h83.8c4.5,0,8.1-3.6,8.1-8.1C99.6,74.1,95.9,70.5,91.5,70.5z M91.5,84.4H80.4c1.9-1.3,3.2-3.4,3.2-5.9c0-2.5-1.3-4.6-3.2-5.9h11.1c3.2,0,5.9,2.6,5.9,5.9C97.3,81.8,94.7,84.4,91.5,84.4z"})),n.pricingTable=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-pricing-table",xmlns:"http://www.w3.org/2000/svg",viewBox:"-506.4 198.2 211.2 165.6"},Object(o.createElement)("g",null,Object(o.createElement)("g",null,Object(o.createElement)("path",{d:"M-411.6,363.8h-94.8V198.2h94.8V363.8z M-500.3,357.7h82.6V204.3h-82.6V357.7z"})),Object(o.createElement)("g",null,Object(o.createElement)("path",{d:"M-463.3,319.1v-12.7c-7.3-0.1-14.8-2.4-19.2-5.5l3-8.4c4.5,3,11,5.4,18,5.4c8.9,0,14.9-5.1,14.9-12.3 c0-6.9-4.9-11.2-14.2-14.9c-12.8-5-20.7-10.8-20.7-21.7c0-10.4,7.4-18.3,18.9-20.2v-12.7h7.8v12.2c7.5,0.3,12.7,2.3,16.3,4.4 l-3.1,8.3c-2.6-1.5-7.8-4.3-15.8-4.3c-9.7,0-13.3,5.8-13.3,10.8c0,6.5,4.6,9.8,15.5,14.3c12.9,5.3,19.4,11.8,19.4,22.9 c0,9.9-6.9,19.2-19.8,21.3v13H-463.3z"})),Object(o.createElement)("rect",{x:"-488.6",y:"330.8",width:"59.3",height:"9.6"})),Object(o.createElement)("g",null,Object(o.createElement)("g",null,Object(o.createElement)("path",{d:"M-295.5,363.6h-94.8V198h94.8V363.6z M-384.2,357.6h82.6V204.1h-82.6V357.6z"})),Object(o.createElement)("g",null,Object(o.createElement)("path",{d:"M-347.2,318.9v-12.7c-7.3-0.1-14.8-2.4-19.2-5.5l3-8.4c4.5,3,11,5.4,18,5.4c8.9,0,14.9-5.1,14.9-12.3 c0-6.9-4.9-11.2-14.2-14.9c-12.8-5-20.7-10.8-20.7-21.7c0-10.4,7.4-18.3,18.9-20.2V216h7.8v12.2c7.5,0.3,12.7,2.3,16.3,4.4 l-3.1,8.3c-2.6-1.5-7.8-4.3-15.8-4.3c-9.7,0-13.3,5.8-13.3,10.8c0,6.5,4.6,9.8,15.5,14.3c12.9,5.3,19.4,11.8,19.4,22.9 c0,9.9-6.9,19.2-19.8,21.3v13H-347.2z"})),Object(o.createElement)("rect",{x:"-372.6",y:"330.7",width:"59.3",height:"9.6"}))),n.pricingList=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("circle",{cx:"3.3",cy:"2.6",r:"2.6"}),Object(o.createElement)("rect",{x:"7.1",y:"1.4",className:"st0",width:"9.8",height:"0.8"}),Object(o.createElement)("rect",{x:"17.7",y:"1.4",className:"st0",width:"2.3",height:"0.8"}),Object(o.createElement)("rect",{x:"7.1",y:"3.1",className:"st0",width:"12.9",height:"0.8"}),Object(o.createElement)("circle",{className:"st0",cx:"3.3",cy:"9.7",r:"2.6"}),Object(o.createElement)("rect",{x:"7.1",y:"8.9",className:"st0",width:"9.8",height:"0.8"}),Object(o.createElement)("rect",{x:"17.7",y:"8.9",className:"st0",width:"2.3",height:"0.8"}),Object(o.createElement)("rect",{x:"7.1",y:"10.5",className:"st0",width:"12.9",height:"0.8"}),Object(o.createElement)("circle",{className:"st0",cx:"3.3",cy:"17.4",r:"2.6"}),Object(o.createElement)("rect",{x:"7.1",y:"16.3",className:"st0",width:"9.8",height:"0.8"}),Object(o.createElement)("rect",{x:"17.7",y:"16.3",className:"st0",width:"2.3",height:"0.8"}),Object(o.createElement)("rect",{x:"7.1",y:"17.9",className:"st0",width:"12.9",height:"0.8"})),n.socialShare=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.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"})),n.sociallinks=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-sociallinks",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",{id:"XMLID_7_"},Object(o.createElement)("path",{id:"XMLID_70_",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.2c0.2-0.1,0.5-0.1,0.8-0.1 c1,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.3c0,0.6,0,1.1,0,1.7 c0,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"}),Object(o.createElement)("path",{id:"XMLID_63_",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"}),Object(o.createElement)("path",{id:"XMLID_62_",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.4C17.3,12.5,17.5,12.7,17.5,13 z"})),Object(o.createElement)("g",{id:"XMLID_4_"},Object(o.createElement)("path",{id:"XMLID_35_",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.6c-0.2-0.3-0.3-0.6-0.3-1 c0.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.9c0.8,1,1.9,1.5,3.2,1.6 c0-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,2c0,0,0,0,0,0 c-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.7c0,0,0,0,0,0.1 c0,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,0c-0.5-0.1-1-0.3-1.5-0.6c0,0,0,0,0,0 c0.6,0.1,1.2,0,1.8-0.3C13.2,7,13.3,6.9,13.5,6.7z"})),Object(o.createElement)("g",{id:"XMLID_3_"},Object(o.createElement)("path",{id:"XMLID_37_",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.1c0-0.4,0-0.7,0-1.1 c0-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,0C7,1.6,7,2,7,2.4c0,0,0,0,0,0 c0,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.3c0,0.2,0,0.5,0,0.7c0,0,0,0,0,0.1 c0.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.6c-0.5,0-1,0-1.4,0C4.2,7.7,4.2,6.5,4.2,5.3z"})),Object(o.createElement)("g",{id:"XMLID_5_"},Object(o.createElement)("path",{id:"XMLID_33_",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,0c0-0.8,0-1.6,0-2.4 c0-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"}),Object(o.createElement)("path",{id:"XMLID_32_",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.8c-0.5,0.1-0.9-0.2-1-0.7 c0,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,0C2.2,11.4,2.3,11.4,2.3,11.4z"}),Object(o.createElement)("path",{id:"XMLID_30_",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"}))),n.tabs=Object(o.createElement)("svg",{className:"blockspare-svg blockspare-svg-tabs",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",{id:"XMLID_2_"},Object(o.createElement)("rect",{id:"XMLID_1_",x:"1.2",y:"4.9",width:"17.6",height:"14"}),Object(o.createElement)("rect",{id:"XMLID_4_",x:"1.2",y:"1.3",width:"8.2",height:"3.6"}),Object(o.createElement)("rect",{id:"XMLID_3_",x:"10.6",y:"1.3",width:"8.2",height:"2.5"}))),n.shapediviver=Object(o.createElement)("svg",{className:"blockspare-svg blockspare-svg-shape-diviver",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("path",{id:"XMLID_6_",d:"M20,20H0V0h20V20z M1,19h18V1H1V19z"}),Object(o.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"})),n.counter=Object(o.createElement)("svg",{className:"blockspare-svg blockspare-svg-shape-counter",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",null,Object(o.createElement)("path",{d:"M4.8,7C4.4,7,4.1,7.2,3.9,7.7C3.7,8.1,3.6,8.9,3.6,10c0,1.1,0.1,1.9,0.3,2.3C4.1,12.8,4.4,13,4.8,13c0.4,0,0.7-0.2,0.9-0.7 C5.9,11.9,6,11.1,6,10c0-1.1-0.1-1.9-0.3-2.3C5.6,7.2,5.2,7,4.8,7z"}),Object(o.createElement)("path",{d:"M0.4,0v20h8.9V0H0.4z M8.1,12c-0.1,0.6-0.3,1.1-0.6,1.5c-0.3,0.4-0.6,0.7-1.1,0.9c-0.4,0.2-1,0.3-1.6,0.3 c-0.6,0-1.2-0.1-1.6-0.3c-0.4-0.2-0.8-0.5-1.1-0.9c-0.3-0.4-0.5-0.9-0.6-1.5c-0.1-0.6-0.2-1.2-0.2-2c0-0.8,0.1-1.5,0.2-2 c0.1-0.6,0.3-1,0.6-1.4c0.3-0.4,0.6-0.7,1.1-0.9s1-0.3,1.6-0.3c0.6,0,1.2,0.1,1.6,0.3c0.4,0.2,0.8,0.5,1.1,0.9C7.8,6.9,8,7.4,8.1,8 c0.1,0.6,0.2,1.2,0.2,2C8.3,10.8,8.2,11.4,8.1,12z"}),Object(o.createElement)("path",{d:"M13.9,1.3c0.2,0.4,0.5,0.6,0.9,0.6c0.4,0,0.7-0.2,0.9-0.6C15.8,1,15.8,0,15.9,0h-2.2C13.7,0,13.8,1,13.9,1.3z"}),Object(o.createElement)("path",{d:"M18,0c0,0-0.1,0.7-0.1,1c-0.1,0.5-0.3,0.9-0.6,1.2c-0.3,0.4-0.6,0.6-1,0.8c-0.4,0.2-0.9,0.3-1.5,0.3 c-0.6,0-1.1-0.1-1.5-0.3c-0.4-0.2-0.7-0.4-1-0.8C12,1.9,11.8,1.5,11.7,1c-0.1-0.3-0.1-1-0.1-1h-0.8v20h8.9V0H18z M18.5,7.3 l-3.8,7.2h-2.5l4-7.3h-4.3V5.5h6.6V7.3z"}))),n.testimonial=Object(o.createElement)("svg",{className:"blockspare-svg blockspare-svg-testimonial",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("g",{id:"XMLID_1_"},Object(o.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"}),Object(o.createElement)("polygon",{id:"XMLID_3_",class:"st0",points:"1.8,13 4.1,17 6.4,13     "}))),n.upload=Object(o.createElement)("svg",{width:"50px",height:"50px",viewBox:"0 0 20 20",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg"},Object(o.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"}),Object(o.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"}),Object(o.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"})),n.sectionHeader=Object(o.createElement)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:"blockspare-svg"},Object(o.createElement)("g",{id:"XMLID_2_"},Object(o.createElement)("path",{id:"XMLID_3_",d:"M17,2.2v15.6h-4.3v-6.3H7.4v6.3H3V2.2h4.3V8h5.3V2.2H17z"}))),n.services=Object(o.createElement)("svg",{width:"20px",height:"20px",className:"blockspare-svg blockspare-svg-services",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(o.createElement)("circle",{id:"XMLID_1_",cx:"4.5",cy:"5",r:"3.4"}),Object(o.createElement)("circle",{id:"XMLID_9_",cx:"15.5",cy:"5",r:"3.4"}),Object(o.createElement)("rect",{id:"XMLID_2_",y:"10",width:"9",height:"1.7"}),Object(o.createElement)("rect",{id:"XMLID_8_",x:"11",y:"9.8",width:"9",height:"1.7"}),Object(o.createElement)("rect",{id:"XMLID_4_",y:"13.3",width:"9",height:"6.7"}),Object(o.createElement)("rect",{id:"XMLID_7_",x:"11",y:"13.1",width:"9",height:"6.9"})),n.layouts=Object(o.createElement)("svg",{width:"20px",height:"20px",className:"blockspare-svg blockspare-svg-layouts",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80 80"},Object(o.createElement)("g",null,Object(o.createElement)("path",{d:"M35.7,54.8H2.2c-1.1,0-2-0.9-2-2V2.2c0-1.1,0.9-2,2-2h33.5c1.1,0,2,0.9,2,2v50.5C37.7,53.9,36.8,54.8,35.7,54.8z"}),Object(o.createElement)("path",{d:"M77.8,79.8H2.2c-1.1,0-2-0.9-2-2V62.4c0-1.1,0.9-2,2-2h75.5c1.1,0,2,0.9,2,2v15.3C79.8,78.9,78.9,79.8,77.8,79.8z"}),Object(o.createElement)("path",{d:"M77.8,24.1H45.4c-1.1,0-2-0.9-2-2V2.2c0-1.1,0.9-2,2-2h32.3c1.1,0,2,0.9,2,2v19.9C79.8,23.2,78.9,24.1,77.8,24.1z"}),Object(o.createElement)("path",{d:"M77.8,54.8H67c-1.1,0-2-0.9-2-2v-21c0-1.1,0.9-2,2-2h10.8c1.1,0,2,0.9,2,2v21C79.8,53.9,78.9,54.8,77.8,54.8z"}),Object(o.createElement)("path",{d:"M57.3,54.8H45.4c-1.1,0-2-0.9-2-2v-21c0-1.1,0.9-2,2-2h11.9c1.1,0,2,0.9,2,2v21C59.3,53.9,58.4,54.8,57.3,54.8z"}))),n.emptySpaces=Object(o.createElement)("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)("rect",{className:"cls-1",x:"1.5",y:"1.5",width:"13",height:"13"})),n.flipX=Object(o.createElement)("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(o.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)"})),n.flipY=Object(o.createElement)("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(o.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)"})),n.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>;',n.blockspare_placeholder=Object(o.createElement)("svg",{viewBox:"0 0 384 384",xmlns:"http://www.w3.org/2000/svg"},Object(o.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"})),n.premium=Object(o.createElement)("svg",{className:"blockspare-svg-blockspare",fill:"url(#blockspare-gradient)",width:"50px",height:"50px",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40"},Object(o.createElement)("g",{className:"blockspare-logo"},Object(o.createElement)("g",null,Object(o.createElement)("path",{className:"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"}),Object(o.createElement)("polygon",{id:"XMLID_3_",className:"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      "})),Object(o.createElement)("g",null,Object(o.createElement)("polygon",{id:"XMLID_2_",className:"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        "}),Object(o.createElement)("polygon",{id:"XMLID_1_",className:"st1",points:"17,38.4 19.9,40 38.4,30.7 35.3,29        "})))),n.date_and_time=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 142.39 134.03"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"date-time"},Object(o.createElement)("path",{d:"M141.68,99.69a27.56,27.56,0,0,0-4.63-10.16V12.33H117.8V.75h-5.64V12.33H71.35V0H65.7V12.33H24.9V0H19.25V12.33H0V129H97.75a28.53,28.53,0,0,0,39.2-6.51,27.37,27.37,0,0,0,4.73-10.3,27.64,27.64,0,0,0,0-12.45ZM114,83.41a22.67,22.67,0,0,1,22.06,17,22.3,22.3,0,0,1,0,10.93A22.72,22.72,0,0,1,118.62,128a23.18,23.18,0,0,1-9.24,0A22.49,22.49,0,0,1,114,83.41Zm-108.35,40V17.93h13.6v2.73H24.9V17.93H65.7v2.73h5.65V17.93h40.81v3.49h5.64V17.93h13.6v65.8a28.43,28.43,0,0,0-45.8,22.19,27.92,27.92,0,0,0,6.14,17.44Z"}),Object(o.createElement)("polygon",{points:"127.62 103.62 127.62 108.22 112.2 108.22 112.2 97.39 116.85 97.39 116.85 103.62 127.62 103.62"}),Object(o.createElement)("ellipse",{cx:"22.08",cy:"34.18",rx:"6.3",ry:"6.24"}),Object(o.createElement)("ellipse",{cx:"45.3",cy:"34.18",rx:"6.3",ry:"6.24"}),Object(o.createElement)("ellipse",{cx:"68.52",cy:"34.18",rx:"6.3",ry:"6.24"}),Object(o.createElement)("ellipse",{cx:"91.75",cy:"34.18",rx:"6.3",ry:"6.24"}),Object(o.createElement)("ellipse",{cx:"114.98",cy:"34.18",rx:"6.3",ry:"6.24"}),Object(o.createElement)("ellipse",{cx:"22.08",cy:"57.36",rx:"6.3",ry:"6.24"}),Object(o.createElement)("ellipse",{cx:"45.3",cy:"57.37",rx:"6.3",ry:"6.24"}),Object(o.createElement)("ellipse",{cx:"68.52",cy:"57.37",rx:"6.3",ry:"6.24"}),Object(o.createElement)("path",{d:"M28.38,80.17a6.3,6.3,0,1,1-6.3-6.24A6.28,6.28,0,0,1,28.38,80.17Z"}),Object(o.createElement)("path",{d:"M51.6,80.17a6.3,6.3,0,1,1-6.3-6.24A6.27,6.27,0,0,1,51.6,80.17Z"}),Object(o.createElement)("path",{d:"M74.82,80.17a6.3,6.3,0,1,1-6.3-6.24A6.27,6.27,0,0,1,74.82,80.17Z"}),Object(o.createElement)("path",{d:"M27.61,103.16a6.3,6.3,0,1,1-6.3-6.23A6.28,6.28,0,0,1,27.61,103.16Z"}),Object(o.createElement)("path",{d:"M50.82,103.16a6.3,6.3,0,1,1-6.3-6.23A6.27,6.27,0,0,1,50.82,103.16Z"}),Object(o.createElement)("path",{d:"M74.05,103.16a6.3,6.3,0,1,1-6.3-6.23A6.27,6.27,0,0,1,74.05,103.16Z"}),Object(o.createElement)("ellipse",{cx:"91.75",cy:"57.37",rx:"6.3",ry:"6.24"}),Object(o.createElement)("ellipse",{cx:"114.98",cy:"57.37",rx:"6.24",ry:"6.3",transform:"translate(56.67 171.88) rotate(-89.53)"}))))),n.search=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 82.97 82.97"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"search"},Object(o.createElement)("path",{d:"M58.81,54.57a33.3,33.3,0,1,0-4.24,4.24L78.72,83,83,78.73ZM6,33.27A27.27,27.27,0,1,1,33.27,60.54,27.3,27.3,0,0,1,6,33.27Z"}))))),n.tag_and_category=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 141.42 100"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"popular-tags-categories"},Object(o.createElement)("path",{d:"M12.67.51,2.27,0,0,10.17,11.51,25.28l12.67-9.66ZM6.35,7.6A1.91,1.91,0,1,1,8.09,5.53,1.91,1.91,0,0,1,6.35,7.6Z"}),Object(o.createElement)("rect",{x:"37.13",width:"104.29",height:"25.28"}),Object(o.createElement)("path",{d:"M12.67,37.87l-10.4-.51L0,47.53,11.51,62.64,24.18,53ZM6.35,45a1.91,1.91,0,1,1,1.74-2.07A1.91,1.91,0,0,1,6.35,45Z"}),Object(o.createElement)("rect",{x:"37.13",y:"37.36",width:"104.29",height:"25.28"}),Object(o.createElement)("path",{d:"M12.67,75.23l-10.4-.51L0,84.89,11.51,100l12.67-9.66Zm-6.32,7.1a1.91,1.91,0,1,1,1.74-2.08A1.91,1.91,0,0,1,6.35,82.33Z"}),Object(o.createElement)("rect",{x:"37.13",y:"74.72",width:"104.29",height:"25.28"}))))),n.post_grid=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 141.42 141.42"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"post-grid"},Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{width:"61.87",height:"41.15"}),Object(o.createElement)("line",{x1:"6.68",y1:"49.87",x2:"38.44",y2:"49.87"}),Object(o.createElement)("rect",{x:"6.68",y:"47.37",width:"31.76",height:"5"}),Object(o.createElement)("line",{x1:"6.68",y1:"60.59",x2:"45.71",y2:"60.59"}),Object(o.createElement)("rect",{x:"6.68",y:"58.09",width:"39.03",height:"5"})),Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"79.55",width:"61.87",height:"41.15"}),Object(o.createElement)("line",{x1:"86.23",y1:"49.87",x2:"117.99",y2:"49.87"}),Object(o.createElement)("rect",{x:"86.23",y:"47.37",width:"31.76",height:"5"}),Object(o.createElement)("line",{x1:"86.23",y1:"60.59",x2:"125.26",y2:"60.59"}),Object(o.createElement)("rect",{x:"86.23",y:"58.09",width:"39.03",height:"5"})),Object(o.createElement)("g",{id:"group-3","data-name":"group"},Object(o.createElement)("rect",{y:"78.33",width:"61.87",height:"41.15"}),Object(o.createElement)("line",{x1:"6.68",y1:"128.2",x2:"38.44",y2:"128.2"}),Object(o.createElement)("rect",{x:"6.68",y:"125.7",width:"31.76",height:"5"}),Object(o.createElement)("line",{x1:"6.68",y1:"138.92",x2:"45.71",y2:"138.92"}),Object(o.createElement)("rect",{x:"6.68",y:"136.42",width:"39.03",height:"5"})),Object(o.createElement)("g",{id:"group-4","data-name":"group"},Object(o.createElement)("rect",{x:"79.55",y:"78.33",width:"61.87",height:"41.15"}),Object(o.createElement)("line",{x1:"86.23",y1:"128.2",x2:"117.99",y2:"128.2"}),Object(o.createElement)("rect",{x:"86.23",y:"125.7",width:"31.76",height:"5"}),Object(o.createElement)("line",{x1:"86.23",y1:"138.92",x2:"125.26",y2:"138.92"}),Object(o.createElement)("rect",{x:"86.23",y:"136.42",width:"39.03",height:"5"})))))),n.post_grid_masonry=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 141.42 141.42"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"post-grid-masonry"},Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{width:"61.87",height:"41.15"}),Object(o.createElement)("line",{x1:"6.68",y1:"49.87",x2:"38.44",y2:"49.87"}),Object(o.createElement)("rect",{x:"6.68",y:"47.37",width:"31.76",height:"5"}),Object(o.createElement)("line",{x1:"6.68",y1:"60.59",x2:"45.71",y2:"60.59"}),Object(o.createElement)("rect",{x:"6.68",y:"58.09",width:"39.03",height:"5"}),Object(o.createElement)("line",{x1:"6.68",y1:"70.71",x2:"45.71",y2:"70.71"}),Object(o.createElement)("rect",{x:"6.68",y:"68.21",width:"39.03",height:"5"})),Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"79.55",y:"68.06",width:"61.87",height:"41.15"}),Object(o.createElement)("line",{x1:"86.23",y1:"117.93",x2:"117.99",y2:"117.93"}),Object(o.createElement)("rect",{x:"86.23",y:"115.43",width:"31.76",height:"5"}),Object(o.createElement)("line",{x1:"86.23",y1:"128.65",x2:"125.26",y2:"128.65"}),Object(o.createElement)("rect",{x:"86.23",y:"126.15",width:"39.03",height:"5"}),Object(o.createElement)("line",{x1:"86.23",y1:"138.77",x2:"125.26",y2:"138.77"}),Object(o.createElement)("rect",{x:"86.23",y:"136.27",width:"39.03",height:"5"})),Object(o.createElement)("g",{id:"group-3","data-name":"group"},Object(o.createElement)("rect",{y:"89.34",width:"61.87",height:"30.15"}),Object(o.createElement)("line",{x1:"6.68",y1:"128.2",x2:"38.44",y2:"128.2"}),Object(o.createElement)("rect",{x:"6.68",y:"125.7",width:"31.76",height:"5"}),Object(o.createElement)("line",{x1:"6.68",y1:"138.92",x2:"45.71",y2:"138.92"}),Object(o.createElement)("rect",{x:"6.68",y:"136.42",width:"39.03",height:"5"})),Object(o.createElement)("g",{id:"group-4","data-name":"group"},Object(o.createElement)("rect",{x:"79.55",width:"61.87",height:"30.15"}),Object(o.createElement)("line",{x1:"86.23",y1:"38.87",x2:"117.99",y2:"38.87"}),Object(o.createElement)("rect",{x:"86.23",y:"36.37",width:"31.76",height:"5"}),Object(o.createElement)("line",{x1:"86.23",y1:"49.59",x2:"125.26",y2:"49.59"}),Object(o.createElement)("rect",{x:"86.23",y:"47.09",width:"39.03",height:"5"})))))),n.post_tile=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 141.42 100"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"post-tile"},Object(o.createElement)("rect",{width:"61.87",height:"41.15"}),Object(o.createElement)("rect",{x:"79.55",width:"61.87",height:"41.15"}),Object(o.createElement)("rect",{y:"58.85",width:"61.87",height:"41.15"}),Object(o.createElement)("rect",{x:"79.55",y:"58.85",width:"61.87",height:"41.15"}))))),n.post_tile_masonry=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 141.42 141.29"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"post-tile-masonry"},Object(o.createElement)("rect",{x:"79.55",width:"61.87",height:"45.58"}),Object(o.createElement)("rect",{y:"95.57",width:"61.87",height:"45.58"}),Object(o.createElement)("rect",{x:"79.55",y:"61.86",width:"61.87",height:"79.42"}),Object(o.createElement)("rect",{width:"61.87",height:"79.42"}))))),n.post_express_grid=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 141.28 100"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"post-express-grid"},Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{width:"83.79",height:"67.42"}),Object(o.createElement)("line",{x1:"6.99",y1:"76.14",x2:"54.58",y2:"76.14"}),Object(o.createElement)("rect",{x:"6.99",y:"73.64",width:"47.59",height:"5"}),Object(o.createElement)("line",{x1:"6.99",y1:"86.86",x2:"65.48",y2:"86.86"}),Object(o.createElement)("rect",{x:"6.99",y:"84.36",width:"58.48",height:"5"}),Object(o.createElement)("line",{x1:"6.99",y1:"97.5",x2:"65.48",y2:"97.5"}),Object(o.createElement)("rect",{x:"6.99",y:"95",width:"58.48",height:"5"})),Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"98.94",width:"42.34",height:"22.45"}),Object(o.createElement)("line",{x1:"103.51",y1:"31.16",x2:"125.24",y2:"31.16"}),Object(o.createElement)("rect",{x:"103.51",y:"28.66",width:"21.73",height:"5"}),Object(o.createElement)("line",{x1:"103.51",y1:"41.88",x2:"130.22",y2:"41.88"}),Object(o.createElement)("rect",{x:"103.51",y:"39.38",width:"26.71",height:"5"})),Object(o.createElement)("g",{id:"group-3","data-name":"group"},Object(o.createElement)("rect",{x:"98.94",y:"55.48",width:"42.34",height:"22.45"}),Object(o.createElement)("line",{x1:"103.51",y1:"86.65",x2:"125.24",y2:"86.65"}),Object(o.createElement)("rect",{x:"103.51",y:"84.15",width:"21.73",height:"5"}),Object(o.createElement)("line",{x1:"103.51",y1:"97.37",x2:"130.22",y2:"97.37"}),Object(o.createElement)("rect",{x:"103.51",y:"94.87",width:"26.71",height:"5"})))))),n.post_express_list=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 141.42 99.87"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"post-express-list"},Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{width:"70.71",height:"67.3"}),Object(o.createElement)("line",{x1:"6.63",y1:"76.02",x2:"42.93",y2:"76.02"}),Object(o.createElement)("rect",{x:"6.63",y:"73.52",width:"36.3",height:"5"}),Object(o.createElement)("line",{x1:"6.63",y1:"86.74",x2:"51.24",y2:"86.74"}),Object(o.createElement)("rect",{x:"6.63",y:"84.24",width:"44.61",height:"5"}),Object(o.createElement)("line",{x1:"6.63",y1:"97.37",x2:"51.24",y2:"97.37"}),Object(o.createElement)("rect",{x:"6.63",y:"94.87",width:"44.61",height:"5"})),Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"82.17",width:"31.58",height:"26.9"}),Object(o.createElement)("line",{x1:"119.58",y1:"9.32",x2:"137.35",y2:"9.32"}),Object(o.createElement)("rect",{x:"119.58",y:"6.82",width:"17.77",height:"5"}),Object(o.createElement)("line",{x1:"119.58",y1:"20.04",x2:"141.42",y2:"20.04"}),Object(o.createElement)("rect",{x:"119.58",y:"17.54",width:"21.84",height:"5"})),Object(o.createElement)("g",{id:"group-3","data-name":"group"},Object(o.createElement)("rect",{x:"82.17",y:"72.97",width:"31.58",height:"26.9"}),Object(o.createElement)("line",{x1:"119.58",y1:"82.3",x2:"137.35",y2:"82.3"}),Object(o.createElement)("rect",{x:"119.58",y:"79.8",width:"17.77",height:"5"}),Object(o.createElement)("line",{x1:"119.58",y1:"93.02",x2:"141.42",y2:"93.02"}),Object(o.createElement)("rect",{x:"119.58",y:"90.52",width:"21.84",height:"5"})),Object(o.createElement)("g",{id:"group-4","data-name":"group"},Object(o.createElement)("rect",{x:"82.17",y:"36.55",width:"31.58",height:"26.9"}),Object(o.createElement)("line",{x1:"119.58",y1:"45.87",x2:"137.35",y2:"45.87"}),Object(o.createElement)("rect",{x:"119.58",y:"43.37",width:"17.77",height:"5"}),Object(o.createElement)("line",{x1:"119.58",y1:"56.59",x2:"141.42",y2:"56.59"}),Object(o.createElement)("rect",{x:"119.58",y:"54.09",width:"21.84",height:"5"})))))),n.post_large=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 100 100"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"post-large_full","data-name":"post-large/full"},Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{width:"100",height:"78.06"}),Object(o.createElement)("line",{x1:"7.38",y1:"86.78",x2:"50",y2:"86.78"}),Object(o.createElement)("rect",{x:"7.38",y:"84.28",width:"42.62",height:"5"}),Object(o.createElement)("line",{x1:"7.38",y1:"97.5",x2:"82.41",y2:"97.5"}),Object(o.createElement)("rect",{x:"7.38",y:"95",width:"75.02",height:"5"})))))),n.post_carousel=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 141.42 99.8"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"post-carousel"},Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{width:"20.71",height:"65"}),Object(o.createElement)("line",{y1:"78.89",x2:"11.42",y2:"78.89",rect:!0,y:"74.94",width:"3.51",height:"7.91"}),Object(o.createElement)("line",{y1:"95.85",x2:"10.36",y2:"95.85",rect:!0,y:"91.89",width:"10.36",height:"7.91"})),Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"39.78",width:"61.87",height:"65.09"}),Object(o.createElement)("line",{x1:"46.46",y1:"78.88",x2:"78.21",y2:"78.88"}),Object(o.createElement)("rect",{x:"46.46",y:"74.93",width:"31.76",height:"7.91"}),Object(o.createElement)("line",{x1:"46.46",y1:"95.84",x2:"85.49",y2:"95.84"}),Object(o.createElement)("rect",{x:"46.46",y:"91.88",width:"39.03",height:"7.91"})),Object(o.createElement)("g",{id:"post-carousel-2","data-name":"post-carousel"},Object(o.createElement)("g",{id:"group-3","data-name":"group"},Object(o.createElement)("rect",{x:"120.71",width:"20.71",height:"65.09"}),Object(o.createElement)("line",{x1:"127.39",y1:"78.88",x2:"138.81",y2:"78.88",rect:!0,x:"127.39",y:"74.93",width:"14.03",height:"7.91"}),Object(o.createElement)("line",{x1:"127.39",y1:"95.84",x2:"141.42",y2:"95.84",rect:!0,x:"127.39",y:"91.88",width:"14.03",height:"7.91"}))))))),n.post_slider=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 141.42 100"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"post-slider"},Object(o.createElement)("g",{id:"post-large_full","data-name":"post-large/full"},Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{x:"20.72",width:"100",height:"78.06"}),Object(o.createElement)("line",{x1:"28.1",y1:"86.78",x2:"70.72",y2:"86.78"}),Object(o.createElement)("rect",{x:"28.1",y:"84.28",width:"42.62",height:"5"}),Object(o.createElement)("line",{x1:"28.1",y1:"97.5",x2:"103.12",y2:"97.5"}),Object(o.createElement)("rect",{x:"28.1",y:"95",width:"75.02",height:"5"}))),Object(o.createElement)("g",{id:"post-large_full-2","data-name":"post-large/full"},Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"136.77",width:"4.65",height:"78.06"})),Object(o.createElement)("g",{id:"group-3","data-name":"group"},Object(o.createElement)("rect",{width:"4.65",height:"78.06"}))))))),n.post_trending=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 141.51 33.17"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"post-trending"},Object(o.createElement)("g",{id:"post-trending-2","data-name":"post-trending"},Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{y:"0.07",width:"33.1",height:"33.1"}),Object(o.createElement)("line",{x1:"39.81",y1:"11.26",x2:"58.44",y2:"11.26"}),Object(o.createElement)("rect",{x:"39.81",y:"8.76",width:"18.63",height:"5"}),Object(o.createElement)("line",{x1:"39.81",y1:"21.98",x2:"62.7",y2:"21.98"}),Object(o.createElement)("rect",{x:"39.81",y:"19.48",width:"22.89",height:"5"}))),Object(o.createElement)("g",{id:"post-trending-3","data-name":"post-trending"},Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"78.81",width:"33.1",height:"33.1"}),Object(o.createElement)("line",{x1:"118.62",y1:"11.19",x2:"137.25",y2:"11.19"}),Object(o.createElement)("rect",{x:"118.62",y:"8.69",width:"18.63",height:"5"}),Object(o.createElement)("line",{x1:"118.62",y1:"21.91",x2:"141.51",y2:"21.91"}),Object(o.createElement)("rect",{x:"118.62",y:"19.41",width:"22.89",height:"5"}))))))),n.post_flash=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 100 18.73"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"post-flash"},Object(o.createElement)("path",{d:"M0,0V18.73H100V0ZM99.3,17.73H22.1l5.8-8.87L22.1,1H99.3Z"}),Object(o.createElement)("rect",{x:"34.15",y:"5.55",width:"7.63",height:"7.63"}),Object(o.createElement)("rect",{x:"44.85",y:"7.86",width:"47.97",height:"3"}))))),n.banner_1=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 200 100"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"banner-1"},Object(o.createElement)("rect",{width:"119.83",height:"100"}),Object(o.createElement)("rect",{x:"138.13",width:"61.87",height:"41.15"}),Object(o.createElement)("rect",{x:"138.13",y:"58.85",width:"61.87",height:"41.15"}))))),n.banner_2=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 200 100"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"banner-2"},Object(o.createElement)("rect",{width:"86.53",height:"100"}),Object(o.createElement)("rect",{x:"100",width:"44.57",height:"41.15"}),Object(o.createElement)("rect",{x:"100",y:"58.85",width:"44.57",height:"41.15"}),Object(o.createElement)("rect",{x:"155.43",width:"44.57",height:"41.15"}),Object(o.createElement)("rect",{x:"155.43",y:"58.84",width:"44.57",height:"41.15"}))))),n.banner_3=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 200 100"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"banner-3"},Object(o.createElement)("rect",{width:"86.53",height:"100"}),Object(o.createElement)("rect",{x:"100",y:"71.28",width:"44.57",height:"28.73"}),Object(o.createElement)("rect",{x:"100",width:"100",height:"58.93"}),Object(o.createElement)("rect",{x:"155.43",y:"71.28",width:"44.57",height:"28.73"}))))),n.banner_4=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 200 100"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"banner-4"},Object(o.createElement)("rect",{width:"86.53",height:"100"}),Object(o.createElement)("rect",{x:"100",width:"44.57",height:"100"}),Object(o.createElement)("rect",{x:"155.43",width:"44.57",height:"41.15"}),Object(o.createElement)("rect",{x:"155.43",y:"58.85",width:"44.57",height:"41.15"}))))),n.banner_5=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 141.42 99.91"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"banner-5"},Object(o.createElement)("rect",{width:"84.73",height:"70.71"}),Object(o.createElement)("rect",{x:"97.67",width:"43.75",height:"29.1"}),Object(o.createElement)("rect",{x:"97.67",y:"41.61",width:"43.75",height:"29.1"}),Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{y:"82.44",width:"20.76",height:"17.46"}),Object(o.createElement)("line",{x1:"24.97",y1:"89.4",x2:"36.65",y2:"89.4"}),Object(o.createElement)("rect",{x:"24.97",y:"88.08",width:"11.68",height:"2.64"}),Object(o.createElement)("line",{x1:"24.97",y1:"95.05",x2:"39.33",y2:"95.05"}),Object(o.createElement)("rect",{x:"24.97",y:"93.73",width:"14.36",height:"2.64"})),Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"51.05",y:"82.44",width:"20.76",height:"17.46"}),Object(o.createElement)("line",{x1:"76.02",y1:"89.4",x2:"87.7",y2:"89.4"}),Object(o.createElement)("rect",{x:"76.02",y:"88.08",width:"11.68",height:"2.64"}),Object(o.createElement)("line",{x1:"76.02",y1:"95.05",x2:"90.37",y2:"95.05"}),Object(o.createElement)("rect",{x:"76.02",y:"93.73",width:"14.36",height:"2.64"})),Object(o.createElement)("g",{id:"group-3","data-name":"group"},Object(o.createElement)("rect",{x:"102.1",y:"82.44",width:"20.76",height:"17.46"}),Object(o.createElement)("line",{x1:"127.06",y1:"89.4",x2:"138.75",y2:"89.4"}),Object(o.createElement)("rect",{x:"127.06",y:"88.08",width:"11.68",height:"2.64"}),Object(o.createElement)("line",{x1:"127.06",y1:"95.05",x2:"141.42",y2:"95.05"}),Object(o.createElement)("rect",{x:"127.06",y:"93.73",width:"14.36",height:"2.64"})))))),n.banner_6=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 141.42 100.08"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"banner-6"},Object(o.createElement)("rect",{x:"0.08",width:"61.15",height:"69.8"}),Object(o.createElement)("rect",{x:"70.75",width:"31.5",height:"28.73"}),Object(o.createElement)("rect",{x:"70.75",y:"41.08",width:"31.5",height:"28.73"}),Object(o.createElement)("rect",{x:"109.92",width:"31.5",height:"28.73"}),Object(o.createElement)("rect",{x:"109.92",y:"41.08",width:"31.5",height:"28.73"}),Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{y:"82.61",width:"20.76",height:"17.46"}),Object(o.createElement)("line",{x1:"24.97",y1:"89.57",x2:"36.65",y2:"89.57"}),Object(o.createElement)("rect",{x:"24.97",y:"88.25",width:"11.68",height:"2.64"}),Object(o.createElement)("line",{x1:"24.97",y1:"95.22",x2:"39.33",y2:"95.22"}),Object(o.createElement)("rect",{x:"24.97",y:"93.91",width:"14.36",height:"2.64"})),Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"51.05",y:"82.61",width:"20.76",height:"17.46"}),Object(o.createElement)("line",{x1:"76.02",y1:"89.57",x2:"87.7",y2:"89.57"}),Object(o.createElement)("rect",{x:"76.02",y:"88.25",width:"11.68",height:"2.64"}),Object(o.createElement)("line",{x1:"76.02",y1:"95.22",x2:"90.37",y2:"95.22"}),Object(o.createElement)("rect",{x:"76.02",y:"93.91",width:"14.36",height:"2.64"})),Object(o.createElement)("g",{id:"group-3","data-name":"group"},Object(o.createElement)("rect",{x:"102.09",y:"82.61",width:"20.76",height:"17.46"}),Object(o.createElement)("line",{x1:"127.06",y1:"89.57",x2:"138.75",y2:"89.57"}),Object(o.createElement)("rect",{x:"127.06",y:"88.25",width:"11.68",height:"2.64"}),Object(o.createElement)("line",{x1:"127.06",y1:"95.22",x2:"141.42",y2:"95.22"}),Object(o.createElement)("rect",{x:"127.06",y:"93.91",width:"14.36",height:"2.64"})))))),n.banner_7=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 141.42 100.19"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"banner-7"},Object(o.createElement)("rect",{width:"61.19",height:"73.77"}),Object(o.createElement)("rect",{x:"70.71",y:"52.58",width:"31.51",height:"21.19"}),Object(o.createElement)("rect",{x:"70.71",width:"70.71",height:"43.47"}),Object(o.createElement)("rect",{x:"109.91",y:"52.58",width:"31.51",height:"21.19"}),Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{y:"82.73",width:"20.76",height:"17.46"}),Object(o.createElement)("line",{x1:"24.97",y1:"89.68",x2:"36.65",y2:"89.68"}),Object(o.createElement)("rect",{x:"24.97",y:"88.36",width:"11.68",height:"2.64"}),Object(o.createElement)("line",{x1:"24.97",y1:"95.34",x2:"39.33",y2:"95.34"}),Object(o.createElement)("rect",{x:"24.97",y:"94.02",width:"14.36",height:"2.64"})),Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"51.05",y:"82.73",width:"20.76",height:"17.46"}),Object(o.createElement)("line",{x1:"76.02",y1:"89.68",x2:"87.7",y2:"89.68"}),Object(o.createElement)("rect",{x:"76.02",y:"88.36",width:"11.68",height:"2.64"}),Object(o.createElement)("line",{x1:"76.02",y1:"95.34",x2:"90.37",y2:"95.34"}),Object(o.createElement)("rect",{x:"76.02",y:"94.02",width:"14.36",height:"2.64"})),Object(o.createElement)("g",{id:"group-3","data-name":"group"},Object(o.createElement)("rect",{x:"102.09",y:"82.73",width:"20.76",height:"17.46"}),Object(o.createElement)("line",{x1:"127.06",y1:"89.68",x2:"138.75",y2:"89.68"}),Object(o.createElement)("rect",{x:"127.06",y:"88.36",width:"11.68",height:"2.64"}),Object(o.createElement)("line",{x1:"127.06",y1:"95.34",x2:"141.42",y2:"95.34"}),Object(o.createElement)("rect",{x:"127.06",y:"94.02",width:"14.36",height:"2.64"})))))),n.banner_8=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 141.42 100"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"banner-8"},Object(o.createElement)("rect",{width:"61.19",height:"69.8"}),Object(o.createElement)("rect",{x:"70.71",width:"31.52",height:"69.8"}),Object(o.createElement)("rect",{x:"109.91",width:"31.52",height:"28.73"}),Object(o.createElement)("rect",{x:"109.91",y:"41.08",width:"31.52",height:"28.73"}),Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{y:"82.54",width:"20.76",height:"17.46"}),Object(o.createElement)("line",{x1:"24.97",y1:"89.49",x2:"36.65",y2:"89.49"}),Object(o.createElement)("rect",{x:"24.97",y:"88.17",width:"11.68",height:"2.64"}),Object(o.createElement)("line",{x1:"24.97",y1:"95.15",x2:"39.33",y2:"95.15"}),Object(o.createElement)("rect",{x:"24.97",y:"93.83",width:"14.36",height:"2.64"})),Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"51.05",y:"82.54",width:"20.76",height:"17.46"}),Object(o.createElement)("line",{x1:"76.02",y1:"89.49",x2:"87.7",y2:"89.49"}),Object(o.createElement)("rect",{x:"76.02",y:"88.17",width:"11.68",height:"2.64"}),Object(o.createElement)("line",{x1:"76.02",y1:"95.15",x2:"90.37",y2:"95.15"}),Object(o.createElement)("rect",{x:"76.02",y:"93.83",width:"14.36",height:"2.64"})),Object(o.createElement)("g",{id:"group-3","data-name":"group"},Object(o.createElement)("rect",{x:"102.09",y:"82.54",width:"20.76",height:"17.46"}),Object(o.createElement)("line",{x1:"127.06",y1:"89.49",x2:"138.75",y2:"89.49"}),Object(o.createElement)("rect",{x:"127.06",y:"88.17",width:"11.68",height:"2.64"}),Object(o.createElement)("line",{x1:"127.06",y1:"95.15",x2:"141.42",y2:"95.15"}),Object(o.createElement)("rect",{x:"127.06",y:"93.83",width:"14.36",height:"2.64"})))))),n.banner_9=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 200.14 100"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"banner-9"},Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{x:"155.94",y:"0.04",width:"23.56",height:"26.91"}),Object(o.createElement)("line",{x1:"183.85",y1:"9.37",x2:"197.11",y2:"9.37"}),Object(o.createElement)("rect",{x:"183.85",y:"6.87",width:"13.26",height:"5"}),Object(o.createElement)("line",{x1:"183.85",y1:"20.09",x2:"200.14",y2:"20.09"}),Object(o.createElement)("rect",{x:"183.85",y:"17.59",width:"16.29",height:"5"})),Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"155.94",y:"73.04",width:"23.56",height:"26.91"}),Object(o.createElement)("line",{x1:"183.85",y1:"82.37",x2:"197.11",y2:"82.37"}),Object(o.createElement)("rect",{x:"183.85",y:"79.87",width:"13.26",height:"5"}),Object(o.createElement)("line",{x1:"183.85",y1:"93.1",x2:"200.14",y2:"93.1"}),Object(o.createElement)("rect",{x:"183.85",y:"90.6",width:"16.29",height:"5"})),Object(o.createElement)("g",{id:"group-3","data-name":"group"},Object(o.createElement)("rect",{x:"155.94",y:"36.61",width:"23.56",height:"26.91"}),Object(o.createElement)("line",{x1:"183.85",y1:"45.93",x2:"197.11",y2:"45.93"}),Object(o.createElement)("rect",{x:"183.85",y:"43.43",width:"13.26",height:"5"}),Object(o.createElement)("line",{x1:"183.85",y1:"56.66",x2:"200.14",y2:"56.66"}),Object(o.createElement)("rect",{x:"183.85",y:"54.16",width:"16.29",height:"5"})),Object(o.createElement)("rect",{width:"86",height:"100"}),Object(o.createElement)("rect",{x:"99.13",width:"44.4",height:"41.15"}),Object(o.createElement)("rect",{x:"99.13",y:"58.85",width:"44.4",height:"41.15"}))))),n.banner_10=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 199.94 100"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"banner-10"},Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{x:"155.74",y:"0.09",width:"23.56",height:"26.91"}),Object(o.createElement)("line",{x1:"183.65",y1:"9.42",x2:"196.9",y2:"9.42"}),Object(o.createElement)("rect",{x:"183.65",y:"6.92",width:"13.26",height:"5"}),Object(o.createElement)("line",{x1:"183.65",y1:"20.14",x2:"199.94",y2:"20.14"}),Object(o.createElement)("rect",{x:"183.65",y:"17.64",width:"16.29",height:"5"})),Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"155.74",y:"73.09",width:"23.56",height:"26.91"}),Object(o.createElement)("line",{x1:"183.65",y1:"82.42",x2:"196.9",y2:"82.42"}),Object(o.createElement)("rect",{x:"183.65",y:"79.92",width:"13.26",height:"5"}),Object(o.createElement)("line",{x1:"183.65",y1:"93.14",x2:"199.94",y2:"93.14"}),Object(o.createElement)("rect",{x:"183.65",y:"90.64",width:"16.29",height:"5"})),Object(o.createElement)("g",{id:"group-3","data-name":"group"},Object(o.createElement)("rect",{x:"155.74",y:"36.65",width:"23.56",height:"26.91"}),Object(o.createElement)("line",{x1:"183.65",y1:"45.98",x2:"196.9",y2:"45.98"}),Object(o.createElement)("rect",{x:"183.65",y:"43.48",width:"13.26",height:"5"}),Object(o.createElement)("line",{x1:"183.65",y1:"56.7",x2:"199.94",y2:"56.7"}),Object(o.createElement)("rect",{x:"183.65",y:"54.2",width:"16.29",height:"5"})),Object(o.createElement)("rect",{width:"62.46",height:"100"}),Object(o.createElement)("rect",{x:"72.18",y:"71.27",width:"32.17",height:"28.73"}),Object(o.createElement)("rect",{x:"72.18",width:"72.17",height:"58.93"}),Object(o.createElement)("rect",{x:"112.19",y:"71.27",width:"32.17",height:"28.73"}))))),n.banner_11=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 199.97 100"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"banner-11"},Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{width:"77.67",height:"60.49"}),Object(o.createElement)("line",{x1:"7.29",y1:"71.05",x2:"47.16",y2:"71.05"}),Object(o.createElement)("rect",{x:"7.29",y:"68.02",width:"39.87",height:"6.06"}),Object(o.createElement)("line",{x1:"7.29",y1:"84.04",x2:"56.29",y2:"84.04"}),Object(o.createElement)("rect",{x:"7.29",y:"81.01",width:"49",height:"6.06"}),Object(o.createElement)("line",{x1:"7.29",y1:"96.93",x2:"56.29",y2:"96.93"}),Object(o.createElement)("rect",{x:"7.29",y:"93.9",width:"49",height:"6.06"})),Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"155.77",y:"0.04",width:"23.56",height:"26.91"}),Object(o.createElement)("line",{x1:"183.68",y1:"9.37",x2:"196.94",y2:"9.37"}),Object(o.createElement)("rect",{x:"183.68",y:"6.87",width:"13.26",height:"5"}),Object(o.createElement)("line",{x1:"183.68",y1:"20.09",x2:"199.97",y2:"20.09"}),Object(o.createElement)("rect",{x:"183.68",y:"17.59",width:"16.29",height:"5"})),Object(o.createElement)("g",{id:"group-3","data-name":"group"},Object(o.createElement)("rect",{x:"155.77",y:"73.04",width:"23.56",height:"26.91"}),Object(o.createElement)("line",{x1:"183.68",y1:"82.37",x2:"196.94",y2:"82.37"}),Object(o.createElement)("rect",{x:"183.68",y:"79.87",width:"13.26",height:"5"}),Object(o.createElement)("line",{x1:"183.68",y1:"93.1",x2:"199.97",y2:"93.1"}),Object(o.createElement)("rect",{x:"183.68",y:"90.6",width:"16.29",height:"5"})),Object(o.createElement)("g",{id:"group-4","data-name":"group"},Object(o.createElement)("rect",{x:"155.77",y:"36.61",width:"23.56",height:"26.91"}),Object(o.createElement)("line",{x1:"183.68",y1:"45.93",x2:"196.94",y2:"45.93"}),Object(o.createElement)("rect",{x:"183.68",y:"43.43",width:"13.26",height:"5"}),Object(o.createElement)("line",{x1:"183.68",y1:"56.66",x2:"199.97",y2:"56.66"}),Object(o.createElement)("rect",{x:"183.68",y:"54.16",width:"16.29",height:"5"})),Object(o.createElement)("rect",{x:"91.86",width:"51.51",height:"41.15"}),Object(o.createElement)("rect",{x:"91.86",y:"58.85",width:"51.51",height:"41.15"}))))),n.banner_12=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-svg",viewBox:"0 0 200.14 100"},Object(o.createElement)("g",{id:"Layer_2","data-name":"Layer 2"},Object(o.createElement)("g",{id:"Layer_1-2","data-name":"Layer 1"},Object(o.createElement)("g",{id:"banner-12"},Object(o.createElement)("g",{id:"group"},Object(o.createElement)("rect",{x:"155.94",y:"17.95",width:"18.23",height:"22.09"}),Object(o.createElement)("line",{x1:"178.33",y1:"25.61",x2:"196.08",y2:"25.61"}),Object(o.createElement)("rect",{x:"178.33",y:"23.56",width:"17.74",height:"4.11"}),Object(o.createElement)("line",{x1:"178.33",y1:"34.41",x2:"200.14",y2:"34.41"}),Object(o.createElement)("rect",{x:"178.33",y:"32.36",width:"21.81",height:"4.11"})),Object(o.createElement)("g",{id:"group-2","data-name":"group"},Object(o.createElement)("rect",{x:"155.94",y:"77.87",width:"18.23",height:"22.09"}),Object(o.createElement)("line",{x1:"178.33",y1:"85.53",x2:"196.08",y2:"85.53"}),Object(o.createElement)("rect",{x:"178.33",y:"83.47",width:"17.75",height:"4.11"}),Object(o.createElement)("line",{x1:"178.33",y1:"94.33",x2:"200.14",y2:"94.33"}),Object(o.createElement)("rect",{x:"178.33",y:"92.27",width:"21.81",height:"4.11"})),Object(o.createElement)("g",{id:"group-3","data-name":"group"},Object(o.createElement)("rect",{x:"155.94",y:"47.96",width:"18.23",height:"22.09"}),Object(o.createElement)("line",{x1:"178.33",y1:"55.62",x2:"196.08",y2:"55.62"}),Object(o.createElement)("rect",{x:"178.33",y:"53.57",width:"17.75",height:"4.11"}),Object(o.createElement)("line",{x1:"178.33",y1:"64.42",x2:"200.14",y2:"64.42"}),Object(o.createElement)("rect",{x:"178.33",y:"62.37",width:"21.81",height:"4.11"})),Object(o.createElement)("rect",{width:"86",height:"100"}),Object(o.createElement)("rect",{x:"99.13",width:"44.4",height:"41.15"}),Object(o.createElement)("rect",{x:"99.13",y:"58.85",width:"44.4",height:"41.15"}),Object(o.createElement)("rect",{x:"155.94",width:"44.2",height:"9.73"}))))),n.clipboard=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 682.667 682.667"},Object(o.createElement)("path",{d:"M565 640H225c-41.36 0-75-33.64-75-75V225c0-41.36 33.64-75 75-75h340c41.36 0 75 33.64 75 75v340c0 41.36-33.64 75-75 75zM225 200c-13.785 0-25 11.215-25 25v340c0 13.785 11.215 25 25 25h340c13.785 0 25-11.215 25-25V225c0-13.785-11.215-25-25-25zM100 440H75c-13.785 0-25-11.215-25-25V75c0-13.785 11.215-25 25-25h340c13.785 0 25 11.215 25 25v23.75h50V75c0-41.36-33.64-75-75-75H75C33.64 0 0 33.64 0 75v340c0 41.36 33.64 75 75 75h25zm0 0","data-original":"#000000"})),n.template=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",viewBox:"0 0 438.533 438.533"},Object(o.createElement)("path",{d:"M432.823 121.049c-3.806-9.132-8.377-16.367-13.709-21.695l-79.941-79.942c-5.325-5.325-12.56-9.895-21.696-13.704C308.346 1.903 299.969 0 292.357 0H27.409C19.798 0 13.325 2.663 7.995 7.993 2.665 13.32.003 19.792.003 27.407v383.719c0 7.617 2.662 14.089 7.992 19.417 5.33 5.325 11.803 7.991 19.414 7.991h383.718c7.618 0 14.089-2.666 19.417-7.991 5.325-5.328 7.987-11.8 7.987-19.417V146.178c0-7.616-1.902-15.99-5.708-25.129zM182.725 45.677c0-2.474.905-4.611 2.714-6.423 1.807-1.804 3.949-2.708 6.423-2.708h54.819c2.468 0 4.609.902 6.417 2.708 1.813 1.812 2.717 3.949 2.717 6.423v91.362c0 2.478-.91 4.618-2.717 6.427-1.808 1.803-3.949 2.708-6.417 2.708h-54.819c-2.474 0-4.617-.902-6.423-2.708-1.809-1.812-2.714-3.949-2.714-6.427V45.677zm146.181 356.314H109.633V292.355h219.273v109.636zm73.094 0h-36.559V283.218c0-7.617-2.663-14.085-7.991-19.417-5.328-5.328-11.8-7.994-19.41-7.994H100.498c-7.614 0-14.087 2.666-19.417 7.994-5.327 5.328-7.992 11.8-7.992 19.417v118.773H36.544V36.542h36.544v118.771c0 7.615 2.662 14.084 7.992 19.414 5.33 5.327 11.803 7.993 19.417 7.993h164.456c7.61 0 14.089-2.666 19.41-7.993 5.325-5.327 7.994-11.799 7.994-19.414V36.542c2.854 0 6.563.95 11.136 2.853 4.572 1.902 7.806 3.805 9.709 5.708l80.232 80.23c1.902 1.903 3.806 5.19 5.708 9.851 1.909 4.665 2.857 8.33 2.857 10.994v255.813z","data-original":"#000000"})),n.diamond=Object(o.createElement)("svg",{class:"",width:"18",height:"18","enable-background":"new 0 0 18 18",version:"1.1",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)("g",null,Object(o.createElement)("path",{class:"",d:"m509.48 187.48-83.66-134.41a16.737 16.737 0 0 0-14.206-7.892h-311.22a16.739 16.739 0 0 0-14.206 7.892l-83.66 134.41a16.729 16.729 0 0 0 2.03 20.324l239.27 253.76a16.727 16.727 0 0 0 24.35-5e-3l239.27-253.76a16.737 16.737 0 0 0 2.031-20.324zm-253.47 238.22-218.25-231.48 71.942-115.58h292.63l71.937 115.58-218.25 231.48z","data-original":"#000000"}),Object(o.createElement)("path",{class:"",d:"m16.735 179.59h478.54v33.464h-478.54z","data-original":"#000000"}),Object(o.createElement)("path",{class:"",d:"m171.87 194.72 25.801-129.54-32.823-6.537-26.771 134.41a16.75 16.75 0 0 0 0.876 9.482l101.51 253.77 31.071-12.426-99.662-249.16z","data-original":"#000000"}),Object(o.createElement)("path",{class:"",d:"m374.99 191.71-27.887-130.51-32.722 6.994 26.821 125.51-100.72 250.14 31.038 12.493 102.63-254.88a16.808 16.808 0 0 0 0.836-9.749z","data-original":"#000000"}))),n.view=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 511.999 511.999"},Object(o.createElement)("path",{d:"M508.745 246.041c-4.574-6.257-113.557-153.206-252.748-153.206S7.818 239.784 3.249 246.035a16.896 16.896 0 0 0 0 19.923c4.569 6.257 113.557 153.206 252.748 153.206s248.174-146.95 252.748-153.201a16.875 16.875 0 0 0 0-19.922zM255.997 385.406c-102.529 0-191.33-97.533-217.617-129.418 26.253-31.913 114.868-129.395 217.617-129.395 102.524 0 191.319 97.516 217.617 129.418-26.253 31.912-114.868 129.395-217.617 129.395z","data-original":"#000000"}),Object(o.createElement)("path",{d:"M255.997 154.725c-55.842 0-101.275 45.433-101.275 101.275s45.433 101.275 101.275 101.275S357.272 311.842 357.272 256s-45.433-101.275-101.275-101.275zm0 168.791c-37.23 0-67.516-30.287-67.516-67.516s30.287-67.516 67.516-67.516 67.516 30.287 67.516 67.516-30.286 67.516-67.516 67.516z","data-original":"#000000"})),n.import=Object(o.createElement)("svg",{class:"",width:"22",height:"22","enable-background":"new 0 0 18 18",version:"1.1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)("path",{class:"",d:"M21 14a1 1 0 0 0-1 1v4a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-4a1 1 0 0 0-2 0v4a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-4a1 1 0 0 0-1-1zm-9.71 1.71a1 1 0 0 0 .33.21.94.94 0 0 0 .76 0 1 1 0 0 0 .33-.21l4-4a1 1 0 0 0-1.42-1.42L13 12.59V3a1 1 0 0 0-2 0v9.59l-2.29-2.3a1 1 0 1 0-1.42 1.42z","data-original":"#000000"})),t.a=n},function(e,t){e.exports=window.React},function(e,t,a){"use strict";var o=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((a=e,Array.isArray(a)?[]:{}),e,t):e;var a}function l(e,t,a){return e.concat(t).map((function(e){return r(e,a)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function s(e,t){try{return t in e}catch(e){return!1}}function c(e,t,a){(a=a||{}).arrayMerge=a.arrayMerge||l,a.isMergeableObject=a.isMergeableObject||o,a.cloneUnlessOtherwiseSpecified=r;var n=Array.isArray(t);return n===Array.isArray(e)?n?a.arrayMerge(e,t,a):function(e,t,a){var o={};return a.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],a)})),i(t).forEach((function(n){(function(e,t){return s(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,n)||(s(e,n)&&a.isMergeableObject(t[n])?o[n]=function(e,t){if(!t.customMerge)return c;var a=t.customMerge(e);return"function"==typeof a?a:c}(n,a)(e[n],t[n],a):o[n]=r(t[n],a))})),o}(e,t,a):r(t,a)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,a){return c(e,a,t)}),{})};var p=c;e.exports=p},function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,a.apply(this,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,a){var o=a(66),n="object"==typeof self&&self&&self.Object===Object&&self,r=o||n||Function("return this")();e.exports=r},function(e,t){e.exports=function(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){var a=Array.isArray;e.exports=a},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,a){var o=a(39),n=a(89),r=a(234),l=a(8);e.exports=function(e,t){return(l(e)?o:r)(e,n(t,3))}},function(e,t){e.exports=window.moment},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,a){e.exports=a(173)()},function(e,t,a){var o=a(109),n=a(114);e.exports=function(e,t){var a=n(e,t);return o(a)?a:void 0}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=function(e){for(var t=-1,a=null==e?0:e.length,o=0,n=[];++t<a;){var r=e[t];r&&(n[o++]=r)}return n}},function(e,t,a){var o=a(20),n=a(110),r=a(111),l=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":l&&l in Object(e)?n(e):r(e)}},function(e,t,a){var o=a(36),n=a(68);e.exports=function(e,t,a,r){var l=!a;a||(a={});for(var i=-1,s=t.length;++i<s;){var c=t[i],p=r?r(a[c],e[c],c,a,e):void 0;void 0===p&&(p=e[c]),l?n(a,c,p):o(a,c,p)}return a}},function(e,t){e.exports=window.wp.data},function(e,t,a){var o=a(6).Symbol;e.exports=o},function(e,t,a){var o=a(70),n=a(132),r=a(22);e.exports=function(e){return r(e)?o(e):n(e)}},function(e,t,a){var o=a(65),n=a(57);e.exports=function(e){return null!=e&&n(e.length)&&!o(e)}},function(e,t,a){var o="undefined"!=typeof window,n=o?window.Masonry||a(184):null,r=o?a(189):null,l=a(190),i=a(194),s=a(24),c=a(38),p=a(13),b=a(3),u=a(205),d={enableResizableChildren:p.bool,disableImagesLoaded:p.bool,onImagesLoaded:p.func,updateOnEachImageLoad:p.bool,options:p.object,imagesLoadedOptions:p.object,elementType:p.string,onLayoutComplete:p.func,onRemoveComplete:p.func},g=u({masonry:!1,erd:void 0,latestKnownDomChildren:[],displayName:"MasonryComponent",imagesLoadedCancelRef:void 0,propTypes:d,getDefaultProps:function(){return{enableResizableChildren:!1,disableImagesLoaded:!1,updateOnEachImageLoad:!1,options:{},imagesLoadedOptions:{},className:"",elementType:"div",onLayoutComplete:function(){},onRemoveComplete:function(){}}},initializeMasonry:function(e){this.masonry&&!e||(this.masonry=new n(this.masonryContainer,this.props.options),this.props.onLayoutComplete&&this.masonry.on("layoutComplete",this.props.onLayoutComplete),this.props.onRemoveComplete&&this.masonry.on("removeComplete",this.props.onRemoveComplete),this.latestKnownDomChildren=this.getCurrentDomChildren())},getCurrentDomChildren:function(){var e=this.masonryContainer,t=this.props.options.itemSelector?e.querySelectorAll(this.props.options.itemSelector):e.children;return Array.prototype.slice.call(t)},diffDomChildren:function(){var e=!1,t=this.latestKnownDomChildren.filter((function(e){return!!e.parentNode}));t.length!==this.latestKnownDomChildren.length&&(e=!0);var a=this.getCurrentDomChildren(),o=t.filter((function(e){return!~a.indexOf(e)})),n=a.filter((function(e){return!~t.indexOf(e)})),r=0,l=n.filter((function(e){var t=r===a.indexOf(e);return t&&r++,t})),i=n.filter((function(e){return-1===l.indexOf(e)})),s=[];return 0===o.length&&(s=t.filter((function(e,t){return t!==a.indexOf(e)}))),this.latestKnownDomChildren=a,{old:t,new:a,removed:o,appended:i,prepended:l,moved:s,forceItemReload:e}},performLayout:function(){var e=this.diffDomChildren(),t=e.forceItemReload||e.moved.length>0;e.removed.length>0&&(this.props.enableResizableChildren&&e.removed.forEach(this.erd.removeAllListeners,this.erd),this.masonry.remove(e.removed),t=!0),e.appended.length>0&&(this.masonry.appended(e.appended),0===e.prepended.length&&(t=!0),this.props.enableResizableChildren&&e.appended.forEach(this.listenToElementResize,this)),e.prepended.length>0&&(this.masonry.prepended(e.prepended),this.props.enableResizableChildren&&e.prepended.forEach(this.listenToElementResize,this)),t&&this.masonry.reloadItems(),this.masonry.layout()},derefImagesLoaded:function(){this.imagesLoadedCancelRef(),this.imagesLoadedCancelRef=void 0},imagesLoaded:function(){if(!this.props.disableImagesLoaded){this.imagesLoadedCancelRef&&this.derefImagesLoaded();var e=this.props.updateOnEachImageLoad?"progress":"always",t=s(function(e){this.props.onImagesLoaded&&this.props.onImagesLoaded(e),this.masonry.layout()}.bind(this),100),a=r(this.masonryContainer,this.props.imagesLoadedOptions).on(e,t);this.imagesLoadedCancelRef=function(){a.off(e,t),t.cancel()}}},initializeResizableChildren:function(){this.props.enableResizableChildren&&(this.erd=i({strategy:"scroll"}),this.latestKnownDomChildren.forEach(this.listenToElementResize,this))},listenToElementResize:function(e){this.erd.listenTo(e,function(){this.masonry.layout()}.bind(this))},destroyErd:function(){this.erd&&this.latestKnownDomChildren.forEach(this.erd.uninstall,this.erd)},componentDidMount:function(){this.initializeMasonry(),this.initializeResizableChildren(),this.imagesLoaded()},componentDidUpdate:function(){this.performLayout(),this.imagesLoaded()},componentWillUnmount:function(){this.destroyErd(),this.props.onLayoutComplete&&this.masonry.off("layoutComplete",this.props.onLayoutComplete),this.props.onRemoveComplete&&this.masonry.off("removeComplete",this.props.onRemoveComplete),this.imagesLoadedCancelRef&&this.derefImagesLoaded(),this.masonry.destroy()},setRef:function(e){this.masonryContainer=e},render:function(){var e=c(this.props,Object.keys(d));return b.createElement(this.props.elementType,l({},e,{ref:this.setRef}),this.props.children)}});e.exports=g,e.exports.default=g},function(e,t,a){var o=a(9),n=a(183),r=a(94),l=Math.max,i=Math.min;e.exports=function(e,t,a){var s,c,p,b,u,d,g=0,m=!1,f=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function k(t){var a=s,o=c;return s=c=void 0,g=t,b=e.apply(o,a)}function y(e){return g=e,u=setTimeout(C,t),m?k(e):b}function v(e){var a=e-d;return void 0===d||a>=t||a<0||f&&e-g>=p}function C(){var e=n();if(v(e))return O(e);u=setTimeout(C,function(e){var a=t-(e-d);return f?i(a,p-(e-g)):a}(e))}function O(e){return u=void 0,h&&s?k(e):(s=c=void 0,b)}function E(){var e=n(),a=v(e);if(s=arguments,c=this,d=e,a){if(void 0===u)return y(d);if(f)return clearTimeout(u),u=setTimeout(C,t),k(d)}return void 0===u&&(u=setTimeout(C,t)),b}return t=r(t)||0,o(a)&&(m=!!a.leading,p=(f="maxWait"in a)?l(r(a.maxWait)||0,t):p,h="trailing"in a?!!a.trailing:h),E.cancel=function(){void 0!==u&&clearTimeout(u),g=0,s=d=c=u=void 0},E.flush=function(){return void 0===u?b:O(n())},E}},function(e,t,a){var o=a(8),n=a(63),r=a(157),l=a(88);e.exports=function(e,t){return o(e)?e:n(e,t)?[e]:r(l(e))}},function(e,t,a){var o=a(32);e.exports=function(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,a){var o=a(99),n=a(100),r=a(101),l=a(102),i=a(103);function s(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var o=e[t];this.set(o[0],o[1])}}s.prototype.clear=o,s.prototype.delete=n,s.prototype.get=r,s.prototype.has=l,s.prototype.set=i,e.exports=s},function(e,t,a){var o=a(35);e.exports=function(e,t){for(var a=e.length;a--;)if(o(e[a][0],t))return a;return-1}},function(e,t,a){var o=a(14)(Object,"create");e.exports=o},function(e,t,a){var o=a(123);e.exports=function(e,t){var a=e.__data__;return o(t)?a["string"==typeof t?"string":"hash"]:a.map}},function(e,t){var a=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||a)}},function(e,t,a){var o=a(17),n=a(12);e.exports=function(e){return"symbol"==typeof e||n(e)&&"[object Symbol]"==o(e)}},function(e,t,a){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=((o=a(353))&&o.__esModule?o:{default:o}).default;t.default=n},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,a){var o=a(68),n=a(35),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,a){var l=e[t];r.call(e,t)&&n(l,a)&&(void 0!==a||t in e)||o(e,t,a)}},function(e,t,a){var o=a(141),n=a(40),r=a(142),l=a(92),i=a(143),s=a(17),c=a(67),p=c(o),b=c(n),u=c(r),d=c(l),g=c(i),m=s;(o&&"[object DataView]"!=m(new o(new ArrayBuffer(1)))||n&&"[object Map]"!=m(new n)||r&&"[object Promise]"!=m(r.resolve())||l&&"[object Set]"!=m(new l)||i&&"[object WeakMap]"!=m(new i))&&(m=function(e){var t=s(e),a="[object Object]"==t?e.constructor:void 0,o=a?c(a):"";if(o)switch(o){case p:return"[object DataView]";case b:return"[object Map]";case u:return"[object Promise]";case d:return"[object Set]";case g:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,a){var o=a(39),n=a(98),r=a(156),l=a(25),i=a(18),s=a(164),c=a(93),p=a(62),b=c((function(e,t){var a={};if(null==e)return a;var c=!1;t=o(t,(function(t){return t=l(t,e),c||(c=t.length>1),t})),i(e,p(e),a),c&&(a=n(a,7,s));for(var b=t.length;b--;)r(a,t[b]);return a}));e.exports=b},function(e,t){e.exports=function(e,t){for(var a=-1,o=null==e?0:e.length,n=Array(o);++a<o;)n[a]=t(e[a],a,e);return n}},function(e,t,a){var o=a(14)(a(6),"Map");e.exports=o},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){var a=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var o=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==o||"symbol"!=o&&a.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,a){(function(e){var o=a(66),n=t&&!t.nodeType&&t,r=n&&"object"==typeof e&&e&&!e.nodeType&&e,l=r&&r.exports===n&&o.process,i=function(){try{return r&&r.require&&r.require("util").types||l&&l.binding&&l.binding("util")}catch(e){}}();e.exports=i}).call(this,a(41)(e))},function(e,t,a){var o=a(70),n=a(135),r=a(22);e.exports=function(e){return r(e)?o(e,!0):n(e)}},function(e,t,a){var o=a(91),n=a(72),r=Object.prototype.propertyIsEnumerable,l=Object.getOwnPropertySymbols,i=l?function(e){return null==e?[]:(e=Object(e),o(l(e),(function(t){return r.call(e,t)})))}:n;e.exports=i},function(e,t){e.exports=function(e,t){for(var a=-1,o=t.length,n=e.length;++a<o;)e[n+a]=t[a];return e}},function(e,t,a){var o=a(71)(Object.getPrototypeOf,Object);e.exports=o},function(e,t,a){var o=a(87);e.exports=function(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}},function(e,t){e.exports=function(e){return e}},function(e,t,a){var o,n;"undefined"!=typeof window&&window,void 0===(n="function"==typeof(o=function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var a=this._events=this._events||{},o=a[e]=a[e]||[];return-1==o.indexOf(t)&&o.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var a=this._onceEvents=this._onceEvents||{};return(a[e]=a[e]||{})[t]=!0,this}},t.off=function(e,t){var a=this._events&&this._events[e];if(a&&a.length){var o=a.indexOf(t);return-1!=o&&a.splice(o,1),this}},t.emitEvent=function(e,t){var a=this._events&&this._events[e];if(a&&a.length){a=a.slice(0),t=t||[];for(var o=this._onceEvents&&this._onceEvents[e],n=0;n<a.length;n++){var r=a[n];o&&o[r]&&(this.off(e,r),delete o[r]),r.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})?o.call(t,a,t,e):o)||(e.exports=n)},function(e,t,a){var o,n;window,void 0===(n="function"==typeof(o=function(){"use strict";function e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}var t="undefined"==typeof console?function(){}:function(e){console.error(e)},a=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],o=a.length;function n(e){var a=getComputedStyle(e);return a||t("Style returned "+a+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),a}var r,l=!1;return function t(i){if(function(){if(!l){l=!0;var a=document.createElement("div");a.style.width="200px",a.style.padding="1px 2px 3px 4px",a.style.borderStyle="solid",a.style.borderWidth="1px 2px 3px 4px",a.style.boxSizing="border-box";var o=document.body||document.documentElement;o.appendChild(a);var i=n(a);r=200==Math.round(e(i.width)),t.isBoxSizeOuter=r,o.removeChild(a)}}(),"string"==typeof i&&(i=document.querySelector(i)),i&&"object"==typeof i&&i.nodeType){var s=n(i);if("none"==s.display)return function(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<o;t++)e[a[t]]=0;return e}();var c={};c.width=i.offsetWidth,c.height=i.offsetHeight;for(var p=c.isBorderBox="border-box"==s.boxSizing,b=0;b<o;b++){var u=a[b],d=s[u],g=parseFloat(d);c[u]=isNaN(g)?0:g}var m=c.paddingLeft+c.paddingRight,f=c.paddingTop+c.paddingBottom,h=c.marginLeft+c.marginRight,k=c.marginTop+c.marginBottom,y=c.borderLeftWidth+c.borderRightWidth,v=c.borderTopWidth+c.borderBottomWidth,C=p&&r,O=e(s.width);!1!==O&&(c.width=O+(C?0:m+y));var E=e(s.height);return!1!==E&&(c.height=E+(C?0:f+v)),c.innerWidth=c.width-(m+y),c.innerHeight=c.height-(f+v),c.outerWidth=c.width+h,c.outerHeight=c.height+k,c}}})?o.call(t,a,t,e):o)||(e.exports=n)},,function(e,t,a){var o=a(115),n=a(122),r=a(124),l=a(125),i=a(126);function s(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var o=e[t];this.set(o[0],o[1])}}s.prototype.clear=o,s.prototype.delete=n,s.prototype.get=r,s.prototype.has=l,s.prototype.set=i,e.exports=s},function(e,t,a){var o=a(129),n=a(12),r=Object.prototype,l=r.hasOwnProperty,i=r.propertyIsEnumerable,s=o(function(){return arguments}())?o:function(e){return n(e)&&l.call(e,"callee")&&!i.call(e,"callee")};e.exports=s},function(e,t,a){(function(e){var o=a(6),n=a(130),r=t&&!t.nodeType&&t,l=r&&"object"==typeof e&&e&&!e.nodeType&&e,i=l&&l.exports===r?o.Buffer:void 0,s=(i?i.isBuffer:void 0)||n;e.exports=s}).call(this,a(41)(e))},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,a){var o=a(25),n=a(26);e.exports=function(e,t){for(var a=0,r=(t=o(t,e)).length;null!=e&&a<r;)e=e[n(t[a++])];return a&&a==r?e:void 0}},function(e,t,a){var o=a(91),n=a(352),r=a(89),l=a(8);e.exports=function(e,t){return(l(e)?o:n)(e,r(t,3))}},function(e,t){e.exports=window.wp.blocks},function(e,t,a){var o=a(27),n=a(104),r=a(105),l=a(106),i=a(107),s=a(108);function c(e){var t=this.__data__=new o(e);this.size=t.size}c.prototype.clear=n,c.prototype.delete=r,c.prototype.get=l,c.prototype.has=i,c.prototype.set=s,e.exports=c},function(e,t,a){var o=a(74),n=a(73),r=a(45);e.exports=function(e){return o(e,r,n)}},function(e,t,a){var o=a(8),n=a(32),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/;e.exports=function(e,t){if(o(e))return!1;var a=typeof e;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=e&&!n(e))||l.test(e)||!r.test(e)||null!=t&&e in Object(t)}},function(e,t){e.exports=window.wp.plugins},function(e,t,a){var o=a(17),n=a(9);e.exports=function(e){if(!n(e))return!1;var t=o(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,a){(function(t){var a="object"==typeof t&&t&&t.Object===Object&&t;e.exports=a}).call(this,a(84))},function(e,t){var a=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return a.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,a){var o=a(69);e.exports=function(e,t,a){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[t]=a}},function(e,t,a){var o=a(14),n=function(){try{var e=o(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=n},function(e,t,a){var o=a(90),n=a(55),r=a(8),l=a(56),i=a(42),s=a(85),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var a=r(e),p=!a&&n(e),b=!a&&!p&&l(e),u=!a&&!p&&!b&&s(e),d=a||p||b||u,g=d?o(e.length,String):[],m=g.length;for(var f in e)!t&&!c.call(e,f)||d&&("length"==f||b&&("offset"==f||"parent"==f)||u&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||i(f,m))||g.push(f);return g}},function(e,t){e.exports=function(e,t){return function(a){return e(t(a))}}},function(e,t){e.exports=function(){return[]}},function(e,t,a){var o=a(47),n=a(48),r=a(46),l=a(72),i=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)o(t,r(e)),e=n(e);return t}:l;e.exports=i},function(e,t,a){var o=a(47),n=a(8);e.exports=function(e,t,a){var r=t(e);return n(e)?r:o(r,a(e))}},function(e,t,a){var o=a(169),n=Math.max;e.exports=function(e,t,a){return t=n(void 0===t?e.length-1:t,0),function(){for(var r=arguments,l=-1,i=n(r.length-t,0),s=Array(i);++l<i;)s[l]=r[t+l];l=-1;for(var c=Array(t+1);++l<t;)c[l]=r[l];return c[t]=a(s),o(e,this,c)}}},function(e,t,a){var o=a(170),n=a(172)(o);e.exports=n},function(e,t,a){"use strict";(e.exports={}).forEach=function(e,t){for(var a=0;a<e.length;a++){var o=t(e[a]);if(o)return o}}},function(e,t,a){"use strict";var o=e.exports={};o.isIE=function(e){return!(-1===(t=navigator.userAgent.toLowerCase()).indexOf("msie")&&-1===t.indexOf("trident")&&-1===t.indexOf(" edge/")||e&&e!==function(){var e=3,t=document.createElement("div"),a=t.getElementsByTagName("i");do{t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e"}while(a[0]);return e>4?e:void 0}());var t},o.isLegacyOpera=function(){return!!window.opera}},function(e,t){e.exports=window.ReactDOM},function(e,t){e.exports=function(e){return void 0===e}},function(e,t,a){var o=a(39),n=a(89),r=a(264),l=a(62);e.exports=function(e,t){if(null==e)return{};var a=o(l(e),(function(e){return[e]}));return t=n(t),r(e,a,(function(e,a){return t(e,a[0])}))}},function(e){e.exports=JSON.parse('{"category":"blockspare","title":"Main Hero Banners","description":"Display Main Hero Banners from Selected Post Categories","textdomain":"blockspare","keywords":["Main","Hero","Blockspare","Banner"],"attributes":{"className":{"type":"string"},"align":{"type":"string","default":"wide"},"uniqueClass":{"type":"string","default":""},"bannerOneLayout":{"type":"string","default":"banner-style-1 has-bg-layout"},"bannerOneTrendingBg":{"type":"string","default":"#fff"},"bannerTwoLayout":{"type":"string","default":"banner-style-1 has-bg-layout"},"bannerTwoTrendingBg":{"type":"string","default":"#fff"},"bannerThreeLayout":{"type":"string","default":"banner-style-1 has-bg-layout"},"bannerThreeTrendingBg":{"type":"string","default":"#fff"},"bannerFourLayout":{"type":"string","default":"banner-style-1 has-bg-layout"},"bannerFourTrendingBg":{"type":"string","default":"#fff"},"bannerFiveLayout":{"type":"string","default":"banner-style-1 has-bg-layout"},"bannerFiveTrendingBg":{"type":"string","default":"#f9f9f9"},"bannerSixLayout":{"type":"string","default":"banner-style-1 has-bg-layout"},"bannerSixTrendingBg":{"type":"string","default":"#f9f9f9"},"bannerSevenLayout":{"type":"string","default":"banner-style-1 has-bg-layout"},"bannerSevenTrendingBg":{"type":"string","default":"#f9f9f9"},"bannerEightLayout":{"type":"string","default":"banner-style-1 has-bg-layout"},"bannerEightTrendingBg":{"type":"string","default":"#f9f9f9"},"bannerNineLayout":{"type":"string","default":"banner-style-1 has-bg-layout"},"bannerNineTrendingBg":{"type":"string","default":"#f9f9f9"},"bannerTenLayout":{"type":"string","default":"banner-style-1 has-bg-layout"},"bannerTenTrendingBg":{"type":"string","default":"#f9f9f9"},"bannerElevenLayout":{"type":"string","default":"banner-style-1 has-bg-layout"},"bannerElevenTrendingBg":{"type":"string","default":"#f9f9f9"},"bannerTwelveLayout":{"type":"string","default":"banner-style-1 has-bg-layout"},"bannerTwelveTrendingBg":{"type":"string","default":"#f9f9f9"},"sliderCategory":{"type":"string"},"sliderCategoryLayoutOption":{"type":"string","default":"solid"},"sliderCategoryTextColor":{"type":"string","default":"#fff"},"sliderCategoryBorderColor":{"type":"string","default":"#fff"},"sliderCategoryBackgroundColor":{"type":"string","default":"#000000"},"sliderBackgroundColor":{"type":"string","default":"#f9f9f9"},"sliderSecondCategoryTextColor":{"type":"string","default":"#fff"},"sliderSecondCategoryBorderColor":{"type":"string","default":"#d60000"},"sliderSecondCategoryBackgroundColor":{"type":"string","default":"#d60000"},"sliderThirdCategoryTextColor":{"type":"string","default":"#fff"},"sliderThirdCategoryBorderColor":{"type":"string","default":"#f99500"},"sliderThirdCategoryBackgroundColor":{"type":"string","default":"#f99500"},"sliderCategoryBorderWidth":{"type":"number","default":1},"sliderCategoryBorderRadius":{"type":"number","default":0},"sliderPostsToShow":{"type":"number","default":4},"sliderOrder":{"type":"string","default":"desc"},"sliderOrderBy":{"type":"string","default":"date"},"sliderPostTitleColor":{"type":"string","default":"#EFEFEF"},"sliderPostGeneralColor":{"type":"string","default":"#fff"},"sliderPostLinkColor":{"type":"string","default":"#fff"},"sliderTitleFontSize":{"type":"number","default":27},"sliderTitleFontFamily":{"type":"string","default":"Default"},"sliderTitleFontWeight":{"type":"string","default":""},"sliderTitleFontSubset":{"type":"string"},"sliderTitleFontSizeType":{"type":"string","default":"px"},"sliderTitleFontSizeMobile":{"type":"number","default":20},"sliderTitleFontSizeTablet":{"type":"number","default":22},"sliderTitleLoadGoogleFonts":{"type":"boolean","default":false},"sliderMetaFontSize":{"type":"number","default":11},"sliderMetaFontFamily":{"type":"string","default":"Default"},"sliderMetaFontWeight":{"type":"string","default":""},"sliderMetaFontSubset":{"type":"string"},"sliderMetaFontSizeType":{"type":"string","default":"px"},"sliderMetaFontSizeMobile":{"type":"number","default":11},"sliderMetaFontSizeTablet":{"type":"number","default":11},"sliderMetaLoadGoogleFonts":{"type":"boolean","default":false},"sliderTitleLineHeight":{"type":"number","default":1.5},"sliderNextPrevShow":{"type":"boolean","default":true},"sliderNextIcon":{"type":"string","default":"fas fa-chevron-right"},"sliderEnableAutoPlay":{"type":"boolean","default":true},"sliderSpeed":{"type":"number","default":"800"},"sliderNavigationColor":{"type":"string","default":"#000"},"sliderNavigationShape":{"type":"string","default":"bs-navigation-1"},"sliderNavigationSize":{"type":"string","default":"bs-navigation-small"},"sliderEnableNavInHover":{"type":"boolean","default":true},"sliderNavigationShapeColor":{"type":"string","default":"#fff"},"sliderDisplayPostCategory":{"type":"boolean","default":true},"sliderDisplayPostAuthor":{"type":"boolean","default":true},"sliderDisplayPostDate":{"type":"boolean","default":true},"sliderEnableComment":{"type":"boolean","default":true},"sliderAuthorIcon":{"type":"string","default":"far fa-user-circle"},"sliderDateIcon":{"type":"string","default":"far fa-clock"},"sliderCommentIcon":{"type":"string","default":"far fa-comment"},"editorCategory":{"type":"string"},"sliderCategoryFontSize":{"type":"number","default":10},"sliderCategoryFontFamily":{"type":"string","default":"Default"},"sliderCategoryFontWeight":{"type":"string","default":"600"},"sliderCategoryFontSubset":{"type":"string"},"sliderCategoryFontSizeType":{"type":"string","default":"px"},"sliderCategoryFontSizeMobile":{"type":"number","default":10},"sliderCategoryFontSizeTablet":{"type":"number","default":10},"sliderCategoryLoadGoogleFonts":{"type":"boolean","default":false},"sliderTitleOnHover":{"type":"string","default":"lpc-title-hover"},"sliderTitleOnHoverColor":{"type":"string","default":"#ffffff"},"sliderTitleMarginTop":{"type":"number","default":5},"sliderTitleMarginBottom":{"type":"number","default":0},"sliderTitleMarginLeft":{"type":"number","default":0},"sliderTitleMarginRight":{"type":"number","default":0},"editorCategoryLayoutOption":{"type":"string","default":"solid"},"editorCategoryTextColor":{"type":"string","default":"#fff"},"editorCategoryBorderColor":{"type":"string","default":"#fff"},"editorCategoryBackgroundColor":{"type":"string","default":"#000000"},"editorSecondCategoryTextColor":{"type":"string","default":"#fff"},"editorSecondCategoryBorderColor":{"type":"string","default":"#d60000"},"editorSecondCategoryBackgroundColor":{"type":"string","default":"#d60000"},"editorThirdCategoryTextColor":{"type":"string","default":"#fff"},"editorThirdCategoryBorderColor":{"type":"string","default":"#f99500"},"editorThirdCategoryBackgroundColor":{"type":"string","default":"#f99500"},"editorCategoryBorderWidth":{"type":"number","default":1},"editorCategoryBorderRadius":{"type":"number","default":0},"editorOrder":{"type":"string","default":"desc"},"editorOrderBy":{"type":"string","default":"date"},"editorPostsToShow":{"type":"number","default":2},"editorPostTitleColor":{"type":"string","default":"#EFEFEF"},"editorPostGeneralColor":{"type":"string","default":"#fff"},"editorPostLinkColor":{"type":"string","default":"#fff"},"editorTitleFontSize":{"type":"number","default":16},"editorTitleFontFamily":{"type":"string","default":"Default"},"editorTitleFontWeight":{"type":"string","default":""},"editorTitleFontSubset":{"type":"string"},"editorTitleFontSizeType":{"type":"string","default":"px"},"editorTitleFontSizeMobile":{"type":"number","default":14},"editorTitleFontSizeTablet":{"type":"number","default":14},"editorTitleLoadGoogleFonts":{"type":"boolean","default":false},"editorCategoryFontSize":{"type":"number","default":10},"editorCategoryFontFamily":{"type":"string","default":"Default"},"editorCategoryFontWeight":{"type":"string","default":"600"},"editorCategoryFontSubset":{"type":"string"},"editorCategoryFontSizeType":{"type":"string","default":"px"},"editorCategoryFontSizeMobile":{"type":"number","default":10},"editorCategoryFontSizeTablet":{"type":"number","default":10},"editorCategoryLoadGoogleFonts":{"type":"boolean","default":false},"editorMetaFontSize":{"type":"number","default":11},"editorMetaFontFamily":{"type":"string","default":"Default"},"editorMetaFontWeight":{"type":"string","default":""},"editorMetaFontSubset":{"type":"string"},"editorMetaFontSizeType":{"type":"string","default":"px"},"editorMetaFontSizeMobile":{"type":"number","default":11},"editorMetaFontSizeTablet":{"type":"number","default":11},"editorMetaLoadGoogleFonts":{"type":"boolean","default":false},"editorTitleLineHeight":{"type":"number","default":1.5},"editorDisplayPostCategory":{"type":"boolean","default":true},"editorDisplayPostAuthor":{"type":"boolean","default":false},"editorDisplayPostDate":{"type":"boolean","default":false},"editorEnableComment":{"type":"boolean","default":false},"editorAuthorIcon":{"type":"string","default":"far fa-user-circle"},"editorDateIcon":{"type":"string","default":"far fa-clock"},"editorCommentIcon":{"type":"string","default":"far fa-comment"},"editorTitleOnHover":{"type":"string","default":"lpc-title-hover"},"editorTitleOnHoverColor":{"type":"string","default":"#ffffff"},"editorTitleMarginTop":{"type":"number","default":5},"editorTitleMarginBottom":{"type":"number","default":0},"editorTitleMarginLeft":{"type":"number","default":0},"editorTitleMarginRight":{"type":"number","default":0},"trendingGutterSpace":{"type":"number","default":1},"numberofSlideTrending":{"type":"number","default":2},"trendingCategory":{"type":"string"},"trendingPostsToShow":{"type":"number","default":2},"trendingOrder":{"type":"string","default":"desc"},"trendingOrderBy":{"type":"string","default":"date"},"trendingPostToshow":{"type":"number","default":6},"trendingPostTitleColor":{"type":"string","default":"#000"},"trendingPostGeneralColor":{"type":"string","default":"#aaa"},"trendingPostLinkColor":{"type":"string","default":"#aaa"},"trendingTitleFontSize":{"type":"number","default":14},"trendingTitleFontFamily":{"type":"string","default":"Default"},"trendingTitleFontWeight":{"type":"string","default":""},"trendingTitleFontSubset":{"type":"string"},"trendingTitleFontSizeType":{"type":"string","default":"px"},"trendingTitleFontSizeMobile":{"type":"number","default":14},"trendingTitleFontSizeTablet":{"type":"number","default":12},"trendingTitleLoadGoogleFonts":{"type":"boolean","default":false},"trendingMetaFontSize":{"type":"number","default":11},"trendingMetaFontFamily":{"type":"string","default":"Default"},"trendingMetaFontWeight":{"type":"string","default":""},"trendingMetaFontSubset":{"type":"string"},"trendingMetaFontSizeType":{"type":"string","default":"px"},"trendingMetaFontSizeMobile":{"type":"number","default":11},"trendingMetaFontSizeTablet":{"type":"number","default":11},"trendingMetaLoadGoogleFonts":{"type":"boolean","default":false},"trendingTitleLineHeight":{"type":"number","default":1.5},"trendingDisplayPostCategory":{"type":"boolean","default":false},"trendingCategoryFontSize":{"type":"number","default":10},"trendingCategoryFontFamily":{"type":"string","default":"Default"},"trendingCategoryFontWeight":{"type":"string","default":"600"},"trendingCategoryFontSubset":{"type":"string"},"trendingCategoryFontSizeType":{"type":"string","default":"px"},"trendingCategoryFontSizeMobile":{"type":"number","default":10},"trendingCategoryFontSizeTablet":{"type":"number","default":10},"trendingCategoryLoadGoogleFonts":{"type":"boolean","default":false},"trendingNextPrevShow":{"type":"boolean","default":true},"trendingNextIcon":{"type":"string","default":"fas fa-chevron-right"},"trendingEnableAutoPlay":{"type":"boolean","default":true},"trendingNumberOfSlide":{"type":"number","default":1},"trendingSpeed":{"type":"number","default":"800"},"trendingCategoryLayoutOption":{"type":"string","default":"solid"},"trendingCategoryTextColor":{"type":"string","default":"#fff"},"trendingCategoryBorderColor":{"type":"string","default":"#000000"},"trendingCategoryBackgroundColor":{"type":"string","default":"#000000"},"trendingSecondCategoryTextColor":{"type":"string","default":"#fff"},"trendingSecondCategoryBorderColor":{"type":"string","default":"#d60000"},"trendingSecondCategoryBackgroundColor":{"type":"string","default":"#d60000"},"trendingThirdCategoryTextColor":{"type":"string","default":"#fff"},"trendingThirdCategoryBorderColor":{"type":"string","default":"#f99500"},"trendingThirdCategoryBackgroundColor":{"type":"string","default":"#f99500"},"trendingCategoryBorderWidth":{"type":"number","default":1},"trendingCategoryBorderRadius":{"type":"number","default":0},"trendingNavigationColor":{"type":"string","default":"#000"},"trendingNavigationShape":{"type":"string","default":"bs-navigation-1"},"trendingNavigationSize":{"type":"string","default":"bs-navigation-small"},"trendingEnableNavInHover":{"type":"boolean","default":true},"trendingNavigationShapeColor":{"type":"string","default":"#fff"},"trendingDisplayPostAuthor":{"type":"boolean","default":false},"trendingDisplayPostDate":{"type":"boolean","default":false},"trendingEnableComment":{"type":"boolean","default":false},"trendingAuthorIcon":{"type":"string","default":"far fa-user-circle"},"trendingDateIcon":{"type":"string","default":"far fa-clock"},"trendingCommentIcon":{"type":"string","default":"far fa-comment"},"trendingLatestTabIcon":{"type":"string","default":"fas fa-bolt"},"trendingPopularTabIcon":{"type":"string","default":"far fa-clock"},"trendingTabIconSize":{"type":"number","default":14},"trendingTabFontSize":{"type":"number","default":14},"trendingTabFontFamily":{"type":"string","default":"Default"},"trendingTabFontWeight":{"type":"string","default":""},"trendingTabFontSubset":{"type":"string"},"trendingTabFontSizeType":{"type":"string","default":"px"},"trendingTabFontSizeMobile":{"type":"number","default":14},"trendingTabFontSizeTablet":{"type":"number","default":12},"trendingTabLoadGoogleFonts":{"type":"boolean","default":false},"trendingTitleOnHover":{"type":"string","default":"lpc-title-hover"},"trendingTitleOnHoverColor":{"type":"string","default":"#000000"},"trendingTabTextColor":{"type":"string","default":"#fff"},"trendingTabIconColor":{"type":"string","default":"#fff"},"trendingTabBgColor":{"type":"string","default":"#202020"},"trendingTabActiveColor":{"type":"string","default":"#1164F0"},"trendingTitleMarginTop":{"type":"number","default":0},"trendingTitleMarginBottom":{"type":"number","default":0},"trendingTitleMarginLeft":{"type":"number","default":0},"trendingTitleMarginRight":{"type":"number","default":0},"animation":{"type":"string","default":""},"sliderPostOverlayColor":{"type":"string","default":"#000000"},"editorPostOverlayColor":{"type":"string","default":"#000000"},"trendigActiveTab":{"type":"string","default":"latest"},"marginTop":{"type":"number","default":30},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"marginRight":{"type":"number","default":0},"contentPaddingTop":{"type":"number","default":20},"contentPaddingLeft":{"type":"number","default":20},"contentPaddingBottom":{"type":"number","default":20},"contentPaddingRight":{"type":"number","default":20},"sliderCategoryMarginTop":{"type":"number","default":0},"sliderCategoryMarginBottom":{"type":"number","default":0},"sliderCategoryMarginLeft":{"type":"number","default":0},"sliderCategoryMarginRight":{"type":"number","default":0},"sliderMetaMarginTop":{"type":"number","default":5},"sliderMetaMarginBottom":{"type":"number","default":0},"sliderMetaMarginLeft":{"type":"number","default":0},"sliderMetaMarginRight":{"type":"number","default":0},"editorCategoryMarginTop":{"type":"number","default":0},"editorCategoryMarginBottom":{"type":"number","default":0},"editorCategoryMarginLeft":{"type":"number","default":0},"editorCategoryMarginRight":{"type":"number","default":0},"editorMetaMarginTop":{"type":"number","default":5},"editorMetaMarginBottom":{"type":"number","default":0},"editorMetaMarginLeft":{"type":"number","default":0},"editorMetaMarginRight":{"type":"number","default":0},"trendingCategoryMarginTop":{"type":"number","default":0},"trendingCategoryMarginBottom":{"type":"number","default":0},"trendingCategoryMarginLeft":{"type":"number","default":0},"trendingCategoryMarginRight":{"type":"number","default":0},"trendingMetaMarginTop":{"type":"number","default":5},"trendingMetaMarginBottom":{"type":"number","default":0},"trendingMetaMarginLeft":{"type":"number","default":0},"trendingMetaMarginRight":{"type":"number","default":0},"gutter":{"type":"number","default":10},"borderRadius":{"type":"number","default":0},"trendingBackground":{"type":"boolean","default":true},"sliderBackground":{"type":"boolean","default":true},"sliderGridCategoryBorderColor":{"type":"string","default":"#ccc"},"sliderGridSecondCategoryBorderColor":{"type":"string","default":"#d60000"},"sliderGridThirdCategoryBorderColor":{"type":"string","default":"#f99500"},"sliderGridPostTitleColor":{"type":"string","default":"#000"},"sliderGridPostGeneralColor":{"type":"string","default":"#505050"},"sliderGridPostLinkColor":{"type":"string","default":"#000"},"sliderGridTitleOnHoverColor":{"type":"string","default":"#222"},"blockHoverEffect":{"type":"string","default":""},"imageHoverEffect":{"type":"string","default":""},"sliderColorType":{"type":"string","default":"bs-single-color"},"editorColorType":{"type":"string","default":"bs-single-color"},"trendingColorType":{"type":"string","default":"bs-single-color"}}}')},function(e,t){e.exports=window.lodash},function(e,t){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch(e){"object"==typeof window&&(a=window)}e.exports=a},function(e,t,a){var o=a(131),n=a(43),r=a(44),l=r&&r.isTypedArray,i=l?n(l):o;e.exports=i},function(e,t,a){var o=a(74),n=a(46),r=a(21);e.exports=function(e){return o(e,r,n)}},function(e,t,a){var o=a(6).Uint8Array;e.exports=o},function(e,t,a){var o=a(160);e.exports=function(e){return null==e?"":o(e)}},function(e,t,a){var o=a(218),n=a(228),r=a(50),l=a(8),i=a(231);e.exports=function(e){return"function"==typeof e?e:null==e?r:"object"==typeof e?l(e)?n(e[0],e[1]):o(e):i(e)}},function(e,t){e.exports=function(e,t){for(var a=-1,o=Array(e);++a<e;)o[a]=t(a);return o}},function(e,t){e.exports=function(e,t){for(var a=-1,o=null==e?0:e.length,n=0,r=[];++a<o;){var l=e[a];t(l,a,e)&&(r[n++]=l)}return r}},function(e,t,a){var o=a(14)(a(6),"Set");e.exports=o},function(e,t,a){var o=a(166),n=a(75),r=a(76);e.exports=function(e){return r(n(e,void 0,o),e+"")}},function(e,t,a){var o=a(181),n=a(9),r=a(32),l=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(r(e))return NaN;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var a=i.test(e);return a||s.test(e)?c(e.slice(2),a?2:8):l.test(e)?NaN:+e}},function(e,t,a){var o=a(58);e.exports=function(e,t,a){var n=null==e?void 0:o(e,t);return void 0===n?a:n}},function(e,t){e.exports=window.wp.blockEditor},function(e,t,a){var o=a(90),n=a(394),r=a(265),l=Math.min;e.exports=function(e,t){if((e=r(e))<1||e>9007199254740991)return[];var a=4294967295,i=l(e,4294967295);t=n(t),e-=4294967295;for(var s=o(i,t);++a<e;)t(a);return s}},function(e,t,a){var o=a(61),n=a(127),r=a(36),l=a(128),i=a(134),s=a(137),c=a(138),p=a(139),b=a(140),u=a(86),d=a(62),g=a(37),m=a(144),f=a(145),h=a(150),k=a(8),y=a(56),v=a(152),C=a(9),O=a(154),E=a(21),x=a(45),w={};w["[object Arguments]"]=w["[object Array]"]=w["[object ArrayBuffer]"]=w["[object DataView]"]=w["[object Boolean]"]=w["[object Date]"]=w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Map]"]=w["[object Number]"]=w["[object Object]"]=w["[object RegExp]"]=w["[object Set]"]=w["[object String]"]=w["[object Symbol]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w["[object Error]"]=w["[object Function]"]=w["[object WeakMap]"]=!1,e.exports=function e(t,a,S,T,j,F){var M,B=1&a,L=2&a,z=4&a;if(S&&(M=j?S(t,T,j,F):S(t)),void 0!==M)return M;if(!C(t))return t;var N=k(t);if(N){if(M=m(t),!B)return c(t,M)}else{var P=g(t),D="[object Function]"==P||"[object GeneratorFunction]"==P;if(y(t))return s(t,B);if("[object Object]"==P||"[object Arguments]"==P||D&&!j){if(M=L||D?{}:h(t),!B)return L?b(t,i(M,t)):p(t,l(M,t))}else{if(!w[P])return j?t:{};M=f(t,P,B)}}F||(F=new o);var R=F.get(t);if(R)return R;F.set(t,M),O(t)?t.forEach((function(o){M.add(e(o,a,S,o,t,F))})):v(t)&&t.forEach((function(o,n){M.set(n,e(o,a,S,n,t,F))}));var A=N?void 0:(z?L?d:u:L?x:E)(t);return n(A||t,(function(o,n){A&&(o=t[n=o]),r(M,n,e(o,a,S,n,t,F))})),M}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,a){var o=a(28),n=Array.prototype.splice;e.exports=function(e){var t=this.__data__,a=o(t,e);return!(a<0||(a==t.length-1?t.pop():n.call(t,a,1),--this.size,0))}},function(e,t,a){var o=a(28);e.exports=function(e){var t=this.__data__,a=o(t,e);return a<0?void 0:t[a][1]}},function(e,t,a){var o=a(28);e.exports=function(e){return o(this.__data__,e)>-1}},function(e,t,a){var o=a(28);e.exports=function(e,t){var a=this.__data__,n=o(a,e);return n<0?(++this.size,a.push([e,t])):a[n][1]=t,this}},function(e,t,a){var o=a(27);e.exports=function(){this.__data__=new o,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,a=t.delete(e);return this.size=t.size,a}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,a){var o=a(27),n=a(40),r=a(54);e.exports=function(e,t){var a=this.__data__;if(a instanceof o){var l=a.__data__;if(!n||l.length<199)return l.push([e,t]),this.size=++a.size,this;a=this.__data__=new r(l)}return a.set(e,t),this.size=a.size,this}},function(e,t,a){var o=a(65),n=a(112),r=a(9),l=a(67),i=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,p=s.toString,b=c.hasOwnProperty,u=RegExp("^"+p.call(b).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||n(e))&&(o(e)?u:i).test(l(e))}},function(e,t,a){var o=a(20),n=Object.prototype,r=n.hasOwnProperty,l=n.toString,i=o?o.toStringTag:void 0;e.exports=function(e){var t=r.call(e,i),a=e[i];try{e[i]=void 0;var o=!0}catch(e){}var n=l.call(e);return o&&(t?e[i]=a:delete e[i]),n}},function(e,t){var a=Object.prototype.toString;e.exports=function(e){return a.call(e)}},function(e,t,a){var o,n=a(113),r=(o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";e.exports=function(e){return!!r&&r in e}},function(e,t,a){var o=a(6)["__core-js_shared__"];e.exports=o},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,a){var o=a(116),n=a(27),r=a(40);e.exports=function(){this.size=0,this.__data__={hash:new o,map:new(r||n),string:new o}}},function(e,t,a){var o=a(117),n=a(118),r=a(119),l=a(120),i=a(121);function s(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var o=e[t];this.set(o[0],o[1])}}s.prototype.clear=o,s.prototype.delete=n,s.prototype.get=r,s.prototype.has=l,s.prototype.set=i,e.exports=s},function(e,t,a){var o=a(29);e.exports=function(){this.__data__=o?o(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,a){var o=a(29),n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(o){var a=t[e];return"__lodash_hash_undefined__"===a?void 0:a}return n.call(t,e)?t[e]:void 0}},function(e,t,a){var o=a(29),n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:n.call(t,e)}},function(e,t,a){var o=a(29);e.exports=function(e,t){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,a){var o=a(30);e.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,a){var o=a(30);e.exports=function(e){return o(this,e).get(e)}},function(e,t,a){var o=a(30);e.exports=function(e){return o(this,e).has(e)}},function(e,t,a){var o=a(30);e.exports=function(e,t){var a=o(this,e),n=a.size;return a.set(e,t),this.size+=a.size==n?0:1,this}},function(e,t){e.exports=function(e,t){for(var a=-1,o=null==e?0:e.length;++a<o&&!1!==t(e[a],a,e););return e}},function(e,t,a){var o=a(18),n=a(21);e.exports=function(e,t){return e&&o(t,n(t),e)}},function(e,t,a){var o=a(17),n=a(12);e.exports=function(e){return n(e)&&"[object Arguments]"==o(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,a){var o=a(17),n=a(57),r=a(12),l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l["[object Arguments]"]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l["[object Function]"]=l["[object Map]"]=l["[object Number]"]=l["[object Object]"]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&n(e.length)&&!!l[o(e)]}},function(e,t,a){var o=a(31),n=a(133),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!o(e))return n(e);var t=[];for(var a in Object(e))r.call(e,a)&&"constructor"!=a&&t.push(a);return t}},function(e,t,a){var o=a(71)(Object.keys,Object);e.exports=o},function(e,t,a){var o=a(18),n=a(45);e.exports=function(e,t){return e&&o(t,n(t),e)}},function(e,t,a){var o=a(9),n=a(31),r=a(136),l=Object.prototype.hasOwnProperty;e.exports=function(e){if(!o(e))return r(e);var t=n(e),a=[];for(var i in e)("constructor"!=i||!t&&l.call(e,i))&&a.push(i);return a}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var a in Object(e))t.push(a);return t}},function(e,t,a){(function(e){var o=a(6),n=t&&!t.nodeType&&t,r=n&&"object"==typeof e&&e&&!e.nodeType&&e,l=r&&r.exports===n?o.Buffer:void 0,i=l?l.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var a=e.length,o=i?i(a):new e.constructor(a);return e.copy(o),o}}).call(this,a(41)(e))},function(e,t){e.exports=function(e,t){var a=-1,o=e.length;for(t||(t=Array(o));++a<o;)t[a]=e[a];return t}},function(e,t,a){var o=a(18),n=a(46);e.exports=function(e,t){return o(e,n(e),t)}},function(e,t,a){var o=a(18),n=a(73);e.exports=function(e,t){return o(e,n(e),t)}},function(e,t,a){var o=a(14)(a(6),"DataView");e.exports=o},function(e,t,a){var o=a(14)(a(6),"Promise");e.exports=o},function(e,t,a){var o=a(14)(a(6),"WeakMap");e.exports=o},function(e,t){var a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,o=new e.constructor(t);return t&&"string"==typeof e[0]&&a.call(e,"index")&&(o.index=e.index,o.input=e.input),o}},function(e,t,a){var o=a(49),n=a(146),r=a(147),l=a(148),i=a(149);e.exports=function(e,t,a){var s=e.constructor;switch(t){case"[object ArrayBuffer]":return o(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return n(e,a);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return i(e,a);case"[object Map]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return r(e);case"[object Set]":return new s;case"[object Symbol]":return l(e)}}},function(e,t,a){var o=a(49);e.exports=function(e,t){var a=t?o(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}},function(e,t){var a=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,a.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,a){var o=a(20),n=o?o.prototype:void 0,r=n?n.valueOf:void 0;e.exports=function(e){return r?Object(r.call(e)):{}}},function(e,t,a){var o=a(49);e.exports=function(e,t){var a=t?o(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}},function(e,t,a){var o=a(151),n=a(48),r=a(31);e.exports=function(e){return"function"!=typeof e.constructor||r(e)?{}:o(n(e))}},function(e,t,a){var o=a(9),n=Object.create,r=function(){function e(){}return function(t){if(!o(t))return{};if(n)return n(t);e.prototype=t;var a=new e;return e.prototype=void 0,a}}();e.exports=r},function(e,t,a){var o=a(153),n=a(43),r=a(44),l=r&&r.isMap,i=l?n(l):o;e.exports=i},function(e,t,a){var o=a(37),n=a(12);e.exports=function(e){return n(e)&&"[object Map]"==o(e)}},function(e,t,a){var o=a(155),n=a(43),r=a(44),l=r&&r.isSet,i=l?n(l):o;e.exports=i},function(e,t,a){var o=a(37),n=a(12);e.exports=function(e){return n(e)&&"[object Set]"==o(e)}},function(e,t,a){var o=a(25),n=a(161),r=a(162),l=a(26);e.exports=function(e,t){return t=o(t,e),null==(e=r(e,t))||delete e[l(n(t))]}},function(e,t,a){var o=a(158),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,l=o((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,(function(e,a,o,n){t.push(o?n.replace(r,"$1"):a||e)})),t}));e.exports=l},function(e,t,a){var o=a(159);e.exports=function(e){var t=o(e,(function(e){return 500===a.size&&a.clear(),e})),a=t.cache;return t}},function(e,t,a){var o=a(54);function n(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var a=function(){var o=arguments,n=t?t.apply(this,o):o[0],r=a.cache;if(r.has(n))return r.get(n);var l=e.apply(this,o);return a.cache=r.set(n,l)||r,l};return a.cache=new(n.Cache||o),a}n.Cache=o,e.exports=n},function(e,t,a){var o=a(20),n=a(39),r=a(8),l=a(32),i=o?o.prototype:void 0,s=i?i.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(r(t))return n(t,e)+"";if(l(t))return s?s.call(t):"";var a=t+"";return"0"==a&&1/t==-1/0?"-0":a}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,a){var o=a(58),n=a(163);e.exports=function(e,t){return t.length<2?e:o(e,n(t,0,-1))}},function(e,t){e.exports=function(e,t,a){var o=-1,n=e.length;t<0&&(t=-t>n?0:n+t),(a=a>n?n:a)<0&&(a+=n),n=t>a?0:a-t>>>0,t>>>=0;for(var r=Array(n);++o<n;)r[o]=e[o+t];return r}},function(e,t,a){var o=a(165);e.exports=function(e){return o(e)?void 0:e}},function(e,t,a){var o=a(17),n=a(48),r=a(12),l=Function.prototype,i=Object.prototype,s=l.toString,c=i.hasOwnProperty,p=s.call(Object);e.exports=function(e){if(!r(e)||"[object Object]"!=o(e))return!1;var t=n(e);if(null===t)return!0;var a=c.call(t,"constructor")&&t.constructor;return"function"==typeof a&&a instanceof a&&s.call(a)==p}},function(e,t,a){var o=a(167);e.exports=function(e){return null!=e&&e.length?o(e,1):[]}},function(e,t,a){var o=a(47),n=a(168);e.exports=function e(t,a,r,l,i){var s=-1,c=t.length;for(r||(r=n),i||(i=[]);++s<c;){var p=t[s];a>0&&r(p)?a>1?e(p,a-1,r,l,i):o(i,p):l||(i[i.length]=p)}return i}},function(e,t,a){var o=a(20),n=a(55),r=a(8),l=o?o.isConcatSpreadable:void 0;e.exports=function(e){return r(e)||n(e)||!!(l&&e&&e[l])}},function(e,t){e.exports=function(e,t,a){switch(a.length){case 0:return e.call(t);case 1:return e.call(t,a[0]);case 2:return e.call(t,a[0],a[1]);case 3:return e.call(t,a[0],a[1],a[2])}return e.apply(t,a)}},function(e,t,a){var o=a(171),n=a(69),r=a(50),l=n?function(e,t){return n(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:r;e.exports=l},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var a=Date.now;e.exports=function(e){var t=0,o=0;return function(){var n=a(),r=16-(n-o);if(o=n,r>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,a){"use strict";var o=a(174);function n(){}function r(){}r.resetWarningCache=n,e.exports=function(){function e(e,t,a,n,r,l){if(l!==o){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:n};return a.PropTypes=a,a}},function(e,t,a){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,a){var o=a(220),n=a(12);e.exports=function e(t,a,r,l,i){return t===a||(null==t||null==a||!n(t)&&!n(a)?t!=t&&a!=a:o(t,a,r,l,e,i))}},function(e,t,a){var o=a(210),n=a(223),r=a(211);e.exports=function(e,t,a,l,i,s){var c=1&a,p=e.length,b=t.length;if(p!=b&&!(c&&b>p))return!1;var u=s.get(e),d=s.get(t);if(u&&d)return u==t&&d==e;var g=-1,m=!0,f=2&a?new o:void 0;for(s.set(e,t),s.set(t,e);++g<p;){var h=e[g],k=t[g];if(l)var y=c?l(k,h,g,t,e,s):l(h,k,g,e,t,s);if(void 0!==y){if(y)continue;m=!1;break}if(f){if(!n(t,(function(e,t){if(!r(f,t)&&(h===e||i(h,e,a,l,s)))return f.push(t)}))){m=!1;break}}else if(h!==k&&!i(h,k,a,l,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},function(e,t){e.exports=function(e){var t=-1,a=Array(e.size);return e.forEach((function(e){a[++t]=e})),a}},function(e,t,a){var o=a(9);e.exports=function(e){return e==e&&!o(e)}},function(e,t){e.exports=function(e,t){return function(a){return null!=a&&a[e]===t&&(void 0!==t||e in Object(a))}}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=s,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=t.safePreventDefault=void 0;var o,n=(o=a(3))&&o.__esModule?o:{default:o};function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function l(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?r(Object(a),!0).forEach((function(t){i(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function s(e,t,a){return Math.max(t,Math.min(e,a))}var c=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=c;var p=function(e){for(var t=[],a=b(e),o=u(e),n=a;n<o;n++)e.lazyLoadedList.indexOf(n)<0&&t.push(n);return t};t.getOnDemandLazySlides=p,t.getRequiredLazySlides=function(e){for(var t=[],a=b(e),o=u(e),n=a;n<o;n++)t.push(n);return t};var b=function(e){return e.currentSlide-d(e)};t.lazyStartIndex=b;var u=function(e){return e.currentSlide+g(e)};t.lazyEndIndex=u;var d=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=d;var g=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=g;var m=function(e){return e&&e.offsetWidth||0};t.getWidth=m;var f=function(e){return e&&e.offsetHeight||0};t.getHeight=f;var h=function(e){var t,a,o,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,a=e.startY-e.curY,o=Math.atan2(a,t),(n=Math.round(180*o/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":!0===r?n>=35&&n<=135?"up":"down":"vertical"};t.getSwipeDirection=h;var k=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=k,t.extractObject=function(e,t){var a={};return t.forEach((function(t){return a[t]=e[t]})),a},t.initializedState=function(e){var t,a=n.default.Children.count(e.children),o=e.listRef,r=Math.ceil(m(o)),i=e.trackRef&&e.trackRef.node,s=Math.ceil(m(i));if(e.vertical)t=r;else{var c=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=r/100),t=Math.ceil((r-c)/e.slidesToShow)}var b=o&&f(o.querySelector('[data-index="0"]')),u=b*e.slidesToShow,d=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(d=a-1-e.initialSlide);var g=e.lazyLoadedList||[],h=p(l(l({},e),{},{currentSlide:d,lazyLoadedList:g})),k={slideCount:a,slideWidth:t,listWidth:r,trackWidth:s,currentSlide:d,slideHeight:b,listHeight:u,lazyLoadedList:g=g.concat(h)};return null===e.autoplaying&&e.autoplay&&(k.autoplaying="playing"),k},t.slideHandler=function(e){var t=e.waitForAnimate,a=e.animating,o=e.fade,n=e.infinite,r=e.index,i=e.slideCount,c=e.lazyLoad,b=e.currentSlide,u=e.centerMode,d=e.slidesToScroll,g=e.slidesToShow,m=e.useCSS,f=e.lazyLoadedList;if(t&&a)return{};var h,y,v,C=r,O={},S={},T=n?r:s(r,0,i-1);if(o){if(!n&&(r<0||r>=i))return{};r<0?C=r+i:r>=i&&(C=r-i),c&&f.indexOf(C)<0&&(f=f.concat(C)),O={animating:!0,currentSlide:C,lazyLoadedList:f,targetSlide:C},S={animating:!1,targetSlide:C}}else h=C,C<0?(h=C+i,n?i%d!=0&&(h=i-i%d):h=0):!k(e)&&C>b?C=h=b:u&&C>=i?(C=n?i:i-1,h=n?0:i-1):C>=i&&(h=C-i,n?i%d!=0&&(h=0):h=i-g),!n&&C+g>=i&&(h=i-g),y=w(l(l({},e),{},{slideIndex:C})),v=w(l(l({},e),{},{slideIndex:h})),n||(y===v&&(C=h),y=v),c&&(f=f.concat(p(l(l({},e),{},{currentSlide:C})))),m?(O={animating:!0,currentSlide:h,trackStyle:x(l(l({},e),{},{left:y})),lazyLoadedList:f,targetSlide:T},S={animating:!1,currentSlide:h,trackStyle:E(l(l({},e),{},{left:v})),swipeLeft:null,targetSlide:T}):O={currentSlide:h,trackStyle:E(l(l({},e),{},{left:v})),lazyLoadedList:f,targetSlide:T};return{state:O,nextState:S}},t.changeSlide=function(e,t){var a,o,n,r,i=e.slidesToScroll,s=e.slidesToShow,c=e.slideCount,p=e.currentSlide,b=e.targetSlide,u=e.lazyLoad,d=e.infinite;if(a=c%i!=0?0:(c-p)%i,"previous"===t.message)r=p-(n=0===a?i:s-a),u&&!d&&(r=-1==(o=p-n)?c-1:o),d||(r=b-i);else if("next"===t.message)r=p+(n=0===a?i:a),u&&!d&&(r=(p+i)%c+a),d||(r=b+i);else if("dots"===t.message)r=t.index*t.slidesToScroll;else if("children"===t.message){if(r=t.index,d){var g=F(l(l({},e),{},{targetSlide:r}));r>t.currentSlide&&"left"===g?r-=c:r<t.currentSlide&&"right"===g&&(r+=c)}}else"index"===t.message&&(r=Number(t.index));return r},t.keyHandler=function(e,t,a){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?a?"next":"previous":39===e.keyCode?a?"previous":"next":""},t.swipeStart=function(e,t,a){return"IMG"===e.target.tagName&&c(e),!t||!a&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var a=t.scrolling,o=t.animating,n=t.vertical,r=t.swipeToSlide,i=t.verticalSwiping,s=t.rtl,p=t.currentSlide,b=t.edgeFriction,u=t.edgeDragged,d=t.onEdge,g=t.swiped,m=t.swiping,f=t.slideCount,y=t.slidesToScroll,v=t.infinite,C=t.touchObject,O=t.swipeEvent,x=t.listHeight,S=t.listWidth;if(!a){if(o)return c(e);n&&r&&i&&c(e);var T,j={},F=w(t);C.curX=e.touches?e.touches[0].pageX:e.clientX,C.curY=e.touches?e.touches[0].pageY:e.clientY,C.swipeLength=Math.round(Math.sqrt(Math.pow(C.curX-C.startX,2)));var M=Math.round(Math.sqrt(Math.pow(C.curY-C.startY,2)));if(!i&&!m&&M>10)return{scrolling:!0};i&&(C.swipeLength=M);var B=(s?-1:1)*(C.curX>C.startX?1:-1);i&&(B=C.curY>C.startY?1:-1);var L=Math.ceil(f/y),z=h(t.touchObject,i),N=C.swipeLength;return v||(0===p&&("right"===z||"down"===z)||p+1>=L&&("left"===z||"up"===z)||!k(t)&&("left"===z||"up"===z))&&(N=C.swipeLength*b,!1===u&&d&&(d(z),j.edgeDragged=!0)),!g&&O&&(O(z),j.swiped=!0),T=n?F+N*(x/S)*B:s?F-N*B:F+N*B,i&&(T=F+N*B),j=l(l({},j),{},{touchObject:C,swipeLeft:T,trackStyle:E(l(l({},t),{},{left:T}))}),Math.abs(C.curX-C.startX)<.8*Math.abs(C.curY-C.startY)||C.swipeLength>10&&(j.swiping=!0,c(e)),j}},t.swipeEnd=function(e,t){var a=t.dragging,o=t.swipe,n=t.touchObject,r=t.listWidth,i=t.touchThreshold,s=t.verticalSwiping,p=t.listHeight,b=t.swipeToSlide,u=t.scrolling,d=t.onSwipe,g=t.targetSlide,m=t.currentSlide,f=t.infinite;if(!a)return o&&c(e),{};var k=s?p/i:r/i,y=h(n,s),O={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(u)return O;if(!n.swipeLength)return O;if(n.swipeLength>k){var E,S;c(e),d&&d(y);var T=f?m:g;switch(y){case"left":case"up":S=T+C(t),E=b?v(t,S):S,O.currentDirection=0;break;case"right":case"down":S=T-C(t),E=b?v(t,S):S,O.currentDirection=1;break;default:E=T}O.triggerSlideHandler=E}else{var j=w(t);O.trackStyle=x(l(l({},t),{},{left:j}))}return O};var y=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,a=e.infinite?-1*e.slidesToShow:0,o=e.infinite?-1*e.slidesToShow:0,n=[];a<t;)n.push(a),a=o+e.slidesToScroll,o+=Math.min(e.slidesToScroll,e.slidesToShow);return n};t.getNavigableIndexes=y;var v=function(e,t){var a=y(e),o=0;if(t>a[a.length-1])t=a[a.length-1];else for(var n in a){if(t<a[n]){t=o;break}o=a[n]}return t};t.checkNavigable=v;var C=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var a,o=e.listRef,n=o.querySelectorAll&&o.querySelectorAll(".slick-slide")||[];if(Array.from(n).every((function(o){if(e.vertical){if(o.offsetTop+f(o)/2>-1*e.swipeLeft)return a=o,!1}else if(o.offsetLeft-t+m(o)/2>-1*e.swipeLeft)return a=o,!1;return!0})),!a)return 0;var r=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(a.dataset.index-r)||1}return e.slidesToScroll};t.getSlideCount=C;var O=function(e,t){return t.reduce((function(t,a){return t&&e.hasOwnProperty(a)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=O;var E=function(e){var t,a;O(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var o=e.slideCount+2*e.slidesToShow;e.vertical?a=o*e.slideHeight:t=j(e)*e.slideWidth;var n={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var r=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";n=l(l({},n),{},{WebkitTransform:r,transform:i,msTransform:s})}else e.vertical?n.top=e.left:n.left=e.left;return e.fade&&(n={opacity:1}),t&&(n.width=t),a&&(n.height=a),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?n.marginTop=e.left+"px":n.marginLeft=e.left+"px"),n};t.getTrackCSS=E;var x=function(e){O(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=E(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=x;var w=function(e){if(e.unslick)return 0;O(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,a,o=e.slideIndex,n=e.trackRef,r=e.infinite,l=e.centerMode,i=e.slideCount,s=e.slidesToShow,c=e.slidesToScroll,p=e.slideWidth,b=e.listWidth,u=e.variableWidth,d=e.slideHeight,g=e.fade,m=e.vertical;if(g||1===e.slideCount)return 0;var f=0;if(r?(f=-S(e),i%c!=0&&o+c>i&&(f=-(o>i?s-(o-i):i%c)),l&&(f+=parseInt(s/2))):(i%c!=0&&o+c>i&&(f=s-i%c),l&&(f=parseInt(s/2))),t=m?o*d*-1+f*d:o*p*-1+f*p,!0===u){var h,k=n&&n.node;if(h=o+S(e),t=(a=k&&k.childNodes[h])?-1*a.offsetLeft:0,!0===l){h=r?o+S(e):o,a=k&&k.children[h],t=0;for(var y=0;y<h;y++)t-=k&&k.children[y]&&k.children[y].offsetWidth;t-=parseInt(e.centerPadding),t+=a&&(b-a.offsetWidth)/2}}return t};t.getTrackLeft=w;var S=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=S;var T=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=T;var j=function(e){return 1===e.slideCount?1:S(e)+e.slideCount+T(e)};t.getTotalSlides=j;var F=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+M(e)?"left":"right":e.targetSlide<e.currentSlide-B(e)?"right":"left"};t.siblingDirection=F;var M=function(e){var t=e.slidesToShow,a=e.centerMode,o=e.rtl,n=e.centerPadding;if(a){var r=(t-1)/2+1;return parseInt(n)>0&&(r+=1),o&&t%2==0&&(r+=1),r}return o?0:t-1};t.slidesOnRight=M;var B=function(e){var t=e.slidesToShow,a=e.centerMode,o=e.rtl,n=e.centerPadding;if(a){var r=(t-1)/2+1;return parseInt(n)>0&&(r+=1),o||t%2!=0||(r+=1),r}return o?t-1:0};t.slidesOnLeft=B,t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},function(e,t,a){var o=a(182),n=/^\s+/;e.exports=function(e){return e?e.slice(0,o(e)+1).replace(n,""):e}},function(e,t){var a=/\s/;e.exports=function(e){for(var t=e.length;t--&&a.test(e.charAt(t)););return t}},function(e,t,a){var o=a(6);e.exports=function(){return o.Date.now()}},function(e,t,a){var o,n,r;window,n=[a(185),a(52)],void 0===(r="function"==typeof(o=function(e,t){"use strict";var a=e.create("masonry");a.compatOptions.fitWidth="isFitWidth";var o=a.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],a=e&&e.element;this.columnWidth=a&&t(a).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,r=n/o,l=o-n%o;r=Math[l&&l<1?"round":"floor"](r),this.cols=Math.max(r,1)},o.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,a=t(e);this.containerWidth=a&&a.innerWidth},o._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,a=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth);a=Math.min(a,this.cols);for(var o=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](a,e),n={x:this.columnWidth*o.col,y:o.y},r=o.y+e.size.outerHeight,l=a+o.col,i=o.col;i<l;i++)this.colYs[i]=r;return n},o._getTopColPosition=function(e){var t=this._getTopColGroup(e),a=Math.min.apply(Math,t);return{col:t.indexOf(a),y:a}},o._getTopColGroup=function(e){if(e<2)return this.colYs;for(var t=[],a=this.cols+1-e,o=0;o<a;o++)t[o]=this._getColGroupY(o,e);return t},o._getColGroupY=function(e,t){if(t<2)return this.colYs[e];var a=this.colYs.slice(e,e+t);return Math.max.apply(Math,a)},o._getHorizontalColPosition=function(e,t){var a=this.horizontalColIndex%this.cols;a=e>1&&a+e>this.cols?0:a;var o=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=o?a+e:this.horizontalColIndex,{col:a,y:this._getColGroupY(a,e)}},o._manageStamp=function(e){var a=t(e),o=this._getElementOffset(e),n=this._getOption("originLeft")?o.left:o.right,r=n+a.outerWidth,l=Math.floor(n/this.columnWidth);l=Math.max(0,l);var i=Math.floor(r/this.columnWidth);i-=r%this.columnWidth?0:1,i=Math.min(this.cols-1,i);for(var s=(this._getOption("originTop")?o.top:o.bottom)+a.outerHeight,c=l;c<=i;c++)this.colYs[c]=Math.max(s,this.colYs[c])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},o._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},a})?o.apply(t,n):o)||(e.exports=r)},function(e,t,a){var o,n;!function(r,l){"use strict";o=[a(51),a(52),a(186),a(188)],void 0===(n=function(e,t,a,o){return function(e,t,a,o,n){var r=e.console,l=e.jQuery,i=function(){},s=0,c={};function p(e,t){var a=o.getQueryElement(e);if(a){this.element=a,l&&(this.$element=l(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(t);var n=++s;this.element.outlayerGUID=n,c[n]=this,this._create(),this._getOption("initLayout")&&this.layout()}else r&&r.error("Bad element for "+this.constructor.namespace+": "+(a||e))}p.namespace="outlayer",p.Item=n,p.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var b=p.prototype;function u(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}o.extend(b,t.prototype),b.option=function(e){o.extend(this.options,e)},b._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},p.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},b._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},b.reloadItems=function(){this.items=this._itemize(this.element.children)},b._itemize=function(e){for(var t=this._filterFindItemElements(e),a=this.constructor.Item,o=[],n=0;n<t.length;n++){var r=new a(t[n],this);o.push(r)}return o},b._filterFindItemElements=function(e){return o.filterFindElements(e,this.options.itemSelector)},b.getItemElements=function(){return this.items.map((function(e){return e.element}))},b.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},b._init=b.layout,b._resetLayout=function(){this.getSize()},b.getSize=function(){this.size=a(this.element)},b._getMeasurement=function(e,t){var o,n=this.options[e];n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[e]=o?a(o)[t]:n):this[e]=0},b.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},b._getItemsForLayout=function(e){return e.filter((function(e){return!e.isIgnored}))},b._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var a=[];e.forEach((function(e){var o=this._getItemLayoutPosition(e);o.item=e,o.isInstant=t||e.isLayoutInstant,a.push(o)}),this),this._processLayoutQueue(a)}},b._getItemLayoutPosition=function(){return{x:0,y:0}},b._processLayoutQueue=function(e){this.updateStagger(),e.forEach((function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)}),this)},b.updateStagger=function(){var e=this.options.stagger;if(null!=e)return this.stagger=function(e){if("number"==typeof e)return e;var t=e.match(/(^\d*\.?\d*)(\w*)/),a=t&&t[1],o=t&&t[2];return a.length?(a=parseFloat(a))*(d[o]||1):0}(e),this.stagger;this.stagger=0},b._positionItem=function(e,t,a,o,n){o?e.goTo(t,a):(e.stagger(n*this.stagger),e.moveTo(t,a))},b._postLayout=function(){this.resizeContainer()},b.resizeContainer=function(){if(this._getOption("resizeContainer")){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},b._getContainerSize=i,b._setContainerMeasure=function(e,t){if(void 0!==e){var a=this.size;a.isBorderBox&&(e+=t?a.paddingLeft+a.paddingRight+a.borderLeftWidth+a.borderRightWidth:a.paddingBottom+a.paddingTop+a.borderTopWidth+a.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px"}},b._emitCompleteOnItems=function(e,t){var a=this;function o(){a.dispatchEvent(e+"Complete",null,[t])}var n=t.length;if(t&&n){var r=0;t.forEach((function(t){t.once(e,l)}))}else o();function l(){++r==n&&o()}},b.dispatchEvent=function(e,t,a){var o=t?[t].concat(a):a;if(this.emitEvent(e,o),l)if(this.$element=this.$element||l(this.element),t){var n=l.Event(t);n.type=e,this.$element.trigger(n,a)}else this.$element.trigger(e,a)},b.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},b.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},b.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},b.unstamp=function(e){(e=this._find(e))&&e.forEach((function(e){o.removeFrom(this.stamps,e),this.unignore(e)}),this)},b._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),o.makeArray(e)},b._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},b._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},b._manageStamp=i,b._getElementOffset=function(e){var t=e.getBoundingClientRect(),o=this._boundingRect,n=a(e);return{left:t.left-o.left-n.marginLeft,top:t.top-o.top-n.marginTop,right:o.right-t.right-n.marginRight,bottom:o.bottom-t.bottom-n.marginBottom}},b.handleEvent=o.handleEvent,b.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},b.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},b.onresize=function(){this.resize()},o.debounceMethod(p,"onresize",100),b.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},b.needsResizeLayout=function(){var e=a(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},b.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},b.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},b.prepended=function(e){var t=this._itemize(e);if(t.length){var a=this.items.slice(0);this.items=t.concat(a),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(a)}},b.reveal=function(e){if(this._emitCompleteOnItems("reveal",e),e&&e.length){var t=this.updateStagger();e.forEach((function(e,a){e.stagger(a*t),e.reveal()}))}},b.hide=function(e){if(this._emitCompleteOnItems("hide",e),e&&e.length){var t=this.updateStagger();e.forEach((function(e,a){e.stagger(a*t),e.hide()}))}},b.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},b.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},b.getItem=function(e){for(var t=0;t<this.items.length;t++){var a=this.items[t];if(a.element==e)return a}},b.getItems=function(e){e=o.makeArray(e);var t=[];return e.forEach((function(e){var a=this.getItem(e);a&&t.push(a)}),this),t},b.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach((function(e){e.remove(),o.removeFrom(this.items,e)}),this)},b.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach((function(e){e.destroy()})),this.unbindResize();var t=this.element.outlayerGUID;delete c[t],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},p.data=function(e){var t=(e=o.getQueryElement(e))&&e.outlayerGUID;return t&&c[t]},p.create=function(e,t){var a=u(p);return a.defaults=o.extend({},p.defaults),o.extend(a.defaults,t),a.compatOptions=o.extend({},p.compatOptions),a.namespace=e,a.data=p.data,a.Item=u(n),o.htmlInit(a,e),l&&l.bridget&&l.bridget(e,a),a};var d={ms:1,s:1e3};return p.Item=n,p}(r,e,t,a,o)}.apply(t,o))||(e.exports=n)}(window)},function(e,t,a){var o,n;!function(r,l){o=[a(187)],void 0===(n=function(e){return function(e,t){"use strict";var a={extend:function(e,t){for(var a in t)e[a]=t[a];return e},modulo:function(e,t){return(e%t+t)%t}},o=Array.prototype.slice;a.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?o.call(e):[e]},a.removeFrom=function(e,t){var a=e.indexOf(t);-1!=a&&e.splice(a,1)},a.getParent=function(e,a){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,t(e,a))return e},a.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},a.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},a.filterFindElements=function(e,o){e=a.makeArray(e);var n=[];return e.forEach((function(e){if(e instanceof HTMLElement)if(o){t(e,o)&&n.push(e);for(var a=e.querySelectorAll(o),r=0;r<a.length;r++)n.push(a[r])}else n.push(e)})),n},a.debounceMethod=function(e,t,a){a=a||100;var o=e.prototype[t],n=t+"Timeout";e.prototype[t]=function(){var e=this[n];clearTimeout(e);var t=arguments,r=this;this[n]=setTimeout((function(){o.apply(r,t),delete r[n]}),a)}},a.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},a.toDashed=function(e){return e.replace(/(.)([A-Z])/g,(function(e,t,a){return t+"-"+a})).toLowerCase()};var n=e.console;return a.htmlInit=function(t,o){a.docReady((function(){var r=a.toDashed(o),l="data-"+r,i=document.querySelectorAll("["+l+"]"),s=document.querySelectorAll(".js-"+r),c=a.makeArray(i).concat(a.makeArray(s)),p=l+"-options",b=e.jQuery;c.forEach((function(e){var a,r=e.getAttribute(l)||e.getAttribute(p);try{a=r&&JSON.parse(r)}catch(t){return void(n&&n.error("Error parsing "+l+" on "+e.className+": "+t))}var i=new t(e,a);b&&b.data(e,o,i)}))}))},a}(r,e)}.apply(t,o))||(e.exports=n)}(window)},function(e,t,a){var o,n;!function(r,l){"use strict";void 0===(n="function"==typeof(o=l)?o.call(t,a,t,e):o)||(e.exports=n)}(window,(function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],a=0;a<t.length;a++){var o=t[a]+"MatchesSelector";if(e[o])return o}}();return function(t,a){return t[e](a)}}))},function(e,t,a){var o,n,r;window,n=[a(51),a(52)],void 0===(r="function"==typeof(o=function(e,t){"use strict";var a=document.documentElement.style,o="string"==typeof a.transition?"transition":"WebkitTransition",n="string"==typeof a.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],l={transform:n,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"};function i(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}var s=i.prototype=Object.create(e.prototype);s.constructor=i,s._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},s.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},s.getSize=function(){this.size=t(this.element)},s.css=function(e){var t=this.element.style;for(var a in e)t[l[a]||a]=e[a]},s.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),a=this.layout._getOption("originTop"),o=e[t?"left":"right"],n=e[a?"top":"bottom"],r=parseFloat(o),l=parseFloat(n),i=this.layout.size;-1!=o.indexOf("%")&&(r=r/100*i.width),-1!=n.indexOf("%")&&(l=l/100*i.height),r=isNaN(r)?0:r,l=isNaN(l)?0:l,r-=t?i.paddingLeft:i.paddingRight,l-=a?i.paddingTop:i.paddingBottom,this.position.x=r,this.position.y=l},s.layoutPosition=function(){var e=this.layout.size,t={},a=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=a?"paddingLeft":"paddingRight",r=a?"left":"right",l=a?"right":"left",i=this.position.x+e[n];t[r]=this.getXValue(i),t[l]="";var s=o?"paddingTop":"paddingBottom",c=o?"top":"bottom",p=o?"bottom":"top",b=this.position.y+e[s];t[c]=this.getYValue(b),t[p]="",this.css(t),this.emitEvent("layout",[this])},s.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},s.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},s._transitionTo=function(e,t){this.getPosition();var a=this.position.x,o=this.position.y,n=e==this.position.x&&t==this.position.y;if(this.setPosition(e,t),!n||this.isTransitioning){var r=e-a,l=t-o,i={};i.transform=this.getTranslate(r,l),this.transition({to:i,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},s.getTranslate=function(e,t){return"translate3d("+(e=this.layout._getOption("originLeft")?e:-e)+"px, "+(t=this.layout._getOption("originTop")?t:-t)+"px, 0)"},s.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},s.moveTo=s._transitionTo,s.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},s._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},s.transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t=this._transn;for(var a in e.onTransitionEnd)t.onEnd[a]=e.onTransitionEnd[a];for(a in e.to)t.ingProperties[a]=!0,e.isCleaning&&(t.clean[a]=!0);e.from&&(this.css(e.from),this.element.offsetHeight),this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)};var c="opacity,"+n.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}));s.enableTransition=function(){if(!this.isTransitioning){var e=this.layout.options.transitionDuration;e="number"==typeof e?e+"ms":e,this.css({transitionProperty:c,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1)}},s.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},s.onotransitionend=function(e){this.ontransitionend(e)};var p={"-webkit-transform":"transform"};s.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,a=p[e.propertyName]||e.propertyName;delete t.ingProperties[a],function(e){for(var t in e)return!1;return!0}(t.ingProperties)&&this.disableTransition(),a in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[a]),a in t.onEnd&&(t.onEnd[a].call(this),delete t.onEnd[a]),this.emitEvent("transitionEnd",[this])}},s.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},s._removeStyles=function(e){var t={};for(var a in e)t[a]="";this.css(t)};var b={transitionProperty:"",transitionDuration:"",transitionDelay:""};return s.removeTransitionStyles=function(){this.css(b)},s.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},s.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},s.remove=function(){o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",(function(){this.removeElem()})),this.hide()):this.removeElem()},s.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},s.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},s.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var a in t)return a},s.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},s.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},s.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i})?o.apply(t,n):o)||(e.exports=r)},function(e,t,a){var o,n;!function(r,l){"use strict";o=[a(51)],void 0===(n=function(e){return function(e,t){var a=e.jQuery,o=e.console;function n(e,t){for(var a in t)e[a]=t[a];return e}var r=Array.prototype.slice;function l(e,t,i){if(!(this instanceof l))return new l(e,t,i);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?r.call(s):[s]),this.options=n({},this.options),"function"==typeof t?i=t:n(this.options,t),i&&this.on("always",i),this.getImages(),a&&(this.jqDeferred=new a.Deferred),setTimeout(this.check.bind(this))):o.error("Bad element for imagesLoaded "+(c||e))}l.prototype=Object.create(t.prototype),l.prototype.options={},l.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},l.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&i[t]){for(var a=e.querySelectorAll("img"),o=0;o<a.length;o++){var n=a[o];this.addImage(n)}if("string"==typeof this.options.background){var r=e.querySelectorAll(this.options.background);for(o=0;o<r.length;o++){var l=r[o];this.addElementBackgroundImages(l)}}}};var i={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 l.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var a=/url\((['"])?(.*?)\1\)/gi,o=a.exec(t.backgroundImage);null!==o;){var n=o&&o[2];n&&this.addBackground(n,e),o=a.exec(t.backgroundImage)}},l.prototype.addImage=function(e){var t=new s(e);this.images.push(t)},l.prototype.addBackground=function(e,t){var a=new c(e,t);this.images.push(a)},l.prototype.check=function(){var e=this;function t(t,a,o){setTimeout((function(){e.progress(t,a,o)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(e){e.once("progress",t),e.check()})):this.complete()},l.prototype.progress=function(e,t,a){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&&o&&o.log("progress: "+a,e,t)},l.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])},l.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((a=t).fn.imagesLoaded=function(e,t){return new l(this,e,t).jqDeferred.promise(a(this))})},l.makeJQueryPlugin(),l}(r,e)}.apply(t,o))||(e.exports=n)}("undefined"!=typeof window?window:this)},function(e,t,a){var o=a(36),n=a(18),r=a(191),l=a(22),i=a(31),s=a(21),c=Object.prototype.hasOwnProperty,p=r((function(e,t){if(i(t)||l(t))n(t,s(t),e);else for(var a in t)c.call(t,a)&&o(e,a,t[a])}));e.exports=p},function(e,t,a){var o=a(192),n=a(193);e.exports=function(e){return o((function(t,a){var o=-1,r=a.length,l=r>1?a[r-1]:void 0,i=r>2?a[2]:void 0;for(l=e.length>3&&"function"==typeof l?(r--,l):void 0,i&&n(a[0],a[1],i)&&(l=r<3?void 0:l,r=1),t=Object(t);++o<r;){var s=a[o];s&&e(t,s,o,l)}return t}))}},function(e,t,a){var o=a(50),n=a(75),r=a(76);e.exports=function(e,t){return r(n(e,t,o),e+"")}},function(e,t,a){var o=a(35),n=a(22),r=a(42),l=a(9);e.exports=function(e,t,a){if(!l(a))return!1;var i=typeof t;return!!("number"==i?n(a)&&r(t,a.length):"string"==i&&t in a)&&o(a[t],e)}},function(e,t,a){"use strict";var o=a(77).forEach,n=a(195),r=a(196),l=a(197),i=a(198),s=a(199),c=a(78),p=a(200),b=a(202),u=a(203),d=a(204);function g(e){return Array.isArray(e)||void 0!==e.length}function m(e){if(Array.isArray(e))return e;var t=[];return o(e,(function(e){t.push(e)})),t}function f(e){return e&&1===e.nodeType}function h(e,t,a){var o=e[t];return null==o&&void 0!==a?a:o}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 a=l(),k=i({idGenerator:a,stateHandler:b});t=k}var y=e.reporter;y||(y=s(!1===y));var v=h(e,"batchProcessor",p({reporter:y})),C={};C.callOnAdd=!!h(e,"callOnAdd",!0),C.debug=!!h(e,"debug",!1);var O,E=r(t),x=n({stateHandler:b}),w=h(e,"strategy","object"),S=h(e,"important",!1),T={reporter:y,batchProcessor:v,stateHandler:b,idHandler:t,important:S};if("scroll"===w&&(c.isLegacyOpera()?(y.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),w="object"):c.isIE(9)&&(y.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),w="object")),"scroll"===w)O=d(T);else{if("object"!==w)throw new Error("Invalid strategy name: "+w);O=u(T)}var j={};return{listenTo:function(e,a,n){function r(e){var t=E.get(e);o(t,(function(t){t(e)}))}function l(e,t,a){E.add(t,a),e&&a(t)}if(n||(n=a,a=e,e={}),!a)throw new Error("At least one element required.");if(!n)throw new Error("Listener required.");if(f(a))a=[a];else{if(!g(a))return y.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");a=m(a)}var i=0,s=h(e,"callOnAdd",C.callOnAdd),c=h(e,"onReady",(function(){})),p=h(e,"debug",C.debug);o(a,(function(e){b.getState(e)||(b.initState(e),t.set(e));var u=t.get(e);if(p&&y.log("Attaching listener to element",u,e),!x.isDetectable(e))return p&&y.log(u,"Not detectable."),x.isBusy(e)?(p&&y.log(u,"System busy making it detectable"),l(s,e,n),j[u]=j[u]||[],void j[u].push((function(){++i===a.length&&c()}))):(p&&y.log(u,"Making detectable..."),x.markBusy(e,!0),O.makeDetectable({debug:p,important:S},e,(function(e){if(p&&y.log(u,"onElementDetectable"),b.getState(e)){x.markAsDetectable(e),x.markBusy(e,!1),O.addListener(e,r),l(s,e,n);var t=b.getState(e);if(t&&t.startSize){var d=e.offsetWidth,g=e.offsetHeight;t.startSize.width===d&&t.startSize.height===g||r(e)}j[u]&&o(j[u],(function(e){e()}))}else p&&y.log(u,"Element uninstalled before being detectable.");delete j[u],++i===a.length&&c()})));p&&y.log(u,"Already detecable, adding listener."),l(s,e,n),i++})),i===a.length&&c()},removeListener:E.removeListener,removeAllListeners:E.removeAllListeners,uninstall:function(e){if(!e)return y.error("At least one element is required.");if(f(e))e=[e];else{if(!g(e))return y.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=m(e)}o(e,(function(e){E.removeAllListeners(e),O.uninstall(e),b.cleanState(e)}))},initDocument:function(e){O.initDocument&&O.initDocument(e)}}}},function(e,t,a){"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var a=t(e);return a&&!!a.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,a){t(e).busy=!!a}}}},function(e,t,a){"use strict";e.exports=function(e){var t={};function a(a){var o=e.get(a);return void 0===o?[]:t[o]||[]}return{get:a,add:function(a,o){var n=e.get(a);t[n]||(t[n]=[]),t[n].push(o)},removeListener:function(e,t){for(var o=a(e),n=0,r=o.length;n<r;++n)if(o[n]===t){o.splice(n,1);break}},removeAllListeners:function(e){var t=a(e);t&&(t.length=0)}}}},function(e,t,a){"use strict";e.exports=function(){var e=1;return{generate:function(){return e++}}}},function(e,t,a){"use strict";e.exports=function(e){var t=e.idGenerator,a=e.stateHandler.getState;return{get:function(e){var t=a(e);return t&&void 0!==t.id?t.id:null},set:function(e){var o=a(e);if(!o)throw new Error("setId required the element to have a resize detection state.");var n=t.generate();return o.id=n,n}}}},function(e,t,a){"use strict";e.exports=function(e){function t(){}var a={log:t,warn:t,error:t};if(!e&&window.console){var o=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var a=0;a<arguments.length;a++)e(arguments[a])}};o(a,"log"),o(a,"warn"),o(a,"error")}return a}},function(e,t,a){"use strict";var o=a(201);function n(){var e={},t=0,a=0,o=0;return{add:function(n,r){r||(r=n,n=0),n>a?a=n:n<o&&(o=n),e[n]||(e[n]=[]),e[n].push(r),t++},process:function(){for(var t=o;t<=a;t++)for(var n=e[t],r=0;r<n.length;r++)(0,n[r])()},size:function(){return t}}}e.exports=function(e){var t=(e=e||{}).reporter,a=o.getOption(e,"async",!0),r=o.getOption(e,"auto",!0);r&&!a&&(t&&t.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),a=!0);var l,i=n(),s=!1;function c(){for(s=!0;i.size();){var e=i;i=n(),e.process()}s=!1}function p(){l=setTimeout(c,0)}return{add:function(e,t){!s&&r&&a&&0===i.size()&&p(),i.add(e,t)},force:function(e){s||(void 0===e&&(e=a),l&&(clearTimeout(l),l=null),e?p():c())}}}},function(e,t,a){"use strict";(e.exports={}).getOption=function(e,t,a){var o=e[t];return null==o&&void 0!==a?a:o}},function(e,t,a){"use strict";function o(e){return e._erd}e.exports={initState:function(e){return e._erd={},o(e)},getState:o,cleanState:function(e){delete e._erd}}},function(e,t,a){"use strict";var o=a(78);e.exports=function(e){var t=(e=e||{}).reporter,a=e.batchProcessor,n=e.stateHandler.getState;if(!t)throw new Error("Missing required dependency: reporter.");function r(t){var a=e.important?" !important; ":"; ";return(t.join(a)+a).trim()}function l(e){return n(e).object}return{makeDetectable:function(e,l,i){i||(i=l,l=e,e=null),(e=e||{}).debug,o.isIE(8)?i(l):function(l,i){var s=r(["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,p=window.getComputedStyle(l),b=l.offsetWidth,u=l.offsetHeight;function d(){function a(){if("static"===p.position){l.style.setProperty("position","relative",e.important?"important":"");var a=function(t,a,o,n){var r=o[n];"auto"!==r&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(r)&&(t.warn("An element that is positioned static has style."+n+"="+r+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+n+" will be set to 0. Element: ",a),a.style.setProperty(n,"0",e.important?"important":""))};a(t,l,p,"top"),a(t,l,p,"right"),a(t,l,p,"bottom"),a(t,l,p,"left")}}""!==p.position&&(a(),c=!0);var r=document.createElement("object");r.style.cssText=s,r.tabIndex=-1,r.type="text/html",r.setAttribute("aria-hidden","true"),r.onload=function(){c||a(),function e(t,a){if(!t.contentDocument){var o=n(t);return o.checkForObjectDocumentTimeoutId&&window.clearTimeout(o.checkForObjectDocumentTimeoutId),void(o.checkForObjectDocumentTimeoutId=setTimeout((function(){o.checkForObjectDocumentTimeoutId=0,e(t,a)}),100))}a(t.contentDocument)}(this,(function(e){i(l)}))},o.isIE()||(r.data="about:blank"),n(l)&&(l.appendChild(r),n(l).object=r,o.isIE()&&(r.data="about:blank"))}n(l).startSize={width:b,height:u},a?a.add(d):d()}(l,i)},addListener:function(e,t){function a(){t(e)}if(o.isIE(8))n(e).object={proxy:a},e.attachEvent("onresize",a);else{var r=l(e);if(!r)throw new Error("Element is not detectable by this strategy.");r.contentDocument.defaultView.addEventListener("resize",a)}},uninstall:function(e){if(n(e)){var t=l(e);t&&(o.isIE(8)?e.detachEvent("onresize",t.proxy):e.removeChild(t),n(e).checkForObjectDocumentTimeoutId&&window.clearTimeout(n(e).checkForObjectDocumentTimeoutId),delete n(e).object)}}}}},function(e,t,a){"use strict";var o=a(77).forEach;e.exports=function(e){var t=(e=e||{}).reporter,a=e.batchProcessor,n=e.stateHandler.getState,r=(e.stateHandler.hasState,e.idHandler);if(!a)throw new Error("Missing required dependency: batchProcessor");if(!t)throw new Error("Missing required dependency: reporter.");var l=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 a=500-t.clientWidth,o=500-t.clientHeight;return document.body.removeChild(t),{width:a,height:o}}();function i(e){!function(e,t,a){if(!e.getElementById(t)){var o=a+"_animation",n="/* Created by the element-resize-detector library. */\n";n+="."+a+" > div::-webkit-scrollbar { "+s(["display: none"])+" }\n\n",n+=".erd_scroll_detection_container_animation_active { "+s(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+o,"animation-name: "+o])+" }\n",n+="@-webkit-keyframes "+o+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",function(a,o){o=o||function(t){e.head.appendChild(t)};var n=e.createElement("style");n.innerHTML=a,n.id=t,o(n)}(n+="@keyframes "+o+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}(e,"erd_scroll_detection_scrollbar_style","erd_scroll_detection_container")}function s(t){var a=e.important?" !important; ":"; ";return(t.join(a)+a).trim()}function c(e,a,o){if(e.addEventListener)e.addEventListener(a,o);else{if(!e.attachEvent)return t.error("[scroll] Don't know how to add event listeners.");e.attachEvent("on"+a,o)}}function p(e,a,o){if(e.removeEventListener)e.removeEventListener(a,o);else{if(!e.detachEvent)return t.error("[scroll] Don't know how to remove event listeners.");e.detachEvent("on"+a,o)}}function b(e){return n(e).container.childNodes[0].childNodes[0].childNodes[0]}function u(e){return n(e).container.childNodes[0].childNodes[0].childNodes[1]}return i(window.document),{makeDetectable:function(e,i,p){function d(){if(e.debug){var a=Array.prototype.slice.call(arguments);if(a.unshift(r.get(i),"Scroll: "),t.log.apply)t.log.apply(null,a);else for(var o=0;o<a.length;o++)t.log(a[o])}}function g(e){var t=n(e).container.childNodes[0],a=window.getComputedStyle(t);return!a.width||-1===a.width.indexOf("px")}function m(){var e=window.getComputedStyle(i),t={};return t.position=e.position,t.width=i.offsetWidth,t.height=i.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 f(){if(d("storeStyle invoked."),n(i)){var e=m();n(i).style=e}else d("Aborting because element has been uninstalled")}function h(e,t,a){n(e).lastWidth=t,n(e).lastHeight=a}function k(){return 2*l.width+1}function y(){return 2*l.height+1}function v(e){return e+10+k()}function C(e){return e+10+y()}function O(e,t,a){var o=b(e),n=u(e),r=v(t),l=C(a),i=function(e){return 2*e+k()}(t),s=function(e){return 2*e+y()}(a);o.scrollLeft=r,o.scrollTop=l,n.scrollLeft=i,n.scrollTop=s}function E(){var e=n(i).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"]),n(i).container=e,function(e){e.className+=" erd_scroll_detection_container_animation_active"}(e),i.appendChild(e);var t=function(){n(i).onRendered&&n(i).onRendered()};c(e,"animationstart",t),n(i).onAnimationStart=t}return e}function x(){if(d("Injecting elements"),n(i)){!function(){var a=n(i).style;if("static"===a.position){i.style.setProperty("position","relative",e.important?"important":"");var o=function(e,t,a,o){var n=a[o];"auto"!==n&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(n)&&(e.warn("An element that is positioned static has style."+o+"="+n+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+o+" will be set to 0. Element: ",t),t.style[o]=0)};o(t,i,a,"top"),o(t,i,a,"right"),o(t,i,a,"bottom"),o(t,i,a,"left")}}();var a=n(i).container;a||(a=E());var o,r,p,b,u=l.width,g=l.height,m=s(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),f=s(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(["left: "+(o=(o=-(1+u))?o+"px":"0"),"top: "+(r=(r=-(1+g))?r+"px":"0"),"right: "+(b=(b=-u)?b+"px":"0"),"bottom: "+(p=(p=-g)?p+"px":"0")])),h=s(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),k=s(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),y=s(["position: absolute","left: 0","top: 0"]),v=s(["position: absolute","width: 200%","height: 200%"]),C=document.createElement("div"),O=document.createElement("div"),x=document.createElement("div"),w=document.createElement("div"),S=document.createElement("div"),T=document.createElement("div");C.dir="ltr",C.style.cssText=m,C.className="erd_scroll_detection_container",O.className="erd_scroll_detection_container",O.style.cssText=f,x.style.cssText=h,w.style.cssText=y,S.style.cssText=k,T.style.cssText=v,x.appendChild(w),S.appendChild(T),O.appendChild(x),O.appendChild(S),C.appendChild(O),a.appendChild(C),c(x,"scroll",j),c(S,"scroll",F),n(i).onExpandScroll=j,n(i).onShrinkScroll=F}else d("Aborting because element has been uninstalled");function j(){var e=n(i);e&&e.onExpand?e.onExpand():d("Aborting expand scroll handler: element has been uninstalled")}function F(){var e=n(i);e&&e.onShrink?e.onShrink():d("Aborting shrink scroll handler: element has been uninstalled")}}function w(){function l(t,a,o){var n=function(e){return b(e).childNodes[0]}(t),r=v(a),l=C(o);n.style.setProperty("width",r+"px",e.important?"important":""),n.style.setProperty("height",l+"px",e.important?"important":"")}function s(o){var s=i.offsetWidth,p=i.offsetHeight,b=s!==n(i).lastWidth||p!==n(i).lastHeight;d("Storing current size",s,p),h(i,s,p),a.add(0,(function(){if(b)if(n(i))if(c()){if(e.debug){var a=i.offsetWidth,o=i.offsetHeight;a===s&&o===p||t.warn(r.get(i),"Scroll: Size changed before updating detector elements.")}l(i,s,p)}else d("Aborting because element container has not been initialized");else d("Aborting because element has been uninstalled")})),a.add(1,(function(){n(i)?c()?O(i,s,p):d("Aborting because element container has not been initialized"):d("Aborting because element has been uninstalled")})),b&&o&&a.add(2,(function(){n(i)?c()?o():d("Aborting because element container has not been initialized"):d("Aborting because element has been uninstalled")}))}function c(){return!!n(i).container}function p(){d("notifyListenersIfNeeded invoked");var e=n(i);return void 0===n(i).lastNotifiedWidth&&e.lastWidth===e.startSize.width&&e.lastHeight===e.startSize.height?d("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?d("Not notifying: Size already notified"):(d("Current size not notified, notifying..."),e.lastNotifiedWidth=e.lastWidth,e.lastNotifiedHeight=e.lastHeight,void o(n(i).listeners,(function(e){e(i)})))}function m(){d("Scroll detected."),g(i)?d("Scroll event fired while unrendered. Ignoring..."):s(p)}if(d("registerListenersAndPositionElements invoked."),n(i)){n(i).onRendered=function(){if(d("startanimation triggered."),g(i))d("Ignoring since element is still unrendered...");else{d("Element rendered.");var e=b(i),t=u(i);0!==e.scrollLeft&&0!==e.scrollTop&&0!==t.scrollLeft&&0!==t.scrollTop||(d("Scrollbars out of sync. Updating detector elements..."),s(p))}},n(i).onExpand=m,n(i).onShrink=m;var f=n(i).style;l(i,f.width,f.height)}else d("Aborting because element has been uninstalled")}function S(){if(d("finalizeDomMutation invoked."),n(i)){var e=n(i).style;h(i,e.width,e.height),O(i,e.width,e.height)}else d("Aborting because element has been uninstalled")}function T(){p(i)}function j(){var e;d("Installing..."),n(i).listeners=[],e=m(),n(i).startSize={width:e.width,height:e.height},d("Element start size",n(i).startSize),a.add(0,f),a.add(1,x),a.add(2,w),a.add(3,S),a.add(4,T)}p||(p=i,i=e,e=null),e=e||{},d("Making detectable..."),function(e){return!function(e){var t=e.getRootNode&&e.getRootNode().contains(e);return e===e.ownerDocument.body||e.ownerDocument.body.contains(e)||t}(e)||null===window.getComputedStyle(e)}(i)?(d("Element is detached"),E(),d("Waiting until element is attached..."),n(i).onRendered=function(){d("Element is now attached"),j()}):j()},addListener:function(e,t){if(!n(e).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");n(e).listeners.push(t)},uninstall:function(e){var t=n(e);t&&(t.onExpandScroll&&p(b(e),"scroll",t.onExpandScroll),t.onShrinkScroll&&p(u(e),"scroll",t.onShrinkScroll),t.onAnimationStart&&p(t.container,"animationstart",t.onAnimationStart),t.container&&e.removeChild(t.container))},initDocument:i}}},function(e,t,a){"use strict";var o=a(3),n=a(206);if(void 0===o)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 r=(new o.Component).updater;e.exports=n(o.Component,o.isValidElement,r)},function(e,t,a){"use strict";var o=a(207),n={};function r(e,t,a,o,n,r,l,i){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=[a,o,n,r,l,i],p=0;(s=new Error(t.replace(/%s/g,(function(){return c[p++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}e.exports=function(e,t,a){var l=[],i={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 a=0;a<t.length;a++)b(e,t[a])},childContextTypes:function(e,t){e.childContextTypes=o({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=o({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=d(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=o({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(t)for(var a in t){var o=t[a];if(t.hasOwnProperty(a)){if(r(!(a 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.',a),a in e)return r("DEFINE_MANY_MERGED"===(s.hasOwnProperty(a)?s[a]:null),"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",a),void(e[a]=d(e[a],o));e[a]=o}}}(e,t)},autobind:function(){}};function p(e,t){var a=i.hasOwnProperty(t)?i[t]:null;k.hasOwnProperty(t)&&r("OVERRIDE_BASE"===a,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&r("DEFINE_MANY"===a||"DEFINE_MANY_MERGED"===a,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function b(e,a){if(a){r("function"!=typeof a,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),r(!t(a),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var o=e.prototype,n=o.__reactAutoBindPairs;for(var l in a.hasOwnProperty("mixins")&&c.mixins(e,a.mixins),a)if(a.hasOwnProperty(l)&&"mixins"!==l){var s=a[l],b=o.hasOwnProperty(l);if(p(b,l),c.hasOwnProperty(l))c[l](e,s);else{var u=i.hasOwnProperty(l);if("function"!=typeof s||u||b||!1===a.autobind)if(b){var m=i[l];r(u&&("DEFINE_MANY_MERGED"===m||"DEFINE_MANY"===m),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",m,l),"DEFINE_MANY_MERGED"===m?o[l]=d(o[l],s):"DEFINE_MANY"===m&&(o[l]=g(o[l],s))}else o[l]=s;else n.push(l,s),o[l]=s}}}}function u(e,t){for(var a in r(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(a)&&(r(void 0===e[a],"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.",a),e[a]=t[a]);return e}function d(e,t){return function(){var a=e.apply(this,arguments),o=t.apply(this,arguments);if(null==a)return o;if(null==o)return a;var n={};return u(n,a),u(n,o),n}}function g(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function m(e,t){return t.bind(e)}var f={componentDidMount:function(){this.__isMounted=!0}},h={componentWillUnmount:function(){this.__isMounted=!1}},k={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},y=function(){};return o(y.prototype,e.prototype,k),function(e){var t=function(e,o,l){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,a=0;a<t.length;a+=2){var o=t[a],n=t[a+1];e[o]=m(e,n)}}(this),this.props=e,this.context=o,this.refs=n,this.updater=l||a,this.state=null;var i=this.getInitialState?this.getInitialState():null;r("object"==typeof i&&!Array.isArray(i),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=i};for(var o in t.prototype=new y,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],l.forEach(b.bind(null,t)),b(t,f),b(t,e),b(t,h),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),r(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),i)t.prototype[o]||(t.prototype[o]=null);return t}}},function(e,t,a){"use strict";var o=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function l(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,i,s=l(e),c=1;c<arguments.length;c++){for(var p in a=Object(arguments[c]))n.call(a,p)&&(s[p]=a[p]);if(o){i=o(a);for(var b=0;b<i.length;b++)r.call(a,i[b])&&(s[i[b]]=a[i[b]])}}return s}},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-list","category":"blockspare","attributes":{"className":{"type":"string"},"animation":{"type":"string","default":""},"align":{"type":"string","default":"center"},"uniqueClass":{"type":"string","default":""},"sectionAlignment":{"type":"string","default":"left"},"listBackGroundColor":{"type":"string"},"name":{"type":"string","default":"blockspare-list-check"},"listData":{"type":"string","source":"html","selector":"ol,ul","multiline":"li","default":"List item content"},"listType":{"type":"string","default":"ul"},"orderListStyle":{"type":"string","default":"blockspare-style1"},"color":{"type":"string","default":"#404040"},"descriptionIconColor":{"type":"string","default":"#404040"},"borderRadius":{"type":"number","default":0},"descriptionFontSize":{"type":"number","default":16},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string","default":""},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number","default":14},"descriptionFontSizeTablet":{"type":"number","default":14},"descriptionLoadGoogleFonts":{"type":"boolean","default":false},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"paddingTop":{"type":"number","default":0},"paddingRight":{"type":"number","default":0},"paddingBottom":{"type":"number","default":0},"paddingLeft":{"type":"number","default":0},"blockHoverEffect":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/user-profile","category":"blockspare","attributes":{"profileContent":{"type":"string","default":""},"profileContentFontSize":{"type":"number","default":18},"align":{"type":"string","default":"center"},"sectionAlignment":{"type":"string","default":"left"},"profileBackgroundColor":{"type":"string","default":"#fff"},"profileTextColor":{"type":"string","default":"#6d6d6d"},"facebook":{"type":"url","default":"facebook.com"},"twitter":{"type":"url","default":"twitter.com"},"instagram":{"type":"url"},"linkedin":{"type":"url","default":"linkedin.com"},"youtube":{"type":"url"},"paddingTop":{"type":"number","default":10},"paddingRight":{"type":"number","default":10},"paddingBottom":{"type":"number","default":10},"paddingLeft":{"type":"number","default":10},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"iconColorOption":{"type":"string","default":"blockspare-default-official-color"},"customfontColorOption":{"type":"string","default":"#fff"},"custombackgroundColorOption":{"type":"string","default":"#404040"},"buttonShapes":{"type":"string","default":"blockspare-social-icon-square"},"buttonSizes":{"type":"string","default":"blockspare-social-icon-small"},"buttonFills":{"type":"string","default":"blockspare-social-icon-solid"},"headermarginTop":{"type":"number","default":0},"headermarginRight":{"type":"number","default":0},"headermarginBottom":{"type":"number","default":0},"headermarginLeft":{"type":"number","default":0},"borderRadius":{"type":"number","default":0},"descriptionFontSize":{"type":"number","default":16},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string","default":""},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number","default":14},"descriptionFontSizeTablet":{"type":"number","default":14},"descriptionLoadGoogleFonts":{"type":"boolean","default":false},"descriptionMarginTop":{"type":"number","default":0},"descriptionMarginRight":{"type":"number","default":0},"descriptionMarginBottom":{"type":"number","default":10},"descriptionMarginLeft":{"type":"number","default":0},"animation":{"type":"string","default":""},"blockHoverEffect":{"type":"string","default":""},"iconLayoutType":{"type":"string","default":"blockspare-social-links-horizontal"},"buttonOptions":{"type":"string","default":"blockspare-icon-only"},"imageHoverEffect":{"type":"string","default":""}}}')},function(e,t,a){var o=a(54),n=a(221),r=a(222);function l(e){var t=-1,a=null==e?0:e.length;for(this.__data__=new o;++t<a;)this.add(e[t])}l.prototype.add=l.prototype.push=n,l.prototype.has=r,e.exports=l},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,a){var o=a(229),n=a(230);e.exports=function(e,t){return null!=e&&n(e,t,o)}},function(e,t,a){var o=a(235),n=a(238)(o);e.exports=n},function(e,t){e.exports=window.wp.domReady},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-logos","category":"blockspare","attributes":{"align":{"type":"string"},"uniqueClass":{"type":"string"},"animation":{"type":"string","default":""},"images":{"type":"array","default":[],"selector":"img","query":{"url":{"type":"string","source":"attribute","attribute":"src"},"alt":{"type":"string","source":"attribute","attribute":"alt","default":""},"id":{"type":"string","source":"attribute","attribute":"data-id"},"width":{"type":"string","source":"attribute","attribute":"data-width"}}},"columns":{"type":"number","default":4},"gutter":{"type":"number","default":15},"paddingTop":{"type":"number","default":0},"paddingRight":{"type":"number","default":0},"paddingBottom":{"type":"number","default":0},"paddingLeft":{"type":"number","default":0},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"blockHoverEffect":{"type":"string","default":""},"imageHoverEffect":{"type":"string","default":""}}}')},function(e,t){e.exports=window.wp.notices},function(e,t){e.exports=window.wp.editor},function(e,t,a){var o=a(219),n=a(227),r=a(179);e.exports=function(e){var t=n(e);return 1==t.length&&t[0][2]?r(t[0][0],t[0][1]):function(a){return a===e||o(a,e,t)}}},function(e,t,a){var o=a(61),n=a(175);e.exports=function(e,t,a,r){var l=a.length,i=l,s=!r;if(null==e)return!i;for(e=Object(e);l--;){var c=a[l];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++l<i;){var p=(c=a[l])[0],b=e[p],u=c[1];if(s&&c[2]){if(void 0===b&&!(p in e))return!1}else{var d=new o;if(r)var g=r(b,u,p,e,t,d);if(!(void 0===g?n(u,b,3,r,d):g))return!1}}return!0}},function(e,t,a){var o=a(61),n=a(176),r=a(224),l=a(226),i=a(37),s=a(8),c=a(56),p=a(85),b="[object Object]",u=Object.prototype.hasOwnProperty;e.exports=function(e,t,a,d,g,m){var f=s(e),h=s(t),k=f?"[object Array]":i(e),y=h?"[object Array]":i(t),v=(k="[object Arguments]"==k?b:k)==b,C=(y="[object Arguments]"==y?b:y)==b,O=k==y;if(O&&c(e)){if(!c(t))return!1;f=!0,v=!1}if(O&&!v)return m||(m=new o),f||p(e)?n(e,t,a,d,g,m):r(e,t,k,a,d,g,m);if(!(1&a)){var E=v&&u.call(e,"__wrapped__"),x=C&&u.call(t,"__wrapped__");if(E||x){var w=E?e.value():e,S=x?t.value():t;return m||(m=new o),g(w,S,a,d,m)}}return!!O&&(m||(m=new o),l(e,t,a,d,g,m))}},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var a=-1,o=null==e?0:e.length;++a<o;)if(t(e[a],a,e))return!0;return!1}},function(e,t,a){var o=a(20),n=a(87),r=a(35),l=a(176),i=a(225),s=a(177),c=o?o.prototype:void 0,p=c?c.valueOf:void 0;e.exports=function(e,t,a,o,c,b,u){switch(a){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!b(new n(e),new n(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=i;case"[object Set]":var g=1&o;if(d||(d=s),e.size!=t.size&&!g)return!1;var m=u.get(e);if(m)return m==t;o|=2,u.set(e,t);var f=l(d(e),d(t),o,c,b,u);return u.delete(e),f;case"[object Symbol]":if(p)return p.call(e)==p.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,a=Array(e.size);return e.forEach((function(e,o){a[++t]=[o,e]})),a}},function(e,t,a){var o=a(86),n=Object.prototype.hasOwnProperty;e.exports=function(e,t,a,r,l,i){var s=1&a,c=o(e),p=c.length;if(p!=o(t).length&&!s)return!1;for(var b=p;b--;){var u=c[b];if(!(s?u in t:n.call(t,u)))return!1}var d=i.get(e),g=i.get(t);if(d&&g)return d==t&&g==e;var m=!0;i.set(e,t),i.set(t,e);for(var f=s;++b<p;){var h=e[u=c[b]],k=t[u];if(r)var y=s?r(k,h,u,t,e,i):r(h,k,u,e,t,i);if(!(void 0===y?h===k||l(h,k,a,r,i):y)){m=!1;break}f||(f="constructor"==u)}if(m&&!f){var v=e.constructor,C=t.constructor;v==C||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof C&&C instanceof C||(m=!1)}return i.delete(e),i.delete(t),m}},function(e,t,a){var o=a(178),n=a(21);e.exports=function(e){for(var t=n(e),a=t.length;a--;){var r=t[a],l=e[r];t[a]=[r,l,o(l)]}return t}},function(e,t,a){var o=a(175),n=a(95),r=a(212),l=a(63),i=a(178),s=a(179),c=a(26);e.exports=function(e,t){return l(e)&&i(t)?s(c(e),t):function(a){var l=n(a,e);return void 0===l&&l===t?r(a,e):o(t,l,3)}}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,a){var o=a(25),n=a(55),r=a(8),l=a(42),i=a(57),s=a(26);e.exports=function(e,t,a){for(var c=-1,p=(t=o(t,e)).length,b=!1;++c<p;){var u=s(t[c]);if(!(b=null!=e&&a(e,u)))break;e=e[u]}return b||++c!=p?b:!!(p=null==e?0:e.length)&&i(p)&&l(u,p)&&(r(e)||n(e))}},function(e,t,a){var o=a(232),n=a(233),r=a(63),l=a(26);e.exports=function(e){return r(e)?o(l(e)):n(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,a){var o=a(58);e.exports=function(e){return function(t){return o(t,e)}}},function(e,t,a){var o=a(213),n=a(22);e.exports=function(e,t){var a=-1,r=n(e)?Array(e.length):[];return o(e,(function(e,o,n){r[++a]=t(e,o,n)})),r}},function(e,t,a){var o=a(236),n=a(21);e.exports=function(e,t){return e&&o(e,t,n)}},function(e,t,a){var o=a(237)();e.exports=o},function(e,t){e.exports=function(e){return function(t,a,o){for(var n=-1,r=Object(t),l=o(t),i=l.length;i--;){var s=l[e?i:++n];if(!1===a(r[s],s,r))break}return t}}},function(e,t,a){var o=a(22);e.exports=function(e,t){return function(a,n){if(null==a)return a;if(!o(a))return e(a,n);for(var r=a.length,l=t?r:-1,i=Object(a);(t?l--:++l<r)&&!1!==n(i[l],l,i););return a}}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e},n=function(){function e(e,t){for(var a=0;a<t.length;a++){var o=t[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,a,o){return a&&e(t.prototype,a),o&&e(t,o),t}}(),r=a(3),l=s(r),i=s(a(13));function s(e){return e&&e.__esModule?e:{default:e}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},p=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],b=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},u=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),d=function(){return u?"_"+Math.random().toString(36).substr(2,12):void 0},g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.inputRef=function(e){a.input=e,"function"==typeof a.props.inputRef&&a.props.inputRef(e)},a.placeHolderSizerRef=function(e){a.placeHolderSizer=e},a.sizerRef=function(e){a.sizer=e},a.state={inputWidth:e.minWidth,inputId:e.id||d(),prevId:e.id},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,null,[{key:"getDerivedStateFromProps",value:function(e,t){var a=e.id;return a!==t.prevId?{inputId:a||d(),prevId:a}:null}}]),n(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(b(e,this.sizer),this.placeHolderSizer&&b(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return u&&e?l.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!=e?e:t})),t=o({},this.props.style);t.display||(t.display="inline-block");var a=o({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),n=function(e,t){var a={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(a[o]=e[o]);return a}(this.props,[]);return function(e){p.forEach((function(t){return delete e[t]}))}(n),n.className=this.props.inputClassName,n.id=this.state.inputId,n.style=a,l.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),l.default.createElement("input",o({},n,{ref:this.inputRef})),l.default.createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?l.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}(r.Component);g.propTypes={className:i.default.string,defaultValue:i.default.any,extraWidth:i.default.oneOfType([i.default.number,i.default.string]),id:i.default.string,injectStyles:i.default.bool,inputClassName:i.default.string,inputRef:i.default.func,inputStyle:i.default.object,minWidth:i.default.oneOfType([i.default.number,i.default.string]),onAutosize:i.default.func,onChange:i.default.func,placeholder:i.default.string,placeholderIsMinWidth:i.default.bool,style:i.default.object,value:i.default.any},g.defaultProps={minWidth:1,injectStyles:!0},t.default=g},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-accordion","category":"blockspare","attributes":{"uniqueClass":{"type":"string","default":""},"className":{"type":"string"},"animation":{"type":"string","default":""},"defaultItems":{"type":"number","default":3},"uniqueId":{"type":"string","default":""},"itemToggle":{"type":"boolean","default":true},"paddingTop":{"type":"number","default":20},"paddingRight":{"type":"number","default":0},"paddingBottom":{"type":"number","default":20},"paddingLeft":{"type":"number","default":0},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-buttons","category":"blockspare","attributes":{"paddingTop":{"type":"number","default":12},"paddingRight":{"type":"number","default":22},"paddingBottom":{"type":"number","default":12},"paddingLeft":{"type":"number","default":22},"marginTop":{"type":"number","default":30},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"marginRight":{"type":"number","default":0}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-call-to-action","category":"blockspare","attributes":{"uniqueClass":{"type":"string"},"className":{"type":"string"},"align":{"type":"string","default":"center"},"animation":{"type":"string","default":""},"sectionAlignment":{"type":"string","default":"center"},"showImage":{"type":"boolean","default":true},"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":false},"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},"blockHoverEffect":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/content-box","category":"blockspare","attributes":{"className":{"type":"string"},"align":{"type":"string","default":"center"},"animation":{"type":"string","default":""},"sectionAlignment":{"type":"string","default":"left"},"sectionDescription":{"type":"string","default":"Add your description here..."},"showContentImg":{"type":"boolean","default":true},"imgURL":{"type":"string","default":false},"imgID":{"type":"number"},"imgAlt":{"type":"string","source":"attribute","attribute":"alt","selector":"img"},"showButton":{"type":"boolean","default":false},"enableBackgroundColor":{"type":"boolean","default":true},"backGroundColor":{"type":"string","default":"#f9f9f9"},"borderRadius":{"type":"number","default":0},"titleColor":{"type":"string","default":"#000"},"descriptionColor":{"type":"string","default":"#6d6d6d"},"layoutOption":{"type":"boolean","default":false},"imageShape":{"type":"string","default":""},"design":{"type":"string","default":"style-1"},"headermarginTop":{"type":"number","default":0},"headermarginRight":{"type":"number","default":0},"headermarginBottom":{"type":"number","default":0},"headermarginLeft":{"type":"number","default":0},"paddingTop":{"type":"number","default":30},"paddingRight":{"type":"number","default":30},"paddingBottom":{"type":"number","default":30},"paddingLeft":{"type":"number","default":30},"descriptionFontSize":{"type":"number","default":16},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string","default":""},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number","default":14},"descriptionFontSizeTablet":{"type":"number","default":16},"descriptionLoadGoogleFonts":{"type":"boolean","default":false},"blockHoverEffect":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-container","category":"blockspare","attributes":{"className":{"type":"string"},"align":{"type":"string","default":"full"},"animation":{"type":"string","default":""},"uniqueClass":{"type":"string","default":""},"imgURL":{"type":"string"},"imgID":{"type":"number"},"imgAlt":{"type":"string"},"opacityRatio":{"type":"number","default":100},"backGroundColor":{"type":"string","default":"#f9f9f9"},"borderRadius":{"type":"number","default":0},"backgroundFix":{"type":"boolean","default":false},"separatorEnable":{"type":"boolean","default":false},"showFront":{"type":"boolean","default":false},"zindexDivider":{"type":"number","default":20},"verticalFlip":{"type":"boolean","default":true},"horizontalFlip":{"type":"boolean","default":false},"dividerPosition":{"type":"string","default":"has-separator-top"},"topDividerMargin":{"type":"number","default":0},"bottomDividerMargin":{"type":"number","default":0},"enableGap":{"type":"boolean","default":false},"blockHoverEffect":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-counter","category":"blockspare","attributes":{"className":{"type":"string"},"animation":{"type":"string","default":""},"counter":{"type":"number","default":25},"align":{"type":"string","default":"center"},"counterFontColor":{"type":"string","default":"#000"},"backGroundColor":{"type":"string","default":"#fff"},"imageSize":{"type":"string","default":"full"},"showImage":{"type":"boolean","default":true},"imgIconOption":{"type":"string","default":"icon"},"name":{"type":"string","default":"fas fa-chart-line"},"iconSize":{"type":"string","default":"blockspare-icon-size-small"},"iconStyles":{"type":"string","default":"blockspare-icon-style2"},"iconBackgroundColor":{"type":"string","default":"#8b249c"},"iconBorderColor":{"type":"string","default":"#000"},"iconColor":{"type":"string"},"borderRadius":{"type":"number","default":50},"design":{"type":"string","default":"blockspare-layout1"},"blockBorderRadius":{"type":"number","default":0},"headertitleColor":{"type":"string","default":"#000"},"headersubtitleColor":{"type":"string","default":"#000"},"headermarginTop":{"type":"number","default":5},"headermarginRight":{"type":"number","default":0},"headermarginBottom":{"type":"number","default":5},"headermarginLeft":{"type":"number","default":0},"paddingTop":{"type":"number","default":20},"paddingBottom":{"type":"number","default":20},"counterMarginTop":{"type":"number","default":0},"counterMarginRight":{"type":"number","default":0},"counterMarginBottom":{"type":"number","default":0},"counterMarginLeft":{"type":"number","default":0},"iconMarginTop":{"type":"number","default":0},"iconMarginRight":{"type":"number","default":0},"iconMarginBottom":{"type":"number","default":0},"iconMarginLeft":{"type":"number","default":0},"iconPaddingTop":{"type":"number","default":30},"iconPaddingBottom":{"type":"number","default":30},"iconPaddingLeft":{"type":"number","default":30},"iconPaddingRight":{"type":"number","default":30},"openPopover":{"type":"boolean","default":false},"counterFontSize":{"type":"number","default":32},"counterFontFamily":{"type":"string","default":"Default"},"counterFontWeight":{"type":"string","default":""},"counterFontSubset":{"type":"string"},"counterFontSizeType":{"type":"string","default":"px"},"counterFontSizeMobile":{"type":"number","default":20},"counterFontSizeTablet":{"type":"number","default":26},"counterLoadGoogleFonts":{"type":"boolean","default":false},"blockHoverEffect":{"type":"string","default":""},"backgroundOpacity":{"type":"number","default":1}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-latest-posts-grid","category":"blockspare","title":"Posts Grid","description":"Display Posts Grid from Selected Categories.","textdomain":"blockspare","keywords":["Posts","Tile","Column","Grid"],"attributes":{"categories":{"type":"array","default":[]},"showPresets":{"type":"boolean","default":true},"postType":{"type":"string","default":"post"},"tags":{"type":"array","default":[]},"order":{"type":"string","default":"desc"},"orderBy":{"type":"string","default":"date"},"postTax":{"type":"boolean","default":true},"taxType":{"type":"string","default":"category"},"uniqueClass":{"type":"string","default":""},"className":{"type":"string"},"postsToShow":{"type":"number","default":4},"displayPostDate":{"type":"boolean","default":true},"displayPostExcerpt":{"type":"boolean","default":false},"displayPostAuthor":{"type":"boolean","default":true},"displayPostImage":{"type":"boolean","default":true},"displayPostLink":{"type":"boolean","default":true},"displayPostTitle":{"type":"boolean","default":true},"PostTitleLength":{"type":"number","default":10},"postTitleColor":{"type":"string","default":"#000"},"postTitleFontSize":{"type":"number","default":16},"titleFontFamily":{"type":"string","default":"Default"},"titleFontWeight":{"type":"string","default":""},"titleFontSubset":{"type":"string"},"titleFontSizeType":{"type":"string","default":"px"},"titleFontSizeMobile":{"type":"number","default":16},"titleFontSizeTablet":{"type":"number","default":16},"titleLoadGoogleFonts":{"type":"boolean","default":false},"linkColor":{"type":"string","default":"#000000"},"borderColor":{"type":"string","default":"#f4f4f4"},"generalColor":{"type":"string","default":"#505050"},"displayPostCategory":{"type":"boolean","default":true},"design":{"type":"string","default":"blockspare-posts-block-list-layout-1"},"enableTwoColumn":{"type":"boolean","default":false},"grid":{"type":"string","default":"blockspare-posts-block-grid-layout-1"},"tile":{"type":"string","default":"blockspare-posts-block-tile-layout-1"},"express":{"type":"string","default":"blockspare-posts-block-express-layout-1"},"full":{"type":"string","default":"blockspare-posts-block-full-layout-1"},"columns":{"type":"number","default":2},"align":{"type":"string","default":"center"},"readMoreText":{"type":"string","default":"Read More.."},"offset":{"type":"number","default":0},"excerptLength":{"type":"number","default":20},"displayPostsBy":{"type":"string","default":"blockspare-posts-block-post-by-category"},"sectionTag":{"type":"string","default":"section"},"sectionTitle":{"type":"string"},"imageSize":{"type":"string","default":"large"},"url":{"type":"string","source":"attribute","selector":"img","attribute":"src"},"id":{"type":"number"},"marginTop":{"type":"number","default":30},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"marginRight":{"type":"number","default":0},"backGroundColor":{"type":"string","default":"#f9f9f9"},"borderRadius":{"type":"number","default":0},"contentOrder":{"type":"string","default":"content-order-1"},"enableBoxShadow":{"type":"boolean","default":false},"xOffset":{"type":"number","default":0},"yOffset":{"type":"number","default":3},"blur":{"type":"number","default":10},"spread":{"type":"number","default":-9},"shadowColor":{"type":"string","default":"#000"},"descriptionFontSize":{"type":"number","default":14},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string","default":""},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number","default":14},"descriptionFontSizeTablet":{"type":"number","default":14},"descriptionLoadGoogleFonts":{"type":"boolean","default":false},"contentPaddingTop":{"type":"number","default":15},"contentPaddingLeft":{"type":"number","default":15},"contentPaddingBottom":{"type":"number","default":15},"contentPaddingRight":{"type":"number","default":15},"categoryMarginTop":{"type":"number","default":5},"categoryMarginBottom":{"type":"number","default":5},"categoryMarginLeft":{"type":"number","default":0},"categoryMarginRight":{"type":"number","default":0},"titleMarginTop":{"type":"number","default":5},"titleMarginBottom":{"type":"number","default":5},"titleMarginLeft":{"type":"number","default":0},"titleMarginRight":{"type":"number","default":0},"metaMarginTop":{"type":"number","default":5},"metaMarginBottom":{"type":"number","default":5},"metaMarginLeft":{"type":"number","default":0},"metaMarginRight":{"type":"number","default":0},"exceprtMarginTop":{"type":"number","default":5},"exceprtMarginBottom":{"type":"number","default":5},"exceprtMarginLeft":{"type":"number","default":0},"exceprtMarginRight":{"type":"number","default":0},"moreLinkMarginTop":{"type":"number","default":5},"moreLinkMarginBottom":{"type":"number","default":5},"moreLinkMarginLeft":{"type":"number","default":0},"moreLinkMarginRight":{"type":"number","default":0},"categoryLayoutOption":{"type":"string","default":"solid"},"categoryTextColor":{"type":"string","default":"#fff"},"categoryBorderColor":{"type":"string","default":"#ccc"},"categoryBackgroundColor":{"type":"string","default":"#222222"},"secondCategoryTextColor":{"type":"string","default":"#fff"},"secondCategoryBorderColor":{"type":"string","default":"#d60000"},"secondCategoryBackgroundColor":{"type":"string","default":"#d60000"},"thirdCategoryTextColor":{"type":"string","default":"#fff"},"thirdCategoryBorderColor":{"type":"string","default":"#f99500"},"thirdCategoryBackgroundColor":{"type":"string","default":"#f99500"},"categoryBorderWidth":{"type":"number","default":1},"categoryBorderRadius":{"type":"number","default":0},"authorIcon":{"type":"string","default":"far fa-user-circle"},"dateIcon":{"type":"string","default":"far fa-clock"},"enableComment":{"type":"boolean","default":true},"commentIcon":{"type":"string","default":"far fa-comment"},"titleOnHover":{"type":"string","default":"lpc-title-hover"},"titleOnHoverColor":{"type":"string","default":"#222222"},"enableEqualHeight":{"type":"boolean","default":true},"animation":{"type":"string","default":""},"blockHoverEffect":{"type":"string","default":""},"enablePagination":{"type":"boolean","default":false},"loadMoreText":{"type":"string","default":"Load More"},"loadMoreStyle":{"type":"string","default":""},"loadMoreTextColor":{"type":"string","default":"#505050"},"loadMoreSolidTextColor":{"type":"string","default":"#fff"},"loadMoreTextBgColor":{"type":"string","default":"#505050"},"loadMoreTextHoverColor":{"type":"string","default":"#222222"},"loadMoreSolidTextHoverColor":{"type":"string","default":"#fff"},"loadMoreTextBgHoverColor":{"type":"string","default":"#222222"},"loadMoreColor":{"type":"string","default":"#222222"},"loadMoreAlignment":{"type":"string","default":"left"},"enableFeatureImage":{"type":"boolean","default":true},"gutterSpace":{"type":"number","default":20},"postTitleLineHeight":{"type":"number","default":1.5},"postCategoryFontSize":{"type":"number","default":10},"postCategoryFontFamily":{"type":"string","default":"Default"},"postCategoryFontWeight":{"type":"string","default":"600"},"postCategoryFontSubset":{"type":"string"},"postCategoryFontSizeType":{"type":"string","default":"px"},"postCategoryFontSizeMobile":{"type":"number","default":10},"postCategoryFontSizeTablet":{"type":"number","default":10},"postCategoryLoadGoogleFonts":{"type":"boolean","default":false},"postMetaFontSize":{"type":"number","default":11},"postMetaFontFamily":{"type":"string","default":"Default"},"postMetaFontWeight":{"type":"string","default":""},"postMetaFontSubset":{"type":"string"},"postMetaFontSizeType":{"type":"string","default":"px"},"postMetaFontSizeMobile":{"type":"number","default":11},"postMetaFontSizeTablet":{"type":"number","default":11},"postMetaLoadGoogleFonts":{"type":"boolean","default":false},"imageHoverEffect":{"type":"string","default":""},"colorType":{"type":"string","default":"bs-single-color"}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-latest-posts-list","category":"blockspare","title":"Posts List","description":"Display Posts List from Selected Categories.","textdomain":"blockspare","keywords":["Posts","List","Column","Grid"],"attributes":{"categories":{"type":"array","default":[]},"postType":{"type":"string","default":"post"},"tags":{"type":"array","default":[]},"order":{"type":"string","default":"desc"},"orderBy":{"type":"string","default":"date"},"postTax":{"type":"boolean","default":true},"taxType":{"type":"string","default":"category"},"uniqueClass":{"type":"string","default":""},"className":{"type":"string"},"postsToShow":{"type":"number","default":4},"displayPostDate":{"type":"boolean","default":true},"displayPostExcerpt":{"type":"boolean","default":false},"displayPostAuthor":{"type":"boolean","default":true},"displayPostImage":{"type":"boolean","default":true},"displayPostLink":{"type":"boolean","default":true},"displayPostTitle":{"type":"boolean","default":true},"PostTitleLength":{"type":"number","default":10},"postTitleColor":{"type":"string","default":"#000"},"postTitleFontSize":{"type":"number","default":16},"titleFontFamily":{"type":"string","default":"Default"},"titleFontWeight":{"type":"string","default":""},"titleFontSubset":{"type":"string"},"titleFontSizeType":{"type":"string","default":"px"},"titleFontSizeMobile":{"type":"number","default":16},"titleFontSizeTablet":{"type":"number","default":16},"titleLoadGoogleFonts":{"type":"boolean","default":false},"linkColor":{"type":"string","default":"#000000"},"borderColor":{"type":"string","default":"#f4f4f4"},"generalColor":{"type":"string","default":"#505050"},"displayPostCategory":{"type":"boolean","default":true},"design":{"type":"string","default":"blockspare-posts-block-list-layout-1"},"enableTwoColumn":{"type":"boolean","default":false},"columns":{"type":"string","default":"list-col-1"},"align":{"type":"string","default":"center"},"readMoreText":{"type":"string","default":"Read More.."},"offset":{"type":"number","default":0},"excerptLength":{"type":"number","default":20},"displayPostsBy":{"type":"string","default":"blockspare-posts-block-post-by-category"},"sectionTag":{"type":"string","default":"section"},"sectionTitle":{"type":"string"},"imageSize":{"type":"string","default":"large"},"url":{"type":"string","source":"attribute","selector":"img","attribute":"src"},"id":{"type":"number"},"marginTop":{"type":"number","default":30},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"marginRight":{"type":"number","default":0},"backGroundColor":{"type":"string","default":"#f9f9f9"},"borderRadius":{"type":"number","default":0},"enableBackgroundColor":{"type":"boolean","default":true},"contentOrder":{"type":"string","default":"content-order-1"},"enableBoxShadow":{"type":"boolean","default":false},"xOffset":{"type":"number","default":0},"yOffset":{"type":"number","default":3},"blur":{"type":"number","default":10},"spread":{"type":"number","default":-9},"shadowColor":{"type":"string","default":"#000"},"descriptionFontSize":{"type":"number","default":14},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string","default":""},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number","default":14},"descriptionFontSizeTablet":{"type":"number","default":14},"descriptionLoadGoogleFonts":{"type":"boolean","default":false},"postListingOption":{"type":"string","default":"blockspare-posts-block-latestpost-list"},"contentPaddingTop":{"type":"number","default":15},"contentPaddingLeft":{"type":"number","default":15},"contentPaddingBottom":{"type":"number","default":15},"contentPaddingRight":{"type":"number","default":15},"categoryMarginTop":{"type":"number","default":5},"categoryMarginBottom":{"type":"number","default":5},"categoryMarginLeft":{"type":"number","default":0},"categoryMarginRight":{"type":"number","default":0},"titleMarginTop":{"type":"number","default":5},"titleMarginBottom":{"type":"number","default":5},"titleMarginLeft":{"type":"number","default":0},"titleMarginRight":{"type":"number","default":0},"metaMarginTop":{"type":"number","default":5},"metaMarginBottom":{"type":"number","default":5},"metaMarginLeft":{"type":"number","default":0},"metaMarginRight":{"type":"number","default":0},"exceprtMarginTop":{"type":"number","default":5},"exceprtMarginBottom":{"type":"number","default":5},"exceprtMarginLeft":{"type":"number","default":0},"exceprtMarginRight":{"type":"number","default":0},"moreLinkMarginTop":{"type":"number","default":5},"moreLinkMarginBottom":{"type":"number","default":5},"moreLinkMarginLeft":{"type":"number","default":0},"moreLinkMarginRight":{"type":"number","default":0},"categoryLayoutOption":{"type":"string","default":"solid"},"categoryTextColor":{"type":"string","default":"#fff"},"categoryBorderColor":{"type":"string","default":"#ccc"},"categoryBackgroundColor":{"type":"string","default":"#222222"},"secondCategoryTextColor":{"type":"string","default":"#fff"},"secondCategoryBorderColor":{"type":"string","default":"#d60000"},"secondCategoryBackgroundColor":{"type":"string","default":"#d60000"},"thirdCategoryTextColor":{"type":"string","default":"#fff"},"thirdCategoryBorderColor":{"type":"string","default":"#f99500"},"thirdCategoryBackgroundColor":{"type":"string","default":"#f99500"},"categoryBorderWidth":{"type":"number","default":1},"categoryBorderRadius":{"type":"number","default":0},"authorIcon":{"type":"string","default":"far fa-user-circle"},"dateIcon":{"type":"string","default":"far fa-clock"},"enableComment":{"type":"boolean","default":true},"commentIcon":{"type":"string","default":"far fa-comment"},"titleOnHover":{"type":"string","default":"lpc-title-hover"},"titleOnHoverColor":{"type":"string","default":"#222222"},"enableEqualHeight":{"type":"boolean","default":true},"animation":{"type":"string","default":""},"blockHoverEffect":{"type":"string","default":""},"enablePagination":{"type":"boolean","default":false},"loadMoreText":{"type":"string","default":"Load More"},"loadMoreStyle":{"type":"string","default":""},"loadMoreTextColor":{"type":"string","default":"#505050"},"loadMoreSolidTextColor":{"type":"string","default":"#fff"},"loadMoreTextBgColor":{"type":"string","default":"#505050"},"loadMoreTextHoverColor":{"type":"string","default":"#222222"},"loadMoreSolidTextHoverColor":{"type":"string","default":"#fff"},"loadMoreTextBgHoverColor":{"type":"string","default":"#222222"},"loadMoreColor":{"type":"string","default":"#222222"},"loadMoreAlignment":{"type":"string","default":"left"},"ImageUnit":{"type":"string","default":"100"},"enableFeatureImage":{"type":"boolean","default":true},"gutterSpace":{"type":"number","default":20},"postTitleLineHeight":{"type":"number","default":1.5},"postCategoryFontSize":{"type":"number","default":10},"postCategoryFontFamily":{"type":"string","default":"Default"},"postCategoryFontWeight":{"type":"string","default":"600"},"postCategoryFontSubset":{"type":"string"},"postCategoryFontSizeType":{"type":"string","default":"px"},"postCategoryFontSizeMobile":{"type":"number","default":10},"postCategoryFontSizeTablet":{"type":"number","default":10},"postCategoryLoadGoogleFonts":{"type":"boolean","default":false},"postMetaFontSize":{"type":"number","default":11},"postMetaFontFamily":{"type":"string","default":"Default"},"postMetaFontWeight":{"type":"string","default":""},"postMetaFontSubset":{"type":"string"},"postMetaFontSizeType":{"type":"string","default":"px"},"postMetaFontSizeMobile":{"type":"number","default":11},"postMetaFontSizeTablet":{"type":"number","default":11},"postMetaLoadGoogleFonts":{"type":"boolean","default":false},"imageHoverEffect":{"type":"string","default":""},"colorType":{"type":"string","default":"bs-single-color"}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/latest-posts-express-grid","title":"Posts Express Grid","description":"Display Posts Express Grid from Selected Categories.","category":"blockspare","textdomain":"blockspare","keywords":["Posts","Express","Grid"],"attributes":{"categories":{"type":"array","default":[]},"postType":{"type":"string","default":"post"},"tags":{"type":"array","default":[]},"order":{"type":"string","default":"desc"},"orderBy":{"type":"string","default":"date"},"postTax":{"type":"boolean","default":true},"taxType":{"type":"string","default":"category"},"uniqueClass":{"type":"string","default":""},"className":{"type":"string"},"postsToShow":{"type":"number","default":5},"displayPostDate":{"type":"boolean","default":true},"displaySpotlightPostDate":{"type":"boolean","default":true},"displayPostExcerpt":{"type":"boolean","default":false},"displaySpotlightPostExcerpt":{"type":"boolean","default":true},"displaySpotlightPostAuthor":{"type":"boolean","default":true},"displayPostAuthor":{"type":"boolean","default":true},"displayPostImage":{"type":"boolean","default":true},"displayPostLink":{"type":"boolean","default":true},"displaySpotPostLink":{"type":"boolean","default":true},"displayPostTitle":{"type":"boolean","default":true},"displaySpotlightPostTitle":{"type":"boolean","default":true},"PostTitleLength":{"type":"number","default":10},"postTitleColor":{"type":"string","default":"#000"},"postTitleFontSize":{"type":"number","default":16},"titleFontFamily":{"type":"string","default":"Default"},"titleFontWeight":{"type":"string","default":""},"titleFontSubset":{"type":"string"},"titleFontSizeType":{"type":"string","default":"px"},"titleFontSizeMobile":{"type":"number","default":16},"titleFontSizeTablet":{"type":"number","default":16},"titleLoadGoogleFonts":{"type":"boolean","default":false},"linkColor":{"type":"string","default":"#000000"},"borderColor":{"type":"string","default":"#f4f4f4"},"generalColor":{"type":"string","default":"#505050"},"displayPostCategory":{"type":"boolean","default":true},"displaySpotlightPostCategory":{"type":"boolean","default":true},"express":{"type":"string","default":"blockspare-posts-block-express-grid-layout-1"},"align":{"type":"string","default":"wide"},"readMoreText":{"type":"string","default":"Read More.."},"offset":{"type":"number","default":0},"excerptLength":{"type":"number","default":20},"excerptSpotlightLength":{"type":"number","default":20},"displayPostsBy":{"type":"string","default":"blockspare-posts-block-post-by-category"},"sectionTag":{"type":"string","default":"section"},"sectionTitle":{"type":"string"},"imageSize":{"type":"string","default":"medium"},"spotslightImageSize":{"type":"string","default":"large"},"url":{"type":"string","source":"attribute","selector":"img","attribute":"src"},"id":{"type":"number"},"marginTop":{"type":"number","default":30},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"marginRight":{"type":"number","default":0},"backGroundColor":{"type":"string","default":"#f9f9f9"},"borderRadius":{"type":"number","default":0},"enableBackgroundColor":{"type":"boolean","default":true},"contentOrder":{"type":"string","default":"content-order-1"},"enableBoxShadow":{"type":"boolean","default":false},"xOffset":{"type":"number","default":0},"yOffset":{"type":"number","default":3},"blur":{"type":"number","default":10},"spread":{"type":"number","default":-9},"shadowColor":{"type":"string","default":"#000"},"descriptionFontSize":{"type":"number","default":14},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string","default":""},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number","default":14},"descriptionFontSizeTablet":{"type":"number","default":14},"descriptionLoadGoogleFonts":{"type":"boolean","default":false},"contentPaddingTop":{"type":"number","default":15},"contentPaddingLeft":{"type":"number","default":15},"contentPaddingBottom":{"type":"number","default":15},"contentPaddingRight":{"type":"number","default":15},"categoryMarginTop":{"type":"number","default":5},"categoryMarginBottom":{"type":"number","default":5},"categoryMarginLeft":{"type":"number","default":0},"categoryMarginRight":{"type":"number","default":0},"titleMarginTop":{"type":"number","default":5},"titleMarginBottom":{"type":"number","default":5},"titleMarginLeft":{"type":"number","default":0},"titleMarginRight":{"type":"number","default":0},"metaMarginTop":{"type":"number","default":5},"metaMarginBottom":{"type":"number","default":5},"metaMarginLeft":{"type":"number","default":0},"metaMarginRight":{"type":"number","default":0},"exceprtMarginTop":{"type":"number","default":5},"exceprtMarginBottom":{"type":"number","default":5},"exceprtMarginLeft":{"type":"number","default":0},"exceprtMarginRight":{"type":"number","default":0},"moreLinkMarginTop":{"type":"number","default":5},"moreLinkMarginBottom":{"type":"number","default":5},"moreLinkMarginLeft":{"type":"number","default":0},"moreLinkMarginRight":{"type":"number","default":0},"categoryLayoutOption":{"type":"string","default":"solid"},"categoryTextColor":{"type":"string","default":"#fff"},"categoryBorderColor":{"type":"string","default":"#ccc"},"categoryBackgroundColor":{"type":"string","default":"#222222"},"secondCategoryTextColor":{"type":"string","default":"#fff"},"secondCategoryBorderColor":{"type":"string","default":"#d60000"},"secondCategoryBackgroundColor":{"type":"string","default":"#d60000"},"thirdCategoryTextColor":{"type":"string","default":"#fff"},"thirdCategoryBorderColor":{"type":"string","default":"#f99500"},"thirdCategoryBackgroundColor":{"type":"string","default":"#f99500"},"categoryBorderWidth":{"type":"number","default":1},"categoryBorderRadius":{"type":"number","default":0},"authorIcon":{"type":"string","default":"far fa-user-circle"},"dateIcon":{"type":"string","default":"far fa-clock"},"enableComment":{"type":"boolean","default":true},"enableSpotlightComment":{"type":"boolean","default":true},"commentIcon":{"type":"string","default":"far fa-comment"},"spostTitleFontSize":{"type":"number","default":26},"spostTitleFontFamily":{"type":"string","default":"Default"},"spostTitleFontWeight":{"type":"string","default":""},"spostTitleFontSubset":{"type":"string"},"spostTitleFontSizeType":{"type":"string","default":"px"},"spostTitleFontSizeMobile":{"type":"number","default":16},"spostTitleFontSizeTablet":{"type":"number","default":20},"spostTitleLoadGoogleFonts":{"type":"boolean","default":false},"displaySpotLightExceprt":{"type":"boolean","default":true},"titleOnHover":{"type":"string","default":"lpc-title-hover"},"titleOnHoverColor":{"type":"string","default":"#222222"},"enableEqualHeight":{"type":"boolean","default":true},"animation":{"type":"string","default":""},"blockHoverEffect":{"type":"string","default":""},"enablePagination":{"type":"boolean","default":false},"loadMoreText":{"type":"string","default":"Load More"},"loadMoreStyle":{"type":"string","default":""},"loadMoreTextColor":{"type":"string","default":"#505050"},"loadMoreSolidTextColor":{"type":"string","default":"#fff"},"loadMoreTextBgColor":{"type":"string","default":"#505050"},"loadMoreTextHoverColor":{"type":"string","default":"#222222"},"loadMoreSolidTextHoverColor":{"type":"string","default":"#fff"},"loadMoreTextBgHoverColor":{"type":"string","default":"#222222"},"loadMoreColor":{"type":"string","default":"#222222"},"loadMoreAlignment":{"type":"string","default":"left"},"enableFeatureImage":{"type":"boolean","default":true},"gutterSpace":{"type":"number","default":20},"postTitleLineHeight":{"type":"number","default":1.5},"postCategoryFontSize":{"type":"number","default":10},"postCategoryFontFamily":{"type":"string","default":"Default"},"postCategoryFontWeight":{"type":"string","default":"600"},"postCategoryFontSubset":{"type":"string"},"postCategoryFontSizeType":{"type":"string","default":"px"},"postCategoryFontSizeMobile":{"type":"number","default":10},"postCategoryFontSizeTablet":{"type":"number","default":10},"postCategoryLoadGoogleFonts":{"type":"boolean","default":false},"postMetaFontSize":{"type":"number","default":11},"postMetaFontFamily":{"type":"string","default":"Default"},"postMetaFontWeight":{"type":"string","default":""},"postMetaFontSubset":{"type":"string"},"postMetaFontSizeType":{"type":"string","default":"px"},"postMetaFontSizeMobile":{"type":"number","default":11},"postMetaFontSizeTablet":{"type":"number","default":11},"postMetaLoadGoogleFonts":{"type":"boolean","default":false},"imageHoverEffect":{"type":"string","default":""},"colorType":{"type":"string","default":"bs-single-color"}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/latest-posts-block-carousel-grid","category":"blockspare","title":"Posts Carousel Grid","description":"Display Posts Carousel from Selected Categories.","textdomain":"blockspare","keywords":["Posts","Slider","Carousel","Grid"],"attributes":{"categories":{"type":"array","default":[]},"postType":{"type":"string","default":"post"},"tags":{"type":"array","default":[]},"order":{"type":"string","default":"desc"},"orderBy":{"type":"string","default":"date"},"postTax":{"type":"boolean","default":true},"taxType":{"type":"string","default":"category"},"uniqueClass":{"type":"string","default":""},"className":{"type":"string"},"postsToShow":{"type":"number","default":4},"displayPostDate":{"type":"boolean","default":true},"displayPostExcerpt":{"type":"boolean","default":false},"displayPostAuthor":{"type":"boolean","default":true},"displayPostImage":{"type":"boolean","default":true},"displayPostLink":{"type":"boolean","default":true},"postTitleColor":{"type":"string","default":"#000"},"postTitleFontSize":{"type":"number","default":16},"titleFontFamily":{"type":"string","default":"Default"},"titleFontWeight":{"type":"string","default":""},"titleFontSubset":{"type":"string"},"titleFontSizeType":{"type":"string","default":"px"},"titleFontSizeMobile":{"type":"number","default":16},"titleFontSizeTablet":{"type":"number","default":16},"titleLoadGoogleFonts":{"type":"boolean","default":false},"linkColor":{"type":"string","default":"#000000"},"borderColor":{"type":"string","default":"#f4f4f4"},"generalColor":{"type":"string","default":"#505050"},"displayPostCategory":{"type":"boolean","default":true},"enableTwoColumn":{"type":"boolean","default":false},"contentOrder":{"type":"string","default":"content-order-1"},"grid":{"type":"string","default":"blockspare-posts-block-grid-layout-1"},"columns":{"type":"number","default":2},"align":{"type":"string","default":"center"},"readMoreText":{"type":"string","default":"Read More.."},"offset":{"type":"number","default":0},"excerptLength":{"type":"number","default":20},"displayPostsBy":{"type":"string","default":"blockspare-posts-block-post-by-category"},"sectionTag":{"type":"string","default":"section"},"sectionTitle":{"type":"string"},"imageSize":{"type":"string","default":"large"},"url":{"type":"string","source":"attribute","selector":"img","attribute":"src"},"id":{"type":"number"},"marginTop":{"type":"number","default":30},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"marginRight":{"type":"number","default":0},"backGroundColor":{"type":"string","default":"#f9f9f9"},"borderRadius":{"type":"number","default":0},"enableBoxShadow":{"type":"boolean","default":false},"xOffset":{"type":"number","default":0},"yOffset":{"type":"number","default":3},"blur":{"type":"number","default":10},"spread":{"type":"number","default":-9},"shadowColor":{"type":"string","default":"#000"},"descriptionFontSize":{"type":"number","default":14},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string","default":""},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number","default":14},"descriptionFontSizeTablet":{"type":"number","default":14},"descriptionLoadGoogleFonts":{"type":"boolean","default":false},"lineHeight":{"type":"number","default":1.5},"postListingOption":{"type":"string","default":"latest-posts-block-carousel-grid"},"contentPaddingTop":{"type":"number","default":15},"contentPaddingLeft":{"type":"number","default":15},"contentPaddingBottom":{"type":"number","default":15},"contentPaddingRight":{"type":"number","default":15},"categoryMarginTop":{"type":"number","default":5},"categoryMarginBottom":{"type":"number","default":5},"categoryMarginLeft":{"type":"number","default":0},"categoryMarginRight":{"type":"number","default":0},"titleMarginTop":{"type":"number","default":5},"titleMarginBottom":{"type":"number","default":5},"titleMarginLeft":{"type":"number","default":0},"titleMarginRight":{"type":"number","default":0},"metaMarginTop":{"type":"number","default":5},"metaMarginBottom":{"type":"number","default":5},"metaMarginLeft":{"type":"number","default":0},"metaMarginRight":{"type":"number","default":0},"exceprtMarginTop":{"type":"number","default":5},"exceprtMarginBottom":{"type":"number","default":5},"exceprtMarginLeft":{"type":"number","default":0},"exceprtMarginRight":{"type":"number","default":0},"moreLinkMarginTop":{"type":"number","default":5},"moreLinkMarginBottom":{"type":"number","default":5},"moreLinkMarginLeft":{"type":"number","default":0},"moreLinkMarginRight":{"type":"number","default":0},"categoryLayoutOption":{"type":"string","default":"solid"},"categoryTextColor":{"type":"string","default":"#fff"},"categoryBorderColor":{"type":"string","default":"#ccc"},"categoryBackgroundColor":{"type":"string","default":"#222222"},"secondCategoryTextColor":{"type":"string","default":"#fff"},"secondCategoryBorderColor":{"type":"string","default":"#d60000"},"secondCategoryBackgroundColor":{"type":"string","default":"#d60000"},"thirdCategoryTextColor":{"type":"string","default":"#fff"},"thirdCategoryBorderColor":{"type":"string","default":"#f99500"},"thirdCategoryBackgroundColor":{"type":"string","default":"#f99500"},"categoryBorderWidth":{"type":"number","default":1},"categoryBorderRadius":{"type":"number","default":0},"authorIcon":{"type":"string","default":"far fa-user-circle"},"dateIcon":{"type":"string","default":"far fa-clock"},"enableComment":{"type":"boolean","default":true},"commentIcon":{"type":"string","default":"far fa-comment"},"showsliderNextPrev":{"type":"boolean","default":true},"carouselNextIcon":{"type":"string","default":"fas fa-chevron-right"},"gutterSpace":{"type":"number","default":4},"showDots":{"type":"boolean","default":false},"enableAutoPlay":{"type":"boolean","default":true},"numberofSlide":{"type":"number","default":2},"carouselSpeed":{"type":"number","default":"800"},"navigationColor":{"type":"string","default":"#000"},"navigationShape":{"type":"string","default":"lpc-navigation-1"},"navigationSize":{"type":"string","default":"lpc-navigation-small"},"enableNavInHover":{"type":"boolean","default":true},"navigationShapeColor":{"type":"string","default":"#fff"},"titleOnHover":{"type":"string","default":"lpc-title-hover"},"titleOnHoverColor":{"type":"string","default":"#222222"},"enableEqualHeight":{"type":"boolean","default":true},"animation":{"type":"string","default":""},"blockHoverEffect":{"type":"string","default":""},"enableFeatureImage":{"type":"boolean","default":true},"postCategoryFontSize":{"type":"number","default":10},"postCategoryFontFamily":{"type":"string","default":"Default"},"postCategoryFontWeight":{"type":"string","default":"600"},"postCategoryFontSubset":{"type":"string"},"postCategoryFontSizeType":{"type":"string","default":"px"},"postCategoryFontSizeMobile":{"type":"number","default":10},"postCategoryFontSizeTablet":{"type":"number","default":10},"postCategoryLoadGoogleFonts":{"type":"boolean","default":false},"postMetaFontSize":{"type":"number","default":11},"postMetaFontFamily":{"type":"string","default":"Default"},"postMetaFontWeight":{"type":"string","default":""},"postMetaFontSubset":{"type":"string"},"postMetaFontSizeType":{"type":"string","default":"px"},"postMetaFontSizeMobile":{"type":"number","default":11},"postMetaFontSizeTablet":{"type":"number","default":11},"postMetaLoadGoogleFonts":{"type":"boolean","default":false},"imageHoverEffect":{"type":"string","default":""},"colorType":{"type":"string","default":"bs-single-color"}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-posts-block-slider","category":"blockspare","title":"Posts Slider","description":"Display Posts Slider from Selected Categories.","textdomain":"blockspare","keywords":["Posts","Slider","Carousel","Grid"],"attributes":{"categories":{"type":"array","default":[]},"postType":{"type":"string","default":"post"},"tags":{"type":"array","default":[]},"order":{"type":"string","default":"desc"},"orderBy":{"type":"string","default":"date"},"postTax":{"type":"boolean","default":true},"taxType":{"type":"string","default":"category"},"uniqueClass":{"type":"string","default":""},"className":{"type":"string"},"postsToShow":{"type":"number","default":4},"displayPostDate":{"type":"boolean","default":true},"displayPostExcerpt":{"type":"boolean","default":false},"displayPostAuthor":{"type":"boolean","default":true},"displayPostImage":{"type":"boolean","default":true},"displayPostLink":{"type":"boolean","default":true},"postTitleColor":{"type":"string","default":"#000"},"postTitleFontSize":{"type":"number","default":26},"titleFontFamily":{"type":"string","default":"Default"},"titleFontWeight":{"type":"string","default":""},"titleFontSubset":{"type":"string"},"titleFontSizeType":{"type":"string","default":"px"},"titleFontSizeMobile":{"type":"number","default":16},"titleFontSizeTablet":{"type":"number","default":20},"titleLoadGoogleFonts":{"type":"boolean","default":false},"linkColor":{"type":"string","default":"#000000"},"borderColor":{"type":"string","default":"#f4f4f4"},"generalColor":{"type":"string","default":"#505050"},"displayPostCategory":{"type":"boolean","default":true},"slider":{"type":"string","default":"blockspare-posts-block-full-layout-1"},"fullPostTitleColor":{"type":"string","default":"#fff"},"fullPostLinkColor":{"type":"string","default":"#fff"},"fullPostGeneralColor":{"type":"string","default":"#fff"},"columns":{"type":"number","default":2},"align":{"type":"string","default":"center"},"readMoreText":{"type":"string","default":"Read More.."},"offset":{"type":"number","default":0},"excerptLength":{"type":"number","default":20},"displayPostsBy":{"type":"string","default":"blockspare-posts-block-post-by-category"},"sectionTag":{"type":"string","default":"section"},"sectionTitle":{"type":"string"},"imageSize":{"type":"string","default":"large"},"url":{"type":"string","source":"attribute","selector":"img","attribute":"src"},"id":{"type":"number"},"marginTop":{"type":"number","default":30},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"marginRight":{"type":"number","default":0},"backGroundColor":{"type":"string","default":"#f9f9f9"},"borderRadius":{"type":"number","default":0},"contentOrder":{"type":"string","default":"content-order-1"},"enableBackgroundColor":{"type":"boolean","default":true},"enableBoxShadow":{"type":"boolean","default":false},"xOffset":{"type":"number","default":0},"yOffset":{"type":"number","default":3},"blur":{"type":"number","default":10},"spread":{"type":"number","default":-9},"shadowColor":{"type":"string","default":"#000"},"descriptionFontSize":{"type":"number","default":14},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string","default":""},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number","default":14},"descriptionFontSizeTablet":{"type":"number","default":14},"descriptionLoadGoogleFonts":{"type":"boolean","default":false},"lineHeight":{"type":"number","default":1.5},"contentPaddingTop":{"type":"number","default":15},"contentPaddingLeft":{"type":"number","default":15},"contentPaddingBottom":{"type":"number","default":15},"contentPaddingRight":{"type":"number","default":15},"categoryMarginTop":{"type":"number","default":5},"categoryMarginBottom":{"type":"number","default":5},"categoryMarginLeft":{"type":"number","default":0},"categoryMarginRight":{"type":"number","default":0},"titleMarginTop":{"type":"number","default":5},"titleMarginBottom":{"type":"number","default":5},"titleMarginLeft":{"type":"number","default":0},"titleMarginRight":{"type":"number","default":0},"metaMarginTop":{"type":"number","default":5},"metaMarginBottom":{"type":"number","default":5},"metaMarginLeft":{"type":"number","default":0},"metaMarginRight":{"type":"number","default":0},"exceprtMarginTop":{"type":"number","default":5},"exceprtMarginBottom":{"type":"number","default":5},"exceprtMarginLeft":{"type":"number","default":0},"exceprtMarginRight":{"type":"number","default":0},"moreLinkMarginTop":{"type":"number","default":5},"moreLinkMarginBottom":{"type":"number","default":5},"moreLinkMarginLeft":{"type":"number","default":0},"moreLinkMarginRight":{"type":"number","default":0},"categoryLayoutOption":{"type":"string","default":"solid"},"categoryTextColor":{"type":"string","default":"#fff"},"categoryBorderColor":{"type":"string","default":"#ccc"},"categoryBackgroundColor":{"type":"string","default":"#222222"},"secondCategoryTextColor":{"type":"string","default":"#fff"},"secondCategoryBorderColor":{"type":"string","default":"#d60000"},"secondCategoryBackgroundColor":{"type":"string","default":"#d60000"},"thirdCategoryTextColor":{"type":"string","default":"#fff"},"thirdCategoryBorderColor":{"type":"string","default":"#f99500"},"thirdCategoryBackgroundColor":{"type":"string","default":"#f99500"},"tileCategoryTextColor":{"type":"string","default":"#fff"},"tileCategoryBorderColor":{"type":"string","default":"#ccc"},"tileCategoryBackgroundColor":{"type":"string","default":"#222222"},"tileSecondCategoryTextColor":{"type":"string","default":"#fff"},"tileSecondCategoryBorderColor":{"type":"string","default":"#d60000"},"tileSecondCategoryBackgroundColor":{"type":"string","default":"#d60000"},"tileThirdCategoryTextColor":{"type":"string","default":"#fff"},"tileThirdCategoryBorderColor":{"type":"string","default":"#f99500"},"tileThirdCategoryBackgroundColor":{"type":"string","default":"#f99500"},"categoryBorderWidth":{"type":"number","default":1},"categoryBorderRadius":{"type":"number","default":0},"authorIcon":{"type":"string","default":"far fa-user-circle"},"dateIcon":{"type":"string","default":"far fa-clock"},"enableComment":{"type":"boolean","default":true},"commentIcon":{"type":"string","default":"far fa-comment"},"showsliderNextPrev":{"type":"boolean","default":true},"carouselNextIcon":{"type":"string","default":"fas fa-chevron-right"},"gutterSpace":{"type":"number","default":1},"showDots":{"type":"boolean","default":false},"enableAutoPlay":{"type":"boolean","default":true},"numberofSlide":{"type":"number","default":1},"carouselSpeed":{"type":"number","default":"800"},"navigationColor":{"type":"string","default":"#000"},"navigationShape":{"type":"string","default":"lpc-navigation-1"},"navigationSize":{"type":"string","default":"lpc-navigation-small"},"enableNavInHover":{"type":"boolean","default":true},"navigationShapeColor":{"type":"string","default":"#fff"},"titleOnHover":{"type":"string","default":"lpc-title-hover"},"titleOnHoverColor":{"type":"string","default":"#222222"},"tileTitleOnHoverColor":{"type":"string","default":"#f4f4f4"},"enableEqualHeight":{"type":"boolean","default":true},"animation":{"type":"string","default":""},"blockHoverEffect":{"type":"string","default":""},"postCategoryFontSize":{"type":"number","default":10},"postCategoryFontFamily":{"type":"string","default":"Default"},"postCategoryFontWeight":{"type":"string","default":"600"},"postCategoryFontSubset":{"type":"string"},"postCategoryFontSizeType":{"type":"string","default":"px"},"postCategoryFontSizeMobile":{"type":"number","default":10},"postCategoryFontSizeTablet":{"type":"number","default":10},"postCategoryLoadGoogleFonts":{"type":"boolean","default":false},"postMetaFontSize":{"type":"number","default":11},"postMetaFontFamily":{"type":"string","default":"Default"},"postMetaFontWeight":{"type":"string","default":""},"postMetaFontSubset":{"type":"string"},"postMetaFontSizeType":{"type":"string","default":"px"},"postMetaFontSizeMobile":{"type":"number","default":11},"postMetaFontSizeTablet":{"type":"number","default":11},"postMetaLoadGoogleFonts":{"type":"boolean","default":false},"imageHoverEffect":{"type":"string","default":""},"colorType":{"type":"string","default":"bs-single-color"}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/latest-posts-flash","category":"blockspare","title":"Latest Post Flash","description":"Display Ticker Posts (Flash) from Selected Categories.","textdomain":"blockspare","keywords":["Posts","Ticker","Flash"],"attributes":{"align":{"type":"string","default":"wide"},"categories":{"type":"array","default":[]},"postType":{"type":"string","default":"post"},"tags":{"type":"array","default":[]},"order":{"type":"string","default":"desc"},"orderBy":{"type":"string","default":"date"},"postTax":{"type":"boolean","default":true},"taxType":{"type":"string","default":"category"},"uniqueClass":{"type":"string","default":""},"carouselType":{"type":"string","default":"horizontal"},"className":{"type":"string"},"postsToShow":{"type":"number","default":4},"postTitleColor":{"type":"string","default":"#000"},"postTitleFontSize":{"type":"number","default":14},"titleFontFamily":{"type":"string","default":"Default"},"titleFontWeight":{"type":"string","default":""},"titleFontSubset":{"type":"string"},"titleFontSizeType":{"type":"string","default":"px"},"titleFontSizeMobile":{"type":"number","default":12},"titleFontSizeTablet":{"type":"number","default":14},"titleLoadGoogleFonts":{"type":"boolean","default":false},"enableCount":{"type":"boolean","default":false},"countColor":{"type":"string","default":"#fff"},"exclusiveColor":{"type":"string","default":"#222222"},"exclusiveBgColor":{"type":"string","default":"#FF9900"},"offset":{"type":"number","default":0},"displayPostsBy":{"type":"string","default":"blockspare-posts-block-post-by-category"},"sectionTag":{"type":"string","default":"section"},"sectionTitle":{"type":"string"},"imageSize":{"type":"string","default":"thumbnail"},"url":{"type":"string","source":"attribute","selector":"img","attribute":"src"},"id":{"type":"number"},"marginTop":{"type":"number","default":0},"marginBottom":{"type":"number","default":0},"marginRight":{"type":"number","default":0},"marginLeft":{"type":"number","default":0},"paddingTop":{"type":"number","default":0},"paddingBottom":{"type":"number","default":0},"paddingRight":{"type":"number","default":0},"paddingLeft":{"type":"number","default":5},"backGroundColor":{"type":"string","default":"transparent"},"borderRadius":{"type":"number","default":0},"lineHeight":{"type":"number","default":1.3},"gutterSpace":{"type":"number","default":1},"enableAutoPlay":{"type":"boolean","default":false},"numberofSlideHorizontal":{"type":"number","default":4},"carouselSpeed":{"type":"number","default":"800"},"titleOnHover":{"type":"string","default":"lpc-title-hover"},"titleOnHoverColor":{"type":"string","default":"#404040"},"enableEqualHeight":{"type":"boolean","default":true},"animation":{"type":"string","default":""},"blockHoverEffect":{"type":"string","default":""},"layoutStyle":{"type":"string","default":"flash-style-1"},"exclusiveText":{"type":"string","default":"Breaking News"},"exclusiveSubtitle":{"type":"boolean","default":false},"exclusiveSubtitleText":{"type":"string","default":"Exclusive"},"spinner":{"type":"boolean","default":true},"spinnerOption":{"type":"string","default":"spinner-option-1"},"spinnerStyle":{"type":"string","default":"spinner-style-2"},"spinnerIcon":{"type":"string","default":"fas fa-spinner"},"animationStyle":{"type":"string","default":"animation-style-2"},"direction":{"type":"string","default":"left"},"animationSpeed":{"type":"number","default":60},"pauseOnHover":{"type":"boolean","default":true},"border":{"type":"boolean","default":false},"borderWidth":{"type":"number","default":3},"borderStyle":{"type":"string","default":"solid"},"borderColor":{"type":"string","default":"#000"},"imgBorderRadius":{"type":"number","default":0},"exclusiveFontSize":{"type":"number","default":16},"exclusiveFontFamily":{"type":"string","default":"Default"},"exclusiveFontWeight":{"type":"string","default":""},"exclusiveFontSubset":{"type":"string"},"exclusiveFontSizeType":{"type":"string","default":"px"},"exclusiveFontSizeMobile":{"type":"number","default":14},"exclusiveFontSizeTablet":{"type":"number","default":14},"exclusiveLoadGoogleFonts":{"type":"boolean","default":false},"newsColor":{"type":"string","default":"#fff"},"newsBgColor":{"type":"string","default":"#BB1919"},"background":{"type":"boolean","default":true},"fixedWidth":{"type":"boolean","default":false},"postWidth":{"type":"number","default":375},"postTitleLineHeight":{"type":"number","default":1.5},"exclusiveSubtitleFontSize":{"type":"number","default":11},"exclusiveSubtitleFontFamily":{"type":"string","default":"Default"},"exclusiveSubtitleFontWeight":{"type":"string","default":"600"},"exclusiveSubtitleFontSubset":{"type":"string"},"exclusiveSubtitleFontSizeType":{"type":"string","default":"px"},"exclusiveSubtitleFontSizeMobile":{"type":"number","default":11},"exclusiveSubtitleFontSizeTablet":{"type":"number","default":11},"exclusiveSubtitleLoadGoogleFonts":{"type":"boolean","default":false}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-masonry","category":"blockspare","attributes":{"gridSize":{"type":"string","default":"xlrg"},"uniqueClass":{"type":"string"},"animation":{"type":"string","default":""},"paddingTop":{"type":"number","default":0},"paddingRight":{"type":"number","default":0},"paddingBottom":{"type":"number","default":0},"paddingLeft":{"type":"number","default":0},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"blockHoverEffect":{"type":"string","default":""},"imageHoverEffect":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-notice-bar","category":"blockspare","attributes":{"className":{"type":"string"},"animation":{"type":"string","default":""},"align":{"type":"string","default":"center"},"sectionAlignment":{"type":"string","default":"left"},"textsColor":{"type":"string","default":"#4c4c4c"},"fontSize":{"type":"number","default":18},"titleFontFamily":{"type":"string","default":"Default"},"titleFontWeight":{"type":"string","default":""},"titleFontSubset":{"type":"string"},"titleFontSizeType":{"type":"string","default":"px"},"titleFontSizeMobile":{"type":"number","default":14},"titleFontSizeTablet":{"type":"number","default":16},"titleLoadGoogleFonts":{"type":"boolean","default":false},"backGroundColor":{"type":"string","default":"#f9f9f9"},"boxBorderColor":{"type":"string","default":"#3c1a5b"},"noticeContent":{"type":"string","default":"Add your notice here...."},"paddingTop":{"type":"number","default":10},"paddingRight":{"type":"number","default":20},"paddingBottom":{"type":"number","default":10},"paddingLeft":{"type":"number","default":20},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"enableButton":{"type":"boolean","default":false},"borderRadius":{"type":"number","default":0},"enableNoticeIcons":{"type":"boolean","default":false},"name":{"type":"string","default":"blockspare-notice-bell"},"iconColor":{"type":"string","default":"#000"},"iconSize":{"type":"number","default":"15"},"showImage":{"type":"boolean","default":false},"imgURL":{"type":"string"},"imgID":{"type":"number"},"imgAlt":{"type":"string"},"blockHoverEffect":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-price-list-item","category":"blockspare","attributes":{"className":{"type":"string"},"uniqueClass":{"type":"string","default":""},"sectionAlignment":{"type":"string","default":"left"},"priceTitle":{"type":"string","default":"Enter Title"},"priceDescription":{"type":"string","default":"Add your item description..."},"priceUnit":{"type":"string","default":"$"},"price":{"type":"string","default":"100"},"ImgURL":{"type":"string"},"ImgAlt":{"type":"string","source":"attribute","selector":"figure img","attribute":"alt","default":""},"ImgID":{"type":"number"},"layoutOptions":{"type":"string","default":"blockspare-layout1"},"imageOption":{"type":"string","default":"blockspare-img-square"},"priceUnitPosition":{"type":"string","default":"blockspare-before-price"},"showDots":{"type":"boolean","default":true},"priceTitleColor":{"type":"string","default":"#404040"},"priceColor":{"type":"string","default":"#3c1a5b"},"priceUnitColor":{"type":"string","default":"#3c1a5b"},"priceDescriptionColor":{"type":"string","default":"#6d6d6d"},"backgroundColor":{"type":"string","default":"#fff"},"showImage":{"type":"boolean","default":true},"imgIconOption":{"type":"string","default":"image"},"name":{"type":"string","default":"fas fa-rocket"},"iconSize":{"type":"string","default":"blockspare-icon-size-small"},"iconStyles":{"type":"string","default":"blockspare-icon-style2"},"iconBackgroundColor":{"type":"string","default":"#8b249c"},"iconBorderColor":{"type":"string","default":"#8b249c"},"iconColor":{"type":"string","default":"#fff"},"borderRadius":{"type":"number","default":50},"blockBorderRadius":{"type":"number","default":0},"titleFontSize":{"type":"number","default":18},"titleFontFamily":{"type":"string","default":"Default"},"titleFontWeight":{"type":"string","default":""},"titleFontSubset":{"type":"string"},"titleFontSizeType":{"type":"string","default":"px"},"titleFontSizeMobile":{"type":"number","default":14},"titleFontSizeTablet":{"type":"number","default":16},"titleLoadGoogleFonts":{"type":"boolean","default":false},"priceUnitFontSize":{"type":"number","default":18},"priceUnitFontFamily":{"type":"string","default":"Default"},"priceUnitFontWeight":{"type":"string","default":""},"priceUnitFontSubset":{"type":"string"},"priceUnitFontSizeType":{"type":"string","default":"px"},"priceUnitFontSizeMobile":{"type":"number","default":14},"priceUnitFontSizeTablet":{"type":"number","default":16},"priceUnitLoadGoogleFonts":{"type":"boolean","default":false},"descriptionFontSize":{"type":"number","default":18},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string","default":""},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number","default":14},"descriptionFontSizeTablet":{"type":"number","default":16},"descriptionLoadGoogleFonts":{"type":"boolean","default":false},"blockHoverEffect":{"type":"string","default":""},"backgroundOpacity":{"type":"number","default":1},"imageHoverEffect":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-pricing-inner-item","category":"blockspare","attributes":{"itemborderWidth":{"type":"number","default":0},"itemborderColor":{"type":"string","default":"#ececec"},"itemborderRadius":{"type":"number","default":0},"itembackgroundColor":{"type":"string","default":"#fff"},"alignment":{"type":"string"},"headerAlignPosition":{"type":"string","default":"center"},"itempadding":{"type":"number","default":0},"sectionScale":{"type":"number","default":0},"enableBadge":{"type":"boolean","default":false},"badgeText":{"type":"string","default":"Badge Text"},"badgeStyle":{"type":"string","default":"blockspare-badge-style1"},"badgeOption":{"type":"string","default":"badge-text"},"imgURL1":{"type":"string"},"imgID1":{"type":"number"},"imgAlt1":{"type":"string"},"badgeTextColor":{"type":"string","default":"#fff"},"badgeBackGroundColor":{"type":"string","default":"#8b249c"},"badgeImgSize":{"type":"number","default":100},"uniqueClass":{"type":"string","default":""},"enableSectionHeader":{"type":"boolean","default":true},"badgeFontSize":{"type":"number","default":16},"badgeFontFamily":{"type":"string","default":"Default"},"badgeFontWeight":{"type":"string","default":""},"badgeFontSubset":{"type":"string"},"badgeFontSizeType":{"type":"string","default":"px"},"badgeFontSizeMobile":{"type":"number","default":14},"badgeFontSizeTablet":{"type":"number","default":14},"badgeLoadGoogleFonts":{"type":"boolean","default":false},"pricingLayout":{"type":"string","default":"bpl-1"},"primaryColor":{"type":"string","default":"#3C1A5B"},"secondaryColor":{"type":"string","default":"#F3F3F3"},"tertianeryColor":{"type":"string","default":"#FFFFFF"},"blockHoverEffect":{"type":"string","default":""},"imageHoverEffect":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-services-inner","category":"blockspare","attributes":{"itemBorderWidth":{"type":"number","default":1},"itemBorderColor":{"type":"string","default":"#ececec"},"itemBorderRadius":{"type":"number","default":0},"itemBackgroundColor":{"type":"string","default":"#fff"},"alignment":{"type":"string"},"itemPadding":{"type":"number","default":0},"uniqueClass":{"type":"string","default":""},"headerAlignPosition":{"type":"string","default":"center"},"enableSectionHeader":{"type":"boolean","default":true},"servicesLayout":{"type":"string","default":"bsl-1"},"primaryColor":{"type":"string","default":"#3C1A5B"},"secondaryColor":{"type":"string","default":"#F3F3F3"},"tertianeryColor":{"type":"string","default":"#FFFFFF"},"blockHoverEffect":{"type":"string","default":""},"imageHoverEffect":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-testimonial-item","category":"blockspare","attributes":{"className":{"type":"string"},"testimonialDescription":{"type":"string","default":"Donec odit magni, nesciunt pariatur! Nec, purus voluptate ridiculus odit nobis euismod, ac laudantium facere perferendis! "},"testimonialDescriptionTextSize":{"type":"number","default":16},"testimonialDescriptionTextColor":{"type":"string","default":"#6d6d6d"},"blockID":{"type":"string","default":""},"starCount":{"type":"number","default":5},"starSize":{"type":"number","default":20},"starGap":{"type":"number","default":3},"starColor":{"type":"string","default":"#fbd012"},"selectedStars":{"type":"number","default":3},"emptyStarColor":{"type":"string","default":"#d5d3d3"},"enableRatings":{"type":"boolean","default":false},"backGroundColor":{"type":"string","default":"#f9f9f9"},"borderWidth":{"type":"number","default":1},"borderColor":{"type":"string","default":"#ececec"},"padding":{"type":"number","default":15},"headermarginTop":{"type":"number","default":5},"headermarginRight":{"type":"number","default":0},"headermarginBottom":{"type":"number","default":5},"headermarginLeft":{"type":"number","default":0},"borderRadius":{"type":"number","default":0},"descriptionFontSize":{"type":"number","default":16},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string","default":""},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number","default":14},"descriptionFontSizeTablet":{"type":"number","default":14},"descriptionLoadGoogleFonts":{"type":"boolean","default":false},"uniqueClass":{"type":"string","default":""},"imageHoverEffect":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-empty-section","category":"blockspare","attributes":{"className":{"type":"string"},"animation":{"type":"string","default":""},"height":{"type":"number","default":10},"backGroundColor":{"type":"string","default":"#f9f9f9"},"uniqueClass":{"type":"string","default":""},"fillType":{"type":"string","default":""},"blockHoverEffect":{"type":"string","default":""}}}')},function(e,t,a){var o=a(260);e.exports=function(e,t){if(e){if("string"==typeof e)return o(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,o=new Array(t);a<t;a++)o[a]=e[a];return o},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t,a,o){for(var n=e.length,r=a+(o?1:-1);o?r--:++r<n;)if(t(e[r],r,e))return r;return-1}},,function(e,t){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var a=0,o=e.length;a<o&&!1!==t(e[a],a);a++);}}},function(e,t,a){var o=a(58),n=a(369),r=a(25);e.exports=function(e,t,a){for(var l=-1,i=t.length,s={};++l<i;){var c=t[l],p=o(e,c);a(p,c)&&n(s,r(c,e),p)}return s}},function(e,t,a){var o=a(370);e.exports=function(e){var t=o(e),a=t%1;return t==t?a?t-a:t:0}},function(e){e.exports=JSON.parse('{"name":"blockspare/date-time","category":"blockspare","title":"Date and Time","description":"Display Current Date and Time at any Sections.","textdomain":"blockspare","keywords":["Date","Time","Blockspare","Section"],"attributes":{"className":{"type":"string"},"uniqueClass":{"type":"string","default":""},"date":{"type":"boolean","default":true},"time":{"type":"boolean","default":false},"align":{"type":"string","default":"center"},"sectionAlign":{"type":"string","default":"left"},"textBeforeDate":{"type":"string","default":""},"textAfterDate":{"type":"string","default":""},"dateIconToggle":{"type":"boolean","default":true},"dateIcon":{"type":"string","default":"far fa-calendar-alt"},"dateIconSize":{"type":"number","default":16},"timeIconToggle":{"type":"boolean","default":true},"timeIcon":{"type":"string","default":"far fa-clock"},"timeIconSize":{"type":"number","default":16},"layoutOption":{"type":"string","default":"date-time-style-1"},"dateOrder":{"type":"string","default":"date-time-order-1"},"layoutType":{"type":"string","default":"date-time-horizontal"},"dateColor":{"type":"string","default":"#000"},"dateIconColor":{"type":"string","default":"#000"},"textBeforeColor":{"type":"string","default":"#000"},"textAfterColor":{"type":"string","default":"#000"},"timeColor":{"type":"string","default":"#000"},"timeIconColor":{"type":"string","default":"#000"},"bgColor":{"type":"string","default":"#ffb400"},"dateFontSize":{"type":"number","default":16},"dateFontFamily":{"type":"string","default":"Default"},"dateFontWeight":{"type":"string","default":""},"dateFontSubset":{"type":"string"},"dateFontSizeType":{"type":"string","default":"px"},"dateFontSizeMobile":{"type":"number","default":14},"dateFontSizeTablet":{"type":"number","default":16},"dateLoadGoogleFonts":{"type":"boolean","default":false},"timeFontSize":{"type":"number","default":16},"timeFontFamily":{"type":"string","default":"Default"},"timeFontWeight":{"type":"string","default":""},"timeFontSubset":{"type":"string"},"timeFontSizeType":{"type":"string","default":"px"},"timeFontSizeMobile":{"type":"number","default":14},"timeFontSizeTablet":{"type":"number","default":16},"timeLoadGoogleFonts":{"type":"boolean","default":false},"beforeDateFontSize":{"type":"number","default":16},"beforeDateFontFamily":{"type":"string","default":"Default"},"beforeDateFontWeight":{"type":"string","default":""},"beforeDateFontSubset":{"type":"string"},"beforeDateFontSizeType":{"type":"string","default":"px"},"beforeDateFontSizeMobile":{"type":"number","default":14},"beforeDateFontSizeTablet":{"type":"number","default":16},"beforeDateLoadGoogleFonts":{"type":"boolean","default":false},"afterDateFontSize":{"type":"number","default":16},"afterDateFontFamily":{"type":"string","default":"Default"},"afterDateFontWeight":{"type":"string","default":""},"afterDateFontSubset":{"type":"string"},"afterDateFontSizeType":{"type":"string","default":"px"},"afterDateFontSizeMobile":{"type":"number","default":14},"afterDateFontSizeTablet":{"type":"number","default":16},"afterDateLoadGoogleFonts":{"type":"boolean","default":false},"animation":{"type":"string","default":""},"borderRadius":{"type":"string","default":"date-time-mixed"},"marginTop":{"type":"number","default":30},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"marginRight":{"type":"number","default":0},"blockHoverEffect":{"type":"string","default":""}}}')},function(e,t,a){var o=a(305)((function(e,t,a){return e+(a?"-":"")+t.toLowerCase()}));e.exports=o},function(e,t,a){var o;!function(){function n(e,t,a){return e.call.apply(e.bind,arguments)}function r(e,t,a){if(!e)throw Error();if(2<arguments.length){var o=Array.prototype.slice.call(arguments,2);return function(){var a=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(a,o),e.apply(t,a)}}return function(){return e.apply(t,arguments)}}function l(e,t,a){return(l=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?n:r).apply(null,arguments)}var i=Date.now||function(){return+new Date};function s(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var c=!!window.FontFace;function p(e,t,a,o){if(t=e.c.createElement(t),a)for(var n in a)a.hasOwnProperty(n)&&("style"==n?t.style.cssText=a[n]:t.setAttribute(n,a[n]));return o&&t.appendChild(e.c.createTextNode(o)),t}function b(e,t,a){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(a,e.lastChild)}function u(e){e.parentNode&&e.parentNode.removeChild(e)}function d(e,t,a){t=t||[],a=a||[];for(var o=e.className.split(/\s+/),n=0;n<t.length;n+=1){for(var r=!1,l=0;l<o.length;l+=1)if(t[n]===o[l]){r=!0;break}r||o.push(t[n])}for(t=[],n=0;n<o.length;n+=1){for(r=!1,l=0;l<a.length;l+=1)if(o[n]===a[l]){r=!0;break}r||t.push(o[n])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function g(e,t){for(var a=e.className.split(/\s+/),o=0,n=a.length;o<n;o++)if(a[o]==t)return!0;return!1}function m(e,t,a){function o(){i&&n&&r&&(i(l),i=null)}t=p(e,"link",{rel:"stylesheet",href:t,media:"all"});var n=!1,r=!0,l=null,i=a||null;c?(t.onload=function(){n=!0,o()},t.onerror=function(){n=!0,l=Error("Stylesheet failed to load"),o()}):setTimeout((function(){n=!0,o()}),0),b(e,"head",t)}function f(e,t,a,o){var n=e.c.getElementsByTagName("head")[0];if(n){var r=p(e,"script",{src:t}),l=!1;return r.onload=r.onreadystatechange=function(){l||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(l=!0,a&&a(null),r.onload=r.onreadystatechange=null,"HEAD"==r.parentNode.tagName&&n.removeChild(r))},n.appendChild(r),setTimeout((function(){l||(l=!0,a&&a(Error("Script load timeout")))}),o||5e3),r}return null}function h(){this.a=0,this.c=null}function k(e){return e.a++,function(){e.a--,v(e)}}function y(e,t){e.c=t,v(e)}function v(e){0==e.a&&e.c&&(e.c(),e.c=null)}function C(e){this.a=e||"-"}function O(e,t){this.c=e,this.f=4,this.a="n";var a=(t||"n4").match(/^([nio])([1-9])$/i);a&&(this.a=a[1],this.f=parseInt(a[2],10))}function E(e){var t=[];e=e.split(/,\s*/);for(var a=0;a<e.length;a++){var o=e[a].replace(/['"]/g,"");-1!=o.indexOf(" ")||/^\d/.test(o)?t.push("'"+o+"'"):t.push(o)}return t.join(",")}function x(e){return e.a+e.f}function w(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function S(e){var t=4,a="n",o=null;return e&&((o=e.match(/(normal|oblique|italic)/i))&&o[1]&&(a=o[1].substr(0,1).toLowerCase()),(o=e.match(/([1-9]00|normal|bold)/i))&&o[1]&&(/bold/i.test(o[1])?t=7:/[1-9]00/.test(o[1])&&(t=parseInt(o[1].substr(0,1),10)))),a+t}function T(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new C("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function j(e){if(e.g){var t=g(e.f,e.a.c("wf","active")),a=[],o=[e.a.c("wf","loading")];t||a.push(e.a.c("wf","inactive")),d(e.f,a,o)}F(e,"inactive")}function F(e,t,a){e.j&&e.h[t]&&(a?e.h[t](a.c,x(a)):e.h[t]())}function M(){this.c={}}function B(e,t){this.c=e,this.f=t,this.a=p(this.c,"span",{"aria-hidden":"true"},this.f)}function L(e){b(e.c,"body",e.a)}function z(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+E(e.c)+";font-style:"+w(e)+";font-weight:"+e.f+"00;"}function N(e,t,a,o,n,r){this.g=e,this.j=t,this.a=o,this.c=a,this.f=n||3e3,this.h=r||void 0}function P(e,t,a,o,n,r,l){this.v=e,this.B=t,this.c=a,this.a=o,this.s=l||"BESbswy",this.f={},this.w=n||3e3,this.u=r||null,this.m=this.j=this.h=this.g=null,this.g=new B(this.c,this.s),this.h=new B(this.c,this.s),this.j=new B(this.c,this.s),this.m=new B(this.c,this.s),e=z(e=new O(this.a.c+",serif",x(this.a))),this.g.a.style.cssText=e,e=z(e=new O(this.a.c+",sans-serif",x(this.a))),this.h.a.style.cssText=e,e=z(e=new O("serif",x(this.a))),this.j.a.style.cssText=e,e=z(e=new O("sans-serif",x(this.a))),this.m.a.style.cssText=e,L(this.g),L(this.h),L(this.j),L(this.m)}C.prototype.c=function(e){for(var t=[],a=0;a<arguments.length;a++)t.push(arguments[a].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},N.prototype.start=function(){var e=this.c.o.document,t=this,a=i(),o=new Promise((function(o,n){!function r(){i()-a>=t.f?n():e.fonts.load(function(e){return w(e)+" "+e.f+"00 300px "+E(e.c)}(t.a),t.h).then((function(e){1<=e.length?o():setTimeout(r,25)}),(function(){n()}))}()})),n=null,r=new Promise((function(e,a){n=setTimeout(a,t.f)}));Promise.race([r,o]).then((function(){n&&(clearTimeout(n),n=null),t.g(t.a)}),(function(){t.j(t.a)}))};var D={D:"serif",C:"sans-serif"},R=null;function A(){if(null===R){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);R=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return R}function _(e,t,a){for(var o in D)if(D.hasOwnProperty(o)&&t===e.f[D[o]]&&a===e.f[D[o]])return!0;return!1}function I(e,t){setTimeout(l((function(){u(this.g.a),u(this.h.a),u(this.j.a),u(this.m.a),t(this.a)}),e),0)}function H(e,t,a){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=a}P.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=i(),function e(t){var a,o=t.g.a.offsetWidth,n=t.h.a.offsetWidth;(a=o===t.f.serif&&n===t.f["sans-serif"])||(a=A()&&_(t,o,n)),a?i()-t.A>=t.w?A()&&_(t,o,n)&&(null===t.u||t.u.hasOwnProperty(t.a.c))?I(t,t.v):I(t,t.B):function(t){setTimeout(l((function(){e(this)}),t),50)}(t):I(t,t.v)}(this)};var G=null;function W(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&d(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),F(e,"active")):j(e.a))}function U(e){this.j=e,this.a=new M,this.h=0,this.f=this.g=!0}function q(e,t,a,o,n){var r=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=n||null,i=o||{};if(0===a.length&&r)j(t.a);else{t.f+=a.length,r&&(t.j=r);var s,c=[];for(s=0;s<a.length;s++){var p=a[s],b=i[p.c],u=t.a,g=p;if(u.g&&d(u.f,[u.a.c("wf",g.c,x(g).toString(),"loading")]),F(u,"fontloading",g),u=null,null===G)if(window.FontFace){g=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var m=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);G=g?42<parseInt(g[1],10):!m}else G=!1;u=G?new N(l(t.g,t),l(t.h,t),t.c,p,t.s,b):new P(l(t.g,t),l(t.h,t),t.c,p,t.s,e,b),c.push(u)}for(s=0;s<c.length;s++)c[s].start()}}),0)}function V(e,t){this.c=e,this.a=t}function $(e,t){this.c=e,this.a=t}function X(e,t){this.c=e||Y,this.a=[],this.f=[],this.g=t||""}H.prototype.g=function(e){var t=this.a;t.g&&d(t.f,[t.a.c("wf",e.c,x(e).toString(),"active")],[t.a.c("wf",e.c,x(e).toString(),"loading"),t.a.c("wf",e.c,x(e).toString(),"inactive")]),F(t,"fontactive",e),this.m=!0,W(this)},H.prototype.h=function(e){var t=this.a;if(t.g){var a=g(t.f,t.a.c("wf",e.c,x(e).toString(),"active")),o=[],n=[t.a.c("wf",e.c,x(e).toString(),"loading")];a||o.push(t.a.c("wf",e.c,x(e).toString(),"inactive")),d(t.f,o,n)}F(t,"fontinactive",e),W(this)},U.prototype.load=function(e){this.c=new s(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,a){var o=[],n=a.timeout;!function(e){e.g&&d(e.f,[e.a.c("wf","loading")]),F(e,"loading")}(t),o=function(e,t,a){var o,n=[];for(o in t)if(t.hasOwnProperty(o)){var r=e.c[o];r&&n.push(r(t[o],a))}return n}(e.a,a,e.c);var r=new H(e.c,t,n);for(e.h=o.length,t=0,a=o.length;t<a;t++)o[t].load((function(t,a,o){q(e,r,t,a,o)}))}(this,new T(this.c,e),e)},V.prototype.load=function(e){var t=this,a=t.a.projectId,o=t.a.version;if(a){var n=t.c.o;f(this.c,(t.a.api||"https://fast.fonts.net/jsapi")+"/"+a+".js"+(o?"?v="+o:""),(function(o){o?e([]):(n["__MonotypeConfiguration__"+a]=function(){return t.a},function t(){if(n["__mti_fntLst"+a]){var o,r=n["__mti_fntLst"+a](),l=[];if(r)for(var i=0;i<r.length;i++){var s=r[i].fontfamily;null!=r[i].fontStyle&&null!=r[i].fontWeight?(o=r[i].fontStyle+r[i].fontWeight,l.push(new O(s,o))):l.push(new O(s))}e(l)}else setTimeout((function(){t()}),50)}())})).id="__MonotypeAPIScript__"+a}else e([])},$.prototype.load=function(e){var t,a,o=this.a.urls||[],n=this.a.families||[],r=this.a.testStrings||{},l=new h;for(t=0,a=o.length;t<a;t++)m(this.c,o[t],k(l));var i=[];for(t=0,a=n.length;t<a;t++)if((o=n[t].split(":"))[1])for(var s=o[1].split(","),c=0;c<s.length;c+=1)i.push(new O(o[0],s[c]));else i.push(new O(o[0]));y(l,(function(){e(i,r)}))};var Y="https://fonts.googleapis.com/css";function J(e){this.f=e,this.a=[],this.c={}}var K={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},Z={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},Q={i:"i",italic:"i",n:"n",normal:"n"},ee=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function te(e,t){this.c=e,this.a=t}var ae={Arimo:!0,Cousine:!0,Tinos:!0};function oe(e,t){this.c=e,this.a=t}function ne(e,t){this.c=e,this.f=t,this.a=[]}te.prototype.load=function(e){var t=new h,a=this.c,o=new X(this.a.api,this.a.text),n=this.a.families;!function(e,t){for(var a=t.length,o=0;o<a;o++){var n=t[o].split(":");3==n.length&&e.f.push(n.pop());var r="";2==n.length&&""!=n[1]&&(r=":"),e.a.push(n.join(r))}}(o,n);var r=new J(n);!function(e){for(var t=e.f.length,a=0;a<t;a++){var o=e.f[a].split(":"),n=o[0].replace(/\+/g," "),r=["n4"];if(2<=o.length){var l;if(l=[],i=o[1])for(var i,s=(i=i.split(",")).length,c=0;c<s;c++){var p;if((p=i[c]).match(/^[\w-]+$/))if(null==(b=ee.exec(p.toLowerCase())))p="";else{if(p=null==(p=b[2])||""==p?"n":Q[p],null==(b=b[1])||""==b)b="4";else var b=Z[b]||(isNaN(b)?"4":b.substr(0,1));p=[p,b].join("")}else p="";p&&l.push(p)}0<l.length&&(r=l),3==o.length&&(l=[],0<(o=(o=o[2])?o.split(","):l).length&&(o=K[o[0]])&&(e.c[n]=o))}for(e.c[n]||(o=K[n])&&(e.c[n]=o),o=0;o<r.length;o+=1)e.a.push(new O(n,r[o]))}}(r),m(a,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,a=[],o=0;o<t;o++)a.push(e.a[o].replace(/ /g,"+"));return t=e.c+"?family="+a.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(o),k(t)),y(t,(function(){e(r.a,r.c,ae)}))},oe.prototype.load=function(e){var t=this.a.id,a=this.c.o;t?f(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(a.Typekit&&a.Typekit.config&&a.Typekit.config.fn){t=a.Typekit.config.fn;for(var o=[],n=0;n<t.length;n+=2)for(var r=t[n],l=t[n+1],i=0;i<l.length;i++)o.push(new O(r,l[i]));try{a.Typekit.load({events:!1,classes:!1,async:!0})}catch(e){}e(o)}}),2e3):e([])},ne.prototype.load=function(e){var t=this.f.id,a=this.c.o,o=this;t?(a.__webfontfontdeckmodule__||(a.__webfontfontdeckmodule__={}),a.__webfontfontdeckmodule__[t]=function(t,a){for(var n=0,r=a.fonts.length;n<r;++n){var l=a.fonts[n];o.a.push(new O(l.name,S("font-weight:"+l.weight+";font-style:"+l.style)))}e(o.a)},f(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var re=new U(window);re.a.c.custom=function(e,t){return new $(t,e)},re.a.c.fontdeck=function(e,t){return new ne(t,e)},re.a.c.monotype=function(e,t){return new V(t,e)},re.a.c.typekit=function(e,t){return new oe(t,e)},re.a.c.google=function(e,t){return new te(t,e)};var le={load:l(re.load,re)};void 0===(o=function(){return le}.call(t,a,t,e))||(e.exports=o)}()},function(e,t,a){var o=a(89),n=a(330);e.exports=function(e,t){return e&&e.length?n(e,o(t,2)):[]}},function(e,t,a){var o=a(36),n=a(338);e.exports=function(e,t){return n(e||[],t||[],o)}},function(e){e.exports=JSON.parse('{"name":"blockspare/search","category":"blockspare","title":"Search","description":"Display Search Block at any Sections.","textdomain":"blockspare","keywords":["Search","Icon","Blockspare","Section"],"attributes":{"sectionTag":{"type":"string","default":"section"},"align":{"type":"string","default":"center"},"searchStyle":{"type":"string","default":"form"},"searchIcon":{"type":"string","default":"fas fa-search"},"iconSize":{"type":"number","default":18},"iconOption":{"type":"string","default":"dropdown"},"buttonType":{"type":"string","default":"text"},"buttonIcon":{"type":"string","default":"fas fa-search"},"placeholder":{"type":"string","default":"Search"},"sectionAlign":{"type":"string","default":"left"},"borderRadius":{"type":"number","default":0},"buttonLabel":{"type":"string","default":"Search"},"height":{"type":"number","default":45},"placeholderFontSize":{"type":"number","default":14},"placeholderFontFamily":{"type":"string","default":"Default"},"placeholderFontWeight":{"type":"string","default":""},"placeholderFontSubset":{"type":"string"},"placeholderFontSizeType":{"type":"string","default":"px"},"placeholderFontSizeMobile":{"type":"number","default":14},"placeholderFontSizeTablet":{"type":"number","default":14},"placeholderLoadGoogleFonts":{"type":"boolean","default":false},"searchFontSize":{"type":"number","default":16},"searchFontFamily":{"type":"string","default":"Default"},"searchFontWeight":{"type":"string","default":""},"searchFontSubset":{"type":"string"},"searchFontSizeType":{"type":"string","default":"px"},"searchFontSizeMobile":{"type":"number","default":14},"searchFontSizeTablet":{"type":"number","default":14},"searchLoadGoogleFonts":{"type":"boolean","default":false},"inputFontSize":{"type":"number","default":14},"inputFontFamily":{"type":"string","default":"Default"},"inputFontWeight":{"type":"string","default":""},"inputFontSubset":{"type":"string"},"inputFontSizeType":{"type":"string","default":"px"},"inputFontSizeMobile":{"type":"number","default":14},"inputFontSizeTablet":{"type":"number","default":14},"inputLoadGoogleFonts":{"type":"boolean","default":false},"iconColor":{"type":"string","default":"#000"},"formIconColor":{"type":"string","default":"#fff"},"closeIconColor":{"type":"string","default":"#fff"},"bgColor":{"type":"string","default":"#fff"},"buttonBgColor":{"type":"string","default":"#bb1919"},"buttonTextColor":{"type":"string","default":"#fff"},"placeholderTextColor":{"type":"string","default":"#64696F"},"inputTextColor":{"type":"string","default":"#2c3338"},"marginTop":{"type":"number","default":0},"marginBottom":{"type":"number","default":0},"marginRight":{"type":"number","default":0},"marginLeft":{"type":"number","default":0},"paddingTop":{"type":"number","default":0},"paddingBottom":{"type":"number","default":0},"paddingRight":{"type":"number","default":0},"paddingLeft":{"type":"number","default":0},"toggleIconPaddingTop":{"type":"number","default":0},"toggleIconPaddingBottom":{"type":"number","default":0},"toggleIconPaddingRight":{"type":"number","default":0},"toggleIconPaddingLeft":{"type":"number","default":0},"searchFormPaddingTop":{"type":"number","default":10},"searchFormPaddingBottom":{"type":"number","default":10},"searchFormPaddingRight":{"type":"number","default":10},"searchFormPaddingLeft":{"type":"number","default":10},"searchInputPaddingRight":{"type":"number","default":8},"searchInputPaddingLeft":{"type":"number","default":8},"toggleSearch":{"type":"boolean","default":false},"animation":{"type":"string","default":""},"uniqueClass":{"type":"string","default":""},"blockHoverEffect":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/popular-tags","category":"blockspare","title":"Popular Tags","description":"Display Popular Tags of your website at any Sections.","textdomain":"blockspare","keywords":["Popular","Tags","Blockspare","Section"],"attributes":{"sectionTag":{"type":"string","default":"section"},"align":{"type":"string","default":"center"},"tagStyle":{"type":"string","default":"popular-tag-style-1"},"primaryIconToggle":{"type":"boolean","default":true},"primaryIcon":{"type":"string","default":"fas fa-tag"},"directionOption":{"type":"string","default":"popular-horizontal"},"column":{"type":"string","default":"bs-column-1"},"filterOption":{"type":"string","default":"tags"},"orderOption":{"type":"string","default":"popular"},"tagsIcon":{"type":"string","default":"fas fa-hashtag"},"tagsIconToggle":{"type":"boolean","default":true},"tagsNumber":{"type":"number","default":5},"popularTagsFontSize":{"type":"number","default":16},"popularTagsFontFamily":{"type":"string","default":"Default"},"popularTagsFontWeight":{"type":"string","default":""},"popularTagsFontSubset":{"type":"string"},"popularTagsFontSizeType":{"type":"string","default":"px"},"popularTagsFontSizeMobile":{"type":"number","default":14},"popularTagsFontSizeTablet":{"type":"number","default":16},"popularTagsLoadGoogleFonts":{"type":"boolean","default":false},"tagsFontSize":{"type":"number","default":16},"tagsFontFamily":{"type":"string","default":"Default"},"tagsFontWeight":{"type":"string","default":""},"tagsFontSubset":{"type":"string"},"tagsFontSizeType":{"type":"string","default":"px"},"tagsFontSizeMobile":{"type":"number","default":14},"tagsFontSizeTablet":{"type":"number","default":16},"tagsLoadGoogleFonts":{"type":"boolean","default":false},"popularTagColor":{"type":"string","default":"#000"},"popularTagHoverColor":{"type":"string","default":"#4E4949"},"tagsColor":{"type":"string","default":"#000"},"tagsHoverColor":{"type":"string","default":"#4E4949"},"primaryIconColor":{"type":"string","default":"#000"},"secondaryIconColor":{"type":"string","default":"#000"},"secondaryColor":{"type":"string","default":"#ffb400"},"marginTop":{"type":"number","default":30},"marginBottom":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginLeft":{"type":"number","default":0},"paddingTop":{"type":"number","default":0},"paddingBottom":{"type":"number","default":0},"paddingRight":{"type":"number","default":0},"paddingLeft":{"type":"number","default":0},"animation":{"type":"string","default":""},"borderRadius":{"type":"string","default":"popular-tag-mixed"},"uniqueClass":{"type":"string","default":""},"blockHoverEffect":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"category":"blockspare","attributes":{"uniqueId":{"type":"string","default":""},"itemNumber":{"type":"number"},"heading":{"type":"string","default":"Accordion Item"},"active":{"type":"boolean","default":false},"defaultText":{"type":"string","default":""},"fillType":{"type":"string","default":"fill"},"openFirstItem":{"type":"boolean","default":true},"name":{"type":"string","default":"fa fa-plus"},"iconPosition":{"type":"string","default":"blockspare-right"},"panelColor":{"type":"string","default":"#3c1a5b"},"panelActiveColor":{"type":"string","default":"#8b249c"},"textColor":{"type":"string","default":"#fff"},"marginBottom":{"type":"number","default":"10"},"activeTextColor":{"type":"string","default":"#fff"},"panelBackGroundColor":{"type":"string","default":"#fff"},"blockHoverEffect":{"type":"string","default":""}}}')},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a(13),n=a(3),r=a(348),l=a(349);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(o),c=i(n),p=i(r),b=i(l);function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function d(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach((function(t){f(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var a=0;a<t.length;a++){var o=t[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function f(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?y(e):t}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,o=new Array(t);a<t;a++)o[a]=e[a];return o}var O=function(e,t){var a=t.decimal,o=t.decimals,n=t.duration,r=t.easingFn,l=t.end,i=t.formattingFn,s=t.prefix,c=t.separator,p=t.start,u=t.suffix,d=t.useEasing;return new b.default(e,p,l,o,n,{decimal:a,easingFn:r,formattingFn:i,separator:c,prefix:s,suffix:u,useEasing:d,useGrouping:!!c})},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(l,e);var t,a,o,n,r=(o=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(o);if(n){var a=h(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return v(this,e)});function l(){var e;g(this,l);for(var t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return f(y(e=r.call.apply(r,[this].concat(a))),"checkProps",(function(t){var a=e.props,o=a.start,n=a.suffix,r=a.prefix,l=a.redraw,i=a.duration,s=a.separator,c=a.decimals,p=a.decimal,b=a.className;return i!==t.duration||o!==t.start||n!==t.suffix||r!==t.prefix||s!==t.separator||c!==t.decimals||p!==t.decimal||b!==t.className||l})),f(y(e),"createInstance",(function(){return"function"==typeof e.props.children&&p.default(e.containerRef.current&&(e.containerRef.current instanceof HTMLElement||e.containerRef.current instanceof SVGTextElement||e.containerRef.current instanceof SVGTSpanElement),'Couldn\'t find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an HTMLElement, eg. <span ref={containerRef} />.'),O(e.containerRef.current,e.props)})),f(y(e),"pauseResume",(function(){var t=y(e),a=t.reset,o=t.restart,n=t.update,r=e.props.onPauseResume;e.instance.pauseResume(),r({reset:a,start:o,update:n})})),f(y(e),"reset",(function(){var t=y(e),a=t.pauseResume,o=t.restart,n=t.update,r=e.props.onReset;e.instance.reset(),r({pauseResume:a,start:o,update:n})})),f(y(e),"restart",(function(){e.reset(),e.start()})),f(y(e),"start",(function(){var t=y(e),a=t.pauseResume,o=t.reset,n=t.restart,r=t.update,l=e.props,i=l.delay,s=l.onEnd,c=l.onStart,p=function(){return e.instance.start((function(){return s({pauseResume:a,reset:o,start:n,update:r})}))};i>0?e.timeoutId=setTimeout(p,1e3*i):p(),c({pauseResume:a,reset:o,update:r})})),f(y(e),"update",(function(t){var a=y(e),o=a.pauseResume,n=a.reset,r=a.restart,l=e.props.onUpdate;e.instance.update(t),l({pauseResume:o,reset:n,start:r})})),f(y(e),"containerRef",c.default.createRef()),e}return t=l,(a=[{key:"componentDidMount",value:function(){var e=this.props,t=e.children,a=e.delay;this.instance=this.createInstance(),"function"==typeof t&&0!==a||this.start()}},{key:"shouldComponentUpdate",value:function(e){var t=this.props.end;return this.checkProps(e)||t!==e.end}},{key:"componentDidUpdate",value:function(e){var t=this.props,a=t.end,o=t.preserveValue;this.checkProps(e)&&(this.instance.reset(),this.instance=this.createInstance(),this.start()),a!==e.end&&(o||this.instance.reset(),this.instance.update(a))}},{key:"componentWillUnmount",value:function(){this.timeoutId&&clearTimeout(this.timeoutId),this.instance.reset()}},{key:"render",value:function(){var e=this.props,t=e.children,a=e.className,o=e.style,n=this.containerRef,r=this.pauseResume,l=this.reset,i=this.restart,s=this.update;return"function"==typeof t?t({countUpRef:n,pauseResume:r,reset:l,start:i,update:s}):c.default.createElement("span",{className:a,ref:n,style:o})}}])&&m(t.prototype,a),l}(n.Component);f(E,"propTypes",{decimal:s.default.string,decimals:s.default.number,delay:s.default.number,easingFn:s.default.func,end:s.default.number.isRequired,formattingFn:s.default.func,onEnd:s.default.func,onStart:s.default.func,prefix:s.default.string,redraw:s.default.bool,separator:s.default.string,start:s.default.number,startOnMount:s.default.bool,suffix:s.default.string,style:s.default.object,useEasing:s.default.bool,preserveValue:s.default.bool}),f(E,"defaultProps",{decimal:".",decimals:0,delay:null,duration:null,easingFn:null,formattingFn:null,onEnd:function(){},onPauseResume:function(){},onReset:function(){},onStart:function(){},onUpdate:function(){},prefix:"",redraw:!1,separator:"",start:0,startOnMount:!0,suffix:"",style:void 0,useEasing:!0,preserveValue:!1});var x={innerHTML:null};t.default=E,t.useCountUp=function(e){var t,a,o=d(d({},E.defaultProps),e),r=o.start,l=o.formattingFn,i=(t=n.useState("function"==typeof l?l(r):r),a=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var o,n,r=[],_n=!0,l=!1;try{for(a=a.call(e);!(_n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);_n=!0);}catch(e){l=!0,n=e}finally{try{_n||null==a.return||a.return()}finally{if(l)throw n}}return r}}(t,a)||function(e,t){if(e){if("string"==typeof e)return C(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?C(e,t):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=i[0],c=i[1],p=n.useRef(null),b=n.useRef(null),u=function(){var e=p.current;if(null!==e)return e;var t=function(){var e=O(x,o),t=e.options.formattingFn;return e.options.formattingFn=function(){var e=t.apply(void 0,arguments);c(e)},e}();return p.current=t,t},g=function(){var e=o.onReset;u().reset(),e({pauseResume:f,start:m,update:h})},m=function e(){var t=o.onStart,a=o.onEnd;u().reset(),u().start((function(){a({pauseResume:f,reset:g,start:e,update:h})})),t({pauseResume:f,reset:g,update:h})},f=function(){var e=o.onPauseResume;u().pauseResume(),e({reset:g,start:m,update:h})},h=function(e){var t=o.onUpdate;u().update(e),t({pauseResume:f,reset:g,start:m})};return n.useEffect((function(){var e=o.delay,t=o.onStart,a=o.onEnd;return o.startOnMount&&(b.current=setTimeout((function(){t({pauseResume:f,reset:g,update:h}),u().start((function(){clearTimeout(b.current),a({pauseResume:f,reset:g,start:m,update:h})}))}),1e3*e)),function(){clearTimeout(b.current),g()}}),[]),{countUp:s,start:m,pauseResume:f,reset:g,update:h}}},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-iconset","category":"blockspare","attributes":{"align":{"type":"string","default":"center"},"animation":{"type":"string","default":""},"sectionAlignment":{"type":"string","default":"center"},"uniqueClass":{"type":"string","default":""},"name":{"type":"string","default":"fas fa-rocket"},"iconSize":{"type":"string","default":"blockspare-icon-size-small"},"iconStyles":{"type":"string","default":"blockspare-icon-style2"},"iconBackgroundColor":{"type":"string","default":"#8b249c"},"iconBorderColor":{"type":"string","default":"#8b249c"},"iconColor":{"type":"string","default":"#fff"},"borderRadius":{"type":"number","default":50},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"paddingTop":{"type":"number","default":30},"paddingRight":{"type":"number","default":30},"paddingBottom":{"type":"number","default":30},"paddingLeft":{"type":"number","default":30},"blockHoverEffect":{"type":"string","default":""},"enableIconLink":{"type":"boolean","default":false},"LinkType":{"type":"string","default":"custom"},"CustomLink":{"type":"string","default":""},"backgroundOpacity":{"type":"number","default":1}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-carousel","category":"blockspare","attributes":{"align":{"type":"string"},"animation":{"type":"string","default":""},"images":{"type":"array","default":[],"selector":"img","query":{"url":{"type":"string","source":"attribute","attribute":"src"},"alt":{"type":"string","source":"attribute","attribute":"alt","default":""},"id":{"type":"string","source":"attribute","attribute":"data-id"},"width":{"type":"string","source":"attribute","attribute":"data-width"}}},"imageSize":{"type":"string","default":"thumbnail"},"showsliderNextPrev":{"type":"boolean","default":true},"showDots":{"type":"boolean","default":false},"numberofSlide":{"type":"number","default":2},"enableAutoPlay":{"type":"boolean","default":true},"carouselSpeed":{"type":"number","default":"1000"},"carouselNextIcon":{"type":"string","default":"fas fa-chevron-right"},"navigationColor":{"type":"string","default":"#000"},"gutterSpace":{"type":"number","default":1},"colorFilter":{"type":"string","default":"blockspare-original"},"showOriginalOnHover":{"type":"boolean","default":false},"navigationSize":{"type":"string","default":"blockspare-navigation-small"},"navigationShape":{"type":"string","default":"lpc-navigation-1"},"navigationShapeColor":{"type":"string","default":"#fff"},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"enableEqualHeight":{"type":"boolean","default":true},"borderRadius":{"type":"number","default":0},"uniqueClass":{"type":"string","default":""},"blockHoverEffect":{"type":"string","default":""},"imageHoverEffect":{"type":"string","default":""}}}')},function(e,t,a){var o=a(368),n=a(93)((function(e,t){return null==e?{}:o(e,t)}));e.exports=n},function(e,t,a){var o=a(261),n=a(89),r=a(265),l=Math.max;e.exports=function(e,t,a){var i=null==e?0:e.length;if(!i)return-1;var s=null==a?0:r(a);return s<0&&(s=l(i+s,0)),o(e,n(t,3),s)}},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-linearprogressbar","category":"blockspare","attributes":{"className":{"type":"string"},"align":{"type":"string","default":"center"},"uniqueClass":{"type":"string","default":""},"animation":{"type":"string","default":""},"uniqueId":{"type":"string","default":""},"defaultItems":{"type":"number","default":3},"paddingTop":{"type":"number","default":0},"paddingRight":{"type":"number","default":0},"paddingBottom":{"type":"number","default":0},"paddingLeft":{"type":"number","default":0},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-skillbar","category":"blockspare","attributes":{"className":{"type":"string"},"blockID":{"type":"string","default":""},"uniqueClass":{"type":"string","default":""},"title":{"type":"string","default":"Enter title"},"textColor":{"type":"string","default":"#404040"},"textSize":{"type":"number","default":20},"titleFontFamily":{"type":"string","default":"Default"},"titleFontWeight":{"type":"string","default":""},"titleFontSubset":{"type":"string"},"titleFontSizeType":{"type":"string","default":"px"},"titleFontSizeMobile":{"type":"number","default":14},"titleFontSizeTablet":{"type":"number","default":16},"titleLoadGoogleFonts":{"type":"boolean","default":false},"percentageTextColor":{"type":"string","default":"#8b249c"},"percentage":{"type":"number","default":25},"sectionAlignment":{"type":"string","default":"left"},"barColor":{"type":"string","default":"#3c1a5b"},"backgroundColor":{"type":"string","default":"#f6f6f6"},"barThickness":{"type":"number","default":2},"blockHoverEffect":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-price-list","category":"blockspare","attributes":{"className":{"type":"string"},"uniqueClass":{"type":"string","default":""},"animation":{"type":"string","default":""},"align":{"type":"string"},"sectionAlignment":{"type":"string","default":"wide"},"uniqueId":{"type":"string","default":""},"defaultItems":{"type":"number","default":3},"backgroundColor":{"type":"string","default":"transparent"},"backgroundTransparent":{"type":"boolean","default":false},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-pricing","category":"blockspare","attributes":{"columns":{"type":"number","default":3},"columnsGap":{"type":"number","default":1},"align":{"type":"string","default":"wide"},"defaultItems":{"type":"number","default":3},"blockLayout":{"type":"string","default":"bs-layout-1"},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"uniqueClass":{"type":"string","default":""},"pricingLayout":{"type":"string","default":"blockspare-pricing-table-layout-1"},"animation":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"attributes":{"sectionAlignment":{"type":"string","default":"center"},"enablePrice":{"type":"boolean","default":true},"priceAlignPosition":{"type":"string","default":"center"},"price":{"type":"string","default":"59"},"currency":{"type":"string","default":"$"},"customBackgroundColor":{"type":"string"},"term":{"type":"string","default":"/mo"},"showTerm":{"type":"boolean","default":true},"showCurrency":{"type":"boolean","default":true},"pricePaddingTop":{"type":"number","default":20},"pricePaddingRight":{"type":"number","default":0},"pricePaddingBottom":{"type":"number","default":20},"pricePaddingLeft":{"type":"number","default":0},"priceMarginTop":{"type":"number","default":0},"priceMarginBottom":{"type":"number","default":0},"priceMarginLeft":{"type":"number","default":0},"priceMarginRight":{"type":"number","default":0},"priceUnitFontSize":{"type":"number","default":52},"priceUnitFontFamily":{"type":"string","default":"Default"},"priceUnitFontWeight":{"type":"string","default":""},"priceUnitFontSubset":{"type":"string"},"priceUnitFontSizeType":{"type":"string","default":"px"},"priceUnitFontSizeMobile":{"type":"number","default":32},"priceUnitFontSizeTablet":{"type":"number","default":42},"priceUnitLoadGoogleFonts":{"type":"boolean","default":false},"priceColor":{"type":"string","default":"#8B249C"},"uniqueClass":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"attributes":{"features":{"type":"string","source":"html","selector":"ol,ul","multiline":"li","default":"<li>40 Team Members</li><li>40 Personal Contacts</li><li>4000 Message</li>"},"descriptionAlignPosition":{"type":"string","default":"center"},"enableDescription":{"type":"boolean","default":true},"descriptionborderStyle":{"type":"string","default":"blockspare-list-border-none"},"descriptionborderColor":{"type":"string"},"descriptionborderWidth":{"type":"number","default":1},"descriptionpaddingTop":{"type":"number","default":10},"descriptionpaddingRight":{"type":"number","default":0},"descriptionpaddingBottom":{"type":"number","default":10},"descriptionpaddingLeft":{"type":"number","default":0},"descriptionMarginTop":{"type":"number","default":0},"descriptionMarginBottom":{"type":"number","default":0},"descriptionMarginLeft":{"type":"number","default":0},"descriptionMarginRight":{"type":"number","default":0},"name":{"type":"string","default":"blockspare-list-check"},"listType":{"type":"string","default":"ul"},"orderListStyle":{"type":"string","default":"blockspare-style1"},"color":{"type":"string","default":"#6d6d6d"},"uniqueClass":{"type":"string","default":""},"descriptionBacgroundColor":{"type":"string"},"descriptionFontSize":{"type":"number","default":16},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string","default":""},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number","default":14},"descriptionFontSizeTablet":{"type":"number","default":14},"descriptionLoadGoogleFonts":{"type":"boolean","default":false},"descriptionIconColor":{"type":"string","default":"#8b249c"}}}')},function(e){e.exports=JSON.parse('{"attributes":{"uniqueClass":{"type":"string","default":""},"buttonAlignPosition":{"type":"string","default":"center"},"enableButton":{"type":"boolean","default":true},"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":false},"buttonStyle":{"type":"string","default":"none"},"borderColor":{"type":"string","default":"#3c1a5b"},"borderBtnTextColor":{"type":"string","default":"#404040"},"enableGradient":{"type":"boolean","default":false},"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","default":""},"buttonFontSubset":{"type":"string"},"buttonFontSizeType":{"type":"string","default":"px"},"buttonFontSizeMobile":{"type":"number","default":14},"buttonFontSizeTablet":{"type":"number","default":14},"buttonLoadGoogleFonts":{"type":"boolean","default":false},"buttonPaddingTop":{"type":"number","default":20},"buttonPaddingRight":{"type":"number","default":0},"buttonPaddingBottom":{"type":"number","default":20},"buttonPaddingLeft":{"type":"number","default":0},"enableButtonIcon":{"type":"boolean","default":false},"buttonIconPosition":{"type":"string","default":"btn-icon-left"},"buttonIcon":{"type":"string","default":"fas fa-rocket"},"buttonIconColor":{"type":"string","default":"#fff"}}}')},function(e){e.exports=JSON.parse('{"attributes":{"iconAlignPosition":{"type":"string","default":"center"},"enableIcon":{"type":"boolean","default":true},"sectionAlignment":{"type":"string","default":"center"},"uniqueClass":{"type":"string","default":""},"iconName":{"type":"string","default":"fas fa-rocket"},"iconSize":{"type":"string","default":"blockspare-icon-size-small"},"iconStyles":{"type":"string","default":"blockspare-icon-style2"},"iconBackgroundColor":{"type":"string","default":"#8b249c"},"iconBorderColor":{"type":"string","default":"#8b249c"},"iconColor":{"type":"string","default":"#fff"},"iconBorderRadius":{"type":"number","default":50},"iconmarginTop":{"type":"number","default":10},"iconmarginBottom":{"type":"number","default":10},"iconmarginLeft":{"type":"number","default":0},"iconmarginRight":{"type":"number","default":0},"backgroundOpacity":{"type":"number","default":1}}}')},function(e){e.exports=JSON.parse('{"attributes":{"enableImage":{"type":"boolean","default":false},"`imageShape`":{"type":"number","default":50},"imgURL":{"type":"string"},"imgID":{"type":"number"},"imgAlt":{"type":"string"},"imgPaddingTop":{"type":"number","default":0},"imgPaddingBottom":{"type":"number","default":0},"imgPaddingLeft":{"type":"number","default":0},"imgPaddingRight":{"type":"number","default":0},"imageAlignPosition":{"type":"string","default":"center"}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-social-links","category":"blockspare","attributes":{"sectionAlignment":{"type":"string","default":"center"},"uniqueClass":{"type":"string","default":""},"animation":{"type":"string","default":""},"facebookTitle":{"type":"string","default":"Facebook"},"facebookUrl":{"type":"url","default":"https://facebook.com"},"twitterTitle":{"type":"string","default":"Twitter"},"twitterUrl":{"type":"url","default":"https://twitter.com"},"instagramTitle":{"type":"string","default":"Instagram"},"instagramUrl":{"type":"url","default":"https://instagram.com"},"youtubeTitle":{"type":"string","default":"YouTube"},"youtubeUrl":{"type":"url","default":""},"linkedinTitle":{"type":"string","default":"LinkedIn"},"linkedinUrl":{"type":"url"},"pinterestTitle":{"type":"string","default":"Pinterest"},"pinterestUrl":{"type":"url"},"tumblrTitle":{"type":"string","default":"Tumblr"},"tumblrUrl":{"type":"url"},"telegramTitle":{"type":"string","default":"Telegram"},"telegramUrl":{"type":"url"},"redditTitle":{"type":"string","default":"Reddit"},"redditUrl":{"type":"url"},"flickrTitle":{"type":"string","default":"Flickr"},"flickrUrl":{"type":"url"},"dribbbleTitle":{"type":"string","default":"Dribbble"},"dribbbleUrl":{"type":"url"},"vkTitle":{"type":"string","default":"VK"},"vkUrl":{"type":"url"},"yelpTitle":{"type":"string","default":"Yelp"},"yelpUrl":{"type":"url"},"quoraTitle":{"type":"string","default":"Quora"},"quoraUrl":{"type":"url"},"meetupTitle":{"type":"string","default":"Meetup"},"meetupUrl":{"type":"url"},"githubTitle":{"type":"url","default":"Git hub"},"githubUrl":{"type":"url"},"buttonOptions":{"type":"string","default":"blockspare-icon-only"},"buttonFills":{"type":"string","default":"blockspare-social-icon-solid"},"iconColorOption":{"type":"string","default":"blockspare-default-official-color"},"customfontColorOption":{"type":"string","default":"#fff"},"custombackgroundColorOption":{"type":"string","default":"#404040"},"buttonShapes":{"type":"string","default":"blockspare-social-icon-square"},"buttonSizes":{"type":"string","default":"blockspare-social-icon-small"},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"blockHoverEffect":{"type":"string","default":""},"iconLayoutType":{"type":"string","default":"blockspare-social-links-horizontal"},"socialFontSize":{"type":"number","default":16},"socialFontFamily":{"type":"string","default":"Default"},"socialFontWeight":{"type":"string","default":""},"socialFontSubset":{"type":"string"},"socialFontSizeType":{"type":"string","default":"px"},"socialFontSizeMobile":{"type":"number","default":14},"socialFontSizeTablet":{"type":"number","default":16},"socialLoadGoogleFonts":{"type":"boolean","default":false}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-social-links","category":"blockspare","attributes":{"sectionAlignment":{"type":"string","default":"center"},"uniqueClass":{"type":"string","default":""},"facebookTitle":{"type":"string","default":"Facebook"},"facebookUrl":{"type":"url","default":"https://facebook.com"},"twitterTitle":{"type":"string","default":"Twitter"},"twitterUrl":{"type":"url","default":"https://twitter.com"},"instagramTitle":{"type":"string","default":"Instagram"},"instagramUrl":{"type":"url","default":"https://instagram.com"},"youtubeTitle":{"type":"string","default":"YouTube"},"youtubeUrl":{"type":"url","default":""},"linkedinTitle":{"type":"string","default":"LinkedIn"},"linkedinUrl":{"type":"url"},"pinterestTitle":{"type":"string","default":"Pinterest"},"pinterestUrl":{"type":"url"},"tumblrTitle":{"type":"string","default":"Tumblr"},"tumblrUrl":{"type":"url"},"telegramTitle":{"type":"string","default":"Telegram"},"telegramUrl":{"type":"url"},"redditTitle":{"type":"string","default":"Reddit"},"redditUrl":{"type":"url"},"flickrTitle":{"type":"string","default":"Flickr"},"flickrUrl":{"type":"url"},"dribbbleTitle":{"type":"string","default":"Dribbble"},"dribbbleUrl":{"type":"url"},"vkTitle":{"type":"string","default":"VK"},"vkUrl":{"type":"url"},"yelpTitle":{"type":"string","default":"Yelp"},"yelpUrl":{"type":"url"},"quoraTitle":{"type":"string","default":"Quora"},"quoraUrl":{"type":"url"},"meetupTitle":{"type":"string","default":"Meetup"},"meetupUrl":{"type":"url"},"githubTitle":{"type":"url","default":"Git hub"},"githubUrl":{"type":"url"},"buttonOptions":{"type":"string","default":"blockspare-icon-only"},"buttonFills":{"type":"string","default":"blockspare-social-icon-solid"},"iconColorOption":{"type":"string","default":"blockspare-default-official-color"},"customfontColorOption":{"type":"string","default":"#fff"},"custombackgroundColorOption":{"type":"string","default":"#404040"},"buttonShapes":{"type":"string","default":"blockspare-social-icon-square"},"buttonSizes":{"type":"string","default":"blockspare-social-icon-small"},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"animation":{"type":"string","default":""},"blockHoverEffect":{"type":"string","default":""},"iconLayoutType":{"type":"string","default":"blockspare-social-links-horizontal"}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-section-header","category":"blockspare"}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-services","category":"blockspare","attributes":{"serviceItems":{"type":"number","default":3},"animation":{"type":"string","default":""},"columns":{"type":"number","default":3},"columnsGap":{"type":"number","default":1},"align":{"type":"string","default":"wide"},"defaultItems":{"type":"number","default":3},"blockLayout":{"type":"string","default":"bs-layout-1"},"sectionAlignment":{"type":"string","default":"center"},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"uniqueClass":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"attributes":{"iconAlignPosition":{"type":"string","default":"center"},"enableIcon":{"type":"boolean","default":true},"sectionAlignment":{"type":"string","default":"center"},"uniqueClass":{"type":"string","default":""},"iconName":{"type":"string","default":"fas fa-rocket"},"iconSize":{"type":"string","default":"blockspare-icon-size-small"},"iconStyles":{"type":"string","default":"blockspare-icon-style2"},"iconBackgroundColor":{"type":"string","default":"#8b249c"},"iconBorderColor":{"type":"string","default":"#8b249c"},"iconColor":{"type":"string","default":"#fff"},"iconBorderRadius":{"type":"number","default":50},"iconmarginTop":{"type":"number","default":10},"iconmarginBottom":{"type":"number","default":10},"iconmarginLeft":{"type":"number","default":0},"iconmarginRight":{"type":"number","default":0},"backgroundOpacity":{"type":"number","default":1}}}')},function(e){e.exports=JSON.parse('{"attributes":{"enableImage":{"type":"boolean","default":false},"`imageShape`":{"type":"number","default":50},"imgURL":{"type":"string"},"imgID":{"type":"number"},"imgAlt":{"type":"string"},"imgPaddingTop":{"type":"number","default":0},"imgPaddingBottom":{"type":"number","default":0},"imgPaddingLeft":{"type":"number","default":0},"imgPaddingRight":{"type":"number","default":0},"imageAlignPosition":{"type":"string","default":"center"}}}')},function(e){e.exports=JSON.parse('{"attributes":{"features":{"type":"string","default":"Aspernatur morbi sit cursus mauris aspernatur! Quos tortor. Ea montes anim."},"descriptionAlignPosition":{"type":"string","default":""},"uniqueClass":{"type":"string","default":""},"enableDescription":{"type":"boolean","default":true},"textColor":{"type":"string","default":"#6d6d6d"},"descriptionBacgroundColor":{"type":"string"},"descriptionpaddingTop":{"type":"number","default":10},"descriptionpaddingRight":{"type":"number","default":10},"descriptionpaddingBottom":{"type":"number","default":10},"descriptionpaddingLeft":{"type":"number","default":10},"descriptionFontSize":{"type":"number","default":16},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string","default":""},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number","default":14},"descriptionFontSizeTablet":{"type":"number","default":14},"descriptionLoadGoogleFonts":{"type":"boolean","default":false}}}')},function(e){e.exports=JSON.parse('{"attributes":{"uniqueClass":{"type":"string","default":""},"buttonAlignPosition":{"type":"string","default":"center"},"enableButton":{"type":"boolean","default":true},"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":false},"buttonStyle":{"type":"string","default":"none"},"borderColor":{"type":"string","default":"#3c1a5b"},"borderBtnTextColor":{"type":"string","default":"#404040"},"enableGradient":{"type":"boolean","default":false},"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","default":""},"buttonFontSubset":{"type":"string"},"buttonFontSizeType":{"type":"string","default":"px"},"buttonFontSizeMobile":{"type":"number","default":14},"buttonFontSizeTablet":{"type":"number","default":14},"buttonLoadGoogleFonts":{"type":"boolean","default":false},"buttonPaddingTop":{"type":"number","default":20},"buttonPaddingRight":{"type":"number","default":0},"buttonPaddingBottom":{"type":"number","default":20},"buttonPaddingLeft":{"type":"number","default":0},"enableButtonIcon":{"type":"boolean","default":false},"buttonIconPosition":{"type":"string","default":"btn-icon-left"},"buttonIcon":{"type":"string","default":"fas fa-rocket"},"buttonIconColor":{"type":"string","default":"#fff"}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-slider","category":"blockspare","attributes":{"align":{"type":"string"},"uniqueClass":{"type":"string"},"animation":{"type":"string","default":""},"images":{"type":"array","default":[],"selector":"img","query":{"url":{"type":"string","source":"attribute","attribute":"src"},"alt":{"type":"string","source":"attribute","attribute":"alt","default":""},"id":{"type":"string","source":"attribute","attribute":"data-id"},"width":{"type":"string","source":"attribute","attribute":"data-width"}}},"imageSize":{"type":"string","default":"thumbnail"},"showsliderNextPrev":{"type":"boolean","default":true},"showDots":{"type":"boolean","default":false},"numberofSlide":{"type":"number","default":1},"enableAutoPlay":{"type":"boolean","default":true},"carouselSpeed":{"type":"number","default":"1000"},"carouselNextIcon":{"type":"string","default":"fas fa-chevron-right"},"navigationColor":{"type":"string","default":"#000"},"gutterSpace":{"type":"number","default":1},"colorFilter":{"type":"string","default":"blockspare-original"},"showOriginalOnHover":{"type":"boolean","default":false},"navigationSize":{"type":"string","default":"blockspare-navigation-small"},"navigationShape":{"type":"string","default":"lpc-navigation-1"},"navigationShapeColor":{"type":"string","default":"#fff"},"enableEqualHeight":{"type":"boolean","default":true},"borderRadius":{"type":"number","default":0},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"blockHoverEffect":{"type":"string","default":""},"imageHoverEffect":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-star-ratings","category":"blockspare","attributes":{"className":{"type":"string"},"uniqueClass":{"type":"string","default":""},"animation":{"type":"string","default":""},"starAlign":{"type":"string","default":"center"},"blockID":{"type":"string","default":""},"starCount":{"type":"number","default":5},"starSize":{"type":"number","default":20},"starColor":{"type":"string","default":"#fbd012"},"selectedStars":{"type":"number","default":5},"emptyStarColor":{"type":"string","default":"#d5d3d3"},"backgroundColor":{"type":"string","default":"transparent"},"blockHoverEffect":{"type":"string","default":""},"marginTop":{"type":"number","default":30},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"marginRight":{"type":"number","default":0}}}')},function(e,t,a){e.exports=function(e,t){var a,o,n=0;function r(){var r,l,i=a,s=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(l=0;l<s;l++)if(i.args[l]!==arguments[l]){i=i.next;continue e}return i!==a&&(i===o&&(o=i.prev),i.prev.next=i.next,i.next&&(i.next.prev=i.prev),i.next=a,i.prev=null,a.prev=i,a=i),i.val}i=i.next}for(r=new Array(s),l=0;l<s;l++)r[l]=arguments[l];return i={args:r,val:e.apply(null,r)},a?(a.prev=i,i.next=a):o=i,n===t.maxSize?(o=o.prev).next=null:n++,a=i,i.val}return t=t||{},r.clear=function(){a=null,o=null,n=0},r}},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-tab","category":"blockspare","attributes":{"uniqueId":{"type":"string","default":""},"id":{"type":"number","default":1},"customClassName":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-testimonial","category":"blockspare","attributes":{"serviceItems":{"type":"number","default":3},"animation":{"type":"string","default":""},"columns":{"type":"number","default":3},"columnsGap":{"type":"number","default":1},"blockLayout":{"type":"string","default":"bs-layout-1"},"align":{"type":"string","default":"wide"},"defaultItems":{"type":"number","default":3},"marginTop":{"type":"number","default":30},"marginRight":{"type":"number","default":0},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"uniqueClass":{"type":"string","default":""},"layoutOption":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/shape-divider","category":"blockspare","attributes":{"align":{"type":"string","default":"full"},"animation":{"type":"string","default":""},"design":{"type":"string","default":"double-wave"},"layer1Shadow":{"type":"boolean","default":false},"width":{"type":"number","default":1},"height":{"type":"number","default":150},"verticalFlip":{"type":"boolean","default":false},"horizontalFlip":{"type":"boolean","default":false},"color":{"type":"string","default":"#3c1a5b"},"marginTop":{"type":"number","default":30},"marginBottom":{"type":"number","default":30},"marginLeft":{"type":"number","default":0},"marginRight":{"type":"number","default":0},"uniqueClass":{"type":"string","default":""},"blockHoverEffect":{"type":"string","default":""}}}')},function(e,t){e.exports=window.wp.compose},,,function(e,t,a){var o=a(306),n=a(307),r=a(310),l=RegExp("['’]","g");e.exports=function(e){return function(t){return o(r(n(t).replace(l,"")),e,"")}}},function(e,t){e.exports=function(e,t,a,o){var n=-1,r=null==e?0:e.length;for(o&&r&&(a=e[++n]);++n<r;)a=t(a,e[n],n,e);return a}},function(e,t,a){var o=a(308),n=a(88),r=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,l=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=n(e))&&e.replace(r,o).replace(l,"")}},function(e,t,a){var o=a(309)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=o},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,a){var o=a(311),n=a(312),r=a(88),l=a(313);e.exports=function(e,t,a){return e=r(e),void 0===(t=a?void 0:t)?n(e)?l(e):o(e):e.match(t)||[]}},function(e,t){var a=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(a)||[]}},function(e,t){var a=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return a.test(e)}},function(e,t){var a="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="["+a+"]",n="\\d+",r="[a-z\\xdf-\\xf6\\xf8-\\xff]",l="[^\\ud800-\\udfff"+a+n+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="[A-Z\\xc0-\\xd6\\xd8-\\xde]",p="(?:"+r+"|"+l+")",b="(?:"+c+"|"+l+")",u="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",d="[\\ufe0e\\ufe0f]?"+u+"(?:\\u200d(?:"+["[^\\ud800-\\udfff]",i,s].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*",g="(?:"+["[\\u2700-\\u27bf]",i,s].join("|")+")"+d,m=RegExp([c+"?"+r+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[o,c,"$"].join("|")+")",b+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[o,c+p,"$"].join("|")+")",c+"?"+p+"+(?:['’](?:d|ll|m|re|s|t|ve))?",c+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",n,g].join("|"),"g");e.exports=function(e){return e.match(m)||[]}},function(e,t,a){var o=a(315);e.exports=function(e,t){if(null==e)return{};var a,n,r=o(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){if(null==e)return{};var a,o,n={},r=Object.keys(e);for(o=0;o<r.length;o++)a=r[o],t.indexOf(a)>=0||(n[a]=e[a]);return n},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,a){var o=a(317),n=a(318),r=a(259),l=a(319);e.exports=function(e,t){return o(e)||n(e,t)||r(e,t)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var o,n,r=[],_n=!0,l=!1;try{for(a=a.call(e);!(_n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);_n=!0);}catch(e){l=!0,n=e}finally{try{_n||null==a.return||a.return()}finally{if(l)throw n}}return r}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,a){var o=a(321),n=a(322),r=a(259),l=a(323);e.exports=function(e){return o(e)||n(e)||r(e)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,a){var o=a(260);e.exports=function(e){if(Array.isArray(e))return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,a){var o=a(326);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function a(t,o){return e.exports=a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,a(t,o)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function a(t){return e.exports=a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,a(t)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t,a){var o=a(210),n=a(331),r=a(335),l=a(211),i=a(336),s=a(177);e.exports=function(e,t,a){var c=-1,p=n,b=e.length,u=!0,d=[],g=d;if(a)u=!1,p=r;else if(b>=200){var m=t?null:i(e);if(m)return s(m);u=!1,p=l,g=new o}else g=t?[]:d;e:for(;++c<b;){var f=e[c],h=t?t(f):f;if(f=a||0!==f?f:0,u&&h==h){for(var k=g.length;k--;)if(g[k]===h)continue e;t&&g.push(h),d.push(f)}else p(g,h,a)||(g!==d&&g.push(h),d.push(f))}return d}},function(e,t,a){var o=a(332);e.exports=function(e,t){return!(null==e||!e.length)&&o(e,t,0)>-1}},function(e,t,a){var o=a(261),n=a(333),r=a(334);e.exports=function(e,t,a){return t==t?r(e,t,a):o(e,n,a)}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,a){for(var o=a-1,n=e.length;++o<n;)if(e[o]===t)return o;return-1}},function(e,t){e.exports=function(e,t,a){for(var o=-1,n=null==e?0:e.length;++o<n;)if(a(t,e[o]))return!0;return!1}},function(e,t,a){var o=a(92),n=a(337),r=a(177),l=o&&1/r(new o([,-0]))[1]==1/0?function(e){return new o(e)}:n;e.exports=l},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t,a){for(var o=-1,n=e.length,r=t.length,l={};++o<n;){var i=o<r?t[o]:void 0;a(l,e[o],i)}return l}},,,,,,,,,,function(e,t,a){"use strict";e.exports=function(){}},function(e,t,a){var o,n;void 0===(n="function"==typeof(o=function(e,t,a){return function(e,t,a,o,n,r){function l(e){return"number"==typeof e&&!isNaN(e)}var i=this;if(i.version=function(){return"1.9.3"},i.options={useEasing:!0,useGrouping:!0,separator:",",decimal:".",easingFn:function(e,t,a,o){return a*(1-Math.pow(2,-10*e/o))*1024/1023+t},formattingFn:function(e){var t,a,o,n,r,l,s=e<0;if(e=Math.abs(e).toFixed(i.decimals),a=(t=(e+="").split("."))[0],o=t.length>1?i.options.decimal+t[1]:"",i.options.useGrouping){for(n="",r=0,l=a.length;r<l;++r)0!==r&&r%3==0&&(n=i.options.separator+n),n=a[l-r-1]+n;a=n}return i.options.numerals.length&&(a=a.replace(/[0-9]/g,(function(e){return i.options.numerals[+e]})),o=o.replace(/[0-9]/g,(function(e){return i.options.numerals[+e]}))),(s?"-":"")+i.options.prefix+a+o+i.options.suffix},prefix:"",suffix:"",numerals:[]},r&&"object"==typeof r)for(var s in i.options)r.hasOwnProperty(s)&&null!==r[s]&&(i.options[s]=r[s]);""===i.options.separator?i.options.useGrouping=!1:i.options.separator=""+i.options.separator;for(var c=0,p=["webkit","moz","ms","o"],b=0;b<p.length&&!window.requestAnimationFrame;++b)window.requestAnimationFrame=window[p[b]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[p[b]+"CancelAnimationFrame"]||window[p[b]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,t){var a=(new Date).getTime(),o=Math.max(0,16-(a-c)),n=window.setTimeout((function(){e(a+o)}),o);return c=a+o,n}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)}),i.initialize=function(){return!(!i.initialized&&(i.error="",i.d="string"==typeof e?document.getElementById(e):e,i.d?(i.startVal=Number(t),i.endVal=Number(a),l(i.startVal)&&l(i.endVal)?(i.decimals=Math.max(0,o||0),i.dec=Math.pow(10,i.decimals),i.duration=1e3*Number(n)||2e3,i.countDown=i.startVal>i.endVal,i.frameVal=i.startVal,i.initialized=!0,0):(i.error="[CountUp] startVal ("+t+") or endVal ("+a+") is not a number",1)):(i.error="[CountUp] target is null or undefined",1)))},i.printValue=function(e){var t=i.options.formattingFn(e);"INPUT"===i.d.tagName?this.d.value=t:"text"===i.d.tagName||"tspan"===i.d.tagName?this.d.textContent=t:this.d.innerHTML=t},i.count=function(e){i.startTime||(i.startTime=e),i.timestamp=e;var t=e-i.startTime;i.remaining=i.duration-t,i.options.useEasing?i.countDown?i.frameVal=i.startVal-i.options.easingFn(t,0,i.startVal-i.endVal,i.duration):i.frameVal=i.options.easingFn(t,i.startVal,i.endVal-i.startVal,i.duration):i.countDown?i.frameVal=i.startVal-(i.startVal-i.endVal)*(t/i.duration):i.frameVal=i.startVal+(i.endVal-i.startVal)*(t/i.duration),i.countDown?i.frameVal=i.frameVal<i.endVal?i.endVal:i.frameVal:i.frameVal=i.frameVal>i.endVal?i.endVal:i.frameVal,i.frameVal=Math.round(i.frameVal*i.dec)/i.dec,i.printValue(i.frameVal),t<i.duration?i.rAF=requestAnimationFrame(i.count):i.callback&&i.callback()},i.start=function(e){i.initialize()&&(i.callback=e,i.rAF=requestAnimationFrame(i.count))},i.pauseResume=function(){i.paused?(i.paused=!1,delete i.startTime,i.duration=i.remaining,i.startVal=i.frameVal,requestAnimationFrame(i.count)):(i.paused=!0,cancelAnimationFrame(i.rAF))},i.reset=function(){i.paused=!1,delete i.startTime,i.initialized=!1,i.initialize()&&(cancelAnimationFrame(i.rAF),i.printValue(i.startVal))},i.update=function(e){if(i.initialize()){if(!l(e=Number(e)))return void(i.error="[CountUp] update() - new endVal is not a number: "+e);i.error="",e!==i.frameVal&&(cancelAnimationFrame(i.rAF),i.paused=!1,delete i.startTime,i.startVal=i.frameVal,i.endVal=e,i.countDown=i.startVal>i.endVal,i.rAF=requestAnimationFrame(i.count))}},i.initialize()&&i.printValue(i.startVal)}})?o.call(t,a,t,e):o)||(e.exports=n)},,,function(e,t,a){var o=a(213);e.exports=function(e,t){var a=[];return o(e,(function(e,o,n){t(e,o,n)&&a.push(e)})),a}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(a(3)),n=a(354),r=s(a(361)),l=s(a(363)),i=a(180);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e}).apply(this,arguments)}function b(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?b(Object(a),!0).forEach((function(t){k(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):b(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function d(e,t){for(var a=0;a<t.length;a++){var o=t[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var y=(0,i.canUseDOM)()&&a(364),v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(v,e);var t,a,s,c,b=(s=v,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(s);if(c){var a=h(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return m(this,e)});function v(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),k(f(t=b.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),k(f(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),k(f(t),"slickNext",(function(){return t.innerSlider.slickNext()})),k(f(t),"slickGoTo",(function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,a)})),k(f(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),k(f(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=v,(a=[{key:"media",value:function(e,t){y.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(a,o){var n;n=0===o?(0,r.default)({minWidth:0,maxWidth:a}):(0,r.default)({minWidth:t[o-1]+1,maxWidth:a}),(0,i.canUseDOM)()&&e.media(n,(function(){e.setState({breakpoint:a})}))}));var a=(0,r.default)({minWidth:t.slice(-1)[0]});(0,i.canUseDOM)()&&this.media(a,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){y.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,a=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===a.state.breakpoint})))[0].settings?"unslick":u(u(u({},l.default),this.props),t[0].settings):u(u({},l.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=o.default.Children.toArray(this.props.children);r=r.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var i=[],s=null,c=0;c<r.length;c+=e.rows*e.slidesPerRow){for(var b=[],d=c;d<c+e.rows*e.slidesPerRow;d+=e.slidesPerRow){for(var g=[],m=d;m<d+e.slidesPerRow&&(e.variableWidth&&r[m].props.style&&(s=r[m].props.style.width),!(m>=r.length));m+=1)g.push(o.default.cloneElement(r[m],{key:100*c+10*d+m,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));b.push(o.default.createElement("div",{key:10*c+d},g))}e.variableWidth?i.push(o.default.createElement("div",{key:c,style:{width:s}},b)):i.push(o.default.createElement("div",{key:c},b))}if("unslick"===e){var f="regular slider "+(this.props.className||"");return o.default.createElement("div",{className:f},r)}return i.length<=e.slidesToShow&&(e.unslick=!0),o.default.createElement(n.InnerSlider,p({style:this.props.style,ref:this.innerSliderRefHandler},e),i)}}])&&d(t.prototype,a),v}(o.default.Component);t.default=v},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var o=u(a(3)),n=u(a(355)),r=u(a(356)),l=u(a(1)),i=a(180),s=a(357),c=a(358),p=a(359),b=u(a(360));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e}).apply(this,arguments)}function m(e,t){if(null==e)return{};var a,o,n=function(e,t){if(null==e)return{};var a,o,n={},r=Object.keys(e);for(o=0;o<r.length;o++)a=r[o],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)a=r[o],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function f(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function h(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?f(Object(a),!0).forEach((function(t){E(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):f(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function k(e,t){for(var a=0;a<t.length;a++){var o=t[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?C(e):t}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(w,e);var t,a,u,f,x=(u=w,f=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O(u);if(f){var a=O(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return v(this,e)});function w(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),E(C(t=x.call(this,e)),"listRefHandler",(function(e){return t.list=e})),E(C(t),"trackRefHandler",(function(e){return t.track=e})),E(C(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,i.getHeight)(e)+"px"}})),E(C(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,i.getOnDemandLazySlides)(h(h({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var a=h({listRef:t.list,trackRef:t.track},t.props);t.updateState(a,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new b.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),E(C(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),E(C(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var a=(0,i.getOnDemandLazySlides)(h(h({},t.props),t.state));a.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(a)}})),t.props.onLazyLoad&&t.props.onLazyLoad(a))}t.adaptHeight();var n=h(h({listRef:t.list,trackRef:t.track},t.props),t.state),r=t.didPropsChange(e);r&&t.updateState(n,r,(function(){t.state.currentSlide>=o.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:o.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),E(C(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,r.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),E(C(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],a=Boolean(t.track&&t.track.node);if(a){var o=h(h({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(o,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),E(C(t),"updateState",(function(e,a,n){var r=(0,i.initializedState)(e);e=h(h(h({},e),r),{},{slideIndex:r.currentSlide});var l=(0,i.getTrackLeft)(e);e=h(h({},e),{},{left:l});var s=(0,i.getTrackCSS)(e);(a||o.default.Children.count(t.props.children)!==o.default.Children.count(e.children))&&(r.trackStyle=s),t.setState(r,n)})),E(C(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,a=0,n=[],r=(0,i.getPreClones)(h(h(h({},t.props),t.state),{},{slideCount:t.props.children.length})),l=(0,i.getPostClones)(h(h(h({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){n.push(t.props.style.width),e+=t.props.style.width}));for(var s=0;s<r;s++)a+=n[n.length-1-s],e+=n[n.length-1-s];for(var c=0;c<l;c++)e+=n[c];for(var p=0;p<t.state.currentSlide;p++)a+=n[p];var b={width:e+"px",left:-a+"px"};if(t.props.centerMode){var u="".concat(n[t.state.currentSlide],"px");b.left="calc(".concat(b.left," + (100% - ").concat(u,") / 2 ) ")}return{trackStyle:b}}var d=o.default.Children.count(t.props.children),g=h(h(h({},t.props),t.state),{},{slideCount:d}),m=(0,i.getPreClones)(g)+(0,i.getPostClones)(g)+d,f=100/t.props.slidesToShow*m,k=100/m,y=-k*((0,i.getPreClones)(g)+t.state.currentSlide)*f/100;return t.props.centerMode&&(y+=(100-k*f/100)/2),{slideWidth:k+"%",trackStyle:{width:f+"%",left:y+"%"}}})),E(C(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],a=e.length,o=0;Array.prototype.forEach.call(e,(function(e){var n=function(){return++o&&o>=a&&t.onWindowResized()};if(e.onclick){var r=e.onclick;e.onclick=function(){r(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=n,e.onerror=function(){n(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),E(C(t),"progressiveLazyLoad",(function(){for(var e=[],a=h(h({},t.props),t.state),o=t.state.currentSlide;o<t.state.slideCount+(0,i.getPostClones)(a);o++)if(t.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}for(var n=t.state.currentSlide-1;n>=-(0,i.getPreClones)(a);n--)if(t.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),E(C(t),"slideHandler",(function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=t.props,n=o.asNavFor,r=o.beforeChange,l=o.onLazyLoad,s=o.speed,c=o.afterChange,p=t.state.currentSlide,b=(0,i.slideHandler)(h(h(h({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!a})),u=b.state,d=b.nextState;if(u){r&&r(p,u.currentSlide);var g=u.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));l&&g.length>0&&l(g),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),c&&c(p),delete t.animationEndCallback),t.setState(u,(function(){n&&t.asNavForIndex!==e&&(t.asNavForIndex=e,n.innerSlider.slideHandler(e)),d&&(t.animationEndCallback=setTimeout((function(){var e=d.animating,a=m(d,["animating"]);t.setState(a,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),c&&c(u.currentSlide),delete t.animationEndCallback}))}),s))}))}})),E(C(t),"changeSlide",(function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=h(h({},t.props),t.state),n=(0,i.changeSlide)(o,e);if((0===n||n)&&(!0===a?t.slideHandler(n,a):t.slideHandler(n),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var r=t.list.querySelectorAll(".slick-current");r[0]&&r[0].focus()}})),E(C(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),E(C(t),"keyHandler",(function(e){var a=(0,i.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==a&&t.changeSlide({message:a})})),E(C(t),"selectHandler",(function(e){t.changeSlide(e)})),E(C(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),E(C(t),"enableBodyScroll",(function(){window.ontouchmove=null})),E(C(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var a=(0,i.swipeStart)(e,t.props.swipe,t.props.draggable);""!==a&&t.setState(a)})),E(C(t),"swipeMove",(function(e){var a=(0,i.swipeMove)(e,h(h(h({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));a&&(a.swiping&&(t.clickable=!1),t.setState(a))})),E(C(t),"swipeEnd",(function(e){var a=(0,i.swipeEnd)(e,h(h(h({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(a){var o=a.triggerSlideHandler;delete a.triggerSlideHandler,t.setState(a),void 0!==o&&(t.slideHandler(o),t.props.verticalSwiping&&t.enableBodyScroll())}})),E(C(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),E(C(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),E(C(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),E(C(t),"slickGoTo",(function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},a)}),0))})),E(C(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,i.canGoNext)(h(h({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),E(C(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var a=t.state.autoplaying;if("update"===e){if("hovered"===a||"focused"===a||"paused"===a)return}else if("leave"===e){if("paused"===a||"focused"===a)return}else if("blur"===e&&("paused"===a||"hovered"===a))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),E(C(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var a=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==a&&"playing"!==a||t.setState({autoplaying:"focused"}):"playing"===a&&t.setState({autoplaying:"hovered"})})),E(C(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),E(C(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),E(C(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),E(C(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),E(C(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),E(C(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),E(C(t),"render",(function(){var e,a,n,r=(0,l.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),b=h(h({},t.props),t.state),u=(0,i.extractObject)(b,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),d=t.props.pauseOnHover;if(u=h(h({},u),{},{onMouseEnter:d?t.onTrackOver:null,onMouseLeave:d?t.onTrackLeave:null,onMouseOver:d?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var m=(0,i.extractObject)(b,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),f=t.props.pauseOnDotsHover;m=h(h({},m),{},{clickHandler:t.changeSlide,onMouseEnter:f?t.onDotsLeave:null,onMouseOver:f?t.onDotsOver:null,onMouseLeave:f?t.onDotsLeave:null}),e=o.default.createElement(c.Dots,m)}var k=(0,i.extractObject)(b,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);k.clickHandler=t.changeSlide,t.props.arrows&&(a=o.default.createElement(p.PrevArrow,k),n=o.default.createElement(p.NextArrow,k));var y=null;t.props.vertical&&(y={height:t.state.listHeight});var v=null;!1===t.props.vertical?!0===t.props.centerMode&&(v={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(v={padding:t.props.centerPadding+" 0px"});var C=h(h({},y),v),O=t.props.touchMove,E={className:"slick-list",style:C,onClick:t.clickHandler,onMouseDown:O?t.swipeStart:null,onMouseMove:t.state.dragging&&O?t.swipeMove:null,onMouseUp:O?t.swipeEnd:null,onMouseLeave:t.state.dragging&&O?t.swipeEnd:null,onTouchStart:O?t.swipeStart:null,onTouchMove:t.state.dragging&&O?t.swipeMove:null,onTouchEnd:O?t.touchEnd:null,onTouchCancel:t.state.dragging&&O?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},x={className:r,dir:"ltr",style:t.props.style};return t.props.unslick&&(E={className:"slick-list"},x={className:r}),o.default.createElement("div",x,t.props.unslick?"":a,o.default.createElement("div",g({ref:t.listRefHandler},E),o.default.createElement(s.Track,g({ref:t.trackRefHandler},u),t.props.children)),t.props.unslick?"":n,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=h(h({},n.default),{},{currentSlide:t.props.initialSlide,slideCount:o.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var a=t.ssrInit();return t.state=h(h({},t.state),a),t}return t=w,(a=[{key:"didPropsChange",value:function(e){for(var t=!1,a=0,n=Object.keys(this.props);a<n.length;a++){var r=n[a];if(!e.hasOwnProperty(r)){t=!0;break}if("object"!==d(e[r])&&"function"!=typeof e[r]&&e[r]!==this.props[r]){t=!0;break}}return t||o.default.Children.count(this.props.children)!==o.default.Children.count(e.children)}}])&&k(t.prototype,a),w}(o.default.Component);t.InnerSlider=x},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},function(e,t,a){(function(t){var a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,r=/^0o[0-7]+$/i,l=parseInt,i="object"==typeof t&&t&&t.Object===Object&&t,s="object"==typeof self&&self&&self.Object===Object&&self,c=i||s||Function("return this")(),p=Object.prototype.toString,b=Math.max,u=Math.min,d=function(){return c.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==p.call(e)}(e))return NaN;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var i=n.test(e);return i||r.test(e)?l(e.slice(2),i?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,a){var o,n,r,l,i,s,c=0,p=!1,f=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function k(t){var a=o,r=n;return o=n=void 0,c=t,l=e.apply(r,a)}function y(e){return c=e,i=setTimeout(C,t),p?k(e):l}function v(e){var a=e-s;return void 0===s||a>=t||a<0||f&&e-c>=r}function C(){var e=d();if(v(e))return O(e);i=setTimeout(C,function(e){var a=t-(e-s);return f?u(a,r-(e-c)):a}(e))}function O(e){return i=void 0,h&&o?k(e):(o=n=void 0,l)}function E(){var e=d(),a=v(e);if(o=arguments,n=this,s=e,a){if(void 0===i)return y(s);if(f)return i=setTimeout(C,t),k(s)}return void 0===i&&(i=setTimeout(C,t)),l}return t=m(t)||0,g(a)&&(p=!!a.leading,r=(f="maxWait"in a)?b(m(a.maxWait)||0,t):r,h="trailing"in a?!!a.trailing:h),E.cancel=function(){void 0!==i&&clearTimeout(i),c=0,o=s=n=i=void 0},E.flush=function(){return void 0===i?l:O(d())},E}}).call(this,a(84))},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var o=l(a(3)),n=l(a(1)),r=a(180);function l(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e}).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var a=0;a<t.length;a++){var o=t[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function f(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?m(Object(a),!0).forEach((function(t){h(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):m(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function h(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var k=function(e){var t,a,o,n,r;return o=(r=e.rtl?e.slideCount-1-e.index:e.index)<0||r>=e.slideCount,e.centerMode?(n=Math.floor(e.slidesToShow/2),a=(r-e.currentSlide)%e.slideCount==0,r>e.currentSlide-n-1&&r<=e.currentSlide+n&&(t=!0)):t=e.currentSlide<=r&&r<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":a,"slick-cloned":o,"slick-current":r===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},y=function(e,t){return e.key||t},v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(v,e);var t,a,l,i,m=(l=v,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(l);if(i){var a=g(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return u(this,e)});function v(){var e;c(this,v);for(var t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return h(d(e=m.call.apply(m,[this].concat(a))),"node",null),h(d(e),"handleRef",(function(t){e.node=t})),e}return t=v,(a=[{key:"render",value:function(){var e=function(e){var t,a=[],l=[],i=[],s=o.default.Children.count(e.children),c=(0,r.lazyStartIndex)(e),p=(0,r.lazyEndIndex)(e);return o.default.Children.forEach(e.children,(function(b,u){var d,g={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};d=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(u)>=0?b:o.default.createElement("div",null);var m=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(f(f({},e),{},{index:u})),h=d.props.className||"",v=k(f(f({},e),{},{index:u}));if(a.push(o.default.cloneElement(d,{key:"original"+y(d,u),"data-index":u,className:(0,n.default)(v,h),tabIndex:"-1","aria-hidden":!v["slick-active"],style:f(f({outline:"none"},d.props.style||{}),m),onClick:function(t){d.props&&d.props.onClick&&d.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(g)}})),e.infinite&&!1===e.fade){var C=s-u;C<=(0,r.getPreClones)(e)&&s!==e.slidesToShow&&((t=-C)>=c&&(d=b),v=k(f(f({},e),{},{index:t})),l.push(o.default.cloneElement(d,{key:"precloned"+y(d,t),"data-index":t,tabIndex:"-1",className:(0,n.default)(v,h),"aria-hidden":!v["slick-active"],style:f(f({},d.props.style||{}),m),onClick:function(t){d.props&&d.props.onClick&&d.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(g)}}))),s!==e.slidesToShow&&((t=s+u)<p&&(d=b),v=k(f(f({},e),{},{index:t})),i.push(o.default.cloneElement(d,{key:"postcloned"+y(d,t),"data-index":t,tabIndex:"-1",className:(0,n.default)(v,h),"aria-hidden":!v["slick-active"],style:f(f({},d.props.style||{}),m),onClick:function(t){d.props&&d.props.onClick&&d.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(g)}})))}})),e.rtl?l.concat(a,i).reverse():l.concat(a,i)}(this.props),t=this.props,a={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return o.default.createElement("div",s({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},a),e)}}])&&p(t.prototype,a),v}(o.default.PureComponent);t.Track=v},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var o=l(a(3)),n=l(a(1)),r=a(180);function l(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function c(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var a=0;a<t.length;a++){var o=t[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(f,e);var t,a,l,i,m=(l=f,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(l);if(i){var a=g(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return d(this,e)});function f(){return p(this,f),m.apply(this,arguments)}return t=f,(a=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,a=t.onMouseEnter,l=t.onMouseOver,i=t.onMouseLeave,p=t.infinite,b=t.slidesToScroll,u=t.slidesToShow,d=t.slideCount,g=t.currentSlide,m=(e={slideCount:d,slidesToScroll:b,slidesToShow:u,infinite:p}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,f={onMouseEnter:a,onMouseOver:l,onMouseLeave:i},h=[],k=0;k<m;k++){var y=(k+1)*b-1,v=p?y:(0,r.clamp)(y,0,d-1),C=v-(b-1),O=p?C:(0,r.clamp)(C,0,d-1),E=(0,n.default)({"slick-active":p?g>=O&&g<=v:g===O}),x={message:"dots",index:k,slidesToScroll:b,currentSlide:g},w=this.clickHandler.bind(this,x);h=h.concat(o.default.createElement("li",{key:k,className:E},o.default.cloneElement(this.props.customPaging(k),{onClick:w})))}return o.default.cloneElement(this.props.appendDots(h),function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){c(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({className:this.props.dotsClass},f))}}])&&b(t.prototype,a),f}(o.default.PureComponent);t.Dots=m},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextArrow=t.PrevArrow=void 0;var o=l(a(3)),n=l(a(1)),r=a(180);function l(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e}).apply(this,arguments)}function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function p(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){b(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function b(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var a=0;a<t.length;a++){var o=t[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g(e,t,a){return t&&d(e.prototype,t),a&&d(e,a),e}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");var a,o;e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(a=e,o=t,(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(a,o))}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,o=k(e);if(t){var n=k(this).constructor;a=Reflect.construct(o,arguments,n)}else a=o.apply(this,arguments);return h(this,a)}}function h(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=function(e){m(a,e);var t=f(a);function a(){return u(this,a),t.apply(this,arguments)}return g(a,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var a={key:"0","data-role":"none",className:(0,n.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?o.default.cloneElement(this.props.prevArrow,p(p({},a),r)):o.default.createElement("button",s({key:"0",type:"button"},a)," ","Previous")}}]),a}(o.default.PureComponent);t.PrevArrow=y;var v=function(e){m(a,e);var t=f(a);function a(){return u(this,a),t.apply(this,arguments)}return g(a,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,r.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var a={key:"1","data-role":"none",className:(0,n.default)(e),style:{display:"block"},onClick:t},l={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?o.default.cloneElement(this.props.nextArrow,p(p({},a),l)):o.default.createElement("button",s({key:"1",type:"button"},a)," ","Next")}}]),a}(o.default.PureComponent);t.NextArrow=v},function(e,t,a){"use strict";a.r(t),function(e){var a=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var a=-1;return e.some((function(e,o){return e[0]===t&&(a=o,!0)})),a}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var a=e(this.__entries__,t),o=this.__entries__[a];return o&&o[1]},t.prototype.set=function(t,a){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=a:this.__entries__.push([t,a])},t.prototype.delete=function(t){var a=this.__entries__,o=e(a,t);~o&&a.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var a=0,o=this.__entries__;a<o.length;a++){var n=o[a];e.call(t,n[1],n[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,n=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),r="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(n):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},l=["top","right","bottom","left","width","height","size","weight"],i="undefined"!=typeof MutationObserver,s=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var a=!1,o=!1,n=0;function l(){a&&(a=!1,e()),o&&s()}function i(){r(l)}function s(){var e=Date.now();if(a){if(e-n<2)return;o=!0}else a=!0,o=!1,setTimeout(i,20);n=e}return s}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,a=t.indexOf(e);~a&&t.splice(a,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),i?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,a=void 0===t?"":t;l.some((function(e){return!!~a.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),c=function(e,t){for(var a=0,o=Object.keys(t);a<o.length;a++){var n=o[a];Object.defineProperty(e,n,{value:t[n],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||n},b=f(0,0,0,0);function u(e){return parseFloat(e)||0}function d(e){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];return t.reduce((function(t,a){return t+u(e["border-"+a+"-width"])}),0)}var g="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function m(e){return o?g(e)?function(e){var t=e.getBBox();return f(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,a=e.clientHeight;if(!t&&!a)return b;var o=p(e).getComputedStyle(e),n=function(e){for(var t={},a=0,o=["top","right","bottom","left"];a<o.length;a++){var n=o[a],r=e["padding-"+n];t[n]=u(r)}return t}(o),r=n.left+n.right,l=n.top+n.bottom,i=u(o.width),s=u(o.height);if("border-box"===o.boxSizing&&(Math.round(i+r)!==t&&(i-=d(o,"left","right")+r),Math.round(s+l)!==a&&(s-=d(o,"top","bottom")+l)),!function(e){return e===p(e).document.documentElement}(e)){var c=Math.round(i+r)-t,g=Math.round(s+l)-a;1!==Math.abs(c)&&(i-=c),1!==Math.abs(g)&&(s-=g)}return f(n.left,n.top,i,s)}(e):b}function f(e,t,a,o){return{x:e,y:t,width:a,height:o}}var h=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=f(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=m(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(e,t){var a,o,n,r,l,i,s,p=(o=(a=t).x,n=a.y,r=a.width,l=a.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(i.prototype),c(s,{x:o,y:n,width:r,height:l,top:n,right:o+r,bottom:l+n,left:o}),s);c(this,{target:e,contentRect:p})},y=function(){function e(e,t,o){if(this.activeObservations_=[],this.observations_=new a,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=o}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new h(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),v="undefined"!=typeof WeakMap?new WeakMap:new a,C=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var a=s.getInstance(),o=new y(t,a,this);v.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){C.prototype[e]=function(){var t;return(t=v.get(this))[e].apply(t,arguments)}}));var O=void 0!==n.ResizeObserver?n.ResizeObserver:C;t.default=O}.call(this,a(84))},function(e,t,a){var o=a(362),n=function(e){var t="",a=Object.keys(e);return a.forEach((function(n,r){var l=e[n];(function(e){return/[height|width]$/.test(e)})(n=o(n))&&"number"==typeof l&&(l+="px"),t+=!0===l?n:!1===l?"not "+n:"("+n+": "+l+")",r<a.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(a,o){t+=n(a),o<e.length-1&&(t+=", ")})),t):n(e)}},function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,n=(o=a(3))&&o.__esModule?o:{default:o},r={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return n.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return n.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=r},function(e,t,a){var o=a(365);e.exports=new o},function(e,t,a){var o=a(366),n=a(263),r=n.each,l=n.isFunction,i=n.isArray;function s(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}s.prototype={constructor:s,register:function(e,t,a){var n=this.queries,s=a&&this.browserIsIncapable;return n[e]||(n[e]=new o(e,s)),l(t)&&(t={match:t}),i(t)||(t=[t]),r(t,(function(t){l(t)&&(t={match:t}),n[e].addHandler(t)})),this},unregister:function(e,t){var a=this.queries[e];return a&&(t?a.removeHandler(t):(a.clear(),delete this.queries[e])),this}},e.exports=s},function(e,t,a){var o=a(367),n=a(263).each;function r(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var a=this;this.listener=function(e){a.mql=e.currentTarget||e,a.assess()},this.mql.addListener(this.listener)}r.prototype={constuctor:r,addHandler:function(e){var t=new o(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;n(t,(function(a,o){if(a.equals(e))return a.destroy(),!t.splice(o,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){n(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";n(this.handlers,(function(t){t[e]()}))}},e.exports=r},function(e,t){function a(e){this.options=e,!e.deferSetup&&this.setup()}a.prototype={constructor:a,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=a},function(e,t,a){var o=a(264),n=a(212);e.exports=function(e,t){return o(e,t,(function(t,a){return n(e,a)}))}},function(e,t,a){var o=a(36),n=a(25),r=a(42),l=a(9),i=a(26);e.exports=function(e,t,a,s){if(!l(e))return e;for(var c=-1,p=(t=n(t,e)).length,b=p-1,u=e;null!=u&&++c<p;){var d=i(t[c]),g=a;if("__proto__"===d||"constructor"===d||"prototype"===d)return e;if(c!=b){var m=u[d];void 0===(g=s?s(m,d,u):void 0)&&(g=l(m)?m:r(t[c+1])?[]:{})}o(u,d,g),u=u[d]}return e}},function(e,t,a){var o=a(94);e.exports=function(e){return e?(e=o(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){var o=a(50);e.exports=function(e){return"function"==typeof e?e:o}},,,,,,,,,,,,function(e,t,a){"use strict";a.r(t),a(303),a(304);var o=a(0),n=a(214),r=a.n(n);const l=wp.element.createElement,i=l("svg",{width:20,height:20},l("path",{fill:"#474745",d:"M0.1,10.7C-0.2,7.4,1.4,3,5.8,1C9.7-0.9,14.5,0.1,17,2.8c-0.4,0-0.8-0.1-1.2-0.1 c-1.5,0-2.7,1.1-3,2.6c0,0.2,0,0.4,0,0.6c0,3.2,0,6.4,0,9.5c0,1.1,0,2.3,0,3.4c0,0.6-0.3,1-0.8,1.1c-0.6,0.2-1.2-0.2-1.3-0.9 c0-0.1,0-0.2,0-0.2c0-1.4,0-2.8,0-4.2c0-0.7,0-1.5-0.1-2.2c-0.3-2.2-2.1-4-4.3-4.5C4,7.4,1.8,8.3,0.5,10.3 C0.4,10.4,0.3,10.5,0.1,10.7z"}),l("path",{fill:"#474745",d:"M14.5,18.9c0-0.7,0-1.3,0-1.9c0-1.1,0-2.3,0-3.4c0-0.2,0.1-0.3,0.3-0.3c0.7,0,1.4,0,2,0 c0.6,0,1-0.4,1-0.9c0-0.6-0.4-1-1-1c-0.7,0-1.4,0-2,0c-0.3,0-0.4-0.1-0.4-0.3c0-1.7,0-3.5,0-5.2c0-0.7,0.3-1.1,0.9-1.3 c0.5-0.1,1.1,0.2,1.2,0.7c0.1,0.2,0.1,0.4,0.1,0.6c0.1,0.6,0.5,0.9,1.1,0.9c0.6,0,1-0.5,0.9-1.2c0,0,0-0.1,0-0.2 c1.2,1.7,1.6,4.7,0.8,7.5C18.7,15.6,17.1,17.6,14.5,18.9z"}),l("path",{fill:"#474745",d:"M8.9,13.5c0,2.1-1.7,3.7-3.7,3.7s-3.7-1.7-3.7-3.8c0-2.1,1.7-3.7,3.8-3.7 C7.2,9.7,8.9,11.3,8.9,13.5z"}),l("path",{fill:"#474745",d:"M5.8,19.1c1.1-0.2,2.1-0.6,3-1.3C8.9,18.5,8.9,19.3,9,20C7.9,19.9,6.8,19.6,5.8,19.1z"}));wp.blocks.updateCategory("blockspare",{icon:i}),r()(()=>{const e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(o.render)(Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"blockspare-icon-gradient",height:"0",width:"0",style:{opacity:0}},Object(o.createElement)("defs",null,Object(o.createElement)("linearGradient",{id:"blockspare-gradient",x1:"0",y2:"1"},Object(o.createElement)("stop",{offset:"0%",stopColor:"#8B249C",stopOpacity:"1"}),Object(o.createElement)("stop",{offset:"50%",stopColor:"#8B249C",stopOpacity:"1"}),Object(o.createElement)("stop",{offset:"100%",stopColor:"#3B1A5B",stopOpacity:"1"})))),e)});var s=a(2);const{getCategories:c,setCategories:p}=wp.blocks,{__:__}=wp.i18n;p([{icon:s.a.category,slug:"blockspare",title:__("Blockspare","blockspare")},...c().filter(e=>{let{slug:t}=e;return"blockspare"!==t})]);var b=a(3),u=a.n(b);const{addFilter:d}=wp.hooks,{createHigherOrderComponent:g}=wp.compose,m=["blockspare/blockspare-shape-divider"],f=g(e=>t=>{const{name:a}=t;if(m.includes(a)&&(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 Object(o.createElement)(e,t)},"withAttributes");d("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})),d("editor.BlockEdit","blockspare/attributes",f);var h=a(266),k=a(1),y=a.n(k),v=a(5),C=a.n(v),O=a(7),E=a.n(O);const{sprintf:x}=wp.i18n,w=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const a=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?a.replace(/\s?\!important/g,"").replace(/([;\}])/g," !important$1").replace(/\} !important\}/g,"}}").trim():a},S=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return e.trim().replace(/[\n\s\t]+/g," ").split(",").map(e=>{let n="";return n=a&&t?a&&!t?`.${a} ${e.trim()}`:`.${a} ${e.trim()}`.replace(new RegExp(`(.${a}) (.${t}(#|:|\\[|\\.|\\s|$))`,"g"),"$1$2"):e,o?`${o} ${n}`:n}).join(", ")};var T=a(38),j=a.n(T),F=a(267),M=a.n(F);const B=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Object.keys(e).reduce((n,r)=>({...n,[S(r,t,a,o?"#editor":"")]:e[r]}),{})},L=e=>w(Object.keys(e).reduce((t,a)=>{const o=Object.keys(e[a]).reduce((t,o)=>{const n=e[a][o];return void 0===n?t:`${t}\n\t${o.replace(/^(--?)?(.*?$)/,(e,t,a)=>`${t||""}${M()(a)}`)}: ${n};`},"");return`${t}\n\n${a} {${o}\n}`},"").trim());var z=e=>{const{style:t={},editorMode:a=!1,blockUniqueClassName:n="",blockMainClassName:r="",breakTablet:l=1025,breakMobile:i=768}=e,s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1025,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:768,r=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const l=[],i=_.omit(e,["tablet","mobile","editor"]);if(Object.keys(i).length){const e=B(i,t,a,r);l.push(L(e))}if(void 0!==e.tablet){const n=B(e.tablet,t,a,r),i=L(n);i&&l.push(`\n@media screen and (max-width: ${o}px) {\n${i} }`)}if(void 0!==e.mobile){const o=B(e.mobile,t,a,r),i=L(o);i&&l.push(`\n@media screen and (max-width: ${n}px) {\n${i} }`)}if(r&&void 0!==e.editor){const o=B(e.editor,t,a,r);l.push(L(o))}return w(l.join(""))}(t,r,n,l,i,a);return s?Object(o.createElement)("style",null,s):null},N=a(13),P=a.n(N);const{applyFilters:D}=wp.hooks,{Component:R}=wp.element,{createHigherOrderComponent:A}=wp.compose;var I=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return A(a=>{var n;return n=class extends R{render(){const n=y()([this.props.className,this.props.attributes.uniqueClass]),{blockName:r}=this.props,l=D(`blockspare.${r}.styles`,e(this.props),this.props),i=Object(o.createElement)(z,{blockUniqueClassName:this.props.attributes.uniqueClass,blockMainClassName:this.props.className,style:l,editorMode:t.editorMode||!1});return Object(o.createElement)(a,C()({},this.props,{className:n,styles:i}))}},E()(n,"propTypes",{attributes:P.a.shape({uniqueClass:P.a.string.isRequired}),blockName:P.a.string.isRequired,mainClassName:P.a.string.isRequired}),E()(n,"defaultProps",{attributes:{},blockName:"",className:"",mainClassName:""}),n},"withBlockStyles")};const{Component:H}=wp.element,{createHigherOrderComponent:G}=wp.compose;var W=G(e=>{var t;return t=class extends H{componentDidMount(){const{attributes:e,setAttributes:t,clientId:a}=this.props,o="blockspare-"+a.substring(0,15);void 0!==e.uniqueClass&&e.uniqueClass===o||t({uniqueClass:o})}render(){return Object(o.createElement)(e,this.props)}},E()(t,"defaultProps",{attributes:{},clientId:"",setAttributes:()=>{}}),t},"withUniqueClass"),U=["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{__:q}=wp.i18n,{Component:V,Fragment:$}=wp.element;var X=class extends V{constructor(e){super(e),this.state={isOpen:!1,filterText:"",showIcons:!1}}render(){const{value:e,disableToggle:t,colorSettings:a,iconColor:n,onColorChange:r}=this.props,{filterText:l}=this.state;var i=[];return l.length>2?U.forEach(e=>{e.includes(l)&&i.push(e)}):i=U,Object(o.createElement)("div",{className:"blockspare-field blockspare-field-icon-list "+(t?"":"blockspare-toggle-enabled")},this.props.label&&Object(o.createElement)($,null,t?Object(o.createElement)("label",null,this.props.label):Object(o.createElement)(Toggle,{label:this.props.label,className:"blockspare-icon-list-toggle",value:!!this.props.value,onChange:()=>this.props.onChange(this.props.value?"":" ")})),a&&Object(o.createElement)(Color,{label:q(" Color"),value:n||"#ccc",onChange:e=>r(e)}),(t||""!=this.props.value)&&Object(o.createElement)("div",{className:"blockspare-icon-list-wrapper"},Object(o.createElement)("input",{type:"text",value:this.state.filterText,placeholder:"Search...",onChange:e=>this.setState({filterText:e.target.value}),autoComplete:"off"}),Object(o.createElement)("div",{className:"blockspare-icon-list-icons"},i.map(t=>Object(o.createElement)("span",{className:e==t?"blockspare-active":"",onClick:e=>{this.props.onChange(t)}},Object(o.createElement)("span",{className:t}))))))}};const{__:Y}=wp.i18n,{Fragment:J}=wp.element;function K(e){const{label:t="",name:a,onChangeName:n=(()=>{})}=e;return Object(o.createElement)(J,null,Object(o.createElement)("p",{className:"blockspare-inner-panel"},t),Object(o.createElement)(X,{value:a,onChange:n}))}var Z=a(83);const{__:Q}=wp.i18n,{Component:ee,Fragment:te}=wp.element,{PanelBody:ae,SelectControl:oe}=wp.components;var ne=class extends ee{constructor(){super(...arguments)}render(){const{attributes:{animation:e},selected:t,setAttributes:a}=this.props,n=[{value:"AFTfadeIn",label:Q("Fade in","blockspare")},{value:"AFTfadeInDown",label:Q("Fade in down","blockspare")},{value:"AFTfadeInLeft",label:Q("Fade in left","blockspare")},{value:"AFTfadeInRight",label:Q("Fade in right","blockspare")},{value:"AFTfadeInUp",label:Q("Fade in up","blockspare")},{value:"AFTzoomIn",label:Q("Zoom in","blockspare")},{value:"AFTslideInLeft",label:Q("Slide in from left","blockspare")},{value:"AFTslideInRight",label:Q("Slide in from right","blockspare")},{value:"AFTslideInBottom",label:Q("Slide in from bottom","blockspare")},{value:"AFTclipHorizontal",label:Q("Clip horizontally","blockspare")}],r={value:"",label:Q("Select Animation","blockspare")};return n.unshift(r),Object(o.createElement)(te,null,Object(o.createElement)(oe,{label:Q("Animation ","blockspare"),options:n,value:e,onChange:e=>a({animation:e})}))}};const{__:re}=wp.i18n,{Component:le,Fragment:ie}=wp.element,{SelectControl:se}=wp.components;var ce=class extends le{render(){const{attributes:{blockHoverEffect:e},setAttributes:t}=this.props,a=[{value:"",label:re("None","blockspare")},{value:"bs-hover-style-1",label:re("Shadow","blockspare")},{value:"bs-hover-style-2",label:re("Grow","blockspare")},{value:"bs-hover-style-3",label:re("Shrink","blockspare")},{value:"bs-hover-style-4",label:re("Pulse","blockspare")},{value:"bs-hover-style-5",label:re("Pulse Grow","blockspare")},{value:"bs-hover-style-6",label:re("Pulse Shrink","blockspare")},{value:"bs-hover-style-7",label:re("Push","blockspare")},{value:"bs-hover-style-8",label:re("Pop","blockspare")},{value:"bs-hover-style-9",label:re("Bounce In","blockspare")},{value:"bs-hover-style-10",label:re("Bounce Out","blockspare")}];return Object(o.createElement)(ie,null,Object(o.createElement)(se,{label:re("Block Hover Style","blockspare"),options:a,value:e,onChange:e=>t({blockHoverEffect:e})}))}},pe={ABeeZee:{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},Abel:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Abhaya Libre":{v:["regular","500","600","700","800"],subset:["latin-ext","sinhala","latin"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Abril Fatface":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Aclonica:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Acme:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Actor:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Adamina:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Advent Pro":{v:["100","200","300","regular","500","600","700"],subset:["latin-ext","greek","latin"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"Aguafina Script":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Akronim:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Aladin:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Aldrich:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Alef:{v:["regular","700"],subset:["hebrew","latin"],weight:["Default","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:["Default","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:["Default","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:["Default","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:["Default","100","300","400","500","700","800","900"],i:["normal","italic"]},"Alex Brush":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Alfa Slab One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Alice:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin"],weight:["Default","400"],i:["normal"]},Alike:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Alike Angular":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Allan:{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},Allerta:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Allerta Stencil":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Allura:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Almendra:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},"Almendra Display":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Almendra SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Amarante:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Amaranth:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},"Amatic SC":{v:["regular","700"],subset:["cyrillic","latin-ext","hebrew","vietnamese","latin"],weight:["Default","400","700"],i:["normal"]},Amethysta:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Amiko:{v:["regular","600","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","600","700"],i:["normal"]},Amiri:{v:["regular","italic","700","700italic"],subset:["latin-ext","arabic","latin"],weight:["Default","400","700"],i:["normal","italic"]},Amita:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","700"],i:["normal"]},Anaheim:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Andada:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Andika:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Angkor:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},"Annie Use Your Telescope":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Anonymous Pro":{v:["regular","italic","700","700italic"],subset:["cyrillic","latin-ext","greek","latin"],weight:["Default","400","700"],i:["normal","italic"]},Antic:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Antic Didone":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Antic Slab":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Anton:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Arapey:{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},Arbutus:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Arbutus Slab":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Architects Daughter":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Archivo:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400","500","600","700"],i:["normal","italic"]},"Archivo Black":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Archivo Narrow":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","latin"],weight:["Default","400","500","600","700"],i:["normal","italic"]},"Aref Ruqaa":{v:["regular","700"],subset:["arabic","latin"],weight:["Default","400","700"],i:["normal"]},"Arima Madurai":{v:["100","200","300","regular","500","700","800","900"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["Default","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:["Default","400","700"],i:["normal","italic"]},Arizonia:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Armata:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Arsenal:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["Default","400","700"],i:["normal","italic"]},Artifika:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Arvo:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},Arya:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","700"],i:["normal"]},Asap:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400","500","600","700"],i:["normal","italic"]},"Asap Condensed":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400","500","600","700"],i:["normal","italic"]},Asar:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["Default","400"],i:["normal"]},Asset:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Assistant:{v:["200","300","regular","600","700","800"],subset:["hebrew","latin"],weight:["Default","200","300","400","600","700","800"],i:["normal"]},Astloch:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Asul:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Athiti:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["Default","200","300","400","500","600","700"],i:["normal"]},Atma:{v:["300","regular","500","600","700"],subset:["latin-ext","bengali","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Atomic Age":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Aubrey:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Audiowide:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Autour One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Average:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Average Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Averia Gruesa Libre":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Averia Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["Default","300","400","700"],i:["normal","italic"]},"Averia Sans Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["Default","300","400","700"],i:["normal","italic"]},"Averia Serif Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["Default","300","400","700"],i:["normal","italic"]},"Bad Script":{v:["regular"],subset:["cyrillic","latin"],weight:["Default","400"],i:["normal"]},Bahiana:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Baloo:{v:["regular"],subset:["latin-ext","devanagari","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Baloo Bhai":{v:["regular"],subset:["latin-ext","gujarati","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Baloo Bhaijaan":{v:["regular"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Baloo Bhaina":{v:["regular"],subset:["latin-ext","oriya","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Baloo Chettan":{v:["regular"],subset:["malayalam","latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Baloo Da":{v:["regular"],subset:["latin-ext","vietnamese","bengali","latin"],weight:["Default","400"],i:["normal"]},"Baloo Paaji":{v:["regular"],subset:["latin-ext","gurmukhi","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Baloo Tamma":{v:["regular"],subset:["latin-ext","vietnamese","latin","kannada"],weight:["Default","400"],i:["normal"]},"Baloo Tammudu":{v:["regular"],subset:["latin-ext","telugu","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Baloo Thambi":{v:["regular"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Balthazar:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Bangers:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","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:["Default","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:["Default","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:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Barrio:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Basic:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Battambang:{v:["regular","700"],subset:["khmer"],weight:["Default","400","700"],i:["normal"]},Baumans:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Bayon:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},Belgrano:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Bellefair:{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["Default","400"],i:["normal"]},Belleza:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},BenchNine:{v:["300","regular","700"],subset:["latin-ext","latin"],weight:["Default","300","400","700"],i:["normal"]},Bentham:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Berkshire Swash":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Bevan:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Bigelow Rules":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Bigshot One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Bilbo:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Bilbo Swash Caps":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},BioRhyme:{v:["200","300","regular","700","800"],subset:["latin-ext","latin"],weight:["Default","200","300","400","700","800"],i:["normal"]},"BioRhyme Expanded":{v:["200","300","regular","700","800"],subset:["latin-ext","latin"],weight:["Default","200","300","400","700","800"],i:["normal"]},Biryani:{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["Default","200","300","400","600","700","800","900"],i:["normal"]},Bitter:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},"Black And White Picture":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Black Han Sans":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Black Ops One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Bokor:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},Bonbon:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Boogaloo:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Bowlby One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Bowlby One SC":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Brawler:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Bree Serif":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Bubblegum Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Bubbler One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Buda:{v:["300"],subset:["latin"],weight:["Default","300"],i:[]},Buenard:{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},Bungee:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Bungee Hairline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Bungee Inline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Bungee Outline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Bungee Shade":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Butcherman:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Butterfly Kids":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Cabin:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400","500","600","700"],i:["normal","italic"]},"Cabin Condensed":{v:["regular","500","600","700"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400","500","600","700"],i:["normal"]},"Cabin Sketch":{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},"Caesar Dressing":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Cagliostro:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Cairo:{v:["200","300","regular","600","700","900"],subset:["latin-ext","arabic","latin"],weight:["Default","200","300","400","600","700","900"],i:["normal"]},Calligraffitti:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Cambay:{v:["regular","italic","700","700italic"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","700"],i:["normal","italic"]},Cambo:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Candal:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Cantarell:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},"Cantata One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Cantora One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Capriola:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Cardo:{v:["regular","italic","700"],subset:["greek-ext","latin-ext","greek","latin"],weight:["Default","400","700"],i:["normal","italic"]},Carme:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Carrois Gothic":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Carrois Gothic SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Carter One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Catamaran:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","tamil","latin"],weight:["Default","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:["Default","400","700"],i:["normal","italic"]},Caveat:{v:["regular","700"],subset:["cyrillic","latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},"Caveat Brush":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Cedarville Cursive":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Ceviche One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Changa:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","arabic","latin"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},"Changa One":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},Chango:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Chathura:{v:["100","300","regular","700","800"],subset:["telugu","latin"],weight:["Default","100","300","400","700","800"],i:["normal"]},"Chau Philomene One":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal","italic"]},"Chela One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Chelsea Market":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Chenla:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},"Cherry Cream Soda":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Cherry Swash":{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},Chewy:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Chicle:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Chivo:{v:["300","300italic","regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["Default","300","400","700","900"],i:["normal","italic"]},Chonburi:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Cinzel:{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["Default","400","700","900"],i:["normal"]},"Cinzel Decorative":{v:["regular","700","900"],subset:["latin"],weight:["Default","400","700","900"],i:["normal"]},"Clicker Script":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Coda:{v:["regular","800"],subset:["latin-ext","latin"],weight:["Default","400","800"],i:["normal"]},"Coda Caption":{v:["800"],subset:["latin-ext","latin"],weight:["Default","800"],i:[]},Codystar:{v:["300","regular"],subset:["latin-ext","latin"],weight:["Default","300","400"],i:["normal"]},Coiny:{v:["regular"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Combo:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Comfortaa:{v:["300","regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["Default","300","400","700"],i:["normal"]},"Coming Soon":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Concert One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Condiment:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Content:{v:["regular","700"],subset:["khmer"],weight:["Default","400","700"],i:["normal"]},"Contrail One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Convergence:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Cookie:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Copse:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Corben:{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","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:["Default","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:["Default","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:["Default","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:["Default","300","400","500","600","700"],i:["normal"]},"Cormorant Unicase":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Cormorant Upright":{v:["300","regular","500","600","700"],subset:["latin-ext","vietnamese","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},Courgette:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Cousine:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["Default","400","700"],i:["normal","italic"]},Coustard:{v:["regular","900"],subset:["latin"],weight:["Default","400","900"],i:["normal"]},"Covered By Your Grace":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Crafty Girls":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Creepster:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Crete Round":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal","italic"]},"Crimson Text":{v:["regular","italic","600","600italic","700","700italic"],subset:["latin"],weight:["Default","400","600","700"],i:["normal","italic"]},"Croissant One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Crushed:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Cuprum:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["Default","400","700"],i:["normal","italic"]},"Cute Font":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Cutive:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Cutive Mono":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Damion:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Dancing Script":{v:["regular","700"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400","700"],i:["normal"]},Dangrek:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},"David Libre":{v:["regular","500","700"],subset:["latin-ext","hebrew","vietnamese","latin"],weight:["Default","400","500","700"],i:["normal"]},"Dawning of a New Day":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Days One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Dekko:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["Default","400"],i:["normal"]},Delius:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Delius Swash Caps":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Delius Unicase":{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},"Della Respira":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Denk One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Devonshire:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Dhurjati:{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},"Didact Gothic":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["Default","400"],i:["normal"]},Diplomata:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Diplomata SC":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Do Hyeon":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Dokdo:{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Domine:{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},"Donegal One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Doppio One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Dorsa:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Dosis:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","latin"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},"Dr Sugiyama":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Duru Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Dynalight:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","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:["Default","400","500","600","700","800"],i:["normal","italic"]},"Eagle Lake":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"East Sea Dokdo":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Eater:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Economica:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},Eczar:{v:["regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","500","600","700","800"],i:["normal"]},"El Messiri":{v:["regular","500","600","700"],subset:["cyrillic","arabic","latin"],weight:["Default","400","500","600","700"],i:["normal"]},Electrolize:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Elsie:{v:["regular","900"],subset:["latin-ext","latin"],weight:["Default","400","900"],i:["normal"]},"Elsie Swash Caps":{v:["regular","900"],subset:["latin-ext","latin"],weight:["Default","400","900"],i:["normal"]},"Emblema One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Emilys Candy":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Encode Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["Default","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:["Default","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:["Default","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:["Default","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:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},Engagement:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Englebert:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Enriqueta:{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},"Erica One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Esteban:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Euphoria Script":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Ewert:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","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:["Default","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:["Default","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:["Default","400","500","600","700"],i:["normal","italic"]},"Fanwood Text":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},Farsan:{v:["regular"],subset:["latin-ext","gujarati","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Fascinate:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Fascinate Inline":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Faster One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Fasthand:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},"Fauna One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Faustina:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400","500","600","700"],i:["normal","italic"]},Federant:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Federo:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Felipa:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Fenix:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Finger Paint":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Fira Mono":{v:["regular","500","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["Default","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:["Default","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:["Default","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:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fjalla One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Fjord One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Flamenco:{v:["300","regular"],subset:["latin"],weight:["Default","300","400"],i:["normal"]},Flavors:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Fondamento:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal","italic"]},"Fontdiner Swanky":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Forum:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Francois One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Frank Ruhl Libre":{v:["300","regular","500","700","900"],subset:["latin-ext","hebrew","latin"],weight:["Default","300","400","500","700","900"],i:["normal"]},"Freckle Face":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Fredericka the Great":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Fredoka One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Freehand:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},Fresca:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Frijole:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Fruktur:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Fugaz One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"GFS Didot":{v:["regular"],subset:["greek"],weight:["Default","400"],i:["normal"]},"GFS Neohellenic":{v:["regular","italic","700","700italic"],subset:["greek"],weight:["Default","400","700"],i:["normal","italic"]},Gabriela:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin"],weight:["Default","400"],i:["normal"]},Gaegu:{v:["300","regular","700"],subset:["korean","latin"],weight:["Default","300","400","700"],i:["normal"]},Gafata:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Galada:{v:["regular"],subset:["bengali","latin"],weight:["Default","400"],i:["normal"]},Galdeano:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Galindo:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Gamja Flower":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Gentium Basic":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},"Gentium Book Basic":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},Geo:{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},Geostar:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Geostar Fill":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Germania One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Gidugu:{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},"Gilda Display":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Give You Glory":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Glass Antiqua":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Glegoo:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","700"],i:["normal"]},"Gloria Hallelujah":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Goblin One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Gochi Hand":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Gorditas:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},"Gothic A1":{v:["100","200","300","regular","500","600","700","800","900"],subset:["korean","latin"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Goudy Bookletter 1911":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Graduate:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Grand Hotel":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Gravitas One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Great Vibes":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Griffy:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Gruppo:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Gudea:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},Gugi:{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Gurajada:{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},Habibi:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Halant:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Hammersmith One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Hanalei:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Hanalei Fill":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Handlee:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Hanuman:{v:["regular","700"],subset:["khmer"],weight:["Default","400","700"],i:["normal"]},"Happy Monkey":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Harmattan:{v:["regular"],subset:["arabic","latin"],weight:["Default","400"],i:["normal"]},"Headland One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Heebo:{v:["100","300","regular","500","700","800","900"],subset:["hebrew","latin"],weight:["Default","100","300","400","500","700","800","900"],i:["normal"]},"Henny Penny":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Herr Von Muellerhoff":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Hi Melody":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Hind:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Hind Guntur":{v:["300","regular","500","600","700"],subset:["latin-ext","telugu","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Hind Madurai":{v:["300","regular","500","600","700"],subset:["latin-ext","tamil","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Hind Siliguri":{v:["300","regular","500","600","700"],subset:["latin-ext","bengali","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Hind Vadodara":{v:["300","regular","500","600","700"],subset:["latin-ext","gujarati","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Holtwood One SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Homemade Apple":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Homenaje:{v:["regular"],subset:["latin"],weight:["Default","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:["Default","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:["Default","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:["Default","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:["Default","100","200","300","400","500","600","700"],i:["normal","italic"]},"IM Fell DW Pica":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},"IM Fell DW Pica SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"IM Fell Double Pica":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},"IM Fell Double Pica SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"IM Fell English":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},"IM Fell English SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"IM Fell French Canon":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},"IM Fell French Canon SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"IM Fell Great Primer":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},"IM Fell Great Primer SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Iceberg:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Iceland:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Imprima:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Inconsolata:{v:["regular","700"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400","700"],i:["normal"]},Inder:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Indie Flower":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Inika:{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},"Inknut Antiqua":{v:["300","regular","500","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["Default","300","400","500","600","700","800","900"],i:["normal"]},"Irish Grover":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Istok Web":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},Italiana:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Italianno:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Itim:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Jacques Francois":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Jacques Francois Shadow":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Jaldi:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","700"],i:["normal"]},"Jim Nightshade":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Jockey One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Jolly Lodger":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Jomhuria:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["Default","400"],i:["normal"]},"Josefin Sans":{v:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["Default","100","300","400","600","700"],i:["normal","italic"]},"Josefin Slab":{v:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],subset:["latin"],weight:["Default","100","300","400","600","700"],i:["normal","italic"]},"Joti One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Jua:{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Judson:{v:["regular","italic","700"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400","700"],i:["normal","italic"]},Julee:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Julius Sans One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Junge:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Jura:{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Just Another Hand":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Just Me Again Down Here":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Kadwa:{v:["regular","700"],subset:["devanagari","latin"],weight:["Default","400","700"],i:["normal"]},Kalam:{v:["300","regular","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","300","400","700"],i:["normal"]},Kameron:{v:["regular","700"],subset:["latin"],weight:["Default","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:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Kantumruy:{v:["300","regular","700"],subset:["khmer"],weight:["Default","300","400","700"],i:["normal"]},Karla:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},Karma:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},Katibeh:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["Default","400"],i:["normal"]},"Kaushan Script":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Kavivanar:{v:["regular"],subset:["latin-ext","tamil","latin"],weight:["Default","400"],i:["normal"]},Kavoon:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Kdam Thmor":{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},"Keania One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Kelly Slab":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["Default","400"],i:["normal"]},Kenia:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Khand:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},Khmer:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},Khula:{v:["300","regular","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["Default","300","400","600","700","800"],i:["normal"]},"Kirang Haerang":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Kite One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Knewave:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Kosugi:{v:["regular"],subset:["cyrillic","japanese","latin"],weight:["Default","400"],i:["normal"]},"Kosugi Maru":{v:["regular"],subset:["cyrillic","japanese","latin"],weight:["Default","400"],i:["normal"]},"Kotta One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Koulen:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},Kranky:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Kreon:{v:["300","regular","700"],subset:["latin"],weight:["Default","300","400","700"],i:["normal"]},Kristi:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Krona One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Kumar One":{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["Default","400"],i:["normal"]},"Kumar One Outline":{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["Default","400"],i:["normal"]},Kurale:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","devanagari","latin"],weight:["Default","400"],i:["normal"]},"La Belle Aurore":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Laila:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Lakki Reddy":{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},Lalezar:{v:["regular"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Lancelot:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Lateef:{v:["regular"],subset:["arabic","latin"],weight:["Default","400"],i:["normal"]},Lato:{v:["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["Default","100","300","400","700","900"],i:["normal","italic"]},"League Script":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Leckerli One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Ledger:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["Default","400"],i:["normal"]},Lekton:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},Lemon:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Lemonada:{v:["300","regular","600","700"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["Default","300","400","600","700"],i:["normal"]},"Libre Barcode 128":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Libre Barcode 128 Text":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Libre Barcode 39":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Libre Barcode 39 Extended":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Libre Barcode 39 Extended Text":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Libre Barcode 39 Text":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Libre Baskerville":{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["Default","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:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Life Savers":{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},"Lilita One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Lily Script One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Limelight:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Linden Hill":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},Lobster:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Lobster Two":{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},"Londrina Outline":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Londrina Shadow":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Londrina Sketch":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Londrina Solid":{v:["100","300","regular","900"],subset:["latin"],weight:["Default","100","300","400","900"],i:["normal"]},Lora:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["Default","400","700"],i:["normal","italic"]},"Love Ya Like A Sister":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Loved by the King":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Lovers Quarrel":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Luckiest Guy":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Lusitana:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Lustria:{v:["regular"],subset:["latin"],weight:["Default","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:["Default","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:["Default","100","300","400","500","700","800","900"],i:["normal"]},Macondo:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Macondo Swash Caps":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Mada:{v:["200","300","regular","500","600","700","900"],subset:["arabic","latin"],weight:["Default","200","300","400","500","600","700","900"],i:["normal"]},Magra:{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},"Maiden Orange":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Maitree:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["Default","200","300","400","500","600","700"],i:["normal"]},Mako:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Mallanna:{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},Mandali:{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},Manuale:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400","500","600","700"],i:["normal","italic"]},Marcellus:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Marcellus SC":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Marck Script":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["Default","400"],i:["normal"]},Margarine:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Markazi Text":{v:["regular","500","600","700"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["Default","400","500","600","700"],i:["normal"]},"Marko One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Marmelad:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["Default","400"],i:["normal"]},Martel:{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["Default","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:["Default","200","300","400","600","700","800","900"],i:["normal"]},Marvel:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},Mate:{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},"Mate SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Maven Pro":{v:["regular","500","700","900"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400","500","700","900"],i:["normal"]},McLaren:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Meddon:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},MedievalSharp:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Medula One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Meera Inimai":{v:["regular"],subset:["tamil","latin"],weight:["Default","400"],i:["normal"]},Megrim:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Meie Script":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Merienda:{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},"Merienda One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Merriweather:{v:["300","300italic","regular","italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["Default","300","400","700","900"],i:["normal","italic"]},"Merriweather Sans":{v:["300","300italic","regular","italic","700","700italic","800","800italic"],subset:["latin-ext","latin"],weight:["Default","300","400","700","800"],i:["normal","italic"]},Metal:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},"Metal Mania":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Metamorphous:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Metrophobic:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Michroma:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Milonga:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Miltonian:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Miltonian Tattoo":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Mina:{v:["regular","700"],subset:["latin-ext","bengali","latin"],weight:["Default","400","700"],i:["normal"]},Miniver:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Miriam Libre":{v:["regular","700"],subset:["latin-ext","hebrew","latin"],weight:["Default","400","700"],i:["normal"]},Mirza:{v:["regular","500","600","700"],subset:["latin-ext","arabic","latin"],weight:["Default","400","500","600","700"],i:["normal"]},"Miss Fajardose":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Mitr:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["Default","200","300","400","500","600","700"],i:["normal"]},Modak:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["Default","400"],i:["normal"]},"Modern Antiqua":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Mogra:{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["Default","400"],i:["normal"]},Molengo:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Molle:{v:["italic"],subset:["latin-ext","latin"],weight:["Default"],i:["italic"]},Monda:{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},Monofett:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Monoton:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Monsieur La Doulaise":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Montaga:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Montez:{v:["regular"],subset:["latin"],weight:["Default","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:["Default","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:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Montserrat Subrayada":{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Moul:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},Moulpali:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},"Mountains of Christmas":{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},"Mouse Memoirs":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Mr Bedfort":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Mr Dafoe":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Mr De Haviland":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Mrs Saint Delafield":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Mrs Sheppards":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Mukta:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["Default","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:["Default","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:["Default","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:["Default","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:["Default","200","300","400","600","700","800","900"],i:["normal","italic"]},"Mystery Quest":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},NTR:{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},"Nanum Brush Script":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Nanum Gothic":{v:["regular","700","800"],subset:["korean","latin"],weight:["Default","400","700","800"],i:["normal"]},"Nanum Gothic Coding":{v:["regular","700"],subset:["korean","latin"],weight:["Default","400","700"],i:["normal"]},"Nanum Myeongjo":{v:["regular","700","800"],subset:["korean","latin"],weight:["Default","400","700","800"],i:["normal"]},"Nanum Pen Script":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Neucha:{v:["regular"],subset:["cyrillic","latin"],weight:["Default","400"],i:["normal"]},Neuton:{v:["200","300","regular","italic","700","800"],subset:["latin-ext","latin"],weight:["Default","200","300","400","700","800"],i:["normal","italic"]},"New Rocker":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"News Cycle":{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},Niconne:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Nixie One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Nobile:{v:["regular","italic","500","500italic","700","700italic"],subset:["latin-ext","latin"],weight:["Default","400","500","700"],i:["normal","italic"]},Nokora:{v:["regular","700"],subset:["khmer"],weight:["Default","400","700"],i:["normal"]},Norican:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Nosifer:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Nothing You Could Do":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Noticia Text":{v:["regular","italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["Default","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:["Default","400","700"],i:["normal","italic"]},"Noto Sans JP":{v:["100","300","regular","500","700","900"],subset:["japanese","latin"],weight:["Default","100","300","400","500","700","900"],i:["normal"]},"Noto Sans KR":{v:["100","300","regular","500","700","900"],subset:["korean","latin"],weight:["Default","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:["Default","400","700"],i:["normal","italic"]},"Noto Serif JP":{v:["200","300","regular","500","600","700","900"],subset:["japanese","latin"],weight:["Default","200","300","400","500","600","700","900"],i:["normal"]},"Noto Serif KR":{v:["200","300","regular","500","600","700","900"],subset:["korean","latin"],weight:["Default","200","300","400","500","600","700","900"],i:["normal"]},"Nova Cut":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Nova Flat":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Nova Mono":{v:["regular"],subset:["greek","latin"],weight:["Default","400"],i:["normal"]},"Nova Oval":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Nova Round":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Nova Script":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Nova Slim":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Nova Square":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Numans:{v:["regular"],subset:["latin"],weight:["Default","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:["Default","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:["Default","200","300","400","600","700","800","900"],i:["normal","italic"]},"Odor Mean Chey":{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},Offside:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Old Standard TT":{v:["regular","italic","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["Default","400","700"],i:["normal","italic"]},Oldenburg:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Oleo Script":{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},"Oleo Script Swash Caps":{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","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:["Default","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:["Default","300","700"],i:[]},Oranienbaum:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["Default","400"],i:["normal"]},Orbitron:{v:["regular","500","700","900"],subset:["latin"],weight:["Default","400","500","700","900"],i:["normal"]},Oregano:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal","italic"]},Orienta:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Original Surfer":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Oswald:{v:["200","300","regular","500","600","700"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["Default","200","300","400","500","600","700"],i:["normal"]},"Over the Rainbow":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Overlock:{v:["regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["Default","400","700","900"],i:["normal","italic"]},"Overlock SC":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","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:["Default","100","200","300","400","600","700","800","900"],i:["normal","italic"]},"Overpass Mono":{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["Default","300","400","600","700"],i:["normal"]},Ovo:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Oxygen:{v:["300","regular","700"],subset:["latin-ext","latin"],weight:["Default","300","400","700"],i:["normal"]},"Oxygen Mono":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"PT Mono":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["Default","400"],i:["normal"]},"PT Sans":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},"PT Sans Caption":{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},"PT Sans Narrow":{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},"PT Serif":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},"PT Serif Caption":{v:["regular","italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["Default","400"],i:["normal","italic"]},Pacifico:{v:["regular"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Padauk:{v:["regular","700"],subset:["myanmar","latin"],weight:["Default","400","700"],i:["normal"]},Palanquin:{v:["100","200","300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"Palanquin Dark":{v:["regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","500","600","700"],i:["normal"]},Pangolin:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Paprika:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Parisienne:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Passero One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Passion One":{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["Default","400","700","900"],i:["normal"]},"Pathway Gothic One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Patrick Hand":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Patrick Hand SC":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Pattaya:{v:["regular"],subset:["cyrillic","latin-ext","thai","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Patua One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Pavanam:{v:["regular"],subset:["latin-ext","tamil","latin"],weight:["Default","400"],i:["normal"]},"Paytone One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Peddana:{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},Peralta:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Permanent Marker":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Petit Formal Script":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Petrona:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Philosopher:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","vietnamese","latin"],weight:["Default","400","700"],i:["normal","italic"]},Piedra:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Pinyon Script":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Pirata One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Plaster:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Play:{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["Default","400","700"],i:["normal"]},Playball:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Playfair Display":{v:["regular","italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["Default","400","700","900"],i:["normal","italic"]},"Playfair Display SC":{v:["regular","italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["Default","400","700","900"],i:["normal","italic"]},Podkova:{v:["regular","500","600","700","800"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Poiret One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Poller One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Poly:{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},Pompiere:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Pontano Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Poor Story":{v:["regular"],subset:["korean","latin"],weight:["Default","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:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Port Lligat Sans":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Port Lligat Slab":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Pragati Narrow":{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","700"],i:["normal"]},Prata:{v:["regular"],subset:["cyrillic","cyrillic-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Preahvihear:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},"Press Start 2P":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","latin"],weight:["Default","400"],i:["normal"]},Pridi:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["Default","200","300","400","500","600","700"],i:["normal"]},"Princess Sofia":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Prociono:{v:["regular"],subset:["latin"],weight:["Default","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:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Prosto One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Proza Libre":{v:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["latin-ext","latin"],weight:["Default","400","500","600","700","800"],i:["normal","italic"]},Puritan:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},"Purple Purse":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Quando:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Quantico:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},Quattrocento:{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},"Quattrocento Sans":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},Questrial:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Quicksand:{v:["300","regular","500","700"],subset:["latin-ext","vietnamese","latin"],weight:["Default","300","400","500","700"],i:["normal"]},Quintessential:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Qwigley:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Racing Sans One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Radley:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal","italic"]},Rajdhani:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},Rakkas:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["Default","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:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Raleway Dots":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Ramabhadra:{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},Ramaraja:{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},Rambla:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},"Rammetto One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Ranchers:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Rancho:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Ranga:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","700"],i:["normal"]},Rasa:{v:["300","regular","500","600","700"],subset:["latin-ext","gujarati","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},Rationale:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Ravi Prakash":{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},Redressed:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Reem Kufi":{v:["regular"],subset:["arabic","latin"],weight:["Default","400"],i:["normal"]},"Reenie Beanie":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Revalia:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Rhodium Libre":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["Default","400"],i:["normal"]},Ribeye:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Ribeye Marrow":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Righteous:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Risque:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","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:["Default","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:["Default","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:["Default","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:["Default","100","300","400","700"],i:["normal"]},Rochester:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Rock Salt":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Rokkitt:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},Romanesco:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Ropa Sans":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal","italic"]},Rosario:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},Rosarivo:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal","italic"]},"Rouge Script":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Rozha One":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["Default","400"],i:["normal"]},Rubik:{v:["300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","hebrew","latin"],weight:["Default","300","400","500","700","900"],i:["normal","italic"]},"Rubik Mono One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["Default","400"],i:["normal"]},Ruda:{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["Default","400","700","900"],i:["normal"]},Rufina:{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},"Ruge Boogie":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Ruluko:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Rum Raisin":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Ruslan Display":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Russo One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["Default","400"],i:["normal"]},Ruthie:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Rye:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Sacramento:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Sahitya:{v:["regular","700"],subset:["devanagari","latin"],weight:["Default","400","700"],i:["normal"]},Sail:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Saira:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["Default","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:["Default","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:["Default","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:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},Salsa:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Sanchez:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal","italic"]},Sancreek:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Sansita:{v:["regular","italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["Default","400","700","800","900"],i:["normal","italic"]},Sarala:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","700"],i:["normal"]},Sarina:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Sarpanch:{v:["regular","500","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","500","600","700","800","900"],i:["normal"]},Satisfy:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Sawarabi Gothic":{v:["regular"],subset:["cyrillic","japanese","latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Sawarabi Mincho":{v:["regular"],subset:["japanese","latin-ext","latin"],weight:["Default","400"],i:["normal"]},Scada:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},Scheherazade:{v:["regular","700"],subset:["arabic","latin"],weight:["Default","400","700"],i:["normal"]},Schoolbell:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Scope One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Seaweed Script":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Secular One":{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["Default","400"],i:["normal"]},"Sedgwick Ave":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Sedgwick Ave Display":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Sevillana:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Seymour One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Shadows Into Light":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Shadows Into Light Two":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Shanti:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Share:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},"Share Tech":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Share Tech Mono":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Shojumaru:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Short Stack":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Shrikhand:{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["Default","400"],i:["normal"]},Siemreap:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},"Sigmar One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Signika:{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["Default","300","400","600","700"],i:["normal"]},"Signika Negative":{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["Default","300","400","600","700"],i:["normal"]},Simonetta:{v:["regular","italic","900","900italic"],subset:["latin-ext","latin"],weight:["Default","400","900"],i:["normal","italic"]},Sintony:{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},"Sirin Stencil":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Six Caps":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Skranji:{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},"Slabo 13px":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Slabo 27px":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Slackey:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Smokum:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Smythe:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Sniglet:{v:["regular","800"],subset:["latin-ext","latin"],weight:["Default","400","800"],i:["normal"]},Snippet:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Snowburst One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Sofadi One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Sofia:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Song Myung":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Sonsie One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Sorts Mill Goudy":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal","italic"]},"Source Code Pro":{v:["200","300","regular","500","600","700","900"],subset:["latin-ext","latin"],weight:["Default","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:["Default","200","300","400","600","700","900"],i:["normal","italic"]},"Source Serif Pro":{v:["regular","600","700"],subset:["latin-ext","latin"],weight:["Default","400","600","700"],i:["normal"]},"Space Mono":{v:["regular","italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400","700"],i:["normal","italic"]},"Special Elite":{v:["regular"],subset:["latin"],weight:["Default","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:["Default","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:["Default","200","300","400","500","600","700","800"],i:["normal","italic"]},"Spicy Rice":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Spinnaker:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Spirax:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Squada One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Sree Krushnadevaraya":{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},Sriracha:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Stalemate:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Stalinist One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Stardos Stencil":{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},"Stint Ultra Condensed":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Stint Ultra Expanded":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Stoke:{v:["300","regular"],subset:["latin-ext","latin"],weight:["Default","300","400"],i:["normal"]},Strait:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Stylish:{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Sue Ellen Francisco":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Suez One":{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["Default","400"],i:["normal"]},Sumana:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","700"],i:["normal"]},Sunflower:{v:["300","500","700"],subset:["korean","latin"],weight:["Default","300","500","700"],i:[]},Sunshiney:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Supermercado One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Sura:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","700"],i:["normal"]},Suranna:{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},Suravaram:{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},Suwannaphum:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},"Swanky and Moo Moo":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Syncopate:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Tajawal:{v:["200","300","regular","500","700","800","900"],subset:["arabic","latin"],weight:["Default","200","300","400","500","700","800","900"],i:["normal"]},Tangerine:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Taprom:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},Tauri:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","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:["Default","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:["Default","300","400","500","600","700"],i:["normal"]},Telex:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Tenali Ramakrishna":{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},"Tenor Sans":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Text Me One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"The Girl Next Door":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Tienne:{v:["regular","700","900"],subset:["latin"],weight:["Default","400","700","900"],i:["normal"]},Tillana:{v:["regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","500","600","700","800"],i:["normal"]},Timmana:{v:["regular"],subset:["telugu","latin"],weight:["Default","400"],i:["normal"]},Tinos:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["Default","400","700"],i:["normal","italic"]},"Titan One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Titillium Web":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],subset:["latin-ext","latin"],weight:["Default","200","300","400","600","700","900"],i:["normal","italic"]},"Trade Winds":{v:["regular"],subset:["latin"],weight:["Default","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:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Trocchi:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Trochut:{v:["regular","italic","700"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},Trykker:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Tulpen One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Ubuntu:{v:["300","300italic","regular","italic","500","500italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["Default","300","400","500","700"],i:["normal","italic"]},"Ubuntu Condensed":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["Default","400"],i:["normal"]},"Ubuntu Mono":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["Default","400","700"],i:["normal","italic"]},Ultra:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Uncial Antiqua":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Underdog:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Unica One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},UnifrakturCook:{v:["700"],subset:["latin"],weight:["Default","700"],i:[]},UnifrakturMaguntia:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Unkempt:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Unlock:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Unna:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal","italic"]},VT323:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Vampiro One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Varela:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Varela Round":{v:["regular"],subset:["latin-ext","hebrew","vietnamese","latin"],weight:["Default","400"],i:["normal"]},"Vast Shadow":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Vesper Libre":{v:["regular","500","700","900"],subset:["latin-ext","devanagari","latin"],weight:["Default","400","500","700","900"],i:["normal"]},Vibur:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Vidaloka:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Viga:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Voces:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Volkhov:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","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:["Default","400","600","700","900"],i:["normal","italic"]},"Vollkorn SC":{v:["regular","600","700","900"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["Default","400","600","700","900"],i:["normal"]},Voltaire:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Waiting for the Sunrise":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Wallpoet:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Walter Turncoat":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Warnes:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},Wellfleet:{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Wendy One":{v:["regular"],subset:["latin-ext","latin"],weight:["Default","400"],i:["normal"]},"Wire One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Work Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","latin"],weight:["Default","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:["Default","200","300","400","700"],i:["normal"]},Yantramanav:{v:["100","300","regular","500","700","900"],subset:["latin-ext","devanagari","latin"],weight:["Default","100","300","400","500","700","900"],i:["normal"]},"Yatra One":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["Default","400"],i:["normal"]},Yellowtail:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Yeon Sung":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Yeseva One":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["Default","400"],i:["normal"]},Yesteryear:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Yrsa:{v:["300","regular","500","600","700"],subset:["latin-ext","latin"],weight:["Default","300","400","500","600","700"],i:["normal"]},Zeyada:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Zilla Slab":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","latin"],weight:["Default","300","400","500","600","700"],i:["normal","italic"]},"Zilla Slab Highlight":{v:["regular","700"],subset:["latin-ext","latin"],weight:["Default","400","700"],i:["normal"]},Sora:{v:["regular"],subset:["latin"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal","bold"]},"DM Sans":{v:["regular"],subset:["latin"],weight:["Default","400","500","700"],i:["normal","bold","italic"]},"DM Serif Display":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},"DM Serif Text":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},Inter:{v:["regular"],subset:["latin"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Jost:{v:["regular","italic"],subset:["latin"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Fahkwang:{v:["regular","italic"],subset:["latin"],weight:["Default","200","300","400","500","600","700"],i:["normal","italic"]},"Zen Dots":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},"Albert Sans":{v:["regular"],subset:["latin"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]}};function be(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var a=0;a<t.length;a++){var o=t[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function de(e,t,a){return t&&ue(e.prototype,t),a&&ue(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function me(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ge(e,t)}function fe(e){return(fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function he(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(e,t){if(t&&("object"===fe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return he(e)}function ye(e){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}a(314),a(316),a(320),a(324);var ve=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Ce(e,t){if(e.length!==t.length)return!1;for(var a=0;a<e.length;a++)if(!((o=e[a])===(n=t[a])||ve(o)&&ve(n)))return!1;var o,n;return!0}var Oe=function(e,t){var a;void 0===t&&(t=Ce);var o,n=[],r=!1;return function(){for(var l=[],i=0;i<arguments.length;i++)l[i]=arguments[i];return r&&a===this&&t(l,n)||(o=e.apply(this,l),r=!0,a=this,n=l),o}},Ee=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,a=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(a,t),this.tags.push(a)}var o=this.tags[this.tags.length-1];if(this.isSpeedy){var n=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]}(o);try{var r=105===e.charCodeAt(1)&&64===e.charCodeAt(0);n.insertRule(e,r?0:n.cssRules.length)}catch(e){}}else o.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}(),xe=function(e){function t(e,t,o){var n=t.trim().split(g);t=n;var r=n.length,l=e.length;switch(l){case 0:case 1:var i=0;for(e=0===l?"":e[0]+" ";i<r;++i)t[i]=a(e,t[i],o).trim();break;default:var s=i=0;for(t=[];i<r;++i)for(var c=0;c<l;++c)t[s++]=a(e[c]+" ",n[i],o).trim()}return t}function a(e,t,a){var o=t.charCodeAt(0);switch(33>o&&(o=(t=t.trim()).charCodeAt(0)),o){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*a&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,a,r){var l=e+";",i=2*t+3*a+4*r;if(944===i){e=l.indexOf(":",9)+1;var s=l.substring(e,l.length-1).trim();return s=l.substring(0,e).trim()+s+";",1===F||2===F&&n(s,1)?"-webkit-"+s+s:s}if(0===F||2===F&&!n(l,1))return l;switch(i){case 1015:return 97===l.charCodeAt(10)?"-webkit-"+l+l:l;case 951:return 116===l.charCodeAt(3)?"-webkit-"+l+l:l;case 963:return 110===l.charCodeAt(5)?"-webkit-"+l+l:l;case 1009:if(100!==l.charCodeAt(4))break;case 969:case 942:return"-webkit-"+l+l;case 978:return"-webkit-"+l+"-moz-"+l+l;case 1019:case 983:return"-webkit-"+l+"-moz-"+l+"-ms-"+l+l;case 883:if(45===l.charCodeAt(8))return"-webkit-"+l+l;if(0<l.indexOf("image-set(",11))return l.replace(w,"$1-webkit-$2")+l;break;case 932:if(45===l.charCodeAt(4))switch(l.charCodeAt(5)){case 103:return"-webkit-box-"+l.replace("-grow","")+"-webkit-"+l+"-ms-"+l.replace("grow","positive")+l;case 115:return"-webkit-"+l+"-ms-"+l.replace("shrink","negative")+l;case 98:return"-webkit-"+l+"-ms-"+l.replace("basis","preferred-size")+l}return"-webkit-"+l+"-ms-"+l+l;case 964:return"-webkit-"+l+"-ms-flex-"+l+l;case 1023:if(99!==l.charCodeAt(8))break;return"-webkit-box-pack"+(s=l.substring(l.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+l+"-ms-flex-pack"+s+l;case 1005:return u.test(l)?l.replace(b,":-webkit-")+l.replace(b,":-moz-")+l:l;case 1e3:switch(t=(s=l.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=l.replace(y,"tb");break;case 232:s=l.replace(y,"tb-rl");break;case 220:s=l.replace(y,"lr");break;default:return l}return"-webkit-"+l+"-ms-"+s+l;case 1017:if(-1===l.indexOf("sticky",9))break;case 975:switch(t=(l=e).length-10,i=(s=(33===l.charCodeAt(t)?l.substring(0,t):l).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:l=l.replace(s,"-webkit-"+s)+";"+l;break;case 207:case 102:l=l.replace(s,"-webkit-"+(102<i?"inline-":"")+"box")+";"+l.replace(s,"-webkit-"+s)+";"+l.replace(s,"-ms-"+s+"box")+";"+l}return l+";";case 938:if(45===l.charCodeAt(5))switch(l.charCodeAt(6)){case 105:return s=l.replace("-items",""),"-webkit-"+l+"-webkit-box-"+s+"-ms-flex-"+s+l;case 115:return"-webkit-"+l+"-ms-flex-item-"+l.replace(O,"")+l;default:return"-webkit-"+l+"-ms-flex-line-pack"+l.replace("align-content","").replace(O,"")+l}break;case 973:case 989:if(45!==l.charCodeAt(3)||122===l.charCodeAt(4))break;case 931:case 953:if(!0===x.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,a,r).replace(":fill-available",":stretch"):l.replace(s,"-webkit-"+s)+l.replace(s,"-moz-"+s.replace("fill-",""))+l;break;case 962:if(l="-webkit-"+l+(102===l.charCodeAt(5)?"-ms-"+l:"")+l,211===a+r&&105===l.charCodeAt(13)&&0<l.indexOf("transform",10))return l.substring(0,l.indexOf(";",27)+1).replace(d,"$1-webkit-$2")+l}return l}function n(e,t){var a=e.indexOf(1===t?":":"{"),o=e.substring(0,3!==t?a:10);return a=e.substring(a+1,e.length-1),z(2!==t?o:o.replace(E,"$1"),a,t)}function r(e,t){var a=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return a!==t+";"?a.replace(C," or ($1)").substring(4):"("+t+")"}function l(e,t,a,o,n,r,l,i,c,p){for(var b,u=0,d=t;u<L;++u)switch(b=B[u].call(s,e,d,a,o,n,r,l,i,c,p)){case void 0:case!1:case!0:case null:break;default:d=b}if(d!==t)return d}function i(e){return void 0!==(e=e.prefix)&&(z=null,e?"function"!=typeof e?F=1:(F=2,z=e):F=0),i}function s(e,a){var i=e;if(33>i.charCodeAt(0)&&(i=i.trim()),i=[i],0<L){var s=l(-1,a,i,i,T,S,0,0,0,0);void 0!==s&&"string"==typeof s&&(a=s)}var b=function e(a,i,s,b,u){for(var d,g,m,y,C,O=0,E=0,x=0,w=0,B=0,z=0,P=m=d=0,D=0,R=0,A=0,_=0,I=s.length,H=I-1,G="",W="",U="",q="";D<I;){if(g=s.charCodeAt(D),D===H&&0!==E+w+x+O&&(0!==E&&(g=47===E?10:47),w=x=O=0,I++,H++),0===E+w+x+O){if(D===H&&(0<R&&(G=G.replace(p,"")),0<G.trim().length)){switch(g){case 32:case 9:case 59:case 13:case 10:break;default:G+=s.charAt(D)}g=59}switch(g){case 123:for(d=(G=G.trim()).charCodeAt(0),m=1,_=++D;D<I;){switch(g=s.charCodeAt(D)){case 123:m++;break;case 125:m--;break;case 47:switch(g=s.charCodeAt(D+1)){case 42:case 47:e:{for(P=D+1;P<H;++P)switch(s.charCodeAt(P)){case 47:if(42===g&&42===s.charCodeAt(P-1)&&D+2!==P){D=P+1;break e}break;case 10:if(47===g){D=P+1;break e}}D=P}}break;case 91:g++;case 40:g++;case 34:case 39:for(;D++<H&&s.charCodeAt(D)!==g;);}if(0===m)break;D++}switch(m=s.substring(_,D),0===d&&(d=(G=G.replace(c,"").trim()).charCodeAt(0)),d){case 64:switch(0<R&&(G=G.replace(p,"")),g=G.charCodeAt(1)){case 100:case 109:case 115:case 45:R=i;break;default:R=M}if(_=(m=e(i,R,m,g,u+1)).length,0<L&&(C=l(3,m,R=t(M,G,A),i,T,S,_,g,u,b),G=R.join(""),void 0!==C&&0===(_=(m=C.trim()).length)&&(g=0,m="")),0<_)switch(g){case 115:G=G.replace(v,r);case 100:case 109:case 45:m=G+"{"+m+"}";break;case 107:m=(G=G.replace(f,"$1 $2"))+"{"+m+"}",m=1===F||2===F&&n("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=G+m,112===b&&(W+=m,m="")}else m="";break;default:m=e(i,t(i,G,A),m,b,u+1)}U+=m,m=A=R=P=d=0,G="",g=s.charCodeAt(++D);break;case 125:case 59:if(1<(_=(G=(0<R?G.replace(p,""):G).trim()).length))switch(0===P&&(d=G.charCodeAt(0),45===d||96<d&&123>d)&&(_=(G=G.replace(" ",":")).length),0<L&&void 0!==(C=l(1,G,i,a,T,S,W.length,b,u,b))&&0===(_=(G=C.trim()).length)&&(G="\0\0"),d=G.charCodeAt(0),g=G.charCodeAt(1),d){case 0:break;case 64:if(105===g||99===g){q+=G+s.charAt(D);break}default:58!==G.charCodeAt(_-1)&&(W+=o(G,d,g,G.charCodeAt(2)))}A=R=P=d=0,G="",g=s.charCodeAt(++D)}}switch(g){case 13:case 10:47===E?E=0:0===1+d&&107!==b&&0<G.length&&(R=1,G+="\0"),0<L*N&&l(0,G,i,a,T,S,W.length,b,u,b),S=1,T++;break;case 59:case 125:if(0===E+w+x+O){S++;break}default:switch(S++,y=s.charAt(D),g){case 9:case 32:if(0===w+O+E)switch(B){case 44:case 58:case 9:case 32:y="";break;default:32!==g&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===w+E+O&&(R=A=1,y="\f"+y);break;case 108:if(0===w+E+O+j&&0<P)switch(D-P){case 2:112===B&&58===s.charCodeAt(D-3)&&(j=B);case 8:111===z&&(j=z)}break;case 58:0===w+E+O&&(P=D);break;case 44:0===E+x+w+O&&(R=1,y+="\r");break;case 34:case 39:0===E&&(w=w===g?0:0===w?g:w);break;case 91:0===w+E+x&&O++;break;case 93:0===w+E+x&&O--;break;case 41:0===w+E+O&&x--;break;case 40:if(0===w+E+O){if(0===d)switch(2*B+3*z){case 533:break;default:d=1}x++}break;case 64:0===E+x+w+O+P+m&&(m=1);break;case 42:case 47:if(!(0<w+O+x))switch(E){case 0:switch(2*g+3*s.charCodeAt(D+1)){case 235:E=47;break;case 220:_=D,E=42}break;case 42:47===g&&42===B&&_+2!==D&&(33===s.charCodeAt(_+2)&&(W+=s.substring(_,D+1)),y="",E=0)}}0===E&&(G+=y)}z=B,B=g,D++}if(0<(_=W.length)){if(R=i,0<L&&void 0!==(C=l(2,W,R,a,T,S,_,b,u,b))&&0===(W=C).length)return q+W+U;if(W=R.join(",")+"{"+W+"}",0!=F*j){switch(2!==F||n(W,2)||(j=0),j){case 111:W=W.replace(k,":-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}j=0}}return q+W+U}(M,i,a,0,0);return 0<L&&void 0!==(s=l(-2,b,i,i,T,S,b.length,0,0,0))&&(b=s),j=0,S=T=1,b}var c=/^\0+/g,p=/[\0\r\f]/g,b=/: */g,u=/zoo|gra/,d=/([,: ])(transform)/g,g=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,f=/@(k\w+)\s*(\S*)\s*/,h=/::(place)/g,k=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,v=/\(\s*(.*)\s*\)/g,C=/([\s\S]*?);/g,O=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,x=/stretch|:\s*\w+\-(?:conte|avail)/,w=/([^-])(image-set\()/,S=1,T=1,j=0,F=1,M=[],B=[],L=0,z=null,N=0;return s.use=function e(t){switch(t){case void 0:case null:L=B.length=0;break;default:if("function"==typeof t)B[L++]=t;else if("object"==typeof t)for(var a=0,o=t.length;a<o;++a)e(t[a]);else N=0|!!t}return e},s.set=i,void 0!==e&&i(e),s};function we(e){e&&Se.current.insert(e+"}")}var Se={current:null},Te=function(e,t,a,o,n,r,l,i,s,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return Se.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===i)return t+"/*|*/";break;case 3:switch(i){case 102:case 112:return Se.current.insert(a[0]+t),"";default:return t+(0===c?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(we)}};function je(e,t,a){var o="";return a.split(" ").forEach((function(a){void 0!==e[a]?t.push(e[a]):o+=a+" "})),o}a(325);var Fe,Me=function(e,t,a){var o=e.key+"-"+t.name;if(!1===a&&void 0===e.registered[o]&&(e.registered[o]=t.styles),void 0===e.inserted[t.name]){var n=t;do{e.insert("."+o,n,e.sheet,!0),n=n.next}while(void 0!==n)}},Be=function(e){for(var t,a=0,o=0,n=e.length;n>=4;++o,n-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),a=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&a)+(59797*(a>>>16)<<16);switch(n){case 3:a^=(255&e.charCodeAt(o+2))<<16;case 2:a^=(255&e.charCodeAt(o+1))<<8;case 1:a=1540483477*(65535&(a^=255&e.charCodeAt(o)))+(59797*(a>>>16)<<16)}return(((a=1540483477*(65535&(a^=a>>>13))+(59797*(a>>>16)<<16))^a>>>15)>>>0).toString(36)},Le={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},ze=/[A-Z]|^ms/g,Ne=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Pe=function(e){return 45===e.charCodeAt(1)},De=function(e){return null!=e&&"boolean"!=typeof e},Re=(Fe={},function(e){return void 0===Fe[e]&&(Fe[e]=Pe(t=e)?t:t.replace(ze,"-$&").toLowerCase()),Fe[e];var t}),Ae=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ne,(function(e,t,a){return Ie={name:t,styles:a,next:Ie},t}))}return 1===Le[e]||Pe(e)||"number"!=typeof t||0===t?t:t+"px"};function _e(e,t,a,o){if(null==a)return"";if(void 0!==a.__emotion_styles)return a;switch(typeof a){case"boolean":return"";case"object":if(1===a.anim)return Ie={name:a.name,styles:a.styles,next:Ie},a.name;if(void 0!==a.styles){var n=a.next;if(void 0!==n)for(;void 0!==n;)Ie={name:n.name,styles:n.styles,next:Ie},n=n.next;return a.styles+";"}return function(e,t,a){var o="";if(Array.isArray(a))for(var n=0;n<a.length;n++)o+=_e(e,t,a[n],!1);else for(var r in a){var l=a[r];if("object"!=typeof l)null!=t&&void 0!==t[l]?o+=r+"{"+t[l]+"}":De(l)&&(o+=Re(r)+":"+Ae(r,l)+";");else if(!Array.isArray(l)||"string"!=typeof l[0]||null!=t&&void 0!==t[l[0]]){var i=_e(e,t,l,!1);switch(r){case"animation":case"animationName":o+=Re(r)+":"+i+";";break;default:o+=r+"{"+i+"}"}}else for(var s=0;s<l.length;s++)De(l[s])&&(o+=Re(r)+":"+Ae(r,l[s])+";")}return o}(e,t,a);case"function":if(void 0!==e){var r=Ie,l=a(e);return Ie=r,_e(e,t,l,o)}}if(null==t)return a;var i=t[a];return void 0===i||o?a:i}var Ie,He=/label:\s*([^\s;\n{]+)\s*;/g,Ge=function(e,t,a){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,n="";Ie=void 0;var r=e[0];null==r||void 0===r.raw?(o=!1,n+=_e(a,t,r,!1)):n+=r[0];for(var l=1;l<e.length;l++)n+=_e(a,t,e[l],46===n.charCodeAt(n.length-1)),o&&(n+=r[l]);He.lastIndex=0;for(var i,s="";null!==(i=He.exec(n));)s+="-"+i[1];return{name:Be(n)+s,styles:n,next:Ie}},We=Object.prototype.hasOwnProperty,Ue=Object(b.createContext)("undefined"!=typeof HTMLElement?function(e){void 0===e&&(e={});var t,a=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var o,n=new xe(t),r={};o=e.container||document.head;var l,i=document.querySelectorAll("style[data-emotion-"+a+"]");Array.prototype.forEach.call(i,(function(e){e.getAttribute("data-emotion-"+a).split(" ").forEach((function(e){r[e]=!0})),e.parentNode!==o&&o.appendChild(e)})),n.use(e.stylisPlugins)(Te),l=function(e,t,a,o){var r=t.name;Se.current=a,n(e,t.styles),o&&(s.inserted[r]=!0)};var s={key:a,sheet:new Ee({key:a,container:o,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:r,registered:{},insert:l};return s}():null),qe=Object(b.createContext)({}),Ve=(Ue.Provider,function(e){var t=function(t,a){return Object(b.createElement)(Ue.Consumer,null,(function(o){return e(t,o,a)}))};return Object(b.forwardRef)(t)}),$e="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Xe=function(e,t){var a={};for(var o in t)We.call(t,o)&&(a[o]=t[o]);return a[$e]=e,a},Ye=function(){return null},Je=function(e,t,a,o){var n=null===a?t.css:t.css(a);"string"==typeof n&&void 0!==e.registered[n]&&(n=e.registered[n]);var r=t[$e],l=[n],i="";"string"==typeof t.className?i=je(e.registered,l,t.className):null!=t.className&&(i=t.className+" ");var s=Ge(l);Me(e,s,"string"==typeof r),i+=e.key+"-"+s.name;var c={};for(var p in t)We.call(t,p)&&"css"!==p&&p!==$e&&(c[p]=t[p]);c.ref=o,c.className=i;var u=Object(b.createElement)(r,c),d=Object(b.createElement)(Ye,null);return Object(b.createElement)(b.Fragment,null,d,u)},Ke=Ve((function(e,t,a){return"function"==typeof e.css?Object(b.createElement)(qe.Consumer,null,(function(o){return Je(t,e,o,a)})):Je(t,e,null,a)})),Ze=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return Ge(t)},Qe=function(e,t){var a=arguments;if(null==t||!We.call(t,"css"))return b.createElement.apply(void 0,a);var o=a.length,n=new Array(o);n[0]=Ke,n[1]=Xe(e,t);for(var r=2;r<o;r++)n[r]=a[r];return b.createElement.apply(null,n)},et=(b.Component,function e(t){for(var a=t.length,o=0,n="";o<a;o++){var r=t[o];if(null!=r){var l=void 0;switch(typeof r){case"boolean":break;case"object":if(Array.isArray(r))l=e(r);else for(var i in l="",r)r[i]&&i&&(l&&(l+=" "),l+=i);break;default:l=r}l&&(n&&(n+=" "),n+=l)}}return n});function tt(e,t,a){var o=[],n=je(e,o,a);return o.length<2?a:n+t(o)}var at=function(){return null},ot=Ve((function(e,t){return Object(b.createElement)(qe.Consumer,null,(function(a){var o=function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];var n=Ge(a,t.registered);return Me(t,n,!1),t.key+"-"+n.name},n={css:o,cx:function(){for(var e=arguments.length,a=new Array(e),n=0;n<e;n++)a[n]=arguments[n];return tt(t.registered,o,et(a))},theme:a},r=e.children(n),l=Object(b.createElement)(at,null);return Object(b.createElement)(b.Fragment,null,l,r)}))})),nt=a(79);function rt(e,t){if(null==e)return{};var a,o,n=function(e,t){if(null==e)return{};var a,o,n={},r=Object.keys(e);for(o=0;o<r.length;o++)a=r[o],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)a=r[o],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function lt(){return(lt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e}).apply(this,arguments)}function it(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,o=new Array(t);a<t;a++)o[a]=e[a];return o}function st(e,t){if(e){if("string"==typeof e)return it(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?it(e,t):void 0}}function ct(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var o,n,r=[],_n=!0,l=!1;try{for(a=a.call(e);!(_n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);_n=!0);}catch(e){l=!0,n=e}finally{try{_n||null==a.return||a.return()}finally{if(l)throw n}}return r}}(e,t)||st(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pt(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a(327);var bt=a(239),ut=a.n(bt),dt=function(){};function gt(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function mt(e,t,a){var o=[a];if(t&&e)for(var n in t)t.hasOwnProperty(n)&&t[n]&&o.push("".concat(gt(e,n)));return o.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var ft=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===fe(e)&&null!==e?[e]:[]};function ht(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function kt(e){return ht(e)?window.pageYOffset:e.scrollTop}function yt(e,t){ht(e)?window.scrollTo(0,t):e.scrollTop=t}function vt(e,t,a,o){return a*((e=e/o-1)*e*e+1)+t}function Ct(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:dt,n=kt(e),r=t-n,l=10,i=0;function s(){var t=vt(i+=l,n,r,a);yt(e,t),i<a?window.requestAnimationFrame(s):o(e)}s()}function Ot(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function Et(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function xt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Et(Object(a),!0).forEach((function(t){pt(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Et(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function wt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,o=ye(e);if(t){var n=ye(this).constructor;a=Reflect.construct(o,arguments,n)}else a=o.apply(this,arguments);return ke(this,a)}}function St(e){var t=e.maxHeight,a=e.menuEl,o=e.minHeight,n=e.placement,r=e.shouldScroll,l=e.isFixedPosition,i=e.theme.spacing,s=function(e){var t=getComputedStyle(e),a="absolute"===t.position,o=/(auto|scroll)/,n=document.documentElement;if("fixed"===t.position)return n;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!a||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return r;return n}(a),c={placement:"bottom",maxHeight:t};if(!a||!a.offsetParent)return c;var p=s.getBoundingClientRect().height,b=a.getBoundingClientRect(),u=b.bottom,d=b.height,g=b.top,m=a.offsetParent.getBoundingClientRect().top,f=window.innerHeight,h=kt(s),k=parseInt(getComputedStyle(a).marginBottom,10),y=parseInt(getComputedStyle(a).marginTop,10),v=m-y,C=f-g,O=v+h,E=p-h-g,x=u-f+h+k,w=h+g-y;switch(n){case"auto":case"bottom":if(C>=d)return{placement:"bottom",maxHeight:t};if(E>=d&&!l)return r&&Ct(s,x,160),{placement:"bottom",maxHeight:t};if(!l&&E>=o||l&&C>=o)return r&&Ct(s,x,160),{placement:"bottom",maxHeight:l?C-k:E-k};if("auto"===n||l){var S=t,T=l?v:O;return T>=o&&(S=Math.min(T-k-i.controlHeight,t)),{placement:"top",maxHeight:S}}if("bottom"===n)return yt(s,x),{placement:"bottom",maxHeight:t};break;case"top":if(v>=d)return{placement:"top",maxHeight:t};if(O>=d&&!l)return r&&Ct(s,w,160),{placement:"top",maxHeight:t};if(!l&&O>=o||l&&v>=o){var j=t;return(!l&&O>=o||l&&v>=o)&&(j=l?v-y:O-y),r&&Ct(s,w,160),{placement:"top",maxHeight:j}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(n,'".'))}return c}var Tt=function(e){return"auto"===e?"bottom":e},jt=Object(b.createContext)({getPortalPlacement:null}),Ft=function(e){me(a,e);var t=wt(a);function a(){var e;be(this,a);for(var o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return(e=t.call.apply(t,[this].concat(n))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.getPlacement=function(t){var a=e.props,o=a.minMenuHeight,n=a.maxMenuHeight,r=a.menuPlacement,l=a.menuPosition,i=a.menuShouldScrollIntoView,s=a.theme;if(t){var c="fixed"===l,p=St({maxHeight:n,menuEl:t,minHeight:o,placement:r,shouldScroll:i&&!c,isFixedPosition:c,theme:s}),b=e.context.getPortalPlacement;b&&b(p),e.setState(p)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,a=e.state.placement||Tt(t);return xt(xt({},e.props),{},{placement:a,maxHeight:e.state.maxHeight})},e}return de(a,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),a}(b.Component);Ft.contextType=jt;var Mt=function(e){var t=e.theme,a=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*a,"px ").concat(3*a,"px"),textAlign:"center"}},Bt=Mt,Lt=Mt,zt=function(e){var t=e.children,a=e.className,o=e.cx,n=e.getStyles,r=e.innerProps;return Qe("div",lt({css:n("noOptionsMessage",e),className:o({"menu-notice":!0,"menu-notice--no-options":!0},a)},r),t)};zt.defaultProps={children:"No options"};var Nt=function(e){var t=e.children,a=e.className,o=e.cx,n=e.getStyles,r=e.innerProps;return Qe("div",lt({css:n("loadingMessage",e),className:o({"menu-notice":!0,"menu-notice--loading":!0},a)},r),t)};Nt.defaultProps={children:"Loading..."};var Pt=function(e){me(a,e);var t=wt(a);function a(){var e;be(this,a);for(var o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return(e=t.call.apply(t,[this].concat(n))).state={placement:null},e.getPortalPlacement=function(t){var a=t.placement;a!==Tt(e.props.menuPlacement)&&e.setState({placement:a})},e}return de(a,[{key:"render",value:function(){var e=this.props,t=e.appendTo,a=e.children,o=e.controlElement,n=e.menuPlacement,r=e.menuPosition,l=e.getStyles,i="fixed"===r;if(!t&&!i||!o)return null;var s=this.state.placement||Tt(n),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}}(o),p=i?0:window.pageYOffset,b=c[s]+p,u=Qe("div",{css:l("menuPortal",{offset:b,position:r,rect:c})},a);return Qe(jt.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?Object(nt.createPortal)(u,t):u)}}]),a}(b.Component),Dt=Array.isArray,Rt=Object.keys,At=Object.prototype.hasOwnProperty;function _t(e,t){try{return function e(t,a){if(t===a)return!0;if(t&&a&&"object"==fe(t)&&"object"==fe(a)){var o,n,r,l=Dt(t),i=Dt(a);if(l&&i){if((n=t.length)!=a.length)return!1;for(o=n;0!=o--;)if(!e(t[o],a[o]))return!1;return!0}if(l!=i)return!1;var s=t instanceof Date,c=a instanceof Date;if(s!=c)return!1;if(s&&c)return t.getTime()==a.getTime();var p=t instanceof RegExp,b=a instanceof RegExp;if(p!=b)return!1;if(p&&b)return t.toString()==a.toString();var u=Rt(t);if((n=u.length)!==Rt(a).length)return!1;for(o=n;0!=o--;)if(!At.call(a,u[o]))return!1;for(o=n;0!=o--;)if(!("_owner"===(r=u[o])&&t.$$typeof||e(t[r],a[r])))return!1;return!0}return t!=t&&a!=a}(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 It(){var e,t,a=(e=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return It=function(){return a},a}var Ht={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},Gt=function(e){var t=e.size,a=rt(e,["size"]);return Qe("svg",lt({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ht},a))},Wt=function(e){return Qe(Gt,lt({size:20},e),Qe("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"}))},Ut=function(e){return Qe(Gt,lt({size:20},e),Qe("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"}))},qt=function(e){var t=e.isFocused,a=e.theme,o=a.spacing.baseUnit,n=a.colors;return{label:"indicatorContainer",color:t?n.neutral60:n.neutral20,display:"flex",padding:2*o,transition:"color 150ms",":hover":{color:t?n.neutral80:n.neutral40}}},Vt=qt,$t=qt,Xt=function(){var e=Ze.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_"}}}(It()),Yt=function(e){var t=e.delay,a=e.offset;return Qe("span",{css:Ze({animation:"".concat(Xt," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:a?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},Jt=function(e){var t=e.className,a=e.cx,o=e.getStyles,n=e.innerProps,r=e.isRtl;return Qe("div",lt({},n,{css:o("loadingIndicator",e),className:a({indicator:!0,"loading-indicator":!0},t)}),Qe(Yt,{delay:0,offset:r}),Qe(Yt,{delay:160,offset:!0}),Qe(Yt,{delay:320,offset:!r}))};function Kt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function Zt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Kt(Object(a),!0).forEach((function(t){pt(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Kt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Qt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function ea(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Qt(Object(a),!0).forEach((function(t){pt(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Qt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}Jt.defaultProps={size:4};var ta=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}};function aa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function oa(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?aa(Object(a),!0).forEach((function(t){pt(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):aa(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var na=function(e){var t=e.children,a=e.innerProps;return Qe("div",a,t)},ra=na,la=na,ia=function(e){var t=e.children,a=e.className,o=e.components,n=e.cx,r=e.data,l=e.getStyles,i=e.innerProps,s=e.isDisabled,c=e.removeProps,p=e.selectProps,b=o.Container,u=o.Label,d=o.Remove;return Qe(ot,null,(function(o){var g=o.css,m=o.cx;return Qe(b,{data:r,innerProps:oa(oa({},i),{},{className:m(g(l("multiValue",e)),n({"multi-value":!0,"multi-value--is-disabled":s},a))}),selectProps:p},Qe(u,{data:r,innerProps:{className:m(g(l("multiValueLabel",e)),n({"multi-value__label":!0},a))},selectProps:p},t),Qe(d,{data:r,innerProps:oa({className:m(g(l("multiValueRemove",e)),n({"multi-value__remove":!0},a))},c),selectProps:p}))}))};function sa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function ca(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?sa(Object(a),!0).forEach((function(t){pt(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):sa(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}ia.defaultProps={cropWithEllipsis:!0};for(var pa={ClearIndicator:function(e){var t=e.children,a=e.className,o=e.cx,n=e.getStyles,r=e.innerProps;return Qe("div",lt({},r,{css:n("clearIndicator",e),className:o({indicator:!0,"clear-indicator":!0},a)}),t||Qe(Wt,null))},Control:function(e){var t=e.children,a=e.cx,o=e.getStyles,n=e.className,r=e.isDisabled,l=e.isFocused,i=e.innerRef,s=e.innerProps,c=e.menuIsOpen;return Qe("div",lt({ref:i,css:o("control",e),className:a({control:!0,"control--is-disabled":r,"control--is-focused":l,"control--menu-is-open":c},n)},s),t)},DropdownIndicator:function(e){var t=e.children,a=e.className,o=e.cx,n=e.getStyles,r=e.innerProps;return Qe("div",lt({},r,{css:n("dropdownIndicator",e),className:o({indicator:!0,"dropdown-indicator":!0},a)}),t||Qe(Ut,null))},DownChevron:Ut,CrossIcon:Wt,Group:function(e){var t=e.children,a=e.className,o=e.cx,n=e.getStyles,r=e.Heading,l=e.headingProps,i=e.label,s=e.theme,c=e.selectProps;return Qe("div",{css:n("group",e),className:o({group:!0},a)},Qe(r,lt({},l,{selectProps:c,theme:s,getStyles:n,cx:o}),i),Qe("div",null,t))},GroupHeading:function(e){var t=e.className,a=e.cx,o=e.getStyles,n=e.theme,r=(e.selectProps,rt(e,["className","cx","getStyles","theme","selectProps"]));return Qe("div",lt({css:o("groupHeading",Zt({theme:n},r)),className:a({"group-heading":!0},t)},r))},IndicatorsContainer:function(e){var t=e.children,a=e.className,o=e.cx,n=e.getStyles;return Qe("div",{css:n("indicatorsContainer",e),className:o({indicators:!0},a)},t)},IndicatorSeparator:function(e){var t=e.className,a=e.cx,o=e.getStyles,n=e.innerProps;return Qe("span",lt({},n,{css:o("indicatorSeparator",e),className:a({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,a=e.cx,o=e.getStyles,n=e.innerRef,r=e.isHidden,l=e.isDisabled,i=e.theme,s=(e.selectProps,rt(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return Qe("div",{css:o("input",ea({theme:i},s))},Qe(ut.a,lt({className:a({input:!0},t),inputRef:n,inputStyle:ta(r),disabled:l},s)))},LoadingIndicator:Jt,Menu:function(e){var t=e.children,a=e.className,o=e.cx,n=e.getStyles,r=e.innerRef,l=e.innerProps;return Qe("div",lt({css:n("menu",e),className:o({menu:!0},a)},l,{ref:r}),t)},MenuList:function(e){var t=e.children,a=e.className,o=e.cx,n=e.getStyles,r=e.isMulti,l=e.innerRef,i=e.innerProps;return Qe("div",lt({css:n("menuList",e),className:o({"menu-list":!0,"menu-list--is-multi":r},a),ref:l},i),t)},MenuPortal:Pt,LoadingMessage:Nt,NoOptionsMessage:zt,MultiValue:ia,MultiValueContainer:ra,MultiValueLabel:la,MultiValueRemove:function(e){var t=e.children,a=e.innerProps;return Qe("div",a,t||Qe(Wt,{size:14}))},Option:function(e){var t=e.children,a=e.className,o=e.cx,n=e.getStyles,r=e.isDisabled,l=e.isFocused,i=e.isSelected,s=e.innerRef,c=e.innerProps;return Qe("div",lt({css:n("option",e),className:o({option:!0,"option--is-disabled":r,"option--is-focused":l,"option--is-selected":i},a),ref:s},c),t)},Placeholder:function(e){var t=e.children,a=e.className,o=e.cx,n=e.getStyles,r=e.innerProps;return Qe("div",lt({css:n("placeholder",e),className:o({placeholder:!0},a)},r),t)},SelectContainer:function(e){var t=e.children,a=e.className,o=e.cx,n=e.getStyles,r=e.innerProps,l=e.isDisabled,i=e.isRtl;return Qe("div",lt({css:n("container",e),className:o({"--is-disabled":l,"--is-rtl":i},a)},r),t)},SingleValue:function(e){var t=e.children,a=e.className,o=e.cx,n=e.getStyles,r=e.isDisabled,l=e.innerProps;return Qe("div",lt({css:n("singleValue",e),className:o({"single-value":!0,"single-value--is-disabled":r},a)},l),t)},ValueContainer:function(e){var t=e.children,a=e.className,o=e.cx,n=e.isMulti,r=e.getStyles,l=e.hasValue;return Qe("div",{css:r("valueContainer",e),className:o({"value-container":!0,"value-container--is-multi":n,"value-container--has-value":l},a)},t)}},ba=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],ua=new RegExp("["+ba.map((function(e){return e.letters})).join("")+"]","g"),da={},ga=0;ga<ba.length;ga++)for(var ma=ba[ga],fa=0;fa<ma.letters.length;fa++)da[ma.letters[fa]]=ma.base;var ha=function(e){return e.replace(ua,(function(e){return da[e]}))};function ka(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}var ya=function(e){return e.replace(/^\s+|\s+$/g,"")},va=function(e){return"".concat(e.label," ").concat(e.value)},Ca={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;"},Oa=function(e){return Qe("span",lt({css:Ca},e))};function Ea(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,a=(e.emotion,rt(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return Qe("input",lt({ref:t},a,{css:Ze({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 xa=function(e){me(n,e);var t,a,o=(t=n,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=ye(t);if(a){var n=ye(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return ke(this,e)});function n(){return be(this,n),o.apply(this,arguments)}return de(n,[{key:"componentDidMount",value:function(){this.props.innerRef(Object(nt.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),n}(b.Component),wa=["boxSizing","height","overflow","paddingRight","position"],Sa={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ta(e){e.preventDefault()}function ja(e){e.stopPropagation()}function Fa(){var e=this.scrollTop,t=this.scrollHeight,a=e+this.offsetHeight;0===e?this.scrollTop=1:a===t&&(this.scrollTop=e-1)}function Ma(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ba=!(!window.document||!window.document.createElement),La=0,za=function(e){me(n,e);var t,a,o=(t=n,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=ye(t);if(a){var n=ye(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return ke(this,e)});function n(){var e;be(this,n);for(var t=arguments.length,a=new Array(t),r=0;r<t;r++)a[r]=arguments[r];return(e=o.call.apply(o,[this].concat(a))).originalStyles={},e.listenerOptions={capture:!1,passive:!1},e}return de(n,[{key:"componentDidMount",value:function(){var e=this;if(Ba){var t=this.props,a=t.accountForScrollbars,o=t.touchScrollTarget,n=document.body,r=n&&n.style;if(a&&wa.forEach((function(t){var a=r&&r[t];e.originalStyles[t]=a})),a&&La<1){var l=parseInt(this.originalStyles.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,s=window.innerWidth-i+l||0;Object.keys(Sa).forEach((function(e){var t=Sa[e];r&&(r[e]=t)})),r&&(r.paddingRight="".concat(s,"px"))}n&&Ma()&&(n.addEventListener("touchmove",Ta,this.listenerOptions),o&&(o.addEventListener("touchstart",Fa,this.listenerOptions),o.addEventListener("touchmove",ja,this.listenerOptions))),La+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(Ba){var t=this.props,a=t.accountForScrollbars,o=t.touchScrollTarget,n=document.body,r=n&&n.style;La=Math.max(La-1,0),a&&La<1&&wa.forEach((function(t){var a=e.originalStyles[t];r&&(r[t]=a)})),n&&Ma()&&(n.removeEventListener("touchmove",Ta,this.listenerOptions),o&&(o.removeEventListener("touchstart",Fa,this.listenerOptions),o.removeEventListener("touchmove",ja,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),n}(b.Component);za.defaultProps={accountForScrollbars:!0};var Na={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},Pa=function(e){me(n,e);var t,a,o=(t=n,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=ye(t);if(a){var n=ye(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return ke(this,e)});function n(){var e;be(this,n);for(var t=arguments.length,a=new Array(t),r=0;r<t;r++)a[r]=arguments[r];return(e=o.call.apply(o,[this].concat(a))).state={touchScrollTarget:null},e.getScrollTarget=function(t){t!==e.state.touchScrollTarget&&e.setState({touchScrollTarget:t})},e.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},e}return de(n,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.isEnabled,o=this.state.touchScrollTarget;return a?Qe("div",null,Qe("div",{onClick:this.blurSelectInput,css:Na}),Qe(xa,{innerRef:this.getScrollTarget},t),o?Qe(za,{touchScrollTarget:o}):null):t}}]),n}(b.PureComponent);var Da=function(e){me(n,e);var t,a,o=(t=n,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=ye(t);if(a){var n=ye(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return ke(this,e)});function n(){var e;be(this,n);for(var t=arguments.length,a=new Array(t),r=0;r<t;r++)a[r]=arguments[r];return(e=o.call.apply(o,[this].concat(a))).isBottom=!1,e.isTop=!1,e.scrollTarget=void 0,e.touchStart=void 0,e.cancelScroll=function(e){e.preventDefault(),e.stopPropagation()},e.handleEventDelta=function(t,a){var o=e.props,n=o.onBottomArrive,r=o.onBottomLeave,l=o.onTopArrive,i=o.onTopLeave,s=e.scrollTarget,c=s.scrollTop,p=s.scrollHeight,b=s.clientHeight,u=e.scrollTarget,d=a>0,g=p-b-c,m=!1;g>a&&e.isBottom&&(r&&r(t),e.isBottom=!1),d&&e.isTop&&(i&&i(t),e.isTop=!1),d&&a>g?(n&&!e.isBottom&&n(t),u.scrollTop=p,m=!0,e.isBottom=!0):!d&&-a>c&&(l&&!e.isTop&&l(t),u.scrollTop=0,m=!0,e.isTop=!0),m&&e.cancelScroll(t)},e.onWheel=function(t){e.handleEventDelta(t,t.deltaY)},e.onTouchStart=function(t){e.touchStart=t.changedTouches[0].clientY},e.onTouchMove=function(t){var a=e.touchStart-t.changedTouches[0].clientY;e.handleEventDelta(t,a)},e.getScrollTarget=function(t){e.scrollTarget=t},e}return de(n,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value: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))}},{key:"stopListening",value:function(e){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))}},{key:"render",value:function(){return u.a.createElement(xa,{innerRef:this.getScrollTarget},this.props.children)}}]),n}(b.Component);function Ra(e){var t=e.isEnabled,a=void 0===t||t,o=rt(e,["isEnabled"]);return a?u.a.createElement(Da,o):o.children}var Aa=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.isSearchable,o=t.isMulti,n=t.label,r=t.isDisabled,l=t.tabSelectsValue;switch(e){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(l?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(n||"Select"," is focused ").concat(a?",type to refine list":"",", press Down to open the menu, ").concat(o?" 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"}},_a=function(e,t){var a=t.value,o=t.isDisabled;if(a)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(a,", deselected.");case"select-option":return"option ".concat(a,o?" is disabled. Select another option.":", selected.")}},Ia=function(e){return!!e.isDisabled},Ha={clearIndicator:$t,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,a=e.isFocused,o=e.theme,n=o.colors,r=o.borderRadius,l=o.spacing;return{label:"control",alignItems:"center",backgroundColor:t?n.neutral5:n.neutral0,borderColor:t?n.neutral10:a?n.primary:n.neutral20,borderRadius:r,borderStyle:"solid",borderWidth:1,boxShadow:a?"0 0 0 1px ".concat(n.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:a?n.primary:n.neutral30}}},dropdownIndicator:Vt,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,a=e.theme,o=a.spacing.baseUnit,n=a.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?n.neutral10:n.neutral20,marginBottom:2*o,marginTop:2*o,width:1}},input:function(e){var t=e.isDisabled,a=e.theme,o=a.spacing,n=a.colors;return{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:t?"hidden":"visible",color:n.neutral80}},loadingIndicator:function(e){var t=e.isFocused,a=e.size,o=e.theme,n=o.colors,r=o.spacing.baseUnit;return{label:"loadingIndicator",color:t?n.neutral60:n.neutral20,display:"flex",padding:2*r,transition:"color 150ms",alignSelf:"center",fontSize:a,lineHeight:1,marginRight:a,textAlign:"center",verticalAlign:"middle"}},loadingMessage:Lt,menu:function(e){var t,a=e.placement,o=e.theme,n=o.borderRadius,r=o.spacing,l=o.colors;return pt(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(a),"100%"),pt(t,"backgroundColor",l.neutral0),pt(t,"borderRadius",n),pt(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),pt(t,"marginBottom",r.menuGutter),pt(t,"marginTop",r.menuGutter),pt(t,"position","absolute"),pt(t,"width","100%"),pt(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,a=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:a,paddingTop:a,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,a=e.offset,o=e.position;return{left:t.left,position:o,top:a,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,a=t.spacing,o=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:o/2,display:"flex",margin:a.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,a=t.borderRadius,o=t.colors,n=e.cropWithEllipsis;return{borderRadius:a/2,color:o.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:n?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,a=t.spacing,o=t.borderRadius,n=t.colors;return{alignItems:"center",borderRadius:o/2,backgroundColor:e.isFocused&&n.dangerLight,display:"flex",paddingLeft:a.baseUnit,paddingRight:a.baseUnit,":hover":{backgroundColor:n.dangerLight,color:n.danger}}},noOptionsMessage:Bt,option:function(e){var t=e.isDisabled,a=e.isFocused,o=e.isSelected,n=e.theme,r=n.spacing,l=n.colors;return{label:"option",backgroundColor:o?l.primary:a?l.primary25:"transparent",color:t?l.neutral20:o?l.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*r.baseUnit,"px ").concat(3*r.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(o?l.primary:l.primary50)}}},placeholder:function(e){var t=e.theme,a=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,a=e.theme,o=a.spacing,n=a.colors;return{label:"singleValue",color:t?n.neutral40:n.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2,maxWidth:"calc(100% - ".concat(2*o.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:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}},Ga={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 Wa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,o)}return a}function Ua(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Wa(Object(a),!0).forEach((function(t){pt(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Wa(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var qa={backspaceRemovesValue:!0,blurInputOnSelect:Ot(),captureMenuScroll:!Ot(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var a=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ka(Object(a),!0).forEach((function(t){pt(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ka(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({ignoreCase:!0,ignoreAccents:!0,stringify:va,trim:!0,matchFrom:"any"},void 0),o=a.ignoreCase,n=a.ignoreAccents,r=a.stringify,l=a.trim,i=a.matchFrom,s=l?ya(t):t,c=l?ya(r(e)):r(e);return o&&(s=s.toLowerCase(),c=c.toLowerCase()),n&&(s=ha(s),c=ha(c)),"start"===i?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:Ia,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"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},Va=1,$a=function(e){me(n,e);var t,a,o=(t=n,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=ye(t);if(a){var n=ye(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return ke(this,e)});function n(e){var t;be(this,n),(t=o.call(this,e)).state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},t.blockOptionHover=!1,t.isComposing=!1,t.clearFocusValueOnUpdate=!1,t.commonProps=void 0,t.components=void 0,t.hasGroups=!1,t.initialTouchX=0,t.initialTouchY=0,t.inputIsHiddenAfterUpdate=void 0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.cacheComponents=function(e){var a;t.components=(a={components:e},ca(ca({},pa),a.components))},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,a){var o=t.props,n=o.onChange,r=o.name;n(e,Ua(Ua({},a),{},{name:r}))},t.setValue=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",o=arguments.length>2?arguments[2]:void 0,n=t.props,r=n.closeMenuOnSelect,l=n.isMulti;t.onInputChange("",{action:"set-value"}),r&&(t.inputIsHiddenAfterUpdate=!l,t.onMenuClose()),t.clearFocusValueOnUpdate=!0,t.onChange(e,{action:a,option:o})},t.selectOption=function(e){var a,o=t.props,n=o.blurInputOnSelect,r=o.isMulti,l=t.state.selectValue;if(r)if(t.isOptionSelected(e,l)){var i=t.getOptionValue(e);t.setValue(l.filter((function(e){return t.getOptionValue(e)!==i})),"deselect-option",e),t.announceAriaLiveSelection({event:"deselect-option",context:{value:t.getOptionLabel(e)}})}else t.isOptionDisabled(e,l)?t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e),isDisabled:!0}}):(t.setValue([].concat(function(e){if(Array.isArray(e))return it(e)}(a=l)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||st(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e]),"select-option",e),t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e)}}));else t.isOptionDisabled(e,l)?t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e),isDisabled:!0}}):(t.setValue(e,"select-option"),t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e)}}));n&&t.blurInput()},t.removeValue=function(e){var a=t.state.selectValue,o=t.getOptionValue(e),n=a.filter((function(e){return t.getOptionValue(e)!==o}));t.onChange(n.length?n:null,{action:"remove-value",removedValue:e}),t.announceAriaLiveSelection({event:"remove-value",context:{value:e?t.getOptionLabel(e):""}}),t.focusInput()},t.clearValue=function(){t.onChange(null,{action:"clear"})},t.popValue=function(){var e=t.state.selectValue,a=e[e.length-1],o=e.slice(0,e.length-1);t.announceAriaLiveSelection({event:"pop-value",context:{value:a?t.getOptionLabel(a):""}}),t.onChange(o.length?o:null,{action:"pop-value",removedValue:a})},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return mt.apply(void 0,[t.props.classNamePrefix].concat(a))},t.getOptionLabel=function(e){return t.props.getOptionLabel(e)},t.getOptionValue=function(e){return t.props.getOptionValue(e)},t.getStyles=function(e,a){var o=Ha[e](a);o.boxSizing="border-box";var n=t.props.styles[e];return n?n(o,a):o},t.getElementId=function(e){return"".concat(t.instancePrefix,"-").concat(e)},t.getActiveDescendentId=function(){var e=t.props.menuIsOpen,a=t.state,o=a.menuOptions,n=a.focusedOption;if(n&&e){var r=o.focusable.indexOf(n),l=o.render[r];return l&&l.key}},t.announceAriaLiveSelection=function(e){var a=e.event,o=e.context;t.setState({ariaLiveSelection:_a(a,o)})},t.announceAriaLiveContext=function(e){var a=e.event,o=e.context;t.setState({ariaLiveContext:Aa(a,Ua(Ua({},o),{},{label:t.props["aria-label"]}))})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){var a=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():a&&t.openMenu("first"):(a&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var a=t.props,o=a.isMulti,n=a.menuIsOpen;t.focusInput(),n?(t.inputIsHiddenAfterUpdate=!o,t.onMenuClose()):t.openMenu("first"),e.preventDefault(),e.stopPropagation()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.stopPropagation(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&ht(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var a=e.touches,o=a&&a.item(0);o&&(t.initialTouchX=o.clientX,t.initialTouchY=o.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var a=e.touches,o=a&&a.item(0);if(o){var n=Math.abs(o.clientX-t.initialTouchX),r=Math.abs(o.clientY-t.initialTouchY);t.userIsDragging=n>5||r>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var a=e.currentTarget.value;t.inputIsHiddenAfterUpdate=!1,t.onInputChange(a,{action:"input-change"}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){var a=t.props,o=a.isSearchable,n=a.isMulti;t.props.onFocus&&t.props.onFocus(e),t.inputIsHiddenAfterUpdate=!1,t.announceAriaLiveContext({event:"input",context:{isSearchable:o,isMulti:n}}),t.setState({isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur"}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){var e=t.props,a=e.hideSelectedOptions,o=e.isMulti;return void 0===a?o:a},t.onKeyDown=function(e){var a=t.props,o=a.isMulti,n=a.backspaceRemovesValue,r=a.escapeClearsValue,l=a.inputValue,i=a.isClearable,s=a.isDisabled,c=a.menuIsOpen,p=a.onKeyDown,b=a.tabSelectsValue,u=a.openMenuOnFocus,d=t.state,g=d.focusedOption,m=d.focusedValue,f=d.selectValue;if(!(s||"function"==typeof p&&(p(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!o||l)return;t.focusValue("previous");break;case"ArrowRight":if(!o||l)return;t.focusValue("next");break;case"Delete":case"Backspace":if(l)return;if(m)t.removeValue(m);else{if(!n)return;o?t.popValue():i&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!b||!g||u&&t.isOptionSelected(g,f))return;t.selectOption(g);break;case"Enter":if(229===e.keyCode)break;if(c){if(!g)return;if(t.isComposing)return;t.selectOption(g);break}return;case"Escape":c?(t.inputIsHiddenAfterUpdate=!1,t.onInputChange("",{action:"menu-close"}),t.onMenuClose()):i&&r&&t.clearValue();break;case" ":if(l)return;if(!c){t.openMenu("first");break}if(!g)return;t.selectOption(g);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.buildMenuOptions=function(e,a){var o=e.inputValue,n=void 0===o?"":o,r=e.options,l=function(e,o){var r=t.isOptionDisabled(e,a),l=t.isOptionSelected(e,a),i=t.getOptionLabel(e),s=t.getOptionValue(e);if(!(t.shouldHideSelectedOptions()&&l||!t.filterOption({label:i,value:s,data:e},n))){var c=r?void 0:function(){return t.onOptionHover(e)},p=r?void 0:function(){return t.selectOption(e)},b="".concat(t.getElementId("option"),"-").concat(o);return{innerProps:{id:b,onClick:p,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:e,isDisabled:r,isSelected:l,key:b,label:i,type:"option",value:s}}};return r.reduce((function(e,a,o){if(a.options){t.hasGroups||(t.hasGroups=!0);var n=a.options.map((function(t,a){var n=l(t,"".concat(o,"-").concat(a));return n&&e.focusable.push(t),n})).filter(Boolean);if(n.length){var r="".concat(t.getElementId("group"),"-").concat(o);e.render.push({type:"group",key:r,data:a,options:n})}}else{var i=l(a,"".concat(o));i&&(e.render.push(i),e.focusable.push(a))}return e}),{render:[],focusable:[]})};var a=e.value;t.cacheComponents=Oe(t.cacheComponents,_t).bind(he(t)),t.cacheComponents(e.components),t.instancePrefix="react-select-"+(t.props.instanceId||++Va);var r=ft(a);t.buildMenuOptions=Oe(t.buildMenuOptions,(function(e,t){var a=ct(e,2),o=a[0],n=a[1],r=ct(t,2),l=r[0];return n===r[1]&&o.inputValue===l.inputValue&&o.options===l.options})).bind(he(t));var l=e.menuIsOpen?t.buildMenuOptions(e,r):{render:[],focusable:[]};return t.state.menuOptions=l,t.state.selectValue=r,t}return de(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props,a=t.options,o=t.value,n=t.menuIsOpen,r=t.inputValue;if(this.cacheComponents(e.components),e.value!==o||e.options!==a||e.menuIsOpen!==n||e.inputValue!==r){var l=ft(e.value),i=e.menuIsOpen?this.buildMenuOptions(e,l):{render:[],focusable:[]},s=this.getNextFocusedValue(l),c=this.getNextFocusedOption(i.focusable);this.setState({menuOptions:i,selectValue:l,focusedOption:c,focusedValue:s})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t,a,o,n,r,l=this.props,i=l.isDisabled,s=l.menuIsOpen,c=this.state.isFocused;(c&&!i&&e.isDisabled||c&&s&&!e.menuIsOpen)&&this.focusInput(),c&&i&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,a=this.focusedOptionRef,o=t.getBoundingClientRect(),n=a.getBoundingClientRect(),r=a.offsetHeight/3,n.bottom+r>o.bottom?yt(t,Math.min(a.offsetTop+a.clientHeight-t.offsetHeight+r,t.scrollHeight)):n.top-r<o.top&&yt(t,Math.max(a.offsetTop-r,0)),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var e=this.props,t=e.isSearchable,a=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:a}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,a=this.state,o=a.selectValue,n=a.isFocused,r=this.buildMenuOptions(this.props,o),l=this.props,i=l.isMulti,s=l.tabSelectsValue,c="first"===e?0:r.focusable.length-1;if(!i){var p=r.focusable.indexOf(o[0]);p>-1&&(c=p)}this.scrollToFocusedOptionOnUpdate=!(n&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:r,focusedValue:null,focusedOption:r.focusable[c]},(function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:s}})}))}},{key:"focusValue",value:function(e){var t=this.props,a=t.isMulti,o=t.isSearchable,n=this.state,r=n.selectValue,l=n.focusedValue;if(a){this.setState({focusedOption:null});var i=r.indexOf(l);l||(i=-1,this.announceAriaLiveContext({event:"value"}));var s=r.length-1,c=-1;if(r.length){switch(e){case"previous":c=0===i?0:-1===i?s:i-1;break;case"next":i>-1&&i<s&&(c=i+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:o,isMulti:a}}),this.setState({inputIsHidden:-1!==c,focusedValue:r[c]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props,a=t.pageSize,o=t.tabSelectsValue,n=this.state,r=n.focusedOption,l=n.menuOptions,i=l.focusable;if(i.length){var s=0,c=i.indexOf(r);r||(c=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:o}})),"up"===e?s=c>0?c-1:i.length-1:"down"===e?s=(c+1)%i.length:"pageup"===e?(s=c-a)<0&&(s=0):"pagedown"===e?(s=c+a)>i.length-1&&(s=i.length-1):"last"===e&&(s=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[s],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:Ia(i[s]),tabSelectsValue:o}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Ga):Ua(Ua({},Ga),this.props.theme):Ga}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,a=this.getStyles,o=this.getValue,n=this.setValue,r=this.selectOption,l=this.props,i=l.isMulti,s=l.isRtl,c=l.options;return{cx:t,clearValue:e,getStyles:a,getValue:o,hasValue:this.hasValue(),isMulti:i,isRtl:s,options:c,selectOption:r,setValue:n,selectProps:l,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,a=t.focusedValue,o=t.selectValue.indexOf(a);if(o>-1){if(e.indexOf(a)>-1)return a;if(o<e.length)return e[o]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,a=e.isMulti;return void 0===t?a:t}},{key:"isOptionDisabled",value:function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var a=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var o=this.getOptionValue(e);return t.some((function(e){return a.getOptionValue(e)===o}))}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var a=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:a,selectValue:o})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,a=e.selectValue,o=e.focusedValue,n=e.focusedOption,r=this.props,l=r.options,i=r.menuIsOpen,s=r.inputValue,c=r.screenReaderStatus,p=o?function(e){var t=e.focusedValue,a=e.selectValue;return"value ".concat((0,e.getOptionLabel)(t)," focused, ").concat(a.indexOf(t)+1," of ").concat(a.length,".")}({focusedValue:o,getOptionLabel:this.getOptionLabel,selectValue:a}):"",b=n&&i?function(e){var t=e.focusedOption,a=e.options;return"option ".concat((0,e.getOptionLabel)(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(a.indexOf(t)+1," of ").concat(a.length,".")}({focusedOption:n,getOptionLabel:this.getOptionLabel,options:l}):"",u=function(e){var t=e.inputValue;return"".concat(e.screenReaderMessage).concat(t?" for search term "+t:"",".")}({inputValue:s,screenReaderMessage:c({count:this.countOptions()})});return"".concat(p," ").concat(b," ").concat(u," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,a=e.isSearchable,o=e.inputId,n=e.inputValue,r=e.tabIndex,l=e.form,i=this.components.Input,s=this.state.inputIsHidden,c=o||this.getElementId("input"),p={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!a)return u.a.createElement(Ea,lt({id:c,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:dt,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:r,form:l,value:""},p));var b=this.commonProps,d=b.cx,g=b.theme,m=b.selectProps;return u.a.createElement(i,lt({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:d,getStyles:this.getStyles,id:c,innerRef:this.getInputRef,isDisabled:t,isHidden:s,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:m,spellCheck:"false",tabIndex:r,form:l,theme:g,type:"text",value:n},p))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,a=t.MultiValue,o=t.MultiValueContainer,n=t.MultiValueLabel,r=t.MultiValueRemove,l=t.SingleValue,i=t.Placeholder,s=this.commonProps,c=this.props,p=c.controlShouldRenderValue,b=c.isDisabled,d=c.isMulti,g=c.inputValue,m=c.placeholder,f=this.state,h=f.selectValue,k=f.focusedValue,y=f.isFocused;if(!this.hasValue()||!p)return g?null:u.a.createElement(i,lt({},s,{key:"placeholder",isDisabled:b,isFocused:y}),m);if(d)return h.map((function(t,l){var i=t===k;return u.a.createElement(a,lt({},s,{components:{Container:o,Label:n,Remove:r},isFocused:i,isDisabled:b,key:"".concat(e.getOptionValue(t)).concat(l),index:l,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(g)return null;var v=h[0];return u.a.createElement(l,lt({},s,{data:v,isDisabled:b}),this.formatOptionLabel(v,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,a=this.props,o=a.isDisabled,n=a.isLoading,r=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||n)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return u.a.createElement(e,lt({},t,{innerProps:l,isFocused:r}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,a=this.props,o=a.isDisabled,n=a.isLoading,r=this.state.isFocused;return e&&n?u.a.createElement(e,lt({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:r})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,a=e.IndicatorSeparator;if(!t||!a)return null;var o=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused;return u.a.createElement(a,lt({},o,{isDisabled:n,isFocused:r}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,a=this.props.isDisabled,o=this.state.isFocused,n={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return u.a.createElement(e,lt({},t,{innerProps:n,isDisabled:a,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,a=t.Group,o=t.GroupHeading,n=t.Menu,r=t.MenuList,l=t.MenuPortal,i=t.LoadingMessage,s=t.NoOptionsMessage,c=t.Option,p=this.commonProps,b=this.state,d=b.focusedOption,g=b.menuOptions,m=this.props,f=m.captureMenuScroll,h=m.inputValue,k=m.isLoading,y=m.loadingMessage,v=m.minMenuHeight,C=m.maxMenuHeight,O=m.menuIsOpen,E=m.menuPlacement,x=m.menuPosition,w=m.menuPortalTarget,S=m.menuShouldBlockScroll,T=m.menuShouldScrollIntoView,j=m.noOptionsMessage,F=m.onMenuScrollToTop,M=m.onMenuScrollToBottom;if(!O)return null;var B,L=function(t){var a=d===t.data;return t.innerRef=a?e.getFocusedOptionRef:void 0,u.a.createElement(c,lt({},p,t,{isFocused:a}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())B=g.render.map((function(t){if("group"===t.type){t.type;var n=rt(t,["type"]),r="".concat(t.key,"-heading");return u.a.createElement(a,lt({},p,n,{Heading:o,headingProps:{id:r,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return L(e)})))}if("option"===t.type)return L(t)}));else if(k){var z=y({inputValue:h});if(null===z)return null;B=u.a.createElement(i,p,z)}else{var N=j({inputValue:h});if(null===N)return null;B=u.a.createElement(s,p,N)}var P={minMenuHeight:v,maxMenuHeight:C,menuPlacement:E,menuPosition:x,menuShouldScrollIntoView:T},D=u.a.createElement(Ft,lt({},p,P),(function(t){var a=t.ref,o=t.placerProps,l=o.placement,i=o.maxHeight;return u.a.createElement(n,lt({},p,P,{innerRef:a,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:k,placement:l}),u.a.createElement(Ra,{isEnabled:f,onTopArrive:F,onBottomArrive:M},u.a.createElement(Pa,{isEnabled:S},u.a.createElement(r,lt({},p,{innerRef:e.getMenuListRef,isLoading:k,maxHeight:i}),B))))}));return w||"fixed"===x?u.a.createElement(l,lt({},p,{appendTo:w,controlElement:this.controlRef,menuPlacement:E,menuPosition:x}),D):D}},{key:"renderFormField",value:function(){var e=this,t=this.props,a=t.delimiter,o=t.isDisabled,n=t.isMulti,r=t.name,l=this.state.selectValue;if(r&&!o){if(n){if(a){var i=l.map((function(t){return e.getOptionValue(t)})).join(a);return u.a.createElement("input",{name:r,type:"hidden",value:i})}var s=l.length>0?l.map((function(t,a){return u.a.createElement("input",{key:"i-".concat(a),name:r,type:"hidden",value:e.getOptionValue(t)})})):u.a.createElement("input",{name:r,type:"hidden"});return u.a.createElement("div",null,s)}var c=l[0]?this.getOptionValue(l[0]):"";return u.a.createElement("input",{name:r,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?u.a.createElement(Oa,{"aria-live":"polite"},u.a.createElement("span",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),u.a.createElement("span",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,a=e.IndicatorsContainer,o=e.SelectContainer,n=e.ValueContainer,r=this.props,l=r.className,i=r.id,s=r.isDisabled,c=r.menuIsOpen,p=this.state.isFocused,b=this.commonProps=this.getCommonProps();return u.a.createElement(o,lt({},b,{className:l,innerProps:{id:i,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:p}),this.renderLiveRegion(),u.a.createElement(t,lt({},b,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:p,menuIsOpen:c}),u.a.createElement(n,lt({},b,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),u.a.createElement(a,lt({},b,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),n}(b.Component);$a.defaultProps=qa,a(328);b.Component;var Xa,Ya,Ja,Ka=(Xa=$a,Ja=Ya=function(e){me(n,e);var t,a,o=(t=n,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=ye(t);if(a){var n=ye(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return ke(this,e)});function n(){var e;be(this,n);for(var t=arguments.length,a=new Array(t),r=0;r<t;r++)a[r]=arguments[r];return(e=o.call.apply(o,[this].concat(a))).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,a){e.callProp("onChange",t,a),e.setState({value:t})},e.onInputChange=function(t,a){var o=e.callProp("onInputChange",t,a);e.setState({inputValue:void 0!==o?o:t})},e.onMenuOpen=function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})},e.onMenuClose=function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})},e}return de(n,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"==typeof this.props[e]){for(var t,a=arguments.length,o=new Array(a>1?a-1:0),n=1;n<a;n++)o[n-1]=arguments[n];return(t=this.props)[e].apply(t,o)}}},{key:"render",value:function(){var e=this,t=this.props,a=(t.defaultInputValue,t.defaultMenuIsOpen,t.defaultValue,rt(t,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return u.a.createElement(Xa,lt({},a,{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")}))}}]),n}(b.Component),Ya.defaultProps={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},Ja);const{__:Za}=wp.i18n,{SelectControl:Qa}=wp.components;var eo=function(e){const t=[{value:"Default",label:Za("Default","blockspare"),weight:["Default","100","200","300","400","500","600","700","800","900"],google:!1},{value:"Arial",label:"Arial",weight:["Default","100","200","300","400","500","600","700","800","900"],google:!1},{value:"Helvetica",label:"Helvetica",weight:["Default","100","200","300","400","500","600","700","800","900"],google:!1},{value:"Times New Roman",label:"Times New Roman",weight:["Default","100","200","300","400","500","600","700","800","900"],google:!1},{value:"Georgia",label:"Georgia",weight:["Default","100","200","300","400","500","600","700","800","900"],google:!1}];let a="",n="";Object.keys(pe).map((o,r)=>{t.push({value:o,label:o,weight:pe[o].weight}),o===e.fontFamily.value&&(a=pe[o].weight,n=pe[o].subset)}),""===a&&(a=t[0].weight);const r=[];a.forEach((function(e){r.push({value:"Default"===e?"":e,label:e})}));const l=[];"object"==typeof n&&n.forEach((function(e){l.push({value:e,label:e})}));let i;return t&&t.map(t=>{e.fontFamily.weight||t.value!==e.fontFamily.value||(i={...e.fontFamily,weight:t.weight,label:t.value})}),Object(o.createElement)("div",{className:"blockspare-typography-font-family-options"},Object(o.createElement)("label",{className:"blockspare-typography-font-family-label"},Za("Font Family")),Object(o.createElement)(Ka,{placeholder:Za("Default","blockspare"),options:t,value:i,defaultValue:i,isMulti:!1,maxMenuHeight:300,isSearchable:!0,onChange:t=>{const a=t.value,{loadGoogleFonts:o,fontFamily:n}=e;e.setAttributes({[n.label]:a}),((t,a)=>{let o;o=""==a||"object"==typeof pe[a],e.setAttributes({[t.label]:o})})(o,a)},className:"react-select-container",classNamePrefix:"react-select"}),Object(o.createElement)(Qa,{label:Za("Font Weight"),value:e.fontWeight.value,onChange:t=>e.setAttributes({[e.fontWeight.label]:t}),options:r}),Object(o.createElement)(Qa,{label:Za("Font Subset"),value:e.fontSubset.value,onChange:t=>e.setAttributes({[e.fontSubset.label]:t}),options:l}))};const{__:to}=wp.i18n,{SelectControl:ao}=wp.components,{Component:oo,Fragment:no}=wp.element;var ro=class extends oo{render(){const{headerTagOption:e,setAttributes:t}=this.props,a=[{value:"h1",label:to("h1","blockspare")},{value:"h2",label:to("h2","blockspare")},{value:"h3",label:to("h3","blockspare")},{value:"h4",label:to("h4","blockspare")},{value:"h5",label:to("h5","blockspare")},{value:"h6",label:to("h6","blockspare")}];return Object(o.createElement)(no,null,Object(o.createElement)(ao,{label:"Title Tag",value:e,options:a.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>t({headerTagOption:e})}))}},lo=a(10),io=a.n(lo);const{__:so}=wp.i18n,{RangeControl:co,ButtonGroup:po,Button:bo,TabPanel:uo,Dashicon:go}=wp.components,{Fragment:mo}=wp.element;var fo=function(e){let t;return t="sizeTypes"in e?e.sizeTypes:[{key:"px",name:so("px")},{key:"em",name:so("em")}],Object(o.createElement)(po,{className:"blockspare-size-type-field","aria-label":so("Size Type")},io()(t,t=>{let{name:a,key:n}=t;return Object(o.createElement)(bo,{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})},a)})),Object(o.createElement)("div",{className:"blockspare-typography-range-options"},Object(o.createElement)("p",{className:"blockspare-font-size-title"},so("Font Size","blockspare")),Object(o.createElement)(uo,{className:"blockspare-size-type-field-tabs",activeClass:"active-tab",tabs:[{name:"desktop",title:Object(o.createElement)(go,{icon:"desktop"}),className:"blockspare-desktop-tab blockspare-responsive-tabs"},{name:"tablet",title:Object(o.createElement)(go,{icon:"tablet"}),className:"blockspare-tablet-tab blockspare-responsive-tabs"},{name:"mobile",title:Object(o.createElement)(go,{icon:"smartphone"}),className:"blockspare-mobile-tab blockspare-responsive-tabs"}]},t=>{let a;return a="mobile"===t.name?Object(o.createElement)(mo,null,Object(o.createElement)(co,{value:e.sizeMobile.value,onChange:t=>e.setAttributes({[e.sizeMobileLabel]:t}),min:0,max:100,step:e.steps})):"tablet"===t.name?Object(o.createElement)(mo,null,Object(o.createElement)(co,{value:e.sizeTablet.value,onChange:t=>e.setAttributes({[e.sizeTabletLabel]:t}),min:0,max:100,step:e.steps})):Object(o.createElement)(mo,null,Object(o.createElement)(co,{value:e.size.value,onChange:t=>e.setAttributes({[e.sizeLabel]:t}),min:0,max:100,step:e.steps})),Object(o.createElement)("div",null,a)}))};const{__:ho}=wp.i18n,{Button:ko,Dashicon:yo}=wp.components,{Component:vo,Fragment:Co}=wp.element;var Oo=class extends vo{constructor(){super(...arguments),this.onAdvancedControlClick=this.onAdvancedControlClick.bind(this)}onAdvancedControlClick(){let e=!0,t=ho("Hide Advanced");null!==this.state&&!0===this.state.showAdvancedControls&&(e=!1,t=ho("Advanced")),this.setState({showAdvancedControls:e,showAdvancedControlsLabel:t})}render(){let e,t,a,n,r,l,i;const{disableTag:s=!0,disableFontFamily:c,disableFontSize:p,disableLineHeight:b,disableAdvancedOptions:u=!1}=this.props;return!0!==c&&(n=Object(o.createElement)(eo,this.props)),1!=s&&(e=Object(o.createElement)(ro,this.props)),!0!==b&&(a=Object(o.createElement)(fo,C()({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:ho("Line Height"),sizeTabletText:ho("Line Height"),sizeText:ho("Line Height"),steps:1},this.props))),!0!==p&&(t=Object(o.createElement)(fo,C()({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:ho("Font Size"),sizeTabletText:this.props.fontSizeLabel?this.props.fontSizeLabel:ho("Font Size"),sizeText:this.props.fontSizeLabel?this.props.fontSizeLabel:ho("Font Size"),steps:1},this.props))),!0!==c&&!0!==p?r=Object(o.createElement)(ko,{className:"blockspare-size-btn blockspare-typography-control-btn",isSmall:!0,"aria-pressed":null!==this.state,onClick:this.onAdvancedControlClick},Object(o.createElement)(yo,{icon:"admin-generic"})):i=Object(o.createElement)(Co,null,t,n,a),null!==this.state&&!0===this.state.showAdvancedControls&&(i=Object(o.createElement)("div",{className:"blockspare-typography-advanced"},t,n,a)),!0!==c&&!0!==p&&(l=Object(o.createElement)("div",{className:"blockspare-typography-option-actions"},Object(o.createElement)("span",null,this.props.label),r,void 0)),Object(o.createElement)("div",{className:"blockspare-typography-options"},!u&&Object(o.createElement)(Co,null,e,l,i))}};const{__:Eo}=wp.i18n,{Fragment:xo}=wp.element,{RangeControl:wo}=wp.components;function So(e){const{margin:t,marginTitle:a,marginHelp:n,marginMin:r,marginMax:l,marginEnable:i,onChangeMargin:s=(()=>{}),marginTop:c,marginTopMin:p,marginTopMax:b,marginEnableTop:u,onChangeMarginTop:d=(()=>{}),marginRight:g,marginRightMin:m,marginRightMax:f,marginEnableRight:h,onChangeMarginRight:k=(()=>{}),marginBottom:y,marginBottomMin:v,marginBottomMax:C,marginEnableBottom:O,onChangeMarginBottom:E=(()=>{}),marginLeft:x,marginLeftMin:w,marginLeftMax:S,marginEnableLeft:T,onChangeMarginLeft:j=(()=>{})}=e;return Object(o.createElement)(xo,null,i&&Object(o.createElement)(wo,{label:a||Eo("Margin","blockspare"),help:n||null,value:t,min:r,max:l,onChange:s}),u&&Object(o.createElement)(wo,{label:Eo("Margin Top","blockspare"),value:c,min:p,max:b,onChange:d}),h&&Object(o.createElement)(wo,{label:Eo("Margin Right","blockspare"),value:g,min:m,max:f,onChange:k}),O&&Object(o.createElement)(wo,{label:Eo("Margin Bottom","blockspare"),value:y,min:v,max:C,onChange:E}),T&&Object(o.createElement)(wo,{label:Eo("Margin Left","blockspare"),value:x,min:w,max:S,onChange:j}))}const{Component:To}=wp.element,{__:jo}=wp.i18n,{InspectorControls:Fo,PanelColorSettings:Mo}=wp.blockEditor,{ToggleControl:Bo,PanelBody:Lo,SelectControl:zo}=wp.components;class No extends To{render(){const{attributes:{date:e,time:t,align:a,sectionAlign:n,textBeforeDate:r,textAfterDate:l,dateIcon:i,dateIconSize:s,timeIcon:c,timeIconSize:p,layoutOption:b,dateOrder:u,layoutType:d,dateColor:g,dateIconColor:m,textBeforeColor:f,textAfterColor:h,timeColor:k,timeIconColor:y,bgColor:v,dateFontSize:C,dateLoadGoogleFonts:O,dateFontFamily:E,dateFontWeight:x,dateFontSubset:w,dateFontSizeType:S,dateFontSizeMobile:T,dateFontSizeTablet:j,beforeDateFontSize:F,beforeDateLoadGoogleFonts:M,beforeDateFontFamily:B,beforeDateFontWeight:L,beforeDateFontSubset:z,beforeDateFontSizeType:N,beforeDateFontSizeMobile:P,beforeDateFontSizeTablet:D,afterDateFontSize:R,afterDateLoadGoogleFonts:A,afterDateFontFamily:_,afterDateFontWeight:I,afterDateFontSubset:H,afterDateFontSizeType:G,afterDateFontSizeMobile:W,afterDateFontSizeTablet:U,timeFontSize:q,timeLoadGoogleFonts:V,timeFontFamily:$,timeFontWeight:X,timeFontSubset:Y,timeFontSizeType:J,timeFontSizeMobile:Z,timeFontSizeTablet:Q,dateIconToggle:ee,timeIconToggle:te,borderRadius:ae,marginTop:oe,marginBottom:re,marginLeft:le,marginRight:ie},className:se,attributes:pe,setAttributes:be}=this.props,ue=[{value:"date-time-style-1",label:jo("Style 1","blockspare")},{value:"date-time-style-2",label:jo("Style 2","blockspare")}],de=(jo("Default","blockspare"),jo("Rounded","blockspare"),jo("Circular","blockspare"),jo("Rectangular","blockspare"),jo("Horizontal","blockspare"),jo("Vertical","blockspare"),jo("Date Time","blockspare"),jo("Time Date","blockspare"),{value:g,onChange:e=>be({dateColor:e}),label:jo("Date Color","blockspare")}),ge=(jo("Icon Color","blockspare"),jo("Before Text Color","blockspare"),jo("After Text Color","blockspare"),{value:k,onChange:e=>be({timeColor:e}),label:jo("Time Color","blockspare")}),me={value:y,onChange:e=>be({timeIconColor:e}),label:jo("Icon Color","blockspare")},fe={value:v,onChange:e=>be({bgColor:e}),label:jo("Background Color","blockspare")};return Object(o.createElement)(Fo,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(Lo,{title:jo("Block Settings","blockspare"),initialOpen:!1},Object(o.createElement)(zo,{label:jo("Layouts","blockspare"),options:ue,value:b,onChange:e=>{be({layoutOption:e})}})),Object(o.createElement)(Lo,{title:jo("Date","blockspare"),initialOpen:!1},Object(o.createElement)(Bo,{label:jo("Date","blockspare"),checked:e,onChange:()=>this.props.setAttributes({date:!e}),disabled:!t}),e&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Bo,{label:jo("Date Icon","blockspare"),checked:ee,onChange:()=>this.props.setAttributes({dateIconToggle:!ee})}),ee&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{style:{marginBottom:"24px"}},Object(o.createElement)(K,{name:i,onChangeName:e=>be({dateIcon:e})}))))),Object(o.createElement)(Lo,{title:jo("Time","blockspare"),initialOpen:!1},Object(o.createElement)(Bo,{label:jo("Time","blockspare"),checked:t,onChange:()=>this.props.setAttributes({time:!t}),disabled:!e})),Object(o.createElement)(Lo,{title:jo("Color Settings","blockspare"),initialOpen:!1},"date-time-style-1"!==b&&Object(o.createElement)(Mo,{title:jo("Background","blockspare"),initialOpen:!0,colorSettings:[fe]}),e&&Object(o.createElement)(Mo,{title:jo("Date","blockspare"),initialOpen:!0,colorSettings:[de]}),t&&Object(o.createElement)(Mo,{title:jo("Time","blockspare"),initialOpen:!0,colorSettings:[ge,te?me:""]})),Object(o.createElement)(Lo,{title:jo("Typography","blockspare"),initialOpen:!1},e&&Object(o.createElement)(Oo,{label:jo("Date Fonts Settings"),attributes:pe,setAttributes:be,loadGoogleFonts:{value:O,label:jo("dateLoadGoogleFonts")},fontFamily:{value:E,label:jo("dateFontFamily")},fontWeight:{value:x,label:jo("dateFontWeight")},fontSubset:{value:w,label:jo("dateFontSubset")},fontSizeType:{value:S,label:jo("dateFontSizeType")},fontSize:{value:C,label:jo("dateFontSize")},fontSizeMobile:{value:T,label:jo("dateFontSizeMobile")},fontSizeTablet:{value:j,label:jo("dateFontSizeTablet")},disableLineHeight:!0,disableTag:!0,headerTagOption:!1}),e&&""!==r&&Object(o.createElement)(Oo,{label:jo("Before Date Text Fonts Settings"),attributes:pe,setAttributes:be,loadGoogleFonts:{value:M,label:jo("beforeDateLoadGoogleFonts")},fontFamily:{value:B,label:jo("beforeDateFontFamily")},fontWeight:{value:L,label:jo("beforeDateFontWeight")},fontSubset:{value:z,label:jo("beforeDateFontSubset")},fontSizeType:{value:N,label:jo("beforeDateFontSizeType")},fontSize:{value:F,label:jo("beforeDateFontSize")},fontSizeMobile:{value:P,label:jo("beforeDateFontSizeMobile")},fontSizeTablet:{value:D,label:jo("beforeDateFontSizeTablet")},disableLineHeight:!0,disableTag:!0,headerTagOption:!1}),e&&""!==l&&Object(o.createElement)(Oo,{label:jo("After Date Text Fonts Settings"),attributes:pe,setAttributes:be,loadGoogleFonts:{value:A,label:jo("afterDateLoadGoogleFonts")},fontFamily:{value:_,label:jo("afterDateFontFamily")},fontWeight:{value:I,label:jo("afterDateFontWeight")},fontSubset:{value:H,label:jo("afterDateFontSubset")},fontSizeType:{value:G,label:jo("afterDateFontSizeType")},fontSize:{value:R,label:jo("afterDateFontSize")},fontSizeMobile:{value:W,label:jo("afterDateFontSizeMobile")},fontSizeTablet:{value:U,label:jo("afterDateFontSizeTablet")},disableLineHeight:!0,disableTag:!0,headerTagOption:!1}),t&&Object(o.createElement)(Oo,{label:jo("Time Fonts Settings"),attributes:pe,setAttributes:be,loadGoogleFonts:{value:V,label:jo("timeLoadGoogleFonts")},fontFamily:{value:$,label:jo("timeFontFamily")},fontWeight:{value:X,label:jo("timeFontWeight")},fontSubset:{value:Y,label:jo("timeFontSubset")},fontSizeType:{value:J,label:jo("timeFontSizeType")},fontSize:{value:q,label:jo("timeFontSize")},fontSizeMobile:{value:Z,label:jo("timeFontSizeMobile")},fontSizeTablet:{value:Q,label:jo("timeFontSizeTablet")},disableLineHeight:!0,disableTag:!0,headerTagOption:!1})),Object(o.createElement)(Lo,{title:jo("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(Lo,{title:jo("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(Lo,{title:jo("Block Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Lo,{title:jo("Margin Settings","blockspare"),initialOpen:!0},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:oe,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>be({marginTop:e}),marginEnableBottom:!0,marginBottom:re,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>be({marginBottom:e}),marginEnableLeft:!0,marginLeft:le,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>be({marginLeft:e}),marginEnableRight:!0,marginRight:ie,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>be({marginRight:e})})))))}}var Po=a(4),Do=a.n(Po),Ro=e=>{let t="";return"Default"!==e&&void 0!==e&&(t={fontFamily:e}),t},Ao=e=>{let t="";return""!==e&&void 0!==e&&(t={fontWeight:e}),t},_o=a(268),Io=a.n(_o);if(void 0===Ho)var Ho=[];const{Component:Go}=wp.element;class Wo extends Go{constructor(e){super(e),this.state={status:void 0},this.handleLoading=()=>{this.setState({status:"loading"})},this.addFont=e=>{Ho.includes(e)||Ho.push(e)},this.handleActive=()=>{this.setState({status:"active"})},this.handleInactive=()=>{this.setState({status:"inactive"})},this.loadFonts=()=>{Ho.includes(this.props.config.google.families[0])||(Io.a.load({...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{onStatus:a,config:o}=this.props;t.status!==this.state.status&&a(this.state.status),e.config!==o&&this.loadFonts()}render(){const{children:e}=this.props;return e||null}}Wo.propTypes={config:P.a.object.isRequired,children:P.a.element,onStatus:P.a.func.isRequired},Wo.defaultProps={onStatus:()=>{}};var Uo=Wo;const{Component:qo}=wp.element,{compose:Vo}=wp.compose,{__:$o}=wp.i18n,Xo=blockspare_globals.bs_date;var Yo=Vo(W,I(e=>{const{dateColor:t,dateIconColor:a,textBeforeColor:o,textAfterColor:n,timeColor:r,timeIconColor:l,bgColor:i,dateFontSize:s,dateFontFamily:c,dateFontWeight:p,dateFontSubset:b,dateFontSizeType:u,dateFontSizeMobile:d,dateFontSizeTablet:g,beforeDateFontSize:m,beforeDateLoadGoogleFonts:f,beforeDateFontFamily:h,beforeDateFontWeight:k,beforeDateFontSubset:y,beforeDateFontSizeType:v,beforeDateFontSizeMobile:C,beforeDateFontSizeTablet:O,afterDateFontSize:E,afterDateLoadGoogleFonts:x,afterDateFontFamily:w,afterDateFontWeight:S,afterDateFontSubset:T,afterDateFontSizeType:j,afterDateFontSizeMobile:F,afterDateFontSizeTablet:M,timeFontSize:B,timeLoadGoogleFonts:L,timeFontFamily:z,timeFontWeight:N,timeFontSubset:P,timeFontSizeType:D,timeFontSizeMobile:R,timeFontSizeTablet:A,dateIconSize:_,timeIconSize:I,marginTop:H,marginBottom:G,marginLeft:W,marginRight:U}=e.attributes,q=[];return q.push({".bs-date-time-widget":{marginTop:H?H+"px":"0px",marginBottom:G?G+"px":"0px",marginLeft:W?W+"px":"0px",marginRight:U?U+"px":"0px"},".bs-date-wrapper i.bs-date-icon":{color:a,fontSize:_+u},".bs-date-wrapper span.bs-date-text":{color:t},".bs-date-wrapper .bs-date .bs-before-date-text ":{color:o},".bs-date-wrapper .bs-date .bs-after-date-text":{color:n},".bs-time-wrapper i.bs-time-icon":{color:l,fontSize:I+u},".bs-time-wrapper span.bs-time-text":{color:r},".bs-date-time-widget:not(.date-time-style-1) .bs-time-wrapper":{backgroundColor:i},".bs-date-time-widget:not(.date-time-style-1) .bs-date-wrapper":{backgroundColor:i},".bs-date-text":{fontSize:s+u,...Ro(c),...Ao(p)},".bs-before-date-text":{fontSize:m+v,...Ro(h),...Ao(k)},".bs-after-date-text":{fontSize:E+j,...Ro(w),...Ao(S)},".bs-time-text":{fontSize:B+D,...Ro(z),...Ao(S)},tablet:{".bs-date-text":{fontSize:g+u},".bs-before-date-text":{fontSize:O+v},".bs-after-date-text":{fontSize:M+j},".bs-time-text":{fontSize:A+D}},mobile:{".bs-date-text":{fontSize:d+u},".bs-before-date-text":{fontSize:C+v},".bs-after-date-text":{fontSize:F+j},".bs-time-text":{fontSize:R+D}}}),Do.a.all(q)}))(class extends qo{constructor(e){super(e),this.state={bsTimer:new Date}}componentDidMount(){this.timerID=setInterval(()=>this.tick(),1e3)}componentWillUnmount(){clearInterval(this.timerID)}tick(){let e=new Date;this.setState({bsTimerWithAmPm:e.toLocaleTimeString("en-US",{timeFormat:"en-US"})})}render(){const{attributes:{date:e,time:t,align:a,sectionAlign:n,textBeforeDate:r,textAfterDate:l,dateIcon:i,timeIcon:s,layoutOption:c,dateOrder:p,layoutType:b,dateLoadGoogleFonts:u,dateFontFamily:d,dateFontWeight:g,dateIconToggle:m,timeIconToggle:f,animation:h,borderRadius:k,timeFontFamily:v,timeFontWeight:C,timeLoadGoogleFonts:O,beforeDateFontFamily:E,beforeDateFontWeight:x,beforeDateLoadGoogleFonts:w,afterDateFontFamily:S,afterDateFontWeight:T,afterDateLoadGoogleFonts:j,blockHoverEffect:F},className:M,setAttributes:B}=this.props,L=y()([c,b,p,"bs-date-time-"+n,k,h?"blockspare-block-animation":"",h,F],{"date-icon-disabled":!m,"time-icon-disabled":!f});let z,N,P,D;if(1==u){const e={google:{families:[d+(g?":"+g:"")]}};z=Object(o.createElement)(Uo,{config:e})}if(1==O){const e={google:{families:[v+(C?":"+C:"")]}};N=Object(o.createElement)(Uo,{config:e})}if(1==w){const e={google:{families:[E+(x?":"+x:"")]}};P=Object(o.createElement)(Uo,{config:e})}if(1==j){const e={google:{families:[S+(T?":"+T:"")]}};D=Object(o.createElement)(Uo,{config:e})}return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(No,this.props),Object(o.createElement)("div",{className:y()(M,"align"+a)},this.props.styles,Object(o.createElement)("div",{className:"bs-date-time-widget "+L},e&&Object(o.createElement)("div",{className:"bs-date-time bs-date-wrapper blockspare-hover-item "+("date-time-style-1"===c?"blockspare-hover-text":"")},m&&Object(o.createElement)("div",{className:"bs-icon-wrapper"},Object(o.createElement)("i",{className:"bs-date-icon "+i})),Object(o.createElement)("div",{className:"bs-date"},""!==r&&Object(o.createElement)("span",{className:"bs-before-date-text"},r," "),Object(o.createElement)("span",{className:"bs-date-text"},Xo),""!==l&&Object(o.createElement)("span",{className:"bs-after-date-text"}," ",l))),t&&Object(o.createElement)("div",{className:"bs-date-time bs-time-wrapper blockspare-hover-item "+("date-time-style-1"===c?"blockspare-hover-text":"")},f&&Object(o.createElement)("div",{className:"bs-icon-wrapper"},Object(o.createElement)("i",{className:"bs-time-icon "+s})),Object(o.createElement)("span",{className:"bs-time-text"},this.state.bsTimerWithAmPm)))),z,N,P,D)}});a(329);const{__:Jo}=wp.i18n,{registerBlockType:Ko}=wp.blocks,{name:Zo,category:Qo,attributes:en}=h;blockspare_globals,Ko(Zo,{title:Jo("Date and Time","blockspare"),description:Jo("Date and Time.","blockspare"),category:Qo,icon:s.a.date_and_time,attributes:en,supports:{align:["center","wide","full"]},example:{attributes:{design:"style-1"}},edit:Yo,save:()=>null});var tn=a(16),an=a.n(tn);const{__:on}=wp.i18n,{Fragment:nn}=wp.element,{RangeControl:rn}=wp.components;function ln(e){const{padding:t,paddingTitle:a,paddingHelp:n,paddingMin:r,paddingMax:l,paddingEnable:i,onChangePadding:s=(()=>{}),paddingTop:c,paddingTopMin:p,paddingTopMax:b,paddingEnableTop:u,onChangePaddingTop:d=(()=>{}),paddingRight:g,paddingRightMin:m,paddingRightMax:f,paddingEnableRight:h,onChangePaddingRight:k=(()=>{}),paddingBottom:y,paddingBottomMin:v,paddingBottomMax:C,paddingEnableBottom:O,onChangePaddingBottom:E=(()=>{}),paddingLeft:x,paddingLeftMin:w,paddingLeftMax:S,paddingEnableLeft:T,onChangePaddingLeft:j=(()=>{}),paddingVertical:F,paddingEnableVertical:M,paddingVerticalMin:B,paddingVerticalMax:L,onChangePaddingVertical:z=(()=>{}),paddingHorizontal:N,paddingEnableHorizontal:P,paddingHorizontalMin:D,paddingHorizontalMax:R,onChangePaddingHorizontal:A=(()=>{})}=e;return Object(o.createElement)(nn,null,i&&Object(o.createElement)(rn,{label:a||on("Padding","blockspare"),help:n||null,value:t,min:r,max:l,onChange:s}),u&&Object(o.createElement)(rn,{label:on("Padding Top","blockspare"),value:c,min:p,max:b,onChange:d}),h&&Object(o.createElement)(rn,{label:on("Padding Right","blockspare"),value:g,min:m,max:f,onChange:k}),O&&Object(o.createElement)(rn,{label:on("Padding Bottom","blockspare"),value:y,min:v,max:C,onChange:E}),T&&Object(o.createElement)(rn,{label:on("Padding Left","blockspare"),value:x,min:w,max:S,onChange:j}),M&&Object(o.createElement)(rn,{label:on("Padding Vertical","blockspare"),value:F,min:B,max:L,onChange:z}),P&&Object(o.createElement)(rn,{label:on("Padding Horizontal","blockspare"),value:N,min:D,max:R,onChange:A}))}var sn=a(269),cn=a.n(sn),pn=a(270),bn=a.n(pn);const{apiFetch:un}=wp,{addQueryArgs:dn}=wp.url,{Component:gn}=wp.element;class mn extends gn{constructor(){super(...arguments),this.state={options:[],isLoading:!1,page:1,hasMore:!1}}componentDidMount(){this.fetchPostAbortController=new AbortController,this.fetchTerms()}componentWillUnmount(){this.fetchPostAbortController&&this.fetchPostAbortController.abort()}fetchTerms(){const{restBase:e}=this.props,{page:t,options:a,search:o}=this.state,n={page:t,per_page:10};o&&o.length>=3&&(n.search=o),this.setState({isLoading:!0}),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["x-wp-totalpages"];return new Promise(a=>{un({...e,parse:!1}).then(e=>Promise.all([e.json?e.json():[],bn()(t,t.map(t=>e.headers.get(t)))])).then(e=>a(e)).catch(()=>{})})}({path:dn(e+"/",n),signal:this.fetchPostAbortController.signal}).then(e=>{let[o,n]=e;const r=cn()([...a,...o.map(e=>({value:e.id,label:e.name}))],"value");this.setState({options:r,hasMore:parseInt(n["x-wp-totalpages"],10)>t,isLoading:!1})})}fetchMoreTerms(){const{page:e,hasMore:t,isLoading:a}=this.state;t&&!a&&this.setState({page:e+1},()=>this.fetchTerms())}updateSearch(e){e.length>=3&&this.setState({search:e,page:1},()=>this.fetchTerms())}handleChange(e){const{onChange:t}=this.props;this.setState({search:null,page:1}),t(e)}render(){return Object(o.createElement)("div",{className:"term-select-form-row"},Object(o.createElement)("label",{htmlFor:this.props.fieldId,className:""},this.props.placeholder),Object(o.createElement)(Ka,{value:this.props.value,onChange:e=>this.handleChange(e),id:this.props.fieldId,options:this.state.options,isMulti:!0,classNamePrefix:"bs-tax-select",isLoading:this.state.isLoading,onMenuScrollToBottom:()=>this.fetchMoreTerms(),onInputChange:e=>this.updateSearch(e),maxMenuHeight:300,placeholder:this.props.placeholder}))}}mn.propTypes={fieldId:P.a.string.isRequired,label:P.a.string.isRequired,restBase:P.a.string.isRequired,onChange:P.a.func.isRequired};var fn=mn;const{Fragment:hn}=wp.element,{__:kn}=wp.i18n;var yn=function(e){const{postTax:t,postType:a,taxType:n,categories:r,taxList:l,taxOptions:i,taxFilterOptions:s,setAttributes:c,tags:p}=e,b=[],u=[],d=[];return void 0!==l&&0!==Object.keys(l).length&&Object.keys(l).map((e,t)=>b.push({value:l[e].name,label:l[e].label})),void 0!==i&&0!==Object.keys(i).length&&Object.keys(i).map((e,t)=>u.push({value:i[e].value,label:i[e].label})),void 0!==s&&0!==Object.keys(s).length&&Object.keys(s).map((e,t)=>d.push({value:s[e].value,label:s[e].label})),Object(o.createElement)(hn,null,(a&&"post"!==a||t)&&Object(o.createElement)(hn,null,void 0!==b&&0!==b.length&&Object(o.createElement)("div",{className:"term-select-form-row"},Object(o.createElement)("label",{htmlFor:"tax-selection",className:""},kn("Select Taxonomy","blockspare")),Object(o.createElement)(Ka,{value:b.filter(e=>{let{value:t}=e;return t===n}),onChange:e=>{c({taxType:e&&e.value?e.value:"",categories:[]})},id:"tax-selection",options:b,isMulti:!1,isClearable:!0,maxMenuHeight:300,placeholder:kn("Select Taxonomy","blockspare")})),void 0!==u&&0!==u.length&&"category"!==n&&"post_tag"!==n&&Object(o.createElement)(hn,null,Object(o.createElement)("div",{className:"term-select-form-row"},Object(o.createElement)("label",{htmlFor:"terms-selection",className:""},kn("Select Terms","blockspare")),Object(o.createElement)(Ka,{value:r,onChange:e=>{c({categories:e||[]})},id:"terms-selection",options:u,isMulti:!0,isClearable:!0,maxMenuHeight:300,placeholder:kn("Select","blockspare")})))),(!a||"post"===a&&"category"===n)&&Object(o.createElement)(hn,null,Object(o.createElement)(fn,{placeholder:kn("Filter by Category","blockspare"),restBase:"wp/v2/categories",fieldId:"tax-select-category",value:r,onChange:e=>{c({categories:e||[]})}})),(!a||"post"===a&&"post_tag"===n)&&Object(o.createElement)(hn,null,Object(o.createElement)(fn,{placeholder:kn("Filter by Tag","blockspare"),restBase:"wp/v2/tags",fieldId:"tax-select-tags",value:p,onChange:e=>{c({tags:e||[]})}})))};const{Component:vn}=wp.element,{__:Cn}=wp.i18n,{InspectorControls:On,PanelColorSettings:En}=wp.blockEditor,{PanelBody:xn,RangeControl:wn,SelectControl:Sn,TextControl:Tn,Toolbar:jn,ToolbarGroup:Fn,ToolbarButton:Mn,Flex:Bn,FlexItem:Ln}=wp.components,{addQueryArgs:zn}=wp.url,{apiFetch:Nn}=wp,{postTypes:Pn}=blockspare_globals;class Dn extends vn{imageSizeSelect(){var e,t,a;const o=null===(e=wp)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.select("core/editor"))||void 0===a?void 0:a.getEditorSettings();return an()(io()(null==o?void 0:o.imageSizes,e=>{let{name:t,slug:a}=e;return{value:a,label:t}}))}render(){const{attributes:{searchStyle:e,searchIcon:t,iconOption:a,buttonType:n,buttonIcon:r,placeholder:l,sectionAlign:i,iconSize:s,borderRadius:c,buttonLabel:p,height:b,placeholderFontSize:u,placeholderLoadGoogleFonts:d,placeholderFontFamily:g,placeholderFontWeight:m,placeholderFontSubset:f,placeholderFontSizeType:h,placeholderFontSizeMobile:k,placeholderFontSizeTablet:y,inputFontSize:v,inputLoadGoogleFonts:C,inputFontFamily:O,inputFontWeight:E,inputFontSubset:x,inputFontSizeType:w,inputFontSizeMobile:S,inputFontSizeTablet:T,searchFontSize:j,searchLoadGoogleFonts:F,searchFontFamily:M,searchFontWeight:B,searchFontSubset:L,searchFontSizeType:z,searchFontSizeMobile:N,searchFontSizeTablet:P,iconColor:D,formIconColor:R,closeIconColor:A,bgColor:_,buttonBgColor:I,buttonTextColor:H,placeholderTextColor:G,inputTextColor:W,marginTop:U,marginRight:q,marginBottom:V,marginLeft:$,paddingTop:X,paddingRight:Y,paddingBottom:J,paddingLeft:Z,toggleIconPaddingTop:Q,toggleIconPaddingRight:ee,toggleIconPaddingBottom:te,toggleIconPaddingLeft:ae,searchFormPaddingTop:oe,searchFormPaddingRight:re,searchFormPaddingBottom:le,searchFormPaddingLeft:ie,searchInputPaddingRight:se,searchInputPaddingLeft:pe},taxList:be,taxOptions:ue,taxFilterOptions:de,attributes:ge,latestPosts:me,setAttributes:fe}=this.props,he=[{value:"icon",label:Cn("Icon","blockspare")},{value:"form",label:Cn("Form","blockspare")}],ke=(Cn("Dropdown","blockspare"),Cn("Overlay","blockspare"),Cn("Icon","blockspare"),Cn("Text","blockspare"),e=>fe({sectionAlign:e})),ye={value:D,onChange:e=>fe({iconColor:e}),label:Cn("Icon Color","blockspare")},ve={value:R,onChange:e=>fe({formIconColor:e}),label:Cn("Form Icon Color","blockspare")},Ce={value:A,onChange:e=>fe({closeIconColor:e}),label:Cn("Close Icon Color","blockspare")},Oe={value:_,onChange:e=>fe({bgColor:e}),label:Cn("Background Color","blockspare")},Ee={value:I,onChange:e=>fe({buttonBgColor:e}),label:Cn("Button Background Color","blockspare")},xe={value:H,onChange:e=>fe({buttonTextColor:e}),label:Cn("Button Text Color","blockspare")},we={value:G,onChange:e=>fe({placeholderTextColor:e}),label:Cn("Placeholder Text Color","blockspare")},Se={value:W,onChange:e=>fe({inputTextColor:e}),label:Cn("Input Text Color","blockspare")};return Object(o.createElement)(On,null,Object(o.createElement)("div",{className:"blockspare-posts-block-inspector-wrapper"},Object(o.createElement)(xn,{title:Cn("Search","blockspare"),initialOpen:!1},Object(o.createElement)(Sn,{label:Cn("Layout","blockspare"),value:e,options:he.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>fe({searchStyle:e})}),"icon"===e&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{style:{marginBottom:"24px"}},Object(o.createElement)("label",null,Cn("Select Icon","blockspare")),Object(o.createElement)(K,{name:t,onChangeName:e=>fe({searchIcon:e})})),Object(o.createElement)(wn,{label:Cn("Icon Size","blockspare"),value:s,onChange:e=>fe({iconSize:e}),min:0,step:1,max:100})),Object(o.createElement)(wn,{label:Cn("Border Radius","blockspare"),value:c,onChange:e=>fe({borderRadius:e}),min:0,step:1,max:100}),Object(o.createElement)(Bn,null,Object(o.createElement)(Ln,null,Object(o.createElement)("label",null,"Alignment")),Object(o.createElement)(Ln,null,Object(o.createElement)(jn,{label:"Options",id:"options-toolbar"},Object(o.createElement)(Fn,{style:{margin:0}},Object(o.createElement)(Mn,{icon:"editor-alignleft",label:Cn("Left","blockspare"),onClick:()=>ke("left"),isPressed:"left"===i})),Object(o.createElement)(Fn,{style:{margin:0}},Object(o.createElement)(Mn,{icon:"editor-aligncenter",label:Cn("Center","blockspare"),onClick:()=>ke("center"),isPressed:"center"===i})),Object(o.createElement)(Fn,{style:{margin:0}},Object(o.createElement)(Mn,{icon:"editor-alignright",label:Cn("Right","blockspare"),onClick:()=>ke("right"),isPressed:"right"===i})))))),Object(o.createElement)(xn,{title:Cn("Button Settings","blockspare"),initialOpen:!1},"text"===n&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Tn,{label:Cn("Label","blockspare"),type:"text",value:p,onChange:e=>this.props.setAttributes({buttonLabel:e})}))),Object(o.createElement)(xn,{title:Cn("Input Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Tn,{label:Cn("Placeholder","blockspare"),type:"text",value:l,onChange:e=>this.props.setAttributes({placeholder:e})})),Object(o.createElement)(xn,{title:Cn("Typography","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:Cn("Placeholder Fonts Settings"),attributes:ge,setAttributes:fe,loadGoogleFonts:{value:d,label:Cn("placeholderLoadGoogleFonts")},fontFamily:{value:g,label:Cn("placeholderFontFamily")},fontWeight:{value:m,label:Cn("placeholderFontWeight")},fontSubset:{value:f,label:Cn("placeholderFontSubset")},fontSizeType:{value:h,label:Cn("placeholderFontSizeType")},fontSize:{value:u,label:Cn("placeholderFontSize")},fontSizeMobile:{value:k,label:Cn("placeholderFontSizeMobile")},fontSizeTablet:{value:y,label:Cn("placeholderFontSizeTablet")},disableLineHeight:!0}),Object(o.createElement)(Oo,{label:Cn("Input Fonts Settings"),attributes:ge,setAttributes:fe,loadGoogleFonts:{value:C,label:Cn("inputLoadGoogleFonts")},fontFamily:{value:O,label:Cn("inputFontFamily")},fontWeight:{value:E,label:Cn("inputFontWeight")},fontSubset:{value:x,label:Cn("inputFontSubset")},fontSizeType:{value:w,label:Cn("inputFontSizeType")},fontSize:{value:v,label:Cn("inputFontSize")},fontSizeMobile:{value:S,label:Cn("inputFontSizeMobile")},fontSizeTablet:{value:T,label:Cn("inputFontSizeTablet")},disableLineHeight:!0}),"text"===n&&Object(o.createElement)(Oo,{label:Cn("Search Fonts Settings"),attributes:ge,setAttributes:fe,loadGoogleFonts:{value:F,label:Cn("searchLoadGoogleFonts")},fontFamily:{value:M,label:Cn("searchFontFamily")},fontWeight:{value:B,label:Cn("searchFontWeight")},fontSubset:{value:L,label:Cn("searchFontSubset")},fontSizeType:{value:z,label:Cn("searchFontSizeType")},fontSize:{value:j,label:Cn("searchFontSize")},fontSizeMobile:{value:N,label:Cn("searchFontSizeMobile")},fontSizeTablet:{value:P,label:Cn("searchFontSizeTablet")},disableLineHeight:!0})),Object(o.createElement)(xn,{title:Cn("Color Settings","blockspare"),initialOpen:!1},Object(o.createElement)(En,{title:Cn("Colors","blockspare"),initialOpen:!0,colorSettings:[Se,we,Ee,"text"===n?xe:"",Oe,"icon"===n?ve:"","icon"===e?ye:"","icon"===e&&"overlay"===a?Ce:""]})),Object(o.createElement)(xn,{title:Cn("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(xn,{title:Cn("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(xn,{title:Cn("Gap Settings","blockspare"),initialOpen:!1},"icon"===e&&Object(o.createElement)(xn,{title:Cn("Toggle Icon Padding","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:Q,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>fe({toggleIconPaddingTop:e}),paddingEnableRight:!0,paddingRight:ee,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>fe({toggleIconPaddingRight:e}),paddingEnableBottom:!0,paddingBottom:te,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>fe({toggleIconPaddingBottom:e}),paddingEnableLeft:!0,paddingLeft:ae,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>fe({toggleIconPaddingLeft:e})})),Object(o.createElement)(xn,{title:Cn("Search Input Padding","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableRight:!0,paddingRight:se,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>fe({searchInputPaddingRight:e}),paddingEnableLeft:!0,paddingLeft:pe,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>fe({searchInputPaddingLeft:e})})),Object(o.createElement)(xn,{title:Cn("Search Form Padding","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:oe,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>fe({searchFormPaddingTop:e}),paddingEnableRight:!0,paddingRight:re,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>fe({searchFormPaddingRight:e}),paddingEnableBottom:!0,paddingBottom:le,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>fe({searchFormPaddingBottom:e}),paddingEnableLeft:!0,paddingLeft:ie,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>fe({searchFormPaddingLeft:e})})),Object(o.createElement)(xn,{title:Cn("Block Padding","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:X,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>fe({paddingTop:e}),paddingEnableRight:!0,paddingRight:Y,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>fe({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:J,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>fe({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:Z,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>fe({paddingLeft:e})})),Object(o.createElement)(xn,{title:Cn("Block Margin","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:U,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>fe({marginTop:e}),marginEnableRight:!0,marginRight:q,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>fe({marginRight:e}),marginEnableBottom:!0,marginBottom:V,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>fe({marginBottom:e}),marginEnableLeft:!0,marginLeft:$,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>fe({marginLeft:e})})))))}}const{__:Rn}=wp.i18n,{Component:An}=wp.element,{compose:In}=wp.compose;var Hn=In(W,I(e=>{const{iconSize:t,borderRadius:a,height:o,searchStyle:n,buttonType:r,placeholderFontSize:l,placeholderLoadGoogleFonts:i,placeholderFontFamily:s,placeholderFontWeight:c,placeholderFontSubset:p,placeholderFontSizeType:b,placeholderFontSizeMobile:u,placeholderFontSizeTablet:d,inputFontSize:g,inputLoadGoogleFonts:m,inputFontFamily:f,inputFontWeight:h,inputFontSubset:k,inputFontSizeType:y,inputFontSizeMobile:v,inputFontSizeTablet:C,searchFontSize:O,searchLoadGoogleFonts:E,searchFontFamily:x,searchFontWeight:w,searchFontSubset:S,searchFontSizeType:T,searchFontSizeMobile:j,searchFontSizeTablet:F,iconColor:M,formIconColor:B,closeIconColor:L,bgColor:z,buttonBgColor:N,buttonTextColor:P,placeholderTextColor:D,inputTextColor:R,marginTop:A,marginRight:_,marginBottom:I,marginLeft:H,paddingTop:G,paddingRight:W,paddingBottom:U,paddingLeft:q,toggleIconPaddingTop:V,toggleIconPaddingRight:$,toggleIconPaddingBottom:X,toggleIconPaddingLeft:Y,searchFormPaddingTop:J,searchFormPaddingRight:K,searchFormPaddingBottom:Z,searchFormPaddingLeft:Q,searchInputPaddingRight:ee,searchInputPaddingLeft:te}=e.attributes,ae=[];return ae.push({".bs-search-wrapper .bs-search-icon--toggle":{fontSize:t+"px"},".bs-search-wrapper .site-search-form":{borderRadius:a+"px"},".bs-search-wrapper .bs-search-form-header .site-search-field":{height:o+"px"}}),ae.push({".bs-search-wrapper .bs--search-sidebar-wrapper .site-search-form":{backgroundColor:z},".bs-search-wrapper .bs--search-sidebar-wrapper .btn-bs-search-form":{backgroundColor:N},".bs-search-wrapper .site-search-field::placeholder":{color:D},".bs-search-wrapper .site-search-field":{color:R},".bs-search-wrapper .bs--site-search-close":{color:L}}),"icon"!==n&&"icon"!==r||ae.push({".bs-search-wrapper .bs-search-icon--toggle":{color:M},".bs-search-wrapper .btn-bs-search-form::before":{color:B}}),"text"===r&&ae.push({".bs-search-wrapper .bs--search-sidebar-wrapper .btn-bs-search-form":{color:P}}),ae.push({".bs-search-wrapper .bs-search-icon--toggle":{paddingTop:V?V+"px":"0",paddingRight:$?$+"px":"0",paddingBottom:X?X+"px":"0",paddingLeft:Y?Y+"px":"0"},".bs-search-wrapper .bs--search-sidebar-wrapper .site-search-form":{paddingTop:J?J+"px":"0",paddingRight:K?K+"px":"0",paddingBottom:Z?Z+"px":"0",paddingLeft:Q?Q+"px":"0"},".bs-search-wrapper":{marginTop:A?A+"px":"0",marginRight:_?_+"px":"0",marginBottom:I?I+"px":"0",marginLeft:H?H+"px":"0",paddingTop:G?G+"px":"0",paddingRight:W?W+"px":"0",paddingBottom:U?U+"px":"0",paddingLeft:q?q+"px":"0"},".bs-search-wrapper .site-search-form .site-search-field":{paddingRight:ee?ee+"px":"0",paddingLeft:te?te+"px":"0"}}),ae.push({".bs-search-wrapper .site-search-field::placeholder":{fontSize:l+b,...Ro(s),...Ao(c)},".bs-search-wrapper .site-search-field":{fontSize:g+y,...Ro(f),...Ao(h)},".bs-search-wrapper .bs--search-sidebar-wrapper .btn-bs-search-form:not(.fas)":{fontSize:O+T,...Ro(x),...Ao(w)},tablet:{".bs-search-wrapper .site-search-field::placeholder":{fontSize:d+b},".bs-search-wrapper .site-search-field":{fontSize:C+y},".bs-search-wrapper .bs--search-sidebar-wrapper .btn-bs-search-form:not(.fas)":{fontSize:F+T}},mobile:{".bs-search-wrapper .site-search-field::placeholder":{fontSize:u+b},".bs-search-wrapper .site-search-field":{fontSize:v+y},".bs-search-wrapper .bs--search-sidebar-wrapper .btn-bs-search-form:not(.fas)":{fontSize:j+T}}}),Do.a.all(ae)}))(class extends An{constructor(){super(...arguments)}render(){const{attributes:{sectionTag:e,toggleSearch:t,searchStyle:a,searchIcon:n,iconOption:r,sectionAlign:l,buttonType:i,buttonIcon:s,buttonLabel:c,placeholder:p,animation:b,align:u,placeholderFontFamily:d,placeholderFontWeight:g,placeholderLoadGoogleFonts:m,searchFontFamily:f,searchFontWeight:h,searchLoadGoogleFonts:k,inputFontFamily:v,inputFontWeight:C,inputLoadGoogleFonts:O,blockHoverEffect:E},className:x,attributes:w}=this.props;let S,T,j;if(1==m){const e={google:{families:[d+(g?":"+g:"")]}};S=Object(o.createElement)(Uo,{config:e})}if(1==k){const e={google:{families:[f+(h?":"+h:"")]}};T=Object(o.createElement)(Uo,{config:e})}if(1==O){const e={google:{families:[v+(C?":"+C:"")]}};j=Object(o.createElement)(Uo,{config:e})}const F=e||"section",M=y()([x],"align"+u,E),B=Object(o.createElement)("div",{className:"bs--search-sidebar-wrapper","aria-expanded":"false",role:"form"},Object(o.createElement)("form",{className:"search-form site-search-form blockspare-hover-item"},Object(o.createElement)("span",{className:"screen-reader-text"},"Search for:"),Object(o.createElement)("input",{type:"text",className:"search-field site-search-field",placeholder:p,name:"s"}),Object(o.createElement)("button",{type:"button",className:"btn-bs-search-form "+("icon"===i?s:"")},"icon"===i&&Object(o.createElement)("span",{className:"screen-reader-text"},"Search"),"text"===i&&(""!==c?c:"Search"))));return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Dn,this.props),Object(o.createElement)("div",{className:M},this.props.styles,Object(o.createElement)(F,{className:y()(this.props.className,"bs-search-wrapper","bs-grid-"+l)},Object(o.createElement)("div",{className:y()("icon"===a&&"dropdown"===r?"bs-search-dropdown-toggle":"","icon"===a&&"overlay"===r?"bs-site-search-toggle":"","form"===a?"bs-search-form-header":"","bs-search-"+l,"dropdown"===r&&t?"show":"",b?"blockspare-block-animation":"",b)},"icon"===a&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("button",{className:"bs-search-icon--toggle blockspare-hover-item blockspare-hover-text "+n,onClick:()=>this.props.setAttributes({toggleSearch:!t})},Object(o.createElement)("span",{className:"screen-reader-text"},"Enter Keyword")),"dropdown"===r&&Object(o.createElement)("div",{className:"bs-search--toggle-dropdown"},Object(o.createElement)("div",{className:"bs-search--toggle-dropdown-wrapper"},B))),"form"===a&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"bs-search-form--wrapper"},B))),"icon"===a&&"overlay"===r&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"bs-search--toggle "+("overlay"===r&&t?"show":"")},Object(o.createElement)("div",{className:"bs-search-toggle--wrapper"},B),Object(o.createElement)("button",{className:"bs--site-search-close fas fa-times",onClick:()=>this.props.setAttributes({toggleSearch:!1})},Object(o.createElement)("span",{className:"screen-reader-text"},"Close")))))),S,T,j)}}),Gn=(a(339),a(271));const{__:Wn}=wp.i18n,{name:Un,category:qn,attributes:Vn}=Gn,{registerBlockType:$n}=wp.blocks;$n(Un,{title:Wn("Search","blockspare"),description:Wn("Search","blockspare"),category:qn,icon:s.a.search,attributes:Vn,supports:{align:["center","wide","full"]},example:{attributes:{design:"style-1"}},edit:e=>Object(o.createElement)(Hn,e),save:()=>null});const{Component:Xn}=wp.element,{__:Yn}=wp.i18n,{InspectorControls:Jn,PanelColorSettings:Kn}=wp.blockEditor,{PanelBody:Zn,RangeControl:Qn,SelectControl:er,ToggleControl:tr}=wp.components,{addQueryArgs:ar}=wp.url,{apiFetch:or}=wp,{postTypes:nr}=blockspare_globals;class rr extends Xn{imageSizeSelect(){var e,t,a;const o=null===(e=wp)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.select("core/editor"))||void 0===a?void 0:a.getEditorSettings();return an()(io()(null==o?void 0:o.imageSizes,e=>{let{name:t,slug:a}=e;return{value:a,label:t}}))}render(){const{attributes:{tagStyle:e,directionOption:t,column:a,filterOption:n,orderOption:r,primaryIconToggle:l,primaryIcon:i,tagsIconToggle:s,tagsIcon:c,tagsNumber:p,popularTagsFontSize:b,popularTagsLoadGoogleFonts:u,popularTagsFontFamily:d,popularTagsFontWeight:g,popularTagsFontSubset:m,popularTagsFontSizeType:f,popularTagsFontSizeMobile:h,popularTagsFontSizeTablet:k,tagsFontSize:y,tagsLoadGoogleFonts:v,tagsFontFamily:C,tagsFontWeight:O,tagsFontSubset:E,tagsFontSizeType:x,tagsFontSizeMobile:w,tagsFontSizeTablet:S,popularTagColor:T,popularTagHoverColor:j,tagsColor:F,tagsHoverColor:M,primaryIconColor:B,secondaryIconColor:L,secondaryColor:z,marginTop:N,marginRight:P,marginBottom:D,marginLeft:R,paddingTop:A,paddingRight:_,paddingBottom:I,paddingLeft:H,borderRadius:G},taxList:W,taxOptions:U,taxFilterOptions:q,attributes:V,latestPosts:$,setAttributes:X}=this.props,Y=[{value:"popular-tag-style-1",label:Yn("Layout 1","blockspare")},{value:"popular-tag-style-2",label:Yn("Layout 2","blockspare")}],J=(Yn("Default","blockspare"),Yn("Rounded","blockspare"),Yn("Circular","blockspare"),Yn("Rectangular","blockspare"),Yn("Horizontal","blockspare"),Yn("Vertical","blockspare"),Yn("Column 1","blockspare"),Yn("Column 2","blockspare"),Yn("Column 3","blockspare"),Yn("Column 4","blockspare"),[{value:"categories",label:Yn("Categories","blockspare")},{value:"tags",label:Yn("Tags","blockspare")}]),Z=[{value:"popular",label:Yn("Popular","blockspare")},{value:"latest",label:Yn("Latest","blockspare")}],Q={value:T,onChange:e=>X({popularTagColor:e}),label:Yn("Section Title Color","blockspare")},ee={value:F,onChange:e=>X({tagsColor:e}),label:Yn("Items Color","blockspare")},te={value:M,onChange:e=>X({tagsHoverColor:e}),label:Yn("Items Hover Color","blockspare")},ae={value:B,onChange:e=>X({primaryIconColor:e}),label:Yn("Primary Icon Color","blockspare")},oe=(Yn("Secondary Icon Color","blockspare"),{value:z,onChange:e=>X({secondaryColor:e}),label:Yn("Primary Color","blockspare")});return Object(o.createElement)(Jn,null,Object(o.createElement)("div",{className:"blockspare-posts-block-inspector-wrapper"},Object(o.createElement)(Zn,{title:Yn("General","blockspare"),initialOpen:!1},Object(o.createElement)(er,{label:Yn("Layout Style","blockspare"),value:e,options:Y.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>X({tagStyle:e})}),Object(o.createElement)(er,{label:Yn("Filter by","blockspare"),value:n,options:J.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>X({filterOption:e})}),Object(o.createElement)(er,{label:Yn("Order by","blockspare"),value:r,options:Z.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>X({orderOption:e})}),Object(o.createElement)(Qn,{label:Yn("Number of tags","blockspare"),value:p,onChange:e=>X({tagsNumber:e}),min:1,step:1,max:100}),Object(o.createElement)(tr,{label:Yn("Primary Icon","blockspare"),checked:l,onChange:()=>this.props.setAttributes({primaryIconToggle:!l})}),l&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{style:{marginBottom:"24px"}},Object(o.createElement)(K,{name:i,onChangeName:e=>X({primaryIcon:e})})))),Object(o.createElement)(Zn,{title:Yn("Typography","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:Yn("Section Title Typography"),attributes:V,setAttributes:X,loadGoogleFonts:{value:u,label:Yn("popularTagsLoadGoogleFonts")},fontFamily:{value:d,label:Yn("popularTagsFontFamily")},fontWeight:{value:g,label:Yn("popularTagsFontWeight")},fontSubset:{value:m,label:Yn("popularTagsFontSubset")},fontSizeType:{value:f,label:Yn("popularTagsFontSizeType")},fontSize:{value:b,label:Yn("popularTagsFontSize")},fontSizeMobile:{value:h,label:Yn("popularTagsFontSizeMobile")},fontSizeTablet:{value:k,label:Yn("popularTagsFontSizeTablet")},disableLineHeight:!0}),Object(o.createElement)(Oo,{label:Yn("Items Typography"),attributes:V,setAttributes:X,loadGoogleFonts:{value:v,label:Yn("tagsLoadGoogleFonts")},fontFamily:{value:C,label:Yn("tagsFontFamily")},fontWeight:{value:O,label:Yn("tagsFontWeight")},fontSubset:{value:E,label:Yn("tagsFontSubset")},fontSizeType:{value:x,label:Yn("tagsFontSizeType")},fontSize:{value:y,label:Yn("tagsFontSize")},fontSizeMobile:{value:w,label:Yn("tagsFontSizeMobile")},fontSizeTablet:{value:S,label:Yn("tagsFontSizeTablet")},disableLineHeight:!0})),Object(o.createElement)(Zn,{title:Yn("Color Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Kn,{title:Yn("Colors","blockspare"),initialOpen:!0,colorSettings:[Q,"popular-tag-style-1"!==e?oe:"",l?ae:"",ee,te]})),Object(o.createElement)(Zn,{title:Yn("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(Zn,{title:Yn("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(Zn,{title:Yn("Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Zn,{title:Yn("Block Padding","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:A,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>X({paddingTop:e}),paddingEnableRight:!0,paddingRight:_,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>X({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:I,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>X({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:H,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>X({paddingLeft:e})})),Object(o.createElement)(Zn,{title:Yn("Block Margin","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:N,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>X({marginTop:e}),marginEnableRight:!0,marginRight:P,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>X({marginRight:e}),marginEnableBottom:!0,marginBottom:D,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>X({marginBottom:e}),marginEnableLeft:!0,marginLeft:R,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>X({marginLeft:e})})))))}}const{__:lr}=wp.i18n,{Component:ir}=wp.element,{compose:sr}=wp.compose,{withSelect:cr}=wp.data,{Placeholder:pr,Spinner:br}=wp.components;var ur=sr(cr((e,t)=>{const{tagsNumber:a,orderOption:o,filterOption:n}=t.attributes,{isResolving:r}=e("core/data");let l={per_page:a};"popular"===o&&(l.order="desc",l.orderby="count");const i="categories"===n?"category":"post_tag";return{data:e("core").getEntityRecords("taxonomy",i,l),isRequesting:r("core","getEntityRecords",["taxonomy",i,l])}}),W,I(e=>{const{tagStyle:t,popularTagsFontSize:a,popularTagsFontFamily:o,popularTagsFontWeight:n,popularTagsFontSizeType:r,popularTagsFontSizeMobile:l,popularTagsFontSizeTablet:i,tagsFontSize:s,tagsFontFamily:c,tagsFontWeight:p,tagsFontSizeType:b,tagsFontSizeMobile:u,tagsFontSizeTablet:d,popularTagColor:g,popularTagHoverColor:m,tagsColor:f,tagsHoverColor:h,primaryIconColor:k,secondaryIconColor:y,secondaryColor:v,marginTop:C,marginRight:O,marginBottom:E,marginLeft:x,paddingTop:w,paddingRight:S,paddingBottom:T,paddingLeft:j}=e.attributes,F=[];return F.push({".bs-popular-tags-wrapper .bs-tag-title-wrapper .bs-tag-title-text":{color:g},".bs-popular-tags-wrapper .bs-tag-wrapper .bs-tag-text":{color:f},".bs-popular-tags-wrapper .bs-tag-wrapper .bs-tag-text:hover":{color:h},".bs-popular-tags-wrapper .bs-primary-icon":{color:k},".bs-popular-tags-wrapper .bs-secondary-icon":{color:y}}),"popular-tag-style-1"!==t&&F.push({".bs-popular-tags-wrapper .bs-popular-taxonomies-lists .bs-popular-tags-text":{backgroundColor:v}}),F.push({".bs-popular-tags-wrapper":{marginTop:C?C+"px":"0",marginRight:O?O+"px":"0",marginBottom:E?E+"px":"0",marginLeft:x?x+"px":"0",paddingTop:w?w+"px":"0",paddingRight:S?S+"px":"0",paddingBottom:T?T+"px":"0",paddingLeft:j?j+"px":"0"}}),F.push({".bs-popular-tags-wrapper .bs-popular-tags-text":{fontSize:a+r,...Ro(o),...Ao(n)},".bs-popular-tags-wrapper .bs-secondry-wrap":{fontSize:s+b,...Ro(c),...Ao(p)},tablet:{".bs-popular-tags-wrapper .bs-popular-tags-text":{fontSize:i+r},".bs-popular-tags-wrapper .bs-secondry-wrap":{fontSize:d+b}},mobile:{".bs-popular-tags-wrapper .bs-popular-tags-text":{fontSize:l+r},".bs-popular-tags-wrapper .bs-secondry-wrap":{fontSize:u+b}}}),Do.a.all(F)}))(class extends ir{constructor(){super(...arguments)}render(){const{attributes:{sectionTag:e,tagStyle:t,directionOption:a,animation:n,primaryIcon:r,tagsNumber:l,primaryIconToggle:i,tagsIconToggle:s,orderOption:c,filterOption:p,tagsIcon:b,column:u,borderRadius:d,popularTagsLoadGoogleFonts:g,popularTagsFontFamily:m,popularTagsFontWeight:f,tagsFontFamily:h,tagsFontWeight:k,tagsLoadGoogleFonts:v,align:C,blockHoverEffect:O},className:E,attributes:x,data:w,isRequesting:S,setAttributes:T}=this.props;let j,F;if(1==g){const e={google:{families:[m+(f?":"+f:"")]}};j=Object(o.createElement)(Uo,{config:e})}if(1==v){const e={google:{families:[h+(k?":"+k:"")]}};F=Object(o.createElement)(Uo,{config:e})}const M=e||"section",B=y()([E],"align"+C,n?"blockspare-block-animation":"",n,O);return Array.isArray(w)&&w.length?Object(o.createElement)(o.Fragment,null,Object(o.createElement)(rr,this.props),Object(o.createElement)("div",{className:B},this.props.styles,Object(o.createElement)(M,{className:y()(this.props.className,"bs-popular-tags-wrapper",t,!0!==i?"bs-tag-without-icon-wrapper":"")},Object(o.createElement)("div",{className:`bs-popular-taxonomies-lists ${a} ${"popular-tag-style-1"!==t?d:""}`},Object(o.createElement)("div",{className:"bs-popular-tags-text"},i&&Object(o.createElement)("div",{className:"bs-primary-icon-wrapper"},Object(o.createElement)("i",{className:"bs-primary-icon "+r})),Object(o.createElement)("div",{className:"bs-tag-title-wrapper "},Object(o.createElement)("span",{className:"bs-tag-title-text"},c," ",p))),Object(o.createElement)("ul",{className:"popular-vertical"===a&&"bs-column-1"!==u?u:"popular-vertical"},w.map(e=>Object(o.createElement)("li",{key:e.id},Object(o.createElement)("span",{className:"bs-secondry-wrap blockspare-hover-item blockspare-hover-text"},s&&Object(o.createElement)("i",{className:"bs-secondary-icon "+b}),Object(o.createElement)("span",null,Object(o.createElement)("a",{className:"bs-tag-wrapper",href:"#"},Object(o.createElement)("span",{className:"bs-tag-text"},e.name)))))))))),j,F):Object(o.createElement)(o.Fragment,null,Object(o.createElement)(rr,{setAttributes:T,...this.props}),Object(o.createElement)(pr,{icon:"admin-post",label:lr("Popular Tag/Category","blockspare")},Array.isArray(w)?lr("No posts found.","blockspare"):Object(o.createElement)(br,null)))}}),dr=(a(340),a(272));const{__:gr}=wp.i18n,{name:mr,category:fr,attributes:hr}=dr,{registerBlockType:kr}=wp.blocks;kr(mr,{title:gr("Popular Tag/Category","blockspare"),description:gr("Popular tags and categories","blockspare"),category:fr,icon:s.a.tag_and_category,attributes:hr,supports:{align:["center","wide","full"]},example:{attributes:{design:"style-1"}},edit:e=>Object(o.createElement)(ur,e),save:()=>null}),a(262),a(341);const{Fragment:yr}=wp.element;var vr=e=>Object(o.createElement)(yr,null,Object(o.createElement)("div",{className:"premium-feature"},Object(o.createElement)("p",null,s.a.premium),Object(o.createElement)("span",null,"Upgrade to Pro"),Object(o.createElement)("h4",null,"Blockspare - Beautiful Page Building Gutenberg Blocks for WordPress."),Object(o.createElement)("p",null,"Want more advanced controls for this block?"),Object(o.createElement)("p",{className:"butten-text"}," ",Object(o.createElement)("a",{href:"https://blockspare.com/",target:"_blank"},"Explore More"))));const{__:Cr}=wp.i18n,{Component:Or}=wp.element,{InspectorControls:Er}=wp.blockEditor,{PanelBody:xr}=wp.components;class wr extends Or{constructor(e){super(...arguments)}render(){const{attributes:{paddingTop:e,paddingRight:t,paddingBottom:a,paddingLeft:n,marginTop:r,marginRight:l,marginBottom:i,marginLeft:s,titleFontSize:c,titleLoadGoogleFonts:p,titleFontSizeMobile:b,titleFontSizeTablet:u,titleFontFamily:d,titleFontWeight:g,titleFontSubset:m,titleFontSizeType:f},attributes:h,setAttributes:k}=this.props;return Object(o.createElement)(Er,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"accordion"}),Object(o.createElement)(xr,{title:Cr("Typography settings","blockspare"),initialOpen:!0},Object(o.createElement)(Oo,{label:Cr("Title Fonts Settings"),attributes:h,setAttributes:k,loadGoogleFonts:{value:p,label:Cr("titleLoadGoogleFonts")},fontFamily:{value:d,label:Cr("titleFontFamily")},fontWeight:{value:g,label:Cr("titleFontWeight")},fontSubset:{value:m,label:Cr("titleFontSubset")},fontSizeType:{value:f,label:Cr("titleFontSizeType")},fontSize:{value:c,label:Cr("titleFontSize")},fontSizeMobile:{value:b,label:Cr("titleFontSizeMobile")},fontSizeTablet:{value:u,label:Cr("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),Object(o.createElement)(xr,{title:Cr("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(xr,{title:Cr("Block Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(xr,{title:Cr("Padding Settings","blockspare"),initialOpen:!0},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:e,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>k({paddingTop:e}),paddingEnableRight:!0,paddingRight:t,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>k({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:a,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>k({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:n,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>k({paddingLeft:e})})),Object(o.createElement)(xr,{title:Cr("Margin Settings","blockspare"),initialOpen:!0},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:r,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>k({marginTop:e}),marginEnableRight:!0,marginRight:l,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>k({marginRight:e}),marginEnableBottom:!0,marginBottom:i,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>k({marginBottom:e}),marginEnableLeft:!0,marginLeft:s,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>k({marginLeft:e})})))))}}var Sr=a(273),Tr=["fa fa-plus","fa fa-plus-circle","fas fa-arrow-up","fa fa-plus-square","far fa-arrow-alt-circle-right","fa fa-arrow-circle-right","fa fa-angle-right","fa fa-angle-double-right","fa fa-chevron-right","fa fa-chevron-circle-right","fa fa-caret-right","fas fa-caret-up"];const{__:jr}=wp.i18n,{Component:Fr,Fragment:Mr}=wp.element;var Br=class extends Fr{constructor(e){super(e),this.state={isOpen:!1,filterText:"",showIcons:!1}}render(){const{value:e,disableToggle:t,colorSettings:a,iconColor:n,onColorChange:r}=this.props,{filterText:l}=this.state;var i=[];return l.length>2?Tr.forEach(e=>{e.includes(l)&&i.push(e)}):i=Tr,Object(o.createElement)("div",{className:"blockspare-field blockspare-field-icon-list "+(t?"":"blockspare-toggle-enabled")},this.props.label&&Object(o.createElement)(Mr,null,t?Object(o.createElement)("label",null,this.props.label):Object(o.createElement)(Toggle,{label:this.props.label,className:"blockspare-icon-list-toggle",value:!!this.props.value,onChange:()=>this.props.onChange(this.props.value?"":" ")})),a&&Object(o.createElement)(Color,{label:jr(" Color"),value:n||"#ccc",onChange:e=>r(e)}),(t||""!=this.props.value)&&Object(o.createElement)("div",{className:"blockspare-icon-list-wrapper"},Object(o.createElement)("input",{type:"text",value:this.state.filterText,placeholder:"Search...",onChange:e=>this.setState({filterText:e.target.value}),autoComplete:"off"}),Object(o.createElement)("div",{className:"blockspare-icon-list-icons"},i.map(t=>Object(o.createElement)("span",{className:e==t?"blockspare-active":"",onClick:e=>{this.props.onChange(t)}},Object(o.createElement)("span",{className:t}))))))}};const{__:Lr}=wp.i18n,{compose:zr}=wp.compose,{withSelect:Nr,withDispatch:Pr}=wp.data,{Component:Dr,Fragment:Rr}=wp.element,{Button:Ar,PanelBody:_r,SelectControl:Ir,RangeControl:Hr}=wp.components,{InnerBlocks:Gr,RichText:Wr,InspectorControls:Ur,PanelColorSettings:qr}=wp.blockEditor;var Vr=zr([Nr((e,t)=>{const{clientId:a}=t,{getBlockHierarchyRootClientId:o,getBlock:n,isBlockSelected:r,hasSelectedInnerBlock:l}=e("core/block-editor");return{block:n(a),isSelectedBlockInRoot:r(a)||l(a,!0),rootBlock:a?n(o(a)):null}}),Pr(e=>{const{removeBlock:t,updateBlockAttributes:a}=e("core/block-editor");return{removeBlock:t,updateBlockAttributes:a}})])(class extends Dr{constructor(){super(...arguments),this.findParentAccordion=this.findParentAccordion.bind(this),this.state={device:"md"}}componentDidMount(){const{setAttributes:e,clientId:t,attributes:{uniqueId:a}}=this.props,o=t.substr(0,6);a?a&&a!=o&&e({uniqueId:o}):e({uniqueId:o})}findParentAccordion(e){const{block:t}=this.props;let a=!1;return e.innerBlocks&&e.innerBlocks.length&&e.innerBlocks.forEach(o=>{a||o.clientId!==t.clientId?a||(a=this.findParentAccordion(o)):a=e}),a}setGlobalSettings(e,t){const{updateBlockAttributes:a}=this.props,o=this.findParentAccordion(this.props.rootBlock);o.innerBlocks&&o.innerBlocks.length&&o.innerBlocks.forEach(o=>{a(o.clientId,{[e]:t})})}updateRootBlock(e,t){const{updateBlockAttributes:a}=this.props;a(this.findParentAccordion(this.props.rootBlock).clientId,{[e]:t})}updateItemNumber(e){const{updateBlockAttributes:t}=this.props,a=this.findParentAccordion(this.props.rootBlock);for(;e<a.innerBlocks.length;)t(a.innerBlocks[e].clientId,{itemNumber:a.innerBlocks[e].attributes.itemNumber-1}),e++}_onClickLabel(){const{clientId:e,rootBlock:t,attributes:a,setAttributes:o,updateBlockAttributes:n}=this.props,r=this.findParentAccordion(this.props.rootBlock),{itemToggle:l}=t.attributes;l?r.innerBlocks.forEach(t=>{const o=t.clientId==e&&!a.active;n(t.clientId,{active:o})}):o({active:!a.active})}render(){const{rootBlock:e,attributes:{active:t,uniqueId:a,itemNumber:n,defaultText:r,fillType:l,heading:i,name:s,iconPosition:c,panelColor:p,panelActiveColor:b,textColor:u,marginBottom:d,activeTextColor:g,panelBackGroundColor:m,blockHoverEffect:f},setAttributes:h,isSelected:k,isSelectedBlockInRoot:y}=this.props;let v="";v=b||"#8b249c";let C="#3c1a5b";p&&(C=p);let O="#fff";g&&(O=g);let E="#fff";u&&(E=u);let x="#fff";m&&(x=m);const w=`blockspare-accordion-item blockspare-hover-item blockspare-type-${l} ${t?"blockspare-accordion-active":""}`,S={backgroundColor:1==t?v:C},T=[{value:"blockspare-left",label:Lr("Left","blockspare")},{value:"blockspare-right",label:Lr("Right","blockspare")}],j={marginBottom:d+"px"};return Object(o.createElement)(Rr,null,Object(o.createElement)(Ur,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(_r,{title:Lr("Color settings","blockspare"),initialOpen:!0},Object(o.createElement)(qr,{title:Lr("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:u,onChange:e=>this.setGlobalSettings("textColor",e),label:Lr("Text Color","blockspare")},{value:g,onChange:e=>this.setGlobalSettings("activeTextColor",e),label:Lr("Active Text Color","blockspare")},{value:b,onChange:e=>this.setGlobalSettings("panelActiveColor",e),label:Lr("Active Panel Color","blockspare")},{value:p,onChange:e=>this.setGlobalSettings("panelColor",e),label:Lr("Panel Color","blockspare")}]})),Object(o.createElement)(_r,{title:Lr("Icon settings","blockspare"),initialOpen:!1},Object(o.createElement)(Br,{value:s,onChange:e=>this.setGlobalSettings("name",e)}),Object(o.createElement)(Ir,{label:Lr("Choose Position","blockspare"),options:T,value:c,onChange:e=>this.setGlobalSettings("iconPosition",e)})),Object(o.createElement)(_r,{title:Lr("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(_r,{title:Lr("Gaps settings","blockspare"),initialOpen:!1},Object(o.createElement)(Hr,{label:Lr("Space","blockspare"),value:d,min:2,step:5,max:50,onChange:e=>this.setGlobalSettings("marginBottom",e)})))),Object(o.createElement)("div",{className:`blockspare-block-${a} ${f}`},Object(o.createElement)("div",{className:w,style:j},Object(o.createElement)("div",{className:"blockspare-accordion-panel "+c,style:S},Object(o.createElement)("span",{className:"blockspare-accordion-panel-handler",onClick:()=>this._onClickLabel(),role:"button",style:{color:t?O:E}},s&&Object(o.createElement)("span",{className:"blockspare-accordion-icon  "+s}),Object(o.createElement)(Wr,{tagName:"span",placeholder:Lr("Add Accordion Item.."),className:"blockspare-accordion-panel-handler-label",value:i,onChange:e=>h({heading:e}),allowedFormats:["bold","italic","strikethrough"],isSelected:k,keepPlaceholderOnFocus:!0,onClick:()=>this.updateLabel()})),y&&Object(o.createElement)(Ar,{onClick:()=>{const e=this.findParentAccordion(this.props.rootBlock);e&&e.clientId&&(this.updateItemNumber(n),this.props.removeBlock(this.props.clientId),e.innerBlocks.length<=1&&this.props.removeBlock(e.clientId))},className:"blockspare-accordion-item-remove-button"},Object(o.createElement)("i",{className:"fa fa-times"}))),Object(o.createElement)("div",{className:"blockspare-accordion-body",style:{backgroundColor:x},"data-bg":x},Object(o.createElement)(Gr,{template:r?[["core/paragraph",{content:r,customFontSize:18}]]:"",templateLock:!1})))))}});const{Component:$r}=wp.element,{InnerBlocks:Xr,RichText:Yr}=wp.blockEditor;const{__:Jr}=wp.i18n,{registerBlockType:Kr}=wp.blocks,{category:Zr,attributes:Qr}=Sr,el={title:Jr("Accordion","blockspare"),description:Jr("Display creative collapsible texts Accordion.","blockspare"),parent:["blockspare/blockspare-accordion"],icon:s.a.accordion,category:Zr,supports:{html:!1,inserter:!1,reusable:!1},attributes:Qr,edit:Vr,save:class extends $r{render(){const{uniqueId:e,itemNumber:t,heading:a,name:n,iconPosition:r,fillType:l,active:i,openFirstItem:s,panelColor:c,panelActiveColor:p,textColor:b,marginBottom:u,activeTextColor:d,panelBackGroundColor:g,defaultTextSize:m,blockHoverEffect:f}=this.props.attributes;let h="";h=p||"#8b249c";let k="#3c1a5b";c&&(k=c);let y="#fff";d&&(y=d);let v="#fff";b&&(v=b);const C=`blockspare-accordion-item blockspare-hover-item blockspare-type-${l} `,O={backgroundColor:k},E={marginBottom:u+"px"};let x="#fff";return g&&(x=g),Object(o.createElement)("div",{className:`blockspare-block-${e} ${f}`},Object(o.createElement)("div",{className:C,"data-act-color":y,"data-txt-color":v,"data-active":h,"data-pan":k,style:E},Object(o.createElement)("div",{className:"blockspare-accordion-panel  "+r,style:O},Object(o.createElement)("span",{className:"blockspare-accordion-panel-handler",role:"button",style:{color:v}},n&&Object(o.createElement)("span",{className:"blockspare-accordion-icon "+n}),Object(o.createElement)(Yr.Content,{tagName:"span",className:"blockspare-accordion-panel-handler-label",value:a}))),Object(o.createElement)("div",{className:"blockspare-accordion-body",style:{backgroundColor:x},"data-bg":x},Object(o.createElement)(Xr.Content,null))))}}};Kr("blockspare/accordion-item",el);var tl=e=>{const{paddingTop:t,paddingRight:a,paddingBottom:o,paddingLeft:n,marginTop:r,marginRight:l,marginBottom:i,marginLeft:s,titleFontSize:c,titleFontFamily:p,titleFontWeight:b,titleFontSizeType:u,titleFontSizeMobile:d,titleFontSizeTablet:g}=e.attributes,m=[];return m.push({".blockspare-block-accordion-wraps":{paddingTop:t?t+"px":"0px",paddingRight:a?a+"px":"0px",paddingBottom:o?o+"px":"0px",paddingLeft:n?n+"px":"0px",marginTop:r?r+"px":void 0,marginRight:l?l+"px":void 0,marginBottom:i?i+"px":void 0,marginLeft:s?s+"px":void 0}}),m.push({".blockspare-accordion-item .blockspare-accordion-panel span.blockspare-accordion-panel-handler-label":{fontSize:c+u,...Ro(p),...Ao(b)},tablet:{".blockspare-accordion-item .blockspare-accordion-panel span.blockspare-accordion-panel-handler-label":{fontSize:g+u}},mobile:{".blockspare-accordion-item .blockspare-accordion-panel span.blockspare-accordion-panel-handler-label":{fontSize:d+u}}}),Do.a.all(m)};const{Component:al,Fragment:ol}=wp.element,{InnerBlocks:nl}=wp.blockEditor,{createBlock:rl}=wp.blocks,{compose:ll}=wp.compose,{withSelect:il,withDispatch:sl}=wp.data;var cl=ll([il((e,t)=>{const{clientId:a}=t,{getBlock:o,isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{block:o(a),isSelectedBlockInRoot:n(a)||r(a,!0)}}),sl(e=>{const{insertBlock:t,updateBlockAttributes:a}=e("core/block-editor");return{insertBlock:t,updateBlockAttributes:a}}),W,I(tl)])(class extends al{constructor(){super(...arguments),E()(this,"getAccordionTemplate",e=>{const t=[],a=e.defaultItems;for(let e=0;e<a;e++){const a="Ipsam per dolores minus natoque? Rutrum dolorem voluptates euismod pharetra! Rhoncus distinctio cupiditate accusantium. Cillum aliquid.";t.push(["blockspare/accordion-item",{itemNumber:e,defaultText:a,customFontSize:16}])}return t})}componentDidMount(){const{setAttributes:e,clientId:t,attributes:{uniqueId:a}}=this.props,o=t.substr(0,6);a?a&&a!=o&&e({uniqueId:o}):e({uniqueId:o})}insertAccordionItem(){let e;const{clientId:t,insertBlock:a,block:o}=this.props;if(o.innerBlocks&&o.innerBlocks.length){const t=o.innerBlocks[o.innerBlocks.length-1].attributes,a=t.itemNumber+1,n=el.heading;e=Object.assign({},t,{itemNumber:a,heading:n,active:!1,defaultText:""})}else e=el;a(rl("blockspare/accordion-item",e),void 0,t)}render(){const{attributes:{uniqueId:e,animation:t,titleFontFamily:a,titleFontWeight:n,titleLoadGoogleFonts:r,align:l},name:i,attributes:s,isSelectedBlockInRoot:c,setAttributes:p,className:b}=this.props;let u;if(1==r){const e={google:{families:[a+(n?":"+n:"")]}};u=Object(o.createElement)(Uo,{config:e})}const d={className:y()(b,"blockspare-block-accordion",t?"blockspare-block-animation":"",t,"align"+l),"data-block-animation":t};return Object(o.createElement)(ol,null,Object(o.createElement)(wr,{setAttributes:p,...this.props}),Object(o.createElement)("div",d,this.props.styles,Object(o.createElement)("div",{className:"blockspare-block-accordion-wraps"},Object(o.createElement)(nl,{template:this.getAccordionTemplate(s),allowedBlocks:["blockspare/accordion-item"],renderAppender:!1}))),u)}});const{Component:pl}=wp.element,{InnerBlocks:bl}=wp.blockEditor,{compose:ul}=wp.compose;var dl=ul([W,I(tl)])(class extends pl{render(){const{uniqueId:e,itemToggle:t,animation:a}=this.props.attributes,{className:n}=this.props,r=y()(["blockspare-block-accordion",n,a?"blockspare-block-animation":""]),l=" blockspare-block-accordion-wraps blockspare-block-"+e;return Object(o.createElement)("div",{className:r,"data-item-toggle":t,"blockspare-animation":a},Object(o.createElement)("div",{className:l},this.props.styles,Object(o.createElement)(bl.Content,null)))}}),gl=a(240);const{__:ml}=wp.i18n,{registerBlockType:fl}=wp.blocks,hl={...gl.attributes,titleFontSize:{type:"number",default:18},titleFontFamily:{type:"string",default:"Default"},titleFontWeight:{type:"string",default:""},titleFontSubset:{type:"string"},titleFontSizeType:{type:"string",default:"px"},titleFontSizeMobile:{type:"number",default:14},titleFontSizeTablet:{type:"number",default:16},titleLoadGoogleFonts:{type:"boolean",default:!1}},{name:kl,category:yl}=gl;fl(kl,{title:ml("Accordion","blockspare"),description:ml("Display creative collapsible Accordion.","blockspare"),category:yl,icon:s.a.accordion,keywords:[ml("accordion","blockspare"),ml("block","blockspare"),ml("collapsible","blockspare"),ml("collapse","blockspare")],supports:{html:!1,align:["center","wide","full"]},attributes:hl,edit:cl,save:dl}),a(342);var vl=a(241);const{__:Cl}=wp.i18n,{Fragment:Ol}=wp.element,{SelectControl:El,ToggleControl:xl,RangeControl:wl}=wp.components,{PanelColorSettings:Sl}=wp.blockEditor;function Tl(e){const{enableGradient:t,enablehover:a=!0,enableButtonBackgroundColor:n=!0,buttonBackgroundColor:r=!0,enableButtonIcon:l=!1,name:i,onChangeName:s=(()=>{}),enableIconcolor:c=!1,iconColor:p,onChangeIconColor:b=(()=>{}),enableIconPosotion:u=!1,buttonIconPosition:d,onChangebuttonIconPosition:g=(()=>{}),onChangeButtonColor:m=(()=>{}),buttonTextColor:f,onChangeButtonTextColor:h=(()=>{}),enableButtonShape:k,buttonShape:y,onChangeButtonShape:v=(()=>{}),enableButtonStyle:C,buttonStyle:O,onChangeBorderStyle:E=(()=>{}),enableButtonTarget:x,buttonTarget:w,onChangeButtonTarget:S=(()=>{}),borderColor:T,onchangeBorderColor:j=(()=>{}),borderBtnTextColor:F,onChangeBorderBtnTextColor:M=(()=>{}),borderbuttonIconColor:B,onChangeBorderBtniconColor:L=(()=>{}),enableBtnBorderWidth:z,btnBorderWidth:N,onchangebtnBorderWidth:P=(()=>{}),buttonHoverEffect:D,onchangeButtonHoverEffect:R=(()=>{})}=e,A=(Cl("Small","blockspare"),Cl("Medium","blockspare"),Cl("Large","blockspare"),Cl("Extra Large","blockspare"),[{value:"blockspare-button-shape-square",label:Cl("Square","blockspare")},{value:"blockspare-button-shape-rounded",label:Cl("Rounded Square","blockspare")},{value:"blockspare-button-shape-circular",label:Cl("Circular","blockspare")}]),_=[{value:"none",label:Cl("Fill","blockspare")},{value:"solid",label:Cl("Border","blockspare")}],I=(Cl("Normal","blockspare"),Cl("Bold","blockspare"),[{value:"btn-icon-left",label:Cl("Left","magic-content-box")},{value:"btn-icon-right",label:Cl("Right","magic-content-box")}]),H=[{value:"",label:Cl("None","blockspare")},{value:"hover-style-1",label:Cl("Dim","blockspare")},{value:"hover-style-2",label:Cl("Raise","blockspare")},{value:"hover-style-3",label:Cl("Scale","blockspare")},{value:"hover-style-4",label:Cl("Shadow","blockspare")},{value:"hover-style-5",label:Cl("Stretch","blockspare")}],G={value:p,onChange:b,label:Cl("Icon Color")},W={value:B,onChange:L,label:Cl("Icon Color","blockspare")};return Object(o.createElement)(Ol,null,0!=x&&Object(o.createElement)(xl,{label:Cl("Open link in new window","blockspare"),checked:w,onChange:S}),0!=k&&Object(o.createElement)(El,{label:Cl("Button Shape","blockspare"),value:y,options:A.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:v}),0!=C&&Object(o.createElement)(El,{label:Cl("Border Style","blockspare"),value:O,options:_.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:E}),1==a&&Object(o.createElement)(El,{label:Cl("Hover Option","blockspare"),value:D,options:H.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:R}),1==l&&Object(o.createElement)(X,{value:i,onChange:s}),1==u&&1==l&&Object(o.createElement)(El,{label:Cl("Icon Position","magic-content-box"),value:d,options:I.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:g}),0!=z&&"solid"===O&&Object(o.createElement)(wl,{label:Cl("Border Width","blockspare"),value:N,min:1,step:1,max:5,onChange:P}),0!=n&&"none"===O&&1==t&&Object(o.createElement)(Sl,{title:Cl("Button Color Options","blockspare"),initialOpen:!1,colorSettings:[{value:f,onChange:h,label:Cl("Button Text Color","blockspare")},c?G:""]}),0!=n&&"none"===O&&0==t&&Object(o.createElement)(Sl,{title:Cl("Button Color Options","blockspare"),initialOpen:!1,colorSettings:[{value:r,onChange:m,label:Cl("Button Color","blockspare")},{value:f,onChange:h,label:Cl("Text Color","blockspare")},c?G:""]}),0!=n&&"solid"===O&&Object(o.createElement)(Sl,{title:Cl("Border Color","blockspare"),initialOpen:!0,colorSettings:[{value:T,onChange:j,label:Cl("Border Color","blockspare")},{value:F,onChange:M,label:Cl("Texts Color","blockspare")},c?"none"==O?G:W:""]}))}const{__:jl}=wp.i18n,{Fragment:Fl}=wp.element,{RangeControl:Ml}=wp.components,{PanelColorSettings:Bl}=wp.blockEditor;function Ll(e){const{backgroundColor1:t,backgroundColor2:a,gradientAngle:n,colorLocation1:r,colorLocation2:l,onChangeBackgroundColor1:i=(()=>{}),onChangeBackgroundColor2:s=(()=>{}),onChangeGradientAngle:c=(()=>{}),onChangeColorLocation1:p=(()=>{}),onChangeColorLocation2:b=(()=>{})}=e;return Object(o.createElement)(Fl,null,Object(o.createElement)(Bl,{title:jl("Gradient Color Option ","blockspare"),initialOpen:!0,colorSettings:[{value:t,onChange:i,label:jl("Background Color #1","blockspare")},{value:a,onChange:s,label:jl("Background Color #2","blockspare")}]}),Object(o.createElement)(Ml,{label:jl("Gradient Angle","blockspare"),value:n,onChange:c,min:-180,step:1,max:180}),Object(o.createElement)(Ml,{label:jl("Location #1","blockspare"),value:r,onChange:p,min:0,step:1,max:100}),Object(o.createElement)(Ml,{label:jl("Location #2","blockspare"),value:l,onChange:b,min:0,step:1,max:100}))}const{__:zl}=wp.i18n,{Component:Nl}=wp.element,{InspectorControls:Pl}=wp.blockEditor,{PanelBody:Dl,ToggleControl:Rl}=wp.components;class Al extends Nl{constructor(e){super(...arguments)}render(){const{attributes:{buttonBackgroundColor:e,buttonTextColor:t,buttonSize:a,buttonShape:n,buttonStyle:r,buttonTarget:l,borderColor:i,borderBtnTextColor:s,enableGradient:c,backgroundColor1:p,backgroundColor2:b,gradientAngle:u,colorLocation1:d,colorLocation2:g,btnFontWeight:m,btnBorderWidth:f,buttonHoverEffect:h,paddingTop:k,paddingRight:y,paddingBottom:v,paddingLeft:C,marginTop:O,marginBottom:E,marginLeft:x,marginRight:w,buttonFontSize:S,buttonFontFamily:T,buttonFontWeight:j,buttonFontSubset:F,buttonFontSizeType:M,buttonFontSizeMobile:B,buttonFontSizeTablet:L,buttonLoadGoogleFonts:z,enableButtonIcon:N,buttonIconPosition:P,buttonIcon:D,buttonIconColor:R,borderbuttonIconColor:A},attributes:_,setAttributes:I}=this.props;return Object(o.createElement)(Pl,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(Dl,{title:zl("Button Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Rl,{label:zl("Enable Icon","magic-content-box"),checked:N,onChange:()=>this.props.setAttributes({enableButtonIcon:!N})}),Object(o.createElement)(Tl,{enableButtonTarget:!0,buttonTarget:l,onChangeButtonTarget:e=>I({buttonTarget:!l}),enableGradient:c,onChangeGradient:e=>I({enableGradient:e}),enableButtonShape:!0,buttonShape:n,onChangeButtonShape:e=>I({buttonShape:e}),buttonBackgroundColor:e,onChangeButtonColor:e=>I({buttonBackgroundColor:e}),buttonTextColor:t,onChangeButtonTextColor:e=>I({buttonTextColor:e}),enableButtonStyle:!0,buttonStyle:r,onChangeBorderStyle:e=>I({buttonStyle:e}),buttonHoverEffect:h,onchangeButtonHoverEffect:e=>I({buttonHoverEffect:e}),borderColor:i,onchangeBorderColor:e=>I({borderColor:e}),borderBtnTextColor:s,onChangeBorderBtnTextColor:e=>I({borderBtnTextColor:e}),enableBtnBorderWidth:!0,btnBorderWidth:f,onchangebtnBorderWidth:e=>I({btnBorderWidth:e}),enableButtonIcon:N,name:D,onChangeName:e=>I({buttonIcon:e}),enableIconcolor:N,iconColor:R,onChangeIconColor:e=>I({buttonIconColor:e}),borderbuttonIconColor:A,onChangeBorderBtniconColor:e=>I({borderbuttonIconColor:e}),enableIconPosotion:!0,buttonIconPosition:P,onChangebuttonIconPosition:e=>I({buttonIconPosition:e})}),"none"===r&&Object(o.createElement)(Rl,{label:zl("Enable Gradient","blockspare"),checked:c,onChange:()=>this.props.setAttributes({enableGradient:!c})}),c&&"none"===r&&Object(o.createElement)(Ll,{backgroundColor1:p,onChangeBackgroundColor1:e=>I({backgroundColor1:e}),backgroundColor2:b,onChangeBackgroundColor2:e=>I({backgroundColor2:e}),gradientAngle:u,onChangeGradientAngle:e=>I({gradientAngle:e}),colorLocation1:d,onChangeColorLocation1:e=>I({colorLocation1:e}),colorLocation2:g,onChangeColorLocation2:e=>I({colorLocation2:e})})),Object(o.createElement)(Dl,{title:zl("Typography Settings","blockspare")},Object(o.createElement)(Oo,{label:zl("Button Fonts Settings"),attributes:_,setAttributes:I,loadGoogleFonts:{value:z,label:zl("buttonLoadGoogleFonts")},fontFamily:{value:T,label:zl("buttonFontFamily")},fontWeight:{value:j,label:zl("buttonFontWeight")},fontSubset:{value:F,label:zl("buttonFontSubset")},fontSizeType:{value:M,label:zl("buttonFontSizeType")},fontSize:{value:S,label:zl("buttonFontSize")},fontSizeMobile:{value:B,label:zl("buttonFontSizeMobile")},fontSizeTablet:{value:L,label:zl("buttonFontSizeTablet")},disableLineHeight:!0})),Object(o.createElement)(Dl,{title:zl("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(Dl,{title:zl("Block Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Dl,{title:zl("Margin Settings","blockspare"),initialOpen:!0},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:O,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>I({marginTop:e}),marginEnableBottom:!0,marginBottom:E,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>I({marginBottom:e}),marginEnableLeft:!0,marginLeft:x,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>I({marginLeft:e}),marginEnableRight:!0,marginRight:w,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>I({marginRight:e})})),Object(o.createElement)(Dl,{title:zl("Padding Settings","blockspare"),initialOpen:!0},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:k,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>I({paddingTop:e}),paddingEnableRight:!0,paddingRight:y,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>I({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:v,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>I({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:C,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>I({paddingLeft:e})})))))}}var _l=e=>{const{sectionAlignment:t,marginTop:a,marginBottom:o,marginLeft:n,marginRight:r,buttonStyle:l,enableGradient:i,backgroundColor1:s,backgroundColor2:c,gradientAngle:p,colorLocation1:b,colorLocation2:u,btnFontWeight:d,btnBorderWidth:g,borderColor:m,buttonBackgroundColor:f,borderBtnTextColor:h,buttonTextColor:k,buttonFontSize:y,buttonFontFamily:v,buttonFontWeight:C,buttonFontSizeType:O,buttonFontSizeMobile:E,buttonFontSizeTablet:x,enableButtonIcon:w,buttonIconColor:S,borderbuttonIconColor:T,paddingTop:j,paddingRight:F,paddingBottom:M,paddingLeft:B}=e.attributes,L=[];if(L.push({".blockspare-block-button":{textAlign:t,marginTop:a?a+"px":"0px",marginBottom:o?o+"px":"0px",marginLeft:n?n+"px":"0px",marginRight:r?r+"px":"0px"}}),w&&("none"===l?L.push({".blockspare-block-button i":{color:S}}):L.push({".blockspare-block-button i":{color:T||"#404040"}})),"none"===l)if(1==i){const e=p+"deg",t=b+"%",a=u+"%";L.push({".blockspare-block-button span":{color:k||"#fff",borderWidth:g+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${s||"#3B1A5B"} ${t},${c||"#8B249C"} ${a})`},".blockspare-block-button .blockspare-button:visited":{backgroundImage:`linear-gradient(${e},${s||"#3B1A5B"} ${t},${c||"#8B249C"} ${a})`},".blockspare-block-button .blockspare-button:focus":{backgroundImage:`linear-gradient(${e},${s||"#3B1A5B"} ${t},${c||"#8B249C"} ${a})`}})}else L.push({".blockspare-block-button span":{color:k||"#fff",borderWidth:g+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:f},".blockspare-block-button .blockspare-button:visited":{backgroundColor:f},".blockspare-block-button .blockspare-button:focus":{backgroundColor:f}});else L.push({".blockspare-block-button span":{color:h||"#404040"},".blockspare-button":{borderColor:m||"#3c1a5b",borderStyle:l,borderWidth:g+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return L.push({".blockspare-block-button span":{fontSize:y+O,...Ro(v),...Ao(C)},".blockspare-block-button i":{fontSize:y+O},tablet:{".blockspare-block-button span":{fontSize:x+O},".blockspare-block-button i":{fontSize:x+O}},mobile:{".blockspare-block-button span":{fontSize:E+O},".blockspare-block-button i":{fontSize:E+O}}}),L.push({".blockspare-block-button a":{paddingTop:j+"px",paddingBottom:M+"px",paddingRight:F+"px",paddingLeft:B+"px"}}),Do.a.all(L)};const{Fragment:Il,Component:Hl}=wp.element,{compose:Gl}=wp.compose,{__:Wl}=wp.i18n,{RichText:Ul,AlignmentToolbar:ql,BlockControls:Vl,URLInput:$l}=wp.blockEditor,{IconButton:Xl,Dashicon:Yl}=wp.components;var Jl=Gl(W,I(_l))(class extends Hl{constructor(e){super(...arguments)}render(){const{attributes:{buttonText:e,buttonUrl:t,sectionAlignment:a,buttonSize:n,buttonShape:r,buttonHoverEffect:l,buttonLoadGoogleFonts:i,buttonFontFamily:s,buttonFontWeight:c,enableButtonIcon:p,buttonIconPosition:b,buttonIcon:u,animation:d},className:g,isSelected:m,setAttributes:f,attributes:h}=this.props;let k;if(1==i){const e={google:{families:[s+(c?":"+c:"")]}};k=Object(o.createElement)(Uo,{config:e})}const v=y()([g,"blockspare-block-button-wrap",d?"blockspare-block-animation":"",d]);return Object(o.createElement)(Il,null,Object(o.createElement)(Vl,{key:"controls"},Object(o.createElement)(ql,{value:a,onChange:e=>{f({sectionAlignment:e})}})),Object(o.createElement)(Al,this.props),Object(o.createElement)("div",{className:v},this.props.styles,Object(o.createElement)("div",{className:"blockspare-block-button"},Object(o.createElement)("a",{href:"#",className:y()("blockspare-button",r,n,l,p?b:"")},p&&Object(o.createElement)("i",{className:u}),Object(o.createElement)(Ul,{tagName:"span",placeholder:Wl("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:""+e,onChange:e=>f({buttonText:e})}))),m&&Object(o.createElement)("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+a,onSubmit:e=>e.preventDefault(),style:{textAlign:a}},Object(o.createElement)(Yl,{icon:"admin-links"}),Object(o.createElement)($l,{className:"button-url",value:t,onChange:e=>f({buttonUrl:e})}),Object(o.createElement)(Xl,{icon:"editor-break",label:Wl("Buy","blockspare"),type:"submit"}))),k)}});const{__:Kl}=wp.i18n,{Component:Zl}=wp.element,{compose:Ql}=wp.compose,{RichText:ei}=wp.blockEditor;var ti=Ql(W,I(_l))(class extends Zl{render(){const{attributes:{buttonText:e,buttonUrl:t,buttonShape:a,buttonSize:n,buttonTarget:r,buttonHoverEffect:l,enableButtonIcon:i,buttonIconPosition:s,buttonIcon:c,animation:p},className:b}=this.props,u=y()([b,"blockspare-block-button-wrap",p?"blockspare-block-animation":""]);return Object(o.createElement)("div",{className:u,"blockspare-animation":p},this.props.styles,Object(o.createElement)("div",{className:"blockspare-block-button"},e&&Object(o.createElement)("a",{href:t,target:r?"_blank":null,rel:r?"noopener noreferrer":null,className:y()("blockspare-button",a,n,l,i?s:"")},i&&Object(o.createElement)("i",{className:c}),Object(o.createElement)(ei.Content,{tagName:"span",value:e}))))}}),ai={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:"var(--bgcolor)"},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:2},btnFontWeight:{type:"string",default:"normal"},buttonHoverEffect:{type:"string",default:""},buttonFontSize:{type:"number",default:16},buttonFontFamily:{type:"string",default:"Default"},buttonFontWeight:{type:"string",default:""},buttonFontSubset:{type:"string"},buttonFontSizeType:{type:"string",default:"px"},buttonFontSizeMobile:{type:"number",default:14},buttonFontSizeTablet:{type:"number",default:14},buttonLoadGoogleFonts:{type:"boolean",default:!1},enableButtonIcon:{type:"boolean",default:!1},buttonIconPosition:{type:"string",default:"btn-icon-left"},buttonIcon:{type:"string",default:"fas fa-rocket"},buttonIconColor:{type:"string",default:"#fff"},borderbuttonIconColor:{type:"string",default:"#404040"}};const{name:oi,category:ni}=vl,{__:ri}=wp.i18n,{registerBlockType:li}=wp.blocks;li(oi,{title:ri("Button","blockspare"),description:ri("Prompt visitors to take action with multiple buttons, side by side.","blockspare"),category:ni,icon:s.a.button,attributes:{...ai,...vl.attributes,animation:{type:"string",default:""}},keywords:[ri("block","blockspare"),ri("button","blockspare"),ri("cta","blockspare"),ri("call to action","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{sectionAlignment:"center",buttonText:ri("Get Started","blockspare"),buttonBackgroundColor:"#3c1a5b",buttonTextColor:"#fff",buttonSize:"blockspare-button-size-small",buttonShape:"blockspare-button-shape-rounded"}},edit:Jl,save:ti}),a(343);var ii=a(242),si={btnPaddingTop:{type:"number",default:12},btnPaddingRight:{type:"number",default:22},btnPaddingBottom:{type:"number",default:12},btnPaddingLeft:{type:"number",default:22},btnMarginTop:{type:"number",default:10},btnMarginRight:{type:"number",default:0},btnMarginBottom:{type:"number",default:0},btnMarginLeft:{type:"number",default:0}},ci={className:{type:"string"},uniqueClass:{type:"string",default:""},align:{type:"string",default:"center"},sectionAlignment:{type:"string",default:"left"},headerTitle:{type:"string",default:"Enter Title"},titleFontSize:{type:"number",default:24},headerSubTitle:{type:"string",default:""},headerboxColor:{type:"string",default:"transparent"},headertitleColor:{type:"string",default:"#404040"},headertitleColorDark:{type:"string",default:"#fff"},headersubtitleColor:{type:"string",default:"#6d6d6d"},headertitleDashColor:{type:"string",default:"#6d6d6d"},headermarginTop:{type:"number",default:30},headermarginRight:{type:"number",default:0},headermarginBottom:{type:"number",default:30},headermarginLeft:{type:"number",default:0},headerlayoutOption:{type:"string",default:"blockspare-style1"},headerTagOption:{type:"string",default:"h2"},titlePaddingTop:{type:"number",default:0},titlePaddingRight:{type:"number",default:0},titlePaddingBottom:{type:"number",default:0},titlePaddingLeft:{type:"number",default:0},subtitlePaddingTop:{type:"number",default:0},subtitlePaddingRight:{type:"number",default:0},subtitlePaddingBottom:{type:"number",default:0},subtitlePaddingLeft:{type:"number",default:0},dashColor:{type:"string",default:"#8b249c"},dashColor2:{type:"string",default:"#E5EFE3"},titleFontFamily:{type:"string",default:"Default"},titleFontWeight:{type:"string",default:""},titleFontSubset:{type:"string"},titleFontSizeType:{type:"string",default:"px"},titleFontSizeMobile:{type:"number",default:20},titleFontSizeTablet:{type:"number",default:22},titleLoadGoogleFonts:{type:"boolean",default:!1},subTitleFontSize:{type:"number",default:14},subTitleFontFamily:{type:"string",default:"Default"},subTitleFontWeight:{type:"string",default:""},subTitleFontSubset:{type:"string"},subTitleFontSizeType:{type:"string",default:"px"},subTitleFontSizeMobile:{type:"number",default:14},subTitleFontSizeTablet:{type:"number",default:14},subTitleLoadGoogleFonts:{type:"boolean",default:!1}},pi={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"}},bi={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},marginRight:{type:"number",default:0},marginBottom:{type:"number",default:30},marginLeft:{type:"number",default:0}};const{__:ui}=wp.i18n,{Fragment:di}=wp.element,{PanelBody:gi,RangeControl:mi}=wp.components;function fi(e){const{panelTitle:t,titlePaddingTop:a,onChangetitlePaddingTop:n=(()=>{}),titlePaddingRight:r,onChangetitlePaddingRight:l=(()=>{}),titlePaddingBottom:i,onChangetitlePaddingBottom:s=(()=>{}),titlePaddingLeft:c,onChangetitlePaddingLeft:p=(()=>{}),subtitlePaddingTop:b,onChangesubtitlePaddingTop:u=(()=>{}),subtitlePaddingRight:d,onChangesubtitlePaddingRight:g=(()=>{}),subtitlePaddingBottom:m,onChangesubtitlePaddingBottom:f=(()=>{}),subtitlePaddingLeft:h,onChangesubtitlePaddingLeft:k=(()=>{}),headermarginTop:y,onChangeheadermarginTop:v=(()=>{}),headermarginRight:C,onChangeheadermarginRight:O=(()=>{}),headermarginBottom:E,onChangeheadermarginBottom:x=(()=>{}),headermarginLeft:w,onChangeheadermarginLeft:S=(()=>{})}=e;return Object(o.createElement)(di,null,Object(o.createElement)(gi,{title:ui(t,"blockspare"),initialOpen:!1},Object(o.createElement)(di,null,Object(o.createElement)(gi,{title:ui("Title Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(mi,{label:ui("Padding Top","blockspare"),value:a,onChange:n,min:0,max:300}),Object(o.createElement)(mi,{label:ui("Padding Right","blockspare"),value:r,onChange:l,min:0,max:300}),Object(o.createElement)(mi,{label:ui("Padding Bottom","blockspare"),value:i,onChange:s,min:0,max:300}),Object(o.createElement)(mi,{label:ui("Padding Left","blockspare"),value:c,onChange:p,min:0,max:300})),Object(o.createElement)(gi,{title:ui("Subtitle Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(mi,{label:ui("Padding Top","blockspare"),value:b,onChange:u,min:0,max:300}),Object(o.createElement)(mi,{label:ui("Padding Right","blockspare"),value:d,onChange:g,min:0,max:300}),Object(o.createElement)(mi,{label:ui("Padding Bottom","blockspare"),value:m,onChange:f,min:0,max:300}),Object(o.createElement)(mi,{label:ui("Padding Left","blockspare"),value:h,onChange:k,min:0,max:300}))),Object(o.createElement)(gi,{title:ui("Margin","blockspare"),initialOpen:!1},Object(o.createElement)(mi,{label:ui("Margin Top","blockspare"),value:y,onChange:v,min:-300,max:300}),Object(o.createElement)(mi,{label:ui("Margin Right","blockspare"),value:C,onChange:O,min:-300,max:300}),Object(o.createElement)(mi,{label:ui("Margin Bottom","blockspare"),value:E,onChange:x,min:-300,max:300}),Object(o.createElement)(mi,{label:ui("Margin Left","blockspare"),value:w,onChange:S,min:-300,max:300}))))}const{__:hi}=wp.i18n,{Fragment:ki}=wp.element,{PanelBody:yi}=wp.components,{PanelColorSettings:vi}=wp.blockEditor;function Ci(e){const{headerlayoutOption:t,enableheaderboxColor:a=!0,headerboxColor:n,onChangeboxcolor:r=(()=>{}),dashColor:l,dashColor2:i,onChangeDashColor:s=(()=>{}),onChangeDashColor2:c=(()=>{}),headertitleColor:p,onChangetitlecolor:b=(()=>{}),headertitleColorDark:u,onChangetitlecolordark:d=(()=>{}),headersubtitleColor:g,onChangesubtitlecolor:m=(()=>{})}=e,f={value:n,onChange:r,label:hi("Background Color","blockspare")},h={value:g,onChange:m,label:hi("Subtitle Color","blockspare")},k={value:i,onChange:c,label:hi("Dash Color 2","blockspare")},y={value:p,onChange:b,label:hi("Title Color","blockspare")},v={value:u,onChange:d,label:hi("Title Color","blockspare")};return Object(o.createElement)(ki,null,Object(o.createElement)(yi,{title:hi("Color Settings","blockspare"),initialOpen:!1},Object(o.createElement)(vi,{title:hi("Title Settings","blockspare"),initialOpen:!0,colorSettings:[1==a?f:"","blockspare-style9"===t||"blockspare-style17"===t||"blockspare-style18"===t?v:y,h]}),"blockspare-style1"!==t&&"blockspare-style3"!==t&&"blockspare-style8"!==t&&Object(o.createElement)(vi,{title:hi("Dash color","blockspare"),initialOpen:!0,colorSettings:[{value:l,onChange:s,label:hi("Dash Color 1","blockspare")},"blockspare-style7"===t||"blockspare-style10"===t||"blockspare-style11"===t||"blockspare-style12"===t||"blockspare-style13"===t||"blockspare-style14"===t?k:""]})))}const{__:Oi}=wp.i18n,{Fragment:Ei}=wp.element,{RangeControl:xi,Dropdown:wi,Button:Si}=wp.components,{PanelColorSettings:Ti}=wp.blockEditor;function ji(e){const{className:t,xOffset:a,yOffset:n,blur:r,spread:l,shadowColor:i,onChangeXOffset:s=(()=>{}),onChangeYOffset:c=(()=>{}),onChangeBlur:p=(()=>{}),onChangeSpread:b=(()=>{}),onChangeShadowColor:u=(()=>{})}=e,d=y()("blockspare-components-dropdown",t);return Object(o.createElement)("div",{className:d},Object(o.createElement)(wi,{className:"components_item-wrapper ptb-dropdown-wrapper",contentClassName:"blockspare-dropdown-item-list",renderToggle:e=>{let{isOpen:t,onToggle:a}=e;return Object(o.createElement)(Si,{variant:"secondary",onClick:a,icon:"dashicons dashicons dashicons-admin-generic","aria-expanded":t},Oi("Box shadow Settings","blocksapre"))},renderContent:()=>Object(o.createElement)(Ei,null,Object(o.createElement)(Ti,{title:Oi("Box Shadow Option ","blockspare"),initialOpen:!0,colorSettings:[{value:i,onChange:u,label:Oi("Shadow Color","blockspare")}]}),Object(o.createElement)(xi,{label:Oi("X Offset","blockspare"),value:a,onChange:s,min:-100,step:1,max:180}),Object(o.createElement)(xi,{label:Oi("Y Offset","blockspare"),value:n,onChange:c,min:-100,step:1,max:100}),Object(o.createElement)(xi,{label:Oi("Blur","blockspare"),value:r,onChange:p,min:0,step:1,max:100}),Object(o.createElement)(xi,{label:Oi("Spread","blockspare"),value:l,onChange:b,min:-100,step:1,max:100}))}))}let Fi=blockspare_globals.srcUrl+"/dist";var Mi=function(e){let{imageFile:t,imageHoverFile:a,imageWidth:n="",imageHeight:r="",label:l}=e;const i=t?t.match(/https?:/i)?t:Fi?`${Fi}/${t}`:t:"",s=a?a.match(/https?:/i)?a:Fi?`${Fi}/${a}`:a:null;return Object(o.createElement)("span",{className:"blockspare-design-panel-item"},s&&Object(o.createElement)("img",{className:"blockspare-design-panel-item__hover-image",src:s,alt:l,width:n,height:r}),i&&Object(o.createElement)("img",{className:"blockspare-design-panel-item__image",src:i,alt:l,width:n,height:r}),Object(o.createElement)("span",{className:"design-label"},l))};const{RadioControl:Bi}=wp.components;var Li=function(e){const{selected:t,options:a,onChange:n,className:r=""}=e,l=a.map(e=>({...e,label:Object(o.createElement)(Mi,{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 Object(o.createElement)("div",{className:y()(r,"blockspare-design-control-wrapper components-base-control")},Object(o.createElement)("div",{className:"components-base-control__label"},e.label),Object(o.createElement)(Bi,C()({},j()(e,["label"]),{className:"blockspare-design-control",selected:t,options:l,onChange:n})))},zi=a.p+"images/double-wave.82d7fb54.png",Ni=a.p+"images/fan.bc21d0f4.png",Pi=a.p+"images/wavy.63923a27.png",Di=a.p+"images/waves.2d255087.png",Ri=a.p+"images/sloped.4e718476.png",Ai=a.p+"images/curve.e7916147.png",_i=a.p+"images/shapeocean.6472d24f.png",Ii=a.p+"images/grow.317a9279.png",Hi=a.p+"images/clouds.cb536aca.png",Gi=a.p+"images/angled.7f9adb29.png",Wi=a.p+"images/book.f13e38f7.png";const{__:Ui}=wp.i18n,{BaseControl:qi}=wp.components,{applyFilters:Vi}=wp.hooks,$i={"double-wave":{image:zi,label:Ui("Double Wave","blockspare"),value:"double-wave"},fan:{image:Ni,label:Ui("Fan","blockspare"),value:"fan"},wavy:{image:Pi,label:Ui("Wavy","blockspare"),value:"wavy"},waves:{image:Di,label:Ui("Waves","blockspare"),value:"waves"},sloped:{image:Ri,label:Ui("Sloped","blockspare"),value:"sloped"},curve:{image:Ai,label:Ui("Curve","blockspare"),value:"curve"},shapeocean:{image:_i,label:Ui("Ocean","blockspare"),value:"shapeocean"},grow:{image:Ii,label:Ui("Grow","blockspare"),value:"grow"},clouds:{image:Hi,label:Ui("Clouds","blockspare"),value:"clouds"},angled:{image:Gi,label:Ui("Angled","blockspare"),value:"angled"},book:{image:Wi,label:Ui("Book","blockspare"),value:"book"},split:{image:Wi,label:Ui("Split","blockspare"),value:"split"}},Xi=e=>{const t=Object.keys($i).filter(t=>!e.excludeDesigns.includes(t)).map(e=>$i[e]);return Object(o.createElement)(qi,{className:"blockspare-design-separator-control",id:"blockspare-design-separator-control",label:e.label,help:e.help},Object(o.createElement)(Li,C()({options:Vi("blockspare.separator.edit.layouts",t,e)},j()(e,["label","help"]))))};Xi.defaultProps={label:"",help:"",excludeDesigns:[]};var Yi=Xi;const{__:Ji}=wp.i18n,{i18n:Ki}="blockspare",{PanelBody:Zi}=wp.components;var Qi=function(e){const{options:t,selected:a,title:n=Ji("Layout",Ki),paneltitle:r,selectedOptionInTitle:l=!0,help:i="",className:s="",initialOpen:c=!0}=e,p=t?t.find(e=>e.value===a):null,b=p?`${r} – ${p.label}`:n,u=y()(["blockspare-design-panel-body",s]);return Object(o.createElement)(Zi,C()({title:l?Object(o.createElement)("span",null,b):n,className:u,initialOpen:c},j()(e,["help"])),i&&Object(o.createElement)("p",{className:"components-base-control__help"},i),t&&Object(o.createElement)(Li,j()(e,["help","title"])),e.children)},es=a.p+"images/blockspare-header-layout-1.fa2f83a7.png",ts=a.p+"images/blockspare-header-layout-2.5ae45ebb.png",as=a.p+"images/blockspare-header-layout-3.2bb9b9f5.png",os=a.p+"images/blockspare-header-layout-4.e1add41b.png",ns=a.p+"images/blockspare-header-layout-5.76371169.png",rs=a.p+"images/blockspare-header-layout-6.38e8b44d.png",ls=a.p+"images/blockspare-header-layout-7.232148bf.png",is=a.p+"images/blockspare-header-layout-8.99ae34e4.png",ss=a.p+"images/blockspare-header-layout-9.95bea277.png",cs=a.p+"images/blockspare-header-layout-10.56ce5d2c.png",ps=a.p+"images/blockspare-header-layout-11.412e273b.png",bs=a.p+"images/blockspare-header-layout-12.8217d42e.png",us=a.p+"images/blockspare-header-layout-13.34336d48.png",ds=a.p+"images/blockspare-header-layout-14.6594566a.png",gs=a.p+"images/blockspare-header-layout-15.2497bbdb.png",ms=a.p+"images/blockspare-header-layout-16.3c8da928.png",fs=a.p+"images/blockspare-header-layout-17.e3a60c9d.png",hs=a.p+"images/blockspare-header-layout-18.455519e0.png",ks=a.p+"images/blockspare-header-layout-19.3ad77005.png",ys=a.p+"images/blockspare-header-layout-20.d0b82599.png";const{applyFilters:vs}=wp.hooks,{__:Cs}=wp.i18n;function Os(e){const{headerlayoutOption:t,onChangeHeaderLayput:a=(()=>{})}=e;return Object(o.createElement)(Qi,{initialOpen:!1,paneltitle:_("Layouts","blockspare"),selected:t,options:vs("blockspare.cta.edit.layouts",[{label:Cs("Layout 1","blockspare"),value:"blockspare-style1",image:es},{label:Cs("Layout 2","blockspare"),value:"blockspare-style2",image:ts},{label:Cs("Layout 3","blockspare"),value:"blockspare-style3",image:as},{label:Cs("Layout 4","blockspare"),value:"blockspare-style4",image:os},{label:Cs("Layout 5","blockspare"),value:"blockspare-style5",image:ns},{label:Cs("Layout 6","blockspare"),value:"blockspare-style6",image:rs},{label:Cs("Layout 7","blockspare"),value:"blockspare-style7",image:ls},{label:Cs("Layout 8","blockspare"),value:"blockspare-style8",image:is},{label:Cs("Layout 9","blockspare"),value:"blockspare-style9",image:ss},{label:Cs("Layout 10","blockspare"),value:"blockspare-style10",image:cs},{label:Cs("Layout 11","blockspare"),value:"blockspare-style11",image:ps},{label:Cs("Layout 12","blockspare"),value:"blockspare-style12",image:bs},{label:Cs("Layout 13","blockspare"),value:"blockspare-style13",image:us},{label:Cs("Layout 14","blockspare"),value:"blockspare-style14",image:ds},{label:Cs("Layout 15","blockspare"),value:"blockspare-style15",image:gs},{label:Cs("Layout 16","blockspare"),value:"blockspare-style16",image:ms},{label:Cs("Layout 17","blockspare"),value:"blockspare-style17",image:fs},{label:Cs("Layout 18","blockspare"),value:"blockspare-style18",image:hs},{label:Cs("Layout 19","blockspare"),value:"blockspare-style19",image:ks},{label:Cs("Layout 20","blockspare"),value:"blockspare-style20",image:ys}]),onChange:a})}const{__:Es}=wp.i18n,{Component:xs}=wp.element,{InspectorControls:ws,MediaUpload:Ss,PanelColorSettings:Ts}=wp.blockEditor,{RangeControl:js,PanelBody:Fs,IconButton:Ms,ToggleControl:Bs}=wp.components;class Ls extends xs{render(){const{attributes:{opacityRatio:e,ctaBackGroundColor:t,showImage:a,imgURL:n,imgID:r,imgAlt:l,buttonBackgroundColor:i,buttonTextColor:s,buttonSize:c,buttonStyle:p,buttonShape:b,buttonTarget:u,paddingTop:d,paddingRight:g,paddingBottom:m,paddingLeft:f,marginTop:h,marginRight:k,marginBottom:y,marginLeft:v,btnPaddingTop:C,btnPaddingRight:O,btnPaddingBottom:E,btnPaddingLeft:x,btnMarginTop:w,btnMarginRight:S,btnMarginBottom:T,btnMarginLeft:j,headerTagOption:F,headertitleColor:M,headertitleColorDark:B,headersubtitleColor:L,dashColor:z,dashColor2:N,titleFontSize:P,headerboxColor:D,headerlayoutOption:R,titlePaddingTop:A,titlePaddingRight:_,titlePaddingBottom:I,titlePaddingLeft:H,subtitlePaddingTop:G,subtitlePaddingRight:W,subtitlePaddingBottom:U,subtitlePaddingLeft:q,headermarginTop:V,headermarginRight:$,headermarginBottom:X,headermarginLeft:Y,borderColor:J,borderBtnTextColor:K,backgroundFix:Z,enableGradient:Q,backgroundColor1:ee,backgroundColor2:te,gradientAngle:ae,colorLocation1:oe,colorLocation2:re,borderRadius:le,enableBoxShadow:ie,xOffset:se,yOffset:pe,blur:be,spread:ue,shadowColor:de,btnFontWeight:ge,btnBorderWidth:me,buttonHoverEffect:fe,titleLoadGoogleFonts:he,titleFontFamily:ke,titleFontWeight:ye,titleFontSubset:ve,titleFontSizeType:Ce,titleFontSizeMobile:Oe,titleFontSizeTablet:Ee,subTitleFontSize:xe,subTitleLoadGoogleFonts:we,subTitleFontFamily:Se,subTitleFontWeight:Te,subTitleFontSubset:je,subTitleFontSizeType:Fe,subTitleFontSizeMobile:Me,subTitleFontSizeTablet:Be,buttonFontSize:Le,buttonFontFamily:ze,buttonFontWeight:Ne,buttonFontSubset:Pe,buttonFontSizeType:De,buttonFontSizeMobile:Re,buttonFontSizeTablet:Ae,buttonLoadGoogleFonts:_e,enableButtonIcon:Ie,buttonIconPosition:He,buttonIcon:Ge,buttonIconColor:We,borderbuttonIconColor:Ue},attributes:qe,setAttributes:Ve}=this.props,$e=()=>{Ve({imgID:null,imgURL:null,imgAlt:null})};return Es("Layout 1","blockspare"),Es("Layout 2","blockspare"),Es("Layout 3","blockspare"),Es("Layout 4","blockspare"),Es("Layout 5","blockspare"),Es("Layout 6","blockspare"),Es("Layout 7","blockspare"),Es("Layout 8","blockspare"),Es("Layout 9","blockspare"),Object(o.createElement)(ws,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:""}),Object(o.createElement)(Fs,{title:Es("Header Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Os,{headerlayoutOption:R,onChangeHeaderLayput:e=>Ve({headerlayoutOption:e})}),Object(o.createElement)(Fs,{title:Es("Typography Settings","blockspare")},Object(o.createElement)(Oo,{label:Es("Title Fonts Settings"),attributes:qe,setAttributes:Ve,loadGoogleFonts:{value:he,label:Es("titleLoadGoogleFonts")},fontFamily:{value:ke,label:Es("titleFontFamily")},fontWeight:{value:ye,label:Es("titleFontWeight")},fontSubset:{value:ve,label:Es("titleFontSubset")},fontSizeType:{value:Ce,label:Es("titleFontSizeType")},fontSize:{value:P,label:Es("titleFontSize")},fontSizeMobile:{value:Oe,label:Es("titleFontSizeMobile")},fontSizeTablet:{value:Ee,label:Es("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:F}),Object(o.createElement)(Oo,{label:Es("Subtitle Fonts Settings"),attributes:qe,setAttributes:Ve,loadGoogleFonts:{value:we,label:Es("subTitleLoadGoogleFonts")},fontFamily:{value:Se,label:Es("subTitleFontFamily")},fontWeight:{value:Te,label:Es("subTitleFontWeight")},fontSubset:{value:je,label:Es("subTitleFontSubset")},fontSizeType:{value:Fe,label:Es("subTitleFontSizeType")},fontSize:{value:xe,label:Es("subTitleFontSize")},fontSizeMobile:{value:Me,label:Es("subTitleFontSizeMobile")},fontSizeTablet:{value:Be,label:Es("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),Object(o.createElement)(Ci,{headerboxColor:D,onChangeboxcolor:e=>Ve({headerboxColor:e}),headertitleColor:M,onChangetitlecolor:e=>Ve({headertitleColor:e}),headertitleColorDark:B,onChangetitlecolordark:e=>Ve({headertitleColorDark:e}),dashColor:z,dashColor2:N,headerlayoutOption:R,onChangeDashColor:e=>Ve({dashColor:e}),onChangeDashColor2:e=>Ve({dashColor2:e}),headersubtitleColor:L,onChangesubtitlecolor:e=>Ve({headersubtitleColor:e})}),Object(o.createElement)(fi,{panelTitle:Es("Title/Subtitle Gaps","lockspare"),titlePaddingTop:A,onChangetitlePaddingTop:e=>Ve({titlePaddingTop:e}),titlePaddingRight:_,onChangetitlePaddingRight:e=>Ve({titlePaddingRight:e}),titlePaddingBottom:I,onChangetitlePaddingBottom:e=>Ve({titlePaddingBottom:e}),titlePaddingLeft:H,onChangetitlePaddingLeft:e=>Ve({titlePaddingLeft:e}),headersubtitleColor:L,onChangesubtitlecolor:e=>Ve({headersubtitleColor:e}),subtitlePaddingTop:G,onChangesubtitlePaddingTop:e=>Ve({subtitlePaddingTop:e}),subtitlePaddingRight:W,onChangesubtitlePaddingRight:e=>Ve({subtitlePaddingRight:e}),subtitlePaddingBottom:U,onChangesubtitlePaddingBottom:e=>Ve({subtitlePaddingBottom:e}),subtitlePaddingLeft:q,onChangesubtitlePaddingLeft:e=>Ve({subtitlePaddingLeft:e}),headermarginTop:V,onChangeheadermarginTop:e=>Ve({headermarginTop:e}),headermarginRight:$,onChangeheadermarginRight:e=>Ve({headermarginRight:e}),headermarginBottom:X,onChangeheadermarginBottom:e=>Ve({headermarginBottom:e}),headermarginLeft:Y,onChangeheadermarginLeft:e=>Ve({headermarginLeft:e})})),Object(o.createElement)(Fs,{title:Es("Button Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Bs,{label:Es("Enable Icon","magic-content-box"),checked:Ie,onChange:()=>this.props.setAttributes({enableButtonIcon:!Ie})}),Object(o.createElement)(Tl,{enableButtonTarget:!0,buttonTarget:u,onChangeButtonTarget:e=>Ve({buttonTarget:!u}),enableGradient:Q,onChangeGradient:e=>Ve({enableGradient:e}),enableButtonSize:!0,buttonSize:c,onChangeButtonSize:e=>Ve({buttonSize:e}),enableButtonShape:!0,buttonShape:b,onChangeButtonShape:e=>Ve({buttonShape:e}),buttonBackgroundColor:i,onChangeButtonColor:e=>Ve({buttonBackgroundColor:e}),buttonTextColor:s,onChangeButtonTextColor:e=>Ve({buttonTextColor:e}),enableButtonStyle:!0,buttonStyle:p,onChangeBorderStyle:e=>Ve({buttonStyle:e}),buttonHoverEffect:fe,onchangeButtonHoverEffect:e=>Ve({buttonHoverEffect:e}),borderColor:J,onchangeBorderColor:e=>Ve({borderColor:e}),borderBtnTextColor:K,onChangeBorderBtnTextColor:e=>Ve({borderBtnTextColor:e}),enableBtnBorderWidth:!0,btnBorderWidth:me,onchangebtnBorderWidth:e=>Ve({btnBorderWidth:e}),enableBtnFontWeight:!0,btnFontWeight:ge,onchangeBtnFontWeight:e=>Ve({btnFontWeight:e}),enableButtonIcon:Ie,name:Ge,onChangeName:e=>Ve({buttonIcon:e}),enableIconcolor:Ie,iconColor:We,onChangeIconColor:e=>Ve({buttonIconColor:e}),borderbuttonIconColor:Ue,onChangeBorderBtniconColor:e=>Ve({borderbuttonIconColor:e}),enableIconPosotion:!0,buttonIconPosition:He,onChangebuttonIconPosition:e=>Ve({buttonIconPosition:e})}),Object(o.createElement)(Fs,{title:Es(" Typography","blockspare"),initialOpen:!0},Object(o.createElement)(Oo,{label:Es("Button Fonts Settings"),attributes:qe,setAttributes:Ve,loadGoogleFonts:{value:_e,label:Es("buttonLoadGoogleFonts")},fontFamily:{value:ze,label:Es("buttonFontFamily")},fontWeight:{value:Ne,label:Es("buttonFontWeight")},fontSubset:{value:Pe,label:Es("buttonFontSubset")},fontSizeType:{value:De,label:Es("buttonFontSizeType")},fontSize:{value:Le,label:Es("buttonFontSize")},fontSizeMobile:{value:Re,label:Es("buttonFontSizeMobile")},fontSizeTablet:{value:Ae,label:Es("buttonFontSizeTablet")},disableLineHeight:!0})),"none"===p&&Object(o.createElement)(Bs,{label:Es("Enable Gradient","blockspare"),checked:Q,onChange:()=>this.props.setAttributes({enableGradient:!Q})}),Q&&"none"===p&&Object(o.createElement)(Fs,{title:Es("Gradient Option","blockspare"),initialOpen:!0},Object(o.createElement)(Ll,{backgroundColor1:ee,onChangeBackgroundColor1:e=>Ve({backgroundColor1:e}),backgroundColor2:te,onChangeBackgroundColor2:e=>Ve({backgroundColor2:e}),gradientAngle:ae,onChangeGradientAngle:e=>Ve({gradientAngle:e}),colorLocation1:oe,onChangeColorLocation1:e=>Ve({colorLocation1:e}),colorLocation2:re,onChangeColorLocation2:e=>Ve({colorLocation2:e})}))),Object(o.createElement)(Fs,{title:Es("Background Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Bs,{label:Es("Display Image","blockspare"),checked:a,onChange:()=>this.props.setAttributes({showImage:!a})}),1==a&&Object(o.createElement)("div",null,Object(o.createElement)(Ss,{onSelect:e=>{Ve({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:r,render:e=>{let{open:t}=e;return Object(o.createElement)("div",{className:"blockspare-upload-button"},Object(o.createElement)(Ms,{className:"aft-cta-inspector-media",label:Es("Edit image","blockspare"),icon:"format-image",onClick:t},Es("Select Image","blockspare")),n&&!!n.length&&Object(o.createElement)(Ms,{className:"blockspare-cta-inspector-media",label:Es("Remove Image","blockspare"),icon:"dismiss",onClick:$e},Es("Remove","blockspare")))}}),Object(o.createElement)("div",{className:"blockspare-upload-image"},n&&!!n.length&&Object(o.createElement)("img",{src:n,width:"100px",height:"100px",alt:l}))),n&&!!n.length&&1==a&&Object(o.createElement)(js,{label:Es("Image Opacity","blockspare"),value:e,onChange:e=>this.props.setAttributes({opacityRatio:e}),min:0,max:100,step:10}),Object(o.createElement)(Ts,{title:Es("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:t,onChange:e=>Ve({ctaBackGroundColor:e}),label:Es("Background Color","blockspare")}]}),Object(o.createElement)(Bs,{label:Es("Enable Box Shadow","blockspare"),checked:ie,onChange:()=>this.props.setAttributes({enableBoxShadow:!ie})}),ie&&Object(o.createElement)(ji,{shadowColor:de,onChangeShadowColor:e=>Ve({shadowColor:e}),xOffset:se,onChangeXOffset:e=>Ve({xOffset:e}),yOffset:pe,onChangeYOffset:e=>Ve({yOffset:e}),blur:be,onChangeBlur:e=>Ve({blur:e}),spread:ue,onChangeSpread:e=>Ve({spread:e})}),Object(o.createElement)(js,{label:Es("Border Radius","blockspare"),value:le,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:50,step:1})),Object(o.createElement)(Fs,{title:Es("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(Fs,{title:Es("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(Fs,{title:Es("Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Fs,{title:Es("Block Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:h,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>Ve({marginTop:e}),marginEnableRight:!0,marginRight:k,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>Ve({marginRight:e}),marginEnableBottom:!0,marginBottom:y,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>Ve({marginBottom:e}),marginEnableLeft:!0,marginLeft:v,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>Ve({marginLeft:e})})),Object(o.createElement)(Fs,{title:Es("Content Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:d,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>Ve({paddingTop:e}),paddingEnableRight:!0,paddingRight:g,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>Ve({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:m,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>Ve({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:f,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>Ve({paddingLeft:e})})),Object(o.createElement)(Fs,{title:Es("Button Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:w,marginTopMin:"0",marginTopMax:"300",onChangeMarginTop:e=>Ve({btnMarginTop:e}),marginEnableRight:!0,marginRight:S,marginRightMin:"0",marginRightMax:"300",onChangeMarginRight:e=>Ve({btnMarginRight:e}),marginEnableBottom:!0,marginBottom:T,marginBottomMin:"0",marginBottomMax:"300",onChangeMarginBottom:e=>Ve({btnMarginBottom:e}),marginEnableLeft:!0,marginLeft:j,marginLeftMin:"0",marginLeftMax:"300",onChangeMarginLeft:e=>Ve({btnMarginLeft:e})}),Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:C,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>Ve({btnPaddingTop:e}),paddingEnableRight:!0,paddingRight:O,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>Ve({btnPaddingRight:e}),paddingEnableBottom:!0,paddingBottom:E,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>Ve({btnPaddingBottom:e}),paddingEnableLeft:!0,paddingLeft:x,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>Ve({btnPaddingLeft:e})})))))}}const{__:zs}=wp.i18n,{Component:Ns,Fragment:Ps}=wp.element,{RichText:Ds}=wp.blockEditor;class Rs extends Ns{render(){const{headerlayoutOption:e,align:t,sectionAlignment:a,headerTitle:n,headerTagOption:r,headerSubTitle:l,setAttributes:i,isSelected:s,titleLoadGoogleFonts:c,titleFontFamily:p,titleFontWeight:b,titleFontSubset:u,subTitleLoadGoogleFonts:d,subTitleFontFamily:g,subTitleFontWeight:m}=this.props;let f,h;if(1==c){const e={google:{families:[p+(b?":"+b:"")]}};f=Object(o.createElement)(Uo,{config:e})}if(1==d){const e={google:{families:[g+(m?":"+m:"")]}};h=Object(o.createElement)(Uo,{config:e})}return Object(o.createElement)(Ps,null,Object(o.createElement)("div",{className:"blockspare-title-wrapper"},Object(o.createElement)("span",{className:"blockspare-title-dash blockspare-upper-dash"}),Object(o.createElement)(Ds,{tagName:r,placeholder:zs("Title","blockspare"),keepPlaceholderOnFocus:!0,value:n,className:"blockspare-title",onChange:e=>i({headerTitle:e})}),Object(o.createElement)("span",{className:"blockspare-title-dash blockspare-lower-dash"})),Object(o.createElement)("div",{className:"blockspare-subtitle-wrapper"},Object(o.createElement)("span",{className:"blockspare-title-dash blockspare-upper-dash"}),Object(o.createElement)(Ds,{tagName:"p",placeholder:zs("Sub Title","blockspare"),keepPlaceholderOnFocus:!0,value:l,className:"blockspare-subtitle",onChange:e=>i({headerSubTitle:e})}),Object(o.createElement)("span",{className:"blockspare-title-dash blockspare-lower-dash"})),f,h)}}var As=e=>{let t="";return e.enableBoxShadow&&(t={boxShadow:e.xOffset+"px "+e.yOffset+"px "+e.blur+"px "+e.spread+"px "+e.shadowColor}),t},_s=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",marginRight:e.marginRight?e.marginRight+"px":"0px",marginBottom:e.marginBottom?e.marginBottom+"px":"0px",marginLeft:e.marginLeft?e.marginLeft+"px":"0px"},t},Is=(e,t)=>{let a="";return"padding"===t&&(a={paddingTop:e.btnPaddingTop+"px",paddingRight:e.btnPaddingRight+"px",paddingBottom:e.btnPaddingBottom+"px",paddingLeft:e.btnPaddingLeft+"px"}),"margin"===t&&(a={marginTop:e.btnMarginTop+"px",marginRight:e.btnMarginRight+"px",marginBottom:e.btnMarginBottom+"px",marginLeft:e.btnMarginLeft+"px"}),a},Hs=e=>{const{dashColor:t,dashColor2:a,headerlayoutOption:o}=e.attributes;let n={};return e.attributes&&("blockspare-style2"!==o&&"blockspare-style4"!==o&&"blockspare-style5"!==o&&"blockspare-style6"!==o&&"blockspare-style11"!==o&&"blockspare-style16"!==o||(n={...n,".blockspare-section-head-wrap .blockspare-title-wrapper .blockspare-title-dash":{color:t+"!important"}}),"blockspare-style7"!==o&&"blockspare-style10"!==o||(n={...n,".blockspare-section-head-wrap .blockspare-title-wrapper .blockspare-title-dash.blockspare-lower-dash::before":{backgroundColor:t+"!important"}}),"blockspare-style7"===o&&(n={...n,".blockspare-section-head-wrap .blockspare-title-wrapper .blockspare-title-dash.blockspare-lower-dash::after":{borderTopColor:t+"!important"}}),"blockspare-style9"!==o&&"blockspare-style17"!==o&&"blockspare-style18"!==o||(n={...n,".blockspare-section-head-wrap .blockspare-title-wrapper .blockspare-title":{backgroundColor:t+"!important"}}),"blockspare-style9"!==o&&"blockspare-style17"!==o||(n={...n,".blockspare-section-head-wrap .blockspare-title-wrapper .blockspare-title:before":{borderTopColor:t+"!important"}}),"blockspare-style12"===o&&(n={...n,".blockspare-section-head-wrap .blockspare-title-wrapper .blockspare-title":{borderBottomColor:t+"!important"}}),"blockspare-style13"!==o&&"blockspare-style15"!==o||(n={...n,".blockspare-section-head-wrap .blockspare-title-wrapper .blockspare-upper-dash":{backgroundColor:t+"!important"}}),"blockspare-style14"!==o&&"blockspare-style15"!==o&&"blockspare-style20"!==o||(n={...n,".blockspare-section-head-wrap .blockspare-title-wrapper .blockspare-lower-dash":{backgroundColor:t+"!important"}}),"blockspare-style18"===o&&(n={...n,".blockspare-section-head-wrap .blockspare-title-wrapper .blockspare-lower-dash":{borderBottomColor:t+"!important"}}),"blockspare-style19"===o&&(n={...n,".blockspare-section-head-wrap .blockspare-title-wrapper .blockspare-title:before":{backgroundColor:t+"!important"}}),"blockspare-style7"!==o&&"blockspare-style10"!==o&&"blockspare-style12"!==o&&"blockspare-style13"!==o||(n={...n,".blockspare-section-head-wrap .blockspare-title-wrapper .blockspare-lower-dash":{backgroundColor:a+"!important"}}),"blockspare-style11"===o&&(n={...n,".blockspare-section-head-wrap .blockspare-title-wrapper":{backgroundColor:a+"!important"}}),"blockspare-style14"===o&&(n={...n,".blockspare-section-head-wrap .blockspare-title-wrapper .blockspare-upper-dash":{backgroundColor:a+"!important"}})),n},Gs=e=>{const{sectionAlignment:t,ctaBackGroundColor:a,borderRadius:o,headertitleColor:n,headertitleColorDark:r,titleFontSize:l,headersubtitleColor:i,dashColor:s,dashColor2:c,headerboxColor:p,titleFontFamily:b,titleFontWeight:u,titleFontSizeType:d,titleFontSizeMobile:g,titleFontSizeTablet:m,subTitleFontSize:f,subTitleFontFamily:h,subTitleFontWeight:k,subTitleFontSubset:y,subTitleFontSizeType:v,subTitleFontSizeMobile:C,subTitleFontSizeTablet:O,buttonStyle:E,enableGradient:x,backgroundColor1:w,backgroundColor2:S,gradientAngle:T,colorLocation1:j,colorLocation2:F,btnFontWeight:M,btnBorderWidth:B,borderColor:L,buttonBackgroundColor:z,borderBtnTextColor:N,buttonTextColor:P,buttonFontSize:D,buttonFontFamily:R,buttonFontWeight:A,buttonFontSizeType:_,buttonFontSizeMobile:I,buttonFontSizeTablet:H,enableButtonIcon:G,buttonIconColor:W,borderbuttonIconColor:U,titlePaddingTop:q,titlePaddingRight:V,titlePaddingBottom:$,titlePaddingLeft:X,subtitlePaddingTop:Y,subtitlePaddingRight:J,subtitlePaddingBottom:K,subtitlePaddingLeft:Z,headermarginTop:Q,headermarginRight:ee,headermarginBottom:te,headermarginLeft:ae,headerlayoutOption:oe}=e.attributes,ne=[];if(ne.push({".blockspare-cta-wrapper":{backgroundColor:a||"#0e0e0e",...As(e.attributes),..._s(e.attributes),borderRadius:o?o+"px":null}}),ne.push({".blockspare-block-button a.blockspare-button":{...Is(e.attributes,"padding"),...Is(e.attributes,"margin")}}),G&&("none"===E?ne.push({".blockspare-block-button i":{color:W}}):ne.push({".blockspare-block-button i":{color:U||"#404040"}})),"none"===E)if(1==x){const e=T+"deg",t=j+"%",a=F+"%";ne.push({".blockspare-block-button a.blockspare-button":{color:P||"#fff",borderWidth:B+"px"},".wp-block-blockspare-blockspare-call-to-action .blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${w||"#3B1A5B"} ${t},${S||"#8B249C"} ${a})`},".wp-block-blockspare-blockspare-call-to-action .blockspare-block-button .blockspare-button:visited":{backgroundImage:`linear-gradient(${e},${w||"#3B1A5B"} ${t},${S||"#8B249C"} ${a})`},".wp-block-blockspare-blockspare-call-to-action .blockspare-block-button .blockspare-button:focus":{backgroundImage:`linear-gradient(${e},${w||"#3B1A5B"} ${t},${S||"#8B249C"} ${a})`}})}else ne.push({".blockspare-block-button a.blockspare-button":{color:P||"#fff",borderWidth:B+"px"},".wp-block-blockspare-blockspare-call-to-action .blockspare-block-button .blockspare-button":{backgroundColor:z||"#3c1a5b"},".wp-block-blockspare-blockspare-call-to-action .blockspare-block-button .blockspare-button:visited":{backgroundColor:z||"#3c1a5b"},".wp-block-blockspare-blockspare-call-to-action .blockspare-block-button .blockspare-button:focus":{backgroundColor:z||"#3c1a5b"}});else ne.push({".blockspare-block-button a.blockspare-button":{color:N||"#404040",backgroundColor:"transparent",borderColor:L||"#3c1a5b",borderStyle:E,borderWidth:B+"px"}});return ne.push({".blockspare-block-button a.blockspare-button":{...Ro(R),fontSize:D+_,...Ao(A)},tablet:{".blockspare-block-button a.blockspare-button":{fontSize:H+_}},mobile:{".blockspare-block-button a.blockspare-button":{fontSize:I+_}}}),ne.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:t,marginTop:Q+"px",marginRight:ee+"px",marginBottom:te+"px",marginLeft:ae+"px"}}),"blockspare-style9"===oe||"blockspare-style17"===oe||"blockspare-style18"===oe?ne.push({".blockspare-section-head-wrap .blockspare-title":{color:r},".blockspare-section-head-wrap .blockspare-title-wrapper":{paddingTop:q+"px ",paddingRight:V+"px ",paddingBottom:$+"px",paddingLeft:X+"px"}}):ne.push({".blockspare-section-head-wrap .blockspare-title":{color:n,paddingTop:q+"px ",paddingRight:V+"px ",paddingBottom:$+"px",paddingLeft:X+"px"}}),ne.push({...Hs(e)}),ne.push({".blockspare-section-head-wrap .blockspare-title":{fontSize:l+d,...Ro(b),...Ao(u)},".blockspare-section-head-wrap .blockspare-subtitle":{color:i,fontSize:f+v,...Ro(h),...Ao(k),paddingTop:Y+"px",paddingRight:J+"px",paddingBottom:K+"px",paddingLeft:Z+"px"},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:m+d},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:O+v}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+d},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:C+v}}}),Do.a.all(ne)};const Ws=blockspare_globals,{Component:Us,Fragment:qs}=wp.element,{compose:Vs}=wp.compose,{__:$s}=wp.i18n,{AlignmentToolbar:Xs,URLInput:Ys,BlockControls:Js,BlockAlignmentToolbar:Ks,RichText:Zs}=wp.blockEditor,{IconButton:Qs,Dashicon:ec}=wp.components;var tc=Vs(W,I(Gs))(class extends Us{constructor(e){super(...arguments)}render(){const{attributes:{align:e,buttonText:t,buttonUrl:a,buttonAlignment:n,buttonSize:r,buttonShape:l,showImage:i,imgURL:s,sectionAlignment:c,backgroundFix:p,imgAlt:b,opacityRatio:u,headerTagOption:d,headerTitle:g,headerSubTitle:m,buttonHoverEffect:f,headerlayoutOption:h,profileContentFontSize:k,titleLoadGoogleFonts:v,titleFontFamily:C,titleFontWeight:O,subTitleLoadGoogleFonts:E,subTitleFontFamily:x,subTitleFontWeight:w,buttonLoadGoogleFonts:S,buttonFontFamily:T,buttonFontWeight:j,animation:F,blockHoverEffect:M,enableButtonIcon:B,buttonIconPosition:L,buttonIcon:z},className:N,isSelected:P,attributes:D,setAttributes:R}=this.props;let A="url("+Ws.img+")";s&&s.length&&(A="url("+s+")");const _={className:y()(N,"align"+e,"blockspare-calltoaction",F?"blockspare-block-animation":"",F,M),"data-block-animation":F};let I;if(1==S){const e={google:{families:[T+(j?":"+j:"")]}};I=Object(o.createElement)(Uo,{config:e})}return Object(o.createElement)(qs,null,Object(o.createElement)(Js,null,Object(o.createElement)(Ks,{value:e,onChange:e=>{R({align:e})},controls:["center","wide","full"]}),Object(o.createElement)(Xs,{value:c,onChange:e=>{R({sectionAlignment:e})}})),Object(o.createElement)(Ls,{setAttributes:R,...this.props}),Object(o.createElement)("div",_,this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-cta-wrapper blockspare-blocks blockspare-hover-item","align"+e,s&&s.length&&p?"blockspare-background-fix":"")},i&&s&&Object(o.createElement)("div",{className:y()("blockspare-image-wrap","blockspare-cta-background",(H=u,0===H?null:"has-background-opacity-"+10*Math.round(H/10)),{"has-background-opacity":0!==u}),style:{backgroundImage:A}}),!s&&i&&Object(o.createElement)("div",{className:"empty-plcaeholder-div"}),Object(o.createElement)("div",{className:y()("blockspare-section-header-wrapper blockspare-blocks")},Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",h,"blockspare-"+c)},Object(o.createElement)(Rs,{setAttributes:R,headerTitle:g,headerTagOption:d,headerSubTitle:m,titleFontFamily:C,titleFontWeight:O,titleLoadGoogleFonts:v,subTitleLoadGoogleFonts:E,subTitleFontFamily:x,subTitleFontWeight:w,headerlayoutOption:h}))),Object(o.createElement)("div",{className:"blockspare-block-button"},Object(o.createElement)("a",{href:"#",className:y()("blockspare-button",l,r,f,B?L:"")},B&&Object(o.createElement)("i",{className:z}),Object(o.createElement)(Zs,{tagName:"span",placeholder:$s("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:""+t,allowedFormats:[],onChange:e=>R({buttonText:e})}))),P&&Object(o.createElement)("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+n,onSubmit:e=>e.preventDefault()},Object(o.createElement)(ec,{icon:"admin-links"}),Object(o.createElement)(Ys,{className:"button-url",value:a,onChange:e=>R({buttonUrl:e})}),Object(o.createElement)(Qs,{icon:"editor-break",label:$s("Apply","blockspare"),type:"submit"})))),I);var H}});const{Component:ac,Fragment:oc}=wp.element,{RichText:nc}=wp.blockEditor;class rc extends ac{render(){const{align:e,headerTitle:t,headerTagOption:a,headerSubTitle:n,headerlayoutOption:r}=this.props;return Object(o.createElement)(oc,null,Object(o.createElement)("div",{className:"blockspare-title-wrapper"},Object(o.createElement)("span",{className:"blockspare-title-dash blockspare-upper-dash"}),t&&Object(o.createElement)(nc.Content,{tagName:a,className:"blockspare-title",value:t}),Object(o.createElement)("span",{className:"blockspare-title-dash blockspare-lower-dash"})),Object(o.createElement)("div",{className:"blockspare-subtitle-wrapper"},Object(o.createElement)("span",{className:"blockspare-title-dash blockspare-upper-dash"}),n&&Object(o.createElement)(nc.Content,{tagName:"p",className:"blockspare-subtitle",value:n}),Object(o.createElement)("span",{className:"blockspare-title-dash blockspare-lower-dash"})))}}const lc=blockspare_globals,{Component:ic}=wp.element,{__:sc}=wp.i18n,{compose:cc}=wp.compose,{RichText:pc}=wp.blockEditor;var bc=cc(W,I(Gs))(class extends ic{render(){const{attributes:{align:e,buttonText:t,buttonUrl:a,buttonTarget:n,buttonSize:r,buttonShape:l,opacityRatio:i,sectionAlignment:s,showImage:c,imgURL:p,headerlayoutOption:b,headerTagOption:u,headerTitle:d,headerSubTitle:g,buttonHoverEffect:m,backgroundFix:f,animation:h,blockHoverEffect:k,enableButtonIcon:v,buttonIconPosition:C,buttonIcon:O},className:E,attributes:x}=this.props;let w="url("+lc.img+")";p&&p.length&&(w="url("+p+")");const S=y()([E,"align"+e,"blockspare-calltoaction",h?"blockspare-block-animation":"",k]);return Object(o.createElement)("div",{className:S,"blockspare-animation":h},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-cta-wrapper blockspare-blocks blockspare-hover-item",p&&p.length&&f?"blockspare-background-fix":"")},c&&p&&Object(o.createElement)("div",{className:y()("blockspare-image-wrap","blockspare-cta-background",(T=i,0===T?null:"has-background-opacity-"+10*Math.round(T/10)),{"has-background-opacity":0!==i}),style:{backgroundImage:w}}),!p&&c&&Object(o.createElement)("div",{className:"empty-plcaeholder-div"}),Object(o.createElement)("div",{className:y()("blockspare-section-header-wrapper blockspare-blocks")},Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",b,"blockspare-"+s)},Object(o.createElement)(rc,{headerTitle:d,headerTagOption:u,headerSubTitle:g,headerlayoutOption:b}))),Object(o.createElement)("div",{className:"blockspare-block-button"},t&&Object(o.createElement)("a",{href:a,target:n?"_blank":null,rel:n?"noopener noreferrer":null,className:y()("blockspare-button",l,r,m,v?C:"")},v&&Object(o.createElement)("i",{className:O}),Object(o.createElement)(pc.Content,{tagName:"span",value:t})))));var T}});const{name:uc,category:dc}=ii,{registerBlockType:gc}=wp.blocks,{__:mc}=wp.i18n,fc=["center","wide","full"],hc={...ci,...ii.attributes,...ai,...bi,...pi,...si};gc(uc,{title:mc("Call to Action","blockspare"),description:mc("call to action allow you to add title,subtitle,text button and background image/color","blockspare"),category:dc,icon:s.a.cta,attributes:hc,keywords:[mc("call to action","blockspare"),mc("block","blockspare"),mc("cta","blockspare"),mc("link","blockspare")],example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},getEditWrapperProps(e){const{align:t}=e;if(-1!==fc.indexOf(t))return{"data-align":t}},edit:tc,save:bc}),a(344);var kc=a(243),yc=a.p+"images/style-1.784407a9.png",vc=a.p+"images/style-2.93273324.png",Cc=a.p+"images/style-3.05d95083.png",Oc=a.p+"images/style-4.1896ce07.png";const{Component:Ec}=wp.element,{__:xc}=wp.i18n,{applyFilters:wc}=wp.hooks,{InspectorControls:Sc,MediaUpload:Tc,PanelColorSettings:jc}=wp.blockEditor,{ToggleControl:Fc,PanelBody:Mc,SelectControl:Bc,IconButton:Lc,RangeControl:zc}=wp.components;class Nc extends Ec{render(){const e=[{value:"",label:xc("Default","blockspare")},{value:"blockspare-style1",label:xc("Style 1","blockspare")},{value:"blockspare-style2",label:xc("Style 2","blockspare")}],{attributes:{backGroundColor:t,imageShape:a,descriptionColor:n,imgID:r,imgURL:l,imgAlt:i,showContentImg:s,buttonBackgroundColor:c,buttonTextColor:p,buttonSize:b,buttonShape:u,buttonTarget:d,buttonStyle:g,borderColor:m,borderBtnTextColor:f,showButton:h,paddingTop:k,paddingRight:y,paddingBottom:v,paddingLeft:C,marginTop:O,marginRight:E,marginBottom:x,marginLeft:w,layoutOption:S,titleFontSize:T,headerlayoutOption:j,design:F="style-1",enableGradient:M,backgroundColor1:B,backgroundColor2:L,gradientAngle:z,colorLocation1:N,colorLocation2:P,headerTagOption:D,enableBoxShadow:R,xOffset:A,yOffset:_,blur:I,spread:H,shadowColor:G,borderRadius:W,btnFontWeight:U,btnBorderWidth:q,buttonHoverEffect:V,titleLoadGoogleFonts:$,titleFontFamily:X,titleFontWeight:Y,titleFontSubset:J,titleFontSizeType:K,titleFontSizeMobile:Z,titleFontSizeTablet:Q,subTitleFontSize:ee,subTitleLoadGoogleFonts:te,subTitleFontFamily:ae,subTitleFontWeight:oe,subTitleFontSubset:re,subTitleFontSizeType:le,subTitleFontSizeMobile:ie,subTitleFontSizeTablet:se,descriptionFontSize:pe,descriptionFontFamily:be,descriptionFontWeight:ue,descriptionFontSubset:de,descriptionFontSizeType:ge,descriptionFontSizeMobile:me,descriptionFontSizeTablet:fe,descriptionLoadGoogleFonts:he,buttonFontSize:ke,buttonFontFamily:ye,buttonFontWeight:ve,buttonFontSubset:Ce,buttonFontSizeType:Oe,buttonFontSizeMobile:Ee,buttonFontSizeTablet:xe,buttonLoadGoogleFonts:we,enableButtonIcon:Se,buttonIconPosition:Te,buttonIcon:je,buttonIconColor:Fe,borderbuttonIconColor:Me,headertitleColor:Be,headertitleColorDark:Le,headersubtitleColor:ze,dashColor:Ne,dashColor2:Pe,headerboxColor:De,titlePaddingTop:Re,titlePaddingRight:Ae,titlePaddingBottom:_e,titlePaddingLeft:Ie,subtitlePaddingTop:He,subtitlePaddingRight:Ge,subtitlePaddingBottom:We,subtitlePaddingLeft:Ue,headermarginTop:qe,headermarginRight:Ve,headermarginBottom:$e,headermarginLeft:Xe,btnPaddingTop:Ye,btnPaddingRight:Je,btnPaddingBottom:Ke,btnPaddingLeft:Ze,btnMarginTop:Qe,btnMarginRight:et,btnMarginBottom:tt,btnMarginLeft:at,descriptionMarginTop:ot,descriptionMarginRight:nt,descriptionMarginBottom:rt,descriptionMarginLeft:lt},attributes:it,setAttributes:st}=this.props,ct=()=>{st({imgID:null,imgURL:null,imgAlt:null})};return xc("Layout 1","blockspare"),xc("Layout 2","blockspare"),xc("Layout 3","blockspare"),xc("Layout 4","blockspare"),xc("Layout 5","blockspare"),xc("Layout 6","blockspare"),xc("Layout 7","blockspare"),xc("Layout 8","blockspare"),xc("Layout 9","blockspare"),Object(o.createElement)(Sc,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:""}),Object(o.createElement)(Qi,{initialOpen:!1,paneltitle:xc("Layouts","blockspare"),selected:F,options:wc("blockspare.cta.edit.layouts",[{label:xc("Layout 1","blockspare"),value:"style-1",image:yc},{label:xc("Layout 2","blockspare"),value:"style-2",image:vc},{label:xc("Layout 3","blockspare"),value:"style-3",image:Cc},{label:xc("Layout 4","blockspare"),value:"style-4",image:Oc}]),onChange:e=>st({design:e})}),Object(o.createElement)(Mc,{title:xc("Block Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Fc,{label:xc("Display Button","blockspare"),checked:h,onChange:()=>this.props.setAttributes({showButton:!h})}),Object(o.createElement)(Fc,{label:xc("Reverse","blockspare"),checked:S,onChange:()=>this.props.setAttributes({layoutOption:!S})}),s&&Object(o.createElement)(Tc,{onSelect:e=>{st({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:r,render:e=>{let{open:t}=e;return Object(o.createElement)("div",{className:"blockspare-upload-button"},Object(o.createElement)(Lc,{className:"aft-cta-inspector-media",label:xc("Edit image","blockspare"),icon:"format-image",onClick:t},xc("Select Image","blockspare")),l&&!!l.length&&Object(o.createElement)(Lc,{className:"blockspare-cta-inspector-media",label:xc("Remove Image","blockspare"),icon:"dismiss",onClick:ct},xc("Remove","blockspare")))}}),l&&!!l.length&&Object(o.createElement)("div",{className:"blockspare-upload-image"},Object(o.createElement)("img",{src:l,width:"100px",height:"100px",alt:i})),l&&!!l.length&&Object(o.createElement)(Bc,{label:xc("Choose Image Shape","blockspare"),options:e,value:a,onChange:e=>this.props.setAttributes({imageShape:e})}),"style-3"!=F&&Object(o.createElement)(jc,{title:xc("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:t,onChange:e=>st({backGroundColor:e}),label:xc("Background Color","blockspare")}]}),"style-3"!=F&&Object(o.createElement)(zc,{label:xc("Border Radius","blockspare"),value:W,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:50,step:1}),"style-3"!=F&&Object(o.createElement)(Fc,{label:xc("Enable Box Shadow","blockspare"),checked:R,onChange:()=>this.props.setAttributes({enableBoxShadow:!R})}),R&&"style-3"!=F&&Object(o.createElement)(ji,{shadowColor:G,onChangeShadowColor:e=>st({shadowColor:e}),xOffset:A,onChangeXOffset:e=>st({xOffset:e}),yOffset:_,onChangeYOffset:e=>st({yOffset:e}),blur:I,onChangeBlur:e=>st({blur:e}),spread:H,onChangeSpread:e=>st({spread:e})})),Object(o.createElement)(Mc,{title:xc("Header Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Os,{headerlayoutOption:j,onChangeHeaderLayput:e=>st({headerlayoutOption:e})}),Object(o.createElement)(Mc,{title:xc("Typography Settings","blockspare")},Object(o.createElement)(Oo,{label:xc("Title Fonts Settings"),attributes:it,setAttributes:st,loadGoogleFonts:{value:$,label:xc("titleLoadGoogleFonts")},fontFamily:{value:X,label:xc("titleFontFamily")},fontWeight:{value:Y,label:xc("titleFontWeight")},fontSubset:{value:J,label:xc("titleFontSubset")},fontSizeType:{value:K,label:xc("titleFontSizeType")},fontSize:{value:T,label:xc("titleFontSize")},fontSizeMobile:{value:Z,label:xc("titleFontSizeMobile")},fontSizeTablet:{value:Q,label:xc("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:D}),Object(o.createElement)(Oo,{label:xc("Subtitle Fonts Settings"),attributes:it,setAttributes:st,loadGoogleFonts:{value:te,label:xc("subTitleLoadGoogleFonts")},fontFamily:{value:ae,label:xc("subTitleFontFamily")},fontWeight:{value:oe,label:xc("subTitleFontWeight")},fontSubset:{value:re,label:xc("subTitleFontSubset")},fontSizeType:{value:le,label:xc("subTitleFontSizeType")},fontSize:{value:ee,label:xc("subTitleFontSize")},fontSizeMobile:{value:ie,label:xc("subTitleFontSizeMobile")},fontSizeTablet:{value:se,label:xc("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),Object(o.createElement)(Oo,{label:xc("Description Fonts Settings"),attributes:it,setAttributes:st,loadGoogleFonts:{value:he,label:xc("descriptionLoadGoogleFonts")},fontFamily:{value:be,label:xc("descriptionFontFamily")},fontWeight:{value:ue,label:xc("descriptionFontWeight")},fontSubset:{value:de,label:xc("descriptionFontSubset")},fontSizeType:{value:ge,label:xc("descriptionFontSizeType")},fontSize:{value:pe,label:xc("descriptionFontSize")},fontSizeMobile:{value:me,label:xc("descriptionFontSizeMobile")},fontSizeTablet:{value:fe,label:xc("descriptionFontSizeTablet")},disableLineHeight:!0})),Object(o.createElement)(Ci,{headerboxColor:De,onChangeboxcolor:e=>st({headerboxColor:e}),headertitleColor:Be,onChangetitlecolor:e=>st({headertitleColor:e}),headertitleColorDark:Le,onChangetitlecolordark:e=>st({headertitleColorDark:e}),dashColor:Ne,dashColor2:Pe,headerlayoutOption:j,onChangeDashColor:e=>st({dashColor:e}),onChangeDashColor2:e=>st({dashColor2:e}),headersubtitleColor:ze,onChangesubtitlecolor:e=>st({headersubtitleColor:e})}),Object(o.createElement)(fi,{panelTitle:xc("Title/Subtitle Gaps","lockspare"),titlePaddingTop:Re,onChangetitlePaddingTop:e=>st({titlePaddingTop:e}),titlePaddingRight:Ae,onChangetitlePaddingRight:e=>st({titlePaddingRight:e}),titlePaddingBottom:_e,onChangetitlePaddingBottom:e=>st({titlePaddingBottom:e}),titlePaddingLeft:Ie,onChangetitlePaddingLeft:e=>st({titlePaddingLeft:e}),headersubtitleColor:ze,onChangesubtitlecolor:e=>st({headersubtitleColor:e}),subtitlePaddingTop:He,onChangesubtitlePaddingTop:e=>st({subtitlePaddingTop:e}),subtitlePaddingRight:Ge,onChangesubtitlePaddingRight:e=>st({subtitlePaddingRight:e}),subtitlePaddingBottom:We,onChangesubtitlePaddingBottom:e=>st({subtitlePaddingBottom:e}),subtitlePaddingLeft:Ue,onChangesubtitlePaddingLeft:e=>st({subtitlePaddingLeft:e}),headermarginTop:qe,onChangeheadermarginTop:e=>st({headermarginTop:e}),headermarginRight:Ve,onChangeheadermarginRight:e=>st({headermarginRight:e}),headermarginBottom:$e,onChangeheadermarginBottom:e=>st({headermarginBottom:e}),headermarginLeft:Xe,onChangeheadermarginLeft:e=>st({headermarginLeft:e})})),Object(o.createElement)(Mc,{title:xc("Color Settings","blockspare"),initialOpen:!1},Object(o.createElement)(jc,{title:xc("Description Color","blockspare"),initialOpen:!1,colorSettings:[{value:n,onChange:e=>st({descriptionColor:e}),label:xc("Description Color","blockspare")}]})),h&&Object(o.createElement)(Mc,{title:xc("Button Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Fc,{label:xc("Enable Icon","magic-content-box"),checked:Se,onChange:()=>this.props.setAttributes({enableButtonIcon:!Se})}),Object(o.createElement)(Tl,{enableButtonTarget:!0,buttonTarget:d,onChangeButtonTarget:e=>st({buttonTarget:!d}),enableGradient:M,onChangeGradient:e=>st({enableGradient:e}),enableButtonSize:!0,buttonSize:b,onChangeButtonSize:e=>st({buttonSize:e}),enableButtonShape:!0,buttonShape:u,onChangeButtonShape:e=>st({buttonShape:e}),buttonBackgroundColor:c,onChangeButtonColor:e=>st({buttonBackgroundColor:e}),buttonTextColor:p,onChangeButtonTextColor:e=>st({buttonTextColor:e}),enableButtonStyle:!0,buttonStyle:g,onChangeBorderStyle:e=>st({buttonStyle:e}),buttonHoverEffect:V,onchangeButtonHoverEffect:e=>st({buttonHoverEffect:e}),borderColor:m,onchangeBorderColor:e=>st({borderColor:e}),borderBtnTextColor:f,onChangeBorderBtnTextColor:e=>st({borderBtnTextColor:e}),enableBtnBorderWidth:!0,btnBorderWidth:q,onchangebtnBorderWidth:e=>st({btnBorderWidth:e}),enableBtnFontWeight:!0,btnFontWeight:U,onchangeBtnFontWeight:e=>st({btnFontWeight:e}),enableButtonIcon:Se,name:je,onChangeName:e=>st({buttonIcon:e}),enableIconcolor:Se,iconColor:Fe,onChangeIconColor:e=>st({buttonIconColor:e}),borderbuttonIconColor:Me,onChangeBorderBtniconColor:e=>st({borderbuttonIconColor:e}),enableIconPosotion:!0,buttonIconPosition:Te,onChangebuttonIconPosition:e=>st({buttonIconPosition:e})}),Object(o.createElement)(Mc,{title:xc(" Typography","blockspare"),initialOpen:!0},Object(o.createElement)(Oo,{label:xc("Button Fonts Settings"),attributes:it,setAttributes:st,loadGoogleFonts:{value:we,label:xc("buttonLoadGoogleFonts")},fontFamily:{value:ye,label:xc("buttonFontFamily")},fontWeight:{value:ve,label:xc("buttonFontWeight")},fontSubset:{value:Ce,label:xc("buttonFontSubset")},fontSizeType:{value:Oe,label:xc("buttonFontSizeType")},fontSize:{value:ke,label:xc("buttonFontSize")},fontSizeMobile:{value:Ee,label:xc("buttonFontSizeMobile")},fontSizeTablet:{value:xe,label:xc("buttonFontSizeTablet")},disableLineHeight:!0})),"none"===g&&Object(o.createElement)(Fc,{label:xc("Enable Gradient","blockspare"),checked:M,onChange:()=>this.props.setAttributes({enableGradient:!M})}),M&&"none"===g&&Object(o.createElement)(Mc,{title:xc("Gradient Option","blockspare"),initialOpen:!0},Object(o.createElement)(Ll,{backgroundColor1:B,onChangeBackgroundColor1:e=>st({backgroundColor1:e}),backgroundColor2:L,onChangeBackgroundColor2:e=>st({backgroundColor2:e}),gradientAngle:z,onChangeGradientAngle:e=>st({gradientAngle:e}),colorLocation1:N,onChangeColorLocation1:e=>st({colorLocation1:e}),colorLocation2:P,onChangeColorLocation2:e=>st({colorLocation2:e})}))),Object(o.createElement)(Mc,{title:xc("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(Mc,{title:xc("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(Mc,{title:xc("Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Mc,{title:xc("Block Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:O,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>st({marginTop:e}),marginEnableRight:!0,marginRight:E,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>st({marginRight:e}),marginEnableBottom:!0,marginBottom:x,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>st({marginBottom:e}),marginEnableLeft:!0,marginLeft:w,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>st({marginLeft:e})})),Object(o.createElement)(Mc,{title:xc("Content Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:k,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>st({paddingTop:e}),paddingEnableRight:!0,paddingRight:y,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>st({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:v,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>st({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:C,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>st({paddingLeft:e})})),Object(o.createElement)(Mc,{title:xc("Description Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:ot,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>st({descriptionMarginTop:e}),marginEnableRight:!0,marginRight:nt,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>st({descriptionMarginRight:e}),marginEnableBottom:!0,marginBottom:rt,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>st({descriptionMarginBottom:e}),marginEnableLeft:!0,marginLeft:lt,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>st({descriptionMarginLeft:e})})),h&&Object(o.createElement)(Mc,{title:xc("Button Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:Qe,marginTopMin:"0",marginTopMax:"300",onChangeMarginTop:e=>st({btnMarginTop:e}),marginEnableRight:!0,marginRight:et,marginRightMin:"0",marginRightMax:"300",onChangeMarginRight:e=>st({btnMarginRight:e}),marginEnableBottom:!0,marginBottom:tt,marginBottomMin:"0",marginBottomMax:"300",onChangeMarginBottom:e=>st({btnMarginBottom:e}),marginEnableLeft:!0,marginLeft:at,marginLeftMin:"0",marginLeftMax:"300",onChangeMarginLeft:e=>st({btnMarginLeft:e})}),Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:Ye,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>st({btnPaddingTop:e}),paddingEnableRight:!0,paddingRight:Je,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>st({btnPaddingRight:e}),paddingEnableBottom:!0,paddingBottom:Ke,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>st({btnPaddingBottom:e}),paddingEnableLeft:!0,paddingLeft:Ze,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>st({btnPaddingLeft:e})})))))}}var Pc=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:"none",borderRadius:e.borderRadius?e.borderRadius+"px":0,backgroundColor:e.enableBackgroundColor?e.backGroundColor:"transparent"}),t},Dc=(e,t)=>{let a="";return"padding"===t&&(a={paddingTop:e.descriptionPaddingTop+"px",paddingRight:e.descriptionPaddingRight+"px",paddingBottom:e.descriptionPaddingBottom+"px",paddingLeft:e.descriptionPaddingLeft+"px"}),"margin"===t&&(a={marginTop:e.descriptionMarginTop+"px",marginRight:e.descriptionMarginRight+"px",marginBottom:e.descriptionMarginBottom+"px",marginLeft:e.descriptionMarginLeft+"px"}),a},Rc=e=>{const{sectionAlignment:t,headertitleColor:a,headertitleColorDark:o,titleFontSize:n,headersubtitleColor:r,subtitleFontSize:l,dashColor:i,dashColor2:s,headerboxColor:c,titleFontFamily:p,titleFontWeight:b,titleFontSizeType:u,titleFontSizeMobile:d,titleFontSizeTablet:g,backGroundColor:m,subTitleFontSize:f,subTitleFontFamily:h,subTitleFontWeight:k,subTitleFontSizeType:y,subTitleFontSizeMobile:v,subTitleFontSizeTablet:C,descriptionColor:O,descriptionFontSize:E,descriptionFontFamily:x,descriptionFontWeight:w,descriptionFontSubset:S,descriptionFontSizeType:T,descriptionFontSizeMobile:j,descriptionFontSizeTablet:F,design:M,buttonStyle:B,enableGradient:L,backgroundColor1:z,backgroundColor2:N,gradientAngle:P,colorLocation1:D,colorLocation2:R,btnFontWeight:A,btnBorderWidth:_,borderColor:I,buttonBackgroundColor:H,borderBtnTextColor:G,buttonTextColor:W,buttonFontSize:U,buttonFontFamily:q,buttonFontWeight:V,buttonFontSizeType:$,buttonFontSizeMobile:X,buttonFontSizeTablet:Y,enableButtonIcon:J,buttonIconColor:K,borderbuttonIconColor:Z,titlePaddingTop:Q,titlePaddingRight:ee,titlePaddingBottom:te,titlePaddingLeft:ae,subtitlePaddingTop:oe,subtitlePaddingRight:ne,subtitlePaddingBottom:re,subtitlePaddingLeft:le,headermarginTop:ie,headermarginRight:se,headermarginBottom:ce,headermarginLeft:pe,headerlayoutOption:be,showButton:ue,paddingTop:de,paddingRight:ge,paddingBottom:me,paddingLeft:fe,marginTop:he,marginRight:ke,marginBottom:ye,marginLeft:ve}=e.attributes,Ce=[];if("style-3"!==M&&Ce.push({".blockspare-contentBox .blockspare-section-wrapper":{backgroundColor:m||"#fff"}}),Ce.push({".blockspare-content-wrapper":{textAlign:t,marginTop:he?he+"px":"0px",marginRight:ke?ke+"px":"0px",marginBottom:ye?ye+"px":"0px",marginLeft:ve?ve+"px":"0px"},".blockspare-content-wrapper .blockspare-section-wrapper":{paddingTop:de?de+"px":"0px",paddingRight:ge?ge+"px":"0px",paddingBottom:me?me+"px":"0px",paddingLeft:fe?fe+"px":"0px"},".blockspare-desc-btn-wrap .blockspare-description":{color:O,fontSize:E+T,...Ro(x),...Ao(w)},".blockspare-mainheader-wrap":{...Pc(e.attributes)},".blockspare-section-header-wrapper":{borderColor:i},".blockspare-content-wrapper .blockspare-desc-btn-wrap .blockspare-description":{...Dc(e.attributes,"margin")}}),ue&&Ce.push({".blockspare-block-button a.blockspare-button":{...Is(e.attributes,"margin"),...Is(e.attributes,"padding")}}),Ce.push({".blockspare-section-head-wrap":{backgroundColor:c||"transparent",textAlign:t,marginTop:ie+"px",marginRight:se+"px",marginBottom:ce+"px",marginLeft:pe+"px"}}),J&&("none"===B?Ce.push({".blockspare-block-button i":{color:K}}):Ce.push({".blockspare-block-button i":{color:Z||"#404040"}})),"none"===B)if(1==L){const e=P+"deg",t=D+"%",a=R+"%";Ce.push({".blockspare-block-button a.blockspare-button":{color:W||"#fff",borderWidth:_+"px"},".wp-block-blockspare-content-box .blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${z||"#3B1A5B"} ${t},${N||"#8B249C"} ${a})`},".wp-block-blockspare-content-box .blockspare-block-button .blockspare-button:visited":{backgroundImage:`linear-gradient(${e},${z||"#3B1A5B"} ${t},${N||"#8B249C"} ${a})`},".wp-block-blockspare-content-box .blockspare-block-button .blockspare-button:focus":{backgroundImage:`linear-gradient(${e},${z||"#3B1A5B"} ${t},${N||"#8B249C"} ${a})`}})}else Ce.push({".blockspare-block-button a.blockspare-button":{color:W||"#fff",borderWidth:_+"px"},".wp-block-blockspare-content-box .blockspare-block-button .blockspare-button":{backgroundColor:H||"#3c1a5b"},".wp-block-blockspare-content-box .blockspare-block-button .blockspare-button:visited":{backgroundColor:H||"#3c1a5b"},".wp-block-blockspare-content-box .blockspare-block-button .blockspare-button:focus":{backgroundColor:H||"#3c1a5b"}});else Ce.push({".blockspare-block-button a.blockspare-button":{color:G||"#404040",borderColor:I||"#3c1a5b",borderStyle:B,borderWidth:_+"px",backgroundColor:"transparent"}});return Ce.push({".blockspare-block-button a.blockspare-button":{fontSize:U+$,...Ro(q),...Ao(V)},tablet:{".blockspare-block-button a.blockspare-button":{fontSize:Y+$}},mobile:{".blockspare-block-button a.blockspare-button":{fontSize:X+$}}}),"blockspare-style9"===be||"blockspare-style17"===be||"blockspare-style18"===be?Ce.push({".blockspare-section-head-wrap .blockspare-title":{color:o},".blockspare-section-head-wrap .blockspare-title-wrapper":{paddingTop:Q+"px ",paddingRight:ee+"px ",paddingBottom:te+"px",paddingLeft:ae+"px"}}):Ce.push({".blockspare-section-head-wrap .blockspare-title":{color:a,paddingTop:Q+"px ",paddingRight:ee+"px ",paddingBottom:te+"px",paddingLeft:ae+"px"}}),Ce.push({...Hs(e)}),Ce.push({".blockspare-section-head-wrap .blockspare-title":{fontSize:n+u,...Ro(p),...Ao(b)},".blockspare-section-head-wrap .blockspare-subtitle":{color:r,fontSize:f+y,...Ro(h),...Ao(k),paddingTop:oe+"px",paddingRight:ne+"px",paddingBottom:re+"px",paddingLeft:le+"px"},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+u},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:C+y},".blockspare-desc-btn-wrap .blockspare-description":{fontSize:F+y}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:d+u},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:v+y},".blockspare-desc-btn-wrap .blockspare-description":{fontSize:j+y}}}),Do.a.all(Ce)};const Ac=blockspare_globals,{Component:_c,Fragment:Ic}=wp.element,{__:Hc}=wp.i18n,{compose:Gc}=wp.compose,{BlockControls:Wc,BlockAlignmentToolbar:Uc,RichText:qc,URLInput:Vc,AlignmentToolbar:$c}=wp.blockEditor,{IconButton:Xc,Dashicon:Yc}=wp.components;var Jc=Gc(W,I(Rc))(class extends _c{render(){const{attributes:{align:e,sectionAlignment:t,backGroundColor:a,descriptionColor:n,sectionDescription:r,buttonText:l,buttonUrl:i,showButton:s,buttonSize:c,buttonShape:p,buttonAlignment:b,showContentImg:u,imgURL:d,imgAlt:g,imageShape:m,layoutOption:f,headerTagOption:h,headerTitle:k,headerSubTitle:v,design:C,borderRadius:O,enableBackgroundColor:E,buttonHoverEffect:x,profileContentFontSize:w,titleLoadGoogleFonts:S,titleFontFamily:T,titleFontWeight:j,subTitleLoadGoogleFonts:F,subTitleFontFamily:M,subTitleFontWeight:B,headerlayoutOption:L,descriptionLoadGoogleFonts:z,descriptionFontFamily:N,descriptionFontWeight:P,descriptionFontSubset:D,buttonLoadGoogleFonts:R,buttonFontFamily:A,buttonFontWeight:_,animation:I,blockHoverEffect:H,enableButtonIcon:G,buttonIconPosition:W,buttonIcon:U},className:q,attributes:V,setAttributes:$,isSelected:X}=this.props;let Y=Ac.img;d&&d.length&&(Y=d);const J={className:y()(q,"align"+e,"blockspare-contentBox",I?"blockspare-block-animation":"",I,H),"data-block-animation":I};let K,Z;if(1==z){const e={google:{families:[N+(P?":"+P:"")]}};K=Object(o.createElement)(Uo,{config:e})}if(1==R){const e={google:{families:[A+(_?":"+_:"")]}};Z=Object(o.createElement)(Uo,{config:e})}return Object(o.createElement)(Ic,null,Object(o.createElement)(Wc,null,Object(o.createElement)(Uc,{value:e,onChange:e=>{$({align:e})},controls:["center","wide","full"]})),Object(o.createElement)(Nc,{setAttributes:$,...this.props}),Object(o.createElement)(Wc,null,Object(o.createElement)($c,{value:t,onChange:e=>{$({sectionAlignment:e})}})),Object(o.createElement)("div",J,this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-content-wrapper blockspare-blocks blockspare-hover-item blockspare-hover-child",1==f?"reverse-img":"","style-3"!=C?"has-background":"",C)},u&&d&&Object(o.createElement)("div",{className:"content-img-wrap"},Object(o.createElement)("img",{src:Y,alt:g,className:m+" hover-child"})),!d&&Object(o.createElement)("div",{className:"empty-plcaeholder-div hover-child"}),Object(o.createElement)("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap "+("style-3"!=C?"hover-child":"")},Object(o.createElement)("div",{className:"blockspare-section-head-wrap"},Object(o.createElement)("div",{className:"blockspare-title-subtitle-wrap"},Object(o.createElement)("div",{className:y()("blockspare-section-header-wrapper blockspare-blocks")},Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",L,"blockspare-"+t)},Object(o.createElement)(Rs,{setAttributes:$,headerTitle:k,headerTagOption:h,headerSubTitle:v,titleFontFamily:T,titleFontWeight:j,titleLoadGoogleFonts:S,subTitleLoadGoogleFonts:F,subTitleFontFamily:M,subTitleFontWeight:B,headerlayoutOption:L}))))),Object(o.createElement)("div",{className:"blockspare-desc-btn-wrap"},Object(o.createElement)(qc,{tagName:"p",placeholder:Hc("Description","blockspare"),keepPlaceholderOnFocus:!0,value:r,className:"blockspare-description",onChange:e=>$({sectionDescription:e})}),s&&Object(o.createElement)("div",{className:"blockspare-block-button"},Object(o.createElement)("a",{href:"#",className:y()("blockspare-button",p,c,x,G?W:"")},G&&Object(o.createElement)("i",{className:U}),Object(o.createElement)(qc,{tagName:"span",placeholder:Hc("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:""+l,allowedFormats:[],onChange:e=>$({buttonText:e})}))),X&&s&&Object(o.createElement)("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+b,onSubmit:e=>e.preventDefault()},Object(o.createElement)(Yc,{icon:"admin-links"}),Object(o.createElement)(Vc,{className:"button-url",value:i,onChange:e=>$({buttonUrl:e})}),Object(o.createElement)(Xc,{icon:"editor-break",label:Hc("Apply","blockspare"),type:"submit"}))))),K,Z))}});const Kc=blockspare_globals,{Component:Zc}=wp.element,{__:Qc}=wp.i18n,{compose:ep}=wp.compose,{RichText:tp}=wp.blockEditor;var ap=ep(W,I(Rc))(class extends Zc{render(){const{attributes:{align:e,sectionAlignment:t,descriptionColor:a,sectionDescription:n,buttonText:r,buttonUrl:l,showButton:i,buttonSize:s,buttonShape:c,buttonTarget:p,showContentImg:b,imgURL:u,imgAlt:d,imageShape:g,layoutOption:m,headerTitle:f,headerSubTitle:h,dashColor:k,headerlayoutOption:v,headerTagOption:C,backGroundColor:O,design:E,borderRadius:x,enableBackgroundColor:w,buttonHoverEffect:S,animation:T,blockHoverEffect:j,enableButtonIcon:F,buttonIconPosition:M,buttonIcon:B},className:L,attributes:z}=this.props;let N=Kc.img;u&&u.length&&(N=u);const P=y()([L,"blockspare-contentBox","align"+e,T?"blockspare-block-animation":"",j]);return Object(o.createElement)("div",{className:P,"blockspare-animation":T},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-content-wrapper blockspare-blocks blockspare-hover-item blockspare-hover-child",1==m?"reverse-img":"","style-3"!=E?"has-background":"",E)},b&&u&&Object(o.createElement)("div",{className:"content-img-wrap"},Object(o.createElement)("img",{src:N,alt:d,className:g+" hover-child"})),!u&&Object(o.createElement)("div",{className:"empty-plcaeholder-div hover-child"}),Object(o.createElement)("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap "+("style-3"!=E?"hover-child":"")},Object(o.createElement)("div",{className:"blockspare-section-head-wrap"},Object(o.createElement)("div",{className:"blockspare-title-subtitle-wrap"},Object(o.createElement)("div",{className:y()("blockspare-section-header-wrapper blockspare-blocks")},Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",v,"blockspare-"+t)},Object(o.createElement)(rc,{headerTitle:f,headerTagOption:C,headerSubTitle:h,headerlayoutOption:v}))))),Object(o.createElement)("div",{className:"blockspare-desc-btn-wrap"},Object(o.createElement)(tp.Content,{tagName:"p",className:"blockspare-description",value:n}),i&&Object(o.createElement)("div",{className:"blockspare-block-button"},r&&Object(o.createElement)("a",{href:l,target:p?"_blank":null,rel:p?"noopener noreferrer":null,className:y()("blockspare-button",c,s,S,F?M:"")},F&&Object(o.createElement)("i",{className:B}),Object(o.createElement)(tp.Content,{tagName:"span",value:r})))))))}});const{__:op}=wp.i18n,{registerBlockType:np}=wp.blocks,{name:rp,category:lp}=kc,ip={...bi,...ci,...kc.attributes,...pi,...ai,...si,descriptionMarginTop:{type:"number",default:10},descriptionMarginRight:{type:"number",default:0},descriptionMarginBottom:{type:"number",default:0},descriptionMarginLeft:{type:"number",default:0}},sp=["center","wide","full"];np(rp,{title:op("Content Box","blockspare"),description:op("You can create a variety of layouts using this block.","blockspare"),category:lp,icon:s.a.contentbox,attributes:ip,keywords:[op("block","blockspare"),op("container","blockspare"),op("content","blockspare"),op("box","blockspare")],getEditWrapperProps(e){const{align:t}=e;if(-1!==sp.indexOf(t))return{"data-align":t}},example:{attributes:{design:"style-1"}},edit:Jc,save:ap}),a(345);var cp=a(244);const{__:pp}=wp.i18n,{Component:bp}=wp.element,{InspectorControls:up,MediaUpload:dp,PanelColorSettings:gp}=wp.blockEditor,{RangeControl:mp,PanelBody:fp,IconButton:hp,ToggleControl:kp}=wp.components;class yp extends bp{render(){const{opacityRatio:e,backGroundColor:t,imgURL:a,imgID:n,imgAlt:r,paddingTop:l,paddingRight:i,paddingBottom:s,paddingLeft:c,marginTop:p,marginRight:b,marginBottom:u,marginLeft:d,backgroundFix:g,separatorEnable:m,design:f="wave-1",width:h,height:k,color:y,showFront:v,zindexDivider:C,dividerPosition:O,topDividerMargin:E,bottomDividerMargin:x,enableGradient:w,backgroundColor1:S,backgroundColor2:T,gradientAngle:j,colorLocation1:F,colorLocation2:M,borderRadius:B,enableBoxShadow:L,xOffset:z,yOffset:N,blur:P,spread:D,shadowColor:R,enableGap:A,verticalFlip:_,horizontalFlip:I,enableBottomSeperator:H,bottomDesign:G,bottomWidth:W,bottomHeight:U,bottomColor:q,shapeHorizontalFlip:V,shapeVerticalFlip:$,showBottomFront:X,enableBottomGap:Y,bottomZindexDivider:J}=this.props.attributes,{setAttributes:K}=this.props,Z=()=>{K({imgID:null,imgURL:null,imgAlt:null})};return Object(o.createElement)(up,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:""}),Object(o.createElement)(fp,{title:pp("Block Settings","blockspare"),initialOpen:!1},Object(o.createElement)(dp,{onSelect:e=>{K({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:n,render:e=>{let{open:t}=e;return Object(o.createElement)("div",{className:"blockspare-upload-button"},Object(o.createElement)(hp,{className:"aft-cta-inspector-media",label:pp("Edit image","blockspare"),icon:"format-image",onClick:t},pp("Select Image","blockspare")),a&&!!a.length&&Object(o.createElement)(hp,{className:"blockspare-cta-inspector-media",label:pp("Remove Image","blockspare"),icon:"dismiss",onClick:Z},pp("Remove","blockspare")))}}),Object(o.createElement)("div",{className:"blockspare-upload-image"},a&&!!a.length&&Object(o.createElement)("img",{src:a,width:"100px",height:"100px",alt:r})),a&&!!a.length&&Object(o.createElement)(mp,{label:pp("Image Opacity","blockspare"),value:e,onChange:e=>this.props.setAttributes({opacityRatio:e}),min:0,max:100,step:10}),Object(o.createElement)(gp,{title:pp("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:t,onChange:e=>K({backGroundColor:e}),label:pp("Background Color","blockspare")}]}),Object(o.createElement)(kp,{label:pp("Enable Box Shadow","blockspare"),checked:L,onChange:()=>this.props.setAttributes({enableBoxShadow:!L})}),L&&Object(o.createElement)(ji,{shadowColor:R,onChangeShadowColor:e=>K({shadowColor:e}),xOffset:z,onChangeXOffset:e=>K({xOffset:e}),yOffset:N,onChangeYOffset:e=>K({yOffset:e}),blur:P,onChangeBlur:e=>K({blur:e}),spread:D,onChangeSpread:e=>K({spread:e})}),Object(o.createElement)(mp,{label:pp("Border Radius","blockspare"),value:B,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:50,step:1})),Object(o.createElement)(fp,{title:pp("Top Divider","blockspare"),initialOpen:!1},Object(o.createElement)(kp,{label:pp("Enable Divider","blockspare"),checked:m,onChange:()=>this.props.setAttributes({separatorEnable:!m})}),m&&Object(o.createElement)("div",null,Object(o.createElement)(Qi,null,Object(o.createElement)(Yi,{onChange:e=>K({design:e}),selected:f,excludeDesigns:["straight-1"]})),Object(o.createElement)(kp,{label:pp("Flip Vertically","blockspare"),checked:_,onChange:()=>this.props.setAttributes({verticalFlip:!_})}),Object(o.createElement)(kp,{label:pp("Flip Horizontally","blockspare"),checked:I,onChange:()=>this.props.setAttributes({horizontalFlip:!I})}),Object(o.createElement)(mp,{label:pp("Top","blockspare"),value:E,onChange:e=>K({topDividerMargin:e}),min:-300,step:5,max:300}),Object(o.createElement)(kp,{label:pp("Enable Gap","blockspare"),checked:A,onChange:()=>this.props.setAttributes({enableGap:!A})}),Object(o.createElement)(gp,{title:pp("Shape Color","blockspare"),initialOpen:!0,colorSettings:[{value:y,onChange:e=>K({color:e}),label:pp("Shape Color","blockspare")}]}),Object(o.createElement)(kp,{label:pp("Show Front","blockspare"),checked:v,onChange:()=>this.props.setAttributes({showFront:!v})}),v&&Object(o.createElement)(mp,{label:pp("Z-Index","blockspare"),value:C,onChange:e=>K({zindexDivider:e}),min:1,step:1,max:100}))),Object(o.createElement)(fp,{title:pp("Bottom Divider","blockspare"),initialOpen:!1},Object(o.createElement)(kp,{label:pp("Enable Divider","blockspare"),checked:H,onChange:()=>this.props.setAttributes({enableBottomSeperator:!H})}),H&&Object(o.createElement)("div",null,Object(o.createElement)(Qi,null,Object(o.createElement)(Yi,{onChange:e=>K({bottomDesign:e}),selected:G,excludeDesigns:["straight-1"]})),Object(o.createElement)(kp,{label:pp("Flip Vertically","blockspare"),checked:$,onChange:()=>this.props.setAttributes({shapeVerticalFlip:!$})}),Object(o.createElement)(kp,{label:pp("Flip Horizontally","blockspare"),checked:V,onChange:()=>this.props.setAttributes({shapeHorizontalFlip:!V})}),Object(o.createElement)(mp,{label:pp("Bottom","blockspare"),value:x,onChange:e=>K({bottomDividerMargin:e}),min:-300,step:5,max:300}),Object(o.createElement)(kp,{label:pp("Enable Gap","blockspare"),checked:Y,onChange:()=>this.props.setAttributes({enableBottomGap:!Y})}),Object(o.createElement)(gp,{title:pp("Shape Color","blockspare"),initialOpen:!0,colorSettings:[{value:q,onChange:e=>K({bottomColor:e}),label:pp("Shape Color","blockspare")}]}),Object(o.createElement)(kp,{label:pp("Show Front","blockspare"),checked:X,onChange:()=>this.props.setAttributes({showBottomFront:!X})}),X&&Object(o.createElement)(mp,{label:pp("Z-Index","blockspare"),value:J,onChange:e=>K({bottomZindexDivider:e}),min:1,step:1,max:100}))),Object(o.createElement)(fp,{title:pp("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(fp,{title:pp("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(fp,{title:pp("Block Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(fp,{title:pp("Padding Settings","blockspare"),initialOpen:!0},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:l,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>K({paddingTop:e}),paddingEnableRight:!0,paddingRight:i,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>K({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:s,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>K({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:c,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>K({paddingLeft:e})})),Object(o.createElement)(fp,{title:pp("Margin Settings","blockspare"),initialOpen:!0},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:p,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>K({marginTop:e}),marginEnableRight:!0,marginRight:b,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>K({marginRight:e}),marginEnableBottom:!0,marginBottom:u,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>K({marginBottom:e}),marginEnableLeft:!0,marginLeft:d,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>K({marginLeft:e})})))))}}a(346);var vp=function(e){return Object(o.createElement)("svg",e,Object(o.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"}),Object(o.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"}),Object(o.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"}))};vp.defaultProps={className:"divider--doublewave",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1946 175",preserveAspectRatio:"none"};var Cp=function(e){return Object(o.createElement)("svg",e,Object(o.createElement)("path",{className:"st1",d:"M-.5 0l958.8 69.3L1917 0v77H-.5z"}),Object(o.createElement)("path",{className:"st2",d:"M-.5 24.5l958.8 46.3L1917 24.5V77H-.5z"}),Object(o.createElement)("path",{className:"st3",d:"M-.5 49.1l958.8 23.1L1917 49.1V77H-.5z"}),Object(o.createElement)("path",{d:"M-.5 77H1917v28H-.5z"}))};Cp.defaultProps={className:"divider--fan",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1917 105",preserveAspectRatio:"none"};var Op=function(e){return Object(o.createElement)("svg",e,Object(o.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"}))};Op.defaultProps={className:"divider--wavy",viewBox:"0 0 100 10",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"};var Ep=function(e){return Object(o.createElement)("svg",e,Object(o.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"}),Object(o.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"}),Object(o.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"}))};Ep.defaultProps={className:"divider--waves",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 300",preserveAspectRatio:"none"};var xp=function(e){return Object(o.createElement)("svg",e,Object(o.createElement)("path",{d:"M0 100C20 0 50 0 100 100z"}))};xp.defaultProps={className:"divider--sloped",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"};var Sp=function(e){return Object(o.createElement)("svg",e,Object(o.createElement)("path",{className:"st1",d:"M0 108.1h630V0S475 104.6 314 104.6 0 0 0 0z"}),Object(o.createElement)("path",{className:"st2",d:"M0 106.9h630V17.8s-155 87.9-316 87.9S0 19 0 19z"}),Object(o.createElement)("path",{d:"M0 120h630V45.1s-155 61.8-316 61.8S0 45.1 0 45.1z"}))};Sp.defaultProps={className:"divider--curve",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 630 120",preserveAspectRatio:"none"};var Tp=function(e){return Object(o.createElement)("svg",e,Object(o.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"}),Object(o.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"}))};Tp.defaultProps={className:"divider--shapeocean",xmlns:"http://www.w3.org/2000/svg",viewBox:"-337 385.2 283.5 27.8",preserveAspectRatio:"none"};var jp=function(e){return Object(o.createElement)("svg",e,Object(o.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"}),Object(o.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"}),Object(o.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"}))};jp.defaultProps={className:"divider--grow",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 630 80",preserveAspectRatio:"none"};var Fp=function(e){return Object(o.createElement)("svg",e,Object(o.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"}))};Fp.defaultProps={className:"divider--clouds",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 630 80",preserveAspectRatio:"none"};var Mp=function(e){return Object(o.createElement)("svg",e,Object(o.createElement)("path",{d:"M0 100L100 0v100z"}))};Mp.defaultProps={className:"divider--angled",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"};var Bp=function(e){return Object(o.createElement)("svg",e,Object(o.createElement)("path",{d:"M194 99c186.7.7 305-78.3 306-97.2 1 18.9 119.3 97.9 306 97.2 114.3-.3 194 .3 194 .3V-.7L0 0v99.3s79.7-.6 194-.3z"}))};Bp.defaultProps={className:"divider--book",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 100",preserveAspectRatio:"none"};var Lp=function(e){return Object(o.createElement)("svg",e,Object(o.createElement)("path",{d:"M0 0v3h483.4c9.2 0 16.6 7.4 16.6 16.6 0-9.1 7.4-16.6 16.6-16.6H1000V0H0z"}))};Lp.defaultProps={className:"divider--split",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 20",preserveAspectRatio:"none"};const zp={wavy:Op,waves:Ep,"double-wave":vp,fan:Cp,sloped:xp,curve:Sp,shapeocean:Tp,grow:jp,clouds:Fp,angled:Mp,book:Bp,split:Lp},Np=e=>{const t=zp[e.design],a=y()([e.className,"blockspare-separator-wrapper"]);return Object(o.createElement)("div",{className:a},Object(o.createElement)(t,{className:e.design,preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};Np.defaultProps={className:"",design:"double-wave",shadow:!1},Np.Save=e=>Object(o.createElement)(Np,e);var Pp=Np,Dp=e=>{let t="";if(1==e.enableGradient){const a=e.gradientAngle+"deg",o=e.colorLocation1+"%",n=e.colorLocation2+"%";t={backgroundImage:`linear-gradient(${a},${e.backgroundColor1?e.backgroundColor1:"#3B1A5B"} ${o},${e.backgroundColor2?e.backgroundColor2:"#8B249C"} ${n})`}}else t={backgroundColor:e.backGroundColor?e.backGroundColor:"#fff"};return t},Rp=e=>{const{imgURL:t,separatorEnable:a,height:o,color:n,showFront:r,zindexDivider:l,topDividerMargin:i,bottomDividerMargin:s,borderRadius:c,enableGap:p,enableBottomSeperator:b,showBottomFront:u,bottomWidth:d,bottomColor:g,bottomHeight:m,bottomZindexDivider:f}=e.attributes;let h="";t&&(h="url("+t+")");const k=[];return k.push({"> .blockspare-block-container-wrapper":{...As(e.attributes),...Dp(e.attributes),..._s(e.attributes),borderRadius:c?c+"px":0},".blockspare-image-wrap":{backgroundImage:h||"none"}}),c>1&&k.push({".blockspare-image-wrap":{borderRadius:c?c+"px":0}}),a&&k.push({".blockspare-top-separator":{top:i+"px",zIndex:r?l:""},".blockspare-block-container-wrapper .blockspare-top-svg-wrap":{color:n||"#3c1a5b",height:o+"px"}}),b&&k.push({".blockspare-block-container-wrapper .blockspare-bottom-separator":{bottom:s+"px",zIndex:u?f:""},".blockspare-block-container-wrapper .blockspare-bottom-svg-wrap":{color:g||"#3c1a5b",height:m+"px"}}),Do.a.all(k)};const{Component:Ap,Fragment:_p}=wp.element,{compose:Ip}=wp.compose,{InnerBlocks:Hp}=wp.blockEditor;var Gp=Ip(W,I(Rp))(class extends Ap{render(){const{attributes:{align:e,opacityRatio:t,imgURL:a,backgroundFix:n,verticalFlip:r,horizontalFlip:l,separatorEnable:i,design:s,width:c,showFront:p,enableGap:b,bottomDesign:u,shapeHorizontalFlip:d,shapeVerticalFlip:g,enableBottomSeperator:m,bottomWidth:f,showBottomFront:h,enableBottomGap:k,animation:v,blockHoverEffect:C},className:O,attributes:E,setAttributes:x,isSelected:w}=this.props,S={className:y()(O,"align"+e,v?"blockspare-block-animation":"",v,C),"data-block-animation":v},T=y()("blockspare-blocks blockspare-svg-wrapper blockspare-top-svg-wrap",Wp(c),O,{"is-vertically-flipped":r,"is-horizontally-flipped":l}),j=y()("blockspare-blocks blockspare-svg-wrapper blockspare-bottom-svg-wrap",Wp(f),O,{"is-bottom-vertically-flipped":g,"is-bottom-horizontally-flipped":d});return Object(o.createElement)(_p,null,Object(o.createElement)(yp,{setAttributes:x,...this.props}),Object(o.createElement)("div",S,this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-block-container-wrapper","align"+e,b?"has-gap-enable":"",k?"has-bottom-gap-enable":"",a&&a.length&&n?"blockspare-background-fix":"",i?"has-separator-top":"",m?"has-separator-bottom":"","blockspare-hover-item")},Object(o.createElement)("div",{className:y()("blockspare-container-background","blockspare-image-wrap",(F=t,0===F?null:"has-background-opacity-"+10*Math.round(F/10)),{"has-background-opacity":0!==t})}),i&&Object(o.createElement)("div",{className:y()("blockspare-top-separator",p?"blockspare-svg-show-front":"")},Object(o.createElement)("div",{className:T},Object(o.createElement)(Pp,{design:s,shadow:!1,className:"blockspare-svg-svg-inner"}))),Object(o.createElement)("div",{className:"blockspare-container"},Object(o.createElement)("div",{className:"blockspare-inner-blocks blockspare-inner-wrapper-blocks"},Object(o.createElement)(Hp,{templateLock:!1,renderAppender:()=>this.props.hasInnerBlocks?Object(o.createElement)(Hp.DefaultBlockAppender,null):Object(o.createElement)(Hp.ButtonBlockAppender,null)}))),m&&Object(o.createElement)("div",{className:y()("blockspare-bottom-separator",h?"blockspare-svg-show-front":"")},Object(o.createElement)("div",{className:j},Object(o.createElement)(Pp,{design:u,shadow:!1,className:"blockspare-svg-svg-inner"}))))));var F}});function Wp(e){if(void 0!==e)return"has-width-"+e.toString().replace(".","-")}const{Component:Up}=wp.element,{compose:qp}=wp.compose,{InnerBlocks:Vp}=wp.blockEditor;var $p=qp(W,I(Rp))(class extends Up{render(){const{attributes:{align:e,opacityRatio:t,imgURL:a,backgroundFix:n,verticalFlip:r,horizontalFlip:l,separatorEnable:i,design:s,width:c,showFront:p,enableGap:b,bottomDesign:u,shapeHorizontalFlip:d,shapeVerticalFlip:g,enableBottomSeperator:m,bottomWidth:f,showBottomFront:h,enableBottomGap:k,animation:v,blockHoverEffect:C},className:O,attributes:E}=this.props,x=y()([O,v?"blockspare-block-animation":"",C]),w=y()("blockspare-blocks blockspare-svg-wrapper blockspare-top-svg-wrap",Xp(c),O,{"is-vertically-flipped":r,"is-horizontally-flipped":l}),S=y()("blockspare-blocks blockspare-svg-wrapper blockspare-bottom-svg-wrap",Xp(f),O,{"is-bottom-vertically-flipped":g,"is-bottom-horizontally-flipped":d});return Object(o.createElement)("div",{className:x,"blockspare-animation":v},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-block-container-wrapper",b?"has-gap-enable":"",k?"has-bottom-gap-enable":"",a&&a.length&&n?"blockspare-background-fix":"",i?"has-separator-top":"",m?"has-separator-bottom":"","blockspare-hover-item")},Object(o.createElement)("div",{className:y()("blockspare-container-background","blockspare-image-wrap",(T=t,0===T?null:"has-background-opacity-"+10*Math.round(T/10)),{"has-background-opacity":0!==t})}),i&&Object(o.createElement)("div",{className:y()("blockspare-top-separator",p?"blockspare-svg-show-front":"")},Object(o.createElement)("div",{className:w},Object(o.createElement)(Pp,{design:s,shadow:!1,className:"blockspare-svg-svg-inner"}))),Object(o.createElement)("div",{className:"blockspare-container"},Object(o.createElement)("div",{className:"blockspare-inner-blocks blockspare-inner-wrapper-blocks"},Object(o.createElement)(Vp.Content,null))),m&&Object(o.createElement)("div",{className:y()("blockspare-bottom-separator",h?"blockspare-svg-show-front":"")},Object(o.createElement)("div",{className:S},Object(o.createElement)(Pp,{design:u,shadow:!1,className:"blockspare-svg-svg-inner"})))));var T}});function Xp(e){if(void 0!==e)return"has-width-"+e.toString().replace(".","-")}const{name:Yp,category:Jp}=cp,{__:Kp}=wp.i18n,{registerBlockType:Zp,createBlock:Qp}=wp.blocks,eb={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},...bi,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"},align:{type:"string",default:"full"},enableBottomSeperator:{type:"boolean",default:!1},bottomDesign:{type:"string",default:"double-wave"},layer1Shadow:{type:"boolean",default:!1},bottomWidth:{type:"number",default:1},bottomHeight:{type:"number",default:150},bottomColor:{type:"string",default:"#3c1a5b"},shapeVerticalFlip:{type:"boolean",default:!1},shapeHorizontalFlip:{type:"boolean",default:!1},showBottomFront:{type:"boolean",default:!1},enableBottomGap:{type:"boolean",default:!1},bottomZindexDivider:{type:"number",default:20},...pi,...cp.attributes};Zp(Yp,{title:Kp("Container","blockspare"),description:Kp("Add container","blockspare"),category:Jp,icon:s.a.container,attributes:eb,keywords:[Kp("block","blockspare"),Kp("container","blockspare"),Kp("group","blockspare")],supports:{align:["center","wide","full"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:Gp,save:$p,transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert(e){if(1===e.length&&"blockspare/blockspare-container"===e[0].name)return;const t=["wide","full"],a=e.reduce((e,a)=>{const{align:o}=a.attributes;return t.indexOf(o)>t.indexOf(e)?o:e},void 0),o=e.map(e=>Qp(e.name,e.attributes,e.innerBlocks));return Qp("blockspare/blockspare-container",{align:a},o)}}]}}),a(347);var tb=a(245);const{__:ab}=wp.i18n,{Fragment:ob}=wp.element,{PanelColorSettings:nb}=wp.blockEditor,{SelectControl:rb,RangeControl:lb}=wp.components;function ib(e){const{enableColor:t=!0,enablecontent:a=!0,name:n,onChangeName:r=(()=>{}),enableiconSize:l,iconSize:i,onChangeIconSizeOptions:s=(()=>{}),enableiconStyles:c,iconStyles:p,onChangeIconStyles:b=(()=>{}),iconBackgroundColor:u,onChangeIconBackgroundColor:d=(()=>{}),iconBorderColor:g,onChangeIconBorderColor:m=(()=>{}),iconColor:f,OnChangeIconColor:h=(()=>{}),borderRadius:k,onChangeBorderRadius:y=(()=>{}),backgroundOpacity:v,onChangeBackgroundOpacity:C=(()=>{})}=e,O=[{value:"blockspare-icon-size-small",label:ab("Small","blockspare")},{value:"blockspare-icon-size-medium",label:ab("Medium","blockspare")}],E=[{value:"blockspare-icon-style1",label:ab("None","blockspare")},{value:"blockspare-icon-style2",label:ab("Background","blockspare")},{value:"blockspare-icon-style3",label:ab("Border","blockspare")}];return Object(o.createElement)(ob,null,1==a&&Object(o.createElement)("div",null,Object(o.createElement)(X,{value:n,onChange:r}),0!=l&&Object(o.createElement)(rb,{label:ab("Icon Size","blockspare"),value:i,options:O.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:s}),0!=c&&Object(o.createElement)(rb,{label:ab("Icon Style","blockspare"),value:p,options:E.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:b}),"blockspare-icon-style1"!==p&&Object(o.createElement)(lb,{label:ab("Icon Border Radius","blockspare"),value:k,onChange:y,min:0,max:50,step:1})),1==t&&Object(o.createElement)("div",null,Object(o.createElement)(nb,{title:ab("Icon Color","blockspare"),initialOpen:!1,colorSettings:[{value:f,onChange:h,label:ab("Icon Color","blockspare")}]}),"blockspare-icon-style2"===p&&Object(o.createElement)(nb,{title:ab("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:u,onChange:d,label:ab("Background Color","blockspare")}]},Object(o.createElement)(lb,{label:ab("Background Opacity","blockspare"),value:v,onChange:C,min:0,max:1,step:.1})),"blockspare-icon-style3"===p&&Object(o.createElement)(nb,{title:ab("Border Color","blockspare"),initialOpen:!1,colorSettings:[{value:g,onChange:m,label:ab("Border Color","blockspare")}]})))}const{Component:sb}=wp.element,{__:cb}=wp.i18n,{InspectorControls:pb,PanelColorSettings:bb}=wp.blockEditor,{RangeControl:ub,PanelBody:db,ToggleControl:gb,SelectControl:mb}=wp.components;class fb extends sb{constructor(){super(...arguments)}render(){const{attributes:{backGroundColor:e,showImage:t,counterFontColor:a,paddingTop:n,paddingRight:r,paddingBottom:l,paddingLeft:i,marginTop:s,marginRight:c,marginBottom:p,marginLeft:b,imgIconOption:u,name:d,iconSize:g,iconStyles:m,iconBackgroundColor:f,iconBorderColor:h,iconColor:k,borderRadius:y,design:v,titleFontSize:C,headerTagOption:O,headertitleColor:E,headertitleColorDark:x,headersubtitleColor:w,headerlayoutOption:S,headerboxColor:T,dashColor:j,dashColor2:F,blockBorderRadius:M,enableBoxShadow:B,xOffset:L,yOffset:z,blur:N,spread:P,shadowColor:D,titleLoadGoogleFonts:R,titleFontFamily:A,titleFontWeight:_,titleFontSubset:I,titleFontSizeType:H,titleFontSizeMobile:G,titleFontSizeTablet:W,subTitleFontSize:U,subTitleLoadGoogleFonts:q,subTitleFontFamily:V,subTitleFontWeight:$,subTitleFontSubset:X,subTitleFontSizeType:Y,subTitleFontSizeMobile:J,subTitleFontSizeTablet:K,counterFontSize:Z,counterLoadGoogleFonts:Q,counterFontFamily:ee,counterFontWeight:te,counterFontSubset:ae,counterFontSizeType:oe,counterFontSizeMobile:re,counterFontSizeTablet:le,titlePaddingTop:ie,titlePaddingRight:se,titlePaddingBottom:pe,titlePaddingLeft:be,subtitlePaddingTop:ue,subtitlePaddingRight:de,subtitlePaddingBottom:ge,subtitlePaddingLeft:me,headermarginTop:fe,headermarginRight:he,headermarginBottom:ke,headermarginLeft:ye,counter:ve,counterMarginTop:Ce,counterMarginRight:Oe,counterMarginBottom:Ee,counterMarginLeft:xe,iconMarginTop:we,iconMarginRight:Se,iconMarginBottom:Te,iconMarginLeft:je,iconPaddingTop:Fe,iconPaddingBottom:Me,iconPaddingLeft:Be,iconPaddingRight:Le,backgroundOpacity:ze},attributes:Ne,setAttributes:Pe}=this.props,De=(cb("Icon","blockspare"),cb("Image","blockspare"),[{value:"blockspare-layout1",label:cb("Layout 1","blockspare")},{value:"blockspare-layout2",label:cb("Layout 2","blockspare")}]);return cb("Layout 1","blockspare"),cb("Layout 2","blockspare"),cb("Layout 3","blockspare"),cb("Layout 4","blockspare"),cb("Layout 5","blockspare"),cb("Layout 6","blockspare"),cb("Layout 7","blockspare"),cb("Layout 8","blockspare"),cb("Layout 9","blockspare"),Object(o.createElement)(pb,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(db,{title:cb("Block  Settings","blockspare"),initialOpen:!1},Object(o.createElement)(mb,{selected:v,label:cb("Layout Option","blockspare"),value:v,options:De.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>Pe({design:e})}),Object(o.createElement)(ub,{label:cb("Number","blockspare"),value:ve,onChange:e=>this.props.setAttributes({counter:e}),min:0,max:1e6}),Object(o.createElement)(gb,{label:cb("Display Icon ","blockspare"),checked:t,onChange:()=>this.props.setAttributes({showImage:!t})}),Object(o.createElement)(ub,{label:cb("Border Radius","blockspare"),value:M,onChange:e=>this.props.setAttributes({blockBorderRadius:e}),min:0,max:50,step:1}),Object(o.createElement)(gb,{label:cb("Enable Box Shadow","blockspare"),checked:B,onChange:()=>this.props.setAttributes({enableBoxShadow:!B})}),B&&Object(o.createElement)(ji,{shadowColor:D,onChangeShadowColor:e=>Pe({shadowColor:e}),xOffset:L,onChangeXOffset:e=>Pe({xOffset:e}),yOffset:z,onChangeYOffset:e=>Pe({yOffset:e}),blur:N,onChangeBlur:e=>Pe({blur:e}),spread:P,onChangeSpread:e=>Pe({spread:e})})),"icon"==u&&t&&Object(o.createElement)(db,{title:cb("Icon Settings"),initialOpen:!1},Object(o.createElement)(ib,{name:d,onChangeName:e=>Pe({name:e}),enableiconSize:!0,iconSize:g,onChangeIconSizeOptions:e=>Pe({iconSize:e}),enableiconStyles:!0,iconStyles:m,onChangeIconStyles:e=>Pe({iconStyles:e}),iconBackgroundColor:f,onChangeIconBackgroundColor:e=>Pe({iconBackgroundColor:e}),iconBorderColor:h,onChangeIconBorderColor:e=>Pe({iconBorderColor:e}),iconColor:k,OnChangeIconColor:e=>Pe({iconColor:e}),borderRadius:y,onChangeBorderRadius:e=>Pe({borderRadius:e}),backgroundOpacity:ze,onChangeBackgroundOpacity:e=>Pe({backgroundOpacity:e})})),Object(o.createElement)(db,{title:cb("Header Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Os,{headerlayoutOption:S,onChangeHeaderLayput:e=>Pe({headerlayoutOption:e})}),Object(o.createElement)(db,{title:cb("Typography Settings","blockspare")},Object(o.createElement)(Oo,{label:cb("Title Fonts Settings"),attributes:Ne,setAttributes:Pe,loadGoogleFonts:{value:R,label:cb("titleLoadGoogleFonts")},fontFamily:{value:A,label:cb("titleFontFamily")},fontWeight:{value:_,label:cb("titleFontWeight")},fontSubset:{value:I,label:cb("titleFontSubset")},fontSizeType:{value:H,label:cb("titleFontSizeType")},fontSize:{value:C,label:cb("titleFontSize")},fontSizeMobile:{value:G,label:cb("titleFontSizeMobile")},fontSizeTablet:{value:W,label:cb("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:O}),Object(o.createElement)(Oo,{label:cb("Subtitle Fonts Settings"),attributes:Ne,setAttributes:Pe,loadGoogleFonts:{value:q,label:cb("subTitleLoadGoogleFonts")},fontFamily:{value:V,label:cb("subTitleFontFamily")},fontWeight:{value:$,label:cb("subTitleFontWeight")},fontSubset:{value:X,label:cb("subTitleFontSubset")},fontSizeType:{value:Y,label:cb("subTitleFontSizeType")},fontSize:{value:U,label:cb("subTitleFontSize")},fontSizeMobile:{value:J,label:cb("subTitleFontSizeMobile")},fontSizeTablet:{value:K,label:cb("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),Object(o.createElement)(Oo,{label:cb("Counter Fonts Settings"),attributes:Ne,setAttributes:Pe,loadGoogleFonts:{value:Q,label:cb("counterLoadGoogleFonts")},fontFamily:{value:ee,label:cb("counterFontFamily")},fontWeight:{value:te,label:cb("counterFontWeight")},fontSubset:{value:ae,label:cb("counterFontSubset")},fontSizeType:{value:oe,label:cb("counterFontSizeType")},fontSize:{value:Z,label:cb("counterFontSize")},fontSizeMobile:{value:re,label:cb("counterFontSizeMobile")},fontSizeTablet:{value:le,label:cb("counterFontSizeTablet")},disableLineHeight:!0})),Object(o.createElement)(Ci,{headerboxColor:T,onChangeboxcolor:e=>Pe({headerboxColor:e}),headertitleColor:E,onChangetitlecolor:e=>Pe({headertitleColor:e}),headertitleColorDark:x,onChangetitlecolordark:e=>Pe({headertitleColorDark:e}),dashColor:j,dashColor2:F,headerlayoutOption:S,onChangeDashColor:e=>Pe({dashColor:e}),onChangeDashColor2:e=>Pe({dashColor2:e}),headersubtitleColor:w,onChangesubtitlecolor:e=>Pe({headersubtitleColor:e})}),Object(o.createElement)(fi,{panelTitle:cb("Title/Subtitle Gaps","lockspare"),titlePaddingTop:ie,onChangetitlePaddingTop:e=>Pe({titlePaddingTop:e}),titlePaddingRight:se,onChangetitlePaddingRight:e=>Pe({titlePaddingRight:e}),titlePaddingBottom:pe,onChangetitlePaddingBottom:e=>Pe({titlePaddingBottom:e}),titlePaddingLeft:be,onChangetitlePaddingLeft:e=>Pe({titlePaddingLeft:e}),headersubtitleColor:w,onChangesubtitlecolor:e=>Pe({headersubtitleColor:e}),subtitlePaddingTop:ue,onChangesubtitlePaddingTop:e=>Pe({subtitlePaddingTop:e}),subtitlePaddingRight:de,onChangesubtitlePaddingRight:e=>Pe({subtitlePaddingRight:e}),subtitlePaddingBottom:ge,onChangesubtitlePaddingBottom:e=>Pe({subtitlePaddingBottom:e}),subtitlePaddingLeft:me,onChangesubtitlePaddingLeft:e=>Pe({subtitlePaddingLeft:e}),headermarginTop:fe,onChangeheadermarginTop:e=>Pe({headermarginTop:e}),headermarginRight:he,onChangeheadermarginRight:e=>Pe({headermarginRight:e}),headermarginBottom:ke,onChangeheadermarginBottom:e=>Pe({headermarginBottom:e}),headermarginLeft:ye,onChangeheadermarginLeft:e=>Pe({headermarginLeft:e})})),Object(o.createElement)(db,{title:cb("Color Settings","blockspare"),initialOpen:!1},Object(o.createElement)(bb,{title:cb("Color Settings","blockspare"),initialOpen:!0,colorSettings:[{value:a,onChange:e=>Pe({counterFontColor:e}),label:cb("Counter Font Color","blockspare")},{value:e,onChange:e=>Pe({backGroundColor:e}),label:cb("Background Color","blockspare")}]})),Object(o.createElement)(db,{title:cb("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(db,{title:cb("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(db,{title:cb("Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(db,{title:cb("Block Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:s,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>Pe({marginTop:e}),marginEnableRight:!0,marginRight:c,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>Pe({marginRight:e}),marginEnableBottom:!0,marginBottom:p,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>Pe({marginBottom:e}),marginEnableLeft:!0,marginLeft:b,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>Pe({marginLeft:e})})),Object(o.createElement)(db,{title:cb("Content Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:n,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>Pe({paddingTop:e}),paddingEnableRight:!0,paddingRight:r,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>Pe({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:l,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>Pe({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:i,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>Pe({paddingLeft:e})})),"icon"==u&&t&&Object(o.createElement)(db,{title:cb("Icon Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:we,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>Pe({iconMarginTop:e}),marginEnableRight:!0,marginRight:Se,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>Pe({iconMarginRight:e}),marginEnableBottom:!0,marginBottom:Te,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>Pe({iconMarginBottom:e}),marginEnableLeft:!0,marginLeft:je,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>Pe({iconMarginLeft:e})}),Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:Fe,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>Pe({iconPaddingTop:e}),paddingEnableRight:!0,paddingRight:Le,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>Pe({iconPaddingRight:e}),paddingEnableBottom:!0,paddingBottom:Me,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>Pe({iconPaddingBottom:e}),paddingEnableLeft:!0,paddingLeft:Be,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>Pe({iconPaddingLeft:e})})),Object(o.createElement)(db,{title:cb("Counter Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:Ce,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>Pe({counterMarginTop:e}),marginEnableRight:!0,marginRight:Oe,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>Pe({counterMarginRight:e}),marginEnableBottom:!0,marginBottom:Ee,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>Pe({counterMarginBottom:e}),marginEnableLeft:!0,marginLeft:xe,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>Pe({counterMarginLeft:e})})))))}}var hb=a(274),kb=a.n(hb),yb=e=>{let t="";return t="blockspare-icon-style2"===e.iconStyles?{color:e.iconColor?e.iconColor:"#fff",borderRadius:e.borderRadius+"%"}:"blockspare-icon-style3"===e.iconStyles?{borderColor:e.iconBorderColor?e.iconBorderColor:"#8b249c",color:e.iconColor?e.iconColor:"#fff",borderRadius:e.borderRadius+"%"}:{color:e.iconColor?e.iconColor:"#fff"},t},vb=e=>{let t="";return"blockspare-icon-style2"===e.iconStyles&&(t={backgroundColor:e.iconBackgroundColor?e.iconBackgroundColor:"#8b249c",opacity:e.backgroundOpacity}),t},Cb=e=>{const{sectionAlignment:t,headertitleColor:a,headertitleColorDark:o,titleFontSize:n,headersubtitleColor:r,dashColor:l,dashColor2:i,headerboxColor:s,counterFontColor:c,backGroundColor:p,blockBorderRadius:b,titleFontFamily:u,titleFontWeight:d,titleFontSizeType:g,titleFontSizeMobile:m,titleFontSizeTablet:f,subTitleFontSize:h,subTitleFontFamily:k,subTitleFontWeight:y,subTitleFontSizeType:v,subTitleFontSizeMobile:C,subTitleFontSizeTablet:O,counterFontSize:E,counterFontFamily:x,counterFontWeight:w,counterFontSizeType:S,counterFontSizeMobile:T,counterFontSizeTablet:j,titlePaddingTop:F,titlePaddingRight:M,titlePaddingBottom:B,titlePaddingLeft:L,subtitlePaddingTop:z,subtitlePaddingRight:N,subtitlePaddingBottom:P,subtitlePaddingLeft:D,headermarginTop:R,headermarginRight:A,headermarginBottom:_,headermarginLeft:I,headerlayoutOption:H,counterMarginTop:G,counterMarginRight:W,counterMarginBottom:U,counterMarginLeft:q,iconMarginTop:V,iconMarginRight:$,iconMarginBottom:X,iconMarginLeft:Y,iconPaddingTop:J,iconPaddingBottom:K,iconPaddingLeft:Z,iconPaddingRight:Q}=e.attributes,ee=[];return ee.push({".blockspare-counter-wrapper":{backgroundColor:p||"#fff",...As(e.attributes),..._s(e.attributes),borderRadius:b||null},".blockspare-counter-wrapper .blockspare-block-icon":{...yb(e.attributes),marginTop:V?V+"px":"0px",marginRight:$?$+"px":"0px",marginBottom:X?X+"px":"0px",marginLeft:Y?Y+"px":"0px",paddingTop:J?J+"px":"0px",paddingRight:Q?Q+"px":"0px",paddingBottom:K?K+"px":"0px",paddingLeft:Z?Z+"px":"0px"},".blockspare-counter-wrapper .blockspare-block-icon::after":{...vb(e.attributes)},".blockspare-counters-item .blockspare-counter":{fontSize:E+S,...Ro(x),...Ao(w),marginTop:G?G+"px":"0px",marginRight:W?W+"px":"0px",marginBottom:U?U+"px":"0px",marginLeft:q?q+"px":"0px"}}),ee.push({".blockspare-section-head-wrap":{backgroundColor:s||"transparent",textAlign:t,marginTop:R+"px",marginRight:A+"px",marginBottom:_+"px",marginLeft:I+"px"}}),"blockspare-style9"===H||"blockspare-style17"===H||"blockspare-style18"===H?ee.push({".blockspare-section-head-wrap .blockspare-title":{color:o},".blockspare-section-head-wrap .blockspare-title-wrapper":{paddingTop:F+"px ",paddingRight:M+"px ",paddingBottom:B+"px",paddingLeft:L+"px"}}):ee.push({".blockspare-section-head-wrap .blockspare-title":{color:a,paddingTop:F+"px ",paddingRight:M+"px ",paddingBottom:B+"px",paddingLeft:L+"px"}}),ee.push({...Hs(e)}),ee.push({".blockspare-section-head-wrap .blockspare-title":{fontSize:n+g,...Ro(u),...Ao(d)},".blockspare-section-head-wrap .blockspare-subtitle":{color:r,fontSize:h+v,...Ro(k),...Ao(y),paddingTop:z+"px",paddingRight:N+"px",paddingBottom:P+"px",paddingLeft:D+"px"},".blockspare-counter-wrapper":{backgroundColor:p||"#fff",...As(e.attributes),..._s(e.attributes),borderRadius:b?b+"px":null},".blockspare-counter":{color:c||"#000",textAlign:t},".blockspare-block-icon-wrapper":{textAlign:t},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:f+g},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:O+v},".blockspare-counters-item .blockspare-counter":{fontSize:j+g}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:m+g},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:C+v},".blockspare-counters-item .blockspare-counter":{fontSize:T+g}}}),Do.a.all(ee)};const{Component:Ob,Fragment:Eb}=wp.element,{__:xb}=wp.i18n,{compose:wb}=wp.compose,{BlockControls:Sb,InnerBlocks:Tb,BlockAlignmentToolbar:jb,AlignmentToolbar:Fb}=wp.blockEditor,Mb=["core/image"],Bb=[["core/image",{}]];var Lb=wb(W,I(Cb))(class extends Ob{render(){const{attributes:{align:e,showImage:t,counter:a,counterFontColor:n,imgIconOption:r,name:l,iconSize:i,iconStyles:s,design:c,headerTagOption:p,headerTitle:b,headerSubTitle:u,blockBorderRadius:d,titleLoadGoogleFonts:g,titleFontFamily:m,titleFontWeight:f,subTitleLoadGoogleFonts:h,subTitleFontFamily:k,subTitleFontWeight:v,headerlayoutOption:C,sectionAlignment:O,counterLoadGoogleFonts:E,counterFontFamily:x,counterFontWeight:w,animation:S,blockHoverEffect:T},className:j,isSelected:F,attributes:M,setAttributes:B}=this.props;let L;if(1==E){const e={google:{families:[x+(w?":"+w:"")]}};L=Object(o.createElement)(Uo,{config:e})}const z={className:y()(j,S?"blockspare-block-animation":"",S,T,"align"+e),"data-block-animation":S};return Object(o.createElement)(Eb,null,Object(o.createElement)(fb,{setAttributes:B,...this.props}),Object(o.createElement)(Sb,null,Object(o.createElement)(jb,{value:e,onChange:e=>{B({align:e})},controls:["center","wide","full"]}),Object(o.createElement)(Fb,{value:O,onChange:e=>{B({sectionAlignment:e})}})),Object(o.createElement)("div",z,this.props.styles,Object(o.createElement)("div",{className:"blockspare-counter-wrapper blockspare-blocks blockspare-hover-item"},Object(o.createElement)("div",{className:y()("blockspare-counter-section")},Object(o.createElement)("div",{className:y()("blockspare-counters-item",c)},t&&"image"==r&&Object(o.createElement)(Tb,{template:Bb,allowedBlocks:Mb,templateLock:!0,templateInsertUpdatesSelection:!0}),t&&"icon"==r&&Object(o.createElement)("div",{className:"blockspare-block-icon-wrapper"},Object(o.createElement)("div",{className:y()("blockspare-block-icon",i,s)},Object(o.createElement)("i",{className:l}))),Object(o.createElement)("div",{className:"blockspare-counters"},Object(o.createElement)("div",{className:y()("blockspare-section-header-wrapper blockspare-blocks")},Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",C,"blockspare-"+O)},Object(o.createElement)(Rs,{setAttributes:B,headerTitle:b,headerTagOption:p,headerSubTitle:u,titleFontFamily:m,titleFontWeight:f,titleLoadGoogleFonts:g,subTitleLoadGoogleFonts:h,subTitleFontFamily:k,subTitleFontWeight:v,headerlayoutOption:C})))),Object(o.createElement)("p",{className:"blockspare-counter"},Object(o.createElement)(kb.a,{className:"account-balance",start:0,end:a,duration:4.75})))))),L)}});const{Component:zb}=wp.element,{compose:Nb}=wp.compose,{InnerBlocks:Pb}=wp.blockEditor;var Db=Nb(W,I(Cb))(class extends zb{constructor(){super(...arguments)}render(){const{attributes:{showImage:e,counter:t,align:a,counterFontColor:n,imgIconOption:r,name:l,iconSize:i,iconStyles:s,design:c,headerTagOption:p,headerTitle:b,headerSubTitle:u,backGroundColor:d,blockBorderRadius:g,sectionAlignment:m,headerlayoutOption:f,animation:h,blockHoverEffect:k},className:v,attributes:C}=this.props,O=y()([v,h?"blockspare-block-animation":"",k,"align"+a]);return Object(o.createElement)("div",{className:O,"blockspare-animation":h},this.props.styles,Object(o.createElement)("div",{className:"blockspare-counter-wrapper blockspare-blocks blockspare-section-counter-bar  blockspare-hover-item"},Object(o.createElement)("div",{className:y()("blockspare-counter-section")},Object(o.createElement)("div",{className:y()("blockspare-counters-item",c)},e&&"image"==r&&Object(o.createElement)(Pb.Content,null),e&&"icon"==r&&Object(o.createElement)("div",{className:"blockspare-block-icon-wrapper"},Object(o.createElement)("div",{className:y()("blockspare-block-icon",i,s)},Object(o.createElement)("i",{className:l}))),Object(o.createElement)("div",{className:"blockspare-counters"},Object(o.createElement)("div",{className:y()("blockspare-section-header-wrapper blockspare-blocks")},Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",f,"blockspare-"+m)},Object(o.createElement)(rc,{headerTitle:b,headerTagOption:p,headerSubTitle:u,headerlayoutOption:f})))),Object(o.createElement)("p",{className:"blockspare-counter"},t)))))}});const{name:Rb,category:Ab}=tb,{__:_b}=wp.i18n,{registerBlockType:Ib}=wp.blocks,Hb=["center","wide","full"],Gb={...ci,...bi,...tb.attributes,...pi};Ib(Rb,{title:_b("Counter","blockspare"),description:_b("Add counter in you page and post","blockspare`"),Description:"Displays Counter",category:Ab,icon:s.a.counter,attributes:Gb,keywords:[_b("block","blockspare"),_b("counter","blockspare"),_b("number","blockspare"),_b("box","blockspare")],example:{attributes:{counter:100,counterFontColor:"#000",headertitleColor:"#000",backGroundColor:"#fff",headersubtitleColor:"#000",name:"fas fa-chart-line",headerTitle:"Enter Title"}},getEditWrapperProps(e){const{align:t}=e;if(-1!==Hb.indexOf(t))return{"data-align":t}},edit:Lb,save:Db}),a(350);var Wb=a(275);const{__:Ub}=wp.i18n,{Component:qb}=wp.element,{InspectorControls:Vb}=wp.blockEditor,{PanelBody:$b,ToggleControl:Xb,SelectControl:Yb,TextControl:Jb}=wp.components;class Kb extends qb{render(){const{name:e,iconSize:t,iconStyles:a,iconBackgroundColor:n,iconBorderColor:r,iconColor:l,borderRadius:i,marginTop:s,marginRight:c,marginBottom:p,marginLeft:b,paddingTop:u,paddingRight:d,paddingBottom:g,paddingLeft:m,backgroundOpacity:f,enableIconLink:h,LinkType:k,CustomLink:y}=this.props.attributes,{setAttributes:v}=this.props,C=[{value:"custom",label:Ub("Custom","blockspare")},{value:"home",label:Ub("Home","blockspare")},{value:"blog",label:Ub("Blog","blockspare")}];return Object(o.createElement)(Vb,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)($b,{title:Ub("Icon Settings"),initialOpen:!1},Object(o.createElement)(Xb,{label:Ub("Enable Link","blockspare"),checked:h,onChange:()=>v({enableIconLink:!h})}),h&&Object(o.createElement)(Yb,{label:Ub("Link Type","blockspare"),options:C,value:k,onChange:e=>{v({LinkType:e})}}),h&&"custom"===k&&Object(o.createElement)(Jb,{label:Ub("Custom Link","blockspare"),type:"text",value:y,onChange:e=>v({CustomLink:e})}),Object(o.createElement)(ib,{name:e,onChangeName:e=>v({name:e}),enableiconSize:!0,iconSize:t,onChangeIconSizeOptions:e=>v({iconSize:e}),enableiconStyles:!0,iconStyles:a,onChangeIconStyles:e=>v({iconStyles:e}),iconBackgroundColor:n,onChangeIconBackgroundColor:e=>v({iconBackgroundColor:e}),iconBorderColor:r,onChangeIconBorderColor:e=>v({iconBorderColor:e}),iconColor:l,OnChangeIconColor:e=>v({iconColor:e}),borderRadius:i,onChangeBorderRadius:e=>v({borderRadius:e}),backgroundOpacity:f,onChangeBackgroundOpacity:e=>v({backgroundOpacity:e})})),Object(o.createElement)($b,{title:Ub("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)($b,{title:Ub("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)($b,{title:Ub("Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)($b,{title:Ub("Block Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:s,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>v({marginTop:e}),marginEnableRight:!0,marginRight:c,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>v({marginRight:e}),marginEnableBottom:!0,marginBottom:p,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>v({marginBottom:e}),marginEnableLeft:!0,marginLeft:b,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>v({marginLeft:e})})),Object(o.createElement)($b,{title:Ub("Content Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:u,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>v({paddingTop:e}),paddingEnableRight:!0,paddingRight:d,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>v({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:g,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>v({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:m,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>v({paddingLeft:e})})))))}}var Zb=e=>{const{sectionAlignment:t,iconStyles:a,iconBackgroundColor:o,iconBorderColor:n,iconColor:r,borderRadius:l,marginTop:i,marginRight:s,marginBottom:c,marginLeft:p,enableIconLink:b,paddingTop:u,paddingRight:d,paddingBottom:g,paddingLeft:m,backgroundOpacity:f}=e.attributes,h=[];return h.push({".blockspare-block-icon-wrapper":{textAlign:t,marginTop:i+"px",marginRight:s+"px",marginBottom:c+"px",marginLeft:p+"px"},".blockspare-block-icon-wrapper .blockspare-block-icon":{paddingTop:u+"px",paddingRight:d+"px",paddingBottom:g+"px",paddingLeft:m+"px"}}),"blockspare-icon-style2"===a?h.push({".blockspare-block-icon-wrapper .blockspare-block-icon":{color:r||"#fff",borderRadius:l+"%"},".blockspare-block-icon-wrapper .blockspare-block-icon::after":{backgroundColor:o||"#8b249c",opacity:f}}):"blockspare-icon-style3"===a?h.push({".blockspare-block-icon-wrapper .blockspare-block-icon":{borderColor:n||"#8b249c",color:r||"#fff",borderRadius:l+"%"}}):h.push({".blockspare-block-icon":{color:r||"#fff"}}),b&&h.push({".blockspare-block-icon a":{color:r||"#fff"}}),Do.a.all(h)};const{Component:Qb,Fragment:eu}=wp.element,{__:tu}=wp.i18n,{compose:au}=wp.compose,{AlignmentToolbar:ou,BlockControls:nu}=wp.blockEditor;var ru=au(W,I(Zb,{editorMode:!0}))(class extends Qb{constructor(){super(...arguments),this.state={device:"md",spacer:!0}}componentDidMount(){const{setAttributes:e,clientId:t,attributes:{uniqueId:a}}=this.props,o=t.substr(0,6);a?a&&a!=o&&e({uniqueId:o}):e({uniqueId:o})}render(){const{attributes:{name:e,iconSize:t,iconStyles:a,sectionAlignment:n,animation:r,blockHoverEffect:l,align:i,enableIconLink:s,LinkType:c,CustomLink:p},className:b,attributes:u,setAttributes:d}=this.props,g={className:y()(b,"blockspare-blocks",r?"blockspare-block-animation":"",r,l,"align"+i),"data-block-animation":r};let m="";return m="custom"===c?p:"home"===c?blockspare_globals.homeUrl:"blog"===c?blockspare_globals.blogUrl:p,Object(o.createElement)(eu,null,Object(o.createElement)(nu,{key:"controls"},Object(o.createElement)(ou,{value:n,onChange:e=>{d({sectionAlignment:e})}})),Object(o.createElement)(Kb,{setAttributes:d,...this.props}),Object(o.createElement)("div",g,this.props.styles,Object(o.createElement)("div",{className:"blockspare-block-icon-wrapper"},Object(o.createElement)("div",{className:y()("blockspare-block-icon",t,a,"blockspare-hover-item")},s?Object(o.createElement)("a",{onClick:e=>{e.preventDefault()},href:m},Object(o.createElement)("i",{className:e})):Object(o.createElement)("i",{className:e})))))}});const{Component:lu}=wp.element,{compose:iu}=wp.compose;var su=iu(W,I(Zb))(class extends lu{render(){const{attributes:{name:e,iconSize:t,iconStyles:a,animation:n,blockHoverEffect:r,enableIconLink:l,LinkType:i,CustomLink:s},className:c}=this.props,p=y()([c,"blockspare-blocks",n?"blockspare-block-animation":"",n,r]);let b="";return b="custom"===i?s:"home"===i?blockspare_globals.homeUrl:"blog"===i?blockspare_globals.blogUrl:s,Object(o.createElement)("div",{className:p,"blockspare-animation":n},this.props.styles,Object(o.createElement)("div",{className:"blockspare-block-icon-wrapper"},Object(o.createElement)("div",{className:y()("blockspare-block-icon",t,a,"blockspare-hover-item")},l?Object(o.createElement)("a",{href:b},Object(o.createElement)("i",{className:e})):Object(o.createElement)("i",{className:e}))))}});const{name:cu,category:pu,attributes:bu}=Wb,{__:uu}=wp.i18n,{registerBlockType:du}=wp.blocks;du(cu,{title:uu("Icon","blockspare"),description:uu("Our Icon block allows you to choose and place various type of icons","blockspare"),category:pu,icon:s.a.iconblockspare,keywords:[uu("block","blockspare"),uu("icon","blockspare"),uu("set","blockspare"),uu("box","blockspare")],example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},attributes:bu,edit:ru,save:su}),a(351);var gu=a(276),mu=a(59),fu=a.n(mu);const{__:hu}=wp.i18n,{Component:ku,Fragment:yu}=wp.element,{SelectControl:vu}=wp.components;var Cu=class extends ku{render(){const{attributes:{imageHoverEffect:e},setAttributes:t}=this.props,a=[{value:"",label:hu("None","blockspare")},{value:"bs-image-hover-01",label:hu("Zoom In","blockspare")},{value:"bs-image-hover-02",label:hu("Zoom Out","blockspare")},{value:"bs-image-hover-03",label:hu("Slide","blockspare")},{value:"bs-image-hover-04",label:hu("Rotate + Zoom Out","blockspare")},{value:"bs-image-hover-05",label:hu("Blur","blockspare")},{value:"bs-image-hover-06",label:hu("Gray Scale","blockspare")},{value:"bs-image-hover-07",label:hu("Sepia","blockspare")},{value:"bs-image-hover-08",label:hu("Blur + Gray Scale","blockspare")},{value:"bs-image-hover-09",label:hu("Opacity","blockspare")},{value:"bs-image-hover-10",label:hu("Flashing","blockspare")},{value:"bs-image-hover-11",label:hu("Shine","blockspare")},{value:"bs-image-hover-12",label:hu("Circle","blockspare")}];return Object(o.createElement)(yu,null,Object(o.createElement)(vu,{label:hu("Image Hover Style","blockspare"),options:a,value:e,onChange:e=>t({imageHoverEffect:e})}))}};const{__:Ou}=wp.i18n,{Component:Eu}=wp.element,{InspectorControls:xu,PanelColorSettings:wu}=wp.blockEditor,{PanelBody:Su,SelectControl:Tu,ToggleControl:ju,RangeControl:Fu}=wp.components;class Mu extends Eu{imageSizeSelect(){var e,t,a;const o=null===(e=wp)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.select("core/editor"))||void 0===a?void 0:a.getEditorSettings();return an()(io()(null==o?void 0:o.imageSizes,e=>{let{name:t,slug:a}=e;return{value:a,label:t}}))}render(){const{attributes:{numberofSlide:e,carouselSpeed:t,showsliderNextPrev:a,carouselNextIcon:n,showDots:r,navigationColor:l,gutterSpace:i,colorFilter:s,showOriginalOnHover:c,navigationSize:p,enableAutoPlay:b,marginTop:u,marginRight:d,marginBottom:g,marginLeft:m,navigationShape:f,navigationShapeColor:h,enableEqualHeight:k,borderRadius:y},attributes:v,setAttributes:C}=this.props,O={value:"selectimage",label:Ou("Select image size")};this.imageSizeSelect().unshift(O);const E=[{value:"fas fa-chevron-right",label:Ou("Chevron","blockspare")},{value:"fas fa-angle-right",label:Ou("Angle","blockspare")},{value:"fas fa-chevron-circle-right",label:Ou("Chevron Circle","blockspare")}];return Ou("Original","blockspare"),Ou("Grayscale","blockspare"),Ou("Sepia","blockspare"),Ou("Saturation","blockspare"),Ou("Dim","blockspare"),Ou("Vintage","blockspare"),Ou("Small","blockspare"),Ou("Medium","blockspare"),Ou("Large","blockspare"),Ou("Shape 1","blockspare"),Ou("Shape 2","blockspare"),Ou("Shape 3","blockspare"),Ou("Shape 4","blockspare"),Ou("Shape 5","blockspare"),Object(o.createElement)(xu,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(Su,{title:Ou("Carousel Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Fu,{label:Ou("Number of slide to show","blockspare"),value:e,onChange:e=>C({numberofSlide:e}),min:2,max:5}),Object(o.createElement)(Fu,{label:Ou("Gutter Sapce","blockspare"),value:i,onChange:e=>C({gutterSpace:e}),min:0,max:5}),Object(o.createElement)(ju,{label:Ou("Enable Equal Height","blockspare"),checked:k,onChange:()=>this.props.setAttributes({enableEqualHeight:!k})}),Object(o.createElement)(ju,{label:Ou("Enable Autoplay","blockspare"),checked:b,onChange:()=>this.props.setAttributes({enableAutoPlay:!b})}),Object(o.createElement)(ju,{label:Ou("Display Navigation","blockspare"),checked:a,onChange:()=>this.props.setAttributes({showsliderNextPrev:!a})}),a&&Object(o.createElement)(Tu,{label:Ou(" Navigation Style","blockspare"),value:n,options:E.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>C({carouselNextIcon:e})}),(a||r)&&Object(o.createElement)(wu,{title:Ou("Navigation Color","blockspare"),initialOpen:!1,colorSettings:[{value:l,onChange:e=>C({navigationColor:e}),label:Ou("Navigation Color","blockspare")},{value:h,onChange:e=>C({navigationShapeColor:e}),label:Ou("Navigation Shape Color","blockspare")}]}),Object(o.createElement)(Fu,{label:Ou("Border Radius","blockspare"),value:y,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:50,step:1})),Object(o.createElement)(Su,{title:Ou("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(Su,{title:Ou("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props)),Object(o.createElement)(Su,{title:Ou("Block Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:u,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>C({marginTop:e}),marginEnableRight:!0,marginRight:d,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>C({marginRight:e}),marginEnableBottom:!0,marginBottom:g,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>C({marginBottom:e}),marginEnableLeft:!0,marginLeft:m,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>C({marginLeft:e})}))))}}var Bu=a(33),Lu=a.n(Bu);const{__:zu}=wp.i18n,{Component:Nu,Fragment:Pu}=wp.element,{compose:Du}=wp.compose,{IconButton:Ru,Spinner:Au,Dashicon:_u}=wp.components,{RichText:Iu,URLInput:Hu}=wp.blockEditor,{withSelect:Gu}=wp.data,{isBlobURL:Wu}=wp.blob;var Uu=Du([Gu((e,t)=>{const{getMedia:a}=e("core"),{id:o}=t;return{image:o?a(o):null}})])(class extends Nu{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{isSelected:t,image:a,url:o,imgLink:n}=this.props;a&&!o&&this.props.setAttributes({url:a.source_url,alt:a.alt_text}),this.state.captionSelected&&!t&&e.isSelected&&this.setState({captionSelected:!1,captionFocused:!1}),n&&!t&&e.isSelected&&this.setState({isSaved:!1})}render(){const{alt:e,caption:t,captions:a,fontSize:n,gutter:r,gutterMobile:l,id:i,isFirstItem:s,isLastItem:c,isSelected:p,linkTo:b,marginBottom:u,marginLeft:d,marginRight:g,marginTop:m,onMoveBackward:f,onMoveForward:h,onRemove:k,setAttributes:v,shadow:C,supportsCaption:O,supportsMoving:E=!0,verticalMoving:x=!1,url:w,sizes:S,inspectorSize:T,"aria-label":j,imgLink:F}=this.props;let M="";M=S?"medium"===T?void 0===S.medium?w:void 0!==S.medium?S.medium.url:w:"full"===T?void 0===S.large?w:void 0!==S.full.url?S.full.url:w:w:w;const B=y()({["has-shadow-"+C]:"none"!==C||void 0!==C}),L=Object(o.createElement)(Pu,null,Object(o.createElement)("img",{src:M,className:B,alt:e,"data-id":i,"data-imglink":F,onClick:this.onImageClick,tabIndex:"0","aria-label":j}),Wu(w)&&Object(o.createElement)(Au,null)),z=y()({"is-selected":p,"is-transient":w&&0===w.indexOf("blob:"),["has-margin-top-"+r]:m&&r>0,["has-margin-top-mobile-"+l]:m&&l>0,["has-margin-right-"+r]:g&&r>0,["has-margin-right-mobile-"+l]:g&&l>0,["has-margin-bottom-"+r]:u&&r>0,["has-margin-bottom-mobile-"+l]:u&&l>0,["has-margin-left-"+r]:d&&r>0,["has-margin-left-mobile-"+l]:d&&l>0}),N={fontSize:n?n+"px":void 0};return Object(o.createElement)("figure",{className:"blockspare-gallery-figure blockspare-hover-item "+z,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.bindContainer},p&&Object(o.createElement)(Pu,null,E&&Object(o.createElement)("div",{className:"components-blockspare-gallery-item__move-menu"},Object(o.createElement)(Ru,{icon:x?"arrow-up":"arrow-left",onClick:!s&&f,className:"blockspare-gallery-item-button",label:zu("Move Image Backward","blockspare"),"aria-disabled":s,disabled:!p}),Object(o.createElement)(Ru,{icon:x?"arrow-down":"arrow-right",onClick:!c&&h,className:"blockspare-gallery-item-button",label:zu("Move Image Forward","blockspare"),"aria-disabled":c,disabled:!p})),Object(o.createElement)("div",{className:"components-blockspare-gallery-item__remove-menu"},Object(o.createElement)(Ru,{icon:"no-alt",onClick:k,className:"blockspare-gallery-item-button",label:zu("Remove Image","blockspare"),disabled:!p})),"custom"===b&&Object(o.createElement)("form",{className:"components-blockspare-gallery-item-image-link",onSubmit:e=>e.preventDefault()},Object(o.createElement)(_u,{icon:"admin-links"}),Object(o.createElement)(Hu,{value:F,onChange:e=>v({imgLink:e})}),Object(o.createElement)(Ru,{icon:this.state.isSaved?"saved":"editor-break",label:this.state.isSaved?zu("Saving","blockspare"):zu("Apply","blockspare"),onClick:this.saveCustomLink,type:"submit"}))),L,!0!==O||Iu.isEmpty(t)&&!p||!a?null:Object(o.createElement)(Iu,{tagName:"figcaption",placeholder:zu("Write caption…","blockspare"),className:"blockspare-gallery-caption",style:N,value:t,isSelected:this.state.captionSelected,onChange:e=>v({caption:e}),unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}),qu=a(277),Vu=a.n(qu),$u=a(95),Xu=a.n($u),Yu=a(278),Ju=a.n(Yu);const Ku=(e,t)=>{const a=Vu()(e,["alt","id","link","caption","imgLink","sizes"]);a.url=Xu()(e,["sizes","large","url"])||Xu()(e,["media_details","sizes","large","source_url"])||e.url;const o=Ju()(t,(function(e){return e.url===a.url}));return a.imgLink=o>=0?t[o].imgLink:"",a},Zu=["image"],{__:Qu,sprintf:ed}=wp.i18n,{Component:td}=wp.element,{MediaPlaceholder:ad,BlockIcon:od}=wp.blockEditor;var nd=class extends td{constructor(){super(...arguments),this.onSelectImages=this.onSelectImages.bind(this)}onSelectImages(e){this.props.setAttributes({images:e.map(e=>Ku(e))})}render(){const{attributes:e,gutter:t,gutterMobile:a,isSelected:n,marginBottom:r,marginLeft:l,marginRight:i,marginTop:s,noticeOperations:c,noticeUI:p}=this.props,{images:b}=e,u=!!b.length,d=y()("blockspare-gallery--figure");return Object(o.createElement)("div",{className:d},Object(o.createElement)(ad,{addToGallery:u,isAppender:u,dropZoneUIOnly:u&&!n,icon:!u&&Object(o.createElement)(od,{icon:this.props.icon}),labels:{title:!u&&ed(
/* translators: %s: Type of gallery */
Qu("%s Gallery","blockspare"),this.props.label),instructions:!u&&Qu("Upload an image file, pick one from your media library, or add one with a URL.","blockspare")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:Zu,multiple:!0,value:u?b:void 0,onError:c.createErrorNotice,notices:u?void 0:p}))}};const{Component:rd,Fragment:ld}=wp.element,{mediaUpload:id}=wp.blockEditor,{DropZone:sd}=wp.components;var cd=class extends rd{constructor(){super(...arguments),this.addMediaFiles=this.addMediaFiles.bind(this)}addMediaFiles(e){const t=this.props.attributes.images||[],{noticeOperations:a,setAttributes:o}=this.props;id({allowedTypes:Zu,filesList:e,onFileChange:e=>{const a=e.map(e=>Ku(e));o({images:t.concat(a)})},onError:a.createErrorNotice})}render(){return Object(o.createElement)(ld,null,Object(o.createElement)(sd,{onFilesDrop:this.addMediaFiles,label:this.props.label}))}},pd=e=>{const{marginTop:t,marginRight:a,marginBottom:o,marginLeft:n,navigationShape:r,navigationColor:l,navigationShapeColor:i,borderRadius:s}=e.attributes,c=[];return c.push({".blockspare-carousel-wrap span:before, .blockspare-carousel-wrap ul li button":{color:l||"#fff"},".blockspare-carousel-wrap .slick-slider .slick-dots > li button":{backgroundColor:l||"#fff"},".blockspare-carousel-wrap .blockspare-gallery-figure":{borderRadius:s?s+"px":"0px"}}),"lpc-navigation-1"===r||"lpc-navigation-2"===r?c.push({".slick-slider .slick-arrow:after":{backgroundColor:i}}):"lpc-navigation-3"===r||"lpc-navigation-4"===r?c.push({".slick-slider .slick-arrow":{borderColor:i}}):c.push({".blockspare-carousel-wrap .slick-slider .slick-arrow":{backgroundColor:"transparent",borderColor:"transparent"}}),c.push({".blockspare-carousel-wrap":{marginTop:t?t+"px":void 0,marginRight:a?a+"px":void 0,marginBottom:o?o+"px":void 0,marginLeft:n?n+"px":void 0}}),Do.a.all(c)};const{Component:bd,Fragment:ud}=wp.element,{__:dd,sprintf:gd}=wp.i18n,{compose:md}=wp.compose,{withNotices:fd,Toolbar:hd,IconButton:kd}=wp.components,{BlockControls:yd,MediaUpload:vd,MediaUploadCheck:Cd}=wp.blockEditor;var Od=md([fd,W,I(pd)])(class extends bd{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 a=[...this.props.attributes.images];a.splice(t,1,this.props.attributes.images[e]),a.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:a})}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=fu()(this.props.attributes.images,(t,a)=>e!==a);this.setState({selectedImage:null}),this.props.setAttributes({images:t})}}setImageAttributes(e,t){const{attributes:{images:a},setAttributes:o}=this.props;a[e]&&o({images:[...a.slice(0,e),{...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=>Ku(e,this.props.attributes.images))})}render(){const{attributes:{images:e,numberofSlide:t,carouselSpeed:a,showsliderNextPrev:n,carouselNextIcon:r,showDots:l,align:i,gutterSpace:s,colorFilter:c,showOriginalOnHover:p,navigationSize:b,enableAutoPlay:u,navigationShape:d,enableEqualHeight:g,animation:m,blockHoverEffect:f,imageHoverEffect:h},className:k,isSelected:v,noticeUI:O,setAttributes:E}=this.props,x={className:y()(k,m?"blockspare-block-animation":"",m,"align"+i,f,h),"data-block-animation":m},w=!!e.length,S=Object(o.createElement)(cd,this.props);if(!w)return Object(o.createElement)(nd,C()({},this.props,{label:dd("Carousel","blockspare")}));const T={dots:l,loop:!0,speed:a,arrows:n,slidesToShow:t,nextArrow:Object(o.createElement)(Ed,{next:!0,IconArrow:r}),prevArrow:Object(o.createElement)(Ed,{prev:!0,IconArrow:r}),responsive:[{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]};return Object(o.createElement)(ud,null,Object(o.createElement)(yd,null,w&&Object(o.createElement)(ud,null,Object(o.createElement)(Mu,{setAttributes:E,...this.props}),Object(o.createElement)(hd,null,Object(o.createElement)(Cd,null,Object(o.createElement)(vd,{onSelect:this.onEditSelectImages,allowedTypes:Zu,multiple:!0,gallery:!0,value:e.map(e=>e.id),render:e=>{let{open:t}=e;return Object(o.createElement)(kd,{className:"components-toolbar__control",label:dd("Edit gallery","blockspare"),icon:"edit",onClick:t})}}))))),S,Object(o.createElement)("div",x,this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-blocks blockspare-carousel-wrap","has-gutter-space-"+s,c,d,"blockspare-original"!==c&&p?"has-hover-effect":"",b,g?"bs-has-equal-height":"","blockspare-slides-"+t)},Object(o.createElement)("div",{className:"blockspare-carousel-items"},Object(o.createElement)(Lu.a,T,e.map((t,a)=>{const n=gd(
/* translators: %1$d is the order number of the image, %2$d is the total number of images */
dd("image %1$d of %2$d in gallery","blockspare"),a+1,e.length);return Object(o.createElement)("div",{className:"blockspare-gallery-item",key:t.id||t.url,onClick:this.onItemClick},Object(o.createElement)(Uu,{url:t.url,alt:t.alt,id:t.id,marginRight:!0,marginLeft:!0,isSelected:v&&this.state.selectedImage===a,onRemove:this.onRemoveImage(a),onSelect:this.onSelectImage(a),setAttributes:e=>this.setImageAttributes(a,e),caption:t.caption,"aria-label":n,supportsCaption:!1,onMoveBackward:this.onMoveBackward(a),onMoveForward:this.onMoveForward(a),supportsMoving:!0,sizes:t.sizes,inspectorSize:"medium"}))}),v&&Object(o.createElement)("div",{className:"blockspare-add-more-slide blockspare-add-more-item"},Object(o.createElement)(Cd,null,Object(o.createElement)(vd,{onSelect:this.onEditSelectImages,allowedTypes:Zu,multiple:!0,gallery:!0,value:e.map(e=>e.id),render:e=>{let{open:t}=e;return Object(o.createElement)(kd,{className:"aft-cta-inspector-media",label:dd("Edit image","blockspare"),icon:"plus-alt",onClick:t},dd("Add Image","blockspare"))}}))))))))}});function Ed(e){const{className:t,style:a,onClick:n,IconArrow:r,prev:l,next:i}=e;if(1==i)return Object(o.createElement)("span",{className:y()("slide-next slick-arrow ",r),onClick:n});var s=r.replace("right","left");return Object(o.createElement)("span",{className:y()("slide-prev slick-arrow ",s),onClick:n})}const{Component:xd}=wp.element,{compose:wd}=wp.compose;var Sd=wd(W,I(pd))(class extends xd{render(){const{attributes:{images:e,numberofSlide:t,carouselSpeed:a,showsliderNextPrev:n,carouselNextIcon:r,showDots:l,navigationColor:i,gutterSpace:s,colorFilter:c,showOriginalOnHover:p,navigationSize:b,enableAutoPlay:u,navigationShape:d,animation:g,enableEqualHeight:m,blockHoverEffect:f,imageHoverEffect:h},className:k}=this.props;let v=r,C=r.replace("-right","-left"),O={loop:!0,autoplay:u,slidesToShow:t,speed:a,arrows:n,dots:l};var E=JSON.stringify(O);const x=y()([k,g?"blockspare-block-animation":"",f,h]);return Object(o.createElement)("div",{className:x,"blockspare-animation":g},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-blocks blockspare-carousel-wrap","has-gutter-space-"+s,c,b,d,"blockspare-original"!==c&&p?"has-hover-effect":"",m?"bs-has-equal-height":"","blockspare-slides-"+t)},Object(o.createElement)("div",{className:"blockspare-carousel-items"},Object(o.createElement)("div",{"data-next":v,"data-prev":C,"data-slick":E},e.map((e,t)=>{let a="";return e.sizes,a=e.url,Object(o.createElement)("div",null,Object(o.createElement)("div",{className:"blockspare-gallery-figure blockspare-hover-item"},Object(o.createElement)("img",{src:a})))})))))}});const Td=blockspare_globals,{name:jd,category:Fd,attributes:Md}=gu,{__:Bd}=wp.i18n,{registerBlockType:Ld}=wp.blocks;Ld(jd,{title:Bd("Image Carousel","blockspare"),description:Bd("Add logos, badges and images to build carousel.","blockspare"),category:Fd,icon:s.a.imagecarousel,attributes:Md,keywords:[Bd("block","blockspare"),Bd("image","blockspare"),Bd("carousel","blockspare"),Bd("slider","blockspare"),Bd("gallery","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{align:"full",images:[{url:Td.img},{url:Td.img},{url:Td.img}],showsliderNextPrev:!0,showDots:!0}},edit:Od,save:Sd});var zd=a(279),Nd=(a(371),a(280));const{__:Pd}=wp.i18n,{Component:Dd,Fragment:Rd}=wp.element,{InspectorControls:Ad,PanelColorSettings:_d}=wp.blockEditor,{PanelBody:Id,SelectControl:Hd,RangeControl:Gd}=wp.components;class Wd extends Dd{render(){const{attributes:{percentageTextColor:e,textSize:t,barColor:a,backgroundColor:n,textColor:r,barThickness:l,titleLoadGoogleFonts:i,titleFontFamily:s,titleFontWeight:c,titleFontSubset:p,titleFontSizeType:b,titleFontSizeMobile:u,titleFontSizeTablet:d,percentage:g},attributes:m,setAttributes:f}=this.props;return Object(o.createElement)(Ad,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(Id,{title:Pd("Block Settings"),initialOpen:!1},Object(o.createElement)(Oo,{label:Pd("Title Font Settings","blockspare"),attributes:m,setAttributes:f,loadGoogleFonts:{value:i,label:Pd("titleLoadGoogleFonts")},fontFamily:{value:s,label:Pd("titleFontFamily")},fontWeight:{value:c,label:Pd("titleFontWeight")},fontSubset:{value:p,label:Pd("titleFontSubset")},fontSizeType:{value:b,label:Pd("titleFontSizeType")},fontSize:{value:t,label:Pd("textSize")},fontSizeMobile:{value:u,label:Pd("titleFontSizeMobile")},fontSizeTablet:{value:d,label:Pd("titleFontSizeTablet")},disableLineHeight:!0}),Object(o.createElement)(Gd,{label:Pd("Bar Precent","blockspare"),value:g,onChange:e=>this.props.setAttributes({percentage:e}),min:0,max:100}),Object(o.createElement)(_d,{title:Pd("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:n,onChange:e=>f({backgroundColor:e}),label:Pd("Background Color","blockspare")},{value:a,onChange:e=>f({barColor:e}),label:Pd("Bar Color","blockspare")},{value:e,onChange:e=>f({percentageTextColor:e}),label:Pd("Percentage Texts Color","blockspare")},{value:r,onChange:e=>f({textColor:e}),label:Pd("Title Color","blockspare")}]})),Object(o.createElement)(Id,{title:Pd("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props))))}}var Ud=e=>{const{sectionAlignment:t,textSize:a,textColor:o,percentageTextColor:n,barColor:r,backgroundColor:l,titleFontFamily:i,titleFontWeight:s,titleFontSizeType:c,titleFontSizeMobile:p,titleFontSizeTablet:b}=e.attributes,u=[];return u.push({".blockspare-title":{textAlign:t,color:o||"#404040",fontSize:a+c+"!important",...Ro(i),...Ao(s)},".blockspare_progress-bar-label":{textAlign:t,color:o||"#404040",fontSize:a+c+"!important",...Ro(i),...Ao(s)},".blockspare_progress-bar-label":{color:n||"#8b249c"},".blockspare-skillbar":{backgroundColor:l||"#8b249c"},".blockspare-skillbar-bar":{backgroundColor:r||"#2DB7F5"},tablet:{".blockspare-title":{fontSize:b+c+"!important"},".blockspare_progress-bar-label":{fontSize:b+c+"!important"}},mobile:{".blockspare-title":{fontSize:p+c+"!important"},".blockspare_progress-bar-label":{fontSize:p+c+"!important"}}}),Do.a.all(u)};class qd extends b.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{indicator:e,isActive:t}=this.state,{barColor:a,barThickness:n,percent:r,backgroundColor:l,percentageTextColor:i}=this.props,s=`M ${n/2},${n/2} L ${100-n/2},${n/2}`;return Object(o.createElement)("div",{className:"blockspare_progress-bar-container"},Object(o.createElement)("svg",{className:"blockspare_progress-bar-line blockspare-hover-item",viewBox:"0 0 100 "+n,preserveAspectRatio:"none"},Object(o.createElement)("path",{className:"blockspare_progress-bar-line-trail",d:s,strokeWidth:n,style:{stroke:l||"#8b249c"}}),Object(o.createElement)("path",{className:"blockspare_progress-bar-line-path",d:s,stroke:a||"#2DB7F5",strokeWidth:n,style:{strokeDashoffset:100-e+"px"}})))}}const{Component:Vd,Fragment:$d}=wp.element,{__:Xd}=wp.i18n,{compose:Yd}=wp.compose,{BlockControls:Jd,RichText:Kd,AlignmentToolbar:Zd}=wp.blockEditor,{Toolbar:Qd,RangeControl:eg}=wp.components;var tg=Yd(W,I(Ud))(class extends Vd{render(){const{attributes:{title:e,textSize:t,textColor:a,percentageTextColor:n,percentage:r,barColor:l,barThickness:i,backgroundColor:s,sectionAlignment:c,titleLoadGoogleFonts:p,titleFontFamily:b,titleFontWeight:u,blockHoverEffect:d},isActive:g="true",className:m,setAttributes:f}=this.props;let h;if(1==p){const e={google:{families:[b+(u?":"+u:"")]}};h=Object(o.createElement)(Uo,{config:e})}const k=y()([m,"blockspare-progressbar-wrap",d]);return Object(o.createElement)($d,null,Object(o.createElement)(Wd,{setAttributes:f,...this.props}),Object(o.createElement)(Jd,null,Object(o.createElement)(Zd,{value:c,onChange:e=>{f({sectionAlignment:e})}})),Object(o.createElement)("div",{className:k},this.props.styles,Object(o.createElement)("div",{className:"blockspare-precent-text-wrap"},Object(o.createElement)(Kd,{tagName:"div",placeholder:Xd("Title","blockspare"),keepPlaceholderOnFocus:!0,value:e,className:y()("blockspare-title","blockspare-progress-title"),onChange:e=>f({title:e})}),Object(o.createElement)("div",{className:"blockspare_progress-bar-label",style:{visibility:g?"visible":"hidden",color:n||"#8b249c"}},r,"%")),Object(o.createElement)(qd,{percent:r,barColor:l,barThickness:i,backgroundColor:s,percentageTextColor:n})),h)}});const{Component:ag}=wp.element,{compose:og}=wp.compose,{RichText:ng}=wp.blockEditor;var rg=og(W,I(Ud))(class extends ag{constructor(){super(...arguments)}render(){const{attributes:{title:e,percentage:t,barThickness:a,sectionAlignment:n,blockHoverEffect:r},className:l}=this.props,i=y()([l,"blockspare-progressbar-wrap",r]);return Object(o.createElement)("div",{className:i},this.props.styles,Object(o.createElement)("div",{className:"blockspare_progress-bar-container"},Object(o.createElement)("div",{className:"blockspare-precent-text-wrap"},Object(o.createElement)(ng.Content,{tagName:"div",className:y()("blockspare-title","blockspare-progress-title"),value:e}),Object(o.createElement)("div",{className:"blockspare_progress-bar-label"},t,"%")),Object(o.createElement)("div",{className:"blockspare-skillbar-item blockspare-hover-item","data-percent":t},Object(o.createElement)("div",{className:y()("blockspare-skillbar","barthickness-"+a)},Object(o.createElement)("div",{className:"blockspare-skillbar-bar"})))))}});const{name:lg,attributes:ig,category:sg}=Nd,{__:cg}=wp.i18n,{registerBlockType:pg}=wp.blocks,bg={title:cg("progress","blockspare"),description:cg("Display multiple linear progressbar.","blockspare"),parent:["blockspare/linearprogressbar"],icon:s.a.progressBar,category:sg,supports:{html:!1,inserter:!1,reusable:!1},attributes:ig,edit:tg,save:rg};pg(lg,bg);var ug=e=>{const{paddingTop:t,paddingRight:a,paddingBottom:o,paddingLeft:n,marginTop:r,marginRight:l,marginBottom:i,marginLeft:s}=e.attributes,c=[];return c.push({".blockspare-block-progress-bar":{paddingTop:t?t+"px":"0px",paddingRight:a?a+"px":"0px",paddingBottom:o?o+"px":"0px",paddingLeft:n?n+"px":"0px"}}),c.push({".blockspare-block-progress-bar":{marginTop:r?r+"px":void 0,marginRight:l?l+"px":void 0,marginBottom:i?i+"px":void 0,marginLeft:s?s+"px":void 0}}),Do.a.all(c)};const{__:dg}=wp.i18n,{Component:gg}=wp.element,{InspectorControls:mg}=wp.blockEditor,{PanelBody:fg}=wp.components;class hg extends gg{constructor(e){super(...arguments)}render(){const{attributes:{paddingTop:e,paddingRight:t,paddingBottom:a,paddingLeft:n,marginTop:r,marginRight:l,marginBottom:i,marginLeft:s},attributes:c,setAttributes:p}=this.props;return Object(o.createElement)(mg,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(fg,{title:dg("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(fg,{title:dg("Block Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(fg,{title:dg("Padding Settings","blockspare"),initialOpen:!0},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:e,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>p({paddingTop:e}),paddingEnableRight:!0,paddingRight:t,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>p({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:a,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>p({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:n,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>p({paddingLeft:e})})),Object(o.createElement)(fg,{title:dg("Margin Settings","blockspare"),initialOpen:!0},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:r,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>p({marginTop:e}),marginEnableRight:!0,marginRight:l,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>p({marginRight:e}),marginEnableBottom:!0,marginBottom:i,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>p({marginBottom:e}),marginEnableLeft:!0,marginLeft:s,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>p({marginLeft:e})})))))}}const{Component:kg,Fragment:yg}=wp.element,{compose:vg}=wp.compose,{InnerBlocks:Cg}=wp.blockEditor,{createBlock:Og}=wp.blocks,{withSelect:Eg,withDispatch:xg}=wp.data;var wg=vg([Eg((e,t)=>{const{clientId:a}=t,{getBlock:o,isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{block:o(a),isSelectedBlockInRoot:n(a)||r(a,!0)}}),xg(e=>{const{insertBlock:t,updateBlockAttributes:a}=e("core/block-editor");return{insertBlock:t,updateBlockAttributes:a}}),W,I(ug)])(class extends kg{constructor(){super(...arguments),E()(this,"getProgressbarTemplate",e=>{const t=[],a=e.defaultItems;for(let e=0;e<a;e++){const a="Create stylish Linear progressbar.";t.push(["blockspare/blockspare-skillbar",{itemNumber:e,defaultText:a}])}return t})}componentDidMount(){const{setAttributes:e,clientId:t,attributes:{uniqueId:a}}=this.props,o=t.substr(0,6);a?a&&a!=o&&e({uniqueId:o}):e({uniqueId:o})}insertProgressbarItem(){let e;const{clientId:t,insertBlock:a,block:o}=this.props;if(o.innerBlocks&&o.innerBlocks.length){const t=o.innerBlocks[o.innerBlocks.length-1].attributes.itemNumber+1,a=bg.title;e=Object.assign({},{},{itemNumber:t,title1:a,active:!1,defaultText:""})}else e=bg;a(Og("blockspare/blockspare-skillbar",e),void 0,t)}render(){const{name:e,attributes:t,isSelectedBlockInRoot:a,setAttributes:n,className:r,attributes:{uniqueId:l,animation:i,align:s}}=this.props,c={className:y()(r,"blockspare-block-"+l,i?"blockspare-block-animation":"",i,"align"+s),"data-block-animation":i};return Object(o.createElement)(yg,null,Object(o.createElement)(hg,{setAttributes:n,...this.props}),Object(o.createElement)("div",c,this.props.styles,Object(o.createElement)("div",{className:"blockspare-block-progress-bar"},Object(o.createElement)(Cg,{template:this.getProgressbarTemplate(t),allowedBlocks:["blockspare/blockspare-skillbar"]}))))}});const{Component:Sg}=wp.element,{InnerBlocks:Tg}=wp.blockEditor,{compose:jg}=wp.compose;var Fg=jg([W,I(ug)])(class extends Sg{render(){const{className:e,attributes:{uniqueId:t,animation:a,align:n}}=this.props,r=y()([e,"blockspare-block-interaction","blockspare-block-"+t,"align"+n,a?"blockspare-block-animation":""]);return Object(o.createElement)("div",{className:r,"blockspare-animation":a},Object(o.createElement)("div",{className:"blockspare-block-progress-bar"},this.props.styles,Object(o.createElement)(Tg.Content,null)))}});const{name:Mg,category:Bg,attributes:Lg}=zd,{__:zg}=wp.i18n,{registerBlockType:Ng}=wp.blocks;Ng(Mg,{title:zg("Progressbar","blockspare"),description:zg("Display creative Linear Progressbar.","blockspare"),category:Bg,icon:s.a.progressBar,attributes:Lg,keywords:[zg("block","blockspare"),zg("progress","blockspare"),zg("bar","blockspare"),zg("number","blockspare"),zg("counter","blockspare")],supports:{html:!1,align:["center","wide","full"]},edit:wg,save:Fg}),a(372);var Pg=a(208),Dg=["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","blockspare-list-circle","blockspare-list-circle-outline","blockspare-list-arrow-right","blockspare-list-arrow-left","blockspare-list-arrow-circle-right","blockspare-list-arrow-circle-left","blockspare-list-arrow-alt-circle-right","blockspare-list-arrow-alt-circle-left","blockspare-list-long-arrow-alt-right","blockspare-list-long-arrow-alt-left","blockspare-list-chevron-right","blockspare-list-chevron-left","blockspare-list-angle-right","blockspare-list-star","blockspare-list-star-outline"];const{__:Rg}=wp.i18n,{Component:Ag,Fragment:_g}=wp.element;var Ig=class extends Ag{constructor(e){super(e),this.state={isOpen:!1,filterText:"",showIcons:!1}}render(){const{value:e,disableToggle:t,colorSettings:a,iconColor:n,onColorChange:r}=this.props,{filterText:l}=this.state;var i=[];return l.length>2?Dg.forEach(e=>{e.includes(l)&&i.push(e)}):i=Dg,Object(o.createElement)("div",{className:"blockspare-field blockspare-field-icon-list "+(t?"":"blockspare-toggle-enabled")},this.props.label&&Object(o.createElement)(_g,null,t?Object(o.createElement)("label",null,this.props.label):Object(o.createElement)(Toggle,{label:this.props.label,className:"blockspare-icon-list-toggle",value:!!this.props.value,onChange:()=>this.props.onChange(this.props.value?"":" ")})),a&&Object(o.createElement)(Color,{label:Rg(" Color"),value:n||"#ccc",onChange:e=>r(e)}),(t||""!=this.props.value)&&Object(o.createElement)("div",{className:"blockspare-icon-list-wrapper"},Object(o.createElement)("input",{type:"text",value:this.state.filterText,placeholder:"Search...",onChange:e=>this.setState({filterText:e.target.value}),autoComplete:"off"}),Object(o.createElement)("div",{className:"blockspare-icon-list-icons"},i.map(t=>Object(o.createElement)("span",{className:e==t?"blockspare-active":"",onClick:e=>{this.props.onChange(t)}},Object(o.createElement)("span",{className:t}))))))}};const{__:Hg}=wp.i18n,{Fragment:Gg}=wp.element,{PanelColorSettings:Wg}=wp.blockEditor,{SelectControl:Ug}=wp.components;function qg(e){const{enableColor:t=!0,enableOtherControl:a=!0,enablebgcolor:n,name:r,onChangeName:l=(()=>{}),listType:i,onChangeListStyle:s=(()=>{}),orderListStyle:c,onChangeOrderListStyle:p=(()=>{}),color:b,onchangeColor:u=(()=>{}),backgroundColor:d,onChangeBackgroundColor:g=(()=>{}),descriptionIconColor:m,onchangeDescriptionIconColor:f=(()=>{})}=e,h=[{value:"ul",label:Hg("List With icon","blockspare")},{value:"ol",label:Hg("Ordered List","blockspare")},{value:"none",label:Hg("None","blockspare")}],k=[{value:"blockspare-style1",label:Hg("Style1","blockspare")},{value:"blockspare-style2",label:Hg("Style2","blockspare")},{value:"blockspare-style3",label:Hg("Style3","blockspare")}],y={value:d,onChange:g,label:Hg("Background Color","blockspare")},v={value:m,onChange:f,label:Hg("Icon Color","blockspare")};return Object(o.createElement)(Gg,null,1==a&&Object(o.createElement)("div",null,Object(o.createElement)(Ug,{label:Hg("List Style","blockspare"),value:i,options:h.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:s}),"ul"==i&&Object(o.createElement)(Ig,{value:r,onChange:l}),"ol"==i&&Object(o.createElement)(Ug,{label:Hg("Ordered Style","blockspare"),value:c,options:k.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:p})),1==t&&Object(o.createElement)(Wg,{title:Hg("Color","blockspare"),initialOpen:!1,colorSettings:[{value:b,onChange:u,label:Hg("Text Color","blockspare")},"ul"==i?v:"","true"==n?y:""]}))}const{__:Vg}=wp.i18n,{Component:$g}=wp.element,{InspectorControls:Xg,PanelColorSettings:Yg}=wp.blockEditor,{PanelBody:Jg,ToggleControl:Kg,RangeControl:Zg}=wp.components;class Qg extends $g{render(){const{attributes:{name:e,listType:t,orderListStyle:a,color:n,descriptionIconColor:r,listBackGroundColor:l,enableBoxShadow:i,xOffset:s,yOffset:c,blur:p,spread:b,shadowColor:u,borderRadius:d,marginTop:g,marginRight:m,marginBottom:f,marginLeft:h,paddingTop:k,paddingRight:y,paddingBottom:v,paddingLeft:C,descriptionFontSize:O,descriptionFontFamily:E,descriptionFontWeight:x,descriptionFontSubset:w,descriptionFontSizeType:S,descriptionFontSizeMobile:T,descriptionFontSizeTablet:j,descriptionLoadGoogleFonts:F},attributes:M,setAttributes:B}=this.props;return Object(o.createElement)(Xg,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(Jg,{title:Vg("Block Settings"),initialOpen:!1},Object(o.createElement)(Jg,{title:Vg("Typography Settings","blockspare")},Object(o.createElement)(Oo,{label:Vg("Description Fonts Settings"),attributes:M,setAttributes:B,loadGoogleFonts:{value:F,label:Vg("descriptionLoadGoogleFonts")},fontFamily:{value:E,label:Vg("descriptionFontFamily")},fontWeight:{value:x,label:Vg("descriptionFontWeight")},fontSubset:{value:w,label:Vg("descriptionFontSubset")},fontSizeType:{value:S,label:Vg("descriptionFontSizeType")},fontSize:{value:O,label:Vg("descriptionFontSize")},fontSizeMobile:{value:T,label:Vg("descriptionFontSizeMobile")},fontSizeTablet:{value:j,label:Vg("descriptionFontSizeTablet")},disableLineHeight:!0})),Object(o.createElement)(Yg,{title:Vg("Color","blockspare"),initialOpen:!1,colorSettings:[{value:l,onChange:e=>B({listBackGroundColor:e}),label:Vg("Background Color","blockspare")}]}),Object(o.createElement)(Kg,{label:Vg("Enable Box Shadow","blockspare"),checked:i,onChange:()=>this.props.setAttributes({enableBoxShadow:!i})}),i&&Object(o.createElement)(ji,{shadowColor:u,onChangeShadowColor:e=>B({shadowColor:e}),xOffset:s,onChangeXOffset:e=>B({xOffset:e}),yOffset:c,onChangeYOffset:e=>B({yOffset:e}),blur:p,onChangeBlur:e=>B({blur:e}),spread:b,onChangeSpread:e=>B({spread:e})}),Object(o.createElement)(Zg,{label:Vg("Border Radius","blockspare"),value:d,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:50,step:1})),Object(o.createElement)(Jg,{title:Vg("Icon Settings"),initialOpen:!1},Object(o.createElement)(qg,{name:e,onChangeName:e=>B({name:e}),listType:t,onChangeListStyle:e=>B({listType:e}),orderListStyle:a,onChangeOrderListStyle:e=>B({orderListStyle:e}),color:n,onchangeColor:e=>B({color:e}),descriptionIconColor:r,onchangeDescriptionIconColor:e=>B({descriptionIconColor:e})})),Object(o.createElement)(Jg,{title:Vg("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(Jg,{title:Vg("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(Jg,{title:Vg("Block Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:g,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>B({marginTop:e}),marginEnableRight:!0,marginRight:m,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>B({marginRight:e}),marginEnableBottom:!0,marginBottom:f,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>B({marginBottom:e}),marginEnableLeft:!0,marginLeft:h,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>B({marginLeft:e})}),Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:k,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>B({paddingTop:e}),paddingEnableRight:!0,paddingRight:y,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>B({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:v,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>B({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:C,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>B({paddingLeft:e})}))))}}var em=e=>{const{sectionAlignment:t,listBackGroundColor:a,borderRadius:o,descriptionIconColor:n,color:r,descriptionFontSize:l,descriptionFontFamily:i,descriptionFontWeight:s,descriptionFontSubset:c,descriptionFontSizeType:p,descriptionFontSizeMobile:b,descriptionFontSizeTablet:u,marginTop:d,marginRight:g,marginBottom:m,marginLeft:f,paddingTop:h,paddingRight:k,paddingBottom:y,paddingLeft:v}=e.attributes,C=[],O=l-2;return C.push({".blockspare-list-wrap":{backgroundColor:a,borderRadius:o+"px",...As(e.attributes),marginTop:d?d+"px":void 0,marginRight:g?g+"px":void 0,marginBottom:m?m+"px":void 0,marginLeft:f?f+"px":void 0,paddingTop:h+"px",paddingRight:k+"px",paddingBottom:y+"px",paddingLeft:v+"px"},".blockspare-list-wrap .listDescription li":{color:r||"#000",textAlign:t,fontSize:l+p,...Ro(i),...Ao(s)},".blockspare-list-wrap .listDescription li:before":{color:n||"#000"},".listDescription li:before":{fontSize:O+p},tablet:{".blockspare-list-wrap .listDescription li":{fontSize:u+p},".listDescription li:before":{fontSize:O+p}},mobile:{".blockspare-list-wrap .listDescription li":{fontSize:b+p},".listDescription li:before":{fontSize:O+p}}}),Do.a.all(C)};const{Component:tm,Fragment:am}=wp.element,{__:om}=wp.i18n,{compose:nm}=wp.compose,{RichText:rm}=wp.blockEditor,lm=["core/list-item"],{AlignmentToolbar:im,BlockControls:sm,InnerBlocks:cm}=wp.blockEditor;var pm=nm(W,I(em))(class extends tm{constructor(){super(...arguments),E()(this,"getlistDefaultTemplate",e=>{const t=[];for(let e=0;e<3;e++){const e="Vestibulum ac diam sit amet";t.push(["core/list-item",{content:e}])}return t})}render(){const{attributes:{sectionAlignment:e,listData:t,name:a,listType:n,orderListStyle:r,descriptionLoadGoogleFonts:l,descriptionFontFamily:i,descriptionFontWeight:s,animation:c,blockHoverEffect:p},className:b,attributes:u,setAttributes:d}=this.props;let g,m="";if(m="ul"==n?a:"ol"==n?r:"",1==l){const e={google:{families:[i+(s?":"+s:"")]}};g=Object(o.createElement)(Uo,{config:e})}const f=y()([b,"blockspare-block-iconlist-wrap",c?"blockspare-block-animation":"",c,p]),h="ol"==n?"ol":"ul",k=Array.isArray(t)?t.map(e=>["core/list-item",{content:e.listData}]):this.getlistDefaultTemplate();return Object(o.createElement)(am,null,Object(o.createElement)(Qg,{setAttributes:d,...this.props}),Object(o.createElement)(sm,null,Object(o.createElement)(im,{value:e,onChange:e=>{d({sectionAlignment:e})}})),Object(o.createElement)("div",{className:f},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-blocks blockspare-list-wrap blockspare-hover-item")},Object(o.createElement)(h,{className:y()(m,"listDescription")},Object(o.createElement)(cm,{template:k,allowedBlocks:lm,templateLock:!1,templateInsertUpdatesSelection:!1,renderAppender:!1})))),g)}});const{Component:bm}=wp.element,{compose:um}=wp.compose,{RichText:dm,InnerBlocks:gm}=wp.blockEditor;var mm=um(W,I(em))(class extends bm{render(){const{attributes:{sectionAlignment:e,listData:t,name:a,listType:n,orderListStyle:r,color:l,listBackGroundColor:i,borderRadius:s,animation:c,blockHoverEffect:p},className:b,attributes:u}=this.props;let d="";d="ul"==n?a:"ol"==n?r:"";const g=y()([b,"blockspare-block-iconlist-wrap",c?"blockspare-block-animation":"",p]),m="ol"==n?"ol":"ul";return Object(o.createElement)("div",{className:g,"blockspare-animation":c},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-blocks blockspare-list-wrap blockspare-hover-item")},Object(o.createElement)(m,{className:y()(d,"listDescription")},Object(o.createElement)(gm.Content,null))))}});const{Component:fm}=wp.element,{compose:hm}=wp.compose,{RichText:km}=wp.blockEditor;var ym=hm(W,I(em))(class extends fm{render(){const{attributes:{sectionAlignment:e,listData:t,name:a,listType:n,orderListStyle:r,color:l,listBackGroundColor:i,borderRadius:s,animation:c,blockHoverEffect:p},className:b,attributes:u}=this.props;let d="";d="ul"==n?a:"ol"==n?r:"";const g=y()([b,"blockspare-block-iconlist-wrap",c?"blockspare-block-animation":"",p]);return Object(o.createElement)("div",{className:g,"blockspare-animation":c},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-blocks blockspare-list-wrap blockspare-hover-item")},Object(o.createElement)(km.Content,{tagName:"none"==n?"ul":n,multiline:"li",value:t,className:y()(d,"listDescription")})))}}),vm=[{attributes:{...Pg.attributes,listData:{type:"string",source:"html",selector:"ol,ul",multiline:"li",default:"<li>Vestibulum ac diam sit amet</li> <li>Vestibulum ac diam sit amet</li> <li>Vestibulum ac diam sit amet</li>"}},migrate(e){const{listData:t,...a}=e;if(t){const e=document.createElement("div");return e.innerHTML=t,[{type:"core/item-list",listData:Array.from(e.querySelectorAll("li")).map(e=>({type:"core/list-item",listData:e.innerText.trim()})),...a}]}return[e]},save:e=>Object(o.createElement)(ym,e)}];const{name:Cm,category:Om}=Pg,{__:Em}=wp.i18n,{registerBlockType:xm}=wp.blocks,wm={...Pg.attributes,...pi};xm(Cm,{title:Em("Icon List","blockspare"),description:Em("Icon List allow you to add list with various type of icons","blockspare"),category:Om,icon:s.a.iconlist,attributes:wm,keywords:[Em("block","blockspare"),Em("list","blockspare"),Em("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:pm,save:mm,deprecated:vm}),a(373);var Sm=a(215);const{__:Tm}=wp.i18n,{Component:jm,Fragment:Fm}=wp.element;var Mm=class extends jm{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 a=[...this.props.attributes.images];a.splice(t,1,this.props.attributes.images[e]),a.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:a})}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=fu()(this.props.attributes.images,(t,a)=>e!==a);this.setState({selectedImage:null}),this.props.setAttributes({images:t})}}setImageAttributes(e,t){const{attributes:{images:a},setAttributes:o}=this.props;a[e]&&o({images:[...a.slice(0,e),{...a[e],...t},...a.slice(e+1)]})}onEditSelectImages(e){this.props.setAttributes({images:e.map(e=>Ku(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}const{attributes:t}=this.props,{isSelected:a,captions:n,images:r,linkTo:l}=this.props;return Object(o.createElement)(Fm,null,Object(o.createElement)("div",{className:"blockspare-logo-grid-main"},Object(o.createElement)("ul",{className:"blockspare-logo-wrap"},r.map((e,t)=>{const i=sprintf(
/* translators: %1$d is the order number of the image, %2$d is the total number of images */
Tm("image %1$d of %2$d in gallery","blockspare"),t+1,r.length);return Object(o.createElement)("li",{className:"blockspare-gallery-item",key:e.id||e.url},Object(o.createElement)(Uu,{url:e.url,alt:e.alt,id:e.id,imgLink:e.imgLink,linkTo:l,isFirstItem:0===t,isLastItem:t+1===r.length,isSelected:a&&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":i,captions:n,supportsCaption:!0}))}))))}};const{__:Bm}=wp.i18n,{Component:Lm}=wp.element,{InspectorControls:zm}=wp.blockEditor,{PanelBody:Nm,RangeControl:Pm}=wp.components;var Dm=class extends Lm{render(){const{attributes:e,setAttributes:t}=this.props,{columns:a,gutter:n,marginTop:r,marginRight:l,marginBottom:i,marginLeft:s,paddingTop:c,paddingRight:p,paddingBottom:b,paddingLeft:u}=e;return Object(o.createElement)(zm,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(Nm,{title:Bm("Block Settings","blockspare")},Object(o.createElement)(Pm,{label:Bm(" Columns","blockspare"),value:a,onChange:e=>this.props.setAttributes({columns:e}),min:1,max:7}),Object(o.createElement)(Pm,{label:Bm("Gutter","blockspare"),value:n,onChange:e=>this.props.setAttributes({gutter:e}),min:0,max:100,step:5})),Object(o.createElement)(Nm,{title:Bm("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(Nm,{title:Bm("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props)),Object(o.createElement)(Nm,{title:Bm("Block Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(Nm,{title:Bm("Padding Settings","blockspare"),initialOpen:!0},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:c,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>t({paddingTop:e}),paddingEnableRight:!0,paddingRight:p,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>t({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:b,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>t({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:u,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>t({paddingLeft:e})})),Object(o.createElement)(Nm,{title:Bm("Margin Settings","blockspare"),initialOpen:!0},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:r,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>t({marginTop:e}),marginEnableRight:!0,marginRight:l,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>t({marginRight:e}),marginEnableBottom:!0,marginBottom:i,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>t({marginBottom:e}),marginEnableLeft:!0,marginLeft:s,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>t({marginLeft:e})})))))}},Rm=e=>{const t=[];return t.push({".blockspare-logo-grid-main":{..._s(e.attributes)}}),Do.a.all(t)};const{Component:Am,Fragment:_m}=wp.element,{__:Im}=wp.i18n,{compose:Hm}=wp.compose,{withNotices:Gm}=wp.components,{MediaPlaceholder:Wm,BlockIcon:Um}=wp.blockEditor;var qm=Hm([Gm],W,I(Rm))(class extends Am{constructor(){super(...arguments),this.onSelectImages=this.onSelectImages.bind(this)}onSelectImages(e){this.props.setAttributes({images:e.map(e=>Ku(e))})}render(){const{className:e,noticeOperations:t,attributes:a,noticeUI:n,isSelected:r}=this.props,{images:l,grayscale:i,gutter:c,columns:p,animation:b,blockHoverEffect:u,align:d,imageHoverEffect:g}=a,m=!!l.length,f=y()("has-gap-"+c,"has-colums-"+p),h={className:y()(e,"blockspare-blocks blockspare-logos-wrapper",f,b?"blockspare-block-animation":"",b,u,"align"+d,g),"data-block-animation":b};return Object(o.createElement)(_m,null,Object(o.createElement)(cd,this.props),Object(o.createElement)(Dm,this.props),Object(o.createElement)("div",h,this.props.styles,Object(o.createElement)(Mm,C()({},this.props,{images:l})),(!m||r)&&Object(o.createElement)(Wm,{addToGallery:m,isAppender:m,icon:Object(o.createElement)(Um,{icon:s.a.edit}),labels:{title:Im("Logos Grid","blockspare"),instructions:Im("Upload an image file, pick one from your media library, or add one with a URL","blockspare")},multiple:!0,accept:"image/*",allowedTypes:["image"],value:m?l:void 0,onError:t.createErrorNotice,notices:n,onSelect:this.onSelectImages,className:y()({"is-appender":m})})))}});const{Component:Vm}=wp.element,{RichText:$m}=wp.blockEditor,{compose:Xm}=wp.compose;var Ym=Xm(W,I(Rm))(class extends Vm{render(){const{attributes:{captions:e,images:t,linkTo:a,rel:n,target:r,gutter:l,columns:i,animation:s,blockHoverEffect:c,imageHoverEffect:p},className:b}=this.props;return Object(o.createElement)("div",{className:y()("blockspare-blocks blockspare-logos-wrapper","has-gap-"+l,"has-colums-"+i,b,s?"blockspare-block-animation":"",c,p),"blockspare-animation":s},this.props.styles,Object(o.createElement)("div",{className:"blockspare-logo-grid-main"},Object(o.createElement)("ul",{className:"blockspare-logo-wrap"},t.map(t=>{let l;switch(a){case"media":l=t.url;break;case"attachment":l=t.link}t.imgLink&&(l=t.imgLink);const i=Object(o.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id,"data-imglink":t.imgLink,"data-link":t.link,className:t.id?"wp-image-"+t.id:null});return Object(o.createElement)("li",{key:t.id||t.url,className:"blockspare-gallery-item"},Object(o.createElement)("figure",{className:"blockspare-gallery-figure blockspare-hover-item"},l?Object(o.createElement)("a",{href:l,target:r,rel:n},i):i,e&&t.caption&&t.caption.length>0&&Object(o.createElement)($m.Content,{tagName:"figcaption",className:"blockspare-gallery-caption",value:t.caption})))}))))}});const{Component:Jm}=wp.element,{RichText:Km}=wp.blockEditor,{compose:Zm}=wp.compose;var Qm=Zm(W,I(Rm))(class extends Jm{render(){const{attributes:{captions:e,images:t,linkTo:a,rel:n,target:r,gutter:l,columns:i,animation:s,blockHoverEffect:c},className:p}=this.props;return Object(o.createElement)("div",{className:y()("blockspare-blocks blockspare-logos-wrapper","has-gap-"+l,"has-colums-"+i,p,s?"blockspare-block-animation":"",c),"blockspare-animation":s},this.props.styles,Object(o.createElement)("div",{className:"blockspare-logo-grid-main"},Object(o.createElement)("ul",{className:"blockspare-logo-wrap"},t.map(t=>{let l;switch(a){case"media":l=t.url;break;case"attachment":l=t.link}t.imgLink&&(l=t.imgLink);const i=Object(o.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id,"data-imglink":t.imgLink,"data-link":t.link,className:t.id?`wp-image-${t.id} blockspare-hover-item`:null});return Object(o.createElement)("li",{key:t.id||t.url,className:"blockspare-gallery-item"},Object(o.createElement)("figure",{className:"blockspare-gallery-figure"},l?Object(o.createElement)("a",{href:l,target:r,rel:n},i):i,e&&t.caption&&t.caption.length>0&&Object(o.createElement)(Km.Content,{tagName:"figcaption",className:"blockspare-gallery-caption",value:t.caption})))}))))}}),ef=[{attributes:{...Sm.attributes},save:e=>Object(o.createElement)(Qm,e)}];const tf=blockspare_globals,{name:af,category:of,attributes:nf}=Sm,{__:rf}=wp.i18n,{registerBlockType:lf}=wp.blocks;function sf(e,t){const{postType:a,taxType:o,offset:n,postTax:r,excludeTax:l,allowSticky:i,enablePagination:s,categories:c,tags:p,postsToShow:b,orderBy:u,order:d,postIds:g,trendingOrder:m,trendingOrderBy:f,trendigActiveTab:h}=e;let k=0;if(wp.data.select("core/editor")){const{getCurrentPostId:e}=wp.data.select("core/editor");k=e()}null===k&&(k=0);const y={query:t,per_page:b,type:a,offset:!0!==s?n:0,post_tax:!!r,tax_type:o||"",post_id:k};if(c&&c.length){const e=c.map(e=>{let{value:t}=e;return t});y.category=e.join(",")}if(p&&p.length){const e=p.map(e=>{let{value:t}=e;return t});y.tags=e.join(",")}switch(u&&(y.order_by=u),"query"===t&&d&&(y.order=d),"latest"===h&&(y.per_page=4,y.type="post",y.order=m,y.order_by=f),"popular"===h&&(y.per_page=4,y.type="post",y.order="desc",y.order_by="comment_count"),t){case"individual":g&&g.length&&(y.include=g,y.per_page=g.length)}return y}lf(af,{
/* translators: block name */
title:rf("Logo Grid","blockspare"),
/* translators: block description */
description:rf("Add logos, badges, or certifications to build credibility.","blockspare"),category:of,icon:s.a.logobadge,attributes:nf,keywords:[rf("block","blockspare"),rf("logo","blockspare"),rf("brand","blockspare"),rf("clients","blockspare"),rf("grid","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{align:"full",images:[{url:tf.img,width:420},{url:tf.img,width:420},{url:tf.img,width:420},{url:tf.img,width:420}]}},edit:qm,save:Ym,deprecated:ef}),a(374);const{Fragment:cf}=wp.element;var pf=function(e){const{postType:t,postTaxonomies:a,postCategories:n,taxType:r,tags:l}=e;return Object(o.createElement)(cf,null,a&&"category"!==r&&Object(o.createElement)(cf,null,a.map((e,t,a)=>a.length-1===t?Object(o.createElement)("a",{key:e.term_id,className:"category tag",href:"#category"},e.name):Object(o.createElement)(cf,{key:e.term_id},Object(o.createElement)("a",{key:e.name,className:"category tag",href:"#category"},e.name)))),n&&"category"===r&&Object(o.createElement)(cf,null,n.map((e,t,a)=>a.length-1===t?Object(o.createElement)("a",{key:e.id,className:"category tag",href:"#category"},e.name):Object(o.createElement)(cf,{key:e.id},Object(o.createElement)("a",{key:e.id,className:"category tag",href:"#category"},e.name)))),n&&""===r&&Object(o.createElement)(cf,null,n.map((e,t,a)=>a.length-1===t?Object(o.createElement)("a",{key:e.id,className:"category tag",href:"#category"},e.name):Object(o.createElement)(cf,{key:e.id},Object(o.createElement)("a",{key:e.id,className:"category tag",href:"#category"},e.name)))))},bf=a(24),uf=a.n(bf),df=a(11),gf=a.n(df),mf=a.p+"images/blockspare-posts-block-grid-layout-1.ba83ea4b.png",ff=a.p+"images/blockspare-posts-block-grid-layout-2.a0f11ac5.png",hf=a.p+"images/blockspare-posts-block-grid-layout-3.c4652c2b.png",kf=a.p+"images/blockspare-posts-block-grid-layout-4.2c93b2bb.png",yf=a.p+"images/blockspare-posts-block-content-order-layout-1.9693c1ba.png",vf=a.p+"images/blockspare-posts-block-content-order-layout-2.3aadf2f1.png";const{__:Cf}=wp.i18n,{Fragment:Of}=wp.element,{RangeControl:Ef}=wp.components;var xf=e=>{const{gutterSpace:t,onChangegutterSpace:a=(()=>{})}=e;return Object(o.createElement)(Of,null,Object(o.createElement)(Ef,{label:Cf("Gutter Space","blockspare"),value:t,min:0,step:5,max:50,onChange:a}))},wf=a.p+"images/category-fill.a70e6158.png",Sf=a.p+"images/category-border.a30e85ac.png",Tf=a.p+"images/category-none.4af47de7.png";const{__:jf}=wp.i18n,{applyFilters:Ff}=wp.hooks,{Component:Mf,Fragment:Bf}=wp.element,{PanelBody:Lf,RangeControl:zf}=wp.components;var Nf=class extends Mf{render(){const{attributes:{categoryLayoutOption:e,categoryBorderWidth:t,categoryBorderRadius:a,colorType:n},display:r=!1,setAttributes:l}=this.props;return Object(o.createElement)(Bf,null,r&&Object(o.createElement)(Lf,{title:jf("Category Style","blockspare"),initialOpen:!1},Object(o.createElement)(Qi,{initialOpen:!0,selected:e,paneltitle:"Category layout",options:Ff("blockspare-posts-block.cta.edit.layouts",[{label:jf("Solid","blockspare"),value:"solid",image:wf},{label:jf("Border","blockspare"),value:"border",image:Sf},{label:jf("Underline","blockspare"),value:"underline",image:Sf},{label:jf("None","blockspare"),value:"none",image:Tf}]),onChange:e=>l({categoryLayoutOption:e})}),Object(o.createElement)("div",{style:{marginTop:"24px"}},r&&("solid"===e||"border"===e)&&Object(o.createElement)(zf,{label:jf("Category Border Radius","blockspare"),value:a,onChange:e=>l({categoryBorderRadius:e}),min:1,step:1,max:100}),r&&("border"===e||"underline"===e)&&Object(o.createElement)(zf,{label:jf("Category Border Width","blockspare"),value:t,onChange:e=>l({categoryBorderWidth:e}),min:1,step:1,max:5}))))}};const{__:Pf}=wp.i18n,{Component:Df,Fragment:Rf}=wp.element,{PanelColorSettings:Af}=wp.blockEditor,{SelectControl:_f}=wp.components;var If=class extends Df{render(){const{display:e=!1,colorType:t,onChangeColorType:a,categoryLayoutOption:n,color:r,onChangeColor:l,backgroundColor:i,onChangeBackgroundColor:s,borderColor:c,onChangeBorderColor:p,secondColor:b,onChangeSecondColor:u,secondBackgroundColor:d,onChangeSecondBackgroundColor:g,secondBorderColor:m,onChangeSecondBorderColor:f,thirdColor:h,onChangeThirdColor:k,thirdBackgroundColor:y,onChangeThirdBackgroundColor:v,thirdBorderColor:C,onChangeThirdBorderColor:O}=this.props,E=(Pf("Single","blockspare"),Pf("Multiple","blockspare"),{value:r,onChange:l,label:Pf("Text Color","blockspare")}),x={value:i,onChange:s,label:Pf("Background Color","blockspare")},w={value:c,onChange:p,label:Pf("Border Color","blockspare")},S={value:r,onChange:l,label:Pf("First Category Text Color","blockspare")},T={value:i,onChange:s,label:Pf("First Category Background Color","blockspare")},j={value:c,onChange:p,label:Pf("First Category Border Color","blockspare")},F={value:b,onChange:u,label:Pf("Second Category Text Color","blockspare")},M={value:d,onChange:g,label:Pf("Second Category Background Color","blockspare")},B={value:m,onChange:f,label:Pf("Second Category Border Color","blockspare")},L={value:h,onChange:k,label:Pf("Third Category Text Color","blockspare")},z={value:y,onChange:v,label:Pf("Third Category Background Color","blockspare")},N={value:C,onChange:O,label:Pf("Third Category Border Color","blockspare")},P="bs-single-color"===t?[E,"solid"===n?x:"","border"===n||"underline"===n?w:""]:[S,"solid"===n?T:"","border"===n||"underline"===n?j:"",F,"solid"===n?M:"","border"===n||"underline"===n?B:"",L,"solid"===n?z:"","border"===n||"underline"===n?N:""];return Object(o.createElement)(Rf,null,e&&Object(o.createElement)(Rf,null,Object(o.createElement)(Af,{title:Pf("Category Color","blockspare"),initialOpen:!1,colorSettings:P})))}};const{__:Hf}=wp.i18n,{Component:Gf,Fragment:Wf}=wp.element,{PanelBody:Uf}=wp.components;var qf=class extends Gf{render(){const{attributes:{categoryMarginTop:e,categoryMarginBottom:t,categoryMarginLeft:a,categoryMarginRight:n},display:r=!1,setAttributes:l}=this.props;return Object(o.createElement)(Wf,null,r&&Object(o.createElement)(Uf,{title:Hf("Category Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:e,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>l({categoryMarginTop:e}),marginEnableBottom:!0,marginBottom:t,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>l({categoryMarginBottom:e}),marginEnableLeft:!0,marginLeft:a,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>l({categoryMarginLeft:e}),marginEnableRight:!0,marginRight:n,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>l({categoryMarginRight:e})})))}};const{__:Vf}=wp.i18n,{Component:$f,Fragment:Xf}=wp.element;var Yf=class extends $f{render(){const{attributes:{postCategoryFontSize:e,postCategoryFontFamily:t,postCategoryFontWeight:a,postCategoryFontSubset:n,postCategoryFontSizeType:r,postCategoryFontSizeMobile:l,postCategoryFontSizeTablet:i,postCategoryLoadGoogleFonts:s},display:c=!1,attributes:p,setAttributes:b}=this.props;return Object(o.createElement)(Xf,null,c&&Object(o.createElement)(Oo,{label:Vf("Category Fonts"),attributes:p,setAttributes:b,loadGoogleFonts:{value:s,label:Vf("postCategoryLoadGoogleFonts")},fontFamily:{value:t,label:Vf("postCategoryFontFamily")},fontWeight:{value:a,label:Vf("postCategoryFontWeight")},fontSubset:{value:n,label:Vf("postCategoryFontSubset")},fontSizeType:{value:r,label:Vf("postCategoryFontSizeType")},fontSize:{value:e,label:Vf("postCategoryFontSize")},fontSizeMobile:{value:l,label:Vf("postCategoryFontSizeMobile")},fontSizeTablet:{value:i,label:Vf("postCategoryFontSizeTablet")},disableLineHeight:!0}))}};const{Component:Jf}=wp.element,{__:Kf}=wp.i18n,{applyFilters:Zf}=wp.hooks,{InspectorControls:Qf,PanelColorSettings:eh}=wp.blockEditor,{PanelBody:th,RangeControl:ah,SelectControl:oh,TextControl:nh,ToggleControl:rh,Toolbar:lh,ToolbarGroup:ih,ToolbarButton:sh,Flex:ch,FlexItem:ph}=wp.components,{addQueryArgs:bh}=wp.url,{apiFetch:uh}=wp,{postTypes:dh}=blockspare_globals;class gh extends Jf{imageSizeSelect(){var e,t,a;const o=null===(e=wp)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.select("core/editor"))||void 0===a?void 0:a.getEditorSettings();return an()(io()(null==o?void 0:o.imageSizes,e=>{let{name:t,slug:a}=e;return{value:a,label:t}}))}render(){const{attributes:{order:e,orderBy:t,categories:a,allcategories:n,tags:r,postsToShow:l,postType:i,taxType:s,postTax:c,displayPostTitle:p,PostTitleLength:b,titleOnHover:u,titleOnHoverColor:d,displayPostCategory:g,displayPostAuthor:m,displayPostDate:f,displayPostExcerpt:h,displayPostLink:k,excerptLength:y,readMoreText:v,grid:O="blockspare-posts-block-grid-layout-1",columns:E,backGroundColor:x,marginTop:w,marginBottom:S,marginLeft:T,marginRight:j,imageSize:F,offset:M,contentOrder:B,postTitleColor:L,postTitleFontSize:z,linkColor:N,generalColor:P,borderRadius:D,enableBoxShadow:R,xOffset:A,yOffset:I,blur:H,spread:G,shadowColor:W,titleLoadGoogleFonts:U,titleFontFamily:q,titleFontWeight:V,titleFontSubset:$,titleFontSizeType:X,titleFontSizeMobile:Y,titleFontSizeTablet:J,descriptionFontSize:Z,descriptionFontFamily:Q,descriptionFontWeight:ee,descriptionFontSubset:te,descriptionFontSizeType:ae,descriptionFontSizeMobile:oe,descriptionFontSizeTablet:re,descriptionLoadGoogleFonts:le,contentPaddingTop:ie,contentPaddingLeft:se,contentPaddingBottom:pe,contentPaddingRight:be,titleMarginTop:ue,titleMarginBottom:de,titleMarginLeft:ge,titleMarginRight:me,metaMarginTop:fe,metaMarginBottom:he,metaMarginLeft:ke,metaMarginRight:ye,exceprtMarginTop:ve,exceprtMarginBottom:Ce,exceprtMarginLeft:Oe,exceprtMarginRight:Ee,moreLinkMarginTop:xe,moreLinkMarginBottom:we,moreLinkMarginLeft:Se,moreLinkMarginRight:Te,authorIcon:je,dateIcon:Fe,enableComment:Me,commentIcon:Be,enableEqualHeight:Le,enablePagination:ze,loadMoreText:Ne,loadMoreStyle:Pe,loadMoreTextColor:De,loadMoreSolidTextColor:Re,loadMoreTextHoverColor:Ae,loadMoreSolidTextHoverColor:_e,loadMoreTextBgColor:Ie,loadMoreTextBgHoverColor:He,loadMoreAlignment:Ge,loadMoreColor:We,enableFeatureImage:Ue,gutterSpace:qe,postTitleLineHeight:Ve,postMetaFontSize:$e,postMetaFontFamily:Xe,postMetaFontWeight:Ye,postMetaFontSubset:Je,postMetaFontSizeType:Ke,postMetaFontSizeMobile:Ze,postMetaFontSizeTablet:Qe,postMetaLoadGoogleFonts:et,categoryLayoutOption:tt,categoryTextColor:at,categoryBackgroundColor:ot,categoryBorderColor:nt,secondCategoryTextColor:rt,secondCategoryBackgroundColor:lt,secondCategoryBorderColor:it,thirdCategoryTextColor:st,thirdCategoryBackgroundColor:ct,thirdCategoryBorderColor:pt,colorType:bt},taxList:ut,taxOptions:dt,taxFilterOptions:gt,attributes:mt,latestPosts:ft,setAttributes:ht}=this.props,kt=(Kf("Hover","blockspare"),Kf("Border","blockspare"),Kf("None","blockspare"),[{value:"",label:Kf("None","blockspare")},{value:"bs-loadmore-border",label:Kf("Border","blockspare")},{value:"bs-loadmore-solid",label:Kf("Solid","blockspare")}]),yt=(Array.isArray(ft)&&ft.length,this.imageSizeSelect()),vt="post"===i,Ct={value:P,onChange:e=>ht({generalColor:e}),label:Kf("General Color","blockspare")},Ot={value:N,onChange:e=>ht({linkColor:e}),label:Kf("Link Color","blockspare")},Et={value:L,onChange:e=>ht({postTitleColor:e}),label:Kf("Title Color","blockspare")},xt={value:d,onChange:e=>ht({titleOnHoverColor:e}),label:Kf("Title Hover Color","blockspare")};let wt=!1;1!=m&&1!=f&&1!=Me||(wt=!0);const St=e=>ht({loadMoreAlignment:e});return Object(o.createElement)(Qf,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(th,{title:Kf("Layout Options","blockspare"),className:vt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Qi,{initialOpen:!0,selected:O,paneltitle:_("Layouts","blockspare"),options:Zf("blockspare-posts-block.cta.edit.layouts",[{label:Kf("Grid Style 1","blockspare"),value:"blockspare-posts-block-grid-layout-1",image:mf},{label:Kf("Grid Style 2","blockspare"),value:"blockspare-posts-block-grid-layout-2",image:ff},{label:Kf("Grid Style 3","blockspare"),value:"blockspare-posts-block-grid-layout-3",image:hf},{label:Kf("Grid Style 4","blockspare"),value:"blockspare-posts-block-grid-layout-4",image:kf}]),onChange:e=>ht({grid:e})}),Object(o.createElement)(Qi,{initialOpen:!1,selected:B,paneltitle:"Content Order",options:Zf("blockspare-posts-block.cta.edit.layouts",[{label:Kf("Style 1","blockspare"),value:"content-order-1",image:yf},{label:Kf("Style 2","blockspare"),value:"content-order-2",image:vf}]),onChange:e=>ht({contentOrder:e})})),Object(o.createElement)(th,{title:Kf("Post Settings","blockspare"),className:vt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(oh,{label:Kf("Select Posts Type:","blockspare"),options:dh,value:i,onChange:e=>{ht({postType:e}),ht({taxType:""}),ht({categories:[]})}}),Object(o.createElement)(oh,{label:Kf("Order by","blockspare"),options:[{label:Kf("Newest to Oldest","blockspare"),value:"date/desc"},{label:Kf("Oldest to Newest","blockspare"),value:"date/asc"},{
/* translators: label for ordering posts by title in ascending order */
label:Kf("A → Z","blockspare"),value:"title/asc"},{
/* translators: label for ordering posts by title in descending order */
label:Kf("Z → A","blockspare"),value:"title/desc"}],value:`${t}/${e}`,onChange:a=>{const[o,n]=a.split("/");n!==e&&ht({order:n}),o!==t&&ht({orderBy:o})}}),Object(o.createElement)(yn,{postType:i,taxList:ut,taxOptions:dt,taxFilterOptions:gt,setAttributes:ht,taxType:s,categories:a,postTax:c,tags:r}),Object(o.createElement)(ah,{label:Kf("Number of posts","blockspare"),value:l,onChange:e=>ht({postsToShow:e}),min:1,max:50}),Object(o.createElement)(rh,{label:Kf("Enable Pagination","blockspare"),checked:ze,onChange:()=>this.props.setAttributes({enablePagination:!ze})}),ze&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(nh,{label:Kf("Load More Text","blockspare"),type:"text",value:Ne,onChange:e=>this.props.setAttributes({loadMoreText:e})}),Object(o.createElement)(oh,{label:Kf("Fill","blockspare"),value:Pe,options:kt.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>ht({loadMoreStyle:e})}),Object(o.createElement)(ch,null,Object(o.createElement)(ph,null,Object(o.createElement)("label",null,"Alignment")),Object(o.createElement)(ph,null,Object(o.createElement)(lh,{label:"Options",id:"options-toolbar"},Object(o.createElement)(ih,{style:{margin:0}},Object(o.createElement)(sh,{icon:"editor-alignleft",label:Kf("Left","blockspare"),onClick:()=>St("left"),isPressed:"left"===Ge})),Object(o.createElement)(ih,{style:{margin:0}},Object(o.createElement)(sh,{icon:"editor-aligncenter",label:Kf("Center","blockspare"),onClick:()=>St("center"),isPressed:"center"===Ge})),Object(o.createElement)(ih,{style:{margin:0}},Object(o.createElement)(sh,{icon:"editor-alignright",label:Kf("Right","blockspare"),onClick:()=>St("right"),isPressed:"right"===Ge})))))),!1===ze&&Object(o.createElement)(ah,{label:Kf("Number of items to offset","blockspare"),value:M,onChange:e=>ht({offset:e}),min:0,max:20})),Object(o.createElement)(th,{title:Kf("Block Settings","blockspare"),className:vt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(rh,{label:Kf("Enable feature Image","blockspare"),checked:Ue,onChange:()=>this.props.setAttributes({enableFeatureImage:!Ue})}),Ue&&Object(o.createElement)(oh,{label:Kf("Image Size","blockspare"),value:(()=>{for(let e=0;e<yt.length;e++)if(yt[e].value===F)return F;return"full"})(),options:yt,onChange:e=>this.props.setAttributes({imageSize:e})}),Object(o.createElement)(ah,{label:Kf("Columns","blockspare"),value:E,onChange:e=>ht({columns:e}),min:1,max:4}),Object(o.createElement)(rh,{label:Kf("Enable Equal Height","blockspare"),checked:Le,onChange:()=>this.props.setAttributes({enableEqualHeight:!Le})}),Object(o.createElement)(rh,{label:Kf("Display Category","blockspare"),checked:g,onChange:()=>this.props.setAttributes({displayPostCategory:!g})}),Object(o.createElement)(rh,{label:Kf("Display Author","blockspare"),checked:m,onChange:()=>this.props.setAttributes({displayPostAuthor:!m})}),Object(o.createElement)(rh,{label:Kf("Display Date","blockspare"),checked:f,onChange:()=>this.props.setAttributes({displayPostDate:!f})}),Object(o.createElement)(rh,{label:Kf("Display Comment Count","blockspare"),checked:Me,onChange:()=>this.props.setAttributes({enableComment:!Me})}),Object(o.createElement)(rh,{label:Kf("Display Excerpt","blockspare"),checked:h,onChange:()=>this.props.setAttributes({displayPostExcerpt:!h})}),h&&Object(o.createElement)(ah,{label:Kf("Excerpt Length","blockspare"),value:y,onChange:e=>ht({excerptLength:e}),min:0,max:150}),h&&Object(o.createElement)(rh,{label:Kf("Display Read More Link","blockspare"),checked:k,onChange:()=>this.props.setAttributes({displayPostLink:!k})}),h&&k&&Object(o.createElement)(nh,{label:Kf("Customize Continue Reading Text","blockspare"),type:"text",value:v,onChange:e=>this.props.setAttributes({readMoreText:e})}),Object(o.createElement)(ah,{label:Kf("Content Border Radius","blockspare"),value:D,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:50,step:1}),Object(o.createElement)(xf,{gutterSpace:qe,onChangegutterSpace:e=>ht({gutterSpace:e})}),Object(o.createElement)(rh,{label:Kf("Enable Box Shadow","blockspare"),checked:R,onChange:()=>this.props.setAttributes({enableBoxShadow:!R})}),R&&Object(o.createElement)(ji,{enableShadowColor:!1,enableOptions:!0,shadowColor:W,onChangeShadowColor:e=>ht({shadowColor:e}),xOffset:A,onChangeXOffset:e=>ht({xOffset:e}),yOffset:I,onChangeYOffset:e=>ht({yOffset:e}),blur:H,onChangeBlur:e=>ht({blur:e}),spread:G,onChangeSpread:e=>ht({spread:e})})),Object(o.createElement)(Nf,C()({display:g},this.props)),Object(o.createElement)(th,{title:Kf("Typography Settings","blockspare"),initialOpen:!1},p&&Object(o.createElement)(Oo,{label:Kf("Title Fonts"),attributes:mt,setAttributes:ht,loadGoogleFonts:{value:U,label:Kf("titleLoadGoogleFonts")},fontFamily:{value:q,label:Kf("titleFontFamily")},fontWeight:{value:V,label:Kf("titleFontWeight")},fontSubset:{value:$,label:Kf("titleFontSubset")},fontSizeType:{value:X,label:Kf("titleFontSizeType")},fontSize:{value:z,label:Kf("postTitleFontSize")},fontSizeMobile:{value:Y,label:Kf("titleFontSizeMobile")},fontSizeTablet:{value:J,label:Kf("titleFontSizeTablet")},disableLineHeight:!0}),Object(o.createElement)(Yf,C()({display:g},this.props)),(m||f||Me)&&Object(o.createElement)(Oo,{label:Kf("Meta Fonts"),attributes:mt,setAttributes:ht,loadGoogleFonts:{value:et,label:Kf("postMetaLoadGoogleFonts")},fontFamily:{value:Xe,label:Kf("postMetaFontFamily")},fontWeight:{value:Ye,label:Kf("postMetaFontWeight")},fontSubset:{value:Je,label:Kf("postMetaFontSubset")},fontSizeType:{value:Ke,label:Kf("postMetaFontSizeType")},fontSize:{value:$e,label:Kf("postMetaFontSize")},fontSizeMobile:{value:Ze,label:Kf("postMetaFontSizeMobile")},fontSizeTablet:{value:Qe,label:Kf("postMetaFontSizeTablet")},disableLineHeight:!0}),h&&Object(o.createElement)(Oo,{label:Kf("Description Fonts"),attributes:mt,setAttributes:ht,loadGoogleFonts:{value:le,label:Kf("descriptionLoadGoogleFonts")},fontFamily:{value:Q,label:Kf("descriptionFontFamily")},fontWeight:{value:ee,label:Kf("descriptionFontWeight")},fontSubset:{value:te,label:Kf("descriptionFontSubset")},fontSizeType:{value:ae,label:Kf("descriptionFontSizeType")},fontSize:{value:Z,label:Kf("descriptionFontSize")},fontSizeMobile:{value:oe,label:Kf("descriptionFontSizeMobile")},fontSizeTablet:{value:re,label:Kf("descriptionFontSizeTablet")},disableLineHeight:!0}),p&&Object(o.createElement)(ah,{label:Kf("Title Line Height","blockspare"),value:Ve,onChange:e=>ht({postTitleLineHeight:e}),min:0,step:.1,max:2})),Object(o.createElement)(th,{title:Kf("Color Settings","blockspare"),className:vt?null:"blockspare-posts-block-hide-query",initialOpen:!1},(p||m||k||m||f||Me||h)&&Object(o.createElement)(eh,{title:Kf("Colors","blockspare"),initialOpen:!0,colorSettings:[p?Et:"",p&&""!==u?xt:"",m||k?Ot:"",f||Me||h?Ct:""]}),Object(o.createElement)(If,{display:g,colorType:bt,onChangeColorType:e=>ht({colorType:e}),categoryLayoutOption:tt,color:at,onChangeColor:e=>ht({categoryTextColor:e}),backgroundColor:ot,onChangeBackgroundColor:e=>ht({categoryBackgroundColor:e}),borderColor:nt,onChangeBorderColor:e=>ht({categoryBorderColor:e}),secondColor:rt,onChangeSecondColor:e=>ht({secondCategoryTextColor:e}),secondBackgroundColor:lt,onChangeSecondBackgroundColor:e=>ht({secondCategoryBackgroundColor:e}),secondBorderColor:it,onChangeSecondBorderColor:e=>ht({secondCategoryBorderColor:e}),thirdColor:st,onChangeThirdColor:e=>ht({thirdCategoryTextColor:e}),thirdBackgroundColor:ct,onChangeThirdBackgroundColor:e=>ht({thirdCategoryBackgroundColor:e}),thirdBorderColor:pt,onChangeThirdBorderColor:e=>ht({thirdCategoryBorderColor:e})}),ze&&Object(o.createElement)(eh,{title:Kf("Load More Color","blockspare"),initialOpen:!1,colorSettings:[{value:"bs-loadmore-solid"===Pe?Re:De,onChange:"bs-loadmore-solid"===Pe?e=>ht({loadMoreSolidTextColor:e}):e=>ht({loadMoreTextColor:e}),label:Kf("bs-loadmore-border"===Pe?"Text/Border Color":"Text Color","blockspare")},{value:"bs-loadmore-solid"===Pe?_e:Ae,onChange:"bs-loadmore-solid"===Pe?e=>ht({loadMoreSolidTextHoverColor:e}):e=>ht({loadMoreTextHoverColor:e}),label:Kf("bs-loadmore-border"===Pe?"Text/Border Hover Color":"Text Hover Color","blockspare")},"bs-loadmore-solid"===Pe&&{value:Ie,onChange:e=>ht({loadMoreTextBgColor:e}),label:Kf("Background Color","blockspare")},"bs-loadmore-solid"===Pe&&{value:He,onChange:e=>ht({loadMoreTextBgHoverColor:e}),label:Kf("Background Hover Color","blockspare")},{value:We,onChange:e=>ht({loadMoreColor:e}),label:Kf("Loader Color","blockspare")}]}),"blockspare-posts-block-grid-layout-6"!==O&&"blockspare-posts-block-grid-layout-5"!==O&&"blockspare-posts-block-grid-layout-4"!==O&&Object(o.createElement)(eh,{title:Kf("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:x,onChange:e=>ht({backGroundColor:e}),label:Kf("Background Color","blockspare")}]})),1==wt&&Object(o.createElement)(th,{title:Kf("Icon Settings"),initialOpen:!1},m&&Object(o.createElement)(th,{title:Kf("Author Icon"),initialOpen:!1},Object(o.createElement)(K,{name:je,onChangeName:e=>ht({authorIcon:e})})),f&&Object(o.createElement)(th,{title:Kf("Date Icon"),initialOpen:!1},Object(o.createElement)(K,{name:Fe,onChangeName:e=>ht({dateIcon:e})})),Me&&Object(o.createElement)(th,{title:Kf("Comment Count Icon"),initialOpen:!1},Object(o.createElement)(K,{name:Be,onChangeName:e=>ht({commentIcon:e})}))),Object(o.createElement)(th,{title:Kf("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(th,{title:Kf("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props)),Object(o.createElement)(th,{title:Kf("Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(th,{title:Kf("Block Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:w,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>ht({marginTop:e}),marginEnableBottom:!0,marginBottom:S,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>ht({marginBottom:e}),marginEnableLeft:!0,marginLeft:T,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>ht({marginLeft:e}),marginEnableRight:!0,marginRight:j,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>ht({marginRight:e})})),Object(o.createElement)(th,{title:Kf("Content Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(ah,{label:Kf("Padding Top","blockspare"),value:ie,onChange:e=>ht({contentPaddingTop:e}),min:0,step:1,max:300}),Object(o.createElement)(ah,{label:Kf("Padding Right","blockspare"),value:be,onChange:e=>ht({contentPaddingRight:e}),min:0,step:1,max:300}),Object(o.createElement)(ah,{label:Kf("Padding Bottom","blockspare"),value:pe,onChange:e=>ht({contentPaddingBottom:e}),min:0,step:1,max:300}),Object(o.createElement)(ah,{label:Kf("Padding Left","blockspare"),value:se,onChange:e=>ht({contentPaddingLeft:e}),min:0,step:1,max:300})),p&&Object(o.createElement)(th,{title:Kf("Title Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:ue,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>ht({titleMarginTop:e}),marginEnableBottom:!0,marginBottom:de,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>ht({titleMarginBottom:e}),marginEnableLeft:!0,marginLeft:ge,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>ht({titleMarginLeft:e}),marginEnableRight:!0,marginRight:me,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>ht({titleMarginRight:e})})),Object(o.createElement)(qf,C()({display:g},this.props)),(f||m||Me)&&Object(o.createElement)(th,{title:Kf("Meta Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:fe,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>ht({metaMarginTop:e}),marginEnableBottom:!0,marginBottom:he,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>ht({metaMarginBottom:e}),marginEnableLeft:!0,marginLeft:ke,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>ht({metaMarginLeft:e}),marginEnableRight:!0,marginRight:ye,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>ht({metaMarginRight:e})})),h&&Object(o.createElement)(th,{title:Kf("Excerpt Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:ve,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>ht({exceprtMarginTop:e}),marginEnableBottom:!0,marginBottom:Ce,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>ht({exceprtMarginBottom:e}),marginEnableLeft:!0,marginLeft:Oe,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>ht({exceprtMarginLeft:e}),marginEnableRight:!0,marginRight:Ee,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>ht({exceprtMarginRight:e})})),k&&Object(o.createElement)(th,{title:Kf("Read More Link Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:xe,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>ht({moreLinkMarginTop:e}),marginEnableBottom:!0,marginBottom:we,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>ht({moreLinkMarginBottom:e}),marginEnableLeft:!0,marginLeft:Se,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>ht({moreLinkMarginLeft:e}),marginEnableRight:!0,marginRight:Te,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>ht({moreLinkMarginRight:e})})))))}}var mh=(e,t,a,o,n,r,l,i,s,c,p)=>{const{categoryLayoutOption:b,categoryBorderWidth:u,categoryBorderRadius:d,colorType:g,categoryMarginTop:m,categoryMarginBottom:f,categoryMarginLeft:h,categoryMarginRight:k,postCategoryFontSize:y,postCategoryFontSizeType:v,postCategoryFontFamily:C,postCategoryFontWeight:O,postCategoryFontSizeTablet:E,postCategoryFontSizeMobile:x}=t;"border"!==b&&"solid"!==b||e.push({".blockspare-posts-block-post-category a":{borderRadius:d+"px"}}),"border"===b&&e.push({".blockspare-posts-block-post-category a":{borderStyle:"solid",borderWidth:u?u+"px":"1px"}}),"underline"===b&&e.push({".blockspare-posts-block-post-category a":{borderBottomStyle:"solid",borderBottomWidth:u?u+"px":"1px",paddingLeft:"0",paddingRight:"0"}}),"bs-single-color"===g?(e.push({".blockspare-posts-block-post-category a":{color:a?a+" !important":"#fff"}}),"solid"===b&&e.push({".blockspare-posts-block-post-category a":{backgroundColor:o?o+" !important":"#222222"}}),"border"!==b&&"underline"!==b||e.push({".blockspare-posts-block-post-category a":{borderColor:n}})):(e.push({".blockspare-posts-block-post-category a:nth-child(3n + 1)":{color:a?a+" !important":"#fff"},".blockspare-posts-block-post-category a:nth-child(3n + 2)":{color:r?r+" !important":"#fff"},".blockspare-posts-block-post-category a:nth-child(3n)":{color:s?s+" !important":"#fff"}}),"solid"===b&&e.push({".blockspare-posts-block-post-category a:nth-child(3n + 1)":{backgroundColor:o?o+" !important":"#222222"},".blockspare-posts-block-post-category a:nth-child(3n + 2)":{backgroundColor:l?l+" !important":"#d60000"},".blockspare-posts-block-post-category a:nth-child(3n)":{backgroundColor:c?c+" !important":"#f99500"}}),"border"!==b&&"underline"!==b||e.push({".blockspare-posts-block-post-category a:nth-child(3n + 1)":{borderColor:n},".blockspare-posts-block-post-category a:nth-child(3n + 2)":{borderColor:i},".blockspare-posts-block-post-category a:nth-child(3n)":{borderColor:p}})),e.push({".blockspare-posts-block-post-category":{marginTop:m?m+"px":"0px",marginBottom:f?f+"px":"0px",marginLeft:h?h+"px":"0px",marginRight:k?k+"px":"0px"},".blockspare-posts-block-post-category a":{fontSize:y+v,...Ro(C),...Ao(O)},tablet:{".blockspare-posts-block-post-category a":{fontSize:E+v}},mobile:{".blockspare-posts-block-post-category a":{fontSize:x+v}}})};const{decodeEntities:fh}=wp.htmlEntities,{Component:hh,Fragment:kh}=wp.element,{__:yh}=wp.i18n,{compose:vh}=wp.compose,{apiFetch:Ch}=wp,{addQueryArgs:Oh}=wp.url,{taxonomies:Eh,postQueryEndpoint:xh}=blockspare_globals,{withSelect:wh}=wp.data,{Placeholder:Sh,Spinner:Th}=wp.components;var jh=vh([wh((e,t)=>{const{postsToShow:a,order:o,orderBy:n,categories:r,tags:l,postTax:i,postType:s,taxType:c}=t.attributes,{getEntityRecords:p}=e("core"),b=s||"post",u=Eh[b]&&Eh[b].taxonomy?Eh[b].taxonomy:[];let d=[],g="";return("post"!==b||i)&&void 0!==Eh[b]&&c&&(Eh[b].taxonomy&&Eh[b].taxonomy[c]&&(Eh[b].taxonomy&&0==Eh[b].taxonomy[c].rest_base||Eh[b].taxonomy&&null==Eh[b].taxonomy[c].rest_base?Eh[b].taxonomy&&Eh[b].taxonomy[c].name:Eh[b].taxonomy&&Eh[b].taxonomy[c].rest_base),Eh[b].terms&&Eh[b].terms[c]&&(d=Eh[b].terms[c])),{taxList:u,taxOptions:d}}),W,I(e=>{const{marginTop:t,marginBottom:a,marginLeft:o,marginRight:n,linkColor:r,postTitleColor:l,generalColor:i,grid:s,titleOnHover:c,titleOnHoverColor:p,postTitleFontSize:b,titleFontFamily:u,titleFontWeight:d,titleFontSubset:g,titleFontSizeType:m,titleFontSizeMobile:f,titleFontSizeTablet:h,borderColor:k,backGroundColor:y,enableBoxShadow:v,borderRadius:C,shadowColor:O,xOffset:E,yOffset:x,blur:w,spread:S,descriptionFontSize:T,descriptionFontFamily:j,descriptionFontWeight:F,descriptionFontSubset:M,descriptionFontSizeType:B,descriptionFontSizeMobile:L,descriptionFontSizeTablet:z,contentPaddingTop:N,contentPaddingLeft:P,contentPaddingBottom:D,contentPaddingRight:R,titleMarginTop:A,titleMarginBottom:_,titleMarginLeft:I,titleMarginRight:H,metaMarginTop:G,metaMarginBottom:W,metaMarginLeft:U,metaMarginRight:q,exceprtMarginTop:V,exceprtMarginBottom:$,exceprtMarginLeft:X,exceprtMarginRight:Y,moreLinkMarginTop:J,moreLinkMarginBottom:K,moreLinkMarginLeft:Z,moreLinkMarginRight:Q,enablePagination:ee,loadMoreTextColor:te,loadMoreSolidTextColor:ae,loadMoreTextHoverColor:oe,loadMoreSolidTextHoverColor:ne,loadMoreTextBgColor:re,loadMoreTextBgHoverColor:le,loadMoreAlignment:ie,loadMoreStyle:se,postTitleLineHeight:ce,postMetaFontSizeTablet:pe,postMetaFontSize:be,postMetaFontSizeType:ue,postMetaFontFamily:de,postMetaFontWeight:ge,postMetaFontSizeMobile:me,categoryTextColor:fe,categoryBackgroundColor:he,categoryBorderColor:ke,secondCategoryTextColor:ye,secondCategoryBackgroundColor:ve,secondCategoryBorderColor:Ce,thirdCategoryTextColor:Oe,thirdCategoryBackgroundColor:Ee,thirdCategoryBorderColor:xe}=e.attributes,we=[];return"lpc-title-hover"===c&&we.push({".blockspare-posts-block-post-content .blockspare-posts-block-title-link:hover span":{color:p+" !important"}}),"lpc-title-border"===c&&we.push({".lpc-title-border .blockspare-posts-block-post-grid-title .blockspare-posts-block-title-link span:hover":{boxShadow:"inset 0 -2px 0 0 "+p}}),we.push({".blockspare-posts-block-post-grid-title a span":{color:l?l+" !important":"#404040"},".blockspare-posts-block-post-grid-author a span":{color:r||"#000000"},".blockspare-posts-block-text-link a":{color:r||"#000000"},".comment_count":{color:i||"#000"},".blockspare-posts-block-post-grid-date":{color:i||"#000"},".blockspare-posts-block-post-grid-excerpt":{color:i||"#000"},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt p":{color:i||"#000"},".blockspare-posts-block-post-grid-more-link span":{color:r||"#000000"}}),mh(we,e.attributes,fe,he,ke,ye,ve,Ce,Oe,Ee,xe),we.push({".blockspare-posts-block-post-wrap":{marginTop:t?t+"px":"0px",marginBottom:a?a+"px":"0px",marginLeft:o?o+"px":"0px",marginRight:n?n+"px":"0px"},".blockspare-posts-block-post-grid-more-link":{marginTop:J?J+"px":"0px",marginBottom:K?K+"px":"0px",marginLeft:Z?Z+"px":"0px",marginRight:Q?Q+"px":"0px"},".blockspare-posts-block-post-grid-title ":{marginTop:A?A+"px":"0px",marginBottom:_?_+"px":"0px",marginLeft:I?I+"px":"0px",marginRight:H?H+"px":"0px"},".blockspare-posts-block-post-content":{paddingTop:N+"px",paddingRight:R+"px",paddingBottom:D+"px",paddingLeft:P+"px"},".blockspare-posts-block-post-grid-excerpt-content ":{marginTop:V?V+"px":"0px",marginBottom:$?$+"px":"0px",marginLeft:X?X+"px":"0px",marginRight:Y?Y+"px":"0px"},".blockspare-posts-block-post-grid-byline":{marginTop:G?G+"px":"0px",marginBottom:W?W+"px":"0px",marginLeft:U?U+"px":"0px",marginRight:q?q+"px":"0px"}}),s.split("-")[5]>3?we.push({".blockspare-posts-block-latest-post-wrap .blockspare-posts-block-post-single .blockspare-posts-block-post-img":{borderRadius:C+"px",boxShadow:v?E+"px "+x+"px "+w+"px "+S+"px "+O:""}}):we.push({".blockspare-posts-block-latest-post-wrap .blockspare-posts-block-post-single":{borderRadius:C+"px",boxShadow:v?E+"px "+x+"px "+w+"px "+S+"px "+O:"",backgroundColor:y}}),we.push({".blockspare-posts-block-post-grid-title a span":{fontSize:b+m,...Ro(u),...Ao(d),lineHeight:ce},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:T+B,...Ro(j),...Ao(F)},".blockspare-posts-block-post-grid-author a span":{fontSize:be+ue,...Ro(de),...Ao(ge)},".blockspare-posts-block-post-grid-date":{fontSize:be+ue,...Ro(de),...Ao(ge)},".comment_count":{fontSize:be+ue,...Ro(de),...Ao(ge)},tablet:{".blockspare-posts-block-post-grid-title a span":{fontSize:h+m},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:z+B},".blockspare-posts-block-post-grid-author a span":{fontSize:pe+ue},".blockspare-posts-block-post-grid-date":{fontSize:pe+ue},".comment_count":{fontSize:pe+ue}},mobile:{".blockspare-posts-block-post-grid-title a span":{fontSize:f+m},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:L+B},".blockspare-posts-block-post-grid-author a span":{fontSize:me+ue},".blockspare-posts-block-post-grid-date":{fontSize:me+ue},".comment_count":{fontSize:me+ue}}}),!0===ee&&(we.push({".bs_blockspare_loadmore":{textAlign:ie}}),"bs-loadmore-solid"===se?we.push({".bs_blockspare_loadmore a.blockspare-readmore .load-btn":{color:ae,backgroundColor:re},".bs_blockspare_loadmore a.blockspare-readmore .load-btn:hover":{color:ne,backgroundColor:le}}):we.push({".bs_blockspare_loadmore a.blockspare-readmore .load-btn":{color:te},".bs_blockspare_loadmore a.blockspare-readmore .load-btn:hover":{color:oe}})),Do.a.all(we)})])(class extends hh{constructor(){super(...arguments),this.getPosts=this.getPosts.bind(this),this.state={latestPosts:[],loaded:!1},this.debouncedGetPosts=uf()(this.getPosts.bind(this),200)}componentDidMount(){this.getPosts()}componentDidUpdate(e){["postType","taxType","postTax","orderBy","order","categories","allcategories","tags","postsToShow","offset","enablePagination"].reduce((t,a)=>t||e.attributes[a]!==this.props.attributes[a],!1)&&(this.setState({loaded:!1}),this.debouncedGetPosts())}getPosts(){this.setState({loaded:!1}),Ch({path:Oh(xh,sf(this.props.attributes,"query"))}).then(e=>{this.setState({latestPosts:e,loaded:!0})}).catch(()=>{this.setState({latestPosts:[],loaded:!0})})}render(){const{attributes:{postType:e,taxType:t,align:a,displayPostTitle:n,titleOnHover:r,displayPostCategory:l,displayPostAuthor:i,displayPostDate:s,displayPostExcerpt:c,displayPostLink:p,excerptLength:b,readMoreText:u,design:d,enableTwoColumn:g,grid:m,tile:f,express:h,full:k,columns:v,postsToShow:C,sectionTag:O,imageSize:E="medium",contentOrder:x,categoryLayoutOption:w,titleLoadGoogleFonts:S,titleFontFamily:T,titleFontWeight:j,descriptionLoadGoogleFonts:F,descriptionFontFamily:M,descriptionFontWeight:B,authorIcon:L,dateIcon:z,enableComment:N,commentIcon:P,enableEqualHeight:D,animation:R,blockHoverEffect:A,enablePagination:_,loadMoreText:I,enableFeatureImage:H,gutterSpace:G,loadMoreStyle:W,loadMoreAlignment:U,postCategoryLoadGoogleFonts:q,postCategoryFontFamily:V,postCategoryFontWeight:$,postMetaLoadGoogleFonts:X,postMetaFontFamily:Y,postMetaFontWeight:J,imageHoverEffect:K},className:Z,attributes:Q,setAttributes:ee}=this.props;let te,ae,oe,ne;if(1==S){const e={google:{families:[T+(j?":"+j:"")]}};te=Object(o.createElement)(Uo,{config:e})}if(1==F){const e={google:{families:[M+(B?":"+B:"")]}};ae=Object(o.createElement)(Uo,{config:e})}if(1==q){const e={google:{families:[V+($?":"+$:"")]}};oe=Object(o.createElement)(Uo,{config:e})}if(1==X){const e={google:{families:[Y+(J?":"+J:"")]}};ne=Object(o.createElement)(Uo,{config:e})}const{latestPosts:re,loaded:le}=this.state,ie=Array.isArray(re)&&re.length>0,se=e;if(!ie)return Object(o.createElement)(kh,null,Object(o.createElement)(gh,{setAttributes:ee,...this.props}),Object(o.createElement)(Sh,{icon:"admin-post",label:yh("Latest Posts Block","blockspare")},le?yh("No posts found.","blockspare"):Object(o.createElement)(Th,null)));const ce=re.length>C?re.slice(0,C):re,pe=O||"section",be=y()([Z,"blockspare-posts-block-latestpost-grid",""!==a?"align"+a:"aligncenter",R?"blockspare-block-animation":"",R,A,K]);let ue=!1;"blockspare-posts-block-grid-layout-4"!==m&&"blockspare-posts-block-grid-layout-5"!==m&&"blockspare-posts-block-grid-layout-6"!==m&&(ue=!0);const de=y()(["none"===w?"has-no-category-style":"","blockspare-posts-block-post-category"]);return Object(o.createElement)(kh,null,Object(o.createElement)(gh,{setAttributes:ee,...this.props}),Object(o.createElement)("div",{className:be},this.props.styles,Object(o.createElement)(pe,{className:y()(this.props.className,"blockspare-posts-block-post-wrap")},Object(o.createElement)("div",{className:y()("blockspare-posts-block-latest-post-wrap",m,"blockspare-posts-block-is-grid","column-"+v,"has-gutter-"+G)},ce.map((a,d)=>{const g=(a.featured_image_src_large[E||"large"]||[])[0],m=void 0!==a.taxonomy_info?JSON.parse(a.taxonomy_info):"",f=g;let h=a.excerpt.rendered;return Object(o.createElement)("div",{className:y()("blockspare-posts-block-post-single",f?"":"post-has-no-image",ue?"has-background":"blockspare-hover-child",D?"bs-has-equal-height":"","content-order-1"===x?"contentorderone":"","content-order-2"===x?"contentordertwo":"","blockspare-hover-item")},"undefined"!==g&&H&&Object(o.createElement)("figure",{className:"blockspare-posts-block-post-img hover-child"},Object(o.createElement)("a",null," ",g&&Object(o.createElement)("img",{src:g}),!g&&Object(o.createElement)("div",{class:"bs-no-thumbnail-img"}," ")),l&&("content-order-1"===x||"content-order-2"===x)&&Object(o.createElement)("div",{className:de},Object(o.createElement)(pf,{postType:e,postTaxonomies:m,postCategories:a.category_info,taxType:t,tags:a.tag_info}))),Object(o.createElement)("div",{className:y()("blockspare-posts-block-post-content",x,r)},Object(o.createElement)("div",{className:"blockspare-posts-block-bg-overlay"}),Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-header"},l&&!H&&Object(o.createElement)("div",{className:de},Object(o.createElement)(pf,{postType:e,postTaxonomies:m,postCategories:a.category_info,taxType:t,tags:a.tag_info})),l&&H&&"content-order-1"!==x&&"content-order-2"!==x&&Object(o.createElement)("div",{className:de},Object(o.createElement)(pf,{postType:e,postTaxonomies:m,postCategories:a.category_info,taxType:t,tags:a.tag_info})),n&&Object(o.createElement)("h4",{className:"blockspare-posts-block-post-grid-title"},Object(o.createElement)("a",{target:"_blank",rel:"bookmark",className:"blockspare-posts-block-title-link"},Object(o.createElement)("span",{dangerouslySetInnerHTML:{__html:fh(a.title.rendered)}}))),se&&(i||s||N)&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-byline"},i&&a.author_info.info&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-author"},a.author_info.info.map((e,t)=>Object(o.createElement)("a",null,Object(o.createElement)("span",null,t<1&&Object(o.createElement)("i",{className:L}),e.trim(),t!==a.author_info.info.length-1?", ":"")))),s&&a.date_gmt&&Object(o.createElement)("time",{dateTime:gf()(a.date_gmt).utc().format(),className:"blockspare-posts-block-post-grid-date"},Object(o.createElement)("i",{className:z}),gf()(a.date_gmt).local().format("MMMM DD, Y","blockspare")),N&&Object(o.createElement)("span",{className:"comment_count"},Object(o.createElement)("i",{className:P}),a.comment_count," "))),c&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-excerpt"},c&&a.excerpt&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-excerpt-content",dangerouslySetInnerHTML:{__html:(k=h,v=b,k.split(" ").splice(0,v).join(" "))}}),p&&Object(o.createElement)("p",null,Object(o.createElement)("a",{className:"blockspare-posts-block-post-grid-more-link blockspare-posts-block-text-link",target:"_blank",rel:"bookmark"},Object(o.createElement)("span",null,u))))));var k,v})),_&&Object(o.createElement)("div",{class:`bs_blockspare_loadmore blockspare-readmore-wrapper ${W} bs_blockspare_loadmore_${U}`},Object(o.createElement)("a",{href:"#",class:"blockspare-readmore"},Object(o.createElement)("div",{class:"load-btn"},I," ",Object(o.createElement)("span",{class:"ajax-loader"})))))),te,ae,oe,ne)}}),Fh=a(246);const{name:Mh,category:Bh}=Fh,{__:Lh}=wp.i18n,{registerBlockType:zh}=wp.blocks;zh(Mh,{title:Lh("Posts Grid","blockspare"),description:Lh("Add posts layouts from selected categories.","blockspare"),category:Bh,icon:s.a.post_grid,keywords:[Lh("af","blockspare"),Lh("article","blockspare"),Lh("archive","blockspare"),Lh("block","blockspare"),Lh("blocks","blockspare"),Lh("blog","blockspare"),Lh("box","blockspare"),Lh("category","blockspare"),Lh("express","blockspare"),Lh("full","blockspare"),Lh("grid","blockspare"),Lh("latest","blockspare"),Lh("list","blockspare"),Lh("latest posts block","blockspare"),Lh("post","blockspare"),Lh("posts","blockspare"),Lh("tile","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{design:"blockspare-posts-block-grid-layout-1",postsToShow:6,displayPostCategory:!0,displayPostAuthor:!0,displayPostDate:!0,imageSize:"medium",postTitleFontSize:16}},edit:jh,save:()=>null,deprecated:[{attributes:{...Fh.attributes,categories:{type:"string"}},migrate:e=>({...e,categories:[{value:Number(e.categories),label:"selected"}]}),isEligible:e=>{let{categories:t}=e;return t&&"string"==typeof t},save:()=>null}]}),a(375);var Nh=a.p+"images/blockspare-posts-block-list-layout-1.47242a97.png",Ph=a.p+"images/blockspare-posts-block-list-layout-2.75c24ea4.png",Dh=a.p+"images/blockspare-posts-block-list-layout-3.3d0392ae.png",Rh=a.p+"images/blockspare-posts-block-list-layout-4.4259edfb.png";const{Component:Ah}=wp.element,{__:_h}=wp.i18n,{addFilter:Ih,applyFilters:Hh}=wp.hooks,{InspectorControls:Gh,PanelColorSettings:Wh}=wp.blockEditor,{PanelBody:Uh,QueryControls:qh,RangeControl:Vh,SelectControl:$h,TextControl:Xh,ToggleControl:Yh,ButtonGroup:Jh,Button:Kh,Toolbar:Zh,ToolbarGroup:Qh,ToolbarButton:ek,Flex:tk,FlexItem:ak}=wp.components,{addQueryArgs:ok}=wp.url,{apiFetch:nk}=wp,{postTypes:rk}=blockspare_globals;class lk extends Ah{imageSizeSelect(){var e,t,a;const o=null===(e=wp)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.select("core/editor"))||void 0===a?void 0:a.getEditorSettings();return an()(io()(null==o?void 0:o.imageSizes,e=>{let{name:t,slug:a}=e;return{value:a,label:t}}))}render(){const{attributes:{order:e,orderBy:t,categories:a,allcategories:n,tags:r,postsToShow:l,postType:i,taxType:s,postTax:c,displayPostTitle:p,titleOnHover:b,titleOnHoverColor:u,displayPostCategory:d,displayPostAuthor:g,displayPostDate:m,displayPostExcerpt:f,displayPostLink:h,excerptLength:k,readMoreText:y,design:v="blockspare-posts-block-list-layout-1",enableTwoColumn:O,columns:E,backGroundColor:x,enableBackgroundColor:w,marginTop:S,marginBottom:T,marginLeft:j,marginRight:F,imageSize:M,offset:B,contentOrder:L,postTitleColor:z,postTitleFontSize:N,linkColor:P,generalColor:D,borderRadius:R,enableBoxShadow:A,xOffset:I,yOffset:H,blur:G,spread:W,shadowColor:U,unit:q,ImageUnit:V,titleLoadGoogleFonts:$,titleFontFamily:X,titleFontWeight:Y,titleFontSubset:J,titleFontSizeType:Z,titleFontSizeMobile:Q,titleFontSizeTablet:ee,descriptionFontSize:te,descriptionFontFamily:ae,descriptionFontWeight:oe,descriptionFontSubset:re,descriptionFontSizeType:le,descriptionFontSizeMobile:ie,descriptionFontSizeTablet:se,descriptionLoadGoogleFonts:pe,contentPaddingTop:be,contentPaddingLeft:ue,contentPaddingBottom:de,contentPaddingRight:ge,titleMarginTop:me,titleMarginBottom:fe,titleMarginLeft:he,titleMarginRight:ke,metaMarginTop:ye,metaMarginBottom:ve,metaMarginLeft:Ce,metaMarginRight:Oe,exceprtMarginTop:Ee,exceprtMarginBottom:xe,exceprtMarginLeft:we,exceprtMarginRight:Se,moreLinkMarginTop:Te,moreLinkMarginBottom:je,moreLinkMarginLeft:Fe,moreLinkMarginRight:Me,authorIcon:Be,dateIcon:Le,enableComment:ze,commentIcon:Ne,enableEqualHeight:Pe,enablePagination:De,loadMoreText:Re,loadMoreStyle:Ae,loadMoreTextColor:_e,loadMoreSolidTextColor:Ie,loadMoreTextHoverColor:He,loadMoreSolidTextHoverColor:Ge,loadMoreTextBgColor:We,loadMoreTextBgHoverColor:Ue,loadMoreAlignment:qe,loadMoreColor:Ve,enableFeatureImage:$e,gutterSpace:Xe,postTitleLineHeight:Ye,postMetaFontSize:Je,postMetaFontFamily:Ke,postMetaFontWeight:Ze,postMetaFontSubset:Qe,postMetaFontSizeType:et,postMetaFontSizeMobile:tt,postMetaFontSizeTablet:at,postMetaLoadGoogleFonts:ot,categoryLayoutOption:nt,categoryTextColor:rt,categoryBackgroundColor:lt,categoryBorderColor:it,secondCategoryTextColor:st,secondCategoryBackgroundColor:ct,secondCategoryBorderColor:pt,thirdCategoryTextColor:bt,thirdCategoryBackgroundColor:ut,thirdCategoryBorderColor:dt,colorType:gt},taxList:mt,taxOptions:ft,taxFilterOptions:ht,attributes:kt,latestPosts:yt,setAttributes:vt}=this.props,Ct=(_h("Hover","blockspare"),_h("Border","blockspare"),_h("None","blockspare"),[{value:"list-col-1",label:_h("One Column","blockspare")},{value:"list-col-2",label:_h("Two Column","blockspare")},{value:"list-col-3",label:_h("Three Column","blockspare")},{value:"list-col-4",label:_h("Four Column","blockspare")}]),Ot=[{value:"",label:_h("None","blockspare")},{value:"bs-loadmore-border",label:_h("Border","blockspare")},{value:"bs-loadmore-solid",label:_h("Solid","blockspare")}],Et=(Array.isArray(yt)&&yt.length,this.imageSizeSelect()),xt="post"===i,wt={value:D,onChange:e=>vt({generalColor:e}),label:_h("General Color","blockspare")},St={value:P,onChange:e=>vt({linkColor:e}),label:_h("Link Color","blockspare")},Tt={value:z,onChange:e=>vt({postTitleColor:e}),label:_h("Title Color","blockspare")},jt={value:u,onChange:e=>vt({titleOnHoverColor:e}),label:_h("Title Hover Color","blockspare")};let Ft=!1;1!=g&&1!=m&&1!=ze||(Ft=!0);const Mt=[{
/* translators: a unit of size (px) for css markup */
name:_h("25%","blockspare"),unitValue:"25"},{
/* translators: a unit of size (em) for css markup */
name:_h("50%","blockspare"),unitValue:"50"},{
/* translators: a unit of size (vw) for css markup */
name:_h("75%","blockspare"),unitValue:"75"},{
/* translators: a unit of size (vh) for css markup */
name:_h("100%","blockspare"),unitValue:"100"}],Bt=e=>vt({loadMoreAlignment:e});return Object(o.createElement)(Gh,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(Uh,{title:_h("Layout Options","blockspare"),className:xt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Qi,{initialOpen:!0,selected:v,paneltitle:_("Layouts","blockspare"),options:Hh("blockspare-posts-block.cta.edit.layouts",[{label:_h("List Style 1","blockspare"),value:"blockspare-posts-block-list-layout-1",image:Nh},{label:_h("List Style 2","blockspare"),value:"blockspare-posts-block-list-layout-2",image:Ph},{label:_h("List Style 3","blockspare"),value:"blockspare-posts-block-list-layout-3",image:Dh},{label:_h("List Style 4","blockspare"),value:"blockspare-posts-block-list-layout-4",image:Rh}]),onChange:e=>vt({design:e})}),Object(o.createElement)(Qi,{initialOpen:!1,selected:L,paneltitle:"Content Order",options:Hh("blockspare-posts-block.cta.edit.layouts",[{label:_h("Style 1","blockspare"),value:"content-order-1",image:yf},{label:_h("Style 2","blockspare"),value:"content-order-2",image:vf}]),onChange:e=>vt({contentOrder:e})})),Object(o.createElement)(Uh,{title:_h("Post Settings","blockspare"),className:xt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)($h,{label:_h("Select Posts Type:","blockspare"),options:rk,value:i,onChange:e=>{vt({postType:e}),vt({taxType:""}),vt({categories:[]})}}),Object(o.createElement)($h,{label:_h("Order by","blockspare"),options:[{label:_h("Newest to Oldest","blockspare"),value:"date/desc"},{label:_h("Oldest to Newest","blockspare"),value:"date/asc"},{
/* translators: label for ordering posts by title in ascending order */
label:_h("A → Z","blockspare"),value:"title/asc"},{
/* translators: label for ordering posts by title in descending order */
label:_h("Z → A","blockspare"),value:"title/desc"}],value:`${t}/${e}`,onChange:a=>{const[o,n]=a.split("/");n!==e&&vt({order:n}),o!==t&&vt({orderBy:o})}}),Object(o.createElement)(yn,{postType:i,taxList:mt,taxOptions:ft,taxFilterOptions:ht,setAttributes:vt,taxType:s,categories:a,postTax:c,tags:r}),Object(o.createElement)(Vh,{label:_h("Number of posts","blockspare"),value:l,onChange:e=>vt({postsToShow:e}),min:1,max:50}),Object(o.createElement)(Yh,{label:_h("Enable Pagination","blockspare"),checked:De,onChange:()=>this.props.setAttributes({enablePagination:!De})}),De&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Xh,{label:_h("Load More Text","blockspare"),type:"text",value:Re,onChange:e=>this.props.setAttributes({loadMoreText:e})}),Object(o.createElement)($h,{label:_h("Fill","blockspare"),value:Ae,options:Ot.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>vt({loadMoreStyle:e})}),Object(o.createElement)(tk,null,Object(o.createElement)(ak,null,Object(o.createElement)("label",null,"Alignment")),Object(o.createElement)(ak,null,Object(o.createElement)(Zh,{label:"Options",id:"options-toolbar"},Object(o.createElement)(Qh,{style:{margin:0}},Object(o.createElement)(ek,{icon:"editor-alignleft",label:_h("Left","blockspare"),onClick:()=>Bt("left"),isPressed:"left"===qe})),Object(o.createElement)(Qh,{style:{margin:0}},Object(o.createElement)(ek,{icon:"editor-aligncenter",label:_h("Center","blockspare"),onClick:()=>Bt("center"),isPressed:"center"===qe})),Object(o.createElement)(Qh,{style:{margin:0}},Object(o.createElement)(ek,{icon:"editor-alignright",label:_h("Right","blockspare"),onClick:()=>Bt("right"),isPressed:"right"===qe})))))),!1===De&&Object(o.createElement)(Vh,{label:_h("Number of items to offset","blockspare"),value:B,onChange:e=>vt({offset:e}),min:0,max:20})),Object(o.createElement)(Uh,{title:_h("Block Settings","blockspare"),className:xt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Yh,{label:_h("Enable feature Image","blockspare"),checked:$e,onChange:()=>this.props.setAttributes({enableFeatureImage:!$e})}),$e&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)($h,{label:_h("Image Size","blockspare"),value:(()=>{for(let e=0;e<Et.length;e++)if(Et[e].value===M)return M;return"full"})(),options:Et,onChange:e=>this.props.setAttributes({imageSize:e,ImageUnit:"100"})}),Object(o.createElement)(Jh,{className:"components-blockspare-dimensions-control__units","aria-label":_h("Select Units","blockspare"),style:{marginBottom:"20px"}},io()(Mt,e=>{let{unitValue:t,name:a}=e;return Object(o.createElement)(Kh,{key:t,className:"components-dimensions-control__units--"+a,isSmall:!0,isPrimary:V===t,isSecondary:V!==t,"aria-pressed":V===t,"aria-label":sprintf(
/* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */
_h("%s","blockspare"),a),onClick:e=>this.props.setAttributes({ImageUnit:t})},a)})),Object(o.createElement)(Yh,{label:_h("Enable Equal Height","blockspare"),checked:Pe,onChange:()=>this.props.setAttributes({enableEqualHeight:!Pe})})),Object(o.createElement)($h,{label:_h("Columns Options","blockspare"),value:!0===O?"list-col-2":E,options:Ct.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>vt({columns:e,enableTwoColumn:!1})}),Object(o.createElement)(Yh,{label:_h("Display Category","blockspare"),checked:d,onChange:()=>this.props.setAttributes({displayPostCategory:!d})}),Object(o.createElement)(Yh,{label:_h("Display Author","blockspare"),checked:g,onChange:()=>this.props.setAttributes({displayPostAuthor:!g})}),Object(o.createElement)(Yh,{label:_h("Display Date","blockspare"),checked:m,onChange:()=>this.props.setAttributes({displayPostDate:!m})}),Object(o.createElement)(Yh,{label:_h("Display Comment Count","blockspare"),checked:ze,onChange:()=>this.props.setAttributes({enableComment:!ze})}),Object(o.createElement)(Yh,{label:_h("Display Excerpt","blockspare"),checked:f,onChange:()=>this.props.setAttributes({displayPostExcerpt:!f})}),f&&Object(o.createElement)(Vh,{label:_h("Excerpt Length","blockspare"),value:k,onChange:e=>vt({excerptLength:e}),min:0,max:150}),f&&Object(o.createElement)(Yh,{label:_h("Display Read More Link","blockspare"),checked:h,onChange:()=>this.props.setAttributes({displayPostLink:!h})}),f&&h&&Object(o.createElement)(Xh,{label:_h("Customize Continue Reading Text","blockspare"),type:"text",value:y,onChange:e=>this.props.setAttributes({readMoreText:e})}),Object(o.createElement)(Vh,{label:_h("Content Border Radius","blockspare"),value:R,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:50,step:1}),Object(o.createElement)(xf,{gutterSpace:Xe,onChangegutterSpace:e=>vt({gutterSpace:e})}),Object(o.createElement)(Yh,{label:_h("Enable Box Shadow","blockspare"),checked:A,onChange:()=>this.props.setAttributes({enableBoxShadow:!A})}),A&&Object(o.createElement)(ji,{enableShadowColor:!1,enableOptions:!0,shadowColor:U,onChangeShadowColor:e=>vt({shadowColor:e}),xOffset:I,onChangeXOffset:e=>vt({xOffset:e}),yOffset:H,onChangeYOffset:e=>vt({yOffset:e}),blur:G,onChangeBlur:e=>vt({blur:e}),spread:W,onChangeSpread:e=>vt({spread:e})})),Object(o.createElement)(Nf,C()({display:d},this.props)),Object(o.createElement)(Uh,{title:_h("Typography Settings","blockspare"),initialOpen:!1},p&&Object(o.createElement)(Oo,{label:_h("Title Fonts"),attributes:kt,setAttributes:vt,loadGoogleFonts:{value:$,label:_h("titleLoadGoogleFonts")},fontFamily:{value:X,label:_h("titleFontFamily")},fontWeight:{value:Y,label:_h("titleFontWeight")},fontSubset:{value:J,label:_h("titleFontSubset")},fontSizeType:{value:Z,label:_h("titleFontSizeType")},fontSize:{value:N,label:_h("postTitleFontSize")},fontSizeMobile:{value:Q,label:_h("titleFontSizeMobile")},fontSizeTablet:{value:ee,label:_h("titleFontSizeTablet")},disableLineHeight:!0}),Object(o.createElement)(Yf,C()({display:d},this.props)),(g||m||ze)&&Object(o.createElement)(Oo,{label:_h("Meta Fonts"),attributes:kt,setAttributes:vt,loadGoogleFonts:{value:ot,label:_h("postMetaLoadGoogleFonts")},fontFamily:{value:Ke,label:_h("postMetaFontFamily")},fontWeight:{value:Ze,label:_h("postMetaFontWeight")},fontSubset:{value:Qe,label:_h("postMetaFontSubset")},fontSizeType:{value:et,label:_h("postMetaFontSizeType")},fontSize:{value:Je,label:_h("postMetaFontSize")},fontSizeMobile:{value:tt,label:_h("postMetaFontSizeMobile")},fontSizeTablet:{value:at,label:_h("postMetaFontSizeTablet")},disableLineHeight:!0}),f&&Object(o.createElement)(Oo,{label:_h("Description Fonts"),attributes:kt,setAttributes:vt,loadGoogleFonts:{value:pe,label:_h("descriptionLoadGoogleFonts")},fontFamily:{value:ae,label:_h("descriptionFontFamily")},fontWeight:{value:oe,label:_h("descriptionFontWeight")},fontSubset:{value:re,label:_h("descriptionFontSubset")},fontSizeType:{value:le,label:_h("descriptionFontSizeType")},fontSize:{value:te,label:_h("descriptionFontSize")},fontSizeMobile:{value:ie,label:_h("descriptionFontSizeMobile")},fontSizeTablet:{value:se,label:_h("descriptionFontSizeTablet")},disableLineHeight:!0}),p&&Object(o.createElement)(Vh,{label:_h("Title Line Height","blockspare"),value:Ye,onChange:e=>vt({postTitleLineHeight:e}),min:0,step:.1,max:2})),Object(o.createElement)(Uh,{title:_h("Color Settings","blockspare"),className:xt?null:"blockspare-posts-block-hide-query",initialOpen:!1},(p||g||f||ze||m||h)&&Object(o.createElement)(Wh,{title:_h("Colors","blockspare"),initialOpen:!0,colorSettings:[p&&Tt,p&&""!==b&&jt,(g||h)&&St,(f||ze||m)&&wt]}),Object(o.createElement)(If,{display:d,colorType:gt,onChangeColorType:e=>vt({colorType:e}),categoryLayoutOption:nt,color:rt,onChangeColor:e=>vt({categoryTextColor:e}),backgroundColor:lt,onChangeBackgroundColor:e=>vt({categoryBackgroundColor:e}),borderColor:it,onChangeBorderColor:e=>vt({categoryBorderColor:e}),secondColor:st,onChangeSecondColor:e=>vt({secondCategoryTextColor:e}),secondBackgroundColor:ct,onChangeSecondBackgroundColor:e=>vt({secondCategoryBackgroundColor:e}),secondBorderColor:pt,onChangeSecondBorderColor:e=>vt({secondCategoryBorderColor:e}),thirdColor:bt,onChangeThirdColor:e=>vt({thirdCategoryTextColor:e}),thirdBackgroundColor:ut,onChangeThirdBackgroundColor:e=>vt({thirdCategoryBackgroundColor:e}),thirdBorderColor:dt,onChangeThirdBorderColor:e=>vt({thirdCategoryBorderColor:e})}),De&&Object(o.createElement)(Wh,{title:_h("Load More Color","blockspare"),initialOpen:!1,colorSettings:[{value:"bs-loadmore-solid"===Ae?Ie:_e,onChange:"bs-loadmore-solid"===Ae?e=>vt({loadMoreSolidTextColor:e}):e=>vt({loadMoreTextColor:e}),label:_h("bs-loadmore-border"===Ae?"Text/Border Color":"Text Color","blockspare")},{value:"bs-loadmore-solid"===Ae?Ge:He,onChange:"bs-loadmore-solid"===Ae?e=>vt({loadMoreSolidTextHoverColor:e}):e=>vt({loadMoreTextHoverColor:e}),label:_h("bs-loadmore-border"===Ae?"Text/Border Hover Color":"Text Hover Color","blockspare")},"bs-loadmore-solid"===Ae&&{value:We,onChange:e=>vt({loadMoreTextBgColor:e}),label:_h("Background Color","blockspare")},"bs-loadmore-solid"===Ae&&{value:Ue,onChange:e=>vt({loadMoreTextBgHoverColor:e}),label:_h("Background Hover Color","blockspare")},{value:Ve,onChange:e=>vt({loadMoreColor:e}),label:_h("Loader Color","blockspare")}]}),"blockspare-posts-block-list-layout-6"!==v&&"blockspare-posts-block-list-layout-5"!==v&&"blockspare-posts-block-list-layout-4"!==v&&Object(o.createElement)(Wh,{title:_h("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:x,onChange:e=>vt({backGroundColor:e}),label:_h("Background Color","blockspare")}]})),1==Ft&&Object(o.createElement)(Uh,{title:_h("Icon Settings"),initialOpen:!1},g&&Object(o.createElement)(Uh,{title:_h("Author Icon"),initialOpen:!1},Object(o.createElement)(K,{name:Be,onChangeName:e=>vt({authorIcon:e})})),m&&Object(o.createElement)(Uh,{title:_h("Date Icon"),initialOpen:!1},Object(o.createElement)(K,{name:Le,onChangeName:e=>vt({dateIcon:e})})),ze&&Object(o.createElement)(Uh,{title:_h("Comment Count Icon"),initialOpen:!1},Object(o.createElement)(K,{name:Ne,onChangeName:e=>vt({commentIcon:e})}))),Object(o.createElement)(Uh,{title:_h("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(Uh,{title:_h("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props)),Object(o.createElement)(Uh,{title:_h("Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Uh,{title:_h("Block Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:S,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>vt({marginTop:e}),marginEnableBottom:!0,marginBottom:T,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>vt({marginBottom:e}),marginEnableLeft:!0,marginLeft:j,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>vt({marginLeft:e}),marginEnableRight:!0,marginRight:F,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>vt({marginRight:e})})),Object(o.createElement)(Uh,{title:_h("Content Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(Vh,{label:_h("Padding Top","blockspare"),value:be,onChange:e=>vt({contentPaddingTop:e}),min:0,step:1,max:300}),Object(o.createElement)(Vh,{label:_h("Padding Right","blockspare"),value:ge,onChange:e=>vt({contentPaddingRight:e}),min:0,step:1,max:300}),Object(o.createElement)(Vh,{label:_h("Padding Bottom","blockspare"),value:de,onChange:e=>vt({contentPaddingBottom:e}),min:0,step:1,max:300}),Object(o.createElement)(Vh,{label:_h("Padding Left","blockspare"),value:ue,onChange:e=>vt({contentPaddingLeft:e}),min:0,step:1,max:300})),p&&Object(o.createElement)(Uh,{title:_h("Title Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:me,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>vt({titleMarginTop:e}),marginEnableBottom:!0,marginBottom:fe,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>vt({titleMarginBottom:e}),marginEnableLeft:!0,marginLeft:he,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>vt({titleMarginLeft:e}),marginEnableRight:!0,marginRight:ke,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>vt({titleMarginRight:e})})),Object(o.createElement)(qf,C()({display:d},this.props)),(m||g||ze)&&Object(o.createElement)(Uh,{title:_h("Meta Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:ye,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>vt({metaMarginTop:e}),marginEnableBottom:!0,marginBottom:ve,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>vt({metaMarginBottom:e}),marginEnableLeft:!0,marginLeft:Ce,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>vt({metaMarginLeft:e}),marginEnableRight:!0,marginRight:Oe,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>vt({metaMarginRight:e})})),f&&Object(o.createElement)(Uh,{title:_h("Excerpt Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:Ee,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>vt({exceprtMarginTop:e}),marginEnableBottom:!0,marginBottom:xe,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>vt({exceprtMarginBottom:e}),marginEnableLeft:!0,marginLeft:we,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>vt({exceprtMarginLeft:e}),marginEnableRight:!0,marginRight:Se,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>vt({exceprtMarginRight:e})})),h&&Object(o.createElement)(Uh,{title:_h("Read More Link Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:Te,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>vt({moreLinkMarginTop:e}),marginEnableBottom:!0,marginBottom:je,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>vt({moreLinkMarginBottom:e}),marginEnableLeft:!0,marginLeft:Fe,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>vt({moreLinkMarginLeft:e}),marginEnableRight:!0,marginRight:Me,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>vt({moreLinkMarginRight:e})})))))}}const{Component:ik,Fragment:sk}=wp.element,{__:ck}=wp.i18n,{compose:pk}=wp.compose,{apiFetch:bk}=wp,{addQueryArgs:uk}=wp.url,{decodeEntities:dk}=wp.htmlEntities,{withSelect:gk}=wp.data,{Placeholder:mk,Spinner:fk}=wp.components,{taxonomies:hk,postQueryEndpoint:kk}=blockspare_globals;var yk=pk([gk((e,t)=>{const{postsToShow:a,order:o,orderBy:n,categories:r,tags:l,postTax:i,postType:s,taxType:c}=t.attributes,{getEntityRecords:p}=e("core"),b=s||"post",u=hk[b]&&hk[b].taxonomy?hk[b].taxonomy:[];let d=[],g="";return("post"!==b||i)&&void 0!==hk[b]&&c&&(hk[b].taxonomy&&hk[b].taxonomy[c]&&(hk[b].taxonomy&&0==hk[b].taxonomy[c].rest_base||hk[b].taxonomy&&null==hk[b].taxonomy[c].rest_base?hk[b].taxonomy&&hk[b].taxonomy[c].name:hk[b].taxonomy&&hk[b].taxonomy[c].rest_base),hk[b].terms&&hk[b].terms[c]&&(d=hk[b].terms[c])),{taxList:u,taxOptions:d}}),W,I(e=>{const{marginTop:t,marginBottom:a,marginLeft:o,marginRight:n,linkColor:r,postTitleColor:l,titleOnHover:i,titleOnHoverColor:s,generalColor:c,design:p,postTitleFontSize:b,postListingOption:u,titleFontFamily:d,titleFontWeight:g,titleFontSubset:m,titleFontSizeType:f,titleFontSizeMobile:h,titleFontSizeTablet:k,borderColor:y,backGroundColor:v,enableBoxShadow:C,borderRadius:O,shadowColor:E,xOffset:x,yOffset:w,blur:S,spread:T,descriptionFontSize:j,descriptionFontFamily:F,descriptionFontWeight:M,descriptionFontSubset:B,descriptionFontSizeType:L,descriptionFontSizeMobile:z,descriptionFontSizeTablet:N,contentPaddingTop:P,contentPaddingLeft:D,contentPaddingBottom:R,contentPaddingRight:A,titleMarginTop:_,titleMarginBottom:I,titleMarginLeft:H,titleMarginRight:G,metaMarginTop:W,metaMarginBottom:U,metaMarginLeft:q,metaMarginRight:V,exceprtMarginTop:$,exceprtMarginBottom:X,exceprtMarginLeft:Y,exceprtMarginRight:J,moreLinkMarginTop:K,moreLinkMarginBottom:Z,moreLinkMarginLeft:Q,moreLinkMarginRight:ee,enablePagination:te,loadMoreTextColor:ae,loadMoreSolidTextColor:oe,loadMoreTextHoverColor:ne,loadMoreSolidTextHoverColor:re,loadMoreTextBgColor:le,loadMoreTextBgHoverColor:ie,loadMoreAlignment:se,loadMoreStyle:ce,postTitleLineHeight:pe,postMetaFontSizeTablet:be,postMetaFontSize:ue,postMetaFontSizeType:de,postMetaFontFamily:ge,postMetaFontWeight:me,postMetaFontSizeMobile:fe,categoryTextColor:he,categoryBackgroundColor:ke,categoryBorderColor:ye,secondCategoryTextColor:ve,secondCategoryBackgroundColor:Ce,secondCategoryBorderColor:Oe,thirdCategoryTextColor:Ee,thirdCategoryBackgroundColor:xe,thirdCategoryBorderColor:we}=e.attributes,Se=[];return"lpc-title-hover"===i&&Se.push({".blockspare-posts-block-post-content .blockspare-posts-block-title-link:hover span":{color:s+"!important"}}),"lpc-title-border"===i&&Se.push({".lpc-title-border .blockspare-posts-block-post-grid-title .blockspare-posts-block-title-link span:hover":{boxShadow:"inset 0 -2px 0 0 "+s}}),Se.push({".blockspare-posts-block-post-grid-title a span":{color:l?l+"!important":"#404040"},".blockspare-posts-block-post-grid-author a span":{color:r||"#000000"},".blockspare-posts-block-text-link a":{color:r||"#000000"},".comment_count":{color:c||"#000"},".blockspare-posts-block-post-grid-date":{color:c||"#000"},".blockspare-posts-block-post-grid-excerpt":{color:c||"#000"},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt p":{color:c||"#000"},".blockspare-posts-block-post-grid-more-link span":{color:r||"#000000"}}),mh(Se,e.attributes,he,ke,ye,ve,Ce,Oe,Ee,xe,we),Se.push({".blockspare-posts-block-post-wrap":{marginTop:t?t+"px":"0px",marginBottom:a?a+"px":"0px",marginLeft:o?o+"px":"0px",marginRight:n?n+"px":"0px"},".blockspare-posts-block-post-grid-more-link":{marginTop:K?K+"px":"0px",marginBottom:Z?Z+"px":"0px",marginLeft:Q?Q+"px":"0px",marginRight:ee?ee+"px":"0px"},".blockspare-posts-block-post-grid-title ":{marginTop:_?_+"px":"0px",marginBottom:I?I+"px":"0px",marginLeft:H?H+"px":"0px",marginRight:G?G+"px":"0px"},".blockspare-posts-block-post-content":{paddingTop:P+"px",paddingRight:A+"px",paddingBottom:R+"px",paddingLeft:D+"px"},".blockspare-posts-block-post-grid-excerpt-content ":{marginTop:$?$+"px":"0px",marginBottom:X?X+"px":"0px",marginLeft:Y?Y+"px":"0px",marginRight:J?J+"px":"0px"},".blockspare-posts-block-post-grid-byline":{marginTop:W?W+"px":"0px",marginBottom:U?U+"px":"0px",marginLeft:q?q+"px":"0px",marginRight:V?V+"px":"0px"}}),p.split("-")[5]>3?Se.push({".blockspare-posts-block-latest-post-wrap .blockspare-posts-block-post-single .blockspare-posts-block-post-img":{borderRadius:O+"px",boxShadow:C?x+"px "+w+"px "+S+"px "+T+"px "+E:""}}):Se.push({".blockspare-posts-block-latest-post-wrap .blockspare-posts-block-post-single":{borderRadius:O+"px",boxShadow:C?x+"px "+w+"px "+S+"px "+T+"px "+E:"",backgroundColor:v}}),Se.push({".blockspare-posts-block-post-grid-title a span":{fontSize:b+f,...Ro(d),...Ao(g),lineHeight:pe},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:j+L,...Ro(F),...Ao(M)},".blockspare-posts-block-post-grid-author a span":{fontSize:ue+de,...Ro(ge),...Ao(me)},".blockspare-posts-block-post-grid-date":{fontSize:ue+de,...Ro(ge),...Ao(me)},".comment_count":{fontSize:ue+de,...Ro(ge),...Ao(me)},tablet:{".blockspare-posts-block-post-grid-title a span":{fontSize:k+f},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:N+L},".blockspare-posts-block-post-grid-author a span":{fontSize:be+de},".blockspare-posts-block-post-grid-date":{fontSize:be+de},".comment_count":{fontSize:be+de}},mobile:{".blockspare-posts-block-post-grid-title a span":{fontSize:h+f},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:z+L},".blockspare-posts-block-post-grid-author a span":{fontSize:fe+de},".blockspare-posts-block-post-grid-date":{fontSize:fe+de},".comment_count":{fontSize:fe+de}}}),!0===te&&(Se.push({".bs_blockspare_loadmore":{textAlign:se}}),"bs-loadmore-solid"===ce?Se.push({".bs_blockspare_loadmore a.blockspare-readmore .load-btn":{color:oe,backgroundColor:le},".bs_blockspare_loadmore a.blockspare-readmore .load-btn:hover":{color:re,backgroundColor:ie}}):Se.push({".bs_blockspare_loadmore a.blockspare-readmore .load-btn":{color:ae},".bs_blockspare_loadmore a.blockspare-readmore .load-btn:hover":{color:ne}})),Do.a.all(Se)})])(class extends ik{constructor(){super(...arguments),this.getPosts=this.getPosts.bind(this),this.state={latestPosts:[],loaded:!1},this.debouncedGetPosts=uf()(this.getPosts.bind(this),200)}componentDidMount(){this.getPosts()}componentDidUpdate(e){["postType","taxType","postTax","orderBy","order","categories","allcategories","tags","postsToShow","offset","enablePagination"].reduce((t,a)=>t||e.attributes[a]!==this.props.attributes[a],!1)&&(this.setState({loaded:!1}),this.debouncedGetPosts())}getPosts(){this.setState({loaded:!1}),bk({path:uk(kk,sf(this.props.attributes,"query"))}).then(e=>{this.setState({latestPosts:e,loaded:!0})}).catch(()=>{this.setState({latestPosts:[],loaded:!0})})}render(){const{attributes:{postType:e,taxType:t,align:a,displayPostTitle:n,titleOnHover:r,displayPostCategory:l,displayPostAuthor:i,displayPostDate:s,displayPostExcerpt:c,displayPostLink:p,excerptLength:b,readMoreText:u,design:d,enableTwoColumn:g,columns:m,postsToShow:f,sectionTag:h,imageSize:k="medium",contentOrder:v,categoryLayoutOption:C,titleLoadGoogleFonts:O,titleFontFamily:E,titleFontWeight:x,descriptionLoadGoogleFonts:w,descriptionFontFamily:S,descriptionFontWeight:T,postListingOption:j,tileGaps:F,authorIcon:M,dateIcon:B,enableComment:L,commentIcon:z,enableEqualHeight:N,animation:P,blockHoverEffect:D,enablePagination:R,loadMoreText:A,ImageUnit:_,enableFeatureImage:I,gutterSpace:H,loadMoreStyle:G,postCategoryLoadGoogleFonts:W,postCategoryFontFamily:U,postCategoryFontWeight:q,postMetaLoadGoogleFonts:V,postMetaFontFamily:$,postMetaFontWeight:X,imageHoverEffect:Y},className:J,attributes:K,setAttributes:Z}=this.props;let Q,ee,te,ae;if(1==O){const e={google:{families:[E+(x?":"+x:"")]}};Q=Object(o.createElement)(Uo,{config:e})}if(1==w){const e={google:{families:[S+(T?":"+T:"")]}};ee=Object(o.createElement)(Uo,{config:e})}if(1==W){const e={google:{families:[U+(q?":"+q:"")]}};te=Object(o.createElement)(Uo,{config:e})}if(1==V){const e={google:{families:[$+(X?":"+X:"")]}};ae=Object(o.createElement)(Uo,{config:e})}const{latestPosts:oe,loaded:ne}=this.state,re=Array.isArray(oe)&&oe.length>0,le=e;if(!re)return Object(o.createElement)(sk,null,Object(o.createElement)(lk,{setAttributes:Z,...this.props}),Object(o.createElement)(mk,{icon:"admin-post",label:ck("Latest Posts Block","blockspare")},ne?ck("No posts found.","blockspare"):Object(o.createElement)(fk,null)));const ie=oe.length>f?oe.slice(0,f):oe,se=h||"section",ce=y()([J,"blockspare-posts-block-latestpost-list",""!==a?"align"+a:"aligncenter",P?"blockspare-block-animation":"",P,D,Y]);let pe=!1;"blockspare-posts-block-list-layout-6"!==d&&"blockspare-posts-block-list-layout-5"!==d&&"blockspare-posts-block-list-layout-4"!==d&&(pe=!0);const be=y()(["none"===C?"has-no-category-style":"","blockspare-posts-block-post-category"]);let ue="featured-img-not-enabaled";return!0===I&&(ue=k+"-"+_),Object(o.createElement)(sk,null,Object(o.createElement)(lk,{setAttributes:Z,...this.props}),Object(o.createElement)("div",{className:ce},this.props.styles,Object(o.createElement)(se,{className:y()(this.props.className,"blockspare-posts-block-post-wrap")},Object(o.createElement)("div",{className:y()("blockspare-posts-block-latest-post-wrap",d,"blockspare-posts-block-is-list",!0===g?"list-col-2":m,ue,"has-gutter-"+H,c?"blockspare-post-expert-enabled":"","thumbnail"===k?"blockspare-has-thumbnail-image":"")},ie.map((a,d)=>{const g=(a.featured_image_src_large[k||"large"]||[])[0],m=void 0!==a.taxonomy_info?JSON.parse(a.taxonomy_info):"",f=g;let h=a.excerpt.rendered;return Object(o.createElement)("div",{className:y()("blockspare-posts-block-post-single",f?"":"post-has-no-image",pe?"has-background":"blockspare-hover-child",N?"bs-has-equal-height":"","content-order-1"===v?"contentorderone":"","content-order-2"===v?"contentordertwo":"","blockspare-hover-item")},"undefined"!==g&&I&&Object(o.createElement)("figure",{className:"blockspare-posts-block-post-img hover-child"},Object(o.createElement)("a",null," ",g&&Object(o.createElement)("img",{src:g}),!g&&Object(o.createElement)("div",{class:"bs-no-thumbnail-img"}," ")),l&&("content-order-1"===v||"content-order-2"===v)&&Object(o.createElement)("div",{className:be},Object(o.createElement)(pf,{postType:e,postTaxonomies:m,postCategories:a.category_info,taxType:t,tags:a.tag_info}))),Object(o.createElement)("div",{className:y()("blockspare-posts-block-post-content",v,r)},Object(o.createElement)("div",{className:"blockspare-posts-block-bg-overlay"}),Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-header"},l&&!I&&Object(o.createElement)("div",{className:be},Object(o.createElement)(pf,{postType:e,postTaxonomies:m,postCategories:a.category_info,taxType:t,tags:a.tag_info})),l&&I&&"content-order-1"!==v&&"content-order-2"!==v&&Object(o.createElement)("div",{className:be},Object(o.createElement)(pf,{postType:e,postTaxonomies:m,postCategories:a.category_info,taxType:t,tags:a.tag_info})),n&&Object(o.createElement)("h4",{className:"blockspare-posts-block-post-grid-title"},Object(o.createElement)("a",{target:"_blank",rel:"bookmark",className:"blockspare-posts-block-title-link"},Object(o.createElement)("span",{dangerouslySetInnerHTML:{__html:dk(a.title.rendered)}}))),le&&(i||s||L)&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-byline"},i&&a.author_info.info&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-author"},a.author_info.info.map((e,t)=>Object(o.createElement)("a",null,Object(o.createElement)("span",null,t<1&&Object(o.createElement)("i",{className:M}),e.trim(),t!==a.author_info.info.length-1?", ":"")))),s&&a.date_gmt&&Object(o.createElement)("time",{dateTime:gf()(a.date_gmt).utc().format(),className:"blockspare-posts-block-post-grid-date"},Object(o.createElement)("i",{className:B}),gf()(a.date_gmt).local().format("MMMM DD, Y","blockspare")),L&&Object(o.createElement)("span",{className:"comment_count"},Object(o.createElement)("i",{className:z}),a.comment_count," "))),c&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-excerpt"},c&&a.excerpt&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-excerpt-content",dangerouslySetInnerHTML:{__html:(C=h,O=b,C.split(" ").splice(0,O).join(" "))}}),p&&Object(o.createElement)("p",null,Object(o.createElement)("a",{className:"blockspare-posts-block-post-grid-more-link blockspare-posts-block-text-link",target:"_blank",rel:"bookmark"},Object(o.createElement)("span",null,u))))));var C,O})),R&&Object(o.createElement)("div",{class:"bs_blockspare_loadmore blockspare-readmore-wrapper "+G},Object(o.createElement)("a",{href:"#",class:"blockspare-readmore"},Object(o.createElement)("div",{class:"ajax-loader"}),Object(o.createElement)("span",{class:"load-btn"},A," "))))),Q,ee,te,ae)}}),vk=a(247);const{name:Ck,category:Ok}=vk,{__:Ek}=wp.i18n,{registerBlockType:xk}=wp.blocks;xk(Ck,{title:Ek("Posts List","blockspare"),description:Ek("Add posts layouts from selected categories.","blockspare"),category:Ok,icon:s.a.postlist,keywords:[Ek("af","blockspare"),Ek("article","blockspare"),Ek("archive","blockspare"),Ek("block","blockspare"),Ek("blocks","blockspare"),Ek("blog","blockspare"),Ek("box","blockspare"),Ek("category","blockspare"),Ek("express","blockspare"),Ek("full","blockspare"),Ek("grid","blockspare"),Ek("latest","blockspare"),Ek("list","blockspare"),Ek("latest posts block","blockspare"),Ek("post","blockspare"),Ek("posts","blockspare"),Ek("tile","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{design:"blockspare-posts-block-grid-layout-1",postsToShow:6,displayPostCategory:!0,displayPostAuthor:!0,displayPostDate:!0,imageSize:"medium",postTitleFontSize:16}},edit:yk,save:()=>null,deprecated:[{attributes:{...vk.attributes,categories:{type:"string"}},migrate:e=>({...e,categories:[{value:Number(e.categories),label:"selected"}]}),isEligible:e=>{let{categories:t}=e;return t&&"string"==typeof t},save:()=>null}]}),a(376);var wk=a.p+"images/blockspare-posts-block-express-grid-layout-1.5caafe6a.png",Sk=a.p+"images/blockspare-posts-block-express-grid-layout-2.edb08213.png",Tk=a.p+"images/blockspare-posts-block-express-grid-layout-3.3a856431.png",jk=a.p+"images/blockspare-posts-block-express-grid-layout-4.5845990b.png";const{__:Fk}=wp.i18n,{ToggleControl:Mk,TabPanel:Bk,RangeControl:Lk,TextControl:zk,SelectControl:Nk}=wp.components;var Pk=e=>{const{attributes:{enableFeatureImage:t,imageSize:a,spotslightImageSize:n,displayPostCategory:r,displaySpotlightPostCategory:l,displayPostAuthor:i,displaySpotlightPostAuthor:s,displayPostDate:c,displaySpotlightPostDate:p,displayPostExcerpt:b,displaySpotlightPostExcerpt:u,excerptLength:d,excerptSpotlightLength:g,enableComment:m,enableSpotlightComment:f,displayPostLink:h,displaySpotPostLink:k,readMoreText:y},attributes:v,setAttributes:C}=e;let O=[];O.push({name:"spotlight",title:"Spotlight",className:"blockspare-desktop-tab blockspare-responsive-tabs"}),O.push({name:"normal",title:"Normal",className:"blockspare-tablet-tab blockspare-responsive-tabs"});const E=function(){var e,t,a;const o=null===(e=wp)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.select("core/editor"))||void 0===a?void 0:a.getEditorSettings();return an()(io()(null==o?void 0:o.imageSizes,e=>{let{name:t,slug:a}=e;return{value:a,label:t}}))}(),x=()=>{for(let e=0;e<E.length;e++)if(E[e].value===a)return a;return"full"},w=()=>{for(let e=0;e<E.length;e++)if(E[e].value===n)return n;return"full"};return Object(o.createElement)(Bk,{className:"blockspare-normal-type-field-tabs",activeClass:"active-tab",tabs:O},e=>{let a;return"spotlight"===e.name?a=Object(o.createElement)(o.Fragment,null,t&&Object(o.createElement)(Nk,{label:Fk("Image Size","blockspare"),value:w(),options:E,onChange:e=>C({spotslightImageSize:e})}),Object(o.createElement)(Mk,{label:Fk("Display Category","blockspare"),checked:l,onChange:()=>C({displaySpotlightPostCategory:!l})}),Object(o.createElement)(Mk,{label:Fk("Display Author","blockspare"),checked:s,onChange:()=>C({displaySpotlightPostAuthor:!s})}),Object(o.createElement)(Mk,{label:Fk("Display Date","blockspare"),checked:p,onChange:()=>C({displaySpotlightPostDate:!p})}),Object(o.createElement)(Mk,{label:Fk("Display Comment Count","blockspare"),checked:f,onChange:()=>C({enableSpotlightComment:!f})}),Object(o.createElement)(Mk,{label:Fk("Display Excerpt","blockspare"),checked:u,onChange:()=>C({displaySpotlightPostExcerpt:!u})}),u&&Object(o.createElement)(Lk,{label:Fk("Excerpt Length","blockspare"),value:g,onChange:e=>C({excerptSpotlightLength:e}),min:0,max:150}),u&&Object(o.createElement)(Mk,{label:Fk("Display Read More Link","blockspare"),checked:k,onChange:()=>C({displaySpotPostLink:!k})}),u&&k&&Object(o.createElement)(zk,{label:Fk("Customize Continue Reading Text","blockspare"),type:"text",value:y,onChange:e=>C({readMoreText:e})})):"normal"===e.name&&(a=Object(o.createElement)(o.Fragment,null,t&&Object(o.createElement)(Nk,{label:Fk("Image Size","blockspare"),value:x(),options:E,onChange:e=>C({imageSize:e})}),Object(o.createElement)(Mk,{label:Fk("Display Category","blockspare"),checked:r,onChange:()=>C({displayPostCategory:!r})}),Object(o.createElement)(Mk,{label:Fk("Display Author","blockspare"),checked:i,onChange:()=>C({displayPostAuthor:!i})}),Object(o.createElement)(Mk,{label:Fk("Display Date","blockspare"),checked:c,onChange:()=>C({displayPostDate:!c})}),Object(o.createElement)(Mk,{label:Fk("Display Comment Count","blockspare"),checked:m,onChange:()=>C({enableComment:!m})}),Object(o.createElement)(Mk,{label:Fk("Display Excerpt","blockspare"),checked:b,onChange:()=>C({displayPostExcerpt:!b})}),b&&Object(o.createElement)(Lk,{label:Fk("Excerpt Length","blockspare"),value:d,onChange:e=>C({excerptLength:e}),min:0,max:150}),b&&Object(o.createElement)(Mk,{label:Fk("Display Read More Link","blockspare"),checked:h,onChange:()=>C({displayPostLink:!h})}),b&&h&&Object(o.createElement)(zk,{label:Fk("Customize Continue Reading Text","blockspare"),type:"text",value:y,onChange:e=>C({readMoreText:e})}))),Object(o.createElement)("div",null,a)})};const{Component:Dk}=wp.element,{__:Rk}=wp.i18n,{applyFilters:Ak}=wp.hooks,{InspectorControls:_k,PanelColorSettings:Ik}=wp.blockEditor,{PanelBody:Hk,RangeControl:Gk,SelectControl:Wk,TextControl:Uk,ToggleControl:qk,Toolbar:Vk,ToolbarGroup:$k,ToolbarButton:Xk,Flex:Yk,FlexItem:Jk}=wp.components,{addQueryArgs:Kk}=wp.url,{apiFetch:Zk}=wp,{postTypes:Qk}=blockspare_globals;class ey extends Dk{render(){const{attributes:{order:e,orderBy:t,categories:a,allcategories:n,tags:r,postsToShow:l,postType:i,taxType:s,postTax:c,displayPostTitle:p,displaySpotlightPostTitle:b,PostTitleLength:u,displayPostAuthor:d,displaySpotlightPostAuthor:g,displayPostDate:m,displaySpotlightPostDate:f,displayPostExcerpt:h,displaySpotlightPostExcerpt:k,excerptLength:y,excerptSpotlightLength:v,enableComment:O,enableSpotlightComment:E,displayPostLink:x,displaySpotPostLink:w,readMoreText:S,express:T,marginTop:j,marginBottom:F,marginLeft:M,marginRight:B,imageSize:L,offset:z,contentOrder:N,postTitleColor:P,postTitleFontSize:D,linkColor:R,backGroundColor:A,generalColor:I,borderRadius:H,enableBoxShadow:G,xOffset:W,yOffset:U,blur:q,spread:V,shadowColor:$,titleOnHover:X,titleOnHoverColor:Y,titleLoadGoogleFonts:J,titleFontFamily:Z,titleFontWeight:Q,titleFontSubset:ee,titleFontSizeType:te,titleFontSizeMobile:ae,titleFontSizeTablet:oe,descriptionFontSize:re,descriptionFontFamily:le,descriptionFontWeight:ie,descriptionFontSubset:se,descriptionFontSizeType:pe,descriptionFontSizeMobile:be,descriptionFontSizeTablet:ue,descriptionLoadGoogleFonts:de,contentPaddingTop:ge,contentPaddingLeft:me,contentPaddingBottom:fe,contentPaddingRight:he,titleMarginTop:ke,titleMarginBottom:ye,titleMarginLeft:ve,titleMarginRight:Ce,metaMarginTop:Oe,metaMarginBottom:Ee,metaMarginLeft:xe,metaMarginRight:we,exceprtMarginTop:Se,exceprtMarginBottom:Te,exceprtMarginLeft:je,exceprtMarginRight:Fe,moreLinkMarginTop:Me,moreLinkMarginBottom:Be,moreLinkMarginLeft:Le,moreLinkMarginRight:ze,authorIcon:Ne,dateIcon:Pe,commentIcon:De,spostTitleFontSize:Re,spostTitleFontFamily:Ae,spostTitleFontWeight:_e,spostTitleFontSubset:Ie,spostTitleFontSizeType:He,spostTitleFontSizeMobile:Ge,spostTitleFontSizeTablet:We,spostTitleLoadGoogleFonts:Ue,displaySpotLightExceprt:qe,enableEqualHeight:Ve,enablePagination:$e,loadMoreText:Xe,loadMoreStyle:Ye,loadMoreTextColor:Je,loadMoreSolidTextColor:Ke,loadMoreTextHoverColor:Ze,loadMoreSolidTextHoverColor:Qe,loadMoreTextBgColor:et,loadMoreTextBgHoverColor:tt,loadMoreAlignment:at,loadMoreColor:ot,enableFeatureImage:nt,gutterSpace:rt,postTitleLineHeight:lt,postMetaFontSize:it,postMetaFontFamily:st,postMetaFontWeight:ct,postMetaFontSubset:pt,postMetaFontSizeType:bt,postMetaFontSizeMobile:ut,postMetaFontSizeTablet:dt,postMetaLoadGoogleFonts:gt,displayPostCategory:mt,displaySpotlightPostCategory:ft,categoryLayoutOption:ht,categoryTextColor:kt,categoryBackgroundColor:yt,categoryBorderColor:vt,secondCategoryTextColor:Ct,secondCategoryBackgroundColor:Ot,secondCategoryBorderColor:Et,thirdCategoryTextColor:xt,thirdCategoryBackgroundColor:wt,thirdCategoryBorderColor:St,colorType:Tt},taxList:jt,taxOptions:Ft,taxFilterOptions:Mt,attributes:Bt,latestPosts:Lt,setAttributes:zt}=this.props,Nt=(Rk("Hover","blockspare"),Rk("Border","blockspare"),Rk("None","blockspare"),[{value:"",label:Rk("None","blockspare")},{value:"bs-loadmore-border",label:Rk("Border","blockspare")},{value:"bs-loadmore-solid",label:Rk("Solid","blockspare")}]),Pt=(Array.isArray(Lt)&&Lt.length,"post"===i),Dt={value:I,onChange:e=>zt({generalColor:e}),label:Rk("General Color","blockspare")},Rt={value:R,onChange:e=>zt({linkColor:e}),label:Rk("Link Color","blockspare")},At={value:P,onChange:e=>zt({postTitleColor:e}),label:Rk("Title Color","blockspare")},_t={value:A,onChange:e=>zt({backGroundColor:e}),label:Rk("Background Color","blockspare")},It={value:Y,onChange:e=>zt({titleOnHoverColor:e}),label:Rk("Title Hover Color","blockspare")};let Ht=!1;1!=d&&1!=m&&1!=O||(Ht=!0);const Gt=T.split("-"),Wt=e=>zt({loadMoreAlignment:e});return Object(o.createElement)(_k,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(Hk,{title:Rk("Layout Options","blockspare"),className:Pt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Qi,{initialOpen:!0,selected:T,paneltitle:_("Layouts","blockspare"),options:Ak("blockspare-posts-block.cta.edit.layouts",[{label:Rk("Express Style 1","blockspare"),value:"blockspare-posts-block-express-grid-layout-1",image:wk},{label:Rk("Express Style 2","blockspare"),value:"blockspare-posts-block-express-grid-layout-2",image:Sk},{label:Rk("Express Style 3","blockspare"),value:"blockspare-posts-block-express-grid-layout-3",image:Tk},{label:Rk("Express Style 4","blockspare"),value:"blockspare-posts-block-express-grid-layout-4",image:jk}]),onChange:e=>zt({express:e})}),Object(o.createElement)(Qi,{initialOpen:!1,selected:N,paneltitle:Rk("Content Order","blockspare"),options:Ak("blockspare-posts-block.cta.edit.layouts",[{label:Rk("Style 1","blockspare"),value:"content-order-1",image:yf},{label:Rk("Style 2","blockspare"),value:"content-order-2",image:vf}]),onChange:e=>zt({contentOrder:e})})),Object(o.createElement)(Hk,{title:Rk("Post Settings","blockspare"),className:Pt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Wk,{label:Rk("Select Posts Type:","blockspare"),options:Qk,value:i,onChange:e=>{zt({postType:e}),zt({taxType:""}),zt({categories:[]})}}),Object(o.createElement)(Wk,{label:Rk("Order by","blockspare"),options:[{label:Rk("Newest to Oldest","blockspare"),value:"date/desc"},{label:Rk("Oldest to Newest","blockspare"),value:"date/asc"},{
/* translators: label for ordering posts by title in ascending order */
label:Rk("A → Z","blockspare"),value:"title/asc"},{
/* translators: label for ordering posts by title in descending order */
label:Rk("Z → A","blockspare"),value:"title/desc"}],value:`${t}/${e}`,onChange:a=>{const[o,n]=a.split("/");n!==e&&zt({order:n}),o!==t&&zt({orderBy:o})}}),Object(o.createElement)(yn,{postType:i,taxList:jt,taxOptions:Ft,taxFilterOptions:Mt,setAttributes:zt,taxType:s,categories:a,postTax:c,tags:r}),Object(o.createElement)(Gk,{label:Rk("Number of posts","blockspare"),value:l,onChange:e=>zt({postsToShow:e}),min:1,max:50}),Object(o.createElement)(qk,{label:Rk("Enable Pagination","blockspare"),checked:$e,onChange:()=>this.props.setAttributes({enablePagination:!$e})}),$e&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Uk,{label:Rk("Load More Text","blockspare"),type:"text",value:Xe,onChange:e=>this.props.setAttributes({loadMoreText:e})}),Object(o.createElement)(Wk,{label:Rk("Fill","blockspare"),value:Ye,options:Nt.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>zt({loadMoreStyle:e})}),Object(o.createElement)(Yk,null,Object(o.createElement)(Jk,null,Object(o.createElement)("label",null,Rk("Alignment","blockspare"))),Object(o.createElement)(Jk,null,Object(o.createElement)(Vk,{label:"Options",id:"options-toolbar"},Object(o.createElement)($k,{style:{margin:0}},Object(o.createElement)(Xk,{icon:"editor-alignleft",label:Rk("Left","blockspare"),onClick:()=>Wt("left"),isPressed:"left"===at})),Object(o.createElement)($k,{style:{margin:0}},Object(o.createElement)(Xk,{icon:"editor-aligncenter",label:Rk("Center","blockspare"),onClick:()=>Wt("center"),isPressed:"center"===at})),Object(o.createElement)($k,{style:{margin:0}},Object(o.createElement)(Xk,{icon:"editor-alignright",label:Rk("Right","blockspare"),onClick:()=>Wt("right"),isPressed:"right"===at})))))),!1===$e&&Object(o.createElement)(Gk,{label:Rk("Number of items to offset","blockspare"),value:z,onChange:e=>zt({offset:e}),min:0,max:20})),Object(o.createElement)(Hk,{title:Rk("Block Settings","blockspare"),className:Pt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(qk,{label:Rk("Enable feature Image","blockspare"),checked:nt,onChange:()=>this.props.setAttributes({enableFeatureImage:!nt})}),Object(o.createElement)(qk,{label:Rk("Enable Equal Height","blockspare"),checked:Ve,onChange:()=>this.props.setAttributes({enableEqualHeight:!Ve})}),Object(o.createElement)(Pk,this.props),Object(o.createElement)("div",null,Object(o.createElement)(Gk,{label:Rk("Content Border Radius","blockspare"),value:H,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:50,step:1}),Object(o.createElement)(xf,{gutterSpace:rt,onChangegutterSpace:e=>zt({gutterSpace:e})}),Object(o.createElement)(qk,{label:Rk("Enable Box Shadow","blockspare"),checked:G,onChange:()=>this.props.setAttributes({enableBoxShadow:!G})}),G&&Object(o.createElement)(ji,{enableShadowColor:!1,enableOptions:!0,shadowColor:$,onChangeShadowColor:e=>zt({shadowColor:e}),xOffset:W,onChangeXOffset:e=>zt({xOffset:e}),yOffset:U,onChangeYOffset:e=>zt({yOffset:e}),blur:q,onChangeBlur:e=>zt({blur:e}),spread:V,onChangeSpread:e=>zt({spread:e})}))),Object(o.createElement)(Nf,C()({display:mt||ft},this.props)),Object(o.createElement)(Hk,{title:Rk("Typography Settings","blockspare"),initialOpen:!1},b&&Object(o.createElement)(Oo,{label:Rk("Spotlight Title Fonts"),attributes:Bt,setAttributes:zt,loadGoogleFonts:{value:Ue,label:Rk("spostTitleLoadGoogleFonts")},fontFamily:{value:Ae,label:Rk("spostTitleFontFamily")},fontWeight:{value:_e,label:Rk("spostTitleFontWeight")},fontSubset:{value:Ie,label:Rk("spostTitleFontSubset")},fontSizeType:{value:He,label:Rk("spostTitleFontSizeType")},fontSize:{value:Re,label:Rk("spostTitleFontSize")},fontSizeMobile:{value:Ge,label:Rk("spostTitleFontSizeMobile")},fontSizeTablet:{value:We,label:Rk("spostTitleFontSizeTablet")},disableLineHeight:!0}),p&&Object(o.createElement)(Oo,{label:Rk("Title Fonts"),attributes:Bt,setAttributes:zt,loadGoogleFonts:{value:J,label:Rk("titleLoadGoogleFonts")},fontFamily:{value:Z,label:Rk("titleFontFamily")},fontWeight:{value:Q,label:Rk("titleFontWeight")},fontSubset:{value:ee,label:Rk("titleFontSubset")},fontSizeType:{value:te,label:Rk("titleFontSizeType")},fontSize:{value:D,label:Rk("postTitleFontSize")},fontSizeMobile:{value:ae,label:Rk("titleFontSizeMobile")},fontSizeTablet:{value:oe,label:Rk("titleFontSizeTablet")},disableLineHeight:!0}),Object(o.createElement)(Yf,C()({display:mt||ft},this.props)),(d||g||m||f||O||E)&&Object(o.createElement)(Oo,{label:Rk("Meta Fonts"),attributes:Bt,setAttributes:zt,loadGoogleFonts:{value:gt,label:Rk("postMetaLoadGoogleFonts")},fontFamily:{value:st,label:Rk("postMetaFontFamily")},fontWeight:{value:ct,label:Rk("postMetaFontWeight")},fontSubset:{value:pt,label:Rk("postMetaFontSubset")},fontSizeType:{value:bt,label:Rk("postMetaFontSizeType")},fontSize:{value:it,label:Rk("postMetaFontSize")},fontSizeMobile:{value:ut,label:Rk("postMetaFontSizeMobile")},fontSizeTablet:{value:dt,label:Rk("postMetaFontSizeTablet")},disableLineHeight:!0}),(h||k)&&Object(o.createElement)(Oo,{label:Rk("Description Fonts"),attributes:Bt,setAttributes:zt,loadGoogleFonts:{value:de,label:Rk("descriptionLoadGoogleFonts")},fontFamily:{value:le,label:Rk("descriptionFontFamily")},fontWeight:{value:ie,label:Rk("descriptionFontWeight")},fontSubset:{value:se,label:Rk("descriptionFontSubset")},fontSizeType:{value:pe,label:Rk("descriptionFontSizeType")},fontSize:{value:re,label:Rk("descriptionFontSize")},fontSizeMobile:{value:be,label:Rk("descriptionFontSizeMobile")},fontSizeTablet:{value:ue,label:Rk("descriptionFontSizeTablet")},disableLineHeight:!0}),(p||b)&&Object(o.createElement)(Gk,{label:Rk("Title Line Height","blockspare"),value:lt,onChange:e=>zt({postTitleLineHeight:e}),min:0,step:.1,max:2})),Object(o.createElement)(Hk,{title:Rk("Color Settings","blockspare"),className:Pt?null:"blockspare-posts-block-hide-query",initialOpen:!1},(p||b||d||g||h||k||O||E||m||f||x||w||Gt[6]<=3)&&Object(o.createElement)(Ik,{title:Rk("Colors","blockspare"),initialOpen:!0,colorSettings:[(p||b)&&At,(p||b)&&""!==X&&It,(d||g||x||w)&&Rt,(h||k||O||E||m||f)&&Dt,Gt[6]<=3?_t:""]}),Object(o.createElement)(If,{display:mt,colorType:Tt,onChangeColorType:e=>zt({colorType:e}),categoryLayoutOption:ht,color:kt,onChangeColor:e=>zt({categoryTextColor:e}),backgroundColor:yt,onChangeBackgroundColor:e=>zt({categoryBackgroundColor:e}),borderColor:vt,onChangeBorderColor:e=>zt({categoryBorderColor:e}),secondColor:Ct,onChangeSecondColor:e=>zt({secondCategoryTextColor:e}),secondBackgroundColor:Ot,onChangeSecondBackgroundColor:e=>zt({secondCategoryBackgroundColor:e}),secondBorderColor:Et,onChangeSecondBorderColor:e=>zt({secondCategoryBorderColor:e}),thirdColor:xt,onChangeThirdColor:e=>zt({thirdCategoryTextColor:e}),thirdBackgroundColor:wt,onChangeThirdBackgroundColor:e=>zt({thirdCategoryBackgroundColor:e}),thirdBorderColor:St,onChangeThirdBorderColor:e=>zt({thirdCategoryBorderColor:e})}),$e&&Object(o.createElement)(Ik,{title:Rk("Load More Color","blockspare"),initialOpen:!1,colorSettings:[{value:"bs-loadmore-solid"===Ye?Ke:Je,onChange:"bs-loadmore-solid"===Ye?e=>zt({loadMoreSolidTextColor:e}):e=>zt({loadMoreTextColor:e}),label:Rk("bs-loadmore-border"===Ye?"Text/Border Color":"Text Color","blockspare")},{value:"bs-loadmore-solid"===Ye?Qe:Ze,onChange:"bs-loadmore-solid"===Ye?e=>zt({loadMoreSolidTextHoverColor:e}):e=>zt({loadMoreTextHoverColor:e}),label:Rk("bs-loadmore-border"===Ye?"Text/Border Hover Color":"Text Hover Color","blockspare")},"bs-loadmore-solid"===Ye&&{value:et,onChange:e=>zt({loadMoreTextBgColor:e}),label:Rk("Background Color","blockspare")},"bs-loadmore-solid"===Ye&&{value:tt,onChange:e=>zt({loadMoreTextBgHoverColor:e}),label:Rk("Background Hover Color","blockspare")},{value:ot,onChange:e=>zt({loadMoreColor:e}),label:Rk("Loader Color","blockspare")}]})),1==Ht&&Object(o.createElement)(Hk,{title:Rk("Icon Settings"),initialOpen:!1},(d||g)&&Object(o.createElement)(Hk,{title:Rk("Author Icon"),initialOpen:!1},Object(o.createElement)(K,{name:Ne,onChangeName:e=>zt({authorIcon:e})})),(m||f)&&Object(o.createElement)(Hk,{title:Rk("Date Icon"),initialOpen:!1},Object(o.createElement)(K,{name:Pe,onChangeName:e=>zt({dateIcon:e})})),(O||E)&&Object(o.createElement)(Hk,{title:Rk("Comment Count Icon"),initialOpen:!1},Object(o.createElement)(K,{name:De,onChangeName:e=>zt({commentIcon:e})}))),Object(o.createElement)(Hk,{title:Rk("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(Hk,{title:Rk("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props)),Object(o.createElement)(Hk,{title:Rk("Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Hk,{title:Rk("Block Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:j,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>zt({marginTop:e}),marginEnableBottom:!0,marginBottom:F,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>zt({marginBottom:e}),marginEnableLeft:!0,marginLeft:M,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>zt({marginLeft:e}),marginEnableRight:!0,marginRight:B,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>zt({marginRight:e})})),Gt[6]<=3&&Object(o.createElement)(Hk,{title:Rk("Content Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(Gk,{label:Rk("Padding Top","blockspare"),value:ge,onChange:e=>zt({contentPaddingTop:e}),min:0,step:1,max:300}),Object(o.createElement)(Gk,{label:Rk("Padding Right","blockspare"),value:he,onChange:e=>zt({contentPaddingRight:e}),min:0,step:1,max:300}),Object(o.createElement)(Gk,{label:Rk("Padding Bottom","blockspare"),value:fe,onChange:e=>zt({contentPaddingBottom:e}),min:0,step:1,max:300}),Object(o.createElement)(Gk,{label:Rk("Padding Left","blockspare"),value:me,onChange:e=>zt({contentPaddingLeft:e}),min:0,step:1,max:300})),(p||b)&&Object(o.createElement)(Hk,{title:Rk("Title Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:ke,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>zt({titleMarginTop:e}),marginEnableBottom:!0,marginBottom:ye,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>zt({titleMarginBottom:e}),marginEnableLeft:!0,marginLeft:ve,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>zt({titleMarginLeft:e}),marginEnableRight:!0,marginRight:Ce,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>zt({titleMarginRight:e})})),Object(o.createElement)(qf,C()({display:mt||ft},this.props)),(d||g||m||f||O||E)&&Object(o.createElement)(Hk,{title:Rk("Meta Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:Oe,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>zt({metaMarginTop:e}),marginEnableBottom:!0,marginBottom:Ee,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>zt({metaMarginBottom:e}),marginEnableLeft:!0,marginLeft:xe,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>zt({metaMarginLeft:e}),marginEnableRight:!0,marginRight:we,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>zt({metaMarginRight:e})})),(h||qe)&&Object(o.createElement)(Hk,{title:Rk("Excerpt Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:Se,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>zt({exceprtMarginTop:e}),marginEnableBottom:!0,marginBottom:Te,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>zt({exceprtMarginBottom:e}),marginEnableLeft:!0,marginLeft:je,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>zt({exceprtMarginLeft:e}),marginEnableRight:!0,marginRight:Fe,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>zt({exceprtMarginRight:e})})),(x||w)&&Object(o.createElement)(Hk,{title:Rk("Read More Link Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:Me,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>zt({moreLinkMarginTop:e}),marginEnableBottom:!0,marginBottom:Be,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>zt({moreLinkMarginBottom:e}),marginEnableLeft:!0,marginLeft:Le,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>zt({moreLinkMarginLeft:e}),marginEnableRight:!0,marginRight:ze,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>zt({moreLinkMarginRight:e})})))))}}const{Component:ty,Fragment:ay}=wp.element,{__:oy}=wp.i18n,{compose:ny}=wp.compose,{apiFetch:ry}=wp,{addQueryArgs:ly}=wp.url,{decodeEntities:iy}=wp.htmlEntities,{withSelect:sy}=wp.data,{Placeholder:cy,Spinner:py}=wp.components,{taxonomies:by,postQueryEndpoint:uy}=blockspare_globals;var dy=ny([sy((e,t)=>{const{postsToShow:a,order:o,orderBy:n,categories:r,tags:l,postTax:i,postType:s,taxType:c}=t.attributes,{getEntityRecords:p}=e("core"),b=s||"post",u=by[b]&&by[b].taxonomy?by[b].taxonomy:[];let d=[],g="";return("post"!==b||i)&&void 0!==by[b]&&c&&(by[b].taxonomy&&by[b].taxonomy[c]&&(by[b].taxonomy&&0==by[b].taxonomy[c].rest_base||by[b].taxonomy&&null==by[b].taxonomy[c].rest_base?by[b].taxonomy&&by[b].taxonomy[c].name:by[b].taxonomy&&by[b].taxonomy[c].rest_base),by[b].terms&&by[b].terms[c]&&(d=by[b].terms[c])),{taxList:u,taxOptions:d}}),W,I(e=>{const{marginTop:t,marginBottom:a,marginLeft:o,marginRight:n,linkColor:r,postTitleColor:l,generalColor:i,express:s,postTitleFontSize:c,titleOnHover:p,titleOnHoverColor:b,titleFontFamily:u,titleFontWeight:d,titleFontSizeType:g,titleFontSizeMobile:m,titleFontSizeTablet:f,borderColor:h,backGroundColor:k,enableBoxShadow:y,borderRadius:v,shadowColor:C,xOffset:O,yOffset:E,blur:x,spread:w,descriptionFontSize:S,descriptionFontSizeMobile:T,descriptionFontSizeTablet:j,descriptionFontFamily:F,descriptionFontWeight:M,descriptionFontSizeType:B,contentPaddingTop:L,contentPaddingLeft:z,contentPaddingBottom:N,contentPaddingRight:P,titleMarginTop:D,titleMarginBottom:R,titleMarginLeft:A,titleMarginRight:_,metaMarginTop:I,metaMarginBottom:H,metaMarginLeft:G,metaMarginRight:W,exceprtMarginTop:U,exceprtMarginBottom:q,exceprtMarginLeft:V,exceprtMarginRight:$,moreLinkMarginTop:X,moreLinkMarginBottom:Y,moreLinkMarginLeft:J,moreLinkMarginRight:K,spostTitleFontSize:Z,spostTitleFontFamily:Q,spostTitleFontWeight:ee,spostTitleFontSizeType:te,spostTitleFontSizeMobile:ae,spostTitleFontSizeTablet:oe,enablePagination:ne,loadMoreTextColor:re,loadMoreSolidTextColor:le,loadMoreTextHoverColor:ie,loadMoreSolidTextHoverColor:se,loadMoreTextBgColor:ce,loadMoreTextBgHoverColor:pe,loadMoreAlignment:be,loadMoreStyle:ue,postTitleLineHeight:de,postMetaFontSizeTablet:ge,postMetaFontSize:me,postMetaFontSizeType:fe,postMetaFontFamily:he,postMetaFontWeight:ke,postMetaFontSizeMobile:ye,categoryTextColor:ve,categoryBackgroundColor:Ce,categoryBorderColor:Oe,secondCategoryTextColor:Ee,secondCategoryBackgroundColor:xe,secondCategoryBorderColor:we,thirdCategoryTextColor:Se,thirdCategoryBackgroundColor:Te,thirdCategoryBorderColor:je}=e.attributes,Fe=[];return"lpc-title-hover"===p&&Fe.push({".blockspare-posts-block-post-content .blockspare-posts-block-title-link:hover span":{color:b+"!important"}}),"lpc-title-border"===p&&Fe.push({".lpc-title-border .blockspare-posts-block-post-grid-title .blockspare-posts-block-title-link span:hover":{boxShadow:"inset 0 -2px 0 0 "+b}}),Fe.push({".blockspare-posts-block-post-grid-title a span":{color:l?l+"!important":"#404040"},".blockspare-posts-block-post-grid-author a span":{color:r||"#000000"},".blockspare-posts-block-text-link a":{color:r||"#000000"},".comment_count":{color:i||"#000"},".blockspare-posts-block-post-grid-date":{color:i||"#000"},".blockspare-posts-block-post-grid-excerpt":{color:i||"#000"},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt p":{color:i||"#000"},".blockspare-posts-block-post-grid-more-link span":{color:r||"#000000"}}),s.split("-")[6]>3?Fe.push({".blockspare-posts-block-latest-post-wrap .blockspare-posts-block-post-single .blockspare-posts-block-post-img":{borderRadius:v+"px",boxShadow:y?O+"px "+E+"px "+x+"px "+w+"px "+C:""}}):Fe.push({".blockspare-posts-block-latest-post-wrap .blockspare-posts-block-post-single":{borderRadius:v+"px",boxShadow:y?O+"px "+E+"px "+x+"px "+w+"px "+C:"",backgroundColor:k},".blockspare-posts-block-latest-post-wrap .blockspare-posts-block-post-single .blockspare-posts-block-post-content":{paddingTop:L+"px",paddingRight:P+"px",paddingBottom:N+"px",paddingLeft:z+"px"}}),mh(Fe,e.attributes,ve,Ce,Oe,Ee,xe,we,Se,Te,je),Fe.push({".blockspare-posts-block-post-wrap":{marginTop:t?t+"px":"0px",marginBottom:a?a+"px":"0px",marginLeft:o?o+"px":"0px",marginRight:n?n+"px":"0px"},".blockspare-posts-block-post-grid-more-link":{marginTop:X?X+"px":"0px",marginBottom:Y?Y+"px":"0px",marginLeft:J?J+"px":"0px",marginRight:K?K+"px":"0px"},".blockspare-posts-block-post-grid-title ":{marginTop:D?D+"px":"0px",marginBottom:R?R+"px":"0px",marginLeft:A?A+"px":"0px",marginRight:_?_+"px":"0px"},".blockspare-posts-block-post-content":{paddingTop:L+"px",paddingRight:P+"px",paddingBottom:N+"px",paddingLeft:z+"px"},".blockspare-posts-block-post-grid-excerpt-content ":{marginTop:U?U+"px":"0px",marginBottom:q?q+"px":"0px",marginLeft:V?V+"px":"0px",marginRight:$?$+"px":"0px"},".blockspare-posts-block-post-grid-byline":{marginTop:I?I+"px":"0px",marginBottom:H?H+"px":"0px",marginLeft:G?G+"px":"0px",marginRight:W?W+"px":"0px"},".blockspare-posts-block-post-grid-title a span":{fontSize:c+g,...Ro(u),...Ao(d),lineHeight:de},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:S+B,...Ro(F),...Ao(M)},".blockspare-posts-block-post-grid-author a span":{fontSize:me+fe,...Ro(he),...Ao(ke)},".blockspare-posts-block-post-grid-date":{fontSize:me+fe,...Ro(he),...Ao(ke)},".comment_count":{fontSize:me+fe,...Ro(he),...Ao(ke)},tablet:{".blockspare-posts-block-post-grid-title a span":{fontSize:f+g},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:j+B},".blockspare-posts-block-post-grid-author a span":{fontSize:ge+fe},".blockspare-posts-block-post-grid-date":{fontSize:ge+fe},".comment_count":{fontSize:ge+fe}},mobile:{".blockspare-posts-block-post-grid-title a span":{fontSize:m+g},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:T+B},".blockspare-posts-block-post-grid-author a span":{fontSize:ye+fe},".blockspare-posts-block-post-grid-date":{fontSize:ye+fe},".comment_count":{fontSize:ye+fe}}}),"blockspare-posts-block-express-grid-layout-3"!==s&&"blockspare-posts-block-express-grid-layout-6"!==s?Fe.push({".blockspare-posts-block-post-single:nth-child(1) .blockspare-posts-block-post-grid-title a span":{fontSize:Z+te,...Ro(Q),...Ao(ee)},tablet:{".blockspare-posts-block-post-single:nth-child(1) .blockspare-posts-block-post-grid-title a span":{fontSize:oe+te}},mobile:{".blockspare-posts-block-post-single:nth-child(1) .blockspare-posts-block-post-grid-title a span":{fontSize:ae+te}}}):Fe.push({".blockspare-posts-block-post-single:nth-child(1) .blockspare-posts-block-post-grid-title a span":{fontSize:Z+te,...Ro(Q),...Ao(ee)},".blockspare-posts-block-post-single:nth-child(2) .blockspare-posts-block-post-grid-title a span":{fontSize:Z+te,...Ro(Q),...Ao(ee)},tablet:{".blockspare-posts-block-post-single:nth-child(1) .blockspare-posts-block-post-grid-title a span":{fontSize:oe+te},".blockspare-posts-block-post-single:nth-child(2) .blockspare-posts-block-post-grid-title a span":{fontSize:oe+te}},mobile:{".blockspare-posts-block-post-single:nth-child(1) .blockspare-posts-block-post-grid-title a span":{fontSize:ae+te},".blockspare-posts-block-post-single:nth-child(2) .blockspare-posts-block-post-grid-title a span":{fontSize:ae+te}}}),!0===ne&&(Fe.push({".bs_blockspare_loadmore":{textAlign:be}}),"bs-loadmore-solid"===ue?Fe.push({".bs_blockspare_loadmore a.blockspare-readmore .load-btn":{color:le,backgroundColor:ce},".bs_blockspare_loadmore a.blockspare-readmore .load-btn:hover":{color:se,backgroundColor:pe}}):Fe.push({".bs_blockspare_loadmore a.blockspare-readmore .load-btn":{color:re},".bs_blockspare_loadmore a.blockspare-readmore .load-btn:hover":{color:ie}})),Do.a.all(Fe)})])(class extends ty{constructor(){super(...arguments),this.getPosts=this.getPosts.bind(this),this.state={latestPosts:[],loaded:!1},this.debouncedGetPosts=uf()(this.getPosts.bind(this),200)}componentDidMount(){this.getPosts()}componentDidUpdate(e){["postType","taxType","postTax","orderBy","order","categories","allcategories","tags","postsToShow","offset","enablePagination"].reduce((t,a)=>t||e.attributes[a]!==this.props.attributes[a],!1)&&(this.setState({loaded:!1}),this.debouncedGetPosts())}getPosts(){this.setState({loaded:!1}),ry({path:ly(uy,sf(this.props.attributes,"query"))}).then(e=>{this.setState({latestPosts:e,loaded:!0})}).catch(()=>{this.setState({latestPosts:[],loaded:!0})})}render(){const{attributes:{postType:e,taxType:t,align:a,displayPostTitle:n,PostTitleLength:r,displayPostCategory:l,displaySpotlightPostCategory:i,titleOnHover:s,express:c,postsToShow:p,sectionTag:b,imageSize:u="medium",spotslightImageSize:d,contentOrder:g,categoryLayoutOption:m,titleLoadGoogleFonts:f,titleFontFamily:h,titleFontWeight:k,descriptionLoadGoogleFonts:v,descriptionFontFamily:C,descriptionFontWeight:O,postListingOption:E,tileGaps:x,authorIcon:w,dateIcon:S,displayPostAuthor:T,displaySpotlightPostAuthor:j,displayPostDate:F,displayPostExcerpt:M,displaySpotlightPostExcerpt:B,displaySpotlightPostDate:L,enableComment:z,enableSpotlightComment:N,displayPostLink:P,displaySpotPostLink:D,excerptLength:R,excerptSpotlightLength:A,readMoreText:_,commentIcon:I,spostTitleFontFamily:H,spostTitleFontWeight:G,spostTitleLoadGoogleFonts:W,displaySpotLightExceprt:U,enableEqualHeight:q,animation:V,blockHoverEffect:$,enablePagination:X,loadMoreText:Y,enableFeatureImage:J,gutterSpace:K,loadMoreStyle:Z,loadMoreAlignment:Q,postCategoryLoadGoogleFonts:ee,postCategoryFontFamily:te,postCategoryFontWeight:ae,postMetaLoadGoogleFonts:oe,postMetaFontFamily:ne,postMetaFontWeight:re,imageHoverEffect:le},className:ie,attributes:se,setAttributes:ce}=this.props;let pe,be,ue,de,ge;if(c.split("-"),1==f){const e={google:{families:[h+(k?":"+k:"")]}};pe=Object(o.createElement)(Uo,{config:e})}if(1==v){const e={google:{families:[C+(O?":"+O:"")]}};be=Object(o.createElement)(Uo,{config:e})}if(!0===W){const e={google:{families:[H+(G?":"+G:"")]}};ue=Object(o.createElement)(Uo,{config:e})}if(1==ee){const e={google:{families:[te+(ae?":"+ae:"")]}};de=Object(o.createElement)(Uo,{config:e})}if(1==oe){const e={google:{families:[ne+(re?":"+re:"")]}};ge=Object(o.createElement)(Uo,{config:e})}const{latestPosts:me,loaded:fe}=this.state,he=Array.isArray(me)&&me.length>0,ke=e;if(!he)return Object(o.createElement)(ay,null,Object(o.createElement)(ey,{setAttributes:ce,...this.props}),Object(o.createElement)(cy,{icon:"admin-post",label:oy("Latest Posts Block","blockspare")},fe?oy("No posts found.","blockspare"):Object(o.createElement)(py,null)));const ye=me.length>p?me.slice(0,p):me,ve=b||"section",Ce=y()([ie,"blockspare-posts-block-latestpost-express-grid",V?"blockspare-block-animation":"",V,$,""!==a?"align"+a:"aligncenter",le]);let Oe=!1;"blockspare-posts-block-express-grid-layout-4"!==c&&"blockspare-posts-block-express-grid-layout-5"!==c&&"blockspare-posts-block-express-grid-layout-6"!==c&&(Oe=!0);let Ee="";U&&(Ee="has-spotlight-excerpt");const xe=y()(["none"===m?"has-no-category-style":"","blockspare-posts-block-post-category"]);let we=0;return"blockspare-posts-block-express-grid-layout-3"!==c&&"blockspare-posts-block-express-grid-layout-6"!==c||(we=1),Object(o.createElement)(ay,null,Object(o.createElement)(ey,{setAttributes:ce,...this.props}),Object(o.createElement)("div",{className:Ce},this.props.styles,Object(o.createElement)(ve,{className:y()(this.props.className,"blockspare-posts-block-post-wrap")},Object(o.createElement)("div",{className:y()("blockspare-posts-block-latest-post-wrap",c,"blockspare-posts-block-is-express",Ee,q?"bs-has-equal-height":"","has-gutter-"+K)},ye.map((a,r)=>{const c=(a.featured_image_src_large[u||"large"]||[])[0],p=(a.featured_image_src_large[d||"large"]||[])[0],b=void 0!==a.taxonomy_info?JSON.parse(a.taxonomy_info):"",m=c;let f=a.excerpt.rendered;return Object(o.createElement)("div",{className:y()("blockspare-posts-block-post-single",m?"":"post-has-no-image",Oe?"has-background":"blockspare-hover-child",q?"bs-has-equal-height":"","content-order-1"===g?"contentorderone":"","content-order-2"===g?"contentordertwo":"","blockspare-hover-item")},"undefined"!==c&&J&&Object(o.createElement)("figure",{className:"blockspare-posts-block-post-img hover-child"},Object(o.createElement)("a",null,p&&r<=we&&Object(o.createElement)("img",{src:p}),c&&r>we&&Object(o.createElement)("img",{src:c}),!c&&!p&&Object(o.createElement)("div",{class:"bs-no-thumbnail-img"}," ")),i&&("content-order-1"===g||"content-order-2"===g)&&r<=we&&Object(o.createElement)("div",{className:xe},Object(o.createElement)(pf,{postType:e,postTaxonomies:b,postCategories:a.category_info,taxType:t,tags:a.tag_info})),l&&("content-order-1"===g||"content-order-2"===g)&&r>we&&Object(o.createElement)("div",{className:xe},Object(o.createElement)(pf,{postType:e,postTaxonomies:b,postCategories:a.category_info,taxType:t,tags:a.tag_info}))),Object(o.createElement)("div",{className:y()("blockspare-posts-block-post-content",g,s)},Object(o.createElement)("div",{className:"blockspare-posts-block-bg-overlay"}),Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-header"},l&&!J&&Object(o.createElement)("div",{className:xe},Object(o.createElement)(pf,{postType:e,postTaxonomies:b,postCategories:a.category_info,taxType:t,tags:a.tag_info})),l&&J&&"content-order-1"!==g&&"content-order-2"!==g&&Object(o.createElement)("div",{className:xe},Object(o.createElement)(pf,{postType:e,postTaxonomies:b,postCategories:a.category_info,taxType:t,tags:a.tag_info})),n&&Object(o.createElement)("h4",{className:"blockspare-posts-block-post-grid-title"},Object(o.createElement)("a",{target:"_blank",rel:"bookmark",className:"blockspare-posts-block-title-link"},Object(o.createElement)("span",{dangerouslySetInnerHTML:{__html:iy(a.title.rendered)}}))),ke&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-byline"},j&&a.author_info.info&&r<=we&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-author"},a.author_info.info.map((e,t)=>Object(o.createElement)("a",null,Object(o.createElement)("span",null,t<1&&Object(o.createElement)("i",{className:w}),e.trim(),t!==a.author_info.info.length-1?", ":"")))),T&&a.author_info.info&&r>we&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-author"},a.author_info.info.map((e,t)=>Object(o.createElement)("a",null,Object(o.createElement)("span",null,t<1&&Object(o.createElement)("i",{className:w}),e.trim(),t!==a.author_info.info.length-1?", ":"")))),L&&r<=we&&Object(o.createElement)("time",{dateTime:gf()(a.date_gmt).utc().format(),className:"blockspare-posts-block-post-grid-date"},Object(o.createElement)("i",{className:S}),gf()(a.date_gmt).local().format("MMMM DD, Y","blockspare")),F&&r>we&&Object(o.createElement)("time",{dateTime:gf()(a.date_gmt).utc().format(),className:"blockspare-posts-block-post-grid-date"},Object(o.createElement)("i",{className:S}),gf()(a.date_gmt).local().format("MMMM DD, Y","blockspare")),N&&r<=we&&Object(o.createElement)("span",{className:"comment_count"},Object(o.createElement)("i",{className:I}),a.comment_count," "),z&&r>we&&Object(o.createElement)("span",{className:"comment_count"},Object(o.createElement)("i",{className:I}),a.comment_count," "))),B&&r<=we&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-excerpt"},B&&a.excerpt&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-excerpt-content",dangerouslySetInnerHTML:{__html:gy(f,A)}}),D&&Object(o.createElement)("p",null,Object(o.createElement)("a",{className:"blockspare-posts-block-post-grid-more-link blockspare-posts-block-text-link",target:"_blank",rel:"bookmark"},Object(o.createElement)("span",null,_)))),M&&r>we&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-excerpt"},M&&a.excerpt&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-excerpt-content",dangerouslySetInnerHTML:{__html:gy(f,R)}}),P&&Object(o.createElement)("p",null,Object(o.createElement)("a",{className:"blockspare-posts-block-post-grid-more-link blockspare-posts-block-text-link",target:"_blank",rel:"bookmark"},Object(o.createElement)("span",null,_))))))})),X&&Object(o.createElement)("div",{class:`bs_blockspare_loadmore blockspare-readmore-wrapper ${Z} bs_blockspare_loadmore_${Q}`},Object(o.createElement)("a",{href:"#",class:"blockspare-readmore"},Object(o.createElement)("div",{class:"load-btn"},Y," ",Object(o.createElement)("span",{class:"ajax-loader"})))))),pe,be,ue,de,ge)}});function gy(e,t){return e.split(" ").splice(0,t).join(" ")}var my=a(248);const{name:fy,category:hy}=my,{__:ky}=wp.i18n,{registerBlockType:yy}=wp.blocks;yy(fy,{title:ky("Posts Express Grid","blockspare"),description:ky("Add posts layouts from selected categories.","blockspare"),category:hy,icon:s.a.post_express_grid,keywords:[ky("af","blockspare"),ky("article","blockspare"),ky("archive","blockspare"),ky("block","blockspare"),ky("blocks","blockspare"),ky("blog","blockspare"),ky("box","blockspare"),ky("category","blockspare"),ky("express","blockspare"),ky("full","blockspare"),ky("grid","blockspare"),ky("latest","blockspare"),ky("list","blockspare"),ky("latest posts block","blockspare"),ky("post","blockspare"),ky("posts","blockspare"),ky("tile","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{design:"blockspare-posts-block-grid-layout-1",postsToShow:6,displayPostCategory:!0,displayPostAuthor:!0,displayPostDate:!0,imageSize:"medium",postTitleFontSize:16}},edit:dy,save:()=>null,deprecated:[{attributes:{...my.attributes,categories:{type:"string"}},migrate:e=>({...e,categories:[{value:Number(e.categories),label:"selected"}]}),isEligible:e=>{let{categories:t}=e;return t&&"string"==typeof t},save:()=>null}]}),a(377);var vy=a.p+"images/blockspare-posts-carousel-grid-layout-1.37f47040.png",Cy=a.p+"images/blockspare-posts-carousel-grid-layout-2.c25228dd.png",Oy=a.p+"images/blockspare-posts-carousel-grid-layout-3.b310ab68.png";const{Component:Ey}=wp.element,{__:xy}=wp.i18n,{applyFilters:wy}=wp.hooks,{InspectorControls:Sy,PanelColorSettings:Ty}=wp.blockEditor,{PanelBody:jy,RangeControl:Fy,SelectControl:My,TextControl:By,ToggleControl:Ly}=wp.components,{addQueryArgs:zy}=wp.url,{apiFetch:Ny}=wp,{postTypes:Py}=blockspare_globals;class Dy extends Ey{imageSizeSelect(){var e,t,a;const o=null===(e=wp)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.select("core/editor"))||void 0===a?void 0:a.getEditorSettings();return an()(io()(null==o?void 0:o.imageSizes,e=>{let{name:t,slug:a}=e;return{value:a,label:t}}))}render(){const{attributes:{order:e,orderBy:t,categories:a,allcategories:n,tags:r,postsToShow:l,postType:i,taxType:s,postTax:c,displayPostCategory:p,displayPostAuthor:b,displayPostDate:u,displayPostExcerpt:d,displayPostLink:g,excerptLength:m,readMoreText:f,grid:h="blockspare-posts-block-grid-layout-1",columns:k,backGroundColor:y,marginTop:v,marginBottom:O,marginLeft:E,marginRight:x,imageSize:w,offset:S,postTitleColor:T,postTitleFontSize:j,linkColor:F,generalColor:M,borderRadius:B,enableBoxShadow:L,xOffset:z,yOffset:N,blur:P,spread:D,shadowColor:R,contentOrder:A,titleLoadGoogleFonts:I,titleFontFamily:H,titleFontWeight:G,titleFontSubset:W,titleFontSizeType:U,titleFontSizeMobile:q,titleFontSizeTablet:V,descriptionFontSize:$,descriptionFontFamily:X,descriptionFontWeight:Y,descriptionFontSubset:J,descriptionFontSizeType:Z,descriptionFontSizeMobile:Q,descriptionFontSizeTablet:ee,descriptionLoadGoogleFonts:te,lineHeight:ae,contentPaddingTop:oe,contentPaddingLeft:re,contentPaddingBottom:le,contentPaddingRight:ie,titleMarginTop:se,titleMarginBottom:pe,titleMarginLeft:be,titleMarginRight:ue,metaMarginTop:de,metaMarginBottom:ge,metaMarginLeft:me,metaMarginRight:fe,exceprtMarginTop:he,exceprtMarginBottom:ke,exceprtMarginLeft:ye,exceprtMarginRight:ve,moreLinkMarginTop:Ce,moreLinkMarginBottom:Oe,moreLinkMarginLeft:Ee,moreLinkMarginRight:xe,categoryLayoutOption:we,categoryTextColor:Se,categoryBackgroundColor:Te,categoryBorderColor:je,secondCategoryTextColor:Fe,secondCategoryBackgroundColor:Me,secondCategoryBorderColor:Be,thirdCategoryTextColor:Le,thirdCategoryBackgroundColor:ze,thirdCategoryBorderColor:Ne,authorIcon:Pe,dateIcon:De,enableComment:Re,commentIcon:Ae,gutterSpace:_e,numberofSlide:Ie,enableAutoPlay:He,carouselSpeed:Ge,showsliderNextPrev:We,carouselNextIcon:Ue,showDots:qe,navigationColor:Ve,navigationSize:$e,enableNavInHover:Xe,navigationShape:Ye,navigationShapeColor:Je,titleOnHover:Ke,titleOnHoverColor:Ze,enableEqualHeight:Qe,enableFeatureImage:et,postMetaFontSize:tt,postMetaFontFamily:at,postMetaFontWeight:ot,postMetaFontSubset:nt,postMetaFontSizeType:rt,postMetaFontSizeMobile:lt,postMetaFontSizeTablet:it,postMetaLoadGoogleFonts:st,colorType:ct},taxList:pt,taxOptions:bt,taxFilterOptions:ut,attributes:dt,latestPosts:gt,setAttributes:mt}=this.props,ft=[{value:"fas fa-chevron-right",label:xy("Chevron","blockspare")},{value:"fas fa-angle-right",label:xy("Angle","blockspare")},{value:"fas fa-chevron-circle-right",label:xy("Chevron Circle","blockspare")}],ht=(xy("Small","blockspare"),xy("Medium","blockspare"),xy("Large","blockspare"),xy("Shape 1","blockspare"),xy("Shape 2","blockspare"),xy("Shape 3","blockspare"),xy("Shape 4","blockspare"),xy("Shape 5","blockspare"),xy("Hover","blockspare"),xy("Border","blockspare"),xy("None","blockspare"),Array.isArray(gt)&&gt.length,this.imageSizeSelect()),kt="post"===i,yt={value:T,onChange:e=>mt({postTitleColor:e}),label:xy("Title Color","blockspare")},vt={value:M,onChange:e=>mt({generalColor:e}),label:xy("General Color","blockspare")},Ct={value:F,onChange:e=>mt({linkColor:e}),label:xy("Link Color","blockspare")},Ot={value:Ze,onChange:e=>mt({titleOnHoverColor:e}),label:xy("Title Hover Color","blockspare")};let Et=!1;return 1!=b&&1!=u&&1!=Re||(Et=!0),Object(o.createElement)(Sy,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(jy,{title:xy("Layout Options","blockspare"),className:kt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Qi,{initialOpen:!0,selected:h,paneltitle:_("Layouts","blockspare"),options:wy("blockspare-posts-block.cta.edit.layouts",[{label:xy("Grid Style 1","blockspare"),value:"blockspare-posts-block-grid-layout-1",image:vy},{label:xy("Grid Style 2","blockspare"),value:"blockspare-posts-block-grid-layout-2",image:Cy},{label:xy("Grid Style 3","blockspare"),value:"blockspare-posts-block-grid-layout-3",image:Oy}]),onChange:e=>mt({grid:e})}),Object(o.createElement)(Qi,{initialOpen:!1,selected:A,paneltitle:"Content Order",options:wy("blockspare-posts-block.cta.edit.layouts",[{label:xy("Style 1","blockspare"),value:"content-order-1",image:yf},{label:xy("Style 2","blockspare"),value:"content-order-2",image:vf}]),onChange:e=>mt({contentOrder:e})})),Object(o.createElement)(jy,{title:xy("Carousel Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Fy,{label:xy("Number of slide to show","blockspare"),value:Ie,onChange:e=>mt({numberofSlide:e}),min:1,max:4}),Object(o.createElement)(Fy,{label:xy("Gutter Sapce","blockspare"),value:_e,onChange:e=>mt({gutterSpace:e}),min:0,max:6}),Object(o.createElement)(Ly,{label:xy("Enable Autoplay","blockspare"),checked:He,onChange:()=>this.props.setAttributes({enableAutoPlay:!He})}),Object(o.createElement)(By,{label:xy("Slide Speed","blockspare"),type:"text",value:Ge,onChange:e=>this.props.setAttributes({carouselSpeed:e})}),We&&Object(o.createElement)(My,{label:xy(" Navigation Style","blockspare"),value:Ue,options:ft.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>mt({carouselNextIcon:e})})),Object(o.createElement)(jy,{title:xy("Post Settings","blockspare"),className:kt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(My,{label:xy("Select Posts Type:","blockspare"),options:Py,value:i,onChange:e=>{mt({postType:e}),mt({taxType:""}),mt({categories:[]})}}),Object(o.createElement)(My,{label:xy("Order by","blockspare"),options:[{label:xy("Newest to Oldest","blockspare"),value:"date/desc"},{label:xy("Oldest to Newest","blockspare"),value:"date/asc"},{
/* translators: label for ordering posts by title in ascending order */
label:xy("A → Z","blockspare"),value:"title/asc"},{
/* translators: label for ordering posts by title in descending order */
label:xy("Z → A","blockspare"),value:"title/desc"}],value:`${t}/${e}`,onChange:a=>{const[o,n]=a.split("/");n!==e&&mt({order:n}),o!==t&&mt({orderBy:o})}}),Object(o.createElement)(yn,{postType:i,taxList:pt,taxOptions:bt,taxFilterOptions:ut,setAttributes:mt,taxType:s,categories:a,postTax:c,tags:r}),Object(o.createElement)(Fy,{label:xy("Number of posts","blockspare"),value:l,onChange:e=>mt({postsToShow:e}),min:1,max:50}),Object(o.createElement)(Fy,{label:xy("Number of items to offset","blockspare"),value:S,onChange:e=>mt({offset:e}),min:0,max:20})),Object(o.createElement)(jy,{title:xy("Block Settings","blockspare"),className:kt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Ly,{label:xy("Enable feature Image","blockspare"),checked:et,onChange:()=>this.props.setAttributes({enableFeatureImage:!et})}),et&&Object(o.createElement)(My,{label:xy("Image Size","blockspare"),value:(()=>{for(let e=0;e<ht.length;e++)if(ht[e].value===w)return w;return"full"})(),options:ht,onChange:e=>this.props.setAttributes({imageSize:e})}),Object(o.createElement)(Ly,{label:xy("Enable Equal Height","blockspare"),checked:Qe,onChange:()=>this.props.setAttributes({enableEqualHeight:!Qe})}),Object(o.createElement)(Ly,{label:xy("Display Category","blockspare"),checked:p,onChange:()=>this.props.setAttributes({displayPostCategory:!p})}),Object(o.createElement)(Ly,{label:xy("Display Author","blockspare"),checked:b,onChange:()=>this.props.setAttributes({displayPostAuthor:!b})}),Object(o.createElement)(Ly,{label:xy("Display Date","blockspare"),checked:u,onChange:()=>this.props.setAttributes({displayPostDate:!u})}),Object(o.createElement)(Ly,{label:xy("Display Comment Count","blockspare"),checked:Re,onChange:()=>this.props.setAttributes({enableComment:!Re})}),Object(o.createElement)(Ly,{label:xy("Display Excerpt","blockspare"),checked:d,onChange:()=>this.props.setAttributes({displayPostExcerpt:!d})}),d&&Object(o.createElement)(Fy,{label:xy("Excerpt Length","blockspare"),value:m,onChange:e=>mt({excerptLength:e}),min:0,max:150}),d&&Object(o.createElement)(Ly,{label:xy("Display Read More Link","blockspare"),checked:g,onChange:()=>this.props.setAttributes({displayPostLink:!g})}),d&&g&&Object(o.createElement)(By,{label:xy("Customize Continue Reading Text","blockspare"),type:"text",value:f,onChange:e=>this.props.setAttributes({readMoreText:e})}),Object(o.createElement)(Ly,{label:xy("Enable Box Shadow","blockspare"),checked:L,onChange:()=>this.props.setAttributes({enableBoxShadow:!L})}),Object(o.createElement)(Fy,{label:xy("Content Border Radius","blockspare"),value:B,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:50,step:1}),L&&Object(o.createElement)(ji,{enableShadowColor:!1,enableOptions:!0,shadowColor:R,onChangeShadowColor:e=>mt({shadowColor:e}),xOffset:z,onChangeXOffset:e=>mt({xOffset:e}),yOffset:N,onChangeYOffset:e=>mt({yOffset:e}),blur:P,onChangeBlur:e=>mt({blur:e}),spread:D,onChangeSpread:e=>mt({spread:e})})),Object(o.createElement)(Nf,C()({display:p},this.props)),Object(o.createElement)(jy,{title:xy("Typography Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:xy("Title Fonts"),attributes:dt,setAttributes:mt,loadGoogleFonts:{value:I,label:xy("titleLoadGoogleFonts")},fontFamily:{value:H,label:xy("titleFontFamily")},fontWeight:{value:G,label:xy("titleFontWeight")},fontSubset:{value:W,label:xy("titleFontSubset")},fontSizeType:{value:U,label:xy("titleFontSizeType")},fontSize:{value:j,label:xy("postTitleFontSize")},fontSizeMobile:{value:q,label:xy("titleFontSizeMobile")},fontSizeTablet:{value:V,label:xy("titleFontSizeTablet")},disableLineHeight:!0}),Object(o.createElement)(Yf,C()({display:p},this.props)),(b||u||Re)&&Object(o.createElement)(Oo,{label:xy("Meta Fonts"),attributes:dt,setAttributes:mt,loadGoogleFonts:{value:st,label:xy("postMetaLoadGoogleFonts")},fontFamily:{value:at,label:xy("postMetaFontFamily")},fontWeight:{value:ot,label:xy("postMetaFontWeight")},fontSubset:{value:nt,label:xy("postMetaFontSubset")},fontSizeType:{value:rt,label:xy("postMetaFontSizeType")},fontSize:{value:tt,label:xy("postMetaFontSize")},fontSizeMobile:{value:lt,label:xy("postMetaFontSizeMobile")},fontSizeTablet:{value:it,label:xy("postMetaFontSizeTablet")},disableLineHeight:!0}),d&&Object(o.createElement)(Oo,{label:xy("Description Fonts"),attributes:dt,setAttributes:mt,loadGoogleFonts:{value:te,label:xy("descriptionLoadGoogleFonts")},fontFamily:{value:X,label:xy("descriptionFontFamily")},fontWeight:{value:Y,label:xy("descriptionFontWeight")},fontSubset:{value:J,label:xy("descriptionFontSubset")},fontSizeType:{value:Z,label:xy("descriptionFontSizeType")},fontSize:{value:$,label:xy("descriptionFontSize")},fontSizeMobile:{value:Q,label:xy("descriptionFontSizeMobile")},fontSizeTablet:{value:ee,label:xy("descriptionFontSizeTablet")},disableLineHeight:!0}),Object(o.createElement)(Fy,{label:xy("Title Line Height","blockspare"),value:ae,onChange:e=>mt({lineHeight:e}),min:0,step:.1,max:20})),Object(o.createElement)(jy,{title:xy("Color Settings","blockspare"),className:kt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Ty,{title:xy("Colors","blockspare"),initialOpen:!0,colorSettings:[yt,""===Ke?"":Ot,(b||g)&&Ct,(d||Re||u)&&vt]}),Object(o.createElement)(If,{display:p,colorType:ct,onChangeColorType:e=>mt({colorType:e}),categoryLayoutOption:we,color:Se,onChangeColor:e=>mt({categoryTextColor:e}),backgroundColor:Te,onChangeBackgroundColor:e=>mt({categoryBackgroundColor:e}),borderColor:je,onChangeBorderColor:e=>mt({categoryBorderColor:e}),secondColor:Fe,onChangeSecondColor:e=>mt({secondCategoryTextColor:e}),secondBackgroundColor:Me,onChangeSecondBackgroundColor:e=>mt({secondCategoryBackgroundColor:e}),secondBorderColor:Be,onChangeSecondBorderColor:e=>mt({secondCategoryBorderColor:e}),thirdColor:Le,onChangeThirdColor:e=>mt({thirdCategoryTextColor:e}),thirdBackgroundColor:ze,onChangeThirdBackgroundColor:e=>mt({thirdCategoryBackgroundColor:e}),thirdBorderColor:Ne,onChangeThirdBorderColor:e=>mt({thirdCategoryBorderColor:e})}),We&&Object(o.createElement)(Ty,{title:xy("Navigation Color","blockspare"),initialOpen:!1,colorSettings:[{value:Ve,onChange:e=>mt({navigationColor:e}),label:xy("Navigation Color","blockspare")},{value:Je,onChange:e=>mt({navigationShapeColor:e}),label:xy("Navigation Shape Color","blockspare")}]}),Object(o.createElement)("div",null,"blockspare-posts-block-grid-layout-3"!==h&&"blockspare-posts-block-grid-layout-4"!==h&&Object(o.createElement)(Ty,{title:xy("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:y,onChange:e=>mt({backGroundColor:e}),label:xy("Background Color","blockspare")}]}))),1==Et&&Object(o.createElement)(jy,{title:xy("Icon Settings"),initialOpen:!1},b&&Object(o.createElement)(jy,{title:xy("Author Icon"),initialOpen:!1},Object(o.createElement)(K,{name:Pe,onChangeName:e=>mt({authorIcon:e})})),u&&Object(o.createElement)(jy,{title:xy("Date Icon"),initialOpen:!1},Object(o.createElement)(K,{name:De,onChangeName:e=>mt({dateIcon:e})})),Re&&Object(o.createElement)(jy,{title:xy("Comment Count Icon"),initialOpen:!1},Object(o.createElement)(K,{name:Ae,onChangeName:e=>mt({commentIcon:e})}))),Object(o.createElement)(jy,{title:xy("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(jy,{title:xy("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props)),Object(o.createElement)(jy,{title:xy("Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(jy,{title:xy("Block Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:v,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>mt({marginTop:e}),marginEnableBottom:!0,marginBottom:O,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>mt({marginBottom:e}),marginEnableLeft:!0,marginLeft:E,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>mt({marginLeft:e}),marginEnableRight:!0,marginRight:x,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>mt({marginRight:e})})),Object(o.createElement)(jy,{title:xy("Content Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(Fy,{label:xy("Padding Top","blockspare-posts-block-carousel"),value:oe,onChange:e=>mt({contentPaddingTop:e}),min:0,step:1,max:300}),Object(o.createElement)(Fy,{label:xy("Padding Right","blockspare-posts-block-carousel"),value:ie,onChange:e=>mt({contentPaddingRight:e}),min:0,step:1,max:300}),Object(o.createElement)(Fy,{label:xy("Padding Bottom","blockspare-posts-block-carousel"),value:le,onChange:e=>mt({contentPaddingBottom:e}),min:0,step:1,max:300}),Object(o.createElement)(Fy,{label:xy("Padding Left","blockspare-posts-block-carousel"),value:re,onChange:e=>mt({contentPaddingLeft:e}),min:0,step:1,max:300})),Object(o.createElement)(jy,{title:xy("Title Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:se,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>mt({titleMarginTop:e}),marginEnableBottom:!0,marginBottom:pe,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>mt({titleMarginBottom:e}),marginEnableLeft:!0,marginLeft:be,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>mt({titleMarginLeft:e}),marginEnableRight:!0,marginRight:ue,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>mt({titleMarginRight:e})})),Object(o.createElement)(qf,C()({display:p},this.props)),(u||b||Re)&&Object(o.createElement)(jy,{title:xy("Meta Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:de,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>mt({metaMarginTop:e}),marginEnableBottom:!0,marginBottom:ge,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>mt({metaMarginBottom:e}),marginEnableLeft:!0,marginLeft:me,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>mt({metaMarginLeft:e}),marginEnableRight:!0,marginRight:fe,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>mt({metaMarginRight:e})})),d&&Object(o.createElement)(jy,{title:xy("Excerpt Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:he,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>mt({exceprtMarginTop:e}),marginEnableBottom:!0,marginBottom:ke,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>mt({exceprtMarginBottom:e}),marginEnableLeft:!0,marginLeft:ye,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>mt({exceprtMarginLeft:e}),marginEnableRight:!0,marginRight:ve,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>mt({exceprtMarginRight:e})})),g&&Object(o.createElement)(jy,{title:xy("Read More Link Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:Ce,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>mt({moreLinkMarginTop:e}),marginEnableBottom:!0,marginBottom:Oe,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>mt({moreLinkMarginBottom:e}),marginEnableLeft:!0,marginLeft:Ee,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>mt({moreLinkMarginLeft:e}),marginEnableRight:!0,marginRight:xe,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>mt({moreLinkMarginRight:e})})))))}}const{Component:Ry,Fragment:Ay}=wp.element,{__:_y}=wp.i18n,{compose:Iy}=wp.compose,{decodeEntities:Hy}=wp.htmlEntities,{apiFetch:Gy}=wp,{addQueryArgs:Wy}=wp.url,{withSelect:Uy}=wp.data,{Placeholder:qy,Spinner:Vy}=wp.components,{taxonomies:$y,postQueryEndpoint:Xy}=blockspare_globals;var Yy=Iy([Uy((e,t)=>{const{postsToShow:a,order:o,orderBy:n,categories:r,tags:l,postTax:i,postType:s,taxType:c}=t.attributes,{getEntityRecords:p}=e("core"),b=s||"post",u=$y[b]&&$y[b].taxonomy?$y[b].taxonomy:[];let d=[],g="";return("post"!==b||i)&&void 0!==$y[b]&&c&&($y[b].taxonomy&&$y[b].taxonomy[c]&&($y[b].taxonomy&&0==$y[b].taxonomy[c].rest_base||$y[b].taxonomy&&null==$y[b].taxonomy[c].rest_base?$y[b].taxonomy&&$y[b].taxonomy[c].name:$y[b].taxonomy&&$y[b].taxonomy[c].rest_base),$y[b].terms&&$y[b].terms[c]&&(d=$y[b].terms[c])),{taxList:u,taxOptions:d}}),W,I(e=>{const{marginTop:t,marginBottom:a,marginLeft:o,marginRight:n,linkColor:r,postTitleColor:l,generalColor:i,design:s,grid:c,express:p,full:b,tile:u,postTitleFontSize:d,postListingOption:g,titleFontFamily:m,titleFontWeight:f,titleFontSubset:h,titleFontSizeType:k,titleFontSizeMobile:y,titleFontSizeTablet:v,borderColor:C,backGroundColor:O,enableBoxShadow:E,borderRadius:x,shadowColor:w,xOffset:S,yOffset:T,blur:j,spread:F,descriptionFontSize:M,descriptionFontFamily:B,descriptionFontWeight:L,descriptionFontSubset:z,descriptionFontSizeType:N,descriptionFontSizeMobile:P,descriptionFontSizeTablet:D,lineHeight:R,contentPaddingTop:A,contentPaddingLeft:_,contentPaddingBottom:I,contentPaddingRight:H,titleMarginTop:G,titleMarginBottom:W,titleMarginLeft:U,titleMarginRight:q,metaMarginTop:V,metaMarginBottom:$,metaMarginLeft:X,metaMarginRight:Y,exceprtMarginTop:J,exceprtMarginBottom:K,exceprtMarginLeft:Z,exceprtMarginRight:Q,moreLinkMarginTop:ee,moreLinkMarginBottom:te,moreLinkMarginLeft:ae,moreLinkMarginRight:oe,categoryTextColor:ne,categoryBackgroundColor:re,categoryBorderColor:le,secondCategoryTextColor:ie,secondCategoryBackgroundColor:se,secondCategoryBorderColor:ce,thirdCategoryTextColor:pe,thirdCategoryBackgroundColor:be,thirdCategoryBorderColor:ue,navigationShape:de,navigationColor:ge,titleOnHover:me,titleOnHoverColor:fe,navigationShapeColor:he,postMetaFontSizeTablet:ke,postMetaFontSize:ye,postMetaFontSizeType:ve,postMetaFontFamily:Ce,postMetaFontWeight:Oe,postMetaFontSizeMobile:Ee}=e.attributes,xe=[];xe.push({".blockspare-posts-block-latest-post-carousel-wrap span:before":{color:ge||"#fff"},".blockspare-posts-block-latest-post-carousel-wrap ul li button":{color:ge||"#fff"},".blockspare-posts-block-is-carousel .slick-slider .slick-dots > li button":{backgroundColor:ge||"#fff"}}),"lpc-navigation-1"===de||"lpc-navigation-2"===de?xe.push({".blockspare-posts-block-is-carousel .slick-slider .slick-arrow:after":{backgroundColor:he}}):"lpc-navigation-3"===de||"lpc-navigation-4"===de?xe.push({".blockspare-posts-block-is-carousel .slick-slider .slick-arrow":{borderColor:he}}):xe.push({".blockspare-posts-block-is-carousel .slick-slider .slick-arrow":{backgroundColor:"transparent",borderColor:"transparent"}}),xe.push({".blockspare-posts-block-post-grid-title a span":{color:l?l+"!important":"#404040"},".blockspare-posts-block-post-grid-author a span":{color:r||"#000000"},".blockspare-posts-block-text-link a":{color:r||"#000000"},".comment_count":{color:i||"#000"},".blockspare-posts-block-post-grid-date":{color:i||"#000"},".blockspare-posts-block-post-grid-excerpt":{color:i||"#000"},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt p":{color:i||"#000"},".blockspare-posts-block-post-grid-more-link span":{color:r||"#000000"}}),mh(xe,e.attributes,ne,re,le,ie,se,ce,pe,be,ue),xe.push({".blockspare-posts-block-post-wrap":{marginTop:t?t+"px":"0px",marginBottom:a?a+"px":"0px",marginLeft:o?o+"px":"0px",marginRight:n?n+"px":"0px"},".blockspare-posts-block-post-grid-more-link":{marginTop:ee?ee+"px":"0px",marginBottom:te?te+"px":"0px",marginLeft:ae?ae+"px":"0px",marginRight:oe?oe+"px":"0px"},".blockspare-posts-block-post-grid-title ":{marginTop:G?G+"px":"0px",marginBottom:W?W+"px":"0px",marginLeft:U?U+"px":"0px",marginRight:q?q+"px":"0px"},".blockspare-posts-block-post-content":{paddingTop:A+"px",paddingRight:H+"px",paddingBottom:I+"px",paddingLeft:_+"px"},".blockspare-posts-block-post-grid-excerpt-content ":{marginTop:J?J+"px":"0px",marginBottom:K?K+"px":"0px",marginLeft:Z?Z+"px":"0px",marginRight:Q?Q+"px":"0px"},".blockspare-posts-block-post-grid-byline":{marginTop:V?V+"px":"0px",marginBottom:$?$+"px":"0px",marginLeft:X?X+"px":"0px",marginRight:Y?Y+"px":"0px"}}),"lpc-title-hover"===me&&xe.push({".blockspare-posts-block-post-content .blockspare-posts-block-title-link:hover span":{color:fe+"!important"}}),"lpc-title-border"===me&&xe.push({".lpc-title-border .blockspare-posts-block-post-grid-title .blockspare-posts-block-title-link span:hover":{boxShadow:"inset 0 -2px 0 0 "+fe}});let we=!1;return"blockspare-posts-block-grid-layout-1"!=c&&"blockspare-posts-block-grid-layout-2"!=c&&"blockspare-posts-block-grid-layout-5"!=c&&"blockspare-posts-block-grid-layout-6"!=c&&"blockspare-posts-block-grid-layout-9"!=c&&"blockspare-posts-block-grid-layout-10"!=c&&"blockspare-posts-block-grid-layout-13"!=c&&"blockspare-posts-block-grid-layout-14"!=c||(we=!0),1==we?xe.push({".blockspare-posts-block-post-wrap .blockspare-posts-block-post-single":{boxShadow:E?S+"px "+T+"px "+j+"px "+F+"px "+w:"none",borderRadius:x?x+"px":0}}):xe.push({".blockspare-posts-block-post-wrap .blockspare-posts-block-post-single .blockspare-posts-block-post-img":{boxShadow:E?S+"px "+T+"px "+j+"px "+F+"px "+w:"none",borderRadius:x?x+"px":0}}),"blockspare-posts-block-grid-layout-4"!==c&&"blockspare-posts-block-grid-layout-3"!==c&&"blockspare-posts-block-grid-layout-7"!==c&&"blockspare-posts-block-grid-layout-8"!==c&&"blockspare-posts-block-grid-layout-11"!==c&&"blockspare-posts-block-grid-layout-12"!==c&&xe.push({".blockspare-posts-block-post-wrap .blockspare-posts-block-post-single":{backgroundColor:O||"transparent"}}),xe.push({".blockspare-posts-block-post-grid-title a span":{fontSize:d+k,...Ro(m),...Ao(f),lineHeight:R},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:M+N,...Ro(B),...Ao(L)},".blockspare-posts-block-post-grid-author a span":{fontSize:ye+ve,...Ro(Ce),...Ao(Oe)},".blockspare-posts-block-post-grid-date":{fontSize:ye+ve,...Ro(Ce),...Ao(Oe)},".comment_count":{fontSize:ye+ve,...Ro(Ce),...Ao(Oe)},tablet:{".blockspare-posts-block-post-grid-title a span":{fontSize:v+k},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:D+N},".blockspare-posts-block-post-grid-author a span":{fontSize:ke+ve},".blockspare-posts-block-post-grid-date":{fontSize:ke+ve},".comment_count":{fontSize:ke+ve}},mobile:{".blockspare-posts-block-post-grid-title a span":{fontSize:y+k},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:P+N},".blockspare-posts-block-post-grid-author a span":{fontSize:Ee+ve},".blockspare-posts-block-post-grid-date":{fontSize:Ee+ve},".comment_count":{fontSize:Ee+ve}}}),Do.a.all(xe)})])(class extends Ry{constructor(){super(...arguments),this.getPosts=this.getPosts.bind(this),this.state={latestPosts:[],loaded:!1},this.debouncedGetPosts=uf()(this.getPosts.bind(this),200)}componentDidMount(){this.getPosts()}componentDidUpdate(e){["postType","taxType","postTax","orderBy","order","categories","allcategories","tags","postsToShow","offset"].reduce((t,a)=>t||e.attributes[a]!==this.props.attributes[a],!1)&&(this.setState({loaded:!1}),this.debouncedGetPosts())}getPosts(){this.setState({loaded:!1}),Gy({path:Wy(Xy,sf(this.props.attributes,"query"))}).then(e=>{this.setState({latestPosts:e,loaded:!0})}).catch(()=>{this.setState({latestPosts:[],loaded:!0})})}render(){const{attributes:{postType:e,taxType:t,align:a,contentOrder:n,displayPostCategory:r,displayPostAuthor:l,displayPostDate:i,grid:s,design:c,express:p,tile:b,full:u,postsToShow:d,sectionTag:g,imageSize:m="medium",categoryLayoutOption:f,titleLoadGoogleFonts:h,titleFontFamily:k,titleFontWeight:v,descriptionLoadGoogleFonts:C,descriptionFontFamily:O,descriptionFontWeight:E,postListingOption:x,tileGaps:w,enableAutoPlay:S,authorIcon:T,dateIcon:j,enableComment:F,commentIcon:M,displayPostExcerpt:B,excerptLength:L,displayPostLink:z,readMoreText:N,spostTitleFontFamily:P,spostTitleFontWeight:D,spostTitleLoadGoogleFonts:R,gutterSpace:A,numberofSlide:_,carouselSpeed:I,showsliderNextPrev:H,carouselNextIcon:G,showDots:W,navigationSize:U,navigationShape:q,enableNavInHover:V,titleOnHover:$,enableEqualHeight:X,animation:Y,blockHoverEffect:J,enableFeatureImage:K,enableBoxShadow:Z,postCategoryLoadGoogleFonts:Q,postCategoryFontFamily:ee,postCategoryFontWeight:te,postMetaLoadGoogleFonts:ae,postMetaFontFamily:oe,postMetaFontWeight:ne,imageHoverEffect:re},className:le,attributes:ie,setAttributes:se}=this.props;let ce,pe,be,ue,de;if(1==h){const e={google:{families:[k+(v?":"+v:"")]}};ce=Object(o.createElement)(Uo,{config:e})}if(1==C){const e={google:{families:[O+(E?":"+E:"")]}};pe=Object(o.createElement)(Uo,{config:e})}if(!0===R){const e={google:{families:[P+(D?":"+D:"")]}};be=Object(o.createElement)(Uo,{config:e})}if(1==Q){const e={google:{families:[ee+(te?":"+te:"")]}};ue=Object(o.createElement)(Uo,{config:e})}if(1==ae){const e={google:{families:[oe+(ne?":"+ne:"")]}};de=Object(o.createElement)(Uo,{config:e})}let ge=!1;"blockspare-posts-block-carousel-full"===x&&"blockspare-posts-block-full-layout-11"===u&&(ge=!0);const{latestPosts:me,loaded:fe}=this.state,he=Array.isArray(me)&&me.length>0,ke=e;if(!he)return Object(o.createElement)(Ay,null,Object(o.createElement)(Dy,{setAttributes:se,...this.props}),Object(o.createElement)(qy,{icon:"admin-post",label:_y("Latest Posts Block","blockspare")},fe?_y("No posts found.","blockspare"):Object(o.createElement)(Vy,null)));const ye=me.length>d?me.slice(0,d):me,ve=g||"section",Ce=y()([le,""!==a?"align"+a:"aligncenter",Y?"blockspare-block-animation":"",Y,J,Z?"bs-has-shadow":"",re]);let Oe=!1;"blockspare-posts-block-grid-layout-3"!==s&&"blockspare-posts-block-grid-layout-4"!==s&&(Oe=!0);const Ee=y()(["none"===f?"has-no-category-style":"","blockspare-posts-block-post-category"]);let xe=1,we=1;_>2?(xe=2,we=1):xe=_;const Se={dots:W,loop:!0,autoplay:S,speed:I,arrows:H,slidesToShow:"latest-posts-block-carousel-grid"===x?_:1,nextArrow:Object(o.createElement)(Jy,{next:!0,IconArrow:G}),prevArrow:Object(o.createElement)(Jy,{prev:!0,IconArrow:G}),centerMode:ge,responsive:[{breakpoint:900,settings:{slidesToShow:{responsivelayoutTab:xe},slidesToScroll:1,centerMode:!1}},{breakpoint:600,settings:{slidesToShow:{responsivelayoutTab:xe},slidesToScroll:1,centerMode:!1}},{breakpoint:480,settings:{slidesToShow:{responsivelayoutMobile:we},slidesToScroll:1,centerMode:!1}}]};return Object(o.createElement)(Ay,null,Object(o.createElement)(Dy,{setAttributes:se,...this.props}),Object(o.createElement)("div",{className:Ce},this.props.styles,Object(o.createElement)(ve,{className:y()(this.props.className,"blockspare-posts-block-post-wrap")},Object(o.createElement)("div",{className:y()("blockspare-posts-block-latest-post-carousel-wrap","blockspare-posts-block-latest-post-wrap","has-gutter-space-"+A,"blockspare-posts-block-is-carousel",U,q,V?"nav-on-hover":"",x,s,"blockspare-slides-"+_)},Object(o.createElement)(Lu.a,Se,ye.map((a,s)=>{const c=(a.featured_image_src_large[m||"large"]||[])[0],p=void 0!==a.taxonomy_info?JSON.parse(a.taxonomy_info):"";let b=a.excerpt.rendered;return Object(o.createElement)("div",{className:y()("blockspare-posts-block-post-single",c?"":"post-has-no-image",Oe?"has-background":"blockspare-hover-child",X?"bs-has-equal-height":"","content-order-1"===n?"contentorderone":"","content-order-2"===n?"contentordertwo":"","blockspare-hover-item")},"undefined"!==c&&K&&Object(o.createElement)("figure",{className:"blockspare-posts-block-post-img hover-child"},Object(o.createElement)("a",{href:"javascript:void(0);"}," ",c&&Object(o.createElement)("img",{src:c}),!c&&Object(o.createElement)("div",{class:"bs-no-thumbnail-img"}," ")),r&&("content-order-1"===n||"content-order-2"===n)&&Object(o.createElement)("div",{className:Ee},Object(o.createElement)(pf,{postType:e,postTaxonomies:p,postCategories:a.category_info,taxType:t,tags:a.tag_info}))),Object(o.createElement)("div",{className:y()("blockspare-posts-block-post-content",$,n)},Object(o.createElement)("div",{className:"blockspare-posts-block-bg-overlay"}),Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-header"},r&&!K&&Object(o.createElement)("div",{className:Ee},Object(o.createElement)(pf,{postType:e,postTaxonomies:p,postCategories:a.category_info,taxType:t,tags:a.tag_info})),r&&K&&"content-order-1"!==n&&"content-order-2"!==n&&Object(o.createElement)("div",{className:Ee},Object(o.createElement)(pf,{postType:e,postTaxonomies:p,postCategories:a.category_info,taxType:t,tags:a.tag_info})),Object(o.createElement)("h4",{className:"blockspare-posts-block-post-grid-title"},Object(o.createElement)("a",{target:"_blank",rel:"bookmark",className:"blockspare-posts-block-title-link"},Object(o.createElement)("span",{dangerouslySetInnerHTML:{__html:Hy(a.title.rendered)}}))),ke&&(l||i||F)&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-byline"},l&&a.author_info.info&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-author"},a.author_info.info.map((e,t)=>Object(o.createElement)("a",null,Object(o.createElement)("span",null,t<1&&Object(o.createElement)("i",{className:T}),e.trim(),t!==a.author_info.info.length-1?", ":"")))),i&&a.date_gmt&&Object(o.createElement)("time",{dateTime:gf()(a.date_gmt).utc().format(),className:"blockspare-posts-block-post-grid-date"},Object(o.createElement)("i",{className:j}),gf()(a.date_gmt).local().format("MMMM DD, Y","blockspare")),F&&Object(o.createElement)("span",{className:"comment_count"},Object(o.createElement)("i",{className:M}),a.comment_count," "))),B&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-excerpt"},B&&a.excerpt&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-excerpt-content",dangerouslySetInnerHTML:{__html:(u=b,d=L,u.split(" ").splice(0,d).join(" "))}}),z&&Object(o.createElement)("p",null,Object(o.createElement)("a",{className:"blockspare-posts-block-post-grid-more-link blockspare-posts-block-text-link",target:"_blank",rel:"bookmark"},Object(o.createElement)("span",null,N))))));var u,d}))))),ce,pe,be,ue,de)}});function Jy(e){const{className:t,style:a,onClick:n,IconArrow:r,prev:l,next:i}=e;if(1==i)return Object(o.createElement)("span",{className:y()("slide-next slick-arrow ",r),onClick:n});var s=r.replace("right","left");return Object(o.createElement)("span",{className:y()("slide-prev slick-arrow ",s),onClick:n})}var Ky=a(249);const{name:Zy,category:Qy}=Ky,{__:ev}=wp.i18n,{registerBlockType:tv}=wp.blocks;tv(Zy,{title:ev("Posts Carousel","blockspare"),description:ev("Add posts layouts from selected categories.","blockspare"),category:Qy,icon:s.a.post_carousel,keywords:[ev("af","blockspare"),ev("article","blockspare"),ev("archive","blockspare"),ev("block","blockspare"),ev("blocks","blockspare"),ev("blog","blockspare"),ev("box","blockspare"),ev("category","blockspare"),ev("express","blockspare"),ev("full","blockspare"),ev("grid","blockspare"),ev("latest","blockspare"),ev("list","blockspare"),ev("latest posts block","blockspare"),ev("post","blockspare"),ev("posts","blockspare"),ev("tile","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{design:"blockspare-posts-block-grid-layout-1",postsToShow:6,displayPostCategory:!0,displayPostAuthor:!0,displayPostDate:!0,imageSize:"medium",postTitleFontSize:16}},edit:Yy,save:()=>null,deprecated:[{attributes:{...Ky.attributes,categories:{type:"string"}},migrate:e=>({...e,categories:[{value:Number(e.categories),label:"selected"}]}),isEligible:e=>{let{categories:t}=e;return t&&"string"==typeof t},save:()=>null}]}),a(378);var av=a.p+"images/blockspare-posts-carousel-full-layout-1.55c6967d.png",ov=a.p+"images/blockspare-posts-carousel-full-layout-2.7c02df02.png",nv=a.p+"images/blockspare-posts-carousel-full-layout-3.6674d670.png",rv=a.p+"images/blockspare-posts-carousel-full-layout-4.1fbe6ef2.png";const{Component:lv}=wp.element,{__:iv}=wp.i18n,{applyFilters:sv}=wp.hooks,{InspectorControls:cv,PanelColorSettings:pv}=wp.blockEditor,{PanelBody:bv,RangeControl:uv,SelectControl:dv,TextControl:gv,ToggleControl:mv}=wp.components,{addQueryArgs:fv}=wp.url,{apiFetch:hv}=wp,{postTypes:kv}=blockspare_globals;class yv extends lv{imageSizeSelect(){var e,t,a;const o=null===(e=wp)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.select("core/editor"))||void 0===a?void 0:a.getEditorSettings();return an()(io()(null==o?void 0:o.imageSizes,e=>{let{name:t,slug:a}=e;return{value:a,label:t}}))}render(){const{attributes:{order:e,orderBy:t,categories:a,allcategories:n,tags:r,postsToShow:l,postType:i,taxType:s,postTax:c,displayPostCategory:p,displayPostAuthor:b,displayPostDate:u,displayPostExcerpt:d,displayPostLink:g,excerptLength:m,readMoreText:f,slider:h="blockspare-posts-block-full-layout-1",contentOrder:k,backGroundColor:y,enableBackgroundColor:v,marginTop:O,marginBottom:E,marginLeft:x,marginRight:w,imageSize:S,offset:T,postTitleColor:j,postTitleFontSize:F,linkColor:M,generalColor:B,borderRadius:L,enableBoxShadow:z,xOffset:N,yOffset:P,blur:D,spread:R,shadowColor:A,titleLoadGoogleFonts:I,titleFontFamily:H,titleFontWeight:G,titleFontSubset:W,titleFontSizeType:U,titleFontSizeMobile:q,titleFontSizeTablet:V,descriptionFontSize:$,descriptionFontFamily:X,descriptionFontWeight:Y,descriptionFontSubset:J,descriptionFontSizeType:Z,descriptionFontSizeMobile:Q,descriptionFontSizeTablet:ee,descriptionLoadGoogleFonts:te,lineHeight:ae,contentPaddingTop:oe,contentPaddingLeft:re,contentPaddingBottom:le,contentPaddingRight:ie,titleMarginTop:se,titleMarginBottom:pe,titleMarginLeft:be,titleMarginRight:ue,metaMarginTop:de,metaMarginBottom:ge,metaMarginLeft:me,metaMarginRight:fe,exceprtMarginTop:he,exceprtMarginBottom:ke,exceprtMarginLeft:ye,exceprtMarginRight:ve,moreLinkMarginTop:Ce,moreLinkMarginBottom:Oe,moreLinkMarginLeft:Ee,moreLinkMarginRight:xe,fullPostTitleColor:we,fullPostLinkColor:Se,fullPostGeneralColor:Te,categoryLayoutOption:je,categoryTextColor:Fe,categoryBackgroundColor:Me,categoryBorderColor:Be,secondCategoryTextColor:Le,secondCategoryBackgroundColor:ze,secondCategoryBorderColor:Ne,thirdCategoryTextColor:Pe,thirdCategoryBackgroundColor:De,thirdCategoryBorderColor:Re,tileCategoryTextColor:Ae,tileCategoryBackgroundColor:_e,tileCategoryBorderColor:Ie,tileSecondCategoryTextColor:He,tileSecondCategoryBackgroundColor:Ge,tileSecondCategoryBorderColor:We,tileThirdCategoryTextColor:Ue,tileThirdCategoryBackgroundColor:qe,tileThirdCategoryBorderColor:Ve,authorIcon:$e,dateIcon:Xe,enableComment:Ye,commentIcon:Je,gutterSpace:Ke,numberofSlide:Ze,enableAutoPlay:Qe,carouselSpeed:et,showsliderNextPrev:tt,carouselNextIcon:at,showDots:ot,navigationColor:nt,navigationSize:rt,enableNavInHover:lt,navigationShape:it,navigationShapeColor:st,titleOnHover:ct,titleOnHoverColor:pt,tileTitleOnHoverColor:bt,enableEqualHeight:ut,postMetaFontSize:dt,postMetaFontFamily:gt,postMetaFontWeight:mt,postMetaFontSubset:ft,postMetaFontSizeType:ht,postMetaFontSizeMobile:kt,postMetaFontSizeTablet:yt,postMetaLoadGoogleFonts:vt,colorType:Ct},taxList:Ot,taxOptions:Et,taxFilterOptions:xt,attributes:wt,latestPosts:St,setAttributes:Tt}=this.props,jt=[{value:"fas fa-chevron-right",label:iv("Chevron","blockspare")},{value:"fas fa-angle-right",label:iv("Angle","blockspare")},{value:"fas fa-chevron-circle-right",label:iv("Chevron Circle","blockspare")}],Ft=(iv("Small","blockspare"),iv("Medium","blockspare"),iv("Large","blockspare"),iv("Shape 1","blockspare"),iv("Shape 2","blockspare"),iv("Shape 3","blockspare"),iv("Shape 4","blockspare"),iv("Shape 5","blockspare"),iv("Hover","blockspare"),iv("Border","blockspare"),iv("None","blockspare"),Array.isArray(St)&&St.length,e=>Tt({colorType:e})),Mt=this.imageSizeSelect(),Bt="post"===i,Lt={value:j,onChange:e=>Tt({postTitleColor:e}),label:iv("Title Color","blockspare")},zt={value:B,onChange:e=>Tt({generalColor:e}),label:iv("General Color","blockspare")},Nt={value:M,onChange:e=>Tt({linkColor:e}),label:iv("Link Color","blockspare")},Pt={value:we,onChange:e=>Tt({fullPostTitleColor:e}),label:iv("Title Over Image Color","blockspare")},Dt={value:Te,onChange:e=>Tt({fullPostGeneralColor:e}),label:iv("Text Over General  Color","blockspare")},Rt={value:Se,onChange:e=>Tt({fullPostLinkColor:e}),label:iv("Text Over Link Color","blockspare")},At={value:pt,onChange:e=>Tt({titleOnHoverColor:e}),label:iv("Title Hover Color","blockspare")},_t={value:bt,onChange:e=>Tt({tileTitleOnHoverColor:e}),label:iv("Title Hover Color","blockspare")};let It=!1;return 1!=b&&1!=u&&1!=Ye||(It=!0),Object(o.createElement)(cv,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(bv,{title:iv("Layout Options","blockspare"),className:Bt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Qi,{initialOpen:!0,selected:h,paneltitle:_("Layouts","blockspare"),options:sv("blockspare-posts-block.cta.edit.layouts",[{label:iv("Slider Style 1","blockspare"),value:"blockspare-posts-block-full-layout-1",image:av},{label:iv("Slider Style 2","blockspare"),value:"blockspare-posts-block-full-layout-2",image:ov},{label:iv("Slider Style 3","blockspare"),value:"blockspare-posts-block-full-layout-3",image:nv},{label:iv("Slider Style 4","blockspare"),value:"blockspare-posts-block-full-layout-4",image:rv}]),onChange:e=>Tt({slider:e})}),Object(o.createElement)(Qi,{initialOpen:!1,selected:k,paneltitle:"Content Order",options:sv("blockspare-posts-block.cta.edit.layouts",[{label:iv("Style 1","blockspare"),value:"content-order-1",image:yf},{label:iv("Style 2","blockspare"),value:"content-order-2",image:vf}]),onChange:e=>Tt({contentOrder:e})})),Object(o.createElement)(bv,{title:iv("Slider Settings","blockspare"),initialOpen:!1},Object(o.createElement)(mv,{label:iv("Enable Autoplay","blockspare"),checked:Qe,onChange:()=>this.props.setAttributes({enableAutoPlay:!Qe})}),Object(o.createElement)(gv,{label:iv("Slide Speed","blockspare"),type:"text",value:et,onChange:e=>this.props.setAttributes({carouselSpeed:e})}),tt&&Object(o.createElement)(dv,{label:iv(" Navigation Style","blockspare"),value:at,options:jt.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>Tt({carouselNextIcon:e})})),Object(o.createElement)(bv,{title:iv("Post Settings","blockspare"),className:Bt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(dv,{label:iv("Select Posts Type:","blockspare"),options:kv,value:i,onChange:e=>{Tt({postType:e}),Tt({taxType:""}),Tt({categories:[]})}}),Object(o.createElement)(dv,{label:iv("Order by","blockspare"),options:[{label:iv("Newest to Oldest","blockspare"),value:"date/desc"},{label:iv("Oldest to Newest","blockspare"),value:"date/asc"},{
/* translators: label for ordering posts by title in ascending order */
label:iv("A → Z","blockspare"),value:"title/asc"},{
/* translators: label for ordering posts by title in descending order */
label:iv("Z → A","blockspare"),value:"title/desc"}],value:`${t}/${e}`,onChange:a=>{const[o,n]=a.split("/");n!==e&&Tt({order:n}),o!==t&&Tt({orderBy:o})}}),Object(o.createElement)(yn,{postType:i,taxList:Ot,taxOptions:Et,taxFilterOptions:xt,setAttributes:Tt,taxType:s,categories:a,postTax:c,tags:r}),Object(o.createElement)(uv,{label:iv("Number of posts","blockspare"),value:l,onChange:e=>Tt({postsToShow:e}),min:1,max:50}),Object(o.createElement)(uv,{label:iv("Number of items to offset","blockspare"),value:T,onChange:e=>Tt({offset:e}),min:0,max:20})),Object(o.createElement)(bv,{title:iv("Block Settings","blockspare"),className:Bt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(dv,{label:iv("Image Size","blockspare"),value:(()=>{for(let e=0;e<Mt.length;e++)if(Mt[e].value===S)return S;return"full"})(),options:Mt,onChange:e=>this.props.setAttributes({imageSize:e})}),Object(o.createElement)(mv,{label:iv("Enable Equal Height","blockspare"),checked:ut,onChange:()=>this.props.setAttributes({enableEqualHeight:!ut})}),Object(o.createElement)(mv,{label:iv("Display Category","blockspare"),checked:p,onChange:()=>this.props.setAttributes({displayPostCategory:!p})}),Object(o.createElement)(mv,{label:iv("Display Author","blockspare"),checked:b,onChange:()=>this.props.setAttributes({displayPostAuthor:!b})}),Object(o.createElement)(mv,{label:iv("Display Date","blockspare"),checked:u,onChange:()=>this.props.setAttributes({displayPostDate:!u})}),Object(o.createElement)(mv,{label:iv("Display Comment Count","blockspare"),checked:Ye,onChange:()=>this.props.setAttributes({enableComment:!Ye})}),Object(o.createElement)(mv,{label:iv("Display Excerpt","blockspare"),checked:d,onChange:()=>this.props.setAttributes({displayPostExcerpt:!d})}),d&&Object(o.createElement)(uv,{label:iv("Excerpt Length","blockspare"),value:m,onChange:e=>Tt({excerptLength:e}),min:0,max:150}),d&&Object(o.createElement)(mv,{label:iv("Display Read More Link","blockspare"),checked:g,onChange:()=>this.props.setAttributes({displayPostLink:!g})}),d&&g&&Object(o.createElement)(gv,{label:iv("Customize Continue Reading Text","blockspare"),type:"text",value:f,onChange:e=>this.props.setAttributes({readMoreText:e})}),Object(o.createElement)(mv,{label:iv("Enable Box Shadow","blockspare-posts-block-carousel"),checked:z,onChange:()=>this.props.setAttributes({enableBoxShadow:!z})}),Object(o.createElement)(uv,{label:iv("Content Border Radius","blockspare"),value:L,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:50,step:1}),z&&Object(o.createElement)(ji,{enableShadowColor:!1,enableOptions:!0,shadowColor:A,onChangeShadowColor:e=>Tt({shadowColor:e}),xOffset:N,onChangeXOffset:e=>Tt({xOffset:e}),yOffset:P,onChangeYOffset:e=>Tt({yOffset:e}),blur:D,onChangeBlur:e=>Tt({blur:e}),spread:R,onChangeSpread:e=>Tt({spread:e})})),Object(o.createElement)(Nf,C()({display:p},this.props)),Object(o.createElement)(bv,{title:iv("Typography Settings","blockspare-posts-block-carousel"),initialOpen:!1},Object(o.createElement)(Oo,{label:iv("Title Fonts"),attributes:wt,setAttributes:Tt,loadGoogleFonts:{value:I,label:iv("titleLoadGoogleFonts")},fontFamily:{value:H,label:iv("titleFontFamily")},fontWeight:{value:G,label:iv("titleFontWeight")},fontSubset:{value:W,label:iv("titleFontSubset")},fontSizeType:{value:U,label:iv("titleFontSizeType")},fontSize:{value:F,label:iv("postTitleFontSize")},fontSizeMobile:{value:q,label:iv("titleFontSizeMobile")},fontSizeTablet:{value:V,label:iv("titleFontSizeTablet")},disableLineHeight:!0}),Object(o.createElement)(Yf,C()({display:p},this.props)),(b||u||Ye)&&Object(o.createElement)(Oo,{label:iv("Meta Fonts"),attributes:wt,setAttributes:Tt,loadGoogleFonts:{value:vt,label:iv("postMetaLoadGoogleFonts")},fontFamily:{value:gt,label:iv("postMetaFontFamily")},fontWeight:{value:mt,label:iv("postMetaFontWeight")},fontSubset:{value:ft,label:iv("postMetaFontSubset")},fontSizeType:{value:ht,label:iv("postMetaFontSizeType")},fontSize:{value:dt,label:iv("postMetaFontSize")},fontSizeMobile:{value:kt,label:iv("postMetaFontSizeMobile")},fontSizeTablet:{value:yt,label:iv("postMetaFontSizeTablet")},disableLineHeight:!0}),d&&Object(o.createElement)(Oo,{label:iv("Description Fonts"),attributes:wt,setAttributes:Tt,loadGoogleFonts:{value:te,label:iv("descriptionLoadGoogleFonts")},fontFamily:{value:X,label:iv("descriptionFontFamily")},fontWeight:{value:Y,label:iv("descriptionFontWeight")},fontSubset:{value:J,label:iv("descriptionFontSubset")},fontSizeType:{value:Z,label:iv("descriptionFontSizeType")},fontSize:{value:$,label:iv("descriptionFontSize")},fontSizeMobile:{value:Q,label:iv("descriptionFontSizeMobile")},fontSizeTablet:{value:ee,label:iv("descriptionFontSizeTablet")},disableLineHeight:!0}),Object(o.createElement)(uv,{label:iv("Title Line Height","blockspare-posts-block-carousel"),value:ae,onChange:e=>Tt({lineHeight:e}),min:0,step:.1,max:2})),Object(o.createElement)(bv,{title:iv("Color Settings","blockspare"),className:Bt?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(pv,{title:iv("Colors","blockspare"),initialOpen:!0,colorSettings:["blockspare-posts-block-full-layout-4"!==h&&Lt,"blockspare-posts-block-full-layout-4"===h&&Pt,""!==ct&&"blockspare-posts-block-full-layout-4"!==h&&At,""!==ct&&"blockspare-posts-block-full-layout-4"===h&&_t,(b||g)&&"blockspare-posts-block-full-layout-4"!==h&&Nt,(b||g)&&"blockspare-posts-block-full-layout-4"===h&&Rt,(d||Ye||u)&&"blockspare-posts-block-full-layout-4"!==h&&zt,(d||Ye||u)&&"blockspare-posts-block-full-layout-4"===h&&Dt]}),"blockspare-posts-block-full-layout-4"!==h?Object(o.createElement)(If,{display:p,colorType:Ct,onChangeColorType:Ft,categoryLayoutOption:je,color:Fe,onChangeColor:e=>Tt({categoryTextColor:e}),backgroundColor:Me,onChangeBackgroundColor:e=>Tt({categoryBackgroundColor:e}),borderColor:Be,onChangeBorderColor:e=>Tt({categoryBorderColor:e}),secondColor:Le,onChangeSecondColor:e=>Tt({secondCategoryTextColor:e}),secondBackgroundColor:ze,onChangeSecondBackgroundColor:e=>Tt({secondCategoryBackgroundColor:e}),secondBorderColor:Ne,onChangeSecondBorderColor:e=>Tt({secondCategoryBorderColor:e}),thirdColor:Pe,onChangeThirdColor:e=>Tt({thirdCategoryTextColor:e}),thirdBackgroundColor:De,onChangeThirdBackgroundColor:e=>Tt({thirdCategoryBackgroundColor:e}),thirdBorderColor:Re,onChangeThirdBorderColor:e=>Tt({thirdCategoryBorderColor:e})}):Object(o.createElement)(If,{display:p,colorType:Ct,onChangeColorType:Ft,categoryLayoutOption:je,color:Ae,onChangeColor:e=>Tt({tileCategoryTextColor:e}),backgroundColor:_e,onChangeBackgroundColor:e=>Tt({tileCategoryBackgroundColor:e}),borderColor:Ie,onChangeBorderColor:e=>Tt({tileCategoryBorderColor:e}),secondColor:He,onChangeSecondColor:e=>Tt({tileSecondCategoryTextColor:e}),secondBackgroundColor:Ge,onChangeSecondBackgroundColor:e=>Tt({tileSecondCategoryBackgroundColor:e}),secondBorderColor:We,onChangeSecondBorderColor:e=>Tt({tileSecondCategoryBorderColor:e}),thirdColor:Ue,onChangeThirdColor:e=>Tt({tileThirdCategoryTextColor:e}),thirdBackgroundColor:qe,onChangeThirdBackgroundColor:e=>Tt({tileThirdCategoryBackgroundColor:e}),thirdBorderColor:Ve,onChangeThirdBorderColor:e=>Tt({tileThirdCategoryBorderColor:e})}),tt&&Object(o.createElement)(pv,{title:iv("Navigation Color","blockspare"),initialOpen:!1,colorSettings:[{value:nt,onChange:e=>Tt({navigationColor:e}),label:iv("Navigation Color","blockspare")},{value:st,onChange:e=>Tt({navigationShapeColor:e}),label:iv("Navigation Shape Color","blockspare")}]}),"blockspare-posts-block-full-layout-4"!==h&&Object(o.createElement)(pv,{title:iv("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:y,onChange:e=>Tt({backGroundColor:e}),label:iv("Background Color","blockspare")}]})),1==It&&Object(o.createElement)(bv,{title:iv("Icon Settings"),initialOpen:!1},b&&Object(o.createElement)(bv,{title:iv("Author Icon"),initialOpen:!1},Object(o.createElement)(K,{name:$e,onChangeName:e=>Tt({authorIcon:e})})),u&&Object(o.createElement)(bv,{title:iv("Date Icon"),initialOpen:!1},Object(o.createElement)(K,{name:Xe,onChangeName:e=>Tt({dateIcon:e})})),Ye&&Object(o.createElement)(bv,{title:iv("Comment Count Icon"),initialOpen:!1},Object(o.createElement)(K,{name:Je,onChangeName:e=>Tt({commentIcon:e})}))),Object(o.createElement)(bv,{title:iv("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(bv,{title:iv("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props)),Object(o.createElement)(bv,{title:iv("Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(bv,{title:iv("Block Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:O,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>Tt({marginTop:e}),marginEnableBottom:!0,marginBottom:E,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>Tt({marginBottom:e}),marginEnableLeft:!0,marginLeft:x,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>Tt({marginLeft:e}),marginEnableRight:!0,marginRight:w,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>Tt({marginRight:e})})),Object(o.createElement)(bv,{title:iv("Content Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(uv,{label:iv("Padding Top","blockspare-posts-block-carousel"),value:oe,onChange:e=>Tt({contentPaddingTop:e}),min:0,step:1,max:300}),Object(o.createElement)(uv,{label:iv("Padding Right","blockspare-posts-block-carousel"),value:ie,onChange:e=>Tt({contentPaddingRight:e}),min:0,step:1,max:300}),Object(o.createElement)(uv,{label:iv("Padding Bottom","blockspare-posts-block-carousel"),value:le,onChange:e=>Tt({contentPaddingBottom:e}),min:0,step:1,max:300}),Object(o.createElement)(uv,{label:iv("Padding Left","blockspare-posts-block-carousel"),value:re,onChange:e=>Tt({contentPaddingLeft:e}),min:0,step:1,max:300})),Object(o.createElement)(bv,{title:iv("Title Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:se,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>Tt({titleMarginTop:e}),marginEnableBottom:!0,marginBottom:pe,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>Tt({titleMarginBottom:e}),marginEnableLeft:!0,marginLeft:be,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>Tt({titleMarginLeft:e}),marginEnableRight:!0,marginRight:ue,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>Tt({titleMarginRight:e})})),Object(o.createElement)(qf,C()({display:p},this.props)),(u||b||Ye)&&Object(o.createElement)(bv,{title:iv("Meta Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:de,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>Tt({metaMarginTop:e}),marginEnableBottom:!0,marginBottom:ge,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>Tt({metaMarginBottom:e}),marginEnableLeft:!0,marginLeft:me,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>Tt({metaMarginLeft:e}),marginEnableRight:!0,marginRight:fe,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>Tt({metaMarginRight:e})})),d&&Object(o.createElement)(bv,{title:iv("Excerpt Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:he,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>Tt({exceprtMarginTop:e}),marginEnableBottom:!0,marginBottom:ke,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>Tt({exceprtMarginBottom:e}),marginEnableLeft:!0,marginLeft:ye,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>Tt({exceprtMarginLeft:e}),marginEnableRight:!0,marginRight:ve,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>Tt({exceprtMarginRight:e})})),g&&Object(o.createElement)(bv,{title:iv("Read More Link Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:Ce,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>Tt({moreLinkMarginTop:e}),marginEnableBottom:!0,marginBottom:Oe,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>Tt({moreLinkMarginBottom:e}),marginEnableLeft:!0,marginLeft:Ee,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>Tt({moreLinkMarginLeft:e}),marginEnableRight:!0,marginRight:xe,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>Tt({moreLinkMarginRight:e})})))))}}const{Component:vv,Fragment:Cv}=wp.element,{__:Ov}=wp.i18n,{compose:Ev}=wp.compose,{decodeEntities:xv}=wp.htmlEntities,{apiFetch:wv}=wp,{addQueryArgs:Sv}=wp.url,{withSelect:Tv}=wp.data,{Placeholder:jv,Spinner:Fv}=wp.components,{taxonomies:Mv,postQueryEndpoint:Bv}=blockspare_globals;var Lv=Ev([Tv((e,t)=>{const{postsToShow:a,order:o,orderBy:n,categories:r,tags:l,postTax:i,postType:s,taxType:c}=t.attributes,{getEntityRecords:p}=e("core"),b=s||"post",u=Mv[b]&&Mv[b].taxonomy?Mv[b].taxonomy:[];let d=[],g="";return("post"!==b||i)&&void 0!==Mv[b]&&c&&(Mv[b].taxonomy&&Mv[b].taxonomy[c]&&(Mv[b].taxonomy&&0==Mv[b].taxonomy[c].rest_base||Mv[b].taxonomy&&null==Mv[b].taxonomy[c].rest_base?Mv[b].taxonomy&&Mv[b].taxonomy[c].name:Mv[b].taxonomy&&Mv[b].taxonomy[c].rest_base),Mv[b].terms&&Mv[b].terms[c]&&(d=Mv[b].terms[c])),{taxList:u,taxOptions:d}}),W,I(e=>{const{marginTop:t,marginBottom:a,marginLeft:o,marginRight:n,linkColor:r,postTitleColor:l,generalColor:i,design:s,slider:c,postTitleFontSize:p,postListingOption:b,titleFontFamily:u,titleFontWeight:d,titleFontSubset:g,titleFontSizeType:m,titleFontSizeMobile:f,titleFontSizeTablet:h,fullPostTitleColor:k,fullPostLinkColor:y,fullPostGeneralColor:v,borderColor:C,backGroundColor:O,enableBoxShadow:E,borderRadius:x,shadowColor:w,xOffset:S,yOffset:T,blur:j,spread:F,descriptionFontSize:M,descriptionFontFamily:B,descriptionFontWeight:L,descriptionFontSubset:z,descriptionFontSizeType:N,descriptionFontSizeMobile:P,descriptionFontSizeTablet:D,lineHeight:R,contentPaddingTop:A,contentPaddingLeft:_,contentPaddingBottom:I,contentPaddingRight:H,titleMarginTop:G,titleMarginBottom:W,titleMarginLeft:U,titleMarginRight:q,metaMarginTop:V,metaMarginBottom:$,metaMarginLeft:X,metaMarginRight:Y,exceprtMarginTop:J,exceprtMarginBottom:K,exceprtMarginLeft:Z,exceprtMarginRight:Q,moreLinkMarginTop:ee,moreLinkMarginBottom:te,moreLinkMarginLeft:ae,moreLinkMarginRight:oe,categoryTextColor:ne,categoryBackgroundColor:re,categoryBorderColor:le,secondCategoryTextColor:ie,secondCategoryBackgroundColor:se,secondCategoryBorderColor:ce,thirdCategoryTextColor:pe,thirdCategoryBackgroundColor:be,thirdCategoryBorderColor:ue,tileCategoryTextColor:de,tileCategoryBackgroundColor:ge,tileCategoryBorderColor:me,tileSecondCategoryTextColor:fe,tileSecondCategoryBackgroundColor:he,tileSecondCategoryBorderColor:ke,tileThirdCategoryTextColor:ye,tileThirdCategoryBackgroundColor:ve,tileThirdCategoryBorderColor:Ce,navigationShape:Oe,navigationColor:Ee,titleOnHover:xe,titleOnHoverColor:we,tileTitleOnHoverColor:Se,navigationShapeColor:Te,postMetaFontSizeTablet:je,postMetaFontSize:Fe,postMetaFontSizeType:Me,postMetaFontFamily:Be,postMetaFontWeight:Le,postMetaFontSizeMobile:ze}=e.attributes,Ne=[];return Ne.push({".blockspare-posts-block-latest-post-carousel-wrap span:before":{color:Ee||"#fff"},".blockspare-posts-block-latest-post-carousel-wrap ul li button":{color:Ee||"#fff"},".blockspare-posts-block-is-carousel .slick-slider .slick-dots > li button":{backgroundColor:Ee||"#fff"}}),"lpc-navigation-1"===Oe||"lpc-navigation-2"===Oe?Ne.push({".blockspare-posts-block-is-carousel .slick-slider .slick-arrow:after":{backgroundColor:Te}}):"lpc-navigation-3"===Oe||"lpc-navigation-4"===Oe?Ne.push({".blockspare-posts-block-is-carousel .slick-slider .slick-arrow":{borderColor:Te}}):Ne.push({".blockspare-posts-block-is-carousel .slick-slider .slick-arrow":{backgroundColor:"transparent",borderColor:"transparent"}}),"blockspare-posts-block-full-layout-6"===c?Ne.push({".blockspare-posts-block-post-single .blockspare-posts-block-post-content":{backgroundColor:O||"#f6f6f6"},".blockspare-posts-block-post-grid-title a span":{color:l?l+"!important":"#404040"},".blockspare-posts-block-post-grid-author a span":{color:r||"#000000"},".blockspare-posts-block-text-link a":{color:r||"#000000"},".comment_count":{color:i||"#000"},".blockspare-posts-block-post-grid-date":{color:i||"#000"},".blockspare-posts-block-post-grid-excerpt":{color:i||"#000"},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt p":{color:i||"#000"},".blockspare-posts-block-post-grid-more-link span":{color:r||"#000000"}}):"blockspare-posts-block-full-layout-4"===c?Ne.push({".blockspare-posts-block-post-grid-title a span":{color:k?k+"!important":"#fff"},".blockspare-posts-block-post-grid-author a span":{color:y||"#fff"},".blockspare-posts-block-text-link a":{color:y||"#fff"},".comment_count":{color:v||"#fff"},".blockspare-posts-block-post-grid-date":{color:v||"#fff"},".blockspare-posts-block-post-grid-excerpt":{color:v||"#fff"},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt p":{color:v||"#fff"},".blockspare-posts-block-post-grid-more-link span":{color:y||"#fff"}}):Ne.push({".blockspare-posts-block-post-single":{backgroundColor:O||void 0},".blockspare-posts-block-post-grid-title a span":{color:l?l+"!important":"#404040"},".blockspare-posts-block-post-grid-author a span":{color:r||"#000000"},".blockspare-posts-block-text-link a":{color:r||"#000000"},".comment_count":{color:i||"#000"},".blockspare-posts-block-post-grid-date":{color:i||"#000"},".blockspare-posts-block-post-grid-excerpt":{color:i||"#000"},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt p":{color:i||"#000"},".blockspare-posts-block-post-grid-more-link span":{color:r||"#000000"}}),"blockspare-posts-block-full-layout-5"===c&&Ne.push({".blockspare-posts-block-post-single > .blockspare-posts-block-post-grid-excerpt":{paddingTop:A+"px",paddingRight:H+"px",paddingBottom:I+"px",paddingLeft:_+"px"}}),"blockspare-posts-block-full-layout-4"===c?("lpc-title-hover"===xe&&Ne.push({".blockspare-posts-block-post-content .blockspare-posts-block-title-link:hover span":{color:Se+"!important"}}),"lpc-title-border"===xe&&Ne.push({".lpc-title-border .blockspare-posts-block-post-grid-title .blockspare-posts-block-title-link span:hover":{boxShadow:"inset 0 -2px 0 0 "+Se}}),mh(Ne,e.attributes,de,ge,me,fe,he,ke,ye,ve,Ce)):("lpc-title-hover"===xe&&Ne.push({".blockspare-posts-block-post-content .blockspare-posts-block-title-link:hover span":{color:we+"!important"}}),"lpc-title-border"===xe&&Ne.push({".lpc-title-border .blockspare-posts-block-post-grid-title .blockspare-posts-block-title-link span:hover":{boxShadow:"inset 0 -2px 0 0 "+we}}),mh(Ne,e.attributes,ne,re,le,ie,se,ce,pe,be,ue)),Ne.push({".blockspare-posts-block-post-wrap":{marginTop:t?t+"px":"0px",marginBottom:a?a+"px":"0px",marginLeft:o?o+"px":"0px",marginRight:n?n+"px":"0px"},".blockspare-posts-block-post-grid-more-link":{marginTop:ee?ee+"px":"0px",marginBottom:te?te+"px":"0px",marginLeft:ae?ae+"px":"0px",marginRight:oe?oe+"px":"0px"},".blockspare-posts-block-post-grid-title ":{marginTop:G?G+"px":"0px",marginBottom:W?W+"px":"0px",marginLeft:U?U+"px":"0px",marginRight:q?q+"px":"0px"},".blockspare-posts-block-post-content":{paddingTop:A+"px",paddingRight:H+"px",paddingBottom:I+"px",paddingLeft:_+"px"},".blockspare-posts-block-post-grid-excerpt-content ":{marginTop:J?J+"px":"0px",marginBottom:K?K+"px":"0px",marginLeft:Z?Z+"px":"0px",marginRight:Q?Q+"px":"0px"},".blockspare-posts-block-post-grid-byline":{marginTop:V?V+"px":"0px",marginBottom:$?$+"px":"0px",marginLeft:X?X+"px":"0px",marginRight:Y?Y+"px":"0px"}}),"blockspare-posts-block-full-layout-6"!==c?Ne.push({".blockspare-posts-block-post-wrap .blockspare-posts-block-post-single":{boxShadow:E?S+"px "+T+"px "+j+"px "+F+"px "+w:"none",borderRadius:x?x+"px":0}}):Ne.push({".blockspare-posts-block-post-content":{boxShadow:E?S+"px "+T+"px "+j+"px "+F+"px "+w:"none",borderRadius:x?x+"px":0}}),Ne.push({".blockspare-posts-block-post-grid-title a span":{fontSize:p+m,...Ro(u),...Ao(d),lineHeight:R},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:M+N,...Ro(B),...Ao(L)},".blockspare-posts-block-post-grid-author a span":{fontSize:Fe+Me,...Ro(Be),...Ao(Le)},".blockspare-posts-block-post-grid-date":{fontSize:Fe+Me,...Ro(Be),...Ao(Le)},".comment_count":{fontSize:Fe+Me,...Ro(Be),...Ao(Le)},tablet:{".blockspare-posts-block-post-grid-title a span":{fontSize:h+m},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:D+N},".blockspare-posts-block-post-grid-author a span":{fontSize:je+Me},".blockspare-posts-block-post-grid-date":{fontSize:je+Me},".comment_count":{fontSize:je+Me}},mobile:{".blockspare-posts-block-post-grid-title a span":{fontSize:f+m},".blockspare-posts-block-post-content .blockspare-posts-block-post-grid-excerpt .blockspare-posts-block-post-grid-excerpt-content":{fontSize:P+N},".blockspare-posts-block-post-grid-author a span":{fontSize:ze+Me},".blockspare-posts-block-post-grid-date":{fontSize:ze+Me},".comment_count":{fontSize:ze+Me}}}),Do.a.all(Ne)})])(class extends vv{constructor(){super(...arguments),this.getPosts=this.getPosts.bind(this),this.state={latestPosts:[],loaded:!1},this.debouncedGetPosts=uf()(this.getPosts.bind(this),200)}componentDidMount(){this.getPosts()}componentDidUpdate(e){["postType","taxType","postTax","orderBy","order","categories","allcategories","tags","postsToShow","offset"].reduce((t,a)=>t||e.attributes[a]!==this.props.attributes[a],!1)&&(this.setState({loaded:!1}),this.debouncedGetPosts())}getPosts(){this.setState({loaded:!1}),wv({path:Sv(Bv,sf(this.props.attributes,"query"))}).then(e=>{this.setState({latestPosts:e,loaded:!0})}).catch(()=>{this.setState({latestPosts:[],loaded:!0})})}render(){const{attributes:{postType:e,taxType:t,align:a,contentOrder:n,displayPostCategory:r,displayPostAuthor:l,displayPostDate:i,slider:s,postsToShow:c,sectionTag:p,imageSize:b="medium",categoryLayoutOption:u,titleLoadGoogleFonts:d,titleFontFamily:g,titleFontWeight:m,descriptionLoadGoogleFonts:f,descriptionFontFamily:h,descriptionFontWeight:k,enableAutoPlay:v,authorIcon:C,dateIcon:O,enableComment:E,commentIcon:x,displayPostExcerpt:w,excerptLength:S,displayPostLink:T,readMoreText:j,spostTitleFontFamily:F,spostTitleFontWeight:M,spostTitleLoadGoogleFonts:B,gutterSpace:L,numberofSlide:z,carouselSpeed:N,showsliderNextPrev:P,carouselNextIcon:D,showDots:R,navigationSize:A,navigationShape:_,enableNavInHover:I,titleOnHover:H,enableEqualHeight:G,animation:W,blockHoverEffect:U,enableBoxShadow:q,postCategoryLoadGoogleFonts:V,postCategoryFontFamily:$,postCategoryFontWeight:X,postMetaLoadGoogleFonts:Y,postMetaFontFamily:J,postMetaFontWeight:K,imageHoverEffect:Z},className:Q,attributes:ee,setAttributes:te}=this.props;let ae,oe,ne,re,le;if(1==d){const e={google:{families:[g+(m?":"+m:"")]}};ae=Object(o.createElement)(Uo,{config:e})}if(1==f){const e={google:{families:[h+(k?":"+k:"")]}};oe=Object(o.createElement)(Uo,{config:e})}if(!0===B){const e={google:{families:[F+(M?":"+M:"")]}};ne=Object(o.createElement)(Uo,{config:e})}if(1==V){const e={google:{families:[$+(X?":"+X:"")]}};re=Object(o.createElement)(Uo,{config:e})}if(1==Y){const e={google:{families:[J+(K?":"+K:"")]}};le=Object(o.createElement)(Uo,{config:e})}let ie=Object(o.createElement)(zv,{next:!0,IconArrow:D}),se=Object(o.createElement)(zv,{prev:!0,IconArrow:D}),ce=!1;"blockspare-posts-block-full-layout-11"===s&&(ce=!0);const pe={dots:R,loop:!0,autoplay:v,speed:N,arrows:P,slidesToShow:1,nextArrow:ie,prevArrow:se,centerMode:ce},{latestPosts:be,loaded:ue}=this.state,de=Array.isArray(be)&&be.length>0,ge=e;if(!de)return Object(o.createElement)(Cv,null,Object(o.createElement)(yv,{setAttributes:te,...this.props}),Object(o.createElement)(jv,{icon:"admin-post",label:Ov("Latest Posts Block","blockspare")},ue?Ov("No posts found.","blockspare"):Object(o.createElement)(Fv,null)));const me=be.length>c?be.slice(0,c):be,fe=p||"section",he=y()([Q,""!==a?"align"+a:"aligncenter",W?"blockspare-block-animation":"",W,U,q?"bs-has-shadow":"",Z]),ke=y()(["none"===u?"has-no-category-style":"","blockspare-posts-block-post-category"]);return Object(o.createElement)(Cv,null,Object(o.createElement)(yv,{setAttributes:te,...this.props}),Object(o.createElement)("div",{className:he},this.props.styles,Object(o.createElement)(fe,{className:y()(this.props.className,"blockspare-posts-block-post-wrap")},Object(o.createElement)("div",{className:y()("blockspare-posts-block-latest-post-carousel-wrap","has-gutter-space-"+L,"blockspare-posts-block-is-carousel","blockspare-posts-block-carousel-full",A,_,I?"nav-on-hover":"",s)},Object(o.createElement)(Lu.a,pe,me.map((a,c)=>{const p=(a.featured_image_src_large[b||"large"]||[])[0],u=void 0!==a.taxonomy_info?JSON.parse(a.taxonomy_info):"";let d=a.excerpt.rendered;return Object(o.createElement)("div",{className:y()("blockspare-posts-block-post-single",p?"":"post-has-no-image","has-background",G?"bs-has-equal-height":"","content-order-1"===n?"contentorderone":"","content-order-2"===n?"contentordertwo":"","blockspare-hover-item","blockspare-posts-block-full-layout-6"===s?"blockspare-hover-child":"")},"undefined"!==p&&Object(o.createElement)("figure",{className:"blockspare-posts-block-post-img hover-child"},Object(o.createElement)("a",{href:"javascript:void(0);"}," ",p&&Object(o.createElement)("img",{src:p}),!p&&Object(o.createElement)("div",{class:"bs-no-thumbnail-img"}," ")),r&&Object(o.createElement)("div",{className:ke},Object(o.createElement)(pf,{postType:e,postTaxonomies:u,postCategories:a.category_info,taxType:t,tags:a.tag_info}))),Object(o.createElement)("div",{className:y()("blockspare-posts-block-post-content",H,n,"hover-child")},Object(o.createElement)("div",{className:"blockspare-posts-block-bg-overlay"}),Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-header"},r&&Object(o.createElement)("div",{className:ke},Object(o.createElement)(pf,{postType:e,postTaxonomies:u,postCategories:a.category_info,taxType:t,tags:a.tag_info})),Object(o.createElement)("h4",{className:"blockspare-posts-block-post-grid-title"},Object(o.createElement)("a",{target:"_blank",rel:"bookmark",className:"blockspare-posts-block-title-link"},Object(o.createElement)("span",{dangerouslySetInnerHTML:{__html:xv(a.title.rendered)}}))),ge&&(l||i||E)&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-byline"},l&&a.author_info.info&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-author"},a.author_info.info.map((e,t)=>Object(o.createElement)("a",null,Object(o.createElement)("span",null,t<1&&Object(o.createElement)("i",{className:C}),e.trim(),t!==a.author_info.info.length-1?", ":"")))),i&&a.date_gmt&&Object(o.createElement)("time",{dateTime:gf()(a.date_gmt).utc().format(),className:"blockspare-posts-block-post-grid-date"},Object(o.createElement)("i",{className:O}),gf()(a.date_gmt).local().format("MMMM DD, Y","blockspare")),E&&Object(o.createElement)("span",{className:"comment_count"},Object(o.createElement)("i",{className:x}),a.comment_count," "))),w&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-excerpt"},w&&a.excerpt&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-excerpt-content",dangerouslySetInnerHTML:{__html:(g=d,m=S,g.split(" ").splice(0,m).join(" "))}}),T&&Object(o.createElement)("p",null,Object(o.createElement)("a",{className:"blockspare-posts-block-post-grid-more-link blockspare-posts-block-text-link",target:"_blank",rel:"bookmark"},Object(o.createElement)("span",null,j))))));var g,m}))))),ae,oe,ne,re,le)}});function zv(e){const{className:t,style:a,onClick:n,IconArrow:r,prev:l,next:i}=e;if(1==i)return Object(o.createElement)("span",{className:y()("slide-next slick-arrow ",r),onClick:n});var s=r.replace("right","left");return Object(o.createElement)("span",{className:y()("slide-prev slick-arrow ",s),onClick:n})}var Nv=a(250);const{name:Pv,category:Dv}=Nv,{__:Rv}=wp.i18n,{registerBlockType:Av}=wp.blocks;Av(Pv,{title:Rv("Posts Slider","blockspare"),description:Rv("Add posts layouts from selected categories.","blockspare"),category:Dv,icon:s.a.post_slider,keywords:[Rv("af","blockspare"),Rv("article","blockspare"),Rv("archive","blockspare"),Rv("block","blockspare"),Rv("blocks","blockspare"),Rv("blog","blockspare"),Rv("box","blockspare"),Rv("category","blockspare"),Rv("express","blockspare"),Rv("full","blockspare"),Rv("grid","blockspare"),Rv("latest","blockspare"),Rv("list","blockspare"),Rv("latest posts block","blockspare"),Rv("post","blockspare"),Rv("posts","blockspare"),Rv("tile","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{design:"blockspare-posts-block-grid-layout-1",postsToShow:6,displayPostCategory:!0,displayPostAuthor:!0,displayPostDate:!0,imageSize:"medium",postTitleFontSize:16}},edit:Lv,save:()=>null,deprecated:[{attributes:{...Nv.attributes,categories:{type:"string"}},migrate:e=>({...e,categories:[{value:Number(e.categories),label:"selected"}]}),isEligible:e=>{let{categories:t}=e;return t&&"string"==typeof t},save:()=>null}]}),a(379);const{Component:_v}=wp.element,{__:Iv}=wp.i18n,{addFilter:Hv,applyFilters:Gv}=wp.hooks,{InspectorControls:Wv,PanelColorSettings:Uv}=wp.blockEditor,{PanelBody:qv,QueryControls:Vv,RangeControl:$v,SelectControl:Xv,TextControl:Yv,ToggleControl:Jv,Flex:Kv,FlexItem:Zv,Toolbar:Qv,ToolbarGroup:eC,ToolbarButton:tC}=wp.components,{addQueryArgs:aC}=wp.url,{apiFetch:oC}=wp,{postTypes:nC}=blockspare_globals;class rC extends _v{imageSizeSelect(){var e,t,a;const o=null===(e=wp)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.select("core/editor"))||void 0===a?void 0:a.getEditorSettings();return an()(io()(null==o?void 0:o.imageSizes,e=>{let{name:t,slug:a}=e;return{value:a,label:t}}))}render(){const{attributes:{order:e,orderBy:t,categories:a,tags:n,postsToShow:r,postType:l,taxType:i,postTax:s,backGroundColor:c,marginTop:p,marginRight:b,marginBottom:u,marginLeft:d,paddingTop:g,paddingRight:m,paddingBottom:f,paddingLeft:h,offset:k,postTitleColor:y,postTitleFontSize:v,titleLoadGoogleFonts:C,titleFontFamily:O,titleFontWeight:E,titleFontSubset:x,titleFontSizeType:w,titleFontSizeMobile:S,titleFontSizeTablet:T,enableCount:j,countColor:F,exclusiveColor:M,exclusiveBgColor:B,titleOnHoverColor:L,layoutStyle:z,exclusiveText:N,exclusiveSubtitle:P,exclusiveSubtitleText:D,spinner:R,spinnerOption:A,spinnerStyle:_,spinnerIcon:I,animationStyle:H,direction:G,animationSpeed:W,pauseOnHover:U,border:q,borderWidth:V,borderStyle:$,borderColor:X,borderRadius:Y,imgBorderRadius:J,exclusiveFontSize:Z,exclusiveLoadGoogleFonts:Q,exclusiveFontFamily:ee,exclusiveFontWeight:te,exclusiveFontSubset:ae,exclusiveFontSizeType:oe,exclusiveFontSizeMobile:re,exclusiveFontSizeTablet:le,newsColor:ie,newsBgColor:se,background:pe,fixedWidth:be,postWidth:ue,postTitleLineHeight:de,exclusiveSubtitleFontSize:ge,exclusiveSubtitleFontFamily:me,exclusiveSubtitleFontWeight:fe,exclusiveSubtitleFontSubset:he,exclusiveSubtitleFontSizeType:ke,exclusiveSubtitleFontSizeMobile:ye,exclusiveSubtitleFontSizeTablet:ve,exclusiveSubtitleLoadGoogleFonts:Ce},taxList:Oe,taxOptions:Ee,taxFilterOptions:xe,attributes:we,latestPosts:Se,setAttributes:Te}=this.props,je=(Iv("Default","blockspare"),Iv("Pointed","blockspare"),Iv("Angled","blockspare"),Iv("Inclined","blockspare"),[{value:"spinner-option-1",label:Iv("Spinner","blockspare")},{value:"spinner-option-2",label:Iv("Font Awesome","blockspare")}]),Fe=[{value:"spinner-style-1",label:Iv("Spinner1","blockspare")},{value:"spinner-style-2",label:Iv("Spinner2","blockspare")},{value:"spinner-style-3",label:Iv("Spinner3","blockspare")},{value:"spinner-style-4",label:Iv("Spinner4","blockspare")}],Me=[{value:"animation-style-1",label:Iv("None","blockspare")},{value:"animation-style-2",label:Iv("Spin","blockspare")},{value:"animation-style-3",label:Iv("Heart Beat","blockspare")}],Be=[{value:"left",label:Iv("Left","blockspare")},{value:"right",label:Iv("Right","blockspare")}],Le=(Iv("None","blockspare"),Iv("Solid","blockspare"),Iv("Double","blockspare"),Iv("Dotted","blockspare"),Iv("Dashed","blockspare"),Iv("Groove","blockspare"),"post"===l),ze={value:y,onChange:e=>Te({postTitleColor:e}),label:Iv("Title Color","blockspare")},Ne={value:L,onChange:e=>Te({titleOnHoverColor:e}),label:Iv("Title HoverColor","blockspare")},Pe={value:c,onChange:e=>Te({backGroundColor:e}),label:Iv("Background Color","blockspare")},De={value:F,onChange:e=>Te({countColor:e}),label:Iv("Post Number Color","blockspare")},Re={value:M,onChange:e=>Te({exclusiveColor:e}),label:Iv("Exclusive Text Color","blockspare")},Ae={value:B,onChange:e=>Te({exclusiveBgColor:e}),label:Iv("Exclusive Background Color","blockspare")},_e={value:ie,onChange:e=>Te({newsColor:e}),label:Iv("Breaking News text Color","blockspare")},Ie={value:se,onChange:e=>Te({newsBgColor:e}),label:Iv("Breaking News Background Color","blockspare")};return Object(o.createElement)(Wv,null,Object(o.createElement)("div",{className:"blockspare-posts-block-inspector-wrapper"},Object(o.createElement)(qv,{title:Iv("Layout","blockspare"),className:Le?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Yv,{label:Iv("Exclusive Title","blockspare"),type:"text",value:N,onChange:e=>this.props.setAttributes({exclusiveText:e})}),Object(o.createElement)(Jv,{label:Iv("Show Subtitle","blockspare"),checked:P,onChange:()=>this.props.setAttributes({exclusiveSubtitle:!P})}),P&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Yv,{label:Iv("Exclusive Subtitle","blockspare"),type:"text",value:D,onChange:e=>this.props.setAttributes({exclusiveSubtitleText:e})})),Object(o.createElement)("hr",null),Object(o.createElement)(Jv,{label:Iv("Fixed width","blockspare"),checked:be,onChange:()=>this.props.setAttributes({fixedWidth:!be})}),be&&Object(o.createElement)($v,{label:Iv("width","blockspare"),value:ue,onChange:e=>Te({postWidth:e}),min:200,step:1,max:400}),Object(o.createElement)("hr",null),Object(o.createElement)(Jv,{label:Iv("Background","blockspare"),checked:pe,onChange:()=>this.props.setAttributes({background:!pe})}),Object(o.createElement)("hr",null),Object(o.createElement)(Jv,{label:Iv("Show Spinner","blockspare"),checked:R,onChange:()=>this.props.setAttributes({spinner:!R})}),R&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Xv,{label:Iv("Spinner Options","blockspare"),value:A,options:je.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>Te({spinnerOption:e})}),"spinner-option-2"===A&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{style:{marginBottom:"24px"}},Object(o.createElement)("label",null,Iv("Spinner Icon","blockspare")),Object(o.createElement)(K,{name:I,onChangeName:e=>Te({spinnerIcon:e})})),Object(o.createElement)(Xv,{label:Iv("Animation Style","blockspare"),value:H,options:Me.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>Te({animationStyle:e})})),"spinner-option-1"===A&&Object(o.createElement)(Xv,{label:Iv("Spinner Style","blockspare"),value:_,options:Fe.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>Te({spinnerStyle:e})}))),Object(o.createElement)(qv,{title:Iv("Settings","blockspare"),className:Le?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Xv,{label:Iv("Direction","blockspare"),value:G,options:Be.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>Te({direction:e})}),Object(o.createElement)($v,{label:Iv("Animation Speed","blockspare"),value:W,onChange:e=>this.props.setAttributes({animationSpeed:e}),min:1,max:300,step:1}),Object(o.createElement)(Jv,{label:Iv("Pause On Hover","blockspare"),checked:U,onChange:()=>this.props.setAttributes({pauseOnHover:!U})}),Object(o.createElement)("hr",null),Object(o.createElement)(Jv,{label:Iv("Show Number","blockspare"),checked:j,onChange:()=>this.props.setAttributes({enableCount:!j})})),Object(o.createElement)(qv,{title:Iv("Query","blockspare"),className:Le?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(yn,{postType:l,taxList:Oe,taxOptions:Ee,taxFilterOptions:xe,setAttributes:Te,taxType:i,categories:a,postTax:s,tags:n})),Object(o.createElement)(qv,{title:Iv("Image","blockspare"),className:Le?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)($v,{label:Iv("Border Radius","blockspare"),value:J,onChange:e=>Te({imgBorderRadius:e}),min:0,step:1,max:100})),Object(o.createElement)(qv,{title:Iv("Typography","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:Iv("Title Fonts"),attributes:we,setAttributes:Te,loadGoogleFonts:{value:C,label:Iv("titleLoadGoogleFonts")},fontFamily:{value:O,label:Iv("titleFontFamily")},fontWeight:{value:E,label:Iv("titleFontWeight")},fontSubset:{value:x,label:Iv("titleFontSubset")},fontSizeType:{value:w,label:Iv("titleFontSizeType")},fontSize:{value:v,label:Iv("postTitleFontSize")},fontSizeMobile:{value:S,label:Iv("titleFontSizeMobile")},fontSizeTablet:{value:T,label:Iv("titleFontSizeTablet")},disableLineHeight:!0}),Object(o.createElement)(Oo,{label:Iv("Exclusive Title Fonts"),attributes:we,setAttributes:Te,loadGoogleFonts:{value:Q,label:Iv("exclusiveLoadGoogleFonts")},fontFamily:{value:ee,label:Iv("exclusiveFontFamily")},fontWeight:{value:te,label:Iv("exclusiveFontWeight")},fontSubset:{value:ae,label:Iv("exclusiveFontSubset")},fontSizeType:{value:oe,label:Iv("exclusiveFontSizeType")},fontSize:{value:Z,label:Iv("exclusiveFontSize")},fontSizeMobile:{value:re,label:Iv("exclusiveFontSizeMobile")},fontSizeTablet:{value:le,label:Iv("exclusiveFontSizeTablet")},disableLineHeight:!0}),P&&Object(o.createElement)(Oo,{label:Iv("Exclusive Subtitle Fonts"),attributes:we,setAttributes:Te,loadGoogleFonts:{value:Ce,label:Iv("exclusiveSubtitleLoadGoogleFonts")},fontFamily:{value:me,label:Iv("exclusiveSubtitleFontFamily")},fontWeight:{value:fe,label:Iv("exclusiveSubtitleFontWeight")},fontSubset:{value:he,label:Iv("exclusiveSubtitleFontSubset")},fontSizeType:{value:ke,label:Iv("exclusiveSubtitleFontSizeType")},fontSize:{value:ge,label:Iv("exclusiveSubtitleFontSize")},fontSizeMobile:{value:ye,label:Iv("exclusiveSubtitleFontSizeMobile")},fontSizeTablet:{value:ve,label:Iv("exclusiveSubtitleFontSizeTablet")},disableLineHeight:!0}),Object(o.createElement)($v,{label:Iv("Title Line Height","blockspare"),value:de,onChange:e=>Te({postTitleLineHeight:e}),min:0,step:.1,max:2})),Object(o.createElement)(qv,{title:Iv("Color Settings","blockspare"),className:Le?null:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Uv,{title:Iv("Colors","blockspare"),initialOpen:!0,colorSettings:[ze,Ne,pe?Pe:"",j?De:"",P?Re:"",P?Ae:"",_e,Ie]})),Object(o.createElement)(qv,{title:Iv("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(qv,{title:Iv("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(qv,{title:Iv("Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(qv,{title:Iv("Margin","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:p,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>Te({marginTop:e}),marginEnableRight:!0,marginRight:b,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>Te({marginRight:e}),marginEnableBottom:!0,marginBottom:u,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>Te({marginBottom:e}),marginEnableLeft:!0,marginLeft:d,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>Te({marginLeft:e})})),Object(o.createElement)(qv,{title:Iv("Padding","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:g,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>Te({paddingTop:e}),paddingEnableRight:!0,paddingRight:m,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>Te({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:f,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>Te({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:h,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>Te({paddingLeft:e})})))))}}const{Component:lC,Fragment:iC}=wp.element,{__:sC}=wp.i18n,{compose:cC}=wp.compose,{decodeEntities:pC}=wp.htmlEntities,{apiFetch:bC}=wp,{addQueryArgs:uC}=wp.url,{withSelect:dC}=wp.data,{Placeholder:gC,Spinner:mC}=wp.components,{taxonomies:fC,postQueryEndpoint:hC}=blockspare_globals;var kC=cC([dC((e,t)=>{const{postsToShow:a,order:o,orderBy:n,categories:r,tags:l,postTax:i,postType:s,taxType:c}=t.attributes,{getEntityRecords:p}=e("core"),b=s||"post",u=fC[b]&&fC[b].taxonomy?fC[b].taxonomy:[];let d=[],g="";return("post"!==b||i)&&void 0!==fC[b]&&c&&(fC[b].taxonomy&&fC[b].taxonomy[c]&&(fC[b].taxonomy&&0==fC[b].taxonomy[c].rest_base||fC[b].taxonomy&&null==fC[b].taxonomy[c].rest_base?fC[b].taxonomy&&fC[b].taxonomy[c].name:fC[b].taxonomy&&fC[b].taxonomy[c].rest_base),fC[b].terms&&fC[b].terms[c]&&(d=fC[b].terms[c])),{taxList:u,taxOptions:d}}),W,I(e=>{const{marginTop:t,marginRight:a,marginBottom:o,marginLeft:n,paddingTop:r,paddingRight:l,paddingBottom:i,paddingLeft:s,postTitleColor:c,exclusiveSubtitle:p,exclusiveColor:b,exclusiveBgColor:u,postTitleFontSize:d,titleFontFamily:g,titleFontWeight:m,titleFontSizeType:f,titleFontSizeMobile:h,titleFontSizeTablet:k,backGroundColor:y,titleOnHoverColor:v,animationSpeed:C,border:O,borderWidth:E,borderColor:x,borderRadius:w,imgBorderRadius:S,exclusiveFontSize:T,exclusiveFontFamily:j,exclusiveFontWeight:F,exclusiveFontSizeType:M,exclusiveFontSizeMobile:B,exclusiveFontSizeTablet:L,newsColor:z,newsBgColor:N,enableCount:P,countColor:D,background:R,postWidth:A,postTitleLineHeight:_,exclusiveSubtitleFontSize:I,exclusiveSubtitleFontFamily:H,exclusiveSubtitleFontWeight:G,exclusiveSubtitleFontSizeType:W,exclusiveSubtitleFontSizeMobile:U,exclusiveSubtitleFontSizeTablet:q}=e.attributes,V=[];return V.push({".bs-flash-wrap .bs-exclusive-posts":{borderRadius:w+"px"},".bs-flash-wrap .bs-exclusive-posts .bs-exclusive-now-txt-animation-wrap":{borderRadius:w+"px"},".bs-flash-wrap .bs-exclusive-posts .bs-exclusive-slides":{borderRadius:w+"px"},".bs-flash-wrap .bs-exclusive-posts .bs-exclusive-slides .bs-circle-marq":{borderRadius:S+"px"},".bs-flash-wrap .bs-exclusive-posts .bs-exclusive-slides .bs-marquee .bs-marquee-wrapper":{animationDuration:C+"s"},".bs-flash-wrap.has-fixed-width  h4.bs-post-title ":{width:A+"px"}}),V.push({".bs-flash-wrap .bs-exclusive-posts .bs-exclusive-slides a .bs-post-title":{color:c},".bs-flash-wrap .bs-exclusive-posts .bs-exclusive-slides a:hover .bs-post-title":{color:v},".bs-flash-wrap .bs-exclusive-posts .bs-exclusive-now .bs-exclusive-now-txt-animation-wrap":{color:z,backgroundColor:N},".bs-flash-wrap.flash-style-2 .bs-exclusive-posts .bs-exclusive-now .bs-exclusive-now-txt-animation-wrap::after":{borderLeftColor:N},".bs-flash-wrap.flash-style-3 .bs-exclusive-posts .bs-exclusive-now .bs-exclusive-now-txt-animation-wrap::after":{backgroundColor:N},".bs-flash-wrap.flash-style-4 .bs-exclusive-posts .bs-exclusive-now .bs-exclusive-now-txt-animation-wrap::after":{backgroundColor:N}}),R&&V.push({".bs-flash-wrap .bs-exclusive-posts":{backgroundColor:y}}),P&&V.push({".bs-flash-wrap .bs-exclusive-posts .bs-exclusive-slides .bs-marquee h4.bs-post-title a .bs-circle-marq .bs-trending-no":{color:D}}),O&&V.push({".bs-flash-wrap .bs-exclusive-posts":{borderWidth:E+"px",borderColor:x}}),p&&V.push({".bs-flash-wrap .bs-exclusive-posts .bs-exclusive-now > span":{color:b,backgroundColor:u},".bs-flash-wrap .bs-exclusive-posts .bs-exclusive-now > span::before":{borderTopColor:u}," .bs-flash-wrap .bs-exclusive-posts .bs-exclusive-now > span::after":{borderBottomColor:u}}),V.push({".bs-flash-wrap .bs-exclusive-posts":{marginTop:t?t+"px":"0",marginRight:a?a+"px":"0",marginBottom:o?o+"px":"0",marginLeft:n?n+"px":"0"},".bs-flash-wrap .bs-exclusive-slides":{paddingTop:r?r+"px":"0",paddingRight:l?l+"px":"0",paddingBottom:i?i+"px":"0",paddingLeft:s?s+"px":"0"}}),V.push({".bs-flash-wrap .bs-exclusive-posts .bs-exclusive-slides a .bs-post-title":{fontSize:d+f,...Ro(g),...Ao(m),lineHeight:_},".bs-flash-wrap .bs-exclusive-now .bs-exclusive-now-txt-animation-wrap .bs-exclusive-texts-wrapper":{fontSize:T+M,...Ro(j),...Ao(F)},".bs-flash-wrap .bs-exclusive-now .bs-exclusive-news-title":{fontSize:I+W,...Ro(H),...Ao(G)},tablet:{".bs-flash-wrap .bs-exclusive-posts .bs-exclusive-slides a .bs-post-title":{fontSize:k+f},".bs-flash-wrap .bs-exclusive-now .bs-exclusive-now-txt-animation-wrap .bs-exclusive-texts-wrapper":{fontSize:L+M},".bs-flash-wrap .bs-exclusive-now .bs-exclusive-news-title":{fontSize:q+W}},mobile:{".bs-flash-wrap .bs-exclusive-posts .bs-exclusive-slides a .bs-post-title":{fontSize:h+f},".bs-flash-wrap .bs-exclusive-now .bs-exclusive-now-txt-animation-wrap .bs-exclusive-texts-wrapper":{fontSize:B+M},".bs-flash-wrap .bs-exclusive-now .bs-exclusive-news-title":{fontSize:U+W}}}),Do.a.all(V)})])(class extends lC{constructor(){super(...arguments),this.getPosts=this.getPosts.bind(this),this.state={latestPosts:[],loaded:!1},this.debouncedGetPosts=uf()(this.getPosts.bind(this),200)}componentDidMount(){this.getPosts()}componentDidUpdate(e){["postType","taxType","postTax","orderBy","order","categories","allcategories","tags","postsToShow","offset"].reduce((t,a)=>t||e.attributes[a]!==this.props.attributes[a],!1)&&(this.setState({loaded:!1}),this.debouncedGetPosts())}getPosts(){this.setState({loaded:!1}),bC({path:uC(hC,sf(this.props.attributes,"query"))}).then(e=>{this.setState({latestPosts:e,loaded:!0})}).catch(()=>{this.setState({latestPosts:[],loaded:!0})})}render(){const{attributes:{align:e,postType:t,enableCount:a,postsToShow:n,sectionTag:r,imageSize:l="thumbnail",titleLoadGoogleFonts:i,titleFontFamily:s,titleFontWeight:c,carouselType:p,animation:b,layoutStyle:u,exclusiveText:d,exclusiveSubtitle:g,exclusiveSubtitleText:m,spinner:f,spinnerOption:h,spinnerStyle:k,spinnerIcon:v,animationStyle:C,direction:O,pauseOnHover:E,border:x,borderStyle:w,blockHoverEffect:S,fixedWidth:T,exclusiveLoadGoogleFonts:j,exclusiveFontFamily:F,exclusiveFontWeight:M,exclusiveSubtitleLoadGoogleFonts:B,exclusiveSubtitleFontFamily:L,exclusiveSubtitleFontWeight:z},className:N,attributes:P,setAttributes:D}=this.props;let R,A,_;if(1==i){const e={google:{families:[s+(c?":"+c:"")]}};R=Object(o.createElement)(Uo,{config:e})}if(1==j){const e={google:{families:[F+(M?":"+M:"")]}};A=Object(o.createElement)(Uo,{config:e})}if(1==B){const e={google:{families:[L+(z?":"+z:"")]}};_=Object(o.createElement)(Uo,{config:e})}const{latestPosts:I,loaded:H}=this.state;if(!(Array.isArray(I)&&I.length>0))return Object(o.createElement)(iC,null,Object(o.createElement)(rC,{setAttributes:D,...this.props}),Object(o.createElement)(gC,{icon:"admin-post",label:sC("Latest Posts Flash","blockspare")},H?sC("No posts found.","blockspare"):Object(o.createElement)(mC,null)));const G=I.length>n?I.slice(0,n):I,W=r||"section",U=y()([N,""!==e?"align"+e:"aligncenter",b?"blockspare-block-animation":"",b,S]);let q=0;return Object(o.createElement)(iC,null,Object(o.createElement)(rC,{setAttributes:D,...this.props}),Object(o.createElement)("div",{className:U},this.props.styles,Object(o.createElement)(W,{className:y()(this.props.className,"blockspare-posts-block-post-wrap")},Object(o.createElement)("div",{className:y()("bs-flash-wrap","flash-layout",u,T?"has-fixed-width":"")},Object(o.createElement)("div",{className:`bs-exclusive-posts blockspare-hover-item ${x?"bs-border-enabled":"bs-border-disabled"} ${x?"bs-"+w:""}`},Object(o.createElement)("div",{className:"bs-exclusive-now"},g&&Object(o.createElement)("span",{class:"bs-exclusive-news-title"},Object(o.createElement)("span",null,m)),Object(o.createElement)("div",{className:"bs-exclusive-now-txt-animation-wrap"},f&&Object(o.createElement)("span",{className:"bs-spinner "+("spinner-option-1"===h?k:C)},"spinner-option-1"===h&&Object(o.createElement)(iC,null,Object(o.createElement)("div",{className:"ring"}),Object(o.createElement)("div",{className:"ring"}),Object(o.createElement)("div",{className:"ring"}),Object(o.createElement)("div",{className:"ring"}),"spinner-style-4"!==k&&Object(o.createElement)("div",{className:"ring"})),"spinner-option-2"===h&&Object(o.createElement)("i",{className:v})),Object(o.createElement)("span",{className:"bs-exclusive-texts-wrapper"},""!==d?d:"Breaking News"))),Object(o.createElement)("div",{className:"bs-exclusive-slides"},Object(o.createElement)("div",{className:`bs-marquee bs-flash-side ${O} ${E?"pause-on-hover":""}`},Object(o.createElement)("div",{className:"bs-marquee-wrapper"},G.map((e,t)=>{q++;const n=(e.featured_image_src_large[l||"large"]||[])[0];return void 0!==e.taxonomy_info&&JSON.parse(e.taxonomy_info),Object(o.createElement)("h4",{className:"bs-post-title"},Object(o.createElement)("a",{href:"#"},Object(o.createElement)("span",{className:"bs-circle-marq"},a&&Object(o.createElement)("span",{className:"bs-trending-no"},q),n&&Object(o.createElement)("img",{src:n}),!n&&Object(o.createElement)("div",{class:"bs-no-thumbnail-img"}," ")),Object(o.createElement)("span",{className:"bs-post-title"},pC(e.title.raw.trim())||sC("(Untitled)","blockspare"))))})),Object(o.createElement)("div",{"aria-hidden":"true",className:"bs-marquee-wrapper"},G.map((e,t)=>{q++;const n=(e.featured_image_src_large[l||"large"]||[])[0];return void 0!==e.taxonomy_info&&JSON.parse(e.taxonomy_info),Object(o.createElement)("h4",{className:"bs-post-title"},Object(o.createElement)("a",{href:"#"},Object(o.createElement)("span",{className:"bs-circle-marq"},a&&Object(o.createElement)("span",{className:"bs-trending-no"},q),n&&Object(o.createElement)("img",{src:n}),!n&&Object(o.createElement)("div",{class:"bs-no-thumbnail-img"}," ")),Object(o.createElement)("span",{className:"bs-post-title"},pC(e.title.raw.trim())||sC("(Untitled)","blockspare"))))})))))))),R,A,A)}}),yC=a(251);const{name:vC,category:CC}=yC,{__:OC}=wp.i18n,{registerBlockType:EC}=wp.blocks;EC(vC,{title:OC("Latest Post Flash","blockspare"),description:OC("Add posts layouts from selected categories.","blockspare"),category:CC,icon:s.a.post_flash,keywords:[OC("af","blockspare"),OC("article","blockspare"),OC("archive","blockspare"),OC("block","blockspare"),OC("blocks","blockspare"),OC("blog","blockspare"),OC("box","blockspare"),OC("category","blockspare"),OC("express","blockspare"),OC("full","blockspare"),OC("grid","blockspare"),OC("latest","blockspare"),OC("list","blockspare"),OC("latest posts block","blockspare"),OC("post","blockspare"),OC("posts","blockspare"),OC("tile","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{design:"blockspare-posts-block-grid-layout-1",postsToShow:6,displayPostCategory:!0,displayPostAuthor:!0,displayPostDate:!0,imageSize:"medium",postTitleFontSize:16}},edit:kC,save:()=>null,deprecated:[{attributes:{...yC.attributes,categories:{type:"string"}},migrate:e=>({...e,categories:[{value:Number(e.categories),label:"selected"}]}),isEligible:e=>{let{categories:t}=e;return t&&"string"==typeof t},save:()=>null}]});var xC=a(82),wC=a(80),SC=a.n(wC),TC=a(81),jC=a.n(TC);const{Component:FC,Fragment:MC}=wp.element,{compose:BC}=wp.compose,{decodeEntities:LC}=wp.htmlEntities,{__:zC}=wp.i18n,{withSelect:NC}=wp.data,{Placeholder:PC,Spinner:DC}=wp.components;var RC=BC([NC((e,t)=>{const{editorPostsToShow:a,editorOrder:o,editorOrderBy:n,editorCategory:r}=t.attributes,{getEntityRecords:l}=e("core");return{EditorPicksPosts:l("postType","post",jC()({categories:r,order:o,orderby:n,exclude:[wp.data.select("core/editor").getCurrentPostId()]},e=>!SC()(e)))}}),W,I(e=>{const{editorPostTitleColor:t,editorPostLinkColor:a,editorPostGeneralColor:o,editorTitleFontSize:n,editorTitleFontSizeTablet:r,editorTitleFontSizeMobile:l,editorTitleFontSizeType:i,editorTitleFontFamily:s,editorTitleFontWeight:c,editorCategoryFontSize:p,editorCategoryFontFamily:b,editorCategoryFontWeight:u,editorCategoryFontSubset:d,editorCategoryFontSizeType:g,editorCategoryFontSizeMobile:m,editorCategoryFontSizeTablet:f,editorMetaFontSize:h,editorMetaFontSizeTablet:k,editorMetaFontSizeMobile:y,editorMetaFontFamily:v,editorMetaFontWeight:C,editorTitleLineHeight:O,editorCategoryLayoutOption:E,editorCategoryTextColor:x,editorCategoryBorderColor:w,editorCategoryBackgroundColor:S,editorSecondCategoryTextColor:T,editorSecondCategoryBorderColor:j,editorSecondCategoryBackgroundColor:F,editorThirdCategoryTextColor:M,editorThirdCategoryBorderColor:B,editorThirdCategoryBackgroundColor:L,editorCategoryBorderRadius:z,editorCategoryBorderWidth:N,editorTitleOnHover:P,editorTitleOnHoverColor:D,editorTitleMarginTop:R,editorTitleMarginBottom:A,editorTitleMarginLeft:_,editorTitleMarginRight:I,editorCategoryMarginTop:H,editorCategoryMarginBottom:G,editorCategoryMarginLeft:W,editorCategoryMarginRight:U,editorMetaMarginTop:q,editorMetaMarginBottom:V,editorMetaMarginLeft:$,editorMetaMarginRight:X,editorPostOverlayColor:Y,bannerOneLayout:J,bannerTwoLayout:K,bannerThreeLayout:Z,bannerFourLayout:Q,editorColorType:ee}=e.attributes,te=[];return"lpc-title-hover"===P&&te.push({".blockspare-posts-block-post-content.has-editor-title-hover .blockspare-posts-block-title-link:hover span":{color:D+"!important"}}),"lpc-title-border"===P&&te.push({".blockspare-posts-block-post-content.has-editor-title-hover .blockspare-posts-block-post-grid-title .blockspare-posts-block-title-link span:hover":{boxShadow:"inset 0 -2px 0 0 "+D}}),te.push({".blockspare-editor-picks-items .blockspare-posts-block-post-grid-title a span":{color:t?t+"!important":"#404040"},".blockspare-editor-picks-items .blockspare-posts-block-post-content .blockspare-posts-block-post-grid-title":{lineHeight:O},".blockspare-editor-picks-items .blockspare-posts-block-post-grid-author a span":{color:a||"#000000"},".blockspare-editor-picks-items .blockspare-posts-block-text-link a":{color:a||"#000000"},".blockspare-editor-picks-items .blockspare-posts-block-post-grid-date":{color:o||"#000"},".blockspare-editor-picks-items .comment_count":{color:o||"#000"}}),"border"!==E&&"solid"!==E||te.push({".blockspare-editor-picks-items .blockspare-posts-block-post-category a":{borderRadius:z+"px"}}),"border"===E&&te.push({".blockspare-editor-picks-items .blockspare-posts-block-post-category a":{borderStyle:"solid",borderWidth:N+"px"}}),"underline"===E&&te.push({".blockspare-editor-picks-items .blockspare-posts-block-post-category a":{borderBottomStyle:"solid",borderBottomWidth:N+"px",paddingLeft:"0",paddingRight:"0"}}),"bs-single-color"===ee?(te.push({".blockspare-editor-picks-items .blockspare-posts-block-post-category a":{color:x?x+"!important":"#fff"}}),"solid"===E&&te.push({".blockspare-editor-picks-items .blockspare-posts-block-post-category a":{backgroundColor:S?S+"!important":"#8b249c"}}),"border"!==E&&"underline"!==E||te.push({".blockspare-editor-picks-items .blockspare-posts-block-post-category a":{borderColor:w}})):(te.push({".blockspare-editor-picks-items .blockspare-posts-block-post-category a:nth-child(3n + 1)":{color:x?x+"!important":"#fff"},".blockspare-editor-picks-items .blockspare-posts-block-post-category a:nth-child(3n + 2)":{color:T?T+"!important":"#fff"},".blockspare-editor-picks-items .blockspare-posts-block-post-category a:nth-child(3n)":{color:M?M+"!important":"#fff"}}),"solid"===E&&te.push({".blockspare-editor-picks-items .blockspare-posts-block-post-category a:nth-child(3n + 1)":{backgroundColor:S?S+"!important":"#8b249c"},".blockspare-editor-picks-items .blockspare-posts-block-post-category a:nth-child(3n + 2)":{backgroundColor:F?F+"!important":"#8b249c"},".blockspare-editor-picks-items .blockspare-posts-block-post-category a:nth-child(3n)":{backgroundColor:L?L+"!important":"#8b249c"}}),"border"!==E&&"underline"!==E||te.push({".blockspare-editor-picks-items .blockspare-posts-block-post-category a:nth-child(3n + 1)":{borderColor:w},".blockspare-editor-picks-items .blockspare-posts-block-post-category a:nth-child(3n + 2)":{borderColor:j},".blockspare-editor-picks-items .blockspare-posts-block-post-category a:nth-child(3n)":{borderColor:B}})),"blockspare/blockspare-banner-1"===e.name||"blockspare/blockspare-banner-2"===e.name||"blockspare/blockspare-banner-3"===e.name||"blockspare/blockspare-banner-4"===e.name?("banner-style-1 has-bg-layout"!==J&&"banner-style-2 has-bg-layout"!==J&&"banner-style-1 has-bg-layout"!==K&&"banner-style-2 has-bg-layout"!==K&&"banner-style-1 has-bg-layout"!==Z&&"banner-style-2 has-bg-layout"!==Z&&"banner-style-1 has-bg-layout"!==Q&&"banner-style-2 has-bg-layout"!==Q||te.push({".blockspare-editor-picks-items .blockspare-post-items .blockspare-post-data .blockspare-posts-block-post-img::before":{background:`linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, ${Y} 100%)`}}),"banner-style-3 has-bg-layout"!==J&&"banner-style-4 has-bg-layout"!==J&&"banner-style-3 has-bg-layout"!==K&&"banner-style-4 has-bg-layout"!==K&&"banner-style-3 has-bg-layout"!==Z&&"banner-style-4 has-bg-layout"!==Z&&"banner-style-3 has-bg-layout"!==Q&&"banner-style-4 has-bg-layout"!==Q||te.push({".blockspare-editor-picks-items .blockspare-post-items .blockspare-post-data .blockspare-posts-block-post-content .blockspare-posts-block-post-grid-title .blockspare-posts-block-title-link":{background:Y},".blockspare-editor-picks-items .blockspare-post-items .blockspare-post-data .blockspare-posts-block-post-content .blockspare-posts-block-post-grid-byline":{background:Y}}),"banner-style-5"!==J&&"banner-style-6"!==J&&"banner-style-5"!==K&&"banner-style-6"!==K&&"banner-style-5"!==Z&&"banner-style-6"!==Z&&"banner-style-5"!==Q&&"banner-style-6"!==Q||te.push({".blockspare-editor-picks-items .blockspare-post-items .blockspare-post-data .blockspare-posts-block-post-content::after":{background:Y}}),"banner-style-7"!==J&&"banner-style-8"!==J&&"banner-style-7"!==K&&"banner-style-8"!==K&&"banner-style-7"!==Z&&"banner-style-8"!==Z&&"banner-style-7"!==Q&&"banner-style-8"!==Q||te.push({".blockspare-editor-picks-items .blockspare-post-items .blockspare-post-data .blockspare-posts-block-post-img::before":{background:Y}})):te.push({".blockspare-editor-picks-items .blockspare-post-items .blockspare-post-data .blockspare-posts-block-post-img::before":{background:`linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, ${Y} 100%)`}}),te.push({".blockspare-editor-picks-items .blockspare-post-items .blockspare-posts-block-post-grid-title":{fontSize:n+i,...Ro(s),...Ao(c)},".blockspare-editor-picks-items .blockspare-posts-block-post-grid-author a span":{fontSize:h+i,...Ro(v),...Ao(C)},".blockspare-editor-picks-items .blockspare-posts-block-post-grid-date":{fontSize:h+i,...Ro(v),...Ao(C)},".blockspare-editor-picks-items .comment_count":{fontSize:h+i,...Ro(v),...Ao(C)},tablet:{".blockspare-editor-picks-items .blockspare-post-items .blockspare-posts-block-post-grid-title":{fontSize:r+i},".blockspare-editor-picks-items .blockspare-posts-block-post-grid-author a span":{fontSize:k+i},".blockspare-editor-picks-items .blockspare-posts-block-post-grid-date":{fontSize:k+i},".blockspare-editor-picks-items .comment_count":{fontSize:k+i}},mobile:{".blockspare-editor-picks-items .blockspare-post-items .blockspare-posts-block-post-grid-title":{fontSize:l+i},".blockspare-editor-picks-items .blockspare-posts-block-post-grid-author a span":{fontSize:y+i},".blockspare-editor-picks-items .blockspare-posts-block-post-grid-date":{fontSize:y+i},".blockspare-editor-picks-items .comment_count":{fontSize:y+i}}}),te.push({".blockspare-editor-picks-items .blockspare-posts-block-post-category a":{fontSize:p+g,...Ro(b),fontWeight:u},tablet:{".blockspare-editor-picks-items .blockspare-posts-block-post-category a":{fontSize:f+g}},mobile:{".blockspare-editor-picks-items .blockspare-posts-block-post-category a":{fontSize:m+g}}}),te.push({".blockspare-editor-picks-items .blockspare-posts-block-post-grid-title ":{marginTop:R+"px",marginBottom:A+"px",marginLeft:_+"px",marginRight:I+"px"},".blockspare-editor-picks-items .blockspare-posts-block-post-category ":{marginTop:H+"px",marginBottom:G+"px",marginLeft:W+"px",marginRight:U+"px"},".blockspare-editor-picks-items .blockspare-posts-block-post-grid-byline ":{marginTop:q+"px",marginBottom:V+"px",marginLeft:$+"px",marginRight:X+"px"}}),Do.a.all(te)})])(class extends FC{render(){const{attributes:{bannerLayout:e,imageSize:t="large",editorCategoryLayoutOption:a,editorAuthorIcon:n,editorDateIcon:r,editorCommentIcon:l,editorDisplayPostCategory:i,editorDisplayPostAuthor:s,editorEnableComment:c,editorDisplayPostDate:p,editorTitleFontFamily:b,editorTitleFontWeight:u,editorTitleLoadGoogleFonts:d,editorMetaFontFamily:g,editorMetaFontWeight:m,editorMetaLoadGoogleFonts:f,editorCategoryFontFamily:h,editorCategoryFontWeight:k,editorCategoryLoadGoogleFonts:v,sliderTitleOnHover:C},bsitem:O,bslayouts:E,className:x,attributes:w,setAttributes:S,EditorPicksPosts:T}=this.props;let j,F,M;if(1==d){const e={google:{families:[b+(u?":"+u:"")]}};j=Object(o.createElement)(Uo,{config:e})}if(1==v){const e={google:{families:[h+(k?":"+k:"")]}};F=Object(o.createElement)(Uo,{config:e})}if(1==f){const e={google:{families:[g+(m?":"+m:"")]}};M=Object(o.createElement)(Uo,{config:e})}if(!Array.isArray(T)||!T.length)return Object(o.createElement)(MC,null,Object(o.createElement)(PC,{icon:"admin-post",label:zC("Editor Picks","blockspare")},Array.isArray(T)?zC("No posts found.","blockspare"):Object(o.createElement)(DC,null)));let B=O;const L=T.length>B?T.slice(0,B):T,z=y()([x,"blockspare-banner-editor-picks-wrapper"]),N=y()(["none"===a?"has-no-category-style":"","blockspare-posts-block-post-category"]);let P="";return""!==C&&(P="has-editor-title-hover"),Object(o.createElement)(MC,null,Object(o.createElement)("div",{className:z},this.props.styles,Object(o.createElement)("div",{className:"blockspare-editor-picks-items "},L.map((e,a)=>{const b=(e.featured_image_urls&&e.featured_image_urls[t||"large"]||[])[0];return Object(o.createElement)("div",{className:"blockspare-post-items blockspare-hover-item"},Object(o.createElement)("div",{className:"blockspare-post-data"},"undefined"!==b&&Object(o.createElement)("figure",{className:"blockspare-posts-block-post-img"},b?Object(o.createElement)("img",{src:b}):Object(o.createElement)("div",{class:"bs-no-thumbnail-img"}," ")),Object(o.createElement)("div",{className:"blockspare-posts-block-post-content "+P},i&&Object(o.createElement)("div",{className:N,dangerouslySetInnerHTML:{__html:e.category_info.replace(/href=['"].*?['"]/g,"")}}),Object(o.createElement)("h4",{className:"blockspare-posts-block-post-grid-title"},Object(o.createElement)("a",{target:"_blank",rel:"bookmark",className:"blockspare-posts-block-title-link"},Object(o.createElement)("span",{dangerouslySetInnerHTML:{__html:LC(e.title.rendered)}}))),(s||p||c)&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-byline"},s&&e.author_info.info&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-author"},e.author_info.info.map((t,a)=>Object(o.createElement)("a",null,Object(o.createElement)("span",null,a<1&&Object(o.createElement)("i",{className:n}),t.trim(),a!==e.author_info.info.length-1?", ":"")))),p&&e.date_gmt&&Object(o.createElement)("time",{dateTime:gf()(e.date_gmt).utc().format(),className:"blockspare-posts-block-post-grid-date"},Object(o.createElement)("i",{className:r}),gf()(e.date_gmt).local().format("MMMM DD, Y","blockspare")),c&&Object(o.createElement)("span",{className:"comment_count"},Object(o.createElement)("i",{className:l}),e.comment_count)))))}))),j,F,M)}});const{__:AC}=wp.i18n,{TabPanel:_C,PanelBody:IC,RangeControl:HC}=wp.components,{Fragment:GC}=wp.element;var WC=function(e){const{attributes:{sliderTitleMarginTop:t,sliderTitleMarginBottom:a,sliderTitleMarginLeft:n,sliderTitleMarginRight:r,editorTitleMarginTop:l,editorTitleMarginBottom:i,editorTitleMarginLeft:s,editorTitleMarginRight:c,trendingTitleMarginTop:p,trendingTitleMarginBottom:b,trendingTitleMarginLeft:u,trendingTitleMarginRight:d,sliderCategoryMarginTop:g,sliderCategoryMarginBottom:m,sliderCategoryMarginLeft:f,sliderCategoryMarginRight:h,sliderMetaMarginTop:k,sliderMetaMarginBottom:y,sliderMetaMarginLeft:v,sliderMetaMarginRight:C,editorCategoryMarginTop:O,editorCategoryMarginBottom:E,editorCategoryMarginLeft:x,editorCategoryMarginRight:w,editorMetaMarginTop:S,editorMetaMarginBottom:T,editorMetaMarginLeft:j,editorMetaMarginRight:F,trendingCategoryMarginTop:M,trendingCategoryMarginBottom:B,trendingCategoryMarginLeft:L,trendingCategoryMarginRight:z,trendingMetaMarginTop:N,trendingMetaMarginBottom:P,trendingMetaMarginLeft:D,trendingMetaMarginRight:R,sliderDisplayPostCategory:A,sliderDisplayPostAuthor:_,sliderEnableComment:I,sliderDisplayPostDate:H,editorDisplayPostCategory:G,editorDisplayPostAuthor:W,editorEnableComment:U,editorDisplayPostDate:q,trendingDisplayPostCategory:V,trendingDisplayPostAuthor:$,trendingEnableComment:X,trendingDisplayPostDate:Y,marginTop:J,marginBottom:K,marginLeft:Z,marginRight:Q,contentPaddingTop:ee,contentPaddingLeft:te,contentPaddingBottom:ae,contentPaddingRight:oe},attributes:ne,setAttributes:re}=e;let le=[{name:"slider",title:"Slider",className:"blockspare-desktop-tab blockspare-responsive-tabs"},{name:"editor",title:"Editor",className:"blockspare-tablet-tab blockspare-responsive-tabs"}];return"blockspare/blockspare-banner-1"!==e.name&&"blockspare/blockspare-banner-2"!==e.name&&"blockspare/blockspare-banner-3"!==e.name&&"blockspare/blockspare-banner-4"!==e.name&&le.push({name:"trending",title:"Trending",className:"blockspare-mobile-tab blockspare-responsive-tabs"}),Object(o.createElement)(GC,null,Object(o.createElement)(_C,{className:"blockspare-normal-type-field-tabs",activeClass:"active-tab",tabs:le},e=>{let J;return J="slider"===e.name?Object(o.createElement)(GC,null,Object(o.createElement)(IC,{title:AC("Title Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:t,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>re({sliderTitleMarginTop:e}),marginEnableBottom:!0,marginBottom:a,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>re({sliderTitleMarginBottom:e}),marginEnableLeft:!0,marginLeft:n,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>re({sliderTitleMarginLeft:e}),marginEnableRight:!0,marginRight:r,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>re({sliderTitleMarginRight:e})})),A&&Object(o.createElement)(IC,{title:AC("Category Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:g,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>re({sliderCategoryMarginTop:e}),marginEnableBottom:!0,marginBottom:m,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>re({sliderCategoryMarginBottom:e}),marginEnableLeft:!0,marginLeft:f,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>re({sliderCategoryMarginLeft:e}),marginEnableRight:!0,marginRight:h,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>re({sliderCategoryMarginRight:e})})),(_||H||I)&&Object(o.createElement)(IC,{title:AC("Meta Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:k,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>re({sliderMetaMarginTop:e}),marginEnableBottom:!0,marginBottom:y,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>re({sliderMetaMarginBottom:e}),marginEnableLeft:!0,marginLeft:v,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>re({sliderMetaMarginLeft:e}),marginEnableRight:!0,marginRight:C,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>re({sliderMetaMarginRight:e})}))):"editor"===e.name?Object(o.createElement)(GC,null,Object(o.createElement)(IC,{title:AC("Title Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:l,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>re({editorTitleMarginTop:e}),marginEnableBottom:!0,marginBottom:i,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>re({editorTitleMarginBottom:e}),marginEnableLeft:!0,marginLeft:s,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>re({editorTitleMarginLeft:e}),marginEnableRight:!0,marginRight:c,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>re({editorTitleMarginRight:e})})),G&&Object(o.createElement)(IC,{title:AC("Category Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:O,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>re({editorCategoryMarginTop:e}),marginEnableBottom:!0,marginBottom:E,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>re({editorCategoryMarginBottom:e}),marginEnableLeft:!0,marginLeft:x,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>re({editorCategoryMarginLeft:e}),marginEnableRight:!0,marginRight:w,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>re({editorCategoryMarginRight:e})})),(W||q||U)&&Object(o.createElement)(IC,{title:AC("Meta Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:S,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>re({editorMetaMarginTop:e}),marginEnableBottom:!0,marginBottom:T,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>re({editorMetaMarginBottom:e}),marginEnableLeft:!0,marginLeft:j,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>re({editorMetaMarginLeft:e}),marginEnableRight:!0,marginRight:F,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>re({editorMetaMarginRight:e})}))):Object(o.createElement)(GC,null,Object(o.createElement)(IC,{title:AC("Title Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:p,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>re({trendingTitleMarginTop:e}),marginEnableBottom:!0,marginBottom:b,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>re({trendingTitleMarginBottom:e}),marginEnableLeft:!0,marginLeft:u,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>re({trendingTitleMarginLeft:e}),marginEnableRight:!0,marginRight:d,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>re({trendingTitleMarginRight:e})})),V&&Object(o.createElement)(IC,{title:AC("Category Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:M,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>re({trendingCategoryMarginTop:e}),marginEnableBottom:!0,marginBottom:B,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>re({trendingCategoryMarginBottom:e}),marginEnableLeft:!0,marginLeft:L,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>re({trendingCategoryMarginLeft:e}),marginEnableRight:!0,marginRight:z,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>re({trendingCategoryMarginRight:e})})),($||Y||X)&&Object(o.createElement)(IC,{title:AC("Meta Gap","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:N,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>re({trendingMetaMarginTop:e}),marginEnableBottom:!0,marginBottom:P,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>re({trendingMetaMarginBottom:e}),marginEnableLeft:!0,marginLeft:D,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>re({trendingMetaMarginLeft:e}),marginEnableRight:!0,marginRight:R,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>re({trendingMetaMarginRight:e})}))),Object(o.createElement)("div",null,J)}),Object(o.createElement)(IC,{title:AC("Block Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:J,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>re({marginTop:e}),marginEnableBottom:!0,marginBottom:K,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>re({marginBottom:e}),marginEnableLeft:!0,marginLeft:Z,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>re({marginLeft:e}),marginEnableRight:!0,marginRight:Q,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>re({marginRight:e})})),Object(o.createElement)(IC,{title:AC("Content Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(HC,{label:AC("Padding Top","blockspare"),value:ee,onChange:e=>re({contentPaddingTop:e}),min:0,step:1,max:300}),Object(o.createElement)(HC,{label:AC("Padding Right","blockspare"),value:oe,onChange:e=>re({contentPaddingRight:e}),min:0,step:1,max:300}),Object(o.createElement)(HC,{label:AC("Padding Bottom","blockspare"),value:ae,onChange:e=>re({contentPaddingBottom:e}),min:0,step:1,max:300}),Object(o.createElement)(HC,{label:AC("Padding Left","blockspare"),value:te,onChange:e=>re({contentPaddingLeft:e}),min:0,step:1,max:300})))},UC=a.p+"images/blockspare_banner-1-layout-1.744dc19c.png",qC=a.p+"images/blockspare_banner-1-layout-2.e5f9f5b2.png",VC=a.p+"images/blockspare_banner-1-layout-3.50938067.png",$C=a.p+"images/blockspare_banner-1-layout-4.ebb1415e.png";const{Component:XC}=wp.element,{TabPanel:YC,QueryControls:JC}=wp.components,{Fragment:KC}=wp.element,{addQueryArgs:ZC}=wp.url,{apiFetch:QC}=wp;var eO=class extends XC{constructor(){super(...arguments),this.state={categoriesList:[]}}componentDidMount(){this.stillMounted=!0,this.fetchRequest=QC({path:ZC("/wp/v2/categories",{per_page:-1})}).then(e=>{this.stillMounted&&this.setState({categoriesList:e})}).catch(()=>{this.stillMounted&&this.setState({categoriesList:[]})})}componentWillUnmount(){this.stillMounted=!1}render(){const{attributes:{sliderCategory:e,sliderPostsToShow:t,sliderOrder:a,sliderOrderBy:n,editorOrder:r,editorOrderBy:l,editorPostsToShow:i,editorCategory:s,trendingCategory:c,trendingPostToshow:p,trendingOrder:b,trendingOrderBy:u},attributes:d,postQuery:g,typoSettings:m,setAttributes:f}=this.props,{categoriesList:h}=this.state;let k=[{name:"slider",title:"Slider",className:"blockspare-desktop-tab blockspare-responsive-tabs"},{name:"editor",title:"Editor",className:"blockspare-tablet-tab blockspare-responsive-tabs"}];return"blockspare/blockspare-banner-1"!==this.props.name&&"blockspare/blockspare-banner-2"!==this.props.name&&"blockspare/blockspare-banner-3"!==this.props.name&&"blockspare/blockspare-banner-4"!==this.props.name&&"blockspare/blockspare-banner-12"!==this.props.name&&k.push({name:"trending",title:"Trending",className:"blockspare-mobile-tab blockspare-responsive-tabs"}),Object(o.createElement)(YC,{className:"blockspare-normal-type-field-tabs",activeClass:"active-tab",tabs:k},i=>{let d;if("slider"===i.name){let r=a,l=n;d=Object(o.createElement)(KC,null,Object(o.createElement)(JC,C()({order:r,orderBy:l},{categoriesList:h,selectedCategoryId:e,onCategoryChange:e=>f({sliderCategory:""!==e?e:void 0}),numberOfItems:t,onOrderChange:e=>f({sliderOrder:e}),onOrderByChange:e=>f({sliderOrderBy:e}),onNumberOfItemsChange:e=>f({sliderPostsToShow:e})})))}else if("editor"===i.name){let e=r,t=l;d=Object(o.createElement)(KC,null,Object(o.createElement)(JC,C()({order:e,orderBy:t},{categoriesList:h,selectedCategoryId:s,onCategoryChange:e=>f({editorCategory:""!==e?e:void 0}),onOrderChange:e=>f({editorOrder:e}),onOrderByChange:e=>f({editorOrderBy:e})})))}else{let e=b,t=u;d=Object(o.createElement)(KC,null,Object(o.createElement)(JC,C()({order:e,orderBy:t},{categoriesList:h,selectedCategoryId:c,onCategoryChange:e=>f({trendingCategory:""!==e?e:void 0}),numberOfItems:p,onOrderChange:e=>f({trendingOrder:e}),onOrderByChange:e=>f({trendingOrderBy:e}),onNumberOfItemsChange:e=>f({trendingPostToshow:e})})))}return Object(o.createElement)("div",null,d)})}};const{__:tO}=wp.i18n,{TabPanel:aO,RangeControl:oO}=wp.components,{Fragment:nO}=wp.element;var rO=function(e){const{attributes:{sliderCategory:t,sliderPostsToShow:a,sliderOrder:n,sliderOrderBy:r,editorOrder:l,editorOrderBy:i,trendingPostToshow:s,trendingOrder:c,trendingOrderBy:p,sliderTitleFontSize:b,sliderTitleFontFamily:u,sliderTitleFontWeight:d,sliderTitleFontSubset:g,sliderTitleFontSizeType:m,sliderTitleFontSizeMobile:f,sliderTitleFontSizeTablet:h,sliderTitleLoadGoogleFonts:k,sliderMetaFontSize:y,sliderMetaFontFamily:v,sliderMetaFontWeight:C,sliderMetaFontSubset:O,sliderMetaFontSizeType:E,sliderMetaFontSizeMobile:x,sliderMetaFontSizeTablet:w,sliderMetaLoadGoogleFonts:S,sliderCategoryFontSize:T,sliderCategoryFontFamily:j,sliderCategoryFontWeight:F,sliderCategoryFontSubset:M,sliderCategoryFontSizeType:B,sliderCategoryFontSizeMobile:L,sliderCategoryFontSizeTablet:z,sliderCategoryLoadGoogleFonts:N,sliderTitleLineHeight:P,editorCategory:D,editorTitleFontSize:R,editorTitleFontFamily:A,editorTitleFontWeight:_,editorTitleFontSubset:I,editorTitleFontSizeType:H,editorTitleFontSizeMobile:G,editorTitleFontSizeTablet:W,editorTitleLoadGoogleFonts:U,editorCategoryFontSize:q,editorCategoryFontFamily:V,editorCategoryFontWeight:$,editorCategoryFontSubset:X,editorCategoryFontSizeType:Y,editorCategoryFontSizeMobile:J,editorCategoryFontSizeTablet:K,editorCategoryLoadGoogleFonts:Z,editorMetaFontSize:Q,editorMetaFontFamily:ee,editorMetaFontWeight:te,editorMetaFontSubset:ae,editorMetaFontSizeType:oe,editorMetaFontSizeMobile:ne,editorMetaFontSizeTablet:re,editorMetaLoadGoogleFonts:le,editorTitleLineHeight:ie,trendingTitleFontSize:se,trendingTitleFontFamily:ce,trendingTitleFontWeight:pe,trendingTitleFontSubset:be,trendingTitleFontSizeType:ue,trendingTitleFontSizeMobile:de,trendingTitleFontSizeTablet:ge,trendingTitleLoadGoogleFonts:me,trendingCategoryFontSize:fe,trendingCategoryFontFamily:he,trendingCategoryFontWeight:ke,trendingCategoryFontSubset:ye,trendingCategoryFontSizeType:ve,trendingCategoryFontSizeMobile:Ce,trendingCategoryFontSizeTablet:Oe,trendingCategoryLoadGoogleFonts:Ee,trendingMetaFontSize:xe,trendingMetaFontFamily:we,trendingMetaFontWeight:Se,trendingMetaFontSubset:Te,trendingMetaFontSizeType:je,trendingMetaFontSizeMobile:Fe,trendingMetaFontSizeTablet:Me,trendingMetaLoadGoogleFonts:Be,trendingTitleLineHeight:Le,trendingTabFontSize:ze,trendingTabFontFamily:Ne,trendingTabFontWeight:Pe,trendingTabFontSubset:De,trendingTabFontSizeType:Re,trendingTabFontSizeMobile:Ae,trendingTabFontSizeTablet:_e,trendingTabLoadGoogleFonts:Ie,sliderDisplayPostCategory:He,sliderDisplayPostAuthor:Ge,sliderEnableComment:We,sliderDisplayPostDate:Ue,editorDisplayPostCategory:qe,editorDisplayPostAuthor:Ve,editorEnableComment:$e,editorDisplayPostDate:Xe,trendingDisplayPostCategory:Ye,trendingDisplayPostAuthor:Je,trendingEnableComment:Ke,trendingDisplayPostDate:Ze},attributes:Qe,postQuery:et,typoSettings:tt,setAttributes:at}=e;let ot=[{name:"slider",title:"Slider",className:"blockspare-desktop-tab blockspare-responsive-tabs"},{name:"editor",title:"Editor",className:"blockspare-tablet-tab blockspare-responsive-tabs"}];return"blockspare/blockspare-banner-1"!==e.name&&"blockspare/blockspare-banner-2"!==e.name&&"blockspare/blockspare-banner-3"!==e.name&&"blockspare/blockspare-banner-4"!==e.name&&ot.push({name:"trending",title:"Trending",className:"blockspare-mobile-tab blockspare-responsive-tabs"}),Object(o.createElement)(aO,{className:"blockspare-normal-type-field-tabs",activeClass:"active-tab",tabs:ot},t=>{let a;return a="slider"===t.name?Object(o.createElement)(nO,null,Object(o.createElement)(Oo,{label:tO("Title Fonts","blockspare"),attributes:Qe,setAttributes:at,loadGoogleFonts:{value:k,label:tO("sliderTitleLoadGoogleFonts")},fontFamily:{value:u,label:tO("sliderTitleFontFamily")},fontWeight:{value:d,label:tO("sliderTitleFontWeight")},fontSubset:{value:g,label:tO("sliderTitleFontSubset")},fontSizeType:{value:m,label:tO("sliderTitleFontSizeType")},fontSize:{value:b,label:tO("sliderTitleFontSize")},fontSizeMobile:{value:f,label:tO("sliderTitleFontSizeMobile")},fontSizeTablet:{value:h,label:tO("sliderTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),He&&Object(o.createElement)(Oo,{label:tO("Category Fonts","blockspare"),attributes:Qe,setAttributes:at,loadGoogleFonts:{value:N,label:tO("sliderCategoryLoadGoogleFonts")},fontFamily:{value:j,label:tO("sliderCategoryFontFamily")},fontWeight:{value:F,label:tO("sliderCategoryFontWeight")},fontSubset:{value:M,label:tO("sliderCategoryFontSubset")},fontSizeType:{value:B,label:tO("sliderCategoryFontSizeType")},fontSize:{value:T,label:tO("sliderCategoryFontSize")},fontSizeMobile:{value:L,label:tO("sliderCategoryFontSizeMobile")},fontSizeTablet:{value:z,label:tO("sliderCategoryFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),(Ge||We||Ue)&&Object(o.createElement)(Oo,{label:tO("Meta Fonts","blockspare"),attributes:Qe,setAttributes:at,loadGoogleFonts:{value:S,label:tO("sliderMetaLoadGoogleFonts")},fontFamily:{value:v,label:tO("sliderMetaFontFamily")},fontWeight:{value:C,label:tO("sliderMetaFontWeight")},fontSubset:{value:O,label:tO("sliderMetaFontSubset")},fontSizeType:{value:E,label:tO("sliderMetaFontSizeType")},fontSize:{value:y,label:tO("sliderMetaFontSize")},fontSizeMobile:{value:x,label:tO("sliderMetaFontSizeMobile")},fontSizeTablet:{value:w,label:tO("sliderMetaFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),Object(o.createElement)(oO,{label:tO("Title Line Height","blockspare"),value:P,onChange:e=>at({sliderTitleLineHeight:e}),min:0,step:.1,max:2})):"editor"===t.name?Object(o.createElement)(nO,null,Object(o.createElement)(Oo,{label:tO("Title Fonts","blockspare"),attributes:Qe,setAttributes:at,loadGoogleFonts:{value:U,label:tO("editorTitleLoadGoogleFonts")},fontFamily:{value:A,label:tO("editorTitleFontFamily")},fontWeight:{value:_,label:tO("editorTitleFontWeight")},fontSubset:{value:I,label:tO("editorTitleFontSubset")},fontSizeType:{value:H,label:tO("editorTitleFontSizeType")},fontSize:{value:R,label:tO("editorTitleFontSize")},fontSizeMobile:{value:G,label:tO("editorTitleFontSizeMobile")},fontSizeTablet:{value:W,label:tO("editorTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),qe&&Object(o.createElement)(Oo,{label:tO("Category Fonts","blockspare"),attributes:Qe,setAttributes:at,loadGoogleFonts:{value:Z,label:tO("editorCategoryLoadGoogleFonts")},fontFamily:{value:V,label:tO("editorCategoryFontFamily")},fontWeight:{value:$,label:tO("editorCategoryFontWeight")},fontSubset:{value:X,label:tO("editorCategoryFontSubset")},fontSizeType:{value:Y,label:tO("editorCategoryFontSizeType")},fontSize:{value:q,label:tO("editorCategoryFontSize")},fontSizeMobile:{value:J,label:tO("editorCategoryFontSizeMobile")},fontSizeTablet:{value:K,label:tO("editorCategoryFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),(Ve||$e||Xe)&&Object(o.createElement)(Oo,{label:tO("Meta Fonts","blockspare"),attributes:Qe,setAttributes:at,loadGoogleFonts:{value:le,label:tO("editorMetaLoadGoogleFonts")},fontFamily:{value:ee,label:tO("editorMetaFontFamily")},fontWeight:{value:te,label:tO("editorMetaFontWeight")},fontSubset:{value:ae,label:tO("editorMetaFontSubset")},fontSizeType:{value:oe,label:tO("editorMetaFontSizeType")},fontSize:{value:Q,label:tO("editorMetaFontSize")},fontSizeMobile:{value:ne,label:tO("editorMetaFontSizeMobile")},fontSizeTablet:{value:re,label:tO("editorMetaFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),Object(o.createElement)(oO,{label:tO("Title Line Height","blockspare"),value:ie,onChange:e=>at({editorTitleLineHeight:e}),min:0,step:.1,max:2})):Object(o.createElement)(nO,null,"blockspare/blockspare-banner-12"===e.name&&Object(o.createElement)(Oo,{label:tO("Tab Fonts","blockspare"),attributes:Qe,setAttributes:at,loadGoogleFonts:{value:Ie,label:tO("trendingTabLoadGoogleFonts")},fontFamily:{value:Ne,label:tO("trendingTabFontFamily")},fontWeight:{value:Pe,label:tO("trendingTabFontWeight")},fontSubset:{value:De,label:tO("trendingTabFontSubset")},fontSizeType:{value:Re,label:tO("trendingTabFontSizeType")},fontSize:{value:ze,label:tO("trendingTabFontSize")},fontSizeMobile:{value:Ae,label:tO("trendingTabFontSizeMobile")},fontSizeTablet:{value:_e,label:tO("trendingTabFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),Object(o.createElement)(Oo,{label:tO("Title Fonts","blockspare"),attributes:Qe,setAttributes:at,loadGoogleFonts:{value:me,label:tO("trendingTitleLoadGoogleFonts")},fontFamily:{value:ce,label:tO("trendingTitleFontFamily")},fontWeight:{value:pe,label:tO("trendingTitleFontWeight")},fontSubset:{value:be,label:tO("trendingTitleFontSubset")},fontSizeType:{value:ue,label:tO("trendingTitleFontSizeType")},fontSize:{value:se,label:tO("trendingTitleFontSize")},fontSizeMobile:{value:de,label:tO("trendingTitleFontSizeMobile")},fontSizeTablet:{value:ge,label:tO("trendingTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),Ye&&Object(o.createElement)(Oo,{label:tO("Category Fonts","blockspare"),attributes:Qe,setAttributes:at,loadGoogleFonts:{value:Ee,label:tO("trendingCategoryLoadGoogleFonts")},fontFamily:{value:he,label:tO("trendingCategoryFontFamily")},fontWeight:{value:ke,label:tO("trendingCategoryFontWeight")},fontSubset:{value:ye,label:tO("trendingCategoryFontSubset")},fontSizeType:{value:ve,label:tO("trendingCategoryFontSizeType")},fontSize:{value:fe,label:tO("trendingCategoryFontSize")},fontSizeMobile:{value:Ce,label:tO("trendingCategoryFontSizeMobile")},fontSizeTablet:{value:Oe,label:tO("trendingCategoryFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),(Je||Ke||Ze)&&Object(o.createElement)(Oo,{label:tO("Meta Fonts","blockspare"),attributes:Qe,setAttributes:at,loadGoogleFonts:{value:Be,label:tO("trendingMetaLoadGoogleFonts")},fontFamily:{value:we,label:tO("trendingMetaFontFamily")},fontWeight:{value:Se,label:tO("trendingMetaFontWeight")},fontSubset:{value:Te,label:tO("trendingMetaFontSubset")},fontSizeType:{value:je,label:tO("trendingMetaFontSizeType")},fontSize:{value:xe,label:tO("trendingMetaFontSize")},fontSizeMobile:{value:Fe,label:tO("trendingMetaFontSizeMobile")},fontSizeTablet:{value:Me,label:tO("trendingMetaFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),Object(o.createElement)(oO,{label:tO("Title Line Height","blockspare"),value:Le,onChange:e=>at({trendingTitleLineHeight:e}),min:0,step:.1,max:2})),Object(o.createElement)("div",null,a)})};const{__:lO}=wp.i18n,{TabPanel:iO,RangeControl:sO,SelectControl:cO,TextControl:pO,ToggleControl:bO}=wp.components,{Fragment:uO}=wp.element;var dO=function(e){const{attributes:{sliderNextPrevShow:t,sliderNextIcon:a,sliderShowDots:n,sliderEnableAutoPlay:r,sliderSpeed:l,sliderNavigationShape:i,sliderNavigationSize:s,sliderEnableNavInHover:c,trendingGutterSpace:p,numberofSlideTrending:b,trendingNextPrevShow:u,trendingNextIcon:d,trendingShowDots:g,trendingEnableAutoPlay:m,trendingSpeed:f,trendingNavigationShape:h,trendingNavigationSize:k,trendingEnableNavInHover:y},attributes:v,setAttributes:C}=e,O=[{value:"fas fa-chevron-right",label:lO("Chevron","blockspare")},{value:"fas fa-angle-right",label:lO("Angle","blockspare")},{value:"fas fa-chevron-circle-right",label:lO("Chevron Circle","blockspare")},{value:"fas fa-caret-right",label:lO("Caret","blockspare")},{value:"fas fa-caret-square-right",label:lO("Caret Square","blockspare")},{value:"fas fa-arrow-circle-right",label:lO("Circle","blockspare")},{value:"fas fa-arrow-right",label:lO("Arrow","blockspare")},{value:"fas fa-long-arrow-alt-right",label:lO("Long Arrow","blockspare")}],E=e=>C({sliderNextIcon:e}),x=e=>C({trendingNextIcon:e}),w=[{value:"bs-navigation-small",label:lO("Small","blockspare")},{value:"bs-navigation-medium",label:lO("Medium","blockspare")},{value:"bs-navigation-large",label:lO("Large","blockspare")}],S=e=>C({sliderNavigationSize:e}),T=e=>C({trendingNavigationSize:e}),j=[{value:"bs-navigation-1",label:lO("Shape 1","blockspare")},{value:"bs-navigation-2",label:lO("Shape 2","blockspare")},{value:"bs-navigation-3",label:lO("Shape 3","blockspare")},{value:"bs-navigation-4",label:lO("Shape 4","blockspare")},{value:"bs-navigation-5",label:lO("Shape 5","blockspare")}],F=e=>C({sliderNavigationShape:e}),M=e=>C({trendingNavigationShape:e});let B=[{name:"slider",title:"Slider",className:"blockspare-desktop-tab blockspare-responsive-tabs"}];return"blockspare/blockspare-banner-1"!==e.name&&"blockspare/blockspare-banner-2"!==e.name&&"blockspare/blockspare-banner-3"!==e.name&&"blockspare/blockspare-banner-4"!==e.name&&"blockspare/blockspare-banner-12"!==e.name&&B.push({name:"trending",title:"Trending",className:"blockspare-mobile-tab blockspare-responsive-tabs"}),Object(o.createElement)(iO,{className:"blockspare-normal-type-field-tabs",activeClass:"active-tab",tabs:B},n=>{let p;return p="slider"==n.name?Object(o.createElement)(uO,null,Object(o.createElement)(bO,{label:lO("Enable Autoplay","blockspare"),checked:r,onChange:()=>C({sliderEnableAutoPlay:!r})}),Object(o.createElement)(pO,{label:lO("Slide Speed","blockspare"),type:"text",value:l,onChange:e=>C({sliderSpeed:e})}),Object(o.createElement)(bO,{label:lO("Display Navigation","blockspare"),checked:t,onChange:()=>C({sliderNextPrevShow:!t})}),t&&Object(o.createElement)(bO,{label:lO("Display Navigation On hover","blockspare"),checked:c,onChange:()=>C({sliderEnableNavInHover:!c})}),t&&Object(o.createElement)(cO,{label:lO(" Navigation Style","blockspare"),value:a,options:O.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:E}),t&&Object(o.createElement)(cO,{label:lO(" Navigation Size","blockspare"),value:s,options:w.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:S}),t&&Object(o.createElement)(cO,{label:lO(" Navigation Shapes","blockspare"),value:i,options:j.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:F})):Object(o.createElement)(uO,null,"blockspare/blockspare-banner-9"!==e.name&&"blockspare/blockspare-banner-10"!==e.name&&Object(o.createElement)(uO,null,Object(o.createElement)(sO,{label:lO("Number of slide to show","blockspare"),value:b,onChange:e=>C({numberofSlideTrending:e}),min:1,max:4})),Object(o.createElement)(bO,{label:lO("Enable Autoplay","blockspare"),checked:m,onChange:()=>C({trendingEnableAutoPlay:!m})}),Object(o.createElement)(pO,{label:lO("Slide Speed","blockspare"),type:"text",value:f,onChange:e=>C({trendingSpeed:e})}),Object(o.createElement)(bO,{label:lO("Display Navigation","blockspare"),checked:u,onChange:()=>C({trendingNextPrevShow:!u})}),u&&Object(o.createElement)(bO,{label:lO("Display Navigation On hover","blockspare"),checked:y,onChange:()=>C({trendingEnableNavInHover:!y})}),u&&Object(o.createElement)(cO,{label:lO(" Navigation Style","blockspare"),value:d,options:O.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:x}),u&&Object(o.createElement)(cO,{label:lO(" Navigation Size","blockspare"),value:k,options:w.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:T}),u&&Object(o.createElement)(cO,{label:lO(" Navigation Shapes","blockspare"),value:h,options:j.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:M})),Object(o.createElement)("div",null,p)})};const{__:gO}=wp.i18n,{applyFilters:mO}=wp.hooks,{RangeControl:fO,TabPanel:hO}=wp.components,{Fragment:kO}=wp.element;var yO=function(e){const{attributes:{sliderCategoryLayoutOption:t,sliderCategoryBorderWidth:a,sliderCategoryBorderRadius:n,editorCategoryLayoutOption:r,editorCategoryBorderRadius:l,editorCategoryBorderWidth:i,trendingCategoryLayoutOption:s,trendingCategoryBorderRadius:c,trendingCategoryBorderWidth:p,sliderDisplayPostCategory:b,editorDisplayPostCategory:u,trendingDisplayPostCategory:d},attributes:g,setAttributes:m}=e;const f=[{label:gO("Solid","blockspare"),value:"solid",image:wf},{label:gO("Border","blockspare"),value:"border",image:Sf},{label:gO("Underline","blockspare"),value:"underline",image:Sf},{label:gO("None","blockspare"),value:"none",image:Tf}];let h=[];return b&&h.push({name:"slider",title:"Slider",className:"blockspare-desktop-tab blockspare-responsive-tabs"}),u&&h.push({name:"editor",title:"Editor",className:"blockspare-tablet-tab blockspare-responsive-tabs"}),d&&"blockspare/blockspare-banner-1"!==e.name&&"blockspare/blockspare-banner-2"!==e.name&&"blockspare/blockspare-banner-3"!==e.name&&"blockspare/blockspare-banner-4"!==e.name&&h.push({name:"trending",title:"Trending",className:"blockspare-tablet-tab blockspare-responsive-tabs"}),Object(o.createElement)(hO,{className:"blockspare-normal-type-field-tabs",activeClass:"active-tab",tabs:h},e=>{let b;return b="slider"===e.name?Object(o.createElement)(kO,null,Object(o.createElement)(Qi,{initialOpen:!0,selected:t,paneltitle:"Category layout",options:mO("blockspare-posts-block.cta.edit.layouts",f),onChange:e=>m({sliderCategoryLayoutOption:e})}),Object(o.createElement)("div",{style:{marginTop:"24px"}},("solid"===t||"border"===t)&&Object(o.createElement)(fO,{label:gO("Category Border Radius","blockspare"),value:n,onChange:e=>m({sliderCategoryBorderRadius:e}),min:1,step:1,max:100}),("border"===t||"underline"===t)&&Object(o.createElement)(fO,{label:gO("Category Border Width","blockspare"),value:a,onChange:e=>m({sliderCategoryBorderWidth:e}),min:1,step:1,max:5}))):"editor"===e.name?Object(o.createElement)(kO,null,Object(o.createElement)(Qi,{initialOpen:!0,selected:r,paneltitle:"Category layout",options:mO("blockspare-posts-block.cta.edit.layouts",f),onChange:e=>m({editorCategoryLayoutOption:e})}),Object(o.createElement)("div",{style:{marginTop:"24px"}},("solid"===r||"border"===r)&&Object(o.createElement)(fO,{label:gO("Category Border Radius","blockspare"),value:l,onChange:e=>m({editorCategoryBorderRadius:e}),min:1,step:1,max:100}),("border"===r||"underline"===r)&&Object(o.createElement)(fO,{label:gO("Category Border Width","blockspare"),value:i,onChange:e=>m({editorCategoryBorderWidth:e}),min:1,step:1,max:5}))):Object(o.createElement)(kO,null,Object(o.createElement)(Qi,{initialOpen:!0,selected:s,paneltitle:"Category layout",options:mO("blockspare-posts-block.cta.edit.layouts",f),onChange:e=>m({trendingCategoryLayoutOption:e})}),Object(o.createElement)("div",{style:{marginTop:"24px"}},("solid"===s||"border"===s)&&Object(o.createElement)(fO,{label:gO("Category Border Radius","blockspare"),value:c,onChange:e=>m({trendingCategoryBorderRadius:e}),min:1,step:1,max:100}),("border"===s||"underline"===s)&&Object(o.createElement)(fO,{label:gO("Category Border Width","blockspare"),value:p,onChange:e=>m({trendingCategoryBorderWidth:e}),min:1,step:1,max:5}))),Object(o.createElement)("div",null,b)})};const{__:vO}=wp.i18n,{TabPanel:CO}=wp.components,{Fragment:OO}=wp.element,{PanelColorSettings:EO}=wp.blockEditor;var xO=function(e){const{attributes:{sliderPostTitleColor:t,editorPostTitleColor:a,trendingPostTitleColor:n,sliderPostGeneralColor:r,editorPostGeneralColor:l,trendingPostGeneralColor:i,sliderPostLinkColor:s,editorPostLinkColor:c,trendingPostLinkColor:p,sliderNextPrevShow:b,sliderNavigationColor:u,sliderNavigationShapeColor:d,sliderShowDots:g,trendingNextPrevShow:m,trendingNavigationColor:f,trendingNavigationShapeColor:h,trendingShowDots:k,sliderCategoryLayoutOption:y,sliderCategoryTextColor:v,sliderCategoryBorderColor:C,sliderCategoryBackgroundColor:O,sliderSecondCategoryTextColor:E,sliderSecondCategoryBorderColor:x,sliderSecondCategoryBackgroundColor:w,sliderThirdCategoryTextColor:S,sliderThirdCategoryBorderColor:T,sliderThirdCategoryBackgroundColor:j,editorCategoryLayoutOption:F,editorCategoryTextColor:M,editorCategoryBorderColor:B,editorCategoryBackgroundColor:L,editorSecondCategoryTextColor:z,editorSecondCategoryBorderColor:N,editorSecondCategoryBackgroundColor:P,editorThirdCategoryTextColor:D,editorThirdCategoryBorderColor:R,editorThirdCategoryBackgroundColor:A,sliderTitleOnHover:_,sliderTitleOnHoverColor:I,editorTitleOnHoverColor:H,editorTitleOnHover:G,trendingTitleOnHover:W,trendingTitleOnHoverColor:U,trendingCategoryLayoutOption:q,trendingCategoryTextColor:V,trendingCategoryBorderColor:$,trendingCategoryBackgroundColor:X,trendingSecondCategoryTextColor:Y,trendingSecondCategoryBorderColor:J,trendingSecondCategoryBackgroundColor:K,trendingThirdCategoryTextColor:Z,trendingThirdCategoryBorderColor:Q,trendingThirdCategoryBackgroundColor:ee,bannerOneLayout:te,bannerOneTrendingBg:ae,bannerTwoLayout:oe,bannerTwoTrendingBg:ne,bannerThreeLayout:re,bannerThreeTrendingBg:le,bannerFourLayout:ie,bannerFourTrendingBg:se,bannerFiveLayout:ce,bannerFiveTrendingBg:pe,bannerSixLayout:be,bannerSixTrendingBg:ue,bannerSevenLayout:de,bannerSevenTrendingBg:ge,bannerEightLayout:me,bannerEightTrendingBg:fe,bannerNineLayout:he,bannerNineTrendingBg:ke,bannerTenLayout:ye,bannerTenTrendingBg:ve,bannerElevenLayout:Ce,bannerElevenTrendingBg:Oe,bannerTwelveLayout:Ee,bannerTwelveTrendingBg:xe,sliderPostOverlayColor:we,editorPostOverlayColor:Se,sliderBackgroundColor:Te,trendingTabTextColor:je,trendingTabIconColor:Fe,trendingTabBgColor:Me,trendingTabActiveColor:Be,trendingBackground:Le,sliderBackground:ze,sliderGridCategoryBorderColor:Ne,sliderGridSecondCategoryBorderColor:Pe,sliderGridThirdCategoryBorderColor:De,sliderGridPostTitleColor:Re,sliderGridPostGeneralColor:Ae,sliderGridPostLinkColor:_e,sliderGridTitleOnHoverColor:Ie,sliderDisplayPostCategory:He,sliderDisplayPostAuthor:Ge,sliderEnableComment:We,sliderDisplayPostDate:Ue,editorDisplayPostCategory:qe,editorDisplayPostAuthor:Ve,editorEnableComment:$e,editorDisplayPostDate:Xe,trendingDisplayPostCategory:Ye,trendingDisplayPostAuthor:Je,trendingEnableComment:Ke,trendingDisplayPostDate:Ze,sliderColorType:Qe,editorColorType:et,trendingColorType:tt},attributes:at,setAttributes:ot}=e;let nt=!1;"blockspare/blockspare-banner-11"===e.name&&(nt=!0);const rt={value:nt?Re:t,onChange:e=>ot(nt?{sliderGridPostTitleColor:e}:{sliderPostTitleColor:e}),label:vO("Title Color","blockspare")},lt={value:a,onChange:e=>ot({editorPostTitleColor:e}),label:vO("Title Color","blockspare")},it={value:n,onChange:e=>ot({trendingPostTitleColor:e}),label:vO("Title Color","blockspare")},st={value:nt?Ae:r,onChange:e=>ot(nt?{sliderGridPostGeneralColor:e}:{sliderPostGeneralColor:e}),label:vO("Meta Color","blockspare")},ct={value:l,onChange:e=>ot({editorPostGeneralColor:e}),label:vO("Meta Color","blockspare")},pt={value:i,onChange:e=>ot({trendingPostGeneralColor:e}),label:vO("Meta Color","blockspare")},bt={value:nt?_e:s,onChange:e=>ot(nt?{sliderGridPostLinkColor:e}:{sliderPostLinkColor:e}),label:vO("Link Color","blockspare")},ut={value:c,onChange:e=>ot({editorPostLinkColor:e}),label:vO("Link Color","blockspare")},dt={value:p,onChange:e=>ot({trendingPostLinkColor:e}),label:vO("Link Color","blockspare")},gt={value:we,onChange:e=>ot({sliderPostOverlayColor:e}),label:vO("Overlay Color","blockspare")},mt={value:Te,onChange:e=>ot({sliderBackgroundColor:e}),label:vO("Background Color","blockspare")},ft={value:Se,onChange:e=>ot({editorPostOverlayColor:e}),label:vO("Overlay Color","blockspare")},ht={value:u,onChange:e=>ot({sliderNavigationColor:e}),label:vO("Nav Arrow/Dots Color","blockspare")},kt={value:d,onChange:e=>ot({sliderNavigationShapeColor:e}),label:vO("Nav Arrow Bg Color","blockspare")},yt={value:f,onChange:e=>ot({trendingNavigationColor:e}),label:vO("Nav Arrow/Dots Color","blockspare")},vt={value:h,onChange:e=>ot({trendingNavigationShapeColor:e}),label:vO("Nav Arrow Bg Color","blockspare")},Ct=e=>ot({sliderColorType:e}),Ot=e=>ot({editorColorType:e}),Et=e=>ot({trendingColorType:e}),xt=e=>ot({sliderCategoryTextColor:e}),wt=e=>ot({sliderCategoryBackgroundColor:e}),St=e=>ot(nt?{sliderGridCategoryBorderColor:e}:{sliderCategoryBorderColor:e}),Tt=e=>ot({sliderSecondCategoryTextColor:e}),jt=e=>ot({sliderSecondCategoryBackgroundColor:e}),Ft=e=>ot(nt?{sliderGridSecondCategoryBorderColor:e}:{sliderSecondCategoryBorderColor:e}),Mt=e=>ot({sliderThirdCategoryTextColor:e}),Bt=e=>ot({sliderThirdCategoryBackgroundColor:e}),Lt=e=>ot(nt?{sliderGridThirdCategoryBorderColor:e}:{sliderThirdCategoryBorderColor:e}),zt=e=>ot({editorCategoryTextColor:e}),Nt=e=>ot({editorCategoryBackgroundColor:e}),Pt=e=>ot({editorCategoryBorderColor:e}),Dt=e=>ot({editorSecondCategoryTextColor:e}),Rt=e=>ot({editorSecondCategoryBackgroundColor:e}),At=e=>ot({editorSecondCategoryBorderColor:e}),_t=e=>ot({editorThirdCategoryTextColor:e}),It=e=>ot({editorThirdCategoryBackgroundColor:e}),Ht=e=>ot({editorThirdCategoryBorderColor:e}),Gt={value:nt?Ie:I,onChange:e=>ot(nt?{sliderGridTitleOnHoverColor:e}:{sliderTitleOnHoverColor:e}),label:vO("Title Hover Color","blockspare")},Wt={value:H,onChange:e=>ot({editorTitleOnHoverColor:e}),label:vO("Title Hover Color","blockspare")},Ut={value:U,onChange:e=>ot({trendingTitleOnHoverColor:e}),label:vO("Title Hover Color","blockspare")},qt=e=>ot({trendingCategoryTextColor:e}),Vt=e=>ot({trendingCategoryBackgroundColor:e}),$t=e=>ot({trendingCategoryBorderColor:e}),Xt=e=>ot({trendingSecondCategoryTextColor:e}),Yt=e=>ot({trendingSecondCategoryBackgroundColor:e}),Jt=e=>ot({trendingSecondCategoryBorderColor:e}),Kt=e=>ot({trendingThirdCategoryTextColor:e}),Zt=e=>ot({trendingThirdCategoryBackgroundColor:e}),Qt=e=>ot({trendingThirdCategoryBorderColor:e}),ea={value:je,onChange:e=>ot({trendingTabTextColor:e}),label:vO("Tab Text Color","blockspare")},ta={value:Fe,onChange:e=>ot({trendingTabIconColor:e}),label:vO("Tab Icon Color","blockspare")},aa={value:Me,onChange:e=>ot({trendingTabBgColor:e}),label:vO("Tab Background Color","blockspare")},oa={value:Be,onChange:e=>ot({trendingTabActiveColor:e}),label:vO("Active Tab Color","blockspare")};let na="";"blockspare/blockspare-banner-1"===e.name&&te.includes("has-bg-layout")?na={value:ae,onChange:e=>ot({bannerOneTrendingBg:e}),label:vO("Trending Bg Color","blockspare")}:"blockspare/blockspare-banner-2"===e.name&&oe.includes("has-bg-layout")?na={value:ne,onChange:e=>ot({bannerTwoTrendingBg:e}),label:vO("Trending Bg Color","blockspare")}:"blockspare/blockspare-banner-3"===e.name&&re.includes("has-bg-layout")?na={value:le,onChange:e=>ot({bannerThreeTrendingBg:e}),label:vO("Trending Bg Color","blockspare")}:"blockspare/blockspare-banner-4"===e.name&&ie.includes("has-bg-layout")?na={value:se,onChange:e=>ot({bannerFourTrendingBg:e}),label:vO("Trending Bg Color","blockspare")}:"blockspare/blockspare-banner-5"===e.name&&ce.includes("has-bg-layout")?na={value:pe,onChange:e=>ot({bannerFiveTrendingBg:e}),label:vO("Trending Bg Color","blockspare")}:"blockspare/blockspare-banner-6"===e.name&&be.includes("has-bg-layout")?na={value:ue,onChange:e=>ot({bannerSixTrendingBg:e}),label:vO("Trending Bg Color","blockspare")}:"blockspare/blockspare-banner-7"===e.name&&de.includes("has-bg-layout")?na={value:ge,onChange:e=>ot({bannerSevenTrendingBg:e}),label:vO("Trending Bg Color","blockspare")}:"blockspare/blockspare-banner-8"===e.name&&me.includes("has-bg-layout")?na={value:fe,onChange:e=>ot({bannerEightTrendingBg:e}),label:vO("Trending Bg Color","blockspare")}:"blockspare/blockspare-banner-9"===e.name&&he.includes("has-bg-layout")?na={value:ke,onChange:e=>ot({bannerNineTrendingBg:e}),label:vO("Trending Bg Color","blockspare")}:"blockspare/blockspare-banner-10"===e.name&&ye.includes("has-bg-layout")?na={value:ve,onChange:e=>ot({bannerTenTrendingBg:e}),label:vO("Trending Bg Color","blockspare")}:"blockspare/blockspare-banner-11"===e.name&&Ce.includes("has-bg-layout")?na={value:Oe,onChange:e=>ot({bannerElevenTrendingBg:e}),label:vO("Trending Bg Color","blockspare")}:"blockspare/blockspare-banner-12"===e.name&&Ee.includes("has-bg-layout")&&(na={value:xe,onChange:e=>ot({bannerTwelveTrendingBg:e}),label:vO("Trending Bg Color","blockspare")});let ra="";"blockspare/blockspare-banner-12"===e.name&&(ra=[ea,ta,aa,oa]);let la=[{name:"slider",title:"Slider",className:"blockspare-desktop-tab blockspare-responsive-tabs"},{name:"editor",title:"Editor",className:"blockspare-tablet-tab blockspare-responsive-tabs"}];return"blockspare/blockspare-banner-1"!==e.name&&"blockspare/blockspare-banner-2"!==e.name&&"blockspare/blockspare-banner-3"!==e.name&&"blockspare/blockspare-banner-4"!==e.name&&la.push({name:"trending",title:"Trending",className:"blockspare-mobile-tab blockspare-responsive-tabs"}),Object(o.createElement)(CO,{className:"blockspare-normal-type-field-tabs",activeClass:"active-tab",tabs:la},t=>{let a;return a="slider"===t.name?Object(o.createElement)(OO,null,Object(o.createElement)(EO,{title:vO("Colors","blockspare"),initialOpen:!0,colorSettings:[rt,""!==_?Gt:"",We||Ue?st:"",Ge?bt:"",b||g?ht:"",b?kt:"","blockspare/blockspare-banner-11"!==e.name?gt:"","blockspare/blockspare-banner-11"===e.name&&ze?mt:""]}),Object(o.createElement)(If,{display:He,colorType:Qe,onChangeColorType:Ct,categoryLayoutOption:y,color:v,onChangeColor:xt,backgroundColor:O,onChangeBackgroundColor:wt,borderColor:nt?Ne:C,onChangeBorderColor:St,secondColor:E,onChangeSecondColor:Tt,secondBackgroundColor:w,onChangeSecondBackgroundColor:jt,secondBorderColor:nt?Pe:x,onChangeSecondBorderColor:Ft,thirdColor:S,onChangeThirdColor:Mt,thirdBackgroundColor:j,onChangeThirdBackgroundColor:Bt,thirdBorderColor:nt?De:T,onChangeThirdBorderColor:Lt})):"editor"===t.name?Object(o.createElement)(OO,null,Object(o.createElement)(EO,{title:vO("Colors","blockspare"),initialOpen:!0,colorSettings:[lt,""!==G?Wt:"",$e||Xe?ct:"",Ve?ut:"",ft]}),Object(o.createElement)(If,{display:qe,colorType:et,onChangeColorType:Ot,categoryLayoutOption:F,color:M,onChangeColor:zt,backgroundColor:L,onChangeBackgroundColor:Nt,borderColor:B,onChangeBorderColor:Pt,secondColor:z,onChangeSecondColor:Dt,secondBackgroundColor:P,onChangeSecondBackgroundColor:Rt,secondBorderColor:N,onChangeSecondBorderColor:At,thirdColor:D,onChangeThirdColor:_t,thirdBackgroundColor:A,onChangeThirdBackgroundColor:It,thirdBorderColor:R,onChangeThirdBorderColor:Ht})):Object(o.createElement)(OO,null,Object(o.createElement)(EO,{title:vO("Colors","blockspare"),initialOpen:!0,colorSettings:[...ra,it,""!==W?Ut:"",Ke||Ze?pt:"",Je?dt:"",(m||k)&&"blockspare/blockspare-banner-12"!==e.name?yt:"",m&&"blockspare/blockspare-banner-12"!==e.name?vt:"",Le&&na]}),Object(o.createElement)(If,{display:Ye,colorType:tt,onChangeColorType:Et,categoryLayoutOption:q,color:V,onChangeColor:qt,backgroundColor:X,onChangeBackgroundColor:Vt,borderColor:$,onChangeBorderColor:$t,secondColor:Y,onChangeSecondColor:Xt,secondBackgroundColor:K,onChangeSecondBackgroundColor:Yt,secondBorderColor:J,onChangeSecondBorderColor:Jt,thirdColor:Z,onChangeThirdColor:Kt,thirdBackgroundColor:ee,onChangeThirdBackgroundColor:Zt,thirdBorderColor:Q,onChangeThirdBorderColor:Qt})),Object(o.createElement)("div",null,a)})};const{__:wO}=wp.i18n,{TabPanel:SO}=wp.components,{Fragment:TO}=wp.element;var jO=function(e){const{attributes:{sliderAuthorIcon:t,sliderDateIcon:a,sliderCommentIcon:n,editorAuthorIcon:r,editorDateIcon:l,editorCommentIcon:i,trendingAuthorIcon:s,trendingDateIcon:c,trendingCommentIcon:p,sliderDisplayPostAuthor:b,sliderEnableComment:u,sliderDisplayPostDate:d,editorDisplayPostAuthor:g,editorEnableComment:m,editorDisplayPostDate:f,trendingDisplayPostAuthor:h,trendingEnableComment:k,trendingDisplayPostDate:y},attributes:v,setAttributes:C}=e;let O=[];return(b||u||d)&&O.push({name:"slider",title:"Slider",className:"blockspare-desktop-tab blockspare-responsive-tabs"}),(g||m||f)&&O.push({name:"editor",title:"Editor",className:"blockspare-tablet-tab blockspare-responsive-tabs"}),(h||k||y)&&"blockspare/blockspare-banner-1"!==e.name&&"blockspare/blockspare-banner-2"!==e.name&&"blockspare/blockspare-banner-3"!==e.name&&"blockspare/blockspare-banner-4"!==e.name&&O.push({name:"trending",title:"Trending",className:"blockspare-mobile-tab blockspare-responsive-tabs"}),Object(o.createElement)(SO,{className:"blockspare-normal-type-field-tabs",activeClass:"active-tab",tabs:O},e=>{let v;return v="slider"===e.name?Object(o.createElement)(TO,null,b&&Object(o.createElement)(K,{label:wO("Author Icon","blockspare"),name:t,onChangeName:e=>C({sliderAuthorIcon:e})}),d&&Object(o.createElement)(K,{label:wO("Date Icon","blockspare"),name:a,onChangeName:e=>C({sliderDateIcon:e})}),u&&Object(o.createElement)(K,{label:wO("Comment Icon","blockspare"),name:n,onChangeName:e=>C({sliderCommentIcon:e})})):"editor"===e.name?Object(o.createElement)(TO,null,g&&Object(o.createElement)(K,{label:wO("Author Icon","blockspare"),name:r,onChangeName:e=>C({editorAuthorIcon:e})}),f&&Object(o.createElement)(K,{label:wO("Date Icon","blockspare"),name:l,onChangeName:e=>C({editorDateIcon:e})}),m&&Object(o.createElement)(K,{label:wO("Comment Icon","blockspare"),name:i,onChangeName:e=>C({editorCommentIcon:e})})):Object(o.createElement)(TO,null,h&&Object(o.createElement)(K,{label:wO("Author Icon","blockspare"),name:s,onChangeName:e=>C({trendingAuthorIcon:e})}),y&&Object(o.createElement)(K,{label:wO("Date Icon","blockspare"),name:c,onChangeName:e=>C({trendingDateIcon:e})}),k&&Object(o.createElement)(K,{label:wO("Comment Icon","blockspare"),name:p,onChangeName:e=>C({trendingCommentIcon:e})})),Object(o.createElement)("div",null,v)})};const{__:FO}=wp.i18n,{TabPanel:MO,ToggleControl:BO,SelectControl:LO,RangeControl:zO}=wp.components,{Fragment:NO}=wp.element;var PO=function(e){const{attributes:{sliderDisplayPostCategory:t,sliderDisplayPostAuthor:a,sliderEnableComment:n,sliderDisplayPostDate:r,editorDisplayPostCategory:l,editorDisplayPostAuthor:i,editorEnableComment:s,editorDisplayPostDate:c,trendingDisplayPostCategory:p,trendingDisplayPostAuthor:b,trendingEnableComment:u,trendingDisplayPostDate:d,sliderTitleOnHover:g,editorTitleOnHover:m,trendingTitleOnHover:f,trendingLatestTabIcon:h,trendingPopularTabIcon:k,trendingTabIconSize:y,gutter:v,borderRadius:C,trendingBackground:O,sliderBackground:E},attributes:x,setAttributes:w}=e;const S=e=>w({sliderTitleOnHover:e}),T=e=>w({editorTitleOnHover:e}),j=e=>w({trendingTitleOnHover:e}),F=[{value:"lpc-title-hover",label:FO("Hover","blockspare")},{value:"lpc-title-border",label:FO("Border","blockspare")},{value:"",label:FO("None","blockspare")}];let M=!1;"blockspare/blockspare-banner-9"!==e.name&&"blockspare/blockspare-banner-10"!==e.name&&"blockspare/blockspare-banner-11"!==e.name&&"blockspare/blockspare-banner-12"!==e.name||(M=!0);let B=!1;"blockspare/blockspare-banner-11"===e.name&&(B=!0);let L=[{name:"slider",title:"Slider",className:"blockspare-desktop-tab blockspare-responsive-tabs"},{name:"editor",title:"Editor",className:"blockspare-tablet-tab blockspare-responsive-tabs"}];return"blockspare/blockspare-banner-1"!==e.name&&"blockspare/blockspare-banner-2"!==e.name&&"blockspare/blockspare-banner-3"!==e.name&&"blockspare/blockspare-banner-4"!==e.name&&L.push({name:"trending",title:"Trending",className:"blockspare-tablet-tab blockspare-responsive-tabs"}),Object(o.createElement)(NO,null,Object(o.createElement)(MO,{className:"blockspare-normal-type-field-tabs",activeClass:"active-tab",tabs:L},v=>{let C;return C="slider"===v.name?Object(o.createElement)(NO,null,Object(o.createElement)(LO,{label:FO(" Title On Hover","blockspare"),value:g,options:F.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:S}),Object(o.createElement)(BO,{label:FO("Display Category","blockspare"),checked:t,onChange:()=>w({sliderDisplayPostCategory:!t})}),Object(o.createElement)(BO,{label:FO("Display Author","blockspare"),checked:a,onChange:()=>w({sliderDisplayPostAuthor:!a})}),Object(o.createElement)(BO,{label:FO("Display Date","blockspare"),checked:r,onChange:()=>w({sliderDisplayPostDate:!r})}),Object(o.createElement)(BO,{label:FO("Display Comment","blockspare"),checked:n,onChange:()=>w({sliderEnableComment:!n})}),B&&Object(o.createElement)(BO,{label:FO("Background","blockspare"),checked:E,onChange:()=>w({sliderBackground:!E})})):"editor"===v.name?Object(o.createElement)(NO,null,Object(o.createElement)(LO,{label:FO(" Title On Hover","blockspare"),value:m,options:F.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:T}),Object(o.createElement)(BO,{label:FO("Display Category","blockspare"),checked:l,onChange:()=>w({editorDisplayPostCategory:!l})}),Object(o.createElement)(BO,{label:FO("Display Author","blockspare"),checked:i,onChange:()=>w({editorDisplayPostAuthor:!i})}),Object(o.createElement)(BO,{label:FO("Display Date","blockspare"),checked:c,onChange:()=>w({editorDisplayPostDate:!c})}),Object(o.createElement)(BO,{label:FO("Display Comment","blockspare"),checked:s,onChange:()=>w({editorEnableComment:!s})})):Object(o.createElement)(NO,null,Object(o.createElement)(LO,{label:FO(" Title On Hover","blockspare"),value:f,options:F.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:j}),Object(o.createElement)(BO,{label:FO("Display Category","blockspare"),checked:p,onChange:()=>w({trendingDisplayPostCategory:!p})}),Object(o.createElement)(BO,{label:FO("Display Author","blockspare"),checked:b,onChange:()=>w({trendingDisplayPostAuthor:!b})}),Object(o.createElement)(BO,{label:FO("Display Date","blockspare"),checked:d,onChange:()=>w({trendingDisplayPostDate:!d})}),Object(o.createElement)(BO,{label:FO("Display Comment","blockspare"),checked:u,onChange:()=>w({trendingEnableComment:!u})}),M&&Object(o.createElement)(BO,{label:FO("Background","blockspare"),checked:O,onChange:()=>w({trendingBackground:!O})}),"blockspare/blockspare-banner-12"===e.name&&Object(o.createElement)(NO,null,Object(o.createElement)(K,{label:FO("Latest Tab Icon","blockspare"),name:h,onChangeName:e=>w({trendingLatestTabIcon:e})}),Object(o.createElement)(K,{label:FO("Popular Tab Icon","blockspare"),name:k,onChangeName:e=>w({trendingPopularTabIcon:e})}),Object(o.createElement)(zO,{label:FO("Icon size","blockspare"),value:y,onChange:e=>w({trendingTabIconSize:e}),min:1,step:1,max:100}))),Object(o.createElement)("div",null,C)}),Object(o.createElement)("div",{style:{marginTop:"24px"}},Object(o.createElement)(zO,{label:FO("Gutter Space","blockspare"),value:v,onChange:e=>w({gutter:e}),min:0,step:1,max:100})),Object(o.createElement)(zO,{label:FO("Content Border Radius","blockspare"),value:C,onChange:e=>w({borderRadius:e}),min:0,max:50,step:1}))};const{Component:DO}=wp.element,{__:RO}=wp.i18n,{applyFilters:AO}=wp.hooks,{InspectorControls:_O}=wp.blockEditor,{PanelBody:IO}=wp.components;class HO extends DO{render(){const{attributes:{bannerOneLayout:e,sliderDisplayPostCategory:t,editorDisplayPostCategory:a,sliderDisplayPostAuthor:n,sliderEnableComment:r,sliderDisplayPostDate:l,editorDisplayPostAuthor:i,editorEnableComment:s,editorDisplayPostDate:c},attributes:p,setAttributes:b}=this.props;return Object(o.createElement)(_O,null,Object(o.createElement)("div",{className:"blockspare-posts-block-inspector-wrapper"},Object(o.createElement)(IO,{title:RO("Layout Options","blockspare"),className:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Qi,{initialOpen:!0,selected:e,paneltitle:RO("Layouts","blockspare"),options:AO("blockspare-posts-block.cta.edit.layouts",[{label:RO("Banner Style 1","blockspare"),value:"banner-style-1 has-bg-layout",image:UC},{label:RO("Banner Style 2","blockspare"),value:"banner-style-2 has-bg-layout",image:qC},{label:RO("Banner Style 3","blockspare"),value:"banner-style-3 has-bg-layout",image:VC},{label:RO("Banner Style 4","blockspare"),value:"banner-style-4 has-bg-layout",image:$C}]),onChange:e=>b({bannerOneLayout:e})})),Object(o.createElement)(IO,{title:RO("Post Settings","blockspare"),initialOpen:!1},Object(o.createElement)(eO,this.props)),Object(o.createElement)(IO,{title:RO("Block Settings","blockspare"),initialOpen:!1},Object(o.createElement)(PO,this.props)),Object(o.createElement)(IO,{title:RO("Slide Settings","blockspare"),initialOpen:!1},Object(o.createElement)(dO,this.props)),(t||a)&&Object(o.createElement)(IO,{title:RO("Category Settings","blockspare"),initialOpen:!1},Object(o.createElement)(yO,this.props)),Object(o.createElement)(IO,{title:RO("Typography Settings","blockspare"),initialOpen:!1},Object(o.createElement)(rO,this.props)),(n||r||l||i||s||c)&&Object(o.createElement)(IO,{title:RO("Meta icon Settings","blockspare"),initialOpen:!1},Object(o.createElement)(jO,this.props)),Object(o.createElement)(IO,{title:RO("Color Settings","blockspare"),initialOpen:!1},Object(o.createElement)(xO,this.props)),Object(o.createElement)(IO,{title:RO("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(IO,{title:RO("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props)),Object(o.createElement)(IO,{title:RO("Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(WC,this.props))))}}const{Component:GO,Fragment:WO}=wp.element,{compose:UO}=wp.compose,{decodeEntities:qO}=wp.htmlEntities,{__:VO}=wp.i18n,{withSelect:$O}=wp.data,{Placeholder:XO,Spinner:YO}=wp.components;var JO=UO([$O((e,t)=>{const{sliderPostsToShow:a,sliderOrder:o,sliderOrderBy:n,sliderCategory:r}=t.attributes,{getEntityRecords:l}=e("core");return{SliderPosts:l("postType","post",jC()({categories:r,order:o,orderby:n,per_page:a,exclude:[wp.data.select("core/editor").getCurrentPostId()]},e=>!SC()(e)))}}),W,I(e=>{const{sliderPostTitleColor:t,sliderPostGeneralColor:a,sliderPostLinkColor:o,sliderTitleFontSize:n,sliderTitleFontSizeMobile:r,sliderTitleFontSizeTablet:l,sliderTitleFontSizeType:i,sliderTitleFontWeight:s,sliderTitleFontFamily:c,sliderTitleLineHeight:p,sliderCategoryFontSize:b,sliderCategoryFontSizeTablet:u,sliderCategoryFontSizeMobile:d,sliderCategoryFontSizeType:g,sliderCategoryFontWeight:m,sliderCategoryFontFamily:f,sliderMetaFontSize:h,sliderMetaFontSizeTablet:k,sliderMetaFontSizeMobile:y,sliderMetaFontSizeType:v,sliderMetaFontWeight:C,sliderMetaFontFamily:O,sliderNavigationColor:E,sliderNavigationShapeColor:x,sliderNavigationShape:w,sliderNextPrevShow:S,sliderCategoryLayoutOption:T,sliderCategoryTextColor:j,sliderCategoryBorderColor:F,sliderCategoryBackgroundColor:M,sliderSecondCategoryTextColor:B,sliderSecondCategoryBorderColor:L,sliderSecondCategoryBackgroundColor:z,sliderThirdCategoryTextColor:N,sliderThirdCategoryBorderColor:P,sliderThirdCategoryBackgroundColor:D,sliderCategoryBorderRadius:R,sliderCategoryBorderWidth:A,sliderTitleOnHover:_,sliderTitleOnHoverColor:I,sliderTitleMarginTop:H,sliderTitleMarginBottom:G,sliderTitleMarginLeft:W,sliderTitleMarginRight:U,sliderCategoryMarginTop:q,sliderCategoryMarginBottom:V,sliderCategoryMarginLeft:$,sliderCategoryMarginRight:X,sliderMetaMarginTop:Y,sliderMetaMarginBottom:J,sliderMetaMarginLeft:K,sliderMetaMarginRight:Z,sliderPostOverlayColor:Q,bannerOneLayout:ee,bannerTwoLayout:te,bannerThreeLayout:ae,bannerFourLayout:oe,sliderBackgroundColor:ne,sliderBackground:re,sliderGridCategoryBorderColor:le,sliderGridSecondCategoryBorderColor:ie,sliderGridThirdCategoryBorderColor:se,sliderGridPostTitleColor:ce,sliderGridPostGeneralColor:pe,sliderGridPostLinkColor:be,sliderGridTitleOnHoverColor:ue,sliderColorType:de}=e.attributes,ge=[];let me=!1;return"blockspare/blockspare-banner-11"===e.name&&(me=!0),"lpc-title-hover"===_&&ge.push({".blockspare-posts-block-post-content.has-slider-title-hover .blockspare-posts-block-title-link:hover span":{color:(me?ue:I)+"!important"}}),"lpc-title-border"===_&&ge.push({".blockspare-posts-block-post-content.has-slider-title-hover .blockspare-posts-block-post-grid-title .blockspare-posts-block-title-link span:hover":{boxShadow:"inset 0 -2px 0 0 "+(me?ue:I)}}),ge.push({".blockspare-banner-slider-items .blockspare-posts-block-post-grid-title a span":{color:(me?ce:t)+"!important"},".blockspare-banner-slider-items .blockspare-posts-block-post-content .blockspare-posts-block-post-grid-title":{lineHeight:p},".blockspare-banner-slider-items .blockspare-posts-block-post-grid-author a span":{color:me?be:o},".blockspare-banner-slider-items .blockspare-posts-block-text-link a":{color:me?be:o},".blockspare-banner-slider-items .blockspare-posts-block-post-grid-date":{color:me?pe:a},".blockspare-banner-slider-items .comment_count":{color:me?pe:a}}),"blockspare/blockspare-banner-11"===e.name&&re&&ge.push({".blockspare-banner-slider-items .blockspare-post-data .blockspare-posts-block-post-content":{backgroundColor:ne?ne+"!important":"#f9f9f9"}}),"border"!==T&&"solid"!==T||ge.push({".blockspare-banner-slider-items .blockspare-posts-block-post-category a":{borderRadius:R+"px"}}),"border"===T&&ge.push({".blockspare-banner-slider-items .blockspare-posts-block-post-category a":{borderStyle:"solid",borderWidth:A+"px"}}),"underline"===T&&ge.push({".blockspare-banner-slider-items .blockspare-posts-block-post-category a":{borderBottomStyle:"solid",borderBottomWidth:A+"px",paddingLeft:"0",paddingRight:"0"}}),"bs-single-color"===de?(ge.push({".blockspare-banner-slider-items .blockspare-posts-block-post-category a":{color:j?j+"!important":"#fff"}}),"solid"===T&&ge.push({".blockspare-banner-slider-items .blockspare-posts-block-post-category a":{backgroundColor:M?M+"!important":"#8b249c"}}),"border"!==T&&"underline"!==T||ge.push({".blockspare-banner-slider-items .blockspare-posts-block-post-category a":{borderColor:me?le:F}})):(ge.push({".blockspare-banner-slider-items .blockspare-posts-block-post-category a:nth-child(3n + 1)":{color:j?j+"!important":"#fff"},".blockspare-banner-slider-items .blockspare-posts-block-post-category a:nth-child(3n + 2)":{color:B?B+"!important":"#fff"},".blockspare-banner-slider-items .blockspare-posts-block-post-category a:nth-child(3n)":{color:N?N+"!important":"#fff"}}),"solid"===T&&ge.push({".blockspare-banner-slider-items .blockspare-posts-block-post-category a:nth-child(3n + 1)":{backgroundColor:M?M+"!important":"#8b249c"},".blockspare-banner-slider-items .blockspare-posts-block-post-category a:nth-child(3n + 2)":{backgroundColor:z?z+"!important":"#8b249c"},".blockspare-banner-slider-items .blockspare-posts-block-post-category a:nth-child(3n)":{backgroundColor:D?D+"!important":"#8b249c"}}),"border"!==T&&"underline"!==T||ge.push({".blockspare-banner-slider-items .blockspare-posts-block-post-category a:nth-child(3n + 1)":{borderColor:me?le:F},".blockspare-banner-slider-items .blockspare-posts-block-post-category a:nth-child(3n + 2)":{borderColor:me?ie:L},".blockspare-banner-slider-items .blockspare-posts-block-post-category a:nth-child(3n)":{borderColor:me?se:P}})),"blockspare/blockspare-banner-1"===e.name||"blockspare/blockspare-banner-2"===e.name||"blockspare/blockspare-banner-3"===e.name||"blockspare/blockspare-banner-4"===e.name?("banner-style-1 has-bg-layout"!==ee&&"banner-style-2 has-bg-layout"!==ee&&"banner-style-1 has-bg-layout"!==te&&"banner-style-2 has-bg-layout"!==te&&"banner-style-1 has-bg-layout"!==ae&&"banner-style-2 has-bg-layout"!==ae&&"banner-style-1 has-bg-layout"!==oe&&"banner-style-2 has-bg-layout"!==oe||ge.push({".blockspare-banner-slider-items .blockspare-post-items .blockspare-post-data .blockspare-posts-block-post-img::before":{background:`linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, ${Q} 100%)`}}),"banner-style-3 has-bg-layout"!==ee&&"banner-style-4 has-bg-layout"!==ee&&"banner-style-3 has-bg-layout"!==te&&"banner-style-4 has-bg-layout"!==te&&"banner-style-3 has-bg-layout"!==ae&&"banner-style-4 has-bg-layout"!==ae&&"banner-style-3 has-bg-layout"!==oe&&"banner-style-4 has-bg-layout"!==oe||ge.push({".blockspare-banner-slider-items .blockspare-post-items .blockspare-post-data .blockspare-posts-block-post-content .blockspare-posts-block-post-grid-title .blockspare-posts-block-title-link":{background:Q},".blockspare-banner-slider-items .blockspare-post-items .blockspare-post-data .blockspare-posts-block-post-content .blockspare-posts-block-post-grid-byline":{background:Q}}),"banner-style-5"!==ee&&"banner-style-6"!==ee&&"banner-style-5"!==te&&"banner-style-6"!==te&&"banner-style-5"!==ae&&"banner-style-6"!==ae&&"banner-style-5"!==oe&&"banner-style-6"!==oe||ge.push({".blockspare-banner-slider-items .blockspare-post-items .blockspare-post-data .blockspare-posts-block-post-content::after":{background:Q}}),"banner-style-7"!==ee&&"banner-style-8"!==ee&&"banner-style-7"!==te&&"banner-style-8"!==te&&"banner-style-7"!==ae&&"banner-style-8"!==ae&&"banner-style-7"!==oe&&"banner-style-8"!==oe||ge.push({".blockspare-banner-slider-items .blockspare-post-items .blockspare-post-data .blockspare-posts-block-post-img::before":{background:Q}})):ge.push({".blockspare-banner-slider-items .blockspare-post-items .blockspare-post-data .blockspare-posts-block-post-img::before":{background:`linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, ${Q} 100%)`}}),ge.push({".blockspare-banner-slider-items .blockspare-post-items .blockspare-posts-block-post-grid-title":{fontSize:n+i,...Ro(c),...Ao(s)},".blockspare-banner-slider-items .blockspare-posts-block-post-grid-author a span":{fontSize:h+v,...Ro(O),...Ao(C)},".blockspare-banner-slider-items .blockspare-posts-block-post-grid-date":{fontSize:h+v,...Ro(O),...Ao(C)},".blockspare-banner-slider-items .comment_count":{fontSize:h+v,...Ro(O),...Ao(C)},tablet:{".blockspare-banner-slider-items .blockspare-post-items .blockspare-posts-block-post-grid-title ":{fontSize:l+i},".blockspare-banner-slider-items .blockspare-posts-block-post-grid-author a span":{fontSize:k+i},".blockspare-banner-slider-items .blockspare-posts-block-post-grid-date":{fontSize:k+i},".blockspare-banner-slider-items .comment_count":{fontSize:k+i}},mobile:{".blockspare-banner-slider-items .blockspare-post-items .blockspare-posts-block-post-grid-title ":{fontSize:r+i},".blockspare-banner-slider-items .blockspare-posts-block-post-grid-author a span":{fontSize:y+i},".blockspare-banner-slider-items .blockspare-posts-block-post-grid-date":{fontSize:y+i},".blockspare-banner-slider-items .comment_count":{fontSize:y+i}}}),ge.push({".blockspare-banner-slider-items .blockspare-posts-block-post-category a":{fontSize:b+g,...Ro(f),...Ao(m)},tablet:{".blockspare-banner-slider-items .blockspare-posts-block-post-category a":{fontSize:u+g}},mobile:{".blockspare-banner-slider-items .blockspare-posts-block-post-category a":{fontSize:d+g}}}),ge.push({"span:before":{color:E||"#fff"},".slick-slider .slick-dots > li button":{backgroundColor:E||"#fff"}}),S&&("bs-navigation-1"===w||"bs-navigation-2"===w?ge.push({".slick-slider .slick-arrow:after":{backgroundColor:x}}):"bs-navigation-3"===w||"bs-navigation-4"===w?ge.push({".slick-slider .slick-arrow":{borderColor:x}}):ge.push({".slick-slider .slick-arrow":{backgroundColor:"transparent",borderColor:"transparent"}})),ge.push({".blockspare-banner-slider-items .blockspare-posts-block-post-grid-title ":{marginTop:H+"px",marginBottom:G+"px",marginLeft:W+"px",marginRight:U+"px"},".blockspare-banner-slider-items .blockspare-posts-block-post-category":{marginTop:q+"px",marginBottom:V+"px",marginLeft:$+"px",marginRight:X+"px"},".blockspare-banner-slider-items .blockspare-posts-block-post-grid-byline ":{marginTop:Y+"px",marginBottom:J+"px",marginLeft:K+"px",marginRight:Z+"px"}}),Do.a.all(ge)})])(class extends GO{render(){const{attributes:{sliderPostsToShow:e,imageSize:t="large",sliderNextPrevShow:a,sliderNextIcon:n,sliderEnableAutoPlay:r,sliderSpeed:l,sliderNavigationShape:i,sliderNavigationSize:s,sliderEnableNavInHover:c,sliderCategoryLayoutOption:p,sliderAuthorIcon:b,sliderDateIcon:u,sliderCommentIcon:d,sliderDisplayPostCategory:g,sliderDisplayPostAuthor:m,sliderDisplayPostDate:f,sliderEnableComment:h,sliderTitleFontFamily:k,sliderTitleFontWeight:v,sliderTitleLoadGoogleFonts:C,sliderMetaFontFamily:O,sliderMetaFontWeight:E,sliderMetaLoadGoogleFonts:x,sliderCategoryFontFamily:w,sliderCategoryFontWeight:S,sliderCategoryLoadGoogleFonts:T,sliderTitleOnHover:j,sliderBackground:F},className:M,attributes:B,setAttributes:L,SliderPosts:z}=this.props;let N,P,D;if(1==C){const e={google:{families:[k+(v?":"+v:"")]}};N=Object(o.createElement)(Uo,{config:e})}if(1==T){const e={google:{families:[w+(S?":"+S:"")]}};P=Object(o.createElement)(Uo,{config:e})}if(1==x){const e={google:{families:[O+(E?":"+E:"")]}};D=Object(o.createElement)(Uo,{config:e})}const R=Array.isArray(z)&&z.length;let A="";if(""!==j&&(A="has-slider-title-hover"),!R)return Object(o.createElement)(WO,null,Object(o.createElement)(XO,{icon:"admin-post",label:VO("Banner Slider","blockspare")},Array.isArray(z)?VO("No posts found.","blockspare"):Object(o.createElement)(YO,null)));const _=z.length>e?z.slice(0,e):z,I={loop:!0,autoplay:r,slidesToShow:1,arrows:a,speed:l,nextArrow:Object(o.createElement)(KO,{next:!0,IconArrow:n}),prevArrow:Object(o.createElement)(KO,{prev:!0,IconArrow:n}),adaptiveHeight:!0},H=y()([M,"blockspare-banner-slider-wrapper",i,s,c?"nav-on-hover":"","blockspare-hover-item",F?"":"blockspare-hover-child"]),G=y()(["none"===p?"has-no-category-style":"","blockspare-posts-block-post-category"]);return Object(o.createElement)(WO,null,Object(o.createElement)("div",{className:H},this.props.styles,Object(o.createElement)("div",{className:"blockspare-banner-slider-items"},Object(o.createElement)(Lu.a,I,_.map((e,a)=>{const n=(e.featured_image_urls&&e.featured_image_urls[t||"large"]||[])[0];return Object(o.createElement)("div",{className:"blockspare-post-items"},Object(o.createElement)("div",{className:"blockspare-post-data"},"undefined"!==n&&Object(o.createElement)("figure",{className:"blockspare-posts-block-post-img hover-child"},n?Object(o.createElement)("img",{src:n}):Object(o.createElement)("div",{class:"bs-no-thumbnail-img"}," ")),Object(o.createElement)("div",{className:"blockspare-posts-block-post-content "+A},g&&Object(o.createElement)("div",{className:G,dangerouslySetInnerHTML:{__html:e.category_info.replace(/href=['"].*?['"]/g,"")}}),Object(o.createElement)("h4",{className:"blockspare-posts-block-post-grid-title"},Object(o.createElement)("a",{target:"_blank",rel:"bookmark",className:"blockspare-posts-block-title-link"},Object(o.createElement)("span",{dangerouslySetInnerHTML:{__html:qO(e.title.rendered)}}))),(m||f||h)&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-byline"},m&&e.author_info.info&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-author"},e.author_info.info.map((t,a)=>Object(o.createElement)("a",null,Object(o.createElement)("span",null,a<1&&Object(o.createElement)("i",{className:b}),t.trim(),a!==e.author_info.info.length-1?", ":"")))),f&&e.date_gmt&&Object(o.createElement)("time",{dateTime:gf()(e.date_gmt).utc().format(),className:"blockspare-posts-block-post-grid-date"},Object(o.createElement)("i",{className:u}),gf()(e.date_gmt).local().format("MMMM DD, Y","blockspare")),h&&Object(o.createElement)("span",{className:"comment_count"},Object(o.createElement)("i",{className:d}),e.comment_count)))))})))),N,P,D)}});function KO(e){const{className:t,style:a,onClick:n,IconArrow:r,prev:l,next:i}=e;if(1==i)return Object(o.createElement)("span",{className:y()("slide-next slick-arrow ",r),onClick:n});var s=r.replace("right","left");return Object(o.createElement)("span",{className:y()("slide-prev slick-arrow ",s),onClick:n})}var ZO=e=>{const{marginTop:t,marginBottom:a,marginLeft:o,marginRight:n,gutter:r,contentPaddingTop:l,contentPaddingLeft:i,contentPaddingBottom:s,contentPaddingRight:c,borderRadius:p,trendingBackground:b,sliderBackground:u}=e.attributes,d=[];return d.push({".blockspare-banner-wrapper":{"--gap":r+"px",marginTop:t+"px",marginBottom:a+"px",marginLeft:o+"px",marginRight:n+"px"},".blockspare-banner-wrapper .blockspare-banner-slider-items .blockspare-posts-block-post-content":{paddingTop:l+"px",paddingLeft:i+"px",paddingBottom:s+"px",paddingRight:c+"px"},".blockspare-banner-wrapper .blockspare-editor-picks-items .blockspare-posts-block-post-content":{paddingTop:l+"px",paddingLeft:i+"px",paddingBottom:s+"px",paddingRight:c+"px"},".blockspare-banner-wrapper .blockspare-banner-slider-wrapper":{borderRadius:p?p+"px":"0px",overflow:"hidden"},".blockspare-banner-wrapper .blockspare-editor-picks-items .blockspare-post-items":{borderRadius:p?p+"px":"0px",overflow:"hidden"},".blockspare-banner-wrapper .blockspare-trending-carousel-items .blockspare-post-items.has-bg-layout":{borderRadius:p?p+"px":"0px",overflow:"hidden"},".blockspare-banner-wrapper .blockspare-trending-carousel-items .blockspare-post-items:not(.has-bg-layout) .blockspare-posts-block-post-img":{borderRadius:p?p+"px":"0px",overflow:"hidden"}}),u||d.push({".blockspare-banner-11-main-wrapper .blockspare-banner-slider-items .blockspare-posts-block-post-img":{borderRadius:p?p+"px":"0px",overflow:"hidden"}}),Do.a.all(d)};const{Component:QO,Fragment:eE}=wp.element,{compose:tE}=wp.compose;var aE=tE([W,I(ZO)])(class extends QO{render(){const{attributes:{align:e,bannerOneLayout:t,animation:a,blockHoverEffect:n,imageHoverEffect:r},className:l,attributes:i,setAttributes:s,SliderPosts:c}=this.props;let p=2;"center"===e||""===e?p=1:"full"===e&&(p=3);const b=y()(["blockspare-banner-1-main-wrapper","blockspare-banner-wrapper",t,a?"blockspare-block-animation":"",a,n,r]),u=y()([l,""!==e?"align"+e:"aligncenter"]);return Object(o.createElement)(eE,null,Object(o.createElement)(HO,{setAttributes:s,...this.props}),Object(o.createElement)("div",{className:u},this.props.styles,Object(o.createElement)("div",{className:b},Object(o.createElement)("div",{className:"blockspare-banner-col-wrap"},Object(o.createElement)(eE,null,Object(o.createElement)("div",{className:"blockspare-banner-trending-wrap"},Object(o.createElement)(JO,this.props)),Object(o.createElement)(RC,C()({},this.props,{bsitem:"2"})))))))}});a(380);const{name:oE,category:nE}=xC,rE={...xC.attributes},{registerBlockType:lE}=wp.blocks,{__:iE}=wp.i18n;lE("blockspare/blockspare-banner-1",{title:iE("Hero Banner 1","blockspare"),description:iE("Latest Post Banner Section","blockspare"),category:nE,attributes:rE,icon:s.a.banner_1,keywords:[iE("banner","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:aE,save:()=>null});var sE=a.p+"images/blockspare_banner-2-layout-1.c9a46ca9.png",cE=a.p+"images/blockspare_banner-2-layout-2.7e9e2728.png",pE=a.p+"images/blockspare_banner-2-layout-3.02b3207b.png",bE=a.p+"images/blockspare_banner-2-layout-4.9dd6db4b.png";const{Component:uE}=wp.element,{__:dE}=wp.i18n,{applyFilters:gE}=wp.hooks,{InspectorControls:mE}=wp.blockEditor,{PanelBody:fE}=wp.components;class hE extends uE{render(){const{attributes:{bannerTwoLayout:e,sliderDisplayPostCategory:t,editorDisplayPostCategory:a,sliderDisplayPostAuthor:n,sliderEnableComment:r,sliderDisplayPostDate:l,editorDisplayPostAuthor:i,editorEnableComment:s,editorDisplayPostDate:c},attributes:p,setAttributes:b}=this.props;return Object(o.createElement)(mE,null,Object(o.createElement)("div",{className:"blockspare-posts-block-inspector-wrapper"},Object(o.createElement)(fE,{title:dE("Layout Options","blockspare"),className:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Qi,{initialOpen:!0,selected:e,paneltitle:dE("Layouts","blockspare"),options:gE("blockspare-posts-block.cta.edit.layouts",[{label:dE("Banner Style 1","blockspare"),value:"banner-style-1 has-bg-layout",image:sE},{label:dE("Banner Style 2","blockspare"),value:"banner-style-2 has-bg-layout",image:cE},{label:dE("Banner Style 3","blockspare"),value:"banner-style-3 has-bg-layout",image:pE},{label:dE("Banner Style 4","blockspare"),value:"banner-style-4 has-bg-layout",image:bE}]),onChange:e=>b({bannerTwoLayout:e})})),Object(o.createElement)(fE,{title:dE("Post Settings","blockspare"),initialOpen:!1},Object(o.createElement)(eO,this.props)),Object(o.createElement)(fE,{title:dE("Block Settings","blockspare"),initialOpen:!1},Object(o.createElement)(PO,this.props)),Object(o.createElement)(fE,{title:dE("Slide Settings","blockspare"),initialOpen:!1},Object(o.createElement)(dO,this.props)),(t||a)&&Object(o.createElement)(fE,{title:dE("Category Settings","blockspare"),initialOpen:!1},Object(o.createElement)(yO,this.props)),Object(o.createElement)(fE,{title:dE("Typography Settings","blockspare"),initialOpen:!1},Object(o.createElement)(rO,this.props)),(n||r||l||i||s||c)&&Object(o.createElement)(fE,{title:dE("Meta icon Settings","blockspare"),initialOpen:!1},Object(o.createElement)(jO,this.props)),Object(o.createElement)(fE,{title:dE("Color Settings","blockspare"),initialOpen:!1},Object(o.createElement)(xO,this.props)),Object(o.createElement)(fE,{title:dE("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(fE,{title:dE("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props)),Object(o.createElement)(fE,{title:dE("Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(WC,this.props))))}}var kE=e=>{const{trendingPostTitleColor:t,trendingPostGeneralColor:a,trendingPostLinkColor:o,trendingTitleFontSize:n,trendingTitleFontSizeTablet:r,trendingTitleFontSizeMobile:l,trendingTitleFontSizeType:i,trendingTitleFontWeight:s,trendingTitleFontFamily:c,trendingMetaFontSize:p,trendingMetaFontSizeTablet:b,trendingMetaFontSizeMobile:u,trendingMetaFontSizeType:d,trendingMetaFontFamily:g,trendingMetaFontWeight:m,trendingTitleLineHeight:f,trendingNavigationColor:h,trendingNavigationShapeColor:k,trendingNavigationShape:y,trendingNextPrevShow:v,trendingTitleOnHover:C,trendingTitleOnHoverColor:O,trendingTitleMarginTop:E,trendingTitleMarginBottom:x,trendingTitleMarginLeft:w,trendingTitleMarginRight:S,trendingCategoryMarginTop:T,trendingCategoryMarginBottom:j,trendingCategoryMarginLeft:F,trendingCategoryMarginRight:M,trendingMetaMarginTop:B,trendingMetaMarginBottom:L,trendingMetaMarginLeft:z,trendingMetaMarginRight:N,bannerOneTrendingBg:P,bannerTwoTrendingBg:D,bannerThreeTrendingBg:R,bannerFourTrendingBg:A,bannerFiveTrendingBg:_,bannerSixTrendingBg:I,bannerSevenTrendingBg:H,bannerEightTrendingBg:G,bannerNineTrendingBg:W,bannerTenTrendingBg:U,bannerElevenTrendingBg:q,bannerTwelveTrendingBg:V,trendingCategoryLayoutOption:$,trendingCategoryTextColor:X,trendingCategoryBorderColor:Y,trendingCategoryBackgroundColor:J,trendingSecondCategoryTextColor:K,trendingSecondCategoryBorderColor:Z,trendingSecondCategoryBackgroundColor:Q,trendingThirdCategoryTextColor:ee,trendingThirdCategoryBorderColor:te,trendingThirdCategoryBackgroundColor:ae,trendingCategoryBorderRadius:oe,trendingCategoryBorderWidth:ne,trendingCategoryFontSize:re,trendingCategoryFontSizeType:le,trendingCategoryFontFamily:ie,trendingCategoryFontWeight:se,trendingCategoryFontSizeTablet:ce,trendingCategoryFontSizeMobile:pe,trendingTabIconSize:be,trendingTabFontSize:ue,trendingTabFontSizeType:de,trendingTabFontFamily:ge,trendingTabFontWeight:me,trendingTabFontSizeTablet:fe,trendingTabFontSizeMobile:he,trendingTabTextColor:ke,trendingTabIconColor:ye,trendingTabBgColor:ve,trendingTabActiveColor:Ce,trendingBackground:Oe,trendingColorType:Ee}=e.attributes,xe=[];let we="transparent";return we="blockspare/blockspare-banner-1"===e.name?P:"blockspare/blockspare-banner-2"===e.name?D:"blockspare/blockspare-banner-3"===e.name?R:"blockspare/blockspare-banner-4"===e.name?A:"blockspare/blockspare-banner-5"===e.name?_:"blockspare/blockspare-banner-6"===e.name?I:"blockspare/blockspare-banner-7"===e.name?H:"blockspare/blockspare-banner-8"===e.name?G:"blockspare/blockspare-banner-9"===e.name?W:"blockspare/blockspare-banner-10"===e.name?U:"blockspare/blockspare-banner-11"===e.name?q:"blockspare/blockspare-banner-12"===e.name?V:"transparent","lpc-title-hover"===C&&xe.push({".blockspare-posts-block-post-content.has-trending-title-hover .blockspare-posts-block-title-link:hover span":{color:O+"!important"}}),"lpc-title-border"===C&&xe.push({".blockspare-posts-block-post-content.has-trending-title-hover .blockspare-posts-block-post-grid-title .blockspare-posts-block-title-link span:hover":{boxShadow:"inset 0 -2px 0 0 "+O}}),xe.push({".blockspare-trending-carousel-items .blockspare-posts-block-post-grid-title a span":{color:t?t+"!important":"#404040"},".blockspare-trending-carousel-items .blockspare-posts-block-post-content .blockspare-posts-block-post-grid-title":{lineHeight:f},".blockspare-trending-carousel-items .blockspare-posts-block-post-grid-author a span":{color:o||"#000000"},".blockspare-trending-carousel-items .blockspare-posts-block-text-link a":{color:o||"#000000"},".blockspare-trending-carousel-items .blockspare-posts-block-post-grid-date":{color:a||"#000"},".blockspare-trending-carousel-items .comment_count":{color:a||"#000"}}),Oe&&xe.push({".has-bg-layout .blockspare-trending-carousel-items .blockspare-post-data":{backgroundColor:we}}),"border"!==$&&"solid"!==$||xe.push({".blockspare-trending-carousel-items .blockspare-posts-block-post-category a":{borderRadius:oe+"px"}}),"border"===$&&xe.push({".blockspare-trending-carousel-items .blockspare-posts-block-post-category a":{borderStyle:"solid",borderWidth:ne+"px"}}),"underline"===$&&xe.push({".blockspare-trending-carousel-items .blockspare-posts-block-post-category a":{borderBottomStyle:"solid",borderBottomWidth:ne+"px",paddingLeft:"0",paddingRight:"0"}}),"bs-single-color"===Ee?(xe.push({".blockspare-trending-carousel-items .blockspare-posts-block-post-category a":{color:X?X+"!important":"#fff"}}),"solid"===$&&xe.push({".blockspare-trending-carousel-items .blockspare-posts-block-post-category a":{backgroundColor:J?J+"!important":"#8b249c"}}),"border"!==$&&"underline"!==$||xe.push({".blockspare-trending-carousel-items .blockspare-posts-block-post-category a":{borderColor:Y}})):(xe.push({".blockspare-trending-carousel-items .blockspare-posts-block-post-category a:nth-child(3n + 1)":{color:X?X+"!important":"#fff"},".blockspare-trending-carousel-items .blockspare-posts-block-post-category a:nth-child(3n + 2)":{color:K?K+"!important":"#fff"},".blockspare-trending-carousel-items .blockspare-posts-block-post-category a:nth-child(3n)":{color:ee?ee+"!important":"#fff"}}),"solid"===$&&xe.push({".blockspare-trending-carousel-items .blockspare-posts-block-post-category a:nth-child(3n + 1)":{backgroundColor:J?J+"!important":"#8b249c"},".blockspare-trending-carousel-items .blockspare-posts-block-post-category a:nth-child(3n + 2)":{backgroundColor:Q?Q+"!important":"#8b249c"},".blockspare-trending-carousel-items .blockspare-posts-block-post-category a:nth-child(3n)":{backgroundColor:ae?ae+"!important":"#8b249c"}}),"border"!==$&&"underline"!==$||xe.push({".blockspare-trending-carousel-items .blockspare-posts-block-post-category a:nth-child(3n + 1)":{borderColor:Y},".blockspare-trending-carousel-items .blockspare-posts-block-post-category a:nth-child(3n + 2)":{borderColor:Z},".blockspare-trending-carousel-items .blockspare-posts-block-post-category a:nth-child(3n)":{borderColor:te}})),xe.push({".blockspare-trending-tabs .components-tab-panel__tabs .blockspare-trending-tab i":{fontSize:be+"px",color:ye},".blockspare-trending-tabs .components-tab-panel__tabs .blockspare-trending-tab":{backgroundColor:ve,color:ke},".blockspare-trending-tabs .components-tab-panel__tabs .blockspare-trending-tab.is-active":{backgroundColor:Ce},".blockspare-trending-tabs .components-tab-panel__tabs":{borderColor:Ce+"!important"}}),xe.push({".blockspare-trending-carousel-items .blockspare-post-items .blockspare-posts-block-post-grid-title":{fontSize:n+i,...Ro(c),...Ao(s)},".blockspare-trending-carousel-items .blockspare-posts-block-post-grid-author a span":{fontSize:p+d,...Ro(g),...Ao(m)},".blockspare-trending-carousel-items .blockspare-posts-block-post-grid-date":{fontSize:p+d,...Ro(g),...Ao(m)},".blockspare-trending-carousel-items .comment_count":{fontSize:p+d,...Ro(g),...Ao(m)},tablet:{".blockspare-trending-carousel-items .blockspare-post-items .blockspare-posts-block-post-grid-title ":{fontSize:r+i},".blockspare-trending-carousel-items .blockspare-posts-block-post-grid-author a span":{fontSize:b+i},".blockspare-trending-carousel-items .blockspare-posts-block-post-grid-date":{fontSize:b+i},".blockspare-trending-carousel-items .comment_count":{fontSize:b+i}},mobile:{".blockspare-trending-carousel-items .blockspare-post-items .blockspare-posts-block-post-grid-title":{fontSize:l+i},".blockspare-trending-carousel-items .blockspare-posts-block-post-grid-author a span":{fontSize:u+i},".blockspare-trending-carousel-items .blockspare-posts-block-post-grid-date":{fontSize:u+i},".blockspare-trending-carousel-items .comment_count":{fontSize:u+i}}}),xe.push({".blockspare-trending-carousel-items .blockspare-posts-block-post-category a":{fontSize:re+le,...Ro(ie),...Ao(se)},tablet:{".blockspare-trending-carousel-items .blockspare-posts-block-post-category a":{fontSize:ce+le}},mobile:{".blockspare-trending-carousel-items .blockspare-posts-block-post-category a":{fontSize:pe+le}}}),xe.push({".blockspare-trending-tabs .components-tab-panel__tabs .blockspare-trending-tab":{fontSize:ue+de,...Ro(ge),...Ao(me)},tablet:{".blockspare-trending-tabs .components-tab-panel__tabs .blockspare-trending-tab":{fontSize:fe+de}},mobile:{".blockspare-trending-tabs .components-tab-panel__tabs .blockspare-trending-tab":{fontSize:he+de}}}),xe.push({".blockspare-trending-carousel-items span:before":{color:h||"#fff"},".blockspare-trending-carousel-items .slick-slider .slick-dots > li button":{backgroundColor:h||"#fff"}}),v&&("bs-navigation-1"===y||"bs-navigation-2"===y?xe.push({".blockspare-trending-carousel-items .slick-slider .slick-arrow:after":{backgroundColor:k}}):"bs-navigation-3"===y||"bs-navigation-4"===y?xe.push({".blockspare-trending-carousel-items .slick-slider .slick-arrow":{borderColor:k}}):xe.push({".blockspare-trending-carousel-items .slick-slider .slick-arrow":{backgroundColor:"transparent",borderColor:"transparent"}})),xe.push({".blockspare-trending-carousel-items .blockspare-posts-block-post-grid-title":{marginTop:E+"px",marginBottom:x+"px",marginLeft:w+"px",marginRight:S+"px"},".blockspare-trending-carousel-items .blockspare-posts-block-post-category":{marginTop:T+"px",marginBottom:j+"px",marginLeft:F+"px",marginRight:M+"px"},".blockspare-trending-carousel-items .blockspare-posts-block-post-grid-byline":{marginTop:B+"px",marginBottom:L+"px",marginLeft:z+"px",marginRight:N+"px"}}),Do.a.all(xe)};const{Component:yE,Fragment:vE}=wp.element,{compose:CE}=wp.compose,{decodeEntities:OE}=wp.htmlEntities,{__:EE}=wp.i18n,{withSelect:xE}=wp.data,{Placeholder:wE,Spinner:SE}=wp.components;function TE(e){const{className:t,style:a,onClick:n,IconArrow:r,prev:l,next:i}=e;if(1==i)return Object(o.createElement)("span",{className:y()("slide-next slick-arrow ",r),onClick:n});var s=r.replace("right","left");return Object(o.createElement)("span",{className:y()("slide-prev slick-arrow ",s),onClick:n})}CE([xE((e,t)=>{const{trendingPostToshow:a,trendingOrder:o,trendingOrderBy:n,trendingCategory:r}=t.attributes,{getEntityRecords:l}=e("core");return{CarouselPosts:l("postType","post",jC()({categories:r,order:o,orderby:n,per_page:a,exclude:[wp.data.select("core/editor").getCurrentPostId()]},e=>!SC()(e)))}}),W,I(kE)])(class extends yE{render(){const{attributes:{align:e,bannerLayout:t,trendingDisplayPostCategory:a,trendingCategoryLayoutOption:n,trendingPostToshow:r,imageSize:l="thumbnail",trendingNextPrevShow:i,trendingNextIcon:s,trendingShowDots:c,trendingEnableAutoPlay:p,trendingSpeed:b,trendingGutterSpace:u,numberofSlideTrending:d,trendingNavigationShape:g,trendingNavigationSize:m,trendingEnableNavInHover:f,trendingAuthorIcon:h,trendingDateIcon:k,trendingCommentIcon:v,trendingDisplayPostAuthor:C,trendingEnableComment:O,trendingDisplayPostDate:E,trendingTitleFontFamily:x,trendingTitleFontWeight:w,trendingTitleLoadGoogleFonts:S,trendingMetaFontFamily:T,trendingMetaFontWeight:j,trendingMetaLoadGoogleFonts:F,treningTitleOnHover:M,bannerOneLayout:B,trendingCategoryLoadGoogleFonts:L,trendingCategoryFontFamily:z,trendingCategoryFontWeight:N},className:P,bslayouts:D,noSlides:R,attributes:A,setAttributes:_,CarouselPosts:I}=this.props;let H,G,W;if(1==S){const e={google:{families:[x+(w?":"+w:"")]}};H=Object(o.createElement)(Uo,{config:e})}if(1==F){const e={google:{families:[T+(j?":"+j:"")]}};G=Object(o.createElement)(Uo,{config:e})}if(1==L){const e={google:{families:[z+(N?":"+N:"")]}};W=Object(o.createElement)(Uo,{config:e})}const U=Array.isArray(I)&&I.length;let q="";if(""!==M&&(q="has-trending-title-hover"),!U)return Object(o.createElement)(vE,null,Object(o.createElement)(wE,{icon:"admin-post",label:EE("Trending Carousel","blockspare")},Array.isArray(I)?EE("No posts found.","blockspare"):Object(o.createElement)(SE,null)));const V=I.length>r?I.slice(0,r):I,$={loop:!0,autoplay:p,arrows:i,speed:b,slidesToShow:d,nextArrow:Object(o.createElement)(TE,{next:!0,IconArrow:s}),prevArrow:Object(o.createElement)(TE,{prev:!0,IconArrow:s}),responsive:[{breakpoint:769,settings:{slidesToShow:1,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]},X=y()([P,"blockspare-banner-trending-carousel-wrapper","has-gutter-space-"+u,g,m,f?"nav-on-hover":""]),Y=y()(["none"===n?"has-no-category-style":"","blockspare-posts-block-post-category"]);return Object(o.createElement)(vE,null,Object(o.createElement)("div",{className:X},this.props.styles,Object(o.createElement)("div",{className:"blockspare-trending-carousel-items "},Object(o.createElement)(Lu.a,$,V.map((e,t)=>{const n=(e.featured_image_urls&&e.featured_image_urls[l||"thumbnail"]||[])[0];return Object(o.createElement)("div",{className:`blockspare-post-items blockspare-hover-item ${D} ${D.includes("has-bg-layout")?"":"blockspare-hover-child"}`},Object(o.createElement)("div",{className:"blockspare-post-data"},"undefined"!==n&&Object(o.createElement)("figure",{className:"blockspare-posts-block-post-img hover-child"},n?Object(o.createElement)("img",{src:n}):Object(o.createElement)("div",{class:"bs-no-thumbnail-img"}," ")),Object(o.createElement)("div",{className:"blockspare-posts-block-post-content "+q},a&&Object(o.createElement)("div",{className:Y,dangerouslySetInnerHTML:{__html:e.category_info.replace(/href=['"].*?['"]/g,"")}}),Object(o.createElement)("h4",{className:"blockspare-posts-block-post-grid-title"},Object(o.createElement)("a",{target:"_blank",rel:"bookmark",className:"blockspare-posts-block-title-link"},Object(o.createElement)("span",null,OE(e.title.raw.trim())||EE("(Untitled)","blockspare")))),(C||E||O)&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-byline"},C&&e.author_info.info&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-author"},e.author_info.info.map((t,a)=>Object(o.createElement)("a",null,Object(o.createElement)("span",null,a<1&&Object(o.createElement)("i",{className:h}),t.trim(),a!==e.author_info.info.length-1?", ":"")))),E&&e.date_gmt&&Object(o.createElement)("time",{dateTime:gf()(e.date_gmt).utc().format(),className:"blockspare-posts-block-post-grid-date"},Object(o.createElement)("i",{className:k}),gf()(e.date_gmt).local().format("MMMM DD, Y","blockspare")),O&&Object(o.createElement)("span",{className:"comment_count"},Object(o.createElement)("i",{className:v}),e.comment_count)))))})))),H,G,W)}});const{Component:jE,Fragment:FE}=wp.element,{compose:ME}=wp.compose;var BE=ME([W,I(ZO)])(class extends jE{render(){const{attributes:{align:e,bannerTwoLayout:t,animation:a,blockHoverEffect:n,imageHoverEffect:r},className:l,attributes:i,setAttributes:s,SliderPosts:c}=this.props;let p=1;"center"===e||""===e?p=1:"full"===e&&(p=2);const b=y()(["blockspare-banner-2-main-wrapper","blockspare-banner-wrapper",t,a?"blockspare-block-animation":"",a,n,r]),u=y()([l,""!==e?"align"+e:"aligncenter"]);return Object(o.createElement)(FE,null,Object(o.createElement)(hE,{setAttributes:s,...this.props}),Object(o.createElement)("div",{className:u},this.props.styles,Object(o.createElement)("div",{className:b},Object(o.createElement)("div",{className:"blockspare-banner-col-wrap"},Object(o.createElement)(FE,null,Object(o.createElement)("div",{className:"blockspare-banner-trending-wrap"},Object(o.createElement)(JO,this.props)),Object(o.createElement)(RC,C()({},this.props,{bsitem:"4",bslayouts:"banner-2"})))))))}});a(381);const{name:LE,category:zE}=xC,NE={...xC.attributes,trendingDisplayPostCategory:{type:"boolean",default:!0}},{registerBlockType:PE}=wp.blocks,{__:DE}=wp.i18n;PE("blockspare/blockspare-banner-2",{title:DE("Hero Banner 2","blockspare"),description:DE("Latest Post Banner Section","blockspare"),category:zE,attributes:NE,icon:s.a.banner_2,keywords:[DE("banner","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:BE,save:()=>null});var RE=a.p+"images/blockspare_banner-9-layout-1.c121d6b2.png",AE=a.p+"images/blockspare_banner-9-layout-2.1dc61e02.png",_E=a.p+"images/blockspare_banner-9-layout-3.4a0d2b52.png",IE=a.p+"images/blockspare_banner-9-layout-4.1bb095c2.png";const{Component:HE}=wp.element,{__:GE}=wp.i18n,{applyFilters:WE}=wp.hooks,{InspectorControls:UE}=wp.blockEditor,{PanelBody:qE}=wp.components;class VE extends HE{render(){const{attributes:{bannerNineLayout:e,sliderDisplayPostCategory:t,editorDisplayPostCategory:a,trendingDisplayPostCategory:n,sliderDisplayPostAuthor:r,sliderEnableComment:l,sliderDisplayPostDate:i,editorDisplayPostAuthor:s,editorEnableComment:c,editorDisplayPostDate:p,trendingDisplayPostAuthor:b,trendingEnableComment:u,trendingDisplayPostDate:d},attributes:g,setAttributes:m}=this.props;return Object(o.createElement)(UE,null,Object(o.createElement)("div",{className:"blockspare-posts-block-inspector-wrapper"},Object(o.createElement)(qE,{title:GE("Layout Options","blockspare"),className:"blockspare-posts-block-hide-query",initialOpen:!1},Object(o.createElement)(Qi,{initialOpen:!0,selected:e,paneltitle:GE("Layouts","blockspare"),options:WE("blockspare-posts-block.cta.edit.layouts",[{label:GE("Banner Style 1","blockspare"),value:"banner-style-1 has-bg-layout",image:RE},{label:GE("Banner Style 2","blockspare"),value:"banner-style-2 has-bg-layout",image:AE},{label:GE("Banner Style 3","blockspare"),value:"banner-style-3 has-bg-layout",image:_E},{label:GE("Banner Style 4","blockspare"),value:"banner-style-4 has-bg-layout",image:IE}]),onChange:e=>m({bannerNineLayout:e})})),Object(o.createElement)(qE,{title:GE("Post Settings","blockspare"),initialOpen:!1},Object(o.createElement)(eO,this.props)),Object(o.createElement)(qE,{title:GE("Block Settings","blockspare"),initialOpen:!1},Object(o.createElement)(PO,this.props)),Object(o.createElement)(qE,{title:GE("Slide Settings","blockspare"),initialOpen:!1},Object(o.createElement)(dO,this.props)),(t||a||n)&&Object(o.createElement)(qE,{title:GE("Category Settings","blockspare"),initialOpen:!1},Object(o.createElement)(yO,this.props)),Object(o.createElement)(qE,{title:GE("Typography Settings","blockspare"),initialOpen:!1},Object(o.createElement)(rO,this.props)),(r||l||i||s||c||p||b||u||d)&&Object(o.createElement)(qE,{title:GE("Meta icon Settings","blockspare"),initialOpen:!1},Object(o.createElement)(jO,this.props)),Object(o.createElement)(qE,{title:GE("Color Settings","blockspare"),initialOpen:!1},Object(o.createElement)(xO,this.props)),Object(o.createElement)(qE,{title:GE("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(qE,{title:GE("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props)),Object(o.createElement)(qE,{title:GE("Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(WC,this.props))))}}const{Component:$E,Fragment:XE}=wp.element,{compose:YE}=wp.compose,{decodeEntities:JE}=wp.htmlEntities,{__:KE}=wp.i18n,{withSelect:ZE}=wp.data,{Placeholder:QE,Spinner:ex}=wp.components;var tx=YE([ZE((e,t)=>{const{trendingPostToshow:a,trendingOrder:o,trendingOrderBy:n,trendingCategory:r}=t.attributes,{getEntityRecords:l}=e("core");return{CarouselPosts:l("postType","post",jC()({categories:r,order:o,orderby:n,per_page:a,exclude:[wp.data.select("core/editor").getCurrentPostId()]},e=>!SC()(e)))}}),W,I(kE)])(class extends $E{render(){const{attributes:{align:e,bannerLayout:t,trendingDisplayPostCategory:a,trendingCategoryLayoutOption:n,trendingPostToshow:r,imageSize:l="thumbnail",trendingNextPrevShow:i,trendingNextIcon:s,trendingShowDots:c,trendingEnableAutoPlay:p,trendingSpeed:b,trendingGutterSpace:u,numberofSlideTrending:d,trendingNavigationShape:g,trendingNavigationSize:m,trendingEnableNavInHover:f,trendingAuthorIcon:h,trendingDateIcon:k,trendingCommentIcon:v,trendingDisplayPostAuthor:C,trendingEnableComment:O,trendingDisplayPostDate:E,trendingTitleFontFamily:x,trendingTitleFontWeight:w,trendingTitleLoadGoogleFonts:S,trendingMetaFontFamily:T,trendingMetaFontWeight:j,trendingMetaLoadGoogleFonts:F,treningTitleOnHover:M,bannerOneLayout:B,trendingCategoryLoadGoogleFonts:L,trendingCategoryFontFamily:z,trendingCategoryFontWeight:N,trendingBackground:P},className:D,bslayouts:R,noSlides:A,attributes:_,setAttributes:I,CarouselPosts:H}=this.props;let G,W,U;if(1==S){const e={google:{families:[x+(w?":"+w:"")]}};G=Object(o.createElement)(Uo,{config:e})}if(1==F){const e={google:{families:[T+(j?":"+j:"")]}};W=Object(o.createElement)(Uo,{config:e})}if(1==L){const e={google:{families:[z+(N?":"+N:"")]}};U=Object(o.createElement)(Uo,{config:e})}const q=Array.isArray(H)&&H.length;let V="";if(""!==M&&(V="has-trending-title-hover"),!q)return Object(o.createElement)(XE,null,Object(o.createElement)(QE,{icon:"admin-post",label:KE("Trending Carousel","blockspare")},Array.isArray(H)?KE("No posts found.","blockspare"):Object(o.createElement)(ex,null)));const $=H.length>r?H.slice(0,r):H,X={loop:!0,autoplay:p,arrows:i,speed:b,slidesToShow:A,nextArrow:Object(o.createElement)(ax,{next:!0,IconArrow:s}),prevArrow:Object(o.createElement)(ax,{prev:!0,IconArrow:s}),vertical:!0,responsive:[{breakpoint:768,settings:{slidesToShow:3,slidesToScroll:1}}]},Y=y()([D,"blockspare-banner-trending-carousel-wrapper","has-gutter-space-"+u,g,m,f?"nav-on-hover":""]),J=y()(["none"===n?"has-no-category-style":"","blockspare-posts-block-post-category"]);return Object(o.createElement)(XE,null,Object(o.createElement)("div",{className:Y},this.props.styles,Object(o.createElement)("div",{className:"blockspare-trending-carousel-items "},Object(o.createElement)(Lu.a,X,$.map((e,t)=>{const n=(e.featured_image_urls&&e.featured_image_urls[l||"thumbnail"]||[])[0];return Object(o.createElement)("div",{className:"blockspare-post-items blockspare-hover-item "+(P?R:"blockspare-hover-child")},Object(o.createElement)("div",{className:"blockspare-post-data"},"undefined"!==n&&Object(o.createElement)("figure",{className:"blockspare-posts-block-post-img hover-child"},n?Object(o.createElement)("img",{src:n}):Object(o.createElement)("div",{class:"bs-no-thumbnail-img"}," ")),Object(o.createElement)("div",{className:"blockspare-posts-block-post-content "+V},a&&Object(o.createElement)("div",{className:J,dangerouslySetInnerHTML:{__html:e.category_info.replace(/href=['"].*?['"]/g,"")}}),Object(o.createElement)("h4",{className:"blockspare-posts-block-post-grid-title"},Object(o.createElement)("a",{target:"_blank",rel:"bookmark",className:"blockspare-posts-block-title-link"},Object(o.createElement)("span",{dangerouslySetInnerHTML:{__html:JE(e.title.rendered)}}))),(C||E||O)&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-byline"},C&&e.author_info.info&&Object(o.createElement)("div",{className:"blockspare-posts-block-post-grid-author"},e.author_info.info.map((t,a)=>Object(o.createElement)("a",null,Object(o.createElement)("span",null,a<1&&Object(o.createElement)("i",{className:h}),t.trim(),a!==e.author_info.info.length-1?", ":"")))),E&&e.date_gmt&&Object(o.createElement)("time",{dateTime:gf()(e.date_gmt).utc().format(),className:"blockspare-posts-block-post-grid-date"},Object(o.createElement)("i",{className:k}),gf()(e.date_gmt).local().format("MMMM DD, Y","blockspare")),O&&Object(o.createElement)("span",{className:"comment_count"},Object(o.createElement)("i",{className:v}),e.comment_count)))))})))),G,W,U)}});function ax(e){const{className:t,style:a,onClick:n,IconArrow:r,prev:l,next:i}=e;if(1==i)return Object(o.createElement)("span",{className:y()("slide-next slick-arrow ",r),onClick:n});var s=r.replace("right","left");return Object(o.createElement)("span",{className:y()("slide-prev slick-arrow ",s),onClick:n})}const{Component:ox,Fragment:nx}=wp.element,{compose:rx}=wp.compose,{__:lx}=wp.i18n;var ix=rx([W,I(ZO)])(class extends ox{render(){const{attributes:{align:e,bannerNineLayout:t,animation:a,blockHoverEffect:n,showPresets:r,imageHoverEffect:l},className:i,attributes:s,setAttributes:c,SliderPosts:p}=this.props;let b=4;"center"!==e&&""!==e||(b=3);const u=y()(["blockspare-banner-9-main-wrapper","blockspare-banner-wrapper",t,a?"blockspare-block-animation":"",a,n,l]),d=y()([i,""!==e?"align"+e:"aligncenter"]);return Object(o.createElement)(nx,null,Object(o.createElement)(VE,{setAttributes:c,...this.props}),Object(o.createElement)("div",{className:d},this.props.styles,Object(o.createElement)(nx,null,Object(o.createElement)("div",{className:u},Object(o.createElement)("div",{className:"blockspare-banner-col-wrap"},Object(o.createElement)(nx,null,Object(o.createElement)(JO,this.props),Object(o.createElement)(RC,C()({},this.props,{bsitem:"2"})),Object(o.createElement)(tx,C()({},this.props,{bslayouts:t,noSlides:b}))))))))}});a(382);const{name:sx,category:cx}=xC,{registerBlockType:px}=wp.blocks,{__:bx}=wp.i18n;px("blockspare/blockspare-banner-9",{title:bx("Hero Banner 9","blockspare"),description:bx("Latest Post Banner Section","blockspare"),category:cx,icon:s.a.banner_9,keywords:[bx("banner","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:ix,save:()=>null}),a(383);var ux=a(252),dx=a(23),gx=a.n(dx);const{__:mx}=wp.i18n,{Component:fx,Fragment:hx}=wp.element,{SelectControl:kx,ToggleControl:yx,PanelBody:vx,TextControl:Cx}=wp.components;class Ox extends fx{constructor(){super(...arguments),this.setNewTab=this.setNewTab.bind(this),this.setLinkRel=this.setLinkRel.bind(this),this.setLinkTo=this.setLinkTo.bind(this)}setLinkTo(e){this.props.setAttributes({linkTo:e})}setLinkRel(e){this.props.setAttributes({rel:e})}setNewTab(e){const{rel:t}=this.props.attributes,a=e?"_blank":void 0;let o=t;a&&!t?o="noreferrer noopener":a||"noreferrer noopener"!==t||(o=void 0),this.props.setAttributes({target:a,rel:o})}render(){const{attributes:e,setAttributes:t}=this.props,{lightbox:a,linkTo:n,target:r,rel:l}=e,i=[{value:"none",label:mx("None","blockspare")},{value:"media",label:mx("Media File","blockspare")},{value:"attachment",label:mx("Attachment Page","blockspare")},{value:"custom",label:mx("Custom URL","blockspare")}];return Object(o.createElement)(hx,null,!a&&Object(o.createElement)(vx,{title:mx("Link Settings","blockspare"),initialOpen:!1},Object(o.createElement)(kx,{label:mx("Link To","blockspare"),value:n,options:i,onChange:this.setLinkTo}),"none"!==n&&Object(o.createElement)(hx,null,Object(o.createElement)(yx,{label:mx("Open in New Tab","blockspare"),onChange:this.setNewTab,checked:"_blank"===r}),Object(o.createElement)(Cx
/* translators: html attribute that specifies the relationship between two pages */,{label:mx("Link Rel","blockspare"),value:l,onChange:e=>t({rel:e})}))))}}Ox.propTypes={attributes:P.a.object,setAttributes:P.a.func};var Ex=Ox;const{__:xx}=wp.i18n,{Component:wx}=wp.element,{InspectorControls:Sx}=wp.blockEditor,{PanelBody:Tx,RangeControl:jx,SelectControl:Fx}=wp.components;var Mx=class extends wx{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 xx(e?"Showing captions for each media item.":"Toggle to show media captions.","blockspare")}render(){const{attributes:e,setAttributes:t}=this.props,{captions:a,captionStyle:n,gutter:r,gridSize:l,colorFilter:i,showOriginalOnHover:s,paddingTop:c,paddingRight:p,paddingBottom:b,paddingLeft:u,marginTop:d,marginRight:g,marginBottom:m,marginLeft:f}=e,h=[{value:"sml",
/* translators: visual style option */
label:xx("Small","blockspare")},{value:"med",
/* translators: visual style option */
label:xx("Medium","blockspare")},{value:"lrg",
/* translators: visual style option */
label:xx("Large","blockspare")}];return xx("Original","blockspare"),xx("Grayscale","blockspare"),xx("Sepia","blockspare"),xx("Saturation","blockspare"),xx("Dim","blockspare"),xx("Vintage","blockspare"),Object(o.createElement)(Sx,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(Tx,{title:xx("Masonry Settings","blockspare")},Object(o.createElement)(Fx,{label:xx("Column Size","blockspare"),value:l,onChange:e=>this.props.setAttributes({gridSize:e}),options:h}),Object(o.createElement)(jx,{label:xx("Gutter","blockspare"),value:r,onChange:e=>this.props.setAttributes({gutter:e}),min:0,max:50,step:5})),Object(o.createElement)(Ex,this.props),Object(o.createElement)(Tx,{title:xx("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(Tx,{title:xx("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props)),Object(o.createElement)(Tx,{title:xx("Block Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Tx,{title:xx("Padding Settings","blockspare"),initialOpen:!0},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:c,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>t({paddingTop:e}),paddingEnableRight:!0,paddingRight:p,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>t({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:b,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>t({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:u,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>t({paddingLeft:e})})),Object(o.createElement)(Tx,{title:xx("Margin Settings","blockspare"),initialOpen:!0},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:d,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>t({marginTop:e}),marginEnableRight:!0,marginRight:g,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>t({marginRight:e}),marginEnableBottom:!0,marginBottom:m,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>t({marginBottom:e}),marginEnableLeft:!0,marginLeft:f,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>t({marginLeft:e})})))))}},Bx=e=>{const{paddingTop:t,paddingRight:a,paddingBottom:o,paddingLeft:n,marginTop:r,marginRight:l,marginBottom:i,marginLeft:s}=e.attributes,c=[];return c.push({".blockspare-gutter-wrap":{paddingTop:t?t+"px":"0px",paddingRight:a?a+"px":"0px",paddingBottom:o?o+"px":"0px",paddingLeft:n?n+"px":"0px"}}),c.push({".blockspare-gutter-wrap":{marginTop:r?r+"px":void 0,marginRight:l?l+"px":void 0,marginBottom:i?i+"px":void 0,marginLeft:s?s+"px":void 0}}),Do.a.all(c)};const{Component:Lx,Fragment:zx}=wp.element,{__:Nx}=wp.i18n,{compose:Px}=wp.compose,{withSelect:Dx}=wp.data,{withNotices:Rx,Toolbar:Ax,IconButton:Ix}=wp.components,{BlockControls:Hx,MediaUpload:Gx,MediaUploadCheck:Wx}=wp.blockEditor,Ux={transitionDuration:0,percentPosition:!0};var qx=Px([Dx(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})),Rx,W,I(Bx)])(class extends Lx{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 a=[...this.props.attributes.images];a.splice(t,1,this.props.attributes.images[e]),a.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:a})}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=fu()(this.props.attributes.images,(t,a)=>e!==a);this.setState({selectedImage:null}),this.props.setAttributes({images:t})}}setImageAttributes(e,t){const{attributes:{images:a},setAttributes:o}=this.props;a[e]&&o({images:[...a.slice(0,e),{...a[e],...t},...a.slice(e+1)]})}onEditSelectImages(e){this.props.setAttributes({images:e.map(e=>Ku(e,this.props.attributes.images))})}render(){const{attributes:e,className:t,isSelected:a,noticeUI:n}=this.props,{align:r,captions:l,gridSize:i,captionStyle:s,gutter:c,images:p,linkTo:b,colorFilter:u,showOriginalOnHover:d,animation:g,blockHoverEffect:m,imageHoverEffect:f}=e,h=!!p.length,k=Object(o.createElement)(cd,this.props),v=y()("has-grid-"+i,"has-gutter-"+c);if(!h)return Object(o.createElement)(nd,C()({},this.props,{label:Nx("Masonry","blockspare"),icon:"lionk"}));const O={className:y()(t,"blockspare-blocks blockspare-masonry-wrapper",l?s:"",u,"blockspare-original"!==u&&d?"has-hover-effect":"",g?"blockspare-block-animation":"",g,m,"align"+r,f),"data-block-animation":g};return Object(o.createElement)(zx,null,a&&Object(o.createElement)(Mx,this.props),Object(o.createElement)(Hx,null,h&&Object(o.createElement)(zx,null,Object(o.createElement)(Ax,null,Object(o.createElement)(Wx,null,Object(o.createElement)(Gx,{onSelect:this.onEditSelectImages,allowedTypes:Zu,multiple:!0,gallery:!0,value:p.map(e=>e.id),render:e=>{let{open:t}=e;return Object(o.createElement)(Ix,{className:"components-toolbar__control",label:Nx("Edit gallery","blockspare"),icon:"edit",onClick:t})}}))))),Object(o.createElement)("div",O,this.props.styles,k,Object(o.createElement)("div",{className:"blockspare-gutter-wrap"},Object(o.createElement)(gx.a,{elementType:"ul",className:v,options:Ux,disableImagesLoaded:!1,updateOnEachImageLoad:!1},p.map((e,t)=>{const n=sprintf(
/* translators: %1$d is the order number of the image, %2$d is the total number of images */
Nx("image %1$d of %2$d in gallery","blockspare"),t+1,p.length);return Object(o.createElement)("li",{className:"blockspare-gallery-item",key:e.id||e.url},Object(o.createElement)(Uu,{url:e.url,alt:e.alt,id:e.id,imgLink:e.imgLink,linkTo:b,isFirstItem:0===t,isLastItem:t+1===p.length,isSelected:a&&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":n,captions:l,supportsCaption:!0}))})))))}});const{RichText:Vx}=wp.blockEditor,{compose:$x}=wp.compose,{Component:Xx}=wp.element;var Yx=$x(W,I(Bx))(class extends Xx{render(){const{attributes:e,className:t,isSelected:a,noticeUI:n}=this.props,{align:r,captions:l,gridSize:i,captionStyle:s,gutter:c,images:p,linkTo:b,target:u,colorFilter:d,showOriginalOnHover:g,animation:m,blockHoverEffect:f,rel:h,imageHoverEffect:k}=e,v=y()("has-gutter","blockspare-gutter-wrap"),C=y()("has-grid-"+i,"has-gutter-"+c);return Object(o.createElement)("div",{className:y()("blockspare-blocks blockspare-masonry-wrapper",l?s:"",d,"blockspare-original"!==d&&g?"has-hover-effect":"",t,m?"blockspare-block-animation":"",f,k),"blockspare-animation":m},this.props.styles,Object(o.createElement)("div",{className:v},Object(o.createElement)("ul",{className:C},p.map(e=>{let t;switch(b){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const a=Object(o.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 Object(o.createElement)("li",{key:e.id||e.url,className:"blockspare-gallery-item"},Object(o.createElement)("figure",{className:"blockspare-gallery-figure blockspare-hover-item"},t?Object(o.createElement)("a",{href:t,target:"_blank"===u?"_blank":"_self",rel:"_blank"===u?h:"noreferrer noopener"},a):a,l&&e.caption&&e.caption.length>0&&Object(o.createElement)(Vx.Content,{tagName:"figcaption",className:"blockspare-gallery-caption",value:e.caption})))}))))}});const Jx=blockspare_globals,{name:Kx,category:Zx}=ux,{__:Qx}=wp.i18n,{registerBlockType:ew}=wp.blocks,tw={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",default:""},rel:{type:"string",default:"noreferrer noopener"},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},...ux.attributes};ew(Kx,{title:Qx("Image Masonry","blockspare"),description:Qx("Add Masonry Items","blockspare"),category:Zx,icon:s.a.masonry,attributes:tw,keywords:[Qx("block","blockspare"),Qx("image","blockspare"),Qx("masonry","blockspare"),Qx("gallery","blockspare"),Qx("column","blockspare")],supports:{align:["wide","full","center"],html:!0},example:{attributes:{gridSize:"lrg",gutter:5,images:[{url:Jx.menu_img_url},{url:Jx.img},{url:Jx.menu_img_url},{url:Jx.img},{url:Jx.menu_img_url},{url:Jx.menu_img_url},{url:Jx.img},{url:Jx.menu_img_url},{url:Jx.img}]}},edit:qx,save:Yx}),a(384);var aw=a(253),ow=["blockspare-notice-bell","blockspare-notice-bell-outline","blockspare-notice-bullhorn","blockspare-notice-stickynote","blockspare-notice-stickynote-outline","blockspare-notice-clipboard","blockspare-notice-clipboard-outline","blockspare-notice-phone-volume"];const{__:nw}=wp.i18n,{Component:rw,Fragment:lw}=wp.element;var iw=class extends rw{constructor(e){super(e),this.state={isOpen:!1,filterText:"",showIcons:!1}}render(){const{value:e,disableToggle:t,colorSettings:a,iconColor:n,onColorChange:r}=this.props,{filterText:l}=this.state;var i=[];return l.length>2?ow.forEach(e=>{e.includes(l)&&i.push(e)}):i=ow,Object(o.createElement)("div",{className:"blockspare-field blockspare-field-icon-list "+(t?"":"blockspare-toggle-enabled")},this.props.label&&Object(o.createElement)(lw,null,t?Object(o.createElement)("label",null,this.props.label):Object(o.createElement)(Toggle,{label:this.props.label,className:"blockspare-icon-list-toggle",value:!!this.props.value,onChange:()=>this.props.onChange(this.props.value?"":" ")})),a&&Object(o.createElement)(Color,{label:nw(" Color"),value:n||"#ccc",onChange:e=>r(e)}),(t||""!=this.props.value)&&Object(o.createElement)("div",{className:"blockspare-icon-list-wrapper"},Object(o.createElement)("input",{type:"text",value:this.state.filterText,placeholder:"Search...",onChange:e=>this.setState({filterText:e.target.value}),autoComplete:"off"}),Object(o.createElement)("div",{className:"blockspare-icon-list-icons"},i.map(t=>Object(o.createElement)("span",{className:e==t?"blockspare-active":"",onClick:e=>{this.props.onChange(t)}},Object(o.createElement)("span",{className:t}))))))}};const{__:sw}=wp.i18n,{Fragment:cw}=wp.element;function pw(e){const{name:t,onChangeName:a=(()=>{})}=e;return Object(o.createElement)(cw,null,Object(o.createElement)(iw,{value:t,onChange:a}))}const{__:bw}=wp.i18n,{Component:uw}=wp.element,{InspectorControls:dw,PanelColorSettings:gw,MediaUpload:mw}=wp.blockEditor,{PanelBody:fw,ToggleControl:hw,RangeControl:kw,IconButton:yw}=wp.components;class vw extends uw{render(){const{attributes:{textsColor:e,backGroundColor:t,boxBorderColor:a,buttonBackgroundColor:n,buttonTextColor:r,buttonSize:l,buttonShape:i,buttonTarget:s,paddingTop:c,paddingRight:p,paddingBottom:b,paddingLeft:u,marginTop:d,marginRight:g,marginBottom:m,marginLeft:f,enableButton:h,buttonStyle:k,borderColor:y,borderBtnTextColor:v,fontSize:C,enableGradient:O,backgroundColor1:E,backgroundColor2:x,gradientAngle:w,colorLocation1:S,colorLocation2:T,borderRadius:j,enableBoxShadow:F,xOffset:M,yOffset:B,blur:L,spread:z,shadowColor:N,btnFontWeight:P,btnBorderWidth:D,buttonHoverEffect:R,titleLoadGoogleFonts:A,titleFontFamily:_,titleFontWeight:I,titleFontSubset:H,titleFontSizeType:G,titleFontSizeMobile:W,titleFontSizeTablet:U,buttonFontSize:q,buttonFontFamily:V,buttonFontWeight:$,buttonFontSubset:X,buttonFontSizeType:Y,buttonFontSizeMobile:J,buttonFontSizeTablet:K,buttonLoadGoogleFonts:Z,enableButtonIcon:Q,buttonIconPosition:ee,buttonIcon:te,buttonIconColor:ae,borderbuttonIconColor:oe,enableNoticeIcons:re,name:le,iconColor:ie,iconSize:se,showImage:pe,imgURL:be,imgID:ue,imgAlt:de},attributes:ge,setAttributes:me}=this.props,fe=()=>{me({imgID:null,imgURL:null,imgAlt:null})};return Object(o.createElement)(dw,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(fw,{title:bw("Block Settings","blockspare"),initialOpen:!1},Object(o.createElement)(hw,{label:bw("Enable Button","blockspare"),checked:h,onChange:()=>this.props.setAttributes({enableButton:!h})}),Object(o.createElement)(hw,{label:bw("Enable Text icon","blockspare"),checked:re,onChange:()=>this.props.setAttributes({enableNoticeIcons:!re})}),Object(o.createElement)(gw,{title:bw("Texts Color","blockspare"),initialOpen:!1,colorSettings:[{value:e,onChange:e=>me({textsColor:e}),label:bw("Texts Color","blockspare")},{value:t,onChange:e=>me({backGroundColor:e}),label:bw("Background Color","blockspare")},{value:a,onChange:e=>me({boxBorderColor:e}),label:bw("Dash Color","blockspare")}]}),Object(o.createElement)(kw,{label:bw("Border Radius","blockspare"),value:j,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:50,step:1}),Object(o.createElement)(hw,{label:bw("Enable Box Shadow","blockspare"),checked:F,onChange:()=>this.props.setAttributes({enableBoxShadow:!F})}),F&&Object(o.createElement)(ji,{shadowColor:N,onChangeShadowColor:e=>me({shadowColor:e}),xOffset:M,onChangeXOffset:e=>me({xOffset:e}),yOffset:B,onChangeYOffset:e=>me({yOffset:e}),blur:L,onChangeBlur:e=>me({blur:e}),spread:z,onChangeSpread:e=>me({spread:e})})),Object(o.createElement)(fw,{title:bw(" Typography","blockspare"),initialOpen:!0},Object(o.createElement)(Oo,{label:bw("Title Fonts Settings"),attributes:ge,setAttributes:me,loadGoogleFonts:{value:A,label:bw("titleLoadGoogleFonts")},fontFamily:{value:_,label:bw("titleFontFamily")},fontWeight:{value:I,label:bw("titleFontWeight")},fontSubset:{value:H,label:bw("titleFontSubset")},fontSizeType:{value:G,label:bw("titleFontSizeType")},fontSize:{value:C,label:bw("fontSize")},fontSizeMobile:{value:W,label:bw("titleFontSizeMobile")},fontSizeTablet:{value:U,label:bw("titleFontSizeTablet")},disableLineHeight:!0}),h&&Object(o.createElement)(Oo,{label:bw("Button Fonts Settings"),attributes:ge,setAttributes:me,loadGoogleFonts:{value:Z,label:bw("buttonLoadGoogleFonts")},fontFamily:{value:V,label:bw("buttonFontFamily")},fontWeight:{value:$,label:bw("buttonFontWeight")},fontSubset:{value:X,label:bw("buttonFontSubset")},fontSizeType:{value:Y,label:bw("buttonFontSizeType")},fontSize:{value:q,label:bw("buttonFontSize")},fontSizeMobile:{value:J,label:bw("buttonFontSizeMobile")},fontSizeTablet:{value:K,label:bw("buttonFontSizeTablet")},disableLineHeight:!0})),re&&Object(o.createElement)(fw,{title:bw("Text Icon Settings","blockspare"),initialOpen:!1},Object(o.createElement)(pw,{name:le,onChangeName:e=>me({name:e})}),Object(o.createElement)(gw,{title:bw("Icon Color","blockspare"),initialOpen:!1,colorSettings:[{value:ie,onChange:e=>me({iconColor:e}),label:bw("Icon Color","blockspare")}]})),pe&&Object(o.createElement)(fw,{title:bw("Image Settings","blockspare"),initialOpen:!1},!0===pe&&Object(o.createElement)("div",null,Object(o.createElement)(mw,{onSelect:e=>{me({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:ue,render:e=>{let{open:t}=e;return Object(o.createElement)("div",null,Object(o.createElement)(yw,{className:"aft-cta-inspector-media",label:bw("Edit image","blockspare"),icon:"format-image",onClick:t},bw("Select Image","blockspare")),be&&!!be.length&&Object(o.createElement)(yw,{className:"blockspare-cta-inspector-media",label:bw("Remove Image","blockspare"),icon:"dismiss",onClick:fe},bw("Remove","blockspare")))}}),Object(o.createElement)("div",null,be&&!!be.length&&Object(o.createElement)("img",{src:be,width:"100px",height:"100px",alt:de})))),h&&Object(o.createElement)(fw,{title:bw("Button Settings","blockspare"),initialOpen:!1},Object(o.createElement)(hw,{label:bw("Enable Icon","magic-content-box"),checked:Q,onChange:()=>this.props.setAttributes({enableButtonIcon:!Q})}),Object(o.createElement)(Tl,{enableButtonTarget:!0,buttonTarget:s,onChangeButtonTarget:e=>me({buttonTarget:!s}),enableGradient:O,onChangeGradient:e=>me({enableGradient:e}),enableButtonSize:!0,buttonSize:l,onChangeButtonSize:e=>me({buttonSize:e}),enableButtonShape:!0,buttonShape:i,onChangeButtonShape:e=>me({buttonShape:e}),buttonBackgroundColor:n,onChangeButtonColor:e=>me({buttonBackgroundColor:e}),enableIconcolor:!1,buttonTextColor:r,onChangeButtonTextColor:e=>me({buttonTextColor:e}),enableButtonStyle:!0,buttonStyle:k,onChangeBorderStyle:e=>me({buttonStyle:e}),buttonHoverEffect:R,onchangeButtonHoverEffect:e=>me({buttonHoverEffect:e}),borderColor:y,onchangeBorderColor:e=>me({borderColor:e}),borderBtnTextColor:v,onChangeBorderBtnTextColor:e=>me({borderBtnTextColor:e}),enableBtnBorderWidth:!0,btnBorderWidth:D,onchangebtnBorderWidth:e=>me({btnBorderWidth:e}),enableBtnFontWeight:!0,btnFontWeight:P,onchangeBtnFontWeight:e=>me({btnFontWeight:e}),enableButtonIcon:Q,name:te,onChangeName:e=>me({buttonIcon:e}),enableIconcolor:Q,iconColor:ae,onChangeIconColor:e=>me({buttonIconColor:e}),borderbuttonIconColor:oe,onChangeBorderBtniconColor:e=>me({borderbuttonIconColor:e}),enableIconPosotion:!0,buttonIconPosition:ee,onChangebuttonIconPosition:e=>me({buttonIconPosition:e})}),"none"===k&&Object(o.createElement)(hw,{label:bw("Enable Gradient","blockspare"),checked:O,onChange:()=>this.props.setAttributes({enableGradient:!O})}),O&&"none"===k&&Object(o.createElement)(fw,{title:bw("Gradient Option","blockspare"),initialOpen:!0},Object(o.createElement)(Ll,{backgroundColor1:E,onChangeBackgroundColor1:e=>me({backgroundColor1:e}),backgroundColor2:x,onChangeBackgroundColor2:e=>me({backgroundColor2:e}),gradientAngle:w,onChangeGradientAngle:e=>me({gradientAngle:e}),colorLocation1:S,onChangeColorLocation1:e=>me({colorLocation1:e}),colorLocation2:T,onChangeColorLocation2:e=>me({colorLocation2:e})}))),Object(o.createElement)(fw,{title:bw("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(fw,{title:bw("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(fw,{title:bw("Block Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(fw,{title:bw("Padding Settings","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:c,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>me({paddingTop:e}),paddingEnableRight:!0,paddingRight:p,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>me({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:b,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>me({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:u,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>me({paddingLeft:e})})),Object(o.createElement)(fw,{title:bw("Margin Settings","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:d,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>me({marginTop:e}),marginEnableRight:!0,marginRight:g,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>me({marginRight:e}),marginEnableBottom:!0,marginBottom:m,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>me({marginBottom:e}),marginEnableLeft:!0,marginLeft:f,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>me({marginLeft:e})})))))}}var Cw=e=>{const{sectionAlignment:t,textsColor:a,fontSize:o,backGroundColor:n,boxBorderColor:r,paddingTop:l,paddingRight:i,paddingBottom:s,paddingLeft:c,marginTop:p,marginRight:b,marginBottom:u,marginLeft:d,borderRadius:g,titleFontFamily:m,titleFontWeight:f,titleFontSizeType:h,titleFontSizeMobile:k,titleFontSizeTablet:y,buttonStyle:v,enableGradient:C,backgroundColor1:O,backgroundColor2:E,gradientAngle:x,colorLocation1:w,colorLocation2:S,btnFontWeight:T,btnBorderWidth:j,borderColor:F,buttonBackgroundColor:M,borderBtnTextColor:B,buttonTextColor:L,enableButton:z,buttonFontSize:N,buttonFontFamily:P,buttonFontWeight:D,buttonFontSizeType:R,buttonFontSizeMobile:A,buttonFontSizeTablet:_,enableButtonIcon:I,buttonIconColor:H,borderbuttonIconColor:G,showImage:W,imgURL:U,enableNoticeIcons:q,iconColor:V,iconSize:$}=e.attributes,X=[];if(z){if(I&&("none"===v?X.push({".blockspare-block-button i":{color:H}}):X.push({".blockspare-block-button i":{color:G||"#404040"}})),"none"===v)if(1==C){const e=x+"deg",t=w+"%",a=S+"%";X.push({".blockspare-block-button span":{color:L||"#fff",...Ao(T)},".wp-block-blockspare-blockspare-notice-bar .blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${O||"#3B1A5B"} ${t},${E||"#8B249C"} ${a})`},".wp-block-blockspare-blockspare-notice-bar .blockspare-block-button .blockspare-button:visited":{backgroundImage:`linear-gradient(${e},${O||"#3B1A5B"} ${t},${E||"#8B249C"} ${a})`},".wp-block-blockspare-blockspare-notice-bar .blockspare-block-button .blockspare-button:focus":{backgroundImage:`linear-gradient(${e},${O||"#3B1A5B"} ${t},${E||"#8B249C"} ${a})`}})}else X.push({".blockspare-block-button span":{color:L||"#fff",...Ao(T),borderWidth:j+"px"},".wp-block-blockspare-blockspare-notice-bar .blockspare-block-button .blockspare-button":{backgroundColor:M||"#3c1a5b"},".wp-block-blockspare-blockspare-notice-bar .blockspare-block-button .blockspare-button:visited":{backgroundColor:M||"#3c1a5b"},".wp-block-blockspare-blockspare-notice-bar .blockspare-block-button .blockspare-button:focus":{backgroundColor:M||"#3c1a5b"}});else X.push({".blockspare-block-button span":{color:B||"#404040"},".blockspare-button":{borderColor:F||"#3c1a5b",borderStyle:v,borderWidth:j+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});z&&X.push({".blockspare-block-button span":{fontSize:N+R,...Ro(P),...Ao(D)},tablet:{".blockspare-block-button span":{fontSize:_+R}},mobile:{".blockspare-block-button span":{fontSize:A+R}}})}return W&&U?(X.push({".blockspare-noticebar-wrapper":{...As(e.attributes),borderColor:r||"#3c1a5b",paddingTop:l?l+"px":0,paddingRight:i?i+"px":0,paddingBottom:s?s+"px":0,paddingLeft:c?c+"px":0,marginTop:p?p+"px":0,marginRight:b?b+"px":0,marginBottom:u?u+"px":0,marginLeft:d?d+"px":0}}),X.push({".blockspare-noticebar-wrapper,.blockspare-notice-bg-img":{borderRadius:g?g+"px":0}})):X.push({".blockspare-noticebar-wrapper":{...As(e.attributes),backgroundColor:n||"#fff",borderColor:r?r+" !important":"#3c1a5b !important",paddingTop:l?l+"px":0,paddingRight:i?i+"px":0,paddingBottom:s?s+"px":0,paddingLeft:c?c+"px":0,marginTop:p?p+"px":0,marginRight:b?b+"px":0,marginBottom:u?u+"px":0,marginLeft:d?d+"px":0,borderRadius:g?g+"px":0}}),q&&X.push({".blockspare-noticebar-wrapper .blockspare-notice-icon":{color:V||"#000",fontSize:$+"px"}}),X.push({".blockspare-section-notice-wrap":{},".blockspare-notice-content":{color:a,fontSize:o+h+"!important",...Ro(m),...Ao(f)},tablet:{".blockspare-notice-content":{fontSize:y+h+"!important"}},mobile:{".blockspare-notice-content":{fontSize:k+h+"!important"}}}),Do.a.all(X)};const{Component:Ow}=wp.element,{__:Ew}=wp.i18n,{compose:xw}=wp.compose,{URLInput:ww,RichText:Sw,BlockControls:Tw,BlockAlignmentToolbar:jw}=wp.blockEditor,{IconButton:Fw,Dashicon:Mw}=wp.components;var Bw=xw(W,I(Cw))(class extends Ow{render(){const{attributes:{align:e,buttonText:t,buttonUrl:a,buttonAlignment:n,buttonSize:r,buttonShape:l,noticeContent:i,sectionAlignment:s,enableButton:c,buttonHoverEffect:p,titleLoadGoogleFonts:b,titleFontFamily:u,titleFontWeight:d,buttonLoadGoogleFonts:g,buttonFontFamily:m,buttonFontWeight:f,enableNoticeIcons:h,name:k,showImage:v,imgURL:C,animation:O,blockHoverEffect:E,enableButtonIcon:x,buttonIconPosition:w,buttonIcon:S},className:T,attributes:j,isSelected:F,setAttributes:M}=this.props;let B,L;if(1==b){const e={google:{families:[u+(d?":"+d:"")]}};B=Object(o.createElement)(Uo,{config:e})}if(1==g){const e={google:{families:[m+(f?":"+f:"")]}};L=Object(o.createElement)(Uo,{config:e})}const z={className:y()(T,"blockspare-notice-block","align"+e,O?"blockspare-block-animation":"",O,E),"data-block-animation":O};return Object(o.createElement)("fragment",null,Object(o.createElement)(Tw,null,Object(o.createElement)(jw,{value:e,onChange:e=>{M({align:e})},controls:["center","wide","full"]})),Object(o.createElement)(vw,{setAttributes:M,...this.props}),Object(o.createElement)("div",z,this.props.styles,v&&C&&Object(o.createElement)("div",{className:"blockspare-notice-bg-img",style:{backgroundImage:"url("+C+")"}}," "),Object(o.createElement)("div",{className:"blockspare-noticebar-wrapper blockspare-blocks blockspare-hover-item"},Object(o.createElement)("div",{className:y()("blockspare-section-notice-wrap",v||h?"notice-img-icon":"")},h&&Object(o.createElement)("span",{className:y()("blockspare-notice-icon",k)}),Object(o.createElement)(Sw,{tagName:"div",placeholder:Ew("Add your notice here..","blockspare"),keepPlaceholderOnFocus:!0,value:i,className:"blockspare-notice-content",onChange:e=>M({noticeContent:e})})),c&&Object(o.createElement)("div",{className:"blockspare-block-button"},Object(o.createElement)("a",{href:"#",className:y()("blockspare-button",l,r,p,x?w:"")},x&&Object(o.createElement)("i",{className:S}),Object(o.createElement)(Sw,{tagName:"span",placeholder:Ew("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:t,allowedFormats:[],onChange:e=>M({buttonText:e})})),F&&Object(o.createElement)("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+n,onSubmit:e=>e.preventDefault()},Object(o.createElement)(Mw,{icon:"admin-links"}),Object(o.createElement)(ww,{className:"button-url",value:a,onChange:e=>M({buttonUrl:e})}),Object(o.createElement)(Fw,{icon:"editor-break",label:Ew("Apply","blockspare"),type:"submit"}))))),B,L)}});const{Component:Lw}=wp.element,{compose:zw}=wp.compose,{RichText:Nw}=wp.blockEditor;var Pw=zw(W,I(Cw))(class extends Lw{render(){const{attributes:{align:e,buttonText:t,buttonUrl:a,buttonTarget:n,buttonSize:r,buttonShape:l,noticeContent:i,enableButton:s,buttonHoverEffect:c,enableNoticeIcons:p,name:b,showImage:u,imgURL:d,animation:g,blockHoverEffect:m,enableButtonIcon:f,buttonIconPosition:h,buttonIcon:k},className:v}=this.props,C=y()([v,"blockspare-notice-block","align"+e,g?"blockspare-block-animation":"",m]);return Object(o.createElement)("div",{className:C,"blockspare-animation":g},this.props.styles,u&&d&&Object(o.createElement)("div",{className:"blockspare-notice-bg-img",style:{backgroundImage:"url("+d+")"}}," "),Object(o.createElement)("div",{className:y()("blockspare-noticebar-wrapper","blockspare-blocks","blockspare-hover-item")},Object(o.createElement)("div",{className:y()("blockspare-section-notice-wrap",u||p?"notice-img-icon":"")},p&&Object(o.createElement)("span",{className:y()("blockspare-notice-icon",b)}),Object(o.createElement)("div",{className:"blockspare-title-wrap"},Object(o.createElement)("div",null,i&&Object(o.createElement)(Nw.Content,{tagName:"div",className:"blockspare-notice-content",value:i})))),s&&Object(o.createElement)("div",{className:"blockspare-block-button"},t&&Object(o.createElement)("a",{href:a,target:n?"_blank":null,rel:n?"noopener noreferrer":null,className:y()("blockspare-button",l,r,c,f?h:"")},f&&Object(o.createElement)("i",{className:k}),Object(o.createElement)(Nw.Content,{tagName:"span",value:t})))))}});const{name:Dw,category:Rw}=aw,{__:Aw}=wp.i18n,{registerBlockType:_w}=wp.blocks,Iw={...ai,...pi,...aw.attributes},Hw=["center","wide","full"];_w(Dw,{title:Aw("Notice Bar","blockspare"),description:Aw("Notice Bar allow you to add various type of notices","blockspare"),category:Rw,icon:s.a.notice,attributes:Iw,keywords:[Aw("block","blockspare"),Aw("notice","blockspare"),Aw("bar","blockspare"),Aw("announcement","blockspare")],example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},getEditWrapperProps(e){const{align:t}=e;if(-1!==Hw.indexOf(t))return{"data-align":t}},edit:Bw,save:Pw});var Gw=a(281),Ww=e=>{const{marginTop:t,marginRight:a,marginBottom:o,marginLeft:n,pricingLayout:r,backgroundColor:l}=e.attributes,i=[];return i.push({".blockspare-pricelist-wrapper":{marginTop:t?t+"px":void 0,marginRight:a?a+"px":void 0,marginBottom:o?o+"px":void 0,marginLeft:n?n+"px":void 0}}),i.push({".blockspare-pricelist-wrapper":{backgroundColor:l}}),Do.a.all(i)};const{Component:Uw}=wp.element,{compose:qw}=wp.compose;var Vw=qw([W,I(Ww)])(class extends Uw{constructor(e){super(...arguments)}render(){const{className:e,attributes:{backgroundColor:t,align:a,animation:n}}=this.props,r={className:y()(e,"align"+a,"blockspare-price-list-section-admin blockspare-price-list",n?"blockspare-block-animation":"",n),"data-block-animation":n};return Object(o.createElement)("div",r,Object(o.createElement)("div",{class:"blockspare-pricelist-wrapper"},this.props.styles,this.props.children))}});const{__:$w}=wp.i18n,{Component:Xw}=wp.element,{InspectorControls:Yw,PanelColorSettings:Jw}=wp.blockEditor,{PanelBody:Kw}=wp.components;class Zw extends Xw{constructor(e){super(...arguments)}render(){const{attributes:{marginTop:e,marginRight:t,marginBottom:a,marginLeft:n,backgroundColor:r},isSelected:l,className:i,setAttributes:s}=this.props;return Object(o.createElement)(Yw,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper pricing-table-blockspare"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(Kw,{title:$w("Block Settings","blockspare")},Object(o.createElement)(Jw,{title:$w("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:r,onChange:e=>s({backgroundColor:e}),label:$w("Background Color","blockspare")}]})),Object(o.createElement)(Kw,{title:$w("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(Kw,{title:$w("Block Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:e,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>s({marginTop:e}),marginEnableRight:!0,marginRight:t,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>s({marginRight:e}),marginEnableBottom:!0,marginBottom:a,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>s({marginBottom:e}),marginEnableLeft:!0,marginLeft:n,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>s({marginLeft:e})}))))}}a(385);var Qw=a(254);const{__:eS}=wp.i18n,{Component:tS}=wp.element,{InspectorControls:aS,PanelColorSettings:oS}=wp.blockEditor,{PanelBody:nS,ToggleControl:rS,SelectControl:lS,RangeControl:iS}=wp.components;class sS extends tS{render(){const{attributes:{layoutOptions:e,priceUnitPosition:t,showDots:a,priceTitleColor:n,priceColor:r,priceUnitColor:l,backgroundColor:i,priceDescriptionColor:s,showImage:c,imgIconOption:p,name:b,iconSize:u,iconStyles:d,iconBackgroundColor:g,iconBorderColor:m,iconColor:f,borderRadius:h,paddingTop:k,paddingRight:y,paddingBottom:v,paddingLeft:C,marginTop:O,marginBottom:E,marginLeft:x,marginRight:w,blockBorderRadius:S,enableBoxShadow:T,xOffset:j,yOffset:F,blur:M,spread:B,shadowColor:L,titleFontSize:z,titleLoadGoogleFonts:N,titleFontFamily:P,titleFontWeight:D,titleFontSubset:R,titleFontSizeType:A,titleFontSizeMobile:_,titleFontSizeTablet:I,priceUnitFontSize:H,priceUnitLoadGoogleFonts:G,priceUnitFontFamily:W,priceUnitFontWeight:U,priceUnitFontSubset:q,priceUnitFontSizeType:V,priceUnitFontSizeMobile:$,priceUnitFontSizeTablet:X,descriptionFontSize:Y,descriptionFontFamily:J,descriptionFontWeight:K,descriptionFontSubset:Z,descriptionFontSizeType:Q,descriptionFontSizeMobile:ee,descriptionFontSizeTablet:te,descriptionLoadGoogleFonts:ae},attributes:oe,setAttributes:ne}=this.props,re=[{value:"blockspare-layout1",label:eS("Layout 1","blockspare")},{value:"blockspare-layout2",label:eS("Layout 2","blockspare")},{value:"blockspare-layout3",label:eS("Layout 3","blockspare")}],le=[{value:"blockspare-before-price",label:eS("Before Price","blockspare")},{value:"blockspare-after-price",label:eS("After Price","blockspare")}];return eS("Icon","blockspare"),eS("Image","blockspare"),Object(o.createElement)(aS,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(nS,{title:eS("Block Settings","blockspare"),initialOpen:!1},Object(o.createElement)(lS,{label:eS("Choose Layout","blockspare"),options:re,value:e,onChange:e=>this.props.setAttributes({layoutOptions:e})}),Object(o.createElement)(rS,{label:eS("Display Image ","blockspare"),checked:c,onChange:()=>this.props.setAttributes({showImage:!c})}),Object(o.createElement)(rS,{label:eS("Display Dots","blockspare"),checked:a,onChange:()=>this.props.setAttributes({showDots:!a})}),Object(o.createElement)(lS,{label:eS("Price Unit Position","blockspare"),options:le,value:t,onChange:e=>this.props.setAttributes({priceUnitPosition:e})}),Object(o.createElement)(iS,{label:eS("Border Radius","blockspare"),value:S,onChange:e=>this.props.setAttributes({blockBorderRadius:e}),min:0,max:50,step:1}),Object(o.createElement)(rS,{label:eS("Enable Box Shadow","blockspare"),checked:T,onChange:()=>this.props.setAttributes({enableBoxShadow:!T})}),T&&Object(o.createElement)(ji,{shadowColor:L,onChangeShadowColor:e=>ne({shadowColor:e}),xOffset:j,onChangeXOffset:e=>ne({xOffset:e}),yOffset:F,onChangeYOffset:e=>ne({yOffset:e}),blur:M,onChangeBlur:e=>ne({blur:e}),spread:B,onChangeSpread:e=>ne({spread:e})})),Object(o.createElement)(nS,{title:eS("Typography Settings","blockspare")},Object(o.createElement)(Oo,{label:eS("Title Fonts Settings"),attributes:oe,setAttributes:ne,loadGoogleFonts:{value:N,label:eS("titleLoadGoogleFonts")},fontFamily:{value:P,label:eS("titleFontFamily")},fontWeight:{value:D,label:eS("titleFontWeight")},fontSubset:{value:R,label:eS("titleFontSubset")},fontSizeType:{value:A,label:eS("titleFontSizeType")},fontSize:{value:z,label:eS("titleFontSize")},fontSizeMobile:{value:_,label:eS("titleFontSizeMobile")},fontSizeTablet:{value:I,label:eS("titleFontSizeTablet")},disableLineHeight:!0}),Object(o.createElement)(Oo,{label:eS("Description Fonts Settings"),attributes:oe,setAttributes:ne,loadGoogleFonts:{value:ae,label:eS("descriptionLoadGoogleFonts")},fontFamily:{value:J,label:eS("descriptionFontFamily")},fontWeight:{value:K,label:eS("descriptionFontWeight")},fontSubset:{value:Z,label:eS("descriptionFontSubset")},fontSizeType:{value:Q,label:eS("descriptionFontSizeType")},fontSize:{value:Y,label:eS("descriptionFontSize")},fontSizeMobile:{value:ee,label:eS("descriptionFontSizeMobile")},fontSizeTablet:{value:te,label:eS("descriptionFontSizeTablet")},disableLineHeight:!0}),Object(o.createElement)(Oo,{label:eS("Price Fonts Settings"),attributes:oe,setAttributes:ne,loadGoogleFonts:{value:G,label:eS("priceUnitLoadGoogleFonts")},fontFamily:{value:W,label:eS("priceUnitFontFamily")},fontWeight:{value:U,label:eS("priceUnitFontWeight")},fontSubset:{value:q,label:eS("priceUnitFontSubset")},fontSizeType:{value:V,label:eS("priceUnitFontSizeType")},fontSize:{value:H,label:eS("priceUnitFontSize")},fontSizeMobile:{value:$,label:eS("priceUnitFontSizeMobile")},fontSizeTablet:{value:X,label:eS("priceUnitFontSizeTablet")},disableLineHeight:!0})),Object(o.createElement)(nS,{title:eS("Color Settings","blockspare"),initialOpen:!1},Object(o.createElement)(oS,{title:eS("Colors","blockspare"),initialOpen:!0,colorSettings:[{value:n,onChange:e=>ne({priceTitleColor:e}),label:eS("Title Color","blockspare")},{value:r,onChange:e=>ne({priceColor:e}),label:eS("Price Color","blockspare")},,{value:i,onChange:e=>ne({backgroundColor:e}),label:eS("Background Color","blockspare")},{value:l,onChange:e=>ne({priceUnitColor:e}),label:eS("Unit Color","blockspare")},{value:s,onChange:e=>ne({priceDescriptionColor:e}),label:eS("General Color","blockspare")}]})),Object(o.createElement)(nS,{title:eS("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props)),Object(o.createElement)(nS,{title:eS("Block Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(nS,{title:eS("Padding Settings","blockspare"),initialOpen:!0},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:k,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>ne({paddingTop:e}),paddingEnableRight:!0,paddingRight:y,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>ne({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:v,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>ne({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:C,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>ne({paddingLeft:e})})),Object(o.createElement)(nS,{title:eS("Margin Settings","blockspare"),initialOpen:!0},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:O,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>ne({marginTop:e}),marginEnableBottom:!0,marginBottom:E,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>ne({marginBottom:e}),marginEnableLeft:!0,marginLeft:x,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>ne({marginLeft:e}),marginEnableRight:!0,marginRight:w,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>ne({marginRight:e})})))))}}var cS=e=>{const{backgroundColor:t,blockBorderRadius:a,priceTitleColor:o,priceColor:n,priceUnitColor:r,priceDescriptionColor:l,titleFontSize:i,titleFontFamily:s,titleFontWeight:c,titleFontSizeType:p,titleFontSizeMobile:b,titleFontSizeTablet:u,priceUnitFontSize:d,priceUnitFontFamily:g,priceUnitFontWeight:m,priceUnitFontSizeType:f,priceUnitFontSizeMobile:h,priceUnitFontSizeTablet:k,descriptionFontSize:y,descriptionFontFamily:v,descriptionFontWeight:C,descriptionFontSubset:O,descriptionFontSizeType:E,descriptionFontSizeMobile:x,descriptionFontSizeTablet:w}=e.attributes,S=[];var T=d,j=(Math.floor(T/1.3),Math.floor(T/1.3)),F=k,M=(Math.floor(F/1.3),Math.floor(F/1.3)),B=h,L=(Math.floor(B/1.3),Math.floor(B/1.3));return S.push({".blockspare-price-list-wrap":{..._s(e.attributes),...As(e.attributes),backgroundColor:t||"#fff",borderRadius:a+"px"},".blockspare-price-list-wrap .blockspare-block-icon":{...yb(e.attributes)},".blockspare-price-list-wrap .blockspare-block-icon::after":{...vb(e.attributes)},".blockspare-price-divider":{color:l||"#6d6d6d"},".blockspare-title":{color:o||"#404040",fontSize:i+p+"!important",...Ro(s),...Ao(c)},".blockspare-price":{color:n||"#3c1a5b",fontSize:d+f+"!important",...Ro(g),...Ao(m)},".blockspare-unit":{color:r||"#3c1a5b",fontSize:j+"px",...Ro(g),...Ao(m)},".blockspare-description":{color:l||"#6d6d6d",fontSize:y+E+"!important",...Ro(v),...Ao(C)},tablet:{".blockspare-title":{fontSize:u+p+"!important"},".blockspare-price,":{fontSize:k+p+"!important"},".blockspare-unit":{fontSize:M+p+"!important"},".blockspare-description":{fontSize:w+E+"!important"}},mobile:{".blockspare-title":{fontSize:b+p+"!important"},".blockspare-price":{fontSize:h+p+"!important"}," .blockspare-unit":{fontSize:L+p+"!important"},".blockspare-description":{fontSize:x+E+"!important"}}}),Do.a.all(S)};const pS=blockspare_globals,{Component:bS,Fragment:uS}=wp.element,{__:dS}=wp.i18n,{compose:gS}=wp.compose,mS=["core/image"],fS=[["core/image",{url:pS.menu_img_url}]],{RichText:hS,InnerBlocks:kS}=wp.blockEditor;var yS=gS(W,I(cS))(class extends bS{render(){const{attributes:{price:e,priceTitle:t,titleFontFamily:a,titleFontWeight:n,titleLoadGoogleFonts:r,priceDescription:l,descriptionFontFamily:i,descriptionFontWeight:s,descriptionLoadGoogleFonts:c,priceUnit:p,priceUnitFontFamily:b,priceUnitFontWeight:u,priceUnitLoadGoogleFonts:d,layoutOptions:g,priceUnitPosition:m,showDots:f,showImage:h,imgIconOption:k,name:v,iconSize:C,iconStyles:O,blockHoverEffect:E,imageHoverEffect:x},className:w,attributes:S,setAttributes:T}=this.props,j=y()([w,"blockspare-pircelist",E,x]);let F,M,B;if(1==r){const e={google:{families:[a+(n?":"+n:"")]}};F=Object(o.createElement)(Uo,{config:e})}if(1==c){const e={google:{families:[i+(s?":"+s:"")]}};M=Object(o.createElement)(Uo,{config:e})}if(1==d){const e={google:{families:[b+(u?":"+u:"")]}};B=Object(o.createElement)(Uo,{config:e})}return Object(o.createElement)(uS,null,Object(o.createElement)(sS,this.props),Object(o.createElement)("div",{className:j},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-price-list-wrap",g,m,"blockspare-hover-item")},Object(o.createElement)("div",{className:"blockspare-img-wrapper"},h&&"image"==k&&Object(o.createElement)(kS,{template:fS,allowedBlocks:mS,templateLock:!0,templateInsertUpdatesSelection:!0})),h&&"icon"==k&&Object(o.createElement)("div",{className:"blockspare-block-icon-wrapper"},Object(o.createElement)("div",{className:y()("blockspare-block-icon",C,O)},Object(o.createElement)("i",{className:v}))),Object(o.createElement)("div",{className:"blockspare-price-content"},Object(o.createElement)("div",{className:"blockspare-price-header"},Object(o.createElement)(hS,{tagName:"h4",className:"blockspare-title",onChange:e=>T({priceTitle:e}),value:t,placeholder:dS("Title","blockspare"),keepPlaceholderOnFocus:!0}),f&&Object(o.createElement)("span",{className:"blockspare-price-divider"}),Object(o.createElement)("div",{className:"blockspare-price-unit-wrap"},Object(o.createElement)(hS,{tagName:"span",className:"blockspare-price",onChange:e=>T({price:e}),value:e,placeholder:dS("Price","blockspare"),keepPlaceholderOnFocus:!0}),Object(o.createElement)(hS,{tagName:"span",className:"blockspare-unit",onChange:e=>T({priceUnit:e}),value:p,placeholder:dS("$","blockspare"),keepPlaceholderOnFocus:!0}))),Object(o.createElement)(hS,{tagName:"p",className:"blockspare-description",onChange:e=>T({priceDescription:e}),value:l,placeholder:dS("Description","blockspare"),keepPlaceholderOnFocus:!0})))),F,M,B)}});const{Component:vS}=wp.element,{compose:CS}=wp.compose,{InnerBlocks:OS,RichText:ES}=wp.blockEditor;var xS=CS(W,I(cS))(class extends vS{constructor(){super(...arguments)}render(){const{attributes:{priceTitle:e,priceDescription:t,priceUnit:a,price:n,layoutOptions:r,priceUnitPosition:l,showDots:i,showImage:s,imgIconOption:c,name:p,iconSize:b,iconStyles:u,blockHoverEffect:d,imageHoverEffect:g},className:m,attributes:f}=this.props,h=y()([m,"blockspare-pircelist",d,g]);return Object(o.createElement)("div",{className:h},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-price-list-wrap",r,l,"blockspare-hover-item")},Object(o.createElement)("div",{className:"blockspare-img-wrapper"},s&&"image"==c&&Object(o.createElement)(OS.Content,null)),s&&"icon"==c&&Object(o.createElement)("div",{className:"blockspare-block-icon-wrapper"},Object(o.createElement)("div",{className:y()("blockspare-block-icon",b,u)},Object(o.createElement)("i",{className:p}))),Object(o.createElement)("div",{className:"blockspare-price-content"},Object(o.createElement)("div",{className:"blockspare-price-header"},Object(o.createElement)(ES.Content,{tagName:"h4",className:"blockspare-title",value:e}),i&&Object(o.createElement)("span",{className:"blockspare-price-divider"}),Object(o.createElement)("div",{className:"blockspare-price-unit-wrap"},Object(o.createElement)(ES.Content,{tagName:"span",className:"blockspare-price",value:n}),Object(o.createElement)(ES.Content,{tagName:"span",className:"blockspare-unit",value:a}))),Object(o.createElement)(ES.Content,{tagName:"p",className:"blockspare-description",value:t}))))}});const{__:wS}=wp.i18n,{registerBlockType:SS}=wp.blocks,{category:TS}=Qw,jS={...Qw.attributes,...bi,...pi,paddingTop:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingLeft:{type:"number",default:0}},FS={title:wS("Price List Item","blockspare"),description:wS("Display creative Price List, Menu .","blockspare"),parent:["blockspare/blockspare-price-list"],icon:s.a.pricingList,category:TS,supports:{html:!1,inserter:!1,reusable:!1},attributes:jS,edit:yS,save:xS};SS("blockspare/list-item",FS);const{Component:MS,Fragment:BS}=wp.element,{__:LS}=wp.i18n,{compose:zS}=wp.compose,{createBlock:NS}=wp.blocks,{withSelect:PS,withDispatch:DS}=wp.data,{InnerBlocks:RS}=wp.blockEditor;var AS=zS([PS((e,t)=>{const{clientId:a}=t,{getBlock:o,isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{block:o(a),isSelectedBlockInRoot:n(a)||r(a,!0)}}),DS(e=>{const{insertBlock:t,updateBlockAttributes:a}=e("core/block-editor");return{insertBlock:t,updateBlockAttributes:a}})])(class extends MS{constructor(){super(...arguments),E()(this,"getPriceTemplate",e=>{const t=[],a=e.defaultItems;for(let e=0;e<a;e++)t.push(["blockspare/list-item",{}]);return t})}componentDidMount(){const{setAttributes:e,clientId:t,attributes:{uniqueId:a}}=this.props,o=t.substr(0,6);a?a&&a!=o&&e({uniqueId:o}):e({uniqueId:o})}insertPriceItem(){let e;const{clientId:t,insertBlock:a,block:o}=this.props;if(o.innerBlocks&&o.innerBlocks.length){const t=o.innerBlocks[o.innerBlocks.length-1].attributes.itemNumber+1,a=FS.heading;e=Object.assign({},{},{itemNumber:t,heading:a,active:!1,defaultText:""})}else e=FS;a(NS("blockspare/list-item",e),void 0,t)}render(){const{align:e,attributes:t,backgroundColor:a,isSelectedBlockInRoot:n,setAttributes:r,className:l,attributes:{uniqueId:i}}=this.props;return[Object(o.createElement)(BS,null,Object(o.createElement)(Zw,{setAttributes:r,...this.props}),Object(o.createElement)(Vw,this.props,Object(o.createElement)(RS,{template:this.getPriceTemplate(t),allowedBlocks:["blockspare/list-item"]})))]}});const{Component:_S}=wp.element,{InnerBlocks:IS}=wp.blockEditor,{compose:HS}=wp.compose;var GS=HS([W,I(Ww)])(class extends _S{render(){const{className:e,attributes:{uniqueId:t,itemToggle:a,align:n,backgroundColor:r,animation:l}}=this.props,i=y()([e,"align"+n,"blockspare-block-pricelist ","blockspare-blocks","blockspare-block-"+t,l?"blockspare-block-animation":""]);return Object(o.createElement)("div",{className:i,"blockspare-animation":l},Object(o.createElement)("div",{class:"blockspare-pricelist-wrapper"},this.props.styles,Object(o.createElement)(IS.Content,null)))}});const{name:WS,category:US,attributes:qS}=Gw,{__:VS}=wp.i18n,{registerBlockType:$S}=wp.blocks;$S(WS,{title:VS("Price List","blockspare"),description:VS("Add a price list.","blockspare"),category:US,icon:s.a.pricingList,attributes:qS,keywords:[VS("block","blockspare"),VS("price","blockspare"),VS("list","blockspare"),VS("table","blockspare"),VS("pricing","blockspare"),VS("shop","blockspare"),VS("purchase","blockspare")],supports:{align:["wide","full","center"]},edit:AS,save:GS});var XS=a(282);const{__:YS}=wp.i18n,{Component:JS}=wp.element,{addFilter:KS,applyFilters:ZS}=wp.hooks,{InspectorControls:QS,PanelColorSettings:eT}=wp.blockEditor,{Toolbar:tT,Button:aT,PanelBody:oT,PanelRow:nT,RangeControl:rT,SelectControl:lT}=wp.components;class iT extends JS{constructor(e){super(...arguments)}render(){const{attributes:{columns:e,columnsGap:t,marginTop:a,marginRight:n,marginBottom:r,marginLeft:l,blockLayout:i},isSelected:s,className:c,setAttributes:p}=this.props,b=[{value:"blockspare-layout-1",label:YS("Default","blockspare")},{value:"blockspare-layout-2",label:YS("Zigzag","blockspare")}];return Object(o.createElement)(QS,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper pricing-table-blockspare"},Object(o.createElement)(oT,{title:YS("Block Settings","blockspare"),initialOpen:!1},Object(o.createElement)(lT,{label:YS("Choose Layout ","blockspare"),options:b,value:i,onChange:e=>this.props.setAttributes({blockLayout:e})}),Object(o.createElement)(rT,{label:YS("Pricing Columns","blockspare"),value:e,onChange:e=>this.props.setAttributes({columns:e}),min:1,max:3})),Object(o.createElement)(oT,{title:YS("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(oT,{title:YS("Block Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(rT,{label:YS("Pricing Columns Gap","blockspare"),value:t,onChange:e=>this.props.setAttributes({columnsGap:e}),min:0,max:5,step:1}),Object(o.createElement)(So,{marginEnableTop:!0,marginTop:a,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>p({marginTop:e}),marginEnableRight:!0,marginRight:n,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>p({marginRight:e}),marginEnableBottom:!0,marginBottom:r,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>p({marginBottom:e}),marginEnableLeft:!0,marginLeft:l,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>p({marginLeft:e})}))))}}a(386);var sT=a(255),cT=a.p+"images/pricingtable-layout-1.1504cb9c.png",pT=a.p+"images/pricingtable-layout-2.e968ef9f.png",bT=a.p+"images/pricingtable-layout-3.a1c4c8a7.png",uT=a.p+"images/pricingtable-layout-4.78071a1d.png",dT=a.p+"images/pricingtable-layout-5.81048d9e.png",gT=a.p+"images/pricingtable-layout-6.e3593b04.png",mT=a.p+"images/pricingtable-layout-7.3a2bcb9c.png",fT=a.p+"images/pricingtable-layout-8.5f8182c7.png",hT=a.p+"images/pricingtable-layout-9.37c95d4c.png",kT=a.p+"images/pricingtable-layout-10.0cfddc6c.png";const yT=["image"],{addFilter:vT,applyFilters:CT}=wp.hooks,{__:OT}=wp.i18n,{Component:ET,Fragment:xT}=wp.element,{InspectorControls:wT,BlockDescription:ST,MediaUpload:TT,PanelColorSettings:jT,ColorPalette:FT}=wp.blockEditor,{Dashicon:MT,Button:BT,PanelBody:LT,SelectControl:zT,FormToggle:NT,RangeControl:PT,TextControl:DT,ToggleControl:RT,BaseControl:AT,PanelRow:_T,Toolbar:IT}=wp.components;class HT extends ET{constructor(e){super(...arguments)}render(){const{attributes:{itemborderWidth:e,itemborderColor:t,itemborderRadius:a,itembackgroundColor:n,itempadding:r,sectionScale:l,enableBadge:i,badgeText:c,badgeStyle:p,badgeOption:b,imgID1:u,imgURL1:d,imgAlt1:g,badgeTextColor:m,badgeBackGroundColor:f,badgeImgSize:h,enableBoxShadow:k,xOffset:v,yOffset:C,blur:O,spread:E,shadowColor:x,badgeFontSize:w,badgeFontFamily:S,badgeFontWeight:T,badgeFontSubset:j,badgeFontSizeType:F,badgeFontSizeMobile:M,badgeFontSizeTablet:B,badgeLoadGoogleFonts:L,headerTagOption:z,headerlayoutOption:N,headerAlignPosition:P,titleFontSize:D,titleLoadGoogleFonts:R,titleFontFamily:A,titleFontWeight:I,titleFontSubset:H,titleFontSizeType:G,titleFontSizeMobile:W,titleFontSizeTablet:U,subTitleFontSize:q,subTitleLoadGoogleFonts:V,subTitleFontFamily:$,subTitleFontWeight:X,subTitleFontSubset:Y,subTitleFontSizeType:J,subTitleFontSizeMobile:K,subTitleFontSizeTablet:Z,iconName:Q,iconSize:ee,iconStyles:te,iconBackgroundColor:ae,iconBorderColor:oe,iconColor:ne,iconBorderRadius:re,iconmarginTop:le,iconmarginBottom:ie,iconmarginLeft:se,iconmarginRight:pe,iconAlignPosition:be,backgroundOpacity:ue,priceAlignPosition:de,showTerm:ge,showCurrency:me,term:fe,currency:he,pricePaddingTop:ke,pricePaddingRight:ye,pricePaddingLeft:ve,pricePaddingBottom:Ce,priceMarginTop:Oe,priceMarginBottom:Ee,priceMarginLeft:xe,priceMarginRight:we,priceUnitFontSize:Se,priceUnitLoadGoogleFonts:Te,priceUnitFontFamily:je,priceUnitFontWeight:Fe,priceUnitFontSubset:Me,priceUnitFontSizeType:Be,priceUnitFontSizeMobile:Le,priceUnitFontSizeTablet:ze,customBackgroundColor:Ne,priceColor:Pe,descriptionAlignPosition:De,descriptionborderStyle:Re,descriptionborderColor:Ae,descriptionborderWidth:_e,descriptionBacgroundColor:Ie,descriptionpaddingTop:He,descriptionpaddingRight:Ge,descriptionpaddingBottom:We,descriptionpaddingLeft:Ue,descriptionMarginTop:qe,descriptionMarginBottom:Ve,descriptionMarginLeft:$e,descriptionMarginRight:Xe,name:Ye,listType:Je,orderListStyle:Ke,color:Ze,descriptionFontSize:Qe,descriptionFontFamily:et,descriptionFontWeight:tt,descriptionFontSubset:at,descriptionFontSizeType:ot,descriptionFontSizeMobile:nt,descriptionFontSizeTablet:rt,descriptionLoadGoogleFonts:lt,descriptionIconColor:it,buttonAlignPosition:st,buttonStyle:ct,borderColor:pt,borderBtnTextColor:bt,buttonBackgroundColor:ut,buttonTextColor:dt,buttonSize:gt,buttonShape:mt,buttonTarget:ft,buttonPaddingTop:ht,buttonPaddingBottom:kt,buttonPaddingLeft:yt,buttonPaddingRight:vt,enableGradient:Ct,backgroundColor1:Ot,backgroundColor2:Et,gradientAngle:xt,colorLocation1:wt,colorLocation2:St,btnFontWeight:Tt,btnBorderWidth:jt,buttonHoverEffect:Ft,buttonFontSize:Mt,buttonFontFamily:Bt,buttonFontWeight:Lt,buttonFontSubset:zt,buttonFontSizeType:Nt,buttonFontSizeMobile:Pt,buttonFontSizeTablet:Dt,buttonLoadGoogleFonts:Rt,enableButtonIcon:At,buttonIconPosition:_t,buttonIcon:It,buttonIconColor:Ht,enablePrice:Gt,enableSectionHeader:Wt,enableDescription:Ut,enableButton:qt,enableIcon:Vt,enableImage:$t,imgPaddingTop:Xt,imgPaddingBottom:Yt,imgPaddingLeft:Jt,imgPaddingRight:Kt,imageAlignPosition:Zt,pricingLayout:Qt,primaryColor:ea,secondaryColor:ta,tertianeryColor:aa,headertitleColor:oa,headertitleColorDark:na,headersubtitleColor:ra,dashColor:la,dashColor2:ia,headerboxColor:sa,titlePaddingTop:ca,titlePaddingRight:pa,titlePaddingBottom:ba,titlePaddingLeft:ua,subtitlePaddingTop:da,subtitlePaddingRight:ga,subtitlePaddingBottom:ma,subtitlePaddingLeft:fa,headermarginTop:ha,headermarginRight:ka,headermarginBottom:ya,headermarginLeft:va},isSelected:Ca,className:Oa,attributes:Ea,setAttributes:xa}=this.props,wa=[{value:"blockspare-badge-style1",label:OT("Style 1","blockspare")},{value:"blockspare-badge-style2",label:OT("Style 2","blockspare")},{value:"blockspare-badge-style3",label:OT("Style 3","blockspare")}];return OT("Text","blockspare"),OT("Image","blockspare"),OT("None"),OT("Solid"),OT("Dotted"),OT("Dashed"),Object(o.createElement)(wT,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(LT,{title:OT("Block Settings","blockspare"),initialOpen:!1,className:"blocksapre-block-settings"},Object(o.createElement)(Qi,{initialOpen:!1,selected:Qt,paneltitle:_("Layouts","blockspare"),options:CT("blockspare.cta.edit.layouts",[{label:OT("Style 1","blockspare"),value:"bpl-1",image:cT},{label:OT("Style 2","blockspare"),value:"bpl-2",image:pT},{label:OT("Style 3","blockspare"),value:"bpl-3",image:bT},{label:OT("Style 4","blockspare"),value:"bpl-4",image:uT},{label:OT("Style 5","blockspare"),value:"bpl-5",image:dT},{label:OT("Style 6","blockspare"),value:"bpl-6",image:gT},{label:OT("Style 7","blockspare"),value:"bpl-7",image:mT},{label:OT("Style 8","blockspare"),value:"bpl-8",image:fT},{label:OT("Style 9","blockspare"),value:"bpl-9",image:hT},{label:OT("Style 10","blockspare"),value:"bpl-10",image:kT}]),onChange:e=>xa({pricingLayout:e})}),Object(o.createElement)(PT,{label:OT("Pricing Column Border Radius","blockspare"),value:a,onChange:e=>this.props.setAttributes({itemborderRadius:e}),min:0,max:20,step:1}),Object(o.createElement)(PT,{label:OT("Scale Ratio","blockspare"),value:l,onChange:e=>this.props.setAttributes({sectionScale:e}),min:0,max:2,step:1})),Object(o.createElement)(LT,{title:OT("Icon"),className:"blocksapre-icon-settings",initialOpen:!1,icon:s.a.iconblockspare},Object(o.createElement)(RT,{label:OT("Enable Icon","blockspare"),checked:Vt,onChange:()=>this.props.setAttributes({enableIcon:!Vt})}),Vt&&Object(o.createElement)(ib,{enablecontent:!0,enableColor:!1,name:Q,onChangeName:e=>xa({iconName:e}),enableiconSize:!0,iconSize:ee,onChangeIconSizeOptions:e=>xa({iconSize:e}),enableiconStyles:!0,iconStyles:te,onChangeIconStyles:e=>xa({iconStyles:e}),iconBackgroundColor:ae,onChangeIconBackgroundColor:e=>xa({iconBackgroundColor:e}),iconBorderColor:oe,onChangeIconBorderColor:e=>xa({iconBorderColor:e}),iconColor:ne,OnChangeIconColor:e=>xa({iconColor:e}),borderRadius:re,onChangeBorderRadius:e=>xa({iconBorderRadius:e})})),Object(o.createElement)(LT,{title:OT("Image"),className:"blocksapre-image-settings",initialOpen:!1,icon:s.a.logobadge},Object(o.createElement)(RT,{label:OT("Enable Image","blockspare"),checked:$t,onChange:()=>this.props.setAttributes({enableImage:!$t})})),Object(o.createElement)(LT,{icon:s.a.sectionHeader,title:OT("Header","blockspare"),initialOpen:!1},Object(o.createElement)(RT,{label:OT("Enable Title/Subtitle","blockspare"),checked:Wt,onChange:()=>this.props.setAttributes({enableSectionHeader:!Wt})}),Wt&&Object(o.createElement)("div",null,Object(o.createElement)(Os,{headerlayoutOption:N,onChangeHeaderLayput:e=>xa({headerlayoutOption:e})}))),Object(o.createElement)(LT,{title:OT("Pricing","blockspare"),className:"blocksapre-pricing-settings",initialOpen:!1,icon:s.a.price},Object(o.createElement)(RT,{label:OT("Enable Pricing","blockspare"),checked:Gt,onChange:()=>this.props.setAttributes({enablePrice:!Gt})}),Gt&&Object(o.createElement)(RT,{label:OT("Show currency symbol","blockspare"),checked:me,onChange:()=>this.props.setAttributes({showCurrency:!me})})),Object(o.createElement)(LT,{title:OT("Description","blockspare"),initialOpen:!1,className:"blocksapre-description-settings",icon:s.a.iconlist},Object(o.createElement)(RT,{label:OT("Enable Description","blockspare"),checked:Ut,onChange:()=>this.props.setAttributes({enableDescription:!Ut})}),Ut&&Object(o.createElement)("div",null,"blockspare-list-border-none"!=Re&&Object(o.createElement)(PT,{label:OT("List Border Width","blockspare"),value:_e,onChange:e=>this.props.setAttributes({descriptionborderWidth:e}),min:1,max:5,step:1}),Object(o.createElement)(qg,{enableColor:!1,enableOtherControl:!0,name:Ye,onChangeName:e=>xa({name:e}),listType:Je,onChangeListStyle:e=>xa({listType:e}),orderListStyle:Ke,onChangeOrderListStyle:e=>xa({orderListStyle:e}),color:Ze,onchangeColor:e=>xa({color:e})}))),Object(o.createElement)(LT,{title:OT("Button","blockspare"),initialOpen:!1,className:"blocksapre-button-settings",icon:s.a.button},Object(o.createElement)(RT,{label:OT("Enable button","blockspare"),checked:qt,onChange:()=>this.props.setAttributes({enableButton:!qt})}),qt&&Object(o.createElement)(RT,{label:OT("Enable Icon","magic-content-box"),checked:At,onChange:()=>this.props.setAttributes({enableButtonIcon:!At})}),qt&&Object(o.createElement)("div",null,Object(o.createElement)(Tl,{enableButtonBackgroundColor:!1,enableButtonTarget:!0,buttonTarget:ft,onChangeButtonTarget:e=>xa({buttonTarget:!ft}),enableGradient:Ct,onChangeGradient:e=>xa({enableGradient:e}),enableButtonSize:!0,buttonSize:gt,onChangeButtonSize:e=>xa({buttonSize:e}),enableButtonShape:!0,buttonShape:mt,onChangeButtonShape:e=>xa({buttonShape:e}),buttonBackgroundColor:ut,onChangeButtonColor:e=>xa({buttonBackgroundColor:e}),buttonTextColor:dt,onChangeButtonTextColor:e=>xa({buttonTextColor:e}),enableButtonStyle:!0,buttonStyle:ct,onChangeBorderStyle:e=>xa({buttonStyle:e}),enablehover:!0,buttonHoverEffect:Ft,onchangeButtonHoverEffect:e=>xa({buttonHoverEffect:e}),borderColor:pt,onchangeBorderColor:e=>xa({borderColor:e}),borderBtnTextColor:bt,onChangeBorderBtnTextColor:e=>xa({borderBtnTextColor:e}),enableBtnBorderWidth:!0,btnBorderWidth:jt,onchangebtnBorderWidth:e=>xa({btnBorderWidth:e}),enableBtnFontWeight:!0,btnFontWeight:Tt,onchangeBtnFontWeight:e=>xa({btnFontWeight:e}),enableButtonIcon:At,name:It,onChangeName:e=>xa({buttonIcon:e}),enableIconPosotion:!0,buttonIconPosition:_t,onChangebuttonIconPosition:e=>xa({buttonIconPosition:e})}),"none"===ct&&Object(o.createElement)(RT,{label:OT("Enable Gradient","blockspare"),checked:Ct,onChange:()=>this.props.setAttributes({enableGradient:!Ct})}),Ct&&"none"===ct&&Object(o.createElement)(LT,{title:OT("Gradient Option","blockspare"),initialOpen:!0},Object(o.createElement)(Ll,{backgroundColor1:Ot,onChangeBackgroundColor1:e=>xa({backgroundColor1:e}),backgroundColor2:Et,onChangeBackgroundColor2:e=>xa({backgroundColor2:e}),gradientAngle:xt,onChangeGradientAngle:e=>xa({gradientAngle:e}),colorLocation1:wt,onChangeColorLocation1:e=>xa({colorLocation1:e}),colorLocation2:St,onChangeColorLocation2:e=>xa({colorLocation2:e})})))),Object(o.createElement)(LT,{title:OT("Badge Settings","blockspare"),initialOpen:!1,className:"blocksapre-badge-settings"},Object(o.createElement)(RT,{label:OT("Enable badge","blockspare"),checked:i,onChange:()=>this.props.setAttributes({enableBadge:!i})}),i&&Object(o.createElement)(zT,{label:OT(" Badge Style","blockspare"),value:p,options:wa.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>xa({badgeStyle:e})}),i&&"badge-text"===b&&Object(o.createElement)(DT,{label:OT("Badge Text","blockspare"),type:"text",value:c,onChange:e=>this.props.setAttributes({badgeText:e})}),i&&"badge-image"===b&&Object(o.createElement)(TT,{buttonProps:{className:"change-image"},onSelect:e=>xa({imgID1:e.id,imgURL1:e.url,imgAlt1:e.alt}),allowed:yT,type:"image",value:u,render:e=>{let{open:t}=e;return Object(o.createElement)(xT,null,Object(o.createElement)("div",{className:"img-main-wrap"},Object(o.createElement)(BT,{onClick:t},u?Object(o.createElement)("div",{className:y()("is-style-square")},Object(o.createElement)("img",{className:y()("wp-image-"+u),src:d,alt:g,width:"100px",height:"100px"})):s.a.upload),d&&!!d.length&&Object(o.createElement)(BT,{className:"blockspare-remove-image",onClick:()=>{xa({imgID1:null,imgURL1:null,imgAlt1:null})}},Object(o.createElement)(MT,{icon:"dismiss"}))))}}),i&&u&&"badge-image"===b&&Object(o.createElement)(PT,{label:OT("Image Size","blockspare"),value:h,onChange:e=>this.props.setAttributes({badgeImgSize:e}),min:50,max:150,step:10})),Object(o.createElement)(LT,{title:OT("Typography Settings","blockspare"),initialOpen:!1,className:"blocksapre-typograhy-settings"},i&&"badge-text"===b&&c&&Object(o.createElement)(LT,{title:OT("Badge","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:OT("Badge Fonts Settings"),attributes:Ea,setAttributes:xa,loadGoogleFonts:{value:L,label:OT("badgeLoadGoogleFonts")},fontFamily:{value:S,label:OT("badgeFontFamily")},fontWeight:{value:T,label:OT("badgeFontWeight")},fontSubset:{value:j,label:OT("badgeFontSubset")},fontSizeType:{value:F,label:OT("badgeFontSizeType")},fontSize:{value:w,label:OT("badgeFontSize")},fontSizeMobile:{value:M,label:OT("badgeFontSizeMobile")},fontSizeTablet:{value:B,label:OT("badgeFontSizeTablet")},disableLineHeight:!0})),Wt&&Object(o.createElement)(LT,{title:OT("Title/subtitle","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:OT("Title Fonts Settings"),attributes:Ea,setAttributes:xa,loadGoogleFonts:{value:R,label:OT("titleLoadGoogleFonts")},fontFamily:{value:A,label:OT("titleFontFamily")},fontWeight:{value:I,label:OT("titleFontWeight")},fontSubset:{value:H,label:OT("titleFontSubset")},fontSizeType:{value:G,label:OT("titleFontSizeType")},fontSize:{value:D,label:OT("titleFontSize")},fontSizeMobile:{value:W,label:OT("titleFontSizeMobile")},fontSizeTablet:{value:U,label:OT("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:z}),Object(o.createElement)(Oo,{label:OT("Subtitle Fonts Settings"),attributes:Ea,setAttributes:xa,loadGoogleFonts:{value:V,label:OT("subTitleLoadGoogleFonts")},fontFamily:{value:$,label:OT("subTitleFontFamily")},fontWeight:{value:X,label:OT("subTitleFontWeight")},fontSubset:{value:Y,label:OT("subTitleFontSubset")},fontSizeType:{value:J,label:OT("subTitleFontSizeType")},fontSize:{value:q,label:OT("subTitleFontSize")},fontSizeMobile:{value:K,label:OT("subTitleFontSizeMobile")},fontSizeTablet:{value:Z,label:OT("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),Gt&&Object(o.createElement)(LT,{title:OT("Pricing","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:OT("Price Fonts Settings"),attributes:Ea,setAttributes:xa,loadGoogleFonts:{value:Te,label:OT("priceUnitLoadGoogleFonts")},fontFamily:{value:je,label:OT("priceUnitFontFamily")},fontWeight:{value:Fe,label:OT("priceUnitFontWeight")},fontSubset:{value:Me,label:OT("priceUnitFontSubset")},fontSizeType:{value:Be,label:OT("priceUnitFontSizeType")},fontSize:{value:Se,label:OT("priceUnitFontSize")},fontSizeMobile:{value:Le,label:OT("priceUnitFontSizeMobile")},fontSizeTablet:{value:ze,label:OT("priceUnitFontSizeTablet")},disableLineHeight:!0})),Ut&&Object(o.createElement)(LT,{title:OT("Description","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:OT("Description Fonts Settings"),attributes:Ea,setAttributes:xa,loadGoogleFonts:{value:lt,label:OT("descriptionLoadGoogleFonts")},fontFamily:{value:et,label:OT("descriptionFontFamily")},fontWeight:{value:tt,label:OT("descriptionFontWeight")},fontSubset:{value:at,label:OT("descriptionFontSubset")},fontSizeType:{value:ot,label:OT("descriptionFontSizeType")},fontSize:{value:Qe,label:OT("descriptionFontSize")},fontSizeMobile:{value:nt,label:OT("descriptionFontSizeMobile")},fontSizeTablet:{value:rt,label:OT("descriptionFontSizeTablet")},disableLineHeight:!0})),qt&&Object(o.createElement)(LT,{title:OT("Button","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:OT("Button Fonts Settings"),attributes:Ea,setAttributes:xa,loadGoogleFonts:{value:Rt,label:OT("buttonLoadGoogleFonts")},fontFamily:{value:Bt,label:OT("buttonFontFamily")},fontWeight:{value:Lt,label:OT("buttonFontWeight")},fontSubset:{value:zt,label:OT("buttonFontSubset")},fontSizeType:{value:Nt,label:OT("buttonFontSizeType")},fontSize:{value:Mt,label:OT("buttonFontSize")},fontSizeMobile:{value:Pt,label:OT("buttonFontSizeMobile")},fontSizeTablet:{value:Dt,label:OT("buttonFontSizeTablet")},disableLineHeight:!0}))),Object(o.createElement)(LT,{title:OT("Color Settings","blockspare"),initialOpen:!1,className:"blocksapre-color-settings"},Object(o.createElement)(LT,{title:OT("Block Color","blockspare"),initialOpen:!1},0<e&&Object(o.createElement)(jT,{title:OT("Border Color","blockspare"),initialOpen:!1,colorSettings:[{value:t,onChange:e=>xa({itemborderColor:e}),label:OT("Border Color","blockspare")}]}),Object(o.createElement)(RT,{label:OT("Enable Box Shadow","blockspare"),checked:k,onChange:()=>this.props.setAttributes({enableBoxShadow:!k})}),k&&Object(o.createElement)(ji,{shadowColor:x,onChangeShadowColor:e=>xa({shadowColor:e}),xOffset:v,onChangeXOffset:e=>xa({xOffset:e}),yOffset:C,onChangeYOffset:e=>xa({yOffset:e}),blur:O,onChangeBlur:e=>xa({blur:e}),spread:E,onChangeSpread:e=>xa({spread:e})})),Object(o.createElement)(jT,{title:OT("Item Color","blockspare"),initialOpen:!1,colorSettings:[{value:ea,onChange:e=>xa({primaryColor:e}),label:OT("Primary Color","blockspare")},{value:ta,onChange:e=>xa({secondaryColor:e}),label:OT("Secondary Color","blockspare")},{value:aa,onChange:e=>xa({tertianeryColor:e}),label:OT("Tertianery Color","blockspare")}]}),Vt&&Object(o.createElement)(LT,{title:OT("Icon Color","blockspare"),initialOpen:!1},Object(o.createElement)(ib,{enablecontent:!1,enableColor:!0,name:Q,onChangeName:e=>xa({iconName:e}),enableiconSize:!0,iconSize:ee,onChangeIconSizeOptions:e=>xa({iconSize:e}),enableiconStyles:!0,iconStyles:te,onChangeIconStyles:e=>xa({iconStyles:e}),iconBackgroundColor:ae,onChangeIconBackgroundColor:e=>xa({iconBackgroundColor:e}),iconBorderColor:oe,onChangeIconBorderColor:e=>xa({iconBorderColor:e}),iconColor:ne,OnChangeIconColor:e=>xa({iconColor:e}),borderRadius:re,onChangeBorderRadius:e=>xa({iconBorderRadius:e}),backgroundOpacity:ue,onChangeBackgroundOpacity:e=>xa({backgroundOpacity:e})})),Wt&&Object(o.createElement)(LT,{title:OT("Title/subtitle Color","blockspare"),initialOpen:!1},Object(o.createElement)(Ci,{headerboxColor:sa,onChangeboxcolor:e=>xa({headerboxColor:e}),headertitleColor:oa,onChangetitlecolor:e=>xa({headertitleColor:e}),headertitleColorDark:na,onChangetitlecolordark:e=>xa({headertitleColorDark:e}),dashColor:la,dashColor2:ia,headerlayoutOption:N,onChangeDashColor:e=>xa({dashColor:e}),onChangeDashColor2:e=>xa({dashColor2:e}),headersubtitleColor:ra,onChangesubtitlecolor:e=>xa({headersubtitleColor:e})})),Gt&&Object(o.createElement)(LT,{title:OT("Pricing Color","blockspare"),initialOpen:!1},Object(o.createElement)(jT,{title:OT("Color","blockspare"),initialOpen:!1,colorSettings:[{value:Pe,onChange:e=>xa({priceColor:e}),label:OT("Text Color","blockspare")}]})),Ut&&Object(o.createElement)(LT,{title:OT("Description Color","blockspare"),initialOpen:!1},"blockspare-list-border-none"!=Re&&Object(o.createElement)(_T,null,Object(o.createElement)(AT,{label:OT("List Border Color","blockspare")},Object(o.createElement)(FT,{initialOpen:!1,value:Ae,onChange:e=>xa({descriptionborderColor:e})}))),Object(o.createElement)(qg,{enableColor:!0,enableOtherControl:!1,name:Ye,onChangeName:e=>xa({name:e}),listType:Je,onChangeListStyle:e=>xa({listType:e}),orderListStyle:Ke,onChangeOrderListStyle:e=>xa({orderListStyle:e}),color:Ze,onchangeColor:e=>xa({color:e}),enablebgcolor:!1,backgroundColor:Ie,onChangeBackgroundColor:e=>xa({descriptionBacgroundColor:e}),descriptionIconColor:it,onchangeDescriptionIconColor:e=>xa({descriptionIconColor:e})})),qt&&Object(o.createElement)(LT,{title:OT("Button Color","blockspare"),initialOpen:!1},Object(o.createElement)(Tl,{enableButtonBackgroundColor:!0,enableButtonTarget:!1,buttonTarget:ft,onChangeButtonTarget:e=>xa({buttonTarget:!ft}),enableGradient:Ct,onChangeGradient:e=>xa({enableGradient:e}),enableButtonSize:!1,buttonSize:gt,onChangeButtonSize:e=>xa({buttonSize:e}),enableButtonShape:!1,buttonShape:mt,onChangeButtonShape:e=>xa({buttonShape:e}),buttonBackgroundColor:ut,onChangeButtonColor:e=>xa({buttonBackgroundColor:e}),buttonTextColor:dt,onChangeButtonTextColor:e=>xa({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:ct,onChangeBorderStyle:e=>xa({buttonStyle:e}),enablehover:!1,buttonHoverEffect:Ft,onchangeButtonHoverEffect:e=>xa({buttonHoverEffect:e}),borderColor:pt,onchangeBorderColor:e=>xa({borderColor:e}),borderBtnTextColor:bt,onChangeBorderBtnTextColor:e=>xa({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:jt,onchangebtnBorderWidth:e=>xa({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:Tt,onchangeBtnFontWeight:e=>xa({btnFontWeight:e}),enableIconcolor:!0,iconColor:Ht,onChangeIconColor:e=>xa({buttonIconColor:e})}),Ct&&"none"===ct&&Object(o.createElement)(Ll,{backgroundColor1:Ot,onChangeBackgroundColor1:e=>xa({backgroundColor1:e}),backgroundColor2:Et,onChangeBackgroundColor2:e=>xa({backgroundColor2:e}),gradientAngle:xt,onChangeGradientAngle:e=>xa({gradientAngle:e}),colorLocation1:wt,onChangeColorLocation1:e=>xa({colorLocation1:e}),colorLocation2:St,onChangeColorLocation2:e=>xa({colorLocation2:e})})),i&&"badge-text"===b&&Object(o.createElement)(jT,{title:OT("Badge Color","blockspare"),initialOpen:!1,colorSettings:[{value:m,onChange:e=>xa({badgeTextColor:e}),label:OT("Text Color","blockspare")},{value:f,onChange:e=>xa({badgeBackGroundColor:e}),label:OT("BackGround Color","blockspare")}]})),Object(o.createElement)(LT,{title:"Alignment",initialOpen:!1,className:"blocksapre-alignment-settings"},$t&&Object(o.createElement)(LT,{title:"Image"},Object(o.createElement)(IT,{controls:[{icon:"align-left",title:OT("Left","blockspare"),onClick:()=>xa({imageAlignPosition:"left"}),isActive:"left"===Zt},{icon:"align-center",title:OT("Center","blockspare"),onClick:()=>xa({imageAlignPosition:"center"}),isActive:"center"===Zt},{icon:"align-right",title:OT("Right","blockspare"),onClick:()=>xa({imageAlignPosition:"right"}),isActive:"right"===Zt}]})),Vt&&Object(o.createElement)(LT,{title:"Icon"},Object(o.createElement)(IT,{controls:[{icon:"align-left",title:OT("Left","blockspare"),onClick:()=>xa({iconAlignPosition:"left"}),isActive:"left"===be},{icon:"align-center",title:OT("Center","blockspare"),onClick:()=>xa({iconAlignPosition:"center"}),isActive:"center"===be},{icon:"align-right",title:OT("Right","blockspare"),onClick:()=>xa({iconAlignPosition:"right"}),isActive:"right"===be}]})),Wt&&Object(o.createElement)(LT,{title:"Title"},Object(o.createElement)(IT,{controls:[{icon:"align-left",title:OT("Left","blockspare"),onClick:()=>xa({headerAlignPosition:"left"}),isActive:"left"===P},{icon:"align-center",title:OT("Center","blockspare"),onClick:()=>xa({headerAlignPosition:"center"}),isActive:"center"===P},{icon:"align-right",title:OT("Right","blockspare"),onClick:()=>xa({headerAlignPosition:"right"}),isActive:"right"===P}]})),Gt&&Object(o.createElement)(LT,{title:"Price"},Object(o.createElement)(IT,{controls:[{icon:"align-left",title:OT("Left","blockspare"),onClick:()=>xa({priceAlignPosition:"left"}),isActive:"left"===de},{icon:"align-center",title:OT("Center","blockspare"),onClick:()=>xa({priceAlignPosition:"center"}),isActive:"center"===de},{icon:"align-right",title:OT("Right","blockspare"),onClick:()=>xa({priceAlignPosition:"right"}),isActive:"right"===de}]})),Ut&&Object(o.createElement)(LT,{title:"Description"},Object(o.createElement)(IT,{controls:[{icon:"align-left",title:OT("Left","blockspare"),onClick:()=>xa({descriptionAlignPosition:"left"}),isActive:"left"===De},{icon:"align-center",title:OT("Center","blockspare"),onClick:()=>xa({descriptionAlignPosition:"center"}),isActive:"center"===De},{icon:"align-right",title:OT("Right","blockspare"),onClick:()=>xa({descriptionAlignPosition:"right"}),isActive:"right"===De}]})),qt&&Object(o.createElement)(LT,{title:"Button"},Object(o.createElement)(IT,{controls:[{icon:"align-left",title:OT("Left","blockspare"),onClick:()=>xa({buttonAlignPosition:"left"}),isActive:"left"===st},{icon:"align-center",title:OT("Center","blockspare"),onClick:()=>xa({buttonAlignPosition:"center"}),isActive:"center"===st},{icon:"align-right",title:OT("Right","blockspare"),onClick:()=>xa({buttonAlignPosition:"right"}),isActive:"right"===st}]}))),Object(o.createElement)(LT,{title:OT("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),$t&&Object(o.createElement)(Cu,this.props)),Object(o.createElement)(LT,{title:OT("Gaps Settings","blockspare"),initialOpen:!1,className:"blocksapre-gaps-settings"},Object(o.createElement)(LT,{title:OT("Block","blockspare"),initialOpen:!1},Object(o.createElement)(PT,{label:OT("Pricing Column Padding","blockspare"),value:r,onChange:e=>this.props.setAttributes({itempadding:e}),min:0,max:20,step:1})),Vt&&("bpl-1"==Qt||"bpl-2"==Qt||"bpl-3"==Qt||"bpl-4"==Qt||"bpl-5"==Qt||"bpl-6"==Qt||"bpl-19"==Qt||"bpl-20"==Qt||"bpl-21"==Qt||"bpl-22"==Qt||"bpl-23"==Qt||"bpl-24"==Qt)&&Object(o.createElement)(LT,{title:OT("Icon Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:le,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>xa({iconmarginTop:e}),marginEnableBottom:!0,marginBottom:ie,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>xa({iconmarginBottom:e}),marginEnableLeft:!0,marginLeft:se,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>xa({iconmarginLeft:e}),marginEnableRight:!0,marginRight:pe,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>xa({iconmarginRight:e})})),$t&&("bpl-1"==Qt||"bpl-2"==Qt||"bpl-3"==Qt||"bpl-4"==Qt||"bpl-5"==Qt||"bpl-6"==Qt||"bpl-19"==Qt||"bpl-20"==Qt||"bpl-21"==Qt||"bpl-22"==Qt||"bpl-23"==Qt||"bpl-24"==Qt)&&Object(o.createElement)(LT,{title:OT("Image Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:Xt,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>xa({imgPaddingTop:e}),paddingEnableBottom:!0,paddingBottom:Yt,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>xa({imgPaddingBottom:e}),paddingEnableLeft:!0,paddingLeft:Jt,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>xa({imgPaddingLeft:e}),paddingEnableRight:!0,paddingRight:Kt,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>xa({imgPaddingRight:e})})),Wt&&Object(o.createElement)(fi,{panelTitle:OT("Title/Subtitle Gaps","lockspare"),titlePaddingTop:ca,onChangetitlePaddingTop:e=>xa({titlePaddingTop:e}),titlePaddingRight:pa,onChangetitlePaddingRight:e=>xa({titlePaddingRight:e}),titlePaddingBottom:ba,onChangetitlePaddingBottom:e=>xa({titlePaddingBottom:e}),titlePaddingLeft:ua,onChangetitlePaddingLeft:e=>xa({titlePaddingLeft:e}),headersubtitleColor:ra,onChangesubtitlecolor:e=>xa({headersubtitleColor:e}),subtitlePaddingTop:da,onChangesubtitlePaddingTop:e=>xa({subtitlePaddingTop:e}),subtitlePaddingRight:ga,onChangesubtitlePaddingRight:e=>xa({subtitlePaddingRight:e}),subtitlePaddingBottom:ma,onChangesubtitlePaddingBottom:e=>xa({subtitlePaddingBottom:e}),subtitlePaddingLeft:fa,onChangesubtitlePaddingLeft:e=>xa({subtitlePaddingLeft:e}),headermarginTop:ha,onChangeheadermarginTop:e=>xa({headermarginTop:e}),headermarginRight:ka,onChangeheadermarginRight:e=>xa({headermarginRight:e}),headermarginBottom:ya,onChangeheadermarginBottom:e=>xa({headermarginBottom:e}),headermarginLeft:va,onChangeheadermarginLeft:e=>xa({headermarginLeft:e})}),Gt&&Object(o.createElement)(LT,{title:OT("Price Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:ke,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>xa({pricePaddingTop:e}),paddingEnableRight:!0,paddingRight:ye,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>xa({pricePaddingRight:e}),paddingEnableBottom:!0,paddingBottom:Ce,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>xa({pricePaddingBottom:e}),paddingEnableLeft:!0,paddingLeft:ve,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>xa({pricePaddingLeft:e})}),Object(o.createElement)(So,{marginEnableTop:!0,marginTop:Oe,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>xa({priceMarginTop:e}),marginEnableBottom:!0,marginBottom:Ee,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>xa({priceMarginBottom:e}),marginEnableLeft:!0,marginLeft:xe,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>xa({priceMarginLeft:e}),marginEnableRight:!0,marginRight:we,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>xa({priceMarginRight:e})})),Ut&&Object(o.createElement)(LT,{title:OT("Description Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:He,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>xa({descriptionpaddingTop:e}),paddingEnableRight:!0,paddingRight:Ge,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>xa({descriptionpaddingRight:e}),paddingEnableBottom:!0,paddingBottom:We,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>xa({descriptionpaddingBottom:e}),paddingEnableLeft:!0,paddingLeft:Ue,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>xa({descriptionpaddingLeft:e})}),Object(o.createElement)(So,{marginEnableTop:!0,marginTop:qe,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>xa({descriptionMarginTop:e}),marginEnableBottom:!0,marginBottom:Ve,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>xa({descriptionMarginBottom:e}),marginEnableLeft:!0,marginLeft:$e,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>xa({descriptionMarginLeft:e}),marginEnableRight:!0,marginRight:Xe,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>xa({descriptionMarginRight:e})})),qt&&Object(o.createElement)(LT,{title:OT("Button Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:ht,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>xa({buttonPaddingTop:e}),paddingEnableBottom:!0,paddingBottom:kt,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>xa({buttonPaddingBottom:e}),paddingEnableLeft:!0,paddingLeft:yt,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>xa({buttonPaddingLeft:e}),paddingEnableRight:!0,paddingRight:vt,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>xa({buttonPaddingRight:e})})))))}}var GT=e=>{const{itemborderWidth:t,itemborderColor:a,itemborderRadius:o,itembackgroundColor:n,itempadding:r,badgeBackGroundColor:l,badgeImgSize:i,badgeTextColor:s,badgeFontSize:c,badgeFontFamily:p,badgeFontWeight:b,badgeFontSubset:u,badgeFontSizeType:d,badgeFontSizeMobile:g,badgeFontSizeTablet:m,badgeOption:f,enableBadge:h,badgeText:k,badgeStyle:y,pricingLayout:v,primaryColor:C,secondaryColor:O,tertianeryColor:E}=e.attributes,x=[];return x.push({".blockspare-block-pricing-table-inside":{...As(e.attributes),borderWidth:t?t+"px":null,borderStyle:0<t?"solid":null,borderColor:a||"#fff",borderRadius:o?o+"px":null,backgroundColor:n||null,padding:r+"px"},".blockspare-badge span":{color:s||"#fff",backgroundColor:l},".blockspare-badge-image":{width:i+"px"}}),h&&"badge-text"===f&&k&&x.push({".blockspare-badge span":{fontSize:c+d,...Ro(p),...Ao(b)},tablet:{".blockspare-badge span":{fontSize:m+d}},mobile:{".blockspare-badge span":{fontSize:g+d}}}),"bpl-1"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:O||"#F3F3F3"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:E||"#FFFFFF"}})),"bpl-2"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:O||"#F3F3F3"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:E||"#FFFFFF"}})),"bpl-3"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:O||"#F3F3F3"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:E||"#FFFFFF"}})),"bpl-4"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:O||"#F3F3F3"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:E}})),"bpl-5"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:O||"#F3F3F3"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:E||"#FFFFFF"}})),"bpl-6"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:O||"#F3F3F3"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:E||"#FFFFFF"}})),"bpl-7"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:E||"#FFFFFF"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}})),"bpl-8"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:E||"#FFFFFF"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}})),"bpl-9"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:E||"#FFFFFF"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:E||"#FFFFFF"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:O||"#F3F3F3"}})),"bpl-10"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:E||"#FFFFFF"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}})),"bpl-11"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:E||"#FFFFFF"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}})),"bpl-12"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:O||"#F3F3F3"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}})),"bpl-13"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:E||"#FFFFFF"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}})),"bpl-14"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:E||"#FFFFFF"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}})),"bpl-15"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:O||"#F3F3F3"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}})),"bpl-16"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:E||"#FFFFFF"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}})),"bpl-17"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:E||"#FFFFFF"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}})),"bpl-18"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:O||"#F3F3F3"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}})),"bpl-19"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:E||"#FFFFFF"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}})),"bpl-20"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:O||"#F3F3F3"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}})),"bpl-21"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:O||"#F3F3F3"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}})),"bpl-22"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:E||"#FFFFFF"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}})),"bpl-23"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:O||"#F3F3F3"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}})),"bpl-24"===v&&(x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:before":{backgroundColor:C||"#3C1A5B"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-1:after":{backgroundColor:E||"#FFFFFF"},".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-2:before":{backgroundColor:E||"#FFFFFF"}}),x.push({".blockspare-block-pricing-table-inside .blockspare-pricing-wrap-3:before":{backgroundColor:O||"#F3F3F3"}})),Do.a.all(x)},WT=e=>{const{sectionAlignment:t,iconStyles:a,iconBackgroundColor:o,iconBorderColor:n,iconColor:r,iconBorderRadius:l,iconmarginTop:i,iconmarginBottom:s,iconmarginLeft:c,iconmarginRight:p,iconAlignPosition:b,backgroundOpacity:u}=e.attributes,d=[];return d.push({".blockspare-block-icon-wrapper":{textAlign:b,marginTop:i+"px",marginBottom:s+"px",marginLeft:c+"px",marginRight:p+"px"}}),"blockspare-icon-style2"===a?d.push({".blockspare-block-icon-wrapper .blockspare-block-icon":{color:r||"#fff",borderRadius:l+"%"},".blockspare-block-icon-wrapper .blockspare-block-icon::after":{backgroundColor:o||"#8b249c",opacity:u}}):"blockspare-icon-style3"===a?d.push({".blockspare-block-icon-wrapper .blockspare-block-icon":{borderColor:n||"#8b249c",color:r||"#fff",borderRadius:l+"%"}}):d.push({".blockspare-block-icon":{color:r||"#fff"}}),Do.a.all(d)};const{Component:UT,Fragment:qT}=wp.element,{__:VT}=wp.i18n,{compose:$T}=wp.compose,{AlignmentToolbar:XT,BlockControls:YT}=wp.blockEditor;var JT=$T(W,I(WT,{editorMode:!0}))(class extends UT{constructor(){super(...arguments),this.state={device:"md",spacer:!0}}componentDidMount(){const{setAttributes:e,clientId:t,attributes:{uniqueId:a}}=this.props,o=t.substr(0,6);a?a&&a!=o&&e({uniqueId:o}):e({uniqueId:o})}render(){const{attributes:{iconName:e,iconSize:t,iconStyles:a,sectionAlignment:n},className:r,attributes:l,setAttributes:i}=this.props,s=y()([r,"blockspare-blocks blockpare-priceicon"]);return Object(o.createElement)(qT,null,Object(o.createElement)("div",{className:s},this.props.styles,Object(o.createElement)("div",{className:"blockspare-block-icon-wrapper"},Object(o.createElement)("div",{className:y()("blockspare-block-icon",t,a)},Object(o.createElement)("i",{className:e})))))}}),KT=e=>{const{headerAlignPosition:t,headertitleColor:a,headertitleColorDark:o,titleFontSize:n,headersubtitleColor:r,dashColor:l,dashColor2:i,titleFontFamily:s,titleFontWeight:c,titleFontSizeType:p,titleFontSizeMobile:b,titleFontSizeTablet:u,subTitleFontSize:d,subTitleFontFamily:g,subTitleFontWeight:m,subTitleFontSizeType:f,subTitleFontSizeMobile:h,subTitleFontSizeTablet:k,titlePaddingTop:y,titlePaddingRight:v,titlePaddingBottom:C,titlePaddingLeft:O,subtitlePaddingTop:E,subtitlePaddingRight:x,subtitlePaddingBottom:w,subtitlePaddingLeft:S,headermarginTop:T,headermarginRight:j,headermarginBottom:F,headermarginLeft:M,headerboxColor:B,headerlayoutOption:L}=e.attributes,z=[];return z.push({".blockspare-section-head-wrap":{backgroundColor:B||"transparent",textAlign:t,marginTop:T+"px",marginRight:j+"px",marginBottom:F+"px",marginLeft:M+"px"}}),"blockspare-style9"===L||"blockspare-style17"===L||"blockspare-style18"===L?z.push({".blockspare-section-head-wrap .blockspare-title":{color:o},".blockspare-section-head-wrap .blockspare-title-wrapper":{paddingTop:y+"px ",paddingRight:v+"px ",paddingBottom:C+"px",paddingLeft:O+"px"}}):z.push({".blockspare-section-head-wrap .blockspare-title":{color:a,paddingTop:y+"px ",paddingRight:v+"px ",paddingBottom:C+"px",paddingLeft:O+"px"}}),z.push({...Hs(e)}),z.push({".blockspare-section-head-wrap .blockspare-title":{fontSize:n+p,...Ro(s),...Ao(c)},".blockspare-section-head-wrap .blockspare-subtitle":{color:r,fontSize:d+f,...Ro(g),...Ao(m),paddingTop:E+"px",paddingRight:x+"px",paddingBottom:w+"px",paddingLeft:S+"px"},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:u+p},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:k+f}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+p},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:h+f}}}),Do.a.all(z)};const{Component:ZT,Fragment:QT}=wp.element,{__:ej}=wp.i18n,{compose:tj}=wp.compose,{RichText:aj,AlignmentToolbar:oj,BlockControls:nj}=wp.blockEditor;var rj=tj(W,I(KT))(class extends ZT{constructor(){super(...arguments)}render(){const{attributes:{align:e,headerAlignPosition:t,headerTagOption:a,headerTitle:n,headerSubTitle:r,headerlayoutOption:l,titleLoadGoogleFonts:i,titleFontFamily:s,titleFontWeight:c,subTitleLoadGoogleFonts:p,subTitleFontFamily:b,subTitleFontWeight:u},className:d,attributes:g,setAttributes:m}=this.props,f=y()([d,"blockspare-section-header-wrapper blockspare-blocks"]);return[Object(o.createElement)(QT,null,Object(o.createElement)("div",{className:f},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",l,"blockspare-"+t)},Object(o.createElement)(Rs,{setAttributes:m,headerTitle:n,headerTagOption:a,headerSubTitle:r,titleFontFamily:s,titleFontWeight:c,titleLoadGoogleFonts:i,subTitleLoadGoogleFonts:p,subTitleFontFamily:b,subTitleFontWeight:u,headerlayoutOption:l}))))]}}),lj=e=>{const{priceAlignPosition:t,priceColor:a,pricePaddingTop:o,pricePaddingRight:n,pricePaddingBottom:r,pricePaddingLeft:l,priceMarginTop:i,priceMarginBottom:s,priceMarginLeft:c,priceMarginRight:p,priceUnitFontSize:b,priceUnitFontFamily:u,priceUnitFontWeight:d,priceUnitFontSizeType:g,priceUnitFontSizeMobile:m,priceUnitFontSizeTablet:f}=e.attributes;var h=b,k=Math.floor(h/2.5),y=Math.floor(h/2.5),v=f,C=Math.floor(v/2.5),O=Math.floor(C/2.5),E=m,x=Math.floor(E/1.5),w=Math.floor(x/1.5);const S=[];return S.push({".blockspare-pricing-table-price-wrap":{textAlign:t,paddingTop:o?o+"px":void 0,paddingRight:n?n+"px":void 0,paddingBottom:r?r+"px":void 0,paddingLeft:l?l+"px":void 0,marginTop:i+"px",marginBottom:s+"px",marginLeft:c+"px",marginRight:p+"px"},".blockspare-pricing-table-price":{color:a,fontSize:b+g,...Ro(u),...Ao(d)},".blockspare-pricing-table-currency":{color:a,fontSize:k+"px",...Ro(u),...Ao(d)},".blockspare-pricing-table-term":{color:a,fontSize:y+"px",...Ro(u),...Ao(d)},tablet:{".blockspare-pricing-table-price":{fontSize:f+g},".blockspare-pricing-table-currency":{fontSize:C+g},".blockspare-pricing-table-term":{fontSize:O+g}},mobile:{".blockspare-pricing-table-price":{fontSize:m+g},".blockspare-pricing-table-currency":{fontSize:x+g},".blockspare-pricing-table-term":{fontSize:w+g}}}),Do.a.all(S)};const{__:ij}=wp.i18n,{registerBlockType:sj}=wp.blocks,{compose:cj}=wp.compose,{Component:pj,Fragment:bj}=wp.element,{RichText:uj,withFontSizes:dj,withColors:gj,AlignmentToolbar:mj,BlockControls:fj}=wp.blockEditor;var hj=cj([W,I(lj)])(class extends pj{constructor(){super(...arguments)}render(){const{attributes:{sectionAlignment:e,price:t,currency:a,term:n,showTerm:r,showCurrency:l,paddingTop:i,paddingRight:s,paddingBottom:c,paddingLeft:p,priceUnitLoadGoogleFonts:b,priceUnitFontFamily:u,priceUnitFontWeight:d},isSelected:g,className:m,setAttributes:f,fallbackFontSize:h,fontSize:k,backgroundColor:v,textColor:C}=this.props;let O;if(1==b){const e={google:{families:[u+(d?":"+d:"")]}};O=Object(o.createElement)(Uo,{config:e})}const E=y()({"blockspare-pricing-table-price-wrap":!0,"blockspare-pricing-has-currency":l}),x=y()({"blockspare-pricing-table-price":!0}),w=y()([m,"blockpare-priceunit"]);return[Object(o.createElement)(bj,null,Object(o.createElement)("div",{className:w},this.props.styles,Object(o.createElement)("div",{className:E||void 0},Object(o.createElement)("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},l&&Object(o.createElement)(uj,{tagName:"span",itemProp:"priceCurrency",placeholder:ij("$","blockspare"),keepPlaceholderOnFocus:!0,value:a,className:"blockspare-pricing-table-currency"}),Object(o.createElement)(uj,{tagName:"div",itemProp:"price",placeholder:ij("49","blockspare"),keepPlaceholderOnFocus:!0,value:t,onChange:e=>f({price:e}),className:x||void 0,className:"blockspare-pricing-table-price"}),r&&Object(o.createElement)(uj,{tagName:"span",value:n,placeholder:ij("/mo","blockspare"),keepPlaceholderOnFocus:!0,onChange:e=>f({term:e}),className:"blockspare-pricing-table-term"})))),O)]}}),kj=e=>{const{descriptionAlignPosition:t,descriptionborderColor:a,descriptionpaddingTop:o,descriptionpaddingRight:n,descriptionpaddingBottom:r,descriptionpaddingLeft:l,descriptionMarginTop:i,descriptionMarginBottom:s,descriptionMarginLeft:c,descriptionMarginRight:p,color:b,descriptionFontSize:u,descriptionFontFamily:d,descriptionFontWeight:g,descriptionFontSubset:m,descriptionFontSizeType:f,descriptionFontSizeMobile:h,descriptionFontSizeTablet:k,descriptionIconColor:y}=e.attributes,v=[];let C;return C=u>=16?u-6:u-4,v.push({".blockspare-list-wrap":{paddingTop:o?o+"px":void 0,paddingRight:n?n+"px":void 0,paddingBottom:r?r+"px":void 0,paddingLeft:l?l+"px":void 0,marginTop:i+"px",marginBottom:s+"px",marginLeft:c+"px",marginRight:p+"px"},".blockspare-pricing-table-features li":{borderColor:a||void 0,textAlign:t,color:b||"#000",fontSize:u+f,...Ro(d),...Ao(g)},".blockspare-pricing-table-features li:before":{fontSize:C+f,color:y},tablet:{".blockspare-pricing-table-features li":{fontSize:k+f}},mobile:{".blockspare-pricing-table-features li":{fontSize:h+f}}}),Do.a.all(v)};const{__:yj}=wp.i18n,{compose:vj}=wp.compose,{Component:Cj,Fragment:Oj}=wp.element,{RichText:Ej,InnerBlocks:xj}=wp.blockEditor,wj=["core/list-item"];var Sj=vj([W,I(kj)])(class extends Cj{constructor(){super(...arguments),E()(this,"getlistDefaultTemplate",()=>{const e=[];for(let t=0;t<3;t++){const t="Vestibulum ac diam sit amet";e.push(["core/list-item",{content:t}])}return e})}render(){const{attributes:{features:e,borderStyle:t,descriptionborderWidth:a,sectionAlignment:n,name:r,listType:l,descriptionborderStyle:i,color:s,descriptionLoadGoogleFonts:c,descriptionFontFamily:p,orderListStyle:b,descriptionFontWeight:u},isSelected:d,className:g,setAttributes:m,fallbackFontSize:f,fontSize:h,backgroundColor:k,textColor:v}=this.props;let C;if(1==c){const e={google:{families:[p+(u?":"+u:"")]}};C=Object(o.createElement)(Uo,{config:e})}let O="";O="ul"==l?r:"ol"==l?b:"";const E=y()([g,"blockspare-pirce-description"]),x="ol"==l?"ol":"ul",w=document.createElement("div");w.innerHTML=e;const S=Array.from(w.querySelectorAll("li")).map(e=>({type:"core/list-item",features:e.innerText.trim()})),T=Array.isArray(S)&&S?S.map(e=>["core/list-item",{content:e.features}]):[];return Object(o.createElement)(Oj,null,Object(o.createElement)("div",{className:E},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-blocks blockspare-list-wrap")},Object(o.createElement)(x,{className:y()("blockspare-pricing-table-features",i,"blockspare-list-border-width-"+a,O,"listDescription")},Object(o.createElement)(xj,{template:T,allowedBlocks:wj,templateLock:!1,templateInsertUpdatesSelection:!1,renderAppender:!1})))),C)}}),Tj=e=>{const{buttonAlignPosition:t,buttonPaddingTop:a,buttonPaddingRight:o,buttonPaddingBottom:n,buttonPaddingLeft:r,buttonStyle:l,enableGradient:i,backgroundColor1:s,backgroundColor2:c,gradientAngle:p,colorLocation1:b,colorLocation2:u,btnFontWeight:d,btnBorderWidth:g,borderColor:m,buttonBackgroundColor:f,borderBtnTextColor:h,buttonTextColor:k,buttonFontSize:y,buttonFontFamily:v,buttonFontWeight:C,buttonFontSizeType:O,buttonFontSizeMobile:E,buttonFontSizeTablet:x,enableButtonIcon:w,buttonIconColor:S}=e.attributes,T=[];if(T.push({".blockspare-block-button":{textAlign:t},".blockspare-pricing-table-button":{paddingTop:a?a+"px":"0px",paddingRight:o?o+"px":"0px",paddingBottom:n?n+"px":"0px",paddingLeft:r?r+"px":"0px"},"blocks-button__inline-link":{textAlign:t}}),"none"===l)if(1==i){const e=p+"deg",t=b+"%",a=u+"%";T.push({".blockspare-block-button span":{color:k||"#fff",borderWidth:g+"px"},".wp-block-blockspare-blockspare-pricing-inner-item .blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${s||"#3B1A5B"} ${t},${c||"#8B249C"} ${a})`},".wp-block-blockspare-blockspare-pricing-inner-item .blockspare-block-button .blockspare-button:visited":{backgroundImage:`linear-gradient(${e},${s||"#3B1A5B"} ${t},${c||"#8B249C"} ${a})`},".wp-block-blockspare-blockspare-pricing-inner-item .blockspare-block-button .blockspare-button:focus":{backgroundImage:`linear-gradient(${e},${s||"#3B1A5B"} ${t},${c||"#8B249C"} ${a})`}})}else T.push({".blockspare-block-button span":{color:k||"#fff",borderWidth:g+"px"},".wp-block-blockspare-blockspare-pricing-inner-item .blockspare-block-button .blockspare-button":{backgroundColor:f||"#3c1a5b"},".wp-block-blockspare-blockspare-pricing-inner-item .blockspare-block-button .blockspare-button:visited":{backgroundColor:f||"#3c1a5b"},".wp-block-blockspare-blockspare-pricing-inner-item .blockspare-block-button .blockspare-button:focus":{backgroundColor:f||"#3c1a5b"}});else T.push({".blockspare-block-button span":{color:h||"#404040"},".blockspare-block-button .blockspare-button":{borderColor:m||"#3c1a5b",borderStyle:l,borderWidth:g+"px",backgroundColor:"transparent"}});return w&&T.push({".blockspare-block-button i":{color:S||"#404040"}}),T.push({".blockspare-block-button span":{fontSize:y+O,...Ro(v),...Ao(C)},tablet:{".blockspare-block-button span":{fontSize:x+O}},mobile:{".blockspare-block-button span":{fontSize:E+O}}}),Do.a.all(T)};const{__:jj}=wp.i18n,{compose:Fj}=wp.compose,{Component:Mj,Fragment:Bj}=wp.element,{RichText:Lj,AlignmentToolbar:zj,BlockControls:Nj,URLInput:Pj}=wp.blockEditor,{IconButton:Dj,Dashicon:Rj}=wp.components;var Aj=Fj([W,I(Tj)])(class extends Mj{constructor(){super(...arguments)}render(){const{attributes:{buttonText:e,buttonUrl:t,sectionAlignment:a,buttonSize:n,buttonShape:r,buttonHoverEffect:l,buttonLoadGoogleFonts:i,buttonFontFamily:s,buttonFontWeight:c,enableButtonIcon:p,buttonIcon:b,buttonIconPosition:u},className:d,isSelected:g,attributes:m,setAttributes:f,backgroundColor:h}=this.props;let k;if(1==i){const e={google:{families:[s+(c?":"+c:"")]}};k=Object(o.createElement)(Uo,{config:e})}const v=y()({"blockspare-pricing-table-button":!0}),C=y()([d,"blockspare-block-button-wrap"]);return[Object(o.createElement)(Bj,null,Object(o.createElement)("div",{className:C},this.props.styles,Object(o.createElement)("div",{className:v||void 0},Object(o.createElement)("div",{className:"blockspare-block-button"},Object(o.createElement)("a",{href:"#",className:y()("blockspare-button",r,n,l,u)},p&&Object(o.createElement)("i",{className:b}),Object(o.createElement)(Lj,{tagName:"span",placeholder:jj("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:""+e,allowedFormats:[],onChange:e=>f({buttonText:e})}))),Object(o.createElement)("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+a,onSubmit:e=>e.preventDefault()},Object(o.createElement)(Rj,{icon:"admin-links"}),Object(o.createElement)(Pj,{className:"button-url",value:t,onChange:e=>f({buttonUrl:e})}),Object(o.createElement)(Dj,{icon:"editor-break",label:jj("Apply","blockspare"),type:"submit"})))),k)]}}),_j=e=>{const{imgPaddingTop:t,imgPaddingBottom:a,imgPaddingLeft:o,imgPaddingRight:n}=e.attributes,r=[];return r.push({".blockspare-pricing-image":{paddingTop:t+"px",paddingBottom:a+"px",paddingLeft:o+"px",paddingRight:n+"px"}}),Do.a.all(r)};const{__:Ij}=wp.i18n,{Component:Hj,Fragment:Gj}=wp.element,{compose:Wj}=wp.compose,{MediaUpload:Uj}=wp.blockEditor,{IconButton:qj}=wp.components;var Vj=Wj(W,I(_j))(class extends Hj{render(){const{attributes:{imgURL:e,imgID:t,imgAlt:a,imageAlignPosition:n},attributes:r,setAttributes:l}=this.props,i=()=>{l({imgID:null,imgURL:null,imgAlt:null})};return Object(o.createElement)(Gj,null,Object(o.createElement)("div",{className:"blockspare-img-wrap"},this.props.styles,Object(o.createElement)(Uj,{onSelect:e=>{l({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:t,render:t=>{let{open:a}=t;return Object(o.createElement)("div",{className:"img-controls"},Object(o.createElement)(qj,{className:"aft-cta-inspector-media",label:Ij("Edit image","blockspare"),icon:"format-image",onClick:a},e&&!!e.length&&Object(o.createElement)("p",null,Ij("Edit Image","blockspare")),!e&&Object(o.createElement)("p",null,Ij("Add Image","blockspare"))),e&&!!e.length&&Object(o.createElement)(qj,{className:"blockspare-cta-inspector-media",label:Ij("Remove Image","blockspare"),icon:"dismiss",onClick:i},Ij("Remove","blockspare")))}}),Object(o.createElement)("div",{className:y()("blockspare-pricing-image","blockspare-img-"+n)},e&&!!e.length&&Object(o.createElement)("img",{src:e,alt:a}))))}});const{__:$j}=wp.i18n,{Component:Xj,Fragment:Yj}=wp.element,{compose:Jj}=wp.compose,{RichText:Kj,AlignmentToolbar:Zj,BlockControls:Qj}=wp.blockEditor;var eF=Jj(W,I(GT))(class extends Xj{render(){const{attributes:{alignment:e,sectionScale:t,enableBadge:a,badgeText:n,badgeStyle:r,badgeOption:l,badgeLoadGoogleFonts:i,badgeFontFamily:s,badgeFontWeight:c,imgID1:p,imgURL1:b,imgAlt1:u,enablePrice:d,enableSectionHeader:g,enableDescription:m,enableButton:f,enableIcon:h,enableImage:k,pricingLayout:v,iconSize:C,blockHoverEffect:O,imageHoverEffect:E},attributes:x,isSelected:w,className:S,setAttributes:T}=this.props;let j,F="";if(F=a&&n&&"badge-text"===l?r:a&&"badge-image"===l?r+" has-image":"",1==i){const e={google:{families:[s+(c?":"+c:"")]}};j=Object(o.createElement)(Uo,{config:e})}return Object(o.createElement)(Yj,null,Object(o.createElement)(HT,this.props),Object(o.createElement)("div",{className:y()(S,e?"blockspare-block-pricing-table-"+e:"blockspare-block-pricing-table-center","blockspare-block-pricing-table",h&&k?"enable-img-icon":"",h?"enable-icon":"",k?"enable-img":"",C,"bpl-1"==v?"layout-item-1 order-1":"","bpl-2"==v?"layout-item-1 order-2":"","bpl-3"==v?"layout-item-1 order-3":"","bpl-4"==v?"layout-item-2 order-1":"","bpl-5"==v?"layout-item-2 order-2":"","bpl-6"==v?"layout-item-2 order-3":"","bpl-7"==v?"layout-item-3 order-1":"","bpl-8"==v?"layout-item-3 order-2":"","bpl-9"==v?"layout-item-3 order-3":"","bpl-10"==v?"layout-item-4 order-1":"","bpl-11"==v?"layout-item-4 order-2":"","bpl-12"==v?"layout-item-4 order-3":"","bpl-13"==v?"layout-item-5 order-1":"","bpl-14"==v?"layout-item-5 order-2":"","bpl-15"==v?"layout-item-5 order-3":"","bpl-16"==v?"layout-item-6 order-1":"","bpl-17"==v?"layout-item-6 order-2":"","bpl-18"==v?"layout-item-6 order-3":"","bpl-19"==v?"layout-item-7 order-1":"","bpl-20"==v?"layout-item-7 order-2":"","bpl-21"==v?"layout-item-7 order-3":"","bpl-22"==v?"layout-item-8 order-1":"","bpl-23"==v?"layout-item-8 order-2":"","bpl-24"==v?"layout-item-8 order-3":"",O,E)},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-block-pricing-table-inside",F,(M=t,"has-scale-ratio-"+1*Math.round(M)),{"has-scale-ratio":0!==t},"blockspare-hover-item")},a&&n&&"badge-text"===l&&Object(o.createElement)("div",{className:"blockspare-badge-wrapper"},Object(o.createElement)("div",{className:"blockspare-badge"},Object(o.createElement)("span",{className:y()(r)},n))),a&&"badge-image"===l&&Object(o.createElement)("div",{className:y()(r,"blockspare-badge-image")},Object(o.createElement)("img",{src:b,alt:u})),Object(o.createElement)("div",{className:"blockspare-pricing-wrap-1"},h&&("bpl-1"==v||"bpl-2"==v||"bpl-3"==v||"bpl-4"==v||"bpl-5"==v||"bpl-6"==v||"bpl-7"==v||"bpl-8"==v||"bpl-9"==v||"bpl-10"==v||"bpl-11"==v||"bpl-12"==v||"bpl-13"==v||"bpl-14"==v||"bpl-15"==v||"bpl-16"==v||"bpl-17"==v||"bpl-18"==v||"bpl-19"==v||"bpl-20"==v||"bpl-21"==v||"bpl-22"==v||"bpl-23"==v||"bpl-24"==v)&&Object(o.createElement)(JT,this.props),k&&("bpl-1"==v||"bpl-2"==v||"bpl-3"==v||"bpl-4"==v||"bpl-5"==v||"bpl-6"==v||"bpl-7"==v||"bpl-8"==v||"bpl-9"==v||"bpl-10"==v||"bpl-11"==v||"bpl-12"==v||"bpl-13"==v||"bpl-14"==v||"bpl-15"==v||"bpl-16"==v||"bpl-17"==v||"bpl-18"==v||"bpl-19"==v||"bpl-20"==v||"bpl-21"==v||"bpl-22"==v||"bpl-23"==v||"bpl-24"==v)&&Object(o.createElement)(Vj,this.props),d&&("bpl-4"==v||"bpl-5"==v||"bpl-6"==v||"bpl-7"==v||"bpl-8"==v||"bpl-9"==v||"bpl-13"==v||"bpl-14"==v||"bpl-15"==v||"bpl-16"==v||"bpl-17"==v||"bpl-18"==v||"bpl-22"==v||"bpl-23"==v||"bpl-24"==v)&&Object(o.createElement)(hj,this.props),g&&("bpl-7"==v||"bpl-8"==v||"bpl-9"==v||"bpl-10"==v||"bpl-11"==v||"bpl-12"==v||"bpl-13"==v||"bpl-14"==v||"bpl-15"==v||"bpl-16"==v||"bpl-17"==v||"bpl-18"==v)&&Object(o.createElement)(rj,this.props)),Object(o.createElement)("div",{className:"blockspare-pricing-wrap-2"},g&&("bpl-1"==v||"bpl-2"==v||"bpl-3"==v||"bpl-4"==v||"bpl-5"==v||"bpl-6"==v||"bpl-19"==v||"bpl-20"==v||"bpl-21"==v||"bpl-22"==v||"bpl-23"==v||"bpl-24"==v)&&Object(o.createElement)(rj,this.props),d&&("bpl-1"==v||"bpl-2"==v||"bpl-3"===v||"bpl-10"==v||"bpl-11"==v||"bpl-12"==v||"bpl-19"==v||"bpl-20"==v||"bpl-21"==v)&&Object(o.createElement)(hj,this.props),m&&("bpl-4"==v||"bpl-5"==v||"bpl-6"==v||"bpl-7"==v||"bpl-8"==v||"bpl-9"==v||"bpl-10"==v||"bpl-11"==v||"bpl-12"==v||"bpl-13"==v||"bpl-14"==v||"bpl-15"==v||"bpl-16"==v||"bpl-17"==v||"bpl-18"==v||"bpl-22"==v||"bpl-23"==v||"bpl-24"==v)&&Object(o.createElement)(Sj,this.props)),Object(o.createElement)("div",{className:"blockspare-pricing-wrap-3"},m&&("bpl-1"==v||"bpl-2"===v||"bpl-3"===v||"bpl-19"==v||"bpl-20"==v||"bpl-21"==v)&&Object(o.createElement)(Sj,this.props),f&&("bpl-1"===v||"bpl-2"===v||"bpl-3"===v||"bpl-4"==v||"bpl-5"==v||"bpl-6"==v||"bpl-7"==v||"bpl-8"==v||"bpl-9"==v||"bpl-10"==v||"bpl-11"==v||"bpl-12"==v||"bpl-13"==v||"bpl-14"==v||"bpl-15"==v||"bpl-16"==v||"bpl-17"==v||"bpl-18"==v||"bpl-19"==v||"bpl-20"==v||"bpl-21"==v||"bpl-22"==v||"bpl-23"==v||"bpl-24"==v)&&Object(o.createElement)(Aj,this.props)))),j);var M}});const{__:tF}=wp.i18n,{Component:aF,Fragment:oF}=wp.element,{compose:nF}=wp.compose;var rF=nF(W,I(_j))(class extends aF{render(){const{attributes:{imgURL:e,imageAlignPosition:t}}=this.props;return Object(o.createElement)(oF,null,this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-pricing-image","blockspare-img-"+t)},e&&Object(o.createElement)("img",{src:e})))}});const{Component:lF}=wp.element,{compose:iF}=wp.compose;var sF=iF(W,I(WT))(class extends lF{render(){const{attributes:{iconName:e,iconSize:t,iconStyles:a},className:n}=this.props,r=y()([n,"blockspare-blocks blockpare-priceicon"]);return Object(o.createElement)("div",{className:r},this.props.styles,Object(o.createElement)("div",{className:"blockspare-block-icon-wrapper"},Object(o.createElement)("div",{className:y()("blockspare-block-icon",t,a)},Object(o.createElement)("i",{className:e}))))}});const{Component:cF}=wp.element,{__:pF}=wp.i18n,{compose:bF}=wp.compose;var uF=bF(W,I(KT))(class extends cF{render(){const{attributes:{align:e,headerAlignPosition:t,headerTitle:a,headerTagOption:n,headerSubTitle:r,headerlayoutOption:l},className:i,attributes:s,setAttributes:c,isSelected:p}=this.props,b=y()([i,"blockspare-section-header-wrapper blockspare-blocks"]);return Object(o.createElement)("div",{className:b},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",l,"blockspare-"+t)},Object(o.createElement)(rc,{headerTitle:a,headerTagOption:n,headerSubTitle:r,headerlayoutOption:l})))}});const{__:dF}=wp.i18n,{Component:gF,Fragment:mF}=wp.element,{compose:fF}=wp.compose,{RichText:hF,getFontSizeClass:kF,getColorClassName:yF}=wp.blockEditor;var vF=fF(W,I(lj))(class extends gF{render(){const{attributes:{sectionAlignment:e,price:t,currency:a,fontSize:n,customFontSize:r,backgroundColor:l,textColor:i,customBackgroundColor:s,customTextColor:c,term:p,showTerm:b,showCurrency:u,paddingTop:d,paddingRight:g,paddingBottom:m,paddingLeft:f},className:h}=this.props,k=y()({"blockspare-pricing-table-price-wrap":!0,"blockspare-pricing-has-currency":u}),v=y()({"blockspare-pricing-table-price":!0}),C=y()([h,"blockpare-priceunit"]);return Object(o.createElement)("div",{className:C},this.props.styles,Object(o.createElement)("div",{className:k||void 0},Object(o.createElement)("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},a&&u&&Object(o.createElement)(hF.Content,{tagName:"span",itemProp:"priceCurrency",value:a,className:"blockspare-pricing-table-currency"}),Object(o.createElement)(hF.Content,{tagName:"div",itemProp:"price",value:t,className:v||void 0}),p&&b&&Object(o.createElement)(hF.Content,{tagName:"span",value:p,className:"blockspare-pricing-table-term"}))))}});const{Component:CF}=wp.element,{compose:OF}=wp.compose,{RichText:EF,InnerBlocks:xF}=wp.blockEditor;var wF=OF(W,I(kj))(class extends CF{render(){const{attributes:{features:e,borderStyle:t,descriptionborderWidth:a,name:n,listType:r,orderListStyle:l,descriptionborderStyle:i,color:s},className:c}=this.props;let p="";p="ul"==r?n:"ol"==r?l:"";const b=y()([c,"blockspare-pirce-description"]),u="ol"==r?"ol":"ul";return Object(o.createElement)("div",{className:b},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-blocks blockspare-list-wrap")},Object(o.createElement)(u,{className:y()("blockspare-pricing-table-features",i,"blockspare-list-border-width-"+a,p,"listDescription")},Object(o.createElement)(xF.Content,null))))}});const{RichText:SF,getColorClassName:TF}=wp.blockEditor,{__:jF}=wp.i18n,{compose:FF}=wp.compose,{Component:MF,Fragment:BF}=wp.element;var LF=FF(W,I(Tj))(class extends MF{render(){const{attributes:{buttonText:e,buttonUrl:t,buttonSize:a,buttonShape:n,buttonTarget:r,buttonHoverEffect:l,enableButtonIcon:i,buttonIcon:s,buttonIconPosition:c},attributes:p,className:b}=this.props,u=y()({"blockspare-pricing-table-button":!0}),d=y()([b,"blockspare-block-button-wrap"]);return Object(o.createElement)("div",{className:d},this.props.styles,Object(o.createElement)("div",{className:u||void 0},Object(o.createElement)("div",{className:"blockspare-block-button"},e&&Object(o.createElement)("a",{href:t,target:r?"_blank":null,rel:r?"noopener noreferrer":null,className:y()("blockspare-button",n,a,l,c)},i&&Object(o.createElement)("i",{className:s}),Object(o.createElement)(SF.Content,{tagName:"span",value:e})))))}});const{__:zF}=wp.i18n,{Component:NF,Fragment:PF}=wp.element,{compose:DF}=wp.compose,{RichText:RF}=wp.blockEditor;var AF=DF(W,I(GT))(class extends NF{render(){const{attributes:{alignment:e,sectionScale:t,enableBadge:a,badgeText:n,badgeStyle:r,badgeOption:l,imgID1:i,imgURL1:s,imgAlt1:c,enablePrice:p,enableSectionHeader:b,enableDescription:u,enableButton:d,enableIcon:g,enableImage:m,iconSize:f,pricingLayout:h,blockHoverEffect:k,imageHoverEffect:v},className:C,attributes:O}=this.props;let E="";return E=a&&n&&"badge-text"===l?r:a&&"badge-image"===l?r+" has-image":"",Object(o.createElement)("div",{className:y()(C,e?"blockspare-block-pricing-table-"+e:"blockspare-block-pricing-table-center","blockspare-block-pricing-table",g&&m?"enable-img-icon":"",g?"enable-icon":"",m?"enable-img":"",f,"bpl-1"==h?"layout-item-1 order-1":"","bpl-2"==h?"layout-item-1 order-2":"","bpl-3"==h?"layout-item-1 order-3":"","bpl-4"==h?"layout-item-2 order-1":"","bpl-5"==h?"layout-item-2 order-2":"","bpl-6"==h?"layout-item-2 order-3":"","bpl-7"==h?"layout-item-3 order-1":"","bpl-8"==h?"layout-item-3 order-2":"","bpl-9"==h?"layout-item-3 order-3":"","bpl-10"==h?"layout-item-4 order-1":"","bpl-11"==h?"layout-item-4 order-2":"","bpl-12"==h?"layout-item-4 order-3":"","bpl-13"==h?"layout-item-5 order-1":"","bpl-14"==h?"layout-item-5 order-2":"","bpl-15"==h?"layout-item-5 order-3":"","bpl-16"==h?"layout-item-6 order-1":"","bpl-17"==h?"layout-item-6 order-2":"","bpl-18"==h?"layout-item-6 order-3":"","bpl-19"==h?"layout-item-7 order-1":"","bpl-20"==h?"layout-item-7 order-2":"","bpl-21"==h?"layout-item-7 order-3":"","bpl-22"==h?"layout-item-8 order-1":"","bpl-23"==h?"layout-item-8 order-2":"","bpl-24"==h?"layout-item-8 order-3":"",k,v),itemScope:!0,itemType:"http://schema.org/Product"},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-block-pricing-table-inside",E,(x=t,"has-scale-ratio-"+1*Math.round(x)),{"has-scale-ratio":0!==t},"blockspare-hover-item")},a&&n&&"badge-text"===l&&Object(o.createElement)("div",{className:"blockspare-badge-wrapper"},Object(o.createElement)("div",{className:"blockspare-badge"},Object(o.createElement)("span",{className:y()(r)},n))),a&&"badge-image"===l&&Object(o.createElement)("div",{className:y()(r,"blockspare-badge-image")},Object(o.createElement)("img",{src:s,alt:c})),Object(o.createElement)("div",{className:"blockspare-pricing-wrap-1"},g&&("bpl-1"==h||"bpl-2"==h||"bpl-3"==h||"bpl-4"==h||"bpl-5"==h||"bpl-6"==h||"bpl-7"==h||"bpl-8"==h||"bpl-9"==h||"bpl-10"==h||"bpl-11"==h||"bpl-12"==h||"bpl-13"==h||"bpl-14"==h||"bpl-15"==h||"bpl-16"==h||"bpl-17"==h||"bpl-18"==h||"bpl-19"==h||"bpl-20"==h||"bpl-21"==h||"bpl-22"==h||"bpl-23"==h||"bpl-24"==h)&&Object(o.createElement)(sF,this.props),m&&("bpl-1"==h||"bpl-2"==h||"bpl-3"==h||"bpl-4"==h||"bpl-5"==h||"bpl-6"==h||"bpl-7"==h||"bpl-8"==h||"bpl-9"==h||"bpl-10"==h||"bpl-11"==h||"bpl-12"==h||"bpl-13"==h||"bpl-14"==h||"bpl-15"==h||"bpl-16"==h||"bpl-17"==h||"bpl-18"==h||"bpl-19"==h||"bpl-20"==h||"bpl-21"==h||"bpl-22"==h||"bpl-23"==h||"bpl-24"==h)&&Object(o.createElement)("div",{className:"blockspare-img-wrap"},Object(o.createElement)(rF,this.props)),p&&("bpl-4"==h||"bpl-5"==h||"bpl-6"==h||"bpl-7"==h||"bpl-8"==h||"bpl-9"==h||"bpl-13"==h||"bpl-14"==h||"bpl-15"==h||"bpl-16"==h||"bpl-17"==h||"bpl-18"==h||"bpl-22"==h||"bpl-23"==h||"bpl-24"==h)&&Object(o.createElement)(vF,this.props),b&&("bpl-7"==h||"bpl-8"==h||"bpl-9"==h||"bpl-10"==h||"bpl-11"==h||"bpl-12"==h||"bpl-13"==h||"bpl-14"==h||"bpl-15"==h||"bpl-16"==h||"bpl-17"==h||"bpl-18"==h)&&Object(o.createElement)(uF,this.props)),Object(o.createElement)("div",{className:"blockspare-pricing-wrap-2"},b&&("bpl-1"==h||"bpl-2"==h||"bpl-3"==h||"bpl-4"==h||"bpl-5"==h||"bpl-6"==h||"bpl-19"==h||"bpl-20"==h||"bpl-21"==h||"bpl-22"==h||"bpl-23"==h||"bpl-24"==h)&&Object(o.createElement)(uF,this.props),p&&("bpl-1"==h||"bpl-2"==h||"bpl-3"==h||"bpl-10"==h||"bpl-11"==h||"bpl-12"==h||"bpl-19"==h||"bpl-20"==h||"bpl-21"==h)&&Object(o.createElement)(vF,this.props),u&&("bpl-4"==h||"bpl-5"==h||"bpl-6"==h||"bpl-7"==h||"bpl-8"==h||"bpl-9"==h||"bpl-10"==h||"bpl-11"==h||"bpl-12"==h||"bpl-13"==h||"bpl-14"==h||"bpl-15"==h||"bpl-16"==h||"bpl-17"==h||"bpl-18"==h||"bpl-22"==h||"bpl-23"==h||"bpl-24"==h)&&Object(o.createElement)(wF,this.props)),Object(o.createElement)("div",{className:"blockspare-pricing-wrap-3"},u&&("bpl-1"==h||"bpl-2"==h||"bpl-3"==h||"bpl-19"==h||"bpl-20"==h||"bpl-21"==h)&&Object(o.createElement)(wF,this.props),d&&("bpl-1"==h||"bpl-2"==h||"bpl-3"==h||"bpl-4"==h||"bpl-5"==h||"bpl-6"==h||"bpl-7"==h||"bpl-8"==h||"bpl-9"==h||"bpl-10"==h||"bpl-11"==h||"bpl-12"==h||"bpl-13"==h||"bpl-14"==h||"bpl-15"==h||"bpl-16"==h||"bpl-17"==h||"bpl-18"==h||"bpl-19"==h||"bpl-20"==h||"bpl-21"==h||"bpl-22"==h||"bpl-23"==h||"bpl-24"==h)&&Object(o.createElement)(LF,this.props))));var x}}),_F=a(283),IF=a(284),HF=a(285),GF=a(286),WF=a(287);const{__:UF}=wp.i18n,{registerBlockType:qF}=wp.blocks,{name:VF,category:$F}=sT,XF={...sT.attributes,...GF.attributes,...WF.attributes,...ci,..._F.attributes,...IF.attributes,...ai,...pi,...HF.attributes,headerpaddingTop:{type:"number",default:10},headerpaddingRight:{type:"number",default:20},headerpaddingBottom:{type:"number",default:10},headerpaddingLeft:{type:"number",default:20},headermarginTop:{type:"number",default:10},headermarginBottom:{type:"number",default:0}},YF={title:UF("Pricing Table","blockspare"),description:UF("Add a pricing Table.","blockspare"),icon:s.a.pricingTable,category:$F,parent:["blockspare/blockspare-pricing"],keywords:[UF("pricing","blockspare"),UF("shop","blockspare"),UF("buy","blockspare")],attributes:XF,edit:eF,save:AF};qF("blockspare/blockspare-pricing-inner-item",YF);var JF=e=>{const{marginTop:t,marginRight:a,marginBottom:o,marginLeft:n,pricingLayout:r}=e.attributes,l=[];return l.push({".blockspare-pricing-block-wrapper":{marginTop:t?t+"px":void 0,marginRight:a?a+"px":void 0,marginBottom:o?o+"px":void 0,marginLeft:n?n+"px":void 0}}),Do.a.all(l)};const{IconButton:KF}=wp.components,{Component:ZF,Fragment:QF}=wp.element,{__:eM}=wp.i18n,{compose:tM}=wp.compose,{createBlock:aM}=wp.blocks,{withSelect:oM,withDispatch:nM}=wp.data,{InnerBlocks:rM}=wp.blockEditor;var lM=tM([oM((e,t)=>{const{clientId:a}=t,{getBlock:o,isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{block:o(a),isSelectedBlockInRoot:n(a)||r(a,!0)}}),nM(e=>{const{insertBlock:t,updateBlockAttributes:a}=e("core/block-editor");return{insertBlock:t,updateBlockAttributes:a}}),W,I(JF)])(class extends ZF{constructor(){super(...arguments),E()(this,"getServiceTemplate",e=>{const t=[],a=e.defaultItems;for(let e=0;e<a;e++)t.push(["blockspare/blockspare-pricing-inner-item",{}]);return t})}componentDidMount(){const{setAttributes:e,clientId:t,attributes:{uniqueId:a}}=this.props,o=t.substr(0,6);a?a&&a!=o&&e({uniqueId:o}):e({uniqueId:o})}insertServiceItem(){let e;const{clientId:t,insertBlock:a,block:o}=this.props;if(o.innerBlocks&&o.innerBlocks.length){const t=o.innerBlocks[o.innerBlocks.length-1].attributes.itemNumber+1,a=YF.heading;e=Object.assign({},{},{itemNumber:t,heading:a,active:!1,defaultText:""})}else e=YF;a(aM("blockspare/blockspare-pricing-inner-item",e),void 0,t)}render(){const{attributes:{columns:e,marginTop:t,marginBottom:a,columnsGap:n,pricingLayout:r,blockLayout:l,animation:i,align:s},attributes:c,isSelectedBlockInRoot:p,className:b,setAttributes:u}=this.props,d=y()(["blockspare-pricing-columns-"+e,l]),g=y()([b,"align"+s,"blockspare-main-blockwrapper",i?"blockspare-block-animation":"",i]);return Object(o.createElement)(QF,null,Object(o.createElement)(iT,{setAttributes:u,...this.props}),Object(o.createElement)("div",{className:g},this.props.styles,Object(o.createElement)("div",{className:"blockspare-blocks blockspare-pricing-block-wrapper"},Object(o.createElement)("div",{className:d},Object(o.createElement)("div",{className:y()("blockspare-pricing-table-wrap-admin","blockspare-block-pricing-table-gap-"+n,r)},Object(o.createElement)(rM,{template:this.getServiceTemplate(c),allowedBlocks:["blockspare/blockspare-pricing-inner-item"],renderAppender:!1}))))))}});const{__:iM}=wp.i18n,{Component:sM}=wp.element,{compose:cM}=wp.compose,{InnerBlocks:pM}=wp.blockEditor;var bM=cM(W,I(JF))(class extends sM{render(){const{attributes:{align:e,columns:t,columnsGap:a,marginTop:n,marginBottom:r,pricingLayout:l,blockLayout:i,animation:s},className:c}=this.props,p=y()(["blockspare-pricing-table-wrap",l,"blockspare-block-pricing-table-gap-"+a]),b=y()(["blockspare-pricing-columns-"+t,i]),u=y()([c,"blockspare-main-blockwrapper",s?"blockspare-block-animation":""]);return Object(o.createElement)("div",{className:u,"blockspare-animation":s},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-blocks blockspare-pricing-block-wrapper")},Object(o.createElement)("div",{className:b},Object(o.createElement)("div",{className:p||void 0},Object(o.createElement)(pM.Content,null)))))}});const{__:uM}=wp.i18n,{registerBlockType:dM}=wp.blocks,{InnerBlocks:gM}=wp.blockEditor,{name:mM,category:fM,attributes:hM}=XS;dM(mM,{title:uM("Pricing Table","blockspare"),description:uM("Add a pricing table.","blockspare"),category:fM,icon:s.a.pricingTable,attributes:hM,keywords:[uM("block","blockspare"),uM("price","blockspare"),uM("list","blockspare"),uM("table","blockspare"),uM("pricing","blockspare"),uM("shop","blockspare"),uM("purchase","blockspare")],supports:{align:["wide","full","center"],html:!0},edit:lM,save:bM}),a(387);var kM=a(288);const{__:yM}=wp.i18n,{Component:vM}=wp.element,{InspectorControls:CM,PanelColorSettings:OM}=wp.blockEditor,{PanelBody:EM,TextControl:xM,SelectControl:wM}=wp.components;class SM extends vM{render(){const{attributes:e,setAttributes:t,clients:a}=this.props,n=[{value:"blockspare-icon-only",label:yM(" Icon only","blockspare")},{value:"blockspare-texts-only",label:yM("Texts only","blockspare")},{value:"blockspare-icon-with-texts",label:yM("Icon with Texts","blockspare")}],r=[{value:"blockspare-social-links-horizontal",label:yM(" Horizontal","blockspare")},{value:"blockspare-social-links-vertical",label:yM("Vertical","blockspare")}],l=[{value:"blockspare-default-official-color",label:yM(" Official","blockspare")},{value:"custom",label:yM("Custom","blockspare")}],i=[{value:"blockspare-social-icon-square",label:yM("Square","blockspare")},{value:"blockspare-social-icon-circle",label:yM("Circle","blockspare")},{value:"blockspare-social-icon-rounded",label:yM("Rounded Square","blockspare")}],s=(yM("Small","blockspare"),yM("Medium","blockspare"),yM("Large","blockspare"),[{value:"blockspare-social-icon-solid",label:yM("Solid","blockspare")},{value:"blockspare-social-icon-border",label:yM("Border","blockspare")},{value:"blockspare-social-icon-none",label:yM("None","blockspare")}]);return Object(o.createElement)(CM,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(EM,{title:yM("Social Icon Option","blockspare"),initialOpen:!1},Object(o.createElement)(wM,{label:yM("Option","blockspare"),options:n,value:e.buttonOptions,onChange:e=>this.props.setAttributes({buttonOptions:e})}),"blockspare-icon-only"!==e.buttonOptions&&Object(o.createElement)(wM,{label:yM("Layout Type","blockspare"),options:r,value:e.iconLayoutType,onChange:e=>this.props.setAttributes({iconLayoutType:e})}),Object(o.createElement)(wM,{label:yM("Color","blockspare"),options:l,value:e.iconColorOption,onChange:e=>this.props.setAttributes({iconColorOption:e})}),"custom"==e.iconColorOption&&Object(o.createElement)(OM,{title:yM("Font Color","blockspare"),initialOpen:!1,colorSettings:[{value:e.customfontColorOption,onChange:e=>t({customfontColorOption:e}),label:yM("Font Color","blockspare")}]}),"custom"==e.iconColorOption&&"blockspare-social-icon-none"!==e.buttonFills&&Object(o.createElement)(OM,{title:yM("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:e.custombackgroundColorOption,onChange:e=>t({custombackgroundColorOption:e}),label:yM("Background/Border Color","blockspare")}]}),"blockspare-social-icon-none"!==e.buttonFills&&Object(o.createElement)(wM,{label:yM("Shape","blockspare"),options:i,value:e.buttonShapes,onChange:e=>this.props.setAttributes({buttonShapes:e})}),Object(o.createElement)(wM,{label:yM("Fill","blockspare"),options:s,value:e.buttonFills,onChange:e=>this.props.setAttributes({buttonFills:e})})),Object(o.createElement)(EM,{title:yM("Social Settings","blockspare"),className:"blockspare-hide-query",initialOpen:!1},Object(o.createElement)(EM,{title:yM("Facebook","blockspare"),initialOpen:!1},Object(o.createElement)(xM,{label:yM("Title","blockspare"),type:"text",value:e.facebookTitle,onChange:e=>this.props.setAttributes({facebookTitle:e})}),Object(o.createElement)(xM,{label:yM("URL","blockspare"),type:"url",value:e.facebookUrl,onChange:e=>this.props.setAttributes({facebookUrl:e})})),Object(o.createElement)(EM,{title:yM("Twitter","blockspare"),initialOpen:!1},Object(o.createElement)(xM,{label:yM("Title","blockspare"),type:"text",value:e.twitterTitle,onChange:e=>this.props.setAttributes({twitterTitle:e})}),Object(o.createElement)(xM,{label:yM("URL","blockspare"),type:"url",value:e.twitterUrl,onChange:e=>this.props.setAttributes({twitterUrl:e})})),Object(o.createElement)(EM,{title:yM("Instagram","blockspare"),initialOpen:!1},Object(o.createElement)(xM,{label:yM("Title","blockspare"),type:"text",value:e.instagramTitle,onChange:e=>this.props.setAttributes({instagramTitle:e})}),Object(o.createElement)(xM,{label:yM("URL","blockspare"),type:"url",value:e.instagramUrl,onChange:e=>this.props.setAttributes({instagramUrl:e})})),Object(o.createElement)(EM,{title:yM("YouTube","blockspare"),initialOpen:!1},Object(o.createElement)(xM,{label:yM("Title","blockspare"),type:"text",value:e.youtubeTitle,onChange:e=>this.props.setAttributes({youtubeTitle:e})}),Object(o.createElement)(xM,{label:yM("URL","blockspare"),type:"url",value:e.youtubeUrl,onChange:e=>this.props.setAttributes({youtubeUrl:e})})),Object(o.createElement)(EM,{title:yM("LinkedIn","blockspare"),initialOpen:!1},Object(o.createElement)(xM,{label:yM("Title","blockspare"),type:"text",value:e.linkedinTitle,onChange:e=>this.props.setAttributes({linkedinTitle:e})}),Object(o.createElement)(xM,{label:yM("URL","blockspare"),type:"url",value:e.linkedinUrl,onChange:e=>this.props.setAttributes({linkedinUrl:e})})),Object(o.createElement)(EM,{title:yM("Pinterest","blockspare"),initialOpen:!1},Object(o.createElement)(xM,{label:yM("Title","blockspare"),type:"text",value:e.pinterestTitle,onChange:e=>this.props.setAttributes({pinterestTitle:e})}),Object(o.createElement)(xM,{label:yM("URL","blockspare"),type:"url",value:e.pinterestUrl,onChange:e=>this.props.setAttributes({pinterestUrl:e})}))),"blockspare-icon-only"!==e.buttonOptions&&Object(o.createElement)(EM,{title:yM("Typography","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:yM("Fonts Settings"),attributes:e,setAttributes:t,loadGoogleFonts:{value:e.socialLoadGoogleFonts,label:yM("socialLoadGoogleFonts")},fontFamily:{value:e.socialFontFamily,label:yM("socialFontFamily")},fontWeight:{value:e.socialFontWeight,label:yM("socialFontWeight")},fontSubset:{value:e.socialFontSubset,label:yM("socialFontSubset")},fontSizeType:{value:e.socialFontSizeType,label:yM("socialFontSizeType")},fontSize:{value:e.socialFontSize,label:yM("socialFontSize")},fontSizeMobile:{value:e.socialFontSizeMobile,label:yM("socialFontSizeMobile")},fontSizeTablet:{value:e.socialFontSizeTablet,label:yM("socialFontSizeTablet")},disableLineHeight:!0,disableTag:!0,headerTagOption:!1})),Object(o.createElement)(EM,{title:yM("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(EM,{title:yM("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(EM,{title:yM("Block Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(EM,{title:yM("Margin Settings","blockspare"),initialOpen:!0},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:e.marginTop,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>t({marginTop:e}),marginEnableRight:!0,marginRight:e.marginRight,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>t({marginRight:e}),marginEnableBottom:!0,marginBottom:e.marginBottom,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>t({marginBottom:e}),marginEnableLeft:!0,marginLeft:e.marginLeft,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>t({marginLeft:e})})))))}}var TM=e=>{const{sectionAlignment:t,iconColorOption:a,customfontColorOption:o,custombackgroundColorOption:n,marginTop:r,marginRight:l,marginBottom:i,marginLeft:s,buttonFills:c,socialFontSize:p,socialFontFamily:b,socialFontWeight:u,socialFontSubset:d,socialFontSizeType:g,socialFontSizeMobile:m,socialFontSizeTablet:f}=e.attributes,h=[];return h.push({".blockspare-social-wrapper":{textAlign:t,marginTop:r?r+"px":"0px",marginRight:l?l+"px":"0px",marginBottom:i?i+"px":"0px",marginLeft:s?s+"px":"0px"}}),"blockspare-default-official-color"!=a&&("blockspare-social-icon-border"==c?h.push({".blockspare-social-wrapper .blockspare-social-links a .blockspare-social-icons":{color:o,border:"2px solid "+n}}):"blockspare-social-icon-solid"==c?h.push({".blockspare-social-wrapper .blockspare-social-links a .blockspare-social-icons":{color:o,backgroundColor:n}}):h.push({".blockspare-social-wrapper .blockspare-social-links a .blockspare-social-icons":{color:o}})),h.push({".blockspare-social-wrapper .blockspare-social-icons > span":{fontSize:p+g,...Ro(b),...Ao(u)},tablet:{".blockspare-social-wrapper .blockspare-social-icons > span":{fontSize:f+g}},mobile:{".blockspare-social-wrapper .blockspare-social-icons > span":{fontSize:m+g}}}),Do.a.all(h)};const{Component:jM,Fragment:FM}=wp.element,{__:MM}=wp.i18n,{compose:BM}=wp.compose,{BlockControls:LM,AlignmentToolbar:zM}=wp.blockEditor;var NM=BM(W,I(TM))(class extends jM{render(){const{attributes:{sectionAlignment:e,iconColorOption:t,buttonShapes:a,buttonSizes:n,buttonOptions:r,buttonFills:l,facebookUrl:i,facebookTitle:s,linkedinUrl:c,linkedinTitle:p,twitterUrl:b,twitterTitle:u,instagramUrl:d,instagramTitle:g,youtubeUrl:m,youtubeTitle:f,pinterestUrl:h,pinterestTitle:k,tumblrUrl:v,tumblrTitle:C,telegramUrl:O,telegramTitle:E,redditUrl:x,redditTitle:w,flickrUrl:S,flickrTitle:T,dribbbleUrl:j,dribbbleTitle:F,vkUrl:M,vkTitle:B,yelpUrl:L,yelpTitle:z,quoraUrl:N,quoraTitle:P,meetupUrl:D,meetupTitle:R,githubUrl:A,githubTitle:_,animation:I,blockHoverEffect:H,iconLayoutType:G,socialLoadGoogleFonts:W,socialFontFamily:U,socialFontWeight:q},className:V,attributes:$,setAttributes:X}=this.props,Y=y()([V,"blockspare-socaillink-block",I?"blockspare-block-animation":"",I,H,"blockspare-sociallinks-"+e]);let J;if(1==W){const e={google:{families:[U+(q?":"+q:"")]}};J=Object(o.createElement)(Uo,{config:e})}function K(e){e.preventDefault()}return[Object(o.createElement)(FM,null,Object(o.createElement)(SM,{setAttributes:X,...this.props}),Object(o.createElement)(LM,null,Object(o.createElement)(zM,{value:e,onChange:e=>{X({sectionAlignment:e})}})),Object(o.createElement)("div",{className:Y},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-blocks","blockspare-social-wrapper")},Object(o.createElement)("ul",{className:y()("blockspare-social-links",t,a,n,r,l,"blockspare-icon-only"===r?"blockspare-social-links-horizontal":G)},i&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:i,className:"bs-social-facebook",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-facebook-f"})," ",Object(o.createElement)("span",{className:"screen-reader-text"},s)))),b&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:b,className:"bs-social-twitter",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-twitter"}),Object(o.createElement)("span",{className:"screen-reader-text"},u)))),d&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:d,className:"bs-social-instagram",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-instagram"}),Object(o.createElement)("span",{className:"screen-reader-text"},g)))),m&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:m,className:"bs-social-youtube",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-youtube"}),Object(o.createElement)("span",{className:"screen-reader-text"},f)))),c&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:c,className:"bs-social-linkedin",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-linkedin"}),Object(o.createElement)("span",{className:"screen-reader-text"},p)))),h&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:h,className:"bs-social-pinterest",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-pinterest"}),Object(o.createElement)("span",{className:"screen-reader-text"},k)))),v&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:v,className:"bs-social-tumblr",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-tumblr"}),Object(o.createElement)("span",{className:"screen-reader-text"},C)))),O&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:O,className:"bs-social-telegram",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-telegram"}),Object(o.createElement)("span",{className:"screen-reader-text"},E)))),x&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:x,className:"bs-social-reddit",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-reddit"}),Object(o.createElement)("span",{className:"screen-reader-text"},w)))),S&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:S,className:"bs-social-flickr",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-flickr"}),Object(o.createElement)("span",{className:"screen-reader-text"},T)))),j&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:j,className:"bs-social-dribbble",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-dribbble"}),Object(o.createElement)("span",{className:"screen-reader-text"},F)))),M&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:M,className:"bs-social-vk",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-vk"}),Object(o.createElement)("span",{className:"screen-reader-text"},B)))),L&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:L,className:"bs-social-yelp",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-yelp"}),Object(o.createElement)("span",{className:"screen-reader-text"},z)))),N&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:N,className:"bs-social-quora",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-quora"}),Object(o.createElement)("span",{className:"screen-reader-text"},P)))),D&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:D,className:"bs-social-meetup",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-meetup"}),Object(o.createElement)("span",{className:"screen-reader-text"},R)))),A&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:A,className:"bs-social-github",target:"_blank",onClick:K,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-github"}),Object(o.createElement)("span",{className:"screen-reader-text"},_))))))),J)]}});const{Component:PM}=wp.element,{compose:DM}=wp.compose;var RM=DM(W,I(TM))(class extends PM{constructor(){super(...arguments)}render(){const{attributes:{sectionAlignment:e,iconColorOption:t,buttonShapes:a,buttonSizes:n,buttonOptions:r,buttonFills:l,facebookUrl:i,facebookTitle:s,linkedinUrl:c,linkedinTitle:p,twitterUrl:b,twitterTitle:u,instagramUrl:d,instagramTitle:g,youtubeUrl:m,youtubeTitle:f,pinterestUrl:h,pinterestTitle:k,tumblrUrl:v,tumblrTitle:C,telegramUrl:O,telegramTitle:E,redditUrl:x,redditTitle:w,flickrUrl:S,flickrTitle:T,dribbbleUrl:j,dribbbleTitle:F,vkUrl:M,vkTitle:B,yelpUrl:L,yelpTitle:z,quoraUrl:N,quoraTitle:P,meetupUrl:D,meetupTitle:R,githubUrl:A,githubTitle:_,animation:I,blockHoverEffect:H,iconLayoutType:G},className:W,attributes:U,setAttributes:q}=this.props,V=y()([W,"blockspare-socaillink-block",I?"blockspare-block-animation":"",H,"blockspare-sociallinks-"+e]);return Object(o.createElement)("div",{className:V,"blockspare-animation":I},this.props.styles,Object(o.createElement)("div",{className:"blockspare-social-wrapper"},Object(o.createElement)("ul",{className:y()("blockspare-social-links",t,a,n,r,l,"blockspare-icon-only"===r?"blockspare-social-links-horizontal":G)},i&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:i,className:"bs-social-facebook",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-facebook-f"})," ",Object(o.createElement)("span",{className:"screen-reader-text"},s)))),b&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:b,className:"bs-social-twitter",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-twitter"}),Object(o.createElement)("span",{className:"screen-reader-text"},u)))),d&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:d,className:"bs-social-instagram",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-instagram"}),Object(o.createElement)("span",{className:"screen-reader-text"},g)))),m&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:m,className:"bs-social-youtube",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-youtube"}),Object(o.createElement)("span",{className:"screen-reader-text"},f)))),c&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:c,className:"bs-social-linkedin",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-linkedin"}),Object(o.createElement)("span",{className:"screen-reader-text"},p)))),h&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:h,className:"bs-social-pinterest",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-pinterest"}),Object(o.createElement)("span",{className:"screen-reader-text"},k)))),v&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:v,className:"bs-social-tumblr",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-tumblr"}),Object(o.createElement)("span",{className:"screen-reader-text"},C)))),O&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:O,className:"bs-social-telegram",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-telegram"}),Object(o.createElement)("span",{className:"screen-reader-text"},E)))),x&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:x,className:"bs-social-reddit",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-reddit"}),Object(o.createElement)("span",{className:"screen-reader-text"},w)))),S&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:S,className:"bs-social-flickr",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-flickr"}),Object(o.createElement)("span",{className:"screen-reader-text"},T)))),j&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:j,className:"bs-social-dribbble",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-dribbble"}),Object(o.createElement)("span",{className:"screen-reader-text"},F)))),M&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:M,className:"bs-social-vk",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-vk"}),Object(o.createElement)("span",{className:"screen-reader-text"},B)))),L&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:L,className:"bs-social-yelp",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-yelp"}),Object(o.createElement)("span",{className:"screen-reader-text"},z)))),N&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:N,className:"bs-social-quora",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-quora"}),Object(o.createElement)("span",{className:"screen-reader-text"},P)))),D&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:D,className:"bs-social-meetup",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-meetup"}),Object(o.createElement)("span",{className:"screen-reader-text"},R)))),A&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:A,className:"bs-social-github",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-github"}),Object(o.createElement)("span",{className:"screen-reader-text"},_)))))))}}),AM=a(289);const{Component:_M}=wp.element,{compose:IM}=wp.compose;var HM=IM(W,I(TM))(class extends _M{constructor(){super(...arguments)}render(){const{attributes:{sectionAlignment:e,iconColorOption:t,buttonShapes:a,buttonSizes:n,buttonOptions:r,buttonFills:l,facebookUrl:i,facebookTitle:s,linkedinUrl:c,linkedinTitle:p,twitterUrl:b,twitterTitle:u,instagramUrl:d,instagramTitle:g,youtubeUrl:m,youtubeTitle:f,pinterestUrl:h,pinterestTitle:k,tumblrUrl:v,tumblrTitle:C,telegramUrl:O,telegramTitle:E,redditUrl:x,redditTitle:w,flickrUrl:S,flickrTitle:T,dribbbleUrl:j,dribbbleTitle:F,vkUrl:M,vkTitle:B,yelpUrl:L,yelpTitle:z,quoraUrl:N,quoraTitle:P,meetupUrl:D,meetupTitle:R,githubUrl:A,githubTitle:_,animation:I,blockHoverEffect:H,iconLayoutType:G},className:W,attributes:U,setAttributes:q}=this.props,V=y()([W,"blockspare-socaillink-block",I?"blockspare-block-animation":"",H,"blockspare-sociallinks-"+e]);return Object(o.createElement)("div",{className:V,"blockspare-animation":I},this.props.styles,Object(o.createElement)("div",{className:"blockspare-social-wrapper"},Object(o.createElement)("ul",{className:y()("blockspare-social-links",t,a,n,r,l,"blockspare-icon-only"===r?"blockspare-social-links-horizontal":G)},i&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:i,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-facebook-f"})," ",Object(o.createElement)("span",{className:"screen-reader-text"},s)))),b&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:b,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-twitter"}),Object(o.createElement)("span",{className:"screen-reader-text"},u)))),d&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:d,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-instagram"}),Object(o.createElement)("span",{className:"screen-reader-text"},g)))),m&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:m,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-youtube"}),Object(o.createElement)("span",{className:"screen-reader-text"},f)))),c&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:c,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-linkedin"}),Object(o.createElement)("span",{className:"screen-reader-text"},p)))),h&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:h,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-pinterest"}),Object(o.createElement)("span",{className:"screen-reader-text"},k)))),v&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:v,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-tumblr"}),Object(o.createElement)("span",{className:"screen-reader-text"},C)))),O&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:O,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-telegram"}),Object(o.createElement)("span",{className:"screen-reader-text"},E)))),x&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:x,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-reddit"}),Object(o.createElement)("span",{className:"screen-reader-text"},w)))),S&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:S,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-flickr"}),Object(o.createElement)("span",{className:"screen-reader-text"},T)))),j&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:j,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-dribbble"}),Object(o.createElement)("span",{className:"screen-reader-text"},F)))),M&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:M,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-vk"}),Object(o.createElement)("span",{className:"screen-reader-text"},B)))),L&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:L,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-yelp"}),Object(o.createElement)("span",{className:"screen-reader-text"},z)))),N&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:N,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-quora"}),Object(o.createElement)("span",{className:"screen-reader-text"},P)))),D&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:D,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-meetup"}),Object(o.createElement)("span",{className:"screen-reader-text"},R)))),A&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:A,className:"",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-github"}),Object(o.createElement)("span",{className:"screen-reader-text"},_)))))))}});const{Component:GM}=wp.element,{compose:WM}=wp.compose;var UM=WM(W,I(e=>{const{sectionAlignment:t,iconColorOption:a,customfontColorOption:o,custombackgroundColorOption:n,marginTop:r,marginRight:l,marginBottom:i,marginLeft:s,buttonFills:c}=e.attributes,p=[];return p.push({".blockspare-social-wrapper":{textAlign:t,marginTop:r?r+"px":"0px",marginRight:l?l+"px":"0px",marginBottom:i?i+"px":"0px",marginLeft:s?s+"px":"0px"}}),"blockspare-default-official-color"!=a&&("blockspare-social-icon-border"==c?p.push({".blockspare-social-wrapper .blockspare-social-links a .blockspare-social-icons":{color:o,border:"2px solid "+n}}):"blockspare-social-icon-solid"==c?p.push({".blockspare-social-wrapper .blockspare-social-links a .blockspare-social-icons":{color:o,backgroundColor:n}}):p.push({".blockspare-social-wrapper .blockspare-social-links a .blockspare-social-icons":{color:o}})),Do.a.all(p)}))(class extends GM{constructor(){super(...arguments)}render(){const{attributes:{sectionAlignment:e,iconColorOption:t,buttonShapes:a,buttonSizes:n,buttonOptions:r,buttonFills:l,facebookUrl:i,facebookTitle:s,linkedinUrl:c,linkedinTitle:p,twitterUrl:b,twitterTitle:u,instagramUrl:d,instagramTitle:g,youtubeUrl:m,youtubeTitle:f,pinterestUrl:h,pinterestTitle:k,tumblrUrl:v,tumblrTitle:C,telegramUrl:O,telegramTitle:E,redditUrl:x,redditTitle:w,flickrUrl:S,flickrTitle:T,dribbbleUrl:j,dribbbleTitle:F,vkUrl:M,vkTitle:B,yelpUrl:L,yelpTitle:z,quoraUrl:N,quoraTitle:P,meetupUrl:D,meetupTitle:R,githubUrl:A,githubTitle:_,animation:I,blockHoverEffect:H,iconLayoutType:G},className:W,attributes:U,setAttributes:q}=this.props,V=y()([W,"blockspare-socaillink-block",I?"blockspare-block-animation":"",H,"blockspare-sociallinks-"+e]);return Object(o.createElement)("div",{className:V,"blockspare-animation":I},this.props.styles,Object(o.createElement)("div",{className:"blockspare-social-wrapper"},Object(o.createElement)("ul",{className:y()("blockspare-social-links",t,a,n,r,l,"blockspare-icon-only"===r?"blockspare-social-links-horizontal":G)},i&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:i,className:"bs-social-facebook",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-facebook-f"})," ",Object(o.createElement)("span",{className:"screen-reader-text"},s)))),b&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:b,className:"bs-social-twitter",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-twitter"}),Object(o.createElement)("span",{className:"screen-reader-text"},u)))),d&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:d,className:"bs-social-instagram",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-instagram"}),Object(o.createElement)("span",{className:"screen-reader-text"},g)))),m&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:m,className:"bs-social-youtube",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-youtube"}),Object(o.createElement)("span",{className:"screen-reader-text"},f)))),c&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:c,className:"bs-social-linkedin",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-linkedin"}),Object(o.createElement)("span",{className:"screen-reader-text"},p)))),h&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:h,className:"bs-social-pinterest",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-pinterest"}),Object(o.createElement)("span",{className:"screen-reader-text"},k)))),v&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:v,className:"bs-social-tumblr",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-tumblr"}),Object(o.createElement)("span",{className:"screen-reader-text"},C)))),O&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:O,className:"bs-social-telegram",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-telegram"}),Object(o.createElement)("span",{className:"screen-reader-text"},E)))),x&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:x,className:"bs-social-reddit",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-reddit"}),Object(o.createElement)("span",{className:"screen-reader-text"},w)))),S&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:S,className:"bs-social-flickr",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-flickr"}),Object(o.createElement)("span",{className:"screen-reader-text"},T)))),j&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:j,className:"bs-social-dribbble",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-dribbble"}),Object(o.createElement)("span",{className:"screen-reader-text"},F)))),M&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:M,className:"bs-social-vk",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-vk"}),Object(o.createElement)("span",{className:"screen-reader-text"},B)))),L&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:L,className:"bs-social-yelp",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-yelp"}),Object(o.createElement)("span",{className:"screen-reader-text"},z)))),N&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:N,className:"bs-social-quora",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-quora"}),Object(o.createElement)("span",{className:"screen-reader-text"},P)))),D&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:D,className:"bs-social-meetup",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-meetup"}),Object(o.createElement)("span",{className:"screen-reader-text"},R)))),A&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{href:A,className:"bs-social-github",target:"_blank",rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-github"}),Object(o.createElement)("span",{className:"screen-reader-text"},_)))))))}});const qM={...AM.attributes};var VM=[{attributes:qM,save:e=>Object(o.createElement)(HM,e)},{attributes:qM,save:e=>Object(o.createElement)(UM,e)}];const{registerBlockType:$M}=wp.blocks,{name:XM,category:YM,attributes:JM}=kM,{__:KM}=wp.i18n;$M(XM,{title:KM("Social Links","blockspare"),category:YM,icon:s.a.sociallinks,attributes:JM,keywords:[KM("block","blockspare"),KM("social","blockspare"),KM("links","blockspare"),KM("share","blockspare")],example:{attributes:{facebookUrl:"https://facebook.com",twitterUrl:"https://twitter.com",linkedinUrl:"https://www.linkedin.com/",instagramUrl:"https://instagram.com"}},edit:NM,save:RM,deprecated:VM});const{__:ZM}=wp.i18n,{Component:QM}=wp.element,{InspectorControls:eB,PanelColorSettings:tB}=wp.blockEditor,{PanelBody:aB,SelectControl:oB,ToggleControl:nB,TextControl:rB}=wp.components;class lB extends QM{constructor(e){super(...arguments)}render(){const{attributes:e,setAttributes:t,clients:a}=this.props,n=[{value:"blockspare-icon-only",label:ZM(" Icon only","blockspare")},{value:"blockspare-texts-only",label:ZM("Texts only","blockspare")},{value:"blockspare-icon-with-texts",label:ZM("Icon with Texts","blockspare")}],r=[{value:"blockspare-social-sharing-horizontal",label:ZM(" Horizontal","blockspare")},{value:"blockspare-social-sharing-vertical",label:ZM("Vertical","blockspare")}],l=[{value:"blockspare-default-official-color",label:ZM(" Official","blockspare")},{value:"custom",label:ZM("Custom","blockspare")}],i=[{value:"blockspare-social-icon-square",label:ZM("Square","blockspare")},{value:"blockspare-social-icon-circle",label:ZM("Circle","blockspare")},{value:"blockspare-social-icon-rounded",label:ZM("Rounded Square","blockspare")}],s=(ZM("Small","blockspare"),ZM("Medium","blockspare"),ZM("Large","blockspare"),[{value:"blockspare-social-icon-solid",label:ZM("Solid","blockspare")},{value:"blockspare-social-icon-border",label:ZM("Border","blockspare")},{value:"blockspare-social-icon-none",label:ZM("None","blockspare")}]);return Object(o.createElement)(eB,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(aB,{title:ZM("Social Icon Option","blockspare"),initialOpen:!1},Object(o.createElement)(oB,{label:ZM("Option","blockspare"),options:n,value:e.buttonOptions,onChange:e=>this.props.setAttributes({buttonOptions:e})}),"blockspare-icon-only"!==e.buttonOptions&&Object(o.createElement)(oB,{label:ZM("Layout Type","blockspare"),options:r,value:e.iconLayoutType,onChange:e=>this.props.setAttributes({iconLayoutType:e})}),Object(o.createElement)(oB,{label:ZM("Color","blockspare"),options:l,value:e.iconColorOption,onChange:e=>this.props.setAttributes({iconColorOption:e})}),"custom"==e.iconColorOption&&Object(o.createElement)(tB,{title:ZM("Font Color","blockspare"),initialOpen:!1,colorSettings:[{value:e.customfontColorOption,onChange:e=>t({customfontColorOption:e}),label:ZM("Font Color","blockspare")}]}),"custom"==e.iconColorOption&&"blockspare-social-icon-none"!==e.buttonFills&&Object(o.createElement)(tB,{title:ZM("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:e.custombackgroundColorOption,onChange:e=>t({custombackgroundColorOption:e}),label:ZM("Background/Border Color","blockspare")}]}),"blockspare-social-icon-none"!==e.buttonFills&&Object(o.createElement)(oB,{label:ZM("Shape","blockspare"),options:i,value:e.buttonShapes,onChange:e=>this.props.setAttributes({buttonShapes:e})}),Object(o.createElement)(oB,{label:ZM("Fill","blockspare"),options:s,value:e.buttonFills,onChange:e=>this.props.setAttributes({buttonFills:e})})),Object(o.createElement)(aB,{title:ZM("Social Sharing Settings","blockspare"),initialOpen:!1},Object(o.createElement)(aB,{title:ZM("Facebook","blockspare"),initialOpen:!1},Object(o.createElement)(nB,{label:ZM("Enable","blockspare"),checked:!!this.props.attributes.facebook,onChange:()=>this.props.setAttributes({facebook:!this.props.attributes.facebook})}),this.props.attributes.facebook&&Object(o.createElement)(rB,{label:ZM("Title","blockspare"),type:"text",value:e.facebookTitle,onChange:e=>this.props.setAttributes({facebookTitle:e})})),Object(o.createElement)(aB,{title:ZM("Twitter","blockspare"),initialOpen:!1},Object(o.createElement)(nB,{label:ZM("Enable","blockspare"),checked:!!this.props.attributes.twitter,onChange:()=>this.props.setAttributes({twitter:!this.props.attributes.twitter})}),this.props.attributes.twitter&&Object(o.createElement)(rB,{label:ZM("Title","blockspare"),type:"text",value:e.twitterTitle,onChange:e=>this.props.setAttributes({twitterTitle:e})})),Object(o.createElement)(aB,{title:ZM("Pinterest","blockspare"),initialOpen:!1},Object(o.createElement)(nB,{label:ZM("Enable","blockspare"),checked:!!this.props.attributes.pinterest,onChange:()=>this.props.setAttributes({pinterest:!this.props.attributes.pinterest})}),this.props.attributes.pinterest&&Object(o.createElement)(rB,{label:ZM("Title","blockspare"),type:"text",value:e.pinterestTitle,onChange:e=>this.props.setAttributes({pinterestTitle:e})})),Object(o.createElement)(aB,{title:ZM("LinkedIn","blockspare"),initialOpen:!1},Object(o.createElement)(nB,{label:ZM("Enable","blockspare"),checked:!!this.props.attributes.linkedin,onChange:()=>this.props.setAttributes({linkedin:!this.props.attributes.linkedin})}),this.props.attributes.linkedin&&Object(o.createElement)(rB,{label:ZM("Title","blockspare"),type:"text",value:e.linkedinTitle,onChange:e=>this.props.setAttributes({linkedinTitle:e})}))),"blockspare-icon-only"!==e.buttonOptions&&Object(o.createElement)(aB,{title:ZM("Typography","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:ZM("Fonts Settings"),attributes:e,setAttributes:t,loadGoogleFonts:{value:e.socialLoadGoogleFonts,label:ZM("socialLoadGoogleFonts")},fontFamily:{value:e.socialFontFamily,label:ZM("socialFontFamily")},fontWeight:{value:e.socialFontWeight,label:ZM("socialFontWeight")},fontSubset:{value:e.socialFontSubset,label:ZM("socialFontSubset")},fontSizeType:{value:e.socialFontSizeType,label:ZM("socialFontSizeType")},fontSize:{value:e.socialFontSize,label:ZM("socialFontSize")},fontSizeMobile:{value:e.socialFontSizeMobile,label:ZM("socialFontSizeMobile")},fontSizeTablet:{value:e.socialFontSizeTablet,label:ZM("socialFontSizeTablet")},disableLineHeight:!0,disableTag:!0,headerTagOption:!1})),Object(o.createElement)(aB,{title:ZM("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(aB,{title:ZM("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(aB,{title:ZM("Block Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(aB,{title:ZM("Margin Settings","blockspare"),initialOpen:!0},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:e.marginTop,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>t({marginTop:e}),marginEnableRight:!0,marginRight:e.marginRight,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>t({marginRight:e}),marginEnableBottom:!0,marginBottom:e.marginBottom,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>t({marginBottom:e}),marginEnableLeft:!0,marginLeft:e.marginLeft,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>t({marginLeft:e})})))))}}const{__:iB}=wp.i18n,{Component:sB}=wp.element,{compose:cB}=wp.compose,{AlignmentToolbar:pB,BlockControls:bB}=wp.blockEditor;var uB=cB(W,I(e=>{const{sectionAlignments:t,iconColorOption:a,customfontColorOption:o,custombackgroundColorOption:n,marginTop:r,marginRight:l,marginBottom:i,marginLeft:s,buttonFills:c,socialFontSize:p,socialFontFamily:b,socialFontWeight:u,socialFontSubset:d,socialFontSizeType:g,socialFontSizeMobile:m,socialFontSizeTablet:f}=e.attributes,h=[];return"blockspare-default-official-color"!=a&&("blockspare-social-icon-border"==c?h.push({".blockspare-social-wrapper .blockspare-social-sharing a .blockspare-social-icons":{color:o,border:"2px solid "+n}}):"blockspare-social-icon-solid"==c?h.push({".blockspare-social-sharing a .blockspare-social-icons":{color:o,backgroundColor:n}}):h.push({".blockspare-social-sharing a .blockspare-social-icons":{color:o}})),h.push({".blockspare-social-wrapper":{textAlign:t,marginTop:r?r+"px":"0px",marginRight:l?l+"px":"0px",marginBottom:i?i+"px":"0px",marginLeft:s?s+"px":"0px"},".blockspare-social-wrapper .blockspare-social-icons > span":{fontSize:p+g,...Ro(b),...Ao(u)},tablet:{".blockspare-social-wrapper .blockspare-social-icons > span":{fontSize:f+g}},mobile:{".blockspare-social-wrapper .blockspare-social-icons > span":{fontSize:m+g}}}),Do.a.all(h)}))(class extends sB{constructor(){super(...arguments)}render(){const{attributes:{sectionAlignments:e,iconColorOption:t,buttonShapes:a,buttonSizes:n,buttonOptions:r,buttonFills:l,facebook:i,facebookTitle:s,twitter:c,twitterTitle:p,pinterest:b,pinterestTitle:u,linkedin:d,linkedinTitle:g,reddit:m,redditTitle:f,email:h,emailTitle:k,animation:v,blockHoverEffect:C,iconLayoutType:O,socialLoadGoogleFonts:E,socialFontFamily:x,socialFontWeight:w},className:S,attributes:T}=this.props;let j;if(1==E){const e={google:{families:[x+(w?":"+w:"")]}};j=Object(o.createElement)(Uo,{config:e})}const F=y()([S,v?"blockspare-block-animation":"",v,C,"blockspare-social-sharing-"+e]);return[Object(o.createElement)(bB,{key:"controls"},Object(o.createElement)(pB,{value:e,onChange:e=>this.props.setAttributes({sectionAlignments:e})})),Object(o.createElement)(lB,this.props),Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:F},this.props.styles,Object(o.createElement)("div",{className:"blockspare-blocks blockspare-social-wrapper"},Object(o.createElement)("ul",{className:y()("blockspare-social-sharing",t,a,n,r,l,"blockspare-icon-only"===r?"blockspare-social-sharing-horizontal":O)},i&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{className:"blockspare-share-facebook"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-facebook-f"}),Object(o.createElement)("span",{className:"blockspare-social-text"},s)))),c&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{className:"blockspare-share-twitter"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-twitter"}),Object(o.createElement)("span",{className:"blockspare-social-text"},p)))),b&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{className:"blockspare-share-pinterest"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-pinterest-p"}),Object(o.createElement)("span",{className:"blockspare-social-text"},u)))),d&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{className:"blockspare-share-linkedin"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-linkedin"}),Object(o.createElement)("span",{className:"blockspare-social-text"},g)))),m&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{className:"blockspare-share-reddit"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-reddit-alien"}),Object(o.createElement)("span",{className:"blockspare-social-text"},f)))),h&&Object(o.createElement)("li",{className:"blockspare-hover-item"},Object(o.createElement)("a",{className:"blockspare-share-email"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fas fa-envelope"}),Object(o.createElement)("span",{className:"blockspare-social-text"},k))))))),j)]}});a(388);const{__:dB}=wp.i18n,{registerBlockType:gB}=wp.blocks;gB("blockspare/blockspare-social-sharing",{title:dB("Social Sharing","blockspare"),description:dB("Add sharing buttons to your posts and pages.","blockspare"),icon:s.a.socialShare,category:"blockspare",keywords:[dB("block","blockspare"),dB("social","blockspare"),dB("links","blockspare"),dB("share","blockspare")],example:{attributes:{facebook:!0,twitter:!0,linkedin:!0}},edit:e=>Object(o.createElement)(uB,e),save:()=>null}),a(389);var mB=a(290),fB=e=>{const{sectionAlignment:t,headertitleColor:a,headertitleColorDark:o,titleFontSize:n,headersubtitleColor:r,subtitleFontSize:l,dashColor:i,dashColor2:s,headerboxColor:c,titlePaddingTop:p,titlePaddingRight:b,titlePaddingBottom:u,titlePaddingLeft:d,subtitlePaddingTop:g,subtitlePaddingRight:m,subtitlePaddingBottom:f,subtitlePaddingLeft:h,headermarginTop:k,headermarginRight:y,headermarginBottom:v,headermarginLeft:C,titleFontFamily:O,titleFontWeight:E,titleFontSizeType:x,titleFontSizeMobile:w,titleFontSizeTablet:S,subTitleFontSize:T,subTitleFontFamily:j,subTitleFontWeight:F,subTitleFontSizeType:M,subTitleFontSizeMobile:B,subTitleFontSizeTablet:L,headerlayoutOption:z}=e.attributes,N=[];return N.push({".blockspare-section-head-wrap":{backgroundColor:c||"transparent",textAlign:t,marginTop:k+"px",marginRight:y+"px",marginBottom:v+"px",marginLeft:C+"px"}}),"blockspare-style9"===z||"blockspare-style17"===z||"blockspare-style18"===z?N.push({".blockspare-section-head-wrap .blockspare-title":{color:o},".blockspare-section-head-wrap .blockspare-title-wrapper":{paddingTop:p+"px ",paddingRight:b+"px ",paddingBottom:u+"px",paddingLeft:d+"px"}}):N.push({".blockspare-section-head-wrap .blockspare-title":{color:a,paddingTop:p+"px ",paddingRight:b+"px ",paddingBottom:u+"px",paddingLeft:d+"px"}}),N.push({...Hs(e)}),N.push({".blockspare-section-head-wrap .blockspare-title":{fontSize:n+x,...Ro(O),...Ao(E)},".blockspare-section-head-wrap .blockspare-subtitle":{color:r,fontSize:T+M,...Ro(j),...Ao(F),paddingTop:g+"px",paddingRight:m+"px",paddingBottom:f+"px",paddingLeft:h+"px"},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:S+x},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:L+M}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:w+x},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:B+M}}}),Do.a.all(N)};const{__:hB}=wp.i18n,{Component:kB}=wp.element,{InspectorControls:yB}=wp.blockEditor,{PanelBody:vB}=wp.components;class CB extends kB{render(){const{attributes:{titleFontSize:e,headerboxColor:t,headertitleColor:a,headertitleColorDark:n,headersubtitleColor:r,headerlayoutOption:l,headerTagOption:i,titlePaddingTop:s,titlePaddingRight:c,titlePaddingBottom:p,titlePaddingLeft:b,subtitlePaddingTop:u,subtitlePaddingRight:d,subtitlePaddingBottom:g,subtitlePaddingLeft:m,headermarginTop:f,headermarginRight:h,headermarginBottom:k,headermarginLeft:y,dashColor:v,dashColor2:C,titleLoadGoogleFonts:O,titleFontFamily:E,titleFontWeight:x,titleFontSubset:w,titleFontSizeType:S,titleFontSizeMobile:T,titleFontSizeTablet:j,subTitleFontSize:F,subTitleLoadGoogleFonts:M,subTitleFontFamily:B,subTitleFontWeight:L,subTitleFontSubset:z,subTitleFontSizeType:N,subTitleFontSizeMobile:P,subTitleFontSizeTablet:D},attributes:R,setAttributes:A}=this.props;return hB("Layout 1","blockspare"),hB("Layout 2","blockspare"),hB("Layout 3","blockspare"),hB("Layout 4","blockspare"),hB("Layout 5","blockspare"),hB("Layout 6","blockspare"),hB("Layout 7","blockspare"),hB("Layout 8","blockspare"),hB("Layout 9","blockspare"),Object(o.createElement)(yB,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(Os,{headerlayoutOption:l,onChangeHeaderLayput:e=>A({headerlayoutOption:e})}),Object(o.createElement)(vB,{title:hB("Typography Settings","blockspare")},Object(o.createElement)(Oo,{label:hB("Title Fonts Settings"),attributes:R,setAttributes:A,loadGoogleFonts:{value:O,label:hB("titleLoadGoogleFonts")},fontFamily:{value:E,label:hB("titleFontFamily")},fontWeight:{value:x,label:hB("titleFontWeight")},fontSubset:{value:w,label:hB("titleFontSubset")},fontSizeType:{value:S,label:hB("titleFontSizeType")},fontSize:{value:e,label:hB("titleFontSize")},fontSizeMobile:{value:T,label:hB("titleFontSizeMobile")},fontSizeTablet:{value:j,label:hB("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:i}),Object(o.createElement)(Oo,{label:hB("Subtitle Fonts Settings"),attributes:R,setAttributes:A,loadGoogleFonts:{value:M,label:hB("subTitleLoadGoogleFonts")},fontFamily:{value:B,label:hB("subTitleFontFamily")},fontWeight:{value:L,label:hB("subTitleFontWeight")},fontSubset:{value:z,label:hB("subTitleFontSubset")},fontSizeType:{value:N,label:hB("subTitleFontSizeType")},fontSize:{value:F,label:hB("subTitleFontSize")},fontSizeMobile:{value:P,label:hB("subTitleFontSizeMobile")},fontSizeTablet:{value:D,label:hB("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),Object(o.createElement)(Ci,{headerboxColor:t,onChangeboxcolor:e=>A({headerboxColor:e}),headertitleColor:a,onChangetitlecolor:e=>A({headertitleColor:e}),headertitleColorDark:n,onChangetitlecolordark:e=>A({headertitleColorDark:e}),dashColor:v,dashColor2:C,headerlayoutOption:l,onChangeDashColor:e=>A({dashColor:e}),onChangeDashColor2:e=>A({dashColor2:e}),headersubtitleColor:r,onChangesubtitlecolor:e=>A({headersubtitleColor:e})}),Object(o.createElement)(vB,{title:hB("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(vB,{title:hB("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(fi,{panelTitle:hB("Block Gaps","lockspare"),titlePaddingTop:s,onChangetitlePaddingTop:e=>A({titlePaddingTop:e}),titlePaddingRight:c,onChangetitlePaddingRight:e=>A({titlePaddingRight:e}),titlePaddingBottom:p,onChangetitlePaddingBottom:e=>A({titlePaddingBottom:e}),titlePaddingLeft:b,onChangetitlePaddingLeft:e=>A({titlePaddingLeft:e}),headersubtitleColor:r,onChangesubtitlecolor:e=>A({headersubtitleColor:e}),subtitlePaddingTop:u,onChangesubtitlePaddingTop:e=>A({subtitlePaddingTop:e}),subtitlePaddingRight:d,onChangesubtitlePaddingRight:e=>A({subtitlePaddingRight:e}),subtitlePaddingBottom:g,onChangesubtitlePaddingBottom:e=>A({subtitlePaddingBottom:e}),subtitlePaddingLeft:m,onChangesubtitlePaddingLeft:e=>A({subtitlePaddingLeft:e}),headermarginTop:f,onChangeheadermarginTop:e=>A({headermarginTop:e}),headermarginRight:h,onChangeheadermarginRight:e=>A({headermarginRight:e}),headermarginBottom:k,onChangeheadermarginBottom:e=>A({headermarginBottom:e}),headermarginLeft:y,onChangeheadermarginLeft:e=>A({headermarginLeft:e})})))}}const{Component:OB,Fragment:EB}=wp.element,{BlockControls:xB,AlignmentToolbar:wB}=wp.blockEditor,{compose:SB}=wp.compose;var TB=SB(W,I(fB))(class extends OB{render(){const{attributes:{align:e,sectionAlignment:t,headerTitle:a,headerTagOption:n,headerSubTitle:r,headerlayoutOption:l,titleLoadGoogleFonts:i,titleFontFamily:s,titleFontWeight:c,subTitleLoadGoogleFonts:p,subTitleFontFamily:b,subTitleFontWeight:u,animation:d,blockHoverEffect:g},className:m,attributes:f,setAttributes:h,isSelected:k}=this.props,v=y()([m,"blockspare-section-header-wrapper blockspare-blocks","align"+e,d?"blockspare-block-animation":"",d,g]);return[Object(o.createElement)(EB,null,Object(o.createElement)(xB,null,Object(o.createElement)(wB,{value:t,onChange:e=>{h({sectionAlignment:e})}})),Object(o.createElement)(CB,{setAttributes:h,...this.props}),Object(o.createElement)("div",{className:v},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",l,"blockspare-"+t,"blockspare-hover-item")},Object(o.createElement)(Rs,{setAttributes:h,headerTitle:a,headerTagOption:n,headerSubTitle:r,titleFontFamily:s,titleFontWeight:c,titleLoadGoogleFonts:i,subTitleLoadGoogleFonts:p,subTitleFontFamily:b,subTitleFontWeight:u,headerlayoutOption:l}))))]}});const{compose:jB}=wp.compose,{Component:FB}=wp.element;var MB=jB(W,I(fB))(class extends FB{render(){const{attributes:{align:e,sectionAlignment:t,headerTitle:a,headerTagOption:n,headerSubTitle:r,headerlayoutOption:l,animation:i,blockHoverEffect:s},className:c,attributes:p,setAttributes:b,isSelected:u}=this.props,d=((e=>{let t="";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"}})(p),y()([c,"blockspare-section-header-wrapper blockspare-blocks","align"+e,i?"blockspare-block-animation":"",s]));return Object(o.createElement)("div",{className:d,"blockspare-animation":i},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",l,"blockspare-"+t,"blockspare-hover-item")},Object(o.createElement)(rc,{headerTitle:a,headerTagOption:n,headerSubTitle:r,headerlayoutOption:l})))}});const{registerBlockType:BB}=wp.blocks,{__:LB}=wp.i18n,{name:zB,category:NB}=mB,PB={...ci,...pi,animation:{type:"string",default:""},blockHoverEffect:{type:"string",default:""}};BB(zB,{title:LB("Section Header","blockspare"),description:LB("Add your Your Header ","blockspare"),category:NB,icon:s.a.sectionHeader,attributes:PB,keywords:[LB("block","blockspare"),LB("section","blockspare"),LB("header","blockspare"),LB("title","blockspare"),LB("subtitle","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:TB,save:MB});var DB=a(291);const{__:RB}=wp.i18n,{Component:AB}=wp.element,{InspectorControls:_B}=wp.blockEditor,{Toolbar:IB,Button:HB,PanelBody:GB,PanelRow:WB,RangeControl:UB,SelectControl:qB}=wp.components;class VB extends AB{constructor(e){super(...arguments)}render(){const{attributes:{serviceItems:e,columns:t,columnsGap:a,marginTop:n,marginRight:r,marginBottom:l,marginLeft:i,blockLayout:s},isSelected:c,className:p,setAttributes:b}=this.props,u=[{value:"blockspare-layout-1",label:RB("Default","blockspare")},{value:"blockspare-layout-2",label:RB("Zigzag","blockspare")}];return Object(o.createElement)(_B,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(GB,{title:RB("Block Settings","blockspare"),initialOpen:!1},Object(o.createElement)(qB,{label:RB("Choose Layout ","blockspare"),options:u,value:s,onChange:e=>this.props.setAttributes({blockLayout:e})}),Object(o.createElement)(UB,{label:RB("Number of Columns","blockspare"),value:t,onChange:e=>this.props.setAttributes({columns:e}),min:1,max:3})),Object(o.createElement)(GB,{title:RB("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(GB,{title:RB("Block Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(UB,{label:RB("Column Gaps","blockspare"),value:a,onChange:e=>this.props.setAttributes({columnsGap:e}),min:0,max:4,step:1}),Object(o.createElement)(So,{marginEnableTop:!0,marginTop:n,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>b({marginTop:e}),marginEnableRight:!0,marginRight:r,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>b({marginRight:e}),marginEnableBottom:!0,marginBottom:l,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>b({marginBottom:e}),marginEnableLeft:!0,marginLeft:i,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>b({marginLeft:e})}))))}}a(390);var $B=a.p+"images/service-layout-1.fc208c4f.png",XB=a.p+"images/service-layout-2.df537dfb.png",YB=a.p+"images/service-layout-3.21efdf03.png",JB=a.p+"images/service-layout-4.8644a6c4.png",KB=a.p+"images/service-layout-5.e1e50245.png",ZB=a.p+"images/service-layout-6.0a456ca7.png";const{addFilter:QB,applyFilters:eL}=wp.hooks,{__:tL}=wp.i18n,{Component:aL}=wp.element,{InspectorControls:oL,BlockDescription:nL,PanelColorSettings:rL}=wp.blockEditor,{ToggleControl:lL,PanelBody:iL,FormToggle:sL,RangeControl:cL,Toolbar:pL}=wp.components;class bL extends aL{constructor(e){super(...arguments)}render(){const{attributes:{itemPadding:e,itemBorderWidth:t,itemBorderRadius:a,itemBackgroundColor:n,itemBorderColor:r,xOffset:l,yOffset:i,blur:c,spread:p,shadowColor:b,enableIcon:u,iconName:d,iconSize:g,iconStyles:m,iconBackgroundColor:f,iconBorderColor:h,iconColor:k,iconBorderRadius:y,iconmarginTop:v,iconmarginBottom:C,iconmarginLeft:O,iconmarginRight:E,iconAlignPosition:x,enableBoxShadow:w,enableImage:S,backgroundOpacity:T,enableSectionHeader:j,headerTagOption:F,headertitleColor:M,headertitleColorDark:B,headersubtitleColor:L,headerlayoutOption:z,dashColor:N,dashColor2:P,headerboxColor:D,headerAlignPosition:R,titleFontSize:A,titleLoadGoogleFonts:_,titleFontFamily:I,titleFontWeight:H,titleFontSubset:G,titleFontSizeType:W,titleFontSizeMobile:U,titleFontSizeTablet:q,subTitleFontSize:V,subTitleLoadGoogleFonts:$,subTitleFontFamily:X,subTitleFontWeight:Y,subTitleFontSubset:J,subTitleFontSizeType:K,subTitleFontSizeMobile:Z,subTitleFontSizeTablet:Q,enableDescription:ee,textColor:te,descriptionBacgroundColor:ae,descriptionAlignPosition:oe,descriptionFontSize:ne,descriptionFontFamily:re,descriptionFontWeight:le,descriptionFontSubset:ie,descriptionFontSizeType:se,descriptionFontSizeMobile:pe,descriptionFontSizeTablet:be,descriptionLoadGoogleFonts:ue,descriptionpaddingTop:de,descriptionpaddingRight:ge,descriptionpaddingBottom:me,descriptionpaddingLeft:fe,enableButton:he,buttonAlignPosition:ke,buttonStyle:ye,borderColor:ve,borderBtnTextColor:Ce,buttonBackgroundColor:Oe,buttonTextColor:Ee,buttonSize:xe,buttonShape:we,buttonTarget:Se,buttonPaddingTop:Te,buttonPaddingBottom:je,buttonPaddingLeft:Fe,buttonPaddingRight:Me,enableGradient:Be,backgroundColor1:Le,backgroundColor2:ze,gradientAngle:Ne,colorLocation1:Pe,colorLocation2:De,btnFontWeight:Re,btnBorderWidth:Ae,buttonHoverEffect:_e,buttonFontSize:Ie,buttonFontFamily:He,buttonFontWeight:Ge,buttonFontSubset:We,buttonFontSizeType:Ue,buttonFontSizeMobile:qe,buttonFontSizeTablet:Ve,buttonLoadGoogleFonts:$e,enableButtonIcon:Xe,buttonIconPosition:Ye,buttonIcon:Je,buttonIconColor:Ke,imgPaddingTop:Ze,imgPaddingBottom:Qe,imgPaddingLeft:et,imgPaddingRight:tt,imageAlignPosition:at,servicesLayout:ot,primaryColor:nt,secondaryColor:rt,tertianeryColor:lt,titlePaddingTop:it,titlePaddingRight:st,titlePaddingBottom:ct,titlePaddingLeft:pt,subtitlePaddingTop:bt,subtitlePaddingRight:ut,subtitlePaddingBottom:dt,subtitlePaddingLeft:gt,headermarginTop:mt,headermarginRight:ft,headermarginBottom:ht,headermarginLeft:kt},isSelected:yt,attributes:vt,className:Ct,setAttributes:Ot}=this.props;return Object(o.createElement)(oL,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(iL,{title:tL("Block Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Qi,{initialOpen:!1,paneltitle:tL("Layouts","blockspare"),selected:ot,options:eL("blockspare.cta.edit.layouts",[{label:tL("Style 1","blockspare"),value:"bsl-1",image:$B},{label:tL("Style 2","blockspare"),value:"bsl-2",image:XB},{label:tL("Style 3","blockspare"),value:"bsl-3",image:YB},{label:tL("Style 4","blockspare"),value:"bsl-4",image:JB},{label:tL("Style 5","blockspare"),value:"bsl-5",image:KB},{label:tL("Style 6","blockspare"),value:"bsl-6",image:ZB}]),onChange:e=>Ot({servicesLayout:e})}),Object(o.createElement)(cL,{label:tL("Service Column Border Radius","blockspare"),value:a,onChange:e=>this.props.setAttributes({itemBorderRadius:e}),min:0,max:20,step:1})),Object(o.createElement)(iL,{title:tL("Icon"),initialOpen:!1,icon:s.a.iconblockspare},Object(o.createElement)(lL,{label:tL("Enable Icon","blockspare"),checked:u,onChange:()=>this.props.setAttributes({enableIcon:!u})}),u&&Object(o.createElement)(ib,{enablecontent:!0,enableColor:!1,name:d,onChangeName:e=>Ot({iconName:e}),enableiconSize:!0,iconSize:g,onChangeIconSizeOptions:e=>Ot({iconSize:e}),enableiconStyles:!0,iconStyles:m,onChangeIconStyles:e=>Ot({iconStyles:e}),iconBackgroundColor:f,onChangeIconBackgroundColor:e=>Ot({iconBackgroundColor:e}),iconBorderColor:h,onChangeIconBorderColor:e=>Ot({iconBorderColor:e}),iconColor:k,OnChangeIconColor:e=>Ot({iconColor:e}),borderRadius:y,onChangeBorderRadius:e=>Ot({iconBorderRadius:e})})),Object(o.createElement)(iL,{title:tL("Image"),initialOpen:!1,icon:s.a.logobadge},Object(o.createElement)(lL,{label:tL("Enable Image","blockspare"),checked:S,onChange:()=>this.props.setAttributes({enableImage:!S})})),Object(o.createElement)(iL,{icon:s.a.sectionHeader,title:tL("Header","blockspare"),initialOpen:!1},Object(o.createElement)(lL,{label:tL("Enable Title/Subtitle","blockspare"),checked:j,onChange:()=>this.props.setAttributes({enableSectionHeader:!j})}),j&&Object(o.createElement)("div",null,Object(o.createElement)(Os,{headerlayoutOption:z,onChangeHeaderLayput:e=>Ot({headerlayoutOption:e})}))),Object(o.createElement)(iL,{title:tL("Description","blockspare"),initialOpen:!1,icon:s.a.iconlist},Object(o.createElement)(lL,{label:tL("Enable Description","blockspare"),checked:ee,onChange:()=>this.props.setAttributes({enableDescription:!ee})})),Object(o.createElement)(iL,{title:tL("Button","blockspare"),initialOpen:!1,icon:s.a.button},Object(o.createElement)(lL,{label:tL("Enable button","blockspare"),checked:he,onChange:()=>this.props.setAttributes({enableButton:!he})}),he&&Object(o.createElement)(lL,{label:tL("Enable Icon","magic-content-box"),checked:Xe,onChange:()=>this.props.setAttributes({enableButtonIcon:!Xe})}),"none"===ye&&he&&Object(o.createElement)(lL,{label:tL("Enable Gradient","blockspare"),checked:Be,onChange:()=>this.props.setAttributes({enableGradient:!Be})}),he&&Object(o.createElement)("div",null,Object(o.createElement)(Tl,{enableButtonBackgroundColor:!1,enableButtonTarget:!0,buttonTarget:Se,onChangeButtonTarget:e=>Ot({buttonTarget:!Se}),enableGradient:Be,onChangeGradient:e=>Ot({enableGradient:e}),enableButtonSize:!0,buttonSize:xe,onChangeButtonSize:e=>Ot({buttonSize:e}),enableButtonShape:!0,buttonShape:we,onChangeButtonShape:e=>Ot({buttonShape:e}),buttonBackgroundColor:Oe,onChangeButtonColor:e=>Ot({buttonBackgroundColor:e}),buttonTextColor:Ee,onChangeButtonTextColor:e=>Ot({buttonTextColor:e}),enableButtonStyle:!0,buttonStyle:ye,onChangeBorderStyle:e=>Ot({buttonStyle:e}),enablehover:!0,buttonHoverEffect:_e,onchangeButtonHoverEffect:e=>Ot({buttonHoverEffect:e}),borderColor:ve,onchangeBorderColor:e=>Ot({borderColor:e}),borderBtnTextColor:Ce,onChangeBorderBtnTextColor:e=>Ot({borderBtnTextColor:e}),enableBtnBorderWidth:!0,btnBorderWidth:Ae,onchangebtnBorderWidth:e=>Ot({btnBorderWidth:e}),enableBtnFontWeight:!0,btnFontWeight:Re,onchangeBtnFontWeight:e=>Ot({btnFontWeight:e}),enableButtonIcon:Xe,name:Je,onChangeName:e=>Ot({buttonIcon:e}),enableIconPosotion:!0,buttonIconPosition:Ye,onChangebuttonIconPosition:e=>Ot({buttonIconPosition:e})}))),Object(o.createElement)(iL,{title:tL("Typography Settings","blockspare"),initialOpen:!1},j&&Object(o.createElement)(iL,{title:tL("Title/subtitle","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:tL("Title Fonts Settings"),attributes:vt,setAttributes:Ot,loadGoogleFonts:{value:_,label:tL("titleLoadGoogleFonts")},fontFamily:{value:I,label:tL("titleFontFamily")},fontWeight:{value:H,label:tL("titleFontWeight")},fontSubset:{value:G,label:tL("titleFontSubset")},fontSizeType:{value:W,label:tL("titleFontSizeType")},fontSize:{value:A,label:tL("titleFontSize")},fontSizeMobile:{value:U,label:tL("titleFontSizeMobile")},fontSizeTablet:{value:q,label:tL("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:F}),Object(o.createElement)(Oo,{label:tL("Subtitle Fonts Settings"),attributes:vt,setAttributes:Ot,loadGoogleFonts:{value:$,label:tL("subTitleLoadGoogleFonts")},fontFamily:{value:X,label:tL("subTitleFontFamily")},fontWeight:{value:Y,label:tL("subTitleFontWeight")},fontSubset:{value:J,label:tL("subTitleFontSubset")},fontSizeType:{value:K,label:tL("subTitleFontSizeType")},fontSize:{value:V,label:tL("subTitleFontSize")},fontSizeMobile:{value:Z,label:tL("subTitleFontSizeMobile")},fontSizeTablet:{value:Q,label:tL("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),ee&&Object(o.createElement)(iL,{title:tL("Description","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:tL("Description Fonts Settings"),attributes:vt,setAttributes:Ot,loadGoogleFonts:{value:ue,label:tL("descriptionLoadGoogleFonts")},fontFamily:{value:re,label:tL("descriptionFontFamily")},fontWeight:{value:le,label:tL("descriptionFontWeight")},fontSubset:{value:ie,label:tL("descriptionFontSubset")},fontSizeType:{value:se,label:tL("descriptionFontSizeType")},fontSize:{value:ne,label:tL("descriptionFontSize")},fontSizeMobile:{value:pe,label:tL("descriptionFontSizeMobile")},fontSizeTablet:{value:be,label:tL("descriptionFontSizeTablet")},disableLineHeight:!0})),he&&Object(o.createElement)(iL,{title:tL("Button","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:tL("Button Fonts Settings"),attributes:vt,setAttributes:Ot,loadGoogleFonts:{value:$e,label:tL("buttonLoadGoogleFonts")},fontFamily:{value:He,label:tL("buttonFontFamily")},fontWeight:{value:Ge,label:tL("buttonFontWeight")},fontSubset:{value:We,label:tL("buttonFontSubset")},fontSizeType:{value:Ue,label:tL("buttonFontSizeType")},fontSize:{value:Ie,label:tL("buttonFontSize")},fontSizeMobile:{value:qe,label:tL("buttonFontSizeMobile")},fontSizeTablet:{value:Ve,label:tL("buttonFontSizeTablet")},disableLineHeight:!0}))),Object(o.createElement)(iL,{title:tL("Color Settings","blockspare"),initialOpen:!1},Object(o.createElement)(iL,{title:tL("Block Color","blockspare"),initialOpen:!1},0<t&&Object(o.createElement)(rL,{title:tL("Border Color","blockspare"),initialOpen:!1,colorSettings:[{value:r,onChange:e=>Ot({itemBorderColor:e}),label:tL("Border Color","blockspare")}]}),Object(o.createElement)(lL,{label:tL("Enable Box Shadow","blockspare"),checked:w,onChange:()=>this.props.setAttributes({enableBoxShadow:!w})}),w&&Object(o.createElement)(ji,{shadowColor:b,onChangeShadowColor:e=>Ot({shadowColor:e}),xOffset:l,onChangeXOffset:e=>Ot({xOffset:e}),yOffset:i,onChangeYOffset:e=>Ot({yOffset:e}),blur:c,onChangeBlur:e=>Ot({blur:e}),spread:p,onChangeSpread:e=>Ot({spread:e})})),Object(o.createElement)(rL,{title:tL("Item Color","blockspare"),initialOpen:!1,colorSettings:[{value:nt,onChange:e=>Ot({primaryColor:e}),label:tL("Primary Color","blockspare")},{value:rt,onChange:e=>Ot({secondaryColor:e}),label:tL("Secondary Color","blockspare")},{value:lt,onChange:e=>Ot({tertianeryColor:e}),label:tL("Tertianery Color","blockspare")}]}),u&&Object(o.createElement)(iL,{title:tL("Icon Color","blockspare"),initialOpen:!1},Object(o.createElement)(ib,{enablecontent:!1,enableColor:!0,name:d,onChangeName:e=>Ot({iconName:e}),enableiconSize:!0,iconSize:g,onChangeIconSizeOptions:e=>Ot({iconSize:e}),enableiconStyles:!0,iconStyles:m,onChangeIconStyles:e=>Ot({iconStyles:e}),iconBackgroundColor:f,onChangeIconBackgroundColor:e=>Ot({iconBackgroundColor:e}),iconBorderColor:h,onChangeIconBorderColor:e=>Ot({iconBorderColor:e}),iconColor:k,OnChangeIconColor:e=>Ot({iconColor:e}),borderRadius:y,onChangeBorderRadius:e=>Ot({iconBorderRadius:e}),backgroundOpacity:T,onChangeBackgroundOpacity:e=>Ot({backgroundOpacity:e})})),j&&Object(o.createElement)(iL,{title:tL("Title/subtitle Color","blockspare"),initialOpen:!1},Object(o.createElement)(Ci,{headerboxColor:D,onChangeboxcolor:e=>Ot({headerboxColor:e}),headertitleColor:M,onChangetitlecolor:e=>Ot({headertitleColor:e}),headertitleColorDark:B,onChangetitlecolordark:e=>Ot({headertitleColorDark:e}),dashColor:N,dashColor2:P,headerlayoutOption:z,onChangeDashColor:e=>Ot({dashColor:e}),onChangeDashColor2:e=>Ot({dashColor2:e}),headersubtitleColor:L,onChangesubtitlecolor:e=>Ot({headersubtitleColor:e})})),ee&&Object(o.createElement)(iL,{title:tL("Description Color","blockspare"),initialOpen:!1},Object(o.createElement)(rL,{title:tL("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:te,onChange:e=>Ot({textColor:e}),label:tL("Text Color","blockspare")},{value:ae,onChange:e=>Ot({descriptionBacgroundColor:e}),label:tL("Background Color","blockspare")}]})),he&&Object(o.createElement)(iL,{title:tL("Button Color","blockspare"),initialOpen:!1},Object(o.createElement)(Tl,{enableButtonBackgroundColor:!0,enableButtonTarget:!1,buttonTarget:Se,onChangeButtonTarget:e=>Ot({buttonTarget:!Se}),enableGradient:Be,onChangeGradient:e=>Ot({enableGradient:e}),enableButtonSize:!1,buttonSize:xe,onChangeButtonSize:e=>Ot({buttonSize:e}),enableButtonShape:!1,buttonShape:we,onChangeButtonShape:e=>Ot({buttonShape:e}),buttonBackgroundColor:Oe,onChangeButtonColor:e=>Ot({buttonBackgroundColor:e}),buttonTextColor:Ee,onChangeButtonTextColor:e=>Ot({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:ye,onChangeBorderStyle:e=>Ot({buttonStyle:e}),enablehover:!1,buttonHoverEffect:_e,onchangeButtonHoverEffect:e=>Ot({buttonHoverEffect:e}),borderColor:ve,onchangeBorderColor:e=>Ot({borderColor:e}),borderBtnTextColor:Ce,onChangeBorderBtnTextColor:e=>Ot({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:Ae,onchangebtnBorderWidth:e=>Ot({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:Re,onchangeBtnFontWeight:e=>Ot({btnFontWeight:e}),enableIconcolor:!0,iconColor:Ke,onChangeIconColor:e=>Ot({buttonIconColor:e})}),Be&&"none"===ye&&Object(o.createElement)(Ll,{backgroundColor1:Le,onChangeBackgroundColor1:e=>Ot({backgroundColor1:e}),backgroundColor2:ze,onChangeBackgroundColor2:e=>Ot({backgroundColor2:e}),gradientAngle:Ne,onChangeGradientAngle:e=>Ot({gradientAngle:e}),colorLocation1:Pe,onChangeColorLocation1:e=>Ot({colorLocation1:e}),colorLocation2:De,onChangeColorLocation2:e=>Ot({colorLocation2:e})}))),Object(o.createElement)(iL,{title:"Alignment",initialOpen:!1},S&&Object(o.createElement)(iL,{title:"Image"},Object(o.createElement)(pL,{controls:[{icon:"align-left",title:tL("Left","blockspare"),onClick:()=>Ot({imageAlignPosition:"left"}),isActive:"left"===at},{icon:"align-center",title:tL("Center","blockspare"),onClick:()=>Ot({imageAlignPosition:"center"}),isActive:"center"===at},{icon:"align-right",title:tL("Right","blockspare"),onClick:()=>Ot({imageAlignPosition:"right"}),isActive:"right"===at}]})),u&&Object(o.createElement)(iL,{title:"Icon"},Object(o.createElement)(pL,{controls:[{icon:"align-left",title:tL("Left","blockspare"),onClick:()=>Ot({iconAlignPosition:"left"}),isActive:"left"===x},{icon:"align-center",title:tL("Center","blockspare"),onClick:()=>Ot({iconAlignPosition:"center"}),isActive:"center"===x},{icon:"align-right",title:tL("Right","blockspare"),onClick:()=>Ot({iconAlignPosition:"right"}),isActive:"right"===x}]})),j&&Object(o.createElement)(iL,{title:"Title"},Object(o.createElement)(pL,{controls:[{icon:"align-left",title:tL("Left","blockspare"),onClick:()=>Ot({headerAlignPosition:"left"}),isActive:"left"===R},{icon:"align-center",title:tL("Center","blockspare"),onClick:()=>Ot({headerAlignPosition:"center"}),isActive:"center"===R},{icon:"align-right",title:tL("Right","blockspare"),onClick:()=>Ot({headerAlignPosition:"right"}),isActive:"right"===R}]})),ee&&Object(o.createElement)(iL,{title:"Description"},Object(o.createElement)(pL,{controls:[{icon:"align-left",title:tL("Left","blockspare"),onClick:()=>Ot({descriptionAlignPosition:"left"}),isActive:"left"===oe},{icon:"align-center",title:tL("Center","blockspare"),onClick:()=>Ot({descriptionAlignPosition:"center"}),isActive:"center"===oe},{icon:"align-right",title:tL("Right","blockspare"),onClick:()=>Ot({descriptionAlignPosition:"right"}),isActive:"right"===oe}]})),he&&Object(o.createElement)(iL,{title:"Button"},Object(o.createElement)(pL,{controls:[{icon:"align-left",title:tL("Left","blockspare"),onClick:()=>Ot({buttonAlignPosition:"left"}),isActive:"left"===ke},{icon:"align-center",title:tL("Center","blockspare"),onClick:()=>Ot({buttonAlignPosition:"center"}),isActive:"center"===ke},{icon:"align-right",title:tL("Right","blockspare"),onClick:()=>Ot({buttonAlignPosition:"right"}),isActive:"right"===ke}]}))),Object(o.createElement)(iL,{title:tL("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),S&&Object(o.createElement)(Cu,this.props)),Object(o.createElement)(iL,{title:tL("Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(iL,{title:tL("Block","blockspare"),initialOpen:!1},Object(o.createElement)(cL,{label:tL("Service Column Padding","blockspare"),value:e,onChange:e=>this.props.setAttributes({itemPadding:e}),min:0,max:20,initialPosition:5,step:1})),u&&Object(o.createElement)(iL,{title:tL("Icon Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:v,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>Ot({iconmarginTop:e}),marginEnableBottom:!0,marginBottom:C,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>Ot({iconmarginBottom:e}),marginEnableLeft:!0,marginLeft:O,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>Ot({iconmarginLeft:e}),marginEnableRight:!0,marginRight:E,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>Ot({iconmarginRight:e})})),S&&Object(o.createElement)(iL,{title:tL("Image Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:Ze,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>Ot({imgPaddingTop:e}),paddingEnableBottom:!0,paddingBottom:Qe,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>Ot({imgPaddingBottom:e}),paddingEnableLeft:!0,paddingLeft:et,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>Ot({imgPaddingLeft:e}),paddingEnableRight:!0,paddingRight:tt,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>Ot({imgPaddingRight:e})})),j&&Object(o.createElement)(fi,{panelTitle:tL("Title/Subtitle Gaps","lockspare"),titlePaddingTop:it,onChangetitlePaddingTop:e=>Ot({titlePaddingTop:e}),titlePaddingRight:st,onChangetitlePaddingRight:e=>Ot({titlePaddingRight:e}),titlePaddingBottom:ct,onChangetitlePaddingBottom:e=>Ot({titlePaddingBottom:e}),titlePaddingLeft:pt,onChangetitlePaddingLeft:e=>Ot({titlePaddingLeft:e}),headersubtitleColor:L,onChangesubtitlecolor:e=>Ot({headersubtitleColor:e}),subtitlePaddingTop:bt,onChangesubtitlePaddingTop:e=>Ot({subtitlePaddingTop:e}),subtitlePaddingRight:ut,onChangesubtitlePaddingRight:e=>Ot({subtitlePaddingRight:e}),subtitlePaddingBottom:dt,onChangesubtitlePaddingBottom:e=>Ot({subtitlePaddingBottom:e}),subtitlePaddingLeft:gt,onChangesubtitlePaddingLeft:e=>Ot({subtitlePaddingLeft:e}),headermarginTop:mt,onChangeheadermarginTop:e=>Ot({headermarginTop:e}),headermarginRight:ft,onChangeheadermarginRight:e=>Ot({headermarginRight:e}),headermarginBottom:ht,onChangeheadermarginBottom:e=>Ot({headermarginBottom:e}),headermarginLeft:kt,onChangeheadermarginLeft:e=>Ot({headermarginLeft:e})}),ee&&Object(o.createElement)(iL,{title:tL("Description Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:de,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>Ot({descriptionpaddingTop:e}),paddingEnableRight:!0,paddingRight:ge,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>Ot({descriptionpaddingRight:e}),paddingEnableBottom:!0,paddingBottom:me,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>Ot({descriptionpaddingBottom:e}),paddingEnableLeft:!0,paddingLeft:fe,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>Ot({descriptionpaddingLeft:e})})),he&&Object(o.createElement)(iL,{title:tL("Button Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:Te,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>Ot({buttonPaddingTop:e}),paddingEnableBottom:!0,paddingBottom:je,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>Ot({buttonPaddingBottom:e}),paddingEnableLeft:!0,paddingLeft:Fe,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>Ot({buttonPaddingLeft:e}),paddingEnableRight:!0,paddingRight:Me,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>Ot({buttonPaddingRight:e})})))))}}var uL=e=>{const{itemBorderWidth:t,itemBorderColor:a,itemBorderRadius:o,itemBackgroundColor:n,itemPadding:r,servicesLayout:l,primaryColor:i,secondaryColor:s,tertianeryColor:c}=e.attributes,p=[];return p.push({".blockspare-block-service-table-inside":{...As(e.attributes),borderWidth:t?t+"px":null,borderStyle:0<t?"solid":null,borderColor:a||null,borderRadius:o?o+"px":null,backgroundColor:n||"",padding:r+"px"}}),"bsl-1"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-2"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-3"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-4"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:s},".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-5"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:c},".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-6"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:c},".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-7"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:s},".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-8"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:c},".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-9"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:c},".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-10"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:s},".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-11"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:c},".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-12"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:c},".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-13"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:s},".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-14"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:c},".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-15"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:c},".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-16"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:s},".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-17"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:c},".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),"bsl-18"===l&&(p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:before":{backgroundColor:i}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-2:before":{backgroundColor:s}}),p.push({".blockspare-block-service-table-inside .blockspare-service-wrap-1:after":{backgroundColor:c},".blockspare-block-service-table-inside .blockspare-service-wrap-3:before":{backgroundColor:c}})),Do.a.all(p)},dL=e=>{const{sectionAlignment:t,iconStyles:a,iconBackgroundColor:o,iconBorderColor:n,iconColor:r,iconBorderRadius:l,iconmarginTop:i,iconmarginBottom:s,iconmarginLeft:c,iconmarginRight:p,iconAlignPosition:b,backgroundOpacity:u}=e.attributes,d=[];return d.push({".blockspare-block-icon-wrapper":{textAlign:b,marginTop:i+"px",marginBottom:s+"px",marginLeft:c+"px",marginRight:p+"px"}}),"blockspare-icon-style2"===a?d.push({".blockspare-block-icon-wrapper .blockspare-block-icon":{color:r||"#fff",borderRadius:l+"%"},".blockspare-block-icon-wrapper .blockspare-block-icon::after":{backgroundColor:o||"#8b249c",opacity:u}}):"blockspare-icon-style3"===a?d.push({".blockspare-block-icon-wrapper .blockspare-block-icon":{borderColor:n||"#8b249c",color:r||"#fff",borderRadius:l+"%"}}):d.push({".blockspare-block-icon":{color:r||"#fff"}}),Do.a.all(d)};const{Component:gL,Fragment:mL}=wp.element,{__:fL}=wp.i18n,{compose:hL}=wp.compose,{AlignmentToolbar:kL,BlockControls:yL}=wp.blockEditor;var vL=hL(W,I(dL,{editorMode:!0}))(class extends gL{constructor(){super(...arguments),this.state={device:"md",spacer:!0}}componentDidMount(){const{setAttributes:e,clientId:t,attributes:{uniqueId:a}}=this.props,o=t.substr(0,6);a?a&&a!=o&&e({uniqueId:o}):e({uniqueId:o})}render(){const{attributes:{iconName:e,iconSize:t,iconStyles:a,sectionAlignment:n},className:r,attributes:l,setAttributes:i}=this.props,s=y()([r,"blockspare-service-icon"]);return Object(o.createElement)(mL,null,Object(o.createElement)("div",{className:s},this.props.styles,Object(o.createElement)("div",{className:"blockspare-block-icon-wrapper"},Object(o.createElement)("div",{className:y()("blockspare-block-icon",t,a)},Object(o.createElement)("i",{className:e})))))}}),CL=e=>{const{imgPaddingTop:t,imgPaddingBottom:a,imgPaddingLeft:o,imgPaddingRight:n}=e.attributes,r=[];return r.push({".blockspare-service-image":{paddingTop:t+"px",paddingBottom:a+"px",paddingLeft:o+"px",paddingRight:n+"px"}}),Do.a.all(r)};const{__:OL}=wp.i18n,{Component:EL,Fragment:xL}=wp.element,{compose:wL}=wp.compose,{MediaUpload:SL}=wp.blockEditor,{IconButton:TL}=wp.components;var jL=wL(W,I(CL))(class extends EL{render(){const{attributes:{imgURL:e,imgID:t,imgAlt:a,enableImage:n,imageAlignPosition:r},attributes:l,setAttributes:i}=this.props,s=()=>{i({imgID:null,imgURL:null,imgAlt:null})};return Object(o.createElement)(xL,null,Object(o.createElement)("div",{className:"blockspare-img-wrap"},this.props.styles,Object(o.createElement)(SL,{onSelect:e=>{i({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:t,render:t=>{let{open:a}=t;return Object(o.createElement)("div",{className:"img-controls"},Object(o.createElement)(TL,{className:"aft-cta-inspector-media",label:OL("Edit image","blockspare"),icon:"format-image",onClick:a},e&&!!e.length&&Object(o.createElement)("p",null,OL("Edit Image","blockspare")),!e&&Object(o.createElement)("p",null,OL("Add Image","blockspare"))),e&&!!e.length&&Object(o.createElement)(TL,{className:"blockspare-cta-inspector-media",label:OL("Remove Image","blockspare"),icon:"dismiss",onClick:s},OL("Remove","blockspare")))}}),Object(o.createElement)("div",{className:y()("blockspare-service-image blockspare-img-"+r)},e&&!!e.length&&Object(o.createElement)("img",{src:e,alt:a}))))}}),FL=e=>{const{headerAlignPosition:t,headertitleColor:a,headertitleColorDark:o,titleFontSize:n,headersubtitleColor:r,subtitleFontSize:l,dashColor:i,dashColor2:s,headerboxColor:c,titleFontFamily:p,titleFontWeight:b,titleFontSizeType:u,titleFontSizeMobile:d,titleFontSizeTablet:g,subTitleFontSize:m,subTitleLoadGoogleFonts:f,subTitleFontFamily:h,subTitleFontWeight:k,subTitleFontSubset:y,subTitleFontSizeType:v,subTitleFontSizeMobile:C,subTitleFontSizeTablet:O,headerpaddingTop:E,headerpaddingBottom:x,titlePaddingTop:w,titlePaddingRight:S,titlePaddingBottom:T,titlePaddingLeft:j,subtitlePaddingTop:F,subtitlePaddingRight:M,subtitlePaddingBottom:B,subtitlePaddingLeft:L,headermarginTop:z,headermarginRight:N,headermarginBottom:P,headermarginLeft:D,headerlayoutOption:R}=e.attributes,A=[];return A.push({".blockspare-section-head-wrap":{backgroundColor:c||"transparent",textAlign:t,marginTop:z+"px",marginRight:N+"px",marginBottom:P+"px",marginLeft:D+"px"}}),"blockspare-style9"===R||"blockspare-style17"===R||"blockspare-style18"===R?A.push({".blockspare-section-head-wrap .blockspare-title":{color:o},".blockspare-section-head-wrap .blockspare-title-wrapper":{paddingTop:w+"px ",paddingRight:S+"px ",paddingBottom:T+"px",paddingLeft:j+"px"}}):A.push({".blockspare-section-head-wrap .blockspare-title":{color:a,paddingTop:w+"px ",paddingRight:S+"px ",paddingBottom:T+"px",paddingLeft:j+"px"}}),A.push({...Hs(e)}),A.push({".blockspare-section-head-wrap .blockspare-title":{fontSize:n+u,...Ro(p),...Ao(b)},".blockspare-section-head-wrap .blockspare-subtitle":{color:r,fontSize:m+v,...Ro(h),...Ao(k),paddingTop:F+"px",paddingRight:M+"px",paddingBottom:B+"px",paddingLeft:L+"px"},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+u},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:O+v}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:d+u},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:C+v}}}),Do.a.all(A)};const{Component:ML,Fragment:BL}=wp.element,{__:LL}=wp.i18n,{compose:zL}=wp.compose,{RichText:NL,AlignmentToolbar:PL,BlockControls:DL}=wp.blockEditor;var RL=zL(W,I(FL))(class extends ML{constructor(){super(...arguments)}render(){const{attributes:{align:e,headerAlignPosition:t,headerTagOption:a,headerTitle:n,headerSubTitle:r,headerlayoutOption:l,titleLoadGoogleFonts:i,titleFontFamily:s,titleFontWeight:c,subTitleLoadGoogleFonts:p,subTitleFontFamily:b,subTitleFontWeight:u},className:d,attributes:g,setAttributes:m}=this.props,f=y()([d,"blockspare-section-header-wrapper blockspare-blocks","align"+e]);return[Object(o.createElement)(BL,null,Object(o.createElement)("div",{className:f},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",l,"blockspare-"+t)},Object(o.createElement)(Rs,{setAttributes:m,headerTitle:n,headerTagOption:a,headerSubTitle:r,titleFontFamily:s,titleFontWeight:c,titleLoadGoogleFonts:i,subTitleLoadGoogleFonts:p,subTitleFontFamily:b,subTitleFontWeight:u,headerlayoutOption:l}))))]}}),AL=e=>{const{buttonAlignPosition:t,buttonPaddingTop:a,buttonPaddingRight:o,buttonPaddingBottom:n,buttonPaddingLeft:r,buttonStyle:l,enableGradient:i,backgroundColor1:s,backgroundColor2:c,gradientAngle:p,colorLocation1:b,colorLocation2:u,btnFontWeight:d,btnBorderWidth:g,borderColor:m,buttonBackgroundColor:f,borderBtnTextColor:h,buttonTextColor:k,buttonFontSize:y,buttonFontFamily:v,buttonFontWeight:C,buttonFontSizeType:O,buttonFontSizeMobile:E,buttonFontSizeTablet:x,enableButtonIcon:w,buttonIconColor:S}=e.attributes,T=[];if(T.push({".blockspare-block-button":{textAlign:t},".blockspare-pricing-table-button":{paddingTop:a?a+"px":"0px",paddingRight:o?o+"px":"0px",paddingBottom:n?n+"px":"0px",paddingLeft:r?r+"px":"0px"},"blocks-button__inline-link":{textAlign:t}}),w&&T.push({".blockspare-block-button i":{color:S}}),"none"===l)if(1==i){const e=p+"deg",t=b+"%",a=u+"%";T.push({".blockspare-block-button span":{color:k||"#fff",borderWidth:g+"px"},".wp-block-blockspare-blockspare-services-inner-item .blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${s||"#3B1A5B"} ${t},${c||"#8B249C"} ${a})`},".wp-block-blockspare-blockspare-services-inner-item .blockspare-block-button .blockspare-button:visited":{backgroundImage:`linear-gradient(${e},${s||"#3B1A5B"} ${t},${c||"#8B249C"} ${a})`},".wp-block-blockspare-blockspare-services-inner-item .blockspare-block-button .blockspare-button:focus":{backgroundImage:`linear-gradient(${e},${s||"#3B1A5B"} ${t},${c||"#8B249C"} ${a})`}})}else T.push({".blockspare-block-button span":{color:k||"#fff",borderWidth:g+"px"},".wp-block-blockspare-blockspare-services-inner-item .blockspare-block-button .blockspare-button":{backgroundColor:f||"#3c1a5b"},".wp-block-blockspare-blockspare-services-inner-item .blockspare-block-button .blockspare-button:visited":{backgroundColor:f||"#3c1a5b"},".wp-block-blockspare-blockspare-services-inner-item .blockspare-block-button .blockspare-button:focus":{backgroundColor:f||"#3c1a5b"}});else T.push({".blockspare-block-button span":{color:h||"#404040"},".blockspare-block-button .blockspare-button":{borderColor:m||"#3c1a5b",borderStyle:l,borderWidth:g+"px",backgroundColor:"transparent"}});return T.push({".blockspare-block-button span":{fontSize:y+O,...Ro(v),...Ao(C)},tablet:{".blockspare-block-button span":{fontSize:x+O}},mobile:{".blockspare-block-button span":{fontSize:E+O}}}),Do.a.all(T)};const{__:_L}=wp.i18n,{compose:IL}=wp.compose,{Component:HL,Fragment:GL}=wp.element,{RichText:WL,AlignmentToolbar:UL,BlockControls:qL,URLInput:VL}=wp.blockEditor,{IconButton:$L,Dashicon:XL}=wp.components;var YL=IL([W,I(AL)])(class extends HL{constructor(){super(...arguments)}render(){const{attributes:{buttonText:e,buttonUrl:t,sectionAlignment:a,buttonSize:n,buttonShape:r,buttonHoverEffect:l,buttonLoadGoogleFonts:i,buttonFontFamily:s,buttonFontWeight:c,enableButtonIcon:p,buttonIcon:b,buttonIconPosition:u},className:d,isSelected:g,attributes:m,setAttributes:f,backgroundColor:h}=this.props;let k;if(1==i){const e={google:{families:[s+(c?":"+c:"")]}};k=Object(o.createElement)(Uo,{config:e})}const v=y()({"blockspare-pricing-table-button":!0}),C=y()([d,"blockspare-block-button-wrap"]);return[Object(o.createElement)(GL,null,Object(o.createElement)("div",{className:C},this.props.styles,Object(o.createElement)("div",{className:v||void 0},Object(o.createElement)("div",{className:"blockspare-block-button"},Object(o.createElement)("a",{href:"#",className:y()("blockspare-button",r,n,l,u)},p&&Object(o.createElement)("i",{className:b}),Object(o.createElement)(WL,{tagName:"span",placeholder:_L("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:""+e,allowedFormats:[],onChange:e=>f({buttonText:e})}))),Object(o.createElement)("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+a,onSubmit:e=>e.preventDefault()},Object(o.createElement)(XL,{icon:"admin-links"}),Object(o.createElement)(VL,{className:"button-url",value:t,onChange:e=>f({buttonUrl:e})}),Object(o.createElement)($L,{icon:"editor-break",label:_L("Apply","blockspare"),type:"submit"})))),k)]}}),JL=e=>{const{descriptionAlignPosition:t,customFontSize:a,descriptionBacgroundColor:o,textColor:n,descriptionpaddingTop:r,descriptionpaddingRight:l,descriptionpaddingBottom:i,descriptionpaddingLeft:s,descriptionFontSize:c,descriptionFontFamily:p,descriptionFontWeight:b,descriptionFontSubset:u,descriptionFontSizeType:d,descriptionFontSizeMobile:g,descriptionFontSizeTablet:m,descriptionLoadGoogleFonts:f}=e.attributes,h=[];return h.push({".blockspare-services-inner-description":{fontSize:c+d,...Ro(p),...Ao(b),color:n||"#6d6d6d",backgroundColor:o,paddingTop:r?r+"px":void 0,paddingRight:l?l+"px":void 0,paddingBottom:i?i+"px":void 0,paddingLeft:s?s+"px":void 0},tablet:{".blockspare-services-inner-description":{fontSize:m+d}},mobile:{".blockspare-services-inner-description":{fontSize:g+d}}}),t&&h.push({".blockspare-services-inner-description":{textAlign:t}}),Do.a.all(h)};const{__:KL}=wp.i18n,{compose:ZL}=wp.compose,{Component:QL,Fragment:ez}=wp.element,{RichText:tz,AlignmentToolbar:az,BlockControls:oz}=wp.blockEditor;var nz=ZL([W,I(JL)])(class extends QL{constructor(){super(...arguments)}render(){const{attributes:{features:e,descriptionLoadGoogleFonts:t,descriptionFontFamily:a,descriptionFontWeight:n,sectionAlignment:r},isSelected:l,className:i,setAttributes:s}=this.props;let c;if(1==t){const e={google:{families:[a+(n?":"+n:"")]}};c=Object(o.createElement)(Uo,{config:e})}const p=y()([i,"blockspare-services-description"]);return[Object(o.createElement)(ez,null,Object(o.createElement)("div",{className:p},this.props.styles,Object(o.createElement)(tz,{tagName:"p",itemProp:"description",placeholder:KL("Add a service feature","blockspare"),keepPlaceholderOnFocus:!0,value:e,onChange:e=>s({features:e}),className:"blockspare-services-inner-description"})),c)]}});const{__:rz}=wp.i18n,{Component:lz,Fragment:iz}=wp.element,{compose:sz}=wp.compose;var cz=sz(W,I(uL))(class extends lz{render(){const{attributes:{alignment:e,enableSectionHeader:t,enableButton:a,enableDescription:n,enableIcon:r,enableImage:l,servicesLayout:i,iconSize:s,blockHoverEffect:c,imageHoverEffect:p},attributes:b,className:u,setAttributes:d}=this.props;return Object(o.createElement)(iz,null,Object(o.createElement)(bL,this.props),Object(o.createElement)("div",{className:y()(u,e?"blockspare-block-service-table-"+e:"blockspare-block-service-table-center","blockspare-block-service-table",s,r&&l?"enable-img-icon":"",r?"enable-icon":"",l?"enable-img":"","bsl-1"==i?"layout-item-1 order-1":"","bsl-2"==i?"layout-item-1 order-2":"","bsl-3"==i?"layout-item-1 order-3":"","bsl-4"==i?"layout-item-2 order-1":"","bsl-5"==i?"layout-item-2 order-2":"","bsl-6"==i?"layout-item-2 order-3":"","bsl-7"==i?"layout-item-3 order-1":"","bsl-8"==i?"layout-item-3 order-2":"","bsl-9"==i?"layout-item-3 order-3":"","bsl-10"==i?"layout-item-4 order-1":"","bsl-11"==i?"layout-item-4 order-2":"","bsl-12"==i?"layout-item-4 order-3":"","bsl-13"==i?"layout-item-5 order-1":"","bsl-14"==i?"layout-item-5 order-2":"","bsl-15"==i?"layout-item-5 order-3":"","bsl-16"==i?"layout-item-6 order-1":"","bsl-17"==i?"layout-item-6 order-2":"","bsl-18"==i?"layout-item-6 order-3":"",c,p),itemScope:!0,itemType:"http://schema.org/Product"},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-block-service-table-inside blockspare-hover-item")},Object(o.createElement)("div",{className:"blockspare-service-wrap-1"},r&&Object(o.createElement)(vL,this.props),l&&Object(o.createElement)(jL,this.props)),Object(o.createElement)("div",{className:"blockspare-service-wrap-2"},t&&Object(o.createElement)(RL,this.props)),Object(o.createElement)("div",{className:"blockspare-service-wrap-3"},n&&Object(o.createElement)(nz,this.props),a&&Object(o.createElement)(YL,this.props)))))}});const{Component:pz}=wp.element,{compose:bz}=wp.compose;var uz=bz(W,I(dL))(class extends pz{render(){const{attributes:{iconName:e,iconSize:t,iconStyles:a},className:n}=this.props,r=y()([n,"blockspare-service-icon"]);return Object(o.createElement)("div",{className:r},this.props.styles,Object(o.createElement)("div",{className:"blockspare-block-icon-wrapper"},Object(o.createElement)("div",{className:y()("blockspare-block-icon",t,a)},Object(o.createElement)("i",{className:e}))))}});const{__:dz}=wp.i18n,{Component:gz,Fragment:mz}=wp.element,{compose:fz}=wp.compose;var hz=fz(W,I(CL))(class extends gz{render(){const{attributes:{imgURL:e,imageAlignPosition:t,enableImage:a}}=this.props;return Object(o.createElement)(mz,null,this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-service-image blockspare-img-"+t)},e&&Object(o.createElement)("img",{src:e})))}});const{Component:kz}=wp.element,{__:yz}=wp.i18n,{compose:vz}=wp.compose;var Cz=vz(W,I(FL))(class extends kz{render(){const{attributes:{align:e,headerAlignPosition:t,headerTitle:a,headerTagOption:n,headerSubTitle:r,headerlayoutOption:l},className:i,attributes:s,setAttributes:c,isSelected:p}=this.props,b=y()([i,"blockspare-section-header-wrapper blockspare-blocks","align"+e]);return Object(o.createElement)("div",{className:b},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",l,"blockspare-"+t)},Object(o.createElement)(rc,{headerTitle:a,headerTagOption:n,headerSubTitle:r,headerlayoutOption:l})))}});const{__:Oz}=wp.i18n,{compose:Ez}=wp.compose,{Component:xz,Fragment:wz}=wp.element,{RichText:Sz,withFontSizes:Tz,withColors:jz}=wp.blockEditor;var Fz=Ez([W,I(JL)])(class extends xz{constructor(){super(...arguments)}render(){const{attributes:{features:e},className:t}=this.props,a=y()([t,"blockspare-services-description"]);return Object(o.createElement)("div",{className:a},this.props.styles,Object(o.createElement)(Sz.Content,{tagName:"p",itemProp:"description",value:e,className:"blockspare-services-inner-description"}))}});const{RichText:Mz,getColorClassName:Bz}=wp.blockEditor,{__:Lz}=wp.i18n,{compose:zz}=wp.compose,{Component:Nz,Fragment:Pz}=wp.element;var Dz=zz(W,I(AL))(class extends Nz{render(){const{attributes:{buttonText:e,buttonUrl:t,buttonSize:a,buttonShape:n,buttonTarget:r,buttonHoverEffect:l,enableButtonIcon:i,buttonIcon:s,buttonIconPosition:c},attributes:p,className:b}=this.props,u=y()({"blockspare-pricing-table-button":!0}),d=y()([b,"blockspare-block-button-wrap"]);return Object(o.createElement)("div",{className:d},this.props.styles,Object(o.createElement)("div",{className:u||void 0},Object(o.createElement)("div",{className:"blockspare-block-button"},e&&Object(o.createElement)("a",{href:t,target:r?"_blank":null,rel:r?"noopener noreferrer":null,className:y()("blockspare-button",n,a,l,c)},i&&Object(o.createElement)("i",{className:s}),Object(o.createElement)(Mz.Content,{tagName:"span",value:e})))))}});const{__:Rz}=wp.i18n,{Component:Az,Fragment:_z}=wp.element,{compose:Iz}=wp.compose,{InnerBlocks:Hz}=wp.blockEditor;var Gz=Iz(W,I(uL))(class extends Az{render(){const{attributes:{alignment:e,enableSectionHeader:t,enableButton:a,enableDescription:n,enableIcon:r,enableImage:l,servicesLayout:i,iconSize:s,blockHoverEffect:c,imageHoverEffect:p},className:b,attributes:u}=this.props;return Object(o.createElement)("div",{className:y()(b,"blockspare-blocks",e?"blockspare-block-service-table-"+e:"blockspare-block-service-table-center","blockspare-block-service-table",s,r&&l?"enable-img-icon":"",r?"enable-icon":"",l?"enable-img":"","bsl-1"==i?"layout-item-1 order-1":"","bsl-2"==i?"layout-item-1 order-2":"","bsl-3"==i?"layout-item-1 order-3":"","bsl-4"==i?"layout-item-2 order-1":"","bsl-5"==i?"layout-item-2 order-2":"","bsl-6"==i?"layout-item-2 order-3":"","bsl-7"==i?"layout-item-3 order-1":"","bsl-8"==i?"layout-item-3 order-2":"","bsl-9"==i?"layout-item-3 order-3":"","bsl-10"==i?"layout-item-4 order-1":"","bsl-11"==i?"layout-item-4 order-2":"","bsl-12"==i?"layout-item-4 order-3":"","bsl-13"==i?"layout-item-5 order-1":"","bsl-14"==i?"layout-item-5 order-2":"","bsl-15"==i?"layout-item-5 order-3":"","bsl-16"==i?"layout-item-6 order-1":"","bsl-17"==i?"layout-item-6 order-2":"","bsl-18"==i?"layout-item-6 order-3":"",c,p)},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-block-service-table-inside blockspare-hover-item")},Object(o.createElement)("div",{className:"blockspare-service-wrap-1"},r&&Object(o.createElement)(uz,this.props),l&&Object(o.createElement)("div",{className:"blockspare-img-wrap"},Object(o.createElement)(hz,this.props))),Object(o.createElement)("div",{className:"blockspare-service-wrap-2"},t&&Object(o.createElement)(Cz,this.props)),Object(o.createElement)("div",{className:"blockspare-service-wrap-3"},n&&Object(o.createElement)(Fz,this.props),a&&Object(o.createElement)(Dz,this.props))))}}),Wz=a(292),Uz=a(293),qz=a(294),Vz=a(295),$z=a(256);const{__:Xz}=wp.i18n,{registerBlockType:Yz}=wp.blocks,{category:Jz}=$z,Kz={...Wz.attributes,...Uz.attributes,...ci,...qz.attributes,...ai,...pi,...Vz.attributes,...$z.attributes},Zz={title:Xz("Service Inner Section","blockspare"),description:Xz("Add a service column.","blockspare"),icon:s.a.services,category:Jz,parent:["blockspare/blockspare-services"],keywords:[Xz("service","blockspare"),Xz("shop","blockspare"),Xz("buy","blockspare")],attributes:Kz,edit:cz,save:Gz};Yz("blockspare/blockspare-services-inner-item",Zz);var Qz=e=>{const{marginTop:t,marginRight:a,marginBottom:o,marginLeft:n}=e.attributes,r=[];return r.push({".blockspare-service-block-wrapper":{marginTop:t?t+"px":void 0,marginRight:a?a+"px":void 0,marginBottom:o?o+"px":void 0,marginLeft:n?n+"px":void 0}}),Do.a.all(r)};const{__:eN}=wp.i18n,{Component:tN,Fragment:aN}=wp.element,{IconButton:oN}=wp.components,{createBlock:nN}=wp.blocks,{withSelect:rN,withDispatch:lN}=wp.data,{InnerBlocks:iN,InspectorControls:sN}=wp.blockEditor,{compose:cN}=wp.compose;var pN=cN([rN((e,t)=>{const{clientId:a}=t,{getBlock:o,isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{block:o(a),isSelectedBlockInRoot:n(a)||r(a,!0)}}),lN(e=>{const{insertBlock:t,updateBlockAttributes:a}=e("core/block-editor");return{insertBlock:t,updateBlockAttributes:a}}),W,I(Qz)])(class extends tN{constructor(){super(...arguments),E()(this,"getServiceTemplate",e=>{const t=[],a=e.defaultItems;for(let e=0;e<a;e++)t.push(["blockspare/blockspare-services-inner-item",{}]);return t})}componentDidMount(){const{setAttributes:e,clientId:t,attributes:{uniqueId:a}}=this.props,o=t.substr(0,6);a?a&&a!=o&&e({uniqueId:o}):e({uniqueId:o})}insertServiceItem(){let e;const{clientId:t,insertBlock:a,block:o}=this.props;if(o.innerBlocks&&o.innerBlocks.length){const t=o.innerBlocks[o.innerBlocks.length-1].attributes.itemNumber+1,a=Zz.heading;e=Object.assign({},{},{itemNumber:t,heading:a,active:!1,defaultText:""})}else e=Zz;a(nN("blockspare/blockspare-services-inner-item",e),void 0,t)}render(){const{attributes:e,isSelectedBlockInRoot:t,attributes:{uniqueId:a,columns:n,columnsGap:r,marginTop:l,marginBottom:i,blockLayout:s,animation:c,align:p},className:b,isSelected:u,setAttributes:d}=this.props,g=y()(["blockspare-service-columns-"+n]),m=y()([b,"blockspare-main-blockwrapper",c?"blockspare-block-animation":"",c,"align"+p]);return Object(o.createElement)(aN,null,Object(o.createElement)(VB,{setAttributes:d,...this.props}),Object(o.createElement)("div",{className:m},this.props.styles,Object(o.createElement)("div",{className:"blockspare-blocks blockspare-service-block-wrapper blockspare-item"},Object(o.createElement)("div",{className:g},Object(o.createElement)("div",{className:y()("blockspare-service-section-admin","blockspare-service-section-gap-"+r,s)},Object(o.createElement)(iN,{template:this.getServiceTemplate(e),allowedBlocks:["blockspare/blockspare-services-inner-item"],renderAppender:!1}))))))}});const{__:bN}=wp.i18n,{Component:uN}=wp.element,{compose:dN}=wp.compose,{InnerBlocks:gN}=wp.blockEditor;var mN=dN(W,I(Qz))(class extends uN{render(){const{attributes:{columns:e,columnsGap:t,blockLayout:a,align:n,marginTop:r,marginBottom:l,animation:i},className:s}=this.props,c=y()(["blockspare-service-table-wrap ","blockspare-block-service-table-gap-"+t,a]),p=y()(["blockspare-service-columns-"+e]),b=y()([s,"blockspare-main-blockwrapper",i?"blockspare-block-animation":""]);return Object(o.createElement)("div",{className:b,"blockspare-animation":i},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-blocks blockspare-service-block-wrapper blockspare-item","blockspare-section-header-wrapper")},Object(o.createElement)("div",{className:p},Object(o.createElement)("div",{className:c||void 0},Object(o.createElement)(gN.Content,null)))))}});const{__:fN}=wp.i18n,{Component:hN}=wp.element,{registerBlockType:kN}=wp.blocks,{InnerBlocks:yN}=wp.blockEditor,{name:vN,category:CN,attributes:ON}=DB;kN(vN,{title:fN("Services","blockspare"),description:fN("Add a service section.","blockspare"),icon:s.a.services,category:CN,keywords:["blockspare",fN("block","blockspare"),fN("services","blockspare"),fN("box","blockspare"),fN("portfolio","blockspare")],attributes:ON,supports:{align:["wide","full","center"],html:!0},edit:pN,save:mN}),a(391);var EN=a(296);const{__:xN}=wp.i18n,{Component:wN}=wp.element,{InspectorControls:SN,PanelColorSettings:TN}=wp.blockEditor,{PanelBody:jN,SelectControl:FN,ToggleControl:MN,TextControl:BN,RangeControl:LN}=wp.components;class zN extends wN{imageSizeSelect(){var e,t,a;const o=null===(e=wp)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.select("core/editor"))||void 0===a?void 0:a.getEditorSettings();return an()(io()(null==o?void 0:o.imageSizes,e=>{let{name:t,slug:a}=e;return{value:a,label:t}}))}render(){const{attributes:{carouselSpeed:e,showsliderNextPrev:t,carouselNextIcon:a,showDots:n,navigationColor:r,colorFilter:l,showOriginalOnHover:i,navigationSize:s,enableAutoPlay:c,navigationShape:p,navigationShapeColor:b,enableEqualHeight:u,borderRadius:d,marginTop:g,marginRight:m,marginBottom:f,marginLeft:h},attributes:k,setAttributes:y}=this.props,v={value:"selectimage",label:xN("Select image size")};this.imageSizeSelect().unshift(v);const C=[{value:"fas fa-chevron-right",label:xN("Chevron","blockspare")},{value:"fas fa-angle-right",label:xN("Angle","blockspare")},{value:"fas fa-chevron-circle-right",label:xN("Chevron Circle","blockspare")}];return xN("Original","blockspare"),xN("Grayscale","blockspare"),xN("Sepia","blockspare"),xN("Saturation","blockspare"),xN("Dim","blockspare"),xN("Vintage","blockspare"),xN("Small","blockspare"),xN("Medium","blockspare"),xN("Large","blockspare"),xN("Shape 1","blockspare"),xN("Shape 2","blockspare"),xN("Shape 3","blockspare"),xN("Shape 4","blockspare"),xN("Shape 5","blockspare"),Object(o.createElement)(SN,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(jN,{title:xN("Slider Settings","blockspare"),initialOpen:!1},Object(o.createElement)(MN,{label:xN("Enable Equal Height","blockspare"),checked:u,onChange:()=>this.props.setAttributes({enableEqualHeight:!u})}),Object(o.createElement)(MN,{label:xN("Enable Autoplay","blockspare"),checked:c,onChange:()=>this.props.setAttributes({enableAutoPlay:!c})}),Object(o.createElement)(BN,{label:xN("Slide Speed","blockspare"),type:"text",value:e,onChange:e=>this.props.setAttributes({carouselSpeed:e})}),Object(o.createElement)(MN,{label:xN("Display Navigation","blockspare"),checked:t,onChange:()=>this.props.setAttributes({showsliderNextPrev:!t})}),t&&Object(o.createElement)(FN,{label:xN(" Navigation Style","blockspare"),value:a,options:C.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>y({carouselNextIcon:e})}),(t||n)&&Object(o.createElement)(TN,{title:xN("Navigation Color","blockspare"),initialOpen:!1,colorSettings:[{value:r,onChange:e=>y({navigationColor:e}),label:xN("Navigation Color","blockspare")},{value:b,onChange:e=>y({navigationShapeColor:e}),label:xN("Navigation Shape Color","blockspare")}]}),Object(o.createElement)(LN,{label:xN("Border Radius","blockspare"),value:d,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:50,step:1})),Object(o.createElement)(jN,{title:xN("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(jN,{title:xN("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props)),Object(o.createElement)(jN,{title:xN("Block Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:g,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>y({marginTop:e}),marginEnableRight:!0,marginRight:m,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>y({marginRight:e}),marginEnableBottom:!0,marginBottom:f,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>y({marginBottom:e}),marginEnableLeft:!0,marginLeft:h,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>y({marginLeft:e})}))))}}var NN=e=>{const{navigationShape:t,navigationColor:a,navigationShapeColor:o,borderRadius:n,marginTop:r,marginRight:l,marginBottom:i,marginLeft:s}=e.attributes,c=[];return c.push({".blockspare-slider-wrap span:before":{color:a||"#fff"},".blockspare-slider-wrap ul li button":{color:a||"#fff"},".blockspare-slider-wrap .slick-slider .slick-dots > li button":{backgroundColor:a||"#fff"},".blockspare-slider-wrap .blockspare-gallery-figure":{borderRadius:n?n+"px":"0px"}}),"lpc-navigation-1"===t||"lpc-navigation-2"===t?c.push({".slick-slider .slick-arrow:after":{backgroundColor:o}}):"lpc-navigation-3"===t||"lpc-navigation-4"===t?c.push({".slick-slider .slick-arrow":{borderColor:o}}):c.push({".slick-slider .slick-arrow":{backgroundColor:"transparent",borderColor:"transparent"}}),c.push({".blockspare-slider-wrap ":{marginTop:r?r+"px":"0px",marginRight:l?l+"px":"0px",marginBottom:i?i+"px":"0px",marginLeft:s?s+"px":"0px"}}),Do.a.all(c)};const{__:PN,sprintf:DN}=wp.i18n,{Component:RN,Fragment:AN}=wp.element,{compose:_N}=wp.compose,{withNotices:IN,Toolbar:HN,IconButton:GN}=wp.components,{BlockControls:WN,MediaUpload:UN,MediaUploadCheck:qN}=wp.blockEditor;var VN=_N([IN,W,I(NN)])(class extends RN{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 a=[...this.props.attributes.images];a.splice(t,1,this.props.attributes.images[e]),a.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:a})}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=fu()(this.props.attributes.images,(t,a)=>e!==a);this.setState({selectedImage:null}),this.props.setAttributes({images:t})}}setImageAttributes(e,t){const{attributes:{images:a},setAttributes:o}=this.props;a[e]&&o({images:[...a.slice(0,e),{...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=>Ku(e,this.props.attributes.images))})}render(){const{attributes:{images:e,numberofSlide:t,carouselSpeed:a,showsliderNextPrev:n,carouselNextIcon:r,showDots:l,align:i,gutterSpace:s,colorFilter:c,showOriginalOnHover:p,navigationSize:b,navigationShape:u,animation:d,enableEqualHeight:g,blockHoverEffect:m,imageHoverEffect:f},className:h,isSelected:k,noticeUI:v,setAttributes:O}=this.props,E=!!e.length,x=Object(o.createElement)(cd,this.props);if(!E)return Object(o.createElement)(nd,C()({},this.props,{label:PN("Carousel","blockspare")}));var w="fas fa-angle-right",S="fas fa-angle-left";"fas fa-angle-right"===r?(w=Object(o.createElement)(XN,null),S=Object(o.createElement)($N,null)):"fas fa-chevron-circle-right"===r?(w=Object(o.createElement)(JN,null),S=Object(o.createElement)(YN,null)):"fas fa-caret-right"===r?(w=Object(o.createElement)(ZN,null),S=Object(o.createElement)(KN,null)):"fas fa-chevron-right"===r?(w=Object(o.createElement)(eP,null),S=Object(o.createElement)(QN,null)):"fas fa-arrow-circle-right"===r?(w=Object(o.createElement)(aP,null),S=Object(o.createElement)(tP,null)):(w="fas fa-angle-right",S="fas fa-angle-left");const T={dots:l,loop:!0,autoplay:!1,speed:a,arrows:n,slidesToShow:t,nextArrow:w,prevArrow:S},j={className:y()(h,d?"blockspare-block-animation":"",d,"align"+i,m,f),"data-block-animation":d};return Object(o.createElement)(AN,null,Object(o.createElement)(WN,null,E&&Object(o.createElement)(AN,null,Object(o.createElement)(zN,{setAttributes:O,...this.props}),Object(o.createElement)(HN,null,Object(o.createElement)(qN,null,Object(o.createElement)(UN,{onSelect:this.onEditSelectImages,allowedTypes:Zu,multiple:!0,gallery:!0,value:e.map(e=>e.id),render:e=>{let{open:t}=e;return Object(o.createElement)(GN,{className:"components-toolbar__control",label:PN("Edit gallery","blockspare"),icon:"edit",onClick:t})}}))))),x,Object(o.createElement)("div",j,this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-blocks blockspare-slider-wrap","has-gutter-space-"+s,c,u,"blockspare-original"!==c&&p?"has-hover-effect":"",b,g?"bs-has-equal-height":"")},Object(o.createElement)("div",{className:"blockspare-carousel-items"},Object(o.createElement)(Lu.a,T,e.map((t,a)=>{const n=DN(
/* translators: %1$d is the order number of the image, %2$d is the total number of images */
PN("image %1$d of %2$d in gallery","blockspare"),a+1,e.length);return Object(o.createElement)("div",{className:"blockspare-gallery-item",key:t.id||t.url,onClick:this.onItemClick},Object(o.createElement)(Uu,{url:t.url,alt:t.alt,id:t.id,marginRight:!0,marginLeft:!0,isSelected:k&&this.state.selectedImage===a,onRemove:this.onRemoveImage(a),onSelect:this.onSelectImage(a),setAttributes:e=>this.setImageAttributes(a,e),caption:t.caption,"aria-label":n,supportsCaption:!1,onMoveBackward:this.onMoveBackward(a),onMoveForward:this.onMoveForward(a),supportsMoving:!0,sizes:t.sizes,inspectorSize:"large"}))}),k&&Object(o.createElement)("div",{className:"blockspare-add-more-slide blockspare-add-more-item"},Object(o.createElement)(qN,null,Object(o.createElement)(UN,{onSelect:this.onEditSelectImages,allowedTypes:Zu,multiple:!0,gallery:!0,value:e.map(e=>e.id),render:e=>{let{open:t}=e;return Object(o.createElement)(GN,{className:"aft-cta-inspector-media",label:PN("Edit image","blockspare"),icon:"plus-alt",onClick:t},PN("Add Image","blockspare"))}}))))))))}});function $N(e){const{className:t,style:a,onClick:n}=e;return Object(o.createElement)("span",{className:y()("slide-prev slick-arrow fas fa-angle-left"),onClick:n})}function XN(e){const{className:t,style:a,onClick:n}=e;return Object(o.createElement)("span",{className:y()("slide-next slick-arrow fas fa-angle-right"),onClick:n})}function YN(e){const{className:t,style:a,onClick:n}=e;return Object(o.createElement)("span",{className:y()("slide-prev slick-arrow fas fa-chevron-circle-left"),onClick:n})}function JN(e){const{className:t,style:a,onClick:n}=e;return Object(o.createElement)("span",{className:y()("slide-next slick-arrow fas fa-chevron-circle-right"),onClick:n})}function KN(e){const{className:t,style:a,onClick:n}=e;return Object(o.createElement)("span",{className:y()("slide-prev slick-arrow fas fa-caret-left"),onClick:n})}function ZN(e){const{className:t,style:a,onClick:n}=e;return Object(o.createElement)("span",{className:y()("slide-next slick-arrow fas fa-caret-right"),onClick:n})}function QN(e){const{className:t,style:a,onClick:n}=e;return Object(o.createElement)("span",{className:y()("slide-prev slick-arrow fas fa-chevron-left"),onClick:n})}function eP(e){const{className:t,style:a,onClick:n}=e;return Object(o.createElement)("span",{className:y()("slide-next slick-arrow fas fa-chevron-right"),onClick:n})}function tP(e){const{className:t,style:a,onClick:n}=e;return Object(o.createElement)("span",{className:y()("slide-prev slick-arrow fas fa-arrow-circle-left"),onClick:n})}function aP(e){const{className:t,style:a,onClick:n}=e;return Object(o.createElement)("span",{className:y()("slide-next slick-arrow fas fa-arrow-circle-right"),onClick:n})}const{Component:oP,Fragment:nP}=wp.element,{compose:rP}=wp.compose;var lP=rP([W,I(NN)])(class extends oP{render(){const{attributes:{images:e,numberofSlide:t,carouselSpeed:a,showsliderNextPrev:n,carouselNextIcon:r,showDots:l,navigationColor:i,gutterSpace:s,colorFilter:c,showOriginalOnHover:p,navigationSize:b,enableAutoPlay:u,navigationShape:d,animation:g,enableEqualHeight:m,blockHoverEffect:f,imageHoverEffect:h},className:k}=this.props;let v=r,C=r.replace("-right","-left"),O={autoplay:u,slidesToShow:t,speed:a,arrows:n,dots:l};const E=y()([k,g?"blockspare-block-animation":"",f,h]);var x=JSON.stringify(O);return Object(o.createElement)("div",{className:E,"blockspare-animation":g},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-blocks blockspare-slider-wrap","has-gutter-space-"+s,c,d,"blockspare-original"!==c&&p?"has-hover-effect":"",b,m?"bs-has-equal-height":"")},Object(o.createElement)("div",{className:"blockspare-carousel-items"},Object(o.createElement)("div",{"data-next":v,"data-prev":C,"data-slick":x},e.map((e,t)=>{let a="";return a=void 0===e.sizes.full?e.url:e.sizes.full.url,Object(o.createElement)("div",null,Object(o.createElement)("div",{className:"blockspare-gallery-figure blockspare-hover-item"}," ",Object(o.createElement)("img",{src:a})))})))))}});const iP=blockspare_globals,{__:sP}=wp.i18n,{registerBlockType:cP}=wp.blocks,{name:pP,category:bP,attributes:uP}=EN;cP(pP,{
/* translators: block name */
title:sP("Image Slider","blockspare"),
/* translators: block description */
description:sP("Add logos, badges and images to build Slider.","blockspare"),category:bP,icon:s.a.imageslider,attributes:uP,keywords:[sP("block","blockspare"),sP("image","blockspare"),sP("carousel","blockspare"),sP("slider","blockspare"),sP("gallery","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{align:"full",images:[{url:iP.img},{url:iP.img},{url:iP.img}],showsliderNextPrev:!0,showDots:!0}},edit:VN,save:lP}),a(392);var dP=a(297);const gP=e=>Object(o.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"},Object(o.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"})),mP=e=>Object(o.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"},Object(o.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"})),fP=e=>Object(o.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"},Object(o.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"})),{__:hP}=wp.i18n,{Component:kP}=wp.element,{InspectorControls:yP,PanelColorSettings:vP}=wp.blockEditor,{PanelBody:CP,RangeControl:OP}=wp.components;class EP extends kP{render(){const{attributes:{starCount:e,starSize:t,starColor:a,backgroundColor:n,marginTop:r,marginBottom:l,marginLeft:i,marginRight:s},setAttributes:c}=this.props;return Object(o.createElement)(yP,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(CP,{title:hP("Star Settings","blockspare"),initialOpen:!1},Object(o.createElement)(vP,{title:hP("Star Color","blockspare"),initialOpen:!1,colorSettings:[{value:a,onChange:e=>c({starColor:e}),label:hP("Star Color","blockspare")}]}),Object(o.createElement)(OP,{label:hP("Number Of Stars","blockspare"),value:e,onChange:e=>c({starCount:e}),min:1,max:10,step:1})),Object(o.createElement)(CP,{title:hP("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(CP,{title:hP("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(CP,{title:hP("Block Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:r,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>c({marginTop:e}),marginEnableBottom:!0,marginBottom:l,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>c({marginBottom:e}),marginEnableLeft:!0,marginLeft:i,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>c({marginLeft:e}),marginEnableRight:!0,marginRight:s,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>c({marginRight:e})}))))}}var xP=e=>{const{backgroundColor:t,marginTop:a,marginBottom:o,marginLeft:n,marginRight:r}=e.attributes,l=[];return l.push({".blockspare-block-star-ratings-wrap":{backgroundColor:t||"transparent",marginTop:a?a+"px":"0px",marginBottom:o?o+"px":"0px",marginLeft:n?n+"px":"0px",marginRight:r?r+"px":"0px"},".empty-star-rating":{opacity:.4}}),Do.a.all(l)};const{__:wP}=wp.i18n,{Fragment:SP,Component:TP}=wp.element,{compose:jP}=wp.compose,{BlockControls:FP,AlignmentToolbar:MP}=wp.blockEditor;var BP=jP(W,I(xP))(class extends TP{render(){const{attributes:{starAlign:e,starCount:t,starSize:a,starColor:n,selectedStars:r,emptyStarColor:l,backgroundColor:i,animation:s,blockHoverEffect:c},className:p,highlightedStars:b,setAttributes:u}=this.props,d=y()([p,"blockspare-ratings",s?"blockspare-block-animation":"",s,c]);return Object(o.createElement)(SP,null,Object(o.createElement)(FP,null,Object(o.createElement)(MP,{value:e,onChange:e=>{u({starAlign:e})}})),Object(o.createElement)(EP,this.props),Object(o.createElement)("div",{className:d},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-block-star-ratings-wrap","blockspare-hover-item")},Object(o.createElement)("div",{className:y()("blockspare-star-inner-container","star-align-"+e),onMouseLeave:()=>this.setState({highlightedStars:0})},[...Array(t)].map((e,t)=>Object(o.createElement)("div",{className:"blockspare-ratings",key:t,onMouseEnter:()=>{this.setState({highlightedStars:t+1})},onClick:()=>{u(r%1==0?{selectedStars:t+(r-1===t?.5:1)}:{selectedStars:t+(r-.5===t?1:.5)})}},t<(b||r)?b?b-1===t?r%1>0?b-r-.5!=0?Object(o.createElement)(mP,{size:a,fillColor:n||"#fbd012"}):Object(o.createElement)(fP,{size:a,fillColor:n||"#fbd012"}):b-r!=0?Object(o.createElement)(fP,{size:a,fillColor:n||"#fbd012"}):Object(o.createElement)(mP,{size:a,fillColor:n||"#fbd012"}):Object(o.createElement)(fP,{size:a,fillColor:n||"#fbd012"}):r-t>=1?Object(o.createElement)(fP,{size:a,fillColor:n||"#fbd012"}):Object(o.createElement)(mP,{size:a,fillColor:n||"#fbd012"}):Object(o.createElement)(gP,{size:a,fillColor:n})))))))}});const{Component:LP}=wp.element,{compose:zP}=wp.compose;var NP=zP(W,I(xP))(class extends LP{constructor(){super(...arguments)}render(){const{attributes:{starAlign:e,starCount:t,starSize:a,starColor:n,selectedStars:r,emptyStarColor:l,backgroundColor:i,animation:s,blockHoverEffect:c},className:p}=this.props,b=(e,t)=>Object(o.createElement)("div",{className:"blockspare-ratings"}," ",Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},Object(o.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)=>Object(o.createElement)("div",{className:"blockspare-ratings empty-star-rating"},Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t,width:e,height:e,viewBox:"0 0 510 510"},Object(o.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<t;e++)d.push(e<r?r-e>=1?(g=a,m=n,Object(o.createElement)("div",{className:"blockspare-ratings"},Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:m||"#fbd012",width:g,height:g,viewBox:"0 0 510 510"},Object(o.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"})))):b(a,n):u(a,n));var g,m;const f=y()([p,"blockspare-ratings",s?"blockspare-block-animation":"",c]);return Object(o.createElement)("div",{className:f,"blockspare-animation":s},this.props.styles,Object(o.createElement)("div",{className:"blockspare-block-star-ratings-wrap blockspare-hover-item"},Object(o.createElement)("div",{className:y()("blockspare-star-inner-container","star-align-"+e)},d)))}});const{__:PP}=wp.i18n,{registerBlockType:DP}=wp.blocks,{name:RP,category:AP,attributes:_P}=dP;DP(RP,{title:PP("Star Ratings","blockspare"),description:PP("Display creative star ratings.","blockspare"),category:AP,icon:s.a.starrating,attributes:_P,example:{attributes:{cover:"https://blockspare.com",author:"blockspare",pages:500}},keywords:[PP("block","blockspare"),PP("star","blockspare"),PP("review","blockspare"),PP("rating","blockspare")],edit:BP,save:NP});const{__:IP}=wp.i18n;var HP={uniqueClass:{type:"string"},uniqueID:{type:"string",default:""},align:{type:"string",default:"center"},tabAlignment:{type:"string",default:"blockspare-left"},animation:{type:"string",default:""},tabCount:{type:"number",default:3},blockAlignment:{type:"string",default:"none"},titles:{type:"array",default:[{text:IP("Tab 1"),icon:"",iconSide:"right",onlyIcon:!1,subText:"",anchor:""},{text:IP("Tab 2"),icon:"",iconSide:"right",onlyIcon:!1,subText:"",anchor:""},{text:IP("Tab 3"),icon:"",iconSide:"right",onlyIcon:!1,subText:"",anchor:""}]},layout:{type:"string",default:"blockspare-layout1"},tabStyle:{type:"string",default:"blockspare-horizontal"},iSize:{type:"number",default:14},startTab:{type:"number",default:""},enableSubtitle:{type:"bool",default:!1},widthType:{type:"string",default:"normal"},tabWidth:{type:"array",default:[4,"",""]},currentTab:{type:"number",default:1},tabBackGroundColor:{type:"string",default:"#3c1a5b"},activeTabBackgroundColor:{type:"string",default:"#8b249c"},tabTextColor:{type:"string",default:"#fff"},activetabTextColor:{type:"string",default:"#fff"},tabFontSize:{type:"number",default:16},tabFontFamily:{type:"string",default:"Default"},tabFontWeight:{type:"string",default:""},tabFontSubset:{type:"string"},tabFontSizeType:{type:"string",default:"px"},tabFontSizeMobile:{type:"number",default:14},tabFontSizeTablet:{type:"number",default:14},tabLoadGoogleFonts:{type:"boolean",default:!1},marginTop:{type:"number",default:30},marginRight:{type:"number",default:0},marginBottom:{type:"number",default:30},marginLeft:{type:"number",default:0},contentPaddingTop:{type:"number",default:20},contentPaddingLeft:{type:"number",default:20},contentPaddingBottom:{type:"number",default:20},contentPaddingRight:{type:"number",default:20},border:{type:"boolean",default:!0},borderWidth:{type:"number",default:1},borderStyle:{type:"string",default:"solid"},borderColor:{type:"string",default:"#dee2e6"},contentBackgroundColor:{type:"string"},blockHoverEffect:{type:"string",default:""}},GP=(a(393),a(97)),WP=a.n(GP),UP=a(298),qP=a.n(UP);const{__:VP}=wp.i18n,{Component:$P,Fragment:XP}=wp.element,{InspectorControls:YP,PanelColorSettings:JP}=wp.blockEditor,{PanelBody:KP,SelectControl:ZP,ToggleControl:QP,RangeControl:eD,Toolbar:tD}=wp.components;class aD extends $P{render(){const{attributes:{tabStyle:e,layout:t,tabBackGroundColor:a,activeTabBackgroundColor:n,tabTextColor:r,activetabTextColor:l,tabAlignment:i,tabFontSize:s,tabFontFamily:c,tabFontWeight:p,tabFontSubset:b,tabFontSizeType:u,tabFontSizeMobile:d,tabFontSizeTablet:g,tabLoadGoogleFonts:m,marginTop:f,marginRight:h,marginBottom:k,marginLeft:y,contentPaddingTop:v,contentPaddingLeft:C,contentPaddingBottom:O,contentPaddingRight:E,border:x,borderWidth:w,borderStyle:S,borderColor:T,contentBackgroundColor:j},attributes:F,setAttributes:M}=this.props,B=[{value:"blockspare-horizontal",label:VP("Default","blockspare")},{value:"blockspare-vertical",label:VP("Vertical","blockspare")}],L=[{value:"blockspare-layout1",label:VP("Layout 1","blockspare")},{value:"blockspare-layout2",label:VP("Layout 2","blockspare")}];return VP("Left","blockspare"),VP("Right","blockspare"),VP("center","blockspare"),VP("None","blockspare"),VP("Solid","blockspare"),VP("Double","blockspare"),VP("Dotted","blockspare"),VP("Dashed","blockspare"),VP("Groove","blockspare"),Object(o.createElement)(YP,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(KP,{title:VP("Tab Settings"),initialOpen:!1},Object(o.createElement)(ZP,{label:VP("Tab Style","blockspare"),options:B,value:e,onChange:e=>this.props.setAttributes({tabStyle:e})}),"blockspare-horizontal"==e&&Object(o.createElement)(KP,{title:"Tab Alignment"},Object(o.createElement)(tD,{controls:[{icon:"align-left",title:VP("Left","blockspare"),value:i,onClick:()=>M({tabAlignment:"blockspare-left"}),isActive:"blockspare-left"===i},{icon:"align-center",title:VP("Center","blockspare"),value:i,onClick:()=>M({tabAlignment:"blockspare-center"}),isActive:"blockspare-center"===i},{icon:"align-right",title:VP("Right","blockspare"),value:i,onClick:()=>M({tabAlignment:"blockspare-right"}),isActive:"blockspare-right"===i}]})),Object(o.createElement)(ZP,{label:VP("Tab Layout","blockspare"),options:L,value:t,onChange:e=>this.props.setAttributes({layout:e})})),Object(o.createElement)(KP,{title:VP("Typography Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Oo,{label:VP("Tab Fonts Settings"),attributes:F,setAttributes:M,loadGoogleFonts:{value:m,label:VP("tabLoadGoogleFonts")},fontFamily:{value:c,label:VP("tabFontFamily")},fontWeight:{value:p,label:VP("tabFontWeight")},fontSubset:{value:b,label:VP("tabFontSubset")},fontSizeType:{value:u,label:VP("tabFontSizeType")},fontSize:{value:s,label:VP("tabFontSize")},fontSizeMobile:{value:d,label:VP("tabFontSizeMobile")},fontSizeTablet:{value:g,label:VP("tabFontSizeTablet")},disableLineHeight:!0})),Object(o.createElement)(KP,{title:VP("Color Settings","blockspare"),initialOpen:!1},Object(o.createElement)(JP,{title:VP("Color Settings","blockspare"),initialOpen:!0,colorSettings:[{value:r,onChange:e=>M({tabTextColor:e}),label:VP("Text Color","blockspare")},{value:l,onChange:e=>M({activetabTextColor:e}),label:VP("Active Text Color","blockspare")},{value:a,onChange:e=>M({tabBackGroundColor:e}),label:VP("Tab Background Color","blockspare")},{value:n,onChange:e=>M({activeTabBackgroundColor:e}),label:VP("Active Tab Background Color","blockspare")}]})),Object(o.createElement)(KP,{title:VP("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(KP,{title:VP("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(KP,{title:VP("Block Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(KP,{title:VP("Margin Settings","blockspare"),initialOpen:!0},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:f,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>M({marginTop:e}),marginEnableRight:!0,marginRight:h,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>M({marginRight:e}),marginEnableBottom:!0,marginBottom:k,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>M({marginBottom:e}),marginEnableLeft:!0,marginLeft:y,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>M({marginLeft:e})})),Object(o.createElement)(KP,{title:VP("Content Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(eD,{label:VP("Padding Top","blockspare"),value:v,onChange:e=>M({contentPaddingTop:e}),min:0,step:1,max:300}),Object(o.createElement)(eD,{label:VP("Padding Right","blockspare"),value:E,onChange:e=>M({contentPaddingRight:e}),min:0,step:1,max:300}),Object(o.createElement)(eD,{label:VP("Padding Bottom","blockspare"),value:O,onChange:e=>M({contentPaddingBottom:e}),min:0,step:1,max:300}),Object(o.createElement)(eD,{label:VP("Padding Left","blockspare"),value:C,onChange:e=>M({contentPaddingLeft:e}),min:0,step:1,max:300})))))}}var oD=e=>{const{tabFontSize:t,tabFontFamily:a,tabFontWeight:o,tabFontSubset:n,tabFontSizeType:r,tabFontSizeMobile:l,tabFontSizeTablet:i,tabTextColor:s,tabBackGroundColor:c,activetabTextColor:p,activeTabBackgroundColor:b,marginTop:u,marginRight:d,marginBottom:g,marginLeft:m,contentPaddingTop:f,contentPaddingLeft:h,contentPaddingBottom:k,contentPaddingRight:y,border:v,borderWidth:C,borderStyle:O,borderColor:E,contentBackgroundColor:x}=e.attributes,w=[];return w.push({".bs-tabs-title-list .bs-title-item .bs-title-text":{fontSize:t+r,...Ro(a),...Ao(o)},tablet:{".bs-tabs-title-list .bs-title-item .bs-title-text":{fontSize:i+r}},mobile:{".bs-tabs-title-list .bs-title-item .bs-title-text":{fontSize:l+r}}}),v&&w.push({".bs-tabs-content-wrap":{borderWidth:C?C+"px":"1px",borderStyle:O||"solid",borderColor:E||"#000"}}),w.push({".bs-tabs-title-list .bs-title-item .bs-title-text":{color:s},".bs-tabs-title-list .bs-tab-title-inactive .bs-tab-title:visited":{backgroundColor:c},".bs-tabs-title-list .bs-tab-title-inactive .bs-tab-title":{backgroundColor:c},"li.bs-tab-title-active .bs-tab-title:visited":{backgroundColor:b},"li.bs-tab-title-active .bs-tab-title:focus":{backgroundColor:b},"li.bs-tab-title-active .bs-tab-title":{backgroundColor:b},"li.bs-tab-title-active .bs-tab-title .bs-title-text":{color:p},".bs-tabs-wrap":{marginTop:u?u+"px":"0px",marginRight:d?d+"px":"0px",marginBottom:g?g+"px":"0px",marginLeft:m?m+"px":"0px"},".bs-tabs-content-wrap":{backgroundColor:x||"transparent",paddingTop:f?f+"px":"0px",paddingRight:y?y+"px":"0px",paddingBottom:k?k+"px":"0px",paddingLeft:h?h+"px":"0px"}}),Do.a.all(w)};const{createBlock:nD}=wp.blocks,{withSelect:rD,withDispatch:lD}=wp.data,{compose:iD}=wp.compose,{Component:sD,Fragment:cD}=wp.element,{InnerBlocks:pD,RichText:bD,BlockAlignmentToolbar:uD}=wp.blockEditor,{Button:dD,ButtonGroup:gD,Tooltip:mD,TabPanel:fD,IconButton:hD,Dashicon:kD}=wp.components,{__:yD,sprintf:vD}=wp.i18n,CD=["blockspare/inner-tab"],OD=qP()(e=>WP()(e,e=>["blockspare/inner-tab",{id:e+1}])),ED=[];var xD=iD([rD((e,t)=>{const{clientId:a}=t,{getBlock:o,getBlockOrder:n}=e("core/block-editor"),r=o(a);return{tabsBlock:r,realTabsCount:r.innerBlocks.length,tabsInner:n(a)}}),lD((e,t,a)=>{let{clientId:o}=t,{select:n}=a;const{getBlock:r}=n("core/block-editor"),{moveBlockToPosition:l,removeBlock:i,updateBlockAttributes:s,insertBlock:c}=e("core/block-editor"),p=r(o);return{resetOrder(){WP()(p.innerBlocks.length,e=>{s(p.innerBlocks[e].clientId,{id:e+1})})},moveTab(e,t){l(e,o,o,parseInt(t))},insertTab(e){c(e,parseInt(p.innerBlocks.length),o)},removeTab(e){i(e)}}}),W,I(oD)])(class extends sD{constructor(){super(...arguments),this.showSettings=this.showSettings.bind(this),this.onMoveForward=this.onMoveForward.bind(this),this.onMoveBack=this.onMoveBack.bind(this),this.state={hovered:"false",showPreset:!1,settings:{}}}componentDidMount(){if(this.props.attributes.uniqueID)ED.includes(this.props.attributes.uniqueID)?(this.props.setAttributes({uniqueID:"_"+this.props.clientId.substr(2,9)}),ED.push("_"+this.props.clientId.substr(2,9))):ED.push(this.props.attributes.uniqueID);else{const e=blockspare_globals.config["blockspare/inner-tab"],t=blockspare_globals.configuration?JSON.parse(blockspare_globals.configuration):[];void 0!==t["blockspare/inner-tab"]&&"object"==typeof t["blockspare/inner-tab"]?Object.keys(t["blockspare/inner-tab"]).map(e=>{this.props.attributes[e]=t["blockspare/inner-tab"][e]}):void 0!==e&&"object"==typeof e&&Object.keys(e).map(t=>{this.props.attributes[t]=e[t]}),this.props.attributes.showPresets&&this.setState({showPreset:!0}),this.props.setAttributes({uniqueID:"_"+this.props.clientId.substr(2,9)}),ED.push("_"+this.props.clientId.substr(2,9))}const e=blockspare_globals.settings?JSON.parse(blockspare_globals.settings):{};void 0!==e["blockspare/inner-tab"]&&"object"==typeof e["blockspare/inner-tab"]&&this.setState({settings:e["blockspare/inner-tab"]})}showSettings(e){return void 0===this.state.settings[e]||"all"===this.state.settings[e]||"contributor"===this.state.settings[e]&&("contributor"===this.state.user||"author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"author"===this.state.settings[e]&&("author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"editor"===this.state.settings[e]&&("editor"===this.state.user||"admin"===this.state.user)||"admin"===this.state.settings[e]&&"admin"===this.state.user}saveArrayUpdate(e,t){const{attributes:a,setAttributes:o}=this.props,{titles:n}=a;o({titles:n.map((a,o)=>(t===o&&(a={...a,...e}),a))})}onMove(e,t){const a=[...this.props.attributes.titles];a.splice(t,1,this.props.attributes.titles[e]),a.splice(e,1,this.props.attributes.titles[t]),this.props.setAttributes({titles:a,currentTab:parseInt(t+1)}),this.props.attributes.startTab===e+1?this.props.setAttributes({startTab:t+1}):this.props.attributes.startTab===t+1&&this.props.setAttributes({startTab:e+1}),this.props.moveTab(this.props.tabsBlock.innerBlocks[e].clientId,t),this.props.resetOrder(),this.props.setAttributes({currentTab:parseInt(t+1)})}onMoveForward(e){return()=>{e!==this.props.realTabsCount-1&&this.onMove(e,e+1)}}onMoveBack(e){return()=>{0!==e&&this.onMove(e,e-1)}}render(){const{attributes:{uniqueID:e,tabCount:t,currentTab:a,tabStyle:n,layout:r,titles:l,tabAlignment:i,iSize:s,startTab:c,enableSubtitle:p,tabWidth:b,widthType:u,tabFontFamily:d,tabFontWeight:g,tabLoadGoogleFonts:m,animation:f,blockHoverEffect:h,align:k},clientId:v,className:C,setAttributes:O}=this.props;let E;if(1==m){const e={google:{families:[d+(g?":"+g:"")]}};E=Object(o.createElement)(Uo,{config:e})}const x=y()([r,n,C,"bs-tabs-wrap bs-tabs-id"+e,"bs-tabs-has-"+t,"bs-active-tab-"+a,"bs-tab-alignment-"+i,f?"blockspare-block-animation":"",f,h,"align"+k]),w=e=>Object(o.createElement)(cD,null,Object(o.createElement)("li",{className:`bs-title-item bs-title-item-${e} bs-tabs-svg-show-${l[e]&&l[e].onlyIcon?"only":"always"} bs-tabs-icon-side-${l[e]&&l[e].iconSide?l[e].iconSide:"right"} bs-tabs-has-icon-${l[e]&&l[e].icon?"true":"false"} bs-tab-title-${1+e===a?"active":"inactive"}`},Object(o.createElement)("div",{className:"bs-tab-title bs-tab-title-"+(1+e),onClick:()=>O({currentTab:1+e}),onKeyPress:()=>O({currentTab:1+e}),tabIndex:"0",role:"button"},l[e]&&l[e].icon&&"right"!==l[e].iconSide&&Object(o.createElement)(IconRender,{className:`bs-tab-svg-icon bs-tab-svg-icon-${l[e].icon} bs-title-svg-side-${l[e].iconSide}`,name:l[e].icon,size:s||"14",htmltag:"span"}),(void 0===p||!p)&&Object(o.createElement)(bD,{tagName:"div",placeholder:yD("Tab Title"),value:l[e]&&l[e].text?l[e].text:"",unstableOnFocus:()=>O({currentTab:1+e}),onChange:t=>{this.saveArrayUpdate({text:t},e)},formattingControls:["bold","italic","strikethrough"],className:"bs-title-text",keepPlaceholderOnFocus:!0}),l[e]&&l[e].icon&&"right"===l[e].iconSide&&Object(o.createElement)(IconRender,{className:`bs-tab-svg-icon bs-tab-svg-icon-${l[e].icon} bs-title-svg-side-${l[e].iconSide}`,name:l[e].icon,size:s||"14",htmltag:"span"})),Object(o.createElement)("div",{className:"blockspare-blocks-tab-item__control-menu"},0!==e&&Object(o.createElement)(hD,{icon:"vtabs"===r?"arrow-up":"arrow-left",onClick:0===e?void 0:this.onMoveBack(e),className:"blockspare-blocks-tab-item__move-back",label:yD("vtabs"===r?"Move Item Up":"Move Item Back"),"aria-disabled":0===e,disabled:0===e}),e+1!==t&&Object(o.createElement)(hD,{icon:"vtabs"===r?"arrow-down":"arrow-right",onClick:e+1===t?void 0:this.onMoveForward(e),className:"blockspare-blocks-tab-item__move-forward",label:yD("vtabs"===r?"Move Item Down":"Move Item Forward"),"aria-disabled":e+1===t,disabled:e+1===t}),t>1&&Object(o.createElement)(hD,{icon:"no-alt",onClick:()=>{const a=this.props.tabsBlock.innerBlocks[e].clientId,o=fu()(this.props.attributes.titles,(t,a)=>e!==a);let n;n=c===e+1?"":c>e+1?c-1:c,O({titles:o,tabCount:t-1,currentTab:0===e?1:e,startTab:n}),this.props.removeTab(a),this.props.resetOrder()},className:"blockspare-blocks-tab-item__remove",label:yD("Remove Item"),disabled:!a===e+1})))),S=Object(o.createElement)(cD,null,WP()(t,e=>w(e)));return Object(o.createElement)(cD,null,Object(o.createElement)(aD,{setAttributes:O,...this.props}),Object(o.createElement)("div",{className:x},this.props.styles,Object(o.createElement)("div",{className:"bs-tabs-wrap"},Object(o.createElement)("div",{className:"kb-add-new-tab-contain"},Object(o.createElement)(dD,{className:"bs-tab-add",isPrimary:!0,onClick:()=>{const e=nD("blockspare/inner-tab",{id:t+1});O({tabCount:t+1}),this.props.insertTab(e);const a=l;a.push({text:vD(yD("Tab %d"),t+1),icon:l[0].icon,iconSide:l[0].iconSide,onlyIcon:l[0].onlyIcon,subText:""}),O({titles:a}),this.saveArrayUpdate({iconSide:l[0].iconSide},0)}},Object(o.createElement)(kD,{icon:"plus"}),yD("Add Tab"))),Object(o.createElement)("ul",{className:"bs-tabs-title-list"+("tabs"===r&&"percent"===u?" kb-tabs-list-columns kb-tab-title-columns-"+b[0]:"")},S),Object(o.createElement)("div",{className:"bs-tabs-content-wrap blockspare-hover-item"},Object(o.createElement)(pD,{template:OD(t),templateLock:!1,allowedBlocks:CD})))),E)}});const{Component:wD,Fragment:SD}=wp.element,{InnerBlocks:TD,RichText:jD}=wp.blockEditor,{compose:FD}=wp.compose,{__:MD,sprintf:BD}=wp.i18n;var LD=FD([W,I(oD)])(class extends wD{stripStringRender(e){return e.toLowerCase().replace(/[^0-9a-z-]/g,"")}render(){const{attributes:{uniqueID:e,tabCount:t,currentTab:a,tabStyle:n,layout:r,titles:l,tabAlignment:i,iSize:s,startTab:c,enableSubtitle:p,tabWidth:b,widthType:u,blockAlignment:d,animation:g,blockHoverEffect:m},className:f=!0}=this.props,h=r||"tabs",k=e||"notset",v=y()([f,"align"+d,g?"blockspare-block-animation":"",m]),C=c||a,O=y()(r,n,`bs-tabs-wrap bs-tabs-id${k} bs-tabs-has-${t}-tabs bs-active-tab-${C} bs-tabs-layout-${h}  bs-tab-alignment-${i}`),E=e=>{const t="tab-"+(l[e]&&l[e].text?this.stripStringRender(l[e].text.toString()):this.stripStringRender(MD("Tab")+(1+e)));return Object(o.createElement)(SD,null,Object(o.createElement)("li",{id:l[e]&&l[e].anchor?l[e].anchor:t,className:`bs-title-item bs-title-item-${1+e} bs-tabs-svg-show-${l[e]&&l[e].onlyIcon?"only":"always"} bs-tabs-icon-side-${l[e]&&l[e].iconSide?l[e].iconSide:"right"} bs-tab-title-${1+e===C?"active":"inactive"}`},Object(o.createElement)("a",{href:"#"+(l[e]&&l[e].anchor?l[e].anchor:t),"data-tab":1+e,className:`bs-tab-title bs-tab-title-${1+e} `},(!p||void 0!==l[e]&&void 0===l[e].subText||void 0!==l[e]&&void 0!==l[e].subText&&""===l[e].subText)&&Object(o.createElement)(jD.Content,{tagName:"span",value:l[e]&&l[e].text?l[e].text:BD(MD("Tab %d"),1+e),className:"bs-title-text"}),p&&l[e]&&void 0!==l[e].subText&&""!==l[e].subText&&Object(o.createElement)("div",{className:"kb-tab-titles-wrap"},Object(o.createElement)(jD.Content,{tagName:"span",value:l[e]&&l[e].text?l[e].text:BD(MD("Tab %d"),1+e),className:"bs-title-text"}),Object(o.createElement)(jD.Content,{tagName:"span",value:l[e].subText,className:"bs-title-sub-text"})))))};return Object(o.createElement)("div",{className:v,"blockspare-animation":g},this.props.styles,Object(o.createElement)("div",{className:O},Object(o.createElement)("ul",{className:"bs-tabs-title-list"+("tabs"===r&&"percent"===u?" kb-tabs-list-columns kb-tab-title-columns-"+b[0]:"")},WP()(t,e=>E(e))),Object(o.createElement)("div",{className:"bs-tabs-content-wrap blockspare-hover-item"},Object(o.createElement)(TD.Content,null))))}});const{__:zD}=wp.i18n,{registerBlockType:ND}=wp.blocks;ND("blockspare/blockspare-tabs",{title:zD("Tabs","blockspare"),description:zD("Add tabs","blockspare"),category:"blockspare",icon:s.a.tabs,attributes:HP,supports:{html:!1,className:!0,align:["center","wide","full"]},keywords:[zD("block","blockspare"),zD("tab","blockspare"),zD("tabs","blockspare"),zD("tabbed","blockspare"),zD("content","blockspare")],edit:xD,save:LD});var PD=a(299);const{Component:DD}=wp.element,{InnerBlocks:RD}=wp.blockEditor;const{Component:AD}=wp.element,{InnerBlocks:_D}=wp.blockEditor;const{__:ID}=wp.i18n,{registerBlockType:HD}=wp.blocks,{name:GD,category:WD}=PD;HD(GD,{title:ID("Tab","blockspare"),category:WD,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:class extends AD{render(){return Object(o.createElement)("div",null,Object(o.createElement)(_D,{templateLock:!1,templateInsertUpdatesSelection:!1,renderAppender:()=>Object(o.createElement)(_D.ButtonBlockAppender,null)}))}},save:class extends DD{render(){const{attributes:{id:e}}=this.props;return Object(o.createElement)("div",{className:"blockspare-tab-content "+(1==e?"blockspare-active":"")},Object(o.createElement)(RD.Content,null))}}});const{InnerBlocks:UD}=wp.blockEditor,{Fragment:qD}=wp.element,{Component:VD}=wp.element,$D=[];const{InnerBlocks:XD}=wp.blockEditor,{__:YD}=wp.i18n,{registerBlockType:JD}=wp.blocks;JD("blockspare/inner-tab",{title:YD("Tab"),icon:s.a.tabs,category:"blockspare",parent:["blockspare/blockspare-tabs"],attributes:{id:{type:"number",default:1},uniqueID:{type:"string",default:""}},supports:{inserter:!1,reusable:!1,html:!1},getEditWrapperProps:e=>({"data-tab":e.id}),edit:class extends VD{componentDidMount(){this.props.attributes.uniqueID?$D.includes(this.props.attributes.uniqueID)?(this.props.setAttributes({uniqueID:"_"+this.props.clientId.substr(2,9)}),$D.push("_"+this.props.clientId.substr(2,9))):$D.push(this.props.attributes.uniqueID):(this.props.setAttributes({uniqueID:"_"+this.props.clientId.substr(2,9)}),$D.push("_"+this.props.clientId.substr(2,9)))}render(){const{attributes:{id:e,uniqueID:t},clientId:a}=this.props,n=wp.data.select("core/block-editor").getBlockOrder(a).length>0;return Object(o.createElement)(qD,null,Object(o.createElement)("div",{className:`bs-tab-inner-content bs-inner-tab-${e} bs-inner-tab${t}`},Object(o.createElement)(UD,{templateLock:!1,renderAppender:n?void 0:()=>Object(o.createElement)(UD.ButtonBlockAppender,null)})))}},save(e){let{attributes:t}=e;const{id:a,uniqueID:n}=t;return Object(o.createElement)("div",{className:`bs-tab-inner-content bs-inner-tab-${a} bs-inner-tab${n}`},Object(o.createElement)("div",{className:"bs-tab-inner-content-inner"},Object(o.createElement)(XD.Content,null)))}});var KD=e=>{const{marginTop:t,marginRight:a,marginBottom:o,marginLeft:n}=e.attributes,r=[];return r.push({".blockspare-main-testimonial-wrapper":{marginTop:t?t+"px":void 0,marginRight:a?a+"px":void 0,marginBottom:o?o+"px":void 0,marginLeft:n?n+"px":void 0}}),Do.a.all(r)};const{Component:ZD}=wp.element,{compose:QD}=wp.compose;var eR=QD(W,I(KD))(class extends ZD{constructor(e){super(...arguments)}render(){const{attributes:{columns:e,columnsGap:t,align:a,layoutOption:n,blockLayout:r,animation:l},className:i,attributes:s}=this.props,c=y()(i,"align"+a,l?"blockspare-block-animation":"",l),p=y()(["blockspare-main-testimonial-wrapper blockspare-item","blockspare-testimonial-admin","blockspare-testimonial-columns-"+e,r,"blockspare-testimonial-gap-"+t,n]);return Object(o.createElement)("div",{className:c},Object(o.createElement)("div",{className:p},this.props.styles,this.props.children))}}),tR=a.p+"images/blockspare-testimonial-layout-1.12345867.png",aR=a.p+"images/blockspare-testimonial-layout-2.6823ed43.png",oR=a.p+"images/blockspare-testimonial-layout-3.2e5aa20e.png";const{PanelBody:nR,RangeControl:rR,SelectControl:lR}=wp.components,{__:iR}=wp.i18n,{applyFilters:sR}=wp.hooks,{Component:cR}=wp.element,{InspectorControls:pR}=wp.blockEditor;class bR extends cR{render(){const{attributes:e,isSelectedBlockInRoot:t,attributes:{uniqueId:a,columns:n,columnsGap:r,marginTop:l,marginRight:i,marginBottom:s,marginLeft:c,layoutOption:p,blockLayout:b},setAttributes:u}=this.props,d=(iR("Layout 1","blockspare"),iR("Layout 2","blockspare"),iR("Layout 3","blockspare"),[{value:"blockspare-layout-1",label:iR("Default","blockspare")},{value:"blockspare-layout-2",label:iR("Zigzag","blockspare")}]);return Object(o.createElement)(pR,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(nR,{title:iR("Block Settings","blockspare"),initialOpen:!1},Object(o.createElement)(lR,{label:iR("Choose Layout ","blockspare"),options:d,value:b,onChange:e=>this.props.setAttributes({blockLayout:e})}),Object(o.createElement)(rR,{label:iR("Columns","blockspare"),value:n,onChange:e=>this.props.setAttributes({columns:e}),min:1,max:3}),Object(o.createElement)(rR,{label:iR("Columns Gap","blockspare"),value:r,onChange:e=>this.props.setAttributes({columnsGap:e}),min:0,max:4,step:1})),Object(o.createElement)(nR,{title:iR("Layout Options","blockspare"),initialOpen:!1},Object(o.createElement)(Qi,{initialOpen:!0,selected:p,paneltitle:_("Layouts","blockspare"),options:sR("blockspare-posts-block.cta.edit.layouts",[{label:iR("Layout 1","blockspare"),value:"",image:tR},{label:iR("Layout 2","blockspare"),value:"blockspare-testimonial-layout-2",image:aR},{label:iR("Layout 3","blockspare"),value:"blockspare-testimonial-layout-3",image:oR}]),onChange:e=>u({layoutOption:e})})),Object(o.createElement)(nR,{title:iR("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(nR,{title:iR("Block Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:l,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>u({marginTop:e}),marginEnableRight:!0,marginRight:i,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>u({marginRight:e}),marginEnableBottom:!0,marginBottom:s,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>u({marginBottom:e}),marginEnableLeft:!0,marginLeft:c,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>u({marginLeft:e})}))))}}a(395);var uR=a(257);const{__:dR}=wp.i18n,{Component:gR}=wp.element,{InspectorControls:mR,PanelColorSettings:fR}=wp.blockEditor,{PanelBody:hR,RangeControl:kR,ToggleControl:yR}=wp.components;class vR extends gR{render(){const{attributes:{starColor:e,starSize:t,starGap:a,enableRatings:n,titleFontSize:r,subtitleFontSize:l,headerTagOption:i,headerlayoutOption:s,testimonialDescriptionTextSize:c,testimonialDescriptionTextColor:p,backGroundColor:b,enableBoxShadow:u,xOffset:d,yOffset:g,blur:m,spread:f,shadowColor:h,borderRadius:k,titleLoadGoogleFonts:y,titleFontFamily:v,titleFontWeight:C,titleFontSubset:O,titleFontSizeType:E,titleFontSizeMobile:x,titleFontSizeTablet:w,subTitleFontSize:S,subTitleLoadGoogleFonts:T,subTitleFontFamily:j,subTitleFontWeight:F,subTitleFontSubset:M,subTitleFontSizeType:B,subTitleFontSizeMobile:L,subTitleFontSizeTablet:z,descriptionFontSize:N,descriptionFontFamily:P,descriptionFontWeight:D,descriptionFontSubset:R,descriptionFontSizeType:A,descriptionFontSizeMobile:_,descriptionFontSizeTablet:I,descriptionLoadGoogleFonts:H,padding:G,borderWidth:W,borderColor:U,headertitleColor:q,headertitleColorDark:V,headersubtitleColor:$,dashColor:X,dashColor2:Y,headerboxColor:J,titlePaddingTop:K,titlePaddingRight:Z,titlePaddingBottom:Q,titlePaddingLeft:ee,subtitlePaddingTop:te,subtitlePaddingRight:ae,subtitlePaddingBottom:oe,subtitlePaddingLeft:ne,headermarginTop:re,headermarginRight:le,headermarginBottom:ie,headermarginLeft:se},attributes:pe,setAttributes:be}=this.props;return dR("Layout 1","blockspare"),dR("Layout 2","blockspare"),dR("Layout 3","blockspare"),dR("Layout 4","blockspare"),dR("Layout 5","blockspare"),dR("Layout 6","blockspare"),dR("Layout 7","blockspare"),dR("Layout 8","blockspare"),dR("Layout 9","blockspare"),Object(o.createElement)(mR,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(hR,{title:dR("Block Settings","blockspare"),initialOpen:!1},Object(o.createElement)(kR,{label:dR("Testimonial Column Padding","blockspare"),value:G,onChange:e=>this.props.setAttributes({padding:e}),min:0,max:20,step:1}),Object(o.createElement)(kR,{label:dR("Testimonial Column Border","blockspare"),value:W,onChange:e=>this.props.setAttributes({borderWidth:e}),min:0,max:10,step:1}),Object(o.createElement)(kR,{label:dR("Border Radius","blockspare"),value:k,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:50,step:1}),Object(o.createElement)(yR,{label:dR("Enable Box Shadow","blockspare"),checked:u,onChange:()=>this.props.setAttributes({enableBoxShadow:!u})}),u&&Object(o.createElement)(ji,{shadowColor:h,onChangeShadowColor:e=>be({shadowColor:e}),xOffset:d,onChangeXOffset:e=>be({xOffset:e}),yOffset:g,onChangeYOffset:e=>be({yOffset:e}),blur:m,onChangeBlur:e=>be({blur:e}),spread:f,onChangeSpread:e=>be({spread:e})})),Object(o.createElement)(hR,{title:dR("Header Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Os,{headerlayoutOption:s,onChangeHeaderLayput:e=>be({headerlayoutOption:e})}),Object(o.createElement)(hR,{title:dR("Typography Settings","blockspare")},Object(o.createElement)(Oo,{label:dR("Title Fonts Settings"),attributes:pe,setAttributes:be,loadGoogleFonts:{value:y,label:dR("titleLoadGoogleFonts")},fontFamily:{value:v,label:dR("titleFontFamily")},fontWeight:{value:C,label:dR("titleFontWeight")},fontSubset:{value:O,label:dR("titleFontSubset")},fontSizeType:{value:E,label:dR("titleFontSizeType")},fontSize:{value:r,label:dR("titleFontSize")},fontSizeMobile:{value:x,label:dR("titleFontSizeMobile")},fontSizeTablet:{value:w,label:dR("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:i}),Object(o.createElement)(Oo,{label:dR("Subtitle Fonts Settings"),attributes:pe,setAttributes:be,loadGoogleFonts:{value:T,label:dR("subTitleLoadGoogleFonts")},fontFamily:{value:j,label:dR("subTitleFontFamily")},fontWeight:{value:F,label:dR("subTitleFontWeight")},fontSubset:{value:M,label:dR("subTitleFontSubset")},fontSizeType:{value:B,label:dR("subTitleFontSizeType")},fontSize:{value:S,label:dR("subTitleFontSize")},fontSizeMobile:{value:L,label:dR("subTitleFontSizeMobile")},fontSizeTablet:{value:z,label:dR("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),Object(o.createElement)(Oo,{label:dR("Description"),attributes:pe,setAttributes:be,loadGoogleFonts:{value:H,label:dR("descriptionLoadGoogleFonts")},fontFamily:{value:P,label:dR("descriptionFontFamily")},fontWeight:{value:D,label:dR("descriptionFontWeight")},fontSubset:{value:R,label:dR("descriptionFontSubset")},fontSizeType:{value:A,label:dR("descriptionFontSizeType")},fontSize:{value:N,label:dR("descriptionFontSize")},fontSizeMobile:{value:_,label:dR("descriptionFontSizeMobile")},fontSizeTablet:{value:I,label:dR("descriptionFontSizeTablet")},disableLineHeight:!0})),Object(o.createElement)(Ci,{headerboxColor:J,onChangeboxcolor:e=>be({headerboxColor:e}),headertitleColor:q,onChangetitlecolor:e=>be({headertitleColor:e}),headertitleColorDark:V,onChangetitlecolordark:e=>be({headertitleColorDark:e}),dashColor:X,dashColor2:Y,headerlayoutOption:s,onChangeDashColor:e=>be({dashColor:e}),onChangeDashColor2:e=>be({dashColor2:e}),headersubtitleColor:$,onChangesubtitlecolor:e=>be({headersubtitleColor:e})}),Object(o.createElement)(fi,{panelTitle:dR("Title/Subtitle Gaps","lockspare"),titlePaddingTop:K,onChangetitlePaddingTop:e=>be({titlePaddingTop:e}),titlePaddingRight:Z,onChangetitlePaddingRight:e=>be({titlePaddingRight:e}),titlePaddingBottom:Q,onChangetitlePaddingBottom:e=>be({titlePaddingBottom:e}),titlePaddingLeft:ee,onChangetitlePaddingLeft:e=>be({titlePaddingLeft:e}),headersubtitleColor:$,onChangesubtitlecolor:e=>be({headersubtitleColor:e}),subtitlePaddingTop:te,onChangesubtitlePaddingTop:e=>be({subtitlePaddingTop:e}),subtitlePaddingRight:ae,onChangesubtitlePaddingRight:e=>be({subtitlePaddingRight:e}),subtitlePaddingBottom:oe,onChangesubtitlePaddingBottom:e=>be({subtitlePaddingBottom:e}),subtitlePaddingLeft:ne,onChangesubtitlePaddingLeft:e=>be({subtitlePaddingLeft:e}),headermarginTop:re,onChangeheadermarginTop:e=>be({headermarginTop:e}),headermarginRight:le,onChangeheadermarginRight:e=>be({headermarginRight:e}),headermarginBottom:ie,onChangeheadermarginBottom:e=>be({headermarginBottom:e}),headermarginLeft:se,onChangeheadermarginLeft:e=>be({headermarginLeft:e})})),Object(o.createElement)(hR,{title:dR("Color Settings","blockspare"),initialOpen:!1},0<W&&Object(o.createElement)(fR,{title:dR("Border Color","blockspare"),initialOpen:!1,colorSettings:[{value:U,onChange:e=>be({borderColor:e}),label:dR("Border Color","blockspare")}]}),Object(o.createElement)(fR,{title:dR("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:b,onChange:e=>be({backGroundColor:e}),label:dR("Background Color","blockspare")}]}),Object(o.createElement)(fR,{title:dR("Description Color","blockspare"),initialOpen:!1,colorSettings:[{value:p,onChange:e=>be({testimonialDescriptionTextColor:e}),label:dR("Description Color","blockspare")}]})),Object(o.createElement)(hR,{title:dR("Star Settings","blockspare"),initialOpen:!1},Object(o.createElement)(yR,{label:dR("Display Star Ratings","blockspare"),checked:n,onChange:()=>this.props.setAttributes({enableRatings:!n})}),n&&Object(o.createElement)("div",{className:"ratings-panel"},Object(o.createElement)(fR,{title:dR("Star Color","blockspare"),initialOpen:!1,colorSettings:[{value:e,onChange:e=>be({starColor:e}),label:dR("Star Color","blockspare")}]}),Object(o.createElement)(kR,{label:dR("Star Gap","blockspare"),value:a,onChange:e=>be({starGap:e}),min:0,max:50,step:1}))),Object(o.createElement)(hR,{title:dR("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props))))}}var CR=e=>{const{sectionAlignment:t,headertitleColor:a,headertitleColorDark:o,titleFontSize:n,headersubtitleColor:r,dashColor:l,dashColor2:i,headerboxColor:s,titleFontFamily:c,titleFontWeight:p,titleFontSizeType:b,titleFontSizeMobile:u,titleFontSizeTablet:d,subTitleFontSize:g,subTitleFontFamily:m,subTitleFontWeight:f,subTitleFontSizeType:h,subTitleFontSizeMobile:k,subTitleFontSizeTablet:y,descriptionColor:v,descriptionFontSize:C,descriptionFontFamily:O,descriptionFontWeight:E,descriptionFontSubset:x,descriptionFontSizeType:w,descriptionFontSizeMobile:S,descriptionFontSizeTablet:T,testimonialDescriptionTextColor:j,testimonialDescriptionTextSize:F,backGroundColor:M,borderRadius:B,borderWidth:L,borderColor:z,padding:N,titlePaddingTop:P,titlePaddingRight:D,titlePaddingBottom:R,titlePaddingLeft:A,subtitlePaddingTop:_,subtitlePaddingRight:I,subtitlePaddingBottom:H,subtitlePaddingLeft:G,headermarginTop:W,headermarginRight:U,headermarginBottom:q,headermarginLeft:V,enableRatings:$,headerlayoutOption:X,starGap:Y}=e.attributes,J=[];return J.push({".blockspare-block-testimonial-wrap":{...As(e.attributes),backgroundColor:M||"#fff",borderWidth:L?L+"px":null,borderStyle:0<L?"solid":null,borderColor:z||null,borderRadius:B?B+"px":"0",padding:N?N+"px":"0px"},".blockspare-star-inner-container":{gap:Y?Y+"px":"0px"}}),J.push({".blockspare-section-head-wrap":{backgroundColor:s||"transparent",textAlign:t,marginTop:W+"px",marginRight:U+"px",marginBottom:q+"px",marginLeft:V+"px"}}),"blockspare-style9"===X||"blockspare-style17"===X||"blockspare-style18"===X?J.push({".blockspare-section-head-wrap .blockspare-title":{color:o},".blockspare-section-head-wrap .blockspare-title-wrapper":{paddingTop:P+"px ",paddingRight:D+"px ",paddingBottom:R+"px",paddingLeft:A+"px"}}):J.push({".blockspare-section-head-wrap .blockspare-title":{color:a,paddingTop:P+"px ",paddingRight:D+"px ",paddingBottom:R+"px",paddingLeft:A+"px"}}),J.push({...Hs(e)}),J.push({".blockspare-section-head-wrap .blockspare-title":{fontSize:n+b,...Ro(c),...Ao(p)},".blockspare-section-head-wrap .blockspare-subtitle":{color:r,fontSize:g+h,...Ro(m),...Ao(f),paddingTop:_+"px",paddingRight:I+"px",paddingBottom:H+"px",paddingLeft:G+"px"},".blockspare-description":{color:j,fontSize:C+w,...Ro(O),...Ao(E),textAlign:t},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:d+b},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:y+h},".blockspare-description":{fontSize:T+w}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:u+b},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:k+h},".blockspare-description":{fontSize:S+w}}}),$&&J.push({".empty-star-rating":{opacity:.4}}),Do.a.all(J)};const OR=blockspare_globals,ER=["core/image"],xR=[["core/image",{url:OR.menu_img_url}]],{__:wR}=wp.i18n,{Component:SR,Fragment:TR}=wp.element,{compose:jR}=wp.compose,{RichText:FR,InnerBlocks:MR,AlignmentToolbar:BR,BlockControls:LR}=wp.blockEditor;var zR=jR(W,I(CR))(class extends SR{render(){const{attributes:{align:e,testimonialDescription:t,enableRatings:a,starCount:n,starSize:r,starColor:l,selectedStars:i,emptyStarColor:s,headerTagOption:c,headerTitle:p,headerSubTitle:b,testimonialDescriptionTextSize:u,testimonialDescriptionTextColor:d,backGroundColor:g,borderRadius:m,titleLoadGoogleFonts:f,titleFontFamily:h,titleFontWeight:k,subTitleLoadGoogleFonts:v,subTitleFontFamily:C,subTitleFontWeight:O,headerlayoutOption:E,sectionAlignment:x,descriptionLoadGoogleFonts:w,descriptionFontFamily:S,descriptionFontWeight:T,blockHoverEffect:j,imageHoverEffect:F},className:M,highlightedStars:B,attributes:L,setAttributes:z}=this.props;let N;if(1==w){const e={google:{families:[S+(T?":"+T:"")]}};N=Object(o.createElement)(Uo,{config:e})}const P=y()([M,"blockspare-testimonials","textalignment-"+x,j,F]);return Object(o.createElement)(TR,null,Object(o.createElement)(vR,this.props),Object(o.createElement)(LR,{key:"controls"},Object(o.createElement)(BR,{value:x,onChange:e=>{z({sectionAlignment:e})}})),Object(o.createElement)("div",{className:P},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-block-testimonial-wrap  blockspare-hover-item")},Object(o.createElement)("div",{className:"blockspare-author-wrap"},Object(o.createElement)("div",{className:"blockspare-img-wrapper"},Object(o.createElement)(MR,{template:xR,allowedBlocks:ER,templateLock:!0,templateInsertUpdatesSelection:!0}))),Object(o.createElement)("div",{className:"blockspare-author-designation"},Object(o.createElement)("div",{className:y()("blockspare-section-header-wrapper blockspare-blocks","align"+e)},Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",E,"blockspare-"+x)},Object(o.createElement)(Rs,{setAttributes:z,headerTitle:p,headerTagOption:c,headerSubTitle:b,titleFontFamily:h,titleFontWeight:k,titleLoadGoogleFonts:f,subTitleLoadGoogleFonts:v,subTitleFontFamily:C,subTitleFontWeight:O,headerlayoutOption:E})))),a&&Object(o.createElement)("div",{className:"blockspare-star-rating"},Object(o.createElement)("div",{className:"blockspare-star-outer-container"},Object(o.createElement)("div",{className:"blockspare-star-inner-container",onMouseLeave:()=>this.setState({highlightedStars:0})},[...Array(n)].map((e,t)=>Object(o.createElement)("div",{className:"blockspare-ratings",key:t,onMouseEnter:()=>{this.setState({highlightedStars:t+1})},onClick:()=>{z(i%1==0?{selectedStars:t+(i-1===t?.5:1)}:{selectedStars:t+(i-.5===t?1:.5)})}},t<(B||i)?B?B-1===t?i%1>0?B-i-.5!=0?Object(o.createElement)(mP,{size:r,fillColor:l||"#fbd012"}):Object(o.createElement)(fP,{size:r,fillColor:l||"#fbd012"}):B-i!=0?Object(o.createElement)(fP,{size:r,fillColor:l||"#fbd012"}):Object(o.createElement)(mP,{size:r,fillColor:l||"#fbd012"}):Object(o.createElement)(fP,{size:r,fillColor:l||"#fbd012"}):i-t>=1?Object(o.createElement)(fP,{size:r,fillColor:l||"#fbd012"}):Object(o.createElement)(mP,{size:r,fillColor:l||"#fbd012"}):Object(o.createElement)(gP,{size:r,fillColor:l})))))),Object(o.createElement)("div",{className:"blockspare-testimonial-content"},Object(o.createElement)(FR,{tagName:"p",className:"blockspare-description",onChange:e=>z({testimonialDescription:e}),value:t,placeholder:wR("Description","blockspare"),keepPlaceholderOnFocus:!0})))),N)}});const{InnerBlocks:NR,RichText:PR}=wp.blockEditor,{Component:DR}=wp.element,{compose:RR}=wp.compose;var AR=RR(W,I(CR))(class extends DR{constructor(){super(...arguments)}render(){const{attributes:{testimonialDescription:e,sectionAlignment:t,enableRatings:a,starCount:n,starSize:r,starColor:l,selectedStars:i,emptyStarColor:s,headerTagOption:c,headerTitle:p,headerSubTitle:b,align:u,testimonialDescriptionTextSize:d,testimonialDescriptionTextColor:g,backGroundColor:m,borderRadius:f,headerlayoutOption:h,blockHoverEffect:k,imageHoverEffect:v},className:C,attributes:O}=this.props,E=(e,t)=>Object(o.createElement)("div",{className:"blockspare-ratings"}," ",Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},Object(o.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"}))),x=(e,t)=>Object(o.createElement)("div",{className:"blockspare-ratings empty-star-rating"},Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t,width:e,height:e,viewBox:"0 0 510 510"},Object(o.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 w=[];for(let e=0;e<n;e++)w.push(e<i?i-e>=1?(S=r,T=l,Object(o.createElement)("div",{className:"blockspare-ratings"},Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:T||"#fbd012",width:S,height:S,viewBox:"0 0 510 510"},Object(o.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"})))):E(r,l):x(r,l));var S,T;const j=y()([C,"blockspare-testimonials","textalignment-"+t,k,v]);return Object(o.createElement)("div",{className:j},this.props.styles,Object(o.createElement)("div",{className:y()("blockspare-block-testimonial-wrap blockspare-hover-item")},Object(o.createElement)("div",{className:"blockspare-author-wrap"},Object(o.createElement)("div",{className:"blockspare-img-wrapper"},Object(o.createElement)(NR.Content,null))),Object(o.createElement)("div",{className:"blockspare-author-designation"},Object(o.createElement)("div",{className:y()("blockspare-section-header-wrapper blockspare-blocks","align"+u)},Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",h,"blockspare-"+t)},Object(o.createElement)(rc,{headerTitle:p,headerTagOption:c,headerSubTitle:b,headerlayoutOption:h})))),a&&Object(o.createElement)("div",{className:"blockspare-star-rating"},Object(o.createElement)("div",{className:"blockspare-star-outer-container"},Object(o.createElement)("div",{className:"blockspare-star-inner-container"},w))),Object(o.createElement)("div",{className:"blockspare-testimonial-content"},Object(o.createElement)(PR.Content,{tagName:"p",className:"blockspare-description",value:e}))))}});const{__:_R}=wp.i18n,{registerBlockType:IR}=wp.blocks,{category:HR}=uR,GR={...ci,...uR.attributes,...pi},WR={title:_R("Testimonial  Item","blockspare"),description:_R("Display creative testimonial.","blockspare"),parent:["blockspare/blockspare-testimonial"],icon:s.a.testimonial,category:HR,supports:{html:!1,inserter:!1,reusable:!1},attributes:GR,edit:zR,save:AR};IR("blockspare/testimonial-item",WR);const{Component:UR,Fragment:qR}=wp.element,{createBlock:VR}=wp.blocks,{withSelect:$R,withDispatch:XR}=wp.data,{InnerBlocks:YR}=wp.blockEditor,{compose:JR}=wp.compose;var KR=JR([$R((e,t)=>{const{clientId:a}=t,{getBlock:o,isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{block:o(a),isSelectedBlockInRoot:n(a)||r(a,!0)}}),XR(e=>{const{insertBlock:t,updateBlockAttributes:a}=e("core/block-editor");return{insertBlock:t,updateBlockAttributes:a}})])(class extends UR{constructor(){super(...arguments),E()(this,"getTestimonialTemplate",e=>{const t=[],a=e.defaultItems;for(let e=0;e<a;e++)t.push(["blockspare/testimonial-item",{}]);return t})}componentDidMount(){const{setAttributes:e,clientId:t,attributes:{uniqueId:a}}=this.props,o=t.substr(0,6);a?a&&a!=o&&e({uniqueId:o}):e({uniqueId:o})}insertTestimonialItem(){let e;const{clientId:t,insertBlock:a,block:o}=this.props;if(o.innerBlocks&&o.innerBlocks.length){const t=o.innerBlocks[o.innerBlocks.length-1].attributes.itemNumber+1,a=WR.heading;e=Object.assign({},{},{itemNumber:t,heading:a,active:!1,defaultText:""})}else e=WR;a(VR("blockspare/testimonial-item",e),void 0,t)}render(){const{attributes:e,isSelectedBlockInRoot:t}=this.props;return[Object(o.createElement)(qR,null,Object(o.createElement)(bR,this.props),Object(o.createElement)(eR,this.props,Object(o.createElement)(YR,{template:this.getTestimonialTemplate(e),allowedBlocks:["blockspare/testimonial-item"],renderAppender:!1})))]}});const{Component:ZR}=wp.element,{InnerBlocks:QR}=wp.blockEditor,{compose:eA}=wp.compose;var tA=eA(W,I(KD))(class extends ZR{render(){const{attributes:{columns:e,columnsGap:t,align:a,backgroundColor:n,layoutOption:r,blockLayout:l,animation:i},className:s}=this.props,c=y()(s,"align"+a,i?"blockspare-block-animation":""),p=y()(["blockspare-main-testimonial-wrapper blockspare-item","blockspare-testimonial-columns-"+e,"blockspare-testimonial-gap-"+t,r,l]);return Object(o.createElement)("div",{className:c,"blockspare-animation":i},Object(o.createElement)("div",{className:p},this.props.styles,Object(o.createElement)(QR.Content,null)))}}),aA=a(300);const{__:oA}=wp.i18n,{registerBlockType:nA}=wp.blocks,{name:rA,category:lA,attributes:iA}=aA;nA(rA,{title:oA("Testimonial","blockspare"),description:oA("Add a testimonial","blockspare"),category:lA,icon:s.a.testimonial,attributes:iA,keywords:[oA("block","blockspare"),oA("testimonial","blockspare"),oA("team","blockspare"),oA("rating","blockspare")],supports:{align:["wide","full","center"],html:!0},edit:KR,save:tA}),a(396);var sA=a(209);const{__:cA}=wp.i18n,{Component:pA}=wp.element,{InspectorControls:bA,PanelColorSettings:uA}=wp.blockEditor,{PanelBody:dA,ToggleControl:gA,SelectControl:mA,TextControl:fA,RangeControl:hA}=wp.components;class kA extends pA{constructor(e){super(...arguments)}render(){const{attributes:{profileTextColor:e,profileBackgroundColor:t,twitter:a,facebook:n,instagram:r,youtube:l,linkedin:i,buttonFills:s,paddingTop:c,paddingRight:p,paddingBottom:b,paddingLeft:u,marginTop:d,marginRight:g,marginBottom:m,marginLeft:f,iconColorOption:h,customfontColorOption:k,custombackgroundColorOption:y,buttonShapes:v,buttonSizes:C,titleFontSize:O,headerTagOption:E,headerlayoutOption:x,enableBoxShadow:w,xOffset:S,yOffset:T,blur:j,spread:F,shadowColor:M,borderRadius:B,titleLoadGoogleFonts:L,titleFontFamily:z,titleFontWeight:N,titleFontSubset:P,titleFontSizeType:D,titleFontSizeMobile:R,titleFontSizeTablet:A,subTitleFontSize:_,subTitleLoadGoogleFonts:I,subTitleFontFamily:H,subTitleFontWeight:G,subTitleFontSubset:W,subTitleFontSizeType:U,subTitleFontSizeMobile:q,subTitleFontSizeTablet:V,descriptionFontSize:$,descriptionFontFamily:X,descriptionFontWeight:Y,descriptionFontSubset:J,descriptionFontSizeType:K,descriptionFontSizeMobile:Z,descriptionFontSizeTablet:Q,descriptionLoadGoogleFonts:ee,descriptionMarginTop:te,descriptionMarginRight:ae,descriptionMarginBottom:oe,descriptionMarginLeft:re,headertitleColor:le,headertitleColorDark:ie,headersubtitleColor:se,dashColor:pe,dashColor2:be,headerboxColor:ue,titlePaddingTop:de,titlePaddingRight:ge,titlePaddingBottom:me,titlePaddingLeft:fe,subtitlePaddingTop:he,subtitlePaddingRight:ke,subtitlePaddingBottom:ye,subtitlePaddingLeft:ve,headermarginTop:Ce,headermarginRight:Oe,headermarginBottom:Ee,headermarginLeft:xe},attributes:we,setAttributes:Se}=this.props,Te=(cA("Layout 1","blockspare"),cA("Layout 2","blockspare"),cA("Layout 3","blockspare"),cA("Layout 4","blockspare"),cA("Layout 5","blockspare"),cA("Layout 6","blockspare"),cA("Layout 7","blockspare"),cA("Layout 8","blockspare"),cA("Layout 9","blockspare"),[{value:"blockspare-default-official-color",label:cA(" Official","blockspare")},{value:"custom",label:cA("Custom","blockspare")}]),je=[{value:"blockspare-social-icon-square",label:cA("Square","blockspare")},{value:"blockspare-social-icon-circle",label:cA("Circle","blockspare")},{value:"blockspare-social-icon-rounded",label:cA("Rounded Square","blockspare")}],Fe=[{value:"blockspare-social-icon-small",label:cA("Small","blockspare")},{value:"blockspare-social-icon-medium",label:cA("Medium","blockspare")},{value:"blockspare-social-icon-large",label:cA("Large","blockspare")}],Me=[{value:"blockspare-social-icon-solid",label:cA("Solid","blockspare")},{value:"blockspare-social-icon-border",label:cA("Border","blockspare")},{value:"blockspare-social-icon-none",label:cA("None","blockspare")}];return Object(o.createElement)(bA,{key:"inspector"},Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(dA,{title:cA("Header Settings","blockspare"),initialOpen:!1},Object(o.createElement)(Os,{headerlayoutOption:x,onChangeHeaderLayput:e=>Se({headerlayoutOption:e})}),Object(o.createElement)(dA,{title:cA("Typography Settings","blockspare")},Object(o.createElement)(Oo,{label:cA("Title Fonts Settings"),attributes:we,setAttributes:Se,loadGoogleFonts:{value:L,label:cA("titleLoadGoogleFonts")},fontFamily:{value:z,label:cA("titleFontFamily")},fontWeight:{value:N,label:cA("titleFontWeight")},fontSubset:{value:P,label:cA("titleFontSubset")},fontSizeType:{value:D,label:cA("titleFontSizeType")},fontSize:{value:O,label:cA("titleFontSize")},fontSizeMobile:{value:R,label:cA("titleFontSizeMobile")},fontSizeTablet:{value:A,label:cA("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:E}),Object(o.createElement)(Oo,{label:cA("Subtitle Fonts Settings"),attributes:we,setAttributes:Se,loadGoogleFonts:{value:I,label:cA("subTitleLoadGoogleFonts")},fontFamily:{value:H,label:cA("subTitleFontFamily")},fontWeight:{value:G,label:cA("subTitleFontWeight")},fontSubset:{value:W,label:cA("subTitleFontSubset")},fontSizeType:{value:U,label:cA("subTitleFontSizeType")},fontSize:{value:_,label:cA("subTitleFontSize")},fontSizeMobile:{value:q,label:cA("subTitleFontSizeMobile")},fontSizeTablet:{value:V,label:cA("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),Object(o.createElement)(Oo,{label:cA("Description Fonts Settings"),attributes:we,setAttributes:Se,loadGoogleFonts:{value:ee,label:cA("descriptionLoadGoogleFonts")},fontFamily:{value:X,label:cA("descriptionFontFamily")},fontWeight:{value:Y,label:cA("descriptionFontWeight")},fontSubset:{value:J,label:cA("descriptionFontSubset")},fontSizeType:{value:K,label:cA("descriptionFontSizeType")},fontSize:{value:$,label:cA("descriptionFontSize")},fontSizeMobile:{value:Z,label:cA("descriptionFontSizeMobile")},fontSizeTablet:{value:Q,label:cA("descriptionFontSizeTablet")},disableLineHeight:!0})),Object(o.createElement)(Ci,{headerboxColor:ue,onChangeboxcolor:e=>Se({headerboxColor:e}),headertitleColor:le,onChangetitlecolor:e=>Se({headertitleColor:e}),headertitleColorDark:ie,onChangetitlecolordark:e=>Se({headertitleColorDark:e}),dashColor:pe,dashColor2:be,headerlayoutOption:x,onChangeDashColor:e=>Se({dashColor:e}),onChangeDashColor2:e=>Se({dashColor2:e}),headersubtitleColor:se,onChangesubtitlecolor:e=>Se({headersubtitleColor:e})}),Object(o.createElement)(fi,{panelTitle:cA("Title/Subtitle Gaps","lockspare"),titlePaddingTop:de,onChangetitlePaddingTop:e=>Se({titlePaddingTop:e}),titlePaddingRight:ge,onChangetitlePaddingRight:e=>Se({titlePaddingRight:e}),titlePaddingBottom:me,onChangetitlePaddingBottom:e=>Se({titlePaddingBottom:e}),titlePaddingLeft:fe,onChangetitlePaddingLeft:e=>Se({titlePaddingLeft:e}),headersubtitleColor:se,onChangesubtitlecolor:e=>Se({headersubtitleColor:e}),subtitlePaddingTop:he,onChangesubtitlePaddingTop:e=>Se({subtitlePaddingTop:e}),subtitlePaddingRight:ke,onChangesubtitlePaddingRight:e=>Se({subtitlePaddingRight:e}),subtitlePaddingBottom:ye,onChangesubtitlePaddingBottom:e=>Se({subtitlePaddingBottom:e}),subtitlePaddingLeft:ve,onChangesubtitlePaddingLeft:e=>Se({subtitlePaddingLeft:e}),headermarginTop:Ce,onChangeheadermarginTop:e=>Se({headermarginTop:e}),headermarginRight:Oe,onChangeheadermarginRight:e=>Se({headermarginRight:e}),headermarginBottom:Ee,onChangeheadermarginBottom:e=>Se({headermarginBottom:e}),headermarginLeft:xe,onChangeheadermarginLeft:e=>Se({headermarginLeft:e})})),Object(o.createElement)(dA,{title:cA("Color Settings","blockspare"),initialOpen:!1},Object(o.createElement)(uA,{title:cA("Colors","blockspare"),initialOpen:!1,colorSettings:[{value:t,onChange:e=>Se({profileBackgroundColor:e}),label:cA("Background Color","blockspare")},{value:e,onChange:e=>Se({profileTextColor:e}),label:cA("Description Color","blockspare")}]}),Object(o.createElement)(hA,{label:cA("Border Radius","blockspare"),value:B,onChange:e=>this.props.setAttributes({borderRadius:e}),min:0,max:50,step:1}),Object(o.createElement)(gA,{label:cA("Enable Box Shadow","blockspare"),checked:w,onChange:()=>this.props.setAttributes({enableBoxShadow:!w})}),w&&Object(o.createElement)(ji,{shadowColor:M,onChangeShadowColor:e=>Se({shadowColor:e}),xOffset:S,onChangeXOffset:e=>Se({xOffset:e}),yOffset:T,onChangeYOffset:e=>Se({yOffset:e}),blur:j,onChangeBlur:e=>Se({blur:e}),spread:F,onChangeSpread:e=>Se({spread:e})})),Object(o.createElement)(dA,{title:cA("Social link Urls","blockspare"),className:"blockspare-hide-query",initialOpen:!1},Object(o.createElement)(fA,{label:cA("Facebook Url","blockspare"),type:"text",value:n,onChange:e=>this.props.setAttributes({facebook:e})}),Object(o.createElement)(fA,{label:cA("LinkedIn Url","blockspare"),type:"text",value:i,onChange:e=>this.props.setAttributes({linkedin:e})}),Object(o.createElement)(fA,{label:cA("Twitter Url","blockspare"),type:"text",value:a,onChange:e=>this.props.setAttributes({twitter:e})}),Object(o.createElement)(fA,{label:cA("Instagram Url","blockspare"),type:"text",value:r,onChange:e=>this.props.setAttributes({instagram:e})}),Object(o.createElement)(fA,{label:cA("Youtube Url","blockspare"),type:"text",value:l,onChange:e=>this.props.setAttributes({youtube:e})})),Object(o.createElement)(dA,{title:cA("Social Icon Option","blockspare"),initialOpen:!1},Object(o.createElement)(mA,{label:cA("Icon Option","blockspare"),options:Te,value:h,onChange:e=>this.props.setAttributes({iconColorOption:e})}),"custom"==h&&Object(o.createElement)(uA,{title:cA("Font Color","blockspare"),initialOpen:!1,colorSettings:[{value:k,onChange:e=>Se({customfontColorOption:e}),label:cA("Font Color","blockspare")}]}),"custom"==we.iconColorOption&&"blockspare-social-icon-none"!==we.buttonFills&&Object(o.createElement)(uA,{title:cA("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:y,onChange:e=>Se({custombackgroundColorOption:e}),label:cA("Background/Border Color","blockspare")}]}),Object(o.createElement)(mA,{label:cA("Size","blockspare"),options:Fe,value:C,onChange:e=>this.props.setAttributes({buttonSizes:e})}),"blockspare-social-icon-none"!==s&&Object(o.createElement)(mA,{label:cA("Shape","blockspare"),options:je,value:v,onChange:e=>this.props.setAttributes({buttonShapes:e})}),Object(o.createElement)(mA,{label:cA("Fill","blockspare"),options:Me,value:s,onChange:e=>this.props.setAttributes({buttonFills:e})})),Object(o.createElement)(dA,{title:cA("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(dA,{title:cA("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props),Object(o.createElement)(Cu,this.props)),Object(o.createElement)(dA,{title:cA("Gap Settings","blockspare"),initialOpen:!1},Object(o.createElement)(dA,{title:cA("Block Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:d,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>Se({marginTop:e}),marginEnableRight:!0,marginRight:g,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>Se({marginRight:e}),marginEnableBottom:!0,marginBottom:m,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>Se({marginBottom:e}),marginEnableLeft:!0,marginLeft:f,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>Se({marginLeft:e})})),Object(o.createElement)(dA,{title:cA("Content Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(ln,{paddingEnableTop:!0,paddingTop:c,paddingTopMin:"0",paddingTopMax:"300",onChangePaddingTop:e=>Se({paddingTop:e}),paddingEnableRight:!0,paddingRight:p,paddingRightMin:"0",paddingRightMax:"300",onChangePaddingRight:e=>Se({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:b,paddingBottomMin:"0",paddingBottomMax:"300",onChangePaddingBottom:e=>Se({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:u,paddingLeftMin:"0",paddingLeftMax:"300",onChangePaddingLeft:e=>Se({paddingLeft:e})})),Object(o.createElement)(dA,{title:cA("Description Gaps","blockspare"),initialOpen:!1},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:te,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>Se({descriptionMarginTop:e}),marginEnableRight:!0,marginRight:ae,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>Se({descriptionMarginRight:e}),marginEnableBottom:!0,marginBottom:oe,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>Se({descriptionMarginBottom:e}),marginEnableLeft:!0,marginLeft:re,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>Se({descriptionMarginLeft:e})})))))}}const{__:yA}=wp.i18n,{Component:vA}=wp.element;class CA extends vA{constructor(e){super(...arguments)}render(){const{attributes:{facebook:e,linkedin:t,instagram:a,twitter:n,youtube:r,iconColorOption:l,buttonShapes:i,buttonSizes:s,buttonOptions:c,buttonFills:p,iconLayoutType:b}}=this.props;function u(e){e.preventDefault()}return Object(o.createElement)("ul",{className:y()("blockspare-social-links",l,i,s,c,p,b)},e&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:e,className:"bs-social-facebook",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-facebook-f"}),Object(o.createElement)("span",{className:"screen-reader-text"},yA("Facebook","blockspare"))))),t&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:t,className:"bs-social-linkedin",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-linkedin"}),Object(o.createElement)("span",{className:"screen-reader-text"},yA("Linkedin","blockspare"))))),n&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:n,className:"bs-social-twitter",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-twitter"}),Object(o.createElement)("span",{className:"screen-reader-text"},yA("Twitter","blockspare"))))),a&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:a,className:"bs-social-instagram",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-instagram"}),Object(o.createElement)("span",{className:"screen-reader-text"},yA("Instagram","blockspare"))))),r&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:r,className:"bs-social-youtube",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-youtube"}),Object(o.createElement)("span",{className:"screen-reader-text"},yA("Youtube","blockspare"))))))}}const{Component:OA}=wp.element;class EA extends OA{constructor(e){super(...arguments)}render(){return Object(o.createElement)("div",{className:"blockspare-profile-column blockspare-profile-avatar-wrap"},Object(o.createElement)("div",{className:"blockspare-profile-image-wrap"},this.props.children))}}var xA=e=>{const{profileBackgroundColor:t,profileTextColor:a,borderRadius:o,buttonFills:n,iconColorOption:r,paddingTop:l,paddingRight:i,paddingBottom:s,paddingLeft:c,marginTop:p,marginRight:b,marginBottom:u,marginLeft:d,profileContentFontSize:g,sectionAlignment:m,headertitleColor:f,headertitleColorDark:h,titleFontSize:k,headersubtitleColor:y,dashColor:v,dashColor2:C,headerboxColor:O,titleFontFamily:E,titleFontWeight:x,titleFontSizeType:w,titleFontSizeMobile:S,titleFontSizeTablet:T,subTitleFontSize:j,subTitleFontFamily:F,subTitleFontWeight:M,subTitleFontSizeType:B,subTitleFontSizeMobile:L,subTitleFontSizeTablet:z,descriptionFontSize:N,descriptionFontFamily:P,descriptionFontWeight:D,descriptionFontSizeType:R,descriptionFontSizeMobile:A,descriptionFontSizeTablet:_,descriptionMarginTop:I,descriptionMarginRight:H,descriptionMarginBottom:G,descriptionMarginLeft:W,customfontColorOption:U,custombackgroundColorOption:q,titlePaddingTop:V,titlePaddingRight:$,titlePaddingBottom:X,titlePaddingLeft:Y,subtitlePaddingTop:J,subtitlePaddingRight:K,subtitlePaddingBottom:Z,subtitlePaddingLeft:Q,headermarginTop:ee,headermarginRight:te,headermarginBottom:ae,headermarginLeft:oe,headerlayoutOption:ne}=e.attributes,re=[];return re.push({".blockspare-author-wrapper":{backgroundColor:t||"#fff",paddingTop:l?l+"px":"0px",paddingRight:i?i+"px":"0px",paddingBottom:s?s+"px":"0px",paddingLeft:c?c+"px":"0px",borderRadius:o+"px",...As(e.attributes),marginTop:p?p+"px":"0px",marginRight:b?b+"px":"0px",marginBottom:u?u+"px":"0px",marginLeft:d?d+"px":"0px"},".blockspare-author-wrapper .blockspare-user-profile-desc":{marginTop:I?I+"px":"0px",marginRight:H?H+"px":"0px",marginBottom:G?G+"px":"0px",marginLeft:W?W+"px":"0px"},".blockspare-block-profile":{color:a||"#6d6d6d"},".blockspare-profile-text-description":{fontSize:N+R,...Ro(P),...Ao(D)}}),"blockspare-default-official-color"!=r&&("blockspare-social-icon-border"==n?re.push({".blockspare-author-wrapper .blockspare-social-links a .blockspare-social-icons":{color:U,border:"2px solid "+q}}):"blockspare-social-icon-solid"==n?re.push({".blockspare-profile-content-wrap .blockspare-social-links a .blockspare-social-icons":{color:U,backgroundColor:q}}):re.push({".blockspare-profile-content-wrap .blockspare-social-links a .blockspare-social-icons":{color:U}})),re.push({".blockspare-section-head-wrap":{backgroundColor:O||"transparent",textAlign:m,marginTop:ee+"px",marginRight:te+"px",marginBottom:ae+"px",marginLeft:oe+"px"}}),"blockspare-style9"===ne||"blockspare-style17"===ne||"blockspare-style18"===ne?re.push({".blockspare-section-head-wrap .blockspare-title":{color:h},".blockspare-section-head-wrap .blockspare-title-wrapper":{paddingTop:V+"px ",paddingRight:$+"px ",paddingBottom:X+"px",paddingLeft:Y+"px"}}):re.push({".blockspare-section-head-wrap .blockspare-title":{color:f,paddingTop:V+"px ",paddingRight:$+"px ",paddingBottom:X+"px",paddingLeft:Y+"px"}}),re.push({...Hs(e)}),re.push({".blockspare-section-head-wrap .blockspare-title":{fontSize:k+w,...Ro(E),...Ao(x)},".blockspare-section-head-wrap .blockspare-subtitle":{color:y,fontSize:j+B,...Ro(F),...Ao(M),paddingTop:J+"px",paddingRight:K+"px",paddingBottom:Z+"px",paddingLeft:Q+"px"},".blockspare-user-profile-desc":{fontSize:N+R,...Ro(P),...Ao(D)},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:T+w},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:z+B},".blockspare-user-profile-desc":{fontSize:_+R}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:S+w},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:L+B},".blockspare-user-profile-desc":{fontSize:A+R}}}),Do.a.all(re)};const{compose:wA}=wp.compose,SA=blockspare_globals,TA=["core/image"],jA=[["core/image",{url:SA.menu_img_url}]],{__:FA}=wp.i18n,{Component:MA,Fragment:BA}=wp.element,{RichText:LA,AlignmentToolbar:zA,BlockControls:NA,InnerBlocks:PA}=wp.blockEditor;var DA=wA(W,I(xA))(class extends MA{constructor(){super(...arguments)}render(){const{attributes:{sectionAlignment:e,headerTagOption:t,headerTitle:a,headerSubTitle:n,profileContent:r,headerlayoutOption:l,titleLoadGoogleFonts:i,titleFontFamily:s,titleFontWeight:c,subTitleLoadGoogleFonts:p,subTitleFontFamily:b,subTitleFontWeight:u,descriptionLoadGoogleFonts:d,descriptionFontFamily:g,descriptionFontWeight:m,animation:f,blockHoverEffect:h,align:k,imageHoverEffect:v},className:C,attributes:O,setAttributes:E}=this.props;let x,w="";if(w="left"==e?"blockspare-layout-left":"right"==e?"blockspare-layout-right":"blockspare-layout-center",1==d){const e={google:{families:[g+(m?":"+m:"")]}};x=Object(o.createElement)(Uo,{config:e})}const S=y()([C,"blockspare-authorprofile",f?"blockspare-block-animation":"",f,h,"align"+k,v]);return Object(o.createElement)(BA,null,Object(o.createElement)("div",{className:S},Object(o.createElement)("div",{className:"blockspare-section-wrapper"},this.props.styles,Object(o.createElement)("div",{className:"blockspare-author-wrapper blockspare-blocks blockspare-hover-item"},Object(o.createElement)(NA,{key:"controls"},Object(o.createElement)(zA,{value:e,onChange:e=>E({sectionAlignment:e})})),Object(o.createElement)(kA,{setAttributes:E,...this.props}),Object(o.createElement)("div",{className:y()("blockspare-profile-admin",w,"blockspare-block-profile","blockspare-profile-columns")},Object(o.createElement)(EA,this.props,Object(o.createElement)(PA,{template:jA,allowedBlocks:TA,templateLock:!0,templateInsertUpdatesSelection:!0})),Object(o.createElement)("div",{className:y()("blockspare-profile-column blockspare-profile-content-wrap")},Object(o.createElement)("div",{className:y()("blockspare-section-header-wrapper blockspare-blocks")},Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",l,"blockspare-"+e)},Object(o.createElement)(Rs,{setAttributes:E,headerTitle:a,headerTagOption:t,headerSubTitle:n,titleFontFamily:s,titleFontWeight:c,titleLoadGoogleFonts:i,subTitleLoadGoogleFonts:p,subTitleFontFamily:b,subTitleFontWeight:u,headerlayoutOption:l}))),Object(o.createElement)(LA,{tagName:"p",className:y()("blockspare-profile-text","blockspare-user-profile-desc"),placeholder:FA("Add your content...","blockspare"),keepPlaceholderOnFocus:!0,value:r,allowedFormats:["bold","italic","strikethrough","link"],onChange:e=>E({profileContent:e})}),Object(o.createElement)(CA,this.props)))),x)))}});const{compose:RA}=wp.compose,{Component:AA}=wp.element,{RichText:_A,InnerBlocks:IA}=wp.blockEditor;var HA=RA(W,I(xA))(class extends AA{constructor(){super(...arguments)}render(){const{attributes:{sectionAlignment:e,profileContent:t,headerTagOption:a,headerTitle:n,headerSubTitle:r,profileContentFontSize:l,headerlayoutOption:i,align:s,animation:c,blockHoverEffect:p,imageHoverEffect:b},className:u}=this.props,d=y()([u,"blockspare-authorprofile authorbox",c?"blockspare-block-animation":"",p,b]);let g="";return g="left"==e?"blockspare-layout-left":"right"==e?"blockspare-layout-right":"blockspare-layout-center",Object(o.createElement)("div",{className:d,"blockspare-animation":c},Object(o.createElement)("div",{className:"blockspare-section-wrapper"},this.props.styles,Object(o.createElement)("div",{className:"blockspare-author-wrapper blockspare-blocks blockspare-hover-item"},Object(o.createElement)("div",{className:y()(g,"blockspare-block-profile","blockspare-profile-columns")},Object(o.createElement)(EA,this.props,Object(o.createElement)(IA.Content,null)),Object(o.createElement)("div",{className:y()("blockspare-profile-column blockspare-profile-content-wrap")},Object(o.createElement)("div",{className:y()("blockspare-section-header-wrapper blockspare-blocks")},Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",i,"blockspare-"+e)},Object(o.createElement)(rc,{headerTitle:n,headerTagOption:a,headerSubTitle:r,headerlayoutOption:i}))),t&&"Add your content..."!==t&&Object(o.createElement)(_A.Content,{tagName:"p",className:y()("blockspare-profile-text","blockspare-user-profile-desc"),value:t}),Object(o.createElement)(CA,this.props))))))}});const{__:GA}=wp.i18n,{Component:WA}=wp.element;class UA extends WA{constructor(e){super(...arguments)}render(){const{attributes:{facebook:e,linkedin:t,instagram:a,twitter:n,youtube:r,iconColorOption:l,buttonShapes:i,buttonSizes:s,buttonOptions:c,buttonFills:p,iconLayoutType:b}}=this.props;function u(e){e.preventDefault()}return Object(o.createElement)("ul",{className:y()("blockspare-social-links",l,i,s,c,p,b)},e&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:e,className:"",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-facebook-f"}),Object(o.createElement)("span",{className:"screen-reader-text"},GA("Facebook","blockspare"))))),t&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:t,className:"",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-linkedin"}),Object(o.createElement)("span",{className:"screen-reader-text"},GA("Linkedin","blockspare"))))),n&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:n,className:"",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-twitter"}),Object(o.createElement)("span",{className:"screen-reader-text"},GA("Twitter","blockspare"))))),a&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:a,className:"",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-instagram"}),Object(o.createElement)("span",{className:"screen-reader-text"},GA("Instagram","blockspare"))))),r&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:r,className:"",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-youtube"}),Object(o.createElement)("span",{className:"screen-reader-text"},GA("Youtube","blockspare"))))))}}const{compose:qA}=wp.compose,{Component:VA}=wp.element,{RichText:$A,InnerBlocks:XA}=wp.blockEditor;var YA=qA(W,I(xA))(class extends VA{constructor(){super(...arguments)}render(){const{attributes:{sectionAlignment:e,profileContent:t,headerTagOption:a,headerTitle:n,headerSubTitle:r,profileContentFontSize:l,headerlayoutOption:i,align:s,animation:c,blockHoverEffect:p},className:b}=this.props,u=y()([b,"blockspare-authorprofile authorbox",c?"blockspare-block-animation":"",p]);let d="";return d="left"==e?"blockspare-layout-left":"right"==e?"blockspare-layout-right":"blockspare-layout-center",Object(o.createElement)("div",{className:u,"blockspare-animation":c},Object(o.createElement)("div",{className:"blockspare-section-wrapper"},this.props.styles,Object(o.createElement)("div",{className:"blockspare-author-wrapper blockspare-blocks blockspare-hover-item"},Object(o.createElement)("div",{className:y()(d,"blockspare-block-profile","blockspare-profile-columns")},Object(o.createElement)(EA,this.props,Object(o.createElement)(XA.Content,null)),Object(o.createElement)("div",{className:y()("blockspare-profile-column blockspare-profile-content-wrap")},Object(o.createElement)("div",{className:y()("blockspare-section-header-wrapper blockspare-blocks")},Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",i,"blockspare-"+e)},Object(o.createElement)(rc,{headerTitle:n,headerTagOption:a,headerSubTitle:r,headerlayoutOption:i}))),t&&"Add your content..."!==t&&Object(o.createElement)($A.Content,{tagName:"div",className:y()("blockspare-profile-text","blockspare-user-profile-desc"),value:t}),Object(o.createElement)(UA,this.props))))))}});const{__:JA}=wp.i18n,{Component:KA}=wp.element;class ZA extends KA{constructor(e){super(...arguments)}render(){const{attributes:{facebook:e,linkedin:t,instagram:a,twitter:n,youtube:r,iconColorOption:l,buttonShapes:i,buttonSizes:s,buttonOptions:c,buttonFills:p,iconLayoutType:b}}=this.props;function u(e){e.preventDefault()}return Object(o.createElement)("ul",{className:y()("blockspare-social-links",l,i,s,c,p,b)},e&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:e,className:"bs-social-facebook",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-facebook-f"}),Object(o.createElement)("span",{className:"screen-reader-text"},JA("Facebook","blockspare"))))),t&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:t,className:"bs-social-linkedin",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-linkedin"}),Object(o.createElement)("span",{className:"screen-reader-text"},JA("Linkedin","blockspare"))))),n&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:n,className:"bs-social-twitter",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-twitter"}),Object(o.createElement)("span",{className:"screen-reader-text"},JA("Twitter","blockspare"))))),a&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:a,className:"bs-social-instagram",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-instagram"}),Object(o.createElement)("span",{className:"screen-reader-text"},JA("Instagram","blockspare"))))),r&&Object(o.createElement)("li",null,Object(o.createElement)("a",{href:r,className:"bs-social-youtube",target:"_blank",onClick:u,rel:"noopener noreferrer"},Object(o.createElement)("span",{className:"blockspare-social-icons"},Object(o.createElement)("i",{className:"fab fa-youtube"}),Object(o.createElement)("span",{className:"screen-reader-text"},JA("Youtube","blockspare"))))))}}const{compose:QA}=wp.compose,{Component:e_}=wp.element,{RichText:t_,InnerBlocks:a_}=wp.blockEditor;var o_=QA(W,I(xA))(class extends e_{constructor(){super(...arguments)}render(){const{attributes:{sectionAlignment:e,profileContent:t,headerTagOption:a,headerTitle:n,headerSubTitle:r,profileContentFontSize:l,headerlayoutOption:i,align:s,animation:c,blockHoverEffect:p},className:b}=this.props,u=y()([b,"blockspare-authorprofile authorbox",c?"blockspare-block-animation":"",p]);let d="";return d="left"==e?"blockspare-layout-left":"right"==e?"blockspare-layout-right":"blockspare-layout-center",Object(o.createElement)("div",{className:u,"blockspare-animation":c},Object(o.createElement)("div",{className:"blockspare-section-wrapper"},this.props.styles,Object(o.createElement)("div",{className:"blockspare-author-wrapper blockspare-blocks blockspare-hover-item"},Object(o.createElement)("div",{className:y()(d,"blockspare-block-profile","blockspare-profile-columns")},Object(o.createElement)(EA,this.props,Object(o.createElement)(a_.Content,null)),Object(o.createElement)("div",{className:y()("blockspare-profile-column blockspare-profile-content-wrap")},Object(o.createElement)("div",{className:y()("blockspare-section-header-wrapper blockspare-blocks")},Object(o.createElement)("div",{className:y()("blockspare-section-head-wrap",i,"blockspare-"+e)},Object(o.createElement)(rc,{headerTitle:n,headerTagOption:a,headerSubTitle:r,headerlayoutOption:i}))),t&&"Add your content..."!==t&&Object(o.createElement)(t_.Content,{tagName:"div",className:y()("blockspare-profile-text","blockspare-user-profile-desc"),value:t}),Object(o.createElement)(ZA,this.props))))))}});const n_={...ci,...sA.attributes,...pi};var r_=[{attributes:n_,save:e=>Object(o.createElement)(YA,e)},{attributes:n_,save:e=>Object(o.createElement)(o_,e)}];const{__:l_}=wp.i18n,{registerBlockType:i_}=wp.blocks,{name:s_,category:c_}=sA,p_={...ci,...sA.attributes,...pi};i_(s_,{title:l_("User Profile","blockspare"),description:l_("Add User profile","blockspare"),category:c_,icon:s.a.userprofile,attributes:p_,keywords:[l_("block","blockspare"),l_("user","blockspare"),l_("profile","blockspare"),l_("team","blockspare")],supports:{align:["center","wide","full"]},edit:DA,save:HA,deprecated:r_}),a(397);const{__:b_}=wp.i18n,{Component:u_,Fragment:d_}=wp.element,{InspectorControls:g_,PanelColorSettings:m_}=wp.blockEditor,{PanelBody:f_,RangeControl:h_,ToggleControl:k_}=wp.components;class y_ extends u_{constructor(e){super(...arguments)}render(){const{design:e="double-wave",width:t,height:a,color:n,marginTop:r,marginBottom:l,marginLeft:i,marginRight:s,verticalFlip:c,horizontalFlip:p}=this.props.attributes,{setAttributes:b}=this.props;return Object(o.createElement)(g_,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(Qi,null,Object(o.createElement)(Yi,{onChange:e=>b({design:e}),selected:e,excludeDesigns:["straight-1"]})),Object(o.createElement)(f_,{title:b_("Divider Settings","blockspare"),initialOpen:!1},Object(o.createElement)(k_,{label:b_("Flip Vertically","blockspare"),checked:c,onChange:()=>this.props.setAttributes({verticalFlip:!c})}),Object(o.createElement)(k_,{label:b_("Flip Horizontally","blockspare"),checked:p,onChange:()=>this.props.setAttributes({horizontalFlip:!p})}),Object(o.createElement)(m_,{title:b_("Shape Color","blockspare"),initialOpen:!0,colorSettings:[{value:n,onChange:e=>b({color:e}),label:b_("Shape Color","blockspare")}]}),Object(o.createElement)(h_,{label:b_("Width","blockspare"),value:t,onChange:e=>b({width:e}),min:1,step:.1,max:4}),Object(o.createElement)(h_,{label:b_("Height","blockspare"),value:a,onChange:e=>b({height:e}),min:30,step:2,max:300})),Object(o.createElement)(f_,{title:b_("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(f_,{title:b_("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props)),Object(o.createElement)(f_,{title:b_("Block Gaps Settings","blockspare"),initialOpen:!1},Object(o.createElement)(f_,{title:b_("Margin Settings","blockspare"),initialOpen:!0},Object(o.createElement)(So,{marginEnableTop:!0,marginTop:r,marginTopMin:"-300",marginTopMax:"300",onChangeMarginTop:e=>b({marginTop:e}),marginEnableBottom:!0,marginBottom:l,marginBottomMin:"-300",marginBottomMax:"300",onChangeMarginBottom:e=>b({marginBottom:e}),marginEnableLeft:!0,marginLeft:i,marginLeftMin:"-300",marginLeftMax:"300",onChangeMarginLeft:e=>b({marginLeft:e}),marginEnableRight:!0,marginRight:s,marginRightMin:"-300",marginRightMax:"300",onChangeMarginRight:e=>b({marginRight:e})})))))}}var v_=e=>{const{height:t,color:a}=e.attributes,o=[];return o.push({".blockspare-svg-wrapper":{color:a||"#3c1a5b",height:t+"px",..._s(e.attributes)}}),Do.a.all(o)};const{__:C_}=wp.i18n,{Component:O_,Fragment:E_}=wp.element,{compose:x_}=wp.compose;var w_=x_(W,I(v_))(class extends O_{constructor(e){super(...arguments)}render(){const{className:e,attributes:{design:t="double-wave",layer1Shadow:a=!1,width:n,height:r,verticalFlip:l,horizontalFlip:i,color:s,align:c,animation:p,blockHoverEffect:b},attributes:u,isSelected:d,setAttributes:g}=this.props,m=y()([e,"align"+c,p?"blockspare-block-animation":"",p,b]);let f=y()("blockspare-blocks blockspare-svg-wrapper blockspare-hover-item",function(e){return"has-width-"+e.toString().replace(".","-")}(n),{"is-vertically-flipped":l,"is-horizontally-flipped":i});return Object(o.createElement)(E_,null,Object(o.createElement)(y_,{setAttributes:g,...this.props}),Object(o.createElement)("div",{className:m},this.props.styles,Object(o.createElement)("div",{className:f},Object(o.createElement)(Pp,{design:t,shadow:a,className:"blockspare-svg-svg-inner"}))))}});const{Component:S_,Fragment:T_}=wp.element,{compose:j_}=wp.compose;var F_=j_(W,I(v_))(class extends S_{render(){const{className:e}=this.props,{attributes:{design:t="double-wave",align:a,width:n,height:r,verticalFlip:l,horizontalFlip:i,color:s,animation:c,blockHoverEffect:p},attributes:b}=this.props,u=y()([e,c?"blockspare-block-animation":"",p]);let d=y()("blockspare-blocks blockspare-svg-wrapper blockspare-hover-item",{"is-vertically-flipped":l,"is-horizontally-flipped":i},function(e){return"has-width-"+e.toString().replace(".","-")}(n));return Object(o.createElement)(T_,null,Object(o.createElement)("div",{className:u,"blockspare-animation":c},this.props.styles,Object(o.createElement)("div",{className:d},Object(o.createElement)(Pp,{design:t,className:"blockspare-svg-svg-inner"}))))}}),M_=a(301);const{__:B_}=wp.i18n,{registerBlockType:L_}=wp.blocks,{name:z_,category:N_,attributes:P_}=M_;L_(z_,{title:B_("Shape Divider","blockspare"),description:B_("Decorations for section shapes.","blockspare"),category:N_,icon:s.a.shapediviver,attributes:P_,keywords:[B_("shape","blockspare"),B_("divider","blockspare"),B_("space","blockspare")],supports:{align:["wide","full","center"]},example:{design:"double-wave",color:"#3c1a5b"},edit:w_,save:F_});var D_=a(258);const{Component:R_}=wp.element,{__:A_}=wp.i18n,{PanelColorSettings:I_,InspectorControls:H_}=wp.blockEditor,{RangeControl:G_,PanelBody:W_,SelectControl:U_}=wp.components;class q_ extends R_{render(){const{height:e,backGroundColor:t,fillType:a}=this.props.attributes,{setAttributes:n}=this.props,r=[{value:"",label:A_("Solid","blockspare")},{value:"transparent",label:A_("Transparent","blockspare")}];return Object(o.createElement)(H_,null,Object(o.createElement)("div",{className:"blockspare-inspector-wrapper"},Object(o.createElement)(vr,{protitle:"👋",demoLink:"button"}),Object(o.createElement)(W_,{title:A_("Block Settings","blockspare"),initialOpen:!1},Object(o.createElement)(U_,{label:A_(" Fill Type","blockspare"),value:a,options:r.map(e=>{let{value:t,label:a}=e;return{value:t,label:a}}),onChange:e=>n({fillType:e})}),Object(o.createElement)(G_,{label:A_("Height","blockspare"),value:e,onChange:e=>n({height:e}),min:0,step:5,max:1e3}),"transparent"!==a&&Object(o.createElement)(I_,{title:A_("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:t,onChange:e=>n({backGroundColor:e}),label:A_("Background Color","blockspare")}]})),Object(o.createElement)(W_,{title:A_("Animation Options","blockspare"),initialOpen:!1},Object(o.createElement)(ne,this.props)),Object(o.createElement)(W_,{title:A_("Hover Options","blockspare"),initialOpen:!1},Object(o.createElement)(ce,this.props))))}}var V_=e=>{const{height:t,backGroundColor:a,fillType:o}=e.attributes,n=[];return"transparent"===o?n.push({".blockspare-emptysection":{height:t+"px",width:"100%"}}):n.push({".blockspare-emptysection":{height:t+"px",width:"100%",backgroundColor:a||"#fff"}}),Do.a.all(n)};const{Component:$_,Fragment:X_}=wp.element,{compose:Y_}=wp.compose;var J_=Y_(W,I(V_))(class extends $_{render(){const{attributes:{animation:e,align:t,blockHoverEffect:a},className:n}=this.props,r={className:y()(n,"align"+t,"blockspare-blocks blockspare-empty-section-wrapper",e?"blockspare-block-animation":"",e,a),"data-block-animation":e};return Object(o.createElement)(X_,null,Object(o.createElement)(q_,this.props),Object(o.createElement)("div",r,this.props.styles,Object(o.createElement)("div",{className:"blockspare-emptysection blockspare-hover-item"})))}});const{Component:K_}=wp.element,{compose:Z_}=wp.compose;var Q_=Z_(W,I(V_))(class extends K_{render(){const{attributes:{animation:e,blockHoverEffect:t},className:a}=this.props,n=y()([a,"blockspare-blocks blockspare-empty-section-wrapper",e?"blockspare-block-animation":"",t]);return Object(o.createElement)("div",{className:n,"blockspare-animation":e},this.props.styles,Object(o.createElement)("div",{className:"blockspare-emptysection blockspare-hover-item"}))}});const{name:eI,category:tI}=D_,aI={...D_.attributes},{registerBlockType:oI}=wp.blocks,{__:nI}=wp.i18n;oI(eI,{title:nI("Spacer Section","blockspare"),description:nI("Spacer Section","blockspare"),category:tI,icon:s.a.emptySpaces,attributes:aI,keywords:[nI("empty","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:J_,save:Q_}),a(398);var rI=a(60);const lI=["style","svg"],iI=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:lI;const{name:a,isValid:o,validationIssues:n,originalContent:r=""}=e;if(!a||!a.match(/^blockspare\//))return!1;if(o)return!1;if(!n.length)return!1;if(sI(n[0]))return!0;if(bI(n[0]))return!0;if(mI(n[0]))return!0;if(cI(n[0]))return!0;if(pI(n[0]))return!0;if(uI(n[0]))return!0;if(dI(n[0]))return!0;if(gI(n[0]))return!0;if(yI(n[0]))return!0;if(vI(n[0]))return!0;if(CI(e))return!0;const l=kI(e);return!!l&&l.some(e=>t.includes(e))},sI=e=>!!e.args&&4===e.args.length&&"string"==typeof e.args[1]&&"string"==typeof e.args[2]&&"string"==typeof e.args[3]&&"class"===e.args[1]&&!Object(Z.isEqual)(e.args[2].match(/blockspare-[^\s]+/g),e.args[3].match(/blockspare-[^\s]+/g)),cI=e=>!!e.args&&4===e.args.length&&"string"==typeof e.args[1]&&"string"==typeof e.args[2]&&"string"==typeof e.args[3]&&"class"===e.args[1]&&(e.args[2].match(/wp-image-\d+/)&&!e.args[3].match(/wp-image-\d+/)||!e.args[2].match(/wp-image-\d+/)&&e.args[3].match(/wp-image-\d+/)),pI=e=>{if(!e.args)return!1;if(4!==e.args.length)return!1;if("string"!=typeof e.args[1]||"string"!=typeof e.args[2]||"string"!=typeof e.args[3])return!1;if("class"!==e.args[1])return!1;const t=Object(Z.first)(e.args[2].match(/wp-image-\d+/)),a=Object(Z.first)(e.args[3].match(/wp-image-\d+/));return!(!t||!a)&&a!==t},bI=e=>!!e.args&&3===e.args.length&&("style"===e.args[1]&&"style"!==e.args[2]||"style"!==e.args[1]&&"style"===e.args[2]),uI=e=>!!e.args&&4===e.args.length&&"string"==typeof e.args[1]&&("aria-label"===e.args[1]||"title"===e.args[1]||"alt"===e.args[1]),dI=e=>{if(!e.args)return!1;if(3!==e.args.length)return!1;if("object"!=typeof e.args[1]||"object"!=typeof e.args[2])return!1;if(!Array.isArray(e.args[1])||!Array.isArray(e.args[2]))return!1;const t=e.args[1].map(e=>e[0]),a=e.args[2].map(e=>e[0]),o=[...Object(Z.difference)(t,a),...Object(Z.difference)(a,t)];return!!(o.includes("aria-label")||o.includes("title")||o.includes("alt")||o.includes("role"))},gI=e=>{if(!e.args)return!1;if(3!==e.args.length)return!1;if("object"!=typeof e.args[1]||"object"!=typeof e.args[2])return!1;if(!Array.isArray(e.args[1])||!Array.isArray(e.args[2]))return!1;const t=e.args[2].some(e=>"aria-level"===e[0]),a=e.args[1].some(e=>"aria-level"===e[0]);return!(!t||a)},mI=e=>!!e.args&&3===e.args.length&&("svg"===e.args[1]&&"svg"!==e.args[2]||"svg"!==e.args[1]&&"svg"===e.args[2]),fI=(e,t)=>{const a=Math.max(e.length,t.length);for(let o=0;o<a;o++)if(e[o]!==t[o])return o;return-1},hI=e=>(e.match(/<\/?[\w\d]+/g)||[]).map(e=>e.replace("<","")).reduce((e,t)=>(0===t.indexOf("/")?e.pop():e.push(t),e),[]),kI=e=>{const{name:t,attributes:a,innerBlocks:o,originalContent:n,isValid:r}=e;if(r)return!1;let l;try{l=Object(rI.getSaveContent)(t,a,o)}catch(e){return!1}const i=n.substr(0,fI(n,l)),s=l.substr(0,fI(n,l));return Object(Z.filter)([...hI(i),...hI(s)])},yI=e=>{if(!e.args)return!1;if(3!==e.args.length)return!1;if(!e.args[0].match(/attributes/))return!1;const t=e.args[1].some(e=>"aria-hidden"===e[0]),a=e.args[2].some(e=>"aria-hidden"===e[0]);return t&&!a},vI=e=>{if(!e.args)return!1;if(3!==e.args.length)return!1;if(!e.args[0].match(/attributes/))return!1;const t=e.args[1].some(e=>"focusable"===e[0]),a=e.args[2].some(e=>"focusable"===e[0]);return t&&!a},CI=e=>{var t,a;const{name:o,attributes:n,innerBlocks:r,originalContent:l,isValid:i}=e;if(i)return!1;let s;try{s=Object(rI.getSaveContent)(o,n,r)}catch(e){return!1}const c=null===(t=l.match(/<style>(.*)?<\/style>/g))||void 0===t?void 0:t[0],p=null===(a=s.match(/<style>(.*)?<\/style>/g))||void 0===a?void 0:a[0];return!(!c||!p)&&c!==p},{select:OI,dispatch:EI,subscribe:xI}=wp.data,{createBlock:wI,parse:SI,serialize:TI}=wp.blocks,jI=e=>e.map(e=>{const t=e;if("core/block"===e.name){var a,o,n;const{attributes:{ref:r}}=e,l=SI(null===(a=OI("core").getEntityRecords("postType","wp_block",{include:[r]}))||void 0===a||null===(o=a[0])||void 0===o||null===(n=o.content)||void 0===n?void 0:n.raw)||[],[i,s]=(e=>{const t=[...e];let a=!1;const o=e=>{e.forEach(e=>{if(iI(e)){a=!0;const t=FI(e);for(const a in t)e[a]=t[a]}e.innerBlocks.length&&o(e.innerBlocks)})};return o(t),[t,a]})(l);if(s)return console.log("Blockspare notice: block "+t.name+" ("+t.clientId+") was auto-recovered, you should not see this after saving your page."),{blocks:i,isReusable:!0,ref:r}}if(t.innerBlocks&&t.innerBlocks.length){const e=jI(t.innerBlocks);e.some(e=>e.recovered)&&(t.innerBlocks=e,t.replacedClientId=t.clientId,t.recovered=!0)}if(iI(t)){const e=FI(t);return e.replacedClientId=t.clientId,e.recovered=!0,console.log("Blockspare notice: block "+t.name+" ("+t.clientId+") was auto-recovered, you should not see this after saving your page."),e}return t}),FI=e=>{let{name:t,attributes:a,innerBlocks:o}=e;return wI(t,a,o)};r()(()=>{window._wpLoadBlockEditor&&window._wpLoadBlockEditor.then((function(){setTimeout(()=>{const e=xI(()=>{null!==OI("core").getEntityRecords("postType","wp_block")&&(e(),(OI("core/editor")?jI(OI("core/editor").getEditorBlocks()):[]).forEach(e=>{e.isReusable&&e.ref&&EI("core").editEntityRecord("postType","wp_block",e.ref,{content:TI(e.blocks)}).then(()=>{}),e.recovered&&e.replacedClientId&&EI("core/block-editor").replaceBlock(e.replacedClientId,e)}),(()=>{const e=document.querySelector("#blockspare-disable-block-warnings");e&&document.body.removeChild(e)})())})},0)}))});var MI=a(64),BI=a(34),LI=a(216),zI=a(19),NI=a(15),PI=a(217);const{apiFetch:DI}=wp;Object(MI.registerPlugin)("blockspare-save-templates",{render:function(){const{getEditedPostAttribute:e}=Object(zI.useSelect)(PI.store),t=e("content"),[a,n]=Object(o.useState)(!1),[r,l]=Object(o.useState)(""),[i,c]=Object(o.useState)(""),[p,b]=Object(o.useState)(!0),{createNotice:u}=Object(zI.useDispatch)(LI.store),d=()=>{n(!0)},g=()=>Object(o.createElement)(NI.Tooltip,{text:"Save as template"},Object(o.createElement)(NI.Button,{className:"bs-toolbar-prebuilt-button",onClick:d,icon:s.a.template}));return Object(o.useEffect)(()=>{const e=document.querySelector(".edit-post-header__settings");e&&(e.querySelector(".bs-save-template")||(e=>{const t=document.createElement("div");t.classList.add("bs-save-template"),e.prepend(t),Object(o.render)(Object(o.createElement)(g,null),t)})(e),b(""!==t))},[g]),Object(o.createElement)(o.Fragment,null,a&&Object(o.createElement)(NI.Modal,{title:Object(BI.__)("Save as Template","blockspare"),onRequestClose:()=>{n(!1),l("")},isOpen:a,icon:s.a.category,className:"bs-save-modal",overlayClassName:"bs-save-modal-overlay"},!p&&Object(o.createElement)("p",{className:"bs-save-error"},Object(BI.__)("Add content to the page before creating a template.","blockspare")),Object(o.createElement)("div",{className:"bs-save-title-wrapper"},Object(o.createElement)("i",{className:"dashicons dashicons-database-export"}),Object(o.createElement)("h4",{className:"bs-save-title"},Object(BI.__)("Save your changes for a quick remix and reuse later on!","blockspare"))),Object(o.createElement)("div",{className:"bs-save-template-name"},Object(o.createElement)("input",{type:"text",name:"tem_name",placeholder:Object(BI.__)("Enter Title","blockspare"),value:r,onChange:e=>l(e.target.value)}),Object(o.createElement)(NI.Button,{isPrimary:!0,className:"bs-save-button",onClick:()=>{p&&(async()=>{try{"success"===await DI({path:"blockspare-save-templates/v1/save_templates",method:"POST",data:{title:r,category:i,data:t},headers:{"X-WP-Nonce":blockspare_globals.nonce}})&&(n(!1),u("info",Object(BI.__)("Template has been saved.","blockspare"),{id:"tesmplateSuccess",isDismissible:!0,type:"snackbar",actions:[{label:"View templates",url:blockspare_globals.template_link,onClick:()=>{window.open(blockspare_globals.template_link,"_blank")}}]}),l(""))}catch(e){console.error("Error:",e)}})()},disabled:""===r||!p},Object(BI.__)("Save","blockspare"))),Object(o.createElement)("p",{className:"bs-save-description"},Object(o.createElement)("a",{href:blockspare_globals.template_link,target:"_blank",className:"bs-save-link"},Object(BI.__)("View Your Templates","blockspare")))))}});var RI=a(302);Object(MI.registerPlugin)("blockspare-copy-templates",{render:function(){const{getEditedPostAttribute:e}=Object(zI.useSelect)(PI.store),t=Object(RI.useCopyToClipboard)((function(){return e("content")}),(function(){a("info",Object(BI.__)("All content copied.","blockspare"),{isDismissible:!0,type:"snackbar"})})),{createNotice:a}=Object(zI.useDispatch)(LI.store),n=()=>Object(o.createElement)(NI.Tooltip,{text:Object(BI.__)("Copy page content","blockspare")},Object(o.createElement)(NI.Button,{ref:t,className:"bs-toolbar-copy-button",icon:s.a.clipboard,showTooltip:!0}));return Object(o.useEffect)(()=>{const e=document.querySelector(".edit-post-header__settings");e&&(e.querySelector(".bs-copy-template")||(e=>{const t=document.createElement("div");t.classList.add("bs-copy-template"),e.prepend(t),Object(o.render)(Object(o.createElement)(n,null),t)})(e))},[n]),null}});const{__:AI}=wp.i18n,{Component:_I}=wp.element,{apiFetch:II}=wp;var HI=Object(zI.withDispatch)(e=>({createNotice:e("core/notices").createNotice}))(class extends _I{constructor(){super(...arguments)}async fetchData(){const e={content:this.props.attributes.selectedData};try{const t=await II({path:"blockspare/v1/importdata",method:"POST",data:e,headers:{"Content-Type":"application/json"}});setTimeout(()=>{this.props.import(t),this.setState({isImporting:!1})},1e3),wp.domReady(()=>{wp.blocks.unregisterBlockType("blockspare/blockspare-createpage")})}catch(e){console.error("Error importing data:",e),this.setState({isImporting:!1})}}componentDidMount(){this.props.attributes.selectedData&&(this.setState({isImporting:!0}),this.fetchData())}render(){return null}});const{compose:GI}=wp.compose,{rawHandler:WI}=wp.blocks,{withSelect:UI,withDispatch:qI}=wp.data,{__:VI}=wp.i18n,{Component:$I,Fragment:XI}=wp.element,{Spinner:YI,Placeholder:JI}=wp.components;var KI=GI(UI((e,t)=>{let{clientId:a}=t;const{getBlock:o}=e("core/block-editor"),{canUserUseUnfilteredHTML:n}=e("core/editor");return{block:o(a),canUserUseUnfilteredHTML:n()}}),qI((e,t)=>{let{block:a,canUserUseUnfilteredHTML:o}=t;return{import:t=>e("core/block-editor").replaceBlocks(a.clientId,WI({HTML:t,mode:"BLOCKS",canUserUseUnfilteredHTML:o}))}}))(class extends $I{constructor(){super(...arguments)}render(){return Object(o.createElement)(XI,null,Object(o.createElement)(JI,{icon:s.a.category,label:VI("Loading Template — please hold tight","blockspare"),className:"bs-layout-selector-placeholder"},Object(o.createElement)("div",{className:"bs-layout-selector-placeholder-description"},Object(o.createElement)(YI,null),VI("Wait a moment","blockspare"))),Object(o.createElement)(HI,this.props))}});""!==blockspare_globals.blockData&&Object(rI.registerBlockType)("blockspare/blockspare-createpage",{title:"Your Block",icon:"smiley",category:"blockspare",attributes:{selectedData:{type:"string",default:blockspare_globals.blockData}},edit:KI,save:()=>null});var ZI=a(96);Object(MI.registerPlugin)("blockspare-create-page-with-block",{render:()=>{const{insertBlocks:e}=Object(zI.useDispatch)(ZI.store);Object(o.useEffect)(()=>{""!==blockspare_globals.blockData&&t()},[]);const t=()=>{setTimeout(()=>{e(Object(rI.createBlock)("blockspare/blockspare-createpage",{selectedData:blockspare_globals.blockData}))},2e3)};return null}})}]);

ZeroDay Forums Mini