/******/ (() => { // webpackBootstrap
/******/ 	"use strict";
/******/ 	var __webpack_modules__ = ({

/***/ "./node_modules/@wordpress/icons/build-module/library/external.js":
/*!************************************************************************!*\
  !*** ./node_modules/@wordpress/icons/build-module/library/external.js ***!
  \************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives");
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__);
/**
 * WordPress dependencies
 */


const external = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, {
  xmlns: "http://www.w3.org/2000/svg",
  viewBox: "0 0 24 24",
  children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, {
    d: "M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"
  })
});
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (external);
//# sourceMappingURL=external.js.map

/***/ }),

/***/ "./assets/src/blocks/icon-item/edit.js":
/*!*********************************************!*\
  !*** ./assets/src/blocks/icon-item/edit.js ***!
  \*********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/external.js");
/* harmony import */ var _components_library_icon_InserterModal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../components/library-icon/InserterModal */ "./assets/src/components/library-icon/InserterModal.jsx");








const Edit = ({
  attributes,
  setAttributes
}) => {
  const {
    iconSVG,
    iconClass,
    itemLink,
    content,
    opensInNewTab,
    enableLink,
    iconColor,
    iconFontSize
  } = attributes;
  const [svgContent, setSvgContent] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_5__.useState)("");
  const [isIconModalOpen, setIconModalOpen] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const [isEditingLink, setIsEditingLink] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const linkButtonRef = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_5__.useRef)();
  (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    if (iconSVG) {
      if (iconSVG.startsWith("http") || iconSVG.startsWith("/")) {
        fetch(iconSVG).then(res => res.text()).then(data => {
          if (iconColor) {
            data = data.replace(/fill="(.*?)"/g, 'fill="currentColor"');
          }
          setSvgContent(data);
        }).catch(() => setSvgContent(""));
      } else {
        let data = iconSVG;
        if (iconColor) {
          data = data.replace(/fill="(.*?)"/g, 'fill="currentColor"');
        }
        setSvgContent(data);
      }
    } else {
      setSvgContent("");
    }
  }, [iconSVG, iconColor]);
  const baseProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.useBlockProps)();
  const blockProps = {
    ...baseProps,
    className: [baseProps.className, "thim-blocks-icon-item"].filter(Boolean).join(" ")
  };
  let iconElement = null;
  const iconStyle = {
    color: iconColor || undefined,
    fontSize: iconFontSize ? `${iconFontSize}px` : undefined
  };
  if (iconSVG && svgContent) {
    iconElement = (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("span", {
      className: "thim-icon-item__icon",
      dangerouslySetInnerHTML: {
        __html: svgContent
      },
      style: iconStyle
    });
  } else if (iconClass) {
    iconElement = (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: `thim-icon-item__icon ${iconClass}`,
      style: iconStyle
    });
  }
  const isEditor = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_4__.useSelect)(select => {
    return select('core/editor');
  }, []);
  const handleBackendClick = e => {
    e.preventDefault();
    e.stopPropagation();
  };
  return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.InspectorControls, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.PanelBody, {
    title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Icon Item Settings", "thim-blocks"),
    initialOpen: true
  }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.TabPanel, {
    className: "icon-tab-panel",
    activeClass: "is-active",
    tabs: [{
      name: "select",
      title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Library Icon", "thim-blocks")
    }, {
      name: "upload",
      title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Upload SVG", "thim-blocks")
    }]
  }, tab => {
    if (tab.name === "select") {
      return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
        className: "icon-preview-box"
      }, iconClass && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.Button, {
        icon: "no-alt",
        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Remove Icon", "thim-blocks"),
        onClick: () => setAttributes({
          iconClass: ""
        }),
        style: {
          position: "absolute",
          top: "6px",
          right: "6px",
          padding: "4px",
          background: "transparent"
        }
      }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
        className: iconClass,
        style: {
          fontSize: "32px"
        }
      })), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.Button, {
        variant: "secondary",
        onClick: () => setIconModalOpen(true),
        style: {
          width: "100%"
        }
      }, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Select Icon", "thim-blocks")));
    }
    if (tab.name === "upload") {
      return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
        className: "icon-preview-box"
      }, iconSVG && svgContent && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.Button, {
        icon: "no-alt",
        label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Remove Icon", "thim-blocks"),
        onClick: () => setAttributes({
          iconSVG: ""
        }),
        style: {
          position: "absolute",
          top: "6px",
          right: "6px",
          padding: "4px",
          background: "transparent"
        }
      }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("span", {
        dangerouslySetInnerHTML: {
          __html: svgContent
        },
        style: {
          display: "inline-block"
        }
      })), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.MediaUpload, {
        onSelect: media => setAttributes({
          iconSVG: media.url
        }),
        allowedTypes: ["image/svg+xml"],
        render: ({
          open
        }) => (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.Button, {
          variant: "secondary",
          onClick: open,
          style: {
            width: "100%"
          }
        }, iconSVG ? (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Change SVG Icon", "thim-blocks") : (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Upload SVG Icon", "thim-blocks"))
      }));
    }
    return null;
  }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.ToggleControl, {
    label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Enable Link", "thim-blocks"),
    checked: enableLink,
    onChange: value => {
      setAttributes({
        enableLink: value
      });
      if (!value) {
        setAttributes({
          itemLink: undefined,
          opensInNewTab: undefined
        });
      }
    }
  }))), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.InspectorControls, {
    group: "styles"
  }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.PanelBody, {
    title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Icon Styles", "thim-blocks"),
    initialOpen: false
  }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.RangeControl, {
    label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Icon Size (px)", "thim-blocks"),
    value: iconFontSize,
    onChange: value => setAttributes({
      iconFontSize: value
    }),
    min: 12,
    max: 200
  }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("p", {
    style: {
      marginBottom: "8px"
    }
  }, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Icon Color", "thim-blocks")), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.ColorPalette, {
    value: iconColor,
    onChange: value => setAttributes({
      iconColor: value
    })
  }))), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
    ...blockProps
  }, enableLink && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
    style: {
      marginBottom: "12px"
    }
  }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.Button, {
    icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__["default"],
    ref: linkButtonRef,
    variant: "secondary",
    onClick: () => setIsEditingLink(true)
  }, itemLink ? (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Edit Link", "thim-blocks") : (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Add Link", "thim-blocks")), isEditingLink && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.Popover, {
    anchorRef: linkButtonRef.current,
    placement: "bottom-start",
    onClose: () => setIsEditingLink(false)
  }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.LinkControl, {
    value: {
      url: itemLink,
      opensInNewTab
    },
    onChange: newLink => {
      setAttributes({
        itemLink: newLink.url,
        opensInNewTab: newLink.opensInNewTab
      });
    },
    settings: [{
      id: "opensInNewTab",
      title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Open in new tab", "thim-blocks")
    }]
  })))), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, itemLink ? (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("a", {
    href: itemLink,
    className: "thim-icon-item__link",
    target: opensInNewTab ? "_blank" : undefined,
    rel: opensInNewTab ? "noopener noreferrer" : undefined,
    onClick: isEditor ? handleBackendClick : undefined
  }, iconElement) : iconElement, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.RichText, {
    tagName: "span",
    value: content,
    onChange: val => setAttributes({
      content: val
    }),
    placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Add content…", "thim-blocks"),
    className: "thim-icon-item__text"
  }))), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_components_library_icon_InserterModal__WEBPACK_IMPORTED_MODULE_6__["default"], {
    isOpen: isIconModalOpen,
    setIsOpen: setIconModalOpen,
    setAttributes: setAttributes
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Edit);

