/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, {
/******/ 				configurable: false,
/******/ 				enumerable: true,
/******/ 				get: getter
/******/ 			});
/******/ 		}
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/*!***********************!*\
  !*** ./src/blocks.js ***!
  \***********************/
/*! no exports provided */
/*! all exports used */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__block_block_js__ = __webpack_require__(/*! ./block/block.js */ 1);\n/**\n * Gutenberg Blocks\n *\n * All blocks related JavaScript files should be imported here.\n * You can create a new block folder in this dir and include code\n * for that block here as well.\n *\n * All blocks should be included here since this is the file that\n * Webpack is compiling as the input file.\n */\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9ibG9ja3MuanM/N2I1YiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEd1dGVuYmVyZyBCbG9ja3NcbiAqXG4gKiBBbGwgYmxvY2tzIHJlbGF0ZWQgSmF2YVNjcmlwdCBmaWxlcyBzaG91bGQgYmUgaW1wb3J0ZWQgaGVyZS5cbiAqIFlvdSBjYW4gY3JlYXRlIGEgbmV3IGJsb2NrIGZvbGRlciBpbiB0aGlzIGRpciBhbmQgaW5jbHVkZSBjb2RlXG4gKiBmb3IgdGhhdCBibG9jayBoZXJlIGFzIHdlbGwuXG4gKlxuICogQWxsIGJsb2NrcyBzaG91bGQgYmUgaW5jbHVkZWQgaGVyZSBzaW5jZSB0aGlzIGlzIHRoZSBmaWxlIHRoYXRcbiAqIFdlYnBhY2sgaXMgY29tcGlsaW5nIGFzIHRoZSBpbnB1dCBmaWxlLlxuICovXG5cbmltcG9ydCAnLi9ibG9jay9ibG9jay5qcyc7XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYmxvY2tzLmpzXG4vLyBtb2R1bGUgaWQgPSAwXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///0\n");

/***/ }),
/* 1 */
/*!****************************!*\
  !*** ./src/block/block.js ***!
  \****************************/
