Page Builder Gutenberg Blocks – CoBlocks - Version 1.26.2

Version Description

Download this release

Release Info

Developer Godaddy
Plugin Icon 128x128 Page Builder Gutenberg Blocks – CoBlocks
Version 1.26.2
Comparing to
See all releases

Code changes from version 1.26.1 to 1.26.2

class-coblocks.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: CoBlocks is a suite of professional <strong>page building content blocks</strong> for the WordPress Gutenberg block editor. Our blocks are hyper-focused on empowering makers to build beautifully rich pages in WordPress.
6
  * Author: GoDaddy
7
  * Author URI: https://www.godaddy.com
8
- * Version: 1.26.1
9
  * Text Domain: coblocks
10
  * Domain Path: /languages
11
  * Tested up to: 5.4
@@ -26,7 +26,7 @@ if ( ! defined( 'ABSPATH' ) ) {
26
  exit;
27
  }
28
 
29
- define( 'COBLOCKS_VERSION', '1.26.1' );
30
  define( 'COBLOCKS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
31
  define( 'COBLOCKS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
32
  define( 'COBLOCKS_PLUGIN_FILE', __FILE__ );
5
  * Description: CoBlocks is a suite of professional <strong>page building content blocks</strong> for the WordPress Gutenberg block editor. Our blocks are hyper-focused on empowering makers to build beautifully rich pages in WordPress.
6
  * Author: GoDaddy
7
  * Author URI: https://www.godaddy.com
8
+ * Version: 1.26.2
9
  * Text Domain: coblocks
10
  * Domain Path: /languages
11
  * Tested up to: 5.4
26
  exit;
27
  }
28
 
29
+ define( 'COBLOCKS_VERSION', '1.26.2' );
30
  define( 'COBLOCKS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
31
  define( 'COBLOCKS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
32
  define( 'COBLOCKS_PLUGIN_FILE', __FILE__ );
dist/coblocks-editor.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '268cbee5fdc330da26fa93990a9687bf');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'd47ae57f04aab740c4dd58983f62430b');
dist/coblocks-style.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '20d885d1a066a143a709b7834e5b21d3');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => '4412c396f3cdf9e2583f05cd41e3e856');
dist/coblocks.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-rich-text', 'wp-token-list', 'wp-url'), 'version' => 'e5a1c0f654104e187b04d5698ee6c5f3');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-rich-text', 'wp-token-list', 'wp-url'), 'version' => '0cceeafa5e70a6e4429cb2d777379be3');
dist/coblocks.js CHANGED
@@ -8,7 +8,7 @@
8
  * getSize v2.0.3
9
  * measure size of elements
10
  * MIT license
11
- */window,void 0===(c="function"==typeof(n=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)},o=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],n=o.length;function c(e){var o=getComputedStyle(e);return o||t("Style returned "+o+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),o}var r,a=!1;function i(t){if(function(){if(!a){a=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var o=document.body||document.documentElement;o.appendChild(t);var n=c(t);r=200==Math.round(e(n.width)),i.isBoxSizeOuter=r,o.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var l=c(t);if("none"==l.display)return function(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<n;t++)e[o[t]]=0;return e}();var s={};s.width=t.offsetWidth,s.height=t.offsetHeight;for(var u=s.isBorderBox="border-box"==l.boxSizing,b=0;b<n;b++){var d=o[b],p=l[d],m=parseFloat(p);s[d]=isNaN(m)?0:m}var h=s.paddingLeft+s.paddingRight,f=s.paddingTop+s.paddingBottom,g=s.marginLeft+s.marginRight,v=s.marginTop+s.marginBottom,y=s.borderLeftWidth+s.borderRightWidth,O=s.borderTopWidth+s.borderBottomWidth,k=u&&r,_=e(l.width);!1!==_&&(s.width=_+(k?0:h+y));var j=e(l.height);return!1!==j&&(s.height=j+(k?0:f+O)),s.innerWidth=s.width-(h+y),s.innerHeight=s.height-(f+O),s.outerWidth=s.width+g,s.outerHeight=s.height+v,s}}return i})?n.call(t,o,t,e):n)||(e.exports=c)},function(e,t,o){var n=o(170);e.exports=function(e){return Object(n(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},function(e){e.exports=JSON.parse('{"name":"coblocks/accordion-item","category":"common","attributes":{"title":{"type":"string","selector":".wp-block-coblocks-accordion__title"},"open":{"type":"boolean","default":false},"backgroundColor":{"type":"string"},"customBackgroundColor":{"type":"string"},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"borderColor":{"type":"string"}}}')},function(e){e.exports=JSON.parse('{"name":"coblocks/event-item","category":"layout","attributes":{"title":{"type":"string","source":"html","selector":".wp-block-coblocks-events__title"},"description":{"type":"string","source":"html","selector":".wp-block-coblocks-events__description"},"eventDay":{"type":"string","source":"html","selector":".wp-block-coblocks-events__day"},"eventMonth":{"type":"string","source":"html","selector":".wp-block-coblocks-events__month"},"eventYear":{"type":"string","source":"html","selector":".wp-block-coblocks-events__year"},"eventTime":{"type":"string","source":"html","selector":".wp-block-coblocks-events__time"},"eventLocation":{"type":"string","source":"html","selector":".wp-block-coblocks-events__location"},"textColor":{"type":"string"},"customTextColor":{"type":"string"}}}')},function(e){e.exports=JSON.parse('{"name":"coblocks/feature","category":"layout","attributes":{"headingLevel":{"type":"integer","default":4},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"contentAlign":{"type":"string"}}}')},function(e){e.exports=JSON.parse('{"name":"coblocks/gif","category":"common","attributes":{"url":{"attribute":"src","selector":"img","source":"attribute","type":"string"},"alt":{"attribute":"alt","selector":"img","source":"attribute","type":"string","default":""},"caption":{"type":"string","source":"html","selector":"figcaption"},"align":{"type":"string"},"width":{"type":"number"},"height":{"type":"number"}}}')},function(e){e.exports=JSON.parse('{"name":"coblocks/service","category":"layout","attributes":{"headingLevel":{"type":"integer","default":3},"showCta":{"type":"boolean","default":false},"imageUrl":{"type":"string","source":"attribute","selector":"img","attribute":"src","default":""},"imageAlt":{"type":"string","source":"attribute","selector":"img","attribute":"alt","default":""},"focalPoint":{"type":"object"},"alignment":{"type":"string","default":"none"}}}')},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(384);Object.defineProperty(t,"withScriptjs",{enumerable:!0,get:function(){return O(n).default}});var c=o(439);Object.defineProperty(t,"withGoogleMap",{enumerable:!0,get:function(){return O(c).default}});var r=o(440);Object.defineProperty(t,"GoogleMap",{enumerable:!0,get:function(){return O(r).default}});var a=o(463);Object.defineProperty(t,"Circle",{enumerable:!0,get:function(){return O(a).default}});var i=o(464);Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return O(i).default}});var l=o(465);Object.defineProperty(t,"Polyline",{enumerable:!0,get:function(){return O(l).default}});var s=o(466);Object.defineProperty(t,"Polygon",{enumerable:!0,get:function(){return O(s).default}});var u=o(467);Object.defineProperty(t,"Rectangle",{enumerable:!0,get:function(){return O(u).default}});var b=o(468);Object.defineProperty(t,"InfoWindow",{enumerable:!0,get:function(){return O(b).default}});var d=o(469);Object.defineProperty(t,"OverlayView",{enumerable:!0,get:function(){return O(d).default}});var p=o(480);Object.defineProperty(t,"GroundOverlay",{enumerable:!0,get:function(){return O(p).default}});var m=o(481);Object.defineProperty(t,"DirectionsRenderer",{enumerable:!0,get:function(){return O(m).default}});var h=o(482);Object.defineProperty(t,"FusionTablesLayer",{enumerable:!0,get:function(){return O(h).default}});var f=o(483);Object.defineProperty(t,"KmlLayer",{enumerable:!0,get:function(){return O(f).default}});var g=o(484);Object.defineProperty(t,"TrafficLayer",{enumerable:!0,get:function(){return O(g).default}});var v=o(485);Object.defineProperty(t,"StreetViewPanorama",{enumerable:!0,get:function(){return O(v).default}});var y=o(486);function O(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"BicyclingLayer",{enumerable:!0,get:function(){return O(y).default}})},function(e,t,o){var n=o(108);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?n(e,t):void 0}}},function(e,t,o){var n=o(93),c=o(96);e.exports=function(e,t){for(var o=0,r=(t=n(t,e)).length;null!=e&&o<r;)e=e[c(t[o++])];return o&&o==r?e:void 0}},function(e,t,o){var n=o(85),c=o(57);e.exports=function(e){return"symbol"==typeof e||c(e)&&"[object Symbol]"==n(e)}},function(e,t,o){var n=o(86)(Object,"create");e.exports=n},function(e,t,o){var n=o(85),c=o(52);e.exports=function(e){if(!c(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,o){var n=o(301),c=o(302),r=o(303),a=o(304),i=o(305);function l(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=c,l.prototype.get=r,l.prototype.has=a,l.prototype.set=i,e.exports=l},function(e,t,o){var n=o(132);e.exports=function(e,t){for(var o=e.length;o--;)if(n(e[o][0],t))return o;return-1}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,o){var n=o(307);e.exports=function(e,t){var o=e.__data__;return n(t)?o["string"==typeof t?"string":"hash"]:o.map}},function(e,t){e.exports=function(e,t){for(var o=-1,n=null==e?0:e.length,c=Array(n);++o<n;)c[o]=t(e[o],o,e);return c}},function(e,t,o){var n=o(206),c=o(132),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,o){var a=e[t];r.call(e,t)&&c(a,o)&&(void 0!==o||t in e)||n(e,t,o)}},function(e,t,o){var n=o(314),c=o(57),r=Object.prototype,a=r.hasOwnProperty,i=r.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return c(e)&&a.call(e,"callee")&&!i.call(e,"callee")};e.exports=l},function(e,t,o){var n=o(320),c=o(344),r=o(110),a=o(29),i=o(345);e.exports=function(e){return"function"==typeof e?e:null==e?r:"object"==typeof e?a(e)?c(e[0],e[1]):n(e):i(e)}},function(e,t,o){(function(e){var n=o(39),c=o(337),r=t&&!t.nodeType&&t,a=r&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===r?n.Buffer:void 0,l=(i?i.isBuffer:void 0)||c;e.exports=l}).call(this,o(164)(e))},function(e,t,o){var n=o(353),c=o(356)(n);e.exports=c},function(e,t){e.exports=!0},function(e,t){var o=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++o+n).toString(36))}},function(e,t,o){var n=o(240),c=o(178);e.exports=Object.keys||function(e){return n(e,c)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,o){var n=o(183),c=o(420),r=o(188),a=o(147),i=n((function(e,t,o){var n=1;if(o.length){var l=a(o,r(i));n|=32}return c(e,n,t,o,l)}));i.placeholder={},e.exports=i},function(e,t,o){var n=o(146),c=o(52);e.exports=function(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var o=n(e.prototype),r=e.apply(o,t);return c(r)?r:o}}},function(e,t,o){var n=o(52),c=Object.create,r=function(){function e(){}return function(t){if(!n(t))return{};if(c)return c(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}();e.exports=r},function(e,t){e.exports=function(e,t){for(var o=-1,n=e.length,c=0,r=[];++o<n;){var a=e[o];a!==t&&"__lodash_placeholder__"!==a||(e[o]="__lodash_placeholder__",r[c++]=o)}return r}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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=void 0;var n=r(o(16)),c=r(o(114));function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function i(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(o,!0).forEach((function(t){l(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function l(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var s=function(e){for(var t=[],o=u(e),n=b(e),c=o;c<n;c++)e.lazyLoadedList.indexOf(c)<0&&t.push(c);return t};t.getOnDemandLazySlides=s;t.getRequiredLazySlides=function(e){for(var t=[],o=u(e),n=b(e),c=o;c<n;c++)t.push(c);return t};var u=function(e){return e.currentSlide-d(e)};t.lazyStartIndex=u;var b=function(e){return e.currentSlide+p(e)};t.lazyEndIndex=b;var d=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=d;var p=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=p;var m=function(e){return e&&e.offsetWidth||0};t.getWidth=m;var h=function(e){return e&&e.offsetHeight||0};t.getHeight=h;var f=function(e){var t,o,n,c,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,o=e.startY-e.curY,n=Math.atan2(o,t),(c=Math.round(180*n/Math.PI))<0&&(c=360-Math.abs(c)),c<=45&&c>=0||c<=360&&c>=315?"left":c>=135&&c<=225?"right":!0===r?c>=35&&c<=135?"up":"down":"vertical"};t.getSwipeDirection=f;var g=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=g;t.extractObject=function(e,t){var o={};return t.forEach((function(t){return o[t]=e[t]})),o};t.initializedState=function(e){var t,o=n.default.Children.count(e.children),r=Math.ceil(m(c.default.findDOMNode(e.listRef))),a=Math.ceil(m(c.default.findDOMNode(e.trackRef)));if(e.vertical)t=r;else{var i=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(i*=r/100),t=Math.ceil((r-i)/e.slidesToShow)}var l=c.default.findDOMNode(e.listRef)&&h(c.default.findDOMNode(e.listRef).querySelector('[data-index="0"]')),u=l*e.slidesToShow,b=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(b=o-1-e.initialSlide);var d=e.lazyLoadedList||[],p=s({currentSlide:b,lazyLoadedList:d});d.concat(p);var f={slideCount:o,slideWidth:t,listWidth:r,trackWidth:a,currentSlide:b,slideHeight:l,listHeight:u,lazyLoadedList:d};return null===e.autoplaying&&e.autoplay&&(f.autoplaying="playing"),f};t.slideHandler=function(e){var t=e.waitForAnimate,o=e.animating,n=e.fade,c=e.infinite,r=e.index,a=e.slideCount,l=e.lazyLoadedList,u=e.lazyLoad,b=e.currentSlide,d=e.centerMode,p=e.slidesToScroll,m=e.slidesToShow,h=e.useCSS;if(t&&o)return{};var f,v,y,O=r,k={},E={};if(n){if(!c&&(r<0||r>=a))return{};r<0?O=r+a:r>=a&&(O=r-a),u&&l.indexOf(O)<0&&l.push(O),k={animating:!0,currentSlide:O,lazyLoadedList:l},E={animating:!1}}else f=O,O<0?(f=O+a,c?a%p!=0&&(f=a-a%p):f=0):!g(e)&&O>b?O=f=b:d&&O>=a?(O=c?a:a-1,f=c?0:a-1):O>=a&&(f=O-a,c?a%p!=0&&(f=0):f=a-m),v=w(i({},e,{slideIndex:O})),y=w(i({},e,{slideIndex:f})),c||(v===y&&(O=f),v=y),u&&l.concat(s(i({},e,{currentSlide:O}))),h?(k={animating:!0,currentSlide:f,trackStyle:j(i({},e,{left:v})),lazyLoadedList:l},E={animating:!1,currentSlide:f,trackStyle:_(i({},e,{left:y})),swipeLeft:null}):k={currentSlide:f,trackStyle:_(i({},e,{left:y})),lazyLoadedList:l};return{state:k,nextState:E}};t.changeSlide=function(e,t){var o,n,c,r,a=e.slidesToScroll,l=e.slidesToShow,s=e.slideCount,u=e.currentSlide,b=e.lazyLoad,d=e.infinite;if(o=s%a!=0?0:(s-u)%a,"previous"===t.message)r=u-(c=0===o?a:l-o),b&&!d&&(r=-1===(n=u-c)?s-1:n);else if("next"===t.message)r=u+(c=0===o?a:o),b&&!d&&(r=(u+a)%s+o);else if("dots"===t.message){if((r=t.index*t.slidesToScroll)===t.currentSlide)return null}else if("children"===t.message){if((r=t.index)===t.currentSlide)return null;if(d){var p=S(i({},e,{targetSlide:r}));r>t.currentSlide&&"left"===p?r-=s:r<t.currentSlide&&"right"===p&&(r+=s)}}else if("index"===t.message&&(r=Number(t.index))===t.currentSlide)return null;return r};t.keyHandler=function(e,t,o){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?o?"next":"previous":39===e.keyCode?o?"previous":"next":""};t.swipeStart=function(e,t,o){return"IMG"===e.target.tagName&&e.preventDefault(),!t||!o&&-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 o=t.scrolling,n=t.animating,c=t.vertical,r=t.swipeToSlide,a=t.verticalSwiping,l=t.rtl,s=t.currentSlide,u=t.edgeFriction,b=t.edgeDragged,d=t.onEdge,p=t.swiped,m=t.swiping,h=t.slideCount,v=t.slidesToScroll,y=t.infinite,O=t.touchObject,k=t.swipeEvent,j=t.listHeight,E=t.listWidth;if(!o){if(n)return e.preventDefault();c&&r&&a&&e.preventDefault();var C,x={},S=w(t);O.curX=e.touches?e.touches[0].pageX:e.clientX,O.curY=e.touches?e.touches[0].pageY:e.clientY,O.swipeLength=Math.round(Math.sqrt(Math.pow(O.curX-O.startX,2)));var P=Math.round(Math.sqrt(Math.pow(O.curY-O.startY,2)));if(!a&&!m&&P>10)return{scrolling:!0};a&&(O.swipeLength=P);var z=(l?-1:1)*(O.curX>O.startX?1:-1);a&&(z=O.curY>O.startY?1:-1);var T=Math.ceil(h/v),R=f(t.touchObject,a),B=O.swipeLength;return y||(0===s&&"right"===R||s+1>=T&&"left"===R||!g(t)&&"left"===R)&&(B=O.swipeLength*u,!1===b&&d&&(d(R),x.edgeDragged=!0)),!p&&k&&(k(R),x.swiped=!0),C=c?S+B*(j/E)*z:l?S-B*z:S+B*z,a&&(C=S+B*z),x=i({},x,{touchObject:O,swipeLeft:C,trackStyle:_(i({},t,{left:C}))}),Math.abs(O.curX-O.startX)<.8*Math.abs(O.curY-O.startY)?x:(O.swipeLength>10&&(x.swiping=!0,e.preventDefault()),x)}};t.swipeEnd=function(e,t){var o=t.dragging,n=t.swipe,c=t.touchObject,r=t.listWidth,a=t.touchThreshold,l=t.verticalSwiping,s=t.listHeight,u=t.currentSlide,b=t.swipeToSlide,d=t.scrolling,p=t.onSwipe;if(!o)return n&&e.preventDefault(),{};var m=l?s/a:r/a,h=f(c,l),g={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d)return g;if(!c.swipeLength)return g;if(c.swipeLength>m){var v,k;switch(e.preventDefault(),p&&p(h),h){case"left":case"up":k=u+O(t),v=b?y(t,k):k,g.currentDirection=0;break;case"right":case"down":k=u-O(t),v=b?y(t,k):k,g.currentDirection=1;break;default:v=u}g.triggerSlideHandler=v}else{var _=w(t);g.trackStyle=j(i({},t,{left:_}))}return g};var v=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,o=e.infinite?-1*e.slidesToShow:0,n=e.infinite?-1*e.slidesToShow:0,c=[];o<t;)c.push(o),o=n+e.slidesToScroll,n+=Math.min(e.slidesToScroll,e.slidesToShow);return c};t.getNavigableIndexes=v;var y=function(e,t){var o=v(e),n=0;if(t>o[o.length-1])t=o[o.length-1];else for(var c in o){if(t<o[c]){t=n;break}n=o[c]}return t};t.checkNavigable=y;var O=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var o,n=c.default.findDOMNode(e.listRef).querySelectorAll(".slick-slide");if(Array.from(n).every((function(n){if(e.vertical){if(n.offsetTop+h(n)/2>-1*e.swipeLeft)return o=n,!1}else if(n.offsetLeft-t+m(n)/2>-1*e.swipeLeft)return o=n,!1;return!0})),!o)return 0;var r=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(o.dataset.index-r)||1}return e.slidesToScroll};t.getSlideCount=O;var k=function(e,t){return t.reduce((function(t,o){return t&&e.hasOwnProperty(o)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=k;var _=function(e){var t,o;k(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var n=e.slideCount+2*e.slidesToShow;e.vertical?o=n*e.slideHeight:t=x(e)*e.slideWidth;var c={opacity:1,transition:"",WebkitTransition:""};e.useTransform?c=i({},c,{WebkitTransform:e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",transform:e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",msTransform:e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)"}):e.vertical?c.top=e.left:c.left=e.left;return e.fade&&(c={opacity:1}),t&&(c.width=t),o&&(c.height=o),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?c.marginTop=e.left+"px":c.marginLeft=e.left+"px"),c};t.getTrackCSS=_;var j=function(e){k(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=_(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=j;var w=function(e){if(e.unslick)return 0;k(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,o,n=e.slideIndex,r=e.trackRef,a=e.infinite,i=e.centerMode,l=e.slideCount,s=e.slidesToShow,u=e.slidesToScroll,b=e.slideWidth,d=e.listWidth,p=e.variableWidth,m=e.slideHeight,h=e.fade,f=e.vertical;if(h||1===e.slideCount)return 0;var g=0;if(a?(g=-E(e),l%u!=0&&n+u>l&&(g=-(n>l?s-(n-l):l%u)),i&&(g+=parseInt(s/2))):(l%u!=0&&n+u>l&&(g=s-l%u),i&&(g=parseInt(s/2))),t=f?n*m*-1+g*m:n*b*-1+g*b,!0===p){var v,y=c.default.findDOMNode(r);if(v=n+E(e),t=(o=y&&y.childNodes[v])?-1*o.offsetLeft:0,!0===i){v=a?n+E(e):n,o=y&&y.children[v],t=0;for(var O=0;O<v;O++)t-=y&&y.children[O]&&y.children[O].offsetWidth;t-=parseInt(e.centerPadding),t+=o&&(d-o.offsetWidth)/2}}return t};t.getTrackLeft=w;var E=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=E;var C=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=C;var x=function(e){return 1===e.slideCount?1:E(e)+e.slideCount+C(e)};t.getTotalSlides=x;var S=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+P(e)?"left":"right":e.targetSlide<e.currentSlide-z(e)?"right":"left"};t.siblingDirection=S;var P=function(e){var t=e.slidesToShow,o=e.centerMode,n=e.rtl,c=e.centerPadding;if(o){var r=(t-1)/2+1;return parseInt(c)>0&&(r+=1),n&&t%2==0&&(r+=1),r}return n?0:t-1};t.slidesOnRight=P;var z=function(e){var t=e.slidesToShow,o=e.centerMode,n=e.rtl,c=e.centerPadding;if(o){var r=(t-1)/2+1;return parseInt(c)>0&&(r+=1),n||t%2!=0||(r+=1),r}return n?t-1:0};t.slidesOnLeft=z;t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t){!function(){e.exports=this.wp.plugins}()},function(e,t,o){var n=o(108);e.exports=function(e){if(Array.isArray(e))return n(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},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.")}},function(e,t,o){var n=o(29),c=o(127),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var o=typeof e;return!("number"!=o&&"symbol"!=o&&"boolean"!=o&&null!=e&&!c(e))||(a.test(e)||!r.test(e)||null!=t&&e in Object(t))}},function(e,t,o){var n=o(290),c=o(306),r=o(308),a=o(309),i=o(310);function l(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=c,l.prototype.get=r,l.prototype.has=a,l.prototype.set=i,e.exports=l},function(e,t,o){var n=o(86)(o(39),"Map");e.exports=n},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e,t){for(var o=-1,n=t.length,c=e.length;++o<n;)e[c+o]=t[o];return e}},function(e,t){e.exports=function(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}},function(e,t,o){var n=o(318),c=o(212)(n);e.exports=c},function(e,t,o){var n=o(130),c=o(322),r=o(323),a=o(324),i=o(325),l=o(326);function s(e){var t=this.__data__=new n(e);this.size=t.size}s.prototype.clear=c,s.prototype.delete=r,s.prototype.get=a,s.prototype.has=i,s.prototype.set=l,e.exports=s},function(e,t,o){var n=o(327),c=o(57);e.exports=function e(t,o,r,a,i){return t===o||(null==t||null==o||!c(t)&&!c(o)?t!=t&&o!=o:n(t,o,r,a,e,i))}},function(e,t,o){var n=o(218),c=o(219),r=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,i=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return r.call(e,t)})))}:c;e.exports=i},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,o){var n=o(338),c=o(166),r=o(167),a=r&&r.isTypedArray,i=a?c(a):n;e.exports=i},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,o){(function(e){var n=o(203),c=t&&!t.nodeType&&t,r=c&&"object"==typeof e&&e&&!e.nodeType&&e,a=r&&r.exports===c&&n.process,i=function(){try{var e=r&&r.require&&r.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=i}).call(this,o(164)(e))},function(e,t,o){var n=o(52),c=o(127),r=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(c(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=e.replace(r,"");var o=i.test(e);return o||l.test(e)?s(e.slice(2),o?2:8):a.test(e)?NaN:+e}},function(e,t,o){var n,c;
12
  /*!
13
  * Unipointer v2.3.0
14
  * base class for doing one thing with pointer event
@@ -18,7 +18,7 @@
18
  * imagesLoaded v4.1.4
19
  * JavaScript is all like "You images are done yet or what?"
20
  * MIT License
21
- */!function(r,a){"use strict";n=[o(97)],void 0===(c=function(e){return function(e,t){var o=e.jQuery,n=e.console;function c(e,t){for(var o in t)e[o]=t[o];return e}var r=Array.prototype.slice;function a(e,t,i){if(!(this instanceof a))return new a(e,t,i);var l,s=e;("string"==typeof e&&(s=document.querySelectorAll(e)),s)?(this.elements=(l=s,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?r.call(l):[l]),this.options=c({},this.options),"function"==typeof t?i=t:c(this.options,t),i&&this.on("always",i),this.getImages(),o&&(this.jqDeferred=new o.Deferred),setTimeout(this.check.bind(this))):n.error("Bad element for imagesLoaded "+(s||e))}a.prototype=Object.create(t.prototype),a.prototype.options={},a.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},a.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 o=e.querySelectorAll("img"),n=0;n<o.length;n++){var c=o[n];this.addImage(c)}if("string"==typeof this.options.background){var r=e.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var a=r[n];this.addElementBackgroundImages(a)}}}};var i={1:!0,9:!0,11:!0};function l(e){this.img=e}function s(e,t){this.url=e,this.element=t,this.img=new Image}return a.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var o=/url\((['"])?(.*?)\1\)/gi,n=o.exec(t.backgroundImage);null!==n;){var c=n&&n[2];c&&this.addBackground(c,e),n=o.exec(t.backgroundImage)}},a.prototype.addImage=function(e){var t=new l(e);this.images.push(t)},a.prototype.addBackground=function(e,t){var o=new s(e,t);this.images.push(o)},a.prototype.check=function(){var e=this;function t(t,o,n){setTimeout((function(){e.progress(t,o,n)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(e){e.once("progress",t),e.check()})):this.complete()},a.prototype.progress=function(e,t,o){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&&n&&n.log("progress: "+o,e,t)},a.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)}},l.prototype=Object.create(t.prototype),l.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)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},l.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(l.prototype),s.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())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},a.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((o=t).fn.imagesLoaded=function(e,t){return new a(this,e,t).jqDeferred.promise(o(this))})},a.makeJQueryPlugin(),a}(r,e)}.apply(t,n))||(e.exports=c)}("undefined"!=typeof window?window:this)},function(e,t,o){var n=o(16),c=/-([a-z])/g,r=/^--[a-zA-Z0-9-]+$|^[^-]+$/;var a=n.version.split(".")[0]>=16;e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,camelCase:function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");return r.test(e)?e:e.toLowerCase().replace(c,(function(e,t){return t.toUpperCase()}))},invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var o,n,c="function"==typeof t,r={},a={};for(o in e)n=e[o],c&&(r=t(o,n))&&2===r.length?a[r[0]]=r[1]:"string"==typeof n&&(a[n]=o);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}}},function(e,t,o){for(var n,c=o(383).CASE_SENSITIVE_TAG_NAMES,r={},a=0,i=c.length;a<i;a++)n=c[a],r[n.toLowerCase()]=n;function l(e){for(var t,o={},n=0,c=e.length;n<c;n++)o[(t=e[n]).name]=t.value;return o}function s(e){var t=function(e){return r[e]}(e=e.toLowerCase());return t||e}e.exports={formatAttributes:l,formatDOM:function e(t,o,n){o=o||null;for(var c,r,a,i=[],u=0,b=t.length;u<b;u++){switch(c=t[u],a={next:null,prev:i[u-1]||null,parent:o},(r=i[u-1])&&(r.next=a),"#"!==c.nodeName[0]&&(a.name=s(c.nodeName),a.attribs={},c.attributes&&c.attributes.length&&(a.attribs=l(c.attributes))),c.nodeType){case 1:"script"===a.name||"style"===a.name?a.type=a.name:a.type="tag",a.children=e(c.childNodes,a);break;case 3:a.type="text",a.data=c.nodeValue;break;case 8:a.type="comment",a.data=c.nodeValue}i.push(a)}return n&&(i.unshift({name:n.substring(0,n.indexOf(" ")).toLowerCase(),data:n,type:"directive",next:i[0]?i[0]:null,prev:null,parent:o}),i[1]&&(i[1].prev=i[0])),i},isIE:function(e){return e?document.documentMode===e:/(MSIE |Trident\/|Edge\/)/.test(navigator.userAgent)}}},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}},function(e,t,o){var n=o(89),c=o(116),r=o(171)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=c(e),n(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,o){e.exports=!o(76)&&!o(101)((function(){return 7!=Object.defineProperty(o(234)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,o){var n=o(100),c=o(73).document,r=n(c)&&n(c.createElement);e.exports=function(e){return r?c.createElement(e):{}}},function(e,t,o){e.exports={default:o(389),__esModule:!0}},function(e,t,o){"use strict";t.__esModule=!0;var n=a(o(391)),c=a(o(403)),r="function"==typeof c.default&&"symbol"==typeof n.default?function(e){return typeof e}:function(e){return e&&"function"==typeof c.default&&e.constructor===c.default&&e!==c.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof c.default&&"symbol"===r(n.default)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof c.default&&e.constructor===c.default&&e!==c.default.prototype?"symbol":void 0===e?"undefined":r(e)}},function(e,t,o){"use strict";var n=o(393)(!0);o(238)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,o=this._i;return o>=t.length?{value:void 0,done:!0}:(e=n(t,o),this._i+=e.length,{value:e,done:!1})}))},function(e,t,o){"use strict";var n=o(140),c=o(74),r=o(239),a=o(98),i=o(118),l=o(394),s=o(179),u=o(232),b=o(58)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,o,m,h,f,g){l(o,t,m);var v,y,O,k=function(e){if(!d&&e in E)return E[e];switch(e){case"keys":case"values":return function(){return new o(this,e)}}return function(){return new o(this,e)}},_=t+" Iterator",j="values"==h,w=!1,E=e.prototype,C=E[b]||E["@@iterator"]||h&&E[h],x=C||k(h),S=h?j?k("entries"):x:void 0,P="Array"==t&&E.entries||C;if(P&&(O=u(P.call(new e)))!==Object.prototype&&O.next&&(s(O,_,!0),n||"function"==typeof O[b]||a(O,b,p)),j&&C&&"values"!==C.name&&(w=!0,x=function(){return C.call(this)}),n&&!g||!d&&!w&&E[b]||a(E,b,x),i[t]=x,i[_]=p,h)if(v={values:j?x:k("values"),keys:f?x:k("keys"),entries:S},g)for(y in v)y in E||r(E,y,v[y]);else c(c.P+c.F*(d||w),t,v);return v}},function(e,t,o){e.exports=o(98)},function(e,t,o){var n=o(89),c=o(102),r=o(396)(!1),a=o(171)("IE_PROTO");e.exports=function(e,t){var o,i=c(e),l=0,s=[];for(o in i)o!=a&&n(i,o)&&s.push(o);for(;t.length>l;)n(i,o=t[l++])&&(~r(s,o)||s.push(o));return s}},function(e,t,o){var n=o(177);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,o){var n=o(175),c=Math.min;e.exports=function(e){return e>0?c(n(e),9007199254740991):0}},function(e,t,o){var n=o(240),c=o(178).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,c)}},function(e,t,o){var n=o(143),c=o(117),r=o(102),a=o(174),i=o(89),l=o(233),s=Object.getOwnPropertyDescriptor;t.f=o(76)?s:function(e,t){if(e=r(e),t=a(t,!0),l)try{return s(e,t)}catch(e){}if(i(e,t))return c(!n.f.call(e,t),e[t])}},function(e,t,o){var n=o(110),c=o(246),r=c?function(e,t){return c.set(e,t),e}:n;e.exports=r},function(e,t,o){var n=o(224),c=n&&new n;e.exports=c},function(e,t,o){var n=o(248),c=o(249),r=o(423),a=o(145),i=o(250),l=o(188),s=o(435),u=o(147),b=o(39);e.exports=function e(t,o,d,p,m,h,f,g,v,y){var O=128&o,k=1&o,_=2&o,j=24&o,w=512&o,E=_?void 0:a(t);return function C(){for(var x=arguments.length,S=Array(x),P=x;P--;)S[P]=arguments[P];if(j)var z=l(C),T=r(S,z);if(p&&(S=n(S,p,m,j)),h&&(S=c(S,h,f,j)),x-=T,j&&x<y){var R=u(S,z);return i(t,o,e,C.placeholder,d,S,R,g,v,y-x)}var B=k?d:this,N=_?B[t]:t;return x=S.length,g?S=s(S,g):w&&x>1&&S.reverse(),O&&v<x&&(S.length=v),this&&this!==b&&this instanceof C&&(N=E||a(N)),N.apply(B,S)}}},function(e,t){var o=Math.max;e.exports=function(e,t,n,c){for(var r=-1,a=e.length,i=n.length,l=-1,s=t.length,u=o(a-i,0),b=Array(s+u),d=!c;++l<s;)b[l]=t[l];for(;++r<i;)(d||r<a)&&(b[n[r]]=e[r]);for(;u--;)b[l++]=e[r++];return b}},function(e,t){var o=Math.max;e.exports=function(e,t,n,c){for(var r=-1,a=e.length,i=-1,l=n.length,s=-1,u=t.length,b=o(a-l,0),d=Array(b+u),p=!c;++r<b;)d[r]=e[r];for(var m=r;++s<u;)d[m+s]=t[s];for(;++i<l;)(p||r<a)&&(d[m+n[i]]=e[r++]);return d}},function(e,t,o){var n=o(424),c=o(253),r=o(254);e.exports=function(e,t,o,a,i,l,s,u,b,d){var p=8&t;t|=p?32:64,4&(t&=~(p?64:32))||(t&=-4);var m=[e,t,i,p?l:void 0,p?s:void 0,p?void 0:l,p?void 0:s,u,b,d],h=o.apply(void 0,m);return n(e)&&c(h,m),h.placeholder=a,r(h,e,t)}},function(e,t,o){var n=o(246),c=o(194),r=n?function(e){return n.get(e)}:c;e.exports=r},function(e,t,o){var n=o(146),c=o(185);function r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}r.prototype=n(c.prototype),r.prototype.constructor=r,e.exports=r},function(e,t,o){var n=o(245),c=o(212)(n);e.exports=c},function(e,t,o){var n=o(429),c=o(430),r=o(160),a=o(431);e.exports=function(e,t,o){var i=t+"";return r(e,c(i,a(n(i),o)))}},function(e,t,o){var n=o(213),c=o(433),r=o(434);e.exports=function(e,t,o){return t==t?r(e,t,o):n(e,c,o)}},function(e,t){var o=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=o},function(e,t,o){"use strict";o.r(t),o.d(t,"mapProps",(function(){return h})),o.d(t,"withProps",(function(){return k})),o.d(t,"withPropsOnChange",(function(){return j})),o.d(t,"withHandlers",(function(){return E})),o.d(t,"defaultProps",(function(){return C})),o.d(t,"renameProp",(function(){return S})),o.d(t,"renameProps",(function(){return z})),o.d(t,"flattenProp",(function(){return T})),o.d(t,"withState",(function(){return R})),o.d(t,"withStateHandlers",(function(){return B})),o.d(t,"withReducer",(function(){return N})),o.d(t,"branch",(function(){return I})),o.d(t,"renderComponent",(function(){return M})),o.d(t,"renderNothing",(function(){return L})),o.d(t,"shouldUpdate",(function(){return F})),o.d(t,"pure",(function(){return V})),o.d(t,"onlyUpdateForKeys",(function(){return G})),o.d(t,"onlyUpdateForPropTypes",(function(){return U})),o.d(t,"withContext",(function(){return H})),o.d(t,"getContext",(function(){return W})),o.d(t,"lifecycle",(function(){return q})),o.d(t,"toClass",(function(){return K})),o.d(t,"setStatic",(function(){return b})),o.d(t,"setPropTypes",(function(){return X})),o.d(t,"setDisplayName",(function(){return d})),o.d(t,"compose",(function(){return J})),o.d(t,"getDisplayName",(function(){return p})),o.d(t,"wrapDisplayName",(function(){return m})),o.d(t,"isClassComponent",(function(){return Y})),o.d(t,"createSink",(function(){return Z})),o.d(t,"componentFromProp",(function(){return $})),o.d(t,"nest",(function(){return Q})),o.d(t,"hoistStatics",(function(){return ee})),o.d(t,"componentFromStream",(function(){return re})),o.d(t,"componentFromStreamWithConfig",(function(){return ce})),o.d(t,"mapPropsStream",(function(){return le})),o.d(t,"mapPropsStreamWithConfig",(function(){return ie})),o.d(t,"createEventHandler",(function(){return ue})),o.d(t,"createEventHandlerWithConfig",(function(){return se})),o.d(t,"setObservableConfig",(function(){return oe}));var n=o(16),c=o.n(n),r=o(56),a=o.n(r);o.d(t,"shallowEqual",(function(){return a.a}));var i=o(271),l=o.n(i),s=o(106),u=o(83),b=function(e,t){return function(o){return o[e]=t,o}},d=function(e){return b("displayName",e)},p=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":void 0},m=function(e,t){return t+"("+p(e)+")"},h=function(e){return function(t){var o=Object(n.createFactory)(t);return function(t){return o(e(t))}}},f=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},v=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)},y=function(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o},O=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},k=function(e){return h((function(t){return g({},t,"function"==typeof e?e(t):e)}))},_=function(e,t){for(var o={},n=0;n<t.length;n++){var c=t[n];e.hasOwnProperty(c)&&(o[c]=e[c])}return o},j=function(e,t){return function(o){var c=Object(n.createFactory)(o),r="function"==typeof e?e:function(t,o){return!a()(_(t,e),_(o,e))};return function(e){function o(){var n,c;f(this,o);for(var r=arguments.length,a=Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=c=O(this,e.call.apply(e,[this].concat(a))),c.computedProps=t(c.props),O(c,n)}return v(o,e),o.prototype.componentWillReceiveProps=function(e){r(this.props,e)&&(this.computedProps=t(e))},o.prototype.render=function(){return c(g({},this.props,this.computedProps))},o}(n.Component)}},w=function(e,t){var o={};for(var n in e)e.hasOwnProperty(n)&&(o[n]=t(e[n],n));return o},E=function(e){return function(t){var o=Object(n.createFactory)(t),c=function(e){function t(){var o,n;f(this,t);for(var c=arguments.length,a=Array(c),i=0;i<c;i++)a[i]=arguments[i];return o=n=O(this,e.call.apply(e,[this].concat(a))),r.call(n),O(n,o)}return v(t,e),t.prototype.componentWillReceiveProps=function(){this.cachedHandlers={}},t.prototype.render=function(){return o(g({},this.props,this.handlers))},t}(n.Component),r=function(){var t=this;this.cachedHandlers={},this.handlers=w("function"==typeof e?e(this.props):e,(function(e,o){return function(){var n=t.cachedHandlers[o];if(n)return n.apply(void 0,arguments);var c=e(t.props);return t.cachedHandlers[o]=c,c.apply(void 0,arguments)}}))};return c}},C=function(e){return function(t){var o=Object(n.createFactory)(t),c=function(e){return o(e)};return c.defaultProps=e,c}},x=function(e,t){for(var o=y(e,[]),n=0;n<t.length;n++){var c=t[n];o.hasOwnProperty(c)&&delete o[c]}return o},S=function(e,t){return h((function(o){var n;return g({},x(o,[e]),((n={})[t]=o[e],n))}))},P=Object.keys,z=function(e){return h((function(t){return g({},x(t,P(e)),(o=_(t,P(e)),n=function(t,o){return e[o]},P(o).reduce((function(e,t){var c=o[t];return e[n(c,t)]=c,e}),{})));var o,n}))},T=function(e){return function(t){var o=Object(n.createFactory)(t);return function(t){return o(g({},t,t[e]))}}},R=function(e,t,o){return function(c){var r=Object(n.createFactory)(c);return function(n){function c(){var e,t;f(this,c);for(var r=arguments.length,a=Array(r),i=0;i<r;i++)a[i]=arguments[i];return e=t=O(this,n.call.apply(n,[this].concat(a))),t.state={stateValue:"function"==typeof o?o(t.props):o},t.updateStateValue=function(e,o){return t.setState((function(t){var o=t.stateValue;return{stateValue:"function"==typeof e?e(o):e}}),o)},O(t,e)}return v(c,n),c.prototype.render=function(){var o;return r(g({},this.props,((o={})[e]=this.state.stateValue,o[t]=this.updateStateValue,o)))},c}(n.Component)}},B=function(e,t){return function(o){var c=Object(n.createFactory)(o),r=function(e){function t(){var o,n;f(this,t);for(var c=arguments.length,r=Array(c),a=0;a<c;a++)r[a]=arguments[a];return o=n=O(this,e.call.apply(e,[this].concat(r))),i.call(n),O(n,o)}return v(t,e),t.prototype.shouldComponentUpdate=function(e,t){var o=e!==this.props,n=!a()(t,this.state);return o||n},t.prototype.render=function(){return c(g({},this.props,this.state,this.stateUpdaters))},t}(n.Component),i=function(){var o=this;this.state="function"==typeof e?e(this.props):e,this.stateUpdaters=w(t,(function(e){return function(t){for(var n=arguments.length,c=Array(n>1?n-1:0),r=1;r<n;r++)c[r-1]=arguments[r];t&&"function"==typeof t.persist&&t.persist(),o.setState((function(o,n){return e(o,n).apply(void 0,[t].concat(c))}))}}))};return r}},N=function(e,t,o,c){return function(r){var a=Object(n.createFactory)(r);return function(n){function r(){var e,t;f(this,r);for(var c=arguments.length,a=Array(c),i=0;i<c;i++)a[i]=arguments[i];return e=t=O(this,n.call.apply(n,[this].concat(a))),t.state={stateValue:t.initializeStateValue()},t.dispatch=function(e){return t.setState((function(t){var n=t.stateValue;return{stateValue:o(n,e)}}))},O(t,e)}return v(r,n),r.prototype.initializeStateValue=function(){return void 0!==c?"function"==typeof c?c(this.props):c:o(void 0,{type:"@@recompose/INIT"})},r.prototype.render=function(){var o;return a(g({},this.props,((o={})[e]=this.state.stateValue,o[t]=this.dispatch,o)))},r}(n.Component)}},A=function(e){return e},I=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A;return function(c){var r=void 0,a=void 0;return function(i){return e(i)?(r=r||Object(n.createFactory)(t(c)))(i):(a=a||Object(n.createFactory)(o(c)))(i)}}},M=function(e){return function(t){var o=Object(n.createFactory)(e);return function(e){return o(e)}}},D=function(e){function t(){return f(this,t),O(this,e.apply(this,arguments))}return v(t,e),t.prototype.render=function(){return null},t}(n.Component),L=function(e){return D},F=function(e){return function(t){var o=Object(n.createFactory)(t);return function(t){function n(){return f(this,n),O(this,t.apply(this,arguments))}return v(n,t),n.prototype.shouldComponentUpdate=function(t){return e(this.props,t)},n.prototype.render=function(){return o(this.props)},n}(n.Component)}},V=function(e){return F((function(e,t){return!a()(e,t)}))(e)},G=function(e){return F((function(t,o){return!a()(_(o,e),_(t,e))}))},U=function(e){var t=e.propTypes;var o=Object.keys(t||{});return G(o)(e)},H=function(e,t){return function(o){var c=Object(n.createFactory)(o),r=function(e){function o(){var n,c;f(this,o);for(var r=arguments.length,a=Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=c=O(this,e.call.apply(e,[this].concat(a))),c.getChildContext=function(){return t(c.props)},O(c,n)}return v(o,e),o.prototype.render=function(){return c(this.props)},o}(n.Component);return r.childContextTypes=e,r}},W=function(e){return function(t){var o=Object(n.createFactory)(t),c=function(e,t){return o(g({},e,t))};return c.contextTypes=e,c}},q=function(e){return function(t){var o=Object(n.createFactory)(t);var c=function(e){function t(){return f(this,t),O(this,e.apply(this,arguments))}return v(t,e),t.prototype.render=function(){return o(g({},this.props,this.state))},t}(n.Component);return Object.keys(e).forEach((function(t){return c.prototype[t]=e[t]})),c}},Y=function(e){return Boolean(e&&e.prototype&&"function"==typeof e.prototype.render)},K=function(e){if(Y(e))return e;var t=function(t){function o(){return f(this,o),O(this,t.apply(this,arguments))}return v(o,t),o.prototype.render=function(){return"string"==typeof e?c.a.createElement(e,this.props):e(this.props,this.context)},o}(n.Component);return t.displayName=p(e),t.propTypes=e.propTypes,t.contextTypes=e.contextTypes,t.defaultProps=e.defaultProps,t},X=function(e){return b("propTypes",e)};function J(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var Z=function(e){return function(t){function o(){return f(this,o),O(this,t.apply(this,arguments))}return v(o,t),o.prototype.componentWillMount=function(){e(this.props)},o.prototype.componentWillReceiveProps=function(t){e(t)},o.prototype.render=function(){return null},o}(n.Component)},$=function(e){var t=function(t){return Object(n.createElement)(t[e],x(t,[e]))};return t.displayName="componentFromProp("+e+")",t},Q=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];var c=t.map(n.createFactory),r=function(e){var t=y(e,[]),o=e.children;return c.reduceRight((function(e,o){return o(t,e)}),o)};return r},ee=function(e){return function(t){var o=e(t);return l()(o,t),o}},te={fromESObservable:null,toESObservable:null},oe=function(e){te=e},ne={fromESObservable:function(e){return"function"==typeof te.fromESObservable?te.fromESObservable(e):e},toESObservable:function(e){return"function"==typeof te.toESObservable?te.toESObservable(e):e}},ce=function(e){return function(t){return function(o){function n(){var c,r,a;f(this,n);for(var i=arguments.length,l=Array(i),b=0;b<i;b++)l[b]=arguments[b];return r=a=O(this,o.call.apply(o,[this].concat(l))),a.state={vdom:null},a.propsEmitter=Object(s.createChangeEmitter)(),a.props$=e.fromESObservable(((c={subscribe:function(e){return{unsubscribe:a.propsEmitter.listen((function(t){t?e.next(t):e.complete()}))}}})[u.a]=function(){return this},c)),a.vdom$=e.toESObservable(t(a.props$)),O(a,r)}return v(n,o),n.prototype.componentWillMount=function(){var e=this;this.subscription=this.vdom$.subscribe({next:function(t){e.setState({vdom:t})}}),this.propsEmitter.emit(this.props)},n.prototype.componentWillReceiveProps=function(e){this.propsEmitter.emit(e)},n.prototype.shouldComponentUpdate=function(e,t){return t.vdom!==this.state.vdom},n.prototype.componentWillUnmount=function(){this.propsEmitter.emit(),this.subscription.unsubscribe()},n.prototype.render=function(){return this.state.vdom},n}(n.Component)}},re=function(e){return ce(ne)(e)},ae=function(e){return e},ie=function(e){var t=ce({fromESObservable:ae,toESObservable:ae});return function(o){return function(c){var r=Object(n.createFactory)(c),a=e.fromESObservable,i=e.toESObservable;return t((function(e){var t;return(t={subscribe:function(t){var n=i(o(a(e))).subscribe({next:function(e){return t.next(r(e))}});return{unsubscribe:function(){return n.unsubscribe()}}}})[u.a]=function(){return this},t}))}}},le=function(e){return ie(ne)(e)},se=function(e){return function(){var t,o=Object(s.createChangeEmitter)(),n=e.fromESObservable(((t={subscribe:function(e){return{unsubscribe:o.listen((function(t){return e.next(t)}))}}})[u.a]=function(){return this},t));return{handler:o.emit,stream:n}}},ue=se(ne)},function(e,t,o){"use strict";e.exports=function(){}},function(e,t){var o=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return o.test(e)}},function(e,t,o){var n=o(135),c=o(104),r=o(477),a=o(72),i=o(111),l=o(87),s=Object.prototype.hasOwnProperty,u=r((function(e,t){if(i(t)||a(t))c(t,l(t),e);else for(var o in t)s.call(t,o)&&n(e,o,t[o])}));e.exports=u},function(e,t,o){"use strict";(e.exports={}).forEach=function(e,t){for(var o=0;o<e.length;o++){var n=t(e[o]);if(n)return n}}},function(e,t,o){"use strict";var n=e.exports={};n.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"),o=t.getElementsByTagName("i");do{t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e"}while(o[0]);return e>4?e:void 0}());var t},n.isLegacyOpera=function(){return!!window.opera}},function(e,t,o){var n=o(220),c=o(507),r=o(72);e.exports=function(e){return r(e)?n(e,!0):c(e)}},function(e,t,o){var n=o(158),c=o(191),r=o(163),a=o(219),i=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,r(e)),e=c(e);return t}:a;e.exports=i},function(e,t,o){var n=o(217),c=o(264),r=o(263);e.exports=function(e){return n(e,r,c)}},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 o=0,n=e.length;o<n&&!1!==t(e[o],o);o++);}}},function(e,t,o){var n=o(283),c=o(210)((function(e,t){return null==e?{}:n(e,t)}));e.exports=c},function(e,t,o){var n=o(213),c=o(137),r=o(113),a=Math.max;e.exports=function(e,t,o){var i=null==e?0:e.length;if(!i)return-1;var l=null==o?0:r(o);return l<0&&(l=a(i+l,0)),n(e,c(t,3),l)}},function(e,t){!function(){e.exports=this.wp.editPost}()},function(e,t,o){"use strict";var n=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!n.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},function(e,t,o){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r=Object.defineProperty,a=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,s=Object.getPrototypeOf,u=s&&s(Object);e.exports=function e(t,o,b){if("string"!=typeof o){if(u){var d=s(o);d&&d!==u&&e(t,d,b)}var p=a(o);i&&(p=p.concat(i(o)));for(var m=0;m<p.length;++m){var h=p[m];if(!(n[h]||c[h]||b&&b[h])){var f=l(o,h);try{r(t,h,f)}catch(e){}}}return t}return t}},function(e,t,o){"use strict";function n(e){var t,o=e.Symbol;return"function"==typeof o?o.observable?t=o.observable:(t=o("observable"),o.observable=t):t="@@observable",t}o.d(t,"a",(function(){return n}))},function(e,t,o){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r=Object.defineProperty,a=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,s=Object.getPrototypeOf,u=s&&s(Object);e.exports=function e(t,o,b){if("string"!=typeof o){if(u){var d=s(o);d&&d!==u&&e(t,d,b)}var p=a(o);i&&(p=p.concat(i(o)));for(var m=0;m<p.length;++m){var h=p[m];if(!(n[h]||c[h]||b&&b[h])){var f=l(o,h);try{r(t,h,f)}catch(e){}}}return t}return t}},function(e,t,o){var n="undefined"!=typeof window,c=n?window.Masonry||o(487):null,r=n?o(228):null,a=o(260),i=o(490),l=o(501),s=o(503),u=o(24),b=o(16),d=o(528),p={enableResizableChildren:u.bool,disableImagesLoaded:u.bool,onImagesLoaded:u.func,updateOnEachImageLoad:u.bool,options:u.object,imagesLoadedOptions:u.object,elementType:u.string,onLayoutComplete:u.func,onRemoveComplete:u.func},m=d({masonry:!1,erd:void 0,latestKnownDomChildren:[],displayName:"MasonryComponent",imagesLoadedCancelRef:void 0,propTypes:p,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 c(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 o=this.getCurrentDomChildren(),n=t.filter((function(e){return!~o.indexOf(e)})),c=o.filter((function(e){return!~t.indexOf(e)})),r=0,a=c.filter((function(e){var t=r===o.indexOf(e);return t&&r++,t})),i=c.filter((function(e){return-1===a.indexOf(e)})),l=[];return 0===n.length&&(l=t.filter((function(e,t){return t!==o.indexOf(e)}))),this.latestKnownDomChildren=o,{old:t,new:o,removed:n,appended:i,prepended:a,moved:l,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=l(function(e){this.props.onImagesLoaded&&this.props.onImagesLoaded(e),this.masonry.layout()}.bind(this),100),o=r(this.masonryContainer,this.props.imagesLoadedOptions).on(e,t);this.imagesLoadedCancelRef=function(){o.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=s(this.props,Object.keys(p));return b.createElement(this.props.elementType,a({},e,{ref:this.setRef}),this.props.children)}});e.exports=m,e.exports.default=m},function(e,t,o){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=((n=o(536))&&n.__esModule?n:{default:n}).default;t.default=c},function(e,t,o){var n=o(190),c=o(113);e.exports=function(e,t,o){var r=null==e?0:e.length;return r?(t=o||void 0===t?1:c(t),n(e,0,(t=r-t)<0?0:t)):[]}},function(e,t,o){"use strict";var n=o(7),c=o.n(n),r=o(8),a=o.n(r),i=o(9),l=o.n(i),s=o(10),u=o.n(s),b=o(6),d=o.n(b),p=o(0),m=o(11),h=o.n(m),f=o(5),g=o.n(f),v=o(2),y={};y.rotateLeft=Object(p.createElement)(v.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(p.createElement)(v.G,{fillRule:"nonzero"},Object(p.createElement)(v.Path,{d:"m16.6083333 6.05c-1.4583333-1.46666667-3.3833333-2.2-5.3-2.2v-2.7l-3.5333333 3.53333333 3.5333333 3.53333334v-2.7c1.4916667 0 2.9833334.56666666 4.125 1.70833333 2.275 2.275 2.275 5.975 0 8.25-1.1416666 1.1416667-2.6333333 1.7083333-4.125 1.7083333-.8083333 0-1.61666663-.175-2.36666663-.5083333l-1.24166667 1.2416667c1.125.6166666 2.3666667.9333333 3.6083333.9333333 1.9166667 0 3.8416667-.7333333 5.3-2.2 2.9333334-2.925 2.9333334-7.675 0-10.6z"}),Object(p.createElement)(v.Rect,{height:"7.629365",rx:"1",transform:"matrix(.70710678 .70710678 -.70710678 .70710678 9.898365 -1.366222)",width:"7.651147",x:"2.772785",y:"7.450591"}))),y.rotateRight=Object(p.createElement)(v.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(p.createElement)(v.Path,{d:"m16.3991194 6.05c2.9333333 2.925 2.9333333 7.675 0 10.6-1.4583334 1.4666667-3.3833334 2.2-5.3 2.2-1.2416667 0-2.48333337-.3166667-3.60833337-.9333333l1.24166667-1.2416667c.75.3333333 1.5583333.5083333 2.3666667.5083333 1.4916666 0 2.9833333-.5666666 4.125-1.7083333 2.275-2.275 2.275-5.975 0-8.25-1.1416667-1.14166667-2.6333334-1.70833333-4.125-1.70833333v2.7l-3.53333337-3.53333334 3.53333337-3.53333333v2.7c1.9166666 0 3.8416666.73333333 5.3 2.2zm-9.31056951.51990318 3.99596431 3.99596432c.3905243.3905242.3905243 1.0236892 0 1.4142135l-3.98056251 3.9805625c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-3.99596427-3.9959643c-.3905243-.3905243-.3905243-1.0236893 0-1.4142135l3.98056247-3.98056252c.39052429-.39052429 1.02368927-.39052429 1.41421356 0z",transform:"matrix(-1 0 0 1 20 0)"}));var O=y,k=o(1);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}}var j=function(e){l()(n,e);var t,o=(t=n,function(){var e,o=d()(t);if(_()){var n=d()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return u()(this,e)});function n(e){var t;c()(this,n),t=o.call(this,e);var r=e.offsetX,a=e.offsetY,i=e.cropWidth,l=e.cropHeight,s=e.rotation;return t.state={x:r,y:a,w:i,h:l,r:s,midX:r+i/2,midY:a+l/2,containerWidth:0,aspectRatio:1,imageWidth:1e3,imageHeight:1e3},t.mouseDownListener=t.mouseDownListener.bind(h()(t)),t.mouseMoveListener=t.mouseMoveListener.bind(h()(t)),t.mouseUpListener=t.mouseUpListener.bind(h()(t)),t.handleMouseWheel=t.handleMouseWheel.bind(h()(t)),t.handleImageLoaded=t.handleImageLoaded.bind(h()(t)),t.imageContainer=Object(p.createRef)(),t.imageReference=Object(p.createRef)(),t.selectedAreaReference=Object(p.createRef)(),t}return a()(n,[{key:"componentDidMount",value:function(){this.setState({containerWidth:this.imageContainer.current.clientWidth-28}),this.selectedAreaReference.current.addEventListener("wheel",this.handleMouseWheel)}},{key:"componentWillUnmount",value:function(){this.selectedAreaReference.current.removeEventListener("wheel",this.handleMouseWheel)}},{key:"handleMouseWheel",value:function(e){e.preventDefault(),e.stopPropagation(),this.setNewZoom(this.getCurrentScale()-.3*e.deltaY,this.state.r)}},{key:"handleImageLoaded",value:function(){this.setState({aspectRatio:this.imageReference.current.naturalWidth/this.imageReference.current.naturalHeight,imageWidth:this.imageReference.current.naturalWidth,imageHeight:this.imageReference.current.naturalHeight})}},{key:"mouseDownListener",value:function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this.captureMouseEvents())}},{key:"captureMouseEvents",value:function(){document.addEventListener("mouseup",this.mouseUpListener,!0),document.addEventListener("mousemove",this.mouseMoveListener,!0)}},{key:"mouseMoveListener",value:function(e){e.preventDefault(),e.stopPropagation();var t=100/this.getCurrentScale();this.updateState((this.state.x-e.movementX*t).toFixed(2),(this.state.y-e.movementY*t).toFixed(2),this.state.w,this.state.h,this.state.r)}},{key:"mouseUpListener",value:function(e){e.preventDefault(),e.stopPropagation(),document.removeEventListener("mouseup",this.mouseUpListener,!0),document.removeEventListener("mousemove",this.mouseMoveListener,!0)}},{key:"applyRotation",value:function(e){e<0&&(e+=360),e%=360,this.setNewZoom(this.getCurrentScale(),e)}},{key:"getCurrentScale",value:function(){var e=90===this.state.r||270===this.state.r?this.state.aspectRatio:1;return 100*Math.min(Math.max(1,1/(this.state.w/e/e/100)),1/(this.state.h/100))}},{key:"updateState",value:function(e,t,o,n,c){var r=this.props.onChange;"string"==typeof e&&(e=parseFloat(e)),"string"==typeof t&&(t=parseFloat(t)),o>100&&(o=100),n>100&&(n=100),e+o>100&&(e=100-o),e<0&&(e=0),t+n>100&&(t=100-n),t<0&&(t=0),r&&r({x:e,y:t,w:o,h:n,r:c}),this.setState({x:e,y:t,w:o,h:n,r:c,midX:e+o/2,midY:t+n/2})}},{key:"resetControl",value:function(){this.setNewZoom(100,0)}},{key:"setNewZoom",value:function(e,t){e<100?e=100:e>1e3&&(e=1e3),e/=100;var o=90===t||270===t?this.state.aspectRatio:1,n=100*o*o/e,c=100/e,r=(this.state.midX-n/2).toFixed(2),a=(this.state.midY-c/2).toFixed(2);this.updateState(r,a,n,c,t)}},{key:"render",value:function(){var e,t,o,n,c=this,r=this,a=r.props.imageUrl,i=90===r.state.r||270===r.state.r?this.state.aspectRatio:1,l=Math.round(r.state.imageWidth*(this.state.w/100)/i)/Math.round(r.state.imageHeight*(this.state.h/100)*i);90===r.state.r||270===r.state.r?(e=1/(r.state.h/100)/l,t=1/(r.state.w/100)*l):(e=1/(r.state.w/100),t=1/(r.state.h/100)),90===r.state.r?(o=50-(r.state.y+r.state.h/2),n=-(50-(r.state.x+r.state.w/2))):180===r.state.r?(o=-(50-(r.state.x+r.state.w/2)),n=-(50-(r.state.y+r.state.h/2))):270===r.state.r?(o=-(50-(r.state.y+r.state.h/2)),n=50-(r.state.x+r.state.w/2)):(o=50-(r.state.x+r.state.w/2),n=50-(r.state.y+r.state.h/2));var s=g()("components-base-control","components-coblocks-image-control",{"is-zoomed":e>1}),u=g()("components-coblocks-offset-control","components-focal-point-picker_position-display-container"),b=Math.round(this.state.containerWidth/l),d={height:b+28+"px"},m={transform:"rotate("+this.state.r+"deg) scale("+e+", "+t+") translate("+o+"%, "+n+"%)",height:b+"px"};return Object(p.createElement)(p.Fragment,null,Object(p.createElement)("div",{ref:this.imageContainer,className:s,onMouseDown:this.mouseDownListener,style:d},Object(p.createElement)("div",null,Object(p.createElement)("img",{ref:this.imageReference,src:a,style:m,alt:Object(k.__)("Crop settings image placeholder","coblocks"),onLoad:this.handleImageLoaded})),Object(p.createElement)("div",{ref:this.selectedAreaReference},Object(p.createElement)("img",{src:a,style:m,alt:Object(k.__)("Crop settings image placeholder","coblocks")}))),Object(p.createElement)("div",{className:u},Object(p.createElement)(v.TextControl,{label:Object(k.__)("Horizontal pos.","coblocks"),value:r.state.x,type:"number",min:0,max:100,onChange:function(e){return c.updateState(e,r.state.y,r.state.w,r.state.h,r.state.r)}}),Object(p.createElement)(v.TextControl,{label:Object(k.__)("Vertical pos.","coblocks"),value:r.state.y,type:"number",min:0,max:100,onChange:function(e){return c.updateState(r.state.x,e,r.state.w,r.state.h,r.state.r)}})),Object(p.createElement)(v.RangeControl,{label:Object(k.__)("Image zoom","coblocks"),className:"components-coblocks-zoom-control",value:this.getCurrentScale(),onChange:function(e){return c.setNewZoom(e,r.state.r)},min:100,max:1e3}),Object(p.createElement)("p",null,Object(k.__)("Image orientation","coblocks")),Object(p.createElement)("div",{className:"components-coblocks-rotate-control"},Object(p.createElement)(v.ButtonGroup,null,Object(p.createElement)(v.IconButton,{isLarge:!0,isSecondary:!0,icon:O.rotateLeft,label:Object(k.__)("Rotate counter-clockwise","coblocks"),onClick:function(){return c.applyRotation(r.state.r-90)}}),Object(p.createElement)(v.IconButton,{isLarge:!0,isSecondary:!0,icon:O.rotateRight,label:Object(k.__)("Rotate clockwise","coblocks"),onClick:function(){return c.applyRotation(r.state.r+90)}})),Object(p.createElement)(v.Button,{type:"button",onClick:function(){return c.resetControl()},isSmall:!0,isSecondary:!0,"aria-label":Object(k.__)("Reset image cropping options","coblocks")},Object(k.__)("Reset","coblocks"))))}}]),n}(p.Component),w=o(195);function E(){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}}var C=function(e){l()(n,e);var t,o=(t=n,function(){var e,o=d()(t);if(E()){var n=d()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return u()(this,e)});function n(e){var t;return c()(this,n),(t=o.call(this,e)).state={imageUrl:"",id:null},t.cropControl=Object(p.createRef)(),t}return a()(n,[{key:"componentDidMount",value:function(){var e=this.props.attachmentId,t=this;e&&w.a.get(e).then((function(o){var n=o.url;t.setState({imageUrl:n,id:e}),o.crop||t.cropControl.current.resetControl()}))}},{key:"componentDidUpdate",value:function(e){var t=this.props.attachmentId,o=this;e.attachmentId&&o.state.id!==t&&w.a.get(t).then((function(e){var n=e.url,c=o.state.imageUrl;o.setState({imageUrl:n,id:t}),c!==o.state.imageUrl&&o.cropControl.current.resetControl()}))}},{key:"render",value:function(){var e=this.props,t=e.offsetX,o=e.offsetY,n=e.cropWidth,c=e.cropHeight,r=e.rotation,a=e.onChange;return Object(p.createElement)(j,{offsetX:t,offsetY:o,cropWidth:n,cropHeight:c,rotation:r,imageUrl:this.state.imageUrl,onChange:a,ref:this.cropControl})}}]),n}(p.Component);t.a=C},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var o=[],n=!0,c=!1,r=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done)&&(o.push(a.value),!t||o.length!==t);n=!0);}catch(e){c=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(c)throw r}}return o}}},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.")}},function(e,t){function o(t,n){return e.exports=o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(t,n)}e.exports=o},function(e,t){e.exports=function(e,t){if(null==e)return{};var o,n,c={},r=Object.keys(e);for(n=0;n<r.length;n++)o=r[n],t.indexOf(o)>=0||(c[o]=e[o]);return c}},function(e,t,o){var n=o(284),c=o(208);e.exports=function(e,t){return n(e,t,(function(t,o){return c(e,o)}))}},function(e,t,o){var n=o(126),c=o(312),r=o(93);e.exports=function(e,t,o){for(var a=-1,i=t.length,l={};++a<i;){var s=t[a],u=n(e,s);o(u,s)&&c(l,r(s,e),u)}return l}},function(e,t,o){var n=o(94),c=Object.prototype,r=c.hasOwnProperty,a=c.toString,i=n?n.toStringTag:void 0;e.exports=function(e){var t=r.call(e,i),o=e[i];try{e[i]=void 0;var n=!0}catch(e){}var c=a.call(e);return n&&(t?e[i]=o:delete e[i]),c}},function(e,t){var o=Object.prototype.toString;e.exports=function(e){return o.call(e)}},function(e,t,o){var n=o(288),c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(c,(function(e,o,n,c){t.push(n?c.replace(r,"$1"):o||e)})),t}));e.exports=a},function(e,t,o){var n=o(289);e.exports=function(e){var t=n(e,(function(e){return 500===o.size&&o.clear(),e})),o=t.cache;return t}},function(e,t,o){var n=o(155);function c(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var o=function(){var n=arguments,c=t?t.apply(this,n):n[0],r=o.cache;if(r.has(c))return r.get(c);var a=e.apply(this,n);return o.cache=r.set(c,a)||r,a};return o.cache=new(c.Cache||n),o}c.Cache=n,e.exports=c},function(e,t,o){var n=o(291),c=o(130),r=o(156);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(r||c),string:new n}}},function(e,t,o){var n=o(292),c=o(297),r=o(298),a=o(299),i=o(300);function l(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=c,l.prototype.get=r,l.prototype.has=a,l.prototype.set=i,e.exports=l},function(e,t,o){var n=o(128);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t,o){var n=o(129),c=o(294),r=o(52),a=o(204),i=/^\[object .+?Constructor\]$/,l=Function.prototype,s=Object.prototype,u=l.toString,b=s.hasOwnProperty,d=RegExp("^"+u.call(b).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||c(e))&&(n(e)?d:i).test(a(e))}},function(e,t,o){var n,c=o(295),r=(n=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!r&&r in e}},function(e,t,o){var n=o(39)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},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,o){var n=o(128),c=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var o=t[e];return"__lodash_hash_undefined__"===o?void 0:o}return c.call(t,e)?t[e]:void 0}},function(e,t,o){var n=o(128),c=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:c.call(t,e)}},function(e,t,o){var n=o(128);e.exports=function(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,o){var n=o(131),c=Array.prototype.splice;e.exports=function(e){var t=this.__data__,o=n(t,e);return!(o<0)&&(o==t.length-1?t.pop():c.call(t,o,1),--this.size,!0)}},function(e,t,o){var n=o(131);e.exports=function(e){var t=this.__data__,o=n(t,e);return o<0?void 0:t[o][1]}},function(e,t,o){var n=o(131);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,o){var n=o(131);e.exports=function(e,t){var o=this.__data__,c=n(o,e);return c<0?(++this.size,o.push([e,t])):o[c][1]=t,this}},function(e,t,o){var n=o(133);e.exports=function(e){var t=n(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,o){var n=o(133);e.exports=function(e){return n(this,e).get(e)}},function(e,t,o){var n=o(133);e.exports=function(e){return n(this,e).has(e)}},function(e,t,o){var n=o(133);e.exports=function(e,t){var o=n(this,e),c=o.size;return o.set(e,t),this.size+=o.size==c?0:1,this}},function(e,t,o){var n=o(94),c=o(134),r=o(29),a=o(127),i=n?n.prototype:void 0,l=i?i.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(r(t))return c(t,e)+"";if(a(t))return l?l.call(t):"";var o=t+"";return"0"==o&&1/t==-1/0?"-0":o}},function(e,t,o){var n=o(135),c=o(93),r=o(109),a=o(52),i=o(96);e.exports=function(e,t,o,l){if(!a(e))return e;for(var s=-1,u=(t=c(t,e)).length,b=u-1,d=e;null!=d&&++s<u;){var p=i(t[s]),m=o;if(s!=b){var h=d[p];void 0===(m=l?l(h,p,d):void 0)&&(m=a(h)?h:r(t[s+1])?[]:{})}n(d,p,m),d=d[p]}return e}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,o){var n=o(85),c=o(57);e.exports=function(e){return c(e)&&"[object Arguments]"==n(e)}},function(e,t,o){var n=o(316);e.exports=function(e){return(null==e?0:e.length)?n(e,1):[]}},function(e,t,o){var n=o(158),c=o(317);e.exports=function e(t,o,r,a,i){var l=-1,s=t.length;for(r||(r=c),i||(i=[]);++l<s;){var u=t[l];o>0&&r(u)?o>1?e(u,o-1,r,a,i):n(i,u):a||(i[i.length]=u)}return i}},function(e,t,o){var n=o(94),c=o(136),r=o(29),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return r(e)||c(e)||!!(a&&e&&e[a])}},function(e,t,o){var n=o(319),c=o(207),r=o(110),a=c?function(e,t){return c(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:r;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,o){var n=o(321),c=o(343),r=o(226);e.exports=function(e){var t=c(e);return 1==t.length&&t[0][2]?r(t[0][0],t[0][1]):function(o){return o===e||n(o,e,t)}}},function(e,t,o){var n=o(161),c=o(162);e.exports=function(e,t,o,r){var a=o.length,i=a,l=!r;if(null==e)return!i;for(e=Object(e);a--;){var s=o[a];if(l&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<i;){var u=(s=o[a])[0],b=e[u],d=s[1];if(l&&s[2]){if(void 0===b&&!(u in e))return!1}else{var p=new n;if(r)var m=r(b,d,u,e,t,p);if(!(void 0===m?c(d,b,3,r,p):m))return!1}}return!0}},function(e,t,o){var n=o(130);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}},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,o){var n=o(130),c=o(156),r=o(155);e.exports=function(e,t){var o=this.__data__;if(o instanceof n){var a=o.__data__;if(!c||a.length<199)return a.push([e,t]),this.size=++o.size,this;o=this.__data__=new r(a)}return o.set(e,t),this.size=o.size,this}},function(e,t,o){var n=o(161),c=o(214),r=o(333),a=o(336),i=o(112),l=o(29),s=o(138),u=o(165),b="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,o,p,m,h){var f=l(e),g=l(t),v=f?"[object Array]":i(e),y=g?"[object Array]":i(t),O=(v="[object Arguments]"==v?b:v)==b,k=(y="[object Arguments]"==y?b:y)==b,_=v==y;if(_&&s(e)){if(!s(t))return!1;f=!0,O=!1}if(_&&!O)return h||(h=new n),f||u(e)?c(e,t,o,p,m,h):r(e,t,v,o,p,m,h);if(!(1&o)){var j=O&&d.call(e,"__wrapped__"),w=k&&d.call(t,"__wrapped__");if(j||w){var E=j?e.value():e,C=w?t.value():t;return h||(h=new n),m(E,C,o,p,h)}}return!!_&&(h||(h=new n),a(e,t,o,p,m,h))}},function(e,t,o){var n=o(155),c=o(329),r=o(330);function a(e){var t=-1,o=null==e?0:e.length;for(this.__data__=new n;++t<o;)this.add(e[t])}a.prototype.add=a.prototype.push=c,a.prototype.has=r,e.exports=a},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 o=-1,n=null==e?0:e.length;++o<n;)if(t(e[o],o,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,o){var n=o(94),c=o(215),r=o(132),a=o(214),i=o(334),l=o(335),s=n?n.prototype:void 0,u=s?s.valueOf:void 0;e.exports=function(e,t,o,n,s,b,d){switch(o){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 c(e),new c(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 p=i;case"[object Set]":var m=1&n;if(p||(p=l),e.size!=t.size&&!m)return!1;var h=d.get(e);if(h)return h==t;n|=2,d.set(e,t);var f=a(p(e),p(t),n,s,b,d);return d.delete(e),f;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,o=Array(e.size);return e.forEach((function(e,n){o[++t]=[n,e]})),o}},function(e,t){e.exports=function(e){var t=-1,o=Array(e.size);return e.forEach((function(e){o[++t]=e})),o}},function(e,t,o){var n=o(216),c=Object.prototype.hasOwnProperty;e.exports=function(e,t,o,r,a,i){var l=1&o,s=n(e),u=s.length;if(u!=n(t).length&&!l)return!1;for(var b=u;b--;){var d=s[b];if(!(l?d in t:c.call(t,d)))return!1}var p=i.get(e);if(p&&i.get(t))return p==t;var m=!0;i.set(e,t),i.set(t,e);for(var h=l;++b<u;){var f=e[d=s[b]],g=t[d];if(r)var v=l?r(g,f,d,t,e,i):r(f,g,d,e,t,i);if(!(void 0===v?f===g||a(f,g,o,r,i):v)){m=!1;break}h||(h="constructor"==d)}if(m&&!h){var y=e.constructor,O=t.constructor;y==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof O&&O instanceof O||(m=!1)}return i.delete(e),i.delete(t),m}},function(e,t){e.exports=function(){return!1}},function(e,t,o){var n=o(85),c=o(157),r=o(57),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&c(e.length)&&!!a[n(e)]}},function(e,t,o){var n=o(223)(Object.keys,Object);e.exports=n},function(e,t,o){var n=o(86)(o(39),"DataView");e.exports=n},function(e,t,o){var n=o(86)(o(39),"Promise");e.exports=n},function(e,t,o){var n=o(86)(o(39),"Set");e.exports=n},function(e,t,o){var n=o(225),c=o(87);e.exports=function(e){for(var t=c(e),o=t.length;o--;){var r=t[o],a=e[r];t[o]=[r,a,n(a)]}return t}},function(e,t,o){var n=o(162),c=o(43),r=o(208),a=o(154),i=o(225),l=o(226),s=o(96);e.exports=function(e,t){return a(e)&&i(t)?l(s(e),t):function(o){var a=c(o,e);return void 0===a&&a===t?r(o,e):n(t,a,3)}}},function(e,t,o){var n=o(346),c=o(347),r=o(154),a=o(96);e.exports=function(e){return r(e)?n(a(e)):c(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,o){var n=o(126);e.exports=function(e){return function(t){return n(t,e)}}},function(e,t,o){var n=o(168);e.exports=function(e){return e?(e=n(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,o){"use strict";(function(e){var t=o(0),n=o(18),c=o.n(n),r=o(277),a=o(13),i=o(3),l=o(2),s=o(21),u=o(1),b=["core/image","core/cover"],d={updateDebounce:c.a.debounce((function(e){e()}),250),loadingCount:0,editing:!1},p=Object(a.createHigherOrderComponent)((function(o){return function(n){if(!b.includes(n.name))return Object(t.createElement)(o,n);var a=n.attributes,s=n.setAttributes,p=a.cropX,m=a.cropY,h=a.cropWidth,f=a.cropHeight,g=a.cropRotation,v=c.a.extend({},a);if(!v.id)return Object(t.createElement)(o,n);if("video"===v.backgroundType)return Object(t.createElement)(o,n);var y=function(e){return e||(e=""),e=e.replace(/ ?is-cropping/g,"")},O=function(){d.editing=!1,++d.loadingCount,fetch(e.ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:["action=".concat("coblocks_crop_settings"),"nonce=".concat(coblocksBlockData.cropSettingsNonce),"id=".concat(v.id),"cropX=".concat(v.cropX),"cropY=".concat(v.cropY),"cropWidth=".concat(v.cropWidth),"cropHeight=".concat(v.cropHeight),"cropRotation=".concat(v.cropRotation)].join("&")}).then((function(e){return e.json()})).then((function(e){--d.loadingCount;var t=e.data;if(t&&!(d.loadingCount>0||d.editing)){var o=y(v.className);s({id:t.id,url:t.url,className:""!==o?o:null})}}))};return Object(t.createElement)(t.Fragment,null,Object(t.createElement)(o,n),Object(t.createElement)(i.InspectorControls,null,Object(t.createElement)(l.PanelBody,{title:Object(u.__)("Crop settings","coblocks"),initialOpen:!1},Object(t.createElement)(r.a,{attachmentId:v.id,offsetX:p,offsetY:m,cropWidth:h,cropHeight:f,rotation:g,onChange:function(e){return t={cropX:e.x,cropY:e.y,cropWidth:e.w,cropHeight:e.h,cropRotation:e.r},o=c.a.reduce(t,(function(e,t,o){return e||!c.a.isEqual(t,v[o])}),!1),d.editing=!0,o&&(t.className=y(v.className)+" is-cropping"),s(t),v=c.a.extend({},v,t),void d.updateDebounce(O);var t,o}}))))}}),"positioningControl");Object(s.addFilter)("blocks.registerBlockType","coblocks/imagePositioning/attributes",(function(e,t){return b.includes(t)?(e.attributes=Object(n.assign)(e.attributes,{cropX:{type:"number",default:0},cropY:{type:"number",default:0},cropWidth:{type:"number",default:100},cropHeight:{type:"number",default:100},cropRotation:{type:"number",default:0}}),e):e})),Object(s.addFilter)("editor.BlockEdit","coblocks/positioning",p)}).call(this,o(95))},function(e,t,o){},function(e,t,o){},function(e,t,o){var n=o(139);e.exports=function(e,t){var o=[];return n(e,(function(e,n,c){t(e,n,c)&&o.push(e)})),o}},function(e,t,o){var n=o(354),c=o(87);e.exports=function(e,t){return e&&n(e,t,c)}},function(e,t,o){var n=o(355)();e.exports=n},function(e,t){e.exports=function(e){return function(t,o,n){for(var c=-1,r=Object(t),a=n(t),i=a.length;i--;){var l=a[e?i:++c];if(!1===o(r[l],l,r))break}return t}}},function(e,t,o){var n=o(72);e.exports=function(e,t){return function(o,c){if(null==o)return o;if(!n(o))return e(o,c);for(var r=o.length,a=t?r:-1,i=Object(o);(t?a--:++a<r)&&!1!==c(i[a],a,i););return o}}},function(e,t,o){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),c={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=c},function(e,t,o){"use strict";var n=o(359);function c(){}function r(){}r.resetWarningCache=c,e.exports=function(){function e(e,t,o,c,r,a){if(a!==n){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 o={array: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:c};return o.PropTypes=o,o}},function(e,t,o){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,o){var n,c,r;
22
  /*!
23
  * Flickity v2.2.1
24
  * Touch, responsive, flickable carousels
@@ -55,4 +55,4 @@
55
  object-assign
56
  (c) Sindre Sorhus
57
  @license MIT
58
- */var n=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(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={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var o,i,l=a(e),s=1;s<arguments.length;s++){for(var u in o=Object(arguments[s]))c.call(o,u)&&(l[u]=o[u]);if(n){i=n(o);for(var b=0;b<i.length;b++)r.call(o,i[b])&&(l[i[b]]=o[i[b]])}}return l}},function(e,t,o){"use strict";e.exports={}},function(e,t,o){"use strict";e.exports=function(e,t,o,n,c,r,a,i){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[o,n,c,r,a,i],u=0;(l=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,o){var n=o(85),c=o(29),r=o(57);e.exports=function(e){return"string"==typeof e||!c(e)&&r(e)&&"[object String]"==n(e)}},function(e,t,o){var n=o(535),c=o(87);e.exports=function(e){return null==e?[]:n(e,c(e))}},function(e,t,o){var n=o(134);e.exports=function(e,t){return n(t,(function(t){return e[t]}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(o(16)),c=o(537),r=l(o(544)),a=l(o(546)),i=o(148);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(o,!0).forEach((function(t){g(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function p(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var v=(0,i.canUseDOM)()&&o(547),y=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=function(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?h(e):t}(this,m(t).call(this,e)),g(h(o),"innerSliderRefHandler",(function(e){return o.innerSlider=e})),g(h(o),"slickPrev",(function(){return o.innerSlider.slickPrev()})),g(h(o),"slickNext",(function(){return o.innerSlider.slickNext()})),g(h(o),"slickGoTo",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return o.innerSlider.slickGoTo(e,t)})),g(h(o),"slickPause",(function(){return o.innerSlider.pause("paused")})),g(h(o),"slickPlay",(function(){return o.innerSlider.autoPlay("play")})),o.state={breakpoint:null},o._responsiveMediaHandlers=[],o}var o,l,b;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),o=t,(l=[{key:"media",value:function(e,t){v.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"UNSAFE_componentWillMount",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(o,n){var c;c=0===n?(0,r.default)({minWidth:0,maxWidth:o}):(0,r.default)({minWidth:t[n-1]+1,maxWidth:o}),(0,i.canUseDOM)()&&e.media(c,(function(){e.setState({breakpoint:o})}))}));var o=(0,r.default)({minWidth:t.slice(-1)[0]});(0,i.canUseDOM)()&&this.media(o,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){v.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,o=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===o.state.breakpoint})))[0].settings?"unslick":d({},a.default,{},this.props,{},t[0].settings):d({},a.default,{},this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=n.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=[],l=null,s=0;s<r.length;s+=e.rows*e.slidesPerRow){for(var b=[],p=s;p<s+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var m=[],h=p;h<p+e.slidesPerRow&&(e.variableWidth&&r[h].props.style&&(l=r[h].props.style.width),!(h>=r.length));h+=1)m.push(n.default.cloneElement(r[h],{key:100*s+10*p+h,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));b.push(n.default.createElement("div",{key:10*s+p},m))}e.variableWidth?i.push(n.default.createElement("div",{key:s,style:{width:l}},b)):i.push(n.default.createElement("div",{key:s},b))}if("unslick"===e){var f="regular slider "+(this.props.className||"");return n.default.createElement("div",{className:f},i)}return i.length<=e.slidesToShow&&(e.unslick=!0),n.default.createElement(c.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},e),i)}}])&&p(o.prototype,l),b&&p(o,b),t}(n.default.Component);t.default=y},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var n=p(o(16)),c=p(o(114)),r=p(o(538)),a=p(o(539)),i=p(o(5)),l=o(148),s=o(540),u=o(541),b=o(542),d=p(o(543));function p(e){return e&&e.__esModule?e:{default:e}}function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}function h(e,t){if(null==e)return{};var o,n,c=function(e,t){if(null==e)return{};var o,n,c={},r=Object.keys(e);for(n=0;n<r.length;n++)o=r[n],t.indexOf(o)>=0||(c[o]=e[o]);return c}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)o=r[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(c[o]=e[o])}return c}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(o,!0).forEach((function(t){_(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var j=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=function(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?O(e):t}(this,y(t).call(this,e)),_(O(o),"listRefHandler",(function(e){return o.list=e})),_(O(o),"trackRefHandler",(function(e){return o.track=e})),_(O(o),"adaptHeight",(function(){if(o.props.adaptiveHeight&&o.list){var e=o.list.querySelector('[data-index="'.concat(o.state.currentSlide,'"]'));o.list.style.height=(0,l.getHeight)(e)+"px"}})),_(O(o),"UNSAFE_componentWillMount",(function(){if(o.ssrInit(),o.props.onInit&&o.props.onInit(),o.props.lazyLoad){var e=(0,l.getOnDemandLazySlides)(v({},o.props,{},o.state));e.length>0&&(o.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),o.props.onLazyLoad&&o.props.onLazyLoad(e))}})),_(O(o),"componentDidMount",(function(){var e=v({listRef:o.list,trackRef:o.track},o.props);o.updateState(e,!0,(function(){o.adaptHeight(),o.props.autoplay&&o.autoPlay("update")})),"progressive"===o.props.lazyLoad&&(o.lazyLoadTimer=setInterval(o.progressiveLazyLoad,1e3)),o.ro=new d.default((function(){o.state.animating?(o.onWindowResized(!1),o.callbackTimers.push(setTimeout((function(){return o.onWindowResized()}),o.props.speed))):o.onWindowResized()})),o.ro.observe(o.list),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=o.props.pauseOnFocus?o.onSlideFocus:null,e.onblur=o.props.pauseOnFocus?o.onSlideBlur:null})),window&&(window.addEventListener?window.addEventListener("resize",o.onWindowResized):window.attachEvent("onresize",o.onWindowResized))})),_(O(o),"componentWillUnmount",(function(){o.animationEndCallback&&clearTimeout(o.animationEndCallback),o.lazyLoadTimer&&clearInterval(o.lazyLoadTimer),o.callbackTimers.length&&(o.callbackTimers.forEach((function(e){return clearTimeout(e)})),o.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",o.onWindowResized):window.detachEvent("onresize",o.onWindowResized),o.autoplayTimer&&clearInterval(o.autoplayTimer)})),_(O(o),"UNSAFE_componentWillReceiveProps",(function(e){for(var t=v({listRef:o.list,trackRef:o.track},e,{},o.state),c=!1,r=0,a=Object.keys(o.props);r<a.length;r++){var i=a[r];if(!e.hasOwnProperty(i)){c=!0;break}if("object"!==f(e[i])&&"function"!=typeof e[i]&&e[i]!==o.props[i]){c=!0;break}}o.updateState(t,c,(function(){o.state.currentSlide>=n.default.Children.count(e.children)&&o.changeSlide({message:"index",index:n.default.Children.count(e.children)-e.slidesToShow,currentSlide:o.state.currentSlide}),e.autoplay?o.autoPlay("update"):o.pause("paused")}))})),_(O(o),"componentDidUpdate",(function(){if(o.checkImagesLoad(),o.props.onReInit&&o.props.onReInit(),o.props.lazyLoad){var e=(0,l.getOnDemandLazySlides)(v({},o.props,{},o.state));e.length>0&&(o.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),o.props.onLazyLoad&&o.props.onLazyLoad(e))}o.adaptHeight()})),_(O(o),"onWindowResized",(function(e){o.debouncedResize&&o.debouncedResize.cancel(),o.debouncedResize=(0,a.default)((function(){return o.resizeWindow(e)}),50),o.debouncedResize()})),_(O(o),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(c.default.findDOMNode(o.track)){var t=v({listRef:o.list,trackRef:o.track},o.props,{},o.state);o.updateState(t,e,(function(){o.props.autoplay?o.autoPlay("update"):o.pause("paused")})),o.setState({animating:!1}),clearTimeout(o.animationEndCallback),delete o.animationEndCallback}})),_(O(o),"updateState",(function(e,t,c){var r=(0,l.initializedState)(e);e=v({},e,{},r,{slideIndex:r.currentSlide}),e=v({},e,{left:(0,l.getTrackLeft)(e)});var a=(0,l.getTrackCSS)(e);(t||n.default.Children.count(o.props.children)!==n.default.Children.count(e.children))&&(r.trackStyle=a),o.setState(r,c)})),_(O(o),"ssrInit",(function(){if(o.props.variableWidth){var e=0,t=0,c=[],r=(0,l.getPreClones)(v({},o.props,{},o.state,{slideCount:o.props.children.length})),a=(0,l.getPostClones)(v({},o.props,{},o.state,{slideCount:o.props.children.length}));o.props.children.forEach((function(t){c.push(t.props.style.width),e+=t.props.style.width}));for(var i=0;i<r;i++)t+=c[c.length-1-i],e+=c[c.length-1-i];for(var s=0;s<a;s++)e+=c[s];for(var u=0;u<o.state.currentSlide;u++)t+=c[u];var b={width:e+"px",left:-t+"px"};if(o.props.centerMode){var d="".concat(c[o.state.currentSlide],"px");b.left="calc(".concat(b.left," + (100% - ").concat(d,") / 2 ) ")}o.setState({trackStyle:b})}else{var p=n.default.Children.count(o.props.children),m=v({},o.props,{},o.state,{slideCount:p}),h=(0,l.getPreClones)(m)+(0,l.getPostClones)(m)+p,f=100/o.props.slidesToShow*h,g=100/h,y=-g*((0,l.getPreClones)(m)+o.state.currentSlide)*f/100;o.props.centerMode&&(y+=(100-g*f/100)/2);var O={width:f+"%",left:y+"%"};o.setState({slideWidth:g+"%",trackStyle:O})}})),_(O(o),"checkImagesLoad",(function(){var e=document.querySelectorAll(".slick-slide img"),t=e.length,n=0;Array.prototype.forEach.call(e,(function(e){var c=function(){return++n&&n>=t&&o.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||(o.props.lazyLoad?e.onload=function(){o.adaptHeight(),o.callbackTimers.push(setTimeout(o.onWindowResized,o.props.speed))}:(e.onload=c,e.onerror=function(){c(),o.props.onLazyLoadError&&o.props.onLazyLoadError()}))}))})),_(O(o),"progressiveLazyLoad",(function(){for(var e=[],t=v({},o.props,{},o.state),n=o.state.currentSlide;n<o.state.slideCount+(0,l.getPostClones)(t);n++)if(o.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var c=o.state.currentSlide-1;c>=-(0,l.getPreClones)(t);c--)if(o.state.lazyLoadedList.indexOf(c)<0){e.push(c);break}e.length>0?(o.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),o.props.onLazyLoad&&o.props.onLazyLoad(e)):o.lazyLoadTimer&&(clearInterval(o.lazyLoadTimer),delete o.lazyLoadTimer)})),_(O(o),"slideHandler",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=o.props,c=n.asNavFor,r=n.beforeChange,a=n.onLazyLoad,i=n.speed,s=n.afterChange,u=o.state.currentSlide,b=(0,l.slideHandler)(v({index:e},o.props,{},o.state,{trackRef:o.track,useCSS:o.props.useCSS&&!t})),d=b.state,p=b.nextState;if(d){r&&r(u,d.currentSlide);var m=d.lazyLoadedList.filter((function(e){return o.state.lazyLoadedList.indexOf(e)<0}));a&&m.length>0&&a(m),o.setState(d,(function(){c&&c.innerSlider.slideHandler(e),p&&(o.animationEndCallback=setTimeout((function(){var e=p.animating,t=h(p,["animating"]);o.setState(t,(function(){o.callbackTimers.push(setTimeout((function(){return o.setState({animating:e})}),10)),s&&s(d.currentSlide),delete o.animationEndCallback}))}),i))}))}})),_(O(o),"changeSlide",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=v({},o.props,{},o.state),c=(0,l.changeSlide)(n,e);(0===c||c)&&(!0===t?o.slideHandler(c,t):o.slideHandler(c))})),_(O(o),"clickHandler",(function(e){!1===o.clickable&&(e.stopPropagation(),e.preventDefault()),o.clickable=!0})),_(O(o),"keyHandler",(function(e){var t=(0,l.keyHandler)(e,o.props.accessibility,o.props.rtl);""!==t&&o.changeSlide({message:t})})),_(O(o),"selectHandler",(function(e){o.changeSlide(e)})),_(O(o),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),_(O(o),"enableBodyScroll",(function(){window.ontouchmove=null})),_(O(o),"swipeStart",(function(e){o.props.verticalSwiping&&o.disableBodyScroll();var t=(0,l.swipeStart)(e,o.props.swipe,o.props.draggable);""!==t&&o.setState(t)})),_(O(o),"swipeMove",(function(e){var t=(0,l.swipeMove)(e,v({},o.props,{},o.state,{trackRef:o.track,listRef:o.list,slideIndex:o.state.currentSlide}));t&&(t.swiping&&(o.clickable=!1),o.setState(t))})),_(O(o),"swipeEnd",(function(e){var t=(0,l.swipeEnd)(e,v({},o.props,{},o.state,{trackRef:o.track,listRef:o.list,slideIndex:o.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,o.setState(t),void 0!==n&&(o.slideHandler(n),o.props.verticalSwiping&&o.enableBodyScroll())}})),_(O(o),"slickPrev",(function(){o.callbackTimers.push(setTimeout((function(){return o.changeSlide({message:"previous"})}),0))})),_(O(o),"slickNext",(function(){o.callbackTimers.push(setTimeout((function(){return o.changeSlide({message:"next"})}),0))})),_(O(o),"slickGoTo",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";o.callbackTimers.push(setTimeout((function(){return o.changeSlide({message:"index",index:e,currentSlide:o.state.currentSlide},t)}),0))})),_(O(o),"play",(function(){var e;if(o.props.rtl)e=o.state.currentSlide-o.props.slidesToScroll;else{if(!(0,l.canGoNext)(v({},o.props,{},o.state)))return!1;e=o.state.currentSlide+o.props.slidesToScroll}o.slideHandler(e)})),_(O(o),"autoPlay",(function(e){o.autoplayTimer&&clearInterval(o.autoplayTimer);var t=o.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;o.autoplayTimer=setInterval(o.play,o.props.autoplaySpeed+50),o.setState({autoplaying:"playing"})})),_(O(o),"pause",(function(e){o.autoplayTimer&&(clearInterval(o.autoplayTimer),o.autoplayTimer=null);var t=o.state.autoplaying;"paused"===e?o.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||o.setState({autoplaying:"focused"}):"playing"===t&&o.setState({autoplaying:"hovered"})})),_(O(o),"onDotsOver",(function(){return o.props.autoplay&&o.pause("hovered")})),_(O(o),"onDotsLeave",(function(){return o.props.autoplay&&"hovered"===o.state.autoplaying&&o.autoPlay("leave")})),_(O(o),"onTrackOver",(function(){return o.props.autoplay&&o.pause("hovered")})),_(O(o),"onTrackLeave",(function(){return o.props.autoplay&&"hovered"===o.state.autoplaying&&o.autoPlay("leave")})),_(O(o),"onSlideFocus",(function(){return o.props.autoplay&&o.pause("focused")})),_(O(o),"onSlideBlur",(function(){return o.props.autoplay&&"focused"===o.state.autoplaying&&o.autoPlay("blur")})),_(O(o),"render",(function(){var e,t,c,r=(0,i.default)("slick-slider",o.props.className,{"slick-vertical":o.props.vertical,"slick-initialized":!0}),a=v({},o.props,{},o.state),d=(0,l.extractObject)(a,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding"]),p=o.props.pauseOnHover;if(d=v({},d,{onMouseEnter:p?o.onTrackOver:null,onMouseLeave:p?o.onTrackLeave:null,onMouseOver:p?o.onTrackOver:null,focusOnSelect:o.props.focusOnSelect?o.selectHandler:null}),!0===o.props.dots&&o.state.slideCount>=o.props.slidesToShow){var h=(0,l.extractObject)(a,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),f=o.props.pauseOnDotsHover;h=v({},h,{clickHandler:o.changeSlide,onMouseEnter:f?o.onDotsLeave:null,onMouseOver:f?o.onDotsOver:null,onMouseLeave:f?o.onDotsLeave:null}),e=n.default.createElement(u.Dots,h)}var g=(0,l.extractObject)(a,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=o.changeSlide,o.props.arrows&&(t=n.default.createElement(b.PrevArrow,g),c=n.default.createElement(b.NextArrow,g));var y=null;o.props.vertical&&(y={height:o.state.listHeight});var O=null;!1===o.props.vertical?!0===o.props.centerMode&&(O={padding:"0px "+o.props.centerPadding}):!0===o.props.centerMode&&(O={padding:o.props.centerPadding+" 0px"});var k=v({},y,{},O),_=o.props.touchMove,j={className:"slick-list",style:k,onClick:o.clickHandler,onMouseDown:_?o.swipeStart:null,onMouseMove:o.state.dragging&&_?o.swipeMove:null,onMouseUp:_?o.swipeEnd:null,onMouseLeave:o.state.dragging&&_?o.swipeEnd:null,onTouchStart:_?o.swipeStart:null,onTouchMove:o.state.dragging&&_?o.swipeMove:null,onTouchEnd:_?o.swipeEnd:null,onTouchCancel:o.state.dragging&&_?o.swipeEnd:null,onKeyDown:o.props.accessibility?o.keyHandler:null},w={className:r,dir:"ltr",style:o.props.style};return o.props.unslick&&(j={className:"slick-list"},w={className:r}),n.default.createElement("div",w,o.props.unslick?"":t,n.default.createElement("div",m({ref:o.listRefHandler},j),n.default.createElement(s.Track,m({ref:o.trackRefHandler},d),o.props.children)),o.props.unslick?"":c,o.props.unslick?"":e)})),o.list=null,o.track=null,o.state=v({},r.default,{currentSlide:o.props.initialSlide,slideCount:n.default.Children.count(o.props.children)}),o.callbackTimers=[],o.clickable=!0,o.debouncedResize=null,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(t,e),t}(n.default.Component);t.InnerSlider=j},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={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};t.default=n},function(e,t,o){(function(t){var o=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,r=/^0o[0-7]+$/i,a=parseInt,i="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,s=i||l||Function("return this")(),u=Object.prototype.toString,b=Math.max,d=Math.min,p=function(){return s.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function h(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var i=c.test(e);return i||r.test(e)?a(e.slice(2),i?2:8):n.test(e)?NaN:+e}e.exports=function(e,t,o){var n,c,r,a,i,l,s=0,u=!1,f=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var o=n,r=c;return n=c=void 0,s=t,a=e.apply(r,o)}function y(e){return s=e,i=setTimeout(k,t),u?v(e):a}function O(e){var o=e-l;return void 0===l||o>=t||o<0||f&&e-s>=r}function k(){var e=p();if(O(e))return _(e);i=setTimeout(k,function(e){var o=t-(e-l);return f?d(o,r-(e-s)):o}(e))}function _(e){return i=void 0,g&&n?v(e):(n=c=void 0,a)}function j(){var e=p(),o=O(e);if(n=arguments,c=this,l=e,o){if(void 0===i)return y(l);if(f)return i=setTimeout(k,t),v(l)}return void 0===i&&(i=setTimeout(k,t)),a}return t=h(t)||0,m(o)&&(u=!!o.leading,r=(f="maxWait"in o)?b(h(o.maxWait)||0,t):r,g="trailing"in o?!!o.trailing:g),j.cancel=function(){void 0!==i&&clearTimeout(i),s=0,n=l=c=i=void 0},j.flush=function(){return void 0===i?a:_(p())},j}}).call(this,o(95))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var n=a(o(16)),c=a(o(5)),r=o(148);function a(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 l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(o,!0).forEach((function(t){f(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function f(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var g=function(e){var t,o,n,c,r;return n=(r=e.rtl?e.slideCount-1-e.index:e.index)<0||r>=e.slideCount,e.centerMode?(c=Math.floor(e.slidesToShow/2),o=(r-e.currentSlide)%e.slideCount==0,r>e.currentSlide-c-1&&r<=e.currentSlide+c&&(t=!0)):t=e.currentSlide<=r&&r<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":o,"slick-cloned":n,"slick-current":r===e.currentSlide}},v=function(e,t){return e.key||t},y=function(e){var t,o=[],a=[],i=[],l=n.default.Children.count(e.children),s=(0,r.lazyStartIndex)(e),u=(0,r.lazyEndIndex)(e);return n.default.Children.forEach(e.children,(function(b,d){var p,m={message:"children",index:d,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(d)>=0?b:n.default.createElement("div",null);var f=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,t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase,t.WebkitTransition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase),t}(h({},e,{index:d})),y=p.props.className||"",O=g(h({},e,{index:d}));if(o.push(n.default.cloneElement(p,{key:"original"+v(p,d),"data-index":d,className:(0,c.default)(O,y),tabIndex:"-1","aria-hidden":!O["slick-active"],style:h({outline:"none"},p.props.style||{},{},f),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})),e.infinite&&!1===e.fade){var k=l-d;k<=(0,r.getPreClones)(e)&&l!==e.slidesToShow&&((t=-k)>=s&&(p=b),O=g(h({},e,{index:t})),a.push(n.default.cloneElement(p,{key:"precloned"+v(p,t),"data-index":t,tabIndex:"-1",className:(0,c.default)(O,y),"aria-hidden":!O["slick-active"],style:h({},p.props.style||{},{},f),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}}))),l!==e.slidesToShow&&((t=l+d)<u&&(p=b),O=g(h({},e,{index:t})),i.push(n.default.cloneElement(p,{key:"postcloned"+v(p,t),"data-index":t,tabIndex:"-1",className:(0,c.default)(O,y),"aria-hidden":!O["slick-active"],style:h({},p.props.style||{},{},f),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})))}})),e.rtl?a.concat(o,i).reverse():a.concat(o,i)},O=function(e){function t(){return s(this,t),b(this,d(t).apply(this,arguments))}var o,c,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),o=t,(c=[{key:"render",value:function(){var e=y(this.props),t=this.props,o={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return n.default.createElement("div",l({className:"slick-track",style:this.props.trackStyle},o),e)}}])&&u(o.prototype,c),r&&u(o,r),t}(n.default.PureComponent);t.Track=O},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var n=r(o(16)),c=r(o(5));function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return(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)}function i(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function l(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){function t(){return s(this,t),b(this,d(t).apply(this,arguments))}var o,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),o=t,(r=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){var e,t=this,o=(e={slideCount:this.props.slideCount,slidesToScroll:this.props.slidesToScroll,slidesToShow:this.props.slidesToShow,infinite:this.props.infinite}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,r=this.props,a={onMouseEnter:r.onMouseEnter,onMouseOver:r.onMouseOver,onMouseLeave:r.onMouseLeave},s=Array.apply(null,Array(o+1).join("0").split("")).map((function(e,o){var r=o*t.props.slidesToScroll,a=o*t.props.slidesToScroll+(t.props.slidesToScroll-1),i=(0,c.default)({"slick-active":t.props.currentSlide>=r&&t.props.currentSlide<=a}),l={message:"dots",index:o,slidesToScroll:t.props.slidesToScroll,currentSlide:t.props.currentSlide},s=t.clickHandler.bind(t,l);return n.default.createElement("li",{key:o,className:i},n.default.cloneElement(t.props.customPaging(o),{onClick:s}))}));return n.default.cloneElement(this.props.appendDots(s),function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?i(o,!0).forEach((function(t){l(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):i(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({className:this.props.dotsClass},a))}}])&&u(o.prototype,r),a&&u(o,a),t}(n.default.PureComponent);t.Dots=m},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextArrow=t.PrevArrow=void 0;var n=a(o(16)),c=a(o(5)),r=o(148);function a(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 l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}function s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(o,!0).forEach((function(t){b(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function b(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,o){return t&&p(e.prototype,t),o&&p(e,o),e}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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(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&&v(e,t)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e){function t(){return d(this,t),h(this,f(t).apply(this,arguments))}return g(t,e),m(t,[{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 o={key:"0","data-role":"none",className:(0,c.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?n.default.cloneElement(this.props.prevArrow,u({},o,{},r)):n.default.createElement("button",l({key:"0",type:"button"},o)," ","Previous")}}]),t}(n.default.PureComponent);t.PrevArrow=y;var O=function(e){function t(){return d(this,t),h(this,f(t).apply(this,arguments))}return g(t,e),m(t,[{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 o={key:"1","data-role":"none",className:(0,c.default)(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?n.default.cloneElement(this.props.nextArrow,u({},o,{},a)):n.default.createElement("button",l({key:"1",type:"button"},o)," ","Next")}}]),t}(n.default.PureComponent);t.NextArrow=O},function(e,t,o){"use strict";o.r(t),function(e){var o=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var o=-1;return e.some((function(e,n){return e[0]===t&&(o=n,!0)})),o}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 o=e(this.__entries__,t),n=this.__entries__[o];return n&&n[1]},t.prototype.set=function(t,o){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=o:this.__entries__.push([t,o])},t.prototype.delete=function(t){var o=this.__entries__,n=e(o,t);~n&&o.splice(n,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 o=0,n=this.__entries__;o<n.length;o++){var c=n[o];e.call(t,c[1],c[0])}},t}()}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,c=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(c):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],i="undefined"!=typeof MutationObserver,l=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 o=!1,n=!1,c=0;function a(){o&&(o=!1,e()),n&&l()}function i(){r(a)}function l(){var e=Date.now();if(o){if(e-c<2)return;n=!0}else o=!0,n=!1,setTimeout(i,t);c=e}return l}(this.refresh.bind(this),20)}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_,o=t.indexOf(e);~o&&t.splice(o,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(){n&&!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(){n&&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,o=void 0===t?"":t;a.some((function(e){return!!~o.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),s=function(e,t){for(var o=0,n=Object.keys(t);o<n.length;o++){var c=n[o];Object.defineProperty(e,c,{value:t[c],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||c},b=g(0,0,0,0);function d(e){return parseFloat(e)||0}function p(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return t.reduce((function(t,o){return t+d(e["border-"+o+"-width"])}),0)}function m(e){var t=e.clientWidth,o=e.clientHeight;if(!t&&!o)return b;var n=u(e).getComputedStyle(e),c=function(e){for(var t={},o=0,n=["top","right","bottom","left"];o<n.length;o++){var c=n[o],r=e["padding-"+c];t[c]=d(r)}return t}(n),r=c.left+c.right,a=c.top+c.bottom,i=d(n.width),l=d(n.height);if("border-box"===n.boxSizing&&(Math.round(i+r)!==t&&(i-=p(n,"left","right")+r),Math.round(l+a)!==o&&(l-=p(n,"top","bottom")+a)),!function(e){return e===u(e).document.documentElement}(e)){var s=Math.round(i+r)-t,m=Math.round(l+a)-o;1!==Math.abs(s)&&(i-=s),1!==Math.abs(m)&&(l-=m)}return g(c.left,c.top,i,l)}var h="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function f(e){return n?h(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):m(e):b}function g(e,t,o,n){return{x:e,y:t,width:o,height:n}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=f(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}(),y=function(e,t){var o,n,c,r,a,i,l,u=(n=(o=t).x,c=o.y,r=o.width,a=o.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(i.prototype),s(l,{x:n,y:c,width:r,height:a,top:c,right:n+r,bottom:a+c,left:n}),l);s(this,{target:e,contentRect:u})},O=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new o,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}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 u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(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 u(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 y(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}(),k="undefined"!=typeof WeakMap?new WeakMap:new o,_=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 o=l.getInstance(),n=new O(t,o,this);k.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){_.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}}));var j=void 0!==c.ResizeObserver?c.ResizeObserver:_;t.default=j}.call(this,o(95))},function(e,t,o){var n=o(545),c=function(e){var t="",o=Object.keys(e);return o.forEach((function(c,r){var a=e[c];(function(e){return/[height|width]$/.test(e)})(c=n(c))&&"number"==typeof a&&(a+="px"),t+=!0===a?c:!1===a?"not "+c:"("+c+": "+a+")",r<o.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(o,n){t+=c(o),n<e.length-1&&(t+=", ")})),t):c(e)}},function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,c=(n=o(16))&&n.__esModule?n:{default:n};var r={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return c.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 c.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,o){var n=o(548);e.exports=new n},function(e,t,o){var n=o(549),c=o(266),r=c.each,a=c.isFunction,i=c.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,o){var c=this.queries,l=o&&this.browserIsIncapable;return c[e]||(c[e]=new n(e,l)),a(t)&&(t={match:t}),i(t)||(t=[t]),r(t,(function(t){a(t)&&(t={match:t}),c[e].addHandler(t)})),this},unregister:function(e,t){var o=this.queries[e];return o&&(t?o.removeHandler(t):(o.clear(),delete this.queries[e])),this}},e.exports=l},function(e,t,o){var n=o(550),c=o(266).each;function r(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var o=this;this.listener=function(e){o.mql=e.currentTarget||e,o.assess()},this.mql.addListener(this.listener)}r.prototype={constuctor:r,addHandler:function(e){var t=new n(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;c(t,(function(o,n){if(o.equals(e))return o.destroy(),!t.splice(n,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){c(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";c(this.handlers,(function(t){t[e]()}))}},e.exports=r},function(e,t){function o(e){this.options=e,!e.deferSetup&&this.setup()}o.prototype={constructor:o,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=o},,,,,,,,,,,,,,,,function(e,t,o){"use strict";o.r(t),o.d(t,"registerCoBlocksBlocks",(function(){return MO}));var n={};o.r(n),o.d(n,"name",(function(){return Kt})),o.d(n,"settings",(function(){return Xt}));var c={};o.r(c),o.d(c,"name",(function(){return ho})),o.d(c,"category",(function(){return fo})),o.d(c,"metadata",(function(){return po})),o.d(c,"settings",(function(){return vo}));var r={};o.r(r),o.d(r,"name",(function(){return Io})),o.d(r,"category",(function(){return Mo})),o.d(r,"metadata",(function(){return No})),o.d(r,"settings",(function(){return Lo}));var a={};o.r(a),o.d(a,"name",(function(){return cn})),o.d(a,"category",(function(){return rn})),o.d(a,"metadata",(function(){return Fo})),o.d(a,"settings",(function(){return ln})),o.d(a,"attributes",(function(){return an}));var i={};o.r(i),o.d(i,"name",(function(){return Tn})),o.d(i,"category",(function(){return Rn})),o.d(i,"metadata",(function(){return sn})),o.d(i,"settings",(function(){return Nn}));var l={};o.r(l),o.d(l,"name",(function(){return Kn})),o.d(l,"category",(function(){return Xn})),o.d(l,"metadata",(function(){return An})),o.d(l,"settings",(function(){return Zn}));var s={};o.r(s),o.d(s,"name",(function(){return sr})),o.d(s,"category",(function(){return ur})),o.d(s,"icon",(function(){return nr})),o.d(s,"metadata",(function(){return _c})),o.d(s,"settings",(function(){return dr}));var u={};o.r(u),o.d(u,"name",(function(){return zr})),o.d(u,"category",(function(){return Tr})),o.d(u,"metadata",(function(){return Cr})),o.d(u,"settings",(function(){return Br}));var b={};o.r(b),o.d(b,"name",(function(){return ia})),o.d(b,"category",(function(){return la})),o.d(b,"metadata",(function(){return Nr})),o.d(b,"settings",(function(){return ua}));var d={};o.r(d),o.d(d,"name",(function(){return Ga})),o.d(d,"category",(function(){return Ua})),o.d(d,"metadata",(function(){return ba})),o.d(d,"settings",(function(){return Wa}));var p={};o.r(p),o.d(p,"name",(function(){return ri})),o.d(p,"category",(function(){return ai})),o.d(p,"metadata",(function(){return qa})),o.d(p,"settings",(function(){return li}));var m={};o.r(m),o.d(m,"metadata",(function(){return ki})),o.d(m,"name",(function(){return ji})),o.d(m,"category",(function(){return wi})),o.d(m,"settings",(function(){return Ei}));var h={};o.r(h),o.d(h,"name",(function(){return Bi})),o.d(h,"category",(function(){return Ni})),o.d(h,"icon",(function(){return Ti})),o.d(h,"metadata",(function(){return Ri})),o.d(h,"settings",(function(){return Ii}));var f={};o.r(f),o.d(f,"name",(function(){return ol})),o.d(f,"category",(function(){return nl})),o.d(f,"metadata",(function(){return $i})),o.d(f,"settings",(function(){return rl}));var g={};o.r(g),o.d(g,"name",(function(){return Rl})),o.d(g,"category",(function(){return Bl})),o.d(g,"metadata",(function(){return al})),o.d(g,"settings",(function(){return Al}));var v={};o.r(v),o.d(v,"name",(function(){return os})),o.d(v,"category",(function(){return ns})),o.d(v,"metadata",(function(){return es})),o.d(v,"settings",(function(){return rs}));var y={};o.r(y),o.d(y,"name",(function(){return Os})),o.d(y,"category",(function(){return ks})),o.d(y,"metadata",(function(){return fs})),o.d(y,"settings",(function(){return js}));var O={};o.r(O),o.d(O,"name",(function(){return Vs})),o.d(O,"category",(function(){return Gs})),o.d(O,"metadata",(function(){return Fs})),o.d(O,"settings",(function(){return Hs}));var k={};o.r(k),o.d(k,"name",(function(){return Js})),o.d(k,"category",(function(){return Zs})),o.d(k,"metadata",(function(){return Xs})),o.d(k,"settings",(function(){return Qs}));var _={};o.r(_),o.d(_,"name",(function(){return nu})),o.d(_,"category",(function(){return cu})),o.d(_,"metadata",(function(){return ou})),o.d(_,"settings",(function(){return au}));var j={};o.r(j),o.d(j,"name",(function(){return uu})),o.d(j,"category",(function(){return bu})),o.d(j,"metadata",(function(){return su})),o.d(j,"settings",(function(){return pu}));var w={};o.r(w),o.d(w,"name",(function(){return wu})),o.d(w,"category",(function(){return Eu})),o.d(w,"metadata",(function(){return ju})),o.d(w,"settings",(function(){return xu}));var E={};o.r(E),o.d(E,"name",(function(){return Tu})),o.d(E,"category",(function(){return Ru})),o.d(E,"metadata",(function(){return zu})),o.d(E,"settings",(function(){return Nu}));var C={};o.r(C),o.d(C,"name",(function(){return Du})),o.d(C,"category",(function(){return Lu})),o.d(C,"metadata",(function(){return Mu})),o.d(C,"settings",(function(){return Vu}));var x={};o.r(x),o.d(x,"name",(function(){return Wu})),o.d(x,"category",(function(){return qu})),o.d(x,"metadata",(function(){return Hu})),o.d(x,"settings",(function(){return Ku}));var S={};o.r(S),o.d(S,"name",(function(){return Zu})),o.d(S,"category",(function(){return $u})),o.d(S,"metadata",(function(){return Ju})),o.d(S,"settings",(function(){return eb}));var P={};o.r(P),o.d(P,"name",(function(){return lb})),o.d(P,"category",(function(){return sb})),o.d(P,"metadata",(function(){return ib})),o.d(P,"settings",(function(){return bb}));var z={};o.r(z),o.d(z,"name",(function(){return mb})),o.d(z,"category",(function(){return hb})),o.d(z,"metadata",(function(){return pb})),o.d(z,"settings",(function(){return gb}));var T={};o.r(T),o.d(T,"name",(function(){return kb})),o.d(T,"category",(function(){return _b})),o.d(T,"metadata",(function(){return Ob})),o.d(T,"settings",(function(){return wb}));var R={};o.r(R),o.d(R,"name",(function(){return Sb})),o.d(R,"category",(function(){return Pb})),o.d(R,"metadata",(function(){return xb})),o.d(R,"settings",(function(){return Tb}));var B={};o.r(B),o.d(B,"name",(function(){return qb})),o.d(B,"category",(function(){return Yb})),o.d(B,"metadata",(function(){return Hb})),o.d(B,"settings",(function(){return Xb}));var N={};o.r(N),o.d(N,"name",(function(){return dd})),o.d(N,"category",(function(){return pd})),o.d(N,"metadata",(function(){return Jb})),o.d(N,"settings",(function(){return hd}));var A={};o.r(A),o.d(A,"name",(function(){return $d})),o.d(A,"category",(function(){return Qd})),o.d(A,"metadata",(function(){return fd})),o.d(A,"settings",(function(){return tp})),o.d(A,"attributes",(function(){return ep}));var I={};o.r(I),o.d(I,"name",(function(){return hp})),o.d(I,"category",(function(){return fp})),o.d(I,"metadata",(function(){return dp})),o.d(I,"settings",(function(){return vp}));var M={};o.r(M),o.d(M,"DEFAULT_ICON_SIZE",(function(){return Zp})),o.d(M,"name",(function(){return $p})),o.d(M,"category",(function(){return Qp})),o.d(M,"metadata",(function(){return Gp})),o.d(M,"settings",(function(){return tm}));var D={};o.r(D),o.d(D,"name",(function(){return fm})),o.d(D,"category",(function(){return gm})),o.d(D,"metadata",(function(){return om})),o.d(D,"settings",(function(){return ym})),o.d(D,"icon",(function(){return hm}));var L={};o.r(L),o.d(L,"name",(function(){return Km})),o.d(L,"category",(function(){return Xm})),o.d(L,"metadata",(function(){return Om})),o.d(L,"settings",(function(){return Zm}));var F={};o.r(F),o.d(F,"name",(function(){return Oh})),o.d(F,"category",(function(){return kh})),o.d(F,"icon",(function(){return mh})),o.d(F,"metadata",(function(){return $m})),o.d(F,"settings",(function(){return jh}));var V={};o.r(V),o.d(V,"name",(function(){return Xh})),o.d(V,"category",(function(){return Jh})),o.d(V,"metadata",(function(){return Gh})),o.d(V,"settings",(function(){return $h}));var G={};o.r(G),o.d(G,"name",(function(){return yf})),o.d(G,"category",(function(){return Of})),o.d(G,"metadata",(function(){return uf})),o.d(G,"settings",(function(){return _f}));var U={};o.r(U),o.d(U,"name",(function(){return Uf})),o.d(U,"category",(function(){return Hf})),o.d(U,"settings",(function(){return Wf}));var H={};o.r(H),o.d(H,"name",(function(){return cg})),o.d(H,"category",(function(){return rg})),o.d(H,"settings",(function(){return ag}));var W={};o.r(W),o.d(W,"name",(function(){return xg})),o.d(W,"category",(function(){return Sg})),o.d(W,"metadata",(function(){return _g})),o.d(W,"settings",(function(){return zg}));var q={};o.r(q),o.d(q,"name",(function(){return Yg})),o.d(q,"category",(function(){return Kg})),o.d(q,"metadata",(function(){return Ug})),o.d(q,"settings",(function(){return Jg}));var Y={};o.r(Y),o.d(Y,"name",(function(){return Ev})),o.d(Y,"category",(function(){return Cv})),o.d(Y,"metadata",(function(){return hv})),o.d(Y,"settings",(function(){return Sv}));var K={};o.r(K),o.d(K,"name",(function(){return Av})),o.d(K,"category",(function(){return Iv})),o.d(K,"metadata",(function(){return Nv})),o.d(K,"settings",(function(){return Dv}));var X={};o.r(X),o.d(X,"name",(function(){return ey})),o.d(X,"category",(function(){return ty})),o.d(X,"metadata",(function(){return Lv})),o.d(X,"settings",(function(){return ny}));var J={};o.r(J),o.d(J,"name",(function(){return Sy})),o.d(J,"category",(function(){return Py})),o.d(J,"metadata",(function(){return iy})),o.d(J,"settings",(function(){return Ty}));var Z={};o.r(Z),o.d(Z,"name",(function(){return Uy})),o.d(Z,"category",(function(){return Hy})),o.d(Z,"settings",(function(){return Wy}));var $={};o.r($),o.d($,"name",(function(){return lO})),o.d($,"category",(function(){return sO})),o.d($,"settings",(function(){return uO}));var Q={};o.r(Q),o.d(Q,"name",(function(){return TO})),o.d(Q,"category",(function(){return RO})),o.d(Q,"icon",(function(){return EO})),o.d(Q,"metadata",(function(){return bO})),o.d(Q,"settings",(function(){return NO}));var ee=o(4),te=o.n(ee),oe=o(12),ne=o(14),ce=o.n(ne),re=o(1),ae=o(0),ie=o(2),le={};le.categoryIcon=Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m5.64061786.98596548 8.60095684-.00146814c1.6268055-.00027769 2.2175432.16938914 2.8138163.48807555.5962732.3186864 1.0652814.78641505 1.3862243 1.38244235.3209428.59602729.4931785 1.18725228.5010418 2.81773904l.0415737 8.62042012c.0078633 1.6304868-.1586695 2.2217696-.4738629 2.8179055-.3151934.5961358-.7796894 1.0640238-1.3728878 1.3829133-.5931983.3188894-1.1822985.4887576-2.809104.4890353l-8.60095683.0014682c-1.62680543.0002776-2.21754313-.1693892-2.81381629-.4880756-.59627317-.3186864-1.06528137-.786415-1.38622424-1.3824423-.32094288-.5960273-.49317854-1.1872523-.50104188-2.8177391l-.04157365-8.6204201c-.00786334-1.63048677.15866944-2.22176958.47386289-2.81790546.31519344-.59613588.77968944-1.06402387 1.37288777-1.38291331.59319834-.31888944 1.18229856-.48875766 2.80910399-.48903535zm-.65612086 2.99853152c-.55228475 0-1 .44771525-1 1v10c0 .5522847.44771525 1 1 1h3c.55228475 0 1-.4477153 1-1v-10c0-.55228475-.44771525-1-1-1zm7 7c-.5522847 0-1 .4477153-1 1v3c0 .5522847.4477153 1 1 1h3c.5522847 0 1-.4477153 1-1v-3c0-.5522847-.4477153-1-1-1zm0-7c-.5522847 0-1 .44771525-1 1v3c0 .55228475.4477153 1 1 1h3c.5522847 0 1-.44771525 1-1v-3c0-.55228475-.4477153-1-1-1z",fillRule:"evenodd"})),le.sidebarMoreMenuIcon=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m5.88996491 1.48588643 8.13794159-.00138911c1.5392296-.00026274 2.0981661.16027042 2.6623401.46180098s1.0079341.74407997 1.3115996 1.30802133c.3036656.56394136.4666293 1.12333893.4740693 2.66605169l.0393356 8.15635708c.0074401 1.5427127-.1501278 2.102165-.4483534 2.6662091s-.7377164 1.0067443-1.2989811 1.308467c-.5612647.3017226-1.1186519.4624463-2.6578815.4627091l-8.13794156.0013891c-1.53922962.0002627-2.09816613-.1602704-2.66234013-.461801-.56417399-.3015306-1.00793407-.74408-1.31159963-1.3080213-.30366556-.5639414-.46662926-1.123339-.47406929-2.6660517l-.03933561-8.15635707c-.00744003-1.54271277.15012779-2.10216506.44835342-2.66620915.29822564-.5640441.73771642-1.00674428 1.29898111-1.30846695.56126469-.30172266 1.11865188-.46244637 2.6578815-.4627091zm-.62079991 2.83711157c-.5225536 0-.946167.4236134-.946167.946167v9.46167c0 .5225536.4236134.946167.946167.946167h2.838501c.5225536 0 .946167-.4236134.946167-.946167v-9.46167c0-.5225536-.4236134-.946167-.946167-.946167zm6.623169 6.623169c-.5225536 0-.946167.4236134-.946167.946167v2.838501c0 .5225536.4236134.946167.946167.946167h2.838501c.5225536 0 .946167-.4236134.946167-.946167v-2.838501c0-.5225536-.4236134-.946167-.946167-.946167zm0-6.623169c-.5225536 0-.946167.4236134-.946167.946167v2.838501c0 .5225536.4236134.946167.946167.946167h2.838501c.5225536 0 .946167-.4236134.946167-.946167v-2.838501c0-.5225536-.4236134-.946167-.946167-.946167z",fillRule:"evenodd"})),le.modalIcon=Object(ae.createElement)(ie.SVG,{height:"25",viewBox:"0 0 25 25",width:"25",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m6.46683453.00203955 11.94577347-.00203908c2.2594519-.00038567 3.079921.2352627 3.9080781.67788271.8281572.44262 1.4795575 1.09224312 1.9253115 1.92005881s.6849702 1.64896151.6958915 3.91352645l.0577412 11.97280576c.0109213 2.2645649-.2203743 3.085791-.6581429 3.9137575-.4377687.8279666-1.082902 1.477811-1.9067886 1.920713s-1.6420813.6788301-3.9015333.6792157l-11.94577345.0020391c-2.25945199.0003857-3.07992102-.2352627-3.90807819-.6778827-.82815718-.44262-1.47955745-1.0922431-1.92531145-1.9200588s-.68497019-1.6489615-.6958915-3.9135264l-.05774118-11.97280577c-.0109213-2.26456495.22037424-3.08579108.6581429-3.91375758.43776867-.8279665 1.08290201-1.47781093 1.90678858-1.92071294.82388658-.442902 1.64208133-.67883008 3.90153332-.67921576zm-1.07794564 3.98245745c-.76706215 0-1.38888889.62182674-1.38888889 1.38888889v14.23772521c0 .7670622.62182674 1.3888889 1.38888889 1.3888889h4.33333333c.76706218 0 1.38888888-.6218267 1.38888888-1.3888889v-14.23772521c0-.76706215-.6218267-1.38888889-1.38888888-1.38888889zm10.00000001 9.9043919c-.7670622 0-1.3888889.6218267-1.3888889 1.3888889v4.3333333c0 .7670622.6218267 1.3888889 1.3888889 1.3888889h4.2222222c.7670622 0 1.3888889-.6218267 1.3888889-1.3888889v-4.3333333c0-.7670622-.6218267-1.3888889-1.3888889-1.3888889zm0-9.9043919c-.7670622 0-1.3888889.62182674-1.3888889 1.38888889v4.34883633c0 .76706218.6218267 1.38888888 1.3888889 1.38888888h4.2222222c.7670622 0 1.3888889-.6218267 1.3888889-1.38888888v-4.34883633c0-.76706215-.6218267-1.38888889-1.3888889-1.38888889z",fillRule:"evenodd"}));var se=le,ue=o(19),be=o.n(ue),de=function(e){return!Object.entries(e).map((function(e){var t=be()(e,2)[1];return"string"==typeof t&&(t=t.trim()),t instanceof Array&&(t=t.length),t instanceof Object&&(t=Object.entries(t).length),!!t})).filter((function(e){return!0===e})).length},pe=function(){return"function"==typeof oe.registerBlockCollection},me=[{slug:"coblocks-galleries",title:Object(re.__)("Galleries","coblocks")}].concat(ce()(Object(oe.getCategories)().filter((function(e){return"coblocks-galleries"!==e.slug}))));pe()?Object(oe.registerBlockCollection)("coblocks",{title:"CoBlocks",icon:se.categoryIcon}):me.unshift({slug:"coblocks",title:"CoBlocks",icon:se.categoryIcon}),Object(oe.setCategories)(me);var he=o(7),fe=o.n(he),ge=o(8),ve=o.n(ge),ye=o(9),Oe=o.n(ye),ke=o(10),_e=o.n(ke),je=o(6),we=o.n(je),Ee={textColor:{type:"string"},customTextColor:{type:"string"},customBackgroundColor:{type:"string"}};var Ce=o(13),xe=o(3);function Se(){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}}var Pe=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Se()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,n=e.setAttributes,c=o.customTextColor,r=o.customBackgroundColor,a=[];return["core/list","core/quote"].includes(t)||a.push({value:r,onChange:function(e){return n({customBackgroundColor:e})},label:Object(re.__)("Background color","coblocks")}),a.push({value:c,onChange:function(e){return n({customTextColor:e})},label:Object(re.__)("Text color","coblocks")}),Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:a})}}]),n}(ae.Component),ze=Object(Ce.compose)([Object(xe.withColors)({textColor:"color"})])(Pe),Te=o(21);function Re(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Be=function(e){return["core/cover","core/button","core/list","core/quote"].includes(e.name)?e.attributes.textPanelHeadingFontSizes=!0:e.attributes.textPanelHideSize=!0,["core/paragraph","core/cover","core/button"].includes(e.name)||(e.attributes.textPanelLineHeight=!0),e.attributes.textPanelHideColor=!0,e.attributes.textPanelShowSpacingControls=!0,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ze,e))};var Ne=Object(Ce.createHigherOrderComponent)((function(e){return function(t){return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(e,t),t.isSelected&&["core/list","core/quote"].includes(t.name)&&Object(ae.createElement)(Be,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Re(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t)))}}),"withInspectorControl");Object(Te.addFilter)("blocks.registerBlockType","coblocks/colors/attributes",(function(e){return["core/list","core/quote"].includes(e.name)&&(e.attributes=Object.assign(e.attributes,Ee)),e})),Object(Te.addFilter)("editor.BlockEdit","coblocks/colors",Ne);var Ae=o(15),Ie=o.n(Ae),Me=o(59),De=o.n(Me),Le=o(5),Fe=o.n(Le),Ve={"Abril Fatface":{weight:["400"]},Anton:{weight:["400"]},Arvo:{weight:["400","700"]},Asap:{weight:["400","500","600","700"]},"Barlow Condensed":{weight:["100","200","300","400","500","600","700","800","900"]},Barlow:{weight:["100","200","300","400","500","600","700","800","900"]},"Cormorant Garamond":{weight:["300","400","500","600","700"]},Faustina:{weight:["400","500","600","700"]},"Fira Sans":{weight:["100","200","300","400","500","600","700","800","900"]},"IBM Plex Sans":{weight:["100","200","300","400","500","600","700"]},Inconsolata:{weight:["400","700"]},Heebo:{weight:["100","300","400","500","700","800","900"]},Karla:{weight:["400","700"]},Lato:{weight:["100","200","300","400","500","600","700","800","900"]},Lora:{weight:["400","700"]},Merriweather:{weight:["300","400","500","600","700","800","900"]},Montserrat:{weight:["100","200","300","400","500","600","700","800","900"]},"Noto Sans":{weight:["400","700"]},"Noto Serif":{weight:["400","700"]},"Open Sans":{weight:["300","400","500","600","700","800"]},Oswald:{weight:["200","300","400","500","600","700"]},"Playfair Display":{weight:["400","700","900"]},"PT Serif":{weight:["400","700"]},Roboto:{weight:["100","300","400","500","700","900"]},Rubik:{weight:["300","400","500","700","900"]},Tajawal:{weight:["200","300","400","500","700","800","900"]},Ubuntu:{weight:["300","400","500","700"]},Yrsa:{weight:["300","400","500","600","700"]}},Ge={fontSize:{type:"string"},customFontSize:{type:"number"},fontFamily:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},lineHeight:{type:"number"},letterSpacing:{type:"number"},fontWeight:{type:"string",default:""},textTransform:{type:"string",default:""},noBottomSpacing:{type:"boolean",default:!1},noTopSpacing:{type:"boolean",default:!1}};var Ue=Object(Ce.withInstanceId)((function(e){var t=e.label,o=e.value,n=e.help,c=e.instanceId,r=e.onChange,a=e.className,i=De()(e,["label","value","help","instanceId","onChange","className"]),l="inspector-coblocks-font-family-".concat(c),s=[{value:"",label:Object(re.__)("Default","coblocks")},{value:"Arial",label:"Arial"},{value:"Helvetica",label:"Helvetica"},{value:"Times New Roman",label:"Times New Roman"},{value:"Georgia",label:"Georgia"}],u=[];return Object.keys(Ve).forEach((function(e){u.push({value:e,label:e})})),s.reverse().forEach((function(e){u.unshift(e)})),u=wp.hooks.applyFilters("coblocks.google_fonts",u),Object(ae.createElement)(ie.BaseControl,{label:t,id:l,help:n,className:a},Object(ae.createElement)("select",Ie()({id:l,className:"components-select-control__input components-select-control__input--coblocks-fontfamily",onChange:function(e){var t=wp.data.select("core/editor").getEditedPostAttribute("meta"),o="",n=":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic",c=document.createElement("link"),a=s.filter((function(t){return t.label===e.target.value})).length>0;c.rel="stylesheet",void 0!==t&&void 0!==t._coblocks_attr&&(o=t._coblocks_attr),o.length>0?(o.includes(e.target.value)||a||(c.href="https://fonts.googleapis.com/css?family="+e.target.value.replace(/ /g,"+")+n,document.head.appendChild(c)),o=(o=o.replace(","+e.target.value,""))+","+e.target.value):(c.href="https://fonts.googleapis.com/css?family="+e.target.value.replace(/ /g,"+")+n,document.head.appendChild(c),o=e.target.value),wp.data.dispatch("core/editor").editPost({meta:{_coblocks_attr:o}}),r(e.target.value)},"aria-describedby":n?"".concat(l,"__help"):void 0,value:o},i),u.map((function(e,t){return Object(ae.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)}))))})),He={};He.typography=Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"nonzero"},Object(ae.createElement)(ie.Path,{d:"m3 16v2h14v-2z"}),Object(ae.createElement)(ie.Path,{d:"m9.11555556 2-4.88888889 12.4444444h2l.99555555-2.6666666h5.55555558l.9955555 2.6666666h2l-4.88-12.4444444zm-1.22666667 8 2.11555551-5.62666667 2.1155556 5.62666667z"})));var We=He,qe=o(26),Ye=o(17);function Ke(){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}}var Xe=window.getComputedStyle,Je=Object(ie.withFallbackStyles)((function(e,t){var o=t.attributes,n=o.textColor,c=o.fontSize,r=o.customFontSize,a=e.querySelector('[contenteditable="true"]'),i=a?Xe(a):void 0;return{fallbackTextColor:n||!i?void 0:i.color,fallbackFontSize:c||r||!i?void 0:parseInt(i.fontSize)||void 0}})),Ze=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Ke()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(e){var t;return fe()(this,n),(t=o.call(this,e)).state={allowedBlocks:[]},t}return ve()(n,[{key:"componentDidMount",value:function(){this.props.typographyEnabled&&this.setState({allowedBlocks:["core/paragraph","core/heading","core/button","core/list","coblocks/row","coblocks/column","coblocks/accordion","coblocks/accordion-item","coblocks/click-to-tweet","coblocks/alert","coblocks/pricing-table","coblocks/highlight"]})}},{key:"render",value:function(){if(!this.props.typographyEnabled)return null;var e=this.state.allowedBlocks,t=this.props,o=t.attributes,n=t.setAttributes,c=t.icon,r=void 0===c?We.typography:c,a=t.label,i=void 0===a?Object(re.__)("Change typography","coblocks"):a;if(!e.includes(this.props.name))return null;var l=o.customFontSize,s=o.fontFamily,u=o.lineHeight,b=o.letterSpacing,d=o.noBottomSpacing,p=o.noTopSpacing,m=o.fontWeight,h=o.textTransform,f=[{value:"",label:Object(re.__)("Default","coblocks")},{value:"normal",label:Object(re.__)("Normal","coblocks")},{value:"bold",label:Object(re.__)("Bold","coblocks")}],g=[{value:"",label:Object(re.__)("Default","coblocks")},{value:"uppercase",label:Object(re.__)("Uppercase","coblocks")},{value:"lowercase",label:Object(re.__)("Lowercase","coblocks")},{value:"capitalize",label:Object(re.__)("Capitalize","coblocks")},{value:"initial",label:Object(re.__)("Normal","coblocks")}];void 0!==Ve[s]&&void 0!==Ve[s].weight&&Ve[s].weight.forEach((function(e){f.push({value:e,label:e})}));return Object(ae.createElement)(ie.Toolbar,null,Object(ae.createElement)(ie.Dropdown,{className:Fe()("components-dropdown-menu","components-coblocks-typography-dropdown"),contentClassName:"components-dropdown-menu__popover components-coblocks-typography-dropdown",renderToggle:function(e){var t=e.isOpen,o=e.onToggle;return Object(ae.createElement)(ie.IconButton,{className:"components-dropdown-menu__toggle",icon:r,onClick:o,onKeyDown:function(e){t||e.keyCode!==qe.DOWN||(e.preventDefault(),e.stopPropagation(),o())},"aria-haspopup":"true","aria-expanded":t,label:i,tooltip:i},Object(ae.createElement)("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:"components-coblocks-typography-dropdown__inner"},Object(ae.createElement)(Ue,{label:Object(re.__)("Font","coblocks"),value:s,onChange:function(e){return n({fontFamily:t=e}),void(void 0!==Ve[t]&&void 0!==Ve[t].weight&&m&&Object.values(Ve[s].weight).indexOf(m)<0&&n({fontWeight:void 0}));var t},className:"components-base-control--with-flex components-coblocks-typography-dropdown__inner--font"}),void 0===o.textPanelFontWeight||void 0!==o.textPanelFontWeight&&void 0===o.textPanelFontWeight?Object(ae.createElement)(ie.SelectControl,{label:Object(re.__)("Weight","coblocks"),value:m,options:f,onChange:function(e){return n({fontWeight:e})},className:"components-base-control--with-flex components-coblocks-typography-dropdown__inner--weight"}):null,void 0===o.textPanelTextTransform||void 0!==o.textPanelTextTransform&&void 0===o.textPanelTextTransform?Object(ae.createElement)(ie.SelectControl,{label:Object(re.__)("Transform","coblocks"),value:h,options:g,onChange:function(e){return n({textTransform:e})},className:"components-base-control--with-flex components-coblocks-typography-dropdown__inner--transform"}):null,void 0===o.textPanelHideSize||void 0!==o.textPanelHideSize&&void 0===o.textPanelHideSize?Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Size","coblocks"),value:parseFloat(l)||void 0,onChange:function(e){return n({customFontSize:e})},min:1,max:100,step:1,className:"components-coblocks-typography-dropdown__inner--size"}):null,void 0===o.textPanelLineHeight||void 0!==o.textPanelLineHeight&&void 0===o.textPanelLineHeight?Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Line height","coblocks"),value:parseFloat(u)||void 0,onChange:function(e){return n({lineHeight:e})},min:1,max:3,step:.01,className:"components-coblocks-typography-dropdown__inner--line-height"}):null,void 0===o.textPanelLetterSpacing||void 0!==o.textPanelLetterSpacing&&void 0===o.textPanelLetterSpacing?Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Letter spacing","coblocks"),value:parseFloat(b)||void 0,onChange:function(e){return n({letterSpacing:e})},min:-1,max:3,n:!0,step:.1,className:"components-coblocks-typography-dropdown__inner--letter-spacing"}):null,void 0!==o.textPanelShowSpacingControls&&o.textPanelShowSpacingControls&&Object(ae.createElement)("div",{className:"components-coblocks-typography-dropdown__footer"},Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("No top spacing","coblocks"),checked:!!p,onChange:function(){return n({noTopSpacing:!p})}}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("No bottom spacing","coblocks"),checked:!!d,onChange:function(){return n({noBottomSpacing:!d})}}))))}}))}}]),n}(ae.Component),$e=Object(Ye.withSelect)((function(){return{typographyEnabled:(0,Object(Ye.select)("coblocks-settings").getTypography)()}})),Qe=Object(Ce.compose)([Je,$e])(Ze);function et(){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}}var tt=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(et()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes;if(!coblocksBlockData.typographyControlsEnabled)return null;var n=!1,c=["core/paragraph","core/heading","core/cover","core/button","core/list","coblocks/row","coblocks/column","coblocks/accordion","coblocks/accordion-item","coblocks/click-to-tweet","coblocks/alert","coblocks/pricing-table","coblocks/highlight","coblocks/features"];return o.textPanelHideColor=!0,o.textPanelShowSpacingControls=!0,c.includes(t)?o.textPanelHeadingFontSizes=!0:o.textPanelHideSize=!0,c.includes(t)||(o.textPanelLineHeight=!0,o.textPanelLetterSpacing=!0),["coblocks/row","coblocks/column"].includes(t)&&(o.textPanelShowSpacingControls=!1),["coblocks/row"].includes(t)&&(o.layout||(n=!0)),n?null:Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(Qe,this.props))}}]),n}(ae.Component);var ot=function(e,t){var o=e.fontFamily,n=e.lineHeight,c=e.letterSpacing,r={lineHeight:n||null,fontFamily:o||null,fontWeight:e.fontWeight||null,textTransform:e.textTransform||null,letterSpacing:c||null};return void 0!==e.customFontSize&&(r.fontSize=e.customFontSize+"px"),void 0!==e.customTextColor&&(r.color=e.customTextColor),"coblocks/column"===t&&void 0!==e.width&&(r.width=e.width+"%"),r};function nt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ct(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):nt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var rt=["core/paragraph","core/heading","core/pullquote","core/cover","core/quote","core/button","core/list","coblocks/row","coblocks/column","coblocks/accordion","coblocks/accordion-item","coblocks/click-to-tweet","coblocks/alert","coblocks/highlight","coblocks/pricing-table","coblocks/features"];var at=Object(Ce.createHigherOrderComponent)((function(e){return function(t){return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(e,t),t.isSelected&&rt.includes(t.name)&&Object(ae.createElement)(tt,ct({},t)))}}),"withControls"),it=Object(Ce.compose)(Object(Ye.withSelect)((function(e){return{selected:e("core/block-editor").getSelectedBlock(),select:e}}))),lt=Object(Ce.createHigherOrderComponent)((function(e){return it((function(t){var o=t.select,n=De()(t,["select"]),c=n.wrapperProps,r={},a=o("core/block-editor").getBlock(n.clientId).attributes,i=o("core/block-editor").getBlockName(n.clientId);if(rt.includes(i)){var l=a.customFontSize,s=a.fontFamily,u=a.lineHeight,b=a.fontWeight,d=a.letterSpacing,p=a.textTransform,m=a.customTextColor;l&&(r=Object.assign(r,{"data-custom-fontsize":1})),u&&(r=Object.assign(r,{"data-custom-lineheight":1})),s&&(r=Object.assign(r,{"data-coblocks-font":1})),b&&(r=Object.assign(r,{"data-custom-fontweight":1})),p&&(r=Object.assign(r,{"data-custom-texttransform":1})),m&&(r=Object.assign(r,{"data-custom-textcolor":1})),d&&(r=Object.assign(r,{"data-custom-letterspacing":1})),c=ct({},c,{style:ot(a,i)},r)}return Object(ae.createElement)(e,Ie()({},n,{wrapperProps:c}))}))}),"withFontSettings");Object(Te.addFilter)("blocks.registerBlockType","coblocks/inspector/attributes",(function(e){return rt.includes(e.name)&&(e.attributes=Object.assign(e.attributes,Ge)),e})),Object(Te.addFilter)("editor.BlockEdit","coblocks/typography",at),Object(Te.addFilter)("editor.BlockListBlock","coblocks/withFontSettings",lt),Object(Te.addFilter)("blocks.getSaveContent.extraProps","coblocks/applyFontSettings",(function(e,t,o){if(rt.includes(t.name)){void 0!==e.style?e.style=Object.assign(e.style,ot(o,t.name)):e.style=ot(o,t.name);var n=o.fontFamily,c=o.lineHeight,r=o.fontWeight,a=o.letterSpacing,i=o.textTransform,l=o.noBottomSpacing,s=o.noTopSpacing;n&&(e.className=Fe()(e.className,"has-custom-font")),r&&(e.className=Fe()(e.className,"has-custom-weight")),i&&(e.className=Fe()(e.className,"has-custom-transform")),c&&(e.className=Fe()(e.className,"has-custom-lineheight")),a&&(e.className=Fe()(e.className,"has-custom-letterspacing")),void 0!==l&&l&&(e.className=Fe()(e.className,"mb-0 pb-0")),void 0!==s&&s&&(e.className=Fe()(e.className,"mt-0 pt-0"))}return e}));var st=["coblocks/row","coblocks/column","coblocks/features","coblocks/feature","coblocks/media-card","coblocks/shape-divider","coblocks/hero"];var ut=Object(Ce.createHigherOrderComponent)((function(e){return function(t){var o=t.name;if(st.includes(o)&&(t.attributes.coblocks=t.attributes.coblocks||{},void 0===t.attributes.coblocks.id)){var n=new Date;t.attributes.coblocks=Object.assign({},t.attributes.coblocks,{id:""+n.getMonth()+n.getDate()+n.getHours()+n.getMinutes()+n.getSeconds()+n.getMilliseconds()})}return Object(ae.createElement)(e,t)}}),"withAttributes");function bt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}Object(Te.addFilter)("blocks.registerBlockType","coblocks/custom/attributes",(function(e){return st.includes(e.name)&&void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{coblocks:{type:"object"}})),e})),Object(Te.addFilter)("editor.BlockEdit","coblocks/attributes",ut);var dt=["core/image","core/gallery","core/spacer","core/cover","core/group"];var pt=Object(Ce.createHigherOrderComponent)((function(e){return function(t){var o=t.name,n=t.clientId,c=t.attributes,r=t.setAttributes,a=t.isSelected,i=c.isStackedOnMobile,l=c.noBottomMargin,s=c.noTopMargin,u=Object(oe.hasBlockSupport)(o,"stackedOnMobile"),b=Object(oe.hasBlockSupport)(o,"coBlocksSpacing");return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(e,t),a&&Object(ae.createElement)(xe.InspectorAdvancedControls,null,u&&Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Stack on mobile","coblocks"),checked:!!i,onChange:function(){return r({isStackedOnMobile:!i})},help:i?Object(re.__)("Responsiveness is enabled.","coblocks"):Object(re.__)("Toggle to stack elements on top of each other on smaller viewports.","coblocks")}),b&&Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Remove top spacing","coblocks"),checked:!!s,onChange:function(){return r({noTopMargin:!s,marginTop:0,marginTopTablet:0,marginTopMobile:0})},help:s?Object(re.__)("Toggle to add top margin back.","coblocks"):Object(re.__)("Toggle to remove any top margin.","coblocks")}),b&&Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Remove bottom spacing","coblocks"),checked:!!l,onChange:function(){r({noBottomMargin:!l,marginBottom:0,marginBottomTablet:0,marginBottomMobile:0});var e=wp.data.select("core/editor").getNextBlockClientId(n);e&&!l&&wp.data.dispatch("core/block-editor").updateBlockAttributes(e,{noTopMargin:!s,marginTop:0,marginTopTablet:0,marginTopMobile:0})},help:l?Object(re.__)("Toggle to add bottom margin back.","coblocks"):Object(re.__)("Toggle to remove any bottom margin.","coblocks")})))}}),"withAdvancedControls");var mt=Object(Ce.compose)(Object(Ye.withSelect)((function(e){return{selected:e("core/block-editor").getSelectedBlock(),select:e}}))),ht=Object(Ce.createHigherOrderComponent)((function(e){return mt((function(t){var o=t.select,n=De()(t,["select"]),c=n.wrapperProps,r={},a=o("core/block-editor").getBlock(n.clientId).attributes,i=o("core/block-editor").getBlockName(n.clientId),l=Object(oe.hasBlockSupport)(i,"coBlocksSpacing"),s=Object(oe.hasBlockSupport)(i,"align");if(["core/image"].includes(i)&&(s=!0),l){var u=a.noBottomMargin,b=a.noTopMargin;void 0!==b&&b&&(r=Object.assign(r,{"data-coblocks-top-spacing":1})),void 0!==u&&u&&(r=Object.assign(r,{"data-coblocks-bottom-spacing":1}))}return s&&(r=Object.assign(r,{"data-coblocks-align-support":1})),(l||s)&&(c=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):bt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},c,{},r)),Object(ae.createElement)(e,Ie()({},n,{wrapperProps:c}))}))}),"addEditorBlockAttributes");function ft(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}Object(Te.addFilter)("blocks.registerBlockType","coblocks/AdvancedControls/attributes",(function(e){return Object(oe.hasBlockSupport)(e,"stackedOnMobile")&&void 0!==e.attributes&&(e.attributes.isStackedOnMobile||(e.attributes=Object.assign(e.attributes,{isStackedOnMobile:{type:"boolean",default:!0}}))),dt.includes(e.name)&&(e.supports||(e.supports={}),e.supports=Object.assign(e.supports,{coBlocksSpacing:!0})),Object(oe.hasBlockSupport)(e,"coBlocksSpacing")&&void 0!==e.attributes&&(e.attributes.noBottomMargin||(e.attributes=Object.assign(e.attributes,{noBottomMargin:{type:"boolean",default:!1}})),e.attributes.noTopMargin||(e.attributes=Object.assign(e.attributes,{noTopMargin:{type:"boolean",default:!1}}))),e})),Object(Te.addFilter)("editor.BlockEdit","coblocks/advanced",pt),Object(Te.addFilter)("blocks.getSaveContent.extraProps","coblocks/applySpacingClass",(function(e,t,o){if(Object(oe.hasBlockSupport)(t.name,"coBlocksSpacing")){var n=o.noBottomMargin,c=o.noTopMargin;void 0!==n&&n&&(e.className=Fe()(e.className,"mb-0")),void 0!==c&&c&&(e.className=Fe()(e.className,"mt-0"))}return e})),Object(Te.addFilter)("editor.BlockListBlock","coblocks/addEditorBlockAttributes",ht),Object(oe.registerBlockStyle)("core/list",{name:"default",label:Object(re.__)("Default","coblocks"),isDefault:!0}),Object(oe.registerBlockStyle)("core/list",{name:"none",label:Object(re.__)("None","coblocks"),isDefault:!1}),Object(oe.registerBlockStyle)("core/list",{name:"checkbox",label:Object(re.__)("Checkbox","coblocks"),isDefault:!1}),Object(oe.registerBlockStyle)("core/button",{name:"circular",label:Object(re.__)("Circular","coblocks"),isDefault:!1}),Object(oe.registerBlockStyle)("core/button",{name:"3d",label:Object(re.__)("3D","coblocks"),isDefault:!1}),Object(oe.registerBlockStyle)("core/button",{name:"shadow",label:Object(re.__)("Shadow","coblocks"),isDefault:!1});var gt=["core/button"];var vt=Object(Ce.createHigherOrderComponent)((function(e){return function(t){var o=t.name,n=t.attributes,c=t.setAttributes,r=n.isFullwidth,a=gt.includes(o);return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(e,t),a&&Object(ae.createElement)(xe.InspectorAdvancedControls,null,Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Display fullwidth","coblocks"),checked:!!r,onChange:function(){return c({isFullwidth:!r})},help:r?Object(re.__)("Displaying as full width.","coblocks"):Object(re.__)("Toggle to display button as full width.","coblocks")})))}}),"withAdvancedControls");var yt=Object(Ce.compose)(Object(Ye.withSelect)((function(e){return{selected:e("core/block-editor").getSelectedBlock(),select:e}}))),Ot=Object(Ce.createHigherOrderComponent)((function(e){return yt((function(t){var o=t.select,n=De()(t,["select"]),c=n.wrapperProps,r={},a=o("core/block-editor").getBlock(n.clientId).attributes,i=o("core/block-editor").getBlockName(n.clientId),l=gt.includes(i);if(l){var s=a.isFullwidth;void 0!==s&&s&&(r=Object.assign(r,{"data-coblocks-button-fullwidth":1}))}return l&&(c=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ft(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ft(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},c,{},r)),Object(ae.createElement)(e,Ie()({},n,{wrapperProps:c}))}))}),"addEditorBlockAttributes");Object(Te.addFilter)("blocks.registerBlockType","coblocks/AdvancedButtonControls/attributes",(function(e){return gt.includes(e.name)&&(e.attributes=Object.assign(e.attributes,{isFullwidth:{type:"boolean",default:!1}})),e})),Object(Te.addFilter)("editor.BlockEdit","coblocks/advancedButtonControls",vt),Object(Te.addFilter)("blocks.getSaveContent.extraProps","coblocks/applyButtonControls",(function(e,t,o){if(gt.includes(t.name)){var n=o.isFullwidth;void 0!==n&&n&&(e.className=Fe()(e.className,"w-100"))}return e})),Object(Te.addFilter)("editor.BlockListBlock","coblocks/addEditorButtonControls",Ot),Object(oe.registerBlockStyle)("core/image",{name:"default",label:Object(re.__)("Default","coblocks"),isDefault:!0}),Object(oe.registerBlockStyle)("core/image",{name:"bottom-wave",label:Object(re.__)("Bottom Wave","coblocks"),isDefault:!1}),Object(oe.registerBlockStyle)("core/image",{name:"top-wave",label:Object(re.__)("Top Wave","coblocks"),isDefault:!1}),Object(oe.registerBlockStyle)("core/cover",{name:"default",label:Object(re.__)("Default","coblocks"),isDefault:!0}),Object(oe.registerBlockStyle)("core/cover",{name:"bottom-wave",label:Object(re.__)("Bottom Wave","coblocks"),isDefault:!1}),Object(oe.registerBlockStyle)("core/cover",{name:"top-wave",label:Object(re.__)("Top Wave","coblocks"),isDefault:!1});var kt=o(18),_t=o(267),jt=o.n(_t),wt=o(43),Et=o.n(wt),Ct=o(268),xt=o.n(Ct),St=o(20);var Pt=function(e,t){var o=jt()(e,["alt","id","link","caption","imgLink"]);o.url=Et()(e,["sizes","large","url"])||Et()(e,["media_details","sizes","large","source_url"])||e.url;var n=xt()(t,(function(e){return e.url===o.url}));return o.imgLink=n>=0?t[n].imgLink:"",o},zt=["image"],Tt=void 0;function Rt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Bt=["core/image"],Nt=Object(Ce.createHigherOrderComponent)((function(e){return function(t){if(t.name.includes(Bt)&&t.attributes.url){var o=t.setAttributes,n=t.attributes;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(e,t),Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)("div",{className:"components-coblocks-replace-image"},Object(ae.createElement)(xe.MediaUploadCheck,null,Object(ae.createElement)(xe.MediaUpload,{allowedTypes:["image"],onSelect:function(e){if(e&&e.url){var t,c=n.id,r=n.url,a=n.alt,i=n.caption,l=n.linkDestination,s=Pt(e);(function(e,t){return!e&&Object(St.isBlobURL)(t)})(c,r)&&a&&(s=Object(kt.omit)(s,["alt"])),i&&!Object(kt.get)(s,["caption"])&&(s=Object(kt.omit)(s,["caption"])),t=e.id&&e.id===c?{url:r}:{width:void 0,height:void 0,sizeSlug:"large"},"media"===l&&(s.href=e.url),"attachment"===l&&(s.href=e.link),o(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Rt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},s,{},t))}else Tt.props.setAttributes({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0})},value:t.url,render:function(e){var t=e.open;return Object(ae.createElement)(ie.Button,{isSmall:!0,isSecondary:!0,onClick:t},Object(re.__)("Replace Image","coblocks"))}})))))}return Object(ae.createElement)(e,t)}}),"withReplaceImage");Object(Te.addFilter)("editor.BlockEdit","coblocks/components-coblocks-replace-image",Nt);o(349),o(350);var At=o(269),It=o(150),Mt=function(e){var t=e.title,o=e.children;return Object(ae.createElement)("section",{className:"edit-post-options-modal__section"},Object(ae.createElement)("h2",{className:"edit-post-options-modal__section-title"},t),o)};function Dt(){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}}var Lt=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Dt()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"processGradientPresets",value:function(e){var t=(0,this.props.getSettings)().gradients;if(e)localStorage.setItem("gradientsPresets",JSON.stringify(t)),t=[];else{var o=localStorage.getItem("gradientsPresets");o&&(t=JSON.parse(o))}return t}},{key:"processColorPresets",value:function(e){var t=(0,this.props.getSettings)().colors;if(e)localStorage.setItem("colorPresets",JSON.stringify(t)),t=[];else{var o=localStorage.getItem("colorPresets");o&&(t=JSON.parse(o))}return t}},{key:"updateColorPanel",value:function(e){var t=this.props,o=t.updateSettings,n=t.setColorPanel,c=t.setCustomColors,r=t.setGradients;o(void 0!==(0,t.getSettings)().gradients?{colors:this.processColorPresets(e),disableCustomColors:e,disableCustomGradients:e,gradients:this.processGradientPresets(e)}:{colors:this.processColorPresets(e),disableCustomColors:e}),c(),r(),n()}},{key:"updateCustomColorsSetting",value:function(e){var t=this.props,o=t.updateSettings,n=t.setCustomColors;o({disableCustomColors:e}),n()}},{key:"updateGradientsControlsSetting",value:function(e){var t=this.props,o=t.setGradients;(0,t.updateSettings)({disableCustomGradients:e,gradients:this.processGradientPresets(e)}),o()}},{key:"updateTypographyControlsSetting",value:function(){(0,this.props.setTypography)()}},{key:"render",value:function(){var e=this,t=this.props,o=t.isOpen,n=t.closeModal,c=t.typography,r=t.customColors,a=t.gradientControls,i=t.getSettings,l=t.colorPanel,s=void 0!==i().gradients,u=!!l;return o?Object(ae.createElement)(ie.Modal,{title:Object(Te.applyFilters)("coblocks-settings-title",Object(re.__)("Editor settings","coblocks")),onRequestClose:n},Object(ae.createElement)("div",{className:"coblocks-modal__content"},Object(ae.createElement)(Mt,{title:Object(re.__)("General")},Object(ae.createElement)(ie.HorizontalRule,null),Object(ae.createElement)(ie.CheckboxControl,{label:Object(re.__)("Typography controls","coblocks"),help:Object(re.__)("Allow block-level typography controls.","coblocks"),onChange:function(){return e.updateTypographyControlsSetting()},checked:!!c}),Object(ae.createElement)(ie.HorizontalRule,null),Object(ae.createElement)(ie.CheckboxControl,{label:Object(re.__)("Color settings","coblocks"),help:Object(re.__)("Allow color settings throughout the editor.","coblocks"),onChange:function(){return e.updateColorPanel(!!l)},checked:!!l}),u&&Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.HorizontalRule,null),Object(ae.createElement)(ie.CheckboxControl,{label:Object(re.__)("Custom color pickers","coblocks"),help:Object(re.__)("Allow styling with custom colors.","coblocks"),onChange:function(){return e.updateCustomColorsSetting(!!r)},checked:!!r})),Object(ae.createElement)(ie.HorizontalRule,null),u&&s&&Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.CheckboxControl,{label:Object(re.__)("Gradient styles","coblocks"),help:Object(re.__)("Allow styling with gradient fills.","coblocks"),onChange:function(){return e.updateGradientsControlsSetting(!!a)},checked:!!a}),Object(ae.createElement)(ie.HorizontalRule,null))))):null}}]),n}(ae.Component),Ft=Object(Ye.withSelect)((function(){var e=Object(Ye.select)("coblocks-settings"),t=e.getTypography,o=e.getCustomColors,n=e.getGradients,c=e.getColorPanel,r=Object(Ye.select)("core/block-editor").getSettings;return{typography:t(),customColors:o(),gradientControls:n(),colorPanel:c(),getSettings:r}})),Vt=Object(Ye.withDispatch)((function(e){var t=e("coblocks-settings"),o=t.setTypography,n=t.setCustomColors,c=t.setGradients;return{setColorPanel:t.setColorPanel,setCustomColors:n,setTypography:o,setGradients:c,updateSettings:e("core/block-editor").updateSettings}})),Gt=Object(Ce.compose)([Ft,Vt])(Lt),Ut=o(27),Ht=o.n(Ut);if("undefined"!=typeof coblocksSettings&&coblocksSettings.coblocksSettingsEnabled){Object(It.registerPlugin)("coblocks-settings",{icon:"",render:function(){var e=Object(ae.useState)(!1),t=be()(e,2),o=t[0],n=t[1],c=function(){return n(!0)},r={isOpen:o,openModal:c,closeModal:function(){return n(!1)}};return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(At.PluginMoreMenuItem,{onClick:c},Object(Te.applyFilters)("coblocks-settings-title",Object(re.__)("Editor settings","coblocks"))),Object(ae.createElement)(Gt,r))}}),Object(Ye.registerGenericStore)("coblocks-settings",function(){var e=coblocksSettings.coblocksSettingsNonce;Ht.a.use(Ht.a.createNonceMiddleware(e));var t=function(){},o={customColors:!0,colorsPanel:!0,gradients:!0,typography:!0};Ht()({path:"/wp/v2/settings/",method:"GET",headers:{"X-WP-Nonce":e}}).then((function(e){o.customColors=e.coblocks_custom_colors_controls_enabled||!1,o.gradients=e.coblocks_gradient_presets_enabled||!1,o.typography=e.coblocks_typography_controls_enabled||!1,o.colorsPanel=e.coblocks_color_panel_controls_enabled||!1,t()}));var n={getCustomColors:function(){return o.customColors},getGradients:function(){return o.gradients},getTypography:function(){return o.typography},getColorPanel:function(){return o.colorsPanel}},c={setCustomColors:function(){var n=!o.customColors;o.customColors=n,t(),Ht()({path:"/wp/v2/settings/",method:"POST",headers:{"X-WP-Nonce":e},data:{coblocks_custom_colors_controls_enabled:n}})},setColorPanel:function(){var n=!o.colorsPanel;o.colorsPanel=n,Ht()({path:"/wp/v2/settings/",method:"POST",headers:{"X-WP-Nonce":e},data:{coblocks_color_panel_controls_enabled:n,coblocks_gradient_presets_enabled:n,coblocks_custom_colors_controls_enabled:n}}),o.gradients=n,o.customColors=n,t()},setGradients:function(){var n=!o.gradients;o.gradients=n,t(),Ht()({path:"/wp/v2/settings/",method:"POST",headers:{"X-WP-Nonce":e},data:{coblocks_gradient_presets_enabled:n}})},setTypography:function(){var n=!o.typography;o.typography=n,t(),Ht()({path:"/wp/v2/settings/",method:"POST",headers:{"X-WP-Nonce":e},data:{coblocks_typography_controls_enabled:n}})}};return{getSelectors:function(){return n},getActions:function(){return c},subscribe:function(e){t=e}}}())}else Object(It.getPlugin)("coblocks-settings")&&Object(It.unregisterPlugin)("coblocks-settings");o(351);var Wt={};Wt.uppercase=Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m0 0v2.5h4.16666667v10.5h2.5v-10.5h4.16666663v-2.5zm16 4.5h-7.5v2.5h2.5v6h2.5v-6h2.5z",transform:"translate(2 3)"}));var qt=Wt,Yt=o(41),Kt="coblocks/uppercase",Xt={title:Object(re.__)("Uppercase","coblocks"),tagName:"span",className:"uppercase",edit:function(e){var t=e.isActive,o=e.value,n=e.onChange,c=function(){return n(Object(Yt.toggleFormat)(o,{type:Kt}))};return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.RichTextShortcut,{type:"access",character:"u",onUse:c}),Object(ae.createElement)(xe.RichTextToolbarButton,{icon:qt.uppercase,title:Object(re.__)("Uppercase","coblocks"),onClick:c,isActive:t,shortcutType:"access",shortcutCharacter:"u"}))}};[n].forEach((function(e){var t=e.name,o=e.settings;Object(Yt.registerFormatType)(t,o)}));var Jt=o(193);function Zt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function $t(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Zt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Qt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object(oe.getBlockType)("core/buttons"),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(oe.getBlockType)("coblocks/buttons");return!!e&&!!t}o.n(Jt)()((function(){var e=Object(oe.getBlockType)("core/buttons"),t=Object(oe.getBlockType)("coblocks/buttons");Qt(e,t)&&(Object(oe.unregisterBlockType)("coblocks/buttons"),Object(oe.registerBlockType)("coblocks/buttons",$t({},t,{supports:$t({},t.supports,{inserter:!1})})))}));var eo=o(66),to=o.n(eo),oo=o(77),no=o.n(oo);function co(){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}}var ro=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(co()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.polyfill;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Accordion settings","coblocks")},Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Internet Explorer support","coblocks"),checked:!!n,help:n?Object(re.__)("Supporting Internet Explorer by loading a JavaScript polyfill on this page.","coblocks"):Object(re.__)("Add support for Internet Explorer by loading a JavaScript polyfill.","coblocks"),onChange:function(){o({polyfill:!n}),wp.data.dispatch("core/editor").editPost({meta:{_coblocks_accordion_ie_support:"'"+!n+"'"}})}}))))}}]),n}(ae.Component);function ao(){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}}var io=["coblocks/accordion-item"],lo=no()((function(e){return to()(e,(function(){return["coblocks/accordion-item"]}))})),so=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(ao()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this,t=this.props,o=t.clientId,n=t.attributes,c=t.className,r=t.isSelected,a=n.count,i=this.props.getBlocksByClientId(o);return Object(ae.createElement)(ae.Fragment,null,r&&Object(ae.createElement)(ro,this.props),Object(ae.createElement)("div",{className:c},Object(ae.createElement)(xe.InnerBlocks,{template:lo(a),allowedBlocks:io}),r&&Object(ae.createElement)("div",{className:"components-coblocks-add-accordion-item"},Object(ae.createElement)(ie.IconButton,{isLarge:!0,className:"block-editor-button-block-appender components-coblocks-add-accordion-item__button",label:Object(re.__)("Add accordion item","coblocks"),icon:"insert",onClick:function(){if(i[0].innerBlocks){var t=i[0].innerBlocks[i[0].innerBlocks.length-1].clientId,n={};if(t){var c=e.props.getBlockAttributes(t);c.backgroundColor&&(n=Object.assign(n,{backgroundColor:c.backgroundColor})),c.borderColor&&(n=Object.assign(n,{borderColor:c.borderColor})),c.textColor&&(n=Object.assign(n,{textColor:c.textColor})),c.customTextColor&&(n=Object.assign(n,{customTextColor:c.customTextColor}))}var r=Object(oe.createBlock)("coblocks/accordion-item",n);e.props.insertBlock(r,void 0,o)}}}))))}}]),n}(ae.Component),uo=Object(Ce.compose)([Object(Ye.withSelect)((function(e,t){var o=e("core/block-editor"),n=o.getBlockAttributes,c=o.getBlocksByClientId,r=o.getBlockHierarchyRootClientId,a=o.getSelectedBlockClientId,i=r(t.clientId),l=r(a());return{getBlockAttributes:n,getBlocksByClientId:c,isSelected:t.isSelected||i===l}})),Object(Ye.withDispatch)((function(e){return{insertBlock:e("core/block-editor").insertBlock}}))])(so),bo=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 12h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v2c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-2c0-1.1-.8625-2-1.9166667-2zm0 4h-14.16666663v-2h14.16666663zm0-16h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v6c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-6c0-1.1-.8625-2-1.9166667-2zm0 8h-14.16666663v-4h14.16666663z",transform:"translate(3 3)"})),po=o(78),mo={from:[{type:"prefix",prefix:":accordion",transform:function(e){return Object(oe.createBlock)(po.name,{content:e})}}].concat(ce()([2,3,4,5].map((function(e){return{type:"prefix",prefix:Array(e+1).join(":")+"accordion",transform:function(t){return Object(oe.createBlock)(po.name,{content:t,count:e})}}}))))},ho=po.name,fo=po.category,go=po.attributes,vo={title:Object(re.__)("Accordion","coblocks"),description:Object(re.__)("Organize content within collapsable accordion items.","coblocks"),icon:bo,keywords:["coblocks",Object(re.__)("tabs","coblocks"),Object(re.__)("faq","coblocks")],supports:{align:["wide","full"],html:!1},attributes:go,transforms:mo,edit:uo,save:function(){return Object(ae.createElement)("div",null,Object(ae.createElement)(xe.InnerBlocks.Content,null))}},yo=Object(xe.withColors)("backgroundColor",{textColor:"color"});function Oo(){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}}var ko=window.getComputedStyle,_o=Object(ie.withFallbackStyles)((function(e,t){var o=t.attributes,n=o.backgroundColor,c=o.textColor,r=e.querySelector('[contenteditable="true"]'),a=r?ko(r):null;return{fallbackBackgroundColor:n||!a?void 0:a.backgroundColor,fallbackTextColor:c||!a?void 0:a.color}})),jo=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Oo()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"getDisplayOpenHelp",value:function(e){return e?Object(re.__)("Accordion item is open by default.","coblocks"):Object(re.__)("Toggle to set this accordion item to be open by default.","coblocks")}},{key:"setBorderColor",value:function(){return this.props.setAttributes({borderColor:this.props.backgroundColor.color}),this.props.setBackgroundColor}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=e.backgroundColor,c=e.textColor,r=e.fallbackBackgroundColor,a=e.fallbackTextColor,i=e.setTextColor,l=t.open;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Accordion Item settings","coblocks")},Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Display as open","coblocks"),checked:!!l,help:this.getDisplayOpenHelp,onChange:function(){return o({open:!l})}})),Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:n.color,onChange:this.setBorderColor(),label:Object(re.__)("Background color","coblocks")},{value:c.color,onChange:i,label:Object(re.__)("Text color","coblocks")}]},Object(ae.createElement)(xe.ContrastChecker,{textColor:c.color,backgroundColor:n.color,fallbackTextColor:a,fallbackBackgroundColor:r}))))}}]),n}(ae.Component),wo=Object(Ce.compose)([yo,_o])(jo),Eo={};Eo.actionGrid=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,role:"img",focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m16 0h-14c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-12c0-1.1-.9-2-2-2zm0 14h-14v-12h14z",fillRule:"nonzero",transform:"translate(3 4)"}),Object(ae.createElement)(ie.Path,{d:"m11 6h2v12h-2z"}))),Eo.blank=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,role:"img",focusable:"false",className:"dashicon",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"}),Eo.cta=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,role:"img",focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16 0h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2zm0 16h-14v-14h14z"}),Object(ae.createElement)(ie.Path,{d:"m4 11h10v3h-10z"}))),Eo.edit=Object(ae.createElement)(ie.SVG,{className:"dashicon","aria-hidden":!0,role:"img",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10.330727 5.86705523.8149993.81499936-8.02597188 8.02597191h-.81499935v-.8149994zm3.1891279-5.33293055c.2303259 0 .4517931.07972819.6289669.25690197l2.0729331 2.07293314c.3454889.34548885.3454889.90358624 0 1.24907509l-1.62114 1.62114002-3.3220083-3.32200823 1.6211401-1.62114002c.1683151-.16831509.398641-.25690197.6201082-.25690197zm-3.1891279 2.82592167 3.3220082 3.32200824-9.79770962 9.79770961h-3.32200824v-3.3220082z",transform:"translate(1.5 1.5)"})),Eo.imageBox=Object(ae.createElement)(ie.SVG,{className:"dashicon","aria-hidden":!0,role:"img",focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9 0h7c1.1 0 2 .9 2 2v14c0 1.1-.9 2-2 2h-7-7c-1.1 0-2-.9-2-2v-14c0-1.1.9-2 2-2zm-6 5v8h12v-8z",transform:"matrix(-1 0 0 -1 21 21)"})),Eo.twitter=Object(ae.createElement)(ie.SVG,{className:"dashicon","aria-hidden":!0,role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m19.2492707 2.06443084c-.71118.31259774-1.4705755.52554993-2.2701507.62278471.8148435-.49099543 1.4416461-1.26485565 1.738172-2.18818419-.7642171.4459942-1.6112043.77064584-2.5128358.9514543-.7200195-.77064584-1.746208-1.25280174-2.8857031-1.25280174-2.1833626 0-3.95367835 1.77031574-3.95367835 3.95126759 0 .31340134.03616169.61474877.10205633.90323872-3.28669604-.15509348-6.19972127-1.73335046-8.14923829-4.11921856-.34313428.58019426-.53519305 1.25440893-.53519305 1.98889308 0 1.37414431.69912606 2.58194484 1.75826185 3.29151761-.64849969-.02089343-1.2584269-.19929111-1.79040557-.49501339v.04901918c0 1.9165697 1.36048323 3.5149165 3.17097863 3.87894421-.33188398.08919884-.6822506.13741443-1.04145674.13741443-.25232826 0-.4942098-.0241078-.73609134-.06910901.50706728 1.56941742 1.96478529 2.71373412 3.69974293 2.74587782-1.35003652 1.0599394-3.06088637 1.6915636-4.9035255 1.6915636-.31340133 0-.62599907-.0184826-.940204-.0538407 1.75906544 1.1202089 3.83153221 1.7751373 6.07275355 1.7751373 7.27573255 0 11.24950075-6.02373437 11.24950075-11.23905401 0-.16795098 0-.33750913-.0120539-.5062637.772253-.55367569 1.4464677-1.25360534 1.9768392-2.04755538z",transform:"translate(2.272705 3.808594)"})),Eo.imageFeature=Object(ae.createElement)(ie.SVG,{className:"dashicon","aria-hidden":!0,role:"img",focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16 0h-14c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm0 11h-14v-9h14z"}),Object(ae.createElement)(ie.Path,{d:"m11.0123408 4.57263738-2.58497818 3.32757191-1.84238445-2.21838127-2.58497817 3.31817198h10.3399127z"}),Object(ae.createElement)(ie.Path,{d:"m4 16.0011541h10v2h-10z"})),"s"),Eo.imagePanel=Object(ae.createElement)(ie.SVG,{className:"dashicon","aria-hidden":!0,role:"img",focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{transform:"matrix(-1 0 0 -1 21 21)"},Object(ae.createElement)(ie.Path,{d:"m9 0h-7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h7z"}),Object(ae.createElement)(ie.Path,{d:"m20.0084135 13.0084135v.983173h-14.00000004v-.983173h-2v-7.00000004c0-1.1.9-2 2-2h14.00000004c1.1 0 2 .9 2 2v7.00000004zm0 0v-7.00000004h-14.00000004v7.00000004z",transform:"matrix(0 1 -1 0 22.008413 -4.008413)"}))),Eo.open=Object(ae.createElement)(ie.SVG,{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},Object(ae.createElement)(ie.G,{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.G,{transform:"translate(7.000000, 3.000000)",fill:"currentColor",fillRule:"nonzero"},Object(ae.createElement)("polygon",{points:"0 12.4144941 2.9165 12.4144941 0 9.24610888 2.5 9.24610888 2.5 4.7525778 0 4.7525778 2.9165 1.5841926 0 1.5841926 0 6.10622664e-16 7 6.10622664e-16 7 1.5841926 4.0835 1.5841926 7 4.7525778 4.5 4.7525778 4.5 9.24610888 7 9.24610888 4.0835 12.4144941 7 12.4144941 7 13.9986867 0 13.9986867"})))),Eo.alertFilled=Object(ae.createElement)(ie.SVG,{className:"dashicon","aria-hidden":!0,role:"img",focusable:"false",height:"20",viewBox:"0 0 24 24",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{transform:"translate(3.75 1.62321)"},Object(ae.createElement)(ie.G,null,Object(ae.createElement)(ie.Path,{d:"m6.42583333 18.3425c0 1.0083333.81583334 1.8241667 1.82416667 1.8241667s1.8241667-.8158334 1.8241667-1.8241667z"}),Object(ae.createElement)(ie.Path,{d:"m8.25 4.58333333c2.53 0 4.5833333 2.05333334 4.5833333 4.58333334v6.41666663h-9.16666663v-6.41666663c0-2.53 2.05333333-4.58333334 4.58333333-4.58333334zm0-4.125c-.76083333 0-1.375.61416667-1.375 1.375v1.0725c-2.87833333.62333334-5.04166667 3.19-5.04166667 6.26083334v5.50000003l-1.83333333 1.8333333v.9166667h16.5v-.9166667l-1.8333333-1.8333333v-5.50000003c0-3.07083334-2.1633334-5.6375-5.0416667-6.26083334v-1.0725c0-.76083333-.61416667-1.375-1.375-1.375z"})),Object(ae.createElement)(ie.G,null,Object(ae.createElement)(ie.Path,{d:"m6.42583333 18.3425c0 1.0083333.81583334 1.8241667 1.82416667 1.8241667s1.8241667-.8158334 1.8241667-1.8241667z"}),Object(ae.createElement)(ie.Path,{d:"m6.875 1.83333333v1.0725c-2.87833333.62333334-5.04166667 3.19-5.04166667 6.26083334v5.50000003l-1.83333333 1.8333333v.9166667h16.5v-.9166667l-1.8333333-1.8333333v-5.50000003c0-3.07083334-2.1633334-5.6375-5.0416667-6.26083334v-1.0725c0-.76083333-.61416667-1.375-1.375-1.375s-1.375.61416667-1.375 1.375z"})))),Eo.success=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,role:"img",focusable:"false",height:"20",viewBox:"0 0 24 24",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9.82318115.82318115c-4.968 0-9 4.032-9 9 0 4.96800005 4.032 9.00000005 9 9.00000005 4.96800005 0 9.00000005-4.032 9.00000005-9.00000005 0-4.968-4.032-9-9.00000005-9zm-1.8 13.50000005-4.5-4.50000005 1.269-1.269 3.231 3.22200005 6.83100005-6.83100005 1.269 1.278z",transform:"translate(2.176819 2.176819)"})),Eo.warning=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,role:"img",focusable:"false",height:"20",viewBox:"0 0 24 24",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m.05951509 18.6722275h20.74143631l-10.3707182-17.91305856zm11.31351071-2.8283776h-1.88558513v-1.8855851h1.88558513zm0-3.7711703h-1.88558513v-3.77117019h1.88558513z",transform:"translate(1.569767 1.784302)"})),Eo.error=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,role:"img",focusable:"false",height:"20",viewBox:"0 0 24 24",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 .98937988c-4.98287292 0-9.01062012 4.0277472-9.01062012 9.01062012 0 4.9828729 4.0277472 9.0106201 9.01062012 9.0106201 4.9828729 0 9.0106201-4.0277472 9.0106201-9.0106201 0-4.98287292-4.0277472-9.01062012-9.0106201-9.01062012zm4.5053101 12.24543272-1.2704975 1.2704975-3.2348126-3.2348127-3.23481262 3.2348127-1.27049744-1.2704975 3.23481262-3.2348126-3.23481262-3.23481262 1.27049744-1.27049744 3.23481262 3.23481262 3.2348126-3.23481262 1.2704975 1.27049744-3.2348127 3.23481262z",transform:"translate(2 2)"})),Eo.info=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,role:"img",focusable:"false",height:"20",viewBox:"0 0 24 24",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9.80554199.80092367c-4.97054931 0-9.00461832 4.03406901-9.00461832 9.00461832s4.03406901 9.00461831 9.00461832 9.00461831 9.00461831-4.034069 9.00461831-9.00461831-4.034069-9.00461832-9.00461831-9.00461832zm.90046181 13.50692753h-1.80092364v-5.40277104h1.80092364zm0-7.20369471h-1.80092364v-1.80092366h1.80092364z",transform:"translate(2.194458 2.194458)"})),Eo.at=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,role:"img",focusable:"false",className:"dashicon",width:"20px",height:"20px",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"nonzero"},Object(ae.createElement)(ie.G,{transform:"translate(2.000000, 2.000000)"},Object(ae.createElement)(ie.Path,{d:"M8.02520581,0 L7.98776317,0 C5.86277332,-2.33459646e-05 3.82535953,0.846680002 2.32628237,2.35278409 C0.827205206,3.85888818 -0.00996089005,5.90023931 8.13151629e-20,8.02520581 C0.0199694079,12.4084909 3.69683664,15.9755263 8.19494578,15.9755263 L8.48699837,15.9755263 C9.03843834,15.9755263 9.48546877,15.5284959 9.48546877,14.9770559 C9.48546877,14.425616 9.03843834,13.9785856 8.48699837,13.9785856 L8.19494578,13.9785856 C4.7926579,13.9785856 2.01191785,11.3026849 1.99694079,8.01522111 C1.98963664,6.42160411 2.61758479,4.89075151 3.74187457,3.76130874 C4.86616435,2.63186597 6.39412944,1.99692405 7.98776317,1.99694079 L8.01522111,1.99694079 C11.3026849,2.01191785 13.9785856,4.7926579 13.9785856,8.19494578 L13.9785856,10.4839392 C13.9785856,11.0353791 13.5315551,11.4824096 12.9801152,11.4824096 C12.4286752,11.4824096 11.9816448,11.0353791 11.9816448,10.4839392 L11.9816448,7.98776317 C11.9878239,6.15815454 10.7537205,4.55679866 8.98291101,4.09664686 C7.21210152,3.63649505 5.35452376,4.43446543 4.46920407,6.03562594 C3.58388438,7.63678645 3.89577006,9.63430471 5.22705151,10.8893727 C6.55833296,12.1444407 8.57075026,12.3381632 10.1170013,11.3600969 C10.5524576,12.776278 11.9578409,13.6613354 13.4231625,13.4421927 C14.8884842,13.22305 15.9734432,11.9655554 15.9755263,10.4839392 L15.9755263,8.19494578 C15.9755263,3.69683664 12.4084909,0.0199694079 8.02520581,0 Z M7.98776317,9.98470397 C6.88488323,9.98470397 5.99082238,9.09064312 5.99082238,7.98776317 C5.99082238,6.88488323 6.88488323,5.99082238 7.98776317,5.99082238 C9.09064312,5.99082238 9.98470397,6.88488323 9.98470397,7.98776317 C9.98470397,9.09064312 9.09064312,9.98470397 7.98776317,9.98470397 Z"}))))),Eo.row=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,className:"dashicon",role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m16 0h-14c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm0 6h-14v-4h14zm0 4h-14c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm0 6h-14v-4h14z",transform:"translate(3 3)"})),Eo.giphy=Object(ae.createElement)(ie.SVG,{className:"wp-block-coblocks-gif__attribution",width:"202px",height:"22px",viewBox:"0 0 202 22",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)("defs",null,Object(ae.createElement)("polygon",{id:"path-1",points:"0.786 0.039 21.084 0.039 21.084 22 0.786 22"}),Object(ae.createElement)("polygon",{id:"path-3",points:"0 22 201.762 22 201.762 0.039 0 0.039"})),Object(ae.createElement)(ie.G,{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",opacity:"0.3"},Object(ae.createElement)(ie.G,{id:"Vector-Smart-Object"},Object(ae.createElement)(ie.G,{id:"Group-19",transform:"translate(0.000000, 4.961200)",fill:"currentColor"},Object(ae.createElement)(ie.Path,{d:"M1.5944,6.3768 L4.6154,6.3768 C7.2504,6.3768 7.2364,2.3888 4.6154,2.3888 L1.5944,2.3888 L1.5944,6.3768 Z M1.5944,7.8448 L1.5944,10.9068 L0.0004,10.9068 L0.0004,0.9348 C1.5234,0.9348 3.0904,0.9208 4.6154,0.9208 C9.3734,0.9208 9.3884,7.8148 4.6154,7.8448 L1.5944,7.8448 Z",id:"Fill-1"}),Object(ae.createElement)(ie.Path,{d:"M14.3328,9.6529 C16.8118,9.6529 17.8518,7.9019 17.8518,5.9919 C17.8518,4.1539 16.7978,2.2459 14.3608,2.2029 C12.0538,2.2029 10.8148,3.8129 10.8148,5.9919 C10.8428,7.7589 11.8678,9.6529 14.3328,9.6529 M19.4338,5.9639 C19.4338,8.6559 17.7948,11.1209 14.3328,11.1209 C10.8708,11.1209 9.2328,8.5999 9.2328,5.9779 C9.2328,2.9439 11.3558,0.7489 14.3608,0.7489 C17.7658,0.7649 19.4338,3.2709 19.4338,5.9639",id:"Fill-3"}),Object(ae.createElement)("polygon",{id:"Fill-5",points:"31.2887 10.9214 29.8787 10.9214 28.5537 7.4034 27.4577 4.0554 26.3607 7.4174 25.0497 10.9214 23.6537 10.9214 20.0347 0.9344 21.8157 0.9344 24.3517 8.6134 26.9297 0.9344 27.9557 0.9344 30.5907 8.6134 33.0697 0.9344 34.8507 0.9344"}),Object(ae.createElement)("polygon",{id:"Fill-7",points:"43.7296 10.9072 36.3636 10.9072 36.3636 0.9342 43.6866 0.9342 43.6866 2.4882 37.9606 2.4882 37.9606 5.1802 43.4596 5.1802 43.4596 6.6612 37.9606 6.6612 37.9606 9.3402 43.7296 9.3402"}),Object(ae.createElement)(ie.Path,{d:"M47.3777,2.3885 L47.3777,6.0055 L50.4127,6.0055 C51.7377,6.0055 52.3217,5.1665 52.3217,4.2265 C52.3217,3.3285 51.7377,2.3885 50.4267,2.3885 L47.3777,2.3885 Z M54.3867,10.9075 L52.5207,10.9075 L49.4867,7.4595 L47.3777,7.4595 L47.3777,10.9075 L45.7837,10.9075 L45.7837,0.9205 C47.3347,0.9205 48.8737,0.9345 50.4267,0.9345 C52.7347,0.9345 53.9457,2.5165 53.9457,4.1975 C53.9457,5.6225 53.2047,7.0185 51.2387,7.3025 L54.2157,10.6225 L54.3867,10.9075 Z",id:"Fill-9"}),Object(ae.createElement)("polygon",{id:"Fill-11",points:"63.423 10.9072 56.058 10.9072 56.058 0.9342 63.38 0.9342 63.38 2.4882 57.653 2.4882 57.653 5.1802 63.153 5.1802 63.153 6.6612 57.653 6.6612 57.653 9.3402 63.423 9.3402"}),Object(ae.createElement)(ie.Path,{d:"M67.057,9.3683 L69.251,9.3683 C71.688,9.3683 72.713,7.5733 72.67,5.8213 C72.628,4.1403 71.602,2.4593 69.251,2.4593 L67.057,2.4593 L67.057,9.3683 Z M69.251,0.9343 C72.656,0.9343 74.209,3.3713 74.252,5.8363 C74.308,8.3573 72.741,10.9073 69.251,10.9073 L65.476,10.9073 L65.476,0.9343 L69.251,0.9343 Z",id:"Fill-13"}),Object(ae.createElement)(ie.Path,{d:"M81.2918,9.4262 L84.2848,9.4262 C85.1668,9.4262 86.3928,9.1402 86.3928,8.0432 C86.3928,6.9752 85.2108,6.4912 84.2988,6.4912 L81.2918,6.4912 L81.2918,9.4262 Z M81.2918,5.0662 L84.2988,5.0662 C85.4948,5.0662 86.0938,4.5962 86.0938,3.8132 C86.0938,3.1152 85.4808,2.3742 84.2848,2.3742 L81.2918,2.3742 L81.2918,5.0662 Z M84.2848,0.9342 C86.1788,0.9342 87.6738,1.8042 87.6738,3.7842 C87.6738,4.6242 87.2328,5.3802 86.2918,5.7642 C87.4898,6.1202 87.9878,7.3032 87.9878,8.0582 C87.9878,10.2372 86.2498,10.9072 84.2848,10.9072 L79.7118,10.9072 L79.7118,0.9342 L84.2848,0.9342 Z",id:"Fill-15"}),Object(ae.createElement)("polygon",{id:"Fill-17",points:"93.0052 5.3375 95.8412 0.9345 97.7632 0.9345 97.7632 1.0065 93.8032 6.8185 93.8032 10.9075 92.2082 10.9075 92.2082 6.8185 88.3612 1.0065 88.3612 0.9345 90.2562 0.9345"})),Object(ae.createElement)(ie.G,{id:"Group-28",transform:"translate(0.000000, -0.038800)"},Object(ae.createElement)(ie.G,{id:"Group-22",transform:"translate(103.000000, 0.000000)"},Object(ae.createElement)("mask",{id:"mask-2",fill:"white"},Object(ae.createElement)("use",{xlinkHref:"#path-1"})),Object(ae.createElement)(ie.G,{id:"Clip-21"}),Object(ae.createElement)(ie.Path,{d:"M16.923,6.7845 C15.407,5.3575 13.564,4.9715 12.168,4.9715 C8.78,4.9715 6.58,6.9925 6.58,11.0635 C6.58,13.7385 7.978,17.0375 12.168,17.0375 C13.268,17.0375 14.991,16.8295 16.18,15.9665 L16.18,13.2925 L10.919,13.2925 L10.919,8.6865 L21.084,8.6865 L21.084,17.9295 C19.776,20.5735 16.15,22.0005 12.139,22.0005 C3.906,22.0005 0.786,16.5025 0.786,11.0635 C0.786,5.6255 4.352,0.0385 12.168,0.0385 C15.051,0.0385 17.606,0.6335 20.341,3.3965 L16.923,6.7845 Z",id:"Fill-20",fill:"currentColor",mask:"url(#mask-2)"})),Object(ae.createElement)("mask",{id:"mask-4",fill:"white"},Object(ae.createElement)("use",{xlinkHref:"#path-3"})),Object(ae.createElement)(ie.G,{id:"Clip-24"}),Object(ae.createElement)("polygon",{id:"Fill-23",fill:"currentColor",mask:"url(#mask-4)",points:"127.419 21.435 133.274 21.435 133.274 0.633 127.419 0.633"}),Object(ae.createElement)(ie.Path,{d:"M143.381,10.8554 L147.601,10.8554 C149.236,10.8554 150.067,9.6674 150.067,8.3004 C150.067,6.9334 149.206,5.6844 147.601,5.6844 L143.381,5.6844 L143.381,10.8554 Z M143.381,15.8184 L143.381,21.4354 L137.497,21.4354 L137.497,0.6334 L147.601,0.6334 C153.189,0.6334 155.952,4.1394 155.952,8.2104 C155.952,12.4604 153.158,15.7594 147.601,15.8184 L143.381,15.8184 Z",id:"Fill-25",fill:"currentColor",mask:"url(#mask-4)"}),Object(ae.createElement)("polygon",{id:"Fill-26",fill:"currentColor",mask:"url(#mask-4)",points:"171.9466 21.4649 171.9466 13.5899 164.4576 13.5899 164.4576 21.4649 158.5736 21.4649 158.5736 0.6629 164.4576 0.6629 164.4576 8.5669 171.9466 8.5669 171.9466 0.6629 177.7716 0.6629 177.7716 21.4649"}),Object(ae.createElement)("polygon",{id:"Fill-27",fill:"currentColor",mask:"url(#mask-4)",points:"190.6477 7.7649 195.1347 0.6329 201.7617 0.6329 201.7617 0.8999 193.5007 13.1439 193.5007 21.4349 187.6167 21.4349 187.6167 13.1439 179.7107 0.8709 179.7107 0.6329 186.3377 0.6329"}))))),Eo.file=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,role:"img",focusable:"false",className:"dashicon",width:"20px",height:"20px",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"M5 7h13v10h-16v-13h7l2 2h-7v9h1v-8z"})),Eo.link=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"24",width:"24","aria-hidden":!0,role:"img",focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m3.02578253 11.6645442c0-1.76880704 1.43780217-3.20660921 3.20660916-3.20660921h4.13756021v-1.9653411h-4.13756021c-2.85491655 0-5.17195026 2.31703372-5.17195026 5.17195031 0 2.8549165 2.31703371 5.1719502 5.17195026 5.1719502h4.13756021v-1.9653411h-4.13756021c-1.76880699 0-3.20660916-1.4378022-3.20660916-3.2066091zm4.24099921 1.03439h8.27512046v-2.0687801h-8.27512046zm9.30951046-6.20634031-2.9090277.02316998-1.2285325 1.94217112h4.1375602c1.768807 0 3.2066092 1.43780217 3.2066092 3.20660921 0 1.7688069-1.4378022 3.2066091-3.2066092 3.2066091h-4.1375602v1.9653411h4.1375602c2.8549166 0 5.1719503-2.3170337 5.1719503-5.1719502 0-2.85491659-2.3170337-5.17195031-5.1719503-5.17195031z",transform:"matrix(.68199836 -.7313537 -.7313537 -.68199836 12.657507 28.350489)"})),Eo.style=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"24",width:"24","aria-hidden":!0,role:"img",focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9 0c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5h1.77c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8zm-5.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm3-4c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm3 4c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z",transform:"translate(3 3)"})),Eo.mapStyleRetro=Object(ae.createElement)(ie.SVG,{className:"dashicon coblocks-map-style--retro",height:"24",width:"24","aria-hidden":!0,role:"img",focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9 0c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5h1.77c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8zm-5.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm3-4c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm3 4c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z",transform:"translate(3 3)"})),Eo.mapStyleSilver=Object(ae.createElement)(ie.SVG,{className:"dashicon coblocks-map-style--silver",height:"24",width:"24","aria-hidden":!0,role:"img",focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9 0c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5h1.77c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8zm-5.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm3-4c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm3 4c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z",transform:"translate(3 3)"})),Eo.mapStyleDark=Object(ae.createElement)(ie.SVG,{className:"dashicon coblocks-map-style--dark",height:"24",width:"24","aria-hidden":!0,role:"img",focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9 0c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5h1.77c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8zm-5.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm3-4c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm3 4c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z",transform:"translate(3 3)"})),Eo.mapStyleAubergine=Object(ae.createElement)(ie.SVG,{className:"dashicon coblocks-map-style--aubergine",height:"24",width:"24","aria-hidden":!0,role:"img",focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9 0c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5h1.77c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8zm-5.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm3-4c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm3 4c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z",transform:"translate(3 3)"})),Eo.link=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"24",width:"24","aria-hidden":!0,role:"img",focusable:"false",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m3.02578253 11.6645442c0-1.76880704 1.43780217-3.20660921 3.20660916-3.20660921h4.13756021v-1.9653411h-4.13756021c-2.85491655 0-5.17195026 2.31703372-5.17195026 5.17195031 0 2.8549165 2.31703371 5.1719502 5.17195026 5.1719502h4.13756021v-1.9653411h-4.13756021c-1.76880699 0-3.20660916-1.4378022-3.20660916-3.2066091zm4.24099921 1.03439h8.27512046v-2.0687801h-8.27512046zm9.30951046-6.20634031-2.9090277.02316998-1.2285325 1.94217112h4.1375602c1.768807 0 3.2066092 1.43780217 3.2066092 3.20660921 0 1.7688069-1.4378022 3.2066091-3.2066092 3.2066091h-4.1375602v1.9653411h4.1375602c2.8549166 0 5.1719503-2.3170337 5.1719503-5.1719502 0-2.85491659-2.3170337-5.17195031-5.1719503-5.17195031z",transform:"matrix(.68199836 -.7313537 -.7313537 -.68199836 12.657507 28.350489)"})),Eo.trash=Object(ae.createElement)(ie.SVG,{className:"dashicon","aria-hidden":!0,role:"img",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9 6.00065104v7.99934896h-6v-7.99934896zm-.85714286-6.00065104.85714286 1.00907841h3v2.01815683h-12v-2.01815683h3l.85714286-1.00907841zm-7.12701513 4.01388889h9.99696179v10.27380951c0 .9417659-.6413752 1.7123016-1.58423237 1.7123016h-6.85714286c-.94285714 0-1.55558656-.7705357-1.55558656-1.7123016z",transform:"translate(4 2)"}));var Co=Eo;function xo(){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}}var So=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(xo()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.open,c=[{icon:Co.open,title:Object(re.__)("Display as open","coblocks"),onClick:function(){return o({open:!n})},isActive:!0===n}];return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(ie.Toolbar,{controls:c})))}}]),n}(ae.Component);function Po(){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}}var zo=[["core/paragraph",{placeholder:Object(re.__)("Add content…","coblocks")}]],To=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Po()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e,t=this.props,o=t.attributes,n=t.backgroundColor,c=t.className,r=t.isEditing,a=t.isSelected,i=t.onReplace,l=t.setAttributes,s=t.textColor,u=o.title;return Object(ae.createElement)(ae.Fragment,null,a&&Object(ae.createElement)(So,this.props),a&&Object(ae.createElement)(wo,this.props),Object(ae.createElement)("div",{className:Fe()(c,(e={},te()(e,"".concat(c,"--open"),!0===r||o.open),te()(e,"is-selected",a),e))},Object(ae.createElement)(xe.RichText,{tagName:"p",placeholder:Object(re.__)("Write accordion item title…","coblocks"),value:u,className:Fe()("wp-block-coblocks-accordion-item__title",{"has-background":n.color,"has-text-color":s.color}),style:{backgroundColor:n.color,color:s.color},onChange:function(e){return l({title:e})},keepPlaceholderOnFocus:!0,onRemove:function(e){var t=void 0===u||void 0!==u&&0===u.length;!e&&t&&i([])}}),(!0===r||o.open)&&Object(ae.createElement)("div",{className:"wp-block-coblocks-accordion-item__content",style:{borderColor:n.color}},Object(ae.createElement)(xe.InnerBlocks,{template:zo,templateInsertUpdatesSelection:!1}))))}}]),n}(ae.Component),Ro=Object(Ce.compose)([Object(Ye.withSelect)((function(e,t){var o=e("core/block-editor"),n=o.getSelectedBlockClientId,c=(0,o.getBlocks)(t.clientId).filter((function(e){return e.clientId===n()}));return{isEditing:n()===t.clientId||c.length>0}})),yo])(To),Bo=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m1 1h16v5h-16z"}))),No=o(119),Ao=function(e){var t,o=e.attributes,n=o.backgroundColor,c=o.customBackgroundColor,r=o.customTextColor,a=o.open,i=o.textColor,l=o.borderColor,s=o.title,u=Object(xe.getColorClassName)("background-color",n),b=Object(xe.getColorClassName)("color",i),d=Fe()("wp-block-coblocks-accordion-item__title",(t={"has-background":n||c},te()(t,u,u),te()(t,"has-text-color",i||r),te()(t,b,b),t)),p={backgroundColor:u?void 0:c,color:b?void 0:r},m={borderColor:l||c};return Object(ae.createElement)("div",null,!xe.RichText.isEmpty(s)&&Object(ae.createElement)("details",{open:a},Object(ae.createElement)(xe.RichText.Content,{tagName:"summary",className:d,value:s,style:p}),Object(ae.createElement)("div",{className:"wp-block-coblocks-accordion-item__content",style:m},Object(ae.createElement)(xe.InnerBlocks.Content,null))))},Io=No.name,Mo=No.category,Do=No.attributes,Lo={title:Object(re.__)("Accordion Item","coblocks"),description:Object(re.__)("Add collapsable accordion items to accordions.","coblocks"),icon:Bo,keywords:["coblocks",Object(re.__)("tabs","coblocks"),Object(re.__)("faq","coblocks")],parent:["coblocks/accordion"],supports:{reusable:!1,html:!1,inserter:!1},attributes:Do,edit:Ro,save:Ao},Fo=o(49);function Vo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Go=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Vo(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Vo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},Fo.attributes,{borderColor:{type:"string"},customBorderColor:{type:"string"},type:{type:"string",default:"default"}}),save:function(e){var t,o=e.attributes,n=e.className,c=o.align,r=o.backgroundColor,a=o.borderColor,i=o.customBackgroundColor,l=o.customBorderColor,s=o.customTextColor,u=o.customTitleColor,b=o.textAlign,d=o.textColor,p=o.title,m=o.titleColor,h=o.type,f=o.value,g=Object(xe.getColorClassName)("background-color",r),v=Object(xe.getColorClassName)("border-color",a),y=Fe()(n,"is-".concat(h,"-alert"),"align".concat(c),(t={"has-background":r||i},te()(t,g,g),te()(t,v,v),t)),O={backgroundColor:g?void 0:i,borderColor:l,textAlign:b},k=Object(xe.getColorClassName)("color",m),_=Fe()(n,"wp-block-coblocks-alert__title",te()({"has-text-color":m||u},k,k)),j={color:k?void 0:u},w=Object(xe.getColorClassName)("color",d),E=Fe()("wp-block-coblocks-alert__text",te()({"has-text-color":d||s},w,w)),C={color:w?void 0:s};return Object(ae.createElement)("div",{className:y,style:O},!xe.RichText.isEmpty(p)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:_,value:p,style:j}),!xe.RichText.isEmpty(f)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:E,value:f,style:C}))}},{attributes:Fo.attributes,save:function(e){var t,o=e.attributes,n=o.backgroundColor,c=o.customBackgroundColor,r=o.customTextColor,a=o.textAlign,i=o.textColor,l=o.title,s=o.value,u=Object(xe.getColorClassName)("background-color",n),b=Object(xe.getColorClassName)("color",i),d=Fe()((t={"has-text-color":i||r},te()(t,b,b),te()(t,"has-background",n||c),te()(t,u,u),t)),p={backgroundColor:u?void 0:c,color:b?void 0:r,textAlign:a||null};return Object(ae.createElement)("div",{className:d,style:p},!xe.RichText.isEmpty(l)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:"wp-block-coblocks-alert__title",value:l}),!xe.RichText.isEmpty(s)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:"wp-block-coblocks-alert__text",value:s}))}}];function Uo(){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}}var Ho=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Uo()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.textAlign;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(xe.AlignmentToolbar,{value:n,onChange:function(e){return o({textAlign:e})}})))}}]),n}(ae.Component),Wo=Object(xe.withColors)("backgroundColor",{textColor:"color"});function qo(){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}}var Yo=window.getComputedStyle,Ko=Object(ie.withFallbackStyles)((function(e,t){var o=t.textColor,n=t.backgroundColor,c=n&&n.color,r=o&&o.color,a=!r&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:c||!e?void 0:Yo(e).backgroundColor,fallbackTextColor:r||!a?void 0:Yo(a).color}})),Xo=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(qo()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.backgroundColor,o=e.fallbackBackgroundColor,n=e.fallbackTextColor,c=e.setBackgroundColor,r=e.setTextColor,a=e.textColor;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:t.color,onChange:c,label:Object(re.__)("Background color","coblocks")},{value:a.color,onChange:r,label:Object(re.__)("Text color","coblocks")}]},Object(ae.createElement)(xe.ContrastChecker,{isLargeText:!1,textColor:a.color,backgroundColor:t.color,fallbackBackgroundColor:o,fallbackTextColor:n}))))}}]),n}(ae.Component),Jo=Object(Ce.compose)([Wo,Ko])(Xo);function Zo(){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}}var $o=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Zo()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes;if(/is-\w+-alert/.test(t.className)){var n=t.className;o({className:n=(n=n.replace("is-default-alert","is-style-info")).replace(/is-(\w+)-alert/,"is-style-$1")})}}},{key:"componentDidUpdate",value:function(e){var t=this.props,o=t.attributes,n=t.setAttributes;/is-\w+-alert/.test(e.attributes.className)||e.attributes.className===o.className||n({backgroundColor:"",customBackgroundColor:"",textColor:"",customTextColor:""})}},{key:"render",value:function(){var e,t=this.props,o=t.attributes,n=t.backgroundColor,c=t.className,r=t.isSelected,a=t.setAttributes,i=t.textColor,l=o.textAlign,s=o.title,u=o.value;return Object(ae.createElement)(ae.Fragment,null,r&&Object(ae.createElement)(Ho,this.props),r&&Object(ae.createElement)(Jo,this.props),Object(ae.createElement)("div",{className:Fe()(c,(e={"has-background":n.color,"has-text-color":i.color},te()(e,"has-text-align-".concat(l),l),te()(e,n.class,n.class),te()(e,i.class,i.class),e)),style:{backgroundColor:n.color,color:i.color}},(!xe.RichText.isEmpty(s)||r)&&Object(ae.createElement)(xe.RichText,{placeholder:Object(re.__)("Write title…","coblocks"),value:s,className:"wp-block-coblocks-alert__title",onChange:function(e){return a({title:e})},keepPlaceholderOnFocus:!0}),Object(ae.createElement)(xe.RichText,{placeholder:Object(re.__)("Write text…","coblocks"),value:u,className:"wp-block-coblocks-alert__text",onChange:function(e){return a({value:e})},keepPlaceholderOnFocus:!0})))}}]),n}(ae.Component),Qo=Object(Ce.compose)([Wo])($o),en=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.G,{transform:"translate(3.75 1.62321)"},Object(ae.createElement)(ie.Path,{d:"m6.42583333 18.3425c0 1.0083333.81583334 1.8241667 1.82416667 1.8241667s1.8241667-.8158334 1.8241667-1.8241667z"}),Object(ae.createElement)(ie.Path,{d:"m8.25 4.58333333c2.53 0 4.5833333 2.05333334 4.5833333 4.58333334v6.41666663h-9.16666663v-6.41666663c0-2.53 2.05333333-4.58333334 4.58333333-4.58333334zm0-4.125c-.76083333 0-1.375.61416667-1.375 1.375v1.0725c-2.87833333.62333334-5.04166667 3.19-5.04166667 6.26083334v5.50000003l-1.83333333 1.8333333v.9166667h16.5v-.9166667l-1.8333333-1.8333333v-5.50000003c0-3.07083334-2.1633334-5.6375-5.0416667-6.26083334v-1.0725c0-.76083333-.61416667-1.375-1.375-1.375z"}))),tn=function(e){var t,o=e.attributes,n=o.backgroundColor,c=o.customBackgroundColor,r=o.customTextColor,a=o.textAlign,i=o.textColor,l=o.title,s=o.value,u=Object(xe.getColorClassName)("background-color",n),b=Object(xe.getColorClassName)("color",i),d=Fe()((t={"has-text-color":i||r},te()(t,b,b),te()(t,"has-text-align-".concat(a),a),te()(t,"has-background",n||c),te()(t,u,u),t)),p={backgroundColor:u?void 0:c,color:b?void 0:r};return Object(ae.createElement)("div",{className:d,style:p},!xe.RichText.isEmpty(l)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:"wp-block-coblocks-alert__title",value:l}),!xe.RichText.isEmpty(s)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:"wp-block-coblocks-alert__text",value:s}))};function on(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var nn={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(oe.createBlock)(Fo.name,{value:t})}},{type:"raw",selector:".wp-block-coblocks-alert",transform:function(e){return Object(oe.createBlock)(Fo.name,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?on(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):on(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},Object(oe.getBlockAttributes)(Fo.name,e.outerHTML)))}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,o=e.title;return o&&(t=o+"<br />"+t),t&&t.length?Object(oe.createBlock)("core/paragraph",{content:t}):Object(oe.createBlock)("core/paragraph")}}]},cn=Fo.name,rn=Fo.category,an=Fo.attributes,ln={title:Object(re.__)("Alert","coblocks"),description:Object(re.__)("Provide contextual feedback messages or notices.","coblocks"),icon:en,keywords:["coblocks",Object(re.__)("notice","coblocks"),Object(re.__)("message","coblocks")],styles:[{name:"info",label:Object(re.__)("Info","coblocks"),isDefault:!0},{name:"success",label:Object(re.__)("Success","coblocks")},{name:"warning",label:Object(re.__)("Warning","coblocks")},{name:"error",label:Object(re.__)("Error","coblocks")}],supports:{align:!0,alignWide:!1,alignFull:!1},example:{attributes:{title:Object(re.__)("This is an alert block","coblocks"),value:Object(re.__)("An alert is a message that displays outside the flow of typical content. Alerts provide contextual feedback, typically asking readers to take an action.","coblocks")}},attributes:an,transforms:nn,edit:Qo,save:tn,deprecated:Go},sn=o(53);function un(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var bn=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?un(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):un(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},sn.attributes,{heading:{type:"string",selector:".wp-block-coblocks-author__heading"},textAlign:{type:"string"}}),save:function(e){var t=e.attributes,o=t.biography,n=t.heading,c=t.imgUrl,r=t.name,a=t.textAlign;return r?Object(ae.createElement)("div",{style:{textAlign:a}},c&&Object(ae.createElement)("div",{className:"wp-block-coblocks-author__avatar"},Object(ae.createElement)("img",{className:"wp-block-coblocks-author__avatar-img",src:c,alt:"avatar"})),Object(ae.createElement)("div",{className:"wp-block-coblocks-author__content"},!xe.RichText.isEmpty(n)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:"wp-block-coblocks-author__heading",value:n}),!xe.RichText.isEmpty(r)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"span",className:"wp-block-coblocks-author__name",value:r}),!xe.RichText.isEmpty(o)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:"wp-block-coblocks-author__biography",value:o}),Object(ae.createElement)(xe.InnerBlocks.Content,null))):null}}],dn=o(11),pn=o.n(dn);function mn(){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}}var hn=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(mn()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.imgUrl,c=t.imgId;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,n&&Object(ae.createElement)(xe.MediaUploadCheck,null,Object(ae.createElement)(ie.Toolbar,null,Object(ae.createElement)(xe.MediaUpload,{onSelect:function(e){return o({imgUrl:e.url,imgId:e.id})},allowedTypes:["image"],value:c,render:function(e){var t=e.open;return Object(ae.createElement)(ie.IconButton,{className:"components-toolbar__control",label:Object(re.__)("Edit avatar","coblocks"),icon:"edit",onClick:t})}})))))}}]),n}(ae.Component);function fn(){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}}var gn=window.getComputedStyle,vn=Object(ie.withFallbackStyles)((function(e,t){var o=t.attributes,n=o.textColor,c=o.backgroundColor,r=o.fontSize,a=o.customFontSize,i=e.querySelector('[contenteditable="true"]'),l=i?gn(i):null;return{fallbackBackgroundColor:c||!l?void 0:l.backgroundColor,fallbackTextColor:n||!l?void 0:l.color,fallbackFontSize:r||a||!l?void 0:parseInt(l.fontSize)||void 0}})),yn=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(fn()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.backgroundColor,o=e.setBackgroundColor,n=e.setTextColor,c=e.textColor,r=e.setFontSize,a=e.fallbackFontSize,i=e.fallbackTextColor,l=e.fallbackBackgroundColor,s=e.fontSize;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Author settings","coblocks"),className:"blocks-font-size"},Object(ae.createElement)(xe.FontSizePicker,{label:"test",fallbackFontSize:a,value:s.size,onChange:r})),Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:t.color,onChange:o,label:Object(re.__)("Background color","coblocks")},{value:c.color,onChange:n,label:Object(re.__)("Text color","coblocks")}]},Object(ae.createElement)(xe.ContrastChecker,Ie()({textColor:c.color,backgroundColor:t.color,fallbackTextColor:i,fallbackBackgroundColor:l},{fontSize:s.size})))))}}]),n}(ae.Component),On=Object(Ce.compose)([Object(xe.withColors)("backgroundColor",{textColor:"color"}),Object(xe.withFontSizes)("fontSize"),vn])(yn),kn=o(38);function _n(){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}}var jn=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(_n()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).addImage=e.addImage.bind(pn()(e)),e.onSelectImage=e.onSelectImage.bind(pn()(e)),e}return ve()(n,[{key:"onSelectImage",value:function(e){e&&e.url&&this.props.setAttributes({imgUrl:e.url})}},{key:"addImage",value:function(e){var t=this;Object(kn.mediaUpload)({allowedTypes:["image"],filesList:e,onFileChange:function(e){var o=be()(e,1)[0];return t.onSelectImage(o)}})}},{key:"render",value:function(){var e,t=this.props,o=t.attributes,n=t.backgroundColor,c=t.className,r=t.clientId,a=t.fontSize,i=t.isSelected,l=t.selectedParentClientId,s=t.setAttributes,u=t.textColor,b=o.biography,d=o.imgUrl,p=o.name,m=!!d,h=Object(ae.createElement)(ie.DropZone,{onFilesDrop:this.addImage,label:Object(re.__)("Drop to upload as avatar","coblocks")}),f=Fe()(c,(e={"has-background":n.color,"has-text-color":u.color},te()(e,n.class,n.class),te()(e,u.class,u.class),e)),g={backgroundColor:n.color,color:u.color,fontSize:a.size?a.size+"px":void 0};return Object(ae.createElement)(ae.Fragment,null,i&&Object(ae.createElement)(hn,this.props),i&&Object(ae.createElement)(On,this.props),Object(ae.createElement)("div",{className:f,style:g},h,i||r===l||m?Object(ae.createElement)("figure",{className:"wp-block-coblocks-author__avatar"},Object(ae.createElement)(xe.MediaUploadCheck,null,Object(ae.createElement)(xe.MediaUpload,{onSelect:function(e){return s({imgUrl:e.url,imgId:e.id})},allowedTypes:["image"],value:d,render:function(e){var t=e.open;return Object(ae.createElement)(ie.Button,{onClick:t},d?Object(ae.createElement)("img",{className:"wp-block-coblocks-author__avatar-img",src:d,alt:"avatar"}):Object(ae.createElement)(ie.Dashicon,{icon:"format-image"}))}}))):null,Object(ae.createElement)("div",{className:"".concat(c,"__content")},Object(ae.createElement)(xe.RichText,{identifier:"name",multiline:!1,tagName:"span",className:"wp-block-coblocks-author__name",placeholder:Object(re.__)("Write author name…","coblocks"),value:p,onChange:function(e){s({name:e})},keepPlaceholderOnFocus:!0}),Object(ae.createElement)(xe.RichText,{identifier:"biography",multiline:!1,tagName:"p",className:"wp-block-coblocks-author__biography",placeholder:Object(re.__)("Write a biography that distills objective credibility and authority to your readers…","coblocks"),value:b,onChange:function(e){s({biography:e})},keepPlaceholderOnFocus:!0}),Object(ae.createElement)(xe.InnerBlocks,{template:[["core/button",{placeholder:Object(re.__)("Author link…","coblocks")}]],templateLock:"all",allowedBlocks:["core/button"],templateInsertUpdatesSelection:!1}))))}}]),n}(ae.Component),wn=Object(Ye.withSelect)((function(){var e=Object(Ye.select)("core/block-editor").getBlockSelectionStart();return{selectedParentClientId:Object(Ye.select)("core/block-editor").getBlockRootClientId(e)}})),En=Object(Ce.compose)([Object(xe.withColors)("backgroundColor",{textColor:"color"}),Object(xe.withFontSizes)("fontSize"),wn])(jn),Cn=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m12 .69444444c-5.61886111 0-10.175 4.55613889-10.175 10.17499996 0 4.7144167 3.21077778 8.6713612 7.56341667 9.8245278l2.61158333 2.6115834 2.6115833-2.6115834c4.3526389-1.1531666 7.5634167-5.1101111 7.5634167-9.8245278 0-5.61886107-4.5561389-10.17499996-10.175-10.17499996zm0 2.26111112c1.8767222 0 3.3916667 1.51494444 3.3916667 3.39166666s-1.5149445 3.39166667-3.3916667 3.39166667-3.39166667-1.51494445-3.39166667-3.39166667 1.51494447-3.39166666 3.39166667-3.39166666zm0 16.16694444c-2.82638889 0-5.32491667-1.4471111-6.78333333-3.6403889.03391666-2.2498055 4.52222222-3.4821111 6.78333333-3.4821111 2.2498056 0 6.7494167 1.2323056 6.7833333 3.4821111-1.4584166 2.1932778-3.9569444 3.6403889-6.7833333 3.6403889z",fill:"currentColor"})),xn=o(37),Sn=function(e){var t,o=e.className,n=e.attributes,c=n.backgroundColor,r=n.biography,a=n.customBackgroundColor,i=n.customTextColor,l=n.imgUrl,s=n.name,u=n.textColor,b=n.fontSize,d=n.customFontSize,p=Object(xe.getColorClassName)("background-color",c),m=Object(xe.getColorClassName)("color",u),h=Object(xe.getFontSizeClass)(b),f=Fe()(o,(t={"has-text-color":u||i,"has-background":c||a},te()(t,m,m),te()(t,p,p),te()(t,h,h),t)),g={backgroundColor:p?void 0:a,color:m?void 0:i,fontSize:h?void 0:d};return function(e){var t=["name","imgUrl","biography"],o=Object.entries(e).filter((function(e){var o=be()(e,1)[0];return t.includes(o)}));return void 0===Object.fromEntries?de(Object(xn.default)(o)):de(Object.fromEntries(o))}(n)?null:Object(ae.createElement)("div",{className:f,style:g},l&&Object(ae.createElement)("figure",{className:"wp-block-coblocks-author__avatar"},Object(ae.createElement)("img",{className:"wp-block-coblocks-author__avatar-img",src:l,alt:s})),Object(ae.createElement)("div",{className:"wp-block-coblocks-author__content"},!xe.RichText.isEmpty(s)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"span",className:"wp-block-coblocks-author__name",value:s}),!xe.RichText.isEmpty(r)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:"wp-block-coblocks-author__biography",value:r}),Object(ae.createElement)(xe.InnerBlocks.Content,null)))};function Pn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var zn={from:[{type:"raw",selector:".wp-block-coblocks-author",transform:function(e){return Object(oe.createBlock)(sn.name,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Pn(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Pn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},Object(oe.getBlockAttributes)(sn.name,e.outerHTML)))}},{type:"prefix",prefix:":author",transform:function(e){return Object(oe.createBlock)(sn.name,{content:e})}}]},Tn=sn.name,Rn=sn.category,Bn=sn.attributes,Nn={title:Object(re.__)("Author","coblocks"),description:Object(re.__)("Add an author biography to build credibility and authority.","coblocks"),icon:Cn,keywords:["coblocks",Object(re.__)("biography","coblocks"),Object(re.__)("profile","coblocks")],example:{attributes:{name:Object(re.__)("Jane Doe","coblocks"),biography:Object(re.__)("Born to express, not to impress. A maker making the world I want.","coblocks"),imgUrl:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},attributes:Bn,transforms:zn,edit:En,save:Sn,deprecated:bn},An=o(67);function In(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Mn=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?In(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):In(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},An.attributes,{gutter:{type:"string",default:"medium"},stacked:{type:"boolean",default:!1}}),save:function(e){var t,o=e.attributes,n=e.className,c=o.gutter,r=o.stacked,a=o.contentAlign,i=o.isStackedOnMobile,l=Fe()("wp-block-coblocks-buttons__inner",(t={},te()(t,"flex-align-".concat(a),a),te()(t,"has-".concat(c,"-gutter"),c),te()(t,"is-stacked",r),te()(t,"is-stacked-on-mobile",i),t));return Object(ae.createElement)("div",{className:n},Object(ae.createElement)("div",{className:l},Object(ae.createElement)(xe.InnerBlocks.Content,null)))}}];function Dn(){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}}var Ln=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Dn()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.clientId,o=e.attributes,n=e.setAttributes,c=o.items,r=o.isStackedOnMobile;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Buttons settings","coblocks")},Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Buttons","coblocks"),value:c,onChange:function(e){n({items:parseInt(e)}),wp.data.dispatch("core/block-editor").selectBlock(t)},min:1,max:4}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Stack on mobile","coblocks"),checked:r,onChange:function(){return n({isStackedOnMobile:!r})},help:r?Object(re.__)("Stacking buttons on mobile.","coblocks"):Object(re.__)("Toggle to stack buttons on mobile.","coblocks")}))))}}]),n}(ae.Component);function Fn(){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}}var Vn=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Fn()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.contentAlign;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(xe.AlignmentToolbar,{value:n,onChange:function(e){return o({contentAlign:e})}})))}}]),n}(ae.Component);function Gn(){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}}var Un=["core/button"],Hn=no()((function(e){return to()(e,(function(){return["core/button"]}))})),Wn=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Gn()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"componentDidMount",value:function(){var e=this.props.clientId;if(Object(oe.getBlockType)("core/buttons")){var t=Object(Ye.select)("core/block-editor").getBlock(e),o=Object(oe.createBlock)("core/buttons",{align:t.attributes.contentAlign},t.innerBlocks);Object(Ye.dispatch)("core/block-editor").replaceBlock(e,o)}}},{key:"render",value:function(){var e,t=this.props,o=t.attributes,n=t.className,c=t.isSelected,r=o.items,a=o.contentAlign,i=o.isStackedOnMobile,l=Fe()("wp-block-coblocks-buttons__inner",(e={},te()(e,"flex-align-".concat(a),a),te()(e,"is-stacked-on-mobile",i),e));return Object(ae.createElement)(ae.Fragment,null,c&&Object(ae.createElement)(Ln,this.props),c&&Object(ae.createElement)(Vn,this.props),Object(ae.createElement)("div",{className:n},Object(ae.createElement)("div",{className:l},Object(ae.createElement)(xe.InnerBlocks,{allowedBlocks:Un,template:Hn(r),templateLock:"all",templateInsertUpdatesSelection:!1}))))}}]),n}(ae.Component),qn=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m16 0h-14c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm0 6h-14v-4h14zm0 4h-14c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm0 6h-14v-4h14zm-10-3v2h6v-2zm0-10h6v2h-6z",transform:"translate(3 3)"}));var Yn={from:ce()([1,2,3,4].map((function(e){return{type:"prefix",prefix:Array(e+1).join(":")+"buttons",transform:function(t){return Object(oe.createBlock)(An.name,{content:t,items:e})}}})))},Kn=An.name,Xn=An.category,Jn=An.attributes,Zn={title:Object(re.__)("Buttons","coblocks"),description:Object(re.__)("Prompt visitors to take action with multiple buttons, side by side.","coblocks"),icon:qn,keywords:["coblocks",Object(re.__)("link","coblocks"),Object(re.__)("cta","coblocks"),Object(re.__)("call to action","coblocks")],attributes:Jn,transforms:Yn,edit:Wn,save:function(e){var t,o=e.attributes,n=e.className,c=o.contentAlign,r=o.isStackedOnMobile,a=Fe()("wp-block-coblocks-buttons__inner",(t={},te()(t,"flex-align-".concat(c),c),te()(t,"is-stacked-on-mobile",r),t));return Object(ae.createElement)("div",{className:n},Object(ae.createElement)("div",{className:a},Object(ae.createElement)(xe.InnerBlocks.Content,null)))},deprecated:Mn},$n={backgroundType:{type:"string",default:"image"},backgroundImg:{type:"string"},backgroundPosition:{type:"string",default:"center center"},backgroundRepeat:{type:"string",default:"no-repeat"},backgroundSize:{type:"string"},backgroundOverlay:{type:"number",default:0},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},hasParallax:{type:"boolean",default:!1},focalPoint:{type:"object"},videoMuted:{type:"boolean",default:!0},videoLoop:{type:"boolean",default:!0},openPopover:{type:"boolean",default:!1}};var Qn=function(e){var t,o=Object(xe.getColorClassName)("background-color",e.backgroundColor),n=e.backgroundSize?e.backgroundSize:"cover",c=[te()({},o,o),{"has-background":e.backgroundColor||e.customBackgroundColor},{"has-parallax":e.backgroundImg&&"image"===e.backgroundType&&e.hasParallax},{"is-transient":e.backgroundImg&&0===e.backgroundImg.indexOf("blob:")},{"has-background-overlay":e.backgroundImg&&0!==e.backgroundOverlay},te()({},"bg-".concat(n),e.backgroundImg&&"image"===e.backgroundType)];return e.backgroundType&&c.push(te()({},"has-background-".concat(e.backgroundType),e.backgroundImg)),e.backgroundRepeat&&c.push(te()({},"bg-".concat(e.backgroundRepeat),e.backgroundImg&&"image"===e.backgroundType)),e.backgroundPosition&&c.push(te()({},"bg-".concat(e.backgroundPosition.split(" ").join("-")),e.backgroundImg&&"image"===e.backgroundType)),e.backgroundOverlay&&c.push(te()({},0===(t=e.backgroundOverlay)||50===t?null:"has-background-overlay-"+10*Math.round(t/10),e.backgroundImg&&0!==e.backgroundOverlay&&50!==e.backgroundOverlay)),c},ec={};ec.background=Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd",transform:"translate(2.762573 1)"},Object(ae.createElement)(ie.Path,{d:"m4.93810577 15.6496655-4.30419126-4.3041913c-.67516726-.6751672-.67516726-1.68791812 0-2.36308537l5.48573395-5.31694215 5.40133804 5.40133806c.6751673.67516725.6751673 1.68791816 0 2.36308536l-4.30419124 4.3041913c-.59077135.5907713-1.60352224.5907713-2.27868949-.0843959z",stroke:"currentColor",strokeWidth:"2"}),Object(ae.createElement)(ie.Path,{d:"m15.4031982 15.3120819c0 .9283549-.7595631 1.6879181-1.6879181 1.6879181s-1.6879181-.7595632-1.6879181-1.6879181c0-.928355 1.6879181-3.3758363 1.6879181-3.3758363s1.6879181 2.4474813 1.6879181 3.3758363z",fill:"currentColor"}),Object(ae.createElement)(ie.Path,{d:"m.21193497 10c0 .4219795.16879181.8439591.42197954 1.1815427l4.30419126 4.3041913c.67516725.6751672 1.68791814.6751672 2.36308539 0l4.30419124-4.3041913c.2531877-.3375836.4219796-.7595632.4219796-1.1815427z",fill:"currentColor"}),Object(ae.createElement)(ie.Path,{d:"m3.16579172.71158994 6.66727666 6.66727665",stroke:"currentColor",strokeWidth:"2"}))),ec.edit=Object(ae.createElement)(ie.SVG,{className:"dashicon","aria-hidden":!0,role:"img",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10.330727 5.86705523.8149993.81499936-8.02597188 8.02597191h-.81499935v-.8149994zm3.1891279-5.33293055c.2303259 0 .4517931.07972819.6289669.25690197l2.0729331 2.07293314c.3454889.34548885.3454889.90358624 0 1.24907509l-1.62114 1.62114002-3.3220083-3.32200823 1.6211401-1.62114002c.1683151-.16831509.398641-.25690197.6201082-.25690197zm-3.1891279 2.82592167 3.3220082 3.32200824-9.79770962 9.79770961h-3.32200824v-3.3220082z",transform:"translate(1.5 1.5)"})),ec.trash=Object(ae.createElement)(ie.SVG,{className:"dashicon","aria-hidden":!0,role:"img",focusable:"false",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9 6.00065104v7.99934896h-6v-7.99934896zm-.85714286-6.00065104.85714286 1.00907841h3v2.01815683h-12v-2.01815683h3l.85714286-1.00907841zm-7.12701513 4.01388889h9.99696179v10.27380951c0 .9417659-.6413752 1.7123016-1.58423237 1.7123016h-6.85714286c-.94285714 0-1.55558656-.7705357-1.55558656-1.7123016z",transform:"translate(4 2)"}));var tc=ec;var oc=function(e){var t=e.attributes,o=e.setAttributes,n=t.backgroundImg,c=t.openPopover;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.MediaUploadCheck,null,Object(ae.createElement)(ie.Toolbar,{className:n?"components-dropdown-menu":""},c&&Object(ae.createElement)(ie.Popover,{position:"bottom center",className:"components-coblocks__background-popover"},Object(ae.createElement)(xe.MediaUpload,{onSelect:function(e){o({backgroundImg:e.url,backgroundType:e.type,openPopover:!c})},allowedTypes:hc,value:n,render:function(e){var t=e.open;return Object(ae.createElement)(ie.MenuItem,{className:"components-dropdown-menu__menu-item",icon:"edit",role:"menuitem",onClick:t},Object(re.__)("Edit background","coblocks"))}}),Object(ae.createElement)(ie.MenuItem,{className:"components-dropdown-menu__menu-item",icon:"trash",role:"menuitem",onClick:function(){o({backgroundImg:"",backgroundOverlay:0,backgroundRepeat:"no-repeat",backgroundPosition:"",backgroundSize:"cover",hasParallax:!1,openPopover:!c})}},Object(re.__)("Remove background","coblocks"))),n?Object(ae.createElement)(ie.IconButton,{className:"components-dropdown-menu__toggle",icon:tc.background,"aria-haspopup":"true",label:Object(re.__)("Edit background image","coblocks"),tooltip:Object(re.__)("Edit background image","coblocks"),onClick:function(){return o({openPopover:!c})}},Object(ae.createElement)("span",{className:"components-dropdown-menu__indicator"})):Object(ae.createElement)(xe.MediaUpload,{onSelect:function(e){o({backgroundImg:e.url,backgroundType:e.type})},allowedTypes:hc,value:n,render:function(e){var t=e.open;return Object(ae.createElement)(ie.IconButton,{className:"components-toolbar__control",label:Object(re.__)("Add background image","coblocks"),icon:tc.background,onClick:t})}}))))};function nc(){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}}var cc=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(nc()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).addFile=e.addFile.bind(pn()(e)),e.onSelectFile=e.onSelectFile.bind(pn()(e)),e}return ve()(n,[{key:"addFile",value:function(e){var t=this;Object(kn.mediaUpload)({allowedTypes:hc,filesList:e,onFileChange:function(e){var o=be()(e,1)[0];return t.onSelectFile(o)}})}},{key:"onSelectFile",value:function(e){if(e&&e.url){var t="image";e.mime_type&&e.mime_type.includes("video")&&(t="video"),this.props.setAttributes({backgroundImg:e.url,backgroundType:t}),fc.includes(this.props.name)&&(this.props.attributes.paddingSize&&"no"!==this.props.attributes.paddingSize||this.props.setAttributes({paddingSize:"medium"}))}}},{key:"render",value:function(){return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.DropZone,{onFilesDrop:this.addFile,label:this.props.label}))}}]),n}(ae.Component),rc=function(e,t){var o=e&&Object(xe.getColorClassName)("background-color",e.backgroundColor);return{backgroundImage:e.backgroundImg&&"image"===e.backgroundType?"url(".concat(e.backgroundImg,")"):void 0,backgroundColor:o?t&&t.color:e.customBackgroundColor,backgroundPosition:e.focalPoint&&!e.hasParallax?"".concat(100*e.focalPoint.x,"% ").concat(100*e.focalPoint.y,"%"):void 0}},ac=o(196),ic=o.n(ac),lc={};lc.mobile=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,className:"dashicon",role:"img",focusable:"false",height:"15",viewBox:"0 0 15 15",width:"15",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m8.25 0h-6c-.825 0-1.5.61363636-1.5 1.36363636v10.27272724c0 .75.675 1.3636364 1.5 1.3636364h6c.825 0 1.5-.6136364 1.5-1.3636364v-10.27272724c0-.75-.675-1.36363636-1.5-1.36363636zm-.5 11h-5v-9h5z",transform:"translate(2.25 1)"})),lc.desktopChrome=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,className:"dashicon dashicon--desktop-chrome",role:"img",focusable:"false",height:"15",viewBox:"0 0 15 15",width:"15",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m13.5 0h-12c-.8325 0-1.5.61363636-1.5 1.36363636v12.27272724c0 .75.6675 1.3636364 1.5 1.3636364h12l-.5-2h-11v-10h11v10l.5 2c.825 0 1.5-.6136364 1.5-1.3636364v-12.27272724c0-.75-.6675-1.36363636-1.5-1.36363636z"}));var sc=lc;function uc(){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}}var bc=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(uc()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).setGutterTo=e.setGutterTo.bind(pn()(e)),e.setGutterMobileTo=e.setGutterMobileTo.bind(pn()(e)),e}return ve()(n,[{key:"setGutterTo",value:function(e){this.props.setAttributes({gutter:e})}},{key:"setGutterMobileTo",value:function(e){this.props.setAttributes({gutterMobile:e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.label,n=void 0===o?Object(re.__)("Gutter","coblocks"):o,c=e.max,r=void 0===c?50:c,a=e.min,i=void 0===a?0:a,l=e.onChange,s=void 0===l?this.setGutterTo:l,u=e.onChangeMobile,b=void 0===u?this.setGutterMobileTo:u,d=e.step,p=void 0===d?5:d;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.TabPanel,{className:"components-base-control components-coblocks-responsive__tabs",activeClass:"is-primary",initialTabName:"desk",tabs:[{name:"desk",title:sc.desktopChrome,className:"components-coblocks-responsive__tabs-item components-coblocks-responsive__tabs-item--desktop components-button is-button is-default is-secondary"},{name:"mobile",title:sc.mobile,className:"components-coblocks-responsive__tabs-item components-coblocks-responsive__tabs-item--mobile components-button is-button is-default is-secondary"}]},(function(e){return"mobile"===e.name?Object(ae.createElement)(ie.RangeControl,{label:Object(re.sprintf)(Object(re.__)("Mobile %s","coblocks"),n),value:t.valueMobile,onChange:function(e){return b(e)},min:i,max:r,step:p}):Object(ae.createElement)(ie.RangeControl,{label:n,value:t.value,onChange:function(e){return s(e)},min:i,max:r,step:p})})))}}]),n}(ae.Component);function dc(){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}}var pc=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(dc()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).setBackgroundPaddingTo=e.setBackgroundPaddingTo.bind(pn()(e)),e.setBackgroundPaddingMobileTo=e.setBackgroundPaddingMobileTo.bind(pn()(e)),e.onSelectRepeat=e.onSelectRepeat.bind(pn()(e)),e}return ve()(n,[{key:"setBackgroundPaddingTo",value:function(e){this.props.setAttributes({backgroundPadding:e}),this.props.attributes.backgroundPadding<=0&&this.props.setAttributes({backgroundRadius:0})}},{key:"setBackgroundPaddingMobileTo",value:function(e){this.props.setAttributes({backgroundPaddingMobile:e})}},{key:"onSelectRepeat",value:function(e){"no-repeat"===e?this.props.setAttributes({backgroundRepeat:e,backgroundSize:"cover"}):this.props.setAttributes({backgroundRepeat:e,backgroundSize:"contain",focalPoint:void 0})}},{key:"render",value:function(){var e=this,t=this.props,o=t.attributes,n=t.backgroundColor,c=t.hasGalleryControls,r=t.hasOverlay,a=t.setAttributes,i=o.align,l=o.backgroundImg,s=o.backgroundOverlay,u=o.backgroundPadding,b=o.backgroundPaddingMobile,d=o.backgroundPosition,p=o.backgroundRadius,m=o.backgroundRepeat,h=o.backgroundSize,f=o.backgroundType,g=void 0===f?"image":f,v=o.focalPoint,y=o.hasParallax,O=o.videoLoop,k=o.videoMuted,_=[{value:"top left",label:Object(re.__)("Top left","coblocks")},{value:"top center",label:Object(re.__)("Top center","coblocks")},{value:"top right",label:Object(re.__)("Top right","coblocks")},{value:"center left",label:Object(re.__)("Center left","coblocks")},{value:"center center",label:Object(re.__)("Center center","coblocks")},{value:"center right",label:Object(re.__)("Center right","coblocks")},{value:"bottom left",label:Object(re.__)("Bottom left","coblocks")},{value:"bottom center",label:Object(re.__)("Bottom center","coblocks")},{value:"bottom right",label:Object(re.__)("Bottom right","coblocks")}],j=[{value:"no-repeat",label:Object(re.__)("No repeat","coblocks")},{value:"repeat",label:Object(re.__)("Repeat","coblocks")},{value:"repeat-x",label:Object(re.__)("Repeat horizontally","coblocks")},{value:"repeat-y",label:Object(re.__)("Repeat vertically","coblocks")}],w=[{value:"auto",label:Object(re.__)("Auto","coblocks")},{value:"cover",label:Object(re.__)("Cover","coblocks")},{value:"contain",label:Object(re.__)("Contain","coblocks")}];return Object(ae.createElement)(ae.Fragment,null,l&&Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Background settings","coblocks"),initialOpen:!1},"image"===g&&Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Fixed background","coblocks"),checked:!!y,onChange:function(){return a({hasParallax:!y})}}),!y&&ie.FocalPointPicker&&"image"===g&&"repeat"!==m&&Object(ae.createElement)(ie.FocalPointPicker,{label:Object(re.__)("Focal point","coblocks"),url:l,value:v,onChange:function(e){return a({focalPoint:e})},className:"components-focal-point-picker--coblocks"}),r&&Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Background opacity","coblocks"),value:s,onChange:function(e){return a({backgroundOverlay:e})},min:0,max:100,step:10}),c&&Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(bc,Ie()({},this.props,{label:Object(re.__)("Padding","coblocks"),value:u,valueMobile:b,onChange:this.setBackgroundPaddingTo,onChangeMobile:this.setBackgroundPaddingMobileTo,min:5,max:100})),(!ic()(l)||!ic()(n.color))&&u>0&&"full"!==i&&Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Rounded corners","coblocks"),value:p,onChange:function(e){return a({backgroundRadius:e})},min:0,max:20,step:1})),"image"===g&&Object(ae.createElement)(ie.SelectControl,{label:Object(re.__)("Repeat","coblocks"),value:m||"no-repeat",options:j,onChange:function(t){return e.onSelectRepeat(t)}}),!ie.FocalPointPicker&&"image"===g&&Object(ae.createElement)(ie.SelectControl,{label:Object(re.__)("Position","coblocks"),value:d||"center center",options:_,onChange:function(e){return a({backgroundPosition:e})}}),"no-repeat"===m&&"image"===g&&Object(ae.createElement)(ie.SelectControl,{label:Object(re.__)("Display","coblocks"),value:h||"cover",options:w,onChange:function(e){return a({backgroundSize:e})}}),"video"===g&&Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Mute video","coblocks"),help:k?Object(re.__)("Muting the background video.","coblocks"):Object(re.__)("Toggle to mute the video.","coblocks"),checked:!!k,onChange:function(){return a({videoMuted:!k})}}),"video"===g&&Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Loop video","coblocks"),help:O?Object(re.__)("Looping the background video.","coblocks"):Object(re.__)("Toggle to loop the video.","coblocks"),checked:!!O,onChange:function(){return a({videoLoop:!O})}}),Object(ae.createElement)(ie.Button,{type:"button",isSmall:!0,isSecondary:!0,label:Object(re.__)("Remove background","coblocks"),onClick:function(){a({backgroundImg:"",backgroundOverlay:0,backgroundRepeat:"no-repeat",backgroundPosition:"",backgroundSize:"cover",hasParallax:!1,backgroundPadding:0,backgroundPaddingMobile:0}),fc.includes(e.props.name)&&o.paddingSize&&a({paddingSize:"no"})}},Object(re.__)("Clear Media","coblocks"))))}}]),n}(ae.Component);var mc=function(e){var t=e.backgroundImg,o=e.backgroundType,n=e.videoMuted,c=e.videoLoop;return["video"===o?Object(ae.createElement)("div",{className:"coblocks-video-bg position-absolute overflow-hidden w-full h-full pin-t pin-r pin-b pin-l"},Object(ae.createElement)("video",{className:"w-full h-full bg-center-center object-cover object-position",playsinline:"",autoPlay:"",muted:n,loop:c,src:t})):null]},hc=["image","video"],fc=["coblocks/row","coblocks/column","coblocks/media-card","coblocks/features","coblocks/feature"],gc={images:{type:"array",default:[],source:"query",selector:".coblocks-gallery--item",query:{url:{source:"attribute",selector:"img",attribute:"src"},link:{source:"attribute",selector:"img",attribute:"data-link"},imgLink:{source:"attribute",selector:"img",attribute:"data-imglink"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"array",source:"children",selector:"figcaption"}}},linkTo:{type:"string",default:"none"},target:{type:"string"},rel:{type:"string",default:""},align:{type:"string"},gutter:{type:"number",default:15},gutterMobile:{type:"number",default:15},radius:{type:"number",default:0},shadow:{type:"string",default:"none"},filter:{type:"string",default:"none"},captions:{type:"boolean",default:!1},captionStyle:{type:"string",default:"dark"},captionColor:{type:"string"},customCaptionColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},primaryCaption:{type:"array",source:"children",selector:".coblocks-gallery--primary-caption"},backgroundRadius:{type:"number",default:0},backgroundPadding:{type:"number",default:0},backgroundPaddingMobile:{type:"number",default:0},lightbox:{type:"boolean",default:!1}};var vc=function(e){var t=e.align,o=e.radius,n=e.filter,c=e.captionStyle;return["coblocks-gallery",{"has-no-alignment":!t},te()({},"has-border-radius-".concat(o),o>0),te()({},"has-filter-".concat(n),"none"!==n),te()({},"has-caption-style-".concat(c),void 0!==c)]};function yc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Oc=function(e){return{align:e.align,autoPlay:e.autoPlay,autoPlaySpeed:e.autoPlaySpeed,captionColor:e.captionColor,captions:e.captions,customCaptionColor:e.customCaptionColor,customFontSize:e.customFontSize,draggable:e.draggable,filter:e.filter,fontSize:e.fontSize,gridSize:e.gridSize,gutter:e.gutter,gutterMobile:e.gutterMobile,height:e.height,images:e.images.map((function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?yc(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):yc(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},Pt(e),{index:t})})),linkTo:e.linkTo,pageDots:e.pageDots,prevNextButtons:e.prevNextButtons,primaryCaption:e.primaryCaption,radius:e.radius,rel:e.rel,shadow:e.shadow,target:e.target,lightbox:e.lightbox,noBottomMargin:e.noBottomMargin,noTopMargin:e.noTopMargin}};var kc=function(e){return{color:Object(xe.getColorClassName)("color",e.captionColor)?void 0:e.customCaptionColor}},_c=o(42);function jc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function wc(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?jc(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):jc(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Ec=[{attributes:wc({},gc,{},$n,{},_c.attributes),save:function(e){var t,o,n,c,r,a=e.attributes,i=e.className,l=a.align,s=a.alignCells,u=a.autoPlay,b=a.autoPlaySpeed,d=a.backgroundPadding,p=a.backgroundPaddingMobile,m=a.captionStyle,h=a.customCaptionColor,f=a.draggable,g=a.filter,v=a.freeScroll,y=a.gridSize,O=a.gutter,k=a.gutterMobile,_=a.height,j=a.images,w=a.pageDots,E=a.pauseHover,C=a.prevNextButtons,x=a.primaryCaption,S=a.radius,P=a.responsiveHeight,z=a.thumbnails,T=Object(xe.getColorClassName)("color",a.captionColor),R=Fe()("coblocks-gallery",(t={"has-no-alignment":!l},te()(t,"has-border-radius-".concat(S),S>0),te()(t,"has-filter-".concat(g),"none"!==g),te()(t,"has-caption-style-".concat(m),void 0!==m),te()(t,"has-caption-color",T||h),te()(t,"captionColorClass",T),te()(t,"has-background-border-radius-".concat(a.backgroundRadius),a.backgroundRadius>0),te()(t,"has-padding",d>0),te()(t,"has-padding-".concat(d),d>0),te()(t,"has-padding-mobile-".concat(p),p>0),t)),B=Fe()(i,{"has-responsive-height":P}),N=Fe.a.apply(void 0,["is-cropped",R].concat(ce()(Qn(a)),[{"has-horizontal-gutter":O>0}])),A=wc({},rc(a)),I=Fe()("has-carousel","has-carousel-".concat(y),(o={"has-aligned-cells":s},te()(o,"has-margin-bottom-".concat(O),z&&O>0),te()(o,"has-margin-bottom-mobile-".concat(k),z&&k>0),o)),M={height:_?_+"px":void 0},D=Fe()("coblocks-gallery--figure",(n={},te()(n,"has-margin-left-".concat(O),O>0),te()(n,"has-margin-left-mobile-".concat(k),k>0),te()(n,"has-margin-right-".concat(O),O>0),te()(n,"has-margin-right-mobile-".concat(k),k>0),n)),L={autoPlay:!(!u||!b)&&parseFloat(b),draggable:f,pageDots:w,prevNextButtons:C,wrapAround:!0,cellAlign:s?"left":"center",pauseAutoPlayOnHover:E,freeScroll:v,arrowShape:{x0:10,x1:60,y1:50,x2:65,y2:45,x3:20},thumbnails:z,responsiveHeight:P},F=Fe()("coblocks-gallery--caption","coblocks-gallery--primary-caption",T,{"has-caption-color":T}),V=Fe()("carousel-nav",(c={},te()(c,"has-margin-top-".concat(O),O>0),te()(c,"has-margin-top-mobile-".concat(k),k>0),te()(c,"has-negative-margin-left-".concat(O),O>0),te()(c,"has-negative-margin-left-mobile-".concat(k),k>0),te()(c,"has-negative-margin-right-".concat(O),O>0),te()(c,"has-negative-margin-right-mobile-".concat(k),k>0),c)),G=Fe()("coblocks--figure",(r={},te()(r,"has-margin-left-".concat(O),O>0),te()(r,"has-margin-left-mobile-".concat(k),k>0),te()(r,"has-margin-right-".concat(O),O>0),te()(r,"has-margin-right-mobile-".concat(k),k>0),r)),U={asNavFor:".has-carousel",autoPlay:!1,contain:!0,cellAlign:"left",pageDots:!1,thumbnails:!1,draggable:f,prevNextButtons:!1,wrapAround:!1},H={color:T?void 0:h};if(!(j.length<=0))return Object(ae.createElement)("div",{className:B},Object(ae.createElement)("div",{className:N,style:A},Object(ae.createElement)("div",{className:I,style:P?void 0:M,"data-flickity":JSON.stringify(L)},j.map((function(e){var t=Object(ae.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(ae.createElement)("div",{key:e.id||e.url,className:"coblocks-gallery--item"},Object(ae.createElement)("figure",{className:D},t))}))),z?Object(ae.createElement)("div",{className:V,"data-flickity":JSON.stringify(U)},j.map((function(e){var t=Object(ae.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link});return Object(ae.createElement)("div",{key:e.id||e.url,className:"coblocks--item-thumbnail"},Object(ae.createElement)("figure",{className:G},t))}))):null),!xe.RichText.isEmpty(x)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"figcaption",className:F,value:x,style:H}))}},{attributes:wc({},gc,{},$n,{},_c.attributes),save:function(e){var t,o=e.attributes,n=e.className,c=o.autoPlay,r=o.autoPlaySpeed,a=o.captionColor,i=o.customCaptionColor,l=o.draggable,s=o.freeScroll,u=o.gridSize,b=o.gutter,d=o.gutterMobile,p=o.height,m=o.images,h=o.pageDots,f=o.pauseHover,g=o.prevNextButtons,v=o.primaryCaption,y=o.alignCells,O=o.thumbnails,k=o.responsiveHeight,_=Fe.a.apply(void 0,["is-cropped"].concat(ce()(vc(o)),ce()(Qn(o)),[{"has-horizontal-gutter":b>0}])),j=wc({},rc(o)),w=Fe()("has-carousel","has-carousel-".concat(u),{"has-aligned-cells":y}),E={height:p?p+"px":void 0},C=Fe()("coblocks-gallery--figure",(t={},te()(t,"has-margin-left-".concat(b),b>0),te()(t,"has-margin-left-mobile-".concat(d),d>0),te()(t,"has-margin-right-".concat(b),b>0),te()(t,"has-margin-right-mobile-".concat(d),d>0),t)),x={autoPlay:!(!c||!r)&&parseFloat(r),draggable:l,pageDots:h,prevNextButtons:g,wrapAround:!0,cellAlign:y?"left":"center",pauseAutoPlayOnHover:f,freeScroll:s,arrowShape:{x0:10,x1:60,y1:50,x2:65,y2:45,x3:20},thumbnails:O,responsiveHeight:k},S=Object(xe.getColorClassName)("color",a),P=Fe()("coblocks-gallery--caption","coblocks-gallery--primary-caption",S,{"has-caption-color":S}),z={color:S?void 0:i};if(!(m.length<=0))return Object(ae.createElement)("div",{className:n},Object(ae.createElement)("div",{className:_,style:j},Object(ae.createElement)("div",{className:w,style:E,"data-flickity":JSON.stringify(x)},m.map((function(e){var t=Object(ae.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(ae.createElement)("div",{key:e.id||e.url,className:"coblocks-gallery--item"},Object(ae.createElement)("figure",{className:C},t))})))),!xe.RichText.isEmpty(v)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"figcaption",className:P,value:v,style:z}))}},{attributes:wc({},gc,{},$n,{},_c.attributes),save:function(e){var t,o=e.attributes,n=e.className,c=o.autoPlay,r=o.autoPlaySpeed,a=o.captionColor,i=o.customCaptionColor,l=o.draggable,s=o.gridSize,u=o.gutter,b=o.gutterMobile,d=o.height,p=o.images,m=o.pageDots,h=o.prevNextButtons,f=o.primaryCaption,g=Fe.a.apply(void 0,["is-cropped"].concat(ce()(vc(o)),[{"has-horizontal-gutter":u>0}])),v=wc({},rc(o)),y=Fe()("has-carousel","has-carousel-".concat(s),{}),O={height:d?d+"px":void 0},k=Fe()("coblocks-gallery--figure",(t={},te()(t,"has-margin-left-".concat(u),u>0),te()(t,"has-margin-left-mobile-".concat(b),b>0),te()(t,"has-margin-right-".concat(u),u>0),te()(t,"has-margin-right-mobile-".concat(b),b>0),t)),_={autoPlay:!(!c||!r)&&parseFloat(r),draggable:l,pageDots:m,prevNextButtons:h,wrapAround:!0,arrowShape:{x0:10,x1:60,y1:50,x2:65,y2:45,x3:20}},j=Object(xe.getColorClassName)("color",a),w=Fe()("coblocks-gallery--caption","coblocks-gallery--primary-caption",j,{"has-caption-color":j}),E={color:j?void 0:i};if(!(p.length<=0))return Object(ae.createElement)("div",{className:n},Object(ae.createElement)("div",{className:g,style:v},Object(ae.createElement)("div",{className:y,style:O,"data-flickity":JSON.stringify(_)},p.map((function(e){var t=Object(ae.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(ae.createElement)("div",{key:e.id||e.url,className:"coblocks-gallery--item"},Object(ae.createElement)("figure",{className:k},t))})))),!xe.RichText.isEmpty(f)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"figcaption",className:w,value:f,style:E}))}}],Cc=o(28),xc=o.n(Cc),Sc=o(197),Pc=o.n(Sc),zc=o(23),Tc=o.n(zc);function Rc(){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}}var Bc=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Rc()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).getSizes=e.getSizes.bind(pn()(e)),e}return ve()(n,[{key:"componentDidUpdate",value:function(){var e=this.props.attributes,t=e.align,o=e.columns;void 0===t&&("med"!==o&&"sml"!==o||this.props.setAttributes({gridSize:"xlrg"}))}},{key:"getSizes",value:function(){var e=this.props,t=e.type,o=e.wideControlsEnabled,n=this.props.attributes.align,c=[{shortName:!0===o&&"wide"===n||"full"===n?"L":Object(re.__)("Large","coblocks"),size:"lrg"},{shortName:!0===o&&"wide"===n||"full"===n?"XL":Object(re.__)("Extra Large","coblocks"),size:"xlrg"}],r=[{shortName:"M",size:"med"}],a=[{shortName:"S",size:"sml"}];return"smlx"===t?c=[{shortName:"S",size:"sml"},{shortName:"M",size:"med"},{shortName:"L",size:"lrg"},{shortName:"XL",size:"xlrg"}]:"reverse-grid"===t?(c=[{shortName:!0===o&&"wide"===n||"full"===n?"S":Object(re.__)("Small","coblocks"),size:"small"},{shortName:!0===o&&"wide"===n||"full"===n?"M":Object(re.__)("Medium","coblocks"),size:"medium"}],r=[{shortName:"L",size:"large"}],a=[{shortName:"XL",size:"huge"}],"wide"===n?c.concat(r):"full"===n?c.concat(r).concat(a):c):"grid"!==t?[{shortName:"None",size:"none"},{shortName:"S",size:"sml"},{shortName:"M",size:"med"},{shortName:"L",size:"lrg"}]:!0===o&&"wide"===n?r.concat(c):!0===o&&"full"===n?a.concat(r).concat(c):c}},{key:"render",value:function(){var e=this.props,t=e.onChange,o=e.value,n=e.resetValue,c=void 0===n?void 0:n,r=e.label,a=e.reset,i=void 0===a||a;return Object(ae.createElement)(ie.BaseControl,{id:"coblocks-select-size",label:r},Object(ae.createElement)(ie.PanelRow,null,Object(ae.createElement)(ie.ButtonGroup,{"aria-label":Object(re.__)("Select size","coblocks")},Tc()(this.getSizes(),(function(e){var n=e.size,c=e.shortName;return Object(ae.createElement)(ie.Button,{key:n,isLarge:!0,isSecondary:!0,isPrimary:o===n,"aria-pressed":o===n,onClick:function(){return t(n)}},c)}))),i&&Object(ae.createElement)(ie.Button,{isSmall:!0,isSecondary:!0,onClick:function(){return t(c)}},Object(re.__)("Reset","coblocks"))))}}]),n}(ae.Component),Nc=Object(Ce.compose)([Object(Ye.withSelect)((function(e){return{wideControlsEnabled:e("core/editor").getEditorSettings().alignWide}}))])(Bc),Ac=[{value:1e3,label:Object(re.__)("One Second","coblocks")},{value:2e3,label:Object(re.__)("Two Seconds","coblocks")},{value:3e3,label:Object(re.__)("Three Seconds","coblocks")},{value:4e3,label:Object(re.__)("Four Seconds","coblocks")},{value:5e3,label:Object(re.__)("Five Seconds","coblocks")},{value:6e3,label:Object(re.__)("Six Seconds","coblocks")},{value:7e3,label:Object(re.__)("Seven Seconds","coblocks")},{value:8e3,label:Object(re.__)("Eight Seconds","coblocks")},{value:9e3,label:Object(re.__)("Nine Seconds","coblocks")},{value:1e4,label:Object(re.__)("Ten Seconds","coblocks")}];function Ic(){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}}var Mc=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Ic()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).getAutoPlayHelp=e.getAutoPlayHelp.bind(pn()(e)),e}return ve()(n,[{key:"getAutoPlayHelp",value:function(e){var t=this.props.attributes.autoPlaySpeed/1e3,o=t>1?Object(re.__)("seconds","coblocks"):Object(re.__)("second","coblocks");return e?Object(re.sprintf)(Object(re.__)("Advancing after %1$d %2$s.","coblocks"),t,o):Object(re.__)("Automatically advance to the next slide.","coblocks")}},{key:"getDraggableHelp",value:function(e){return e?Object(re.__)("Dragging and flicking enabled.","coblocks"):Object(re.__)("Toggle to enable drag functionality.","coblocks")}},{key:"getArrowNavigationHelp",value:function(e){return e?Object(re.__)("Showing slide navigation arrows.","coblocks"):Object(re.__)("Toggle to show slide navigation arrows.","coblocks")}},{key:"getDotNavigationHelp",value:function(e){return e?Object(re.__)("Showing dot navigation.","coblocks"):Object(re.__)("Toggle to show dot navigation.","coblocks")}},{key:"getAlignCellsHelp",value:function(e){return e?Object(re.__)("Aligning slides to the left.","coblocks"):Object(re.__)("Aligning slides to the center.","coblocks")}},{key:"getPauseAutoplayOnHoverHelp",value:function(e){return e?Object(re.__)("Pausing autoplay when hovering.","coblocks"):Object(re.__)("Toggle to pause autoplay when hovered.","coblocks")}},{key:"getfreeScrollHelp",value:function(e){return e?Object(re.__)("Scrolling without fixed slides enabled.","coblocks"):Object(re.__)("Toggle to scroll without fixed slides.","coblocks")}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.autoPlay,c=t.autoPlaySpeed,r=t.draggable,a=t.freeScroll,i=t.pageDots,l=t.prevNextButtons,s=t.alignCells,u=t.pauseHover;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Slider settings","coblocks"),initialOpen:!1},Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Autoplay","coblocks"),checked:!!n,onChange:function(){return o({autoPlay:!n})},help:this.getAutoPlayHelp}),n&&Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.SelectControl,{label:Object(re.__)("Transition speed","coblocks"),value:c,onChange:function(e){return o({autoPlaySpeed:e})},options:Ac,className:"components-coblocks-gallery-inspector__autoplayspeed-select"}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Pause on hover","coblocks"),checked:u,onChange:function(){return o({pauseHover:!u})},help:this.getPauseAutoplayOnHoverHelp})),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Draggable","coblocks"),checked:!!r,onChange:function(){return o({draggable:!r})},help:this.getDraggableHelp}),r&&Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Free scroll","coblocks"),checked:!!a,onChange:function(){return o({freeScroll:!a})},help:this.getfreeScrollHelp}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Arrow navigation","coblocks"),checked:!!l,onChange:function(){return o({prevNextButtons:!l})},help:this.getArrowNavigationHelp}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Dot navigation","coblocks"),checked:!!i,onChange:function(){return o({pageDots:!i})},help:this.getDotNavigationHelp}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Align cells","coblocks"),checked:!!s,onChange:function(){return o({alignCells:!s})},help:this.getAlignCellsHelp})))}}]),n}(ae.Component);function Dc(){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}}var Lc=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Dc()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).setSizeControl=e.setSizeControl.bind(pn()(e)),e.setRadiusTo=e.setRadiusTo.bind(pn()(e)),e.setHeightTo=e.setHeightTo.bind(pn()(e)),e.state={temporaryInput:null},e}return ve()(n,[{key:"setRadiusTo",value:function(e){this.props.setAttributes({radius:e})}},{key:"setSizeControl",value:function(e){this.props.setAttributes({gridSize:e})}},{key:"setHeightTo",value:function(e){this.props.setAttributes({height:e})}},{key:"setTemporayInput",value:function(e){this.setState({temporaryInput:e})}},{key:"getThumbnailNavigationHelp",value:function(e){return e?Object(re.__)("Showing thumbnail navigation.","coblocks"):Object(re.__)("Toggle to show thumbnails.","coblocks")}},{key:"getResponsiveHeightHelp",value:function(e){return e?Object(re.__)("Percentage based height is activated.","coblocks"):Object(re.__)("Toggle for percentage based height.","coblocks")}},{key:"getLightboxHelp",value:function(e){return e?Object(re.__)("Image lightbox is enabled.","coblocks"):Object(re.__)("Toggle to enable the image lightbox.","coblocks")}},{key:"render",value:function(){var e=this,t=this.props,o=t.attributes,n=t.isSelected,c=t.setAttributes,r=o.align,a=o.gridSize,i=o.gutter,l=o.height,s=o.radius,u=o.thumbnails,b=o.responsiveHeight,d=o.lightbox,p=this.state.temporaryInput;return n&&Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Carousel settings","coblocks")},Object(ae.createElement)(Nc,Ie()({},this.props,{type:"grid",label:Object(re.__)("Size","coblocks"),onChange:this.setSizeControl,value:a,resetValue:"xlrg"})),null!==a&&("wide"===r||"full"===r)&&Object(ae.createElement)(bc,Ie()({},this.props,{label:Object(re.__)("Gutter","coblocks"),max:20})),"xlrg"!==a&&!r&&Object(ae.createElement)(bc,Ie()({},this.props,{label:Object(re.__)("Gutter","coblocks"),max:20})),i>0&&Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Rounded corners","coblocks"),value:s,onChange:this.setRadiusTo,min:0,max:20,step:1}),!b&&Object(ae.createElement)(ie.BaseControl,{label:Object(re.__)("Height in pixels","coblocks"),className:"block-height-control"},Object(ae.createElement)("input",{type:"number",className:"block-height-control__input",onChange:function(t){var o=""!==t.target.value?parseInt(t.target.value,10):void 0;if(o<0&&void 0!==o)return e.setTemporayInput(o),void e.setHeightTo(0);e.setTemporayInput(null),e.setHeightTo(o)},value:p||l,min:0,step:"10"})),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Thumbnails","coblocks"),checked:!!u,onChange:function(){return c({thumbnails:!u})},help:this.getThumbnailNavigationHelp}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Lightbox","coblocks"),checked:!!d,onChange:function(){return c({lightbox:!d})},help:this.getLightboxHelp})),Object(ae.createElement)(Mc,this.props)),Object(ae.createElement)(xe.InspectorAdvancedControls,null,Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Responsive height","coblocks"),checked:!!b,onChange:function(){return c({responsiveHeight:!b})},help:this.getResponsiveHeightHelp})))}}]),n}(ae.Component),Fc={};Fc.filter=Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"nonzero"},Object(ae.createElement)(ie.Path,{d:"m14.4266667 8.22222222.8355555-1.83111111 1.8311111-.83555555-1.8311111-.83555556-.8355555-1.83111111-.8355556 1.83111111-1.8311111.83555556 1.8311111.83555555zm-3.3333334.66666667-1.11111108-2.44444445-1.11111111 2.44444445-2.44444444 1.11111111 2.44444444 1.1111111 1.11111111 2.4444445 1.11111108-2.4444445 2.4444445-1.1111111z"}),Object(ae.createElement)(ie.Path,{d:"m16 8v8l-12 .0055032v-11.99999996h8v-2l-8.22222222-.00550324c-.97777778 0-1.77777778.8-1.77777778 1.77777778v12.44444442c0 .9777778.8 1.7777778 1.77777778 1.7777778h12.44444442c.9777778 0 1.7777778-.8 1.7777778-1.7777778v-8.2222222z"}))),Fc.vintage=Object(ae.createElement)(ie.SVG,{role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/SVG"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd",transform:"translate(1.328206 1.328206)"},Object(ae.createElement)(ie.Path,{d:"m0 0h21.3435872v21.3435872h-21.3435872z"}),Object(ae.createElement)(ie.Path,{d:"m16.6302117 11.0275201c-.2490085-.1422906-.5069102-.2579017-.7648119-.3557265.2579017-.0978248.5158034-.2134359.7648119-.3557264 1.707487-.98714094 2.6590553-2.77466638 2.6679484-4.61555077-.8092777-.46244439-1.7341664-.71145291-2.6768415-.71145291-.9071025 0-1.8230981.23122219-2.6590553.71145291-.2490085.14229058-.4802307.31126064-.6936666.48023071.0444658-.275688.0711453-.56026917.0711453-.84485033 0-1.97428182-1.0760725-3.69066196-2.6679484-4.61555074-1.59187586.92488878-2.66794839 2.64126892-2.66794839 4.61555074 0 .28458116.02667949.56916233.0711453.84485033-.21343588-.17786323-.44465807-.34683329-.69366659-.48912388-.83595717-.48023071-1.75195279-.7114529-2.65905524-.7114529-.93378194 0-1.86756389.24900851-2.67684157.7114529 0 1.8408844.95156826 3.62840983 2.66794841 4.61555074.24900851.1422906.50691019.2579017.76481187.3557265-.25790168.0978247-.51580336.2134358-.76481187.3557264-1.70748698.9871409-2.65905525 2.7746664-2.66794841 4.6155508.80927768.4624443 1.73416646.7114529 2.67684157.7114529.90710245 0 1.82309807-.2312222 2.65905524-.7114529.24900852-.1422906.48023071-.3112607.69366659-.4802308-.04446581.2845812-.0711453.5691624-.0711453.8537435 0 1.9742818 1.07607253 3.690662 2.66794839 4.6155508 1.5918759-.9248888 2.6679484-2.641269 2.6679484-4.6155508 0-.2845811-.0266795-.5691623-.0711453-.8448503.2134359.1778632.4446581.3379401.6936666.4802307.8359572.4802307 1.7519528.7114529 2.6590553.7114529.9337819 0 1.8675638-.2490085 2.6768415-.7114529-.0088931-1.8408844-.9604614-3.6284098-2.6679484-4.6155507zm-2.258863-3.45054663c.1867564-.15118374.3379402-.25790168.4802308-.32904697.5424828-.31126065 1.1561109-.48023071 1.7786322-.48023071.2401154 0 .4713376.02667948.7025598.07114529-.275688.80927768-.8359572 1.50294427-1.5829827 1.93870917-.1511838.08893162-.3201539.16007691-.5158034.24011536l-1.2272563.46244439c-.1511837-.40908542-.3646196-.77370504-.6403076-1.10275201zm-3.6995551-4.5799781c.5602692.64030762.8893162 1.47626479.8893162 2.33890144 0 .16897007-.0177864.36461962-.0444659.56026916l-.2045427 1.28061524c-.2134358-.03557265-.4268717-.06225213-.6403076-.06225213s-.4268717.02667948-.6314144.06225213l-.20454275-1.28061524c-.03557264-.19564954-.05335897-.39129909-.05335897-.56026916 0-.87152981.32904702-1.69859382.88931612-2.33890144zm-6.66097783 3.83295255c.23122219-.05335897.47133755-.07114529.71145291-.07114529.61362813 0 1.22725626.1600769 1.76973911.48023071.13339742.08003845.28458116.17786323.4357649.31126065l1.02271356.85374349c-.26679484.3201538-.47133755.67588026-.6225213 1.06717936l-1.22725626-.46244439c-.18675639-.08003845-.35572646-.16007691-.49801704-.24011536-.77370504-.44465807-1.32508104-1.12943149-1.59187588-1.93870917zm2.96142273 6.92777268c-.18675639.1511838-.33794013.2579017-.48023071.329047-.54248285.3112606-1.15611098.4802307-1.77863227.4802307-.24011536 0-.47133756-.0266795-.70255975-.0711453.275688-.8092777.83595717-1.5029443 1.58298272-1.9387092.15118374-.0889316.32015381-.1600769.51580336-.2401153l1.22725626-.4624444c.14229059.4090854.36461962.7825982.64030762 1.102752zm3.6995551 4.5888713c-.5602691-.6403077-.88931612-1.4762648-.88931612-2.3389015 0-.1778632.01778633-.3646196.05335897-.5780555l.19564955-1.2628289c.2045427.0355727.4179786.0622522.6403076.0622522.2134359 0 .4268718-.0266795.6314145-.0622522l.2045427 1.2806153c.0355726.1956495.053359.3912991.053359.5602691 0 .8715298-.329047 1.6985938-.8893162 2.3389015zm5.949525-3.7707004c-.6136282 0-1.2272563-.160077-1.7697391-.4802308-.160077-.0889316-.3023675-.1956495-.435765-.3023674l-1.0227135-.8537435c.2667948-.3201538.4802307-.6758803.6225213-1.0760726l1.2272563.4624444c.1956495.0711453.3646196.1511838.5069102.2312222.7559187.4357649 1.3072947 1.1294315 1.5829827 1.9387092-.2401154.0622521-.4802307.0800385-.7114529.0800385z",fill:"currentColor",fillRule:"nonzero"}))),Fc.grayscale=Object(ae.createElement)(ie.SVG,{role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/SVG"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h24v24h-24z"}),Object(ae.createElement)(ie.Path,{d:"m19 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2zm0 16-7-8v8h-7l7-8v-6h7z",fill:"currentColor",fillRule:"nonzero"}))),Fc.saturation=Object(ae.createElement)(ie.SVG,{role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/SVG"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd",transform:"translate(1.328206 1.328206)"},Object(ae.createElement)(ie.Path,{d:"m0 0h21.3435872v21.3435872h-21.3435872z"}),Object(ae.createElement)(ie.G,{fill:"currentColor"},Object(ae.createElement)(ie.Path,{d:"m17.7863227 7.72815721v-4.17089267h-4.1708927l-2.9436364-2.94363641-2.94363639 2.94363641h-4.17089267v4.17089267l-2.94363641 2.94363639 2.94363641 2.9436364v4.1708927h4.17089267l2.94363639 2.9436364 2.9436364-2.9436364h4.1708927v-4.1708927l2.9436364-2.9436364zm-1.7786323 5.14914039v3.1303928h-3.1303928l-2.205504 2.205504-2.20550399-2.205504h-3.1303928v-3.1303928l-2.20550401-2.205504 2.20550401-2.20550399v-3.1303928h3.1303928l2.20550399-2.20550401 2.205504 2.20550401h3.1303928v3.1303928l2.205504 2.20550399zm-5.3358968-7.09674272c-2.69462787 0-4.89123872 2.19661085-4.89123872 4.89123872 0 2.6946279 2.19661085 4.8912388 4.89123872 4.8912388 2.6946279 0 4.8912388-2.1966109 4.8912388-4.8912388 0-2.69462787-2.1966109-4.89123872-4.8912388-4.89123872zm0 8.00384522c-1.71638012 0-3.11260645-1.3962263-3.11260645-3.1126065 0-1.71638012 1.39622633-3.11260645 3.11260645-3.11260645 1.7163802 0 3.1126065 1.39622633 3.1126065 3.11260645 0 1.7163802-1.3962263 3.1126065-3.1126065 3.1126065z",fillRule:"nonzero"}),Object(ae.createElement)("circle",{cx:"10.671794",cy:"10.671794",r:"1.778632"})))),Fc.dark=Object(ae.createElement)(ie.SVG,{role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/SVG"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd",transform:"translate(1.170085 1.170085)"},Object(ae.createElement)(ie.Path,{d:"m0 0h21.6598307v21.6598307h-21.6598307z"}),Object(ae.createElement)(ie.Path,{d:"m9.02492947 3.60997179c3.97999393 0 7.21994353 3.23994968 7.21994353 7.21994361 0 3.9799939-3.2399496 7.2199435-7.21994353 7.2199435-.3068476 0-.6136952-.0180498-.91151788-.0631745 1.72376153-1.9493847 2.71650381-4.4944148 2.71650381-7.156769 0-2.66235423-.99274228-5.20738434-2.71650381-7.15676911.29782268-.04512464.60467028-.0631745.91151788-.0631745zm0-1.8049859c-1.64253716 0-3.1858001.45124648-4.51246473 1.21836548 2.69845391 1.5613128 4.51246473 4.46734009 4.51246473 7.80656403 0 3.3392239-1.81401082 6.2452512-4.51246473 7.806564 1.32666463.767119 2.86992757 1.2183654 4.51246473 1.2183654 4.98176103 0 9.02492943-4.0431684 9.02492943-9.0249294 0-4.9817611-4.0431684-9.02492951-9.02492943-9.02492951z",fill:"currentColor",fillRule:"nonzero"}))),Fc.sepia=Object(ae.createElement)(ie.SVG,{role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/SVG"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd",transform:"translate(1.8 1.8)"},Object(ae.createElement)(ie.Path,{d:"m0 0h20.4v20.4h-20.4z"}),Object(ae.createElement)(ie.Path,{d:"m5.95 9.35h-5.1v1.7h5.1zm1.8445-2.754-1.802-1.802-1.1985 1.1985 1.802 1.802zm3.2555-5.746h-1.7v5.1h1.7zm4.556 5.1425-1.1985-1.1985-1.802 1.802 1.1985 1.1985zm-1.156 3.3575v1.7h5.1v-1.7zm-4.25-1.7c-1.411 0-2.55 1.139-2.55 2.55s1.139 2.55 2.55 2.55 2.55-1.139 2.55-2.55-1.139-2.55-2.55-2.55zm2.4055 6.154 1.802 1.802 1.1985-1.1985-1.802-1.802zm-7.8115.6035 1.1985 1.1985 1.802-1.802-1.1985-1.1985zm4.556 5.1425h1.7v-5.1h-1.7z",fill:"currentColor",fillRule:"nonzero"}))),Fc.none=Object(ae.createElement)(ie.SVG,{role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/SVG"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h24v24h-24z"}),Object(ae.createElement)(ie.Path,{d:"m19 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2zm0 16h-14v-14h14zm-5.04-6.71-2.75 3.54-1.96-2.36-2.75 3.53h11z",fill:"currentColor",fillRule:"nonzero"})));var Vc=Fc;function Gc(){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}}var Uc=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Gc()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.filter,c=[{icon:Vc.none,title:Object(re.__)("Original","coblocks"),onClick:function(){o({filter:"none"})},isActive:"none"===n},{icon:Vc.grayscale,title:Object(re.__)("Grayscale filter","coblocks"),onClick:function(){o({filter:"grayscale"})},isActive:"grayscale"===n},{icon:Vc.sepia,title:Object(re.__)("Sepia filter","coblocks"),onClick:function(){o({filter:"sepia"})},isActive:"sepia"===n},{icon:Vc.saturation,title:Object(re.__)("Saturation filter","coblocks"),onClick:function(){o({filter:"saturation"})},isActive:"saturation"===n},{icon:Vc.dark,title:Object(re.__)("Dim filter","coblocks"),onClick:function(){o({filter:"dim"})},isActive:"dim"===n},{icon:Vc.vintage,title:Object(re.__)("Vintage filter","coblocks"),onClick:function(){o({filter:"vintage"})},isActive:"vintage"===n}];return Object(ae.createElement)(ie.Toolbar,null,Object(ae.createElement)(ie.DropdownMenu,{hasArrowIndicator:!0,icon:Vc.filter,label:Object(re.__)("Apply filter","coblocks"),controls:c,className:"components-coblocks-media-filter"}))}}]),n}(ae.Component);function Hc(){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}}var Wc=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Hc()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=!!this.props.attributes.images.length;return Object(ae.createElement)(xe.BlockControls,null,e&&Object(ae.createElement)(Uc,this.props))}}]),n}(ae.Component);function qc(){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}}var Yc=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(qc()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).onImageClick=e.onImageClick.bind(pn()(e)),e.onSelectCaption=e.onSelectCaption.bind(pn()(e)),e.onKeyDown=e.onKeyDown.bind(pn()(e)),e.bindContainer=e.bindContainer.bind(pn()(e)),e.saveCustomLink=e.saveCustomLink.bind(pn()(e)),e.state={captionSelected:!1,captionFocused:!1,isSaved:!1},e}return ve()(n,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onImageClick",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1,captionFocused:!1})}},{key:"onKeyDown",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[qe.BACKSPACE,qe.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"saveCustomLink",value:function(){this.setState({isSaved:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,o=t.isSelected,n=t.image,c=t.url,r=t.imgLink;n&&!c&&this.props.setAttributes({url:n.source_url,alt:n.alt_text}),this.state.captionSelected&&!o&&e.isSelected&&this.setState({captionSelected:!1,captionFocused:!1}),r&&!o&&e.isSelected&&this.setState({isSaved:!1})}},{key:"render",value:function(){var e,t=this.props,o=t.alt,n=t.caption,c=t.captions,r=t.fontSize,a=t.gutter,i=t.gutterMobile,l=t.id,s=t.isFirstItem,u=t.isLastItem,b=t.isSelected,d=t.linkTo,p=t.newClass,m=t.marginBottom,h=t.marginLeft,f=t.marginRight,g=t.marginTop,v=t.onMoveBackward,y=t.onMoveForward,O=t.onRemove,k=t.setAttributes,_=t.gutterUtility,j=t.shadow,w=t.supportsCaption,E=t.supportsMoving,C=void 0===E||E,x=t.verticalMoving,S=void 0!==x&&x,P=t.url,z=t["aria-label"],T=t.imgLink,R=Fe()(te()({},"has-shadow-".concat(j),"none"!==j||void 0!==j)),B=Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("img",{src:P,className:R,alt:o,"data-id":l,"data-imglink":T,onClick:this.onImageClick,tabIndex:"0",onKeyDown:this.onImageClick,"aria-label":z}),Object(St.isBlobURL)(P)&&Object(ae.createElement)(ie.Spinner,null)),N=p||"coblocks-gallery--figure",A=Fe()(N,(e={"is-selected":b,"is-transient":P&&0===P.indexOf("blob:")},te()(e,"".concat(_),_),te()(e,"has-margin-top-".concat(a),g&&a>0),te()(e,"has-margin-top-mobile-".concat(i),g&&i>0),te()(e,"has-margin-right-".concat(a),f&&a>0),te()(e,"has-margin-right-mobile-".concat(i),f&&i>0),te()(e,"has-margin-bottom-".concat(a),m&&a>0),te()(e,"has-margin-bottom-mobile-".concat(i),m&&i>0),te()(e,"has-margin-left-".concat(a),h&&a>0),te()(e,"has-margin-left-mobile-".concat(i),h&&i>0),e)),I={fontSize:r?r+"px":void 0};return Object(ae.createElement)("figure",{className:A,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.bindContainer},b&&Object(ae.createElement)(ae.Fragment,null,C&&Object(ae.createElement)("div",{className:"components-coblocks-gallery-item__move-menu"},Object(ae.createElement)(ie.IconButton,{icon:S?"arrow-up":"arrow-left",onClick:!s&&v,className:"coblocks-gallery-item__button",label:Object(re.__)("Move image backward","coblocks"),"aria-disabled":s,disabled:!b}),Object(ae.createElement)(ie.IconButton,{icon:S?"arrow-down":"arrow-right",onClick:!u&&y,className:"coblocks-gallery-item__button",label:Object(re.__)("Move image forward","coblocks"),"aria-disabled":u,disabled:!b})),Object(ae.createElement)("div",{className:"components-coblocks-gallery-item__remove-menu"},Object(ae.createElement)(ie.IconButton,{icon:"no-alt",onClick:O,className:"coblocks-gallery-item__button",label:Object(re.__)("Remove image","coblocks"),disabled:!b})),"custom"===d&&Object(ae.createElement)("form",{className:"components-coblocks-gallery-item__image-link",onSubmit:function(e){return e.preventDefault()}},Object(ae.createElement)(ie.Dashicon,{icon:"admin-links"}),Object(ae.createElement)(xe.URLInput,{value:T,onChange:function(e){return k({imgLink:e})}}),Object(ae.createElement)(ie.IconButton,{icon:this.state.isSaved?"saved":"editor-break",label:this.state.isSaved?Object(re.__)("Saving","coblocks"):Object(re.__)("Apply","coblocks"),onClick:this.saveCustomLink,type:"submit"}))),B,!0!==w||xe.RichText.isEmpty(n)&&!b||!c?null:Object(ae.createElement)(xe.RichText,{tagName:"figcaption",placeholder:Object(re.__)("Write caption…","coblocks"),className:"coblocks-gallery--caption",style:I,value:n,isSelected:this.state.captionSelected,onChange:function(e){return k({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),n}(ae.Component),Kc=Object(Ce.compose)([Object(Ye.withSelect)((function(e,t){var o=e("core").getMedia,n=t.id;return{image:n?o(n):null}}))])(Yc);function Xc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Jc(){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}}var Zc=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Jc()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).onSelectImages=e.onSelectImages.bind(pn()(e)),e.onUploadError=e.onUploadError.bind(pn()(e)),e.state={attachmentCaptions:null,imgLinks:null},e}return ve()(n,[{key:"selectCaption",value:function(e,t,o){if(!e.caption)return"";var n=Object(kt.find)(t,{id:e.id.toString()})||Object(kt.find)(t,{id:e.id}),c=n?n.caption:e.caption;if(!o)return c;var r=Object(kt.find)(o,{id:e.id});return r&&r.caption!==e.caption?e.caption:c}},{key:"selectImgLink",value:function(e,t,o){if(!e.id)return"";var n=Object(kt.find)(t,{id:e.id.toString()})||Object(kt.find)(t,{id:e.id}),c=n?n.imgLink:e.imgLink;if(!o)return c;var r=Object(kt.find)(o,{id:e.id});return r&&r.imgLink!==e.imgLink?e.imgLink:c}},{key:"onSelectImages",value:function(e){var t=this,o=this.props.attributes.images,n=this.state,c=n.attachmentCaptions,r=n.imgLinks;this.setState({attachmentCaptions:e.map((function(e){return{id:e.id,caption:e.caption}})),imgLinks:e.map((function(e){return{id:e.id,imgLink:e.imgLink}}))}),this.props.setAttributes({images:e.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Xc(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Xc(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},Pt(e),{caption:t.selectCaption(e,o,c),imgLink:t.selectImgLink(e,o,r)})}))})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"componentDidMount",value:function(){var e=this.props.attributes.images;if(Object(kt.every)(e,(function(e){var t=e.url;return Object(St.isBlobURL)(t)}))){var t=Object(kt.map)(e,(function(e){var t=e.url;return Object(St.getBlobByURL)(t)}));Object(kt.forEach)(e,(function(e){var t=e.url;return Object(St.revokeBlobURL)(t)})),Object(kn.mediaUpload)({filesList:t,onFileChange:this.onSelectImages,allowedTypes:["image"]})}}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.gutter,n=e.isSelected,c=t.images,r=!!c.length,a={marginTop:o+"px"};return Object(ae.createElement)("div",{style:a},Object(ae.createElement)(xe.MediaPlaceholder,{addToGallery:r,isAppender:r,className:"coblocks-gallery--figure",disableMediaButtons:r&&!n,icon:!r&&Object(ae.createElement)(xe.BlockIcon,{icon:this.props.icon}),labels:{title:!r&&Object(re.sprintf)(Object(re.__)("%s Gallery","coblocks"),this.props.label),instructions:!r&&Object(re.__)("Drag images, upload new ones or select files from your library.","coblocks")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:zt,multiple:!0,value:r?c:void 0,onError:this.onUploadError}))}}]),n}(ae.Component);function $c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Qc(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$c(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function er(){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}}var tr=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(er()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).onSelectImage=e.onSelectImage.bind(pn()(e)),e.onRemoveImage=e.onRemoveImage.bind(pn()(e)),e.setImageAttributes=e.setImageAttributes.bind(pn()(e)),e.onFocusCaption=e.onFocusCaption.bind(pn()(e)),e.onItemClick=e.onItemClick.bind(pn()(e)),e.state={selectedImage:null,captionFocused:!1},e}return ve()(n,[{key:"componentDidMount",value:function(){this.props.setAttributes({shadow:void 0})}},{key:"componentDidUpdate",value:function(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})}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e,captionFocused:!1})}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var o=xc()(t.props.attributes.images,(function(t,o){return e!==o}));t.setState({selectedImage:null}),t.props.setAttributes({images:o})}}},{key:"setImageAttributes",value:function(e,t){var o=this.props,n=o.attributes.images,c=o.setAttributes;n[e]&&c({images:[].concat(ce()(n.slice(0,e)),[Qc({},n[e],{},t)],ce()(n.slice(e+1)))})}},{key:"onFocusCaption",value:function(){this.state.captionFocused||this.setState({captionFocused:!0})}},{key:"onItemClick",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"render",value:function(){var e,t,o,n,c=this,r=this.props,a=r.attributes,i=r.className,l=r.isSelected,s=r.noticeUI,u=r.setAttributes,b=a.align,d=a.gridSize,p=a.gutter,m=a.gutterMobile,h=a.height,f=a.images,g=a.pageDots,v=a.prevNextButtons,y=a.primaryCaption,O=a.alignCells,k=a.thumbnails,_=a.responsiveHeight,j=a.lightbox,w=!!f.length,E=Fe.a.apply(void 0,["is-cropped"].concat(ce()(vc(a)),[(e={},te()(e,"align".concat(b),b),te()(e,"has-horizontal-gutter",p>0),te()(e,"has-no-dots",!g),te()(e,"has-no-arrows",!v),te()(e,"is-selected",l),te()(e,"has-no-thumbnails",!k),te()(e,"has-lightbox",j),e)])),C=Fe()("has-carousel","has-carousel-".concat(d),(t={"has-aligned-cells":O},te()(t,"has-margin-bottom-".concat(p),k&&p>0),te()(t,"has-margin-bottom-mobile-".concat(m),k&&m>0),t)),x=Fe()("carousel-nav",(o={},te()(o,"has-margin-top-".concat(p),p>0),te()(o,"has-margin-top-mobile-".concat(m),m>0),te()(o,"has-negative-margin-left-".concat(p),p>0),te()(o,"has-negative-margin-left-mobile-".concat(m),m>0),te()(o,"has-negative-margin-right-".concat(p),p>0),te()(o,"has-negative-margin-right-mobile-".concat(m),m>0),o)),S={draggable:!1,pageDots:!0,prevNextButtons:!0,wrapAround:!0,autoPlay:!1,cellAlign:O?"left":"center",arrowShape:{x0:10,x1:60,y1:50,x2:65,y2:45,x3:20},responsiveHeight:_,thumbnails:k},P={marginTop:p>0&&!_?p/2+"px":void 0},z=Fe()("coblocks--figure",(n={},te()(n,"has-margin-left-".concat(p),p>0),te()(n,"has-margin-left-mobile-".concat(m),m>0),te()(n,"has-margin-right-".concat(p),p>0),te()(n,"has-margin-right-mobile-".concat(m),m>0),n)),T=Object(ae.createElement)(ae.Fragment,null,w?null:s,Object(ae.createElement)(Zc,Ie()({},this.props,{label:Object(re.__)("Carousel","coblocks"),icon:nr,gutter:p})));return w?Object(ae.createElement)(ae.Fragment,null,l&&Object(ae.createElement)(Wc,this.props),l&&Object(ae.createElement)(Lc,this.props),s,Object(ae.createElement)(ie.ResizableBox,{size:{height:h,width:"100%"},className:Fe()({"is-selected":l,"has-responsive-height":_}),minHeight:"0",enable:{bottom:!0,bottomLeft:!1,bottomRight:!1,left:!1,right:!1,top:!1,topLeft:!1,topRight:!1},onResizeStop:function(e,t,o,n){u({height:parseInt(h+n.height,10)})}},Object(ae.createElement)("div",{className:i},Object(ae.createElement)("div",{className:E},Object(ae.createElement)(Pc.a,{className:C,disableImagesLoaded:!1,flickityRef:function(e){return c.flkty=e},options:S,reloadOnUpdate:!0,updateOnEachImageLoad:!0},f.map((function(e,t){var o=Object(re.sprintf)(Object(re.__)("image %1$d of %2$d in gallery","coblocks"),t+1,f.length);return Object(ae.createElement)("div",{className:"coblocks-gallery--item",key:e.id||e.url,onClick:c.onItemClick},Object(ae.createElement)(Kc,{url:e.url,alt:e.alt,id:e.id,gutter:p,gutterMobile:m,marginRight:!0,marginLeft:!0,isSelected:l&&c.state.selectedImage===t,onRemove:c.onRemoveImage(t),onSelect:c.onSelectImage(t),setAttributes:function(e){return c.setImageAttributes(t,e)},caption:e.caption,"aria-label":o,supportsCaption:!1,supportsMoving:!1}))})))))),k&&Object(ae.createElement)("div",{className:i},Object(ae.createElement)("div",{className:E,style:P},Object(ae.createElement)(Pc.a,{className:x,options:{asNavFor:".has-carousel",draggable:!1,pageDots:!0,prevNextButtons:!1,wrapAround:!0,autoPlay:!1,thumbnails:!1,cellAlign:"left"},disableImagesLoaded:!1,reloadOnUpdate:!0,flickityRef:function(e){return c.flkty=e},updateOnEachImageLoad:!0},f.map((function(e){return Object(ae.createElement)("div",{className:"coblocks--item-thumbnail",key:e.id||e.url},Object(ae.createElement)("figure",{className:z},Object(ae.createElement)("img",{src:e.url,alt:e.alt,"data-link":e.link,"data-id":e.id,className:e.id?"wp-image-".concat(e.id):null})))}))))),T,(!xe.RichText.isEmpty(y)||l)&&Object(ae.createElement)(xe.RichText,{tagName:"figcaption",placeholder:Object(re.__)("Write gallery caption…","coblocks"),value:y,className:"coblocks-gallery--caption coblocks-gallery--primary-caption",unstableOnFocus:this.onFocusCaption,onChange:function(e){return u({primaryCaption:e})},isSelected:this.state.captionFocused,keepPlaceholderOnFocus:!0,inlineToolbar:!0})):T}}]),n}(ae.Component),or=Object(Ce.compose)([ie.withNotices])(tr),nr=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"evenodd"},Object(ae.createElement)(ie.G,{fillRule:"nonzero"},Object(ae.createElement)(ie.Path,{d:"m18 3c1.1 0 2 .9 2 2v14c0 1.1-.9 2-2 2h-12c-1.1 0-2-.9-2-2v-14c0-1.1.9-2 2-2zm0 16v-14h-12v14zm3-14c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2zm0 12v-10zm-18 2c-1.1 0-2-.9-2-2v-10c0-1.1.9-2 2-2zm0-12v10zm10.7857143 6 3.2142857 5h-10l2.5-3.75 1.7857143 2.5083333z"})))),cr=function(e){var t,o,n,c,r=e.attributes,a=e.className,i=r.autoPlay,l=r.autoPlaySpeed,s=r.draggable,u=r.freeScroll,b=r.gridSize,d=r.gutter,p=r.gutterMobile,m=r.height,h=r.images,f=r.pageDots,g=r.pauseHover,v=r.prevNextButtons,y=r.primaryCaption,O=r.alignCells,k=r.thumbnails,_=r.responsiveHeight,j=r.lightbox,w=Fe()(a,{"has-responsive-height":_}),E=Fe.a.apply(void 0,["is-cropped"].concat(ce()(vc(r)),[{"has-horizontal-gutter":d>0,"has-lightbox":j}])),C=Fe()("has-carousel","has-carousel-".concat(b),(t={"has-aligned-cells":O},te()(t,"has-margin-bottom-".concat(d),k&&d>0),te()(t,"has-margin-bottom-mobile-".concat(p),k&&p>0),t)),x={height:m?m+"px":void 0},S=Fe()("coblocks-gallery--figure",(o={},te()(o,"has-margin-left-".concat(d),d>0),te()(o,"has-margin-left-mobile-".concat(p),p>0),te()(o,"has-margin-right-".concat(d),d>0),te()(o,"has-margin-right-mobile-".concat(p),p>0),o)),P={autoPlay:!(!i||!l)&&parseFloat(l),draggable:s,pageDots:f,prevNextButtons:v,wrapAround:!0,cellAlign:O?"left":"center",pauseAutoPlayOnHover:g,freeScroll:u,arrowShape:{x0:10,x1:60,y1:50,x2:65,y2:45,x3:20},thumbnails:k,responsiveHeight:_},z=Fe()("coblocks-gallery--caption","coblocks-gallery--primary-caption",{}),T=Fe()("carousel-nav",(n={},te()(n,"has-margin-top-".concat(d),d>0),te()(n,"has-margin-top-mobile-".concat(p),p>0),te()(n,"has-negative-margin-left-".concat(d),d>0),te()(n,"has-negative-margin-left-mobile-".concat(p),p>0),te()(n,"has-negative-margin-right-".concat(d),d>0),te()(n,"has-negative-margin-right-mobile-".concat(p),p>0),n)),R=Fe()("coblocks--figure",(c={},te()(c,"has-margin-left-".concat(d),d>0),te()(c,"has-margin-left-mobile-".concat(p),p>0),te()(c,"has-margin-right-".concat(d),d>0),te()(c,"has-margin-right-mobile-".concat(p),p>0),c)),B={asNavFor:".has-carousel",autoPlay:!1,contain:!0,cellAlign:"left",pageDots:!1,thumbnails:!1,draggable:s,prevNextButtons:!1,wrapAround:!1};if(!(h.length<=0))return Object(ae.createElement)("div",{className:w},Object(ae.createElement)("div",{className:E},Object(ae.createElement)("div",{className:C,style:_?void 0:x,"data-flickity":JSON.stringify(P)},h.map((function(e){var t=Object(ae.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(ae.createElement)("div",{key:e.id||e.url,className:"coblocks-gallery--item"},Object(ae.createElement)("figure",{className:S},t))}))),k?Object(ae.createElement)("div",{className:T,"data-flickity":JSON.stringify(B)},h.map((function(e){var t=Object(ae.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link});return Object(ae.createElement)("div",{key:e.id||e.url,className:"coblocks--item-thumbnail"},Object(ae.createElement)("figure",{className:R},t))}))):null),!xe.RichText.isEmpty(y)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"figcaption",className:z,value:y}))};function rr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ar(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?rr(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):rr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var ir={from:[{type:"block",blocks:["coblocks/gallery-collage","coblocks/gallery-masonry","coblocks/gallery-stacked","coblocks/gallery-offset","blockgallery/carousel","blockgallery/masonry","blockgallery/stacked","core/gallery"],transform:function(e){return Object(oe.createBlock)(_c.name,ar({},Oc(e),{gridSize:"lrg"}))}},{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=xc()(e,(function(e){var t=e.id,o=e.url;return Number.isInteger(t)&&o}));return t.length>0?Object(oe.createBlock)(_c.name,{images:t.map((function(e){return{index:e.id,url:e.url,alt:e.alt||"",caption:e.caption||""}})),ids:t.map((function(e){return e.id}))}):Object(oe.createBlock)(_c.name)}},{type:"prefix",prefix:":carousel",transform:function(e){return Object(oe.createBlock)(_c.name,{content:e})}}],to:["coblocks/gallery-collage","coblocks/gallery-masonry","coblocks/gallery-stacked","coblocks/gallery-offset","core/gallery"].map((function(e){return{type:"block",blocks:[e],transform:function(t){return Object(oe.createBlock)(e,ar({},Oc(t)))}}}))};function lr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var sr=_c.name,ur=_c.category,br=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?lr(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):lr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},gc,{},_c.attributes),dr={title:Object(re.__)("Carousel","coblocks"),description:Object(re.__)("Display multiple images in a beautiful carousel gallery.","coblocks"),attributes:br,icon:nr,keywords:["coblocks",Object(re.__)("gallery","coblocks"),Object(re.__)("photos","coblocks")],supports:{align:["wide","full"],html:!1,coBlocksSpacing:!0},example:{attributes:{gridSize:"lrg",gutter:5,images:[{url:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},{url:"https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg"}]}},transforms:ir,edit:or,save:cr,deprecated:Ec},pr=Object(xe.withColors)("backgroundColor",{textColor:"color"},{buttonColor:"background-color"});function mr(){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}}var hr=window.getComputedStyle,fr=Object(ie.withFallbackStyles)((function(e,t){var o=t.attributes,n=o.textColor,c=o.buttonColor,r=o.fontSize,a=o.customFontSize,i=e.querySelector('[contenteditable="true"]'),l=i?hr(i):null;return{fallbackButtonColor:c||!l?void 0:l.buttonColor,fallbackTextColor:n||!l?void 0:l.color,fallbackFontSize:r||a||!l?void 0:parseInt(l.fontSize)||void 0}})),gr=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(mr()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.buttonColor,o=e.fallbackButtonColor,n=e.fallbackFontSize,c=e.fallbackTextColor,r=e.fontSize,a=e.setButtonColor,i=e.setFontSize,l=e.setTextColor,s=e.textColor;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Text settings","coblocks"),className:"blocks-font-size"},Object(ae.createElement)(xe.FontSizePicker,{fallbackFontSize:n,value:r.size,onChange:i})),Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:s.color,onChange:l,label:Object(re.__)("Text color","coblocks")},{value:t.color,onChange:a,label:Object(re.__)("Button Color","coblocks")}]},Object(ae.createElement)(xe.ContrastChecker,{textColor:"#ffffff",backgroundColor:t.color,fallbackButtonColor:o,fallbackTextColor:c}))))}}]),n}(ae.Component),vr=Object(Ce.compose)([pr,fr,Object(xe.withFontSizes)("fontSize")])(gr);function yr(){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}}var Or=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(yr()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.textAlign,c=t.via;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(xe.AlignmentToolbar,{value:n,onChange:function(e){return o({textAlign:e})}}),Object(ae.createElement)(ie.Toolbar,null,Object(ae.createElement)("div",{className:"wp-block-coblocks-click-to-tweet__via-wrapper"},Object(ae.createElement)("label",{"aria-label":Object(re.__)("Twitter Username","coblocks"),className:"wp-block-coblocks-click-to-tweet__via-label",htmlFor:"wp-block-coblocks-click-to-tweet__via"},Co.at),Object(ae.createElement)("input",{"aria-label":Object(re.__)("Twitter Username","coblocks"),className:"wp-block-coblocks-click-to-tweet__via",id:"wp-block-coblocks-click-to-tweet__via",onChange:function(e){return o({via:e.target.value})},placeholder:Object(re.__)("Username","coblocks"),type:"text",value:c})))))}}]),n}(ae.Component);function kr(){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}}var _r=Object(Ye.withSelect)((function(e){return{postLink:(0,e("core/editor").getPermalink)()}})),jr=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(kr()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.postLink;t&&this.props.setAttributes({url:t})}},{key:"render",value:function(){var e,t=this.props,o=t.attributes,n=t.buttonColor,c=t.className,r=t.isSelected,a=t.setAttributes,i=t.textColor,l=t.fontSize,s=t.onReplace,u=o.buttonText,b=o.content,d=o.textAlign,p=Fe()(c,te()({},"has-text-align-".concat(d),d));return Object(ae.createElement)(ae.Fragment,null,r&&Object(ae.createElement)(Or,this.props),r&&Object(ae.createElement)(vr,this.props),Object(ae.createElement)("blockquote",{className:p},Object(ae.createElement)(xe.RichText,{tagName:"p",multiline:"false",placeholder:Object(re.__)("Add a quote to tweet…","coblocks"),value:b,formattingControls:[],className:Fe()("wp-block-coblocks-click-to-tweet__text",(e={"has-text-color":i.color},te()(e,i.class,i.class),te()(e,l.class,l.class),e)),style:{color:i.color,fontSize:l.size?l.size+"px":void 0},onChange:function(e){return a({content:e})},keepPlaceholderOnFocus:!0,onRemove:function(e){var t=0===b.length||1===b.length;!e&&t&&s([])}}),Object(ae.createElement)(xe.RichText,{tagName:"span",multiline:"false",placeholder:Object(re.__)("Add button…","coblocks"),value:u,formattingControls:[],className:Fe()("wp-block-coblocks-click-to-tweet__twitter-btn",te()({"has-button-color":n.color},n.class,n.class)),style:{backgroundColor:n.color},onChange:function(e){return a({buttonText:e})},keepPlaceholderOnFocus:!0})))}}]),n}(ae.Component),wr=Object(Ce.compose)([_r,pr,Object(xe.withFontSizes)("fontSize")])(jr),Er=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m19.2492707 2.06443084c-.71118.31259774-1.4705755.52554993-2.2701507.62278471.8148435-.49099543 1.4416461-1.26485565 1.738172-2.18818419-.7642171.4459942-1.6112043.77064584-2.5128358.9514543-.7200195-.77064584-1.746208-1.25280174-2.8857031-1.25280174-2.1833626 0-3.95367835 1.77031574-3.95367835 3.95126759 0 .31340134.03616169.61474877.10205633.90323872-3.28669604-.15509348-6.19972127-1.73335046-8.14923829-4.11921856-.34313428.58019426-.53519305 1.25440893-.53519305 1.98889308 0 1.37414431.69912606 2.58194484 1.75826185 3.29151761-.64849969-.02089343-1.2584269-.19929111-1.79040557-.49501339v.04901918c0 1.9165697 1.36048323 3.5149165 3.17097863 3.87894421-.33188398.08919884-.6822506.13741443-1.04145674.13741443-.25232826 0-.4942098-.0241078-.73609134-.06910901.50706728 1.56941742 1.96478529 2.71373412 3.69974293 2.74587782-1.35003652 1.0599394-3.06088637 1.6915636-4.9035255 1.6915636-.31340133 0-.62599907-.0184826-.940204-.0538407 1.75906544 1.1202089 3.83153221 1.7751373 6.07275355 1.7751373 7.27573255 0 11.24950075-6.02373437 11.24950075-11.23905401 0-.16795098 0-.33750913-.0120539-.5062637.772253-.55367569 1.4464677-1.25360534 1.9768392-2.04755538z",transform:"translate(2.272705 3.808594)"})),Cr=o(54),xr=function(e){var t,o=e.attributes,n=o.buttonColor,c=o.buttonText,r=o.customButtonColor,a=o.customTextColor,i=o.content,l=o.customFontSize,s=o.fontSize,u=o.textColor,b=o.textAlign,d=o.url,p=o.via,m=p?"&via=".concat(p):"",h="http://twitter.com/share?&text=".concat(encodeURIComponent(i),"&url=").concat(d).concat(m),f=Object(xe.getColorClassName)("color",u),g=Object(xe.getFontSizeClass)(s),v=Fe()("wp-block-coblocks-click-to-tweet__text",(t={"has-text-color":u||a},te()(t,g,g),te()(t,f,f),t)),y=Fe()(te()({},"has-text-align-".concat(b),b)),O={fontSize:g?void 0:l,color:f?void 0:a},k=Object(xe.getColorClassName)("background-color",n),_=Fe()("wp-block-coblocks-click-to-tweet__twitter-btn",te()({"has-button-color":n||r},k,k)),j={backgroundColor:k?void 0:r};return!xe.RichText.isEmpty(i)&&Object(ae.createElement)("blockquote",{className:y},Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:v,style:O,value:i}),Object(ae.createElement)(xe.RichText.Content,{tagName:"a",className:_,style:j,value:c,href:h,target:"_blank",rel:"noopener noreferrer"}))},Sr={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content,o=Object(Yt.create)({html:t});return o.text=o.text.slice(0,280),[Object(oe.createBlock)(Cr.name,{content:Object(Yt.toHTMLString)({value:o})})]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,o=e.citation,n=[Object(Yt.create)({html:t}),Object(Yt.create)({html:o})];return n[0].text=n[0].text.slice(0,280-n[1].text.length),[Object(oe.createBlock)(Cr.name,{content:Object(Yt.toHTMLString)({value:n[0]})+Object(Yt.toHTMLString)({value:n[1]})})]}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value,o=e.citation,n=[Object(Yt.create)({html:t}),Object(Yt.create)({html:o})];return n[0].text=n[0].text.slice(0,280-n[1].text.length),[Object(oe.createBlock)(Cr.name,{content:Object(Yt.toHTMLString)({value:n[0]})+Object(Yt.toHTMLString)({value:n[1]})})]}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(oe.createBlock)("core/paragraph",{content:t})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.content;return Object(oe.createBlock)("core/pullquote",{value:"<p>".concat(t,"</p>")})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.content;return Object(oe.createBlock)("core/quote",{value:"<p>".concat(t,"</p>")})}}]},Pr=[{attributes:Cr.attributes,save:function(e){var t,o=e.attributes,n=o.buttonColor,c=o.buttonText,r=o.customButtonColor,a=o.customTextColor,i=o.content,l=o.customFontSize,s=o.fontSize,u=o.textColor,b=o.textAlign,d=o.url,p=o.via,m=p?"&via=".concat(p):"",h="http://twitter.com/share?&text=".concat(encodeURIComponent(i),"&url=").concat(d).concat(m),f=Object(xe.getColorClassName)("color",u),g=Object(xe.getFontSizeClass)(s),v=Fe()("wp-block-coblocks-click-to-tweet__text",(t={"has-text-color":u||a},te()(t,g,g),te()(t,f,f),t)),y={fontSize:g?void 0:l,color:f?void 0:a},O=Object(xe.getColorClassName)("background-color",n),k=Fe()("wp-block-coblocks-click-to-tweet__twitter-btn",te()({"has-button-color":n||r},O,O)),_={backgroundColor:O?void 0:r};return!xe.RichText.isEmpty(i)&&Object(ae.createElement)("blockquote",{style:{textAlign:b}},Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:v,style:y,value:i}),Object(ae.createElement)(xe.RichText.Content,{tagName:"a",className:k,style:_,value:c,href:h,target:"_blank",rel:"noopener noreferrer"}))}}],zr=Cr.name,Tr=Cr.category,Rr=Cr.attributes,Br={title:Object(re.__)("Click to Tweet","coblocks"),description:Object(re.__)("Add a quote for readers to tweet via Twitter.","coblocks"),icon:Er,keywords:["coblocks",Object(re.__)("share","coblocks"),Object(re.__)("twitter","coblocks")],example:{attributes:{content:Object(re.__)("The easiest way to promote and advertise your blog, website, and business on Twitter.","coblocks")}},attributes:Rr,transforms:Sr,edit:wr,save:xr,deprecated:Pr},Nr=o(50);function Ar(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ir(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ar(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ar(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Mr=[{attributes:Ir({},gc,{},$n,{},Nr.attributes,{gutter:{type:"number",default:2}}),migrate:function(e){var t="";switch(e.gutter){case 0:t="no";break;case 1:case 2:t="small";break;case 3:t="large";break;case 4:t="huge"}return Ir({},e,{gutter:t})},save:function(e){var t,o=e.attributes,n=o.captionStyle,c=o.captions,r=o.gutter,a=o.filter,i=o.images,l=o.linkTo,s=o.rel,u=o.target,b=o.shadow,d=o.lightbox,p=Fe()("wp-block-coblocks-gallery-collage__figure",te()({},"shadow-".concat(b),b&&"none"!==b));return Object(ae.createElement)("div",{className:Fe()(o.className,(t={},te()(t,"has-filter-".concat(a),"none"!==a),te()(t,"has-caption-style-".concat(n),void 0!==n),te()(t,"has-lightbox",d),t))},Object(ae.createElement)("ul",null,i.sort((function(e,t){return parseInt(e.index)-parseInt(t.index)})).map((function(e,t){var n;switch(l){case"media":n=e.url;break;case"attachment":n=e.link}e.imgLink&&(n=e.imgLink);var a,i=Fe()(e.id&&["wp-image-".concat(e.id)]),b=void 0===e.url?null:Object(ae.createElement)("img",{src:e.url,alt:e.alt,"data-index":e.index,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:i});switch(t){case 0:a="pb-".concat(r," sm:pb-").concat(r," lg:pb-").concat(r);break;case 1:a="pb-".concat(r," sm:pb-").concat(r," lg:pb-").concat(r," pl-").concat(r," sm:pl-").concat(r," lg:pl-").concat(r);break;case 2:case 3:case 4:a="pl-".concat(r," sm:pl-").concat(r," lg:pl-").concat(r)}if(o.className&&o.className.includes("is-style-tiled"))switch(t){case 0:a="";break;case 1:a="pl-".concat(r," sm:pl-").concat(r," lg:pl-").concat(r);break;case 2:a="pt-".concat(r," sm:pt-").concat(r," lg:pt-").concat(r," pr-").concat(r," sm:pr-").concat(r," lg:pr-").concat(r);break;case 3:a="pt-".concat(r," sm:pt-").concat(r," lg:pt-").concat(r)}return o.className&&o.className.includes("is-style-layered")&&(a=null),Object(ae.createElement)("li",{key:"image-".concat(t),className:Fe()("wp-block-coblocks-gallery-collage__item",a)},b&&Object(ae.createElement)("figure",{className:p},n?Object(ae.createElement)("a",{href:n,target:u,rel:s},b):b,c&&e.caption&&Object(ae.createElement)(xe.RichText.Content,{tagName:"figcaption",className:"wp-block-coblocks-gallery-collage__caption",value:e.caption})))}))))}}],Dr=[{value:"dark",label:Object(re.__)("Dark","coblocks")},{value:"light",label:Object(re.__)("Light","coblocks")},{value:"none",label:Object(re.__)("None","coblocks")}],Lr=[{value:"none",label:Object(re.__)("None","coblocks")},{value:"media",label:Object(re.__)("Media file","coblocks")},{value:"attachment",label:Object(re.__)("Attachment page","coblocks")},{value:"custom",label:Object(re.__)("Custom URL","coblocks")}];function Fr(){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}}var Vr=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Fr()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).setNewTab=e.setNewTab.bind(pn()(e)),e.setLinkRel=e.setLinkRel.bind(pn()(e)),e.setLinkTo=e.setLinkTo.bind(pn()(e)),e}return ve()(n,[{key:"setLinkTo",value:function(e){this.props.setAttributes({linkTo:e})}},{key:"setLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"setNewTab",value:function(e){var t=this.props.attributes.rel,o=e?"_blank":void 0,n=t;o&&!t?n="noreferrer noopener":o||"noreferrer noopener"!==t||(n=void 0),this.props.setAttributes({target:o,rel:n})}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.lightbox,c=t.linkTo,r=t.target,a=t.rel;return Object(ae.createElement)(ae.Fragment,null,!n&&Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Link settings","coblocks"),initialOpen:!1},Object(ae.createElement)(ie.SelectControl,{label:Object(re.__)("Link to","coblocks"),value:c,options:Lr,onChange:this.setLinkTo}),"none"!==c&&Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Open in new tab","coblocks"),onChange:this.setNewTab,checked:"_blank"===r}),Object(ae.createElement)(ie.TextControl,{label:Object(re.__)("Link rel","coblocks"),value:a,onChange:function(e){return o({rel:e})}}))))}}]),n}(ae.Component);function Gr(){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}}var Ur=[{value:1,label:Object(re.__)("S","coblocks"),tooltip:Object(re.__)("Small","coblocks")},{value:2,label:Object(re.__)("M","coblocks"),tooltip:Object(re.__)("Medium","coblocks")},{value:3,label:Object(re.__)("L","coblocks"),tooltip:Object(re.__)("Large","coblocks")},{value:4,label:Object(re.__)("XL","coblocks"),tooltip:Object(re.__)("Extra Large","coblocks")}],Hr={value:0,label:Object(re.__)("None","coblocks"),tooltip:Object(re.__)("None","coblocks")},Wr=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Gr()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.advancedMaxValue,o=e.advancedMinValue,n=e.currentOption,c=e.label,r=e.onChange,a=e.options,i=e.showAdvancedControls,l=e.showIcons,s=e.showNoneOption,u=a||Ur;return s&&(u=[Hr].concat(ce()(u))),i&&!1!==o&&!1!==t?Object(ae.createElement)(ie.RangeControl,{label:c,value:n,onChange:function(e){return r(e)},min:o,max:t}):Object(ae.createElement)(ie.BaseControl,{id:"coblocks-option-selector-".concat(Object(kt.kebabCase)(c)),label:c},Object(ae.createElement)(ie.PanelRow,null,Object(ae.createElement)(ie.ButtonGroup,{"aria-label":c},u.map((function(e){return Object(ae.createElement)(ie.Tooltip,{key:"option-".concat(e.value),text:e.tooltip},Object(ae.createElement)(ie.Button,{isLarge:!0,isSecondary:n!==e.value,isPrimary:n===e.value,"aria-pressed":n===e.value,onClick:function(){return r(e.value)},"aria-label":e.tooltip},l?e.icon:e.label))})))))}}]),n}(ae.Component),qr=[{value:"no",label:Object(re.__)("None","coblocks"),shortName:Object(re.__)("None","coblocks")},{value:"small",label:Object(re.__)("S","coblocks"),tooltip:Object(re.__)("Small","coblocks")},{value:"medium",label:Object(re.__)("M","coblocks"),tooltip:Object(re.__)("Medium","coblocks")},{value:"large",label:Object(re.__)("L","coblocks"),tooltip:Object(re.__)("Large","coblocks")},{value:"huge",label:Object(re.__)("XL","coblocks"),tooltip:Object(re.__)("Huge","coblocks")}];function Yr(){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}}var Kr=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Yr()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).setCaptionStyleTo=e.setCaptionStyleTo.bind(pn()(e)),e.setShadowTo=e.setShadowTo.bind(pn()(e)),e}return ve()(n,[{key:"setCaptionStyleTo",value:function(e){this.props.setAttributes({captionStyle:e})}},{key:"getCaptionsHelp",value:function(e){return e?Object(re.__)("Showing captions for each media item.","coblocks"):Object(re.__)("Toggle to show media captions.","coblocks")}},{key:"setShadowTo",value:function(e){this.props.setAttributes({shadow:e})}},{key:"getLightboxHelp",value:function(e){return e?Object(re.__)("Image lightbox is enabled.","coblocks"):Object(re.__)("Toggle to enable the image lightbox.","coblocks")}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=e.enableGutter,c=e.enableCaptions,r=t.gutter,a=t.shadow,i=t.captions,l=t.captionStyle,s=t.lightbox,u=[{value:"sm",label:Object(re.__)("S","coblocks"),tooltip:Object(re.__)("Small","coblocks")},{value:"md",label:Object(re.__)("M","coblocks"),tooltip:Object(re.__)("Medium","coblocks")},{value:"lg",label:Object(re.__)("L","coblocks"),tooltip:Object(re.__)("Large","coblocks")}];return Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Collage settings","coblocks")},n&&Object(ae.createElement)(Wr,{label:Object(re.__)("Gutter","coblocks"),currentOption:r,options:qr,onChange:function(e){return o({gutter:e})}}),!n&&Object(ae.createElement)(Wr,{label:Object(re.__)("Shadow","coblocks"),options:u,currentOption:a,showNoneOption:!0,onChange:function(e){return o({shadow:e})}}),c&&Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Captions","coblocks"),checked:!!i,onChange:function(){return o({captions:!i})},help:this.getCaptionsHelp}),i&&Object(ae.createElement)(ie.SelectControl,{label:Object(re.__)("Caption style","coblocks"),value:l,onChange:this.setCaptionStyleTo,options:Dr}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Lightbox","coblocks"),checked:!!s,onChange:function(){return o({lightbox:!s})},help:this.getLightboxHelp})),Object(ae.createElement)(Vr,this.props))}}]),n}(ae.Component);function Xr(){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}}var Jr=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Xr()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=!!this.props.attributes.images.filter((function(e){return void 0!==e.id})).length;return Object(ae.createElement)(xe.BlockControls,null,e&&Object(ae.createElement)(Uc,this.props))}}]),n}(ae.Component);function Zr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function $r(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Zr(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Zr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Qr(){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}}var ea=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Qr()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).saveCustomLink=e.saveCustomLink.bind(pn()(e)),e.state={images:[],selectedImage:null,lastGutterValue:null},e.setupImageLocations=e.setupImageLocations.bind(pn()(e)),e.onSelectImage=e.onSelectImage.bind(pn()(e)),e.onUploadError=e.onUploadError.bind(pn()(e)),e.uploadImage=e.uploadImage.bind(pn()(e)),e.replaceImage=e.replaceImage.bind(pn()(e)),e.removeImage=e.removeImage.bind(pn()(e)),e}return ve()(n,[{key:"componentDidMount",value:function(){this.setupImageLocations()}},{key:"componentDidUpdate",value:function(e){this.props.className!==e.className&&(this.setupImageLocations(),this.props.className.includes("is-style-layered")?(this.setState({lastGutterValue:this.props.attributes.gutter}),this.props.setAttributes({gutter:0})):(this.props.setAttributes({shadow:"none",gutter:this.state.lastGutterValue||this.props.attributes.gutter}),this.setState({lastGutterValue:null}))),this.props.isSelected!==e.isSelected&&!1===this.props.isSelected&&this.setState({selectedImage:null})}},{key:"setupImageLocations",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.props.attributes.images,o=this.props.className.includes("is-style-tiled")||this.props.className.includes("is-style-layered")?4:5,n=[],c=function(e){n.push(t.find((function(t){return parseInt(t.index)===parseInt(e)}))||{})},r=0;r<o;r++)c(r);this.props.setAttributes({images:n}),this.setState({images:n})}},{key:"onSelectImage",value:function(e){this.state.selectedImage!==e&&this.setState({selectedImage:e})}},{key:"uploadImage",value:function(e,t){var o=this;Object(kn.mediaUpload)({allowedTypes:["image"],filesList:e,onFileChange:function(e){var n=be()(e,1)[0];return o.replaceImage(n,t)},onError:this.onUploadError})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"replaceImage",value:function(e,t){var o=this.props.attributes,n=[].concat(ce()(o.images.filter((function(e){return parseInt(e.index)!==parseInt(t)}))),[$r({},Pt(e),{index:t})]);this.setupImageLocations(n)}},{key:"removeImage",value:function(e){var t=this.props.attributes,o=ce()(t.images.filter((function(t){return parseInt(t.index)!==parseInt(e)})));this.setupImageLocations(o)}},{key:"updateImageAttributes",value:function(e,t){var o=this.props.attributes,n=o.images.filter((function(t){return parseInt(t.index)===parseInt(e)})).pop(),c=[].concat(ce()(o.images.filter((function(t){return parseInt(t.index)!==parseInt(e)}))),[Object.assign({},n,t)]);this.setupImageLocations(c)}},{key:"saveCustomLink",value:function(){this.setState({isSaved:!0})}},{key:"renderImage",value:function(e){var t=this,o=this.props.attributes.images.filter((function(t){return parseInt(t.index)===parseInt(e)})).pop()||{},n=this.props.isSelected&&this.state.selectedImage===o.index,c=!this.props.className.includes("is-style-layered"),r=Object(ae.createElement)(ie.DropZone,{onFilesDrop:function(o){return t.uploadImage(o,e)},label:Object(re.__)("Drop image to replace","coblocks")});return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("a",{onClick:function(){return t.onSelectImage(o.index)}},Object(ae.createElement)("figure",{className:Fe()(te()({"wp-block-coblocks-gallery-collage__figure":!0,"is-transient":Object(St.isBlobURL)(o.url),"is-selected":n},"shadow-".concat(this.props.attributes.shadow),this.props.attributes.shadow))},n&&Object(ae.createElement)("div",{className:"components-coblocks-gallery-item__remove-menu"},Object(ae.createElement)(ie.IconButton,{icon:"no-alt",onClick:function(){return t.removeImage(e)},className:"coblocks-gallery-item__button",label:Object(re.__)("Remove image","coblocks"),disabled:!n})),this.state.selectedImage===o.index&&"custom"===this.props.attributes.linkTo&&Object(ae.createElement)("form",{className:"components-coblocks-gallery-item__image-link",onSubmit:function(e){return e.preventDefault()}},Object(ae.createElement)(ie.Dashicon,{icon:"admin-links"}),Object(ae.createElement)(xe.URLInput,{value:o.imgLink,onChange:function(o){return t.updateImageAttributes(e,{imgLink:o})}}),Object(ae.createElement)(ie.IconButton,{icon:this.state.isSaved?"saved":"editor-break",label:this.state.isSaved?Object(re.__)("Saving","coblocks"):Object(re.__)("Apply","coblocks"),onClick:this.saveCustomLink,type:"submit"})),r,Object(St.isBlobURL)(o.url)&&Object(ae.createElement)(ie.Spinner,null),Object(ae.createElement)("img",{src:o.url,alt:o.alt}),c&&this.props.attributes.captions&&(o.caption||n)&&Object(ae.createElement)(xe.RichText,{tagName:"figcaption",placeholder:Object(re.__)("Write caption…","coblocks"),className:"coblocks-gallery--caption",value:o.caption,onChange:function(o){return t.updateImageAttributes(e,{caption:o})},isSelected:n,inlineToolbar:!0}))))}},{key:"renderPlaceholder",value:function(e){var t=this,o=!!(this.props.attributes.images.filter((function(t){return parseInt(t.index)===parseInt(e)})).pop()||!1);return Object(ae.createElement)(xe.MediaPlaceholder,{addToGallery:!0,className:Fe()("wp-block-coblocks-gallery-collage__figure",te()({},"shadow-".concat(this.props.attributes.shadow),this.props.attributes.shadow)),allowedTypes:["image"],disableDropZone:o,disableMediaButtons:o,accept:"image/*",multiple:!1,icon:!1,labels:{title:" ",instructions:" "},onSelect:function(o){return t.replaceImage(o,e)},onError:this.onUploadError})}},{key:"render",value:function(){var e,t=this,o=this.props,n=o.attributes,c=o.className,r=o.noticeUI,a=n.captions,i=n.captionStyle,l=n.filter,s=n.gutter,u=n.lightbox,b=!c.includes("is-style-layered"),d=!c.includes("is-style-layered");return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(Jr,this.props),Object(ae.createElement)(Kr,Ie()({},this.props,{enableGutter:b,enableCaptions:d})),r,Object(ae.createElement)("div",{className:Fe()(c,(e={},te()(e,"has-".concat(s,"-gutter"),s),te()(e,"has-filter-".concat(l),"none"!==l),te()(e,"has-caption-style-".concat(i),a&&void 0!==i),te()(e,"has-lightbox",u),e))},Object(ae.createElement)("ul",null,this.state.images.map((function(e,o){var n=e.index||o;return Object(ae.createElement)("li",{key:"image-".concat(n),className:Fe()("wp-block-coblocks-gallery-collage__item","item-".concat(o+1))},e.url?t.renderImage(n):null,t.renderPlaceholder(n))})))))}}]),n}(ae.Component),ta=Object(Ce.compose)([ie.withNotices])(ea),oa=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"nonzero"},Object(ae.createElement)(ie.Path,{d:"m21 7c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2h-12c-1.1 0-2-.9-2-2v-12c0-1.1.9-2 2-2zm0 14v-12h-12v12zm-8.5-4.33 1.69 2.26 2.48-3.1 3.33 4.17h-10z"}),Object(ae.createElement)("path",{d:"m1 3c0-1.1.9-2 2-2h8c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-1.96984863c-.01000276 0-.02005334-.0000771-.03015137-.0002309v-2.0503229l.05102539.0505538h1.94897461v-8h-8v2h-2z",transform:"matrix(0 -1 1 0 0 14)"}),Object(ae.createElement)(ie.G,null,Object(ae.createElement)(ie.Path,{d:"m17 5c0-1.1.9-2 2-2h4v2h-4v2h-2z"}),Object(ae.createElement)(ie.Path,{d:"m3 19c0-1.1.9-2 2-2h4v2h-4v4h-2z"})))),na=function(e){var t,o=e.attributes,n=e.className,c=o.captions,r=o.captionStyle,a=o.filter,i=o.gutter,l=o.images,s=o.lightbox,u=o.linkTo,b=o.rel,d=o.shadow,p=o.target,m=Fe()("wp-block-coblocks-gallery-collage__figure",te()({},"shadow-".concat(d),d&&"none"!==d));return Object(ae.createElement)("div",{className:Fe()(n,(t={},te()(t,"has-".concat(i,"-gutter"),i),te()(t,"has-filter-".concat(a),"none"!==a),te()(t,"has-caption-style-".concat(r),c&&void 0!==r),te()(t,"has-lightbox",s),t))},Object(ae.createElement)("ul",null,l.sort((function(e,t){return parseInt(e.index)-parseInt(t.index)})).map((function(e,t){var o;switch(u){case"media":o=e.url;break;case"attachment":o=e.link}e.imgLink&&(o=e.imgLink);var n=Fe()(e.id&&["wp-image-".concat(e.id)]),r=void 0===e.url?null:Object(ae.createElement)("img",{src:e.url,alt:e.alt,"data-index":e.index,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:n});return Object(ae.createElement)("li",{key:"image-".concat(t),className:Fe()("wp-block-coblocks-gallery-collage__item","item-".concat(t+1))},r&&Object(ae.createElement)("figure",{className:m},o?Object(ae.createElement)("a",{href:o,target:p,rel:b},r):r,c&&e.caption&&Object(ae.createElement)(xe.RichText.Content,{tagName:"figcaption",className:"wp-block-coblocks-gallery-collage__caption",value:e.caption})))}))))};function ca(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var ra={from:[{type:"block",blocks:["coblocks/gallery-carousel","coblocks/gallery-masonry","coblocks/gallery-stacked","coblocks/gallery-offset","blockgallery/carousel","blockgallery/masonry","blockgallery/stacked","core/gallery"],transform:function(e){return Object(oe.createBlock)(Nr.name,Oc(e))}},{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=xc()(e,(function(e){var t=e.id,o=e.url;return Number.isInteger(t)&&o}));return t.length>0?Object(oe.createBlock)(Nr.name,{images:t.map((function(e){return{index:e.id,url:e.url,alt:e.alt||"",caption:e.caption||""}})),ids:t.map((function(e){return e.id}))}):Object(oe.createBlock)(Nr.name)}},{type:"prefix",prefix:":collage",transform:function(e){return Object(oe.createBlock)(Nr.name,{content:e})}}],to:["coblocks/gallery-carousel","coblocks/gallery-masonry","coblocks/gallery-stacked","coblocks/gallery-offset","core/gallery"].map((function(e){return{type:"block",blocks:[e],transform:function(t){return Object(oe.createBlock)(e,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ca(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ca(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},Oc(t)))}}}))};function aa(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var ia=Nr.name,la=Nr.category,sa=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?aa(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):aa(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},gc,{},Nr.attributes),ua={title:Object(re.__)("Collage","coblocks"),description:Object(re.__)("Assemble images into a beautiful collage gallery.","coblocks"),icon:oa,keywords:["coblocks",Object(re.__)("gallery","coblocks"),Object(re.__)("photos","coblocks")],styles:[{name:"default",label:Object(re.__)("Default","coblocks"),isDefault:!0},{name:"tiled",label:Object(re.__)("Tiled","coblocks")},{name:"layered",label:Object(re.__)("Layered","coblocks")}],supports:{align:["wide","full"]},example:{attributes:{gutter:1,images:[{index:0,url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{index:1,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},{index:2,url:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},{index:3,url:"https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg"},{index:4,url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg"}]}},attributes:sa,transforms:ra,edit:ta,save:na,deprecated:Mr},ba=o(79),da={paddingTop:{type:"number"},paddingRight:{type:"number"},paddingBottom:{type:"number"},paddingLeft:{type:"number"},paddingTopTablet:{type:"number"},paddingRightTablet:{type:"number"},paddingBottomTablet:{type:"number"},paddingLeftTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRightMobile:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeftMobile:{type:"number"},paddingUnit:{type:"string",default:"px"},paddingSize:{type:"string",default:"no"},paddingSyncUnits:{type:"boolean",default:!1},paddingSyncUnitsTablet:{type:"boolean",default:!0},paddingSyncUnitsMobile:{type:"boolean",default:!0},marginTop:{type:"number"},marginRight:{type:"number"},marginBottom:{type:"number"},marginLeft:{type:"number"},marginTopTablet:{type:"number"},marginRightTablet:{type:"number"},marginBottomTablet:{type:"number"},marginLeftTablet:{type:"number"},marginTopMobile:{type:"number"},marginRightMobile:{type:"number"},marginBottomMobile:{type:"number"},marginLeftMobile:{type:"number"},marginUnit:{type:"string",default:"px"},marginSize:{type:"string",default:"no"},marginSyncUnits:{type:"boolean",default:!1},marginSyncUnitsTablet:{type:"boolean",default:!1},marginSyncUnitsMobile:{type:"boolean",default:!1},hasMarginControl:{type:"boolean",default:!0},hasAlignmentControls:{type:"boolean",default:!0},hasStackedControl:{type:"boolean",default:!0}};function pa(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ma(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?pa(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):pa(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var ha=[{attributes:ba.attributes,save:function(e){var t,o,n=e.attributes,c=n.id,r=n.coblocks,a=n.backgroundType,i=n.backgroundColor,l=n.backgroundImg,s=n.customBackgroundColor,u=n.textColor,b=n.customTextColor,d=n.marginSize,p=n.paddingSize,m=n.contentAlign,h=Object(xe.getColorClassName)("color",u),f=Object(xe.getColorClassName)("background-color",i),g=(t={},te()(t,"coblocks-row--".concat(c),c),te()(t,"has-text-color",u||b),te()(t,h,h),t);r&&void 0!==r.id&&(g=Object.assign(g,["coblocks-row-".concat(r.id)]));var v=Fe()(g),y=Fe.a.apply(void 0,["wp-block-coblocks-column__inner"].concat(ce()(Qn(n)),[(o={"has-padding":p&&"no"!==p,"has-margin":d&&"no"!==d},te()(o,"has-".concat(p,"-padding"),p&&"advanced"!==p),te()(o,"has-".concat(d,"-margin"),d&&"advanced"!==d),o)])),O={color:h?void 0:b,textAlign:m||null},k={backgroundColor:f?void 0:s,backgroundImage:l&&"image"===a?"url(".concat(l,")"):void 0};return Object(ae.createElement)("div",{className:v,style:O},mc(n),Object(ae.createElement)("div",{className:y,style:k},Object(ae.createElement)(xe.InnerBlocks.Content,null)))}},{attributes:ma({},$n,{},da,{},ba.attributes),save:function(e){var t,o=e.attributes,n=o.coblocks,c=o.textColor,r=o.customTextColor,a=o.marginSize,i=o.paddingSize,l=o.contentAlign,s=Object(xe.getColorClassName)("color",c),u="";n&&void 0!==n.id&&(u=Fe()(u,"coblocks-column-".concat(n.id)));var b=Fe.a.apply(void 0,["wp-block-coblocks-column__inner"].concat(ce()(Qn(o)),[(t={"has-padding":i&&"no"!==i,"has-margin":a&&"no"!==a},te()(t,"has-".concat(i,"-padding"),i&&"advanced"!==i),te()(t,"has-".concat(a,"-margin"),a&&"advanced"!==a),t)])),d={textAlign:l||null},p=ma({},rc(o),{color:s?void 0:r});return Object(ae.createElement)("div",{className:u,style:d},Object(ae.createElement)("div",{className:b,style:p},mc(o),Object(ae.createElement)(xe.InnerBlocks.Content,null)))}}],fa=Object(xe.withColors)("backgroundColor",{textColor:"color"}),ga={};ga.tablet=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11.25 0h-9c-.825 0-1.5.61363636-1.5 1.36363636v13.27272724c0 .75.675 1.3636364 1.5 1.3636364h9c.825 0 1.5-.6136364 1.5-1.3636364v-13.27272724c0-.75-.675-1.36363636-1.5-1.36363636zm-.5 14h-8v-12h8z",transform:"translate(1.25)"})),ga.mobile=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m6.5 0h-5c-.825 0-1.5.61363636-1.5 1.36363636v9.27272724c0 .75.675 1.3636364 1.5 1.3636364h5c.825 0 1.5-.6136364 1.5-1.3636364v-9.27272724c0-.75-.675-1.36363636-1.5-1.36363636zm-.5 10h-4v-8h4z",transform:"translate(4 2)"})),ga.desktopChrome=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m12.5 0c.8325 0 1.5.61363636 1.5 1.36363636v11.27272724c0 .75-.675 1.3636364-1.5 1.3636364l-.5-2v-9h-10v9h10l.5 2h-11c-.8325 0-1.5-.6136364-1.5-1.3636364v-11.27272724c0-.75.6675-1.36363636 1.5-1.36363636zm-10 1c-.27614237 0-.5.22385763-.5.5s.22385763.5.5.5.5-.22385763.5-.5-.22385763-.5-.5-.5z",transform:"translate(1 1.001872)"})),ga.sync=Object(ae.createElement)(ie.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m7.34133533 6.23855964v-1.98499625c-2.17404351.03150788-4.03300825 1.38634659-4.85221305 3.27681921-.31507877.72468117-.44111028 1.51237809-.4096024 2.33158289.06301575 1.13428361.47261815 2.20555141 1.16579145 3.05626411.37809452.4411102.28357089 1.1027757-.18904726 1.4493623-.44111028.3150788-1.07126782.2205551-1.41785447-.1890473-.85071268-1.0397599-1.38634658-2.3315829-1.54388597-3.7179294-.12603151-1.00825211-.03150788-2.01650417.25206302-2.9302326.88222055-3.02475619 3.6864216-5.26181546 6.99474868-5.29332334v-1.98499624c0-.09452363.12603151-.15753939.22055514-.09452363l4.09602403 2.99324831c.0630157.06301575.0630157.15753938 0 .18904726l-4.09602403 2.99324831c-.09452363.06301575-.22055514 0-.22055514-.09452363zm.22055514 13.17029256c.09452363.0630158.22055514 0 .22055514-.0945236v-1.9849963c3.30832709-.0315078 6.11252809-2.2685671 6.99474869-5.2933233.252063-.9137284.3780945-1.8904726.252063-2.93023256-.1575394-1.38634658-.7246812-2.67816954-1.543886-3.71792948-.3465866-.44111028-.9767441-.53563391-1.4178544-.18904726-.4726182.34658665-.5671418 1.00825206-.1890473 1.44936234.6931733.85071268 1.1027757 1.89047262 1.1657915 3.05626407.0315078.81920479-.1260315 1.63840959-.4096024 2.33158289-.787697 1.8904726-2.6466617 3.2453113-4.85221309 3.2768192v-1.9849962c0-.0945237-.12603151-.1575394-.22055514-.0945237l-4.096024 2.9932483c-.06301576.0630158-.06301576.1575394 0 .1890473z",transform:"translate(4 2)"}));var va=ga;function ya(){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}}var Oa=[{name:Object(re.__)("None","coblocks"),size:0,slug:"no"},{name:Object(re.__)("Small","coblocks"),size:14,slug:"small"},{name:Object(re.__)("Medium","coblocks"),size:24,slug:"medium"},{name:Object(re.__)("Large","coblocks"),size:34,slug:"large"},{name:Object(re.__)("Huge","coblocks"),size:60,slug:"huge"}],ka=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(ya()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).getSelectValuesFromUtilitySizes=e.getSelectValuesFromUtilitySizes.bind(pn()(e)),e.getCurrentSelectValue=e.getCurrentSelectValue.bind(pn()(e)),e.setCurrentSelectValue=e.setCurrentSelectValue.bind(pn()(e)),e.onChangeValue=e.onChangeValue.bind(pn()(e)),e.getSelectOptions=e.getSelectOptions.bind(pn()(e)),e}return ve()(n,[{key:"getSelectValuesFromUtilitySizes",value:function(e,t){var o;if("string"==typeof t)return(o=e.find((function(e){return e.slug===t})))?o.slug:"custom"}},{key:"getCurrentSelectValue",value:function(e){var t=this.props,o=t.paddingSize,n=t.marginSize;switch(e){case"margin":return n;case"padding":return o}}},{key:"setCurrentSelectValue",value:function(e){var t=this.props,o=t.type,n=t.setAttributes;switch(o){case"margin":n({marginSize:e});break;case"padding":n({paddingSize:e})}}},{key:"onChangeValue",value:function(e){var t=Oa.find((function(t){return t.slug===e}));t&&this.setCurrentSelectValue(this.getSelectValuesFromUtilitySizes(Oa,t.slug))}},{key:"getSelectOptions",value:function(e){return ce()(e.map((function(e){return{value:e.slug,label:e.name}})))}},{key:"render",value:function(){var e=this.props.type;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.SelectControl,{className:"components-font-size-picker__select",label:"Choose ".concat(e," preset"),hideLabelFromVision:!0,value:this.getCurrentSelectValue(e),onChange:this.onChangeValue,options:this.getSelectOptions(Oa)}))}}]),n}(ae.Component);function _a(){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}}var ja=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(_a()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(e){var t;return fe()(this,n),(t=o.apply(this,arguments)).onChangeTop=t.onChangeTop.bind(pn()(t)),t.onChangeRight=t.onChangeRight.bind(pn()(t)),t.onChangeBottom=t.onChangeBottom.bind(pn()(t)),t.onChangeLeft=t.onChangeLeft.bind(pn()(t)),t.onChangeAll=t.onChangeAll.bind(pn()(t)),t.onChangeUnits=t.onChangeUnits.bind(pn()(t)),t.onChangeSize=t.onChangeSize.bind(pn()(t)),t.syncUnits=t.syncUnits.bind(pn()(t)),t.saveMeta=t.saveMeta.bind(pn()(t)),e.attributes.saveCoBlocksMeta&&(t.saveMeta(),Object(Ye.dispatch)("core/block-editor").updateBlockAttributes(e.attributes.clientId,{saveCoBlocksMeta:!1})),t}return ve()(n,[{key:"onChangeTop",value:function(e,t){"padding"===this.props.type?this.props.setAttributes(te()({},"paddingTop"+t,e)):this.props.setAttributes(te()({},"marginTop"+t,e)),this.saveMeta()}},{key:"onChangeRight",value:function(e,t){"padding"===this.props.type?this.props.setAttributes(te()({},"paddingRight"+t,e)):this.props.setAttributes(te()({},"marginRight"+t,e)),this.saveMeta()}},{key:"onChangeBottom",value:function(e,t){"padding"===this.props.type?this.props.setAttributes(te()({},"paddingBottom"+t,e)):this.props.setAttributes(te()({},"marginBottom"+t,e)),this.saveMeta()}},{key:"onChangeLeft",value:function(e,t){"padding"===this.props.type?this.props.setAttributes(te()({},"paddingLeft"+t,e)):this.props.setAttributes(te()({},"marginLeft"+t,e)),this.saveMeta()}},{key:"onChangeAll",value:function(e,t){var o,n;"padding"===this.props.type?this.props.setAttributes((o={},te()(o,"paddingTop"+t,e),te()(o,"paddingRight"+t,e),te()(o,"paddingBottom"+t,e),te()(o,"paddingLeft"+t,e),o)):this.props.setAttributes((n={},te()(n,"marginTop"+t,e),te()(n,"marginRight"+t,e),te()(n,"marginBottom"+t,e),te()(n,"marginLeft"+t,e),n));this.saveMeta()}},{key:"onChangeUnits",value:function(e){"padding"===this.props.type?this.props.setAttributes({paddingUnit:e}):this.props.setAttributes({marginUnit:e}),this.saveMeta()}},{key:"onChangeSize",value:function(e,t){["coblocks/hero"].includes(this.props.name)&&"no"===e&&(t<0?(e="huge",t=60):t=-1),"padding"===this.props.type?(this.props.setAttributes({paddingSyncUnits:!0}),this.props.setAttributes({paddingSize:e}),t&&(t<0&&(t=""),this.props.setAttributes({paddingTop:t,paddingRight:t,paddingBottom:t,paddingLeft:t,paddingUnit:"px"}))):(this.props.setAttributes({marginSize:e}),t&&(t<0&&(t=""),this.props.setAttributes({marginTop:t,marginRight:0,marginBottom:t,marginLeft:0,marginUnit:"px"}))),this.saveMeta()}},{key:"syncUnits",value:function(e,t){var o,n,c=[this.props["valueTop"+t],this.props["valueRight"+t],this.props["valueBottom"+t],this.props["valueLeft"+t]],r=Math.max.apply(null,c);"padding"===this.props.type?(this.props.setAttributes(te()({},"paddingSyncUnits"+t,!this.props["syncUnits"+t])),this.props.setAttributes((o={},te()(o,"paddingTop"+t,r),te()(o,"paddingRight"+t,r),te()(o,"paddingBottom"+t,r),te()(o,"paddingLeft"+t,r),o))):(this.props.setAttributes(te()({},"marginSyncUnits"+t,!this.props["syncUnits"+t])),this.props.setAttributes((n={},te()(n,"marginTop"+t,r),te()(n,"marginRight"+t,r),te()(n,"marginBottom"+t,r),te()(n,"marginLeft"+t,r),n)));this.saveMeta()}},{key:"saveMeta",value:function(){var e=wp.data.select("core/editor").getEditedPostAttribute("meta"),t=wp.data.select("core/block-editor").getBlock(this.props.clientId),o={};if(void 0!==this.props.attributes.coblocks&&void 0!==this.props.attributes.coblocks.id){var n=this.props.name.split("/").join("-")+"-"+this.props.attributes.coblocks.id,c=t.attributes.paddingUnit,r=t.attributes.marginUnit,a={paddingTop:void 0!==t.attributes.paddingTop?t.attributes.paddingTop+c:null,paddingRight:void 0!==t.attributes.paddingRight?t.attributes.paddingRight+c:null,paddingBottom:void 0!==t.attributes.paddingBottom?t.attributes.paddingBottom+c:null,paddingLeft:void 0!==t.attributes.paddingLeft?t.attributes.paddingLeft+c:null,paddingTopTablet:void 0!==t.attributes.paddingTopTablet?t.attributes.paddingTopTablet+c:null,paddingRightTablet:void 0!==t.attributes.paddingRightTablet?t.attributes.paddingRightTablet+c:null,paddingBottomTablet:void 0!==t.attributes.paddingBottomTablet?t.attributes.paddingBottomTablet+c:null,paddingLeftTablet:void 0!==t.attributes.paddingLeftTablet?t.attributes.paddingLeftTablet+c:null,paddingTopMobile:void 0!==t.attributes.paddingTopMobile?t.attributes.paddingTopMobile+c:null,paddingRightMobile:void 0!==t.attributes.paddingRightMobile?t.attributes.paddingRightMobile+c:null,paddingBottomMobile:void 0!==t.attributes.paddingBottomMobile?t.attributes.paddingBottomMobile+c:null,paddingLeftMobile:void 0!==t.attributes.paddingLeftMobile?t.attributes.paddingLeftMobile+c:null},i={marginTop:void 0!==t.attributes.marginTop?t.attributes.marginTop+r:null,marginRight:void 0!==t.attributes.marginRight?t.attributes.marginRight+r:null,marginBottom:void 0!==t.attributes.marginBottom?t.attributes.marginBottom+r:null,marginLeft:void 0!==t.attributes.marginLeft?t.attributes.marginLeft+r:null,marginTopTablet:void 0!==t.attributes.marginTopTablet?t.attributes.marginTopTablet+r:null,marginRightTablet:void 0!==t.attributes.marginRightTablet?t.attributes.marginRightTablet+r:null,marginBottomTablet:void 0!==t.attributes.marginBottomTablet?t.attributes.marginBottomTablet+r:null,marginLeftTablet:void 0!==t.attributes.marginLeftTablet?t.attributes.marginLeftTablet+r:null,marginTopMobile:void 0!==t.attributes.marginTopMobile?t.attributes.marginTopMobile+r:null,marginRightMobile:void 0!==t.attributes.marginRightMobile?t.attributes.marginRightMobile+r:null,marginBottomMobile:void 0!==t.attributes.marginBottomMobile?t.attributes.marginBottomMobile+r:null,marginLeftMobile:void 0!==t.attributes.marginLeftMobile?t.attributes.marginLeftMobile+r:null};void 0===(o=void 0===e||void 0===e._coblocks_dimensions||void 0!==e._coblocks_dimensions&&""===e._coblocks_dimensions?{}:JSON.parse(e._coblocks_dimensions))[n]?(o[n]={},o[n][this.props.type]={}):void 0===o[n][this.props.type]&&(o[n][this.props.type]={}),"advanced"===this.props.dimensionSize?o[n][this.props.type]="padding"===this.props.type?a:i:o[n][this.props.type]={},wp.data.dispatch("core/editor").editPost({meta:{_coblocks_dimensions:JSON.stringify(o)}});var l=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style"),u="";s.type="text/css",u+="@media only screen and (max-width: 768px) {",u+="."+n+" > div{",void 0!==a.paddingTopTablet&&(u+="padding-top: "+a.paddingTopTablet+" !important;"),void 0!==a.paddingBottomTablet&&(u+="padding-bottom: "+a.paddingBottomTablet+" !important;"),void 0!==a.paddingRightTablet&&(u+="padding-right: "+a.paddingRightTablet+" !important;"),void 0!==a.paddingLeftTablet&&(u+="padding-left: "+a.paddingLeftTablet+" !important;"),void 0!==i.marginTopTablet&&(u+="margin-top: "+i.marginTopTablet+" !important;"),void 0!==i.marginBottomTablet&&(u+="margin-bottom: "+i.marginBottomTablet+" !important;"),void 0!==i.marginRightTablet&&(u+="margin-right: "+i.marginRightTablet+" !important;"),void 0!==i.marginleLtTablet&&(u+="margin-left: "+i.marginLeftTablet+" !important;"),u+="}",u+="}",u+="@media only screen and (max-width: 514px) {",u+="."+n+" > div{",void 0!==a.paddingTopMobile&&(u+="padding-top: "+a.paddingTopMobile+" !important;"),void 0!==a.paddingBottomMobile&&(u+="padding-bottom: "+a.paddingBottomMobile+" !important;"),void 0!==a.paddingRightMobile&&(u+="padding-right: "+a.paddingRightMobile+" !important;"),void 0!==a.paddingLeftMobile&&(u+="padding-left: "+a.paddingLeftMobile+" !important;"),void 0!==i.marginTopMobile&&(u+="margin-top: "+i.marginTopMobile+" !important;"),void 0!==i.marginBottomMobile&&(u+="margin-bottom: "+i.marginBottomMobile+" !important;"),void 0!==i.marginRightMobile&&(u+="margin-right: "+i.marginRightMobile+" !important;"),void 0!==i.marginleLtMobile&&(u+="margin-left: "+i.marginLeftMobile+" !important;"),u+="}",u+="}",s.styleSheet?s.styleSheet.cssText=u:s.appendChild(document.createTextNode(u)),l.appendChild(s)}}},{key:"render",value:function(){var e=this,t=this.props,o=t.help,n=t.instanceId,c=t.label,r=void 0===c?Object(re.__)("Margin","coblocks"):c,a=t.type,i=void 0===a?"margin":a,l=t.unit,s=t.valueBottom,u=t.valueLeft,b=t.valueRight,d=t.valueTop,p=t.valueBottomTablet,m=t.valueLeftTablet,h=t.valueRightTablet,f=t.valueTopTablet,g=t.valueBottomMobile,v=t.valueLeftMobile,y=t.valueRightMobile,O=t.valueTopMobile,k=t.syncUnits,_=t.syncUnitsTablet,j=t.syncUnitsMobile,w=t.dimensionSize,E=t.setAttributes,C=this.props.attributes,x=C.paddingSize,S=C.marginSize,P=Fe()("components-base-control","components-coblocks-dimensions-control",{}),z="inspector-coblocks-dimensions-control-".concat(n),T=function(t){var o=""===t.target.value?void 0:Number(t.target.value),n="";void 0!==t.target.getAttribute("data-device-type")&&void 0!==t.target.getAttribute("data-device-type")&&(n=t.target.getAttribute("data-device-type")),e.props["syncUnits"+n]?e.onChangeAll(o,n):e.onChangeTop(o,n)},R=function(t){var o=""===t.target.value?void 0:Number(t.target.value),n="";void 0!==t.target.getAttribute("data-device-type")&&void 0!==t.target.getAttribute("data-device-type")&&(n=t.target.getAttribute("data-device-type")),e.props["syncUnits"+n]?e.onChangeAll(o,n):e.onChangeRight(o,n)},B=function(t){var o=""===t.target.value?void 0:Number(t.target.value),n="";void 0!==t.target.getAttribute("data-device-type")&&void 0!==t.target.getAttribute("data-device-type")&&(n=t.target.getAttribute("data-device-type")),e.props["syncUnits"+n]?e.onChangeAll(o,n):e.onChangeBottom(o,n)},N=function(t){var o=""===t.target.value?void 0:Number(t.target.value),n="";void 0!==t.target.getAttribute("data-device-type")&&void 0!==t.target.getAttribute("data-device-type")&&(n=t.target.getAttribute("data-device-type")),e.props["syncUnits"+n]?e.onChangeAll(o,n):e.onChangeLeft(o,n)},A=[{name:Object(re.__)("Pixel","coblocks"),unitValue:"px"},{name:Object(re.__)("Em","coblocks"),unitValue:"em"},{name:Object(re.__)("Viewport width","coblocks"),unitValue:"vw"},{name:Object(re.__)("Viewport height","coblocks"),unitValue:"vh"},{name:Object(re.__)("Percentage","coblocks"),unitValue:"%"}];return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:P},"advanced"===w?Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:"components-coblocks-dimensions-control__header"},r&&Object(ae.createElement)("p",{className:"components-coblocks-dimensions-control__label"},r),Object(ae.createElement)("div",{className:"components-coblocks-dimensions-control__actions"},Object(ae.createElement)(ie.ButtonGroup,{className:"components-coblocks-dimensions-control__units","aria-label":Object(re.__)("Select Units","coblocks")},Tc()(A,(function(t){var o=t.unitValue,n=t.name;return Object(ae.createElement)(ie.Tooltip,{text:Object(re.sprintf)(Object(re.__)("%s units","coblocks"),n)},Object(ae.createElement)(ie.Button,{key:o,className:"components-coblocks-dimensions-control__units--"+n,isSmall:!0,isPrimary:l===o,isSecondary:l!==o,"aria-pressed":l===o,"aria-label":Object(re.sprintf)(Object(re.__)("%s units","coblocks"),n),onClick:function(){return e.onChangeUnits(o)}},o))}))),Object(ae.createElement)(ie.Button,{type:"button",onClick:function(){return e.onChangeSize("no",-1)},isSmall:!0,isSecondary:!0,"aria-label":Object(re.sprintf)(Object(re.__)("Turn off advanced %s settings","coblocks"),r.toLowerCase())},Object(re.__)("Reset","coblocks")))),Object(ae.createElement)(ie.TabPanel,{className:"components-coblocks-dimensions-control__mobile-controls",activeClass:"is-active",initialTabName:"default",onSelect:function(t){var o="desktop";switch(t){case"desktop":o="tablet";break;case"tablet":o="mobile";break;case"mobile":o="desktop"}for(var n=document.getElementsByClassName("components-coblocks-dimensions-control__mobile-controls-item--".concat(e.props.type)),c=0;c<n.length;c++)n[c].style.display="none";"default"===t?document.getElementsByClassName("components-coblocks-dimensions-control__mobile-controls-item-".concat(e.props.type,"--tablet"))[0].click():document.getElementsByClassName("components-coblocks-dimensions-control__mobile-controls-item-".concat(e.props.type,"--").concat(o))[0].style.display="block"},tabs:[{name:"default",title:va.desktopChrome,className:"components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--".concat(this.props.type," components-button is-button is-default is-secondary components-coblocks-dimensions-control__mobile-controls-item--default components-coblocks-dimensions-control__mobile-controls-item-").concat(this.props.type,"--default")},{name:"desktop",title:va.mobile,className:"components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--".concat(this.props.type," components-button is-button is-default is-secondary components-coblocks-dimensions-control__mobile-controls-item--desktop components-coblocks-dimensions-control__mobile-controls-item-").concat(this.props.type,"--desktop")},{name:"tablet",title:va.desktopChrome,className:"components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--".concat(this.props.type," components-button is-button is-default is-secondary components-coblocks-dimensions-control__mobile-controls-item--tablet components-coblocks-dimensions-control__mobile-controls-item-").concat(this.props.type,"--tablet")},{name:"mobile",title:va.tablet,className:"components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--".concat(this.props.type," components-button is-button is-default is-secondary components-coblocks-dimensions-control__mobile-controls-item--mobile components-coblocks-dimensions-control__mobile-controls-item-").concat(this.props.type,"--mobile")}]},(function(t){return"mobile"===t.name?Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:"components-coblocks-dimensions-control__inputs"},Object(ae.createElement)("input",{className:"components-coblocks-dimensions-control__number",type:"number",onChange:T,"aria-label":Object(re.sprintf)(Object(re.__)("%s top","coblocks"),r),"aria-describedby":o?z+"__help":void 0,value:""!==O?O:"",min:"padding"===i?0:void 0,"data-device-type":"Mobile"}),Object(ae.createElement)("input",{className:"components-coblocks-dimensions-control__number",type:"number",onChange:R,"aria-label":Object(re.sprintf)(Object(re.__)("%s right","coblocks"),r),"aria-describedby":o?z+"__help":void 0,value:""!==y?y:"",min:"padding"===i?0:void 0,"data-device-type":"Mobile"}),Object(ae.createElement)("input",{className:"components-coblocks-dimensions-control__number",type:"number",onChange:B,"aria-label":Object(re.sprintf)(Object(re.__)("%s bottom","coblocks"),r),"aria-describedby":o?z+"__help":void 0,value:""!==g?g:"",min:"padding"===i?0:void 0,"data-device-type":"Mobile"}),Object(ae.createElement)("input",{className:"components-coblocks-dimensions-control__number",type:"number",onChange:N,"aria-label":Object(re.sprintf)(Object(re.__)("%s left","coblocks"),r),"aria-describedby":o?z+"__help":void 0,value:""!==v?v:"",min:"padding"===i?0:void 0,"data-device-type":"Mobile"}),Object(ae.createElement)(ie.Tooltip,{text:j?Object(re.__)("Unsync","coblocks"):Object(re.__)("Sync","coblocks")},Object(ae.createElement)(ie.Button,{className:"components-coblocks-dimensions-control_sync","aria-label":Object(re.__)("Sync units","coblocks"),isPrimary:j||!1,isSecondary:j||!0,"aria-pressed":j||!1,onClick:function(t){return e.syncUnits(t,"Mobile")},"data-device-type":"Mobile",isSmall:!0},va.sync)))):"tablet"===t.name?Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:"components-coblocks-dimensions-control__inputs"},Object(ae.createElement)("input",{className:"components-coblocks-dimensions-control__number",type:"number",onChange:T,"aria-label":Object(re.sprintf)(Object(re.__)("%s top","coblocks"),r),"aria-describedby":o?z+"__help":void 0,value:""!==f?f:"",min:"padding"===i?0:void 0,"data-device-type":"Tablet"}),Object(ae.createElement)("input",{className:"components-coblocks-dimensions-control__number",type:"number",onChange:R,"aria-label":Object(re.sprintf)(Object(re.__)("%s right","coblocks"),r),"aria-describedby":o?z+"__help":void 0,value:""!==h?h:"",min:"padding"===i?0:void 0,"data-device-type":"Tablet"}),Object(ae.createElement)("input",{className:"components-coblocks-dimensions-control__number",type:"number",onChange:B,"aria-label":Object(re.sprintf)(Object(re.__)("%s bottom","coblocks"),r),"aria-describedby":o?z+"__help":void 0,value:""!==p?p:"",min:"padding"===i?0:void 0,"data-device-type":"Tablet"}),Object(ae.createElement)("input",{className:"components-coblocks-dimensions-control__number",type:"number",onChange:N,"aria-label":Object(re.sprintf)(Object(re.__)("%s left","coblocks"),r),"aria-describedby":o?z+"__help":void 0,value:""!==m?m:"",min:"padding"===i?0:void 0,"data-device-type":"Tablet"}),Object(ae.createElement)(ie.Tooltip,{text:_?Object(re.__)("Unsync","coblocks"):Object(re.__)("Sync","coblocks")},Object(ae.createElement)(ie.Button,{className:"components-coblocks-dimensions-control_sync","aria-label":Object(re.__)("Sync units","coblocks"),isPrimary:_||!1,isSecondary:_||!0,"aria-pressed":_||!1,onClick:function(t){return e.syncUnits(t,"Tablet")},"data-device-type":"Tablet",isSmall:!0},va.sync)))):Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:"components-coblocks-dimensions-control__inputs"},Object(ae.createElement)("input",{className:"components-coblocks-dimensions-control__number",type:"number",onChange:T,"aria-label":Object(re.sprintf)(Object(re.__)("%s top","coblocks"),r),"aria-describedby":o?z+"__help":void 0,value:""!==d?d:"",min:"padding"===i?0:void 0,"data-device-type":""}),Object(ae.createElement)("input",{className:"components-coblocks-dimensions-control__number",type:"number",onChange:R,"aria-label":Object(re.sprintf)(Object(re.__)("%s right","coblocks"),r),"aria-describedby":o?z+"__help":void 0,value:""!==b?b:"",min:"padding"===i?0:void 0,"data-device-type":""}),Object(ae.createElement)("input",{className:"components-coblocks-dimensions-control__number",type:"number",onChange:B,"aria-label":Object(re.sprintf)(Object(re.__)("%s bottom","coblocks"),r),"aria-describedby":o?z+"__help":void 0,value:""!==s?s:"",min:"padding"===i?0:void 0,"data-device-type":""}),Object(ae.createElement)("input",{className:"components-coblocks-dimensions-control__number",type:"number",onChange:N,"aria-label":Object(re.sprintf)(Object(re.__)("%s left","coblocks"),r),"aria-describedby":o?z+"__help":void 0,value:""!==u?u:"",min:"padding"===i?0:void 0,"data-device-type":""}),Object(ae.createElement)(ie.Tooltip,{text:k?Object(re.__)("Unsync","coblocks"):Object(re.__)("Sync","coblocks")},Object(ae.createElement)(ie.Button,{className:"components-coblocks-dimensions-control_sync","aria-label":Object(re.__)("Sync units","coblocks"),isPrimary:k||!1,isSecondary:k||!0,"aria-pressed":k||!1,onClick:function(t){return e.syncUnits(t,"")},"data-device-type":"",isSmall:!0},va.sync))))})),Object(ae.createElement)("div",{className:"components-coblocks-dimensions-control__input-labels"},Object(ae.createElement)("span",{className:"components-coblocks-dimensions-control__number-label"},Object(re.__)("Top","coblocks")),Object(ae.createElement)("span",{className:"components-coblocks-dimensions-control__number-label"},Object(re.__)("Right","coblocks")),Object(ae.createElement)("span",{className:"components-coblocks-dimensions-control__number-label"},Object(re.__)("Bottom","coblocks")),Object(ae.createElement)("span",{className:"components-coblocks-dimensions-control__number-label"},Object(re.__)("Left","coblocks")),Object(ae.createElement)("span",{className:"components-coblocks-dimensions-control__number-label-blank"}))):Object(ae.createElement)(ie.BaseControl,{id:"textarea-1",label:r,help:o},Object(ae.createElement)("div",{className:"components-font-size-picker__controls"},Object(ae.createElement)(ka,{type:i,setAttributes:E,paddingSize:x,marginSize:S}),Object(ae.createElement)(ie.Button,{type:"button",onClick:function(){return e.onChangeSize("advanced","")},isSmall:!0,isSecondary:!0,"aria-label":Object(re.sprintf)(Object(re.__)("Advanced %s settings","coblocks"),r.toLowerCase()),isPrimary:"advanced"===w},Object(re.__)("Advanced","coblocks"))))))}}]),n}(ae.Component),wa=Object(Ce.withInstanceId)(ja);function Ea(){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}}var Ca=window.getComputedStyle,xa=Object(ie.withFallbackStyles)((function(e,t){var o=t.attributes.backgroundColor,n=e.querySelector('[contenteditable="true"]'),c=n?Ca(n):null;return{fallbackBackgroundColor:o||!c?void 0:c.backgroundColor}})),Sa=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Ea()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.clientId,o=e.attributes,n=e.setAttributes,c=e.backgroundColor,r=e.setBackgroundColor,a=e.setTextColor,i=e.textColor,l=e.nextBlockClient,s=e.nextBlockClientId,u=e.lastId,b=e.updateBlockAttributes,d=o.width,p=o.marginTop,m=o.marginRight,h=o.marginBottom,f=o.marginLeft,g=o.marginTopTablet,v=o.marginRightTablet,y=o.marginBottomTablet,O=o.marginLeftTablet,k=o.marginTopMobile,_=o.marginRightMobile,j=o.marginBottomMobile,w=o.marginLeftMobile,E=o.marginUnit,C=o.marginSyncUnits,x=o.marginSyncUnitsTablet,S=o.marginSyncUnitsMobile,P=o.marginSize,z=o.paddingTop,T=o.paddingRight,R=o.paddingBottom,B=o.paddingLeft,N=o.paddingTopTablet,A=o.paddingRightTablet,I=o.paddingBottomTablet,M=o.paddingLeftTablet,D=o.paddingTopMobile,L=o.paddingRightMobile,F=o.paddingBottomMobile,V=o.paddingLeftMobile,G=o.paddingUnit,U=o.paddingSyncUnits,H=o.paddingSyncUnitsTablet,W=o.paddingSyncUnitsMobile,q=o.paddingSize;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Column settings","coblocks"),className:"components-panel__body--column-settings"},Object(ae.createElement)(wa,Ie()({},this.props,{type:"padding",label:Object(re.__)("Padding","coblocks"),help:Object(re.__)("Space inside of the container.","coblocks"),valueTop:z,valueRight:T,valueBottom:R,valueLeft:B,valueTopTablet:N,valueRightTablet:A,valueBottomTablet:I,valueLeftTablet:M,valueTopMobile:D,valueRightMobile:L,valueBottomMobile:F,valueLeftMobile:V,unit:G,syncUnits:U,syncUnitsTablet:H,syncUnitsMobile:W,dimensionSize:q})),Object(ae.createElement)(wa,Ie()({},this.props,{type:"margin",label:Object(re.__)("Margin","coblocks"),help:Object(re.__)("Space around the container.","coblocks"),valueTop:p,valueRight:m,valueBottom:h,valueLeft:f,valueTopTablet:g,valueRightTablet:v,valueBottomTablet:y,valueLeftTablet:O,valueTopMobile:k,valueRightMobile:_,valueBottomMobile:j,valueLeftMobile:w,unit:E,syncUnits:C,syncUnitsTablet:x,syncUnitsMobile:S,dimensionSize:P})),u!==t?Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Width","coblocks"),value:parseFloat(d),onChange:function(e){return function(e){var t=parseFloat(d)-e,o=parseFloat(l.attributes.width)+t;o>9&&(n({width:parseFloat(e).toFixed(2)}),b(s,{width:parseFloat(o).toFixed(2)}))}(e)},min:10,max:100,step:.01}):null),Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:c.color,onChange:r,label:Object(re.__)("Background color","coblocks")},{value:i.color,onChange:a,label:Object(re.__)("Text color","coblocks")}]}),Object(ae.createElement)(pc,Ie()({},this.props,{hasOverlay:!0}))))}}]),n}(ae.Component),Pa=Object(Ce.compose)([fa,xa])(Sa);function za(){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}}var Ta=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(za()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=e.clientId,c=e.updateBlockAttributes,r=e.getBlockRootClientId,a=t.contentAlign,i=t.verticalAlignment;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(xe.AlignmentToolbar,{value:a,onChange:function(e){return o({contentAlign:e})}}),Object(ae.createElement)(xe.BlockVerticalAlignmentToolbar,{onChange:function(e){var t=r(n);c(t,{verticalAlignment:null}),o({verticalAlignment:e})},value:i}),oc(this.props)))}}]),n}(ae.Component);function Ra(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ba(){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}}var Na=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Ba()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).state={selectedWidth:0,nextWidth:0,selectedBlockWidth:0,nextBlockWidth:0,maxWidth:999999999,resizing:!1},e}return ve()(n,[{key:"render",value:function(){var e,t,o=this,n=this.props,c=n.columnBlocks,r=n.attributes,a=n.className,i=n.isSelected,l=n.setAttributes,s=n.backgroundColor,u=n.textColor,b=n.hasInnerBlocks,d=n.parentId,p=n.nextBlockClient,m=n.nextBlockClientId,h=n.updateBlockAttributes,f=r.coblocks,g=r.backgroundImg,v=r.width,y=r.paddingTop,O=r.paddingRight,k=r.paddingBottom,_=r.paddingLeft,j=r.marginTop,w=r.marginRight,E=r.marginBottom,C=r.marginLeft,x=r.paddingUnit,S=r.marginUnit,P=r.marginSize,z=r.paddingSize,T=r.contentAlign,R=r.verticalAlignment,B=Object(ae.createElement)(cc,Ie()({},this.props,{label:Object(re.__)("Add background to column","coblocks")})),N=Fe()("wp-block-coblocks-column",{"wp-block-coblocks-column-placeholder":c&&c.innerBlocks&&Object.keys(c.innerBlocks).length<1},(e={},te()(e,"has-text-align-".concat(T),T),te()(e,"is-vertically-aligned-".concat(R),R),e));f&&void 0!==f.id&&(N=Fe()(N,"coblocks-column-".concat(f.id)));var A=Fe.a.apply(void 0,["wp-block-coblocks-column__inner"].concat(ce()(Qn(r)),[(t={"has-text-color":u.color,"has-padding":z&&"no"!==z,"has-margin":P&&"no"!==P},te()(t,"has-".concat(z,"-padding"),z&&"advanced"!==z),te()(t,"has-".concat(P,"-margin"),P&&"advanced"!==P),t)])),I=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ra(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ra(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},rc(r),{backgroundColor:s.color,color:u.color,paddingTop:"advanced"===z&&y?y+x:void 0,paddingRight:"advanced"===z&&O?O+x:void 0,paddingBottom:"advanced"===z&&k?k+x:void 0,paddingLeft:"advanced"===z&&_?_+x:void 0,marginTop:"advanced"===P&&j?j+S:void 0,marginRight:"advanced"===P&&w?w+S:void 0,marginBottom:"advanced"===P&&E?E+S:void 0,marginLeft:"advanced"===P&&C?C+S:void 0});return 100===parseInt(v)?Object(ae.createElement)(ae.Fragment,null,B,i&&Object(ae.createElement)(Ta,this.props),i&&Object(ae.createElement)(Pa,this.props),Object(ae.createElement)("div",{className:N,style:{backgroundColor:s.color,backgroundImage:g?"url(".concat(g,")"):void 0,color:u.color}},Object(ae.createElement)("div",{className:"wp-block-coblocks-column"},Object(ae.createElement)("div",{className:A,style:I},mc(r),Object(ae.createElement)(xe.InnerBlocks,{templateLock:!1,renderAppender:!b&&xe.InnerBlocks.ButtonBlockAppender}))))):Object(ae.createElement)(ae.Fragment,null,B,i&&Object(ae.createElement)(Ta,this.props),i&&Object(ae.createElement)(Pa,this.props),Object(ae.createElement)("span",{className:Fe()("coblocks-resizeable-width",{"is-resizing":this.state.resizing})},i&&this.state.selectedBlockWidth>0?parseFloat(this.state.selectedBlockWidth).toFixed(1):parseFloat(v).toFixed(1),"%"),Object(ae.createElement)(ie.ResizableBox,{className:Fe()(a,{"is-selected-column":i,"is-resizing":this.state.resizing}),maxWidth:this.state.maxWidth,minHeight:"20",enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:function(){document.getElementById("block-"+o.props.clientId).classList.remove("is-resizing"),document.getElementById("block-"+d).classList.remove("is-resizing"),o.setState({resizing:!1})},onResize:function(e,t,n,c){var r=document.getElementById("block-"+d).getElementsByClassName("wp-block-coblocks-row__inner")[0].getBoundingClientRect(),a=(o.state.selectedWidth+c.width)/r.width*100,i=parseFloat(v)-a,s=parseFloat(p.attributes.width)+i;document.getElementById("block-"+d).classList.add("is-resizing"),document.getElementById("block-"+o.props.clientId).getElementsByClassName("wp-block-coblocks-column")[0].style.width="auto",s>10&&a>10&&(h(m,{width:parseFloat(s).toFixed(2)}),l({width:parseFloat(a).toFixed(2)}))},onResizeStart:function(){var e=document.getElementById("block-"+o.props.clientId),t=e.getBoundingClientRect();e.classList.add("is-resizing"),document.getElementById("block-"+d).classList.add("is-resizing"),o.setState({selectedWidth:t.width}),o.setState({resizing:!0})}},Object(ae.createElement)("div",{className:N,style:{color:u.color}},Object(St.isBlobURL)(g)&&Object(ae.createElement)(ie.Spinner,null),mc(r),Object(ae.createElement)("div",{className:A,style:I},Object(ae.createElement)(xe.InnerBlocks,{templateLock:!1,renderAppender:!b&&xe.InnerBlocks.ButtonBlockAppender})))))}}]),n}(ae.Component),Aa=Object(Ye.withSelect)((function(e,t){var o=t.clientId,n=e("core/block-editor"),c=n.getBlock,r=n.getBlockRootClientId,a=n.getNextBlockClientId,i=n.getPreviousBlockClientId,l=n.getBlocksByClientId,s=r(o),u=c(o),b=a(o)||i(o),d=c(b),p=l(s),m="undefined"!==p[0].innerBlocks?p[0].innerBlocks[p[0].innerBlocks.length-1].clientId:o;return{hasInnerBlocks:!(!u||!u.innerBlocks.length),parentId:s,nextBlockClient:d,nextBlockClientId:b,getBlockRootClientId:r,lastId:m,parentBlocks:p}})),Ia=Object(Ye.withDispatch)((function(e){return{updateBlockAttributes:e("core/block-editor").updateBlockAttributes}})),Ma=Object(Ce.compose)([fa,Aa,Ia])(Na),Da=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"}));function La(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Fa=function(e){var t,o,n=e.attributes,c=n.coblocks,r=n.textColor,a=n.customTextColor,i=n.marginSize,l=n.paddingSize,s=n.contentAlign,u=n.verticalAlignment,b=Object(xe.getColorClassName)("color",r),d=Fe()((t={},te()(t,"has-text-align-".concat(s),s),te()(t,"is-vertically-aligned-".concat(u),u),t));c&&void 0!==c.id&&(d=Fe()(d,"coblocks-column-".concat(c.id)));var p=Fe.a.apply(void 0,["wp-block-coblocks-column__inner"].concat(ce()(Qn(n)),[(o={"has-text-color":r||a},te()(o,b,b),te()(o,"has-padding",l&&"no"!==l),te()(o,"has-margin",i&&"no"!==i),te()(o,"has-".concat(l,"-padding"),l&&"advanced"!==l),te()(o,"has-".concat(i,"-margin"),i&&"advanced"!==i),o)])),m=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?La(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):La(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},rc(n),{color:b?void 0:a});return Object(ae.createElement)("div",{className:d},Object(ae.createElement)("div",{className:p,style:m},mc(n),Object(ae.createElement)(xe.InnerBlocks.Content,null)))};function Va(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Ga=ba.name,Ua=ba.category,Ha=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Va(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Va(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},da,{},$n,{},ba.attributes),Wa={title:Object(re.__)("Column","coblocks"),description:Object(re.__)("An immediate child of a row.","coblocks"),icon:Da,parent:["coblocks/row"],supports:{inserter:!1},attributes:Ha,edit:Ma,getEditWrapperProps:function(e){var t=e.paddingSize;if("advanced"!==t&&"no"===t)return{"data-background-dropzone":!1}},save:Fa,deprecated:ha},qa=o(60);function Ya(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Ka=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ya(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ya(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},qa.attributes),save:function(e){var t=e.attributes,o=e.className,n=t.color,c=t.customColor,r=t.height,a=Object(xe.getColorClassName)("color",n),i=Fe()(o,te()({"has-text-color":n||c},a,a)),l={color:a?void 0:c,height:r?r+"px":void 0};return Object(ae.createElement)("hr",{className:i,style:l})}}],Xa=Object(xe.withColors)({color:"color"});function Ja(){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}}var Za=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Ja()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).updateHeight=e.updateHeight.bind(pn()(e)),e}return ve()(n,[{key:"updateHeight",value:function(e){this.props.setAttributes({height:e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=e.setColor,c=e.color,r=t.height;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Dynamic HR settings","coblocks")},Object(ae.createElement)(ie.BaseControl,{label:Object(re.__)("Height in pixels","coblocks")},Object(ae.createElement)("input",{type:"number",onChange:function(e){o({height:parseInt(e.target.value,10)})},"aria-label":Object(re.__)("Height for the dynamic separator element in pixels.","coblocks"),value:r,min:"20",step:"10"}))),Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:c.color,onChange:n,label:Object(re.__)("Background color","coblocks")}]})))}}]),n}(ae.Component),$a=Object(Ce.compose)([Xa])(Za);function Qa(){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}}var ei=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Qa()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,n=e.isSelected,c=e.setAttributes,r=e.color,a=t.height;return Object(ae.createElement)(ae.Fragment,null,n&&Object(ae.createElement)($a,this.props),Object(ae.createElement)(ie.ResizableBox,{className:Fe()(o,te()({"is-selected":n,"has-background":r.color},r.class,r.class)),style:{color:r.color},size:{height:a},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:function(e,t,o,n){var r=parseInt(a+n.height,10);c({height:r})}}))}}]),n}(ae.Component),ti=Object(Ce.compose)([Xa])(ei),oi=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m5.11338976 2.8941786 3.2418891 3.24188911 1.44197591-1.44197591-4.68386501-4.6940918-4.6940918 4.6940918 1.45220269 1.44197591zm0 12.6198459-3.24188911-3.2418891-1.44197591 1.4419759 4.68386502 4.6940918 4.69409179-4.6940918-1.45220269-1.4419759z",transform:"translate(6.88661 2.795898)"})),ni=function(e){var t=e.attributes,o=e.className,n=t.color,c=t.customColor,r=t.height,a=Object(xe.getColorClassName)("color",n),i=Fe()(o,te()({"has-background":n||c},a,a)),l={color:a?void 0:c,height:r?r+"px":void 0};return Object(ae.createElement)("hr",{className:i,style:l})},ci={from:[{type:"block",blocks:["core/spacer"],transform:function(e){var t=e.height;return Object(oe.createBlock)(qa.name,{height:t})}},{type:"block",blocks:["core/separator"],transform:function(){return Object(oe.createBlock)(qa.name)}}],to:[{type:"block",blocks:["core/spacer"],transform:function(e){var t=e.height;return Object(oe.createBlock)("core/spacer",{height:t})}},{type:"block",blocks:["core/separator"],transform:function(){return Object(oe.createBlock)("core/separator")}}]},ri=qa.name,ai=qa.category,ii=qa.attributes,li={title:Object(re.__)("Dynamic HR","coblocks"),description:Object(re.__)("Add a resizable spacer between other blocks.","coblocks"),icon:oi,keywords:["coblocks","hr",Object(re.__)("spacer","coblocks")],styles:[{name:"dots",label:Object(re.__)("Dot","coblocks"),isDefault:!0},{name:"line",label:Object(re.__)("Line","coblocks")},{name:"fullwidth",label:Object(re.__)("Fullwidth","coblocks")}],example:{attributes:{height:100}},attributes:ii,transforms:ci,edit:ti,save:ni,deprecated:Ka},si=function(e){var t=e.onClick,o=void 0===t?kt.noop:t;return Object(ae.createElement)("div",{className:"coblocks-list-appender"},Object(ae.createElement)(ie.IconButton,{icon:"insert",label:Object(re.__)("Add event","coblocks"),labelPosition:"bottom",className:"coblocks-list-appender__toggle",onClick:o},Object(re.__)("Add event","coblocks")))},ui=function(e){var t=e.attributes,o=e.toggleExternalCalendarControls,n=e.showExternalCalendarControls,c=e.eventsRangeOptions,r=e.onChangeEventsToShow,a=e.onChangeEventsRange,i=t.eventsToShow,l=t.eventsRange;return Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Events settings","coblocks"),initialOpen:!0},Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Link a calendar","coblocks"),help:n?Object(re.__)("Showing public calendar.","coblocks"):Object(re.__)("Toggle to link a public calendar.","coblocks"),checked:n,onChange:function(){return o()}}),n&&Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Events per page","coblocks"),value:i,onChange:function(e){return r(e)},min:1,max:15}),n&&Object(ae.createElement)(ie.SelectControl,{label:Object(re.__)("Period","coblocks"),value:l,options:c,help:Object(re.__)("Show events from the period (100 events max).","coblocks"),onChange:function(e){return a(e)}})))};function bi(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return di(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(o);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return di(e,t)}(e))){var t=0,o=function(){};return{s:o,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,c,r=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return r=e.done,e},e:function(e){a=!0,c=e},f:function(){try{r||null==n.return||n.return()}finally{if(a)throw c}}}}function di(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function pi(){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}}var mi=["coblocks/event-item"],hi=[["coblocks/event-item"]],fi=[{value:"1 week",label:Object(re.__)("1 week","coblocks")},{value:"2 weeks",label:Object(re.__)("2 weeks","coblocks")},{value:"1 month",label:Object(re.__)("1 month","coblocks")},{value:"all",label:Object(re.__)("Fetch all","coblocks")}],gi=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(pi()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;fe()(this,n);var t=(e=o.apply(this,arguments)).props.attributes.externalCalendarUrl;return e.state={isEditing:!1,showExternalCalendarControls:!!t||!1,externalCalendarUrl:t},e.toggleExternalCalendarControls=e.toggleExternalCalendarControls.bind(pn()(e)),e.saveExternalCalendarUrl=e.saveExternalCalendarUrl.bind(pn()(e)),e.insertNewItem=e.insertNewItem.bind(pn()(e)),e.mutationObserverCallback=e.mutationObserverCallback.bind(pn()(e)),e}return ve()(n,[{key:"componentDidMount",value:function(){this.observer=new MutationObserver(this.mutationObserverCallback),this.observer.observe(this.el,{childList:!0})}},{key:"componentDidUpdate",value:function(){this.props.attributes.externalCalendarUrl&&this.slickTarget&&jQuery(this.slickTarget).slick("slickSetOption","infinite",!1,!0)}},{key:"componentWillUnmount",value:function(){this.props.attributes.externalCalendarUrl&&jQuery(this.slickTarget).slick("unslick"),this.observer.disconnect()}},{key:"mutationObserverCallback",value:function(e){var t,o=bi(e);try{for(o.s();!(t=o.n()).done;){var n=t.value;"childList"===n.type&&n.addedNodes.length>0&&n.addedNodes[0].outerHTML.match("wp-block-coblocks-events")&&(this.slickTarget=n.addedNodes[0].children[0],jQuery(this.slickTarget).slick({infinite:!1,rows:this.slickTarget.dataset.perPage,accessibility:!1,draggable:!1,swipe:!1,touchMove:!1}))}}catch(e){o.e(e)}finally{o.f()}}},{key:"toggleExternalCalendarControls",value:function(){var e=this.state.showExternalCalendarControls;!1==!e&&this.props.setAttributes({externalCalendarUrl:""}),this.setState({showExternalCalendarControls:!e})}},{key:"saveExternalCalendarUrl",value:function(){this.props.setAttributes({externalCalendarUrl:this.state.externalCalendarUrl}),this.setState({isEditing:!1})}},{key:"insertNewItem",value:function(){var e=this.props,t=e.clientId,o=e.innerBlocks,n=Object(oe.createBlock)("coblocks/event-item");Object(Ye.dispatch)("core/block-editor").insertBlock(n,o.length,t)}},{key:"render",value:function(){var e=this,t=this.props,o=t.className,n=t.attributes,c=t.setAttributes,r=n.externalCalendarUrl,a=[{icon:"edit",title:Object(re.__)("Edit calendar URL","coblocks"),onClick:function(){return e.setState({isEditing:!e.state.isEditing})}}];return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ui,{attributes:n,toggleExternalCalendarControls:this.toggleExternalCalendarControls,showExternalCalendarControls:this.state.showExternalCalendarControls,eventsRangeOptions:fi,onChangeEventsToShow:function(e){return c({eventsToShow:e})},onChangeEventsRange:function(e){return c({eventsRange:e})}}),!!r&&Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(ie.Toolbar,{controls:a})),this.state.showExternalCalendarControls&&(!r||this.state.isEditing)&&Object(ae.createElement)(ie.Placeholder,{icon:"rss",label:Object(re.__)("Calendar URL","coblocks")},Object(ae.createElement)(ie.TextControl,{placeholder:Object(re.__)("Enter URL here…","coblocks"),value:this.state.externalCalendarUrl,onChange:function(t){return e.setState({externalCalendarUrl:t})},className:"components-placeholder__input"}),Object(ae.createElement)(ie.Button,{isLarge:!0,type:"button",onClick:this.saveExternalCalendarUrl,disabled:!this.state.externalCalendarUrl},Object(re.__)("Use URL","coblocks"))),!r&&!this.state.showExternalCalendarControls&&Object(ae.createElement)("div",{className:Fe()(o,"coblocks-custom-event")},Object(ae.createElement)(xe.InnerBlocks,{allowedBlocks:mi,template:hi,templateInsertUpdatesSelection:!1,renderAppender:function(){return Object(ae.createElement)(si,{onClick:e.insertNewItem})}})),Object(ae.createElement)("div",{ref:function(t){return e.el=t}},!!r&&Object(ae.createElement)(ie.ServerSideRender,{block:"coblocks/events",attributes:this.props.attributes})))}}]),n}(ae.Component),vi=Object(Ye.withSelect)((function(e,t){return{innerBlocks:e("core/block-editor").getBlocks(t.clientId)}})),yi=Object(Ce.compose)([vi])(gi),Oi=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m19 4h-1v-2h-2v2h-8v-2h-2v2h-1c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2zm0 16h-14v-12h14z"})),ki=o(105);var _i={from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)&&/\.(ical|ics|ifb|icalendar)/i.test(e.textContent)},transform:function(e){return Object(oe.createBlock)(ki.name,{externalCalendarUrl:e.textContent.trim()})}}]},ji=ki.name,wi=ki.category,Ei={title:Object(re._x)("Events","block name","coblocks"),description:Object(re.__)("Add a list of events or display events from a public calendar.","coblocks"),icon:Oi,keywords:["coblocks",Object(re.__)("calendar","coblocks"),Object(re.__)("date","coblocks")],supports:{align:["wide","full"]},transforms:_i,edit:yi,save:function(e){var t=e.attributes,o=t.className;return!t.externalCalendarUrl&&Object(ae.createElement)("div",{className:o},Object(ae.createElement)(xe.InnerBlocks.Content,null))}},Ci=Object(xe.withColors)({textColor:"color"}),xi=Object(Ce.compose)([Ci])((function(e){var t=e.textColor,o=e.setTextColor,n=[{value:t.color,onChange:o,label:Object(re.__)("Text color","coblocks")}];return Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:n},Object(ae.createElement)(xe.ContrastChecker,{isLargeText:!0,textColor:t.color})))}));function Si(){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}}var Pi=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Si()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"componentDidUpdate",value:function(){this.props.attributes.externalChange&&(this.props.setAttributes({textColor:this.props.attributes.textColor}),this.props.setTextColor(this.props.attributes.textColor))}},{key:"render",value:function(){var e=this.props,t=e.className,o=e.attributes,n=e.setAttributes,c=e.textColor,r=o.description,a=o.eventDay,i=o.eventLocation,l=o.eventMonth,s=o.eventTime,u=o.eventYear,b=o.title,d={color:c.color};return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xi,this.props),Object(ae.createElement)("div",{className:Fe()(t,te()({"has-text-color":c.color},c.class,c.class)),style:d},Object(ae.createElement)("div",{className:"wp-block-coblocks-events__date"},Object(ae.createElement)(xe.RichText,{value:a,tagName:"span",className:"wp-block-coblocks-events__day",placeholder:Object(re.__)("Day…","coblocks"),onChange:function(e){return n({eventDay:e})},keepPlaceholderOnFocus:!0}),Object(ae.createElement)("div",null,Object(ae.createElement)(xe.RichText,{value:l,tagName:"span",className:"wp-block-coblocks-events__month",placeholder:Object(re.__)("Month…","coblocks"),onChange:function(e){return n({eventMonth:e})},keepPlaceholderOnFocus:!0}),Object(ae.createElement)(xe.RichText,{value:u,tagName:"span",className:"wp-block-coblocks-events__year",placeholder:Object(re.__)("Year…","coblocks"),onChange:function(e){return n({eventYear:e})},keepPlaceholderOnFocus:!0}))),Object(ae.createElement)("div",{className:"wp-block-coblocks-events__content"},Object(ae.createElement)(xe.RichText,{value:b,tagName:"span",className:"wp-block-coblocks-events__title",placeholder:Object(re.__)("Write event title…","coblocks"),onChange:function(e){return n({title:e})},keepPlaceholderOnFocus:!0}),Object(ae.createElement)(xe.RichText,{value:r,tagName:"span",className:"wp-block-coblocks-events__description",placeholder:Object(re.__)("Write event description…","coblocks"),onChange:function(e){return n({description:e})},keepPlaceholderOnFocus:!0})),Object(ae.createElement)("div",{className:"wp-block-coblocks-events__details"},Object(ae.createElement)(xe.RichText,{value:s,tagName:"span",className:"wp-block-coblocks-events__time",placeholder:Object(re.__)("Time…","coblocks"),onChange:function(e){return n({eventTime:e})},keepPlaceholderOnFocus:!0}),Object(ae.createElement)(xe.RichText,{value:i,tagName:"span",className:"wp-block-coblocks-events__location",placeholder:Object(re.__)("Location…","coblocks"),onChange:function(e){return n({eventLocation:e})},keepPlaceholderOnFocus:!0}))))}}]),n}(ae.Component),zi=Object(Ce.compose)([Ci])(Pi),Ti=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m19 4h-1v-2h-2v2h-8v-2h-2v2h-1c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2zm0 16h-14v-12h14zm-12-10v4h4v-4z"})),Ri=o(120);var Bi=Ri.name,Ni=Ri.category,Ai=Ri.attributes,Ii={title:Object(re._x)("Event Item","block name","coblocks"),description:Object(re.__)("An event within the events block.","coblocks"),icon:Ti,attributes:Ai,supports:{reusable:!1,html:!1},parent:["coblocks/events"],edit:zi,save:function(e){var t=e.className,o=e.attributes,n=o.customTextColor,c=o.description,r=o.eventDay,a=o.eventLocation,i=o.eventMonth,l=o.eventTime,s=o.eventYear,u=o.pageNum,b=o.textColor,d=o.title,p=Object(xe.getColorClassName)("color",b),m=Fe()(t,te()({"has-text-color":b||n},p,p));return function(e){var t=["title","description","eventDay","eventMonth","eventYear","eventTime","eventLocation"],o=Object.entries(e).filter((function(e){var o=be()(e,1)[0];return t.includes(o)}));return de(Object.fromEntries(o))}(o)?null:Object(ae.createElement)("div",{className:m,"data-page":String(u),style:{color:p?void 0:n}},Object(ae.createElement)("div",{className:"wp-block-coblocks-events__date"},Object(ae.createElement)(xe.RichText.Content,{tagName:"span",className:"wp-block-coblocks-events__day",value:r}),Object(ae.createElement)("div",null,Object(ae.createElement)(xe.RichText.Content,{value:i,tagName:"span",className:"wp-block-coblocks-events__month"}),Object(ae.createElement)(xe.RichText.Content,{value:s,tagName:"span",className:"wp-block-coblocks-events__year"}))),Object(ae.createElement)("div",{className:"wp-block-coblocks-events__content"},Object(ae.createElement)(xe.RichText.Content,{value:d,tagName:"span",className:"wp-block-coblocks-events__title"}),Object(ae.createElement)(xe.RichText.Content,{value:c,tagName:"span",className:"wp-block-coblocks-events__description",itemprop:"description"})),Object(ae.createElement)("div",{className:"wp-block-coblocks-events__details"},Object(ae.createElement)(xe.RichText.Content,{value:l,tagName:"span",className:"wp-block-coblocks-events__time"}),Object(ae.createElement)(xe.RichText.Content,{value:a,tagName:"span",className:"wp-block-coblocks-events__location"})))}};function Mi(){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}}var Di=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Mi()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.contentAlign;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(xe.AlignmentToolbar,{value:n,onChange:function(e){return o({contentAlign:e})}}),oc(this.props)))}}]),n}(ae.Component),Li=Object(xe.withColors)("backgroundColor",{textColor:"color"});function Fi(){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}}var Vi=window.getComputedStyle,Gi=Object(ie.withFallbackStyles)((function(e,t){var o=t.attributes.backgroundColor,n=e.querySelector('[contenteditable="true"]'),c=n?Vi(n):null;return{fallbackBackgroundColor:o||!c?void 0:c.backgroundColor}})),Ui=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Fi()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.backgroundColor,n=e.setAttributes,c=e.setBackgroundColor,r=e.textColor,a=e.setTextColor,i=t.paddingBottom,l=t.paddingLeft,s=t.paddingRight,u=t.paddingSize,b=t.paddingTop,d=t.paddingBottomTablet,p=t.paddingLeftTablet,m=t.paddingRightTablet,h=t.paddingTopTablet,f=t.paddingBottomMobile,g=t.paddingLeftMobile,v=t.paddingRightMobile,y=t.paddingTopMobile,O=t.paddingSyncUnits,k=t.paddingSyncUnitsTablet,_=t.paddingSyncUnitsMobile,j=t.paddingUnit;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Feature settings","coblocks")},Object(ae.createElement)(wa,Ie()({},this.props,{type:"padding",label:Object(re.__)("Padding","coblocks"),valueTop:b,valueRight:s,valueBottom:i,valueLeft:l,valueTopTablet:h,valueRightTablet:m,valueBottomTablet:d,valueLeftTablet:p,valueTopMobile:y,valueRightMobile:v,valueBottomMobile:f,valueLeftMobile:g,unit:j,syncUnits:O,syncUnitsTablet:k,syncUnitsMobile:_,dimensionSize:u}))),Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:function(e){c(e),u&&"no"!==u||n({paddingSize:"medium"}),e||n({paddingSize:"no"})},label:Object(re.__)("Background color","coblocks")},{value:r.color,onChange:a,label:Object(re.__)("Text color","coblocks")}]}),Object(ae.createElement)(pc,Ie()({},this.props,{hasOverlay:!0}))))}}]),n}(ae.Component),Hi=Object(Ce.compose)([Li,Gi])(Ui);function Wi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function qi(){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}}var Yi=["core/button","core/paragraph","core/heading","core/image","coblocks/highlight"],Ki=[["coblocks/icon",{hasContentAlign:!1}],["core/heading",{placeholder:Object(re.__)("Add feature title…","coblocks"),content:Object(re.__)("Feature Title","coblocks"),level:4}],["core/paragraph",{placeholder:Object(re.__)("Add feature content","coblocks"),content:Object(re.__)("This is a feature block that you can use to highlight features.","coblocks")}]],Xi=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(qi()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).updateInnerAttributes=e.updateInnerAttributes.bind(pn()(e)),e}return ve()(n,[{key:"componentDidUpdate",value:function(e){this.props.attributes.headingLevel!==e.attributes.headingLevel&&this.updateInnerAttributes("core/heading",{level:this.props.attributes.headingLevel})}},{key:"updateInnerAttributes",value:function(e,t){Object(Ye.select)("core/block-editor").getBlocksByClientId(this.props.clientId)[0].innerBlocks.map((function(o){o.name===e&&Object(Ye.dispatch)("core/block-editor").updateBlockAttributes(o.clientId,t)}))}},{key:"render",value:function(){var e,t=this.props,o=t.attributes,n=t.textColor,c=t.className,r=t.isSelected,a=t.backgroundColor,i=o.coblocks,l=o.backgroundImg,s=o.contentAlign,u=o.paddingTop,b=o.paddingRight,d=o.paddingBottom,p=o.paddingLeft,m=o.paddingSize,h=o.paddingUnit,f=Object(ae.createElement)(cc,Ie()({},this.props,{label:Object(re.__)("Add as background","coblocks")})),g=c;i&&void 0!==i.id&&(g=Fe()(g,"coblocks-feature-".concat(i.id)));var v=Fe.a.apply(void 0,["wp-block-coblocks-feature__inner"].concat(ce()(Qn(o)),[(e={"has-text-color":n.color,"has-padding":m&&"no"!==m},te()(e,"has-".concat(m,"-padding"),m&&"advanced"!==m),te()(e,"has-".concat(s,"-content"),s),e)])),y=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Wi(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Wi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},rc(o,a),{color:n.color,textAlign:s,paddingTop:"advanced"===m&&u?u+h:void 0,paddingRight:"advanced"===m&&b?b+h:void 0,paddingBottom:"advanced"===m&&d?d+h:void 0,paddingLeft:"advanced"===m&&p?p+h:void 0});return Object(ae.createElement)(ae.Fragment,null,f,r&&Object(ae.createElement)(Di,this.props),r&&Object(ae.createElement)(Hi,this.props),Object(ae.createElement)("div",{className:g},Object(ae.createElement)("div",{className:v,style:y},Object(St.isBlobURL)(l)&&Object(ae.createElement)(ie.Spinner,null),mc(o),Object(ae.createElement)(xe.InnerBlocks,{allowedBlocks:Yi,template:Ki,templateLock:!1,templateInsertUpdatesSelection:!1,renderAppender:function(){return null}}))))}}]),n}(ae.Component),Ji=Object(Ce.compose)([Li])(Xi),Zi=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"})),$i=o(121);function Qi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var el=function(e){var t,o=e.attributes,n=e.className,c=o.coblocks,r=o.contentAlign,a=o.customTextColor,i=o.textColor,l=o.paddingSize,s=Object(xe.getColorClassName)("color",i),u=Fe()(n,te()({},"has-".concat(r,"-content"),r));c&&void 0!==c.id&&(u=Fe()(u,"coblocks-feature-".concat(c.id)));var b=Fe.a.apply(void 0,["wp-block-coblocks-feature__inner"].concat(ce()(Qn(o)),[(t={"has-text-color":i||a},te()(t,s,s),te()(t,"has-padding",l&&"no"!==l),te()(t,"has-".concat(l,"-padding"),l&&"advanced"!==l),t)])),d=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Qi(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Qi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},rc(o),{color:s?void 0:a});return Object(ae.createElement)("div",{className:u},Object(ae.createElement)("div",{className:b,style:d},mc(o),Object(ae.createElement)(xe.InnerBlocks.Content,null)))};function tl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var ol=$i.name,nl=$i.category,cl=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?tl(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):tl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},da,{},$n,{},$i.attributes),rl={title:Object(re.__)("Feature","coblocks"),description:Object(re.__)("A singular child column within a parent features block.","coblocks"),icon:Zi,parent:["coblocks/features"],supports:{inserter:!1},attributes:cl,edit:Ji,save:el},al=o(55);function il(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ll(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?il(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):il(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var sl=[{attributes:ll({},da,{},$n,{},al.attributes,{gutter:{type:"string",default:"large"}}),save:function(e){var t,o=e.attributes,n=e.className,c=o.coblocks,r=o.columns,a=o.contentAlign,i=o.customTextColor,l=o.textColor,s=o.gutter,u=o.marginSize,b=o.paddingSize,d=Object(xe.getColorClassName)("color",l),p=n;c&&void 0!==c.id&&(p=Fe()(p,"coblocks-features-".concat(c.id)));var m=Fe.a.apply(void 0,["wp-block-coblocks-features__inner"].concat(ce()(Qn(o)),[(t={"has-text-color":l||i},te()(t,d,d),te()(t,"has-padding",b&&"no"!==b),te()(t,"has-".concat(b,"-padding"),b&&"advanced"!==b),te()(t,"has-margin",u&&"no"!==u),te()(t,"has-".concat(u,"-margin"),u&&"advanced"!==u),te()(t,"has-".concat(s,"-gutter"),s),te()(t,"has-".concat(a,"-content"),a),t)])),h=ll({},rc(o),{color:d?void 0:i});return Object(ae.createElement)("div",{className:p,"data-columns":r},Object(ae.createElement)("div",{className:m,style:h},mc(o),Object(ae.createElement)(xe.InnerBlocks.Content,null)))}}],ul=Object(xe.withColors)("backgroundColor",{textColor:"color"});function bl(){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}}var dl=window.getComputedStyle,pl=Object(ie.withFallbackStyles)((function(e,t){var o=t.attributes.backgroundColor,n=e.querySelector('[contenteditable="true"]'),c=n?dl(n):null;return{fallbackBackgroundColor:o||!c?void 0:c.backgroundColor}})),ml=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(bl()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.backgroundColor,n=e.clientId,c=e.setAttributes,r=e.setBackgroundColor,a=e.setTextColor,i=e.textColor,l=t.columns,s=t.gutter,u=t.marginBottom,b=t.marginBottomMobile,d=t.marginBottomTablet,p=t.marginLeft,m=t.marginLeftMobile,h=t.marginLeftTablet,f=t.marginRight,g=t.marginRightMobile,v=t.marginRightTablet,y=t.marginSize,O=t.marginSyncUnits,k=t.marginSyncUnitsMobile,_=t.marginSyncUnitsTablet,j=t.marginTop,w=t.marginTopMobile,E=t.marginTopTablet,C=t.marginUnit,x=t.paddingBottom,S=t.paddingBottomMobile,P=t.paddingBottomTablet,z=t.paddingLeft,T=t.paddingLeftMobile,R=t.paddingLeftTablet,B=t.paddingRight,N=t.paddingRightMobile,A=t.paddingRightTablet,I=t.paddingSize,M=t.paddingSyncUnits,D=t.paddingSyncUnitsMobile,L=t.paddingSyncUnitsTablet,F=t.paddingTop,V=t.paddingTopMobile,G=t.paddingTopTablet,U=t.paddingUnit;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Features settings","coblocks")},Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Columns","coblocks"),value:l,onChange:function(e){c({columns:parseInt(e)}),parseInt(e)<2?c({gutter:"no"}):"no"===s&&c({gutter:"large"}),wp.data.dispatch("core/block-editor").selectBlock(n)},min:1,max:4}),l>=2&&Object(ae.createElement)(Wr,{label:Object(re.__)("Gutter","coblocks"),currentOption:s,options:qr,onChange:function(e){return c({gutter:e})}}),Object(ae.createElement)(wa,Ie()({},this.props,{type:"padding",label:Object(re.__)("Padding","coblocks"),valueTop:F,valueRight:B,valueBottom:x,valueLeft:z,valueTopTablet:G,valueRightTablet:A,valueBottomTablet:P,valueLeftTablet:R,valueTopMobile:V,valueRightMobile:N,valueBottomMobile:S,valueLeftMobile:T,unit:U,syncUnits:M,syncUnitsTablet:L,syncUnitsMobile:D,dimensionSize:I})),Object(ae.createElement)(wa,Ie()({},this.props,{type:"margin",label:Object(re.__)("Margin","coblocks"),valueTop:j,valueRight:f,valueBottom:u,valueLeft:p,valueTopTablet:E,valueRightTablet:v,valueBottomTablet:d,valueLeftTablet:h,valueTopMobile:w,valueRightMobile:g,valueBottomMobile:b,valueLeftMobile:m,unit:C,syncUnits:O,syncUnitsTablet:_,syncUnitsMobile:k,dimensionSize:y}))),Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:function(e){r(e),I&&"no"!==I||c({paddingSize:"medium"}),e||c({paddingSize:"no"})},label:Object(re.__)("Background color","coblocks")},{value:i.color,onChange:a,label:Object(re.__)("Text color","coblocks")}]}),Object(ae.createElement)(pc,Ie()({},this.props,{hasCaption:!1,hasOverlay:!0,hasGalleryControls:!1}))))}}]),n}(ae.Component),hl=Object(Ce.compose)([ul,pl])(ml);function fl(e){var t=e.level,o=e.isPressed,n=void 0!==o&&o,c={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return c.hasOwnProperty(t)?Object(ae.createElement)(ie.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},Object(ae.createElement)(ie.Path,{d:c[t]})):null}function gl(){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}}var vl=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(gl()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"createLevelControl",value:function(e,t,o){var n=e===t;return{icon:Object(ae.createElement)(fl,{level:e,isPressed:n}),title:Object(re.sprintf)(Object(re.__)("Heading %d","coblocks"),e),isActive:n,onClick:function(){return o(e)}}}},{key:"render",value:function(){var e=this,t=this.props,o=t.isCollapsed,n=void 0===o||o,c=t.minLevel,r=t.maxLevel,a=t.selectedLevel,i=t.onChange;return Object(ae.createElement)(ie.Toolbar,{isCollapsed:n,icon:Object(ae.createElement)(fl,{level:a}),controls:Object(kt.range)(c,r).map((function(t){return e.createLevelControl(t,a,i)})),label:Object(re.__)("Change heading level")})}}]),n}(ae.Component);function yl(){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}}var Ol=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(yl()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=e.onChangeHeadingLevel,c=t.contentAlign,r=t.headingLevel;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(vl,{minLevel:2,maxLevel:6,selectedLevel:r,onChange:n}),Object(ae.createElement)(xe.AlignmentToolbar,{value:c,onChange:function(e){return o({contentAlign:e})}}),oc(this.props)))}}]),n}(ae.Component);function kl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _l(){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}}var jl=["coblocks/feature"],wl=no()((function(e){return to()(e,(function(){return["coblocks/feature"]}))})),El=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(_l()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).updateInnerAttributes=e.updateInnerAttributes.bind(pn()(e)),e.onChangeHeadingLevel=e.onChangeHeadingLevel.bind(pn()(e)),e}return ve()(n,[{key:"updateInnerAttributes",value:function(e,t){Object(Ye.select)("core/block-editor").getBlocksByClientId(this.props.clientId)[0].innerBlocks.map((function(o){o.name===e&&Object(Ye.dispatch)("core/block-editor").updateBlockAttributes(o.clientId,t)}))}},{key:"onChangeHeadingLevel",value:function(e){(0,this.props.setAttributes)({headingLevel:e}),this.updateInnerAttributes("coblocks/feature",{headingLevel:e})}},{key:"render",value:function(){var e,t=this.props,o=t.attributes,n=t.textColor,c=t.className,r=t.isSelected,a=t.backgroundColor,i=o.coblocks,l=o.backgroundImg,s=o.columns,u=o.contentAlign,b=o.gutter,d=o.paddingTop,p=o.paddingRight,m=o.paddingBottom,h=o.paddingLeft,f=o.marginTop,g=o.marginRight,v=o.marginBottom,y=o.marginLeft,O=o.paddingUnit,k=o.marginUnit,_=o.marginSize,j=o.paddingSize,w=Object(ae.createElement)(cc,Ie()({},this.props,{label:Object(re.__)("Add as background","coblocks")})),E=c;i&&void 0!==i.id&&(E=Fe()(E,"coblocks-features-".concat(i.id)));var C=Fe.a.apply(void 0,["wp-block-coblocks-features__inner"].concat(ce()(Qn(o)),[(e={"has-columns":s>1},te()(e,"has-".concat(s,"-columns"),s),te()(e,"has-responsive-columns",s>1),te()(e,"has-".concat(b,"-gutter"),b),te()(e,"has-padding",j&&"no"!==j),te()(e,"has-".concat(j,"-padding"),j&&"no"!==j&&"advanced"!==j),te()(e,"has-margin",_&&"no"!==_),te()(e,"has-".concat(_,"-margin"),_&&"no"!==_&&"advanced"!==_),te()(e,"has-".concat(u,"-content"),u),e)])),x=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?kl(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):kl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},rc(o,a),{color:n.color,textAlign:u,paddingTop:"advanced"===j&&d?d+O:void 0,paddingRight:"advanced"===j&&p?p+O:void 0,paddingBottom:"advanced"===j&&m?m+O:void 0,paddingLeft:"advanced"===j&&h?h+O:void 0,marginTop:"advanced"===_&&f?f+k:void 0,marginRight:"advanced"===_&&g?g+k:void 0,marginBottom:"advanced"===_&&v?v+k:void 0,marginLeft:"advanced"===_&&y?y+k:void 0});return Object(ae.createElement)(ae.Fragment,null,w,r&&Object(ae.createElement)(Ol,Ie()({},this.props,{onChangeHeadingLevel:this.onChangeHeadingLevel})),r&&Object(ae.createElement)(hl,this.props),Object(ae.createElement)("div",{className:E},Object(ae.createElement)("div",{className:C,style:x},Object(St.isBlobURL)(l)&&Object(ae.createElement)(ie.Spinner,null),mc(o),Object(ae.createElement)(xe.InnerBlocks,{template:wl(s),allowedBlocks:jl,templateLock:"all",templateInsertUpdatesSelection:!1,renderAppender:function(){return null}}))))}}]),n}(ae.Component),Cl=Object(Ce.compose)([ul])(El),xl=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.G,{transform:"translate(3.6 2)"},Object(ae.createElement)(ie.Path,{d:"m2.4 12h12v-2h-12z"}),Object(ae.createElement)(ie.Path,{d:"m.4 16h16v-2h-16z"}),Object(ae.createElement)(ie.Path,{d:"m2.4 20h12v-2h-12z"}),Object(ae.createElement)(ie.Path,{d:"m11.4 0v5.5l-3 3-3-3v-5.5zm-2 2h-2v2.67l1 1 1-1z"})));function Sl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Pl=function(e){var t,o=e.attributes,n=e.className,c=o.coblocks,r=o.columns,a=o.contentAlign,i=o.customTextColor,l=o.textColor,s=o.gutter,u=o.marginSize,b=o.paddingSize,d=Object(xe.getColorClassName)("color",l),p=n;c&&void 0!==c.id&&(p=Fe()(p,"coblocks-features-".concat(c.id)));var m=Fe.a.apply(void 0,["wp-block-coblocks-features__inner"].concat(ce()(Qn(o)),[(t={"has-columns":r>1},te()(t,"has-".concat(r,"-columns"),r),te()(t,"has-responsive-columns",r>1),te()(t,"has-".concat(s,"-gutter"),s),te()(t,"has-text-color",l||i),te()(t,d,d),te()(t,"has-padding",b&&"no"!==b),te()(t,"has-".concat(b,"-padding"),b&&"no"!==b&&"advanced"!==b),te()(t,"has-margin",u&&"no"!==u),te()(t,"has-".concat(u,"-margin"),u&&"no"!==u&&"advanced"!==u),te()(t,"has-".concat(a,"-content"),a),t)])),h=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Sl(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Sl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},rc(o),{color:d?void 0:i});return Object(ae.createElement)("div",{className:p},Object(ae.createElement)("div",{className:m,style:h},mc(o),Object(ae.createElement)(xe.InnerBlocks.Content,null)))},zl={from:[{type:"prefix",prefix:":feature",transform:function(e){return Object(oe.createBlock)(al.name,{content:e,columns:1})}},{type:"prefix",prefix:":features",transform:function(e){return Object(oe.createBlock)(al.name,{content:e})}}].concat(ce()([2,3].map((function(e){return{type:"prefix",prefix:Array(e+1).join(":")+"features",transform:function(t){return Object(oe.createBlock)(al.name,{content:t,columns:e})}}}))))};function Tl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Rl=al.name,Bl=al.category,Nl=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Tl(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Tl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},da,{},$n,{},al.attributes),Al={title:Object(re.__)("Features","coblocks"),description:Object(re.__)("Add up to four columns of small notes for your product or service.","coblocks"),icon:xl,keywords:["coblocks"],supports:{align:["wide","full"],coBlocksSpacing:!0},example:{attributes:{align:"wide"}},attributes:Nl,transforms:zl,edit:Cl,getEditWrapperProps:function(e){var t=e.id,o=(e.layout,e.columns);return{"data-id":t,"data-columns":o}},save:Pl,deprecated:sl},Il=function(e){var t=e.onClick,o=void 0===t?kt.noop:t;return Object(ae.createElement)("div",{className:"coblocks-list-appender"},Object(ae.createElement)(ie.IconButton,{icon:"insert",label:Object(re.__)("Add menu section","coblocks"),labelPosition:"bottom",className:"coblocks-list-appender__toggle",onClick:o},Object(re.__)("Add menu section","coblocks")))},Ml=function(e){var t=e.activeStyle,o=e.attributes,n=e.layoutOptions,c=e.onSetColumns,r=e.onSetGutter,a=e.onToggleImages,i=e.onTogglePrices,l=e.onUpdateStyle,s=o.showImages,u=o.showPrices,b=[{value:"small",label:Object(re.__)("S","coblocks"),tooltip:Object(re.__)("Small","coblocks")},{value:"medium",label:Object(re.__)("M","coblocks"),tooltip:Object(re.__)("Medium","coblocks")},{value:"large",label:Object(re.__)("L","coblocks"),tooltip:Object(re.__)("Large","coblocks")},{value:"huge",label:Object(re.__)("XL","coblocks"),tooltip:Object(re.__)("Huge","coblocks")}];return Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Styles","coblocks"),initialOpen:!1},Object(ae.createElement)("div",{className:"block-editor-block-styles block-editor-block-styles coblocks-editor-block-styles"},n.map((function(e){return Object(ae.createElement)("div",{key:"style-".concat(e.name),className:Fe()("block-editor-block-styles__item block-editor-block-styles__item",{"is-active":t===e}),onClick:function(){return l(e)},onKeyDown:function(t){qe.ENTER!==t.keyCode&&qe.SPACE!==t.keyCode||(t.preventDefault(),l(e))},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(ae.createElement)("div",{className:"block-editor-block-styles__item-preview block-editor-block-styles__item-preview"},s?e.iconWithImages:e.icon),Object(ae.createElement)("div",{className:"block-editor-block-styles__item-label block-editor-block-styles__item-label"},e.label||e.name))})))),Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Food & Drinks Settings","coblocks"),initialOpen:!0},"grid"===t.name&&Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Columns","coblocks"),value:o.columns,min:2,max:4,onChange:function(e){return c(e)}}),Object(ae.createElement)(Wr,{label:Object(re.__)("Gutter","coblocks"),currentOption:o.gutter,options:b,onChange:function(e){return r(e)}})),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Images","coblocks"),help:s?Object(re.__)("Showing images for each item","coblocks"):Object(re.__)("Toggle to show images for each item.","coblocks"),checked:s,onChange:a}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Prices","coblocks"),help:u?Object(re.__)("Showing the price of each item","coblocks"):Object(re.__)("Toggle to show the price of each item.","coblocks"),checked:u,onChange:i})))};function Dl(){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}}var Ll=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Dl()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.onChangeHeadingLevel,n=t.headingLevel;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(vl,{minLevel:2,maxLevel:5,selectedLevel:n,onChange:o})))}}]),n}(ae.Component),Fl={};Fl.layoutGridIcon=Object(ae.createElement)(ie.SVG,{height:"26",viewBox:"0 0 56 26",width:"56",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m5 6h13v.87858073 1.12141927h-13z"}),Object(ae.createElement)(ie.Path,{d:"m8 18h6v.8785807 1.1214193h-6z"}),Object(ae.createElement)(ie.Path,{d:"m0 10h23v.8785807 1.1214193h-23z"}),Object(ae.createElement)(ie.Path,{d:"m3 14h17v.8785807 1.1214193h-17z"}),Object(ae.createElement)(ie.Path,{d:"m38 6h13v.87858073 1.12141927h-13z"}),Object(ae.createElement)(ie.Path,{d:"m41 18h6v.8785807 1.1214193h-6z"}),Object(ae.createElement)(ie.Path,{d:"m33 10h23v.8785807 1.1214193h-23z"}),Object(ae.createElement)(ie.Path,{d:"m36 14h17v.8785807 1.1214193h-17z"}))),Fl.layoutGridIconWithImages=Object(ae.createElement)(ie.SVG,{height:"26",viewBox:"0 0 56 26",width:"56",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h24v14h-24z"}),Object(ae.createElement)(ie.Path,{d:"m3 16h18v.8785807 1.1214193h-18z"}),Object(ae.createElement)(ie.Path,{d:"m1 20h22v.8785807 1.1214193h-22z"}),Object(ae.createElement)(ie.Path,{d:"m4 24h16v.8785807 1.1214193h-16z"}),Object(ae.createElement)(ie.Path,{d:"m32 0h24v14h-24z"}),Object(ae.createElement)(ie.Path,{d:"m35 16h18v.8785807 1.1214193h-18z"}),Object(ae.createElement)(ie.Path,{d:"m33 20h22v.8785807 1.1214193h-22z"}),Object(ae.createElement)(ie.Path,{d:"m36 24h16v.8785807 1.1214193h-16z"}))),Fl.layoutListIcon=Object(ae.createElement)(ie.SVG,{height:"26",viewBox:"0 0 56 26",width:"56",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m14 0h18v.87858073 1.12141927h-18z"}),Object(ae.createElement)(ie.Path,{d:"m14 4h28v.87858073 1.12141927h-28z"}),Object(ae.createElement)(ie.Path,{d:"m14 8h20v.87858073 1.12141927h-20z"}),Object(ae.createElement)(ie.Path,{d:"m14 16h18v.8785807 1.1214193h-18z"}),Object(ae.createElement)(ie.Path,{d:"m14 20h28v.8785807 1.1214193h-28z"}),Object(ae.createElement)(ie.Path,{d:"m14 24h20v.8785807 1.1214193h-20z"}))),Fl.layoutListIconWithImages=Object(ae.createElement)(ie.SVG,{height:"26",viewBox:"0 0 56 26",width:"56",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m10 0h10v10h-10z"}),Object(ae.createElement)(ie.Path,{d:"m22 0h14v.87858073 1.12141927h-14z"}),Object(ae.createElement)(ie.Path,{d:"m22 4h22v.87858073 1.12141927h-22z"}),Object(ae.createElement)(ie.Path,{d:"m22 8h16v.87858073 1.12141927h-16z"}),Object(ae.createElement)(ie.Path,{d:"m10 16h10v10h-10z"}),Object(ae.createElement)(ie.Path,{d:"m22 16h14v.8785807 1.1214193h-14z"}),Object(ae.createElement)(ie.Path,{d:"m22 20h22v.8785807 1.1214193h-22z"}),Object(ae.createElement)(ie.Path,{d:"m22 24h16v.8785807 1.1214193h-16z"})));var Vl=Fl,Gl=o(198),Ul=o.n(Gl);function Hl(){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 Wl(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return ql(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(o);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return ql(e,t)}(e))){var t=0,o=function(){};return{s:o,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,c,r=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return r=e.done,e},e:function(e){a=!0,c=e},f:function(){try{r||null==n.return||n.return()}finally{if(a)throw c}}}}function ql(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var Yl=["coblocks/food-item"],Kl=[["core/heading",{level:3,placeholder:Object(re.__)("Menu title…","coblocks"),align:"center"}],["coblocks/food-item"],["coblocks/food-item"]],Xl=[{name:"grid",label:Object(re.__)("Grid","coblocks"),icon:Vl.layoutGridIcon,iconWithImages:Vl.layoutGridIconWithImages,isDefault:!0},{name:"list",label:Object(re.__)("List","coblocks"),icon:Vl.layoutListIcon,iconWithImages:Vl.layoutListIconWithImages}];function Jl(e,t){var o,n=Wl(new Ul.a(t).values());try{for(n.s();!(o=n.n()).done;){var c=o.value;if(-1!==c.indexOf("is-style-")){var r=c.substring(9),a=Object(kt.find)(e,{name:r});if(a)return a}}}catch(e){n.e(e)}finally{n.f()}return Object(kt.find)(e,"isDefault")}var Zl=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Hl()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).insertNewItem=e.insertNewItem.bind(pn()(e)),e.onChangeHeadingLevel=e.onChangeHeadingLevel.bind(pn()(e)),e.setColumns=e.setColumns.bind(pn()(e)),e.setGutter=e.setGutter.bind(pn()(e)),e.toggleImages=e.toggleImages.bind(pn()(e)),e.togglePrices=e.togglePrices.bind(pn()(e)),e.updateInnerAttributes=e.updateInnerAttributes.bind(pn()(e)),e.updateStyle=e.updateStyle.bind(pn()(e)),e}return ve()(n,[{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=Jl(Xl,t.className);o!==Jl(Xl,e.attributes.className)&&("list"===o.name&&this.setColumns(1),"grid"===o.name&&this.setColumns(2))}},{key:"updateInnerAttributes",value:function(e,t){var o=this.props,n=o.innerBlocks,c=o.updateBlockAttributes;n.forEach((function(o){o.name===e&&c(o.clientId,t)}))}},{key:"onChangeHeadingLevel",value:function(e){(0,this.props.setAttributes)({headingLevel:e}),this.updateInnerAttributes("coblocks/food-item",{headingLevel:e})}},{key:"toggleImages",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=!t.showImages;o({showImages:n}),this.updateInnerAttributes("coblocks/food-item",{showImage:n})}},{key:"togglePrices",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=!t.showPrices;o({showPrices:n}),this.updateInnerAttributes("coblocks/food-item",{showPrice:n})}},{key:"setColumns",value:function(e){(0,this.props.setAttributes)({columns:parseInt(e)})}},{key:"setGutter",value:function(e){(0,this.props.setAttributes)({gutter:e})}},{key:"updateStyle",value:function(e){var t=this.props,o=t.className,n=t.attributes,c=t.setAttributes,r=Jl(Xl,o);c({className:function(e,t,o){var n=new Ul.a(e);return t&&n.remove("is-style-"+t.name),n.add("is-style-"+o.name),n.value}(n.className,r,e)})}},{key:"insertNewItem",value:function(){var e=this.props,t=e.clientId,o=e.attributes,n=e.insertBlock,c=(0,e.getBlockOrder)().indexOf(t)+1,r=Kl.map((function(e){var t=be()(e,2),n=t[0],c=t[1];return Object(oe.createBlock)(n,Object.assign({},c,{showImage:o.showImages,showPrice:o.showPrices}))}));n(Object(oe.createBlock)("coblocks/food-and-drinks",o,r),c)}},{key:"render",value:function(){var e,t=this.props,o=t.className,n=t.attributes,c=t.isSelected,r=Jl(Xl,o),a=n.columns,i=n.gutter,l=Fe()(o,(e={"has-columns":a>1,"has-responsive-columns":a>1},te()(e,"has-".concat(a,"-columns"),a>1),te()(e,"has-".concat(i,"-gutter"),i),e));return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(Ll,Ie()({},this.props,{onChangeHeadingLevel:this.onChangeHeadingLevel})),Object(ae.createElement)(Ml,{attributes:n,activeStyle:r,layoutOptions:Xl,onToggleImages:this.toggleImages,onTogglePrices:this.togglePrices,onUpdateStyle:this.updateStyle,onSetColumns:this.setColumns,onSetGutter:this.setGutter}),Object(ae.createElement)("div",{className:l},Object(ae.createElement)(xe.InnerBlocks,{allowedBlocks:Yl,template:Kl,templateInsertUpdatesSelection:!1}),c&&Object(ae.createElement)(Il,{onClick:this.insertNewItem})))}}]),n}(ae.Component),$l=Object(Ce.compose)([Object(Ye.withSelect)((function(e,t){var o=e("core/block-editor"),n=o.getBlockOrder,c=o.getBlockRootClientId,r=o.getBlockSelectionStart,a=o.getBlocks,i=o.getBlocksByClientId,l=c(r());return{getBlockOrder:n,getBlocksByClientId:i,isSelected:t.isSelected||t.clientId===l,innerBlocks:a(t.clientId)}})),Object(Ye.withDispatch)((function(e){var t=e("core/block-editor");return{insertBlock:t.insertBlock,insertBlocks:t.insertBlocks,updateBlockAttributes:t.updateBlockAttributes}})),function(e){return function(t){t.innerBlocks.length>0&&(t.innerBlocks.reduce((function(e,t){return e+("coblocks/food-item"===t.name)}),0)<t.attributes.columns&&t.insertBlock(Object(oe.createBlock)("coblocks/food-item",{showImage:t.attributes.showImages,showPrice:t.attributes.showPrices}),t.innerBlocks.length,t.clientId,!1));return Object(ae.createElement)(e,t)}}])(Zl),Ql=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h24v24h-24z"}),Object(ae.createElement)(ie.Path,{d:"m8.1 13.34 2.83-2.83-7.02-7.01c-1.56 1.56-1.56 4.09 0 5.66zm6.78-1.81c1.53.71 3.68.21 5.27-1.38 1.91-1.91 2.28-4.65.81-6.12-1.46-1.46-4.2-1.1-6.12.81-1.59 1.59-2.09 3.74-1.38 5.27l-9.76 9.76 1.41 1.41 6.89-6.87 6.88 6.88 1.41-1.41-6.88-6.88z",fill:"currentColor",fillRule:"nonzero"}))),es=o(90);var ts=[{attributes:es.attributes,save:function(e){var t=e.attributes,o=e.className;return Object(ae.createElement)("div",{className:o,"data-columns":t.columns,itemScope:!0,itemType:"http://schema.org/Menu"},Object(ae.createElement)(xe.InnerBlocks.Content,null))}}],os=es.name,ns=es.category,cs=es.attributes,rs={title:Object(re.__)("Food & Drinks","coblocks"),description:Object(re.__)("Display a menu or price list.","coblocks"),icon:Ql,keywords:["coblocks",Object(re.__)("restaurant","coblocks"),Object(re.__)("menu","coblocks")],supports:{align:["wide"]},getEditWrapperProps:function(e){return{"data-columns":e.columns}},deprecated:ts,attributes:cs,edit:$l,save:function(e){var t,o=e.attributes,n=e.className,c=o.columns,r=o.gutter,a=Fe()(n,(t={"has-columns":c>1,"has-responsive-columns":c>1},te()(t,"has-".concat(c,"-columns"),c>1),te()(t,"has-".concat(r,"-gutter"),r),t));return Object(ae.createElement)("div",{className:a,"data-columns":o.columns,itemScope:!0,itemType:"http://schema.org/Menu"},Object(ae.createElement)(xe.InnerBlocks.Content,null))}},as=function(e){var t=e.attributes,o=e.setAttributes,n=e.setSpicyTo,c=e.setHotTo,r=t.alt,a=t.focalPoint,i=t.glutenFree,l=t.pescatarian,s=t.popular,u=t.showImage,b=t.showPrice,d=t.spicier,p=t.spicy,m=t.url,h=t.vegan,f=t.vegetarian;return Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Item settings","coblocks"),initialOpen:!0},Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Image","coblocks"),help:u?Object(re.__)("Showing an image for this item.","coblocks"):Object(re.__)("Toggle to show an image for this item.","coblocks"),checked:u,onChange:function(){return o({showImage:!u})}}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Price","coblocks"),help:b?Object(re.__)("Showing the price for this item.","coblocks"):Object(re.__)("Toggle to show the price for this item.","coblocks"),checked:b,onChange:function(){return o({showPrice:!b})}}),Object(ae.createElement)("div",{className:"components-food-item-attributes"},Object(ae.createElement)("p",{className:"components-food-item-attributes__label"},Object(re.__)("Item attributes","coblocks")),Object(ae.createElement)(ie.CheckboxControl,{label:Object(re.__)("Popular","coblocks"),checked:s,onChange:function(){return o({popular:!s})}}),Object(ae.createElement)(ie.CheckboxControl,{label:Object(re.__)("Gluten Free","coblocks"),checked:i,onChange:function(){return o({glutenFree:!i})}}),Object(ae.createElement)(ie.CheckboxControl,{label:Object(re.__)("Pescatarian","coblocks"),checked:l,onChange:function(){return o({pescatarian:!l})}}),Object(ae.createElement)(ie.CheckboxControl,{label:Object(re.__)("Spicy","coblocks"),checked:p,onChange:n}),Object(ae.createElement)(ie.CheckboxControl,{label:Object(re.__)("Spicier","coblocks"),checked:d,onChange:c}),Object(ae.createElement)(ie.CheckboxControl,{label:Object(re.__)("Vegan","coblocks"),checked:h,onChange:function(){return o({vegan:!h})}}),Object(ae.createElement)(ie.CheckboxControl,{label:Object(re.__)("Vegetarian","coblocks"),checked:f,onChange:function(){return o({vegetarian:!f})}}))),m&&Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Image settings","coblocks"),initialOpen:!1},Object(ae.createElement)(ie.TextareaControl,{label:Object(re.__)("Alt text (alternative text)","coblocks"),value:r,onChange:function(e){return o({alt:e})},help:Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(re.__)("Describe the purpose of the image","coblocks")),Object(re.__)("Leave empty if the image is purely decorative.","coblocks"))}),Object(ae.createElement)(ie.FocalPointPicker,{label:Object(re.__)("Focal point","coblocks"),url:m,value:a,onChange:function(e){return o({focalPoint:e})}})))},is={};is.glutenFree=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m6.99766252.00002487c-3.85852931 0-6.99766252 3.13913321-6.99766252 6.99766252s3.13913321 6.99766251 6.99766252 6.99766251c3.85857908 0 6.99771228-3.1391332 6.99771228-6.99766251s-3.1391332-6.99766252-6.99771228-6.99766252zm-.16527708 8.72190053c-.1740675.18691119-.36012079.35314565-.65887034.49870337-.29879929.14560746-.67575489.21838011-1.13207283.21838011-.58016696 0-1.06856305-.18033392-1.43575843-.54106394-.36724512-.36068029-.56548313-.82895915-.56548313-1.40479929v-.99086679c0-.5736643.19144938-1.04139609.54459503-1.40318295.35308348-.36179928.81523268-.54269271 1.37153996-.54269271.57799112 0 1.02444938.14072113 1.33193961.42208881.30746536.28142984.46633925.6577016.47285435 1.11614565l-.00465009.02587389h-.89634813c-.01741918-.27353464-.0977762-.45774778-.24119538-.60442452-.14340675-.14666429-.35313322-.22316696-.62905507-.22316696-.29121492 0-.51775133.1107691-.69588454.33546537-.17819538.2247087-.25912434.5123428-.25912434.86619715v.99646181c0 .36036945.08417407.65290231.26889698.87761102.18467318.22469627.42943695.33699467.74233571.33699467.22163765 0 .40621136-.02271581.54097691-.06824689.13470337-.04548135.20091119-.10180462.31281172-.16898224v-.86832327h-.88277087v-.6589698h1.81527531v1.78079751zm4.11545296-3.37229663h-2.36234462v1.31793961h2.02664302v.70870338h-2.02664302v1.97690941h-.93250444v-4.71225577h3.29484906z"})),is.vegetarian=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m.29488995 17.8015943c1.51930857 1.3683839 11.71175615-4.6987887 13.22100305-7.2544468.7244385-1.22752086-.1308014-3.02855552-1.5293702-4.46737092 1.58974-1.05647284 2.9883089 2.23368544 4.3164462 1.53943186.6036987-.32197268.9961029-1.31807564.7043152-1.93183606-.5232056-1.08665778-2.2638704-1.08665778-3.441083-1.21745918.8351166-.20123292 2.8373842-1.05647285 2.8776308-2.26387038.0402466-.92567145-1.136966-1.98214429-2.0626375-1.87146618-1.2174591.14086304-1.6601716 1.89158947-2.0726991 3.01849384-.0503082-.71437688-.2012329-2.28399368-.9860413-2.96818561-1.0464112-.9156098-2.30411695-.05030823-2.33430189 1.05647284-.04024658 1.33819894 2.83738419 2.08276075 1.93183609 3.69262413-1.52937024-1.17721259-3.3304049-1.82115795-4.48749421-1.14702766-.49302066.31191103-1.05647284.9156098-1.64004832 1.7004182.89548651.94579474 2.13306898 2.08276075 3.10904866 2.73676775.20123292.14086305.2616028.42258914.11067811.62382206-.14086305.21129457-.42258914.2616028-.62382206.12073976-.99610297-.6741303-2.21356215-1.79097302-3.11911031-2.72670611-.45277407.67413029-.9156098 1.4388154-1.34826058 2.24374709.85523992.86530157 1.9418977 1.84128127 2.80719927 2.42485667.20123293.1408631.25154116.4225892.11067811.6238221-.14086305.2112946-.42258914.2616028-.63388371.1207398-.85523992-.5835755-1.87146618-1.4891237-2.7267061-2.33430194-1.78091137 3.51151454-3.08892536 7.47580304-2.18337721 8.28073474z",fillRule:"evenodd"})),is.spicy=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m6.42857143 11.814845c-1.14837923 1.2471524-1.79672242 3.3088707-1.94503154 6.185155-2.79750264-.7772099-4.48353989-3.2093657-4.48353989-6.0371114 0-4.76263563 3.60857176-5.79732963 3.19071462-11.9628886.78714296.01369448 3.9678567 1.93929045 4.56142846 6.51096418.62167351-.65045468.93894923-2.80369415.81928582-3.68457578 2.8228569 2.25882831 4.285714 5.15901471 4.285714 8.3947159 0 3.2026027-1.6730476 5.9184005-4.4842629 6.7649668-.14968088-2.8690124-.79778374-4.9260878-1.94430857-6.1712261z",fillRule:"evenodd",transform:"translate(2.5)"})),is.pescatarian=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17.8325581 4.90148962c-.1046511.04822471-2.344186.91626951-3.9767441 2.12188728-.711628-.94038186-1.7162791-1.88076372-2.9302326-2.55590967-.8162791-1.47085369.3348837-2.79703324.3348837-2.79703324-2.34418603-.6992583-4.10232557.89215716-5.0232558 2.00132551-3.45348837.86804479-6.09069767 4.89480815-6.09069767 5.69051588 0 .62692124 3.07674418 5.47350472 6.96976744 5.81107762.52325581.675146 1.59069767 1.6396402 2.99302323 1.2297302 0 0-.66976742-.747483-.23023253-1.5914155 1.75813953-.6028089 3.20232553-1.7843143 4.10232553-3.0381568 1.611628 1.1573931 3.7465117 2.0013255 3.8720931 2.0495502-.0418605-.1446741-.9627907-3.327505-.9627907-4.46078572-.0209303-1.66375252.9209302-4.36433633.9418604-4.46078576zm-13.8359579 4.14672815c-.54545455 0-1-.45454545-1-1 0-.54545454.45454545-1 1-1s1 .45454546 1 1c0 .56363637-.45454545 1-1 1z"})),is.popular=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(ae.createElement)(ie.Path,{d:"m9 14.143 5.562 3.357-1.476-6.327 4.914-4.257-6.471-.549-2.529-5.967-2.529 5.967-6.471.549 4.914 4.257-1.476 6.327z",fillRule:"evenodd"})),is.vegan=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m13.95.43125c-.13125-.4125-.69375-.46875-.91875-.09375-1.74375 3.1875-5.55 4.1625-5.0625 6.8625.1125.58125.45 1.06875.9375 1.44375.84375-1.5 1.875-2.49375 2.5125-3.0375l-4.74375 9.80625-5.1375-10.59375c-.1875-.375-.6375-.525-1.0125-.35625-.375.1875-.525.6375-.35625 1.0125l5.8125 12c.13125.2625.39375.43125.675.43125s.5625-.16875.675-.43125l3.88125-7.9875c1.125.09375 2.26875-.20625 2.94375-.99375 1.36875-1.6125.58125-5.7375-.20625-8.0625z",fillRule:"evenodd",transform:"translate(1.5)"}));var ls=is;function ss(){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}}var us=function(e){var t=["url","title","description","price"],o=Object.entries(e).filter((function(e){var o=be()(e,1)[0];return t.includes(o)}));return void 0===Object.fromEntries?de(Object(xn.default)(o)):de(Object.fromEntries(o))},bs=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(ss()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).state={url:e.props.attributes.url||"",price:e.props.attributes.price||""},e.replaceImage=e.replaceImage.bind(pn()(e)),e.setSpicyTo=e.setSpicyTo.bind(pn()(e)),e.setHotTo=e.setHotTo.bind(pn()(e)),e.updateInnerAttributes=e.updateInnerAttributes.bind(pn()(e)),e.onChangeHeadingLevel=e.onChangeHeadingLevel.bind(pn()(e)),e}return ve()(n,[{key:"handlePlaceholderPlacement",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.props,c=n.getBlockRootClientId,r=n.getBlocksByClientId,a=n.removeBlocks,i=n.insertBlocks,l=c(e),s=r(l)[0].innerBlocks,u=s.filter((function(e){return"coblocks/food-item"===e.name&&!us(e.attributes)})),b=s.filter((function(e){return e.name===t&&us(e.attributes)}));if(a(b.filter((function(t,o){return t.clientId!==e&&0!==o&&u.length>=1})).map((function(e){return e.clientId})),!1),0===b.length){var d=Object(oe.createBlock)(t,o);i(d,s.length,l,!1)}}},{key:"updateInnerAttributes",value:function(e,t){var o=this.props,n=o.getBlocksByClientId,c=o.updateBlockAttributes;n(this.props.clientId)[0].innerBlocks.forEach((function(o){o.name===e&&c(o.clientId,t)}))}},{key:"onChangeHeadingLevel",value:function(e){(0,this.props.setAttributes)({headingLevel:e})}},{key:"componentDidUpdate",value:function(e){var t=this.props,o=t.attributes,n=t.clientId,c=t.isSelected,r=t.setAttributes,a=o.showPrice,i=o.showImage;(us(e.attributes)!==us(o)||!e.isSelected&&c)&&this.handlePlaceholderPlacement(n,"coblocks/food-item",{showImage:i,showPrice:a}),a!==e.attributes.showPrice&&r({price:a?this.state.price:""}),i!==e.attributes.showImage&&r({url:i?this.state.url:""})}},{key:"replaceImage",value:function(e){var t=this;Object(kn.mediaUpload)({allowedTypes:["image"],filesList:e,onFileChange:function(e){var o=be()(e,1)[0];t.setState({url:o.url}),t.props.setAttributes({url:o.url,alt:o.alt})}})}},{key:"setSpicyTo",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes;t.spicier&&o({spicier:!t.spicier}),o({spicy:!t.spicy})}},{key:"setHotTo",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes;t.spicy||o({spicy:!t.spicier}),o({spicier:!t.spicier})}},{key:"renderImage",value:function(){var e=this,t=this.props,o=t.attributes,n=t.setAttributes,c=t.isSelected,r=o.url,a=o.alt,i=o.focalPoint,l=Fe()("wp-block-coblocks-food-item__figure",{"is-transient":Object(St.isBlobURL)(r),"is-selected":c}),s=Object(ae.createElement)(ie.DropZone,{onFilesDrop:this.replaceImage,label:Object(re.__)("Drop image to replace","coblocks")});return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("figure",{className:l},c&&Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__remove-menu"},Object(ae.createElement)(ie.IconButton,{icon:"no-alt",onClick:function(){n({url:""}),e.setState({url:""})},className:"coblocks-gallery-item__button",label:Object(re.__)("Remove image","coblocks"),disabled:!c})),s,Object(St.isBlobURL)(r)&&Object(ae.createElement)(ie.Spinner,null),Object(ae.createElement)("img",{src:r,alt:a,style:{objectPosition:i?"".concat(100*i.x,"% ").concat(100*i.y,"%"):void 0}})))}},{key:"renderPlaceholder",value:function(){var e=this.props.setAttributes;return Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__figure"},Object(ae.createElement)(xe.MediaPlaceholder,{allowedTypes:["image"],multiple:!1,icon:"format-image",labels:{title:" "},onSelect:function(t){return e({url:t.url,alt:t.alt})}}))}},{key:"render",value:function(){var e=this,t=this.props,o=t.attributes,n=t.className,c=t.isSelected,r=t.setAttributes,a=o.description,i=o.glutenFree,l=o.pescatarian,s=o.popular,u=o.price,b=o.showImage,d=o.showPrice,p=o.spicier,m=o.spicy,h=o.title,f=o.url,g=o.vegan,v=o.vegetarian,y=o.headingLevel,O={keepPlaceholderOnFocus:!0,formattingControls:["bold","italic"]};return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(Ll,Ie()({},this.props,{onChangeHeadingLevel:this.onChangeHeadingLevel})),Object(ae.createElement)(as,Ie()({},this.props,{setSpicyTo:this.setSpicyTo,setHotTo:this.setHotTo})),Object(ae.createElement)("div",{className:Fe()(n,{"is-empty":us(o)})},!!b&&(f?this.renderImage():this.renderPlaceholder()),Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__content"},Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__heading-wrapper"},Object(ae.createElement)(xe.RichText,Ie()({value:h,tagName:"h".concat(y),wrapperClassName:"wp-block-coblocks-food-item__heading",placeholder:Object(re.__)("Add title…","coblocks"),onChange:function(e){return r({title:e})}},O)),Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__attributes"},(c&&h||!!s)&&Object(ae.createElement)(ie.IconButton,{icon:ls.popular,label:Object(re.__)("Popular","coblocks"),className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--popular",{"is-toggled":s}),onClick:function(){return r({popular:!s})}}),(c&&h||!!m)&&Object(ae.createElement)(ie.IconButton,{icon:ls.spicy,label:Object(re.__)("Spicy","coblocks"),className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--spicy",{"is-toggled":m}),onClick:this.setSpicyTo,isToggled:m}),(c&&h&&!!m||!!p)&&Object(ae.createElement)(ie.IconButton,{icon:ls.spicy,label:Object(re.__)("Hot","coblocks"),className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--spicier",{"is-toggled":p}),onClick:function(){return r({spicier:!p})},isToggled:p}),(c&&h||!!v)&&Object(ae.createElement)(ie.IconButton,{icon:ls.vegetarian,className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--vegetarian",{"is-toggled":v}),label:Object(re.__)("Vegetarian","coblocks"),onClick:function(){return r({vegetarian:!v})},isToggled:v}),(c&&!!i||!!i)&&Object(ae.createElement)(ie.IconButton,{icon:ls.glutenFree,className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--gluten-free",{"is-toggled":i}),onClick:function(){return r({glutenFree:!i})},label:Object(re.__)("Gluten free","coblocks"),isToggled:i}),(c&&!!l||!!l)&&Object(ae.createElement)(ie.IconButton,{icon:ls.pescatarian,label:Object(re.__)("Pescatarian","coblocks"),className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--pescatarian",{"is-toggled":l}),onClick:function(){return r({pescatarian:!l})},isToggled:l}),(c&&!!g||!!g)&&Object(ae.createElement)(ie.IconButton,{icon:ls.vegan,className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--vegan",{"is-toggled":g}),onClick:function(){return r({vegan:!g})},isToggled:g}))),Object(ae.createElement)(xe.RichText,Ie()({value:a,tagName:"p",wrapperClassName:"wp-block-coblocks-food-item__description",placeholder:Object(re.__)("Add description…","coblocks"),onChange:function(e){return r({description:e})}},O)),!!d&&(u||c)&&Object(ae.createElement)(xe.RichText,Ie()({value:u,tagName:"p",wrapperClassName:"wp-block-coblocks-food-item__price",placeholder:Object(re.__)("$0.00","coblocks"),onChange:function(t){e.setState({price:t}),e.props.setAttributes({price:t})}},O)))))}}]),n}(ae.Component),ds=Object(Ye.withSelect)((function(e,t){var o=e("core/block-editor"),n=o.getBlockRootClientId,c=o.getBlockSelectionStart,r=o.getBlocksByClientId;return{selectedParentClientId:n(c()),innerItems:r(t.clientId)[0].innerBlocks,getBlockRootClientId:n,getBlockSelectionStart:c,getBlocksByClientId:r}})),ps=Object(Ye.withDispatch)((function(e){var t=e("core/block-editor");return{insertBlocks:t.insertBlocks,removeBlocks:t.removeBlocks,updateBlockAttributes:t.updateBlockAttributes}})),ms=Object(Ce.compose)([ds,ps])(bs),hs=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m3.74199204 20.8015943c1.51930856 1.3683839 11.71175606-4.6987887 13.22100306-7.2544468.7244385-1.2275209-.1308014-3.0285555-1.5293703-4.46737092 1.5897401-1.05647284 2.988309 2.23368542 4.3164462 1.53943182.6036988-.3219726.996103-1.3180756.7043153-1.93183602-.5232056-1.08665778-2.2638704-1.08665778-3.441083-1.21745918.8351166-.20123292 2.8373842-1.05647285 2.8776308-2.26387038.0402466-.92567145-1.136966-1.98214429-2.0626375-1.87146618-1.2174592.14086304-1.6601716 1.89158947-2.0726991 3.01849384-.0503082-.71437688-.2012329-2.28399368-.9860413-2.96818561-1.0464112-.9156098-2.304117-.05030823-2.3343019 1.05647284-.0402466 1.33819894 2.8373842 2.08276075 1.9318361 3.69262413-1.5293703-1.17721259-3.3304049-1.82115795-4.48749422-1.14702766-.49302066.31191103-1.05647284.9156098-1.64004832 1.7004182.89548651.94579474 2.13306894 2.08276072 3.10904864 2.73676772.2012329.1408631.2616028.4225892.1106781.6238221-.140863.2112946-.4225891.2616028-.623822.1207397-.996103-.6741302-2.21356219-1.790973-3.11911034-2.72670606-.45277407.67413026-.9156098 1.43881536-1.34826058 2.24374706.85523992.8653016 1.9418977 1.8412813 2.80719927 2.4248567.20123292.1408631.25154116.4225892.11067811.6238221-.14086305.2112946-.42258914.2616028-.63388371.1207398-.85523992-.5835755-1.87146618-1.4891237-2.7267061-2.3343019-1.78091137 3.5115145-3.08892536 7.475803-2.18337721 8.2807347z",fill:"currentColor"})),fs=o(71);var gs={};gs.glutenFree=Object(ae.createElement)(ie.SVG,{height:"14",viewBox:"0 0 14 14",width:"14",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m6.99766252.00002487c-3.85852931 0-6.99766252 3.13913321-6.99766252 6.99766252s3.13913321 6.99766251 6.99766252 6.99766251c3.85857908 0 6.99771228-3.1391332 6.99771228-6.99766251s-3.1391332-6.99766252-6.99771228-6.99766252zm-.16527708 8.72190053c-.1740675.18691119-.36012079.35314565-.65887034.49870337-.29879929.14560746-.67575489.21838011-1.13207283.21838011-.58016696 0-1.06856305-.18033392-1.43575843-.54106394-.36724512-.36068029-.56548313-.82895915-.56548313-1.40479929v-.99086679c0-.5736643.19144938-1.04139609.54459503-1.40318295.35308348-.36179928.81523268-.54269271 1.37153996-.54269271.57799112 0 1.02444938.14072113 1.33193961.42208881.30746536.28142984.46633925.6577016.47285435 1.11614565l-.00465009.02587389h-.89634813c-.01741918-.27353464-.0977762-.45774778-.24119538-.60442452-.14340675-.14666429-.35313322-.22316696-.62905507-.22316696-.29121492 0-.51775133.1107691-.69588454.33546537-.17819538.2247087-.25912434.5123428-.25912434.86619715v.99646181c0 .36036945.08417407.65290231.26889698.87761102.18467318.22469627.42943695.33699467.74233571.33699467.22163765 0 .40621136-.02271581.54097691-.06824689.13470337-.04548135.20091119-.10180462.31281172-.16898224v-.86832327h-.88277087v-.6589698h1.81527531v1.78079751zm4.11545296-3.37229663h-2.36234462v1.31793961h2.02664302v.70870338h-2.02664302v1.97690941h-.93250444v-4.71225577h3.29484906z"})),gs.vegetarian=Object(ae.createElement)(ie.SVG,{height:"18",viewBox:"0 0 18 18",width:"18",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m.29488995 17.8015943c1.51930857 1.3683839 11.71175615-4.6987887 13.22100305-7.2544468.7244385-1.22752086-.1308014-3.02855552-1.5293702-4.46737092 1.58974-1.05647284 2.9883089 2.23368544 4.3164462 1.53943186.6036987-.32197268.9961029-1.31807564.7043152-1.93183606-.5232056-1.08665778-2.2638704-1.08665778-3.441083-1.21745918.8351166-.20123292 2.8373842-1.05647285 2.8776308-2.26387038.0402466-.92567145-1.136966-1.98214429-2.0626375-1.87146618-1.2174591.14086304-1.6601716 1.89158947-2.0726991 3.01849384-.0503082-.71437688-.2012329-2.28399368-.9860413-2.96818561-1.0464112-.9156098-2.30411695-.05030823-2.33430189 1.05647284-.04024658 1.33819894 2.83738419 2.08276075 1.93183609 3.69262413-1.52937024-1.17721259-3.3304049-1.82115795-4.48749421-1.14702766-.49302066.31191103-1.05647284.9156098-1.64004832 1.7004182.89548651.94579474 2.13306898 2.08276075 3.10904866 2.73676775.20123292.14086305.2616028.42258914.11067811.62382206-.14086305.21129457-.42258914.2616028-.62382206.12073976-.99610297-.6741303-2.21356215-1.79097302-3.11911031-2.72670611-.45277407.67413029-.9156098 1.4388154-1.34826058 2.24374709.85523992.86530157 1.9418977 1.84128127 2.80719927 2.42485667.20123293.1408631.25154116.4225892.11067811.6238221-.14086305.2112946-.42258914.2616028-.63388371.1207398-.85523992-.5835755-1.87146618-1.4891237-2.7267061-2.33430194-1.78091137 3.51151454-3.08892536 7.47580304-2.18337721 8.28073474z",fillRule:"evenodd"})),gs.spicy=Object(ae.createElement)(ie.SVG,{height:"18",viewBox:"0 0 18 18",width:"18",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m6.42857143 11.814845c-1.14837923 1.2471524-1.79672242 3.3088707-1.94503154 6.185155-2.79750264-.7772099-4.48353989-3.2093657-4.48353989-6.0371114 0-4.76263563 3.60857176-5.79732963 3.19071462-11.9628886.78714296.01369448 3.9678567 1.93929045 4.56142846 6.51096418.62167351-.65045468.93894923-2.80369415.81928582-3.68457578 2.8228569 2.25882831 4.285714 5.15901471 4.285714 8.3947159 0 3.2026027-1.6730476 5.9184005-4.4842629 6.7649668-.14968088-2.8690124-.79778374-4.9260878-1.94430857-6.1712261z",fillRule:"evenodd",transform:"translate(2.5)"})),gs.pescatarian=Object(ae.createElement)(ie.SVG,{height:"18",viewBox:"0 0 18 18",width:"18",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17.8325581 4.90148962c-.1046511.04822471-2.344186.91626951-3.9767441 2.12188728-.711628-.94038186-1.7162791-1.88076372-2.9302326-2.55590967-.8162791-1.47085369.3348837-2.79703324.3348837-2.79703324-2.34418603-.6992583-4.10232557.89215716-5.0232558 2.00132551-3.45348837.86804479-6.09069767 4.89480815-6.09069767 5.69051588 0 .62692124 3.07674418 5.47350472 6.96976744 5.81107762.52325581.675146 1.59069767 1.6396402 2.99302323 1.2297302 0 0-.66976742-.747483-.23023253-1.5914155 1.75813953-.6028089 3.20232553-1.7843143 4.10232553-3.0381568 1.611628 1.1573931 3.7465117 2.0013255 3.8720931 2.0495502-.0418605-.1446741-.9627907-3.327505-.9627907-4.46078572-.0209303-1.66375252.9209302-4.36433633.9418604-4.46078576zm-13.8359579 4.14672815c-.54545455 0-1-.45454545-1-1 0-.54545454.45454545-1 1-1s1 .45454546 1 1c0 .56363637-.45454545 1-1 1z"})),gs.popular=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(ae.createElement)(ie.Path,{d:"m9 14.143 5.562 3.357-1.476-6.327 4.914-4.257-6.471-.549-2.529-5.967-2.529 5.967-6.471.549 4.914 4.257-1.476 6.327z",fillRule:"evenodd"})),gs.vegan=Object(ae.createElement)(ie.SVG,{height:"18",viewBox:"0 0 18 18",width:"18",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m13.95.43125c-.13125-.4125-.69375-.46875-.91875-.09375-1.74375 3.1875-5.55 4.1625-5.0625 6.8625.1125.58125.45 1.06875.9375 1.44375.84375-1.5 1.875-2.49375 2.5125-3.0375l-4.74375 9.80625-5.1375-10.59375c-.1875-.375-.6375-.525-1.0125-.35625-.375.1875-.525.6375-.35625 1.0125l5.8125 12c.13125.2625.39375.43125.675.43125s.5625-.16875.675-.43125l3.88125-7.9875c1.125.09375 2.26875-.20625 2.94375-.99375 1.36875-1.6125.58125-5.7375-.20625-8.0625z",fillRule:"evenodd",transform:"translate(1.5)"}));var vs={};vs.glutenFree=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m6.99766252.00002487c-3.85852931 0-6.99766252 3.13913321-6.99766252 6.99766252s3.13913321 6.99766251 6.99766252 6.99766251c3.85857908 0 6.99771228-3.1391332 6.99771228-6.99766251s-3.1391332-6.99766252-6.99771228-6.99766252zm-.16527708 8.72190053c-.1740675.18691119-.36012079.35314565-.65887034.49870337-.29879929.14560746-.67575489.21838011-1.13207283.21838011-.58016696 0-1.06856305-.18033392-1.43575843-.54106394-.36724512-.36068029-.56548313-.82895915-.56548313-1.40479929v-.99086679c0-.5736643.19144938-1.04139609.54459503-1.40318295.35308348-.36179928.81523268-.54269271 1.37153996-.54269271.57799112 0 1.02444938.14072113 1.33193961.42208881.30746536.28142984.46633925.6577016.47285435 1.11614565l-.00465009.02587389h-.89634813c-.01741918-.27353464-.0977762-.45774778-.24119538-.60442452-.14340675-.14666429-.35313322-.22316696-.62905507-.22316696-.29121492 0-.51775133.1107691-.69588454.33546537-.17819538.2247087-.25912434.5123428-.25912434.86619715v.99646181c0 .36036945.08417407.65290231.26889698.87761102.18467318.22469627.42943695.33699467.74233571.33699467.22163765 0 .40621136-.02271581.54097691-.06824689.13470337-.04548135.20091119-.10180462.31281172-.16898224v-.86832327h-.88277087v-.6589698h1.81527531v1.78079751zm4.11545296-3.37229663h-2.36234462v1.31793961h2.02664302v.70870338h-2.02664302v1.97690941h-.93250444v-4.71225577h3.29484906z"})),vs.vegetarian=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m.29488995 17.8015943c1.51930857 1.3683839 11.71175615-4.6987887 13.22100305-7.2544468.7244385-1.22752086-.1308014-3.02855552-1.5293702-4.46737092 1.58974-1.05647284 2.9883089 2.23368544 4.3164462 1.53943186.6036987-.32197268.9961029-1.31807564.7043152-1.93183606-.5232056-1.08665778-2.2638704-1.08665778-3.441083-1.21745918.8351166-.20123292 2.8373842-1.05647285 2.8776308-2.26387038.0402466-.92567145-1.136966-1.98214429-2.0626375-1.87146618-1.2174591.14086304-1.6601716 1.89158947-2.0726991 3.01849384-.0503082-.71437688-.2012329-2.28399368-.9860413-2.96818561-1.0464112-.9156098-2.30411695-.05030823-2.33430189 1.05647284-.04024658 1.33819894 2.83738419 2.08276075 1.93183609 3.69262413-1.52937024-1.17721259-3.3304049-1.82115795-4.48749421-1.14702766-.49302066.31191103-1.05647284.9156098-1.64004832 1.7004182.89548651.94579474 2.13306898 2.08276075 3.10904866 2.73676775.20123292.14086305.2616028.42258914.11067811.62382206-.14086305.21129457-.42258914.2616028-.62382206.12073976-.99610297-.6741303-2.21356215-1.79097302-3.11911031-2.72670611-.45277407.67413029-.9156098 1.4388154-1.34826058 2.24374709.85523992.86530157 1.9418977 1.84128127 2.80719927 2.42485667.20123293.1408631.25154116.4225892.11067811.6238221-.14086305.2112946-.42258914.2616028-.63388371.1207398-.85523992-.5835755-1.87146618-1.4891237-2.7267061-2.33430194-1.78091137 3.51151454-3.08892536 7.47580304-2.18337721 8.28073474z",fillRule:"evenodd"})),vs.spicy=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m6.42857143 11.814845c-1.14837923 1.2471524-1.79672242 3.3088707-1.94503154 6.185155-2.79750264-.7772099-4.48353989-3.2093657-4.48353989-6.0371114 0-4.76263563 3.60857176-5.79732963 3.19071462-11.9628886.78714296.01369448 3.9678567 1.93929045 4.56142846 6.51096418.62167351-.65045468.93894923-2.80369415.81928582-3.68457578 2.8228569 2.25882831 4.285714 5.15901471 4.285714 8.3947159 0 3.2026027-1.6730476 5.9184005-4.4842629 6.7649668-.14968088-2.8690124-.79778374-4.9260878-1.94430857-6.1712261z",fillRule:"evenodd",transform:"translate(2.5)"})),vs.pescatarian=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17.8325581 4.90148962c-.1046511.04822471-2.344186.91626951-3.9767441 2.12188728-.711628-.94038186-1.7162791-1.88076372-2.9302326-2.55590967-.8162791-1.47085369.3348837-2.79703324.3348837-2.79703324-2.34418603-.6992583-4.10232557.89215716-5.0232558 2.00132551-3.45348837.86804479-6.09069767 4.89480815-6.09069767 5.69051588 0 .62692124 3.07674418 5.47350472 6.96976744 5.81107762.52325581.675146 1.59069767 1.6396402 2.99302323 1.2297302 0 0-.66976742-.747483-.23023253-1.5914155 1.75813953-.6028089 3.20232553-1.7843143 4.10232553-3.0381568 1.611628 1.1573931 3.7465117 2.0013255 3.8720931 2.0495502-.0418605-.1446741-.9627907-3.327505-.9627907-4.46078572-.0209303-1.66375252.9209302-4.36433633.9418604-4.46078576zm-13.8359579 4.14672815c-.54545455 0-1-.45454545-1-1 0-.54545454.45454545-1 1-1s1 .45454546 1 1c0 .56363637-.45454545 1-1 1z"})),vs.popular=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(ae.createElement)(ie.Path,{d:"m9 14.143 5.562 3.357-1.476-6.327 4.914-4.257-6.471-.549-2.529-5.967-2.529 5.967-6.471.549 4.914 4.257-1.476 6.327z",fillRule:"evenodd"})),vs.vegan=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m13.95.43125c-.13125-.4125-.69375-.46875-.91875-.09375-1.74375 3.1875-5.55 4.1625-5.0625 6.8625.1125.58125.45 1.06875.9375 1.44375.84375-1.5 1.875-2.49375 2.5125-3.0375l-4.74375 9.80625-5.1375-10.59375c-.1875-.375-.6375-.525-1.0125-.35625-.375.1875-.525.6375-.35625 1.0125l5.8125 12c.13125.2625.39375.43125.675.43125s.5625-.16875.675-.43125l3.88125-7.9875c1.125.09375 2.26875-.20625 2.94375-.99375 1.36875-1.6125.58125-5.7375-.20625-8.0625z",fillRule:"evenodd",transform:"translate(1.5)"}));var ys=[{attributes:fs.attributes,save:function(e){var t=e.attributes;return function(e){var t=["url","title","description","price"],o=Object.entries(e).filter((function(e){var o=be()(e,1)[0];return t.includes(o)}));return Object.fromEntries?de(Object.fromEntries(o)):de(Object(xn.default)(o))}(t)?null:Object(ae.createElement)("div",{className:t.className,itemScope:!0,itemType:"http://schema.org/MenuItem"},!!t.showImage&&t.url&&Object(ae.createElement)("figure",{className:"wp-block-coblocks-food-item__figure"},Object(ae.createElement)("img",{src:t.url,alt:t.alt,itemProp:"image",style:{objectPosition:t.focalPoint?"".concat(100*t.focalPoint.x,"% ").concat(100*t.focalPoint.y,"%"):void 0}})),Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__content"},Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__heading-wrapper"},Object(ae.createElement)(xe.RichText.Content,{tagName:"h4",className:"wp-block-coblocks-food-item__heading",value:t.title,itemprop:"name"}),(!!t.spicy||!!t.vegetarian||!!t.glutenFree||!!t.pescatarian||!!t.popular||!!t.vegan)&&Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__attributes"},!!t.popular&&Object(ae.createElement)("span",{className:"hint--top","aria-label":Object(re.__)("Popular","coblocks")},Object(ae.createElement)(ie.Icon,{icon:gs.popular,className:"wp-block-coblocks-food-item__attribute wp-block-coblocks-food-item__attribute--popular"})),!!t.spicy&&Object(ae.createElement)("span",{className:"hint--top","aria-label":Object(re.__)("Spicy","coblocks")},Object(ae.createElement)(ie.Icon,{icon:gs.spicy,className:"wp-block-coblocks-food-item__attribute wp-block-coblocks-food-item__attribute--spicy"})),!!t.spicier&&!!t.spicy&&Object(ae.createElement)("span",{className:"hint--top","aria-label":Object(re.__)("Spicier","coblocks")},Object(ae.createElement)(ie.Icon,{icon:gs.spicy,className:"wp-block-coblocks-food-item__attribute wp-block-coblocks-food-item__attribute--spicier"})),!!t.vegetarian&&Object(ae.createElement)("span",{className:"hint--top","aria-label":Object(re.__)("Vegetarian","coblocks")},Object(ae.createElement)(ie.Icon,{icon:gs.vegetarian,className:"wp-block-coblocks-food-item__attribute wp-block-coblocks-food-item__attribute--veg"})),!!t.glutenFree&&Object(ae.createElement)("span",{className:"hint--top","aria-label":Object(re.__)("Gluten Free","coblocks")},Object(ae.createElement)(ie.Icon,{icon:gs.glutenFree,className:"wp-block-coblocks-food-item__attribute wp-block-coblocks-food-item__attribute--gf"})),!!t.pescatarian&&Object(ae.createElement)("span",{className:"hint--top","aria-label":Object(re.__)("Pescatarian","coblocks")},Object(ae.createElement)(ie.Icon,{icon:gs.pescatarian,className:"wp-block-coblocks-food-item__attribute wp-block-coblocks-food-item__attribute--pescatarian"})),!!t.vegan&&Object(ae.createElement)("span",{className:"hint--top","aria-label":Object(re.__)("Vegan","coblocks")},Object(ae.createElement)(ie.Icon,{icon:gs.vegan,className:"wp-block-coblocks-food-item__attribute wp-block-coblocks-food-item__attribute--vegan"})))),Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:"wp-block-coblocks-food-item__description",value:t.description,itemprop:"description"}),!!t.showPrice&&t.price&&Object(ae.createElement)("p",{className:"wp-block-coblocks-food-item__price",itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},Object(ae.createElement)(xe.RichText.Content,{tagName:"span",value:t.price,itemprop:"price"}))))}},{attributes:fs.attributes,save:function(e){var t=e.attributes;return function(e){var t=["url","title","description","price"],o=Object.entries(e).filter((function(e){var o=be()(e,1)[0];return t.includes(o)}));return Object.fromEntries?de(Object.fromEntries(o)):de(Object(xn.default)(o))}(t)?null:Object(ae.createElement)("div",{className:t.className,itemScope:!0,itemType:"http://schema.org/MenuItem"},!!t.showImage&&t.url&&Object(ae.createElement)("figure",{className:"wp-block-coblocks-food-item__figure"},Object(ae.createElement)("img",{src:t.url,alt:t.alt,itemProp:"image",style:{objectPosition:t.focalPoint?"".concat(100*t.focalPoint.x,"% ").concat(100*t.focalPoint.y,"%"):void 0}})),Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__content"},Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__heading-wrapper"},Object(ae.createElement)(xe.RichText.Content,{tagName:"h4",className:"wp-block-coblocks-food-item__heading",value:t.title,itemprop:"name"}),(!!t.spicy||!!t.vegetarian||!!t.glutenFree||!!t.pescatarian||!!t.popular||!!t.vegan)&&Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__attributes"},!!t.popular&&Object(ae.createElement)("span",{className:"hint--top","aria-label":Object(re.__)("Popular","coblocks")},Object(ae.createElement)(ie.Icon,{icon:vs.popular,className:"wp-block-coblocks-food-item__attribute wp-block-coblocks-food-item__attribute--popular"})),!!t.spicy&&Object(ae.createElement)("span",{className:"hint--top","aria-label":Object(re.__)("Spicy","coblocks")},Object(ae.createElement)(ie.Icon,{icon:vs.spicy,className:"wp-block-coblocks-food-item__attribute wp-block-coblocks-food-item__attribute--spicy"})),!!t.spicier&&!!t.spicy&&Object(ae.createElement)("span",{className:"hint--top","aria-label":Object(re.__)("Spicier","coblocks")},Object(ae.createElement)(ie.Icon,{icon:vs.spicy,className:"wp-block-coblocks-food-item__attribute wp-block-coblocks-food-item__attribute--spicier"})),!!t.vegetarian&&Object(ae.createElement)("span",{className:"hint--top","aria-label":Object(re.__)("Vegetarian","coblocks")},Object(ae.createElement)(ie.Icon,{icon:vs.vegetarian,className:"wp-block-coblocks-food-item__attribute wp-block-coblocks-food-item__attribute--veg"})),!!t.glutenFree&&Object(ae.createElement)("span",{className:"hint--top","aria-label":Object(re.__)("Gluten Free","coblocks")},Object(ae.createElement)(ie.Icon,{icon:vs.glutenFree,className:"wp-block-coblocks-food-item__attribute wp-block-coblocks-food-item__attribute--gf"})),!!t.pescatarian&&Object(ae.createElement)("span",{className:"hint--top","aria-label":Object(re.__)("Pescatarian","coblocks")},Object(ae.createElement)(ie.Icon,{icon:vs.pescatarian,className:"wp-block-coblocks-food-item__attribute wp-block-coblocks-food-item__attribute--pescatarian"})),!!t.vegan&&Object(ae.createElement)("span",{className:"hint--top","aria-label":Object(re.__)("Vegan","coblocks")},Object(ae.createElement)(ie.Icon,{icon:vs.vegan,className:"wp-block-coblocks-food-item__attribute wp-block-coblocks-food-item__attribute--vegan"})))),Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:"wp-block-coblocks-food-item__description",value:t.description,itemprop:"description"}),!!t.showPrice&&t.price&&Object(ae.createElement)("p",{className:"wp-block-coblocks-food-item__price",itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},Object(ae.createElement)(xe.RichText.Content,{tagName:"span",value:t.price,itemprop:"price"}))))}},{attributes:fs.attributes,save:function(e){var t=e.attributes,o=e.className,n=t.alt,c=t.description,r=t.glutenFree,a=t.pescatarian,i=t.popular,l=t.price,s=t.showImage,u=t.showPrice,b=t.spicier,d=t.spicy,p=t.title,m=t.url,h=t.vegan,f=t.vegetarian,g=t.focalPoint;return function(e){var t=["url","title","description","price"],o=Object.entries(e).filter((function(e){var o=be()(e,1)[0];return t.includes(o)}));return void 0===Object.fromEntries?de(Object(xn.default)(o)):de(Object.fromEntries(o))}(t)?null:Object(ae.createElement)("div",{className:o,itemScope:!0,itemType:"http://schema.org/MenuItem"},!!s&&m&&Object(ae.createElement)("figure",{className:"wp-block-coblocks-food-item__figure"},Object(ae.createElement)("img",{src:m,alt:n,itemProp:"image",style:{objectPosition:g?"".concat(100*g.x,"% ").concat(100*g.y,"%"):void 0}})),Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__content"},Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__heading-wrapper"},Object(ae.createElement)(xe.RichText.Content,{tagName:"h4",className:"wp-block-coblocks-food-item__heading",value:p,itemprop:"name"}),(!!d||!!f||!!r||!!a||!!i||!!h)&&Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__attributes"},!!i&&Object(ae.createElement)("span",{className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--popular","hint--top"),"aria-label":Object(re.__)("Popular","coblocks")},Object(ae.createElement)("span",{className:"wp-block-coblocks-food-item__icon"})),!!d&&Object(ae.createElement)("span",{className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--spicy","hint--top"),"aria-label":Object(re.__)("Spicy","coblocks")},Object(ae.createElement)("span",{className:"wp-block-coblocks-food-item__icon"})),!!b&&!!d&&Object(ae.createElement)("span",{className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--spicy","hint--top"),"aria-label":Object(re.__)("Spicier","coblocks")},Object(ae.createElement)("span",{className:"wp-block-coblocks-food-item__icon"})),!!f&&Object(ae.createElement)("span",{className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--vegetarian","hint--top"),"aria-label":Object(re.__)("Vegetarian","coblocks")},Object(ae.createElement)("span",{className:"wp-block-coblocks-food-item__icon"})),!!r&&Object(ae.createElement)("span",{className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--glutenFree","hint--top"),"aria-label":Object(re.__)("Gluten Free","coblocks")},Object(ae.createElement)("span",{className:"wp-block-coblocks-food-item__icon"})),!!a&&Object(ae.createElement)("span",{className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--pescatarian","hint--top"),"aria-label":Object(re.__)("Pescatarian","coblocks")},Object(ae.createElement)("span",{className:"wp-block-coblocks-food-item__icon"})),!!h&&Object(ae.createElement)("span",{className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--vegan","hint--top"),"aria-label":Object(re.__)("Vegan","coblocks")},Object(ae.createElement)("span",{className:"wp-block-coblocks-food-item__icon"})))),Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:"wp-block-coblocks-food-item__description",value:c,itemprop:"description"}),!!u&&l&&Object(ae.createElement)("p",{className:"wp-block-coblocks-food-item__price",itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},Object(ae.createElement)(xe.RichText.Content,{tagName:"span",value:l,itemprop:"price"}))))}}],Os=fs.name,ks=fs.category,_s=fs.attributes,js={title:Object(re.__)("Food Item","coblocks"),description:Object(re.__)("A food and drink item within the Food & Drinks block.","coblocks"),icon:hs,keywords:["coblocks",Object(re.__)("menu","coblocks")],supports:{inserter:!1,customClassName:!1,reusable:!1,html:!1},deprecated:ys,parent:["coblocks/food-and-drinks"],attributes:_s,edit:ms,save:function(e){var t=e.attributes,o=e.className,n=t.alt,c=t.description,r=t.glutenFree,a=t.pescatarian,i=t.popular,l=t.price,s=t.showImage,u=t.showPrice,b=t.spicier,d=t.spicy,p=t.title,m=t.url,h=t.vegan,f=t.vegetarian,g=t.focalPoint;return function(e){var t=["url","title","description","price"],o=Object.entries(e).filter((function(e){var o=be()(e,1)[0];return t.includes(o)}));return void 0===Object.fromEntries?de(Object(xn.default)(o)):de(Object.fromEntries(o))}(t)?null:Object(ae.createElement)("div",{className:o,itemScope:!0,itemType:"http://schema.org/MenuItem"},!!s&&m&&Object(ae.createElement)("figure",{className:"wp-block-coblocks-food-item__figure"},Object(ae.createElement)("img",{src:m,alt:n,itemProp:"image",style:{objectPosition:g?"".concat(100*g.x,"% ").concat(100*g.y,"%"):void 0}})),Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__content"},Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__heading-wrapper"},Object(ae.createElement)(xe.RichText.Content,{tagName:"h4",className:"wp-block-coblocks-food-item__heading",value:p,itemprop:"name"}),(!!d||!!f||!!r||!!a||!!i||!!h)&&Object(ae.createElement)("div",{className:"wp-block-coblocks-food-item__attributes"},!!i&&Object(ae.createElement)("span",{className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--popular","hint--top"),"aria-label":Object(re.__)("Popular","coblocks")},Object(ae.createElement)("span",{className:"wp-block-coblocks-food-item__icon"})),!!d&&Object(ae.createElement)("span",{className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--spicy","hint--top"),"aria-label":Object(re.__)("Spicy","coblocks")},Object(ae.createElement)("span",{className:"wp-block-coblocks-food-item__icon"})),!!b&&!!d&&Object(ae.createElement)("span",{className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--spicy","wp-block-coblocks-food-item__attribute--spicier","hint--top"),"aria-label":Object(re.__)("Spicier","coblocks")},Object(ae.createElement)("span",{className:"wp-block-coblocks-food-item__icon"})),!!f&&Object(ae.createElement)("span",{className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--vegetarian","hint--top"),"aria-label":Object(re.__)("Vegetarian","coblocks")},Object(ae.createElement)("span",{className:"wp-block-coblocks-food-item__icon"})),!!r&&Object(ae.createElement)("span",{className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--gluten-free","hint--top"),"aria-label":Object(re.__)("Gluten free","coblocks")},Object(ae.createElement)("span",{className:"wp-block-coblocks-food-item__icon"})),!!a&&Object(ae.createElement)("span",{className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--pescatarian","hint--top"),"aria-label":Object(re.__)("Pescatarian","coblocks")},Object(ae.createElement)("span",{className:"wp-block-coblocks-food-item__icon"})),!!h&&Object(ae.createElement)("span",{className:Fe()("wp-block-coblocks-food-item__attribute","wp-block-coblocks-food-item__attribute--vegan","hint--top"),"aria-label":Object(re.__)("Vegan","coblocks")},Object(ae.createElement)("span",{className:"wp-block-coblocks-food-item__icon"})))),Object(ae.createElement)(xe.RichText.Content,{tagName:"p",className:"wp-block-coblocks-food-item__description",value:c,itemprop:"description"}),!!u&&l&&Object(ae.createElement)("p",{className:"wp-block-coblocks-food-item__price",itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},Object(ae.createElement)(xe.RichText.Content,{tagName:"span",value:l,itemprop:"price"}))))}},ws=o(270),Es=o.n(ws),Cs=o(199),xs=o.n(Cs),Ss={};Ss.layoutContact=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",height:"48",viewBox:"0 0 48 48",width:"48"},Object(ae.createElement)(ie.Path,{d:"m37 17c0-1.1-.9-2-2-2h-22c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h22c1.1 0 2-.9 2-2zm-2 0-11 7-11-7zm0 16h-22v-14l11 7 11-7z"})),Ss.layoutRSVP=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",height:"48",viewBox:"0 0 48 48",width:"48"},Object(ae.createElement)(ie.Path,{d:"m24 13.0585938c-6.5916562 0-11.9414062 5.34975-11.9414062 11.9414062s5.34975 11.9414062 11.9414062 11.9414062 11.9414062-5.34975 11.9414062-11.9414062-5.34975-11.9414062-11.9414062-11.9414062zm0 21.7138671c-5.3870691 0-9.7724609-4.3853918-9.7724609-9.7724609s4.3853918-9.7724609 9.7724609-9.7724609 9.7724609 4.3853918 9.7724609 9.7724609-4.3853918 9.7724609-9.7724609 9.7724609zm4.59-14.1924609-6.59 6.59-2.59-2.58-1.41 1.41 4 4 8-8z"})),Ss.layoutAppointment=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",height:"48",viewBox:"0 0 48 48",width:"48"},Object(ae.createElement)(ie.Path,{d:"m34 16h-1v-2h-2v2h-14v-2h-2v2h-1c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2v-16c0-1.1-.9-2-2-2zm0 18h-20v-11h20zm0-13h-20v-3h20zm-18 4h4v4h-4z"})),Ss.error=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(ae.createElement)(ie.Path,{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}));var Ps=Ss,zs=function(e){var t=e.children,o=void 0===t?null:t,n=e.isError,c=void 0!==n&&n,r=De()(e,["children","isError"]),a=Fe()("coblocks-form__notice",{"is-error":c});return o&&Object(ae.createElement)("div",Ie()({className:a},r),c&&Ps.error,Object(ae.createElement)("span",null,o))},Ts=[{title:Object(re.__)("Contact","coblocks"),icon:Ps.layoutContact,template:[["coblocks/field-name",{required:!1}],["coblocks/field-email",{required:!0}],["coblocks/field-textarea",{required:!0}],["coblocks/field-submit-button",{}]],submitButtonText:Object(re.__)("Contact Us","coblocks")},{title:Object(re.__)("RSVP","coblocks"),icon:Ps.layoutRSVP,template:[["coblocks/field-name",{required:!0,hasLastName:!0}],["coblocks/field-name",{label:Object(re.__)("Plus one","coblocks"),hasLastName:!0}],["coblocks/field-email",{required:!0}],["coblocks/field-radio",{label:Object(re.__)("Will you be attending?","coblocks"),required:!0,options:[Object(re.__)("Yes","coblocks"),Object(re.__)("No","coblocks")],isInline:!0}],["coblocks/field-textarea",{label:Object(re.__)("Notes?","coblocks")}],["coblocks/field-submit-button",{}]],submitButtonText:Object(re.__)("RSVP","coblocks")},{title:Object(re.__)("Appointment","coblocks"),icon:Ps.layoutAppointment,template:[["coblocks/field-name",{required:!0,hasLastName:!0}],["coblocks/field-phone",{required:!0}],["coblocks/field-email",{required:!0}],["coblocks/field-date",{required:!0}],["coblocks/field-radio",{label:Object(re.__)("Time","coblocks"),required:!0,options:[Object(re.__)("Morning","coblocks"),Object(re.__)("Afternoon","coblocks")],isInline:!0}],["coblocks/field-textarea",{label:Object(re.__)("Special Notes","coblocks")}],["coblocks/field-submit-button",{}]],submitButtonText:Object(re.__)("Book Appointment","coblocks")}];function Rs(){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}}var Bs=["core/heading","core/paragraph","core/separator","core/spacer"],Ns=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Rs()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;fe()(this,n),(e=o.apply(this,arguments)).onChangeSubject=e.onChangeSubject.bind(pn()(e)),e.onBlurTo=e.onBlurTo.bind(pn()(e)),e.onChangeTo=e.onChangeTo.bind(pn()(e)),e.getToValidationError=e.getToValidationError.bind(pn()(e)),e.renderToAndSubjectFields=e.renderToAndSubjectFields.bind(pn()(e)),e.preventEnterSubmission=e.preventEnterSubmission.bind(pn()(e)),e.hasEmailError=e.hasEmailError.bind(pn()(e)),e.saveRecaptchaKey=e.saveRecaptchaKey.bind(pn()(e)),e.removeRecaptchaKey=e.removeRecaptchaKey.bind(pn()(e)),e.setTemplate=e.setTemplate.bind(pn()(e)),e.appendTagsToSubject=e.appendTagsToSubject.bind(pn()(e)),e.supportsBlockVariationPicker=e.supportsBlockVariationPicker.bind(pn()(e)),e.supportsInnerBlocksPicker=e.supportsInnerBlocksPicker.bind(pn()(e)),e.innerBlocksPicker=e.innerBlocksPicker.bind(pn()(e)),e.blockVariationPicker=e.blockVariationPicker.bind(pn()(e)),e.state={toError:c&&c.length?c:null,siteKey:"",isSavedKey:!1,isSaving:!1,keySaved:!1,template:null,subjectValue:e.props.attributes.subject||""===e.props.attributes.subject?e.props.attributes.subject:coblocksBlockData.form.emailSubject};var t=arguments[0].attributes.to?arguments[0].attributes.to:"",c=t.split(",").map(e.getToValidationError).filter(Boolean);return e}return ve()(n,[{key:"componentDidMount",value:function(){var e=this;Ht()({path:"/wp/v2/settings"}).then((function(t){e.setState({recaptchaSiteKey:t.coblocks_google_recaptcha_site_key,recaptchaSecretKey:t.coblocks_google_recaptcha_secret_key,isSavedKey:""!==t.coblocks_google_recaptcha_site_key&&""!==t.coblocks_google_recaptcha_secret_key})}));var t=this.props,o=t.hasInnerBlocks,n=t.innerBlocks,c=t.defaultVariation;o&&this.setState({template:n}),this.supportsInnerBlocksPicker()||this.supportsBlockVariationPicker()||!1!==o||this.setTemplate(c)}},{key:"componentDidUpdate",value:function(e,t){var o,n=this,c=this.props,r=c.clientId,a=c.innerBlockCount,i=c.innerBlocks,l=c.insertBlock,s=c.getBlocksByClientId,u=c.updateBlockAttributes;e.innerBlockCount!==a&&this.setState({template:a?i:null});var b=this.props.clientId;Tc()(Ts,(function(e){if(xs()(e.template,n.state.template)){o=e.submitButtonText,Array.isArray(o)&&(o=o.join(""));var t=s(b)[0].innerBlocks;u(t[t.length-1].clientId,{submitButtonText:o})}})),(t.template!==this.state.template&&Object.keys(e.innerBlocks).length&&i.filter((function(e){return"coblocks/field-submit-button"===e.name})).length<1||Object.keys(i).length<Object.keys(e.innerBlocks).length&&i.filter((function(e){return"coblocks/field-submit-button"===e.name})).length<1)&&l(Object(oe.createBlock)("coblocks/field-submit-button",{submitButtonText:Object(re.__)("Submit","coblocks")}),i.length,r,!1)}},{key:"onChangeSubject",value:function(e){this.setState({subjectValue:e}),this.props.setAttributes({subject:e})}},{key:"getToValidationError",value:function(e){return 0!==(e=e.trim()).length&&(!Es.a.validate(e)&&{email:e})}},{key:"onBlurTo",value:function(e){var t=e.target.value.split(",").map(this.getToValidationError).filter(Boolean);t&&t.length&&this.setState({toError:t})}},{key:"onChangeTo",value:function(e){if(0===e.trim().length)return this.setState({toError:null}),void this.props.setAttributes({to:e});this.setState({toError:null}),this.props.setAttributes({to:e})}},{key:"getfieldEmailError",value:function(e){if(e){if(1===e.length)return e[0]&&e[0].email?Object(re.sprintf)(Object(re.__)("%s is not a valid email address.","coblocks"),e[0].email):e[0];if(2===e.length)return Object(re.sprintf)(Object(re.__)("%s and %s are not valid email addresses.","coblocks"),e[0].email,e[1].email);var t=e.map((function(e){return e.email}));return Object(re.sprintf)(Object(re.__)("%s are not valid email addresses.","coblocks"),t.join(", "))}return null}},{key:"preventEnterSubmission",value:function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())}},{key:"saveRecaptchaKey",value:function(){var e=this,t=this.state,o=t.recaptchaSiteKey,n=t.recaptchaSecretKey;this.setState({isSaving:!0}),Ht()({path:"/wp/v2/settings",method:"POST",data:{coblocks_google_recaptcha_site_key:o,coblocks_google_recaptcha_secret_key:n}}).then((function(){e.setState({isSavedKey:!0,keySaved:!0,isSaving:!1})}))}},{key:"appendTagsToSubject",value:function(e){this.onChangeSubject(this.state.subjectValue+e.target.innerHTML)}},{key:"removeRecaptchaKey",value:function(){var e=this;this.setState({recaptchaSiteKey:"",recaptchaSecretKey:""}),this.state.isSavedKey&&(this.setState({isSaving:!0}),Ht()({path:"/wp/v2/settings",method:"POST",data:{coblocks_google_recaptcha_site_key:"",coblocks_google_recaptcha_secret_key:""}}).then((function(){e.setState({isSavedKey:!0,keySaved:!0,isSaving:!1})})))}},{key:"renderToAndSubjectFields",value:function(){var e=this.state.toError,t=this.props,o=t.instanceId,n=t.attributes.to,c=this.state.subjectValue;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.TextControl,{"aria-describedby":"contact-form-".concat(o,"-email-").concat(this.hasEmailError()?"error":"help"),label:Object(re.__)("Email address","coblocks"),placeholder:Object(re.__)("name@example.com","coblocks"),onKeyDown:this.preventEnterSubmission,value:n||""===n?n:coblocksBlockData.form.adminEmail,onBlur:this.onBlurTo,onChange:this.onChangeTo}),Object(ae.createElement)(zs,{isError:!0,id:"contact-form-".concat(o,"-email-error")},this.getfieldEmailError(e)),Object(ae.createElement)(ie.TextControl,{label:Object(re.__)("Subject","coblocks"),value:c,onChange:this.onChangeSubject,help:Object(ae.createElement)(ae.Fragment,null," ",Object(re.__)("You may use the following tags in the subject field: ","coblocks"),Object(ae.createElement)(ie.Button,{isLink:!0,onClick:this.appendTagsToSubject},"[",Object(re.__)("email","coblocks"),"]"),Object(ae.createElement)(ie.Button,{isLink:!0,onClick:this.appendTagsToSubject},"[",Object(re.__)("name","coblocks"),"]"))}))}},{key:"hasEmailError",value:function(){var e=this.state.toError;return e&&e.length>0}},{key:"setTemplate",value:function(e){this.setState({template:e})}},{key:"createBlocksFromInnerBlocksTemplate",value:function(e){var t=this;return Tc()(e,(function(e){var o=be()(e,3),n=o[0],c=o[1],r=o[2],a=void 0===r?[]:r;return Object(oe.createBlock)(n,c,t.createBlocksFromInnerBlocksTemplate(a))}))}},{key:"supportsInnerBlocksPicker",value:function(){return void 0!==xe.InnerBlocks.prototype}},{key:"supportsBlockVariationPicker",value:function(){return!!oe.registerBlockVariation}},{key:"blockVariationPicker",value:function(){return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InnerBlocks,{allowedBlocks:Bs}))}},{key:"innerBlocksPicker",value:function(){var e=this;this.props.hasInnerBlocks;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InnerBlocks,{__experimentalTemplateOptions:Ts,__experimentalOnSelectTemplateOption:function(t){void 0===t&&(t=Ts[0].template),e.setTemplate(t)},__experimentalAllowTemplateOptionSkip:!0,template:this.supportsInnerBlocksPicker()?this.state.template:Ts[0].template,allowedBlocks:Bs,templateInsertUpdatesSelection:!1}))}},{key:"render",value:function(){var e=this,t=this.props,o=t.className,n=t.blockType,c=t.defaultVariation,r=t.replaceInnerBlocks,a=t.hasInnerBlocks,i=t.variations,l=Fe()(o,"coblocks-form");if(a||!this.supportsBlockVariationPicker())return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Form settings","coblocks")},this.renderToAndSubjectFields(),Object(Te.applyFilters)("coblocks.advanced_forms_cta")),Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Google reCAPTCHA","coblocks"),initialOpen:!this.state.recaptchaSecretKey},Object(ae.createElement)("p",null,Object(re.__)("Add your reCAPTCHA site and secret keys to protect your form from spam.","coblocks")),Object(ae.createElement)("p",null,Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.ExternalLink,{href:"https://g.co/recaptcha/v3"},""===this.state.recaptchaSiteKey&&""===this.state.recaptchaSecretKey?Object(re.__)("Generate keys","coblocks"):Object(re.__)("My keys","coblocks")),"| ",Object(ae.createElement)(ie.ExternalLink,{href:"https://developers.google.com/recaptcha/docs/v3"},Object(re.__)("Get help","coblocks")))),Object(ae.createElement)(ie.TextControl,{label:Object(re.__)("Site key","coblocks"),value:this.state.recaptchaSiteKey,onChange:function(t){return e.setState({recaptchaSiteKey:t})},className:"components-block-coblocks-form-recaptcha-key__custom-input"}),Object(ae.createElement)(ie.TextControl,{label:Object(re.__)("Secret key","coblocks"),value:this.state.recaptchaSecretKey,onChange:function(t){return e.setState({recaptchaSecretKey:t})},className:"components-block-coblocks-form-recaptcha-key__custom-input"}),Object(ae.createElement)("div",{className:"components-base-control"},Object(ae.createElement)(ie.Button,{isPrimary:!0,isLarge:!0,onClick:this.saveRecaptchaKey,disabled:""===this.state.recaptchaSiteKey||""===this.state.recaptchaSecretKey},this.state.isSaving?Object(re.__)("Saving","coblocks"):Object(re.__)("Save","coblocks")),""!==this.state.recaptchaSiteKey&&""!==this.state.recaptchaSecretKey&&Object(ae.createElement)(ie.Button,{className:"components-block-coblocks-form-recaptcha-key-remove__button",isLarge:!0,isSecondary:!0,onClick:this.removeRecaptchaKey,disabled:""===this.state.recaptchaSiteKey||""===this.state.recaptchaSecretKey},Object(re.__)("Remove","coblocks"))))),Object(ae.createElement)("div",{className:l},this.supportsBlockVariationPicker()?this.blockVariationPicker():this.innerBlocksPicker()));return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.__experimentalBlockVariationPicker,{icon:Et()(n,["icon","src"]),label:Et()(n,["title"]),instructions:Object(re.__)("Select a variation to start with.","coblocks"),variations:i,allowSkip:!0,onSelect:function(t){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;t.attributes&&e.props.setAttributes(t.attributes);var o=Tc()(i,(function(e){if(xs()(e.innerBlocks,t.innerBlocks))return e.submitButtonText}));e.props.setAttributes({submitButtonText:o.join("")}),t.innerBlocks&&r(e.props.clientId,e.createBlocksFromInnerBlocksTemplate(t.innerBlocks))}(t)}}))}}]),n}(ae.Component),As=Object(Ye.withSelect)((function(e,t){var o=e("core/block-editor").getBlocks,n=e("core/editor").getBlocksByClientId,c=e("core/blocks"),r=c.getBlockType,a=c.getBlockVariations,i=c.getDefaultBlockVariation,l=o(t.clientId);return{blockType:r(t.name),defaultVariation:void 0===i?null:i(t.name),getBlocksByClientId:n,hasInnerBlocks:e("core/block-editor").getBlocks(t.clientId).length>0,innerBlocks:l,variations:void 0===a?null:a(t.name)}})),Is=Object(Ye.withDispatch)((function(e){var t=e("core/block-editor");return{insertBlock:t.insertBlock,replaceInnerBlocks:t.replaceInnerBlocks,updateBlockAttributes:e("core/editor").updateBlockAttributes}})),Ms=Object(Ce.compose)([As,Is])(Ns),Ds=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m0 0h24v24h-24z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"m22 6c0-1.1-.9-2-2-2h-16c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2zm-2 0-8 5-8-5zm0 12h-16v-10l8 5 8-5z"})),Ls=[{name:"contact-form",label:Object(re.__)("Contact","coblocks"),icon:Ps.layoutContact,isDefault:!0,innerBlocks:[["coblocks/field-name",{required:!1}],["coblocks/field-email",{required:!0}],["coblocks/field-textarea",{required:!0}],["coblocks/field-submit-button",{submitButtonText:Object(re.__)("Contact Us","coblocks")}]],scope:["block"]},{name:"rsvp-form",label:Object(re.__)("RSVP","coblocks"),icon:Ps.layoutRSVP,innerBlocks:[["coblocks/field-name",{required:!0,hasLastName:!0}],["coblocks/field-name",{label:Object(re.__)("Plus one","coblocks"),hasLastName:!0}],["coblocks/field-email",{required:!0}],["coblocks/field-radio",{label:Object(re.__)("Will you be attending?","coblocks"),required:!0,options:[Object(re.__)("Yes","coblocks"),Object(re.__)("No","coblocks")],isInline:!0}],["coblocks/field-textarea",{label:Object(re.__)("Notes?","coblocks")}],["coblocks/field-submit-button",{submitButtonText:Object(re.__)("RSVP","coblocks")}]],scope:["block"]},{name:"appointment-form",label:Object(re.__)("Appointment","coblocks"),icon:Ps.layoutAppointment,innerBlocks:[["coblocks/field-name",{required:!0,hasLastName:!0}],["coblocks/field-phone",{required:!0}],["coblocks/field-email",{required:!0}],["coblocks/field-date",{required:!0}],["coblocks/field-radio",{label:Object(re.__)("Time","coblocks"),required:!0,options:[Object(re.__)("Morning","coblocks"),Object(re.__)("Afternoon","coblocks")],isInline:!0}],["coblocks/field-textarea",{label:Object(re.__)("Special notes","coblocks")}],["coblocks/field-submit-button",{submitButtonText:Object(re.__)("Book Appointment","coblocks")}]],scope:["block"]}],Fs={name:"coblocks/form",category:"layout",attributes:{subject:{type:"string",default:null},to:{type:"string",default:null}}},Vs=Fs.name,Gs=Fs.category,Us=Fs.attributes,Hs={title:Object(re.__)("Form","coblocks"),description:Object(re.__)("Add a contact form to your page.","coblocks"),icon:Ds,keywords:["coblocks",Object(re.__)("email","coblocks"),Object(re.__)("about","coblocks"),Object(re.__)("contact","coblocks")],supports:{reusable:!1,html:!1,customClassName:!1},example:{attributes:{subject:Object(re.__)("Subject example","coblocks")}},attributes:Us,variations:Ls,edit:Ms,save:xe.InnerBlocks.Content},Ws=function(e){var t=e.setAttributes,o=e.label,n=e.resetFocus,c=e.isSelected,r=e.required,a=e.showRequiredToggle,i=void 0===a||a;return Object(ae.createElement)("div",{className:"coblocks-field-label"},Object(ae.createElement)("div",{className:"coblocks-field-label__input-wrapper"},Object(ae.createElement)(xe.RichText,{tagName:"label",className:"coblocks-label coblocks-field-label__input",value:o,onChange:function(e){n&&n(),t({label:e})},placeholder:Object(re.__)("Add label…","coblocks")}),r&&Object(ae.createElement)("span",{className:"required"},"*")),c&&i&&Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Required","coblocks"),className:"coblocks-field-label__required",checked:r,onChange:function(e){return t({required:e})}}))};var qs=function(e){var t=e.isSelected,o=e.type,n=e.required,c=e.label,r=e.setAttributes;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:Fe()("coblocks-field",{"is-selected":t})},Object(ae.createElement)(Ws,{required:n,label:c,setAttributes:r,isSelected:t}),Object(ae.createElement)(ie.TextControl,{type:o})))};var Ys=function(e){var t=e.attributes,o=e.setAttributes,n=e.isSelected,c=t.required,r=t.label;return Object(ae.createElement)(qs,{type:"text",label:r,required:c,setAttributes:o,isSelected:n})},Ks=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m7 11h2v2h-2zm14-5v14c0 1.1-.9 2-2 2h-14c-1.11 0-2-.9-2-2l.01-14c0-1.1.88-2 1.99-2h1v-2h2v2h8v-2h2v2h1c1.1 0 2 .9 2 2zm-16 2h14v-2h-14zm14 12v-10h-14v10z"})),Xs={name:"coblocks/field-date",category:"layout",attributes:{label:{type:"string",default:Object(re.__)("Date","coblocks")},required:{type:"boolean",default:!1}}},Js=Xs.name,Zs=Xs.category,$s=Xs.attributes,Qs={title:Object(re.__)("Date","coblocks"),description:Object(re.__)("A field for requesting date selections with a date picker.","coblocks"),icon:Ks,keywords:["coblocks",Object(re.__)("calendar","coblocks"),Object(re.__)("day","coblocks"),Object(re.__)("month","coblocks"),Object(re.__)("year","coblocks")],parent:["coblocks/form"],supports:{reusable:!1,html:!1,customClassName:!1},attributes:$s,edit:Ys,save:function(){return null}};var eu=function(e){var t=e.attributes,o=e.setAttributes,n=e.isSelected,c=t.required,r=t.label;return Object(ae.createElement)(qs,{type:"email",label:r,required:c,setAttributes:o,isSelected:n})},tu=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(ae.createElement)(ie.Path,{d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"})),ou={name:"coblocks/field-email",category:"layout",attributes:{label:{type:"string",default:Object(re.__)("Email","coblocks")},required:{type:"boolean",default:!1}}},nu=ou.name,cu=ou.category,ru=ou.attributes,au={title:Object(re.__)("Email","coblocks"),description:Object(re.__)("A field for collecting a validated email address.","coblocks"),icon:tu,keywords:["coblocks",Object(re.__)("e-mail","coblocks"),Object(re.__)("mail","coblocks")],parent:["coblocks/form"],supports:{reusable:!1,html:!1,multiple:!1,customClassName:!1},attributes:ru,edit:eu,save:function(){return null}};var iu=function(e){var t=e.attributes,o=e.setAttributes,n=e.isSelected,c=t.required,r=t.label,a=t.hasLastName,i=t.labelFirstName,l=t.labelLastName;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:Fe()("coblocks-field","coblocks-field--name",{"is-selected":n})},Object(ae.createElement)(Ws,{required:c,label:r,setAttributes:o,isSelected:n}),a?Object(ae.createElement)("div",{className:"coblocks-form__inline-fields"},Object(ae.createElement)("div",{className:"coblocks-form__inline-field"},Object(ae.createElement)(ie.TextControl,{className:"coblocks-field"}),Object(ae.createElement)(xe.RichText,{tagName:"small",className:"coblocks-form__subtext",value:i,onChange:function(e){o({labelFirstName:e})},placeholder:Object(re.__)("Add label…","coblocks")})),Object(ae.createElement)("div",{className:"coblocks-form__inline-field"},Object(ae.createElement)(ie.TextControl,{className:"coblocks-field"}),Object(ae.createElement)(xe.RichText,{tagName:"small",className:"coblocks-form__subtext",value:l,onChange:function(e){o({labelLastName:e})},placeholder:Object(re.__)("Add label…","coblocks")}))):Object(ae.createElement)(ie.TextControl,null)),Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Name Field settings","coblocks")},Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Last name","coblocks"),className:"coblocks-field-label__required",checked:a,onChange:function(e){return o({hasLastName:e})},help:a?Object(re.__)("Showing both first and last name fields.","coblocks"):Object(re.__)("Toggle to add a last name field.","coblocks")}))))},lu=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(ae.createElement)(ie.Path,{d:"M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"})),su={name:"coblocks/field-name",category:"layout",attributes:{label:{type:"string",default:Object(re.__)("Name","coblocks")},required:{type:"boolean",default:!1},hasLastName:{type:"boolean",default:!1},labelFirstName:{type:"string",default:Object(re.__)("First","coblocks")},labelLastName:{type:"string",default:Object(re.__)("Last","coblocks")}}},uu=su.name,bu=su.category,du=su.attributes,pu={title:Object(re.__)("Name","coblocks"),description:Object(re.__)("A text field for collecting the first and last names.","coblocks"),icon:lu,keywords:["coblocks",Object(re.__)("email","coblocks"),Object(re.__)("first name","coblocks"),Object(re.__)("last name","coblocks")],parent:["coblocks/form"],supports:{reusable:!1,html:!1,customClassName:!1},attributes:du,edit:iu,save:function(){return null}},mu=o(65),hu=o.n(mu);function fu(){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}}var gu=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(fu()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;fe()(this,n);for(var t=arguments.length,c=new Array(t),r=0;r<t;r++)c[r]=arguments[r];return(e=o.call.apply(o,[this].concat(c))).onChangeOption=e.onChangeOption.bind(pn()(e)),e.onKeyPress=e.onKeyPress.bind(pn()(e)),e.onDeleteOption=e.onDeleteOption.bind(pn()(e)),e.textInput=Object(ae.createRef)(),e}return ve()(n,[{key:"componentDidMount",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"componentDidUpdate",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"onChangeOption",value:function(e){this.props.onChangeOption(this.props.index,e.target.value)}},{key:"onKeyPress",value:function(e){if("Enter"===e.key)return this.props.onAddOption(this.props.index),void e.preventDefault();"Backspace"===e.key&&""===e.target.value&&(this.props.onChangeOption(this.props.index),e.preventDefault())}},{key:"onDeleteOption",value:function(){this.props.onChangeOption(this.props.index)}},{key:"render",value:function(){var e=this.props,t=e.isSelected,o=e.option,n=e.type;return Object(ae.createElement)("li",{className:"coblocks-option"},n&&"select"!==n&&Object(ae.createElement)("input",{className:"coblocks-option__type",type:n,disabled:!0}),!t&&n&&"select"!==n&&o,t&&Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("input",{type:"text",className:"coblocks-option__input",value:o,placeholder:Object(re.__)("Write option…","coblocks"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),Object(ae.createElement)(ie.IconButton,{className:"coblocks-option__remove",icon:"trash",label:Object(re.__)("Remove Option","coblocks"),onClick:this.onDeleteOption})))}}]),n}(ae.Component);function vu(){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}}var yu=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(vu()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;fe()(this,n);for(var t=arguments.length,c=new Array(t),r=0;r<t;r++)c[r]=arguments[r];return(e=o.call.apply(o,[this].concat(c))).onChangeOption=e.onChangeOption.bind(pn()(e)),e.addNewOption=e.addNewOption.bind(pn()(e)),e.state={inFocus:null},e}return ve()(n,[{key:"onChangeOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=this.props.options.slice(0);null===t?(o.splice(e,1),e>0&&this.setState({inFocus:e-1})):(o.splice(e,1,t),this.setState({inFocus:e})),this.props.setAttributes({options:o})}},{key:"addNewOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.options.slice(0),o=0;"object"===hu()(e)?(t.push(""),o=t.length-1):(t.splice(e+1,0,""),o=e+1),this.setState({inFocus:o}),this.props.setAttributes({options:t})}},{key:"render",value:function(){var e=this,t=this.props,o=t.type,n=t.instanceId,c=t.required,r=t.label,a=t.setAttributes,i=t.isSelected,l=t.isInline,s=this.props.options,u=this.state.inFocus;return s.length||(s=[""],u=0),Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.BaseControl,{id:"coblocks-field-multiple-".concat(n),className:"coblocks-field coblocks-field-multiple",label:Object(ae.createElement)(Ws,{required:c,label:r,setAttributes:a,isSelected:i,resetFocus:function(){return e.setState({inFocus:null})}})},i||"select"!==o?Object(ae.createElement)("ol",{className:Fe()("coblocks-field-multiple__list",{"is-inline":l}),id:"coblocks-field-multiple-".concat(n)},s.map((function(t,n){return Object(ae.createElement)(gu,{type:o,key:n,option:t,index:n,onChangeOption:e.onChangeOption,onAddOption:e.addNewOption,isInFocus:n===u&&i,isSelected:i})}))):Object(ae.createElement)("select",null,s.map((function(e,t){return Object(ae.createElement)("option",{value:e,key:t},e)}))),i&&Object(ae.createElement)(ie.IconButton,{className:"coblocks-field-multiple__add-option",icon:"insert",label:"radio"===o||"select"===o?Object(re.__)("Add option","coblocks"):Object(re.__)("Add checkbox","coblocks"),onClick:this.addNewOption},"radio"===o||"select"===o?Object(re.__)("Add option","coblocks"):Object(re.__)("Add checkbox","coblocks"))))}}]),n}(ae.Component),Ou=Object(Ce.withInstanceId)(yu),ku=function(e){return function(t){var o=t.attributes,n=t.setAttributes,c=t.isSelected,r=o.required,a=o.label,i=o.isInline,l=o.options;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(Ou,{label:a,required:r,options:l,setAttributes:n,type:e,isSelected:c,isInline:i}),"select"!==e&&Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Display settings","coblocks")},Object(ae.createElement)(ie.ToggleControl,{label:Object(re.sprintf)(Object(re.__)("Inline %s","coblocks"),e),className:"coblocks-field-label__required",checked:i,onChange:function(e){return n({isInline:e})},help:i?Object(re.sprintf)(Object(re.__)("Displaying the %s inline.","coblocks"),e):Object(re.sprintf)(Object(re.__)("Toggle to display the %s inline.","coblocks"),e)}))))}},_u=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),ju={name:"coblocks/field-radio",category:"layout",attributes:{label:{type:"string",default:Object(re.__)("Choose one","coblocks")},required:{type:"boolean",default:!1},options:{type:"array",default:[]},isInline:{type:"boolean",default:!1}}},wu=ju.name,Eu=ju.category,Cu=ju.attributes,xu={title:Object(re.__)("Radio","coblocks"),description:Object(re.__)("A field with multiple options where only one choice can be made.","coblocks"),icon:_u,keywords:["coblocks",Object(re.__)("choose","coblocks"),Object(re.__)("select","coblocks"),Object(re.__)("option","coblocks")],parent:["coblocks/form"],supports:{reusable:!1,html:!1,customClassName:!1},attributes:Cu,edit:ku("radio"),save:function(){return null}};var Su=function(e){var t=e.attributes,o=e.setAttributes,n=e.isSelected,c=t.required,r=t.label;return Object(ae.createElement)(qs,{type:"text",label:r,required:c,setAttributes:o,isSelected:n})},Pu=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m17 1.01-10-.01c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2v-18c0-1.1-.9-1.99-2-1.99zm0 17.99h-10v-14h10z"})),zu={name:"coblocks/field-phone",category:"layout",attributes:{label:{type:"string",default:Object(re.__)("Phone","coblocks")},required:{type:"boolean",default:!1}}},Tu=zu.name,Ru=zu.category,Bu=zu.attributes,Nu={title:Object(re.__)("Phone","coblocks"),description:Object(re.__)("A phone number to allow visitors to give you a phone number.","coblocks"),icon:Pu,keywords:["coblocks",Object(re.__)("telephone","coblocks"),Object(re.__)("cellular","coblocks"),Object(re.__)("cell","coblocks"),Object(re.__)("mobile","coblocks"),Object(re.__)("fax","coblocks")],parent:["coblocks/form"],supports:{reusable:!1,html:!1,customClassName:!1},attributes:Bu,edit:Su,save:function(){return null}};var Au=function(e){var t=e.attributes,o=e.setAttributes,n=e.isSelected,c=t.required,r=t.label;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:"coblocks-field"},Object(ae.createElement)(Ws,{required:c,label:r,setAttributes:o,isSelected:n}),Object(ae.createElement)(ie.TextareaControl,null)))},Iu=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h24v24h-24z"}),Object(ae.createElement)(ie.Path,{d:"m4 11h16v2h-16zm0-4h16v2h-16zm0 8h10v2h-10z",fill:"currentColor",fillRule:"nonzero"}))),Mu={name:"coblocks/field-textarea",category:"layout",attributes:{label:{type:"string",default:Object(re.__)("Message","coblocks")},required:{type:"boolean",default:!1}}},Du=Mu.name,Lu=Mu.category,Fu=Mu.attributes,Vu={title:Object(re.__)("Textarea","coblocks"),description:Object(re.__)("A text box for longer responses.","coblocks"),icon:Iu,keywords:["coblocks",Object(re.__)("text","coblocks"),Object(re.__)("message text","coblocks"),Object(re.__)("multiline text","coblocks")],parent:["coblocks/form"],supports:{reusable:!1,html:!1,customClassName:!1},attributes:Fu,edit:Au,save:function(){return null}};var Gu=function(e){var t=e.attributes,o=e.setAttributes,n=e.isSelected,c=t.required,r=t.label;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:"coblocks-field"},Object(ae.createElement)(Ws,{required:c,label:r,setAttributes:o,isSelected:n}),Object(ae.createElement)(ie.TextControl,null)))},Uu=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m19 8h-14c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm0 6h-14v-4h14z"})),Hu={name:"coblocks/field-text",category:"layout",attributes:{label:{type:"string",default:Object(re.__)("Text","coblocks")},required:{type:"boolean",default:!1}}},Wu=Hu.name,qu=Hu.category,Yu=Hu.attributes,Ku={title:Object(re.__)("Text","coblocks"),description:Object(re.__)("A text box for custom responses.","coblocks"),icon:Uu,keywords:["coblocks",Object(re.__)("text control","coblocks"),Object(re.__)("text box","coblocks"),Object(re.__)("input","coblocks")],parent:["coblocks/form"],supports:{reusable:!1,html:!1,customClassName:!1},attributes:Yu,edit:Gu,save:function(){return null}},Xu=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8zm0-2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 13-4-4h8z"})),Ju={name:"coblocks/field-select",category:"layout",attributes:{label:{type:"string",default:Object(re.__)("Select","coblocks")},required:{type:"boolean",default:!1},options:{type:"array",default:[]}}},Zu=Ju.name,$u=Ju.category,Qu=Ju.attributes,eb={title:Object(re.__)("Select","coblocks"),description:Object(re.__)("A dropdown field with multiple options where only one choice can be made.","coblocks"),icon:Xu,keywords:["coblocks",Object(re.__)("dropdown","coblocks"),Object(re.__)("option","coblocks")],parent:["coblocks/form"],supports:{reusable:!1,html:!1,customClassName:!1},attributes:Qu,edit:ku("select"),save:function(){return null}};function tb(){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}}var ob=window.getComputedStyle,nb=Object(ie.withFallbackStyles)((function(e,t){var o,n,c=t.textButtonColor,r=t.backgroundButtonColor,a=r&&r.color,i=c&&c.color;return!i&&e&&(o=e.querySelector('[contenteditable="true"]')),n=e.querySelector(".wp-block-button__link")?e.querySelector(".wp-block-button__link"):e,e&&ob(n).backgroundColor,o&&ob(o).color,{fallbackBackgroundColor:a||!1,fallbackTextColor:i||!1}})),cb=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(tb()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"componentDidUpdate",value:function(e){Object(kt.isEqual)(this.props.customTextButtonColor,e.customTextButtonColor)&&Object(kt.isEqual)(this.props.customBackgroundButtonColor,e.customBackgroundButtonColor)||this.props.setAttributes({submitButtonClasses:this.getButtonClasses()})}},{key:"getButtonClasses",value:function(){var e,t=this.props,o=t.customTextButtonColor,n=t.customBackgroundButtonColor,c=Object(kt.get)(n,"class");return Fe()("wp-block-button__link",(e={"has-background":n},te()(e,c,c),te()(e,"has-text-color",o),te()(e,this.props.className,this.props.className),e))}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.fallbackBackgroundColor,n=e.fallbackTextColor,c=e.setAttributes,r=e.setBackgroundButtonColor,a=e.setTextButtonColor,i=t.customBackgroundButtonColor||o,l=t.customTextButtonColor||n,s={border:"none",backgroundColor:i,color:l};return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:"coblocks-form__submit wp-block-button"},Object(ae.createElement)(xe.RichText,{placeholder:Object(re.__)("Add text…","coblocks"),value:t.submitButtonText,onChange:function(e){return c({submitButtonText:e})},className:this.getButtonClasses(),style:s,formattingControls:["bold","italic","strikethrough"],keepPlaceholderOnFocus:!0})),Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:i,onChange:function(e){r(e),c({customBackgroundButtonColor:e})},label:Object(re.__)("Button color","coblocks")},{value:l,onChange:function(e){a(e),c({customTextButtonColor:e})},label:Object(re.__)("Button text color","coblocks")}]}),Object(ae.createElement)(xe.ContrastChecker,{textColor:l,backgroundColor:i})))}}]),n}(ae.Component),rb=Object(Ce.compose)([Object(xe.withColors)("backgroundButtonColor",{textButtonColor:"color"}),nb])(cb),ab=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(ae.createElement)(ie.G,null,Object(ae.createElement)(ie.Path,{d:"M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z"}))),ib={name:"coblocks/field-submit-button",category:"layout",attributes:{label:{type:"string",default:Object(re.__)("Submit","coblocks")},required:{type:"boolean",default:!0},submitButtonText:{type:"string",default:Object(re.__)("Submit","coblocks")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}}},lb=ib.name,sb=ib.category,ub=ib.attributes,bb={title:Object(re.__)("Submit","coblocks"),description:Object(re.__)("A button for submitting form data.","coblocks"),icon:ab,keywords:["coblocks",Object(re.__)("submit","coblocks"),Object(re.__)("button","coblocks")],parent:["coblocks/form"],supports:{reusable:!1,html:!1,multiple:!1,customClassName:!0},styles:[{name:"fill",label:Object(re.__)("Fill"),isDefault:!0},{name:"outline",label:Object(re.__)("Outline")},{name:"circular",label:Object(re.__)("Circular")},{name:"3d",label:Object(re.__)("3D")},{name:"shadow",label:Object(re.__)("Shadow")}],attributes:ub,edit:rb,save:function(){return null}},db=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m19 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2zm0 16h-14v-14h14zm-1.01-10-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),pb={name:"coblocks/field-checkbox",category:"layout",attributes:{label:{type:"string",default:Object(re.__)("Checkbox","coblocks")},required:{type:"boolean",default:!1},options:{type:"array",default:[]},isInline:{type:"boolean",default:!1}}},mb=pb.name,hb=pb.category,fb=pb.attributes,gb={title:Object(re.__)("Checkbox","coblocks"),description:Object(re.__)("A checkbox field with multiple options where multiple choices can be made.","coblocks"),icon:db,keywords:["coblocks",Object(re.__)("option","coblocks")],parent:["coblocks/form"],supports:{reusable:!1,html:!1,customClassName:!1},attributes:fb,edit:ku("checkbox"),save:function(){return null}};var vb=function(e){var t=e.attributes,o=e.setAttributes,n=e.isSelected,c=t.required,r=t.label;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(Ws,{required:c,label:r,setAttributes:o,isSelected:n}),Object(ae.createElement)(ie.TextControl,{type:"url"}))},yb=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m19 3h-14c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-14c0-1.1-.89-2-2-2zm0 16h-14v-12h14z"})),Ob={name:"coblocks/field-website",category:"layout",attributes:{label:{type:"string",default:Object(re.__)("Website","coblocks")},required:{type:"boolean",default:!1}}},kb=Ob.name,_b=Ob.category,jb=Ob.attributes,wb={title:Object(re.__)("Website","coblocks"),description:Object(re.__)("A text field for collecting a URL.","coblocks"),icon:yb,keywords:["coblocks",Object(re.__)("link","coblocks"),Object(re.__)("hyperlink","coblocks"),Object(re.__)("url","coblocks")],parent:["coblocks/form"],supports:{reusable:!1,html:!1,customClassName:!1},attributes:jb,edit:vb,save:function(){return null}};var Eb=function(e){var t=e.attributes,o=e.setAttributes,n=e.isSelected,c=t.label,r=t.value;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(Ws,{label:c,setAttributes:o,isSelected:n,showRequiredToggle:!1}),Object(ae.createElement)(ie.TextControl,{value:r}),Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Hidden Field settings","coblocks")},Object(ae.createElement)(ie.TextControl,{value:r,label:Object(re.__)("Field value","coblocks"),onChange:function(e){return o({value:e})},className:"components-block-coblocks-map-api-key__custom-input"}))))},Cb=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16c.57-.23 1.18-.36 1.83-.36zm-10-2.73 2.28 2.28.46.46c-1.66 1.29-2.96 3.01-3.74 4.99 1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42 2.93 2.92 1.27-1.27-17.73-17.73zm5.53 5.53 1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"})),xb={name:"coblocks/field-hidden",category:"layout",attributes:{label:{type:"string",default:Object(re.__)("Hidden","coblocks")},value:{type:"string",default:""}}},Sb=xb.name,Pb=xb.category,zb=xb.attributes,Tb={title:Object(re.__)("Hidden","coblocks"),description:Object(re.__)("A hidden text field for collecting additional data.","coblocks"),icon:Cb,keywords:["coblocks",Object(re.__)("input","coblocks"),Object(re.__)("text","coblocks")],parent:["coblocks/form"],supports:{reusable:!1,html:!1,customClassName:!1},attributes:zb,edit:Eb,save:function(){return null}};function Rb(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Bb(){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}}var Nb=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Bb()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).updateAlignment=e.updateAlignment.bind(pn()(e)),e}return ve()(n,[{key:"updateAlignment",value:function(e){var t=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};this.props.setAttributes(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Rb(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Rb(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{align:e}))}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.align,c=t.url;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(xe.BlockAlignmentToolbar,{value:n,onChange:this.updateAlignment}),Object(ae.createElement)(ie.Toolbar,null,c&&Object(ae.createElement)(ie.IconButton,{className:"components-toolbar__control",label:Object(re.__)("Remove gif","coblocks"),icon:"trash",onClick:function(){return o({url:"",width:"",height:""})}}))))}}]),n}(ae.Component),Ab=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m16 11v7h-14v-14h5.02c.05-.71.22-1.38.48-2h-5.5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54zm2.8-9.11c.44-.7.7-1.51.7-2.39 0-2.49-2.01-4.5-4.5-4.5s-4.5 2.01-4.5 4.5 2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7l3.12 3.12 1.42-1.42zm-3.8.11c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z",transform:"translate(3 2)"}));function Ib(){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}}var Mb=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Ib()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).updateAlt=e.updateAlt.bind(pn()(e)),e}return ve()(n,[{key:"updateAlt",value:function(e){this.props.setAttributes({alt:e})}},{key:"render",value:function(){var e=this.props.attributes.alt;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Gif settings","coblocks")},Object(ae.createElement)(ie.TextareaControl,{label:Object(re.__)("Alt text (alternative text)","coblocks"),value:e,onChange:this.updateAlt,help:Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(re.__)("Describe the purpose of the image","coblocks")),Object(re.__)("Leave empty if the image is purely decorative.","coblocks"))}))))}}]),n}(ae.Component);function Db(){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}}var Lb=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Db()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(pn()(e)),e.calculateSize=e.calculateSize.bind(pn()(e)),e}return ve()(n,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(e){this.props.src!==e.src&&(this.setState({width:void 0,height:void 0}),this.fetchImageSize()),this.props.dirtynessTrigger!==e.dirtynessTrigger&&this.calculateSize()}},{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"fetchImageSize",value:function(){this.gif=new window.Image,this.gif.onload=this.calculateSize,this.gif.src=this.props.src}},{key:"calculateSize",value:function(){var e=this.container.clientWidth,t=this.gif.width>e,o=this.gif.height/this.gif.width,n=t?e:this.gif.width,c=t?e*o:this.gif.height;this.setState({width:n,height:c})}},{key:"render",value:function(){var e={imageWidth:this.gif&&this.gif.width,imageHeight:this.gif&&this.gif.height,containerWidth:this.container&&this.container.clientWidth,containerHeight:this.container&&this.container.clientHeight,imageWidthWithinContainer:this.state.width,imageHeightWithinContainer:this.state.height};return Object(ae.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),n}(ae.Component);function Fb(){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}}var Vb=Object(Ye.withSelect)((function(e){var t=e("core/editor").getEditorSettings,o=e("core/viewport").isViewportMatch,n=t();return{maxWidth:n.maxWidth,isRTL:n.isRTL,isLargeViewport:o("medium")}})),Gb=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Fb()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).onFocusCaption=e.onFocusCaption.bind(pn()(e)),e.onImageClick=e.onImageClick.bind(pn()(e)),e.state={captionFocused:!1},e}return ve()(n,[{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onFocusCaption",value:function(){this.state.captionFocused||this.setState({captionFocused:!0})}},{key:"onImageClick",value:function(){this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"render",value:function(){var e=this,t=this.props,o=t.attributes,n=t.className,c=t.isSelected,r=t.setAttributes,a=t.isLargeViewport,i=t.isRTL,l=t.maxWidth,s=o.align,u=o.alt,b=o.height,d=o.url,p=o.width,m=o.caption,h=-1===["wide","full"].indexOf(s)&&a,f=Fe()(n,"wp-block-image",{"is-resized":!!p,"is-focused":c}),g=[];if(d)return Object(ae.createElement)(ae.Fragment,null,c&&Object(ae.createElement)(Nb,this.props),c&&Object(ae.createElement)(Mb,this.props),Object(ae.createElement)("figure",{key:"image",className:f},Object(ae.createElement)(Lb,{src:d,dirtynessTrigger:s},(function(t){var o,n=t.imageWidthWithinContainer,c=t.imageHeightWithinContainer,a=t.imageWidth,m=t.imageHeight;o=u||Object(re.__)("This gif has an empty alt attribute","coblocks");var f=Object(ae.createElement)("button",{onClick:e.onImageClick},Object(ae.createElement)("img",{src:d,alt:o}));if(!h||!n)return f;var g=p||n,v=b||c,y=a/m,O=a<m?20:20*y,k=m<a?20:20/y,_=2.5*l,j=!1,w=!1;return"center"===s?(j=!0,w=!0):i?"left"===s?j=!0:w=!0:"right"===s?w=!0:j=!0,Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.ResizableBox,{size:p&&b?{width:p,height:b}:void 0,minWidth:O,maxWidth:_,minHeight:k,maxHeight:_/y,lockAspectRatio:!0,enable:{top:!1,right:j,bottom:!0,left:w},onResizeStop:function(e,t,o,n){r({width:parseInt(g+n.width,10),height:parseInt(v+n.height,10)})}},f))})),(!xe.RichText.isEmpty(m)||c)&&Object(ae.createElement)(xe.RichText,{tagName:"figcaption",placeholder:Object(re.__)("Write caption…","coblocks"),value:m,unstableOnFocus:this.onFocusCaption,onChange:function(e){return r({caption:e})},isSelected:this.state.captionFocused,inlineToolbar:!0})));o.matches&&o.matches.length&&(g=Object(kt.map)(o.matches,(function(e){var t=wp.element.createElement("img",{key:e.id+"-img",src:e.images.fixed_height_small.url});return wp.element.createElement("li",{key:e.id,onClick:function(){r({url:e.images.original.url})}},t)}))),!g.length&&o.fetching&&(g=Object(ae.createElement)(ie.Spinner,null));var v=Object(kt.debounce)((function(e){o.fetching||(r({fetching:!0}),fetch("https://api.giphy.com/v1/gifs/search?api_key=w0o6fO8pv5gSM334gfqUlcdrVaaoiA81&limit=10&offset=0&rating=G&lang=en&q="+encodeURI(e),{method:"GET"}).then((function(e){return e.json()})).then((function(e){r({fetching:!1,matches:e.data})})).catch((function(){r({fetching:!1})})))}),1e3);return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.Placeholder,{key:"placeholder",icon:Object(ae.createElement)(xe.BlockIcon,{icon:Ab}),label:"Gif",instructions:Object(re.__)("Search for that perfect gif on Giphy","coblocks"),className:n},Co.giphy,Object(ae.createElement)("input",{key:"search-field",type:"text",placeholder:Object(re.__)("Search for gifs","coblocks"),onChange:function(e){return v(e.target.value)}}),Object(ae.createElement)("ul",{key:"results",className:"wp-block-coblocks-gif__results"},g)))}}]),n}(ae.Component),Ub=Object(Ce.compose)([Vb])(Gb),Hb=o(122),Wb=function(e){var t,o=e.attributes,n=o.url,c=o.alt,r=o.align,a=o.width,i=o.height,l=o.caption,s=Fe()((t={},te()(t,"align".concat(r),r),te()(t,"is-resized",a||i),t)),u=Object(ae.createElement)("img",{src:n,alt:c,width:a,height:i}),b=Object(ae.createElement)(ae.Fragment,null,u,!xe.RichText.isEmpty(l)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"figcaption",value:l}));return"left"===r||"right"===r||"center"===r?Object(ae.createElement)("div",{className:"wp-block-image"},Object(ae.createElement)("figure",{className:s},b)):Object(ae.createElement)("figure",{className:s},b)},qb=Hb.name,Yb=Hb.category,Kb=Hb.attributes,Xb={title:Object(re.__)("Gif","coblocks"),description:Object(re.__)("Pick a gif, any gif.","coblocks"),icon:Ab,keywords:["coblocks",Object(re.__)("animated","coblocks")],supports:{customClassName:!1,html:!1},attributes:Kb,getEditWrapperProps:function(e){var t=e.align,o=e.width;if("left"===t||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!o}},edit:Ub,save:Wb},Jb=o(68),Zb=[{attributes:Jb.attributes,save:function(e){var t=e.attributes,o=t.url,n=t.file,c=t.meta,r=Fe()({"wp-block-coblocks-gist--no-meta":!c}),a=n?"".concat(o,".js?file=").concat(n):"".concat(o,".js"),i=n?"".concat(o,"#file-").concat(n.replace(".","-")):"".concat(o);return Object(ae.createElement)("div",{className:r},Object(ae.createElement)("script",{src:a}),Object(ae.createElement)("noscript",null,Object(ae.createElement)("a",{href:i},Object(re.__)("View this gist on GitHub","coblocks"))))}}];function $b(){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}}var Qb=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if($b()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.preview,o=e.setState,n=[{icon:"edit",title:t?Object(re.sprintf)(Object(re.__)("Return to %s","coblocks"),"Gist"):Object(re.sprintf)(Object(re.__)("Edit %s URL","coblocks"),"Gist"),onClick:function(){return o({preview:!t})},isActive:!t}];return Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(ie.Toolbar,{controls:n}))}}]),n}(ae.Component);function ed(){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}}var td=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(ed()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).updateURL=e.updateURL.bind(pn()(e)),e.updateFile=e.updateFile.bind(pn()(e)),e}return ve()(n,[{key:"updateURL",value:function(e){void 0!==e&&e.trim()||this.props.setState({preview:!1}),this.props.setAttributes({url:e})}},{key:"updateFile",value:function(e){this.props.setAttributes({file:e})}},{key:"getGistMetaHelp",value:function(e){return e?Object(re.__)("Showing gist meta data.","coblocks"):Object(re.__)("Toggle to show the gist meta data.","coblocks")}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.url,c=t.file,r=t.meta;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Gist settings","coblocks")},Object(ae.createElement)(ie.TextControl,{label:Object(re.__)("Gist URL","coblocks"),value:n,onChange:this.updateURL}),Object(ae.createElement)(ie.TextControl,{label:Object(re.__)("Gist File","coblocks"),value:c,onChange:this.updateFile}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Gist Meta","coblocks"),checked:!!r,onChange:function(){return o({meta:!r})},help:this.getGistMetaHelp}))))}}]),n}(ae.Component),od=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m9.91141337.24530748c-5.47605589 0-9.91141337 4.43783534-9.91141337 9.91141342 0 4.3800187 2.83961993 8.0943209 6.77692889 9.4034534.49557067.0933325.67727992-.2130954.67727992-.4765738 0-.2353961-.00825951-.8589892-.01238927-1.6849403-2.75702482.5979886-3.3384944-1.3297813-3.3384944-1.3297813-.45096931-1.1439423-1.10264474-1.4495442-1.10264474-1.4495442-.89780886-.6145076.06937989-.6021183.06937989-.6021183.99527109.0693799 1.51809815 1.0208755 1.51809815 1.0208755.88376769 1.5156203 2.32009668 1.0778662 2.88669915.8242993.08920272-.6409381.34442161-1.0778663.62772284-1.3256516-2.20115972-.2477853-4.51464879-1.1001669-4.51464879-4.8978901 0-1.08199596.38406727-1.96576365 1.02004963-2.65956258-.1115034-.25026319-.4460136-1.25792355.08672486-2.62322074 0 0 .83008087-.26595626 2.72563868 1.01591987.79291307-.22052895 1.63538321-.3295545 2.47785334-.3345102.84247015.0049557 1.68494025.11398125 2.47785335.3345102 1.8831685-1.28187613 2.7132494-1.01591987 2.7132494-1.01591987.5327385 1.36529719.1982283 2.37295755.0991141 2.62322074.6318526.69379893 1.0159199 1.57756662 1.0159199 2.65956258 0 3.8076346-2.3167929 4.645975-4.5220823 4.8896306.3468994.2973424.6690204.9052424.6690204 1.8336115 0 1.3264775-.0123893 2.3919544-.0123893 2.7140753 0 .2601746.1734497.5699063.6814097.4707922 3.9653913-1.3000471 6.8025333-5.0168271 6.8025333-9.3902382 0-5.47357808-4.4378353-9.91141342-9.91141333-9.91141342",transform:"translate(2.086212 2.086212)"})),nd=o(24),cd=o.n(nd);function rd(){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}}var ad=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(rd()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(e){var t;return fe()(this,n),(t=o.call(this,e)).url=e.url,t.file=e.file,t.stylesheetAdded=!1,t.state={loading:!0,gistContent:""},t._handleError=t._handleError.bind(pn()(t)),t}return ve()(n,[{key:"componentDidMount",value:function(){this._buildGist()}},{key:"_handleError",value:function(){var e=this.props.onError;this.setState({loading:!1}),e()}},{key:"_getID",value:function(){var e=this._handleError;if(null!==this.url.match(/(\.com\/)(.*?)([^#]+)/))return this.url.match(/(\.com\/)(.*?)([^#]+)/).pop();e()}},{key:"_getFile",value:function(){if(void 0!==this.file)return"&file=".concat(this.file);var e=this.url.split("#").pop();return null!==e.match(/file*/)?"&file=".concat(e.replace("file-","").replace("-",".")):""}},{key:"_tranformedURL",value:function(e){var t=this._getID();if(!t)return!1;var o=this._getFile();return"https://gist.github.com/".concat(t,".json?callback=").concat(e).concat(o)}},{key:"_buildGist",value:function(){var e=this,t=this._handleError,o=n.__nextGist();window[o]=function(t){n.__addStylesheet(t.stylesheet),e.setState({loading:!1,gistContent:t.div})};var c=document.createElement("script");c.type="text/javascript";var r=this._tranformedURL(o);r&&(c.src=r,c.onerror=function(){t()},document.head.appendChild(c))}},{key:"render",value:function(){return this.state.loading?Object(ae.createElement)(ie.Placeholder,{key:"placeholder",icon:Object(ae.createElement)(xe.BlockIcon,{icon:od}),label:Object(re.__)("Loading Gist","coblocks")},Object(ae.createElement)(ie.Spinner,null)):this.state.gistContent?Object(ae.createElement)("div",{dangerouslySetInnerHTML:{__html:this.state.gistContent}}):void 0}}],[{key:"__gistCallbackId",value:function(){return 0}},{key:"__nextGist",value:function(){return"embed_gist_callback_"+this.__gistCallbackId++}},{key:"__addStylesheet",value:function(e){if(!this.stylesheetAdded){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e,document.head.appendChild(t),this.stylesheetAdded=!0}}}]),n}(ae.Component);function id(){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}}ad.propTypes={file:cd.a.string,onError:cd.a.function,url:cd.a.string.isRequired};var ld=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(id()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).updateURL=e.updateURL.bind(pn()(e)),e.handleErrors=e.handleErrors.bind(pn()(e)),e.clearErrors=e.clearErrors.bind(pn()(e)),e}return ve()(n,[{key:"componentDidMount",value:function(){this.props.attributes.url&&this.props.setState({preview:!0})}},{key:"updateURL",value:function(e){if(this.props.setAttributes({url:e,file:""}),void 0!==e&&e.trim()){this.props.attributes.url||this.props.setState({preview:!0});var t=e.split("#file-").pop();if(null!==e.match(/#file-*/)){var o=e.replace(t,"").replace("#file-","");this.props.setAttributes({url:o}),this.props.setAttributes({file:t.replace(/-([^-]*)$/,".$1")})}this.clearErrors()}else this.props.setState({preview:!1})}},{key:"handleErrors",value:function(){var e=this.props,t=e.noticeOperations,o=e.setState;t.removeAllNotices(),t.createErrorNotice("Sorry, this URL is not a GitHub Gist."),o({preview:!1})}},{key:"clearErrors",value:function(){this.props.noticeOperations.removeAllNotices()}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,n=e.isSelected,c=e.preview,r=e.setAttributes,a=e.noticeUI,i=t.url,l=t.file,s=t.meta,u=t.caption,b=this.handleErrors;return Object(ae.createElement)(ae.Fragment,null,i&&i.length>0&&n&&Object(ae.createElement)(Qb,this.props),i&&i.length>0&&n&&Object(ae.createElement)(td,this.props),c?i&&Object(ae.createElement)("div",{className:Fe()(o,s?null:"no-meta")},Object(ae.createElement)(ad,{url:i,file:l,onError:function(){b()}}),(!xe.RichText.isEmpty(u)||n)&&Object(ae.createElement)(xe.RichText,{tagName:"figcaption",placeholder:Object(re.__)("Write caption…","coblocks"),value:u,onChange:function(e){return r({caption:e})},keepPlaceholderOnFocus:!0,inlineToolbar:!0})):Object(ae.createElement)(ae.Fragment,null,a,Object(ae.createElement)("div",{className:Fe()(o,"wp-block-shortcode")},Object(ae.createElement)("label",null,Object(ae.createElement)(xe.BlockIcon,{icon:od}),Object(re.__)("Gist URL","coblocks")),Object(ae.createElement)(xe.PlainText,{className:"input-control",value:i,placeholder:Object(re.__)("Add GitHub Gist URL…","coblocks"),onChange:this.updateURL}))))}}]),n}(ae.Component),sd=Object(Ce.compose)([Object(Ce.withState)({preview:!1}),ie.withNotices])(ld),ud=function(e){var t=e.attributes,o=t.url,n=t.file,c=t.meta,r=t.caption;if(void 0!==o){var a=Fe()({"no-meta":!c}),i=n?"".concat(o,".js?file=").concat(n):"".concat(o,".js"),l=n?"".concat(o,"#file-").concat(n.replace(".","-")):"".concat(o);return Object(ae.createElement)("div",{className:a},Object(ae.createElement)("script",{src:i}),Object(ae.createElement)("noscript",null,Object(ae.createElement)("a",{href:l},Object(re.__)("View this gist on GitHub","coblocks"))),!xe.RichText.isEmpty(r)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"figcaption",value:r}))}},bd={from:[{type:"raw",priority:1,isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)&&e.textContent.match(/^https?:\/\/(www\.)?gist\.github\.com\/.+/i)},transform:function(e){var t=e.textContent.trim().split("#").pop(),o=t.replace("file-","#file-").replace("-",".");return Object(oe.createBlock)("coblocks/gist",{url:e.textContent.trim(),file:null!==t.match(/file*/)?o:void 0})}},{type:"prefix",prefix:":gist",transform:function(e){return Object(oe.createBlock)(Jb.name,{content:e})}}]},dd=Jb.name,pd=Jb.category,md=Jb.attributes,hd={title:Object(re.__)("Gist","coblocks"),description:Object(re.__)("Embed GitHub gists by adding a gist link.","coblocks"),icon:od,keywords:["coblocks","github",Object(re.__)("code","coblocks")],supports:{html:!1,align:["wide"]},attributes:md,transforms:bd,edit:sd,save:ud,deprecated:Zb},fd=o(69),gd={layout:{type:"string",default:"center-left"},fullscreen:{type:"boolean",default:!1}},vd={height:{type:"number"},heightTablet:{type:"number"},heightMobile:{type:"number"},syncHeight:{type:"boolean",default:!0}};function yd(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Od(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?yd(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):yd(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var kd=Od({},gd,{},da,{},$n,{},vd,{},fd.attributes),_d=[{attributes:kd,save:function(e){var t,o=e.attributes,n=o.coblocks,c=o.layout,r=o.fullscreen,a=o.maxWidth,i=o.backgroundImg,l=o.backgroundType,s=o.paddingSize,u=o.backgroundColor,b=o.customBackgroundColor,d=o.customTextColor,p=o.textColor,m=o.contentAlign,h=o.focalPoint,f=o.hasParallax,g=o.height,v=Object(xe.getColorClassName)("color",p),y=Object(xe.getColorClassName)("background-color",u),O=Fe()(te()({"has-text-color":p||d},v,v));n&&void 0!==n.id&&(O=Fe()(Fe.a,"coblocks-hero-".concat(n.id)));var k={color:v?void 0:d},_=Fe.a.apply(void 0,["wp-block-coblocks-hero__inner"].concat(ce()(Qn(o)),[(t={},te()(t,"hero-".concat(c,"-align"),c),te()(t,"has-text-color",p&&p.color),te()(t,"has-padding",s&&"no"!==s),te()(t,"has-".concat(s,"-padding"),s&&"advanced"!==s),te()(t,y,y),te()(t,"has-".concat(m,"-content"),m),te()(t,"is-fullscreen",r),t)])),j={backgroundColor:y?void 0:b,backgroundImage:i&&"image"===l?"url(".concat(i,")"):void 0,color:p?p.color:void 0,backgroundPosition:h&&!f?"".concat(100*h.x,"% ").concat(100*h.y,"%"):void 0,minHeight:r?void 0:g};return Object(ae.createElement)("div",{className:O,style:k},Object(ae.createElement)("div",{className:_,style:j},mc(o),Object(ae.createElement)("div",{className:"wp-block-coblocks-hero__box",style:{maxWidth:a?a+"px":void 0}},Object(ae.createElement)(xe.InnerBlocks.Content,null))))}},{attributes:Od({},kd,{customBackgroundColor:{type:"string",default:"#f3f3f3"}}),save:function(e){var t,o=e.attributes,n=o.coblocks,c=o.layout,r=o.fullscreen,a=o.maxWidth,i=o.backgroundImg,l=o.backgroundType,s=o.paddingSize,u=o.backgroundColor,b=o.customBackgroundColor,d=o.customTextColor,p=o.textColor,m=o.contentAlign,h=o.focalPoint,f=o.hasParallax,g=o.height,v=Object(xe.getColorClassName)("color",p),y=Object(xe.getColorClassName)("background-color",u),O=Fe()(te()({"has-text-color":p||d},v,v));n&&void 0!==n.id&&(O=Fe()(Fe.a,"coblocks-hero-".concat(n.id)));var k={color:v?void 0:d},_=Fe.a.apply(void 0,["wp-block-coblocks-hero__inner"].concat(ce()(Qn(o)),[(t={},te()(t,"hero-".concat(c,"-align"),c),te()(t,"has-text-color",p&&p.color),te()(t,"has-padding",s&&"no"!==s),te()(t,"has-".concat(s,"-padding"),s&&"advanced"!==s),te()(t,y,y),te()(t,"has-".concat(m,"-content"),m),te()(t,"is-fullscreen",r),t)])),j={backgroundColor:y?void 0:b,backgroundImage:i&&"image"===l?"url(".concat(i,")"):void 0,color:p?p.color:void 0,backgroundPosition:h&&!f?"".concat(100*h.x,"% ").concat(100*h.y,"%"):void 0,minHeight:r?void 0:g};return Object(ae.createElement)("div",{className:O,style:k},Object(ae.createElement)("div",{className:_,style:j},mc(o),Object(ae.createElement)("div",{className:"wp-block-coblocks-hero__content-wrapper"},Object(ae.createElement)("div",{className:"wp-block-coblocks-hero__content",style:{maxWidth:a?a+"px":void 0}},Object(ae.createElement)(xe.InnerBlocks.Content,null)))))}}],jd=Object(xe.withColors)("backgroundColor",{textColor:"color"});function wd(){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}}var Ed=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(wd()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.clientId,n=e.setAttributes,c=e.tooltip,r=void 0===c||c,a=e.updateBlockAttributes,i=e.innerBlocks,l=t.layout,s=t.fullscreen,u=function(e){var t=Qt(),o=t?"core/buttons":"coblocks/buttons",n=t?"align":"contentAlign";i.forEach((function(t){t.name===o&&a(t.clientId,te()({},n,e))}))},b=[{value:"top-left",label:Object(re.__)("Top left","coblocks")},{value:"top-center",label:Object(re.__)("Top center","coblocks")},{value:"top-right",label:Object(re.__)("Top right","coblocks")},{value:"center-left",label:Object(re.__)("Center left","coblocks")},{value:"center-center",label:Object(re.__)("Center center","coblocks")},{value:"center-right",label:Object(re.__)("Center right","coblocks")},{value:"bottom-left",label:Object(re.__)("Bottom left","coblocks")},{value:"bottom-center",label:Object(re.__)("Bottom center","coblocks")},{value:"bottom-right",label:Object(re.__)("Bottom right","coblocks")}];s||(b=[{value:"center-left",label:Object(re.__)("Center left","coblocks")},{value:"center-center",label:Object(re.__)("Center center","coblocks")},{value:"center-right",label:Object(re.__)("Center right","coblocks")}]);var d={"top-left":{wrapper:{contentAlign:"left"}},"top-center":{wrapper:{contentAlign:"center"}},"top-right":{wrapper:{contentAlign:"right"}},"center-left":{wrapper:{contentAlign:"left"}},"center-center":{wrapper:{contentAlign:"center"}},"center-right":{wrapper:{contentAlign:"right"}},"bottom-left":{wrapper:{contentAlign:"left"}},"bottom-center":{wrapper:{contentAlign:"center"}},"bottom-right":{wrapper:{contentAlign:"right"}}},p=Fe()("components-base-control","components-coblocks-css-grid-selector",{"is-fullscreen":s});return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:p},Object(ae.createElement)("p",{className:"components-base-control__label"},Object(re.__)("Layout","coblocks")),Object(ae.createElement)(ie.ButtonGroup,{"aria-label":Object(re.__)("Select layout","coblocks")},Tc()(b,(function(e,t){var c=e.label,i=e.value;return r?Object(ae.createElement)(ie.Tooltip,{text:c,key:"grid-tooltip-".concat(t)},Object(ae.createElement)("div",{className:i===l?"is-selected":null},Object(ae.createElement)(ie.Button,{isSmall:!0,isSecondary:i!==l,isPrimary:i===l,onClick:function(){n({layout:i}),u(i.split("-")[1]),d[i].wrapper&&a(o,d[i].wrapper)}}))):Object(ae.createElement)("div",{className:i===l?"is-selected":null},Object(ae.createElement)(ie.Button,{isSmall:!0,isSecondary:i!==l,isPrimary:i===l,onClick:function(){n({layout:i}),d[i].wrapper&&(a(o,d[i].wrapper),u(i.split("-")[1]))}}))})))),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Fullscreen","coblocks"),checked:!!s,onChange:function(){s&&(["bottom-left","top-left"].includes(l)&&(n({layout:"center-left"}),u("left")),["bottom-center","top-center"].includes(l)&&(n({layout:"center-center"}),u("center")),["bottom-right","top-right"].includes(l)&&(n({layout:"center-right"}),u("right"))),n({fullscreen:!s})},help:s?Object(re.__)("Fullscreen mode is enabled.","coblocks"):Object(re.__)("Toggle to enable fullscreen mode.","coblocks")}))}}]),n}(ae.Component),Cd=Object(Ce.withInstanceId)(Object(Ce.compose)([Object(Ye.withDispatch)((function(e){return{updateBlockAttributes:e("core/block-editor").updateBlockAttributes}})),Object(Ye.withSelect)((function(e,t){return{innerBlocks:(0,e("core/block-editor").getBlocks)(t.clientId)}}))])(Ed)),xd={};xd.tablet=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11.25 0h-9c-.825 0-1.5.61363636-1.5 1.36363636v13.27272724c0 .75.675 1.3636364 1.5 1.3636364h9c.825 0 1.5-.6136364 1.5-1.3636364v-13.27272724c0-.75-.675-1.36363636-1.5-1.36363636zm-.5 14h-8v-12h8z",transform:"translate(1.25)"})),xd.mobile=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m6.5 0h-5c-.825 0-1.5.61363636-1.5 1.36363636v9.27272724c0 .75.675 1.3636364 1.5 1.3636364h5c.825 0 1.5-.6136364 1.5-1.3636364v-9.27272724c0-.75-.675-1.36363636-1.5-1.36363636zm-.5 10h-4v-8h4z",transform:"translate(4 2)"})),xd.desktopChrome=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m12.5 0c.8325 0 1.5.61363636 1.5 1.36363636v11.27272724c0 .75-.675 1.3636364-1.5 1.3636364l-.5-2v-9h-10v9h10l.5 2h-11c-.8325 0-1.5-.6136364-1.5-1.3636364v-11.27272724c0-.75.6675-1.36363636 1.5-1.36363636zm-10 1c-.27614237 0-.5.22385763-.5.5s.22385763.5.5.5.5-.22385763.5-.5-.22385763-.5-.5-.5z",transform:"translate(1 1.001872)"})),xd.sync=Object(ae.createElement)(ie.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m7.34133533 6.23855964v-1.98499625c-2.17404351.03150788-4.03300825 1.38634659-4.85221305 3.27681921-.31507877.72468117-.44111028 1.51237809-.4096024 2.33158289.06301575 1.13428361.47261815 2.20555141 1.16579145 3.05626411.37809452.4411102.28357089 1.1027757-.18904726 1.4493623-.44111028.3150788-1.07126782.2205551-1.41785447-.1890473-.85071268-1.0397599-1.38634658-2.3315829-1.54388597-3.7179294-.12603151-1.00825211-.03150788-2.01650417.25206302-2.9302326.88222055-3.02475619 3.6864216-5.26181546 6.99474868-5.29332334v-1.98499624c0-.09452363.12603151-.15753939.22055514-.09452363l4.09602403 2.99324831c.0630157.06301575.0630157.15753938 0 .18904726l-4.09602403 2.99324831c-.09452363.06301575-.22055514 0-.22055514-.09452363zm.22055514 13.17029256c.09452363.0630158.22055514 0 .22055514-.0945236v-1.9849963c3.30832709-.0315078 6.11252809-2.2685671 6.99474869-5.2933233.252063-.9137284.3780945-1.8904726.252063-2.93023256-.1575394-1.38634658-.7246812-2.67816954-1.543886-3.71792948-.3465866-.44111028-.9767441-.53563391-1.4178544-.18904726-.4726182.34658665-.5671418 1.00825206-.1890473 1.44936234.6931733.85071268 1.1027757 1.89047262 1.1657915 3.05626407.0315078.81920479-.1260315 1.63840959-.4096024 2.33158289-.787697 1.8904726-2.6466617 3.2453113-4.85221309 3.2768192v-1.9849962c0-.0945237-.12603151-.1575394-.22055514-.0945237l-4.096024 2.9932483c-.06301576.0630158-.06301576.1575394 0 .1890473z",transform:"translate(4 2)"}));var Sd=xd;function Pd(){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}}var zd=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Pd()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).saveMeta=e.saveMeta.bind(pn()(e)),e}return ve()(n,[{key:"saveMeta",value:function(){var e=wp.data.select("core/editor").getEditedPostAttribute("meta"),t=wp.data.select("core/block-editor").getBlock(this.props.clientId),o={};if(void 0!==this.props.attributes.coblocks&&void 0!==this.props.attributes.coblocks.id){var n=this.props.name.split("/").join("-")+"-"+this.props.attributes.coblocks.id,c={height:t.attributes[this.props.type],heightTablet:t.attributes[this.props.type+"Tablet"],heightMobile:t.attributes[this.props.type+"Mobile"]};void 0===(o=void 0===e._coblocks_responsive_height||void 0!==e._coblocks_responsive_height&&""===e._coblocks_responsive_height?{}:JSON.parse(e._coblocks_responsive_height))[n]?(o[n]={},o[n][this.props.type]={}):void 0===o[n][this.props.type]&&(o[n][this.props.type]={}),o[n][this.props.type]=c,wp.data.dispatch("core/editor").editPost({meta:{_coblocks_responsive_height:JSON.stringify(o)}})}}},{key:"render",value:function(){var e=this,t=this.props,o=t.label,n=void 0===o?Object(re.__)("Height","coblocks"):o,c=t.height,r=t.heightTablet,a=t.heightMobile,i=t.onChange,l=t.onChangeTablet,s=t.onChangeMobile,u=t.min,b=void 0===u?10:u,d=t.max,p=void 0===d?1e3:d,m=t.step,h=void 0===m?1:m,f=Fe()("components-base-control","components-coblocks-dimensions-control","components-coblocks-responsive-base-control",{});return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:f},Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("span",{className:"components-base-control__label"},n),Object(ae.createElement)(ie.TabPanel,{className:"components-coblocks-dimensions-control__mobile-controls",activeClass:"is-active",initialTabName:"default",onSelect:function(t){var o="desktop";switch(t){case"desktop":o="tablet";break;case"tablet":o="mobile";break;case"mobile":o="desktop"}for(var n=document.getElementsByClassName("components-coblocks-dimensions-control__mobile-controls-item--".concat(e.props.type)),c=0;c<n.length;c++)n[c].style.display="none";"default"===t?document.getElementsByClassName("components-coblocks-dimensions-control__mobile-controls-item-".concat(e.props.type,"--tablet"))[0].click():document.getElementsByClassName("components-coblocks-dimensions-control__mobile-controls-item-".concat(e.props.type,"--").concat(o))[0].style.display="block"},tabs:[{name:"default",title:Sd.desktopChrome,className:"is-secondary components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--".concat(this.props.type," components-button is-button is-default components-coblocks-dimensions-control__mobile-controls-item--default components-coblocks-dimensions-control__mobile-controls-item-").concat(this.props.type,"--default")},{name:"desktop",title:Sd.mobile,className:"is-secondary components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--".concat(this.props.type," components-button is-button is-default components-coblocks-dimensions-control__mobile-controls-item--desktop components-coblocks-dimensions-control__mobile-controls-item-").concat(this.props.type,"--desktop")},{name:"tablet",title:Sd.desktopChrome,className:"is-secondary components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--".concat(this.props.type," components-button is-button is-default components-coblocks-dimensions-control__mobile-controls-item--tablet components-coblocks-dimensions-control__mobile-controls-item-").concat(this.props.type,"--tablet")},{name:"mobile",title:Sd.tablet,className:"is-secondary components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--".concat(this.props.type," components-button is-button is-default components-coblocks-dimensions-control__mobile-controls-item--mobile components-coblocks-dimensions-control__mobile-controls-item-").concat(this.props.type,"--mobile")}]},(function(t){return"mobile"===t.name?Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:"components-coblocks-dimensions-control__inputs component-coblocks-is-mobile"},Object(ae.createElement)(ie.BaseControl,null,Object(ae.createElement)("input",{type:"number",onChange:function(t){s(t),e.saveMeta()},value:a||"",min:b,step:h,max:p})))):"tablet"===t.name?Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:"components-coblocks-dimensions-control__inputs component-coblocks-is-tablet"},Object(ae.createElement)(ie.BaseControl,null,Object(ae.createElement)("input",{type:"number",onChange:function(t){l(t),e.saveMeta()},value:r||"",min:b,step:h,max:p})))):Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:"components-coblocks-dimensions-control__inputs component-coblocks-is-desktop"},Object(ae.createElement)(ie.BaseControl,null,Object(ae.createElement)("input",{type:"number",onChange:function(t){i(t),e.saveMeta()},value:c||"",min:b,step:h,max:p}))))})))))}}]),n}(ae.Component),Td=Object(Ce.withInstanceId)(zd);function Rd(){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}}var Bd=window.getComputedStyle,Nd=Object(ie.withFallbackStyles)((function(e,t){var o=t.attributes.backgroundColor,n=e.querySelector('[contenteditable="true"]'),c=n?Bd(n):null;return{fallbackBackgroundColor:o||!c?void 0:c.backgroundColor}})),Ad=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Rd()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.backgroundColor,n=e.setAttributes,c=e.setBackgroundColor,r=e.setTextColor,a=e.textColor,i=t.fullscreen,l=t.maxWidth,s=t.paddingTop,u=t.paddingRight,b=t.paddingBottom,d=t.paddingLeft,p=t.paddingTopTablet,m=t.paddingRightTablet,h=t.paddingBottomTablet,f=t.paddingLeftTablet,g=t.paddingTopMobile,v=t.paddingRightMobile,y=t.paddingBottomMobile,O=t.paddingLeftMobile,k=t.paddingUnit,_=t.paddingSyncUnits,j=t.paddingSyncUnitsTablet,w=t.paddingSyncUnitsMobile,E=t.paddingSize,C=t.saveCoBlocksMeta,x=t.height,S=t.heightTablet,P=t.heightMobile,z=t.syncHeight;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Hero settings","coblocks")},Object(ae.createElement)(wa,Ie()({},this.props,{type:"padding",label:Object(re.__)("Padding","coblocks"),help:Object(re.__)("Space inside of the container.","coblocks"),valueTop:s,valueRight:u,valueBottom:b,valueLeft:d,valueTopTablet:p,valueRightTablet:m,valueBottomTablet:h,valueLeftTablet:f,valueTopMobile:g,valueRightMobile:v,valueBottomMobile:y,valueLeftMobile:O,unit:k,syncUnits:_,syncUnitsTablet:j,syncUnitsMobile:w,dimensionSize:E,saveCoBlocksMeta:C})),Object(ae.createElement)(Cd,this.props),!i&&Object(ae.createElement)(Td,Ie()({},this.props,{label:Object(re.__)("Height in pixels","coblocks"),height:x,heightTablet:S,heightMobile:P,onChange:function(e){n({height:parseInt(e.target.value,10)})},onChangeTablet:function(e){n({heightTablet:parseInt(e.target.value,10)})},onChangeMobile:function(e){n({heightMobile:parseInt(e.target.value,10)})},sync:z,type:"height",min:"500"})),Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Content width in pixels","coblocks"),value:parseInt(l),onChange:function(e){return n({maxWidth:parseInt(e)})},min:400,max:1e3,step:10,initialPosition:560})),Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:function(e){c(e),E&&"no"!==E||n({paddingSize:"huge"})},label:Object(re.__)("Background color","coblocks")},{value:a.color,onChange:r,label:Object(re.__)("Text color","coblocks")}]}),Object(ae.createElement)(pc,Ie()({},this.props,{hasOverlay:!0}))))}}]),n}(ae.Component),Id=Object(Ce.compose)([jd,Nd])(Ad),Md={};Md.grid=Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",height:"20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11.5 17h4v-2h-4zm4-12h2v-3h-2zm-15-3v13c0 1.1.9 2 2 2h9v-2h-9v-13h13v-2h-13c-1.1 0-2 .9-2 2zm15-2v2h2c0-1.1-.9-2-2-2zm-10 17h2v-16h-2zm-5-7v2h16v-2zm0-5v2h16v-2zm10 12h2v-16h-2zm5-2h2v-2h-2zm0-2h2v-8h-2zm0 4c1.1 0 2-.9 2-2h-2z",transform:"matrix(0 1 -1 0 18.5 1)"}));var Dd=Md;var Ld=function(e){var t=e.icon,o=void 0===t?"menu":t,n=e.label,c=e.menuLabel,r=e.className,a=e.props;return Object(ae.createElement)(ie.Dropdown,{className:Fe()("components-dropdown-menu",r),contentClassName:"components-dropdown-menu__popover",renderToggle:function(e){var t=e.isOpen,c=e.onToggle;return Object(ae.createElement)(ie.IconButton,{className:"components-dropdown-menu__toggle",icon:o,onClick:c,onKeyDown:function(e){t||e.keyCode!==qe.DOWN||(e.preventDefault(),e.stopPropagation(),c())},"aria-haspopup":"true","aria-expanded":t,label:n,tooltip:n},Object(ae.createElement)("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return Object(ae.createElement)(ie.NavigableMenu,{className:"components-coblocks-grid-dropdown",role:"menu","aria-label":c},Object(ae.createElement)(Cd,Ie()({},a,{tooltip:!1})))}})};function Fd(){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}}var Vd=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Fd()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.contentAlign;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(ie.Toolbar,null,Object(ae.createElement)(Ld,{icon:Dd.grid,label:Object(re.__)("Change layout","coblocks"),props:this.props})),Object(ae.createElement)(xe.AlignmentToolbar,{value:n,onChange:function(e){return o({contentAlign:e})}}),oc(this.props)))}}]),n}(ae.Component);function Gd(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ud(){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}}var Hd=["core/heading","core/paragraph","core/spacer","core/button","core/buttons","core/list","core/image","coblocks/alert","coblocks/gif","coblocks/social","coblocks/row","coblocks/column","coblocks/buttons"],Wd=[["core/heading",{placeholder:Object(re.__)("Add hero heading…","coblocks"),level:2}],["core/paragraph",{placeholder:Object(re.__)("Add hero content, which is typically an introductory area of a page accompanied by call to action or two.","coblocks")}],["coblocks/buttons",{contentAlign:"left",items:2,gutter:"medium"},[["core/button",{placeholder:Object(re.__)("Primary button…","coblocks")}],["core/button",{placeholder:Object(re.__)("Secondary button…","coblocks"),className:"is-style-outline"}]]]],qd=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Ud()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).saveMeta=e.saveMeta.bind(pn()(e)),e.getBrowserWidth=e.getBrowserWidth.bind(pn()(e)),e.state={resizingInner:!1,resizing:!1,innerWidth:null},e}return ve()(n,[{key:"componentDidMount",value:function(){var e=document.getElementById("block-"+this.props.clientId);e&&(e.getElementsByClassName("wp-block-coblocks-hero__content")[0].style.width="auto",e.getElementsByClassName("wp-block-coblocks-hero__content")[0].style.maxWidth=this.props.attributes.maxWidth+"px"),this.getBrowserWidth(),window.addEventListener("resize",this.getBrowserWidth.bind(this))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.getBrowserWidth.bind(this))}},{key:"getBrowserWidth",value:function(){return this.setState({innerWidth:window.innerWidth}),window.innerWidth}},{key:"saveMeta",value:function(e){var t=this.props,o=t.getEditedPostAttribute,n=t.getBlock,c=t.editPost,r=o("meta"),a=n(this.props.clientId),i={};if(void 0!==this.props.attributes.coblocks&&void 0!==this.props.attributes.coblocks.id){var l=this.props.name.split("/").join("-")+"-"+this.props.attributes.coblocks.id,s={height:a.attributes[e],heightTablet:a.attributes[e+"Tablet"],heightMobile:a.attributes[e+"Mobile"]};void 0===(i=void 0===r._coblocks_responsive_height||void 0!==r._coblocks_responsive_height&&""===r._coblocks_responsive_height?{}:JSON.parse(r._coblocks_responsive_height))[l]?(i[l]={},i[l][e]={}):void 0===i[l][e]&&(i[l][e]={}),i[l][e]=s,c({meta:{_coblocks_responsive_height:JSON.stringify(i)}})}}},{key:"render",value:function(){var e=this,t=this.props,o=t.clientId,n=t.attributes,c=t.isSelected,r=t.setAttributes,a=t.textColor,i=t.backgroundColor,l=n.coblocks,s=n.className,u=n.layout,b=n.fullscreen,d=n.maxWidth,p=n.backgroundImg,m=n.paddingSize,h=n.paddingTop,f=n.paddingRight,g=n.paddingBottom,v=n.paddingLeft,y=n.paddingUnit,O=n.contentAlign,k=n.height,_=n.heightTablet,j=n.heightMobile,w=Object(ae.createElement)(cc,Ie()({},this.props,{label:Object(re.__)("Add background to hero","coblocks")})),E=Fe()("wp-block-coblocks-hero",s);l&&void 0!==l.id&&(E=Fe()(E,"coblocks-hero-".concat(l.id)));var C=Fe.a.apply(void 0,["wp-block-coblocks-hero__inner"].concat(ce()(Qn(n)),[u&&te()({},"hero-".concat(u,"-align"),u),{"has-text-color":a&&a.color},m&&te()({"has-padding":"no"!==m},"has-".concat(m,"-padding"),"advanced"!==m),O&&te()({},"has-".concat(O,"-content"),O),{"is-fullscreen":b,"is-hero-resizing":this.state.resizingInner}])),x=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Gd(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Gd(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},rc(n,i),{color:a&&a.color,paddingTop:"advanced"===m&&h?h+y:void 0,paddingRight:"advanced"===m&&f?f+y:void 0,paddingBottom:"advanced"===m&&g?g+y:void 0,paddingLeft:"advanced"===m&&v?v+y:void 0,minHeight:b?void 0:k}),S={top:!1,right:!0,bottom:!1,left:!0,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},P={target:"height",value:k};return this.state.innerWidth<=768&&this.state.innerWidth>514?P={target:"heightTablet",value:_||k}:this.state.innerWidth<=514&&(P={target:"heightMobile",value:j||k}),Object(ae.createElement)(ae.Fragment,null,w,c&&Object(ae.createElement)(Id,this.props),c&&Object(ae.createElement)(Vd,this.props),Object(ae.createElement)("div",{className:E},b?Object(ae.createElement)("div",{className:C,style:x},Object(St.isBlobURL)(p)&&Object(ae.createElement)(ie.Spinner,null),mc(n),void 0!==this.props.insertBlocksAfter&&Object(ae.createElement)("div",{className:"wp-block-coblocks-hero__content-wrapper"},Object(ae.createElement)(ie.ResizableBox,{className:Fe()("wp-block-coblocks-hero__content","editor-media-container__resizer",{"is-resizing":this.state.resizing}),size:{width:d},minWidth:"400",maxWidth:"1000",enable:S,onResizeStart:function(){e.setState({resizing:!0});var t=document.getElementById("block-"+o);t.getElementsByClassName("wp-block-coblocks-hero__content")[0].style.maxWidth="",t.getElementsByClassName("wp-block-coblocks-hero__content")[0].style.width=d+"px"},onResizeStop:function(t,n,c,a){r({maxWidth:parseInt(d+a.width,10)}),e.setState({resizing:!1});var i=document.getElementById("block-"+o);i.getElementsByClassName("wp-block-coblocks-hero__content")[0].style.width="auto",i.getElementsByClassName("wp-block-coblocks-hero__content")[0].style.maxWidth=parseInt(d+a.width,10)+"px"}},Object(ae.createElement)(xe.InnerBlocks,{template:Wd,allowedBlocks:Hd,templateLock:!1,templateInsertUpdatesSelection:!1})))):Object(ae.createElement)(ie.ResizableBox,{className:C,style:x,size:{height:P.value},minHeight:"500",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:function(t,o,n,c){switch(P.target){case"heightTablet":r({heightTablet:parseInt(P.value+c.height,10)});break;case"heightMobile":r({heightMobile:parseInt(P.value+c.height,10)});break;default:r({height:parseInt(P.value+c.height,10)})}e.saveMeta("height")}},Object(St.isBlobURL)(p)&&Object(ae.createElement)(ie.Spinner,null),mc(n),void 0!==this.props.insertBlocksAfter&&Object(ae.createElement)("div",{className:"wp-block-coblocks-hero__content-wrapper"},Object(ae.createElement)(ie.ResizableBox,{className:Fe()("wp-block-coblocks-hero__content","editor-media-container__resizer",{"is-resizing":this.state.resizing}),size:{width:d},minWidth:"400",maxWidth:"1000",enable:S,onResizeStart:function(){e.setState({resizing:!0});var t=document.getElementById("block-"+o);t.getElementsByClassName("wp-block-coblocks-hero__content")[0].style.maxWidth="",t.getElementsByClassName("wp-block-coblocks-hero__content")[0].style.width=d+"px"},onResizeStop:function(t,n,c,a){r({maxWidth:parseInt(d+a.width,10)}),e.setState({resizing:!1});var i=document.getElementById("block-"+o);i.getElementsByClassName("wp-block-coblocks-hero__content")[0].style.width="auto",i.getElementsByClassName("wp-block-coblocks-hero__content")[0].style.maxWidth=parseInt(d+a.width,10)+"px"}},Object(ae.createElement)(xe.InnerBlocks,{template:Wd,allowedBlocks:Hd,templateLock:!1,templateInsertUpdatesSelection:!1}))))))}}]),n}(ae.Component),Yd=Object(Ce.compose)([jd,Object(Ye.withDispatch)((function(e){var t=e("core/block-editor");return{updateBlockAttributes:t.updateBlockAttributes,editPost:t.editPost}})),Object(Ye.withSelect)((function(e,t){var o=e("core/block-editor").getBlocks,n=e("core/editor").getEditedPostAttribute;return{innerBlocks:o(t.clientId),getEditedPostAttribute:n,getBlocks:o}}))])(qd),Kd=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m16 0h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2zm0 16h-14v-3h14z",transform:"translate(3 3)"})),Xd=function(e){var t,o=e.attributes,n=o.coblocks,c=o.layout,r=o.fullscreen,a=o.maxWidth,i=o.backgroundImg,l=o.backgroundType,s=o.paddingSize,u=o.backgroundColor,b=o.customBackgroundColor,d=o.customTextColor,p=o.textColor,m=o.contentAlign,h=o.focalPoint,f=o.hasParallax,g=o.height,v=Object(xe.getColorClassName)("color",p),y=Object(xe.getColorClassName)("background-color",u),O=Fe()(te()({"has-text-color":p||d},v,v));n&&void 0!==n.id&&(O=Fe()(Fe.a,"coblocks-hero-".concat(n.id)));var k={color:v?void 0:d},_=Fe.a.apply(void 0,["wp-block-coblocks-hero__inner"].concat(ce()(Qn(o)),[(t={},te()(t,"hero-".concat(c,"-align"),c),te()(t,"has-text-color",p&&p.color),te()(t,"has-padding",s&&"no"!==s),te()(t,"has-".concat(s,"-padding"),s&&"advanced"!==s),te()(t,y,y),te()(t,"has-".concat(m,"-content"),m),te()(t,"is-fullscreen",r),t)])),j={backgroundColor:y?void 0:b,backgroundImage:i&&"image"===l?"url(".concat(i,")"):void 0,color:p?p.color:void 0,backgroundPosition:h&&!f?"".concat(100*h.x,"% ").concat(100*h.y,"%"):void 0,minHeight:r?void 0:g};return Object(ae.createElement)("div",{className:O,style:k},Object(ae.createElement)("div",{className:_,style:j},mc(o),Object(ae.createElement)("div",{className:"wp-block-coblocks-hero__content-wrapper"},Object(ae.createElement)("div",{className:"wp-block-coblocks-hero__content",style:{maxWidth:a?a+"px":void 0}},Object(ae.createElement)(xe.InnerBlocks.Content,null)))))},Jd={from:[{type:"prefix",prefix:":hero",transform:function(e){return Object(oe.createBlock)(fd.name,{content:e})}}]};function Zd(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var $d=fd.name,Qd=fd.category,ep=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Zd(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Zd(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},gd,{},da,{},$n,{},vd,{},fd.attributes),tp={title:Object(re.__)("Hero","coblocks"),description:Object(re.__)("An introductory area of a page accompanied by a small amount of text and a call to action.","coblocks"),icon:Kd,keywords:["coblocks",Object(re.__)("button","coblocks"),Object(re.__)("cta","coblocks"),Object(re.__)("call to action","coblocks")],supports:{align:["wide","full"],coBlocksSpacing:!0},attributes:ep,transforms:Jd,edit:Yd,save:Xd,deprecated:_d},op=Object(xe.withColors)("backgroundColor",{textColor:"color"});function np(){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}}var cp=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(np()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.align;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(xe.AlignmentToolbar,{value:n,onChange:function(e){return o({align:e})}})))}}]),n}(ae.Component);function rp(){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}}var ap=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(rp()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.backgroundColor,o=e.textColor,n=e.setBackgroundColor,c=e.setTextColor,r=e.fallbackBackgroundColor,a=e.fallbackTextColor,i=e.setFontSize,l=e.fallbackFontSize,s=e.fontSize;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Highlight settings","coblocks"),className:"blocks-font-size"},Object(ae.createElement)(xe.FontSizePicker,{fallbackFontSize:l,value:s.size,onChange:i})),Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:t.color,onChange:n,label:Object(re.__)("Background color","coblocks")},{value:o.color,onChange:c,label:Object(re.__)("Text color","coblocks")}]},Object(ae.createElement)(xe.ContrastChecker,{textColor:o.color,backgroundColor:t.color,fallbackBackgroundColor:r,fallbackTextColor:a}))))}}]),n}(ae.Component),ip=Object(Ce.compose)([op,Object(xe.withFontSizes)("fontSize")])(ap);function lp(){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}}var sp=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(lp()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).splitBlock=e.splitBlock.bind(pn()(e)),e}return ve()(n,[{key:"splitBlock",value:function(e,t){for(var o=this.props,n=o.attributes,c=o.insertBlocksAfter,r=o.setAttributes,a=o.onReplace,i=arguments.length,l=new Array(i>2?i-2:0),s=2;s<i;s++)l[s-2]=arguments[s];t&&l.push(Object(oe.createBlock)("core/paragraph",{content:t})),l.length&&c&&c(l);var u=n.content;e?u!==e&&r({content:e}):a([])}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.backgroundColor,n=e.className,c=e.mergeBlocks,r=e.onReplace,a=e.setAttributes,i=e.textColor,l=e.fontSize,s=t.content,u=t.align,b=Fe()("wp-block-coblocks-highlight__content",o&&te()({"has-background":o.color},o.class,o.class),i&&te()({"has-text-color":i.color},i.class,i.class),l&&te()({},l.class,l.class));return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(cp,this.props),Object(ae.createElement)(ip,this.props),Object(ae.createElement)("p",{className:n,style:{textAlign:u}},Object(ae.createElement)(xe.RichText,{tagName:"mark",placeholder:Object(re.__)("Add highlighted text…","coblocks"),value:s,onChange:function(e){return a({content:e})},onMerge:c,onSplit:this.splitBlock,onRemove:function(){return r([])},className:b,style:{backgroundColor:o&&o.color,color:i&&i.color,fontSize:l&&l.size?l.size+"px":void 0},keepPlaceholderOnFocus:!0})))}}]),n}(ae.Component),up=Object(Ce.compose)([op,Object(xe.withFontSizes)("fontSize")])(sp),bp=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h24v24h-24z"}),Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"nonzero",transform:"translate(3 1.399292)"},Object(ae.createElement)(ie.Path,{d:"m3 12 3 3v5h6v-5l3-3v-5h-12zm2-3h8v2.17l-3 3v3.83h-2v-3.83l-3-3z"}),Object(ae.createElement)(ie.Path,{d:"m8 0h2v3h-2z"}),Object(ae.createElement)(ie.Path,{d:"m1.270148 2.72698h1.999981v2.999972h-1.999981z",transform:"matrix(.70680671 -.70740672 .70740672 .70680671 -2.324595 2.845229)"}),Object(ae.createElement)(ie.Path,{d:"m14.22778 3.230139h2.999972v1.999981h-2.999972z",transform:"matrix(.70760661 -.70660659 .70660659 .70760661 1.609657 12.350205)"})))),dp=o(80),pp=function(e){var t,o=e.attributes,n=o.backgroundColor,c=o.content,r=o.customBackgroundColor,a=o.customFontSize,i=o.customTextColor,l=o.fontSize,s=o.align,u=o.textColor,b=Object(xe.getColorClassName)("color",u),d=Object(xe.getColorClassName)("background-color",n),p=Object(xe.getFontSizeClass)(l),m=Fe()("wp-block-coblocks-highlight__content",(t={"has-text-color":u||i},te()(t,b,b),te()(t,"has-background",n||r),te()(t,d,d),te()(t,p,p),t)),h={backgroundColor:d?void 0:r,color:b?void 0:i,fontSize:p?void 0:a};return xe.RichText.isEmpty(c)?null:Object(ae.createElement)("p",{style:{textAlign:s}},Object(ae.createElement)(xe.RichText.Content,{tagName:"mark",className:m,style:h,value:c}))},mp={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(oe.createBlock)(dp.name,{content:t})}},{type:"raw",selector:"p.wp-block-coblocks-highlight",schema:{p:{children:{mark:{children:Object(oe.getPhrasingContentSchema)()}}}}},{type:"prefix",prefix:":highlight",transform:function(e){return Object(oe.createBlock)(dp.name,{content:e})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return t&&t.length?Object(oe.createBlock)("core/paragraph",{content:t}):Object(oe.createBlock)("core/paragraph")}}]},hp=dp.name,fp=dp.category,gp=dp.attributes,vp={title:Object(re.__)("Highlight","coblocks"),description:Object(re.__)("Draw attention and emphasize important narrative.","coblocks"),icon:bp,keywords:["coblocks",Object(re.__)("text","coblocks"),Object(re.__)("paragraph","coblocks")],example:{attributes:{content:Object(re.__)("Add a highlight effect to paragraph text in order to grab attention and emphasize important narrative.","coblocks")}},attributes:gp,transforms:mp,edit:up,save:pp},yp=Object(xe.withColors)("backgroundColor",{iconColor:"color"}),Op=o(200),kp=o.n(Op);function _p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var jp={outlined:{},filled:{}},Ep="undefined"==typeof coblocksBlockData||coblocksBlockData.bundledIconsEnabled?{coblocks:{label:Object(re.__)("CoBlocks","coblocks"),keywords:[Object(re.__)("blocks","coblocks"),Object(re.__)("build","coblocks"),Object(re.__)("design","coblocks"),Object(re.__)("gutenberg","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m5.17346763.00163164 9.55661877-.00163126c1.8075616-.00030854 2.4639368.18821016 3.1264625.54230616.6625258.35409601 1.183646.8737945 1.5402492 1.53604705.3566032.66225256.5479761 1.31916921.5567132 3.13082116l.0461929 9.57824455c.0087371 1.811652-.1762994 2.4686329-.5265143 3.1310061s-.8663216 1.1822487-1.5254309 1.5365703c-.6591092.3543216-1.313665.5430641-3.1212266.5433727l-9.55661876.0016312c-1.80756159.0003086-2.46393681-.1882101-3.12646255-.5423061-.66252575-.354096-1.18364596-.8737945-1.54024916-1.5360471-.3566032-.6622525-.54797616-1.3191692-.5567132-3.1308212l-.04619294-9.57824454c-.00873705-1.81165196.17629938-2.46863286.52651432-3.13100606.35021493-.6623732.8663216-1.18224875 1.52543086-1.53657035s1.31366506-.54306407 3.12122666-.54337261zm-.72902319 3.33170169c-.61364972 0-1.11111111.49746139-1.11111111 1.11111111v11.11111116c0 .6136497.49746139 1.1111111 1.11111111 1.1111111h3.33333334c.61364972 0 1.11111111-.4974614 1.11111111-1.1111111v-11.11111116c0-.61364972-.49746139-1.11111111-1.11111111-1.11111111zm7.77777776 7.77777777c-.6136497 0-1.1111111.4974614-1.1111111 1.1111111v3.3333334c0 .6136497.4974614 1.1111111 1.1111111 1.1111111h3.3333334c.6136497 0 1.1111111-.4974614 1.1111111-1.1111111v-3.3333334c0-.6136497-.4974614-1.1111111-1.1111111-1.1111111zm0-7.77777777c-.6136497 0-1.1111111.49746139-1.1111111 1.11111111v3.33333334c0 .61364972.4974614 1.11111111 1.1111111 1.11111111h3.3333334c.6136497 0 1.1111111-.49746139 1.1111111-1.11111111v-3.33333334c0-.61364972-.4974614-1.11111111-1.1111111-1.11111111z",fillRule:"evenodd"}))},audiotrack:{label:Object(re.__)("Audio","coblocks"),keywords:[Object(re.__)("media","coblocks"),Object(re.__)("music","coblocks"),Object(re.__)("podcast","coblocks"),Object(re.__)("song","coblocks"),Object(re.__)("sound","coblocks"),Object(re.__)("tune","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0v11.7222222c-.65555556-.3777778-1.41111111-.6111111-2.22222222-.6111111-2.45555556 0-4.44444445 1.9888889-4.44444445 4.4444445 0 2.4555555 1.98888889 4.4444444 4.44444445 4.4444444 2.45555552 0 4.44444442-1.9888889 4.44444442-4.4444444v-11.11111116h4.4444445v-4.44444444z",transform:"translate(-3)"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0v11.7222222c-.65555556-.3777778-1.41111111-.6111111-2.22222222-.6111111-2.45555556 0-4.44444445 1.9888889-4.44444445 4.4444445 0 2.4555555 1.98888889 4.4444444 4.44444445 4.4444444 2.45555552 0 4.44444442-1.9888889 4.44444442-4.4444444v-11.11111116h4.4444445v-4.44444444zm-2.22222222 17.7777778c-1.22222222 0-2.22222222-1-2.22222222-2.2222222 0-1.2222223 1-2.2222223 2.22222222-2.2222223s2.22222222 1 2.22222222 2.2222223c0 1.2222222-1 2.2222222-2.22222222 2.2222222z",transform:"translate(-3)"}))},album:{label:Object(re.__)("Album","coblocks"),keywords:[Object(re.__)("audio","coblocks"),Object(re.__)("bullseye","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("music","coblocks"),Object(re.__)("song","coblocks"),Object(re.__)("target","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 14.5c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5zm0-5.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10.2895508.29378255c-5.52000002 0-10.00000002 4.48-10.00000002 10.00000005 0 5.52 4.48 10 10.00000002 10 5.52 0 10-4.48 10-10 0-5.52000005-4.48-10.00000005-10-10.00000005zm0 18.00000005c-4.41000002 0-8.00000002-3.59-8.00000002-8 0-4.41000005 3.59-8.00000005 8.00000002-8.00000005 4.41 0 8 3.59 8 8.00000005 0 4.41-3.59 8-8 8zm0-12.50000005c-2.49000002 0-4.50000002 2.01-4.50000002 4.50000005 0 2.49 2.01 4.5 4.50000002 4.5 2.49 0 4.5-2.01 4.5-4.5 0-2.49000005-2.01-4.50000005-4.5-4.50000005zm0 5.50000005c-.55000002 0-1.00000002-.45-1.00000002-1 0-.55000005.45-1.00000005 1.00000002-1.00000005.55 0 1 .45 1 1.00000005 0 .55-.45 1-1 1z",transform:"translate(-.289551 -.293783)"}))},headset:{label:Object(re.__)("Headset","coblocks"),keywords:[Object(re.__)("audio","coblocks"),Object(re.__)("headphones","coblocks"),Object(re.__)("music","coblocks"),Object(re.__)("song","coblocks"),Object(re.__)("sound","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10.0384629.01236979c-5.23157899 0-9.47368425 4.24210526-9.47368425 9.47368421v7.3684211c0 1.7473684 1.41052631 3.1578947 3.15789473 3.1578947h3.15789474v-8.4210526h-4.21052632v-2.1052632c0-4.07368421 3.29473685-7.36842105 7.3684211-7.36842105 4.0736842 0 7.368421 3.29473684 7.368421 7.36842105v2.1052632h-4.2105263v8.4210526h3.1578947c1.7473685 0 3.1578948-1.4105263 3.1578948-3.1578947v-7.3684211c0-5.23157895-4.2421053-9.47368421-9.4736842-9.47368421z",fillRule:"evenodd"}))},volume:{label:Object(re.__)("Volume","coblocks"),keywords:[Object(re.__)("audio","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("music","coblocks"),Object(re.__)("song","coblocks"),Object(re.__)("sound","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m0 6.66666667v6.66666663h4.44444444l5.55555556 5.5555556v-17.77777779l-5.55555556 5.55555556zm15 3.33333333c0-1.96666667-1.1333333-3.65555556-2.7777778-4.47777778v8.94444448c1.6444445-.8111111 2.7777778-2.5 2.7777778-4.4666667zm-2.7777778-9.74444444v2.28888888c3.2111111.95555556 5.5555556 3.93333334 5.5555556 7.45555556 0 3.5222222-2.3444445 6.5-5.5555556 7.4555556v2.2888888c4.4555556-1.0111111 7.7777778-4.9888888 7.7777778-9.7444444 0-4.75555556-3.3222222-8.73333333-7.7777778-9.74444444z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m.99267578 6.72328559v6.66666671h4.44444445l5.55555557 5.5555555v-17.77777777l-5.55555557 5.55555556zm7.77777778-.18888889v7.0444444l-2.41111111-2.4111111h-3.14444445v-2.22222219h3.14444445zm7.22222224 3.5222222c0-1.96666664-1.1333334-3.65555553-2.7777778-4.47777775v8.94444445c1.6444444-.8111111 2.7777778-2.5 2.7777778-4.4666667zm-2.7777778-9.74444442v2.28888889c3.2111111.95555555 5.5555556 3.93333333 5.5555556 7.45555553s-2.3444445 6.5-5.5555556 7.4555556v2.2888889c4.4555556-1.0111111 7.7777778-4.9888889 7.7777778-9.7444445 0-4.75555553-3.3222222-8.73333331-7.7777778-9.74444442z",transform:"translate(-1)"}))},keyboard_voice:{label:Object(re.__)("Microphone","coblocks"),keywords:[Object(re.__)("audio","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("music","coblocks"),Object(re.__)("podcast","coblocks"),Object(re.__)("song","coblocks"),Object(re.__)("voice","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"nonzero"},Object(ae.createElement)(ie.Path,{d:"m10 12.6315789c1.7473684 0 3.1473684-1.4105263 3.1473684-3.15789469l.0105263-6.31578947c0-1.74736842-1.4105263-3.15789474-3.1578947-3.15789474-1.74736842 0-3.15789474 1.41052632-3.15789474 3.15789474v6.31578947c0 1.74736839 1.41052632 3.15789469 3.15789474 3.15789469zm-1.26315789-9.57894732c0-.69473684.56842105-1.2631579 1.26315789-1.2631579.6947368 0 1.2631579.56842106 1.2631579 1.2631579l-.0105263 6.52631579c0 .69473683-.5578948 1.26315793-1.2526316 1.26315793-.69473684 0-1.26315789-.5684211-1.26315789-1.26315793zm6.84210529 6.42105263c0 3.15789469-2.6736842 5.36842109-5.5789474 5.36842109-2.90526316 0-5.57894737-2.2105264-5.57894737-5.36842109h-1.78947368c0 3.58947369 2.86315789 6.55789469 6.31578947 7.07368419v3.4526316h2.10526318v-3.4526316c3.4526316-.5052631 6.3157895-3.4736842 6.3157895-7.07368419z"}),Object(ae.createElement)(ie.Path,{d:"m10 12.6315789c1.7473684 0 3.1473684-1.4105263 3.1473684-3.15789469l.0105263-6.31578947c0-1.74736842-1.4105263-3.15789474-3.1578947-3.15789474-1.74736842 0-3.15789474 1.41052632-3.15789474 3.15789474v6.31578947c0 1.74736839 1.41052632 3.15789469 3.15789474 3.15789469zm5.5789474-3.15789469c0 3.15789469-2.6736842 5.36842109-5.5789474 5.36842109-2.90526316 0-5.57894737-2.2105264-5.57894737-5.36842109h-1.78947368c0 3.58947369 2.86315789 6.55789469 6.31578947 7.07368419v3.4526316h2.10526318v-3.4526316c3.4526316-.5052631 6.3157895-3.4736842 6.3157895-7.07368419z"}))),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 12.6315789c1.7473684 0 3.1473684-1.4105263 3.1473684-3.15789469l.0105263-6.31578947c0-1.74736842-1.4105263-3.15789474-3.1578947-3.15789474-1.74736842 0-3.15789474 1.41052632-3.15789474 3.15789474v6.31578947c0 1.74736839 1.41052632 3.15789469 3.15789474 3.15789469zm-1.26315789-9.57894732c0-.69473684.56842105-1.2631579 1.26315789-1.2631579.6947368 0 1.2631579.56842106 1.2631579 1.2631579l-.0105263 6.52631579c0 .69473683-.5578948 1.26315793-1.2526316 1.26315793-.69473684 0-1.26315789-.5684211-1.26315789-1.26315793zm6.84210529 6.42105263c0 3.15789469-2.6736842 5.36842109-5.5789474 5.36842109-2.90526316 0-5.57894737-2.2105264-5.57894737-5.36842109h-1.78947368c0 3.58947369 2.86315789 6.55789469 6.31578947 7.07368419v3.4526316h2.10526318v-3.4526316c3.4526316-.5052631 6.3157895-3.4736842 6.3157895-7.07368419z"}))},aperture:{label:Object(re.__)("Aperture","coblocks"),keywords:[Object(re.__)("camera","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("film","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("photo","coblocks"),Object(re.__)("photography","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m7.4 8.5 4.77-8.26c-.7-.15-1.42-.24-2.17-.24-2.4 0-4.6.85-6.32 2.25l3.66 6.35zm12.14-1.5c-.92-2.92-3.15-5.26-6-6.34l-3.66 6.34zm.26 1h-7.49l.29.5 4.76 8.25c1.64-1.78 2.64-4.14 2.64-6.75 0-.69-.07-1.35-.2-2zm-13.26 2-3.9-6.75c-1.63 1.78-2.64 4.14-2.64 6.75 0 .69.07 1.35.2 2h7.49zm-6.08 3c.92 2.92 3.15 5.26 6 6.34l3.66-6.34zm11.27 0-3.9 6.76c.7.15 1.42.24 2.17.24 2.4 0 4.6-.85 6.32-2.25l-3.66-6.35z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m12.25.26-.08-.04-.01.02c-.7-.15-1.42-.24-2.16-.24-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10c0-4.75-3.31-8.72-7.75-9.74zm5.16 6.74h-7.99l2.71-4.7c2.4.66 4.35 2.42 5.28 4.7zm-6.31-4.92-2.83 4.92-1.15 2-2.72-4.7c1.44-1.42 3.42-2.3 5.6-2.3.37 0 .74.03 1.1.08zm-7.4 3.01 2.84 4.91 1.15 2h-5.43c-.16-.64-.26-1.31-.26-2 0-1.85.64-3.55 1.7-4.91zm-1.11 7.91h7.98l-2.71 4.7c-2.4-.67-4.34-2.42-5.27-4.7zm6.31 4.91 3.99-6.91 2.72 4.7c-1.45 1.42-3.43 2.3-5.61 2.3-.38 0-.74-.04-1.1-.09zm7.4-3-4-6.91h5.43c.17.64.27 1.31.27 2 0 1.85-.64 3.55-1.7 4.91z"}))},camera:{label:Object(re.__)("Camera","coblocks"),keywords:[Object(re.__)("aperture","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("film","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("photography","coblocks"),Object(re.__)("photo","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m7 1-1.83 2h-3.17c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-12c0-1.1-.9-2-2-2h-3.17l-1.83-2zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18 3h-3.17l-1.83-2h-6l-1.83 2h-3.17c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-12c0-1.1-.9-2-2-2zm0 14h-16v-12h4.05l1.83-2h4.24l1.83 2h4.05zm-8-11c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z"}))},gallery:{label:Object(re.__)("Gallery","coblocks"),keywords:[Object(re.__)("aperture","coblocks"),Object(re.__)("camera","coblocks"),Object(re.__)("collection","coblocks"),Object(re.__)("image","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("photos","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m20 13.8587524v-11.87893062c0-1.08890198-.8909198-1.97982178-1.9798218-1.97982178h-11.87893064c-1.08890198 0-1.97982178.8909198-1.97982178 1.97982178v11.87893062c0 1.088902.8909198 1.9798218 1.97982178 1.9798218h11.87893064c1.088902 0 1.9798218-.8909198 1.9798218-1.9798218zm-10.88901978-3.95964351 2.00951908 2.68265851 2.9400354-3.6725694 3.9596435 4.9495544h-11.87893064zm-9.11098022-5.89910889v14.028125c0 1.088902.8909198 1.9798218 1.97982178 1.9798218l14.02017822-.0079468v-1.9798218l-14.02017822.0079468v-14.028125z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18 2v12h-12v-12zm0-2h-12c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-12c0-1.1-.9-2-2-2zm-8.5 9.67 1.69 2.26 2.48-3.1 3.33 4.17h-10zm-9.5-5.67v14c0 1.1.9 2 2 2h14v-2h-14v-14z"}))},video:{label:Object(re.__)("Video","coblocks"),keywords:[Object(re.__)("creative","coblocks"),Object(re.__)("director","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("producer","coblocks"),Object(re.__)("film","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m16 2 2 4h-3l-2-4h-2l2 4h-3l-2-4h-2l2 4h-3l-2-4h-1c-1.1 0-1.99.9-1.99 2l-.01 12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-14z"}),Object(ae.createElement)(ie.Path,{d:"m3.76 8h14.24v8h-16v-11.53zm16.24-6h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4h-2l2 4h-3l-2-4h-1c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2z",fillRule:"nonzero"}))),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m3.76 8h14.24v8h-16v-11.53zm16.24-6h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4h-2l2 4h-3l-2-4h-1c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2z"}))},film:{label:Object(re.__)("Film","coblocks"),keywords:[Object(re.__)("aperture","coblocks"),Object(re.__)("camera","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("director","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("photography","coblocks"),Object(re.__)("producer","coblocks"),Object(re.__)("video","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11.9047619 3.80952381c0-1.04761905-.8571429-1.90476191-1.9047619-1.90476191h-.95238095v-.95238095c0-.52380952-.42857143-.95238095-.95238095-.95238095h-3.80952381c-.52380953 0-.95238096.42857143-.95238096.95238095v.95238095h-.95238095c-1.04761905 0-1.9047619.85714286-1.9047619 1.90476191v14.28571429c0 1.047619.85714285 1.9047619 1.9047619 1.9047619h7.61904762c1.047619 0 1.9047619-.8571429 1.9047619-1.9047619h7.6190476v-14.28571429zm-1.9047619 12.38095239h-1.9047619v-1.9047619h1.9047619zm0-8.57142858h-1.9047619v-1.90476191h1.9047619zm3.8095238 8.57142858h-1.9047619v-1.9047619h1.9047619zm0-8.57142858h-1.9047619v-1.90476191h1.9047619zm3.8095238 8.57142858h-1.9047619v-1.9047619h1.9047619zm0-8.57142858h-1.9047619v-1.90476191h1.9047619z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11.9047619 3.80952381c0-1.04761905-.8571429-1.90476191-1.9047619-1.90476191h-.95238095v-.95238095c0-.52380952-.42857143-.95238095-.95238095-.95238095h-3.80952381c-.52380953 0-.95238096.42857143-.95238096.95238095v.95238095h-.95238095c-1.04761905 0-1.9047619.85714286-1.9047619 1.90476191v14.28571429c0 1.047619.85714285 1.9047619 1.9047619 1.9047619h7.61904762c1.047619 0 1.9047619-.8571429 1.9047619-1.9047619h7.6190476v-14.28571429zm5.7142857 12.38095239h-7.6190476v1.9047619h-7.61904762v-14.28571429h2.85714286v-1.90476191h1.9047619v1.90476191h2.85714286v1.9047619h7.6190476zm-10.47619046-2.8571429h1.90476191v1.9047619h-1.90476191zm0-6.66666663h1.90476191v1.9047619h-1.90476191zm3.80952386 6.66666663h1.9047619v1.9047619h-1.9047619zm0-6.66666663h1.9047619v1.9047619h-1.9047619zm3.8095238 6.66666663h1.9047619v1.9047619h-1.9047619zm0-6.66666663h1.9047619v1.9047619h-1.9047619z"}))},color_lens:{label:Object(re.__)("Color Palette","coblocks"),keywords:[Object(re.__)("artist","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("design","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("paint","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c-5.52222222 0-10 4.47777778-10 10 0 5.5222222 4.47777778 10 10 10 .9222222 0 1.6666667-.7444444 1.6666667-1.6666667 0-.4333333-.1666667-.8222222-.4333334-1.1222222-.2555555-.2888889-.4222222-.6777778-.4222222-1.1 0-.9222222.7444445-1.6666667 1.6666667-1.6666667h1.9666666c3.0666667 0 5.5555556-2.4888888 5.5555556-5.55555551 0-4.91111111-4.4777778-8.88888889-10-8.88888889zm-6.11111111 10c-.92222222 0-1.66666667-.74444444-1.66666667-1.66666667 0-.92222222.74444445-1.66666666 1.66666667-1.66666666s1.66666667.74444444 1.66666667 1.66666666c0 .92222223-.74444445 1.66666667-1.66666667 1.66666667zm3.33333333-4.44444444c-.92222222 0-1.66666666-.74444445-1.66666666-1.66666667s.74444444-1.66666667 1.66666666-1.66666667 1.66666667.74444445 1.66666667 1.66666667-.74444445 1.66666667-1.66666667 1.66666667zm5.55555558 0c-.9222222 0-1.6666667-.74444445-1.6666667-1.66666667s.7444445-1.66666667 1.6666667-1.66666667 1.6666666.74444445 1.6666666 1.66666667-.7444444 1.66666667-1.6666666 1.66666667zm3.3333333 4.44444444c-.9222222 0-1.6666667-.74444444-1.6666667-1.66666667 0-.92222222.7444445-1.66666666 1.6666667-1.66666666s1.6666667.74444444 1.6666667 1.66666666c0 .92222223-.7444445 1.66666667-1.6666667 1.66666667z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m10 20c-5.51 0-10-4.49-10-10s4.49-10 10-10 10 4.04 10 9c0 3.31-2.69 6-6 6h-1.77c-.28 0-.5.22-.5.5 0 .12.05.23.13.33.41.47.64 1.06.64 1.67 0 1.38-1.12 2.5-2.5 2.5zm0-18c-4.41 0-8 3.59-8 8s3.59 8 8 8c.28 0 .5-.22.5-.5 0-.16-.08-.28-.14-.35-.41-.46-.63-1.05-.63-1.65 0-1.38 1.12-2.5 2.5-2.5h1.77c2.21 0 4-1.79 4-4 0-3.86-3.59-7-8-7z",fillRule:"nonzero"}),Object(ae.createElement)("circle",{cx:"4.5",cy:"9.5",r:"1.5"}),Object(ae.createElement)("circle",{cx:"7.5",cy:"5.5",r:"1.5"}),Object(ae.createElement)("circle",{cx:"12.5",cy:"5.5",r:"1.5"}),Object(ae.createElement)("circle",{cx:"15.5",cy:"9.5",r:"1.5"})))},color_picker:{label:Object(re.__)("Color Picker","coblocks"),keywords:[Object(re.__)("artist","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("design","coblocks"),Object(re.__)("eye dropper","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("paint","coblocks"),Object(re.__)("palette","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m19.6750451 2.92459381-2.5996389-2.59963894c-.4332732-.43327316-1.133176-.43327316-1.5664491 0l-3.4661853 3.46618525-2.14414661-2.12192751-1.5664491 1.5664491 1.57755867 1.57755868-9.90973476 9.90973471v5.2770449h5.27704485l9.90973475-9.9097348 1.5775587 1.5775587 1.5664491-1.5664491-2.1330371-2.13303707 3.4661853-3.46618525c.4443827-.44438273.4443827-1.14428552.0111095-1.57755867zm-15.3200944 14.85349259-2.13303708-2.1330371 8.95431188-8.9543119 2.1330371 2.13303708z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m16.2866269 2.68018331 1.0220802 1.02208026-2.9884738 2.98847383-1.0220803-1.02208027zm.0111095-2.67740592c-.2888487 0-.5665879.11109568-.7887793.32217748l-3.4661853 3.46618525-2.14414661-2.12192751-1.5664491 1.5664491 1.57755867 1.57755868-9.90973476 9.90973471v5.2770449h5.27704485l9.90973475-9.9097348 1.5775587 1.5775587 1.5664491-1.5664491-2.1330371-2.13303707 3.4661853-3.46618525c.4443827-.44438273.4443827-1.14428552.0111095-1.57755867l-2.5996389-2.59963894c-.2221914-.2110818-.4999306-.32217748-.7776698-.32217748zm-11.9427857 17.77530901-2.13303708-2.1330371 8.95431188-8.9543119 2.1330371 2.13303708z"}))},paint:{label:Object(re.__)("Paint","coblocks"),keywords:[Object(re.__)("artist","coblocks"),Object(re.__)("brush","coblocks"),Object(re.__)("colors","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("design","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("palette","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m14.4389323 2.01845703v-.99840495c0-.54912272-.4492822-.99840494-.998405-.99840494h-11.98085933c-.54912272 0-.99840495.44928222-.99840495.99840494v3.99361979c0 .54912273.44928223.99840495.99840495.99840495h11.98085933c.5491228 0 .998405-.44928222.998405-.99840495v-.99840494h.9984049v3.99361979h-9.98404944v10.98245438c0 .5491228.44928223.998405.99840495.998405h1.99680989c.54912273 0 .99840495-.4492822.99840495-.998405v-8.9856445h7.98723955v-7.98723957z",transform:"translate(1)"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m14.4389323 2.01845703v-.99840495c0-.54912272-.4492822-.99840494-.998405-.99840494h-11.98085933c-.54912272 0-.99840495.44928222-.99840495.99840494v3.99361979c0 .54912273.44928223.99840495.99840495.99840495h11.98085933c.5491228 0 .998405-.44928222.998405-.99840495v-.99840494h.9984049v3.99361979h-9.98404944v10.98245438c0 .5491228.44928223.998405.99840495.998405h1.99680989c.54912273 0 .99840495-.4492822.99840495-.998405v-8.9856445h7.98723955v-7.98723957zm-1.9968099 1.9968099h-9.98404948v-1.9968099h9.98404948z",transform:"translate(1)"}))},brush:{label:Object(re.__)("Brush","coblocks"),keywords:[Object(re.__)("artist","coblocks"),Object(re.__)("colors","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("design","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("paint","coblocks"),Object(re.__)("paintbrush","coblocks"),Object(re.__)("palette","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17.5215122.06508061c-.2732809 0-.5360511.10510805-.7462672.30481335l-9.41768139 9.41768143 2.89047139 2.89047141 9.4176815-9.41768142c.4099214-.4099214.4099214-1.07210213 0-1.48202353l-1.4084479-1.40844789c-.2102161-.2102161-.4729863-.30481335-.7357564-.30481335zm-12.26610962 11.56188569c-1.74479366 0-3.15324155 1.4084479-3.15324155 3.1532415 0 1.3769155-1.2192534 2.1021611-2.10216103 2.1021611.96699408 1.2823182 2.61719049 2.102161 4.20432206 2.102161 2.32288795 0 4.20432207-1.8814341 4.20432207-4.2043221 0-1.7447936-1.40844789-3.1532415-3.15324155-3.1532415z",transform:"translate(0 .5)"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m5.25540258 13.7291273c.57809428 0 1.05108052.4729863 1.05108052 1.0510805 0 1.1561886-.94597247 2.1021611-2.10216104 2.1021611-.17868368 0-.34685657-.0210216-.52554025-.0525541.32583496-.5780942.52554025-1.2718074.52554025-2.049607 0-.5780942.47298624-1.0510805 1.05108052-1.0510805zm12.26610962-13.66404669c-.2732809 0-.5360511.10510805-.7462672.30481335l-9.41768139 9.41768143 2.89047139 2.89047141 9.4176815-9.41768142c.4099214-.4099214.4099214-1.07210213 0-1.48202353l-1.4084479-1.40844789c-.2102161-.2102161-.4729863-.30481335-.7357564-.30481335zm-12.26610962 11.56188569c-1.74479366 0-3.15324155 1.4084479-3.15324155 3.1532415 0 1.3769155-1.2192534 2.1021611-2.10216103 2.1021611.96699408 1.2823182 2.61719049 2.102161 4.20432206 2.102161 2.32288795 0 4.20432207-1.8814341 4.20432207-4.2043221 0-1.7447936-1.40844789-3.1532415-3.15324155-3.1532415z",transform:"translate(0 .5)"}))},circle_add:{label:Object(re.__)("Add Circle","coblocks"),keywords:[Object(re.__)("add","coblocks"),Object(re.__)("circle","coblocks"),Object(re.__)("insert","coblocks"),Object(re.__)("math","coblocks"),Object(re.__)("plus","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm5 11h-4v4h-2v-4h-4v-2h4v-4h2v4h4z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11 5h-2v4h-4v2h4v4h2v-4h4v-2h-4zm-1-5c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}))},circle_remove:{label:Object(re.__)("Subtract Circle","coblocks"),keywords:[Object(re.__)("add","coblocks"),Object(re.__)("circle","coblocks"),Object(re.__)("insert","coblocks"),Object(re.__)("math","coblocks"),Object(re.__)("minus","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm5 11h-10v-2h10z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m5 9v2h10v-2zm5-9c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}))},data_usage:{label:Object(re.__)("Pie Chart","coblocks"),keywords:[Object(re.__)("analytics","coblocks"),Object(re.__)("circle","coblocks"),Object(re.__)("data","coblocks"),Object(re.__)("graph","coblocks"),Object(re.__)("stats","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11 0v3.03759398c3.39.49122808 6 3.39849625 6 6.93734336 0 .90225566-.18 1.75438596-.48 2.54636596l2.6 1.5338345c.56-1.2431077.88-2.6265664.88-4.08020046 0-5.19298245-3.95-9.47368421-9-9.97493734zm-1 16.9924812c-3.87 0-7-3.1378446-7-7.01754386 0-3.53884711 2.61-6.44611528 6-6.93734336v-3.03759398c-5.06.50125313-9 4.77192982-9 9.97493734 0 5.53383456 4.47 10.02506266 9.99 10.02506266 3.31 0 6.24-1.6140351 8.06-4.1002506l-2.6-1.5338346c-1.28 1.60401-3.24 2.6265664-5.45 2.6265664z"}))},scatter_plot:{label:Object(re.__)("Scatter Plot","coblocks"),keywords:[Object(re.__)("analytics","coblocks"),Object(re.__)("chart","coblocks"),Object(re.__)("circle","coblocks"),Object(re.__)("data","coblocks"),Object(re.__)("dots","coblocks"),Object(re.__)("graph","coblocks"),Object(re.__)("random","coblocks"),Object(re.__)("stats","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m4.08163265 16.3265306c-2.25510204 0-4.08163265-1.8265306-4.08163265-4.0816326 0-2.25510208 1.82653061-4.08163269 4.08163265-4.08163269s4.08163266 1.82653061 4.08163266 4.08163269c0 2.255102-1.82653062 4.0816326-4.08163266 4.0816326zm7.08163265-8.16326529c-2.25510203 0-4.08163265-1.82653062-4.08163265-4.08163266s1.82653062-4.08163265 4.08163265-4.08163265c2.255102 0 4.0816327 1.82653061 4.0816327 4.08163265s-1.8265307 4.08163266-4.0816327 4.08163266zm4.7142857 11.83673469c-2.255102 0-4.0816326-1.8265306-4.0816326-4.0816327 0-2.255102 1.8265306-4.0816326 4.0816326-4.0816326 2.2551021 0 4.0816327 1.8265306 4.0816327 4.0816326 0 2.2551021-1.8265306 4.0816327-4.0816327 4.0816327z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m4.08163265 16.3265306c-2.25510204 0-4.08163265-1.8265306-4.08163265-4.0816326 0-2.25510208 1.82653061-4.08163269 4.08163265-4.08163269s4.08163266 1.82653061 4.08163266 4.08163269c0 2.255102-1.82653062 4.0816326-4.08163266 4.0816326zm0-6.122449c-1.12244898 0-2.04081632.9183674-2.04081632 2.0408164 0 1.1224489.91836734 2.0408163 2.04081632 2.0408163s2.04081633-.9183674 2.04081633-2.0408163c0-1.122449-.91836735-2.0408164-2.04081633-2.0408164zm7.08163265-2.04081629c-2.25510203 0-4.08163265-1.82653062-4.08163265-4.08163266s1.82653062-4.08163265 4.08163265-4.08163265c2.255102 0 4.0816327 1.82653061 4.0816327 4.08163265s-1.8265307 4.08163266-4.0816327 4.08163266zm0-6.12244898c-1.122449 0-2.04081632.91836734-2.04081632 2.04081632s.91836732 2.04081633 2.04081632 2.04081633 2.0408163-.91836735 2.0408163-2.04081633-.9183673-2.04081632-2.0408163-2.04081632zm4.7142857 17.95918367c-2.255102 0-4.0816326-1.8265306-4.0816326-4.0816327 0-2.255102 1.8265306-4.0816326 4.0816326-4.0816326 2.2551021 0 4.0816327 1.8265306 4.0816327 4.0816326 0 2.2551021-1.8265306 4.0816327-4.0816327 4.0816327zm0-6.122449c-1.122449 0-2.0408163.9183674-2.0408163 2.0408163 0 1.122449.9183673 2.0408164 2.0408163 2.0408164s2.0408163-.9183674 2.0408163-2.0408164c0-1.1224489-.9183673-2.0408163-2.0408163-2.0408163z"}))},poll:{label:Object(re.__)("Poll","coblocks"),keywords:[Object(re.__)("analytics","coblocks"),Object(re.__)("chart","coblocks"),Object(re.__)("data","coblocks"),Object(re.__)("graph","coblocks"),Object(re.__)("square","coblocks"),Object(re.__)("stats","coblocks"),Object(re.__)("survey","coblocks"),Object(re.__)("vote","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18.5806749.77408854h-15.55555554c-1.22222222 0-2.22222222 1-2.22222222 2.22222222v15.55555554c0 1.2222222 1 2.2222222 2.22222222 2.2222222h15.55555554c1.2222222 0 2.2222222-1 2.2222222-2.2222222v-15.55555554c0-1.22222222-1-2.22222222-2.2222222-2.22222222zm-11.1111111 15.55555556h-2.22222222v-7.77777778h2.22222222zm4.4444444 0h-2.22222218v-11.11111111h2.22222218zm4.4444445 0h-2.2222222v-4.4444444h2.2222222z",transform:"translate(-.802897 -.774089)"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17.7777778 0h-15.55555558c-1.22222222 0-2.22222222 1-2.22222222 2.22222222v15.55555558c0 1.2222222 1 2.2222222 2.22222222 2.2222222h15.55555558c1.2222222 0 2.2222222-1 2.2222222-2.2222222v-15.55555558c0-1.22222222-1-2.22222222-2.2222222-2.22222222zm0 17.7777778h-15.55555558v-15.55555558h15.55555558zm-13.33333336-10.00000002h2.22222223v7.77777782h-2.22222223zm4.44444445-3.33333334h2.22222221v11.11111116h-2.22222221zm4.44444441 6.66666666h2.2222223v4.4444445h-2.2222223z"}))},emoticon:{label:Object(re.__)("Emoticon","coblocks"),keywords:[Object(re.__)("emotion","coblocks"),Object(re.__)("fun","coblocks"),Object(re.__)("happy","coblocks"),Object(re.__)("joy","coblocks"),Object(re.__)("smile","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9.99 0c5.53 0 10.01 4.48 10.01 10s-4.48 10-10.01 10c-5.52 0-9.99-4.48-9.99-10s4.47-10 9.99-10zm3.51 9c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5h-10.22c.8 2.04 2.78 3.5 5.11 3.5z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9.99 0c-5.52 0-9.99 4.48-9.99 10s4.47 10 9.99 10c5.53 0 10.01-4.48 10.01-10s-4.48-10-10.01-10zm.01 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5h-10.22c.8 2.04 2.78 3.5 5.11 3.5z"}))},functions:{label:Object(re.__)("Sigma","coblocks"),keywords:[Object(re.__)("code","coblocks"),Object(re.__)("function","coblocks"),Object(re.__)("greek","coblocks"),Object(re.__)("math","coblocks"),Object(re.__)("sum","coblocks"),Object(re.__)("total","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17.9645996 0h-15.99999999v2.5l8.12499999 7.5-8.12499999 7.5v2.5h15.99999999v-3.75h-9.74999999l6.24999999-6.25-6.24999999-6.25h9.74999999z",fillRule:"evenodd"}))},gesture:{label:Object(re.__)("Doodle","coblocks"),keywords:[Object(re.__)("art","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("drawing","coblocks"),Object(re.__)("font","coblocks"),Object(re.__)("marker","coblocks"),Object(re.__)("pencil","coblocks"),Object(re.__)("typography","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m1.92731278 4.32703003c.77092511-.7897664 1.54185022-1.50166852 1.88325991-1.3570634.55066079.22246941 0 1.14571746-.33039648 1.69076752-.2753304.46718576-3.14977973 4.32703003-3.14977973 7.01890985 0 1.4238043.52863436 2.6028922 1.47577092 3.3147943.82599119.6229143 1.91629956.8120133 2.90748899.5116796 1.17841409-.3448276 2.14757709-1.5572859 3.37004405-3.0812013 1.33259912-1.6573971 3.11674006-3.82647389 4.49339206-3.82647389 1.7951542 0 1.8171806 1.12347053 1.938326 1.99110119-4.1629956.7119022-5.92511013 4.0823137-5.92511013 5.9733037s1.58590313 3.4371524 3.53524233 3.4371524c1.7951541 0 4.7246696-1.4794216 5.1651982-6.785317h2.7092511v-2.7808676h-2.7202643c-.1651983-1.83537269-1.2004405-4.67185767-4.438326-4.67185767-2.4779736 0-4.60352424 2.12458287-5.44052864 3.15906563-.63876652.81201335-2.26872247 2.75862064-2.52202643 3.02558394-.2753304.3337042-.74889868.9343716-1.22246696.9343716-.49559472 0-.79295155-.9232481-.39647578-2.1357064.38546256-1.21245826 1.54185022-3.18131254 2.03744494-3.9154616.85903084-1.26807564 1.43171806-2.13570634 1.43171806-3.64849833 0-2.4137931-1.8061674-3.18131257-2.76431718-3.18131257-1.45374449 0-2.72026432 1.11234705-2.99559471 1.39043382-.39647577.40044493-.72687225.73414905-.969163 1.03448275zm10.23127752 12.96996667c-.3414097 0-.814978-.2892103-.814978-.8008899 0-.6674082.8039648-2.4471635 3.160793-3.0700779-.3303965 2.9922136-1.5748899 3.8709678-2.345815 3.8709678z"}))},font:{label:Object(re.__)("Font","coblocks"),keywords:[Object(re.__)("alphabet","coblocks"),Object(re.__)("square","coblocks"),Object(re.__)("text","coblocks"),Object(re.__)("typography","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m7.93 11.5h4.14l-2.07-5.52zm10.07-11.5h-16c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-16c0-1.1-.9-2-2-2zm-4.05 16.5-1.14-3h-5.64l-1.12 3h-2.09l5.11-13h1.86l5.11 13z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m7.17 13.5h5.64l1.14 3h2.09l-5.11-13h-1.86l-5.11 13h2.09zm2.83-7.52 2.07 5.52h-4.14zm8-5.98h-16c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-16c0-1.1-.9-2-2-2zm0 18h-16v-16h16z"}))},heart:{label:Object(re.__)("Heart","coblocks"),keywords:[Object(re.__)("kiss","coblocks"),Object(re.__)("love","coblocks"),Object(re.__)("shape","coblocks"),Object(re.__)("valentine","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 20-1.45-1.4386921c-5.15-5.0899183-8.55-8.4468665-8.55-12.56675749 0-3.35694823 2.42-5.99455041 5.5-5.99455041 1.74 0 3.41.88283379 4.5 2.27792916 1.09-1.39509537 2.76-2.27792916 4.5-2.27792916 3.08 0 5.5 2.63760218 5.5 5.99455041 0 4.11989099-3.4 7.47683919-8.55 12.57765669",fillRule:"evenodd"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m14.5 0c-1.74 0-3.41.88283379-4.5 2.27792916-1.09-1.39509537-2.76-2.27792916-4.5-2.27792916-3.08 0-5.5 2.63760218-5.5 5.99455041 0 4.11989099 3.4 7.47683919 8.55 12.57765669l1.45 1.4277929 1.45-1.4386921c5.15-5.0899183 8.55-8.4468665 8.55-12.56675749 0-3.35694823-2.42-5.99455041-5.5-5.99455041zm-4.4 16.9482289-.1.1089918-.1-.1089918c-4.76-4.6975477-7.9-7.80381473-7.9-10.95367849 0-2.17983651 1.5-3.8147139 3.5-3.8147139 1.54 0 3.04 1.07901908 3.57 2.57220709h1.87c.52-1.49318801 2.02-2.57220709 3.56-2.57220709 2 0 3.5 1.63487739 3.5 3.8147139 0 3.14986376-3.14 6.25613079-7.9 10.95367849z"}))},star:{label:Object(re.__)("Star","coblocks"),keywords:[Object(re.__)("favorite","coblocks"),Object(re.__)("like","coblocks"),Object(re.__)("plus","coblocks"),Object(re.__)("rate","coblocks"),Object(re.__)("shape","coblocks"),Object(re.__)("vote","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10.0268555.55859375-2.81000003 6.63-7.19.61 5.46 4.72999995-1.64 7.03 6.18000003-3.73 6.18 3.73-1.64-7.03 5.46-4.72999995-7.19-.61z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10.0268555 5.68859375.97 2.29.47 1.11 1.2.1 2.47.21-1.88 1.62999995-.91.79.27 1.18.56 2.41-2.12-1.28-1.03-.64-1.03000003.62-2.12 1.28.56-2.41.27-1.18-.91-.79-1.88-1.62999995 2.47-.21 1.2-.1.47-1.11zm0-5.13-2.81000003 6.63-7.19.61 5.46 4.72999995-1.64 7.03 6.18000003-3.73 6.18 3.73-1.64-7.03 5.46-4.72999995-7.19-.61z"}))},desktop_mac:{label:Object(re.__)("Desktop","coblocks"),keywords:[Object(re.__)("computer","coblocks"),Object(re.__)("device","coblocks"),Object(re.__)("monitor","coblocks"),Object(re.__)("office","coblocks"),Object(re.__)("pc","coblocks"),Object(re.__)("screen","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18.1818182 0h-16.36363638c-1 0-1.81818182.81818182-1.81818182 1.81818182v12.90909088c0 1 .81818182 1.8181818 1.81818182 1.8181818h6.36363636l-1.81818182 2.7272728v.9090909h7.27272724v-.9090909l-1.8181818-2.7272728h6.3636364c1 0 1.8181818-.8181818 1.8181818-1.8181818v-12.90909088c0-1-.8181818-1.81818182-1.8181818-1.81818182z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18.1818182 0h-16.36363638c-1 0-1.81818182.81818182-1.81818182 1.81818182v12.90909088c0 1 .81818182 1.8181818 1.81818182 1.8181818h6.36363636l-1.81818182 2.7272728v.9090909h7.27272724v-.9090909l-1.8181818-2.7272728h6.3636364c1 0 1.8181818-.8181818 1.8181818-1.8181818v-12.90909088c0-1-.8181818-1.81818182-1.8181818-1.81818182zm0 12.9090909h-16.36363638v-11.09090908h16.36363638z"}))},devices:{label:Object(re.__)("Devices","coblocks"),keywords:[Object(re.__)("computer","coblocks"),Object(re.__)("ipad","coblocks"),Object(re.__)("office","coblocks"),Object(re.__)("pc","coblocks"),Object(re.__)("screen","coblocks"),Object(re.__)("surface","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)("g",{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h20v20h-20z"}),Object(ae.createElement)(ie.Path,{d:"m3.33333333 5h14.99999997v-1.66666667h-14.99999997c-.91666666 0-1.66666666.75-1.66666666 1.66666667v9.1666667h-1.66666667v2.5h11.6666667v-2.5h-8.33333337zm15.83333337 1.66666667h-5c-.4583334 0-.8333334.375-.8333334.83333333v8.3333333c0 .4583334.375.8333334.8333334.8333334h5c.4583333 0 .8333333-.375.8333333-.8333334v-8.3333333c0-.45833333-.375-.83333333-.8333333-.83333333zm-.8333334 7.50000003h-3.3333333v-5.83333337h3.3333333z",fill:"currentColor",fillRule:"nonzero"})))},laptop_mac:{label:Object(re.__)("Laptop","coblocks"),keywords:[Object(re.__)("computer","coblocks"),Object(re.__)("device","coblocks"),Object(re.__)("monitor","coblocks"),Object(re.__)("office","coblocks"),Object(re.__)("pc","coblocks"),Object(re.__)("screen","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m16.6666667 15c.9166666 0 1.6583333-.75 1.6583333-1.6666667l.0083333-9.16666663c0-.91666667-.75-1.66666667-1.6666666-1.66666667h-13.33333337c-.91666666 0-1.66666666.75-1.66666666 1.66666667v9.16666663c0 .9166667.75 1.6666667 1.66666666 1.6666667h-3.33333333c0 .9166667.75 1.6666667 1.66666667 1.6666667h16.66666663c.9166667 0 1.6666667-.75 1.6666667-1.6666667zm-13.33333337-10.83333333h13.33333337v9.16666663h-13.33333337zm6.66666667 11.66666663c-.45833333 0-.83333333-.375-.83333333-.8333333s.375-.8333333.83333333-.8333333c.4583333 0 .8333333.375.8333333.8333333s-.375.8333333-.8333333.8333333z"}))},tablet_mac:{label:Object(re.__)("Tablet","coblocks"),keywords:[Object(re.__)("computer","coblocks"),Object(re.__)("device","coblocks"),Object(re.__)("ipad","coblocks"),Object(re.__)("monitor","coblocks"),Object(re.__)("office","coblocks"),Object(re.__)("pc","coblocks"),Object(re.__)("screen","coblocks"),Object(re.__)("surface","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m15.8333333 0h-11.66666663c-1.15 0-2.08333334.93333333-2.08333334 2.08333333v15.83333337c0 1.15.93333334 2.0833333 2.08333334 2.0833333h11.66666663c1.15 0 2.0833334-.9333333 2.0833334-2.0833333v-15.83333337c0-1.15-.9333334-2.08333333-2.0833334-2.08333333zm-5.8333333 19.1666667c-.69166667 0-1.25-.5583334-1.25-1.25 0-.6916667.55833333-1.25 1.25-1.25.6916667 0 1.25.5583333 1.25 1.25 0 .6916666-.5583333 1.25-1.25 1.25zm6.25-3.3333334h-12.5v-13.3333333h12.5z"}))},watch:{label:Object(re.__)("Watch","coblocks"),keywords:[Object(re.__)("clock","coblocks"),Object(re.__)("device","coblocks"),Object(re.__)("hour","coblocks"),Object(re.__)("time","coblocks"),Object(re.__)("wrist","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"nonzero"},Object(ae.createElement)(ie.Path,{d:"m16.6666667 10c0-2.11666667-.9916667-4.00833333-2.5333334-5.225l-.8-4.775h-6.66666663l-.79166667 4.775c-1.55 1.21666667-2.54166667 3.1-2.54166667 5.225s.99166667 4.0083333 2.54166667 5.225l.79166667 4.775h6.66666663l.8-4.775c1.5416667-1.2166667 2.5333334-3.1083333 2.5333334-5.225zm-11.6666667 0c0-2.75833333 2.24166667-5 5-5 2.7583333 0 5 2.24166667 5 5 0 2.7583333-2.2416667 5-5 5-2.75833333 0-5-2.2416667-5-5z"}),Object(ae.createElement)(ie.Path,{d:"m11.925 1.66666667.3416667 2.06666666c-.7083334-.25833333-1.4666667-.4-2.2666667-.4-.79166667 0-1.55833333.14166667-2.25833333.39166667l.34166666-2.05833333zm.3416667 14.60000003-.3416667 2.0666666h-3.84166667l-.34166666-2.0583333c.7.25 1.46666666.3916667 2.25833333.3916667.8 0 1.5583333-.1416667 2.2666667-.4zm1.0666666-16.2666667h-6.66666663l-.79166667 4.775c-1.55 1.21666667-2.54166667 3.1-2.54166667 5.225s.99166667 4.0083333 2.54166667 5.225l.79166667 4.775h6.66666663l.8-4.775c1.5416667-1.2166667 2.5333334-3.1083333 2.5333334-5.225 0-2.11666667-.9916667-4.00833333-2.5333334-5.225zm-3.3333333 15c-2.75833333 0-5-2.2416667-5-5 0-2.75833333 2.24166667-5 5-5 2.7583333 0 5 2.24166667 5 5 0 2.7583333-2.2416667 5-5 5z"}))),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11.925 1.66666667.3416667 2.06666666c-.7083334-.25833333-1.4666667-.4-2.2666667-.4-.79166667 0-1.55833333.14166667-2.25833333.39166667l.34166666-2.05833333zm.3416667 14.60000003-.3416667 2.0666666h-3.84166667l-.34166666-2.0583333c.7.25 1.46666666.3916667 2.25833333.3916667.8 0 1.5583333-.1416667 2.2666667-.4zm1.0666666-16.2666667h-6.66666663l-.79166667 4.775c-1.55 1.21666667-2.54166667 3.1-2.54166667 5.225s.99166667 4.0083333 2.54166667 5.225l.79166667 4.775h6.66666663l.8-4.775c1.5416667-1.2166667 2.5333334-3.1083333 2.5333334-5.225 0-2.11666667-.9916667-4.00833333-2.5333334-5.225zm-3.3333333 15c-2.75833333 0-5-2.2416667-5-5 0-2.75833333 2.24166667-5 5-5 2.7583333 0 5 2.24166667 5 5 0 2.7583333-2.2416667 5-5 5z"}))},keyboard:{label:Object(re.__)("Keyboard","coblocks"),keywords:[Object(re.__)("computer","coblocks"),Object(re.__)("desk","coblocks"),Object(re.__)("device","coblocks"),Object(re.__)("ipad","coblocks"),Object(re.__)("office","coblocks"),Object(re.__)("pc","coblocks"),Object(re.__)("surface","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18 0h-16c-1.1 0-1.99.9-1.99 2l-.01 10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-10c0-1.1-.9-2-2-2zm-9 3h2v2h-2zm0 3h2v2h-2zm-3-3h2v2h-2zm0 3h2v2h-2zm-1 2h-2v-2h2zm0-3h-2v-2h2zm9 7h-8v-2h8zm0-4h-2v-2h2zm0-3h-2v-2h2zm3 3h-2v-2h2zm0-3h-2v-2h2z",transform:"translate(0 3)"}))},device_hub:{label:Object(re.__)("Hub","coblocks"),keywords:[Object(re.__)("connect","coblocks"),Object(re.__)("device","coblocks"),Object(re.__)("share","coblocks"),Object(re.__)("social","coblocks"),Object(re.__)("usb","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m15.5555556 14.4444444-4.4444445-4.4444444v-3.53333333c1.2888889-.46666667 2.2222222-1.68888889 2.2222222-3.13333334 0-1.84444444-1.4888889-3.33333333-3.3333333-3.33333333-1.84444444 0-3.33333333 1.48888889-3.33333333 3.33333333 0 1.44444445.93333333 2.66666667 2.22222222 3.13333334v3.53333333l-4.44444445 4.4444444h-4.44444444v5.5555556h5.55555556v-3.3888889l4.44444444-4.6666667 4.4444444 4.6666667v3.3888889h5.5555556v-5.5555556z",fillRule:"evenodd"}))},drafts:{label:Object(re.__)("Email","coblocks"),keywords:[Object(re.__)("letter","coblocks"),Object(re.__)("mail","coblocks"),Object(re.__)("message","coblocks"),Object(re.__)("open","coblocks"),Object(re.__)("read","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m19.99 7c0-.72-.37-1.35-.94-1.7l-9.05-5.3-9.05 5.3c-.57.35-.95.98-.95 1.7v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2zm-9.99 5-8.26-5.16 8.26-4.84 8.26 4.84z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m19.99 7c0-.72-.37-1.35-.94-1.7l-9.05-5.3-9.05 5.3c-.57.35-.95.98-.95 1.7v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2zm-2 0v.01l-7.99 4.99-8-5 8-4.68zm-15.99 11v-8.66l8 5.02 7.99-4.99.01 8.63z"}))},email:{label:Object(re.__)("Mention","coblocks"),keywords:[Object(re.__)("at sign","coblocks"),Object(re.__)("email","coblocks"),Object(re.__)("letter","coblocks"),Object(re.__)("mail","coblocks"),Object(re.__)("message","coblocks"),Object(re.__)("symbol","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"}))},reply_all:{label:Object(re.__)("Reply","coblocks"),keywords:[Object(re.__)("arrows","coblocks"),Object(re.__)("back","coblocks"),Object(re.__)("comment","coblocks"),Object(re.__)("email","coblocks"),Object(re.__)("mail","coblocks"),Object(re.__)("message","coblocks"),Object(re.__)("respond","coblocks"),Object(re.__)("reverse","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m5.83333333 6.66666667v-2.5l-5.83333333 5.83333333 5.83333333 5.8333333v-2.5l-3.33333333-3.3333333zm4.99999997.83333333v-3.33333333l-5.8333333 5.83333333 5.8333333 5.8333333v-3.4166666c4.1666667 0 7.0833334 1.3333333 9.1666667 4.25-.8333333-4.1666667-3.3333333-8.33333337-9.1666667-9.1666667z"}))},send:{label:Object(re.__)("Send","coblocks"),keywords:[Object(re.__)("deliver","coblocks"),Object(re.__)("email","coblocks"),Object(re.__)("mail","coblocks"),Object(re.__)("message","coblocks"),Object(re.__)("paper airplane","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m.00952381 18.5714286 19.99047619-8.5714286-19.99047619-8.57142857-.00952381 6.66666667 14.2857143 1.9047619-14.2857143 1.9047619z"}),Object(ae.createElement)(ie.Path,{d:"m1.91428571 4.31428571 7.15238096 3.06666667-7.16190477-.95238095zm7.14285715 8.30476189-7.15238096 3.0666667v-2.1142857zm-9.04761905-11.19047617-.00952381 6.66666667 14.2857143 1.9047619-14.2857143 1.9047619.00952381 6.6666667 19.99047619-8.5714286z",fillRule:"nonzero"}))),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m1.91428571 4.31428571 7.15238096 3.06666667-7.16190477-.95238095zm7.14285715 8.30476189-7.15238096 3.0666667v-2.1142857zm-9.04761905-11.19047617-.00952381 6.66666667 14.2857143 1.9047619-14.2857143 1.9047619.00952381 6.6666667 19.99047619-8.5714286z"}))},signal:{label:Object(re.__)("Signal","coblocks"),keywords:[Object(re.__)("radar","coblocks"),Object(re.__)("radio","coblocks"),Object(re.__)("sonar","coblocks"),Object(re.__)("waves","coblocks"),Object(re.__)("wifi","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 8.675c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 2c0-3.31-2.69-6-6-6s-6 2.69-6 6c0 2.22 1.21 4.15 3 5.19l1-1.74c-1.19-.7-2-1.97-2-3.45 0-2.21 1.79-4 4-4s4 1.79 4 4c0 1.48-.81 2.75-2 3.45l1 1.74c1.79-1.04 3-2.97 3-5.19zm-6-10c-5.52 0-10 4.48-10 10 0 3.7 2.01 6.92 4.99 8.65l1-1.73c-2.38-1.39-3.99-3.96-3.99-6.92 0-4.42 3.58-8 8-8s8 3.58 8 8c0 2.96-1.61 5.53-4 6.92l1 1.73c2.99-1.73 5-4.95 5-8.65 0-5.52-4.48-10-10-10z"}))},blocks:{label:Object(re.__)("Blocks","coblocks"),keywords:[Object(re.__)("boxes","coblocks"),Object(re.__)("build","coblocks"),Object(re.__)("square","coblocks"),Object(re.__)("stack","coblocks"),Object(re.__)("widgets","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10.3519669 11.7141378v8.2858622h8.2815735v-8.2858622zm-10.3519669 8.2858622h8.2815735v-8.2858622h-8.2815735zm0-18.64319006v8.28586225h8.2815735v-8.28586225zm14.1407867-1.35680994-5.8592132 5.85189021 5.8592132 5.86224759 5.8592133-5.86224759z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m14.1407867 2.93112377 2.9296067 2.93112377-2.9296067 2.93112377-2.9296066-2.93112377zm-7.92960658.49715173v4.14293113h-4.14078675v-4.14293113zm10.35196688 10.3573278v4.1429311h-4.1407868v-4.1429311zm-10.35196688 0v4.1429311h-4.14078675v-4.1429311zm7.92960658-13.7856033-5.8592132 5.85189021 5.8592132 5.86224759 5.8592133-5.86224759zm-5.8592132 1.35680994h-8.2815735v8.28586225h8.2815735zm10.3519669 10.35732786h-8.2815735v8.2858622h8.2815735zm-10.3519669 0h-8.2815735v8.2858622h8.2815735z"}))},marker:{label:Object(re.__)("Marker","coblocks"),keywords:[Object(re.__)("check","coblocks"),Object(re.__)("directions","coblocks"),Object(re.__)("location","coblocks"),Object(re.__)("map","coblocks"),Object(re.__)("pin","coblocks"),Object(re.__)("verified","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c3.921743 0 7.114273 3.19253001 7.114273 7.11427301 0 4.95331259-6.1894175 11.86305029-6.4562027 12.15651399l-.6580703.729213-.65807025-.729213c-.26678524-.2934637-6.45620276-7.2032014-6.45620276-12.15651399 0-3.921743 3.19253001-7.11427301 7.11427301-7.11427301zm-1.36060471 9.04401956-1.56514007-1.5740329-1.26278345 1.26278346 2.82792352 2.82792348 5.34459761-5.34459756-1.2538906-1.26278346z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c-3.921743 0-7.11427301 3.19253001-7.11427301 7.11427301 0 4.95331259 6.18941752 11.86305029 6.45620276 12.15651399l.65807025.729213.6580703-.729213c.2667852-.2934637 6.4562027-7.2032014 6.4562027-12.15651399 0-3.921743-3.19253-7.11427301-7.114273-7.11427301zm0 17.3143619c-1.9386394-2.3210315-5.33570476-7.0520231-5.33570476-10.20008889 0-2.94353046 2.3921743-5.33570476 5.33570476-5.33570476 2.9435305 0 5.3357048 2.3921743 5.3357048 5.33570476 0 3.40595819-3.7794576 8.32369939-5.3357048 10.20008889zm-1.36060471-8.27034234-1.56514007-1.5740329-1.26278345 1.26278346 2.82792352 2.82792348 5.34459761-5.34459756-1.2538906-1.26278346z"}))},mountains:{label:Object(re.__)("Mountains","coblocks"),keywords:[Object(re.__)("backpacking","coblocks"),Object(re.__)("hills","coblocks"),Object(re.__)("hiking","coblocks"),Object(re.__)("landscape","coblocks"),Object(re.__)("outdoors","coblocks"),Object(re.__)("peaks","coblocks"),Object(re.__)("valley","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11.8181818 4.54545455-3.40909089 4.54545454 2.59090909 3.45454541-1.45454545 1.0909091c-1.53636364-2.0454545-4.0909091-5.45454542-4.0909091-5.45454542l-5.45454545 7.27272732h20z",fillRule:"evenodd"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11.8181818 4.54545455-3.83636362 5.11818181 1.13636364 1.51818184 2.69999998-3.60909093 4.5454546 6.06363633h-7.69090913l-3.64545454-4.88181815-5.02727273 6.70000005h20zm-8.18181816 9.09090905 1.38181818-1.8454545 1.38181818 1.8454545z"}))},waves:{label:Object(re.__)("Waves","coblocks"),keywords:[Object(re.__)("fun","coblocks"),Object(re.__)("ocean","coblocks"),Object(re.__)("outdoors","coblocks"),Object(re.__)("sea","coblocks"),Object(re.__)("summer","coblocks"),Object(re.__)("surf","coblocks"),Object(re.__)("water","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m15 16.6594678c-1.35 0-2.2.42-2.95.8-.65.33-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.38-1.57-.8-2.95-.8s-2.2.42-2.95.8c-.65.33-1.17.6-2.05.6v1.95c1.35 0 2.2-.42 2.95-.8.65-.33 1.17-.6 2.05-.6s1.4.25 2.05.6c.75.38 1.57.8 2.95.8s2.2-.42 2.95-.8c.65-.33 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8v-1.95c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8zm0-5.604419c-1.35 0-2.2.43-2.95.8-.65.32-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.38-1.57-.8-2.95-.8s-2.2.43-2.95.8c-.65.32-1.17.6-2.05.6v1.95c1.35 0 2.2-.43 2.95-.8.65-.35 1.15-.6 2.05-.6s1.4.25 2.05.6c.75.38 1.57.8 2.95.8s2.2-.43 2.95-.8c.65-.35 1.15-.6 2.05-.6s1.4.25 2.05.6c.75.38 1.58.8 2.95.8v-1.95c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8zm2.95-10.2550488c-.75-.38-1.58-.8-2.95-.8s-2.2.42-2.95.8c-.65.32-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.37-1.57-.8-2.95-.8s-2.2.42-2.95.8c-.65.33-1.17.6-2.05.6v1.93c1.35 0 2.2-.43 2.95-.8.65-.33 1.17-.6 2.05-.6s1.4.25 2.05.6c.75.38 1.57.8 2.95.8s2.2-.43 2.95-.8c.65-.32 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8v-1.95c-.9 0-1.4-.25-2.05-.58zm-2.95 4.65062988c-1.35 0-2.2.43-2.95.8-.65.35-1.15.6-2.05.6s-1.4-.25-2.05-.6c-.75-.38-1.57-.8-2.95-.8s-2.2.43-2.95.8c-.65.35-1.15.6-2.05.6v1.95c1.35 0 2.2-.43 2.95-.8.65-.32 1.18-.6 2.05-.6s1.4.25 2.05.6c.75.38 1.57.8 2.95.8s2.2-.43 2.95-.8c.65-.32 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8v-1.95c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8z"}))},globe:{label:Object(re.__)("Globe","coblocks"),keywords:[Object(re.__)("earth","coblocks"),Object(re.__)("global","coblocks"),Object(re.__)("location","coblocks"),Object(re.__)("map","coblocks"),Object(re.__)("public","coblocks"),Object(re.__)("world","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm-8 10c0-.61.08-1.21.21-1.78l4.78 4.78v1c0 1.1.9 2 2 2v1.93c-3.93-.5-6.99-3.86-6.99-7.93zm13.89 5.4c-.26-.81-1-1.4-1.9-1.4h-1v-3c0-.55-.45-1-1-1h-6v-2h2c.55 0 1-.45 1-1v-2h2c1.1 0 2-.9 2-2v-.41c2.93 1.18 5.01 4.06 5.01 7.41 0 2.08-.81 3.98-2.11 5.4z"}))},city:{label:Object(re.__)("City","coblocks"),keywords:[Object(re.__)("building","coblocks"),Object(re.__)("business","coblocks"),Object(re.__)("corporation","coblocks"),Object(re.__)("location","coblocks"),Object(re.__)("map","coblocks"),Object(re.__)("public","coblocks"),Object(re.__)("skyscraper","coblocks"),Object(re.__)("town","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m13.1578947 9.47368421v-6.31578947l-3.1578947-3.15789474-3.15789474 3.15789474v2.10526315h-6.31578947v14.73684211h18.94736841v-10.52631579zm-8.42105259 8.42105259h-2.10526316v-2.1052631h2.10526316zm0-4.2105263h-2.10526316v-2.1052631h2.10526316zm0-4.21052629h-2.10526316v-2.10526316h2.10526316zm6.31578949 8.42105259h-2.10526318v-2.1052631h2.10526318zm0-4.2105263h-2.10526318v-2.1052631h2.10526318zm0-4.21052629h-2.10526318v-2.10526316h2.10526318zm0-4.21052632h-2.10526318v-2.10526315h2.10526318zm6.3157895 12.63157891h-2.1052632v-2.1052631h2.1052632zm0-4.2105263h-2.1052632v-2.1052631h2.1052632z"}))},dining:{label:Object(re.__)("Dining","coblocks"),keywords:[Object(re.__)("cafe","coblocks"),Object(re.__)("cutlery","coblocks"),Object(re.__)("drink","coblocks"),Object(re.__)("eat","coblocks"),Object(re.__)("food","coblocks"),Object(re.__)("fork","coblocks"),Object(re.__)("menu","coblocks"),Object(re.__)("restaurant","coblocks"),Object(re.__)("spoon","coblocks"),Object(re.__)("taste","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m5.6064238 11.1802028 2.96010809-2.96010811-7.34274162-7.33228187c-1.63172036 1.63172036-1.63172036 4.27803607 0 5.92021617zm7.0917077-1.89321403c1.6003411.74264193 3.8491865.21965466 5.5122861-1.44344493 1.9978115-1.99781147 2.3848221-4.86378185.8472394-6.40136449-1.5271229-1.5271229-4.3930933-1.15057205-6.4013645.84723942-1.6630996 1.66309959-2.1860869 3.91194496-1.4434449 5.51228608l-10.20871199 10.20871195 1.47482417 1.4748242 7.20676492-7.1858454 7.1963052 7.1963052 1.4748241-1.4748242-7.1963051-7.1963052z"}))},couch:{label:Object(re.__)("Couch","coblocks"),keywords:[Object(re.__)("chair","coblocks"),Object(re.__)("chill","coblocks"),Object(re.__)("relax","coblocks"),Object(re.__)("rest","coblocks"),Object(re.__)("sleep","coblocks"),Object(re.__)("sofa","coblocks"),Object(re.__)("weekend","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18.1818182 7.87545455c-1.0045455 0-1.8181818.81363636-1.8181818 1.81818181v2.72727274h-12.72727276v-2.72727274c0-1.00454545-.81363637-1.81818181-1.81818182-1.81818181-1.00454546 0-1.81818182.81363636-1.81818182 1.81818181v5.14764964c0 1 .81818182 1.8181818 1.81818182 1.8181818h16.36363638c1 0 1.8181818-.8181818 1.8181818-1.8181818v-5.14764964c0-1.00454545-.8136364-1.81818181-1.8181818-1.81818181zm-2.7272727-4.54545455h-10.90909095c-1 0-1.81818182.81818182-1.81818182 1.81818182v1.95909091c1.05454545.37727272 1.81818182 1.37727272 1.81818182 2.55909091v1.84545456h10.90909095v-1.84545456c0-1.18181819.7636363-2.18181819 1.8181818-2.55909091v-1.95909091c0-1-.8181818-1.81818182-1.8181818-1.81818182z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17.5 7.5v-1.66666667c0-1.375-1.125-2.5-2.5-2.5h-10c-1.375 0-2.5 1.125-2.5 2.5v1.66666667c-1.375 0-2.5 1.125-2.5 2.5v4.1666667c0 1.375 1.125 2.5 2.5 2.5h15c1.375 0 2.5-1.125 2.5-2.5v-4.1666667c0-1.375-1.125-2.5-2.5-2.5zm-13.33333333-1.66666667c0-.45833333.375-.83333333.83333333-.83333333h10c.4583333 0 .8333333.375.8333333.83333333v2.31666667c-.5083333.45833333-.8333333 1.11666667-.8333333 1.85v1.6666667h-10v-1.6666667c0-.73333333-.325-1.39166667-.83333333-1.85zm14.16666663 8.33333337c0 .4583333-.375.8333333-.8333333.8333333h-15c-.45833333 0-.83333333-.375-.83333333-.8333333v-4.1666667c0-.45833333.375-.83333333.83333333-.83333333s.83333333.375.83333333.83333333v3.3333333h13.33333337v-3.3333333c0-.45833333.375-.83333333.8333333-.83333333s.8333333.375.8333333.83333333z"}))},cake:{label:Object(re.__)("Cake","coblocks"),keywords:[Object(re.__)("baking","coblocks"),Object(re.__)("birthday","coblocks"),Object(re.__)("celebration","coblocks"),Object(re.__)("food","coblocks"),Object(re.__)("fun","coblocks"),Object(re.__)("party","coblocks"),Object(re.__)("taste","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 5.45454545c1.0090909 0 1.8181818-.81818181 1.8181818-1.81818181 0-.34545455-.0909091-.66363637-.2636363-.93636364l-1.5545455-2.7-1.55454545 2.7c-.17272728.27272727-.26363637.59090909-.26363637.93636364 0 1 .81818182 1.81818181 1.81818182 1.81818181zm4.1818182 9.08181815-.9727273-.9727272-.9818182.9727272c-1.1818182 1.1818182-3.25454543 1.1909091-4.44545452 0l-.97272727-.9727272-.99090909.9727272c-.59090909.5909091-1.38181818.9181819-2.21818182.9181819-.66363636 0-1.27272727-.209091-1.78181818-.5545455v4.1909091c0 .5.40909091.9090909.90909091.9090909h14.54545457c.5 0 .9090909-.4090909.9090909-.9090909v-4.1909091c-.5090909.3454545-1.1181818.5545455-1.7818182.5545455-.8363636 0-1.6272727-.3272728-2.2181818-.9181819zm1.2727273-6.35454542h-4.5454546v-1.81818182h-1.81818181v1.81818182h-4.54545454c-1.50909091 0-2.72727273 1.21818182-2.72727273 2.72727272v1.4c0 .9818182.8 1.7818182 1.78181818 1.7818182.47272727 0 .92727273-.1818182 1.25454545-.5181818l1.94545455-1.9363637 1.93636364 1.9363637c.67272727.6727272 1.84545456.6727272 2.51818186 0l1.9454545-1.9363637 1.9363636 1.9363637c.3363637.3363636.7818182.5181818 1.2545455.5181818.9818182 0 1.7818182-.8 1.7818182-1.7818182v-1.4c.0090909-1.5090909-1.2090909-2.72727272-2.7181818-2.72727272z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 5.45454545c1.0090909 0 1.8181818-.81818181 1.8181818-1.81818181 0-.34545455-.0909091-.66363637-.2636363-.93636364l-1.5545455-2.7-1.55454545 2.7c-.17272728.27272727-.26363637.59090909-.26363637.93636364 0 1 .81818182 1.81818181 1.81818182 1.81818181zm4.1818182 9.08181815-.9727273-.9727272-.9818182.9727272c-1.1818182 1.1818182-3.25454543 1.1909091-4.44545452 0l-.97272727-.9727272-.99090909.9727272c-.59090909.5909091-1.38181818.9181819-2.21818182.9181819-.66363636 0-1.27272727-.209091-1.78181818-.5545455v4.1909091c0 .5.40909091.9090909.90909091.9090909h14.54545457c.5 0 .9090909-.4090909.9090909-.9090909v-4.1909091c-.5090909.3454545-1.1181818.5545455-1.7818182.5545455-.8363636 0-1.6272727-.3272728-2.2181818-.9181819zm1.2727273-6.35454542h-4.5454546v-1.81818182h-1.81818181v1.81818182h-4.54545454c-1.50909091 0-2.72727273 1.21818182-2.72727273 2.72727272v1.4c0 .9818182.8 1.7818182 1.78181818 1.7818182.47272727 0 .92727273-.1818182 1.25454545-.5181818l1.94545455-1.9363637 1.93636364 1.9363637c.67272727.6727272 1.84545456.6727272 2.51818186 0l1.9454545-1.9363637 1.9363636 1.9363637c.3363637.3363636.7818182.5181818 1.2545455.5181818.9818182 0 1.7818182-.8 1.7818182-1.7818182v-1.4c.0090909-1.5090909-1.2090909-2.72727272-2.7181818-2.72727272z"}))},flower:{label:Object(re.__)("Flower","coblocks"),keywords:[Object(re.__)("garden","coblocks"),Object(re.__)("landscape","coblocks"),Object(re.__)("outdoors","coblocks"),Object(re.__)("petal","coblocks"),Object(re.__)("scent","coblocks"),Object(re.__)("smell","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 20c4.7333333 0 8.5714286-3.8380952 8.5714286-8.5714286-4.7333334 0-8.5714286 3.8380953-8.5714286 8.5714286zm-6.0952381-11.19047619c0 1.31428569 1.06666667 2.38095239 2.38095239 2.38095239.5047619 0 .96190476-.152381 1.35238095-.4190476l-.01904762.1809524c0 1.3142857 1.06666667 2.3809523 2.38095238 2.3809523 1.3142857 0 2.3809524-1.0666666 2.3809524-2.3809523l-.0190476-.1809524c.3809523.2666666.847619.4190476 1.3523809.4190476 1.3142857 0 2.3809524-1.0666667 2.3809524-2.38095239 0-.95238095-.5619048-1.76190476-1.3619048-2.14285714.8-.38095238 1.3619048-1.19047619 1.3619048-2.14285715 0-1.31428571-1.0666667-2.38095238-2.3809524-2.38095238-.5047619 0-.9619047.15238096-1.3523809.41904762l.0190476-.18095238c0-1.31428571-1.0666667-2.38095238-2.3809524-2.38095238-1.31428571 0-2.38095238 1.06666667-2.38095238 2.38095238l.01904762.18095238c-.38095238-.26666666-.84761905-.41904762-1.35238095-.41904762-1.31428572 0-2.38095239 1.06666667-2.38095239 2.38095238 0 .95238096.56190477 1.76190477 1.36190477 2.14285715-.8.38095238-1.36190477 1.19047619-1.36190477 2.14285714zm6.0952381-4.52380952c1.3142857 0 2.3809524 1.06666666 2.3809524 2.38095238 0 1.31428571-1.0666667 2.38095238-2.3809524 2.38095238-1.31428571 0-2.38095238-1.06666667-2.38095238-2.38095238 0-1.31428572 1.06666667-2.38095238 2.38095238-2.38095238zm-8.57142857 7.14285711c0 4.7333334 3.83809524 8.5714286 8.57142857 8.5714286 0-4.7333333-3.83809524-8.5714286-8.57142857-8.5714286z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m6.81904762 11.4952381c.14285714 0 .27619048-.0095238.40952381-.0285714.44761905 1.0952381 1.52380952 1.8666666 2.77142857 1.8666666 1.247619 0 2.3238095-.7714285 2.7714286-1.8666666.1333333.0190476.2761904.0285714.4095238.0285714 1.647619 0 2.9904762-1.3428571 2.9904762-2.9904762 0-.67619047-.2380953-1.32380952-.6380953-1.83809523.4095238-.51428572.6380953-1.16190477.6380953-1.83809524 0-1.64761905-1.3428572-2.99047619-2.9904762-2.99047619-.1428572 0-.2761905.00952381-.4095238.02857143-.4476191-1.0952381-1.5238096-1.86666667-2.7714286-1.86666667-1.24761905 0-2.32380952.77142857-2.77142857 1.86666667-.13333333-.01904762-.27619048-.02857143-.40952381-.02857143-1.64761905 0-2.99047619 1.34285714-2.99047619 2.99047619 0 .67619047.23809524 1.32380952.63809524 1.83809524-.40952381.51428571-.64761905 1.16190476-.64761905 1.83809523 0 1.6476191 1.34285714 2.9904762 3 2.9904762zm3.18095238-.0666667c-.59047619 0-1.06666667-.4666666-1.08571429-1.047619l.11428572-1.03809526c.3047619.11428572.62857143.18095238.97142857.18095238.3428571 0 .6761905-.06666666.9809524-.18095238l.1047619 1.03809526c-.0190476.5809524-.4952381 1.047619-1.0857143 1.047619zm3.1809524-1.83809521c-.2285714 0-.4380953-.06666667-.6095238-.19047619l-.7714286-.54285714c.5238095-.42857143.8952381-1.03809524 1.0095238-1.74285715l.8380952.4c.3809524.18095239.6285715.56190477.6285715.98095239 0 .6095238-.4952381 1.09523809-1.0952381 1.09523809zm-.6190476-5.65714286c.1904762-.12380952.4-.19047619.6190476-.19047619.6 0 1.0857143.48571429 1.0857143 1.08571429 0 .41904762-.2380953.79047619-.6285715.98095238l-.8380952.4c-.1142857-.70476191-.4857143-1.31428571-1.0190476-1.74285714zm-2.5619048-2.02857143c.5904762 0 1.0666667.46666667 1.0857143 1.04761905l-.1047619 1.03809524c-.3047619-.11428571-.6380953-.18095238-.9809524-.18095238-.34285714 0-.66666667.06666667-.97142857.18095238l-.11428572-1.03809524c.01904762-.58095238.4952381-1.04761905 1.08571429-1.04761905zm-3.18095238 1.83809524c.22857143 0 .43809524.06666667.60952381.19047619l.77142857.53333334c-.52380952.42857143-.8952381 1.03809523-1.00952381 1.74285714l-.83809524-.4c-.38095238-.19047619-.62857143-.56190476-.62857143-.98095238 0-.6.4952381-1.08571429 1.0952381-1.08571429zm-.46666667 3.78095238.83809524-.4c.11428571.70476191.48571429 1.31428572 1.01904762 1.74285715l-.77142857.52380952c-.19047619.12380952-.4.19047619-.61904762.19047619-.6 0-1.08571429-.48571428-1.08571429-1.08571428-.00952381-.40952381.23809524-.78095239.61904762-.97142858zm3.64761905 12.47619048c4.7333333 0 8.5714286-3.8380952 8.5714286-8.5714286-4.7333334 0-8.5714286 3.8380953-8.5714286 8.5714286zm2.3238095-2.3238095c.6761905-1.8095238 2.1142857-3.2571429 3.9238095-3.9238095-.6761904 1.8095238-2.1142857 3.247619-3.9238095 3.9238095zm-10.89523807-6.2476191c0 4.7333334 3.83809524 8.5714286 8.57142857 8.5714286 0-4.7333333-3.83809524-8.5714286-8.57142857-8.5714286zm2.32380952 2.3238096c1.80952381.6761904 3.25714286 2.1142857 3.92380953 3.9238095-1.80952381-.6761905-3.24761905-2.1142857-3.92380953-3.9238095z"}))},vintage_filter:{label:Object(re.__)("Vintage Filter","coblocks"),keywords:[Object(re.__)("artist","coblocks"),Object(re.__)("camera","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("flower","coblocks"),Object(re.__)("photography","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m14.9874888 10.357462c-.2502234-.1429848-.5093833-.2591599-.7685433-.357462.25916-.09830206.5183199-.21447721.7685433-.35746202 1.7158177-.9919571 2.6720286-2.78820375 2.6809652-4.6380697-1.5996426-.92046471-3.6371761-.99195711-5.3619303 0-.2502234.1429848-.4825737.31277926-.697051.48257372.0446828-.27703306.0714924-.56300268.0714924-.84897229 0-1.98391421-1.0813226-3.70866846-2.6809651-4.63806971-1.59964254.92940125-2.68096515 2.6541555-2.68096515 4.63806971 0 .28596961.02680965.57193923.07149241.84897229-.21447722-.17873101-.44682753-.34852547-.69705094-.49151028-1.7158177-.9919571-3.75335121-.9204647-5.3619303 0 0 1.84986596.95621091 3.64611261 2.68096515 4.63806971.25022341.14298481.50938338.25915996.76854334.35746202-.25915996.09830205-.51831993.21447725-.76854334.35746205-1.71581769.9919571-2.6720286 2.7882037-2.68096515 4.6380697 1.59964254.9204647 3.63717605.9919571 5.3619303 0 .25022341-.1429848.48257372-.3127793.69705094-.4825738-.04468276.2859697-.07149241.5719393-.07149241.8579089 0 1.9839142 1.08132261 3.7086684 2.68096515 4.6380697 1.5996425-.9294013 2.6809651-2.6541555 2.6809651-4.6380697 0-.2859696-.0268096-.5719392-.0714924-.8489723.2144773.178731.4468276.3395889.697051.4825737 1.7158177.9919571 3.7533512.9204647 5.3619303 0-.0089366-1.8498659-.9651475-3.6461126-2.6809652-4.6380697zm-5.9874888 3.2171582c-1.97497766 0-3.5746202-1.5996425-3.5746202-3.5746202 0-1.97497766 1.59964254-3.5746202 3.5746202-3.5746202 1.9749777 0 3.5746202 1.59964254 3.5746202 3.5746202 0 1.9749777-1.5996425 3.5746202-3.5746202 3.5746202z",transform:"translate(1)"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m14.9874888 10.357462c-.2502234-.1429848-.5093833-.2591599-.7685433-.357462.25916-.09830206.5183199-.21447721.7685433-.35746202 1.7158177-.9919571 2.6720286-2.78820375 2.6809652-4.6380697-.8132261-.46470063-1.7426274-.71492404-2.6899017-.71492404-.9115282 0-1.8319929.23235031-2.6720286.71492404-.2502234.1429848-.4825737.31277926-.697051.48257372.0446828-.27703306.0714924-.56300268.0714924-.84897229 0-1.98391421-1.0813226-3.70866846-2.6809651-4.63806971-1.59964254.92940125-2.68096515 2.6541555-2.68096515 4.63806971 0 .28596961.02680965.57193923.07149241.84897229-.21447722-.17873101-.44682753-.34852547-.69705094-.49151028-.84003575-.48257372-1.76050045-.71492403-2.6720286-.71492403-.9383378 0-1.8766756.25022341-2.6899017.71492403 0 1.84986596.95621091 3.64611261 2.68096515 4.63806971.25022341.14298481.50938338.25915996.76854334.35746202-.25915996.09830205-.51831993.21447725-.76854334.35746205-1.71581769.9919571-2.6720286 2.7882037-2.68096515 4.6380697.8132261.4647006 1.74262735.714924 2.6899017.714924.91152815 0 1.83199285-.2323503 2.6720286-.714924.25022341-.1429848.48257372-.3127793.69705094-.4825738-.04468276.2859697-.07149241.5719393-.07149241.8579089 0 1.9839142 1.08132261 3.7086684 2.68096515 4.6380697 1.5996425-.9294013 2.6809651-2.6541555 2.6809651-4.6380697 0-.2859696-.0268096-.5719392-.0714924-.8489723.2144773.178731.4468276.3395889.697051.4825737.8400357.4825738 1.7605004.7149241 2.6720286.7149241.9383378 0 1.8766756-.2502234 2.6899017-.7149241-.0089366-1.8498659-.9651475-3.6461126-2.6809652-4.6380697zm-2.2698838-3.46738157c.1876676-.15192136.3395889-.25915997.4825737-.33065237.5451296-.31277927 1.1617516-.48257373 1.7873101-.48257373.2412869 0 .4736372.02680966.7059875.07149241-.277033.81322609-.8400357 1.51027703-1.590706 1.94816801-.1519213.0893655-.3217158.1608579-.5183199.24128686l-1.233244.46470062c-.1519213-.41108132-.3663985-.77747989-.6434316-1.10813226zm-3.717605-4.6023235c.56300268.64343163.89365505 1.48346738.89365505 2.35031278 0 .16979445-.0178731.36639857-.04468275.56300268l-.20554066 1.28686327c-.21447722-.03574621-.42895443-.06255586-.64343164-.06255586s-.42895442.02680965-.63449508.06255586l-.20554067-1.28686327c-.0357462-.19660411-.0536193-.39320823-.0536193-.56300268 0-.87578195.33065237-1.70688115.89365505-2.35031278zm-6.69347632 3.85165326c.23235031-.05361931.47363718-.07149241.71492404-.07149241.61662199 0 1.23324397.16085791 1.77837355.48257373.13404826.08042895.28596961.17873101.43789097.31277927l1.02770331.85790884c-.26809652.32171582-.47363718.67917784-.62555853 1.07238606l-1.23324397-.46470062c-.18766756-.08042896-.35746202-.16085791-.50044683-.24128687-.77747989-.44682752-1.33154602-1.13494191-1.59964254-1.948168zm2.97587132 6.96157281c-.18766756.1519214-.33958892.25916-.48257373.3306524-.54512958.3127793-1.16175156.4825737-1.7873101.4825737-.24128686 0-.47363718-.0268096-.70598749-.0714924.27703307-.8132261.84003575-1.510277 1.59070599-1.948168.15192136-.0893655.32171582-.1608579.51831993-.2412869l1.23324397-.4647006c.1429848.4110813.36639857.7864165.64343163 1.1081323zm3.717605 4.6112601c-.56300268-.6434317-.89365505-1.4834674-.89365505-2.3503128 0-.178731.0178731-.3663986.0536193-.5808758l.19660411-1.2689902c.20554067.0357462.42001788.0625559.64343164.0625559.21447721 0 .42895442-.0268097.63449508-.0625559l.20554067 1.2868633c.0357462.1966041.0536193.3932082.0536193.5630027 0 .8757819-.33065237 1.7068811-.89365505 2.3503128zm5.9785523-3.7890974c-.616622 0-1.233244-.1608579-1.7783736-.4825738-.1608579-.0893655-.3038427-.1966041-.4378909-.3038427l-1.0277033-.8579088c.2680965-.3217158.4825737-.6791779.6255585-1.0813226l1.233244.4647006c.1966041.0714924.3663985.1519213.5093833.2323503.7596068.437891 1.313673 1.1349419 1.590706 1.948168-.2412868.0625559-.4825737.080429-.714924.080429z",transform:"translate(1)"}))},build:{label:Object(re.__)("Tools","coblocks"),keywords:[Object(re.__)("build","coblocks"),Object(re.__)("construction","coblocks"),Object(re.__)("settings","coblocks"),Object(re.__)("work","coblocks"),Object(re.__)("wrench","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h20v20h-20z"}),Object(ae.createElement)(ie.Path,{d:"m19.6611198 16.3587437-8.2604891-8.26048913c.8460633-2.12880446.4093855-4.63970202-1.3100335-6.36821846-2.09241464-2.09241464-5.34930351-2.2834612-7.66915452-.59133458l3.4934227 3.50252016-1.2918386 1.28274115-3.48432525-3.48432525c-1.69212662 2.31075356-1.50108006 5.57673988.59133458 7.66005711 1.69212662 1.6921266 4.15753691 2.1379019 6.26814645 1.3464233l8.28778144 8.2877814c.3548008.3548008.9279404.3548008 1.2827412 0l2.0924146-2.0924146c.3638982-.3457033.3638982-.9188429 0-1.2827411z",fill:"currentColor",fillRule:"nonzero"}))),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd",transform:"translate(0 -.734049)"},Object(ae.createElement)(ie.Path,{d:"m0 1h20v20h-20z"}),Object(ae.createElement)(ie.Path,{d:"m19.6627376 17.0986011-8.2473132-8.24731315c.8447138-2.1254089.4087325-4.63230145-1.307944-6.35806082-2.08907708-2.08907713-5.34077104-2.27981895-7.65692177-.59039136l3.48785051 3.49693345-1.28977806 1.28069511-3.47876756-3.47876757c-1.68942759 2.30706779-1.49868577 5.56784469.59039136 7.64783884 1.68942759 1.6894276 4.15090542 2.1344919 6.25814844 1.3442758l8.27456198 8.274562c.3542348.3542348.9264603.3542348 1.2806951 0l2.0890772-2.0890772c.3633177-.3451518.3633177-.9173773 0-1.2806951zm-2.7248832 1.4532711-8.5924651-8.59246508c-.55405958.40873248-1.17169978.65397198-1.8165888.74480138-1.23528039.1816589-2.53414139-.1907418-3.47876757-1.13536797-.86287968-.85379674-1.26252922-1.99824769-1.19894861-3.12453275l2.80662971 2.80662971 3.85116827-3.85116827-2.80662971-2.80662971c1.12628506-.0635806 2.26165307.33606893 3.12453275 1.18986567.98095795.98095796 1.35335866 2.33431662 1.12628506 3.59684584-.10899533.64488902-.38148365 1.24436333-.79929908 1.78025703l8.58338208 8.58338215z",fill:"currentColor",fillRule:"nonzero"})))},credit_card:{label:Object(re.__)("Credit Card","coblocks"),keywords:[Object(re.__)("cash","coblocks"),Object(re.__)("checkout","coblocks"),Object(re.__)("commerce","coblocks"),Object(re.__)("ecommerce","coblocks"),Object(re.__)("money","coblocks"),Object(re.__)("payment","coblocks"),Object(re.__)("shop","coblocks"),Object(re.__)("store","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h20v20h-20z"}),Object(ae.createElement)(ie.Path,{d:"m18 2h-16c-1.11 0-1.99.89-1.99 2l-.01 12c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2v-12c0-1.11-.89-2-2-2zm0 14h-16v-6h16zm0-10h-16v-2h16z",fill:"currentColor",fillRule:"nonzero"})))},extension:{label:Object(re.__)("Extension","coblocks"),keywords:[Object(re.__)("game","coblocks"),Object(re.__)("plugin","coblocks"),Object(re.__)("puzzle","coblocks"),Object(re.__)("widget","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h20v20h-20z"}),Object(ae.createElement)(ie.Path,{d:"m8.71794872 0c-1.41538462 0-2.56410257 1.14871795-2.56410257 2.56410256h-4.1025641c-1.12820513 0-2.04102564.92307693-2.04102564 2.05128206v3.89743589h.2974359c1.52820513 0 2.76923077 1.24102564 2.76923077 2.76923079 0 1.5282051-1.24102564 2.7692308-2.76923077 2.7692308h-.30769231v3.8974358c0 1.1282052.92307692 2.0512821 2.05128205 2.0512821h3.8974359v-.3076923c0-1.5282051 1.24102564-2.7692308 2.76923077-2.7692308 1.52820508 0 2.76923078 1.2410257 2.76923078 2.7692308v.3076923h3.8974359c1.1282051 0 2.051282-.9230769 2.051282-2.0512821v-4.1025641c1.4153847 0 2.5641026-1.1487179 2.5641026-2.5641025 0-1.41538463-1.1487179-2.56410258-2.5641026-2.56410258v-4.1025641c0-1.12820513-.9230769-2.05128206-2.051282-2.05128206h-4.1025641c0-1.41538461-1.148718-2.56410256-2.56410258-2.56410256z",fill:"currentColor",fillRule:"nonzero"}))),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h20v20h-20z"}),Object(ae.createElement)(ie.Path,{d:"m9.23076923 2.56410256v2.05128206h6.15384617v6.15384618h2.051282c.2871795 0 .5128205.225641.5128205.5128205s-.225641.5128205-.5128205.5128205h-2.051282v6.1538461h-2.174359c-.6974359-1.7948717-2.451282-3.076923-4.49230768-3.076923-2.04102564 0-3.7948718 1.2820513-4.49230769 3.076923h-2.17435898v-2.1743589c1.7948718-.6974359 3.07692308-2.4512821 3.07692308-4.4923077 0-2.04102566-1.27179487-3.79487181-3.06666667-4.49230771l-.01025641-2.17435897h6.15384616v-2.05128206c0-.28717948.22564102-.51282051.51282051-.51282051s.51282051.22564103.51282051.51282051zm-.51282051-2.56410256c-1.41538462 0-2.56410257 1.14871795-2.56410257 2.56410256h-4.1025641c-1.12820513 0-2.04102564.92307693-2.04102564 2.05128206v3.89743589h.2974359c1.52820513 0 2.76923077 1.24102564 2.76923077 2.76923079 0 1.5282051-1.24102564 2.7692308-2.76923077 2.7692308h-.30769231v3.8974358c0 1.1282052.92307692 2.0512821 2.05128205 2.0512821h3.8974359v-.3076923c0-1.5282051 1.24102564-2.7692308 2.76923077-2.7692308 1.52820508 0 2.76923078 1.2410257 2.76923078 2.7692308v.3076923h3.8974359c1.1282051 0 2.051282-.9230769 2.051282-2.0512821v-4.1025641c1.4153847 0 2.5641026-1.1487179 2.5641026-2.5641025 0-1.41538463-1.1487179-2.56410258-2.5641026-2.56410258v-4.1025641c0-1.12820513-.9230769-2.05128206-2.051282-2.05128206h-4.1025641c0-1.41538461-1.148718-2.56410256-2.56410258-2.56410256z",fill:"currentColor",fillRule:"nonzero"})))},fingerprint:{label:Object(re.__)("Fingerprint","coblocks"),keywords:[Object(re.__)("biometric","coblocks"),Object(re.__)("defense","coblocks"),Object(re.__)("identify","coblocks"),Object(re.__)("privacy","coblocks"),Object(re.__)("safe","coblocks"),Object(re.__)("scan","coblocks"),Object(re.__)("secure","coblocks"),Object(re.__)("security","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m14.7660485 2.56204547c-.0789273 0-.1578547-.01973185-.2269162-.05919554-1.894257-.97672626-3.532-1.39109498-5.49531846-1.39109498-1.95345253 0-3.80824585.46369833-5.49531849 1.39109498-.23678212.12825699-.53275978.03946369-.67088269-.19731843-.12825698-.23678213-.03946368-.54262571.19731844-.67088269 1.83506147-.99645811 3.84770954-1.50948605 5.96888274-1.50948605 2.10144136 0 3.93650286.46369833 5.94915086 1.49962013.2466481.12825698.3354414.42423464.2071844.66101676-.0887933.1775866-.256514.27624582-.4341006.27624582zm-14.11813418 5.17960898c-.09865922 0-.19731844-.02959776-.28611174-.08879329-.2269162-.15785475-.27624581-.46369833-.11839106-.69061454.97672627-1.38122906 2.21983242-2.46648047 3.69972071-3.22615645 3.09789947-1.59827935 7.06400007-1.60814527 10.17176547-.00986592 1.4798883.75967598 2.7229944 1.83506147 3.6997207 3.20642461.1578547.21705028.1085251.53275978-.1183911.69061453s-.5327598.10852514-.6906145-.11839106c-.887933-1.24310616-2.0126481-2.21983243-3.3445475-2.90058104-2.8315196-1.45029051-6.45231293-1.45029051-9.27396659.00986593-1.34176537.69061453-2.46648047 1.67720672-3.35441344 2.92031287-.07892737.13812291-.2269162.20718436-.38477095.20718436zm6.16620117 11.90816775c-.12825698 0-.25651396-.0493296-.34530726-.1479889-.85833521-.8583352-1.32203353-1.4108268-1.9830503-2.6046033-.68074861-1.2135084-1.0359218-2.6933967-1.0359218-4.2818101 0-2.93017884 2.50594416-5.31773193 5.58411179-5.31773193 3.07816758 0 5.58411178 2.38755309 5.58411178 5.31773193 0 .2762458-.2170503.4932961-.4932961.4932961s-.4932961-.2170503-.4932961-.4932961c0-2.3875531-2.0619777-4.33113974-4.59751958-4.33113974-2.53554193 0-4.5975196 1.94358664-4.5975196 4.33113974 0 1.4206927.3157095 2.7328603.91753074 3.7983799.631419 1.134581 1.06551956 1.6180112 1.82519554 2.3875531.18745252.1973184.18745252.503162 0 .7004804-.10852514.0986593-.23678212.1479889-.36503911.1479889zm7.07386601-1.8251956c-1.1740447 0-2.2099665-.2959776-3.0584358-.878067-1.47002236-.9964581-2.34808941-2.6144693-2.34808941-4.3311397 0-.2762459.21705028-.4932961.4932961-.4932961.27624581 0 .49329609.2170502.49329609.4932961 0 1.3910949.71034642 2.7032626 1.91398882 3.5122682.7004805.4735642 1.519352.7004804 2.5059442.7004804.2367821 0 .631419-.0295978 1.0260559-.0986592.2663798-.0493296.5228938.128257.5722234.4045028.0493296.2663799-.128257.5228938-.4045028.5722235-.5623575.1085251-1.0556536.118391-1.1937765.118391zm-1.9830503 2.0323799c-.0394637 0-.0887933-.0098659-.128257-.0197318-1.5686816-.4341006-2.59473745-1.01619-3.67012294-2.0718436-1.38122906-1.3713632-2.14090505-3.1965587-2.14090505-5.1500112 0-1.5982794 1.36149722-2.90058107 3.03870394-2.90058107 1.67720675 0 3.03870395 1.30230167 3.03870395 2.90058107 0 1.0556536.9175307 1.9139888 2.0521117 1.9139888 1.1345811 0 2.0521118-.8583352 2.0521118-1.9139888 0-3.71945259-3.2064246-6.73842468-7.15279337-6.73842468-2.80192181 0-5.3670615 1.55881565-6.52137436 3.97596652-.38477096.79913966-.58208939 1.73640226-.58208939 2.76245816 0 .7695419.06906145 1.9830503.66101676 3.5615978.09865922.2565139-.02959776.5426257-.28611173.631419-.25651397.0986592-.54262571-.0394637-.631419-.2861118-.48343018-1.2924357-.7202123-2.5750056-.7202123-3.906905 0-1.1839107.2269162-2.2592961.67088269-3.19655873 1.31216761-2.7525922 4.22261456-4.53832406 7.40930733-4.53832406 4.48899447 0 8.13938557 3.46293858 8.13938557 7.72501679 0 1.5982794-1.3614972 2.9005811-3.038704 2.9005811-1.6772067 0-3.0387039-1.3023017-3.0387039-2.9005811 0-1.0556536-.9175307-1.9139888-2.05211175-1.9139888-1.13458101 0-2.05211175.8583352-2.05211175 1.9139888 0 1.6870727.65115084 3.2656202 1.84492739 4.4495308.93726258.9273967 1.83506151 1.4404246 3.22615641 1.8251956.2663799.0690614.4143688.3453072.3453073.6018212-.0493296.2269162-.256514.374905-.4636983.374905z",transform:"translate(1)"}))},translate:{label:Object(re.__)("Translate","coblocks"),keywords:[Object(re.__)("alphabet","coblocks"),Object(re.__)("global","coblocks"),Object(re.__)("internationalization","coblocks"),Object(re.__)("language","coblocks"),Object(re.__)("linguistics","coblocks"),Object(re.__)("localization","coblocks"),Object(re.__)("polyglot","coblocks"),Object(re.__)("speech","coblocks"),Object(re.__)("world","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10.8187411 12.8292466-2.30909089-2.2818182.02727273-.0272727c1.58181816-1.76363641 2.70909086-3.79090913 3.37272726-5.93636368h2.6636364v-1.81818182h-6.36363639v-1.81818181h-1.81818182v1.81818181h-6.36363636v1.80909091h10.15454547c-.60909092 1.75454546-1.57272729 3.41818182-2.8818182 4.87272728-.84545454-.93636364-1.54545454-1.96363637-2.1-3.04545455h-1.81818181c.66363636 1.48181818 1.57272727 2.88181818 2.7090909 4.14545456l-4.62727272 4.5636363 1.29090909 1.2909091 4.54545454-4.5454545 2.8272727 2.8272727zm5.1181818-4.60909094h-1.8181818l-4.0909091 10.90909094h1.8181818l1.0181819-2.7272728h4.3181818l1.0272727 2.7272728h1.8181818zm-2.3818181 6.36363634 1.4727272-3.9363636 1.4727273 3.9363636z"}))},new:{label:Object(re.__)("New","coblocks"),keywords:[Object(re.__)("alert","coblocks"),Object(re.__)("badge","coblocks"),Object(re.__)("exclamation mark","coblocks"),Object(re.__)("important","coblocks"),Object(re.__)("info","coblocks"),Object(re.__)("notice","coblocks"),Object(re.__)("notification","coblocks"),Object(re.__)("sticker","coblocks"),Object(re.__)("warning","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m20.0286458 10.0068123-2.2181818-2.52727276.3090909-3.34545455-3.2818182-.74545454-1.7181818-2.8909091-3.0909091 1.32727273-3.09090906-1.32727273-1.71818182 2.8909091-3.28181818.73636363.30909091 3.34545455-2.21818182 2.53636367 2.21818182 2.5272727-.30909091 3.3545454 3.28181818.7454546 1.71818182 2.8909091 3.09090906-1.3363637 3.0909091 1.3272728 1.7181818-2.8909091 3.2818182-.7454546-.3090909-3.3454545zm-9.0909091 4.5454545h-1.81818178v-1.8181818h1.81818178zm0-3.6363636h-1.81818178v-5.45454548h1.81818178z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m20.5555013 9.96270419-2.2181818-2.52727273.3090909-3.34545454-3.2818182-.74545455-1.7181818-2.89090909-3.0909091 1.32727273-3.09090909-1.32727273-1.71818182 2.89090909-3.28181818.73636364.30909091 3.34545454-2.21818182 2.53636364 2.21818182 2.52727271-.30909091 3.3545455 3.28181818.7454545 1.71818182 2.8909091 3.09090909-1.3363636 3.0909091 1.3272727 1.7181818-2.8909091 3.2818182-.7454545-.3090909-3.3454546zm-4.1 1.91818181.2363636 2.5363636-2.4909091.5636364-1.3 2.1909091-2.3454545-1.0090909-2.34545454 1.0090909-1.3-2.1909091-2.49090909-.5636364.23636363-2.5454545-1.68181818-1.90909091 1.68181818-1.92727273-.23636363-2.52727272 2.49090909-.55454546 1.3-2.19090909 2.34545454 1 2.3454545-1.00909091 1.3 2.19090909 2.4909091.56363637-.2363636 2.53636363 1.6818182 1.91818182zm-6.80909091.8090909h1.81818181v1.8181818h-1.81818181zm0-7.27272726h1.81818181v5.45454546h-1.81818181z",transform:"translate(-.565918)"}))},flare:{label:Object(re.__)("Flare","coblocks"),keywords:[Object(re.__)("camera","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("flower","coblocks"),Object(re.__)("light","coblocks"),Object(re.__)("photography","coblocks"),Object(re.__)("sun","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m5.45454545 9.09090909h-5.45454545v1.81818181h5.45454545zm1.97272728-2.94545454-1.92727273-1.92727273-1.28181818 1.28181818 1.92727273 1.92727273zm3.48181817-6.14545455h-1.81818181v5.45454545h1.81818181zm4.8727273 5.5-1.2818182-1.28181818-1.9272727 1.92727273 1.2818182 1.28181818zm-1.2363637 3.59090909v1.81818181h5.4545455v-1.81818181zm-4.5454545-1.81818182c-1.50909091 0-2.72727273 1.21818182-2.72727273 2.72727273 0 1.5090909 1.21818182 2.7272727 2.72727273 2.7272727 1.5090909 0 2.7272727-1.2181818 2.7272727-2.7272727 0-1.50909091-1.2181818-2.72727273-2.7272727-2.72727273zm2.5727273 6.58181823 1.9272727 1.9272727 1.2818182-1.2818182-1.9272727-1.9272727zm-8.35454548.6454545 1.28181818 1.2818182 1.92727273-1.9272727-1.28181818-1.2818182zm4.87272727 5.5h1.81818181v-5.4545455h-1.81818181z"}))},layers:{label:Object(re.__)("Layers","coblocks"),keywords:[Object(re.__)("build","coblocks"),Object(re.__)("cards","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("design","coblocks"),Object(re.__)("stack","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9.99610362 17.0837787-7.42990299-5.7765731-1.63316728 1.2702412 9.07315155 7.0568956 9.0731515-7.0568956-1.6432485-1.2803225zm.01008128-2.560645 7.4198217-5.77657311 1.6533298-1.28032249-9.0731515-7.05689565-9.07315155 7.05689565 1.64324856 1.28032249z"}))},shipping:{label:Object(re.__)("Shipping","coblocks"),keywords:[Object(re.__)("auto","coblocks"),Object(re.__)("cart","coblocks"),Object(re.__)("commerce","coblocks"),Object(re.__)("delivery","coblocks"),Object(re.__)("ecommerce","coblocks"),Object(re.__)("ship","coblocks"),Object(re.__)("shop","coblocks"),Object(re.__)("store","coblocks"),Object(re.__)("transport","coblocks"),Object(re.__)("truck","coblocks"),Object(re.__)("woo","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17.2727273 4.36363636h-2.7272728v-3.63636363h-12.72727268c-1 0-1.81818182.81818182-1.81818182 1.81818182v9.99999995h1.81818182c0 1.509091 1.21818182 2.7272728 2.72727273 2.7272728 1.5090909 0 2.72727272-1.2181818 2.72727272-2.7272728h5.45454543c0 1.509091 1.2181818 2.7272728 2.7272728 2.7272728 1.5090909 0 2.7272727-1.2181818 2.7272727-2.7272728h1.8181818v-4.5454545zm-.4545455 1.36363637 1.7818182 2.27272727h-4.0545455v-2.27272727zm-12.27272725 7.72727277c-.5 0-.90909091-.409091-.90909091-.909091s.40909091-.9090909.90909091-.9090909.9090909.4090909.9090909.9090909-.4090909.909091-.9090909.909091zm2.01818181-2.7272728c-.5-.5545454-1.20909091-.90909088-2.01818181-.90909088-.80909091 0-1.51818182.35454548-2.01818182.90909088h-.70909091v-8.18181815h10.90909088v8.18181815zm8.89090914 2.7272728c-.5 0-.909091-.409091-.909091-.909091s.409091-.9090909.909091-.9090909.9090909.4090909.9090909.9090909-.4090909.909091-.9090909.909091z",transform:"translate(0 2)"}))},snowflake:{label:Object(re.__)("Snowflake","coblocks"),keywords:[Object(re.__)("chill","coblocks"),Object(re.__)("cold","coblocks"),Object(re.__)("frozen","coblocks"),Object(re.__)("global","coblocks"),Object(re.__)("ice","coblocks"),Object(re.__)("season","coblocks"),Object(re.__)("winter","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m20 9h-4.17l3.24-3.24-1.41-1.42-4.66 4.66h-2v-2l4.66-4.66-1.42-1.41-3.24 3.24v-4.17h-2v4.17l-3.24-3.24-1.42 1.41 4.66 4.66v2h-2l-4.66-4.66-1.41 1.42 3.24 3.24h-4.17v2h4.17l-3.24 3.24 1.41 1.42 4.66-4.66h2v2l-4.66 4.66 1.42 1.41 3.24-3.24v4.17h2v-4.17l3.24 3.24 1.42-1.41-4.66-4.66v-2h2l4.66 4.66 1.41-1.42-3.24-3.24h4.17z",fillRule:"evenodd"}))},school:{label:Object(re.__)("School","coblocks"),keywords:[Object(re.__)("college","coblocks"),Object(re.__)("degree","coblocks"),Object(re.__)("diploma","coblocks"),Object(re.__)("education","coblocks"),Object(re.__)("graduation","coblocks"),Object(re.__)("hat","coblocks"),Object(re.__)("university","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m4.63589015 9.40022032v3.64467918l6.37818865 3.4806687 6.3781886-3.4806687v-3.64467918l-6.3781886 3.48066868zm6.37818865-9.2757086-10.02286786 5.46701882 10.02286786 5.46701886 8.2005282-4.47384377v6.29618337h1.8223396v-7.28935846z",transform:"translate(-1 1.713379)"}))},fire:{label:Object(re.__)("Fire","coblocks"),keywords:[Object(re.__)("camping","coblocks"),Object(re.__)("cook","coblocks"),Object(re.__)("flame","coblocks"),Object(re.__)("heat","coblocks"),Object(re.__)("hot","coblocks"),Object(re.__)("spicy","coblocks"),Object(re.__)("trending","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m8.91322329.78180339s.69401426 2.48532134.69401426 4.50171413c0 1.93198565-1.2661071 3.49820703-3.19809275 3.49820703-1.94136422 0-3.40442131-1.56622138-3.40442131-3.49820703l.02813571-.33762856c-1.89447137 2.25085707-3.02927847 5.16759264-3.02927847 8.33754974 0 4.1453284 3.35752846 7.5028569 7.50285689 7.5028569 4.14532848 0 7.50285688-3.3575285 7.50285688-7.5028569 0-5.05504985-2.4290499-9.56614256-6.09607121-12.50163531zm-1.67876423 17.19092081c-1.66938566 0-3.0198999-1.3129999-3.0198999-2.9448713 0-1.5193285.98474997-2.5884856 2.63537848-2.9261142 1.66000709-.3376285 3.37628556-1.1348071 4.33289986-2.41967133.3657643 1.20983563.5533357 2.48532133.5533357 3.78894273 0 2.4853213-2.0163928 4.5017141-4.50171414 4.5017141z",transform:"translate(2.553223 -.786621)"}))},update:{label:Object(re.__)("Update","coblocks"),keywords:[Object(re.__)("arrow","coblocks"),Object(re.__)("backup","coblocks"),Object(re.__)("circle","coblocks"),Object(re.__)("clock","coblocks"),Object(re.__)("future","coblocks"),Object(re.__)("history","coblocks"),Object(re.__)("hour","coblocks"),Object(re.__)("schedule","coblocks"),Object(re.__)("time machine","coblocks")],icon:Object(ae.createElement)(ie.SVG,{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m19.9986483 8.20489366h-7.5333334l3.0444445-3.13333333c-3.0333334-3-7.94444447-3.11111111-10.97777781-.11111111-3.03333333 3.01111111-3.03333333 7.86666668 0 10.87777778 3.03333334 3.0111111 7.94444441 3.0111111 10.97777781 0 1.5111111-1.4888889 2.2666666-3.2333333 2.2666666-5.4333333h2.2222223c0 2.2-.9777778 5.0555555-2.9333334 6.9888889-3.9 3.8666666-10.23333331 3.8666666-14.13333331 0-3.88888889-3.8555556-3.92222222-10.12222227-.02222222-13.97777783 3.9-3.85555555 10.15555553-3.85555555 14.05555553 0l3.0333334-3.12222222zm-9.4444445-2.35555555v4.72222219l3.8888889 2.3111111-.8 1.3444445-4.75555555-2.8222222v-5.55555559z",transform:"translate(0 -.293783)"}))},face:{label:Object(re.__)("Face","coblocks"),keywords:[Object(re.__)("eyes","coblocks"),Object(re.__)("friendly","coblocks"),Object(re.__)("happy","coblocks"),Object(re.__)("hair","coblocks"),Object(re.__)("head","coblocks"),Object(re.__)("human","coblocks"),Object(re.__)("person","coblocks"),Object(re.__)("user","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M9 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zm6 0c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8 0-.29.02-.58.05-.86 2.36-1.05 4.23-2.98 5.21-5.37C11.07 8.33 14.05 10 17.42 10c.78 0 1.53-.09 2.25-.26.21.71.33 1.47.33 2.26 0 4.41-3.59 8-8 8z"}),Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M10.25 13c0 .69-.56 1.25-1.25 1.25S7.75 13.69 7.75 13s.56-1.25 1.25-1.25 1.25.56 1.25 1.25zM15 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zm7 .25c0 5.52-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2s10 4.48 10 10zM10.66 4.12C12.06 6.44 14.6 8 17.5 8c.46 0 .91-.05 1.34-.12C17.44 5.56 14.9 4 12 4c-.46 0-.91.05-1.34.12zM4.42 9.47c1.71-.97 3.03-2.55 3.66-4.44C6.37 6 5.05 7.58 4.42 9.47zM20 12c0-.78-.12-1.53-.33-2.24-.7.15-1.42.24-2.17.24-3.13 0-5.92-1.44-7.76-3.69C8.69 8.87 6.6 10.88 4 11.86c.01.04 0 .09 0 .14 0 4.41 3.59 8 8 8s8-3.59 8-8z"}))},explore:{label:Object(re.__)("Explore","coblocks"),keywords:[Object(re.__)("adventure","coblocks"),Object(re.__)("circle","coblocks"),Object(re.__)("compass","coblocks"),Object(re.__)("map","coblocks"),Object(re.__)("quest","coblocks"),Object(re.__)("safari browser","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z"}),Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z"}))},groupwork:{label:Object(re.__)("Team","coblocks"),keywords:[Object(re.__)("circle","coblocks"),Object(re.__)("cluster","coblocks"),Object(re.__)("crowd","coblocks"),Object(re.__)("group","coblocks"),Object(re.__)("huddle","coblocks"),Object(re.__)("meet","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM8 17.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM9.5 8c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5S9.5 9.38 9.5 8zm6.5 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),Object(ae.createElement)(ie.Circle,{cx:"8",cy:"14",r:"2"}),Object(ae.createElement)(ie.Circle,{cx:"12",cy:"8",r:"2"}),Object(ae.createElement)(ie.Circle,{cx:"16",cy:"14",r:"2"}))},recordvoiceover:{label:Object(re.__)("Voice","coblocks"),keywords:[Object(re.__)("accouncement","coblocks"),Object(re.__)("audio","coblocks"),Object(re.__)("broadcast","coblocks"),Object(re.__)("megaphone","coblocks"),Object(re.__)("podcast","coblocks"),Object(re.__)("record","coblocks"),Object(re.__)("shout","coblocks"),Object(re.__)("sing","coblocks"),Object(re.__)("speak","coblocks"),Object(re.__)("talk","coblocks"),Object(re.__)("voice over","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Circle,{cx:"9",cy:"9",r:"4"}),Object(ae.createElement)(ie.Path,{d:"M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4zm7.76-9.64l-1.68 1.69c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2.02 2.02-5.07 0-7.27zM20.07 2l-1.63 1.63c2.77 3.02 2.77 7.56 0 10.74L20.07 16c3.9-3.89 3.91-9.95 0-14z"}),Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M9 13c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm0 8c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4zm-6 4c.22-.72 3.31-2 6-2 2.7 0 5.8 1.29 6 2H3zM15.08 7.05c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2.02 2.02-5.07 0-7.27l-1.68 1.69zM20.07 2l-1.63 1.63c2.77 3.02 2.77 7.56 0 10.74L20.07 16c3.9-3.89 3.91-9.95 0-14z"}))},swapvertical:{label:Object(re.__)("Swap Vertical","coblocks"),keywords:[Object(re.__)("arrows","coblocks"),Object(re.__)("circle","coblocks"),Object(re.__)("move","coblocks"),Object(re.__)("shift","coblocks"),Object(re.__)("transition","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM6.5 9L10 5.5 13.5 9H11v4H9V9H6.5zm11 6L14 18.5 10.5 15H13v-4h2v4h2.5z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM6.5 9L10 5.5 13.5 9H11v4H9V9zm11 6L14 18.5 10.5 15H13v-4h2v4z"}))},swaphorizontal:{label:Object(re.__)("Swap Horizontal","coblocks"),keywords:[Object(re.__)("arrows","coblocks"),Object(re.__)("circle","coblocks"),Object(re.__)("move","coblocks"),Object(re.__)("shift","coblocks"),Object(re.__)("transition","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12s4.48 10 10 10 10-4.48 10-10zm-7-5.5l3.5 3.5-3.5 3.5V11h-4V9h4V6.5zm-6 11L5.5 14 9 10.5V13h4v2H9v2.5z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3-13.5V9h-4v2h4v2.5l3.5-3.5zm-6 4L5.5 14 9 17.5V15h4v-2H9z"}))},accessible:{label:Object(re.__)("Accessible","coblocks"),keywords:[Object(re.__)("handicapped","coblocks"),Object(re.__)("health care","coblocks"),Object(re.__)("medical","coblocks"),Object(re.__)("wheelchair","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Circle,{cx:"12",cy:"4",r:"2"}),Object(ae.createElement)(ie.Path,{d:"M19 13v-2c-1.54.02-3.09-.75-4.07-1.83l-1.29-1.43c-.17-.19-.38-.34-.61-.45-.01 0-.01-.01-.02-.01H13c-.35-.2-.75-.3-1.19-.26C10.76 7.11 10 8.04 10 9.09V15c0 1.1.9 2 2 2h5v5h2v-5.5c0-1.1-.9-2-2-2h-3v-3.45c1.29 1.07 3.25 1.94 5 1.95zm-6.17 5c-.41 1.16-1.52 2-2.83 2-1.66 0-3-1.34-3-3 0-1.31.84-2.41 2-2.83V12.1c-2.28.46-4 2.48-4 4.9 0 2.76 2.24 5 5 5 2.42 0 4.44-1.72 4.9-4h-2.07z"}))},trackchanges:{label:Object(re.__)("Radar","coblocks"),keywords:[Object(re.__)("find","coblocks"),Object(re.__)("locate","coblocks"),Object(re.__)("radio","coblocks"),Object(re.__)("scan","coblocks"),Object(re.__)("search","coblocks"),Object(re.__)("signal","coblocks"),Object(re.__)("sonar","coblocks"),Object(re.__)("time","coblocks"),Object(re.__)("tracking","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M19.07 4.93l-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 6s6-2.69 6-6c0-1.66-.67-3.16-1.76-4.24l-1.41 1.41C15.55 9.9 16 10.9 16 12c0 2.21-1.79 4-4 4s-4-1.79-4-4c0-1.86 1.28-3.41 3-3.86v2.14c-.6.35-1 .98-1 1.72 0 1.1.9 2 2 2s2-.9 2-2c0-.74-.4-1.38-1-1.72V2h-1C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-2.76-1.12-5.26-2.93-7.07z"}))},security:{label:Object(re.__)("Shield","coblocks"),keywords:[Object(re.__)("armor","coblocks"),Object(re.__)("guard","coblocks"),Object(re.__)("protect","coblocks"),Object(re.__)("safe","coblocks"),Object(re.__)("security","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z"}),Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}))},verifieduser:{label:Object(re.__)("Shield Check","coblocks"),keywords:[Object(re.__)("armor","coblocks"),Object(re.__)("guard","coblocks"),Object(re.__)("protect","coblocks"),Object(re.__)("safe","coblocks"),Object(re.__)("security","coblocks"),Object(re.__)("verified","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm7 10c0 4.52-2.98 8.69-7 9.93-4.02-1.24-7-5.41-7-9.93V6.3l7-3.11 7 3.11V11zm-11.59.59L6 13l4 4 8-8-1.41-1.42L10 14.17z"}))},newreleases:{label:Object(re.__)("Releases","coblocks"),keywords:[Object(re.__)("new","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12zm-10 5h-2v-2h2v2zm0-4h-2V7h2v6z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12zm-4.51 2.11l.26 2.79-2.74.62-1.43 2.41L12 18.82l-2.58 1.11-1.43-2.41-2.74-.62.26-2.8L3.66 12l1.85-2.12-.26-2.78 2.74-.61 1.43-2.41L12 5.18l2.58-1.11 1.43 2.41 2.74.62-.26 2.79L20.34 12l-1.85 2.11zM11 15h2v2h-2zm0-8h2v6h-2z"}))},games:{label:Object(re.__)("Game Controls","coblocks"),keywords:[Object(re.__)("controller","coblocks"),Object(re.__)("direction","coblocks"),Object(re.__)("d-pad","coblocks"),Object(re.__)("plus","coblocks"),Object(re.__)("video games","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M15 7.5V2H9v5.5l3 3 3-3zM7.5 9H2v6h5.5l3-3-3-3zM9 16.5V22h6v-5.5l-3-3-3 3zM16.5 9l-3 3 3 3H22V9h-5.5z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M13 4v2.67l-1 1-1-1V4h2m7 7v2h-2.67l-1-1 1-1H20M6.67 11l1 1-1 1H4v-2h2.67M12 16.33l1 1V20h-2v-2.67l1-1M15 2H9v5.5l3 3 3-3V2zm7 7h-5.5l-3 3 3 3H22V9zM7.5 9H2v6h5.5l3-3-3-3zm4.5 4.5l-3 3V22h6v-5.5l-3-3z"}))},cloud:{label:Object(re.__)("Cloud","coblocks"),keywords:[Object(re.__)("forecast","coblocks"),Object(re.__)("internet","coblocks"),Object(re.__)("network","coblocks"),Object(re.__)("rain","coblocks"),Object(re.__)("sky","coblocks"),Object(re.__)("weather","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6m0-2C9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96C18.67 6.59 15.64 4 12 4z"}))},bluron:{label:Object(re.__)("Blur","coblocks"),keywords:[Object(re.__)("dots","coblocks"),Object(re.__)("plot","coblocks"),Object(re.__)("random","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M6 13c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-3 .5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM6 5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm15 5.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM14 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-3.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zm-11 10c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm7 7c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-17c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM10 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 5.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm8 .5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm3 8.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM14 17c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 3.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm-4-12c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0 8.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm4-4.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-4c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"}),Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}))},style:{label:Object(re.__)("Cards","coblocks"),keywords:[Object(re.__)("games","coblocks"),Object(re.__)("layers","coblocks"),Object(re.__)("shuffle","coblocks"),Object(re.__)("stack","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M2.53 19.65l1.34.56v-9.03l-2.43 5.86c-.41 1.02.08 2.19 1.09 2.61zm19.5-3.7L17.07 3.98c-.31-.75-1.04-1.21-1.81-1.23-.26 0-.53.04-.79.15L7.1 5.95c-.75.31-1.21 1.03-1.23 1.8-.01.27.04.54.15.8l4.96 11.97c.31.76 1.05 1.22 1.83 1.23.26 0 .52-.05.77-.15l7.36-3.05c1.02-.42 1.51-1.59 1.09-2.6zM7.88 8.75c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-2 11c0 1.1.9 2 2 2h1.45l-3.45-8.34v6.34z"}),Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M2.53 19.65l1.34.56v-9.03l-2.43 5.86c-.41 1.02.08 2.19 1.09 2.61zm19.5-3.7L17.07 3.98c-.31-.75-1.04-1.21-1.81-1.23-.26 0-.53.04-.79.15L7.1 5.95c-.75.31-1.21 1.03-1.23 1.8-.01.27.04.54.15.8l4.96 11.97c.31.76 1.05 1.22 1.83 1.23.26 0 .52-.05.77-.15l7.36-3.05c1.02-.42 1.51-1.59 1.09-2.6zm-9.2 3.8L7.87 7.79l7.35-3.04h.01l4.95 11.95-7.35 3.05z"}),Object(ae.createElement)(ie.Circle,{cx:"11",cy:"9",r:"1"}),Object(ae.createElement)(ie.Path,{d:"M5.88 19.75c0 1.1.9 2 2 2h1.45l-3.45-8.34v6.34z"}))},menu:{label:Object(re.__)("Menu","coblocks"),keywords:[Object(re.__)("book","coblocks"),Object(re.__)("cafe","coblocks"),Object(re.__)("magazine","coblocks"),Object(re.__)("open","coblocks"),Object(re.__)("pages","coblocks"),Object(re.__)("read","coblocks"),Object(re.__)("restaurant","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg","enable-background":"new 0 0 24 24",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.G,null,Object(ae.createElement)(ie.Rect,{fill:"none",height:"24",width:"24"})),Object(ae.createElement)(ie.G,null,Object(ae.createElement)(ie.G,null),Object(ae.createElement)(ie.G,null,Object(ae.createElement)(ie.Path,{d:"M21,5c-1.11-0.35-2.33-0.5-3.5-0.5c-1.95,0-4.05,0.4-5.5,1.5c-1.45-1.1-3.55-1.5-5.5-1.5S2.45,4.9,1,6v14.65 c0,0.25,0.25,0.5,0.5,0.5c0.1,0,0.15-0.05,0.25-0.05C3.1,20.45,5.05,20,6.5,20c1.95,0,4.05,0.4,5.5,1.5c1.35-0.85,3.8-1.5,5.5-1.5 c1.65,0,3.35,0.3,4.75,1.05c0.1,0.05,0.15,0.05,0.25,0.05c0.25,0,0.5-0.25,0.5-0.5V6C22.4,5.55,21.75,5.25,21,5z M21,18.5 c-1.1-0.35-2.3-0.5-3.5-0.5c-1.7,0-4.15,0.65-5.5,1.5V8c1.35-0.85,3.8-1.5,5.5-1.5c1.2,0,2.4,0.15,3.5,0.5V18.5z"}),Object(ae.createElement)(ie.G,null,Object(ae.createElement)(ie.Path,{d:"M17.5,10.5c0.88,0,1.73,0.09,2.5,0.26V9.24C19.21,9.09,18.36,9,17.5,9c-1.7,0-3.24,0.29-4.5,0.83v1.66 C14.13,10.85,15.7,10.5,17.5,10.5z"}),Object(ae.createElement)(ie.Path,{d:"M13,12.49v1.66c1.13-0.64,2.7-0.99,4.5-0.99c0.88,0,1.73,0.09,2.5,0.26V11.9c-0.79-0.15-1.64-0.24-2.5-0.24 C15.8,11.66,14.26,11.96,13,12.49z"}),Object(ae.createElement)(ie.Path,{d:"M17.5,14.33c-1.7,0-3.24,0.29-4.5,0.83v1.66c1.13-0.64,2.7-0.99,4.5-0.99c0.88,0,1.73,0.09,2.5,0.26v-1.52 C19.21,14.41,18.36,14.33,17.5,14.33z"})))))},accounttree:{label:Object(re.__)("Diagram","coblocks"),keywords:[Object(re.__)("blueprint","coblocks"),Object(re.__)("flowchart","coblocks"),Object(re.__)("hierarchy","coblocks"),Object(re.__)("layout","coblocks"),Object(re.__)("map","coblocks"),Object(re.__)("sitemap","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M22 11V3h-7v3H9V3H2v8h7V8h2v10h4v3h7v-8h-7v3h-2V8h2v3z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg","enable-background":"new 0 0 24 24",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Rect,{fill:"none",height:"24",width:"24"}),Object(ae.createElement)(ie.Path,{d:"M22,11V3h-7v3H9V3H2v8h7V8h2v10h4v3h7v-8h-7v3h-2V8h2v3H22z M7,9H4V5h3V9z M17,15h3v4h-3V15z M17,5h3v4h-3V5z"}))},allinclusive:{label:Object(re.__)("Infinity","coblocks"),keywords:[Object(re.__)("cycle","coblocks"),Object(re.__)("eternal","coblocks"),Object(re.__)("figure eight","coblocks"),Object(re.__)("loop","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M18.6 6.62c-1.44 0-2.8.56-3.77 1.53L12 10.66 10.48 12h.01L7.8 14.39c-.64.64-1.49.99-2.4.99-1.87 0-3.39-1.51-3.39-3.38S3.53 8.62 5.4 8.62c.91 0 1.76.35 2.44 1.03l1.13 1 1.51-1.34L9.22 8.2C8.2 7.18 6.84 6.62 5.4 6.62 2.42 6.62 0 9.04 0 12s2.42 5.38 5.4 5.38c1.44 0 2.8-.56 3.77-1.53l2.83-2.5.01.01L13.52 12h-.01l2.69-2.39c.64-.64 1.49-.99 2.4-.99 1.87 0 3.39 1.51 3.39 3.38s-1.52 3.38-3.39 3.38c-.9 0-1.76-.35-2.44-1.03l-1.14-1.01-1.51 1.34 1.27 1.12c1.02 1.01 2.37 1.57 3.82 1.57 2.98 0 5.4-2.41 5.4-5.38s-2.42-5.37-5.4-5.37z"}),Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}))},spa:{label:Object(re.__)("Spa","coblocks"),keywords:[Object(re.__)("flower","coblocks"),Object(re.__)("health","coblocks"),Object(re.__)("plant","coblocks"),Object(re.__)("resort","coblocks"),Object(re.__)("sauna","coblocks"),Object(re.__)("zen","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0zm13.97 21.49c-.63.23-1.29.4-1.97.51.68-.12 1.33-.29 1.97-.51zM12 22c-.68-.12-1.33-.29-1.97-.51.64.22 1.29.39 1.97.51z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M8.55 12c-1.07-.71-2.25-1.27-3.53-1.61 1.28.34 2.46.9 3.53 1.61zm10.43-1.61c-1.29.34-2.49.91-3.57 1.64 1.08-.73 2.28-1.3 3.57-1.64z"}),Object(ae.createElement)(ie.Path,{d:"M15.49 9.63c-.18-2.79-1.31-5.51-3.43-7.63-2.14 2.14-3.32 4.86-3.55 7.63 1.28.68 2.46 1.56 3.49 2.63 1.03-1.06 2.21-1.94 3.49-2.63zm-6.5 2.65c-.14-.1-.3-.19-.45-.29.15.11.31.19.45.29zm6.42-.25c-.13.09-.27.16-.4.26.13-.1.27-.17.4-.26zM12 15.45C9.85 12.17 6.18 10 2 10c0 5.32 3.36 9.82 8.03 11.49.63.23 1.29.4 1.97.51.68-.12 1.33-.29 1.97-.51C18.64 19.82 22 15.32 22 10c-4.18 0-7.85 2.17-10 5.45z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M15.49 9.63c-.18-2.79-1.31-5.51-3.43-7.63-2.14 2.14-3.32 4.86-3.55 7.63 1.28.68 2.46 1.56 3.49 2.63 1.03-1.06 2.21-1.94 3.49-2.63zm-3.44-4.44c.63 1.03 1.07 2.18 1.3 3.38-.47.3-.91.63-1.34.98-.42-.34-.87-.67-1.33-.97.25-1.2.71-2.35 1.37-3.39zM12 15.45c-.82-1.25-1.86-2.34-3.06-3.2-.13-.09-.27-.16-.4-.26.13.09.27.17.39.25C6.98 10.83 4.59 10 2 10c0 5.32 3.36 9.82 8.03 11.49.63.23 1.29.4 1.97.51.68-.12 1.33-.29 1.97-.51C18.64 19.82 22 15.32 22 10c-4.18 0-7.85 2.17-10 5.45zm1.32 4.15c-.44.15-.88.27-1.33.37-.44-.09-.87-.21-1.28-.36-3.29-1.18-5.7-3.99-6.45-7.35 1.1.26 2.15.71 3.12 1.33l-.02.01c.13.09.26.18.39.25l.07.04c.99.72 1.84 1.61 2.51 2.65L12 19.1l1.67-2.55c.69-1.05 1.55-1.95 2.53-2.66l.07-.05c.09-.05.18-.11.27-.17l-.01-.02c.98-.65 2.07-1.13 3.21-1.4-.75 3.37-3.15 6.18-6.42 7.35zm-4.33-7.32c-.02-.01-.04-.03-.05-.04 0 0 .01 0 .01.01.01.01.02.02.04.03z"}))},groupadd:{label:Object(re.__)("Group Add","coblocks"),keywords:[Object(re.__)("bulk","coblocks"),Object(re.__)("plus","coblocks"),Object(re.__)("team","coblocks"),Object(re.__)("users","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M8 10H5V7H3v3H0v2h3v3h2v-3h3v-2zm10 1c1.66 0 2.99-1.34 2.99-3S19.66 5 18 5c-.32 0-.63.05-.91.14.57.81.9 1.79.9 2.86s-.34 2.04-.9 2.86c.28.09.59.14.91.14zm-5 0c1.66 0 2.99-1.34 2.99-3S14.66 5 13 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm6.62 2.16c.83.73 1.38 1.66 1.38 2.84v2h3v-2c0-1.54-2.37-2.49-4.38-2.84zM13 13c-2 0-6 1-6 3v2h12v-2c0-2-4-3-6-3z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M5 15v-3h3v-2H5V7H3v3H0v2h3v3zm7-1.25c-2.34 0-7 1.17-7 3.5V19h14v-1.75c0-2.33-4.66-3.5-7-3.5zM7.34 17c.84-.58 2.87-1.25 4.66-1.25s3.82.67 4.66 1.25H7.34zM12 12c1.93 0 3.5-1.57 3.5-3.5S13.93 5 12 5 8.5 6.57 8.5 8.5 10.07 12 12 12zm0-5c.83 0 1.5.67 1.5 1.5S12.83 10 12 10s-1.5-.67-1.5-1.5S11.17 7 12 7zm5 5c1.93 0 3.5-1.57 3.5-3.5S18.93 5 17 5c-.24 0-.48.02-.71.07.76.94 1.21 2.13 1.21 3.43 0 1.3-.47 2.48-1.23 3.42.24.05.48.08.73.08zm2.32 2.02c1 .81 1.68 1.87 1.68 3.23V19h3v-1.75c0-1.69-2.44-2.76-4.68-3.23z"}))},livetv:{label:Object(re.__)("Live TV","coblocks"),keywords:[Object(re.__)("broadcast","coblocks"),Object(re.__)("livestream","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("television","coblocks"),Object(re.__)("video","coblocks"),Object(re.__)("youtube","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M21 6h-7.59l3.29-3.29L16 2l-4 4-4-4-.71.71L10.59 6H3c-1.1 0-2 .89-2 2v12c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.11-.9-2-2-2zm0 14H3V8h18v12zM9 10v8l7-4z"}))},confirmationnumber:{label:Object(re.__)("Ticket","coblocks"),keywords:[Object(re.__)("admission","coblocks"),Object(re.__)("coupon","coblocks"),Object(re.__)("receipt","coblocks"),Object(re.__)("voucher","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg","enable-background":"new 0 0 24 24",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.G,null,Object(ae.createElement)(ie.Rect,{fill:"none",height:"24",width:"24",x:"0"})),Object(ae.createElement)(ie.G,null,Object(ae.createElement)(ie.G,null,Object(ae.createElement)(ie.G,null,Object(ae.createElement)(ie.Path,{d:"M22,10V6c0-1.11-0.9-2-2-2H4C2.9,4,2.01,4.89,2.01,6v4C3.11,10,4,10.9,4,12s-0.89,2-2,2v4c0,1.1,0.9,2,2,2h16 c1.1,0,2-0.9,2-2v-4c-1.1,0-2-0.9-2-2S20.9,10,22,10z M13,17.5h-2v-2h2V17.5z M13,13h-2v-2h2V13z M13,8.5h-2v-2h2V8.5z"}))))),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M22 10V6c0-1.11-.9-2-2-2H4c-1.1 0-1.99.89-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2s.9-2 2-2zm-2-1.46c-1.19.69-2 1.99-2 3.46s.81 2.77 2 3.46V18H4v-2.54c1.19-.69 2-1.99 2-3.46 0-1.48-.8-2.77-1.99-3.46L4 6h16v2.54zM11 15h2v2h-2zm0-4h2v2h-2zm0-4h2v2h-2z"}))},offlinebolt:{label:Object(re.__)("Offline Bolt","coblocks"),keywords:[Object(re.__)("amp","coblocks"),Object(re.__)("circle","coblocks"),Object(re.__)("lightning","coblocks"),Object(re.__)("performance","coblocks"),Object(re.__)("power","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M12 2.02c-5.51 0-9.98 4.47-9.98 9.98s4.47 9.98 9.98 9.98 9.98-4.47 9.98-9.98S17.51 2.02 12 2.02zM11.48 20v-6.26H8L13 4v6.26h3.35L11.48 20z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M12 2.02c-5.51 0-9.98 4.47-9.98 9.98s4.47 9.98 9.98 9.98 9.98-4.47 9.98-9.98S17.51 2.02 12 2.02zm0 17.96c-4.4 0-7.98-3.58-7.98-7.98S7.6 4.02 12 4.02 19.98 7.6 19.98 12 16.4 19.98 12 19.98zM12.75 5l-4.5 8.5h3.14V19l4.36-8.5h-3z"}))},https:{label:Object(re.__)("Lock Closed","coblocks"),keywords:[Object(re.__)("https","coblocks"),Object(re.__)("key","coblocks"),Object(re.__)("padlock","coblocks"),Object(re.__)("privacy","coblocks"),Object(re.__)("safe","coblocks"),Object(re.__)("secure","coblocks"),Object(re.__)("security","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}))},lockopen:{label:Object(re.__)("Lock Open","coblocks"),keywords:[Object(re.__)("http","coblocks"),Object(re.__)("insecure","coblocks"),Object(re.__)("key","coblocks"),Object(re.__)("padlock","coblocks"),Object(re.__)("privacy","coblocks"),Object(re.__)("safe","coblocks"),Object(re.__)("security","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z"}))},devicesalternate:{label:Object(re.__)("Devices Alternate","coblocks"),keywords:[Object(re.__)("computer","coblocks"),Object(re.__)("desk","coblocks"),Object(re.__)("ipad","coblocks"),Object(re.__)("office","coblocks"),Object(re.__)("pc","coblocks"),Object(re.__)("screen","coblocks"),Object(re.__)("surface","coblocks"),Object(re.__)("tablet","coblocks"),Object(re.__)("watch","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M3 6h18V4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4v-2H3V6zm10 6H9v1.78c-.61.55-1 1.33-1 2.22s.39 1.67 1 2.22V20h4v-1.78c.61-.55 1-1.34 1-2.22s-.39-1.67-1-2.22V12zm-2 5.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM22 8h-6c-.5 0-1 .5-1 1v10c0 .5.5 1 1 1h6c.5 0 1-.5 1-1V9c0-.5-.5-1-1-1zm-1 10h-4v-8h4v8z"}))},cast:{label:Object(re.__)("Cast","coblocks"),keywords:[Object(re.__)("broadcast","coblocks"),Object(re.__)("chromecast","coblocks"),Object(re.__)("screen","coblocks"),Object(re.__)("television","coblocks"),Object(re.__)("tv","coblocks"),Object(re.__)("video","coblocks"),Object(re.__)("vodcast","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none",opacity:".1"}),Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2c4.97 0 9 4.03 9 9h2c0-6.08-4.93-11-11-11z"}))},merge:{label:Object(re.__)("Merge","coblocks"),keywords:[Object(re.__)("arrows","coblocks"),Object(re.__)("combine","coblocks"),Object(re.__)("join","coblocks"),Object(re.__)("mix","coblocks"),Object(re.__)("up","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(ae.createElement)(ie.Path,{d:"M17 20.41L18.41 19 15 15.59 13.59 17 17 20.41zM7.5 8H11v5.59L5.59 19 7 20.41l6-6V8h3.5L12 3.5 7.5 8z"}))},formatshapes:{label:Object(re.__)("Format Shapes","coblocks"),keywords:[Object(re.__)("alphabet","coblocks"),Object(re.__)("font","coblocks"),Object(re.__)("frame","coblocks"),Object(re.__)("letter","coblocks"),Object(re.__)("square","coblocks"),Object(re.__)("text box","coblocks"),Object(re.__)("typography","coblocks")],icon:Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M23 7V1h-6v2H7V1H1v6h2v10H1v6h6v-2h10v2h6v-6h-2V7h2zM3 3h2v2H3V3zm2 18H3v-2h2v2zm12-2H7v-2H5V7h2V5h10v2h2v10h-2v2zm4 2h-2v-2h2v2zM19 5V3h2v2h-2zm-5.27 9h-3.49l-.73 2H7.89l3.4-9h1.4l3.41 9h-1.63l-.74-2zm-3.04-1.26h2.61L12 8.91l-1.31 3.83z"}),Object(ae.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}))}}:{};"undefined"!=typeof coblocksBlockData&&Object.keys(coblocksBlockData.customIcons).length&&(Object.keys(coblocksBlockData.customIcons).forEach((function(e){var t=coblocksBlockData.customIcons[e].icon.replace("<svg",'<svg data-coblocks-custom-icon="true" role="img" aria-hidden="true" focusable="false"');if(coblocksBlockData.customIcons[e].icon=kp()(t),"icon_outlined"in coblocksBlockData.customIcons[e]){var o=coblocksBlockData.customIcons[e].icon_outlined.replace("<svg",'<svg data-coblocks-custom-icon="true" role="img" aria-hidden="true" focusable="false"');coblocksBlockData.customIcons[e].icon_outlined=kp()(o)}})),Ep=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_p(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},Ep,{},coblocksBlockData.customIcons)),Object.entries(Ep).filter((function(e){jp.outlined[e[0]]={icon:Ep[e[0]]&&Ep[e[0]].icon_outlined?Ep[e[0]].icon_outlined:Ep[e[0]].icon,label:Ep[e[0]]?Ep[e[0]].label:null,keywords:Ep[e[0]]?Ep[e[0]].keywords:null},jp.filled[e[0]]={icon:Ep[e[0]]?Ep[e[0]].icon:null,label:Ep[e[0]]?Ep[e[0]].label:null,keywords:Ep[e[0]]?Ep[e[0]].keywords:null}}));var Cp=jp;function xp(){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}}var Sp=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(xp()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).state={utilitySizes:[{name:Object(re.__)("Small","coblocks"),size:40,slug:"small"},{name:Object(re.__)("Medium","coblocks"),size:e.props.padding?Zp+28:Zp,slug:"medium"},{name:Object(re.__)("Large","coblocks"),size:120,slug:"large"},{name:Object(re.__)("Huge","coblocks"),size:200,slug:"huge"}]},e.getSelectValuesFromUtilitySizes=e.getSelectValuesFromUtilitySizes.bind(pn()(e)),e.setCurrentSelectValue=e.setCurrentSelectValue.bind(pn()(e)),e.onChangeValue=e.onChangeValue.bind(pn()(e)),e.getSelectOptions=e.getSelectOptions.bind(pn()(e)),e}return ve()(n,[{key:"getSelectValuesFromUtilitySizes",value:function(e,t){var o;if("string"==typeof t)return(o=e.find((function(e){return e.slug===t})))?o.slug:"custom"}},{key:"setCurrentSelectValue",value:function(e){(0,this.props.setAttributes)({iconSize:e})}},{key:"onChangeValue",value:function(e){var t=this.state.utilitySizes.find((function(t){return t.slug===e}));t&&(this.props.setAttributes({width:t.size,height:t.size}),this.setCurrentSelectValue(this.getSelectValuesFromUtilitySizes(this.state.utilitySizes,t.slug)))}},{key:"getSelectOptions",value:function(e){return ce()(e.map((function(e){return{value:e.slug,label:e.name}})))}},{key:"render",value:function(){var e=this.props.iconSize;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.SelectControl,{label:Object(re.__)("Choose icon size preset","coblocks"),hideLabelFromVision:!0,value:e,onChange:this.onChangeValue,options:this.getSelectOptions(this.state.utilitySizes)}))}}]),n}(ae.Component);function Pp(){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}}var zp=window.getComputedStyle,Tp=Object(ie.withFallbackStyles)((function(e,t){var o=t.attributes,n=o.backgroundColor,c=o.iconColor,r=e.querySelector('[contenteditable="true"]'),a=r?zp(r):null;return{fallbackBackgroundColor:n||!a?void 0:a.backgroundColor,fallbackIconColor:c||!a?void 0:a.color}})),Rp=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Pp()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).state={filteredIcons:Cp,searchValue:"",isSearching:!1},e.onChangeSize=e.onChangeSize.bind(pn()(e)),e.generateMaxPadding=e.generateMaxPadding.bind(pn()(e)),e.onSetNewTab=e.onSetNewTab.bind(pn()(e)),e}return ve()(n,[{key:"onChangeSize",value:function(e,t){this.props.setAttributes({iconSize:e}),t&&(t<0&&(t=""),this.props.setAttributes({height:t,width:t}))}},{key:"generateMaxPadding",value:function(e){return e<=60?10:Math.round(e/4)}},{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,o=e?"_blank":void 0,n=t;o&&!t?n="noreferrer noopener":o||"noreferrer noopener"!==t||(n=void 0),this.props.setAttributes({linkTarget:o,rel:n})}},{key:"render",value:function(){var e=this,t=this.props,o=t.clientId,n=t.attributes,c=t.setAttributes,r=t.backgroundColor,a=t.iconColor,i=t.fallbackBackgroundColor,l=t.fallbackIconColor,s=t.setBackgroundColor,u=t.setIconColor,b=t.className,d=t.label,p=void 0===d?Object(re.__)("Size","coblocks"):d,m=t.help,h=n.icon,f=n.borderRadius,g=n.padding,v=n.iconSize,y=n.width,O=n.href,k=n.linkTarget,_=n.rel,j="outlined";b.includes("is-style-filled")&&(j="filled");return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Icon settings","coblocks")},"advanced"===v?Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:"components-base-control components-coblocks-icon-block--advanced-size"},Object(ae.createElement)(ie.Button,{type:"button",onClick:function(){document.getElementById("block-"+o).getElementsByClassName("wp-block-coblocks-icon__inner")[0].style.height="auto",e.onChangeSize("medium",Zp)},isSmall:!0,isSecondary:!0,"aria-label":Object(re.__)("Reset icon size","coblocks")},Object(re.__)("Reset","coblocks")),Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Size","coblocks"),value:y,onChange:function(e){document.getElementById("block-"+o).getElementsByClassName("wp-block-coblocks-icon__inner")[0].style.height="auto",c({width:e,height:e})},min:g?Mp+28:Mp,max:Dp,step:1}))):Object(ae.createElement)(ie.BaseControl,{label:p,help:m},Object(ae.createElement)("div",{className:"components-coblocks-icon-size__controls"},Object(ae.createElement)(Sp,{setAttributes:c,iconSize:v,width:y}),Object(ae.createElement)(ie.Button,{type:"button",onClick:function(){return e.onChangeSize("advanced","")},isSmall:!0,isSecondary:!0,"aria-label":Object(re.__)("Apply custom size","coblocks"),isPrimary:"advanced"===v},Object(re.__)("Custom","coblocks")))),r.color&&Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Radius","coblocks"),value:f,onChange:function(e){return c({borderRadius:e})},min:0,max:200,step:1}),Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Padding","coblocks"),value:g,onChange:function(e){return c({padding:e})},min:5,max:this.generateMaxPadding(y),step:1})),Object(ae.createElement)(ie.TextControl,{type:"text",autoComplete:"off",label:Object(re.__)("Icon search","coblocks"),value:this.state.searchValue,className:"coblocks-icon-types-list__search",onChange:function(t){!function(t){var o={};e.setState({searchValue:t,isSearching:!0}),""===t&&e.setState({isSearching:!1});var n=Object.entries(Cp[j]).filter((function(e){return-1!==(e[0]+" "+e[1].keywords).toLowerCase().search(t.toLowerCase())}));o.outlined={},o.filled={},n.forEach((function(e){var t=be()(e,1)[0];o.outlined[t]=Cp.outlined[t],o.filled[t]=Cp.filled[t]})),e.setState({filteredIcons:o})}(t)}}),Object(ae.createElement)("div",{className:"coblocks-icon-types-list-wrapper"},Object(ae.createElement)("ul",{className:"block-editor-block-types-list coblocks-icon-types-list"},this.state.isSearching?null:Object(ae.createElement)("li",{className:"block-editor-block-types-list__list-item selected-svg"},Object(ae.createElement)(ie.Button,{isLarge:!0,className:"editor-block-list-item-button",onClick:function(){return!1}},Object(ae.createElement)("span",{className:"block-editor-block-types-list__item-icon"},h&&Cp[j][h].icon))),Object.keys(this.state.filteredIcons[j]).length>0?Object.keys(this.state.filteredIcons[j]).map((function(e,t){return Object(ae.createElement)("li",{key:"editor-pblock-types-list-item-".concat(t),className:Fe()("block-editor-block-types-list__list-item",{})},Object(ae.createElement)(ie.Tooltip,{text:Cp[j][e].label?Cp[j][e].label:e},Object(ae.createElement)(ie.Button,{isLarge:!0,isSecondary:!0,isPrimary:h&&h===e,className:"editor-block-list-item-button",onClick:function(){c({icon:e})}},Object(ae.createElement)("span",{className:"block-editor-block-types-list__item-icon"},h&&Cp[j][e].icon))))})):Object(ae.createElement)("li",{className:"no-results"}," ",Object(re.__)("No results found.","coblocks")," ")))),Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Link settings","coblocks"),initialOpen:!1},Object(ae.createElement)(ie.TextControl,{label:Object(re.__)("Link URL","coblocks"),value:O||"",onChange:function(e){return c({href:e})},placeholder:"https://"}),Object(ae.createElement)(ie.TextControl,{label:Object(re.__)("Link rel","coblocks"),value:_||"",onChange:function(e){return c({rel:e})}}),Object(ae.createElement)(ie.ToggleControl,{label:k?Object(re.__)("Opening in new tab","coblocks"):Object(re.__)("Open in new tab","coblocks"),onChange:this.onSetNewTab,checked:"_blank"===k})),Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{isLargeText:!0,value:a.color,onChange:u,label:Object(re.__)("Icon color","coblocks")},{value:r.color,onChange:function(e){0===g&&c({padding:10}),e||c({padding:0,borderRadius:0}),s(e)},label:Object(re.__)("Background color","coblocks")}]},Object(ae.createElement)(xe.ContrastChecker,{iconColor:a.color,backgroundColor:r.color,fallbackIconColor:l,fallbackBackgroundColor:i}))))}}]),n}(ae.Component),Bp=Object(Ce.compose)([yp,Tp])(Rp);function Np(){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}}var Ap=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Np()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.contentAlign,c=t.hasContentAlign;return Object(ae.createElement)(ae.Fragment,null,c&&Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(xe.AlignmentToolbar,{value:n,onChange:function(e){return o({contentAlign:e})}})))}}]),n}(ae.Component);function Ip(){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}}var Mp=32,Dp=400,Lp="undefined"==typeof coblocksBlockData||coblocksBlockData.bundledIconsEnabled,Fp=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Ip()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"componentDidMount",value:function(){if(""===this.props.attributes.icon){var e=["aperture","gesture","scatter_plot","waves","blocks","coblocks","drafts","device_hub","marker"];!Lp&&Object.keys(coblocksBlockData.customIcons).length&&(e=Object.keys(coblocksBlockData.customIcons));var t=e[Math.floor(Math.random()*e.length)];this.props.setAttributes({icon:t})}}},{key:"render",value:function(){var e,t=this.props,o=t.attributes,n=t.backgroundColor,c=t.className,r=t.isSelected,a=t.setAttributes,i=t.iconColor,l=t.isRTL,s=o.icon,u=o.contentAlign,b=o.width,d=o.borderRadius,p=o.padding,m=o.hasContentAlign,h=Fe()(c,te()({},"has-text-align-".concat(u),u)),f=Fe()("wp-block-coblocks-icon__inner",(e={"has-background":n.color},te()(e,n.class,n.class),te()(e,"has-text-color",i.color),te()(e,i.class,i.class),te()(e,"is-selected",r),e)),g={backgroundColor:n.color,color:i.color,fill:i.color,borderRadius:d+"px",padding:p+"px"},v="outlined";c.includes("is-style-filled")&&(v="filled");var y=s?Cp[v][s]:Cp[v].logo,O=!1,k=!1;return"center"===u?(O=!0,k=!0):l?"left"===u?O=!0:k=!0:"right"===u?k=!0:O=!0,!1===m&&(O=!0,k=!0),Object(ae.createElement)(ae.Fragment,null,r&&Object(ae.createElement)(Bp,this.props),r&&Object(ae.createElement)(Ap,this.props),Object(ae.createElement)("div",{className:h},Object(ae.createElement)(ie.ResizableBox,{className:f,style:g,size:{width:b},minWidth:p?Mp+28:Mp,maxWidth:Dp,enable:{top:!1,right:O,bottom:!0,left:k},lockAspectRatio:!0,onResizeStop:function(e,t,o,n){a({height:parseInt(b+n.width,10),width:parseInt(b+n.width,10)})},onResizeStart:function(){a({iconSize:"advanced"})}},y?y.icon:null)))}}]),n}(ae.Component),Vp=Object(Ce.compose)([yp,Object(Ye.withSelect)((function(e){return{isRTL:(0,e("core/editor").getEditorSettings)().isRTL}}))])(Fp);"function"==typeof wp.domReady&&wp.domReady((function(){Lp||coblocksBlockData.customIconConfigExists||(wp.blocks.unregisterBlockStyle("coblocks/icon","filled"),wp.blocks.unregisterBlockStyle("coblocks/icon","outlined"))}));var Gp=o(81),Up={outlined:{},filled:{}},Hp={coblocks:{label:Object(re.__)("CoBlocks","coblocks"),keywords:[Object(re.__)("block","coblocks"),Object(re.__)("blocks","coblocks"),Object(re.__)("build","coblocks"),Object(re.__)("design","coblocks"),Object(re.__)("gutenberg","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m5.17346763.00163164 9.55661877-.00163126c1.8075616-.00030854 2.4639368.18821016 3.1264625.54230616.6625258.35409601 1.183646.8737945 1.5402492 1.53604705.3566032.66225256.5479761 1.31916921.5567132 3.13082116l.0461929 9.57824455c.0087371 1.811652-.1762994 2.4686329-.5265143 3.1310061s-.8663216 1.1822487-1.5254309 1.5365703c-.6591092.3543216-1.313665.5430641-3.1212266.5433727l-9.55661876.0016312c-1.80756159.0003086-2.46393681-.1882101-3.12646255-.5423061-.66252575-.354096-1.18364596-.8737945-1.54024916-1.5360471-.3566032-.6622525-.54797616-1.3191692-.5567132-3.1308212l-.04619294-9.57824454c-.00873705-1.81165196.17629938-2.46863286.52651432-3.13100606.35021493-.6623732.8663216-1.18224875 1.52543086-1.53657035s1.31366506-.54306407 3.12122666-.54337261zm-.72902319 3.33170169c-.61364972 0-1.11111111.49746139-1.11111111 1.11111111v11.11111116c0 .6136497.49746139 1.1111111 1.11111111 1.1111111h3.33333334c.61364972 0 1.11111111-.4974614 1.11111111-1.1111111v-11.11111116c0-.61364972-.49746139-1.11111111-1.11111111-1.11111111zm7.77777776 7.77777777c-.6136497 0-1.1111111.4974614-1.1111111 1.1111111v3.3333334c0 .6136497.4974614 1.1111111 1.1111111 1.1111111h3.3333334c.6136497 0 1.1111111-.4974614 1.1111111-1.1111111v-3.3333334c0-.6136497-.4974614-1.1111111-1.1111111-1.1111111zm0-7.77777777c-.6136497 0-1.1111111.49746139-1.1111111 1.11111111v3.33333334c0 .61364972.4974614 1.11111111 1.1111111 1.11111111h3.3333334c.6136497 0 1.1111111-.49746139 1.1111111-1.11111111v-3.33333334c0-.61364972-.4974614-1.11111111-1.1111111-1.11111111z",fillRule:"evenodd"}))},audiotrack:{label:Object(re.__)("Audio","coblocks"),keywords:[Object(re.__)("artist","coblocks"),Object(re.__)("audio","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("microphone","coblocks"),Object(re.__)("music","coblocks"),Object(re.__)("podcast","coblocks"),Object(re.__)("song","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 14 20",width:"14",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0v11.7222222c-.65555556-.3777778-1.41111111-.6111111-2.22222222-.6111111-2.45555556 0-4.44444445 1.9888889-4.44444445 4.4444445 0 2.4555555 1.98888889 4.4444444 4.44444445 4.4444444 2.45555552 0 4.44444442-1.9888889 4.44444442-4.4444444v-11.11111116h4.4444445v-4.44444444z",transform:"translate(-3)"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 14 20",width:"14",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0v11.7222222c-.65555556-.3777778-1.41111111-.6111111-2.22222222-.6111111-2.45555556 0-4.44444445 1.9888889-4.44444445 4.4444445 0 2.4555555 1.98888889 4.4444444 4.44444445 4.4444444 2.45555552 0 4.44444442-1.9888889 4.44444442-4.4444444v-11.11111116h4.4444445v-4.44444444zm-2.22222222 17.7777778c-1.22222222 0-2.22222222-1-2.22222222-2.2222222 0-1.2222223 1-2.2222223 2.22222222-2.2222223s2.22222222 1 2.22222222 2.2222223c0 1.2222222-1 2.2222222-2.22222222 2.2222222z",transform:"translate(-3)"}))},album:{label:Object(re.__)("Album","coblocks"),keywords:[Object(re.__)("artist","coblocks"),Object(re.__)("audio","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("microphone","coblocks"),Object(re.__)("music","coblocks"),Object(re.__)("song","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 14.5c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5zm0-5.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10.2895508.29378255c-5.52000002 0-10.00000002 4.48-10.00000002 10.00000005 0 5.52 4.48 10 10.00000002 10 5.52 0 10-4.48 10-10 0-5.52000005-4.48-10.00000005-10-10.00000005zm0 18.00000005c-4.41000002 0-8.00000002-3.59-8.00000002-8 0-4.41000005 3.59-8.00000005 8.00000002-8.00000005 4.41 0 8 3.59 8 8.00000005 0 4.41-3.59 8-8 8zm0-12.50000005c-2.49000002 0-4.50000002 2.01-4.50000002 4.50000005 0 2.49 2.01 4.5 4.50000002 4.5 2.49 0 4.5-2.01 4.5-4.5 0-2.49000005-2.01-4.50000005-4.5-4.50000005zm0 5.50000005c-.55000002 0-1.00000002-.45-1.00000002-1 0-.55000005.45-1.00000005 1.00000002-1.00000005.55 0 1 .45 1 1.00000005 0 .55-.45 1-1 1z",transform:"translate(-.289551 -.293783)"}))},headset:{label:Object(re.__)("Headset","coblocks"),keywords:[Object(re.__)("audio","coblocks"),Object(re.__)("beats","coblocks"),Object(re.__)("bose","coblocks"),Object(re.__)("headphones","coblocks"),Object(re.__)("microphone","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10.0384629.01236979c-5.23157899 0-9.47368425 4.24210526-9.47368425 9.47368421v7.3684211c0 1.7473684 1.41052631 3.1578947 3.15789473 3.1578947h3.15789474v-8.4210526h-4.21052632v-2.1052632c0-4.07368421 3.29473685-7.36842105 7.3684211-7.36842105 4.0736842 0 7.368421 3.29473684 7.368421 7.36842105v2.1052632h-4.2105263v8.4210526h3.1578947c1.7473685 0 3.1578948-1.4105263 3.1578948-3.1578947v-7.3684211c0-5.23157895-4.2421053-9.47368421-9.4736842-9.47368421z",fillRule:"evenodd"}))},volume:{label:Object(re.__)("Volume","coblocks"),keywords:[Object(re.__)("artist","coblocks"),Object(re.__)("audio","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("microphone","coblocks"),Object(re.__)("music","coblocks"),Object(re.__)("song","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m0 6.66666667v6.66666663h4.44444444l5.55555556 5.5555556v-17.77777779l-5.55555556 5.55555556zm15 3.33333333c0-1.96666667-1.1333333-3.65555556-2.7777778-4.47777778v8.94444448c1.6444445-.8111111 2.7777778-2.5 2.7777778-4.4666667zm-2.7777778-9.74444444v2.28888888c3.2111111.95555556 5.5555556 3.93333334 5.5555556 7.45555556 0 3.5222222-2.3444445 6.5-5.5555556 7.4555556v2.2888888c4.4555556-1.0111111 7.7777778-4.9888888 7.7777778-9.7444444 0-4.75555556-3.3222222-8.73333333-7.7777778-9.74444444z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m.99267578 6.72328559v6.66666671h4.44444445l5.55555557 5.5555555v-17.77777777l-5.55555557 5.55555556zm7.77777778-.18888889v7.0444444l-2.41111111-2.4111111h-3.14444445v-2.22222219h3.14444445zm7.22222224 3.5222222c0-1.96666664-1.1333334-3.65555553-2.7777778-4.47777775v8.94444445c1.6444444-.8111111 2.7777778-2.5 2.7777778-4.4666667zm-2.7777778-9.74444442v2.28888889c3.2111111.95555555 5.5555556 3.93333333 5.5555556 7.45555553s-2.3444445 6.5-5.5555556 7.4555556v2.2888889c4.4555556-1.0111111 7.7777778-4.9888889 7.7777778-9.7444445 0-4.75555553-3.3222222-8.73333331-7.7777778-9.74444442z",transform:"translate(-1)"}))},keyboard_voice:{label:Object(re.__)("Voice","coblocks"),keywords:[Object(re.__)("audio","coblocks"),Object(re.__)("computer","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("device","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("microphone","coblocks"),Object(re.__)("microphone","coblocks"),Object(re.__)("music","coblocks"),Object(re.__)("podcast","coblocks"),Object(re.__)("song","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"nonzero"},Object(ae.createElement)(ie.Path,{d:"m10 12.6315789c1.7473684 0 3.1473684-1.4105263 3.1473684-3.15789469l.0105263-6.31578947c0-1.74736842-1.4105263-3.15789474-3.1578947-3.15789474-1.74736842 0-3.15789474 1.41052632-3.15789474 3.15789474v6.31578947c0 1.74736839 1.41052632 3.15789469 3.15789474 3.15789469zm-1.26315789-9.57894732c0-.69473684.56842105-1.2631579 1.26315789-1.2631579.6947368 0 1.2631579.56842106 1.2631579 1.2631579l-.0105263 6.52631579c0 .69473683-.5578948 1.26315793-1.2526316 1.26315793-.69473684 0-1.26315789-.5684211-1.26315789-1.26315793zm6.84210529 6.42105263c0 3.15789469-2.6736842 5.36842109-5.5789474 5.36842109-2.90526316 0-5.57894737-2.2105264-5.57894737-5.36842109h-1.78947368c0 3.58947369 2.86315789 6.55789469 6.31578947 7.07368419v3.4526316h2.10526318v-3.4526316c3.4526316-.5052631 6.3157895-3.4736842 6.3157895-7.07368419z"}),Object(ae.createElement)(ie.Path,{d:"m10 12.6315789c1.7473684 0 3.1473684-1.4105263 3.1473684-3.15789469l.0105263-6.31578947c0-1.74736842-1.4105263-3.15789474-3.1578947-3.15789474-1.74736842 0-3.15789474 1.41052632-3.15789474 3.15789474v6.31578947c0 1.74736839 1.41052632 3.15789469 3.15789474 3.15789469zm5.5789474-3.15789469c0 3.15789469-2.6736842 5.36842109-5.5789474 5.36842109-2.90526316 0-5.57894737-2.2105264-5.57894737-5.36842109h-1.78947368c0 3.58947369 2.86315789 6.55789469 6.31578947 7.07368419v3.4526316h2.10526318v-3.4526316c3.4526316-.5052631 6.3157895-3.4736842 6.3157895-7.07368419z"}))),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 12.6315789c1.7473684 0 3.1473684-1.4105263 3.1473684-3.15789469l.0105263-6.31578947c0-1.74736842-1.4105263-3.15789474-3.1578947-3.15789474-1.74736842 0-3.15789474 1.41052632-3.15789474 3.15789474v6.31578947c0 1.74736839 1.41052632 3.15789469 3.15789474 3.15789469zm-1.26315789-9.57894732c0-.69473684.56842105-1.2631579 1.26315789-1.2631579.6947368 0 1.2631579.56842106 1.2631579 1.2631579l-.0105263 6.52631579c0 .69473683-.5578948 1.26315793-1.2526316 1.26315793-.69473684 0-1.26315789-.5684211-1.26315789-1.26315793zm6.84210529 6.42105263c0 3.15789469-2.6736842 5.36842109-5.5789474 5.36842109-2.90526316 0-5.57894737-2.2105264-5.57894737-5.36842109h-1.78947368c0 3.58947369 2.86315789 6.55789469 6.31578947 7.07368419v3.4526316h2.10526318v-3.4526316c3.4526316-.5052631 6.3157895-3.4736842 6.3157895-7.07368419z"}))},aperture:{label:Object(re.__)("Aperture","coblocks"),keywords:[Object(re.__)("camera","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("film","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("photo","coblocks"),Object(re.__)("photographer","coblocks"),Object(re.__)("photography","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m7.4 8.5 4.77-8.26c-.7-.15-1.42-.24-2.17-.24-2.4 0-4.6.85-6.32 2.25l3.66 6.35zm12.14-1.5c-.92-2.92-3.15-5.26-6-6.34l-3.66 6.34zm.26 1h-7.49l.29.5 4.76 8.25c1.64-1.78 2.64-4.14 2.64-6.75 0-.69-.07-1.35-.2-2zm-13.26 2-3.9-6.75c-1.63 1.78-2.64 4.14-2.64 6.75 0 .69.07 1.35.2 2h7.49zm-6.08 3c.92 2.92 3.15 5.26 6 6.34l3.66-6.34zm11.27 0-3.9 6.76c.7.15 1.42.24 2.17.24 2.4 0 4.6-.85 6.32-2.25l-3.66-6.35z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m12.25.26-.08-.04-.01.02c-.7-.15-1.42-.24-2.16-.24-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10c0-4.75-3.31-8.72-7.75-9.74zm5.16 6.74h-7.99l2.71-4.7c2.4.66 4.35 2.42 5.28 4.7zm-6.31-4.92-2.83 4.92-1.15 2-2.72-4.7c1.44-1.42 3.42-2.3 5.6-2.3.37 0 .74.03 1.1.08zm-7.4 3.01 2.84 4.91 1.15 2h-5.43c-.16-.64-.26-1.31-.26-2 0-1.85.64-3.55 1.7-4.91zm-1.11 7.91h7.98l-2.71 4.7c-2.4-.67-4.34-2.42-5.27-4.7zm6.31 4.91 3.99-6.91 2.72 4.7c-1.45 1.42-3.43 2.3-5.61 2.3-.38 0-.74-.04-1.1-.09zm7.4-3-4-6.91h5.43c.17.64.27 1.31.27 2 0 1.85-.64 3.55-1.7 4.91z"}))},camera:{label:Object(re.__)("Camera","coblocks"),keywords:[Object(re.__)("aperture","coblocks"),Object(re.__)("camera","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("film","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("photographer","coblocks"),Object(re.__)("photography","coblocks"),Object(re.__)("photo","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m7 1-1.83 2h-3.17c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-12c0-1.1-.9-2-2-2h-3.17l-1.83-2zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18 3h-3.17l-1.83-2h-6l-1.83 2h-3.17c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-12c0-1.1-.9-2-2-2zm0 14h-16v-12h4.05l1.83-2h4.24l1.83 2h4.05zm-8-11c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z"}))},gallery:{label:Object(re.__)("Gallery","coblocks"),keywords:[Object(re.__)("aperture","coblocks"),Object(re.__)("camera","coblocks"),Object(re.__)("collection","coblocks"),Object(re.__)("image","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("photos","coblocks"),Object(re.__)("photo","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m20 13.8587524v-11.87893062c0-1.08890198-.8909198-1.97982178-1.9798218-1.97982178h-11.87893064c-1.08890198 0-1.97982178.8909198-1.97982178 1.97982178v11.87893062c0 1.088902.8909198 1.9798218 1.97982178 1.9798218h11.87893064c1.088902 0 1.9798218-.8909198 1.9798218-1.9798218zm-10.88901978-3.95964351 2.00951908 2.68265851 2.9400354-3.6725694 3.9596435 4.9495544h-11.87893064zm-9.11098022-5.89910889v14.028125c0 1.088902.8909198 1.9798218 1.97982178 1.9798218l14.02017822-.0079468v-1.9798218l-14.02017822.0079468v-14.028125z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18 2v12h-12v-12zm0-2h-12c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-12c0-1.1-.9-2-2-2zm-8.5 9.67 1.69 2.26 2.48-3.1 3.33 4.17h-10zm-9.5-5.67v14c0 1.1.9 2 2 2h14v-2h-14v-14z"}))},video:{label:Object(re.__)("Video","coblocks"),keywords:[Object(re.__)("creative","coblocks"),Object(re.__)("director","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("producer","coblocks"),Object(re.__)("videography","coblocks"),Object(re.__)("film","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m16 2 2 4h-3l-2-4h-2l2 4h-3l-2-4h-2l2 4h-3l-2-4h-1c-1.1 0-1.99.9-1.99 2l-.01 12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-14z"}),Object(ae.createElement)(ie.Path,{d:"m3.76 8h14.24v8h-16v-11.53zm16.24-6h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4h-2l2 4h-3l-2-4h-1c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2z",fillRule:"nonzero"}))),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m3.76 8h14.24v8h-16v-11.53zm16.24-6h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4h-2l2 4h-3l-2-4h-1c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2z"}))},film:{label:Object(re.__)("Film","coblocks"),keywords:[Object(re.__)("aperture","coblocks"),Object(re.__)("camera","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("director","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("photographer","coblocks"),Object(re.__)("photography","coblocks"),Object(re.__)("producer","coblocks"),Object(re.__)("videography","coblocks"),Object(re.__)("video","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11.9047619 3.80952381c0-1.04761905-.8571429-1.90476191-1.9047619-1.90476191h-.95238095v-.95238095c0-.52380952-.42857143-.95238095-.95238095-.95238095h-3.80952381c-.52380953 0-.95238096.42857143-.95238096.95238095v.95238095h-.95238095c-1.04761905 0-1.9047619.85714286-1.9047619 1.90476191v14.28571429c0 1.047619.85714285 1.9047619 1.9047619 1.9047619h7.61904762c1.047619 0 1.9047619-.8571429 1.9047619-1.9047619h7.6190476v-14.28571429zm-1.9047619 12.38095239h-1.9047619v-1.9047619h1.9047619zm0-8.57142858h-1.9047619v-1.90476191h1.9047619zm3.8095238 8.57142858h-1.9047619v-1.9047619h1.9047619zm0-8.57142858h-1.9047619v-1.90476191h1.9047619zm3.8095238 8.57142858h-1.9047619v-1.9047619h1.9047619zm0-8.57142858h-1.9047619v-1.90476191h1.9047619z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11.9047619 3.80952381c0-1.04761905-.8571429-1.90476191-1.9047619-1.90476191h-.95238095v-.95238095c0-.52380952-.42857143-.95238095-.95238095-.95238095h-3.80952381c-.52380953 0-.95238096.42857143-.95238096.95238095v.95238095h-.95238095c-1.04761905 0-1.9047619.85714286-1.9047619 1.90476191v14.28571429c0 1.047619.85714285 1.9047619 1.9047619 1.9047619h7.61904762c1.047619 0 1.9047619-.8571429 1.9047619-1.9047619h7.6190476v-14.28571429zm5.7142857 12.38095239h-7.6190476v1.9047619h-7.61904762v-14.28571429h2.85714286v-1.90476191h1.9047619v1.90476191h2.85714286v1.9047619h7.6190476zm-10.47619046-2.8571429h1.90476191v1.9047619h-1.90476191zm0-6.66666663h1.90476191v1.9047619h-1.90476191zm3.80952386 6.66666663h1.9047619v1.9047619h-1.9047619zm0-6.66666663h1.9047619v1.9047619h-1.9047619zm3.8095238 6.66666663h1.9047619v1.9047619h-1.9047619zm0-6.66666663h1.9047619v1.9047619h-1.9047619z"}))},color_lens:{label:Object(re.__)("Color Lens","coblocks"),keywords:[Object(re.__)("artist","coblocks"),Object(re.__)("colors","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("design","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("paint","coblocks"),Object(re.__)("palette","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c-5.52222222 0-10 4.47777778-10 10 0 5.5222222 4.47777778 10 10 10 .9222222 0 1.6666667-.7444444 1.6666667-1.6666667 0-.4333333-.1666667-.8222222-.4333334-1.1222222-.2555555-.2888889-.4222222-.6777778-.4222222-1.1 0-.9222222.7444445-1.6666667 1.6666667-1.6666667h1.9666666c3.0666667 0 5.5555556-2.4888888 5.5555556-5.55555551 0-4.91111111-4.4777778-8.88888889-10-8.88888889zm-6.11111111 10c-.92222222 0-1.66666667-.74444444-1.66666667-1.66666667 0-.92222222.74444445-1.66666666 1.66666667-1.66666666s1.66666667.74444444 1.66666667 1.66666666c0 .92222223-.74444445 1.66666667-1.66666667 1.66666667zm3.33333333-4.44444444c-.92222222 0-1.66666666-.74444445-1.66666666-1.66666667s.74444444-1.66666667 1.66666666-1.66666667 1.66666667.74444445 1.66666667 1.66666667-.74444445 1.66666667-1.66666667 1.66666667zm5.55555558 0c-.9222222 0-1.6666667-.74444445-1.6666667-1.66666667s.7444445-1.66666667 1.6666667-1.66666667 1.6666666.74444445 1.6666666 1.66666667-.7444444 1.66666667-1.6666666 1.66666667zm3.3333333 4.44444444c-.9222222 0-1.6666667-.74444444-1.6666667-1.66666667 0-.92222222.7444445-1.66666666 1.6666667-1.66666666s1.6666667.74444444 1.6666667 1.66666666c0 .92222223-.7444445 1.66666667-1.6666667 1.66666667z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m10 20c-5.51 0-10-4.49-10-10s4.49-10 10-10 10 4.04 10 9c0 3.31-2.69 6-6 6h-1.77c-.28 0-.5.22-.5.5 0 .12.05.23.13.33.41.47.64 1.06.64 1.67 0 1.38-1.12 2.5-2.5 2.5zm0-18c-4.41 0-8 3.59-8 8s3.59 8 8 8c.28 0 .5-.22.5-.5 0-.16-.08-.28-.14-.35-.41-.46-.63-1.05-.63-1.65 0-1.38 1.12-2.5 2.5-2.5h1.77c2.21 0 4-1.79 4-4 0-3.86-3.59-7-8-7z",fillRule:"nonzero"}),Object(ae.createElement)("circle",{cx:"4.5",cy:"9.5",r:"1.5"}),Object(ae.createElement)("circle",{cx:"7.5",cy:"5.5",r:"1.5"}),Object(ae.createElement)("circle",{cx:"12.5",cy:"5.5",r:"1.5"}),Object(ae.createElement)("circle",{cx:"15.5",cy:"9.5",r:"1.5"})))},color_picker:{label:Object(re.__)("Color Picker","coblocks"),keywords:Object(re.__)("palette design colors artist paint creative media","coblocks"),icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m19.6750451 2.92459381-2.5996389-2.59963894c-.4332732-.43327316-1.133176-.43327316-1.5664491 0l-3.4661853 3.46618525-2.14414661-2.12192751-1.5664491 1.5664491 1.57755867 1.57755868-9.90973476 9.90973471v5.2770449h5.27704485l9.90973475-9.9097348 1.5775587 1.5775587 1.5664491-1.5664491-2.1330371-2.13303707 3.4661853-3.46618525c.4443827-.44438273.4443827-1.14428552.0111095-1.57755867zm-15.3200944 14.85349259-2.13303708-2.1330371 8.95431188-8.9543119 2.1330371 2.13303708z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m16.2866269 2.68018331 1.0220802 1.02208026-2.9884738 2.98847383-1.0220803-1.02208027zm.0111095-2.67740592c-.2888487 0-.5665879.11109568-.7887793.32217748l-3.4661853 3.46618525-2.14414661-2.12192751-1.5664491 1.5664491 1.57755867 1.57755868-9.90973476 9.90973471v5.2770449h5.27704485l9.90973475-9.9097348 1.5775587 1.5775587 1.5664491-1.5664491-2.1330371-2.13303707 3.4661853-3.46618525c.4443827-.44438273.4443827-1.14428552.0111095-1.57755867l-2.5996389-2.59963894c-.2221914-.2110818-.4999306-.32217748-.7776698-.32217748zm-11.9427857 17.77530901-2.13303708-2.1330371 8.95431188-8.9543119 2.1330371 2.13303708z"}))},paint:{label:Object(re.__)("Paint","coblocks"),keywords:[Object(re.__)("artist","coblocks"),Object(re.__)("colors","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("design","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("palette","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m14.4389323 2.01845703v-.99840495c0-.54912272-.4492822-.99840494-.998405-.99840494h-11.98085933c-.54912272 0-.99840495.44928222-.99840495.99840494v3.99361979c0 .54912273.44928223.99840495.99840495.99840495h11.98085933c.5491228 0 .998405-.44928222.998405-.99840495v-.99840494h.9984049v3.99361979h-9.98404944v10.98245438c0 .5491228.44928223.998405.99840495.998405h1.99680989c.54912273 0 .99840495-.4492822.99840495-.998405v-8.9856445h7.98723955v-7.98723957z",transform:"translate(1)"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m14.4389323 2.01845703v-.99840495c0-.54912272-.4492822-.99840494-.998405-.99840494h-11.98085933c-.54912272 0-.99840495.44928222-.99840495.99840494v3.99361979c0 .54912273.44928223.99840495.99840495.99840495h11.98085933c.5491228 0 .998405-.44928222.998405-.99840495v-.99840494h.9984049v3.99361979h-9.98404944v10.98245438c0 .5491228.44928223.998405.99840495.998405h1.99680989c.54912273 0 .99840495-.4492822.99840495-.998405v-8.9856445h7.98723955v-7.98723957zm-1.9968099 1.9968099h-9.98404948v-1.9968099h9.98404948z",transform:"translate(1)"}))},brush:{label:Object(re.__)("Brush","coblocks"),keywords:[Object(re.__)("artist","coblocks"),Object(re.__)("colors","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("design","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("paint","coblocks"),Object(re.__)("paintbrush","coblocks"),Object(re.__)("palette","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17.5215122.06508061c-.2732809 0-.5360511.10510805-.7462672.30481335l-9.41768139 9.41768143 2.89047139 2.89047141 9.4176815-9.41768142c.4099214-.4099214.4099214-1.07210213 0-1.48202353l-1.4084479-1.40844789c-.2102161-.2102161-.4729863-.30481335-.7357564-.30481335zm-12.26610962 11.56188569c-1.74479366 0-3.15324155 1.4084479-3.15324155 3.1532415 0 1.3769155-1.2192534 2.1021611-2.10216103 2.1021611.96699408 1.2823182 2.61719049 2.102161 4.20432206 2.102161 2.32288795 0 4.20432207-1.8814341 4.20432207-4.2043221 0-1.7447936-1.40844789-3.1532415-3.15324155-3.1532415z",transform:"translate(0 .5)"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m5.25540258 13.7291273c.57809428 0 1.05108052.4729863 1.05108052 1.0510805 0 1.1561886-.94597247 2.1021611-2.10216104 2.1021611-.17868368 0-.34685657-.0210216-.52554025-.0525541.32583496-.5780942.52554025-1.2718074.52554025-2.049607 0-.5780942.47298624-1.0510805 1.05108052-1.0510805zm12.26610962-13.66404669c-.2732809 0-.5360511.10510805-.7462672.30481335l-9.41768139 9.41768143 2.89047139 2.89047141 9.4176815-9.41768142c.4099214-.4099214.4099214-1.07210213 0-1.48202353l-1.4084479-1.40844789c-.2102161-.2102161-.4729863-.30481335-.7357564-.30481335zm-12.26610962 11.56188569c-1.74479366 0-3.15324155 1.4084479-3.15324155 3.1532415 0 1.3769155-1.2192534 2.1021611-2.10216103 2.1021611.96699408 1.2823182 2.61719049 2.102161 4.20432206 2.102161 2.32288795 0 4.20432207-1.8814341 4.20432207-4.2043221 0-1.7447936-1.40844789-3.1532415-3.15324155-3.1532415z",transform:"translate(0 .5)"}))},circle_add:{label:Object(re.__)("Add Circle","coblocks"),keywords:[Object(re.__)("add","coblocks"),Object(re.__)("circle","coblocks"),Object(re.__)("insert","coblocks"),Object(re.__)("math","coblocks"),Object(re.__)("minus","coblocks"),Object(re.__)("plus","coblocks"),Object(re.__)("round","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm5 11h-4v4h-2v-4h-4v-2h4v-4h2v4h4z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11 5h-2v4h-4v2h4v4h2v-4h4v-2h-4zm-1-5c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}))},circle_remove:{label:Object(re.__)("Minus Circle","coblocks"),keywords:[Object(re.__)("add","coblocks"),Object(re.__)("circle","coblocks"),Object(re.__)("insert","coblocks"),Object(re.__)("math","coblocks"),Object(re.__)("minus","coblocks"),Object(re.__)("plus","coblocks"),Object(re.__)("round","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm5 11h-10v-2h10z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m5 9v2h10v-2zm5-9c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}))},data_usage:{label:Object(re.__)("Pie Chart","coblocks"),keywords:[Object(re.__)("chart","coblocks"),Object(re.__)("circle","coblocks"),Object(re.__)("graph","coblocks"),Object(re.__)("pie","coblocks"),Object(re.__)("round","coblocks"),Object(re.__)("stats","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11 0v3.03759398c3.39.49122808 6 3.39849625 6 6.93734336 0 .90225566-.18 1.75438596-.48 2.54636596l2.6 1.5338345c.56-1.2431077.88-2.6265664.88-4.08020046 0-5.19298245-3.95-9.47368421-9-9.97493734zm-1 16.9924812c-3.87 0-7-3.1378446-7-7.01754386 0-3.53884711 2.61-6.44611528 6-6.93734336v-3.03759398c-5.06.50125313-9 4.77192982-9 9.97493734 0 5.53383456 4.47 10.02506266 9.99 10.02506266 3.31 0 6.24-1.6140351 8.06-4.1002506l-2.6-1.5338346c-1.28 1.60401-3.24 2.6265664-5.45 2.6265664z"}))},scatter_plot:{label:Object(re.__)("Scatter Plot","coblocks"),keywords:[Object(re.__)("chart","coblocks"),Object(re.__)("circle","coblocks"),Object(re.__)("data","coblocks"),Object(re.__)("dots","coblocks"),Object(re.__)("graph","coblocks"),Object(re.__)("pie","coblocks"),Object(re.__)("round","coblocks"),Object(re.__)("stats","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m4.08163265 16.3265306c-2.25510204 0-4.08163265-1.8265306-4.08163265-4.0816326 0-2.25510208 1.82653061-4.08163269 4.08163265-4.08163269s4.08163266 1.82653061 4.08163266 4.08163269c0 2.255102-1.82653062 4.0816326-4.08163266 4.0816326zm7.08163265-8.16326529c-2.25510203 0-4.08163265-1.82653062-4.08163265-4.08163266s1.82653062-4.08163265 4.08163265-4.08163265c2.255102 0 4.0816327 1.82653061 4.0816327 4.08163265s-1.8265307 4.08163266-4.0816327 4.08163266zm4.7142857 11.83673469c-2.255102 0-4.0816326-1.8265306-4.0816326-4.0816327 0-2.255102 1.8265306-4.0816326 4.0816326-4.0816326 2.2551021 0 4.0816327 1.8265306 4.0816327 4.0816326 0 2.2551021-1.8265306 4.0816327-4.0816327 4.0816327z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m4.08163265 16.3265306c-2.25510204 0-4.08163265-1.8265306-4.08163265-4.0816326 0-2.25510208 1.82653061-4.08163269 4.08163265-4.08163269s4.08163266 1.82653061 4.08163266 4.08163269c0 2.255102-1.82653062 4.0816326-4.08163266 4.0816326zm0-6.122449c-1.12244898 0-2.04081632.9183674-2.04081632 2.0408164 0 1.1224489.91836734 2.0408163 2.04081632 2.0408163s2.04081633-.9183674 2.04081633-2.0408163c0-1.122449-.91836735-2.0408164-2.04081633-2.0408164zm7.08163265-2.04081629c-2.25510203 0-4.08163265-1.82653062-4.08163265-4.08163266s1.82653062-4.08163265 4.08163265-4.08163265c2.255102 0 4.0816327 1.82653061 4.0816327 4.08163265s-1.8265307 4.08163266-4.0816327 4.08163266zm0-6.12244898c-1.122449 0-2.04081632.91836734-2.04081632 2.04081632s.91836732 2.04081633 2.04081632 2.04081633 2.0408163-.91836735 2.0408163-2.04081633-.9183673-2.04081632-2.0408163-2.04081632zm4.7142857 17.95918367c-2.255102 0-4.0816326-1.8265306-4.0816326-4.0816327 0-2.255102 1.8265306-4.0816326 4.0816326-4.0816326 2.2551021 0 4.0816327 1.8265306 4.0816327 4.0816326 0 2.2551021-1.8265306 4.0816327-4.0816327 4.0816327zm0-6.122449c-1.122449 0-2.0408163.9183674-2.0408163 2.0408163 0 1.122449.9183673 2.0408164 2.0408163 2.0408164s2.0408163-.9183674 2.0408163-2.0408164c0-1.1224489-.9183673-2.0408163-2.0408163-2.0408163z"}))},poll:{label:Object(re.__)("Poll","coblocks"),keywords:[Object(re.__)("chart","coblocks"),Object(re.__)("data","coblocks"),Object(re.__)("graph","coblocks"),Object(re.__)("graph","coblocks"),Object(re.__)("stats","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18.5806749.77408854h-15.55555554c-1.22222222 0-2.22222222 1-2.22222222 2.22222222v15.55555554c0 1.2222222 1 2.2222222 2.22222222 2.2222222h15.55555554c1.2222222 0 2.2222222-1 2.2222222-2.2222222v-15.55555554c0-1.22222222-1-2.22222222-2.2222222-2.22222222zm-11.1111111 15.55555556h-2.22222222v-7.77777778h2.22222222zm4.4444444 0h-2.22222218v-11.11111111h2.22222218zm4.4444445 0h-2.2222222v-4.4444444h2.2222222z",transform:"translate(-.802897 -.774089)"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17.7777778 0h-15.55555558c-1.22222222 0-2.22222222 1-2.22222222 2.22222222v15.55555558c0 1.2222222 1 2.2222222 2.22222222 2.2222222h15.55555558c1.2222222 0 2.2222222-1 2.2222222-2.2222222v-15.55555558c0-1.22222222-1-2.22222222-2.2222222-2.22222222zm0 17.7777778h-15.55555558v-15.55555558h15.55555558zm-13.33333336-10.00000002h2.22222223v7.77777782h-2.22222223zm4.44444445-3.33333334h2.22222221v11.11111116h-2.22222221zm4.44444441 6.66666666h2.2222223v4.4444445h-2.2222223z"}))},emoticon:{label:Object(re.__)("Emoticon","coblocks"),keywords:[Object(re.__)("emoticon","coblocks"),Object(re.__)("emotion","coblocks"),Object(re.__)("fun","coblocks"),Object(re.__)("happy","coblocks"),Object(re.__)("joy","coblocks"),Object(re.__)("smile","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9.99 0c5.53 0 10.01 4.48 10.01 10s-4.48 10-10.01 10c-5.52 0-9.99-4.48-9.99-10s4.47-10 9.99-10zm3.51 9c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5h-10.22c.8 2.04 2.78 3.5 5.11 3.5z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9.99 0c-5.52 0-9.99 4.48-9.99 10s4.47 10 9.99 10c5.53 0 10.01-4.48 10.01-10s-4.48-10-10.01-10zm.01 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5h-10.22c.8 2.04 2.78 3.5 5.11 3.5z"}))},functions:{label:Object(re.__)("Functions","coblocks"),keywords:[Object(re.__)("code","coblocks"),Object(re.__)("greek","coblocks"),Object(re.__)("math","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17.9645996 0h-15.99999999v2.5l8.12499999 7.5-8.12499999 7.5v2.5h15.99999999v-3.75h-9.74999999l6.24999999-6.25-6.24999999-6.25h9.74999999z",fillRule:"evenodd"}))},gesture:{label:Object(re.__)("Doodle","coblocks"),keywords:[Object(re.__)("art","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("doodle","coblocks"),Object(re.__)("drawing","coblocks"),Object(re.__)("font","coblocks"),Object(re.__)("marker","coblocks"),Object(re.__)("pencil","coblocks"),Object(re.__)("type","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m1.92731278 4.32703003c.77092511-.7897664 1.54185022-1.50166852 1.88325991-1.3570634.55066079.22246941 0 1.14571746-.33039648 1.69076752-.2753304.46718576-3.14977973 4.32703003-3.14977973 7.01890985 0 1.4238043.52863436 2.6028922 1.47577092 3.3147943.82599119.6229143 1.91629956.8120133 2.90748899.5116796 1.17841409-.3448276 2.14757709-1.5572859 3.37004405-3.0812013 1.33259912-1.6573971 3.11674006-3.82647389 4.49339206-3.82647389 1.7951542 0 1.8171806 1.12347053 1.938326 1.99110119-4.1629956.7119022-5.92511013 4.0823137-5.92511013 5.9733037s1.58590313 3.4371524 3.53524233 3.4371524c1.7951541 0 4.7246696-1.4794216 5.1651982-6.785317h2.7092511v-2.7808676h-2.7202643c-.1651983-1.83537269-1.2004405-4.67185767-4.438326-4.67185767-2.4779736 0-4.60352424 2.12458287-5.44052864 3.15906563-.63876652.81201335-2.26872247 2.75862064-2.52202643 3.02558394-.2753304.3337042-.74889868.9343716-1.22246696.9343716-.49559472 0-.79295155-.9232481-.39647578-2.1357064.38546256-1.21245826 1.54185022-3.18131254 2.03744494-3.9154616.85903084-1.26807564 1.43171806-2.13570634 1.43171806-3.64849833 0-2.4137931-1.8061674-3.18131257-2.76431718-3.18131257-1.45374449 0-2.72026432 1.11234705-2.99559471 1.39043382-.39647577.40044493-.72687225.73414905-.969163 1.03448275zm10.23127752 12.96996667c-.3414097 0-.814978-.2892103-.814978-.8008899 0-.6674082.8039648-2.4471635 3.160793-3.0700779-.3303965 2.9922136-1.5748899 3.8709678-2.345815 3.8709678z"}))},font:{label:Object(re.__)("Font","coblocks"),keywords:[Object(re.__)("font","coblocks"),Object(re.__)("text","coblocks"),Object(re.__)("typography","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m7.93 11.5h4.14l-2.07-5.52zm10.07-11.5h-16c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-16c0-1.1-.9-2-2-2zm-4.05 16.5-1.14-3h-5.64l-1.12 3h-2.09l5.11-13h1.86l5.11 13z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m7.17 13.5h5.64l1.14 3h2.09l-5.11-13h-1.86l-5.11 13h2.09zm2.83-7.52 2.07 5.52h-4.14zm8-5.98h-16c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-16c0-1.1-.9-2-2-2zm0 18h-16v-16h16z"}))},heart:{label:Object(re.__)("Heart","coblocks"),keywords:[Object(re.__)("kiss","coblocks"),Object(re.__)("love","coblocks"),Object(re.__)("shape","coblocks"),Object(re.__)("valentine","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 20-1.45-1.4386921c-5.15-5.0899183-8.55-8.4468665-8.55-12.56675749 0-3.35694823 2.42-5.99455041 5.5-5.99455041 1.74 0 3.41.88283379 4.5 2.27792916 1.09-1.39509537 2.76-2.27792916 4.5-2.27792916 3.08 0 5.5 2.63760218 5.5 5.99455041 0 4.11989099-3.4 7.47683919-8.55 12.57765669",fillRule:"evenodd"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m14.5 0c-1.74 0-3.41.88283379-4.5 2.27792916-1.09-1.39509537-2.76-2.27792916-4.5-2.27792916-3.08 0-5.5 2.63760218-5.5 5.99455041 0 4.11989099 3.4 7.47683919 8.55 12.57765669l1.45 1.4277929 1.45-1.4386921c5.15-5.0899183 8.55-8.4468665 8.55-12.56675749 0-3.35694823-2.42-5.99455041-5.5-5.99455041zm-4.4 16.9482289-.1.1089918-.1-.1089918c-4.76-4.6975477-7.9-7.80381473-7.9-10.95367849 0-2.17983651 1.5-3.8147139 3.5-3.8147139 1.54 0 3.04 1.07901908 3.57 2.57220709h1.87c.52-1.49318801 2.02-2.57220709 3.56-2.57220709 2 0 3.5 1.63487739 3.5 3.8147139 0 3.14986376-3.14 6.25613079-7.9 10.95367849z"}))},star:{label:Object(re.__)("Star","coblocks"),keywords:[Object(re.__)("favorite","coblocks"),Object(re.__)("like","coblocks"),Object(re.__)("plus","coblocks"),Object(re.__)("rate","coblocks"),Object(re.__)("vote","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10.0268555.55859375-2.81000003 6.63-7.19.61 5.46 4.72999995-1.64 7.03 6.18000003-3.73 6.18 3.73-1.64-7.03 5.46-4.72999995-7.19-.61z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10.0268555 5.68859375.97 2.29.47 1.11 1.2.1 2.47.21-1.88 1.62999995-.91.79.27 1.18.56 2.41-2.12-1.28-1.03-.64-1.03000003.62-2.12 1.28.56-2.41.27-1.18-.91-.79-1.88-1.62999995 2.47-.21 1.2-.1.47-1.11zm0-5.13-2.81000003 6.63-7.19.61 5.46 4.72999995-1.64 7.03 6.18000003-3.73 6.18 3.73-1.64-7.03 5.46-4.72999995-7.19-.61z"}))},desktop_mac:{label:Object(re.__)("Desktop","coblocks"),keywords:[Object(re.__)("apple","coblocks"),Object(re.__)("computer","coblocks"),Object(re.__)("desk","coblocks"),Object(re.__)("device","coblocks"),Object(re.__)("monitor","coblocks"),Object(re.__)("office","coblocks"),Object(re.__)("pc","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18.1818182 0h-16.36363638c-1 0-1.81818182.81818182-1.81818182 1.81818182v12.90909088c0 1 .81818182 1.8181818 1.81818182 1.8181818h6.36363636l-1.81818182 2.7272728v.9090909h7.27272724v-.9090909l-1.8181818-2.7272728h6.3636364c1 0 1.8181818-.8181818 1.8181818-1.8181818v-12.90909088c0-1-.8181818-1.81818182-1.8181818-1.81818182z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18.1818182 0h-16.36363638c-1 0-1.81818182.81818182-1.81818182 1.81818182v12.90909088c0 1 .81818182 1.8181818 1.81818182 1.8181818h6.36363636l-1.81818182 2.7272728v.9090909h7.27272724v-.9090909l-1.8181818-2.7272728h6.3636364c1 0 1.8181818-.8181818 1.8181818-1.8181818v-12.90909088c0-1-.8181818-1.81818182-1.8181818-1.81818182zm0 12.9090909h-16.36363638v-11.09090908h16.36363638z"}))},devices:{label:Object(re.__)("Devices","coblocks"),keywords:[Object(re.__)("apple","coblocks"),Object(re.__)("computer","coblocks"),Object(re.__)("desk","coblocks"),Object(re.__)("device","coblocks"),Object(re.__)("ipad","coblocks"),Object(re.__)("office","coblocks"),Object(re.__)("pc","coblocks"),Object(re.__)("surface","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)("g",{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h20v20h-20z"}),Object(ae.createElement)(ie.Path,{d:"m3.33333333 5h14.99999997v-1.66666667h-14.99999997c-.91666666 0-1.66666666.75-1.66666666 1.66666667v9.1666667h-1.66666667v2.5h11.6666667v-2.5h-8.33333337zm15.83333337 1.66666667h-5c-.4583334 0-.8333334.375-.8333334.83333333v8.3333333c0 .4583334.375.8333334.8333334.8333334h5c.4583333 0 .8333333-.375.8333333-.8333334v-8.3333333c0-.45833333-.375-.83333333-.8333333-.83333333zm-.8333334 7.50000003h-3.3333333v-5.83333337h3.3333333z",fill:"currentColor",fillRule:"nonzero"})))},laptop_mac:{label:Object(re.__)("Laptop","coblocks"),keywords:[Object(re.__)("apple","coblocks"),Object(re.__)("computer","coblocks"),Object(re.__)("desk","coblocks"),Object(re.__)("device","coblocks"),Object(re.__)("monitor","coblocks"),Object(re.__)("office","coblocks"),Object(re.__)("pc","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m16.6666667 15c.9166666 0 1.6583333-.75 1.6583333-1.6666667l.0083333-9.16666663c0-.91666667-.75-1.66666667-1.6666666-1.66666667h-13.33333337c-.91666666 0-1.66666666.75-1.66666666 1.66666667v9.16666663c0 .9166667.75 1.6666667 1.66666666 1.6666667h-3.33333333c0 .9166667.75 1.6666667 1.66666667 1.6666667h16.66666663c.9166667 0 1.6666667-.75 1.6666667-1.6666667zm-13.33333337-10.83333333h13.33333337v9.16666663h-13.33333337zm6.66666667 11.66666663c-.45833333 0-.83333333-.375-.83333333-.8333333s.375-.8333333.83333333-.8333333c.4583333 0 .8333333.375.8333333.8333333s-.375.8333333-.8333333.8333333z"}))},tablet_mac:{label:Object(re.__)("Tablet","coblocks"),keywords:[Object(re.__)("apple","coblocks"),Object(re.__)("computer","coblocks"),Object(re.__)("desk","coblocks"),Object(re.__)("device","coblocks"),Object(re.__)("ipad","coblocks"),Object(re.__)("monitor","coblocks"),Object(re.__)("office","coblocks"),Object(re.__)("pc","coblocks"),Object(re.__)("surface","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m15.8333333 0h-11.66666663c-1.15 0-2.08333334.93333333-2.08333334 2.08333333v15.83333337c0 1.15.93333334 2.0833333 2.08333334 2.0833333h11.66666663c1.15 0 2.0833334-.9333333 2.0833334-2.0833333v-15.83333337c0-1.15-.9333334-2.08333333-2.0833334-2.08333333zm-5.8333333 19.1666667c-.69166667 0-1.25-.5583334-1.25-1.25 0-.6916667.55833333-1.25 1.25-1.25.6916667 0 1.25.5583333 1.25 1.25 0 .6916666-.5583333 1.25-1.25 1.25zm6.25-3.3333334h-12.5v-13.3333333h12.5z"}))},watch:{label:Object(re.__)("Watch","coblocks"),keywords:[Object(re.__)("apple","coblocks"),Object(re.__)("device","coblocks"),Object(re.__)("mac","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"nonzero"},Object(ae.createElement)(ie.Path,{d:"m16.6666667 10c0-2.11666667-.9916667-4.00833333-2.5333334-5.225l-.8-4.775h-6.66666663l-.79166667 4.775c-1.55 1.21666667-2.54166667 3.1-2.54166667 5.225s.99166667 4.0083333 2.54166667 5.225l.79166667 4.775h6.66666663l.8-4.775c1.5416667-1.2166667 2.5333334-3.1083333 2.5333334-5.225zm-11.6666667 0c0-2.75833333 2.24166667-5 5-5 2.7583333 0 5 2.24166667 5 5 0 2.7583333-2.2416667 5-5 5-2.75833333 0-5-2.2416667-5-5z"}),Object(ae.createElement)(ie.Path,{d:"m11.925 1.66666667.3416667 2.06666666c-.7083334-.25833333-1.4666667-.4-2.2666667-.4-.79166667 0-1.55833333.14166667-2.25833333.39166667l.34166666-2.05833333zm.3416667 14.60000003-.3416667 2.0666666h-3.84166667l-.34166666-2.0583333c.7.25 1.46666666.3916667 2.25833333.3916667.8 0 1.5583333-.1416667 2.2666667-.4zm1.0666666-16.2666667h-6.66666663l-.79166667 4.775c-1.55 1.21666667-2.54166667 3.1-2.54166667 5.225s.99166667 4.0083333 2.54166667 5.225l.79166667 4.775h6.66666663l.8-4.775c1.5416667-1.2166667 2.5333334-3.1083333 2.5333334-5.225 0-2.11666667-.9916667-4.00833333-2.5333334-5.225zm-3.3333333 15c-2.75833333 0-5-2.2416667-5-5 0-2.75833333 2.24166667-5 5-5 2.7583333 0 5 2.24166667 5 5 0 2.7583333-2.2416667 5-5 5z"}))),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11.925 1.66666667.3416667 2.06666666c-.7083334-.25833333-1.4666667-.4-2.2666667-.4-.79166667 0-1.55833333.14166667-2.25833333.39166667l.34166666-2.05833333zm.3416667 14.60000003-.3416667 2.0666666h-3.84166667l-.34166666-2.0583333c.7.25 1.46666666.3916667 2.25833333.3916667.8 0 1.5583333-.1416667 2.2666667-.4zm1.0666666-16.2666667h-6.66666663l-.79166667 4.775c-1.55 1.21666667-2.54166667 3.1-2.54166667 5.225s.99166667 4.0083333 2.54166667 5.225l.79166667 4.775h6.66666663l.8-4.775c1.5416667-1.2166667 2.5333334-3.1083333 2.5333334-5.225 0-2.11666667-.9916667-4.00833333-2.5333334-5.225zm-3.3333333 15c-2.75833333 0-5-2.2416667-5-5 0-2.75833333 2.24166667-5 5-5 2.7583333 0 5 2.24166667 5 5 0 2.7583333-2.2416667 5-5 5z"}))},keyboard:{label:Object(re.__)("Keyboard","coblocks"),keywords:[Object(re.__)("apple","coblocks"),Object(re.__)("computer","coblocks"),Object(re.__)("desk","coblocks"),Object(re.__)("device","coblocks"),Object(re.__)("ipad","coblocks"),Object(re.__)("office","coblocks"),Object(re.__)("pc","coblocks"),Object(re.__)("surface","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18 0h-16c-1.1 0-1.99.9-1.99 2l-.01 10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-10c0-1.1-.9-2-2-2zm-9 3h2v2h-2zm0 3h2v2h-2zm-3-3h2v2h-2zm0 3h2v2h-2zm-1 2h-2v-2h2zm0-3h-2v-2h2zm9 7h-8v-2h8zm0-4h-2v-2h2zm0-3h-2v-2h2zm3 3h-2v-2h2zm0-3h-2v-2h2z",transform:"translate(0 3)"}))},device_hub:{label:Object(re.__)("Hub","coblocks"),keywords:[Object(re.__)("connect","coblocks"),Object(re.__)("device","coblocks"),Object(re.__)("hub","coblocks"),Object(re.__)("social","coblocks"),Object(re.__)("usb","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m15.5555556 14.4444444-4.4444445-4.4444444v-3.53333333c1.2888889-.46666667 2.2222222-1.68888889 2.2222222-3.13333334 0-1.84444444-1.4888889-3.33333333-3.3333333-3.33333333-1.84444444 0-3.33333333 1.48888889-3.33333333 3.33333333 0 1.44444445.93333333 2.66666667 2.22222222 3.13333334v3.53333333l-4.44444445 4.4444444h-4.44444444v5.5555556h5.55555556v-3.3888889l4.44444444-4.6666667 4.4444444 4.6666667v3.3888889h5.5555556v-5.5555556z",fillRule:"evenodd"}))},drafts:{label:Object(re.__)("Email","coblocks"),keywords:[Object(re.__)("email","coblocks"),Object(re.__)("letter","coblocks"),Object(re.__)("mail","coblocks"),Object(re.__)("os","coblocks"),Object(re.__)("read","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m19.99 7c0-.72-.37-1.35-.94-1.7l-9.05-5.3-9.05 5.3c-.57.35-.95.98-.95 1.7v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2zm-9.99 5-8.26-5.16 8.26-4.84 8.26 4.84z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m19.99 7c0-.72-.37-1.35-.94-1.7l-9.05-5.3-9.05 5.3c-.57.35-.95.98-.95 1.7v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2zm-2 0v.01l-7.99 4.99-8-5 8-4.68zm-15.99 11v-8.66l8 5.02 7.99-4.99.01 8.63z"}))},email:{label:Object(re.__)("Email","coblocks"),keywords:[Object(re.__)("email","coblocks"),Object(re.__)("letter","coblocks"),Object(re.__)("mail","coblocks"),Object(re.__)("os","coblocks"),Object(re.__)("read","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"}))},reply_all:{label:Object(re.__)("Reply","coblocks"),keywords:[Object(re.__)("comment","coblocks"),Object(re.__)("email","coblocks"),Object(re.__)("mail","coblocks"),Object(re.__)("message","coblocks"),Object(re.__)("reply","coblocks"),Object(re.__)("respond","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m5.83333333 6.66666667v-2.5l-5.83333333 5.83333333 5.83333333 5.8333333v-2.5l-3.33333333-3.3333333zm4.99999997.83333333v-3.33333333l-5.8333333 5.83333333 5.8333333 5.8333333v-3.4166666c4.1666667 0 7.0833334 1.3333333 9.1666667 4.25-.8333333-4.1666667-3.3333333-8.33333337-9.1666667-9.1666667z"}))},send:{label:Object(re.__)("Send","coblocks"),keywords:[Object(re.__)("deliver","coblocks"),Object(re.__)("email","coblocks"),Object(re.__)("mail","coblocks"),Object(re.__)("send","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"currentColor",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m.00952381 18.5714286 19.99047619-8.5714286-19.99047619-8.57142857-.00952381 6.66666667 14.2857143 1.9047619-14.2857143 1.9047619z"}),Object(ae.createElement)(ie.Path,{d:"m1.91428571 4.31428571 7.15238096 3.06666667-7.16190477-.95238095zm7.14285715 8.30476189-7.15238096 3.0666667v-2.1142857zm-9.04761905-11.19047617-.00952381 6.66666667 14.2857143 1.9047619-14.2857143 1.9047619.00952381 6.6666667 19.99047619-8.5714286z",fillRule:"nonzero"}))),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m1.91428571 4.31428571 7.15238096 3.06666667-7.16190477-.95238095zm7.14285715 8.30476189-7.15238096 3.0666667v-2.1142857zm-9.04761905-11.19047617-.00952381 6.66666667 14.2857143 1.9047619-14.2857143 1.9047619.00952381 6.6666667 19.99047619-8.5714286z"}))},signal:{label:Object(re.__)("Signal","coblocks"),keywords:[Object(re.__)("radio","coblocks"),Object(re.__)("waves","coblocks"),Object(re.__)("wifi","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 8.675c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 2c0-3.31-2.69-6-6-6s-6 2.69-6 6c0 2.22 1.21 4.15 3 5.19l1-1.74c-1.19-.7-2-1.97-2-3.45 0-2.21 1.79-4 4-4s4 1.79 4 4c0 1.48-.81 2.75-2 3.45l1 1.74c1.79-1.04 3-2.97 3-5.19zm-6-10c-5.52 0-10 4.48-10 10 0 3.7 2.01 6.92 4.99 8.65l1-1.73c-2.38-1.39-3.99-3.96-3.99-6.92 0-4.42 3.58-8 8-8s8 3.58 8 8c0 2.96-1.61 5.53-4 6.92l1 1.73c2.99-1.73 5-4.95 5-8.65 0-5.52-4.48-10-10-10z"}))},blocks:{label:Object(re.__)("Blocks","coblocks"),keywords:[Object(re.__)("block","coblocks"),Object(re.__)("blocks","coblocks"),Object(re.__)("box","coblocks"),Object(re.__)("boxes","coblocks"),Object(re.__)("build","coblocks"),Object(re.__)("square","coblocks"),Object(re.__)("widgets","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10.3519669 11.7141378v8.2858622h8.2815735v-8.2858622zm-10.3519669 8.2858622h8.2815735v-8.2858622h-8.2815735zm0-18.64319006v8.28586225h8.2815735v-8.28586225zm14.1407867-1.35680994-5.8592132 5.85189021 5.8592132 5.86224759 5.8592133-5.86224759z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m14.1407867 2.93112377 2.9296067 2.93112377-2.9296067 2.93112377-2.9296066-2.93112377zm-7.92960658.49715173v4.14293113h-4.14078675v-4.14293113zm10.35196688 10.3573278v4.1429311h-4.1407868v-4.1429311zm-10.35196688 0v4.1429311h-4.14078675v-4.1429311zm7.92960658-13.7856033-5.8592132 5.85189021 5.8592132 5.86224759 5.8592133-5.86224759zm-5.8592132 1.35680994h-8.2815735v8.28586225h8.2815735zm10.3519669 10.35732786h-8.2815735v8.2858622h8.2815735zm-10.3519669 0h-8.2815735v8.2858622h8.2815735z"}))},marker:{label:Object(re.__)("Marker","coblocks"),keywords:[Object(re.__)("about","coblocks"),Object(re.__)("check","coblocks"),Object(re.__)("checkbox","coblocks"),Object(re.__)("directions","coblocks"),Object(re.__)("map","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c3.921743 0 7.114273 3.19253001 7.114273 7.11427301 0 4.95331259-6.1894175 11.86305029-6.4562027 12.15651399l-.6580703.729213-.65807025-.729213c-.26678524-.2934637-6.45620276-7.2032014-6.45620276-12.15651399 0-3.921743 3.19253001-7.11427301 7.11427301-7.11427301zm-1.36060471 9.04401956-1.56514007-1.5740329-1.26278345 1.26278346 2.82792352 2.82792348 5.34459761-5.34459756-1.2538906-1.26278346z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c-3.921743 0-7.11427301 3.19253001-7.11427301 7.11427301 0 4.95331259 6.18941752 11.86305029 6.45620276 12.15651399l.65807025.729213.6580703-.729213c.2667852-.2934637 6.4562027-7.2032014 6.4562027-12.15651399 0-3.921743-3.19253-7.11427301-7.114273-7.11427301zm0 17.3143619c-1.9386394-2.3210315-5.33570476-7.0520231-5.33570476-10.20008889 0-2.94353046 2.3921743-5.33570476 5.33570476-5.33570476 2.9435305 0 5.3357048 2.3921743 5.3357048 5.33570476 0 3.40595819-3.7794576 8.32369939-5.3357048 10.20008889zm-1.36060471-8.27034234-1.56514007-1.5740329-1.26278345 1.26278346 2.82792352 2.82792348 5.34459761-5.34459756-1.2538906-1.26278346z"}))},mountains:{label:Object(re.__)("Mountains","coblocks"),keywords:[Object(re.__)("hills","coblocks"),Object(re.__)("landscape","coblocks"),Object(re.__)("minimal","coblocks"),Object(re.__)("outdoors","coblocks"),Object(re.__)("outside","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11.8181818 4.54545455-3.40909089 4.54545454 2.59090909 3.45454541-1.45454545 1.0909091c-1.53636364-2.0454545-4.0909091-5.45454542-4.0909091-5.45454542l-5.45454545 7.27272732h20z",fillRule:"evenodd"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m11.8181818 4.54545455-3.83636362 5.11818181 1.13636364 1.51818184 2.69999998-3.60909093 4.5454546 6.06363633h-7.69090913l-3.64545454-4.88181815-5.02727273 6.70000005h20zm-8.18181816 9.09090905 1.38181818-1.8454545 1.38181818 1.8454545z"}))},waves:{label:Object(re.__)("Waves","coblocks"),keywords:[Object(re.__)("fun","coblocks"),Object(re.__)("minimal","coblocks"),Object(re.__)("ocean","coblocks"),Object(re.__)("outdoors","coblocks"),Object(re.__)("outside","coblocks"),Object(re.__)("summer","coblocks"),Object(re.__)("water","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m15 16.6594678c-1.35 0-2.2.42-2.95.8-.65.33-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.38-1.57-.8-2.95-.8s-2.2.42-2.95.8c-.65.33-1.17.6-2.05.6v1.95c1.35 0 2.2-.42 2.95-.8.65-.33 1.17-.6 2.05-.6s1.4.25 2.05.6c.75.38 1.57.8 2.95.8s2.2-.42 2.95-.8c.65-.33 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8v-1.95c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8zm0-5.604419c-1.35 0-2.2.43-2.95.8-.65.32-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.38-1.57-.8-2.95-.8s-2.2.43-2.95.8c-.65.32-1.17.6-2.05.6v1.95c1.35 0 2.2-.43 2.95-.8.65-.35 1.15-.6 2.05-.6s1.4.25 2.05.6c.75.38 1.57.8 2.95.8s2.2-.43 2.95-.8c.65-.35 1.15-.6 2.05-.6s1.4.25 2.05.6c.75.38 1.58.8 2.95.8v-1.95c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8zm2.95-10.2550488c-.75-.38-1.58-.8-2.95-.8s-2.2.42-2.95.8c-.65.32-1.18.6-2.05.6-.9 0-1.4-.25-2.05-.6-.75-.37-1.57-.8-2.95-.8s-2.2.42-2.95.8c-.65.33-1.17.6-2.05.6v1.93c1.35 0 2.2-.43 2.95-.8.65-.33 1.17-.6 2.05-.6s1.4.25 2.05.6c.75.38 1.57.8 2.95.8s2.2-.43 2.95-.8c.65-.32 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8v-1.95c-.9 0-1.4-.25-2.05-.58zm-2.95 4.65062988c-1.35 0-2.2.43-2.95.8-.65.35-1.15.6-2.05.6s-1.4-.25-2.05-.6c-.75-.38-1.57-.8-2.95-.8s-2.2.43-2.95.8c-.65.35-1.15.6-2.05.6v1.95c1.35 0 2.2-.43 2.95-.8.65-.32 1.18-.6 2.05-.6s1.4.25 2.05.6c.75.38 1.57.8 2.95.8s2.2-.43 2.95-.8c.65-.32 1.18-.6 2.05-.6.9 0 1.4.25 2.05.6.75.38 1.58.8 2.95.8v-1.95c-.9 0-1.4-.25-2.05-.6-.75-.38-1.6-.8-2.95-.8z"}))},globe:{label:Object(re.__)("Globe","coblocks"),keywords:[Object(re.__)("earth","coblocks"),Object(re.__)("global","coblocks"),Object(re.__)("location","coblocks"),Object(re.__)("map","coblocks"),Object(re.__)("public","coblocks"),Object(re.__)("world","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 0c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm-8 10c0-.61.08-1.21.21-1.78l4.78 4.78v1c0 1.1.9 2 2 2v1.93c-3.93-.5-6.99-3.86-6.99-7.93zm13.89 5.4c-.26-.81-1-1.4-1.9-1.4h-1v-3c0-.55-.45-1-1-1h-6v-2h2c.55 0 1-.45 1-1v-2h2c1.1 0 2-.9 2-2v-.41c2.93 1.18 5.01 4.06 5.01 7.41 0 2.08-.81 3.98-2.11 5.4z"}))},city:{label:Object(re.__)("City","coblocks"),keywords:[Object(re.__)("building","coblocks"),Object(re.__)("business","coblocks"),Object(re.__)("corporation","coblocks"),Object(re.__)("location","coblocks"),Object(re.__)("map","coblocks"),Object(re.__)("public","coblocks"),Object(re.__)("skyscraper","coblocks"),Object(re.__)("town","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m13.1578947 9.47368421v-6.31578947l-3.1578947-3.15789474-3.15789474 3.15789474v2.10526315h-6.31578947v14.73684211h18.94736841v-10.52631579zm-8.42105259 8.42105259h-2.10526316v-2.1052631h2.10526316zm0-4.2105263h-2.10526316v-2.1052631h2.10526316zm0-4.21052629h-2.10526316v-2.10526316h2.10526316zm6.31578949 8.42105259h-2.10526318v-2.1052631h2.10526318zm0-4.2105263h-2.10526318v-2.1052631h2.10526318zm0-4.21052629h-2.10526318v-2.10526316h2.10526318zm0-4.21052632h-2.10526318v-2.10526315h2.10526318zm6.3157895 12.63157891h-2.1052632v-2.1052631h2.1052632zm0-4.2105263h-2.1052632v-2.1052631h2.1052632z"}))},dining:{label:Object(re.__)("Dining","coblocks"),keywords:[Object(re.__)("drink","coblocks"),Object(re.__)("food","coblocks"),Object(re.__)("fork","coblocks"),Object(re.__)("menu","coblocks"),Object(re.__)("restaurant","coblocks"),Object(re.__)("spoon","coblocks"),Object(re.__)("taste","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m5.6064238 11.1802028 2.96010809-2.96010811-7.34274162-7.33228187c-1.63172036 1.63172036-1.63172036 4.27803607 0 5.92021617zm7.0917077-1.89321403c1.6003411.74264193 3.8491865.21965466 5.5122861-1.44344493 1.9978115-1.99781147 2.3848221-4.86378185.8472394-6.40136449-1.5271229-1.5271229-4.3930933-1.15057205-6.4013645.84723942-1.6630996 1.66309959-2.1860869 3.91194496-1.4434449 5.51228608l-10.20871199 10.20871195 1.47482417 1.4748242 7.20676492-7.1858454 7.1963052 7.1963052 1.4748241-1.4748242-7.1963051-7.1963052z"}))},couch:{label:Object(re.__)("Couch","coblocks"),keywords:[Object(re.__)("chair","coblocks"),Object(re.__)("chill","coblocks"),Object(re.__)("relax","coblocks"),Object(re.__)("weekend","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18.1818182 7.87545455c-1.0045455 0-1.8181818.81363636-1.8181818 1.81818181v2.72727274h-12.72727276v-2.72727274c0-1.00454545-.81363637-1.81818181-1.81818182-1.81818181-1.00454546 0-1.81818182.81363636-1.81818182 1.81818181v5.14764964c0 1 .81818182 1.8181818 1.81818182 1.8181818h16.36363638c1 0 1.8181818-.8181818 1.8181818-1.8181818v-5.14764964c0-1.00454545-.8136364-1.81818181-1.8181818-1.81818181zm-2.7272727-4.54545455h-10.90909095c-1 0-1.81818182.81818182-1.81818182 1.81818182v1.95909091c1.05454545.37727272 1.81818182 1.37727272 1.81818182 2.55909091v1.84545456h10.90909095v-1.84545456c0-1.18181819.7636363-2.18181819 1.8181818-2.55909091v-1.95909091c0-1-.8181818-1.81818182-1.8181818-1.81818182z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17.5 7.5v-1.66666667c0-1.375-1.125-2.5-2.5-2.5h-10c-1.375 0-2.5 1.125-2.5 2.5v1.66666667c-1.375 0-2.5 1.125-2.5 2.5v4.1666667c0 1.375 1.125 2.5 2.5 2.5h15c1.375 0 2.5-1.125 2.5-2.5v-4.1666667c0-1.375-1.125-2.5-2.5-2.5zm-13.33333333-1.66666667c0-.45833333.375-.83333333.83333333-.83333333h10c.4583333 0 .8333333.375.8333333.83333333v2.31666667c-.5083333.45833333-.8333333 1.11666667-.8333333 1.85v1.6666667h-10v-1.6666667c0-.73333333-.325-1.39166667-.83333333-1.85zm14.16666663 8.33333337c0 .4583333-.375.8333333-.8333333.8333333h-15c-.45833333 0-.83333333-.375-.83333333-.8333333v-4.1666667c0-.45833333.375-.83333333.83333333-.83333333s.83333333.375.83333333.83333333v3.3333333h13.33333337v-3.3333333c0-.45833333.375-.83333333.8333333-.83333333s.8333333.375.8333333.83333333z"}))},cake:{label:Object(re.__)("Cake","coblocks"),keywords:[Object(re.__)("celebration","coblocks"),Object(re.__)("food","coblocks"),Object(re.__)("fun","coblocks"),Object(re.__)("happy","coblocks"),Object(re.__)("party","coblocks"),Object(re.__)("taste","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 5.45454545c1.0090909 0 1.8181818-.81818181 1.8181818-1.81818181 0-.34545455-.0909091-.66363637-.2636363-.93636364l-1.5545455-2.7-1.55454545 2.7c-.17272728.27272727-.26363637.59090909-.26363637.93636364 0 1 .81818182 1.81818181 1.81818182 1.81818181zm4.1818182 9.08181815-.9727273-.9727272-.9818182.9727272c-1.1818182 1.1818182-3.25454543 1.1909091-4.44545452 0l-.97272727-.9727272-.99090909.9727272c-.59090909.5909091-1.38181818.9181819-2.21818182.9181819-.66363636 0-1.27272727-.209091-1.78181818-.5545455v4.1909091c0 .5.40909091.9090909.90909091.9090909h14.54545457c.5 0 .9090909-.4090909.9090909-.9090909v-4.1909091c-.5090909.3454545-1.1181818.5545455-1.7818182.5545455-.8363636 0-1.6272727-.3272728-2.2181818-.9181819zm1.2727273-6.35454542h-4.5454546v-1.81818182h-1.81818181v1.81818182h-4.54545454c-1.50909091 0-2.72727273 1.21818182-2.72727273 2.72727272v1.4c0 .9818182.8 1.7818182 1.78181818 1.7818182.47272727 0 .92727273-.1818182 1.25454545-.5181818l1.94545455-1.9363637 1.93636364 1.9363637c.67272727.6727272 1.84545456.6727272 2.51818186 0l1.9454545-1.9363637 1.9363636 1.9363637c.3363637.3363636.7818182.5181818 1.2545455.5181818.9818182 0 1.7818182-.8 1.7818182-1.7818182v-1.4c.0090909-1.5090909-1.2090909-2.72727272-2.7181818-2.72727272z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 5.45454545c1.0090909 0 1.8181818-.81818181 1.8181818-1.81818181 0-.34545455-.0909091-.66363637-.2636363-.93636364l-1.5545455-2.7-1.55454545 2.7c-.17272728.27272727-.26363637.59090909-.26363637.93636364 0 1 .81818182 1.81818181 1.81818182 1.81818181zm4.1818182 9.08181815-.9727273-.9727272-.9818182.9727272c-1.1818182 1.1818182-3.25454543 1.1909091-4.44545452 0l-.97272727-.9727272-.99090909.9727272c-.59090909.5909091-1.38181818.9181819-2.21818182.9181819-.66363636 0-1.27272727-.209091-1.78181818-.5545455v4.1909091c0 .5.40909091.9090909.90909091.9090909h14.54545457c.5 0 .9090909-.4090909.9090909-.9090909v-4.1909091c-.5090909.3454545-1.1181818.5545455-1.7818182.5545455-.8363636 0-1.6272727-.3272728-2.2181818-.9181819zm1.2727273-6.35454542h-4.5454546v-1.81818182h-1.81818181v1.81818182h-4.54545454c-1.50909091 0-2.72727273 1.21818182-2.72727273 2.72727272v1.4c0 .9818182.8 1.7818182 1.78181818 1.7818182.47272727 0 .92727273-.1818182 1.25454545-.5181818l1.94545455-1.9363637 1.93636364 1.9363637c.67272727.6727272 1.84545456.6727272 2.51818186 0l1.9454545-1.9363637 1.9363636 1.9363637c.3363637.3363636.7818182.5181818 1.2545455.5181818.9818182 0 1.7818182-.8 1.7818182-1.7818182v-1.4c.0090909-1.5090909-1.2090909-2.72727272-2.7181818-2.72727272z"}))},flower:{label:Object(re.__)("Flower","coblocks"),keywords:[Object(re.__)("gardening","coblocks"),Object(re.__)("landscape","coblocks"),Object(re.__)("nice","coblocks"),Object(re.__)("outdoors","coblocks"),Object(re.__)("outside","coblocks"),Object(re.__)("petal","coblocks"),Object(re.__)("relax","coblocks"),Object(re.__)("scent","coblocks"),Object(re.__)("smell","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10 20c4.7333333 0 8.5714286-3.8380952 8.5714286-8.5714286-4.7333334 0-8.5714286 3.8380953-8.5714286 8.5714286zm-6.0952381-11.19047619c0 1.31428569 1.06666667 2.38095239 2.38095239 2.38095239.5047619 0 .96190476-.152381 1.35238095-.4190476l-.01904762.1809524c0 1.3142857 1.06666667 2.3809523 2.38095238 2.3809523 1.3142857 0 2.3809524-1.0666666 2.3809524-2.3809523l-.0190476-.1809524c.3809523.2666666.847619.4190476 1.3523809.4190476 1.3142857 0 2.3809524-1.0666667 2.3809524-2.38095239 0-.95238095-.5619048-1.76190476-1.3619048-2.14285714.8-.38095238 1.3619048-1.19047619 1.3619048-2.14285715 0-1.31428571-1.0666667-2.38095238-2.3809524-2.38095238-.5047619 0-.9619047.15238096-1.3523809.41904762l.0190476-.18095238c0-1.31428571-1.0666667-2.38095238-2.3809524-2.38095238-1.31428571 0-2.38095238 1.06666667-2.38095238 2.38095238l.01904762.18095238c-.38095238-.26666666-.84761905-.41904762-1.35238095-.41904762-1.31428572 0-2.38095239 1.06666667-2.38095239 2.38095238 0 .95238096.56190477 1.76190477 1.36190477 2.14285715-.8.38095238-1.36190477 1.19047619-1.36190477 2.14285714zm6.0952381-4.52380952c1.3142857 0 2.3809524 1.06666666 2.3809524 2.38095238 0 1.31428571-1.0666667 2.38095238-2.3809524 2.38095238-1.31428571 0-2.38095238-1.06666667-2.38095238-2.38095238 0-1.31428572 1.06666667-2.38095238 2.38095238-2.38095238zm-8.57142857 7.14285711c0 4.7333334 3.83809524 8.5714286 8.57142857 8.5714286 0-4.7333333-3.83809524-8.5714286-8.57142857-8.5714286z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m6.81904762 11.4952381c.14285714 0 .27619048-.0095238.40952381-.0285714.44761905 1.0952381 1.52380952 1.8666666 2.77142857 1.8666666 1.247619 0 2.3238095-.7714285 2.7714286-1.8666666.1333333.0190476.2761904.0285714.4095238.0285714 1.647619 0 2.9904762-1.3428571 2.9904762-2.9904762 0-.67619047-.2380953-1.32380952-.6380953-1.83809523.4095238-.51428572.6380953-1.16190477.6380953-1.83809524 0-1.64761905-1.3428572-2.99047619-2.9904762-2.99047619-.1428572 0-.2761905.00952381-.4095238.02857143-.4476191-1.0952381-1.5238096-1.86666667-2.7714286-1.86666667-1.24761905 0-2.32380952.77142857-2.77142857 1.86666667-.13333333-.01904762-.27619048-.02857143-.40952381-.02857143-1.64761905 0-2.99047619 1.34285714-2.99047619 2.99047619 0 .67619047.23809524 1.32380952.63809524 1.83809524-.40952381.51428571-.64761905 1.16190476-.64761905 1.83809523 0 1.6476191 1.34285714 2.9904762 3 2.9904762zm3.18095238-.0666667c-.59047619 0-1.06666667-.4666666-1.08571429-1.047619l.11428572-1.03809526c.3047619.11428572.62857143.18095238.97142857.18095238.3428571 0 .6761905-.06666666.9809524-.18095238l.1047619 1.03809526c-.0190476.5809524-.4952381 1.047619-1.0857143 1.047619zm3.1809524-1.83809521c-.2285714 0-.4380953-.06666667-.6095238-.19047619l-.7714286-.54285714c.5238095-.42857143.8952381-1.03809524 1.0095238-1.74285715l.8380952.4c.3809524.18095239.6285715.56190477.6285715.98095239 0 .6095238-.4952381 1.09523809-1.0952381 1.09523809zm-.6190476-5.65714286c.1904762-.12380952.4-.19047619.6190476-.19047619.6 0 1.0857143.48571429 1.0857143 1.08571429 0 .41904762-.2380953.79047619-.6285715.98095238l-.8380952.4c-.1142857-.70476191-.4857143-1.31428571-1.0190476-1.74285714zm-2.5619048-2.02857143c.5904762 0 1.0666667.46666667 1.0857143 1.04761905l-.1047619 1.03809524c-.3047619-.11428571-.6380953-.18095238-.9809524-.18095238-.34285714 0-.66666667.06666667-.97142857.18095238l-.11428572-1.03809524c.01904762-.58095238.4952381-1.04761905 1.08571429-1.04761905zm-3.18095238 1.83809524c.22857143 0 .43809524.06666667.60952381.19047619l.77142857.53333334c-.52380952.42857143-.8952381 1.03809523-1.00952381 1.74285714l-.83809524-.4c-.38095238-.19047619-.62857143-.56190476-.62857143-.98095238 0-.6.4952381-1.08571429 1.0952381-1.08571429zm-.46666667 3.78095238.83809524-.4c.11428571.70476191.48571429 1.31428572 1.01904762 1.74285715l-.77142857.52380952c-.19047619.12380952-.4.19047619-.61904762.19047619-.6 0-1.08571429-.48571428-1.08571429-1.08571428-.00952381-.40952381.23809524-.78095239.61904762-.97142858zm3.64761905 12.47619048c4.7333333 0 8.5714286-3.8380952 8.5714286-8.5714286-4.7333334 0-8.5714286 3.8380953-8.5714286 8.5714286zm2.3238095-2.3238095c.6761905-1.8095238 2.1142857-3.2571429 3.9238095-3.9238095-.6761904 1.8095238-2.1142857 3.247619-3.9238095 3.9238095zm-10.89523807-6.2476191c0 4.7333334 3.83809524 8.5714286 8.57142857 8.5714286 0-4.7333333-3.83809524-8.5714286-8.57142857-8.5714286zm2.32380952 2.3238096c1.80952381.6761904 3.25714286 2.1142857 3.92380953 3.9238095-1.80952381-.6761905-3.24761905-2.1142857-3.92380953-3.9238095z"}))},vintage_filter:{label:Object(re.__)("Vintage Filter","coblocks"),keywords:[Object(re.__)("artist","coblocks"),Object(re.__)("camera","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("flower","coblocks"),Object(re.__)("photography","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m14.9874888 10.357462c-.2502234-.1429848-.5093833-.2591599-.7685433-.357462.25916-.09830206.5183199-.21447721.7685433-.35746202 1.7158177-.9919571 2.6720286-2.78820375 2.6809652-4.6380697-1.5996426-.92046471-3.6371761-.99195711-5.3619303 0-.2502234.1429848-.4825737.31277926-.697051.48257372.0446828-.27703306.0714924-.56300268.0714924-.84897229 0-1.98391421-1.0813226-3.70866846-2.6809651-4.63806971-1.59964254.92940125-2.68096515 2.6541555-2.68096515 4.63806971 0 .28596961.02680965.57193923.07149241.84897229-.21447722-.17873101-.44682753-.34852547-.69705094-.49151028-1.7158177-.9919571-3.75335121-.9204647-5.3619303 0 0 1.84986596.95621091 3.64611261 2.68096515 4.63806971.25022341.14298481.50938338.25915996.76854334.35746202-.25915996.09830205-.51831993.21447725-.76854334.35746205-1.71581769.9919571-2.6720286 2.7882037-2.68096515 4.6380697 1.59964254.9204647 3.63717605.9919571 5.3619303 0 .25022341-.1429848.48257372-.3127793.69705094-.4825738-.04468276.2859697-.07149241.5719393-.07149241.8579089 0 1.9839142 1.08132261 3.7086684 2.68096515 4.6380697 1.5996425-.9294013 2.6809651-2.6541555 2.6809651-4.6380697 0-.2859696-.0268096-.5719392-.0714924-.8489723.2144773.178731.4468276.3395889.697051.4825737 1.7158177.9919571 3.7533512.9204647 5.3619303 0-.0089366-1.8498659-.9651475-3.6461126-2.6809652-4.6380697zm-5.9874888 3.2171582c-1.97497766 0-3.5746202-1.5996425-3.5746202-3.5746202 0-1.97497766 1.59964254-3.5746202 3.5746202-3.5746202 1.9749777 0 3.5746202 1.59964254 3.5746202 3.5746202 0 1.9749777-1.5996425 3.5746202-3.5746202 3.5746202z",transform:"translate(1)"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m14.9874888 10.357462c-.2502234-.1429848-.5093833-.2591599-.7685433-.357462.25916-.09830206.5183199-.21447721.7685433-.35746202 1.7158177-.9919571 2.6720286-2.78820375 2.6809652-4.6380697-.8132261-.46470063-1.7426274-.71492404-2.6899017-.71492404-.9115282 0-1.8319929.23235031-2.6720286.71492404-.2502234.1429848-.4825737.31277926-.697051.48257372.0446828-.27703306.0714924-.56300268.0714924-.84897229 0-1.98391421-1.0813226-3.70866846-2.6809651-4.63806971-1.59964254.92940125-2.68096515 2.6541555-2.68096515 4.63806971 0 .28596961.02680965.57193923.07149241.84897229-.21447722-.17873101-.44682753-.34852547-.69705094-.49151028-.84003575-.48257372-1.76050045-.71492403-2.6720286-.71492403-.9383378 0-1.8766756.25022341-2.6899017.71492403 0 1.84986596.95621091 3.64611261 2.68096515 4.63806971.25022341.14298481.50938338.25915996.76854334.35746202-.25915996.09830205-.51831993.21447725-.76854334.35746205-1.71581769.9919571-2.6720286 2.7882037-2.68096515 4.6380697.8132261.4647006 1.74262735.714924 2.6899017.714924.91152815 0 1.83199285-.2323503 2.6720286-.714924.25022341-.1429848.48257372-.3127793.69705094-.4825738-.04468276.2859697-.07149241.5719393-.07149241.8579089 0 1.9839142 1.08132261 3.7086684 2.68096515 4.6380697 1.5996425-.9294013 2.6809651-2.6541555 2.6809651-4.6380697 0-.2859696-.0268096-.5719392-.0714924-.8489723.2144773.178731.4468276.3395889.697051.4825737.8400357.4825738 1.7605004.7149241 2.6720286.7149241.9383378 0 1.8766756-.2502234 2.6899017-.7149241-.0089366-1.8498659-.9651475-3.6461126-2.6809652-4.6380697zm-2.2698838-3.46738157c.1876676-.15192136.3395889-.25915997.4825737-.33065237.5451296-.31277927 1.1617516-.48257373 1.7873101-.48257373.2412869 0 .4736372.02680966.7059875.07149241-.277033.81322609-.8400357 1.51027703-1.590706 1.94816801-.1519213.0893655-.3217158.1608579-.5183199.24128686l-1.233244.46470062c-.1519213-.41108132-.3663985-.77747989-.6434316-1.10813226zm-3.717605-4.6023235c.56300268.64343163.89365505 1.48346738.89365505 2.35031278 0 .16979445-.0178731.36639857-.04468275.56300268l-.20554066 1.28686327c-.21447722-.03574621-.42895443-.06255586-.64343164-.06255586s-.42895442.02680965-.63449508.06255586l-.20554067-1.28686327c-.0357462-.19660411-.0536193-.39320823-.0536193-.56300268 0-.87578195.33065237-1.70688115.89365505-2.35031278zm-6.69347632 3.85165326c.23235031-.05361931.47363718-.07149241.71492404-.07149241.61662199 0 1.23324397.16085791 1.77837355.48257373.13404826.08042895.28596961.17873101.43789097.31277927l1.02770331.85790884c-.26809652.32171582-.47363718.67917784-.62555853 1.07238606l-1.23324397-.46470062c-.18766756-.08042896-.35746202-.16085791-.50044683-.24128687-.77747989-.44682752-1.33154602-1.13494191-1.59964254-1.948168zm2.97587132 6.96157281c-.18766756.1519214-.33958892.25916-.48257373.3306524-.54512958.3127793-1.16175156.4825737-1.7873101.4825737-.24128686 0-.47363718-.0268096-.70598749-.0714924.27703307-.8132261.84003575-1.510277 1.59070599-1.948168.15192136-.0893655.32171582-.1608579.51831993-.2412869l1.23324397-.4647006c.1429848.4110813.36639857.7864165.64343163 1.1081323zm3.717605 4.6112601c-.56300268-.6434317-.89365505-1.4834674-.89365505-2.3503128 0-.178731.0178731-.3663986.0536193-.5808758l.19660411-1.2689902c.20554067.0357462.42001788.0625559.64343164.0625559.21447721 0 .42895442-.0268097.63449508-.0625559l.20554067 1.2868633c.0357462.1966041.0536193.3932082.0536193.5630027 0 .8757819-.33065237 1.7068811-.89365505 2.3503128zm5.9785523-3.7890974c-.616622 0-1.233244-.1608579-1.7783736-.4825738-.1608579-.0893655-.3038427-.1966041-.4378909-.3038427l-1.0277033-.8579088c.2680965-.3217158.4825737-.6791779.6255585-1.0813226l1.233244.4647006c.1966041.0714924.3663985.1519213.5093833.2323503.7596068.437891 1.313673 1.1349419 1.590706 1.948168-.2412868.0625559-.4825737.080429-.714924.080429z",transform:"translate(1)"}))},build:{label:Object(re.__)("Build","coblocks"),keywords:[Object(re.__)("block","coblocks"),Object(re.__)("blocks","coblocks"),Object(re.__)("box","coblocks"),Object(re.__)("boxes","coblocks"),Object(re.__)("build","coblocks"),Object(re.__)("square","coblocks"),Object(re.__)("widgets","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h20v20h-20z"}),Object(ae.createElement)(ie.Path,{d:"m19.6611198 16.3587437-8.2604891-8.26048913c.8460633-2.12880446.4093855-4.63970202-1.3100335-6.36821846-2.09241464-2.09241464-5.34930351-2.2834612-7.66915452-.59133458l3.4934227 3.50252016-1.2918386 1.28274115-3.48432525-3.48432525c-1.69212662 2.31075356-1.50108006 5.57673988.59133458 7.66005711 1.69212662 1.6921266 4.15753691 2.1379019 6.26814645 1.3464233l8.28778144 8.2877814c.3548008.3548008.9279404.3548008 1.2827412 0l2.0924146-2.0924146c.3638982-.3457033.3638982-.9188429 0-1.2827411z",fill:"currentColor",fillRule:"nonzero"}))),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd",transform:"translate(0 -.734049)"},Object(ae.createElement)(ie.Path,{d:"m0 1h20v20h-20z"}),Object(ae.createElement)(ie.Path,{d:"m19.6627376 17.0986011-8.2473132-8.24731315c.8447138-2.1254089.4087325-4.63230145-1.307944-6.35806082-2.08907708-2.08907713-5.34077104-2.27981895-7.65692177-.59039136l3.48785051 3.49693345-1.28977806 1.28069511-3.47876756-3.47876757c-1.68942759 2.30706779-1.49868577 5.56784469.59039136 7.64783884 1.68942759 1.6894276 4.15090542 2.1344919 6.25814844 1.3442758l8.27456198 8.274562c.3542348.3542348.9264603.3542348 1.2806951 0l2.0890772-2.0890772c.3633177-.3451518.3633177-.9173773 0-1.2806951zm-2.7248832 1.4532711-8.5924651-8.59246508c-.55405958.40873248-1.17169978.65397198-1.8165888.74480138-1.23528039.1816589-2.53414139-.1907418-3.47876757-1.13536797-.86287968-.85379674-1.26252922-1.99824769-1.19894861-3.12453275l2.80662971 2.80662971 3.85116827-3.85116827-2.80662971-2.80662971c1.12628506-.0635806 2.26165307.33606893 3.12453275 1.18986567.98095795.98095796 1.35335866 2.33431662 1.12628506 3.59684584-.10899533.64488902-.38148365 1.24436333-.79929908 1.78025703l8.58338208 8.58338215z",fill:"currentColor",fillRule:"nonzero"})))},credit_card:{label:Object(re.__)("Credit Card","coblocks"),keywords:[Object(re.__)("cash","coblocks"),Object(re.__)("checkout","coblocks"),Object(re.__)("commerce","coblocks"),Object(re.__)("ecommerce","coblocks"),Object(re.__)("money","coblocks"),Object(re.__)("shop","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h20v20h-20z"}),Object(ae.createElement)(ie.Path,{d:"m18 2h-16c-1.11 0-1.99.89-1.99 2l-.01 12c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2v-12c0-1.11-.89-2-2-2zm0 14h-16v-6h16zm0-10h-16v-2h16z",fill:"currentColor",fillRule:"nonzero"})))},extension:{label:Object(re.__)("Extension","coblocks"),keywords:[Object(re.__)("plugin","coblocks"),Object(re.__)("puzzle","coblocks"),Object(re.__)("team","coblocks"),Object(re.__)("together","coblocks"),Object(re.__)("widget","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h20v20h-20z"}),Object(ae.createElement)(ie.Path,{d:"m8.71794872 0c-1.41538462 0-2.56410257 1.14871795-2.56410257 2.56410256h-4.1025641c-1.12820513 0-2.04102564.92307693-2.04102564 2.05128206v3.89743589h.2974359c1.52820513 0 2.76923077 1.24102564 2.76923077 2.76923079 0 1.5282051-1.24102564 2.7692308-2.76923077 2.7692308h-.30769231v3.8974358c0 1.1282052.92307692 2.0512821 2.05128205 2.0512821h3.8974359v-.3076923c0-1.5282051 1.24102564-2.7692308 2.76923077-2.7692308 1.52820508 0 2.76923078 1.2410257 2.76923078 2.7692308v.3076923h3.8974359c1.1282051 0 2.051282-.9230769 2.051282-2.0512821v-4.1025641c1.4153847 0 2.5641026-1.1487179 2.5641026-2.5641025 0-1.41538463-1.1487179-2.56410258-2.5641026-2.56410258v-4.1025641c0-1.12820513-.9230769-2.05128206-2.051282-2.05128206h-4.1025641c0-1.41538461-1.148718-2.56410256-2.56410258-2.56410256z",fill:"currentColor",fillRule:"nonzero"}))),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h20v20h-20z"}),Object(ae.createElement)(ie.Path,{d:"m9.23076923 2.56410256v2.05128206h6.15384617v6.15384618h2.051282c.2871795 0 .5128205.225641.5128205.5128205s-.225641.5128205-.5128205.5128205h-2.051282v6.1538461h-2.174359c-.6974359-1.7948717-2.451282-3.076923-4.49230768-3.076923-2.04102564 0-3.7948718 1.2820513-4.49230769 3.076923h-2.17435898v-2.1743589c1.7948718-.6974359 3.07692308-2.4512821 3.07692308-4.4923077 0-2.04102566-1.27179487-3.79487181-3.06666667-4.49230771l-.01025641-2.17435897h6.15384616v-2.05128206c0-.28717948.22564102-.51282051.51282051-.51282051s.51282051.22564103.51282051.51282051zm-.51282051-2.56410256c-1.41538462 0-2.56410257 1.14871795-2.56410257 2.56410256h-4.1025641c-1.12820513 0-2.04102564.92307693-2.04102564 2.05128206v3.89743589h.2974359c1.52820513 0 2.76923077 1.24102564 2.76923077 2.76923079 0 1.5282051-1.24102564 2.7692308-2.76923077 2.7692308h-.30769231v3.8974358c0 1.1282052.92307692 2.0512821 2.05128205 2.0512821h3.8974359v-.3076923c0-1.5282051 1.24102564-2.7692308 2.76923077-2.7692308 1.52820508 0 2.76923078 1.2410257 2.76923078 2.7692308v.3076923h3.8974359c1.1282051 0 2.051282-.9230769 2.051282-2.0512821v-4.1025641c1.4153847 0 2.5641026-1.1487179 2.5641026-2.5641025 0-1.41538463-1.1487179-2.56410258-2.5641026-2.56410258v-4.1025641c0-1.12820513-.9230769-2.05128206-2.051282-2.05128206h-4.1025641c0-1.41538461-1.148718-2.56410256-2.56410258-2.56410256z",fill:"currentColor",fillRule:"nonzero"})))},fingerprint:{label:Object(re.__)("Fingerprint","coblocks"),keywords:[Object(re.__)("bio","coblocks"),Object(re.__)("biometric","coblocks"),Object(re.__)("defense","coblocks"),Object(re.__)("safe","coblocks"),Object(re.__)("secure","coblocks"),Object(re.__)("security","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m14.7660485 2.56204547c-.0789273 0-.1578547-.01973185-.2269162-.05919554-1.894257-.97672626-3.532-1.39109498-5.49531846-1.39109498-1.95345253 0-3.80824585.46369833-5.49531849 1.39109498-.23678212.12825699-.53275978.03946369-.67088269-.19731843-.12825698-.23678213-.03946368-.54262571.19731844-.67088269 1.83506147-.99645811 3.84770954-1.50948605 5.96888274-1.50948605 2.10144136 0 3.93650286.46369833 5.94915086 1.49962013.2466481.12825698.3354414.42423464.2071844.66101676-.0887933.1775866-.256514.27624582-.4341006.27624582zm-14.11813418 5.17960898c-.09865922 0-.19731844-.02959776-.28611174-.08879329-.2269162-.15785475-.27624581-.46369833-.11839106-.69061454.97672627-1.38122906 2.21983242-2.46648047 3.69972071-3.22615645 3.09789947-1.59827935 7.06400007-1.60814527 10.17176547-.00986592 1.4798883.75967598 2.7229944 1.83506147 3.6997207 3.20642461.1578547.21705028.1085251.53275978-.1183911.69061453s-.5327598.10852514-.6906145-.11839106c-.887933-1.24310616-2.0126481-2.21983243-3.3445475-2.90058104-2.8315196-1.45029051-6.45231293-1.45029051-9.27396659.00986593-1.34176537.69061453-2.46648047 1.67720672-3.35441344 2.92031287-.07892737.13812291-.2269162.20718436-.38477095.20718436zm6.16620117 11.90816775c-.12825698 0-.25651396-.0493296-.34530726-.1479889-.85833521-.8583352-1.32203353-1.4108268-1.9830503-2.6046033-.68074861-1.2135084-1.0359218-2.6933967-1.0359218-4.2818101 0-2.93017884 2.50594416-5.31773193 5.58411179-5.31773193 3.07816758 0 5.58411178 2.38755309 5.58411178 5.31773193 0 .2762458-.2170503.4932961-.4932961.4932961s-.4932961-.2170503-.4932961-.4932961c0-2.3875531-2.0619777-4.33113974-4.59751958-4.33113974-2.53554193 0-4.5975196 1.94358664-4.5975196 4.33113974 0 1.4206927.3157095 2.7328603.91753074 3.7983799.631419 1.134581 1.06551956 1.6180112 1.82519554 2.3875531.18745252.1973184.18745252.503162 0 .7004804-.10852514.0986593-.23678212.1479889-.36503911.1479889zm7.07386601-1.8251956c-1.1740447 0-2.2099665-.2959776-3.0584358-.878067-1.47002236-.9964581-2.34808941-2.6144693-2.34808941-4.3311397 0-.2762459.21705028-.4932961.4932961-.4932961.27624581 0 .49329609.2170502.49329609.4932961 0 1.3910949.71034642 2.7032626 1.91398882 3.5122682.7004805.4735642 1.519352.7004804 2.5059442.7004804.2367821 0 .631419-.0295978 1.0260559-.0986592.2663798-.0493296.5228938.128257.5722234.4045028.0493296.2663799-.128257.5228938-.4045028.5722235-.5623575.1085251-1.0556536.118391-1.1937765.118391zm-1.9830503 2.0323799c-.0394637 0-.0887933-.0098659-.128257-.0197318-1.5686816-.4341006-2.59473745-1.01619-3.67012294-2.0718436-1.38122906-1.3713632-2.14090505-3.1965587-2.14090505-5.1500112 0-1.5982794 1.36149722-2.90058107 3.03870394-2.90058107 1.67720675 0 3.03870395 1.30230167 3.03870395 2.90058107 0 1.0556536.9175307 1.9139888 2.0521117 1.9139888 1.1345811 0 2.0521118-.8583352 2.0521118-1.9139888 0-3.71945259-3.2064246-6.73842468-7.15279337-6.73842468-2.80192181 0-5.3670615 1.55881565-6.52137436 3.97596652-.38477096.79913966-.58208939 1.73640226-.58208939 2.76245816 0 .7695419.06906145 1.9830503.66101676 3.5615978.09865922.2565139-.02959776.5426257-.28611173.631419-.25651397.0986592-.54262571-.0394637-.631419-.2861118-.48343018-1.2924357-.7202123-2.5750056-.7202123-3.906905 0-1.1839107.2269162-2.2592961.67088269-3.19655873 1.31216761-2.7525922 4.22261456-4.53832406 7.40930733-4.53832406 4.48899447 0 8.13938557 3.46293858 8.13938557 7.72501679 0 1.5982794-1.3614972 2.9005811-3.038704 2.9005811-1.6772067 0-3.0387039-1.3023017-3.0387039-2.9005811 0-1.0556536-.9175307-1.9139888-2.05211175-1.9139888-1.13458101 0-2.05211175.8583352-2.05211175 1.9139888 0 1.6870727.65115084 3.2656202 1.84492739 4.4495308.93726258.9273967 1.83506151 1.4404246 3.22615641 1.8251956.2663799.0690614.4143688.3453072.3453073.6018212-.0493296.2269162-.256514.374905-.4636983.374905z",transform:"translate(1)"}))},translate:{label:Object(re.__)("Translate","coblocks"),keywords:[Object(re.__)("global","coblocks"),Object(re.__)("language","coblocks"),Object(re.__)("speech","coblocks"),Object(re.__)("world","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m10.8187411 12.8292466-2.30909089-2.2818182.02727273-.0272727c1.58181816-1.76363641 2.70909086-3.79090913 3.37272726-5.93636368h2.6636364v-1.81818182h-6.36363639v-1.81818181h-1.81818182v1.81818181h-6.36363636v1.80909091h10.15454547c-.60909092 1.75454546-1.57272729 3.41818182-2.8818182 4.87272728-.84545454-.93636364-1.54545454-1.96363637-2.1-3.04545455h-1.81818181c.66363636 1.48181818 1.57272727 2.88181818 2.7090909 4.14545456l-4.62727272 4.5636363 1.29090909 1.2909091 4.54545454-4.5454545 2.8272727 2.8272727zm5.1181818-4.60909094h-1.8181818l-4.0909091 10.90909094h1.8181818l1.0181819-2.7272728h4.3181818l1.0272727 2.7272728h1.8181818zm-2.3818181 6.36363634 1.4727272-3.9363636 1.4727273 3.9363636z"}))},new:{label:Object(re.__)("New","coblocks"),keywords:[Object(re.__)("artist","coblocks"),Object(re.__)("audio","coblocks"),Object(re.__)("badge","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("media","coblocks"),Object(re.__)("microphone","coblocks"),Object(re.__)("music","coblocks"),Object(re.__)("song","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m20.0286458 10.0068123-2.2181818-2.52727276.3090909-3.34545455-3.2818182-.74545454-1.7181818-2.8909091-3.0909091 1.32727273-3.09090906-1.32727273-1.71818182 2.8909091-3.28181818.73636363.30909091 3.34545455-2.21818182 2.53636367 2.21818182 2.5272727-.30909091 3.3545454 3.28181818.7454546 1.71818182 2.8909091 3.09090906-1.3363637 3.0909091 1.3272728 1.7181818-2.8909091 3.2818182-.7454546-.3090909-3.3454545zm-9.0909091 4.5454545h-1.81818178v-1.8181818h1.81818178zm0-3.6363636h-1.81818178v-5.45454548h1.81818178z"})),icon_outlined:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m20.5555013 9.96270419-2.2181818-2.52727273.3090909-3.34545454-3.2818182-.74545455-1.7181818-2.89090909-3.0909091 1.32727273-3.09090909-1.32727273-1.71818182 2.89090909-3.28181818.73636364.30909091 3.34545454-2.21818182 2.53636364 2.21818182 2.52727271-.30909091 3.3545455 3.28181818.7454545 1.71818182 2.8909091 3.09090909-1.3363636 3.0909091 1.3272727 1.7181818-2.8909091 3.2818182-.7454545-.3090909-3.3454546zm-4.1 1.91818181.2363636 2.5363636-2.4909091.5636364-1.3 2.1909091-2.3454545-1.0090909-2.34545454 1.0090909-1.3-2.1909091-2.49090909-.5636364.23636363-2.5454545-1.68181818-1.90909091 1.68181818-1.92727273-.23636363-2.52727272 2.49090909-.55454546 1.3-2.19090909 2.34545454 1 2.3454545-1.00909091 1.3 2.19090909 2.4909091.56363637-.2363636 2.53636363 1.6818182 1.91818182zm-6.80909091.8090909h1.81818181v1.8181818h-1.81818181zm0-7.27272726h1.81818181v5.45454546h-1.81818181z",transform:"translate(-.565918)"}))},flare:{label:Object(re.__)("Flare","coblocks"),keywords:[Object(re.__)("artist","coblocks"),Object(re.__)("camera","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("flower","coblocks"),Object(re.__)("photography","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m5.45454545 9.09090909h-5.45454545v1.81818181h5.45454545zm1.97272728-2.94545454-1.92727273-1.92727273-1.28181818 1.28181818 1.92727273 1.92727273zm3.48181817-6.14545455h-1.81818181v5.45454545h1.81818181zm4.8727273 5.5-1.2818182-1.28181818-1.9272727 1.92727273 1.2818182 1.28181818zm-1.2363637 3.59090909v1.81818181h5.4545455v-1.81818181zm-4.5454545-1.81818182c-1.50909091 0-2.72727273 1.21818182-2.72727273 2.72727273 0 1.5090909 1.21818182 2.7272727 2.72727273 2.7272727 1.5090909 0 2.7272727-1.2181818 2.7272727-2.7272727 0-1.50909091-1.2181818-2.72727273-2.7272727-2.72727273zm2.5727273 6.58181823 1.9272727 1.9272727 1.2818182-1.2818182-1.9272727-1.9272727zm-8.35454548.6454545 1.28181818 1.2818182 1.92727273-1.9272727-1.28181818-1.2818182zm4.87272727 5.5h1.81818181v-5.4545455h-1.81818181z"}))},layers:{label:Object(re.__)("Layers","coblocks"),keywords:[Object(re.__)("build","coblocks"),Object(re.__)("creative","coblocks"),Object(re.__)("design","coblocks"),Object(re.__)("develop","coblocks"),Object(re.__)("engineer","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m9.99610362 17.0837787-7.42990299-5.7765731-1.63316728 1.2702412 9.07315155 7.0568956 9.0731515-7.0568956-1.6432485-1.2803225zm.01008128-2.560645 7.4198217-5.77657311 1.6533298-1.28032249-9.0731515-7.05689565-9.07315155 7.05689565 1.64324856 1.28032249z"}))},shipping:{label:Object(re.__)("Shipping","coblocks"),keywords:[Object(re.__)("cart","coblocks"),Object(re.__)("commerce","coblocks"),Object(re.__)("ecommerce","coblocks"),Object(re.__)("ship","coblocks"),Object(re.__)("shop","coblocks"),Object(re.__)("woo","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17.2727273 4.36363636h-2.7272728v-3.63636363h-12.72727268c-1 0-1.81818182.81818182-1.81818182 1.81818182v9.99999995h1.81818182c0 1.509091 1.21818182 2.7272728 2.72727273 2.7272728 1.5090909 0 2.72727272-1.2181818 2.72727272-2.7272728h5.45454543c0 1.509091 1.2181818 2.7272728 2.7272728 2.7272728 1.5090909 0 2.7272727-1.2181818 2.7272727-2.7272728h1.8181818v-4.5454545zm-.4545455 1.36363637 1.7818182 2.27272727h-4.0545455v-2.27272727zm-12.27272725 7.72727277c-.5 0-.90909091-.409091-.90909091-.909091s.40909091-.9090909.90909091-.9090909.9090909.4090909.9090909.9090909-.4090909.909091-.9090909.909091zm2.01818181-2.7272728c-.5-.5545454-1.20909091-.90909088-2.01818181-.90909088-.80909091 0-1.51818182.35454548-2.01818182.90909088h-.70909091v-8.18181815h10.90909088v8.18181815zm8.89090914 2.7272728c-.5 0-.909091-.409091-.909091-.909091s.409091-.9090909.909091-.9090909.9090909.4090909.9090909.9090909-.4090909.909091-.9090909.909091z",transform:"translate(0 2)"}))},snowflake:{label:Object(re.__)("Snowflake","coblocks"),keywords:[Object(re.__)("chill","coblocks"),Object(re.__)("cold","coblocks"),Object(re.__)("frozen","coblocks"),Object(re.__)("global","coblocks"),Object(re.__)("ice","coblocks"),Object(re.__)("season","coblocks"),Object(re.__)("winter","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m20 9h-4.17l3.24-3.24-1.41-1.42-4.66 4.66h-2v-2l4.66-4.66-1.42-1.41-3.24 3.24v-4.17h-2v4.17l-3.24-3.24-1.42 1.41 4.66 4.66v2h-2l-4.66-4.66-1.41 1.42 3.24 3.24h-4.17v2h4.17l-3.24 3.24 1.41 1.42 4.66-4.66h2v2l-4.66 4.66 1.42 1.41 3.24-3.24v4.17h2v-4.17l3.24 3.24 1.42-1.41-4.66-4.66v-2h2l4.66 4.66 1.41-1.42-3.24-3.24h4.17z",fillRule:"evenodd"}))},school:{label:Object(re.__)("School","coblocks"),keywords:[Object(re.__)("college","coblocks"),Object(re.__)("degree","coblocks"),Object(re.__)("diploma","coblocks"),Object(re.__)("education","coblocks"),Object(re.__)("graduate","coblocks"),Object(re.__)("graduation","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m4.63589015 9.40022032v3.64467918l6.37818865 3.4806687 6.3781886-3.4806687v-3.64467918l-6.3781886 3.48066868zm6.37818865-9.2757086-10.02286786 5.46701882 10.02286786 5.46701886 8.2005282-4.47384377v6.29618337h1.8223396v-7.28935846z",transform:"translate(-1 1.713379)"}))},fire:{label:Object(re.__)("Fire","coblocks"),keywords:[Object(re.__)("design","coblocks"),Object(re.__)("hot","coblocks"),Object(re.__)("trending","coblocks"),Object(re.__)("trendy","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m8.91322329.78180339s.69401426 2.48532134.69401426 4.50171413c0 1.93198565-1.2661071 3.49820703-3.19809275 3.49820703-1.94136422 0-3.40442131-1.56622138-3.40442131-3.49820703l.02813571-.33762856c-1.89447137 2.25085707-3.02927847 5.16759264-3.02927847 8.33754974 0 4.1453284 3.35752846 7.5028569 7.50285689 7.5028569 4.14532848 0 7.50285688-3.3575285 7.50285688-7.5028569 0-5.05504985-2.4290499-9.56614256-6.09607121-12.50163531zm-1.67876423 17.19092081c-1.66938566 0-3.0198999-1.3129999-3.0198999-2.9448713 0-1.5193285.98474997-2.5884856 2.63537848-2.9261142 1.66000709-.3376285 3.37628556-1.1348071 4.33289986-2.41967133.3657643 1.20983563.5533357 2.48532133.5533357 3.78894273 0 2.4853213-2.0163928 4.5017141-4.50171414 4.5017141z",transform:"translate(2.553223 -.786621)"}))},update:{label:Object(re.__)("Update","coblocks"),keywords:[Object(re.__)("add","coblocks"),Object(re.__)("improve","coblocks"),Object(re.__)("software","coblocks"),Object(re.__)("upload","coblocks")],icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m19.9986483 8.20489366h-7.5333334l3.0444445-3.13333333c-3.0333334-3-7.94444447-3.11111111-10.97777781-.11111111-3.03333333 3.01111111-3.03333333 7.86666668 0 10.87777778 3.03333334 3.0111111 7.94444441 3.0111111 10.97777781 0 1.5111111-1.4888889 2.2666666-3.2333333 2.2666666-5.4333333h2.2222223c0 2.2-.9777778 5.0555555-2.9333334 6.9888889-3.9 3.8666666-10.23333331 3.8666666-14.13333331 0-3.88888889-3.8555556-3.92222222-10.12222227-.02222222-13.97777783 3.9-3.85555555 10.15555553-3.85555555 14.05555553 0l3.0333334-3.12222222zm-9.4444445-2.35555555v4.72222219l3.8888889 2.3111111-.8 1.3444445-4.75555555-2.8222222v-5.55555559z",transform:"translate(0 -.293783)"}))}};Object.entries(Hp).filter((function(e){Up.outlined[e[0]]={icon:Hp[e[0]]&&Hp[e[0]].icon_outlined?Hp[e[0]].icon_outlined:Hp[e[0]].icon,label:Hp[e[0]]?Hp[e[0]].label:null,keywords:Hp[e[0]]?Hp[e[0]].keywords:null},Up.filled[e[0]]={icon:Hp[e[0]]?Hp[e[0]].icon:null,label:Hp[e[0]]?Hp[e[0]].label:null,keywords:Hp[e[0]]?Hp[e[0]].keywords:null}}));var Wp=Up;function qp(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Yp(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?qp(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):qp(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Kp=[{attributes:Yp({},Gp.attributes),save:function(e){var t,o=e.attributes,n=e.className,c=o.icon,r=o.backgroundColor,a=o.customBackgroundColor,i=o.customIconColor,l=o.contentAlign,s=o.iconColor,u=o.height,b=o.width,d=o.borderRadius,p=o.padding,m=o.href,h=o.linkTarget,f=o.rel,g="outlined";o.className&&o.className.includes("is-style-filled")&&(g="filled");var v=Object(xe.getColorClassName)("color",s),y=Object(xe.getColorClassName)("background-color",r),O=Fe()(n,te()({},"has-text-align-".concat(l),l)),k=Fe()("wp-block-coblocks-icon__inner",(t={"has-text-color":s||i},te()(t,v,v),te()(t,"has-background",r||a),te()(t,y,y),t)),_={backgroundColor:y?void 0:a,color:v?void 0:i,fill:v?void 0:i,height:u,width:b,borderRadius:d?d+"px":void 0,padding:p?p+"px":void 0};return Object(ae.createElement)("div",{className:O},Object(ae.createElement)("div",{className:k,style:_},m?Object(ae.createElement)("a",{href:m,target:h,rel:f},c&&Wp[g][c]&&Wp[g][c].icon):c&&Wp[g][c]&&Wp[g][c].icon))}},{attributes:Yp({},Gp.attributes),save:function(e){var t,o=e.attributes,n=e.className,c=o.icon,r=o.backgroundColor,a=o.customBackgroundColor,i=o.customIconColor,l=o.contentAlign,s=o.iconColor,u=o.height,b=o.width,d=o.borderRadius,p=o.padding,m=o.href,h=o.linkTarget,f=o.rel,g="outlined";o.className&&o.className.includes("is-style-filled")&&(g="filled");var v=Object(xe.getColorClassName)("color",s),y=Object(xe.getColorClassName)("background-color",r),O=Fe()("wp-block-coblocks-icon__inner",(t={"has-text-color":s||i},te()(t,v,v),te()(t,"has-background",r||a),te()(t,y,y),t)),k={backgroundColor:y?void 0:a,color:v?void 0:i,fill:v?void 0:i,height:u,width:b,borderRadius:d?d+"px":void 0,padding:p?p+"px":void 0};return Object(ae.createElement)("div",{className:n,style:{textAlign:l||void 0}},Object(ae.createElement)("div",{className:O,style:k},m?Object(ae.createElement)("a",{href:m,target:h,rel:f},c&&Cp[g][c]&&Cp[g][c].icon):c&&Cp[g][c]&&Cp[g][c].icon))}}],Xp=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h24v24h-24z"}),Object(ae.createElement)(ie.Path,{d:"m13 4v2.67l-1 1-1-1v-2.67zm7 7v2h-2.67l-1-1 1-1zm-13.33 0 1 1-1 1h-2.67v-2zm5.33 5.33 1 1v2.67h-2v-2.67zm3-14.33h-6v5.5l3 3 3-3zm7 7h-5.5l-3 3 3 3h5.5zm-14.5 0h-5.5v6h5.5l3-3zm4.5 4.5-3 3v5.5h6v-5.5z",fill:"currentColor",fillRule:"nonzero"}))),Jp=function(e){var t,o=e.attributes,n=e.className,c=o.icon,r=o.backgroundColor,a=o.customBackgroundColor,i=o.customIconColor,l=o.contentAlign,s=o.iconColor,u=o.height,b=o.width,d=o.borderRadius,p=o.padding,m=o.href,h=o.linkTarget,f=o.rel,g="outlined";o.className&&o.className.includes("is-style-filled")&&(g="filled");var v=Object(xe.getColorClassName)("color",s),y=Object(xe.getColorClassName)("background-color",r),O=Fe()(n,te()({},"has-text-align-".concat(l),l)),k=Fe()("wp-block-coblocks-icon__inner",(t={"has-text-color":s||i},te()(t,v,v),te()(t,"has-background",r||a),te()(t,y,y),t)),_={backgroundColor:y?void 0:a,color:v?void 0:i,fill:v?void 0:i,height:u,width:b,borderRadius:d?d+"px":void 0,padding:p?p+"px":void 0};return Object(ae.createElement)("div",{className:O},Object(ae.createElement)("div",{className:k,style:_},void 0!==c&&(m?Object(ae.createElement)("a",{href:m,target:h,rel:f},Cp[g][c]&&Cp[g][c].icon):Cp[g][c]&&Cp[g][c].icon)))},Zp=60,$p=Gp.name,Qp=Gp.category,em=Gp.attributes,tm={title:Object(re.__)("Icon","coblocks"),description:Object(re.__)("Add a stylized graphic symbol to communicate something more.","coblocks"),icon:Xp,keywords:["coblocks","svg",Object(re.__)("icons","coblocks")],styles:[{name:"outlined",label:Object(re.__)("Outlined","coblocks"),isDefault:!0},{name:"filled",label:Object(re.__)("Filled","coblocks")}],attributes:em,edit:Vp,save:Jp,deprecated:Kp},om=o(91);function nm(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function cm(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?nm(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):nm(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var rm=[{isEligible:function(e){return e.className&&-1!==e.className.indexOf("has-filter-grayscale")},attributes:cm({},om.attributes,{grayscale:{type:"boolean",default:!1}}),migrate:function(e){return cm({},e,{className:e.className.replace("has-filter-grayscale","is-style-black-and-white")})},save:function(e){var t=e.attributes,o=e.className,n=t.images,c=t.grayscale,r=t.align;if(!!!n.length)return null;var a,i=Fe()(o,{"has-filter-grayscale":c});switch(r){case"wide":a=4;break;case"full":a=5;break;default:a=3}var l=Object(kt.chunk)(n,a);return Object(ae.createElement)("div",{className:i},Object.keys(l).map((function(e){return Object(ae.createElement)("div",{className:"wp-block-coblocks-logos__row",key:"wrapper-"+e},l[e].map((function(t,o){return Object(ae.createElement)("div",{style:{width:t.width||100/n.length+"%"},key:"logo-"+e},Object(ae.createElement)("img",{key:"img-"+o,src:t.url,alt:t.alt,"data-id":t.id,"data-width":t.width||100/n.length+"%"}))})))})))}}];function am(){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}}var im=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(am()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).onSelectImages=e.onSelectImages.bind(pn()(e)),e}return ve()(n,[{key:"onSelectImages",value:function(e){this.props.setAttributes({images:e.map((function(e){return Pt(e)}))})}},{key:"render",value:function(){var e=this.props.attributes,t=!!e.images.length;return Object(ae.createElement)(xe.BlockControls,null,t&&Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.Toolbar,null,Object(ae.createElement)(xe.MediaUploadCheck,null,Object(ae.createElement)(xe.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:["image"],multiple:!0,gallery:!0,value:e.images.map((function(e){return e.id})),render:function(e){var t=e.open;return Object(ae.createElement)(ie.IconButton,{className:"components-toolbar__control",label:Object(re.__)("Edit logos","coblocks"),icon:"edit",onClick:t})}})))))}}]),n}(ae.Component);function lm(){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}}var sm=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(lm()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).addFiles=e.addFiles.bind(pn()(e)),e}return ve()(n,[{key:"addFiles",value:function(e){var t=this.props.attributes.images||[],o=this.props,n=o.noticeOperations,c=o.setAttributes;Object(kn.mediaUpload)({allowedTypes:zt,filesList:e,onFileChange:function(e){var o=e.map((function(e){return Pt(e)}));c({images:t.concat(o)})},onError:n.createErrorNotice})}},{key:"render",value:function(){return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.DropZone,{onFilesDrop:this.addFiles,label:this.props.label}))}}]),n}(ae.Component);function um(){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}}var bm=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(um()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).state={selectedImage:null},e}return ve()(n,[{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null})}},{key:"render",value:function(){var e,t=this;switch(this.props.attributes.align){case"wide":e=4;break;case"full":e=5;break;default:e=3}var o=Object(kt.chunk)(this.props.images,e);return Object(ae.createElement)(ae.Fragment,null,Object.keys(o).map((function(e){var n=o[e];return Object(ae.createElement)("div",{className:"wp-block-coblocks-logos__row",key:"wrapper-"+e},n.map((function(c,r){return Object(ae.createElement)(ie.ResizableBox,{key:c.id+"-"+e+"-"+r,minWidth:"10%",maxWidth:100/n.length+"%",className:Fe()("resize",{"is-selected":c.id===t.state.selectedImage}),size:{width:c.width||100/n.length+"%"},enable:{top:!1,right:!0,bottom:!1,left:!0,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:function(n,c,a){var i=a.style.width;o[e][r].width=i;var l=o[e].reduce((function(e,t){return e+parseFloat(t.width)}),0);if(l>100){var s=parseFloat(100-l);o[e].map((function(t,n){return n!==r?(t.width=parseFloat(t.width)+parseFloat(s/(o[e].length-1))+"%",t):t}))}t.props.setAttributes({images:Object(kt.flatten)(o)})},onClick:function(){t.setState({selectedImage:c.id})},onKeyDown:function(e){if(qe.BACKSPACE===e.keyCode){var o=t.props.images.filter((function(e){return e.id!==c.id}));t.setState({selectedImage:null}),t.props.setAttributes({images:o})}}},Object(ae.createElement)("img",{src:c.url,alt:c.alt,"data-id":c.id,"data-width":c.width||100/n.length+"%",tabIndex:"0"}))})))})))}}]),n}(ae.Component);function dm(){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}}var pm=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(dm()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).onSelectImages=e.onSelectImages.bind(pn()(e)),e}return ve()(n,[{key:"onSelectImages",value:function(e){this.props.setAttributes({images:e.map((function(e){return Pt(e)}))})}},{key:"render",value:function(){var e=this.props,t=e.className,o=e.noticeOperations,n=e.attributes,c=e.noticeUI,r=e.isSelected,a=!!n.images.length;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(im,this.props),Object(ae.createElement)(sm,this.props),Object(ae.createElement)("div",{className:t},Object(ae.createElement)(bm,Ie()({},this.props,{images:n.images})),(!a||r)&&Object(ae.createElement)(xe.MediaPlaceholder,{addToGallery:a,isAppender:a,icon:Object(ae.createElement)(xe.BlockIcon,{icon:hm}),labels:{title:Object(re.__)("Logos & Badges","coblocks"),instructions:Object(re.__)("Drag images, upload new ones or select files from your library.","coblocks")},multiple:!0,accept:"image/*",allowedTypes:["image"],value:a?n.images:void 0,onError:o.createErrorNotice,notices:c,onSelect:this.onSelectImages,className:Fe()({"is-appender":a})})))}}]),n}(ae.Component),mm=Object(Ce.compose)([ie.withNotices])(pm),hm=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.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)"}));var fm=om.name,gm=om.category,vm=om.attributes,ym={title:Object(re.__)("Logos & Badges","coblocks"),description:Object(re.__)("Add logos, badges, or certifications to build credibility.","coblocks"),icon:hm,keywords:["coblocks",Object(re.__)("clients","coblocks"),Object(re.__)("proof","coblocks"),Object(re.__)("testimonials","coblocks"),Object(re.__)("awards","coblocks"),Object(re.__)("seal","coblocks")],styles:[{name:"default",label:Object(re.__)("Default","coblocks"),isDefault:!0},{name:"grayscale",label:Object(re.__)("Grayscale","coblocks")},{name:"black-and-white",label:Object(re.__)("Black & White","coblocks")}],supports:{align:["wide","full"]},example:{attributes:{align:"full",images:[{url:"https://upload.wikimedia.org/wikipedia/commons/thumb/0/09/Wordpress-Logo.svg/600px-Wordpress-Logo.svg.png",width:420},{url:"https://upload.wikimedia.org/wikipedia/commons/thumb/a/ae/WordPress.svg/640px-WordPress.svg.png",width:340}]}},attributes:vm,edit:mm,save:function(e){var t,o=e.attributes,n=e.className,c=o.images,r=o.align;if(!!!c.length)return null;switch(r){case"wide":t=4;break;case"full":t=5;break;default:t=3}var a=Object(kt.chunk)(c,t);return Object(ae.createElement)("div",{className:n},Object.keys(a).map((function(e){return Object(ae.createElement)("div",{className:"wp-block-coblocks-logos__row",key:"wrapper-"+e},a[e].map((function(t,o){return Object(ae.createElement)("div",{style:{width:t.width||100/c.length+"%"},key:"logo-"+e},Object(ae.createElement)("img",{key:"img-"+o,src:t.url,alt:t.alt,"data-id":t.id,"data-width":t.width||100/c.length+"%"}))})))})))},deprecated:rm},Om=o(70),km=Om.attributes,_m=[{attributes:km,save:function(e){var t=e.attributes,o=t.address,n=t.height,c={minHeight:n?n+"px":void 0},r={address:o,lat:t.lat,lng:t.lng,skin:t.skin,zoom:t.zoom,iconSize:t.iconSize,mapTypeControl:t.mapTypeControl,zoomControl:t.zoomControl,streetViewControl:t.streetViewControl,fullscreenControl:t.fullscreenControl},a={"data-map-attr":Object.keys(r).map((function(e){return"/q".concat(e,"/q:/q").concat(r[e],"/q")})).join("||")};return Object(ae.createElement)("div",Ie()({style:c},a))}},{attributes:km,save:function(e){var t=e.attributes,o=t.address,n=t.height,c=t.lat,r=t.lng,a=t.skin,i=t.zoom,l=t.iconSize,s=t.mapTypeControl,u=t.zoomControl,b=t.streetViewControl,d=t.fullscreenControl,p=t.hasApiKey,m={minHeight:n?n+"px":void 0},h={address:o,lat:c,lng:r,skin:a,zoom:i,iconSize:l,mapTypeControl:s,zoomControl:u,streetViewControl:b,fullscreenControl:d},f={"data-map-attr":Object.keys(h).map((function(e){return"/q".concat(e,"/q:/q").concat(h[e],"/q")})).join("||")};return Object(ae.createElement)("div",Ie()({style:m},f),!p&&Object(ae.createElement)("iframe",{title:Object(re.__)("Google Map","coblocks"),frameBorder:"0",style:{width:"100%",minHeight:n+"px"},src:"https://www.google.com/maps?q="+encodeURIComponent(o)+"&language=ja&output=embed&hl=%s&z="+i}))}}],jm=o(124),wm=o(16);function Em(){return(Em=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}o(56);function Cm(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function xm(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Sm(e){this.setState(function(t){var o=this.constructor.getDerivedStateFromProps(e,t);return null!=o?o:null}.bind(this))}function Pm(e,t){try{var o=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(o,n)}finally{this.props=o,this.state=n}}xm.__suppressDeprecationWarning=!0,Sm.__suppressDeprecationWarning=!0,Pm.__suppressDeprecationWarning=!0;o(273);var zm=o(106),Tm=o(83),Rm=function(e){return function(t){var o=Object(wm.createFactory)(t);return function(t){return o(e(t))}}};Object.keys,wm.Component;var Bm,Nm={fromESObservable:null,toESObservable:null},Am={fromESObservable:function(e){return"function"==typeof Nm.fromESObservable?Nm.fromESObservable(e):e},toESObservable:function(e){return"function"==typeof Nm.toESObservable?Nm.toESObservable(e):e}};Bm=Am;var Im=function(e){var t=e.attributes,o=e.setAttributes,n=t.address,c=t.pinned,r=[{icon:"edit",title:Object(re.__)("Edit Location","coblocks"),isActive:!c,onClick:function(){return o({pinned:!c})}}];return Object(ae.createElement)(xe.BlockControls,null,n&&Object(ae.createElement)(ie.Toolbar,{controls:r}))},Mm=[{value:"standard",label:Object(re.__)("Standard","coblocks")},{value:"silver",label:Object(re.__)("Silver","coblocks")},{value:"retro",label:Object(re.__)("Retro","coblocks")},{value:"dark",label:Object(re.__)("Dark","coblocks")},{value:"night",label:Object(re.__)("Night","coblocks")},{value:"aubergine",label:Object(re.__)("Aubergine","coblocks")}];function Dm(){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}}var Lm=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Dm()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(e){var t;return fe()(this,n),(t=o.apply(this,arguments)).state={apiKey:e.apiKey,isSavedKey:!1,keySaved:!1,address:e.attributes.address},t.setControls=t.setControls.bind(pn()(t)),t.updateApiKey=t.updateApiKey.bind(pn()(t)),t.removeApiKey=t.removeApiKey.bind(pn()(t)),t.handleKeyDown=t.handleKeyDown.bind(pn()(t)),t}return ve()(n,[{key:"componentDidMount",value:function(){this.setState({apiKey:this.props.apiKey})}},{key:"setControls",value:function(){var e=this.props,t=e.setAttributes,o=e.attributes.controls;t({controls:!o,mapTypeControl:!o,zoomControl:!o,streetViewControl:!o,fullscreenControl:!o})}},{key:"updateApiKey",value:function(){this.props.updateApiKeyCallBack(this.state.apiKey)}},{key:"removeApiKey",value:function(){this.setState({apiKey:""}),this.props.updateApiKeyCallBack("")}},{key:"handleKeyDown",value:function(e){e===qe.ENTER&&this.updateApiKey()}},{key:"render",value:function(){var e=this,t=this.props,o=t.attributes,n=t.setAttributes,c=t.apiKey,r=o.address,a=o.height,i=o.skin,l=o.pinned,s=o.controls,u=o.zoom,b=o.iconSize,d=o.mapTypeControl,p=o.zoomControl,m=o.streetViewControl,h=o.fullscreenControl;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,!!c&&r&&l&&Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Styles","coblocks"),initialOpen:!1},Object(ae.createElement)("div",{className:"components-coblocks-map-styles"},Object(ae.createElement)(ie.ButtonGroup,{"aria-label":Object(re.__)("Select map style","coblocks")},Tc()(Mm,(function(e){var t=e.label,o=e.value;return Object(ae.createElement)("div",{className:o===i?"components-coblocks-map-styles__button-wrapper components-button--${ value } is-selected":"components-coblocks-map-styles__button-wrapper components-button--${ value }"},Object(ae.createElement)(ie.Button,{className:o===i?"components-coblocks-map-styles__button components-button--".concat(o," components-coblocks-map-styles__button--selected"):"components-button--".concat(o," components-coblocks-map-styles__button"),isSmall:!0,onClick:function(){n({skin:o})}}),Object(ae.createElement)("div",{className:"block-editor-block-styles__item-label"},t))}))))),r&&Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Map settings","coblocks")},Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.BaseControl,{label:Object(re.__)("Height in pixels","coblocks"),id:"map-height-control"},Object(ae.createElement)("input",{type:"number","aria-label":Object(re.__)("Height for the map in pixels","coblocks"),onChange:function(e){return n({height:parseInt(e.target.value,10)})},value:a,min:200,step:10})),Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Zoom Level","coblocks"),value:u,onChange:function(e){return n({zoom:e})},min:5,max:20,step:1}),!!c&&Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Marker size","coblocks"),value:b,onChange:function(e){return n({iconSize:e})},min:20,max:100,step:2}),!!c&&Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Map controls","coblocks"),checked:!!s,onChange:this.setControls,help:s?Object(re.__)("Fine control options are enabled.","coblocks"):Object(re.__)("Toggle to enable map control options.","coblocks")}))),!!c&&r&&l&&s&&Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Map controls","coblocks"),initialOpen:!1},Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Map type","coblocks"),checked:!!d,onChange:function(){return n({mapTypeControl:!d})},help:d?Object(re.__)("Switching between standard and satellite map views is enabled.","coblocks"):Object(re.__)("Toggle to enable switching between standard and satellite maps.","coblocks")}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Zoom controls","coblocks"),checked:!!p,onChange:function(){return n({zoomControl:!p})},help:p?Object(re.__)("Showing map zoom controls.","coblocks"):Object(re.__)("Toggle to enable zooming in and out on the map with zoom controls.","coblocks")}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Street view","coblocks"),checked:!!m,onChange:function(){return n({streetViewControl:!m})},help:m?Object(re.__)("Showing the street view map control.","coblocks"):Object(re.__)("Toggle to show the street view control at the bottom right.","coblocks")}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Fullscreen toggle","coblocks"),checked:!!h,onChange:function(){return n({fullscreenControl:!h})},help:h?Object(re.__)("Showing the fullscreen map control.","coblocks"):Object(re.__)("Toggle to show the fullscreen map control.","coblocks")})),Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Google Maps API key","coblocks"),initialOpen:!1,className:"components-coblocks-block-settings-sidebar"},Object(ae.createElement)("p",null,Object(re.__)("Add a Google Maps API key. Updating this API key will set all your maps to use the new key.","coblocks")),""===c&&Object(ae.createElement)("p",null,Object(ae.createElement)(ie.ExternalLink,{href:"https://cloud.google.com/maps-platform"},Object(re.__)("Get a key","coblocks")),"| ",Object(ae.createElement)(ie.ExternalLink,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},Object(re.__)("Need help?","coblocks"))),Object(ae.createElement)(ie.TextControl,{value:this.state.apiKey,onChange:function(t){return e.setState({apiKey:t})},placeholder:Object(re.__)("Add Google API key…","coblocks"),onKeyDown:function(t){var o=t.keyCode;return e.handleKeyDown(o)},className:"components-block-coblocks-map-api-key__custom-input"}),Object(ae.createElement)(ie.Button,{isPrimary:!0,isLarge:!0,onClick:this.updateApiKey,disabled:""===this.state.apiKey||this.state.apiKey===this.props.apiKey},this.state.apiKey===this.props.apiKey&&""!==this.props.apiKey?Object(re.__)("Saved","coblocks"):Object(re.__)("Save","coblocks")),c&&Object(ae.createElement)(ie.Button,{className:"components-block-coblocks-map-api-key-remove__button",isSecondary:!0,isLarge:!0,onClick:this.removeApiKey,disabled:this.state.apiKey!==this.props.apiKey||!this.state.apiKey},Object(re.__)("Remove","coblocks")))))}}]),n}(ae.Component),Fm=[];Fm.silver=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}],Fm.retro=[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}],Fm.dark=[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}],Fm.night=[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}],Fm.aubergine=[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}];var Vm=Fm,Gm=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m0 0h24v24h-24z"}),Object(ae.createElement)(ie.Path,{d:"m20.5 3-.16.03-5.34 2.07-6-2.1-5.64 1.9c-.21.07-.36.25-.36.48v15.12c0 .28.22.5.5.5l.16-.03 5.34-2.07 6 2.1 5.64-1.9c.21-.07.36-.25.36-.48v-15.12c0-.28-.22-.5-.5-.5zm-10.5 2.47 4 1.4v11.66l-4-1.4zm-5 .99 3-1.01v11.7l-3 1.16zm14 11.08-3 1.01v-11.69l3-1.16z",fill:"currentColor",fillRule:"nonzero"})));function Um(){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}}var Hm=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Um()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).state={apiKey:"",address:e.props.attributes.address,coords:null,hasError:!1,isSavedKey:!1,keySaved:!1},e.updateApiKey=e.updateApiKey.bind(pn()(e)),e.saveApiKey=e.saveApiKey.bind(pn()(e)),e}return ve()(n,[{key:"componentDidMount",value:function(){var e=this;Ht()({path:"/wp/v2/settings"}).then((function(t){e.setState({apiKey:t.coblocks_google_maps_api_key,isSavedKey:""!==t.coblocks_google_maps_api_key})}))}},{key:"componentDidUpdate",value:function(){this.state.apiKey&&!this.props.attributes.hasApiKey&&this.props.setAttributes({hasApiKey:!0}),!this.props.isSelected&&!this.props.attributes.pinned&&this.state.address&&Object.keys(this.state.address).length&&this.props.setAttributes({address:this.state.address,pinned:!0})}},{key:"updateApiKey",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.apiKey,t=this.props,o=t.attributes,n=t.setAttributes;if(e=e.trim(),this.saveApiKey(e),""===e)return n({hasApiKey:!1}),void(o.address||n({pinned:!1}));o.address&&n({pinned:!0})}},{key:"saveApiKey",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.apiKey;this.setState({apiKey:t}),Ht()({path:"/wp/v2/settings",method:"POST",data:{coblocks_google_maps_api_key:t}}).then((function(){e.setState({isSavedKey:!0,keySaved:!0})}))}},{key:"render",value:function(){var e,t,o=this,n=this.props,c=n.attributes,r=n.setAttributes,a=n.isSelected,i=c.address,l=c.height,s=c.iconSize,u=c.pinned,b=c.skin,d=c.mapTypeControl,p=c.zoomControl,m=c.streetViewControl,h=c.fullscreenControl,f=c.zoom,g=document.documentElement.lang,v=function(e){e&&e.preventDefault(),r({address:o.state.address,pinned:!0})},y={url:"/wp-content/plugins/coblocks/dist/images/markers/"+b+".svg",scaledSize:{width:s,height:s}},O=Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{style:{width:"100%",height:l,position:"absolute"}}),Object(ae.createElement)("div",{className:"iframe__overflow-wrapper"},Object(ae.createElement)("iframe",{title:Object(re.__)("Google Map","coblocks"),frameBorder:"0",style:{width:"100%",minHeight:l+"px"},src:"https://www.google.com/maps?q=".concat(encodeURIComponent(i),"&output=embed&hl=").concat(g,"&z=").concat(f)})));return Object(ae.createElement)(ae.Fragment,null,a&&Object(ae.createElement)(Lm,Ie()({},this.props,{apiKey:this.state.apiKey,updateApiKeyCallBack:this.updateApiKey})),a&&Object(ae.createElement)(Im,Ie()({},this.props,{apiKey:this.state.apiKey})),u?Object(ae.createElement)(ie.ResizableBox,{size:{height:l,width:"100%"},className:Fe()({"is-selected":a}),minHeight:"200",enable:{bottom:!0,bottomLeft:!1,bottomRight:!1,left:!1,right:!1,top:!1,topLeft:!1,topRight:!1},onResizeStop:function(e,t,o,n){r({height:parseInt(l+n.height,10)})}},this.state.apiKey?Object(Ce.compose)((t={googleMapURL:"https://maps.googleapis.com/maps/api/js?key=".concat(this.state.apiKey)+"&language=".concat(g)+"&v=3.exp&libraries=geometry,drawing,places",loadingElement:Object(ae.createElement)("div",{style:{height:"100%"}}),containerElement:Object(ae.createElement)("div",{style:{height:"100%"}}),mapElement:Object(ae.createElement)("div",{style:{height:"100%"}}),coords:null,props:this.props},Rm((function(e){return Em({},e,"function"==typeof t?t(e):t)}))),jm.withScriptjs,jm.withGoogleMap,(e={componentDidMount:function(){(new window.google.maps.Geocoder).geocode({address:i},function(e,t){"OK"===t?(this.setState({coords:e[0].geometry.location.toJSON()}),this.props.props.setAttributes({lat:e[0].geometry.location.toJSON().lat.toString(),lng:e[0].geometry.location.toJSON().lng.toString(),hasError:""})):this.props.props.setAttributes({pinned:!1,hasError:Object(re.__)("Invalid API key, or too many requests","coblocks")})}.bind(this))}},function(t){var o=Object(wm.createFactory)(t),n=function(e){function t(){return e.apply(this,arguments)||this}return Cm(t,e),t.prototype.render=function(){return o(Em({},this.props,this.state))},t}(wm.Component);return Object.keys(e).forEach((function(t){return n.prototype[t]=e[t]})),n}))((function(e){return[e.coords?Object(ae.createElement)(jm.GoogleMap,{isMarkerShown:!0,defaultZoom:e.props.attributes.zoom,defaultCenter:new window.google.maps.LatLng(e.coords),defaultOptions:{styles:Vm[b],draggable:!1,mapTypeControl:d,zoomControl:p,streetViewControl:m,fullscreenControl:h}},Object(ae.createElement)(jm.Marker,{position:new window.google.maps.LatLng(e.coords),icon:y})):null]})):O):Object(ae.createElement)(ie.Placeholder,{icon:Object(ae.createElement)(xe.BlockIcon,{icon:Gm}),label:Object(re.__)("Google map","coblocks"),instructions:Object(re.__)("Enter a location or address to drop a pin on a Google map.","coblocks")},Object(ae.createElement)("form",{onSubmit:v},Object(ae.createElement)("input",{type:"text",value:this.state.address||"",className:"components-placeholder__input",placeholder:Object(re.__)("Search for a place or address…","coblocks"),onChange:function(e){return o.setState({address:e.target.value})},onKeyDown:function(e){return function(e){e===qe.ENTER&&v()}(e.keyCode)}}),Object(ae.createElement)(ie.Button,{isLarge:!0,isSecondary:!0,type:"submit",disabled:!this.state.address},Object(re.__)("Apply","coblocks"))),c.lng&&c.hasError&&Object(ae.createElement)("span",{className:"invalid-google-maps-api-key"},c.hasError),Object(ae.createElement)("div",{className:"components-placeholder__learn-more"},i&&Object(ae.createElement)(ie.Button,{className:"components-placeholder__cancel-button",title:Object(re.__)("Cancel","coblocks"),isLink:!0,onClick:function(){r({pinned:!u}),o.setState({address:o.props.attributes.address})},disabled:!i},Object(re.__)("Cancel","coblocks")))))}}]),n}(ae.Component),Wm=Object(Ce.compose)([ie.withNotices])(Hm);var qm=function(e){var t=e.attributes,o=t.address,n=t.height,c=t.lat,r=t.lng,a=t.skin,i=t.zoom,l=t.iconSize,s=t.mapTypeControl,u=t.zoomControl,b=t.streetViewControl,d=t.fullscreenControl,p=t.hasApiKey,m={minHeight:n?n+"px":void 0},h={address:o,lat:c,lng:r,skin:a,zoom:i,iconSize:l,mapTypeControl:s,zoomControl:u,streetViewControl:b,fullscreenControl:d},f=document.documentElement.lang,g={"data-map-attr":Object.keys(h).map((function(e){return"/q".concat(e,"/q:/q").concat(h[e],"/q")})).join("||")};return Object(ae.createElement)("div",Ie()({style:m},g),!p&&Object(ae.createElement)("iframe",{title:Object(re.__)("Google Map","coblocks"),frameBorder:"0",style:{width:"100%",minHeight:n+"px"},src:"https://www.google.com/maps?q=".concat(encodeURIComponent(o),"&output=embed&hl=").concat(f,"&z=").concat(i)}))},Ym={from:[{type:"prefix",prefix:":map",transform:function(e){return Object(oe.createBlock)(Om.name,{content:e})}}]},Km=Om.name,Xm=Om.category,Jm=Om.attributes,Zm={title:Object(re.__)("Map","coblocks"),description:Object(re.__)("Add an address or location to drop a pin on a Google map.","coblocks"),icon:Gm,keywords:["coblocks",Object(re.__)("address","coblocks"),Object(re.__)("maps","coblocks"),Object(re.__)("google","coblocks"),Object(re.__)("directions","coblocks")],supports:{align:["wide","full"],coBlocksSpacing:!0},example:{attributes:{align:"wide",address:"Scottsdale, Arizona"}},attributes:Jm,transforms:Ym,edit:Wm,save:qm,deprecated:_m},$m=o(44);function Qm(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function eh(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Qm(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Qm(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var th=[{attributes:eh({},gc,{},$n,{},$m.attributes),save:function(e){var t,o,n=e.attributes,c=e.className,r=n.align,a=n.backgroundPadding,i=n.backgroundPaddingMobile,l=n.captions,s=n.captionStyle,u=n.filter,b=n.gridSize,d=n.gutter,p=n.gutterMobile,m=n.images,h=n.linkTo,f=n.radius,g=n.rel,v=n.target,y=Fe()("coblocks-gallery",(t={"has-no-alignment":!r},te()(t,"has-border-radius-".concat(f),f>0),te()(t,"has-filter-".concat(u),"none"!==u),te()(t,"has-caption-style-".concat(s),void 0!==s),te()(t,"has-background-border-radius-".concat(n.backgroundRadius),n.backgroundRadius>0),te()(t,"has-padding",a>0),te()(t,"has-padding-".concat(a),a>0),te()(t,"has-padding-mobile-".concat(i),i>0),t)),O=Fe.a.apply(void 0,[y].concat(ce()(Qn(n)),[{"has-gutter":d>0}])),k=eh({},rc(n)),_=Fe()("has-grid-".concat(b),(o={},te()(o,"has-gutter-".concat(d),d>0),te()(o,"has-gutter-mobile-".concat(p),p>0),o)),j=eh({},kc(n));return Object(ae.createElement)("div",{className:c},Object(ae.createElement)("div",{className:O,style:k},mc(n),Object(ae.createElement)("ul",{className:_,style:j},m.map((function(e){var t;switch(h){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);var o=Object(ae.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,"data-imglink":e.imgLink,className:e.id?"wp-image-".concat(e.id):null});return Object(ae.createElement)("li",{key:e.id||e.url,className:"coblocks-gallery--item"},Object(ae.createElement)("figure",{className:"coblocks-gallery--figure"},t?Object(ae.createElement)("a",{href:t,target:v,rel:g},o):o,l&&e.caption&&e.caption.length>0&&Object(ae.createElement)(xe.RichText.Content,{tagName:"figcaption",className:"coblocks-gallery--caption",value:e.caption})))})))))}},{attributes:eh({},gc,{},$n,{},$m.attributes),save:function(e){var t,o=e.attributes,n=e.className,c=o.captions,r=o.gridSize,a=o.gutter,i=o.gutterMobile,l=o.images,s=o.linkTo,u=o.rel,b=o.target,d=Fe.a.apply(void 0,ce()(vc(o)).concat(ce()(Qn(o)),[{"has-gutter":a>0}])),p=eh({},rc(o)),m=Fe()("has-grid-".concat(r),(t={},te()(t,"has-gutter-".concat(a),a>0),te()(t,"has-gutter-mobile-".concat(i),i>0),t)),h=eh({},kc(o));return Object(ae.createElement)("div",{className:n},Object(ae.createElement)("div",{className:d,style:p},mc(o),Object(ae.createElement)("ul",{className:m,style:h},l.map((function(e){var t;switch(s){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);var o=Object(ae.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-".concat(e.id):null});return Object(ae.createElement)("li",{key:e.id||e.url,className:"coblocks-gallery--item"},Object(ae.createElement)("figure",{className:"coblocks-gallery--figure"},t?Object(ae.createElement)("a",{href:t,target:b,rel:u},o):o,c&&e.caption&&e.caption.length>0&&Object(ae.createElement)(xe.RichText.Content,{tagName:"figcaption",className:"coblocks-gallery--caption",value:e.caption})))})))))}}],oh=o(274),nh=o.n(oh);function ch(){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}}var rh=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(ch()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).setSizeControl=e.setSizeControl.bind(pn()(e)),e.setRadiusTo=e.setRadiusTo.bind(pn()(e)),e.setCaptionStyleTo=e.setCaptionStyleTo.bind(pn()(e)),e}return ve()(n,[{key:"componentDidUpdate",value:function(){this.props.attributes.gutter<=0&&this.props.setAttributes({radius:0})}},{key:"setRadiusTo",value:function(e){this.props.setAttributes({radius:e})}},{key:"setSizeControl",value:function(e){this.props.setAttributes({gridSize:e})}},{key:"setCaptionStyleTo",value:function(e){this.props.setAttributes({captionStyle:e})}},{key:"getCaptionsHelp",value:function(e){return e?Object(re.__)("Showing captions for each media item.","coblocks"):Object(re.__)("Toggle to show media captions.","coblocks")}},{key:"getLightboxHelp",value:function(e){return e?Object(re.__)("Image lightbox is enabled.","coblocks"):Object(re.__)("Toggle to enable the image lightbox.","coblocks")}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.captions,c=t.captionStyle,r=t.gridSize,a=t.gutter,i=t.radius,l=t.lightbox;return Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Masonry settings","coblocks")},Object(ae.createElement)(Nc,Ie()({},this.props,{type:"grid",label:Object(re.__)("Size","coblocks"),onChange:this.setSizeControl,value:r,resetValue:"xlrg"})),Object(ae.createElement)(bc,this.props),a>0&&Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Rounded corners","coblocks"),"aria-label":Object(re.__)("Add rounded corners to the gallery items.","coblocks"),value:i,onChange:this.setRadiusTo,min:0,max:20,step:1}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Lightbox","coblocks"),checked:!!l,onChange:function(){return o({lightbox:!l})},help:this.getLightboxHelp}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Captions","coblocks"),checked:!!n,onChange:function(){return o({captions:!n})},help:this.getCaptionsHelp}),n&&Object(ae.createElement)(ie.SelectControl,{label:Object(re.__)("Caption style","coblocks"),value:c,onChange:this.setCaptionStyleTo,options:Dr})),Object(ae.createElement)(Vr,this.props))}}]),n}(ae.Component);function ah(){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}}var ih=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(ah()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=!!this.props.attributes.images.length;return Object(ae.createElement)(xe.BlockControls,null,e&&Object(ae.createElement)(Uc,this.props))}}]),n}(ae.Component);function lh(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function sh(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?lh(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):lh(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function uh(){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}}var bh={transitionDuration:0,percentPosition:!0},dh=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(uh()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).onSelectImage=e.onSelectImage.bind(pn()(e)),e.onRemoveImage=e.onRemoveImage.bind(pn()(e)),e.onMove=e.onMove.bind(pn()(e)),e.onMoveForward=e.onMoveForward.bind(pn()(e)),e.onMoveBackward=e.onMoveBackward.bind(pn()(e)),e.setImageAttributes=e.setImageAttributes.bind(pn()(e)),e.state={selectedImage:null},e}return ve()(n,[{key:"componentDidMount",value:function(){!0!==this.props.wideControlsEnabled||this.props.attributes.align||"xlrg"!==this.props.attributes.gridSize||this.props.setAttributes({align:"wide",gridSize:"lrg"})}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onMove",value:function(e,t){var o=ce()(this.props.attributes.images);o.splice(t,1,this.props.attributes.images[e]),o.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:o})}},{key:"onMoveForward",value:function(e){var t=this;return function(){e!==t.props.attributes.images.length-1&&t.onMove(e,e+1)}}},{key:"onMoveBackward",value:function(e){var t=this;return function(){0!==e&&t.onMove(e,e-1)}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var o=xc()(t.props.attributes.images,(function(t,o){return e!==o}));t.setState({selectedImage:null}),t.props.setAttributes({images:o})}}},{key:"setImageAttributes",value:function(e,t){var o=this.props,n=o.attributes.images,c=o.setAttributes;n[e]&&c({images:[].concat(ce()(n.slice(0,e)),[sh({},n[e],{},t)],ce()(n.slice(e+1)))})}},{key:"render",value:function(){var e,t,o=this,n=this.props,c=n.attributes,r=n.className,a=n.editorSidebarOpened,i=n.isSelected,l=n.noticeUI,s=n.pluginSidebarOpened,u=n.publishSidebarOpened,b=c.align,d=c.captions,p=c.gridSize,m=c.gutter,h=c.gutterMobile,f=c.images,g=c.linkTo,v=c.lightbox,y=!!f.length,O=a||s||u,k=Fe.a.apply(void 0,ce()(vc(c)).concat([O,(e={},te()(e,"align".concat(b),b),te()(e,"has-gutter",m>0),te()(e,"has-lightbox",v),e)])),_=Fe()("has-grid-".concat(p),(t={},te()(t,"has-gutter-".concat(m),m>0),te()(t,"has-gutter-mobile-".concat(h),h>0),t)),j=Object(ae.createElement)(ae.Fragment,null,y?null:l,Object(ae.createElement)(Zc,Ie()({},this.props,{label:Object(re.__)("Masonry","coblocks"),icon:mh,gutter:m})));return y?Object(ae.createElement)(ae.Fragment,null,i&&Object(ae.createElement)(ih,this.props),i&&Object(ae.createElement)(rh,this.props),l,Object(ae.createElement)("div",{className:r},Object(ae.createElement)("div",{className:k},Object(ae.createElement)(nh.a,{elementType:"ul",className:_,options:bh,disableImagesLoaded:!1,updateOnEachImageLoad:!1},f.map((function(e,t){var n=Object(re.sprintf)(Object(re.__)("image %1$d of %2$d in gallery","coblocks"),t+1,f.length);return Object(ae.createElement)("li",{className:"coblocks-gallery--item",key:e.id||e.url},Object(ae.createElement)(Kc,{url:e.url,alt:e.alt,id:e.id,imgLink:e.imgLink,linkTo:g,isFirstItem:0===t,isLastItem:t+1===f.length,isSelected:i&&o.state.selectedImage===t,onMoveBackward:o.onMoveBackward(t),onMoveForward:o.onMoveForward(t),onRemove:o.onRemoveImage(t),onSelect:o.onSelectImage(t),setAttributes:function(e){return o.setImageAttributes(t,e)},caption:e.caption,"aria-label":n,captions:d,supportsCaption:!0}))})))),j)):j}}]),n}(ae.Component),ph=Object(Ce.compose)([Object(Ye.withSelect)((function(e){return{editorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),pluginSidebarOpened:e("core/edit-post").isPluginSidebarOpened(),publishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),wideControlsEnabled:e("core/editor").getEditorSettings().alignWide}})),ie.withNotices])(dh),mh=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.G,{fill:"currentColor"},Object(ae.createElement)(ie.Path,{d:"m16 2c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2h-12c-1.1 0-2-.9-2-2v-12c0-1.1.9-2 2-2zm0 14v-12h-12v12zm-3.4810791-5.9761526 2.4810791 4.9761526h-10l3-3.8013916 1.89417989 2.5528077z"}),Object(ae.createElement)(ie.Path,{d:"m17.4512035 21.9981656h-15.4512035c0-1.1020179.92707221-2.0036688 2.06016047-2.0036688h11.33088253c1.1330883 0 2.0601605.9016509 2.0601605 2.0036688zm0 1.0018344h-15.4512035z"}),Object(ae.createElement)(ie.Path,{d:"m22 2.00084894v9.02214946c-1.1055588-.0312347-2-.9203701-2-2.00281985v-5.01650972c0-1.08244977.8944412-1.97158515 2-2.00281989zm.0601605-.00084894h.9398395v9.0238474-9.0238474z"}),Object(ae.createElement)(ie.Path,{d:"m22 13.0008489v9.0221495c-1.1055588-.0312347-2-.9203701-2-2.0028199v-5.0165097c0-1.0824497.8944412-1.9715851 2-2.0028199zm1-.0008489v9.0238474z"})));function hh(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var fh=function(e){var t,o=e.attributes,n=e.className,c=o.captions,r=o.gridSize,a=o.gutter,i=o.gutterMobile,l=o.images,s=o.linkTo,u=o.lightbox,b=o.rel,d=o.target,p=Fe.a.apply(void 0,ce()(vc(o)).concat([{"has-gutter":a>0,"has-lightbox":u}])),m=Fe()("has-grid-".concat(r),(t={},te()(t,"has-gutter-".concat(a),a>0),te()(t,"has-gutter-mobile-".concat(i),i>0),t)),h=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?hh(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):hh(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},kc(o));return Object(ae.createElement)("div",{className:n},Object(ae.createElement)("div",{className:p},Object(ae.createElement)("ul",{className:m,style:h},l.map((function(e){var t;switch(s){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);var o=Object(ae.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-".concat(e.id):null});return Object(ae.createElement)("li",{key:e.id||e.url,className:"coblocks-gallery--item"},Object(ae.createElement)("figure",{className:"coblocks-gallery--figure"},t?Object(ae.createElement)("a",{href:t,target:d,rel:b},o):o,c&&e.caption&&e.caption.length>0&&Object(ae.createElement)(xe.RichText.Content,{tagName:"figcaption",className:"coblocks-gallery--caption",value:e.caption})))})))))};function gh(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var vh={from:[{type:"block",blocks:["coblocks/gallery-carousel","coblocks/gallery-collage","coblocks/gallery-stacked","coblocks/gallery-offset","blockgallery/carousel","blockgallery/masonry","blockgallery/stacked","core/gallery"],transform:function(e){return Object(oe.createBlock)($m.name,Oc(e))}},{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=xc()(e,(function(e){var t=e.id,o=e.url;return Number.isInteger(t)&&o}));return t.length>0?Object(oe.createBlock)($m.name,{images:t.map((function(e){return{index:e.id,url:e.url,alt:e.alt||"",caption:e.caption||""}})),ids:t.map((function(e){return e.id}))}):Object(oe.createBlock)($m.name)}},{type:"prefix",prefix:":masonry",transform:function(e){return Object(oe.createBlock)($m.name,{content:e})}}],to:["coblocks/gallery-collage","coblocks/gallery-masonry","coblocks/gallery-stacked","coblocks/gallery-offset","core/gallery"].map((function(e){return{type:"block",blocks:[e],transform:function(t){return Object(oe.createBlock)(e,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?gh(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):gh(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},Oc(t)))}}}))};function yh(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Oh=$m.name,kh=$m.category,_h=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?yh(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):yh(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},gc,{},$m.attributes),jh={title:Object(re.__)("Masonry","coblocks"),description:Object(re.__)("Display multiple images in an organized masonry gallery.","coblocks"),icon:mh,keywords:["coblocks",Object(re.__)("gallery","coblocks"),Object(re.__)("photos","coblocks"),Object(re.__)("lightbox","coblocks")],supports:{align:["wide","full"],html:!1,coBlocksSpacing:!0},example:{attributes:{gridSize:"lrg",gutter:5,images:[{index:0,url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{index:1,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},{index:2,url:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},{index:3,url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg"},{index:4,url:"https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg"}]}},attributes:_h,transforms:vh,edit:ph,save:fh,deprecated:th},wh=Object(xe.withColors)("backgroundColor"),Eh={};Eh.mediaCardLeft=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"nonzero"},Object(ae.createElement)(ie.Path,{d:"m10.9166667 5.41666667h-1.83333337v3.66666666h-3.66666666v1.83333337h3.66666666v3.6666666h1.83333337v-3.6666666h3.6666666v-1.83333337h-3.6666666zm-.9166667-4.58333334c-5.06 0-9.16666667 4.10666667-9.16666667 9.16666667s4.10666667 9.1666667 9.16666667 9.1666667 9.1666667-4.1066667 9.1666667-9.1666667-4.1066667-9.16666667-9.1666667-9.16666667zm0 16.49999997c-4.0425 0-7.33333333-3.2908333-7.33333333-7.3333333s3.29083333-7.33333333 7.33333333-7.33333333 7.3333333 3.29083333 7.3333333 7.33333333-3.2908333 7.3333333-7.3333333 7.3333333z"}),Object(ae.createElement)(ie.Path,{d:"m6 14v-14h-6v14zm2-4h6v-6h-6zm-2-8h3v-2h-3zm0 12h3v-2h-3z",fill:"currentColor",transform:"translate(3 3)"}))),Eh.mediaCardRight=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fill:"none",fillRule:"nonzero"},Object(ae.createElement)(ie.Path,{d:"m10.9166667 5.41666667h-1.83333337v3.66666666h-3.66666666v1.83333337h3.66666666v3.6666666h1.83333337v-3.6666666h3.6666666v-1.83333337h-3.6666666zm-.9166667-4.58333334c-5.06 0-9.16666667 4.10666667-9.16666667 9.16666667s4.10666667 9.1666667 9.16666667 9.1666667 9.1666667-4.1066667 9.1666667-9.1666667-4.1066667-9.16666667-9.1666667-9.16666667zm0 16.49999997c-4.0425 0-7.33333333-3.2908333-7.33333333-7.3333333s3.29083333-7.33333333 7.33333333-7.33333333 7.3333333 3.29083333 7.3333333 7.33333333-3.2908333 7.3333333-7.3333333 7.3333333z"}),Object(ae.createElement)(ie.Path,{d:"m6 14v-14h-6v14zm2-4h6v-6h-6zm-2-8h3v-2h-3zm0 12h3v-2h-3z",fill:"currentColor",transform:"matrix(-1 0 0 1 17 3)"}))),Eh.mediaContainer=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object(ae.createElement)(ie.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object(ae.createElement)(ie.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"}));var Ch=Eh;function xh(){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}}var Sh=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(xh()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.mediaPosition,c=[{icon:Ch.mediaCardRight,title:Object(re.__)("Media on right","coblocks"),isActive:"right"===n,onClick:function(){return o({mediaPosition:"right"})}},{icon:Ch.mediaCardLeft,title:Object(re.__)("Media on left","coblocks"),isActive:"left"===n,onClick:function(){return o({mediaPosition:"left"})}}];return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(ie.Toolbar,{controls:c}),oc(this.props)))}}]),n}(ae.Component);function Ph(){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}}var zh=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Ph()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.backgroundColor,n=e.setAttributes,c=e.setBackgroundColor,r=t.hasImgShadow,a=t.hasCardShadow,i=t.mediaUrl,l=t.mediaAlt,s=t.paddingBottom,u=t.paddingLeft,b=t.paddingRight,d=t.paddingSize,p=t.paddingTop,m=t.paddingBottomTablet,h=t.paddingLeftTablet,f=t.paddingRightTablet,g=t.paddingTopTablet,v=t.paddingBottomMobile,y=t.paddingLeftMobile,O=t.paddingRightMobile,k=t.paddingTopMobile,_=t.paddingSyncUnits,j=t.paddingSyncUnitsTablet,w=t.paddingSyncUnitsMobile,E=t.paddingUnit,C=t.maxWidth,x=t.align,S=t.mediaType;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Media Card settings","coblocks"),className:"block-coblocks__inspector-block-settings-panel-body"},Object(ae.createElement)(wa,Ie()({},this.props,{type:"padding",label:Object(re.__)("Padding","coblocks"),help:Object(re.__)("Space inside of the container.","coblocks"),valueTop:p,valueRight:b,valueBottom:s,valueLeft:u,valueTopTablet:g,valueRightTablet:f,valueBottomTablet:m,valueLeftTablet:h,valueTopMobile:k,valueRightMobile:O,valueBottomMobile:v,valueLeftMobile:y,unit:E,syncUnits:_,syncUnitsTablet:j,syncUnitsMobile:w,dimensionSize:d})),("full"===x||"wide"===x)&&Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Max width","coblocks"),className:"components-block-coblocks-media-card-maxwidth-range",value:parseFloat(C),onChange:function(e){return n({maxWidth:e})},min:400,max:2e3,step:1}),i&&"image"===S&&Object(ae.createElement)(ie.TextareaControl,{label:Object(re.__)("Alt text (alternative text)","coblocks"),value:l,onChange:function(e){return n({mediaAlt:e})},help:Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(re.__)("Describe the purpose of the image","coblocks")),Object(re.__)("Leave empty if the image is purely decorative.","coblocks"))}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Card shadow","coblocks"),checked:!!a,onChange:function(){return n({hasCardShadow:!a})},help:a?Object(re.__)("Showing card shadow.","coblocks"):Object(re.__)("Toggle to add a card shadow.","coblocks")}),S&&Object(ae.createElement)(ie.ToggleControl,{label:Object(re.sprintf)(Object(re.__)(" %s shadow","coblocks"),S.charAt(0).toUpperCase()+S.slice(1)),checked:!!r,onChange:function(){return n({hasImgShadow:!r})},help:r?Object(re.sprintf)(Object(re.__)("Showing %s shadow.","coblocks"),S):Object(re.sprintf)(Object(re.__)("Toggle to add an %s shadow","coblocks"),S)})),Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:function(e){c(e),d&&"no"!==d||n({paddingSize:"medium"}),e||n({paddingSize:"no"})},label:Object(re.__)("Background color","coblocks")}]}),Object(ae.createElement)(pc,Ie()({},this.props,{hasOverlay:!0}))))}}]),n}(ae.Component),Th=Object(Ce.compose)([wh])(zh);function Rh(){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}}var Bh=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Rh()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,o=e.onSelectMedia;return Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(ie.Toolbar,null,Object(ae.createElement)(xe.MediaUpload,{onSelect:o,allowedTypes:Ih,value:t,render:function(e){var t=e.open;return Object(ae.createElement)(ie.IconButton,{className:"components-toolbar__control",label:Object(re.__)("Edit media","coblocks"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,o=e.mediaUrl,n=e.hasImgShadow,c=e.figureClass;return Object(ae.createElement)(ae.Fragment,null,this.renderToolbarEditButton(),Object(ae.createElement)("figure",{className:Fe()(c,{"has-shadow":n})},Object(ae.createElement)("img",{src:o,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,o=e.hasImgShadow,n=e.figureClass;return Object(ae.createElement)(ae.Fragment,null,this.renderToolbarEditButton(),Object(ae.createElement)("figure",{className:Fe()(n,{"has-shadow":o})},Object(ae.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,o=e.figureClass,n=e.mediaAlt,c=e.mediaUrl;return Object(ae.createElement)("div",{className:"wp-block-coblocks-media-card__placeholder"},Object(St.isBlobURL)(c)?Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.Spinner,null),Object(ae.createElement)("figure",{className:Fe()(o,"is-transient",{})},Object(ae.createElement)("img",{src:c,alt:n}))):Object(ae.createElement)(xe.MediaPlaceholder,{icon:Object(ae.createElement)(xe.BlockIcon,{icon:Ch.mediaContainer}),labels:{title:Object(re.__)("Media area","coblocks"),instructions:Object(re.__)("Upload a media file or pick one from your media library","coblocks")},className:o,onSelect:t,accept:"image/*,video/*",allowedTypes:Ih}))}},{key:"render",value:function(){var e=this.props,t=e.mediaUrl,o=e.mediaType,n=e.mediaWidth,c=e.mediaPosition,r=e.commitWidthChange,a=e.onWidthChange,i=e.onDropMedia,l=Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.DropZone,{onFilesDrop:i,label:Object(re.__)("Drop to replace media","coblocks")}));if(o&&t){var s={right:"left"===c,left:"right"===c},u=null;switch(o){case"image":u=this.renderImage();break;case"video":u=this.renderVideo()}return Object(ae.createElement)(ie.ResizableBox,{className:"editor-media-container__resizer",size:{width:n+"%"},minWidth:"30%",maxWidth:"100%",enable:s,onResize:function(e,t,o){a(parseInt(o.style.width))},onResizeStop:function(e,t,o){r(parseInt(o.style.width))},axis:"x"},l,u)}return this.renderPlaceholder()}}]),n}(ae.Component);function Nh(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ah(){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}}var Ih=["image","video"],Mh=["core/heading","core/paragraph","core/spacer","core/button","core/list","core/image","coblocks/alert","coblocks/gif","coblocks/social","coblocks/row","coblocks/column"],Dh=[["coblocks/row",{columns:1,layout:"100",paddingSize:"huge",hasMarginControl:!1,hasStackedControl:!1,hasAlignmentControls:!1,customBackgroundColor:"#FFFFFF"},[["coblocks/column",{width:"100"},[["core/heading",{placeholder:Object(re.__)("Add heading…","coblocks"),content:Object(re.__)("Media Card","coblocks"),level:3}],["core/paragraph",{placeholder:Object(re.__)("Add content…","coblocks"),content:Object(re.__)("Replace this text with descriptive copy to go along with the card image. Then add more blocks to this card, such as buttons, lists or images.","coblocks")}]]]]]],Lh=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Ah()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).onDropMedia=e.onDropMedia.bind(pn()(e)),e.onSelectMedia=e.onSelectMedia.bind(pn()(e)),e.onWidthChange=e.onWidthChange.bind(pn()(e)),e.commitWidthChange=e.commitWidthChange.bind(pn()(e)),e.state={mediaWidth:null},e}return ve()(n,[{key:"onDropMedia",value:function(e){var t=this;Object(kn.mediaUpload)({allowedTypes:Ih,filesList:e,onFileChange:function(e){var o=be()(e,1)[0];return t.onSelectMedia(o)}})}},{key:"onSelectMedia",value:function(e){var t,o,n=this.props.setAttributes;"image"===(t=e.media_type?"image"===e.media_type?"image":"video":e.type)&&(o=Et()(e,["sizes","large","url"])||Et()(e,["media_details","sizes","large","source_url"])),n({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:o||e.url})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:e})}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:e}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props,t=e.attributes,o=e.className,n=t.mediaAlt,c=t.mediaId,r=t.mediaType,a=t.mediaUrl,i=t.mediaWidth,l=t.mediaPosition,s=t.hasImgShadow;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(Bh,Ie()({className:o,figureClass:"wp-block-coblocks-media-card__media-container",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange,onDropMedia:this.onDropMedia},{mediaAlt:n,mediaId:c,mediaType:r,mediaUrl:a,mediaPosition:l,hasImgShadow:s,mediaWidth:i})))}},{key:"render",value:function(){var e,t=this.props,o=t.attributes,n=t.backgroundColor,c=t.className,r=t.isSelected,a=o.coblocks,i=o.backgroundImg,l=o.hasCardShadow,s=o.paddingTop,u=o.paddingRight,b=o.paddingBottom,d=o.paddingLeft,p=o.paddingUnit,m=o.paddingSize,h=o.mediaWidth,f=o.mediaUrl,g=o.maxWidth,v=o.isStackedOnMobile,y=o.align,O=o.mediaPosition,k=Object(ae.createElement)(cc,Ie()({},this.props,{label:Object(re.__)("Add as background","coblocks")})),_=this.state.mediaWidth,j="".concat(_||h,"%"),w=Fe.a.apply(void 0,["wp-block-coblocks-media-card__inner"].concat(ce()(Qn(o)),[te()({"has-padding":m&&"no"!==m},"has-".concat(m,"-padding"),m&&"advanced"!==m)])),E=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Nh(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Nh(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},rc(o),{backgroundColor:n.color,paddingTop:"advanced"===m&&s?s+p:void 0,paddingRight:"advanced"===m&&u?u+p:void 0,paddingBottom:"advanced"===m&&b?b+p:void 0,paddingLeft:"advanced"===m&&d?d+p:void 0}),C={gridTemplateColumns:"right"===O?"auto ".concat(j):"".concat(j," auto"),maxWidth:g?("full"===y||"wide"===y)&&g:void 0},x=Fe()(c,(e={},te()(e,"is-style-".concat(O),O),te()(e,"has-no-media",!f||null),te()(e,"is-selected",r),te()(e,"is-stacked-on-mobile",v),e));return a&&void 0!==a.id&&(x=Fe()(x,"coblocks-media-card-".concat(a.id))),Object(ae.createElement)(ae.Fragment,null,k,r&&Object(ae.createElement)(Sh,this.props),r&&Object(ae.createElement)(Th,this.props),Object(ae.createElement)("div",{className:x},Object(ae.createElement)("div",{className:w,style:E},Object(St.isBlobURL)(i)&&Object(ae.createElement)(ie.Spinner,null),mc(o),Object(ae.createElement)("div",{className:"wp-block-coblocks-media-card__wrapper",style:C},this.renderMediaArea(),Object(ae.createElement)("div",{className:Fe()("wp-block-coblocks-media-card__content",{"has-shadow":l})},void 0!==this.props.insertBlocksAfter&&Object(ae.createElement)(xe.InnerBlocks,{template:Dh,allowedBlocks:Mh,templateLock:!0,templateInsertUpdatesSelection:!1}))))))}}]),n}(ae.Component),Fh=Object(Ce.compose)([wh])(Lh),Vh=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m20 3c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1h-7-4v-3h4v-12h-4v-3h4zm-9 13h-8v-8h8z",transform:"matrix(-1 0 0 -1 24 24)"})),Gh=o(62),Uh=o(194),Hh=o.n(Uh);function Wh(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var qh=function(e){var t,o,n=e.attributes,c=n.coblocks,r=n.hasCardShadow,a=n.hasImgShadow,i=n.paddingSize,l=n.mediaAlt,s=n.mediaType,u=n.mediaUrl,b=n.mediaWidth,d=n.mediaId,p=n.maxWidth,m=n.mediaPosition,h=n.isStackedOnMobile,f=n.align,g={image:function(){return Object(ae.createElement)("img",{src:u,alt:l,className:d&&"image"===s?"wp-image-".concat(d):null})},video:function(){return Object(ae.createElement)("video",{controls:!0,src:u})}};55!==b&&(o="right"===m?"auto ".concat(b,"%"):"".concat(b,"% auto"));var v=Fe()((t={},te()(t,"is-style-".concat(m),m),te()(t,"has-no-media",!u||null),te()(t,"is-stacked-on-mobile",h),t));c&&void 0!==c.id&&(v=Fe()(v,"coblocks-media-card-".concat(c.id)));var y=Fe.a.apply(void 0,["wp-block-coblocks-media-card__inner"].concat(ce()(Qn(n)),[te()({"has-padding":i&&"no"!==i},"has-".concat(i,"-padding"),i&&"advanced"!==i)])),O=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Wh(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Wh(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},rc(n)),k={gridTemplateColumns:o,maxWidth:p?("full"===f||"wide"===f)&&p:void 0},_=Fe()("wp-block-coblocks-media-card__content",{"has-shadow":r});return Object(ae.createElement)("div",{className:v},Object(ae.createElement)("div",{className:y,style:O},mc(n),Object(ae.createElement)("div",{className:"wp-block-coblocks-media-card__wrapper",style:k},Object(ae.createElement)("figure",{className:Fe()("wp-block-coblocks-media-card__media",{"has-shadow":a})},(g[s]||Hh.a)(),u?null:se.logo),Object(ae.createElement)("div",{className:_},Object(ae.createElement)(xe.InnerBlocks.Content,null)))))},Yh={from:[{type:"prefix",prefix:":card",transform:function(){return Object(oe.createBlock)(Gh.name)}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,o=e.url,n=e.id;return Object(oe.createBlock)(Gh.name,{mediaAlt:t,mediaId:n,mediaUrl:o,mediaType:"image"})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.src,o=e.id;return Object(oe.createBlock)(Gh.name,{mediaId:o,mediaUrl:t,mediaType:"video"})}},{type:"block",blocks:["core/media-text"],transform:function(e){var t=e.mediaAlt,o=e.mediaUrl,n=e.mediaId,c=e.mediaType,r=e.mediaPosition;return Object(oe.createBlock)(Gh.name,{mediaAlt:t,mediaId:n,mediaUrl:o,mediaType:c,mediaPosition:r})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"image"===t},transform:function(e){var t=e.mediaAlt,o=e.mediaId,n=e.mediaUrl;return Object(oe.createBlock)("core/image",{alt:t,id:o,url:n})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"video"===t},transform:function(e){var t=e.mediaId,o=e.mediaUrl;return Object(oe.createBlock)("core/video",{id:t,src:o})}},{type:"block",blocks:["core/media-text"],transform:function(e){var t=e.mediaAlt,o=e.mediaUrl,n=e.mediaId,c=e.mediaType,r=e.mediaPosition;return Object(oe.createBlock)("core/media-text",{mediaAlt:t,mediaId:n,mediaUrl:o,mediaType:c,mediaPosition:r})}}]};function Kh(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Xh=Gh.name,Jh=Gh.category,Zh=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Kh(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Kh(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},$n,{},da,{},Gh.attributes),$h={title:Object(re.__)("Media Card","coblocks"),description:Object(re.__)("Add an image or video with an offset card side-by-side.","coblocks"),icon:Vh,keywords:["coblocks",Object(re.__)("image","coblocks"),Object(re.__)("video","coblocks")],supports:{align:["wide","full"],stackedOnMobile:!0,coBlocksSpacing:!0},example:{attributes:{align:"wide",mediaType:"image",mediaUrl:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",mediaWidth:45}},attributes:Zh,transforms:Yh,edit:Fh,save:qh};function Qh(){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}}var ef=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Qh()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).setLinkTo=e.setLinkTo.bind(pn()(e)),e.setRadiusTo=e.setRadiusTo.bind(pn()(e)),e.setSizeControl=e.setSizeControl.bind(pn()(e)),e.setCaptionStyleTo=e.setCaptionStyleTo.bind(pn()(e)),e.setFullwidthTo=e.setFullwidthTo.bind(pn()(e)),e}return ve()(n,[{key:"setLinkTo",value:function(e){this.props.setAttributes({linkTo:e})}},{key:"setRadiusTo",value:function(e){this.props.setAttributes({radius:e})}},{key:"setFullwidthTo",value:function(){this.props.setAttributes({fullwidth:!this.props.attributes.fullwidth})}},{key:"setSizeControl",value:function(e){this.props.setAttributes({gridSize:e})}},{key:"setCaptionStyleTo",value:function(e){this.props.setAttributes({captionStyle:e})}},{key:"getCaptionsHelp",value:function(e){return e?Object(re.__)("Showing captions for each media item.","coblocks"):Object(re.__)("Toggle to show media captions.","coblocks")}},{key:"getLightboxHelp",value:function(e){return e?Object(re.__)("Image lightbox is enabled.","coblocks"):Object(re.__)("Toggle to enable the image lightbox.","coblocks")}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.gridSize,c=t.gutter,r=t.lightbox,a=t.radius,i=t.captions,l=t.captionStyle;return Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Offset settings","coblocks")},Object(ae.createElement)(Nc,Ie()({},this.props,{label:Object(re.__)("Size","coblocks"),type:"reverse-grid",onChange:this.setSizeControl,value:n,reset:!1})),Object(ae.createElement)(Wr,{label:Object(re.__)("Gutter","coblocks"),currentOption:c,options:qr,onChange:function(e){return o({gutter:e})}}),"no"!==c&&Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Rounded corners","coblocks"),value:a,onChange:this.setRadiusTo,min:0,max:20,step:1}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Lightbox","coblocks"),checked:!!r,onChange:function(){return o({lightbox:!r})},help:this.getLightboxHelp}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Captions","coblocks"),checked:!!i,onChange:function(){return o({captions:!i})},help:this.getCaptionsHelp}),i&&Object(ae.createElement)(ie.SelectControl,{label:Object(re.__)("Caption style","coblocks"),value:l,onChange:this.setCaptionStyleTo,options:Dr})),Object(ae.createElement)(Vr,this.props))}}]),n}(ae.Component);function tf(){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}}var of=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(tf()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=!!this.props.attributes.images.length;return Object(ae.createElement)(xe.BlockControls,null,e&&Object(ae.createElement)(Uc,this.props))}}]),n}(ae.Component),nf=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m18 1c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2h-12c-1.1 0-2-.9-2-2v-10c0-1.1.9-2 2-2zm0 12v-10h-12v10zm-3.4810791-5.97615262 2.4810791 4.97615262h-10l3-3.8013916 1.8941799 2.5528077zm-13.5189209 14.97615262v-3c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2v2.9698486c0 .0100028-.00007711.0200534-.00023095.0301514h-2.05032284l.05055379-.0510254v-2.9489746h-4v3zm10 0v-3c0-1.1.9-2 2-2h8c1.1 0 2 .9 2 2v2.9698486c0 .0100028-.0000771.0200534-.0002309.0301514h-2.0503229l.0505538-.0510254v-2.9489746h-8v3z"}));function cf(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function rf(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?cf(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):cf(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function af(){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}}var lf=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(af()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).onSelectImage=e.onSelectImage.bind(pn()(e)),e.onRemoveImage=e.onRemoveImage.bind(pn()(e)),e.onMove=e.onMove.bind(pn()(e)),e.onMoveForward=e.onMoveForward.bind(pn()(e)),e.onMoveBackward=e.onMoveBackward.bind(pn()(e)),e.setImageAttributes=e.setImageAttributes.bind(pn()(e)),e.state={selectedImage:null},e}return ve()(n,[{key:"componentDidMount",value:function(){!0!==this.props.wideControlsEnabled||this.props.attributes.align||this.props.setAttributes({align:"wide"})}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"onMove",value:function(e,t){var o=ce()(this.props.attributes.images);o.splice(t,1,this.props.attributes.images[e]),o.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:o})}},{key:"onMoveForward",value:function(e){var t=this;return function(){e!==t.props.attributes.images.length-1&&t.onMove(e,e+1)}}},{key:"onMoveBackward",value:function(e){var t=this;return function(){0!==e&&t.onMove(e,e-1)}}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var o=xc()(t.props.attributes.images,(function(t,o){return e!==o}));t.setState({selectedImage:null}),t.props.setAttributes({images:o})}}},{key:"setImageAttributes",value:function(e,t){var o=this.props,n=o.attributes.images,c=o.setAttributes;n[e]&&c({images:[].concat(ce()(n.slice(0,e)),[rf({},n[e],{},t)],ce()(n.slice(e+1)))})}},{key:"render",value:function(){var e,t=this,o=this.props,n=o.attributes,c=o.className,r=o.isSelected,a=o.noticeUI,i=n.captions,l=n.gutter,s=n.images,u=n.linkTo,b=n.lightbox,d=n.gridSize,p=!!s.length,m=Fe()(c,{"has-lightbox":b}),h=Fe.a.apply(void 0,ce()(vc(n)).concat([(e={},te()(e,"has-".concat(d,"-images"),d),te()(e,"has-".concat(l,"-gutter"),l),e)])),f=Object(ae.createElement)(ae.Fragment,null,p?null:a,Object(ae.createElement)(Zc,Ie()({},this.props,{label:Object(re.__)("Offset","coblocks"),icon:nf})));return p?Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(of,this.props),Object(ae.createElement)(ef,this.props),a,Object(ae.createElement)("div",{className:m},Object(ae.createElement)("ul",{className:h},s.map((function(e,o){var n=Object(re.sprintf)(Object(re.__)("image %1$d of %2$d in gallery","coblocks"),o+1,s.length);return Object(ae.createElement)("li",{className:"coblocks-gallery--item",key:e.id||e.url},Object(ae.createElement)(Kc,{url:e.url,alt:e.alt,id:e.id,isSelected:r&&t.state.selectedImage===o,onRemove:t.onRemoveImage(o),onSelect:t.onSelectImage(o),setAttributes:function(e){return t.setImageAttributes(o,e)},caption:e.caption,"aria-label":n,captions:i,supportsCaption:!0,imgLink:e.imgLink,linkTo:u,isFirstItem:0===o,isLastItem:o+1===s.length,onMoveBackward:t.onMoveBackward(o),onMoveForward:t.onMoveForward(o),newClass:"wp-block-coblocks-gallery-offset__figure"}))}))),f)):f}}]),n}(ae.Component),sf=Object(Ce.compose)([Object(Ye.withSelect)((function(e){return{wideControlsEnabled:e("core/editor").getEditorSettings().alignWide}})),ie.withNotices])(lf),uf=o(45);function bf(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function df(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?bf(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):bf(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var pf=[{attributes:df({},gc,{},uf.attributes,{gridSize:{type:"string",default:"sml"},gutter:{type:"number",default:1}}),migrate:function(e){var t="";switch(e.gutter){case 0:t="no";break;case 1:t="small";break;case 2:t="medium";break;case 3:t="large";break;case 4:t="huge"}var o="";switch(e.gridSize){case"sml":o="small";break;case"med":o="medium";break;case"lrg":o="large"}return df({},e,{gutter:t,gridSize:o})},save:function(e){var t,o=e.attributes,n=e.className,c=o.captions,r=o.gutter,a=o.gridSize,i=o.images,l=o.lightbox,s=o.linkTo,u=o.rel,b=o.target,d=Fe()(n,{"has-lightbox":l}),p=Fe.a.apply(void 0,ce()(vc(o)).concat(["flex","flex-wrap","justify-center","mb-0","ml-1","-mb-1",(t={},te()(t,"sm:ml-".concat(r),r),te()(t,"sm:-mb-".concat(r),r),te()(t,"coblocks-gallery--".concat(a),a),t)]));return Object(ae.createElement)("div",{className:d},Object(ae.createElement)("ul",{className:p},i.map((function(e){var t;switch(s){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);var o=Fe()(e.id?["wp-image-".concat(e.id)]:null,{}),n=Object(ae.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:o});return Object(ae.createElement)("li",{key:e.id||e.url,className:"coblocks-gallery--item"},Object(ae.createElement)("figure",{className:"wp-block-coblocks-gallery-offset__figure"},t?Object(ae.createElement)("a",{href:t,target:b,rel:u},n):n,c&&e.caption&&e.caption.length>0&&Object(ae.createElement)(xe.RichText.Content,{tagName:"figcaption",className:"coblocks-gallery--caption",value:e.caption})))}))))}},{attributes:df({},gc,{},uf.attributes,{images:df({},gc.images,{query:df({},gc.images.query,{imgLink:{source:"attribute",selector:"a",attribute:"href"}})})}),save:function(e){var t,o=e.attributes,n=e.className,c=o.captions,r=o.gutter,a=o.gridSize,i=o.images,l=o.lightbox,s=o.linkTo,u=o.rel,b=o.target,d=Fe()(n,{"has-lightbox":l}),p=Fe.a.apply(void 0,ce()(vc(o)).concat([(t={},te()(t,"has-".concat(a,"-images"),a),te()(t,"has-".concat(r,"-gutter"),r),t)]));return Object(ae.createElement)("div",{className:d},Object(ae.createElement)("ul",{className:p},i.map((function(e){var t;switch(s){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);var o=Fe()(e.id?["wp-image-".concat(e.id)]:null,{}),n=Object(ae.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:o});return Object(ae.createElement)("li",{key:e.id||e.url,className:"coblocks-gallery--item"},Object(ae.createElement)("figure",{className:"wp-block-coblocks-gallery-offset__figure"},t?Object(ae.createElement)("a",{href:t,target:b,rel:u},n):n,c&&e.caption&&e.caption.length>0&&Object(ae.createElement)(xe.RichText.Content,{tagName:"figcaption",className:"coblocks-gallery--caption",value:e.caption})))}))))}}],mf=function(e){var t,o=e.attributes,n=e.className,c=o.captions,r=o.gutter,a=o.gridSize,i=o.images,l=o.lightbox,s=o.linkTo,u=o.rel,b=o.target,d=Fe()(n,{"has-lightbox":l}),p=Fe.a.apply(void 0,ce()(vc(o)).concat([(t={},te()(t,"has-".concat(a,"-images"),a),te()(t,"has-".concat(r,"-gutter"),r),t)]));return Object(ae.createElement)("div",{className:d},Object(ae.createElement)("ul",{className:p},i.map((function(e){var t;switch(s){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);var o=Fe()(e.id?["wp-image-".concat(e.id)]:null,{}),n=Object(ae.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:o});return Object(ae.createElement)("li",{key:e.id||e.url,className:"coblocks-gallery--item"},Object(ae.createElement)("figure",{className:"wp-block-coblocks-gallery-offset__figure"},t?Object(ae.createElement)("a",{href:t,target:b,rel:u},n):n,c&&e.caption&&e.caption.length>0&&Object(ae.createElement)(xe.RichText.Content,{tagName:"figcaption",className:"coblocks-gallery--caption",value:e.caption})))}))))};function hf(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ff(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?hf(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):hf(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var gf={from:[{type:"block",blocks:["coblocks/gallery-collage","coblocks/gallery-masonry","coblocks/gallery-stacked","coblocks/gallery-carousel","blockgallery/carousel","blockgallery/masonry","blockgallery/stacked","core/gallery"],transform:function(e){return Object(oe.createBlock)(uf.name,ff({},Oc(e)))}},{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=xc()(e,(function(e){var t=e.id,o=e.url;return Number.isInteger(t)&&o}));return t.length>0?Object(oe.createBlock)(uf.name,{images:t.map((function(e){return{index:e.id,url:e.url,alt:e.alt||"",caption:e.caption||""}})),ids:t.map((function(e){return e.id}))}):Object(oe.createBlock)(uf.name)}},{type:"prefix",prefix:":offset",transform:function(e){return Object(oe.createBlock)(uf.name,{content:e})}}],to:["coblocks/gallery-collage","coblocks/gallery-masonry","coblocks/gallery-stacked","coblocks/gallery-carousel","core/gallery"].map((function(e){return{type:"block",blocks:[e],transform:function(t){return Object(oe.createBlock)(e,ff({},Oc(t)))}}}))};function vf(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var yf=uf.name,Of=uf.category,kf=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?vf(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):vf(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},gc,{},uf.attributes),_f={title:Object(re.__)("Offset","coblocks"),description:Object(re.__)("Display images in an offset brick pattern gallery.","coblocks"),icon:nf,keywords:["coblocks",Object(re.__)("gallery","coblocks"),Object(re.__)("photos","coblocks")],supports:{align:["wide","full"]},example:{attributes:{gutter:5,images:[{index:0,url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{index:1,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},{index:2,url:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},{index:3,url:"https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg"}]}},attributes:kf,transforms:gf,edit:sf,save:mf,deprecated:pf},jf=o(22),wf=o.n(jf),Ef=function(e){var t=e.attributes,o=e.activeStyle,n=e.styleOptions,c=e.onUpdateStyle,r=e.setAttributes,a=e.onUserModifiedColumn,i=e.categoriesList,l=e.postCount,s=e.hasPosts,u=e.hasFeaturedImage,b=t.columns,d=t.displayPostContent,p=t.displayPostDate,m=t.excerptLength,h=t.imageSize,f=t.imageStyle,g=t.listPosition,v=t.order,y=t.orderBy,O=t.postFeedType,k=t.postsToShow,_="horizontal"===o.name,j=[{value:"small",label:Object(re.__)("S","coblocks"),tooltip:Object(re.__)("Small","coblocks")},{value:"medium",label:Object(re.__)("M","coblocks"),tooltip:Object(re.__)("Medium","coblocks")},{value:"large",label:Object(re.__)("L","coblocks"),tooltip:Object(re.__)("Large","coblocks")},{value:"huge",label:Object(re.__)("XL","coblocks"),tooltip:Object(re.__)("Huge","coblocks")}],w=[{value:"square",label:Object(re.__)("Square","coblocks"),tooltip:Object(re.__)("Square","coblocks")},{value:"circle",label:Object(re.__)("Circle","coblocks"),tooltip:Object(re.__)("Circle","coblocks")}],E=[{value:"square",label:Object(re.__)("Square","coblocks"),tooltip:Object(re.__)("Square","coblocks")},{value:"four-to-three",label:Object(re.__)("4:3","coblocks"),tooltip:Object(re.__)("4:3 Aspect ratio","coblocks")},{value:"sixteen-to-nine",label:Object(re.__)("16:9","coblocks"),tooltip:Object(re.__)("16:9 Aspect ratio","coblocks")},{value:"circle",label:Object(re.__)("Circle","coblocks"),tooltip:Object(re.__)("Circle","coblocks")}],C=function(e){r({columns:e>k?k:e})};_&&b>2&&C(2);var x=Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Posts settings","coblocks")},Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Post date","coblocks"),checked:p,help:p?Object(re.__)("Showing the publish date.","coblocks"):Object(re.__)("Toggle to show the publish date.","coblocks"),onChange:function(){return r({displayPostDate:!p})}}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Post content","coblocks"),checked:d,help:d?Object(re.__)("Showing the post content.","coblocks"):Object(re.__)("Toggle to show the post content.","coblocks"),onChange:function(){return r({displayPostContent:!d})}}),d&&Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Max words in content","coblocks"),value:m,onChange:function(e){return r({excerptLength:e})},min:5,max:75}),Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Columns","coblocks"),value:b,onChange:function(e){a(),C(e)},min:1,max:_?Math.min(2,l):Math.min(4,l),required:!0}),t.columns>=2&&Object(ae.createElement)(Wr,{label:Object(re.__)("Gutter","coblocks"),currentOption:t.gutter,options:qr,onChange:function(e){return r({gutter:e})}}),u&&Object(ae.createElement)(Wr,{label:Object(re.__)("Thumbnail style","coblocks"),options:_?w:E,currentOption:f,onChange:function(e){return r({imageStyle:e})}}),_&&u&&Object(ae.createElement)(Wr,{label:Object(re.__)("Thumbnail size","coblocks"),options:j,currentOption:h,onChange:function(e){return r({imageSize:e})}}))),S=Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Feed settings","coblocks"),initialOpen:!s},Object(ae.createElement)(ie.RadioControl,{selected:O,options:[{label:Object(re.__)("My blog","coblocks"),value:"internal"},{label:Object(re.__)("External feed","coblocks"),value:"external"}],onChange:function(e){return r({postFeedType:e})}}),s?Object(ae.createElement)(ae.Fragment,null,"internal"===O&&Object(ae.createElement)(ie.QueryControls,{order:v,orderBy:y,categoriesList:i,selectedCategoryId:t.categories,onOrderChange:function(e){return r({order:e})},onOrderByChange:function(e){return r({orderBy:e})},onCategoryChange:function(e){return r({categories:""!==e?e:void 0})}}),Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Number of posts","coblocks"),value:k,onChange:function(e){return o={postsToShow:t=e},(b>t||1===t&&1!==b)&&Object.assign(o,{columns:t}),void r(o);var t,o},min:1,max:20})):null);return Object(ae.createElement)(xe.InspectorControls,null,s?Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Styles","coblocks"),initialOpen:!1},Object(ae.createElement)("div",{className:"block-editor-block-styles coblocks-editor-block-styles"},n.map((function(e){return Object(ae.createElement)("div",{key:"style-".concat(e.name),className:Fe()("block-editor-block-styles__item",{"is-active":o===e}),onClick:function(){"horizontal"===e.name&&["four-to-three","sixteen-to-nine"].includes(f)&&r({imageStyle:"square"}),c(e)},onKeyDown:function(t){qe.ENTER!==t.keyCode&&qe.SPACE!==t.keyCode||(t.preventDefault(),c(e))},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(ae.createElement)("div",{className:"block-editor-block-styles__item-preview"},"left"===g&&e.iconAlt?e.iconAlt:e.icon),Object(ae.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label||e.name))})))):null,s?x:null,S)},Cf={};Cf.imageLeft=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(ae.createElement)(ie.Path,{d:"m11 15v-10h-10v10zm2-6h6v-2h-6zm0 4h6v-2h-6z"})),Cf.imageRight=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(ae.createElement)(ie.Path,{d:"m19 15v-10h-10v10zm-18-6h6v-2h-6zm0 4h6v-2h-6z"})),Cf.styleHorizontalImageRight=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 26",height:"26",width:"56"},Object(ae.createElement)(ie.Path,{d:"m48 11.0910645v-10.00000005h-10v10.00000005zm-40-6.00000005h24v-2h-24zm0 4v-2h18v2zm40 16.00000005h-10v-10h10zm-40-6v-2h24v2zm0 4v-2h18v2z"})),Cf.styleHorizontalImageLeft=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 26",height:"26",width:"56"},Object(ae.createElement)(ie.Path,{d:"m18 11.0910645v-10.00000005h-10v10.00000005zm6-6.00000005h24v-2h-24zm0 4v-2h18v2zm-6 16.00000005h-10v-10h10zm6-6v-2h24v2zm0 4v-2h18v2z"})),Cf.styleStacked=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 26",height:"26",width:"56"},Object(ae.createElement)(ie.Path,{d:"m26 17v-16h-16v16zm-16 4h10v-2h-10zm0 4v-2h10v2zm36-8h-16v-16h16zm-16 4v-2h10v2zm0 4v-2h10v2z"}));var xf=Cf,Sf=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m10 3c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1h-8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm-9 12h10v2h-10zm0 4h7v2h-7zm8-8v-6h-6v6z"}),Object(ae.createElement)("path",{d:"m22 3c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1h-8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm-9 12h10v2h-10zm0 4h7v2h-7zm8-8v-6h-6v6z"})),Pf=o(149),zf=o(63);function Tf(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Rf(){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 Bf(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return Nf(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(o);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Nf(e,t)}(e))){var t=0,o=function(){};return{s:o,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,c,r=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return r=e.done,e},e:function(e){a=!0,c=e},f:function(){try{r||null==n.return||n.return()}finally{if(a)throw c}}}}function Nf(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var Af={per_page:-1},If=wp.tokenList,Mf=[{name:"stacked",label:Object(re.__)("Stacked","coblocks"),icon:xf.styleStacked,isDefault:!0},{name:"horizontal",label:Object(re.__)("Horizontal","coblocks"),icon:xf.styleHorizontalImageRight,iconAlt:xf.styleHorizontalImageLeft}];function Df(e,t){var o,n=Bf(new If(t).values());try{for(n.s();!(o=n.n()).done;){var c=o.value;if(-1!==c.indexOf("is-style-")){var r=c.substring(9),a=Object(kt.find)(e,{name:r});if(a)return a}}}catch(e){n.e(e)}finally{n.f()}return Object(kt.find)(e,"isDefault")}var Lf=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Rf()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).state={categoriesList:[],editing:!e.props.attributes.externalRssUrl,lastColumnValue:null,stackedDefaultColumns:2,horizontalDefaultColumns:1,userModifiedColumn:!1},(e.props.className.includes("is-style-stacked")&&e.props.attributes.columns!==e.state.stackedDefaultColumns||e.props.className.includes("is-style-horizontal")&&e.props.attributes.columns!==e.state.horizontalDefaultColumns)&&(e.state.userModifiedColumn=!0),e.onUserModifiedColumn=e.onUserModifiedColumn.bind(pn()(e)),e.onSubmitURL=e.onSubmitURL.bind(pn()(e)),e.updateStyle=e.updateStyle.bind(pn()(e)),e}return ve()(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.className,o=Df(Mf,t);this.updateStyle(o),this.isStillMounted=!0,this.fetchRequest=Ht()({path:Object(Pf.addQueryArgs)("/wp/v2/categories",Af)}).then((function(t){e.isStillMounted&&e.setState({categoriesList:t})})).catch((function(){e.isStillMounted&&e.setState({categoriesList:[]})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.displayPostContent;t.displayPostLink&&!o&&this.props.setAttributes({displayPostLink:!1}),this.props.className!==e.className&&(this.props.className.includes("is-style-stacked")&&this.props.setAttributes({columns:this.state.userModifiedColumn?this.props.attributes.columns:this.state.stackedDefaultColumns}),this.props.className.includes("is-style-horizontal")&&this.props.setAttributes({columns:this.state.userModifiedColumn?this.props.attributes.columns:this.state.horizontalDefaultColumns}))}},{key:"onUserModifiedColumn",value:function(){this.setState({userModifiedColumn:!0})}},{key:"onSubmitURL",value:function(e){e.preventDefault(),this.props.attributes.externalRssUrl&&this.setState({editing:!1})}},{key:"updateStyle",value:function(e){var t=this.props,o=t.setAttributes,n=t.attributes,c=t.className,r=Df(Mf,c);o({className:function(e,t,o){var n=new If(e);return t&&n.remove("is-style-"+t.name),n.add("is-style-"+o.name),n.value}(n.className,r,e)})}},{key:"render",value:function(){var e,t=this,o=this.props,n=o.attributes,c=o.setAttributes,r=o.className,a=o.latestPosts,i=this.state.categoriesList,l=Df(Mf,r),s=n.displayPostContent,u=n.displayPostDate,b=n.displayPostLink,d=n.postLink,p=n.postFeedType,m=n.externalRssUrl,h=n.columns,f=n.postsToShow,g=n.excerptLength,v=n.listPosition,y=n.imageSize,O=n.imageStyle,k=n.gutter,_=[{icon:"edit",title:Object(re.__)("Edit RSS URL","coblocks"),onClick:function(){return t.setState({editing:!0})}}],j=Array.isArray(a)&&a.length,w=Array.isArray(a)&&a.length>f?a.slice(0,f):a,E=Object(kt.some)(w,"featured_media_object"),C=[{icon:xf.imageLeft,title:Object(re.__)("Image on left","coblocks"),isActive:"left"===v,onClick:function(){return c({listPosition:"left"})}},{icon:xf.imageRight,title:Object(re.__)("Image on right","coblocks"),isActive:"right"===v,onClick:function(){return c({listPosition:"right"})}}],x=Object(zf.__experimentalGetSettings)().formats.date;if(!j&&"internal"===p)return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(Ef,Ie()({},this.props,{attributes:n,hasPosts:j,hasFeaturedImage:E,editing:this.state.editing,activeStyle:l,styleOptions:Mf,onUpdateStyle:this.updateStyle,categoriesList:i,postCount:a&&a.length})),Object(ae.createElement)(ie.Placeholder,{icon:Object(ae.createElement)(xe.BlockIcon,{icon:Sf}),label:Object(re.__)("Blog Posts","coblocks")},Array.isArray(a)?Object(ae.createElement)(ae.Fragment,null,Object(re.__)("No posts found. Start publishing or add posts from an RSS feed.","coblocks"),Object(ae.createElement)(ie.Button,{className:"components-placeholder__cancel-button",title:Object(re.__)("Retrieve an External Feed","coblocks"),isLarge:!0,isSecondary:!0,onClick:function(){c({postFeedType:"external"})}},Object(re.__)("Use External Feed","coblocks"))):Object(ae.createElement)(ie.Spinner,null)));if(this.state.editing&&"external"===p)return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(Ef,Ie()({},this.props,{onUserModifiedColumn:this.onUserModifiedColumn,attributes:n,hasPosts:j,hasFeaturedImage:!1,editing:this.state.editing,activeStyle:l,styleOptions:Mf,onUpdateStyle:this.updateStyle,categoriesList:i,postCount:a&&a.length})),Object(ae.createElement)(ie.Placeholder,{icon:Object(ae.createElement)(xe.BlockIcon,{icon:Sf}),label:Object(re.__)("RSS Feed","coblocks"),instructions:Object(re.__)("RSS URLs are generally located at the /feed/ directory of a site.","coblocks")},Object(ae.createElement)("form",{onSubmit:this.onSubmitURL},Object(ae.createElement)(ie.TextControl,{placeholder:Object(re.__)("https://example.com/feed…","coblocks"),value:m,onChange:function(e){return c({externalRssUrl:e})},className:"components-placeholder__input"}),Object(ae.createElement)(ie.Button,{isLarge:!0,type:"submit",disabled:!m},Object(re.__)("Use URL","coblocks")))));var S=wf()(r,"is-style-horizontal"),P=wf()(r,"is-style-stacked");return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(Ef,Ie()({},this.props,{onUserModifiedColumn:this.onUserModifiedColumn,attributes:n,hasPosts:j,hasFeaturedImage:E,editing:this.state.editing,activeStyle:l,styleOptions:Mf,onUpdateStyle:this.updateStyle,categoriesList:i,postCount:a&&a.length})),Object(ae.createElement)(xe.BlockControls,null,S&&Object(ae.createElement)(ie.Toolbar,{controls:C}),"external"===p&&Object(ae.createElement)(ie.Toolbar,{controls:_})),"external"===p&&Object(ae.createElement)(ie.Disabled,null,Object(ae.createElement)(ie.ServerSideRender,{block:"coblocks/posts",attributes:this.props.attributes})),"internal"===p&&Object(ae.createElement)("div",{className:r},Object(ae.createElement)("div",{className:Fe()("wp-block-coblocks-posts__inner",(e={"has-columns":h},te()(e,"has-".concat(h,"-columns"),h),te()(e,"has-responsive-columns",h),te()(e,"has-".concat(k,"-gutter"),k&&h),te()(e,"has-image-right",S&&"right"===v),te()(e,"has-".concat(y,"-image"),S),te()(e,"has-".concat(O,"-image"),O),e))},w.map((function(e,t){var o=e.featured_media_object?e.featured_media_object.source_url:null,n="url("+o+")",r=Fe()("wp-block-coblocks-posts__content",{"self-center":S&&!s&&h<=2}),a=e.title.rendered.trim(),i=e.excerpt.rendered;""===e.excerpt.raw&&(i=e.content.raw);var l=document.createElement("div");return l.innerHTML=i,i=l.textContent||l.innerText||"",Object(ae.createElement)("div",{key:t,className:"wp-block-coblocks-posts__item"},o&&Object(ae.createElement)("div",{className:"wp-block-coblocks-posts__image"},Object(ae.createElement)("div",{className:"bg-cover bg-center-center",style:{backgroundImage:n}})),Object(ae.createElement)("div",{className:r},P&&u&&e.date_gmt&&Object(ae.createElement)("time",{dateTime:Object(zf.format)("c",e.date_gmt),className:"wp-block-coblocks-posts__date"},Object(zf.dateI18n)(x,e.date_gmt)),Object(ae.createElement)(ie.Disabled,null,Object(ae.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener",alt:a},a?Object(ae.createElement)(ae.RawHTML,null,a):Object(re.__)("(no title)","coblocks"))),S&&u&&e.date_gmt&&Object(ae.createElement)("time",{dateTime:Object(zf.format)("c",e.date_gmt),className:"wp-block-coblocks-posts__date"},Object(zf.dateI18n)(x,e.date_gmt)),s&&Object(ae.createElement)("div",{className:"wp-block-coblocks-posts__excerpt"},Object(ae.createElement)(ae.RawHTML,{key:"html"},g<i.trim().split(" ").length?i.trim().split(" ",g).join(" ")+"…":i.trim().split(" ",g).join(" "))),b&&Object(ae.createElement)(xe.RichText,{tagName:"a",className:"wp-block-coblocks-posts__more-link",onChange:function(e){return c({postLink:e})},value:d,placeholder:Object(re.__)("Read more","coblocks"),multiline:!1,withoutInteractiveFormatting:!1,isSelected:!1})))})))))}}]),n}(ae.Component),Ff=Object(Ce.compose)([Object(Ye.withSelect)((function(e,t){var o=t.attributes,n=o.postsToShow,c=o.order,r=o.orderBy,a=o.categories,i=(0,e("core").getEntityRecords)("postType","post",Object(kt.pickBy)({categories:a,order:c,orderby:r,per_page:n},(function(e){return!Object(kt.isUndefined)(e)})));return i&&(i=i.map((function(t){return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Tf(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Tf(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{featured_media_object:t.featured_media&&e("core").getMedia(t.featured_media)})}))),{latestPosts:i}}))])(Lf),Vf=o(84),Gf={from:[{type:"block",blocks:["core/latest-posts"],transform:function(e){var t=e.displayPostDate,o=e.displayPostContent,n=e.order,c=e.orderBy,r=e.categories,a=e.postsToShow,i=e.excerptLength,l=e.align;return Object(oe.createBlock)(Vf.name,{displayPostDate:t,displayPostContent:o,order:n,orderBy:c,categories:r,postsToShow:a,align:l,excerptLength:i})}},{type:"block",blocks:["coblocks/post-carousel"],transform:function(e){var t=e.displayPostDate,o=e.displayPostContent,n=e.columns,c=e.order,r=e.orderBy,a=e.categories,i=e.postsToShow,l=e.externalRssUrl,s=e.postFeedType,u=e.excerptLength,b=e.align;return Object(oe.createBlock)(Vf.name,{displayPostDate:t,displayPostContent:o,columns:n,order:c,orderBy:r,categories:a,postsToShow:i,externalRssUrl:l,postFeedType:s,align:b,excerptLength:u})}},{type:"prefix",prefix:":posts",transform:function(){return Object(oe.createBlock)(Vf.name)}}].concat(ce()([2,3,4,5,6].map((function(e){return{type:"prefix",prefix:":".concat(e,"posts"),transform:function(){return Object(oe.createBlock)(Vf.name,{postsToShow:e})}}})))),to:[{type:"block",blocks:["core/latest-posts"],transform:function(e){var t=e.displayPostDate,o=e.displayPostContent,n=e.order,c=e.orderBy,r=e.categories,a=e.postsToShow,i=e.excerptLength,l=e.align;return Object(oe.createBlock)("core/latest-posts",{displayPostDate:t,displayPostContent:o,order:n,orderBy:c,categories:r,postsToShow:a,align:l,excerptLength:i})}}]},Uf=Vf.name,Hf=Vf.category,Wf={title:Object(re.__)("Posts","coblocks"),description:Object(re.__)("Display posts or an RSS feed as stacked or horizontal cards.","coblocks"),icon:Sf,keywords:["coblocks",Object(re.__)("posts","coblocks"),Object(re.__)("blog","coblocks"),Object(re.__)("latest","coblocks"),Object(re.__)("rss","coblocks")],supports:{align:["wide","full"],html:!1},transforms:Gf,edit:Ff,save:function(){return null}},qf=o(275),Yf=o.n(qf);function Kf(){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}}var Xf=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Kf()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.categoriesList,n=e.hasPosts,c=e.postCount,r=e.setAttributes,a=t.displayPostContent,i=t.displayPostDate,l=t.excerptLength,s=t.order,u=t.orderBy,b=t.postFeedType,d=t.postsToShow,p=t.columns,m=Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Post Carousel settings","coblocks")},Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Post date","coblocks"),checked:i,help:i?Object(re.__)("Showing the publish date.","coblocks"):Object(re.__)("Toggle to show the publish date.","coblocks"),onChange:function(){return r({displayPostDate:!i})}}),Object(ae.createElement)(ie.ToggleControl,{label:Object(re.__)("Post content","coblocks"),checked:a,help:a?Object(re.__)("Showing the post content.","coblocks"):Object(re.__)("Toggle to show the post content.","coblocks"),onChange:function(){return r({displayPostContent:!a})}}),a&&Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Max words in content","coblocks"),value:l,onChange:function(e){return r({excerptLength:e})},min:5,max:75}),Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Columns","coblocks"),value:p,onChange:function(e){return function(e){var o=t.postsToShow;r({columns:e>o?o:e})}(e)},min:1,max:Math.min(4,c),required:!0})));return Object(ae.createElement)(xe.InspectorControls,null,n?m:null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Feed settings","coblocks"),initialOpen:!n},Object(ae.createElement)(ie.RadioControl,{selected:b,options:[{label:Object(re.__)("My blog","coblocks"),value:"internal"},{label:Object(re.__)("External feed","coblocks"),value:"external"}],onChange:function(e){return r({postFeedType:e})}}),n?Object(ae.createElement)(ae.Fragment,null,"internal"===b&&Object(ae.createElement)(ie.QueryControls,Ie()({order:s,orderBy:u},{categoriesList:o,selectedCategoryId:t.categories,onOrderChange:function(e){return r({order:e})},onOrderByChange:function(e){return r({orderBy:e})},onCategoryChange:function(e){return r({categories:""!==e?e:void 0})}})),Object(ae.createElement)(ie.RangeControl,{label:Object(re.__)("Number of posts","coblocks"),value:d,onChange:function(e){return function(e){var o=t.columns,n={postsToShow:e};(o>e||1===e&&1!==o)&&Object.assign(n,{columns:e}),r(n)}(e)},min:1,max:20})):null))}}]),n}(ae.Component),Jf=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m19 3c.55 0 1 .45 1 1v13c0 .55-.45 1-1 1h-14c-.55 0-1-.45-1-1v-13c0-.55.45-1 1-1zm-1 13v-11h-12v11zm-17-11h2v11h-2zm8 14h2v2h-2zm4 0h2v2h-2zm8-14h2v11h-2z"}));function Zf(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function $f(){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}}var Qf={per_page:-1},eg=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if($f()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).state={categoriesList:[],editing:!e.props.attributes.externalRssUrl},e.onSubmitURL=e.onSubmitURL.bind(pn()(e)),e}return ve()(n,[{key:"componentDidMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=Ht()({path:Object(Pf.addQueryArgs)("/wp/v2/categories",Qf)}).then((function(t){e.isStillMounted&&e.setState({categoriesList:t})})).catch((function(){e.isStillMounted&&e.setState({categoriesList:[]})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(){var e=this.props.attributes,t=e.displayPostContent;e.displayPostLink&&!t&&this.props.setAttributes({displayPostLink:!1})}},{key:"onSubmitURL",value:function(e){e.preventDefault(),this.props.attributes.externalRssUrl&&this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props,o=t.attributes,n=t.setAttributes,c=t.latestPosts,r=t.className,a=this.state.categoriesList,i=o.displayPostContent,l=o.displayPostDate,s=o.displayPostLink,u=o.excerptLength,b=o.externalRssUrl,d=o.postFeedType,p=o.postLink,m=o.postsToShow,h=o.columns,f=o.align,g=[{icon:"edit",title:Object(re.__)("Edit RSS URL","coblocks"),onClick:function(){return e.setState({editing:!0})}}],v=Array.isArray(c)&&c.length,y=Array.isArray(c)&&c.length>m?c.slice(0,m):c,O={dots:!1,arrows:!0,infinite:!0,draggable:!0,adaptiveHeight:!1,speed:500,slidesToShow:h,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{slidesToShow:3}},{breakpoint:600,settings:{slidesToShow:2}},{breakpoint:480,settings:{slidesToShow:1}}]},k=Object(zf.__experimentalGetSettings)().formats.date;return v||"internal"!==d?this.state.editing&&"external"===d?Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(Xf,Ie()({},this.props,{attributes:o,hasPosts:v,editing:this.state.editing,categoriesList:a,postCount:c&&c.length})),Object(ae.createElement)(ie.Placeholder,{icon:Object(ae.createElement)(xe.BlockIcon,{icon:Jf}),label:Object(re.__)("RSS Feed","coblocks"),instructions:Object(re.__)("RSS URLs are generally located at the /feed/ directory of a site.","coblocks")},Object(ae.createElement)("form",{onSubmit:this.onSubmitURL},Object(ae.createElement)(ie.TextControl,{placeholder:Object(re.__)("https://example.com/feed…","coblocks"),value:b,onChange:function(e){return n({externalRssUrl:e})},className:"components-placeholder__input"}),Object(ae.createElement)(ie.Button,{isLarge:!0,type:"submit",disabled:!b},Object(re.__)("Use URL","coblocks"))))):Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(Xf,Ie()({},this.props,{attributes:o,hasPosts:v,editing:this.state.editing,categoriesList:a,postCount:c&&c.length})),Object(ae.createElement)(xe.BlockControls,null,"external"===d&&Object(ae.createElement)(ie.Toolbar,{controls:g})),"external"===d&&Object(ae.createElement)(ie.ServerSideRender,{block:"coblocks/post-carousel",attributes:this.props.attributes,className:"coblocks-slick pb-8"}),"internal"===d&&Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)("div",{className:Fe()(r,te()({},"align".concat(f),f))},Object(ae.createElement)(Yf.a,Ie()({className:"coblocks-slick pb-8"},O),y.map((function(e,t){var o=e.featured_media_object?e.featured_media_object.source_url:null,c="url("+o+")",r=e.title.rendered.trim(),a=e.excerpt.rendered;""===e.excerpt.raw&&(a=e.content.raw);var b=document.createElement("div");return b.innerHTML=a,a=b.textContent||b.innerText||"",Object(ae.createElement)("div",{className:"wp-block-coblocks-post-carousel__item",key:t},o&&Object(ae.createElement)("div",{className:"wp-block-coblocks-post-carousel__image"},Object(ae.createElement)("div",{className:"bg-cover bg-center-center",style:{backgroundImage:c}})),Object(ae.createElement)("div",{className:Fe()("wp-block-coblocks-post-carousel__content",{"full-height":!o})},l&&e.date_gmt&&Object(ae.createElement)("time",{dateTime:Object(zf.format)("c",e.date_gmt),className:"wp-block-coblocks-post-carousel__date"},Object(zf.dateI18n)(k,e.date_gmt)),Object(ae.createElement)(ie.Disabled,null,Object(ae.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener",alt:r},r?Object(ae.createElement)(ae.RawHTML,null,r):Object(re.__)("(no title)","coblocks"))),i&&Object(ae.createElement)("div",{className:"wp-block-coblocks-post-carousel__excerpt"},Object(ae.createElement)(ae.RawHTML,{key:"html"},a.trim().split(" ",u).join(" "))),s&&Object(ae.createElement)(xe.PlainText,{className:"wp-block-coblocks-post-carousel__more-link",onChange:function(e){return n({postLink:e})},value:p,placeholder:Object(re.__)("Read more","coblocks")})))})))))):Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(Xf,Ie()({},this.props,{attributes:o,hasPosts:v,editing:this.state.editing,categoriesList:a,postCount:c&&c.length})),Object(ae.createElement)(ie.Placeholder,{icon:Object(ae.createElement)(xe.BlockIcon,{icon:Jf}),label:Object(re.__)("Post Carousel","coblocks")},Array.isArray(c)?Object(ae.createElement)(ae.Fragment,null,Object(re.__)("No posts found. Start publishing or add posts from an RSS feed.","coblocks"),Object(ae.createElement)(ie.Button,{className:"components-placeholder__cancel-button",title:Object(re.__)("Retrieve an external feed","coblocks"),isLarge:!0,isSecondary:!0,onClick:function(){n({postFeedType:"external"})}},Object(re.__)("Use External Feed","coblocks"))):Object(ae.createElement)(ie.Spinner,null)))}}]),n}(ae.Component),tg=Object(Ce.compose)([Object(Ye.withSelect)((function(e,t){var o=t.attributes,n=o.postsToShow,c=o.order,r=o.orderBy,a=o.categories,i=(0,e("core").getEntityRecords)("postType","post",Object(kt.pickBy)({categories:a,order:c,orderby:r,per_page:n},(function(e){return!Object(kt.isUndefined)(e)})));return i&&(i=i.map((function(t){return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Zf(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Zf(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{featured_media_object:t.featured_media&&e("core").getMedia(t.featured_media)})}))),{latestPosts:i}}))])(eg),og=o(107),ng={from:[{type:"block",blocks:["core/latest-posts"],transform:function(e){var t=e.displayPostDate,o=e.displayPostContent,n=e.order,c=e.orderBy,r=e.categories,a=e.postsToShow,i=e.excerptLength,l=e.align;return Object(oe.createBlock)(og.name,{displayPostDate:t,displayPostContent:o,order:n,orderBy:c,categories:r,postsToShow:a,align:l,excerptLength:i})}},{type:"block",blocks:["coblocks/posts"],transform:function(e){var t=e.displayPostDate,o=e.displayPostContent,n=e.columns,c=e.order,r=e.orderBy,a=e.categories,i=e.postsToShow,l=e.externalRssUrl,s=e.postFeedType,u=e.excerptLength,b=e.align;return Object(oe.createBlock)(og.name,{displayPostDate:t,displayPostContent:o,columns:n,order:c,orderBy:r,categories:a,postsToShow:i,externalRssUrl:l,postFeedType:s,align:b,excerptLength:u})}}],to:[{type:"block",blocks:["core/latest-posts"],transform:function(e){var t=e.displayPostDate,o=e.displayPostContent,n=e.order,c=e.orderBy,r=e.categories,a=e.postsToShow,i=e.excerptLength,l=e.align;return Object(oe.createBlock)("core/latest-posts",{displayPostDate:t,displayPostContent:o,order:n,orderBy:c,categories:r,postsToShow:a,align:l,excerptLength:i})}}]},cg=og.name,rg=og.category,ag={title:Object(re.__)("Post Carousel","coblocks"),description:Object(re.__)("Display posts or an external blog feed as a carousel.","coblocks"),icon:Jf,keywords:["coblocks",Object(re.__)("slider","coblocks"),Object(re.__)("posts","coblocks"),Object(re.__)("blog","coblocks"),Object(re.__)("latest","coblocks"),Object(re.__)("rss","coblocks")],supports:{align:["wide","full"],html:!1},transforms:ng,edit:tg,save:function(){return null}},ig=o(276),lg=o.n(ig);function sg(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ug(){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}}var bg=[{icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m16 17v-14h-12v14z",fill:"currentColor"})),title:Object(re.__)("One Pricing Table","coblocks"),count:1},{icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17 17v-14h-6v14zm-8 0v-14h-6v14z",fill:"currentColor"})),title:Object(re.__)("Two Pricing Tables","coblocks"),count:2},{icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m18 16v-12h-4v12zm-6 0v-12h-4v12zm-6 0v-12h-4v12z",fill:"currentColor"})),title:Object(re.__)("Three Pricing Tables","coblocks"),count:3},{icon:Object(ae.createElement)(ie.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m17 17v-6h-6v6zm0-8v-6h-6v6zm-8 0v-6h-6v6zm0 8v-6h-6v6z",fill:"currentColor"})),title:Object(re.__)("Four Pricing Tables","coblocks"),count:4}],dg=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(ug()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=e.updateTables,c=t.count,r=t.contentAlign,a=Object(kt.find)(bg,(function(e){return e.count===c}));return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,Object(ae.createElement)(xe.AlignmentToolbar,{value:r,onChange:function(e){return o({contentAlign:e})}}),Object(ae.createElement)(ie.Toolbar,{isCollapsed:!0,icon:a.icon,label:Object(re.__)("Change pricing table count","coblocks"),controls:bg.map((function(e){var t=c===parseInt(e.count);return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?sg(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):sg(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},e,{isActive:t,onClick:function(){o({count:parseInt(e.count)}),n(c,parseInt(e.count))}})}))})))}}]),n}(ae.Component);function pg(){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}}var mg=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(pg()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,n=t.count,c=t.gutter,r=[{value:"no",label:Object(re.__)("None","coblocks"),shortName:Object(re.__)("None","coblocks")},{value:"small",label:Object(re.__)("S","coblocks"),tooltip:Object(re.__)("Small","coblocks")},{value:"medium",label:Object(re.__)("M","coblocks"),tooltip:Object(re.__)("Medium","coblocks")},{value:"large",label:Object(re.__)("L","coblocks"),tooltip:Object(re.__)("Large","coblocks")},{value:"huge",label:Object(re.__)("XL","coblocks"),tooltip:Object(re.__)("Huge","coblocks")}];return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Pricing Table settings","coblocks")},n>1&&Object(ae.createElement)(Wr,{label:Object(re.__)("Gutter","coblocks"),currentOption:c,options:r,onChange:function(e){return o({gutter:e})}}))))}}]),n}(ae.Component);function hg(){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}}var fg=["coblocks/pricing-table-item"],gg=no()((function(e){return to()(e,(function(e){return["coblocks/pricing-table-item",{placeholder:Object(re.sprintf)(Object(re.__)("Plan %d","coblocks"),parseInt(e+1))}]}))})),vg=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(hg()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e,t=this.props,o=t.attributes,n=t.className,c=t.isSelected,r=o.count,a=o.gutter,i=o.contentAlign,l=Fe()(n,te()({},"has-text-align-".concat(i),i)),s=Fe()("wp-block-coblocks-pricing-table__inner",(e={"has-columns":r>1},te()(e,"has-".concat(r,"-columns"),r),te()(e,"has-responsive-columns",r>1),te()(e,"has-".concat(a,"-gutter"),a),e));return Object(ae.createElement)(ae.Fragment,null,c&&Object(ae.createElement)(dg,this.props),c&&Object(ae.createElement)(mg,this.props),Object(ae.createElement)("div",{className:l},Object(ae.createElement)("div",{className:s},Object(ae.createElement)(xe.InnerBlocks,{template:gg(r),templateLock:"insert",allowedBlocks:fg,__experimentalMoverDirection:r>1?"horizontal":"vertical"}))))}}]),n}(ae.Component),yg=Object(Ye.withDispatch)((function(e,t,o){return{updateTables:function(n,c){var r=t.clientId,a=e("core/block-editor").replaceInnerBlocks,i=(0,o.select("core/block-editor").getBlocks)(r);a(r,i=c>n?[].concat(ce()(i),ce()(to()(c-n,(function(){return Object(oe.createBlock)("coblocks/pricing-table-item",{placeholder:Object(re.sprintf)(Object(re.__)("Plan %d","coblocks"),parseInt(c))})})))):lg()(i,n-c),!1)}}}))(vg),Og={attributes:{count:2,contentAlign:"center"},innerBlocks:[{name:"coblocks/pricing-table-item",attributes:{title:Object(re.__)("Basic","coblocks"),currency:"$",amount:"19",features:[{type:"li",props:{children:[Object(re.__)("Feature one","coblocks")]}},{type:"li",props:{children:[Object(re.__)("Feature two","coblocks")]}}]},innerBlocks:[{name:"core/button",attributes:{text:Object(re.__)("Buy now","coblocks")}}]},{name:"coblocks/pricing-table-item",attributes:{title:Object(re.__)("Pro","coblocks"),currency:"$",amount:"49",features:[{type:"li",props:{children:[Object(re.__)("Feature one","coblocks")]}},{type:"li",props:{children:[Object(re.__)("Feature two","coblocks")]}}]},innerBlocks:[{name:"core/button",attributes:{text:Object(re.__)("Buy now","coblocks")}}]}]},kg=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m5.83577775 7.94873177c-2.28400267-.59363946-3.01850573-1.2074023-3.01850573-2.16326244 0-1.09672376 1.01623026-1.86141187 2.71665516-1.86141187 1.79098007 0 2.45505133.85524329 2.51542145 2.11295401h2.22363257c-.0704318-1.73060995-1.57318539-3.85032157-3.84768823-4.04519018v-1.99182129h-1.99911222v1.99182129c-1.87900596.2116879-3.92309646 1.87186605-3.92309646 3.81377141 0 2.32424941 1.92178198 3.48134328 4.72899232 4.15547622 2.51542144.60370118 3.01850573 1.48912948 3.01850573 2.42486628 0 .6942563-.4930226 1.8010418-2.71665516 1.8010418-2.07270727 0-2.88770382-.9256751-2.99838236-2.1129541h-2.21357087c.12074022 2.2035092 2.49529807 3.9815413 4.09257683 3.9815413l.01162997 1.9402521h1.99911222v-1.9402521c1.96883878 0 4.13947713-1.6170451 4.13947713-3.6796907 0-2.85751875-2.44498967-3.83350227-4.72899235-4.42714173z",transform:"translate(6.573819 3.004184)"})),_g=o(51),jg=function(e){var t,o=e.attributes,n=o.contentAlign,c=o.count,r=o.gutter,a=Fe()(te()({},"has-text-align-".concat(n),n)),i=Fe()("wp-block-coblocks-pricing-table__inner",(t={"has-columns":c>1},te()(t,"has-".concat(c,"-columns"),c),te()(t,"has-responsive-columns",c>1),te()(t,"has-".concat(r,"-gutter"),r),t));return Object(ae.createElement)("div",{className:a},Object(ae.createElement)("div",{className:i},Object(ae.createElement)(xe.InnerBlocks.Content,null)))};function wg(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Eg={from:[{type:"raw",selector:".wp-block-coblocks-pricing-table",transform:function(e){var t=Object(oe.getBlockAttributes)(_g.name,e.outerHTML);return Object(oe.createBlock)(_g.name,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?wg(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):wg(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{count:t.className?parseInt(t.className.match(/(\d+)/)[0]):2}))}},{type:"prefix",prefix:":pricing",transform:function(e){return Object(oe.createBlock)(_g.name,{content:e})}}]},Cg=[{attributes:_g.attributes,save:function(e){var t=e.attributes,o=t.contentAlign,n=t.count,c=Fe()("has-".concat(n,"-columns"),te()({},"has-text-align-".concat(o),o));return Object(ae.createElement)("div",{className:c},Object(ae.createElement)("div",{className:"wp-block-coblocks-pricing-table__inner"},Object(ae.createElement)(xe.InnerBlocks.Content,null)))}},{attributes:_g.attributes,save:function(e){var t=e.attributes,o=t.contentAlign,n=t.count,c=Fe()("has-".concat(n,"-columns"),"has-".concat(o,"-content"));return Object(ae.createElement)("div",{className:c,style:{textAlign:o||null}},Object(ae.createElement)("div",{className:"wp-block-coblocks-pricing-table__inner"},Object(ae.createElement)(xe.InnerBlocks.Content,null)))}}],xg=_g.name,Sg=_g.category,Pg=_g.attributes,zg={title:Object(re.__)("Pricing Table","coblocks"),description:Object(re.__)("Add pricing tables to help visitors compare products and plans.","coblocks"),icon:kg,keywords:["coblocks",Object(re.__)("landing","coblocks"),Object(re.__)("comparison","coblocks")],supports:{align:["wide","full"],html:!1},example:Og,attributes:Pg,transforms:Eg,edit:yg,save:jg,deprecated:Cg},Tg=Object(xe.withColors)("backgroundColor",{backgroundColor:"background-color"},{textColor:"color"});function Rg(){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}}var Bg=window.getComputedStyle,Ng=Object(ie.withFallbackStyles)((function(e,t){var o=t.attributes,n=o.backgroundColor,c=o.textColor,r=e.querySelector('[contenteditable="true"]'),a=r?Bg(r):null;return{fallbackBackgroundColor:n||!a?void 0:a.backgroundColor,fallbackTextColor:c||!a?void 0:a.color}})),Ag=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Rg()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.fallbackBackgroundColor,o=e.fallbackTextColor,n=e.setBackgroundColor,c=e.setTextColor,r=e.backgroundColor,a=e.textColor;return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),colorSettings:[{value:r.color,onChange:n,label:Object(re.__)("Background color","coblocks")},{value:a.color,onChange:c,label:Object(re.__)("Text color","coblocks"),initialOpen:!1}]},Object(ae.createElement)(xe.ContrastChecker,{textColor:a.color,backgroundColor:r.color,fallbackTextColor:o,fallbackBackgroundColor:t}))))}}]),n}(ae.Component),Ig=Object(Ce.compose)([Tg,Ng])(Ag);function Mg(){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}}var Dg=["core/button","core/shortcode"],Lg=[["core/button",{placeholder:Object(re.__)("Buy Now","coblocks")}]],Fg=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(Mg()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e,t=this.props,o=t.attributes,n=t.className,c=t.isSelected,r=t.setAttributes,a=t.backgroundColor,i=t.textColor,l=o.amount,s=o.currency,u=o.features,b=o.title,d=o.placeholder,p=["bold","italic","strikethrough"];return Object(ae.createElement)(ae.Fragment,null,c&&Object(ae.createElement)(Ig,this.props),Object(ae.createElement)("div",{className:Fe()(n,(e={"has-background":a.color,"has-text-color":i.color},te()(e,a.class,a.class),te()(e,i.class,i.class),e)),style:{backgroundColor:a.color,color:i.color}},Object(ae.createElement)(xe.RichText,{tagName:"span",className:"wp-block-coblocks-pricing-table-item__title",onChange:function(e){return r({title:e})},value:b,placeholder:d||Object(re.__)("Plan A","coblocks"),formattingControls:p,keepPlaceholderOnFocus:!0}),Object(ae.createElement)("div",{className:"wp-block-coblocks-pricing-table-item__price-wrapper"},Object(ae.createElement)(xe.RichText,{tagName:"span",className:"wp-block-coblocks-pricing-table-item__currency",onChange:function(e){return r({currency:e})},value:s,placeholder:Object(re.__)("$","coblocks"),formattingControls:p,keepPlaceholderOnFocus:!0}),Object(ae.createElement)(xe.RichText,{tagName:"span",className:"wp-block-coblocks-pricing-table-item__amount",onChange:function(e){return r({amount:e})},value:l,placeholder:"99",formattingControls:p,keepPlaceholderOnFocus:!0})),Object(ae.createElement)(xe.RichText,{tagName:"ul",multiline:"li",className:"wp-block-coblocks-pricing-table-item__features",onChange:function(e){return r({features:e})},value:u,placeholder:Object(re.__)("Add features","coblocks"),keepPlaceholderOnFocus:!0}),Object(ae.createElement)(xe.InnerBlocks,{template:Lg,templateLock:!1,allowedBlocks:Dg,templateInsertUpdatesSelection:!1})))}}]),n}(ae.Component),Vg=Object(Ce.compose)([Tg])(Fg),Gg=Object(ae.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ae.createElement)(ie.Path,{d:"m5.83577775 7.94873177c-2.28400267-.59363946-3.01850573-1.2074023-3.01850573-2.16326244 0-1.09672376 1.01623026-1.86141187 2.71665516-1.86141187 1.79098007 0 2.45505133.85524329 2.51542145 2.11295401h2.22363257c-.0704318-1.73060995-1.57318539-3.85032157-3.84768823-4.04519018v-1.99182129h-1.99911222v1.99182129c-1.87900596.2116879-3.92309646 1.87186605-3.92309646 3.81377141 0 2.32424941 1.92178198 3.48134328 4.72899232 4.15547622 2.51542144.60370118 3.01850573 1.48912948 3.01850573 2.42486628 0 .6942563-.4930226 1.8010418-2.71665516 1.8010418-2.07270727 0-2.88770382-.9256751-2.99838236-2.1129541h-2.21357087c.12074022 2.2035092 2.49529807 3.9815413 4.09257683 3.9815413l.01162997 1.9402521h1.99911222v-1.9402521c1.96883878 0 4.13947713-1.6170451 4.13947713-3.6796907 0-2.85751875-2.44498967-3.83350227-4.72899235-4.42714173z",transform:"translate(6.573819 3.004184)"})),Ug=o(82);function Hg(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Wg={from:[{type:"raw",selector:".wp-block-coblocks-pricing-table-item",transform:function(e){return Object(oe.createBlock)(Ug.name,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Hg(Object(o),!0).forEach((function(t){te()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Hg(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},Object(oe.getBlockAttributes)(Ug.name,e.outerHTML)))}}]},qg=function(e){var t,o=e.attributes,n=o.amount,c=o.currency,r=o.customBackgroundColor,a=o.customTextColor,i=o.features,l=o.backgroundColor,s=o.textColor,u=o.title,b=Object(xe.getColorClassName)("background-color",l),d=Object(xe.getColorClassName)("color",s),p=Fe()((t={"has-background":l||r},te()(t,b,b),te()(t,"has-text-color",s||a),te()(t,d,d),t)),m={backgroundColor:b?void 0:r,color:d?void 0:a};return function(e){var t=["title","features","currency","amount"],o=Object.entries(e).filter((function(e){var o=be()(e,1)[0];return t.includes(o)}));return void 0===Object.fromEntries?de(Object(xn.default)(o)):de(Object.fromEntries(o))}(o)?null:Object(ae.createElement)("div",{className:p,style:m},!xe.RichText.isEmpty(u)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"span",className:"wp-block-coblocks-pricing-table-item__title",value:u}),!xe.RichText.isEmpty(n)&&Object(ae.createElement)("div",{className:"wp-block-coblocks-pricing-table-item__price-wrapper"},!xe.RichText.isEmpty(c)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"span",className:"wp-block-coblocks-pricing-table-item__currency",value:c}),Object(ae.createElement)(xe.RichText.Content,{tagName:"span",className:"wp-block-coblocks-pricing-table-item__amount",value:n})),!xe.RichText.isEmpty(i)&&Object(ae.createElement)(xe.RichText.Content,{tagName:"ul",className:"wp-block-coblocks-pricing-table-item__features",value:i}),Object(ae.createElement)(xe.InnerBlocks.Content,null))},Yg=Ug.name,Kg=Ug.category,Xg=Ug.attributes,Jg={title:Object(re.__)("Pricing Table Item","coblocks"),description:Object(re.__)("A pricing table to help visitors compare products and plans.","coblocks"),icon:Gg,keywords:["coblocks",Object(re.__)("landing","coblocks"),Object(re.__)("comparison","coblocks")],parent:["coblocks/pricing-table"],supports:{html:!1,inserter:!1,reusable:!1},attributes:Xg,transforms:Wg,edit:Vg,save:qg},Zg={};Zg.row=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,className:"dashicon",role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m16 0h-14c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm0 6h-14v-4h14zm0 4h-14c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm0 6h-14v-4h14z",transform:"translate(3 3)"})),Zg.layout=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,className:"dashicon",role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m10 0h2v18h-2z"}))),Zg.columns=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,className:"dashicon",role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m8 0h2v18h-2z"}))),Zg.colOne=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z"})),Zg.colTwo=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m24 2h2v22h-2z"}))),Zg.colThree=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m16 2h2v22h-2z"}),Object(ae.createElement)(ie.Path,{d:"m32 2h2v22h-2z"}))),Zg.colFour=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m12 2h2v22h-2z"}),Object(ae.createElement)(ie.Path,{d:"m24 2h2v22h-2z"}),Object(ae.createElement)(ie.Path,{d:"m36 2h2v22h-2z"}))),Zg.layout5050=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m24 2h2v22h-2z"}))),Zg.layout7525=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m34 2h2v22h-2z"}))),Zg.layout2575=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m14 2h2v22h-2z"}))),Zg.layout6633=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m32 2h2v22h-2z"}))),Zg.layout3366=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m16 2h2v22h-2z"}))),Zg.layout333333=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m32 2h2v22h-2z"}),Object(ae.createElement)(ie.Path,{d:"m16 2h2v22h-2z"}))),Zg.layout502525=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m36 2h2v22h-2z"}),Object(ae.createElement)(ie.Path,{d:"m24 2h2v22h-2z"}))),Zg.layout252550=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m11 2h2v22h-2z"}),Object(ae.createElement)(ie.Path,{d:"m24 2h2v22h-2z"}))),Zg.layout255025=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m11 2h2v22h-2z"}),Object(ae.createElement)(ie.Path,{d:"m37 2h2v22h-2z"}))),Zg.layout206020=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m8 2h2v22h-2z"}),Object(ae.createElement)(ie.Path,{d:"m40 2h2v22h-2z"}))),Zg.layout25252525=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m12 2h2v22h-2z"}),Object(ae.createElement)(ie.Path,{d:"m24 2h2v22h-2z"}),Object(ae.createElement)(ie.Path,{d:"m36 2h2v22h-2z"}))),Zg.layout40202020=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m18 2h2v22h-2z"}),Object(ae.createElement)(ie.Path,{d:"m28 2h2v22h-2z"}),Object(ae.createElement)(ie.Path,{d:"m38 2h2v22h-2z"}))),Zg.layout20202040=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"matrix(-1 0 0 -1 50 26)"},Object(ae.createElement)(ie.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m39 2h2v22h-2z"}),Object(ae.createElement)(ie.Path,{d:"m30 2h2v22h-2z"}),Object(ae.createElement)(ie.Path,{d:"m20 2h2v22h-2z"}))),Zg.smallLayout5050=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,className:"dashicon",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m8 0h2v18h-2z"}))),Zg.smallLayout7525=Object(ae.createElement)(ie.SVG,{"aria-hidden":!0,className:"dashicon",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m10 0h2v18h-2z"}))),Zg.smallLayout2575=Object(ae.createElement)(ie.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m6 0h2v18h-2z"}))),Zg.smallLayout3366=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m5 0h2v18h-2z"}))),Zg.smallLayout6633=Object(ae.createElement)(ie.SVG,{className:"dashicon",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m11 0h2v18h-2z"}))),Zg.smallLayout333333=Object(ae.createElement)(ie.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m5 0h2v18h-2z"}),Object(ae.createElement)(ie.Path,{d:"m11 0h2v18h-2z"}))),Zg.smallLayout502525=Object(ae.createElement)(ie.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m8 0h2v18h-2z"}),Object(ae.createElement)(ie.Path,{d:"m12 0h2v18h-2z"}))),Zg.smallLayout252550=Object(ae.createElement)(ie.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m4 0h2v18h-2z"}),Object(ae.createElement)(ie.Path,{d:"m8 0h2v18h-2z"}))),Zg.smallLayout255025=Object(ae.createElement)(ie.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m5 0h2v18h-2z"}),Object(ae.createElement)(ie.Path,{d:"m11 0h2v18h-2z"}))),Zg.smallLayout206020=Object(ae.createElement)(ie.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m4 0h2v18h-2z"}),Object(ae.createElement)(ie.Path,{d:"m12 0h2v18h-2z"}))),Zg.smallLayout25252525=Object(ae.createElement)(ie.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m4 0h2v18h-2z"}),Object(ae.createElement)(ie.Path,{d:"m8 0h2v18h-2z"}),Object(ae.createElement)(ie.Path,{d:"m12 0h2v18h-2z"}))),Zg.smallLayout40202020=Object(ae.createElement)(ie.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m7 0h2v18h-2z"}),Object(ae.createElement)(ie.Path,{d:"m10 0h2v18h-2z"}),Object(ae.createElement)(ie.Path,{d:"m13 0h2v18h-2z"}))),Zg.smallLayout20202040=Object(ae.createElement)(ie.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(ae.createElement)(ie.G,{fillRule:"evenodd",transform:"translate(3 3)"},Object(ae.createElement)(ie.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),Object(ae.createElement)(ie.Path,{d:"m3 0h2v18h-2z"}),Object(ae.createElement)(ie.Path,{d:"m6 0h2v18h-2z"}),Object(ae.createElement)(ie.Path,{d:"m9 0h2v18h-2z"})));var $g=Zg,Qg={2:[{key:"50-50",name:Object(re.__)("Equal split","coblocks"),icon:$g.layout5050,smallIcon:$g.smallLayout5050},{key:"66-33",name:Object(re.__)("Two thirds / one third","coblocks"),icon:$g.layout6633,smallIcon:$g.smallLayout6633},{key:"33-66",name:Object(re.__)("One third / two thirds","coblocks"),icon:$g.layout3366,smallIcon:$g.smallLayout3366},{key:"75-25",name:Object(re.__)("Three quarters / quarter","coblocks"),icon:$g.layout7525,smallIcon:$g.smallLayout7525},{key:"25-75",name:Object(re.__)("Quarter / three quarters","coblocks"),icon:$g.layout2575,smallIcon:$g.smallLayout2575}],3:[{key:"33-33-33",name:Object(re.__)("Thirds","coblocks"),icon:$g.layout333333,smallIcon:$g.smallLayout333333},{key:"50-25-25",name:Object(re.__)("Half / quarter / quarter","coblocks"),icon:$g.layout502525,smallIcon:$g.smallLayout502525},{key:"25-25-50",name:Object(re.__)("Quarter / quarter/ half","coblocks"),icon:$g.layout252550,smallIcon:$g.smallLayout252550},{key:"25-50-25",name:Object(re.__)("Quarter / half / quarter","coblocks"),icon:$g.layout255025,smallIcon:$g.smallLayout255025},{key:"20-60-20",name:Object(re.__)("One fifth/ three fifths / one fifth","coblocks"),icon:$g.layout206020,smallIcon:$g.smallLayout206020}],4:[{key:"25-25-25-25",name:Object(re.__)("Quarters","coblocks"),icon:$g.layout25252525,smallIcon:$g.smallLayout25252525},{key:"40-20-20-20",name:Object(re.__)("Two fifths / fifth / fifth / fifth","coblocks"),icon:$g.layout40202020,smallIcon:$g.smallLayout40202020},{key:"20-20-20-40",name:Object(re.__)("Fifth / fifth / fifth / two fifths","coblocks"),icon:$g.layout20202040,smallIcon:$g.smallLayout20202040}]},ev=["coblocks/column"],tv={100:[["coblocks/column",{width:"100"}]],"50-50":[["coblocks/column",{width:"50"}],["coblocks/column",{width:"50"}]],"25-75":[["coblocks/column",{width:"25"}],["coblocks/column",{width:"75"}]],"75-25":[["coblocks/column",{width:"75"}],["coblocks/column",{width:"25"}]],"66-33":[["coblocks/column",{width:"66"}],["coblocks/column",{width:"33"}]],"33-66":[["coblocks/column",{width:"33"}],["coblocks/column",{width:"66"}]],"33-33-33":[["coblocks/column",{width:"33.33"}],["coblocks/column",{width:"33.33"}],["coblocks/column",{width:"33.33"}]],"50-25-25":[["coblocks/column",{width:"50"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}]],"25-25-50":[["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"50"}]],"25-50-25":[["coblocks/column",{width:"25"}],["coblocks/column",{width:"50"}],["coblocks/column",{width:"25"}]],"20-60-20":[["coblocks/column",{width:"20"}],["coblocks/column",{width:"60"}],["coblocks/column",{width:"20"}]],"25-25-25-25":[["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}]],"40-20-20-20":[["coblocks/column",{width:"40"}],["coblocks/column",{width:"20"}],["coblocks/column",{width:"20"}],["coblocks/column",{width:"20"}]],"20-20-20-40":[["coblocks/column",{width:"20"}],["coblocks/column",{width:"20"}],["coblocks/column",{width:"20"}],["coblocks/column",{width:"40"}]]},ov=Object(xe.withColors)("backgroundColor",{textColor:"color"});function nv(){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}}var cv=window.getComputedStyle,rv=Object(ie.withFallbackStyles)((function(e,t){var o=t.attributes.backgroundColor,n=e.querySelector('[contenteditable="true"]'),c=n?cv(n):null;return{fallbackBackgroundColor:o||!c?void 0:c.backgroundColor}})),av=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(nv()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.backgroundColor,n=e.clientId,c=e.setAttributes,r=e.setBackgroundColor,a=e.setTextColor,i=e.textColor,l=e.updateBlockAttributes,s=e.getBlocksByClientId,u=t.columns,b=t.gutter,d=t.layout,p=t.marginBottom,m=t.marginLeft,h=t.marginRight,f=t.marginSize,g=t.marginTop,v=t.marginBottomTablet,y=t.marginLeftTablet,O=t.marginRightTablet,k=t.marginTopTablet,_=t.marginBottomMobile,j=t.marginLeftMobile,w=t.marginRightMobile,E=t.marginTopMobile,C=t.marginSyncUnits,x=t.marginSyncUnitsTablet,S=t.marginSyncUnitsMobile,P=t.marginUnit,z=t.paddingBottom,T=t.paddingLeft,R=t.paddingRight,B=t.paddingSize,N=t.paddingTop,A=t.paddingBottomTablet,I=t.paddingLeftTablet,M=t.paddingRightTablet,D=t.paddingTopTablet,L=t.paddingBottomMobile,F=t.paddingLeftMobile,V=t.paddingRightMobile,G=t.paddingTopMobile,U=t.paddingSyncUnits,H=t.paddingSyncUnitsTablet,W=t.paddingSyncUnitsMobile,q=t.paddingUnit,Y=t.hasMarginControl,K=1;u&&(K=parseInt(u.toString().split("-")));var X=function(e){var t=e.toString().split("-"),o=s(n);c({layout:e}),void 0!==o[0].innerBlocks&&Tc()(o[0].innerBlocks,(function(e,o){return l(e.clientId,{width:t[o]})}))};return Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.InspectorControls,null,u&&K>=1&&Object(ae.createElement)(ae.Fragment,null,d&&Object(ae.createElement)(ae.Fragment,null,K>1&&Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Styles","coblocks"),initialOpen:!1},Object(ae.createElement)("div",{className:Fe()("block-editor-block-styles","coblocks-editor-block-styles")},Tc()(Qg[K],(function(e){var t=e.name,o=e.key,n=e.icon;return Object(ae.createElement)("div",{key:"style-".concat(t),className:Fe()("block-editor-block-styles__item",{"is-active":d===o}),onClick:function(){return X(o)},onKeyPress:function(){return X(o)},role:"button",tabIndex:"0","aria-label":t},Object(ae.createElement)("div",{className:"block-editor-block-styles__item-preview"},n))})))),d&&Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(ie.PanelBody,{title:Object(re.__)("Row settings","coblocks")},K>=2&&Object(ae.createElement)(Wr,{label:Object(re.__)("Gutter","coblocks"),currentOption:b,options:qr,onChange:function(e){return c({gutter:e})}}),Object(ae.createElement)(wa,Ie()({},this.props,{type:"padding",label:Object(re.__)("Padding","coblocks"),help:Object(re.__)("Space inside of the container.","coblocks"),valueTop:N,valueRight:R,valueBottom:z,valueLeft:T,valueTopTablet:D,valueRightTablet:M,valueBottomTablet:A,valueLeftTablet:I,valueTopMobile:G,valueRightMobile:V,valueBottomMobile:L,valueLeftMobile:F,unit:q,syncUnits:U,syncUnitsTablet:H,syncUnitsMobile:W,dimensionSize:B})),Y&&Object(ae.createElement)(wa,Ie()({},this.props,{type:"margin",label:Object(re.__)("Margin","coblocks"),help:Object(re.__)("Space around the container.","coblocks"),valueTop:g,valueRight:h,valueBottom:p,valueLeft:m,valueTopTablet:k,valueRightTablet:O,valueBottomTablet:v,valueLeftTablet:y,valueTopMobile:E,valueRightMobile:w,valueBottomMobile:_,valueLeftMobile:j,unit:P,syncUnits:C,syncUnitsTablet:x,syncUnitsMobile:S,dimensionSize:f}))),Object(ae.createElement)(xe.PanelColorSettings,{title:Object(re.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:function(e){r(e),B&&"no"!==B||c({paddingSize:"medium"}),e||c({paddingSize:"no"})},label:Object(re.__)("Background color","coblocks")},{value:i.color,onChange:a,label:Object(re.__)("Text color","coblocks")}]}),Object(ae.createElement)(pc,Ie()({},this.props,{hasOverlay:!0})))))))}}]),n}(ae.Component),iv=Object(Ce.compose)([ov,rv])(av);function lv(){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}}var sv=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(lv()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){return fe()(this,n),o.apply(this,arguments)}return ve()(n,[{key:"layoutIcon",value:function(){var e=this.props.attributes,t=e.columns,o=e.layout,n=1;return t&&(n=parseInt(t.toString().split("-"))),void 0===o?$g.layout:Tc()(Qg[n],(function(e){var t=e.key,n=e.smallIcon;return t===o?n:""}))}},{key:"render",value:function(){var e=this.props,t=e.clientId,o=e.attributes,n=e.setAttributes,c=e.getBlocksByClientId,r=e.updateBlockAttributes,a=o.columns,i=o.layout,l=o.verticalAlignment,s=1;return a&&(s=parseInt(a.toString().split("-"))),i?Object(ae.createElement)(ae.Fragment,null,Object(ae.createElement)(xe.BlockControls,null,a&&s>1&&Object(ae.createElement)(ie.Toolbar,{isCollapsed:!0,icon:this.layoutIcon(),label:Object(re.__)("Change row block layout","coblocks"),controls:Tc()(Qg[s],(function(e){var o=e.name,a=e.key,l=e.smallIcon;return{title:o,key:a,icon:l,isActive:a===i,onClick:function(){var e=a.toString().split("-"),o=c(t);n({layout:a}),void 0!==o[0].innerBlocks&&Tc()(o[0].innerBlocks,(function(t,o){return r(t.clientId,{width:e[o]})}))}}}))}),Object(ae.createElement)(xe.BlockVerticalAlignmentToolbar,{onChange:function(e){var o=c(t);n({verticalAlignment:e}),void 0!==o[0].innerBlocks&&Tc()(o[0].innerBlocks,(function(t,o){return r(t.clientId,{verticalAlignment:e})}))},value:l}),i&&oc(this.props))):null}}]),n}(ae.Component);function uv(){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}}var bv=function(e){Oe()(n,e);var t,o=(t=n,function(){var e,o=we()(t);if(uv()){var n=we()(this).constructor;e=Reflect.construct(o,arguments,n)}else e=o.apply(this,arguments);return _e()(this,e)});function n(){var e;return fe()(this,n),(e=o.apply(this,arguments)).state={layoutSelection:!0},e}return ve()(n,[{key:"componentDidUpdate",value:function(e){var t=this.props,o=t.setAttributes,n=t.hasInnerBlocks;e.hasInnerBlocks&&!n&&(this.setState({layoutSelection:!0}),o({layout:null,columns:null}))}},{key:"numberToText",value:function(e){return 1===e?Object(re.__)("one","coblocks"):2===e?Object(re.__)("two","coblocks"):3===e?Object(re.__)("three","coblocks"):4===e?Object(re.__)("four","coblocks"):void 0}},{key:"createBlocksFromInnerBlocksTemplate",value:function(e){var t=this;return Tc()(e,(function(e){var o=be()(e,3),n=o[0],c=o[1],r=o[2],a=void 0===r?[]:r;return Object(oe.createBlock)(n,c,t.createBlocksFromInnerBlocksTemplate(a))}))}},{key:"supportsBlockVariationPicker",value:function(){return!!oe.registerBlockVariation}},{key:"render",value:function(){var e,t=this,o=this.props,n=o.attributes,c=o.isSelected,r=o.setAttributes,a=o.className,i=o.variations,l=o.hasInnerBlocks,s=o.defaultVariation,u=o.replaceInnerBlocks,b=o.blockType,d=n.colu
8
  * getSize v2.0.3
9
  * measure size of elements
10
  * MIT license
11
+ */window,void 0===(c="function"==typeof(n=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)},o=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],n=o.length;function c(e){var o=getComputedStyle(e);return o||t("Style returned "+o+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),o}var r,a=!1;function i(t){if(function(){if(!a){a=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var o=document.body||document.documentElement;o.appendChild(t);var n=c(t);r=200==Math.round(e(n.width)),i.isBoxSizeOuter=r,o.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var l=c(t);if("none"==l.display)return function(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<n;t++)e[o[t]]=0;return e}();var s={};s.width=t.offsetWidth,s.height=t.offsetHeight;for(var u=s.isBorderBox="border-box"==l.boxSizing,b=0;b<n;b++){var d=o[b],p=l[d],m=parseFloat(p);s[d]=isNaN(m)?0:m}var h=s.paddingLeft+s.paddingRight,f=s.paddingTop+s.paddingBottom,g=s.marginLeft+s.marginRight,v=s.marginTop+s.marginBottom,y=s.borderLeftWidth+s.borderRightWidth,O=s.borderTopWidth+s.borderBottomWidth,k=u&&r,_=e(l.width);!1!==_&&(s.width=_+(k?0:h+y));var j=e(l.height);return!1!==j&&(s.height=j+(k?0:f+O)),s.innerWidth=s.width-(h+y),s.innerHeight=s.height-(f+O),s.outerWidth=s.width+g,s.outerHeight=s.height+v,s}}return i})?n.call(t,o,t,e):n)||(e.exports=c)},function(e,t,o){var n=o(170);e.exports=function(e){return Object(n(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},function(e){e.exports=JSON.parse('{"name":"coblocks/accordion-item","category":"common","attributes":{"title":{"type":"string","selector":".wp-block-coblocks-accordion__title"},"open":{"type":"boolean","default":false},"backgroundColor":{"type":"string"},"customBackgroundColor":{"type":"string"},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"borderColor":{"type":"string"}}}')},function(e){e.exports=JSON.parse('{"name":"coblocks/event-item","category":"layout","attributes":{"title":{"type":"string","source":"html","selector":".wp-block-coblocks-events__title"},"description":{"type":"string","source":"html","selector":".wp-block-coblocks-events__description"},"eventDay":{"type":"string","source":"html","selector":".wp-block-coblocks-events__day"},"eventMonth":{"type":"string","source":"html","selector":".wp-block-coblocks-events__month"},"eventYear":{"type":"string","source":"html","selector":".wp-block-coblocks-events__year"},"eventTime":{"type":"string","source":"html","selector":".wp-block-coblocks-events__time"},"eventLocation":{"type":"string","source":"html","selector":".wp-block-coblocks-events__location"},"textColor":{"type":"string"},"customTextColor":{"type":"string"}}}')},function(e){e.exports=JSON.parse('{"name":"coblocks/feature","category":"layout","attributes":{"headingLevel":{"type":"integer","default":4},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"contentAlign":{"type":"string"}}}')},function(e){e.exports=JSON.parse('{"name":"coblocks/gif","category":"common","attributes":{"url":{"attribute":"src","selector":"img","source":"attribute","type":"string"},"alt":{"attribute":"alt","selector":"img","source":"attribute","type":"string","default":""},"caption":{"type":"string","source":"html","selector":"figcaption"},"align":{"type":"string"},"width":{"type":"number"},"height":{"type":"number"}}}')},function(e){e.exports=JSON.parse('{"name":"coblocks/service","category":"layout","attributes":{"headingLevel":{"type":"integer","default":3},"showCta":{"type":"boolean","default":false},"imageUrl":{"type":"string","source":"attribute","selector":"img","attribute":"src","default":""},"imageAlt":{"type":"string","source":"attribute","selector":"img","attribute":"alt","default":""},"focalPoint":{"type":"object"},"alignment":{"type":"string","default":"none"}}}')},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(384);Object.defineProperty(t,"withScriptjs",{enumerable:!0,get:function(){return O(n).default}});var c=o(439);Object.defineProperty(t,"withGoogleMap",{enumerable:!0,get:function(){return O(c).default}});var r=o(440);Object.defineProperty(t,"GoogleMap",{enumerable:!0,get:function(){return O(r).default}});var a=o(463);Object.defineProperty(t,"Circle",{enumerable:!0,get:function(){return O(a).default}});var i=o(464);Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return O(i).default}});var l=o(465);Object.defineProperty(t,"Polyline",{enumerable:!0,get:function(){return O(l).default}});var s=o(466);Object.defineProperty(t,"Polygon",{enumerable:!0,get:function(){return O(s).default}});var u=o(467);Object.defineProperty(t,"Rectangle",{enumerable:!0,get:function(){return O(u).default}});var b=o(468);Object.defineProperty(t,"InfoWindow",{enumerable:!0,get:function(){return O(b).default}});var d=o(469);Object.defineProperty(t,"OverlayView",{enumerable:!0,get:function(){return O(d).default}});var p=o(480);Object.defineProperty(t,"GroundOverlay",{enumerable:!0,get:function(){return O(p).default}});var m=o(481);Object.defineProperty(t,"DirectionsRenderer",{enumerable:!0,get:function(){return O(m).default}});var h=o(482);Object.defineProperty(t,"FusionTablesLayer",{enumerable:!0,get:function(){return O(h).default}});var f=o(483);Object.defineProperty(t,"KmlLayer",{enumerable:!0,get:function(){return O(f).default}});var g=o(484);Object.defineProperty(t,"TrafficLayer",{enumerable:!0,get:function(){return O(g).default}});var v=o(485);Object.defineProperty(t,"StreetViewPanorama",{enumerable:!0,get:function(){return O(v).default}});var y=o(486);function O(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"BicyclingLayer",{enumerable:!0,get:function(){return O(y).default}})},function(e,t,o){var n=o(108);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?n(e,t):void 0}}},function(e,t,o){var n=o(93),c=o(96);e.exports=function(e,t){for(var o=0,r=(t=n(t,e)).length;null!=e&&o<r;)e=e[c(t[o++])];return o&&o==r?e:void 0}},function(e,t,o){var n=o(85),c=o(57);e.exports=function(e){return"symbol"==typeof e||c(e)&&"[object Symbol]"==n(e)}},function(e,t,o){var n=o(86)(Object,"create");e.exports=n},function(e,t,o){var n=o(85),c=o(52);e.exports=function(e){if(!c(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,o){var n=o(301),c=o(302),r=o(303),a=o(304),i=o(305);function l(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=c,l.prototype.get=r,l.prototype.has=a,l.prototype.set=i,e.exports=l},function(e,t,o){var n=o(132);e.exports=function(e,t){for(var o=e.length;o--;)if(n(e[o][0],t))return o;return-1}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,o){var n=o(307);e.exports=function(e,t){var o=e.__data__;return n(t)?o["string"==typeof t?"string":"hash"]:o.map}},function(e,t){e.exports=function(e,t){for(var o=-1,n=null==e?0:e.length,c=Array(n);++o<n;)c[o]=t(e[o],o,e);return c}},function(e,t,o){var n=o(206),c=o(132),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,o){var a=e[t];r.call(e,t)&&c(a,o)&&(void 0!==o||t in e)||n(e,t,o)}},function(e,t,o){var n=o(314),c=o(57),r=Object.prototype,a=r.hasOwnProperty,i=r.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return c(e)&&a.call(e,"callee")&&!i.call(e,"callee")};e.exports=l},function(e,t,o){var n=o(320),c=o(344),r=o(110),a=o(29),i=o(345);e.exports=function(e){return"function"==typeof e?e:null==e?r:"object"==typeof e?a(e)?c(e[0],e[1]):n(e):i(e)}},function(e,t,o){(function(e){var n=o(39),c=o(337),r=t&&!t.nodeType&&t,a=r&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===r?n.Buffer:void 0,l=(i?i.isBuffer:void 0)||c;e.exports=l}).call(this,o(164)(e))},function(e,t,o){var n=o(353),c=o(356)(n);e.exports=c},function(e,t){e.exports=!0},function(e,t){var o=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++o+n).toString(36))}},function(e,t,o){var n=o(240),c=o(178);e.exports=Object.keys||function(e){return n(e,c)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,o){var n=o(183),c=o(420),r=o(188),a=o(147),i=n((function(e,t,o){var n=1;if(o.length){var l=a(o,r(i));n|=32}return c(e,n,t,o,l)}));i.placeholder={},e.exports=i},function(e,t,o){var n=o(146),c=o(52);e.exports=function(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var o=n(e.prototype),r=e.apply(o,t);return c(r)?r:o}}},function(e,t,o){var n=o(52),c=Object.create,r=function(){function e(){}return function(t){if(!n(t))return{};if(c)return c(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}();e.exports=r},function(e,t){e.exports=function(e,t){for(var o=-1,n=e.length,c=0,r=[];++o<n;){var a=e[o];a!==t&&"__lodash_placeholder__"!==a||(e[o]="__lodash_placeholder__",r[c++]=o)}return r}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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=void 0;var n=r(o(16)),c=r(o(114));function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function i(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(o,!0).forEach((function(t){l(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function l(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var s=function(e){for(var t=[],o=u(e),n=b(e),c=o;c<n;c++)e.lazyLoadedList.indexOf(c)<0&&t.push(c);return t};t.getOnDemandLazySlides=s;t.getRequiredLazySlides=function(e){for(var t=[],o=u(e),n=b(e),c=o;c<n;c++)t.push(c);return t};var u=function(e){return e.currentSlide-d(e)};t.lazyStartIndex=u;var b=function(e){return e.currentSlide+p(e)};t.lazyEndIndex=b;var d=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=d;var p=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=p;var m=function(e){return e&&e.offsetWidth||0};t.getWidth=m;var h=function(e){return e&&e.offsetHeight||0};t.getHeight=h;var f=function(e){var t,o,n,c,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,o=e.startY-e.curY,n=Math.atan2(o,t),(c=Math.round(180*n/Math.PI))<0&&(c=360-Math.abs(c)),c<=45&&c>=0||c<=360&&c>=315?"left":c>=135&&c<=225?"right":!0===r?c>=35&&c<=135?"up":"down":"vertical"};t.getSwipeDirection=f;var g=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=g;t.extractObject=function(e,t){var o={};return t.forEach((function(t){return o[t]=e[t]})),o};t.initializedState=function(e){var t,o=n.default.Children.count(e.children),r=Math.ceil(m(c.default.findDOMNode(e.listRef))),a=Math.ceil(m(c.default.findDOMNode(e.trackRef)));if(e.vertical)t=r;else{var i=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(i*=r/100),t=Math.ceil((r-i)/e.slidesToShow)}var l=c.default.findDOMNode(e.listRef)&&h(c.default.findDOMNode(e.listRef).querySelector('[data-index="0"]')),u=l*e.slidesToShow,b=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(b=o-1-e.initialSlide);var d=e.lazyLoadedList||[],p=s({currentSlide:b,lazyLoadedList:d});d.concat(p);var f={slideCount:o,slideWidth:t,listWidth:r,trackWidth:a,currentSlide:b,slideHeight:l,listHeight:u,lazyLoadedList:d};return null===e.autoplaying&&e.autoplay&&(f.autoplaying="playing"),f};t.slideHandler=function(e){var t=e.waitForAnimate,o=e.animating,n=e.fade,c=e.infinite,r=e.index,a=e.slideCount,l=e.lazyLoadedList,u=e.lazyLoad,b=e.currentSlide,d=e.centerMode,p=e.slidesToScroll,m=e.slidesToShow,h=e.useCSS;if(t&&o)return{};var f,v,y,O=r,k={},E={};if(n){if(!c&&(r<0||r>=a))return{};r<0?O=r+a:r>=a&&(O=r-a),u&&l.indexOf(O)<0&&l.push(O),k={animating:!0,currentSlide:O,lazyLoadedList:l},E={animating:!1}}else f=O,O<0?(f=O+a,c?a%p!=0&&(f=a-a%p):f=0):!g(e)&&O>b?O=f=b:d&&O>=a?(O=c?a:a-1,f=c?0:a-1):O>=a&&(f=O-a,c?a%p!=0&&(f=0):f=a-m),v=w(i({},e,{slideIndex:O})),y=w(i({},e,{slideIndex:f})),c||(v===y&&(O=f),v=y),u&&l.concat(s(i({},e,{currentSlide:O}))),h?(k={animating:!0,currentSlide:f,trackStyle:j(i({},e,{left:v})),lazyLoadedList:l},E={animating:!1,currentSlide:f,trackStyle:_(i({},e,{left:y})),swipeLeft:null}):k={currentSlide:f,trackStyle:_(i({},e,{left:y})),lazyLoadedList:l};return{state:k,nextState:E}};t.changeSlide=function(e,t){var o,n,c,r,a=e.slidesToScroll,l=e.slidesToShow,s=e.slideCount,u=e.currentSlide,b=e.lazyLoad,d=e.infinite;if(o=s%a!=0?0:(s-u)%a,"previous"===t.message)r=u-(c=0===o?a:l-o),b&&!d&&(r=-1===(n=u-c)?s-1:n);else if("next"===t.message)r=u+(c=0===o?a:o),b&&!d&&(r=(u+a)%s+o);else if("dots"===t.message){if((r=t.index*t.slidesToScroll)===t.currentSlide)return null}else if("children"===t.message){if((r=t.index)===t.currentSlide)return null;if(d){var p=S(i({},e,{targetSlide:r}));r>t.currentSlide&&"left"===p?r-=s:r<t.currentSlide&&"right"===p&&(r+=s)}}else if("index"===t.message&&(r=Number(t.index))===t.currentSlide)return null;return r};t.keyHandler=function(e,t,o){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?o?"next":"previous":39===e.keyCode?o?"previous":"next":""};t.swipeStart=function(e,t,o){return"IMG"===e.target.tagName&&e.preventDefault(),!t||!o&&-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 o=t.scrolling,n=t.animating,c=t.vertical,r=t.swipeToSlide,a=t.verticalSwiping,l=t.rtl,s=t.currentSlide,u=t.edgeFriction,b=t.edgeDragged,d=t.onEdge,p=t.swiped,m=t.swiping,h=t.slideCount,v=t.slidesToScroll,y=t.infinite,O=t.touchObject,k=t.swipeEvent,j=t.listHeight,E=t.listWidth;if(!o){if(n)return e.preventDefault();c&&r&&a&&e.preventDefault();var C,x={},S=w(t);O.curX=e.touches?e.touches[0].pageX:e.clientX,O.curY=e.touches?e.touches[0].pageY:e.clientY,O.swipeLength=Math.round(Math.sqrt(Math.pow(O.curX-O.startX,2)));var P=Math.round(Math.sqrt(Math.pow(O.curY-O.startY,2)));if(!a&&!m&&P>10)return{scrolling:!0};a&&(O.swipeLength=P);var z=(l?-1:1)*(O.curX>O.startX?1:-1);a&&(z=O.curY>O.startY?1:-1);var T=Math.ceil(h/v),R=f(t.touchObject,a),B=O.swipeLength;return y||(0===s&&"right"===R||s+1>=T&&"left"===R||!g(t)&&"left"===R)&&(B=O.swipeLength*u,!1===b&&d&&(d(R),x.edgeDragged=!0)),!p&&k&&(k(R),x.swiped=!0),C=c?S+B*(j/E)*z:l?S-B*z:S+B*z,a&&(C=S+B*z),x=i({},x,{touchObject:O,swipeLeft:C,trackStyle:_(i({},t,{left:C}))}),Math.abs(O.curX-O.startX)<.8*Math.abs(O.curY-O.startY)?x:(O.swipeLength>10&&(x.swiping=!0,e.preventDefault()),x)}};t.swipeEnd=function(e,t){var o=t.dragging,n=t.swipe,c=t.touchObject,r=t.listWidth,a=t.touchThreshold,l=t.verticalSwiping,s=t.listHeight,u=t.currentSlide,b=t.swipeToSlide,d=t.scrolling,p=t.onSwipe;if(!o)return n&&e.preventDefault(),{};var m=l?s/a:r/a,h=f(c,l),g={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d)return g;if(!c.swipeLength)return g;if(c.swipeLength>m){var v,k;switch(e.preventDefault(),p&&p(h),h){case"left":case"up":k=u+O(t),v=b?y(t,k):k,g.currentDirection=0;break;case"right":case"down":k=u-O(t),v=b?y(t,k):k,g.currentDirection=1;break;default:v=u}g.triggerSlideHandler=v}else{var _=w(t);g.trackStyle=j(i({},t,{left:_}))}return g};var v=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,o=e.infinite?-1*e.slidesToShow:0,n=e.infinite?-1*e.slidesToShow:0,c=[];o<t;)c.push(o),o=n+e.slidesToScroll,n+=Math.min(e.slidesToScroll,e.slidesToShow);return c};t.getNavigableIndexes=v;var y=function(e,t){var o=v(e),n=0;if(t>o[o.length-1])t=o[o.length-1];else for(var c in o){if(t<o[c]){t=n;break}n=o[c]}return t};t.checkNavigable=y;var O=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var o,n=c.default.findDOMNode(e.listRef).querySelectorAll(".slick-slide");if(Array.from(n).every((function(n){if(e.vertical){if(n.offsetTop+h(n)/2>-1*e.swipeLeft)return o=n,!1}else if(n.offsetLeft-t+m(n)/2>-1*e.swipeLeft)return o=n,!1;return!0})),!o)return 0;var r=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(o.dataset.index-r)||1}return e.slidesToScroll};t.getSlideCount=O;var k=function(e,t){return t.reduce((function(t,o){return t&&e.hasOwnProperty(o)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=k;var _=function(e){var t,o;k(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var n=e.slideCount+2*e.slidesToShow;e.vertical?o=n*e.slideHeight:t=x(e)*e.slideWidth;var c={opacity:1,transition:"",WebkitTransition:""};e.useTransform?c=i({},c,{WebkitTransform:e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",transform:e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",msTransform:e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)"}):e.vertical?c.top=e.left:c.left=e.left;return e.fade&&(c={opacity:1}),t&&(c.width=t),o&&(c.height=o),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?c.marginTop=e.left+"px":c.marginLeft=e.left+"px"),c};t.getTrackCSS=_;var j=function(e){k(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=_(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=j;var w=function(e){if(e.unslick)return 0;k(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,o,n=e.slideIndex,r=e.trackRef,a=e.infinite,i=e.centerMode,l=e.slideCount,s=e.slidesToShow,u=e.slidesToScroll,b=e.slideWidth,d=e.listWidth,p=e.variableWidth,m=e.slideHeight,h=e.fade,f=e.vertical;if(h||1===e.slideCount)return 0;var g=0;if(a?(g=-E(e),l%u!=0&&n+u>l&&(g=-(n>l?s-(n-l):l%u)),i&&(g+=parseInt(s/2))):(l%u!=0&&n+u>l&&(g=s-l%u),i&&(g=parseInt(s/2))),t=f?n*m*-1+g*m:n*b*-1+g*b,!0===p){var v,y=c.default.findDOMNode(r);if(v=n+E(e),t=(o=y&&y.childNodes[v])?-1*o.offsetLeft:0,!0===i){v=a?n+E(e):n,o=y&&y.children[v],t=0;for(var O=0;O<v;O++)t-=y&&y.children[O]&&y.children[O].offsetWidth;t-=parseInt(e.centerPadding),t+=o&&(d-o.offsetWidth)/2}}return t};t.getTrackLeft=w;var E=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=E;var C=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=C;var x=function(e){return 1===e.slideCount?1:E(e)+e.slideCount+C(e)};t.getTotalSlides=x;var S=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+P(e)?"left":"right":e.targetSlide<e.currentSlide-z(e)?"right":"left"};t.siblingDirection=S;var P=function(e){var t=e.slidesToShow,o=e.centerMode,n=e.rtl,c=e.centerPadding;if(o){var r=(t-1)/2+1;return parseInt(c)>0&&(r+=1),n&&t%2==0&&(r+=1),r}return n?0:t-1};t.slidesOnRight=P;var z=function(e){var t=e.slidesToShow,o=e.centerMode,n=e.rtl,c=e.centerPadding;if(o){var r=(t-1)/2+1;return parseInt(c)>0&&(r+=1),n||t%2!=0||(r+=1),r}return n?t-1:0};t.slidesOnLeft=z;t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t){!function(){e.exports=this.wp.plugins}()},function(e,t,o){var n=o(108);e.exports=function(e){if(Array.isArray(e))return n(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},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.")}},function(e,t,o){var n=o(29),c=o(127),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var o=typeof e;return!("number"!=o&&"symbol"!=o&&"boolean"!=o&&null!=e&&!c(e))||(a.test(e)||!r.test(e)||null!=t&&e in Object(t))}},function(e,t,o){var n=o(290),c=o(306),r=o(308),a=o(309),i=o(310);function l(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=c,l.prototype.get=r,l.prototype.has=a,l.prototype.set=i,e.exports=l},function(e,t,o){var n=o(86)(o(39),"Map");e.exports=n},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e,t){for(var o=-1,n=t.length,c=e.length;++o<n;)e[c+o]=t[o];return e}},function(e,t){e.exports=function(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}},function(e,t,o){var n=o(318),c=o(212)(n);e.exports=c},function(e,t,o){var n=o(130),c=o(322),r=o(323),a=o(324),i=o(325),l=o(326);function s(e){var t=this.__data__=new n(e);this.size=t.size}s.prototype.clear=c,s.prototype.delete=r,s.prototype.get=a,s.prototype.has=i,s.prototype.set=l,e.exports=s},function(e,t,o){var n=o(327),c=o(57);e.exports=function e(t,o,r,a,i){return t===o||(null==t||null==o||!c(t)&&!c(o)?t!=t&&o!=o:n(t,o,r,a,e,i))}},function(e,t,o){var n=o(218),c=o(219),r=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,i=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return r.call(e,t)})))}:c;e.exports=i},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,o){var n=o(338),c=o(166),r=o(167),a=r&&r.isTypedArray,i=a?c(a):n;e.exports=i},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,o){(function(e){var n=o(203),c=t&&!t.nodeType&&t,r=c&&"object"==typeof e&&e&&!e.nodeType&&e,a=r&&r.exports===c&&n.process,i=function(){try{var e=r&&r.require&&r.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=i}).call(this,o(164)(e))},function(e,t,o){var n=o(52),c=o(127),r=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(c(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=e.replace(r,"");var o=i.test(e);return o||l.test(e)?s(e.slice(2),o?2:8):a.test(e)?NaN:+e}},function(e,t,o){var n,c;
12
  /*!
13
  * Unipointer v2.3.0
14
  * base class for doing one thing with pointer event
18
  * imagesLoaded v4.1.4
19
  * JavaScript is all like "You images are done yet or what?"
20
  * MIT License
21
+ */!function(r,a){"use strict";n=[o(97)],void 0===(c=function(e){return function(e,t){var o=e.jQuery,n=e.console;function c(e,t){for(var o in t)e[o]=t[o];return e}var r=Array.prototype.slice;function a(e,t,i){if(!(this instanceof a))return new a(e,t,i);var l,s=e;("string"==typeof e&&(s=document.querySelectorAll(e)),s)?(this.elements=(l=s,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?r.call(l):[l]),this.options=c({},this.options),"function"==typeof t?i=t:c(this.options,t),i&&this.on("always",i),this.getImages(),o&&(this.jqDeferred=new o.Deferred),setTimeout(this.check.bind(this))):n.error("Bad element for imagesLoaded "+(s||e))}a.prototype=Object.create(t.prototype),a.prototype.options={},a.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},a.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 o=e.querySelectorAll("img"),n=0;n<o.length;n++){var c=o[n];this.addImage(c)}if("string"==typeof this.options.background){var r=e.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var a=r[n];this.addElementBackgroundImages(a)}}}};var i={1:!0,9:!0,11:!0};function l(e){this.img=e}function s(e,t){this.url=e,this.element=t,this.img=new Image}return a.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var o=/url\((['"])?(.*?)\1\)/gi,n=o.exec(t.backgroundImage);null!==n;){var c=n&&n[2];c&&this.addBackground(c,e),n=o.exec(t.backgroundImage)}},a.prototype.addImage=function(e){var t=new l(e);this.images.push(t)},a.prototype.addBackground=function(e,t){var o=new s(e,t);this.images.push(o)},a.prototype.check=function(){var e=this;function t(t,o,n){setTimeout((function(){e.progress(t,o,n)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(e){e.once("progress",t),e.check()})):this.complete()},a.prototype.progress=function(e,t,o){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&&n&&n.log("progress: "+o,e,t)},a.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)}},l.prototype=Object.create(t.prototype),l.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)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},l.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(l.prototype),s.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())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},a.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((o=t).fn.imagesLoaded=function(e,t){return new a(this,e,t).jqDeferred.promise(o(this))})},a.makeJQueryPlugin(),a}(r,e)}.apply(t,n))||(e.exports=c)}("undefined"!=typeof window?window:this)},function(e,t,o){var n=o(16),c=/-([a-z])/g,r=/^--[a-zA-Z0-9-]+$|^[^-]+$/;var a=n.version.split(".")[0]>=16;e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,camelCase:function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");return r.test(e)?e:e.toLowerCase().replace(c,(function(e,t){return t.toUpperCase()}))},invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var o,n,c="function"==typeof t,r={},a={};for(o in e)n=e[o],c&&(r=t(o,n))&&2===r.length?a[r[0]]=r[1]:"string"==typeof n&&(a[n]=o);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}}},function(e,t,o){for(var n,c=o(383).CASE_SENSITIVE_TAG_NAMES,r={},a=0,i=c.length;a<i;a++)n=c[a],r[n.toLowerCase()]=n;function l(e){for(var t,o={},n=0,c=e.length;n<c;n++)o[(t=e[n]).name]=t.value;return o}function s(e){var t=function(e){return r[e]}(e=e.toLowerCase());return t||e}e.exports={formatAttributes:l,formatDOM:function e(t,o,n){o=o||null;for(var c,r,a,i=[],u=0,b=t.length;u<b;u++){switch(c=t[u],a={next:null,prev:i[u-1]||null,parent:o},(r=i[u-1])&&(r.next=a),"#"!==c.nodeName[0]&&(a.name=s(c.nodeName),a.attribs={},c.attributes&&c.attributes.length&&(a.attribs=l(c.attributes))),c.nodeType){case 1:"script"===a.name||"style"===a.name?a.type=a.name:a.type="tag",a.children=e(c.childNodes,a);break;case 3:a.type="text",a.data=c.nodeValue;break;case 8:a.type="comment",a.data=c.nodeValue}i.push(a)}return n&&(i.unshift({name:n.substring(0,n.indexOf(" ")).toLowerCase(),data:n,type:"directive",next:i[0]?i[0]:null,prev:null,parent:o}),i[1]&&(i[1].prev=i[0])),i},isIE:function(e){return e?document.documentMode===e:/(MSIE |Trident\/|Edge\/)/.test(navigator.userAgent)}}},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}},function(e,t,o){var n=o(89),c=o(116),r=o(171)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=c(e),n(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,o){e.exports=!o(76)&&!o(101)((function(){return 7!=Object.defineProperty(o(234)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,o){var n=o(100),c=o(73).document,r=n(c)&&n(c.createElement);e.exports=function(e){return r?c.createElement(e):{}}},function(e,t,o){e.exports={default:o(389),__esModule:!0}},function(e,t,o){"use strict";t.__esModule=!0;var n=a(o(391)),c=a(o(403)),r="function"==typeof c.default&&"symbol"==typeof n.default?function(e){return typeof e}:function(e){return e&&"function"==typeof c.default&&e.constructor===c.default&&e!==c.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof c.default&&"symbol"===r(n.default)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof c.default&&e.constructor===c.default&&e!==c.default.prototype?"symbol":void 0===e?"undefined":r(e)}},function(e,t,o){"use strict";var n=o(393)(!0);o(238)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,o=this._i;return o>=t.length?{value:void 0,done:!0}:(e=n(t,o),this._i+=e.length,{value:e,done:!1})}))},function(e,t,o){"use strict";var n=o(140),c=o(74),r=o(239),a=o(98),i=o(118),l=o(394),s=o(179),u=o(232),b=o(58)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,o,m,h,f,g){l(o,t,m);var v,y,O,k=function(e){if(!d&&e in E)return E[e];switch(e){case"keys":case"values":return function(){return new o(this,e)}}return function(){return new o(this,e)}},_=t+" Iterator",j="values"==h,w=!1,E=e.prototype,C=E[b]||E["@@iterator"]||h&&E[h],x=C||k(h),S=h?j?k("entries"):x:void 0,P="Array"==t&&E.entries||C;if(P&&(O=u(P.call(new e)))!==Object.prototype&&O.next&&(s(O,_,!0),n||"function"==typeof O[b]||a(O,b,p)),j&&C&&"values"!==C.name&&(w=!0,x=function(){return C.call(this)}),n&&!g||!d&&!w&&E[b]||a(E,b,x),i[t]=x,i[_]=p,h)if(v={values:j?x:k("values"),keys:f?x:k("keys"),entries:S},g)for(y in v)y in E||r(E,y,v[y]);else c(c.P+c.F*(d||w),t,v);return v}},function(e,t,o){e.exports=o(98)},function(e,t,o){var n=o(89),c=o(102),r=o(396)(!1),a=o(171)("IE_PROTO");e.exports=function(e,t){var o,i=c(e),l=0,s=[];for(o in i)o!=a&&n(i,o)&&s.push(o);for(;t.length>l;)n(i,o=t[l++])&&(~r(s,o)||s.push(o));return s}},function(e,t,o){var n=o(177);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,o){var n=o(175),c=Math.min;e.exports=function(e){return e>0?c(n(e),9007199254740991):0}},function(e,t,o){var n=o(240),c=o(178).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,c)}},function(e,t,o){var n=o(143),c=o(117),r=o(102),a=o(174),i=o(89),l=o(233),s=Object.getOwnPropertyDescriptor;t.f=o(76)?s:function(e,t){if(e=r(e),t=a(t,!0),l)try{return s(e,t)}catch(e){}if(i(e,t))return c(!n.f.call(e,t),e[t])}},function(e,t,o){var n=o(110),c=o(246),r=c?function(e,t){return c.set(e,t),e}:n;e.exports=r},function(e,t,o){var n=o(224),c=n&&new n;e.exports=c},function(e,t,o){var n=o(248),c=o(249),r=o(423),a=o(145),i=o(250),l=o(188),s=o(435),u=o(147),b=o(39);e.exports=function e(t,o,d,p,m,h,f,g,v,y){var O=128&o,k=1&o,_=2&o,j=24&o,w=512&o,E=_?void 0:a(t);return function C(){for(var x=arguments.length,S=Array(x),P=x;P--;)S[P]=arguments[P];if(j)var z=l(C),T=r(S,z);if(p&&(S=n(S,p,m,j)),h&&(S=c(S,h,f,j)),x-=T,j&&x<y){var R=u(S,z);return i(t,o,e,C.placeholder,d,S,R,g,v,y-x)}var B=k?d:this,N=_?B[t]:t;return x=S.length,g?S=s(S,g):w&&x>1&&S.reverse(),O&&v<x&&(S.length=v),this&&this!==b&&this instanceof C&&(N=E||a(N)),N.apply(B,S)}}},function(e,t){var o=Math.max;e.exports=function(e,t,n,c){for(var r=-1,a=e.length,i=n.length,l=-1,s=t.length,u=o(a-i,0),b=Array(s+u),d=!c;++l<s;)b[l]=t[l];for(;++r<i;)(d||r<a)&&(b[n[r]]=e[r]);for(;u--;)b[l++]=e[r++];return b}},function(e,t){var o=Math.max;e.exports=function(e,t,n,c){for(var r=-1,a=e.length,i=-1,l=n.length,s=-1,u=t.length,b=o(a-l,0),d=Array(b+u),p=!c;++r<b;)d[r]=e[r];for(var m=r;++s<u;)d[m+s]=t[s];for(;++i<l;)(p||r<a)&&(d[m+n[i]]=e[r++]);return d}},function(e,t,o){var n=o(424),c=o(253),r=o(254);e.exports=function(e,t,o,a,i,l,s,u,b,d){var p=8&t;t|=p?32:64,4&(t&=~(p?64:32))||(t&=-4);var m=[e,t,i,p?l:void 0,p?s:void 0,p?void 0:l,p?void 0:s,u,b,d],h=o.apply(void 0,m);return n(e)&&c(h,m),h.placeholder=a,r(h,e,t)}},function(e,t,o){var n=o(246),c=o(194),r=n?function(e){return n.get(e)}:c;e.exports=r},function(e,t,o){var n=o(146),c=o(185);function r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}r.prototype=n(c.prototype),r.prototype.constructor=r,e.exports=r},function(e,t,o){var n=o(245),c=o(212)(n);e.exports=c},function(e,t,o){var n=o(429),c=o(430),r=o(160),a=o(431);e.exports=function(e,t,o){var i=t+"";return r(e,c(i,a(n(i),o)))}},function(e,t,o){var n=o(213),c=o(433),r=o(434);e.exports=function(e,t,o){return t==t?r(e,t,o):n(e,c,o)}},function(e,t){var o=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=o},function(e,t,o){"use strict";o.r(t),o.d(t,"mapProps",(function(){return h})),o.d(t,"withProps",(function(){return k})),o.d(t,"withPropsOnChange",(function(){return j})),o.d(t,"withHandlers",(function(){return E})),o.d(t,"defaultProps",(function(){return C})),o.d(t,"renameProp",(function(){return S})),o.d(t,"renameProps",(function(){return z})),o.d(t,"flattenProp",(function(){return T})),o.d(t,"withState",(function(){return R})),o.d(t,"withStateHandlers",(function(){return B})),o.d(t,"withReducer",(function(){return N})),o.d(t,"branch",(function(){return I})),o.d(t,"renderComponent",(function(){return M})),o.d(t,"renderNothing",(function(){return L})),o.d(t,"shouldUpdate",(function(){return F})),o.d(t,"pure",(function(){return V})),o.d(t,"onlyUpdateForKeys",(function(){return G})),o.d(t,"onlyUpdateForPropTypes",(function(){return U})),o.d(t,"withContext",(function(){return H})),o.d(t,"getContext",(function(){return W})),o.d(t,"lifecycle",(function(){return q})),o.d(t,"toClass",(function(){return K})),o.d(t,"setStatic",(function(){return b})),o.d(t,"setPropTypes",(function(){return X})),o.d(t,"setDisplayName",(function(){return d})),o.d(t,"compose",(function(){return J})),o.d(t,"getDisplayName",(function(){return p})),o.d(t,"wrapDisplayName",(function(){return m})),o.d(t,"isClassComponent",(function(){return Y})),o.d(t,"createSink",(function(){return Z})),o.d(t,"componentFromProp",(function(){return $})),o.d(t,"nest",(function(){return Q})),o.d(t,"hoistStatics",(function(){return ee})),o.d(t,"componentFromStream",(function(){return re})),o.d(t,"componentFromStreamWithConfig",(function(){return ce})),o.d(t,"mapPropsStream",(function(){return le})),o.d(t,"mapPropsStreamWithConfig",(function(){return ie})),o.d(t,"createEventHandler",(function(){return ue})),o.d(t,"createEventHandlerWithConfig",(function(){return se})),o.d(t,"setObservableConfig",(function(){return oe}));var n=o(16),c=o.n(n),r=o(56),a=o.n(r);o.d(t,"shallowEqual",(function(){return a.a}));var i=o(271),l=o.n(i),s=o(106),u=o(83),b=function(e,t){return function(o){return o[e]=t,o}},d=function(e){return b("displayName",e)},p=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":void 0},m=function(e,t){return t+"("+p(e)+")"},h=function(e){return function(t){var o=Object(n.createFactory)(t);return function(t){return o(e(t))}}},f=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},v=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)},y=function(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o},O=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},k=function(e){return h((function(t){return g({},t,"function"==typeof e?e(t):e)}))},_=function(e,t){for(var o={},n=0;n<t.length;n++){var c=t[n];e.hasOwnProperty(c)&&(o[c]=e[c])}return o},j=function(e,t){return function(o){var c=Object(n.createFactory)(o),r="function"==typeof e?e:function(t,o){return!a()(_(t,e),_(o,e))};return function(e){function o(){var n,c;f(this,o);for(var r=arguments.length,a=Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=c=O(this,e.call.apply(e,[this].concat(a))),c.computedProps=t(c.props),O(c,n)}return v(o,e),o.prototype.componentWillReceiveProps=function(e){r(this.props,e)&&(this.computedProps=t(e))},o.prototype.render=function(){return c(g({},this.props,this.computedProps))},o}(n.Component)}},w=function(e,t){var o={};for(var n in e)e.hasOwnProperty(n)&&(o[n]=t(e[n],n));return o},E=function(e){return function(t){var o=Object(n.createFactory)(t),c=function(e){function t(){var o,n;f(this,t);for(var c=arguments.length,a=Array(c),i=0;i<c;i++)a[i]=arguments[i];return o=n=O(this,e.call.apply(e,[this].concat(a))),r.call(n),O(n,o)}return v(t,e),t.prototype.componentWillReceiveProps=function(){this.cachedHandlers={}},t.prototype.render=function(){return o(g({},this.props,this.handlers))},t}(n.Component),r=function(){var t=this;this.cachedHandlers={},this.handlers=w("function"==typeof e?e(this.props):e,(function(e,o){return function(){var n=t.cachedHandlers[o];if(n)return n.apply(void 0,arguments);var c=e(t.props);return t.cachedHandlers[o]=c,c.apply(void 0,arguments)}}))};return c}},C=function(e){return function(t){var o=Object(n.createFactory)(t),c=function(e){return o(e)};return c.defaultProps=e,c}},x=function(e,t){for(var o=y(e,[]),n=0;n<t.length;n++){var c=t[n];o.hasOwnProperty(c)&&delete o[c]}return o},S=function(e,t){return h((function(o){var n;return g({},x(o,[e]),((n={})[t]=o[e],n))}))},P=Object.keys,z=function(e){return h((function(t){return g({},x(t,P(e)),(o=_(t,P(e)),n=function(t,o){return e[o]},P(o).reduce((function(e,t){var c=o[t];return e[n(c,t)]=c,e}),{})));var o,n}))},T=function(e){return function(t){var o=Object(n.createFactory)(t);return function(t){return o(g({},t,t[e]))}}},R=function(e,t,o){return function(c){var r=Object(n.createFactory)(c);return function(n){function c(){var e,t;f(this,c);for(var r=arguments.length,a=Array(r),i=0;i<r;i++)a[i]=arguments[i];return e=t=O(this,n.call.apply(n,[this].concat(a))),t.state={stateValue:"function"==typeof o?o(t.props):o},t.updateStateValue=function(e,o){return t.setState((function(t){var o=t.stateValue;return{stateValue:"function"==typeof e?e(o):e}}),o)},O(t,e)}return v(c,n),c.prototype.render=function(){var o;return r(g({},this.props,((o={})[e]=this.state.stateValue,o[t]=this.updateStateValue,o)))},c}(n.Component)}},B=function(e,t){return function(o){var c=Object(n.createFactory)(o),r=function(e){function t(){var o,n;f(this,t);for(var c=arguments.length,r=Array(c),a=0;a<c;a++)r[a]=arguments[a];return o=n=O(this,e.call.apply(e,[this].concat(r))),i.call(n),O(n,o)}return v(t,e),t.prototype.shouldComponentUpdate=function(e,t){var o=e!==this.props,n=!a()(t,this.state);return o||n},t.prototype.render=function(){return c(g({},this.props,this.state,this.stateUpdaters))},t}(n.Component),i=function(){var o=this;this.state="function"==typeof e?e(this.props):e,this.stateUpdaters=w(t,(function(e){return function(t){for(var n=arguments.length,c=Array(n>1?n-1:0),r=1;r<n;r++)c[r-1]=arguments[r];t&&"function"==typeof t.persist&&t.persist(),o.setState((function(o,n){return e(o,n).apply(void 0,[t].concat(c))}))}}))};return r}},N=function(e,t,o,c){return function(r){var a=Object(n.createFactory)(r);return function(n){function r(){var e,t;f(this,r);for(var c=arguments.length,a=Array(c),i=0;i<c;i++)a[i]=arguments[i];return e=t=O(this,n.call.apply(n,[this].concat(a))),t.state={stateValue:t.initializeStateValue()},t.dispatch=function(e){return t.setState((function(t){var n=t.stateValue;return{stateValue:o(n,e)}}))},O(t,e)}return v(r,n),r.prototype.initializeStateValue=function(){return void 0!==c?"function"==typeof c?c(this.props):c:o(void 0,{type:"@@recompose/INIT"})},r.prototype.render=function(){var o;return a(g({},this.props,((o={})[e]=this.state.stateValue,o[t]=this.dispatch,o)))},r}(n.Component)}},A=function(e){return e},I=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A;return function(c){var r=void 0,a=void 0;return function(i){return e(i)?(r=r||Object(n.createFactory)(t(c)))(i):(a=a||Object(n.createFactory)(o(c)))(i)}}},M=function(e){return function(t){var o=Object(n.createFactory)(e);return function(e){return o(e)}}},D=function(e){function t(){return f(this,t),O(this,e.apply(this,arguments))}return v(t,e),t.prototype.render=function(){return null},t}(n.Component),L=function(e){return D},F=function(e){return function(t){var o=Object(n.createFactory)(t);return function(t){function n(){return f(this,n),O(this,t.apply(this,arguments))}return v(n,t),n.prototype.shouldComponentUpdate=function(t){return e(this.props,t)},n.prototype.render=function(){return o(this.props)},n}(n.Component)}},V=function(e){return F((function(e,t){return!a()(e,t)}))(e)},G=function(e){return F((function(t,o){return!a()(_(o,e),_(t,e))}))},U=function(e){var t=e.propTypes;var o=Object.keys(t||{});return G(o)(e)},H=function(e,t){return function(o){var c=Object(n.createFactory)(o),r=function(e){function o(){var n,c;f(this,o);for(var r=arguments.length,a=Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=c=O(this,e.call.apply(e,[this].concat(a))),c.getChildContext=function(){return t(c.props)},O(c,n)}return v(o,e),o.prototype.render=function(){return c(this.props)},o}(n.Component);return r.childContextTypes=e,r}},W=function(e){return function(t){var o=Object(n.createFactory)(t),c=function(e,t){return o(g({},e,t))};return c.contextTypes=e,c}},q=function(e){return function(t){var o=Object(n.createFactory)(t);var c=function(e){function t(){return f(this,t),O(this,e.apply(this,arguments))}return v(t,e),t.prototype.render=function(){return o(g({},this.props,this.state))},t}(n.Component);return Object.keys(e).forEach((function(t){return c.prototype[t]=e[t]})),c}},Y=function(e){return Boolean(e&&e.prototype&&"function"==typeof e.prototype.render)},K=function(e){if(Y(e))return e;var t=function(t){function o(){return f(this,o),O(this,t.apply(this,arguments))}return v(o,t),o.prototype.render=function(){return"string"==typeof e?c.a.createElement(e,this.props):e(this.props,this.context)},o}(n.Component);return t.displayName=p(e),t.propTypes=e.propTypes,t.contextTypes=e.contextTypes,t.defaultProps=e.defaultProps,t},X=function(e){return b("propTypes",e)};function J(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var Z=function(e){return function(t){function o(){return f(this,o),O(this,t.apply(this,arguments))}return v(o,t),o.prototype.componentWillMount=function(){e(this.props)},o.prototype.componentWillReceiveProps=function(t){e(t)},o.prototype.render=function(){return null},o}(n.Component)},$=function(e){var t=function(t){return Object(n.createElement)(t[e],x(t,[e]))};return t.displayName="componentFromProp("+e+")",t},Q=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];var c=t.map(n.createFactory),r=function(e){var t=y(e,[]),o=e.children;return c.reduceRight((function(e,o){return o(t,e)}),o)};return r},ee=function(e){return function(t){var o=e(t);return l()(o,t),o}},te={fromESObservable:null,toESObservable:null},oe=function(e){te=e},ne={fromESObservable:function(e){return"function"==typeof te.fromESObservable?te.fromESObservable(e):e},toESObservable:function(e){return"function"==typeof te.toESObservable?te.toESObservable(e):e}},ce=function(e){return function(t){return function(o){function n(){var c,r,a;f(this,n);for(var i=arguments.length,l=Array(i),b=0;b<i;b++)l[b]=arguments[b];return r=a=O(this,o.call.apply(o,[this].concat(l))),a.state={vdom:null},a.propsEmitter=Object(s.createChangeEmitter)(),a.props$=e.fromESObservable(((c={subscribe:function(e){return{unsubscribe:a.propsEmitter.listen((function(t){t?e.next(t):e.complete()}))}}})[u.a]=function(){return this},c)),a.vdom$=e.toESObservable(t(a.props$)),O(a,r)}return v(n,o),n.prototype.componentWillMount=function(){var e=this;this.subscription=this.vdom$.subscribe({next:function(t){e.setState({vdom:t})}}),this.propsEmitter.emit(this.props)},n.prototype.componentWillReceiveProps=function(e){this.propsEmitter.emit(e)},n.prototype.shouldComponentUpdate=function(e,t){return t.vdom!==this.state.vdom},n.prototype.componentWillUnmount=function(){this.propsEmitter.emit(),this.subscription.unsubscribe()},n.prototype.render=function(){return this.state.vdom},n}(n.Component)}},re=function(e){return ce(ne)(e)},ae=function(e){return e},ie=function(e){var t=ce({fromESObservable:ae,toESObservable:ae});return function(o){return function(c){var r=Object(n.createFactory)(c),a=e.fromESObservable,i=e.toESObservable;return t((function(e){var t;return(t={subscribe:function(t){var n=i(o(a(e))).subscribe({next:function(e){return t.next(r(e))}});return{unsubscribe:function(){return n.unsubscribe()}}}})[u.a]=function(){return this},t}))}}},le=function(e){return ie(ne)(e)},se=function(e){return function(){var t,o=Object(s.createChangeEmitter)(),n=e.fromESObservable(((t={subscribe:function(e){return{unsubscribe:o.listen((function(t){return e.next(t)}))}}})[u.a]=function(){return this},t));return{handler:o.emit,stream:n}}},ue=se(ne)},function(e,t,o){"use strict";e.exports=function(){}},function(e,t){var o=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return o.test(e)}},function(e,t,o){var n=o(135),c=o(104),r=o(477),a=o(72),i=o(111),l=o(87),s=Object.prototype.hasOwnProperty,u=r((function(e,t){if(i(t)||a(t))c(t,l(t),e);else for(var o in t)s.call(t,o)&&n(e,o,t[o])}));e.exports=u},function(e,t,o){"use strict";(e.exports={}).forEach=function(e,t){for(var o=0;o<e.length;o++){var n=t(e[o]);if(n)return n}}},function(e,t,o){"use strict";var n=e.exports={};n.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"),o=t.getElementsByTagName("i");do{t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e"}while(o[0]);return e>4?e:void 0}());var t},n.isLegacyOpera=function(){return!!window.opera}},function(e,t,o){var n=o(220),c=o(507),r=o(72);e.exports=function(e){return r(e)?n(e,!0):c(e)}},function(e,t,o){var n=o(158),c=o(191),r=o(163),a=o(219),i=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,r(e)),e=c(e);return t}:a;e.exports=i},function(e,t,o){var n=o(217),c=o(264),r=o(263);e.exports=function(e){return n(e,r,c)}},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 o=0,n=e.length;o<n&&!1!==t(e[o],o);o++);}}},function(e,t,o){var n=o(283),c=o(210)((function(e,t){return null==e?{}:n(e,t)}));e.exports=c},function(e,t,o){var n=o(213),c=o(137),r=o(113),a=Math.max;e.exports=function(e,t,o){var i=null==e?0:e.length;if(!i)return-1;var l=null==o?0:r(o);return l<0&&(l=a(i+l,0)),n(e,c(t,3),l)}},function(e,t){!function(){e.exports=this.wp.editPost}()},function(e,t,o){"use strict";var n=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!n.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},function(e,t,o){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r=Object.defineProperty,a=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,s=Object.getPrototypeOf,u=s&&s(Object);e.exports=function e(t,o,b){if("string"!=typeof o){if(u){var d=s(o);d&&d!==u&&e(t,d,b)}var p=a(o);i&&(p=p.concat(i(o)));for(var m=0;m<p.length;++m){var h=p[m];if(!(n[h]||c[h]||b&&b[h])){var f=l(o,h);try{r(t,h,f)}catch(e){}}}return t}return t}},function(e,t,o){"use strict";function n(e){var t,o=e.Symbol;return"function"==typeof o?o.observable?t=o.observable:(t=o("observable"),o.observable=t):t="@@observable",t}o.d(t,"a",(function(){return n}))},function(e,t,o){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r=Object.defineProperty,a=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,s=Object.getPrototypeOf,u=s&&s(Object);e.exports=function e(t,o,b){if("string"!=typeof o){if(u){var d=s(o);d&&d!==u&&e(t,d,b)}var p=a(o);i&&(p=p.concat(i(o)));for(var m=0;m<p.length;++m){var h=p[m];if(!(n[h]||c[h]||b&&b[h])){var f=l(o,h);try{r(t,h,f)}catch(e){}}}return t}return t}},function(e,t,o){var n="undefined"!=typeof window,c=n?window.Masonry||o(487):null,r=n?o(228):null,a=o(260),i=o(490),l=o(501),s=o(503),u=o(24),b=o(16),d=o(528),p={enableResizableChildren:u.bool,disableImagesLoaded:u.bool,onImagesLoaded:u.func,updateOnEachImageLoad:u.bool,options:u.object,imagesLoadedOptions:u.object,elementType:u.string,onLayoutComplete:u.func,onRemoveComplete:u.func},m=d({masonry:!1,erd:void 0,latestKnownDomChildren:[],displayName:"MasonryComponent",imagesLoadedCancelRef:void 0,propTypes:p,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 c(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 o=this.getCurrentDomChildren(),n=t.filter((function(e){return!~o.indexOf(e)})),c=o.filter((function(e){return!~t.indexOf(e)})),r=0,a=c.filter((function(e){var t=r===o.indexOf(e);return t&&r++,t})),i=c.filter((function(e){return-1===a.indexOf(e)})),l=[];return 0===n.length&&(l=t.filter((function(e,t){return t!==o.indexOf(e)}))),this.latestKnownDomChildren=o,{old:t,new:o,removed:n,appended:i,prepended:a,moved:l,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=l(function(e){this.props.onImagesLoaded&&this.props.onImagesLoaded(e),this.masonry.layout()}.bind(this),100),o=r(this.masonryContainer,this.props.imagesLoadedOptions).on(e,t);this.imagesLoadedCancelRef=function(){o.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=s(this.props,Object.keys(p));return b.createElement(this.props.elementType,a({},e,{ref:this.setRef}),this.props.children)}});e.exports=m,e.exports.default=m},function(e,t,o){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=((n=o(536))&&n.__esModule?n:{default:n}).default;t.default=c},function(e,t,o){var n=o(190),c=o(113);e.exports=function(e,t,o){var r=null==e?0:e.length;return r?(t=o||void 0===t?1:c(t),n(e,0,(t=r-t)<0?0:t)):[]}},function(e,t,o){"use strict";var n=o(7),c=o.n(n),r=o(8),a=o.n(r),i=o(9),l=o.n(i),s=o(10),u=o.n(s),b=o(6),d=o.n(b),p=o(0),m=o(11),h=o.n(m),f=o(5),g=o.n(f),v=o(2),y={};y.rotateLeft=Object(p.createElement)(v.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(p.createElement)(v.G,{fillRule:"nonzero"},Object(p.createElement)(v.Path,{d:"m16.6083333 6.05c-1.4583333-1.46666667-3.3833333-2.2-5.3-2.2v-2.7l-3.5333333 3.53333333 3.5333333 3.53333334v-2.7c1.4916667 0 2.9833334.56666666 4.125 1.70833333 2.275 2.275 2.275 5.975 0 8.25-1.1416666 1.1416667-2.6333333 1.7083333-4.125 1.7083333-.8083333 0-1.61666663-.175-2.36666663-.5083333l-1.24166667 1.2416667c1.125.6166666 2.3666667.9333333 3.6083333.9333333 1.9166667 0 3.8416667-.7333333 5.3-2.2 2.9333334-2.925 2.9333334-7.675 0-10.6z"}),Object(p.createElement)(v.Rect,{height:"7.629365",rx:"1",transform:"matrix(.70710678 .70710678 -.70710678 .70710678 9.898365 -1.366222)",width:"7.651147",x:"2.772785",y:"7.450591"}))),y.rotateRight=Object(p.createElement)(v.SVG,{height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},Object(p.createElement)(v.Path,{d:"m16.3991194 6.05c2.9333333 2.925 2.9333333 7.675 0 10.6-1.4583334 1.4666667-3.3833334 2.2-5.3 2.2-1.2416667 0-2.48333337-.3166667-3.60833337-.9333333l1.24166667-1.2416667c.75.3333333 1.5583333.5083333 2.3666667.5083333 1.4916666 0 2.9833333-.5666666 4.125-1.7083333 2.275-2.275 2.275-5.975 0-8.25-1.1416667-1.14166667-2.6333334-1.70833333-4.125-1.70833333v2.7l-3.53333337-3.53333334 3.53333337-3.53333333v2.7c1.9166666 0 3.8416666.73333333 5.3 2.2zm-9.31056951.51990318 3.99596431 3.99596432c.3905243.3905242.3905243 1.0236892 0 1.4142135l-3.98056251 3.9805625c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-3.99596427-3.9959643c-.3905243-.3905243-.3905243-1.0236893 0-1.4142135l3.98056247-3.98056252c.39052429-.39052429 1.02368927-.39052429 1.41421356 0z",transform:"matrix(-1 0 0 1 20 0)"}));var O=y,k=o(1);function _(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 o,n=d()(e);if(t){var c=d()(this).constructor;o=Reflect.construct(n,arguments,c)}else o=n.apply(this,arguments);return u()(this,o)}}var j=function(e){l()(o,e);var t=_(o);function o(e){var n;c()(this,o),n=t.call(this,e);var r=e.offsetX,a=e.offsetY,i=e.cropWidth,l=e.cropHeight,s=e.rotation;return n.state={x:r,y:a,w:i,h:l,r:s,midX:r+i/2,midY:a+l/2,containerWidth:0,aspectRatio:1,imageWidth:1e3,imageHeight:1e3},n.mouseDownListener=n.mouseDownListener.bind(h()(n)),n.mouseMoveListener=n.mouseMoveListener.bind(h()(n)),n.mouseUpListener=n.mouseUpListener.bind(h()(n)),n.handleMouseWheel=n.handleMouseWheel.bind(h()(n)),n.handleImageLoaded=n.handleImageLoaded.bind(h()(n)),n.imageContainer=Object(p.createRef)(),n.imageReference=Object(p.createRef)(),n.selectedAreaReference=Object(p.createRef)(),n}return a()(o,[{key:"componentDidMount",value:function(){this.setState({containerWidth:this.imageContainer.current.clientWidth-28}),this.selectedAreaReference.current.addEventListener("wheel",this.handleMouseWheel)}},{key:"componentWillUnmount",value:function(){this.selectedAreaReference.current.removeEventListener("wheel",this.handleMouseWheel)}},{key:"handleMouseWheel",value:function(e){e.preventDefault(),e.stopPropagation(),this.setNewZoom(this.getCurrentScale()-.3*e.deltaY,this.state.r)}},{key:"handleImageLoaded",value:function(){this.setState({aspectRatio:this.imageReference.current.naturalWidth/this.imageReference.current.naturalHeight,imageWidth:this.imageReference.current.naturalWidth,imageHeight:this.imageReference.current.naturalHeight})}},{key:"mouseDownListener",value:function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this.captureMouseEvents())}},{key:"captureMouseEvents",value:function(){document.addEventListener("mouseup",this.mouseUpListener,!0),document.addEventListener("mousemove",this.mouseMoveListener,!0)}},{key:"mouseMoveListener",value:function(e){e.preventDefault(),e.stopPropagation();var t=100/this.getCurrentScale();this.updateState((this.state.x-e.movementX*t).toFixed(2),(this.state.y-e.movementY*t).toFixed(2),this.state.w,this.state.h,this.state.r)}},{key:"mouseUpListener",value:function(e){e.preventDefault(),e.stopPropagation(),document.removeEventListener("mouseup",this.mouseUpListener,!0),document.removeEventListener("mousemove",this.mouseMoveListener,!0)}},{key:"applyRotation",value:function(e){e<0&&(e+=360),e%=360,this.setNewZoom(this.getCurrentScale(),e)}},{key:"getCurrentScale",value:function(){var e=90===this.state.r||270===this.state.r?this.state.aspectRatio:1;return 100*Math.min(Math.max(1,1/(this.state.w/e/e/100)),1/(this.state.h/100))}},{key:"updateState",value:function(e,t,o,n,c){var r=this.props.onChange;"string"==typeof e&&(e=parseFloat(e)),"string"==typeof t&&(t=parseFloat(t)),o>100&&(o=100),n>100&&(n=100),e+o>100&&(e=100-o),e<0&&(e=0),t+n>100&&(t=100-n),t<0&&(t=0),r&&r({x:e,y:t,w:o,h:n,r:c}),this.setState({x:e,y:t,w:o,h:n,r:c,midX:e+o/2,midY:t+n/2})}},{key:"resetControl",value:function(){this.setNewZoom(100,0)}},{key:"setNewZoom",value:function(e,t){e<100?e=100:e>1e3&&(e=1e3),e/=100;var o=90===t||270===t?this.state.aspectRatio:1,n=100*o*o/e,c=100/e,r=(this.state.midX-n/2).toFixed(2),a=(this.state.midY-c/2).toFixed(2);this.updateState(r,a,n,c,t)}},{key:"render",value:function(){var e,t,o,n,c=this,r=this,a=r.props.imageUrl,i=90===r.state.r||270===r.state.r?this.state.aspectRatio:1,l=Math.round(r.state.imageWidth*(this.state.w/100)/i)/Math.round(r.state.imageHeight*(this.state.h/100)*i);90===r.state.r||270===r.state.r?(e=1/(r.state.h/100)/l,t=1/(r.state.w/100)*l):(e=1/(r.state.w/100),t=1/(r.state.h/100)),90===r.state.r?(o=50-(r.state.y+r.state.h/2),n=-(50-(r.state.x+r.state.w/2))):180===r.state.r?(o=-(50-(r.state.x+r.state.w/2)),n=-(50-(r.state.y+r.state.h/2))):270===r.state.r?(o=-(50-(r.state.y+r.state.h/2)),n=50-(r.state.x+r.state.w/2)):(o=50-(r.state.x+r.state.w/2),n=50-(r.state.y+r.state.h/2));var s=g()("components-base-control","components-coblocks-image-control",{"is-zoomed":e>1}),u=g()("components-coblocks-offset-control","components-focal-point-picker_position-display-container"),b=Math.round(this.state.containerWidth/l),d={height:b+28+"px"},m={transform:"rotate("+this.state.r+"deg) scale("+e+", "+t+") translate("+o+"%, "+n+"%)",height:b+"px"};return Object(p.createElement)(p.Fragment,null,Object(p.createElement)("div",{ref:this.imageContainer,className:s,onMouseDown:this.mouseDownListener,style:d},Object(p.createElement)("div",null,Object(p.createElement)("img",{ref:this.imageReference,src:a,style:m,alt:Object(k.__)("Crop settings image placeholder","coblocks"),onLoad:this.handleImageLoaded})),Object(p.createElement)("div",{ref:this.selectedAreaReference},Object(p.createElement)("img",{src:a,style:m,alt:Object(k.__)("Crop settings image placeholder","coblocks")}))),Object(p.createElement)("div",{className:u},Object(p.createElement)(v.TextControl,{label:Object(k.__)("Horizontal pos.","coblocks"),value:r.state.x,type:"number",min:0,max:100,onChange:function(e){return c.updateState(e,r.state.y,r.state.w,r.state.h,r.state.r)}}),Object(p.createElement)(v.TextControl,{label:Object(k.__)("Vertical pos.","coblocks"),value:r.state.y,type:"number",min:0,max:100,onChange:function(e){return c.updateState(r.state.x,e,r.state.w,r.state.h,r.state.r)}})),Object(p.createElement)(v.RangeControl,{label:Object(k.__)("Image zoom","coblocks"),className:"components-coblocks-zoom-control",value:this.getCurrentScale(),onChange:function(e){return c.setNewZoom(e,r.state.r)},min:100,max:1e3}),Object(p.createElement)("p",null,Object(k.__)("Image orientation","coblocks")),Object(p.createElement)("div",{className:"components-coblocks-rotate-control"},Object(p.createElement)(v.ButtonGroup,null,Object(p.createElement)(v.IconButton,{isLarge:!0,isSecondary:!0,icon:O.rotateLeft,label:Object(k.__)("Rotate counter-clockwise","coblocks"),onClick:function(){return c.applyRotation(r.state.r-90)}}),Object(p.createElement)(v.IconButton,{isLarge:!0,isSecondary:!0,icon:O.rotateRight,label:Object(k.__)("Rotate clockwise","coblocks"),onClick:function(){return c.applyRotation(r.state.r+90)}})),Object(p.createElement)(v.Button,{type:"button",onClick:function(){return c.resetControl()},isSmall:!0,isSecondary:!0,"aria-label":Object(k.__)("Reset image cropping options","coblocks")},Object(k.__)("Reset","coblocks"))))}}]),o}(p.Component),w=o(195);function E(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 o,n=d()(e);if(t){var c=d()(this).constructor;o=Reflect.construct(n,arguments,c)}else o=n.apply(this,arguments);return u()(this,o)}}var C=function(e){l()(o,e);var t=E(o);function o(e){var n;return c()(this,o),(n=t.call(this,e)).state={imageUrl:"",id:null},n.cropControl=Object(p.createRef)(),n}return a()(o,[{key:"componentDidMount",value:function(){var e=this.props.attachmentId,t=this;e&&w.a.get(e).then((function(o){var n=o.url;t.setState({imageUrl:n,id:e}),o.crop||t.cropControl.current.resetControl()}))}},{key:"componentDidUpdate",value:function(e){var t=this.props.attachmentId,o=this;e.attachmentId&&o.state.id!==t&&w.a.get(t).then((function(e){var n=e.url,c=o.state.imageUrl;o.setState({imageUrl:n,id:t}),c!==o.state.imageUrl&&o.cropControl.current.resetControl()}))}},{key:"render",value:function(){var e=this.props,t=e.offsetX,o=e.offsetY,n=e.cropWidth,c=e.cropHeight,r=e.rotation,a=e.onChange;return Object(p.createElement)(j,{offsetX:t,offsetY:o,cropWidth:n,cropHeight:c,rotation:r,imageUrl:this.state.imageUrl,onChange:a,ref:this.cropControl})}}]),o}(p.Component);t.a=C},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var o=[],n=!0,c=!1,r=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done)&&(o.push(a.value),!t||o.length!==t);n=!0);}catch(e){c=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(c)throw r}}return o}}},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.")}},function(e,t){function o(t,n){return e.exports=o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(t,n)}e.exports=o},function(e,t){e.exports=function(e,t){if(null==e)return{};var o,n,c={},r=Object.keys(e);for(n=0;n<r.length;n++)o=r[n],t.indexOf(o)>=0||(c[o]=e[o]);return c}},function(e,t,o){var n=o(284),c=o(208);e.exports=function(e,t){return n(e,t,(function(t,o){return c(e,o)}))}},function(e,t,o){var n=o(126),c=o(312),r=o(93);e.exports=function(e,t,o){for(var a=-1,i=t.length,l={};++a<i;){var s=t[a],u=n(e,s);o(u,s)&&c(l,r(s,e),u)}return l}},function(e,t,o){var n=o(94),c=Object.prototype,r=c.hasOwnProperty,a=c.toString,i=n?n.toStringTag:void 0;e.exports=function(e){var t=r.call(e,i),o=e[i];try{e[i]=void 0;var n=!0}catch(e){}var c=a.call(e);return n&&(t?e[i]=o:delete e[i]),c}},function(e,t){var o=Object.prototype.toString;e.exports=function(e){return o.call(e)}},function(e,t,o){var n=o(288),c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(c,(function(e,o,n,c){t.push(n?c.replace(r,"$1"):o||e)})),t}));e.exports=a},function(e,t,o){var n=o(289);e.exports=function(e){var t=n(e,(function(e){return 500===o.size&&o.clear(),e})),o=t.cache;return t}},function(e,t,o){var n=o(155);function c(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var o=function(){var n=arguments,c=t?t.apply(this,n):n[0],r=o.cache;if(r.has(c))return r.get(c);var a=e.apply(this,n);return o.cache=r.set(c,a)||r,a};return o.cache=new(c.Cache||n),o}c.Cache=n,e.exports=c},function(e,t,o){var n=o(291),c=o(130),r=o(156);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(r||c),string:new n}}},function(e,t,o){var n=o(292),c=o(297),r=o(298),a=o(299),i=o(300);function l(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=c,l.prototype.get=r,l.prototype.has=a,l.prototype.set=i,e.exports=l},function(e,t,o){var n=o(128);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t,o){var n=o(129),c=o(294),r=o(52),a=o(204),i=/^\[object .+?Constructor\]$/,l=Function.prototype,s=Object.prototype,u=l.toString,b=s.hasOwnProperty,d=RegExp("^"+u.call(b).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||c(e))&&(n(e)?d:i).test(a(e))}},function(e,t,o){var n,c=o(295),r=(n=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!r&&r in e}},function(e,t,o){var n=o(39)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},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,o){var n=o(128),c=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var o=t[e];return"__lodash_hash_undefined__"===o?void 0:o}return c.call(t,e)?t[e]:void 0}},function(e,t,o){var n=o(128),c=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:c.call(t,e)}},function(e,t,o){var n=o(128);e.exports=function(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,o){var n=o(131),c=Array.prototype.splice;e.exports=function(e){var t=this.__data__,o=n(t,e);return!(o<0)&&(o==t.length-1?t.pop():c.call(t,o,1),--this.size,!0)}},function(e,t,o){var n=o(131);e.exports=function(e){var t=this.__data__,o=n(t,e);return o<0?void 0:t[o][1]}},function(e,t,o){var n=o(131);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,o){var n=o(131);e.exports=function(e,t){var o=this.__data__,c=n(o,e);return c<0?(++this.size,o.push([e,t])):o[c][1]=t,this}},function(e,t,o){var n=o(133);e.exports=function(e){var t=n(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,o){var n=o(133);e.exports=function(e){return n(this,e).get(e)}},function(e,t,o){var n=o(133);e.exports=function(e){return n(this,e).has(e)}},function(e,t,o){var n=o(133);e.exports=function(e,t){var o=n(this,e),c=o.size;return o.set(e,t),this.size+=o.size==c?0:1,this}},function(e,t,o){var n=o(94),c=o(134),r=o(29),a=o(127),i=n?n.prototype:void 0,l=i?i.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(r(t))return c(t,e)+"";if(a(t))return l?l.call(t):"";var o=t+"";return"0"==o&&1/t==-1/0?"-0":o}},function(e,t,o){var n=o(135),c=o(93),r=o(109),a=o(52),i=o(96);e.exports=function(e,t,o,l){if(!a(e))return e;for(var s=-1,u=(t=c(t,e)).length,b=u-1,d=e;null!=d&&++s<u;){var p=i(t[s]),m=o;if(s!=b){var h=d[p];void 0===(m=l?l(h,p,d):void 0)&&(m=a(h)?h:r(t[s+1])?[]:{})}n(d,p,m),d=d[p]}return e}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,o){var n=o(85),c=o(57);e.exports=function(e){return c(e)&&"[object Arguments]"==n(e)}},function(e,t,o){var n=o(316);e.exports=function(e){return(null==e?0:e.length)?n(e,1):[]}},function(e,t,o){var n=o(158),c=o(317);e.exports=function e(t,o,r,a,i){var l=-1,s=t.length;for(r||(r=c),i||(i=[]);++l<s;){var u=t[l];o>0&&r(u)?o>1?e(u,o-1,r,a,i):n(i,u):a||(i[i.length]=u)}return i}},function(e,t,o){var n=o(94),c=o(136),r=o(29),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return r(e)||c(e)||!!(a&&e&&e[a])}},function(e,t,o){var n=o(319),c=o(207),r=o(110),a=c?function(e,t){return c(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:r;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,o){var n=o(321),c=o(343),r=o(226);e.exports=function(e){var t=c(e);return 1==t.length&&t[0][2]?r(t[0][0],t[0][1]):function(o){return o===e||n(o,e,t)}}},function(e,t,o){var n=o(161),c=o(162);e.exports=function(e,t,o,r){var a=o.length,i=a,l=!r;if(null==e)return!i;for(e=Object(e);a--;){var s=o[a];if(l&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<i;){var u=(s=o[a])[0],b=e[u],d=s[1];if(l&&s[2]){if(void 0===b&&!(u in e))return!1}else{var p=new n;if(r)var m=r(b,d,u,e,t,p);if(!(void 0===m?c(d,b,3,r,p):m))return!1}}return!0}},function(e,t,o){var n=o(130);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}},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,o){var n=o(130),c=o(156),r=o(155);e.exports=function(e,t){var o=this.__data__;if(o instanceof n){var a=o.__data__;if(!c||a.length<199)return a.push([e,t]),this.size=++o.size,this;o=this.__data__=new r(a)}return o.set(e,t),this.size=o.size,this}},function(e,t,o){var n=o(161),c=o(214),r=o(333),a=o(336),i=o(112),l=o(29),s=o(138),u=o(165),b="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,o,p,m,h){var f=l(e),g=l(t),v=f?"[object Array]":i(e),y=g?"[object Array]":i(t),O=(v="[object Arguments]"==v?b:v)==b,k=(y="[object Arguments]"==y?b:y)==b,_=v==y;if(_&&s(e)){if(!s(t))return!1;f=!0,O=!1}if(_&&!O)return h||(h=new n),f||u(e)?c(e,t,o,p,m,h):r(e,t,v,o,p,m,h);if(!(1&o)){var j=O&&d.call(e,"__wrapped__"),w=k&&d.call(t,"__wrapped__");if(j||w){var E=j?e.value():e,C=w?t.value():t;return h||(h=new n),m(E,C,o,p,h)}}return!!_&&(h||(h=new n),a(e,t,o,p,m,h))}},function(e,t,o){var n=o(155),c=o(329),r=o(330);function a(e){var t=-1,o=null==e?0:e.length;for(this.__data__=new n;++t<o;)this.add(e[t])}a.prototype.add=a.prototype.push=c,a.prototype.has=r,e.exports=a},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 o=-1,n=null==e?0:e.length;++o<n;)if(t(e[o],o,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,o){var n=o(94),c=o(215),r=o(132),a=o(214),i=o(334),l=o(335),s=n?n.prototype:void 0,u=s?s.valueOf:void 0;e.exports=function(e,t,o,n,s,b,d){switch(o){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 c(e),new c(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 p=i;case"[object Set]":var m=1&n;if(p||(p=l),e.size!=t.size&&!m)return!1;var h=d.get(e);if(h)return h==t;n|=2,d.set(e,t);var f=a(p(e),p(t),n,s,b,d);return d.delete(e),f;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,o=Array(e.size);return e.forEach((function(e,n){o[++t]=[n,e]})),o}},function(e,t){e.exports=function(e){var t=-1,o=Array(e.size);return e.forEach((function(e){o[++t]=e})),o}},function(e,t,o){var n=o(216),c=Object.prototype.hasOwnProperty;e.exports=function(e,t,o,r,a,i){var l=1&o,s=n(e),u=s.length;if(u!=n(t).length&&!l)return!1;for(var b=u;b--;){var d=s[b];if(!(l?d in t:c.call(t,d)))return!1}var p=i.get(e);if(p&&i.get(t))return p==t;var m=!0;i.set(e,t),i.set(t,e);for(var h=l;++b<u;){var f=e[d=s[b]],g=t[d];if(r)var v=l?r(g,f,d,t,e,i):r(f,g,d,e,t,i);if(!(void 0===v?f===g||a(f,g,o,r,i):v)){m=!1;break}h||(h="constructor"==d)}if(m&&!h){var y=e.constructor,O=t.constructor;y==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof O&&O instanceof O||(m=!1)}return i.delete(e),i.delete(t),m}},function(e,t){e.exports=function(){return!1}},function(e,t,o){var n=o(85),c=o(157),r=o(57),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&c(e.length)&&!!a[n(e)]}},function(e,t,o){var n=o(223)(Object.keys,Object);e.exports=n},function(e,t,o){var n=o(86)(o(39),"DataView");e.exports=n},function(e,t,o){var n=o(86)(o(39),"Promise");e.exports=n},function(e,t,o){var n=o(86)(o(39),"Set");e.exports=n},function(e,t,o){var n=o(225),c=o(87);e.exports=function(e){for(var t=c(e),o=t.length;o--;){var r=t[o],a=e[r];t[o]=[r,a,n(a)]}return t}},function(e,t,o){var n=o(162),c=o(43),r=o(208),a=o(154),i=o(225),l=o(226),s=o(96);e.exports=function(e,t){return a(e)&&i(t)?l(s(e),t):function(o){var a=c(o,e);return void 0===a&&a===t?r(o,e):n(t,a,3)}}},function(e,t,o){var n=o(346),c=o(347),r=o(154),a=o(96);e.exports=function(e){return r(e)?n(a(e)):c(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,o){var n=o(126);e.exports=function(e){return function(t){return n(t,e)}}},function(e,t,o){var n=o(168);e.exports=function(e){return e?(e=n(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,o){"use strict";(function(e){var t=o(0),n=o(18),c=o.n(n),r=o(277),a=o(13),i=o(3),l=o(2),s=o(21),u=o(1),b=["core/image","core/cover"],d={updateDebounce:c.a.debounce((function(e){e()}),250),loadingCount:0,editing:!1},p=Object(a.createHigherOrderComponent)((function(o){return function(n){if(!b.includes(n.name))return Object(t.createElement)(o,n);var a=n.attributes,s=n.setAttributes,p=a.cropX,m=a.cropY,h=a.cropWidth,f=a.cropHeight,g=a.cropRotation,v=c.a.extend({},a);if(!v.id)return Object(t.createElement)(o,n);if("video"===v.backgroundType)return Object(t.createElement)(o,n);var y=function(e){return e||(e=""),e=e.replace(/ ?is-cropping/g,"")},O=function(){d.editing=!1,++d.loadingCount,fetch(e.ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:["action=".concat("coblocks_crop_settings"),"nonce=".concat(coblocksBlockData.cropSettingsNonce),"id=".concat(v.id),"cropX=".concat(v.cropX),"cropY=".concat(v.cropY),"cropWidth=".concat(v.cropWidth),"cropHeight=".concat(v.cropHeight),"cropRotation=".concat(v.cropRotation)].join("&")}).then((function(e){return e.json()})).then((function(e){--d.loadingCount;var t=e.data;if(t&&!(d.loadingCount>0||d.editing)){var o=y(v.className);s({id:t.id,url:t.url,className:""!==o?o:null})}}))};return Object(t.createElement)(t.Fragment,null,Object(t.createElement)(o,n),Object(t.createElement)(i.InspectorControls,null,Object(t.createElement)(l.PanelBody,{title:Object(u.__)("Crop settings","coblocks"),initialOpen:!1},Object(t.createElement)(r.a,{attachmentId:v.id,offsetX:p,offsetY:m,cropWidth:h,cropHeight:f,rotation:g,onChange:function(e){return t={cropX:e.x,cropY:e.y,cropWidth:e.w,cropHeight:e.h,cropRotation:e.r},o=c.a.reduce(t,(function(e,t,o){return e||!c.a.isEqual(t,v[o])}),!1),d.editing=!0,o&&(t.className=y(v.className)+" is-cropping"),s(t),v=c.a.extend({},v,t),void d.updateDebounce(O);var t,o}}))))}}),"positioningControl");Object(s.addFilter)("blocks.registerBlockType","coblocks/imagePositioning/attributes",(function(e,t){return b.includes(t)?(e.attributes=Object(n.assign)(e.attributes,{cropX:{type:"number",default:0},cropY:{type:"number",default:0},cropWidth:{type:"number",default:100},cropHeight:{type:"number",default:100},cropRotation:{type:"number",default:0}}),e):e})),Object(s.addFilter)("editor.BlockEdit","coblocks/positioning",p)}).call(this,o(95))},function(e,t,o){},function(e,t,o){},function(e,t,o){var n=o(139);e.exports=function(e,t){var o=[];return n(e,(function(e,n,c){t(e,n,c)&&o.push(e)})),o}},function(e,t,o){var n=o(354),c=o(87);e.exports=function(e,t){return e&&n(e,t,c)}},function(e,t,o){var n=o(355)();e.exports=n},function(e,t){e.exports=function(e){return function(t,o,n){for(var c=-1,r=Object(t),a=n(t),i=a.length;i--;){var l=a[e?i:++c];if(!1===o(r[l],l,r))break}return t}}},function(e,t,o){var n=o(72);e.exports=function(e,t){return function(o,c){if(null==o)return o;if(!n(o))return e(o,c);for(var r=o.length,a=t?r:-1,i=Object(o);(t?a--:++a<r)&&!1!==c(i[a],a,i););return o}}},function(e,t,o){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),c={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=c},function(e,t,o){"use strict";var n=o(359);function c(){}function r(){}r.resetWarningCache=c,e.exports=function(){function e(e,t,o,c,r,a){if(a!==n){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 o={array: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:c};return o.PropTypes=o,o}},function(e,t,o){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,o){var n,c,r;
22
  /*!
23
  * Flickity v2.2.1
24
  * Touch, responsive, flickable carousels
55
  object-assign
56
  (c) Sindre Sorhus
57
  @license MIT