/***/ }),

/***/ "./assets/src/blocks/icon-item/index.js":
/*!**********************************************!*\
  !*** ./assets/src/blocks/icon-item/index.js ***!
  \**********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _edit_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./edit.js */ "./assets/src/blocks/icon-item/edit.js");
/* harmony import */ var _save_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./save.js */ "./assets/src/blocks/icon-item/save.js");
/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./assets/src/blocks/icon-item/block.json");
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style.scss */ "./assets/src/blocks/icon-item/style.scss");






// Register the block with the original metadata, ancestor will be set on block.json
(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_2__.name, {
  ..._block_json__WEBPACK_IMPORTED_MODULE_2__,
  edit: _edit_js__WEBPACK_IMPORTED_MODULE_0__["default"],
  save: _save_js__WEBPACK_IMPORTED_MODULE_1__.save
});

/***/ }),

/***/ "./assets/src/blocks/icon-item/save.js":
/*!*********************************************!*\
  !*** ./assets/src/blocks/icon-item/save.js ***!
  \*********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   save: () => (/* binding */ save)
/* harmony export */ });
const save = props => null;

/***/ }),

/***/ "./assets/src/components/library-icon/InserterModal.jsx":
/*!**************************************************************!*\
  !*** ./assets/src/components/library-icon/InserterModal.jsx ***!
  \**************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ InserterModal)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./icons */ "./assets/src/components/library-icon/icons.js");