/*! exports provided: RevSlider, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("/* unused harmony export RevSlider */\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(/*! ./style.scss */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__editor_scss__);\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n * Block dependencies\n */\n\n\n\n/**\n * Internal block libraries\n */\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar _wp$components = wp.components,\n    TextControl = _wp$components.TextControl,\n    Button = _wp$components.Button;\nvar Component = wp.element.Component;\n\n/**\n * RevSlider Editor Element\n */\n\nvar RevSlider = function (_Component) {\n  _inherits(RevSlider, _Component);\n\n  function RevSlider() {\n    _classCallCheck(this, RevSlider);\n\n    var _this = _possibleConstructorReturn(this, (RevSlider.__proto__ || Object.getPrototypeOf(RevSlider)).apply(this, arguments));\n\n    var _this$props$attribute = _this.props.attributes,\n        text = _this$props$attribute.text,\n        sliderTitle = _this$props$attribute.sliderTitle,\n        modal = _this$props$attribute.modal;\n\n    _this.state = {\n      text: text,\n      sliderTitle: sliderTitle,\n      modal: modal\n    };\n    return _this;\n  }\n\n  /* \n   componentDidMount() {\n      console.log(this.props.attributes.checked);\n  \tif(!this.props.attributes.checked) {\n  \t\t\n  \t\tthis.props.attributes.checked = true;\n  \t\tRS_SC_WIZARD.openTemplateLibrary();\n  \t\t\n  \t}\n  \t\n   }\n   */\n\n  _createClass(RevSlider, [{\n    key: 'render',\n    value: function render() {\n      var _this2 = this;\n\n      var _props = this.props,\n          _props$attributes = _props.attributes,\n          text = _props$attributes.text,\n          sliderTitle = _props$attributes.sliderTitle,\n          modal = _props$attributes.modal,\n          setAttributes = _props.setAttributes;\n\n\n      window.revslider_react = this;\n      var openDialog = function openDialog() {\n\n        RS_SC_WIZARD.openTemplateLibrary();\n      };\n\n      var openSliderEditor = function openSliderEditor() {\n\n        RS_SC_WIZARD.openSliderEditor();\n      };\n\n      return wp.element.createElement(\n        'div',\n        { className: 'revslider_block', 'data-modal': this.state.modal },\n        wp.element.createElement(\n          'span',\n          null,\n          wp.element.createElement(\n            'i',\n            { 'class': 'material-icons' },\n            'picture_in_picture'\n          ),\n          this.state.sliderTitle,\n          '\\xA0'\n        ),\n        wp.element.createElement(TextControl, {\n          className: 'slider_slug',\n          value: this.state.text,\n          onChange: function onChange(text) {\n            return setAttributes({ text: _this2.state.text });\n          }\n        }),\n        wp.element.createElement(\n          Button,\n          {\n            isDefault: true,\n            onClick: openSliderEditor,\n            icon: 'edit',\n            className: 'slider_editor_button'\n          },\n          'edit'\n        ),\n        wp.element.createElement(\n          Button,\n          {\n            isDefault: true,\n            onClick: openDialog,\n            className: 'slider_edit_button'\n          },\n          'Select Module'\n        )\n      );\n    }\n  }]);\n\n  return RevSlider;\n}(Component);\n\n/**\n * Register block\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType('themepunch/revslider', {\n  title: __('Slider Revolution', 'revslider'),\n  description: __('Add your Slider Revolution.', 'revslider'),\n  category: 'themepunch',\n  icon: {\n    src: 'update',\n    background: 'rgb(94,53,177)',\n    color: 'white',\n    viewbox: \"0 0 24 24\"\n  },\n  keywords: [__('Banner', 'revslider'), __('CTA', 'revslider'), __('Slider', 'revslider')],\n  attributes: {\n    checked: {\n      type: 'boolean',\n      default: false\n    },\n    modal: {\n      type: 'boolean',\n      default: false\n    },\n    text: {\n      selector: '.revslider',\n      type: 'string',\n      source: 'text'\n    },\n    sliderTitle: {\n      selector: '.revslider',\n      type: 'string',\n      source: 'attribute',\n      attribute: 'data-slidertitle'\n    }\n  },\n  edit: function edit(props) {\n    var setAttributes = props.setAttributes;\n\n    return wp.element.createElement(\n      'div',\n      null,\n      wp.element.createElement(RevSlider, Object.assign({ setAttributes: setAttributes }, props))\n    );\n  },\n  save: function save(props) {\n    var _props$attributes2 = props.attributes,\n        text = _props$attributes2.text,\n        sliderTitle = _props$attributes2.sliderTitle,\n        modal = _props$attributes2.modal;\n\n    return wp.element.createElement(\n      'div',\n      { className: 'revslider', 'data-modal': modal, 'data-slidertitle': sliderTitle },\n      text\n    );\n  },\n  deprecated: [{\n    attributes: {\n      checked: {\n        type: 'boolean',\n        default: false\n      },\n      text: {\n        selector: '.revslider',\n        type: 'string',\n        source: 'text'\n      },\n      sliderTitle: {\n        selector: '.revslider',\n        type: 'string',\n        source: 'attribute',\n        attribute: 'data-slidertitle'\n      }\n    },\n    save: function save(props) {\n      return wp.element.createElement(\n        'div',\n        { className: 'revslider', 'data-slidertitle': props.attributes.sliderTitle },\n        props.attributes.text\n      );\n    }\n  }]\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///1\n");

/***/ }),
/* 2 */
/*!******************************!*\
  !*** ./src/block/style.scss ***!
  \******************************/
/*! dynamic exports provided */
/***/ (function(module, exports) {

eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9ibG9jay9zdHlsZS5zY3NzPzgwZjMiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9jay9zdHlsZS5zY3NzXG4vLyBtb2R1bGUgaWQgPSAyXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///2\n");

/***/ }),
/* 3 */
/*!*******************************!*\
  !*** ./src/block/editor.scss ***!
  \*******************************/
/*! dynamic exports provided */
/***/ (function(module, exports) {

eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9ibG9jay9lZGl0b3Iuc2Nzcz80OWQyIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIHJlbW92ZWQgYnkgZXh0cmFjdC10ZXh0LXdlYnBhY2stcGx1Z2luXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYmxvY2svZWRpdG9yLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///3\n");

/***/ })
/******/ ]);