Gutenberg Blocks and Template Library by Otter - Version 1.3.1

Version Description

  • 2019-12-03
Download this release

Release Info

Developer themeisle
Plugin Icon wp plugin Gutenberg Blocks and Template Library by Otter
Version 1.3.1
Comparing to
See all releases

Code changes from version 1.3.0 to 1.3.1

Files changed (35) hide show
  1. CHANGELOG.md +5 -0
  2. otter-blocks.php +3 -2
  3. readme.md +11 -4
  4. readme.txt +11 -4
  5. vendor/autoload.php +1 -1
  6. vendor/codeinwp/gutenberg-animation/build/build.js +1 -1
  7. vendor/codeinwp/gutenberg-animation/class-gutenberg-animation.php +24 -0
  8. vendor/codeinwp/gutenberg-animation/load.php +1 -1
  9. vendor/codeinwp/gutenberg-animation/src/editor.js +13 -11
  10. vendor/codeinwp/gutenberg-blocks/assets/glide/glide.core.min.css +1 -0
  11. vendor/codeinwp/gutenberg-blocks/assets/glide/glide.min.js +6 -0
  12. vendor/codeinwp/gutenberg-blocks/assets/glide/glide.theme.min.css +1 -0
  13. vendor/codeinwp/gutenberg-blocks/build/blocks.js +1 -1
  14. vendor/codeinwp/gutenberg-blocks/build/chunk-1.js +1 -1
  15. vendor/codeinwp/gutenberg-blocks/build/chunk-vendor.js +1 -1
  16. vendor/codeinwp/gutenberg-blocks/build/edit-blocks.css +2 -0
  17. vendor/codeinwp/gutenberg-blocks/build/frontend.js +0 -1
  18. vendor/codeinwp/gutenberg-blocks/build/maps.js +1 -0
  19. vendor/codeinwp/gutenberg-blocks/build/slider.js +1 -0
  20. vendor/codeinwp/gutenberg-blocks/build/style.css +2 -0
  21. vendor/codeinwp/gutenberg-blocks/inc/class-base-css.php +11 -1
  22. vendor/codeinwp/gutenberg-blocks/inc/class-gutenberg-blocks.php +57 -2
  23. vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php +6 -1
  24. vendor/codeinwp/gutenberg-blocks/load.php +1 -1
  25. vendor/codeinwp/gutenberg-blocks/src/frontend/google-map/{loader.js → index.js} +0 -0
  26. vendor/codeinwp/gutenberg-blocks/src/frontend/slider/index.js +28 -0
  27. vendor/codeinwp/gutenberg-blocks/webpack.config.js +5 -2
  28. vendor/codeinwp/gutenberg-css/class-gutenberg-css.php +25 -0
  29. vendor/codeinwp/gutenberg-css/load.php +1 -1
  30. vendor/codeinwp/themeisle-sdk/CHANGELOG.md +15 -0
  31. vendor/codeinwp/themeisle-sdk/load.php +1 -1
  32. vendor/codeinwp/themeisle-sdk/src/Modules/Licenser.php +3 -1
  33. vendor/codeinwp/themeisle-sdk/src/Modules/Review.php +1 -1
  34. vendor/composer/autoload_real.php +5 -5
  35. vendor/composer/installed.json +16 -16
CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
2
### v1.3.0 - 2019-11-05
3
**Changes:**
4
* Lazy load Font Awesome Picker to improve load time.
1
2
+ ### v1.3.1 - 2019-12-03
3
+ **Changes:**
4
+ * - Added Slider Block
5
+ * - Fixed issue with extensions failing with ServerSideRenderer
6
+
7
### v1.3.0 - 2019-11-05
8
**Changes:**
9
* Lazy load Font Awesome Picker to improve load time.
otter-blocks.php CHANGED
@@ -3,7 +3,7 @@
3
* Plugin Name: Gutenberg Blocks and Template Library by Otter
4
* Plugin URI: https://themeisle.com/plugins/otter-blocks
5
* Description: Create beautiful and attracting posts, pages, and landing pages with Gutenberg Blocks and Template Library by Otter. Otter comes with dozens of Gutenberg blocks that are all you need to build beautiful pages.
6
- * Version: 1.3.0
7
* Author: ThemeIsle
8
* Author URI: https://themeisle.com
9
* License: GPL-2.0+
@@ -22,7 +22,7 @@ if ( ! defined( 'WPINC' ) ) {
22
define( 'OTTER_BLOCKS_BASEFILE', __FILE__ );
23
define( 'OTTER_BLOCKS_URL', plugins_url( '/', __FILE__ ) );
24
define( 'OTTER_BLOCKS_PATH', dirname( __FILE__ ) );
25
- define( 'OTTER_BLOCKS_VERSION', '1.3.0' );
26
define( 'OTTER_BLOCKS_DEV', false );
27
28
$vendor_file = OTTER_BLOCKS_PATH . '/vendor/autoload.php';
@@ -40,6 +40,7 @@ add_action(
40
}
41
}
42
);
43
add_filter(
44
'themeisle_sdk_products',
45
function ( $products ) {
3
* Plugin Name: Gutenberg Blocks and Template Library by Otter
4
* Plugin URI: https://themeisle.com/plugins/otter-blocks
5
* Description: Create beautiful and attracting posts, pages, and landing pages with Gutenberg Blocks and Template Library by Otter. Otter comes with dozens of Gutenberg blocks that are all you need to build beautiful pages.
6
+ * Version: 1.3.1
7
* Author: ThemeIsle
8
* Author URI: https://themeisle.com
9
* License: GPL-2.0+
22
define( 'OTTER_BLOCKS_BASEFILE', __FILE__ );
23
define( 'OTTER_BLOCKS_URL', plugins_url( '/', __FILE__ ) );
24
define( 'OTTER_BLOCKS_PATH', dirname( __FILE__ ) );
25
+ define( 'OTTER_BLOCKS_VERSION', '1.3.1' );
26
define( 'OTTER_BLOCKS_DEV', false );
27
28
$vendor_file = OTTER_BLOCKS_PATH . '/vendor/autoload.php';
40
}
41
}
42
);
43
+
44
add_filter(
45
'themeisle_sdk_products',
46
function ( $products ) {
readme.md CHANGED
@@ -2,7 +2,7 @@
2
**Contributors:** [themeisle](https://profiles.wordpress.org/themeisle), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani)
3
**Tags:** gutenberg blocks, gutenberg, block,post grid block, google map block, columns block, advanced columns, section, row, layout
4
**Requires at least:** 5.0
5
- **Tested up to:** 5.2
6
**Requires PHP:** 5.4
7
**Stable tag:** trunk
8
**License:** GPLv3
@@ -26,13 +26,14 @@ It has:
26
27
- Section Block
28
- Advanced Heading Block
29
- - Button Group
30
- Service Block
31
- Pricing Block
32
- Testimonial Block
33
- - Google Maps Block
34
- About Author Block
35
- - Post Grid Block
36
- Font Awesome Block
37
- Sharing Icons Block
38
- Plugin Card Block
@@ -44,6 +45,12 @@ It has:
44
3. Posts Block
45
46
## Changelog ##
47
### 1.3.0 - 2019-11-05 ###
48
49
* Lazy load Font Awesome Picker to improve load time.
2
**Contributors:** [themeisle](https://profiles.wordpress.org/themeisle), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani)
3
**Tags:** gutenberg blocks, gutenberg, block,post grid block, google map block, columns block, advanced columns, section, row, layout
4
**Requires at least:** 5.0
5
+ **Tested up to:** 5.3
6
**Requires PHP:** 5.4
7
**Stable tag:** trunk
8
**License:** GPLv3
26
27
- Section Block
28
- Advanced Heading Block
29
+ - Button Group Block
30
+ - Slider Block
31
+ - Google Maps Block
32
+ - Post Grid Block
33
- Service Block
34
- Pricing Block
35
- Testimonial Block
36
- About Author Block
37
- Font Awesome Block
38
- Sharing Icons Block
39
- Plugin Card Block
45
3. Posts Block
46
47
## Changelog ##
48
+ ### 1.3.1 - 2019-12-03 ###
49
+
50
+ * - Added Slider Block
51
+ * - Fixed issue with extensions failing with ServerSideRenderer
52
+
53
+
54
### 1.3.0 - 2019-11-05 ###
55
56
* Lazy load Font Awesome Picker to improve load time.
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
Contributors: themeisle, hardeepasrani
3
Tags: gutenberg blocks, gutenberg, block,post grid block, google map block, columns block, advanced columns, section, row, layout
4
Requires at least: 5.0
5
- Tested up to: 5.2
6
Requires PHP: 5.4
7
Stable tag: trunk
8
License: GPLv3
@@ -26,13 +26,14 @@ It has:
26
27
- Section Block
28
- Advanced Heading Block
29
- - Button Group
30
- Service Block
31
- Pricing Block
32
- Testimonial Block
33
- - Google Maps Block
34
- About Author Block
35
- - Post Grid Block
36
- Font Awesome Block
37
- Sharing Icons Block
38
- Plugin Card Block
@@ -44,6 +45,12 @@ It has:
44
3. Posts Block
45
46
== Changelog ==
47
= 1.3.0 - 2019-11-05 =
48
49
* Lazy load Font Awesome Picker to improve load time.
2
Contributors: themeisle, hardeepasrani
3
Tags: gutenberg blocks, gutenberg, block,post grid block, google map block, columns block, advanced columns, section, row, layout
4
Requires at least: 5.0
5
+ Tested up to: 5.3
6
Requires PHP: 5.4
7
Stable tag: trunk
8
License: GPLv3
26
27
- Section Block
28
- Advanced Heading Block
29
+ - Button Group Block
30
+ - Slider Block
31
+ - Google Maps Block
32
+ - Post Grid Block
33
- Service Block
34
- Pricing Block
35
- Testimonial Block
36
- About Author Block
37
- Font Awesome Block
38
- Sharing Icons Block
39
- Plugin Card Block
45
3. Posts Block
46
47
== Changelog ==
48
+ = 1.3.1 - 2019-12-03 =
49
+
50
+ * - Added Slider Block
51
+ * - Fixed issue with extensions failing with ServerSideRenderer
52
+
53
+
54
= 1.3.0 - 2019-11-05 =
55
56
* Lazy load Font Awesome Picker to improve load time.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
5
require_once __DIR__ . '/composer' . '/autoload_real.php';
6
7
- return ComposerAutoloaderInite9e5b5f920d8a6816f8778d06d87ccc5::getLoader();
4
5
require_once __DIR__ . '/composer' . '/autoload_real.php';
6
7
+ return ComposerAutoloaderInit2864116ac88c85ad8ea0509c523b5710::getLoader();
vendor/codeinwp/gutenberg-animation/build/build.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function a(l){if(t[l])return t[l].exports;var n=t[l]={i:l,l:!1,exports:{}};return e[l].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(l,n,function(t){return e[t]}.bind(null,n));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=1)}([,function(e,t,a){"use strict";a.r(t);var l=wp.i18n.__,n=[{label:l("None"),value:"none"},{label:l("Bounce"),value:"bounce"},{label:l("Flash"),value:"flash"},{label:l("Pulse"),value:"pulse"},{label:l("Rubber Band"),value:"rubberBand"},{label:l("Shake"),value:"shake"},{label:l("Head Shake"),value:"headShake"},{label:l("Swing"),value:"swing"},{label:l("TaDa"),value:"tada"},{label:l("Wobble"),value:"wobble"},{label:l("Jello"),value:"jello"},{label:l("Heart Beat"),value:"heartBeat"},{label:l("Hinge"),value:"hinge"},{label:l("Jack In The Box"),value:"jackInTheBox"},{label:l("Bounce In"),value:"bounceIn"},{label:l("Bounce In Down"),value:"bounceInDown"},{label:l("Bounce In Left"),value:"bounceInLeft"},{label:l("Bounce In Right"),value:"bounceInRight"},{label:l("Bounce In Up"),value:"bounceInUp"},{label:l("Bounce Out"),value:"bounceOut"},{label:l("Bounce Out Down"),value:"bounceOutDown"},{label:l("Bounce Out Left"),value:"bounceOutLeft"},{label:l("Bounce Out Right"),value:"bounceOutRight"},{label:l("Bounce Out Up"),value:"bounceOutUp"},{label:l("Fade In"),value:"fadeIn"},{label:l("Fade In Down"),value:"fadeInDown"},{label:l("Fade In Down Big"),value:"fadeInDownBig"},{label:l("Fade In Left"),value:"fadeInLeft"},{label:l("Fade In Left Big"),value:"fadeInLeftBig"},{label:l("Fade In Right"),value:"fadeInRight"},{label:l("Fade In Left Big"),value:"fadeInRightBig"},{label:l("Fade In Up"),value:"fadeInUp"},{label:l("Fade Out"),value:"fadeOut"},{label:l("Fade Out Down"),value:"fadeOutDown"},{label:l("Fade Out Down Big"),value:"fadeOutDownBig"},{label:l("Fade Out Left"),value:"fadeOutLeft"},{label:l("Fade Out Left Big"),value:"fadeOutLeftBig"},{label:l("Fade Out Right"),value:"fadeOutRight"},{label:l("Fade In Left Big"),value:"fadeOutRightBig"},{label:l("Fade Out Up"),value:"fadeOutUp"},{label:l("Fade Out Up Big"),value:"fadeOutUpBig"},{label:l("Flip"),value:"flip"},{label:l("Flip In X"),value:"flipInX"},{label:l("Flip In Y"),value:"flipInY"},{label:l("Flip Out X"),value:"flipOutX"},{label:l("Flip Out Y"),value:"flipOutY"},{label:l("Light Speed In"),value:"lightSpeedIn"},{label:l("Light Speed Out"),value:"lightSpeedOut"},{label:l("Rotate In"),value:"rotateIn"},{label:l("Rotate In Down Left"),value:"rotateInDownLeft"},{label:l("Rotate In Down Right"),value:"rotateInDownRight"},{label:l("Rotate In Up Left"),value:"rotateInUpLeft"},{label:l("Rotate In Up Right"),value:"rotateInUpRight"},{label:l("Rotate Out"),value:"rotateOut"},{label:l("Rotate Out Down Left"),value:"rotateOutDownLeft"},{label:l("Rotate Out Down Right"),value:"rotateOutDownRight"},{label:l("Rotate Out Up Left"),value:"rotateOutUpLeft"},{label:l("Rotate Out Up Right"),value:"rotateOutUpRight"},{label:l("Slide In Down"),value:"slideInDown"},{label:l("Slide In Left"),value:"slideInLeft"},{label:l("Slide In Right"),value:"slideInRight"},{label:l("Slide In Up"),value:"slideInUp"},{label:l("Slide Out Down"),value:"slideOutDown"},{label:l("Slide Out Left"),value:"slideOutLeft"},{label:l("Slide Out Right"),value:"slideOutRight"},{label:l("Slide Out Up"),value:"slideOutUp"},{label:l("Zoom In"),value:"zoomIn"},{label:l("Zoom In Down"),value:"zoomInDown"},{label:l("Zoom In Left"),value:"zoomInLeft"},{label:l("Zoom In Right"),value:"zoomInRight"},{label:l("Zoom In Up"),value:"zoomInUp"},{label:l("Zoom Out"),value:"zoomOut"},{label:l("Zoom Out Down"),value:"zoomOutDown"},{label:l("Zoom Out Left"),value:"zoomOutLeft"},{label:l("Zoom Out Right"),value:"zoomOutRight"},{label:l("Zoom Out Up"),value:"zoomOutUp"},{label:l("Roll In"),value:"rollIn"},{label:l("Roll Out"),value:"rollOut"}],o=["bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","flipOutX","flipOutY","lightSpeedOut","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollOut"],u=[{label:l("Default"),value:"none"},{label:l("Two Second"),value:"delay-2s"},{label:l("Three Second"),value:"delay-3s"},{label:l("Four Second"),value:"delay-4s"},{label:l("Five Second"),value:"delay-5s"}],i=[{label:l("Default"),value:"none"},{label:l("Slow"),value:"slow"},{label:l("Slower"),value:"slower"},{label:l("Fast"),value:"fast"},{label:l("Faster"),value:"faster"}];function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t,a,l,n,o,u){try{var i=e[o](u),r=i.value}catch(e){return void a(e)}i.done?t(r):Promise.resolve(r).then(l,n)}function p(e,t){for(var a=0;a<t.length;a++){var l=t[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=wp.i18n.__,v=wp.components.SelectControl,m=wp.element,h=m.Component,O=m.Fragment,g=function(e){function t(){var e,a,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(e=!(l=c(t).apply(this,arguments))||"object"!==r(l)&&"function"!=typeof l?f(a):l).updateAnimation=e.updateAnimation.bind(f(e)),e.updateDelay=e.updateDelay.bind(f(e)),e.updateSpeed=e.updateSpeed.bind(f(e)),e.state={animation:"none",delay:"default",speed:"default"},e}var a,l,m,h,g;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),a=t,(l=[{key:"componentDidMount",value:function(){var e;if(this.props.attributes.className){e=(e=this.props.attributes.className).split(" ");var t=Array.from(n).find((function(t){return e.find((function(e){return e===t.value}))})),a=Array.from(u).find((function(t){return e.find((function(e){return e===t.value}))})),l=Array.from(i).find((function(t){return e.find((function(e){return e===t.value}))}));this.setState({animation:t?t.value:"none",delay:a?a.value:"default",speed:l?l.value:"default"})}}},{key:"updateAnimation",value:(h=regeneratorRuntime.mark((function e(t){var a,l,n,u,i=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l="none"!==t?t:"",this.props.attributes.className?(a=(a=this.props.attributes.className).split(" "),n=a.find((function(e){return e===i.state.animation})),a.find((function(e){return"animated"===e}))||a.push("animated"),n?a=a.join(" ").replace(this.state.animation,l):(a.push(l),a=a.join(" "))):a="animated ".concat(l),"none"===t&&(a=a.replace("animated","").replace(this.state.delay,"").replace(this.state.speed,""),this.setState({delay:"default",speed:"defualt"})),a=a.replace(/\s+/g," "),this.setState({animation:t}),e.next=7,this.props.setAttributes({className:a});case 7:u=document.querySelector("#block-".concat(this.props.clientId," .animated")),o.forEach((function(e){u.className.includes(e)&&u.addEventListener("animationend",(function(){u.classList.remove(e),u.addEventListener("animationstart",(function(){u.classList.remove(e)}))}))}));case 9:case"end":return e.stop()}}),e,this)})),g=function(){var e=this,t=arguments;return new Promise((function(a,l){var n=h.apply(e,t);function o(e){s(n,a,l,o,u,"next",e)}function u(e){s(n,a,l,o,u,"throw",e)}o(void 0)}))},function(e){return g.apply(this,arguments)})},{key:"updateDelay",value:function(e){var t,a=this,l="none"!==e?e:"";this.props.attributes.className?(t=(t=this.props.attributes.className).split(" ")).find((function(e){return e===a.state.delay}))?t=t.join(" ").replace(this.state.delay,l):(t.push(l),t=t.join(" ")):t=l,t=t.replace(/\s+/g," "),this.setState({delay:e}),this.props.setAttributes({className:t})}},{key:"updateSpeed",value:function(e){var t,a=this,l="none"!==e?e:"";this.props.attributes.className?(t=(t=this.props.attributes.className).split(" ")).find((function(e){return e===a.state.speed}))?t=t.join(" ").replace(this.state.speed,l):(t.push(l),t=t.join(" ")):t=l,t=t.replace(/\s+/g," "),this.setState({speed:e}),this.props.setAttributes({className:t})}},{key:"render",value:function(){return wp.element.createElement(O,null,wp.element.createElement(v,{label:b("Animation"),value:this.state.animation||"none",options:n,onChange:this.updateAnimation}),"none"!==this.state.animation&&wp.element.createElement(O,null,wp.element.createElement(v,{label:b("Delay"),value:this.state.delay||"default",options:u,onChange:this.updateDelay}),wp.element.createElement(v,{label:b("Speed"),value:this.state.speed||"default",options:i,onChange:this.updateSpeed})))}}])&&p(a.prototype,l),m&&p(a,m),t}(h),w=wp.i18n.__,I=wp.blocks.hasBlockSupport,y=wp.components.PanelBody,R=wp.compose.createHigherOrderComponent,S=(wp.blockEditor||wp.editor).InspectorControls,D=wp.element.Fragment;(0,wp.hooks.addFilter)("editor.BlockEdit","themeisle-custom-css/with-inspector-controls",R((function(e){return function(t){return I(t.name,"customClassName",!0)&&t.isSelected?wp.element.createElement(D,null,wp.element.createElement(e,t),wp.element.createElement(S,null,wp.element.createElement(y,{title:w("Animations"),initialOpen:!1},wp.element.createElement(g,{clientId:t.clientId,setAttributes:t.setAttributes,attributes:t.attributes})))):wp.element.createElement(e,t)}}),"withInspectorControl"))}]);
1
+ !function(e){var t={};function a(l){if(t[l])return t[l].exports;var n=t[l]={i:l,l:!1,exports:{}};return e[l].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(l,n,function(t){return e[t]}.bind(null,n));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=1)}([,function(e,t,a){"use strict";a.r(t);var l=wp.i18n.__,n=[{label:l("None"),value:"none"},{label:l("Bounce"),value:"bounce"},{label:l("Flash"),value:"flash"},{label:l("Pulse"),value:"pulse"},{label:l("Rubber Band"),value:"rubberBand"},{label:l("Shake"),value:"shake"},{label:l("Head Shake"),value:"headShake"},{label:l("Swing"),value:"swing"},{label:l("TaDa"),value:"tada"},{label:l("Wobble"),value:"wobble"},{label:l("Jello"),value:"jello"},{label:l("Heart Beat"),value:"heartBeat"},{label:l("Hinge"),value:"hinge"},{label:l("Jack In The Box"),value:"jackInTheBox"},{label:l("Bounce In"),value:"bounceIn"},{label:l("Bounce In Down"),value:"bounceInDown"},{label:l("Bounce In Left"),value:"bounceInLeft"},{label:l("Bounce In Right"),value:"bounceInRight"},{label:l("Bounce In Up"),value:"bounceInUp"},{label:l("Bounce Out"),value:"bounceOut"},{label:l("Bounce Out Down"),value:"bounceOutDown"},{label:l("Bounce Out Left"),value:"bounceOutLeft"},{label:l("Bounce Out Right"),value:"bounceOutRight"},{label:l("Bounce Out Up"),value:"bounceOutUp"},{label:l("Fade In"),value:"fadeIn"},{label:l("Fade In Down"),value:"fadeInDown"},{label:l("Fade In Down Big"),value:"fadeInDownBig"},{label:l("Fade In Left"),value:"fadeInLeft"},{label:l("Fade In Left Big"),value:"fadeInLeftBig"},{label:l("Fade In Right"),value:"fadeInRight"},{label:l("Fade In Left Big"),value:"fadeInRightBig"},{label:l("Fade In Up"),value:"fadeInUp"},{label:l("Fade Out"),value:"fadeOut"},{label:l("Fade Out Down"),value:"fadeOutDown"},{label:l("Fade Out Down Big"),value:"fadeOutDownBig"},{label:l("Fade Out Left"),value:"fadeOutLeft"},{label:l("Fade Out Left Big"),value:"fadeOutLeftBig"},{label:l("Fade Out Right"),value:"fadeOutRight"},{label:l("Fade In Left Big"),value:"fadeOutRightBig"},{label:l("Fade Out Up"),value:"fadeOutUp"},{label:l("Fade Out Up Big"),value:"fadeOutUpBig"},{label:l("Flip"),value:"flip"},{label:l("Flip In X"),value:"flipInX"},{label:l("Flip In Y"),value:"flipInY"},{label:l("Flip Out X"),value:"flipOutX"},{label:l("Flip Out Y"),value:"flipOutY"},{label:l("Light Speed In"),value:"lightSpeedIn"},{label:l("Light Speed Out"),value:"lightSpeedOut"},{label:l("Rotate In"),value:"rotateIn"},{label:l("Rotate In Down Left"),value:"rotateInDownLeft"},{label:l("Rotate In Down Right"),value:"rotateInDownRight"},{label:l("Rotate In Up Left"),value:"rotateInUpLeft"},{label:l("Rotate In Up Right"),value:"rotateInUpRight"},{label:l("Rotate Out"),value:"rotateOut"},{label:l("Rotate Out Down Left"),value:"rotateOutDownLeft"},{label:l("Rotate Out Down Right"),value:"rotateOutDownRight"},{label:l("Rotate Out Up Left"),value:"rotateOutUpLeft"},{label:l("Rotate Out Up Right"),value:"rotateOutUpRight"},{label:l("Slide In Down"),value:"slideInDown"},{label:l("Slide In Left"),value:"slideInLeft"},{label:l("Slide In Right"),value:"slideInRight"},{label:l("Slide In Up"),value:"slideInUp"},{label:l("Slide Out Down"),value:"slideOutDown"},{label:l("Slide Out Left"),value:"slideOutLeft"},{label:l("Slide Out Right"),value:"slideOutRight"},{label:l("Slide Out Up"),value:"slideOutUp"},{label:l("Zoom In"),value:"zoomIn"},{label:l("Zoom In Down"),value:"zoomInDown"},{label:l("Zoom In Left"),value:"zoomInLeft"},{label:l("Zoom In Right"),value:"zoomInRight"},{label:l("Zoom In Up"),value:"zoomInUp"},{label:l("Zoom Out"),value:"zoomOut"},{label:l("Zoom Out Down"),value:"zoomOutDown"},{label:l("Zoom Out Left"),value:"zoomOutLeft"},{label:l("Zoom Out Right"),value:"zoomOutRight"},{label:l("Zoom Out Up"),value:"zoomOutUp"},{label:l("Roll In"),value:"rollIn"},{label:l("Roll Out"),value:"rollOut"}],o=["bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","flipOutX","flipOutY","lightSpeedOut","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollOut"],u=[{label:l("Default"),value:"none"},{label:l("Two Second"),value:"delay-2s"},{label:l("Three Second"),value:"delay-3s"},{label:l("Four Second"),value:"delay-4s"},{label:l("Five Second"),value:"delay-5s"}],i=[{label:l("Default"),value:"none"},{label:l("Slow"),value:"slow"},{label:l("Slower"),value:"slower"},{label:l("Fast"),value:"fast"},{label:l("Faster"),value:"faster"}];function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t,a,l,n,o,u){try{var i=e[o](u),r=i.value}catch(e){return void a(e)}i.done?t(r):Promise.resolve(r).then(l,n)}function p(e,t){for(var a=0;a<t.length;a++){var l=t[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=wp.i18n.__,v=wp.components.SelectControl,m=wp.element,h=m.Component,O=m.Fragment,g=function(e){function t(){var e,a,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(e=!(l=c(t).apply(this,arguments))||"object"!==r(l)&&"function"!=typeof l?f(a):l).updateAnimation=e.updateAnimation.bind(f(e)),e.updateDelay=e.updateDelay.bind(f(e)),e.updateSpeed=e.updateSpeed.bind(f(e)),e.state={animation:"none",delay:"default",speed:"default"},e}var a,l,m,h,g;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),a=t,(l=[{key:"componentDidMount",value:function(){var e;if(this.props.attributes.className){e=(e=this.props.attributes.className).split(" ");var t=Array.from(n).find((function(t){return e.find((function(e){return e===t.value}))})),a=Array.from(u).find((function(t){return e.find((function(e){return e===t.value}))})),l=Array.from(i).find((function(t){return e.find((function(e){return e===t.value}))}));this.setState({animation:t?t.value:"none",delay:a?a.value:"default",speed:l?l.value:"default"})}}},{key:"updateAnimation",value:(h=regeneratorRuntime.mark((function e(t){var a,l,n,u,i=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l="none"!==t?t:"",this.props.attributes.className?(a=(a=this.props.attributes.className).split(" "),n=a.find((function(e){return e===i.state.animation})),a.find((function(e){return"animated"===e}))||a.push("animated"),n?a=a.join(" ").replace(this.state.animation,l):(a.push(l),a=a.join(" "))):a="animated ".concat(l),"none"===t&&(a=a.replace("animated","").replace(this.state.delay,"").replace(this.state.speed,""),this.setState({delay:"default",speed:"defualt"})),a=a.replace(/\s+/g," "),this.setState({animation:t}),e.next=7,this.props.setAttributes({className:a});case 7:(u=document.querySelector("#block-".concat(this.props.clientId," .animated")))&&o.forEach((function(e){u.className.includes(e)&&u.addEventListener("animationend",(function(){u.classList.remove(e),u.addEventListener("animationstart",(function(){u.classList.remove(e)}))}))}));case 9:case"end":return e.stop()}}),e,this)})),g=function(){var e=this,t=arguments;return new Promise((function(a,l){var n=h.apply(e,t);function o(e){s(n,a,l,o,u,"next",e)}function u(e){s(n,a,l,o,u,"throw",e)}o(void 0)}))},function(e){return g.apply(this,arguments)})},{key:"updateDelay",value:function(e){var t,a=this,l="none"!==e?e:"";this.props.attributes.className?(t=(t=this.props.attributes.className).split(" ")).find((function(e){return e===a.state.delay}))?t=t.join(" ").replace(this.state.delay,l):(t.push(l),t=t.join(" ")):t=l,t=t.replace(/\s+/g," "),this.setState({delay:e}),this.props.setAttributes({className:t})}},{key:"updateSpeed",value:function(e){var t,a=this,l="none"!==e?e:"";this.props.attributes.className?(t=(t=this.props.attributes.className).split(" ")).find((function(e){return e===a.state.speed}))?t=t.join(" ").replace(this.state.speed,l):(t.push(l),t=t.join(" ")):t=l,t=t.replace(/\s+/g," "),this.setState({speed:e}),this.props.setAttributes({className:t})}},{key:"render",value:function(){return wp.element.createElement(O,null,wp.element.createElement(v,{label:b("Animation"),value:this.state.animation||"none",options:n,onChange:this.updateAnimation}),"none"!==this.state.animation&&wp.element.createElement(O,null,wp.element.createElement(v,{label:b("Delay"),value:this.state.delay||"default",options:u,onChange:this.updateDelay}),wp.element.createElement(v,{label:b("Speed"),value:this.state.speed||"default",options:i,onChange:this.updateSpeed})))}}])&&p(a.prototype,l),m&&p(a,m),t}(h),w=wp.i18n.__,I=wp.blocks.hasBlockSupport,y=wp.components.PanelBody,R=wp.compose.createHigherOrderComponent,S=(wp.blockEditor||wp.editor).InspectorControls,D=wp.element.Fragment;(0,wp.hooks.addFilter)("editor.BlockEdit","themeisle-custom-css/with-inspector-controls",R((function(e){return function(t){return I(t.name,"customClassName",!0)&&t.isSelected?wp.element.createElement(D,null,wp.element.createElement(e,t),wp.element.createElement(S,null,wp.element.createElement(y,{title:w("Animations"),initialOpen:!1},wp.element.createElement(g,{clientId:t.clientId,setAttributes:t.setAttributes,attributes:t.attributes})))):wp.element.createElement(e,t)}}),"withInspectorControl"))}]);
vendor/codeinwp/gutenberg-animation/class-gutenberg-animation.php CHANGED
@@ -29,6 +29,7 @@ class GutenbergAnimation {
29
public function init() {
30
add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_editor_assets' ) );
31
add_action( 'enqueue_block_assets', array( $this, 'enqueue_block_frontend_assets' ) );
32
}
33
34
/**
@@ -94,6 +95,29 @@ class GutenbergAnimation {
94
);
95
}
96
97
/**
98
* Method to return path to child class in a Reflective Way.
99
*
29
public function init() {
30
add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_editor_assets' ) );
31
add_action( 'enqueue_block_assets', array( $this, 'enqueue_block_frontend_assets' ) );
32
+ add_action( 'init', array( $this, 'add_attributes_to_blocks' ), 11 );
33
}
34
35
/**
95
);
96
}
97
98
+ /**
99
+ * Adds the `hasCustomCSS` and `customCSS` attributes to all blocks, to avoid `Invalid parameter(s): attributes`
100
+ * error in Gutenberg.
101
+ *
102
+ * @since 1.0.3
103
+ * @access public
104
+ */
105
+ public function add_attributes_to_blocks() {
106
+ $registered_blocks = \WP_Block_Type_Registry::get_instance()->get_all_registered();
107
+
108
+ foreach( $registered_blocks as $name => $block ) {
109
+ $block->attributes['hasCustomCSS'] = array(
110
+ 'type' => 'boolean',
111
+ 'default' => false
112
+ );
113
+
114
+ $block->attributes['customCSS'] = array(
115
+ 'type' => 'string',
116
+ 'default' => ''
117
+ );
118
+ }
119
+ }
120
+
121
/**
122
* Method to return path to child class in a Reflective Way.
123
*
vendor/codeinwp/gutenberg-animation/load.php CHANGED
@@ -8,7 +8,7 @@
8
* @since 1.0.0
9
*/
10
11
- define( 'THEMEISLE_GUTENBERG_ANIMATION_VERSION', '1.0.3' );
12
define( 'THEMEISLE_GUTENBERG_ANIMATION_DEV', false );
13
14
add_action(
8
* @since 1.0.0
9
*/
10
11
+ define( 'THEMEISLE_GUTENBERG_ANIMATION_VERSION', '1.0.4' );
12
define( 'THEMEISLE_GUTENBERG_ANIMATION_DEV', false );
13
14
add_action(
vendor/codeinwp/gutenberg-animation/src/editor.js CHANGED
@@ -102,21 +102,23 @@ class AnimationControls extends Component {
102
this.setState({ animation: e });
103
await this.props.setAttributes({ className: classes });
104
105
- const block = document.querySelector( `#block-${ this.props.clientId } .animated` );
106
107
- outAnimation.forEach( i => {
108
- const isOut = block.className.includes( i );
109
110
- if ( isOut ) {
111
- block.addEventListener( 'animationend', () => {
112
- block.classList.remove( i );
113
-
114
- block.addEventListener( 'animationstart', () => {
115
block.classList.remove( i );
116
});
117
- });
118
- }
119
- });
120
}
121
122
updateDelay( e ) {
102
this.setState({ animation: e });
103
await this.props.setAttributes({ className: classes });
104
105
+ let block = document.querySelector( `#block-${ this.props.clientId } .animated` );
106
107
+ if ( block ) {
108
+ outAnimation.forEach( i => {
109
+ const isOut = block.className.includes( i );
110
111
+ if ( isOut ) {
112
+ block.addEventListener( 'animationend', () => {
113
block.classList.remove( i );
114
+
115
+ block.addEventListener( 'animationstart', () => {
116
+ block.classList.remove( i );
117
+ });
118
});
119
+ }
120
+ });
121
+ }
122
}
123
124
updateDelay( e ) {
vendor/codeinwp/gutenberg-blocks/assets/glide/glide.core.min.css ADDED
@@ -0,0 +1 @@
1
+ .glide{position:relative;width:100%;box-sizing:border-box}.glide *{box-sizing:inherit}.glide__track{overflow:hidden}.glide__slides{position:relative;width:100%;list-style:none;backface-visibility:hidden;transform-style:preserve-3d;touch-action:pan-Y;overflow:hidden;padding:0;white-space:nowrap;display:flex;flex-wrap:nowrap;will-change:transform}.glide__slides--dragging{user-select:none}.glide__slide{width:100%;height:100%;flex-shrink:0;white-space:normal;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.glide__slide a{user-select:none;-webkit-user-drag:none;-moz-user-select:none;-ms-user-select:none}.glide__arrows{-webkit-touch-callout:none;user-select:none}.glide__bullets{-webkit-touch-callout:none;user-select:none}.glide--rtl{direction:rtl}
vendor/codeinwp/gutenberg-blocks/assets/glide/glide.min.js ADDED
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Glide.js v3.3.0
3
+ * (c) 2013-2019 Jędrzej Chałubek <jedrzej.chalubek@gmail.com> (http://jedrzejchalubek.com/)
4
+ * Released under the MIT License.
5
+ */
6
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Glide=e()}(this,function(){"use strict";var n={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"|",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t=function(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t};function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function y(t){return parseInt(t)}function o(t){return"string"==typeof t}function u(t){var e=void 0===t?"undefined":r(t);return"function"===e||"object"===e&&!!t}function c(t){return"function"==typeof t}function l(t){return void 0===t}function f(t){return t.constructor===Array}function d(t,e,n){Object.defineProperty(t,e,n)}function h(t,e){var n=a({},t,e);return e.hasOwnProperty("classes")&&(n.classes=a({},t.classes,e.classes),e.classes.hasOwnProperty("direction")&&(n.classes.direction=a({},t.classes.direction,e.classes.direction)),e.classes.hasOwnProperty("type")&&(n.classes.type=a({},t.classes.type,e.classes.type)),e.classes.hasOwnProperty("slide")&&(n.classes.slide=a({},t.classes.slide,e.classes.slide)),e.classes.hasOwnProperty("arrow")&&(n.classes.arrow=a({},t.classes.arrow,e.classes.arrow)),e.classes.hasOwnProperty("nav")&&(n.classes.nav=a({},t.classes.nav,e.classes.nav))),e.hasOwnProperty("breakpoints")&&(n.breakpoints=a({},t.breakpoints,e.breakpoints)),n}var v=(t(e,[{key:"on",value:function(t,e){if(f(t))for(var n=0;n<t.length;n++)this.on(t[n],e);this.hop.call(this.events,t)||(this.events[t]=[]);var i=this.events[t].push(e)-1;return{remove:function(){delete this.events[t][i]}}}},{key:"emit",value:function(t,e){if(f(t))for(var n=0;n<t.length;n++)this.emit(t[n],e);this.hop.call(this.events,t)&&this.events[t].forEach(function(t){t(e||{})})}}]),e);function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};i(this,e),this.events=t,this.hop=t.hasOwnProperty}var p=(t(m,[{key:"mount",value:function(t){var e=0<arguments.length&&void 0!==t?t:{};return this._e.emit("mount.before"),u(e)&&(this._c=function(t,e,n){var i={};for(var r in e)c(e[r])&&(i[r]=e[r](t,i,n));for(var s in i)c(i[s].mount)&&i[s].mount();return i}(this,e,this._e)),this._e.emit("mount.after"),this}},{key:"mutate",value:function(t){var e=0<arguments.length&&void 0!==t?t:[];return f(e)&&(this._t=e),this}},{key:"update",value:function(t){var e=0<arguments.length&&void 0!==t?t:{};return this.settings=h(this.settings,e),e.hasOwnProperty("startAt")&&(this.index=e.startAt),this._e.emit("update"),this}},{key:"go",value:function(t){return this._c.Run.make(t),this}},{key:"move",value:function(t){return this._c.Transition.disable(),this._c.Move.make(t),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(t){var e=0<arguments.length&&void 0!==t&&t;return e&&(this.settings.autoplay=e),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(t,e){return this._e.on(t,e),this}},{key:"isType",value:function(t){return this.settings.type===t}},{key:"settings",get:function(){return this._o},set:function(t){u(t)&&(this._o=t)}},{key:"index",get:function(){return this._i},set:function(t){this._i=y(t)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(t){this._d=!!t}}]),m);function m(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};i(this,m),this._c={},this._t=[],this._e=new v,this.disabled=!1,this.selector=t,this.settings=h(n,e),this.index=this.settings.startAt}function g(){return(new Date).getTime()}function b(n,i,r){var s=void 0,o=void 0,u=void 0,a=void 0,c=0;r=r||{};function l(){c=!1===r.leading?0:g(),s=null,a=n.apply(o,u),s||(o=u=null)}function t(){var t=g();c||!1!==r.leading||(c=t);var e=i-(t-c);return o=this,u=arguments,e<=0||i<e?(s&&(clearTimeout(s),s=null),c=t,a=n.apply(o,u),s||(o=u=null)):s||!1===r.trailing||(s=setTimeout(l,e)),a}return t.cancel=function(){clearTimeout(s),c=0,s=o=u=null},t}var w={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function _(t){if(t&&t.parentNode){for(var e=t.parentNode.firstChild,n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}return[]}function k(t){return!!(t&&t instanceof window.HTMLElement)}var S='[data-glide-el="track"]';var H=(t(T,[{key:"on",value:function(t,e,n,i){var r=3<arguments.length&&void 0!==i&&i;o(t)&&(t=[t]);for(var s=0;s<t.length;s++)this.listeners[t[s]]=n,e.addEventListener(t[s],this.listeners[t[s]],r)}},{key:"off",value:function(t,e,n){var i=2<arguments.length&&void 0!==n&&n;o(t)&&(t=[t]);for(var r=0;r<t.length;r++)e.removeEventListener(t[r],this.listeners[t[r]],i)}},{key:"destroy",value:function(){delete this.listeners}}]),T);function T(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};i(this,T),this.listeners=t}var O=["ltr","rtl"],x={">":"<","<":">","=":"="};function A(t,e){return{modify:function(t){return e.Direction.is("rtl")?-t:t}}}function P(i,r,s){var o=[function(t,n){return{modify:function(t){var e=Math.floor(t/n.Sizes.slideWidth);return t+n.Gaps.value*e}}},function(t,e){return{modify:function(t){return t+e.Clones.grow/2}}},function(n,i){return{modify:function(t){if(0<=n.settings.focusAt){var e=i.Peek.value;return u(e)?t-e.before:t-e}return t}}},function(s,o){return{modify:function(t){var e=o.Gaps.value,n=o.Sizes.width,i=s.settings.focusAt,r=o.Sizes.slideWidth;return"center"===i?t-(n/2-r/2):t-r*i-e*i}}}].concat(i._t,[A]);return{mutate:function(t){for(var e=0;e<o.length;e++){var n=o[e];c(n)&&c(n().modify)&&(t=n(i,r,s).modify(t))}return t}}}var M=!1;try{var z=Object.defineProperty({},"passive",{get:function(){M=!0}});window.addEventListener("testPassive",null,z),window.removeEventListener("testPassive",null,z)}catch(t){}var C=M,L=["touchstart","mousedown"],R=["touchmove","mousemove"],D=["touchend","touchcancel","mouseup","mouseleave"],E=["mousedown","mousemove","mouseup","mouseleave"];function j(t){return u(t)?function(n){return Object.keys(n).sort().reduce(function(t,e){return t[e]=n[e],t[e],t},{})}(t):{}}var W={Html:function(e,t){var n={mount:function(){this.root=e.selector,this.track=this.root.querySelector(S),this.slides=Array.prototype.slice.call(this.wrapper.children).filter(function(t){return!t.classList.contains(e.settings.classes.slide.clone)})}};return d(n,"root",{get:function(){return n._r},set:function(t){o(t)&&(t=document.querySelector(t)),k(t)&&(n._r=t)}}),d(n,"track",{get:function(){return n._t},set:function(t){k(t)&&(n._t=t)}}),d(n,"wrapper",{get:function(){return n.track.children[0]}}),n},Translate:function(i,r,n){var s={set:function(t){var e=P(i,r).mutate(t);r.Html.wrapper.style.transform="translate3d("+-1*e+"px, 0px, 0px)"},remove:function(){r.Html.wrapper.style.transform=""},getStartIndex:function(){var t=r.Sizes.length,e=i.index,n=i.settings.perView;return r.Run.isOffset(">")||r.Run.isOffset("|>")?t+(e-n):(e+n)%t},getTravelDistance:function(){var t=r.Sizes.slideWidth*i.settings.perView;return r.Run.isOffset(">")||r.Run.isOffset("|>")?-1*t:t}};return n.on("move",function(t){if(!i.isType("carousel")||!r.Run.isOffset())return s.set(t.movement);r.Transition.after(function(){n.emit("translate.jump"),s.set(r.Sizes.slideWidth*i.index)});var e=r.Sizes.slideWidth*r.Translate.getStartIndex();return s.set(e-r.Translate.getTravelDistance())}),n.on("destroy",function(){s.remove()}),s},Transition:function(n,i,t){var r=!1,e={compose:function(t){var e=n.settings;return r?t+" 0ms "+e.animationTimingFunc:t+" "+this.duration+"ms "+e.animationTimingFunc},set:function(t){var e=0<arguments.length&&void 0!==t?t:"transform";i.Html.wrapper.style.transition=this.compose(e)},remove:function(){i.Html.wrapper.style.transition=""},after:function(t){setTimeout(function(){t()},this.duration)},enable:function(){r=!1,this.set()},disable:function(){r=!0,this.set()}};return d(e,"duration",{get:function(){var t=n.settings;return n.isType("slider")&&i.Run.offset?t.rewindDuration:t.animationDuration}}),t.on("move",function(){e.set()}),t.on(["build.before","resize","translate.jump"],function(){e.disable()}),t.on("run",function(){e.enable()}),t.on("destroy",function(){e.remove()}),e},Direction:function(t,e,n){var i={mount:function(){this.value=t.settings.direction},resolve:function(t){var e=t.slice(0,1);return this.is("rtl")?t.split(e).join(x[e]):t},is:function(t){return this.value===t},addClass:function(){e.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){e.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return d(i,"value",{get:function(){return i._v},set:function(t){-1<O.indexOf(t)&&(i._v=t)}}),n.on(["destroy","update"],function(){i.removeClass()}),n.on("update",function(){i.mount()}),n.on(["build.before","update"],function(){i.addClass()}),i},Peek:function(n,t,e){var i={mount:function(){this.value=n.settings.peek}};return d(i,"value",{get:function(){return i._v},set:function(t){u(t)?(t.before=y(t.before),t.after=y(t.after)):t=y(t),i._v=t}}),d(i,"reductor",{get:function(){var t=i.value,e=n.settings.perView;return u(t)?t.before/e+t.after/e:2*t/e}}),e.on(["resize","update"],function(){i.mount()}),i},Sizes:function(t,i,e){var n={setupSlides:function(){for(var t=this.slideWidth+"px",e=i.Html.slides,n=0;n<e.length;n++)e[n].style.width=t},setupWrapper:function(){i.Html.wrapper.style.width=this.wrapperSize+"px"},remove:function(){for(var t=i.Html.slides,e=0;e<t.length;e++)t[e].style.width="";i.Html.wrapper.style.width=""}};return d(n,"length",{get:function(){return i.Html.slides.length}}),d(n,"width",{get:function(){return i.Html.root.offsetWidth}}),d(n,"wrapperSize",{get:function(){return n.slideWidth*n.length+i.Gaps.grow+i.Clones.grow}}),d(n,"slideWidth",{get:function(){return n.width/t.settings.perView-i.Peek.reductor-i.Gaps.reductor}}),e.on(["build.before","resize","update"],function(){n.setupSlides(),n.setupWrapper()}),e.on("destroy",function(){n.remove()}),n},Gaps:function(e,s,t){var n={apply:function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e].style,r=s.Direction.value;i[w[r][0]]=0!==e?this.value/2+"px":"",e!==t.length-1?i[w[r][1]]=this.value/2+"px":i[w[r][1]]=""}},remove:function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e].style;i.marginLeft="",i.marginRight=""}}};return d(n,"value",{get:function(){return y(e.settings.gap)}}),d(n,"grow",{get:function(){return n.value*s.Sizes.length}}),d(n,"reductor",{get:function(){var t=e.settings.perView;return n.value*(t-1)/t}}),t.on(["build.after","update"],b(function(){n.apply(s.Html.wrapper.children)},30)),t.on("destroy",function(){n.remove(s.Html.wrapper.children)}),n},Move:function(t,i,r){var e={mount:function(){this._o=0},make:function(t){var e=this,n=0<arguments.length&&void 0!==t?t:0;this.offset=n,r.emit("move",{movement:this.value}),i.Transition.after(function(){r.emit("move.after",{movement:e.value})})}};return d(e,"offset",{get:function(){return e._o},set:function(t){e._o=l(t)?0:y(t)}}),d(e,"translate",{get:function(){return i.Sizes.slideWidth*t.index}}),d(e,"value",{get:function(){var t=this.offset,e=this.translate;return i.Direction.is("rtl")?e+t:e-t}}),r.on(["build.before","run"],function(){e.make()}),e},Clones:function(v,p,t){var e={mount:function(){this.items=[],v.isType("carousel")&&(this.items=this.collect())},collect:function(t){for(var e=0<arguments.length&&void 0!==t?t:[],n=p.Html.slides,i=v.settings,r=i.perView,s=i.classes,o=r+ +!!v.settings.peek+Math.round(r/2),u=n.slice(0,o).reverse(),a=n.slice(-1*o),c=0;c<Math.max(1,Math.floor(r/n.length));c++){for(var l=0;l<u.length;l++){var f=u[l].cloneNode(!0);f.classList.add(s.slide.clone),e.push(f)}for(var d=0;d<a.length;d++){var h=a[d].cloneNode(!0);h.classList.add(s.slide.clone),e.unshift(h)}}return e},append:function(){for(var t=this.items,e=p.Html,n=e.wrapper,i=e.slides,r=Math.floor(t.length/2),s=t.slice(0,r).reverse(),o=t.slice(-1*r).reverse(),u=p.Sizes.slideWidth+"px",a=0;a<o.length;a++)n.appendChild(o[a]);for(var c=0;c<s.length;c++)n.insertBefore(s[c],i[0]);for(var l=0;l<t.length;l++)t[l].style.width=u},remove:function(){for(var t=this.items,e=0;e<t.length;e++)p.Html.wrapper.removeChild(t[e])}};return d(e,"grow",{get:function(){return(p.Sizes.slideWidth+p.Gaps.value)*e.items.length}}),t.on("update",function(){e.remove(),e.mount(),e.append()}),t.on("build.before",function(){v.isType("carousel")&&e.append()}),t.on("destroy",function(){e.remove()}),e},Resize:function(t,e,n){var i=new H,r={mount:function(){this.bind()},bind:function(){i.on("resize",window,b(function(){n.emit("resize")},t.settings.throttle))},unbind:function(){i.off("resize",window)}};return n.on("destroy",function(){r.unbind(),i.destroy()}),r},Build:function(i,r,t){var e={mount:function(){t.emit("build.before"),this.typeClass(),this.activeClass(),t.emit("build.after")},typeClass:function(){r.Html.root.classList.add(i.settings.classes.type[i.settings.type])},activeClass:function(){var e=i.settings.classes,t=r.Html.slides[i.index];t&&(t.classList.add(e.slide.active),_(t).forEach(function(t){t.classList.remove(e.slide.active)}))},removeClasses:function(){var t=i.settings.classes,e=t.type,n=t.slide;r.Html.root.classList.remove(e[i.settings.type]),r.Html.slides.forEach(function(t){t.classList.remove(n.active)})}};return t.on(["destroy","update"],function(){e.removeClasses()}),t.on(["resize","update"],function(){e.mount()}),t.on("move.after",function(){e.activeClass()}),e},Run:function(u,n,i){var a={mount:function(){this._o=!1},make:function(t){var e=this;u.disabled||(u.settings.waitForTransition&&u.disable(),this.move=t,i.emit("run.before",this.move),this.calculate(),i.emit("run",this.move),n.Transition.after(function(){e.isStart()&&i.emit("run.start",e.move),e.isEnd()&&i.emit("run.end",e.move),e.isOffset()&&(e._o=!1,i.emit("run.offset",e.move)),i.emit("run.after",e.move),u.enable()}))},calculate:function(){var t=this.move,e=this.length,n=t.steps,i=t.direction,r=1;if("="!==i)if(">"!==i||">"!==n)if("<"!==i||"<"!==n){if("|"===i&&(r=u.settings.perView||1),">"===i||"|"===i&&">"===n){var s=function(t){var e=u.index;if(u.isType("carousel"))return e+t;return e+(t-e%t)}(r);return e<s&&(this._o=!0),void(u.index=function(t,e){var n=a.length;if(t<=n)return t;if(u.isType("carousel"))return t-(n+1);if(u.settings.rewind)return a.isBound()&&!a.isEnd()?n:0;if(a.isBound())return n;return Math.floor(n/e)*e}(s,r))}if("<"===i||"|"===i&&"<"===n){var o=function(t){var e=u.index;if(u.isType("carousel"))return e-t;return(Math.ceil(e/t)-1)*t}(r);return o<0&&(this._o=!0),void(u.index=function(t,e){var n=a.length;if(0<=t)return t;if(u.isType("carousel"))return t+(n+1);if(u.settings.rewind)return a.isBound()&&a.isStart()?n:Math.floor(n/e)*e;return 0}(o,r))}}else u.index=0;else u.index=e;else u.index=n},isStart:function(){return u.index<=0},isEnd:function(){return u.index>=this.length},isOffset:function(t){var e=0<arguments.length&&void 0!==t?t:void 0;return e?!!this._o&&("|>"===e?"|"===this.move.direction&&">"===this.move.steps:"|<"===e?"|"===this.move.direction&&"<"===this.move.steps:this.move.direction===e):this._o},isBound:function(){return u.isType("slider")&&"center"!==u.settings.focusAt&&u.settings.bound}};return d(a,"move",{get:function(){return this._m},set:function(t){var e=t.substr(1);this._m={direction:t.substr(0,1),steps:e?y(e)?y(e):e:0}}}),d(a,"length",{get:function(){var t=u.settings,e=n.Html.slides.length;return this.isBound()?e-1-(y(t.perView)-1)+y(t.focusAt):e-1}}),d(a,"offset",{get:function(){return this._o}}),a},Swipe:function(d,h,v){var r=new H,p=0,m=0,g=0,n=!1,s=!!C&&{passive:!0},t={mount:function(){this.bindSwipeStart()},start:function(t){if(!n&&!d.disabled){this.disable();var e=this.touches(t);p=null,m=y(e.pageX),g=y(e.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),v.emit("swipe.start")}},move:function(t){if(!d.disabled){var e=d.settings,n=e.touchAngle,i=e.touchRatio,r=e.classes,s=this.touches(t),o=y(s.pageX)-m,u=y(s.pageY)-g,a=Math.abs(o<<2),c=Math.abs(u<<2),l=Math.sqrt(a+c),f=Math.sqrt(c);if(!(180*(p=Math.asin(f/l))/Math.PI<n))return!1;t.stopPropagation(),h.Move.make(o*function(t){return parseFloat(t)}(i)),h.Html.root.classList.add(r.dragging),v.emit("swipe.move")}},end:function(t){if(!d.disabled){var e=d.settings,n=e.perSwipe,i=e.touchAngle,r=e.classes,s=this.touches(t),o=this.threshold(t),u=s.pageX-m,a=180*p/Math.PI;this.enable(),o<u&&a<i?h.Run.make(h.Direction.resolve(n+"<")):u<-o&&a<i?h.Run.make(h.Direction.resolve(n+">")):h.Move.make(),h.Html.root.classList.remove(r.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),v.emit("swipe.end")}},bindSwipeStart:function(){var e=this,t=d.settings,n=t.swipeThreshold,i=t.dragThreshold;n&&r.on(L[0],h.Html.wrapper,function(t){e.start(t)},s),i&&r.on(L[1],h.Html.wrapper,function(t){e.start(t)},s)},unbindSwipeStart:function(){r.off(L[0],h.Html.wrapper,s),r.off(L[1],h.Html.wrapper,s)},bindSwipeMove:function(){var e=this;r.on(R,h.Html.wrapper,b(function(t){e.move(t)},d.settings.throttle),s)},unbindSwipeMove:function(){r.off(R,h.Html.wrapper,s)},bindSwipeEnd:function(){var e=this;r.on(D,h.Html.wrapper,function(t){e.end(t)})},unbindSwipeEnd:function(){r.off(D,h.Html.wrapper)},touches:function(t){return-1<E.indexOf(t.type)?t:t.touches[0]||t.changedTouches[0]},threshold:function(t){var e=d.settings;return-1<E.indexOf(t.type)?e.dragThreshold:e.swipeThreshold},enable:function(){return n=!1,h.Transition.enable(),this},disable:function(){return n=!0,h.Transition.disable(),this}};return v.on("build.after",function(){h.Html.root.classList.add(d.settings.classes.swipeable)}),v.on("destroy",function(){t.unbindSwipeStart(),t.unbindSwipeMove(),t.unbindSwipeEnd(),r.destroy()}),t},Images:function(t,e,n){var i=new H,r={mount:function(){this.bind()},bind:function(){i.on("dragstart",e.Html.wrapper,this.dragstart)},unbind:function(){i.off("dragstart",e.Html.wrapper)},dragstart:function(t){t.preventDefault()}};return n.on("destroy",function(){r.unbind(),i.destroy()}),r},Anchors:function(t,e,n){var i=new H,r=!1,s=!1,o={mount:function(){this._a=e.Html.wrapper.querySelectorAll("a"),this.bind()},bind:function(){i.on("click",e.Html.wrapper,this.click)},unbind:function(){i.off("click",e.Html.wrapper)},click:function(t){s&&(t.stopPropagation(),t.preventDefault())},detach:function(){if(s=!0,!r){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!1,this.items[t].setAttribute("data-href",this.items[t].getAttribute("href")),this.items[t].removeAttribute("href");r=!0}return this},attach:function(){if(s=!1,r){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!0,this.items[t].setAttribute("href",this.items[t].getAttribute("data-href"));r=!1}return this}};return d(o,"items",{get:function(){return o._a}}),n.on("swipe.move",function(){o.detach()}),n.on("swipe.end",function(){e.Transition.after(function(){o.attach()})}),n.on("destroy",function(){o.attach(),o.unbind(),i.destroy()}),o},Controls:function(i,e,t){var n=new H,r=!!C&&{passive:!0},s={mount:function(){this._n=e.Html.root.querySelectorAll('[data-glide-el="controls[nav]"]'),this._c=e.Html.root.querySelectorAll('[data-glide-el^="controls"]'),this.addBindings()},setActive:function(){for(var t=0;t<this._n.length;t++)this.addClass(this._n[t].children)},removeActive:function(){for(var t=0;t<this._n.length;t++)this.removeClass(this._n[t].children)},addClass:function(t){var e=i.settings,n=t[i.index];n&&(n.classList.add(e.classes.nav.active),_(n).forEach(function(t){t.classList.remove(e.classes.nav.active)}))},removeClass:function(t){var e=t[i.index];e&&e.classList.remove(i.settings.classes.nav.active)},addBindings:function(){for(var t=0;t<this._c.length;t++)this.bind(this._c[t].children)},removeBindings:function(){for(var t=0;t<this._c.length;t++)this.unbind(this._c[t].children)},bind:function(t){for(var e=0;e<t.length;e++)n.on("click",t[e],this.click),n.on("touchstart",t[e],this.click,r)},unbind:function(t){for(var e=0;e<t.length;e++)n.off(["click","touchstart"],t[e])},click:function(t){t.preventDefault(),e.Run.make(e.Direction.resolve(t.currentTarget.getAttribute("data-glide-dir")))}};return d(s,"items",{get:function(){return s._c}}),t.on(["mount.after","move.after"],function(){s.setActive()}),t.on("destroy",function(){s.removeBindings(),s.removeActive(),n.destroy()}),s},Keyboard:function(t,e,n){var i=new H,r={mount:function(){t.settings.keyboard&&this.bind()},bind:function(){i.on("keyup",document,this.press)},unbind:function(){i.off("keyup",document)},press:function(t){39===t.keyCode&&e.Run.make(e.Direction.resolve(">")),37===t.keyCode&&e.Run.make(e.Direction.resolve("<"))}};return n.on(["destroy","update"],function(){r.unbind()}),n.on("update",function(){r.mount()}),n.on("destroy",function(){i.destroy()}),r},Autoplay:function(e,n,t){var i=new H,r={mount:function(){this.start(),e.settings.hoverpause&&this.bind()},start:function(){var t=this;e.settings.autoplay&&l(this._i)&&(this._i=setInterval(function(){t.stop(),n.Run.make(">"),t.start()},this.time))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var t=this;i.on("mouseover",n.Html.root,function(){t.stop()}),i.on("mouseout",n.Html.root,function(){t.start()})},unbind:function(){i.off(["mouseover","mouseout"],n.Html.root)}};return d(r,"time",{get:function(){var t=n.Html.slides[e.index].getAttribute("data-glide-autoplay");return y(t||e.settings.autoplay)}}),t.on(["destroy","update"],function(){r.unbind()}),t.on(["run.before","pause","destroy","swipe.start","update"],function(){r.stop()}),t.on(["run.after","play","swipe.end"],function(){r.start()}),t.on("update",function(){r.mount()}),t.on("destroy",function(){i.destroy()}),r},Breakpoints:function(t,e,n){var i=new H,r=t.settings,s=j(r.breakpoints),o=a({},r),u={match:function(t){if(void 0!==window.matchMedia)for(var e in t)if(t.hasOwnProperty(e)&&window.matchMedia("(max-width: "+e+"px)").matches)return t[e];return o}};return a(r,u.match(s)),i.on("resize",window,b(function(){t.settings=h(r,u.match(s))},t.settings.throttle)),n.on("update",function(){s=j(s),o=a({},r)}),n.on("destroy",function(){i.off("resize",window)}),u}};function B(){return i(this,B),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(B.__proto__||Object.getPrototypeOf(B)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(B,p),t(B,[{key:"mount",value:function(t){var e=0<arguments.length&&void 0!==t?t:{};return function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var s=Object.getPrototypeOf(e);return null===s?void 0:t(s,n,i)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(i):void 0}(B.prototype.__proto__||Object.getPrototypeOf(B.prototype),"mount",this).call(this,a({},W,e))}}]),B});
vendor/codeinwp/gutenberg-blocks/assets/glide/glide.theme.min.css ADDED
@@ -0,0 +1 @@
1
+ .glide__arrow{position:absolute;display:block;top:50%;z-index:2;color:white;text-transform:uppercase;padding:9px 12px;background-color:transparent;border:2px solid rgba(255,255,255,0.5);border-radius:4px;box-shadow:0 0.25em 0.5em 0 rgba(0,0,0,0.1);text-shadow:0 0.25em 0.5em rgba(0,0,0,0.1);opacity:1;cursor:pointer;transition:opacity 150ms ease, border 300ms ease-in-out;transform:translateY(-50%);line-height:1}.glide__arrow:focus{outline:none}.glide__arrow:hover{border-color:white}.glide__arrow--left{left:2em}.glide__arrow--right{right:2em}.glide__arrow--disabled{opacity:0.33}.glide__bullets{position:absolute;z-index:2;bottom:2em;left:50%;display:inline-flex;list-style:none;transform:translateX(-50%)}.glide__bullet{background-color:rgba(255,255,255,0.5);width:9px;height:9px;padding:0;border-radius:50%;border:2px solid transparent;transition:all 300ms ease-in-out;cursor:pointer;line-height:0;box-shadow:0 0.25em 0.5em 0 rgba(0,0,0,0.1);margin:0 0.25em}.glide__bullet:focus{outline:none}.glide__bullet:hover,.glide__bullet:focus{border:2px solid white;background-color:rgba(255,255,255,0.5)}.glide__bullet--active{background-color:white}.glide--swipeable{cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}.glide--dragging{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}
vendor/codeinwp/gutenberg-blocks/build/blocks.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(t){for(var o,r,i=t[0],c=t[1],s=t[2],u=0,m=[];u<i.length;u++)r=i[u],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&m.push(a[r][0]),a[r]=0;for(o in c)Object.prototype.hasOwnProperty.call(c,o)&&(e[o]=c[o]);for(p&&p(t);m.length;)m.shift()();return l.push.apply(l,s||[]),n()}function n(){for(var e,t=0;t<l.length;t++){for(var n=l[t],o=!0,i=1;i<n.length;i++){var c=n[i];0!==a[c]&&(o=!1)}o&&(l.splice(t--,1),e=r(r.s=n[0]))}return e}var o={},a={2:0},l=[];function r(t){if(o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var t=[],n=a[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,o){n=a[e]=[t,o]}));t.push(n[2]=o);var l,i=document.createElement("script");i.charset="utf-8",i.timeout=120,r.nc&&i.setAttribute("nonce",r.nc),i.src=function(e){return r.p+"chunk-"+({}[e]||e)+".js"}(e);var c=new Error;l=function(t){i.onerror=i.onload=null,clearTimeout(s);var n=a[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),l=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+o+": "+l+")",c.name="ChunkLoadError",c.type=o,c.request=l,n[1](c)}a[e]=void 0}};var s=setTimeout((function(){l({type:"timeout",target:i})}),12e4);i.onerror=i.onload=l,document.head.appendChild(i)}return Promise.all(t)},r.m=e,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var i=window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var p=c;l.push([40,0]),n()}([,,function(e,t,n){"use strict";n.d(t,"l",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return p})),n.d(t,"h",(function(){return u})),n.d(t,"g",(function(){return m})),n.d(t,"q",(function(){return d})),n.d(t,"i",(function(){return b})),n.d(t,"n",(function(){return g})),n.d(t,"m",(function(){return h})),n.d(t,"p",(function(){return f})),n.d(t,"o",(function(){return y})),n.d(t,"r",(function(){return w})),n.d(t,"b",(function(){return v})),n.d(t,"s",(function(){return k})),n.d(t,"j",(function(){return E})),n.d(t,"c",(function(){return C})),n.d(t,"k",(function(){return x}));var o=wp.components,a=o.Path,l=o.SVG,r=function(){return wp.element.createElement(l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 32",width:"20",height:"20",className:"otter-icon"},wp.element.createElement(a,{d:"M19.831 7.877c0.001-0.003 0.001-0.005 0.001-0.009s-0-0.006-0.001-0.009l0 0c-0.047-0.081-0.092-0.164-0.132-0.247l-0.057-0.115c-0.277-0.498-0.381-0.99-1.033-1.064h-0.045c-0.001 0-0.002 0-0.003 0-0.486 0-0.883 0.382-0.908 0.862l-0 0.002c0.674 0.126 1.252 0.278 1.813 0.468l-0.092-0.027 0.283 0.096 0.147 0.053s0.028 0 0.028-0.011z"}),wp.element.createElement(a,{d:"M23.982 13.574c-0.008-2.41-0.14-4.778-0.39-7.112l0.026 0.299 0.070-0.019c0.459-0.139 0.787-0.558 0.787-1.053 0-0.479-0.307-0.887-0.735-1.037l-0.008-0.002h-0.026c-0.479-0.164-0.874-0.468-1.149-0.861l-0.005-0.007c-2.7-3.96-8.252-3.781-8.252-3.781s-5.55-0.179-8.25 3.781c-0.28 0.401-0.676 0.704-1.14 0.862l-0.016 0.005c-0.441 0.148-0.754 0.557-0.754 1.040 0 0.009 0 0.017 0 0.026l-0-0.001c-0 0.010-0.001 0.022-0.001 0.034 0 0.493 0.335 0.907 0.789 1.029l0.007 0.002 0.045 0.011c-0.224 2.034-0.356 4.403-0.364 6.801l-0 0.012s-9.493 13.012-1.277 17.515c4.733 2.431 6.881-0.769 6.881-0.769s1.397-1.661-1.784-3.355v-4.609c0.006-0.344 0.282-0.621 0.625-0.628h1.212v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.274 0.001 0.496 0.224 0.496 0.498 0 0 0 0 0 0v0 0.59h2.721v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.271 0.005 0.49 0.226 0.49 0.498 0 0 0 0 0 0v0 0.59h1.209c0 0 0 0 0 0 0.349 0 0.633 0.28 0.639 0.627v4.584c-3.193 1.703-1.784 3.355-1.784 3.355s2.148 3.193 6.879 0.769c8.222-4.503-1.269-17.515-1.269-17.515zM22.586 10.261c-0.097 1.461-0.67 2.772-1.563 3.797l0.007-0.008c-1.703 2.010-4.407 3.249-6.721 4.432v0c-2.325-1.177-5.026-2.416-6.736-4.432-0.883-1.019-1.455-2.329-1.555-3.769l-0.001-0.020c-0.126-2.22 0.583-5.929 3.044-6.74 2.416-0.788 3.947 1.288 4.494 2.227 0.152 0.258 0.429 0.428 0.745 0.428s0.593-0.17 0.743-0.424l0.002-0.004c0.551-0.932 2.080-3.008 4.494-2.22 2.474 0.805 3.174 4.513 3.046 6.734z"}),wp.element.createElement(a,{d:"M19.463 10.087h-0.028c-0.192 0.026-0.121 0.251-0.047 0.356 0.254 0.349 0.407 0.787 0.407 1.26 0 0.006-0 0.012-0 0.018v-0.001c-0.001 0.469-0.255 0.878-0.633 1.1l-0.006 0.003c-0.739 0.426-1.377-0.145-2.054-0.398-0.72-0.269-1.552-0.434-2.42-0.455l-0.009-0v-1.033c1.020-0.233 1.894-0.76 2.551-1.486l0.004-0.004c0.151-0.163 0.244-0.383 0.244-0.623 0-0.316-0.159-0.595-0.402-0.76l-0.003-0.002c-0.768-0.551-1.728-0.881-2.764-0.881-1.054 0-2.029 0.341-2.819 0.92l0.013-0.009c-0.224 0.166-0.367 0.429-0.367 0.726 0 0.226 0.083 0.433 0.221 0.591l-0.001-0.001c0.665 0.751 1.55 1.295 2.553 1.53l0.033 0.007v1.050c-0.742 0.021-1.448 0.14-2.118 0.343l0.057-0.015c-0.341 0.103-0.631 0.219-0.908 0.358l0.033-0.015c-0.519 0.26-1.037 0.436-1.58 0.121-0.371-0.213-0.617-0.607-0.617-1.058 0-0.002 0-0.004 0-0.007v0c0-0.002 0-0.004 0-0.007 0-0.47 0.153-0.905 0.411-1.257l-0.004 0.006c0.047-0.068 0.089-0.17 0.026-0.241s-0.189 0-0.27 0.030c-0.189 0.099-0.348 0.227-0.479 0.381l-0.002 0.002c-0.245 0.296-0.394 0.679-0.394 1.097 0 0.004 0 0.007 0 0.011v-0.001c0.008 0.706 0.393 1.321 0.964 1.651l0.009 0.005c0.296 0.178 0.654 0.283 1.036 0.283 0.364 0 0.706-0.095 1.001-0.263l-0.010 0.005c0.877-0.461 1.917-0.731 3.019-0.731 0.069 0 0.137 0.001 0.206 0.003l-0.010-0h0.030c1.277 0 2.382 0.266 3.266 0.775 0.27 0.159 0.594 0.253 0.94 0.253 0.001 0 0.002 0 0.003 0h-0c0.355-0.002 0.688-0.098 0.974-0.265l-0.009 0.005c0.606-0.357 1.007-1.007 1.007-1.75 0-0.001 0-0.003 0-0.004v0c0.001-0.026 0.002-0.056 0.002-0.086 0-0.625-0.34-1.171-0.846-1.462l-0.008-0.004c-0.056-0.040-0.125-0.065-0.199-0.070l-0.001-0zM13.101 8.831c-0.238 0.213-0.468 0.581-0.832 0.345-0.061-0.041-0.114-0.086-0.161-0.136l-0-0c-0.063-0.063-0.101-0.15-0.101-0.247 0-0.133 0.074-0.248 0.182-0.308l0.002-0.001c0.594-0.309 1.203-0.543 1.884-0.49-0.324 0.281-0.649 0.56-0.973 0.837z"}),wp.element.createElement(a,{d:"M15.89 13.578c-0.367 0.483-0.941 0.792-1.588 0.792s-1.221-0.309-1.585-0.787l-0.004-0.005c-0.064-0.103-0.177-0.171-0.306-0.171-0.199 0-0.36 0.161-0.36 0.36 0 0.091 0.034 0.174 0.090 0.238l-0-0c0.499 0.659 1.283 1.080 2.164 1.080s1.665-0.421 2.159-1.073l0.005-0.007c0.043-0.059 0.068-0.132 0.068-0.212 0-0.116-0.055-0.22-0.14-0.286l-0.001-0.001c-0.059-0.045-0.134-0.072-0.215-0.072-0.117 0-0.221 0.056-0.286 0.143l-0.001 0.001z"}),wp.element.createElement(a,{d:"M18.507 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(a,{d:"M17.389 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(a,{d:"M10.798 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(a,{d:"M11.918 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(a,{d:"M8.773 7.877c-0.001-0.003-0.002-0.005-0.002-0.009s0.001-0.006 0.002-0.009l-0 0c0.047-0.081 0.089-0.164 0.132-0.247 0.019-0.038 0.036-0.079 0.057-0.115 0.275-0.498 0.379-0.99 1.033-1.064h0.045c0 0 0.001 0 0.001 0 0.487 0 0.884 0.382 0.91 0.862l0 0.002c-0.678 0.124-1.261 0.277-1.827 0.468l0.092-0.027-0.275 0.096-0.1 0.036-0.045 0.017s-0.023 0-0.023-0.011z"}))},i=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.348 20.657v-0.135c1.029-0.471 1.758-1.446 1.916-2.563 0.434-0.157 0.739-0.576 0.739-1.051 0-0.408-0.221-0.774-0.562-0.969 0.036-0.111 0.065-0.223 0.087-0.335 0.182-0.901-0.025-1.822-0.583-2.592-0.548-0.758-1.373-1.281-2.321-1.473-0.255-0.051-0.515-0.077-0.773-0.077-0.813 0-1.607 0.262-2.234 0.739-0.646 0.49-1.088 1.187-1.244 1.962-0.118 0.587-0.070 1.193 0.139 1.762-0.355 0.191-0.59 0.566-0.59 0.985 0 0.481 0.31 0.901 0.751 1.055 0.163 1.144 0.916 2.128 1.978 2.587v0.106c-2.207 0.5-3.729 2.151-3.729 4.079v0.515h10.153v-0.515c0-1.929-1.522-3.58-3.729-4.080zM15.853 12.492c0.189 0 0.381 0.019 0.569 0.057 0.693 0.14 1.293 0.519 1.689 1.066 0.369 0.511 0.518 1.111 0.423 1.701-0.507-0.237-1.173-0.487-1.874-0.583-1.318-0.18-1.339-0.241-1.417-0.469l-0.252-0.728-0.579 0.512c-0.062 0.054-0.528 0.464-1.066 0.91-0.015-0.198-0.002-0.396 0.037-0.593 0.219-1.086 1.257-1.873 2.469-1.873zM13.67 16.025c0.361-0.292 0.718-0.594 0.977-0.816 0.358 0.323 0.916 0.414 1.874 0.545 0.65 0.089 1.287 0.349 1.748 0.578v1.161c0 1.268-1.031 2.299-2.299 2.299s-2.299-1.031-2.299-2.299v-1.468zM15.682 20.81c0.213 0.019 0.425 0.017 0.635-0.006v0.318l-0.318 0.177-0.317-0.176v-0.313zM12.006 24.22c0.237-1.154 1.25-2.113 2.646-2.501v0.010l1.346 0.748 1.35-0.748v-0.010c1.396 0.388 2.409 1.348 2.646 2.502l-7.987-0zM21.076 27.499h-10.153c-0.307 0-0.556-0.249-0.556-0.556s0.249-0.556 0.556-0.556h10.153c0.307 0 0.556 0.249 0.556 0.556s-0.249 0.556-0.556 0.556zM28.112 3.393h-9.422v-1.689c0-0.832-0.677-1.509-1.509-1.509h-2.363c-0.832 0-1.509 0.677-1.509 1.509v1.689h-9.422c-0.832 0-1.509 0.677-1.509 1.509v25.395c0 0.832 0.677 1.509 1.509 1.509h24.225c0.832 0 1.509-0.677 1.509-1.509v-25.395c-0-0.832-0.677-1.509-1.509-1.509zM14.421 1.703c0-0.219 0.178-0.397 0.397-0.397h2.363c0.219 0 0.397 0.178 0.397 0.397v5.083c0 0.219-0.178 0.397-0.397 0.397h-2.363c-0.219 0-0.397-0.178-0.397-0.397v-5.083zM28.509 30.297c0 0.219-0.178 0.397-0.397 0.397h-24.225c-0.219 0-0.397-0.178-0.397-0.397v-25.395c0-0.219 0.178-0.397 0.397-0.397h9.422v2.282c0 0.832 0.677 1.509 1.509 1.509h2.363c0.832 0 1.509-0.677 1.509-1.509v-2.282h9.422c0.219 0 0.397 0.178 0.397 0.397v25.395z"}))},c=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M30.457 11.777h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 18.886c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 15.523h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 23.388h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 30.497c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 27.134h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 0h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c0-0.829-0.674-1.503-1.503-1.503zM30.84 7.109c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM5.62 4.306c0 0.525-0.425 0.95-0.95 0.95s-0.95-0.425-0.95-0.95c0-0.525 0.425-0.95 0.95-0.95s0.95 0.425 0.95 0.95zM7.947 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 3.746h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56z"}))},s=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M30.584 0.099h-29.068c-0.781 0-1.417 0.635-1.417 1.416v29.068c0 0.781 0.635 1.416 1.417 1.416h29.068c0.781 0 1.416-0.635 1.416-1.416v-29.068c0-0.781-0.635-1.416-1.416-1.416zM1.515 1.219h29.068c0.163 0 0.296 0.133 0.296 0.296v3.476h-29.661v-3.476c0-0.163 0.133-0.296 0.296-0.296zM30.584 30.88h-29.068c-0.163 0-0.296-0.133-0.296-0.296v-24.472h29.661v24.472c0 0.163-0.133 0.296-0.296 0.296zM26.999 20.461h-21.062c-0.838 0-1.52 0.682-1.52 1.52v5.601c0 0.838 0.682 1.52 1.52 1.52h21.062c0.838 0 1.52-0.682 1.52-1.52v-5.601c0-0.838-0.682-1.52-1.52-1.52zM27.399 27.582c0 0.221-0.18 0.4-0.4 0.4h-21.062c-0.221 0-0.4-0.18-0.4-0.4v-5.601c0-0.221 0.179-0.4 0.4-0.4h21.062c0.221 0 0.4 0.179 0.4 0.4v5.601zM5.937 16.247h5.432c0.838 0 1.52-0.682 1.52-1.52v-5.432c0-0.838-0.682-1.52-1.52-1.52h-5.432c-0.838 0-1.52 0.682-1.52 1.52v5.432c0 0.838 0.682 1.52 1.52 1.52zM5.537 9.294c0-0.221 0.179-0.4 0.4-0.4h5.432c0.221 0 0.4 0.179 0.4 0.4v5.432c0 0.221-0.18 0.4-0.4 0.4h-5.432c-0.221 0-0.4-0.18-0.4-0.4v-5.432zM27.959 17.714h-22.982c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h22.982c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 14.793h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 11.433h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 8.072h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM4.543 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM7.384 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM10.224 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9z"}))},p=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M31.276 3.351h-14.587l-3.23-3.028c-0.103-0.097-0.239-0.15-0.38-0.15h-12.354c-0.307 0-0.556 0.249-0.556 0.556v30.697c0 0.307 0.249 0.556 0.556 0.556h30.551c0.307 0 0.556-0.249 0.556-0.556v-27.518c0-0.307-0.249-0.556-0.556-0.556zM1.281 1.286h11.578l3.23 3.028c0.103 0.097 0.239 0.15 0.38 0.15h14.25v3.013h-29.439v-6.191zM30.719 30.87h-29.439v-22.281h29.439v22.281z"}))},u=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M30.958 13.988h-0.64c-0.572-5.298-4.029-9.744-8.764-11.73h5.439v0.555c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.229c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.229c0.309 0 0.559-0.25 0.559-0.559v-0.555h5.439c-4.735 1.987-8.191 6.432-8.764 11.73h-0.64c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-0.464c0.709-6.044 5.49-10.86 11.518-11.621v0.446c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-0.446c6.028 0.761 10.809 5.578 11.518 11.621h-0.464c-0.309 0-0.559 0.25-0.559 0.559v2.23c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559zM29.223 2.253h-1.111v-1.111h1.111v1.111zM2.777 1.142h1.111v1.111h-1.111v-1.111zM2.712 15.608v0.609h-1.111v-0.973c0.001-0.046 0.002-0.092 0.003-0.138h1.108v0.501zM16 1.142c0.186 0 0.371 0.005 0.555 0.012v1.099h-1.111v-1.099c0.184-0.007 0.37-0.012 0.556-0.012zM30.399 15.25v0.967h-1.111v-1.111h1.107c0.002 0.048 0.003 0.096 0.004 0.144zM16.512 4.461c-0.089-0.204-0.29-0.336-0.513-0.336s-0.424 0.132-0.513 0.336l-7.287 16.694c-0.058 0.134-0.062 0.285-0.011 0.421l0.009 0.023c0.059 0.157 0.186 0.279 0.345 0.333 1.743 0.585 2.914 2.213 2.914 4.052 0 0.766-0.206 1.518-0.595 2.175-0.012 0.020-0.022 0.041-0.032 0.063-0.063 0.091-0.101 0.201-0.101 0.32v2.832c0 0.307 0.248 0.557 0.555 0.559l9.42 0.068c0.001 0 0.003 0 0.004 0 0.307 0 0.557-0.248 0.559-0.555 0.002-0.309-0.246-0.561-0.555-0.563l-8.865-0.064v-1.405h8.654c0.234 0 0.443-0.145 0.524-0.364l0.153-0.41c0.059-0.158 0.043-0.335-0.043-0.48-0.389-0.657-0.595-1.409-0.595-2.174 0-1.838 1.171-3.467 2.914-4.052 0.16-0.054 0.287-0.176 0.346-0.334l0.009-0.023c0.051-0.136 0.047-0.287-0.011-0.42l-7.287-16.694zM16 20.028c0.619 0 1.122 0.503 1.122 1.122s-0.504 1.122-1.122 1.122c-0.619 0-1.122-0.503-1.122-1.122s0.503-1.122 1.122-1.122zM19.424 25.983c0 0.802 0.179 1.591 0.52 2.31h-7.887c0.341-0.719 0.52-1.509 0.52-2.31 0-2.121-1.235-4.020-3.127-4.894l5.991-13.726v11.616c-0.966 0.249-1.682 1.128-1.682 2.17 0 1.236 1.005 2.241 2.241 2.241s2.241-1.005 2.241-2.241c0-1.043-0.716-1.921-1.682-2.17v-11.616l5.991 13.726c-1.892 0.874-3.127 2.773-3.127 4.894z"}))},m=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M30.424 0.171h-28.847c-0.775 0-1.406 0.631-1.406 1.406v28.848c0 0.775 0.631 1.406 1.406 1.406h28.847c0.775 0 1.406-0.631 1.406-1.406v-28.848c0-0.775-0.631-1.406-1.406-1.406zM1.576 1.282h28.847c0.162 0 0.294 0.132 0.294 0.294v3.45h-29.435v-3.45c0-0.162 0.132-0.294 0.294-0.294zM30.424 30.718h-28.847c-0.162 0-0.294-0.132-0.294-0.294v-24.286h29.435v24.286c0 0.162-0.132 0.294-0.294 0.294zM3.688 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM6.507 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM9.326 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM20.662 19.394l3.855-3.758c0.152-0.148 0.206-0.369 0.141-0.57s-0.239-0.348-0.449-0.378l-5.328-0.774-2.383-4.828c-0.094-0.19-0.287-0.31-0.498-0.31s-0.405 0.12-0.498 0.31l-2.383 4.828-5.328 0.774c-0.209 0.030-0.383 0.177-0.449 0.378s-0.011 0.422 0.141 0.57l3.855 3.758-0.91 5.307c-0.036 0.209 0.050 0.419 0.221 0.544s0.398 0.141 0.585 0.042l4.766-2.506 4.766 2.506c0.081 0.043 0.17 0.064 0.259 0.064 0.115 0 0.23-0.036 0.327-0.106 0.171-0.124 0.257-0.335 0.221-0.544l-0.91-5.307zM16.259 21.661c-0.162-0.085-0.355-0.085-0.517 0l-4.027 2.117 0.769-4.485c0.031-0.18-0.029-0.364-0.16-0.492l-3.258-3.176 4.503-0.654c0.181-0.026 0.338-0.14 0.418-0.304l2.014-4.080 2.014 4.080c0.081 0.164 0.238 0.278 0.419 0.304l4.503 0.654-3.258 3.176c-0.131 0.128-0.191 0.312-0.16 0.492l0.769 4.485-4.027-2.117zM16 25.179c-0.307 0-0.556 0.249-0.556 0.556v1.887c0 0.307 0.249 0.556 0.556 0.556s0.556-0.249 0.556-0.556v-1.887c0-0.307-0.249-0.556-0.556-0.556zM25.319 20.446l-1.794-0.583c-0.293-0.095-0.606 0.065-0.7 0.357s0.065 0.606 0.357 0.7l1.794 0.583c0.057 0.019 0.115 0.027 0.172 0.027 0.234 0 0.452-0.149 0.529-0.384 0.095-0.292-0.065-0.606-0.357-0.7zM20.218 12.197c0.099 0.072 0.213 0.106 0.326 0.106 0.172 0 0.341-0.079 0.45-0.229l1.109-1.526c0.18-0.248 0.125-0.596-0.123-0.776s-0.596-0.125-0.776 0.123l-1.109 1.526c-0.18 0.248-0.125 0.596 0.123 0.776zM11.006 12.075c0.109 0.15 0.278 0.229 0.45 0.229 0.113 0 0.228-0.034 0.326-0.106 0.248-0.18 0.303-0.528 0.123-0.776l-1.109-1.526c-0.18-0.248-0.528-0.303-0.776-0.123s-0.303 0.528-0.123 0.776l1.109 1.526zM8.475 19.863l-1.794 0.583c-0.292 0.095-0.452 0.408-0.357 0.7 0.076 0.235 0.294 0.384 0.529 0.384 0.057 0 0.115-0.009 0.172-0.027l1.794-0.583c0.292-0.095 0.452-0.408 0.357-0.7s-0.408-0.452-0.7-0.357z"}))},d=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M6.348 13.197c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.803-2.873-2.769-2.873zM25.842 3.161c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557zM25.742 22.433c-0.826 0-1.641 0.22-2.359 0.636-0.567 0.328-1.040 0.758-1.41 1.252l-11.344-6.569c0.069-0.174 0.13-0.353 0.179-0.537 0.276-1.036 0.194-2.11-0.226-3.079l11.319-6.555c0.878 1.235 2.316 1.986 3.848 1.986 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353-0.826 0-1.641 0.22-2.359 0.636-2.051 1.188-2.872 3.694-2.015 5.833l-11.344 6.569c-0.884-1.176-2.285-1.888-3.776-1.888-0.825 0-1.641 0.22-2.359 0.636-2.25 1.303-3.021 4.194-1.718 6.444 0.841 1.452 2.406 2.353 4.085 2.353 0.826 0 1.641-0.22 2.359-0.636 0.595-0.345 1.097-0.805 1.483-1.35l11.319 6.554c-0.567 1.323-0.526 2.888 0.249 4.227 0.841 1.452 2.406 2.353 4.085 2.353 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353zM23.941 1.734c0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.798-0.995-1.719-0.407-3.927 1.312-4.922zM8.056 19.117c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189zM29.226 28.077c-0.248 0.93-0.843 1.707-1.675 2.189-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.832 0.611 1.803 0.363 2.733zM25.842 24.346c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873z"}))},b=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M16 27.667l7.849-7.849c0.146-0.139 0.464-0.469 0.478-0.483l0.006-0.007c1.972-2.116 3.059-4.874 3.059-7.766 0-6.282-5.11-11.392-11.392-11.392s-11.392 5.11-11.392 11.392c0 2.893 1.086 5.651 3.058 7.766l8.334 8.339zM16 1.265c5.677 0 10.297 4.619 10.297 10.297 0 2.613-0.981 5.104-2.761 7.016-0.092 0.096-0.343 0.353-0.446 0.451l-7.089 7.089-7.539-7.543c-1.779-1.911-2.758-4.401-2.758-7.012 0-5.678 4.619-10.297 10.297-10.297zM17.755 4.005c1.966 0 5.792 2.149 5.792 6.090 0 0.303 0.245 0.548 0.548 0.548s0.548-0.245 0.548-0.548c0-2.051-0.906-3.953-2.552-5.354-1.306-1.112-3.008-1.831-4.335-1.831-0.302 0-0.548 0.245-0.548 0.548s0.245 0.548 0.548 0.548zM22.875 24.197c-0.427-0.174-0.886-0.33-1.371-0.467l-0.897 0.897c2.645 0.631 4.275 1.756 4.275 2.802 0 1.564-3.648 3.306-8.882 3.306s-8.882-1.742-8.882-3.306c0-1.045 1.631-2.171 4.275-2.802l-0.897-0.897c-0.485 0.137-0.944 0.293-1.371 0.467-2.001 0.818-3.102 1.966-3.102 3.232s1.102 2.415 3.102 3.232c1.845 0.754 4.287 1.169 6.875 1.169s5.030-0.415 6.875-1.169c2.001-0.818 3.102-1.966 3.102-3.232s-1.102-2.415-3.102-3.232zM16.032 16.804c-3.043 0-5.519-2.476-5.519-5.519s2.476-5.519 5.519-5.519c3.043 0 5.519 2.476 5.519 5.519s-2.476 5.519-5.519 5.519zM16.032 6.862c-2.439 0-4.423 1.984-4.423 4.423s1.984 4.423 4.423 4.423c2.439 0 4.423-1.984 4.423-4.423s-1.984-4.423-4.423-4.423z"}))},g=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M4.285 5.775c0.004 0 0.009 0.001 0.013 0.001h8.279c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-8.279c-0.307 0-0.556 0.249-0.556 0.556 0 0.302 0.242 0.548 0.542 0.555zM3.743 8.005c0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-13.679c-0.307 0-0.556 0.249-0.556 0.556zM17.977 10.236h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 13.022h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 15.807h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 18.593h-13.679c-0.307 0-0.556 0.249-0.556 0.555s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.555-0.556-0.555zM17.977 21.379h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 24.165h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM21.93 4.466l-4.277-3.87c-0.094-0.085-0.212-0.132-0.334-0.139h-15.831c-0.812 0-1.473 0.664-1.473 1.481v28.153c0 0.817 0.661 1.481 1.473 1.481h19.174c0.812 0 1.473-0.664 1.473-1.481v-25.222c-0.008-0.163-0.086-0.308-0.205-0.403zM17.833 2.238l2.331 2.109h-2.331v-2.109zM21.043 30.091c0 0.215-0.171 0.39-0.381 0.39h-19.174c-0.21 0-0.382-0.175-0.382-0.39v-28.153c0-0.215 0.171-0.39 0.382-0.39h15.251v3.348c0 0.303 0.245 0.549 0.547 0.549h3.758v24.647zM31.975 3.213c-0.125-1.57-1.442-2.809-3.044-2.809-0 0-0 0-0 0-0.816 0-1.583 0.318-2.16 0.895-0.519 0.519-0.827 1.191-0.884 1.915h-0.010v0.242c0 0.001-0 0.002-0 0.003s0 0.001 0 0.001l-0 24.342h0.003c0.010 0.096 0.045 0.191 0.108 0.273l2.509 3.305c0.103 0.136 0.264 0.216 0.435 0.216s0.331-0.080 0.435-0.216l2.508-3.305c0.063-0.083 0.098-0.177 0.108-0.274h0.003v-24.589h-0.011zM27.543 2.070c0.371-0.371 0.864-0.575 1.388-0.575h0c0.893 0 1.649 0.6 1.886 1.417h-3.772c0.091-0.315 0.26-0.604 0.498-0.842zM28.362 26.711l-1.394 0 0-22.406h3.926v22.406h-1.442l0-18.071-1.090 0 0 18.071zM28.931 30.148l-1.781-2.346 3.562-0-1.781 2.346z"}))},h=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M31.908 1.543c0-0.815-0.677-1.478-1.51-1.478h-28.731c-0.815 0-1.478 0.677-1.478 1.51v14.441c0 0.022 0.002 0.044 0.004 0.065-0.003 0.021-0.004 0.043-0.004 0.065v14.357c0 0.815 0.677 1.478 1.51 1.478h28.731c0.815 0 1.478-0.677 1.478-1.51v-14.441c0-0.022-0.002-0.044-0.004-0.065 0.003-0.021 0.004-0.043 0.004-0.065v-14.357zM30.792 1.543v13.799h-4.324c0.587-0.66 0.932-1.525 0.932-2.453 0-0.737-0.218-1.423-0.592-2-0.648-1.066-1.82-1.78-3.156-1.78-2.034 0-3.689 1.655-3.689 3.689 0 0.745 0.223 1.449 0.615 2.039 0.111 0.178 0.236 0.347 0.376 0.504h-4.372v-6.025c0-0.184-0.090-0.347-0.228-0.449-0.101-0.103-0.242-0.167-0.398-0.167h-0.173c-0.24 0-0.453 0.153-0.529 0.38-0.352 1.049-1.332 1.754-2.439 1.754-0.419 0-0.815-0.101-1.166-0.28-0.776-0.444-1.301-1.279-1.301-2.235 0-1.419 1.154-2.574 2.574-2.574 0.408 0 0.799 0.096 1.147 0.27 0.546 0.305 0.976 0.804 1.185 1.426 0.052 0.155 0.169 0.275 0.314 0.335 0.092 0.065 0.204 0.103 0.322 0.103h0.133c0.308 0 0.558-0.25 0.558-0.558v-6.142h13.816c0.217 0 0.394 0.162 0.394 0.362zM1.305 1.575c0-0.217 0.162-0.394 0.362-0.394h13.732v4.404c-0.239-0.216-0.505-0.401-0.793-0.549-0.536-0.297-1.148-0.464-1.791-0.464-2.034 0-3.689 1.655-3.689 3.689 0 1.423 0.81 2.659 1.992 3.274 0.534 0.301 1.149 0.473 1.804 0.473 0.939 0 1.813-0.354 2.476-0.955v4.404h-6.016c-0.308 0-0.558 0.25-0.558 0.558v0.173c0 0.127 0.043 0.245 0.117 0.34 0.065 0.129 0.178 0.231 0.321 0.279 0.562 0.189 1.023 0.558 1.332 1.030 0.232 0.39 0.364 0.842 0.364 1.318 0 1.419-1.154 2.574-2.574 2.574-0.894 0-1.682-0.458-2.144-1.151-0.236-0.389-0.372-0.844-0.372-1.331-0-1.107 0.705-2.087 1.754-2.44 0.227-0.076 0.38-0.289 0.38-0.529v-0.133c0-0.106-0.030-0.204-0.081-0.288-0.068-0.231-0.282-0.4-0.535-0.4h-6.084v-13.883zM1.305 30.505v-13.799h4.324c-0.587 0.66-0.932 1.525-0.932 2.453 0 0.737 0.218 1.424 0.592 2 0.647 1.066 1.82 1.78 3.156 1.78 2.034 0 3.689-1.655 3.689-3.689-0-0.745-0.223-1.449-0.615-2.040-0.111-0.178-0.236-0.347-0.376-0.504h4.372v6.025c0 0.184 0.090 0.347 0.228 0.449 0.101 0.103 0.242 0.167 0.398 0.167h0.173c0.24 0 0.453-0.153 0.529-0.38 0.352-1.049 1.332-1.754 2.439-1.754 0.419 0 0.815 0.101 1.165 0.28 0.776 0.444 1.301 1.279 1.301 2.236 0 1.419-1.154 2.574-2.574 2.574-0.408 0-0.799-0.096-1.147-0.27-0.546-0.305-0.976-0.804-1.185-1.426-0.052-0.155-0.169-0.275-0.314-0.336-0.092-0.065-0.204-0.103-0.322-0.103h-0.133c-0.308 0-0.558 0.25-0.558 0.558v6.142h-13.816c-0.217-0-0.394-0.163-0.394-0.362zM30.792 30.472c0 0.217-0.162 0.394-0.362 0.394h-13.732v-4.404c0.239 0.216 0.505 0.401 0.792 0.548 0.536 0.297 1.148 0.464 1.791 0.464 2.034 0 3.689-1.655 3.689-3.689 0-1.423-0.81-2.659-1.993-3.274-0.534-0.301-1.149-0.473-1.804-0.473-0.939 0-1.813 0.354-2.476 0.955v-4.404h6.016c0.308 0 0.558-0.25 0.558-0.558v-0.173c0-0.126-0.044-0.245-0.117-0.34-0.064-0.129-0.178-0.231-0.321-0.279-0.562-0.189-1.023-0.558-1.332-1.030-0.232-0.389-0.363-0.842-0.363-1.318 0-1.419 1.154-2.574 2.574-2.574 0.894 0 1.682 0.458 2.144 1.151 0.236 0.389 0.372 0.844 0.372 1.331 0 1.107-0.705 2.087-1.754 2.439-0.227 0.076-0.38 0.289-0.38 0.529v0.133c0 0.106 0.030 0.204 0.081 0.289 0.068 0.231 0.282 0.4 0.535 0.4h6.084v13.883z"}))},f=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M15.517 23.581c-0.036 0.002-0.069-0.003-0.102-0.009-0.108-0.019-0.211-0.070-0.294-0.153l-9.153-9.153c-0.104-0.104-0.162-0.245-0.162-0.392s0.058-0.288 0.163-0.392l2.13-2.129c0.217-0.217 0.568-0.217 0.784 0l6.633 6.633 12.94-12.94c0.217-0.217 0.568-0.217 0.785 0l2.13 2.13c0.104 0.104 0.163 0.245 0.163 0.392s-0.058 0.288-0.162 0.392l-15.46 15.46c-0.104 0.104-0.245 0.163-0.392 0.163zM7.145 13.873l8.37 8.37 14.678-14.678-1.345-1.345-12.94 12.94c-0.217 0.217-0.568 0.217-0.785 0l-6.633-6.633-1.345 1.345zM30.087 11.781c0.401 1.337 0.618 2.753 0.618 4.219 0 8.108-6.596 14.704-14.705 14.704s-14.704-6.596-14.704-14.704c0-8.108 6.596-14.705 14.704-14.705 3.79 0 7.25 1.442 9.86 3.805l0.785-0.785c-2.812-2.564-6.549-4.129-10.645-4.129-8.72 0-15.814 7.094-15.814 15.814s7.094 15.814 15.814 15.814c8.72 0 15.814-7.094 15.814-15.814 0-1.784-0.297-3.501-0.845-5.102l-0.883 0.883z"}))},y=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.425 25.368h-3.22v-2.107c-1.234-0.109-2.518-0.463-3.389-0.944l-0.373-0.206 0.93-3.628 0.622 0.341c0.602 0.33 1.835 0.883 3.323 0.883 0.769 0 1.545-0.244 1.545-0.789 0-0.365-0.235-0.783-1.938-1.358-1.985-0.668-4.264-1.78-4.264-4.477 0-2.098 1.387-3.709 3.652-4.289v-2.162h3.22v1.931c1.366 0.11 2.263 0.465 2.838 0.736l0.416 0.196-0.937 3.53-0.621-0.298c-0.539-0.259-1.442-0.692-2.853-0.692-0.488 0-1.307 0.088-1.307 0.681 0 0.448 1.192 0.94 2.231 1.319 2.781 0.973 3.971 2.344 3.971 4.58 0 1.114-0.391 2.124-1.13 2.922-0.668 0.721-1.601 1.236-2.716 1.503v2.328zM15.307 24.266h1.016v-2.139l0.457-0.079c2.090-0.36 3.389-1.676 3.389-3.433 0-1.446-0.551-2.601-3.24-3.542-1.624-0.592-2.962-1.176-2.962-2.357 0-0.862 0.633-1.783 2.409-1.783 1.213 0 2.119 0.278 2.746 0.536l0.36-1.354c-0.565-0.222-1.372-0.445-2.517-0.479l-0.535-0.016v-1.886h-1.016v1.959l-0.45 0.084c-2.005 0.375-3.202 1.61-3.202 3.305 0 1.577 1.051 2.604 3.514 3.432 1.396 0.472 2.688 1.089 2.688 2.402 0 1.149-1.039 1.891-2.647 1.891-1.312 0-2.447-0.366-3.222-0.708l-0.369 1.437c0.709 0.309 1.808 0.617 3.045 0.654l0.535 0.016v2.058zM15.901 30.607c-8.054 0-14.607-6.552-14.607-14.606s6.552-14.607 14.607-14.607c8.054 0 14.607 6.552 14.607 14.607 0 2.567-0.667 4.981-1.834 7.079l1.095 0.293c1.174-2.2 1.841-4.71 1.841-7.373 0-8.662-7.047-15.709-15.709-15.709s-15.709 7.047-15.709 15.709 7.047 15.709 15.709 15.709c2.752 0 5.34-0.712 7.592-1.96l-0.294-1.099c-2.148 1.244-4.641 1.957-7.297 1.957zM29.539 31.709c-0.141 0-0.282-0.054-0.39-0.161l-2.673-2.673-0.86 1.786c-0.1 0.208-0.32 0.331-0.548 0.31s-0.421-0.184-0.481-0.406l-1.977-7.377c-0.051-0.19 0.004-0.393 0.143-0.532s0.342-0.194 0.532-0.143l7.377 1.977c0.222 0.060 0.385 0.252 0.406 0.481s-0.102 0.448-0.31 0.548l-1.787 0.86 2.673 2.672c0.103 0.103 0.161 0.244 0.161 0.39s-0.058 0.286-0.161 0.39l-1.717 1.717c-0.108 0.107-0.249 0.161-0.39 0.161zM26.318 27.385c0.145 0 0.285 0.057 0.39 0.161l2.832 2.832 0.938-0.938-2.832-2.832c-0.126-0.126-0.184-0.306-0.154-0.482s0.143-0.327 0.304-0.404l1.148-0.552-5.020-1.345 1.345 5.020 0.552-1.148c0.077-0.161 0.228-0.274 0.404-0.304 0.031-0.005 0.062-0.008 0.092-0.008zM20.272 5.201c1.977 0 5.826 2.162 5.826 6.126 0 0.304 0.247 0.551 0.551 0.551s0.551-0.247 0.551-0.551c0-2.063-0.912-3.976-2.568-5.387-1.314-1.119-3.025-1.842-4.361-1.842-0.304 0-0.551 0.247-0.551 0.551s0.247 0.551 0.551 0.551z"}))},w=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M31.438 1.423h-30.877c-0.31 0-0.562 0.251-0.562 0.562v22.175c0 0.31 0.251 0.562 0.562 0.562h3.103v5.294c0 0.201 0.107 0.386 0.281 0.486 0.087 0.050 0.184 0.075 0.281 0.075s0.194-0.025 0.281-0.075l10.012-5.78h16.919c0.31 0 0.562-0.251 0.562-0.562v-22.175c0-0.31-0.251-0.562-0.562-0.562zM30.877 23.598h-16.508c-0.099 0-0.195 0.026-0.281 0.075l-9.3 5.369v-4.883c0-0.31-0.251-0.562-0.562-0.562h-3.103v-21.052h29.753v21.052zM4.386 7.532h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 11.865h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 16.198h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 20.53h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.252-0.562 0.562s0.251 0.562 0.562 0.562z"}))},v=function(){return wp.element.createElement(l,{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M0 448V64h18v384H0zm26.857-.273V64H36v383.727h-9.143zm27.143 0V64h8.857v383.727H54zm44.857 0V64h8.857v383.727h-8.857zm36 0V64h17.714v383.727h-17.714zm44.857 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm35.715 0V64h18v383.727h-18zm44.857 0V64h18v383.727h-18zm35.999 0V64h18.001v383.727h-18.001zm36.001 0V64h18.001v383.727h-18.001zm26.857 0V64h18v383.727h-18zm45.143 0V64h26.857v383.727h-26.857zm35.714 0V64h9.143v383.727H476zm18 .273V64h18v384h-18z"}))},k=function(){return wp.element.createElement(l,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"4.744",width:"11.022",height:"2.512"}))},E=function(){return wp.element.createElement(l,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{y:"8.744",width:"11.022",x:"4.489",height:"2.512"}))},C=function(){return wp.element.createElement(l,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"12.802",width:"11.022",height:"2.512"}))},x=wp.element.createElement(l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},wp.element.createElement(a,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return l}));var o=wp.i18n.__,a=function(e){var t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent},l=function(e){var t=[o("January"),o("February"),o("March"),o("April"),o("May"),o("June"),o("July"),o("August"),o("September"),o("October"),o("November"),o("December")],n=(e=new Date(e)).getDate(),a=e.getMonth(),l=e.getFullYear();return n+" "+t[a]+", "+l}},function(e,t,n){"use strict";var o=n(0),a=n.n(o);n(57);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp.i18n.__,u=wp.components,m=u.Dropdown,d=u.IconButton,b=u.RangeControl,g=wp.compose.withInstanceId,h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i(this,c(t).apply(this,arguments))}var n,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this,t="inspector-sizing-control-".concat(this.props.instanceId);return this.props.options&&1>this.props.options.length?p("Please specify more options."):wp.element.createElement("div",{id:t,className:"wp-block-themeisle-blocks-sizing-control"},wp.element.createElement("div",{className:"components-base-control__field"},this.props.label&&wp.element.createElement("label",{className:"components-base-control__label",htmlFor:t},this.props.label),wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-sizing-control-wrapper",{linking:this.props.type})},this.props.options.map((function(t,n){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-item"},t.disabled?wp.element.createElement("input",{type:"number",disabled:t.disabled,className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(n)}):wp.element.createElement(m,{position:"top center",focusOnMount:!1,renderToggle:function(o){o.isOpen;var a=o.onToggle;return wp.element.createElement("input",{type:"number",className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(n,"-").concat(e.props.instanceId),value:t.value,min:e.props.min,max:e.props.max,onFocus:a,onChange:function(n){return e.props.onChange(t.type,parseInt(n.target.value))}})},renderContent:function(n){return n.onToggle,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-overlay"},wp.element.createElement(b,{value:t.value,initialPosition:t.value,beforeIcon:"minus",afterIcon:"plus",min:e.props.min,max:e.props.max,onChange:function(n){return e.props.onChange(t.type,n)}}))}}),t.label&&wp.element.createElement("label",{className:"wp-block-themeisle-blocks-sizing-control-item-label",htmlFor:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(n,"-").concat(e.props.instanceId)},t.label))})),this.props.type&&wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-sizing-control-item","toggle-linking",{"is-linked":"linked"===this.props.type})},wp.element.createElement(d,{icon:"linked"===this.props.type?"admin-links":"editor-unlink",tooltip:"linked"===this.props.type?p("Unlink Values"):p("Link Values"),className:"wp-block-themeisle-blocks-sizing-control-item-input",onClick:function(){return e.props.changeType("linked"===e.props.type?"unlinked":"linked")}})))))}}])&&r(n.prototype,o),l&&r(n,l),t}(wp.element.Component);t.a=g(h)},,function(e,t,n){"use strict";var o=n(0),a=n.n(o),l=(n(56),wp.i18n.__),r=wp.components,i=r.Button,c=r.Dashicon,s=r.Dropdown,p=r.IconButton,u=wp.compose.withInstanceId;t.a=u((function(e){var t=e.label,n=e.instanceId,o=e.changeViewType,r=e.view,u=e.children,m="inspector-responsive-control-".concat(n);return wp.element.createElement("div",{id:m,className:"wp-block-themeisle-blocks-responsive-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},t),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(s,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(p,{icon:"mobile"===r?"smartphone":r,label:l("Responsiveness Settings"),className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onToggle;return wp.element.createElement("div",{className:"wp-block-themeisle-responsiveness-settings"},wp.element.createElement("div",{className:"responsiveness-title"},l("Responsiveness Settings")),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"desktop"===r}),onClick:function(){t(),o("desktop")}},wp.element.createElement(c,{icon:"desktop"}),wp.element.createElement("span",{className:"popover-title"},l("Desktop"))),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"tablet"===r}),onClick:function(){t(),o("tablet")}},wp.element.createElement(c,{icon:"tablet"}),wp.element.createElement("span",{className:"popover-title"},l("Tablet Devices"))),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"mobile"===r}),onClick:function(){t(),o("mobile")}},wp.element.createElement(c,{icon:"smartphone"}),wp.element.createElement("span",{className:"popover-title"},l("Smartphones"))))}}))),u))}))},function(e,t,n){"use strict";n(55);var o=wp.components,a=o.Dropdown,l=o.IconButton,r=wp.compose.withInstanceId;t.a=r((function(e){var t=e.label,n=e.instanceId,o=e.children,r="inspector-control-panel-control-".concat(n);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-control-panel-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label",for:r},t),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(a,{position:"top left",headerTitle:t,expandOnMobile:!0,renderToggle:function(e){var n=e.isOpen,o=e.onToggle;return wp.element.createElement(l,{id:r,icon:"admin-settings",label:t,className:"is-button",onClick:o,"aria-expanded":n})},renderContent:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-popover-settings"},o)}})))))}))},function(e,t){e.exports=React},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=(n(100),n(101),wp.components),r=l.SVG,i=l.Path;t.default=function(e){var t=e.type,n=e.front,o=e.style,l=e.fill,c=e.invert,s=e.width,p=e.height;return"none"!==o&&wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&s?{transform:"".concat(s?"scaleX( ".concat(s/100," )"):"")}:{}},"bigTriangle"===o&&!1===c&&wp.element.createElement(r,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===o&&!0===c&&wp.element.createElement(r,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===o&&!1===c&&wp.element.createElement(r,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===o&&!0===c&&wp.element.createElement(r,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===o&&wp.element.createElement(r,{id:"curve",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===o&&!1===c&&wp.element.createElement(r,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===o&&!0===c&&wp.element.createElement(r,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===o&&wp.element.createElement(r,{id:"cloud",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))}},,function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=(n(90),n(2)),r=wp.i18n.__,i=wp.components,c=i.Button,s=i.ButtonGroup,p=i.Icon,u=i.IconButton,m=i.Tooltip,d=wp.compose.withInstanceId;t.default=d((function(e){var t=e.label,n=e.instanceId,o=e.backgroundType,i=e.changeBackgroundType,d="inspector-background-control-".concat(n);return wp.element.createElement("div",{id:d,className:"components-base-control wp-block-themeisle-blocks-advanced-columns-background-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},t),wp.element.createElement(s,{className:"linking-controls"},wp.element.createElement(u,{icon:"admin-customizer",label:r("Color"),className:a()("is-button",{"is-primary":"color"===o}),onClick:function(){i("color")}}),wp.element.createElement(u,{icon:"format-image",label:r("Image"),className:a()("is-button",{"is-primary":"image"===o}),onClick:function(){i("image")}}),wp.element.createElement(m,{text:r("Gradient")},wp.element.createElement(c,{label:r("Gradient"),className:a()("is-button",{"is-primary":"gradient"===o}),onClick:function(){i("gradient")}},wp.element.createElement(p,{icon:l.b})))))))}))},function(e,t,n){"use strict";var o=n(0),a=n.n(o);n(54);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e,t,n,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t){return!t||"object"!==l(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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=lodash,d=m.startCase,b=m.toLower,g=wp.i18n.__,h=wp.compose.withInstanceId,f=wp.components,y=f.Button,w=f.BaseControl,v=f.Dropdown,k=f.MenuGroup,E=f.MenuItem,C=f.SelectControl,x=f.TextControl,T=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,p(t).apply(this,arguments))).state={fonts:null,font:[],variants:null,search:""},e}var n,o,l,m,h;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(m=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyClGdkPJ1BvgLOol5JAkQY4Mv2lkLYu00k").then((function(e){return e.json()})).then((function(e){t.setState({fonts:e.items}),t.props.value&&e.items.find((function(e){if(t.props.value===e.family){var n=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:d(b(e)),value:e}}));return t.setState({variants:n})}}))}));case 2:case"end":return e.stop()}}),e)})),h=function(){var e=this,t=arguments;return new Promise((function(n,o){var a=m.apply(e,t);function l(e){i(a,n,o,l,r,"next",e)}function r(e){i(a,n,o,l,r,"throw",e)}l(void 0)}))},function(){return h.apply(this,arguments)})},{key:"render",value:function(){var e=this,t="inspector-google-fonts-control-".concat(this.props.instanceId);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-fonts-control"},wp.element.createElement(w,{label:this.props.label,id:t},null!==this.state.fonts?this.props.isSelect?wp.element.createElement(C,{value:this.props.value||"",id:t,options:[{label:g("Default"),value:""}].concat(r(this.state.fonts.map((function(e){return{label:e.family,value:e.family}})))),onChange:function(t){e.props.onChangeFontFamily(t),e.props.onChangeFontVariant("regular");var n=e.state.fonts.find((function(e){return t===e.family})),o=n.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:d(b(e)),value:e}}));e.setState({font:n,variants:o})}}):wp.element.createElement(v,{contentClassName:"wp-block-themeisle-blocks-google-fonts-popover",position:"bottom center",renderToggle:function(n){var o=n.isOpen,a=n.onToggle;return wp.element.createElement(y,{isLarge:!0,className:"wp-block-themeisle-blocks-google-fonts-button",id:t,onClick:a,"aria-expanded":o},e.props.value?e.props.value:g("Select Font Family"))},renderContent:function(t){var n=t.onToggle;return wp.element.createElement(k,{label:g("Google Fonts")},wp.element.createElement(x,{value:e.state.search,onChange:function(t){return e.setState({search:t})}}),wp.element.createElement("div",{className:"components-popover__items"},wp.element.createElement(E,{onClick:function(){n(),e.props.onChangeFontFamily(""),e.setState({font:[],variants:[],search:""})}},g("Default")),e.state.fonts.map((function(t){if(!e.state.search||t.family.toLowerCase().includes(e.state.search.toLowerCase()))return wp.element.createElement(E,{className:a()({"is-selected":t.family===e.props.value}),onClick:function(){n(),e.props.onChangeFontFamily(t.family),e.props.onChangeFontVariant("regular");var o=t.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:d(b(e)),value:e}}));e.setState({font:t,variants:o,search:""})}},t.family)}))))}}):g("Loading…")),this.state.variants&&wp.element.createElement(C,{label:g("Font Width"),value:this.props.valueVariant||"regular",options:this.state.variants,onChange:this.props.onChangeFontVariant}),wp.element.createElement(C,{label:g("Font Style"),value:this.props.valueStyle,options:[{label:g("Regular"),value:"normal"},{label:g("Italic"),value:"italic"}],onChange:this.props.onChangeFontStyle}),!this.props.disableTransform&&wp.element.createElement(C,{label:g("Font Transform"),value:this.props.valueTransform,options:[{label:g("Default"),value:"none"},{label:g("Uppercase"),value:"uppercase"},{label:g("Lowercase"),value:"lowercase"},{label:g("Capitalize"),value:"capitalize"}],onChange:this.props.onChangeTextTransform}))}}])&&c(n.prototype,o),l&&c(n,l),t}(wp.element.Component);t.a=h(T)},,function(e,t,n){"use strict";n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return g}));var o=n(0),a=n.n(o),l=(n(84),wp.components),r=l.BaseControl,i=l.Button,c=l.Dropdown,s=l.IconButton,p=l.Toolbar,u=wp.compose.withInstanceId,m=(wp.blockEditor||wp.editor).BlockControls,d=wp.element.Fragment,b=u((function(e){var t=e.instanceId,n=e.label,o=e.value,l=e.options,c=e.onChange,s="inspector-style-switcher-control-".concat(t);return wp.element.createElement(r,{id:s,label:n},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},l.map((function(e){return wp.element.createElement(i,{className:a()("blocks-style-switcher-item",{"is-active":e.value===o}),tabIndex:"0",onClick:function(){return function(e){return c(e)}(e.value)}},wp.element.createElement("div",{className:"blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"blocks-style-switcher-item-label"},e.label))}))))})),g=function(e){var t=e.label,n=e.value,o=e.options,l=e.onChange;return wp.element.createElement(m,null,wp.element.createElement(p,{className:"wp-themesiel-blocks-block-styles-components-toolbar"},wp.element.createElement(c,{contentClassName:"wp-themesiel-blocks-block-styles-popover-content",position:"bottom center",renderToggle:function(e){var n=e.isOpen,o=e.onToggle;return wp.element.createElement(s,{className:"components-dropdown-menu__toggle",icon:"admin-appearance",onClick:o,"aria-haspopup":"true","aria-expanded":n,label:t,tooltip:t},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(d,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},o.map((function(e){return wp.element.createElement(i,{className:a()("blocks-style-switcher-item",{"is-active":e.value===n}),tabIndex:"0",onClick:function(){return function(e){return l(e)}(e.value)}},wp.element.createElement("div",{className:"blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"blocks-style-switcher-item-label"},e.label))}))))}})))}},function(e,t){e.exports=ReactDOM},,function(e,t,n){"use strict";var o=n(0),a=n.n(o),l=n(38);n(60);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=wp.i18n.__,m=wp.apiFetch,d=wp.components,b=d.BaseControl,g=d.IconButton,h=d.Popover,f=wp.compose,y=f.compose,w=f.withInstanceId,v=wp.data.withSelect,k=wp.element,E=k.Component,C=k.createRef,x=wp.keycodes,T=x.DOWN,S=x.ENTER,B=x.TAB,O=x.UP,M=wp.url.addQueryArgs,L=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=c(t).apply(this,arguments))||"object"!==r(o)&&"function"!=typeof o?s(n):o).bindSuggestionNode=e.bindSuggestionNode.bind(s(e)),e.updateSuggestions=e.updateSuggestions.bind(s(e)),e.onChangeValue=e.onChangeValue.bind(s(e)),e.clickSuggestion=e.clickSuggestion.bind(s(e)),e.onKeyDown=e.onKeyDown.bind(s(e)),e.autocompleteRef=e.autocompleteRef||C(),e.scrollingIntoView=!1,e.suggestionNodes=[],e.state={isOpen:!1,showSuggestions:!1,selectedSuggestion:null,suggestions:[]},e}var n,o,d;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),n=t,(o=[{key:"componentDidUpdate",value:function(){var e=this;this.state.showSuggestions&&null!==this.state.selectedSuggestion&&!this.scrollingIntoView&&null!==this.autocompleteRef.current&&(this.scrollingIntoView=!0,Object(l.a)(this.suggestionNodes[this.state.selectedSuggestion],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t,n=this,o=this.props.fetchLinkSuggestions;1>=e.length||/^https?:/.test(e)?this.setState({showSuggestions:!1}):(this.setState({showSuggestions:!0}),(t=o?o(e):m({path:M("/wp/v2/search",{search:e,per_page:20,type:"post"})})).then((function(e){n.suggestionsRequest===t&&n.setState({suggestions:e})})),this.suggestionsRequest=t)}},{key:"onChangeValue",value:function(e){this.props.onChange(e.target.value),this.props.suggestions||this.updateSuggestions(e.target.value)}},{key:"clickSuggestion",value:function(e){this.props.onChange(e),this.setState({showSuggestions:!1})}},{key:"onKeyDown",value:function(e){if(this.state.showSuggestions&&1<=this.state.suggestions.length){var t=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case O:e.stopPropagation(),e.preventDefault();var n=this.state.selectedSuggestion?this.state.selectedSuggestion-1:this.state.suggestions.length-1;this.setState({selectedSuggestion:n});break;case T:e.stopPropagation(),e.preventDefault();var o=null===this.state.selectedSuggestion||this.state.selectedSuggestion===this.state.suggestions.length-1?0:this.state.selectedSuggestion+1;this.setState({selectedSuggestion:o});break;case B:case S:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.clickSuggestion(t.url))}}}},{key:"render",value:function(){var e=this,t="inspector-link-control-".concat(this.props.instanceId);return wp.element.createElement(b,{id:t,label:this.props.label,help:this.props.help,className:this.props.className},wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-link-control-wrapper",{"is-open":this.state.isOpen})},wp.element.createElement("input",{type:"url",placeholder:this.props.placeholder,value:this.props.value,onChange:this.onChangeValue,onKeyDown:this.onKeyDown,className:a()("components-text-control__input",{"is-full":void 0===this.props.children})}),this.state.showSuggestions&&0<this.state.suggestions.length&&wp.element.createElement(h,{position:"bottom",noArrow:!0,focusOnMount:!1,className:"wp-block-themeisle-blocks-link-control-popover"},wp.element.createElement("div",{ref:this.autocompleteRef,className:"wp-block-themeisle-blocks-link-control-popover-container"},this.state.suggestions.map((function(t,n){return wp.element.createElement("button",{key:t.id,role:"option",tabIndex:"-1",ref:e.bindSuggestionNode(n),className:a()("block-editor-url-input__suggestion","editor-url-input__suggestion",{"is-selected":n===e.state.selectedSuggestion}),onClick:function(){return e.clickSuggestion(t.url)}},t.title||u("Untitled Post"))})))),void 0!==this.props.children&&wp.element.createElement(g,{icon:"admin-generic",tooltip:u("Link Options"),onClick:function(){return e.setState({isOpen:!e.state.isOpen})}})),this.state.isOpen&&this.props.children)}}])&&i(n.prototype,o),d&&i(n,d),t}(E);t.a=y(w,v((function(e){if(e("core/block-editor"))return{fetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(L)},,,function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=(n(91),wp.i18n.__),r=wp.components,i=r.Button,c=r.Dashicon,s=r.Dropdown,p=r.IconButton,u=r.Path,m=r.SVG,d=r.Tooltip,b=wp.compose.withInstanceId,g=wp.element.Fragment;t.default=b((function(e){var t,n=e.label,o=e.instanceId,r=e.onClick,b=e.layout,h=e.layoutTablet,f=e.layoutMobile,y=e.columns,w=e.changeViewType,v=e.view,k="inspector-layout-control-".concat(o);return"desktop"===v?t=b:"tablet"===v?t=h:"mobile"===v&&(t=f),wp.element.createElement("div",{id:k,className:"wp-block-themeisle-blocks-advanced-columns-layout-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement("div",{className:"linking-controls"},wp.element.createElement(s,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(p,{icon:"mobile"===v?"smartphone":v,label:l("Responsiveness Settings"),className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onToggle;return wp.element.createElement("div",{className:"wp-block-themeisle-responsiveness-settings"},wp.element.createElement("div",{className:"responsiveness-title"},l("Responsiveness Settings")),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"desktop"===v}),onClick:function(){t(),w("desktop")}},wp.element.createElement(c,{icon:"desktop"}),wp.element.createElement("span",{className:"popover-title"},l("Desktop"))),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"tablet"===v}),onClick:function(){t(),w("tablet")}},wp.element.createElement(c,{icon:"tablet"}),wp.element.createElement("span",{className:"popover-title"},l("Tablet Devices"))),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"mobile"===v}),onClick:function(){t(),w("mobile")}},wp.element.createElement(c,{icon:"smartphone"}),wp.element.createElement("span",{className:"popover-title"},l("Smartphones"))))}}))),1===y&&wp.element.createElement(d,{text:l("Single Row")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M100,0V50H0V0Z"}))))||2===y&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M49,0V50H0V0Z M100,0V50H51V0Z"})))),wp.element.createElement(d,{text:l("1:2")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwo"===t}),onClick:function(){return r("oneTwo")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M32.6667,0V50H0V0Z M100,0V50H34.6667V0Z"})))),wp.element.createElement(d,{text:l("2:1")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOne"===t}),onClick:function(){return r("twoOne")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M65.3333,0V50H0V0Z M100,0V50H67.3333V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"})))))||3===y&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M32,0V50H0V0Z M66,0V50H34V0Z M100,0V50H68V0Z"})))),wp.element.createElement(d,{text:l("1:1:2")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneOneTwo"===t}),onClick:function(){return r("oneOneTwo")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M24,0V50H0V0Z M50,0V50H26V0Z M100,0V50H52V0Z"})))),wp.element.createElement(d,{text:l("2:1:1")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOneOne"===t}),onClick:function(){return r("twoOneOne")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M48,0V50H0V0Z M74,0V50H50V0Z M100,0V50H76V0Z"})))),wp.element.createElement(d,{text:l("1:2:1")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwoOne"===t}),onClick:function(){return r("oneTwoOne")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M24,0V50H0V0Z M74,0V50H26V0Z M100,0V50H76V0Z"})))),wp.element.createElement(d,{text:l("1:3:1")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneThreeOne"===t}),onClick:function(){return r("oneThreeOne")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M20,0V50H0V0Z M78,0V50H22V0Z M100,0V50H80V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"})))))||4===y&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M23.5,0V50H0V0Z M49,0V50H25.5V0Z M74.5,0V50H51V0Z M100,0V50H76.5V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Two Column Grid")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return r("twoColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 50 0 L 50 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 51 0 L 100 0 L 100 24 L 51 24 L 51 0"}),wp.element.createElement(u,{d:"M 0 26 L 50 26 L 50 50 L 0 50 L 0 26"}),wp.element.createElement(u,{d:"M 51 26 L 100 26 L 100 60 L 51 60 L 51 26"})))),wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"}))))))||5===y&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M18.4,0V50H0V0Z M38.8,0V50H20.4V0Z M59.2,0V50H40.8V0Z M79.6,0V50H61.2V0Z M100,0V50H81.6V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"})))))||6===y&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M15,0V50H0V0Z M32,0V50H17V0Z M49,0V50H34V0Z M66,0V50H51V0Z M83,0V50H68V0Z M100,0V50H85V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Two Column Grid")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return r("twoColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 50 0 L 50 16 L 0 16 L 0 0"}),wp.element.createElement(u,{d:"M 51 0 L 100 0 L 100 16 L 51 16 L 51 0"}),wp.element.createElement(u,{d:"M 0 17 L 50 17 L 50 33 L 0 33 L 0 17"}),wp.element.createElement(u,{d:"M 51 17 L 100 17 L 100 33 L 51 33 L 51 17"}),wp.element.createElement(u,{d:"M 0 34 L 50 34 L 50 50 L 0 50 L 0 34"}),wp.element.createElement(u,{d:"M 51 34 L 100 34 L 100 50 L 51 50 L 51 34"})))),wp.element.createElement(d,{text:l("Three Column Grid")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"threeColumnGrid"===t}),onClick:function(){return r("threeColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 33 0 L 33 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 34 0 L 66 0 L 66 24 L 34 24 L 34 0"}),wp.element.createElement(u,{d:"M 67 0 L 100 0 L 100 24 L 67 24 L 67 0"}),wp.element.createElement(u,{d:"M 0 26 L 33 26 L 33 50 L 0 50 L 0 26"}),wp.element.createElement(u,{d:"M 34 26 L 66 26 L 66 60 L 34 60 L 34 26"}),wp.element.createElement(u,{d:"M 67 26 L 100 26 L 100 60 L 67 60 L 67 26"})))),wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"}))))))))}))},,function(e,t,n){"use strict";n.r(t);n(92);var o=n(2),a=n(0),l=n.n(a),r=n(13),c=n.n(r);n(93);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 p(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=lodash,h=g.startCase,f=g.toLower,y=wp.i18n.__,w=wp.components,v=w.Button,k=w.Dashicon,E=w.Icon,C=w.TextControl,x=w.Tooltip,T=w.SelectControl,S=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=m(t).apply(this,arguments))||"object"!==s(o)&&"function"!=typeof o?d(n):o).getOptions=e.getOptions.bind(d(e)),e}var n,a,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&&b(e,t)}(t,e),n=t,(a=[{key:"getOptions",value:function(){var e;return e=("block"===this.props.tab?this.props.blocksCategories:this.props.templateCategories).map((function(e){return{label:h(f(e)),value:e}})),[{label:y("All Categories"),value:"all"}].concat(p(e))}},{key:"render",value:function(){var e=this,t=this.getOptions();return wp.element.createElement("div",{className:"library-modal-control-panel"},wp.element.createElement("div",{className:"library-modal-header"},wp.element.createElement("div",{className:"library-modal-header-logo"},this.props.preview?wp.element.createElement(v,{className:"library-modal-header-tabs-button back-to-library","aria-label":y("Back to Library"),onClick:this.props.togglePreview},wp.element.createElement(k,{icon:"arrow-left-alt"})," ",y("Back to Library")):wp.element.createElement("div",{className:"library-modal-header-tabs-button"},wp.element.createElement(E,{icon:o.l}))),!this.props.preview&&wp.element.createElement("div",{className:"library-modal-header-tabs"},wp.element.createElement(v,{className:l()("library-modal-header-tabs-button",{"is-selected":"block"===this.props.tab}),onClick:function(){return e.props.changeTab("block")}},wp.element.createElement(k,{icon:"screenoptions"}),y("Blocks")),wp.element.createElement(v,{className:l()("library-modal-header-tabs-button",{"is-selected":"template"===this.props.tab}),onClick:function(){return e.props.changeTab("template")}},wp.element.createElement(k,{icon:"editor-table"}),y("Templates"))),wp.element.createElement("div",{className:"library-modal-header-actions"},this.props.preview&&wp.element.createElement(v,{className:"library-modal-header-tabs-button insert-button",onClick:function(){return e.props.importTemplate(e.props.selectedTemplate.template_url)},tabindex:"0"},wp.element.createElement(k,{icon:"arrow-down-alt",size:16}),y("Insert")),wp.element.createElement(x,{text:y("Close")},wp.element.createElement(v,{className:"library-modal-header-tabs-button","aria-label":y("Close settings"),onClick:this.props.close},wp.element.createElement(k,{icon:"no-alt"}))))),!this.props.preview&&wp.element.createElement("div",{className:"library-modal-actions"},wp.element.createElement(T,{className:"library-modal-category-control",value:"all"===this.props.selectedCategory?"all":this.props.selectedCategory,onChange:this.props.selectCategory,options:t}),wp.element.createElement(C,{type:"text",value:this.props.search||"",placeholder:y("Search"),className:"library-modal-search-control",onChange:this.props.changeSearch})))}}])&&u(n.prototype,a),r&&u(n,r),t}(wp.element.Component);function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function M(e,t){return!t||"object"!==B(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 L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var A=wp.i18n.__,P=wp.components.Notice,_=wp.element,R=_.Component,I=_.Fragment,z=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),M(this,L(t).apply(this,arguments))}var n,o,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&&N(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){return wp.element.createElement(I,null,!Boolean(themeisleGutenberg.isCompatible)&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(P,{status:"warning",isDismissible:!1,className:"version-warning",actions:[{label:A("Update Now"),url:themeisleGutenberg.updatePath}]},A("You are using an older version of Otter. Use the latest version of Otter to have maximum compatibility with Template Library."))),this.props.isError&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(P,{status:"error",onRemove:this.props.removeError},A("There seems to be an error. Please try again."))),this.props.isMissing&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(P,{status:"warning",className:"library-modal-missing",onRemove:this.props.removeMissing},A("You seem to be missing some blocks that are required by your selected template."),wp.element.createElement("details",null,wp.element.createElement("summary",null,A("View Missing Blocks")),wp.element.createElement("ul",null,this.props.missingBlocks.map((function(e){return wp.element.createElement("li",null,e)})))))))}}])&&O(n.prototype,o),a&&O(n,a),t}(R),V=n(18),H=n.n(V);function j(e){return(j="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 F(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function D(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Z=wp.i18n.__,q=wp.components.Button,U=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),D(this,G(t).apply(this,arguments))}var n,o,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&&W(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this;return wp.element.createElement("div",{"aria-label":this.props.template.title||Z("Untitled Gutenberg Template"),className:"library-modal-content__item",tabindex:"0"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(H.a,null,wp.element.createElement("img",{src:this.props.template.screenshot_url||"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/default.jpg"}))),wp.element.createElement("div",{className:"library-modal-content__footer"},wp.element.createElement("div",{className:"library-modal-content__footer_meta"},this.props.template.title&&"template"===this.props.template.type&&wp.element.createElement("h4",{className:"library-modal-content__footer_meta_title"},this.props.template.title,this.props.template.author&&Z(" by ")+this.props.template.author," "),this.props.template.author&&"block"===this.props.template.type&&wp.element.createElement("h4",{className:"library-modal-content__footer_meta_author"},Z("Author:")," ",this.props.template.author)),wp.element.createElement("div",{className:"library-modal-content__footer_actions"},this.props.template.demo_url&&wp.element.createElement(q,{isDefault:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return e.props.togglePreview(i)},tabindex:"0"},Z("Preview")),wp.element.createElement(q,{isPrimary:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return e.props.importTemplate(e.props.template.template_url)},tabindex:"0"},Z("Insert")))))}}])&&F(n.prototype,o),a&&F(n,a),t}(wp.element.Component);function K(e){return(K="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 Q(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function J(e,t){return!t||"object"!==K(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 Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var X=wp.i18n.__,ee=wp.components.Spinner,te=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),J(this,Y(t).apply(this,arguments))}var n,o,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&&$(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this;return this.props.preview?wp.element.createElement("div",{className:"library-modal-preview"},wp.element.createElement("iframe",{src:this.props.selectedTemplate.demo_url})):this.props.isLoaded?wp.element.createElement("div",{className:"library-modal-content"},this.props.data.map((function(t){if(t.template_url&&("all"===e.props.selectedCategory||t.categories&&t.categories.includes(e.props.selectedCategory))&&(!e.props.search||t.keywords&&t.keywords.some((function(t){return t.toLowerCase().includes(e.props.search.toLowerCase())})))&&e.props.tab===t.type)return wp.element.createElement(U,{template:t,togglePreview:e.props.togglePreview,importTemplate:e.props.importTemplate})})),wp.element.createElement("div",{"aria-label":X("Coming Soon"),className:"library-modal-content__item"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(H.a,null,wp.element.createElement("img",{src:"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/coming-soon.jpg"}))))):wp.element.createElement("div",{className:"library-modal-loader"},wp.element.createElement(ee,null))}}])&&Q(n.prototype,o),a&&Q(n,a),t}(wp.element.Component);function ne(e){return(ne="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 oe(e,t,n,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function ae(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var l=e.apply(t,n);function r(e){oe(l,o,a,r,i,"next",e)}function i(e){oe(l,o,a,r,i,"throw",e)}r(void 0)}))}}function le(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ie(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}wp.i18n.__;var se=wp.apiFetch,pe=wp.components.Modal,ue=wp.compose.compose,me=wp.data,de=me.withSelect,be=me.withDispatch,ge=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=re(t).apply(this,arguments))||"object"!==ne(o)&&"function"!=typeof o?ie(n):o).changeTab=e.changeTab.bind(ie(e)),e.togglePreview=e.togglePreview.bind(ie(e)),e.removeError=e.removeError.bind(ie(e)),e.removeMissing=e.removeMissing.bind(ie(e)),e.selectCategory=e.selectCategory.bind(ie(e)),e.changeSearch=e.changeSearch.bind(ie(e)),e.changeClientId=e.changeClientId.bind(ie(e)),e.validateBlocks=e.validateBlocks.bind(ie(e)),e.importTemplate=e.importTemplate.bind(ie(e)),e.state={tab:"block",isLoaded:!1,isError:!1,isMissing:!1,selectedCategory:"all",search:"",blocksCategories:[],templateCategories:[],data:[],preview:!1,selectedTemplate:null,missingBlocks:[]},e}var n,o,a,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ce(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(i=ae(regeneratorRuntime.mark((function e(){var t,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,se({path:"themeisle-gutenberg-blocks/v1/fetch_templates"});case 2:t=e.sent,n=[],o=[],t.map((function(e){e.categories&&e.template_url&&("block"===e.type&&e.categories.map((function(e){n.push(e)})),"template"===e.type&&e.categories.map((function(e){o.push(e)})))})),n=n.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),o=o.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),this.setState({blocksCategories:n,templateCategories:o,data:t,isLoaded:!0});case 9:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"changeTab",value:function(e){this.setState({tab:e,selectedCategory:"all",search:""})}},{key:"togglePreview",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.setState({preview:!this.state.preview,selectedTemplate:e})}},{key:"removeError",value:function(){this.setState({isError:!1})}},{key:"removeMissing",value:function(){this.setState({isMissing:!1})}},{key:"selectCategory",value:function(e){this.setState({selectedCategory:e})}},{key:"changeSearch",value:function(e){this.setState({search:e})}},{key:"changeClientId",value:function(e){var t=this;return Array.isArray(e)?e.map((function(e){return t.changeClientId(e)})):"object"===ne(e)&&Object.keys(e).map((function(n){"clientId"===n&&(e[n]=c()()),"innerBlocks"===n&&e[n].map((function(e){t.changeClientId(e)}))})),e}},{key:"validateBlocks",value:function(e){var t=this,n=!1,o=[];return Array.isArray(e)?e.map((function(e){return t.validateBlocks(e)})):"object"===ne(e)&&Object.keys(e).some((function(a){"name"===a&&void 0===t.props.availableBlocks.find((function(t){return t.name===e.name}))&&(o.push(e.name),n=!0),"innerBlocks"===a&&e[a].map((function(e){return t.validateBlocks(e)}))})),o=this.state.missingBlocks.concat(o).filter((function(e,t,n){return n.indexOf(e)===t})),this.setState({missingBlocks:o}),n}},{key:"importTemplate",value:(r=ae(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setState({preview:!1,isLoaded:!1,missingBlocks:[]}),e.next=3,se({path:"themeisle-gutenberg-blocks/v1/import_template?url=".concat(t)});case 3:n=e.sent,null!==(n=this.changeClientId(n))?(this.setState({isLoaded:!0}),this.validateBlocks(n)?this.setState({isMissing:!0}):this.props.import(n)):this.setState({isLoaded:!0,isError:!0});case 6:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"render",value:function(){return wp.element.createElement(pe,{className:l()("wp-block-themeisle-library-modal",{"is-preview":this.state.preview}),onRequestClose:this.props.close,isDismissable:!1,shouldCloseOnClickOutside:!1},wp.element.createElement(S,{preview:this.state.preview,tab:this.state.tab,changeTab:this.changeTab,blocksCategories:this.state.blocksCategories,templateCategories:this.state.templateCategories,selectedTemplate:this.state.selectedTemplate,selectedCategory:this.state.selectedCategory,search:this.state.search,togglePreview:this.togglePreview,close:this.props.close,importTemplate:this.importTemplate,selectCategory:this.selectCategory,changeSearch:this.changeSearch}),wp.element.createElement(z,{isError:this.state.isError,isMissing:this.state.isMissing,missingBlocks:this.state.missingBlocks,removeError:this.removeError,removeMissing:this.removeMissing}),wp.element.createElement(te,{preview:this.state.preview,isLoaded:this.state.isLoaded,data:this.state.data,tab:this.state.tab,selectedTemplate:this.state.selectedTemplate,selectedCategory:this.state.selectedCategory,search:this.state.search,togglePreview:this.togglePreview,importTemplate:this.importTemplate}))}}])&&le(n.prototype,o),a&&le(n,a),t}(wp.element.Component),he=ue(de((function(e,t){var n=t.clientId,o=(e("core/block-editor")||e("core/editor")).getBlock,a=e("core/blocks").getBlockTypes;return{block:o(n),availableBlocks:a()}})),be((function(e,t){var n=t.block,o=(e("core/block-editor")||e("core/editor")).replaceBlocks;return{import:function(e){return o(n.clientId,e)}}})))(ge);function fe(e){return(fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ye(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function we(e){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ee=wp.i18n.__,Ce=wp.components,xe=Ce.Button,Te=Ce.Dashicon,Se=Ce.Icon,Be=Ce.Path,Oe=Ce.Placeholder,Me=Ce.SVG,Le=Ce.Tooltip,Ne=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=we(t).apply(this,arguments))||"object"!==fe(o)&&"function"!=typeof o?ve(n):o).closeModal=e.closeModal.bind(ve(e)),e.state={isLibraryOpen:!1},e}var n,a,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(t,e),n=t,(a=[{key:"closeModal",value:function(){this.setState({isLibraryOpen:!1})}},{key:"render",value:function(){var e=this;return wp.element.createElement(Oe,{label:Ee("Select Layout"),icon:wp.element.createElement(Se,{icon:o.f}),className:"wp-block-themeisle-onboarding-component"},wp.element.createElement("div",{className:"wp-block-themeisle-layout-picker"},wp.element.createElement(Le,{text:Ee("Single Row")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(1,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M100,0V50H0V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(2,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M49,0V50H0V0Z M100,0V50H51V0Z"})))),wp.element.createElement(Le,{text:Ee("1:2")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(2,"oneTwo")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M32.6667,0V50H0V0Z M100,0V50H34.6667V0Z"})))),wp.element.createElement(Le,{text:Ee("2:1")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(2,"twoOne")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M65.3333,0V50H0V0Z M100,0V50H67.3333V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M32,0V50H0V0Z M66,0V50H34V0Z M100,0V50H68V0Z"})))),wp.element.createElement(Le,{text:Ee("1:1:2")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"oneOneTwo")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M24,0V50H0V0Z M50,0V50H26V0Z M100,0V50H52V0Z"})))),wp.element.createElement(Le,{text:Ee("2:1:1")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"twoOneOne")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M48,0V50H0V0Z M74,0V50H50V0Z M100,0V50H76V0Z"})))),wp.element.createElement(Le,{text:Ee("1:2:1")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"oneTwoOne")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M24,0V50H0V0Z M74,0V50H26V0Z M100,0V50H76V0Z"})))),wp.element.createElement(Le,{text:Ee("1:3:1")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"oneThreeOne")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M20,0V50H0V0Z M78,0V50H22V0Z M100,0V50H80V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(4,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M23.5,0V50H0V0Z M49,0V50H25.5V0Z M74.5,0V50H51V0Z M100,0V50H76.5V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(5,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M18.4,0V50H0V0Z M38.8,0V50H20.4V0Z M59.2,0V50H40.8V0Z M79.6,0V50H61.2V0Z M100,0V50H81.6V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(6,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M15,0V50H0V0Z M32,0V50H17V0Z M49,0V50H34V0Z M66,0V50H51V0Z M83,0V50H68V0Z M100,0V50H85V0Z"}))))),wp.element.createElement(Le,{text:Ee("Open Template Library")},wp.element.createElement(xe,{isPrimary:!0,isLarge:!0,className:"wp-block-themeisle-template-library",onClick:function(){return e.setState({isLibraryOpen:!0})}},wp.element.createElement(Te,{icon:"category"}),Ee("Template Library")),this.state.isLibraryOpen&&wp.element.createElement(he,{clientId:this.props.clientId,close:this.closeModal})))}}])&&ye(n.prototype,a),l&&ye(n,l),t}(wp.element.Component);t.default=Ne},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=n(3);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=wp.components,m=u.Placeholder,d=u.Spinner,b=wp.data.withSelect,g=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,s(t).apply(this,arguments))}var n,o,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),n=t,(o=[{key:"render",value:function(){var e=this.props,t=e.alt,n=e.id,o=e.thumbnail,a=e.link,l=wp.element.createElement(m,null,wp.element.createElement(d,null));return o&&(l=wp.element.createElement("img",{src:o,alt:t,"data-id":n})),wp.element.createElement("div",{className:"posts-grid-post-image"},wp.element.createElement("a",{href:a},l))}}])&&i(n.prototype,o),a&&i(n,a),t}(wp.element.Component),h=b((function(e,t){var n=t.id,o=t.alt,a=t.size,l=n?e("core").getMedia(n):void 0,r=l?0<Object.keys(l.media_details.sizes).length?l.media_details.sizes[a].source_url:l.source_url:null;return l?{thumbnail:r,alt:l.alt_text||o}:{alt:o}}))(g),f=wp.i18n,y=f.__,w=f.sprintf,v=function(e){var t=e.className,n=e.attributes,o=e.posts,r=e.categoriesList,i=e.authors;return wp.element.createElement("div",{className:a()(t,"is-grid","posts-grid-columns-".concat(n.columns))},o.map((function(e){var t,o;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(o=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"posts-grid-post-blog posts-grid-post-plain"},wp.element.createElement("div",{className:"posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(h,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:"posts-grid-post-body"},n.template.map((function(a){return"category"===a&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("h6",{class:"posts-grid-post-category"},t.name):"title"===a&&n.displayTitle?wp.element.createElement("h5",{className:"posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(l.b)(e.title.rendered))):"meta"===a&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"posts-grid-post-meta"},n.displayDate&&w(y("on %s"),Object(l.a)(e.date)),n.displayAuthor&&void 0!==o&&i&&w(y(" by %s"),o.name)):"description"===a&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"posts-grid-post-description"},Object(l.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))},k=wp.i18n,E=k.__,C=k.sprintf,x=function(e){var t=e.className,n=e.attributes,o=e.posts,r=e.categoriesList,i=e.authors;return wp.element.createElement("div",{className:a()(t,"is-list")},o.map((function(e){var t,o;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(o=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"posts-grid-post-blog posts-grid-post-plain"},wp.element.createElement("div",{className:"posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(h,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:a()("posts-grid-post-body",{"is-full":!n.displayFeaturedImage})},n.template.map((function(a){return"category"===a&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("h6",{class:"posts-grid-post-category"},t.name):"title"===a&&n.displayTitle?wp.element.createElement("h5",{className:"posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(l.b)(e.title.rendered))):"meta"===a&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"posts-grid-post-meta"},n.displayDate&&C(E("on %s"),Object(l.a)(e.date)),n.displayAuthor&&void 0!==o&&i&&C(E(" by %s"),o.name)):"description"===a&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"posts-grid-post-description"},Object(l.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))};t.default=function(e){var t=e.className,n=e.attributes,o=e.posts,a=e.categoriesList,l=e.authors;return"grid"===n.style?wp.element.createElement(v,{className:t,attributes:n,posts:o,categoriesList:a,authors:l}):"list"===n.style?wp.element.createElement(x,{className:t,attributes:n,posts:o,categoriesList:a,authors:l}):void 0}},,function(e,t,n){"use strict";n.r(t);n(61),n(62),n(63),n(64)},function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.components,l=a.ExternalLink,r=a.Notice;o("themeisle-blocks/chart-pie",{title:n("Pie Chart"),description:n("Display a beautiful Pie Chart on your blog post with Pie Chart block."),icon:"chart-pie",category:"themeisle-blocks",keywords:[n("pie"),n("chart"),n("orbitfox")],attributes:{data:{type:"string",default:'[["Label","Data"],["Dogs",40],["Cats",30],["Racoons",20],["Monkeys",10]]'},options:{type:"object",default:{title:"Animals",is3D:!0}},id:{type:"string",default:""}},supports:{inserter:!1},edit:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement(r,{status:"warning",isDismissible:!1},n("We have deprecated Pie Chart Block and it will be removed soon. For advance options and more charts, please install our Visualizer plugin:")," ",wp.element.createElement(l,{href:"http://wordpress.org/plugins/visualizer/"},n("Visualizer: Tables and Charts Manager for WordPress"))))},save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(66),n(67);var o=wp.i18n.__,a=wp.blocks.registerBlockType,l=(wp.blockEditor||wp.editor).RichText,r=wp.components.Notice;a("themeisle-blocks/notice",{title:o("Notice"),description:o("Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages."),icon:"info",category:"themeisle-blocks",keywords:["notice","info"],attributes:{content:{type:"array",source:"children",selector:"p.components-notice__content"}},supports:{align:["wide","full"],inserter:!1},styles:[{name:"sucess",label:o("Success"),isDefault:!0},{name:"info",label:o("Info")},{name:"warning",label:o("Warning")},{name:"error",label:o("Error")}],edit:function(e){var t="success";return e.attributes.className&&e.attributes.className.includes("is-style-info")?t="":e.attributes.className&&e.attributes.className.includes("is-style-warning")?t="warning":e.attributes.className&&e.attributes.className.includes("is-style-error")&&(t="error"),wp.element.createElement(r,{className:e.className,isDismissible:!1,status:t},wp.element.createElement(l,{tagName:"p",placeholder:o("Lorem ipsum dolor sit amet, consectetur adipiscing elit."),value:e.attributes.content,className:"components-notice__content",onChange:function(t){return e.setAttributes({content:t})},keepPlaceholderOnFocus:"true"}))},save:function(e){var t="success";return e.attributes.className&&e.attributes.className.includes("is-style-info")?t="":e.attributes.className&&e.attributes.className.includes("is-style-warning")?t="warning":e.attributes.className&&e.attributes.className.includes("is-style-error")&&(t="error"),wp.element.createElement(r,{className:"themeisle-block-notice",isDismissible:!1,status:t},wp.element.createElement(l.Content,{tagName:"p",className:"components-notice__content",value:e.attributes.content}))}})},function(e,t,n){"use strict";n.r(t);n(76),n(77);var o=wp.i18n.__,a=lodash.get,l=wp.blocks,r=l.registerBlockType,i=l.createBlock,c=wp.components,s=c.Toolbar,p=c.TextControl,u=wp.data.withSelect,m=wp.blockEditor||wp.editor,d=m.BlockControls,b=m.RichText;r("themeisle-blocks/tweetable",{title:o("Click To Tweet"),description:o("Click to Tweet allows visitors to easily share your content on Twitter."),icon:"twitter",category:"themeisle-blocks",keywords:[o("twitter"),o("tweet"),o("orbitfox")],attributes:{quote:{type:"string",source:"children",selector:"p",default:[]},permalink:{type:"url"},via:{type:"string"},buttonText:{type:"string",default:o("Click to Tweet")}},supports:{inserter:!1},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return i("themeisle-blocks/tweetable",{quote:t})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value,n=e.citation;return t&&t.length||n?(t||[]).map((function(e){return i("themeisle-blocks/tweetable",{quote:[a(e,"children.props.children","")]})})).concat(n?i("core/paragraph",{content:n}):[]):i("themeisle-blocks/tweetable")}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return t&&t.length||n?(t||[]).map((function(e){return i("themeisle-blocks/tweetable",{quote:[a(e,"children.props.children","")]})})).concat(n?i("core/paragraph",{quote:n}):[]):i("themeisle-blocks/tweetable")}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){e.content;var t=e.quote;return t&&t.length?(t||[]).map((function(e){return i("core/paragraph",{content:t})})):i("core/paragraph")}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.quote;return i("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.quote;return i("core/pullquote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}}]},edit:u((function(e,t){var n=e("core/editor").getPermalink;return void 0===t.attributes.permalink&&t.setAttributes({permalink:n()}),{permalink:n(),props:t}}))((function(e){var t=e.props,n=e.className;return[wp.element.createElement(d,{key:"controls"},wp.element.createElement(s,null,wp.element.createElement("i",{className:"fas fa-at tweetable-icon"}),wp.element.createElement(p,{type:"text",placeholder:"Username",className:"tweetable-controls",value:t.attributes.via,onChange:function(e){t.setAttributes({via:e})}}))),wp.element.createElement("blockquote",{className:n},wp.element.createElement(b,{tagName:"p",multiline:"false",placeholder:o("What should we tweet?"),value:t.attributes.quote,formattingControls:[],onChange:function(e){t.setAttributes({quote:e})},keepPlaceholderOnFocus:!0}),wp.element.createElement(b,{tagName:"span",placeholder:o("Tweet this!"),className:"tweetbutton",value:t.attributes.buttonText?t.attributes.buttonText:o("Tweet this!"),formattingControls:[],onChange:function(e){t.setAttributes({buttonText:e})},keepPlaceholderOnFocus:!0}))]})),save:function(e){var t=e.attributes.via?"&via=".concat(e.attributes.via):"",n="http://twitter.com/share?&text=".concat(encodeURIComponent(e.attributes.quote),"&url=").concat(e.attributes.permalink).concat(t);return wp.element.createElement("blockquote",null,wp.element.createElement(b.Content,{tagName:"p",value:e.attributes.quote}),wp.element.createElement(b.Content,{tagName:"a",className:"tweetbutton",href:n,value:e.attributes.buttonText,target:"_blank"}))}})},,,,function(e,t,n){"use strict";n.r(t);var o=n(2),a=wp.i18n.__,l=wp.blocks.registerBlockType,r=(wp.blockEditor||wp.editor).InnerBlocks;l("themeisle-blocks/pricing",{title:a("Pricing"),description:a("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),icon:o.o,category:"themeisle-blocks",keywords:["pricing","table","money"],edit:function(e){var t=[["themeisle-blocks/advanced-heading",{content:a("Basic"),align:"center",tag:"h5"}],["themeisle-blocks/advanced-heading",{content:a("$9.99"),align:"center",tag:"h3",fontSize:36,fontFamily:"Roboto Slab",fontVariant:"normal"}],["themeisle-blocks/advanced-heading",{content:a("Per Month"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:a("First Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:a("Second Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:a("Last Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:a("Buy Now"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]];return[wp.element.createElement("div",{className:e.className},wp.element.createElement(r,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement(r.Content,null))}})},function(e,t,n){"use strict";n.r(t);var o=n(2),a=wp.i18n.__,l=wp.blocks.registerBlockType,r=(wp.blockEditor||wp.editor).InnerBlocks;l("themeisle-blocks/service",{title:a("Service"),description:a("Use this Service block to showcase services your website offers."),icon:o.p,category:"themeisle-blocks",keywords:["services","icon","features"],edit:function(e){var t=[["themeisle-blocks/font-awesome-icons",{fontSize:62,prefix:"fab",icon:"angellist"}],["themeisle-blocks/advanced-heading",{content:a("Basic"),align:"center",tag:"h4",marginBottom:20}],["themeisle-blocks/advanced-heading",{content:a("Lorem ipsum dolor sit amet elit do, consectetur adipiscing, sed eiusmod tempor incididunt ut labore et dolore magna aliqua."),align:"center",color:"#999999",tag:"p",fontSize:14,marginBottom:20}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:a("Know More"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]];return[wp.element.createElement("div",{className:e.className},wp.element.createElement(r,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement(r.Content,null))}})},function(e,t,n){"use strict";n.r(t);var o=n(2),a=wp.i18n.__,l=wp.blocks.registerBlockType,r=(wp.blockEditor||wp.editor).InnerBlocks;l("themeisle-blocks/testimonials",{title:a("Testimonials"),description:a("Display kudos from customers and clients and display them on your website."),icon:o.r,category:"themeisle-blocks",keywords:["testimonials","quotes","business"],edit:function(e){var t=[["core/image",{align:"center"}],["themeisle-blocks/advanced-heading",{content:a("John Doe"),align:"center",fontSize:24,tag:"h3",marginTop:25,marginBottom:10,marginTopTablet:25,marginTopMobile:25}],["themeisle-blocks/advanced-heading",{content:a("Jedi Master"),align:"center",fontSize:14,tag:"h6",marginTop:10,marginBottom:10}],["themeisle-blocks/advanced-heading",{content:a('"What is the point of being alive if you don’t at least try to do something remarkable?"'),align:"center",color:"#999999",tag:"p",fontSize:14,marginTop:10,marginBottom:20}]];return[wp.element.createElement("div",{className:e.className},wp.element.createElement(r,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement(r.Content,null))}})},function(e,t,n){"use strict";n.r(t);n(68),n(69);var o=n(0),a=n.n(o),l=wp.i18n.__,r=wp.blocks.registerBlockType,i=wp.blockEditor||wp.editor,c=i.ColorPalette,s=i.InnerBlocks,p=i.InspectorControls,u=i.MediaPlaceholder,m=wp.components,d=m.Button,b=m.ToggleControl,g=m.SelectControl,h=m.PanelBody,f=wp.element.Fragment;r("themeisle-blocks/pricing-table",{title:l("Pricing Table"),description:l("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"],inserter:!1},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(p,null,wp.element.createElement(h,{title:l("Background")},wp.element.createElement(g,{label:l("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(c,{label:l("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(f,null,wp.element.createElement(b,{label:l("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(b,{label:l("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(d,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},l("Change or Remove Image"))):wp.element.createElement(u,{icon:"format-image",labels:{title:l("Background Image"),name:l("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s,{allowedBlocks:["themeisle-blocks/pricing-block"],template:[["themeisle-blocks/pricing-block"],["themeisle-blocks/pricing-block"],["themeisle-blocks/pricing-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-pricing-table",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s.Content,null))}});var y=wp.i18n.__,w=wp.blocks.registerBlockType,v=wp.blockEditor||wp.editor,k=v.InnerBlocks,E=v.BlockControls,C=v.InspectorControls,x=v.PanelColorSettings,T=wp.components,S=T.Dashicon,B=T.Toolbar,O=T.Button,M=T.Tooltip;w("themeisle-blocks/pricing-block",{title:y("Pricing Block"),description:y("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),parent:["themeisle-blocks/pricing-table"],icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{featured:{type:"boolean",default:!1},backgroundColor:{type:"string",default:"#ffffff"}},supports:{inserter:!1},edit:function(e){var t=[["core/heading",{content:y("Basic"),className:"pricing-title",align:"center",level:5}],["core/paragraph",{content:y("$9.99"),align:"center",customFontSize:36}],["core/paragraph",{content:y("Per Month"),align:"center",customFontSize:12}],["core/separator",{}],["core/paragraph",{content:y("First Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/paragraph",{content:y("Second Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/paragraph",{content:y("Last Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/button",{text:y("Buy Now"),className:"pricing-button",align:"center"}]];return[wp.element.createElement(E,{key:"toolbar-controls"},wp.element.createElement(B,{className:"components-toolbar"},wp.element.createElement(M,{text:y("Feature Table")},wp.element.createElement(O,{className:a()("components-icon-button","components-toolbar__control",{"is-active":e.attributes.featured}),onClick:function(){e.setAttributes({featured:!e.attributes.featured})}},wp.element.createElement(S,{icon:"star-empty"}))))),wp.element.createElement(C,null,wp.element.createElement(x,{title:y("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:y("Background Color")}]})),wp.element.createElement("div",{className:a()("wp-block-column",{raised:e.attributes.featured}),style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(k,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:a()("wp-block-column",{raised:e.attributes.featured}),style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(k.Content,null))}})},function(e,t,n){"use strict";n.r(t);n(73),n(74);var o=n(0),a=n.n(o),l=wp.i18n.__,r=wp.blocks.registerBlockType,i=wp.blockEditor||wp.editor,c=i.ColorPalette,s=i.InnerBlocks,p=i.InspectorControls,u=i.MediaPlaceholder,m=wp.components,d=m.Button,b=m.ToggleControl,g=m.SelectControl,h=m.PanelBody,f=wp.element.Fragment;r("themeisle-blocks/testimonials-area",{title:l("Testimonials Area"),description:l("Display kudos from customers and clients and display them on your website."),icon:"testimonial",category:"themeisle-blocks",keywords:["testimonials","clients","quotes"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"],inserter:!1},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(p,null,wp.element.createElement(h,{title:l("Background")},wp.element.createElement(g,{label:l("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(c,{label:l("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(f,null,wp.element.createElement(b,{label:l("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(b,{label:l("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(d,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},l("Change or Remove Image"))):wp.element.createElement(u,{icon:"format-image",labels:{title:l("Background Image"),name:l("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s,{allowedBlocks:["themeisle-blocks/testimonials-block"],template:[["themeisle-blocks/testimonials-block"],["themeisle-blocks/testimonials-block"],["themeisle-blocks/testimonials-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-testimonials-area",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s.Content,null))}});n(75)},function(e,t,n){"use strict";n.r(t);n(70),n(71);var o=n(0),a=n.n(o),l=wp.i18n.__,r=wp.blocks.registerBlockType,i=wp.blockEditor||wp.editor,c=i.ColorPalette,s=i.InnerBlocks,p=i.InspectorControls,u=i.MediaPlaceholder,m=wp.components,d=m.Button,b=m.ToggleControl,g=m.SelectControl,h=m.PanelBody,f=wp.element.Fragment;r("themeisle-blocks/services",{title:l("Our Services"),description:l("Use this Services table to showcase services your website offers."),icon:"columns",category:"themeisle-blocks",keywords:["services","features","orbitfox"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"],inserter:!1},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(p,null,wp.element.createElement(h,{title:l("Background")},wp.element.createElement(g,{label:l("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(c,{label:l("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(f,null,wp.element.createElement(b,{label:l("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(b,{label:l("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(d,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},l("Change or Remove Image"))):wp.element.createElement(u,{icon:"format-image",labels:{title:l("Background Image"),name:l("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s,{allowedBlocks:["themeisle-blocks/service-block"],template:[["themeisle-blocks/service-block"],["themeisle-blocks/service-block"],["themeisle-blocks/service-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-services",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s.Content,null))}});n(72)},,,function(e,t,n){n(41),n(116),n(45),n(48),n(115),n(25),n(26),n(65),n(27),n(35),n(37),n(36),n(28),n(114),n(111),n(85),n(23),n(112),n(11),n(20),n(22),n(9),n(110),n(113),n(107),n(32),n(33),e.exports=n(34)},function(e,t,n){n.p=window.themeisleGutenberg.packagePath},,,function(e,t){function n(e,t,n,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function o(e){return function(){var t=this,o=arguments;return new Promise((function(a,l){var r=e.apply(t,o);function i(e){n(r,a,l,i,c,"next",e)}function c(e){n(r,a,l,i,c,"throw",e)}i(void 0)}))}}var a=lodash.debounce,l=wp.apiFetch,r=wp.data,i=r.select,c=r.subscribe,s=a(o(regeneratorRuntime.mark((function e(){var t,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i("core/editor"),n=t.getCurrentPostId,o=n(),e.next=4,l({path:"themeisle-gutenberg-blocks/v1/save_post_meta/".concat(o),method:"POST"});case 4:case"end":return e.stop()}}),e)}))),1e3),p={};c((function(){var e=i("core/editor"),t=e.isCurrentPostPublished,n=e.isSavingPost,o=e.isPublishingPost,a=e.isAutosavingPost,r=e.__experimentalGetReusableBlocks,c=e.__experimentalIsSavingReusableBlock,u=a(),m=o(),d=n(),b=r(),g=t();b.map((function(e){if(e){var t=(n=e.id,c(n));t&&!e.isTemporary&&(p[e.id]={id:e.id,isSaving:!0}),t||e.isTemporary||!p[e.id]||e.id===p[e.id].id&&!t&&p[e.id].isSaving&&(p[e.id].isSaving=!1,l({path:"themeisle-gutenberg-blocks/v1/save_block_meta/".concat(e.id),method:"POST"}))}var n})),!(m||g&&d)||u||status||s()}))},function(e,t,n){"use strict";n.r(t);n(46),n(47);var o=n(2),a=wp.i18n.__,l=wp.blocks.registerBlockType,r=wp.compose,i=r.compose,c=r.withState,s=wp.components.Spinner,p=wp.data.withSelect;l("themeisle-blocks/about-author",{title:a("About Author"),description:a("About Author block is the easiest way to add a author bio below your posts."),icon:o.a,category:"themeisle-blocks",keywords:["about","author","profile"],attributes:{id:{type:"number"}},supports:{html:!1},edit:i([p((function(e,t){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors(),props:t}})),c({status:0,authorDetails:{}})])((function(e){var t=e.postAuthor,n=e.authors,o=e.status,l=e.authorDetails,r=e.setState,i=e.props,c=e.className;return 0===o&&t&&n&&n.find((function(e){if(e.id===t)return t!==i.attributes.id&&i.setAttributes({id:e.id}),r({authorDetails:e,status:1}),e.id===t})),1===o&&t&&n?wp.element.createElement("section",{className:c},wp.element.createElement("div",{className:"wp-block-themeisle-author-image"},wp.element.createElement("img",{className:"author-image",src:l.avatar_urls[96],alt:l.name})),wp.element.createElement("div",{className:"wp-block-themeisle-author-data"},wp.element.createElement("h4",null,l.name),wp.element.createElement("p",null,l.description))):wp.element.createElement("div",{key:"loading",className:"wp-block-embed is-loading"},wp.element.createElement(s,null),wp.element.createElement("p",null,a("Loading…")))})),save:function(){return null}})},,function(e,t,n){},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=n(5),r=n.n(l),i=n(16),c=n.n(i),s=(n(51),n(52),n(53),n(2)),p=n(12),u=n(7),m=n(6),d=n(4);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=wp.i18n.__,y=wp.blocks,w=y.createBlock,v=y.registerBlockType,k=wp.components,E=k.Button,C=k.Dashicon,x=k.Dropdown,T=k.DropdownMenu,S=k.IconButton,B=k.PanelBody,O=k.RangeControl,M=k.SVG,L=k.ToggleControl,N=k.Toolbar,A=wp.compose,P=A.compose,_=A.withState,R=wp.data.withSelect,I=wp.blockEditor||wp.editor,z=I.AlignmentToolbar,V=I.BlockControls,H=I.ColorPalette,j=I.InspectorControls,F=I.RichText,D=wp.element.Fragment,G=wp.viewport.withViewportMatch;v("themeisle-blocks/advanced-heading",{title:f("Advanced Heading"),description:f("Advanced Heading gives a spin to editor's Heading block with much needed customization options."),icon:s.h,category:"themeisle-blocks",keywords:[f("heading"),f("title"),f("advanced heading")],attributes:{id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number",default:0},paddingMobile:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number",default:0},paddingTopMobile:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number",default:0},paddingRightMobile:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number",default:0},paddingBottomMobile:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number",default:0},paddingLeftMobile:{type:"number",default:0},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number",default:0},marginMobile:{type:"number",default:0},marginTop:{type:"number",default:0},marginTopTablet:{type:"number",default:0},marginTopMobile:{type:"number",default:0},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number",default:25},marginBottomMobile:{type:"number",default:20}},transforms:{from:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return w("themeisle-blocks/advanced-heading",{content:t})}},{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return w("themeisle-blocks/advanced-heading",{content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return w("core/paragraph",{content:t})}}]},edit:P([R((function(e,t){return{props:t}})),_({tab:"style",fontSizeViewType:"desktop",alignmentViewType:"desktop",paddingViewType:"desktop",marginViewType:"desktop"}),G({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"})])((function(e){var t=e.tab,n=e.fontSizeViewType,o=e.alignmentViewType,l=e.paddingViewType,i=e.marginViewType,s=e.setState,b=e.isLarger,y=e.isLarge,v=e.isSmall,k=e.isSmaller,A=e.props,P=A.attributes,_=P.id,R=P.content,I=P.tag,G=P.align,W=P.alignTablet,Z=P.alignMobile,q=P.headingColor,U=P.highlightColor,K=P.highlightBackground,Q=P.fontSize,J=P.fontSizeTablet,Y=P.fontSizeMobile,$=P.fontFamily,X=P.fontVariant,ee=P.fontStyle,te=P.textTransform,ne=P.lineHeight,oe=P.letterSpacing,ae=P.textShadow,le=P.textShadowColor,re=P.textShadowColorOpacity,ie=P.textShadowBlur,ce=P.textShadowHorizontal,se=P.textShadowVertical,pe=P.paddingType,ue=P.paddingTypeTablet,me=P.paddingTypeMobile,de=P.padding,be=P.paddingTablet,ge=P.paddingMobile,he=P.paddingTop,fe=P.paddingTopTablet,ye=P.paddingTopMobile,we=P.paddingRight,ve=P.paddingRightTablet,ke=P.paddingRightMobile,Ee=P.paddingBottom,Ce=P.paddingBottomTablet,xe=P.paddingBottomMobile,Te=P.paddingLeft,Se=P.paddingLeftTablet,Be=P.paddingLeftMobile,Oe=P.marginType,Me=P.marginTypeTablet,Le=P.marginTypeMobile,Ne=P.margin,Ae=P.marginTablet,Pe=P.marginMobile,_e=P.marginTop,Re=P.marginTopTablet,Ie=P.marginTopMobile,ze=P.marginBottom,Ve=P.marginBottomTablet,He=P.marginBottomMobile;if(void 0===_||_.substr(_.length-8)!==A.clientId.substr(0,8)){var je="wp-block-themeisle-blocks-advanced-heading-".concat(A.clientId.substr(0,8));A.setAttributes({id:je})}var Fe=b&&!y&&v&&!k,De=!b&&!y&&v&&!k,Ge=!(b||y||v||k),We=function(e){A.setAttributes({tag:e})},Ze=function(e){return"h1"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H1")):"h2"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H2")):"h3"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H3")):"h4"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H4")):"h5"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H5")):"h6"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H6")):"div"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"DIV")):"p"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{x:"0",y:"15"},"P")):"span"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"SPAN")):void 0},qe=function(){var e;return"desktop"===n&&(e=Q),"tablet"===n&&(e=J),"mobile"===n&&(e=Y),e};qe=qe();var Ue=function(){var e;return"desktop"===o&&(e=G),"tablet"===o&&(e=W),"mobile"===o&&(e=Z),e};Ue=Ue();var Ke=function(e){A.setAttributes({fontFamily:e,fontVariant:"normal",fontStyle:"normal"})},Qe=function(e){A.setAttributes({fontVariant:e})},Je=function(e){A.setAttributes({fontStyle:e})},Ye=function(e){A.setAttributes({textTransform:e})},$e=function(e){A.setAttributes({lineHeight:e})},Xe=function(e){A.setAttributes({letterSpacing:e})},et=function(e){var t;return"top"==e&&("desktop"===l&&(t="linked"===pe?de:he),"tablet"===l&&(t="linked"===ue?be:fe),"mobile"===l&&(t="linked"===me?ge:ye)),"right"==e&&("desktop"===l&&(t="linked"===pe?de:we),"tablet"===l&&(t="linked"===ue?be:ve),"mobile"===l&&(t="linked"===me?ge:ke)),"bottom"==e&&("desktop"===l&&(t="linked"===pe?de:Ee),"tablet"===l&&(t="linked"===ue?be:Ce),"mobile"===l&&(t="linked"===me?ge:xe)),"left"==e&&("desktop"===l&&(t="linked"===pe?de:Te),"tablet"===l&&(t="linked"===ue?be:Se),"mobile"===l&&(t="linked"===me?ge:Be)),t},tt={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},nt={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},ot={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},at=function(){var e;return"desktop"===l&&(e=pe),"tablet"===l&&(e=ue),"mobile"===l&&(e=me),e};at=at();var lt,rt,it,ct=function(e){var t;return"top"==e&&("desktop"===i&&(t="linked"===Oe?Ne:_e),"tablet"===i&&(t="linked"===Me?Ae:Re),"mobile"===i&&(t="linked"===Le?Pe:Ie)),"bottom"==e&&("desktop"===i&&(t="linked"===Oe?Ne:ze),"tablet"===i&&(t="linked"===Me?Ae:Ve),"mobile"===i&&(t="linked"===Le?Pe:He)),t},st={top:"marginTop",bottom:"marginBottom"},pt={top:"marginTopTablet",bottom:"marginBottomTablet"},ut={top:"marginTopMobile",bottom:"marginBottomMobile"},mt=function(){var e;return"desktop"===i&&(e=Oe),"tablet"===i&&(e=Me),"mobile"===i&&(e=Le),e};mt=mt(),Fe&&(lt={fontSize:"".concat(Q,"px")},rt={textAlign:G,paddingTop:"".concat("linked"===pe?de:he,"px"),paddingRight:"".concat("linked"===pe?de:we,"px"),paddingBottom:"".concat("linked"===pe?de:Ee,"px"),paddingLeft:"".concat("linked"===pe?de:Te,"px"),marginTop:"".concat("linked"===Oe?Ne:_e,"px"),marginBottom:"".concat("linked"===Oe?Ne:ze,"px")}),De&&(lt={fontSize:"".concat(J,"px")},rt={textAlign:W,paddingTop:"".concat("linked"===ue?be:fe,"px"),paddingRight:"".concat("linked"===ue?be:ve,"px"),paddingBottom:"".concat("linked"===ue?be:Ce,"px"),paddingLeft:"".concat("linked"===ue?be:Se,"px"),marginTop:"".concat("linked"===Me?Ae:Re,"px"),marginBottom:"".concat("linked"===Me?Ae:Ve,"px")}),Ge&&(lt={fontSize:"".concat(Y,"px")},rt={textAlign:Z,paddingTop:"".concat("linked"===me?ge:ye,"px"),paddingRight:"".concat("linked"===me?ge:ke,"px"),paddingBottom:"".concat("linked"===me?ge:xe,"px"),paddingLeft:"".concat("linked"===me?ge:Be,"px"),marginTop:"".concat("linked"===Le?Pe:Ie,"px"),marginBottom:"".concat("linked"===Le?Pe:He,"px")}),ae&&(it={textShadow:"".concat(ce,"px ").concat(se,"px ").concat(ie,"px ").concat(r()(le||"#000000",re))});var dt=g({color:q},lt,{fontFamily:$||"inherit",fontWeight:"regular"===X?"normal":X,fontStyle:ee,textTransform:te,lineHeight:ne&&"".concat(ne,"px"),letterSpacing:oe&&"".concat(oe,"px")},rt,{},it);return wp.element.createElement(D,null,wp.element.createElement("style",null,".".concat(_," mark {\n\t\t\t\t\t\tcolor: ").concat(U,";\n\t\t\t\t\t\tbackground: ").concat(K,";\n\t\t\t\t\t}")),amp;&wp.element.createElement(c.a,{fonts:[{font:$,weights:X&&["".concat(X+("italic"===ee?":i":""))]}]}),wp.element.createElement(V,null,wp.element.createElement(T,{icon:Ze(I),label:f("Select tag"),className:"components-toolbar",controls:[{title:f("Heading 1"),icon:Ze("h1"),onClick:function(){return We("h1")}},{title:f("Heading 2"),icon:Ze("h2"),onClick:function(){return We("h2")}},{title:f("Heading 3"),icon:Ze("h3"),onClick:function(){return We("h3")}},{title:f("Heading 4"),icon:Ze("h4"),onClick:function(){return We("h4")}},{title:f("Heading 5"),icon:Ze("h5"),onClick:function(){return We("h5")}},{title:f("Heading 6"),icon:Ze("h6"),onClick:function(){return We("h6")}},{title:f("Division"),icon:Ze("div"),onClick:function(){return We("div")}},{title:f("Paragraph"),icon:Ze("p"),onClick:function(){return We("p")}},{title:f("Span Tag"),icon:Ze("span"),onClick:function(){return We("span")}}]}),wp.element.createElement(N,{className:"wp-themesiel-blocks-advanced-heading-components-toolbar"},wp.element.createElement(x,{contentClassName:"wp-themesiel-blocks-advanced-heading-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(S,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:f("Typography Settings"),tooltip:f("Typography Settings")},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(D,null,wp.element.createElement(p.a,{label:f("Font Family"),value:$,onChangeFontFamily:Ke,isSelect:!0,valueVariant:X,onChangeFontVariant:Qe,valueStyle:ee,onChangeFontStyle:Je,valueTransform:te,onChangeTextTransform:Ye}),wp.element.createElement(O,{label:f("Line Height"),value:ne,onChange:$e,min:0,max:200}),wp.element.createElement(O,{label:f("Letter Spacing"),value:oe,onChange:Xe,min:-50,max:100}))}}))),wp.element.createElement(j,null,wp.element.createElement(B,{className:"wp-block-themeisle-blocks-advanced-heading-header-panel"},wp.element.createElement(E,{className:a()("header-tab",{"is-selected":"style"===t}),onClick:function(){return s({tab:"style"})}},wp.element.createElement("span",null,wp.element.createElement(C,{icon:"admin-customizer"}),f("Style"))),wp.element.createElement(E,{className:a()("header-tab",{"is-selected":"advanced"===t}),onClick:function(){return s({tab:"advanced"})}},wp.element.createElement("span",null,wp.element.createElement(C,{icon:"admin-generic"}),f("Advanced")))),"style"===t&&wp.element.createElement(D,null,wp.element.createElement(B,{title:f("General Settings")},wp.element.createElement(D,null,wp.element.createElement("p",null,f("Heading Color")),wp.element.createElement(H,{label:"Heading Color",value:q,onChange:function(e){A.setAttributes({headingColor:e})}})),wp.element.createElement(m.a,{label:"Font Size",view:n,changeViewType:function(e){s({fontSizeViewType:e})}},wp.element.createElement(O,{value:qe||"",onChange:function(e){"desktop"===n&&A.setAttributes({fontSize:e}),"tablet"===n&&A.setAttributes({fontSizeTablet:e}),"mobile"===n&&A.setAttributes({fontSizeMobile:e})},min:1,max:500})),wp.element.createElement(m.a,{label:"Alignment",view:o,changeViewType:function(e){s({alignmentViewType:e})}},wp.element.createElement(z,{value:Ue,onChange:function(e){"desktop"===o&&A.setAttributes({align:e}),"tablet"===o&&A.setAttributes({alignTablet:e}),"mobile"===o&&A.setAttributes({alignMobile:e})}}))),wp.element.createElement(B,{title:f("Typography Settings"),initialOpen:!1},wp.element.createElement(p.a,{label:f("Font Family"),value:$,onChangeFontFamily:Ke,valueVariant:X,onChangeFontVariant:Qe,valueStyle:ee,onChangeFontStyle:Je,valueTransform:te,onChangeTextTransform:Ye}),wp.element.createElement(O,{label:f("Line Height"),value:ne,onChange:$e,min:0,max:200}),wp.element.createElement(O,{label:f("Letter Spacing"),value:oe,onChange:Xe,min:-50,max:100}),wp.element.createElement(L,{label:"Shadow Properties",checked:ae,onChange:function(e){A.setAttributes({textShadow:e})}}),ae&&wp.element.createElement(D,null,wp.element.createElement(D,null,wp.element.createElement("p",null,f("Color")),wp.element.createElement(H,{label:f("Color"),value:le,onChange:function(e){A.setAttributes({textShadowColor:e})}})),wp.element.createElement(u.a,{label:"Shadow Properties"},wp.element.createElement(O,{label:f("Opacity"),value:re,onChange:function(e){A.setAttributes({textShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(O,{label:f("Blur"),value:ie,onChange:function(e){A.setAttributes({textShadowBlur:e})},min:0,max:100}),wp.element.createElement(O,{label:f("Horizontal"),value:ce,onChange:function(e){A.setAttributes({textShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(O,{label:f("Vertical"),value:se,onChange:function(e){A.setAttributes({textShadowVertical:e})},min:-100,max:100})))))||"advanced"===t&&wp.element.createElement(D,null,wp.element.createElement(B,{title:f("Highlight Color")},wp.element.createElement(D,null,wp.element.createElement("p",null,f("Highlight Color")),wp.element.createElement(H,{label:"Highlight Color",value:U,onChange:function(e){A.setAttributes({highlightColor:e})}})),wp.element.createElement(D,null,wp.element.createElement("p",null,f("Highlight Background")),wp.element.createElement(H,{label:"Highlight Background",value:K,onChange:function(e){A.setAttributes({highlightBackground:e})}}))),wp.element.createElement(B,{title:f("Padding & Margin"),initialOpen:!1},wp.element.createElement(m.a,{label:"Padding",view:l,changeViewType:function(e){s({paddingViewType:e})}},wp.element.createElement(d.a,{type:at,min:0,max:500,changeType:function(e){"desktop"===l&&A.setAttributes({paddingType:e}),"tablet"===l&&A.setAttributes({paddingTypeTablet:e}),"mobile"===l&&A.setAttributes({paddingTypeMobile:e})},onChange:function(e,t){"desktop"===l&&("linked"===pe?A.setAttributes({padding:t}):A.setAttributes(h({},tt[e],t))),"tablet"===l&&("linked"===ue?A.setAttributes({paddingTablet:t}):A.setAttributes(h({},nt[e],t))),"mobile"===l&&("linked"===me?A.setAttributes({paddingMobile:t}):A.setAttributes(h({},ot[e],t)))},options:[{label:f("Top"),type:"top",value:et("top")},{label:f("Right"),type:"right",value:et("right")},{label:f("Bottom"),type:"bottom",value:et("bottom")},{label:f("Left"),type:"left",value:et("left")}]})),wp.element.createElement(m.a,{label:"Margin",view:i,changeViewType:function(e){s({marginViewType:e})}},wp.element.createElement(d.a,{type:mt,min:-500,max:500,changeType:function(e){"desktop"===i&&A.setAttributes({marginType:e}),"tablet"===i&&A.setAttributes({marginTypeTablet:e}),"mobile"===i&&A.setAttributes({marginTypeMobile:e})},onChange:function(e,t){"desktop"===i&&("linked"===Oe?A.setAttributes({margin:t}):A.setAttributes(h({},st[e],t))),"tablet"===i&&("linked"===Me?A.setAttributes({marginTablet:t}):A.setAttributes(h({},pt[e],t))),"mobile"===i&&("linked"===Le?A.setAttributes({marginMobile:t}):A.setAttributes(h({},ut[e],t)))},options:[{label:f("Top"),type:"top",value:ct("top")},{label:f("Right"),disabled:!0},{label:f("Bottom"),type:"bottom",value:ct("bottom")},{label:f("Left"),disabled:!0}]}))))),wp.element.createElement(F,{identifier:"content",className:a()(_,A.className),value:R,placeholder:f("Write heading…"),tagName:I,formattingControls:["bold","italic","link","strikethrough","mark"],allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","themeisle-blocks/mark"],onMerge:A.mergeBlocks,unstableOnSplit:A.insertBlocksAfter?function(e,t){A.setAttributes({content:e});for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];A.insertBlocksAfter([].concat(o,[w("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return A.onReplace([])},style:dt,onChange:function(e){A.setAttributes({content:e})}}))})),save:function(e){var t,n=e.attributes,o=n.id,l=n.content,i=n.tag,c=n.headingColor,s=n.fontFamily,p=n.fontVariant,u=n.fontStyle,m=n.textTransform,d=n.lineHeight,b=n.letterSpacing,h=n.textShadow,f=n.textShadowColor,y=n.textShadowColorOpacity,w=n.textShadowBlur,v=n.textShadowHorizontal,k=n.textShadowVertical;h&&(t={textShadow:"".concat(v,"px ").concat(k,"px ").concat(w,"px ").concat(r()(f||"#000000",y))});var E=g({color:c,fontFamily:s,fontWeight:"regular"===p?"normal":p,fontStyle:u,textTransform:m,lineHeight:d&&"".concat(d,"px"),letterSpacing:b&&"".concat(b,"px")},t);return wp.element.createElement(F.Content,{tagName:i,value:l,id:o,className:a()(o,e.className),style:E})}})},,,,function(e,t,n){},function(e,t){var n=wp.i18n.__,o=wp.richText,a=o.registerFormatType,l=o.toggleFormat,r=wp.blockEditor||wp.editor,i=r.RichTextShortcut,c=r.RichTextToolbarButton,s=wp.element.Fragment,p="themeisle-blocks/mark";a(p,{name:p,title:n("Highlight"),tagName:"mark",className:null,edit:function(e){var t=e.isActive,o=e.value,a=e.onChange,r=function(){return a(l(o,{type:p}))};return wp.element.createElement(s,null,wp.element.createElement(i,{type:"primary",character:"m",onUse:r}),wp.element.createElement(c,{icon:"admin-customizer",title:n("Highlight"),onClick:r,isActive:t,shortcutType:"access",shortcutCharacter:"m"}))}})},,,,,,function(e,t,n){},,function(e,t,n){},,function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=(wp.blockEditor||wp.editor).InnerBlocks;o("themeisle-blocks/accordion-area",{title:n("Accordion"),description:n("Accordion block allows you to add beautiful accordions in your posts."),icon:"menu",category:"themeisle-blocks",keywords:["accordion","collapsible","orbitfox"],supports:{inserter:!1},edit:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement("ul",null,wp.element.createElement(a,{allowedBlocks:["themeisle-blocks/accordion-block"],template:[["themeisle-blocks/accordion-block"],["themeisle-blocks/accordion-block"],["themeisle-blocks/accordion-block"]]})))},save:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-accordion-box"},wp.element.createElement("ul",null,wp.element.createElement(a.Content,null)))}})},function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.blockEditor||wp.editor,l=a.RichText,r=a.InnerBlocks;o("themeisle-blocks/accordion-block",{title:n("Accordion Item"),description:n("Accordion block allows you to add beautiful accordions in your posts."),parent:["themeisle-blocks/accordion-area"],icon:"menu",category:"themeisle-blocks",keywords:["accordion","collapsible","orbitfox"],attributes:{heading:{type:"array",source:"children",selector:".accordion-heading"}},supports:{inserter:!1},edit:function(e){var t=[["core/paragraph",{content:n("What is the point of being alive if you don’t at least try to do something remarkable?"),className:"accordion-content"}]];return wp.element.createElement("li",{className:e.className},wp.element.createElement(l,{tagName:"h4",className:"accordion-heading",value:e.attributes.heading,placeholder:"Section Title",onChange:function(t){return e.setAttributes({heading:t})}}),wp.element.createElement("div",{className:"accordion-content"},wp.element.createElement(r,{template:t,id:"accordion-content"})))},save:function(e){return wp.element.createElement("li",null,wp.element.createElement("input",{type:"checkbox",checked:!0}),wp.element.createElement("i",null),wp.element.createElement(l.Content,{tagName:"h4",className:"accordion-heading",value:e.attributes.heading}),wp.element.createElement("div",{className:"accordion-content"},wp.element.createElement(r.Content,null)))}})},function(e,t,n){"use strict";n.r(t);n(25),n(26),n(27),n(35),n(37),n(36),n(28)},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.blockEditor||wp.editor,l=a.InnerBlocks,r=a.InspectorControls,i=a.PanelColorSettings;o("themeisle-blocks/service-block",{title:n("Service Block"),description:n("Use this Services table to showcase services your website offers."),parent:["themeisle-blocks/services"],icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{backgroundColor:{type:"string",default:"#ffffff"}},supports:{inserter:!1},edit:function(e){var t=[["themeisle-blocks/font-awesome-icons",{fontSize:62,prefix:"fab",icon:"angellist"}],["core/heading",{content:n("Panel"),className:"service-title",align:"center",level:4}],["core/paragraph",{content:n("Small description, but a pretty long one."),className:"service-content",align:"center"}],["core/button",{text:n("Learn More"),className:"service-button",align:"center"}]];return[wp.element.createElement(r,null,wp.element.createElement(i,{title:n("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:n("Background Color")}]})),wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(l,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(l.Content,null))}})},function(e,t,n){},,function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.blockEditor||wp.editor,l=a.InnerBlocks,r=a.InspectorControls,i=a.PanelColorSettings;o("themeisle-blocks/testimonials-block",{title:n("Testimonials Block"),description:n("Display kudos from customers and clients and display them on your website."),parent:["themeisle-blocks/testimonials-area"],icon:"testimonial",category:"themeisle-blocks",keywords:["testimonials","clients","quotes"],attributes:{backgroundColor:{type:"string",default:"#ffffff"}},supports:{inserter:!1},edit:function(e){var t=[["core/image",{align:"center"}],["core/heading",{content:n("John Doe"),className:"testimonials-title",align:"center",level:3}],["core/heading",{content:n("Jedi Master"),className:"testimonials-subtitle",align:"center",level:6}],["core/paragraph",{content:n("What is the point of being alive if you don’t at least try to do something remarkable?"),className:"testimonials-content",align:"center"}]];return[wp.element.createElement(r,null,wp.element.createElement(i,{title:n("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:n("Background Color")}]})),wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(l,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(l.Content,null))}})},,function(e,t,n){},function(e,t,n){},,function(e,t,n){},,,,,function(e,t,n){"use strict";n.r(t);n(86),n(87);var o=n(2),a=n(3),l=wp.i18n.__,r=wp.apiFetch,i=wp.blocks.registerBlockType,c=wp.components,s=c.Placeholder,p=c.Dashicon,u=c.TextControl,m=c.Spinner,d=c.Button,b=c.Toolbar,g=c.Tooltip,h=wp.compose,f=h.compose,y=h.withState,w=(wp.blockEditor||wp.editor).BlockControls,v=wp.data.withSelect,k=wp.keycodes.ENTER;i("themeisle-blocks/plugin-cards",{title:l("Plugin Card"),description:l("Plugin Card block lets you display plugins data in your blog posts."),icon:o.m,category:"themeisle-blocks",keywords:["plugin","card","orbitfox"],attributes:{slug:{type:"string"},pluginIcon:{type:"string"},pluginName:{type:"string"},pluginAuthor:{type:"string"},pluginRating:{type:"number"},pluginDescription:{type:"string"},pluginInstalls:{type:"number"},pluginVersion:{type:"string"},pluginTested:{type:"string"},pluginLink:{type:"string"}},supports:{html:!1},edit:f([v((function(e,t){return{props:t}})),y({status:0,results:{}})])((function(e){var t,n,o,i,c,h=e.props,f=e.className,y=e.status,v=e.results,E=e.setState;return[h.attributes.pluginName&&wp.element.createElement(w,{key:"toolbar-controls"},wp.element.createElement(b,{className:"components-toolbar"},wp.element.createElement(g,{text:l("Edit Plugin Card")},wp.element.createElement(d,{className:"components-icon-button components-toolbar__control edit-plugin-card",onClick:function(){h.setAttributes({pluginIcon:"",pluginName:"",pluginAuthor:"",pluginRating:"",pluginDescription:"",pluginInstalls:"",pluginVersion:"",pluginTested:"",pluginLink:""})}},wp.element.createElement(p,{icon:"edit"}))))),wp.element.createElement("div",{className:f},h.attributes.pluginName?wp.element.createElement("div",{className:"wp-block-themeisle-plugin-card"},wp.element.createElement("div",{className:"card-header"},wp.element.createElement("div",{className:"card-main"},wp.element.createElement("div",{className:"card-logo"},wp.element.createElement("img",{src:h.attributes.pluginIcon,alt:Object(a.b)(h.attributes.pluginName),title:Object(a.b)(h.attributes.pluginName)})),wp.element.createElement("div",{className:"card-info"},wp.element.createElement("h4",null,Object(a.b)(h.attributes.pluginName)),wp.element.createElement("h5",{dangerouslySetInnerHTML:{__html:_.unescape(h.attributes.pluginAuthor)}})),wp.element.createElement("div",{className:"card-ratings",dangerouslySetInnerHTML:{__html:_.unescape((t=h.attributes.pluginRating,n=Math.floor(t/10)/2,o=Math.floor(n),i=Math.ceil(n-o),c=5-o-i,'<span className="star-full"></span>'.repeat(o)+'<span className="star-half"></span>'.repeat(i)+'<span className="star-empty"></span>'.repeat(c)))}}))),wp.element.createElement("div",{className:"card-details"},wp.element.createElement("div",{className:"card-description"},Object(a.b)(h.attributes.pluginDescription)),wp.element.createElement("div",{className:"card-stats"},wp.element.createElement("h5",null,l("Plugin Stats")),wp.element.createElement("div",{className:"card-stats-list"},wp.element.createElement("div",{className:"card-stat"},wp.element.createElement("span",{className:"card-text-large"},h.attributes.pluginInstalls.toLocaleString(),"+"),l("active installs")),wp.element.createElement("div",{className:"card-stat"},wp.element.createElement("span",{className:"card-text-large"},h.attributes.pluginVersion),l("version")),wp.element.createElement("div",{className:"card-stat"},wp.element.createElement("span",{className:"card-text-large"},h.attributes.pluginTested),l("tested up to"))))),wp.element.createElement("div",{className:"card-download"},wp.element.createElement("a",{href:h.attributes.pluginLink},l("Download")))):wp.element.createElement(s,{icon:"admin-plugins",label:l("Plugin Card")},wp.element.createElement("div",{className:"search-plugin-field"},wp.element.createElement(p,{icon:"search"}),1===y&&wp.element.createElement(m,null),wp.element.createElement(u,{type:"text",placeholder:l("Search for plugin…"),value:h.attributes.slug,onChange:function(e){h.setAttributes({slug:e})},onKeyDown:function(e){var t;e.keyCode===k&&(t=e.target.value,E({status:1}),r({path:"themeisle-gutenberg-blocks/v1/get_plugins?search='".concat(encodeURIComponent(t))}).then((function(e){var t=e.data.plugins;E({status:0,results:t})})))}}),v&&wp.element.createElement("div",{className:"plugin-card-search-results"},wp.element.createElement("div",null,Object.keys(v).map((function(e,t){var n,o=v[e];return o.icons.svg&&(n=o.icons.svg),o.icons["2x"]&&(n=o.icons["2x"]),o.icons["1x"]&&(n=o.icons["1x"]),o.icons.default&&(n=o.icons.default),wp.element.createElement("div",{className:"plugin-card-list-item",key:e,onClick:function(e){e.preventDefault(),function(e){var t;e.icons.svg&&(t=e.icons.svg),e.icons["2x"]&&(t=e.icons["2x"]),e.icons["1x"]&&(t=e.icons["1x"]),e.icons.default&&(t=e.icons.default),h.setAttributes({slug:e.slug,pluginIcon:t,pluginName:e.name,pluginAuthor:e.author,pluginRating:e.rating,pluginDescription:e.short_description,pluginInstalls:e.active_installs,pluginVersion:e.version,pluginTested:e.tested,pluginLink:e.download_link}),E({results:{}})}(o)}},wp.element.createElement("img",{src:n}),wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:_.unescape(o.name)}}))})))))))]})),save:function(){return null}})},,function(e,t,n){},function(e,t,n){},,,,,,,,,,,,function(e,t,n){},,function(e,t,n){},,,function(e,t,n){},,function(e,t,n){"use strict";n.r(t);n(32),n(33),n(34)},,,function(e,t,n){"use strict";n.r(t);n(102),n(103);var o=n(0),a=n.n(o),l=n(5),r=n.n(l),i=n(2),c={1:{equal:["100"]},2:{equal:["50","50"],oneTwo:["33.34","66.66"],twoOne:["66.66","33.34"]},3:{equal:["33.33","33.33","33.33"],oneOneTwo:["25","25","50"],twoOneOne:["50","25","25"],oneTwoOne:["25","50","25"],oneThreeOne:["20","60","20"]},4:{equal:["25","25","25","25"]},5:{equal:["20","20","20","20","20"]},6:{equal:["16.66","16.66","16.66","16.66","16.66","16.66"]}},s=n(20),p=n(4),u=n(6),m=n(11),d=(n(104),wp.components),b=d.Dashicon,g=d.Tooltip,h=function(e){var t=e.title,n=e.firstColor,o=e.secondColor,l=e.isSelected,r=e.onChange,i=wp.element.createElement("button",{type:"button","aria-pressed":l,className:a()("wp-block-themeisle-blocks-responsive-control-option",{"is-active":l}),style:{background:"linear-gradient(90deg, ".concat(n," 0%, ").concat(o," 100%)")},onClick:function(){return r(n,0,o,100,"linear",90,"center center")}});return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-option-wrapper"},t?wp.element.createElement(g,{text:t},i):i,l&&wp.element.createElement(b,{icon:"saved"}))},f=wp.i18n.__,y=[{title:f("Reef"),firstColor:"#36d1dc",secondColor:"#5b86e5"},{title:f("Mild"),firstColor:"#67B26F",secondColor:"#4ca2cd"},{title:f("Mojito"),firstColor:"#1D976C",secondColor:"#93F9B9"},{title:f("Nelson"),firstColor:"#f2709c",secondColor:"#ff9472"},{title:f("Orange Fun"),firstColor:"#fc4a1a",secondColor:"#f7b733"},{title:f("Evening Night"),firstColor:"#005AA7",secondColor:"#FFFDE4"},{title:f("Calm Darya"),firstColor:"#5f2c82",secondColor:"#49a09d"},{title:f("Opa"),firstColor:"#3D7EAA",secondColor:"#FFE47A"},{title:f("Bora Bora"),firstColor:"#2BC0E4",secondColor:"#EAECC6"},{title:f("Electric Violet"),firstColor:"#4776E6",secondColor:"#8E54E9"},{title:f("Pinky"),firstColor:"#DD5E89",secondColor:"#F7BB97"},{title:f("Purple Paradise"),firstColor:"#1D2B64",secondColor:"#F8CDDA"}],w=wp.i18n.__,v=wp.components,k=v.Button,E=v.ColorIndicator,C=v.Dropdown,x=v.RangeControl,T=v.SelectControl,S=wp.compose.withInstanceId,B=(wp.blockEditor||wp.editor).ColorPalette,O=wp.element.Fragment,M=S((function(e){var t,n=e.label,o=e.instanceId,a=e.value,l=e.customGradient,r=void 0===l||l,i=e.onChange,c="inspector-gradient-picker-control-".concat(o),s=function(e){var t=e.firstColor,n=void 0===t?a.firstColor:t,o=e.firstLocation,l=void 0===o?a.firstLocation:o,r=e.secondColor,c=void 0===r?a.secondColor:r,s=e.secondLocation,p=void 0===s?a.secondLocation:s,u=e.type,m=void 0===u?a.type:u,d=e.angle,b=void 0===d?a.angle:d,g=e.position,h=void 0===g?a.position:g;i(n,l,c,p,m,b,h)};t="linear"===a.type?"".concat(a.angle,"deg"):"at ".concat(a.position);var p="".concat(a.type,"-gradient( ").concat(t,", ").concat(a.firstColor||"rgba( 0, 0, 0, 0 )"," ").concat(a.firstLocation,"%, ").concat(a.secondColor||"rgba( 0, 0, 0, 0 )"," ").concat(a.secondLocation,"% )"),u=y.some((function(e){return e.firstColor===a.firstColor&&e.secondColor===a.secondColor}));return wp.element.createElement("div",{id:c,className:"wp-block-themeisle-blocks-responsive-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n,!u&&wp.element.createElement(E,{colorValue:p}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-presets"},y.map((function(e){return wp.element.createElement(h,{title:e.title,firstColor:e.firstColor,secondColor:e.secondColor,isSelected:e.firstColor===a.firstColor&&e.secondColor===a.secondColor,onChange:i})})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-custom-wrapper"},r&&wp.element.createElement(C,{className:"wp-block-themeisle-blocks-responsive-control-dropdown-link-action",contentClassName:"wp-block-themeisle-blocks-responsive-control-dropdown-content",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(k,{"aria-expanded":t,onClick:n,isLink:!0},w("Custom Gradient"))},renderContent:function(){return wp.element.createElement(O,null,wp.element.createElement("p",null,w("First Color")),wp.element.createElement(B,{label:w("Color"),clearable:!1,value:a.firstColor,onChange:function(e){return s({firstColor:e})}}),wp.element.createElement(x,{label:w("Location"),value:a.firstLocation,min:0,max:100,onChange:function(e){return s({firstLocation:e})}}),wp.element.createElement("p",null,w("Second Color")),wp.element.createElement(B,{label:w("Color"),clearable:!1,value:a.secondColor,onChange:function(e){return s({secondColor:e})}}),wp.element.createElement(x,{label:w("Location"),value:a.secondLocation,min:0,max:100,onChange:function(e){return s({secondLocation:e})}}),wp.element.createElement(T,{label:w("Type"),value:a.type,options:[{label:"Linear",value:"linear"},{label:"Radial",value:"radial"}],onChange:function(e){return s({type:e})}}),"linear"===a.type?wp.element.createElement(x,{label:w("Angle"),value:a.angle,min:0,max:360,onChange:function(e){return s({angle:e})}}):wp.element.createElement(T,{label:w("Position"),value:a.position,options:[{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){return s({position:e})}}))}}),wp.element.createElement(k,{className:"wp-block-themeisle-blocks-responsive-control-clear",type:"button",isSmall:!0,isDefault:!0,onClick:function(){return i("#ffffff",0,"#ffffff",100,"linear",90,"center center")}},w("Clear"))))))})),L=n(7);function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var I=wp.i18n.__,z=wp.blockEditor||wp.editor,V=z.__experimentalBlockNavigationList,H=z.BlockControls,j=wp.components,F=j.IconButton,D=j.Modal,G=j.Toolbar,W=wp.compose.compose,Z=wp.data,q=Z.withSelect,U=Z.withDispatch,K=wp.element,Q=K.Component,J=K.Fragment,Y=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=P(t).apply(this,arguments))||"object"!==N(o)&&"function"!=typeof o?_(n):o).toggleNavigator=e.toggleNavigator.bind(_(e)),e.state={isNavigationListOpen:!1},e}var n,o,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&&R(e,t)}(t,e),n=t,(o=[{key:"toggleNavigator",value:function(e){this.setState({isNavigationListOpen:e})}},{key:"render",value:function(){var e=this;return wp.element.createElement(J,null,wp.element.createElement(H,null,wp.element.createElement(G,{className:"wp-themesiel-blocks-block-navigator-components-toolbar"},wp.element.createElement(F,{className:"components-toolbar__control",label:I("Open block navigator"),onClick:function(){return e.toggleNavigator(!0)},icon:i.k}))),this.state.isNavigationListOpen&&wp.element.createElement(D,{title:I("Block Navigator"),closeLabel:I("Close"),onRequestClose:function(){e.toggleNavigator(!1)}},wp.element.createElement(V,{blocks:[this.props.block],selectedBlockClientId:this.props.selectedBlockClientId,selectBlock:this.props.selectBlock,showNestedBlocks:!0})))}}])&&A(n.prototype,o),a&&A(n,a),t}(Q),$=W(q((function(e,t){var n=t.clientId,o=e("core/block-editor")||e("core/editor"),a=o.getSelectedBlockClientId;return{block:(0,o.getBlock)(n),selectedBlockClientId:a()}})),U((function(e,t){t.block;return{selectBlock:(e("core/block-editor")||e("core/editor")).selectBlock}})))(Y),X=n(9),ee=n(22);function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(n,!0).forEach((function(t){oe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ae=(wp.blockEditor||wp.editor).InnerBlocks,le=[{attributes:{align:{type:"string"},id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},horizontalAlign:{type:"string",default:"unset"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},save:function(e){var t,n,o,l,i,c,s=e.attributes,p=s.id,u=s.columns,m=s.layout,d=s.layoutTablet,b=s.layoutMobile,g=s.columnsGap,h=s.columnsWidth,f=s.horizontalAlign,y=s.verticalAlign,w=s.backgroundType,v=s.backgroundColor,k=s.backgroundImageURL,E=s.backgroundAttachment,C=s.backgroundPosition,x=s.backgroundRepeat,T=s.backgroundSize,S=s.backgroundGradientFirstColor,B=s.backgroundGradientFirstLocation,O=s.backgroundGradientSecondColor,M=s.backgroundGradientSecondLocation,L=s.backgroundGradientType,N=s.backgroundGradientAngle,A=s.backgroundGradientPosition,P=s.backgroundOverlayOpacity,_=s.backgroundOverlayType,R=s.backgroundOverlayColor,I=s.backgroundOverlayImageURL,z=s.backgroundOverlayAttachment,V=s.backgroundOverlayPosition,H=s.backgroundOverlayRepeat,j=s.backgroundOverlaySize,F=s.backgroundOverlayGradientFirstColor,D=s.backgroundOverlayGradientFirstLocation,G=s.backgroundOverlayGradientSecondColor,W=s.backgroundOverlayGradientSecondLocation,Z=s.backgroundOverlayGradientType,q=s.backgroundOverlayGradientAngle,U=s.backgroundOverlayGradientPosition,K=s.backgroundOverlayFilterBlur,Q=s.backgroundOverlayFilterBrightness,J=s.backgroundOverlayFilterContrast,Y=s.backgroundOverlayFilterGrayscale,$=s.backgroundOverlayFilterHue,ee=s.backgroundOverlayFilterSaturate,te=s.backgroundOverlayBlend,oe=s.borderType,le=s.border,re=s.borderTop,ie=s.borderRight,ce=s.borderBottom,se=s.borderLeft,pe=s.borderColor,ue=s.borderRadiusType,me=s.borderRadius,de=s.borderRadiusTop,be=s.borderRadiusRight,ge=s.borderRadiusBottom,he=s.borderRadiusLeft,fe=s.boxShadow,ye=s.boxShadowColor,we=s.boxShadowColorOpacity,ve=s.boxShadowBlur,ke=s.boxShadowSpread,Ee=s.boxShadowHorizontal,Ce=s.boxShadowVertical,xe=s.dividerTopType,Te=s.dividerTopColor,Se=s.dividerTopInvert,Be=s.dividerBottomType,Oe=s.dividerBottomColor,Me=s.dividerBottomInvert,Le=s.hide,Ne=s.hideTablet,Ae=s.hideMobile,Pe=s.columnsHTMLTag;("color"===w&&(t={background:v}),"image"===w&&(t={backgroundImage:"url( '".concat(k,"' )"),backgroundAttachment:E,backgroundPosition:C,backgroundRepeat:x,backgroundSize:T}),"gradient"===w)&&(c="linear"===L?"".concat(N,"deg"):"at ".concat(A),t={background:"".concat(L,"-gradient( ").concat(c,", ").concat(S||"rgba( 0, 0, 0, 0 )"," ").concat(B,"%, ").concat(O||"rgba( 0, 0, 0, 0 )"," ").concat(M,"% )")});"linked"===oe&&(o={borderWidth:"".concat(le,"px"),borderStyle:"solid",borderColor:pe}),"unlinked"===oe&&(o={borderTopWidth:"".concat(re,"px"),borderRightWidth:"".concat(ie,"px"),borderBottomWidth:"".concat(ce,"px"),borderLeftWidth:"".concat(se,"px"),borderStyle:"solid",borderColor:pe}),"linked"===ue&&(l={borderRadius:"".concat(me,"px")}),"unlinked"===ue&&(l={borderTopLeftRadius:"".concat(de,"px"),borderTopRightRadius:"".concat(be,"px"),borderBottomRightRadius:"".concat(ge,"px"),borderBottomLeftRadius:"".concat(he,"px")}),!0===fe&&(i={boxShadow:"".concat(Ee,"px ").concat(Ce,"px ").concat(ve,"px ").concat(ke,"px ").concat(r()(ye||"#000000",we))});var _e,Re=ne({},t,{},o,{},l,{},i,{justifyContent:f});("color"===_&&(n={background:R,opacity:P/100}),"image"===_&&(n={backgroundImage:"url( '".concat(I,"' )"),backgroundAttachment:z,backgroundPosition:V,backgroundRepeat:H,backgroundSize:j,opacity:P/100}),"gradient"===_)&&(_e="linear"===Z?"".concat(q,"deg"):"at ".concat(U),n={background:"".concat(Z,"-gradient( ").concat(_e,", ").concat(F||"rgba( 0, 0, 0, 0 )"," ").concat(D,"%, ").concat(G||"rgba( 0, 0, 0, 0 )"," ").concat(W,"% )"),opacity:P/100});var Ie=ne({},n,{mixBlendMode:te,filter:"blur( ".concat(K/10,"px ) brightness( ").concat(Q/10," ) contrast( ").concat(J/10," ) grayscale( ").concat(Y/100," ) hue-rotate( ").concat($,"deg ) saturate( ").concat(ee/10," )")}),ze={};h&&(ze={maxWidth:h+"px"});var Ve=Le?"":"has-desktop-".concat(m,"-layout"),He=Ne?"":"has-tablet-".concat(d,"-layout"),je=Ae?"":"has-mobile-".concat(b,"-layout"),Fe=a()(e.className,"has-".concat(u,"-columns"),Ve,He,je,{"hide-in-desktop":Le},{"hide-in-tablet":Ne},{"hide-in-mobile":Ae},"has-".concat(g,"-gap"),"has-vertical-".concat(y));return wp.element.createElement(Pe,{className:Fe,id:p,style:Re},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:Ie}),wp.element.createElement(X.default,{type:"top",front:!0,style:xe,fill:Te,invert:Se}),wp.element.createElement("div",{className:"innerblocks-wrap",style:ze},wp.element.createElement(ae.Content,null)),wp.element.createElement(X.default,{type:"bottom",front:!0,style:Be,fill:Oe,invert:Me}))}}];function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(n,!0).forEach((function(t){ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var se=lodash.times,pe=wp.i18n.__,ue=wp.blocks.registerBlockType,me=wp.components,de=me.BaseControl,be=me.Button,ge=me.ButtonGroup,he=me.Dashicon,fe=me.Icon,ye=me.IconButton,we=me.PanelBody,ve=me.Tooltip,ke=me.ToggleControl,Ee=me.RangeControl,Ce=me.SelectControl,xe=me.TextControl,Te=wp.compose,Se=Te.compose,Be=Te.withState,Oe=wp.data,Me=Oe.withDispatch,Le=Oe.withSelect,Ne=wp.blockEditor||wp.editor,Ae=Ne.__experimentalBlockNavigationList,Pe=Ne.ColorPalette,_e=Ne.InnerBlocks,Re=Ne.InspectorAdvancedControls,Ie=Ne.InspectorControls,ze=Ne.MediaPlaceholder,Ve=wp.element.Fragment,He=wp.viewport.withViewportMatch;function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(n,!0).forEach((function(t){De(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}ue("themeisle-blocks/advanced-columns",{title:pe("Section"),description:pe("Add a Section block that displays content in multiple columns, then add whatever content blocks you’d like."),icon:i.f,category:"themeisle-blocks",keywords:["advanced columns","layout","grid"],attributes:{id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},deprecated:le,edit:Se([Me((function(e){return{updateBlockAttributes:(e("core/block-editor")||e("core/editor")).updateBlockAttributes}})),Le((function(e,t){var n=t.clientId;return{sectionBlock:(0,(e("core/block-editor")||e("core/editor")).getBlock)(n),props:t}})),Be({tab:"layout",columnsViewType:"desktop",paddingViewType:"desktop",marginViewType:"desktop",heightViewType:"desktop",dividerViewType:"top",dividerWidthViewType:"desktop",dividerHeightViewType:"desktop"}),He({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"})])((function(e){var t=e.tab,n=e.columnsViewType,o=e.paddingViewType,l=e.marginViewType,d=e.heightViewType,b=e.dividerViewType,g=e.dividerWidthViewType,h=e.dividerHeightViewType,f=e.setState,y=e.isLarger,w=e.isLarge,v=e.isSmall,k=e.isSmaller,E=e.props,C=e.sectionBlock,x=e.updateBlockAttributes,T=E.attributes,S=T.id,B=T.columns,O=T.layout,N=T.layoutTablet,A=T.layoutMobile,P=T.columnsGap,_=T.paddingType,R=T.paddingTypeTablet,I=T.paddingTypeMobile,z=T.padding,V=T.paddingTablet,H=T.paddingMobile,j=T.paddingTop,F=T.paddingTopTablet,D=T.paddingTopMobile,G=T.paddingRight,W=T.paddingRightTablet,Z=T.paddingRightMobile,q=T.paddingBottom,U=T.paddingBottomTablet,K=T.paddingBottomMobile,Q=T.paddingLeft,J=T.paddingLeftTablet,Y=T.paddingLeftMobile,te=T.marginType,ne=T.marginTypeTablet,oe=T.marginTypeMobile,ae=T.margin,le=T.marginTablet,re=T.marginMobile,ue=T.marginTop,me=T.marginTopTablet,Te=T.marginTopMobile,Se=T.marginBottom,Be=T.marginBottomTablet,Oe=T.marginBottomMobile,Me=T.columnsWidth,Le=T.columnsHeight,Ne=T.columnsHeightCustom,He=T.columnsHeightCustomTablet,je=T.columnsHeightCustomMobile,Fe=T.horizontalAlign,De=T.verticalAlign,Ge=T.backgroundType,We=T.backgroundColor,Ze=T.backgroundImageID,qe=T.backgroundImageURL,Ue=T.backgroundAttachment,Ke=T.backgroundPosition,Qe=T.backgroundRepeat,Je=T.backgroundSize,Ye=T.backgroundGradientFirstColor,$e=T.backgroundGradientFirstLocation,Xe=T.backgroundGradientSecondColor,et=T.backgroundGradientSecondLocation,tt=T.backgroundGradientType,nt=T.backgroundGradientAngle,ot=T.backgroundGradientPosition,at=T.backgroundOverlayOpacity,lt=T.backgroundOverlayType,rt=T.backgroundOverlayColor,it=T.backgroundOverlayImageID,ct=T.backgroundOverlayImageURL,st=T.backgroundOverlayAttachment,pt=T.backgroundOverlayPosition,ut=T.backgroundOverlayRepeat,mt=T.backgroundOverlaySize,dt=T.backgroundOverlayGradientFirstColor,bt=T.backgroundOverlayGradientFirstLocation,gt=T.backgroundOverlayGradientSecondColor,ht=T.backgroundOverlayGradientSecondLocation,ft=T.backgroundOverlayGradientType,yt=T.backgroundOverlayGradientAngle,wt=T.backgroundOverlayGradientPosition,vt=T.backgroundOverlayFilterBlur,kt=T.backgroundOverlayFilterBrightness,Et=T.backgroundOverlayFilterContrast,Ct=T.backgroundOverlayFilterGrayscale,xt=T.backgroundOverlayFilterHue,Tt=T.backgroundOverlayFilterSaturate,St=T.backgroundOverlayBlend,Bt=T.borderType,Ot=T.border,Mt=T.borderTop,Lt=T.borderRight,Nt=T.borderBottom,At=T.borderLeft,Pt=T.borderColor,_t=T.borderRadiusType,Rt=T.borderRadius,It=T.borderRadiusTop,zt=T.borderRadiusRight,Vt=T.borderRadiusBottom,Ht=T.borderRadiusLeft,jt=T.boxShadow,Ft=T.boxShadowColor,Dt=T.boxShadowColorOpacity,Gt=T.boxShadowBlur,Wt=T.boxShadowSpread,Zt=T.boxShadowHorizontal,qt=T.boxShadowVertical,Ut=T.dividerTopType,Kt=T.dividerTopColor,Qt=T.dividerTopWidth,Jt=T.dividerTopWidthTablet,Yt=T.dividerTopWidthMobile,$t=T.dividerTopHeight,Xt=T.dividerTopHeightTablet,en=T.dividerTopHeightMobile,tn=T.dividerTopInvert,nn=T.dividerBottomType,on=T.dividerBottomColor,an=T.dividerBottomWidth,ln=T.dividerBottomWidthTablet,rn=T.dividerBottomWidthMobile,cn=T.dividerBottomHeight,sn=T.dividerBottomHeightTablet,pn=T.dividerBottomHeightMobile,un=T.dividerBottomInvert,mn=T.hide,dn=T.hideTablet,bn=T.hideMobile,gn=T.columnsHTMLTag;if(void 0===S||S.substr(S.length-8)!==E.clientId.substr(0,8)){var hn="wp-block-themeisle-blocks-advanced-columns-".concat(E.clientId.substr(0,8));E.setAttributes({id:hn})}var fn,yn,wn,vn,kn,En,Cn,xn=y&&!w&&v&&!k,Tn=!y&&!w&&v&&!k,Sn=!(y||w||v||k),Bn=gn;(xn&&(fn={paddingRight:"".concat("linked"===_?z:G,"px"),paddingLeft:"".concat("linked"===_?z:Q,"px"),marginTop:"".concat("linked"===te?ae:ue,"px"),marginBottom:"".concat("linked"===te?ae:Se,"px"),minHeight:"custom"===Le?"".concat(Ne,"px"):Le}),Tn&&(fn={paddingRight:"".concat("linked"===R?V:W,"px"),paddingLeft:"".concat("linked"===R?V:J,"px"),marginTop:"".concat("linked"===ne?le:me,"px"),marginBottom:"".concat("linked"===ne?le:Be,"px"),minHeight:"custom"===Le?"".concat(He,"px"):Le}),Sn&&(fn={paddingRight:"".concat("linked"===I?H:Z,"px"),paddingLeft:"".concat("linked"===I?H:Y,"px"),marginTop:"".concat("linked"===oe?re:Te,"px"),marginBottom:"".concat("linked"===oe?re:Oe,"px"),minHeight:"custom"===Le?"".concat(je,"px"):Le}),"color"===Ge&&(yn={background:We}),"image"===Ge&&(yn={backgroundImage:"url( '".concat(qe,"' )"),backgroundAttachment:Ue,backgroundPosition:Ke,backgroundRepeat:Qe,backgroundSize:Je}),"gradient"===Ge)&&(Cn="linear"===tt?"".concat(nt,"deg"):"at ".concat(ot),(Ye||Xe)&&(yn={background:"".concat(tt,"-gradient( ").concat(Cn,", ").concat(Ye||"rgba( 0, 0, 0, 0 )"," ").concat($e,"%, ").concat(Xe||"rgba( 0, 0, 0, 0 )"," ").concat(et,"% )")}));"linked"===Bt&&(vn={borderWidth:"".concat(Ot,"px"),borderStyle:"solid",borderColor:Pt}),"unlinked"===Bt&&(vn={borderTopWidth:"".concat(Mt,"px"),borderRightWidth:"".concat(Lt,"px"),borderBottomWidth:"".concat(Nt,"px"),borderLeftWidth:"".concat(At,"px"),borderStyle:"solid",borderColor:Pt}),"linked"===_t&&(kn={borderRadius:"".concat(Rt,"px")}),"unlinked"===_t&&(kn={borderTopLeftRadius:"".concat(It,"px"),borderTopRightRadius:"".concat(zt,"px"),borderBottomRightRadius:"".concat(Vt,"px"),borderBottomLeftRadius:"".concat(Ht,"px")}),!0===jt&&(En={boxShadow:"".concat(Zt,"px ").concat(qt,"px ").concat(Gt,"px ").concat(Wt,"px ").concat(r()(Ft||"#000000",Dt))});var On,Mn=ie({},fn,{},yn,{},vn,{},kn,{},En,{alignItems:Fe,justifyContent:De});("color"===lt&&(wn={background:rt,opacity:at/100}),"image"===lt&&(wn={backgroundImage:"url( '".concat(ct,"' )"),backgroundAttachment:st,backgroundPosition:pt,backgroundRepeat:ut,backgroundSize:mt,opacity:at/100}),"gradient"===lt)&&(On="linear"===ft?"".concat(yt,"deg"):"at ".concat(wt),wn={background:"".concat(ft,"-gradient( ").concat(On,", ").concat(dt||"rgba( 0, 0, 0, 0 )"," ").concat(bt,"%, ").concat(gt||"rgba( 0, 0, 0, 0 )"," ").concat(ht,"% )"),opacity:at/100});var Ln=ie({},wn,{mixBlendMode:St,filter:"blur( ".concat(vt/10,"px ) brightness( ").concat(kt/10," ) contrast( ").concat(Et/10," ) grayscale( ").concat(Ct/100," ) hue-rotate( ").concat(xt,"deg ) saturate( ").concat(Tt/10," )")}),Nn={};Me&&(Nn={maxWidth:Me+"px"});var An=a()(E.className,"has-".concat(B,"-columns"),"has-desktop-".concat(O,"-layout"),"has-tablet-".concat(N,"-layout"),"has-mobile-".concat(A,"-layout"),"has-".concat(P,"-gap")),Pn=function(e){f({dividerViewType:e})},_n=function(e,t){C.innerBlocks.map((function(n,o){x(n.clientId,{columnWidth:parseFloat(c[e][t][o])})}))},Rn=function(e){var t;return"top"==e&&("desktop"===o&&(t="linked"===_?z:j),"tablet"===o&&(t="linked"===R?V:F),"mobile"===o&&(t="linked"===I?H:D)),"right"==e&&("desktop"===o&&(t="linked"===_?z:G),"tablet"===o&&(t="linked"===R?V:W),"mobile"===o&&(t="linked"===I?H:Z)),"bottom"==e&&("desktop"===o&&(t="linked"===_?z:q),"tablet"===o&&(t="linked"===R?V:U),"mobile"===o&&(t="linked"===I?H:K)),"left"==e&&("desktop"===o&&(t="linked"===_?z:Q),"tablet"===o&&(t="linked"===R?V:J),"mobile"===o&&(t="linked"===I?H:Y)),t},In=function(e){var t;return"top"==e&&(xn&&(t="linked"===_?z:j),Tn&&(t="linked"===R?V:F),Sn&&(t="linked"===I?H:D)),"bottom"==e&&(xn&&(t="linked"===_?z:q),Tn&&(t="linked"===R?V:U),Sn&&(t="linked"===I?H:K)),t},zn={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},Vn={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},Hn={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},jn=function(){var e;return"desktop"===o&&(e=_),"tablet"===o&&(e=R),"mobile"===o&&(e=I),e};jn=jn();var Fn=function(e){var t;return"top"==e&&("desktop"===l&&(t="linked"===te?ae:ue),"tablet"===l&&(t="linked"===ne?le:me),"mobile"===l&&(t="linked"===oe?re:Te)),"bottom"==e&&("desktop"===l&&(t="linked"===te?ae:Se),"tablet"===l&&(t="linked"===ne?le:Be),"mobile"===l&&(t="linked"===oe?re:Oe)),t},Dn={top:"marginTop",bottom:"marginBottom"},Gn={top:"marginTopTablet",bottom:"marginBottomTablet"},Wn={top:"marginTopMobile",bottom:"marginBottomMobile"},Zn=function(){var e;return"desktop"===l&&(e=te),"tablet"===l&&(e=ne),"mobile"===l&&(e=oe),e};Zn=Zn();var qn=function(){var e;return"desktop"===d&&(e=Ne),"tablet"===d&&(e=He),"mobile"===d&&(e=je),e};qn=qn();var Un=function(e){if(Fe===e)return E.setAttributes({horizontalAlign:"unset"});E.setAttributes({horizontalAlign:e})},Kn=function(e){if(De===e)return E.setAttributes({verticalAlign:"unset"});E.setAttributes({verticalAlign:e})},Qn=function(){E.setAttributes({backgroundImageID:"",backgroundImageURL:""})},Jn=function(){E.setAttributes({backgroundOverlayImageID:"",backgroundOverlayImageURL:""})},Yn=function(e){var t;return"top"==e&&(t="linked"===Bt?Ot:Mt),"right"==e&&(t="linked"===Bt?Ot:Lt),"bottom"==e&&(t="linked"===Bt?Ot:Nt),"left"==e&&(t="linked"===Bt?Ot:At),t},$n={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},Xn=function(e){var t;return"top"==e&&(t="linked"===_t?Rt:It),"right"==e&&(t="linked"===_t?Rt:zt),"bottom"==e&&(t="linked"===_t?Rt:Vt),"left"==e&&(t="linked"===_t?Rt:Ht),t},eo={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},to=function(){var e;return"top"==b&&(e=Ut),"bottom"==b&&(e=nn),e};to=to();var no=function(){var e;return"top"==b&&(e=Kt),"bottom"==b&&(e=on),e};no=no();var oo=function(){var e;return"top"==b&&(e=tn),"bottom"==b&&(e=un),e};oo=oo();var ao=function(){var e;return"top"==b&&("desktop"==g&&(e=Qt),"tablet"==g&&(e=Jt),"mobile"==g&&(e=Yt)),"bottom"==b&&("desktop"==g&&(e=an),"tablet"==g&&(e=ln),"mobile"==g&&(e=rn)),e};ao=ao();var lo=function(){var e;return xn&&(e=Qt),Tn&&(e=Jt),Sn&&(e=Yt),e};lo=lo();var ro=function(){var e;return xn&&(e=an),Tn&&(e=ln),Sn&&(e=rn),e};ro=ro();var io=function(){var e;return"top"==b&&("desktop"==h&&(e=$t),"tablet"==h&&(e=Xt),"mobile"==h&&(e=en)),"bottom"==b&&("desktop"==h&&(e=cn),"tablet"==h&&(e=sn),"mobile"==h&&(e=pn)),e};io=io();var co=function(){var e;return xn&&(e=$t),Tn&&(e=Xt),Sn&&(e=en),e};co=co();var so=function(){var e;return xn&&(e=cn),Tn&&(e=sn),Sn&&(e=pn),e};so=so();var po=function(e,t){"desktop"===t&&E.setAttributes({hide:e}),"tablet"===t&&E.setAttributes({hideTablet:e}),"mobile"===t&&E.setAttributes({hideMobile:e})};return B?wp.element.createElement(Ve,null,Ae&&wp.element.createElement($,{clientId:E.clientId}),wp.element.createElement(Ie,null,wp.element.createElement(we,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(be,{className:a()("header-tab",{"is-selected":"layout"===t}),onClick:function(){return f({tab:"layout"})}},wp.element.createElement("span",null,wp.element.createElement(he,{icon:"editor-table"}),pe("Layout"))),wp.element.createElement(be,{className:a()("header-tab",{"is-selected":"style"===t}),onClick:function(){return f({tab:"style"})}},wp.element.createElement("span",null,wp.element.createElement(he,{icon:"admin-customizer"}),pe("Style"))),wp.element.createElement(be,{className:a()("header-tab",{"is-selected":"advanced"===t}),onClick:function(){return f({tab:"advanced"})}},wp.element.createElement("span",null,wp.element.createElement(he,{icon:"admin-generic"}),pe("Advanced")))),"layout"===t&&wp.element.createElement(Ve,null,wp.element.createElement(we,{title:pe("Columns & Layout")},wp.element.createElement(Ee,{label:pe("Columns"),value:B,onChange:function(e){6>=e&&(E.setAttributes({columns:e,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),_n(e,"equal")),6<e&&(E.setAttributes({columns:6,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),_n(6,"equal")),1>=e&&(E.setAttributes({columns:1,layout:"equal",layoutTablet:"equal",layoutMobile:"equal"}),_n(1,"equal"))},min:1,max:6}),wp.element.createElement(s.default,{label:pe("Layout"),columns:B,changeViewType:function(e){f({columnsViewType:e})},onClick:function(e){"desktop"===n&&(E.setAttributes({layout:e}),_n(B,e)),"tablet"===n&&E.setAttributes({layoutTablet:e}),"mobile"===n&&E.setAttributes({layoutMobile:e})},layout:O,layoutTablet:N,layoutMobile:A,view:n}),wp.element.createElement(Ce,{label:pe("Columns Gap"),value:P,options:[{label:"Default (10px)",value:"default"},{label:"No Gap",value:"nogap"},{label:"Narrow (5px)",value:"narrow"},{label:"Extended (15px)",value:"extended"},{label:"Wide (20px)",value:"wide"},{label:"Wider (30px)",value:"wider"}],onChange:function(e){E.setAttributes({columnsGap:e})}})),wp.element.createElement(we,{title:pe("Padding & Margin"),initialOpen:!1},wp.element.createElement(u.a,{label:"Padding",view:o,changeViewType:function(e){f({paddingViewType:e})}},wp.element.createElement(p.a,{type:jn,min:0,max:500,changeType:function(e){"desktop"===o&&E.setAttributes({paddingType:e}),"tablet"===o&&E.setAttributes({paddingTypeTablet:e}),"mobile"===o&&E.setAttributes({paddingTypeMobile:e})},onChange:function(e,t){"desktop"===o&&("linked"===_?E.setAttributes({padding:t}):E.setAttributes(ce({},zn[e],t))),"tablet"===o&&("linked"===R?E.setAttributes({paddingTablet:t}):E.setAttributes(ce({},Vn[e],t))),"mobile"===o&&("linked"===I?E.setAttributes({paddingMobile:t}):E.setAttributes(ce({},Hn[e],t)))},options:[{label:pe("Top"),type:"top",value:Rn("top")},{label:pe("Right"),type:"right",value:Rn("right")},{label:pe("Bottom"),type:"bottom",value:Rn("bottom")},{label:pe("Left"),type:"left",value:Rn("left")}]})),wp.element.createElement(u.a,{label:"Margin",view:l,changeViewType:function(e){f({marginViewType:e})}},wp.element.createElement(p.a,{type:Zn,min:-500,max:500,changeType:function(e){"desktop"===l&&E.setAttributes({marginType:e}),"tablet"===l&&E.setAttributes({marginTypeTablet:e}),"mobile"===l&&E.setAttributes({marginTypeMobile:e})},onChange:function(e,t){"desktop"===l&&("linked"===te?E.setAttributes({margin:t}):E.setAttributes(ce({},Dn[e],t))),"tablet"===l&&("linked"===ne?E.setAttributes({marginTablet:t}):E.setAttributes(ce({},Gn[e],t))),"mobile"===l&&("linked"===oe?E.setAttributes({marginMobile:t}):E.setAttributes(ce({},Wn[e],t)))},options:[{label:pe("Top"),type:"top",value:Fn("top")},{label:pe("Right"),disabled:!0},{label:pe("Bottom"),type:"bottom",value:Fn("bottom")},{label:pe("Left"),disabled:!0}]}))),wp.element.createElement(we,{title:pe("Section Structure"),initialOpen:!1},wp.element.createElement(Ee,{label:pe("Maximum Content Width"),value:Me||"",onChange:function(e){(0<=e&&1200>=e||void 0===e)&&E.setAttributes({columnsWidth:e})},min:0,max:1200}),Me&&wp.element.createElement(de,{label:"Horizontal Align"},wp.element.createElement(ge,{className:"icon-buttom-group"},wp.element.createElement(ve,{text:pe("Left")},wp.element.createElement(ye,{icon:"editor-alignleft",className:"is-button is-large",isPrimary:"flex-start"===Fe,onClick:function(){return Un("flex-start")}})),wp.element.createElement(ve,{text:pe("Center")},wp.element.createElement(ye,{icon:"editor-aligncenter",className:"is-button is-large",isPrimary:"center"===Fe,onClick:function(){return Un("center")}})),wp.element.createElement(ve,{text:pe("Right")},wp.element.createElement(ye,{icon:"editor-alignright",className:"is-button is-large",isPrimary:"flex-end"===Fe,onClick:function(){return Un("flex-end")}})))),wp.element.createElement(Ce,{label:pe("Minimum Height"),value:Le,options:[{label:"Default",value:"auto"},{label:"Fit to Screen",value:"100vh"},{label:"Custom",value:"custom"}],onChange:function(e){E.setAttributes({columnsHeight:e})}}),"custom"===Le&&wp.element.createElement(u.a,{label:"Custom Height",view:d,changeViewType:function(e){f({heightViewType:e})}},wp.element.createElement(Ee,{value:qn||"",onChange:function(e){"desktop"===d&&E.setAttributes({columnsHeightCustom:e}),"tablet"===d&&E.setAttributes({columnsHeightCustomTablet:e}),"mobile"===d&&E.setAttributes({columnsHeightCustomMobile:e})},min:0,max:1e3})),"auto"!==Le&&wp.element.createElement(de,{label:"Vertical Align"},wp.element.createElement(ge,{className:"icon-buttom-group"},wp.element.createElement(ve,{text:pe("Top")},wp.element.createElement(be,{className:"components-icon-button is-button is-large",isPrimary:"flex-start"===De,onClick:function(){return Kn("flex-start")}},wp.element.createElement(fe,{icon:i.s,size:20}))),wp.element.createElement(ve,{text:pe("Middle")},wp.element.createElement(be,{className:"components-icon-button is-button is-large",isPrimary:"center"===De,onClick:function(){return Kn("center")}},wp.element.createElement(fe,{icon:i.j,size:20}))),wp.element.createElement(ve,{text:pe("Bottom")},wp.element.createElement(be,{className:"components-icon-button is-button is-large",isPrimary:"flex-end"===De,onClick:function(){return Kn("flex-end")}},wp.element.createElement(fe,{icon:i.c,size:20})))))))||"style"===t&&wp.element.createElement(Ve,null,wp.element.createElement(we,{title:pe("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(m.default,{label:pe("Background Type"),backgroundType:Ge,changeBackgroundType:function(e){E.setAttributes({backgroundType:e})}}),"color"===Ge&&wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Background Color")),wp.element.createElement(Pe,{label:"Background Color",value:We,onChange:function(e){E.setAttributes({backgroundColor:e})}}))||"image"===Ge&&(qe?wp.element.createElement(Ve,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(qe,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:Qn},wp.element.createElement(he,{icon:"trash"}),wp.element.createElement("span",null,pe("Remove Image"))))),wp.element.createElement(be,{isDefault:!0,className:"image-delete-button",onClick:Qn},pe("Change or Remove Image")),wp.element.createElement(L.a,{label:"Background Settings"},wp.element.createElement(Ce,{label:pe("Background Attachment"),value:Ue,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){E.setAttributes({backgroundAttachment:e})}}),wp.element.createElement(Ce,{label:pe("Background Position"),value:Ke,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){E.setAttributes({backgroundPosition:e})}}),wp.element.createElement(Ce,{label:pe("Background Repeat"),value:Qe,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){E.setAttributes({backgroundRepeat:e})}}),wp.element.createElement(Ce,{label:pe("Background Size"),value:Je,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){E.setAttributes({backgroundSize:e})}}))):wp.element.createElement(ze,{icon:"format-image",labels:{title:pe("Background Image"),name:pe("an image")},value:Ze,onSelect:function(e){E.setAttributes({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===Ge&&wp.element.createElement(M,{label:"Background Gradient",value:{firstColor:Ye,firstLocation:$e,secondColor:Xe,secondLocation:et,type:tt,angle:nt,position:ot},onChange:function(e,t,n,o,a,l,r){E.setAttributes({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:n,backgroundGradientSecondLocation:o,backgroundGradientType:a,backgroundGradientAngle:l,backgroundGradientPosition:r})}})),wp.element.createElement(we,{title:pe("Background Overlay"),className:"wp-block-themeisle-image-container",initialOpen:!1},wp.element.createElement(m.default,{label:pe("Overlay Type"),backgroundType:lt,changeBackgroundType:function(e){E.setAttributes({backgroundOverlayType:e})}}),wp.element.createElement(Ee,{label:pe("Overlay Opacity"),value:at,onChange:function(e){E.setAttributes({backgroundOverlayOpacity:e})},min:0,max:100}),"color"===lt&&wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Overlay Color")),wp.element.createElement(Pe,{label:"Overlay Color",value:rt,onChange:function(e){E.setAttributes({backgroundOverlayColor:e})}}))||"image"===lt&&(ct?wp.element.createElement(Ve,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(ct,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:Jn},wp.element.createElement(he,{icon:"trash"}),wp.element.createElement("span",null,pe("Remove Image"))))),wp.element.createElement(be,{isDefault:!0,className:"image-delete-button",onClick:Jn},pe("Change or Remove Image")),wp.element.createElement(L.a,{label:"Background Settings"},wp.element.createElement(Ce,{label:pe("Background Attachment"),value:st,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){E.setAttributes({backgroundOverlayAttachment:e})}}),wp.element.createElement(Ce,{label:pe("Background Position"),value:pt,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){E.setAttributes({backgroundOverlayPosition:e})}}),wp.element.createElement(Ce,{label:pe("Background Repeat"),value:ut,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){E.setAttributes({backgroundOverlayRepeat:e})}}),wp.element.createElement(Ce,{label:pe("Background Size"),value:mt,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){E.setAttributes({backgroundOverlaySize:e})}}))):wp.element.createElement(ze,{icon:"format-image",labels:{title:pe("Background Image"),name:pe("an image")},value:it,onSelect:function(e){E.setAttributes({backgroundOverlayImageID:e.id,backgroundOverlayImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===lt&&wp.element.createElement(M,{label:"Background Gradient",value:{firstColor:dt,firstLocation:bt,secondColor:gt,secondLocation:ht,type:ft,angle:yt,position:wt},onChange:function(e,t,n,o,a,l,r){E.setAttributes({backgroundOverlayGradientFirstColor:e,backgroundOverlayGradientFirstLocation:t,backgroundOverlayGradientSecondColor:n,backgroundOverlayGradientSecondLocation:o,backgroundOverlayGradientType:a,backgroundOverlayGradientAngle:l,backgroundOverlayGradientPosition:r})}}),wp.element.createElement(L.a,{label:"CSS Filters"},wp.element.createElement(Ee,{label:pe("Blur"),value:vt,onChange:function(e){E.setAttributes({backgroundOverlayFilterBlur:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Brightness"),value:kt,onChange:function(e){E.setAttributes({backgroundOverlayFilterBrightness:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Contrast"),value:Et,onChange:function(e){E.setAttributes({backgroundOverlayFilterContrast:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Grayscale"),value:Ct,onChange:function(e){E.setAttributes({backgroundOverlayFilterGrayscale:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Hue"),value:xt,onChange:function(e){E.setAttributes({backgroundOverlayFilterHue:e})},min:0,max:360}),wp.element.createElement(Ee,{label:pe("Saturation"),value:Tt,onChange:function(e){E.setAttributes({backgroundOverlayFilterSaturate:e})},min:0,max:100})),wp.element.createElement(Ce,{label:pe("Blend Mode"),value:St,options:[{label:"Normal",value:"normal"},{label:"Multiply",value:"multiply"},{label:"Screen",value:"screen"},{label:"Overlay",value:"overlay"},{label:"Darken",value:"darken"},{label:"Lighten",value:"lighten"},{label:"Color Dodge",value:"color-dodge"},{label:"Color Burn",value:"color-burn"},{label:"Hard Light",value:"hard-light"},{label:"Soft Light",value:"soft-light"},{label:"Difference",value:"difference"},{label:"Exclusion",value:"exclusion"},{label:"Hue",value:"hue"},{label:"Saturation",value:"saturation"},{label:"Color",value:"color"},{label:"Luminosity",value:"luminosity"}],onChange:function(e){E.setAttributes({backgroundOverlayBlend:e})}})),wp.element.createElement(we,{title:pe("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(p.a,{label:pe("Border Width"),type:Bt,min:0,max:500,changeType:function(e){E.setAttributes({borderType:e})},onChange:function(e,t){"linked"===Bt?E.setAttributes({border:t}):E.setAttributes(ce({},$n[e],t))},options:[{label:pe("Top"),type:"top",value:Yn("top")},{label:pe("Right"),type:"right",value:Yn("right")},{label:pe("Bottom"),type:"bottom",value:Yn("bottom")},{label:pe("Left"),type:"left",value:Yn("left")}]}),wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Border Color")),wp.element.createElement(Pe,{label:"Border Color",value:Pt,onChange:function(e){E.setAttributes({borderColor:e})}})),wp.element.createElement(p.a,{label:pe("Border Radius"),type:_t,min:0,max:500,changeType:function(e){E.setAttributes({borderRadiusType:e})},onChange:function(e,t){"linked"===_t?E.setAttributes({borderRadius:t}):E.setAttributes(ce({},eo[e],t))},options:[{label:pe("Top"),type:"top",value:Xn("top")},{label:pe("Right"),type:"right",value:Xn("right")},{label:pe("Bottom"),type:"bottom",value:Xn("bottom")},{label:pe("Left"),type:"left",value:Xn("left")}]}),wp.element.createElement(ke,{label:"Box Shadow",checked:jt,onChange:function(){E.setAttributes({boxShadow:!jt})}}),jt&&wp.element.createElement(Ve,null,wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Shadow Color")),wp.element.createElement(Pe,{label:"Shadow Color",value:Ft,onChange:function(e){E.setAttributes({boxShadowColor:e})}})),wp.element.createElement(L.a,{label:"Border Shadow"},wp.element.createElement(Ee,{label:pe("Opacity"),value:Dt,onChange:function(e){E.setAttributes({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Blur"),value:Gt,onChange:function(e){E.setAttributes({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Spread"),value:Wt,onChange:function(e){E.setAttributes({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(Ee,{label:pe("Horizontal"),value:Zt,onChange:function(e){E.setAttributes({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(Ee,{label:pe("Vertical"),value:qt,onChange:function(e){E.setAttributes({boxShadowVertical:e})},min:-100,max:100})))),wp.element.createElement(we,{title:pe("Shape Divider"),initialOpen:!1,className:"wp-block-themeisle-shape-divider"},wp.element.createElement(ge,null,wp.element.createElement(be,{className:"is-button",isPrimary:"top"===b,onClick:function(){return Pn("top")}},pe("Top")),wp.element.createElement(be,{className:"is-button",isPrimary:"bottom"===b,onClick:function(){return Pn("bottom")}},pe("Bottom"))),wp.element.createElement(Ce,{label:pe("Type"),value:to,options:[{label:"None",value:"none"},{label:"Triangle",value:"bigTriangle"},{label:"Right Curve",value:"rightCurve"},{label:"Curve",value:"curve"},{label:"Slant",value:"slant"},{label:"Cloud",value:"cloud"}],onChange:function(e){"top"==b&&E.setAttributes({dividerTopType:e}),"bottom"==b&&E.setAttributes({dividerBottomType:e})}}),"none"!==to&&wp.element.createElement(Ve,null,wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Color")),wp.element.createElement(Pe,{label:pe("Color"),value:no,onChange:function(e){"top"==b&&E.setAttributes({dividerTopColor:e}),"bottom"==b&&E.setAttributes({dividerBottomColor:e})}})),wp.element.createElement(u.a,{label:"Width",view:g,changeViewType:function(e){f({dividerWidthViewType:e})}},wp.element.createElement(Ee,{value:ao,onChange:function(e){"top"==b&&("desktop"==g&&E.setAttributes({dividerTopWidth:e}),"tablet"==g&&E.setAttributes({dividerTopWidthTablet:e}),"mobile"==g&&E.setAttributes({dividerTopWidthMobile:e})),"bottom"==b&&("desktop"==g&&E.setAttributes({dividerBottomWidth:e}),"tablet"==g&&E.setAttributes({dividerBottomWidthTablet:e}),"mobile"==g&&E.setAttributes({dividerBottomWidthMobile:e}))},min:0,max:500})),wp.element.createElement(u.a,{label:"Height",view:h,changeViewType:function(e){f({dividerHeightViewType:e})}},wp.element.createElement(Ee,{value:io,onChange:function(e){"top"==b&&("desktop"==h&&E.setAttributes({dividerTopHeight:e}),"tablet"==h&&E.setAttributes({dividerTopHeightTablet:e}),"mobile"==h&&E.setAttributes({dividerTopHeightMobile:e})),"bottom"==b&&("desktop"==h&&E.setAttributes({dividerBottomHeight:e}),"tablet"==h&&E.setAttributes({dividerBottomHeightTablet:e}),"mobile"==h&&E.setAttributes({dividerBottomHeightMobile:e}))},min:0,max:500})),"curve"!==to&&"cloud"!==to&&wp.element.createElement(ke,{label:"Invert Shape Divider",checked:oo,onChange:function(){"top"==b&&E.setAttributes({dividerTopInvert:!tn}),"bottom"==b&&E.setAttributes({dividerBottomInvert:!un})}}))))||"advanced"===t&&wp.element.createElement(Ve,null,wp.element.createElement(we,{title:pe("Section Visibility")},wp.element.createElement(ke,{label:"Hide this section in Desktop devices?",checked:mn,onChange:function(e){return po(e,"desktop")}}),wp.element.createElement(ke,{label:"Hide this section in Tablet devices?",checked:dn,onChange:function(e){return po(e,"tablet")}}),wp.element.createElement(ke,{label:"Hide this section in Mobile devices?",checked:bn,onChange:function(e){return po(e,"mobile")}})),wp.element.createElement(we,{title:pe("Section Settings"),initialOpen:!1},wp.element.createElement(Ce,{label:pe("HTML Tag"),value:gn,options:[{label:"Default",value:"div"},{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){E.setAttributes({columnsHTMLTag:e})}})))),wp.element.createElement(Re,null,wp.element.createElement(xe,{label:pe("HTML Anchor"),help:pe("Anchors lets you link directly to a section on a page."),value:S,readonly:"readonly",onClick:function(e){return e.target.select()}})),wp.element.createElement(Bn,{className:An,style:Mn},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:Ln}),wp.element.createElement("div",{className:"wp-themeisle-block-advanced-columns-padding-container",style:{height:"".concat(In("top"),"px")}},wp.element.createElement("div",{className:"block-space-size"},wp.element.createElement("span",{id:"paddingTop"},"".concat(In("top"),"px")))),wp.element.createElement(X.default,{type:"top",style:Ut,fill:Kt,invert:tn,width:lo,height:co}),wp.element.createElement("div",{className:"innerblocks-wrap",style:Nn},wp.element.createElement(_e,{allowedBlocks:["themeisle-blocks/advanced-columns"],template:function(e){return se(e,(function(t){return["themeisle-blocks/advanced-column",{columnWidth:parseFloat(c[e][O][t])}]}))}(B),templateLock:"all"})),wp.element.createElement(X.default,{type:"bottom",style:nn,fill:on,invert:un,width:ro,height:so}),wp.element.createElement("div",{className:"wp-themeisle-block-advanced-columns-padding-container",style:{height:"".concat(In("bottom"),"px")}},wp.element.createElement("div",{className:"block-space-size"},wp.element.createElement("span",{id:"paddingBottom"},"".concat(In("bottom"),"px")))))):wp.element.createElement(ee.default,{clientId:E.clientId,setupColumns:function(e,t){1>=e?E.setAttributes({columns:e,layout:t,layoutTablet:"equal",layoutMobile:"equal"}):E.setAttributes({columns:e,layout:t,layoutTablet:"equal",layoutMobile:"collapsedRows"})}})})),save:function(e){var t,n,o,l,i,c,s=e.attributes,p=s.id,u=s.columns,m=s.layout,d=s.layoutTablet,b=s.layoutMobile,g=s.columnsGap,h=s.columnsWidth,f=s.horizontalAlign,y=s.verticalAlign,w=s.backgroundType,v=s.backgroundColor,k=s.backgroundImageURL,E=s.backgroundAttachment,C=s.backgroundPosition,x=s.backgroundRepeat,T=s.backgroundSize,S=s.backgroundGradientFirstColor,B=s.backgroundGradientFirstLocation,O=s.backgroundGradientSecondColor,M=s.backgroundGradientSecondLocation,L=s.backgroundGradientType,N=s.backgroundGradientAngle,A=s.backgroundGradientPosition,P=s.backgroundOverlayOpacity,_=s.backgroundOverlayType,R=s.backgroundOverlayColor,I=s.backgroundOverlayImageURL,z=s.backgroundOverlayAttachment,V=s.backgroundOverlayPosition,H=s.backgroundOverlayRepeat,j=s.backgroundOverlaySize,F=s.backgroundOverlayGradientFirstColor,D=s.backgroundOverlayGradientFirstLocation,G=s.backgroundOverlayGradientSecondColor,W=s.backgroundOverlayGradientSecondLocation,Z=s.backgroundOverlayGradientType,q=s.backgroundOverlayGradientAngle,U=s.backgroundOverlayGradientPosition,K=s.backgroundOverlayBlend,Q=s.borderType,J=s.border,Y=s.borderTop,$=s.borderRight,ee=s.borderBottom,te=s.borderLeft,ne=s.borderColor,oe=s.borderRadiusType,ae=s.borderRadius,le=s.borderRadiusTop,re=s.borderRadiusRight,ce=s.borderRadiusBottom,se=s.borderRadiusLeft,pe=s.boxShadow,ue=s.boxShadowColor,me=s.boxShadowColorOpacity,de=s.boxShadowBlur,be=s.boxShadowSpread,ge=s.boxShadowHorizontal,he=s.boxShadowVertical,fe=s.dividerTopType,ye=s.dividerTopColor,we=s.dividerTopInvert,ve=s.dividerBottomType,ke=s.dividerBottomColor,Ee=s.dividerBottomInvert,Ce=s.hide,xe=s.hideTablet,Te=s.hideMobile,Se=s.columnsHTMLTag;("color"===w&&(t={background:v}),"image"===w&&(t={backgroundImage:"url( '".concat(k,"' )"),backgroundAttachment:E,backgroundPosition:C,backgroundRepeat:x,backgroundSize:T}),"gradient"===w)&&(c="linear"===L?"".concat(N,"deg"):"at ".concat(A),t={background:"".concat(L,"-gradient( ").concat(c,", ").concat(S||"rgba( 0, 0, 0, 0 )"," ").concat(B,"%, ").concat(O||"rgba( 0, 0, 0, 0 )"," ").concat(M,"% )")});"linked"===Q&&(o={borderWidth:"".concat(J,"px"),borderStyle:"solid",borderColor:ne}),"unlinked"===Q&&(o={borderTopWidth:"".concat(Y,"px"),borderRightWidth:"".concat($,"px"),borderBottomWidth:"".concat(ee,"px"),borderLeftWidth:"".concat(te,"px"),borderStyle:"solid",borderColor:ne}),"linked"===oe&&(l={borderRadius:"".concat(ae,"px")}),"unlinked"===oe&&(l={borderTopLeftRadius:"".concat(le,"px"),borderTopRightRadius:"".concat(re,"px"),borderBottomRightRadius:"".concat(ce,"px"),borderBottomLeftRadius:"".concat(se,"px")}),!0===pe&&(i={boxShadow:"".concat(ge,"px ").concat(he,"px ").concat(de,"px ").concat(be,"px ").concat(r()(ue||"#000000",me))});var Be,Oe=ie({},t,{},o,{},l,{},i,{justifyContent:f});("color"===_&&(n={background:R,opacity:P/100}),"image"===_&&(n={backgroundImage:"url( '".concat(I,"' )"),backgroundAttachment:z,backgroundPosition:V,backgroundRepeat:H,backgroundSize:j,opacity:P/100}),"gradient"===_)&&(Be="linear"===Z?"".concat(q,"deg"):"at ".concat(U),n={background:"".concat(Z,"-gradient( ").concat(Be,", ").concat(F||"rgba( 0, 0, 0, 0 )"," ").concat(D,"%, ").concat(G||"rgba( 0, 0, 0, 0 )"," ").concat(W,"% )"),opacity:P/100});var Me=ie({},n,{mixBlendMode:K}),Le={};h&&(Le={maxWidth:h+"px"});var Ne=Ce?"":"has-desktop-".concat(m,"-layout"),Ae=xe?"":"has-tablet-".concat(d,"-layout"),Pe=Te?"":"has-mobile-".concat(b,"-layout"),Re=a()(e.className,"has-".concat(u,"-columns"),Ne,Ae,Pe,{"hide-in-desktop":Ce},{"hide-in-tablet":xe},{"hide-in-mobile":Te},"has-".concat(g,"-gap"),"has-vertical-".concat(y));return wp.element.createElement(Se,{className:Re,id:p,style:Oe},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:Me}),wp.element.createElement(X.default,{type:"top",front:!0,style:fe,fill:ye,invert:we}),wp.element.createElement("div",{className:"innerblocks-wrap",style:Le},wp.element.createElement(_e.Content,null)),wp.element.createElement(X.default,{type:"bottom",front:!0,style:ve,fill:ke,invert:Ee}))}});var Ge=wp.i18n.__,We=wp.blocks.registerBlockType,Ze=wp.components,qe=Ze.Button,Ue=Ze.Dashicon,Ke=Ze.PanelBody,Qe=Ze.ToggleControl,Je=Ze.RangeControl,Ye=Ze.ResizableBox,$e=Ze.SelectControl,Xe=wp.compose,et=Xe.compose,tt=Xe.withState,nt=wp.data,ot=nt.withDispatch,at=nt.withSelect,lt=wp.blockEditor||wp.editor,rt=lt.ColorPalette,it=lt.InnerBlocks,ct=lt.InspectorControls,st=lt.MediaPlaceholder,pt=wp.element.Fragment,ut=wp.viewport.withViewportMatch;We("themeisle-blocks/advanced-column",{title:Ge("Section Column"),description:Ge("A single column within a Section block."),parent:["themeisle-blocks/advanced-columns"],icon:i.e,category:"themeisle-blocks",attributes:{id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginRight:{type:"number",default:0},marginRightTablet:{type:"number",default:0},marginRightMobile:{type:"number",default:0},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number",default:0},marginLeftMobile:{type:"number",default:0},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},supports:{inserter:!1,reusable:!1,html:!1},edit:et([ot((function(e){return{updateBlockAttributes:(e("core/block-editor")||e("core/editor")).updateBlockAttributes}})),at((function(e,t){var n=t.clientId,o=e("core/block-editor")||e("core/editor"),a=o.getAdjacentBlockClientId,l=o.getBlock,r=o.getBlockRootClientId,i=l(n),c=a(n),s=l(c),p=r(n);return{adjacentBlockClientId:c,adjacentBlock:s,parentClientId:p,parentBlock:l(p),hasInnerBlocks:!(!i||!i.innerBlocks.length),props:t}})),tt({tab:"layout",paddingViewType:"desktop",marginViewType:"desktop",currentWidth:0,nextWidth:0}),ut({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"})])((function(e){var t=e.tab,n=e.paddingViewType,o=e.marginViewType,l=e.currentWidth,i=e.nextWidth,s=e.setState,d=e.isLarger,b=e.isLarge,g=e.isSmall,h=e.isSmaller,f=e.props,y=e.adjacentBlockClientId,w=e.adjacentBlock,v=e.parentClientId,k=e.parentBlock,E=e.hasInnerBlocks,C=e.updateBlockAttributes,x=f.attributes,T=x.id,S=x.paddingType,B=x.paddingTypeTablet,O=x.paddingTypeMobile,N=x.padding,A=x.paddingTablet,P=x.paddingMobile,_=x.paddingTop,R=x.paddingTopTablet,I=x.paddingTopMobile,z=x.paddingRight,V=x.paddingRightTablet,H=x.paddingRightMobile,j=x.paddingBottom,F=x.paddingBottomTablet,D=x.paddingBottomMobile,G=x.paddingLeft,W=x.paddingLeftTablet,Z=x.paddingLeftMobile,q=x.marginType,U=x.marginTypeTablet,K=x.marginTypeMobile,Q=x.margin,J=x.marginTablet,Y=x.marginMobile,$=x.marginTop,X=x.marginTopTablet,ee=x.marginTopMobile,te=x.marginRight,ne=x.marginRightTablet,oe=x.marginRightMobile,ae=x.marginBottom,le=x.marginBottomTablet,re=x.marginBottomMobile,ie=x.marginLeft,ce=x.marginLeftTablet,se=x.marginLeftMobile,pe=x.backgroundType,ue=x.backgroundColor,me=x.backgroundImageID,de=x.backgroundImageURL,be=x.backgroundAttachment,ge=x.backgroundPosition,he=x.backgroundRepeat,fe=x.backgroundSize,ye=x.backgroundGradientFirstColor,we=x.backgroundGradientFirstLocation,ve=x.backgroundGradientSecondColor,ke=x.backgroundGradientSecondLocation,Ee=x.backgroundGradientType,Ce=x.backgroundGradientAngle,xe=x.backgroundGradientPosition,Te=x.borderType,Se=x.border,Be=x.borderTop,Oe=x.borderRight,Me=x.borderBottom,Le=x.borderLeft,Ne=x.borderColor,Ae=x.borderRadiusType,Pe=x.borderRadius,_e=x.borderRadiusTop,Re=x.borderRadiusRight,Ie=x.borderRadiusBottom,ze=x.borderRadiusLeft,Ve=x.boxShadow,He=x.boxShadowColor,je=x.boxShadowColorOpacity,We=x.boxShadowBlur,Ze=x.boxShadowSpread,Xe=x.boxShadowHorizontal,et=x.boxShadowVertical,tt=x.columnsHTMLTag,nt=x.columnWidth;if(void 0===T||T.substr(T.length-8)!==f.clientId.substr(0,8)){var ot="wp-block-themeisle-blocks-advanced-column-".concat(f.clientId.substr(0,8));f.setAttributes({id:ot})}var at=d&&!b&&g&&!h,lt=!d&&!b&&g&&!h,ut=!(d||b||g||h);void 0===nt&&k.innerBlocks.map((function(e,t){if(f.clientId===e.clientId){var n=k.attributes.columns,o=k.attributes.layout;C(f.clientId,{columnWidth:parseFloat(c[n][o][t])})}}));var mt=document.getElementById("block-".concat(f.clientId));null!==mt&&(mt.style.flexBasis=at?"".concat(nt,"%"):"");var dt,bt,gt,ht,ft,yt,wt=tt;(at&&(dt={paddingTop:"".concat("linked"===S?N:_,"px"),paddingRight:"".concat("linked"===S?N:z,"px"),paddingBottom:"".concat("linked"===S?N:j,"px"),paddingLeft:"".concat("linked"===S?N:G,"px"),marginTop:"".concat("linked"===q?Q:$,"px"),marginRight:"".concat("linked"===q?Q:te,"px"),marginBottom:"".concat("linked"===q?Q:ae,"px"),marginLeft:"".concat("linked"===q?Q:ie,"px")}),lt&&(dt={paddingTop:"".concat("linked"===B?A:R,"px"),paddingRight:"".concat("linked"===B?A:V,"px"),paddingBottom:"".concat("linked"===B?A:F,"px"),paddingLeft:"".concat("linked"===B?A:W,"px"),marginTop:"".concat("linked"===U?J:X,"px"),marginRight:"".concat("linked"===U?J:ne,"px"),marginBottom:"".concat("linked"===U?J:le,"px"),marginLeft:"".concat("linked"===U?J:ce,"px")}),ut&&(dt={paddingTop:"".concat("linked"===O?P:I,"px"),paddingRight:"".concat("linked"===O?P:H,"px"),paddingBottom:"".concat("linked"===O?P:D,"px"),paddingLeft:"".concat("linked"===O?P:Z,"px"),marginTop:"".concat("linked"===K?Y:ee,"px"),marginRight:"".concat("linked"===K?Y:oe,"px"),marginBottom:"".concat("linked"===K?Y:re,"px"),marginLeft:"".concat("linked"===K?Y:se,"px")}),"color"===pe&&(bt={background:ue}),"image"===pe&&(bt={backgroundImage:"url( '".concat(de,"' )"),backgroundAttachment:be,backgroundPosition:ge,backgroundRepeat:he,backgroundSize:fe}),"gradient"===pe)&&(yt="linear"===Ee?"".concat(Ce,"deg"):"at ".concat(xe),(ye||ve)&&(bt={background:"".concat(Ee,"-gradient( ").concat(yt,", ").concat(ye||"rgba( 0, 0, 0, 0 )"," ").concat(we,"%, ").concat(ve||"rgba( 0, 0, 0, 0 )"," ").concat(ke,"% )")}));"linked"===Te&&(gt={borderWidth:"".concat(Se,"px"),borderStyle:"solid",borderColor:Ne}),"unlinked"===Te&&(gt={borderTopWidth:"".concat(Be,"px"),borderRightWidth:"".concat(Oe,"px"),borderBottomWidth:"".concat(Me,"px"),borderLeftWidth:"".concat(Le,"px"),borderStyle:"solid",borderColor:Ne}),"linked"===Ae&&(ht={borderRadius:"".concat(Pe,"px")}),"unlinked"===Ae&&(ht={borderTopLeftRadius:"".concat(_e,"px"),borderTopRightRadius:"".concat(Re,"px"),borderBottomRightRadius:"".concat(Ie,"px"),borderBottomLeftRadius:"".concat(ze,"px")}),!0===Ve&&(ft={boxShadow:"".concat(Xe,"px ").concat(et,"px ").concat(We,"px ").concat(Ze,"px ").concat(r()(He||"#000000",je))});var vt=Fe({},dt,{},bt,{},gt,{},ht,{},ft),kt=function(e){var t;return"top"==e&&("desktop"===n&&(t="linked"===S?N:_),"tablet"===n&&(t="linked"===B?A:R),"mobile"===n&&(t="linked"===O?P:I)),"right"==e&&("desktop"===n&&(t="linked"===S?N:z),"tablet"===n&&(t="linked"===B?A:V),"mobile"===n&&(t="linked"===O?P:H)),"bottom"==e&&("desktop"===n&&(t="linked"===S?N:j),"tablet"===n&&(t="linked"===B?A:F),"mobile"===n&&(t="linked"===O?P:D)),"left"==e&&("desktop"===n&&(t="linked"===S?N:G),"tablet"===n&&(t="linked"===B?A:W),"mobile"===n&&(t="linked"===O?P:Z)),t},Et={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},Ct={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},xt={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},Tt=function(){var e;return"desktop"===n&&(e=S),"tablet"===n&&(e=B),"mobile"===n&&(e=O),e};Tt=Tt();var St=function(e){var t;return"top"==e&&("desktop"===o&&(t="linked"===q?Q:$),"tablet"===o&&(t="linked"===U?J:X),"mobile"===o&&(t="linked"===K?Y:ee)),"right"==e&&("desktop"===o&&(t="linked"===q?Q:te),"tablet"===o&&(t="linked"===U?J:ne),"mobile"===o&&(t="linked"===K?Y:oe)),"bottom"==e&&("desktop"===o&&(t="linked"===q?Q:ae),"tablet"===o&&(t="linked"===U?J:le),"mobile"===o&&(t="linked"===K?Y:re)),"left"==e&&("desktop"===o&&(t="linked"===q?Q:ie),"tablet"===o&&(t="linked"===U?J:ce),"mobile"===o&&(t="linked"===K?Y:se)),t},Bt={top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"},Ot={top:"marginTopTablet",right:"marginRightTablet",bottom:"marginBottomTablet",left:"marginLeftTablet"},Mt={top:"marginTopMobile",right:"marginRightMobile",bottom:"marginBottomMobile",left:"marginLeftMobile"},Lt=function(){var e;return"desktop"===o&&(e=q),"tablet"===o&&(e=U),"mobile"===o&&(e=K),e};Lt=Lt();var Nt=function(){f.setAttributes({backgroundImageID:"",backgroundImageURL:""})},At=function(e){var t;return"top"==e&&(t="linked"===Te?Se:Be),"right"==e&&(t="linked"===Te?Se:Oe),"bottom"==e&&(t="linked"===Te?Se:Me),"left"==e&&(t="linked"===Te?Se:Le),t},Pt={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},_t=function(e){var t;return"top"==e&&(t="linked"===Ae?Pe:_e),"right"==e&&(t="linked"===Ae?Pe:Re),"bottom"==e&&(t="linked"===Ae?Pe:Ie),"left"==e&&(t="linked"===Ae?Pe:ze),t},Rt={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"};return wp.element.createElement(pt,null,wp.element.createElement(ct,null,wp.element.createElement(Ke,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(qe,{className:a()("header-tab",{"is-selected":"layout"===t}),onClick:function(){return s({tab:"layout"})}},wp.element.createElement("span",null,wp.element.createElement(Ue,{icon:"editor-table"}),Ge("Layout"))),wp.element.createElement(qe,{className:a()("header-tab",{"is-selected":"style"===t}),onClick:function(){return s({tab:"style"})}},wp.element.createElement("span",null,wp.element.createElement(Ue,{icon:"admin-customizer"}),Ge("Style"))),wp.element.createElement(qe,{className:a()("header-tab",{"is-selected":"advanced"===t}),onClick:function(){return s({tab:"advanced"})}},wp.element.createElement("span",null,wp.element.createElement(Ue,{icon:"admin-generic"}),Ge("Advanced")))),"layout"===t&&wp.element.createElement(pt,null,wp.element.createElement(Ke,{title:Ge("Padding & Margin")},wp.element.createElement(u.a,{label:"Padding",view:n,changeViewType:function(e){s({paddingViewType:e})}},wp.element.createElement(p.a,{type:Tt,min:0,max:500,changeType:function(e){"desktop"===n&&f.setAttributes({paddingType:e}),"tablet"===n&&f.setAttributes({paddingTypeTablet:e}),"mobile"===n&&f.setAttributes({paddingTypeMobile:e})},onChange:function(e,t){"desktop"===n&&("linked"===S?f.setAttributes({padding:t}):f.setAttributes(De({},Et[e],t))),"tablet"===n&&("linked"===B?f.setAttributes({paddingTablet:t}):f.setAttributes(De({},Ct[e],t))),"mobile"===n&&("linked"===O?f.setAttributes({paddingMobile:t}):f.setAttributes(De({},xt[e],t)))},options:[{label:Ge("Top"),type:"top",value:kt("top")},{label:Ge("Right"),type:"right",value:kt("right")},{label:Ge("Bottom"),type:"bottom",value:kt("bottom")},{label:Ge("Left"),type:"left",value:kt("left")}]})),wp.element.createElement(u.a,{label:"Margin",view:o,changeViewType:function(e){s({marginViewType:e})}},wp.element.createElement(p.a,{type:Lt,min:-500,max:500,changeType:function(e){"desktop"===o&&f.setAttributes({marginType:e}),"tablet"===o&&f.setAttributes({marginTypeTablet:e}),"mobile"===o&&f.setAttributes({marginTypeMobile:e})},onChange:function(e,t){"desktop"===o&&("linked"===q?f.setAttributes({margin:t}):f.setAttributes(De({},Bt[e],t))),"tablet"===o&&("linked"===U?f.setAttributes({marginTablet:t}):f.setAttributes(De({},Ot[e],t))),"mobile"===o&&("linked"===K?f.setAttributes({marginMobile:t}):f.setAttributes(De({},Mt[e],t)))},options:[{label:Ge("Top"),type:"top",value:St("top")},{label:Ge("Right"),type:"right",value:St("right")},{label:Ge("Bottom"),type:"bottom",value:St("bottom")},{label:Ge("Left"),type:"left",value:St("left")}]}))))||"style"===t&&wp.element.createElement(pt,null,wp.element.createElement(Ke,{title:Ge("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(m.default,{label:Ge("Background Type"),backgroundType:pe,changeBackgroundType:function(e){f.setAttributes({backgroundType:e})}}),"color"===pe&&wp.element.createElement(pt,null,wp.element.createElement("p",null,Ge("Background Color")),wp.element.createElement(rt,{label:"Background Color",value:ue,onChange:function(e){f.setAttributes({backgroundColor:e})}}))||"image"===pe&&(de?wp.element.createElement(pt,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(de,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:Nt},wp.element.createElement(Ue,{icon:"trash"}),wp.element.createElement("span",null,Ge("Remove Image"))))),wp.element.createElement(qe,{isDefault:!0,className:"image-delete-button",onClick:Nt},Ge("Change or Remove Image")),wp.element.createElement(L.a,{label:"Background Settings"},wp.element.createElement($e,{label:Ge("Background Attachment"),value:be,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){f.setAttributes({backgroundAttachment:e})}}),wp.element.createElement($e,{label:Ge("Background Position"),value:ge,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){f.setAttributes({backgroundPosition:e})}}),wp.element.createElement($e,{label:Ge("Background Repeat"),value:he,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){f.setAttributes({backgroundRepeat:e})}}),wp.element.createElement($e,{label:Ge("Background Size"),value:fe,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){f.setAttributes({backgroundSize:e})}}))):wp.element.createElement(st,{icon:"format-image",labels:{title:Ge("Background Image"),name:Ge("an image")},value:me,onSelect:function(e){f.setAttributes({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===pe&&wp.element.createElement(M,{label:"Background Gradient",value:{firstColor:ye,firstLocation:we,secondColor:ve,secondLocation:ke,type:Ee,angle:Ce,position:xe},onChange:function(e,t,n,o,a,l,r){f.setAttributes({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:n,backgroundGradientSecondLocation:o,backgroundGradientType:a,backgroundGradientAngle:l,backgroundGradientPosition:r})}})),wp.element.createElement(Ke,{title:Ge("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(p.a,{label:Ge("Border Width"),type:Te,min:0,max:500,changeType:function(e){f.setAttributes({borderType:e})},onChange:function(e,t){"linked"===Te?f.setAttributes({border:t}):f.setAttributes(De({},Pt[e],t))},options:[{label:Ge("Top"),type:"top",value:At("top")},{label:Ge("Right"),type:"right",value:At("right")},{label:Ge("Bottom"),type:"bottom",value:At("bottom")},{label:Ge("Left"),type:"left",value:At("left")}]}),wp.element.createElement(pt,null,wp.element.createElement("p",null,Ge("Border Color")),wp.element.createElement(rt,{label:"Border Color",value:Ne,onChange:function(e){f.setAttributes({borderColor:e})}})),wp.element.createElement(p.a,{label:Ge("Border Radius"),type:Ae,min:0,max:500,changeType:function(e){f.setAttributes({borderRadiusType:e})},onChange:function(e,t){"linked"===Ae?f.setAttributes({borderRadius:t}):f.setAttributes(De({},Rt[e],t))},options:[{label:Ge("Top"),type:"top",value:_t("top")},{label:Ge("Right"),type:"right",value:_t("right")},{label:Ge("Bottom"),type:"bottom",value:_t("bottom")},{label:Ge("Left"),type:"left",value:_t("left")}]}),wp.element.createElement(Qe,{label:"Box Shadow",checked:Ve,onChange:function(){f.setAttributes({boxShadow:!Ve})}}),Ve&&wp.element.createElement(pt,null,wp.element.createElement(pt,null,wp.element.createElement("p",null,Ge("Shadow Color")),wp.element.createElement(rt,{label:"Shadow Color",value:He,onChange:function(e){f.setAttributes({boxShadowColor:e})}})),wp.element.createElement(L.a,{label:"Shadow Properties"},wp.element.createElement(Je,{label:Ge("Opacity"),value:je,onChange:function(e){f.setAttributes({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(Je,{label:Ge("Blur"),value:We,onChange:function(e){f.setAttributes({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(Je,{label:Ge("Spread"),value:Ze,onChange:function(e){f.setAttributes({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(Je,{label:Ge("Horizontal"),value:Xe,onChange:function(e){f.setAttributes({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(Je,{label:Ge("Vertical"),value:et,onChange:function(e){f.setAttributes({boxShadowVertical:e})},min:-100,max:100})))))||"advanced"===t&&wp.element.createElement(Ke,{title:Ge("Section Settings")},wp.element.createElement($e,{label:Ge("HTML Tag"),value:tt,options:[{label:"Default",value:"div"},{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){f.setAttributes({columnsHTMLTag:e})}}))),wp.element.createElement(Ye,{className:"block-library-spacer__resize-container wp-themeisle-block-advanced-column-resize-container",enable:{right:!!y},handleWrapperClass:"wp-themeisle-block-advanced-column-resize-container-handle",onResizeStart:function(e,t,n,o){var a=document.querySelector("#block-".concat(f.clientId," .wp-themeisle-block-advanced-column-resize-container-handle .components-resizable-box__handle")),l=document.createElement("div"),r=document.createElement("div");l.setAttribute("class","resizable-tooltip resizable-tooltip-left"),l.innerHTML="".concat(parseFloat(nt).toFixed(0),"%"),a.appendChild(l),r.setAttribute("class","resizable-tooltip resizable-tooltip-right"),r.innerHTML="".concat(parseFloat(w.attributes.columnWidth).toFixed(0),"%"),a.appendChild(r),s({currentWidth:nt,nextWidth:w.attributes.columnWidth}),f.toggleSelection(!1)},onResize:function(e,t,n,o){var a=document.getElementById("block-".concat(v)).getBoundingClientRect().width,r=o.width/a*100,c=parseFloat(l)+r,s=i-r,p=document.querySelector(".resizable-tooltip-left"),u=document.querySelector(".resizable-tooltip-right");10<=c&&10<=s&&(p.innerHTML="".concat(c.toFixed(0),"%"),u.innerHTML="".concat(s.toFixed(0),"%"),f.setAttributes({columnWidth:c.toFixed(2)}),C(y,{columnWidth:s.toFixed(2)}))},onResizeStop:function(e,t,n,o){var a=document.querySelector(".resizable-tooltip-left"),l=document.querySelector(".resizable-tooltip-right");a.parentNode.removeChild(a),l.parentNode.removeChild(l),f.toggleSelection(!0)}},wp.element.createElement(wt,{className:f.className,id:T,style:vt},wp.element.createElement(it,{templateLock:!1,renderAppender:!E&&it.ButtonBlockAppender}))))})),save:function(e){var t,n,o,a,l,i=e.attributes,c=i.id,s=i.backgroundType,p=i.backgroundColor,u=i.backgroundImageURL,m=i.backgroundAttachment,d=i.backgroundPosition,b=i.backgroundRepeat,g=i.backgroundSize,h=i.backgroundGradientFirstColor,f=i.backgroundGradientFirstLocation,y=i.backgroundGradientSecondColor,w=i.backgroundGradientSecondLocation,v=i.backgroundGradientType,k=i.backgroundGradientAngle,E=i.backgroundGradientPosition,C=i.borderType,x=i.border,T=i.borderTop,S=i.borderRight,B=i.borderBottom,O=i.borderLeft,M=i.borderColor,L=i.borderRadiusType,N=i.borderRadius,A=i.borderRadiusTop,P=i.borderRadiusRight,_=i.borderRadiusBottom,R=i.borderRadiusLeft,I=i.boxShadow,z=i.boxShadowColor,V=i.boxShadowColorOpacity,H=i.boxShadowBlur,j=i.boxShadowSpread,F=i.boxShadowHorizontal,D=i.boxShadowVertical,G=i.columnsHTMLTag;("color"===s&&(t={background:p}),"image"===s&&(t={backgroundImage:"url( '".concat(u,"' )"),backgroundAttachment:m,backgroundPosition:d,backgroundRepeat:b,backgroundSize:g}),"gradient"===s)&&(l="linear"===v?"".concat(k,"deg"):"at ".concat(E),t={background:"".concat(v,"-gradient( ").concat(l,", ").concat(h||"rgba( 0, 0, 0, 0 )"," ").concat(f,"%, ").concat(y||"rgba( 0, 0, 0, 0 )"," ").concat(w,"% )")});"linked"===C&&(n={borderWidth:"".concat(x,"px"),borderStyle:"solid",borderColor:M}),"unlinked"===C&&(n={borderTopWidth:"".concat(T,"px"),borderRightWidth:"".concat(S,"px"),borderBottomWidth:"".concat(B,"px"),borderLeftWidth:"".concat(O,"px"),borderStyle:"solid",borderColor:M}),"linked"===L&&(o={borderRadius:"".concat(N,"px")}),"unlinked"===L&&(o={borderTopLeftRadius:"".concat(A,"px"),borderTopRightRadius:"".concat(P,"px"),borderBottomRightRadius:"".concat(_,"px"),borderBottomLeftRadius:"".concat(R,"px")}),!0===I&&(a={boxShadow:"".concat(F,"px ").concat(D,"px ").concat(H,"px ").concat(j,"px ").concat(r()(z||"#000000",V))});var W=Fe({},t,{},n,{},o,{},a);return wp.element.createElement(G,{className:e.className,id:c,style:W},wp.element.createElement(it.Content,null))}})},function(e,t,n){"use strict";n.r(t);n(80),n(81);var o=n(2),a=n(0),l=n.n(a),r=n(13),i=n.n(r),c=n(14);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 p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=wp.i18n.__,g=wp.components,h=g.BaseControl,f=g.Button,y=g.ExternalLink,w=g.IconButton,v=g.SelectControl,k=g.TextControl,E=g.TextareaControl,C=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=u(t).apply(this,arguments))||"object"!==s(o)&&"function"!=typeof o?m(n):o).initSearch=e.initSearch.bind(m(e)),e.changeLocation=e.changeLocation.bind(m(e)),e}var n,o,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&&d(e,t)}(t,e),n=t,(o=[{key:"initSearch",value:function(e){var t=this,n=document.getElementsByClassName("pac-container");Object.keys(n).forEach((function(e){return n[e].remove()})),this.searchBox=new google.maps.places.SearchBox(e.target),this.searchBox.addListener("places_changed",(function(){var e=t.searchBox.getPlaces();e&&0<e.length&&e.forEach((function(e){var n=e.formatted_address||e.name,o=e.geometry.location.lat(),a=e.geometry.location.lng();t.props.changeMarkerProp(t.props.marker.id,"location",n),t.props.changeMarkerProp(t.props.marker.id,"latitude",o),t.props.changeMarkerProp(t.props.marker.id,"longitude",a)}))}))}},{key:"changeLocation",value:function(e){this.props.changeMarkerProp(this.props.marker.id,"location",e.target.value)}},{key:"render",value:function(){var e=this;return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-title-area"},wp.element.createElement(f,{className:"wp-block-themeisle-blocks-google-map-marker-title",onClick:function(){return e.props.openMarker(e.props.marker.id)}},this.props.marker.title||b("Custom Marker")),wp.element.createElement(w,{icon:"no-alt",label:b("Remove Marker"),className:"wp-block-themeisle-blocks-google-map-marker-remove",onClick:function(){return e.props.removeMarker(e.props.marker.id)}})),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-google-map-marker-control-area",{opened:this.props.marker.id===this.props.isOpen})},wp.element.createElement(h,{label:b("Location"),id:"themeisle-location-search-".concat(this.props.marker.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(this.props.marker.id),placeholder:b("Enter a location…"),value:this.props.marker.location,className:"wp-block-themeisle-blocks-google-map-search",onFocus:function(t){return e.initSearch(t)},onChange:function(t){return e.changeLocation(t)},disabled:!this.props.isPlaceAPIAvailable}),!this.props.isPlaceAPIAvailable&&wp.element.createElement("p",null,b("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(y,{href:"https://developers.google.com/places/web-service/intro"},b("More info.")))),wp.element.createElement(k,{label:b("Latitude"),type:"text",value:this.props.marker.latitude,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"latitude",t)}}),wp.element.createElement(k,{label:b("Longitude"),type:"text",value:this.props.marker.longitude,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"longitude",t)}}),wp.element.createElement(v,{label:b("Map Icon"),value:this.props.marker.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:b("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:b("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:b("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:b("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:b("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"icon",t)}}),wp.element.createElement(k,{label:b("Title"),type:"text",value:this.props.marker.title,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"title",t)}}),wp.element.createElement(E,{label:b("Description"),type:"text",value:this.props.marker.description,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"description",t)}})))}}])&&p(n.prototype,o),a&&p(n,a),t}(wp.element.Component);function x(e){return(x="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 T(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var M=wp.i18n.__,L=wp.components.Button,N=wp.element,A=N.Component,P=N.Fragment,_=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=S(t).apply(this,arguments))||"object"!==x(o)&&"function"!=typeof o?B(n):o).openMarker=e.openMarker.bind(B(e)),e.state={isOpen:null},e}var n,o,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&&O(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){!1!==this.props.initialOpen&&this.setState({isOpen:this.props.initialOpen})}},{key:"componentDidUpdate",value:function(e){this.props.initialOpen!==e.initialOpen&&!1!==this.props.initialOpen&&this.setState({isOpen:this.props.initialOpen})}},{key:"openMarker",value:function(e){this.state.isOpen===e&&(e=null),this.setState({isOpen:e})}},{key:"render",value:function(){var e=this;return wp.element.createElement(P,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-group"},this.props.markers.map((function(t){return wp.element.createElement(C,{marker:t,isOpen:e.state.isOpen,isPlaceAPIAvailable:e.props.isPlaceAPIAvailable,openMarker:e.openMarker,removeMarker:e.props.removeMarker,changeMarkerProp:e.props.changeMarkerProp})}))),wp.element.createElement(L,{isDefault:!0,isLarge:!0,className:"wp-block-themeisle-blocks-google-map-marker-add",onClick:this.props.addMarker},M("Add Marker")))}}])&&T(n.prototype,o),a&&T(n,a),t}(A);function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var D=wp.i18n.__,G=wp.components,W=G.BaseControl,Z=G.Button,q=G.ButtonGroup,U=G.Modal,K=G.SelectControl,Q=G.TextControl,J=G.TextareaControl,Y=wp.element,$=Y.Component,X=Y.Fragment,ee=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=H(t).apply(this,arguments))||"object"!==R(o)&&"function"!=typeof o?j(n):o).initSearch=e.initSearch.bind(j(e)),e.changeLocation=e.changeLocation.bind(j(e)),e.state={advanced:!1,id:"",location:"",title:"",icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:"",longitude:""},e}var n,o,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&&F(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){this.setState(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(n,!0).forEach((function(t){z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props.marker))}},{key:"initSearch",value:function(e){var t=this,n=document.getElementsByClassName("pac-container");Object.keys(n).forEach((function(e){return n[e].remove()})),this.searchBox=new google.maps.places.SearchBox(e.target),this.searchBox.addListener("places_changed",(function(){var e=t.searchBox.getPlaces();e&&0<e.length&&e.forEach((function(e){var n=e.formatted_address||e.name,o=e.geometry.location.lat(),a=e.geometry.location.lng();t.setState({location:n,latitude:o,longitude:a})}))}))}},{key:"changeLocation",value:function(e){this.setState({location:e.target.value})}},{key:"render",value:function(){var e=this;return wp.element.createElement(U,{title:D("Add Marker"),onRequestClose:this.props.close,shouldCloseOnClickOutside:!1},this.state.advanced&&wp.element.createElement(X,null,wp.element.createElement(W,{label:D("Location"),id:"themeisle-location-search-".concat(this.props.marker.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(this.state.id),placeholder:D("Enter a location…"),value:this.state.location,className:"wp-block-themeisle-blocks-google-map-search",onFocus:function(t){return e.initSearch(t)},onChange:function(t){return e.changeLocation(t)},disabled:!this.props.isPlaceAPIAvailable})),wp.element.createElement(Q,{label:D("Latitude"),type:"text",value:this.state.latitude,onChange:function(t){return e.setState({latitude:t})}}),wp.element.createElement(Q,{label:D("Longitude"),type:"text",value:this.state.longitude,onChange:function(t){return e.setState({longitude:t})}})),wp.element.createElement(Q,{label:D("Title"),type:"text",value:this.state.title,onChange:function(t){return e.setState({title:t})}}),wp.element.createElement(J,{label:D("Description"),type:"text",value:this.state.description,onChange:function(t){return e.setState({description:t})}}),wp.element.createElement(K,{label:D("Map Icon"),value:this.state.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:D("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:D("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:D("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:D("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:D("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:function(t){return e.setState({icon:t})}}),wp.element.createElement(q,null,wp.element.createElement(Z,{isLarge:!0,isPrimary:!0,onClick:function(){return e.props.addMarker(e.state.location,e.state.title,e.state.icon,e.state.description,e.state.latitude,e.state.longitude)}},D("Add")),wp.element.createElement(Z,{isLarge:!0,isDefault:!0,onClick:this.props.close},D("Cancel"))))}}])&&V(n.prototype,o),a&&V(n,a),t}($),te={standard:[],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"}]}],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"}]}],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"}]}],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"}]}],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"}]}]};function ne(e){return(ne="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 oe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ae(e,t,n,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function le(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ie(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var se=wp.i18n.__,pe=wp.components,ue=pe.BaseControl,me=pe.Button,de=pe.ExternalLink,be=pe.PanelBody,ge=pe.Placeholder,he=pe.RangeControl,fe=pe.ResizableBox,ye=pe.SelectControl,we=pe.Spinner,ve=pe.TextControl,ke=pe.ToggleControl,Ee=(wp.blockEditor||wp.editor).InspectorControls,Ce=wp.element,xe=Ce.Component,Te=Ce.Fragment,Se=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=re(t).apply(this,arguments))||"object"!==ne(o)&&"function"!=typeof o?ie(n):o).enqueueScript=e.enqueueScript.bind(ie(e)),e.initMap=e.initMap.bind(ie(e)),e.initSearch=e.initSearch.bind(ie(e)),e.cycleMarkers=e.cycleMarkers.bind(ie(e)),e.changeAPI=e.changeAPI.bind(ie(e)),e.saveAPIKey=e.saveAPIKey.bind(ie(e)),e.changeStyle=e.changeStyle.bind(ie(e)),e.changeLocation=e.changeLocation.bind(ie(e)),e.markerButton=e.markerButton.bind(ie(e)),e.selectMarker=e.selectMarker.bind(ie(e)),e.addMarkerManual=e.addMarkerManual.bind(ie(e)),e.addMarker=e.addMarker.bind(ie(e)),e.addInfoWindow=e.addInfoWindow.bind(ie(e)),e.removeMarker=e.removeMarker.bind(ie(e)),e.removeMarkers=e.removeMarkers.bind(ie(e)),e.changeLatitude=e.changeLatitude.bind(ie(e)),e.changeLongitude=e.changeLongitude.bind(ie(e)),e.changeMapType=e.changeMapType.bind(ie(e)),e.changeZoom=e.changeZoom.bind(ie(e)),e.changeHeight=e.changeHeight.bind(ie(e)),e.toggleDraggable=e.toggleDraggable.bind(ie(e)),e.toggleMapTypeControl=e.toggleMapTypeControl.bind(ie(e)),e.toggleZoomControl=e.toggleZoomControl.bind(ie(e)),e.toggleFullScreenControl=e.toggleFullScreenControl.bind(ie(e)),e.toggleStreetViewControl=e.toggleStreetViewControl.bind(ie(e)),e.changeMarkerProp=e.changeMarkerProp.bind(ie(e)),window.isMapLoaded=window.isMapLoaded||!1,window.selectMarker=e.selectMarker,window.removeMarker=e.removeMarker,e.state={api:"",isAPILoaded:!1,isAPISaved:!1,isSaving:!1,isPlaceAPIAvailable:!0,isMarkerOpen:!1,isSelectingMarker:!1,isModalOpen:!1,selectedMarker:{}},e.settings,e.link=document.createElement("script"),e.link.type="text/javascript",e.link.async=!0,e.link.defer=!0,e.link.id="themeisle-google-map-api-loading",e.map,e.searchBox,e.name,e.markers=[],e.lastInfoWindow,e}var n,o,a,r,s;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&&ce(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(r=regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0!==this.props.attributes.id&&this.props.attributes.id.substr(this.props.attributes.id.length-8)===this.props.clientId.substr(0,8)||(t="wp-block-themeisle-blocks-google-map-".concat(this.props.clientId.substr(0,8)),this.props.setAttributes({id:t})),e.next=3,wp.api.loadPromise.then((function(){n.settings=new wp.api.models.Settings}));case 3:!1===Boolean(themeisleGutenberg.mapsAPI)?this.state.isAPILoaded||this.settings.fetch().then((function(e){n.setState({api:e.themeisle_google_map_block_api_key,isAPILoaded:!0}),""!==e.themeisle_google_map_block_api_key&&(n.setState({isAPISaved:!0}),n.enqueueScript(e.themeisle_google_map_block_api_key))})):this.state.isAPILoaded||(this.setState({api:themeisleGutenberg.mapsAPI,isAPILoaded:!0,isAPISaved:!0}),this.enqueueScript(themeisleGutenberg.mapsAPI));case 4:case"end":return e.stop()}}),e,this)})),s=function(){var e=this,t=arguments;return new Promise((function(n,o){var a=r.apply(e,t);function l(e){ae(a,n,o,l,i,"next",e)}function i(e){ae(a,n,o,l,i,"throw",e)}l(void 0)}))},function(){return s.apply(this,arguments)})},{key:"componentDidUpdate",value:function(e){if(this.props.isSelected!==e.isSelected&&!1!==this.state.isAPISaved){var t=this.props.isSelected;this.map.setOptions({mapTypeControl:!!t||this.props.attributes.mapTypeControl,zoomControl:!!t||this.props.attributes.zoomControl,fullscreenControl:!!t||this.props.attributes.fullscreenControl,streetViewControl:!!t||this.props.attributes.streetViewControl})}}},{key:"enqueueScript",value:function(e){var t=this;window.isMapLoaded||(window.isMapLoaded=!0,this.link.onload=function(){document.getElementById("themeisle-google-map-api-loading").id="themeisle-google-map-api",t.initMap()},this.link.src="https://maps.googleapis.com/maps/api/js?key=".concat(e,"&libraries=places&cache=").concat(Math.random()),document.head.appendChild(this.link)),document.getElementById("themeisle-google-map-api")&&this.initMap()}},{key:"initMap",value:function(){var e=this;if(this.map=new google.maps.Map(document.getElementById(this.props.attributes.id),{center:{lat:Number(this.props.attributes.latitude)||41.4036299,lng:Number(this.props.attributes.longitude)||2.1743558000000576},gestureHandling:"cooperative",zoom:this.props.attributes.zoom,mapTypeId:this.props.attributes.type,styles:te[this.props.attributes.style]}),this.props.attributes.location&&void 0===this.props.attributes.latitude&&void 0===this.props.attributes.longitude){var t={query:this.props.attributes.location,fields:["name","geometry"]};new google.maps.places.PlacesService(this.map).findPlaceFromQuery(t,(function(t,n){n===google.maps.places.PlacesServiceStatus.OK&&0<t.length&&e.map.setCenter(t[0].geometry.location)}))}this.map.addListener("zoom_changed",(function(){var t=e.map.getZoom();e.props.setAttributes({zoom:t})})),this.map.addListener("maptypeid_changed",(function(){var t=e.map.getMapTypeId();e.props.setAttributes({type:t})})),this.map.addListener("bounds_changed",(function(){var t=e.map.getCenter(),n=t.lat(),o=t.lng();e.props.setAttributes({latitude:n.toString(),longitude:o.toString()})})),0<this.props.attributes.markers.length&&this.cycleMarkers(this.props.attributes.markers);var n={query:this.props.attributes.location,fields:["name","geometry"]};new google.maps.places.PlacesService(this.map).findPlaceFromQuery(n,(function(t,n){"REQUEST_DENIED"===n&&e.setState({isPlaceAPIAvailable:!1})}));var o=document.createElement("div");new this.markerButton(o),o.index=1,this.map.controls[google.maps.ControlPosition.LEFT_BOTTOM].push(o)}},{key:"initSearch",value:function(e){var t=this,n=document.getElementsByClassName("pac-container");Object.keys(n).forEach((function(e){return n[e].remove()})),this.searchBox=new google.maps.places.SearchBox(e.target),this.searchBox.addListener("places_changed",(function(){var e=t.searchBox.getPlaces();e&&0<e.length&&e.forEach((function(e){t.name=e.name||se("Custom Marker");var n=e.geometry.location.lat(),o=e.geometry.location.lng(),a=new google.maps.LatLng(n,o);t.map.setCenter(a),t.props.setAttributes({location:e.formatted_address||e.name,latitude:n.toString(),longitude:o.toString()})}))}))}},{key:"markerButton",value:function(e){var t=document.createElement("button");t.className="gm-control-marker-ui",t.title=se("Add Marker"),e.appendChild(t);var n=document.createElement("span");n.className="dashicons dashicons-sticky",t.appendChild(n),t.addEventListener("click",(function(){window.selectMarker()}))}},{key:"selectMarker",value:function(){var e=this;this.state.isSelectingMarker?google.maps.event.clearListeners(this.map,"click"):this.map.addListener("click",(function(t){google.maps.event.clearListeners(e.map,"click");var n=i()(),o=se("Custom Marker"),a=t.latLng.lat(),l=t.latLng.lng();e.setState({isSelectingMarker:!e.state.isSelectingMarker,isModalOpen:!0,selectedMarker:{advanced:!1,id:n,location:"",title:o,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l}})})),this.setState({isSelectingMarker:!this.state.isSelectingMarker})}},{key:"addMarkerManual",value:function(){var e=i()(),t=se("Custom Marker"),n=this.map.getCenter(),o=n.lat(),a=n.lng();this.setState({isModalOpen:!0,selectedMarker:{advanced:!0,id:e,location:"",title:t,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:o,longitude:a}})}},{key:"addMarker",value:function(e,t,n,o,a,l){var r=this,c=new google.maps.LatLng(a,l),s=i()(),p=new google.maps.Marker({position:c,map:this.map,title:t,draggable:!0,icon:n});google.maps.event.addListener(p,"dragend",(function(e){var t=e.latLng.lat(),n=e.latLng.lng();r.changeMarkerProp(s,"latitude",t),r.changeMarkerProp(s,"longitude",n)})),this.markers.push(p);var u=oe(this.props.attributes.markers),m={id:s,location:e,title:t,icon:n,description:o,latitude:a,longitude:l};u.push(m),this.props.setAttributes({markers:u}),google.maps.event.addListener(p,"click",(function(e){r.lastInfoWindow&&r.lastInfoWindow.close()})),this.addInfoWindow(p,m.id,t,o),this.setState({isModalOpen:!1})}},{key:"addInfoWindow",value:function(e,t,n,o){var a=this,l='<div class="wp-block-themeisle-blocks-map-overview"><h6 class="wp-block-themeisle-blocks-map-overview-title">'.concat(n,'</h6><div class="wp-block-themeisle-blocks-map-overview-content">').concat(o?"<p>".concat(o,"</p>"):"",'<a class="wp-block-themeisle-blocks-map-overview-delete" onclick="removeMarker( \'').concat(t,"' )\">").concat(se("Delete Marker"),"</a></div></div>"),r=new google.maps.InfoWindow({content:l});e.addListener("click",(function(){a.lastInfoWindow=r,r.open(a.map,e)})),google.maps.event.addListener(r,"domready",(function(){a.setState({isMarkerOpen:t})})),google.maps.event.addListener(r,"closeclick",(function(){a.setState({isMarkerOpen:!1})}))}},{key:"removeMarker",value:function(e){var t=oe(this.props.attributes.markers);t=t.filter((function(t){return t.id!==e})),this.props.setAttributes({markers:t}),this.removeMarkers(),this.setState({isMarkerOpen:!1}),0<t.length&&this.cycleMarkers(t)}},{key:"removeMarkers",value:function(){for(var e=0;e<this.markers.length;e++)this.markers[e].setMap(null);this.markers=[]}},{key:"cycleMarkers",value:function(e){var t=this;e.forEach((function(e){var n=e.latitude,o=e.longitude,a=new google.maps.LatLng(n,o),l=new google.maps.Marker({position:a,map:t.map,title:e.title,draggable:!0,icon:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png"});google.maps.event.addListener(l,"dragend",(function(n){var o=n.latLng.lat(),a=n.latLng.lng();t.changeMarkerProp(e.id,"latitude",o),t.changeMarkerProp(e.id,"longitude",a)})),t.markers.push(l),google.maps.event.addListener(l,"click",(function(e){t.lastInfoWindow&&t.lastInfoWindow.close()})),t.addInfoWindow(l,e.id,e.title,e.description)}))}},{key:"changeAPI",value:function(e){this.setState({api:e})}},{key:"saveAPIKey",value:function(){var e=this;if(!1===Boolean(themeisleGutenberg.mapsAPI)){this.setState({isSaving:!0});var t=new wp.api.models.Settings({themeisle_google_map_block_api_key:this.state.api}).save();t.success((function(t,n){if("success"===n){var o=!1;e.settings.fetch(),""!==t.themeisle_google_map_block_api_key&&(o=!0),e.setState({isSaving:!1,isAPISaved:o}),""!==t.themeisle_google_map_block_api_key&&(window.isMapLoaded=!1,e.enqueueScript(t.themeisle_google_map_block_api_key))}"error"===n&&console.log(t),e.settings.fetch()})),t.error((function(e,t){console.log(e)}))}}},{key:"changeStyle",value:function(e){this.props.setAttributes({style:e}),this.map.setOptions({styles:te[e]})}},{key:"changeLocation",value:function(e){this.props.setAttributes({location:e.target.value})}},{key:"changeLatitude",value:function(e){this.props.setAttributes({latitude:e.toString()});var t=Number(e),n=this.props.attributes.longitude,o=new google.maps.LatLng(t,n);this.map.setCenter(o)}},{key:"changeLongitude",value:function(e){this.props.setAttributes({longitude:e.toString()});var t=this.props.attributes.latitude,n=Number(e),o=new google.maps.LatLng(t,n);this.map.setCenter(o)}},{key:"changeMapType",value:function(e){this.props.setAttributes({type:e}),this.map.setMapTypeId(google.maps.MapTypeId[e.toUpperCase()])}},{key:"changeZoom",value:function(e){this.props.setAttributes({zoom:e}),this.map.setZoom(e)}},{key:"changeHeight",value:function(e){this.props.setAttributes({height:e})}},{key:"toggleDraggable",value:function(){this.props.setAttributes({draggable:!this.props.attributes.draggable})}},{key:"toggleMapTypeControl",value:function(){this.props.setAttributes({mapTypeControl:!this.props.attributes.mapTypeControl})}},{key:"toggleZoomControl",value:function(){this.props.setAttributes({zoomControl:!this.props.attributes.zoomControl})}},{key:"toggleFullScreenControl",value:function(){this.props.setAttributes({fullscreenControl:!this.props.attributes.fullscreenControl})}},{key:"toggleStreetViewControl",value:function(){this.props.setAttributes({streetViewControl:!this.props.attributes.streetViewControl})}},{key:"changeMarkerProp",value:function(e,t,n){var o=oe(this.props.attributes.markers);o.map((function(o){if(o.id===e)return o[t]=n})),this.removeMarkers(),this.cycleMarkers(o),this.props.setAttributes({markers:o})}},{key:"render",value:function(){var e=this;return this.state.isAPILoaded?this.state.isAPISaved?wp.element.createElement(Te,null,wp.element.createElement(c.a,{label:se("Block Styles"),value:this.props.attributes.style,options:[{label:se("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:se("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:se("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:se("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:se("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:se("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:this.changeStyle}),wp.element.createElement(Ee,null,wp.element.createElement(be,{title:se("Styles"),initialOpen:!1},wp.element.createElement(c.b,{value:this.props.attributes.style,options:[{label:se("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:se("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:se("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:se("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:se("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:se("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:this.changeStyle})),wp.element.createElement(be,{title:se("Location")},wp.element.createElement(ue,{label:se("Location"),id:"wp-block-themeisle-blocks-google-map-search"},wp.element.createElement("input",{type:"text",id:"wp-block-themeisle-blocks-google-map-search",placeholder:se("Enter a location…"),value:this.props.attributes.location,className:"wp-block-themeisle-blocks-google-map-search",onFocus:function(t){return e.initSearch(t)},onChange:function(t){return e.changeLocation(t)},disabled:!this.state.isPlaceAPIAvailable}),!this.state.isPlaceAPIAvailable&&wp.element.createElement("p",null,se("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(de,{href:"https://developers.google.com/places/web-service/intro"},se("More info.")))),wp.element.createElement(ve,{label:se("Latitude"),type:"text",placeholder:se("Enter latitude…"),value:this.props.attributes.latitude,onChange:this.changeLatitude}),wp.element.createElement(ve,{label:se("Longitude"),type:"text",placeholder:se("Enter longitude"),value:this.props.attributes.longitude,onChange:this.changeLongitude})),wp.element.createElement(be,{title:se("Positioning & Zooming"),initialOpen:!1},wp.element.createElement(ye,{label:se("Map Type"),value:this.props.attributes.type,options:[{label:se("Road Map"),value:"roadmap"},{label:se("Satellite View"),value:"satellite"},{label:se("Hybrid"),value:"hybrid"},{label:se("Terrain"),value:"terrain"}],onChange:this.changeMapType}),wp.element.createElement(he,{label:se("Map Zoom Level"),value:this.props.attributes.zoom,onChange:this.changeZoom,min:0,max:20}),wp.element.createElement(he,{label:se("Map Height"),value:this.props.attributes.height,onChange:this.changeHeight,min:100,max:1400})),wp.element.createElement(be,{title:se("Controls"),initialOpen:!1},wp.element.createElement(ue,null,se("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.")),wp.element.createElement(ke,{label:"Draggable Map",checked:this.props.attributes.draggable,onChange:this.toggleDraggable}),wp.element.createElement(ke,{label:"Map Type Control",checked:this.props.attributes.mapTypeControl,onChange:this.toggleMapTypeControl}),wp.element.createElement(ke,{label:"Zoom Control",checked:this.props.attributes.zoomControl,onChange:this.toggleZoomControl}),wp.element.createElement(ke,{label:"Full Screen Control",checked:this.props.attributes.fullscreenControl,onChange:this.toggleFullScreenControl}),wp.element.createElement(ke,{label:"Streen View Control",checked:this.props.attributes.streetViewControl,onChange:this.toggleStreetViewControl})),wp.element.createElement(be,{title:se("Markers"),initialOpen:!1,opened:!1!==this.state.isMarkerOpen||void 0,onToggle:function(){!1!==e.state.isMarkerOpen&&e.setState({isMarkerOpen:!1})}},wp.element.createElement(_,{markers:this.props.attributes.markers,removeMarker:this.removeMarker,changeMarkerProp:this.changeMarkerProp,addMarker:this.addMarkerManual,isPlaceAPIAvailable:this.state.isPlaceAPIAvailable,initialOpen:this.state.isMarkerOpen})),wp.element.createElement(be,{title:se("Global Settings"),initialOpen:!1},wp.element.createElement(ve,{label:se("Google Maps API Key"),type:"text",placeholder:se("Google Maps API Key"),value:this.state.api,className:"components-placeholder__input",onChange:this.changeAPI,help:se("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.")}),wp.element.createElement(me,{isLarge:!0,type:"submit",onClick:this.saveAPIKey,isBusy:this.state.isSaving},se("Save API Key")))),this.state.isModalOpen&&wp.element.createElement(ee,{marker:this.state.selectedMarker,isPlaceAPIAvailable:this.state.isPlaceAPIAvailable,close:function(){return e.setState({isModalOpen:!1})},addMarker:this.addMarker}),wp.element.createElement(fe,{size:{height:this.props.attributes.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){e.props.toggleSelection(!1)},onResizeStop:function(t,n,o,a){e.props.setAttributes({height:parseInt(e.props.attributes.height+a.height,10)}),e.props.toggleSelection(!0)},className:l()("wp-block-themeisle-blocks-google-map-resizer",{"is-focused":this.props.isSelected})},wp.element.createElement("div",{id:this.props.attributes.id,className:l()(this.props.className,{"is-selecting-marker":this.state.isSelectingMarker}),style:{height:this.props.attributes.height+"px"}}))):wp.element.createElement("div",{className:this.props.className},wp.element.createElement(ge,{icon:"admin-site",label:se("Google Maps"),instructions:se("A Google Maps API key is required, please enter one below.")},wp.element.createElement(ve,{type:"text",placeholder:se("Google Maps API Key"),value:this.state.api,className:"components-placeholder__input",onChange:this.changeAPI}),wp.element.createElement(me,{isLarge:!0,type:"submit",onClick:this.saveAPIKey,isBusy:this.state.isSaving,disabled:""===this.state.api},se("Save API Key")),wp.element.createElement("div",{className:"components-placeholder__instructions"},wp.element.createElement("p",{className:"components-placeholder__text"},se("Need an API key? Get one "),wp.element.createElement(de,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},se("here."))),wp.element.createElement("p",{className:"components-placeholder__text"},se("You need to activate Maps and Places API."))))):wp.element.createElement(ge,null,wp.element.createElement(we,null),se("Loading…"))}}])&&le(n.prototype,o),a&&le(n,a),t}(xe),Be=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/google-map",{title:Be("Google Map"),description:Be("Display a Google Map on your website with Google Map block."),icon:o.i,category:"themeisle-blocks",keywords:["map","google","orbitfox"],attributes:{style:{type:"string",default:"standard"},id:{type:"string"},location:{type:"string",default:"La Sagrada Familia, Barcelona, Spain"},latitude:{type:"string"},longitude:{type:"string"},type:{type:"string",default:"roadmap"},zoom:{type:"number",default:15},height:{type:"number",default:400},draggable:{type:"boolean",default:!0},mapTypeControl:{type:"boolean",default:!0},zoomControl:{type:"boolean",default:!0},fullscreenControl:{type:"boolean",default:!0},streetViewControl:{type:"boolean",default:!0},markers:{type:"array",default:[]}},supports:{align:["wide","full"],html:!1},edit:Se,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(88),n(89);var o=n(2),a=n(39),l=n.n(a),r=n(0),i=n.n(r),c=n(19),s=lodash,p=s.startCase,u=s.toLower,m=wp.i18n.__,d=wp.components,b=d.IconButton,g=d.TextControl,h=d.SelectControl,f=d.ToggleControl,y=wp.compose.withState,w=wp.element.Fragment,v=Object(c.c)((function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-handle"},wp.element.createElement("span",null))})),k=Object(c.b)((function(e){var t=e.value,n=e.disabled,o=e.getFields,a=e.toggleFields,l=e.excerptLimit;return wp.element.createElement(E,{value:t,disabled:n,getFields:o,toggleFields:a,excerptLimit:l})})),E=y({isOpen:!1})((function(e){var t,n=e.value,o=e.disabled,a=e.getFields,l=e.toggleFields,r=e.isOpen,c=e.setState,s=e.imageSize,d=e.excerptLimit,y=p(u(n)),k="hidden",E=m("Display ".concat(y));switch(a(n)&&(k="visibility",E=m("Hide ".concat(y))),n){case"image":case"meta":case"description":t=!0;break;default:t=!1}return wp.element.createElement("div",{className:i()("wp-block-themeisle-blocks-posts-grid-builder-item-area","wp-block-themeisle-blocks-posts-grid-builder-item-area-".concat(n))},wp.element.createElement("div",{className:i()("wp-block-themeisle-blocks-posts-grid-builder-item",{disabled:o,hidden:!a(n),editable:t})},!o&&wp.element.createElement(v,null),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-label"},y),t&&wp.element.createElement(b,{icon:r?"arrow-up-alt2":"arrow-down-alt2",label:m(r?"Close Settings":"Open Settings"),className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){return c({isOpen:!r})}}),wp.element.createElement(b,{icon:k,label:E,className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){l(n),c({isOpen:!1})}})),t&&wp.element.createElement("div",{className:i()("wp-block-themeisle-blocks-posts-grid-builder-control-area",{opened:r&&a(n)})},"image"===n&&wp.element.createElement(h,{label:m("Image Size"),value:s.value,options:[{label:m("Thumbnail"),value:"thumbnail"},{label:m("Medium"),value:"medium"},{label:m("Medium Large"),value:"medium_large"},{label:m("Large"),value:"large"},{label:m("Full"),value:"full"}],onChange:s.onChange}),"description"===n&&wp.element.createElement(g,{label:m("Excerpt Limit"),type:"number",value:d.value,onChange:d.onChange}),"meta"===n&&wp.element.createElement(w,null,wp.element.createElement(f,{label:"Display Date?",checked:a("date"),onChange:function(){return l("date")}}),wp.element.createElement(f,{label:"Display Author?",checked:a("author"),onChange:function(){return l("author")}}))))})),C=Object(c.a)((function(e){var t=e.template,n=e.getFields,o=e.toggleFields,a=e.excerptLimit;return wp.element.createElement("div",null,t.map((function(e,t){return wp.element.createElement(k,{key:"item-".concat(t),index:t,value:e,getFields:n,toggleFields:o,excerptLimit:a})})))}));function x(e){return(x="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 T(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var M=wp.i18n.__,L=wp.element,N=L.Component,A=L.Fragment,P=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=S(t).apply(this,arguments))||"object"!==x(o)&&"function"!=typeof o?B(n):o).onSortEnd=e.onSortEnd.bind(B(e)),e.state={isOpen:!1},e}var n,o,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&&O(e,t)}(t,e),n=t,(o=[{key:"onSortEnd",value:function(e){var t=e.oldIndex,n=e.newIndex,o=l()(this.props.attributes.template,t,n);this.props.setAttributes({template:o})}},{key:"render",value:function(){return wp.element.createElement(A,null,wp.element.createElement("div",{className:i()("wp-block-themeisle-blocks-posts-grid-builder",this.props.attributes.style)},wp.element.createElement(E,{value:M("image"),disabled:!0,getFields:this.props.getFields,toggleFields:this.props.toggleFields,imageSize:this.props.imageSize}),wp.element.createElement(C,{template:this.props.attributes.template,onSortEnd:this.onSortEnd,getFields:this.props.getFields,toggleFields:this.props.toggleFields,excerptLimit:this.props.excerptLimit,useDragHandle:!0})))}}])&&T(n.prototype,o),a&&T(n,a),t}(N),_=n(14),R=n(23);function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function V(e){return(V=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 j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var F=lodash,D=F.isUndefined,G=F.pickBy,W=wp.i18n.__,Z=wp.components,q=Z.Disabled,U=Z.PanelBody,K=Z.QueryControls,Q=Z.RangeControl,J=Z.Placeholder,Y=Z.Spinner,$=wp.data.withSelect,X=(wp.blockEditor||wp.editor).InspectorControls,ee=wp.element,te=ee.Component,ne=ee.Fragment,oe=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=V(t).apply(this,arguments))||"object"!==I(o)&&"function"!=typeof o?H(n):o).changeStyle=e.changeStyle.bind(H(e)),e.changeColumns=e.changeColumns.bind(H(e)),e.changeImageSize=e.changeImageSize.bind(H(e)),e.getFields=e.getFields.bind(H(e)),e.toggleFields=e.toggleFields.bind(H(e)),e.changeExcerptLength=e.changeExcerptLength.bind(H(e)),e}var n,o,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&&j(e,t)}(t,e),n=t,(o=[{key:"changeStyle",value:function(e){this.props.setAttributes({style:e})}},{key:"changeColumns",value:function(e){this.props.setAttributes({columns:e})}},{key:"changeImageSize",value:function(e){this.props.setAttributes({imageSize:e})}},{key:"getFields",value:function(e){return"image"===e?this.props.attributes.displayFeaturedImage:"category"===e?this.props.attributes.displayCategory:"title"===e?this.props.attributes.displayTitle:"meta"===e?this.props.attributes.displayMeta:"description"===e?this.props.attributes.displayDescription:"date"===e?this.props.attributes.displayDate:"author"===e?this.props.attributes.displayAuthor:void 0}},{key:"toggleFields",value:function(e){"image"===e&&this.props.setAttributes({displayFeaturedImage:!this.props.attributes.displayFeaturedImage}),"category"===e&&this.props.setAttributes({displayCategory:!this.props.attributes.displayCategory}),"title"===e&&this.props.setAttributes({displayTitle:!this.props.attributes.displayTitle}),"meta"===e&&this.props.setAttributes({displayMeta:!this.props.attributes.displayMeta}),"description"===e&&this.props.setAttributes({displayDescription:!this.props.attributes.displayDescription}),"date"===e&&this.props.setAttributes({displayDate:!this.props.attributes.displayDate}),"author"===e&&this.props.setAttributes({displayAuthor:!this.props.attributes.displayAuthor})}},{key:"changeExcerptLength",value:function(e){this.props.setAttributes({excerptLength:e})}},{key:"render",value:function(){var e=this;return this.props.posts&&this.props.categoriesList&&this.props.authors?wp.element.createElement(ne,null,wp.element.createElement(_.a,{label:W("Block Styles"),value:this.props.attributes.style,options:[{label:W("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:W("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:this.changeStyle}),wp.element.createElement(X,null,wp.element.createElement(U,{title:W("Styles"),initialOpen:!1},wp.element.createElement(_.b,{value:this.props.attributes.style,options:[{label:W("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:W("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:this.changeStyle})),wp.element.createElement(U,{title:W("Settings")},"grid"===this.props.attributes.style&&wp.element.createElement(Q,{label:W("Columns"),value:this.props.attributes.columns,onChange:this.changeColumns,min:1,max:5}),wp.element.createElement(K,{numberOfItems:this.props.attributes.postsToShow,categoriesList:this.props.categoriesList,selectedCategoryId:this.props.attributes.categories,onOrderChange:function(t){return e.props.setAttributes({order:t})},onOrderByChange:function(t){return e.props.setAttributes({orderBy:t})},onCategoryChange:function(t){return e.props.setAttributes({categories:""!==t?t:void 0})},onNumberOfItemsChange:function(t){return e.props.setAttributes({postsToShow:t})}})),wp.element.createElement(U,{title:W("Design & Layout"),initialOpen:!1},wp.element.createElement(P,{attributes:this.props.attributes,getFields:this.getFields,toggleFields:this.toggleFields,setAttributes:this.props.setAttributes,imageSize:{value:this.props.attributes.imageSize,onChange:this.changeImageSize},excerptLimit:{value:this.props.attributes.excerptLength,onChange:this.changeExcerptLength}}))),0===this.props.posts.length&&wp.element.createElement(J,null,W("No Posts")),0<this.props.posts.length&&wp.element.createElement(q,null,wp.element.createElement(R.default,{className:this.props.className,attributes:this.props.attributes,posts:this.props.posts,categoriesList:this.props.categoriesList,authors:this.props.authors}))):wp.element.createElement(J,null,wp.element.createElement(Y,null),W("Loading Posts"))}}])&&z(n.prototype,o),a&&z(n,a),t}(te),ae=$((function(e,t){var n=t.attributes,o=n.categories,a=n.order,l=n.orderBy,r=n.postsToShow,i=G({categories:o,order:a,orderby:l,per_page:r},(function(e){return!D(e)}));return{posts:e("core").getEntityRecords("postType","post",i),categoriesList:e("core").getEntityRecords("taxonomy","category",{per_page:100}),authors:e("core").getAuthors()}}))(oe),le=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/posts-grid",{title:le("Posts"),description:le("Display a list of your most recent posts in a beautiful layout."),icon:o.n,category:"themeisle-blocks",keywords:["posts","grid","news"],attributes:{style:{type:"string",default:"grid"},columns:{type:"number",default:3},template:{type:"array",default:["category","title","meta","description"]},categories:{type:"string"},postsToShow:{type:"number",default:5},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},imageSize:{type:"string",default:"full"},displayFeaturedImage:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayTitle:{type:"boolean",default:!0},displayMeta:{type:"boolean",default:!0},displayDescription:{type:"boolean",default:!0},excerptLength:{type:"number",default:100},displayDate:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0}},supports:{align:["wide","full"],html:!1},edit:ae,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=(n(105),n(106),n(2)),r=wp.i18n.__,i={facebook:{label:r("Facebook"),icon:"facebook-f"},twitter:{label:r("Twitter"),icon:"twitter"},linkedin:{label:r("Linkedin"),icon:"linkedin-in"},pinterest:{label:r("Pinterest"),icon:"pinterest-p"},tumblr:{label:r("Tumblr"),icon:"tumblr"},reddit:{label:r("Reddit"),icon:"reddit-alien"}},c=wp.components,s=c.Path,p=c.SVG,u=function(e){var t=e.icon;return"facebook"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 264 512"},wp.element.createElement(s,{fill:"currentColor",d:"M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"})):"twitter"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(s,{fill:"currentColor",d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})):"linkedin"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},wp.element.createElement(s,{fill:"currentColor",d:"M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"})):"pinterest"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},wp.element.createElement(s,{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"})):"tumblr"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},wp.element.createElement(s,{fill:"currentColor",d:"M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"})):"reddit"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(s,{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"})):wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(s,{fill:"currentColor",d:"M208 88.286c0-10 6.286-21.714 17.715-21.714 11.142 0 17.714 11.714 17.714 21.714 0 10.285-6.572 21.714-17.714 21.714C214.286 110 208 98.571 208 88.286zm304 160c0 36.001-11.429 102.286-36.286 129.714-22.858 24.858-87.428 61.143-120.857 70.572l-1.143.286v32.571c0 16.286-12.572 30.571-29.143 30.571-10 0-19.429-5.714-24.572-14.286-5.427 8.572-14.856 14.286-24.856 14.286-10 0-19.429-5.714-24.858-14.286-5.142 8.572-14.571 14.286-24.57 14.286-10.286 0-19.429-5.714-24.858-14.286-5.143 8.572-14.571 14.286-24.571 14.286-18.857 0-29.429-15.714-29.429-32.857-16.286 12.285-35.715 19.428-56.571 19.428-22 0-43.429-8.285-60.286-22.857 10.285-.286 20.571-2.286 30.285-5.714-20.857-5.714-39.428-18.857-52-36.286 21.37 4.645 46.209 1.673 67.143-11.143-22-22-56.571-58.857-68.572-87.428C1.143 321.714 0 303.714 0 289.429c0-49.714 20.286-160 86.286-160 10.571 0 18.857 4.858 23.143 14.857a158.792 158.792 0 0 1 12-15.428c2-2.572 5.714-5.429 7.143-8.286 7.999-12.571 11.714-21.142 21.714-34C182.571 45.428 232 17.143 285.143 17.143c6 0 12 .285 17.714 1.143C313.714 6.571 328.857 0 344.572 0c14.571 0 29.714 6 40 16.286.857.858 1.428 2.286 1.428 3.428 0 3.714-10.285 13.429-12.857 16.286 4.286 1.429 15.714 6.858 15.714 12 0 2.857-2.857 5.143-4.571 7.143 31.429 27.714 49.429 67.143 56.286 108 4.286-5.143 10.285-8.572 17.143-8.572 10.571 0 20.857 7.144 28.571 14.001C507.143 187.143 512 221.714 512 248.286zM188 89.428c0 18.286 12.571 37.143 32.286 37.143 19.714 0 32.285-18.857 32.285-37.143 0-18-12.571-36.857-32.285-36.857-19.715 0-32.286 18.858-32.286 36.857zM237.714 194c0-19.714 3.714-39.143 8.571-58.286-52.039 79.534-13.531 184.571 68.858 184.571 21.428 0 42.571-7.714 60-20 2-7.429 3.714-14.857 3.714-22.572 0-14.286-6.286-21.428-20.572-21.428-4.571 0-9.143.857-13.429 1.714-63.343 12.668-107.142 3.669-107.142-63.999zm-41.142 254.858c0-11.143-8.858-20.857-20.286-20.857-11.429 0-20 9.715-20 20.857v32.571c0 11.143 8.571 21.142 20 21.142 11.428 0 20.286-9.715 20.286-21.142v-32.571zm49.143 0c0-11.143-8.572-20.857-20-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20-10 20-21.142v-32.571zm49.713 0c0-11.143-8.857-20.857-20.285-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20.285-9.715 20.285-21.142v-32.571zm49.715 0c0-11.143-8.857-20.857-20.286-20.857-11.428 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.858 21.142 20.286 21.142 11.429 0 20.286-10 20.286-21.142v-32.571zM421.714 286c-30.857 59.142-90.285 102.572-158.571 102.572-96.571 0-160.571-84.572-160.571-176.572 0-16.857 2-33.429 6-49.714-20 33.715-29.714 72.572-29.714 111.429 0 60.286 24.857 121.715 71.429 160.857 5.143-9.714 14.857-16.286 26-16.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.571-14.286 24.858-14.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.857-14.286 24.858-14.286 10 0 19.428 5.714 24.857 14.286 5.143-8.571 14.571-14.286 24.572-14.286 10.857 0 20.857 6.572 25.714 16 43.427-36.286 68.569-92 71.426-148.286zm10.572-99.714c0-53.714-34.571-105.714-92.572-105.714-30.285 0-58.571 15.143-78.857 36.857C240.862 183.812 233.41 254 302.286 254c28.805 0 97.357-28.538 84.286 36.857 28.857-26 45.714-65.714 45.714-104.571z"}))};var m=wp.i18n.__,d=wp.blocks.registerBlockType,b=(wp.blockEditor||wp.editor).BlockControls,g=wp.components,h=g.Toolbar,f=g.Button,y=g.Tooltip;d("themeisle-blocks/sharing-icons",{title:m("Sharing Icons"),description:m("Share buttons for your website visitors to share content on any social sharing service."),icon:l.q,category:"themeisle-blocks",keywords:["social media","sharing","icons"],attributes:{facebook:{type:"boolean",default:!0},twitter:{type:"boolean",default:!0},linkedin:{type:"boolean",default:!0},pinterest:{type:"boolean",default:!1},tumblr:{type:"boolean",default:!1},reddit:{type:"boolean",default:!1}},supports:{html:!0,align:["left","center","right"]},styles:[{name:"default",label:m("Regular"),isDefault:!0},{name:"icons",label:m("Icons Only")}],edit:function(e){var t=function(t){var n,o,a;e.setAttributes((n={},o=t,a=!e.attributes[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,n))};return[wp.element.createElement(b,{key:"toolbar-controls"},wp.element.createElement(h,{className:"components-toolbar"},Object.keys(i).map((function(n,o){var l=e.attributes[n];return wp.element.createElement(y,{text:m("Display ".concat(i[n].label))},wp.element.createElement(f,{className:a()("components-icon-button","components-toolbar__control",{"is-active":l}),onClick:function(e){return t(n)}},wp.element.createElement(u,{icon:n})))})))),wp.element.createElement("div",{className:a()(e.className,{"has-label":!e.attributes.className||!e.attributes.className.includes("is-style-icons")})},Object.keys(i).map((function(t,n){if(!0===e.attributes[t])return wp.element.createElement("a",{className:"social-icon is-".concat(t)},wp.element.createElement("i",{className:"fab fa-".concat(i[t].icon)}),(!e.attributes.className||!e.attributes.className.includes("is-style-icons"))&&i[t].label)})))]},save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(78),n(79);var o=n(2),a=n(17);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=[{attributes:{align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"undefined-container",style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}},{attributes:{prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},supports:{align:["left","center","right"]},migrate:function(e){var t="center";return e.className.includes("alignleft")&&(t="left"),e.className.includes("aligncenter")&&(t="center"),e.className.includes("alignright")&&(t="right"),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{align:t,className:""})},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"".concat(e.className,"-container"),style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}}];function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=wp.i18n.__,p=wp.blocks.registerBlockType,u=wp.components,m=u.BaseControl,d=u.Button,b=u.ButtonGroup,g=u.PanelBody,h=u.Placeholder,f=u.RangeControl,y=u.Spinner,w=u.ToggleControl,v=wp.compose,k=v.compose,E=v.withState,C=wp.data.withSelect,x=wp.blockEditor||wp.editor,T=x.AlignmentToolbar,S=x.BlockControls,B=x.ColorPalette,O=x.ContrastChecker,M=x.InspectorControls,L=wp.element.Fragment,N=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,119))}));p("themeisle-blocks/font-awesome-icons",{title:s("Font Awesome Icons"),description:s("Share buttons for your website visitors to share content on any social sharing service."),icon:o.g,category:"themeisle-blocks",keywords:["font awesome","dashicons","icons"],attributes:{id:{type:"string"},align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},link:{type:"string"},newTab:{type:"boolean",default:!1},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},deprecated:i,edit:k([C((function(e,t){return{props:t}})),E({hover:!1})])((function(e){var t=e.hover,n=e.setState,o=e.props;if(void 0===o.attributes.id||o.attributes.id.substr(o.attributes.id.length-8)!==o.clientId.substr(0,8)){var l="wp-block-themeisle-blocks-font-awesome-icons-".concat(o.clientId.substr(0,8));o.setAttributes({id:l})}var r={borderRadius:o.attributes.borderRadius+"%",fontSize:o.attributes.fontSize+"px",padding:o.attributes.padding+"px"},i={color:o.attributes.textColor,backgroundColor:o.attributes.backgroundColor,borderColor:o.attributes.borderColor,borderRadius:o.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:o.attributes.borderSize+"px",display:"inline-block",margin:o.attributes.margin+"px"};return wp.element.createElement(L,null,wp.element.createElement(S,null,wp.element.createElement(T,{value:o.attributes.align,onChange:function(e){o.setAttributes({align:e})},alignmentControls:[{icon:"editor-alignleft",title:s("Align left"),align:"left"},{icon:"editor-aligncenter",title:s("Align center"),align:"center"},{icon:"editor-alignright",title:s("Align right"),align:"right"}]})),wp.element.createElement(M,null,wp.element.createElement(g,{title:s("Icon Settings")},wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(h,null,wp.element.createElement(y,null))},wp.element.createElement(N,{label:s("Icon Picker"),prefix:o.attributes.prefix,icon:o.attributes.icon,onChange:function(e){"object"===c(e)?o.setAttributes({icon:e.name,prefix:e.prefix}):o.setAttributes({icon:e})}})),wp.element.createElement(a.a,{label:s("Link"),placeholder:"https://…",value:o.attributes.link,onChange:function(e){o.setAttributes({link:e})}},wp.element.createElement(w,{label:"Open in New Tab?",checked:o.attributes.newTab,onChange:function(){o.setAttributes({newTab:!o.attributes.newTab})}}))),wp.element.createElement(g,{title:s("Icon Sizes"),className:"blocks-font-size",initialOpen:!1},wp.element.createElement(f,{label:s("Text Size"),value:o.attributes.fontSize||"",initialPosition:16,onChange:function(e){o.setAttributes({fontSize:e})},min:12,max:140,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}),wp.element.createElement(f,{label:s("Padding"),value:o.attributes.padding||"",initialPosition:5,onChange:function(e){o.setAttributes({padding:e})},min:0,max:100,beforeIcon:"minus",afterIcon:"plus"}),wp.element.createElement(f,{label:s("Margin"),value:o.attributes.margin||"",initialPosition:5,onChange:function(e){o.setAttributes({margin:e})},min:0,max:100,beforeIcon:"minus",afterIcon:"plus"})),wp.element.createElement(g,{title:s("Color"),initialOpen:!1},wp.element.createElement(b,{className:"wp-block-themeisle-blocks-font-awesome-icons-hover-control"},wp.element.createElement(d,{isDefault:!0,isLarge:!0,isPrimary:!t,onClick:function(){return n({hover:!1})}},s("Normal")),wp.element.createElement(d,{isDefault:!0,isLarge:!0,isPrimary:t,onClick:function(){return n({hover:!0})}},s("Hover"))),t?wp.element.createElement(L,null,wp.element.createElement(m,{label:"Hover Background"},wp.element.createElement(B,{label:"Hover Background",value:o.attributes.backgroundColorHover,onChange:function(e){o.setAttributes({backgroundColorHover:e})}})),wp.element.createElement(m,{label:"Hover Icon"},wp.element.createElement(B,{label:"Hover Icon",value:o.attributes.textColorHover,onChange:function(e){o.setAttributes({textColorHover:e})}})),wp.element.createElement(m,{label:"Hover Border"},wp.element.createElement(B,{label:"Hover Border",value:o.attributes.borderColorHover,onChange:function(e){o.setAttributes({borderColorHover:e})}})),wp.element.createElement(O,{textColor:o.attributes.textColorHover,backgroundColor:o.attributes.backgroundColorHover})):wp.element.createElement(L,null,wp.element.createElement(m,{label:"Background"},wp.element.createElement(B,{label:"Background",value:o.attributes.backgroundColor,onChange:function(e){o.setAttributes({backgroundColor:e})}})),wp.element.createElement(m,{label:"Icon"},wp.element.createElement(B,{label:"Icon",value:o.attributes.textColor,onChange:function(e){o.setAttributes({textColor:e})}})),wp.element.createElement(m,{label:"Border"},wp.element.createElement(B,{label:"Border",value:o.attributes.borderColor,onChange:function(e){o.setAttributes({borderColor:e})}})),wp.element.createElement(O,{textColor:o.attributes.textColor,backgroundColor:o.attributes.backgroundColor}))),wp.element.createElement(g,{title:s("Border Settings"),initialOpen:!1},wp.element.createElement(f,{label:s("Border Size"),value:o.attributes.borderSize,onChange:function(e){o.setAttributes({borderSize:e})},min:0,max:120,beforeIcon:"minus",afterIcon:"plus"}),wp.element.createElement(f,{label:s("Border Radius"),value:o.attributes.borderRadius,onChange:function(e){o.setAttributes({borderRadius:e})},min:0,max:100,beforeIcon:"grid-view",afterIcon:"marker"}))),wp.element.createElement("style",null,"#".concat(o.attributes.id," .").concat(o.className,"-container:hover {\n\t\t\t\t\t\tcolor: ").concat(o.attributes.textColorHover?o.attributes.textColorHover:o.attributes.textColor," !important;\n\t\t\t\t\t\tbackground: ").concat(o.attributes.backgroundColorHover?o.attributes.backgroundColorHover:o.attributes.backgroundColor," !important;\n\t\t\t\t\t\tborder-color: ").concat(o.attributes.borderColorHover?o.attributes.borderColorHover:o.attributes.borderColor," !important;\n\t\t\t\t\t}")),wp.element.createElement("p",{className:o.className,id:o.attributes.id,style:{textAlign:o.attributes.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:i},wp.element.createElement("i",{className:"".concat(o.attributes.prefix," fa-").concat(o.attributes.icon),style:r}))))})),save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"},n={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},o=function(){return wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:n})};return wp.element.createElement("p",{className:e.className,id:e.attributes.id,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:t},e.attributes.link?wp.element.createElement("a",{href:e.attributes.link,target:e.attributes.newTab?"_blank":"_self",style:{color:e.attributes.textColor},rel:"noopener noreferrer"},wp.element.createElement(o,null)):wp.element.createElement(o,null)))}})},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=n(5),r=n.n(l),i=n(16),c=n.n(i),s=(n(58),n(59),n(2)),p=n(3),u=n(12),m=n(7),d=n(17),b=n(4);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=lodash.times,y=wp.editor.RichText,w=wp.element.Fragment,v=[{attributes:{id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},save:function(e){var t=e.attributes,n=t.id,o=t.buttons,l=t.align,r=t.collapse,i=t.fontSize,c=t.fontFamily,s=t.fontStyle,p=t.fontVariant,u=t.textTransform,m=t.lineHeight,d=t.data,b={fontSize:"".concat(i,"px"),fontFamily:c,fontWeight:p,fontStyle:s,textTransform:u,lineHeight:m&&"".concat(m,"px")},v=function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},b,{borderWidth:"".concat(d[e].borderSize,"px"),borderRadius:"".concat(d[e].borderRadius,"px"),padding:"".concat(d[e].paddingTopBottom,"px ").concat(d[e].paddingLeftRight,"px ")});return wp.element.createElement(w,null,wp.element.createElement("a",{href:d[e].link,target:d[e].newTab?"_blank":"_self",className:a()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:t},("left"===d[e].iconType||"only"===d[e].iconType)&&wp.element.createElement("i",{className:a()(d[e].prefix,"fa-fw","fa-".concat(d[e].icon),{"margin-right":"left"===d[e].iconType})}),"only"!==d[e].iconType&&wp.element.createElement(y.Content,{tagName:"span",value:d[e].text}),"right"===d[e].iconType&&wp.element.createElement("i",{className:"".concat(d[e].prefix," fa-fw fa-").concat(d[e].icon," margin-left")})))},k="collapse-none"!==r?r:"";return wp.element.createElement("div",{id:n,className:a()(e.className,k),style:{justifyContent:l,alignItems:l||"flex-start"}},f(o,(function(e){return v(e)})))}}];function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(n,!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var T=wp.i18n.__,S=lodash.times,B=wp.blocks.registerBlockType,O=wp.components,M=O.BaseControl,L=O.Button,N=O.ButtonGroup,A=O.Dashicon,P=O.Dropdown,_=O.MenuGroup,R=O.MenuItem,I=O.Icon,z=O.IconButton,V=O.PanelBody,H=O.Placeholder,j=O.RangeControl,F=O.SelectControl,D=O.Spinner,G=O.ToggleControl,W=O.Toolbar,Z=wp.compose,q=Z.compose,U=Z.withState,K=wp.data.withSelect,Q=wp.blockEditor||wp.editor,J=Q.AlignmentToolbar,Y=Q.BlockControls,$=Q.ColorPalette,X=Q.InspectorControls,ee=Q.RichText,te=wp.element.Fragment,ne=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,119))}));B("themeisle-blocks/button-group",{title:T("Button Group"),description:T("Prompt visitors to take action with a button group."),icon:s.d,category:"themeisle-blocks",keywords:[T("buttons"),T("button group"),T("advanced buttons")],attributes:{id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},deprecated:v,edit:q([K((function(e,t){return{props:t}})),U({tab:"buttons",selectedButton:0,hover:!1,wait:!1})])((function(e){var t,n=e.tab,o=e.selectedButton,l=e.hover,i=e.wait,g=e.setState,h=e.props,f=h.attributes,y=f.id,w=f.buttons,v=f.align,E=f.spacing,B=f.collapse,O=f.fontSize,Z=f.fontFamily,q=f.fontStyle,U=f.fontVariant,K=f.textTransform,Q=f.lineHeight,oe=f.data;if(void 0===y||y.substr(y.length-8)!==h.clientId.substr(0,8)){var ae="wp-block-themeisle-blocks-button-group-".concat(h.clientId.substr(0,8));h.setAttributes({id:ae})}var le=function(e){g({selectedButton:e,wait:!0}),setTimeout((function(){g({wait:!1})}),500)},re=function(e){1<=e&&5>=e&&(oe.length<e&&(S(e-oe.length,(function(e){oe.push({text:oe[0].text,link:oe[0].link,newTab:oe[0].newTab,color:oe[0].color,border:oe[0].border,background:oe[0].background,hoverColor:oe[0].hoverColor,hoverBackground:oe[0].hoverBackground,hoverBorder:oe[0].hoverBorder,borderSize:oe[0].borderSize,borderRadius:oe[0].borderRadius,boxShadow:oe[0].boxShadow,boxShadowColor:oe[0].boxShadowColor,boxShadowColorOpacity:oe[0].boxShadowColorOpacity,boxShadowBlur:oe[0].boxShadowBlur,boxShadowSpread:oe[0].boxShadowSpread,boxShadowHorizontal:oe[0].boxShadowHorizontal,boxShadowVertical:oe[0].boxShadowVertical,hoverBoxShadowColor:oe[0].hoverBoxShadowColor,hoverBoxShadowColorOpacity:oe[0].hoverBoxShadowColorOpacity,hoverBoxShadowBlur:oe[0].hoverBoxShadowBlur,hoverBoxShadowSpread:oe[0].hoverBoxShadowSpread,hoverBoxShadowHorizontal:oe[0].hoverBoxShadowHorizontal,hoverBoxShadowVertical:oe[0].hoverBoxShadowVertical,iconType:oe[0].iconType,prefix:oe[0].prefix,icon:oe[0].icon,paddingTopBottom:oe[0].paddingTopBottom,paddingLeftRight:oe[0].paddingLeftRight})})),h.setAttributes({data:oe})),h.setAttributes({buttons:e}),g({selectedButton:0}))},ie=function(e){h.setAttributes({fontSize:e})},ce=function(e){h.setAttributes({fontFamily:e,fontVariant:"normal",fontStyle:"normal"})},se=function(e){h.setAttributes({fontVariant:e})},pe=function(e){h.setAttributes({fontStyle:e})},ue=function(e){h.setAttributes({textTransform:e})},me=function(e){h.setAttributes({lineHeight:e})},de=function(e,t){var n=oe.map((function(n,o){return t===o&&(n=C({},n,{},e)),n}));h.setAttributes({data:n})},be={fontSize:"".concat(O,"px"),fontFamily:Z,fontWeight:U,fontStyle:q,textTransform:K,lineHeight:Q&&"".concat(Q,"px")},ge="collapse-none"!==B?B:"";return wp.element.createElement(te,null,Z&&wp.element.createElement(c.a,{fonts:[{font:Z,weights:U&&["".concat(U+("italic"===q?":i":""))]}]}),wp.element.createElement(Y,null,wp.element.createElement(J,{value:v,onChange:function(e){h.setAttributes({align:e})},alignmentControls:[{icon:"editor-alignleft",title:T("Align left"),align:"flex-start"},{icon:"editor-aligncenter",title:T("Align center"),align:"center"},{icon:"editor-alignright",title:T("Align right"),align:"flex-end"}]}),wp.element.createElement(W,{className:"wp-themesiel-blocks-button-group-components-toolbar"},wp.element.createElement(P,{contentClassName:"wp-themesiel-blocks-button-group-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(z,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:T("Typography Settings"),tooltip:T("Typography Settings")},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){var e;return wp.element.createElement(te,null,wp.element.createElement(j,{label:T("Font Size"),value:O,onChange:ie,min:0,max:50}),wp.element.createElement(u.a,(x(e={label:T("Font Family"),value:Z,onChangeFontFamily:ce,isSelect:!0,valueVariant:U,onChangeFontVariant:se,valueStyle:q,onChangeFontStyle:pe},"valueStyle",q),x(e,"onChangeFontStyle",pe),x(e,"valueTransform",K),x(e,"onChangeTextTransform",ue),e)),wp.element.createElement(j,{label:T("Line Height"),value:Q,onChange:me,min:0,max:200}))}}))),wp.element.createElement(X,null,wp.element.createElement(V,{className:"wp-block-themeisle-blocks-button-group-header-panel"},wp.element.createElement(L,{className:a()("header-tab",{"is-selected":"buttons"===n}),onClick:function(){return g({tab:"buttons"})}},wp.element.createElement("span",null,wp.element.createElement(I,{icon:s.d}),T("Buttons"))),wp.element.createElement(L,{className:a()("header-tab",{"is-selected":"group"===n}),onClick:function(){return g({tab:"group"})}},wp.element.createElement("span",null,wp.element.createElement(A,{icon:"admin-generic"}),T("Group Settings")))),"buttons"===n&&wp.element.createElement(te,null,wp.element.createElement(V,{opened:!0},wp.element.createElement(j,{label:T("Number of Buttons"),value:w,onChange:re,min:1,max:5}),wp.element.createElement(M,{label:T("Edit Button")},wp.element.createElement(P,{contentClassName:"wp-block-themeisle-blocks-select-button-popover",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(L,{isLarge:!0,className:"wp-block-themeisle-blocks-select-button-button",onClick:n,"aria-expanded":t},T("Button")+" "+(o+1)+": "+Object(p.b)(oe[o].text))},renderContent:function(e){var t=e.onToggle;return wp.element.createElement(_,null,S(w,(function(e){return wp.element.createElement(R,{onClick:function(){le(e),t()}},T("Button")+" "+(e+1)+": "+Object(p.b)(oe[e].text))})))}}))),i?wp.element.createElement(H,null,wp.element.createElement(D,null)):wp.element.createElement(te,null,wp.element.createElement(V,{title:T("Link")},wp.element.createElement(d.a,{label:"Link",placeholder:T("https://…"),value:oe[o].link,onChange:function(e){return de({link:e},o)}},wp.element.createElement(G,{label:"Open in New Tab?",checked:oe[o].newTab,onChange:function(){return de({newTab:!oe[o].newTab},o)}}))),wp.element.createElement(V,{title:T("Color & Border"),initialOpen:!1},wp.element.createElement(N,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(L,{isDefault:!0,isLarge:!0,isPrimary:!l,onClick:function(){return g({hover:!1})}},T("Normal")),wp.element.createElement(L,{isDefault:!0,isLarge:!0,isPrimary:l,onClick:function(){return g({hover:!0})}},T("Hover"))),l?wp.element.createElement(te,null,wp.element.createElement(M,{label:"Hover Color"},wp.element.createElement($,{label:"Hover Color",value:oe[o].hoverColor,onChange:function(e){return de({hoverColor:e},o)}})),wp.element.createElement(M,{label:"Hover Background"},wp.element.createElement($,{label:"Hover Background",value:oe[o].hoverBackground,onChange:function(e){return de({hoverBackground:e},o)}})),wp.element.createElement(M,{label:"Hover Border"},wp.element.createElement($,{label:"Hover Border",value:oe[o].hoverBorder,onChange:function(e){return de({hoverBorder:e},o)}}))):wp.element.createElement(te,null,wp.element.createElement(M,{label:"Color"},wp.element.createElement($,{label:"Color",value:oe[o].color,onChange:function(e){return de({color:e},o)}})),wp.element.createElement(M,{label:"Background"},wp.element.createElement($,{label:"Background",value:oe[o].background,onChange:function(e){return de({background:e},o)}})),wp.element.createElement(M,{label:"Border"},wp.element.createElement($,{label:"Border",value:oe[o].border,onChange:function(e){return de({border:e},o)}}))),wp.element.createElement(j,{label:T("Border Width"),className:"border-width",beforeIcon:"move",value:oe[o].borderSize,onChange:function(e){return de({borderSize:e},o)},min:0,max:10}),wp.element.createElement(j,{label:T("Border Radius"),beforeIcon:"move",value:oe[o].borderRadius,onChange:function(e){return de({borderRadius:e},o)},min:0,max:100})),wp.element.createElement(V,{title:T("Box Shadow"),initialOpen:!1},wp.element.createElement(G,{label:"Box Shadow",checked:oe[o].boxShadow,onChange:function(e){return de({boxShadow:!oe[o].boxShadow},o)}}),oe[o].boxShadow&&wp.element.createElement(te,null,wp.element.createElement(N,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(L,{isDefault:!0,isLarge:!0,isPrimary:!l,onClick:function(){return g({hover:!1})}},T("Normal")),wp.element.createElement(L,{isDefault:!0,isLarge:!0,isPrimary:l,onClick:function(){return g({hover:!0})}},T("Hover"))),!l&&wp.element.createElement(te,null,wp.element.createElement(M,{label:"Shadow Color"},wp.element.createElement($,{label:"Shadow Color",value:oe[o].boxShadowColor,onChange:function(e){return de({boxShadowColor:e},o)}})),wp.element.createElement(m.a,{label:"Shadow Properties"},wp.element.createElement(j,{label:T("Opacity"),value:oe[o].boxShadowColorOpacity,onChange:function(e){return de({boxShadowColorOpacity:e},o)},min:0,max:100}),wp.element.createElement(j,{label:T("Blur"),value:oe[o].boxShadowBlur,onChange:function(e){return de({boxShadowBlur:e},o)},min:0,max:100}),wp.element.createElement(j,{label:T("Spread"),value:oe[o].boxShadowSpread,onChange:function(e){return de({boxShadowSpread:e},o)},min:-100,max:100}),wp.element.createElement(j,{label:T("Horizontal"),value:oe[o].boxShadowHorizontal,onChange:function(e){return de({boxShadowHorizontal:e},o)},min:-100,max:100}),wp.element.createElement(j,{label:T("Vertical"),value:oe[o].boxShadowVertical,onChange:function(e){return de({boxShadowVertical:e},o)},min:-100,max:100})))||l&&wp.element.createElement(te,null,wp.element.createElement(M,{label:"Hover Shadow Color"},wp.element.createElement($,{label:"Hover Shadow Color",value:oe[o].hoverBoxShadowColor,onChange:function(e){return de({hoverBoxShadowColor:e},o)}})),wp.element.createElement(m.a,{label:"Hover Shadow Properties"},wp.element.createElement(j,{label:T("Opacity"),value:oe[o].hoverBoxShadowColorOpacity,onChange:function(e){return de({hoverBoxShadowColorOpacity:e},o)},min:0,max:100}),wp.element.createElement(j,{label:T("Blur"),value:oe[o].hoverBoxShadowBlur,onChange:function(e){return de({hoverBoxShadowBlur:e},o)},min:0,max:100}),wp.element.createElement(j,{label:T("Spread"),value:oe[o].hoverBoxShadowSpread,onChange:function(e){return de({hoverBoxShadowSpread:e},o)},min:-100,max:100}),wp.element.createElement(j,{label:T("Horizontal"),value:oe[o].hoverBoxShadowHorizontal,onChange:function(e){return de({hoverBoxShadowHorizontal:e},o)},min:-100,max:100}),wp.element.createElement(j,{label:T("Vertical"),value:oe[o].hoverBoxShadowVertical,onChange:function(e){return de({hoverBoxShadowVertical:e},o)},min:-100,max:100}))))),wp.element.createElement(V,{title:T("Icon Settings"),initialOpen:!1},wp.element.createElement(F,{label:T("Icon Position"),value:oe[o].iconType,options:[{label:"No Icon",value:"none"},{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Icon Only",value:"only"}],onChange:function(e){return de({iconType:e},o)}}),"none"!==oe[o].iconType&&wp.element.createElement(te,null,wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(H,null,wp.element.createElement(D,null))},wp.element.createElement(ne,{label:T("Icon Picker"),prefix:oe[o].prefix,icon:oe[o].icon,onChange:function(e){"object"===k(e)?de({icon:e.name,prefix:e.prefix},o):de({icon:e},o)}})))),wp.element.createElement(V,{title:T("Padding"),initialOpen:!1},wp.element.createElement(b.a,{label:T("Padding"),min:0,max:100,onChange:function(e,t){return function(e,t,n){"top"!==e&&"bottom"!==e||de({paddingTopBottom:t},n),"left"!==e&&"right"!==e||de({paddingLeftRight:t},n)}(e,t,o)},options:[{label:T("Top"),type:"top",value:oe[o].paddingTopBottom},{label:T("Right"),type:"right",value:oe[o].paddingLeftRight},{label:T("Bottom"),type:"bottom",value:oe[o].paddingTopBottom},{label:T("Left"),type:"left",value:oe[o].paddingLeftRight}]}))))||"group"===n&&wp.element.createElement(te,null,wp.element.createElement(V,{title:T("Spacing")},wp.element.createElement(j,{label:T("Spacing"),value:E,onChange:function(e){h.setAttributes({spacing:e})},min:0,max:50}),wp.element.createElement(F,{label:T("Collapse On"),value:B,options:[{label:"None",value:"collapse-none"},{label:"Desktop",value:"collapse-desktop"},{label:"Tablet",value:"collapse-tablet"},{label:"Mobile",value:"collapse-mobile"}],onChange:function(e){h.setAttributes({collapse:e})}})),wp.element.createElement(V,{title:T("Typography Settings"),initialOpen:!1},wp.element.createElement(j,{label:T("Font Size"),value:O,onChange:ie,min:0,max:50}),wp.element.createElement(u.a,(x(t={label:T("Font Family"),value:Z,onChangeFontFamily:ce,valueVariant:U,onChangeFontVariant:se,valueStyle:q,onChangeFontStyle:pe},"valueStyle",q),x(t,"onChangeFontStyle",pe),x(t,"valueTransform",K),x(t,"onChangeTextTransform",ue),t)),wp.element.createElement(j,{label:T("Line Height"),value:Q,onChange:me,min:0,max:200})))),wp.element.createElement("div",{id:y,className:a()(h.className,ge),style:{justifyContent:v,alignItems:v||"flex-start"}},S(w,(function(e){return function(e){var t={};oe[e].boxShadow&&(t={boxShadow:"".concat(oe[e].boxShadowHorizontal,"px ").concat(oe[e].boxShadowVertical,"px ").concat(oe[e].boxShadowBlur,"px ").concat(oe[e].boxShadowSpread,"px ").concat(r()(oe[e].boxShadowColor?oe[e].boxShadowColor:"#000000",oe[e].boxShadowColorOpacity))});var n=C({},be,{color:oe[e].color,background:oe[e].background,border:"".concat(oe[e].borderSize,"px solid ").concat(oe[e].border),borderRadius:"".concat(oe[e].borderRadius,"px")},t,{padding:"".concat(oe[e].paddingTopBottom,"px ").concat(oe[e].paddingLeftRight,"px "),marginLeft:0===e?"0px":"".concat(E/2,"px"),marginRight:w===e+1?"0px":"".concat(E/2,"px")});return wp.element.createElement(te,null,wp.element.createElement("style",null,"#".concat(y," .wp-block-themeisle-blocks-button-").concat(e,":hover {\n\t\t\t\t\t\t\tcolor: ").concat(oe[e].hoverColor?oe[e].hoverColor:oe[e].color," !important;\n\t\t\t\t\t\t\tbackground: ").concat(oe[e].hoverBackground?oe[e].hoverBackground:oe[e].background," !important;\n\t\t\t\t\t\t\tborder: ").concat(oe[e].borderSize,"px solid ").concat(oe[e].hoverBorder?oe[e].hoverBorder:oe[e].border," !important;\n\t\t\t\t\t\t\t").concat(oe[e].boxShadow&&"box-shadow: ".concat(oe[e].hoverBoxShadowHorizontal,"px ").concat(oe[e].hoverBoxShadowVertical,"px ").concat(oe[e].hoverBoxShadowBlur,"px ").concat(oe[e].hoverBoxShadowSpread,"px ").concat(r()(oe[e].hoverBoxShadowColor?oe[e].hoverBoxShadowColor:"#000000",oe[e].hoverBoxShadowColorOpacity)," !important;"),"\n\t\t\t\t\t\t}")),wp.element.createElement("div",{style:n,className:a()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),onClick:function(){return le(e)}},("left"===oe[e].iconType||"only"===oe[e].iconType)&&wp.element.createElement("i",{className:a()(oe[e].prefix,"fa-fw","fa-".concat(oe[e].icon),{"margin-right":"left"===oe[e].iconType})}),"only"!==oe[e].iconType&&wp.element.createElement(ee,{placeholder:T("Add text…"),value:oe[e].text,"aria-label":Object(p.b)(oe[e].text),onChange:function(t){return de({text:t},e)},formattingControls:["bold","italic","strikethrough"],allowedFormats:["core/bold","core/italic","core/strikethrough"],tagName:"div",keepPlaceholderOnFocus:!0}),"right"===oe[e].iconType&&wp.element.createElement("i",{className:"".concat(oe[e].prefix," fa-fw fa-").concat(oe[e].icon," margin-left")})))}(e)})),h.isSelected&&4>=w&&wp.element.createElement(z,{className:"wp-block-themeisle-blocks-button-inserter",icon:"plus-alt",onClick:function(){return re(w+1)},label:T("Add Button")})))})),save:function(e){var t=e.attributes,n=t.id,o=t.buttons,l=t.align,r=t.collapse,i=t.fontSize,c=t.fontFamily,s=t.fontStyle,p=t.fontVariant,u=t.textTransform,m=t.lineHeight,d=t.data,b={fontSize:"".concat(i,"px"),fontFamily:c,fontWeight:p,fontStyle:s,textTransform:u,lineHeight:m&&"".concat(m,"px")},g="collapse-none"!==r?r:"";return wp.element.createElement("div",{id:n,className:a()(e.className,g),style:{justifyContent:l,alignItems:l||"flex-start"}},S(o,(function(e){return function(e){var t=C({},b,{borderWidth:"".concat(d[e].borderSize,"px"),borderRadius:"".concat(d[e].borderRadius,"px"),padding:"".concat(d[e].paddingTopBottom,"px ").concat(d[e].paddingLeftRight,"px ")});return wp.element.createElement(te,null,wp.element.createElement("a",{href:d[e].link,target:d[e].newTab?"_blank":"_self",className:a()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:t,rel:"noopener noreferrer"},("left"===d[e].iconType||"only"===d[e].iconType)&&wp.element.createElement("i",{className:a()(d[e].prefix,"fa-fw","fa-".concat(d[e].icon),{"margin-right":"left"===d[e].iconType})}),"only"!==d[e].iconType&&wp.element.createElement(ee.Content,{tagName:"span",value:d[e].text}),"right"===d[e].iconType&&wp.element.createElement("i",{className:"".concat(d[e].prefix," fa-fw fa-").concat(d[e].icon," margin-left")})))}(e)})))}})},function(e,t,n){"use strict";n.r(t);n(42);var o=n(2);n(43);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 l(e,t,n,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp.i18n.__,u=wp.apiFetch,m=wp.components,d=m.BaseControl,b=m.CheckboxControl,g=m.Modal,h=wp.element,f=h.Component,y=h.Fragment,w=wp.editPost.PluginMoreMenuItem,v=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=i(t).apply(this,arguments))||"object"!==a(o)&&"function"!=typeof o?c(n):o).changeOptions=e.changeOptions.bind(c(e)),e.settings,e.state={canUser:!1,isAPILoaded:!1,isDefault:!1,isOpen:!1},e}var n,o,m,h,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(h=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u({path:"wp/v2/users/me?context=edit"});case 2:if(!e.sent.capabilities.manage_options){e.next=8;break}return this.setState({canUser:!0}),e.next=7,wp.api.loadPromise.then((function(){t.settings=new wp.api.models.Settings}));case 7:!1===this.state.isAPILoaded&&this.settings.fetch().then((function(e){t.setState({isDefault:Boolean(e.themeisle_blocks_settings_default_block),isAPILoaded:!0})}));case 8:case"end":return e.stop()}}),e,this)})),f=function(){var e=this,t=arguments;return new Promise((function(n,o){var a=h.apply(e,t);function r(e){l(a,n,o,r,i,"next",e)}function i(e){l(a,n,o,r,i,"throw",e)}r(void 0)}))},function(){return f.apply(this,arguments)})},{key:"changeOptions",value:function(){var e=this,t=new wp.api.models.Settings({themeisle_blocks_settings_default_block:!Boolean(this.state.isDefault)}).save();t.success((function(t,n){"success"===n&&(e.settings.fetch(),e.setState({isDefault:Boolean(t.themeisle_blocks_settings_default_block)})),"error"===n&&console.log(t),e.settings.fetch()})),t.error((function(e,t){console.log(e)}))}},{key:"render",value:function(){var e=this;return wp.element.createElement(y,null,this.state.canUser&&void 0!==w&&wp.element.createElement(w,{onClick:function(){return e.setState({isOpen:!0})}},p("Otter Options")),this.state.isOpen&&wp.element.createElement(g,{title:p("Otter Options"),overlayClassName:"wp-block-themeisle-blocks-options",onRequestClose:function(){return e.setState({isOpen:!1})}},wp.element.createElement(d,null,wp.element.createElement(b,{label:p("Make Section block your default block for Pages?"),checked:this.state.isDefault,onChange:this.changeOptions}))))}}])&&r(n.prototype,o),m&&r(n,m),t}(f),k=(n(44),wp.components.Icon),E=wp.element.Fragment;(0,wp.plugins.registerPlugin)("themeisle-blocks",{icon:wp.element.createElement(k,{icon:o.l}),render:function(){return wp.element.createElement(E,null,wp.element.createElement(v,null))}})}]);
1
+ !function(e){function t(t){for(var o,r,i=t[0],c=t[1],s=t[2],u=0,m=[];u<i.length;u++)r=i[u],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&m.push(a[r][0]),a[r]=0;for(o in c)Object.prototype.hasOwnProperty.call(c,o)&&(e[o]=c[o]);for(p&&p(t);m.length;)m.shift()();return l.push.apply(l,s||[]),n()}function n(){for(var e,t=0;t<l.length;t++){for(var n=l[t],o=!0,i=1;i<n.length;i++){var c=n[i];0!==a[c]&&(o=!1)}o&&(l.splice(t--,1),e=r(r.s=n[0]))}return e}var o={},a={2:0},l=[];function r(t){if(o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var t=[],n=a[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,o){n=a[e]=[t,o]}));t.push(n[2]=o);var l,i=document.createElement("script");i.charset="utf-8",i.timeout=120,r.nc&&i.setAttribute("nonce",r.nc),i.src=function(e){return r.p+"chunk-"+({}[e]||e)+".js"}(e);var c=new Error;l=function(t){i.onerror=i.onload=null,clearTimeout(s);var n=a[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),l=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+o+": "+l+")",c.name="ChunkLoadError",c.type=o,c.request=l,n[1](c)}a[e]=void 0}};var s=setTimeout((function(){l({type:"timeout",target:i})}),12e4);i.onerror=i.onload=l,document.head.appendChild(i)}return Promise.all(t)},r.m=e,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var i=window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var p=c;l.push([39,0]),n()}([,,function(e,t,n){"use strict";n.d(t,"l",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return p})),n.d(t,"h",(function(){return u})),n.d(t,"g",(function(){return m})),n.d(t,"q",(function(){return d})),n.d(t,"i",(function(){return b})),n.d(t,"n",(function(){return g})),n.d(t,"m",(function(){return h})),n.d(t,"p",(function(){return f})),n.d(t,"o",(function(){return w})),n.d(t,"r",(function(){return y})),n.d(t,"b",(function(){return v})),n.d(t,"s",(function(){return k})),n.d(t,"j",(function(){return E})),n.d(t,"c",(function(){return C})),n.d(t,"k",(function(){return x}));var o=wp.components,a=o.Path,l=o.SVG,r=function(){return wp.element.createElement(l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 32",width:"20",height:"20",className:"otter-icon"},wp.element.createElement(a,{d:"M19.831 7.877c0.001-0.003 0.001-0.005 0.001-0.009s-0-0.006-0.001-0.009l0 0c-0.047-0.081-0.092-0.164-0.132-0.247l-0.057-0.115c-0.277-0.498-0.381-0.99-1.033-1.064h-0.045c-0.001 0-0.002 0-0.003 0-0.486 0-0.883 0.382-0.908 0.862l-0 0.002c0.674 0.126 1.252 0.278 1.813 0.468l-0.092-0.027 0.283 0.096 0.147 0.053s0.028 0 0.028-0.011z"}),wp.element.createElement(a,{d:"M23.982 13.574c-0.008-2.41-0.14-4.778-0.39-7.112l0.026 0.299 0.070-0.019c0.459-0.139 0.787-0.558 0.787-1.053 0-0.479-0.307-0.887-0.735-1.037l-0.008-0.002h-0.026c-0.479-0.164-0.874-0.468-1.149-0.861l-0.005-0.007c-2.7-3.96-8.252-3.781-8.252-3.781s-5.55-0.179-8.25 3.781c-0.28 0.401-0.676 0.704-1.14 0.862l-0.016 0.005c-0.441 0.148-0.754 0.557-0.754 1.040 0 0.009 0 0.017 0 0.026l-0-0.001c-0 0.010-0.001 0.022-0.001 0.034 0 0.493 0.335 0.907 0.789 1.029l0.007 0.002 0.045 0.011c-0.224 2.034-0.356 4.403-0.364 6.801l-0 0.012s-9.493 13.012-1.277 17.515c4.733 2.431 6.881-0.769 6.881-0.769s1.397-1.661-1.784-3.355v-4.609c0.006-0.344 0.282-0.621 0.625-0.628h1.212v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.274 0.001 0.496 0.224 0.496 0.498 0 0 0 0 0 0v0 0.59h2.721v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.271 0.005 0.49 0.226 0.49 0.498 0 0 0 0 0 0v0 0.59h1.209c0 0 0 0 0 0 0.349 0 0.633 0.28 0.639 0.627v4.584c-3.193 1.703-1.784 3.355-1.784 3.355s2.148 3.193 6.879 0.769c8.222-4.503-1.269-17.515-1.269-17.515zM22.586 10.261c-0.097 1.461-0.67 2.772-1.563 3.797l0.007-0.008c-1.703 2.010-4.407 3.249-6.721 4.432v0c-2.325-1.177-5.026-2.416-6.736-4.432-0.883-1.019-1.455-2.329-1.555-3.769l-0.001-0.020c-0.126-2.22 0.583-5.929 3.044-6.74 2.416-0.788 3.947 1.288 4.494 2.227 0.152 0.258 0.429 0.428 0.745 0.428s0.593-0.17 0.743-0.424l0.002-0.004c0.551-0.932 2.080-3.008 4.494-2.22 2.474 0.805 3.174 4.513 3.046 6.734z"}),wp.element.createElement(a,{d:"M19.463 10.087h-0.028c-0.192 0.026-0.121 0.251-0.047 0.356 0.254 0.349 0.407 0.787 0.407 1.26 0 0.006-0 0.012-0 0.018v-0.001c-0.001 0.469-0.255 0.878-0.633 1.1l-0.006 0.003c-0.739 0.426-1.377-0.145-2.054-0.398-0.72-0.269-1.552-0.434-2.42-0.455l-0.009-0v-1.033c1.020-0.233 1.894-0.76 2.551-1.486l0.004-0.004c0.151-0.163 0.244-0.383 0.244-0.623 0-0.316-0.159-0.595-0.402-0.76l-0.003-0.002c-0.768-0.551-1.728-0.881-2.764-0.881-1.054 0-2.029 0.341-2.819 0.92l0.013-0.009c-0.224 0.166-0.367 0.429-0.367 0.726 0 0.226 0.083 0.433 0.221 0.591l-0.001-0.001c0.665 0.751 1.55 1.295 2.553 1.53l0.033 0.007v1.050c-0.742 0.021-1.448 0.14-2.118 0.343l0.057-0.015c-0.341 0.103-0.631 0.219-0.908 0.358l0.033-0.015c-0.519 0.26-1.037 0.436-1.58 0.121-0.371-0.213-0.617-0.607-0.617-1.058 0-0.002 0-0.004 0-0.007v0c0-0.002 0-0.004 0-0.007 0-0.47 0.153-0.905 0.411-1.257l-0.004 0.006c0.047-0.068 0.089-0.17 0.026-0.241s-0.189 0-0.27 0.030c-0.189 0.099-0.348 0.227-0.479 0.381l-0.002 0.002c-0.245 0.296-0.394 0.679-0.394 1.097 0 0.004 0 0.007 0 0.011v-0.001c0.008 0.706 0.393 1.321 0.964 1.651l0.009 0.005c0.296 0.178 0.654 0.283 1.036 0.283 0.364 0 0.706-0.095 1.001-0.263l-0.010 0.005c0.877-0.461 1.917-0.731 3.019-0.731 0.069 0 0.137 0.001 0.206 0.003l-0.010-0h0.030c1.277 0 2.382 0.266 3.266 0.775 0.27 0.159 0.594 0.253 0.94 0.253 0.001 0 0.002 0 0.003 0h-0c0.355-0.002 0.688-0.098 0.974-0.265l-0.009 0.005c0.606-0.357 1.007-1.007 1.007-1.75 0-0.001 0-0.003 0-0.004v0c0.001-0.026 0.002-0.056 0.002-0.086 0-0.625-0.34-1.171-0.846-1.462l-0.008-0.004c-0.056-0.040-0.125-0.065-0.199-0.070l-0.001-0zM13.101 8.831c-0.238 0.213-0.468 0.581-0.832 0.345-0.061-0.041-0.114-0.086-0.161-0.136l-0-0c-0.063-0.063-0.101-0.15-0.101-0.247 0-0.133 0.074-0.248 0.182-0.308l0.002-0.001c0.594-0.309 1.203-0.543 1.884-0.49-0.324 0.281-0.649 0.56-0.973 0.837z"}),wp.element.createElement(a,{d:"M15.89 13.578c-0.367 0.483-0.941 0.792-1.588 0.792s-1.221-0.309-1.585-0.787l-0.004-0.005c-0.064-0.103-0.177-0.171-0.306-0.171-0.199 0-0.36 0.161-0.36 0.36 0 0.091 0.034 0.174 0.090 0.238l-0-0c0.499 0.659 1.283 1.080 2.164 1.080s1.665-0.421 2.159-1.073l0.005-0.007c0.043-0.059 0.068-0.132 0.068-0.212 0-0.116-0.055-0.22-0.14-0.286l-0.001-0.001c-0.059-0.045-0.134-0.072-0.215-0.072-0.117 0-0.221 0.056-0.286 0.143l-0.001 0.001z"}),wp.element.createElement(a,{d:"M18.507 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(a,{d:"M17.389 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(a,{d:"M10.798 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(a,{d:"M11.918 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(a,{d:"M8.773 7.877c-0.001-0.003-0.002-0.005-0.002-0.009s0.001-0.006 0.002-0.009l-0 0c0.047-0.081 0.089-0.164 0.132-0.247 0.019-0.038 0.036-0.079 0.057-0.115 0.275-0.498 0.379-0.99 1.033-1.064h0.045c0 0 0.001 0 0.001 0 0.487 0 0.884 0.382 0.91 0.862l0 0.002c-0.678 0.124-1.261 0.277-1.827 0.468l0.092-0.027-0.275 0.096-0.1 0.036-0.045 0.017s-0.023 0-0.023-0.011z"}))},i=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.348 20.657v-0.135c1.029-0.471 1.758-1.446 1.916-2.563 0.434-0.157 0.739-0.576 0.739-1.051 0-0.408-0.221-0.774-0.562-0.969 0.036-0.111 0.065-0.223 0.087-0.335 0.182-0.901-0.025-1.822-0.583-2.592-0.548-0.758-1.373-1.281-2.321-1.473-0.255-0.051-0.515-0.077-0.773-0.077-0.813 0-1.607 0.262-2.234 0.739-0.646 0.49-1.088 1.187-1.244 1.962-0.118 0.587-0.070 1.193 0.139 1.762-0.355 0.191-0.59 0.566-0.59 0.985 0 0.481 0.31 0.901 0.751 1.055 0.163 1.144 0.916 2.128 1.978 2.587v0.106c-2.207 0.5-3.729 2.151-3.729 4.079v0.515h10.153v-0.515c0-1.929-1.522-3.58-3.729-4.080zM15.853 12.492c0.189 0 0.381 0.019 0.569 0.057 0.693 0.14 1.293 0.519 1.689 1.066 0.369 0.511 0.518 1.111 0.423 1.701-0.507-0.237-1.173-0.487-1.874-0.583-1.318-0.18-1.339-0.241-1.417-0.469l-0.252-0.728-0.579 0.512c-0.062 0.054-0.528 0.464-1.066 0.91-0.015-0.198-0.002-0.396 0.037-0.593 0.219-1.086 1.257-1.873 2.469-1.873zM13.67 16.025c0.361-0.292 0.718-0.594 0.977-0.816 0.358 0.323 0.916 0.414 1.874 0.545 0.65 0.089 1.287 0.349 1.748 0.578v1.161c0 1.268-1.031 2.299-2.299 2.299s-2.299-1.031-2.299-2.299v-1.468zM15.682 20.81c0.213 0.019 0.425 0.017 0.635-0.006v0.318l-0.318 0.177-0.317-0.176v-0.313zM12.006 24.22c0.237-1.154 1.25-2.113 2.646-2.501v0.010l1.346 0.748 1.35-0.748v-0.010c1.396 0.388 2.409 1.348 2.646 2.502l-7.987-0zM21.076 27.499h-10.153c-0.307 0-0.556-0.249-0.556-0.556s0.249-0.556 0.556-0.556h10.153c0.307 0 0.556 0.249 0.556 0.556s-0.249 0.556-0.556 0.556zM28.112 3.393h-9.422v-1.689c0-0.832-0.677-1.509-1.509-1.509h-2.363c-0.832 0-1.509 0.677-1.509 1.509v1.689h-9.422c-0.832 0-1.509 0.677-1.509 1.509v25.395c0 0.832 0.677 1.509 1.509 1.509h24.225c0.832 0 1.509-0.677 1.509-1.509v-25.395c-0-0.832-0.677-1.509-1.509-1.509zM14.421 1.703c0-0.219 0.178-0.397 0.397-0.397h2.363c0.219 0 0.397 0.178 0.397 0.397v5.083c0 0.219-0.178 0.397-0.397 0.397h-2.363c-0.219 0-0.397-0.178-0.397-0.397v-5.083zM28.509 30.297c0 0.219-0.178 0.397-0.397 0.397h-24.225c-0.219 0-0.397-0.178-0.397-0.397v-25.395c0-0.219 0.178-0.397 0.397-0.397h9.422v2.282c0 0.832 0.677 1.509 1.509 1.509h2.363c0.832 0 1.509-0.677 1.509-1.509v-2.282h9.422c0.219 0 0.397 0.178 0.397 0.397v25.395z"}))},c=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M30.457 11.777h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 18.886c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 15.523h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 23.388h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 30.497c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 27.134h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 0h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c0-0.829-0.674-1.503-1.503-1.503zM30.84 7.109c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM5.62 4.306c0 0.525-0.425 0.95-0.95 0.95s-0.95-0.425-0.95-0.95c0-0.525 0.425-0.95 0.95-0.95s0.95 0.425 0.95 0.95zM7.947 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 3.746h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56z"}))},s=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M30.584 0.099h-29.068c-0.781 0-1.417 0.635-1.417 1.416v29.068c0 0.781 0.635 1.416 1.417 1.416h29.068c0.781 0 1.416-0.635 1.416-1.416v-29.068c0-0.781-0.635-1.416-1.416-1.416zM1.515 1.219h29.068c0.163 0 0.296 0.133 0.296 0.296v3.476h-29.661v-3.476c0-0.163 0.133-0.296 0.296-0.296zM30.584 30.88h-29.068c-0.163 0-0.296-0.133-0.296-0.296v-24.472h29.661v24.472c0 0.163-0.133 0.296-0.296 0.296zM26.999 20.461h-21.062c-0.838 0-1.52 0.682-1.52 1.52v5.601c0 0.838 0.682 1.52 1.52 1.52h21.062c0.838 0 1.52-0.682 1.52-1.52v-5.601c0-0.838-0.682-1.52-1.52-1.52zM27.399 27.582c0 0.221-0.18 0.4-0.4 0.4h-21.062c-0.221 0-0.4-0.18-0.4-0.4v-5.601c0-0.221 0.179-0.4 0.4-0.4h21.062c0.221 0 0.4 0.179 0.4 0.4v5.601zM5.937 16.247h5.432c0.838 0 1.52-0.682 1.52-1.52v-5.432c0-0.838-0.682-1.52-1.52-1.52h-5.432c-0.838 0-1.52 0.682-1.52 1.52v5.432c0 0.838 0.682 1.52 1.52 1.52zM5.537 9.294c0-0.221 0.179-0.4 0.4-0.4h5.432c0.221 0 0.4 0.179 0.4 0.4v5.432c0 0.221-0.18 0.4-0.4 0.4h-5.432c-0.221 0-0.4-0.18-0.4-0.4v-5.432zM27.959 17.714h-22.982c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h22.982c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 14.793h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 11.433h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 8.072h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM4.543 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM7.384 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM10.224 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9z"}))},p=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M31.276 3.351h-14.587l-3.23-3.028c-0.103-0.097-0.239-0.15-0.38-0.15h-12.354c-0.307 0-0.556 0.249-0.556 0.556v30.697c0 0.307 0.249 0.556 0.556 0.556h30.551c0.307 0 0.556-0.249 0.556-0.556v-27.518c0-0.307-0.249-0.556-0.556-0.556zM1.281 1.286h11.578l3.23 3.028c0.103 0.097 0.239 0.15 0.38 0.15h14.25v3.013h-29.439v-6.191zM30.719 30.87h-29.439v-22.281h29.439v22.281z"}))},u=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M30.958 13.988h-0.64c-0.572-5.298-4.029-9.744-8.764-11.73h5.439v0.555c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.229c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.229c0.309 0 0.559-0.25 0.559-0.559v-0.555h5.439c-4.735 1.987-8.191 6.432-8.764 11.73h-0.64c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-0.464c0.709-6.044 5.49-10.86 11.518-11.621v0.446c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-0.446c6.028 0.761 10.809 5.578 11.518 11.621h-0.464c-0.309 0-0.559 0.25-0.559 0.559v2.23c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559zM29.223 2.253h-1.111v-1.111h1.111v1.111zM2.777 1.142h1.111v1.111h-1.111v-1.111zM2.712 15.608v0.609h-1.111v-0.973c0.001-0.046 0.002-0.092 0.003-0.138h1.108v0.501zM16 1.142c0.186 0 0.371 0.005 0.555 0.012v1.099h-1.111v-1.099c0.184-0.007 0.37-0.012 0.556-0.012zM30.399 15.25v0.967h-1.111v-1.111h1.107c0.002 0.048 0.003 0.096 0.004 0.144zM16.512 4.461c-0.089-0.204-0.29-0.336-0.513-0.336s-0.424 0.132-0.513 0.336l-7.287 16.694c-0.058 0.134-0.062 0.285-0.011 0.421l0.009 0.023c0.059 0.157 0.186 0.279 0.345 0.333 1.743 0.585 2.914 2.213 2.914 4.052 0 0.766-0.206 1.518-0.595 2.175-0.012 0.020-0.022 0.041-0.032 0.063-0.063 0.091-0.101 0.201-0.101 0.32v2.832c0 0.307 0.248 0.557 0.555 0.559l9.42 0.068c0.001 0 0.003 0 0.004 0 0.307 0 0.557-0.248 0.559-0.555 0.002-0.309-0.246-0.561-0.555-0.563l-8.865-0.064v-1.405h8.654c0.234 0 0.443-0.145 0.524-0.364l0.153-0.41c0.059-0.158 0.043-0.335-0.043-0.48-0.389-0.657-0.595-1.409-0.595-2.174 0-1.838 1.171-3.467 2.914-4.052 0.16-0.054 0.287-0.176 0.346-0.334l0.009-0.023c0.051-0.136 0.047-0.287-0.011-0.42l-7.287-16.694zM16 20.028c0.619 0 1.122 0.503 1.122 1.122s-0.504 1.122-1.122 1.122c-0.619 0-1.122-0.503-1.122-1.122s0.503-1.122 1.122-1.122zM19.424 25.983c0 0.802 0.179 1.591 0.52 2.31h-7.887c0.341-0.719 0.52-1.509 0.52-2.31 0-2.121-1.235-4.020-3.127-4.894l5.991-13.726v11.616c-0.966 0.249-1.682 1.128-1.682 2.17 0 1.236 1.005 2.241 2.241 2.241s2.241-1.005 2.241-2.241c0-1.043-0.716-1.921-1.682-2.17v-11.616l5.991 13.726c-1.892 0.874-3.127 2.773-3.127 4.894z"}))},m=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M30.424 0.171h-28.847c-0.775 0-1.406 0.631-1.406 1.406v28.848c0 0.775 0.631 1.406 1.406 1.406h28.847c0.775 0 1.406-0.631 1.406-1.406v-28.848c0-0.775-0.631-1.406-1.406-1.406zM1.576 1.282h28.847c0.162 0 0.294 0.132 0.294 0.294v3.45h-29.435v-3.45c0-0.162 0.132-0.294 0.294-0.294zM30.424 30.718h-28.847c-0.162 0-0.294-0.132-0.294-0.294v-24.286h29.435v24.286c0 0.162-0.132 0.294-0.294 0.294zM3.688 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM6.507 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM9.326 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM20.662 19.394l3.855-3.758c0.152-0.148 0.206-0.369 0.141-0.57s-0.239-0.348-0.449-0.378l-5.328-0.774-2.383-4.828c-0.094-0.19-0.287-0.31-0.498-0.31s-0.405 0.12-0.498 0.31l-2.383 4.828-5.328 0.774c-0.209 0.030-0.383 0.177-0.449 0.378s-0.011 0.422 0.141 0.57l3.855 3.758-0.91 5.307c-0.036 0.209 0.050 0.419 0.221 0.544s0.398 0.141 0.585 0.042l4.766-2.506 4.766 2.506c0.081 0.043 0.17 0.064 0.259 0.064 0.115 0 0.23-0.036 0.327-0.106 0.171-0.124 0.257-0.335 0.221-0.544l-0.91-5.307zM16.259 21.661c-0.162-0.085-0.355-0.085-0.517 0l-4.027 2.117 0.769-4.485c0.031-0.18-0.029-0.364-0.16-0.492l-3.258-3.176 4.503-0.654c0.181-0.026 0.338-0.14 0.418-0.304l2.014-4.080 2.014 4.080c0.081 0.164 0.238 0.278 0.419 0.304l4.503 0.654-3.258 3.176c-0.131 0.128-0.191 0.312-0.16 0.492l0.769 4.485-4.027-2.117zM16 25.179c-0.307 0-0.556 0.249-0.556 0.556v1.887c0 0.307 0.249 0.556 0.556 0.556s0.556-0.249 0.556-0.556v-1.887c0-0.307-0.249-0.556-0.556-0.556zM25.319 20.446l-1.794-0.583c-0.293-0.095-0.606 0.065-0.7 0.357s0.065 0.606 0.357 0.7l1.794 0.583c0.057 0.019 0.115 0.027 0.172 0.027 0.234 0 0.452-0.149 0.529-0.384 0.095-0.292-0.065-0.606-0.357-0.7zM20.218 12.197c0.099 0.072 0.213 0.106 0.326 0.106 0.172 0 0.341-0.079 0.45-0.229l1.109-1.526c0.18-0.248 0.125-0.596-0.123-0.776s-0.596-0.125-0.776 0.123l-1.109 1.526c-0.18 0.248-0.125 0.596 0.123 0.776zM11.006 12.075c0.109 0.15 0.278 0.229 0.45 0.229 0.113 0 0.228-0.034 0.326-0.106 0.248-0.18 0.303-0.528 0.123-0.776l-1.109-1.526c-0.18-0.248-0.528-0.303-0.776-0.123s-0.303 0.528-0.123 0.776l1.109 1.526zM8.475 19.863l-1.794 0.583c-0.292 0.095-0.452 0.408-0.357 0.7 0.076 0.235 0.294 0.384 0.529 0.384 0.057 0 0.115-0.009 0.172-0.027l1.794-0.583c0.292-0.095 0.452-0.408 0.357-0.7s-0.408-0.452-0.7-0.357z"}))},d=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M6.348 13.197c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.803-2.873-2.769-2.873zM25.842 3.161c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557zM25.742 22.433c-0.826 0-1.641 0.22-2.359 0.636-0.567 0.328-1.040 0.758-1.41 1.252l-11.344-6.569c0.069-0.174 0.13-0.353 0.179-0.537 0.276-1.036 0.194-2.11-0.226-3.079l11.319-6.555c0.878 1.235 2.316 1.986 3.848 1.986 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353-0.826 0-1.641 0.22-2.359 0.636-2.051 1.188-2.872 3.694-2.015 5.833l-11.344 6.569c-0.884-1.176-2.285-1.888-3.776-1.888-0.825 0-1.641 0.22-2.359 0.636-2.25 1.303-3.021 4.194-1.718 6.444 0.841 1.452 2.406 2.353 4.085 2.353 0.826 0 1.641-0.22 2.359-0.636 0.595-0.345 1.097-0.805 1.483-1.35l11.319 6.554c-0.567 1.323-0.526 2.888 0.249 4.227 0.841 1.452 2.406 2.353 4.085 2.353 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353zM23.941 1.734c0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.798-0.995-1.719-0.407-3.927 1.312-4.922zM8.056 19.117c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189zM29.226 28.077c-0.248 0.93-0.843 1.707-1.675 2.189-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.832 0.611 1.803 0.363 2.733zM25.842 24.346c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873z"}))},b=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M16 27.667l7.849-7.849c0.146-0.139 0.464-0.469 0.478-0.483l0.006-0.007c1.972-2.116 3.059-4.874 3.059-7.766 0-6.282-5.11-11.392-11.392-11.392s-11.392 5.11-11.392 11.392c0 2.893 1.086 5.651 3.058 7.766l8.334 8.339zM16 1.265c5.677 0 10.297 4.619 10.297 10.297 0 2.613-0.981 5.104-2.761 7.016-0.092 0.096-0.343 0.353-0.446 0.451l-7.089 7.089-7.539-7.543c-1.779-1.911-2.758-4.401-2.758-7.012 0-5.678 4.619-10.297 10.297-10.297zM17.755 4.005c1.966 0 5.792 2.149 5.792 6.090 0 0.303 0.245 0.548 0.548 0.548s0.548-0.245 0.548-0.548c0-2.051-0.906-3.953-2.552-5.354-1.306-1.112-3.008-1.831-4.335-1.831-0.302 0-0.548 0.245-0.548 0.548s0.245 0.548 0.548 0.548zM22.875 24.197c-0.427-0.174-0.886-0.33-1.371-0.467l-0.897 0.897c2.645 0.631 4.275 1.756 4.275 2.802 0 1.564-3.648 3.306-8.882 3.306s-8.882-1.742-8.882-3.306c0-1.045 1.631-2.171 4.275-2.802l-0.897-0.897c-0.485 0.137-0.944 0.293-1.371 0.467-2.001 0.818-3.102 1.966-3.102 3.232s1.102 2.415 3.102 3.232c1.845 0.754 4.287 1.169 6.875 1.169s5.030-0.415 6.875-1.169c2.001-0.818 3.102-1.966 3.102-3.232s-1.102-2.415-3.102-3.232zM16.032 16.804c-3.043 0-5.519-2.476-5.519-5.519s2.476-5.519 5.519-5.519c3.043 0 5.519 2.476 5.519 5.519s-2.476 5.519-5.519 5.519zM16.032 6.862c-2.439 0-4.423 1.984-4.423 4.423s1.984 4.423 4.423 4.423c2.439 0 4.423-1.984 4.423-4.423s-1.984-4.423-4.423-4.423z"}))},g=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M4.285 5.775c0.004 0 0.009 0.001 0.013 0.001h8.279c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-8.279c-0.307 0-0.556 0.249-0.556 0.556 0 0.302 0.242 0.548 0.542 0.555zM3.743 8.005c0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-13.679c-0.307 0-0.556 0.249-0.556 0.556zM17.977 10.236h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 13.022h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 15.807h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 18.593h-13.679c-0.307 0-0.556 0.249-0.556 0.555s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.555-0.556-0.555zM17.977 21.379h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 24.165h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM21.93 4.466l-4.277-3.87c-0.094-0.085-0.212-0.132-0.334-0.139h-15.831c-0.812 0-1.473 0.664-1.473 1.481v28.153c0 0.817 0.661 1.481 1.473 1.481h19.174c0.812 0 1.473-0.664 1.473-1.481v-25.222c-0.008-0.163-0.086-0.308-0.205-0.403zM17.833 2.238l2.331 2.109h-2.331v-2.109zM21.043 30.091c0 0.215-0.171 0.39-0.381 0.39h-19.174c-0.21 0-0.382-0.175-0.382-0.39v-28.153c0-0.215 0.171-0.39 0.382-0.39h15.251v3.348c0 0.303 0.245 0.549 0.547 0.549h3.758v24.647zM31.975 3.213c-0.125-1.57-1.442-2.809-3.044-2.809-0 0-0 0-0 0-0.816 0-1.583 0.318-2.16 0.895-0.519 0.519-0.827 1.191-0.884 1.915h-0.010v0.242c0 0.001-0 0.002-0 0.003s0 0.001 0 0.001l-0 24.342h0.003c0.010 0.096 0.045 0.191 0.108 0.273l2.509 3.305c0.103 0.136 0.264 0.216 0.435 0.216s0.331-0.080 0.435-0.216l2.508-3.305c0.063-0.083 0.098-0.177 0.108-0.274h0.003v-24.589h-0.011zM27.543 2.070c0.371-0.371 0.864-0.575 1.388-0.575h0c0.893 0 1.649 0.6 1.886 1.417h-3.772c0.091-0.315 0.26-0.604 0.498-0.842zM28.362 26.711l-1.394 0 0-22.406h3.926v22.406h-1.442l0-18.071-1.090 0 0 18.071zM28.931 30.148l-1.781-2.346 3.562-0-1.781 2.346z"}))},h=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M31.908 1.543c0-0.815-0.677-1.478-1.51-1.478h-28.731c-0.815 0-1.478 0.677-1.478 1.51v14.441c0 0.022 0.002 0.044 0.004 0.065-0.003 0.021-0.004 0.043-0.004 0.065v14.357c0 0.815 0.677 1.478 1.51 1.478h28.731c0.815 0 1.478-0.677 1.478-1.51v-14.441c0-0.022-0.002-0.044-0.004-0.065 0.003-0.021 0.004-0.043 0.004-0.065v-14.357zM30.792 1.543v13.799h-4.324c0.587-0.66 0.932-1.525 0.932-2.453 0-0.737-0.218-1.423-0.592-2-0.648-1.066-1.82-1.78-3.156-1.78-2.034 0-3.689 1.655-3.689 3.689 0 0.745 0.223 1.449 0.615 2.039 0.111 0.178 0.236 0.347 0.376 0.504h-4.372v-6.025c0-0.184-0.090-0.347-0.228-0.449-0.101-0.103-0.242-0.167-0.398-0.167h-0.173c-0.24 0-0.453 0.153-0.529 0.38-0.352 1.049-1.332 1.754-2.439 1.754-0.419 0-0.815-0.101-1.166-0.28-0.776-0.444-1.301-1.279-1.301-2.235 0-1.419 1.154-2.574 2.574-2.574 0.408 0 0.799 0.096 1.147 0.27 0.546 0.305 0.976 0.804 1.185 1.426 0.052 0.155 0.169 0.275 0.314 0.335 0.092 0.065 0.204 0.103 0.322 0.103h0.133c0.308 0 0.558-0.25 0.558-0.558v-6.142h13.816c0.217 0 0.394 0.162 0.394 0.362zM1.305 1.575c0-0.217 0.162-0.394 0.362-0.394h13.732v4.404c-0.239-0.216-0.505-0.401-0.793-0.549-0.536-0.297-1.148-0.464-1.791-0.464-2.034 0-3.689 1.655-3.689 3.689 0 1.423 0.81 2.659 1.992 3.274 0.534 0.301 1.149 0.473 1.804 0.473 0.939 0 1.813-0.354 2.476-0.955v4.404h-6.016c-0.308 0-0.558 0.25-0.558 0.558v0.173c0 0.127 0.043 0.245 0.117 0.34 0.065 0.129 0.178 0.231 0.321 0.279 0.562 0.189 1.023 0.558 1.332 1.030 0.232 0.39 0.364 0.842 0.364 1.318 0 1.419-1.154 2.574-2.574 2.574-0.894 0-1.682-0.458-2.144-1.151-0.236-0.389-0.372-0.844-0.372-1.331-0-1.107 0.705-2.087 1.754-2.44 0.227-0.076 0.38-0.289 0.38-0.529v-0.133c0-0.106-0.030-0.204-0.081-0.288-0.068-0.231-0.282-0.4-0.535-0.4h-6.084v-13.883zM1.305 30.505v-13.799h4.324c-0.587 0.66-0.932 1.525-0.932 2.453 0 0.737 0.218 1.424 0.592 2 0.647 1.066 1.82 1.78 3.156 1.78 2.034 0 3.689-1.655 3.689-3.689-0-0.745-0.223-1.449-0.615-2.040-0.111-0.178-0.236-0.347-0.376-0.504h4.372v6.025c0 0.184 0.090 0.347 0.228 0.449 0.101 0.103 0.242 0.167 0.398 0.167h0.173c0.24 0 0.453-0.153 0.529-0.38 0.352-1.049 1.332-1.754 2.439-1.754 0.419 0 0.815 0.101 1.165 0.28 0.776 0.444 1.301 1.279 1.301 2.236 0 1.419-1.154 2.574-2.574 2.574-0.408 0-0.799-0.096-1.147-0.27-0.546-0.305-0.976-0.804-1.185-1.426-0.052-0.155-0.169-0.275-0.314-0.336-0.092-0.065-0.204-0.103-0.322-0.103h-0.133c-0.308 0-0.558 0.25-0.558 0.558v6.142h-13.816c-0.217-0-0.394-0.163-0.394-0.362zM30.792 30.472c0 0.217-0.162 0.394-0.362 0.394h-13.732v-4.404c0.239 0.216 0.505 0.401 0.792 0.548 0.536 0.297 1.148 0.464 1.791 0.464 2.034 0 3.689-1.655 3.689-3.689 0-1.423-0.81-2.659-1.993-3.274-0.534-0.301-1.149-0.473-1.804-0.473-0.939 0-1.813 0.354-2.476 0.955v-4.404h6.016c0.308 0 0.558-0.25 0.558-0.558v-0.173c0-0.126-0.044-0.245-0.117-0.34-0.064-0.129-0.178-0.231-0.321-0.279-0.562-0.189-1.023-0.558-1.332-1.030-0.232-0.389-0.363-0.842-0.363-1.318 0-1.419 1.154-2.574 2.574-2.574 0.894 0 1.682 0.458 2.144 1.151 0.236 0.389 0.372 0.844 0.372 1.331 0 1.107-0.705 2.087-1.754 2.439-0.227 0.076-0.38 0.289-0.38 0.529v0.133c0 0.106 0.030 0.204 0.081 0.289 0.068 0.231 0.282 0.4 0.535 0.4h6.084v13.883z"}))},f=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M15.517 23.581c-0.036 0.002-0.069-0.003-0.102-0.009-0.108-0.019-0.211-0.070-0.294-0.153l-9.153-9.153c-0.104-0.104-0.162-0.245-0.162-0.392s0.058-0.288 0.163-0.392l2.13-2.129c0.217-0.217 0.568-0.217 0.784 0l6.633 6.633 12.94-12.94c0.217-0.217 0.568-0.217 0.785 0l2.13 2.13c0.104 0.104 0.163 0.245 0.163 0.392s-0.058 0.288-0.162 0.392l-15.46 15.46c-0.104 0.104-0.245 0.163-0.392 0.163zM7.145 13.873l8.37 8.37 14.678-14.678-1.345-1.345-12.94 12.94c-0.217 0.217-0.568 0.217-0.785 0l-6.633-6.633-1.345 1.345zM30.087 11.781c0.401 1.337 0.618 2.753 0.618 4.219 0 8.108-6.596 14.704-14.705 14.704s-14.704-6.596-14.704-14.704c0-8.108 6.596-14.705 14.704-14.705 3.79 0 7.25 1.442 9.86 3.805l0.785-0.785c-2.812-2.564-6.549-4.129-10.645-4.129-8.72 0-15.814 7.094-15.814 15.814s7.094 15.814 15.814 15.814c8.72 0 15.814-7.094 15.814-15.814 0-1.784-0.297-3.501-0.845-5.102l-0.883 0.883z"}))},w=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.425 25.368h-3.22v-2.107c-1.234-0.109-2.518-0.463-3.389-0.944l-0.373-0.206 0.93-3.628 0.622 0.341c0.602 0.33 1.835 0.883 3.323 0.883 0.769 0 1.545-0.244 1.545-0.789 0-0.365-0.235-0.783-1.938-1.358-1.985-0.668-4.264-1.78-4.264-4.477 0-2.098 1.387-3.709 3.652-4.289v-2.162h3.22v1.931c1.366 0.11 2.263 0.465 2.838 0.736l0.416 0.196-0.937 3.53-0.621-0.298c-0.539-0.259-1.442-0.692-2.853-0.692-0.488 0-1.307 0.088-1.307 0.681 0 0.448 1.192 0.94 2.231 1.319 2.781 0.973 3.971 2.344 3.971 4.58 0 1.114-0.391 2.124-1.13 2.922-0.668 0.721-1.601 1.236-2.716 1.503v2.328zM15.307 24.266h1.016v-2.139l0.457-0.079c2.090-0.36 3.389-1.676 3.389-3.433 0-1.446-0.551-2.601-3.24-3.542-1.624-0.592-2.962-1.176-2.962-2.357 0-0.862 0.633-1.783 2.409-1.783 1.213 0 2.119 0.278 2.746 0.536l0.36-1.354c-0.565-0.222-1.372-0.445-2.517-0.479l-0.535-0.016v-1.886h-1.016v1.959l-0.45 0.084c-2.005 0.375-3.202 1.61-3.202 3.305 0 1.577 1.051 2.604 3.514 3.432 1.396 0.472 2.688 1.089 2.688 2.402 0 1.149-1.039 1.891-2.647 1.891-1.312 0-2.447-0.366-3.222-0.708l-0.369 1.437c0.709 0.309 1.808 0.617 3.045 0.654l0.535 0.016v2.058zM15.901 30.607c-8.054 0-14.607-6.552-14.607-14.606s6.552-14.607 14.607-14.607c8.054 0 14.607 6.552 14.607 14.607 0 2.567-0.667 4.981-1.834 7.079l1.095 0.293c1.174-2.2 1.841-4.71 1.841-7.373 0-8.662-7.047-15.709-15.709-15.709s-15.709 7.047-15.709 15.709 7.047 15.709 15.709 15.709c2.752 0 5.34-0.712 7.592-1.96l-0.294-1.099c-2.148 1.244-4.641 1.957-7.297 1.957zM29.539 31.709c-0.141 0-0.282-0.054-0.39-0.161l-2.673-2.673-0.86 1.786c-0.1 0.208-0.32 0.331-0.548 0.31s-0.421-0.184-0.481-0.406l-1.977-7.377c-0.051-0.19 0.004-0.393 0.143-0.532s0.342-0.194 0.532-0.143l7.377 1.977c0.222 0.060 0.385 0.252 0.406 0.481s-0.102 0.448-0.31 0.548l-1.787 0.86 2.673 2.672c0.103 0.103 0.161 0.244 0.161 0.39s-0.058 0.286-0.161 0.39l-1.717 1.717c-0.108 0.107-0.249 0.161-0.39 0.161zM26.318 27.385c0.145 0 0.285 0.057 0.39 0.161l2.832 2.832 0.938-0.938-2.832-2.832c-0.126-0.126-0.184-0.306-0.154-0.482s0.143-0.327 0.304-0.404l1.148-0.552-5.020-1.345 1.345 5.020 0.552-1.148c0.077-0.161 0.228-0.274 0.404-0.304 0.031-0.005 0.062-0.008 0.092-0.008zM20.272 5.201c1.977 0 5.826 2.162 5.826 6.126 0 0.304 0.247 0.551 0.551 0.551s0.551-0.247 0.551-0.551c0-2.063-0.912-3.976-2.568-5.387-1.314-1.119-3.025-1.842-4.361-1.842-0.304 0-0.551 0.247-0.551 0.551s0.247 0.551 0.551 0.551z"}))},y=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M31.438 1.423h-30.877c-0.31 0-0.562 0.251-0.562 0.562v22.175c0 0.31 0.251 0.562 0.562 0.562h3.103v5.294c0 0.201 0.107 0.386 0.281 0.486 0.087 0.050 0.184 0.075 0.281 0.075s0.194-0.025 0.281-0.075l10.012-5.78h16.919c0.31 0 0.562-0.251 0.562-0.562v-22.175c0-0.31-0.251-0.562-0.562-0.562zM30.877 23.598h-16.508c-0.099 0-0.195 0.026-0.281 0.075l-9.3 5.369v-4.883c0-0.31-0.251-0.562-0.562-0.562h-3.103v-21.052h29.753v21.052zM4.386 7.532h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 11.865h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 16.198h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 20.53h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.252-0.562 0.562s0.251 0.562 0.562 0.562z"}))},v=function(){return wp.element.createElement(l,{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M0 448V64h18v384H0zm26.857-.273V64H36v383.727h-9.143zm27.143 0V64h8.857v383.727H54zm44.857 0V64h8.857v383.727h-8.857zm36 0V64h17.714v383.727h-17.714zm44.857 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm35.715 0V64h18v383.727h-18zm44.857 0V64h18v383.727h-18zm35.999 0V64h18.001v383.727h-18.001zm36.001 0V64h18.001v383.727h-18.001zm26.857 0V64h18v383.727h-18zm45.143 0V64h26.857v383.727h-26.857zm35.714 0V64h9.143v383.727H476zm18 .273V64h18v384h-18z"}))},k=function(){return wp.element.createElement(l,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"4.744",width:"11.022",height:"2.512"}))},E=function(){return wp.element.createElement(l,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{y:"8.744",width:"11.022",x:"4.489",height:"2.512"}))},C=function(){return wp.element.createElement(l,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"12.802",width:"11.022",height:"2.512"}))},x=wp.element.createElement(l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},wp.element.createElement(a,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return l}));var o=wp.i18n.__,a=function(e){var t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent},l=function(e){var t=[o("January"),o("February"),o("March"),o("April"),o("May"),o("June"),o("July"),o("August"),o("September"),o("October"),o("November"),o("December")],n=(e=new Date(e)).getDate(),a=e.getMonth(),l=e.getFullYear();return n+" "+t[a]+", "+l}},function(e,t,n){"use strict";var o=n(0),a=n.n(o);n(56);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp.i18n.__,u=wp.components,m=u.Dropdown,d=u.IconButton,b=u.RangeControl,g=wp.compose.withInstanceId,h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i(this,c(t).apply(this,arguments))}var n,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this,t="inspector-sizing-control-".concat(this.props.instanceId);return this.props.options&&1>this.props.options.length?p("Please specify more options."):wp.element.createElement("div",{id:t,className:"wp-block-themeisle-blocks-sizing-control"},wp.element.createElement("div",{className:"components-base-control__field"},this.props.label&&wp.element.createElement("label",{className:"components-base-control__label",htmlFor:t},this.props.label),wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-sizing-control-wrapper",{linking:this.props.type})},this.props.options.map((function(t,n){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-item"},t.disabled?wp.element.createElement("input",{type:"number",disabled:t.disabled,className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(n)}):wp.element.createElement(m,{position:"top center",focusOnMount:!1,renderToggle:function(o){o.isOpen;var a=o.onToggle;return wp.element.createElement("input",{type:"number",className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(n,"-").concat(e.props.instanceId),value:t.value,min:e.props.min,max:e.props.max,onFocus:a,onChange:function(n){return e.props.onChange(t.type,parseInt(n.target.value))}})},renderContent:function(n){return n.onToggle,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-overlay"},wp.element.createElement(b,{value:t.value,initialPosition:t.value,beforeIcon:"minus",afterIcon:"plus",min:e.props.min,max:e.props.max,onChange:function(n){return e.props.onChange(t.type,n)}}))}}),t.label&&wp.element.createElement("label",{className:"wp-block-themeisle-blocks-sizing-control-item-label",htmlFor:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(n,"-").concat(e.props.instanceId)},t.label))})),this.props.type&&wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-sizing-control-item","toggle-linking",{"is-linked":"linked"===this.props.type})},wp.element.createElement(d,{icon:"linked"===this.props.type?"admin-links":"editor-unlink",tooltip:"linked"===this.props.type?p("Unlink Values"):p("Link Values"),className:"wp-block-themeisle-blocks-sizing-control-item-input",onClick:function(){return e.props.changeType("linked"===e.props.type?"unlinked":"linked")}})))))}}])&&r(n.prototype,o),l&&r(n,l),t}(wp.element.Component);t.a=g(h)},,function(e,t,n){"use strict";var o=n(0),a=n.n(o),l=(n(55),wp.i18n.__),r=wp.components,i=r.Button,c=r.Dashicon,s=r.Dropdown,p=r.IconButton,u=wp.compose.withInstanceId;t.a=u((function(e){var t=e.label,n=e.instanceId,o=e.changeViewType,r=e.view,u=e.children,m="inspector-responsive-control-".concat(n);return wp.element.createElement("div",{id:m,className:"wp-block-themeisle-blocks-responsive-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},t),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(s,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(p,{icon:"mobile"===r?"smartphone":r,label:l("Responsiveness Settings"),className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onToggle;return wp.element.createElement("div",{className:"wp-block-themeisle-responsiveness-settings"},wp.element.createElement("div",{className:"responsiveness-title"},l("Responsiveness Settings")),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"desktop"===r}),onClick:function(){t(),o("desktop")}},wp.element.createElement(c,{icon:"desktop"}),wp.element.createElement("span",{className:"popover-title"},l("Desktop"))),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"tablet"===r}),onClick:function(){t(),o("tablet")}},wp.element.createElement(c,{icon:"tablet"}),wp.element.createElement("span",{className:"popover-title"},l("Tablet Devices"))),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"mobile"===r}),onClick:function(){t(),o("mobile")}},wp.element.createElement(c,{icon:"smartphone"}),wp.element.createElement("span",{className:"popover-title"},l("Smartphones"))))}}))),u))}))},function(e,t,n){"use strict";n(54);var o=wp.components,a=o.Dropdown,l=o.IconButton,r=wp.compose.withInstanceId;t.a=r((function(e){var t=e.label,n=e.instanceId,o=e.children,r="inspector-control-panel-control-".concat(n);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-control-panel-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label",for:r},t),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(a,{position:"top left",headerTitle:t,expandOnMobile:!0,renderToggle:function(e){var n=e.isOpen,o=e.onToggle;return wp.element.createElement(l,{id:r,icon:"admin-settings",label:t,className:"is-button",onClick:o,"aria-expanded":n})},renderContent:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-popover-settings"},o)}})))))}))},function(e,t){e.exports=React},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=(n(99),n(100),wp.components),r=l.SVG,i=l.Path;t.default=function(e){var t=e.type,n=e.front,o=e.style,l=e.fill,c=e.invert,s=e.width,p=e.height;return"none"!==o&&wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&s?{transform:"".concat(s?"scaleX( ".concat(s/100," )"):"")}:{}},"bigTriangle"===o&&!1===c&&wp.element.createElement(r,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===o&&!0===c&&wp.element.createElement(r,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===o&&!1===c&&wp.element.createElement(r,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===o&&!0===c&&wp.element.createElement(r,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===o&&wp.element.createElement(r,{id:"curve",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===o&&!1===c&&wp.element.createElement(r,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===o&&!0===c&&wp.element.createElement(r,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===o&&wp.element.createElement(r,{id:"cloud",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))}},,function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=(n(89),n(2)),r=wp.i18n.__,i=wp.components,c=i.Button,s=i.ButtonGroup,p=i.Icon,u=i.IconButton,m=i.Tooltip,d=wp.compose.withInstanceId;t.default=d((function(e){var t=e.label,n=e.instanceId,o=e.backgroundType,i=e.changeBackgroundType,d="inspector-background-control-".concat(n);return wp.element.createElement("div",{id:d,className:"components-base-control wp-block-themeisle-blocks-advanced-columns-background-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},t),wp.element.createElement(s,{className:"linking-controls"},wp.element.createElement(u,{icon:"admin-customizer",label:r("Color"),className:a()("is-button",{"is-primary":"color"===o}),onClick:function(){i("color")}}),wp.element.createElement(u,{icon:"format-image",label:r("Image"),className:a()("is-button",{"is-primary":"image"===o}),onClick:function(){i("image")}}),wp.element.createElement(m,{text:r("Gradient")},wp.element.createElement(c,{label:r("Gradient"),className:a()("is-button",{"is-primary":"gradient"===o}),onClick:function(){i("gradient")}},wp.element.createElement(p,{icon:l.b})))))))}))},function(e,t,n){"use strict";var o=n(0),a=n.n(o);n(53);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e,t,n,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t){return!t||"object"!==l(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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=lodash,d=m.startCase,b=m.toLower,g=wp.i18n.__,h=wp.compose.withInstanceId,f=wp.components,w=f.Button,y=f.BaseControl,v=f.Dropdown,k=f.MenuGroup,E=f.MenuItem,C=f.SelectControl,x=f.TextControl,T=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,p(t).apply(this,arguments))).state={fonts:null,font:[],variants:null,search:""},e}var n,o,l,m,h;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(m=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyClGdkPJ1BvgLOol5JAkQY4Mv2lkLYu00k").then((function(e){return e.json()})).then((function(e){t.setState({fonts:e.items}),t.props.value&&e.items.find((function(e){if(t.props.value===e.family){var n=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:d(b(e)),value:e}}));return t.setState({variants:n})}}))}));case 2:case"end":return e.stop()}}),e)})),h=function(){var e=this,t=arguments;return new Promise((function(n,o){var a=m.apply(e,t);function l(e){i(a,n,o,l,r,"next",e)}function r(e){i(a,n,o,l,r,"throw",e)}l(void 0)}))},function(){return h.apply(this,arguments)})},{key:"render",value:function(){var e=this,t="inspector-google-fonts-control-".concat(this.props.instanceId);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-fonts-control"},wp.element.createElement(y,{label:this.props.label,id:t},null!==this.state.fonts?this.props.isSelect?wp.element.createElement(C,{value:this.props.value||"",id:t,options:[{label:g("Default"),value:""}].concat(r(this.state.fonts.map((function(e){return{label:e.family,value:e.family}})))),onChange:function(t){e.props.onChangeFontFamily(t),e.props.onChangeFontVariant("regular");var n=e.state.fonts.find((function(e){return t===e.family})),o=n.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:d(b(e)),value:e}}));e.setState({font:n,variants:o})}}):wp.element.createElement(v,{contentClassName:"wp-block-themeisle-blocks-google-fonts-popover",position:"bottom center",renderToggle:function(n){var o=n.isOpen,a=n.onToggle;return wp.element.createElement(w,{isLarge:!0,className:"wp-block-themeisle-blocks-google-fonts-button",id:t,onClick:a,"aria-expanded":o},e.props.value?e.props.value:g("Select Font Family"))},renderContent:function(t){var n=t.onToggle;return wp.element.createElement(k,{label:g("Google Fonts")},wp.element.createElement(x,{value:e.state.search,onChange:function(t){return e.setState({search:t})}}),wp.element.createElement("div",{className:"components-popover__items"},wp.element.createElement(E,{onClick:function(){n(),e.props.onChangeFontFamily(""),e.setState({font:[],variants:[],search:""})}},g("Default")),e.state.fonts.map((function(t){if(!e.state.search||t.family.toLowerCase().includes(e.state.search.toLowerCase()))return wp.element.createElement(E,{className:a()({"is-selected":t.family===e.props.value}),onClick:function(){n(),e.props.onChangeFontFamily(t.family),e.props.onChangeFontVariant("regular");var o=t.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:d(b(e)),value:e}}));e.setState({font:t,variants:o,search:""})}},t.family)}))))}}):g("Loading…")),this.state.variants&&wp.element.createElement(C,{label:g("Font Width"),value:this.props.valueVariant||"regular",options:this.state.variants,onChange:this.props.onChangeFontVariant}),wp.element.createElement(C,{label:g("Font Style"),value:this.props.valueStyle,options:[{label:g("Regular"),value:"normal"},{label:g("Italic"),value:"italic"}],onChange:this.props.onChangeFontStyle}),!this.props.disableTransform&&wp.element.createElement(C,{label:g("Font Transform"),value:this.props.valueTransform,options:[{label:g("Default"),value:"none"},{label:g("Uppercase"),value:"uppercase"},{label:g("Lowercase"),value:"lowercase"},{label:g("Capitalize"),value:"capitalize"}],onChange:this.props.onChangeTextTransform}))}}])&&c(n.prototype,o),l&&c(n,l),t}(wp.element.Component);t.a=h(T)},,function(e,t,n){"use strict";n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return g}));var o=n(0),a=n.n(o),l=(n(83),wp.components),r=l.BaseControl,i=l.Button,c=l.Dropdown,s=l.IconButton,p=l.Toolbar,u=wp.compose.withInstanceId,m=(wp.blockEditor||wp.editor).BlockControls,d=wp.element.Fragment,b=u((function(e){var t=e.instanceId,n=e.label,o=e.value,l=e.options,c=e.onChange,s="inspector-style-switcher-control-".concat(t);return wp.element.createElement(r,{id:s,label:n},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},l.map((function(e){return wp.element.createElement(i,{className:a()("blocks-style-switcher-item",{"is-active":e.value===o}),tabIndex:"0",onClick:function(){return function(e){return c(e)}(e.value)}},wp.element.createElement("div",{className:"blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"blocks-style-switcher-item-label"},e.label))}))))})),g=function(e){var t=e.label,n=e.value,o=e.options,l=e.onChange;return wp.element.createElement(m,null,wp.element.createElement(p,{className:"wp-themesiel-blocks-block-styles-components-toolbar"},wp.element.createElement(c,{contentClassName:"wp-themesiel-blocks-block-styles-popover-content",position:"bottom center",renderToggle:function(e){var n=e.isOpen,o=e.onToggle;return wp.element.createElement(s,{className:"components-dropdown-menu__toggle",icon:"admin-appearance",onClick:o,"aria-haspopup":"true","aria-expanded":n,label:t,tooltip:t},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(d,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},o.map((function(e){return wp.element.createElement(i,{className:a()("blocks-style-switcher-item",{"is-active":e.value===n}),tabIndex:"0",onClick:function(){return function(e){return l(e)}(e.value)}},wp.element.createElement("div",{className:"blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"blocks-style-switcher-item-label"},e.label))}))))}})))}},function(e,t){e.exports=ReactDOM},,function(e,t,n){"use strict";var o=n(0),a=n.n(o),l=n(37);n(59);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=wp.i18n.__,m=wp.apiFetch,d=wp.components,b=d.BaseControl,g=d.IconButton,h=d.Popover,f=wp.compose,w=f.compose,y=f.withInstanceId,v=wp.data.withSelect,k=wp.element,E=k.Component,C=k.createRef,x=wp.keycodes,T=x.DOWN,S=x.ENTER,B=x.TAB,O=x.UP,M=wp.url.addQueryArgs,L=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=c(t).apply(this,arguments))||"object"!==r(o)&&"function"!=typeof o?s(n):o).bindSuggestionNode=e.bindSuggestionNode.bind(s(e)),e.updateSuggestions=e.updateSuggestions.bind(s(e)),e.onChangeValue=e.onChangeValue.bind(s(e)),e.clickSuggestion=e.clickSuggestion.bind(s(e)),e.onKeyDown=e.onKeyDown.bind(s(e)),e.autocompleteRef=e.autocompleteRef||C(),e.scrollingIntoView=!1,e.suggestionNodes=[],e.state={isOpen:!1,showSuggestions:!1,selectedSuggestion:null,suggestions:[]},e}var n,o,d;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),n=t,(o=[{key:"componentDidUpdate",value:function(){var e=this;this.state.showSuggestions&&null!==this.state.selectedSuggestion&&!this.scrollingIntoView&&null!==this.autocompleteRef.current&&(this.scrollingIntoView=!0,Object(l.a)(this.suggestionNodes[this.state.selectedSuggestion],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t,n=this,o=this.props.fetchLinkSuggestions;1>=e.length||/^https?:/.test(e)?this.setState({showSuggestions:!1}):(this.setState({showSuggestions:!0}),(t=o?o(e):m({path:M("/wp/v2/search",{search:e,per_page:20,type:"post"})})).then((function(e){n.suggestionsRequest===t&&n.setState({suggestions:e})})),this.suggestionsRequest=t)}},{key:"onChangeValue",value:function(e){this.props.onChange(e.target.value),this.props.suggestions||this.updateSuggestions(e.target.value)}},{key:"clickSuggestion",value:function(e){this.props.onChange(e),this.setState({showSuggestions:!1})}},{key:"onKeyDown",value:function(e){if(this.state.showSuggestions&&1<=this.state.suggestions.length){var t=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case O:e.stopPropagation(),e.preventDefault();var n=this.state.selectedSuggestion?this.state.selectedSuggestion-1:this.state.suggestions.length-1;this.setState({selectedSuggestion:n});break;case T:e.stopPropagation(),e.preventDefault();var o=null===this.state.selectedSuggestion||this.state.selectedSuggestion===this.state.suggestions.length-1?0:this.state.selectedSuggestion+1;this.setState({selectedSuggestion:o});break;case B:case S:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.clickSuggestion(t.url))}}}},{key:"render",value:function(){var e=this,t="inspector-link-control-".concat(this.props.instanceId);return wp.element.createElement(b,{id:t,label:this.props.label,help:this.props.help,className:this.props.className},wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-link-control-wrapper",{"is-open":this.state.isOpen})},wp.element.createElement("input",{type:"url",placeholder:this.props.placeholder,value:this.props.value,onChange:this.onChangeValue,onKeyDown:this.onKeyDown,className:a()("components-text-control__input",{"is-full":void 0===this.props.children})}),this.state.showSuggestions&&0<this.state.suggestions.length&&wp.element.createElement(h,{position:"bottom",noArrow:!0,focusOnMount:!1,className:"wp-block-themeisle-blocks-link-control-popover"},wp.element.createElement("div",{ref:this.autocompleteRef,className:"wp-block-themeisle-blocks-link-control-popover-container"},this.state.suggestions.map((function(t,n){return wp.element.createElement("button",{key:t.id,role:"option",tabIndex:"-1",ref:e.bindSuggestionNode(n),className:a()("block-editor-url-input__suggestion","editor-url-input__suggestion",{"is-selected":n===e.state.selectedSuggestion}),onClick:function(){return e.clickSuggestion(t.url)}},t.title||u("Untitled Post"))})))),void 0!==this.props.children&&wp.element.createElement(g,{icon:"admin-generic",tooltip:u("Link Options"),onClick:function(){return e.setState({isOpen:!e.state.isOpen})}})),this.state.isOpen&&this.props.children)}}])&&i(n.prototype,o),d&&i(n,d),t}(E);t.a=w(y,v((function(e){if(e("core/block-editor"))return{fetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(L)},,,function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=(n(90),wp.i18n.__),r=wp.components,i=r.Button,c=r.Dashicon,s=r.Dropdown,p=r.IconButton,u=r.Path,m=r.SVG,d=r.Tooltip,b=wp.compose.withInstanceId,g=wp.element.Fragment;t.default=b((function(e){var t,n=e.label,o=e.instanceId,r=e.onClick,b=e.layout,h=e.layoutTablet,f=e.layoutMobile,w=e.columns,y=e.changeViewType,v=e.view,k="inspector-layout-control-".concat(o);return"desktop"===v?t=b:"tablet"===v?t=h:"mobile"===v&&(t=f),wp.element.createElement("div",{id:k,className:"wp-block-themeisle-blocks-advanced-columns-layout-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement("div",{className:"linking-controls"},wp.element.createElement(s,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(p,{icon:"mobile"===v?"smartphone":v,label:l("Responsiveness Settings"),className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onToggle;return wp.element.createElement("div",{className:"wp-block-themeisle-responsiveness-settings"},wp.element.createElement("div",{className:"responsiveness-title"},l("Responsiveness Settings")),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"desktop"===v}),onClick:function(){t(),y("desktop")}},wp.element.createElement(c,{icon:"desktop"}),wp.element.createElement("span",{className:"popover-title"},l("Desktop"))),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"tablet"===v}),onClick:function(){t(),y("tablet")}},wp.element.createElement(c,{icon:"tablet"}),wp.element.createElement("span",{className:"popover-title"},l("Tablet Devices"))),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"mobile"===v}),onClick:function(){t(),y("mobile")}},wp.element.createElement(c,{icon:"smartphone"}),wp.element.createElement("span",{className:"popover-title"},l("Smartphones"))))}}))),1===w&&wp.element.createElement(d,{text:l("Single Row")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M100,0V50H0V0Z"}))))||2===w&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M49,0V50H0V0Z M100,0V50H51V0Z"})))),wp.element.createElement(d,{text:l("1:2")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwo"===t}),onClick:function(){return r("oneTwo")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M32.6667,0V50H0V0Z M100,0V50H34.6667V0Z"})))),wp.element.createElement(d,{text:l("2:1")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOne"===t}),onClick:function(){return r("twoOne")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M65.3333,0V50H0V0Z M100,0V50H67.3333V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"})))))||3===w&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M32,0V50H0V0Z M66,0V50H34V0Z M100,0V50H68V0Z"})))),wp.element.createElement(d,{text:l("1:1:2")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneOneTwo"===t}),onClick:function(){return r("oneOneTwo")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M24,0V50H0V0Z M50,0V50H26V0Z M100,0V50H52V0Z"})))),wp.element.createElement(d,{text:l("2:1:1")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOneOne"===t}),onClick:function(){return r("twoOneOne")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M48,0V50H0V0Z M74,0V50H50V0Z M100,0V50H76V0Z"})))),wp.element.createElement(d,{text:l("1:2:1")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwoOne"===t}),onClick:function(){return r("oneTwoOne")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M24,0V50H0V0Z M74,0V50H26V0Z M100,0V50H76V0Z"})))),wp.element.createElement(d,{text:l("1:3:1")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneThreeOne"===t}),onClick:function(){return r("oneThreeOne")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M20,0V50H0V0Z M78,0V50H22V0Z M100,0V50H80V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"})))))||4===w&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M23.5,0V50H0V0Z M49,0V50H25.5V0Z M74.5,0V50H51V0Z M100,0V50H76.5V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Two Column Grid")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return r("twoColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 50 0 L 50 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 51 0 L 100 0 L 100 24 L 51 24 L 51 0"}),wp.element.createElement(u,{d:"M 0 26 L 50 26 L 50 50 L 0 50 L 0 26"}),wp.element.createElement(u,{d:"M 51 26 L 100 26 L 100 60 L 51 60 L 51 26"})))),wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"}))))))||5===w&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M18.4,0V50H0V0Z M38.8,0V50H20.4V0Z M59.2,0V50H40.8V0Z M79.6,0V50H61.2V0Z M100,0V50H81.6V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"})))))||6===w&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M15,0V50H0V0Z M32,0V50H17V0Z M49,0V50H34V0Z M66,0V50H51V0Z M83,0V50H68V0Z M100,0V50H85V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Two Column Grid")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return r("twoColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 50 0 L 50 16 L 0 16 L 0 0"}),wp.element.createElement(u,{d:"M 51 0 L 100 0 L 100 16 L 51 16 L 51 0"}),wp.element.createElement(u,{d:"M 0 17 L 50 17 L 50 33 L 0 33 L 0 17"}),wp.element.createElement(u,{d:"M 51 17 L 100 17 L 100 33 L 51 33 L 51 17"}),wp.element.createElement(u,{d:"M 0 34 L 50 34 L 50 50 L 0 50 L 0 34"}),wp.element.createElement(u,{d:"M 51 34 L 100 34 L 100 50 L 51 50 L 51 34"})))),wp.element.createElement(d,{text:l("Three Column Grid")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"threeColumnGrid"===t}),onClick:function(){return r("threeColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 33 0 L 33 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 34 0 L 66 0 L 66 24 L 34 24 L 34 0"}),wp.element.createElement(u,{d:"M 67 0 L 100 0 L 100 24 L 67 24 L 67 0"}),wp.element.createElement(u,{d:"M 0 26 L 33 26 L 33 50 L 0 50 L 0 26"}),wp.element.createElement(u,{d:"M 34 26 L 66 26 L 66 60 L 34 60 L 34 26"}),wp.element.createElement(u,{d:"M 67 26 L 100 26 L 100 60 L 67 60 L 67 26"})))),wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"}))))))))}))},function(e,t,n){"use strict";n.r(t);n(91);var o=n(2),a=n(0),l=n.n(a),r=n(13),c=n.n(r);n(92);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 p(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=lodash,h=g.startCase,f=g.toLower,w=wp.i18n.__,y=wp.components,v=y.Button,k=y.Dashicon,E=y.Icon,C=y.TextControl,x=y.Tooltip,T=y.SelectControl,S=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=m(t).apply(this,arguments))||"object"!==s(o)&&"function"!=typeof o?d(n):o).getOptions=e.getOptions.bind(d(e)),e}var n,a,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&&b(e,t)}(t,e),n=t,(a=[{key:"getOptions",value:function(){var e;return e=("block"===this.props.tab?this.props.blocksCategories:this.props.templateCategories).map((function(e){return{label:h(f(e)),value:e}})),[{label:w("All Categories"),value:"all"}].concat(p(e))}},{key:"render",value:function(){var e=this,t=this.getOptions();return wp.element.createElement("div",{className:"library-modal-control-panel"},wp.element.createElement("div",{className:"library-modal-header"},wp.element.createElement("div",{className:"library-modal-header-logo"},this.props.preview?wp.element.createElement(v,{className:"library-modal-header-tabs-button back-to-library","aria-label":w("Back to Library"),onClick:this.props.togglePreview},wp.element.createElement(k,{icon:"arrow-left-alt"})," ",w("Back to Library")):wp.element.createElement("div",{className:"library-modal-header-tabs-button"},wp.element.createElement(E,{icon:o.l}))),!this.props.preview&&wp.element.createElement("div",{className:"library-modal-header-tabs"},wp.element.createElement(v,{className:l()("library-modal-header-tabs-button",{"is-selected":"block"===this.props.tab}),onClick:function(){return e.props.changeTab("block")}},wp.element.createElement(k,{icon:"screenoptions"}),w("Blocks")),wp.element.createElement(v,{className:l()("library-modal-header-tabs-button",{"is-selected":"template"===this.props.tab}),onClick:function(){return e.props.changeTab("template")}},wp.element.createElement(k,{icon:"editor-table"}),w("Templates"))),wp.element.createElement("div",{className:"library-modal-header-actions"},this.props.preview&&wp.element.createElement(v,{className:"library-modal-header-tabs-button insert-button",onClick:function(){return e.props.importTemplate(e.props.selectedTemplate.template_url)},tabindex:"0"},wp.element.createElement(k,{icon:"arrow-down-alt",size:16}),w("Insert")),wp.element.createElement(x,{text:w("Close")},wp.element.createElement(v,{className:"library-modal-header-tabs-button","aria-label":w("Close settings"),onClick:this.props.close},wp.element.createElement(k,{icon:"no-alt"}))))),!this.props.preview&&wp.element.createElement("div",{className:"library-modal-actions"},wp.element.createElement(T,{className:"library-modal-category-control",value:"all"===this.props.selectedCategory?"all":this.props.selectedCategory,onChange:this.props.selectCategory,options:t}),wp.element.createElement(C,{type:"text",value:this.props.search||"",placeholder:w("Search"),className:"library-modal-search-control",onChange:this.props.changeSearch})))}}])&&u(n.prototype,a),r&&u(n,r),t}(wp.element.Component);function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function M(e,t){return!t||"object"!==B(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 L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var A=wp.i18n.__,_=wp.components.Notice,P=wp.element,R=P.Component,I=P.Fragment,z=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),M(this,L(t).apply(this,arguments))}var n,o,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&&N(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){return wp.element.createElement(I,null,!Boolean(themeisleGutenberg.isCompatible)&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(_,{status:"warning",isDismissible:!1,className:"version-warning",actions:[{label:A("Update Now"),url:themeisleGutenberg.updatePath}]},A("You are using an older version of Otter. Use the latest version of Otter to have maximum compatibility with Template Library."))),this.props.isError&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(_,{status:"error",onRemove:this.props.removeError},A("There seems to be an error. Please try again."))),this.props.isMissing&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(_,{status:"warning",className:"library-modal-missing",onRemove:this.props.removeMissing},A("You seem to be missing some blocks that are required by your selected template."),wp.element.createElement("details",null,wp.element.createElement("summary",null,A("View Missing Blocks")),wp.element.createElement("ul",null,this.props.missingBlocks.map((function(e){return wp.element.createElement("li",null,e)})))))))}}])&&O(n.prototype,o),a&&O(n,a),t}(R),V=n(18),H=n.n(V);function j(e){return(j="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 F(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function D(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Z=wp.i18n.__,q=wp.components.Button,U=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),D(this,G(t).apply(this,arguments))}var n,o,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&&W(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this;return wp.element.createElement("div",{"aria-label":this.props.template.title||Z("Untitled Gutenberg Template"),className:"library-modal-content__item",tabindex:"0"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(H.a,null,wp.element.createElement("img",{src:this.props.template.screenshot_url||"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/default.jpg"}))),wp.element.createElement("div",{className:"library-modal-content__footer"},wp.element.createElement("div",{className:"library-modal-content__footer_meta"},this.props.template.title&&"template"===this.props.template.type&&wp.element.createElement("h4",{className:"library-modal-content__footer_meta_title"},this.props.template.title,this.props.template.author&&Z(" by ")+this.props.template.author," "),this.props.template.author&&"block"===this.props.template.type&&wp.element.createElement("h4",{className:"library-modal-content__footer_meta_author"},Z("Author:")," ",this.props.template.author)),wp.element.createElement("div",{className:"library-modal-content__footer_actions"},this.props.template.demo_url&&wp.element.createElement(q,{isDefault:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return e.props.togglePreview(i)},tabindex:"0"},Z("Preview")),wp.element.createElement(q,{isPrimary:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return e.props.importTemplate(e.props.template.template_url)},tabindex:"0"},Z("Insert")))))}}])&&F(n.prototype,o),a&&F(n,a),t}(wp.element.Component);function K(e){return(K="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 Q(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function J(e,t){return!t||"object"!==K(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 Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var X=wp.i18n.__,ee=wp.components.Spinner,te=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),J(this,Y(t).apply(this,arguments))}var n,o,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&&$(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this;return this.props.preview?wp.element.createElement("div",{className:"library-modal-preview"},wp.element.createElement("iframe",{src:this.props.selectedTemplate.demo_url})):this.props.isLoaded?wp.element.createElement("div",{className:"library-modal-content"},this.props.data.map((function(t){if(t.template_url&&("all"===e.props.selectedCategory||t.categories&&t.categories.includes(e.props.selectedCategory))&&(!e.props.search||t.keywords&&t.keywords.some((function(t){return t.toLowerCase().includes(e.props.search.toLowerCase())})))&&e.props.tab===t.type)return wp.element.createElement(U,{template:t,togglePreview:e.props.togglePreview,importTemplate:e.props.importTemplate})})),wp.element.createElement("div",{"aria-label":X("Coming Soon"),className:"library-modal-content__item"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(H.a,null,wp.element.createElement("img",{src:"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/coming-soon.jpg"}))))):wp.element.createElement("div",{className:"library-modal-loader"},wp.element.createElement(ee,null))}}])&&Q(n.prototype,o),a&&Q(n,a),t}(wp.element.Component);function ne(e){return(ne="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 oe(e,t,n,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function ae(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var l=e.apply(t,n);function r(e){oe(l,o,a,r,i,"next",e)}function i(e){oe(l,o,a,r,i,"throw",e)}r(void 0)}))}}function le(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ie(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}wp.i18n.__;var se=wp.apiFetch,pe=wp.components.Modal,ue=wp.compose.compose,me=wp.data,de=me.withSelect,be=me.withDispatch,ge=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=re(t).apply(this,arguments))||"object"!==ne(o)&&"function"!=typeof o?ie(n):o).changeTab=e.changeTab.bind(ie(e)),e.togglePreview=e.togglePreview.bind(ie(e)),e.removeError=e.removeError.bind(ie(e)),e.removeMissing=e.removeMissing.bind(ie(e)),e.selectCategory=e.selectCategory.bind(ie(e)),e.changeSearch=e.changeSearch.bind(ie(e)),e.changeClientId=e.changeClientId.bind(ie(e)),e.validateBlocks=e.validateBlocks.bind(ie(e)),e.importTemplate=e.importTemplate.bind(ie(e)),e.state={tab:"block",isLoaded:!1,isError:!1,isMissing:!1,selectedCategory:"all",search:"",blocksCategories:[],templateCategories:[],data:[],preview:!1,selectedTemplate:null,missingBlocks:[]},e}var n,o,a,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ce(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(i=ae(regeneratorRuntime.mark((function e(){var t,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,se({path:"themeisle-gutenberg-blocks/v1/fetch_templates"});case 2:t=e.sent,n=[],o=[],t.map((function(e){e.categories&&e.template_url&&("block"===e.type&&e.categories.map((function(e){n.push(e)})),"template"===e.type&&e.categories.map((function(e){o.push(e)})))})),n=n.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),o=o.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),this.setState({blocksCategories:n,templateCategories:o,data:t,isLoaded:!0});case 9:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"changeTab",value:function(e){this.setState({tab:e,selectedCategory:"all",search:""})}},{key:"togglePreview",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.setState({preview:!this.state.preview,selectedTemplate:e})}},{key:"removeError",value:function(){this.setState({isError:!1})}},{key:"removeMissing",value:function(){this.setState({isMissing:!1})}},{key:"selectCategory",value:function(e){this.setState({selectedCategory:e})}},{key:"changeSearch",value:function(e){this.setState({search:e})}},{key:"changeClientId",value:function(e){var t=this;return Array.isArray(e)?e.map((function(e){return t.changeClientId(e)})):"object"===ne(e)&&Object.keys(e).map((function(n){"clientId"===n&&(e[n]=c()()),"innerBlocks"===n&&e[n].map((function(e){t.changeClientId(e)}))})),e}},{key:"validateBlocks",value:function(e){var t=this,n=!1,o=[];return Array.isArray(e)?e.map((function(e){return t.validateBlocks(e)})):"object"===ne(e)&&Object.keys(e).some((function(a){"name"===a&&void 0===t.props.availableBlocks.find((function(t){return t.name===e.name}))&&(o.push(e.name),n=!0),"innerBlocks"===a&&e[a].map((function(e){return t.validateBlocks(e)}))})),o=this.state.missingBlocks.concat(o).filter((function(e,t,n){return n.indexOf(e)===t})),this.setState({missingBlocks:o}),n}},{key:"importTemplate",value:(r=ae(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setState({preview:!1,isLoaded:!1,missingBlocks:[]}),e.next=3,se({path:"themeisle-gutenberg-blocks/v1/import_template?url=".concat(t)});case 3:n=e.sent,null!==(n=this.changeClientId(n))?(this.setState({isLoaded:!0}),this.validateBlocks(n)?this.setState({isMissing:!0}):this.props.import(n)):this.setState({isLoaded:!0,isError:!0});case 6:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"render",value:function(){return wp.element.createElement(pe,{className:l()("wp-block-themeisle-library-modal",{"is-preview":this.state.preview}),onRequestClose:this.props.close,isDismissable:!1,shouldCloseOnClickOutside:!1},wp.element.createElement(S,{preview:this.state.preview,tab:this.state.tab,changeTab:this.changeTab,blocksCategories:this.state.blocksCategories,templateCategories:this.state.templateCategories,selectedTemplate:this.state.selectedTemplate,selectedCategory:this.state.selectedCategory,search:this.state.search,togglePreview:this.togglePreview,close:this.props.close,importTemplate:this.importTemplate,selectCategory:this.selectCategory,changeSearch:this.changeSearch}),wp.element.createElement(z,{isError:this.state.isError,isMissing:this.state.isMissing,missingBlocks:this.state.missingBlocks,removeError:this.removeError,removeMissing:this.removeMissing}),wp.element.createElement(te,{preview:this.state.preview,isLoaded:this.state.isLoaded,data:this.state.data,tab:this.state.tab,selectedTemplate:this.state.selectedTemplate,selectedCategory:this.state.selectedCategory,search:this.state.search,togglePreview:this.togglePreview,importTemplate:this.importTemplate}))}}])&&le(n.prototype,o),a&&le(n,a),t}(wp.element.Component),he=ue(de((function(e,t){var n=t.clientId,o=(e("core/block-editor")||e("core/editor")).getBlock,a=e("core/blocks").getBlockTypes;return{block:o(n),availableBlocks:a()}})),be((function(e,t){var n=t.block,o=(e("core/block-editor")||e("core/editor")).replaceBlocks;return{import:function(e){return o(n.clientId,e)}}})))(ge);function fe(e){return(fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function we(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ye(e){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ee=wp.i18n.__,Ce=wp.components,xe=Ce.Button,Te=Ce.Dashicon,Se=Ce.Icon,Be=Ce.Path,Oe=Ce.Placeholder,Me=Ce.SVG,Le=Ce.Tooltip,Ne=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=ye(t).apply(this,arguments))||"object"!==fe(o)&&"function"!=typeof o?ve(n):o).closeModal=e.closeModal.bind(ve(e)),e.state={isLibraryOpen:!1},e}var n,a,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(t,e),n=t,(a=[{key:"closeModal",value:function(){this.setState({isLibraryOpen:!1})}},{key:"render",value:function(){var e=this;return wp.element.createElement(Oe,{label:Ee("Select Layout"),icon:wp.element.createElement(Se,{icon:o.f}),className:"wp-block-themeisle-onboarding-component"},wp.element.createElement("div",{className:"wp-block-themeisle-layout-picker"},wp.element.createElement(Le,{text:Ee("Single Row")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(1,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M100,0V50H0V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(2,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M49,0V50H0V0Z M100,0V50H51V0Z"})))),wp.element.createElement(Le,{text:Ee("1:2")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(2,"oneTwo")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M32.6667,0V50H0V0Z M100,0V50H34.6667V0Z"})))),wp.element.createElement(Le,{text:Ee("2:1")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(2,"twoOne")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M65.3333,0V50H0V0Z M100,0V50H67.3333V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M32,0V50H0V0Z M66,0V50H34V0Z M100,0V50H68V0Z"})))),wp.element.createElement(Le,{text:Ee("1:1:2")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"oneOneTwo")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M24,0V50H0V0Z M50,0V50H26V0Z M100,0V50H52V0Z"})))),wp.element.createElement(Le,{text:Ee("2:1:1")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"twoOneOne")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M48,0V50H0V0Z M74,0V50H50V0Z M100,0V50H76V0Z"})))),wp.element.createElement(Le,{text:Ee("1:2:1")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"oneTwoOne")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M24,0V50H0V0Z M74,0V50H26V0Z M100,0V50H76V0Z"})))),wp.element.createElement(Le,{text:Ee("1:3:1")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"oneThreeOne")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M20,0V50H0V0Z M78,0V50H22V0Z M100,0V50H80V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(4,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M23.5,0V50H0V0Z M49,0V50H25.5V0Z M74.5,0V50H51V0Z M100,0V50H76.5V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(5,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M18.4,0V50H0V0Z M38.8,0V50H20.4V0Z M59.2,0V50H40.8V0Z M79.6,0V50H61.2V0Z M100,0V50H81.6V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(6,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M15,0V50H0V0Z M32,0V50H17V0Z M49,0V50H34V0Z M66,0V50H51V0Z M83,0V50H68V0Z M100,0V50H85V0Z"}))))),wp.element.createElement(Le,{text:Ee("Open Template Library")},wp.element.createElement(xe,{isPrimary:!0,isLarge:!0,className:"wp-block-themeisle-template-library",onClick:function(){return e.setState({isLibraryOpen:!0})}},wp.element.createElement(Te,{icon:"category"}),Ee("Template Library")),this.state.isLibraryOpen&&wp.element.createElement(he,{clientId:this.props.clientId,close:this.closeModal})))}}])&&we(n.prototype,a),l&&we(n,l),t}(wp.element.Component);t.default=Ne},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=n(3);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=wp.components,m=u.Placeholder,d=u.Spinner,b=wp.data.withSelect,g=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,s(t).apply(this,arguments))}var n,o,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),n=t,(o=[{key:"render",value:function(){var e=this.props,t=e.alt,n=e.id,o=e.thumbnail,a=e.link,l=wp.element.createElement(m,null,wp.element.createElement(d,null));return o&&(l=wp.element.createElement("img",{src:o,alt:t,"data-id":n})),wp.element.createElement("div",{className:"posts-grid-post-image"},wp.element.createElement("a",{href:a},l))}}])&&i(n.prototype,o),a&&i(n,a),t}(wp.element.Component),h=b((function(e,t){var n=t.id,o=t.alt,a=t.size,l=n?e("core").getMedia(n):void 0,r=l?0<Object.keys(l.media_details.sizes).length?l.media_details.sizes[a].source_url:l.source_url:null;return l?{thumbnail:r,alt:l.alt_text||o}:{alt:o}}))(g),f=wp.i18n,w=f.__,y=f.sprintf,v=function(e){var t=e.className,n=e.attributes,o=e.posts,r=e.categoriesList,i=e.authors;return wp.element.createElement("div",{className:a()(t,"is-grid","posts-grid-columns-".concat(n.columns))},o.map((function(e){var t,o;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(o=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"posts-grid-post-blog posts-grid-post-plain"},wp.element.createElement("div",{className:"posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(h,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:"posts-grid-post-body"},n.template.map((function(a){return"category"===a&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("h6",{class:"posts-grid-post-category"},t.name):"title"===a&&n.displayTitle?wp.element.createElement("h5",{className:"posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(l.b)(e.title.rendered))):"meta"===a&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"posts-grid-post-meta"},n.displayDate&&y(w("on %s"),Object(l.a)(e.date)),n.displayAuthor&&void 0!==o&&i&&y(w(" by %s"),o.name)):"description"===a&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"posts-grid-post-description"},Object(l.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))},k=wp.i18n,E=k.__,C=k.sprintf,x=function(e){var t=e.className,n=e.attributes,o=e.posts,r=e.categoriesList,i=e.authors;return wp.element.createElement("div",{className:a()(t,"is-list")},o.map((function(e){var t,o;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(o=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"posts-grid-post-blog posts-grid-post-plain"},wp.element.createElement("div",{className:"posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(h,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:a()("posts-grid-post-body",{"is-full":!n.displayFeaturedImage})},n.template.map((function(a){return"category"===a&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("h6",{class:"posts-grid-post-category"},t.name):"title"===a&&n.displayTitle?wp.element.createElement("h5",{className:"posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(l.b)(e.title.rendered))):"meta"===a&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"posts-grid-post-meta"},n.displayDate&&C(E("on %s"),Object(l.a)(e.date)),n.displayAuthor&&void 0!==o&&i&&C(E(" by %s"),o.name)):"description"===a&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"posts-grid-post-description"},Object(l.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))};t.default=function(e){var t=e.className,n=e.attributes,o=e.posts,a=e.categoriesList,l=e.authors;return"grid"===n.style?wp.element.createElement(v,{className:t,attributes:n,posts:o,categoriesList:a,authors:l}):"list"===n.style?wp.element.createElement(x,{className:t,attributes:n,posts:o,categoriesList:a,authors:l}):void 0}},,function(e,t,n){"use strict";n.r(t);n(60),n(61),n(62),n(63)},function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.components,l=a.ExternalLink,r=a.Notice;o("themeisle-blocks/chart-pie",{title:n("Pie Chart"),description:n("Display a beautiful Pie Chart on your blog post with Pie Chart block."),icon:"chart-pie",category:"themeisle-blocks",keywords:[n("pie"),n("chart"),n("orbitfox")],attributes:{data:{type:"string",default:'[["Label","Data"],["Dogs",40],["Cats",30],["Racoons",20],["Monkeys",10]]'},options:{type:"object",default:{title:"Animals",is3D:!0}},id:{type:"string",default:""}},supports:{inserter:!1},edit:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement(r,{status:"warning",isDismissible:!1},n("We have deprecated Pie Chart Block and it will be removed soon. For advance options and more charts, please install our Visualizer plugin:")," ",wp.element.createElement(l,{href:"http://wordpress.org/plugins/visualizer/"},n("Visualizer: Tables and Charts Manager for WordPress"))))},save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(65),n(66);var o=wp.i18n.__,a=wp.blocks.registerBlockType,l=(wp.blockEditor||wp.editor).RichText,r=wp.components.Notice;a("themeisle-blocks/notice",{title:o("Notice"),description:o("Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages."),icon:"info",category:"themeisle-blocks",keywords:["notice","info"],attributes:{content:{type:"array",source:"children",selector:"p.components-notice__content"}},supports:{align:["wide","full"],inserter:!1},styles:[{name:"sucess",label:o("Success"),isDefault:!0},{name:"info",label:o("Info")},{name:"warning",label:o("Warning")},{name:"error",label:o("Error")}],edit:function(e){var t="success";return e.attributes.className&&e.attributes.className.includes("is-style-info")?t="":e.attributes.className&&e.attributes.className.includes("is-style-warning")?t="warning":e.attributes.className&&e.attributes.className.includes("is-style-error")&&(t="error"),wp.element.createElement(r,{className:e.className,isDismissible:!1,status:t},wp.element.createElement(l,{tagName:"p",placeholder:o("Lorem ipsum dolor sit amet, consectetur adipiscing elit."),value:e.attributes.content,className:"components-notice__content",onChange:function(t){return e.setAttributes({content:t})},keepPlaceholderOnFocus:"true"}))},save:function(e){var t="success";return e.attributes.className&&e.attributes.className.includes("is-style-info")?t="":e.attributes.className&&e.attributes.className.includes("is-style-warning")?t="warning":e.attributes.className&&e.attributes.className.includes("is-style-error")&&(t="error"),wp.element.createElement(r,{className:"themeisle-block-notice",isDismissible:!1,status:t},wp.element.createElement(l.Content,{tagName:"p",className:"components-notice__content",value:e.attributes.content}))}})},function(e,t,n){"use strict";n.r(t);n(75),n(76);var o=wp.i18n.__,a=lodash.get,l=wp.blocks,r=l.registerBlockType,i=l.createBlock,c=wp.components,s=c.Toolbar,p=c.TextControl,u=wp.data.withSelect,m=wp.blockEditor||wp.editor,d=m.BlockControls,b=m.RichText;r("themeisle-blocks/tweetable",{title:o("Click To Tweet"),description:o("Click to Tweet allows visitors to easily share your content on Twitter."),icon:"twitter",category:"themeisle-blocks",keywords:[o("twitter"),o("tweet"),o("orbitfox")],attributes:{quote:{type:"string",source:"children",selector:"p",default:[]},permalink:{type:"url"},via:{type:"string"},buttonText:{type:"string",default:o("Click to Tweet")}},supports:{inserter:!1},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return i("themeisle-blocks/tweetable",{quote:t})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value,n=e.citation;return t&&t.length||n?(t||[]).map((function(e){return i("themeisle-blocks/tweetable",{quote:[a(e,"children.props.children","")]})})).concat(n?i("core/paragraph",{content:n}):[]):i("themeisle-blocks/tweetable")}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return t&&t.length||n?(t||[]).map((function(e){return i("themeisle-blocks/tweetable",{quote:[a(e,"children.props.children","")]})})).concat(n?i("core/paragraph",{quote:n}):[]):i("themeisle-blocks/tweetable")}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){e.content;var t=e.quote;return t&&t.length?(t||[]).map((function(e){return i("core/paragraph",{content:t})})):i("core/paragraph")}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.quote;return i("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.quote;return i("core/pullquote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}}]},edit:u((function(e,t){var n=e("core/editor").getPermalink;return void 0===t.attributes.permalink&&t.setAttributes({permalink:n()}),{permalink:n(),props:t}}))((function(e){var t=e.props,n=e.className;return[wp.element.createElement(d,{key:"controls"},wp.element.createElement(s,null,wp.element.createElement("i",{className:"fas fa-at tweetable-icon"}),wp.element.createElement(p,{type:"text",placeholder:"Username",className:"tweetable-controls",value:t.attributes.via,onChange:function(e){t.setAttributes({via:e})}}))),wp.element.createElement("blockquote",{className:n},wp.element.createElement(b,{tagName:"p",multiline:"false",placeholder:o("What should we tweet?"),value:t.attributes.quote,formattingControls:[],onChange:function(e){t.setAttributes({quote:e})},keepPlaceholderOnFocus:!0}),wp.element.createElement(b,{tagName:"span",placeholder:o("Tweet this!"),className:"tweetbutton",value:t.attributes.buttonText?t.attributes.buttonText:o("Tweet this!"),formattingControls:[],onChange:function(e){t.setAttributes({buttonText:e})},keepPlaceholderOnFocus:!0}))]})),save:function(e){var t=e.attributes.via?"&via=".concat(e.attributes.via):"",n="http://twitter.com/share?&text=".concat(encodeURIComponent(e.attributes.quote),"&url=").concat(e.attributes.permalink).concat(t);return wp.element.createElement("blockquote",null,wp.element.createElement(b.Content,{tagName:"p",value:e.attributes.quote}),wp.element.createElement(b.Content,{tagName:"a",className:"tweetbutton",href:n,value:e.attributes.buttonText,target:"_blank"}))}})},,,,function(e,t,n){"use strict";n.r(t);var o=n(2),a=wp.i18n.__,l=wp.blocks.registerBlockType,r=(wp.blockEditor||wp.editor).InnerBlocks;l("themeisle-blocks/pricing",{title:a("Pricing"),description:a("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),icon:o.o,category:"themeisle-blocks",keywords:["pricing","table","money"],edit:function(e){var t=[["themeisle-blocks/advanced-heading",{content:a("Basic"),align:"center",tag:"h5"}],["themeisle-blocks/advanced-heading",{content:a("$9.99"),align:"center",tag:"h3",fontSize:36,fontFamily:"Roboto Slab",fontVariant:"normal"}],["themeisle-blocks/advanced-heading",{content:a("Per Month"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:a("First Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:a("Second Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:a("Last Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:a("Buy Now"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]];return[wp.element.createElement("div",{className:e.className},wp.element.createElement(r,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement(r.Content,null))}})},function(e,t,n){"use strict";n.r(t);var o=n(2),a=wp.i18n.__,l=wp.blocks.registerBlockType,r=(wp.blockEditor||wp.editor).InnerBlocks;l("themeisle-blocks/service",{title:a("Service"),description:a("Use this Service block to showcase services your website offers."),icon:o.p,category:"themeisle-blocks",keywords:["services","icon","features"],edit:function(e){var t=[["themeisle-blocks/font-awesome-icons",{fontSize:62,prefix:"fab",icon:"angellist"}],["themeisle-blocks/advanced-heading",{content:a("Basic"),align:"center",tag:"h4",marginBottom:20}],["themeisle-blocks/advanced-heading",{content:a("Lorem ipsum dolor sit amet elit do, consectetur adipiscing, sed eiusmod tempor incididunt ut labore et dolore magna aliqua."),align:"center",color:"#999999",tag:"p",fontSize:14,marginBottom:20}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:a("Know More"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]];return[wp.element.createElement("div",{className:e.className},wp.element.createElement(r,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement(r.Content,null))}})},function(e,t,n){"use strict";n.r(t);var o=n(2),a=wp.i18n.__,l=wp.blocks.registerBlockType,r=(wp.blockEditor||wp.editor).InnerBlocks;l("themeisle-blocks/testimonials",{title:a("Testimonials"),description:a("Display kudos from customers and clients and display them on your website."),icon:o.r,category:"themeisle-blocks",keywords:["testimonials","quotes","business"],edit:function(e){var t=[["core/image",{align:"center"}],["themeisle-blocks/advanced-heading",{content:a("John Doe"),align:"center",fontSize:24,tag:"h3",marginTop:25,marginBottom:10,marginTopTablet:25,marginTopMobile:25}],["themeisle-blocks/advanced-heading",{content:a("Jedi Master"),align:"center",fontSize:14,tag:"h6",marginTop:10,marginBottom:10}],["themeisle-blocks/advanced-heading",{content:a('"What is the point of being alive if you don’t at least try to do something remarkable?"'),align:"center",color:"#999999",tag:"p",fontSize:14,marginTop:10,marginBottom:20}]];return[wp.element.createElement("div",{className:e.className},wp.element.createElement(r,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement(r.Content,null))}})},function(e,t,n){"use strict";n.r(t);n(67),n(68);var o=n(0),a=n.n(o),l=wp.i18n.__,r=wp.blocks.registerBlockType,i=wp.blockEditor||wp.editor,c=i.ColorPalette,s=i.InnerBlocks,p=i.InspectorControls,u=i.MediaPlaceholder,m=wp.components,d=m.Button,b=m.ToggleControl,g=m.SelectControl,h=m.PanelBody,f=wp.element.Fragment;r("themeisle-blocks/pricing-table",{title:l("Pricing Table"),description:l("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"],inserter:!1},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(p,null,wp.element.createElement(h,{title:l("Background")},wp.element.createElement(g,{label:l("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(c,{label:l("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(f,null,wp.element.createElement(b,{label:l("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(b,{label:l("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(d,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},l("Change or Remove Image"))):wp.element.createElement(u,{icon:"format-image",labels:{title:l("Background Image"),name:l("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s,{allowedBlocks:["themeisle-blocks/pricing-block"],template:[["themeisle-blocks/pricing-block"],["themeisle-blocks/pricing-block"],["themeisle-blocks/pricing-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-pricing-table",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s.Content,null))}});var w=wp.i18n.__,y=wp.blocks.registerBlockType,v=wp.blockEditor||wp.editor,k=v.InnerBlocks,E=v.BlockControls,C=v.InspectorControls,x=v.PanelColorSettings,T=wp.components,S=T.Dashicon,B=T.Toolbar,O=T.Button,M=T.Tooltip;y("themeisle-blocks/pricing-block",{title:w("Pricing Block"),description:w("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),parent:["themeisle-blocks/pricing-table"],icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{featured:{type:"boolean",default:!1},backgroundColor:{type:"string",default:"#ffffff"}},supports:{inserter:!1},edit:function(e){var t=[["core/heading",{content:w("Basic"),className:"pricing-title",align:"center",level:5}],["core/paragraph",{content:w("$9.99"),align:"center",customFontSize:36}],["core/paragraph",{content:w("Per Month"),align:"center",customFontSize:12}],["core/separator",{}],["core/paragraph",{content:w("First Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/paragraph",{content:w("Second Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/paragraph",{content:w("Last Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/button",{text:w("Buy Now"),className:"pricing-button",align:"center"}]];return[wp.element.createElement(E,{key:"toolbar-controls"},wp.element.createElement(B,{className:"components-toolbar"},wp.element.createElement(M,{text:w("Feature Table")},wp.element.createElement(O,{className:a()("components-icon-button","components-toolbar__control",{"is-active":e.attributes.featured}),onClick:function(){e.setAttributes({featured:!e.attributes.featured})}},wp.element.createElement(S,{icon:"star-empty"}))))),wp.element.createElement(C,null,wp.element.createElement(x,{title:w("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:w("Background Color")}]})),wp.element.createElement("div",{className:a()("wp-block-column",{raised:e.attributes.featured}),style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(k,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:a()("wp-block-column",{raised:e.attributes.featured}),style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(k.Content,null))}})},function(e,t,n){"use strict";n.r(t);n(72),n(73);var o=n(0),a=n.n(o),l=wp.i18n.__,r=wp.blocks.registerBlockType,i=wp.blockEditor||wp.editor,c=i.ColorPalette,s=i.InnerBlocks,p=i.InspectorControls,u=i.MediaPlaceholder,m=wp.components,d=m.Button,b=m.ToggleControl,g=m.SelectControl,h=m.PanelBody,f=wp.element.Fragment;r("themeisle-blocks/testimonials-area",{title:l("Testimonials Area"),description:l("Display kudos from customers and clients and display them on your website."),icon:"testimonial",category:"themeisle-blocks",keywords:["testimonials","clients","quotes"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"],inserter:!1},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(p,null,wp.element.createElement(h,{title:l("Background")},wp.element.createElement(g,{label:l("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(c,{label:l("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(f,null,wp.element.createElement(b,{label:l("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(b,{label:l("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(d,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},l("Change or Remove Image"))):wp.element.createElement(u,{icon:"format-image",labels:{title:l("Background Image"),name:l("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s,{allowedBlocks:["themeisle-blocks/testimonials-block"],template:[["themeisle-blocks/testimonials-block"],["themeisle-blocks/testimonials-block"],["themeisle-blocks/testimonials-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-testimonials-area",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s.Content,null))}});n(74)},function(e,t,n){"use strict";n.r(t);n(69),n(70);var o=n(0),a=n.n(o),l=wp.i18n.__,r=wp.blocks.registerBlockType,i=wp.blockEditor||wp.editor,c=i.ColorPalette,s=i.InnerBlocks,p=i.InspectorControls,u=i.MediaPlaceholder,m=wp.components,d=m.Button,b=m.ToggleControl,g=m.SelectControl,h=m.PanelBody,f=wp.element.Fragment;r("themeisle-blocks/services",{title:l("Our Services"),description:l("Use this Services table to showcase services your website offers."),icon:"columns",category:"themeisle-blocks",keywords:["services","features","orbitfox"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"],inserter:!1},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(p,null,wp.element.createElement(h,{title:l("Background")},wp.element.createElement(g,{label:l("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(c,{label:l("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(f,null,wp.element.createElement(b,{label:l("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(b,{label:l("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(d,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},l("Change or Remove Image"))):wp.element.createElement(u,{icon:"format-image",labels:{title:l("Background Image"),name:l("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s,{allowedBlocks:["themeisle-blocks/service-block"],template:[["themeisle-blocks/service-block"],["themeisle-blocks/service-block"],["themeisle-blocks/service-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-services",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s.Content,null))}});n(71)},,,function(e,t,n){n(40),n(118),n(44),n(47),n(119),n(24),n(25),n(64),n(26),n(34),n(36),n(35),n(27),n(117),n(113),n(84),n(22),n(114),n(11),n(20),n(21),n(9),n(112),n(116),n(115),n(108),n(31),n(32),e.exports=n(33)},function(e,t,n){n.p=window.themeisleGutenberg.packagePath},,,function(e,t){function n(e,t,n,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function o(e){return function(){var t=this,o=arguments;return new Promise((function(a,l){var r=e.apply(t,o);function i(e){n(r,a,l,i,c,"next",e)}function c(e){n(r,a,l,i,c,"throw",e)}i(void 0)}))}}var a=lodash.debounce,l=wp.apiFetch,r=wp.data,i=r.select,c=r.subscribe,s=a(o(regeneratorRuntime.mark((function e(){var t,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i("core/editor"),n=t.getCurrentPostId,o=n(),e.next=4,l({path:"themeisle-gutenberg-blocks/v1/save_post_meta/".concat(o),method:"POST"});case 4:case"end":return e.stop()}}),e)}))),1e3),p={};c((function(){var e=i("core/editor"),t=e.isCurrentPostPublished,n=e.isSavingPost,o=e.isPublishingPost,a=e.isAutosavingPost,r=e.__experimentalGetReusableBlocks,c=e.__experimentalIsSavingReusableBlock,u=a(),m=o(),d=n(),b=r(),g=t();b.map((function(e){if(e){var t=(n=e.id,c(n));t&&!e.isTemporary&&(p[e.id]={id:e.id,isSaving:!0}),t||e.isTemporary||!p[e.id]||e.id===p[e.id].id&&!t&&p[e.id].isSaving&&(p[e.id].isSaving=!1,l({path:"themeisle-gutenberg-blocks/v1/save_block_meta/".concat(e.id),method:"POST"}))}var n})),!(m||g&&d)||u||status||s()}))},function(e,t,n){"use strict";n.r(t);n(45),n(46);var o=n(2),a=wp.i18n.__,l=wp.blocks.registerBlockType,r=wp.compose,i=r.compose,c=r.withState,s=wp.components.Spinner,p=wp.data.withSelect;l("themeisle-blocks/about-author",{title:a("About Author"),description:a("About Author block is the easiest way to add a author bio below your posts."),icon:o.a,category:"themeisle-blocks",keywords:["about","author","profile"],attributes:{id:{type:"number"}},supports:{html:!1},edit:i([p((function(e,t){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors(),props:t}})),c({status:0,authorDetails:{}})])((function(e){var t=e.postAuthor,n=e.authors,o=e.status,l=e.authorDetails,r=e.setState,i=e.props,c=e.className;return 0===o&&t&&n&&n.find((function(e){if(e.id===t)return t!==i.attributes.id&&i.setAttributes({id:e.id}),r({authorDetails:e,status:1}),e.id===t})),1===o&&t&&n?wp.element.createElement("section",{className:c},wp.element.createElement("div",{className:"wp-block-themeisle-author-image"},wp.element.createElement("img",{className:"author-image",src:l.avatar_urls[96],alt:l.name})),wp.element.createElement("div",{className:"wp-block-themeisle-author-data"},wp.element.createElement("h4",null,l.name),wp.element.createElement("p",null,l.description))):wp.element.createElement("div",{key:"loading",className:"wp-block-embed is-loading"},wp.element.createElement(s,null),wp.element.createElement("p",null,a("Loading…")))})),save:function(){return null}})},,function(e,t,n){},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=n(5),r=n.n(l),i=n(16),c=n.n(i),s=(n(50),n(51),n(52),n(2)),p=n(12),u=n(7),m=n(6),d=n(4);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=wp.i18n.__,w=wp.blocks,y=w.createBlock,v=w.registerBlockType,k=wp.components,E=k.Button,C=k.Dashicon,x=k.Dropdown,T=k.DropdownMenu,S=k.IconButton,B=k.PanelBody,O=k.RangeControl,M=k.SVG,L=k.ToggleControl,N=k.Toolbar,A=wp.compose,_=A.compose,P=A.withState,R=wp.data.withSelect,I=wp.blockEditor||wp.editor,z=I.AlignmentToolbar,V=I.BlockControls,H=I.ColorPalette,j=I.InspectorControls,F=I.RichText,D=wp.element.Fragment,G=wp.viewport.withViewportMatch;v("themeisle-blocks/advanced-heading",{title:f("Advanced Heading"),description:f("Advanced Heading gives a spin to editor's Heading block with much needed customization options."),icon:s.h,category:"themeisle-blocks",keywords:[f("heading"),f("title"),f("advanced heading")],attributes:{id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number",default:0},paddingMobile:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number",default:0},paddingTopMobile:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number",default:0},paddingRightMobile:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number",default:0},paddingBottomMobile:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number",default:0},paddingLeftMobile:{type:"number",default:0},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number",default:0},marginMobile:{type:"number",default:0},marginTop:{type:"number",default:0},marginTopTablet:{type:"number",default:0},marginTopMobile:{type:"number",default:0},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number",default:25},marginBottomMobile:{type:"number",default:20}},transforms:{from:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return y("themeisle-blocks/advanced-heading",{content:t})}},{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return y("themeisle-blocks/advanced-heading",{content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return y("core/paragraph",{content:t})}}]},edit:_([R((function(e,t){return{props:t}})),P({tab:"style",fontSizeViewType:"desktop",alignmentViewType:"desktop",paddingViewType:"desktop",marginViewType:"desktop"}),G({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"})])((function(e){var t=e.tab,n=e.fontSizeViewType,o=e.alignmentViewType,l=e.paddingViewType,i=e.marginViewType,s=e.setState,b=e.isLarger,w=e.isLarge,v=e.isSmall,k=e.isSmaller,A=e.props,_=A.attributes,P=_.id,R=_.content,I=_.tag,G=_.align,W=_.alignTablet,Z=_.alignMobile,q=_.headingColor,U=_.highlightColor,K=_.highlightBackground,Q=_.fontSize,J=_.fontSizeTablet,Y=_.fontSizeMobile,$=_.fontFamily,X=_.fontVariant,ee=_.fontStyle,te=_.textTransform,ne=_.lineHeight,oe=_.letterSpacing,ae=_.textShadow,le=_.textShadowColor,re=_.textShadowColorOpacity,ie=_.textShadowBlur,ce=_.textShadowHorizontal,se=_.textShadowVertical,pe=_.paddingType,ue=_.paddingTypeTablet,me=_.paddingTypeMobile,de=_.padding,be=_.paddingTablet,ge=_.paddingMobile,he=_.paddingTop,fe=_.paddingTopTablet,we=_.paddingTopMobile,ye=_.paddingRight,ve=_.paddingRightTablet,ke=_.paddingRightMobile,Ee=_.paddingBottom,Ce=_.paddingBottomTablet,xe=_.paddingBottomMobile,Te=_.paddingLeft,Se=_.paddingLeftTablet,Be=_.paddingLeftMobile,Oe=_.marginType,Me=_.marginTypeTablet,Le=_.marginTypeMobile,Ne=_.margin,Ae=_.marginTablet,_e=_.marginMobile,Pe=_.marginTop,Re=_.marginTopTablet,Ie=_.marginTopMobile,ze=_.marginBottom,Ve=_.marginBottomTablet,He=_.marginBottomMobile;if(void 0===P||P.substr(P.length-8)!==A.clientId.substr(0,8)){var je="wp-block-themeisle-blocks-advanced-heading-".concat(A.clientId.substr(0,8));A.setAttributes({id:je})}var Fe=b&&!w&&v&&!k,De=!b&&!w&&v&&!k,Ge=!(b||w||v||k),We=function(e){A.setAttributes({tag:e})},Ze=function(e){return"h1"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H1")):"h2"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H2")):"h3"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H3")):"h4"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H4")):"h5"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H5")):"h6"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H6")):"div"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"DIV")):"p"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{x:"0",y:"15"},"P")):"span"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"SPAN")):void 0},qe=function(){var e;return"desktop"===n&&(e=Q),"tablet"===n&&(e=J),"mobile"===n&&(e=Y),e};qe=qe();var Ue=function(){var e;return"desktop"===o&&(e=G),"tablet"===o&&(e=W),"mobile"===o&&(e=Z),e};Ue=Ue();var Ke=function(e){A.setAttributes({fontFamily:e,fontVariant:"normal",fontStyle:"normal"})},Qe=function(e){A.setAttributes({fontVariant:e})},Je=function(e){A.setAttributes({fontStyle:e})},Ye=function(e){A.setAttributes({textTransform:e})},$e=function(e){A.setAttributes({lineHeight:e})},Xe=function(e){A.setAttributes({letterSpacing:e})},et=function(e){var t;return"top"==e&&("desktop"===l&&(t="linked"===pe?de:he),"tablet"===l&&(t="linked"===ue?be:fe),"mobile"===l&&(t="linked"===me?ge:we)),"right"==e&&("desktop"===l&&(t="linked"===pe?de:ye),"tablet"===l&&(t="linked"===ue?be:ve),"mobile"===l&&(t="linked"===me?ge:ke)),"bottom"==e&&("desktop"===l&&(t="linked"===pe?de:Ee),"tablet"===l&&(t="linked"===ue?be:Ce),"mobile"===l&&(t="linked"===me?ge:xe)),"left"==e&&("desktop"===l&&(t="linked"===pe?de:Te),"tablet"===l&&(t="linked"===ue?be:Se),"mobile"===l&&(t="linked"===me?ge:Be)),t},tt={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},nt={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},ot={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},at=function(){var e;return"desktop"===l&&(e=pe),"tablet"===l&&(e=ue),"mobile"===l&&(e=me),e};at=at();var lt,rt,it,ct=function(e){var t;return"top"==e&&("desktop"===i&&(t="linked"===Oe?Ne:Pe),"tablet"===i&&(t="linked"===Me?Ae:Re),"mobile"===i&&(t="linked"===Le?_e:Ie)),"bottom"==e&&("desktop"===i&&(t="linked"===Oe?Ne:ze),"tablet"===i&&(t="linked"===Me?Ae:Ve),"mobile"===i&&(t="linked"===Le?_e:He)),t},st={top:"marginTop",bottom:"marginBottom"},pt={top:"marginTopTablet",bottom:"marginBottomTablet"},ut={top:"marginTopMobile",bottom:"marginBottomMobile"},mt=function(){var e;return"desktop"===i&&(e=Oe),"tablet"===i&&(e=Me),"mobile"===i&&(e=Le),e};mt=mt(),Fe&&(lt={fontSize:"".concat(Q,"px")},rt={textAlign:G,paddingTop:"".concat("linked"===pe?de:he,"px"),paddingRight:"".concat("linked"===pe?de:ye,"px"),paddingBottom:"".concat("linked"===pe?de:Ee,"px"),paddingLeft:"".concat("linked"===pe?de:Te,"px"),marginTop:"".concat("linked"===Oe?Ne:Pe,"px"),marginBottom:"".concat("linked"===Oe?Ne:ze,"px")}),De&&(lt={fontSize:"".concat(J,"px")},rt={textAlign:W,paddingTop:"".concat("linked"===ue?be:fe,"px"),paddingRight:"".concat("linked"===ue?be:ve,"px"),paddingBottom:"".concat("linked"===ue?be:Ce,"px"),paddingLeft:"".concat("linked"===ue?be:Se,"px"),marginTop:"".concat("linked"===Me?Ae:Re,"px"),marginBottom:"".concat("linked"===Me?Ae:Ve,"px")}),Ge&&(lt={fontSize:"".concat(Y,"px")},rt={textAlign:Z,paddingTop:"".concat("linked"===me?ge:we,"px"),paddingRight:"".concat("linked"===me?ge:ke,"px"),paddingBottom:"".concat("linked"===me?ge:xe,"px"),paddingLeft:"".concat("linked"===me?ge:Be,"px"),marginTop:"".concat("linked"===Le?_e:Ie,"px"),marginBottom:"".concat("linked"===Le?_e:He,"px")}),ae&&(it={textShadow:"".concat(ce,"px ").concat(se,"px ").concat(ie,"px ").concat(r()(le||"#000000",re))});var dt=g({color:q},lt,{fontFamily:$||"inherit",fontWeight:"regular"===X?"normal":X,fontStyle:ee,textTransform:te,lineHeight:ne&&"".concat(ne,"px"),letterSpacing:oe&&"".concat(oe,"px")},rt,{},it);return wp.element.createElement(D,null,wp.element.createElement("style",null,".".concat(P," mark {\n\t\t\t\t\t\tcolor: ").concat(U,";\n\t\t\t\t\t\tbackground: ").concat(K,";\n\t\t\t\t\t}")),amp;&wp.element.createElement(c.a,{fonts:[{font:$,weights:X&&["".concat(X+("italic"===ee?":i":""))]}]}),wp.element.createElement(V,null,wp.element.createElement(T,{icon:Ze(I),label:f("Select tag"),className:"components-toolbar",controls:[{title:f("Heading 1"),icon:Ze("h1"),onClick:function(){return We("h1")}},{title:f("Heading 2"),icon:Ze("h2"),onClick:function(){return We("h2")}},{title:f("Heading 3"),icon:Ze("h3"),onClick:function(){return We("h3")}},{title:f("Heading 4"),icon:Ze("h4"),onClick:function(){return We("h4")}},{title:f("Heading 5"),icon:Ze("h5"),onClick:function(){return We("h5")}},{title:f("Heading 6"),icon:Ze("h6"),onClick:function(){return We("h6")}},{title:f("Division"),icon:Ze("div"),onClick:function(){return We("div")}},{title:f("Paragraph"),icon:Ze("p"),onClick:function(){return We("p")}},{title:f("Span Tag"),icon:Ze("span"),onClick:function(){return We("span")}}]}),wp.element.createElement(N,{className:"wp-themesiel-blocks-advanced-heading-components-toolbar"},wp.element.createElement(x,{contentClassName:"wp-themesiel-blocks-advanced-heading-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(S,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:f("Typography Settings"),tooltip:f("Typography Settings")},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(D,null,wp.element.createElement(p.a,{label:f("Font Family"),value:$,onChangeFontFamily:Ke,isSelect:!0,valueVariant:X,onChangeFontVariant:Qe,valueStyle:ee,onChangeFontStyle:Je,valueTransform:te,onChangeTextTransform:Ye}),wp.element.createElement(O,{label:f("Line Height"),value:ne,onChange:$e,min:0,max:200}),wp.element.createElement(O,{label:f("Letter Spacing"),value:oe,onChange:Xe,min:-50,max:100}))}}))),wp.element.createElement(j,null,wp.element.createElement(B,{className:"wp-block-themeisle-blocks-advanced-heading-header-panel"},wp.element.createElement(E,{className:a()("header-tab",{"is-selected":"style"===t}),onClick:function(){return s({tab:"style"})}},wp.element.createElement("span",null,wp.element.createElement(C,{icon:"admin-customizer"}),f("Style"))),wp.element.createElement(E,{className:a()("header-tab",{"is-selected":"advanced"===t}),onClick:function(){return s({tab:"advanced"})}},wp.element.createElement("span",null,wp.element.createElement(C,{icon:"admin-generic"}),f("Advanced")))),"style"===t&&wp.element.createElement(D,null,wp.element.createElement(B,{title:f("General Settings")},wp.element.createElement(D,null,wp.element.createElement("p",null,f("Heading Color")),wp.element.createElement(H,{label:"Heading Color",value:q,onChange:function(e){A.setAttributes({headingColor:e})}})),wp.element.createElement(m.a,{label:"Font Size",view:n,changeViewType:function(e){s({fontSizeViewType:e})}},wp.element.createElement(O,{value:qe||"",onChange:function(e){"desktop"===n&&A.setAttributes({fontSize:e}),"tablet"===n&&A.setAttributes({fontSizeTablet:e}),"mobile"===n&&A.setAttributes({fontSizeMobile:e})},min:1,max:500})),wp.element.createElement(m.a,{label:"Alignment",view:o,changeViewType:function(e){s({alignmentViewType:e})}},wp.element.createElement(z,{value:Ue,onChange:function(e){"desktop"===o&&A.setAttributes({align:e}),"tablet"===o&&A.setAttributes({alignTablet:e}),"mobile"===o&&A.setAttributes({alignMobile:e})}}))),wp.element.createElement(B,{title:f("Typography Settings"),initialOpen:!1},wp.element.createElement(p.a,{label:f("Font Family"),value:$,onChangeFontFamily:Ke,valueVariant:X,onChangeFontVariant:Qe,valueStyle:ee,onChangeFontStyle:Je,valueTransform:te,onChangeTextTransform:Ye}),wp.element.createElement(O,{label:f("Line Height"),value:ne,onChange:$e,min:0,max:200}),wp.element.createElement(O,{label:f("Letter Spacing"),value:oe,onChange:Xe,min:-50,max:100}),wp.element.createElement(L,{label:"Shadow Properties",checked:ae,onChange:function(e){A.setAttributes({textShadow:e})}}),ae&&wp.element.createElement(D,null,wp.element.createElement(D,null,wp.element.createElement("p",null,f("Color")),wp.element.createElement(H,{label:f("Color"),value:le,onChange:function(e){A.setAttributes({textShadowColor:e})}})),wp.element.createElement(u.a,{label:"Shadow Properties"},wp.element.createElement(O,{label:f("Opacity"),value:re,onChange:function(e){A.setAttributes({textShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(O,{label:f("Blur"),value:ie,onChange:function(e){A.setAttributes({textShadowBlur:e})},min:0,max:100}),wp.element.createElement(O,{label:f("Horizontal"),value:ce,onChange:function(e){A.setAttributes({textShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(O,{label:f("Vertical"),value:se,onChange:function(e){A.setAttributes({textShadowVertical:e})},min:-100,max:100})))))||"advanced"===t&&wp.element.createElement(D,null,wp.element.createElement(B,{title:f("Highlight Color")},wp.element.createElement(D,null,wp.element.createElement("p",null,f("Highlight Color")),wp.element.createElement(H,{label:"Highlight Color",value:U,onChange:function(e){A.setAttributes({highlightColor:e})}})),wp.element.createElement(D,null,wp.element.createElement("p",null,f("Highlight Background")),wp.element.createElement(H,{label:"Highlight Background",value:K,onChange:function(e){A.setAttributes({highlightBackground:e})}}))),wp.element.createElement(B,{title:f("Padding & Margin"),initialOpen:!1},wp.element.createElement(m.a,{label:"Padding",view:l,changeViewType:function(e){s({paddingViewType:e})}},wp.element.createElement(d.a,{type:at,min:0,max:500,changeType:function(e){"desktop"===l&&A.setAttributes({paddingType:e}),"tablet"===l&&A.setAttributes({paddingTypeTablet:e}),"mobile"===l&&A.setAttributes({paddingTypeMobile:e})},onChange:function(e,t){"desktop"===l&&("linked"===pe?A.setAttributes({padding:t}):A.setAttributes(h({},tt[e],t))),"tablet"===l&&("linked"===ue?A.setAttributes({paddingTablet:t}):A.setAttributes(h({},nt[e],t))),"mobile"===l&&("linked"===me?A.setAttributes({paddingMobile:t}):A.setAttributes(h({},ot[e],t)))},options:[{label:f("Top"),type:"top",value:et("top")},{label:f("Right"),type:"right",value:et("right")},{label:f("Bottom"),type:"bottom",value:et("bottom")},{label:f("Left"),type:"left",value:et("left")}]})),wp.element.createElement(m.a,{label:"Margin",view:i,changeViewType:function(e){s({marginViewType:e})}},wp.element.createElement(d.a,{type:mt,min:-500,max:500,changeType:function(e){"desktop"===i&&A.setAttributes({marginType:e}),"tablet"===i&&A.setAttributes({marginTypeTablet:e}),"mobile"===i&&A.setAttributes({marginTypeMobile:e})},onChange:function(e,t){"desktop"===i&&("linked"===Oe?A.setAttributes({margin:t}):A.setAttributes(h({},st[e],t))),"tablet"===i&&("linked"===Me?A.setAttributes({marginTablet:t}):A.setAttributes(h({},pt[e],t))),"mobile"===i&&("linked"===Le?A.setAttributes({marginMobile:t}):A.setAttributes(h({},ut[e],t)))},options:[{label:f("Top"),type:"top",value:ct("top")},{label:f("Right"),disabled:!0},{label:f("Bottom"),type:"bottom",value:ct("bottom")},{label:f("Left"),disabled:!0}]}))))),wp.element.createElement(F,{identifier:"content",className:a()(P,A.className),value:R,placeholder:f("Write heading…"),tagName:I,formattingControls:["bold","italic","link","strikethrough","mark"],allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","themeisle-blocks/mark"],onMerge:A.mergeBlocks,unstableOnSplit:A.insertBlocksAfter?function(e,t){A.setAttributes({content:e});for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];A.insertBlocksAfter([].concat(o,[y("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return A.onReplace([])},style:dt,onChange:function(e){A.setAttributes({content:e})}}))})),save:function(e){var t,n=e.attributes,o=n.id,l=n.content,i=n.tag,c=n.headingColor,s=n.fontFamily,p=n.fontVariant,u=n.fontStyle,m=n.textTransform,d=n.lineHeight,b=n.letterSpacing,h=n.textShadow,f=n.textShadowColor,w=n.textShadowColorOpacity,y=n.textShadowBlur,v=n.textShadowHorizontal,k=n.textShadowVertical;h&&(t={textShadow:"".concat(v,"px ").concat(k,"px ").concat(y,"px ").concat(r()(f||"#000000",w))});var E=g({color:c,fontFamily:s,fontWeight:"regular"===p?"normal":p,fontStyle:u,textTransform:m,lineHeight:d&&"".concat(d,"px"),letterSpacing:b&&"".concat(b,"px")},t);return wp.element.createElement(F.Content,{tagName:i,value:l,id:o,className:a()(o,e.className),style:E})}})},,,,function(e,t,n){},function(e,t){var n=wp.i18n.__,o=wp.richText,a=o.registerFormatType,l=o.toggleFormat,r=wp.blockEditor||wp.editor,i=r.RichTextShortcut,c=r.RichTextToolbarButton,s=wp.element.Fragment,p="themeisle-blocks/mark";a(p,{name:p,title:n("Highlight"),tagName:"mark",className:null,edit:function(e){var t=e.isActive,o=e.value,a=e.onChange,r=function(){return a(l(o,{type:p}))};return wp.element.createElement(s,null,wp.element.createElement(i,{type:"primary",character:"m",onUse:r}),wp.element.createElement(c,{icon:"admin-customizer",title:n("Highlight"),onClick:r,isActive:t,shortcutType:"access",shortcutCharacter:"m"}))}})},,,,,,function(e,t,n){},,function(e,t,n){},,function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=(wp.blockEditor||wp.editor).InnerBlocks;o("themeisle-blocks/accordion-area",{title:n("Accordion"),description:n("Accordion block allows you to add beautiful accordions in your posts."),icon:"menu",category:"themeisle-blocks",keywords:["accordion","collapsible","orbitfox"],supports:{inserter:!1},edit:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement("ul",null,wp.element.createElement(a,{allowedBlocks:["themeisle-blocks/accordion-block"],template:[["themeisle-blocks/accordion-block"],["themeisle-blocks/accordion-block"],["themeisle-blocks/accordion-block"]]})))},save:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-accordion-box"},wp.element.createElement("ul",null,wp.element.createElement(a.Content,null)))}})},function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.blockEditor||wp.editor,l=a.RichText,r=a.InnerBlocks;o("themeisle-blocks/accordion-block",{title:n("Accordion Item"),description:n("Accordion block allows you to add beautiful accordions in your posts."),parent:["themeisle-blocks/accordion-area"],icon:"menu",category:"themeisle-blocks",keywords:["accordion","collapsible","orbitfox"],attributes:{heading:{type:"array",source:"children",selector:".accordion-heading"}},supports:{inserter:!1},edit:function(e){var t=[["core/paragraph",{content:n("What is the point of being alive if you don’t at least try to do something remarkable?"),className:"accordion-content"}]];return wp.element.createElement("li",{className:e.className},wp.element.createElement(l,{tagName:"h4",className:"accordion-heading",value:e.attributes.heading,placeholder:"Section Title",onChange:function(t){return e.setAttributes({heading:t})}}),wp.element.createElement("div",{className:"accordion-content"},wp.element.createElement(r,{template:t,id:"accordion-content"})))},save:function(e){return wp.element.createElement("li",null,wp.element.createElement("input",{type:"checkbox",checked:!0}),wp.element.createElement("i",null),wp.element.createElement(l.Content,{tagName:"h4",className:"accordion-heading",value:e.attributes.heading}),wp.element.createElement("div",{className:"accordion-content"},wp.element.createElement(r.Content,null)))}})},function(e,t,n){"use strict";n.r(t);n(24),n(25),n(26),n(34),n(36),n(35),n(27)},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.blockEditor||wp.editor,l=a.InnerBlocks,r=a.InspectorControls,i=a.PanelColorSettings;o("themeisle-blocks/service-block",{title:n("Service Block"),description:n("Use this Services table to showcase services your website offers."),parent:["themeisle-blocks/services"],icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{backgroundColor:{type:"string",default:"#ffffff"}},supports:{inserter:!1},edit:function(e){var t=[["themeisle-blocks/font-awesome-icons",{fontSize:62,prefix:"fab",icon:"angellist"}],["core/heading",{content:n("Panel"),className:"service-title",align:"center",level:4}],["core/paragraph",{content:n("Small description, but a pretty long one."),className:"service-content",align:"center"}],["core/button",{text:n("Learn More"),className:"service-button",align:"center"}]];return[wp.element.createElement(r,null,wp.element.createElement(i,{title:n("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:n("Background Color")}]})),wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(l,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(l.Content,null))}})},function(e,t,n){},,function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.blockEditor||wp.editor,l=a.InnerBlocks,r=a.InspectorControls,i=a.PanelColorSettings;o("themeisle-blocks/testimonials-block",{title:n("Testimonials Block"),description:n("Display kudos from customers and clients and display them on your website."),parent:["themeisle-blocks/testimonials-area"],icon:"testimonial",category:"themeisle-blocks",keywords:["testimonials","clients","quotes"],attributes:{backgroundColor:{type:"string",default:"#ffffff"}},supports:{inserter:!1},edit:function(e){var t=[["core/image",{align:"center"}],["core/heading",{content:n("John Doe"),className:"testimonials-title",align:"center",level:3}],["core/heading",{content:n("Jedi Master"),className:"testimonials-subtitle",align:"center",level:6}],["core/paragraph",{content:n("What is the point of being alive if you don’t at least try to do something remarkable?"),className:"testimonials-content",align:"center"}]];return[wp.element.createElement(r,null,wp.element.createElement(i,{title:n("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:n("Background Color")}]})),wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(l,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(l.Content,null))}})},,function(e,t,n){},function(e,t,n){},,function(e,t,n){},,,,,function(e,t,n){"use strict";n.r(t);n(85),n(86);var o=n(2),a=n(3),l=wp.i18n.__,r=wp.apiFetch,i=wp.blocks.registerBlockType,c=wp.components,s=c.Placeholder,p=c.Dashicon,u=c.TextControl,m=c.Spinner,d=c.Button,b=c.Toolbar,g=c.Tooltip,h=wp.compose,f=h.compose,w=h.withState,y=(wp.blockEditor||wp.editor).BlockControls,v=wp.data.withSelect,k=wp.keycodes.ENTER;i("themeisle-blocks/plugin-cards",{title:l("Plugin Card"),description:l("Plugin Card block lets you display plugins data in your blog posts."),icon:o.m,category:"themeisle-blocks",keywords:["plugin","card","orbitfox"],attributes:{slug:{type:"string"},pluginIcon:{type:"string"},pluginName:{type:"string"},pluginAuthor:{type:"string"},pluginRating:{type:"number"},pluginDescription:{type:"string"},pluginInstalls:{type:"number"},pluginVersion:{type:"string"},pluginTested:{type:"string"},pluginLink:{type:"string"}},supports:{html:!1},edit:f([v((function(e,t){return{props:t}})),w({status:0,results:{}})])((function(e){var t,n,o,i,c,h=e.props,f=e.className,w=e.status,v=e.results,E=e.setState;return[h.attributes.pluginName&&wp.element.createElement(y,{key:"toolbar-controls"},wp.element.createElement(b,{className:"components-toolbar"},wp.element.createElement(g,{text:l("Edit Plugin Card")},wp.element.createElement(d,{className:"components-icon-button components-toolbar__control edit-plugin-card",onClick:function(){h.setAttributes({pluginIcon:"",pluginName:"",pluginAuthor:"",pluginRating:"",pluginDescription:"",pluginInstalls:"",pluginVersion:"",pluginTested:"",pluginLink:""})}},wp.element.createElement(p,{icon:"edit"}))))),wp.element.createElement("div",{className:f},h.attributes.pluginName?wp.element.createElement("div",{className:"wp-block-themeisle-plugin-card"},wp.element.createElement("div",{className:"card-header"},wp.element.createElement("div",{className:"card-main"},wp.element.createElement("div",{className:"card-logo"},wp.element.createElement("img",{src:h.attributes.pluginIcon,alt:Object(a.b)(h.attributes.pluginName),title:Object(a.b)(h.attributes.pluginName)})),wp.element.createElement("div",{className:"card-info"},wp.element.createElement("h4",null,Object(a.b)(h.attributes.pluginName)),wp.element.createElement("h5",{dangerouslySetInnerHTML:{__html:_.unescape(h.attributes.pluginAuthor)}})),wp.element.createElement("div",{className:"card-ratings",dangerouslySetInnerHTML:{__html:_.unescape((t=h.attributes.pluginRating,n=Math.floor(t/10)/2,o=Math.floor(n),i=Math.ceil(n-o),c=5-o-i,'<span className="star-full"></span>'.repeat(o)+'<span className="star-half"></span>'.repeat(i)+'<span className="star-empty"></span>'.repeat(c)))}}))),wp.element.createElement("div",{className:"card-details"},wp.element.createElement("div",{className:"card-description"},Object(a.b)(h.attributes.pluginDescription)),wp.element.createElement("div",{className:"card-stats"},wp.element.createElement("h5",null,l("Plugin Stats")),wp.element.createElement("div",{className:"card-stats-list"},wp.element.createElement("div",{className:"card-stat"},wp.element.createElement("span",{className:"card-text-large"},h.attributes.pluginInstalls.toLocaleString(),"+"),l("active installs")),wp.element.createElement("div",{className:"card-stat"},wp.element.createElement("span",{className:"card-text-large"},h.attributes.pluginVersion),l("version")),wp.element.createElement("div",{className:"card-stat"},wp.element.createElement("span",{className:"card-text-large"},h.attributes.pluginTested),l("tested up to"))))),wp.element.createElement("div",{className:"card-download"},wp.element.createElement("a",{href:h.attributes.pluginLink},l("Download")))):wp.element.createElement(s,{icon:"admin-plugins",label:l("Plugin Card")},wp.element.createElement("div",{className:"search-plugin-field"},wp.element.createElement(p,{icon:"search"}),1===w&&wp.element.createElement(m,null),wp.element.createElement(u,{type:"text",placeholder:l("Search for plugin…"),value:h.attributes.slug,onChange:function(e){h.setAttributes({slug:e})},onKeyDown:function(e){var t;e.keyCode===k&&(t=e.target.value,E({status:1}),r({path:"themeisle-gutenberg-blocks/v1/get_plugins?search='".concat(encodeURIComponent(t))}).then((function(e){var t=e.data.plugins;E({status:0,results:t})})))}}),v&&wp.element.createElement("div",{className:"plugin-card-search-results"},wp.element.createElement("div",null,Object.keys(v).map((function(e,t){var n,o=v[e];return o.icons.svg&&(n=o.icons.svg),o.icons["2x"]&&(n=o.icons["2x"]),o.icons["1x"]&&(n=o.icons["1x"]),o.icons.default&&(n=o.icons.default),wp.element.createElement("div",{className:"plugin-card-list-item",key:e,onClick:function(e){e.preventDefault(),function(e){var t;e.icons.svg&&(t=e.icons.svg),e.icons["2x"]&&(t=e.icons["2x"]),e.icons["1x"]&&(t=e.icons["1x"]),e.icons.default&&(t=e.icons.default),h.setAttributes({slug:e.slug,pluginIcon:t,pluginName:e.name,pluginAuthor:e.author,pluginRating:e.rating,pluginDescription:e.short_description,pluginInstalls:e.active_installs,pluginVersion:e.version,pluginTested:e.tested,pluginLink:e.download_link}),E({results:{}})}(o)}},wp.element.createElement("img",{src:n}),wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:_.unescape(o.name)}}))})))))))]})),save:function(){return null}})},,function(e,t,n){},function(e,t,n){},,,,,,,,,,,,function(e,t,n){},,function(e,t,n){},,,function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";n.r(t);n(31),n(32),n(33)},,,,function(e,t,n){"use strict";n.r(t);n(101),n(102);var o=n(0),a=n.n(o),l=n(5),r=n.n(l),i=n(2),c={1:{equal:["100"]},2:{equal:["50","50"],oneTwo:["33.34","66.66"],twoOne:["66.66","33.34"]},3:{equal:["33.33","33.33","33.33"],oneOneTwo:["25","25","50"],twoOneOne:["50","25","25"],oneTwoOne:["25","50","25"],oneThreeOne:["20","60","20"]},4:{equal:["25","25","25","25"]},5:{equal:["20","20","20","20","20"]},6:{equal:["16.66","16.66","16.66","16.66","16.66","16.66"]}},s=n(20),p=n(4),u=n(6),m=n(11),d=(n(103),wp.components),b=d.Dashicon,g=d.Tooltip,h=function(e){var t=e.title,n=e.firstColor,o=e.secondColor,l=e.isSelected,r=e.onChange,i=wp.element.createElement("button",{type:"button","aria-pressed":l,className:a()("wp-block-themeisle-blocks-responsive-control-option",{"is-active":l}),style:{background:"linear-gradient(90deg, ".concat(n," 0%, ").concat(o," 100%)")},onClick:function(){return r(n,0,o,100,"linear",90,"center center")}});return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-option-wrapper"},t?wp.element.createElement(g,{text:t},i):i,l&&wp.element.createElement(b,{icon:"saved"}))},f=wp.i18n.__,w=[{title:f("Reef"),firstColor:"#36d1dc",secondColor:"#5b86e5"},{title:f("Mild"),firstColor:"#67B26F",secondColor:"#4ca2cd"},{title:f("Mojito"),firstColor:"#1D976C",secondColor:"#93F9B9"},{title:f("Nelson"),firstColor:"#f2709c",secondColor:"#ff9472"},{title:f("Orange Fun"),firstColor:"#fc4a1a",secondColor:"#f7b733"},{title:f("Evening Night"),firstColor:"#005AA7",secondColor:"#FFFDE4"},{title:f("Calm Darya"),firstColor:"#5f2c82",secondColor:"#49a09d"},{title:f("Opa"),firstColor:"#3D7EAA",secondColor:"#FFE47A"},{title:f("Bora Bora"),firstColor:"#2BC0E4",secondColor:"#EAECC6"},{title:f("Electric Violet"),firstColor:"#4776E6",secondColor:"#8E54E9"},{title:f("Pinky"),firstColor:"#DD5E89",secondColor:"#F7BB97"},{title:f("Purple Paradise"),firstColor:"#1D2B64",secondColor:"#F8CDDA"}],y=wp.i18n.__,v=wp.components,k=v.Button,E=v.ColorIndicator,C=v.Dropdown,x=v.RangeControl,T=v.SelectControl,S=wp.compose.withInstanceId,B=(wp.blockEditor||wp.editor).ColorPalette,O=wp.element.Fragment,M=S((function(e){var t,n=e.label,o=e.instanceId,a=e.value,l=e.customGradient,r=void 0===l||l,i=e.onChange,c="inspector-gradient-picker-control-".concat(o),s=function(e){var t=e.firstColor,n=void 0===t?a.firstColor:t,o=e.firstLocation,l=void 0===o?a.firstLocation:o,r=e.secondColor,c=void 0===r?a.secondColor:r,s=e.secondLocation,p=void 0===s?a.secondLocation:s,u=e.type,m=void 0===u?a.type:u,d=e.angle,b=void 0===d?a.angle:d,g=e.position,h=void 0===g?a.position:g;i(n,l,c,p,m,b,h)};t="linear"===a.type?"".concat(a.angle,"deg"):"at ".concat(a.position);var p="".concat(a.type,"-gradient( ").concat(t,", ").concat(a.firstColor||"rgba( 0, 0, 0, 0 )"," ").concat(a.firstLocation,"%, ").concat(a.secondColor||"rgba( 0, 0, 0, 0 )"," ").concat(a.secondLocation,"% )"),u=w.some((function(e){return e.firstColor===a.firstColor&&e.secondColor===a.secondColor}));return wp.element.createElement("div",{id:c,className:"wp-block-themeisle-blocks-responsive-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n,!u&&wp.element.createElement(E,{colorValue:p}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-presets"},w.map((function(e){return wp.element.createElement(h,{title:e.title,firstColor:e.firstColor,secondColor:e.secondColor,isSelected:e.firstColor===a.firstColor&&e.secondColor===a.secondColor,onChange:i})})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-custom-wrapper"},r&&wp.element.createElement(C,{className:"wp-block-themeisle-blocks-responsive-control-dropdown-link-action",contentClassName:"wp-block-themeisle-blocks-responsive-control-dropdown-content",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(k,{"aria-expanded":t,onClick:n,isLink:!0},y("Custom Gradient"))},renderContent:function(){return wp.element.createElement(O,null,wp.element.createElement("p",null,y("First Color")),wp.element.createElement(B,{label:y("Color"),clearable:!1,value:a.firstColor,onChange:function(e){return s({firstColor:e})}}),wp.element.createElement(x,{label:y("Location"),value:a.firstLocation,min:0,max:100,onChange:function(e){return s({firstLocation:e})}}),wp.element.createElement("p",null,y("Second Color")),wp.element.createElement(B,{label:y("Color"),clearable:!1,value:a.secondColor,onChange:function(e){return s({secondColor:e})}}),wp.element.createElement(x,{label:y("Location"),value:a.secondLocation,min:0,max:100,onChange:function(e){return s({secondLocation:e})}}),wp.element.createElement(T,{label:y("Type"),value:a.type,options:[{label:"Linear",value:"linear"},{label:"Radial",value:"radial"}],onChange:function(e){return s({type:e})}}),"linear"===a.type?wp.element.createElement(x,{label:y("Angle"),value:a.angle,min:0,max:360,onChange:function(e){return s({angle:e})}}):wp.element.createElement(T,{label:y("Position"),value:a.position,options:[{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){return s({position:e})}}))}}),wp.element.createElement(k,{className:"wp-block-themeisle-blocks-responsive-control-clear",type:"button",isSmall:!0,isDefault:!0,onClick:function(){return i("#ffffff",0,"#ffffff",100,"linear",90,"center center")}},y("Clear"))))))})),L=n(7);function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var I=wp.i18n.__,z=wp.blockEditor||wp.editor,V=z.__experimentalBlockNavigationList,H=z.BlockControls,j=wp.components,F=j.IconButton,D=j.Modal,G=j.Toolbar,W=wp.compose.compose,Z=wp.data,q=Z.withSelect,U=Z.withDispatch,K=wp.element,Q=K.Component,J=K.Fragment,Y=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=_(t).apply(this,arguments))||"object"!==N(o)&&"function"!=typeof o?P(n):o).toggleNavigator=e.toggleNavigator.bind(P(e)),e.state={isNavigationListOpen:!1},e}var n,o,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&&R(e,t)}(t,e),n=t,(o=[{key:"toggleNavigator",value:function(e){this.setState({isNavigationListOpen:e})}},{key:"render",value:function(){var e=this;return wp.element.createElement(J,null,wp.element.createElement(H,null,wp.element.createElement(G,{className:"wp-themesiel-blocks-block-navigator-components-toolbar"},wp.element.createElement(F,{className:"components-toolbar__control",label:I("Open block navigator"),onClick:function(){return e.toggleNavigator(!0)},icon:i.k}))),this.state.isNavigationListOpen&&wp.element.createElement(D,{title:I("Block Navigator"),closeLabel:I("Close"),onRequestClose:function(){e.toggleNavigator(!1)}},wp.element.createElement(V,{blocks:[this.props.block],selectedBlockClientId:this.props.selectedBlockClientId,selectBlock:this.props.selectBlock,showNestedBlocks:!0})))}}])&&A(n.prototype,o),a&&A(n,a),t}(Q),$=W(q((function(e,t){var n=t.clientId,o=e("core/block-editor")||e("core/editor"),a=o.getSelectedBlockClientId;return{block:(0,o.getBlock)(n),selectedBlockClientId:a()}})),U((function(e,t){t.block;return{selectBlock:(e("core/block-editor")||e("core/editor")).selectBlock}})))(Y),X=n(9),ee=n(21);function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(n,!0).forEach((function(t){oe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ae=(wp.blockEditor||wp.editor).InnerBlocks,le=[{attributes:{align:{type:"string"},id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},horizontalAlign:{type:"string",default:"unset"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},save:function(e){var t,n,o,l,i,c,s=e.attributes,p=s.id,u=s.columns,m=s.layout,d=s.layoutTablet,b=s.layoutMobile,g=s.columnsGap,h=s.columnsWidth,f=s.horizontalAlign,w=s.verticalAlign,y=s.backgroundType,v=s.backgroundColor,k=s.backgroundImageURL,E=s.backgroundAttachment,C=s.backgroundPosition,x=s.backgroundRepeat,T=s.backgroundSize,S=s.backgroundGradientFirstColor,B=s.backgroundGradientFirstLocation,O=s.backgroundGradientSecondColor,M=s.backgroundGradientSecondLocation,L=s.backgroundGradientType,N=s.backgroundGradientAngle,A=s.backgroundGradientPosition,_=s.backgroundOverlayOpacity,P=s.backgroundOverlayType,R=s.backgroundOverlayColor,I=s.backgroundOverlayImageURL,z=s.backgroundOverlayAttachment,V=s.backgroundOverlayPosition,H=s.backgroundOverlayRepeat,j=s.backgroundOverlaySize,F=s.backgroundOverlayGradientFirstColor,D=s.backgroundOverlayGradientFirstLocation,G=s.backgroundOverlayGradientSecondColor,W=s.backgroundOverlayGradientSecondLocation,Z=s.backgroundOverlayGradientType,q=s.backgroundOverlayGradientAngle,U=s.backgroundOverlayGradientPosition,K=s.backgroundOverlayFilterBlur,Q=s.backgroundOverlayFilterBrightness,J=s.backgroundOverlayFilterContrast,Y=s.backgroundOverlayFilterGrayscale,$=s.backgroundOverlayFilterHue,ee=s.backgroundOverlayFilterSaturate,te=s.backgroundOverlayBlend,oe=s.borderType,le=s.border,re=s.borderTop,ie=s.borderRight,ce=s.borderBottom,se=s.borderLeft,pe=s.borderColor,ue=s.borderRadiusType,me=s.borderRadius,de=s.borderRadiusTop,be=s.borderRadiusRight,ge=s.borderRadiusBottom,he=s.borderRadiusLeft,fe=s.boxShadow,we=s.boxShadowColor,ye=s.boxShadowColorOpacity,ve=s.boxShadowBlur,ke=s.boxShadowSpread,Ee=s.boxShadowHorizontal,Ce=s.boxShadowVertical,xe=s.dividerTopType,Te=s.dividerTopColor,Se=s.dividerTopInvert,Be=s.dividerBottomType,Oe=s.dividerBottomColor,Me=s.dividerBottomInvert,Le=s.hide,Ne=s.hideTablet,Ae=s.hideMobile,_e=s.columnsHTMLTag;("color"===y&&(t={background:v}),"image"===y&&(t={backgroundImage:"url( '".concat(k,"' )"),backgroundAttachment:E,backgroundPosition:C,backgroundRepeat:x,backgroundSize:T}),"gradient"===y)&&(c="linear"===L?"".concat(N,"deg"):"at ".concat(A),t={background:"".concat(L,"-gradient( ").concat(c,", ").concat(S||"rgba( 0, 0, 0, 0 )"," ").concat(B,"%, ").concat(O||"rgba( 0, 0, 0, 0 )"," ").concat(M,"% )")});"linked"===oe&&(o={borderWidth:"".concat(le,"px"),borderStyle:"solid",borderColor:pe}),"unlinked"===oe&&(o={borderTopWidth:"".concat(re,"px"),borderRightWidth:"".concat(ie,"px"),borderBottomWidth:"".concat(ce,"px"),borderLeftWidth:"".concat(se,"px"),borderStyle:"solid",borderColor:pe}),"linked"===ue&&(l={borderRadius:"".concat(me,"px")}),"unlinked"===ue&&(l={borderTopLeftRadius:"".concat(de,"px"),borderTopRightRadius:"".concat(be,"px"),borderBottomRightRadius:"".concat(ge,"px"),borderBottomLeftRadius:"".concat(he,"px")}),!0===fe&&(i={boxShadow:"".concat(Ee,"px ").concat(Ce,"px ").concat(ve,"px ").concat(ke,"px ").concat(r()(we||"#000000",ye))});var Pe,Re=ne({},t,{},o,{},l,{},i,{justifyContent:f});("color"===P&&(n={background:R,opacity:_/100}),"image"===P&&(n={backgroundImage:"url( '".concat(I,"' )"),backgroundAttachment:z,backgroundPosition:V,backgroundRepeat:H,backgroundSize:j,opacity:_/100}),"gradient"===P)&&(Pe="linear"===Z?"".concat(q,"deg"):"at ".concat(U),n={background:"".concat(Z,"-gradient( ").concat(Pe,", ").concat(F||"rgba( 0, 0, 0, 0 )"," ").concat(D,"%, ").concat(G||"rgba( 0, 0, 0, 0 )"," ").concat(W,"% )"),opacity:_/100});var Ie=ne({},n,{mixBlendMode:te,filter:"blur( ".concat(K/10,"px ) brightness( ").concat(Q/10," ) contrast( ").concat(J/10," ) grayscale( ").concat(Y/100," ) hue-rotate( ").concat($,"deg ) saturate( ").concat(ee/10," )")}),ze={};h&&(ze={maxWidth:h+"px"});var Ve=Le?"":"has-desktop-".concat(m,"-layout"),He=Ne?"":"has-tablet-".concat(d,"-layout"),je=Ae?"":"has-mobile-".concat(b,"-layout"),Fe=a()(e.className,"has-".concat(u,"-columns"),Ve,He,je,{"hide-in-desktop":Le},{"hide-in-tablet":Ne},{"hide-in-mobile":Ae},"has-".concat(g,"-gap"),"has-vertical-".concat(w));return wp.element.createElement(_e,{className:Fe,id:p,style:Re},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:Ie}),wp.element.createElement(X.default,{type:"top",front:!0,style:xe,fill:Te,invert:Se}),wp.element.createElement("div",{className:"innerblocks-wrap",style:ze},wp.element.createElement(ae.Content,null)),wp.element.createElement(X.default,{type:"bottom",front:!0,style:Be,fill:Oe,invert:Me}))}}];function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(n,!0).forEach((function(t){ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var se=lodash.times,pe=wp.i18n.__,ue=wp.blocks.registerBlockType,me=wp.components,de=me.BaseControl,be=me.Button,ge=me.ButtonGroup,he=me.Dashicon,fe=me.Icon,we=me.IconButton,ye=me.PanelBody,ve=me.Tooltip,ke=me.ToggleControl,Ee=me.RangeControl,Ce=me.SelectControl,xe=me.TextControl,Te=wp.compose,Se=Te.compose,Be=Te.withState,Oe=wp.data,Me=Oe.withDispatch,Le=Oe.withSelect,Ne=wp.blockEditor||wp.editor,Ae=Ne.__experimentalBlockNavigationList,_e=Ne.ColorPalette,Pe=Ne.InnerBlocks,Re=Ne.InspectorAdvancedControls,Ie=Ne.InspectorControls,ze=Ne.MediaPlaceholder,Ve=wp.element.Fragment,He=wp.viewport.withViewportMatch;function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(n,!0).forEach((function(t){De(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}ue("themeisle-blocks/advanced-columns",{title:pe("Section"),description:pe("Add a Section block that displays content in multiple columns, then add whatever content blocks you’d like."),icon:i.f,category:"themeisle-blocks",keywords:["advanced columns","layout","grid"],attributes:{id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},deprecated:le,edit:Se([Me((function(e){return{updateBlockAttributes:(e("core/block-editor")||e("core/editor")).updateBlockAttributes}})),Le((function(e,t){var n=t.clientId;return{sectionBlock:(0,(e("core/block-editor")||e("core/editor")).getBlock)(n),props:t}})),Be({tab:"layout",columnsViewType:"desktop",paddingViewType:"desktop",marginViewType:"desktop",heightViewType:"desktop",dividerViewType:"top",dividerWidthViewType:"desktop",dividerHeightViewType:"desktop"}),He({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"})])((function(e){var t=e.tab,n=e.columnsViewType,o=e.paddingViewType,l=e.marginViewType,d=e.heightViewType,b=e.dividerViewType,g=e.dividerWidthViewType,h=e.dividerHeightViewType,f=e.setState,w=e.isLarger,y=e.isLarge,v=e.isSmall,k=e.isSmaller,E=e.props,C=e.sectionBlock,x=e.updateBlockAttributes,T=E.attributes,S=T.id,B=T.columns,O=T.layout,N=T.layoutTablet,A=T.layoutMobile,_=T.columnsGap,P=T.paddingType,R=T.paddingTypeTablet,I=T.paddingTypeMobile,z=T.padding,V=T.paddingTablet,H=T.paddingMobile,j=T.paddingTop,F=T.paddingTopTablet,D=T.paddingTopMobile,G=T.paddingRight,W=T.paddingRightTablet,Z=T.paddingRightMobile,q=T.paddingBottom,U=T.paddingBottomTablet,K=T.paddingBottomMobile,Q=T.paddingLeft,J=T.paddingLeftTablet,Y=T.paddingLeftMobile,te=T.marginType,ne=T.marginTypeTablet,oe=T.marginTypeMobile,ae=T.margin,le=T.marginTablet,re=T.marginMobile,ue=T.marginTop,me=T.marginTopTablet,Te=T.marginTopMobile,Se=T.marginBottom,Be=T.marginBottomTablet,Oe=T.marginBottomMobile,Me=T.columnsWidth,Le=T.columnsHeight,Ne=T.columnsHeightCustom,He=T.columnsHeightCustomTablet,je=T.columnsHeightCustomMobile,Fe=T.horizontalAlign,De=T.verticalAlign,Ge=T.backgroundType,We=T.backgroundColor,Ze=T.backgroundImageID,qe=T.backgroundImageURL,Ue=T.backgroundAttachment,Ke=T.backgroundPosition,Qe=T.backgroundRepeat,Je=T.backgroundSize,Ye=T.backgroundGradientFirstColor,$e=T.backgroundGradientFirstLocation,Xe=T.backgroundGradientSecondColor,et=T.backgroundGradientSecondLocation,tt=T.backgroundGradientType,nt=T.backgroundGradientAngle,ot=T.backgroundGradientPosition,at=T.backgroundOverlayOpacity,lt=T.backgroundOverlayType,rt=T.backgroundOverlayColor,it=T.backgroundOverlayImageID,ct=T.backgroundOverlayImageURL,st=T.backgroundOverlayAttachment,pt=T.backgroundOverlayPosition,ut=T.backgroundOverlayRepeat,mt=T.backgroundOverlaySize,dt=T.backgroundOverlayGradientFirstColor,bt=T.backgroundOverlayGradientFirstLocation,gt=T.backgroundOverlayGradientSecondColor,ht=T.backgroundOverlayGradientSecondLocation,ft=T.backgroundOverlayGradientType,wt=T.backgroundOverlayGradientAngle,yt=T.backgroundOverlayGradientPosition,vt=T.backgroundOverlayFilterBlur,kt=T.backgroundOverlayFilterBrightness,Et=T.backgroundOverlayFilterContrast,Ct=T.backgroundOverlayFilterGrayscale,xt=T.backgroundOverlayFilterHue,Tt=T.backgroundOverlayFilterSaturate,St=T.backgroundOverlayBlend,Bt=T.borderType,Ot=T.border,Mt=T.borderTop,Lt=T.borderRight,Nt=T.borderBottom,At=T.borderLeft,_t=T.borderColor,Pt=T.borderRadiusType,Rt=T.borderRadius,It=T.borderRadiusTop,zt=T.borderRadiusRight,Vt=T.borderRadiusBottom,Ht=T.borderRadiusLeft,jt=T.boxShadow,Ft=T.boxShadowColor,Dt=T.boxShadowColorOpacity,Gt=T.boxShadowBlur,Wt=T.boxShadowSpread,Zt=T.boxShadowHorizontal,qt=T.boxShadowVertical,Ut=T.dividerTopType,Kt=T.dividerTopColor,Qt=T.dividerTopWidth,Jt=T.dividerTopWidthTablet,Yt=T.dividerTopWidthMobile,$t=T.dividerTopHeight,Xt=T.dividerTopHeightTablet,en=T.dividerTopHeightMobile,tn=T.dividerTopInvert,nn=T.dividerBottomType,on=T.dividerBottomColor,an=T.dividerBottomWidth,ln=T.dividerBottomWidthTablet,rn=T.dividerBottomWidthMobile,cn=T.dividerBottomHeight,sn=T.dividerBottomHeightTablet,pn=T.dividerBottomHeightMobile,un=T.dividerBottomInvert,mn=T.hide,dn=T.hideTablet,bn=T.hideMobile,gn=T.columnsHTMLTag;if(void 0===S||S.substr(S.length-8)!==E.clientId.substr(0,8)){var hn="wp-block-themeisle-blocks-advanced-columns-".concat(E.clientId.substr(0,8));E.setAttributes({id:hn})}var fn,wn,yn,vn,kn,En,Cn,xn=w&&!y&&v&&!k,Tn=!w&&!y&&v&&!k,Sn=!(w||y||v||k),Bn=gn;(xn&&(fn={paddingRight:"".concat("linked"===P?z:G,"px"),paddingLeft:"".concat("linked"===P?z:Q,"px"),marginTop:"".concat("linked"===te?ae:ue,"px"),marginBottom:"".concat("linked"===te?ae:Se,"px"),minHeight:"custom"===Le?"".concat(Ne,"px"):Le}),Tn&&(fn={paddingRight:"".concat("linked"===R?V:W,"px"),paddingLeft:"".concat("linked"===R?V:J,"px"),marginTop:"".concat("linked"===ne?le:me,"px"),marginBottom:"".concat("linked"===ne?le:Be,"px"),minHeight:"custom"===Le?"".concat(He,"px"):Le}),Sn&&(fn={paddingRight:"".concat("linked"===I?H:Z,"px"),paddingLeft:"".concat("linked"===I?H:Y,"px"),marginTop:"".concat("linked"===oe?re:Te,"px"),marginBottom:"".concat("linked"===oe?re:Oe,"px"),minHeight:"custom"===Le?"".concat(je,"px"):Le}),"color"===Ge&&(wn={background:We}),"image"===Ge&&(wn={backgroundImage:"url( '".concat(qe,"' )"),backgroundAttachment:Ue,backgroundPosition:Ke,backgroundRepeat:Qe,backgroundSize:Je}),"gradient"===Ge)&&(Cn="linear"===tt?"".concat(nt,"deg"):"at ".concat(ot),(Ye||Xe)&&(wn={background:"".concat(tt,"-gradient( ").concat(Cn,", ").concat(Ye||"rgba( 0, 0, 0, 0 )"," ").concat($e,"%, ").concat(Xe||"rgba( 0, 0, 0, 0 )"," ").concat(et,"% )")}));"linked"===Bt&&(vn={borderWidth:"".concat(Ot,"px"),borderStyle:"solid",borderColor:_t}),"unlinked"===Bt&&(vn={borderTopWidth:"".concat(Mt,"px"),borderRightWidth:"".concat(Lt,"px"),borderBottomWidth:"".concat(Nt,"px"),borderLeftWidth:"".concat(At,"px"),borderStyle:"solid",borderColor:_t}),"linked"===Pt&&(kn={borderRadius:"".concat(Rt,"px")}),"unlinked"===Pt&&(kn={borderTopLeftRadius:"".concat(It,"px"),borderTopRightRadius:"".concat(zt,"px"),borderBottomRightRadius:"".concat(Vt,"px"),borderBottomLeftRadius:"".concat(Ht,"px")}),!0===jt&&(En={boxShadow:"".concat(Zt,"px ").concat(qt,"px ").concat(Gt,"px ").concat(Wt,"px ").concat(r()(Ft||"#000000",Dt))});var On,Mn=ie({},fn,{},wn,{},vn,{},kn,{},En,{alignItems:Fe,justifyContent:De});("color"===lt&&(yn={background:rt,opacity:at/100}),"image"===lt&&(yn={backgroundImage:"url( '".concat(ct,"' )"),backgroundAttachment:st,backgroundPosition:pt,backgroundRepeat:ut,backgroundSize:mt,opacity:at/100}),"gradient"===lt)&&(On="linear"===ft?"".concat(wt,"deg"):"at ".concat(yt),yn={background:"".concat(ft,"-gradient( ").concat(On,", ").concat(dt||"rgba( 0, 0, 0, 0 )"," ").concat(bt,"%, ").concat(gt||"rgba( 0, 0, 0, 0 )"," ").concat(ht,"% )"),opacity:at/100});var Ln=ie({},yn,{mixBlendMode:St,filter:"blur( ".concat(vt/10,"px ) brightness( ").concat(kt/10," ) contrast( ").concat(Et/10," ) grayscale( ").concat(Ct/100," ) hue-rotate( ").concat(xt,"deg ) saturate( ").concat(Tt/10," )")}),Nn={};Me&&(Nn={maxWidth:Me+"px"});var An=a()(E.className,"has-".concat(B,"-columns"),"has-desktop-".concat(O,"-layout"),"has-tablet-".concat(N,"-layout"),"has-mobile-".concat(A,"-layout"),"has-".concat(_,"-gap")),_n=function(e){f({dividerViewType:e})},Pn=function(e,t){C.innerBlocks.map((function(n,o){x(n.clientId,{columnWidth:parseFloat(c[e][t][o])})}))},Rn=function(e){var t;return"top"==e&&("desktop"===o&&(t="linked"===P?z:j),"tablet"===o&&(t="linked"===R?V:F),"mobile"===o&&(t="linked"===I?H:D)),"right"==e&&("desktop"===o&&(t="linked"===P?z:G),"tablet"===o&&(t="linked"===R?V:W),"mobile"===o&&(t="linked"===I?H:Z)),"bottom"==e&&("desktop"===o&&(t="linked"===P?z:q),"tablet"===o&&(t="linked"===R?V:U),"mobile"===o&&(t="linked"===I?H:K)),"left"==e&&("desktop"===o&&(t="linked"===P?z:Q),"tablet"===o&&(t="linked"===R?V:J),"mobile"===o&&(t="linked"===I?H:Y)),t},In=function(e){var t;return"top"==e&&(xn&&(t="linked"===P?z:j),Tn&&(t="linked"===R?V:F),Sn&&(t="linked"===I?H:D)),"bottom"==e&&(xn&&(t="linked"===P?z:q),Tn&&(t="linked"===R?V:U),Sn&&(t="linked"===I?H:K)),t},zn={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},Vn={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},Hn={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},jn=function(){var e;return"desktop"===o&&(e=P),"tablet"===o&&(e=R),"mobile"===o&&(e=I),e};jn=jn();var Fn=function(e){var t;return"top"==e&&("desktop"===l&&(t="linked"===te?ae:ue),"tablet"===l&&(t="linked"===ne?le:me),"mobile"===l&&(t="linked"===oe?re:Te)),"bottom"==e&&("desktop"===l&&(t="linked"===te?ae:Se),"tablet"===l&&(t="linked"===ne?le:Be),"mobile"===l&&(t="linked"===oe?re:Oe)),t},Dn={top:"marginTop",bottom:"marginBottom"},Gn={top:"marginTopTablet",bottom:"marginBottomTablet"},Wn={top:"marginTopMobile",bottom:"marginBottomMobile"},Zn=function(){var e;return"desktop"===l&&(e=te),"tablet"===l&&(e=ne),"mobile"===l&&(e=oe),e};Zn=Zn();var qn=function(){var e;return"desktop"===d&&(e=Ne),"tablet"===d&&(e=He),"mobile"===d&&(e=je),e};qn=qn();var Un=function(e){if(Fe===e)return E.setAttributes({horizontalAlign:"unset"});E.setAttributes({horizontalAlign:e})},Kn=function(e){if(De===e)return E.setAttributes({verticalAlign:"unset"});E.setAttributes({verticalAlign:e})},Qn=function(){E.setAttributes({backgroundImageID:"",backgroundImageURL:""})},Jn=function(){E.setAttributes({backgroundOverlayImageID:"",backgroundOverlayImageURL:""})},Yn=function(e){var t;return"top"==e&&(t="linked"===Bt?Ot:Mt),"right"==e&&(t="linked"===Bt?Ot:Lt),"bottom"==e&&(t="linked"===Bt?Ot:Nt),"left"==e&&(t="linked"===Bt?Ot:At),t},$n={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},Xn=function(e){var t;return"top"==e&&(t="linked"===Pt?Rt:It),"right"==e&&(t="linked"===Pt?Rt:zt),"bottom"==e&&(t="linked"===Pt?Rt:Vt),"left"==e&&(t="linked"===Pt?Rt:Ht),t},eo={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},to=function(){var e;return"top"==b&&(e=Ut),"bottom"==b&&(e=nn),e};to=to();var no=function(){var e;return"top"==b&&(e=Kt),"bottom"==b&&(e=on),e};no=no();var oo=function(){var e;return"top"==b&&(e=tn),"bottom"==b&&(e=un),e};oo=oo();var ao=function(){var e;return"top"==b&&("desktop"==g&&(e=Qt),"tablet"==g&&(e=Jt),"mobile"==g&&(e=Yt)),"bottom"==b&&("desktop"==g&&(e=an),"tablet"==g&&(e=ln),"mobile"==g&&(e=rn)),e};ao=ao();var lo=function(){var e;return xn&&(e=Qt),Tn&&(e=Jt),Sn&&(e=Yt),e};lo=lo();var ro=function(){var e;return xn&&(e=an),Tn&&(e=ln),Sn&&(e=rn),e};ro=ro();var io=function(){var e;return"top"==b&&("desktop"==h&&(e=$t),"tablet"==h&&(e=Xt),"mobile"==h&&(e=en)),"bottom"==b&&("desktop"==h&&(e=cn),"tablet"==h&&(e=sn),"mobile"==h&&(e=pn)),e};io=io();var co=function(){var e;return xn&&(e=$t),Tn&&(e=Xt),Sn&&(e=en),e};co=co();var so=function(){var e;return xn&&(e=cn),Tn&&(e=sn),Sn&&(e=pn),e};so=so();var po=function(e,t){"desktop"===t&&E.setAttributes({hide:e}),"tablet"===t&&E.setAttributes({hideTablet:e}),"mobile"===t&&E.setAttributes({hideMobile:e})};return B?wp.element.createElement(Ve,null,Ae&&wp.element.createElement($,{clientId:E.clientId}),wp.element.createElement(Ie,null,wp.element.createElement(ye,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(be,{className:a()("header-tab",{"is-selected":"layout"===t}),onClick:function(){return f({tab:"layout"})}},wp.element.createElement("span",null,wp.element.createElement(he,{icon:"editor-table"}),pe("Layout"))),wp.element.createElement(be,{className:a()("header-tab",{"is-selected":"style"===t}),onClick:function(){return f({tab:"style"})}},wp.element.createElement("span",null,wp.element.createElement(he,{icon:"admin-customizer"}),pe("Style"))),wp.element.createElement(be,{className:a()("header-tab",{"is-selected":"advanced"===t}),onClick:function(){return f({tab:"advanced"})}},wp.element.createElement("span",null,wp.element.createElement(he,{icon:"admin-generic"}),pe("Advanced")))),"layout"===t&&wp.element.createElement(Ve,null,wp.element.createElement(ye,{title:pe("Columns & Layout")},wp.element.createElement(Ee,{label:pe("Columns"),value:B,onChange:function(e){6>=e&&(E.setAttributes({columns:e,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),Pn(e,"equal")),6<e&&(E.setAttributes({columns:6,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),Pn(6,"equal")),1>=e&&(E.setAttributes({columns:1,layout:"equal",layoutTablet:"equal",layoutMobile:"equal"}),Pn(1,"equal"))},min:1,max:6}),wp.element.createElement(s.default,{label:pe("Layout"),columns:B,changeViewType:function(e){f({columnsViewType:e})},onClick:function(e){"desktop"===n&&(E.setAttributes({layout:e}),Pn(B,e)),"tablet"===n&&E.setAttributes({layoutTablet:e}),"mobile"===n&&E.setAttributes({layoutMobile:e})},layout:O,layoutTablet:N,layoutMobile:A,view:n}),wp.element.createElement(Ce,{label:pe("Columns Gap"),value:_,options:[{label:"Default (10px)",value:"default"},{label:"No Gap",value:"nogap"},{label:"Narrow (5px)",value:"narrow"},{label:"Extended (15px)",value:"extended"},{label:"Wide (20px)",value:"wide"},{label:"Wider (30px)",value:"wider"}],onChange:function(e){E.setAttributes({columnsGap:e})}})),wp.element.createElement(ye,{title:pe("Padding & Margin"),initialOpen:!1},wp.element.createElement(u.a,{label:"Padding",view:o,changeViewType:function(e){f({paddingViewType:e})}},wp.element.createElement(p.a,{type:jn,min:0,max:500,changeType:function(e){"desktop"===o&&E.setAttributes({paddingType:e}),"tablet"===o&&E.setAttributes({paddingTypeTablet:e}),"mobile"===o&&E.setAttributes({paddingTypeMobile:e})},onChange:function(e,t){"desktop"===o&&("linked"===P?E.setAttributes({padding:t}):E.setAttributes(ce({},zn[e],t))),"tablet"===o&&("linked"===R?E.setAttributes({paddingTablet:t}):E.setAttributes(ce({},Vn[e],t))),"mobile"===o&&("linked"===I?E.setAttributes({paddingMobile:t}):E.setAttributes(ce({},Hn[e],t)))},options:[{label:pe("Top"),type:"top",value:Rn("top")},{label:pe("Right"),type:"right",value:Rn("right")},{label:pe("Bottom"),type:"bottom",value:Rn("bottom")},{label:pe("Left"),type:"left",value:Rn("left")}]})),wp.element.createElement(u.a,{label:"Margin",view:l,changeViewType:function(e){f({marginViewType:e})}},wp.element.createElement(p.a,{type:Zn,min:-500,max:500,changeType:function(e){"desktop"===l&&E.setAttributes({marginType:e}),"tablet"===l&&E.setAttributes({marginTypeTablet:e}),"mobile"===l&&E.setAttributes({marginTypeMobile:e})},onChange:function(e,t){"desktop"===l&&("linked"===te?E.setAttributes({margin:t}):E.setAttributes(ce({},Dn[e],t))),"tablet"===l&&("linked"===ne?E.setAttributes({marginTablet:t}):E.setAttributes(ce({},Gn[e],t))),"mobile"===l&&("linked"===oe?E.setAttributes({marginMobile:t}):E.setAttributes(ce({},Wn[e],t)))},options:[{label:pe("Top"),type:"top",value:Fn("top")},{label:pe("Right"),disabled:!0},{label:pe("Bottom"),type:"bottom",value:Fn("bottom")},{label:pe("Left"),disabled:!0}]}))),wp.element.createElement(ye,{title:pe("Section Structure"),initialOpen:!1},wp.element.createElement(Ee,{label:pe("Maximum Content Width"),value:Me||"",onChange:function(e){(0<=e&&1200>=e||void 0===e)&&E.setAttributes({columnsWidth:e})},min:0,max:1200}),Me&&wp.element.createElement(de,{label:"Horizontal Align"},wp.element.createElement(ge,{className:"icon-buttom-group"},wp.element.createElement(ve,{text:pe("Left")},wp.element.createElement(we,{icon:"editor-alignleft",className:"is-button is-large",isPrimary:"flex-start"===Fe,onClick:function(){return Un("flex-start")}})),wp.element.createElement(ve,{text:pe("Center")},wp.element.createElement(we,{icon:"editor-aligncenter",className:"is-button is-large",isPrimary:"center"===Fe,onClick:function(){return Un("center")}})),wp.element.createElement(ve,{text:pe("Right")},wp.element.createElement(we,{icon:"editor-alignright",className:"is-button is-large",isPrimary:"flex-end"===Fe,onClick:function(){return Un("flex-end")}})))),wp.element.createElement(Ce,{label:pe("Minimum Height"),value:Le,options:[{label:"Default",value:"auto"},{label:"Fit to Screen",value:"100vh"},{label:"Custom",value:"custom"}],onChange:function(e){E.setAttributes({columnsHeight:e})}}),"custom"===Le&&wp.element.createElement(u.a,{label:"Custom Height",view:d,changeViewType:function(e){f({heightViewType:e})}},wp.element.createElement(Ee,{value:qn||"",onChange:function(e){"desktop"===d&&E.setAttributes({columnsHeightCustom:e}),"tablet"===d&&E.setAttributes({columnsHeightCustomTablet:e}),"mobile"===d&&E.setAttributes({columnsHeightCustomMobile:e})},min:0,max:1e3})),"auto"!==Le&&wp.element.createElement(de,{label:"Vertical Align"},wp.element.createElement(ge,{className:"icon-buttom-group"},wp.element.createElement(ve,{text:pe("Top")},wp.element.createElement(be,{className:"components-icon-button is-button is-large",isPrimary:"flex-start"===De,onClick:function(){return Kn("flex-start")}},wp.element.createElement(fe,{icon:i.s,size:20}))),wp.element.createElement(ve,{text:pe("Middle")},wp.element.createElement(be,{className:"components-icon-button is-button is-large",isPrimary:"center"===De,onClick:function(){return Kn("center")}},wp.element.createElement(fe,{icon:i.j,size:20}))),wp.element.createElement(ve,{text:pe("Bottom")},wp.element.createElement(be,{className:"components-icon-button is-button is-large",isPrimary:"flex-end"===De,onClick:function(){return Kn("flex-end")}},wp.element.createElement(fe,{icon:i.c,size:20})))))))||"style"===t&&wp.element.createElement(Ve,null,wp.element.createElement(ye,{title:pe("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(m.default,{label:pe("Background Type"),backgroundType:Ge,changeBackgroundType:function(e){E.setAttributes({backgroundType:e})}}),"color"===Ge&&wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Background Color")),wp.element.createElement(_e,{label:"Background Color",value:We,onChange:function(e){E.setAttributes({backgroundColor:e})}}))||"image"===Ge&&(qe?wp.element.createElement(Ve,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(qe,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:Qn},wp.element.createElement(he,{icon:"trash"}),wp.element.createElement("span",null,pe("Remove Image"))))),wp.element.createElement(be,{isDefault:!0,className:"image-delete-button",onClick:Qn},pe("Change or Remove Image")),wp.element.createElement(L.a,{label:"Background Settings"},wp.element.createElement(Ce,{label:pe("Background Attachment"),value:Ue,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){E.setAttributes({backgroundAttachment:e})}}),wp.element.createElement(Ce,{label:pe("Background Position"),value:Ke,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){E.setAttributes({backgroundPosition:e})}}),wp.element.createElement(Ce,{label:pe("Background Repeat"),value:Qe,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){E.setAttributes({backgroundRepeat:e})}}),wp.element.createElement(Ce,{label:pe("Background Size"),value:Je,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){E.setAttributes({backgroundSize:e})}}))):wp.element.createElement(ze,{icon:"format-image",labels:{title:pe("Background Image"),name:pe("an image")},value:Ze,onSelect:function(e){E.setAttributes({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===Ge&&wp.element.createElement(M,{label:"Background Gradient",value:{firstColor:Ye,firstLocation:$e,secondColor:Xe,secondLocation:et,type:tt,angle:nt,position:ot},onChange:function(e,t,n,o,a,l,r){E.setAttributes({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:n,backgroundGradientSecondLocation:o,backgroundGradientType:a,backgroundGradientAngle:l,backgroundGradientPosition:r})}})),wp.element.createElement(ye,{title:pe("Background Overlay"),className:"wp-block-themeisle-image-container",initialOpen:!1},wp.element.createElement(m.default,{label:pe("Overlay Type"),backgroundType:lt,changeBackgroundType:function(e){E.setAttributes({backgroundOverlayType:e})}}),wp.element.createElement(Ee,{label:pe("Overlay Opacity"),value:at,onChange:function(e){E.setAttributes({backgroundOverlayOpacity:e})},min:0,max:100}),"color"===lt&&wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Overlay Color")),wp.element.createElement(_e,{label:"Overlay Color",value:rt,onChange:function(e){E.setAttributes({backgroundOverlayColor:e})}}))||"image"===lt&&(ct?wp.element.createElement(Ve,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(ct,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:Jn},wp.element.createElement(he,{icon:"trash"}),wp.element.createElement("span",null,pe("Remove Image"))))),wp.element.createElement(be,{isDefault:!0,className:"image-delete-button",onClick:Jn},pe("Change or Remove Image")),wp.element.createElement(L.a,{label:"Background Settings"},wp.element.createElement(Ce,{label:pe("Background Attachment"),value:st,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){E.setAttributes({backgroundOverlayAttachment:e})}}),wp.element.createElement(Ce,{label:pe("Background Position"),value:pt,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){E.setAttributes({backgroundOverlayPosition:e})}}),wp.element.createElement(Ce,{label:pe("Background Repeat"),value:ut,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){E.setAttributes({backgroundOverlayRepeat:e})}}),wp.element.createElement(Ce,{label:pe("Background Size"),value:mt,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){E.setAttributes({backgroundOverlaySize:e})}}))):wp.element.createElement(ze,{icon:"format-image",labels:{title:pe("Background Image"),name:pe("an image")},value:it,onSelect:function(e){E.setAttributes({backgroundOverlayImageID:e.id,backgroundOverlayImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===lt&&wp.element.createElement(M,{label:"Background Gradient",value:{firstColor:dt,firstLocation:bt,secondColor:gt,secondLocation:ht,type:ft,angle:wt,position:yt},onChange:function(e,t,n,o,a,l,r){E.setAttributes({backgroundOverlayGradientFirstColor:e,backgroundOverlayGradientFirstLocation:t,backgroundOverlayGradientSecondColor:n,backgroundOverlayGradientSecondLocation:o,backgroundOverlayGradientType:a,backgroundOverlayGradientAngle:l,backgroundOverlayGradientPosition:r})}}),wp.element.createElement(L.a,{label:"CSS Filters"},wp.element.createElement(Ee,{label:pe("Blur"),value:vt,onChange:function(e){E.setAttributes({backgroundOverlayFilterBlur:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Brightness"),value:kt,onChange:function(e){E.setAttributes({backgroundOverlayFilterBrightness:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Contrast"),value:Et,onChange:function(e){E.setAttributes({backgroundOverlayFilterContrast:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Grayscale"),value:Ct,onChange:function(e){E.setAttributes({backgroundOverlayFilterGrayscale:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Hue"),value:xt,onChange:function(e){E.setAttributes({backgroundOverlayFilterHue:e})},min:0,max:360}),wp.element.createElement(Ee,{label:pe("Saturation"),value:Tt,onChange:function(e){E.setAttributes({backgroundOverlayFilterSaturate:e})},min:0,max:100})),wp.element.createElement(Ce,{label:pe("Blend Mode"),value:St,options:[{label:"Normal",value:"normal"},{label:"Multiply",value:"multiply"},{label:"Screen",value:"screen"},{label:"Overlay",value:"overlay"},{label:"Darken",value:"darken"},{label:"Lighten",value:"lighten"},{label:"Color Dodge",value:"color-dodge"},{label:"Color Burn",value:"color-burn"},{label:"Hard Light",value:"hard-light"},{label:"Soft Light",value:"soft-light"},{label:"Difference",value:"difference"},{label:"Exclusion",value:"exclusion"},{label:"Hue",value:"hue"},{label:"Saturation",value:"saturation"},{label:"Color",value:"color"},{label:"Luminosity",value:"luminosity"}],onChange:function(e){E.setAttributes({backgroundOverlayBlend:e})}})),wp.element.createElement(ye,{title:pe("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(p.a,{label:pe("Border Width"),type:Bt,min:0,max:500,changeType:function(e){E.setAttributes({borderType:e})},onChange:function(e,t){"linked"===Bt?E.setAttributes({border:t}):E.setAttributes(ce({},$n[e],t))},options:[{label:pe("Top"),type:"top",value:Yn("top")},{label:pe("Right"),type:"right",value:Yn("right")},{label:pe("Bottom"),type:"bottom",value:Yn("bottom")},{label:pe("Left"),type:"left",value:Yn("left")}]}),wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Border Color")),wp.element.createElement(_e,{label:"Border Color",value:_t,onChange:function(e){E.setAttributes({borderColor:e})}})),wp.element.createElement(p.a,{label:pe("Border Radius"),type:Pt,min:0,max:500,changeType:function(e){E.setAttributes({borderRadiusType:e})},onChange:function(e,t){"linked"===Pt?E.setAttributes({borderRadius:t}):E.setAttributes(ce({},eo[e],t))},options:[{label:pe("Top"),type:"top",value:Xn("top")},{label:pe("Right"),type:"right",value:Xn("right")},{label:pe("Bottom"),type:"bottom",value:Xn("bottom")},{label:pe("Left"),type:"left",value:Xn("left")}]}),wp.element.createElement(ke,{label:"Box Shadow",checked:jt,onChange:function(){E.setAttributes({boxShadow:!jt})}}),jt&&wp.element.createElement(Ve,null,wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Shadow Color")),wp.element.createElement(_e,{label:"Shadow Color",value:Ft,onChange:function(e){E.setAttributes({boxShadowColor:e})}})),wp.element.createElement(L.a,{label:"Border Shadow"},wp.element.createElement(Ee,{label:pe("Opacity"),value:Dt,onChange:function(e){E.setAttributes({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Blur"),value:Gt,onChange:function(e){E.setAttributes({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Spread"),value:Wt,onChange:function(e){E.setAttributes({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(Ee,{label:pe("Horizontal"),value:Zt,onChange:function(e){E.setAttributes({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(Ee,{label:pe("Vertical"),value:qt,onChange:function(e){E.setAttributes({boxShadowVertical:e})},min:-100,max:100})))),wp.element.createElement(ye,{title:pe("Shape Divider"),initialOpen:!1,className:"wp-block-themeisle-shape-divider"},wp.element.createElement(ge,null,wp.element.createElement(be,{className:"is-button",isPrimary:"top"===b,onClick:function(){return _n("top")}},pe("Top")),wp.element.createElement(be,{className:"is-button",isPrimary:"bottom"===b,onClick:function(){return _n("bottom")}},pe("Bottom"))),wp.element.createElement(Ce,{label:pe("Type"),value:to,options:[{label:"None",value:"none"},{label:"Triangle",value:"bigTriangle"},{label:"Right Curve",value:"rightCurve"},{label:"Curve",value:"curve"},{label:"Slant",value:"slant"},{label:"Cloud",value:"cloud"}],onChange:function(e){"top"==b&&E.setAttributes({dividerTopType:e}),"bottom"==b&&E.setAttributes({dividerBottomType:e})}}),"none"!==to&&wp.element.createElement(Ve,null,wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Color")),wp.element.createElement(_e,{label:pe("Color"),value:no,onChange:function(e){"top"==b&&E.setAttributes({dividerTopColor:e}),"bottom"==b&&E.setAttributes({dividerBottomColor:e})}})),wp.element.createElement(u.a,{label:"Width",view:g,changeViewType:function(e){f({dividerWidthViewType:e})}},wp.element.createElement(Ee,{value:ao,onChange:function(e){"top"==b&&("desktop"==g&&E.setAttributes({dividerTopWidth:e}),"tablet"==g&&E.setAttributes({dividerTopWidthTablet:e}),"mobile"==g&&E.setAttributes({dividerTopWidthMobile:e})),"bottom"==b&&("desktop"==g&&E.setAttributes({dividerBottomWidth:e}),"tablet"==g&&E.setAttributes({dividerBottomWidthTablet:e}),"mobile"==g&&E.setAttributes({dividerBottomWidthMobile:e}))},min:0,max:500})),wp.element.createElement(u.a,{label:"Height",view:h,changeViewType:function(e){f({dividerHeightViewType:e})}},wp.element.createElement(Ee,{value:io,onChange:function(e){"top"==b&&("desktop"==h&&E.setAttributes({dividerTopHeight:e}),"tablet"==h&&E.setAttributes({dividerTopHeightTablet:e}),"mobile"==h&&E.setAttributes({dividerTopHeightMobile:e})),"bottom"==b&&("desktop"==h&&E.setAttributes({dividerBottomHeight:e}),"tablet"==h&&E.setAttributes({dividerBottomHeightTablet:e}),"mobile"==h&&E.setAttributes({dividerBottomHeightMobile:e}))},min:0,max:500})),"curve"!==to&&"cloud"!==to&&wp.element.createElement(ke,{label:"Invert Shape Divider",checked:oo,onChange:function(){"top"==b&&E.setAttributes({dividerTopInvert:!tn}),"bottom"==b&&E.setAttributes({dividerBottomInvert:!un})}}))))||"advanced"===t&&wp.element.createElement(Ve,null,wp.element.createElement(ye,{title:pe("Section Visibility")},wp.element.createElement(ke,{label:"Hide this section in Desktop devices?",checked:mn,onChange:function(e){return po(e,"desktop")}}),wp.element.createElement(ke,{label:"Hide this section in Tablet devices?",checked:dn,onChange:function(e){return po(e,"tablet")}}),wp.element.createElement(ke,{label:"Hide this section in Mobile devices?",checked:bn,onChange:function(e){return po(e,"mobile")}})),wp.element.createElement(ye,{title:pe("Section Settings"),initialOpen:!1},wp.element.createElement(Ce,{label:pe("HTML Tag"),value:gn,options:[{label:"Default",value:"div"},{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){E.setAttributes({columnsHTMLTag:e})}})))),wp.element.createElement(Re,null,wp.element.createElement(xe,{label:pe("HTML Anchor"),help:pe("Anchors lets you link directly to a section on a page."),value:S,readonly:"readonly",onClick:function(e){return e.target.select()}})),wp.element.createElement(Bn,{className:An,style:Mn},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:Ln}),wp.element.createElement("div",{className:"wp-themeisle-block-advanced-columns-padding-container",style:{height:"".concat(In("top"),"px")}},wp.element.createElement("div",{className:"block-space-size"},wp.element.createElement("span",{id:"paddingTop"},"".concat(In("top"),"px")))),wp.element.createElement(X.default,{type:"top",style:Ut,fill:Kt,invert:tn,width:lo,height:co}),wp.element.createElement("div",{className:"innerblocks-wrap",style:Nn},wp.element.createElement(Pe,{allowedBlocks:["themeisle-blocks/advanced-columns"],template:function(e){return se(e,(function(t){return["themeisle-blocks/advanced-column",{columnWidth:parseFloat(c[e][O][t])}]}))}(B),templateLock:"all"})),wp.element.createElement(X.default,{type:"bottom",style:nn,fill:on,invert:un,width:ro,height:so}),wp.element.createElement("div",{className:"wp-themeisle-block-advanced-columns-padding-container",style:{height:"".concat(In("bottom"),"px")}},wp.element.createElement("div",{className:"block-space-size"},wp.element.createElement("span",{id:"paddingBottom"},"".concat(In("bottom"),"px")))))):wp.element.createElement(ee.default,{clientId:E.clientId,setupColumns:function(e,t){1>=e?E.setAttributes({columns:e,layout:t,layoutTablet:"equal",layoutMobile:"equal"}):E.setAttributes({columns:e,layout:t,layoutTablet:"equal",layoutMobile:"collapsedRows"})}})})),save:function(e){var t,n,o,l,i,c,s=e.attributes,p=s.id,u=s.columns,m=s.layout,d=s.layoutTablet,b=s.layoutMobile,g=s.columnsGap,h=s.columnsWidth,f=s.horizontalAlign,w=s.verticalAlign,y=s.backgroundType,v=s.backgroundColor,k=s.backgroundImageURL,E=s.backgroundAttachment,C=s.backgroundPosition,x=s.backgroundRepeat,T=s.backgroundSize,S=s.backgroundGradientFirstColor,B=s.backgroundGradientFirstLocation,O=s.backgroundGradientSecondColor,M=s.backgroundGradientSecondLocation,L=s.backgroundGradientType,N=s.backgroundGradientAngle,A=s.backgroundGradientPosition,_=s.backgroundOverlayOpacity,P=s.backgroundOverlayType,R=s.backgroundOverlayColor,I=s.backgroundOverlayImageURL,z=s.backgroundOverlayAttachment,V=s.backgroundOverlayPosition,H=s.backgroundOverlayRepeat,j=s.backgroundOverlaySize,F=s.backgroundOverlayGradientFirstColor,D=s.backgroundOverlayGradientFirstLocation,G=s.backgroundOverlayGradientSecondColor,W=s.backgroundOverlayGradientSecondLocation,Z=s.backgroundOverlayGradientType,q=s.backgroundOverlayGradientAngle,U=s.backgroundOverlayGradientPosition,K=s.backgroundOverlayBlend,Q=s.borderType,J=s.border,Y=s.borderTop,$=s.borderRight,ee=s.borderBottom,te=s.borderLeft,ne=s.borderColor,oe=s.borderRadiusType,ae=s.borderRadius,le=s.borderRadiusTop,re=s.borderRadiusRight,ce=s.borderRadiusBottom,se=s.borderRadiusLeft,pe=s.boxShadow,ue=s.boxShadowColor,me=s.boxShadowColorOpacity,de=s.boxShadowBlur,be=s.boxShadowSpread,ge=s.boxShadowHorizontal,he=s.boxShadowVertical,fe=s.dividerTopType,we=s.dividerTopColor,ye=s.dividerTopInvert,ve=s.dividerBottomType,ke=s.dividerBottomColor,Ee=s.dividerBottomInvert,Ce=s.hide,xe=s.hideTablet,Te=s.hideMobile,Se=s.columnsHTMLTag;("color"===y&&(t={background:v}),"image"===y&&(t={backgroundImage:"url( '".concat(k,"' )"),backgroundAttachment:E,backgroundPosition:C,backgroundRepeat:x,backgroundSize:T}),"gradient"===y)&&(c="linear"===L?"".concat(N,"deg"):"at ".concat(A),t={background:"".concat(L,"-gradient( ").concat(c,", ").concat(S||"rgba( 0, 0, 0, 0 )"," ").concat(B,"%, ").concat(O||"rgba( 0, 0, 0, 0 )"," ").concat(M,"% )")});"linked"===Q&&(o={borderWidth:"".concat(J,"px"),borderStyle:"solid",borderColor:ne}),"unlinked"===Q&&(o={borderTopWidth:"".concat(Y,"px"),borderRightWidth:"".concat($,"px"),borderBottomWidth:"".concat(ee,"px"),borderLeftWidth:"".concat(te,"px"),borderStyle:"solid",borderColor:ne}),"linked"===oe&&(l={borderRadius:"".concat(ae,"px")}),"unlinked"===oe&&(l={borderTopLeftRadius:"".concat(le,"px"),borderTopRightRadius:"".concat(re,"px"),borderBottomRightRadius:"".concat(ce,"px"),borderBottomLeftRadius:"".concat(se,"px")}),!0===pe&&(i={boxShadow:"".concat(ge,"px ").concat(he,"px ").concat(de,"px ").concat(be,"px ").concat(r()(ue||"#000000",me))});var Be,Oe=ie({},t,{},o,{},l,{},i,{justifyContent:f});("color"===P&&(n={background:R,opacity:_/100}),"image"===P&&(n={backgroundImage:"url( '".concat(I,"' )"),backgroundAttachment:z,backgroundPosition:V,backgroundRepeat:H,backgroundSize:j,opacity:_/100}),"gradient"===P)&&(Be="linear"===Z?"".concat(q,"deg"):"at ".concat(U),n={background:"".concat(Z,"-gradient( ").concat(Be,", ").concat(F||"rgba( 0, 0, 0, 0 )"," ").concat(D,"%, ").concat(G||"rgba( 0, 0, 0, 0 )"," ").concat(W,"% )"),opacity:_/100});var Me=ie({},n,{mixBlendMode:K}),Le={};h&&(Le={maxWidth:h+"px"});var Ne=Ce?"":"has-desktop-".concat(m,"-layout"),Ae=xe?"":"has-tablet-".concat(d,"-layout"),_e=Te?"":"has-mobile-".concat(b,"-layout"),Re=a()(e.className,"has-".concat(u,"-columns"),Ne,Ae,_e,{"hide-in-desktop":Ce},{"hide-in-tablet":xe},{"hide-in-mobile":Te},"has-".concat(g,"-gap"),"has-vertical-".concat(w));return wp.element.createElement(Se,{className:Re,id:p,style:Oe},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:Me}),wp.element.createElement(X.default,{type:"top",front:!0,style:fe,fill:we,invert:ye}),wp.element.createElement("div",{className:"innerblocks-wrap",style:Le},wp.element.createElement(Pe.Content,null)),wp.element.createElement(X.default,{type:"bottom",front:!0,style:ve,fill:ke,invert:Ee}))}});var Ge=wp.i18n.__,We=wp.blocks.registerBlockType,Ze=wp.components,qe=Ze.Button,Ue=Ze.Dashicon,Ke=Ze.PanelBody,Qe=Ze.ToggleControl,Je=Ze.RangeControl,Ye=Ze.ResizableBox,$e=Ze.SelectControl,Xe=wp.compose,et=Xe.compose,tt=Xe.withState,nt=wp.data,ot=nt.withDispatch,at=nt.withSelect,lt=wp.blockEditor||wp.editor,rt=lt.ColorPalette,it=lt.InnerBlocks,ct=lt.InspectorControls,st=lt.MediaPlaceholder,pt=wp.element.Fragment,ut=wp.viewport.withViewportMatch;We("themeisle-blocks/advanced-column",{title:Ge("Section Column"),description:Ge("A single column within a Section block."),parent:["themeisle-blocks/advanced-columns"],icon:i.e,category:"themeisle-blocks",attributes:{id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginRight:{type:"number",default:0},marginRightTablet:{type:"number",default:0},marginRightMobile:{type:"number",default:0},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number",default:0},marginLeftMobile:{type:"number",default:0},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},supports:{inserter:!1,reusable:!1,html:!1},edit:et([ot((function(e){return{updateBlockAttributes:(e("core/block-editor")||e("core/editor")).updateBlockAttributes}})),at((function(e,t){var n=t.clientId,o=e("core/block-editor")||e("core/editor"),a=o.getAdjacentBlockClientId,l=o.getBlock,r=o.getBlockRootClientId,i=l(n),c=a(n),s=l(c),p=r(n);return{adjacentBlockClientId:c,adjacentBlock:s,parentClientId:p,parentBlock:l(p),hasInnerBlocks:!(!i||!i.innerBlocks.length),props:t}})),tt({tab:"layout",paddingViewType:"desktop",marginViewType:"desktop",currentWidth:0,nextWidth:0}),ut({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"})])((function(e){var t=e.tab,n=e.paddingViewType,o=e.marginViewType,l=e.currentWidth,i=e.nextWidth,s=e.setState,d=e.isLarger,b=e.isLarge,g=e.isSmall,h=e.isSmaller,f=e.props,w=e.adjacentBlockClientId,y=e.adjacentBlock,v=e.parentClientId,k=e.parentBlock,E=e.hasInnerBlocks,C=e.updateBlockAttributes,x=f.attributes,T=x.id,S=x.paddingType,B=x.paddingTypeTablet,O=x.paddingTypeMobile,N=x.padding,A=x.paddingTablet,_=x.paddingMobile,P=x.paddingTop,R=x.paddingTopTablet,I=x.paddingTopMobile,z=x.paddingRight,V=x.paddingRightTablet,H=x.paddingRightMobile,j=x.paddingBottom,F=x.paddingBottomTablet,D=x.paddingBottomMobile,G=x.paddingLeft,W=x.paddingLeftTablet,Z=x.paddingLeftMobile,q=x.marginType,U=x.marginTypeTablet,K=x.marginTypeMobile,Q=x.margin,J=x.marginTablet,Y=x.marginMobile,$=x.marginTop,X=x.marginTopTablet,ee=x.marginTopMobile,te=x.marginRight,ne=x.marginRightTablet,oe=x.marginRightMobile,ae=x.marginBottom,le=x.marginBottomTablet,re=x.marginBottomMobile,ie=x.marginLeft,ce=x.marginLeftTablet,se=x.marginLeftMobile,pe=x.backgroundType,ue=x.backgroundColor,me=x.backgroundImageID,de=x.backgroundImageURL,be=x.backgroundAttachment,ge=x.backgroundPosition,he=x.backgroundRepeat,fe=x.backgroundSize,we=x.backgroundGradientFirstColor,ye=x.backgroundGradientFirstLocation,ve=x.backgroundGradientSecondColor,ke=x.backgroundGradientSecondLocation,Ee=x.backgroundGradientType,Ce=x.backgroundGradientAngle,xe=x.backgroundGradientPosition,Te=x.borderType,Se=x.border,Be=x.borderTop,Oe=x.borderRight,Me=x.borderBottom,Le=x.borderLeft,Ne=x.borderColor,Ae=x.borderRadiusType,_e=x.borderRadius,Pe=x.borderRadiusTop,Re=x.borderRadiusRight,Ie=x.borderRadiusBottom,ze=x.borderRadiusLeft,Ve=x.boxShadow,He=x.boxShadowColor,je=x.boxShadowColorOpacity,We=x.boxShadowBlur,Ze=x.boxShadowSpread,Xe=x.boxShadowHorizontal,et=x.boxShadowVertical,tt=x.columnsHTMLTag,nt=x.columnWidth;if(void 0===T||T.substr(T.length-8)!==f.clientId.substr(0,8)){var ot="wp-block-themeisle-blocks-advanced-column-".concat(f.clientId.substr(0,8));f.setAttributes({id:ot})}var at=d&&!b&&g&&!h,lt=!d&&!b&&g&&!h,ut=!(d||b||g||h);void 0===nt&&k.innerBlocks.map((function(e,t){if(f.clientId===e.clientId){var n=k.attributes.columns,o=k.attributes.layout;C(f.clientId,{columnWidth:parseFloat(c[n][o][t])})}}));var mt=document.getElementById("block-".concat(f.clientId));null!==mt&&(mt.style.flexBasis=at?"".concat(nt,"%"):"");var dt,bt,gt,ht,ft,wt,yt=tt;(at&&(dt={paddingTop:"".concat("linked"===S?N:P,"px"),paddingRight:"".concat("linked"===S?N:z,"px"),paddingBottom:"".concat("linked"===S?N:j,"px"),paddingLeft:"".concat("linked"===S?N:G,"px"),marginTop:"".concat("linked"===q?Q:$,"px"),marginRight:"".concat("linked"===q?Q:te,"px"),marginBottom:"".concat("linked"===q?Q:ae,"px"),marginLeft:"".concat("linked"===q?Q:ie,"px")}),lt&&(dt={paddingTop:"".concat("linked"===B?A:R,"px"),paddingRight:"".concat("linked"===B?A:V,"px"),paddingBottom:"".concat("linked"===B?A:F,"px"),paddingLeft:"".concat("linked"===B?A:W,"px"),marginTop:"".concat("linked"===U?J:X,"px"),marginRight:"".concat("linked"===U?J:ne,"px"),marginBottom:"".concat("linked"===U?J:le,"px"),marginLeft:"".concat("linked"===U?J:ce,"px")}),ut&&(dt={paddingTop:"".concat("linked"===O?_:I,"px"),paddingRight:"".concat("linked"===O?_:H,"px"),paddingBottom:"".concat("linked"===O?_:D,"px"),paddingLeft:"".concat("linked"===O?_:Z,"px"),marginTop:"".concat("linked"===K?Y:ee,"px"),marginRight:"".concat("linked"===K?Y:oe,"px"),marginBottom:"".concat("linked"===K?Y:re,"px"),marginLeft:"".concat("linked"===K?Y:se,"px")}),"color"===pe&&(bt={background:ue}),"image"===pe&&(bt={backgroundImage:"url( '".concat(de,"' )"),backgroundAttachment:be,backgroundPosition:ge,backgroundRepeat:he,backgroundSize:fe}),"gradient"===pe)&&(wt="linear"===Ee?"".concat(Ce,"deg"):"at ".concat(xe),(we||ve)&&(bt={background:"".concat(Ee,"-gradient( ").concat(wt,", ").concat(we||"rgba( 0, 0, 0, 0 )"," ").concat(ye,"%, ").concat(ve||"rgba( 0, 0, 0, 0 )"," ").concat(ke,"% )")}));"linked"===Te&&(gt={borderWidth:"".concat(Se,"px"),borderStyle:"solid",borderColor:Ne}),"unlinked"===Te&&(gt={borderTopWidth:"".concat(Be,"px"),borderRightWidth:"".concat(Oe,"px"),borderBottomWidth:"".concat(Me,"px"),borderLeftWidth:"".concat(Le,"px"),borderStyle:"solid",borderColor:Ne}),"linked"===Ae&&(ht={borderRadius:"".concat(_e,"px")}),"unlinked"===Ae&&(ht={borderTopLeftRadius:"".concat(Pe,"px"),borderTopRightRadius:"".concat(Re,"px"),borderBottomRightRadius:"".concat(Ie,"px"),borderBottomLeftRadius:"".concat(ze,"px")}),!0===Ve&&(ft={boxShadow:"".concat(Xe,"px ").concat(et,"px ").concat(We,"px ").concat(Ze,"px ").concat(r()(He||"#000000",je))});var vt=Fe({},dt,{},bt,{},gt,{},ht,{},ft),kt=function(e){var t;return"top"==e&&("desktop"===n&&(t="linked"===S?N:P),"tablet"===n&&(t="linked"===B?A:R),"mobile"===n&&(t="linked"===O?_:I)),"right"==e&&("desktop"===n&&(t="linked"===S?N:z),"tablet"===n&&(t="linked"===B?A:V),"mobile"===n&&(t="linked"===O?_:H)),"bottom"==e&&("desktop"===n&&(t="linked"===S?N:j),"tablet"===n&&(t="linked"===B?A:F),"mobile"===n&&(t="linked"===O?_:D)),"left"==e&&("desktop"===n&&(t="linked"===S?N:G),"tablet"===n&&(t="linked"===B?A:W),"mobile"===n&&(t="linked"===O?_:Z)),t},Et={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},Ct={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},xt={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},Tt=function(){var e;return"desktop"===n&&(e=S),"tablet"===n&&(e=B),"mobile"===n&&(e=O),e};Tt=Tt();var St=function(e){var t;return"top"==e&&("desktop"===o&&(t="linked"===q?Q:$),"tablet"===o&&(t="linked"===U?J:X),"mobile"===o&&(t="linked"===K?Y:ee)),"right"==e&&("desktop"===o&&(t="linked"===q?Q:te),"tablet"===o&&(t="linked"===U?J:ne),"mobile"===o&&(t="linked"===K?Y:oe)),"bottom"==e&&("desktop"===o&&(t="linked"===q?Q:ae),"tablet"===o&&(t="linked"===U?J:le),"mobile"===o&&(t="linked"===K?Y:re)),"left"==e&&("desktop"===o&&(t="linked"===q?Q:ie),"tablet"===o&&(t="linked"===U?J:ce),"mobile"===o&&(t="linked"===K?Y:se)),t},Bt={top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"},Ot={top:"marginTopTablet",right:"marginRightTablet",bottom:"marginBottomTablet",left:"marginLeftTablet"},Mt={top:"marginTopMobile",right:"marginRightMobile",bottom:"marginBottomMobile",left:"marginLeftMobile"},Lt=function(){var e;return"desktop"===o&&(e=q),"tablet"===o&&(e=U),"mobile"===o&&(e=K),e};Lt=Lt();var Nt=function(){f.setAttributes({backgroundImageID:"",backgroundImageURL:""})},At=function(e){var t;return"top"==e&&(t="linked"===Te?Se:Be),"right"==e&&(t="linked"===Te?Se:Oe),"bottom"==e&&(t="linked"===Te?Se:Me),"left"==e&&(t="linked"===Te?Se:Le),t},_t={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},Pt=function(e){var t;return"top"==e&&(t="linked"===Ae?_e:Pe),"right"==e&&(t="linked"===Ae?_e:Re),"bottom"==e&&(t="linked"===Ae?_e:Ie),"left"==e&&(t="linked"===Ae?_e:ze),t},Rt={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"};return wp.element.createElement(pt,null,wp.element.createElement(ct,null,wp.element.createElement(Ke,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(qe,{className:a()("header-tab",{"is-selected":"layout"===t}),onClick:function(){return s({tab:"layout"})}},wp.element.createElement("span",null,wp.element.createElement(Ue,{icon:"editor-table"}),Ge("Layout"))),wp.element.createElement(qe,{className:a()("header-tab",{"is-selected":"style"===t}),onClick:function(){return s({tab:"style"})}},wp.element.createElement("span",null,wp.element.createElement(Ue,{icon:"admin-customizer"}),Ge("Style"))),wp.element.createElement(qe,{className:a()("header-tab",{"is-selected":"advanced"===t}),onClick:function(){return s({tab:"advanced"})}},wp.element.createElement("span",null,wp.element.createElement(Ue,{icon:"admin-generic"}),Ge("Advanced")))),"layout"===t&&wp.element.createElement(pt,null,wp.element.createElement(Ke,{title:Ge("Padding & Margin")},wp.element.createElement(u.a,{label:"Padding",view:n,changeViewType:function(e){s({paddingViewType:e})}},wp.element.createElement(p.a,{type:Tt,min:0,max:500,changeType:function(e){"desktop"===n&&f.setAttributes({paddingType:e}),"tablet"===n&&f.setAttributes({paddingTypeTablet:e}),"mobile"===n&&f.setAttributes({paddingTypeMobile:e})},onChange:function(e,t){"desktop"===n&&("linked"===S?f.setAttributes({padding:t}):f.setAttributes(De({},Et[e],t))),"tablet"===n&&("linked"===B?f.setAttributes({paddingTablet:t}):f.setAttributes(De({},Ct[e],t))),"mobile"===n&&("linked"===O?f.setAttributes({paddingMobile:t}):f.setAttributes(De({},xt[e],t)))},options:[{label:Ge("Top"),type:"top",value:kt("top")},{label:Ge("Right"),type:"right",value:kt("right")},{label:Ge("Bottom"),type:"bottom",value:kt("bottom")},{label:Ge("Left"),type:"left",value:kt("left")}]})),wp.element.createElement(u.a,{label:"Margin",view:o,changeViewType:function(e){s({marginViewType:e})}},wp.element.createElement(p.a,{type:Lt,min:-500,max:500,changeType:function(e){"desktop"===o&&f.setAttributes({marginType:e}),"tablet"===o&&f.setAttributes({marginTypeTablet:e}),"mobile"===o&&f.setAttributes({marginTypeMobile:e})},onChange:function(e,t){"desktop"===o&&("linked"===q?f.setAttributes({margin:t}):f.setAttributes(De({},Bt[e],t))),"tablet"===o&&("linked"===U?f.setAttributes({marginTablet:t}):f.setAttributes(De({},Ot[e],t))),"mobile"===o&&("linked"===K?f.setAttributes({marginMobile:t}):f.setAttributes(De({},Mt[e],t)))},options:[{label:Ge("Top"),type:"top",value:St("top")},{label:Ge("Right"),type:"right",value:St("right")},{label:Ge("Bottom"),type:"bottom",value:St("bottom")},{label:Ge("Left"),type:"left",value:St("left")}]}))))||"style"===t&&wp.element.createElement(pt,null,wp.element.createElement(Ke,{title:Ge("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(m.default,{label:Ge("Background Type"),backgroundType:pe,changeBackgroundType:function(e){f.setAttributes({backgroundType:e})}}),"color"===pe&&wp.element.createElement(pt,null,wp.element.createElement("p",null,Ge("Background Color")),wp.element.createElement(rt,{label:"Background Color",value:ue,onChange:function(e){f.setAttributes({backgroundColor:e})}}))||"image"===pe&&(de?wp.element.createElement(pt,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(de,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:Nt},wp.element.createElement(Ue,{icon:"trash"}),wp.element.createElement("span",null,Ge("Remove Image"))))),wp.element.createElement(qe,{isDefault:!0,className:"image-delete-button",onClick:Nt},Ge("Change or Remove Image")),wp.element.createElement(L.a,{label:"Background Settings"},wp.element.createElement($e,{label:Ge("Background Attachment"),value:be,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){f.setAttributes({backgroundAttachment:e})}}),wp.element.createElement($e,{label:Ge("Background Position"),value:ge,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){f.setAttributes({backgroundPosition:e})}}),wp.element.createElement($e,{label:Ge("Background Repeat"),value:he,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){f.setAttributes({backgroundRepeat:e})}}),wp.element.createElement($e,{label:Ge("Background Size"),value:fe,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){f.setAttributes({backgroundSize:e})}}))):wp.element.createElement(st,{icon:"format-image",labels:{title:Ge("Background Image"),name:Ge("an image")},value:me,onSelect:function(e){f.setAttributes({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===pe&&wp.element.createElement(M,{label:"Background Gradient",value:{firstColor:we,firstLocation:ye,secondColor:ve,secondLocation:ke,type:Ee,angle:Ce,position:xe},onChange:function(e,t,n,o,a,l,r){f.setAttributes({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:n,backgroundGradientSecondLocation:o,backgroundGradientType:a,backgroundGradientAngle:l,backgroundGradientPosition:r})}})),wp.element.createElement(Ke,{title:Ge("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(p.a,{label:Ge("Border Width"),type:Te,min:0,max:500,changeType:function(e){f.setAttributes({borderType:e})},onChange:function(e,t){"linked"===Te?f.setAttributes({border:t}):f.setAttributes(De({},_t[e],t))},options:[{label:Ge("Top"),type:"top",value:At("top")},{label:Ge("Right"),type:"right",value:At("right")},{label:Ge("Bottom"),type:"bottom",value:At("bottom")},{label:Ge("Left"),type:"left",value:At("left")}]}),wp.element.createElement(pt,null,wp.element.createElement("p",null,Ge("Border Color")),wp.element.createElement(rt,{label:"Border Color",value:Ne,onChange:function(e){f.setAttributes({borderColor:e})}})),wp.element.createElement(p.a,{label:Ge("Border Radius"),type:Ae,min:0,max:500,changeType:function(e){f.setAttributes({borderRadiusType:e})},onChange:function(e,t){"linked"===Ae?f.setAttributes({borderRadius:t}):f.setAttributes(De({},Rt[e],t))},options:[{label:Ge("Top"),type:"top",value:Pt("top")},{label:Ge("Right"),type:"right",value:Pt("right")},{label:Ge("Bottom"),type:"bottom",value:Pt("bottom")},{label:Ge("Left"),type:"left",value:Pt("left")}]}),wp.element.createElement(Qe,{label:"Box Shadow",checked:Ve,onChange:function(){f.setAttributes({boxShadow:!Ve})}}),Ve&&wp.element.createElement(pt,null,wp.element.createElement(pt,null,wp.element.createElement("p",null,Ge("Shadow Color")),wp.element.createElement(rt,{label:"Shadow Color",value:He,onChange:function(e){f.setAttributes({boxShadowColor:e})}})),wp.element.createElement(L.a,{label:"Shadow Properties"},wp.element.createElement(Je,{label:Ge("Opacity"),value:je,onChange:function(e){f.setAttributes({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(Je,{label:Ge("Blur"),value:We,onChange:function(e){f.setAttributes({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(Je,{label:Ge("Spread"),value:Ze,onChange:function(e){f.setAttributes({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(Je,{label:Ge("Horizontal"),value:Xe,onChange:function(e){f.setAttributes({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(Je,{label:Ge("Vertical"),value:et,onChange:function(e){f.setAttributes({boxShadowVertical:e})},min:-100,max:100})))))||"advanced"===t&&wp.element.createElement(Ke,{title:Ge("Section Settings")},wp.element.createElement($e,{label:Ge("HTML Tag"),value:tt,options:[{label:"Default",value:"div"},{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){f.setAttributes({columnsHTMLTag:e})}}))),wp.element.createElement(Ye,{className:"block-library-spacer__resize-container wp-themeisle-block-advanced-column-resize-container",enable:{right:!!w},handleWrapperClass:"wp-themeisle-block-advanced-column-resize-container-handle",onResizeStart:function(e,t,n,o){var a=document.querySelector("#block-".concat(f.clientId," .wp-themeisle-block-advanced-column-resize-container-handle .components-resizable-box__handle")),l=document.createElement("div"),r=document.createElement("div");l.setAttribute("class","resizable-tooltip resizable-tooltip-left"),l.innerHTML="".concat(parseFloat(nt).toFixed(0),"%"),a.appendChild(l),r.setAttribute("class","resizable-tooltip resizable-tooltip-right"),r.innerHTML="".concat(parseFloat(y.attributes.columnWidth).toFixed(0),"%"),a.appendChild(r),s({currentWidth:nt,nextWidth:y.attributes.columnWidth}),f.toggleSelection(!1)},onResize:function(e,t,n,o){var a=document.getElementById("block-".concat(v)).getBoundingClientRect().width,r=o.width/a*100,c=parseFloat(l)+r,s=i-r,p=document.querySelector(".resizable-tooltip-left"),u=document.querySelector(".resizable-tooltip-right");10<=c&&10<=s&&(p.innerHTML="".concat(c.toFixed(0),"%"),u.innerHTML="".concat(s.toFixed(0),"%"),f.setAttributes({columnWidth:c.toFixed(2)}),C(w,{columnWidth:s.toFixed(2)}))},onResizeStop:function(e,t,n,o){var a=document.querySelector(".resizable-tooltip-left"),l=document.querySelector(".resizable-tooltip-right");a.parentNode.removeChild(a),l.parentNode.removeChild(l),f.toggleSelection(!0)}},wp.element.createElement(yt,{className:f.className,id:T,style:vt},wp.element.createElement(it,{templateLock:!1,renderAppender:!E&&it.ButtonBlockAppender}))))})),save:function(e){var t,n,o,a,l,i=e.attributes,c=i.id,s=i.backgroundType,p=i.backgroundColor,u=i.backgroundImageURL,m=i.backgroundAttachment,d=i.backgroundPosition,b=i.backgroundRepeat,g=i.backgroundSize,h=i.backgroundGradientFirstColor,f=i.backgroundGradientFirstLocation,w=i.backgroundGradientSecondColor,y=i.backgroundGradientSecondLocation,v=i.backgroundGradientType,k=i.backgroundGradientAngle,E=i.backgroundGradientPosition,C=i.borderType,x=i.border,T=i.borderTop,S=i.borderRight,B=i.borderBottom,O=i.borderLeft,M=i.borderColor,L=i.borderRadiusType,N=i.borderRadius,A=i.borderRadiusTop,_=i.borderRadiusRight,P=i.borderRadiusBottom,R=i.borderRadiusLeft,I=i.boxShadow,z=i.boxShadowColor,V=i.boxShadowColorOpacity,H=i.boxShadowBlur,j=i.boxShadowSpread,F=i.boxShadowHorizontal,D=i.boxShadowVertical,G=i.columnsHTMLTag;("color"===s&&(t={background:p}),"image"===s&&(t={backgroundImage:"url( '".concat(u,"' )"),backgroundAttachment:m,backgroundPosition:d,backgroundRepeat:b,backgroundSize:g}),"gradient"===s)&&(l="linear"===v?"".concat(k,"deg"):"at ".concat(E),t={background:"".concat(v,"-gradient( ").concat(l,", ").concat(h||"rgba( 0, 0, 0, 0 )"," ").concat(f,"%, ").concat(w||"rgba( 0, 0, 0, 0 )"," ").concat(y,"% )")});"linked"===C&&(n={borderWidth:"".concat(x,"px"),borderStyle:"solid",borderColor:M}),"unlinked"===C&&(n={borderTopWidth:"".concat(T,"px"),borderRightWidth:"".concat(S,"px"),borderBottomWidth:"".concat(B,"px"),borderLeftWidth:"".concat(O,"px"),borderStyle:"solid",borderColor:M}),"linked"===L&&(o={borderRadius:"".concat(N,"px")}),"unlinked"===L&&(o={borderTopLeftRadius:"".concat(A,"px"),borderTopRightRadius:"".concat(_,"px"),borderBottomRightRadius:"".concat(P,"px"),borderBottomLeftRadius:"".concat(R,"px")}),!0===I&&(a={boxShadow:"".concat(F,"px ").concat(D,"px ").concat(H,"px ").concat(j,"px ").concat(r()(z||"#000000",V))});var W=Fe({},t,{},n,{},o,{},a);return wp.element.createElement(G,{className:e.className,id:c,style:W},wp.element.createElement(it.Content,null))}})},function(e,t,n){"use strict";n.r(t);n(79),n(80);var o=n(2),a=n(0),l=n.n(a),r=n(13),i=n.n(r),c=n(14);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 p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=wp.i18n.__,g=wp.components,h=g.BaseControl,f=g.Button,w=g.ExternalLink,y=g.IconButton,v=g.SelectControl,k=g.TextControl,E=g.TextareaControl,C=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=u(t).apply(this,arguments))||"object"!==s(o)&&"function"!=typeof o?m(n):o).initSearch=e.initSearch.bind(m(e)),e.changeLocation=e.changeLocation.bind(m(e)),e}var n,o,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&&d(e,t)}(t,e),n=t,(o=[{key:"initSearch",value:function(e){var t=this,n=document.getElementsByClassName("pac-container");Object.keys(n).forEach((function(e){return n[e].remove()})),this.searchBox=new google.maps.places.SearchBox(e.target),this.searchBox.addListener("places_changed",(function(){var e=t.searchBox.getPlaces();e&&0<e.length&&e.forEach((function(e){var n=e.formatted_address||e.name,o=e.geometry.location.lat(),a=e.geometry.location.lng();t.props.changeMarkerProp(t.props.marker.id,"location",n),t.props.changeMarkerProp(t.props.marker.id,"latitude",o),t.props.changeMarkerProp(t.props.marker.id,"longitude",a)}))}))}},{key:"changeLocation",value:function(e){this.props.changeMarkerProp(this.props.marker.id,"location",e.target.value)}},{key:"render",value:function(){var e=this;return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-title-area"},wp.element.createElement(f,{className:"wp-block-themeisle-blocks-google-map-marker-title",onClick:function(){return e.props.openMarker(e.props.marker.id)}},this.props.marker.title||b("Custom Marker")),wp.element.createElement(y,{icon:"no-alt",label:b("Remove Marker"),className:"wp-block-themeisle-blocks-google-map-marker-remove",onClick:function(){return e.props.removeMarker(e.props.marker.id)}})),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-google-map-marker-control-area",{opened:this.props.marker.id===this.props.isOpen})},wp.element.createElement(h,{label:b("Location"),id:"themeisle-location-search-".concat(this.props.marker.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(this.props.marker.id),placeholder:b("Enter a location…"),value:this.props.marker.location,className:"wp-block-themeisle-blocks-google-map-search",onFocus:function(t){return e.initSearch(t)},onChange:function(t){return e.changeLocation(t)},disabled:!this.props.isPlaceAPIAvailable}),!this.props.isPlaceAPIAvailable&&wp.element.createElement("p",null,b("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(w,{href:"https://developers.google.com/places/web-service/intro"},b("More info.")))),wp.element.createElement(k,{label:b("Latitude"),type:"text",value:this.props.marker.latitude,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"latitude",t)}}),wp.element.createElement(k,{label:b("Longitude"),type:"text",value:this.props.marker.longitude,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"longitude",t)}}),wp.element.createElement(v,{label:b("Map Icon"),value:this.props.marker.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:b("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:b("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:b("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:b("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:b("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"icon",t)}}),wp.element.createElement(k,{label:b("Title"),type:"text",value:this.props.marker.title,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"title",t)}}),wp.element.createElement(E,{label:b("Description"),type:"text",value:this.props.marker.description,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"description",t)}})))}}])&&p(n.prototype,o),a&&p(n,a),t}(wp.element.Component);function x(e){return(x="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 T(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var M=wp.i18n.__,L=wp.components.Button,N=wp.element,A=N.Component,_=N.Fragment,P=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=S(t).apply(this,arguments))||"object"!==x(o)&&"function"!=typeof o?B(n):o).openMarker=e.openMarker.bind(B(e)),e.state={isOpen:null},e}var n,o,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&&O(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){!1!==this.props.initialOpen&&this.setState({isOpen:this.props.initialOpen})}},{key:"componentDidUpdate",value:function(e){this.props.initialOpen!==e.initialOpen&&!1!==this.props.initialOpen&&this.setState({isOpen:this.props.initialOpen})}},{key:"openMarker",value:function(e){this.state.isOpen===e&&(e=null),this.setState({isOpen:e})}},{key:"render",value:function(){var e=this;return wp.element.createElement(_,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-group"},this.props.markers.map((function(t){return wp.element.createElement(C,{marker:t,isOpen:e.state.isOpen,isPlaceAPIAvailable:e.props.isPlaceAPIAvailable,openMarker:e.openMarker,removeMarker:e.props.removeMarker,changeMarkerProp:e.props.changeMarkerProp})}))),wp.element.createElement(L,{isDefault:!0,isLarge:!0,className:"wp-block-themeisle-blocks-google-map-marker-add",onClick:this.props.addMarker},M("Add Marker")))}}])&&T(n.prototype,o),a&&T(n,a),t}(A);function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var D=wp.i18n.__,G=wp.components,W=G.BaseControl,Z=G.Button,q=G.ButtonGroup,U=G.Modal,K=G.SelectControl,Q=G.TextControl,J=G.TextareaControl,Y=wp.element,$=Y.Component,X=Y.Fragment,ee=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=H(t).apply(this,arguments))||"object"!==R(o)&&"function"!=typeof o?j(n):o).initSearch=e.initSearch.bind(j(e)),e.changeLocation=e.changeLocation.bind(j(e)),e.state={advanced:!1,id:"",location:"",title:"",icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:"",longitude:""},e}var n,o,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&&F(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){this.setState(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(n,!0).forEach((function(t){z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props.marker))}},{key:"initSearch",value:function(e){var t=this,n=document.getElementsByClassName("pac-container");Object.keys(n).forEach((function(e){return n[e].remove()})),this.searchBox=new google.maps.places.SearchBox(e.target),this.searchBox.addListener("places_changed",(function(){var e=t.searchBox.getPlaces();e&&0<e.length&&e.forEach((function(e){var n=e.formatted_address||e.name,o=e.geometry.location.lat(),a=e.geometry.location.lng();t.setState({location:n,latitude:o,longitude:a})}))}))}},{key:"changeLocation",value:function(e){this.setState({location:e.target.value})}},{key:"render",value:function(){var e=this;return wp.element.createElement(U,{title:D("Add Marker"),onRequestClose:this.props.close,shouldCloseOnClickOutside:!1},this.state.advanced&&wp.element.createElement(X,null,wp.element.createElement(W,{label:D("Location"),id:"themeisle-location-search-".concat(this.props.marker.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(this.state.id),placeholder:D("Enter a location…"),value:this.state.location,className:"wp-block-themeisle-blocks-google-map-search",onFocus:function(t){return e.initSearch(t)},onChange:function(t){return e.changeLocation(t)},disabled:!this.props.isPlaceAPIAvailable})),wp.element.createElement(Q,{label:D("Latitude"),type:"text",value:this.state.latitude,onChange:function(t){return e.setState({latitude:t})}}),wp.element.createElement(Q,{label:D("Longitude"),type:"text",value:this.state.longitude,onChange:function(t){return e.setState({longitude:t})}})),wp.element.createElement(Q,{label:D("Title"),type:"text",value:this.state.title,onChange:function(t){return e.setState({title:t})}}),wp.element.createElement(J,{label:D("Description"),type:"text",value:this.state.description,onChange:function(t){return e.setState({description:t})}}),wp.element.createElement(K,{label:D("Map Icon"),value:this.state.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:D("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:D("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:D("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:D("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:D("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:function(t){return e.setState({icon:t})}}),wp.element.createElement(q,null,wp.element.createElement(Z,{isLarge:!0,isPrimary:!0,onClick:function(){return e.props.addMarker(e.state.location,e.state.title,e.state.icon,e.state.description,e.state.latitude,e.state.longitude)}},D("Add")),wp.element.createElement(Z,{isLarge:!0,isDefault:!0,onClick:this.props.close},D("Cancel"))))}}])&&V(n.prototype,o),a&&V(n,a),t}($),te={standard:[],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"}]}],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"}]}],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"}]}],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"}]}],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"}]}]};function ne(e){return(ne="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 oe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ae(e,t,n,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function le(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ie(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var se=wp.i18n.__,pe=wp.components,ue=pe.BaseControl,me=pe.Button,de=pe.ExternalLink,be=pe.PanelBody,ge=pe.Placeholder,he=pe.RangeControl,fe=pe.ResizableBox,we=pe.SelectControl,ye=pe.Spinner,ve=pe.TextControl,ke=pe.ToggleControl,Ee=(wp.blockEditor||wp.editor).InspectorControls,Ce=wp.element,xe=Ce.Component,Te=Ce.Fragment,Se=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=re(t).apply(this,arguments))||"object"!==ne(o)&&"function"!=typeof o?ie(n):o).enqueueScript=e.enqueueScript.bind(ie(e)),e.initMap=e.initMap.bind(ie(e)),e.initSearch=e.initSearch.bind(ie(e)),e.cycleMarkers=e.cycleMarkers.bind(ie(e)),e.changeAPI=e.changeAPI.bind(ie(e)),e.saveAPIKey=e.saveAPIKey.bind(ie(e)),e.changeStyle=e.changeStyle.bind(ie(e)),e.changeLocation=e.changeLocation.bind(ie(e)),e.markerButton=e.markerButton.bind(ie(e)),e.selectMarker=e.selectMarker.bind(ie(e)),e.addMarkerManual=e.addMarkerManual.bind(ie(e)),e.addMarker=e.addMarker.bind(ie(e)),e.addInfoWindow=e.addInfoWindow.bind(ie(e)),e.removeMarker=e.removeMarker.bind(ie(e)),e.removeMarkers=e.removeMarkers.bind(ie(e)),e.changeLatitude=e.changeLatitude.bind(ie(e)),e.changeLongitude=e.changeLongitude.bind(ie(e)),e.changeMapType=e.changeMapType.bind(ie(e)),e.changeZoom=e.changeZoom.bind(ie(e)),e.changeHeight=e.changeHeight.bind(ie(e)),e.toggleDraggable=e.toggleDraggable.bind(ie(e)),e.toggleMapTypeControl=e.toggleMapTypeControl.bind(ie(e)),e.toggleZoomControl=e.toggleZoomControl.bind(ie(e)),e.toggleFullScreenControl=e.toggleFullScreenControl.bind(ie(e)),e.toggleStreetViewControl=e.toggleStreetViewControl.bind(ie(e)),e.changeMarkerProp=e.changeMarkerProp.bind(ie(e)),window.isMapLoaded=window.isMapLoaded||!1,window.selectMarker=e.selectMarker,window.removeMarker=e.removeMarker,e.state={api:"",isAPILoaded:!1,isAPISaved:!1,isSaving:!1,isPlaceAPIAvailable:!0,isMarkerOpen:!1,isSelectingMarker:!1,isModalOpen:!1,selectedMarker:{}},e.settings,e.link=document.createElement("script"),e.link.type="text/javascript",e.link.async=!0,e.link.defer=!0,e.link.id="themeisle-google-map-api-loading",e.map,e.searchBox,e.name,e.markers=[],e.lastInfoWindow,e}var n,o,a,r,s;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&&ce(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(r=regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0!==this.props.attributes.id&&this.props.attributes.id.substr(this.props.attributes.id.length-8)===this.props.clientId.substr(0,8)||(t="wp-block-themeisle-blocks-google-map-".concat(this.props.clientId.substr(0,8)),this.props.setAttributes({id:t})),e.next=3,wp.api.loadPromise.then((function(){n.settings=new wp.api.models.Settings}));case 3:!1===Boolean(themeisleGutenberg.mapsAPI)?this.state.isAPILoaded||this.settings.fetch().then((function(e){n.setState({api:e.themeisle_google_map_block_api_key,isAPILoaded:!0}),""!==e.themeisle_google_map_block_api_key&&(n.setState({isAPISaved:!0}),n.enqueueScript(e.themeisle_google_map_block_api_key))})):this.state.isAPILoaded||(this.setState({api:themeisleGutenberg.mapsAPI,isAPILoaded:!0,isAPISaved:!0}),this.enqueueScript(themeisleGutenberg.mapsAPI));case 4:case"end":return e.stop()}}),e,this)})),s=function(){var e=this,t=arguments;return new Promise((function(n,o){var a=r.apply(e,t);function l(e){ae(a,n,o,l,i,"next",e)}function i(e){ae(a,n,o,l,i,"throw",e)}l(void 0)}))},function(){return s.apply(this,arguments)})},{key:"componentDidUpdate",value:function(e){if(this.props.isSelected!==e.isSelected&&!1!==this.state.isAPISaved){var t=this.props.isSelected;this.map.setOptions({mapTypeControl:!!t||this.props.attributes.mapTypeControl,zoomControl:!!t||this.props.attributes.zoomControl,fullscreenControl:!!t||this.props.attributes.fullscreenControl,streetViewControl:!!t||this.props.attributes.streetViewControl})}}},{key:"enqueueScript",value:function(e){var t=this;window.isMapLoaded||(window.isMapLoaded=!0,this.link.onload=function(){document.getElementById("themeisle-google-map-api-loading").id="themeisle-google-map-api",t.initMap()},this.link.src="https://maps.googleapis.com/maps/api/js?key=".concat(e,"&libraries=places&cache=").concat(Math.random()),document.head.appendChild(this.link)),document.getElementById("themeisle-google-map-api")&&this.initMap()}},{key:"initMap",value:function(){var e=this;if(this.map=new google.maps.Map(document.getElementById(this.props.attributes.id),{center:{lat:Number(this.props.attributes.latitude)||41.4036299,lng:Number(this.props.attributes.longitude)||2.1743558000000576},gestureHandling:"cooperative",zoom:this.props.attributes.zoom,mapTypeId:this.props.attributes.type,styles:te[this.props.attributes.style]}),this.props.attributes.location&&void 0===this.props.attributes.latitude&&void 0===this.props.attributes.longitude){var t={query:this.props.attributes.location,fields:["name","geometry"]};new google.maps.places.PlacesService(this.map).findPlaceFromQuery(t,(function(t,n){n===google.maps.places.PlacesServiceStatus.OK&&0<t.length&&e.map.setCenter(t[0].geometry.location)}))}this.map.addListener("zoom_changed",(function(){var t=e.map.getZoom();e.props.setAttributes({zoom:t})})),this.map.addListener("maptypeid_changed",(function(){var t=e.map.getMapTypeId();e.props.setAttributes({type:t})})),this.map.addListener("bounds_changed",(function(){var t=e.map.getCenter(),n=t.lat(),o=t.lng();e.props.setAttributes({latitude:n.toString(),longitude:o.toString()})})),0<this.props.attributes.markers.length&&this.cycleMarkers(this.props.attributes.markers);var n={query:this.props.attributes.location,fields:["name","geometry"]};new google.maps.places.PlacesService(this.map).findPlaceFromQuery(n,(function(t,n){"REQUEST_DENIED"===n&&e.setState({isPlaceAPIAvailable:!1})}));var o=document.createElement("div");new this.markerButton(o),o.index=1,this.map.controls[google.maps.ControlPosition.LEFT_BOTTOM].push(o)}},{key:"initSearch",value:function(e){var t=this,n=document.getElementsByClassName("pac-container");Object.keys(n).forEach((function(e){return n[e].remove()})),this.searchBox=new google.maps.places.SearchBox(e.target),this.searchBox.addListener("places_changed",(function(){var e=t.searchBox.getPlaces();e&&0<e.length&&e.forEach((function(e){t.name=e.name||se("Custom Marker");var n=e.geometry.location.lat(),o=e.geometry.location.lng(),a=new google.maps.LatLng(n,o);t.map.setCenter(a),t.props.setAttributes({location:e.formatted_address||e.name,latitude:n.toString(),longitude:o.toString()})}))}))}},{key:"markerButton",value:function(e){var t=document.createElement("button");t.className="gm-control-marker-ui",t.title=se("Add Marker"),e.appendChild(t);var n=document.createElement("span");n.className="dashicons dashicons-sticky",t.appendChild(n),t.addEventListener("click",(function(){window.selectMarker()}))}},{key:"selectMarker",value:function(){var e=this;this.state.isSelectingMarker?google.maps.event.clearListeners(this.map,"click"):this.map.addListener("click",(function(t){google.maps.event.clearListeners(e.map,"click");var n=i()(),o=se("Custom Marker"),a=t.latLng.lat(),l=t.latLng.lng();e.setState({isSelectingMarker:!e.state.isSelectingMarker,isModalOpen:!0,selectedMarker:{advanced:!1,id:n,location:"",title:o,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l}})})),this.setState({isSelectingMarker:!this.state.isSelectingMarker})}},{key:"addMarkerManual",value:function(){var e=i()(),t=se("Custom Marker"),n=this.map.getCenter(),o=n.lat(),a=n.lng();this.setState({isModalOpen:!0,selectedMarker:{advanced:!0,id:e,location:"",title:t,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:o,longitude:a}})}},{key:"addMarker",value:function(e,t,n,o,a,l){var r=this,c=new google.maps.LatLng(a,l),s=i()(),p=new google.maps.Marker({position:c,map:this.map,title:t,draggable:!0,icon:n});google.maps.event.addListener(p,"dragend",(function(e){var t=e.latLng.lat(),n=e.latLng.lng();r.changeMarkerProp(s,"latitude",t),r.changeMarkerProp(s,"longitude",n)})),this.markers.push(p);var u=oe(this.props.attributes.markers),m={id:s,location:e,title:t,icon:n,description:o,latitude:a,longitude:l};u.push(m),this.props.setAttributes({markers:u}),google.maps.event.addListener(p,"click",(function(e){r.lastInfoWindow&&r.lastInfoWindow.close()})),this.addInfoWindow(p,m.id,t,o),this.setState({isModalOpen:!1})}},{key:"addInfoWindow",value:function(e,t,n,o){var a=this,l='<div class="wp-block-themeisle-blocks-map-overview"><h6 class="wp-block-themeisle-blocks-map-overview-title">'.concat(n,'</h6><div class="wp-block-themeisle-blocks-map-overview-content">').concat(o?"<p>".concat(o,"</p>"):"",'<a class="wp-block-themeisle-blocks-map-overview-delete" onclick="removeMarker( \'').concat(t,"' )\">").concat(se("Delete Marker"),"</a></div></div>"),r=new google.maps.InfoWindow({content:l});e.addListener("click",(function(){a.lastInfoWindow=r,r.open(a.map,e)})),google.maps.event.addListener(r,"domready",(function(){a.setState({isMarkerOpen:t})})),google.maps.event.addListener(r,"closeclick",(function(){a.setState({isMarkerOpen:!1})}))}},{key:"removeMarker",value:function(e){var t=oe(this.props.attributes.markers);t=t.filter((function(t){return t.id!==e})),this.props.setAttributes({markers:t}),this.removeMarkers(),this.setState({isMarkerOpen:!1}),0<t.length&&this.cycleMarkers(t)}},{key:"removeMarkers",value:function(){for(var e=0;e<this.markers.length;e++)this.markers[e].setMap(null);this.markers=[]}},{key:"cycleMarkers",value:function(e){var t=this;e.forEach((function(e){var n=e.latitude,o=e.longitude,a=new google.maps.LatLng(n,o),l=new google.maps.Marker({position:a,map:t.map,title:e.title,draggable:!0,icon:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png"});google.maps.event.addListener(l,"dragend",(function(n){var o=n.latLng.lat(),a=n.latLng.lng();t.changeMarkerProp(e.id,"latitude",o),t.changeMarkerProp(e.id,"longitude",a)})),t.markers.push(l),google.maps.event.addListener(l,"click",(function(e){t.lastInfoWindow&&t.lastInfoWindow.close()})),t.addInfoWindow(l,e.id,e.title,e.description)}))}},{key:"changeAPI",value:function(e){this.setState({api:e})}},{key:"saveAPIKey",value:function(){var e=this;if(!1===Boolean(themeisleGutenberg.mapsAPI)){this.setState({isSaving:!0});var t=new wp.api.models.Settings({themeisle_google_map_block_api_key:this.state.api}).save();t.success((function(t,n){if("success"===n){var o=!1;e.settings.fetch(),""!==t.themeisle_google_map_block_api_key&&(o=!0),e.setState({isSaving:!1,isAPISaved:o}),""!==t.themeisle_google_map_block_api_key&&(window.isMapLoaded=!1,e.enqueueScript(t.themeisle_google_map_block_api_key))}"error"===n&&console.log(t),e.settings.fetch()})),t.error((function(e,t){console.log(e)}))}}},{key:"changeStyle",value:function(e){this.props.setAttributes({style:e}),this.map.setOptions({styles:te[e]})}},{key:"changeLocation",value:function(e){this.props.setAttributes({location:e.target.value})}},{key:"changeLatitude",value:function(e){this.props.setAttributes({latitude:e.toString()});var t=Number(e),n=this.props.attributes.longitude,o=new google.maps.LatLng(t,n);this.map.setCenter(o)}},{key:"changeLongitude",value:function(e){this.props.setAttributes({longitude:e.toString()});var t=this.props.attributes.latitude,n=Number(e),o=new google.maps.LatLng(t,n);this.map.setCenter(o)}},{key:"changeMapType",value:function(e){this.props.setAttributes({type:e}),this.map.setMapTypeId(google.maps.MapTypeId[e.toUpperCase()])}},{key:"changeZoom",value:function(e){this.props.setAttributes({zoom:e}),this.map.setZoom(e)}},{key:"changeHeight",value:function(e){this.props.setAttributes({height:e})}},{key:"toggleDraggable",value:function(){this.props.setAttributes({draggable:!this.props.attributes.draggable})}},{key:"toggleMapTypeControl",value:function(){this.props.setAttributes({mapTypeControl:!this.props.attributes.mapTypeControl})}},{key:"toggleZoomControl",value:function(){this.props.setAttributes({zoomControl:!this.props.attributes.zoomControl})}},{key:"toggleFullScreenControl",value:function(){this.props.setAttributes({fullscreenControl:!this.props.attributes.fullscreenControl})}},{key:"toggleStreetViewControl",value:function(){this.props.setAttributes({streetViewControl:!this.props.attributes.streetViewControl})}},{key:"changeMarkerProp",value:function(e,t,n){var o=oe(this.props.attributes.markers);o.map((function(o){if(o.id===e)return o[t]=n})),this.removeMarkers(),this.cycleMarkers(o),this.props.setAttributes({markers:o})}},{key:"render",value:function(){var e=this;return this.state.isAPILoaded?this.state.isAPISaved?wp.element.createElement(Te,null,wp.element.createElement(c.a,{label:se("Block Styles"),value:this.props.attributes.style,options:[{label:se("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:se("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:se("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:se("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:se("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:se("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:this.changeStyle}),wp.element.createElement(Ee,null,wp.element.createElement(be,{title:se("Styles"),initialOpen:!1},wp.element.createElement(c.b,{value:this.props.attributes.style,options:[{label:se("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:se("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:se("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:se("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:se("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:se("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:this.changeStyle})),wp.element.createElement(be,{title:se("Location")},wp.element.createElement(ue,{label:se("Location"),id:"wp-block-themeisle-blocks-google-map-search"},wp.element.createElement("input",{type:"text",id:"wp-block-themeisle-blocks-google-map-search",placeholder:se("Enter a location…"),value:this.props.attributes.location,className:"wp-block-themeisle-blocks-google-map-search",onFocus:function(t){return e.initSearch(t)},onChange:function(t){return e.changeLocation(t)},disabled:!this.state.isPlaceAPIAvailable}),!this.state.isPlaceAPIAvailable&&wp.element.createElement("p",null,se("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(de,{href:"https://developers.google.com/places/web-service/intro"},se("More info.")))),wp.element.createElement(ve,{label:se("Latitude"),type:"text",placeholder:se("Enter latitude…"),value:this.props.attributes.latitude,onChange:this.changeLatitude}),wp.element.createElement(ve,{label:se("Longitude"),type:"text",placeholder:se("Enter longitude"),value:this.props.attributes.longitude,onChange:this.changeLongitude})),wp.element.createElement(be,{title:se("Positioning & Zooming"),initialOpen:!1},wp.element.createElement(we,{label:se("Map Type"),value:this.props.attributes.type,options:[{label:se("Road Map"),value:"roadmap"},{label:se("Satellite View"),value:"satellite"},{label:se("Hybrid"),value:"hybrid"},{label:se("Terrain"),value:"terrain"}],onChange:this.changeMapType}),wp.element.createElement(he,{label:se("Map Zoom Level"),value:this.props.attributes.zoom,onChange:this.changeZoom,min:0,max:20}),wp.element.createElement(he,{label:se("Map Height"),value:this.props.attributes.height,onChange:this.changeHeight,min:100,max:1400})),wp.element.createElement(be,{title:se("Controls"),initialOpen:!1},wp.element.createElement(ue,null,se("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.")),wp.element.createElement(ke,{label:"Draggable Map",checked:this.props.attributes.draggable,onChange:this.toggleDraggable}),wp.element.createElement(ke,{label:"Map Type Control",checked:this.props.attributes.mapTypeControl,onChange:this.toggleMapTypeControl}),wp.element.createElement(ke,{label:"Zoom Control",checked:this.props.attributes.zoomControl,onChange:this.toggleZoomControl}),wp.element.createElement(ke,{label:"Full Screen Control",checked:this.props.attributes.fullscreenControl,onChange:this.toggleFullScreenControl}),wp.element.createElement(ke,{label:"Streen View Control",checked:this.props.attributes.streetViewControl,onChange:this.toggleStreetViewControl})),wp.element.createElement(be,{title:se("Markers"),initialOpen:!1,opened:!1!==this.state.isMarkerOpen||void 0,onToggle:function(){!1!==e.state.isMarkerOpen&&e.setState({isMarkerOpen:!1})}},wp.element.createElement(P,{markers:this.props.attributes.markers,removeMarker:this.removeMarker,changeMarkerProp:this.changeMarkerProp,addMarker:this.addMarkerManual,isPlaceAPIAvailable:this.state.isPlaceAPIAvailable,initialOpen:this.state.isMarkerOpen})),wp.element.createElement(be,{title:se("Global Settings"),initialOpen:!1},wp.element.createElement(ve,{label:se("Google Maps API Key"),type:"text",placeholder:se("Google Maps API Key"),value:this.state.api,className:"components-placeholder__input",onChange:this.changeAPI,help:se("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.")}),wp.element.createElement(me,{isLarge:!0,type:"submit",onClick:this.saveAPIKey,isBusy:this.state.isSaving},se("Save API Key")))),this.state.isModalOpen&&wp.element.createElement(ee,{marker:this.state.selectedMarker,isPlaceAPIAvailable:this.state.isPlaceAPIAvailable,close:function(){return e.setState({isModalOpen:!1})},addMarker:this.addMarker}),wp.element.createElement(fe,{size:{height:this.props.attributes.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){e.props.toggleSelection(!1)},onResizeStop:function(t,n,o,a){e.props.setAttributes({height:parseInt(e.props.attributes.height+a.height,10)}),e.props.toggleSelection(!0)},className:l()("wp-block-themeisle-blocks-google-map-resizer",{"is-focused":this.props.isSelected})},wp.element.createElement("div",{id:this.props.attributes.id,className:l()(this.props.className,{"is-selecting-marker":this.state.isSelectingMarker}),style:{height:this.props.attributes.height+"px"}}))):wp.element.createElement("div",{className:this.props.className},wp.element.createElement(ge,{icon:"admin-site",label:se("Google Maps"),instructions:se("A Google Maps API key is required, please enter one below.")},wp.element.createElement(ve,{type:"text",placeholder:se("Google Maps API Key"),value:this.state.api,className:"components-placeholder__input",onChange:this.changeAPI}),wp.element.createElement(me,{isLarge:!0,type:"submit",onClick:this.saveAPIKey,isBusy:this.state.isSaving,disabled:""===this.state.api},se("Save API Key")),wp.element.createElement("div",{className:"components-placeholder__instructions"},wp.element.createElement("p",{className:"components-placeholder__text"},se("Need an API key? Get one "),wp.element.createElement(de,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},se("here."))),wp.element.createElement("p",{className:"components-placeholder__text"},se("You need to activate Maps and Places API."))))):wp.element.createElement(ge,null,wp.element.createElement(ye,null),se("Loading…"))}}])&&le(n.prototype,o),a&&le(n,a),t}(xe),Be=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/google-map",{title:Be("Google Map"),description:Be("Display a Google Map on your website with Google Map block."),icon:o.i,category:"themeisle-blocks",keywords:["map","google","orbitfox"],attributes:{style:{type:"string",default:"standard"},id:{type:"string"},location:{type:"string",default:"La Sagrada Familia, Barcelona, Spain"},latitude:{type:"string"},longitude:{type:"string"},type:{type:"string",default:"roadmap"},zoom:{type:"number",default:15},height:{type:"number",default:400},draggable:{type:"boolean",default:!0},mapTypeControl:{type:"boolean",default:!0},zoomControl:{type:"boolean",default:!0},fullscreenControl:{type:"boolean",default:!0},streetViewControl:{type:"boolean",default:!0},markers:{type:"array",default:[]}},supports:{align:["wide","full"],html:!1},edit:Se,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(87),n(88);var o=n(2),a=n(38),l=n.n(a),r=n(0),i=n.n(r),c=n(19),s=lodash,p=s.startCase,u=s.toLower,m=wp.i18n.__,d=wp.components,b=d.IconButton,g=d.TextControl,h=d.SelectControl,f=d.ToggleControl,w=wp.compose.withState,y=wp.element.Fragment,v=Object(c.c)((function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-handle"},wp.element.createElement("span",null))})),k=Object(c.b)((function(e){var t=e.value,n=e.disabled,o=e.getFields,a=e.toggleFields,l=e.excerptLimit;return wp.element.createElement(E,{value:t,disabled:n,getFields:o,toggleFields:a,excerptLimit:l})})),E=w({isOpen:!1})((function(e){var t,n=e.value,o=e.disabled,a=e.getFields,l=e.toggleFields,r=e.isOpen,c=e.setState,s=e.imageSize,d=e.excerptLimit,w=p(u(n)),k="hidden",E=m("Display ".concat(w));switch(a(n)&&(k="visibility",E=m("Hide ".concat(w))),n){case"image":case"meta":case"description":t=!0;break;default:t=!1}return wp.element.createElement("div",{className:i()("wp-block-themeisle-blocks-posts-grid-builder-item-area","wp-block-themeisle-blocks-posts-grid-builder-item-area-".concat(n))},wp.element.createElement("div",{className:i()("wp-block-themeisle-blocks-posts-grid-builder-item",{disabled:o,hidden:!a(n),editable:t})},!o&&wp.element.createElement(v,null),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-label"},w),t&&wp.element.createElement(b,{icon:r?"arrow-up-alt2":"arrow-down-alt2",label:m(r?"Close Settings":"Open Settings"),className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){return c({isOpen:!r})}}),wp.element.createElement(b,{icon:k,label:E,className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){l(n),c({isOpen:!1})}})),t&&wp.element.createElement("div",{className:i()("wp-block-themeisle-blocks-posts-grid-builder-control-area",{opened:r&&a(n)})},"image"===n&&wp.element.createElement(h,{label:m("Image Size"),value:s.value,options:[{label:m("Thumbnail"),value:"thumbnail"},{label:m("Medium"),value:"medium"},{label:m("Medium Large"),value:"medium_large"},{label:m("Large"),value:"large"},{label:m("Full"),value:"full"}],onChange:s.onChange}),"description"===n&&wp.element.createElement(g,{label:m("Excerpt Limit"),type:"number",value:d.value,onChange:d.onChange}),"meta"===n&&wp.element.createElement(y,null,wp.element.createElement(f,{label:"Display Date?",checked:a("date"),onChange:function(){return l("date")}}),wp.element.createElement(f,{label:"Display Author?",checked:a("author"),onChange:function(){return l("author")}}))))})),C=Object(c.a)((function(e){var t=e.template,n=e.getFields,o=e.toggleFields,a=e.excerptLimit;return wp.element.createElement("div",null,t.map((function(e,t){return wp.element.createElement(k,{key:"item-".concat(t),index:t,value:e,getFields:n,toggleFields:o,excerptLimit:a})})))}));function x(e){return(x="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 T(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var M=wp.i18n.__,L=wp.element,N=L.Component,A=L.Fragment,_=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=S(t).apply(this,arguments))||"object"!==x(o)&&"function"!=typeof o?B(n):o).onSortEnd=e.onSortEnd.bind(B(e)),e.state={isOpen:!1},e}var n,o,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&&O(e,t)}(t,e),n=t,(o=[{key:"onSortEnd",value:function(e){var t=e.oldIndex,n=e.newIndex,o=l()(this.props.attributes.template,t,n);this.props.setAttributes({template:o})}},{key:"render",value:function(){return wp.element.createElement(A,null,wp.element.createElement("div",{className:i()("wp-block-themeisle-blocks-posts-grid-builder",this.props.attributes.style)},wp.element.createElement(E,{value:M("image"),disabled:!0,getFields:this.props.getFields,toggleFields:this.props.toggleFields,imageSize:this.props.imageSize}),wp.element.createElement(C,{template:this.props.attributes.template,onSortEnd:this.onSortEnd,getFields:this.props.getFields,toggleFields:this.props.toggleFields,excerptLimit:this.props.excerptLimit,useDragHandle:!0})))}}])&&T(n.prototype,o),a&&T(n,a),t}(N),P=n(14),R=n(22);function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function V(e){return(V=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 j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var F=lodash,D=F.isUndefined,G=F.pickBy,W=wp.i18n.__,Z=wp.components,q=Z.Disabled,U=Z.PanelBody,K=Z.QueryControls,Q=Z.RangeControl,J=Z.Placeholder,Y=Z.Spinner,$=wp.data.withSelect,X=(wp.blockEditor||wp.editor).InspectorControls,ee=wp.element,te=ee.Component,ne=ee.Fragment,oe=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=V(t).apply(this,arguments))||"object"!==I(o)&&"function"!=typeof o?H(n):o).changeStyle=e.changeStyle.bind(H(e)),e.changeColumns=e.changeColumns.bind(H(e)),e.changeImageSize=e.changeImageSize.bind(H(e)),e.getFields=e.getFields.bind(H(e)),e.toggleFields=e.toggleFields.bind(H(e)),e.changeExcerptLength=e.changeExcerptLength.bind(H(e)),e}var n,o,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&&j(e,t)}(t,e),n=t,(o=[{key:"changeStyle",value:function(e){this.props.setAttributes({style:e})}},{key:"changeColumns",value:function(e){this.props.setAttributes({columns:e})}},{key:"changeImageSize",value:function(e){this.props.setAttributes({imageSize:e})}},{key:"getFields",value:function(e){return"image"===e?this.props.attributes.displayFeaturedImage:"category"===e?this.props.attributes.displayCategory:"title"===e?this.props.attributes.displayTitle:"meta"===e?this.props.attributes.displayMeta:"description"===e?this.props.attributes.displayDescription:"date"===e?this.props.attributes.displayDate:"author"===e?this.props.attributes.displayAuthor:void 0}},{key:"toggleFields",value:function(e){"image"===e&&this.props.setAttributes({displayFeaturedImage:!this.props.attributes.displayFeaturedImage}),"category"===e&&this.props.setAttributes({displayCategory:!this.props.attributes.displayCategory}),"title"===e&&this.props.setAttributes({displayTitle:!this.props.attributes.displayTitle}),"meta"===e&&this.props.setAttributes({displayMeta:!this.props.attributes.displayMeta}),"description"===e&&this.props.setAttributes({displayDescription:!this.props.attributes.displayDescription}),"date"===e&&this.props.setAttributes({displayDate:!this.props.attributes.displayDate}),"author"===e&&this.props.setAttributes({displayAuthor:!this.props.attributes.displayAuthor})}},{key:"changeExcerptLength",value:function(e){this.props.setAttributes({excerptLength:e})}},{key:"render",value:function(){var e=this;return this.props.posts&&this.props.categoriesList&&this.props.authors?wp.element.createElement(ne,null,wp.element.createElement(P.a,{label:W("Block Styles"),value:this.props.attributes.style,options:[{label:W("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:W("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:this.changeStyle}),wp.element.createElement(X,null,wp.element.createElement(U,{title:W("Styles"),initialOpen:!1},wp.element.createElement(P.b,{value:this.props.attributes.style,options:[{label:W("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:W("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:this.changeStyle})),wp.element.createElement(U,{title:W("Settings")},"grid"===this.props.attributes.style&&wp.element.createElement(Q,{label:W("Columns"),value:this.props.attributes.columns,onChange:this.changeColumns,min:1,max:5}),wp.element.createElement(K,{numberOfItems:this.props.attributes.postsToShow,categoriesList:this.props.categoriesList,selectedCategoryId:this.props.attributes.categories,onOrderChange:function(t){return e.props.setAttributes({order:t})},onOrderByChange:function(t){return e.props.setAttributes({orderBy:t})},onCategoryChange:function(t){return e.props.setAttributes({categories:""!==t?t:void 0})},onNumberOfItemsChange:function(t){return e.props.setAttributes({postsToShow:t})}})),wp.element.createElement(U,{title:W("Design & Layout"),initialOpen:!1},wp.element.createElement(_,{attributes:this.props.attributes,getFields:this.getFields,toggleFields:this.toggleFields,setAttributes:this.props.setAttributes,imageSize:{value:this.props.attributes.imageSize,onChange:this.changeImageSize},excerptLimit:{value:this.props.attributes.excerptLength,onChange:this.changeExcerptLength}}))),0===this.props.posts.length&&wp.element.createElement(J,null,W("No Posts")),0<this.props.posts.length&&wp.element.createElement(q,null,wp.element.createElement(R.default,{className:this.props.className,attributes:this.props.attributes,posts:this.props.posts,categoriesList:this.props.categoriesList,authors:this.props.authors}))):wp.element.createElement(J,null,wp.element.createElement(Y,null),W("Loading Posts"))}}])&&z(n.prototype,o),a&&z(n,a),t}(te),ae=$((function(e,t){var n=t.attributes,o=n.categories,a=n.order,l=n.orderBy,r=n.postsToShow,i=G({categories:o,order:a,orderby:l,per_page:r},(function(e){return!D(e)}));return{posts:e("core").getEntityRecords("postType","post",i),categoriesList:e("core").getEntityRecords("taxonomy","category",{per_page:100}),authors:e("core").getAuthors()}}))(oe),le=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/posts-grid",{title:le("Posts"),description:le("Display a list of your most recent posts in a beautiful layout."),icon:o.n,category:"themeisle-blocks",keywords:["posts","grid","news"],attributes:{style:{type:"string",default:"grid"},columns:{type:"number",default:3},template:{type:"array",default:["category","title","meta","description"]},categories:{type:"string"},postsToShow:{type:"number",default:5},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},imageSize:{type:"string",default:"full"},displayFeaturedImage:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayTitle:{type:"boolean",default:!0},displayMeta:{type:"boolean",default:!0},displayDescription:{type:"boolean",default:!0},excerptLength:{type:"number",default:100},displayDate:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0}},supports:{align:["wide","full"],html:!1},edit:ae,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o);n(106),n(107);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp.i18n.__,u=(wp.blockEditor||wp.editor).RichText,m=wp.components.IconButton,d=wp.element,b=d.Component,g=d.Fragment,h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i(this,c(t).apply(this,arguments))}var n,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this;return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-slider-item-wrapper glide__slide",{"is-selected":this.props.isSelected}),tabIndex:"0",onClick:this.props.onSelect,onFocus:this.props.onSelect},wp.element.createElement("figure",null,wp.element.createElement("img",{key:this.props.image.id,className:"wp-block-themeisle-blocks-slider-item",src:this.props.image.url,alt:this.props.image.alt,title:this.props.image.alt,"data-id":this.props.image.id}),this.props.isSelected&&wp.element.createElement(g,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-move-menu"},wp.element.createElement(m,{icon:"arrow-left-alt2",onClick:this.props.isFirstItem?void 0:function(){return e.props.onMoveBackward(e.props.index)},className:"wp-block-themeisle-blocks-slider-item-move-backward",label:p("Move image backward"),"aria-disabled":this.props.isFirstItem,disabled:!this.props.isSelected}),wp.element.createElement(m,{icon:"arrow-right-alt2",onClick:this.props.isLastItem?void 0:function(){return e.props.onMoveForward(e.props.index)},className:"wp-block-themeisle-blocks-slider-item-move-forward",label:p("Move image forward"),"aria-disabled":this.props.isLastItem,disabled:!this.props.isSelected})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-delete-menu"},wp.element.createElement(m,{icon:"no-alt",onClick:function(){return e.props.onRemoveImage(e.props.index)},className:"wp-block-themeisle-blocks-slider-item-delete",label:p("Remove image")}))),(this.props.isSelected||!u.isEmpty(this.props.image.caption))&&wp.element.createElement(u,{tagName:"figcaption",placeholder:this.props.isSelected?p("Write caption…"):null,value:this.props.image.caption,onChange:function(t){return e.props.changeCaption(t,e.props.index)},multiline:!1})))}}])&&r(n.prototype,o),l&&r(n,l),t}(b);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 w(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function y(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var C=wp.i18n.__,x=lodash,T=x.debounce,S=x.filter,B=x.max,O=wp.blockEditor||wp.editor,M=O.InspectorControls,L=O.MediaPlaceholder,N=wp.components,A=N.PanelBody,_=N.Path,P=N.RangeControl,R=N.ResizableBox,I=N.SVG,z=N.ToggleControl,V=wp.element,H=V.Component,j=V.Fragment,F=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=v(t).apply(this,arguments))||"object"!==f(o)&&"function"!=typeof o?k(n):o).initSlider=e.initSlider.bind(k(e)),e.onSelectImagesDebounced=T(e.onSelectImages,250),e.changeCaption=e.changeCaption.bind(k(e)),e.onMove=e.onMove.bind(k(e)),e.onMoveForward=e.onMoveForward.bind(k(e)),e.onMoveBackward=e.onMoveBackward.bind(k(e)),e.onRemoveImage=e.onRemoveImage.bind(k(e)),e.changePerView=e.changePerView.bind(k(e)),e.changeGap=e.changeGap.bind(k(e)),e.changePeek=e.changePeek.bind(k(e)),e.changeHeight=e.changeHeight.bind(k(e)),e.changeAutoplay=e.changeAutoplay.bind(k(e)),e.slider,e.state={selectedImage:null},e}var n,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){if(void 0===this.props.attributes.id||this.props.attributes.id.substr(this.props.attributes.id.length-8)!==this.props.clientId.substr(0,8)){var e="wp-block-themeisle-blocks-slider-".concat(this.props.clientId.substr(0,8));this.props.setAttributes({id:e})}this.props.attributes.images.length&&this.initSlider()}},{key:"componentWillUnmount",value:function(){this.props.attributes.images.length&&this.slider.destroy()}},{key:"componentDidUpdate",value:function(e){this.props.attributes.images.length&&((!this.props.isSelected&&e.isSelected||this.props.attributes.align!==e.attributes.align)&&(this.setState({selectedImage:null}),void 0!==this.slider&&(this.slider.destroy(),this.initSlider())),this.props.attributes.perView>this.props.attributes.images.length&&this.changePerView(B([Math.round(this.props.attributes.images.length/2),1])))}},{key:"initSlider",value:function(){this.slider=new Glide("#".concat(this.props.attributes.id),{type:"carousel",keyboard:!1,perView:this.props.attributes.perView,gap:this.props.attributes.gap,peek:this.props.attributes.peek,autoplay:!1,breakpoints:{800:{perView:1,peek:0,gap:0}}}).mount()}},{key:"onSelectImages",value:function(e){this.props.setAttributes({images:e.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}))}),void 0!==this.slider&&this.slider.destroy(),this.initSlider()}},{key:"changeCaption",value:function(e,t){var n=w(this.props.attributes.images);n[t].caption=e,this.props.setAttributes({images:n})}},{key:"onMove",value:function(e,t){var n=w(this.props.attributes.images);n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:n})}},{key:"onMoveForward",value:function(e){e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)}},{key:"onMoveBackward",value:function(e){0!==e&&this.onMove(e,e-1)}},{key:"onRemoveImage",value:function(e){var t=S(this.props.attributes.images,(function(t,n){return e!==n}));this.setState({selectedImage:null}),this.props.setAttributes({images:t})}},{key:"changePerView",value:function(e){this.props.setAttributes({perView:Number(e)}),this.slider.update({perView:Number(e)}),1===e&&(this.props.setAttributes({gap:0,peek:0}),this.slider.update({gap:0,peek:0}))}},{key:"changeGap",value:function(e){this.props.setAttributes({gap:Number(e)}),this.slider.update({gap:Number(e)})}},{key:"changePeek",value:function(e){this.props.setAttributes({peek:Number(e)}),this.slider.update({peek:Number(e)})}},{key:"changeHeight",value:function(e){this.props.setAttributes({height:Number(e)})}},{key:"changeAutoplay",value:function(e){this.props.setAttributes({autoplay:e}),this.slider.update({autoplay:!!e&&2e3})}},{key:"render",value:function(){var e=this;return Array.isArray(this.props.attributes.images)&&!this.props.attributes.images.length?wp.element.createElement(L,{labels:{title:C("Slider"),instructions:C("Drag images, upload new ones or select files from your library.")},icon:"images-alt2",accept:"image/*",allowedTypes:["image"],onSelect:function(t){return e.onSelectImagesDebounced(t)},multiple:!0}):wp.element.createElement(j,null,wp.element.createElement(M,null,wp.element.createElement(A,{title:C("Settings")},this.props.attributes.images.length&&wp.element.createElement(j,null,wp.element.createElement(P,{label:C("Slides Per Page"),help:C("A number of visible slides."),value:this.props.attributes.perView,onChange:this.changePerView,min:1,max:B([Math.round(this.props.attributes.images.length/2),1])}),1<this.props.attributes.perView&&wp.element.createElement(j,null,wp.element.createElement(P,{label:C("Gap"),help:C("A size of the space between slides."),value:this.props.attributes.gap,onChange:this.changeGap,min:0,max:100}),wp.element.createElement(P,{label:C("Peek"),help:C("The value of the future slides which have to be visible in the current slide."),value:this.props.attributes.peek,onChange:this.changePeek,min:0,max:100})),wp.element.createElement(P,{label:C("Height"),help:C("Slider height in pixels."),value:this.props.attributes.height,onChange:this.changeHeight,min:100,max:1400}),wp.element.createElement(z,{label:C("Autoplay"),help:C("Autoplay slider in the front."),checked:this.props.attributes.autoplay,onChange:this.changeAutoplay})))),wp.element.createElement(R,{size:{height:this.props.attributes.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){e.props.toggleSelection(!1)},onResizeStop:function(t,n,o,a){e.props.setAttributes({height:parseInt(e.props.attributes.height+a.height,10)}),e.props.toggleSelection(!0)},className:a()("wp-block-themeisle-blocks-slider-resizer",{"is-focused":this.props.isSelected})},wp.element.createElement("div",{id:this.props.attributes.id,className:a()("wp-block-themeisle-blocks-slider","glide",this.props.className)},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(this.props.attributes.height,"px")}},this.props.attributes.images.map((function(t,n){return wp.element.createElement(h,{image:t,index:n,isFirstItem:0===n,isLastItem:n+1===e.props.attributes.images.length,isSelected:e.props.isSelected&&t.id===e.state.selectedImage,onSelect:function(){return e.setState({selectedImage:t.id})},onMoveBackward:e.onMoveBackward,onMoveForward:e.onMoveForward,onRemoveImage:e.onRemoveImage,changeCaption:e.changeCaption})}))),wp.element.createElement("div",{className:"glide__arrows","data-glide-el":"controls"},wp.element.createElement("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<"},wp.element.createElement(I,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(_,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"}))),wp.element.createElement("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">"},wp.element.createElement(I,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(_,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"})))),wp.element.createElement("div",{className:"glide__bullets","data-glide-el":"controls[nav]"},this.props.attributes.images.map((function(e,t){return wp.element.createElement("button",{className:"glide__bullet","data-glide-dir":"=".concat(t)})})))))),this.props.isSelected&&wp.element.createElement(L,{labels:{title:"",instructions:""},isAppender:!0,accept:"image/*",allowedTypes:["image"],className:"wp-block-themeisle-blocks-slider-uploader",value:this.props.attributes.images,onSelect:function(t){return e.onSelectImagesDebounced(t)},multiple:!0}))}}])&&y(n.prototype,o),l&&y(n,l),t}(H),D=wp.i18n.__,G=wp.blocks.registerBlockType,W=wp.components,Z=W.Path,q=W.SVG,U=(wp.blockEditor||wp.editor).RichText;G("themeisle-blocks/slider",{title:D("Slider"),description:D("Minimal image slider to showcase beautiful images."),icon:"images-alt2",category:"themeisle-blocks",keywords:["slider","gallery","carousel"],attributes:{id:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},height:{type:"number",default:400}},supports:{align:["wide","full"]},edit:F,save:function(e){var t=e.attributes,n=t.id,o=t.images,l=t.perView,r=t.gap,i=t.peek,c=t.autoplay,s=t.height;return wp.element.createElement("div",{id:n,className:a()("wp-block-themeisle-blocks-slider","glide",e.className),"data-per-view":l,"data-gap":r,"data-peek":i,"data-autoplay":c},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(s,"px")}},o.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!U.isEmpty(e.caption)&&wp.element.createElement(U.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement("div",{className:"glide__arrows","data-glide-el":"controls"},wp.element.createElement("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<"},wp.element.createElement(q,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(Z,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"}))),wp.element.createElement("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">"},wp.element.createElement(q,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(Z,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"})))),wp.element.createElement("div",{className:"glide__bullets","data-glide-el":"controls[nav]"},o.map((function(e,t){return wp.element.createElement("button",{className:"glide__bullet","data-glide-dir":"=".concat(t)})})))))}})},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=(n(104),n(105),n(2)),r=wp.i18n.__,i={facebook:{label:r("Facebook"),icon:"facebook-f"},twitter:{label:r("Twitter"),icon:"twitter"},linkedin:{label:r("Linkedin"),icon:"linkedin-in"},pinterest:{label:r("Pinterest"),icon:"pinterest-p"},tumblr:{label:r("Tumblr"),icon:"tumblr"},reddit:{label:r("Reddit"),icon:"reddit-alien"}},c=wp.components,s=c.Path,p=c.SVG,u=function(e){var t=e.icon;return"facebook"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 264 512"},wp.element.createElement(s,{fill:"currentColor",d:"M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"})):"twitter"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(s,{fill:"currentColor",d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})):"linkedin"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},wp.element.createElement(s,{fill:"currentColor",d:"M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"})):"pinterest"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},wp.element.createElement(s,{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"})):"tumblr"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},wp.element.createElement(s,{fill:"currentColor",d:"M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"})):"reddit"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(s,{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"})):wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(s,{fill:"currentColor",d:"M208 88.286c0-10 6.286-21.714 17.715-21.714 11.142 0 17.714 11.714 17.714 21.714 0 10.285-6.572 21.714-17.714 21.714C214.286 110 208 98.571 208 88.286zm304 160c0 36.001-11.429 102.286-36.286 129.714-22.858 24.858-87.428 61.143-120.857 70.572l-1.143.286v32.571c0 16.286-12.572 30.571-29.143 30.571-10 0-19.429-5.714-24.572-14.286-5.427 8.572-14.856 14.286-24.856 14.286-10 0-19.429-5.714-24.858-14.286-5.142 8.572-14.571 14.286-24.57 14.286-10.286 0-19.429-5.714-24.858-14.286-5.143 8.572-14.571 14.286-24.571 14.286-18.857 0-29.429-15.714-29.429-32.857-16.286 12.285-35.715 19.428-56.571 19.428-22 0-43.429-8.285-60.286-22.857 10.285-.286 20.571-2.286 30.285-5.714-20.857-5.714-39.428-18.857-52-36.286 21.37 4.645 46.209 1.673 67.143-11.143-22-22-56.571-58.857-68.572-87.428C1.143 321.714 0 303.714 0 289.429c0-49.714 20.286-160 86.286-160 10.571 0 18.857 4.858 23.143 14.857a158.792 158.792 0 0 1 12-15.428c2-2.572 5.714-5.429 7.143-8.286 7.999-12.571 11.714-21.142 21.714-34C182.571 45.428 232 17.143 285.143 17.143c6 0 12 .285 17.714 1.143C313.714 6.571 328.857 0 344.572 0c14.571 0 29.714 6 40 16.286.857.858 1.428 2.286 1.428 3.428 0 3.714-10.285 13.429-12.857 16.286 4.286 1.429 15.714 6.858 15.714 12 0 2.857-2.857 5.143-4.571 7.143 31.429 27.714 49.429 67.143 56.286 108 4.286-5.143 10.285-8.572 17.143-8.572 10.571 0 20.857 7.144 28.571 14.001C507.143 187.143 512 221.714 512 248.286zM188 89.428c0 18.286 12.571 37.143 32.286 37.143 19.714 0 32.285-18.857 32.285-37.143 0-18-12.571-36.857-32.285-36.857-19.715 0-32.286 18.858-32.286 36.857zM237.714 194c0-19.714 3.714-39.143 8.571-58.286-52.039 79.534-13.531 184.571 68.858 184.571 21.428 0 42.571-7.714 60-20 2-7.429 3.714-14.857 3.714-22.572 0-14.286-6.286-21.428-20.572-21.428-4.571 0-9.143.857-13.429 1.714-63.343 12.668-107.142 3.669-107.142-63.999zm-41.142 254.858c0-11.143-8.858-20.857-20.286-20.857-11.429 0-20 9.715-20 20.857v32.571c0 11.143 8.571 21.142 20 21.142 11.428 0 20.286-9.715 20.286-21.142v-32.571zm49.143 0c0-11.143-8.572-20.857-20-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20-10 20-21.142v-32.571zm49.713 0c0-11.143-8.857-20.857-20.285-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20.285-9.715 20.285-21.142v-32.571zm49.715 0c0-11.143-8.857-20.857-20.286-20.857-11.428 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.858 21.142 20.286 21.142 11.429 0 20.286-10 20.286-21.142v-32.571zM421.714 286c-30.857 59.142-90.285 102.572-158.571 102.572-96.571 0-160.571-84.572-160.571-176.572 0-16.857 2-33.429 6-49.714-20 33.715-29.714 72.572-29.714 111.429 0 60.286 24.857 121.715 71.429 160.857 5.143-9.714 14.857-16.286 26-16.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.571-14.286 24.858-14.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.857-14.286 24.858-14.286 10 0 19.428 5.714 24.857 14.286 5.143-8.571 14.571-14.286 24.572-14.286 10.857 0 20.857 6.572 25.714 16 43.427-36.286 68.569-92 71.426-148.286zm10.572-99.714c0-53.714-34.571-105.714-92.572-105.714-30.285 0-58.571 15.143-78.857 36.857C240.862 183.812 233.41 254 302.286 254c28.805 0 97.357-28.538 84.286 36.857 28.857-26 45.714-65.714 45.714-104.571z"}))};var m=wp.i18n.__,d=wp.blocks.registerBlockType,b=(wp.blockEditor||wp.editor).BlockControls,g=wp.components,h=g.Toolbar,f=g.Button,w=g.Tooltip;d("themeisle-blocks/sharing-icons",{title:m("Sharing Icons"),description:m("Share buttons for your website visitors to share content on any social sharing service."),icon:l.q,category:"themeisle-blocks",keywords:["social media","sharing","icons"],attributes:{facebook:{type:"boolean",default:!0},twitter:{type:"boolean",default:!0},linkedin:{type:"boolean",default:!0},pinterest:{type:"boolean",default:!1},tumblr:{type:"boolean",default:!1},reddit:{type:"boolean",default:!1}},supports:{html:!0,align:["left","center","right"]},styles:[{name:"default",label:m("Regular"),isDefault:!0},{name:"icons",label:m("Icons Only")}],edit:function(e){var t=function(t){var n,o,a;e.setAttributes((n={},o=t,a=!e.attributes[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,n))};return[wp.element.createElement(b,{key:"toolbar-controls"},wp.element.createElement(h,{className:"components-toolbar"},Object.keys(i).map((function(n,o){var l=e.attributes[n];return wp.element.createElement(w,{text:m("Display ".concat(i[n].label))},wp.element.createElement(f,{className:a()("components-icon-button","components-toolbar__control",{"is-active":l}),onClick:function(e){return t(n)}},wp.element.createElement(u,{icon:n})))})))),wp.element.createElement("div",{className:a()(e.className,{"has-label":!e.attributes.className||!e.attributes.className.includes("is-style-icons")})},Object.keys(i).map((function(t,n){if(!0===e.attributes[t])return wp.element.createElement("a",{className:"social-icon is-".concat(t)},wp.element.createElement("i",{className:"fab fa-".concat(i[t].icon)}),(!e.attributes.className||!e.attributes.className.includes("is-style-icons"))&&i[t].label)})))]},save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(77),n(78);var o=n(2),a=n(17);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=[{attributes:{align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"undefined-container",style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}},{attributes:{prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},supports:{align:["left","center","right"]},migrate:function(e){var t="center";return e.className.includes("alignleft")&&(t="left"),e.className.includes("aligncenter")&&(t="center"),e.className.includes("alignright")&&(t="right"),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{align:t,className:""})},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"".concat(e.className,"-container"),style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}}];function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=wp.i18n.__,p=wp.blocks.registerBlockType,u=wp.components,m=u.BaseControl,d=u.Button,b=u.ButtonGroup,g=u.PanelBody,h=u.Placeholder,f=u.RangeControl,w=u.Spinner,y=u.ToggleControl,v=wp.compose,k=v.compose,E=v.withState,C=wp.data.withSelect,x=wp.blockEditor||wp.editor,T=x.AlignmentToolbar,S=x.BlockControls,B=x.ColorPalette,O=x.ContrastChecker,M=x.InspectorControls,L=wp.element.Fragment,N=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,123))}));p("themeisle-blocks/font-awesome-icons",{title:s("Font Awesome Icons"),description:s("Share buttons for your website visitors to share content on any social sharing service."),icon:o.g,category:"themeisle-blocks",keywords:["font awesome","dashicons","icons"],attributes:{id:{type:"string"},align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},link:{type:"string"},newTab:{type:"boolean",default:!1},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},deprecated:i,edit:k([C((function(e,t){return{props:t}})),E({hover:!1})])((function(e){var t=e.hover,n=e.setState,o=e.props;if(void 0===o.attributes.id||o.attributes.id.substr(o.attributes.id.length-8)!==o.clientId.substr(0,8)){var l="wp-block-themeisle-blocks-font-awesome-icons-".concat(o.clientId.substr(0,8));o.setAttributes({id:l})}var r={borderRadius:o.attributes.borderRadius+"%",fontSize:o.attributes.fontSize+"px",padding:o.attributes.padding+"px"},i={color:o.attributes.textColor,backgroundColor:o.attributes.backgroundColor,borderColor:o.attributes.borderColor,borderRadius:o.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:o.attributes.borderSize+"px",display:"inline-block",margin:o.attributes.margin+"px"};return wp.element.createElement(L,null,wp.element.createElement(S,null,wp.element.createElement(T,{value:o.attributes.align,onChange:function(e){o.setAttributes({align:e})},alignmentControls:[{icon:"editor-alignleft",title:s("Align left"),align:"left"},{icon:"editor-aligncenter",title:s("Align center"),align:"center"},{icon:"editor-alignright",title:s("Align right"),align:"right"}]})),wp.element.createElement(M,null,wp.element.createElement(g,{title:s("Icon Settings")},wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(h,null,wp.element.createElement(w,null))},wp.element.createElement(N,{label:s("Icon Picker"),prefix:o.attributes.prefix,icon:o.attributes.icon,onChange:function(e){"object"===c(e)?o.setAttributes({icon:e.name,prefix:e.prefix}):o.setAttributes({icon:e})}})),wp.element.createElement(a.a,{label:s("Link"),placeholder:"https://…",value:o.attributes.link,onChange:function(e){o.setAttributes({link:e})}},wp.element.createElement(y,{label:"Open in New Tab?",checked:o.attributes.newTab,onChange:function(){o.setAttributes({newTab:!o.attributes.newTab})}}))),wp.element.createElement(g,{title:s("Icon Sizes"),className:"blocks-font-size",initialOpen:!1},wp.element.createElement(f,{label:s("Text Size"),value:o.attributes.fontSize||"",initialPosition:16,onChange:function(e){o.setAttributes({fontSize:e})},min:12,max:140,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}),wp.element.createElement(f,{label:s("Padding"),value:o.attributes.padding||"",initialPosition:5,onChange:function(e){o.setAttributes({padding:e})},min:0,max:100,beforeIcon:"minus",afterIcon:"plus"}),wp.element.createElement(f,{label:s("Margin"),value:o.attributes.margin||"",initialPosition:5,onChange:function(e){o.setAttributes({margin:e})},min:0,max:100,beforeIcon:"minus",afterIcon:"plus"})),wp.element.createElement(g,{title:s("Color"),initialOpen:!1},wp.element.createElement(b,{className:"wp-block-themeisle-blocks-font-awesome-icons-hover-control"},wp.element.createElement(d,{isDefault:!0,isLarge:!0,isPrimary:!t,onClick:function(){return n({hover:!1})}},s("Normal")),wp.element.createElement(d,{isDefault:!0,isLarge:!0,isPrimary:t,onClick:function(){return n({hover:!0})}},s("Hover"))),t?wp.element.createElement(L,null,wp.element.createElement(m,{label:"Hover Background"},wp.element.createElement(B,{label:"Hover Background",value:o.attributes.backgroundColorHover,onChange:function(e){o.setAttributes({backgroundColorHover:e})}})),wp.element.createElement(m,{label:"Hover Icon"},wp.element.createElement(B,{label:"Hover Icon",value:o.attributes.textColorHover,onChange:function(e){o.setAttributes({textColorHover:e})}})),wp.element.createElement(m,{label:"Hover Border"},wp.element.createElement(B,{label:"Hover Border",value:o.attributes.borderColorHover,onChange:function(e){o.setAttributes({borderColorHover:e})}})),wp.element.createElement(O,{textColor:o.attributes.textColorHover,backgroundColor:o.attributes.backgroundColorHover})):wp.element.createElement(L,null,wp.element.createElement(m,{label:"Background"},wp.element.createElement(B,{label:"Background",value:o.attributes.backgroundColor,onChange:function(e){o.setAttributes({backgroundColor:e})}})),wp.element.createElement(m,{label:"Icon"},wp.element.createElement(B,{label:"Icon",value:o.attributes.textColor,onChange:function(e){o.setAttributes({textColor:e})}})),wp.element.createElement(m,{label:"Border"},wp.element.createElement(B,{label:"Border",value:o.attributes.borderColor,onChange:function(e){o.setAttributes({borderColor:e})}})),wp.element.createElement(O,{textColor:o.attributes.textColor,backgroundColor:o.attributes.backgroundColor}))),wp.element.createElement(g,{title:s("Border Settings"),initialOpen:!1},wp.element.createElement(f,{label:s("Border Size"),value:o.attributes.borderSize,onChange:function(e){o.setAttributes({borderSize:e})},min:0,max:120,beforeIcon:"minus",afterIcon:"plus"}),wp.element.createElement(f,{label:s("Border Radius"),value:o.attributes.borderRadius,onChange:function(e){o.setAttributes({borderRadius:e})},min:0,max:100,beforeIcon:"grid-view",afterIcon:"marker"}))),wp.element.createElement("style",null,"#".concat(o.attributes.id," .").concat(o.className,"-container:hover {\n\t\t\t\t\t\tcolor: ").concat(o.attributes.textColorHover?o.attributes.textColorHover:o.attributes.textColor," !important;\n\t\t\t\t\t\tbackground: ").concat(o.attributes.backgroundColorHover?o.attributes.backgroundColorHover:o.attributes.backgroundColor," !important;\n\t\t\t\t\t\tborder-color: ").concat(o.attributes.borderColorHover?o.attributes.borderColorHover:o.attributes.borderColor," !important;\n\t\t\t\t\t}")),wp.element.createElement("p",{className:o.className,id:o.attributes.id,style:{textAlign:o.attributes.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:i},wp.element.createElement("i",{className:"".concat(o.attributes.prefix," fa-").concat(o.attributes.icon),style:r}))))})),save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"},n={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},o=function(){return wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:n})};return wp.element.createElement("p",{className:e.className,id:e.attributes.id,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:t},e.attributes.link?wp.element.createElement("a",{href:e.attributes.link,target:e.attributes.newTab?"_blank":"_self",style:{color:e.attributes.textColor},rel:"noopener noreferrer"},wp.element.createElement(o,null)):wp.element.createElement(o,null)))}})},function(e,t,n){"use strict";n.r(t);n(41);var o=n(2);n(42);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 l(e,t,n,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp.i18n.__,u=wp.apiFetch,m=wp.components,d=m.BaseControl,b=m.CheckboxControl,g=m.Modal,h=wp.element,f=h.Component,w=h.Fragment,y=wp.editPost.PluginMoreMenuItem,v=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=i(t).apply(this,arguments))||"object"!==a(o)&&"function"!=typeof o?c(n):o).changeOptions=e.changeOptions.bind(c(e)),e.settings,e.state={canUser:!1,isAPILoaded:!1,isDefault:!1,isOpen:!1},e}var n,o,m,h,f;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(h=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u({path:"wp/v2/users/me?context=edit"});case 2:if(!e.sent.capabilities.manage_options){e.next=8;break}return this.setState({canUser:!0}),e.next=7,wp.api.loadPromise.then((function(){t.settings=new wp.api.models.Settings}));case 7:!1===this.state.isAPILoaded&&this.settings.fetch().then((function(e){t.setState({isDefault:Boolean(e.themeisle_blocks_settings_default_block),isAPILoaded:!0})}));case 8:case"end":return e.stop()}}),e,this)})),f=function(){var e=this,t=arguments;return new Promise((function(n,o){var a=h.apply(e,t);function r(e){l(a,n,o,r,i,"next",e)}function i(e){l(a,n,o,r,i,"throw",e)}r(void 0)}))},function(){return f.apply(this,arguments)})},{key:"changeOptions",value:function(){var e=this,t=new wp.api.models.Settings({themeisle_blocks_settings_default_block:!Boolean(this.state.isDefault)}).save();t.success((function(t,n){"success"===n&&(e.settings.fetch(),e.setState({isDefault:Boolean(t.themeisle_blocks_settings_default_block)})),"error"===n&&console.log(t),e.settings.fetch()})),t.error((function(e,t){console.log(e)}))}},{key:"render",value:function(){var e=this;return wp.element.createElement(w,null,this.state.canUser&&void 0!==y&&wp.element.createElement(y,{onClick:function(){return e.setState({isOpen:!0})}},p("Otter Options")),this.state.isOpen&&wp.element.createElement(g,{title:p("Otter Options"),overlayClassName:"wp-block-themeisle-blocks-options",onRequestClose:function(){return e.setState({isOpen:!1})}},wp.element.createElement(d,null,wp.element.createElement(b,{label:p("Make Section block your default block for Pages?"),checked:this.state.isDefault,onChange:this.changeOptions}))))}}])&&r(n.prototype,o),m&&r(n,m),t}(f),k=(n(43),wp.components.Icon),E=wp.element.Fragment;(0,wp.plugins.registerPlugin)("themeisle-blocks",{icon:wp.element.createElement(k,{icon:o.l}),render:function(){return wp.element.createElement(E,null,wp.element.createElement(v,null))}})},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=n(5),r=n.n(l),i=n(16),c=n.n(i),s=(n(57),n(58),n(2)),p=n(3),u=n(12),m=n(7),d=n(17),b=n(4);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=lodash.times,w=wp.editor.RichText,y=wp.element.Fragment,v=[{attributes:{id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},save:function(e){var t=e.attributes,n=t.id,o=t.buttons,l=t.align,r=t.collapse,i=t.fontSize,c=t.fontFamily,s=t.fontStyle,p=t.fontVariant,u=t.textTransform,m=t.lineHeight,d=t.data,b={fontSize:"".concat(i,"px"),fontFamily:c,fontWeight:p,fontStyle:s,textTransform:u,lineHeight:m&&"".concat(m,"px")},v=function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},b,{borderWidth:"".concat(d[e].borderSize,"px"),borderRadius:"".concat(d[e].borderRadius,"px"),padding:"".concat(d[e].paddingTopBottom,"px ").concat(d[e].paddingLeftRight,"px ")});return wp.element.createElement(y,null,wp.element.createElement("a",{href:d[e].link,target:d[e].newTab?"_blank":"_self",className:a()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:t},("left"===d[e].iconType||"only"===d[e].iconType)&&wp.element.createElement("i",{className:a()(d[e].prefix,"fa-fw","fa-".concat(d[e].icon),{"margin-right":"left"===d[e].iconType})}),"only"!==d[e].iconType&&wp.element.createElement(w.Content,{tagName:"span",value:d[e].text}),"right"===d[e].iconType&&wp.element.createElement("i",{className:"".concat(d[e].prefix," fa-fw fa-").concat(d[e].icon," margin-left")})))},k="collapse-none"!==r?r:"";return wp.element.createElement("div",{id:n,className:a()(e.className,k),style:{justifyContent:l,alignItems:l||"flex-start"}},f(o,(function(e){return v(e)})))}}];function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(n,!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var T=wp.i18n.__,S=lodash.times,B=wp.blocks.registerBlockType,O=wp.components,M=O.BaseControl,L=O.Button,N=O.ButtonGroup,A=O.Dashicon,_=O.Dropdown,P=O.MenuGroup,R=O.MenuItem,I=O.Icon,z=O.IconButton,V=O.PanelBody,H=O.Placeholder,j=O.RangeControl,F=O.SelectControl,D=O.Spinner,G=O.ToggleControl,W=O.Toolbar,Z=wp.compose,q=Z.compose,U=Z.withState,K=wp.data.withSelect,Q=wp.blockEditor||wp.editor,J=Q.AlignmentToolbar,Y=Q.BlockControls,$=Q.ColorPalette,X=Q.InspectorControls,ee=Q.RichText,te=wp.element.Fragment,ne=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,123))}));B("themeisle-blocks/button-group",{title:T("Button Group"),description:T("Prompt visitors to take action with a button group."),icon:s.d,category:"themeisle-blocks",keywords:[T("buttons"),T("button group"),T("advanced buttons")],attributes:{id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},deprecated:v,edit:q([K((function(e,t){return{props:t}})),U({tab:"buttons",selectedButton:0,hover:!1,wait:!1})])((function(e){var t,n=e.tab,o=e.selectedButton,l=e.hover,i=e.wait,g=e.setState,h=e.props,f=h.attributes,w=f.id,y=f.buttons,v=f.align,E=f.spacing,B=f.collapse,O=f.fontSize,Z=f.fontFamily,q=f.fontStyle,U=f.fontVariant,K=f.textTransform,Q=f.lineHeight,oe=f.data;if(void 0===w||w.substr(w.length-8)!==h.clientId.substr(0,8)){var ae="wp-block-themeisle-blocks-button-group-".concat(h.clientId.substr(0,8));h.setAttributes({id:ae})}var le=function(e){g({selectedButton:e,wait:!0}),setTimeout((function(){g({wait:!1})}),500)},re=function(e){1<=e&&5>=e&&(oe.length<e&&(S(e-oe.length,(function(e){oe.push({text:oe[0].text,link:oe[0].link,newTab:oe[0].newTab,color:oe[0].color,border:oe[0].border,background:oe[0].background,hoverColor:oe[0].hoverColor,hoverBackground:oe[0].hoverBackground,hoverBorder:oe[0].hoverBorder,borderSize:oe[0].borderSize,borderRadius:oe[0].borderRadius,boxShadow:oe[0].boxShadow,boxShadowColor:oe[0].boxShadowColor,boxShadowColorOpacity:oe[0].boxShadowColorOpacity,boxShadowBlur:oe[0].boxShadowBlur,boxShadowSpread:oe[0].boxShadowSpread,boxShadowHorizontal:oe[0].boxShadowHorizontal,boxShadowVertical:oe[0].boxShadowVertical,hoverBoxShadowColor:oe[0].hoverBoxShadowColor,hoverBoxShadowColorOpacity:oe[0].hoverBoxShadowColorOpacity,hoverBoxShadowBlur:oe[0].hoverBoxShadowBlur,hoverBoxShadowSpread:oe[0].hoverBoxShadowSpread,hoverBoxShadowHorizontal:oe[0].hoverBoxShadowHorizontal,hoverBoxShadowVertical:oe[0].hoverBoxShadowVertical,iconType:oe[0].iconType,prefix:oe[0].prefix,icon:oe[0].icon,paddingTopBottom:oe[0].paddingTopBottom,paddingLeftRight:oe[0].paddingLeftRight})})),h.setAttributes({data:oe})),h.setAttributes({buttons:e}),g({selectedButton:0}))},ie=function(e){h.setAttributes({fontSize:e})},ce=function(e){h.setAttributes({fontFamily:e,fontVariant:"normal",fontStyle:"normal"})},se=function(e){h.setAttributes({fontVariant:e})},pe=function(e){h.setAttributes({fontStyle:e})},ue=function(e){h.setAttributes({textTransform:e})},me=function(e){h.setAttributes({lineHeight:e})},de=function(e,t){var n=oe.map((function(n,o){return t===o&&(n=C({},n,{},e)),n}));h.setAttributes({data:n})},be={fontSize:"".concat(O,"px"),fontFamily:Z,fontWeight:U,fontStyle:q,textTransform:K,lineHeight:Q&&"".concat(Q,"px")},ge="collapse-none"!==B?B:"";return wp.element.createElement(te,null,Z&&wp.element.createElement(c.a,{fonts:[{font:Z,weights:U&&["".concat(U+("italic"===q?":i":""))]}]}),wp.element.createElement(Y,null,wp.element.createElement(J,{value:v,onChange:function(e){h.setAttributes({align:e})},alignmentControls:[{icon:"editor-alignleft",title:T("Align left"),align:"flex-start"},{icon:"editor-aligncenter",title:T("Align center"),align:"center"},{icon:"editor-alignright",title:T("Align right"),align:"flex-end"}]}),wp.element.createElement(W,{className:"wp-themesiel-blocks-button-group-components-toolbar"},wp.element.createElement(_,{contentClassName:"wp-themesiel-blocks-button-group-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(z,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:T("Typography Settings"),tooltip:T("Typography Settings")},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){var e;return wp.element.createElement(te,null,wp.element.createElement(j,{label:T("Font Size"),value:O,onChange:ie,min:0,max:50}),wp.element.createElement(u.a,(x(e={label:T("Font Family"),value:Z,onChangeFontFamily:ce,isSelect:!0,valueVariant:U,onChangeFontVariant:se,valueStyle:q,onChangeFontStyle:pe},"valueStyle",q),x(e,"onChangeFontStyle",pe),x(e,"valueTransform",K),x(e,"onChangeTextTransform",ue),e)),wp.element.createElement(j,{label:T("Line Height"),value:Q,onChange:me,min:0,max:200}))}}))),wp.element.createElement(X,null,wp.element.createElement(V,{className:"wp-block-themeisle-blocks-button-group-header-panel"},wp.element.createElement(L,{className:a()("header-tab",{"is-selected":"buttons"===n}),onClick:function(){return g({tab:"buttons"})}},wp.element.createElement("span",null,wp.element.createElement(I,{icon:s.d}),T("Buttons"))),wp.element.createElement(L,{className:a()("header-tab",{"is-selected":"group"===n}),onClick:function(){return g({tab:"group"})}},wp.element.createElement("span",null,wp.element.createElement(A,{icon:"admin-generic"}),T("Group Settings")))),"buttons"===n&&wp.element.createElement(te,null,wp.element.createElement(V,{opened:!0},wp.element.createElement(j,{label:T("Number of Buttons"),value:y,onChange:re,min:1,max:5}),wp.element.createElement(M,{label:T("Edit Button")},wp.element.createElement(_,{contentClassName:"wp-block-themeisle-blocks-select-button-popover",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(L,{isLarge:!0,className:"wp-block-themeisle-blocks-select-button-button",onClick:n,"aria-expanded":t},T("Button")+" "+(o+1)+": "+Object(p.b)(oe[o].text))},renderContent:function(e){var t=e.onToggle;return wp.element.createElement(P,null,S(y,(function(e){return wp.element.createElement(R,{onClick:function(){le(e),t()}},T("Button")+" "+(e+1)+": "+Object(p.b)(oe[e].text))})))}}))),i?wp.element.createElement(H,null,wp.element.createElement(D,null)):wp.element.createElement(te,null,wp.element.createElement(V,{title:T("Link")},wp.element.createElement(d.a,{label:"Link",placeholder:T("https://…"),value:oe[o].link,onChange:function(e){return de({link:e},o)}},wp.element.createElement(G,{label:"Open in New Tab?",checked:oe[o].newTab,onChange:function(){return de({newTab:!oe[o].newTab},o)}}))),wp.element.createElement(V,{title:T("Color & Border"),initialOpen:!1},wp.element.createElement(N,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(L,{isDefault:!0,isLarge:!0,isPrimary:!l,onClick:function(){return g({hover:!1})}},T("Normal")),wp.element.createElement(L,{isDefault:!0,isLarge:!0,isPrimary:l,onClick:function(){return g({hover:!0})}},T("Hover"))),l?wp.element.createElement(te,null,wp.element.createElement(M,{label:"Hover Color"},wp.element.createElement($,{label:"Hover Color",value:oe[o].hoverColor,onChange:function(e){return de({hoverColor:e},o)}})),wp.element.createElement(M,{label:"Hover Background"},wp.element.createElement($,{label:"Hover Background",value:oe[o].hoverBackground,onChange:function(e){return de({hoverBackground:e},o)}})),wp.element.createElement(M,{label:"Hover Border"},wp.element.createElement($,{label:"Hover Border",value:oe[o].hoverBorder,onChange:function(e){return de({hoverBorder:e},o)}}))):wp.element.createElement(te,null,wp.element.createElement(M,{label:"Color"},wp.element.createElement($,{label:"Color",value:oe[o].color,onChange:function(e){return de({color:e},o)}})),wp.element.createElement(M,{label:"Background"},wp.element.createElement($,{label:"Background",value:oe[o].background,onChange:function(e){return de({background:e},o)}})),wp.element.createElement(M,{label:"Border"},wp.element.createElement($,{label:"Border",value:oe[o].border,onChange:function(e){return de({border:e},o)}}))),wp.element.createElement(j,{label:T("Border Width"),className:"border-width",beforeIcon:"move",value:oe[o].borderSize,onChange:function(e){return de({borderSize:e},o)},min:0,max:10}),wp.element.createElement(j,{label:T("Border Radius"),beforeIcon:"move",value:oe[o].borderRadius,onChange:function(e){return de({borderRadius:e},o)},min:0,max:100})),wp.element.createElement(V,{title:T("Box Shadow"),initialOpen:!1},wp.element.createElement(G,{label:"Box Shadow",checked:oe[o].boxShadow,onChange:function(e){return de({boxShadow:!oe[o].boxShadow},o)}}),oe[o].boxShadow&&wp.element.createElement(te,null,wp.element.createElement(N,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(L,{isDefault:!0,isLarge:!0,isPrimary:!l,onClick:function(){return g({hover:!1})}},T("Normal")),wp.element.createElement(L,{isDefault:!0,isLarge:!0,isPrimary:l,onClick:function(){return g({hover:!0})}},T("Hover"))),!l&&wp.element.createElement(te,null,wp.element.createElement(M,{label:"Shadow Color"},wp.element.createElement($,{label:"Shadow Color",value:oe[o].boxShadowColor,onChange:function(e){return de({boxShadowColor:e},o)}})),wp.element.createElement(m.a,{label:"Shadow Properties"},wp.element.createElement(j,{label:T("Opacity"),value:oe[o].boxShadowColorOpacity,onChange:function(e){return de({boxShadowColorOpacity:e},o)},min:0,max:100}),wp.element.createElement(j,{label:T("Blur"),value:oe[o].boxShadowBlur,onChange:function(e){return de({boxShadowBlur:e},o)},min:0,max:100}),wp.element.createElement(j,{label:T("Spread"),value:oe[o].boxShadowSpread,onChange:function(e){return de({boxShadowSpread:e},o)},min:-100,max:100}),wp.element.createElement(j,{label:T("Horizontal"),value:oe[o].boxShadowHorizontal,onChange:function(e){return de({boxShadowHorizontal:e},o)},min:-100,max:100}),wp.element.createElement(j,{label:T("Vertical"),value:oe[o].boxShadowVertical,onChange:function(e){return de({boxShadowVertical:e},o)},min:-100,max:100})))||l&&wp.element.createElement(te,null,wp.element.createElement(M,{label:"Hover Shadow Color"},wp.element.createElement($,{label:"Hover Shadow Color",value:oe[o].hoverBoxShadowColor,onChange:function(e){return de({hoverBoxShadowColor:e},o)}})),wp.element.createElement(m.a,{label:"Hover Shadow Properties"},wp.element.createElement(j,{label:T("Opacity"),value:oe[o].hoverBoxShadowColorOpacity,onChange:function(e){return de({hoverBoxShadowColorOpacity:e},o)},min:0,max:100}),wp.element.createElement(j,{label:T("Blur"),value:oe[o].hoverBoxShadowBlur,onChange:function(e){return de({hoverBoxShadowBlur:e},o)},min:0,max:100}),wp.element.createElement(j,{label:T("Spread"),value:oe[o].hoverBoxShadowSpread,onChange:function(e){return de({hoverBoxShadowSpread:e},o)},min:-100,max:100}),wp.element.createElement(j,{label:T("Horizontal"),value:oe[o].hoverBoxShadowHorizontal,onChange:function(e){return de({hoverBoxShadowHorizontal:e},o)},min:-100,max:100}),wp.element.createElement(j,{label:T("Vertical"),value:oe[o].hoverBoxShadowVertical,onChange:function(e){return de({hoverBoxShadowVertical:e},o)},min:-100,max:100}))))),wp.element.createElement(V,{title:T("Icon Settings"),initialOpen:!1},wp.element.createElement(F,{label:T("Icon Position"),value:oe[o].iconType,options:[{label:"No Icon",value:"none"},{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Icon Only",value:"only"}],onChange:function(e){return de({iconType:e},o)}}),"none"!==oe[o].iconType&&wp.element.createElement(te,null,wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(H,null,wp.element.createElement(D,null))},wp.element.createElement(ne,{label:T("Icon Picker"),prefix:oe[o].prefix,icon:oe[o].icon,onChange:function(e){"object"===k(e)?de({icon:e.name,prefix:e.prefix},o):de({icon:e},o)}})))),wp.element.createElement(V,{title:T("Padding"),initialOpen:!1},wp.element.createElement(b.a,{label:T("Padding"),min:0,max:100,onChange:function(e,t){return function(e,t,n){"top"!==e&&"bottom"!==e||de({paddingTopBottom:t},n),"left"!==e&&"right"!==e||de({paddingLeftRight:t},n)}(e,t,o)},options:[{label:T("Top"),type:"top",value:oe[o].paddingTopBottom},{label:T("Right"),type:"right",value:oe[o].paddingLeftRight},{label:T("Bottom"),type:"bottom",value:oe[o].paddingTopBottom},{label:T("Left"),type:"left",value:oe[o].paddingLeftRight}]}))))||"group"===n&&wp.element.createElement(te,null,wp.element.createElement(V,{title:T("Spacing")},wp.element.createElement(j,{label:T("Spacing"),value:E,onChange:function(e){h.setAttributes({spacing:e})},min:0,max:50}),wp.element.createElement(F,{label:T("Collapse On"),value:B,options:[{label:"None",value:"collapse-none"},{label:"Desktop",value:"collapse-desktop"},{label:"Tablet",value:"collapse-tablet"},{label:"Mobile",value:"collapse-mobile"}],onChange:function(e){h.setAttributes({collapse:e})}})),wp.element.createElement(V,{title:T("Typography Settings"),initialOpen:!1},wp.element.createElement(j,{label:T("Font Size"),value:O,onChange:ie,min:0,max:50}),wp.element.createElement(u.a,(x(t={label:T("Font Family"),value:Z,onChangeFontFamily:ce,valueVariant:U,onChangeFontVariant:se,valueStyle:q,onChangeFontStyle:pe},"valueStyle",q),x(t,"onChangeFontStyle",pe),x(t,"valueTransform",K),x(t,"onChangeTextTransform",ue),t)),wp.element.createElement(j,{label:T("Line Height"),value:Q,onChange:me,min:0,max:200})))),wp.element.createElement("div",{id:w,className:a()(h.className,ge),style:{justifyContent:v,alignItems:v||"flex-start"}},S(y,(function(e){return function(e){var t={};oe[e].boxShadow&&(t={boxShadow:"".concat(oe[e].boxShadowHorizontal,"px ").concat(oe[e].boxShadowVertical,"px ").concat(oe[e].boxShadowBlur,"px ").concat(oe[e].boxShadowSpread,"px ").concat(r()(oe[e].boxShadowColor?oe[e].boxShadowColor:"#000000",oe[e].boxShadowColorOpacity))});var n=C({},be,{color:oe[e].color,background:oe[e].background,border:"".concat(oe[e].borderSize,"px solid ").concat(oe[e].border),borderRadius:"".concat(oe[e].borderRadius,"px")},t,{padding:"".concat(oe[e].paddingTopBottom,"px ").concat(oe[e].paddingLeftRight,"px "),marginLeft:0===e?"0px":"".concat(E/2,"px"),marginRight:y===e+1?"0px":"".concat(E/2,"px")});return wp.element.createElement(te,null,wp.element.createElement("style",null,"#".concat(w," .wp-block-themeisle-blocks-button-").concat(e,":hover {\n\t\t\t\t\t\t\tcolor: ").concat(oe[e].hoverColor?oe[e].hoverColor:oe[e].color," !important;\n\t\t\t\t\t\t\tbackground: ").concat(oe[e].hoverBackground?oe[e].hoverBackground:oe[e].background," !important;\n\t\t\t\t\t\t\tborder: ").concat(oe[e].borderSize,"px solid ").concat(oe[e].hoverBorder?oe[e].hoverBorder:oe[e].border," !important;\n\t\t\t\t\t\t\t").concat(oe[e].boxShadow&&"box-shadow: ".concat(oe[e].hoverBoxShadowHorizontal,"px ").concat(oe[e].hoverBoxShadowVertical,"px ").concat(oe[e].hoverBoxShadowBlur,"px ").concat(oe[e].hoverBoxShadowSpread,"px ").concat(r()(oe[e].hoverBoxShadowColor?oe[e].hoverBoxShadowColor:"#000000",oe[e].hoverBoxShadowColorOpacity)," !important;"),"\n\t\t\t\t\t\t}")),wp.element.createElement("div",{style:n,className:a()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),onClick:function(){return le(e)}},("left"===oe[e].iconType||"only"===oe[e].iconType)&&wp.element.createElement("i",{className:a()(oe[e].prefix,"fa-fw","fa-".concat(oe[e].icon),{"margin-right":"left"===oe[e].iconType})}),"only"!==oe[e].iconType&&wp.element.createElement(ee,{placeholder:T("Add text…"),value:oe[e].text,"aria-label":Object(p.b)(oe[e].text),onChange:function(t){return de({text:t},e)},formattingControls:["bold","italic","strikethrough"],allowedFormats:["core/bold","core/italic","core/strikethrough"],tagName:"div",keepPlaceholderOnFocus:!0}),"right"===oe[e].iconType&&wp.element.createElement("i",{className:"".concat(oe[e].prefix," fa-fw fa-").concat(oe[e].icon," margin-left")})))}(e)})),h.isSelected&&4>=y&&wp.element.createElement(z,{className:"wp-block-themeisle-blocks-button-inserter",icon:"plus-alt",onClick:function(){return re(y+1)},label:T("Add Button")})))})),save:function(e){var t=e.attributes,n=t.id,o=t.buttons,l=t.align,r=t.collapse,i=t.fontSize,c=t.fontFamily,s=t.fontStyle,p=t.fontVariant,u=t.textTransform,m=t.lineHeight,d=t.data,b={fontSize:"".concat(i,"px"),fontFamily:c,fontWeight:p,fontStyle:s,textTransform:u,lineHeight:m&&"".concat(m,"px")},g="collapse-none"!==r?r:"";return wp.element.createElement("div",{id:n,className:a()(e.className,g),style:{justifyContent:l,alignItems:l||"flex-start"}},S(o,(function(e){return function(e){var t=C({},b,{borderWidth:"".concat(d[e].borderSize,"px"),borderRadius:"".concat(d[e].borderRadius,"px"),padding:"".concat(d[e].paddingTopBottom,"px ").concat(d[e].paddingLeftRight,"px ")});return wp.element.createElement(te,null,wp.element.createElement("a",{href:d[e].link,target:d[e].newTab?"_blank":"_self",className:a()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:t,rel:"noopener noreferrer"},("left"===d[e].iconType||"only"===d[e].iconType)&&wp.element.createElement("i",{className:a()(d[e].prefix,"fa-fw","fa-".concat(d[e].icon),{"margin-right":"left"===d[e].iconType})}),"only"!==d[e].iconType&&wp.element.createElement(ee.Content,{tagName:"span",value:d[e].text}),"right"===d[e].iconType&&wp.element.createElement("i",{className:"".concat(d[e].prefix," fa-fw fa-").concat(d[e].icon," margin-left")})))}(e)})))}})}]);
vendor/codeinwp/gutenberg-blocks/build/chunk-1.js CHANGED
@@ -1 +1 @@
1
- (window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[]).push([[1],{118:function(c){c.exports=JSON.parse('{"500px":{"changes":["4.4","5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f26e","label":"500px","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M103.3 344.3c-6.5-14.2-6.9-18.3 7.4-23.1 25.6-8 8 9.2 43.2 49.2h.3v-93.9c1.2-50.2 44-92.2 97.7-92.2 53.9 0 97.7 43.5 97.7 96.8 0 63.4-60.8 113.2-128.5 93.3-10.5-4.2-2.1-31.7 8.5-28.6 53 0 89.4-10.1 89.4-64.4 0-61-77.1-89.6-116.9-44.6-23.5 26.4-17.6 42.1-17.6 157.6 50.7 31 118.3 22 160.4-20.1 24.8-24.8 38.5-58 38.5-93 0-35.2-13.8-68.2-38.8-93.3-24.8-24.8-57.8-38.5-93.3-38.5s-68.8 13.8-93.5 38.5c-.3.3-16 16.5-21.2 23.9l-.5.6c-3.3 4.7-6.3 9.1-20.1 6.1-6.9-1.7-14.3-5.8-14.3-11.8V20c0-5 3.9-10.5 10.5-10.5h241.3c8.3 0 8.3 11.6 8.3 15.1 0 3.9 0 15.1-8.3 15.1H130.3v132.9h.3c104.2-109.8 282.8-36 282.8 108.9 0 178.1-244.8 220.3-310.1 62.8zm63.3-260.8c-.5 4.2 4.6 24.5 14.6 20.6C306 56.6 384 144.5 390.6 144.5c4.8 0 22.8-15.3 14.3-22.8-93.2-89-234.5-57-238.3-38.2zM393 414.7C283 524.6 94 475.5 61 310.5c0-12.2-30.4-7.4-28.9 3.3 24 173.4 246 256.9 381.6 121.3 6.9-7.8-12.6-28.4-20.7-20.4zM213.6 306.6c0 4 4.3 7.3 5.5 8.5 3 3 6.1 4.4 8.5 4.4 3.8 0 2.6.2 22.3-19.5 19.6 19.3 19.1 19.5 22.3 19.5 5.4 0 18.5-10.4 10.7-18.2L265.6 284l18.2-18.2c6.3-6.8-10.1-21.8-16.2-15.7L249.7 268c-18.6-18.8-18.4-19.5-21.5-19.5-5 0-18 11.7-12.4 17.3L234 284c-18.1 17.9-20.4 19.2-20.4 22.6z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M103.3 344.3c-6.5-14.2-6.9-18.3 7.4-23.1 25.6-8 8 9.2 43.2 49.2h.3v-93.9c1.2-50.2 44-92.2 97.7-92.2 53.9 0 97.7 43.5 97.7 96.8 0 63.4-60.8 113.2-128.5 93.3-10.5-4.2-2.1-31.7 8.5-28.6 53 0 89.4-10.1 89.4-64.4 0-61-77.1-89.6-116.9-44.6-23.5 26.4-17.6 42.1-17.6 157.6 50.7 31 118.3 22 160.4-20.1 24.8-24.8 38.5-58 38.5-93 0-35.2-13.8-68.2-38.8-93.3-24.8-24.8-57.8-38.5-93.3-38.5s-68.8 13.8-93.5 38.5c-.3.3-16 16.5-21.2 23.9l-.5.6c-3.3 4.7-6.3 9.1-20.1 6.1-6.9-1.7-14.3-5.8-14.3-11.8V20c0-5 3.9-10.5 10.5-10.5h241.3c8.3 0 8.3 11.6 8.3 15.1 0 3.9 0 15.1-8.3 15.1H130.3v132.9h.3c104.2-109.8 282.8-36 282.8 108.9 0 178.1-244.8 220.3-310.1 62.8zm63.3-260.8c-.5 4.2 4.6 24.5 14.6 20.6C306 56.6 384 144.5 390.6 144.5c4.8 0 22.8-15.3 14.3-22.8-93.2-89-234.5-57-238.3-38.2zM393 414.7C283 524.6 94 475.5 61 310.5c0-12.2-30.4-7.4-28.9 3.3 24 173.4 246 256.9 381.6 121.3 6.9-7.8-12.6-28.4-20.7-20.4zM213.6 306.6c0 4 4.3 7.3 5.5 8.5 3 3 6.1 4.4 8.5 4.4 3.8 0 2.6.2 22.3-19.5 19.6 19.3 19.1 19.5 22.3 19.5 5.4 0 18.5-10.4 10.7-18.2L265.6 284l18.2-18.2c6.3-6.8-10.1-21.8-16.2-15.7L249.7 268c-18.6-18.8-18.4-19.5-21.5-19.5-5 0-18 11.7-12.4 17.3L234 284c-18.1 17.9-20.4 19.2-20.4 22.6z"}}},"accessible-icon":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":["accessibility","handicap","person","wheelchair","wheelchair-alt"]},"styles":["brands"],"unicode":"f368","label":"Accessible Icon","voted":false,"svg":{"brands":{"last_modified":1502397066000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M423.9 255.8L411 413.1c-3.3 40.7-63.9 35.1-60.6-4.9l10-122.5-41.1 2.3c10.1 20.7 15.8 43.9 15.8 68.5 0 41.2-16.1 78.7-42.3 106.5l-39.3-39.3c57.9-63.7 13.1-167.2-74-167.2-25.9 0-49.5 9.9-67.2 26L73 243.2c22-20.7 50.1-35.1 81.4-40.2l75.3-85.7-42.6-24.8-51.6 46c-30 26.8-70.6-18.5-40.5-45.4l68-60.7c9.8-8.8 24.1-10.2 35.5-3.6 0 0 139.3 80.9 139.5 81.1 16.2 10.1 20.7 36 6.1 52.6L285.7 229l106.1-5.9c18.5-1.1 33.6 14.4 32.1 32.7zm-64.9-154c28.1 0 50.9-22.8 50.9-50.9C409.9 22.8 387.1 0 359 0c-28.1 0-50.9 22.8-50.9 50.9 0 28.1 22.8 50.9 50.9 50.9zM179.6 456.5c-80.6 0-127.4-90.6-82.7-156.1l-39.7-39.7C36.4 287 24 320.3 24 356.4c0 130.7 150.7 201.4 251.4 122.5l-39.7-39.7c-16 10.9-35.3 17.3-56.1 17.3z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M423.9 255.8L411 413.1c-3.3 40.7-63.9 35.1-60.6-4.9l10-122.5-41.1 2.3c10.1 20.7 15.8 43.9 15.8 68.5 0 41.2-16.1 78.7-42.3 106.5l-39.3-39.3c57.9-63.7 13.1-167.2-74-167.2-25.9 0-49.5 9.9-67.2 26L73 243.2c22-20.7 50.1-35.1 81.4-40.2l75.3-85.7-42.6-24.8-51.6 46c-30 26.8-70.6-18.5-40.5-45.4l68-60.7c9.8-8.8 24.1-10.2 35.5-3.6 0 0 139.3 80.9 139.5 81.1 16.2 10.1 20.7 36 6.1 52.6L285.7 229l106.1-5.9c18.5-1.1 33.6 14.4 32.1 32.7zm-64.9-154c28.1 0 50.9-22.8 50.9-50.9C409.9 22.8 387.1 0 359 0c-28.1 0-50.9 22.8-50.9 50.9 0 28.1 22.8 50.9 50.9 50.9zM179.6 456.5c-80.6 0-127.4-90.6-82.7-156.1l-39.7-39.7C36.4 287 24 320.3 24 356.4c0 130.7 150.7 201.4 251.4 122.5l-39.7-39.7c-16 10.9-35.3 17.3-56.1 17.3z"}}},"accusoft":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f369","label":"Accusoft","voted":false,"svg":{"brands":{"last_modified":1521653821380,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 640 512\\"><path d=\\"M482.2 372.1C476.5 365.2 250 75 242.3 65.5c-13.7-17.2 0-16.8 19.2-16.9 9.7-.1 106.3-.6 116.5-.6 24.1-.1 28.7.6 38.4 12.8 2.1 2.7 205.1 245.8 207.2 248.3 5.5 6.7 15.2 19.1 7.2 23.4-2.4 1.3-114.6 47.7-117.8 48.9-10.1 4-17.5 6.8-30.8-9.3m114.7-5.6s-115 50.4-117.5 51.6c-16 7.3-26.9-3.2-36.7-14.6l-57.1-74c-5.4-.9-60.4-9.6-65.3-9.3-3.1.2-9.6.8-14.4 2.9-4.9 2.1-145.2 52.8-150.2 54.7-5.1 2-11.4 3.6-11.1 7.6.2 2.5 2 2.6 4.6 3.5 2.7.8 300.9 67.6 308 69.1 15.6 3.3 38.5 10.5 53.6 1.7 2.1-1.2 123.8-76.4 125.8-77.8 5.4-4 4.3-6.8-1.7-8.2-2.3-.3-24.6-4.7-38-7.2m-326-181.3s-12 1.6-25 15.1c-9 9.3-242.1 239.1-243.4 240.9-7 10 1.6 6.8 15.7 1.7.8 0 114.5-36.6 114.5-36.6.5-.6-.1-.1.6-.6-.4-5.1-.8-26.2-1-27.7-.6-5.2 2.2-6.9 7-8.9l92.6-33.8c.6-.8 88.5-81.7 90.2-83.3v-1l-51.2-65.8\\"/></svg>","viewBox":["0","0","640","512"],"width":640,"height":512,"path":"M482.2 372.1C476.5 365.2 250 75 242.3 65.5c-13.7-17.2 0-16.8 19.2-16.9 9.7-.1 106.3-.6 116.5-.6 24.1-.1 28.7.6 38.4 12.8 2.1 2.7 205.1 245.8 207.2 248.3 5.5 6.7 15.2 19.1 7.2 23.4-2.4 1.3-114.6 47.7-117.8 48.9-10.1 4-17.5 6.8-30.8-9.3m114.7-5.6s-115 50.4-117.5 51.6c-16 7.3-26.9-3.2-36.7-14.6l-57.1-74c-5.4-.9-60.4-9.6-65.3-9.3-3.1.2-9.6.8-14.4 2.9-4.9 2.1-145.2 52.8-150.2 54.7-5.1 2-11.4 3.6-11.1 7.6.2 2.5 2 2.6 4.6 3.5 2.7.8 300.9 67.6 308 69.1 15.6 3.3 38.5 10.5 53.6 1.7 2.1-1.2 123.8-76.4 125.8-77.8 5.4-4 4.3-6.8-1.7-8.2-2.3-.3-24.6-4.7-38-7.2m-326-181.3s-12 1.6-25 15.1c-9 9.3-242.1 239.1-243.4 240.9-7 10 1.6 6.8 15.7 1.7.8 0 114.5-36.6 114.5-36.6.5-.6-.1-.1.6-.6-.4-5.1-.8-26.2-1-27.7-.6-5.2 2.2-6.9 7-8.9l92.6-33.8c.6-.8 88.5-81.7 90.2-83.3v-1l-51.2-65.8"}}},"acquisitions-incorporated":{"changes":["5.4.0"],"ligatures":[],"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},"styles":["brands"],"unicode":"f6af","label":"Acquisitions Incorporated","voted":false,"svg":{"brands":{"last_modified":1539718624416,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 344.76 512\\"><path d=\\"M344 0c-.81 5.47-1.63 10.79-2.39 16.12-1.39 9.74-2.9 19.48-4.05 29.25-.35 2.96-1.21 4.32-4.3 4.33-20.61.11-41.21.14-61.82.53-18.76.35-37.58.28-56.23 2-13.42 1.24-23.28 12.67-18.88 26.64 8.55 27.11 27.65 69.1 36.37 89.45 65.72 154.14 61.43 156.99 84 158.56 6.67.46 13.4.07 20.43.07 1.39 9.4 2.66 18.04 4.05 27.51H225.17v-27c10.33 0 20.36-.12 30.38.06 3.52.06 5.05-.63 3.44-4.37-4.44-10.29-8.77-20.63-13.25-30.9-1.62-3.72-4.06-4.78-8.4-3.52-12.32 3.59-24.79 6.69-37.26 9.69-4.25 1.02-5.93 2.77-5.86 7.46.85 57.47.95 127.53 1 129.12.4 12.54 8.75 21.41 21.03 23.07.89.12 12.89 2.72 112.68 2.56 8.25-.01 8.41-.17 9.57 7.56 2.15 14.34 4.14 28.7 6.26 43.53-367.75 0-153.93.61-337.09 0-3.95-.01-6.08-.69-5.28-5.74 2.04-12.86 3.5-25.82 4.97-38.76.55-4.81 2.29-6.81 7.63-6.77 118.09.99 114.93.35 121.43-2.39 9.42-3.98 14.98-12.85 14.95-23.07-.12-42.93-.33-85.86-.25-128.79.01-3.87-1.16-5.99-4.56-6.84-15.64-3.92-31.31-7.71-47.58-11.7-5.23 12.27-10.39 24.37-15.66 36.7 1.83 3.35 28.38 2.93 35.28 2.93v27.64H4.34c1.03-8.61 1.77-16.81 3.23-24.88.25-1.41 3.53-3.14 5.47-3.22 8.46-.35 16.95-.29 25.43-.09 3.99.09 5.92-1.04 7.61-5.16 16.63-40.7 13.51-31.17 67.31-160.97 31.53-76.09 33.06-76.02 32.64-87.43-.69-18.56-25.37-22.26-37.65-22.11-30.04.38-38.45-.47-101.84-.47C-.62 6.11 2.37 18.54.16 5.32-.55 1.08 1.19.03 4.8.02m113.08 247.19c2.3 1.15 3.97 2.29 5.82 2.87 13.29 4.21 26.64 8.24 39.93 12.46 6.14 1.95 11.98 2.12 18.3.05 13.02-4.28 26.29-7.81 39.43-11.73 1.46-.44 2.74-1.44 3.93-2.09-6.71-17.37-13.12-34.15-19.67-50.88-8.88-22.67-17.63-60.32-26.98-82.81-1.53-.78-1.91 2.36-9.43 0-17.11 44.05-34.14 87.88-51.33 132.13z\\"/></svg>","viewBox":["0","0","344.76","512"],"width":344,"height":512,"path":"M344 0c-.81 5.47-1.63 10.79-2.39 16.12-1.39 9.74-2.9 19.48-4.05 29.25-.35 2.96-1.21 4.32-4.3 4.33-20.61.11-41.21.14-61.82.53-18.76.35-37.58.28-56.23 2-13.42 1.24-23.28 12.67-18.88 26.64 8.55 27.11 27.65 69.1 36.37 89.45 65.72 154.14 61.43 156.99 84 158.56 6.67.46 13.4.07 20.43.07 1.39 9.4 2.66 18.04 4.05 27.51H225.17v-27c10.33 0 20.36-.12 30.38.06 3.52.06 5.05-.63 3.44-4.37-4.44-10.29-8.77-20.63-13.25-30.9-1.62-3.72-4.06-4.78-8.4-3.52-12.32 3.59-24.79 6.69-37.26 9.69-4.25 1.02-5.93 2.77-5.86 7.46.85 57.47.95 127.53 1 129.12.4 12.54 8.75 21.41 21.03 23.07.89.12 12.89 2.72 112.68 2.56 8.25-.01 8.41-.17 9.57 7.56 2.15 14.34 4.14 28.7 6.26 43.53-367.75 0-153.93.61-337.09 0-3.95-.01-6.08-.69-5.28-5.74 2.04-12.86 3.5-25.82 4.97-38.76.55-4.81 2.29-6.81 7.63-6.77 118.09.99 114.93.35 121.43-2.39 9.42-3.98 14.98-12.85 14.95-23.07-.12-42.93-.33-85.86-.25-128.79.01-3.87-1.16-5.99-4.56-6.84-15.64-3.92-31.31-7.71-47.58-11.7-5.23 12.27-10.39 24.37-15.66 36.7 1.83 3.35 28.38 2.93 35.28 2.93v27.64H4.34c1.03-8.61 1.77-16.81 3.23-24.88.25-1.41 3.53-3.14 5.47-3.22 8.46-.35 16.95-.29 25.43-.09 3.99.09 5.92-1.04 7.61-5.16 16.63-40.7 13.51-31.17 67.31-160.97 31.53-76.09 33.06-76.02 32.64-87.43-.69-18.56-25.37-22.26-37.65-22.11-30.04.38-38.45-.47-101.84-.47C-.62 6.11 2.37 18.54.16 5.32-.55 1.08 1.19.03 4.8.02m113.08 247.19c2.3 1.15 3.97 2.29 5.82 2.87 13.29 4.21 26.64 8.24 39.93 12.46 6.14 1.95 11.98 2.12 18.3.05 13.02-4.28 26.29-7.81 39.43-11.73 1.46-.44 2.74-1.44 3.93-2.09-6.71-17.37-13.12-34.15-19.67-50.88-8.88-22.67-17.63-60.32-26.98-82.81-1.53-.78-1.91 2.36-9.43 0-17.11 44.05-34.14 87.88-51.33 132.13z"}}},"ad":{"changes":["5.3.0"],"ligatures":[],"search":{"terms":[]},"styles":["solid"],"unicode":"f641","label":"Ad","voted":false,"svg":{"solid":{"last_modified":1535388320869,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M157.52 272h36.96L176 218.78 157.52 272zM352 256c-13.23 0-24 10.77-24 24s10.77 24 24 24 24-10.77 24-24-10.77-24-24-24zM464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM250.58 352h-16.94c-6.81 0-12.88-4.32-15.12-10.75L211.15 320h-70.29l-7.38 21.25A16 16 0 0 1 118.36 352h-16.94c-11.01 0-18.73-10.85-15.12-21.25L140 176.12A23.995 23.995 0 0 1 162.67 160h26.66A23.99 23.99 0 0 1 212 176.13l53.69 154.62c3.61 10.4-4.11 21.25-15.11 21.25zM424 336c0 8.84-7.16 16-16 16h-16c-4.85 0-9.04-2.27-11.98-5.68-8.62 3.66-18.09 5.68-28.02 5.68-39.7 0-72-32.3-72-72s32.3-72 72-72c8.46 0 16.46 1.73 24 4.42V176c0-8.84 7.16-16 16-16h16c8.84 0 16 7.16 16 16v160z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M157.52 272h36.96L176 218.78 157.52 272zM352 256c-13.23 0-24 10.77-24 24s10.77 24 24 24 24-10.77 24-24-10.77-24-24-24zM464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM250.58 352h-16.94c-6.81 0-12.88-4.32-15.12-10.75L211.15 320h-70.29l-7.38 21.25A16 16 0 0 1 118.36 352h-16.94c-11.01 0-18.73-10.85-15.12-21.25L140 176.12A23.995 23.995 0 0 1 162.67 160h26.66A23.99 23.99 0 0 1 212 176.13l53.69 154.62c3.61 10.4-4.11 21.25-15.11 21.25zM424 336c0 8.84-7.16 16-16 16h-16c-4.85 0-9.04-2.27-11.98-5.68-8.62 3.66-18.09 5.68-28.02 5.68-39.7 0-72-32.3-72-72s32.3-72 72-72c8.46 0 16.46 1.73 24 4.42V176c0-8.84 7.16-16 16-16h16c8.84 0 16 7.16 16 16v160z"}}},"address-book":{"changes":["4.7","5.0.0","5.0.3"],"ligatures":[],"search":{"terms":[]},"styles":["solid","regular"],"unicode":"f2b9","label":"Address Book","voted":false,"svg":{"solid":{"last_modified":1525209365064,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-228-32c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H118.4C106 384 96 375.4 96 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-228-32c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H118.4C106 384 96 375.4 96 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2z"},"regular":{"last_modified":1525209365040,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-68 304H48V48h320v416zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-68 304H48V48h320v416zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z"}}},"address-card":{"changes":["4.7","5.0.0","5.0.3"],"ligatures":[],"search":{"terms":[]},"styles":["solid","regular"],"unicode":"f2bb","label":"Address Card","voted":false,"svg":{"solid":{"last_modified":1525209365064,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 576 512\\"><path d=\\"M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-352 96c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H86.4C74 384 64 375.4 64 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2zM512 312c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z\\"/></svg>","viewBox":["0","0","576","512"],"width":576,"height":512,"path":"M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-352 96c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H86.4C74 384 64 375.4 64 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2zM512 312c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z"},"regular":{"last_modified":1525209365041,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 576 512\\"><path d=\\"M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H48V80h480v352zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2zM360 320h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8z\\"/></svg>","viewBox":["0","0","576","512"],"width":576,"height":512,"path":"M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H48V80h480v352zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2zM360 320h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8z"}}},"adjust":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":["contrast"]},"styles":["solid"],"unicode":"f042","label":"adjust","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M8 256c0 136.966 111.033 248 248 248s248-111.034 248-248S392.966 8 256 8 8 119.033 8 256zm248 184V72c101.705 0 184 82.311 184 184 0 101.705-82.311 184-184 184z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M8 256c0 136.966 111.033 248 248 248s248-111.034 248-248S392.966 8 256 8 8 119.033 8 256zm248 184V72c101.705 0 184 82.311 184 184 0 101.705-82.311 184-184 184z"}}},"adn":{"changes":["3.2","5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f170","label":"App.net","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 496 512\\"><path d=\\"M248 167.5l64.9 98.8H183.1l64.9-98.8zM496 256c0 136.9-111.1 248-248 248S0 392.9 0 256 111.1 8 248 8s248 111.1 248 248zm-99.8 82.7L248 115.5 99.8 338.7h30.4l33.6-51.7h168.6l33.6 51.7h30.2z\\"/></svg>","viewBox":["0","0","496","512"],"width":496,"height":512,"path":"M248 167.5l64.9 98.8H183.1l64.9-98.8zM496 256c0 136.9-111.1 248-248 248S0 392.9 0 256 111.1 8 248 8s248 111.1 248 248zm-99.8 82.7L248 115.5 99.8 338.7h30.4l33.6-51.7h168.6l33.6 51.7h30.2z"}}},"adobe":{"changes":["5.6.0"],"ligatures":[],"search":{"terms":["acrobat","app","design","illustrator","indesign","photoshop"]},"styles":["brands"],"unicode":"f778","label":"Adobe","voted":false,"svg":{"brands":{"last_modified":1543956065694,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 460.8 512\\"><path d=\\"M289.9 64.3h170.9v384l-170.9-384zm-119 0H0v384l170.9-384zm59.5 142.1l107.5 241.9h-73l-30.7-76.8h-78.7l74.9-165.1z\\"/></svg>","viewBox":["0","0","460.8","512"],"width":460,"height":512,"path":"M289.9 64.3h170.9v384l-170.9-384zm-119 0H0v384l170.9-384zm59.5 142.1l107.5 241.9h-73l-30.7-76.8h-78.7l74.9-165.1z"}}},"adversal":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f36a","label":"Adversal","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M482.1 32H28.7C5.8 32 0 37.9 0 60.9v390.2C0 474.4 5.8 480 28.7 480h453.4c24.4 0 29.9-5.2 29.9-29.7V62.2c0-24.6-5.4-30.2-29.9-30.2zM178.4 220.3c-27.5-20.2-72.1-8.7-84.2 23.4-4.3 11.1-9.3 9.5-17.5 8.3-9.7-1.5-17.2-3.2-22.5-5.5-28.8-11.4 8.6-55.3 24.9-64.3 41.1-21.4 83.4-22.2 125.3-4.8 40.9 16.8 34.5 59.2 34.5 128.5 2.7 25.8-4.3 58.3 9.3 88.8 1.9 4.4.4 7.9-2.7 10.7-8.4 6.7-39.3 2.2-46.6-7.4-1.9-2.2-1.8-3.6-3.9-6.2-3.6-3.9-7.3-2.2-11.9 1-57.4 36.4-140.3 21.4-147-43.3-3.1-29.3 12.4-57.1 39.6-71 38.2-19.5 112.2-11.8 114-30.9 1.1-10.2-1.9-20.1-11.3-27.3zm286.7 222c0 15.1-11.1 9.9-17.8 9.9H52.4c-7.4 0-18.2 4.8-17.8-10.7.4-13.9 10.5-9.1 17.1-9.1 132.3-.4 264.5-.4 396.8 0 6.8 0 16.6-4.4 16.6 9.9zm3.8-340.5v291c0 5.7-.7 13.9-8.1 13.9-12.4-.4-27.5 7.1-36.1-5.6-5.8-8.7-7.8-4-12.4-1.2-53.4 29.7-128.1 7.1-144.4-85.2-6.1-33.4-.7-67.1 15.7-100 11.8-23.9 56.9-76.1 136.1-30.5v-71c0-26.2-.1-26.2 26-26.2 3.1 0 6.6.4 9.7 0 10.1-.8 13.6 4.4 13.6 14.3-.1.2-.1.3-.1.5zm-51.5 232.3c-19.5 47.6-72.9 43.3-90 5.2-15.1-33.3-15.5-68.2.4-101.5 16.3-34.1 59.7-35.7 81.5-4.8 20.6 28.8 14.9 84.6 8.1 101.1zm-294.8 35.3c-7.5-1.3-33-3.3-33.7-27.8-.4-13.9 7.8-23 19.8-25.8 24.4-5.9 49.3-9.9 73.7-14.7 8.9-2 7.4 4.4 7.8 9.5 1.4 33-26.1 59.2-67.6 58.8z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M482.1 32H28.7C5.8 32 0 37.9 0 60.9v390.2C0 474.4 5.8 480 28.7 480h453.4c24.4 0 29.9-5.2 29.9-29.7V62.2c0-24.6-5.4-30.2-29.9-30.2zM178.4 220.3c-27.5-20.2-72.1-8.7-84.2 23.4-4.3 11.1-9.3 9.5-17.5 8.3-9.7-1.5-17.2-3.2-22.5-5.5-28.8-11.4 8.6-55.3 24.9-64.3 41.1-21.4 83.4-22.2 125.3-4.8 40.9 16.8 34.5 59.2 34.5 128.5 2.7 25.8-4.3 58.3 9.3 88.8 1.9 4.4.4 7.9-2.7 10.7-8.4 6.7-39.3 2.2-46.6-7.4-1.9-2.2-1.8-3.6-3.9-6.2-3.6-3.9-7.3-2.2-11.9 1-57.4 36.4-140.3 21.4-147-43.3-3.1-29.3 12.4-57.1 39.6-71 38.2-19.5 112.2-11.8 114-30.9 1.1-10.2-1.9-20.1-11.3-27.3zm286.7 222c0 15.1-11.1 9.9-17.8 9.9H52.4c-7.4 0-18.2 4.8-17.8-10.7.4-13.9 10.5-9.1 17.1-9.1 132.3-.4 264.5-.4 396.8 0 6.8 0 16.6-4.4 16.6 9.9zm3.8-340.5v291c0 5.7-.7 13.9-8.1 13.9-12.4-.4-27.5 7.1-36.1-5.6-5.8-8.7-7.8-4-12.4-1.2-53.4 29.7-128.1 7.1-144.4-85.2-6.1-33.4-.7-67.1 15.7-100 11.8-23.9 56.9-76.1 136.1-30.5v-71c0-26.2-.1-26.2 26-26.2 3.1 0 6.6.4 9.7 0 10.1-.8 13.6 4.4 13.6 14.3-.1.2-.1.3-.1.5zm-51.5 232.3c-19.5 47.6-72.9 43.3-90 5.2-15.1-33.3-15.5-68.2.4-101.5 16.3-34.1 59.7-35.7 81.5-4.8 20.6 28.8 14.9 84.6 8.1 101.1zm-294.8 35.3c-7.5-1.3-33-3.3-33.7-27.8-.4-13.9 7.8-23 19.8-25.8 24.4-5.9 49.3-9.9 73.7-14.7 8.9-2 7.4 4.4 7.8 9.5 1.4 33-26.1 59.2-67.6 58.8z"}}},"affiliatetheme":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f36b","label":"affiliatetheme","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M159.7 237.4C108.4 308.3 43.1 348.2 14 326.6-15.2 304.9 2.8 230 54.2 159.1c51.3-70.9 116.6-110.8 145.7-89.2 29.1 21.6 11.1 96.6-40.2 167.5zm351.2-57.3C437.1 303.5 319 367.8 246.4 323.7c-25-15.2-41.3-41.2-49-73.8-33.6 64.8-92.8 113.8-164.1 133.2 49.8 59.3 124.1 96.9 207 96.9 150 0 271.6-123.1 271.6-274.9.1-8.5-.3-16.8-1-25z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M159.7 237.4C108.4 308.3 43.1 348.2 14 326.6-15.2 304.9 2.8 230 54.2 159.1c51.3-70.9 116.6-110.8 145.7-89.2 29.1 21.6 11.1 96.6-40.2 167.5zm351.2-57.3C437.1 303.5 319 367.8 246.4 323.7c-25-15.2-41.3-41.2-49-73.8-33.6 64.8-92.8 113.8-164.1 133.2 49.8 59.3 124.1 96.9 207 96.9 150 0 271.6-123.1 271.6-274.9.1-8.5-.3-16.8-1-25z"}}},"air-freshener":{"changes":["5.2.0"],"ligatures":[],"search":{"terms":[]},"styles":["solid"],"unicode":"f5d0","label":"Air Freshener","voted":false,"svg":{"solid":{"last_modified":1532362831512,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 384 512\\"><path d=\\"M378.94 321.41L284.7 224h49.22c15.3 0 23.66-16.6 13.86-27.53L234.45 69.96c3.43-6.61 5.55-14 5.55-21.96 0-26.51-21.49-48-48-48s-48 21.49-48 48c0 7.96 2.12 15.35 5.55 21.96L36.22 196.47C26.42 207.4 34.78 224 50.08 224H99.3L5.06 321.41C-6.69 333.56 3.34 352 21.7 352H160v32H48c-8.84 0-16 7.16-16 16v96c0 8.84 7.16 16 16 16h288c8.84 0 16-7.16 16-16v-96c0-8.84-7.16-16-16-16H224v-32h138.3c18.36 0 28.39-18.44 16.64-30.59zM192 31.98c8.85 0 16.02 7.17 16.02 16.02 0 8.84-7.17 16.02-16.02 16.02S175.98 56.84 175.98 48c0-8.85 7.17-16.02 16.02-16.02zM304 432v32H80v-32h224z\\"/></svg>","viewBox":["0","0","384","512"],"width":384,"height":512,"path":"M378.94 321.41L284.7 224h49.22c15.3 0 23.66-16.6 13.86-27.53L234.45 69.96c3.43-6.61 5.55-14 5.55-21.96 0-26.51-21.49-48-48-48s-48 21.49-48 48c0 7.96 2.12 15.35 5.55 21.96L36.22 196.47C26.42 207.4 34.78 224 50.08 224H99.3L5.06 321.41C-6.69 333.56 3.34 352 21.7 352H160v32H48c-8.84 0-16 7.16-16 16v96c0 8.84 7.16 16 16 16h288c8.84 0 16-7.16 16-16v-96c0-8.84-7.16-16-16-16H224v-32h138.3c18.36 0 28.39-18.44 16.64-30.59zM192 31.98c8.85 0 16.02 7.17 16.02 16.02 0 8.84-7.17 16.02-16.02 16.02S175.98 56.84 175.98 48c0-8.85 7.17-16.02 16.02-16.02zM304 432v32H80v-32h224z"}}},"algolia":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f36c","label":"Algolia","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M229.3 182.6c-49.3 0-89.2 39.9-89.2 89.2 0 49.3 39.9 89.2 89.2 89.2s89.2-39.9 89.2-89.2c0-49.3-40-89.2-89.2-89.2zm62.7 56.6l-58.9 30.6c-1.8.9-3.8-.4-3.8-2.3V201c0-1.5 1.3-2.7 2.7-2.6 26.2 1 48.9 15.7 61.1 37.1.7 1.3.2 3-1.1 3.7zM389.1 32H58.9C26.4 32 0 58.4 0 90.9V421c0 32.6 26.4 59 58.9 59H389c32.6 0 58.9-26.4 58.9-58.9V90.9C448 58.4 421.6 32 389.1 32zm-202.6 84.7c0-10.8 8.7-19.5 19.5-19.5h45.3c10.8 0 19.5 8.7 19.5 19.5v15.4c0 1.8-1.7 3-3.3 2.5-12.3-3.4-25.1-5.1-38.1-5.1-13.5 0-26.7 1.8-39.4 5.5-1.7.5-3.4-.8-3.4-2.5v-15.8zm-84.4 37l9.2-9.2c7.6-7.6 19.9-7.6 27.5 0l7.7 7.7c1.1 1.1 1 3-.3 4-6.2 4.5-12.1 9.4-17.6 14.9-5.4 5.4-10.4 11.3-14.8 17.4-1 1.3-2.9 1.5-4 .3l-7.7-7.7c-7.6-7.5-7.6-19.8 0-27.4zm127.2 244.8c-70 0-126.6-56.7-126.6-126.6s56.7-126.6 126.6-126.6c70 0 126.6 56.6 126.6 126.6 0 69.8-56.7 126.6-126.6 126.6z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M229.3 182.6c-49.3 0-89.2 39.9-89.2 89.2 0 49.3 39.9 89.2 89.2 89.2s89.2-39.9 89.2-89.2c0-49.3-40-89.2-89.2-89.2zm62.7 56.6l-58.9 30.6c-1.8.9-3.8-.4-3.8-2.3V201c0-1.5 1.3-2.7 2.7-2.6 26.2 1 48.9 15.7 61.1 37.1.7 1.3.2 3-1.1 3.7zM389.1 32H58.9C26.4 32 0 58.4 0 90.9V421c0 32.6 26.4 59 58.9 59H389c32.6 0 58.9-26.4 58.9-58.9V90.9C448 58.4 421.6 32 389.1 32zm-202.6 84.7c0-10.8 8.7-19.5 19.5-19.5h45.3c10.8 0 19.5 8.7 19.5 19.5v15.4c0 1.8-1.7 3-3.3 2.5-12.3-3.4-25.1-5.1-38.1-5.1-13.5 0-26.7 1.8-39.4 5.5-1.7.5-3.4-.8-3.4-2.5v-15.8zm-84.4 37l9.2-9.2c7.6-7.6 19.9-7.6 27.5 0l7.7 7.7c1.1 1.1 1 3-.3 4-6.2 4.5-12.1 9.4-17.6 14.9-5.4 5.4-10.4 11.3-14.8 17.4-1 1.3-2.9 1.5-4 .3l-7.7-7.7c-7.6-7.5-7.6-19.8 0-27.4zm127.2 244.8c-70 0-126.6-56.7-126.6-126.6s56.7-126.6 126.6-126.6c70 0 126.6 56.6 126.6 126.6 0 69.8-56.7 126.6-126.6 126.6z"}}},"align-center":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":["middle","text"]},"styles":["solid"],"unicode":"f037","label":"align-center","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M352 44v40c0 8.837-7.163 16-16 16H112c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h224c8.837 0 16 7.163 16 16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm320-200H112c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h224c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M352 44v40c0 8.837-7.163 16-16 16H112c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h224c8.837 0 16 7.163 16 16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm320-200H112c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h224c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z"}}},"align-justify":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":["text"]},"styles":["solid"],"unicode":"f039","label":"align-justify","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M0 84V44c0-8.837 7.163-16 16-16h416c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16zm16 144h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0-128h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M0 84V44c0-8.837 7.163-16 16-16h416c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16zm16 144h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0-128h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}}},"align-left":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":["text"]},"styles":["solid"],"unicode":"f036","label":"align-left","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M288 44v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16zM0 172v40c0 8.837 7.163 16 16 16h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16zm16 312h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm256-200H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M288 44v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16zM0 172v40c0 8.837 7.163 16 16 16h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16zm16 312h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm256-200H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z"}}},"align-right":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":["text"]},"styles":["solid"],"unicode":"f038","label":"align-right","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M160 84V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H176c-8.837 0-16-7.163-16-16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm160-128h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H176c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M160 84V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H176c-8.837 0-16-7.163-16-16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm160-128h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H176c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}}},"alipay":{"changes":["5.3.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f642","label":"Alipay","voted":false,"svg":{"brands":{"last_modified":1535388320780,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M377.74 32H70.26C31.41 32 0 63.41 0 102.26v307.48C0 448.59 31.41 480 70.26 480h307.48c38.52 0 69.76-31.08 70.26-69.6-45.96-25.62-110.59-60.34-171.6-88.44-32.07 43.97-84.14 81-148.62 81-70.59 0-93.73-45.3-97.04-76.37-3.97-39.01 14.88-81.5 99.52-81.5 35.38 0 79.35 10.25 127.13 24.96 16.53-30.09 26.45-60.34 26.45-60.34h-178.2v-16.7h92.08v-31.24H88.28v-19.01h109.44V92.34h50.92v50.42h109.44v19.01H248.63v31.24h88.77s-15.21 46.62-38.35 90.92c48.93 16.7 100.01 36.04 148.62 52.74V102.26C447.83 63.57 416.43 32 377.74 32zM47.28 322.95c.99 20.17 10.25 53.73 69.93 53.73 52.07 0 92.58-39.68 117.87-72.9-44.63-18.68-84.48-31.41-109.44-31.41-67.45 0-79.35 33.06-78.36 50.58z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M377.74 32H70.26C31.41 32 0 63.41 0 102.26v307.48C0 448.59 31.41 480 70.26 480h307.48c38.52 0 69.76-31.08 70.26-69.6-45.96-25.62-110.59-60.34-171.6-88.44-32.07 43.97-84.14 81-148.62 81-70.59 0-93.73-45.3-97.04-76.37-3.97-39.01 14.88-81.5 99.52-81.5 35.38 0 79.35 10.25 127.13 24.96 16.53-30.09 26.45-60.34 26.45-60.34h-178.2v-16.7h92.08v-31.24H88.28v-19.01h109.44V92.34h50.92v50.42h109.44v19.01H248.63v31.24h88.77s-15.21 46.62-38.35 90.92c48.93 16.7 100.01 36.04 148.62 52.74V102.26C447.83 63.57 416.43 32 377.74 32zM47.28 322.95c.99 20.17 10.25 53.73 69.93 53.73 52.07 0 92.58-39.68 117.87-72.9-44.63-18.68-84.48-31.41-109.44-31.41-67.45 0-79.35 33.06-78.36 50.58z"}}},"allergies":{"changes":["5.0.7"],"ligatures":[],"search":{"terms":["freckles","hand","intolerances","pox","spots"]},"styles":["solid"],"unicode":"f461","label":"Allergies","voted":false,"svg":{"solid":{"last_modified":1521653821440,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M416 112c-17.6 0-32 14.4-32 32v72c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V64c0-17.6-14.4-32-32-32s-32 14.4-32 32v152c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V32c0-17.6-14.4-32-32-32s-32 14.4-32 32v184c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V64c0-17.6-14.4-32-32-32S96 46.4 96 64v241l-23.6-32.5c-13-17.9-38-21.8-55.9-8.8s-21.8 38-8.8 55.9l125.6 172.7c9 12.4 23.5 19.8 38.8 19.8h197.6c22.3 0 41.6-15.3 46.7-37l26.5-112.7c3.2-13.7 4.9-28.3 5.1-42.3V144c0-17.6-14.4-32-32-32zM176 416c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm0-96c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm64 128c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm0-96c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm64 32c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm32 64c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm32-128c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M416 112c-17.6 0-32 14.4-32 32v72c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V64c0-17.6-14.4-32-32-32s-32 14.4-32 32v152c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V32c0-17.6-14.4-32-32-32s-32 14.4-32 32v184c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V64c0-17.6-14.4-32-32-32S96 46.4 96 64v241l-23.6-32.5c-13-17.9-38-21.8-55.9-8.8s-21.8 38-8.8 55.9l125.6 172.7c9 12.4 23.5 19.8 38.8 19.8h197.6c22.3 0 41.6-15.3 46.7-37l26.5-112.7c3.2-13.7 4.9-28.3 5.1-42.3V144c0-17.6-14.4-32-32-32zM176 416c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm0-96c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm64 128c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm0-96c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm64 32c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm32 64c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm32-128c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z"}}},"amazon":{"changes":["4.4","5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f270","label":"Amazon","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M257.2 162.7c-48.7 1.8-169.5 15.5-169.5 117.5 0 109.5 138.3 114 183.5 43.2 6.5 10.2 35.4 37.5 45.3 46.8l56.8-56S341 288.9 341 261.4V114.3C341 89 316.5 32 228.7 32 140.7 32 94 87 94 136.3l73.5 6.8c16.3-49.5 54.2-49.5 54.2-49.5 40.7-.1 35.5 29.8 35.5 69.1zm0 86.8c0 80-84.2 68-84.2 17.2 0-47.2 50.5-56.7 84.2-57.8v40.6zm136 163.5c-7.7 10-70 67-174.5 67S34.2 408.5 9.7 379c-6.8-7.7 1-11.3 5.5-8.3C88.5 415.2 203 488.5 387.7 401c7.5-3.7 13.3 2 5.5 12zm39.8 2.2c-6.5 15.8-16 26.8-21.2 31-5.5 4.5-9.5 2.7-6.5-3.8s19.3-46.5 12.7-55c-6.5-8.3-37-4.3-48-3.2-10.8 1-13 2-14-.3-2.3-5.7 21.7-15.5 37.5-17.5 15.7-1.8 41-.8 46 5.7 3.7 5.1 0 27.1-6.5 43.1z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M257.2 162.7c-48.7 1.8-169.5 15.5-169.5 117.5 0 109.5 138.3 114 183.5 43.2 6.5 10.2 35.4 37.5 45.3 46.8l56.8-56S341 288.9 341 261.4V114.3C341 89 316.5 32 228.7 32 140.7 32 94 87 94 136.3l73.5 6.8c16.3-49.5 54.2-49.5 54.2-49.5 40.7-.1 35.5 29.8 35.5 69.1zm0 86.8c0 80-84.2 68-84.2 17.2 0-47.2 50.5-56.7 84.2-57.8v40.6zm136 163.5c-7.7 10-70 67-174.5 67S34.2 408.5 9.7 379c-6.8-7.7 1-11.3 5.5-8.3C88.5 415.2 203 488.5 387.7 401c7.5-3.7 13.3 2 5.5 12zm39.8 2.2c-6.5 15.8-16 26.8-21.2 31-5.5 4.5-9.5 2.7-6.5-3.8s19.3-46.5 12.7-55c-6.5-8.3-37-4.3-48-3.2-10.8 1-13 2-14-.3-2.3-5.7 21.7-15.5 37.5-17.5 15.7-1.8 41-.8 46 5.7 3.7 5.1 0 27.1-6.5 43.1z"}}},"amazon-pay":{"changes":["5.0.2"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f42c","label":"Amazon Pay","voted":false,"svg":{"brands":{"last_modified":1513713060429,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 611.2 512\\"><path d=\\"M0 325.2c2.3-4.2 5.2-4.9 9.7-2.5 10.4 5.6 20.6 11.4 31.2 16.7 40.7 20.4 83.2 35.6 127.4 46.3 20.9 5 41.9 9 63.2 11.8 31.5 4.2 63.2 6 95 5.2 17.4-.4 34.8-1.8 52.1-3.8 56.4-6.7 110.9-20.8 163.3-42.8 2.9-1.2 5.9-2 9.1-1.2 6.7 1.8 9 9 4.1 13.9-2.8 2.8-6.3 5.1-9.6 7.4-30.7 21.1-64.2 36.4-99.6 47.9-24.6 7.9-49.6 13.8-75.1 17.6-17.6 2.6-35.4 4.4-53.2 4.8-.8 0-1.7.2-2.5.3H294c-.8-.1-1.7-.3-2.5-.3-3.6-.2-7.2-.3-10.7-.4-16.9-.7-33.7-2.6-50.4-5.3-27.4-4.5-54.2-11.4-80.4-20.9-54.1-19.6-102.6-48.6-145.6-87-1.8-1.6-3-3.8-4.4-5.7v-2zM158 65c-1.4.2-2.9.4-4.3.6-14 1.7-26.6 6.9-38 15.1-2.4 1.7-4.6 3.5-7.1 5.4-.2-.5-.4-1-.4-1.4-.4-2.7-.8-5.5-1.3-8.2-.7-4.6-3-6.6-7.6-6.6H87.8c-6.9 0-8.2 1.3-8.2 8.2v209.3c0 1 0 2 .1 3 .2 3 2 4.9 4.9 5 7 .1 14.1.1 21.1 0 2.9 0 4.7-2 5-5 .1-1 .1-2 .1-3V215c1.1.9 1.7 1.4 2.2 1.9 17.9 14.9 38.5 19.8 61 15.4 20.4-4 34.6-16.5 43.8-34.9 7-13.9 9.9-28.7 10.3-44.1.5-17.1-1.2-33.9-8.1-49.8-8.5-19.6-22.6-32.5-43.9-36.9-3.2-.7-6.5-1-9.8-1.5-2.8-.1-5.5-.1-8.3-.1zm-47.4 41.9c0-1.5.4-2.4 1.7-3.3 13.7-9.5 28.8-14.5 45.6-13.2 14.9 1.1 27.1 8.4 33.5 25.9 3.9 10.7 4.9 21.8 4.9 33 0 10.4-.8 20.6-4 30.6-6.8 21.3-22.4 29.4-42.6 28.5-14-.6-26.2-6-37.4-13.9-1.2-.9-1.7-1.7-1.7-3.3.1-14.1 0-28.1 0-42.2 0-14 .1-28 0-42.1zM316.3 65c-1 .1-2 .3-2.9.4-9.8.5-19.4 1.7-28.9 4.1-6.1 1.6-12 3.8-17.9 5.8-3.6 1.2-5.4 3.8-5.3 7.7.1 3.3-.1 6.6 0 9.9.1 4.8 2.1 6.1 6.8 4.9 7.8-2 15.6-4.2 23.5-5.7 12.3-2.3 24.7-3.3 37.2-1.4 6.5 1 12.6 2.9 16.8 8.4 3.7 4.8 5.1 10.5 5.3 16.4.3 8.3.2 16.6.3 24.9 0 .4-.1.9-.2 1.4-.5-.1-.9 0-1.3-.1-10.5-2.5-21.1-4.3-32-4.9-11.3-.6-22.5.1-33.3 3.9-12.9 4.5-23.3 12.3-29.4 24.9-4.7 9.8-5.4 20.2-3.9 30.7 2 14 9 24.8 21.4 31.7 11.9 6.6 24.8 7.4 37.9 5.4 15.1-2.3 28.5-8.7 40.3-18.4.4-.4.9-.7 1.6-1.1.6 3.8 1.1 7.4 1.8 11 .6 3.1 2.5 5.1 5.4 5.2 5.4.1 10.9.1 16.3 0 2.7-.1 4.5-1.9 4.8-4.7.1-.9.1-1.9.1-2.8v-106c0-4.3-.2-8.6-.9-12.9-1.9-12.9-7.4-23.5-19-30.4-6.7-4-14.1-6-21.8-7.1-3.6-.5-7.2-.8-10.8-1.3-3.9.1-7.9.1-11.9.1zm35 127.7c0 1.3-.4 2.2-1.5 3-11.2 8.1-23.5 13.5-37.4 14.9-5.7.6-11.4.4-16.8-1.8-6.3-2.5-10.4-6.9-12.4-13.3s-2-13-.1-19.4c2.5-8.3 8.4-13 16.4-15.6 8.1-2.6 16.5-3 24.8-2.2 8.4.7 16.6 2.3 25 3.4 1.6.2 2.1 1 2.1 2.6-.1 4.8 0 9.5 0 14.3-.1 4.7-.2 9.4-.1 14.1zm259.9 129.4c-1-5-4.8-6.9-9.1-8.3-6.8-2.3-13.9-3.3-21-3.9-13.1-1.1-26.2-.5-39.2 1.9-14.3 2.7-27.9 7.3-40 15.6-1.4 1-2.8 2.1-3.7 3.5-.7 1.1-.9 2.8-.5 4 .4 1.5 2.1 1.9 3.6 1.8.7 0 1.5 0 2.2-.1 7.8-.8 15.5-1.7 23.3-2.5 11.4-1.1 22.9-1.8 34.3-.9 4.8.3 9.7 1.4 14.4 2.7 5.1 1.4 7.4 5.2 7.6 10.4.4 8-1.4 15.7-3.5 23.3-4.1 15.4-10 30.3-15.8 45.1-.4 1-.8 2-1 3-.5 2.9 1.2 4.8 4.1 4.1 1.7-.4 3.6-1.3 4.8-2.5 4.4-4.3 8.9-8.6 12.7-13.4 12.8-16.4 20.3-35.3 24.7-55.6.8-3.6 1.4-7.3 2.1-10.9v-17.3zM479.1 198.9c-12.9-35.7-25.8-71.5-38.7-107.2-2-5.7-4.2-11.3-6.3-16.9-1.1-2.9-3.2-4.8-6.4-4.8-7.6-.1-15.2-.2-22.9-.1-2.5 0-3.7 2-3.2 4.5.5 2.1 1.1 4.1 1.9 6.1 19.6 48.5 39.3 97.1 59.1 145.5 1.7 4.1 2.1 7.6.2 11.8-3.3 7.3-5.9 15-9.3 22.3-3 6.5-8 11.4-15.2 13.3-5.1 1.4-10.2 1.6-15.4 1.1-2.5-.2-5-.8-7.5-1-3.4-.2-5.1 1.3-5.2 4.8-.1 3.3-.1 6.6 0 9.9.1 5.5 2 8 7.4 8.9 5.6 1 11.3 1.9 16.9 2 17.1.4 30.7-6.5 39.5-21.4 3.5-5.9 6.7-12.1 9.2-18.4 23.7-59.8 47.1-119.7 70.6-179.6.7-1.8 1.3-3.6 1.6-5.5.4-2.8-.9-4.4-3.7-4.4-6.6-.1-13.3 0-19.9 0-3.7 0-6.3 1.6-7.7 5.2-.5 1.4-1.1 2.7-1.6 4.1-11.6 33.3-23.2 66.6-34.8 100-2.5 7.2-5.1 14.5-7.7 22.2-.4-1.1-.6-1.7-.9-2.4z\\"/></svg>","viewBox":["0","0","611.2","512"],"width":611,"height":512,"path":"M0 325.2c2.3-4.2 5.2-4.9 9.7-2.5 10.4 5.6 20.6 11.4 31.2 16.7 40.7 20.4 83.2 35.6 127.4 46.3 20.9 5 41.9 9 63.2 11.8 31.5 4.2 63.2 6 95 5.2 17.4-.4 34.8-1.8 52.1-3.8 56.4-6.7 110.9-20.8 163.3-42.8 2.9-1.2 5.9-2 9.1-1.2 6.7 1.8 9 9 4.1 13.9-2.8 2.8-6.3 5.1-9.6 7.4-30.7 21.1-64.2 36.4-99.6 47.9-24.6 7.9-49.6 13.8-75.1 17.6-17.6 2.6-35.4 4.4-53.2 4.8-.8 0-1.7.2-2.5.3H294c-.8-.1-1.7-.3-2.5-.3-3.6-.2-7.2-.3-10.7-.4-16.9-.7-33.7-2.6-50.4-5.3-27.4-4.5-54.2-11.4-80.4-20.9-54.1-19.6-102.6-48.6-145.6-87-1.8-1.6-3-3.8-4.4-5.7v-2zM158 65c-1.4.2-2.9.4-4.3.6-14 1.7-26.6 6.9-38 15.1-2.4 1.7-4.6 3.5-7.1 5.4-.2-.5-.4-1-.4-1.4-.4-2.7-.8-5.5-1.3-8.2-.7-4.6-3-6.6-7.6-6.6H87.8c-6.9 0-8.2 1.3-8.2 8.2v209.3c0 1 0 2 .1 3 .2 3 2 4.9 4.9 5 7 .1 14.1.1 21.1 0 2.9 0 4.7-2 5-5 .1-1 .1-2 .1-3V215c1.1.9 1.7 1.4 2.2 1.9 17.9 14.9 38.5 19.8 61 15.4 20.4-4 34.6-16.5 43.8-34.9 7-13.9 9.9-28.7 10.3-44.1.5-17.1-1.2-33.9-8.1-49.8-8.5-19.6-22.6-32.5-43.9-36.9-3.2-.7-6.5-1-9.8-1.5-2.8-.1-5.5-.1-8.3-.1zm-47.4 41.9c0-1.5.4-2.4 1.7-3.3 13.7-9.5 28.8-14.5 45.6-13.2 14.9 1.1 27.1 8.4 33.5 25.9 3.9 10.7 4.9 21.8 4.9 33 0 10.4-.8 20.6-4 30.6-6.8 21.3-22.4 29.4-42.6 28.5-14-.6-26.2-6-37.4-13.9-1.2-.9-1.7-1.7-1.7-3.3.1-14.1 0-28.1 0-42.2 0-14 .1-28 0-42.1zM316.3 65c-1 .1-2 .3-2.9.4-9.8.5-19.4 1.7-28.9 4.1-6.1 1.6-12 3.8-17.9 5.8-3.6 1.2-5.4 3.8-5.3 7.7.1 3.3-.1 6.6 0 9.9.1 4.8 2.1 6.1 6.8 4.9 7.8-2 15.6-4.2 23.5-5.7 12.3-2.3 24.7-3.3 37.2-1.4 6.5 1 12.6 2.9 16.8 8.4 3.7 4.8 5.1 10.5 5.3 16.4.3 8.3.2 16.6.3 24.9 0 .4-.1.9-.2 1.4-.5-.1-.9 0-1.3-.1-10.5-2.5-21.1-4.3-32-4.9-11.3-.6-22.5.1-33.3 3.9-12.9 4.5-23.3 12.3-29.4 24.9-4.7 9.8-5.4 20.2-3.9 30.7 2 14 9 24.8 21.4 31.7 11.9 6.6 24.8 7.4 37.9 5.4 15.1-2.3 28.5-8.7 40.3-18.4.4-.4.9-.7 1.6-1.1.6 3.8 1.1 7.4 1.8 11 .6 3.1 2.5 5.1 5.4 5.2 5.4.1 10.9.1 16.3 0 2.7-.1 4.5-1.9 4.8-4.7.1-.9.1-1.9.1-2.8v-106c0-4.3-.2-8.6-.9-12.9-1.9-12.9-7.4-23.5-19-30.4-6.7-4-14.1-6-21.8-7.1-3.6-.5-7.2-.8-10.8-1.3-3.9.1-7.9.1-11.9.1zm35 127.7c0 1.3-.4 2.2-1.5 3-11.2 8.1-23.5 13.5-37.4 14.9-5.7.6-11.4.4-16.8-1.8-6.3-2.5-10.4-6.9-12.4-13.3s-2-13-.1-19.4c2.5-8.3 8.4-13 16.4-15.6 8.1-2.6 16.5-3 24.8-2.2 8.4.7 16.6 2.3 25 3.4 1.6.2 2.1 1 2.1 2.6-.1 4.8 0 9.5 0 14.3-.1 4.7-.2 9.4-.1 14.1zm259.9 129.4c-1-5-4.8-6.9-9.1-8.3-6.8-2.3-13.9-3.3-21-3.9-13.1-1.1-26.2-.5-39.2 1.9-14.3 2.7-27.9 7.3-40 15.6-1.4 1-2.8 2.1-3.7 3.5-.7 1.1-.9 2.8-.5 4 .4 1.5 2.1 1.9 3.6 1.8.7 0 1.5 0 2.2-.1 7.8-.8 15.5-1.7 23.3-2.5 11.4-1.1 22.9-1.8 34.3-.9 4.8.3 9.7 1.4 14.4 2.7 5.1 1.4 7.4 5.2 7.6 10.4.4 8-1.4 15.7-3.5 23.3-4.1 15.4-10 30.3-15.8 45.1-.4 1-.8 2-1 3-.5 2.9 1.2 4.8 4.1 4.1 1.7-.4 3.6-1.3 4.8-2.5 4.4-4.3 8.9-8.6 12.7-13.4 12.8-16.4 20.3-35.3 24.7-55.6.8-3.6 1.4-7.3 2.1-10.9v-17.3zM479.1 198.9c-12.9-35.7-25.8-71.5-38.7-107.2-2-5.7-4.2-11.3-6.3-16.9-1.1-2.9-3.2-4.8-6.4-4.8-7.6-.1-15.2-.2-22.9-.1-2.5 0-3.7 2-3.2 4.5.5 2.1 1.1 4.1 1.9 6.1 19.6 48.5 39.3 97.1 59.1 145.5 1.7 4.1 2.1 7.6.2 11.8-3.3 7.3-5.9 15-9.3 22.3-3 6.5-8 11.4-15.2 13.3-5.1 1.4-10.2 1.6-15.4 1.1-2.5-.2-5-.8-7.5-1-3.4-.2-5.1 1.3-5.2 4.8-.1 3.3-.1 6.6 0 9.9.1 5.5 2 8 7.4 8.9 5.6 1 11.3 1.9 16.9 2 17.1.4 30.7-6.5 39.5-21.4 3.5-5.9 6.7-12.1 9.2-18.4 23.7-59.8 47.1-119.7 70.6-179.6.7-1.8 1.3-3.6 1.6-5.5.4-2.8-.9-4.4-3.7-4.4-6.6-.1-13.3 0-19.9 0-3.7 0-6.3 1.6-7.7 5.2-.5 1.4-1.1 2.7-1.6 4.1-11.6 33.3-23.2 66.6-34.8 100-2.5 7.2-5.1 14.5-7.7 22.2-.4-1.1-.6-1.7-.9-2.4z"}}},"ambulance":{"changes":["3","5.0.0","5.0.7"],"ligatures":[],"search":{"terms":["help","machine","support","vehicle"]},"styles":["solid"],"unicode":"f0f9","label":"ambulance","voted":false,"svg":{"solid":{"last_modified":1521653821441,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 640 512\\"><path d=\\"M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h16c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm144-248c0 4.4-3.6 8-8 8h-56v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56h-56c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h56v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56h56c4.4 0 8 3.6 8 8v48zm176 248c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z\\"/></svg>","viewBox":["0","0","640","512"],"width":640,"height":512,"path":"M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h16c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm144-248c0 4.4-3.6 8-8 8h-56v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56h-56c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h56v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56h56c4.4 0 8 3.6 8 8v48zm176 248c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z"}}},"american-sign-language-interpreting":{"changes":["4.6","5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["solid"],"unicode":"f2a3","label":"American Sign Language Interpreting","voted":false,"svg":{"solid":{"last_modified":1503937790000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 640 512\\"><path d=\\"M290.547 189.039c-20.295-10.149-44.147-11.199-64.739-3.89 42.606 0 71.208 20.475 85.578 50.576 8.576 17.899-5.148 38.071-23.617 38.071 18.429 0 32.211 20.136 23.617 38.071-14.725 30.846-46.123 50.854-80.298 50.854-.557 0-94.471-8.615-94.471-8.615l-66.406 33.347c-9.384 4.693-19.815.379-23.895-7.781L1.86 290.747c-4.167-8.615-1.111-18.897 6.946-23.621l58.072-33.069L108 159.861c6.39-57.245 34.731-109.767 79.743-146.726 11.391-9.448 28.341-7.781 37.51 3.613 9.446 11.394 7.78 28.067-3.612 37.516-12.503 10.559-23.618 22.509-32.509 35.57 21.672-14.729 46.679-24.732 74.186-28.067 14.725-1.945 28.063 8.336 29.73 23.065 1.945 14.728-8.336 28.067-23.062 29.734-16.116 1.945-31.12 7.503-44.178 15.284 26.114-5.713 58.712-3.138 88.079 11.115 13.336 6.669 18.893 22.509 12.224 35.848-6.389 13.06-22.504 18.617-35.564 12.226zm-27.229 69.472c-6.112-12.505-18.338-20.286-32.231-20.286a35.46 35.46 0 0 0-35.565 35.57c0 21.428 17.808 35.57 35.565 35.57 13.893 0 26.119-7.781 32.231-20.286 4.446-9.449 13.614-15.006 23.339-15.284-9.725-.277-18.893-5.835-23.339-15.284zm374.821-37.237c4.168 8.615 1.111 18.897-6.946 23.621l-58.071 33.069L532 352.16c-6.39 57.245-34.731 109.767-79.743 146.726-10.932 9.112-27.799 8.144-37.51-3.613-9.446-11.394-7.78-28.067 3.613-37.516 12.503-10.559 23.617-22.509 32.508-35.57-21.672 14.729-46.679 24.732-74.186 28.067-10.021 2.506-27.552-5.643-29.73-23.065-1.945-14.728 8.336-28.067 23.062-29.734 16.116-1.946 31.12-7.503 44.178-15.284-26.114 5.713-58.712 3.138-88.079-11.115-13.336-6.669-18.893-22.509-12.224-35.848 6.389-13.061 22.505-18.619 35.565-12.227 20.295 10.149 44.147 11.199 64.739 3.89-42.606 0-71.208-20.475-85.578-50.576-8.576-17.899 5.148-38.071 23.617-38.071-18.429 0-32.211-20.136-23.617-38.071 14.033-29.396 44.039-50.887 81.966-50.854l92.803 8.615 66.406-33.347c9.408-4.704 19.828-.354 23.894 7.781l44.455 88.926zm-229.227-18.618c-13.893 0-26.119 7.781-32.231 20.286-4.446 9.449-13.614 15.006-23.339 15.284 9.725.278 18.893 5.836 23.339 15.284 6.112 12.505 18.338 20.286 32.231 20.286a35.46 35.46 0 0 0 35.565-35.57c0-21.429-17.808-35.57-35.565-35.57z\\"/></svg>","viewBox":["0","0","640","512"],"width":640,"height":512,"path":"M290.547 189.039c-20.295-10.149-44.147-11.199-64.739-3.89 42.606 0 71.208 20.475 85.578 50.576 8.576 17.899-5.148 38.071-23.617 38.071 18.429 0 32.211 20.136 23.617 38.071-14.725 30.846-46.123 50.854-80.298 50.854-.557 0-94.471-8.615-94.471-8.615l-66.406 33.347c-9.384 4.693-19.815.379-23.895-7.781L1.86 290.747c-4.167-8.615-1.111-18.897 6.946-23.621l58.072-33.069L108 159.861c6.39-57.245 34.731-109.767 79.743-146.726 11.391-9.448 28.341-7.781 37.51 3.613 9.446 11.394 7.78 28.067-3.612 37.516-12.503 10.559-23.618 22.509-32.509 35.57 21.672-14.729 46.679-24.732 74.186-28.067 14.725-1.945 28.063 8.336 29.73 23.065 1.945 14.728-8.336 28.067-23.062 29.734-16.116 1.945-31.12 7.503-44.178 15.284 26.114-5.713 58.712-3.138 88.079 11.115 13.336 6.669 18.893 22.509 12.224 35.848-6.389 13.06-22.504 18.617-35.564 12.226zm-27.229 69.472c-6.112-12.505-18.338-20.286-32.231-20.286a35.46 35.46 0 0 0-35.565 35.57c0 21.428 17.808 35.57 35.565 35.57 13.893 0 26.119-7.781 32.231-20.286 4.446-9.449 13.614-15.006 23.339-15.284-9.725-.277-18.893-5.835-23.339-15.284zm374.821-37.237c4.168 8.615 1.111 18.897-6.946 23.621l-58.071 33.069L532 352.16c-6.39 57.245-34.731 109.767-79.743 146.726-10.932 9.112-27.799 8.144-37.51-3.613-9.446-11.394-7.78-28.067 3.613-37.516 12.503-10.559 23.617-22.509 32.508-35.57-21.672 14.729-46.679 24.732-74.186 28.067-10.021 2.506-27.552-5.643-29.73-23.065-1.945-14.728 8.336-28.067 23.062-29.734 16.116-1.946 31.12-7.503 44.178-15.284-26.114 5.713-58.712 3.138-88.079-11.115-13.336-6.669-18.893-22.509-12.224-35.848 6.389-13.061 22.505-18.619 35.565-12.227 20.295 10.149 44.147 11.199 64.739 3.89-42.606 0-71.208-20.475-85.578-50.576-8.576-17.899 5.148-38.071 23.617-38.071-18.429 0-32.211-20.136-23.617-38.071 14.033-29.396 44.039-50.887 81.966-50.854l92.803 8.615 66.406-33.347c9.408-4.704 19.828-.354 23.894 7.781l44.455 88.926zm-229.227-18.618c-13.893 0-26.119 7.781-32.231 20.286-4.446 9.449-13.614 15.006-23.339 15.284 9.725.278 18.893 5.836 23.339 15.284 6.112 12.505 18.338 20.286 32.231 20.286a35.46 35.46 0 0 0 35.565-35.57c0-21.429-17.808-35.57-35.565-35.57z"}}},"amilia":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f36d","label":"Amilia","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M240.1 32c-61.9 0-131.5 16.9-184.2 55.4-5.1 3.1-9.1 9.2-7.2 19.4 1.1 5.1 5.1 27.4 10.2 39.6 4.1 10.2 14.2 10.2 20.3 6.1 32.5-22.3 96.5-47.7 152.3-47.7 57.9 0 58.9 28.4 58.9 73.1v38.5C203 227.7 78.2 251 46.7 264.2 11.2 280.5 16.3 357.7 16.3 376s15.2 104 124.9 104c47.8 0 113.7-20.7 153.3-42.1v25.4c0 3 2.1 8.2 6.1 9.1 3.1 1 50.7 2 59.9 2s62.5.3 66.5-.7c4.1-1 5.1-6.1 5.1-9.1V168c-.1-80.3-57.9-136-192-136zm-87.9 327.7c0-12.2-3-42.7 18.3-52.9 24.3-13.2 75.1-29.4 119.8-33.5V380c-21.4 13.2-48.7 24.4-79.1 24.4-52.8 0-58.9-33.5-59-44.7\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M240.1 32c-61.9 0-131.5 16.9-184.2 55.4-5.1 3.1-9.1 9.2-7.2 19.4 1.1 5.1 5.1 27.4 10.2 39.6 4.1 10.2 14.2 10.2 20.3 6.1 32.5-22.3 96.5-47.7 152.3-47.7 57.9 0 58.9 28.4 58.9 73.1v38.5C203 227.7 78.2 251 46.7 264.2 11.2 280.5 16.3 357.7 16.3 376s15.2 104 124.9 104c47.8 0 113.7-20.7 153.3-42.1v25.4c0 3 2.1 8.2 6.1 9.1 3.1 1 50.7 2 59.9 2s62.5.3 66.5-.7c4.1-1 5.1-6.1 5.1-9.1V168c-.1-80.3-57.9-136-192-136zm-87.9 327.7c0-12.2-3-42.7 18.3-52.9 24.3-13.2 75.1-29.4 119.8-33.5V380c-21.4 13.2-48.7 24.4-79.1 24.4-52.8 0-58.9-33.5-59-44.7"}}},"anchor":{"changes":["3.1","5.0.0"],"ligatures":[],"search":{"terms":["link"]},"styles":["solid"],"unicode":"f13d","label":"Anchor","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 576 512\\"><path d=\\"M12.971 352h32.394C67.172 454.735 181.944 512 288 512c106.229 0 220.853-57.38 242.635-160h32.394c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0l-67.029 67.029c-7.56 7.56-2.206 20.485 8.485 20.485h35.146c-20.29 54.317-84.963 86.588-144.117 94.015V256h52c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-52v-5.47c37.281-13.178 63.995-48.725 64-90.518C384.005 43.772 341.605.738 289.37.01 235.723-.739 192 42.525 192 96c0 41.798 26.716 77.35 64 90.53V192h-52c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h52v190.015c-58.936-7.399-123.82-39.679-144.117-94.015h35.146c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0L4.485 331.515C-3.074 339.074 2.28 352 12.971 352zM288 64c17.645 0 32 14.355 32 32s-14.355 32-32 32-32-14.355-32-32 14.355-32 32-32z\\"/></svg>","viewBox":["0","0","576","512"],"width":576,"height":512,"path":"M12.971 352h32.394C67.172 454.735 181.944 512 288 512c106.229 0 220.853-57.38 242.635-160h32.394c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0l-67.029 67.029c-7.56 7.56-2.206 20.485 8.485 20.485h35.146c-20.29 54.317-84.963 86.588-144.117 94.015V256h52c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-52v-5.47c37.281-13.178 63.995-48.725 64-90.518C384.005 43.772 341.605.738 289.37.01 235.723-.739 192 42.525 192 96c0 41.798 26.716 77.35 64 90.53V192h-52c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h52v190.015c-58.936-7.399-123.82-39.679-144.117-94.015h35.146c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0L4.485 331.515C-3.074 339.074 2.28 352 12.971 352zM288 64c17.645 0 32 14.355 32 32s-14.355 32-32 32-32-14.355-32-32 14.355-32 32-32z"}}},"android":{"changes":["3.2","5.0.0"],"ligatures":[],"search":{"terms":["robot"]},"styles":["brands"],"unicode":"f17b","label":"Android","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M89.6 204.5v115.8c0 15.4-12.1 27.7-27.5 27.7-15.3 0-30.1-12.4-30.1-27.7V204.5c0-15.1 14.8-27.5 30.1-27.5 15.1 0 27.5 12.4 27.5 27.5zm10.8 157c0 16.4 13.2 29.6 29.6 29.6h19.9l.3 61.1c0 36.9 55.2 36.6 55.2 0v-61.1h37.2v61.1c0 36.7 55.5 36.8 55.5 0v-61.1h20.2c16.2 0 29.4-13.2 29.4-29.6V182.1H100.4v179.4zm248-189.1H99.3c0-42.8 25.6-80 63.6-99.4l-19.1-35.3c-2.8-4.9 4.3-8 6.7-3.8l19.4 35.6c34.9-15.5 75-14.7 108.3 0L297.5 34c2.5-4.3 9.5-1.1 6.7 3.8L285.1 73c37.7 19.4 63.3 56.6 63.3 99.4zm-170.7-55.5c0-5.7-4.6-10.5-10.5-10.5-5.7 0-10.2 4.8-10.2 10.5s4.6 10.5 10.2 10.5c5.9 0 10.5-4.8 10.5-10.5zm113.4 0c0-5.7-4.6-10.5-10.2-10.5-5.9 0-10.5 4.8-10.5 10.5s4.6 10.5 10.5 10.5c5.6 0 10.2-4.8 10.2-10.5zm94.8 60.1c-15.1 0-27.5 12.1-27.5 27.5v115.8c0 15.4 12.4 27.7 27.5 27.7 15.4 0 30.1-12.4 30.1-27.7V204.5c0-15.4-14.8-27.5-30.1-27.5z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M89.6 204.5v115.8c0 15.4-12.1 27.7-27.5 27.7-15.3 0-30.1-12.4-30.1-27.7V204.5c0-15.1 14.8-27.5 30.1-27.5 15.1 0 27.5 12.4 27.5 27.5zm10.8 157c0 16.4 13.2 29.6 29.6 29.6h19.9l.3 61.1c0 36.9 55.2 36.6 55.2 0v-61.1h37.2v61.1c0 36.7 55.5 36.8 55.5 0v-61.1h20.2c16.2 0 29.4-13.2 29.4-29.6V182.1H100.4v179.4zm248-189.1H99.3c0-42.8 25.6-80 63.6-99.4l-19.1-35.3c-2.8-4.9 4.3-8 6.7-3.8l19.4 35.6c34.9-15.5 75-14.7 108.3 0L297.5 34c2.5-4.3 9.5-1.1 6.7 3.8L285.1 73c37.7 19.4 63.3 56.6 63.3 99.4zm-170.7-55.5c0-5.7-4.6-10.5-10.5-10.5-5.7 0-10.2 4.8-10.2 10.5s4.6 10.5 10.2 10.5c5.9 0 10.5-4.8 10.5-10.5zm113.4 0c0-5.7-4.6-10.5-10.2-10.5-5.9 0-10.5 4.8-10.5 10.5s4.6 10.5 10.5 10.5c5.6 0 10.2-4.8 10.2-10.5zm94.8 60.1c-15.1 0-27.5 12.1-27.5 27.5v115.8c0 15.4 12.4 27.7 27.5 27.7 15.4 0 30.1-12.4 30.1-27.7V204.5c0-15.4-14.8-27.5-30.1-27.5z"}}},"angellist":{"changes":["4.2","5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f209","label":"AngelList","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M347.1 215.4c11.7-32.6 45.4-126.9 45.4-157.1 0-26.6-15.7-48.9-43.7-48.9-44.6 0-84.6 131.7-97.1 163.1C242 144 196.6 0 156.6 0c-31.1 0-45.7 22.9-45.7 51.7 0 35.3 34.2 126.8 46.6 162-6.3-2.3-13.1-4.3-20-4.3-23.4 0-48.3 29.1-48.3 52.6 0 8.9 4.9 21.4 8 29.7-36.9 10-51.1 34.6-51.1 71.7C46 435.6 114.4 512 210.6 512c118 0 191.4-88.6 191.4-202.9 0-43.1-6.9-82-54.9-93.7zM311.7 108c4-12.3 21.1-64.3 37.1-64.3 8.6 0 10.9 8.9 10.9 16 0 19.1-38.6 124.6-47.1 148l-34-6 33.1-93.7zM142.3 48.3c0-11.9 14.5-45.7 46.3 47.1l34.6 100.3c-15.6-1.3-27.7-3-35.4 1.4-10.9-28.8-45.5-119.7-45.5-148.8zM140 244c29.3 0 67.1 94.6 67.1 107.4 0 5.1-4.9 11.4-10.6 11.4-20.9 0-76.9-76.9-76.9-97.7.1-7.7 12.7-21.1 20.4-21.1zm184.3 186.3c-29.1 32-66.3 48.6-109.7 48.6-59.4 0-106.3-32.6-128.9-88.3-17.1-43.4 3.8-68.3 20.6-68.3 11.4 0 54.3 60.3 54.3 73.1 0 4.9-7.7 8.3-11.7 8.3-16.1 0-22.4-15.5-51.1-51.4-29.7 29.7 20.5 86.9 58.3 86.9 26.1 0 43.1-24.2 38-42 3.7 0 8.3.3 11.7-.6 1.1 27.1 9.1 59.4 41.7 61.7 0-.9 2-7.1 2-7.4 0-17.4-10.6-32.6-10.6-50.3 0-28.3 21.7-55.7 43.7-71.7 8-6 17.7-9.7 27.1-13.1 9.7-3.7 20-8 27.4-15.4-1.1-11.2-5.7-21.1-16.9-21.1-27.7 0-120.6 4-120.6-39.7 0-6.7.1-13.1 17.4-13.1 32.3 0 114.3 8 138.3 29.1 18.1 16.1 24.3 113.2-31 174.7zm-98.6-126c9.7 3.1 19.7 4 29.7 6-7.4 5.4-14 12-20.3 19.1-2.8-8.5-6.2-16.8-9.4-25.1z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M347.1 215.4c11.7-32.6 45.4-126.9 45.4-157.1 0-26.6-15.7-48.9-43.7-48.9-44.6 0-84.6 131.7-97.1 163.1C242 144 196.6 0 156.6 0c-31.1 0-45.7 22.9-45.7 51.7 0 35.3 34.2 126.8 46.6 162-6.3-2.3-13.1-4.3-20-4.3-23.4 0-48.3 29.1-48.3 52.6 0 8.9 4.9 21.4 8 29.7-36.9 10-51.1 34.6-51.1 71.7C46 435.6 114.4 512 210.6 512c118 0 191.4-88.6 191.4-202.9 0-43.1-6.9-82-54.9-93.7zM311.7 108c4-12.3 21.1-64.3 37.1-64.3 8.6 0 10.9 8.9 10.9 16 0 19.1-38.6 124.6-47.1 148l-34-6 33.1-93.7zM142.3 48.3c0-11.9 14.5-45.7 46.3 47.1l34.6 100.3c-15.6-1.3-27.7-3-35.4 1.4-10.9-28.8-45.5-119.7-45.5-148.8zM140 244c29.3 0 67.1 94.6 67.1 107.4 0 5.1-4.9 11.4-10.6 11.4-20.9 0-76.9-76.9-76.9-97.7.1-7.7 12.7-21.1 20.4-21.1zm184.3 186.3c-29.1 32-66.3 48.6-109.7 48.6-59.4 0-106.3-32.6-128.9-88.3-17.1-43.4 3.8-68.3 20.6-68.3 11.4 0 54.3 60.3 54.3 73.1 0 4.9-7.7 8.3-11.7 8.3-16.1 0-22.4-15.5-51.1-51.4-29.7 29.7 20.5 86.9 58.3 86.9 26.1 0 43.1-24.2 38-42 3.7 0 8.3.3 11.7-.6 1.1 27.1 9.1 59.4 41.7 61.7 0-.9 2-7.1 2-7.4 0-17.4-10.6-32.6-10.6-50.3 0-28.3 21.7-55.7 43.7-71.7 8-6 17.7-9.7 27.1-13.1 9.7-3.7 20-8 27.4-15.4-1.1-11.2-5.7-21.1-16.9-21.1-27.7 0-120.6 4-120.6-39.7 0-6.7.1-13.1 17.4-13.1 32.3 0 114.3 8 138.3 29.1 18.1 16.1 24.3 113.2-31 174.7zm-98.6-126c9.7 3.1 19.7 4 29.7 6-7.4 5.4-14 12-20.3 19.1-2.8-8.5-6.2-16.8-9.4-25.1z"}}},"angle-double-down":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrows"]},"styles":["solid"],"unicode":"f103","label":"Angle Double Down","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 320 512\\"><path d=\\"M143 256.3L7 120.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0L313 86.3c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.5-24.6 9.5-34 .1zm34 192l136-136c9.4-9.4 9.4-24.6 0-33.9l-22.6-22.6c-9.4-9.4-24.6-9.4-33.9 0L160 352.1l-96.4-96.4c-9.4-9.4-24.6-9.4-33.9 0L7 278.3c-9.4 9.4-9.4 24.6 0 33.9l136 136c9.4 9.5 24.6 9.5 34 .1z\\"/></svg>","viewBox":["0","0","320","512"],"width":320,"height":512,"path":"M143 256.3L7 120.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0L313 86.3c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.5-24.6 9.5-34 .1zm34 192l136-136c9.4-9.4 9.4-24.6 0-33.9l-22.6-22.6c-9.4-9.4-24.6-9.4-33.9 0L160 352.1l-96.4-96.4c-9.4-9.4-24.6-9.4-33.9 0L7 278.3c-9.4 9.4-9.4 24.6 0 33.9l136 136c9.4 9.5 24.6 9.5 34 .1z"}}},"angle-double-left":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrows","back","laquo","previous","quote"]},"styles":["solid"],"unicode":"f100","label":"Angle Double Left","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M223.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L319.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L393.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34zm-192 34l136 136c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9L127.9 256l96.4-96.4c9.4-9.4 9.4-24.6 0-33.9L201.7 103c-9.4-9.4-24.6-9.4-33.9 0l-136 136c-9.5 9.4-9.5 24.6-.1 34z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M223.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L319.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L393.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34zm-192 34l136 136c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9L127.9 256l96.4-96.4c9.4-9.4 9.4-24.6 0-33.9L201.7 103c-9.4-9.4-24.6-9.4-33.9 0l-136 136c-9.5 9.4-9.5 24.6-.1 34z"}}},"angle-double-right":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrows","forward","next","quote","raquo"]},"styles":["solid"],"unicode":"f101","label":"Angle Double Right","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z"}}},"angle-double-up":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrows"]},"styles":["solid"],"unicode":"f102","label":"Angle Double Up","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 320 512\\"><path d=\\"M177 255.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 351.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 425.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1zm-34-192L7 199.7c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l96.4-96.4 96.4 96.4c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9l-136-136c-9.2-9.4-24.4-9.4-33.8 0z\\"/></svg>","viewBox":["0","0","320","512"],"width":320,"height":512,"path":"M177 255.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 351.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 425.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1zm-34-192L7 199.7c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l96.4-96.4 96.4 96.4c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9l-136-136c-9.2-9.4-24.4-9.4-33.8 0z"}}},"angle-down":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrow"]},"styles":["solid"],"unicode":"f107","label":"angle-down","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 320 512\\"><path d=\\"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z\\"/></svg>","viewBox":["0","0","320","512"],"width":320,"height":512,"path":"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"}}},"angle-left":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrow","back","previous"]},"styles":["solid"],"unicode":"f104","label":"angle-left","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 512\\"><path d=\\"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z\\"/></svg>","viewBox":["0","0","256","512"],"width":256,"height":512,"path":"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"}}},"angle-right":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrow","forward","next"]},"styles":["solid"],"unicode":"f105","label":"angle-right","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 512\\"><path d=\\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\\"/></svg>","viewBox":["0","0","256","512"],"width":256,"height":512,"path":"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}}},"angle-up":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrow"]},"styles":["solid"],"unicode":"f106","label":"angle-up","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 320 512\\"><path d=\\"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z\\"/></svg>","viewBox":["0","0","320","512"],"width":320,"height":512,"path":"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z"}}},"angry":{"changes":["5.1.0"],"ligatures":[],"search":{"terms":["disapprove","emoticon","face","mad","upset"]},"styles":["solid","regular"],"unicode":"f556","label":"Angry Face","voted":false,"svg":{"solid":{"last_modified":1529520111644,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 496 512\\"><path d=\\"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM136 240c0-9.3 4.1-17.5 10.5-23.4l-31-9.3c-8.5-2.5-13.3-11.5-10.7-19.9 2.5-8.5 11.4-13.2 19.9-10.7l80 24c8.5 2.5 13.3 11.5 10.7 19.9-2.1 6.9-8.4 11.4-15.3 11.4-.5 0-1.1-.2-1.7-.2.7 2.7 1.7 5.3 1.7 8.2 0 17.7-14.3 32-32 32S136 257.7 136 240zm168 154.2c-27.8-33.4-84.2-33.4-112.1 0-13.5 16.3-38.2-4.2-24.6-20.5 20-24 49.4-37.8 80.6-37.8s60.6 13.8 80.6 37.8c13.8 16.5-11.1 36.6-24.5 20.5zm76.6-186.9l-31 9.3c6.3 5.8 10.5 14.1 10.5 23.4 0 17.7-14.3 32-32 32s-32-14.3-32-32c0-2.9.9-5.6 1.7-8.2-.6.1-1.1.2-1.7.2-6.9 0-13.2-4.5-15.3-11.4-2.5-8.5 2.3-17.4 10.7-19.9l80-24c8.4-2.5 17.4 2.3 19.9 10.7 2.5 8.5-2.3 17.4-10.8 19.9z\\"/></svg>","viewBox":["0","0","496","512"],"width":496,"height":512,"path":"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM136 240c0-9.3 4.1-17.5 10.5-23.4l-31-9.3c-8.5-2.5-13.3-11.5-10.7-19.9 2.5-8.5 11.4-13.2 19.9-10.7l80 24c8.5 2.5 13.3 11.5 10.7 19.9-2.1 6.9-8.4 11.4-15.3 11.4-.5 0-1.1-.2-1.7-.2.7 2.7 1.7 5.3 1.7 8.2 0 17.7-14.3 32-32 32S136 257.7 136 240zm168 154.2c-27.8-33.4-84.2-33.4-112.1 0-13.5 16.3-38.2-4.2-24.6-20.5 20-24 49.4-37.8 80.6-37.8s60.6 13.8 80.6 37.8c13.8 16.5-11.1 36.6-24.5 20.5zm76.6-186.9l-31 9.3c6.3 5.8 10.5 14.1 10.5 23.4 0 17.7-14.3 32-32 32s-32-14.3-32-32c0-2.9.9-5.6 1.7-8.2-.6.1-1.1.2-1.7.2-6.9 0-13.2-4.5-15.3-11.4-2.5-8.5 2.3-17.4 10.7-19.9l80-24c8.4-2.5 17.4 2.3 19.9 10.7 2.5 8.5-2.3 17.4-10.8 19.9z"},"regular":{"last_modified":1529520111607,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 496 512\\"><path d=\\"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm0-144c-33.6 0-65.2 14.8-86.8 40.6-8.5 10.2-7.1 25.3 3.1 33.8s25.3 7.2 33.8-3c24.8-29.7 75-29.7 99.8 0 8.1 9.7 23.2 11.9 33.8 3 10.2-8.5 11.5-23.6 3.1-33.8-21.6-25.8-53.2-40.6-86.8-40.6zm-48-72c10.3 0 19.9-6.7 23-17.1 3.8-12.7-3.4-26.1-16.1-29.9l-80-24c-12.8-3.9-26.1 3.4-29.9 16.1-3.8 12.7 3.4 26.1 16.1 29.9l28.2 8.5c-3.1 4.9-5.3 10.4-5.3 16.6 0 17.7 14.3 32 32 32s32-14.4 32-32.1zm199-54.9c-3.8-12.7-17.1-19.9-29.9-16.1l-80 24c-12.7 3.8-19.9 17.2-16.1 29.9 3.1 10.4 12.7 17.1 23 17.1 0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.2-2.2-11.7-5.3-16.6l28.2-8.5c12.7-3.7 19.9-17.1 16.1-29.8z\\"/></svg>","viewBox":["0","0","496","512"],"width":496,"height":512,"path":"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm0-144c-33.6 0-65.2 14.8-86.8 40.6-8.5 10.2-7.1 25.3 3.1 33.8s25.3 7.2 33.8-3c24.8-29.7 75-29.7 99.8 0 8.1 9.7 23.2 11.9 33.8 3 10.2-8.5 11.5-23.6 3.1-33.8-21.6-25.8-53.2-40.6-86.8-40.6zm-48-72c10.3 0 19.9-6.7 23-17.1 3.8-12.7-3.4-26.1-16.1-29.9l-80-24c-12.8-3.9-26.1 3.4-29.9 16.1-3.8 12.7 3.4 26.1 16.1 29.9l28.2 8.5c-3.1 4.9-5.3 10.4-5.3 16.6 0 17.7 14.3 32 32 32s32-14.4 32-32.1zm199-54.9c-3.8-12.7-17.1-19.9-29.9-16.1l-80 24c-12.7 3.8-19.9 17.2-16.1 29.9 3.1 10.4 12.7 17.1 23 17.1 0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.2-2.2-11.7-5.3-16.6l28.2-8.5c12.7-3.7 19.9-17.1 16.1-29.8z"}}},"angrycreative":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f36e","label":"Angry Creative","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 640 512\\"><path d=\\"M640 238.2l-3.2 28.2-34.5 2.3-2 18.1 34.5-2.3-3.2 28.2-34.4 2.2-2.3 20.1 34.4-2.2-3 26.1-64.7 4.1 12.7-113.2L527 365.2l-31.9 2-23.8-117.8 30.3-2 13.6 79.4 31.7-82.4 93.1-6.2zM426.8 371.5l28.3-1.8L468 249.6l-28.4 1.9-12.8 120zM162 388.1l-19.4-36-3.5 37.4-28.2 1.7 2.7-29.1c-11 18-32 34.3-56.9 35.8C23.9 399.9-3 377 .3 339.7c2.6-29.3 26.7-62.8 67.5-65.4 37.7-2.4 47.6 23.2 51.3 28.8l2.8-30.8 38.9-2.5c20.1-1.3 38.7 3.7 42.5 23.7l2.6-26.6 64.8-4.2-2.7 27.9-36.4 2.4-1.7 17.9 36.4-2.3-2.7 27.9-36.4 2.3-1.9 19.9 36.3-2.3-2.1 20.8 55-117.2 23.8-1.6L370.4 369l8.9-85.6-22.3 1.4 2.9-27.9 75-4.9-3 28-24.3 1.6-9.7 91.9-58 3.7-4.3-15.6-39.4 2.5-8 16.3-126.2 7.7zm-44.3-70.2l-26.4 1.7C84.6 307.2 76.9 303 65 303.8c-19 1.2-33.3 17.5-34.6 33.3-1.4 16 7.3 32.5 28.7 31.2 12.8-.8 21.3-8.6 28.9-18.9l27-1.7 2.7-29.8zm56.1-7.7c1.2-12.9-7.6-13.6-26.1-12.4l-2.7 28.5c14.2-.9 27.5-2.1 28.8-16.1zm21.1 70.8l5.8-60c-5 13.5-14.7 21.1-27.9 26.6l22.1 33.4zm135.4-45l-7.9-37.8-15.8 39.3 23.7-1.5zm-170.1-74.6l-4.3-17.5-39.6 2.6-8.1 18.2-31.9 2.1 57-121.9 23.9-1.6 30.7 102 9.9-104.7 27-1.8 37.8 63.6 6.5-66.6 28.5-1.9-4 41.2c7.4-13.5 22.9-44.7 63.6-47.5 40.5-2.8 52.4 29.3 53.4 30.3l3.3-32 39.3-2.7c12.7-.9 27.8.3 36.3 9.7l-4.4-11.9 32.2-2.2 12.9 43.2 23-45.7 31-2.2-43.6 78.4-4.8 44.3-28.4 1.9 4.8-44.3-15.8-43c1 22.3-9.2 40.1-32 49.6l25.2 38.8-36.4 2.4-19.2-36.8-4 38.3-28.4 1.9 3.3-31.5c-6.7 9.3-19.7 35.4-59.6 38-26.2 1.7-45.6-10.3-55.4-39.2l-4 40.3-25 1.6-37.6-63.3-6.3 66.2-56.8 3.7zm276.6-82.1c10.2-.7 17.5-2.1 21.6-4.3 4.5-2.4 7-6.4 7.6-12.1.6-5.3-.6-8.8-3.4-10.4-3.6-2.1-10.6-2.8-22.9-2l-2.9 28.8zM327.7 214c5.6 5.9 12.7 8.5 21.3 7.9 4.7-.3 9.1-1.8 13.3-4.1 5.5-3 10.6-8 15.1-14.3l-34.2 2.3 2.4-23.9 63.1-4.3 1.2-12-31.2 2.1c-4.1-3.7-7.8-6.6-11.1-8.1-4-1.7-8.1-2.8-12.2-2.5-8 .5-15.3 3.6-22 9.2-7.7 6.4-12 14.5-12.9 24.4-1.1 9.6 1.4 17.3 7.2 23.3zm-201.3 8.2l23.8-1.6-8.3-37.6-15.5 39.2z\\"/></svg>","viewBox":["0","0","640","512"],"width":640,"height":512,"path":"M640 238.2l-3.2 28.2-34.5 2.3-2 18.1 34.5-2.3-3.2 28.2-34.4 2.2-2.3 20.1 34.4-2.2-3 26.1-64.7 4.1 12.7-113.2L527 365.2l-31.9 2-23.8-117.8 30.3-2 13.6 79.4 31.7-82.4 93.1-6.2zM426.8 371.5l28.3-1.8L468 249.6l-28.4 1.9-12.8 120zM162 388.1l-19.4-36-3.5 37.4-28.2 1.7 2.7-29.1c-11 18-32 34.3-56.9 35.8C23.9 399.9-3 377 .3 339.7c2.6-29.3 26.7-62.8 67.5-65.4 37.7-2.4 47.6 23.2 51.3 28.8l2.8-30.8 38.9-2.5c20.1-1.3 38.7 3.7 42.5 23.7l2.6-26.6 64.8-4.2-2.7 27.9-36.4 2.4-1.7 17.9 36.4-2.3-2.7 27.9-36.4 2.3-1.9 19.9 36.3-2.3-2.1 20.8 55-117.2 23.8-1.6L370.4 369l8.9-85.6-22.3 1.4 2.9-27.9 75-4.9-3 28-24.3 1.6-9.7 91.9-58 3.7-4.3-15.6-39.4 2.5-8 16.3-126.2 7.7zm-44.3-70.2l-26.4 1.7C84.6 307.2 76.9 303 65 303.8c-19 1.2-33.3 17.5-34.6 33.3-1.4 16 7.3 32.5 28.7 31.2 12.8-.8 21.3-8.6 28.9-18.9l27-1.7 2.7-29.8zm56.1-7.7c1.2-12.9-7.6-13.6-26.1-12.4l-2.7 28.5c14.2-.9 27.5-2.1 28.8-16.1zm21.1 70.8l5.8-60c-5 13.5-14.7 21.1-27.9 26.6l22.1 33.4zm135.4-45l-7.9-37.8-15.8 39.3 23.7-1.5zm-170.1-74.6l-4.3-17.5-39.6 2.6-8.1 18.2-31.9 2.1 57-121.9 23.9-1.6 30.7 102 9.9-104.7 27-1.8 37.8 63.6 6.5-66.6 28.5-1.9-4 41.2c7.4-13.5 22.9-44.7 63.6-47.5 40.5-2.8 52.4 29.3 53.4 30.3l3.3-32 39.3-2.7c12.7-.9 27.8.3 36.3 9.7l-4.4-11.9 32.2-2.2 12.9 43.2 23-45.7 31-2.2-43.6 78.4-4.8 44.3-28.4 1.9 4.8-44.3-15.8-43c1 22.3-9.2 40.1-32 49.6l25.2 38.8-36.4 2.4-19.2-36.8-4 38.3-28.4 1.9 3.3-31.5c-6.7 9.3-19.7 35.4-59.6 38-26.2 1.7-45.6-10.3-55.4-39.2l-4 40.3-25 1.6-37.6-63.3-6.3 66.2-56.8 3.7zm276.6-82.1c10.2-.7 17.5-2.1 21.6-4.3 4.5-2.4 7-6.4 7.6-12.1.6-5.3-.6-8.8-3.4-10.4-3.6-2.1-10.6-2.8-22.9-2l-2.9 28.8zM327.7 214c5.6 5.9 12.7 8.5 21.3 7.9 4.7-.3 9.1-1.8 13.3-4.1 5.5-3 10.6-8 15.1-14.3l-34.2 2.3 2.4-23.9 63.1-4.3 1.2-12-31.2 2.1c-4.1-3.7-7.8-6.6-11.1-8.1-4-1.7-8.1-2.8-12.2-2.5-8 .5-15.3 3.6-22 9.2-7.7 6.4-12 14.5-12.9 24.4-1.1 9.6 1.4 17.3 7.2 23.3zm-201.3 8.2l23.8-1.6-8.3-37.6-15.5 39.2z"}}},"angular":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f420","label":"Angular","voted":false,"svg":{"brands":{"last_modified":1511194600653,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 415.6 512\\"><path d=\\"M169.7 268.1h76.2l-38.1-91.6-38.1 91.6zM207.8 32L0 106.4l31.8 275.7 176 97.9 176-97.9 31.8-275.7L207.8 32zM338 373.8h-48.6l-26.2-65.4H152.6l-26.2 65.4H77.7L207.8 81.5 338 373.8z\\"/></svg>","viewBox":["0","0","415.6","512"],"width":415,"height":512,"path":"M169.7 268.1h76.2l-38.1-91.6-38.1 91.6zM207.8 32L0 106.4l31.8 275.7 176 97.9 176-97.9 31.8-275.7L207.8 32zM338 373.8h-48.6l-26.2-65.4H152.6l-26.2 65.4H77.7L207.8 81.5 338 373.8z"}}},"ankh":{"changes":["5.3.0"],"ligatures":[],"search":{"terms":["amulet","copper","coptic christianity","copts","crux ansata","egyptian","venus"]},"styles":["solid"],"unicode":"f644","label":"Ankh","voted":false,"svg":{"solid":{"last_modified":1535388320870,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 320 512\\"><path d=\\"M296 256h-44.62C272.46 222.01 288 181.65 288 144 288 55.63 230.69 0 160 0S32 55.63 32 144c0 37.65 15.54 78.01 36.62 112H24c-13.25 0-24 10.74-24 24v32c0 13.25 10.75 24 24 24h96v152c0 13.25 10.75 24 24 24h32c13.25 0 24-10.75 24-24V336h96c13.25 0 24-10.75 24-24v-32c0-13.26-10.75-24-24-24zM160 80c29.61 0 48 24.52 48 64 0 34.66-27.14 78.14-48 100.87-20.86-22.72-48-66.21-48-100.87 0-39.48 18.39-64 48-64z\\"/></svg>","viewBox":["0","0","320","512"],"width":320,"height":512,"path":"M296 256h-44.62C272.46 222.01 288 181.65 288 144 288 55.63 230.69 0 160 0S32 55.63 32 144c0 37.65 15.54 78.01 36.62 112H24c-13.25 0-24 10.74-24 24v32c0 13.25 10.75 24 24 24h96v152c0 13.25 10.75 24 24 24h32c13.25 0 24-10.75 24-24V336h96c13.25 0 24-10.75 24-24v-32c0-13.26-10.75-24-24-24zM160 80c29.61 0 48 24.52 48 64 0 34.66-27.14 78.14-48 100.87-20.86-22.72-48-66.21-48-100.87 0-39.48 18.39-64 48-64z"}}},"app-store":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f36f","label":"App Store","voted":false,"svg":{"brands":{"last_modified":1521653821381,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M255.9 120.9l9.1-15.7c5.6-9.8 18.1-13.1 27.9-7.5 9.8 5.6 13.1 18.1 7.5 27.9l-87.5 151.5h63.3c20.5 0 32 24.1 23.1 40.8H113.8c-11.3 0-20.4-9.1-20.4-20.4 0-11.3 9.1-20.4 20.4-20.4h52l66.6-115.4-20.8-36.1c-5.6-9.8-2.3-22.2 7.5-27.9 9.8-5.6 22.2-2.3 27.9 7.5l8.9 15.7zm-78.7 218l-19.6 34c-5.6 9.8-18.1 13.1-27.9 7.5-9.8-5.6-13.1-18.1-7.5-27.9l14.6-25.2c16.4-5.1 29.8-1.2 40.4 11.6zm168.9-61.7h53.1c11.3 0 20.4 9.1 20.4 20.4 0 11.3-9.1 20.4-20.4 20.4h-29.5l19.9 34.5c5.6 9.8 2.3 22.2-7.5 27.9-9.8 5.6-22.2 2.3-27.9-7.5-33.5-58.1-58.7-101.6-75.4-130.6-17.1-29.5-4.9-59.1 7.2-69.1 13.4 23 33.4 57.7 60.1 104zM256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm216 248c0 118.7-96.1 216-216 216-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M255.9 120.9l9.1-15.7c5.6-9.8 18.1-13.1 27.9-7.5 9.8 5.6 13.1 18.1 7.5 27.9l-87.5 151.5h63.3c20.5 0 32 24.1 23.1 40.8H113.8c-11.3 0-20.4-9.1-20.4-20.4 0-11.3 9.1-20.4 20.4-20.4h52l66.6-115.4-20.8-36.1c-5.6-9.8-2.3-22.2 7.5-27.9 9.8-5.6 22.2-2.3 27.9 7.5l8.9 15.7zm-78.7 218l-19.6 34c-5.6 9.8-18.1 13.1-27.9 7.5-9.8-5.6-13.1-18.1-7.5-27.9l14.6-25.2c16.4-5.1 29.8-1.2 40.4 11.6zm168.9-61.7h53.1c11.3 0 20.4 9.1 20.4 20.4 0 11.3-9.1 20.4-20.4 20.4h-29.5l19.9 34.5c5.6 9.8 2.3 22.2-7.5 27.9-9.8 5.6-22.2 2.3-27.9-7.5-33.5-58.1-58.7-101.6-75.4-130.6-17.1-29.5-4.9-59.1 7.2-69.1 13.4 23 33.4 57.7 60.1 104zM256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm216 248c0 118.7-96.1 216-216 216-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216z"}}},"app-store-ios":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f370","label":"iOS App Store","voted":false,"svg":{"brands":{"last_modified":1507838931322,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM127 384.5c-5.5 9.6-17.8 12.8-27.3 7.3-9.6-5.5-12.8-17.8-7.3-27.3l14.3-24.7c16.1-4.9 29.3-1.1 39.6 11.4L127 384.5zm138.9-53.9H84c-11 0-20-9-20-20s9-20 20-20h51l65.4-113.2-20.5-35.4c-5.5-9.6-2.2-21.8 7.3-27.3 9.6-5.5 21.8-2.2 27.3 7.3l8.9 15.4 8.9-15.4c5.5-9.6 17.8-12.8 27.3-7.3 9.6 5.5 12.8 17.8 7.3 27.3l-85.8 148.6h62.1c20.2 0 31.5 23.7 22.7 40zm98.1 0h-29l19.6 33.9c5.5 9.6 2.2 21.8-7.3 27.3-9.6 5.5-21.8 2.2-27.3-7.3-32.9-56.9-57.5-99.7-74-128.1-16.7-29-4.8-58 7.1-67.8 13.1 22.7 32.7 56.7 58.9 102h52c11 0 20 9 20 20 0 11.1-9 20-20 20z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM127 384.5c-5.5 9.6-17.8 12.8-27.3 7.3-9.6-5.5-12.8-17.8-7.3-27.3l14.3-24.7c16.1-4.9 29.3-1.1 39.6 11.4L127 384.5zm138.9-53.9H84c-11 0-20-9-20-20s9-20 20-20h51l65.4-113.2-20.5-35.4c-5.5-9.6-2.2-21.8 7.3-27.3 9.6-5.5 21.8-2.2 27.3 7.3l8.9 15.4 8.9-15.4c5.5-9.6 17.8-12.8 27.3-7.3 9.6 5.5 12.8 17.8 7.3 27.3l-85.8 148.6h62.1c20.2 0 31.5 23.7 22.7 40zm98.1 0h-29l19.6 33.9c5.5 9.6 2.2 21.8-7.3 27.3-9.6 5.5-21.8 2.2-27.3-7.3-32.9-56.9-57.5-99.7-74-128.1-16.7-29-4.8-58 7.1-67.8 13.1 22.7 32.7 56.7 58.9 102h52c11 0 20 9 20 20 0 11.1-9 20-20 20z"}}},"apper":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f371","label":"Apper Systems AB","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 640 512\\"><path d=\\"M42.1 239.1c22.2 0 29 2.8 33.5 14.6h.8v-22.9c0-11.3-4.8-15.4-17.9-15.4-11.3 0-14.4 2.5-15.1 12.8H4.8c.3-13.9 1.5-19.1 5.8-24.4C17.9 195 29.5 192 56.7 192c33 0 47.1 5 53.9 18.9 2 4.3 4 15.6 4 23.7v76.3H76.3l1.3-19.1h-1c-5.3 15.6-13.6 20.4-35.5 20.4-30.3 0-41.1-10.1-41.1-37.3 0-25.2 12.3-35.8 42.1-35.8zm17.1 48.1c13.1 0 16.9-3 16.9-13.4 0-9.1-4.3-11.6-19.6-11.6-13.1 0-17.9 3-17.9 12.1-.1 10.4 3.7 12.9 20.6 12.9zm77.8-94.9h38.3l-1.5 20.