// InserterModal.jsx




function InserterModal({
  isOpen,
  setIsOpen,
  setAttributes
}) {
  const icons = (0,_icons__WEBPACK_IMPORTED_MODULE_4__["default"])();
  const [search, setSearch] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)('');
  if (!isOpen) return null;
  const handleSelect = iconClass => {
    setAttributes({
      iconClass
    });
    setIsOpen(false);
  };
  const filteredIcons = icons.filter(item => item.name.toLowerCase().includes(search.toLowerCase()));
  return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Modal, {
    onRequestClose: () => setIsOpen(false),
    className: "thim-blocks-icon-modal no-default-header",
    title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Select Icon', 'thim-blocks')
  }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
    className: "thim-blocks-modal-custom-header"
  }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("h2", null, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Select Icon', 'thim-blocks')), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
    style: {
      display: 'flex',
      gap: '8px',
      alignItems: 'center'
    }
  }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.TextControl, {
    placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Search icons…', 'thim-blocks'),
    value: search,
    onChange: val => setSearch(val),
    style: {
      width: 200
    }
  }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, {
    icon: "no-alt",
    label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Close', 'thim-blocks'),
    onClick: () => setIsOpen(false),
    isSmall: true
  }))), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
    style: {
      display: 'grid',
      gridTemplateColumns: 'repeat(auto-fill, minmax(60px, 1fr))',
      gap: '12px',
      maxHeight: '400px',
      maxWidth: '1200px',
      overflowY: 'auto'
    }
  }, filteredIcons.map(item => (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, {
    key: item.name,
    onClick: () => handleSelect(item.icon.props.className),
    style: {
      height: 60,
      width: 60,
      display: 'flex',
      alignItems: 'center',
      justifyContent: 'center',
      fontSize: 24,
      color: '#111111'
    },
    variant: "secondary"
  }, item.icon))));
}

/***/ }),

/***/ "./assets/src/components/library-icon/icons.js":
/*!*****************************************************!*\
  !*** ./assets/src/components/library-icon/icons.js ***!
  \*****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getIcons)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

function getIcons() {
  return [{
    name: "alarm-clock",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-alarm-clock"
    })
  }, {
    name: "angle-double-down",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-angle-double-down"
    })
  }, {
    name: "angle-double-left",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-angle-double-left"
    })
  }, {
    name: "angle-double-right",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-angle-double-right"
    })
  }, {
    name: "angle-double-up",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-angle-double-up"
    })
  }, {
    name: "angle-down",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-angle-down"
    })
  }, {
    name: "angle-left",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-angle-left"
    })
  }, {
    name: "angle-right",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-angle-right"
    })
  }, {
    name: "angle-up",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-angle-up"
    })
  }, {
    name: "arrow-left",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-arrow-left"
    })
  }, {
    name: "arrow-right",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-arrow-right"
    })
  }, {
    name: "drag",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-drag"
    })
  }, {
    name: "drag-alt",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-drag-alt"
    })
  }, {
    name: "art-and-design",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-art-and-design"
    })
  }, {
    name: "bar-chart",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-bar-chart"
    })
  }, {
    name: "bar-chart-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-bar-chart-o"
    })
  }, {
    name: "bell-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-bell-o"
    })
  }, {
    name: "best-customer-experience",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-best-customer-experience"
    })
  }, {
    name: "book",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-book"
    })
  }, {
    name: "book-open",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-book-open"
    })
  }, {
    name: "bookmark",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-bookmark"
    })
  }, {
    name: "bookmark-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-bookmark-o"
    })
  }, {
    name: "box",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-box"
    })
  }, {
    name: "briefcase",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-briefcase"
    })
  }, {
    name: "bullhorn",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-bullhorn"
    })
  }, {
    name: "calendar",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-calendar"
    })
  }, {
    name: "calendar-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-calendar-o"
    })
  }, {
    name: "caret-down",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-caret-down"
    })
  }, {
    name: "caret-left",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-caret-left"
    })
  }, {
    name: "caret-right",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-caret-right"
    })
  }, {
    name: "caret-up",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-caret-up"
    })
  }, {
    name: "certificate",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-certificate"
    })
  }, {
    name: "certificate-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-certificate-o"
    })
  }, {
    name: "check",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-check"
    })
  }, {
    name: "check-circle",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-check-circle"
    })
  }, {
    name: "check-square-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-check-square-o"
    })
  }, {
    name: "chevron-down",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-chevron-down"
    })
  }, {
    name: "chevron-left",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-chevron-left"
    })
  }, {
    name: "chevron-right",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-chevron-right"
    })
  }, {
    name: "chevron-up",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-chevron-up"
    })
  }, {
    name: "circle-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-circle-o"
    })
  }, {
    name: "circle-thin",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-circle-thin"
    })
  }, {
    name: "clock",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-clock"
    })
  }, {
    name: "clock-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-clock-o"
    })
  }, {
    name: "close",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-close"
    })
  }, {
    name: "close-circle",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-close-circle"
    })
  }, {
    name: "co-instructor",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-co-instructor"
    })
  }, {
    name: "code",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-code"
    })
  }, {
    name: "cog",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-cog"
    })
  }, {
    name: "cogs",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-cogs"
    })
  }, {
    name: "comment",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-comment"
    })
  }, {
    name: "comment-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-comment-o"
    })
  }, {
    name: "comment-written",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-comment-written"
    })
  }, {
    name: "community",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-community"
    })
  }, {
    name: "compress",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-compress"
    })
  }, {
    name: "concierge-bell",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-concierge-bell"
    })
  }, {
    name: "content-marketing",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-content-marketing"
    })
  }, {
    name: "copy",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-copy"
    })
  }, {
    name: "courses",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-courses"
    })
  }, {
    name: "database",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-database"
    })
  }, {
    name: "desktop",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-desktop"
    })
  }, {
    name: "dollar-sign",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-dollar-sign"
    })
  }, {
    name: "dot-circle-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-dot-circle-o"
    })
  }, {
    name: "download",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-download"
    })
  }, {
    name: "dropbox",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-dropbox"
    })
  }, {
    name: "ebook",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-ebook"
    })
  }, {
    name: "edit",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-edit"
    })
  }, {
    name: "educational-programs",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-educational-programs"
    })
  }, {
    name: "ellipsis-h",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-ellipsis-h"
    })
  }, {
    name: "ellipsis-v",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-ellipsis-v"
    })
  }, {
    name: "envelope-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-envelope-o"
    })
  }, {
    name: "exclamation-circle",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-exclamation-circle"
    })
  }, {
    name: "exclamation-triangle",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-exclamation-triangle"
    })
  }, {
    name: "expand",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-expand"
    })
  }, {
    name: "eye",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-eye"
    })
  }, {
    name: "eye-slash",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-eye-slash"
    })
  }, {
    name: "facebook",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-facebook"
    })
  }, {
    name: "facebook-f",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-facebook-f"
    })
  }, {
    name: "failed_courses",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-failed_courses"
    })
  }, {
    name: "file",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file"
    })
  }, {
    name: "file-alt",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-alt"
    })
  }, {
    name: "file-archive",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-archive"
    })
  }, {
    name: "file-audio",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-audio"
    })
  }, {
    name: "file-code",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-code"
    })
  }, {
    name: "file-download",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-download"
    })
  }, {
    name: "file-excel",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-excel"
    })
  }, {
    name: "file-image",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-image"
    })
  }, {
    name: "file-movie",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-movie"
    })
  }, {
    name: "file-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-o"
    })
  }, {
    name: "file-pdf",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-pdf"
    })
  }, {
    name: "file-photo",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-photo"
    })
  }, {
    name: "file-picture",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-picture"
    })
  }, {
    name: "file-powerpoint",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-powerpoint"
    })
  }, {
    name: "file-sound",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-sound"
    })
  }, {
    name: "file-text-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-text-o"
    })
  }, {
    name: "file-video",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-video"
    })
  }, {
    name: "file-word",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-word"
    })
  }, {
    name: "file-zip",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-file-zip"
    })
  }, {
    name: "files-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-files-o"
    })
  }, {
    name: "filter",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-filter"
    })
  }, {
    name: "finished_courses",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-finished_courses"
    })
  }, {
    name: "flag",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-flag"
    })
  }, {
    name: "gear",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-gear"
    })
  }, {
    name: "gears",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-gears"
    })
  }, {
    name: "gift",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-gift"
    })
  }, {
    name: "google",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-google"
    })
  }, {
    name: "google-plus",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-google-plus"
    })
  }, {
    name: "google-plus-circle",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-google-plus-circle"
    })
  }, {
    name: "google-plus-official",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-google-plus-official"
    })
  }, {
    name: "google-plus-square",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-google-plus-square"
    })
  }, {
    name: "graduation-cap",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-graduation-cap"
    })
  }, {
    name: "heart",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-heart"
    })
  }, {
    name: "heart-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-heart-o"
    })
  }, {
    name: "home",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-home"
    })
  }, {
    name: "icon-h5p",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-icon-h5p"
    })
  }, {
    name: "in_progress_course",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-in_progress_course"
    })
  }, {
    name: "instagram",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-instagram"
    })
  }, {
    name: "key",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-key"
    })
  }, {
    name: "language",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-language"
    })
  }, {
    name: "layers",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-layers"
    })
  }, {
    name: "line-chart",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-line-chart"
    })
  }, {
    name: "linkedin",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-linkedin"
    })
  }, {
    name: "linkedin-square",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-linkedin-square"
    })
  }, {
    name: "list",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-list"
    })
  }, {
    name: "list-check",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-list-check"
    })
  }, {
    name: "lock",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-lock"
    })
  }, {
    name: "lucide",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-lucide"
    })
  }, {
    name: "map-marker",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-map-marker"
    })
  }, {
    name: "map-pin",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-map-pin"
    })
  }, {
    name: "minus",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-minus"
    })
  }, {
    name: "mobile",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-mobile"
    })
  }, {
    name: "mobile-phone",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-mobile-phone"
    })
  }, {
    name: "money-bill-alt",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-money-bill-alt"
    })
  }, {
    name: "monitor",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-monitor"
    })
  }, {
    name: "mortar-board",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-mortar-board"
    })
  }, {
    name: "my-courses",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-my-courses"
    })
  }, {
    name: "online-class",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-online-class"
    })
  }, {
    name: "online-education",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-online-education"
    })
  }, {
    name: "passed_courses",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-passed_courses"
    })
  }, {
    name: "pencil-square-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-pencil-square-o"
    })
  }, {
    name: "pending_course",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-pending_course"
    })
  }, {
    name: "phone",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-phone"
    })
  }, {
    name: "pie-chart",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-pie-chart"
    })
  }, {
    name: "pinterest",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-pinterest"
    })
  }, {
    name: "pinterest-square",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-pinterest-square"
    })
  }, {
    name: "play-circle-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-play-circle-o"
    })
  }, {
    name: "plus",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-plus"
    })
  }, {
    name: "published_course",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-published_course"
    })
  }, {
    name: "puzzle-piece",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-puzzle-piece"
    })
  }, {
    name: "question",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-question"
    })
  }, {
    name: "question-circle",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-question-circle"
    })
  }, {
    name: "question-circle-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-question-circle-o"
    })
  }, {
    name: "refresh",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-refresh"
    })
  }, {
    name: "remove",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-remove"
    })
  }, {
    name: "search",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-search"
    })
  }, {
    name: "share-alt",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-share-alt"
    })
  }, {
    name: "shopping-cart",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-shopping-cart"
    })
  }, {
    name: "sign-in",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-sign-in"
    })
  }, {
    name: "sign-out",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-sign-out"
    })
  }, {
    name: "signal",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-signal"
    })
  }, {
    name: "spinner",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-spinner"
    })
  }, {
    name: "square-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-square-o"
    })
  }, {
    name: "star",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-star"
    })
  }, {
    name: "star-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-star-o"
    })
  }, {
    name: "stopwatch",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-stopwatch"
    })
  }, {
    name: "student_completed",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-student_completed"
    })
  }, {
    name: "student_in_progress",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-student_in_progress"
    })
  }, {
    name: "students",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-students"
    })
  }, {
    name: "target",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-target"
    })
  }, {
    name: "television",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-television"
    })
  }, {
    name: "th",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-th"
    })
  }, {
    name: "th-large",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-th-large"
    })
  }, {
    name: "th-list",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-th-list"
    })
  }, {
    name: "thumbs-o-down",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-thumbs-o-down"
    })
  }, {
    name: "thumbs-o-up",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-thumbs-o-up"
    })
  }, {
    name: "tiktok",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-tiktok"
    })
  }, {
    name: "times",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-times"
    })
  }, {
    name: "trash-o",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-trash-o"
    })
  }, {
    name: "tv",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-tv"
    })
  }, {
    name: "twitter",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-twitter"
    })
  }, {
    name: "unlock",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-unlock"
    })
  }, {
    name: "user",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-user"
    })
  }, {
    name: "user-circle",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-user-circle"
    })
  }, {
    name: "user-edit",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-user-edit"
    })
  }, {
    name: "user-graduate",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-user-graduate"
    })
  }, {
    name: "user-secret",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-user-secret"
    })
  }, {
    name: "video-camera",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-video-camera"
    })
  }, {
    name: "warning",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-warning"
    })
  }, {
    name: "website",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-website"
    })
  }, {
    name: "worldwide-security",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-worldwide-security"
    })
  }, {
    name: "youtube",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-youtube"
    })
  }, {
    name: "reddit",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-reddit"
    })
  }, {
    name: "whatsapp",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-whatsapp"
    })
  }, {
    name: "pocket",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-pocket"
    })
  }, {
    name: "stumbleupon",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-stumbleupon"
    })
  }, {
    name: "tumblr",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-tumblr"
    })
  }, {
    name: "blogger",
    icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", {
      className: "tb-icon-blogger"
    })
  }];
}

/***/ }),

/***/ "./assets/src/blocks/icon-item/style.scss":
/*!************************************************!*\
  !*** ./assets/src/blocks/icon-item/style.scss ***!
  \************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
// extracted by mini-css-extract-plugin


/***/ }),

/***/ "react":
/*!************************!*\
  !*** external "React" ***!
  \************************/
/***/ ((module) => {

module.exports = window["React"];

/***/ }),

/***/ "react/jsx-runtime":
/*!**********************************!*\
  !*** external "ReactJSXRuntime" ***!
  \**********************************/
/***/ ((module) => {

module.exports = window["ReactJSXRuntime"];

/***/ }),

/***/ "@wordpress/block-editor":
/*!*************************************!*\
  !*** external ["wp","blockEditor"] ***!
  \*************************************/
/***/ ((module) => {

module.exports = window["wp"]["blockEditor"];

/***/ }),

/***/ "@wordpress/blocks":
/*!********************************!*\
  !*** external ["wp","blocks"] ***!
  \********************************/
/***/ ((module) => {

module.exports = window["wp"]["blocks"];

/***/ }),

/***/ "@wordpress/components":
/*!************************************!*\
  !*** external ["wp","components"] ***!
  \************************************/
/***/ ((module) => {

module.exports = window["wp"]["components"];

/***/ }),

/***/ "@wordpress/data":
/*!******************************!*\
  !*** external ["wp","data"] ***!
  \******************************/
/***/ ((module) => {

module.exports = window["wp"]["data"];

/***/ }),

/***/ "@wordpress/element":
/*!*********************************!*\
  !*** external ["wp","element"] ***!
  \*********************************/
/***/ ((module) => {

module.exports = window["wp"]["element"];

/***/ }),

/***/ "@wordpress/i18n":
/*!******************************!*\
  !*** external ["wp","i18n"] ***!
  \******************************/
/***/ ((module) => {

module.exports = window["wp"]["i18n"];

/***/ }),

/***/ "@wordpress/primitives":
/*!************************************!*\
  !*** external ["wp","primitives"] ***!
  \************************************/
/***/ ((module) => {

module.exports = window["wp"]["primitives"];

/***/ }),

/***/ "./assets/src/blocks/icon-item/block.json":
/*!************************************************!*\
  !*** ./assets/src/blocks/icon-item/block.json ***!
  \************************************************/
/***/ ((module) => {

module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"thim-blocks/icon-item","title":"Icon Item","parent":["thim-blocks/icon-list"],"category":"thim-block-category","icon":"list-view","description":"A single item with an icon and content inside the Icon List.","textdomain":"thim-blocks","attributes":{"iconSVG":{"type":"string","default":""},"iconClass":{"type":"string","default":"tb-icon-list-check"},"content":{"type":"string","default":""},"enableLink":{"type":"boolean","default":false},"itemLink":{"type":"string","default":""},"opensInNewTab":{"type":"boolean","default":false},"iconColor":{"type":"string","default":""},"iconFontSize":{"type":"number","default":32}},"supports":{"align":true,"html":false,"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":true,"padding":true}},"typography":{"fontSize":true,"fontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalDefaultControls":{"fontSize":true}},"color":{"text":true,"link":true,"background":true,"__experimentalDefaultControls":{"text":true,"background":true,"link":false}},"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true,"__experimentalDefaultControls":{"radius":true,"width":true}}}}');

/***/ })

/******/ 	});
/************************************************************************/
/******/ 	// The module cache
/******/ 	var __webpack_module_cache__ = {};
/******/ 	
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/ 		// Check if module is in cache
/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
/******/ 		if (cachedModule !== undefined) {
/******/ 			return cachedModule.exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = __webpack_module_cache__[moduleId] = {
/******/ 			// no module.id needed
/******/ 			// no module.loaded needed
/******/ 			exports: {}
/******/ 		};
/******/ 	
/******/ 		// Execute the module function
/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/ 	
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/ 	
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = __webpack_modules__;
/******/ 	
/************************************************************************/
/******/ 	/* webpack/runtime/chunk loaded */
/******/ 	(() => {
/******/ 		var deferred = [];
/******/ 		__webpack_require__.O = (result, chunkIds, fn, priority) => {
/******/ 			if(chunkIds) {
/******/ 				priority = priority || 0;
/******/ 				for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
/******/ 				deferred[i] = [chunkIds, fn, priority];
/******/ 				return;
/******/ 			}
/******/ 			var notFulfilled = Infinity;
/******/ 			for (var i = 0; i < deferred.length; i++) {
/******/ 				var [chunkIds, fn, priority] = deferred[i];
/******/ 				var fulfilled = true;
/******/ 				for (var j = 0; j < chunkIds.length; j++) {
/******/ 					if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
/******/ 						chunkIds.splice(j--, 1);
/******/ 					} else {
/******/ 						fulfilled = false;
/******/ 						if(priority < notFulfilled) notFulfilled = priority;
/******/ 					}
/******/ 				}
/******/ 				if(fulfilled) {
/******/ 					deferred.splice(i--, 1)
/******/ 					var r = fn();
/******/ 					if (r !== undefined) result = r;
/******/ 				}
/******/ 			}
/******/ 			return result;
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/compat get default export */
/******/ 	(() => {
/******/ 		// getDefaultExport function for compatibility with non-harmony modules
/******/ 		__webpack_require__.n = (module) => {
/******/ 			var getter = module && module.__esModule ?
/******/ 				() => (module['default']) :
/******/ 				() => (module);
/******/ 			__webpack_require__.d(getter, { a: getter });
/******/ 			return getter;
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/define property getters */
/******/ 	(() => {
/******/ 		// define getter functions for harmony exports
/******/ 		__webpack_require__.d = (exports, definition) => {
/******/ 			for(var key in definition) {
/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ 				}
/******/ 			}
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
/******/ 	(() => {
/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/make namespace object */
/******/ 	(() => {
/******/ 		// define __esModule on exports
/******/ 		__webpack_require__.r = (exports) => {
/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 			}
/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/jsonp chunk loading */
/******/ 	(() => {
/******/ 		// no baseURI
/******/ 		
/******/ 		// object to store loaded and loading chunks
/******/ 		// undefined = chunk not loaded, null = chunk preloaded/prefetched
/******/ 		// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
/******/ 		var installedChunks = {
/******/ 			"blocks/icon-item": 0,
/******/ 			"blocks/style-icon-item": 0
/******/ 		};
/******/ 		
/******/ 		// no chunk on demand loading
/******/ 		
/******/ 		// no prefetching
/******/ 		
/******/ 		// no preloaded
/******/ 		
/******/ 		// no HMR
/******/ 		
/******/ 		// no HMR manifest
/******/ 		
/******/ 		__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
/******/ 		
/******/ 		// install a JSONP callback for chunk loading
/******/ 		var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
/******/ 			var [chunkIds, moreModules, runtime] = data;
/******/ 			// add "moreModules" to the modules object,
/******/ 			// then flag all "chunkIds" as loaded and fire callback
/******/ 			var moduleId, chunkId, i = 0;
/******/ 			if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
/******/ 				for(moduleId in moreModules) {
/******/ 					if(__webpack_require__.o(moreModules, moduleId)) {
/******/ 						__webpack_require__.m[moduleId] = moreModules[moduleId];
/******/ 					}
/******/ 				}
/******/ 				if(runtime) var result = runtime(__webpack_require__);
/******/ 			}
/******/ 			if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
/******/ 			for(;i < chunkIds.length; i++) {
/******/ 				chunkId = chunkIds[i];
/******/ 				if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ 					installedChunks[chunkId][0]();
/******/ 				}
/******/ 				installedChunks[chunkId] = 0;
/******/ 			}
/******/ 			return __webpack_require__.O(result);
/******/ 		}
/******/ 		
/******/ 		var chunkLoadingGlobal = globalThis["webpackChunkthim_blocks"] = globalThis["webpackChunkthim_blocks"] || [];
/******/ 		chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
/******/ 		chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
/******/ 	})();
/******/ 	
/************************************************************************/
/******/ 	
/******/ 	// startup
/******/ 	// Load entry module and return exports
/******/ 	// This entry module depends on other loaded chunks and execution need to be delayed
/******/ 	var __webpack_exports__ = __webpack_require__.O(undefined, ["blocks/style-icon-item"], () => (__webpack_require__("./assets/src/blocks/icon-item/index.js")))
/******/ 	__webpack_exports__ = __webpack_require__.O(__webpack_exports__);
/******/ 	
/******/ })()
;
//# sourceMappingURL=icon-item.js.map